/* K21 Series: brand tokens from brand-guide.md */
:root {
  --emerald-deep: #064E3B;
  --emerald: #047857;
  --emerald-bright: #059669;
  --saffron: #D97B0A;
  --saffron-light: #F7B955;
  --white: #FFFFFF;
  --tint: #F6F7F1;
  --cream: #FBF3E3;
  --text: #1C2422;
  --muted: #5B6662;
  --on-saffron: #1C1408;
  --brass-a: #EAD9A6;
  --brass-b: #B8914A;
  --line: rgba(28, 36, 34, .12);

  /* five voices: Cinzel for titles, Cormorant italic for accent words, Inter for reading,
     IBM Plex Mono for exam-sheet labels, Pinyon Script (formal copperplate) for signatures */
  --f-display: "Cinzel", Georgia, serif;
  --f-accent: "Cormorant Garamond", Georgia, serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --f-script: "Pinyon Script", "Edwardian Script ITC", cursive;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1240px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-roll: cubic-bezier(.625, .05, 0, 1);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
/* clip, not hidden: it stops sideways panning on phones without making a scroll container,
   so sticky sections keep working */
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--white); color: var(--text);
  font-family: var(--f-body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.12; }
p { margin: 0 0 1em; }
address { font-style: normal; }
em { font-family: var(--f-accent); font-style: italic; font-weight: 600; letter-spacing: 0; text-transform: none; }

/* ---------- buttons: pixel-dissolve fill + rolling label ---------- */
.btn {
  --fill: var(--emerald-deep); --fill-text: var(--white);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 50px; padding: 0 24px; border-radius: 999px;
  font: 600 15px/1 var(--f-body); letter-spacing: .01em; text-decoration: none; white-space: nowrap;
  transition: color .4s .25s, border-color .3s, transform .4s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn__fill {
  position: absolute; inset: -1px; z-index: -1; background: var(--fill); pointer-events: none;
  -webkit-mask: url("../img/pixel-mask.svg") 0 0 / 2000% 100% no-repeat;
          mask: url("../img/pixel-mask.svg") 0 0 / 2000% 100% no-repeat;
  transition: -webkit-mask-position .9s steps(19), mask-position .9s steps(19);
}
.btn__label { position: relative; display: grid; overflow: hidden; line-height: 1.25; }
.btn__label > span { grid-area: 1 / 1; transition: transform .8s var(--ease-roll); }
.btn__label > span + span { transform: translateY(115%); }
.btn__ic { transition: background .5s; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(28, 20, 8, .12); overflow: hidden; font-style: normal; font-size: 14px; }
.btn__ic b { grid-area: 1 / 1; font-weight: 500; transition: transform .8s var(--ease-roll); }
.btn__ic b + b { transform: translateX(-160%); }
.btn:hover, .btn:focus-visible { color: var(--fill-text); }
.btn:hover .btn__fill, .btn:focus-visible .btn__fill { -webkit-mask-position: 100% 0; mask-position: 100% 0; }
.btn:hover .btn__label > span:first-child, .btn:focus-visible .btn__label > span:first-child { transform: translateY(-115%); }
.btn:hover .btn__label > span + span, .btn:focus-visible .btn__label > span + span { transform: none; }
.btn:hover .btn__ic b:first-child { transform: translateX(160%); }
.btn:hover .btn__ic b + b { transform: none; }
.btn:hover .btn__ic { background: rgba(255, 255, 255, .16); }
.btn:active { transform: scale(.97); }
.btn--saffron { background: var(--saffron); color: var(--on-saffron); box-shadow: 0 8px 22px -10px rgba(217, 123, 10, .8); padding-right: 12px; }
.btn--ghost { border: 1.5px solid var(--emerald-deep); color: var(--emerald-deep); }
.btn--ghost:hover { border-color: var(--emerald-deep); }
.btn--sm { min-height: 44px; padding: 0 8px 0 18px; font-size: 14px; }
.btn--lg { min-height: 60px; padding: 0 14px 0 34px; font-size: 17px; }
.btn--lg .btn__ic { width: 34px; height: 34px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--saffron-light); outline-offset: 3px; }

/* ---------- shared type ---------- */
.kicker {
  display: flex; align-items: center; gap: 10px; margin-bottom: 18px;
  font: 500 12.5px/1.2 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--emerald);
}
.kicker::before { content: ""; flex: none; width: 28px; height: 1.5px; background: var(--saffron); }
.kicker--light { color: var(--brass-a); }
.eyebrow { font: 500 12.5px/1.4 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--emerald); margin-bottom: 22px; }
.h2 { font-family: var(--f-display); font-size: clamp(30px, 5.2vw, 60px); color: var(--text); max-width: 18ch; }
.h2 em { color: var(--emerald); font-size: 1.12em; }
.h2--light { color: var(--white); }
.h2--light em { color: var(--saffron-light); }
.lead { font-size: clamp(20px, 2.4vw, 26px); line-height: 1.4; color: var(--text); }
.link { color: var(--emerald); font-weight: 600; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat; padding-bottom: 3px; transition: background-size .5s var(--ease); }
.link:hover { background-size: 0 1.5px; background-position: 100% 100%; }

