/* ==========================================================================
   THE DWARAKA BRAND — Design System
   Ivory paper · Emerald ink · Gold leaf
   ========================================================================== */

:root {
  --ivory: #FAF8F3;
  --ivory-2: #F4F0E6;
  --white: #FFFFFF;
  --sage: #EEF3EF;
  --sage-2: #E1EAE3;
  --emerald: #0F3D26;
  --emerald-2: #17533A;
  --emerald-3: #0A2C1B;
  --gold: #C49A3A;
  --gold-2: #D9B867;
  --gold-3: #A47E27;
  --gold-soft: #EADBB5;
  --ink: #1B241F;
  --muted: #56635B;
  --line: rgba(15, 61, 38, .12);
  --line-gold: rgba(196, 154, 58, .45);

  --serif: "Playfair Display", "Times New Roman", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --radius: 4px;
  --header-h: 84px;
  --gutter: clamp(20px, 4vw, 56px);
  --section: clamp(84px, 11vw, 160px);
  --shadow-1: 0 1px 2px rgba(15,61,38,.04), 0 8px 24px -12px rgba(15,61,38,.12);
  --shadow-2: 0 2px 4px rgba(15,61,38,.04), 0 30px 60px -28px rgba(15,61,38,.28);
  --gold-grad: linear-gradient(135deg, #E9CF86 0%, #C49A3A 38%, #A47E27 62%, #D9B867 100%);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; overflow-x: clip; }
body {
  margin: 0; background: var(--ivory); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.65; font-weight: 400;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility; overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; color: var(--emerald); line-height: 1.08; margin: 0; letter-spacing: -.01em; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--gold-soft); color: var(--emerald); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
main:focus { outline: none; }

.skip { position: fixed; left: 16px; top: -60px; z-index: 1000; background: var(--emerald); color: #fff; padding: 10px 16px; border-radius: var(--radius); transition: top .2s; }
.skip:focus { top: 16px; }

/* ---------- Layout ---------- */
.container { width: min(1240px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.container-wide { width: min(1480px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.container-narrow { width: min(820px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: var(--section); position: relative; }
.section--sage { background: var(--sage); }
.section--white { background: var(--white); }
.section--tight { padding-block: clamp(60px, 7vw, 100px); }
.page { padding-top: var(--header-h); min-height: 100vh; }

/* ---------- Type helpers ---------- */
.eyebrow {
  font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .24em;
  text-transform: uppercase; color: var(--gold-3); margin: 0 0 18px;
  display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); }
.eyebrow--plain::before { display: none; }
.eyebrow--light { color: var(--gold-2); }
.display { font-size: clamp(44px, 6.4vw, 96px); font-weight: 700; letter-spacing: -.02em; line-height: 1; }
.h1 { font-size: clamp(40px, 5.2vw, 76px); font-weight: 600; letter-spacing: -.015em; }
.h2 { font-size: clamp(32px, 3.8vw, 56px); }
.h3 { font-size: clamp(24px, 2.2vw, 32px); }
.h4 { font-size: 21px; }
.lede { font-size: clamp(18px, 1.45vw, 21px); line-height: 1.6; color: var(--muted); max-width: 60ch; }
.muted { color: var(--muted); }
.serif-i { font-family: var(--serif); font-style: italic; font-weight: 400; }
.gold { color: var(--gold); }
.dot { color: var(--gold); }
.rule { display: block; width: 64px; height: 1px; background: var(--gold); margin: 26px 0; border: 0; }
.rule--center { margin-inline: auto; }
.rule--long { width: min(380px, 70%); background: linear-gradient(90deg, var(--gold), rgba(196,154,58,0)); }
.center { text-align: center; }
.center .lede { margin-inline: auto; }
.center .eyebrow { justify-content: center; }
.center .eyebrow::after { content: ""; width: 28px; height: 1px; background: var(--gold); }
.mask { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.mask > span { display: inline-block; will-change: transform; }

.section-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 32px; margin-bottom: clamp(44px, 6vw, 80px); }
.section-head .lede { margin: 18px 0 0; }

/* ---------- Buttons ---------- */
.btn {
  --h: 54px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: var(--h); padding: 0 28px; border-radius: 999px;
  font-size: 14px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
  overflow: hidden; isolation: isolate; white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { background: var(--emerald); color: var(--ivory); }
.btn--primary::after { content: ""; position: absolute; inset: 0; background: var(--gold-grad); transform: translateY(101%); transition: transform .45s var(--ease); z-index: -1; }
.btn--primary:hover::after { transform: translateY(0); }
.btn--primary:hover { color: var(--emerald-3); }
.btn--ghost { border: 1px solid var(--emerald); color: var(--emerald); }
.btn--ghost:hover { background: var(--emerald); color: var(--ivory); }
.btn--gold { background: var(--gold-grad); color: var(--emerald-3); }
.btn--gold:hover { transform: translateY(-2px); }
.btn--light { border: 1px solid rgba(250,248,243,.5); color: var(--ivory); }
.btn--light:hover { background: var(--ivory); color: var(--emerald); }
.btn--sm { --h: 44px; padding: 0 22px; font-size: 12.5px; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--emerald); padding: 10px 0; position: relative; }
.link-arrow::after { content: ""; position: absolute; left: 0; bottom: 4px; width: 100%; height: 1px; background: var(--gold); transform-origin: right; transform: scaleX(.35); transition: transform .45s var(--ease); }
.link-arrow:hover::after { transform-origin: left; transform: scaleX(1); }
.link-arrow svg { width: 15px; height: 15px; }

/* ---------- Emblem & Mandala ---------- */
.emblem { display: block; }
[data-mandala] { pointer-events: none; }
.mandala { position: absolute; pointer-events: none; color: var(--gold); opacity: .14; z-index: 0; }
.mandala svg { width: 100%; height: 100%; }
.mandala--spin svg { animation: spin 140s linear infinite; }
.mandala--spin-rev svg { animation: spin 180s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Preloader ---------- */
.preloader { position: fixed; inset: 0; z-index: 900; background: var(--ivory); display: grid; place-items: center; }
.preloader__inner { text-align: center; display: grid; justify-items: center; gap: 14px; }
.preloader__word { font-family: var(--serif); font-weight: 700; letter-spacing: .32em; font-size: 22px; color: var(--emerald); padding-left: .32em; }
.preloader__line { width: 160px; height: 1px; background: var(--line); overflow: hidden; }
.preloader__line span { display: block; height: 100%; background: var(--gold); transform-origin: left; transform: scaleX(0); animation: load 1.4s var(--ease) forwards; }
.preloader__since { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-3); }
@keyframes load { to { transform: scaleX(1); } }
.preloader.is-done { opacity: 0; visibility: hidden; transition: opacity .7s var(--ease) .1s, visibility 0s .8s; }

/* ---------- Curtain ---------- */
.curtain { position: fixed; inset: 0; z-index: 800; pointer-events: none; display: grid; place-items: center; visibility: hidden; }
.curtain__panel { position: absolute; inset: 0; background: var(--emerald); transform: scaleY(0); transform-origin: bottom; }
.curtain__panel::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--gold-grad); }
.curtain__mark { position: relative; opacity: 0; }

/* ---------- Header ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 500; height: var(--header-h); transition: background .45s var(--ease), box-shadow .45s var(--ease), height .45s var(--ease), transform .5s var(--ease); }
.header__inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.header.is-scrolled { --header-h: 70px; background: rgba(250,248,243,.86); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); box-shadow: 0 1px 0 var(--line); }
.header.is-hidden { transform: translateY(-100%); }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand__mark { width: 40px; }
.brand__text { display: grid; line-height: 1; }
.brand__name { font-family: var(--serif); font-weight: 700; font-size: 21px; letter-spacing: .2em; color: var(--emerald); }
.brand__sub { font-size: 9.5px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold-3); margin-top: 6px; }
.nav { margin-left: auto; }
.nav__list { display: flex; gap: 6px; }
.nav__link { position: relative; display: inline-flex; align-items: center; height: 44px; padding: 0 12px; font-size: 14px; font-weight: 500; color: var(--ink); transition: color .3s; }
.nav__link::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 8px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav__link:hover, .nav__link.is-active { color: var(--emerald); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }
.burger { display: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); position: relative; flex-shrink: 0; }
.burger span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--emerald); transition: transform .45s var(--ease), top .45s var(--ease); }
.burger span:nth-child(1) { top: 19px; }
.burger span:nth-child(2) { top: 27px; }
.menu-open .burger span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { top: 23px; transform: rotate(-45deg); }

/* ---------- Full-screen menu ---------- */
.menu { position: fixed; inset: 0; z-index: 450; background: var(--ivory); visibility: hidden; clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease), visibility 0s .8s; overflow: auto; }
.menu-open .menu { visibility: visible; clip-path: inset(0 0 0 0); transition: clip-path .8s var(--ease); }
.menu__mandala { position: absolute; right: -300px; bottom: -300px; width: 900px; color: var(--gold); opacity: .12; }
.menu__mandala svg { animation: spin 160s linear infinite; }
.menu__inner { position: relative; padding: calc(var(--header-h) + 30px) var(--gutter) 40px; min-height: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.menu__list { counter-reset: m; }
.menu__list li { counter-increment: m; overflow: hidden; }
.menu__list a { display: flex; align-items: baseline; gap: 18px; font-family: var(--serif); font-size: clamp(34px, 7vw, 58px); color: var(--emerald); line-height: 1.22; transition: color .3s, transform .5s var(--ease); }
.menu__list a::before { content: "0" counter(m); font-family: var(--sans); font-size: 12px; letter-spacing: .2em; color: var(--gold-3); }
.menu__list li:nth-child(n+10) a::before { content: counter(m); }
.menu__list a:hover, .menu__list a.is-active { color: var(--gold-3); transform: translateX(10px); }
.menu__foot { color: var(--muted); }
.menu__foot .eyebrow { margin-bottom: 6px; }

/* ==========================================================================
   HOME — Split-canvas hero
   ========================================================================== */
.hero { position: relative; min-height: 100svh; padding-top: var(--header-h); overflow: hidden; background:
  radial-gradient(1200px 700px at 85% 30%, rgba(238,243,239,.9), transparent 60%),
  radial-gradient(900px 600px at 0% 100%, rgba(234,219,181,.28), transparent 60%), var(--ivory); }
.hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); gap: clamp(30px, 4vw, 80px); align-items: center; min-height: calc(100svh - var(--header-h)); padding-block: 40px 70px; }
.hero__mandala { right: -18vw; top: 50%; width: 92vw; max-width: 1400px; translate: 0 -50%; opacity: .11; }
.hero__copy { position: relative; }
.hero__title { font-family: var(--serif); font-weight: 800; font-size: clamp(58px, 9.6vw, 168px); line-height: .9; letter-spacing: -.025em; margin: 0; }
.hero__title .mask { padding-bottom: .08em; }
.ink {
  background-image: linear-gradient(180deg, rgba(10,44,27,.18), rgba(10,44,27,.38)), url("../img/forest.jpg"), linear-gradient(#0F3D26, #0F3D26);
  background-size: cover, cover, cover; background-position: center, 40% 50%, center;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__title .dot { -webkit-text-fill-color: var(--gold); color: var(--gold); }
.hero__meta { display: flex; align-items: center; gap: 18px; margin-top: clamp(26px, 3vw, 40px); }
.hero__meta .rule { margin: 0; width: clamp(80px, 14vw, 220px); }
.hero__meta span { font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-3); font-weight: 600; }
.hero__lede { margin-top: 26px; max-width: 46ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* Stage (right canvas) */
.stage { position: relative; height: min(76vh, 760px); min-height: 520px; display: grid; grid-template-rows: 1fr auto; gap: 22px; }
.stage__arch { position: relative; border-radius: 999px 999px 6px 6px; overflow: hidden; background: var(--sage); box-shadow: var(--shadow-2); isolation: isolate; }
.stage__frame { position: absolute; inset: -14px -14px -14px -14px; border: 1px solid var(--line-gold); border-radius: 999px 999px 10px 10px; pointer-events: none; }
.stage__wrap { position: relative; }
.stage__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1s var(--ease), visibility 0s 1s; }
.stage__slide.is-active { opacity: 1; visibility: visible; transition: opacity 1s var(--ease); }
.stage__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 7s linear; }
.stage__slide.is-active img { transform: scale(1); }
.stage__slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,44,27,0) 45%, rgba(10,44,27,.78) 100%); }
.stage__art { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(160deg, var(--sage) 0%, var(--ivory-2) 100%); color: var(--emerald); }
.stage__art svg { width: 70%; height: auto; }
.stage__caption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 34px 36px; color: var(--ivory); }
.stage__caption .eyebrow { color: var(--gold-2); margin-bottom: 10px; }
.stage__caption h3 { color: var(--ivory); font-size: clamp(26px, 2.4vw, 38px); font-weight: 500; }
.stage__caption p { margin: 10px 0 0; font-size: 15px; color: rgba(250,248,243,.82); max-width: 34ch; }
.stage__crest { position: absolute; top: 12%; left: 50%; translate: -50% 0; z-index: 2; width: 64px; filter: drop-shadow(0 6px 16px rgba(0,0,0,.25)); }
.stage__tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stage__tab { text-align: left; padding: 12px 0 0; position: relative; color: var(--muted); transition: color .3s; min-height: 44px; }
.stage__tab::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--line); }
.stage__tab i { position: absolute; top: 0; left: 0; height: 2px; width: 100%; margin-top: -.5px; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.stage__tab b { display: block; font-family: var(--serif); font-weight: 500; font-size: 13px; color: var(--gold-3); }
.stage__tab span { font-size: 14px; font-weight: 500; letter-spacing: .02em; }
.stage__tab.is-active { color: var(--emerald); }

.scroll-cue { position: absolute; left: 50%; bottom: 22px; z-index: 3; translate: -50% 0; display: grid; justify-items: center; gap: 8px; font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.scroll-cue i { width: 1px; height: 44px; background: linear-gradient(var(--gold), transparent); animation: cue 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- Ribbon ---------- */
.ribbon { background: var(--white); border-block: 1px solid var(--line); overflow: hidden; padding: 22px 0; }
.ribbon__track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.ribbon__item { display: inline-flex; align-items: center; gap: 36px; padding-right: 36px; font-family: var(--serif); font-size: clamp(22px, 2.4vw, 34px); color: var(--emerald); white-space: nowrap; }
.ribbon__item em { color: var(--gold-3); }
.ribbon__item svg { width: 22px; color: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Metrics band ---------- */
.metrics { position: relative; background: var(--emerald); color: var(--ivory); overflow: hidden; }
.metrics::before, .metrics::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: var(--gold-grad); opacity: .7; }
.metrics::before { top: 10px; } .metrics::after { bottom: 10px; }
.metrics .mandala { color: var(--gold); opacity: .09; width: 900px; left: -260px; top: 50%; translate: 0 -50%; }
.metrics__grid { position: relative; display: grid; grid-template-columns: 1.4fr repeat(5, 1fr); }
.metric { padding: clamp(40px, 5vw, 70px) clamp(14px, 1.6vw, 28px); border-left: 1px solid rgba(250,248,243,.12); }
.metric:first-child { border-left: 0; padding-left: 0; }
.metric__num { font-family: var(--serif); font-size: clamp(38px, 3.4vw, 54px); font-weight: 600; line-height: 1; color: var(--ivory); font-variant-numeric: tabular-nums; white-space: nowrap; }
.metric:first-child .metric__num { font-size: clamp(54px, 5.6vw, 92px); background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.metric__label { margin-top: 14px; font-size: 13px; letter-spacing: .08em; color: rgba(250,248,243,.72); line-height: 1.45; }

/* ---------- Founder spotlight ---------- */
.spot { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.arch { position: relative; aspect-ratio: 4 / 5; border-radius: 999px 999px 6px 6px; overflow: hidden; background: linear-gradient(170deg, var(--sage), var(--sage-2)); box-shadow: var(--shadow-2); }
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: 92% 20%; }
.arch-wrap { position: relative; padding: 18px; }
.arch-wrap::before { content: ""; position: absolute; inset: 0; border: 1px solid var(--line-gold); border-radius: 999px 999px 10px 10px; }
.arch-wrap .mandala { width: 150%; left: -25%; top: -12%; opacity: .16; z-index: -1; }
.arch__fallback { position: absolute; inset: 0; display: grid; place-items: center; color: var(--emerald); font-family: var(--serif); font-size: 120px; }
.nameplate { position: absolute; right: -24px; bottom: 44px; z-index: 3; background: var(--white); padding: 18px 26px; box-shadow: var(--shadow-2); border-left: 2px solid var(--gold); }
.nameplate strong { display: block; font-family: var(--serif); font-size: 20px; color: var(--emerald); font-weight: 600; }
.nameplate span { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.quote { position: relative; font-family: var(--serif); font-style: italic; font-size: clamp(24px, 2.4vw, 36px); line-height: 1.35; color: var(--emerald); margin: 0; font-weight: 400; }
.quote__mark { font-family: var(--serif); font-size: 120px; line-height: .6; color: var(--gold); display: block; height: 52px; font-style: normal; }
.quote-body { margin-top: 26px; color: var(--muted); max-width: 56ch; }
.signoff { display: flex; align-items: center; gap: 18px; margin-top: 30px; }
.signoff__name { font-family: var(--serif); font-size: 22px; color: var(--emerald); font-weight: 600; }
.signoff__role { font-size: 13px; color: var(--muted); letter-spacing: .06em; }

/* ---------- Timeline (horizontal) ---------- */
.legacy { position: relative; overflow: hidden; background: var(--white); }
.legacy__pin { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding-block: calc(var(--header-h) + 20px) 60px; }
.legacy__head { margin-bottom: 50px; }
.legacy__track { display: flex; gap: clamp(24px, 3vw, 48px); padding-left: max(var(--gutter), calc((100vw - 1240px) / 2)); padding-right: var(--gutter); width: max-content; position: relative; }
.legacy__line { position: absolute; left: 0; right: 0; top: 86px; height: 1px; background: var(--line-gold); }
.milestone { position: relative; width: clamp(290px, 28vw, 400px); flex-shrink: 0; }
.milestone__year { font-family: var(--serif); font-weight: 700; font-size: clamp(58px, 5.6vw, 84px); line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--gold); }
.milestone.is-on .milestone__year, .milestone:hover .milestone__year { color: var(--gold); }
.milestone__year { transition: color .5s var(--ease); }
.milestone__dot { width: 13px; height: 13px; border-radius: 50%; background: var(--ivory); border: 2px solid var(--gold); margin: 9px 0 26px; position: relative; z-index: 2; }
.milestone__tag { font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-3); font-weight: 600; }
.milestone h3 { font-size: 26px; margin: 8px 0 12px; }
.milestone p { color: var(--muted); font-size: 15.5px; margin: 0; }
.milestone__img { position: relative; margin-top: 22px; aspect-ratio: 16/10; overflow: hidden; border-radius: var(--radius); background: var(--sage); }
.milestone__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.milestone:hover .milestone__img img { transform: scale(1.06); }

/* ---------- Zone explorer ---------- */
.zones { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 100px); align-items: center; }
.chakra { position: relative; width: min(100%, 560px); aspect-ratio: 1; margin-inline: auto; }
.chakra svg { width: 100%; height: 100%; overflow: visible; }
.chakra__petal { cursor: pointer; transition: transform .6s var(--ease); transform-origin: 300px 300px; }
.chakra__petal path.p { fill: var(--white); stroke: var(--gold); stroke-width: 1; transition: fill .5s var(--ease); }
.chakra__petal text { font-family: var(--sans); font-size: 12px; letter-spacing: .14em; fill: var(--emerald); text-transform: uppercase; font-weight: 600; pointer-events: none; }
.chakra__petal .n { font-family: var(--serif); font-size: 26px; fill: var(--gold-3); letter-spacing: 0; font-weight: 500; }
.chakra__petal:hover path.p { fill: var(--sage); }
.chakra__petal.is-active path.p { fill: var(--emerald); }
.chakra__petal.is-active text { fill: var(--ivory); }
.chakra__petal.is-active .n { fill: var(--gold-2); }
.chakra__petal:focus-visible { outline: none; }
.chakra__petal:focus-visible path.p { stroke-width: 3; }
.chakra__core { pointer-events: none; }
.chakra__spin { animation: spin 90s linear infinite; transform-origin: 300px 300px; }
.zone-panel { position: relative; min-height: 380px; }
.zone-panel__num { font-family: var(--serif); font-size: 120px; line-height: .8; color: var(--gold-soft); font-weight: 700; }
.zone-panel h3 { font-size: clamp(30px, 3vw, 44px); margin: 14px 0 16px; }
.zone-panel ul { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 26px; margin: 26px 0 30px; }
.zone-panel li { display: flex; gap: 12px; align-items: baseline; font-size: 15px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.zone-panel li::before { content: ""; width: 6px; height: 6px; transform: rotate(45deg) translateY(-2px); background: var(--gold); flex-shrink: 0; }
.facts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.fact { padding: 10px 18px; border: 1px solid var(--line-gold); border-radius: 999px; font-size: 13.5px; color: var(--emerald); background: rgba(255,255,255,.6); }
.fact b { font-family: var(--serif); font-weight: 600; margin-right: 6px; }

/* ---------- Posters ---------- */
.posters { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.4vw, 36px); perspective: 1200px; }
.poster { position: relative; display: block; text-align: left; }
.poster__frame { position: relative; aspect-ratio: 2/3; overflow: hidden; background: var(--emerald); box-shadow: var(--shadow-2); transform-style: preserve-3d; transition: transform .6s var(--ease), box-shadow .6s var(--ease); border-radius: 2px; }
.poster__frame::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(217,184,103,.55); pointer-events: none; z-index: 2; }
.poster__frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.poster:hover .poster__frame { box-shadow: 0 40px 70px -30px rgba(15,61,38,.55); }
.poster:hover .poster__frame img { transform: scale(1.05); }
.poster__fallback { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 26px; color: var(--ivory); background: radial-gradient(circle at 50% 30%, #1E6A45, #0A2C1B 70%); }
.poster__fallback strong { font-family: var(--serif); font-size: 28px; line-height: 1.05; color: var(--gold-2); }
.poster__fallback .mandala { width: 120%; left: -10%; top: -10%; opacity: .25; }
.poster__meta { margin-top: 18px; }
.poster__meta h3 { font-size: 22px; }
.poster__meta p { font-size: 13.5px; color: var(--muted); margin: 4px 0 0; }
.poster__year { position: absolute; top: 18px; right: -12px; z-index: 3; background: var(--gold-grad); color: var(--emerald-3); font-size: 12px; font-weight: 600; padding: 6px 12px; letter-spacing: .1em; }

/* ---------- Cards / News ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 34px); }
.news-card { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s; height: 100%; }
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); border-color: var(--line-gold); }
.news-card__img { aspect-ratio: 16/10; overflow: hidden; background: var(--sage); position: relative; }
.news-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.news-card:hover .news-card__img img { transform: scale(1.06); }
.news-card__body { padding: 26px 26px 30px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.news-card__meta { display: flex; justify-content: space-between; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.news-card__meta b { color: var(--gold-3); font-weight: 600; }
.news-card h3 { font-size: 23px; line-height: 1.22; }
.news-card p { font-size: 15px; color: var(--muted); margin: 0; }
.news-card .link-arrow { margin-top: auto; align-self: flex-start; }
.news-card.is-hidden { display: none; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 44px; }
.chip { height: 44px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; font-weight: 500; color: var(--muted); transition: all .35s var(--ease); background: var(--white); }
.chip:hover { border-color: var(--gold); color: var(--emerald); }
.chip.is-active { background: var(--emerald); border-color: var(--emerald); color: var(--ivory); }
.chip small { opacity: .6; margin-left: 6px; }

/* ---------- CTA band ---------- */
.cta { position: relative; overflow: hidden; background: var(--emerald); color: var(--ivory); border-radius: 6px; padding: clamp(50px, 7vw, 100px) clamp(28px, 6vw, 90px); display: grid; grid-template-columns: 1.3fr auto; gap: 40px; align-items: center; }
.cta h2 { color: var(--ivory); }
.cta p { color: rgba(250,248,243,.78); margin: 16px 0 0; max-width: 52ch; }
.cta .mandala { width: 700px; right: -220px; top: 50%; translate: 0 -50%; opacity: .14; }
.cta__actions { position: relative; display: flex; gap: 14px; flex-wrap: wrap; }

/* ==========================================================================
   INNER PAGES
   ========================================================================== */
.phero { position: relative; overflow: hidden; padding: calc(var(--header-h) + clamp(60px, 9vw, 130px)) 0 clamp(60px, 8vw, 110px); background: radial-gradient(900px 500px at 90% 10%, var(--sage), transparent 70%), var(--ivory); border-bottom: 1px solid var(--line); }
.phero .mandala { width: 760px; right: -200px; top: -120px; opacity: .13; }
.phero__grid { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; gap: 60px; align-items: end; }
.phero h1 { font-size: clamp(48px, 7vw, 112px); font-weight: 700; letter-spacing: -.025em; line-height: .96; }
.phero .lede { margin: 0; }
.crumbs { display: flex; gap: 10px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 28px; }
.crumbs a:hover { color: var(--emerald); }
.crumbs span { color: var(--gold); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.split--top { align-items: start; }
.prose p { color: var(--muted); }
.prose p:first-child::first-letter { font-family: var(--serif); float: left; font-size: 84px; line-height: .78; padding: 8px 12px 0 0; color: var(--gold); font-weight: 600; }
.prose--plain p:first-child::first-letter { all: unset; }
.prose h2, .prose h3 { margin: 1.6em 0 .6em; }
.prose ul { margin: 0 0 1.2em; display: grid; gap: 8px; }
.prose li { position: relative; padding-left: 22px; color: var(--muted); }
.prose li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 1px; background: var(--gold); }

.img-frame { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--sage); aspect-ratio: 4/5; box-shadow: var(--shadow-2); }
.img-frame img { width: 100%; height: 100%; object-fit: cover; }
.img-frame--wide { aspect-ratio: 16/11; }

/* Companies */
.companies { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.company { padding: 36px 30px 40px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); transition: background .4s; }
.company:hover { background: var(--ivory); }
.company__mark { width: 46px; margin-bottom: 26px; }
.company h3 { font-size: 21px; margin-bottom: 10px; }
.company p { font-size: 14.5px; color: var(--muted); margin: 0; }
.company small { display: block; margin-top: 18px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-3); font-weight: 600; }

/* Vertical timeline */
.vtl { position: relative; max-width: 980px; margin-inline: auto; }
.vtl::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: var(--line-gold); }
.vtl__progress { position: absolute; left: 50%; top: 0; width: 1px; height: 100%; margin-left: -.5px; background: var(--gold); transform-origin: top; transform: scaleY(0); }
.vtl__item { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; padding-block: 34px; }
.vtl__item::after { content: ""; position: absolute; left: 50%; top: 52px; width: 15px; height: 15px; margin-left: -7.5px; border-radius: 50%; background: var(--ivory); border: 2px solid var(--gold); }
.vtl__year { font-family: var(--serif); font-size: clamp(48px, 5vw, 72px); font-weight: 700; color: var(--gold); line-height: 1; text-align: right; }
.vtl__body h3 { font-size: 26px; margin-bottom: 10px; }
.vtl__body p { color: var(--muted); margin: 0; }
.vtl__item:nth-child(odd of .vtl__item) .vtl__year { order: 2; text-align: left; }
.vtl__item:nth-child(odd of .vtl__item) .vtl__body { order: 1; text-align: right; }

