/* EL works — Created to create
   Cinematic dark system. Stills-first billboard, hover-only previews.
   ─────────────────────────────────────────────────────────────── */
@font-face {
  font-family: "Pretendard";
  src: url("../fonts/Pretendard.woff2") format("woff2-variations"), url("../fonts/Pretendard.woff2") format("woff2");
  font-weight: 45 920;
  font-display: swap;
}
@font-face { font-family: "Big Shoulders Display"; src: url("../fonts/BigShouldersDisplay-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/IBMPlexMono-400-latin.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/IBMPlexMono-500-latin.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/InstrumentSerif-latin.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/InstrumentSerif-italic-latin.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --bg: #070b0b;
  --bg-1: #0c1313;
  --bg-2: #121b1b;
  --bg-3: #1a2525;
  --ink: #ecf2f0;
  --ink-2: #b4c0bd;
  --ink-3: #7d8a87;
  --line: rgba(236, 242, 240, 0.12);
  --line-strong: rgba(236, 242, 240, 0.32);
  --tq: #19b8b0;
  --tq-hi: #52dcd3;
  --pink: #ff5a92;
  --pink-deep: #1a0a12;
  --paper: #f6f7f5;

  --f-sans: "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", "Noto Sans JP", system-ui, sans-serif;
  --f-display: "Big Shoulders Display", "Pretendard", sans-serif;
  --f-serif: "Instrument Serif", "Times New Roman", serif;
  --f-mono: "IBM Plex Mono", "Pretendard", ui-monospace, "SF Mono", Menlo, monospace;

  --ease: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --header-h: 68px;
  --gutter: clamp(16px, 4vw, 64px);
  --max: 1520px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); background: var(--bg); }
body {
  margin: 0;
  font-family: var(--f-sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  letter-spacing: -0.01em;
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
::selection { color: var(--bg); background: var(--tq-hi); }
body.menu-open, body.no-scroll { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a, button { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, h4, p, dl, dd, figure, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
strong { font-weight: 700; color: var(--ink); }
em { font-style: normal; }
svg { display: block; }
:focus-visible { outline: 2px solid var(--tq-hi); outline-offset: 4px; border-radius: 3px; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; top: 8px; left: 8px; z-index: 200; padding: 10px 14px; background: var(--paper); color: var(--bg); border-radius: 6px; transform: translateY(-200%); }
.skip:focus { transform: none; }
.mono { font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; }

/* press feedback on pointer-down */
.btn, .btn-play, .btn-ghost, .link-arrow, .copy-btn, .draft-btn, .menu-btn, .header-cta, .tile, .top, .el-toggle, .hud-bars button, .hud-pause, .row-nav button {
  transition: transform 120ms ease-out, background-color 200ms ease, color 200ms ease, border-color 200ms ease, opacity 150ms ease;
}
.btn:active, .btn-play:active, .btn-ghost:active, .link-arrow:active, .copy-btn:active, .draft-btn:active, .header-cta:active, .el-toggle:active, .row-nav button:active { transform: scale(0.97); }

/* ── Ident (studio card, first visit) ─────────────── */
.ident { display: none; }
html.js.play-ident .ident {
  position: fixed; inset: 0; z-index: 300; display: grid; place-content: center; justify-items: center; gap: 18px;
  background: var(--bg); color: var(--ink);
  animation: ident-out 0.6s 2.5s var(--ease) forwards;
}
.ident-mark { width: clamp(72px, 9vw, 116px); overflow: visible; }
.ident-mark path { fill: none; stroke: currentColor; stroke-width: 18; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.ident-mark .id-e { animation: draw 0.7s 0.15s var(--ease) forwards; }
.ident-mark .id-stem { animation: draw 0.35s 0.8s var(--ease-out) forwards; }
.ident-mark .id-leaf { stroke: none; fill: var(--tq); transform-box: fill-box; transform-origin: 0% 100%; transform: scale(0) rotate(-40deg); animation: leaf 0.55s 1.1s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; }
.ident-word { font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -0.03em; font-weight: 400; clip-path: inset(0 100% 0 0); animation: wipe 0.6s 1.35s var(--ease) forwards; }
.ident-word b { font-weight: 800; }
.ident-tc { position: absolute; bottom: 28px; left: 50%; translate: -50% 0; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em; color: var(--ink-3); }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes leaf { to { transform: none; } }
@keyframes wipe { to { clip-path: inset(0 -5% 0 0); } }
@keyframes ident-out { to { opacity: 0; visibility: hidden; } }

/* ── Header ─────────────────────────────────────── */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  display: flex; align-items: center; gap: 28px;
  padding: 0 var(--gutter);
  background: linear-gradient(to bottom, rgba(7, 11, 11, 0.85), rgba(7, 11, 11, 0));
  transition: background-color 0.35s ease, backdrop-filter 0.35s ease;
}
.header.is-scrolled { background-color: rgba(7, 11, 11, 0.9); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); }
.wordmark { display: inline-flex; align-items: center; gap: 8px; }
.wm-note { width: 26px; height: 27px; color: var(--ink); }
.wordmark-text { font-size: 20px; letter-spacing: -0.035em; font-weight: 400; line-height: 1; }
.wordmark-text b { font-weight: 800; }
.nav { display: flex; gap: 22px; }
.header { text-shadow: 0 1px 12px rgba(0, 0, 0, 0.55); }
.header-cta { text-shadow: none; }
.nav a { font-size: 14.5px; color: var(--ink-2); position: relative; padding: 6px 0; }
.nav a:hover, .nav a.is-current { color: var(--ink); }
.nav a.is-current::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--tq); }
.header-end { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.lang { font-size: 13px; color: var(--ink-2); }
.lang:hover { color: var(--ink); }
.header-cta { font-size: 13.5px; font-weight: 600; padding: 8px 14px; border-radius: 999px; background: var(--ink); color: var(--bg); }
.header-cta:hover { background: var(--tq-hi); }
.menu-btn { display: none; width: 44px; height: 44px; place-items: center; margin-right: -10px; }
.menu-icon { position: relative; width: 22px; height: 12px; }
.menu-icon i { position: absolute; left: 0; right: 0; height: 2px; background: currentColor; border-radius: 2px; transition: transform 0.3s var(--ease), top 0.3s var(--ease); }
.menu-icon i:first-child { top: 0; } .menu-icon i:last-child { top: 10px; }
.menu-btn[aria-expanded="true"] .menu-icon i:first-child { top: 5px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-icon i:last-child { top: 5px; transform: rotate(-45deg); }

.menu { position: fixed; inset: 0; z-index: 90; padding: calc(var(--header-h) + 16px) var(--gutter) 40px; background: var(--bg); visibility: hidden; clip-path: inset(0 0 100% 0); transition: clip-path 0.5s var(--ease), visibility 0s 0.5s; }
.menu.is-open { visibility: visible; clip-path: inset(0 0 0 0); transition: clip-path 0.6s var(--ease); }
.menu-list { display: grid; }
.menu-list a { display: flex; align-items: baseline; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-family: var(--f-display); font-weight: 800; font-size: clamp(36px, 10vw, 56px); line-height: 1; text-transform: uppercase; opacity: 0; transform: translateY(16px); transition: opacity 0.3s, transform 0.3s; }
.menu-list a span { font-family: var(--f-mono); font-size: 11px; font-weight: 500; color: var(--tq-hi); letter-spacing: 0.08em; min-width: 22px; }
.menu.is-open .menu-list a { opacity: 1; transform: none; transition: opacity 0.5s calc(0.15s + var(--i) * 0.04s), transform 0.6s calc(0.15s + var(--i) * 0.04s) var(--ease-out); }

/* ── Billboard ──────────────────────────────────── */
.bb { position: relative; height: 100svh; min-height: 560px; max-height: 1100px; overflow: hidden; background: var(--bg); isolation: isolate; }
.bb-track { position: absolute; inset: 0; }
.bb-slide { position: absolute; inset: 0; visibility: hidden; opacity: 0; transition: opacity 0.9s ease, visibility 0s 0.9s; }
.bb-slide.is-active { visibility: visible; opacity: 1; transition: opacity 0.9s ease; z-index: 1; }
.bb-media { position: absolute; inset: 0; }
.bb-media > img, .bb-media picture img, picture.bb-media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; }
/* slow push-in while a slide is on screen (compositor-only transform) */
.bb-slide .bb-media { transform: scale(1.06); transition: transform 7.5s linear; }
.bb-slide.is-active .bb-media { transform: scale(1); }
.bb-slide::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(7, 11, 11, 0.92) 0%, rgba(7, 11, 11, 0.62) 34%, rgba(7, 11, 11, 0) 64%),
    linear-gradient(0deg, var(--bg) 0%, rgba(7, 11, 11, 0) 34%); }
