/* Last Animals landing page. Warm black, bone text, ember accents; the art carries the color. */
:root {
  --ink: #0b0907;
  --ink-2: #14100c;
  --bone: #f1e8da;
  --muted: #a99d8b;
  --line: rgba(241, 232, 218, .14);
  --ember: #ff7a2f;
  --sun: #ffb24a;
  --blood: #c22a1f;
  --sans: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", "Noto Sans KR", system-ui, sans-serif;
  --serif: "Noto Serif KR", "Apple Myungjo", Georgia, serif;
  --display: Anton, "Bebas Neue", Impact, var(--sans);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --gut: max(20px, 5vw);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { background: var(--ink); overflow-x: clip; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ink); color: var(--bone);
  font: 400 17px/1.7 var(--sans); letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, blockquote, figure, dl, dd { margin: 0; }
button { font: inherit; color: inherit; }
::selection { background: var(--ember); color: var(--ink); }

/* language switch: both texts live in the page, one is shown */
html:not([data-l="ko"]) .t-ko, html:not([data-l="en"]) .t-en,
html:not([data-l="ja"]) .t-ja, html:not([data-l="zh"]) .t-zh { display: none !important; }
html[data-l="en"] body { letter-spacing: 0; }
html[data-l="ko"] body { word-break: keep-all; overflow-wrap: break-word; }
html[data-l="ja"], html[data-l="zh"] { line-break: strict; }
html[data-l="ja"] body, html[data-l="zh"] body { letter-spacing: .02em; }
html[data-l="ja"] {
  --sans: "Pretendard Variable", Pretendard, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
  --serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", Georgia, serif;
}
html[data-l="zh"] {
  --sans: "Pretendard Variable", Pretendard, "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  --serif: "Noto Serif TC", "Songti TC", "PMingLiU", Georgia, serif;
}

.grain {
  position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0%{background-position:0 0} 20%{background-position:-37px 21px} 40%{background-position:29px -43px} 60%{background-position:-19px -11px} 80%{background-position:41px 33px} 100%{background-position:0 0} }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; gap: 24px;
  padding: 14px var(--gut); padding-top: max(14px, env(safe-area-inset-top));
  transition: background .5s, backdrop-filter .5s, transform .5s var(--ease);
}
.nav.solid { background: rgba(11, 9, 7, .72); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); border-bottom: 1px solid var(--line); }
.nav.hide { transform: translateY(-100%); }
.nav-mark { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 400 19px/1 var(--display); letter-spacing: .08em; }
.nav-mark img { border-radius: 7px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; font-size: 14px; }
.nav-links a { text-decoration: none; color: var(--muted); transition: color .3s; }
.nav:not(.solid) .nav-links a { color: rgba(241,232,218,.85); text-shadow: 0 1px 10px rgba(0,0,0,.8); }
.nav-links a:hover { color: var(--bone); }
.nav-tools { display: flex; align-items: center; gap: 8px; }
.tool {
  display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 99px;
  background: rgba(241, 232, 218, .06); border: 1px solid var(--line); font-size: 13px; cursor: pointer;
  text-decoration: none; transition: background .3s, border-color .3s;
}
.tool:hover { background: rgba(241, 232, 218, .12); }
.tool svg { width: 15px; height: 15px; fill: currentColor; flex: none; }
.lang-menu { position: relative; }
.lang-list {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 150px; margin: 0; padding: 6px; list-style: none; border-radius: 14px;
  background: rgba(20, 16, 12, .96); border: 1px solid var(--line); box-shadow: 0 20px 50px -10px rgba(0,0,0,.8);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.lang-list[hidden] { display: none; }
.lang-list button { display: block; width: 100%; padding: 9px 12px; border: 0; border-radius: 9px; background: none; text-align: left; font-size: 14px; cursor: pointer; color: var(--muted); }
.lang-list button:hover, .lang-list button:focus-visible { background: rgba(241,232,218,.08); color: var(--bone); outline: none; }
.lang-list button[aria-current="true"] { color: var(--sun); font-weight: 700; }
.tool-cta { background: var(--bone); color: var(--ink); border-color: transparent; font-weight: 700; }
.tool-cta:hover { background: #fff; }
.eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; }
.eq i { width: 2px; height: 3px; background: currentColor; border-radius: 1px; transition: height .3s; }
#sound[aria-pressed="true"] .eq i { animation: eq .9s ease-in-out infinite; }
#sound[aria-pressed="true"] .eq i:nth-child(2) { animation-delay: -.3s; }
#sound[aria-pressed="true"] .eq i:nth-child(3) { animation-delay: -.6s; }
#sound[aria-pressed="true"] .eq i:nth-child(4) { animation-delay: -.15s; }
@keyframes eq { 0%,100%{height:3px} 50%{height:12px} }

/* ---------- shared type ---------- */
.eyebrow, .chapter-tag {
  font: 600 12px/1 var(--sans); letter-spacing: .32em; text-transform: uppercase; color: var(--sun);
}
.chapter-tag { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 28px; }
.chapter-tag::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.chapter-tag.red { color: #ff5a4a; }
h2 { font: 800 clamp(30px, 4.4vw, 58px)/1.22 var(--serif); letter-spacing: -.02em; text-wrap: balance; }
html[data-l="en"] h2 { font-weight: 600; }
.section-head { max-width: 760px; margin: 0 auto; padding: 0 var(--gut); text-align: center; }
.section-head .chapter-tag { justify-content: center; }
.section-head p:not(.chapter-tag) { margin-top: 20px; color: var(--muted); font-size: 18px; }

.btn {
  display: inline-flex; align-items: center; gap: 12px; min-width: 216px; padding: 12px 22px 12px 18px;
  border-radius: 14px; text-decoration: none; transition: transform .35s var(--ease), box-shadow .35s, background .3s;
}
.btn svg { width: 26px; height: 26px; fill: currentColor; flex: none; }
.btn span { display: flex; flex-direction: column; line-height: 1.2; text-align: left; }
.btn small { font-size: 11px; letter-spacing: .06em; opacity: .7; }
.btn b { font-size: 16px; font-weight: 700; }
.btn-primary { background: linear-gradient(180deg, #ffc163, #ff8a3a); color: #1a0d04; box-shadow: 0 10px 40px -10px rgba(255, 122, 47, .7), inset 0 1px 0 rgba(255,255,255,.5); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 50px -12px rgba(255, 122, 47, .85), inset 0 1px 0 rgba(255,255,255,.5); }
.btn-ghost { background: rgba(11, 9, 7, .45); border: 1px solid rgba(241, 232, 218, .25); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-ghost[aria-disabled="true"] { cursor: default; opacity: .72; }
.btn-ghost:not([aria-disabled="true"]):hover { transform: translateY(-2px); background: rgba(241, 232, 218, .1); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-row.center { justify-content: center; }

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

/* ---------- hero ---------- */
.hero { position: relative; height: 100svh; min-height: 640px; overflow: hidden; display: flex; align-items: flex-end; }
.hero-art, .hero-art img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-art img { object-fit: cover; object-position: 50% 38%; transform: scale(calc(1.12 - var(--hp, 0) * .06)) translateY(calc(var(--hs, 0) * 1px)); transform-origin: 50% 40%; }
.js .hero-art img { animation: settle 2.6s var(--ease) both; }
@keyframes settle { from { opacity: 0; filter: brightness(.3) blur(6px); } to { opacity: 1; filter: none; } }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11,9,7,.55) 0%, rgba(11,9,7,0) 22%, rgba(11,9,7,0) 45%, rgba(11,9,7,.78) 78%, var(--ink) 100%),
    radial-gradient(120% 80% at 50% 40%, transparent 50%, rgba(11,9,7,.55) 100%);
}
.embers { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-copy { position: relative; z-index: 2; width: 100%; padding: 0 var(--gut) clamp(84px, 12vh, 130px); }
.hero-copy .eyebrow { text-shadow: 0 1px 12px rgba(0,0,0,.9), 0 0 2px rgba(0,0,0,.8); }
.title { margin: 18px 0 18px; line-height: .9; }
.title-en {
  display: block; font: 400 clamp(64px, 11.5vw, 176px)/.88 var(--display); letter-spacing: .015em;
  background: linear-gradient(180deg, #fff6e8 0%, #f1e1c6 55%, #d6b88e 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 6px 30px rgba(0,0,0,.55));
}
.title-ko { display: block; margin-top: 14px; font: 600 clamp(18px, 2vw, 26px)/1 var(--serif); letter-spacing: .5em; color: var(--sun); }
.lead { max-width: 560px; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.65; color: rgba(241,232,218,.9); margin-bottom: 34px; text-shadow: 0 2px 20px rgba(0,0,0,.6); }
.js .rise { opacity: 0; transform: translateY(24px); animation: rise 1.2s var(--ease) var(--d, 0s) forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }
.scroll-cue {
  position: absolute; z-index: 3; right: var(--gut); bottom: 30px; display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
  font-size: 12px; letter-spacing: .14em; color: var(--muted); text-decoration: none;
}
.scroll-cue i { width: 1px; height: 52px; background: linear-gradient(var(--sun), transparent); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: #fff; animation: drip 2.2s var(--ease) infinite; }
@keyframes drip { to { top: 100%; } }

/* ---------- scrollytelling ---------- */
.scrolly { position: relative; height: calc(var(--len, 3) * 100svh); }
.stage { position: sticky; top: 0; height: 100svh; overflow: hidden; display: flex; align-items: center; }
.bg { position: absolute; inset: 0; background-size: cover; background-position: 50% 30%; }
.story-copy { position: relative; z-index: 4; width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 var(--gut); }
.story-copy.narrow { max-width: 820px; text-align: center; }
.story-copy.narrow .chapter-tag { justify-content: center; }
.beat {
  font: 400 clamp(20px, 2.3vw, 30px)/1.6 var(--serif); color: var(--bone); margin-top: 18px;
  opacity: .08; filter: blur(4px); transform: translateY(14px);
  transition: opacity 1s var(--ease), filter 1s var(--ease), transform 1s var(--ease);
}
.beat.on { opacity: 1; filter: none; transform: none; }
.beat.big { font-size: clamp(34px, 5vw, 68px); font-weight: 800; line-height: 1.2; }
.beat.sub { font: 400 clamp(16px, 1.5vw, 19px)/1.6 var(--sans); color: var(--muted); }
.no-js .beat, html:not(.js) .beat { opacity: 1; filter: none; transform: none; }

/* prologue */
.prologue { background: #050403; }
.prologue .bg { filter: saturate(1.1) brightness(calc(.35 + var(--p, 0) * .5)); transform: scale(calc(1.15 - var(--p, 0) * .12)); }
.prologue .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,4,3,.92) 0%, rgba(5,4,3,.55) 55%, rgba(5,4,3,.2) 100%), linear-gradient(0deg, #050403 0%, transparent 40%); }
.prologue .beat { max-width: 640px; }
.quote { margin-top: 44px !important; font: 800 clamp(40px, 6vw, 88px)/1.15 var(--serif) !important; letter-spacing: -.02em; color: #fff; }
.quote.on { text-shadow: 0 0 40px rgba(255, 90, 60, .35); }
.yunha {
  position: absolute; z-index: 2; right: min(-2vw, calc(40vw - 600px)); bottom: 0; height: 92%; width: auto; object-fit: contain;
  /* the portrait has a grey studio background: fade it out before every edge so no box line shows */
  --fade: radial-gradient(closest-side at 50% 46%, #000 50%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 24%, #000 68%, transparent 100%);
  -webkit-mask-image: var(--fade); -webkit-mask-composite: source-in;
  mask-image: var(--fade); mask-composite: intersect;
  filter: grayscale(.7) brightness(.7) contrast(1.1) sepia(.25);
  opacity: clamp(0, calc((var(--p, 0) - .42) * 3), .5); transform: translateX(calc((1 - var(--p, 0)) * 60px));
}
.cage { position: absolute; inset: 0; z-index: 3; pointer-events: none; display: flex; }
.bars {
  flex: 1; height: 100%;
  background: repeating-linear-gradient(90deg, transparent 0 calc(8vw - 14px), #1a1612 calc(8vw - 14px) calc(8vw - 9px), #3a332b calc(8vw - 9px) calc(8vw - 7px), #0e0c0a calc(8vw - 7px) 8vw);
  box-shadow: inset 0 40px 60px #050403, inset 0 -40px 60px #050403;
  transition: transform .2s linear;
}
.bars.left { transform: translateX(calc(var(--open, 0) * -100%)); }
.bars.right { transform: translateX(calc(var(--open, 0) * 100%)); }
.flash { position: absolute; inset: 0; z-index: 3; background: radial-gradient(60% 60% at 70% 50%, rgba(255,120,60,.18), transparent 70%); opacity: var(--open, 0); pointer-events: none; }

/* radio */
.radio-ch { background: var(--ink); }
.radio-ch .bg { filter: brightness(calc(.12 + var(--p, 0) * .35)) saturate(.9) blur(2px); transform: scale(1.06); }
.radio-ch .bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 70% at 50% 50%, rgba(11,9,7,.55), rgba(11,9,7,.95)); }
.radio {
  margin: 34px auto 6px; max-width: 520px; padding: 18px 20px 20px; border-radius: 18px; text-align: left;
  background: linear-gradient(180deg, rgba(40,32,24,.88), rgba(20,16,12,.92)); border: 1px solid rgba(255,178,74,.22);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.06);
  font-family: var(--sans);
}
.radio-top { display: flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .14em; color: var(--muted); }
.led { width: 8px; height: 8px; border-radius: 50%; background: #3d2a1a; }
.radio.on .led { background: #ff5a3a; box-shadow: 0 0 12px #ff5a3a; animation: blink 1.4s steps(2) infinite; }
@keyframes blink { 50% { opacity: .35; } }
.rec { margin-left: auto; color: var(--sun); }
.wave { display: block; width: 100%; height: 64px; margin: 12px 0 10px; }
.tx { min-height: 1.7em; font: 500 18px/1.6 ui-monospace, "SF Mono", Menlo, monospace; color: var(--sun); }
.tx::after { content: "▍"; margin-left: 2px; animation: blink 1s steps(2) infinite; color: var(--ember); }
.reveal-you { margin-top: 40px !important; }
.reveal-you em { display: inline-block; margin-top: 8px; font-style: normal; font-weight: 800; font-size: 1.5em; color: #fff; text-shadow: 0 0 40px rgba(255,178,74,.45); }

/* ---------- ARK ---------- */
.ark { position: relative; overflow-x: clip; padding: clamp(110px, 16vh, 180px) 0 0; background: radial-gradient(80% 60% at 70% 30%, rgba(120, 16, 10, .32), transparent 70%), var(--ink); }
.ark-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 96px); align-items: center; max-width: 1180px; margin: 0 auto; padding: 0 var(--gut); }
.ark-copy p:not(.chapter-tag) { margin-top: 24px; color: rgba(241,232,218,.78); font-size: 18px; max-width: 540px; }
.ark-copy p.strong { color: #fff; font: 600 clamp(19px, 1.8vw, 23px)/1.6 var(--serif); border-left: 2px solid var(--blood); padding-left: 18px; }
.dossier {
  position: relative; padding: 28px 28px 32px; border-radius: 6px; color: #2a1f16; transform: rotate(1.6deg);
  background: linear-gradient(180deg, #efe4cf, #e2d3b6); box-shadow: 0 40px 90px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(0,0,0,.2);
  font-family: var(--sans);
}
.dossier::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(60% 40% at 80% 90%, rgba(120,60,20,.18), transparent), radial-gradient(30% 20% at 15% 15%, rgba(120,60,20,.12), transparent); pointer-events: none; }
.dossier-head { display: flex; justify-content: space-between; font: 700 12px/1 var(--sans); letter-spacing: .24em; padding-bottom: 14px; border-bottom: 2px solid #2a1f16; }
.dossier-head span:nth-child(n+2) { color: #a8241a; }
.dossier-title { margin: 16px 0 18px; font: 700 18px/1.4 var(--serif); }
.dossier dl > div { display: grid; grid-template-columns: 88px 1fr; padding: 10px 0; border-bottom: 1px dashed rgba(42,31,22,.35); font-size: 15px; }
.dossier dt { color: #7a6650; font-size: 13px; letter-spacing: .06em; }
.dossier s { text-decoration: none; background: #17110c; color: transparent; border-radius: 2px; }
.vial { position: absolute; right: 26px; bottom: 30px; width: 22px; height: 70px; border: 2px solid rgba(42,31,22,.7); border-radius: 4px 4px 11px 11px; overflow: hidden; }
.vial i { position: absolute; left: 0; right: 0; bottom: 0; height: 0; background: linear-gradient(#e0402e, #8f150d); transition: height 2.4s var(--ease) .6s; }
.dossier.in .vial i { height: 62%; }
.stamp {
  position: absolute; right: 18px; top: 46%; padding: 6px 12px; border: 3px solid #b3261e; border-radius: 4px; color: #b3261e;
  font: 400 22px/1 var(--display); letter-spacing: .12em; transform: rotate(-14deg) scale(1.6); opacity: 0; transition: transform .5s cubic-bezier(.3,1.6,.5,1) 1s, opacity .2s 1s; mix-blend-mode: multiply;
}
.dossier.in .stamp { opacity: .85; transform: rotate(-14deg) scale(1); }
.meaning { text-align: center; padding: clamp(120px, 20vh, 220px) var(--gut) clamp(100px, 16vh, 180px); }
.meaning-word {
  font: 400 clamp(56px, 13vw, 210px)/.9 var(--display); letter-spacing: .02em; color: transparent;
  -webkit-text-stroke: 1px rgba(241,232,218,.35); background: linear-gradient(90deg, transparent, rgba(255,178,74,.9), transparent) no-repeat; background-size: 30% 100%; -webkit-background-clip: text; background-clip: text;
  animation: sweep 5s var(--ease) infinite;
}
@keyframes sweep { from { background-position: -40% 0; } to { background-position: 140% 0; } }
.meaning-line { margin-top: 34px; font: 400 clamp(22px, 2.8vw, 36px)/1.55 var(--serif); }
.meaning-line em { font-style: normal; font-weight: 800; color: var(--sun); }

/* ---------- squad ---------- */
.squad { position: relative; padding: clamp(100px, 14vh, 160px) 0; background: linear-gradient(180deg, var(--ink), #1a110a 50%, var(--ink)); overflow: hidden; }
.squad::before { content: ""; position: absolute; left: 50%; top: 58%; width: min(900px, 120vw); aspect-ratio: 1; transform: translate(-70%, -50%); background: radial-gradient(circle, rgba(255,140,50,.28), rgba(255,100,40,.08) 45%, transparent 70%); pointer-events: none; }
.squad-stage { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: center; max-width: 1180px; margin: 56px auto 0; padding: 0 var(--gut); }
.squad-art { position: relative; height: min(76vh, 720px); }
.hero-pick {
  position: absolute; left: 50%; bottom: 0; height: 100%; width: auto; max-width: none; transform: translate(-50%, 30px) scale(.96);
  opacity: 0; filter: drop-shadow(0 30px 40px rgba(0,0,0,.6)); transition: opacity .7s var(--ease), transform .9s var(--ease);
}
.hero-pick.on { opacity: 1; transform: translate(-50%, 0) scale(1); }
.squad-tabs { display: inline-flex; gap: 6px; padding: 6px; border-radius: 99px; background: rgba(241,232,218,.06); border: 1px solid var(--line); margin-bottom: 34px; }
.squad-tabs button { border: 0; background: none; padding: 9px 20px; border-radius: 99px; cursor: pointer; font-weight: 600; color: var(--muted); transition: background .35s, color .35s; }
.squad-tabs button[aria-selected="true"] { background: var(--bone); color: var(--ink); }
.bio { display: none; }
.bio.on { display: block; animation: bio .8s var(--ease); }
@keyframes bio { from { opacity: 0; transform: translateY(16px); } }
.bio-role { font-size: 13px; letter-spacing: .2em; color: var(--sun); text-transform: uppercase; }
.bio h3 { font: 400 clamp(56px, 7vw, 96px)/1 var(--display); letter-spacing: .02em; margin: 10px 0 18px; }
html:not([data-l="en"]) .bio h3 { font: 800 clamp(48px, 6vw, 80px)/1.05 var(--serif); }
.bio blockquote { font: 600 clamp(20px, 2vw, 26px)/1.5 var(--serif); color: #fff; margin-bottom: 18px; }
.bio p:last-child { color: rgba(241,232,218,.75); max-width: 480px; }
.more-friends { display: flex; align-items: center; gap: 18px; margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.shadows { display: flex; flex: none; }
.shadows i { width: 34px; height: 34px; margin-right: -8px; border-radius: 50%; background: radial-gradient(circle at 50% 35%, #3a2e24 0 30%, #1b1510 31%); border: 2px solid #1a110a; position: relative; }
.shadows i::after { content: "?"; position: absolute; inset: 0; display: grid; place-items: center; font: 700 13px/1 var(--sans); color: rgba(255,178,74,.6); }

/* ---------- gameplay ---------- */
.play { padding: clamp(100px, 14vh, 160px) 0 60px; }
.feature-wrap { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(32px, 5vw, 80px); max-width: 1320px; margin: 60px auto 0; padding: 0 var(--gut); }
.feature-media { position: sticky; top: calc(50svh - min(19vw, 300px)); align-self: start; }
.frame { position: relative; aspect-ratio: 20 / 9; border-radius: 22px; overflow: hidden; background: #000; box-shadow: 0 50px 100px -40px rgba(0,0,0,.95), 0 0 0 1px rgba(241,232,218,.12), 0 0 0 8px rgba(241,232,218,.03); }
.shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .8s var(--ease), transform 1.6s var(--ease); }
.shot.on { opacity: 1; transform: none; }
.feature-dots { display: flex; gap: 8px; list-style: none; padding: 0; margin: 20px 0 0; }
.feature-dots li { height: 3px; flex: 1; background: var(--line); border-radius: 2px; overflow: hidden; position: relative; }
.feature-dots li.on::after { content: ""; position: absolute; inset: 0; background: var(--sun); animation: fill .6s var(--ease); }
@keyframes fill { from { transform: scaleX(0); transform-origin: left; } }
.feature { min-height: 72svh; display: flex; flex-direction: column; justify-content: center; opacity: .25; transition: opacity .6s; }
.feature.on { opacity: 1; }
.feature .num { font: 400 15px/1 var(--display); letter-spacing: .2em; color: var(--sun); margin-bottom: 18px; }
.feature h3 { font: 800 clamp(26px, 2.6vw, 38px)/1.3 var(--serif); margin-bottom: 18px; text-wrap: balance; }
html[data-l="en"] .feature h3 { font-weight: 600; }
.feature p:last-child { color: rgba(241,232,218,.75); font-size: 18px; }
.shot-m { display: none; }

/* ---------- journey ---------- */
.journey { --len: 4.2; background: var(--ink); }
.journey .stage { flex-direction: column; align-items: stretch; justify-content: center; gap: 40px; }
.journey-head { padding: 0 var(--gut); }
.journey-head h2 { font-size: clamp(26px, 3.4vw, 46px); }
.track { display: flex; gap: 22px; padding: 0 var(--gut); will-change: transform; transform: translate3d(calc(var(--tx, 0) * 1px), 0, 0); }
.place { position: relative; flex: none; width: min(46vw, 620px); }
.place-art { aspect-ratio: 2 / 1; border-radius: 18px; background-size: 100% auto; background-position: 50% 8%; background-repeat: no-repeat; background-color: #0d0a08; filter: brightness(1.55) saturate(1.15) contrast(1.05); box-shadow: 0 0 0 1px var(--line); overflow: hidden; position: relative; }
.place-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11,9,7,.8), transparent 50%); }
.place figcaption { margin-top: 20px; max-width: 460px; }
.place h3 { font: 800 clamp(22px, 2vw, 28px)/1.3 var(--serif); margin-bottom: 8px; }
html[data-l="en"] .place h3 { font-weight: 600; }
.place p { color: var(--muted); font-size: 16px; }
.place-unknown .place-art { background: repeating-linear-gradient(45deg, rgba(241,232,218,.03) 0 12px, transparent 12px 24px), #120e0a; display: grid; place-items: center; }
.place-unknown .place-art::before { content: "?"; font: 400 120px/1 var(--display); color: rgba(255,178,74,.25); position: relative; z-index: 1; }
.place-unknown h3 { font-family: var(--display); color: var(--sun); }
.journey-bar { margin: 0 var(--gut); height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.journey-bar i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--ember), var(--sun)); transform-origin: left; transform: scaleX(var(--p, 0)); }

/* ---------- home ---------- */
.home { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; }
.home-art { position: absolute; inset: 0; }
.home-art img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 40%; }
.home-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,9,7,.1) 0%, rgba(11,9,7,.45) 38%, rgba(11,9,7,.92) 58%, rgba(11,9,7,.96) 100%), linear-gradient(0deg, var(--ink) 0%, transparent 25%, transparent 80%, var(--ink) 100%); }
.home-copy { position: relative; z-index: 2; width: min(560px, 100%); margin-left: auto; padding: 120px var(--gut); }
.home-copy p:not(.chapter-tag) { margin-top: 24px; color: rgba(241,232,218,.82); font-size: 18px; }
.home-shot { margin-top: 36px; border-radius: 14px; overflow: hidden; box-shadow: 0 30px 70px -20px rgba(0,0,0,.9), 0 0 0 1px var(--line); }

/* ---------- join ---------- */
.join { position: relative; min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; text-align: center; overflow: hidden; padding: 120px var(--gut) clamp(70px, 10vh, 110px);
  background: radial-gradient(70% 55% at 50% 38%, rgba(255,120,40,.35), rgba(120,40,10,.12) 50%, transparent 75%), linear-gradient(180deg, var(--ink), #1b0f07 60%, var(--ink)); }
.join-trio { width: auto; height: auto; max-width: min(820px, 96vw); max-height: 50svh; margin-bottom: 8px; filter: drop-shadow(0 40px 60px rgba(0,0,0,.7)); }
.join-copy { position: relative; z-index: 2; }
.radio-line { display: inline-flex; align-items: center; gap: 10px; font: 500 15px/1 ui-monospace, "SF Mono", Menlo, monospace; color: var(--sun); padding: 10px 16px; border-radius: 99px; background: rgba(11,9,7,.6); border: 1px solid rgba(255,178,74,.25); }
.radio-line .dot { width: 8px; height: 8px; border-radius: 50%; background: #ff5a3a; box-shadow: 0 0 10px #ff5a3a; animation: blink 1.4s steps(2) infinite; }
.join h2 { margin: 22px 0 34px; font-size: clamp(36px, 5.4vw, 76px); }
.fine { margin-top: 30px; font-size: 13px; line-height: 1.8; color: var(--muted); }

/* ---------- footer ---------- */
.foot { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; padding: 40px var(--gut) max(40px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.foot-brand svg { display: block; width: 104px; height: 31px; color: var(--bone); opacity: .85; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { color: var(--bone); }
.copy { margin-left: auto; font-size: 13px; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-tools { margin-left: auto; }
  .ark-inner, .squad-stage { grid-template-columns: 1fr; }
  .dossier { max-width: 460px; margin: 0 auto; }
  .squad-art { height: 56vh; }
  .squad-info { text-align: center; }
  .bio p:last-child { margin: 0 auto; }
  .more-friends { justify-content: center; text-align: left; }
  .feature-wrap { grid-template-columns: 1fr; }
  .feature-media { display: none; }
  .feature { min-height: 0; opacity: 1; padding: 0 0 72px; }
  .shot-m { display: block; width: 100%; aspect-ratio: 20 / 9; object-fit: cover; border-radius: 14px; margin-bottom: 26px; box-shadow: 0 0 0 1px var(--line); }
  .place { width: 80vw; }
  .place-art { aspect-ratio: 4 / 5; background-size: cover; background-position: 50% 20%; }
  .home-art img { object-position: 22% 40%; }
  .home-art::after { background: linear-gradient(0deg, var(--ink) 0%, rgba(11,9,7,.9) 45%, rgba(11,9,7,.2) 75%, var(--ink) 100%); }
  .home { align-items: flex-end; }
  .home-copy { margin: 0 auto; padding-top: 40vh; }
}
@media (max-width: 759px) {
  body { font-size: 16px; }
  .nav { gap: 10px; padding-left: 16px; padding-right: 16px; }
  .nav-mark span { display: none; }
  .tool { padding: 0 11px; }
  #sound > span:not(.eq) { display: none; }
  #lang > span { display: none !important; }
  .hero { min-height: 600px; }
  .hero-art img { object-position: 50% 30%; }
  .hero-copy { padding: 0 16px 104px; text-align: center; }
  .title-ko { letter-spacing: .36em; }
  .lead { margin-left: auto; margin-right: auto; }
  .cta-row { justify-content: center; }
  .btn { width: 100%; max-width: 340px; }
  .scroll-cue { right: 50%; transform: translateX(50%); bottom: 22px; align-items: center; gap: 8px; font-size: 11px; white-space: nowrap; }
  .scroll-cue i { height: 36px; }
  .story-copy { padding: 0 16px; }
  .yunha { height: 62%; right: -18vw; }
  .prologue .bg::after { background: linear-gradient(0deg, rgba(5,4,3,.95) 0%, rgba(5,4,3,.6) 60%, rgba(5,4,3,.35) 100%); }
  .bars { background: repeating-linear-gradient(90deg, transparent 0 calc(16vw - 12px), #1a1612 calc(16vw - 12px) calc(16vw - 8px), #3a332b calc(16vw - 8px) calc(16vw - 6px), #0e0c0a calc(16vw - 6px) 16vw); }
  .radio { padding: 14px 16px 16px; }
  .tx { font-size: 16px; }
  .section-head, .journey-head, .track, .join, .foot { padding-left: 16px; padding-right: 16px; }
  .journey-bar { margin: 0 16px; }
  .foot { flex-direction: column; align-items: flex-start; }
  .copy { margin-left: 0; }
}

/* ---------- reduced motion: everything shown, nothing pinned ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .grain, .js .rise, .js .hero-art img, .meaning-word, .scroll-cue i::after { animation: none !important; opacity: 1; transform: none; }
  .js .rise { opacity: 1; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .beat { opacity: 1; filter: none; transform: none; }
  .scrolly { height: auto; }
  .stage { position: relative; height: auto; min-height: 100svh; padding: 120px 0; }
  .cage { display: none; }
  .yunha { opacity: .4; }
  .journey .track { flex-wrap: wrap; transform: none; }
  .place { width: min(100%, 420px); }
}
