/* ==========================================================================
   MOA Characters — Interactive Animation Showcase
   --------------------------------------------------------------------------
   1. Tokens
   2. Base
   3. Shared components (eyebrow, buttons, reveal, chips)
   4. Navigation
   5. Opening (path animation)
   6. Journey path (continuous road behind the page)
   7. Concept
   8. Meet the characters
   9. Character sections
   10. Finale + footer
   11. Lightbox
   12. Responsive
   13. Reduced motion
   ========================================================================== */


/* 1. TOKENS ---------------------------------------------------------------- */
:root {
  --paper:      #f6f4ef;   /* warm off-white, sits under the pencil drawings */
  --paper-2:    #eeebe3;
  --ink:        #1b1b1a;
  --ink-soft:   #5c5a55;
  --line:       rgba(27, 27, 26, .14);
  --accent:     #00b3e6;   /* MOA "Pure blue", used as the single accent */

  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-hand:    "Patrick Hand", "Comic Sans MS", cursive;

  --pad-x: clamp(24px, 6vw, 96px);
  --nav-h: 68px;
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
}


/* 2. BASE ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-display);
  font-variation-settings: "wdth" 100;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video, svg { display: block; max-width: 100%; }

/* Character crops are transparent PNGs. Videos may arrive on white: multiply melts them into the frame. */
.char__video { mix-blend-mode: multiply; }

a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

.hand { font-family: var(--font-hand); font-weight: 400; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }


/* 3. SHARED COMPONENTS ----------------------------------------------------- */
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 28px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: .01em;
  transition: background .3s, gap .3s var(--ease-out);
}
.btn svg { width: 40px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn:hover { background: var(--accent); gap: 20px; }

.text-btn {
  background: none;
  border: 0;
  padding: 6px 0;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  border-bottom: 1px solid currentColor;
}
.text-btn:hover { color: var(--ink); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  font-family: var(--font-hand);
  font-size: 19px;
  line-height: 1;
  padding: 9px 16px 8px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
}

/* Scroll-triggered entrance (class toggled by IntersectionObserver) */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 110ms);
}
.reveal.is-in { opacity: 1; transform: none; }

/* Two-line display headings */
.line { display: block; }
.line--accent { color: var(--accent); }


/* 4. NAVIGATION ------------------------------------------------------------ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 var(--pad-x);
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transform: translateY(-100%);
  transition: transform .5s var(--ease-out);
}
.nav.is-visible { transform: none; }

.nav__brand { display: flex; align-items: baseline; gap: 10px; }
.nav__brand-mark { font-weight: 800; font-size: 20px; letter-spacing: .04em; font-variation-settings: "wdth" 125; }
.nav__brand-sub { font-family: var(--font-hand); font-size: 18px; color: var(--ink-soft); }

.nav__links { display: flex; gap: 6px; }
.nav__link {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink-soft);
  transition: color .25s, background .25s;
}
.nav__num { font-size: 11px; font-weight: 500; opacity: .7; }
.nav__link:hover { color: var(--ink); }
.nav__link.is-active { color: var(--paper); background: var(--ink); }
.nav__link.is-active .nav__num { color: var(--accent); opacity: 1; }

.nav__progress {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
}
.nav__progress span {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--accent);
  transform-origin: left;
  transform: scaleX(0);
}


/* 5. OPENING --------------------------------------------------------------- */
.opening {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: clamp(28px, 5vh, 56px) var(--pad-x) clamp(24px, 4vh, 40px);
  overflow: hidden;
}

