/* Buildlang v2 — dark forest + flame, from the logo. See DESIGN.md. */
:root {
  --night: #0f2418;
  --forest: #1b3d26;
  --moss: #2b5238;
  --bone: #f3ece0;
  --bone-dim: rgba(243, 236, 224, .72);
  --line: rgba(243, 236, 224, .16);
  --flame: #e8743d;
  --flame-hi: #f28a52;
  --terracotta: #a8532c;
  --display: "Bricolage Grotesque", "Manrope", system-ui, sans-serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1320px;
  --pad: clamp(20px, 4vw, 56px);
  --gap: clamp(72px, 10vw, 140px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; }
body { background: var(--night); color: var(--bone); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { display: block; width: 100%; height: auto; }
a { color: inherit; }
ul, ol { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--flame); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--bone); color: var(--night); padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }

h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.025em; line-height: 1.02; }
h2 { font-size: clamp(38px, 5.6vw, 76px); }
h3 { font-size: 24px; letter-spacing: -0.01em; }
em { font-style: normal; color: var(--flame); }
p { max-width: 60ch; }

/* logo — recreated from the Instagram mark */
.logo { display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
  font: 600 15px/1 var(--sans); text-decoration: none; cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn-flame { background: var(--flame); color: var(--night); }
.btn-flame:hover { background: var(--flame-hi); }
.btn-ghost { border-color: rgba(243, 236, 224, .45); color: var(--bone); }
.btn-ghost:hover { background: var(--bone); color: var(--night); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 14px; }
.link { font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--flame); padding-bottom: 2px; }

/* nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px var(--pad); transition: background .3s, padding .3s; }
.nav.solid { background: rgba(15, 36, 24, .92); backdrop-filter: blur(14px); padding-block: 12px; border-bottom: 1px solid var(--line); }
.nav nav { display: flex; gap: 32px; font: 500 15px/1 var(--sans); }
.nav nav a { text-decoration: none; opacity: .85; }
.nav nav a:hover { opacity: 1; color: var(--flame); }

/* hero */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; isolation: isolate; }
.hero-img { position: absolute; inset: 0; height: 100%; object-fit: cover; z-index: -2; animation: kenburns 22s ease-out both; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(15,36,24,.55) 0%, rgba(15,36,24,0) 30%, rgba(15,36,24,.25) 55%, rgba(15,36,24,.95) 100%); }
.hero-inner { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad) clamp(40px, 7vh, 80px); }
.kicker { font: 600 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--flame); margin-bottom: 22px; }
.hero h1 { font-size: clamp(44px, 7vw, 108px); line-height: .98; letter-spacing: -0.035em; max-width: 15ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-strip { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); background: rgba(15,36,24,.6); backdrop-filter: blur(8px); }
.hero-strip li { padding: 20px var(--pad); font: 500 15px/1.2 var(--sans); border-right: 1px solid var(--line); }
.hero-strip b { color: var(--flame); font-weight: 600; margin-right: 10px; font-size: 12px; }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }

/* marquee */
.marquee { background: var(--flame); color: var(--night); overflow: hidden; padding: 16px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font: 700 clamp(20px, 2.4vw, 30px)/1 var(--display); letter-spacing: -0.01em; padding: 0 28px; white-space: nowrap; }
.marquee span::after { content: "✦"; margin-left: 56px; font-size: .6em; vertical-align: middle; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* intro */
.intro { padding-block: var(--gap) 0; }
.label { font: 600 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--bone-dim); margin-bottom: 28px; }
.intro-text { font: 500 clamp(28px, 3.6vw, 50px)/1.18 var(--display); letter-spacing: -0.02em; max-width: 24ch; }
.hl { color: var(--flame); }

/* section heads */
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 48px; }

/* services */
.services { padding-top: var(--gap); }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: clamp(300px, 34vw, 440px); gap: 16px; }
.svc { position: relative; border-radius: 18px; overflow: hidden; isolation: isolate; }
.svc-big, .svc:last-child { grid-column: span 2; }
.svc img { position: absolute; inset: 0; height: 100%; object-fit: cover; z-index: -2; transition: transform .9s var(--ease); }
.svc::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(15,36,24,0) 25%, rgba(15,36,24,.55) 55%, rgba(15,36,24,.95) 100%); }
.svc:hover img { transform: scale(1.06); }
.svc-body { position: absolute; inset: auto 0 0; padding: 28px; }
.svc-body span { font: 600 13px var(--sans); color: var(--flame); }
.svc-body h3 { font-size: clamp(26px, 2.6vw, 36px); margin: 6px 0 10px; }
.svc-body p { font-size: 15px; color: var(--bone-dim); max-width: 44ch; }

/* projects carousel */
.projects { padding-top: var(--gap); }
.proj-nav { display: flex; gap: 10px; }
.proj-nav button { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); background: none; color: var(--bone); font-size: 20px; cursor: pointer; transition: background .2s, color .2s; }
.proj-nav button:hover { background: var(--flame); color: var(--night); border-color: var(--flame); }
.proj-track { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(280px, 38vw, 560px); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 0 max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad))) 12px; scroll-padding-inline: max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad))); scrollbar-width: none; }
.proj-track::-webkit-scrollbar { display: none; }
.proj { scroll-snap-align: start; }
.proj img { aspect-ratio: 4 / 5; object-fit: cover; border-radius: 18px; }
.proj h3 { margin-top: 18px; }
.proj p { font-size: 14px; color: var(--bone-dim); margin-top: 6px; }

/* roots — the one light section */
.roots { background: var(--bone); color: var(--night); margin-top: var(--gap); padding-block: var(--gap); }
.roots-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.roots-copy h2 { margin-bottom: 24px; }
.roots-copy p { color: #3a4a3f; }
.ml { font: 700 clamp(30px, 3.4vw, 46px)/1.2 "Manjari", var(--sans); color: var(--terracotta); margin-bottom: 14px; }
.ticks { margin-top: 28px; display: grid; gap: 12px; }
.ticks li { padding-left: 32px; position: relative; font-weight: 600; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%; background: var(--flame); box-shadow: inset 0 0 0 5px var(--bone); outline: 1.5px solid var(--flame); }
.roots-pics { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; align-items: end; }
.roots-pics img { border-radius: 18px; object-fit: cover; }
.roots-pics img:first-child { aspect-ratio: 4 / 5; }
.roots-pics img:last-child { aspect-ratio: 3 / 4; margin-bottom: 15%; }

/* process */
.process { padding-top: var(--gap); }
.proc-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.steps li { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 26px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps b { font: 700 28px/1 var(--display); color: var(--flame); }
.steps h3 { font-size: 22px; }
.steps p { color: var(--bone-dim); font-size: 15px; margin-top: 6px; }
.proc-media { position: sticky; top: 110px; }
.proc-media video { border-radius: 18px; aspect-ratio: 16 / 10; object-fit: cover; background: var(--forest); }
.proc-media figcaption { margin-top: 14px; font-size: 14px; color: var(--bone-dim); }

/* progress */
.progress { position: relative; margin-top: var(--gap); min-height: 86vh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.progress-video { position: absolute; inset: 0; height: 100%; object-fit: cover; z-index: -2; }
.progress-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(15,36,24,.92) 0%, rgba(15,36,24,.55) 45%, rgba(15,36,24,.1) 100%); }
.progress-copy { width: 100%; padding-block: var(--gap); }
.progress-copy h2 { max-width: 14ch; }
.progress-copy p { margin-top: 24px; color: var(--bone-dim); max-width: 40ch; }

/* housewarming */
.warm { padding-top: var(--gap); display: grid; grid-template-columns: .8fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.warm img { border-radius: 18px; aspect-ratio: 4 / 5; object-fit: cover; box-shadow: 0 0 120px -20px rgba(232, 116, 61, .45); }
.warm h2 { margin-bottom: 22px; }
.warm p:not(.ml) { color: var(--bone-dim); margin-bottom: 32px; }

/* contact */
.contact { margin-top: var(--gap); background: var(--forest); padding-block: var(--gap); border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); }
.contact h2 { font-size: clamp(48px, 7vw, 104px); letter-spacing: -0.04em; }
.contact-grid > div > p { margin-top: 24px; color: var(--bone-dim); }
.contact-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 20px; align-content: start; background: var(--night); padding: clamp(24px, 3vw, 40px); border-radius: 18px; }
.form label { display: grid; gap: 8px; font: 600 12px/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--bone-dim); }
.form .full { grid-column: 1 / -1; }
.form input, .form select, .form textarea { font: 400 16px/1.4 var(--sans); color: var(--bone); background: transparent; border: 0; border-bottom: 1px solid rgba(243,236,224,.3); border-radius: 0; padding: 10px 0; text-transform: none; letter-spacing: 0; }
.form input::placeholder { color: rgba(243,236,224,.35); }
.form select option { color: var(--night); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-bottom-color: var(--flame); }
.form button { grid-column: 1 / -1; justify-self: start; }

/* footer */
.footer { display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: center; justify-content: space-between; padding-block: 48px; font-size: 14px; color: var(--bone-dim); }
.fine { font-size: 12px; }

/* floating WhatsApp */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 30; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--flame); color: var(--night); box-shadow: 0 10px 30px rgba(0,0,0,.35); transition: transform .25s var(--ease); }
.wa-float:hover { transform: scale(1.08); }

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* responsive */
@media (max-width: 960px) {
  .nav nav { display: none; }
  .hero-strip { grid-template-columns: 1fr 1fr; }
  .hero-strip li:nth-child(2) { border-right: 0; }
  .hero-strip li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .roots-grid, .proc-grid, .warm, .contact-grid { grid-template-columns: 1fr; }
  .proc-media { position: static; }
  .proj-track { grid-auto-columns: 78vw; }
}
@media (max-width: 600px) {
  .svc-grid { grid-template-columns: 1fr; grid-auto-rows: 380px; }
  .svc-big, .svc:last-child { grid-column: auto; }
  .form { grid-template-columns: 1fr; }
  .nav .btn-sm { display: none; }
  .hero-strip li { padding: 14px var(--pad); font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ===== Glass layer ===== */
.glass { background: linear-gradient(135deg, rgba(243,236,224,.14), rgba(243,236,224,.05)); border: 1px solid rgba(243,236,224,.22);
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); box-shadow: 0 20px 50px -20px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.18); }