.bb-copy { position: absolute; z-index: 2; left: var(--gutter); bottom: clamp(104px, 16vh, 170px); width: min(640px, 88vw); }
.bb-kicker { display: flex; flex-wrap: wrap; row-gap: 4px; align-items: center; gap: 12px; font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 16px; }
.orig { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 500; }
.orig svg { width: 16px; height: 17px; color: var(--ink); }
.orig-plain { padding: 2px 8px; border: 1px solid var(--line-strong); border-radius: 3px; }
.bb-title { display: flex; flex-direction: column; line-height: 0.86; margin-bottom: 20px; }
.kt { font-weight: 900; font-size: clamp(76px, 12vw, 176px); letter-spacing: -0.04em; line-height: 0.95; }
.kt-sm { font-size: clamp(28px, 3.4vw, 48px); letter-spacing: -0.03em; font-weight: 700; margin-top: 10px; color: var(--ink-2); }
.bb-en { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: clamp(28px, 3.6vw, 52px); letter-spacing: 0.02em; color: transparent; -webkit-text-stroke: 1.2px var(--ink); }
.bb-en-solid { color: var(--ink); -webkit-text-stroke: 0; font-size: clamp(64px, 9.4vw, 148px); font-weight: 900; letter-spacing: -0.005em; }
.bb-en-xl { color: var(--ink); -webkit-text-stroke: 0; font-size: clamp(110px, 17vw, 260px); font-weight: 900; line-height: 0.8; }
.bb-title-img img { width: min(520px, 76vw); height: auto; filter: drop-shadow(0 6px 30px rgba(0, 0, 0, 0.5)); }
.bb-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 14px; color: var(--ink-2); margin-bottom: 14px; }
.bb-meta span + span::before { content: ""; display: inline-block; width: 3px; height: 3px; border-radius: 50%; background: var(--ink-3); margin-right: 14px; vertical-align: middle; }
.bb-meta .new + span::before { display: none; }
.new { font-family: var(--f-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.1em; color: var(--bg); background: var(--tq-hi); padding: 2px 7px; border-radius: 3px; }
.bb-desc { font-size: clamp(15px, 1.25vw, 18px); line-height: 1.6; color: var(--ink); max-width: 34em; margin-bottom: 26px; text-wrap: pretty; }
.bb-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-play, .btn-ghost { display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 0 24px 0 20px; border-radius: 6px; font-size: 16px; font-weight: 700; }
.btn-play { background: var(--ink); color: var(--bg); }
.btn-play:hover { background: rgba(236, 242, 240, 0.8); }
.btn-play svg { width: 24px; height: 24px; fill: currentColor; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn-play svg path[d^="M5 12"] { fill: none; }
.btn-pink { background: var(--pink); color: #fff; }
.btn-pink:hover { background: #ff7aa7; }
.btn-ghost { background: rgba(125, 138, 135, 0.38); color: var(--ink); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(125, 138, 135, 0.55); }
.btn-ghost svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }

/* split-letter entrance (letters rise through a mask when a slide becomes active) */
.ch { display: inline-block; }
html.js .bb-slide [data-split] .ch { transform: translateY(0.35em); opacity: 0; clip-path: inset(0 0 100% 0); }
html.js .bb-slide.is-active [data-split] .ch { transform: none; opacity: 1; clip-path: inset(-20% -10% -20% -10%); transition: transform 0.8s calc(0.25s + var(--ci) * 0.035s) var(--ease-out), opacity 0.5s calc(0.25s + var(--ci) * 0.035s), clip-path 0.8s calc(0.25s + var(--ci) * 0.035s) var(--ease-out); }
html.js .bb-slide .bb-kicker, html.js .bb-slide .bb-meta, html.js .bb-slide .bb-desc, html.js .bb-slide .bb-actions, html.js .bb-slide .bb-title-img { opacity: 0; transform: translateY(14px); }
html.js .bb-slide.is-active .bb-kicker, html.js .bb-slide.is-active .bb-meta, html.js .bb-slide.is-active .bb-desc, html.js .bb-slide.is-active .bb-actions, html.js .bb-slide.is-active .bb-title-img { opacity: 1; transform: none; transition: opacity 0.6s ease, transform 0.8s var(--ease-out); }
html.js .bb-slide.is-active .bb-kicker { transition-delay: 0.1s; }
html.js .bb-slide.is-active .bb-title-img { transition-delay: 0.3s; }
html.js .bb-slide.is-active .bb-meta { transition-delay: 0.55s; }
html.js .bb-slide.is-active .bb-desc { transition-delay: 0.65s; }
html.js .bb-slide.is-active .bb-actions { transition-delay: 0.75s; }

/* composed slides */
.bb-compose-im { background: radial-gradient(120% 90% at 78% 40%, #3a0f24 0%, #1a0a12 45%, var(--bg) 80%); overflow: hidden; }
.im-bigtype { position: absolute; right: -2vw; top: 50%; translate: 0 -54%; font-family: var(--f-display); font-weight: 900; font-size: clamp(120px, 19vw, 330px); line-height: 0.78; text-align: right; color: transparent; -webkit-text-stroke: 1px rgba(255, 90, 146, 0.28); letter-spacing: -0.01em; white-space: nowrap; }
.im-fan { position: absolute; right: 7vw; top: 50%; translate: 0 -52%; display: flex; }
.im-fan img { width: clamp(150px, 15vw, 250px); aspect-ratio: 9 / 16; object-fit: cover; object-position: top; border-radius: clamp(14px, 1.4vw, 24px); border: 1px solid rgba(255, 255, 255, 0.14); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); }
.im-fan img:nth-child(1) { transform: translate(34%, 8%) rotate(-7deg); }
.im-fan img:nth-child(2) { position: relative; z-index: 2; transform: translateY(-4%); }
.im-fan img:nth-child(3) { transform: translate(-34%, 8%) rotate(7deg); }
.bb-slide-im::after { background: linear-gradient(90deg, rgba(7, 11, 11, 0.9) 0%, rgba(7, 11, 11, 0.4) 40%, rgba(7, 11, 11, 0) 60%), linear-gradient(0deg, var(--bg) 0%, rgba(7, 11, 11, 0) 30%); }
.bb-compose-posters { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; padding: 0 0 0 30vw; transform-origin: 80% 50%; background: var(--bg); }
.bb-compose-posters img { width: 100%; height: 100%; object-fit: cover; }
.bb-compose-posters img:nth-child(odd) { translate: 0 -6%; }
.bb-compose-posters img:nth-child(even) { translate: 0 6%; }
.bb-compose-web { background: radial-gradient(90% 90% at 75% 45%, #0f2b2a 0%, var(--bg) 70%); }
.bb-compose-web .browser { position: absolute; width: min(56vw, 900px); }
.bb-compose-web .b1 { right: 14vw; top: 16%; transform: rotate(-2deg); }
.bb-compose-web .b2 { right: 3vw; top: 38%; transform: rotate(2.5deg); }

/* frame HUD */
.crop { position: absolute; z-index: 3; width: 22px; height: 22px; border: 0 solid rgba(236, 242, 240, 0.5); pointer-events: none; }
.crop-tl { left: calc(var(--gutter) - 8px); top: calc(var(--header-h) + 8px); border-left-width: 1px; border-top-width: 1px; }
.crop-tr { right: calc(var(--gutter) - 8px); top: calc(var(--header-h) + 8px); border-right-width: 1px; border-top-width: 1px; }
.bb-hud { position: absolute; z-index: 3; left: var(--gutter); right: var(--gutter); bottom: 34px; display: flex; align-items: center; gap: 18px; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em; color: var(--ink-2); }
.hud-sc b { color: var(--ink); font-weight: 500; }
.hud-bars { flex: 1; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; max-width: 520px; }
.hud-bars button { height: 22px; display: grid; align-items: center; }
.hud-bars i { display: block; height: 2px; background: rgba(236, 242, 240, 0.22); overflow: hidden; border-radius: 2px; }
.hud-bars i::after { content: ""; display: block; height: 100%; background: var(--ink); transform-origin: left; transform: scaleX(0); }
.hud-bars button.is-done i::after { transform: scaleX(1); }
.hud-bars button[aria-selected="true"] i::after { animation: bar var(--dur, 7s) linear forwards; }
.bb.is-paused .hud-bars button[aria-selected="true"] i::after { animation-play-state: paused; }
.hud-bars button:hover i { background: rgba(236, 242, 240, 0.45); }
@keyframes bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hud-tc { margin-left: auto; font-variant-numeric: tabular-nums; }
.hud-pause { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; }
.hud-pause:hover { border-color: var(--ink); color: var(--ink); }
.hud-pause svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.hud-pause .i-play { display: none; fill: currentColor; }
.bb.is-paused .hud-pause .i-pause { display: none; }
.bb.is-paused .hud-pause .i-play { display: block; }

/* ── Ticker ─────────────────────────────────────── */
.ticker { overflow: hidden; border-block: 1px solid var(--line); padding: 14px 0; background: var(--bg); }
.ticker-run { display: flex; width: max-content; gap: 28px; align-items: center; animation: tick 38s linear infinite; }
.ticker span { font-family: var(--f-display); font-weight: 800; font-size: clamp(34px, 4.6vw, 64px); line-height: 1; text-transform: uppercase; letter-spacing: 0.01em; }
.ticker span.o { color: transparent; -webkit-text-stroke: 1px var(--ink-2); }
.ticker i { font-style: normal; color: var(--tq); font-size: 22px; }
@keyframes tick { to { transform: translateX(-50%); } }
.ticker:hover .ticker-run { animation-play-state: paused; }

/* ── Statement ──────────────────────────────────── */
.statement { padding: clamp(96px, 16vh, 180px) var(--gutter) clamp(72px, 12vh, 140px); max-width: var(--max); margin: 0 auto; }
.statement-line { font-size: clamp(34px, 5.4vw, 88px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.12; max-width: 15em; text-wrap: balance; }
.statement-sub { margin-top: 36px; font-size: clamp(17px, 1.6vw, 22px); color: var(--ink-2); display: flex; align-items: center; gap: 16px; }
.statement-sub::before { content: ""; flex: 0 0 48px; height: 1px; background: var(--tq); }
/* scroll-lit statement: words light up as the line passes through the viewport */
html.js [data-lit] .w { opacity: 0.18; transition: opacity 0.35s ease; }
html.js [data-lit] .w.on { opacity: 1; }

/* ── Rows (shared) ──────────────────────────────── */
.row-section, .feature { position: relative; }
.row { position: relative; margin-top: clamp(40px, 6vh, 64px); }
.row-head { display: flex; align-items: baseline; gap: 16px; padding: 0 var(--gutter); margin-bottom: 14px; }
.row-head h3 { font-size: clamp(19px, 1.6vw, 24px); font-weight: 700; letter-spacing: -0.02em; }
.row-count { color: var(--ink-3); }
.row-nav { margin-left: auto; display: flex; gap: 6px; }
.row-nav button { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--ink-2); }
.row-nav button:hover { color: var(--ink); border-color: var(--ink); }
.row-nav button:disabled { opacity: 0.25; pointer-events: none; }
.row-nav svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rail { display: flex; gap: clamp(8px, 0.8vw, 12px); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding: 14px var(--gutter) 26px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail > li { flex: 0 0 auto; scroll-snap-align: start; }

/* tiles */
.tile { position: relative; display: block; overflow: hidden; border-radius: 6px; background: var(--bg-2); text-align: left; transform-origin: center; }
.tile img, .tile video { width: 100%; height: 100%; object-fit: cover; }
.tile video { position: absolute; inset: 0; opacity: 0; transition: opacity 0.35s ease; }
.tile video.is-on { opacity: 1; }
.tile::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06); pointer-events: none; }
.tile-info { position: absolute; inset: auto 0 0; z-index: 2; display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; padding: 34px 12px 10px; background: linear-gradient(to top, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0)); font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em; color: var(--ink-2); }
.tile-info b { color: var(--ink); font-weight: 500; }
.tile-info .tc-live { color: var(--tq-hi); font-variant-numeric: tabular-nums; }
.tile-info .tc-live::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: #ff4d4d; vertical-align: 1px; }
.tile-play { position: absolute; z-index: 2; top: 10px; right: 10px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: rgba(236, 242, 240, 0.92); color: var(--bg); opacity: 0; transform: scale(0.85); transition: opacity 0.25s, transform 0.3s var(--ease-out); }
.tile-play svg { width: 14px; height: 14px; fill: currentColor; margin-left: 2px; }
@media (hover: hover) and (pointer: fine) {
  .tile:hover { transform: scale(1.045); z-index: 3; transition: transform 0.35s var(--ease-out); }
  .tile:hover .tile-play { opacity: 1; transform: none; }
}
.tile:active { transform: scale(0.98); }
.rail-wide .tile { width: clamp(260px, 26vw, 420px); aspect-ratio: 16 / 9; }
.rail-tall .tile { width: clamp(150px, 13vw, 210px); aspect-ratio: 9 / 16; }
.rail-poster .tile { width: clamp(160px, 14vw, 230px); aspect-ratio: 2 / 3; }
.rail-poster .tile-info { flex-direction: column; align-items: flex-start; gap: 2px; }
.rail-poster .tile-info b { font-family: var(--f-display); font-size: 28px; font-weight: 800; letter-spacing: 0.01em; line-height: 1; font-variant-numeric: tabular-nums; }
.rail-phone .phone { width: clamp(170px, 15vw, 240px); }
.phone { display: block; }
.phone-shot { position: relative; aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.14); background: var(--bg-2); }
.phone-shot img { width: 100%; height: 100%; object-fit: cover; }
.phone figcaption { display: flex; gap: 8px; margin-top: 10px; font-size: 14px; color: var(--ink-2); }
.phone figcaption span { font-family: var(--f-mono); font-size: 11px; color: var(--pink); letter-spacing: 0.06em; padding-top: 3px; }

/* ── What we do / top 5 ─────────────────────────── */
.wwd { padding-top: clamp(20px, 4vh, 40px); padding-bottom: clamp(40px, 8vh, 90px); }
.wwd-head { padding: 0 var(--gutter); display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 40px; }
.motto { font-family: var(--f-serif); font-size: clamp(34px, 4.4vw, 68px); line-height: 1.1; letter-spacing: -0.01em; display: flex; flex-wrap: wrap; gap: 0 0.28em; }
.motto-fixed { font-style: italic; color: var(--ink-2); }
.rotator { position: relative; display: inline-grid; overflow: hidden; height: 1.12em; color: var(--tq-hi); }
.rotator-word { grid-area: 1 / 1; transform: translateY(105%); transition: transform 0.7s var(--ease); white-space: nowrap; }
.rotator-word.is-current { transform: none; }
.rotator-word.is-leaving { transform: translateY(-105%); }
.rail-top { gap: 0; padding-top: 30px; padding-bottom: 44px; }
.top { display: flex; align-items: flex-end; padding-right: clamp(12px, 2vw, 28px); }
.top-no { font-family: var(--f-display); font-weight: 900; font-size: clamp(150px, 15vw, 250px); line-height: 0.8; color: var(--bg); -webkit-text-stroke: 2px rgba(236, 242, 240, 0.55); margin-right: -0.1em; align-self: flex-end; translate: 0 0.05em; letter-spacing: -0.06em; transition: -webkit-text-stroke-color 0.3s; }
.top-card { position: relative; width: clamp(150px, 13vw, 210px); aspect-ratio: 2 / 3; border-radius: 6px; overflow: hidden; background: var(--bg-2); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5); transition: transform 0.35s var(--ease-out); }
.top-card img { width: 100%; height: 100%; object-fit: cover; }
.top-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0) 52%); }
.top-name { position: absolute; z-index: 2; left: 12px; right: 12px; bottom: 34px; font-family: var(--f-display); font-weight: 900; font-size: 30px; line-height: 1; text-transform: uppercase; }
.top-meta { position: absolute; z-index: 2; left: 12px; right: 12px; bottom: 12px; font-size: 12px; color: var(--ink-2); line-height: 1.3; }
@media (hover: hover) and (pointer: fine) {
  .top:hover .top-card { transform: translateY(-6px); }
  .top:hover .top-no { -webkit-text-stroke-color: var(--tq-hi); }
}
.top-card-type { background: repeating-linear-gradient(0deg, var(--bg-2) 0 2px, var(--bg-1) 2px 4px); display: grid; place-items: center; }
.type-poster { position: absolute; inset: 0 0 30%; display: grid; place-content: center; text-align: center; font-family: var(--f-display); font-weight: 900; line-height: 0.82; font-size: 64px; }
.type-poster b:last-of-type { color: transparent; -webkit-text-stroke: 1px var(--ink); }
.type-poster small { font-family: var(--f-mono); font-size: 10px; font-weight: 400; letter-spacing: 0.14em; color: var(--tq-hi); margin-top: 12px; text-transform: uppercase; }

