/* Two references, one sheet:
   hirotos.com — Helvetica 500, white space, small stacked nav, scramble text, curtain loader, horizontal strip.
   GYRE Shibuya — graph-paper ground, label-tape type with a typeface shuffle, dimension lines, crosshair marks, collage. */
:root {
  --paper: #ffffff;
  --ink: #10100f;
  --tape: #2b2b29;
  --muted: rgba(16, 16, 15, .55);
  --line: rgba(16, 16, 15, .16);
  --faint: rgba(16, 16, 15, .08);
  --grid: rgba(16, 16, 15, .05);
  --dot: rgba(16, 16, 15, .3);
  --accent: #8f6200;
  --surface: #0b0b0a;
  --ease: cubic-bezier(.7, 0, .2, 1);
  --gut: 40px;
  --font: "Helvetica Neue", "Inter", Helvetica, Arial, "Noto Sans KR", "Noto Sans JP", sans-serif;
  --star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 0 6.7 5.3 12 6 6.7 6.7 6 12 5.3 6.7 0 6 5.3 5.3Z' fill='%2310100f'/%3E%3C/svg%3E");
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--paper); -webkit-text-size-adjust: 100%; }
body {
  background: transparent; color: var(--ink);
  font-family: var(--font); font-weight: 500; font-size: 13px; line-height: 1.45; letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
}
/* graph paper: 16px hairlines, a dot every 32px */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    radial-gradient(circle at 0.5px 0.5px, var(--dot) 0.8px, transparent 1.2px),
    linear-gradient(to right, var(--grid) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid) 1px, transparent 1px);
  background-size: 32px 32px, 16px 16px, 16px 16px;
}
a { color: inherit; text-decoration: none; transition: color .18s ease, background-color .18s ease, opacity .18s ease; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
::selection { background: var(--ink); color: var(--paper); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cap { text-transform: uppercase; font-size: 11px; letter-spacing: .04em; color: var(--muted); }
.ja { font-family: "Noto Sans JP", var(--font); }

/* ---------- typefaces for the shuffle ---------- */
.f-base { font-family: var(--font); font-weight: 500; }
.f-dela { font-family: "Dela Gothic One", var(--font); font-weight: 400; }
.f-dot { font-family: "DotGothic16", var(--font); font-weight: 400; }
.f-train { font-family: "Train One", var(--font); font-weight: 400; }
.f-serif { font-family: "Noto Serif JP", serif; font-weight: 700; }
.f-yomogi { font-family: "Yomogi", var(--font); font-weight: 400; }
.f-kai { font-family: "Kaisei Opti", serif; font-weight: 700; }
.f-thin { font-family: "Inter", var(--font); font-weight: 100; }

/* ---------- tape, tag, highlight, dimension line, marks ---------- */
.tag {
  display: inline-block; background: var(--tape); color: #fff; font-size: 10px; line-height: 1; letter-spacing: .06em;
  padding: 4px 7px 3px; text-transform: uppercase; white-space: nowrap; vertical-align: middle;
}
.tag.lt { background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
a.tag:hover { background: var(--accent); }

.tape { display: inline-flex; flex-wrap: wrap; column-gap: max(.3em, 7px); row-gap: 3px; vertical-align: middle; line-height: 1; }
.tape .w { display: inline-flex; gap: 2px; }
.tape .ch { position: relative; display: inline-block; background: var(--tape); color: #fff; padding: .14em .17em .1em; }
.tape .o { display: inline-block; }
.tape .x, .hl .x { position: absolute; inset: 0; display: grid; place-items: center; white-space: nowrap; pointer-events: none; }
.tape .ch.run .o, .hl.run .o { visibility: hidden; }
.tape .ch.inv { background: var(--paper); color: var(--tape); box-shadow: inset 0 0 0 1px var(--tape); }
.tape.spaced .w { gap: 0; }
.tape.spaced .ch { padding: .18em .34em .14em; }

.hl {
  position: relative; display: inline-block; white-space: nowrap; padding: 0 .25em; font-weight: inherit; color: #3c3c3a;
  background: linear-gradient(transparent 8%, rgba(16, 16, 15, .3) 0, rgba(16, 16, 15, .3) 12%, rgba(16, 16, 15, .05) 0, rgba(16, 16, 15, .05) 92%, rgba(16, 16, 15, .3) 0);
}

.dim { display: flex; align-items: center; gap: 8px; height: 11px; color: var(--muted); font-size: 9px; letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.dim::before, .dim::after { content: ""; width: 1px; height: 9px; background: var(--muted); }
.dim i { flex: 1; height: 1px; background: var(--line); }
.dim em { font-style: normal; white-space: nowrap; text-transform: uppercase; }

.mk { position: absolute; z-index: 3; width: 11px; height: 11px; background: var(--star) center / contain no-repeat; pointer-events: none; }
.mk.tl { left: -6px; top: -6px; } .mk.tr { right: -6px; top: -6px; }
.mk.bl { left: -6px; bottom: -6px; } .mk.br { right: -6px; bottom: -6px; }
.outline { color: transparent; -webkit-text-stroke: 1px var(--ink); }

/* ---------- loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100; background: var(--surface); color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px;
  transition: transform 1.1s var(--ease), border-radius 1.1s var(--ease);
}
.loader.out { transform: translateY(-105%); border-bottom-left-radius: 50% 22%; border-bottom-right-radius: 50% 22%; }
.loader.gone { display: none; }
.ld-tape { background: #fff; color: var(--ink); font-size: 10px; letter-spacing: .16em; padding: 5px 10px 4px; text-transform: uppercase; }
.ld-stack { position: relative; width: min(360px, 72vw); aspect-ratio: 16 / 10; }
.ld-stack img { position: absolute; width: 64%; aspect-ratio: 16 / 9; object-fit: cover; animation: pop .24s steps(2, end) both; }
@keyframes pop { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }

/* ---------- header ---------- */
.top {
  position: fixed; z-index: 50; inset: 0 0 auto 0; display: flex; justify-content: space-between; align-items: flex-start;
  padding: 26px var(--gut); pointer-events: none;
}
.top a { pointer-events: auto; }
.logo { display: flex; align-items: center; gap: 8px; }
.sq { display: grid; place-items: center; width: 30px; height: 30px; flex: none; background: var(--ink); color: #fff; font-family: "Noto Serif JP", serif; font-weight: 700; font-size: 17px; line-height: 1; }
.logo .lt { font-size: 11px; letter-spacing: .04em; background: var(--paper); padding: 3px 5px 2px; }
.nav { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; font-size: 11px; letter-spacing: .04em; }
.nav a { background: var(--paper); padding: 3px 5px 2px; color: var(--muted); line-height: 1.1; }
.nav a:hover { color: var(--ink); }
.nav a.on { background: var(--tape); color: #fff; }

/* ---------- page transitions ---------- */
main { min-height: 100vh; }
.page { animation: rise .7s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- home: hero ---------- */
.home { position: relative; height: 100vh; min-height: 660px; overflow: hidden; }
.collage {
  position: absolute; top: 100px; right: 230px; --mx: 0; --my: 0;
  width: min(calc(100vw - 300px), calc((100vh - 350px) * 1.636), 960px); aspect-ratio: 900 / 550;
}
.pc {
  position: absolute; display: block; z-index: 1;
  transform: translate3d(calc(var(--mx) * var(--d) * 14px), calc(var(--my) * var(--d) * 10px), 0);
  transition: transform .7s cubic-bezier(.2, .7, .2, 1);
  animation: lay .7s var(--ease) both; animation-delay: calc(var(--intro, 0ms) + var(--i) * 85ms);
}
@keyframes lay { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
.pc img { width: 100%; aspect-ratio: var(--r, 16 / 9); object-fit: cover; background: #ddd; }
.pc .tag { position: absolute; left: 0; top: calc(100% + 4px); opacity: 0; transition: opacity .2s ease; }
a.pc:hover { z-index: 30; }
a.pc:hover .tag { opacity: 1; }
a.pc:hover img { outline: 1px solid var(--ink); outline-offset: 3px; }
.reel { z-index: 20; background: var(--surface); padding: 5px 5px 0; }
.reel .scr { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.reel .scr img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .45s ease; background: none; }
.reel .scr img.on { opacity: 1; }
.reel .bar { display: flex; justify-content: space-between; gap: 10px; color: #f4f1ea; font-size: 10px; letter-spacing: .04em; padding: 7px 3px 6px; white-space: nowrap; }
.reel .bar a { overflow: hidden; text-overflow: ellipsis; }
.reel .bar a:hover { color: #c9a45a; }
.reel .tc { color: #c9a45a; font-variant-numeric: tabular-nums; }

.vt { position: absolute; right: var(--gut); top: 116px; z-index: 25; display: flex; flex-direction: column; align-items: flex-end; }
.vt-cols { display: flex; flex-direction: row-reverse; align-items: flex-start; gap: 8px; }
.vt .tape { writing-mode: vertical-rl; flex-wrap: nowrap; }
.vt-main .tape { font-size: clamp(30px, 3.3vw, 48px); }
.vt-main .tape .w { gap: 3px; }
.vt-sub .tape { font-size: 14px; margin-top: 4px; }
.vt-date { writing-mode: vertical-rl; text-orientation: upright; display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: clamp(15px, 1.4vw, 20px); line-height: 1; letter-spacing: -.04em; }
.vt-date i { font-style: normal; font-size: .85em; color: var(--accent); }
.vt-tag { margin: 22px 8px 0 0; transform: rotate(-7deg); background: var(--paper); border: 1px solid var(--ink); padding: 6px 11px 7px; text-align: center; }
.vt-tag b { display: block; font-size: 17px; font-weight: 500; letter-spacing: -.01em; border-bottom: 1px solid var(--ink); padding-bottom: 3px; margin-bottom: 4px; }
.vt-tag span { font-size: 10px; letter-spacing: .02em; }

.home-name { position: absolute; z-index: 26; left: var(--gut); bottom: 34px; }
.home-name .role { font-size: 11px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 10px; }
.home-name h1 { font-size: clamp(54px, 9vw, 132px); line-height: .86; letter-spacing: -0.045em; font-weight: 500; }
.home-name h1 span { display: block; }
.home-details { position: absolute; z-index: 26; right: var(--gut); bottom: 40px; display: grid; grid-template-columns: auto auto; gap: 3px 28px; font-size: 11px; }
.home-details dt { color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 9px; letter-spacing: .16em; color: var(--muted); }

/* ---------- home: overview ---------- */
.ov { padding: 150px var(--gut) 40px; }
.ov-h { display: flex; align-items: center; gap: 10px; margin-bottom: 40px; }
.ov-h .tape { font-size: 30px; }
.ov-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 64px; }
.ov-left { position: relative; padding-left: 128px; }
.ov-vert { position: absolute; left: 0; top: 30px; bottom: 0; overflow: hidden; display: flex; flex-direction: column; gap: 6px;
  writing-mode: vertical-rl; font-size: 32px; letter-spacing: .2em; line-height: 1; white-space: nowrap; font-weight: 500; }
.ov-imgs { margin-top: 18px; display: grid; grid-template-columns: 1.25fr .75fr; gap: 26px; align-items: start; }
.ov-imgs figure { position: relative; }
.ov-imgs img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.ov-imgs .b { display: grid; gap: 18px; }
.ov-word { font-size: clamp(40px, 4.6vw, 72px); line-height: .9; letter-spacing: -.02em; }
.ov-imgs .c { margin-left: 18%; }
.ov-imgs .d img { aspect-ratio: 4 / 5; }
.ov-text { font-size: 17px; line-height: 1.75; max-width: 520px; margin-top: 18px; }
.ov-right > .dim:not(:first-child) { margin-top: 40px; }
.tapes { list-style: none; display: grid; gap: 6px; margin-top: 16px; }
.tapes li { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; }
.tapes a { display: inline-flex; align-items: center; gap: 2px; }
.tapes .tape { font-size: 15px; }
.arr { display: inline-block; background: var(--tape); color: #fff; font-style: normal; font-size: 12px; line-height: 1; padding: .3em .45em .25em; transition: transform .2s ease, background-color .2s ease; }
a:hover > .arr { transform: translateX(4px); background: var(--accent); }
.tapes .d { color: var(--muted); }

/* ---------- works ---------- */
.head { padding: 150px var(--gut) 0; max-width: 860px; }
.head .tag { margin-bottom: 16px; }
.head h1 { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.2; letter-spacing: -0.02em; font-weight: 500; }
.strip {
  margin-top: 60px; display: flex; align-items: center; gap: 30px; overflow-x: auto; overscroll-behavior-x: contain;
  padding: 30px var(--gut) 50px; scrollbar-width: none; cursor: grab; user-select: none;
}
.strip::-webkit-scrollbar { display: none; }
.strip.drag { cursor: grabbing; }
.card { flex: none; position: relative; display: block; }
.card .dim { margin-bottom: 9px; }
.card .ph { position: relative; }
.card .im { overflow: hidden; height: 100%; background: #e6e6e3; }
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), filter .5s ease; filter: grayscale(.25); -webkit-user-drag: none; }
.card .mk { opacity: 0; transition: opacity .2s ease; }
.card:hover img { transform: scale(1.04); filter: none; }
.card:hover .mk, .card:focus-visible .mk { opacity: 1; }
.card .lbl { display: flex; gap: 8px; align-items: center; margin-top: 10px; font-size: 11px; opacity: 0; transform: translateY(-4px); transition: opacity .3s ease, transform .3s ease; }
.card .lbl .y { margin-left: auto; color: var(--muted); }
.card:hover .lbl, .card:focus-visible .lbl { opacity: 1; transform: none; }
.strip-hint { padding: 0 var(--gut); }
.index { margin: 100px var(--gut) 0; }
.index .rows { margin-top: 10px; }
.index a { display: grid; grid-template-columns: 50px 1.4fr 1fr .6fr .5fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.index .n { justify-self: start; color: var(--muted); padding: 2px 5px 1px; font-size: 11px; transition: background-color .18s ease, color .18s ease; }
.index a:hover .n { background: var(--tape); color: #fff; }
.index a:hover .t { color: var(--accent); }
.index .t { font-size: 17px; letter-spacing: -0.01em; transition: color .18s ease; }
.index .r { text-align: right; }

/* ---------- work detail ---------- */
.back {
  position: fixed; z-index: 40; left: var(--gut); top: 80px; width: 44px; height: 44px; border-radius: 50%;
  background: var(--ink); color: var(--paper); display: grid; place-items: center; transition: transform .18s ease;
}
.back:hover { transform: scale(1.08); }
.back svg { width: 14px; height: 14px; }
.w-head { padding: 160px var(--gut) 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 60px; align-items: end; }
.w-head .tag { margin-bottom: 16px; }
.w-head h1 { font-size: clamp(44px, 6.4vw, 96px); line-height: .92; letter-spacing: -0.045em; font-weight: 500; }
.w-head .sub { margin-top: 12px; font-size: 15px; color: var(--muted); }
.w-head .intro { font-size: 15px; line-height: 1.55; }
.toc { list-style: none; display: grid; gap: 4px; margin-top: 24px; }
.toc button {
  all: unset; box-sizing: border-box; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px;
  width: 100%; background: var(--tape); color: #fff; font-size: 11px; letter-spacing: .04em; padding: 6px 10px 5px; text-transform: uppercase;
}
.toc button:hover { background: var(--accent); }
.toc button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.toc i { font-style: normal; font-size: 9px; }
.meta-wrap { margin: 60px var(--gut) 0; }
.meta { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; padding-top: 14px; }
.meta dt { font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin-bottom: 4px; }
.meta a { border-bottom: 1px solid var(--line); }
.meta a:hover { color: var(--accent); border-color: var(--accent); }
.hero { margin: 44px var(--gut) 0; }
.hero .dim { margin-bottom: 10px; }
.hero .frame { position: relative; background: var(--surface); }
.hero img { width: 100%; }
.stills { margin: 22px var(--gut) 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.stills img { width: 100%; }
figure figcaption { font-size: 11px; margin-top: 8px; }
figure figcaption .tc { color: var(--accent); font-variant-numeric: tabular-nums; margin-right: 6px; }
.bigq-wrap { margin: 110px var(--gut) 0; }
.bigq { font-size: clamp(22px, 2.8vw, 40px); max-width: 1000px; }
.bigq .tape { row-gap: 5px; }
.quote-src { color: var(--muted); font-size: 11px; margin-top: 14px; text-transform: uppercase; letter-spacing: .04em; }

.palette { margin: 90px var(--gut) 0; }
.palette .bar { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 12px; }
.palette .sw { height: 110px; display: flex; align-items: flex-end; padding: 10px; font-size: 11px; font-variant-numeric: tabular-nums; }

.sec { margin: 130px var(--gut) 0; display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 40px; scroll-margin-top: 110px; }
.sec > .lab { position: sticky; top: 130px; align-self: start; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.sec > .lab .tape { font-size: 14px; }
.sec > .lab p { color: var(--muted); font-size: 11px; max-width: 200px; }
.body { min-width: 0; }
.body > .dim { margin-bottom: 14px; }
.p-lg { font-size: clamp(18px, 1.7vw, 22px); line-height: 1.35; letter-spacing: -0.01em; max-width: 820px; }

.grid { display: grid; gap: 22px 12px; }
.grid figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #e6e6e3; }
.grid.wide figure img { aspect-ratio: 2.39 / 1; }
.acts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 22px; margin-bottom: 34px; }
.acts h3, .facts dt, .kv h3 { font-size: 11px; text-transform: uppercase; letter-spacing: .04em; font-weight: 500; }
.acts .tc { color: var(--accent); font-size: 11px; margin: 2px 0 6px; font-variant-numeric: tabular-nums; }
.acts p { color: var(--muted); max-width: 300px; }
.note { margin-top: 18px; color: var(--muted); font-size: 11px; }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 18px 22px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); margin-bottom: 4px; }
.facts dd { font-size: 15px; }
.rules { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px 22px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.rules p:first-child { font-size: 15px; }
.rules p + p { color: var(--muted); margin-top: 3px; }
.plot { padding: 22px 0; border-bottom: 1px solid var(--line); }
.plot li { list-style: none; font-size: 15px; padding: 3px 0; }
.plot li::before { content: "— "; color: var(--accent); }
.cue-row { display: grid; grid-template-columns: 110px 60px 1fr 1.2fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.cue-row .part { text-transform: uppercase; font-size: 11px; letter-spacing: .04em; }
.cue-row .nums { color: var(--accent); font-size: 11px; font-variant-numeric: tabular-nums; }
.cue-row .ti { font-size: 15px; }
.cue-row .de { color: var(--muted); }

details.shots { border-top: 1px solid var(--line); }
details.shots summary { cursor: pointer; list-style: none; padding: 14px 0; display: flex; justify-content: space-between; font-size: 15px; }
details.shots summary::-webkit-details-marker { display: none; }
details.shots summary::after { content: "+"; color: var(--accent); }
details.shots[open] summary::after { content: "–"; }
.shot-g { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 12px 0; border-top: 1px solid var(--faint); }
.shot-g h4 { font-size: 11px; text-transform: uppercase; letter-spacing: .04em; font-weight: 500; }
.shot-g li { list-style: none; display: grid; grid-template-columns: 32px 1fr; padding: 2px 0; }
.shot-g li span { color: var(--accent); font-variant-numeric: tabular-nums; font-size: 11px; padding-top: 1px; }

.scene { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; padding: 26px 0; border-top: 1px solid var(--line); }
.scene:last-child { border-bottom: 1px solid var(--line); }
.scene img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.scene .hd { display: flex; gap: 8px; align-items: center; margin-bottom: 10px; }
.scene h3 { font-size: 20px; font-weight: 500; letter-spacing: -0.015em; margin-bottom: 10px; }
.scene .act { color: var(--muted); margin-bottom: 14px; max-width: 460px; }
.scene blockquote { font-size: 15px; line-height: 1.4; padding-left: 14px; border-left: 1px solid var(--accent); margin-top: 8px; max-width: 460px; }

.pair { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; }
.pair figure { position: relative; align-self: start; }
.kv > div { padding: 16px 0; border-top: 1px solid var(--line); }
.kv > div:first-child { border-top: 0; padding-top: 0; }
.kv h3 { margin-bottom: 6px; }
.kv p { max-width: 560px; }
.cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px 32px; }
.cols3.auto { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.cols3 > div { border-top: 1px solid var(--line); padding-top: 12px; }
.cols3 h3 { font-size: 15px; font-weight: 500; margin: 4px 0 6px; }
.cols3 p { color: var(--muted); }

.cast { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 30px 22px; }
.cast > div { border-top: 1px solid var(--line); padding-top: 12px; }
.cast h3 { font-size: 17px; font-weight: 500; margin: 8px 0 10px; letter-spacing: -0.01em; }
.cast dt { font-size: 10px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-top: 8px; }

.bridges { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 26px 32px; }
.bridges > div { border-top: 1px solid var(--line); padding-top: 12px; }
.bridges h3 { display: flex; gap: 8px; align-items: center; font-size: 11px; text-transform: uppercase; letter-spacing: .04em; font-weight: 500; margin-bottom: 8px; }
.bridges p { font-size: 15px; line-height: 1.4; }
.voices { margin-top: 70px; background: var(--surface); color: #f4f1ea; padding: 60px 48px; position: relative; }
.voices .cap { color: rgba(244, 241, 234, .5); margin-bottom: 26px; }
.voices li { list-style: none; display: grid; grid-template-columns: 90px 1fr; padding: 6px 0; font-size: clamp(20px, 2.2vw, 30px); letter-spacing: -0.02em; line-height: 1.2; }
.voices li span { font-size: 11px; color: #c9a45a; letter-spacing: .06em; padding-top: 10px; }

.grade { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 22px; }
.ba { position: relative; overflow: hidden; aspect-ratio: 1116 / 900; cursor: ew-resize; background: #000; touch-action: pan-y; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba .after { clip-path: inset(0 0 0 var(--x, 50%)); }
.ba .handle { position: absolute; top: 0; bottom: 0; left: var(--x, 50%); width: 1px; background: #fff; }
.ba .tag { position: absolute; bottom: 10px; }
.ba .tag.l { left: 10px; } .ba .tag.r { right: 10px; }

.figs { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.figs h3 { font-size: 11px; text-transform: uppercase; letter-spacing: .04em; font-weight: 500; }
.figs .src { color: var(--muted); margin: 4px 0 18px; max-width: 360px; }
.figs .nums { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.figs .nums div { border-top: 1px solid var(--line); padding-top: 10px; }
.figs .big { font-size: clamp(36px, 4.2vw, 60px); letter-spacing: -0.04em; line-height: 1; }
.figs .nums p { color: var(--muted); margin-top: 6px; }
.foot-note { color: var(--muted); font-size: 11px; margin-top: 30px; max-width: 760px; }

.lane { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding: 18px 0; border-top: 1px solid var(--line); }
.lane h3 { font-size: 15px; font-weight: 500; }
.lane .cap { margin-top: 2px; }
.steps { display: flex; flex-wrap: wrap; gap: 8px; }
.step { position: relative; border: 1px solid var(--line); background: var(--paper); padding: 10px 12px; min-width: 130px; flex: 1; }
.step .n { color: var(--accent); font-size: 10px; letter-spacing: .05em; }
.step b { display: block; font-weight: 500; font-size: 14px; margin: 2px 0; }
.step span { color: var(--muted); font-size: 11px; }
.merge { background: var(--tape); color: #fff; padding: 18px 20px; margin: 4px 0 40px; display: grid; grid-template-columns: 150px 1fr; gap: 20px; }
.merge b { font-weight: 500; }

.screen { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: end; margin-bottom: 30px; }
.screen figure { position: relative; }
.screen img { border: 1px solid var(--line); background: var(--paper); }
.screen .phone img { width: 150px; }
.sys-shots { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: end; margin-bottom: 40px; }
.sys-shots img { border: 1px solid var(--line); }
.sys-shots figure:last-child img { width: 150px; }
.tokens { display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; }
.tokens .sw { aspect-ratio: 1; border: 1px solid var(--faint); }
.tokens p { font-size: 11px; margin-top: 6px; }
.tokens p span { display: block; color: var(--muted); font-variant-numeric: tabular-nums; }
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0 22px; margin-top: 40px; }
.team div { border-top: 1px solid var(--line); padding: 10px 0 14px; }
.team p + p { color: var(--muted); }
.team .me p:first-child { color: var(--accent); }

.next { display: block; margin: 160px var(--gut) 0; padding-top: 16px; }
.next .dim { margin-bottom: 20px; }
.next h2 { font-size: clamp(40px, 6vw, 88px); line-height: .95; letter-spacing: -0.045em; font-weight: 500; transition: color .18s ease; margin-top: 12px; }
.next:hover h2 { color: var(--accent); }

.chap { position: fixed; z-index: 45; left: var(--gut); bottom: 24px; display: flex; gap: 2px; opacity: 0; transform: translateY(8px); transition: opacity .3s ease, transform .3s ease; pointer-events: none; }
.chap.on { opacity: 1; transform: none; }
.chap b { display: grid; place-items: center; min-width: 30px; padding: 0 6px; background: var(--tape); color: #fff; font-size: 15px; font-weight: 500; }
.chap span { background: var(--tape); color: #fff; font-size: 10px; letter-spacing: .06em; padding: 9px 10px 8px; text-transform: uppercase; }
.watch { position: fixed; z-index: 45; right: var(--gut); bottom: 24px; background: var(--tape); color: #fff; font-size: 11px; letter-spacing: .06em; padding: 10px 13px 9px; }
.watch:hover { background: var(--accent); }
.watch[hidden] { display: none; }

/* ---------- about ---------- */
.about { position: relative; padding: 150px var(--gut) 0; }
.about > .tag { margin-bottom: 18px; }
.kick { font-size: clamp(40px, 6.6vw, 100px); line-height: .98; letter-spacing: -0.045em; max-width: 1150px; font-weight: 500; }
.kick .tape { font-size: .8em; letter-spacing: 0; vertical-align: baseline; }
.kick .tape .w { gap: 4px; }
.side-outline { position: absolute; right: var(--gut); top: 470px; display: flex; flex-direction: column; gap: 6px; writing-mode: vertical-rl; font-size: 34px; letter-spacing: .22em; line-height: 1; white-space: nowrap; font-weight: 500; }
.talk { margin-top: 110px; max-width: 980px; }
.talk .row { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 40px; padding: 20px 0; border-bottom: 1px solid var(--faint); }
.talk .who { padding-top: 6px; }
.talk p { font-size: clamp(17px, 1.6vw, 22px); line-height: 1.5; letter-spacing: -0.01em; }
.about-cols { margin-top: 100px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; max-width: 1180px; }
.about-cols .facts { border: 0; margin-top: 14px; }
.about-stills { margin-top: 90px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.about-stills figure { position: relative; }
.about-stills img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

/* ---------- contact ---------- */
.contact { padding: 150px var(--gut) 0; }
.contact > .tag { margin-bottom: 26px; }
.links a { display: block; width: max-content; max-width: 100%; font-size: clamp(30px, 5.6vw, 84px); letter-spacing: -0.045em; line-height: 1.05; overflow-wrap: anywhere; }
.links a:hover { color: var(--accent); }
.links small { font-size: 11px; letter-spacing: .04em; vertical-align: top; color: var(--muted); margin-left: 10px; }
.info { position: relative; margin-top: 110px; max-width: 640px; }
.info h2 { font-size: 15px; font-weight: 500; margin: 18px 0 12px; }
.info dl { display: grid; grid-template-columns: 120px 1fr; }
.info dt, .info dd { padding: 9px 0; border-top: 1px solid var(--faint); }
.info dt { font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }

/* ---------- footer ---------- */
.foot { margin-top: 150px; background: rgba(16, 16, 15, .07); padding: 50px var(--gut) 26px; display: grid; grid-template-columns: 1fr auto; gap: 40px 40px; }
.foot-nav > a { display: flex; align-items: center; gap: 2px; width: max-content; margin-bottom: 6px; }
.foot-nav .tape { font-size: 14px; }
.foot-small { display: grid; gap: 5px; margin-top: 22px; font-size: 11px; letter-spacing: .03em; }
.foot-small a { width: max-content; }
.foot-small a:hover { color: var(--accent); }
.foot-brand { align-self: start; display: flex; align-items: center; gap: 14px; }
.foot-brand .sq { width: 76px; height: 76px; font-size: 44px; }
.foot-brand b { display: block; font-size: 22px; font-weight: 500; letter-spacing: -0.02em; }
.foot-brand span span { display: block; font-size: 10px; letter-spacing: .08em; color: var(--muted); margin-top: 4px; }
.foot-b { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 16px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 10px; letter-spacing: .06em; color: var(--muted); text-transform: uppercase; }

/* ---------- breakpoints ---------- */
@media (max-width: 1180px) {
  .side-outline { display: none; }
  .collage { right: 200px; width: min(calc(100vw - 260px), calc((100vh - 350px) * 1.636)); }
}
@media (max-width: 960px) {
  :root { --gut: 24px; }
  .w-head { grid-template-columns: 1fr; gap: 28px; }
  .meta { grid-template-columns: repeat(3, 1fr); }
  .sec { grid-template-columns: 1fr; gap: 22px; }
  .sec > .lab { position: static; flex-direction: row; flex-wrap: wrap; align-items: center; }
  .cue-row { grid-template-columns: 90px 50px 1fr; }
  .cue-row .de { grid-column: 3; }
  .pair, .figs, .ov-grid, .about-cols { grid-template-columns: 1fr; }
  .tokens { grid-template-columns: repeat(4, 1fr); }
  .talk .row { grid-template-columns: 1fr; gap: 10px; }
  .index a { grid-template-columns: 34px 1fr auto; }
  .index a .k, .index a .ro { display: none; }
  .collage { left: var(--gut); right: auto; top: max(120px, 20vh); width: calc(100vw - 180px); }
  .cue { display: none; }
  .vt { top: 110px; }
  .vt-tag { display: none; }
  .home-details { display: none; }
  .ov-left { padding-left: 0; }
  .ov-vert { display: none; }
}
@media (max-width: 720px) {
  .grid { grid-template-columns: repeat(2, 1fr) !important; }
  .stills, .about-stills { grid-template-columns: 1fr 1fr; }
  .scene { grid-template-columns: 1fr; gap: 16px; }
  .cols3, .grade { grid-template-columns: 1fr; }
  .screen, .sys-shots { grid-template-columns: 1fr; }
  .lane, .merge { grid-template-columns: 1fr; gap: 10px; }
  .voices { padding: 36px 22px; }
  .voices li { grid-template-columns: 64px 1fr; }
  .back { top: 74px; width: 38px; height: 38px; }
  .home { min-height: 700px; }
  .collage { width: 128vw; left: -14vw; top: 100px; }
  .cue { display: none; }
  .vt { top: auto; bottom: 228px; }
  .vt-main .tape { font-size: 30px; }
  .ov { padding-top: 90px; }
  .ov-imgs { grid-template-columns: 1fr 1fr; gap: 14px; }
  .chap, .watch { bottom: 14px; }
}
@media (max-width: 620px) {
  :root { --gut: 16px; }
  .top { padding: 18px var(--gut); }
  .meta { grid-template-columns: 1fr 1fr; }
  .palette .sw { height: 80px; font-size: 9px; padding: 6px; }
  .cue-row { grid-template-columns: 1fr; gap: 2px; }
  .cue-row .de { grid-column: 1; }
  .shot-g { grid-template-columns: 1fr; gap: 6px; }
  .head, .w-head, .about, .contact { padding-top: 124px; }
  .back { top: 66px; }
  .info dl { grid-template-columns: 90px 1fr; }
  .foot { grid-template-columns: 1fr; }
  .foot-brand { order: -1; }
  .foot-brand .sq { width: 56px; height: 56px; font-size: 32px; }
  .chap span { display: none; }
}
@media (hover: none) {
  .card .lbl { opacity: 1; transform: none; }
  .pc .tag { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