/* Values */
.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.value { position: relative; background: var(--white); padding: clamp(40px, 5vw, 70px); overflow: hidden; transition: background .5s var(--ease); }
.value:hover { background: var(--ivory); }
.value__num { position: absolute; right: 30px; top: 10px; font-family: var(--serif); font-size: 150px; font-weight: 700; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--gold-soft); transition: -webkit-text-stroke-color .5s; }
.value:hover .value__num { -webkit-text-stroke-color: var(--gold); }
.value__icon { width: 64px; height: 64px; color: var(--gold); margin-bottom: 30px; }
.value h3 { font-size: clamp(26px, 2.4vw, 34px); margin-bottom: 14px; position: relative; }
.value p { color: var(--muted); max-width: 46ch; position: relative; }
.value ul { display: grid; gap: 8px; margin-top: 20px; position: relative; }
.value li { font-size: 14.5px; color: var(--ink); display: flex; gap: 12px; }
.value li::before { content: "—"; color: var(--gold); }

/* Business bands */
.band { position: relative; padding-block: clamp(80px, 10vw, 150px); overflow: hidden; }
.band:nth-of-type(even) { background: var(--white); }
.band:nth-of-type(odd) { background: var(--ivory); }
.band--sage { background: var(--sage) !important; }
.band__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.band--flip .band__media { order: 2; }
.band__media { position: relative; }
.band__media .img-frame { aspect-ratio: 5/6; }
.band__crest { position: absolute; left: -30px; bottom: -30px; width: 150px; height: 150px; background: var(--white); border-radius: 50%; box-shadow: var(--shadow-2); display: grid; place-items: center; z-index: 2; }
.band--flip .band__crest { left: auto; right: -30px; }
.band__crest > div { width: 70px; }
.band__index { font-family: var(--serif); font-size: 14px; color: var(--gold-3); letter-spacing: .2em; }
.band h2 { margin: 12px 0 8px; }
.band__since { font-family: var(--serif); font-style: italic; color: var(--gold-3); font-size: 20px; }
.kv { display: grid; grid-template-columns: repeat(3, 1fr); margin: 34px 0; border-top: 1px solid var(--line); }
.kv div { padding: 20px 16px 0 0; }
.kv b { display: block; font-family: var(--serif); font-size: 32px; color: var(--emerald); font-weight: 600; line-height: 1.1; }
.kv span { font-size: 13px; color: var(--muted); }