/* ---------- header: floating pill ---------- */
.header {
  position: sticky; top: 10px; z-index: 50; height: var(--header-h); margin-bottom: calc(-1 * var(--header-h));
  padding: 10px var(--gutter) 0; pointer-events: none; transition: transform .5s var(--ease);
}
.header.is-hidden { transform: translateY(-140%); }
.header__pill {
  pointer-events: auto; max-width: 1320px; margin: 0 auto; height: 64px;
  display: flex; align-items: center; gap: 18px; padding: 0 8px 0 10px; border-radius: 999px;
  background: rgba(255, 255, 255, .72); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid rgba(6, 78, 59, .1); box-shadow: 0 10px 30px -18px rgba(6, 78, 59, .45);
  transition: background .3s, box-shadow .3s;
}
.header.is-scrolled .header__pill { background: rgba(255, 255, 255, .9); box-shadow: 0 14px 34px -16px rgba(6, 78, 59, .45); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand__crest { width: 46px; height: 46px; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font: 700 16px/1 var(--f-display); letter-spacing: .12em; color: var(--emerald-deep); text-transform: uppercase; }
.brand__sub { margin-top: 5px; font: 500 9px/1 var(--f-mono); letter-spacing: .22em; color: var(--saffron); text-transform: uppercase; }
.nav { display: flex; gap: 2px; }
.nav a {
  position: relative; text-decoration: none; padding: 10px 14px;
  font: 500 12.5px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text);
}
.nav__roll { display: grid; overflow: hidden; line-height: 1.25; }
.nav__roll > span { grid-area: 1 / 1; transition: transform .7s var(--ease-roll); }
.nav__roll > span + span { transform: translateY(110%); color: var(--emerald); }
.nav a:hover .nav__roll > span:first-child { transform: translateY(-110%); }
.nav a:hover .nav__roll > span + span { transform: none; }
.nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1.5px; background: var(--saffron); transform: scaleX(0); transform-origin: right; transition: transform .7s var(--ease-roll); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav a:focus-visible { outline: 2px solid var(--saffron-light); outline-offset: 0; border-radius: 6px; }
.menu-btn { display: none; width: 46px; height: 46px; border: 0; background: var(--emerald-deep); border-radius: 50%; position: relative; cursor: pointer; flex: none; }
.menu-btn span { position: absolute; left: 14px; right: 14px; height: 1.8px; background: var(--white); transition: transform .45s var(--ease); }
.menu-btn span:first-child { top: 19px; }
.menu-btn span:last-child { top: 26px; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: 0; z-index: 45; background: var(--tint);
  padding: calc(var(--header-h) + 34px) var(--gutter) 28px; display: flex; flex-direction: column; justify-content: space-between;
  overflow-y: auto;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu ol { list-style: none; margin: 0; padding: 0; counter-reset: m; }
.mobile-menu li { overflow: hidden; border-bottom: 1px solid var(--line); counter-increment: m; }
.mobile-menu li a { display: flex; align-items: baseline; gap: 14px; padding: 12px 0; text-decoration: none; font: 600 clamp(26px, 8vw, 36px)/1.1 var(--f-display); color: var(--emerald-deep); animation: rise .7s var(--ease) both; }
.mobile-menu li a::before { content: "0" counter(m); font: 500 12px/1 var(--f-mono); color: var(--saffron); }
.mobile-menu li:nth-child(2) a { animation-delay: .05s; } .mobile-menu li:nth-child(3) a { animation-delay: .1s; }
.mobile-menu li:nth-child(4) a { animation-delay: .15s; } .mobile-menu li:nth-child(5) a { animation-delay: .2s; } .mobile-menu li:nth-child(6) a { animation-delay: .25s; }
.mobile-menu__foot { display: grid; gap: 16px; margin-top: 30px; }
.mobile-menu__foot p { display: grid; gap: 6px; margin: 0; font: 500 12px/1.4 var(--f-mono); letter-spacing: .04em; }
.mobile-menu__foot p a { text-decoration: none; color: var(--emerald); }
@keyframes rise { from { transform: translateY(105%); } }

/* phone: floating "Book Your Seat" pill */
.book-fab {
  position: fixed; left: 50%; bottom: max(14px, env(safe-area-inset-bottom)); z-index: 40; translate: -50% 0;
  display: none; transition: transform .5s var(--ease), opacity .4s; transform: translateY(160%); opacity: 0;
}
.book-fab.is-on { transform: none; opacity: 1; }
.book-fab .btn { box-shadow: 0 14px 30px -10px rgba(6, 78, 59, .5); }

/* ---------- 1. hero ---------- */
.hero { position: relative; background: var(--tint); }
.hero.is-anim { height: 240svh; }
.hero:not(.is-anim) .hero__count, .hero:not(.is-anim) .hero__cue { display: none; }
.hero__stage {
  position: sticky; top: 0; height: 100svh; overflow: hidden;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 4vw, 64px); align-items: center;
  padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
}
.hero__crest { position: absolute; width: min(56vw, 680px); left: -12%; top: 50%; translate: 0 -50%; opacity: .07; pointer-events: none; display: grid; }
.hero__crest img { grid-area: 1 / 1; width: 100%; }
.hero__field { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.h-tile {
  position: absolute; left: 0; top: 0; will-change: transform, opacity; border-radius: 4px; box-shadow: 0 10px 22px -14px rgba(0, 0, 0, .5);
  pointer-events: auto; cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; -webkit-user-drag: none;
}
.h-tile.is-drag { cursor: grabbing; z-index: 5; box-shadow: 0 24px 34px -16px rgba(6, 40, 30, .55); }
.hero.is-gathering .h-tile { pointer-events: none; }
img.h-tile { object-fit: cover; }
.h-tile--flag { border-radius: 3px; box-shadow: 0 6px 14px -8px rgba(0, 0, 0, .45); }
.h-tile--sq { box-shadow: none; }
.hero__text { position: relative; z-index: 3; max-width: 660px; }
.hero__title { font-family: var(--f-display); font-size: clamp(38px, 4.4vw, 68px); line-height: 1.06; margin-bottom: 26px; }
@media (min-width: 761px) {
  .hero__stage { grid-template-columns: 1.25fr .75fr; }
  .hero__text { max-width: 820px; }
  .hero__title .line > span { white-space: nowrap; }
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero__title .line > span {
  display: inline-block; color: transparent;
  background: linear-gradient(90deg, #064E3B 0%, #059669 25%, #D97B0A 50%, #059669 75%, #064E3B 100%) 0 50% / 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  animation: sheen 30s linear infinite;
}
.hero__title .line:nth-child(2) > span { animation-delay: -1.5s; }
.hero__title .line:nth-child(3) > span { animation-delay: -3s; }
.hero__title em { font-size: 1.14em; color: transparent; }
@keyframes sheen { to { background-position: -200% 50%; } }
.hero__sub { font-size: clamp(16px, 1.35vw, 19px); color: var(--muted); max-width: 52ch; margin-bottom: 30px; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__hint { position: absolute; z-index: 3; right: var(--gutter); bottom: 22px; margin: 0; opacity: 0; transition: opacity .6s; pointer-events: none; font: 500 11px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--saffron); }
.hero__hint::before { content: "\2197"; margin-right: 8px; }
.hero__media { position: relative; z-index: 2; height: min(74svh, 660px); pointer-events: none; }
.hero__arch { position: absolute; inset: 0 8% 0 14%; border-radius: 999px 999px 24px 24px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(6, 78, 59, .45); background: var(--emerald-deep); }
.hero.is-anim .hero__arch { clip-path: circle(0% at 50% 50%); }
.hero__arch img { width: 100%; height: 100%; object-fit: cover; object-position: 60% center; }
.hero__count { position: absolute; left: 50%; top: 50%; translate: -42% -50%; z-index: 2; text-align: center; pointer-events: none; display: flex; flex-direction: column; align-items: center; }
.hero__count b { font: 700 clamp(84px, 11vw, 168px)/1 var(--f-display); color: var(--emerald-deep); font-variant-numeric: tabular-nums; }
.hero__count-label { position: relative; display: block; height: 1.4em; overflow: hidden; font: 500 13px/1.4 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--saffron); min-width: 22ch; }
.hero__count-label span { position: absolute; inset: 0; transition: transform .6s var(--ease), opacity .6s; }
.hero__count-label span + span { transform: translateY(100%); opacity: 0; color: var(--emerald); }
.hero__count.is-one .hero__count-label span:first-child { transform: translateY(-100%); opacity: 0; }
.hero__count.is-one .hero__count-label span + span { transform: none; opacity: 1; }
.hero__cue { position: absolute; z-index: 3; left: 50%; bottom: 18px; translate: -50% 0; margin: 0; display: flex; align-items: center; gap: 10px; white-space: nowrap; font: 500 11.5px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.hero__cue i { width: 18px; height: 28px; border: 1.5px solid currentColor; border-radius: 10px; position: relative; }
.hero__cue i::after { content: ""; position: absolute; left: 50%; top: 5px; width: 3px; height: 6px; margin-left: -1.5px; border-radius: 2px; background: var(--saffron); animation: cue 1.6s ease-in-out infinite; }
@keyframes cue { 60% { transform: translateY(9px); opacity: 0; } }
.chip { position: absolute; display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; background: var(--white); border-radius: 999px; font: 600 13px/1 var(--f-body); color: var(--text); box-shadow: 0 14px 30px -14px rgba(6, 78, 59, .35); white-space: nowrap; }
.chip b { font-family: var(--f-display); color: var(--emerald); font-size: 16px; }
.chip--a { top: 9%; right: 0; background: var(--saffron); color: var(--on-saffron); }
.chip--b { top: 42%; right: -2%; }
.chip--c { bottom: 3%; right: 14%; }

/* ---------- 2. stacked tilted cards ---------- */
.stack { position: relative; padding-bottom: 12svh; }
.stack__bg { position: absolute; inset: 0; }
.stack__bg-in { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.stack__bg img { width: 100%; height: 100%; object-fit: cover; }
.stack__bg-in::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 78, 59, .84), rgba(6, 40, 30, .74)); }
.stack__intro { position: relative; padding: 20svh var(--gutter) 12svh; max-width: var(--max); margin: 0 auto; }
.stack__lead { color: rgba(255, 255, 255, .86); max-width: 56ch; margin-top: 22px; font-size: clamp(16px, 1.4vw, 19px); }
.stack__cards { position: relative; padding: 0 var(--gutter); }
/* every card keeps the same bottom margin (Chrome counts it in the sticky range), so the deck
   lets go together; this spacer gives the last card a moment longer on top */
.stack__cards::after { content: ""; display: block; height: 8svh; }
.card {
  --dim: 0;
  position: sticky; top: calc(var(--header-h) + 4svh);
  width: min(620px, 100%); height: min(62svh, 480px); margin: 0 auto 26svh;
  padding: clamp(26px, 4vw, 48px); border-radius: 22px; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55); transform-origin: 50% 80%;
}
.card::after { content: ""; position: absolute; inset: 0; background: #06281E; opacity: var(--dim); pointer-events: none; }
.card h3 { font: 600 clamp(26px, 3.4vw, 40px)/1.1 var(--f-display); margin-bottom: 16px; position: relative; }
.card p { position: relative; max-width: 46ch; }
.card .link { position: relative; align-self: flex-start; }
.card__num { position: absolute !important; top: clamp(22px, 3vw, 34px); left: clamp(26px, 4vw, 48px); font: 500 12px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; opacity: .75; }
.card__mark { position: absolute; right: -40px; top: -30px; width: 240px; opacity: .08; pointer-events: none; }
.card--white { background: var(--white); }
.card--saffron { background: var(--saffron-light); color: var(--on-saffron); }
.card--saffron .link { color: var(--on-saffron); }
.card--tint { background: #F1E9D8; }
.card--emerald { background: var(--emerald-deep); color: var(--white); }
.card--emerald .card__mark { opacity: .12; }

/* ---------- 3. era ---------- */
.era { position: relative; z-index: 1; background: var(--white); padding: clamp(90px, 12vw, 160px) var(--gutter); }
.era__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); max-width: var(--max); margin: 0 auto; align-items: start; }
.era__head { position: sticky; top: calc(var(--header-h) + 40px); }
.era__head .h2 { max-width: 12ch; }
.era__text { font-size: clamp(20px, 2.1vw, 28px); line-height: 1.5; font-weight: 500; letter-spacing: -.005em; margin-bottom: clamp(30px, 4vw, 48px); }
.era__text .w { color: rgba(28, 36, 34, .2); transition: color .25s; }
.era__text .w.on { color: var(--text); }
.era__text .w.hl.on { color: var(--emerald); }
.era__pillars { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.era__pillars li { border-top: 1.5px solid var(--emerald-deep); padding-top: 14px; }
.era__pillars span { display: block; font: 500 11.5px/1 var(--f-mono); letter-spacing: .14em; color: var(--saffron); margin-bottom: 10px; }
.era__pillars b { font: 600 clamp(16px, 1.5vw, 20px)/1.25 var(--f-display); color: var(--emerald-deep); }

/* ---------- 4. facts (word swaps exactly at the seam) ---------- */
.fact { position: relative; height: 100svh; clip-path: inset(0); overflow: hidden; background: var(--emerald-deep); }
.fact img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fact::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 30, 24, .15), rgba(6, 30, 24, .45)); }
.fact__word { position: fixed; inset: 0; z-index: 1; pointer-events: none; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 16px; color: var(--white); }
.fact__word span { font: 700 clamp(36px, 6.4vw, 100px)/1 var(--f-display); max-width: 14ch; letter-spacing: -.01em; text-shadow: 0 6px 40px rgba(0, 0, 0, .25); }
.fact__word small { margin-top: 18px; font-size: clamp(14px, 1.4vw, 18px); font-weight: 500; max-width: 34ch; opacity: .92; }