/* ── Features (shared) ──────────────────────────── */
.feature { padding: clamp(96px, 14vh, 160px) 0 clamp(64px, 10vh, 120px); border-top: 1px solid var(--line); overflow: hidden; isolation: isolate; }
.feature-bg { position: absolute; inset: 0 0 auto; height: min(92vh, 900px); z-index: -1; pointer-events: none; }
.feature-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.feature-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0%, rgba(7, 11, 11, 0) 22%, rgba(7, 11, 11, 0.2) 60%, var(--bg) 100%), linear-gradient(90deg, var(--bg) 0%, rgba(7, 11, 11, 0.85) 30%, rgba(7, 11, 11, 0) 75%); }
.feature-bg-soft img { opacity: 0.6; object-position: 30% 40%; }
.feature-head { padding: 0 var(--gutter); max-width: var(--max); }
.giant { font-family: var(--f-display); font-weight: 900; font-size: clamp(88px, 14vw, 240px); line-height: 0.78; letter-spacing: -0.01em; text-transform: uppercase; margin-left: -0.04em; }
.giant-outline { color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.giant-md { font-size: clamp(56px, 7.5vw, 128px); line-height: 0.84; }
.feature-sub { margin-top: 22px; color: var(--ink-2); font-size: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.feature-title { font-size: clamp(26px, 2.8vw, 42px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.25; text-wrap: balance; }
.prose { color: var(--ink-2); font-size: 17px; line-height: 1.8; }
.prose p + p { margin-top: 1em; }
.prose em { color: var(--ink); font-style: italic; }
.muted { color: var(--ink-3); font-size: 14px; }
.status { display: inline-flex; align-items: center; gap: 7px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.06em; color: var(--ink-2); padding: 3px 9px; border: 1px solid var(--line-strong); border-radius: 999px; }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #e7b54c; }
.status-live::before { background: var(--tq-hi); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line-strong); padding-bottom: 3px; }
.link-arrow::after { content: "→"; transition: transform 0.25s var(--ease-out); }
.link-arrow:hover { border-color: var(--tq-hi); }
.link-arrow:hover::after { transform: translateX(4px); }
.frame-label { position: absolute; z-index: 2; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em; color: var(--ink); background: rgba(7, 11, 11, 0.55); padding: 4px 8px; border-radius: 3px; }
.frame-label-tl { top: 12px; left: 12px; }
.frame-label-br { bottom: 12px; right: 12px; color: var(--ink-2); }

/* reveal */
html.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity 0.7s ease, transform 0.8s var(--ease-out); }
html.js .reveal.in { opacity: 1; transform: none; }
html.js .feature-head [data-split] .ch, html.js .video-inner [data-split] .ch { display: inline-block; transform: translateY(0.5em); opacity: 0; }
html.js .feature-head.in [data-split] .ch, html.js .video-inner.in [data-split] .ch { transform: none; opacity: 1; transition: transform 0.9s calc(var(--ci) * 0.04s) var(--ease-out), opacity 0.6s calc(var(--ci) * 0.04s); }
/* heading cuts: one entrance per section, each a different edit */
html.js [data-cut] { clip-path: inset(0 100% 0 0); }
html.js [data-cut="right"] { clip-path: inset(0 0 0 100%); }
html.js [data-cut="up"] { clip-path: inset(100% 0 0 0); transform: translateY(0.12em); }
html.js .in [data-cut] { clip-path: inset(-12% -4% -12% -4%); transform: none; transition: clip-path 0.9s var(--ease), transform 0.9s var(--ease-out); }
html.js .in [data-cut="right"] { transition-delay: 0.12s; }
html.js .in [data-cut="steps"] { transition: clip-path 0.5s steps(6, end); }

/* ── Music ─────────────────────────────────────── */
.music .feature-bg img { object-position: 60% 30%; opacity: 0.5; }
.music-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 88px); padding: clamp(48px, 8vh, 88px) var(--gutter) 0; max-width: var(--max); align-items: start; }
.music-copy .prose { margin-top: 22px; }
.tracks { margin-top: 36px; border-top: 1px solid var(--line); }
.tracks li { display: grid; grid-template-columns: 38px 1fr auto; gap: 12px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); }
.tr-no { font-family: var(--f-mono); font-size: 12px; color: var(--ink-3); }
.tr-name { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; }
.tr-name em { font-family: var(--f-serif); font-style: italic; font-weight: 400; color: var(--ink-3); margin-left: 6px; font-size: 19px; }
.tr-tag { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.06em; color: var(--ink-3); }
.tracks li:first-child .tr-no, .tracks li:first-child .tr-tag { color: var(--tq-hi); }
.mv-card { position: sticky; top: calc(var(--header-h) + 24px); }
.mv-frame { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; }
.mv-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-out); }
.mv-frame:hover img { transform: scale(1.03); }
.mv-play { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 78px; height: 78px; border-radius: 50%; display: grid; place-items: center; background: rgba(236, 242, 240, 0.94); color: var(--bg); transition: transform 0.3s var(--ease-out); }
.mv-frame:hover .mv-play { transform: scale(1.08); }
.mv-play svg { width: 28px; height: 28px; fill: currentColor; margin-left: 4px; }
.mv-card figcaption { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 12px 24px; margin-top: 20px; }
.lyric { grid-column: 1 / -1; font-size: clamp(32px, 3.6vw, 56px); font-weight: 200; letter-spacing: -0.04em; line-height: 1.1; }
.credit { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.05em; color: var(--ink-3); }
.photo-strip { display: grid; grid-template-columns: 2.2fr 1fr 1.2fr; gap: 10px; padding: clamp(56px, 9vh, 100px) var(--gutter) 0; align-items: end; }
.photo-strip figure { overflow: hidden; border-radius: 6px; }
.photo-strip img { width: 100%; height: 100%; object-fit: cover; }
.photo-strip figure:nth-child(1) { aspect-ratio: 16 / 10; }
.photo-strip figure:nth-child(2) { aspect-ratio: 2 / 3; }
.photo-strip figure:nth-child(3) { aspect-ratio: 1; }