/* Founder page */
.fhero { position: relative; overflow: hidden; padding: calc(var(--header-h) + 50px) 0 0; background: linear-gradient(180deg, var(--ivory) 0%, var(--sage) 100%); }
.fhero__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 100px); align-items: end; }
.fhero__copy { padding-bottom: clamp(60px, 8vw, 120px); }
.fhero h1 { font-size: clamp(48px, 6.4vw, 100px); font-weight: 700; line-height: .95; letter-spacing: -.02em; }
.fhero__photo { position: relative; align-self: end; }
.fhero__photo .arch { aspect-ratio: 4/4.6; border-radius: 999px 999px 0 0; box-shadow: none; }
.fhero__photo .mandala { width: 130%; left: -15%; top: -12%; opacity: .2; }
.roles { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.letter { background: var(--white); border: 1px solid var(--line); padding: clamp(40px, 7vw, 100px); position: relative; box-shadow: var(--shadow-1); }
.letter::before { content: ""; position: absolute; inset: 14px; border: 1px solid var(--line-gold); pointer-events: none; }
.letter .quote { font-size: clamp(24px, 2.6vw, 38px); }
.letter__body { margin-top: 36px; font-size: 18.5px; color: var(--ink); line-height: 1.8; }

/* Film grid */
.films { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.4vw, 32px); }