/* ---------- 5. open to anyone ---------- */
.open { position: relative; z-index: 1; background: var(--white); padding: clamp(90px, 12vw, 160px) max(var(--gutter), calc((100% - var(--max)) / 2)); overflow: hidden; }
.open__title { font-family: var(--f-display); font-size: clamp(40px, 8.4vw, 120px); line-height: 1; margin-bottom: clamp(40px, 6vw, 80px); }
.open__title span { display: block; white-space: nowrap; }
.open__a { color: var(--emerald-deep); }
.open__b { color: var(--text); text-align: right; }
.open__b em { color: var(--saffron); font-size: 1.15em; }
.open__body { display: grid; grid-template-columns: .8fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.open__photo { border-radius: 200px 200px 20px 20px; overflow: hidden; aspect-ratio: 4/5; max-height: 560px; }
.open__photo img { width: 100%; height: 115%; object-fit: cover; }
.open__body p:not(.lead) { color: var(--muted); max-width: 54ch; }
.open__body .btn { margin-top: 10px; }

/* ---------- 6. who: deck of cards ---------- */
.who { background: var(--tint); padding: clamp(80px, 10vw, 140px) 0; overflow: hidden; }
.who__head { position: relative; padding: 0 var(--gutter); max-width: var(--max); margin: 0 auto 50px; }
.who__rail { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); perspective: 1200px; }
.who__card {
  position: relative; background: var(--white); border-radius: 22px; overflow: hidden;
  box-shadow: 0 24px 50px -34px rgba(6, 78, 59, .55); transform-style: preserve-3d; will-change: transform;
  transition: box-shadow .4s;
}
.who__card:hover { box-shadow: 0 34px 60px -30px rgba(6, 78, 59, .6); }
.who__img { overflow: hidden; aspect-ratio: 4/3.3; }
.who__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.who__card:hover .who__img img { transform: scale(1.08); }
.who__body { padding: 22px 24px 26px; position: relative; }
.who__body span { font: 500 12px/1 var(--f-mono); color: var(--saffron); letter-spacing: .1em; }
.who__body h3 { font: 600 22px/1.2 var(--f-display); margin: 8px 0 10px; }
.who__body p { font-size: 15px; color: var(--muted); margin: 0; }
.who__body::after { content: ""; position: absolute; left: 24px; right: 24px; bottom: 0; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--emerald), var(--saffron)); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.who__card:hover .who__body::after, .who__card.is-active .who__body::after { transform: scaleX(1); }
.who__card .shine { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .35), transparent 45%); opacity: 0; transition: opacity .4s; }
.who__card:hover .shine { opacity: 1; }
.who__dots { display: none; }