.opening__question {
  font-weight: 800;
  font-variation-settings: "wdth" 115;
  font-size: clamp(30px, 4.4vw, 64px);
  line-height: 1;
  letter-spacing: -.02em;
  text-transform: uppercase;
  max-width: 16ch;
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
.opening__question .hand {
  display: block;
  text-transform: none;
  font-size: .55em;
  letter-spacing: 0;
  color: var(--accent);
  margin-bottom: .15em;
}
.opening:not(.is-started) .opening__question { opacity: 0; transform: translateY(16px); }

.opening__stage {
  position: relative;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.opening__stage svg { width: 100%; height: 100%; max-height: 74vh; overflow: visible; }

/* The drawn road line */
.op-path {
  fill: none;
  stroke: var(--ink);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke .8s, stroke-width .8s, opacity .8s;
}
.op-path--ghost { stroke: var(--line); stroke-width: 2; stroke-dasharray: 2 10; }
.opening.is-done .op-path:not(.op-path--ghost):not(.op-gesture) { stroke: var(--accent); stroke-width: 2; opacity: .55; }

.op-dot { fill: var(--accent); }
.opening.is-done .op-path--ghost { opacity: 0; }
.opening.is-done .op-dot { opacity: 0; transition: opacity .6s; }

/* Characters revealed on the path */
.op-char {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: 50% 100%;
  transform: scale(.86) translateY(12px);
  transition: opacity .8s var(--ease-out), transform .9s var(--ease-spring);
}
.op-char.is-in { opacity: 1; transform: none; }
.op-char.is-in:hover { transform: translateY(-8px); transition-duration: .4s; }

.op-label {
  opacity: 0;
  transition: opacity .6s .25s;
}
.op-char.is-in + .op-label { opacity: 1; }
.op-label__name { font: 800 28px var(--font-display); letter-spacing: .08em; fill: var(--ink); }
.op-label__role { font: 22px var(--font-hand); fill: var(--ink-soft); }

/* Gesture segment fades back once the real drawing appears */
.op-gesture { transition: opacity .8s; }
.op-gesture.is-faded { opacity: 0; }

.opening__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-hand);
  font-size: 22px;
}
.scroll-cue__line {
  width: 2px; height: 42px;
  background: linear-gradient(var(--accent) 0 50%, transparent 50%) 0 0 / 100% 200%;
  animation: cue 1.6s var(--ease-out) infinite;
}
@keyframes cue { from { background-position: 0 100%; } to { background-position: 0 -100%; } }


/* 6. JOURNEY PATH ---------------------------------------------------------- */
.journey { position: relative; }

.journey__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  z-index: 0;
}
.journey__track { fill: none; stroke: var(--line); stroke-width: 2; stroke-dasharray: 2 10; stroke-linecap: round; }
.journey__drawn { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.journey__dot   { fill: var(--accent); }

.journey > section { position: relative; z-index: 1; }

/* Anchor points the road passes through (invisible, except .stop) */
.anchor { position: absolute; width: 1px; height: 1px; pointer-events: none; }
.anchor--l { left: max(18px, calc(var(--pad-x) * .4)); }
.anchor--r { right: max(18px, calc(var(--pad-x) * .4)); }
.anchor--c { left: 50%; }
.anchor--gl { left: 0; }
.anchor--gr { right: 0; }
.anchor--top { top: 56px; }
.anchor--bottom { bottom: 56px; }
.anchor--ground { bottom: 22px; }

/* Numbered "stop" on the road at the start of each character */
.stop::after {
  content: attr(data-stop);
  position: absolute;
  left: 50%; top: 50%;
  width: 38px; height: 38px;
  margin: -19px 0 0 -19px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--accent);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
}


/* 7. CONCEPT --------------------------------------------------------------- */
.concept {
  padding: clamp(100px, 16vh, 180px) var(--pad-x);
}
.concept__inner { max-width: 1200px; margin: 0 auto; }

.concept__title {
  margin: 22px 0 32px;
  font-weight: 800;
  font-variation-settings: "wdth" 112;
  font-size: clamp(42px, 8.2vw, 132px);
  line-height: .92;
  letter-spacing: -.03em;
  text-transform: uppercase;
}

.concept__body {
  max-width: 56ch;
  font-size: clamp(18px, 1.5vw, 22px);
  color: var(--ink-soft);
}