/* Gallery */
.masonry { columns: 3 320px; column-gap: 22px; }
.tile { break-inside: avoid; margin-bottom: 22px; position: relative; display: block; width: 100%; overflow: hidden; border-radius: var(--radius); background: var(--sage); cursor: zoom-in; }
.tile img { width: 100%; height: auto; transition: transform 1s var(--ease), filter .6s; }
.tile:hover img { transform: scale(1.05); }
.tile__cap { position: absolute; inset: auto 0 0 0; padding: 50px 22px 18px; background: linear-gradient(transparent, rgba(10,44,27,.85)); color: var(--ivory); text-align: left; transform: translateY(12px); opacity: 0; transition: all .5s var(--ease); }
.tile:hover .tile__cap, .tile:focus-visible .tile__cap { transform: none; opacity: 1; }
.tile__cap b { display: block; font-family: var(--serif); font-size: 19px; font-weight: 500; }
.tile__cap span { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-2); }
.tile.is-hidden { display: none; }

.lightbox { position: fixed; inset: 0; z-index: 950; background: rgba(10,30,19,.94); display: grid; grid-template-columns: 80px 1fr 80px; align-items: center; padding: 40px 10px; backdrop-filter: blur(6px); }
.lightbox[hidden] { display: none; }
.lightbox__figure { margin: 0; display: grid; justify-items: center; gap: 16px; max-height: 100%; }
.lightbox__figure img { max-height: 80vh; max-width: 100%; object-fit: contain; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lightbox__figure figcaption { color: var(--ivory); font-family: var(--serif); font-size: 20px; text-align: center; }
.lightbox__figure figcaption small { display: block; font-family: var(--sans); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-2); margin-top: 4px; }
.lightbox__nav, .lightbox__close { width: 56px; height: 56px; border-radius: 50%; border: 1px solid rgba(250,248,243,.3); color: var(--ivory); font-size: 22px; transition: all .3s; justify-self: center; }
.lightbox__nav:hover, .lightbox__close:hover { background: var(--gold); border-color: var(--gold); color: var(--emerald-3); }
.lightbox__close { position: absolute; top: 20px; right: 20px; font-size: 30px; }