/* ---------- 7. Sir M. Visvesvaraya ---------- */
.mv { background: var(--cream); padding: clamp(90px, 11vw, 150px) var(--gutter); overflow: hidden; }
.mv__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 110px); align-items: center; max-width: var(--max); margin: 0 auto; }
.mv__fig { margin: 0; justify-self: center; width: min(400px, 100%); position: relative; }
.mv__frame { position: relative; display: block; isolation: isolate; }
.mv__frame::before { content: ""; position: absolute; inset: 16px -16px -16px 16px; border: 1.5px solid var(--saffron); border-radius: 4px; z-index: -1; transition: inset .8s var(--ease); }
.mv__frame::after { content: ""; position: absolute; inset: -16px 16px 16px -16px; border: 1.5px solid rgba(6, 78, 59, .35); border-radius: 4px; z-index: -1; }
.mv__frame img { width: 100%; height: auto; border-radius: 4px; filter: saturate(.92); box-shadow: 0 30px 60px -34px rgba(0, 0, 0, .5); }
.mv__fig:hover .mv__frame::before { inset: 8px -8px -8px 8px; }
.mv__fig figcaption { margin-top: 34px; text-align: center; font: 500 12px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.mv__quote { margin-top: 26px; padding-left: 22px; border-left: 2px solid var(--saffron); font: italic 600 clamp(20px, 2vw, 26px)/1.45 var(--f-accent); color: var(--text); }
.mv__text > p:not(.mv__quote):not(.kicker):not(.mv__sign) { color: var(--muted); }
.mv__sign { margin: 6px 0 0; font: 400 clamp(30px, 3vw, 40px)/1.2 var(--f-script); color: var(--emerald-deep); }
.mv__facts { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 30px 0 0; padding: 0; }
.mv__facts li { border-top: 1.5px solid var(--emerald-deep); padding-top: 12px; }
.mv__facts b { display: block; font: 600 clamp(17px, 1.6vw, 21px)/1.2 var(--f-display); color: var(--emerald-deep); }
.mv__facts span { font: 500 11.5px/1.4 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

/* ---------- 8. compare: rows with a graduation-tassel rope ---------- */
.compare { position: relative; padding: clamp(80px, 10vw, 140px) var(--gutter); max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; }
.compare__head { position: relative; margin-bottom: 44px; }
.compare__table { border-top: 1px solid var(--line); }
.crow { position: relative; isolation: isolate; display: grid; grid-template-columns: 1fr 1.2fr 1.4fr; gap: 20px; padding: 22px 24px 22px 78px; border-bottom: 1px solid var(--line); align-items: center; cursor: default; }
.crow:not(.crow--head)::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #FDEFD3, #FFF8EA 70%); transform: scaleY(0); transform-origin: top; transition: transform .55s var(--ease-roll); }
.crow.is-on::before { transform: scaleY(1); }
.crow > * { transition: transform .5s var(--ease); }
.crow.is-on > b { transform: translateX(8px); }
.crow b { font-weight: 600; font-size: 17px; }
.crow span:nth-child(2) { color: var(--muted); }
.crow span:nth-child(3) { color: var(--emerald-deep); font-weight: 600; display: flex; gap: 10px; align-items: flex-start; }
.crow:not(.crow--head) span:nth-child(3)::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--emerald) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat; transition: transform .5s var(--ease); }
.crow.is-on span:nth-child(3)::before { transform: scale(1.25) rotate(-10deg); }
.crow--head { position: sticky; top: var(--header-h); z-index: 2; background: var(--white); font: 500 12px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.crow--head span:nth-child(3) { color: var(--saffron); }
/* the rope: one braided graduation cord that hangs from the first row down to the active row */
.compare__table { position: relative; }
.rope { position: absolute; left: 26px; top: 0; width: 22px; height: 0; z-index: 1; pointer-events: none; opacity: 0; transition: height .7s var(--ease-roll), opacity .3s .2s; }
.rope.is-on { opacity: 1; transition: height .7s var(--ease-roll), opacity .2s; }
.rope__cord {
  position: absolute; left: 5px; top: 0; bottom: 32px; width: 12px; border-radius: 0 0 5px 5px;
  background: repeating-linear-gradient(-58deg, var(--emerald-deep) 0 7px, var(--saffron-light) 7px 10px, var(--emerald) 10px 17px, var(--brass-a) 17px 19px);
  box-shadow: inset -3px 0 0 rgba(0, 0, 0, .18), 0 4px 10px -4px rgba(6, 40, 30, .4);
}
.rope__cord::before { content: ""; position: absolute; left: -4px; top: -5px; width: 20px; height: 10px; border-radius: 5px; background: var(--brass-b); }
.rope__tassel { position: absolute; left: 0; bottom: 0; width: 22px; height: 36px; transform-origin: 50% 0; }
.rope__tassel::before {
  content: ""; position: absolute; inset: 0;
  clip-path: polygon(30% 0, 70% 0, 100% 100%, 0 100%);
  background: repeating-linear-gradient(90deg, var(--saffron) 0 2px, var(--saffron-light) 2px 4px);
  border-top: 6px solid var(--brass-b);
}
.rope__tassel.swing { animation: swing 1.8s .35s var(--ease) both; }
@keyframes swing { 0% { rotate: 0deg; } 18% { rotate: 14deg; } 38% { rotate: -9deg; } 58% { rotate: 5deg; } 78% { rotate: -2deg; } 100% { rotate: 0deg; } }
.compare__tag {
  position: absolute; left: 0; top: 0; z-index: 5; pointer-events: none;
  display: flex; align-items: center; gap: 10px; padding: 11px 20px 11px 11px; border-radius: 999px;
  background: var(--emerald-deep); color: var(--white); font: 600 16px/1 var(--f-body); letter-spacing: .005em;
  box-shadow: 0 14px 30px -14px rgba(6, 78, 59, .7); opacity: 0; transition: opacity .25s;
}
.compare__tag em { font: inherit; font-style: normal; }
.compare__tag span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--saffron); color: var(--on-saffron); font-size: 15px; }
.compare__tag.is-on { opacity: 1; }