/* ── Animation ─────────────────────────────────── */
.anim { background: linear-gradient(180deg, transparent 0%, #0b0d14 60%, var(--bg) 100%); }
.title-art img { width: min(760px, 86vw); height: auto; margin-left: -1%; filter: drop-shadow(0 8px 40px rgba(0, 0, 0, 0.55)); }
.anim-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(24px, 5vw, 80px); padding: clamp(40px, 7vh, 80px) var(--gutter) 0; max-width: var(--max); align-items: start; }
.serif-quote { font-size: clamp(48px, 6.6vw, 104px); font-weight: 150; line-height: 1.05; color: #f3e6cf; letter-spacing: -0.04em; }
.serif-quote small { display: block; margin-top: 14px; font-family: var(--f-serif); font-style: italic; font-size: 0.34em; letter-spacing: 0; color: var(--ink-3); }

/* ── ISOI ──────────────────────────────────────── */
.isoi-head { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: clamp(24px, 5vw, 80px); align-items: end; }
.isoi-copy .prose { margin-top: 16px; }

/* ── Games ─────────────────────────────────────── */
.game { background: radial-gradient(70% 60% at 85% 20%, rgba(255, 90, 146, 0.16), transparent 70%), linear-gradient(180deg, var(--pink-deep) 0%, var(--bg) 100%); }
.game .phone figcaption span { color: var(--pink); }
.giant-game { display: flex; flex-direction: column; gap: 0.05em; font-size: clamp(64px, 11.5vw, 210px); }
.giant-game > span:last-child { color: transparent; -webkit-text-stroke: 1.5px var(--pink); }
.game-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 88px); padding: clamp(48px, 8vh, 88px) var(--gutter) 0; max-width: var(--max); align-items: center; }
.game-poster { border-radius: 8px; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 90, 146, 0.25); }
.game-copy .prose { margin-top: 22px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 36px 0 22px; border-top: 1px solid var(--line); }
.stats div { padding: 16px 0 0; }
.stats div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.stats dt { font-size: 13px; color: var(--ink-3); }
.stats dd { font-family: var(--f-display); font-weight: 900; font-size: clamp(64px, 7vw, 112px); line-height: 0.9; font-variant-numeric: tabular-nums; }