/* Contact */
.offices { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.office { background: var(--white); border: 1px solid var(--line); padding: 40px; position: relative; overflow: hidden; }
.office::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--gold-grad); }
.office h3 { font-size: 28px; margin-bottom: 6px; }
.office .tag { font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-3); font-weight: 600; }
.office dl { margin: 24px 0 0; display: grid; gap: 14px; }
.office dt { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.office dd { margin: 2px 0 0; font-size: 16px; }
.office dd a:hover { color: var(--gold-3); }
.placeholder { background: #FFF6DA; border: 1px dashed var(--gold); padding: 0 6px; font-size: 13px; color: #6B5214; border-radius: 3px; }

.form { background: var(--white); border: 1px solid var(--line); padding: clamp(30px, 5vw, 64px); box-shadow: var(--shadow-1); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 26px; }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--emerald); font-weight: 600; }
.field label i { color: var(--gold-3); font-style: normal; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; min-height: 52px; transition: border-color .3s, background .3s, box-shadow .3s; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: var(--white); box-shadow: 0 0 0 4px rgba(196,154,58,.14); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #B3261E; }
.field__err { font-size: 13px; color: #B3261E; min-height: 0; }
.division-pick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; border: 0; padding: 0; margin: 0; }
.division-pick legend { margin-bottom: 10px; }
.division-pick label { position: relative; cursor: pointer; }
.division-pick input { position: absolute; opacity: 0; }
.division-pick span { display: grid; place-items: center; text-align: center; min-height: 56px; padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--radius); font-size: 13.5px; text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--muted); transition: all .3s; background: var(--ivory); }
.division-pick input:checked + span { border-color: var(--emerald); background: var(--emerald); color: var(--ivory); }
.division-pick input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.form__foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 30px; flex-wrap: wrap; }
.form__note { font-size: 13px; color: var(--muted); margin: 0; max-width: 44ch; }
.form__status { margin-top: 20px; padding: 16px 20px; border-left: 2px solid var(--gold); background: var(--sage); color: var(--emerald); display: none; }
.form__status.is-on { display: block; }