.concept__steps {
  margin-top: clamp(48px, 8vh, 88px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 3vw, 48px);
  max-width: 820px;
}
.concept__steps li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  font-size: 22px;
  border-top: 1.5px solid var(--ink);
  padding-top: 18px;
}
.mini-path { width: 120px; height: 80px; fill: none; stroke: var(--ink); stroke-width: 2.5; stroke-linecap: round; }
.mini-path path { stroke-dasharray: 260; stroke-dashoffset: 260; transition: stroke-dashoffset 1.6s var(--ease-out) .3s; }
.concept__steps.is-in .mini-path path { stroke-dashoffset: 0; }
.concept__steps li:nth-child(2) .mini-path path { transition-delay: .8s; }
.mini-char { height: 80px; width: auto; opacity: 0; transform: translateY(8px); transition: opacity .8s 1.4s, transform .8s 1.4s var(--ease-spring); }
.concept__steps.is-in .mini-char { opacity: 1; transform: none; }


/* 8. MEET THE CHARACTERS --------------------------------------------------- */
.meet {
  padding: clamp(90px, 14vh, 160px) var(--pad-x);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.meet__head { max-width: 900px; display: flex; flex-direction: column; align-items: center; }

.meet__title {
  margin: 20px 0 24px;
  font-weight: 900;
  font-variation-settings: "wdth" 125;
  font-size: clamp(52px, 10.5vw, 176px);
  line-height: .86;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.meet__intro { max-width: 50ch; font-size: clamp(17px, 1.4vw, 20px); color: var(--ink-soft); }

.meet__grid {
  width: 100%;
  max-width: 1280px;
  margin: clamp(48px, 8vh, 96px) 0 clamp(40px, 6vh, 72px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 2vw, 28px);
}

.meet__link {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 16px 26px;
  border-radius: 28px;
  transition: background .35s;
}
.meet__link:hover { background: var(--paper-2); }

.meet__num {
  position: absolute;
  top: 16px; left: 20px;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
}
.meet__img {
  height: clamp(220px, 30vw, 400px);
  width: auto;
  margin-bottom: 20px;
  transition: transform .6s var(--ease-spring);
}
.meet__link:hover .meet__img { transform: translateY(-10px) rotate(-1.5deg); }

.meet__name {
  font-weight: 800;
  font-variation-settings: "wdth" 120;
  font-size: clamp(22px, 2.2vw, 32px);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.meet__role { font-family: var(--font-hand); font-size: 19px; color: var(--ink-soft); line-height: 1.2; }


/* 9. CHARACTER SECTIONS ---------------------------------------------------- */
.char {
  padding: clamp(80px, 12vh, 140px) var(--pad-x) clamp(80px, 12vh, 140px);
  min-height: 100vh;
}

.char__layout {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 88px);
  align-items: center;
}
.char--flip .char__media { order: 2; }

/* Video frame — the main visual focus */
.video-frame {
  position: relative;
  margin: 0;
  aspect-ratio: 9 / 16;      /* matches the Higgsfield 9:16 renders */
  max-height: 84vh;
  width: auto;
  height: 84vh;
  justify-self: center;
  border-radius: 32px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 1px 0 var(--line), 0 30px 80px -40px rgba(27, 27, 26, .35);
  opacity: 0;
  transform: translateY(40px) scale(.97);
  transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out);
}
.char.is-in .video-frame { opacity: 1; transform: none; }

.char__video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0;
  background: #fff;
}

/* Shown only when the mp4 can't be loaded (JS adds .is-missing) */
.video-frame__missing {
  position: absolute;
  left: 18px; right: 18px; top: 18px;
  display: none;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-radius: 14px;
  border: 1.5px dashed var(--accent);
  background: rgba(255, 255, 255, .9);
  font-size: 18px;
}
.video-frame__missing code { font-size: 13px; color: var(--ink-soft); }
.video-frame.is-missing .video-frame__missing { display: flex; }
/* Placeholder: gently animate the poster so the layout still feels alive */
.video-frame.is-missing .char__video { animation: idle 3.2s ease-in-out infinite; }
@keyframes idle { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-1.6%); } }

.char__copy { display: flex; flex-direction: column; gap: 28px; }