/* ---------- 9. numbers band ---------- */
.numbers { position: relative; overflow: hidden; background: var(--emerald-deep); color: var(--white); padding: clamp(80px, 10vw, 130px) var(--gutter); }
.numbers__crest { position: absolute; width: min(70vw, 620px); right: -8%; top: 50%; translate: 0 -50%; opacity: .12; pointer-events: none; }
.numbers__grid { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; max-width: var(--max); margin: 0 auto; }
.numbers__grid div { border-top: 1px solid rgba(234, 217, 166, .35); padding-top: 20px; }
.numbers__grid b { display: block; font: 700 clamp(44px, 6vw, 84px)/1 var(--f-display); color: var(--saffron-light); font-variant-numeric: tabular-nums; }
.numbers__grid span { display: block; margin-top: 10px; font: 500 12.5px/1.4 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .78); }

/* ---------- 10. journey ---------- */
.journey { padding: clamp(80px, 10vw, 140px) 0; overflow: hidden; }
.journey__head { padding: 0 var(--gutter); max-width: var(--max); margin: 0 auto 50px; }
.journey__track { position: relative; padding: 0 var(--gutter); }
.journey__line { position: absolute; background: var(--line); }
.journey__line i { position: absolute; }
.journey__steps { list-style: none; margin: 0; padding: 0; }
.journey__steps li { position: relative; }
.journey__steps .dot { position: absolute; width: 18px; height: 18px; border-radius: 50%; background: var(--white); border: 2px solid var(--line); transition: background .4s, border-color .4s, transform .4s var(--ease); }
.journey__steps li.on .dot { background: var(--saffron); border-color: var(--saffron); transform: scale(1.25); box-shadow: 0 0 0 6px rgba(217, 123, 10, .16); }
.journey__steps em { display: block; font: 500 12px/1.4 var(--f-mono); font-style: normal; letter-spacing: .12em; text-transform: uppercase; color: var(--saffron); margin-bottom: 6px; }
.journey__steps h3 { font: 600 clamp(24px, 2.6vw, 34px)/1.1 var(--f-display); margin-bottom: 10px; }
.journey__steps p { color: var(--muted); font-size: 15.5px; margin: 0; }
.journey__line { left: calc(var(--gutter) + 8px); top: 6px; bottom: 6px; width: 2px; }
.journey__line i { left: 0; top: 0; width: 100%; height: 100%; transform-origin: top; transform: scaleY(0); background: linear-gradient(180deg, var(--emerald), var(--saffron)); }
.journey__steps li { padding: 0 0 46px 46px; }
.journey__steps li:last-child { padding-bottom: 0; }
.journey__steps .dot { left: 0; top: 4px; }
@media (min-width: 1000px) {
  .journey__track { height: 100svh; display: flex; align-items: center; padding: 0; }
  .journey__steps { display: flex; padding: 0 var(--gutter); will-change: transform; counter-reset: step; margin-top: 140px; }
  .journey__steps li { flex: none; width: 440px; padding: 60px 60px 0 0; counter-increment: step; }
  .journey__steps li::before { content: "0" counter(step); position: absolute; left: 0; bottom: calc(100% + 40px); font: 700 150px/1 var(--f-display); color: var(--tint); -webkit-text-stroke: 1px rgba(6, 78, 59, .14); transition: color .5s, -webkit-text-stroke-color .5s; }
  .journey__steps li.on::before { color: rgba(247, 185, 85, .22); -webkit-text-stroke-color: rgba(217, 123, 10, .35); }
  .journey__steps h3 { font-size: 40px; }
  .journey__steps p { font-size: 17px; max-width: 30ch; }
  .journey__steps .dot { top: 0; left: 0; }
  .journey__line { left: 0; right: 0; top: 50%; margin-top: -52px; height: 2px; width: auto; bottom: auto; }
  .journey__line i { transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg, var(--emerald), var(--saffron)); }
}