/* Legal */
.legal { display: grid; grid-template-columns: 260px 1fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 30px); border-left: 1px solid var(--line); }
.toc a { display: block; padding: 8px 0 8px 20px; font-size: 14px; color: var(--muted); margin-left: -1px; border-left: 1px solid transparent; transition: all .3s; }
.toc a:hover, .toc a.is-active { color: var(--emerald); border-left-color: var(--gold); }
.legal .prose h2 { font-size: 26px; scroll-margin-top: calc(var(--header-h) + 30px); }
.legal .prose h2:first-child { margin-top: 0; }
.updated { font-size: 13px; color: var(--muted); }

/* ---------- Footer ---------- */
.footer { position: relative; background: var(--emerald-3); color: rgba(250,248,243,.75); overflow: hidden; padding-top: clamp(80px, 9vw, 130px); }
.footer .mandala { width: 1100px; left: 50%; top: -360px; translate: -50% 0; color: var(--gold); opacity: .07; }
.footer__top { position: relative; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 70px; border-bottom: 1px solid rgba(250,248,243,.1); }
.footer__brand .brand__name { color: var(--ivory); }
.footer__brand p { margin-top: 24px; max-width: 34ch; font-size: 15px; }
.footer h4 { font-family: var(--sans); font-size: 11.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-2); font-weight: 600; margin-bottom: 22px; }
.footer li { margin-bottom: 4px; }
.footer li a { font-size: 15px; display: inline-block; padding: 6px 0; transition: color .3s, transform .3s var(--ease); }
.footer li a:hover { color: var(--gold-2); transform: translateX(4px); }
.footer__word { position: relative; font-family: var(--serif); font-weight: 800; font-size: clamp(64px, 17vw, 300px); line-height: .78; letter-spacing: -.03em; color: transparent; -webkit-text-stroke: 1px rgba(217,184,103,.28); text-align: center; padding-top: 50px; user-select: none; white-space: nowrap; }
.footer__bottom { position: relative; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 26px 0 34px; font-size: 13px; border-top: 1px solid rgba(250,248,243,.1); }
.footer__bottom a:hover { color: var(--gold-2); }
.footer__bottom nav { display: flex; gap: 24px; }

