:root {
  --navy: #2f3d4e;
  --navy-deep: #1f2934;
  --slate: #5a6d82;
  --walnut: #7a4f32;
  --walnut-light: #a8754f;
  --cream: #f6f2ec;
  --sand: #ebe4d9;
  --ink: #23272d;
  --muted: #6b7178;
  --white: #ffffff;
  --radius: 14px;
  --max: 1180px;
  --serif: "Cormorant Garamond", "Noto Sans SC", Georgia, serif;
  --sans: "Inter", "Noto Sans SC", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { font-family: var(--sans); color: var(--ink); background: var(--cream); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Nav */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .3s, box-shadow .3s; }
.nav.scrolled { background: rgba(31, 41, 52, .94); backdrop-filter: blur(8px); box-shadow: 0 2px 20px rgba(0,0,0,.15); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--white); }
.star { width: 38px; height: 38px; }
.star polygon { fill: none; stroke: currentColor; stroke-width: 4; stroke-linejoin: round; }
.brand-text { font-weight: 600; letter-spacing: .14em; font-size: 15px; line-height: 1.15; }
.brand-text small { display: block; font-weight: 400; letter-spacing: .08em; font-size: 10.5px; opacity: .75; text-transform: uppercase; }
.menu { display: flex; align-items: center; gap: 30px; }
.menu a { color: rgba(255,255,255,.88); font-size: 14px; letter-spacing: .03em; transition: color .2s; }
.menu a:hover { color: var(--white); }
.lang { background: transparent; border: 1px solid rgba(255,255,255,.5); color: var(--white); padding: 6px 14px; border-radius: 999px; font: inherit; font-size: 13px; cursor: pointer; }
.lang:hover { background: rgba(255,255,255,.12); }
.burger { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; }
.burger span { display: block; width: 24px; height: 2px; background: var(--white); margin: 6px auto; transition: transform .3s; }

/* Hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; color: var(--white); overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(25,32,41,.82) 0%, rgba(25,32,41,.55) 45%, rgba(25,32,41,.1) 80%); }
.hero-content { position: relative; padding-top: 128px; padding-bottom: 80px; }
.hero h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(40px, 6vw, 72px); line-height: 1.08; margin: 14px 0 20px; max-width: 14ch; }
.lead { font-size: clamp(16px, 1.6vw, 19px); font-weight: 300; max-width: 46ch; opacity: .92; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.eyebrow { font-size: 12.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: #d9c2a8; }
.eyebrow.dark { color: var(--walnut); }

.btn { display: inline-block; padding: 14px 28px; border-radius: 999px; font-size: 15px; font-weight: 500; letter-spacing: .02em; transition: transform .2s, background .2s, box-shadow .2s; cursor: pointer; border: 0; font-family: inherit; }
.btn-primary { background: var(--walnut); color: var(--white); }
.btn-primary:hover { background: var(--walnut-light); transform: translateY(-2px); box-shadow: 0 8px 22px rgba(122,79,50,.35); }
.btn-ghost { border: 1px solid rgba(255,255,255,.7); color: var(--white); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }

/* Sections */
.section { padding: 110px 0; }
.section.alt { background: var(--sand); }
h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(32px, 4vw, 48px); line-height: 1.15; margin: 10px 0 0; color: var(--navy-deep); }
h3 { font-size: 18px; font-weight: 600; color: var(--navy-deep); }