/* ── Video ─────────────────────────────────────── */
.video { padding-block: clamp(80px, 12vh, 140px); }
.video-inner { padding: 0 var(--gutter); max-width: var(--max); }
.video-copy { display: grid; grid-template-columns: max-content minmax(0, 36em); gap: 20px; align-items: start; margin-top: 28px; }
.video-copy .status { justify-self: start; margin-top: 4px; }
.slate { display: flex; flex-wrap: wrap; margin-top: 36px; border: 1px solid var(--line-strong); width: max-content; max-width: 100%; }
.slate span { padding: 10px 16px; color: var(--ink-2); }
.slate span + span { border-left: 1px solid var(--line-strong); }

/* ── Websites ──────────────────────────────────── */
.browser { display: block; border-radius: 10px; overflow: hidden; background: #0f1515; border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); }
.browser-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #1a2222; }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); }
.browser-bar .url { margin-left: 12px; font-family: var(--f-mono); font-size: 11px; color: var(--ink-3); letter-spacing: 0.04em; }
.browser img { width: 100%; }
.cases { display: grid; gap: clamp(64px, 10vh, 120px); padding: clamp(56px, 9vh, 100px) var(--gutter) 0; max-width: var(--max); }
.case { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.case-rev { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
.case-rev .browser { order: 2; }
.case .browser-lg { transition: transform 0.5s var(--ease-out); }
.case a.browser-lg:hover { transform: translateY(-6px); }
.case-no { color: var(--tq-hi); margin-bottom: 12px; }
.case-copy h3 { font-size: clamp(22px, 2vw, 30px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.3; margin-bottom: 14px; }
.case-copy p:not(.case-no) { color: var(--ink-2); margin-bottom: 20px; }
.web-info { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); padding: clamp(64px, 10vh, 120px) var(--gutter) 0; max-width: var(--max); }
.sub-label { font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 16px; }
.steps { counter-reset: step; border-top: 1px solid var(--line); }
.steps li { counter-increment: step; display: grid; grid-template-columns: 44px 1fr; padding: 16px 0; border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--f-mono); font-size: 12px; color: var(--tq-hi); padding-top: 0.35em; }
.note { margin-top: 16px; font-size: 14px; color: var(--ink-3); }
.guide li { position: relative; padding: 10px 0 10px 20px; color: var(--ink-2); border-bottom: 1px solid var(--line); }
.guide li::before { content: ""; position: absolute; left: 2px; top: 1.3em; width: 6px; height: 6px; border-radius: 50%; background: var(--tq); }
.btn { display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 26px; margin-top: 28px; border-radius: 6px; background: var(--ink); color: var(--bg); font-weight: 700; font-size: 16px; }
.btn:hover { background: var(--tq-hi); }

/* ── About ─────────────────────────────────────── */
.about { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 88px); padding: clamp(96px, 14vh, 160px) var(--gutter); border-top: 1px solid var(--line); max-width: var(--max); }
.el-reveal { position: sticky; top: calc(var(--header-h) + 32px); }
.el-toggle { display: flex; flex-wrap: wrap; column-gap: 0.12em; align-items: baseline; text-align: left; font-family: var(--f-display); font-weight: 900; font-size: clamp(64px, 8vw, 128px); line-height: 0.86; text-transform: uppercase; }
.el-letter { display: inline-flex; align-items: baseline; }
.el-rest { display: inline-block; max-width: 0; overflow: hidden; white-space: nowrap; color: var(--tq-hi); font-weight: 600; opacity: 0; transition: max-width 0.6s var(--ease), opacity 0.35s ease; font-size: 0.5em; }
.el-toggle[aria-expanded="true"] .el-rest { max-width: 6em; opacity: 1; }
@media (hover: hover) { .el-toggle:hover .el-rest { max-width: 6em; opacity: 1; } }
.el-works { flex-basis: 100%; color: transparent; -webkit-text-stroke: 1.2px var(--ink); }
.el-hint { flex-basis: 100%; font-family: var(--f-mono); font-size: 11px; font-weight: 400; letter-spacing: 0.08em; color: var(--ink-3); margin-top: 16px; text-transform: none; }
@media (hover: hover) { .el-hint { display: none; } }
.about-body .prose { margin-top: 28px; }
.about-body .prose .s { display: block; text-wrap: balance; }
.prose-close { color: var(--ink); font-weight: 600; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; border-top: 1px solid var(--line); }
.values li { padding-top: 18px; display: grid; gap: 6px; }
.values strong { font-size: 18px; }
.values span { font-size: 14.5px; color: var(--ink-2); line-height: 1.65; }
.about-photo { margin-top: 48px; }
.about-photo img { border-radius: 8px; }
.about-photo figcaption { margin-top: 10px; font-size: 13px; color: var(--ink-3); }
/* founder profile: same grammar as the Music track list (mono year · line · mono tag), wider year column */
.bio { margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--line-strong); }
.bio-kicker { color: var(--tq-hi); }
.bio-name { margin-top: 10px; font-size: clamp(28px, 3vw, 40px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.bio-name em { font-family: var(--f-serif); font-style: italic; font-weight: 400; color: var(--ink-3); margin-left: 8px; letter-spacing: 0; }
.bio-lead { margin-top: 14px; max-width: 40em; color: var(--ink-2); line-height: 1.7; text-wrap: pretty; }
.bio-list { margin-top: 28px; }
.bio-list li { grid-template-columns: 7em minmax(0, 1fr) auto; }
.bio-list .tr-no { white-space: nowrap; }
.bio-list .tr-name { font-size: 16px; font-weight: 500; letter-spacing: -0.01em; text-wrap: pretty; }
.bio-more { margin-top: 14px; font-size: 14.5px; color: var(--ink-2); }
@media (max-width: 760px) {
  .bio-list li { grid-template-columns: 6.2em minmax(0, 1fr); row-gap: 4px; }
  .bio-list .tr-tag { grid-column: 2; }
}

/* ── Contact ───────────────────────────────────── */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); padding: clamp(96px, 14vh, 160px) var(--gutter); border-top: 1px solid var(--line); background: radial-gradient(60% 70% at 10% 90%, rgba(25, 184, 176, 0.12), transparent 70%); }
.contact-title { font-size: clamp(48px, 6.4vw, 104px); font-weight: 900; letter-spacing: -0.04em; line-height: 1.02; }
.contact-lead { margin-top: 24px; color: var(--ink-2); max-width: 28em; }
.contact-mail { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.contact-mail a { font-size: clamp(22px, 2.2vw, 32px); font-weight: 700; letter-spacing: -0.03em; border-bottom: 2px solid var(--tq); padding-bottom: 2px; }
.contact-mail a:hover { color: var(--tq-hi); }
.copy-btn, .draft-btn { height: 40px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 14px; color: var(--ink-2); }
.copy-btn:hover, .copy-btn.is-done, .draft-btn:hover, .draft-btn.is-done { color: var(--ink); border-color: var(--tq-hi); }
.contact-form { display: grid; gap: 22px; align-content: start; }
.form-note { font-size: 14px; color: var(--ink-3); }
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 17px; color: var(--ink); background: var(--bg-1); border: 1px solid var(--line-strong); border-radius: 6px; padding: 13px 14px; transition: border-color 0.2s; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--tq-hi); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #ff7b7b; }
.field-error { font-size: 13px; color: #ff9a9a; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.form-actions .btn { margin-top: 0; }
.draft-fallback { display: grid; gap: 8px; font-size: 14px; color: var(--ink-2); }
.draft-fallback textarea { font: inherit; font-size: 14px; color: var(--ink); background: var(--bg-1); border: 1px solid var(--line-strong); border-radius: 6px; padding: 12px; }
.form-msg { min-height: 1.5em; font-size: 14px; color: var(--tq-hi); }

/* ── Footer ────────────────────────────────────── */
.footer { border-top: 1px solid var(--line); padding: clamp(48px, 8vh, 96px) var(--gutter) 36px; overflow: hidden; }
.footer-giant { font-family: var(--f-display); font-weight: 900; font-size: clamp(64px, 14.2vw, 260px); line-height: 0.82; text-transform: uppercase; letter-spacing: -0.01em; white-space: nowrap; }
.footer-giant em { font-family: var(--f-serif); font-style: italic; font-weight: 400; text-transform: none; color: var(--tq-hi); font-size: 0.8em; }
.footer-giant > span:last-child { color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 36px; margin-top: clamp(40px, 6vh, 72px); padding-top: 24px; border-top: 1px solid var(--line); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; color: var(--ink-2); }
.footer-nav a:hover { color: var(--ink); }
.footer-meta { margin-left: auto; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13px; color: var(--ink-3); }
.footer-meta a:hover { color: var(--ink); }

/* ── Player ────────────────────────────────────── */
.player { padding: 0; border: 0; background: transparent; max-width: none; max-height: none; width: 100%; height: 100%; color: var(--ink); }
.player::backdrop { background: rgba(3, 5, 5, 0.9); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.player[open] { display: grid; place-items: center; animation: fade-in 0.3s ease; }
.player-box { width: min(1280px, calc(100vw - 2 * var(--gutter))); }
.player.is-tall .player-box { width: min(440px, calc(100vw - 2 * var(--gutter)), calc((100svh - 140px) * 9 / 16)); }
.player-head { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; }
.player-title { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.08em; color: var(--ink-2); text-transform: uppercase; }
.player-close { margin-left: auto; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-strong); }
.player-close:hover { border-color: var(--ink); }
.player-close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.player-stage { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: 8px; overflow: hidden; }
.player.is-tall .player-stage { aspect-ratio: 9 / 16; }
.player-stage video, .player-stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player.is-poster .player-stage { aspect-ratio: 2 / 3; background: transparent; }
.player.is-poster .player-box { width: min(560px, calc(100vw - 2 * var(--gutter)), calc((100svh - 140px) * 2 / 3)); }
.player-stage > img { width: 100%; height: 100%; object-fit: contain; }
@keyframes fade-in { from { opacity: 0; } }

/* ── Scene HUD: edit-timeline readout in the left gutter ── */
.scene-hud { position: fixed; z-index: 80; left: calc(var(--gutter) / 2); bottom: 32px; translate: -50% 0; rotate: 180deg; writing-mode: vertical-rl; display: flex; align-items: center; gap: 14px; font-family: var(--f-mono); font-size: 10.5px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); text-shadow: 0 0 10px rgba(0, 0, 0, 0.9); pointer-events: none; opacity: 0; transition: opacity 0.4s ease; }
.scene-hud.is-on { opacity: 1; }
.sh-sc b { color: var(--tq-hi); font-weight: 500; }
.sh-name { overflow: hidden; color: var(--ink); }
.sh-name span { display: block; }
.sh-bar { position: relative; width: 1px; height: 96px; background: var(--line-strong); overflow: hidden; }
.sh-bar i { position: absolute; inset: 0; background: var(--tq-hi); transform-origin: top; transform: scaleY(0); }
.sh-tc { font-variant-numeric: tabular-nums; }