/* ---------- Misc ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 990; width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1px solid var(--gold); border-radius: 50%; pointer-events: none; opacity: 0; transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s, opacity .3s; mix-blend-mode: multiply; }
.cursor.is-on { opacity: 1; }
.cursor.is-hover { width: 70px; height: 70px; margin: -35px 0 0 -35px; background: rgba(196,154,58,.16); }
.totop { position: fixed; right: 24px; bottom: 24px; z-index: 400; width: 50px; height: 50px; border-radius: 50%; background: var(--white); border: 1px solid var(--line-gold); color: var(--emerald); box-shadow: var(--shadow-1); opacity: 0; transform: translateY(20px); transition: all .45s var(--ease); pointer-events: none; }
.totop.is-on { opacity: 1; transform: none; pointer-events: auto; }
.totop:hover { background: var(--emerald); color: var(--ivory); }

.notfound { min-height: 80vh; display: grid; place-items: center; text-align: center; padding-top: var(--header-h); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .nav, .header__cta { display: none; }
  .burger { display: block; margin-left: auto; }
  .metrics__grid { grid-template-columns: repeat(3, 1fr); }
  .metric:first-child { grid-column: 1 / -1; padding-left: 0; border-bottom: 1px solid rgba(250,248,243,.12); }
  .metric:nth-child(2), .metric:nth-child(5) { border-left: 0; padding-left: 0; }
  .companies { grid-template-columns: repeat(2, 1fr); }
  .films, .posters { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  :root { --header-h: 72px; }
  .hero__grid, .spot, .zones, .split, .phero__grid, .band__grid, .fhero__grid, .legal, .cta { grid-template-columns: 1fr; }
  .hero__grid { padding-top: 30px; min-height: auto; }
  .stage { height: auto; min-height: 0; }
  .stage__arch { aspect-ratio: 4/4.4; }
  .band--flip .band__media { order: 0; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .values { grid-template-columns: 1fr; }
  .offices { grid-template-columns: 1fr; }
  .toc { position: static; display: flex; flex-wrap: wrap; border: 0; gap: 6px; }
  .toc a { border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; }
  .section-head { grid-template-columns: 1fr; }
  .nameplate { right: 0; }
  .fhero__copy { padding-bottom: 0; }
  .vtl::before, .vtl__progress { left: 8px; }
  .vtl__item { grid-template-columns: 1fr; gap: 8px; padding-left: 44px; }
  .vtl__item::after { left: 8px; top: 44px; }
  .vtl__item .vtl__year, .vtl__item .vtl__body { order: 0 !important; text-align: left !important; }
  .legacy__pin { min-height: 0; padding-block: var(--section); }
  .legacy__track { flex-direction: column; width: auto; padding-inline: var(--gutter); }
  .legacy__line { display: none; }
  .milestone { width: 100%; border-left: 1px solid var(--line-gold); padding-left: 28px; }
  .milestone__dot { position: absolute; left: -7px; top: 26px; margin: 0; }
  .scroll-cue { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .news-grid, .companies, .form__grid { grid-template-columns: 1fr; }
  .films, .posters { grid-template-columns: 1fr 1fr; gap: 14px; }
  .poster__meta h3 { font-size: 18px; }
  .division-pick { grid-template-columns: 1fr 1fr; }
  .metrics__grid { grid-template-columns: 1fr 1fr; }
  .metric { border-left: 0 !important; padding-left: 0 !important; border-bottom: 1px solid rgba(250,248,243,.12); }
  .kv { grid-template-columns: 1fr 1fr; }
  .zone-panel ul { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .stage__caption { padding: 24px; }
  .stage__tab span { font-size: 12.5px; }
  .lightbox { grid-template-columns: 1fr; padding: 70px 10px 90px; }
  .lightbox__nav { position: absolute; bottom: 20px; }
  .lightbox__nav--prev { left: calc(50% - 70px); }
  .lightbox__nav--next { right: calc(50% - 70px); }
  .band__crest { width: 110px; height: 110px; left: 10px; bottom: -24px; }
  .band--flip .band__crest { right: 10px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .stage__crest { display: none; }
  .section, main { overflow-x: clip; }
}

@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .stage__slide img { transform: none !important; }
  .ribbon__track { animation: none; }
}

/* ---------- Image fallbacks ---------- */
.fb { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 12px; background: linear-gradient(160deg, var(--sage), var(--ivory-2)); overflow: hidden; z-index: 0; color: var(--gold); }
.fb .mandala { width: 160%; left: -30%; top: 50%; translate: 0 -50%; opacity: .3; }
.fb__e { position: relative; width: clamp(44px, 22%, 96px); }
.fb__l { position: relative; font-family: var(--serif); color: var(--emerald); font-size: 18px; }
.fb + img { position: relative; z-index: 1; }
.stage__slide::after { z-index: 1; }
.tile.is-failed { aspect-ratio: 4 / 5; }
.curtain__mark { width: 64px; }
.preloader__mark { width: 88px; }
.poster__fallback + img { position: relative; z-index: 1; }
.menu { overflow-x: hidden; }
main, .section { overflow-x: clip; }