/* ---------- 11. orbit: two rings you can play with ---------- */
.orbit { position: relative; height: 320svh; background: var(--tint); }
.orbit__stage { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.orbit__guides { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.orbit__guides ellipse { fill: none; stroke: rgba(6, 78, 59, .16); stroke-width: 1.2; stroke-dasharray: 3 9; }
.orbit__guides .g-in { stroke: rgba(217, 123, 10, .22); }
.orbit__ring, .orbit__skills { position: absolute; inset: 0; }
.orbit__ring { z-index: 2; }
.o-item { position: absolute; left: 0; top: 0; will-change: transform; pointer-events: none; user-select: none; -webkit-user-select: none; }
.o-photo { object-fit: cover; border-radius: 5px; box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .45); border: 3px solid var(--white); }
.o-flag { border-radius: 3px; box-shadow: 0 6px 14px -8px rgba(0, 0, 0, .45); }
.o-sq { border-radius: 3px; }
.o-chip { display: grid; place-items: center; padding: 0 12px; height: 34px; border-radius: 999px; background: var(--white); border: 1px solid rgba(6, 78, 59, .14); box-shadow: 0 10px 20px -14px rgba(6, 78, 59, .5); font: 500 14px/1 var(--f-mono); color: var(--emerald-deep); white-space: nowrap; }
.o-chip--accent { font: italic 600 19px/1 var(--f-accent); color: var(--saffron); }
.o-chip--display { font: 600 15px/1 var(--f-display); }
.orbit__center { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: min(560px, 76vw); text-align: center; z-index: 3; pointer-events: none; }
.orbit__center .kicker { justify-content: center; }
.orbit__title { font: 600 clamp(32px, 4.4vw, 58px)/1.08 var(--f-display); }
.orbit__title em { color: var(--emerald); font-size: 1.12em; }
.orbit__sub { margin: 18px auto 0; color: var(--muted); max-width: 38ch; font-size: clamp(15px, 1.3vw, 18px); }
.orbit__skills { z-index: 3; pointer-events: none; }
.skill {
  position: absolute; left: 0; top: 0; z-index: 3; width: clamp(150px, 14vw, 200px); padding: 16px 16px 18px;
  background: var(--white); border-radius: 8px; box-shadow: 0 18px 40px -24px rgba(6, 78, 59, .55);
  opacity: 0;
}
.skill h3 { font: 600 clamp(15px, 1.3vw, 18px)/1.2 var(--f-body); margin: 30px 0 6px; }
.skill p { font-size: 13px; line-height: 1.45; color: var(--muted); margin: 0; }
.px { position: absolute; top: 16px; left: 16px; display: grid; grid-template-columns: repeat(2, 7px); gap: 3px; }
.px b { width: 7px; height: 7px; border: 1.5px solid var(--emerald-bright); border-radius: 1px; transition: background .3s; }
.px b.lit { background: var(--saffron); border-color: var(--saffron); }

.orbit__center::before { content: ""; position: absolute; inset: -18% -14%; z-index: -1; background: radial-gradient(closest-side, rgba(246, 247, 241, .94) 55%, rgba(246, 247, 241, 0)); }
/* no-JS / reduced motion: a plain grid */
.orbit.is-static { height: auto; }
.orbit.is-static .orbit__stage { position: relative; height: auto; display: flex; flex-direction: column; align-items: center; gap: 30px; padding: 90px var(--gutter); }
.orbit.is-static .orbit__center { position: static; translate: none; }
.orbit.is-static .orbit__skills { position: static; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; width: 100%; max-width: 900px; }
.orbit.is-static .skill { position: relative; opacity: 1; }
.orbit.is-static .orbit__ring, .orbit.is-static .orbit__guides { display: none; }

/* ---------- 12. global ---------- */
.global { padding: clamp(80px, 10vw, 140px) 0; overflow: hidden; }
.global__head { padding: 0 var(--gutter); max-width: var(--max); margin: 0 auto 40px; }
.marquee { overflow: hidden; white-space: nowrap; }
.marquee__track { display: inline-flex; align-items: center; gap: clamp(20px, 3vw, 44px); padding-right: clamp(20px, 3vw, 44px); will-change: transform; }
.marquee--words { border-block: 1px solid var(--line); padding: clamp(14px, 2vw, 26px) 0; }
.marquee--words span { font: 600 clamp(44px, 8vw, 120px)/1.1 var(--f-display); color: var(--emerald-deep); }
.marquee--words span[lang="hi"], .marquee--words span[lang="ar"] { font-family: var(--f-body); font-weight: 600; }
.marquee--words span[lang="fr"], .marquee--words span[lang="es"] { font-family: var(--f-accent); font-style: italic; color: var(--saffron); }
.marquee--words i { font-style: normal; color: var(--saffron); font-size: clamp(20px, 3vw, 40px); }
.marquee--flags { padding: 26px 0 0; }
.marquee--flags img { width: 56px; height: 38px; object-fit: cover; border-radius: 4px; box-shadow: 0 6px 14px -8px rgba(0, 0, 0, .4); }
.global__body { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 80px); align-items: center; max-width: var(--max); margin: 60px auto 0; padding: 0 var(--gutter); }
.global__photo { border-radius: 22px; overflow: hidden; aspect-ratio: 16/11; }
.global__photo img { width: 100%; height: 118%; object-fit: cover; }
.global__count { margin-bottom: 18px; }
.global__count b { display: block; font: 700 clamp(64px, 9vw, 130px)/1 var(--f-display); color: var(--saffron); }
.global__count span { font: 500 13px/1.4 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--emerald-deep); }
.global__body p:last-child { color: var(--muted); }

/* ---------- 13. status ---------- */
.status { background: var(--tint); padding: clamp(80px, 10vw, 130px) var(--gutter); }
.status__head { max-width: var(--max); margin: 0 auto 50px; }
.status__steps { list-style: none; margin: 0 auto; padding: 0; max-width: var(--max); display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.status__steps li { position: relative; padding-top: 58px; }
.status__steps li::before { content: ""; position: absolute; left: 44px; right: -20px; top: 18px; height: 2px; background: var(--line); }
.status__steps li:last-child::before { display: none; }
.status__steps li::after { content: ""; position: absolute; left: 44px; right: -20px; top: 18px; height: 2px; background: var(--emerald); transform: scaleX(var(--fill, 0)); transform-origin: left; transition: transform .8s var(--ease); }
.status__steps li:last-child::after, .status__steps li.next::after { display: none; }
.tick { position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: 50%; background: var(--white); border: 2px solid var(--line); display: grid; place-items: center; transition: background .4s, border-color .4s, transform .5s var(--ease); }
.done .tick.on { background: var(--emerald); border-color: var(--emerald); transform: scale(1.06); }
.done .tick::after { content: ""; width: 14px; height: 8px; border: solid var(--white); border-width: 0 0 2.5px 2.5px; rotate: -45deg; translate: 0 -2px; opacity: 0; transition: opacity .3s .2s; }
.done .tick.on::after { opacity: 1; }
.next .tick { border-color: var(--saffron); }
.next .tick::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--saffron); animation: pulse 1.6s ease-in-out infinite; }
.status__steps h3 { font: 600 19px/1.25 var(--f-body); margin-bottom: 8px; }
.status__steps p { font-size: 15px; color: var(--muted); margin: 0; }

