/* =========================================================================
   HAM BALONIUS — Design System
   ========================================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  /* Core palette */
  --ink:        #0A0E22;
  --ink-2:      #121B3E;
  --ink-3:      #1D2A55;
  --travertine: #F8F2E6;
  --parchment:  #EFE2C9;
  --sand:       #E2D2B4;

  --gold:       #F5B921;
  --gold-hi:    #FFE08A;
  --gold-deep:  #C98A0E;

  --terracotta: #C8362F;
  --flame:      #E8552F;

  --sky:        #4FA8E8;
  --sky-hi:     #93D0FF;
  --sky-deep:   #2463C4;

  --laurel:     #7FA83C;
  --tyrian:     #8A46C0;
  --plum:       #3E1560;

  /* Semantic */
  --bg:         var(--ink);
  --surface:    rgba(255,255,255,.055);
  --surface-2:  rgba(255,255,255,.09);
  --line:       rgba(255,255,255,.12);
  --line-hi:    rgba(255,255,255,.22);
  --text:       #EEF1FB;
  --text-soft:  #B9C2E0;
  --text-mute:  #8791B5;

  /* Type */
  --f-display: "Baloo 2", "Trebuchet MS", system-ui, sans-serif;
  --f-body: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --f-roman: "Cinzel", Georgia, "Times New Roman", serif;

  /* Rhythm */
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 30px;
  --r-xl: 44px;
  --pad: clamp(20px, 5vw, 64px);
  --maxw: 1240px;

  /* Motion */
  --ease: cubic-bezier(.22,.9,.28,1);
  --ease-out: cubic-bezier(.16,1,.3,1);

  /* Elevation */
  --lift-1: 0 2px 6px rgba(0,0,0,.28), 0 12px 34px rgba(0,0,0,.34);
  --lift-2: 0 4px 12px rgba(0,0,0,.3),  0 26px 70px rgba(0,0,0,.45);
  --glow-gold: 0 0 0 1px rgba(245,185,33,.28), 0 18px 60px -12px rgba(245,185,33,.42);
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}
body {
  font-family: var(--f-body);
  font-size: clamp(16px, 1.02vw, 17.5px);
  line-height: 1.62;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1,h2,h3,h4 {
  font-family: var(--f-display);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
p { text-wrap: pretty; }
::selection { background: var(--gold); color: var(--ink); }

/* Focus — visible and chunky, this is a kids' site */
:focus-visible {
  outline: 3px solid var(--gold-hi);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Skip link */
.skip {
  position: absolute; left: 12px; top: -80px; z-index: 200;
  background: var(--gold); color: var(--ink);
  padding: 12px 20px; border-radius: 12px; font-weight: 800;
  transition: top .2s var(--ease);
}
.skip:focus { top: 12px; }

/* ---------- 3. Atmosphere: aurora + grain ---------- */
.atmos {
  position: fixed; inset: 0; z-index: -2;
  pointer-events: none; overflow: hidden;
  background: var(--ink);
}
.atmos b {
  position: absolute; display: block;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .5;
  will-change: transform;
}
.atmos b:nth-child(1){ width: 58vw; height: 58vw; left: -14vw; top: -16vw;
  background: radial-gradient(circle at 40% 40%, rgba(245,185,33,.5), transparent 65%);
  animation: drift1 34s var(--ease) infinite alternate; }
.atmos b:nth-child(2){ width: 52vw; height: 52vw; right: -12vw; top: 4vw;
  background: radial-gradient(circle at 50% 50%, rgba(79,168,232,.46), transparent 66%);
  animation: drift2 40s var(--ease) infinite alternate; }
.atmos b:nth-child(3){ width: 46vw; height: 46vw; left: 24vw; top: 52vh;
  background: radial-gradient(circle at 50% 50%, rgba(138,70,192,.4), transparent 68%);
  animation: drift3 46s var(--ease) infinite alternate; }
.atmos b:nth-child(4){ width: 40vw; height: 40vw; right: 8vw; bottom: -10vw;
  background: radial-gradient(circle at 50% 50%, rgba(200,54,47,.34), transparent 66%);
  animation: drift1 52s var(--ease) infinite alternate-reverse; }

@keyframes drift1 { to { transform: translate3d(9vw, 7vh, 0) scale(1.16); } }
@keyframes drift2 { to { transform: translate3d(-8vw, 10vh, 0) scale(1.1); } }
@keyframes drift3 { to { transform: translate3d(7vw, -9vh, 0) scale(1.2); } }

/* Film grain — keeps flat gradients from banding */
.grain {
  position: fixed; inset: -50%; z-index: -1; pointer-events: none;
  opacity: .30; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 7s steps(6) infinite;
}
@keyframes grain {
  0%,100%{transform:translate(0,0)} 16%{transform:translate(-3%,-4%)}
  33%{transform:translate(2%,-2%)} 50%{transform:translate(-2%,3%)}
  66%{transform:translate(3%,2%)} 83%{transform:translate(-1%,-3%)}
}

/* ---------- 4. Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: clamp(64px, 10vw, 132px); position: relative; }
.section--tight { padding-block: clamp(48px, 7vw, 88px); }

.grid { display: grid; gap: clamp(18px, 2.4vw, 30px); }
.g-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.g-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.g-4 { grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }

/* ---------- 5. Typographic components ---------- */
.eyebrow {
  font-family: var(--f-roman);
  font-weight: 700;
  font-size: clamp(11px, 1.05vw, 13px);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 30px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.eyebrow--center { justify-content: center; }
.eyebrow--center::after {
  content: ""; width: 30px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.h1 { font-size: clamp(38px, 6.4vw, 82px); }
.h2 { font-size: clamp(30px, 4.4vw, 56px); }
.h3 { font-size: clamp(22px, 2.5vw, 31px); }
.h4 { font-size: clamp(18px, 1.7vw, 22px); }

.lede { font-size: clamp(17px, 1.45vw, 21px); color: var(--text-soft); line-height: 1.6; }
.muted { color: var(--text-mute); }
.soft  { color: var(--text-soft); }
.center { text-align: center; }
.measure { max-width: 62ch; }
.measure-s { max-width: 48ch; }
.center.measure, .center.measure-s { margin-inline: auto; }

.gold-text {
  background: linear-gradient(180deg, var(--gold-hi) 6%, var(--gold) 52%, var(--gold-deep) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- 6. Wordmark ---------- */
.mark { display: inline-flex; align-items: center; gap: 12px; }
.mark__laurel { width: 26px; flex: none; color: var(--gold); opacity: .95;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,.5)); }
.mark__laurel--r { transform: scaleX(-1); }
.mark__type { font-family: var(--f-display); font-weight: 800; line-height: .9; letter-spacing: -0.01em; }
.mark__type span { display: block; }
.mark__ham {
  color: var(--gold-hi);
  text-shadow:
    -1px -1px 0 #4A2610, 1px -1px 0 #4A2610, -1px 1px 0 #4A2610, 1px 1px 0 #4A2610,
    0 2px 0 #8A5A18, 0 3px 0 #6E4512, 0 6px 14px rgba(0,0,0,.55);
}
.mark__bal {
  color: var(--sky-hi);
  text-shadow:
    -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff,
    0 2px 0 #2463C4, 0 3px 0 #17417F, 0 6px 14px rgba(0,0,0,.55);
}
/* Nav-scale wordmark */
.mark--nav .mark__type { font-size: 19px; }
.mark--nav .mark__laurel { width: 21px; }
/* Hero-scale wordmark */
.mark--hero { gap: clamp(10px, 1.6vw, 22px); align-items: center; }
.mark--hero .mark__type { font-size: clamp(46px, 9.3vw, 118px); }
.mark--hero .mark__laurel { width: clamp(34px, 6vw, 78px); }
.mark--hero .mark__ham {
  text-shadow:
    -2px -2px 0 #4A2610, 2px -2px 0 #4A2610, -2px 2px 0 #4A2610, 2px 2px 0 #4A2610,
    0 5px 0 #8A5A18, 0 8px 0 #6E4512, 0 18px 40px rgba(0,0,0,.6);
}
.mark--hero .mark__bal {
  text-shadow:
    -2px -2px 0 #fff, 2px -2px 0 #fff, -2px 2px 0 #fff, 2px 2px 0 #fff,
    0 5px 0 #2463C4, 0 8px 0 #17417F, 0 18px 40px rgba(0,0,0,.6);
}
/* Footer-scale */
.mark--foot .mark__type { font-size: 30px; }
.mark--foot .mark__laurel { width: 30px; }

/* ---------- 7. Buttons ---------- */
.btn {
  --btn-bg: var(--gold);
  --btn-fg: #2B1806;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 30px;
  font-family: var(--f-display); font-weight: 800; font-size: 17.5px; letter-spacing: .005em;
  color: var(--btn-fg); background: var(--btn-bg);
  border: 0; border-radius: 999px; cursor: pointer;
  position: relative; isolation: isolate;
  box-shadow: 0 3px 0 rgba(0,0,0,.28), 0 10px 30px -8px rgba(0,0,0,.6);
  transition: transform .18s var(--ease), box-shadow .25s var(--ease), filter .2s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1;
  background: linear-gradient(180deg, rgba(255,255,255,.42), rgba(255,255,255,0) 58%);
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.05);
  box-shadow: 0 5px 0 rgba(0,0,0,.28), 0 20px 46px -10px rgba(245,185,33,.5); }
.btn:active { transform: translateY(1px); box-shadow: 0 1px 0 rgba(0,0,0,.3); }

.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--text);
  border: 2px solid var(--line-hi);
  box-shadow: none; backdrop-filter: blur(10px);
}
.btn--ghost::before { background: linear-gradient(180deg, rgba(255,255,255,.10), transparent 60%); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-hi); box-shadow: none; }

.btn--sky { --btn-bg: var(--sky); --btn-fg: #06203F; }
.btn--sky:hover { box-shadow: 0 5px 0 rgba(0,0,0,.28), 0 20px 46px -10px rgba(79,168,232,.5); }
.btn--sm { min-height: 44px; padding: 0 22px; font-size: 15.5px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- 8. Surfaces ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  position: relative; overflow: hidden;
}
.card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,.10), transparent 34%);
}
.card__body { padding: clamp(22px, 2.6vw, 32px); position: relative; z-index: 1; }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 15px; border-radius: 999px;
  background: rgba(255,255,255,.08); border: 1px solid var(--line);
  font-size: 13.5px; font-weight: 600; color: var(--text-soft);
  white-space: nowrap;
}
.pill--gold { background: rgba(245,185,33,.15); border-color: rgba(245,185,33,.4); color: var(--gold-hi); }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }

.rule {
  height: 1px; border: 0; margin: 0;
  background: linear-gradient(90deg, transparent, var(--line-hi) 18%, var(--line-hi) 82%, transparent);
}

/* ---------- 9. Header / Nav ---------- */
.hdr {
  position: fixed; inset: 0 0 auto; z-index: 100;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.hdr.is-stuck {
  background: rgba(10,14,34,.72);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom-color: var(--line);
  box-shadow: 0 12px 40px -18px rgba(0,0,0,.9);
}
.hdr__in {
  max-width: var(--maxw); margin-inline: auto; padding: 14px var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 10px 15px; border-radius: 999px;
  font-weight: 650; font-size: 15.5px; color: var(--text-soft);
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav a:hover { color: var(--text); background: rgba(255,255,255,.07); }
.nav a[aria-current="page"] { color: var(--gold-hi); background: rgba(245,185,33,.13); }
.nav > .btn { display: none; }
.hdr__cta { display: flex; align-items: center; gap: 12px; }

.burger {
  display: none; width: 48px; height: 48px; flex: none;
  border: 1px solid var(--line-hi); border-radius: 14px;
  background: rgba(255,255,255,.06); cursor: pointer;
  align-items: center; justify-content: center;
}
.burger span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--text); position: relative; transition: .25s var(--ease); }
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px; border-radius: 2px;
  background: var(--text); transition: .25s var(--ease);
}
.burger span::before { top: -6px; }
.burger span::after  { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

@media (max-width: 940px) {
  .burger { display: inline-flex; }
  .hdr__cta .btn { display: none; }
  .nav {
    position: fixed; inset: 74px 12px auto 12px;
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 14px; border-radius: var(--r-lg);
    background: rgba(13,18,42,.96);
    backdrop-filter: blur(20px);
    border: 1px solid var(--line-hi);
    box-shadow: var(--lift-2);
    opacity: 0; visibility: hidden; transform: translateY(-12px) scale(.98);
    transition: .28s var(--ease);
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav a { padding: 14px 18px; border-radius: 16px; font-size: 17px; }
  /* .nav a beats .btn on specificity, so restore the button's own colour */
  .nav > .btn { display: inline-flex; margin-top: 8px; color: var(--btn-fg); }
  .nav > .btn:hover { color: var(--btn-fg); }
}

/* ---------- 10. Hero ---------- */
.hero { position: relative; padding-block: clamp(120px, 17vh, 190px) clamp(48px, 7vw, 92px); overflow: hidden; }
.hero__plate {
  position: absolute; inset: -4%; z-index: -1;
  background-size: cover; background-position: 62% 34%;
  opacity: .26;
  transform: scale(1.1);
  filter: blur(7px) saturate(.72);
  mask-image: linear-gradient(180deg, transparent, #000 20%, #000 58%, transparent 97%);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 20%, #000 58%, transparent 97%);
}
.hero__scrim {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(100deg, var(--ink) 6%, rgba(10,14,34,.86) 34%, rgba(10,14,34,.25) 68%, transparent 92%),
    linear-gradient(180deg, rgba(10,14,34,.9), transparent 30%);
}
@media (max-width: 900px) {
  .hero__scrim { background: linear-gradient(180deg, rgba(10,14,34,.92), rgba(10,14,34,.62) 45%, rgba(10,14,34,.9)); }
}
.hero__in { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.06fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero__copy { position: relative; z-index: 2; }
.hero__tag {
  font-family: var(--f-roman); font-weight: 700;
  font-size: clamp(13px, 1.6vw, 19px); letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-hi); margin: clamp(18px, 2.4vw, 28px) 0 0;
}
.hero__lede { margin-top: 20px; max-width: 54ch; }
.hero__btns { margin-top: clamp(26px, 3vw, 38px); }
.hero__stats { margin-top: clamp(30px, 4vw, 46px); display: flex; flex-wrap: wrap; gap: 12px 28px; }
.hero__stat b { display: block; font-family: var(--f-display); font-size: 26px; color: var(--gold-hi); line-height: 1.1; }
.hero__stat span { font-size: 13.5px; color: var(--text-mute); }

.hero__cast { position: relative; min-height: clamp(400px, 52vw, 660px); }
.hero__cast img { position: absolute; bottom: 0; filter: drop-shadow(0 26px 34px rgba(0,0,0,.55)); }
.hero__cast .c-ham    { width: 70%; left: 15%; z-index: 4; }
.hero__cast .c-bim    { width: 38%; left: -7%; z-index: 5; bottom: 0; }
.hero__cast .c-hallie { width: 48%; right: -1%; z-index: 3; bottom: 2%; }
.hero__cast .c-tuktuk { width: 56%; right: 6%; z-index: 1; bottom: 38%; opacity: .34;
  filter: blur(3px) drop-shadow(0 20px 30px rgba(0,0,0,.5)); }
.hero__glow {
  position: absolute; left: 50%; top: 46%; width: 96%; aspect-ratio: 1; translate: -50% -50%;
  background: radial-gradient(circle, rgba(245,185,33,.30), transparent 62%);
  filter: blur(26px); z-index: 0;
}

@media (max-width: 900px) {
  .hero__in { grid-template-columns: 1fr; }
  .hero__cast { min-height: 300px; order: -1; }
  .hero__copy { text-align: center; }
  .hero__lede, .measure { margin-inline: auto; }
  .hero__btns, .hero__stats, .eyebrow { justify-content: center; }
  .hero__btns { display: flex; }
  .hero__stats { justify-content: center; text-align: center; }
}
@media (max-width: 520px) {
  .hero__cast .c-tuktuk { display: none; }
  .hero__cast .c-ham { width: 66%; left: 17%; }
}

/* ---------- 11. Marquee ---------- */
.marquee {
  overflow: hidden; border-block: 1px solid var(--line);
  background: rgba(255,255,255,.035); padding-block: 15px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: slide 44s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track > div { display: flex; align-items: center; }
.marquee span {
  display: inline-flex; align-items: center; gap: 16px; padding-inline: 22px;
  font-family: var(--f-roman); font-weight: 600; font-size: 14px;
  letter-spacing: .2em; text-transform: uppercase; color: var(--text-soft); white-space: nowrap;
}
.marquee span::after { content: "✦"; color: var(--gold); letter-spacing: 0; font-size: 12px; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- 12. Character cards ---------- */
.cast { --card-accent: var(--gold); }
.chr {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.025));
  transition: transform .4s var(--ease-out), border-color .3s var(--ease), box-shadow .4s var(--ease);
  transform-style: preserve-3d;
  display: block;
}
.chr:hover, .chr:focus-visible {
  border-color: color-mix(in srgb, var(--card-accent) 55%, transparent);
  box-shadow: 0 30px 70px -28px color-mix(in srgb, var(--card-accent) 70%, transparent);
}
.chr__art {
  position: relative; aspect-ratio: 4/4.1; display: grid; place-items: end center;
  background:
    radial-gradient(90% 62% at 50% 96%, color-mix(in srgb, var(--card-accent) 32%, transparent), transparent 70%),
    linear-gradient(180deg, rgba(255,255,255,.05), transparent);
  overflow: hidden;
}
.chr__art img {
  width: 84%; max-height: 92%; object-fit: contain; object-position: bottom;
  filter: drop-shadow(0 16px 22px rgba(0,0,0,.5));
  transition: transform .5s var(--ease-out);
  transform: translateZ(40px);
}
.chr:hover .chr__art img { transform: translateZ(40px) scale(1.06) translateY(-6px); }
.chr__body { padding: 20px clamp(18px,2vw,24px) 24px; position: relative; }
.chr__role {
  font-family: var(--f-roman); font-size: 11.5px; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--card-accent);
}
.chr__name { font-size: clamp(23px, 2.2vw, 29px); margin-top: 6px; }
.chr__line { color: var(--text-soft); font-size: 15px; margin-top: 10px; }
.chr__vo {
  margin-top: 14px; font-size: 13px; color: var(--text-mute);
  display: flex; align-items: center; gap: 8px;
}
.chr__vo b { color: var(--gold-hi); font-weight: 700; }

/* Accent variants */
.a-ham     { --card-accent: #F0705A; }
.a-bim     { --card-accent: #6FC5A8; }
.a-hallie  { --card-accent: #F5B921; }
.a-tuktuk  { --card-accent: #E0A458; }
.a-vincent { --card-accent: #A96BD8; }
.a-brain   { --card-accent: #5E7BD6; }

/* ---------- 13. Character detail rows ---------- */
.bio { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: clamp(24px,4vw,64px); align-items: center; }
.bio:nth-of-type(even) .bio__art { order: 2; }
.bio__art { position: relative; display: grid; place-items: center; }
.bio__art > img { width: min(100%, 440px); filter: drop-shadow(0 30px 40px rgba(0,0,0,.55)); position: relative; z-index: 1; }
.bio__halo {
  position: absolute; width: 92%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--card-accent) 42%, transparent), transparent 64%);
  filter: blur(20px);
}
.bio__ring {
  position: absolute; width: 84%; aspect-ratio: 1; border-radius: 50%;
  border: 1px dashed color-mix(in srgb, var(--card-accent) 45%, transparent);
  animation: spin 46s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.bio__poses { display: flex; gap: 10px; justify-content: center; margin-top: 18px; flex-wrap: wrap; }
.bio__poses img {
  width: 76px; height: 76px; object-fit: contain; padding: 6px;
  border-radius: 18px; background: rgba(255,255,255,.06); border: 1px solid var(--line);
}
@media (max-width: 860px) {
  .bio { grid-template-columns: 1fr; }
  .bio:nth-of-type(even) .bio__art { order: 0; }
}

/* Quote */
.quote {
  border-left: 3px solid var(--card-accent, var(--gold));
  padding: 4px 0 4px 22px; margin: 22px 0;
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(19px, 2.1vw, 25px); line-height: 1.3; color: var(--gold-hi);
}
.quote cite { display: block; font-family: var(--f-body); font-size: 14px; font-weight: 500;
  font-style: normal; color: var(--text-mute); margin-top: 8px; letter-spacing: .02em; }

/* ---------- 14. Video ---------- */
.vframe {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line-hi); background: #05070F;
  box-shadow: var(--lift-2);
  aspect-ratio: 16/9;
}
.vframe video { width: 100%; height: 100%; object-fit: cover; }
.vframe__badge {
  position: absolute; left: 16px; top: 16px; z-index: 3;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px;
  background: rgba(6,10,24,.72); backdrop-filter: blur(10px);
  border: 1px solid var(--line-hi);
  font-family: var(--f-roman); font-size: 11px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--gold-hi);
}
.vframe__badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--flame); box-shadow: 0 0 10px var(--flame); }
.vplay {
  position: absolute; inset: 0; z-index: 2; border: 0; cursor: pointer;
  display: grid; place-items: center; padding: 0;
  background: linear-gradient(180deg, rgba(6,10,24,.15), rgba(6,10,24,.6));
  transition: opacity .3s var(--ease);
}
.vplay[hidden] { display: none; }
.vplay__ring {
  width: clamp(64px, 8vw, 94px); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--gold); color: #2B1806;
  box-shadow: 0 0 0 10px rgba(245,185,33,.2), 0 18px 50px -10px rgba(245,185,33,.6);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.vplay:hover .vplay__ring { transform: scale(1.08); box-shadow: 0 0 0 16px rgba(245,185,33,.18), 0 22px 60px -10px rgba(245,185,33,.7); }
.vplay__ring svg { width: 38%; margin-left: 12%; }
.vplay__label {
  position: absolute; bottom: clamp(16px, 3vw, 28px); left: 0; right: 0;
  font-family: var(--f-display); font-weight: 800; font-size: clamp(16px,2vw,22px);
  color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.8); padding-inline: 16px;
}

.vcard { display: grid; gap: 14px; }
.vcard__meta { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.vcard__meta :is(h2, h3) { font-size: 20px; }
.vcard__meta span { font-size: 13px; color: var(--text-mute); font-variant-numeric: tabular-nums; white-space: nowrap; }
.vcard p { font-size: 15px; color: var(--text-soft); }

/* ---------- 15. Time machine / destinations ---------- */
.dest {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line); min-height: 300px;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(20px, 2.4vw, 30px);
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  transition: transform .4s var(--ease-out), border-color .3s var(--ease);
}
.dest::before {
  content: ""; position: absolute; inset: 0; z-index: 0; opacity: .55;
  background: var(--dest-bg, linear-gradient(200deg, var(--gold), #2E3E16));
  transition: opacity .4s var(--ease), transform .6s var(--ease-out);
}
.dest::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(10,14,34,.30) 8%, rgba(10,14,34,.80) 56%, rgba(10,14,34,.94) 88%);
}
.dest:hover { transform: translateY(-6px); border-color: var(--line-hi); }
.dest:hover::before { opacity: .78; transform: scale(1.04); }
.dest > * { position: relative; z-index: 2; }
.dest__era {
  font-family: var(--f-roman); font-size: 11.5px; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase; color: var(--gold);
}
.dest__name { font-size: clamp(21px, 2.2vw, 27px); margin-top: 8px; }
.dest__note { font-size: 14.5px; color: var(--text-soft); margin-top: 10px; }
.dest__learn {
  margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line);
  font-size: 13.5px; color: var(--gold-hi); display: flex; gap: 9px; align-items: flex-start;
}
.dest__learn svg { width: 16px; flex: none; margin-top: 3px; }