/* aurora glows behind the glass */
.aurora { position: fixed; inset: 0; z-index: -5; pointer-events: none; overflow: hidden; }
.aurora i { position: absolute; width: 46vmax; height: 46vmax; border-radius: 50%; filter: blur(90px); opacity: .35; animation: drift 26s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { background: var(--flame); top: -12%; right: -10%; opacity: .22; }
.aurora i:nth-child(2) { background: #2f6b45; bottom: -15%; left: -12%; animation-delay: -9s; }
.aurora i:nth-child(3) { background: #c0562a; top: 40%; left: 40%; width: 30vmax; height: 30vmax; opacity: .14; animation-delay: -17s; }
@keyframes drift { to { transform: translate(-8vw, 10vh) scale(1.15); } }

/* scroll progress */
.scrollbar { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 40; background: var(--flame); transform-origin: left; transform: scaleX(0); }

/* floating glass pill nav */
.nav { top: 14px; left: 50%; right: auto; translate: -50% 0; width: min(calc(100% - 28px), 1240px); border-radius: 999px; padding: 10px 10px 10px 26px;
  background: rgba(15,36,24,.28); border: 1px solid rgba(243,236,224,.18); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); }
.nav.solid { background: rgba(15,36,24,.62); padding-block: 10px; border-bottom: 1px solid rgba(243,236,224,.18); }
.nav nav { gap: 4px; }
.nav nav a { padding: 10px 14px; border-radius: 999px; transition: background .2s; }
.nav nav a:hover { background: rgba(243,236,224,.1); color: var(--bone); }

/* hero with estimator */
.hero-inner { display: grid; grid-template-columns: 1.35fr minmax(300px, 400px); gap: clamp(28px, 4vw, 64px); align-items: end; }
.hero-inner > :not(.est) { grid-column: 1; }
.est { grid-column: 2; grid-row: 1 / span 3; border-radius: 24px; padding: 26px; }
.est-tag { display: flex; align-items: center; gap: 8px; font: 600 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--bone-dim); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--flame); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(232,116,61,.7); } 70%, 100% { box-shadow: 0 0 0 10px rgba(232,116,61,0); } }
.est-h { font-size: 26px; margin: 12px 0 20px; }
.est-row { display: flex; justify-content: space-between; font: 500 14px var(--sans); color: var(--bone-dim); }
.est-row output { color: var(--bone); font-weight: 700; }
.est input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 99px; margin: 14px 0 22px; cursor: pointer;
  background: linear-gradient(90deg, var(--flame) var(--fill, 30%), rgba(243,236,224,.18) var(--fill, 30%)); }
.est input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--bone); border: 4px solid var(--flame); box-shadow: 0 2px 10px rgba(0,0,0,.4); }
.est input[type=range]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--bone); border: 4px solid var(--flame); }
.est-pkg { border: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; background: rgba(15,36,24,.4); border-radius: 999px; padding: 4px; }
.est-pkg legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.est-pkg label { position: relative; }
.est-pkg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.est-pkg span { display: block; text-align: center; padding: 10px 4px; border-radius: 999px; font: 600 13px var(--sans); color: var(--bone-dim); transition: background .25s, color .25s; }
.est-pkg input:checked + span { background: var(--bone); color: var(--night); }
.est-pkg input:focus-visible + span { outline: 2px solid var(--flame); outline-offset: 2px; }
.est-out { margin: 22px 0 18px; }
.est-out span { display: block; font: 700 clamp(30px, 3vw, 38px)/1 var(--display); letter-spacing: -0.03em; color: var(--flame); }
.est-out small { display: block; margin-top: 8px; font-size: 12px; color: var(--bone-dim); }
.est-btn { width: 100%; }

/* glass hero strip + service captions */
.hero-strip { background: rgba(15,36,24,.35); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.svc::after { background: linear-gradient(180deg, rgba(15,36,24,0) 50%, rgba(15,36,24,.6) 100%); }
.svc-body { inset: auto 14px 14px; padding: 22px 24px; border-radius: 16px; background: rgba(15,36,24,.38); border: 1px solid rgba(243,236,224,.16);
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); transition: background .4s; }
.svc:hover .svc-body { background: rgba(15,36,24,.55); }

/* glass project captions over the image */
.proj { position: relative; }
.proj > div { position: absolute; inset: auto 12px 12px; padding: 16px 20px; border-radius: 14px; background: rgba(15,36,24,.4); border: 1px solid rgba(243,236,224,.16); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.proj h3 { margin-top: 0; font-size: 20px; }

/* floating chips on the roots photos */
.roots-pics { position: relative; }
.chip { position: absolute; z-index: 2; padding: 10px 16px; border-radius: 999px; font: 600 14px var(--sans); color: var(--bone); background: rgba(15,36,24,.35); animation: bob 5s ease-in-out infinite; }
.chip-a { top: 8%; left: -6%; }
.chip-b { bottom: 12%; right: 4%; animation-delay: -2.5s; }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* glass process video frame + step hover */
.proc-media { padding: 10px; border-radius: 26px; background: rgba(243,236,224,.06); border: 1px solid var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.proc-media figcaption { padding: 0 8px 4px; }
.steps li { transition: background .3s, padding .3s; }
.steps li:hover { background: linear-gradient(90deg, rgba(232,116,61,.1), transparent); padding-left: 12px; }

/* FAQ */
.faq { padding-top: var(--gap); }
.faq-list { display: grid; gap: 12px; max-width: 900px; }
.faq details { border-radius: 18px; padding: 0 26px; }
.faq details[open] { background: linear-gradient(135deg, rgba(232,116,61,.16), rgba(243,236,224,.05)); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font: 600 18px/1.35 var(--sans); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; translate: 0 -50%; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(243,236,224,.12); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--flame); color: var(--night); }
.faq details p { padding-bottom: 22px; color: var(--bone-dim); }

/* glass form */
.contact { background: linear-gradient(160deg, var(--forest), #12301d); }
.form { background: rgba(243,236,224,.07); border: 1px solid rgba(243,236,224,.18); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: inset 0 1px 0 rgba(255,255,255,.12); }

@media (max-width: 960px) {
  .hero { justify-content: flex-start; padding-top: 110px; }
  .hero-inner { grid-template-columns: 1fr; }
  .est { grid-column: 1; grid-row: auto; }
  .chip-a { left: 4%; }
}
@media (max-width: 600px) {
  .nav { padding-left: 18px; }
  .proj > div { padding: 12px 14px; }
}

.hero h1 { font-size: clamp(44px, 6vw, 96px); }

/* real logo (assets/logo-light.png on dark, logo-full.png on light) */
.logo img { height: 46px; width: auto; }
.footer .logo img { height: 60px; }
@media (max-width: 600px) { .logo img { height: 38px; } }

/* No frosted glass over photos: keep images clear, legibility from a bottom fade + text shadow */
.svc-body, .proj > div, .chip { background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; }
.svc:hover .svc-body { background: transparent; }
.svc::after { background: linear-gradient(180deg, rgba(15,36,24,0) 45%, rgba(15,36,24,.75) 100%); }
.svc-body, .proj > div, .chip, .hero-inner { text-shadow: 0 1px 14px rgba(0,0,0,.55); }
.proj > div { inset: auto 0 0; padding: 60px 22px 20px; border-radius: 0 0 18px 18px; background: linear-gradient(180deg, rgba(15,36,24,0), rgba(15,36,24,.7)); }
.chip { border: 1px solid rgba(243,236,224,.55); background: rgba(15,36,24,.18); }
.hero-strip { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.est { background: rgba(15,36,24,.12); border-color: rgba(243,236,224,.28); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); box-shadow: none; }
.nav:not(.solid) { background: rgba(15,36,24,.12); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); }
.nav .logo img { height: 54px; filter: drop-shadow(0 1px 8px rgba(0,0,0,.45)); }
@media (max-width: 600px) { .nav .logo img { height: 42px; } }

/* ===== Header: logo · sliding-indicator links · call + menu ===== */
.hdr { position: fixed; top: 14px; left: 50%; translate: -50% 0; z-index: 30; width: min(calc(100% - 28px), 1280px);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding: 8px 10px 8px 22px; border-radius: 999px;
  border: 1px solid transparent; transition: transform .45s var(--ease), background .3s, border-color .3s; }
.hdr.solid { background: rgba(15,36,24,.7); border-color: rgba(243,236,224,.14); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); }
.hdr.hide { transform: translateY(-140%); }
.hdr .logo img { height: 52px; }
.hdr-links { position: relative; display: flex; padding: 5px; border-radius: 999px; background: rgba(15,36,24,.35); border: 1px solid rgba(243,236,224,.16); }
.hdr-links a { position: relative; z-index: 1; padding: 10px 18px; border-radius: 999px; font: 600 14px/1 var(--sans); text-decoration: none; color: var(--bone-dim); transition: color .3s; }
.hdr-links a:hover, .hdr-links a[aria-current] { color: var(--night); }
.hdr-links a:hover:not([aria-current]) { color: var(--bone); }
.hdr-ind { position: absolute; top: 5px; bottom: 5px; left: 0; width: 0; border-radius: 999px; background: var(--flame); opacity: 0; transition: transform .5s var(--ease), width .5s var(--ease), opacity .3s; }
.hdr-end { display: flex; justify-content: flex-end; align-items: center; gap: 10px; }
.hdr-call { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; font: 600 14px/1 var(--sans); text-decoration: none; border: 1px solid rgba(243,236,224,.3); }
.hdr-call:hover { border-color: var(--flame); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #5bd66f; animation: ping 2s infinite; }
.hdr-menu { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 18px 0 16px; border-radius: 999px; border: 0; background: var(--bone); color: var(--night); font: 700 14px var(--sans); cursor: pointer; }
.hdr-menu span { display: block; width: 16px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .35s var(--ease); }
.hdr-menu span + span { margin-left: -26px; transform: translateY(5px); }
.hdr-menu span:first-child { transform: translateY(-3px); }
.hdr-menu b { margin-left: 4px; }
.hdr.menu-open .hdr-menu span:first-child { transform: rotate(45deg); }
.hdr.menu-open .hdr-menu span + span { transform: rotate(-45deg); }
.hdr.menu-open .hdr-links, .hdr.menu-open .hdr-call { opacity: 0; pointer-events: none; }

/* full-screen menu */
.menu { position: fixed; inset: 0; z-index: 25; display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: end;
  padding: 140px var(--pad) 60px; background: radial-gradient(120% 90% at 85% 10%, rgba(232,116,61,.28), transparent 60%), var(--night); animation: menuIn .5s var(--ease); }
.menu[hidden] { display: none; }
@keyframes menuIn { from { clip-path: circle(0% at calc(100% - 70px) 40px); } to { clip-path: circle(150% at calc(100% - 70px) 40px); } }
.menu-links { display: grid; }
.menu-links a { display: flex; align-items: baseline; gap: 18px; font: 700 clamp(44px, 7.5vw, 110px)/1.02 var(--display); letter-spacing: -0.04em; text-decoration: none; transition: color .25s, transform .35s var(--ease); }
.menu-links a:hover { color: var(--flame); transform: translateX(14px); }
.menu-links small { font: 600 14px var(--sans); color: var(--flame); letter-spacing: 0; }
.menu-side { display: grid; gap: 16px; justify-items: start; padding-bottom: 12px; color: var(--bone-dim); }
.menu-side .ml { color: var(--flame); margin: 0; }
.menu-mail { color: var(--bone); font-weight: 600; }

/* ===== Footer ===== */
.foot { position: relative; overflow: hidden; border-top: 1px solid var(--line); padding-top: clamp(56px, 7vw, 96px); background: linear-gradient(180deg, transparent, rgba(27,61,38,.55)); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.foot-brand img { width: 220px; height: auto; }
.foot-brand p { margin-top: 18px; color: var(--bone-dim); max-width: 34ch; font-size: 15px; }
.foot-social { display: flex; gap: 10px; margin-top: 22px; }
.foot-social a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); transition: background .25s, color .25s, border-color .25s; }
.foot-social a:hover { background: var(--flame); color: var(--night); border-color: var(--flame); }
.foot-col { display: grid; align-content: start; gap: 12px; font-size: 15px; }
.foot-col h3 { font: 600 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--flame); margin-bottom: 6px; }
.foot-col a { text-decoration: none; color: var(--bone-dim); transition: color .2s; width: fit-content; }
.foot-col a:hover { color: var(--bone); }
.foot-col p { color: var(--bone-dim); }
.foot-giant { font: 800 clamp(64px, 17.5vw, 300px)/.8 var(--display); letter-spacing: -0.05em; text-align: center; margin: clamp(40px, 6vw, 80px) 0 -0.12em; max-width: none;
  background: linear-gradient(180deg, rgba(243,236,224,.13), rgba(243,236,224,0) 85%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }

/* copyright bar */
.foot-bar { position: relative; background: rgba(10,26,17,.85); border-top: 1px solid var(--line); }
.foot-bar::before { content: ""; position: absolute; top: -1px; left: 50%; translate: -50% 0; width: min(60%, 520px); height: 1px; background: linear-gradient(90deg, transparent, var(--flame), transparent); }
.foot-bar-in { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 24px; padding-block: 22px; font-size: 13px; color: var(--bone-dim); }
.foot-copy { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; max-width: none; }
.foot-copy img { border-radius: 6px; }
.foot-copy b { color: var(--bone); font-weight: 600; }
.foot-made { display: flex; align-items: center; gap: 8px; max-width: none; }
.foot-made [lang=ml] { font-family: "Manjari", var(--sans); font-weight: 700; color: var(--bone); }
.foot-flame { width: 6px; height: 12px; border-radius: 6px 6px 3px 3px; background: var(--flame); transform: rotate(-14deg); box-shadow: 0 0 10px var(--flame); }
.foot-top { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; text-decoration: none; background: var(--bone); color: var(--night); font-weight: 700; transition: transform .3s var(--ease), background .25s; }
.foot-top:hover { transform: translateY(-4px); background: var(--flame); }

@media (max-width: 1080px) { .hdr-links { display: none; } .hdr { grid-template-columns: 1fr auto; } }
@media (max-width: 860px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .menu { grid-template-columns: 1fr; align-content: end; }
  .foot-bar-in { grid-template-columns: 1fr auto; }
  .foot-made { grid-row: 2; }
}
@media (max-width: 600px) {
  .hdr { padding-left: 14px; }
  .hdr .logo img { height: 40px; }
  .hdr-call { padding: 12px; font-size: 0; gap: 0; }
  .hdr-call::after { content: "📞"; font-size: 16px; }
  .hdr-call .pulse { display: none; }
  .hdr-menu b { display: none; }
  .foot-grid { grid-template-columns: 1fr; }
}
.logo { align-items: flex-start; justify-self: start; }
.logo img { width: auto; }
.foot-copy { display: block; }
.foot-copy img { display: inline-block; width: 20px; height: 20px; vertical-align: -4px; margin-right: 8px; }

/* ===== Corner header: free-floating logo + phone, no bar ===== */
.corner { position: fixed; inset: 18px var(--pad) auto; z-index: 30; display: flex; justify-content: space-between; align-items: center; pointer-events: none; transition: opacity .4s, transform .4s var(--ease); }
.corner > * { pointer-events: auto; }
.corner .logo img { height: 50px; filter: drop-shadow(0 2px 12px rgba(0,0,0,.5)); }
.corner.solid { opacity: 0; transform: translateY(-20px); }
.corner.solid > * { pointer-events: none; }
.corner-call { display: inline-flex; align-items: center; gap: 10px; font: 600 13px/1 "JetBrains Mono", monospace; letter-spacing: .04em; text-decoration: none; color: var(--bone);
  padding: 10px 0; border-bottom: 1px solid rgba(243,236,224,.4); text-shadow: 0 1px 10px rgba(0,0,0,.6); }
.corner-call:hover { border-color: var(--flame); color: var(--flame); }

/* ===== Bottom dock ===== */
.dock { position: fixed; left: 50%; bottom: 18px; translate: -50% 0; z-index: 30; display: flex; align-items: flex-end; gap: 4px; padding: 7px;
  border-radius: 24px; background: rgba(12,28,19,.55); border: 1px solid rgba(243,236,224,.14);
  backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%); box-shadow: 0 18px 50px -12px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.1); }