.char__index { font-size: 14px; font-weight: 500; color: var(--ink-soft); }
.char__index span { color: var(--accent); font-weight: 700; }

/* Big expressive name. Letters are split by JS (data-split) for per-character motion. */
.char__name {
  font-weight: 900;
  font-variation-settings: "wdth" 125;
  font-size: clamp(64px, 11vw, 196px);
  line-height: .82;
  letter-spacing: -.04em;
  text-transform: uppercase;
  margin: -8px 0 -4px;
  white-space: nowrap;
}
.char__name .ch {
  display: inline-block;
  opacity: 0;
  transform: translateY(60%);
  transition: opacity .6s var(--ease-out), transform .9s var(--ease-spring);
  transition-delay: calc(var(--i) * 55ms);
}
.char.is-in .char__name .ch { opacity: 1; transform: none; }

/* Each name moves in its character's own way once revealed */
.char.is-in .char__name--sassy  .ch { animation: strut  3.4s ease-in-out infinite; animation-delay: calc(1.2s + var(--i) * 90ms); }
.char.is-in .char__name--energy .ch { animation: bounce 1.1s var(--ease-out) infinite; animation-delay: calc(1.2s + var(--i) * 70ms); }
.char.is-in .char__name--craving .ch { animation: wobble 2.6s ease-in-out infinite; animation-delay: calc(1.2s + var(--i) * 120ms); }
.char.is-in .char__name--fun    .ch { animation: jiggle 1.6s ease-in-out infinite; animation-delay: calc(1.2s + var(--i) * 150ms); }

@keyframes strut  { 0%, 100% { transform: skewX(0); } 25% { transform: skewX(-8deg); } 75% { transform: skewX(4deg); } }
@keyframes bounce { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-14%); } }
@keyframes wobble { 0%, 100% { transform: rotate(0); } 30% { transform: rotate(-5deg) translateY(-3%); } 60% { transform: rotate(3deg); } }
@keyframes jiggle { 0%, 100% { transform: rotate(0) scale(1); } 25% { transform: rotate(-7deg) scale(1.04); } 75% { transform: rotate(7deg) scale(1.04); } }

.char__desc { max-width: 42ch; font-size: clamp(18px, 1.45vw, 21px); }

/* Info panel */
.info-panel {
  margin: 0;
  border-top: 1.5px solid var(--ink);
}
.info-panel > div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.info-panel dt { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); padding-top: 2px; }
.info-panel dd { margin: 0; font-weight: 500; }