.about { display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px; }
.about-body p { color: #444a52; margin-bottom: 18px; font-size: 17px; }
.stats { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 34px; padding-top: 30px; border-top: 1px solid #d8d0c4; }
.stats strong { display: block; font-family: var(--serif); font-size: 38px; font-weight: 600; color: var(--walnut); line-height: 1; }
.stats span { font-size: 14px; color: var(--muted); }

.grid.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; }
.card { background: var(--white); border-radius: var(--radius); padding: 34px 30px; transition: transform .25s, box-shadow .25s; border: 1px solid #e6ded2; }
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(47,61,78,.12); }
.card .num { display: block; font-family: var(--serif); font-size: 28px; color: var(--walnut-light); margin-bottom: 18px; }
.card p { color: var(--muted); margin-top: 10px; font-size: 15px; }

.steps { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 26px; margin-top: 52px; counter-reset: s; }
.steps li { position: relative; padding-top: 58px; }
.steps li > span { position: absolute; top: 0; left: 0; width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: var(--white); display: grid; place-items: center; font-weight: 600; }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 21px; left: 54px; right: -14px; height: 1px; background: #cfc6b8; }
.steps p { color: var(--muted); font-size: 15px; margin-top: 8px; }

/* Feature */
.feature { display: grid; grid-template-columns: 1fr 1fr; background: var(--navy-deep); color: var(--white); }
.feature-img { min-height: 520px; background: url("custom-built-in-tv-cabinet-kuala-lumpur.jpg") 8% center / cover no-repeat; }
.feature-text { padding: 90px 8%; display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.feature-text h2 { color: var(--white); }
.feature-text p:not(.eyebrow) { opacity: .85; font-weight: 300; font-size: 17px; max-width: 46ch; }
.feature-text .btn { align-self: flex-start; margin-top: 10px; }

/* Materials */
.mat-intro { margin-top: 16px; color: var(--muted); max-width: 60ch; font-size: 17px; }
.mat-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 260px; gap: 16px; margin-top: 46px; }
.mat { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--navy-deep); color: var(--white); isolation: isolate; }
.mat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); z-index: -2; }
.mat::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(20,26,33,.85) 0%, rgba(20,26,33,.35) 38%, rgba(20,26,33,0) 62%); }
.mat:hover img { transform: scale(1.06); }
.mat-feature { grid-column: span 2; grid-row: span 2; }
.mat-wide { grid-column: span 2; }
.mat-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 22px 20px; }
.mat-tag { display: inline-block; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: #e6cfb4; margin-bottom: 6px; }
.mat h3 { color: var(--white); font-family: var(--serif); font-size: 24px; font-weight: 600; line-height: 1.15; }
.mat-feature h3 { font-size: 36px; }
.mat p { font-size: 14px; opacity: .85; margin-top: 6px; max-width: 40ch; }
.mat-cta { padding: 26px 24px; display: flex; flex-direction: column; justify-content: flex-end; background: var(--walnut); transition: background .3s; }
.mat-cta::after { display: none; }
.mat-cta:hover { background: var(--walnut-light); }
.mat-cta .arrow { position: absolute; top: 22px; right: 24px; font-size: 26px; transition: transform .3s; }
.mat-cta:hover .arrow { transform: translateX(6px); }
.credit { margin-top: 18px; font-size: 12px; color: #9a9890; }

/* Contact */
.dark-sec { background: var(--navy); color: var(--white); }
.dark-sec h2 { color: var(--white); }
.muted { color: rgba(255,255,255,.72); }
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.contact .muted { margin-top: 14px; max-width: 42ch; }
.info { margin-top: 34px; display: grid; grid-template-columns: 150px 1fr; row-gap: 16px; }
.info dt { color: #d9c2a8; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; padding-top: 3px; }
.info a:hover { text-decoration: underline; }
.wa-btn { margin-top: 30px; }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; border-radius: var(--radius); filter: grayscale(.35); display: block; }

/* Brief composer */
.brief { background: var(--sand); }
.brief-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: start; }
.brief-intro { margin: 14px 0 34px; color: var(--muted); font-size: 17px; max-width: 48ch; }
.chips { border: 0; margin-bottom: 26px; display: flex; flex-wrap: wrap; gap: 10px; }
.chips legend, .area span { display: block; width: 100%; font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); margin-bottom: 12px; }
.chip { font: inherit; font-size: 15px; padding: 10px 18px; border-radius: 999px; border: 1px solid #cfc5b6; background: var(--cream); color: var(--ink); cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .15s; }
.chip:hover { border-color: var(--walnut-light); }
.chip:active { transform: scale(.97); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.chip[aria-pressed="true"]::before { content: "✓ "; }
.area { display: block; max-width: 420px; }
.area input { width: 100%; padding: 12px 16px; border: 1px solid #cfc5b6; border-radius: 999px; font: inherit; font-size: 15px; background: var(--cream); color: var(--ink); }
.area input:focus { outline: 2px solid var(--walnut-light); outline-offset: 1px; }

.brief-side { position: sticky; top: 96px; display: grid; gap: 22px; }
.phone { background: #ece5dd; border-radius: 26px; overflow: hidden; box-shadow: 0 24px 60px rgba(31,41,52,.22); border: 8px solid var(--navy-deep); }
.phone-top { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--navy); color: var(--white); }
.phone-top strong { display: block; font-size: 15px; }
.phone-top small { font-size: 12px; opacity: .75; }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--slate); display: grid; place-items: center; flex-shrink: 0; }
.avatar svg { width: 24px; height: 24px; }
.avatar polygon { fill: none; stroke: #fff; stroke-width: 5; stroke-linejoin: round; }
.chat { padding: 22px 16px 14px; min-height: 200px; display: flex; flex-direction: column; justify-content: flex-end;
  background-color: #ece5dd; background-image: radial-gradient(rgba(0,0,0,.035) 1px, transparent 1px); background-size: 14px 14px; }
.bubble { align-self: flex-end; max-width: 88%; background: #d9fdd3; color: #1b1f23; padding: 10px 12px 18px; border-radius: 12px 12px 2px 12px; font-size: 14.5px; line-height: 1.5; white-space: pre-line; box-shadow: 0 1px 1px rgba(0,0,0,.08); position: relative; animation: pop .25s ease; }
.bubble::after { content: "✓✓"; position: absolute; right: 9px; bottom: 3px; font-size: 10px; color: #53bdeb; letter-spacing: -2px; }
@keyframes pop { from { transform: scale(.96); opacity: .6; } to { transform: none; opacity: 1; } }
.chat-hint { font-size: 12px; color: #6b6f72; text-align: center; margin-top: 14px; }
.send { display: flex; align-items: center; justify-content: center; gap: 10px; background: #25d366; color: #fff; font-weight: 600; padding: 15px; font-size: 16px; transition: background .2s; }
.send:hover { background: #1fb457; }
.send svg { width: 22px; height: 22px; fill: currentColor; }

.notes { background: #fffdf7; border-radius: 6px; padding: 22px 24px 18px; box-shadow: 0 8px 24px rgba(31,41,52,.1); position: relative; transform: rotate(-.6deg);
  background-image: repeating-linear-gradient(to bottom, transparent 0 31px, #ece4d6 31px 32px); background-position: 0 52px; }
.notes::before { content: ""; position: absolute; top: -10px; left: 50%; width: 90px; height: 22px; transform: translateX(-50%) rotate(1.5deg); background: rgba(168,117,79,.35); }
.notes-title { font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--walnut); margin-bottom: 10px; }
.notes ul { list-style: none; }
.notes li { font-size: 14.5px; line-height: 32px; color: #3d4248; padding-left: 22px; position: relative; animation: pop .3s ease; }
.notes li::before { content: "—"; position: absolute; left: 0; color: var(--walnut-light); }

/* Floating WhatsApp */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 60; display: flex; align-items: flex-end; gap: 12px; }
.wa-float { transition: opacity .3s, transform .3s; }
.wa-float.away { opacity: 0; transform: translateY(16px); pointer-events: none; }
.wa-fab { width: 58px; height: 58px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 10px 26px rgba(0,0,0,.25); transition: transform .2s; flex-shrink: 0; }
.wa-fab:hover { transform: scale(1.07); }
.wa-fab svg { width: 30px; height: 30px; fill: #fff; }
.wa-nudge { position: relative; background: var(--white); color: var(--ink); border-radius: 14px 14px 2px 14px; padding: 14px 34px 14px 16px; max-width: 250px; font-size: 14px; line-height: 1.45; box-shadow: 0 10px 30px rgba(0,0,0,.18); animation: pop .35s ease; }
.wa-nudge a:hover { color: var(--walnut); }
.wa-close { position: absolute; top: 4px; right: 6px; border: 0; background: none; font-size: 20px; line-height: 1; color: #999; cursor: pointer; padding: 4px; }

/* Footer */
.footer { background: var(--navy-deep); color: var(--white); padding: 40px 0; font-size: 14px; }
.footer-inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-logo { width: 84px; border-radius: 8px; }
.footer .copy { margin-left: auto; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 980px) {
  .grid.cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .steps li::after { display: none; }
  .mat-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 230px; }
  .brief-grid { grid-template-columns: 1fr; gap: 40px; }
  .brief-side { position: static; max-width: 460px; }
  .about, .contact { grid-template-columns: 1fr; gap: 36px; }
  .feature { grid-template-columns: 1fr; }
  .feature-img { min-height: 320px; }
}
@media (max-width: 820px) {
  .burger { display: block; }
  .menu { position: fixed; top: 72px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 0; background: var(--navy-deep); padding: 8px 24px 24px; transform: translateY(-120%); transition: transform .35s; z-index: -1; }
  .menu.open { transform: none; }
  .menu a { padding: 14px 0; width: 100%; border-bottom: 1px solid rgba(255,255,255,.08); }
  .lang { margin-top: 16px; }
  .nav.menu-open { background: var(--navy-deep); }
  .burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
}
@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .section { padding: 76px 0; }
  .grid.cards, .steps { grid-template-columns: 1fr; }
  .mat-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .mat-feature, .mat-wide { grid-column: auto; }
  .mat-feature { grid-row: span 2; }
  .mat-feature h3 { font-size: 30px; }
  .stats { grid-template-columns: 1fr; }
  .info { grid-template-columns: 1fr; row-gap: 4px; }
  .info dd { margin-bottom: 12px; }
  .chip { font-size: 14px; padding: 9px 14px; }
  .wa-float { right: 16px; bottom: 16px; }
  .wa-nudge { max-width: 210px; }
  .footer .copy { margin-left: 0; }
  .brand-text small { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