.dock-i { position: relative; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 16px; color: var(--bone-dim); text-decoration: none;
  transition: width .35s var(--ease), height .35s var(--ease), background .25s, color .25s, margin .35s var(--ease); }
.dock-i:hover, .dock-i:focus-visible { width: 58px; height: 58px; margin-top: -10px; background: rgba(243,236,224,.1); color: var(--bone); }
.dock-i:hover + .dock-i { width: 52px; height: 52px; }
.dock-lb { position: absolute; bottom: calc(100% + 12px); left: 50%; translate: -50% 6px; padding: 6px 10px; border-radius: 8px; background: var(--bone); color: var(--night);
  font: 600 12px/1 var(--sans); white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s, translate .25s var(--ease); }
.dock-i:hover .dock-lb, .dock-i:focus-visible .dock-lb { opacity: 1; translate: -50% 0; }
.dock-i[aria-current] { color: var(--bone); }
.dock-i[aria-current]::after { content: ""; position: absolute; bottom: 3px; width: 4px; height: 4px; border-radius: 50%; background: var(--flame); box-shadow: 0 0 8px var(--flame); }
.dock-wa { display: inline-flex; align-items: center; gap: 8px; height: 48px; margin-left: 6px; padding: 0 16px; border-radius: 16px; background: var(--flame); color: var(--night);
  font: 700 13px var(--sans); text-decoration: none; transition: background .25s, transform .25s var(--ease); }
.dock-wa:hover { background: var(--flame-hi); transform: translateY(-3px); }
.dock::before { content: ""; position: absolute; left: 7px; right: 7px; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, rgba(232,116,61,.7), transparent); }

/* ===== Blueprint footer with drawing title block ===== */
.bp { position: relative; overflow: hidden; margin-top: var(--gap); padding: clamp(60px, 8vw, 110px) 0 120px; color: var(--bone);
  background:
    linear-gradient(rgba(243,236,224,.05) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg, rgba(243,236,224,.05) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(rgba(243,236,224,.09) 1px, transparent 1px) 0 0 / 120px 120px,
    linear-gradient(90deg, rgba(243,236,224,.09) 1px, transparent 1px) 0 0 / 120px 120px,
    #10301e; border-top: 1px solid rgba(243,236,224,.18); }
.bp-house { position: absolute; right: -2%; top: 6%; width: min(56vw, 760px); color: rgba(243,236,224,.42); pointer-events: none; }
.bp-house .draw { stroke-dasharray: 2600; stroke-dashoffset: 2600; transition: stroke-dashoffset 3.2s var(--ease); }
.bp.in .bp-house .draw { stroke-dashoffset: 0; }
.bp-house .dim { stroke: var(--flame); stroke-width: 1; opacity: .8; }
.bp-house text { fill: var(--flame); stroke: none; font: 500 10px "JetBrains Mono", monospace; letter-spacing: .1em; }
.bp-in { position: relative; }
.bp-say { font: 700 clamp(36px, 5vw, 72px)/1 var(--display); letter-spacing: -0.035em; max-width: 12ch; margin-bottom: clamp(48px, 8vw, 120px); }

.tb { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); border: 1.5px solid rgba(243,236,224,.7); font-family: "JetBrains Mono", monospace; background: rgba(16,48,30,.85); }
.tb-c { display: grid; align-content: space-between; gap: 10px; min-height: 76px; padding: 12px 14px; border-right: 1px solid rgba(243,236,224,.35); border-bottom: 1px solid rgba(243,236,224,.35); text-decoration: none; }
.tb-c > span { font: 500 10px/1 "JetBrains Mono", monospace; letter-spacing: .14em; text-transform: uppercase; color: var(--flame); }
.tb-c b { font: 600 14px/1.35 "JetBrains Mono", monospace; letter-spacing: .01em; }
.tb-c b a { text-decoration: none; border-bottom: 1px dotted rgba(243,236,224,.5); }
.tb-c b a:hover { color: var(--flame); border-color: var(--flame); }
.tb-logo { grid-row: span 2; place-items: center; align-content: center; }
.tb-logo img { width: min(100%, 240px); height: auto; }
.tb-wide { grid-column: span 2; }
.tb-copy { grid-column: span 2; background: rgba(243,236,224,.04); }
.tb-copy b { font-size: 12.5px; }
.tb-stamp { place-items: start; }
.stamp { display: inline-block; padding: 6px 12px; border: 1.5px solid var(--flame); color: var(--flame); border-radius: 6px; transform: rotate(-6deg); font-size: 12px !important; text-transform: uppercase; letter-spacing: .1em; text-align: center; }
.stamp [lang=ml] { font-family: "Manjari", sans-serif; letter-spacing: 0; text-transform: none; font-size: 14px; }
.tb-top { transition: background .25s; }
.tb-top:hover { background: var(--flame); color: var(--night); }
.tb-top:hover > span { color: var(--night); }

/* hide superseded header/footer bits if any remain */
.hdr, .menu, .wa-float { display: none !important; }

@media (max-width: 900px) {
  .tb { grid-template-columns: 1fr 1fr; }
  .tb-logo { grid-column: 1 / -1; grid-row: auto; }
  .tb-wide, .tb-copy { grid-column: 1 / -1; }
  .bp-house { width: 90vw; top: 2%; opacity: .5; }
}
@media (max-width: 640px) {
  .dock { bottom: 10px; gap: 0; padding: 5px; border-radius: 20px; }
  .dock-i { width: 42px; height: 42px; }
  .dock-i:hover { width: 42px; height: 42px; margin-top: 0; }
  .dock-wa span { display: none; }
  .dock-wa { padding: 0 12px; height: 42px; }
  .corner-call { font-size: 11px; }
  .corner .logo img { height: 40px; }
}
@media (prefers-reduced-motion: reduce) { .bp-house .draw { stroke-dashoffset: 0; } }
.bp-say { max-width: 20ch; }

/* ===== Minimal one-line footer ===== */
.mini { margin-top: var(--gap); padding-bottom: 96px; } /* bottom space keeps the fixed dock off the strip */
.mini-in { max-width: var(--max); margin: 0 auto; padding: 18px var(--pad); display: flex; align-items: center; gap: 20px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.mini-logo img { height: 34px; width: auto; display: block; }
.mini-copy { flex: 1; font: 500 13px/1 var(--sans); color: var(--bone-dim); letter-spacing: .02em; max-width: none; }
.mini-icons { display: flex; gap: 6px; }
.mini-icons a, .mini-top { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: var(--bone-dim); text-decoration: none; transition: color .2s, background .2s; }
.mini-icons a:hover { color: var(--bone); background: rgba(243,236,224,.08); }
.mini-top { border: 1px solid var(--line); color: var(--bone); font-weight: 700; }
.mini-top:hover { background: var(--flame); border-color: var(--flame); color: var(--night); }
@media (max-width: 600px) {
  .mini-in { flex-wrap: wrap; gap: 12px; }
  .mini-copy { order: 3; flex-basis: 100%; font-size: 12px; }
  .mini-icons { margin-left: auto; }
}
.mini { margin-top: 0; background: var(--forest); }
.mini-in { border-top-color: rgba(243,236,224,.12); border-bottom: 0; }

/* ===== Tighter rhythm + seamless section blending ===== */
:root { --gap: clamp(48px, 6vw, 88px); }
.sec-head { margin-bottom: 32px; }
.intro { padding-top: clamp(40px, 5vw, 72px); }

/* marquee: no solid slab, flame type between hairlines */
.marquee { background: transparent; color: var(--flame); border-block: 1px solid rgba(232,116,61,.35); padding: 12px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }

/* roots: from full-bleed cream band to a tinted panel on the shared backdrop */
.roots { background: transparent; color: var(--bone); padding-block: 0; }
.roots-grid { background: linear-gradient(135deg, rgba(243,236,224,.07), rgba(243,236,224,.015) 60%, rgba(232,116,61,.06));
  border: 1px solid rgba(243,236,224,.1); border-radius: 28px; padding: clamp(28px, 4vw, 56px); }
.roots-copy p { color: var(--bone-dim); }
.roots .ml { color: var(--flame); }
.ticks li::before { box-shadow: inset 0 0 0 5px var(--night); }

/* progress video: feather top/bottom into the page */
.progress { min-height: 72vh; -webkit-mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent); mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent); }
.progress-copy { padding-block: clamp(64px, 9vw, 120px); }