.char__copy > * { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.char.is-in .char__copy > * { opacity: 1; transform: none; }
.char.is-in .char__copy > :nth-child(3) { transition-delay: .35s; }
.char.is-in .char__copy > :nth-child(4) { transition-delay: .45s; }
.char.is-in .char__copy > :nth-child(5) { transition-delay: .55s; }
.char__copy > .char__name { opacity: 1; transform: none; } /* name animates per letter instead */

/* Model sheet strip */
.char__sheet {
  max-width: 1320px;
  margin: clamp(48px, 8vh, 88px) auto 0;
}
.sheet-thumb {
  position: relative;
  display: block;
  width: 100%;
  padding: clamp(20px, 3vw, 40px);
  border: 1.5px solid var(--ink);
  border-radius: 24px;
  background: #fff;
  cursor: zoom-in;
  transition: transform .4s var(--ease-out), box-shadow .4s;
}
.sheet-thumb img { width: 100%; max-height: 380px; object-fit: contain; }
.sheet-thumb:hover { transform: translateY(-4px); box-shadow: 0 20px 50px -30px rgba(27, 27, 26, .4); }
.sheet-thumb__cta {
  position: absolute;
  right: 18px; bottom: 14px;
  font-family: var(--font-hand);
  font-size: 18px;
  color: var(--accent);
}


/* 10. FINALE --------------------------------------------------------------- */
.finale {
  padding: clamp(110px, 16vh, 180px) var(--pad-x) 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.finale__title {
  font-weight: 900;
  font-variation-settings: "wdth" 125;
  font-size: clamp(44px, 9vw, 160px);
  line-height: .88;
  letter-spacing: -.035em;
  text-transform: uppercase;
}

.finale__lineup {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: clamp(48px, 9vh, 100px) 0 clamp(32px, 5vh, 56px);
  padding-bottom: 40px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: clamp(8px, 3vw, 56px);
}
.finale__lineup { flex-direction: column; align-items: center; }
.finale__film {
  margin: 0;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 32px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 0 var(--line), 0 30px 80px -40px rgba(27, 27, 26, .35);
}
.finale__video { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.finale__names { display: flex; justify-content: center; gap: clamp(20px, 6vw, 96px); font-family: var(--font-hand); font-size: 22px; color: var(--ink-soft); }
.finale__names a:hover { color: var(--accent); }
.finale__char { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.finale__char img {
  height: clamp(170px, 26vw, 360px);
  width: auto;
  transition: transform .5s var(--ease-spring);
}
.finale__char.is-in img { animation: hop 4.8s ease-in-out infinite; animation-delay: calc(var(--d) * 1.2s + 1s); }
.finale__char:hover img { transform: translateY(-14px); }
.finale__char span { font-family: var(--font-hand); font-size: 20px; color: var(--ink-soft); }
@keyframes hop { 0%, 18%, 100% { transform: translateY(0); } 6% { transform: translateY(-16px); } 12% { transform: translateY(0); } }

.finale__sub { max-width: 44ch; font-size: clamp(17px, 1.4vw, 20px); color: var(--ink-soft); }

.footer {
  width: 100%;
  max-width: 1320px;
  margin-top: clamp(80px, 14vh, 140px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--ink-soft);
}


/* 11. LIGHTBOX ------------------------------------------------------------- */
.lightbox {
  width: min(96vw, 1600px);
  max-height: 92vh;
  padding: 0;
  border: 0;
  border-radius: 20px;
  background: #fff;
  overflow: auto;
}
.lightbox::backdrop { background: rgba(27, 27, 26, .72); backdrop-filter: blur(4px); }
.lightbox img { width: 100%; height: auto; }
.lightbox__close {
  position: sticky;
  top: 12px;
  float: right;
  margin: 12px 12px -56px 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 0;
  background: var(--ink);
  color: var(--paper);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}


/* 12. RESPONSIVE ----------------------------------------------------------- */
@media (max-width: 1000px) {
  .char__layout { grid-template-columns: 1fr; }
  .char--flip .char__media { order: 0; }
  .video-frame { width: min(100%, 420px); height: auto; max-height: none; aspect-ratio: 9 / 16; margin: 0 auto; }
  .meet__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  :root { --nav-h: 104px; }

  .nav {
    flex-wrap: wrap;
    align-content: center;
    gap: 6px 12px;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .nav__links {
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
    margin: 0 -8px;
  }
  .nav__links::-webkit-scrollbar { display: none; }
  .nav__link { padding: 8px 11px; font-size: 14px; flex: 0 0 auto; }
  .video-frame__missing { flex-wrap: wrap; font-size: 16px; }

  .opening__stage svg { max-height: 68vh; }
  .op-label__name { font-size: 46px; }
  .op-label__role { font-size: 36px; }

  .concept__steps { grid-template-columns: 1fr; max-width: 300px; }

  .meet__img { height: 200px; }
  .meet__role { font-size: 17px; }

  .char__name { font-size: clamp(56px, 19vw, 120px); }
  .info-panel > div { grid-template-columns: 96px 1fr; gap: 10px; }

  .finale__lineup { gap: 4px; }
  .finale__char img { height: 34vw; }
  .finale__char span { font-size: 15px; }

  .footer { flex-direction: column; gap: 12px; align-items: center; }

  .stop::after { width: 30px; height: 30px; margin: -15px 0 0 -15px; font-size: 11px; }
}


@media (max-width: 420px) {
  .nav__num { display: none; }
}


/* 13. REDUCED MOTION ------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
}