/* ---------- Official brand assets ---------- */
.emblem { width: 100%; height: auto; }
.emblem--light { filter: brightness(0) invert(1); }
.logo { display: block; height: auto; max-width: 100%; }
.brand__mark { width: 34px; }
.arch--cutout { background: radial-gradient(80% 60% at 50% 70%, #FFFFFF 0%, var(--sage) 60%, var(--sage-2) 100%); }
.arch--cutout .fb + img, .arch--cutout img { object-fit: contain; object-position: center bottom; }
.band__crest { width: 170px; height: 170px; padding: 26px; }
.band__crest .logo { width: 100%; }
.company__mark { width: 92px; height: 80px; display: flex; align-items: center; }
.company__mark .logo { max-height: 80px; width: auto; }
.logo369 { width: min(380px, 80%); margin-bottom: 34px; }
.brands { background: var(--white); border-block: 1px solid var(--line); padding: clamp(56px, 7vw, 96px) 0; }
.brands__row { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 30px; }
.brand-card { display: grid; justify-items: center; gap: 18px; padding: 34px 20px; border-left: 1px solid var(--line); transition: background .4s var(--ease), transform .5s var(--ease); }
.brand-card:first-child { border-left: 0; }
.brand-card:hover { background: var(--ivory); }
.brand-card .logo { height: 120px; width: auto; transition: transform .6s var(--ease); }
.brand-card:hover .logo { transform: scale(1.05); }
.brand-card__sector { font-size: 11.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.brand-card__since { font-family: var(--serif); font-style: italic; color: var(--gold-3); }
.footer__logo { display: block; width: 150px; }
@media (max-width: 640px) {
  .brands__row { grid-template-columns: 1fr; }
  .brand-card { border-left: 0; border-top: 1px solid var(--line); }
  .brand-card:first-child { border-top: 0; }
  .band__crest { width: 120px; height: 120px; padding: 18px; }
}

/* Brochure D watermark */
.d-mark { position: absolute; pointer-events: none; opacity: .22; z-index: 0; }
.spot-wrap { position: relative; }
.spot-wrap .d-mark { right: -2%; bottom: -60px; width: clamp(180px, 20vw, 300px); }
.fhero .d-mark { right: 2%; top: calc(var(--header-h) + 30px); width: clamp(120px, 12vw, 200px); opacity: .18; }
.spot, .fhero__grid { position: relative; z-index: 1; }
.news-card__source { display: flex; align-items: center; gap: 10px; padding-top: 14px; margin-top: 4px; border-top: 1px solid var(--line); font-size: 13.5px; font-weight: 500; color: var(--emerald); }
.news-card__source span { font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-3); border: 1px solid var(--line-gold); border-radius: 999px; padding: 3px 9px; font-weight: 600; }
.news-card .link-arrow { margin-top: 6px; }

/* Footer wordmark — official DWARAKA letterforms from the brand logo */
.footer__word {
  font-size: 0; padding: 0; margin: clamp(50px, 6vw, 90px) auto 0; width: 100%; aspect-ratio: 6.75 / 1;
  -webkit-text-stroke: 0; color: transparent;
  background: linear-gradient(180deg, rgba(217,184,103,.30), rgba(196,154,58,.10));
  -webkit-mask: url("../img/wordmark-dwaraka.png") center / contain no-repeat;
          mask: url("../img/wordmark-dwaraka.png") center / contain no-repeat;
}

/* Footer pillars line under the wordmark */
.footer__pillars {
  display: flex; align-items: center; justify-content: center; gap: clamp(16px, 3vw, 44px);
  margin: clamp(22px, 2.6vw, 36px) 0 clamp(36px, 4vw, 56px);
  font-family: var(--serif); font-size: clamp(16px, 1.7vw, 24px); letter-spacing: .42em; text-transform: uppercase;
}
.footer__pillars::before, .footer__pillars::after { content: ""; flex: 1; max-width: 220px; height: 1px; }
.footer__pillars::before { background: linear-gradient(90deg, transparent, rgba(217,184,103,.55)); }
.footer__pillars::after { background: linear-gradient(270deg, transparent, rgba(217,184,103,.55)); }
.footer__pillars a { color: var(--gold-2); padding: 8px 0 8px .42em; transition: color .3s; }
.footer__pillars a:hover { color: var(--ivory); }
.footer__pillars i { width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); flex-shrink: 0; }
@media (max-width: 640px) { .footer__pillars { letter-spacing: .24em; } .footer__pillars::before, .footer__pillars::after { display: none; } }

/* Hero headline hierarchy: DWARAKA leads, THE / BRAND support */
.hero__title { font-size: clamp(64px, 10.4vw, 184px); }
.hero__title .hero__line--sm { font-size: .7em; letter-spacing: .01em; }
.hero__title .hero__line--lg { font-size: 1em; letter-spacing: -.03em; line-height: .86; }

/* Keep DWARAKA inside its column at every width (it sat under the arch on 1920px+ screens) */
.hero__copy { container-type: inline-size; }
.hero__title { font-size: min(clamp(64px, 10.4vw, 184px), 19.6cqi); }

/* Form: honeypot + error state */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status.is-error { border-left-color: #B3261E; background: #FCEEEE; color: #7A1A14; }

/* Side menu fixes: page locked behind, items aligned, clear current page */
html.is-locked, html.is-locked body { overflow: hidden; }
.menu { overscroll-behavior: contain; }
.menu__list a, .menu__list a:hover, .menu__list a.is-active { transform: none; }
.menu__list a { min-height: 48px; align-items: center; }
.menu__list a:hover { color: var(--gold-3); }
.menu__list a.is-active { color: var(--gold-3); }
.menu__list a.is-active::after { content: ""; width: 8px; height: 8px; margin-left: 6px; transform: rotate(45deg); background: var(--gold); align-self: center; }
.menu__list a:focus-visible { outline-offset: 4px; }
@media (max-width: 1180px) { .header.is-hidden { transform: none; } }

/* Server-rendered summary shown before JavaScript runs */
.ssr { padding: calc(var(--header-h) + 60px) 0 80px; }
.ssr h1 { font-size: clamp(36px, 5vw, 64px); margin-bottom: 16px; }
.ssr p { color: var(--muted); max-width: 60ch; }
.ssr ul { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 24px; }
.ssr a { color: var(--emerald); text-decoration: underline; text-decoration-color: var(--gold); }

/* Contact icons */
.ico { width: 18px; height: 18px; flex-shrink: 0; color: var(--gold-3); }
.ico-row { display: grid; grid-template-columns: 38px 1fr; gap: 14px; align-items: start; }
.ico-row > .ico { width: 38px; height: 38px; padding: 9px; border-radius: 50%; border: 1px solid var(--line-gold); background: var(--ivory); color: var(--gold-3); }
.ico-inline { display: flex; gap: 12px; align-items: flex-start; }
.ico-inline > .ico { margin-top: 3px; }
.ico-link { display: inline-flex !important; align-items: center; gap: 10px; }
.footer .ico { width: 16px; height: 16px; color: var(--gold-2); opacity: .9; }
.btn .ico { width: 16px; height: 16px; color: currentColor; }
.fb-cta__mail .ico { width: 14px; height: 14px; }

/* Footer lockup: DWARAKA logo + GROUP + pillars */
.footer__lockup { display: inline-flex; flex-direction: column; align-items: center; width: 168px; }
.footer__lockup .logo { width: 100%; }
.footer__group { display: flex; align-items: center; gap: 10px; width: 100%; margin-top: 10px; font-family: var(--serif); font-size: 13px; font-weight: 500; letter-spacing: .62em; padding-left: .62em; text-transform: uppercase; color: var(--gold-2); justify-content: center; }
.footer__group::before, .footer__group::after { content: ""; flex: 1; height: 1px; background: rgba(217,184,103,.45); }
.footer__pillars-sm { display: flex; align-items: center; gap: 12px; margin: 22px 0 0 !important; font-family: var(--sans); font-size: 11.5px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--ivory); }
.footer__pillars-sm i { width: 5px; height: 5px; background: var(--gold); transform: rotate(45deg); flex-shrink: 0; }
.footer__brand .footer__pillars-sm + p { margin-top: 14px; }

/* ==========================================================================
   Polish pass — small details that add up to grandeur
   ========================================================================== */
/* Printed-paper grain over ivory surfaces */
body::after { content: ""; position: fixed; inset: 0; z-index: 1000; pointer-events: none; opacity: .045; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
/* Reading-progress hairline */
.progress { position: fixed; left: 0; top: 0; height: 2px; width: 100%; z-index: 600; background: var(--gold-grad); transform-origin: left; transform: scaleX(0); pointer-events: none; }
/* Gold hairline under the condensed header and over the footer */
.header.is-scrolled { box-shadow: 0 1px 0 rgba(196,154,58,.35), 0 10px 30px -20px rgba(15,61,38,.25); }
.footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--gold-grad); opacity: .8; }
/* Typography finesse */
h1, h2, h3, .quote, .lede { text-wrap: balance; }
p, li { text-wrap: pretty; }
.metric__num, .d-fact b, .kv b, .d-unit__meta strong, .fact b, .milestone__year, .vtl__year { font-variant-numeric: lining-nums tabular-nums; }
body { font-feature-settings: "kern", "liga", "calt"; }
/* Images ease in instead of popping */
img.is-loading { opacity: 0; }
img.is-loaded { opacity: 1; transition: opacity .9s var(--ease); }
/* Tactile press feedback */
.btn:active, .chip:active, .fb-btn:active { transform: scale(.97); }
.section-head .eyebrow::before { width: 40px; }
@media (prefers-reduced-motion: reduce) { .progress { display: none; } }

/* Agency credit */
.footer__bottom { align-items: center; }
.credit { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .06em; color: rgba(250,248,243,.6); transition: color .3s; }
.credit__badge { display: inline-flex; align-items: center; background: #fff; border-radius: 999px; padding: 5px 12px; box-shadow: 0 0 0 1px rgba(217,184,103,.4); transition: box-shadow .3s, transform .3s var(--ease); }
.credit__badge img { height: 22px; width: auto; display: block; }
.credit:hover { color: var(--ivory); }
.credit:hover .credit__badge { box-shadow: 0 0 0 2px var(--gold); transform: translateY(-1px); }
@media (max-width: 640px) { .footer__bottom { flex-direction: column; align-items: flex-start; gap: 16px; } }