/* hero: longer fade so it melts into the page */
.hero-shade { background: linear-gradient(180deg, rgba(15,36,24,.5) 0%, rgba(15,36,24,0) 28%, rgba(15,36,24,.2) 55%, rgba(15,36,24,.85) 88%, var(--night) 100%); }

/* contact + footer: transparent, same backdrop, soft glow instead of a block */
.contact { background: radial-gradient(70% 60% at 20% 40%, rgba(47,107,69,.28), transparent 70%); border-top: 0; padding-block: var(--gap) clamp(32px, 4vw, 56px); }
.mini { background: transparent; }
.mini-in { border-top-color: rgba(243,236,224,.1); }

/* services/projects/process/faq/warm already transparent; tighten their top spacing */
.services, .projects, .process, .faq, .warm { padding-top: var(--gap); }
.progress, .roots { margin-top: var(--gap); }

/* slim footer: no dock clearance; the dock slides away when the footer is in view */
.mini { padding-bottom: 0; }
.mini-in { padding-block: 14px; }
.mini-logo img { height: 28px; }
.mini-icons a, .mini-top { width: 34px; height: 34px; }
.dock { transition: transform .45s var(--ease), opacity .3s; }
.dock.away { transform: translateY(140%); opacity: 0; pointer-events: none; }

/* compact closing contact block */
.contact { padding-block: clamp(40px, 5vw, 72px) 28px; }
.contact h2 { font-size: clamp(40px, 5vw, 72px); }
.contact-grid { align-items: center; }
.contact-grid > div > p { margin-top: 16px; }
.contact-btns { margin-top: 22px; }
.form { gap: 18px 20px; padding: clamp(20px, 2.4vw, 30px); }
.form textarea { min-height: 0; }

/* ===== Minimal motion ===== */
/* hero headline: lines rise from behind a mask */
.lines .ln { display: block; overflow: hidden; padding-bottom: .06em; }
.lines .ln > span { display: inline-block; animation: lineUp 1.1s var(--ease) both; }
.lines .ln:nth-child(2) > span { animation-delay: .14s; }
@keyframes lineUp { from { transform: translateY(105%); } }
/* photos settle from a slight zoom as they reveal */
.reveal img, img.reveal { transition: transform 1.6s var(--ease), opacity .9s var(--ease); }
.reveal:not(.in) img, img.reveal:not(.in) { transform: scale(1.08); }
.svc.in:hover img { transform: scale(1.04); }
/* footer credit: underline draws in */
.credit { position: relative; color: var(--bone); text-decoration: none; font-weight: 600; }
.credit::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: var(--flame); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.credit:hover::after, .credit:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.credit:hover { color: var(--flame); }
.mini-copy .sep { margin: 0 8px; opacity: .5; }
.mini-top { transition: transform .35s var(--ease), background .25s, color .25s, border-color .25s; }
.mini-top:hover { transform: translateY(-3px); }
@media (prefers-reduced-motion: reduce) { .reveal:not(.in) img, img.reveal:not(.in) { transform: none; } }

/* ===== Anatomy: what goes into a home that lasts ===== */
.anatomy { padding-top: var(--gap); }
.anat-lede { color: var(--bone-dim); max-width: 42ch; }
.layers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; counter-reset: none; }
.layer { position: relative; padding: 28px 26px 30px; background: var(--night); transition: background .4s var(--ease); }
.layer:hover { background: #13301f; }
.layer b { display: block; font: 600 12px/1 "JetBrains Mono", monospace; letter-spacing: .12em; color: var(--flame); margin-bottom: 26px; }
.layer h3 { font-size: 22px; margin-bottom: 10px; }
.layer p { font-size: 15px; color: var(--bone-dim); }
.layer::after { content: ""; position: absolute; left: 26px; right: 26px; bottom: 0; height: 2px; background: var(--flame); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.layer:hover::after { transform: scaleX(1); }
@media (max-width: 900px) { .layers { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .layers { grid-template-columns: 1fr; } }

/* tighter FAQ -> contact hand-off */
.faq { padding-bottom: 0; }
.contact { padding-top: clamp(28px, 3.5vw, 48px); }
.contact-grid { align-items: start; }
.contact { margin-top: 0; }

/* ===== Gallery: masonry + filters + lightbox ===== */
.gallery { padding-top: var(--gap); }
.gal-filters { display: flex; flex-wrap: wrap; gap: 6px; padding: 5px; border-radius: 999px; border: 1px solid var(--line); background: rgba(243,236,224,.03); }
.gal-filters button { border: 0; background: none; color: var(--bone-dim); font: 600 13px/1 var(--sans); padding: 10px 16px; border-radius: 999px; cursor: pointer; transition: background .3s var(--ease), color .3s; }
.gal-filters button:hover { color: var(--bone); }
.gal-filters button[aria-pressed=true] { background: var(--flame); color: var(--night); }
.gal-grid { columns: 3 300px; column-gap: 14px; transition: opacity .22s, transform .22s; }
.gal-grid.switching { opacity: 0; transform: translateY(8px); }
.gal-item { position: relative; display: block; width: 100%; margin: 0 0 14px; padding: 0; border: 0; border-radius: 16px; overflow: hidden; cursor: zoom-in; break-inside: avoid; background: var(--forest); }
.gal-item[hidden] { display: none; }
.gal-item img { display: block; width: 100%; height: auto; transition: transform 1s var(--ease), filter .6s; }
.gal-item:hover img { transform: scale(1.05); }
.gal-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(10,24,16,.8)); opacity: 0; transition: opacity .4s; }
.gal-item:hover::after, .gal-item:focus-visible::after { opacity: 1; }
.gal-cap { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; text-align: left; color: var(--bone); font: 700 18px/1.2 var(--display);
  transform: translateY(14px); opacity: 0; transition: transform .45s var(--ease), opacity .35s; }
.gal-cap small { display: block; font: 600 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--flame); margin-bottom: 6px; }
.gal-item:hover .gal-cap, .gal-item:focus-visible .gal-cap { transform: none; opacity: 1; }

.lb { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(8,20,13,.94); color: var(--bone);
  display: none; place-items: center; grid-template-columns: 80px 1fr 80px; }