/* ---------- 14. CTA ---------- */
.cta { position: relative; overflow: hidden; text-align: center; padding: clamp(110px, 16vw, 220px) var(--gutter); background: var(--white); }
.cta__photos img { position: absolute; width: clamp(80px, 12vw, 180px); aspect-ratio: 4/5; object-fit: cover; border-radius: 6px; box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .5); }
.cta__photos img:nth-child(1) { left: 6%; top: 14%; }
.cta__photos img:nth-child(2) { right: 7%; top: 10%; aspect-ratio: 1; }
.cta__photos img:nth-child(3) { left: 11%; bottom: 10%; aspect-ratio: 1; }
.cta__photos img:nth-child(4) { right: 10%; bottom: 14%; }
.cta__crest { width: clamp(84px, 9vw, 120px); margin: 0 auto 26px; position: relative; }
.cta__title { position: relative; font: 700 clamp(40px, 7vw, 100px)/1.02 var(--f-display); max-width: 12ch; margin: 0 auto 22px; }
.cta__title em { display: block; color: var(--saffron); font-size: 1.12em; }
.cta__sub { position: relative; color: var(--muted); font-size: clamp(16px, 1.4vw, 19px); max-width: 40ch; margin: 0 auto 34px; }
.cta .btn { position: relative; }

/* ---------- 15. contact ---------- */
.contact { background: var(--tint); padding: clamp(80px, 10vw, 140px) var(--gutter); }
.contact__in { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 5vw, 80px); align-items: center; max-width: var(--max); margin: 0 auto; }
.contact__cards { display: grid; gap: 12px; margin: 30px 0 28px; }
.ccard { display: block; padding: 16px 20px; background: var(--white); border-radius: 14px; border: 1px solid var(--line); text-decoration: none; transition: translate .4s var(--ease), border-color .3s; }
a.ccard:hover { translate: 6px 0; border-color: var(--emerald); }
.ccard span { display: block; font: 500 11px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--saffron); margin-bottom: 8px; }
.ccard b, .ccard address { font-weight: 600; color: var(--emerald-deep); font-size: 16px; line-height: 1.45; word-break: break-word; }
.contact__map { position: relative; }
.contact__map iframe { display: block; width: 100%; height: clamp(320px, 42vw, 480px); border: 0; border-radius: 22px; box-shadow: 0 30px 60px -34px rgba(6, 78, 59, .55); outline: 6px solid var(--white); }

/* ---------- footer ---------- */
.footer { background: var(--white); padding: 80px var(--gutter) 26px; border-top: 1px solid var(--line); overflow: hidden; }
.footer__top { display: grid; grid-template-columns: 1.4fr .7fr 1.5fr 1.1fr; gap: 40px; max-width: var(--max); margin: 0 auto; }
.footer__brand { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: flex-start; }
.footer__brand img { width: 88px; height: auto; flex: none; }
.footer__name { font: 700 19px/1.25 var(--f-display); color: var(--emerald-deep); margin-bottom: 8px; letter-spacing: .05em; text-transform: uppercase; }
.footer__legal { font: 500 11.5px/1.4 var(--f-mono); color: var(--muted); margin-bottom: 10px; }
.footer__motto { flex-basis: 100%; font: 400 28px/1.2 var(--f-script); color: var(--saffron); margin: 0; white-space: nowrap; }
.footer__col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.footer__col h4 { font: 500 11.5px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--saffron); margin-bottom: 6px; }
.footer__col a { text-decoration: none; color: var(--text); width: fit-content; background: linear-gradient(var(--emerald), var(--emerald)) 0 100% / 0 1.5px no-repeat; transition: background-size .45s var(--ease), color .3s; word-break: break-word; }
.footer__col a:hover { color: var(--emerald); background-size: 100% 1.5px; }
.footer__col address { color: var(--muted); line-height: 1.6; }
.footer__phil { overflow: hidden; white-space: nowrap; margin: 56px calc(-1 * var(--gutter)) 0; padding: 18px 0; border-block: 1px solid var(--line); }
.footer__phil .marquee__track { animation: marquee 26s linear infinite; }
.footer__phil span { font: 600 clamp(18px, 2.4vw, 28px)/1 var(--f-display); color: var(--emerald-deep); letter-spacing: .06em; }
.footer__phil i { font-style: normal; color: var(--saffron); }
.footer__giant {
  margin: 10px 0 0; text-align: center; white-space: nowrap;
  font: 700 clamp(44px, 9.5vw, 150px)/1 var(--f-display); letter-spacing: .01em;
  color: transparent; background: linear-gradient(100deg, #B8914A 0%, #F7B955 30%, #D97B0A 50%, #F7B955 70%, #B8914A 100%) 0 0 / 200% 100%;
  -webkit-background-clip: text; background-clip: text; animation: sheen 30s linear infinite;
}
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; max-width: var(--max); margin: 18px auto 0; font: 500 12px/1.4 var(--f-mono); color: var(--muted); }
.footer__bottom nav { display: flex; gap: 20px; }
.footer__bottom a { text-decoration: none; }
.footer__bottom a:hover { color: var(--emerald); }

/* ---------- keyframes ---------- */
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes pulse { 50% { transform: scale(.55); opacity: .5; } }