/* Time dial widget */
.dial {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 3vw, 42px);
  align-items: center;
}
.dial__wheel {
  position: relative; width: clamp(180px, 22vw, 250px); aspect-ratio: 1;
  display: grid; place-items: center; flex: none;
}
.dial__ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid rgba(245,185,33,.34);
  background:
    radial-gradient(circle at 50% 50%, rgba(245,185,33,.12), transparent 68%),
    conic-gradient(from 0deg, rgba(245,185,33,.5), rgba(79,168,232,.42), rgba(138,70,192,.45), rgba(245,185,33,.5));
  -webkit-mask: radial-gradient(circle, transparent 61%, #000 62%);
  mask: radial-gradient(circle, transparent 61%, #000 62%);
  animation: spin 24s linear infinite;
}
.dial__ring--2 { inset: 16px; animation: spin 17s linear infinite reverse; opacity: .55; }
.dial.is-spinning .dial__ring { animation-duration: 1.1s; }
.dial.is-spinning .dial__ring--2 { animation-duration: .8s; }
.dial__core {
  width: 58%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 40% 34%, #2A3768, #0B1024 72%);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: inset 0 0 34px rgba(79,168,232,.35), 0 0 46px -8px rgba(138,70,192,.65);
  text-align: center; padding: 12px;
}
.dial__year {
  font-family: var(--f-display); font-weight: 800; line-height: 1;
  font-size: clamp(20px, 2.6vw, 30px); color: var(--gold-hi);
  font-variant-numeric: tabular-nums;
}
.dial__unit { font-family: var(--f-roman); font-size: 10px; letter-spacing: .2em; color: var(--text-mute); margin-top: 6px; }
.dial__out { min-height: 190px; }
.dial__place { font-size: clamp(24px, 3vw, 36px); margin-top: 6px; }
.dial__fact { margin-top: 14px; color: var(--text-soft); max-width: 46ch; }
@media (max-width: 700px) { .dial { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .dial__fact { margin-inline: auto; } .dial__out { min-height: 0; } }

/* ---------- 16. Sticky story ---------- */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: start; }
.story__sticky { position: sticky; top: 120px; }
.story__steps { display: grid; gap: clamp(28px, 5vw, 70px); }
.step { position: relative; padding-left: 62px; }
.step__num {
  position: absolute; left: 0; top: 2px;
  width: 44px; height: 44px; border-radius: 15px; display: grid; place-items: center;
  font-family: var(--f-display); font-weight: 800; font-size: 19px;
  background: rgba(245,185,33,.14); border: 1px solid rgba(245,185,33,.35); color: var(--gold-hi);
}
.step h3 { font-size: clamp(20px, 2.1vw, 26px); }
.step p { color: var(--text-soft); margin-top: 10px; }
@media (max-width: 860px) { .story { grid-template-columns: 1fr; } .story__sticky { position: static; } }

/* ---------- 17. Origin / people ---------- */
.person { display: grid; gap: 6px; }
.person__ava {
  width: 68px; height: 68px; border-radius: 22px; display: grid; place-items: center;
  font-family: var(--f-display); font-weight: 800; font-size: 25px;
  background: linear-gradient(160deg, var(--card-accent, var(--gold)), color-mix(in srgb, var(--card-accent, var(--gold)) 40%, #000));
  color: #16100A; margin-bottom: 12px;
  box-shadow: 0 10px 26px -8px color-mix(in srgb, var(--card-accent, var(--gold)) 70%, transparent);
}
.person h3 { font-size: 21px; }
.person__role { font-family: var(--f-roman); font-size: 11.5px; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--card-accent, var(--gold)); }
.person p { font-size: 15px; color: var(--text-soft); margin-top: 10px; }

/* ---------- 18. Facts / spec list ---------- */
.spec { display: grid; gap: 0; }
.spec div {
  display: grid; grid-template-columns: minmax(120px, 30%) 1fr; gap: 16px;
  padding: 16px 0; border-bottom: 1px solid var(--line);
}
.spec div:last-child { border-bottom: 0; }
.spec dt { font-family: var(--f-roman); font-size: 11.5px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--text-mute); padding-top: 4px; }
.spec dd { margin: 0; font-weight: 550; }

/* ---------- 19. Safety block ---------- */
.safe { display: grid; gap: 14px; }
.safe li {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px 18px; border-radius: var(--r-md);
  background: rgba(127,168,60,.09); border: 1px solid rgba(127,168,60,.26);
  list-style: none;
}
.safe svg { width: 22px; flex: none; color: #A8D55F; margin-top: 2px; }
.safe b { display: block; margin-bottom: 3px; }
.safe span { font-size: 14.5px; color: var(--text-soft); }

/* ---------- 20. Gallery ---------- */
.gal { columns: 2; column-gap: clamp(14px, 2vw, 22px); }
@media (min-width: 800px) { .gal { columns: 3; } }
.gal figure {
  break-inside: avoid; margin: 0 0 clamp(14px, 2vw, 22px);
  border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line);
  background: linear-gradient(180deg, #FBF6EA, #E9DCC4);
}
.gal img { width: 100%; }
.gal figcaption { padding: 12px 14px; font-size: 13px; color: #6B5836; font-weight: 600; background: #F3E9D6; }

/* ---------- 20b. Cast banner ---------- */
.cast-banner {
  margin: 0; border-radius: var(--r-xl); overflow: hidden;
  border: 1px solid var(--line-hi);
  box-shadow: var(--lift-2);
  position: relative; isolation: isolate;
}
.cast-banner img { width: 100%; display: block; }
.cast-banner::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(10,14,34,.30) 0%, transparent 22%, transparent 74%, rgba(10,14,34,.55) 100%);
}

/* ---------- 21. CTA band ---------- */
.band {
  position: relative; overflow: hidden; border-radius: var(--r-xl);
  border: 1px solid rgba(245,185,33,.3);
  background: linear-gradient(135deg, rgba(245,185,33,.16), rgba(138,70,192,.16) 55%, rgba(79,168,232,.16));
  padding: clamp(34px, 6vw, 76px) clamp(24px, 5vw, 68px);
  text-align: center;
}
.band::before {
  content: ""; position: absolute; inset: -40% -10% auto; height: 90%;
  background: radial-gradient(ellipse at 50% 0%, rgba(245,185,33,.36), transparent 62%);
  filter: blur(40px);
}
.band > * { position: relative; }
.band .btn-row { justify-content: center; margin-top: 30px; }

/* ---------- 22. Footer ---------- */
.ftr { border-top: 1px solid var(--line); background: rgba(5,8,20,.6); margin-top: clamp(40px,7vw,90px); }
.ftr__in { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: clamp(24px,4vw,48px); padding-block: clamp(44px,6vw,72px); }
.ftr h4 { font-family: var(--f-roman); font-size: 11.5px; font-weight: 700; letter-spacing: .2em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.ftr ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.ftr a { color: var(--text-soft); font-size: 15px; transition: color .2s var(--ease); }
.ftr a:hover { color: var(--gold-hi); }
.ftr__note { font-size: 14.5px; color: var(--text-mute); margin-top: 18px; max-width: 40ch; }
.ftr__legal {
  border-top: 1px solid var(--line); padding-block: 22px;
  display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between;
  font-size: 13px; color: var(--text-mute);
}
@media (max-width: 780px) { .ftr__in { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .ftr__in { grid-template-columns: 1fr; } }

/* ---------- 23. Scroll reveal ---------- */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .08s; } .rv-d2 { transition-delay: .16s; }
.rv-d3 { transition-delay: .24s; } .rv-d4 { transition-delay: .32s; }
.rv-d5 { transition-delay: .40s; } .rv-d6 { transition-delay: .48s; }

/* ---------- 24. Utilities ---------- */
.mt-1{margin-top:8px}.mt-2{margin-top:16px}.mt-3{margin-top:24px}.mt-4{margin-top:34px}.mt-5{margin-top:48px}
.mb-3{margin-bottom:24px}.mb-4{margin-bottom:34px}.mb-5{margin-bottom:48px}
.stack > * + * { margin-top: 18px; }
.vh { position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap }
.light-panel {
  background: linear-gradient(180deg, #FBF6EA, #EDE0C6);
  color: #2A2013; border-radius: var(--r-xl); border: 1px solid rgba(0,0,0,.08);
}
.light-panel .muted, .light-panel .soft { color: #6B5B3E; }
.light-panel h2, .light-panel h3 { color: #2A2013; }
.light-panel .eyebrow { color: #A8791A; }
.light-panel .eyebrow::before, .light-panel .eyebrow--center::after { background: linear-gradient(90deg, transparent, #A8791A); }

/* ---------- 25. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .rv { opacity: 1 !important; transform: none !important; }
  .grain { display: none; }
}