.lb[open] { display: grid; animation: lbIn .35s var(--ease); }
.lb::backdrop { background: transparent; }
@keyframes lbIn { from { opacity: 0; } }
.lb-fig { margin: 0; max-width: min(92vw, 1400px); display: grid; gap: 14px; justify-items: center; }
.lb-fig img { max-height: 80vh; width: auto; max-width: 100%; border-radius: 12px; opacity: 0; transform: scale(.98); transition: opacity .4s, transform .5s var(--ease); }
.lb-fig img.on { opacity: 1; transform: none; }
.lb-fig figcaption { display: flex; gap: 16px; align-items: baseline; font-size: 14px; color: var(--bone-dim); }
.lb-fig figcaption b { font: 700 18px var(--display); color: var(--bone); }
#lb-c { color: var(--flame); text-transform: uppercase; letter-spacing: .12em; font-size: 11px; font-weight: 600; }
#lb-n { font-family: "JetBrains Mono", monospace; font-size: 12px; }
.lb-nav, .lb-x { width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(243,236,224,.25); background: rgba(243,236,224,.04); color: var(--bone); font-size: 20px; cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.lb-nav:hover, .lb-x:hover { background: var(--flame); color: var(--night); border-color: var(--flame); }
.lb-x { position: absolute; top: 20px; right: 20px; font-size: 16px; }
@media (max-width: 700px) {
  .lb { grid-template-columns: 1fr; }
  .lb-nav { position: absolute; bottom: 24px; }
  .lb-prev { left: calc(50% - 64px); } .lb-next { right: calc(50% - 64px); }
  .gal-cap { transform: none; opacity: 1; font-size: 15px; }
  .gal-item::after { opacity: 1; }
}

/* ===== Sectors ===== */
.sectors { padding-top: var(--gap); }
.sector-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.sector { padding: 26px 24px; border-radius: 20px; border: 1px solid var(--line); background: linear-gradient(160deg, rgba(243,236,224,.05), rgba(243,236,224,.01));
  transition: border-color .35s, transform .45s var(--ease), background .35s; }
.sector svg { color: var(--flame); margin-bottom: 22px; transition: transform .45s var(--ease); }
.sector h3 { font-size: 20px; margin-bottom: 8px; }
.sector p { font-size: 14px; color: var(--bone-dim); }
.sector:hover { border-color: rgba(232,116,61,.55); transform: translateY(-4px); background: linear-gradient(160deg, rgba(232,116,61,.1), rgba(243,236,224,.02)); }
.sector:hover svg { transform: scale(1.1) rotate(-4deg); }
@media (max-width: 960px) { .sector-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .sector-grid { grid-template-columns: 1fr; } }

/* ===== വീട് — house-shaped photography + living gradients ===== */
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes spinAng { to { --ang: 360deg; } }
@keyframes gradShift { to { background-position: 300% 50%; } }

.roots-grid { position: relative; overflow: hidden; isolation: isolate; border: 1px solid transparent;
  background: linear-gradient(140deg, rgba(19,44,29,.97), rgba(13,31,21,.97)) padding-box,
              conic-gradient(from var(--ang), rgba(243,236,224,.06), rgba(232,116,61,.75), rgba(214,170,90,.45), rgba(243,236,224,.06) 45%, rgba(47,107,69,.6) 75%, rgba(243,236,224,.06)) border-box;
  animation: spinAng 14s linear infinite; }
.veed-word { position: absolute; z-index: -1; right: -2%; bottom: -14%; font: 700 clamp(180px, 30vw, 460px)/1 "Manjari", sans-serif; pointer-events: none; user-select: none;
  background: linear-gradient(100deg, #2f6b45, #d6aa5a, var(--flame), #2f6b45, #d6aa5a) 0 50% / 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: .16; animation: gradShift 16s linear infinite alternate; }
.roots .ml { background: linear-gradient(100deg, var(--flame), #f0c27a, var(--flame)) 0 50% / 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: gradShift 6s linear infinite alternate; }

.roots-pics { display: block; position: relative; min-height: clamp(380px, 42vw, 560px); }
.house-frame { position: absolute; inset: 0 14% 6% 0; margin: 0; }
.roots .house-frame img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; border-radius: 0; margin: 0;
  clip-path: polygon(0 34%, 50% 1%, 100% 34%, 94% 34%, 94% 100%, 6% 100%, 6% 34%); }
.house-line { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.house-line path { fill: none; stroke: var(--flame); stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; transform: translate(10px, 10px); opacity: .9; transition: stroke-dashoffset 2.6s var(--ease) .3s; }
.house-frame.in .house-line path { stroke-dashoffset: 0; }
.porthole { position: absolute; right: 0; bottom: 0; width: 40%; aspect-ratio: 1; margin: 0; border-radius: 50%; padding: 6px;
  background: conic-gradient(from var(--ang), var(--flame), #d6aa5a, #2f6b45, var(--flame)); animation: spinAng 8s linear infinite; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
.roots .porthole img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; border-radius: 50%; margin: 0; border: 4px solid var(--night); }
.roots .chip { z-index: 3; }
.roots .chip-a { top: 40%; left: -4%; }
.roots .chip-b { bottom: 4%; left: 18%; right: auto; }

/* ===== ഗൃഹപ്രവേശം — temple-arch photography, breathing glow, kolam, embers ===== */
.warm { grid-template-columns: 1fr 1fr; align-items: center; }
.shrine { position: relative; display: grid; place-items: center; min-height: clamp(420px, 46vw, 620px); isolation: isolate; }
.halo { position: absolute; z-index: -2; width: 90%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,170,90,.55) 0%, rgba(232,116,61,.28) 30%, rgba(232,116,61,.06) 55%, transparent 70%); filter: blur(10px); animation: breathe 5s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.12); opacity: .75; } }
.kolam { position: absolute; z-index: -1; width: 96%; aspect-ratio: 1; fill: none; stroke: rgba(240,194,122,.55); stroke-width: 1.4; stroke-linecap: round; animation: turn 60s linear infinite; }
.kolam path { stroke: rgba(240,194,122,.22); }
@keyframes turn { to { transform: rotate(360deg); } }
.arch { width: 62%; margin: 0; padding: 8px; border-radius: 999px 999px 22px 22px;
  background: linear-gradient(180deg, #f0c27a, var(--flame) 45%, rgba(232,116,61,.15)) ; box-shadow: 0 0 80px -10px rgba(232,116,61,.6); }
.warm .arch img { width: 100%; aspect-ratio: 3 / 4.2; object-fit: cover; border-radius: 999px 999px 16px 16px; box-shadow: none; display: block; }
.arch-mini { position: absolute; right: 2%; bottom: 6%; width: 32%; margin: 0; padding: 5px; border-radius: 50%; background: linear-gradient(135deg, #f0c27a, var(--flame)); box-shadow: 0 24px 50px -14px rgba(0,0,0,.6); }
.warm .arch-mini img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 3px solid var(--night); box-shadow: none; display: block; }
.embers { position: absolute; inset: 0; pointer-events: none; }
.embers i { position: absolute; bottom: 18%; left: 50%; width: 5px; height: 5px; border-radius: 50%; background: #ffc27a; box-shadow: 0 0 10px 2px rgba(255,150,70,.8); opacity: 0; animation: rise 6s ease-in infinite; }
.embers i:nth-child(1) { left: 42%; animation-delay: 0s; } .embers i:nth-child(2) { left: 55%; animation-delay: .8s; width: 3px; height: 3px; }
.embers i:nth-child(3) { left: 48%; animation-delay: 1.6s; } .embers i:nth-child(4) { left: 60%; animation-delay: 2.4s; width: 4px; height: 4px; }
.embers i:nth-child(5) { left: 38%; animation-delay: 3.2s; width: 3px; height: 3px; } .embers i:nth-child(6) { left: 52%; animation-delay: 4s; }
.embers i:nth-child(7) { left: 45%; animation-delay: 4.8s; width: 4px; height: 4px; } .embers i:nth-child(8) { left: 58%; animation-delay: 5.4s; width: 3px; height: 3px; }
@keyframes rise { 10% { opacity: 1; } 100% { transform: translate(var(--dx, 18px), -340px) scale(.3); opacity: 0; } }
.embers i:nth-child(odd) { --dx: -22px; }
.gold { background: linear-gradient(100deg, #c9963f, #ffe0a3 30%, var(--flame) 55%, #ffe0a3 75%, #c9963f) 0 50% / 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent !important; animation: gradShift 5s linear infinite; }
.warm-copy h2 { margin-bottom: 22px; }
.warm-copy p:not(.ml) { color: var(--bone-dim); margin-bottom: 32px; }

@media (max-width: 960px) {
  .warm { grid-template-columns: 1fr; }
  .roots-pics { min-height: 420px; }
}
@media (prefers-reduced-motion: reduce) { .house-line path { stroke-dashoffset: 0; } .embers { display: none; } }
.house-line { transform: translate(14px, 14px); }
.house-line path { transform: none; }

/* ===== Old wisdom, new homes ===== */
.wisdom { padding-top: var(--gap); }
.wisdom .anat-lede i { color: var(--bone); font-style: italic; }
.compare { position: relative; aspect-ratio: 21 / 9; border-radius: 22px; overflow: hidden; margin-bottom: 18px; isolation: isolate; user-select: none; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare .cmp-then { clip-path: inset(0 calc(100% - var(--pos)) 0 0); filter: sepia(.6) saturate(.8) contrast(1.05) brightness(.95); }
.compare::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 60%, rgba(10,24,16,.55)); }
.cmp-handle { position: absolute; z-index: 2; top: 0; bottom: 0; left: var(--pos); width: 2px; translate: -1px 0; background: var(--bone); pointer-events: none; box-shadow: 0 0 20px rgba(0,0,0,.4); }
.cmp-handle i { position: absolute; top: 50%; left: 50%; translate: -50% -50%; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 20px;
  background: var(--flame); color: var(--night); box-shadow: 0 0 0 6px rgba(232,116,61,.25), 0 10px 30px rgba(0,0,0,.4); }
.cmp-range { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.cmp-range:focus-visible + .cmp-handle, .compare:focus-within .cmp-handle i { outline: 2px solid var(--bone); outline-offset: 3px; }
.cmp-tag { position: absolute; z-index: 2; bottom: 18px; padding: 8px 14px; border-radius: 999px; font: 600 12px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase;
  background: rgba(10,24,16,.45); border: 1px solid rgba(243,236,224,.3); pointer-events: none; }
.cmp-tag-then { left: 18px; color: #f0c27a; }
.cmp-tag-now { right: 18px; color: var(--bone); }

.wis-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.wis { position: relative; padding: 24px 24px 22px; border-radius: 20px; border: 1px solid var(--line); overflow: hidden;
  background: linear-gradient(160deg, rgba(214,170,90,.07), rgba(243,236,224,.01) 50%, rgba(47,107,69,.08)); transition: border-color .35s, transform .45s var(--ease); }
.wis:hover { border-color: rgba(232,116,61,.5); transform: translateY(-4px); }
.wis-ml { font: 700 34px/1.1 "Manjari", sans-serif; margin-bottom: 6px;
  background: linear-gradient(100deg, #d6aa5a, var(--flame), #d6aa5a) 0 50% / 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: gradShift 7s linear infinite alternate; }
.wis h3 { font-size: 19px; margin-bottom: 16px; }
.wis h3 span { font: 500 14px var(--sans); color: var(--bone-dim); letter-spacing: 0; }
.wis-row { display: grid; grid-template-columns: 52px 1fr; gap: 10px; padding: 12px 0; border-top: 1px dashed rgba(243,236,224,.14); }
.wis-row b { font: 600 10px/1.9 "JetBrains Mono", monospace; letter-spacing: .14em; text-transform: uppercase; color: #d6aa5a; }
.wis-row.now b { color: var(--flame); }
.wis-row p { font-size: 14px; color: var(--bone-dim); }
.wis-row.now p { color: var(--bone); }
@media (max-width: 960px) { .wis-grid { grid-template-columns: 1fr 1fr; } .compare { aspect-ratio: 16 / 10; } }
@media (max-width: 600px) { .wis-grid { grid-template-columns: 1fr; } .compare { aspect-ratio: 4 / 5; } .cmp-tag { font-size: 10px; } }

/* ===== Old wisdom — minimal word cycler ===== */
.wisdom { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.w-left h2 { margin-bottom: 14px; }
.w-lede { color: var(--bone-dim); font-size: 16px; }
.w-lede i { color: var(--bone); }
.w-words { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 34px 0 22px; }
.w-word { border: 0; background: none; padding: 4px 0; cursor: pointer; font: 700 clamp(22px, 2.2vw, 30px)/1.3 "Manjari", sans-serif; color: rgba(243,236,224,.22); transition: color .4s; position: relative; }
.w-word:hover { color: rgba(243,236,224,.55); }
.w-word[aria-pressed=true] { color: transparent; background: linear-gradient(100deg, #d6aa5a, var(--flame), #f0c27a) 0 50% / 200% 100%; -webkit-background-clip: text; background-clip: text; animation: gradShift 4s linear infinite alternate; }
.w-word[aria-pressed=true]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px; background: var(--flame); animation: grow .5s var(--ease) both; }
@keyframes grow { from { transform: scaleX(0); } }
.w-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; min-height: 64px; padding-top: 16px; border-top: 1px dashed rgba(243,236,224,.16); font-size: 15px; }
.w-en { flex-basis: 100%; font: 600 11px/1 "JetBrains Mono", monospace; letter-spacing: .14em; text-transform: uppercase; color: #d6aa5a; }
.w-then { color: var(--bone-dim); text-decoration: line-through; text-decoration-color: rgba(232,116,61,.5); }
.w-arrow { color: var(--flame); }
.w-now { color: var(--bone); font-weight: 600; }
.w-line.swap > * { animation: wIn .55s var(--ease) both; }
.w-line.swap .w-arrow { animation-delay: .08s; } .w-line.swap .w-now { animation-delay: .16s; }
@keyframes wIn { from { opacity: 0; transform: translateY(8px); } }
.wisdom .compare { aspect-ratio: 4 / 3.4; margin: 0; }
.wisdom .cmp-tag { font-size: 11px; padding: 6px 12px; }
@media (max-width: 900px) { .wisdom { grid-template-columns: 1fr; } }

/* ===== Old wisdom — nalukettu plan ===== */
.wisdom { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.w-card { margin-top: 30px; padding: 22px 24px; border-radius: 18px; border: 1px solid var(--line); background: linear-gradient(150deg, rgba(214,170,90,.08), rgba(243,236,224,.015)); max-width: 460px; }
.w-card .w-ml { font: 700 36px/1.1 "Manjari", sans-serif; background: linear-gradient(100deg, #d6aa5a, var(--flame), #f0c27a) 0 50% / 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: gradShift 5s linear infinite alternate; }
.w-card .w-en { font: 600 11px/1 "JetBrains Mono", monospace; letter-spacing: .12em; text-transform: uppercase; color: #d6aa5a; margin: 8px 0 16px; }
.w-card .w-then, .w-card .w-now { display: grid; grid-template-columns: 48px 1fr; gap: 10px; font-size: 15px; padding: 8px 0; max-width: none; }
.w-card b { font: 600 10px/2 "JetBrains Mono", monospace; letter-spacing: .14em; text-transform: uppercase; color: #d6aa5a; }
.w-card .w-now b { color: var(--flame); }
.w-card .w-then span { color: var(--bone-dim); }
.w-card .w-now span { color: var(--bone); font-weight: 600; }
.w-card.swap > * { animation: wIn .5s var(--ease) both; }
.w-card.swap > :nth-child(2) { animation-delay: .05s; } .w-card.swap > :nth-child(3) { animation-delay: .1s; } .w-card.swap > :nth-child(4) { animation-delay: .15s; }
@keyframes wIn { from { opacity: 0; transform: translateY(8px); } }

.plan { position: relative; max-width: 520px; width: 100%; justify-self: center; }
.plan svg { display: block; width: 100%; height: auto; overflow: visible; }
.plan .ink * { fill: none; stroke: rgba(243,236,224,.7); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.4s var(--ease); }
.plan .ink .eave { stroke: rgba(214,170,90,.55); }
.plan .ink > :nth-child(2) { transition-delay: .2s; } .plan .ink > :nth-child(3) { transition-delay: .35s; } .plan .ink > :nth-child(4) { transition-delay: .55s; }
.plan .ink > :nth-child(5) { transition-delay: .75s; } .plan .ink > :nth-child(n+6) { transition-delay: .95s; }
.plan.in .ink * { stroke-dashoffset: 0; }
.plan .pillars circle { fill: rgba(243,236,224,.7); }
.plan .thara { fill: none; stroke: #6fbf73; stroke-width: 1.4; }
.plan .rain path { stroke: rgba(150,200,255,.5); stroke-width: 1.2; stroke-linecap: round; animation: rain 1.4s linear infinite; }
.plan .rain path:nth-child(odd) { animation-delay: -.7s; } .plan .rain path:nth-child(3n) { animation-delay: -.35s; }
@keyframes rain { from { transform: translateY(-6px); opacity: 0; } 30% { opacity: 1; } to { transform: translateY(14px); opacity: 0; } }
.plan .lbl text { font: 500 8.5px "JetBrains Mono", monospace; letter-spacing: .12em; fill: rgba(243,236,224,.38); text-anchor: middle; text-transform: uppercase; }
.plan .lbl text:last-child { fill: var(--flame); font-weight: 700; font-size: 10px; }

.hot { position: absolute; translate: -50% -50%; width: 30px; height: 30px; border-radius: 50%; border: 0; padding: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.hot span { width: 12px; height: 12px; border-radius: 50%; background: var(--flame); box-shadow: 0 0 0 4px rgba(232,116,61,.25); transition: transform .3s var(--ease), background .3s; }
.hot::before { content: ""; position: absolute; inset: 4px; border-radius: 50%; border: 1.5px solid var(--flame); opacity: 0; animation: pulseRing 2.2s ease-out infinite; }
.hot:hover span, .hot:focus-visible span { transform: scale(1.3); }
.hot[aria-pressed=true] span { background: var(--bone); box-shadow: 0 0 0 5px var(--flame), 0 0 18px var(--flame); }
@keyframes pulseRing { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(1.6); opacity: 0; } }
@media (max-width: 900px) { .wisdom { grid-template-columns: 1fr; } .plan { order: -1; } }
@media (prefers-reduced-motion: reduce) { .plan .ink * { stroke-dashoffset: 0; } .plan .rain { display: none; } .hot::before { animation: none; } }

/* ===== Old wisdom — drawing board ===== */
.wisdom { display: block; }
.board { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(22px, 3.5vw, 48px);
  border-radius: 26px; border: 1px solid rgba(243,236,224,.14);
  background:
    linear-gradient(rgba(243,236,224,.035) 1px, transparent 1px) 0 0 / 22px 22px,
    linear-gradient(90deg, rgba(243,236,224,.035) 1px, transparent 1px) 0 0 / 22px 22px,
    radial-gradient(80% 70% at 30% 40%, rgba(47,107,69,.22), transparent 70%),
    linear-gradient(160deg, rgba(16,40,26,.92), rgba(12,28,19,.92)); }
.board .plan { max-width: 520px; }
.plan .ink .wall { stroke-width: 5; stroke: rgba(243,236,224,.18); }
.plan .ink .door { stroke: rgba(214,170,90,.7); }
.plan .lbl .dim { fill: var(--flame); font-size: 7.5px; }
.plan .lbl .n { fill: var(--flame); font-weight: 700; font-size: 10px; }
.hot { width: 30px; height: 30px; }
.hot span { width: 22px; height: 22px; display: grid; place-items: center; font: 700 11px/1 "JetBrains Mono", monospace; color: var(--night); box-shadow: 0 0 0 4px rgba(232,116,61,.22); }
.hot[aria-pressed=true] span { color: var(--flame); }
.tblock { position: absolute; right: 0; bottom: -6px; display: flex; gap: 0; font: 500 8.5px/1 "JetBrains Mono", monospace; letter-spacing: .12em; text-transform: uppercase; color: rgba(243,236,224,.5); border: 1px solid rgba(243,236,224,.25); }
.tblock span { padding: 6px 8px; border-left: 1px solid rgba(243,236,224,.25); }
.tblock span:first-child { border-left: 0; color: var(--flame); }

.w-side { display: grid; gap: 16px; align-content: center; }
.w-types { display: inline-flex; justify-self: start; padding: 4px; border-radius: 999px; border: 1px solid var(--line); background: rgba(10,24,16,.5); }
.w-types button { border: 0; background: none; color: var(--bone-dim); font: 600 13px/1 var(--sans); padding: 10px 18px; border-radius: 999px; cursor: pointer; transition: background .3s var(--ease), color .3s; }
.w-types button[aria-pressed=true] { background: var(--bone); color: var(--night); }
.w-side .w-card { margin: 0; max-width: none; position: relative; background: linear-gradient(150deg, rgba(214,170,90,.1), rgba(10,24,16,.4)); }
.w-num { position: absolute; top: 20px; right: 22px; font: 600 11px/1 "JetBrains Mono", monospace; color: rgba(243,236,224,.4); letter-spacing: .1em; }
.w-names { display: flex; flex-wrap: wrap; gap: 6px; }
.w-name { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: none; color: var(--bone-dim); font: 500 13px/1 var(--sans); padding: 8px 12px 8px 8px; border-radius: 999px; cursor: pointer; transition: border-color .25s, color .25s, background .25s; }
.w-name b { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font: 700 10px/1 "JetBrains Mono", monospace; background: rgba(232,116,61,.18); color: var(--flame); }
.w-name:hover { color: var(--bone); border-color: rgba(232,116,61,.5); }
.w-name[aria-pressed=true] { color: var(--bone); border-color: var(--flame); background: rgba(232,116,61,.1); }
.w-name[aria-pressed=true] b { background: var(--flame); color: var(--night); }
@media (max-width: 900px) { .board { grid-template-columns: 1fr; } .tblock { position: static; margin-top: 10px; justify-content: flex-end; } }
.board.in .plan .ink * { stroke-dashoffset: 0; }
.w-card .w-then, .w-card .w-now { grid-template-columns: 92px 1fr; }

/* ===== Testimonials ===== */
.testi { padding-top: var(--gap); }
.t-stage { display: grid; grid-template-columns: 1.15fr 1fr; gap: 18px; align-items: stretch; }
.t-card { position: relative; margin: 0; padding: clamp(28px, 3.5vw, 48px); border-radius: 26px; border: 1px solid rgba(243,236,224,.12); overflow: hidden; display: flex; flex-direction: column;
  background: radial-gradient(90% 80% at 0% 0%, rgba(232,116,61,.16), transparent 60%), linear-gradient(160deg, rgba(20,44,30,.9), rgba(12,28,19,.9)); }
.t-mark { position: absolute; top: -40px; right: 18px; font: 800 260px/1 var(--display); pointer-events: none;
  background: linear-gradient(160deg, var(--flame), #d6aa5a 60%, transparent); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .35; }
.t-stars { display: flex; gap: 6px; margin-bottom: 22px; }
.t-stars i { width: 16px; height: 16px; background: var(--flame); clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.anim .t-stars i { animation: starPop .5s var(--ease) both; }
.t-stars i:nth-child(2) { animation-delay: .06s; } .t-stars i:nth-child(3) { animation-delay: .12s; } .t-stars i:nth-child(4) { animation-delay: .18s; } .t-stars i:nth-child(5) { animation-delay: .24s; }
@keyframes starPop { from { transform: scale(0) rotate(-40deg); } }
.t-quote { margin: 0; font: 500 clamp(20px, 2vw, 28px)/1.42 var(--display); letter-spacing: -0.01em; color: var(--bone); flex: 1; }
.t-quote span { display: inline-block; }
.anim .t-quote span { animation: wordIn .6s var(--ease) both; animation-delay: calc(var(--k) * 22ms); }
@keyframes wordIn { from { opacity: 0; transform: translateY(10px); filter: blur(4px); } }
.t-who { display: flex; align-items: center; gap: 14px; margin-top: 28px; }
.t-avatar, .t-pa { display: grid; place-items: center; border-radius: 50%; overflow: hidden; background: linear-gradient(135deg, #2f6b45, #1b3d26); color: rgba(243,236,224,.6); }
.t-avatar { width: 52px; height: 52px; box-shadow: 0 0 0 2px var(--flame); }
.t-avatar svg, .t-pa svg { width: 60%; height: 60%; fill: none; stroke: currentColor; stroke-width: 1.6; }
.t-avatar img, .t-pa img { width: 100%; height: 100%; object-fit: cover; }
.t-who b { display: block; font: 700 17px/1.2 var(--display); }
.t-who small { display: block; margin-top: 4px; font: 500 13px var(--sans); color: var(--bone-dim); }
.t-ctrl { display: flex; align-items: center; gap: 14px; margin-top: 26px; padding-top: 20px; border-top: 1px dashed rgba(243,236,224,.14); }
.t-arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: none; color: var(--bone); font-size: 18px; cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.t-arrow:hover { background: var(--flame); color: var(--night); border-color: var(--flame); }
.t-count { font: 600 12px "JetBrains Mono", monospace; letter-spacing: .1em; color: var(--bone-dim); }

.t-shot { position: relative; border-radius: 26px; overflow: hidden; min-height: 420px; background: var(--forest); }
.t-shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity .8s var(--ease), transform 1.6s var(--ease); }
.t-shot img.on { opacity: 1; transform: none; }
.t-shot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(10,24,16,.85)); pointer-events: none; }
.t-proj { position: absolute; z-index: 1; left: 22px; bottom: 20px; font: 700 20px/1.2 var(--display); color: var(--bone); }
.t-high { position: absolute; z-index: 1; top: 18px; left: 18px; padding: 8px 14px; border-radius: 999px; font: 600 12px/1 var(--sans); color: var(--night); background: var(--bone); }
.anim .t-high { animation: wIn .6s var(--ease) .25s both; }

.t-people { display: flex; justify-content: center; gap: 12px; margin-top: 22px; }
.t-p { position: relative; width: 52px; height: 52px; border: 0; padding: 0; background: none; cursor: pointer; border-radius: 50%; transition: transform .35s var(--ease); }
.t-p:hover { transform: translateY(-3px); }
.t-pa { position: absolute; inset: 5px; filter: grayscale(.6); opacity: .6; transition: opacity .3s, filter .3s; }
.t-p[aria-pressed=true] .t-pa { opacity: 1; filter: none; }
.t-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.t-ring circle { fill: none; stroke: rgba(243,236,224,.15); stroke-width: 2; }
.t-p[aria-pressed=true] .t-ring circle { stroke: var(--flame); stroke-dasharray: 126; stroke-dashoffset: 126; animation: ring var(--t-dur, 8s) linear forwards; }
.paused .t-p[aria-pressed=true] .t-ring circle { animation-play-state: paused; }
@keyframes ring { to { stroke-dashoffset: 0; } }
@media (max-width: 900px) { .t-stage { grid-template-columns: 1fr; } .t-shot { min-height: 280px; order: -1; } }
@media (prefers-reduced-motion: reduce) { .t-p[aria-pressed=true] .t-ring circle { animation: none; stroke-dashoffset: 0; } }

/* ===== Tharavad, reborn ===== */
.reborn { padding-top: var(--gap); display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.rb-ml { margin-bottom: 8px; background: linear-gradient(100deg, #d6aa5a, var(--flame), #f0c27a) 0 50% / 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: gradShift 6s linear infinite alternate; }
.rb-lede { color: var(--bone-dim); margin: 18px 0 30px; }
.rb-steps { position: relative; display: grid; gap: 4px; }
.rb-steps::before { content: ""; position: absolute; left: 21px; top: 18px; bottom: 18px; width: 1px; background: linear-gradient(180deg, #d6aa5a, var(--flame), rgba(232,116,61,0)); }
.rb-steps li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 12px 0; }
.rb-steps b { position: relative; z-index: 1; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font: 700 12px/1 "JetBrains Mono", monospace;
  background: var(--night); border: 1px solid rgba(232,116,61,.6); color: var(--flame); transition: background .3s, color .3s; }
.rb-steps li:hover b { background: var(--flame); color: var(--night); }
.rb-steps h3 { font-size: 20px; margin: 2px 0 4px; }
.rb-steps p { font-size: 15px; color: var(--bone-dim); }
.rb-media { position: sticky; top: 90px; display: grid; gap: 16px; }
.reborn .compare { aspect-ratio: 4 / 3.2; margin: 0; }
.rb-cta { display: grid; gap: 16px; padding: 22px; border-radius: 20px; border: 1px solid var(--line); background: linear-gradient(150deg, rgba(214,170,90,.08), rgba(243,236,224,.01)); }
.rb-cta p { display: flex; flex-wrap: wrap; gap: 8px; max-width: none; }
.rb-cta p b { font: 600 12px/1 var(--sans); padding: 8px 12px; border-radius: 999px; border: 1px solid rgba(214,170,90,.4); color: #f0c27a; }
.rb-cta .btn { justify-self: start; }
@media (max-width: 900px) { .reborn { grid-template-columns: 1fr; } .rb-media { position: static; } }

/* testimonials: Buildlang "d" mark as the watermark instead of a quote glyph */
img.t-mark { position: absolute; top: -8%; right: -4%; width: auto; height: 118%; font: inherit; background: none; -webkit-background-clip: border-box; background-clip: border-box;
  opacity: .1; transform: rotate(-8deg); pointer-events: none; animation: markFloat 9s ease-in-out infinite; }
@keyframes markFloat { 50% { transform: rotate(-4deg) translateY(-10px); opacity: .14; } }
.t-card > *:not(.t-mark) { position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce) { img.t-mark { animation: none; } }

/* founders contact list */
.founders { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 26px; }
.founders li { display: grid; gap: 4px; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line); background: rgba(243,236,224,.03); }
.founders b { font: 700 17px/1.2 var(--display); }
.founders span { font: 600 11px/1 "JetBrains Mono", monospace; letter-spacing: .12em; text-transform: uppercase; color: #d6aa5a; margin-bottom: 6px; }
.founders a { font: 600 15px var(--sans); text-decoration: none; color: var(--bone); width: fit-content; border-bottom: 1px solid rgba(243,236,224,.25); }
.founders a:hover { color: var(--flame); border-color: var(--flame); }
.founders .wa-link { font-size: 13px; color: var(--flame); border-color: rgba(232,116,61,.4); margin-top: 2px; }
@media (max-width: 560px) { .founders { grid-template-columns: 1fr; } }

/* ===== Readability pass: min sizes, stronger contrast, calmer tracking ===== */
:root { --bone-dim: rgba(243, 236, 224, .84); }
body { text-rendering: optimizeLegibility; font-size: 17px; line-height: 1.65; }
p { line-height: 1.65; }

/* body copy: never below 15-16px */
.anat-lede, .w-lede, .rb-lede, .progress-copy p, .warm-copy p:not(.ml), .contact-grid > div > p { font-size: 17px; }
.sector p, .layer p, .steps p, .rb-steps p, .faq details p, .w-card .w-then, .w-card .w-now { font-size: 16px; line-height: 1.6; }
.svc-body p, .proj p, .gal-cap, .t-who small { font-size: 15px; }
.mini-copy { font-size: 14px; }

/* small uppercase/mono labels: >=12px and gentler letter-spacing */
.kicker, .label, .est-tag, .gal-cap small, .w-en, .w-card b, .founders span, .cmp-tag, .t-high, .t-count, .w-num, .layer b, .rb-steps b, .steps b, .form label, .tblock {
  letter-spacing: .08em !important; }
.gal-cap small, .w-en, .founders span, .w-num, .t-count, .cmp-tag { font-size: 12px !important; }
.w-card b, .wis-row b { font-size: 12px !important; line-height: 1.7 !important; }
.layer b { font-size: 13px; }
.form label { font-size: 13px; color: rgba(243,236,224,.9); }
.w-num { color: rgba(243,236,224,.65); }
.tblock { font-size: 10.5px; color: rgba(243,236,224,.78); }
.plan .lbl text { font-size: 10px; fill: rgba(243,236,224,.66); letter-spacing: .08em; }
.plan .lbl .dim { font-size: 9.5px; }
.plan .lbl .n { font-size: 11px; }

/* text over photographs: full-strength colour + soft shadow */
.svc-body p, .proj p { color: rgba(243,236,224,.94); }
.svc-body, .proj > div, .t-proj, .gal-cap, .hero-inner, .progress-copy { text-shadow: 0 1px 2px rgba(0,0,0,.55), 0 2px 18px rgba(0,0,0,.45); }
.svc::after { background: linear-gradient(180deg, rgba(15,36,24,0) 35%, rgba(15,36,24,.88) 100%); }
.proj > div { background: linear-gradient(180deg, rgba(15,36,24,0), rgba(15,36,24,.85)); }
.kicker { font-weight: 700; }
.chip { font-size: 15px; }
.tblock { font-size: 12px; }

/* ===================== MINIMAL PASS ===================== */
/* one quiet background, no glows */
.aurora, .scrollbar { display: none; }
body { background: var(--night); }
.contact { background: none; }
.board { background:
    linear-gradient(rgba(243,236,224,.03) 1px, transparent 1px) 0 0 / 22px 22px,
    linear-gradient(90deg, rgba(243,236,224,.03) 1px, transparent 1px) 0 0 / 22px 22px,
    rgba(243,236,224,.02); }

/* calmer headings + rhythm */
h2 { font-size: clamp(32px, 4.2vw, 58px); letter-spacing: -0.03em; }
.hero h1 { font-size: clamp(42px, 5.6vw, 88px); }
:root { --gap: clamp(64px, 8vw, 120px); }

/* one flat card style everywhere */
.sector, .wis, .w-card, .w-side .w-card, .rb-cta, .t-card, .faq details, .form, .roots-grid, .founders li, .layers {
  background: rgba(243,236,224,.025) !important; border: 1px solid var(--line) !important; box-shadow: none !important; }
.faq details[open] { background: rgba(243,236,224,.05) !important; }
.sector:hover, .wis:hover { transform: none; border-color: rgba(232,116,61,.45) !important; }
.sector:hover svg { transform: none; }
.roots-grid { animation: none; }

/* no decorative motion or glow */
.veed-word, .embers, .kolam, .halo, .chip { display: none !important; }
.porthole { animation: none; background: var(--line); padding: 1px; box-shadow: none; }
.arch, .arch-mini { background: none; padding: 0; box-shadow: none; }
.warm img, .warm .arch img { box-shadow: none; }
img.t-mark { animation: none; opacity: .07; }
.hot::before { animation: none; display: none; }
.dock::before { display: none; }

/* solid colour instead of animated gradient text */
.gold, .roots .ml, .rb-ml, .w-card .w-ml, .wis-ml, .w-word[aria-pressed=true], .ml {
  background: none !important; -webkit-background-clip: border-box !important; background-clip: border-box !important;
  -webkit-text-fill-color: currentColor; color: var(--flame) !important; animation: none !important; }

/* fewer outlines */
.btn:hover { transform: none; }
.gal-filters, .w-types { background: none; }

/* ===== Sectors: editorial list + live image ===== */
.sx { padding-top: var(--gap); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 88px); align-items: start; }
.sx-kicker { font: 600 13px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--flame); margin-bottom: 16px; }
.sx-left h2 { margin-bottom: 36px; }
.sx-list { border-top: 1px solid var(--line); }
.sx-list li { border-bottom: 1px solid var(--line); }
.sx-i { width: 100%; display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 12px; padding: 16px 4px; border: 0; background: none; color: rgba(243,236,224,.55); text-align: left; cursor: pointer;
  transition: color .3s, padding .4s var(--ease); }
.sx-n { font: 600 12px/1 "JetBrains Mono", monospace; letter-spacing: .08em; color: rgba(243,236,224,.45); transition: color .3s; }
.sx-name { font: 600 clamp(20px, 2vw, 28px)/1.15 var(--display); letter-spacing: -0.015em; }
.sx-arrow { color: var(--flame); opacity: 0; transform: translateX(-10px); transition: opacity .3s, transform .4s var(--ease); font-size: 20px; }
.sx-i:hover, .sx-i:focus-visible, .sx-i[aria-pressed=true] { color: var(--bone); padding-left: 14px; }
.sx-i[aria-pressed=true] .sx-n { color: var(--flame); }
.sx-i[aria-pressed=true] .sx-arrow { opacity: 1; transform: none; }
.sx-media { position: sticky; top: 90px; margin: 0; aspect-ratio: 4 / 4.6; border-radius: 22px; overflow: hidden; background: var(--forest); }
.sx-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .6s var(--ease), transform 1.2s var(--ease); }
.sx-media img.on { opacity: 1; transform: none; }
.sx-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(10,24,16,.88)); pointer-events: none; }
.sx-media figcaption { position: absolute; z-index: 1; left: 24px; right: 24px; bottom: 22px; display: grid; gap: 6px; text-shadow: 0 1px 12px rgba(0,0,0,.5); }
.sx-media figcaption b { font: 700 24px/1.15 var(--display); }
.sx-media figcaption span { color: rgba(243,236,224,.92); font-size: 16px; }
.sx-cta { justify-self: start; margin-top: 8px; font: 600 15px var(--sans); color: var(--flame); text-decoration: none; border-bottom: 1px solid rgba(232,116,61,.5); padding-bottom: 2px; }
.sx-cta:hover { color: var(--bone); border-color: var(--bone); }
@media (max-width: 900px) { .sx { grid-template-columns: 1fr; } .sx-media { position: relative; top: 0; aspect-ratio: 4 / 3; order: -1; } }
.sx-media { aspect-ratio: auto; height: min(calc(100vh - 220px), 640px); min-height: 420px; }
@media (max-width: 900px) { .sx-media { height: auto; min-height: 0; aspect-ratio: 4 / 3; } }

/* sectors list: no numbering, calmer rows, dot + arrow for the active row */
.sx-n, .svc-body span { display: none; }
.sx-i { grid-template-columns: 14px 1fr auto; gap: 14px; padding: 15px 2px; color: rgba(243,236,224,.62); }
.sx-i::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--flame); transform: scale(0); transition: transform .35s var(--ease); }
.sx-i[aria-pressed=true]::before { transform: scale(1); }
.sx-i:hover, .sx-i:focus-visible, .sx-i[aria-pressed=true] { padding-left: 2px; color: var(--bone); }
.sx-name { font-size: clamp(19px, 1.7vw, 24px); font-weight: 600; }
.sx-list li { border-color: rgba(243,236,224,.1); }

/* ===== Mobile fixes ===== */
h1, h2, h3 { text-wrap: balance; }
@media (max-width: 700px) {
  /* gallery filters: one swipeable row, no boxed pill */
  .gal-filters { flex-wrap: nowrap; overflow-x: auto; border: 0; margin: 0 calc(-1 * var(--pad)); padding: 0 var(--pad); scrollbar-width: none; width: calc(100% + 2 * var(--pad)); }
  .gal-filters::-webkit-scrollbar { display: none; }
  .gal-filters button { flex: none; min-height: 44px; padding: 0 16px; border: 1px solid var(--line); }
  .gal-grid { columns: 2 140px; column-gap: 10px; }
  .gal-item { margin-bottom: 10px; border-radius: 12px; }

  /* service tiles: shorter copy so the photo shows */
  .svc-grid { grid-auto-rows: 340px; }
  .svc-body p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 14.5px; }
  .svc-body { padding: 18px; }

  /* plan: drop the title block that collides with hotspot 5 */
  .tblock { display: none; }
  .hot { width: 44px; height: 44px; }

  /* comfortable tap targets */
  .w-types button, .w-name, .t-arrow, .mini-icons a, .mini-top { min-height: 44px; min-width: 44px; }
  .corner-call, .sx-cta, .phones a, .credit, .mini-logo { padding-block: 10px; display: inline-block; }

  /* nothing important hidden behind the dock */
  .hero { padding-bottom: 90px; }
  .contact-btns .btn { flex: 1 1 auto; }
}

/* contact: just the two numbers */
.phones { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 22px; max-width: none; }
.phones a { font: 600 20px/1.3 var(--display); letter-spacing: .01em; color: var(--bone); text-decoration: none; border-bottom: 1px solid rgba(243,236,224,.25); }
.phones a:hover { color: var(--flame); border-color: var(--flame); }
@media (max-width: 700px) { .corner-call, .link, .credit { display: inline-flex; align-items: center; min-height: 44px; padding-block: 0; } }

/* ===== Creative minimal pass: dimension-line eyebrows, marketing sub-line, easier nav ===== */
.eyebrow-l { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px; font: 600 13px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--flame); }
.eyebrow-l::before { content: ""; width: 36px; height: 11px; flex: none;
  border-inline: 1.5px solid var(--flame);
  background: linear-gradient(var(--flame), var(--flame)) center / 100% 1.5px no-repeat;
  transform-origin: left; transform: scaleX(0); transition: transform .9s var(--ease) .1s; }
.eyebrow-l.in::before, .in .eyebrow-l::before, .sec-head .eyebrow-l::before { transform: scaleX(1); }
.sec-head { flex-direction: column; align-items: flex-start; }
.sec-head > .eyebrow-l { margin-bottom: -10px; }
.hero-sub { margin-top: 18px; max-width: 46ch; font-size: clamp(16px, 1.4vw, 19px); color: rgba(243,236,224,.92); }
section[id], .roots, .warm { scroll-margin-top: 20px; }
/* dock: visible labels on phones so every icon is self-explanatory */
@media (max-width: 700px) {
  .dock-i { width: 46px; height: 52px; flex-direction: column; display: flex; align-items: center; justify-content: center; gap: 3px; }
  .dock-lb { position: static; translate: none; opacity: .85; background: none; color: var(--bone-dim); padding: 0; font-size: 9.5px; letter-spacing: 0; }
  .dock-i[aria-current] .dock-lb { color: var(--flame); opacity: 1; }
  .dock-i[aria-current]::after { display: none; }
  .dock-ic svg { width: 18px; height: 18px; }
  .dock-wa { height: 52px; }
}
.sec-head .eyebrow-l::before { transform: scaleX(0); }
.eyebrow-l:has(+ h2.in)::before { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) { .eyebrow-l::before { transform: none !important; } }

/* ===== Typography matched to the logo ===== */
:root { --display: "Outfit", "Manrope", system-ui, sans-serif; --ml: "Anek Malayalam", "Manjari", sans-serif; --cond: "Barlow Condensed", "Manrope", sans-serif; }
h1, h2, h3, .t-quote, .sx-name, .proj h3, .sx-media figcaption b, .phones a, .t-who b, .t-proj { font-family: var(--display); }
h1, h2 { font-weight: 700; letter-spacing: -0.025em; line-height: 1.02; }
.hero h1 { font-weight: 800; letter-spacing: -0.035em; }
h3 { font-weight: 600; letter-spacing: -0.01em; }
.t-quote { font-weight: 500; letter-spacing: -0.005em; }

/* condensed, widely spaced caps like the logo tagline */
.eyebrow-l, .kicker, .est-tag, .cmp-tag, .gal-cap small, .w-en, .t-high, .rb-cta p b, .form label, .sx-kicker {
  font-family: var(--cond) !important; font-weight: 600 !important; letter-spacing: .16em !important; text-transform: uppercase; }
.eyebrow-l, .kicker { font-size: 15px !important; }
.form label { font-size: 14px !important; }
.est-tag, .gal-cap small, .w-en, .cmp-tag { font-size: 13.5px !important; }

/* Malayalam: Anek Malayalam everywhere */
[lang=ml], .ml, .w-ml, .wis-ml, .rb-ml, .veed-word, .stamp [lang=ml] { font-family: var(--ml) !important; font-weight: 700; letter-spacing: 0; line-height: 1.25; }
.ml, .rb-ml { font-size: clamp(28px, 3vw, 40px); }
.w-card .w-ml { font-size: 40px; font-weight: 600; }
.hero-ml { font-family: var(--ml); font-weight: 600; font-size: clamp(18px, 1.9vw, 24px); color: #f0c27a; margin: -6px 0 14px; text-shadow: 0 1px 12px rgba(0,0,0,.5); }
.contact-ml { margin-bottom: 14px; }
.hero { padding-top: 130px; justify-content: center; }
.hero h1 { font-size: clamp(42px, 5.2vw, 82px); }
.hero-cta { margin-top: 28px; }
@media (max-width: 960px) { .hero { padding-top: 110px; } }
.hero-inner { align-items: start; align-content: center; row-gap: 0; }
.est { grid-row: 1 / span 5; align-self: center; }
.hero-ml { margin: 4px 0 10px; }
.hero .kicker { margin-bottom: 10px; }
@media (max-width: 960px) { .est { grid-row: auto; margin-top: 28px; } }

/* ===== STAGES: every stage of the build ===== */
.stages h2 em { font-style: normal; color: var(--flame); }
.who { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px; }
.who-q { font: 600 13px/1 var(--cond); letter-spacing: .16em; text-transform: uppercase; color: var(--bone-dim); margin-right: 6px; }
.who button { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--bone); font: 500 15px/1 var(--sans, "Manrope"); cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.who button:hover { border-color: rgba(243,236,224,.5); }
.who button[aria-pressed=true] { background: var(--bone); color: var(--night); border-color: var(--bone); }
.who-say { max-width: 70ch; min-height: 3.2em; color: var(--bone-dim); font-size: 17px; line-height: 1.6; margin-bottom: 36px; padding-left: 16px; border-left: 2px solid var(--flame); }
.stg { display: grid; grid-template-columns: minmax(240px, 340px) 1fr; gap: clamp(24px, 4vw, 64px); align-items: start; }
.stg-list { list-style: none; margin: 0; padding: 0 0 0 18px; position: relative; display: grid; gap: 2px; }
/* the rail: a thin line that fills as you move through the build */
.stg-list::before, .stg-list::after { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 2px; background: var(--line); }
.stg-list::after { background: var(--flame); transform-origin: top; transform: scaleY(var(--p, 0)); transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.stg-list button { width: 100%; display: flex; align-items: center; gap: 14px; min-height: 44px; padding: 8px 12px; border: 0; border-radius: 10px; background: transparent; color: var(--bone-dim); font: 500 16px/1.25 var(--sans, "Manrope"); text-align: left; cursor: pointer; transition: background .2s, color .2s; }
.stg-list button b { font: 600 13px/1 var(--cond); letter-spacing: .1em; color: rgba(243,236,224,.55); min-width: 22px; }
.stg-list button:hover { color: var(--bone); background: rgba(243,236,224,.05); }
.stg-list button.done b { color: var(--flame); }
.stg-list button[aria-current=step] { color: var(--night); background: var(--bone); font-weight: 600; }
.stg-list button[aria-current=step] b { color: var(--terracotta); }
.stg-list button.key::after { content: "Key for you"; margin-left: auto; font: 600 11px/1 var(--cond); letter-spacing: .12em; text-transform: uppercase; color: #f0c27a; white-space: nowrap; }
.stg-list button[aria-current=step].key::after { color: var(--terracotta); }
.stg-card { position: sticky; top: 110px; padding: clamp(24px, 3.4vw, 44px); border-radius: 22px; border: 1px solid var(--line); background: linear-gradient(160deg, rgba(27,61,38,.75), rgba(15,36,24,.6)); }
.stg-card.swap > * { animation: stgIn .45s cubic-bezier(.2,.7,.2,1) both; }
.stg-card.swap > :nth-child(2) { animation-delay: .04s; } .stg-card.swap > :nth-child(3) { animation-delay: .08s; } .stg-card.swap > :nth-child(4) { animation-delay: .12s; }
@keyframes stgIn { from { opacity: 0; transform: translateY(8px); } }
.stg-top { display: flex; justify-content: space-between; gap: 12px; font: 600 13px/1 var(--cond); letter-spacing: .16em; text-transform: uppercase; color: var(--bone-dim); }
.stg-time { color: #f0c27a; }
.stg-card h3 { font: 700 clamp(28px, 3.2vw, 44px)/1.05 var(--display); letter-spacing: -.02em; margin: 18px 0 22px; }
.stg-card dl { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin: 0 0 24px; }
.stg-card dt { font: 600 13px/1 var(--cond); letter-spacing: .16em; text-transform: uppercase; color: var(--flame); margin-bottom: 8px; }
.stg-card dd { margin: 0; color: var(--bone); line-height: 1.6; }
.stg-tip { display: grid; gap: 6px; margin: 0 0 26px; padding: 16px 18px; border-radius: 14px; background: rgba(232,116,61,.1); border: 1px solid rgba(232,116,61,.3); line-height: 1.6; }
.stg-tip b { font: 600 13px/1 var(--cond); letter-spacing: .16em; text-transform: uppercase; color: var(--flame); }
.stg-nav { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.stg-arrow { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--bone); font-size: 18px; cursor: pointer; transition: background .2s, color .2s; }
.stg-arrow:hover { background: var(--bone); color: var(--night); }
.stg-nav .btn { margin-left: auto; }
@media (max-width: 860px) {
  .stg { grid-template-columns: 1fr; }
  .stg-list { display: flex; overflow-x: auto; gap: 8px; padding: 0 0 6px; scrollbar-width: none; scroll-snap-type: x proximity; scroll-padding-inline: var(--pad); margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); }
  .stg-list::before, .stg-list::after { display: none; }
  .stg-list li { flex: none; scroll-snap-align: start; }
  .stg-list button { border: 1px solid var(--line); border-radius: 999px; white-space: nowrap; padding: 8px 16px; }
  .stg-list button.key::after { content: "★"; letter-spacing: 0; }
  .stg-card { position: static; }
  .stg-card dl { grid-template-columns: 1fr; gap: 16px; }
  .stg-nav .btn { margin-left: 0; flex: 1; }
  .who { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); }
  .who button { flex: none; white-space: nowrap; }
  .who-q { flex: none; }
}

/* toast for copy / WhatsApp feedback */
.toast { position: fixed; left: 50%; bottom: 100px; z-index: 60; translate: -50% 12px; opacity: 0; pointer-events: none; padding: 12px 20px; border-radius: 999px; background: var(--bone); color: var(--night); font: 600 14px/1.2 var(--sans, "Manrope"); box-shadow: 0 12px 30px rgba(0,0,0,.35); transition: opacity .25s, translate .25s; }
.toast.on { opacity: 1; translate: -50% 0; }
.form-note { grid-column: 1 / -1; margin: 4px 0 0; font-size: 14px; color: var(--bone-dim); }
.form-note a { color: var(--bone); text-decoration: underline; text-underline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .stg-card.swap > * { animation: none; } .stg-list::after { transition: none; } }