/* ---------- tablet ---------- */
@media (max-width: 1180px) {
  .nav { display: none; }
  .menu-btn { display: block; }
}
@media (max-width: 1099px) {
  .numbers__grid { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .status__steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .status__steps li:nth-child(2)::before, .status__steps li:nth-child(2)::after { display: none; }
  .who__rail { grid-template-columns: 1fr 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

/* ---------- phone ---------- */
@media (max-width: 760px) {
  body { font-size: 16px; }
  :root { --header-h: 74px; }
  .header__pill { height: 58px; gap: 8px; padding: 0 6px 0 8px; }
  .brand__crest { width: 40px; height: 40px; }
  .brand__name { font-size: 13px; letter-spacing: .09em; }
  .brand__sub { font-size: 7.5px; letter-spacing: .18em; }
  .header__cta { display: none; }
  .book-fab { display: block; }

  .hero.is-anim { height: 230svh; }
  .hero__stage { display: flex; flex-direction: column; align-items: stretch; gap: 16px; padding: calc(var(--header-h) + 10px) var(--gutter) 46px; }
  .hero__crest { width: 120vw; left: -10%; top: 30%; }
  .eyebrow { font-size: 10.5px; margin-bottom: 10px; }
  .hero__title { font-size: clamp(31px, 9.6vw, 44px); margin-bottom: 12px; }
  .hero__sub { font-size: 14.5px; line-height: 1.5; margin-bottom: 16px; }
  .hide-phone { display: none; }
  .hero__btns { flex-wrap: nowrap; gap: 8px; }
  .hero__btns .btn { flex: 1 1 0; min-height: 48px; padding: 0 6px 0 14px; font-size: 14px; }
  .hero__btns .btn--ghost { padding: 0 12px; }
  .hero__btns .btn__ic { width: 24px; height: 24px; }
  .hero__hint { left: 0; right: 0; bottom: 54px; text-align: center; font-size: 9.5px; }
  .hero__media { flex: 1 1 auto; min-height: 0; height: auto; }
  .hero__arch { inset: 0 10%; }
  .hero__count { translate: -50% -50%; }
  .hero__count b { font-size: clamp(72px, 24vw, 110px); }
  .hero__count-label { font-size: 11px; }
  .hero__cue { bottom: 14px; font-size: 10px; }
  .chip { font-size: 12px; padding: 8px 12px; }
  .chip b { font-size: 14px; }
  .chip--a { top: 4%; right: 2%; }
  .chip--b { top: 46%; right: 0; }
  .chip--c { bottom: 2%; right: 10%; }

  .fact__word span { font-size: clamp(32px, 10vw, 46px); }
  .era__in { grid-template-columns: 1fr; gap: 22px; }
  .era__head { position: static; }
  .era__pillars { grid-template-columns: 1fr; gap: 0; }
  .era__pillars li { display: flex; align-items: baseline; gap: 14px; padding: 14px 0; border-top-width: 1px; border-color: var(--line); }
  .era__pillars span { margin: 0; }
  .card { height: min(64svh, 540px); margin-bottom: 22svh; }
  .card__mark { width: 180px; }

  .open__title { font-size: clamp(38px, 11.5vw, 60px); }
  .open__title span { white-space: normal; }
  .open__b { text-align: left; }
  .open__body { grid-template-columns: 1fr; }
  .open__photo { max-height: 380px; aspect-ratio: 4/4.4; }

  .who__rail {
    display: grid; grid-auto-flow: column; grid-auto-columns: 76vw; grid-template-columns: none; gap: 14px;
    overflow-x: auto; scroll-snap-type: x mandatory; padding: 20px 12vw 34px; scrollbar-width: none; perspective: 900px;
  }
  .who__rail::-webkit-scrollbar { display: none; }
  .who__card { scroll-snap-align: center; transition: transform .45s var(--ease), box-shadow .4s; }
  .who__dots { display: flex; justify-content: center; gap: 8px; }
  .who__dots i { width: 8px; height: 8px; border-radius: 99px; background: rgba(6, 78, 59, .2); transition: width .4s var(--ease), background .4s; }
  .who__dots i.on { width: 26px; background: var(--saffron); }

  .mv__in { grid-template-columns: 1fr; }
  .mv__fig { width: min(300px, 78%); }
  .mv__facts { grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
  .mv__facts b { font-size: 15px; }
  .mv__facts span { font-size: 10px; }

  .crow { grid-template-columns: 1fr 1fr; gap: 6px 14px; padding: 18px 10px 18px 44px; }
  .crow b { grid-column: 1 / -1; font: 500 12px/1.3 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--emerald); }
  .crow span { font-size: 14.5px; line-height: 1.4; }
  .crow--head { display: none; }
  .crow:not(.crow--head) span:nth-child(2)::before { content: "Traditional"; display: block; font: 500 10.5px/1.2 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); opacity: .75; margin-bottom: 4px; }
  .crow:not(.crow--head) span:nth-child(3) { flex-direction: column; gap: 0; background: rgba(255, 255, 255, .7); border: 1px solid rgba(4, 120, 87, .18); border-radius: 10px; padding: 8px 10px; margin: -8px 0; }
  .crow:not(.crow--head) span:nth-child(3)::before { content: "K21"; width: auto; height: auto; margin: 0 0 4px; background: none; border-radius: 0; font: 500 10.5px/1.2 var(--f-mono); letter-spacing: .1em; color: var(--saffron); }
  .crow.is-on span:nth-child(3)::before { transform: none; }
  .rope { left: 8px; }
  .compare__tag { display: none; }

  .numbers__grid { grid-template-columns: 1fr 1fr; gap: 34px 18px; }
  .numbers__grid div:last-child { grid-column: 1 / -1; }

  .orbit { height: 300svh; }
  .orbit__center { width: 84vw; }
  .orbit__sub { font-size: 14.5px; }
  .o-chip { height: 28px; padding: 0 9px; font-size: 12px; }
  .o-chip--accent { font-size: 16px; }
  .o-chip--display { font-size: 12.5px; }
  .skill { width: 40vw; padding: 11px 11px 13px; }
  .skill h3 { margin-top: 22px; font-size: 14px; }
  .skill p { font-size: 11.5px; }
  .px { top: 11px; left: 11px; }

  .global__body { grid-template-columns: 1fr; margin-top: 40px; }
  .marquee--flags img { width: 44px; height: 30px; }

  .status__steps { grid-template-columns: 1fr; gap: 0; }
  .status__steps li { padding: 0 0 34px 60px; min-height: 80px; }
  .status__steps li::before, .status__steps li::after { left: 18px; right: auto; top: 44px; bottom: -4px; width: 2px; height: auto; }
  .status__steps li::after { transform: scaleY(var(--fill, 0)); transform-origin: top; }
  .status__steps li:nth-child(2)::before, .status__steps li:nth-child(2)::after { display: block; }

  .cta__photos img:nth-child(1) { left: -4%; top: 6%; }
  .cta__photos img:nth-child(2) { right: -3%; top: 4%; }
  .cta__photos img:nth-child(3) { left: -3%; bottom: 5%; }
  .cta__photos img:nth-child(4) { right: -4%; bottom: 7%; }

  .contact__in { grid-template-columns: 1fr; }
  .contact__map iframe { height: 320px; }
  .ccard b, .ccard address { font-size: 14.5px; word-break: normal; overflow-wrap: anywhere; }
  .ccard b { overflow-wrap: normal; white-space: nowrap; }

  .footer { padding-top: 60px; padding-bottom: 96px; }
  .footer__top { grid-template-columns: 1fr; gap: 30px; }
  .footer__bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .footer__phil .marquee__track, .next .tick::after, .hero__title .line > span, .footer__giant { animation: none; }
  .era__text .w { color: var(--text); }
  .skill { opacity: 1; }
}