/* ── Responsive ────────────────────────────────── */
@media (max-width: 1080px) {
  .nav, .lang { display: none; }
  .menu-btn { display: grid; }
  .music-grid, .game-grid, .anim-intro, .about, .contact, .case, .case-rev { grid-template-columns: minmax(0, 1fr); }
  .case-rev .browser { order: 0; }
  .mv-card { position: static; }
  .el-reveal { position: static; }
  .isoi-head { grid-template-columns: minmax(0, 1fr); }
  .isoi-copy { margin-top: 28px; }
  .game-poster { max-width: 420px; }
}
@media (max-width: 760px) {
  :root { --header-h: 58px; }
  body { font-size: 16px; }
  .header-cta { display: none; }
  .bb { height: 100svh; min-height: 620px; }
  .bb-media > img, .bb-media picture img, picture.bb-media img { object-position: 72% 30%; }
  .bb-slide::after { background: linear-gradient(0deg, var(--bg) 0%, rgba(7, 11, 11, 0.86) 38%, rgba(7, 11, 11, 0.1) 70%); }
  .bb-copy { bottom: 92px; width: auto; right: var(--gutter); }
  .bb-desc { font-size: 15px; margin-bottom: 20px; }
  .btn-play, .btn-ghost { height: 46px; font-size: 15px; padding: 0 18px 0 14px; }
  .bb-hud { bottom: 22px; gap: 12px; }
  .hud-tc, .crop { display: none; }
  .hud-bars { max-width: none; }
  .im-bigtype { font-size: 38vw; top: 30%; }
  .im-fan { right: 50%; translate: 50% -80%; }
  .im-fan img { width: 30vw; }
  .bb-compose-posters { padding: 0; grid-template-columns: repeat(3, 1fr); }
  .bb-compose-posters img:nth-child(n+4) { display: none; }
  .bb-compose-web .browser { width: 86vw; }
  .bb-compose-web .b1 { right: 4vw; top: 12%; }
  .bb-compose-web .b2 { right: -10vw; top: 26%; }
  .scene-hud { display: none; }
  .photo-strip { grid-template-columns: 1fr 1fr; }
  .photo-strip figure:nth-child(1) { grid-column: 1 / -1; }
  .values { grid-template-columns: 1fr; }
  .web-info { grid-template-columns: 1fr; }
  .video-copy { grid-template-columns: 1fr; }
  .row-nav { display: none; }
  .row-head { flex-wrap: wrap; gap: 4px 12px; }
  .footer-meta { margin-left: 0; }
  .stats div + div { padding-left: 14px; }
  .top-no { font-size: 150px; }
  .footer-giant { white-space: normal; font-size: 24vw; line-height: 0.84; }
  .footer-giant > span { display: block; }
  .footer-giant em { font-size: 0.6em; }
}

/* ── Reduced motion / transparency ─────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .ticker-run { animation: none; }
  .bb-slide .bb-media { transform: none; }
  html.js .reveal, html.js [data-split] .ch, html.js [data-cut] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  html.js [data-lit] .w { opacity: 1; }
}
@media (prefers-reduced-transparency: reduce) {
  .header.is-scrolled, .btn-ghost, .player::backdrop { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .header.is-scrolled { background-color: var(--bg); }
}
@media (prefers-contrast: more) {
  :root { --ink-2: #d8e0de; --ink-3: #aab6b3; --line: rgba(236, 242, 240, 0.3); --line-strong: rgba(236, 242, 240, 0.6); }
  .header.is-scrolled { background-color: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .bb-slide::after, .bb-slide-im::after { background: linear-gradient(0deg, var(--bg) 0%, rgba(7, 11, 11, 0.78) 50%, rgba(7, 11, 11, 0.6) 100%); }
  .btn-ghost { background: var(--bg-3); border: 1px solid var(--line-strong); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .scene-hud, .tile-info { color: var(--ink); }
  html.js [data-lit] .w { opacity: 1; }
}
