/* cholawyer-landing — editorial black/paper print look.
   Tokens come from docs/intro-video-SPEC.md §1 (colors, type, easing).
   Rules: radius 0 (stamp only), no shadow, no glow, no gradient, one accent color. */

@font-face {
  font-family: "PV";
  src: url("assets/fonts/PretendardVariable.woff2") format("woff2");
  font-weight: 45 920;
  font-display: swap;
}
/* Width-matched fallback while League Gothic (Google Fonts) is loading or offline. */
@font-face {
  font-family: "NumFallback";
  src: local("Impact"), local("HelveticaNeue-CondensedBlack"), local("Arial Narrow Bold");
  size-adjust: 76%;
}

:root {
  --black: #0A0A0A;
  --paper: #EDEDED;
  --ink: #111111;
  --white: #FAFAFA;
  --red: #E8321A;
  --m: clamp(16px, 4vw, 48px);
  --expo: cubic-bezier(.22, 1, .36, 1);        /* enter  (expo.out family) */
  --inout: cubic-bezier(.645, .045, .355, 1);  /* two-way (power2.inOut family) */
  --pin: cubic-bezier(.55, .055, .675, .19);   /* exit   (power3.in family) */
  --kr: "PV", "Pretendard Variable", Pretendard, "Apple SD Gothic Neo", "Noto Sans KR", system-ui, sans-serif;
  --numf: "League Gothic", "NumFallback", "Arial Narrow", sans-serif;
  --sx: .82; /* horizontal glyph scale of display Hangul */
}

/* ── base ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--kr);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: break-word;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, p, ol, ul, figure, blockquote { margin: 0; padding: 0; font-size: inherit; font-weight: inherit; }
ol, ul { list-style: none; }
video, svg { display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; left: var(--m); top: -80px; z-index: 100;
  padding: 10px 14px; background: var(--white); color: var(--ink); font-weight: 700;
}
.skip:focus { top: 8px; }

/* ── type ─────────────────────────────────────────────── */
.kd { font-family: var(--kr); font-weight: 900; letter-spacing: -.03em; line-height: 1.04; }
.ln { display: block; }
/* Compressed Hangul: lay out at 1/.82 width, then scale back so the line still fits its box. */
.sx { display: block; width: calc(100% / var(--sx)); transform: scaleX(var(--sx)); transform-origin: 0 50%; white-space: nowrap; }
.num { font-family: var(--numf); font-weight: 400; letter-spacing: 0; line-height: .9; font-variant-numeric: lining-nums; }
.label { font-weight: 600; font-size: clamp(13px, 3.4vw, 15px); line-height: 1.25; }
.label .num { font-size: 1.3em; line-height: 1; letter-spacing: .01em; }
.sub { font-weight: 600; font-size: clamp(16px, 4.3vw, 22px); line-height: 1.45; letter-spacing: -.01em; color: var(--sub); }
.body { font-size: clamp(16px, 4.3vw, 19px); line-height: 1.7; max-width: 34em; }

/* Fit-to-width display type. --n = width of the longest line in em (unscaled), measured in the browser. */
.fit { container-type: inline-size; }
.fit > .kd, .fit > * > .kd, .fit > .num {
  font-size: clamp(34px, 11vw, 120px); /* fallback without container units */
  font-size: min(var(--max, 400px), calc(100cqw / (var(--n) * var(--k, var(--sx)))));
}

/* ── sections ─────────────────────────────────────────── */
.sec {
  position: relative;
  padding: clamp(88px, 14vh, 160px) var(--m) clamp(72px, 12vh, 144px);
  background: var(--bg);
  color: var(--fg);
  overflow-x: clip;
}
.sec--black { --bg: var(--black); --fg: var(--white); --sub: #9A9A9A; --line: #2A2A2A; --ghost: #1E1E1E; --plate: #1C1C1C; }
.sec--paper { --bg: var(--paper); --fg: var(--ink); --sub: #555555; --line: #C2C2C2; --ghost: #DADADA; --plate: #161616; }

.rowlabel {
  display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: baseline;
  padding-bottom: 10px; border-bottom: 2px solid currentColor;
  margin-bottom: clamp(20px, 5vw, 44px);
}
.rowlabel > :last-child { text-align: right; }

/* ── fixed chrome ─────────────────────────────────────── */
.chrome {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px;
  padding: max(12px, env(safe-area-inset-top)) var(--m) 10px;
  font-weight: 600; font-size: clamp(13px, 3.4vw, 15px); line-height: 1.2;
  color: #fff; mix-blend-mode: difference; pointer-events: none;
}
.chrome__l { justify-self: start; text-decoration: none; pointer-events: auto; padding: 6px 0; }
.chrome__c { font-size: 1.45em; line-height: 1; min-width: 2.2em; text-align: center; }
.chrome__r { justify-self: end; }
.chrome[data-tone="red"] { mix-blend-mode: normal; color: var(--black); }

.motion-btn {
  position: fixed; right: var(--m); bottom: max(12px, env(safe-area-inset-bottom)); z-index: 50;
  padding: 7px 10px; min-height: 34px; cursor: pointer;
  background: var(--black); color: var(--white); border: 1px solid var(--white); border-radius: 0;
  font-weight: 600; font-size: 13px; line-height: 1.2;
}
.motion-btn[hidden] { display: none; }

/* ── plate (video window) ─────────────────────────────── */
.plate {
  position: relative; overflow: hidden;
  aspect-ratio: var(--ar, 4 / 3);
  background-color: var(--plate);
  background-image: var(--poster, none); /* optional still: assets/gen/<id>.jpg */
  background-size: cover; background-position: center;
}
.plate > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.plate.is-mono { filter: grayscale(1) contrast(1.12); }
/* Generated b-roll: stays on the solid/poster fallback until the file has really loaded. */
.plate--gen > video { visibility: hidden; }
.plate--gen.is-ready > video { visibility: visible; }
.plate__slot { display: none; position: absolute; left: 10px; top: 9px; font-weight: 600; font-size: 12px; line-height: 1.2; color: #9A9A9A; }
[data-draft] .plate--gen:not(.is-ready) .plate__slot { display: block; }
.bleed-m { margin-inline: calc(var(--m) * -1); }

/* Display type that crosses a plate edge stays readable on any image. */
@supports (mix-blend-mode: difference) {
  .over { color: #fff; mix-blend-mode: difference; }
}

/* ── 00 hero ──────────────────────────────────────────── */
.hero {
  display: flex; flex-direction: column;
  min-height: 100vh; min-height: 100svh;
  padding: 52px var(--m) 56px; /* bottom room for the fixed motion button */
}
.hero__plate { margin-inline: calc(var(--m) * -1); flex: none; max-height: 44vh; max-height: 44svh; }
.hero__type { position: relative; z-index: 2; }
.hero__q { color: var(--red); margin-top: -.62em; --max: 12.5svh; }
.hero__sub { margin-top: 16px; max-width: 26em; color: var(--white); }
.hero__foot { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: auto; padding-top: 28px; }

/* Hard build (0-frame swap) — pure CSS so it runs without JS. */
@keyframes hard-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes settle { from { transform: scale(1.08); } to { transform: none; } }
.hero__plate > video { transform-origin: 50% 45%; animation: settle .9s var(--expo) both; }
.hero .w1 { animation: hard-in 1ms linear .33s both; }
.hero .w2 { animation: hard-in 1ms linear .53s both; }
.hero__sub, .hero__foot { animation: hard-in 1ms linear .9s both; }

/* ── 01 years ─────────────────────────────────────────── */
.years-sec { padding: 0; }
.stage__pin { padding: clamp(88px, 14vh, 160px) var(--m) clamp(72px, 12vh, 144px); }
.yr { padding: 18px 0 20px; border-bottom: 1px solid var(--line); }
.yr__num { display: block; font-size: min(44vw, 300px); line-height: .92; padding-top: .04em; }
.yr__cap { font-size: clamp(32px, 10vw, 112px); margin-top: .12em; }
.yr__sub { margin-top: 6px; }
.hit { position: relative; color: var(--red); font-weight: inherit; }
.hit::after {
  content: ""; position: absolute; inset: -.04em -.12em -.02em;
  border: .055em solid var(--red); border-radius: .14em; transform: rotate(-5deg);
}
.steps, .ghostwrap { display: none; }

/* staged (sticky) mode — enabled by main.js when motion is allowed */
.stage.is-staged { height: 310vh; height: 310svh; }
.is-staged .stage__pin {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  display: flex; flex-direction: column; padding: 60px var(--m) 0;
}
.is-staged .rowlabel { margin-bottom: 0; }
.is-staged .years { flex: 1; display: grid; align-content: center; min-height: 0; }
.is-staged .yr { grid-area: 1 / 1; padding: 0; border: 0; }
.is-staged .yr__mask { overflow: hidden; }
.is-staged .yr__num { font-size: min(62vw, 42svh, 560px); transform: translateY(104%); transition: transform .2s var(--expo); }
.is-staged .yr.is-on .yr__num { transform: none; }
.is-staged .yr.is-past .yr__num { transform: translateY(-104%); transition: transform .1s var(--pin); }
.is-staged .yr__cap, .is-staged .yr__sub { opacity: 0; }
.is-staged .yr.is-on .yr__cap, .is-staged .yr.is-on .yr__sub { opacity: 1; transition: opacity 0s .07s; }
.is-staged .yr:not(.is-on) .hit::after { opacity: 0; }
@keyframes seal-in { from { opacity: 0; transform: rotate(-5deg) scale(1.5); } to { opacity: 1; transform: rotate(-5deg); } }
.is-staged .yr.is-on .hit::after { animation: seal-in .2s cubic-bezier(.165, .84, .44, 1) .2s both; }
.is-staged .steps { display: flex; gap: 16px; padding: 10px 0 12px; color: var(--sub); }
.is-staged .steps .is-on { color: var(--fg); }
.is-staged .ghostwrap {
  display: block; flex: none; overflow: hidden;
  height: min(27vw, 22svh); margin-inline: calc(var(--m) * -1); padding-left: calc(var(--m) - 4px);
}
.ghost { display: block; font-size: min(66vw, 54svh); line-height: .8; padding-top: .06em; color: var(--ghost); white-space: nowrap; }

/* ── 02 spokes ────────────────────────────────────────── */
.spokes__grid { display: grid; gap: 22px; }
.spokes__capt { margin-top: 10px; color: var(--sub); }
.spokes__head .sub { margin-top: 10px; }
.spokes__head .body { margin-top: 18px; }
.spokes__lower { display: grid; gap: 40px; margin-top: clamp(48px, 10vw, 96px); }
.evi__num { font-size: min(40vw, 300px); line-height: .9; padding-top: .04em; }
.evi__cap { margin-top: 10px; max-width: 22em; }
.press__h { color: var(--sub); margin-bottom: 10px; }
.bridge { margin-top: clamp(64px, 14vw, 140px); }

.rows li {
  display: grid; grid-template-columns: 4.4em minmax(0, 1fr); gap: 12px; align-items: baseline;
  padding: 13px 0 14px; border-top: 1px solid var(--line);
}
.rows li:last-child { border-bottom: 1px solid var(--line); }
.rows__k { font-size: 1.6em; line-height: 1; }
.rows__v { font-size: clamp(16px, 4.3vw, 19px); line-height: 1.45; }

/* ── 03 career ────────────────────────────────────────── */
.career__head { display: grid; gap: 14px; }
.career__num { font-size: min(52vw, 440px); line-height: .9; padding-top: .04em; }
.tiles { display: grid; gap: 56px; margin-top: clamp(40px, 9vw, 88px); }
.tile { background: var(--bg); }
.tile__labels { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 8px; }
.tile__t { margin-top: -.52em; position: relative; z-index: 1; }

/* ── 04 realtor ───────────────────────────────────────── */
.realtor__grid { display: grid; gap: 20px; }
.roll { display: grid; overflow: hidden; font-size: min(54vw, 480px); line-height: .92; }
.roll > span { grid-area: 1 / 1; padding-top: .04em; }
.roll__a { display: none; }
.realtor__t { margin-top: -.55em; position: relative; z-index: 1; }
.stamp {
  display: inline-block; margin: .16em 0 0 .04em; padding: .02em .16em .05em;
  font-size: .78em; color: var(--red);
  border: .07em solid var(--red); border-radius: .16em;
  transform-origin: 0 50%; transform: translateY(.06em) rotate(-13deg) scaleX(var(--sx));
}
.quote blockquote { font-weight: 700; font-size: clamp(19px, 5.4vw, 30px); line-height: 1.45; letter-spacing: -.01em; max-width: 26em; }
.quote figcaption { color: var(--sub); margin-top: 12px; }
.realtor__q { margin-top: 28px; }

/* ── seam (red wipe) ──────────────────────────────────── */
.seam { --e: 1; position: relative; background: var(--black); color: var(--black); overflow-x: clip; }
.seam__pin {
  position: relative; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: grid; align-content: center; padding: 72px var(--m);
}
.seam__red {
  /* Stamp-sized box at --e:0 → full bleed at --e:1 (one absolutely positioned box, no clip-path). */
  position: absolute; background: var(--red);
  top: calc((1 - var(--e)) * 41%); bottom: calc((1 - var(--e)) * 41%);
  left: calc((1 - var(--e)) * 6%); right: calc((1 - var(--e)) * 48%);
  border-radius: calc((1 - var(--e)) * 22px);
  transform: rotate(calc((1 - var(--e)) * -13deg));
}
.seam__fig { position: relative; z-index: 1; }
.seam__src { margin-top: 18px; }
.seam.is-staged { height: 190vh; height: 190svh; }
.seam.is-staged .seam__pin { position: sticky; top: 0; height: 100vh; height: 100svh; }
.seam.is-staged .seam__fig { opacity: 0; }
.seam.is-staged.is-on .seam__fig { opacity: 1; }

/* ── 05 reason ────────────────────────────────────────── */
.why { margin-top: clamp(48px, 10vw, 104px); border-top: 2px solid currentColor; }
.why__row {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 16px; align-items: start;
  padding: 22px 0 28px; border-bottom: 1px solid var(--line);
}
.why__n { font-size: clamp(56px, 17vw, 128px); line-height: .86; padding-top: .05em; }
.why__h { font-size: clamp(30px, 9vw, 64px); }
.why__txt .body { margin-top: 8px; }
.why__plate, .why__mark { grid-column: 1 / -1; margin-top: 14px; }
.why__mark svg { width: clamp(96px, 26vw, 168px); height: auto; overflow: visible; }
.why__mark path { fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linejoin: miter; stroke-dasharray: 1; stroke-dashoffset: 0; }
.reason__q { margin-top: clamp(48px, 10vw, 104px); }
.reason__q figcaption { margin: 0 0 14px; }
.reason__q blockquote { font-weight: 600; font-size: clamp(18px, 4.9vw, 26px); line-height: 1.6; max-width: 30em; }

/* ── 06 film ──────────────────────────────────────────── */
.film__grid { display: grid; gap: 28px; }
.film__t { display: flex; align-items: flex-end; gap: .12em; flex-wrap: wrap; }
.film__num { font-size: min(40vw, 300px); line-height: .86; padding-top: .05em; }
.film__k { font-size: clamp(26px, 8vw, 56px); padding-bottom: .1em; flex: 1; min-width: 6.5em; }
.film__head .body { margin-top: 14px; }
.film__ctl { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.film__ctl[hidden] { display: none; }
.btn {
  min-height: 44px; padding: 10px 16px; cursor: pointer;
  background: none; border: 2px solid currentColor; border-radius: 0;
  font-weight: 700; font-size: 15px; line-height: 1.2;
}
.btn:hover, .btn[aria-pressed="true"] { background: var(--fg); color: var(--bg); }
.film__plate { width: min(100%, calc(78svh * 9 / 16)); justify-self: center; background-color: var(--black); outline: 1px solid var(--line); }

/* ── 07 profile ───────────────────────────────────────── */
.profile__grid { display: grid; gap: 36px; }
.profile__role { font-weight: 700; font-size: clamp(20px, 5.6vw, 34px); line-height: 1.2; letter-spacing: -.01em; }
.profile__h { margin-top: .02em; }
.profile__name .sub { margin-top: 8px; }

/* ── end ──────────────────────────────────────────────── */
.end { padding-top: 0; padding-bottom: clamp(72px, 12vh, 120px); }
.marq {
  overflow: hidden; margin-inline: calc(var(--m) * -1);
  border-block: 2px solid currentColor; padding: 12px 0 13px;
}
.marq__t { display: flex; width: max-content; font-weight: 600; font-size: clamp(14px, 3.8vw, 18px); line-height: 1.2; white-space: nowrap; animation: marq 48s linear infinite; }
.marq__t span { padding-right: .35em; }
@keyframes marq { to { transform: translateX(-50%); } }
.end__band { --ar: 16 / 9; margin-top: clamp(24px, 5vw, 56px); }
.end__body { margin-top: clamp(40px, 9vw, 88px); }
.end__link { display: block; margin-top: 18px; text-decoration: none; }
.end__k { display: block; margin-bottom: 6px; }
.end__link .fit { display: block; }
.end__handle { display: block; line-height: .95; padding-top: .04em; white-space: nowrap; }
.end__bar { display: block; height: clamp(4px, 1vw, 6px); margin-top: 10px; background: var(--red); transform-origin: 0 50%; }
.end__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: clamp(56px, 12vw, 120px); }
.marks { display: flex; gap: 8px; color: var(--red); }
.mark { width: clamp(28px, 7vw, 40px); height: auto; fill: currentColor; }
.mark text { font-family: var(--kr); font-weight: 900; font-size: 30px; fill: var(--bg); }
.mark__door { fill: var(--bg); }
.fine { font-size: 13px; line-height: 1.4; color: var(--sub); text-align: right; }

/* ── reveal states (only when main.js allows motion) ──── */
.js-motion [data-rv="wipe"] { clip-path: inset(0 0 100% 0); }
.js-motion [data-rv="wipe"].is-in { clip-path: inset(0); transition: clip-path .5s var(--expo); }

.js-motion [data-rv="build"] > * { opacity: 0; }
.js-motion [data-rv="build"].is-in > * { animation: hard-in 1ms linear calc(var(--i, 0) * 200ms + 100ms) both; }

.js-motion [data-rv="lift"] .ln { overflow: hidden; padding-block: .08em; margin-block: -.08em; }
.js-motion [data-rv="lift"] .sx { transform: translateY(108%) scaleX(var(--sx)); }
.js-motion [data-rv="lift"].is-in .sx { transform: scaleX(var(--sx)); transition: transform .5s var(--expo) .1s; }

.js-motion [data-rv="rows"] > * { opacity: 0; transform: translateY(12px); }
.js-motion [data-rv="rows"].is-in > * {
  opacity: 1; transform: none;
  transition: opacity .2s var(--expo), transform .3s var(--expo);
  transition-delay: calc(var(--i, 0) * 50ms + 100ms);
}

.js-motion [data-rv="roll"] .roll__a { display: block; }
.js-motion [data-rv="roll"] .roll__b { transform: translateY(104%); }
.js-motion [data-rv="roll"].is-in .roll__a { transform: translateY(-104%); transition: transform .12s var(--pin) .25s; }
.js-motion [data-rv="roll"].is-in .roll__b { transform: none; transition: transform .25s var(--expo) .32s; }

@keyframes stamp-in {
  from { opacity: 0; transform: rotate(-6deg) scaleX(var(--sx)) scale(1.6); }
  to { opacity: 1; transform: rotate(-6deg) scaleX(var(--sx)); }
}
@keyframes stamp-slip {
  from { transform: rotate(-6deg) scaleX(var(--sx)); }
  to { transform: translateY(.06em) rotate(-13deg) scaleX(var(--sx)); }
}
.js-motion [data-rv="stamp"] { opacity: 0; }
.js-motion [data-rv="stamp"].is-in {
  opacity: 1;
  animation: stamp-in .2s cubic-bezier(.165, .84, .44, 1) .5s both, stamp-slip .5s cubic-bezier(.34, 1.56, .64, 1) 1.3s forwards;
}

.js-motion [data-rv="draw"] path { stroke-dashoffset: 1; }
.js-motion [data-rv="draw"].is-in path { stroke-dashoffset: 0; transition: stroke-dashoffset .6s var(--inout) .2s; }
.js-motion [data-rv="draw"].is-in path + path { transition-delay: .7s; }

.js-motion [data-rv="bar"] { transform: scaleX(0); }
.js-motion [data-rv="bar"].is-in { transform: none; transition: transform .4s var(--expo) .2s; }

/* ── motion off (toggle button or OS setting) ─────────── */
.motion-off .marq__t { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .hero__plate > video, .hero .w1, .hero .w2, .hero__sub, .hero__foot { animation: none; }
  .marq__t { animation: none; }
}

/* ── ≥ 900px ──────────────────────────────────────────── */
@media (min-width: 900px) {
  .bleed-m { margin-inline: 0; }

  .hero {
    display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: minmax(0, 1fr) auto;
    column-gap: 24px; height: 100vh; height: 100svh; min-height: 640px; padding-top: 64px;
  }
  .hero__plate { grid-column: 5 / 13; grid-row: 1; justify-self: end; align-self: start; width: min(46vw, 80svh); margin: 0; max-height: none; }
  .hero__type { grid-column: 1 / 10; grid-row: 1; align-self: end; }
  .hero__q { margin-top: 0; --max: 18.5svh; }
  .hero__sub { grid-column: 10 / 13; grid-row: 1; align-self: end; margin: 0 0 .5em; }
  .hero__foot { grid-column: 1 / -1; grid-row: 2; margin-top: 0; }

  .is-staged .stage__pin { padding-top: 72px; }
  .yr__cap { font-size: clamp(56px, 7.4vw, 112px); }

  .spokes__grid { grid-template-columns: 7fr 5fr; gap: 24px 56px; align-items: end; }
  .spokes__lower { grid-template-columns: 5fr 7fr; gap: 56px; align-items: end; }

  .career__head { grid-template-columns: auto minmax(0, 1fr); gap: 56px; align-items: end; }
  .career__head .body { padding-bottom: 1.2em; }
  .tiles { grid-template-columns: 1fr 1fr; gap: 24px; }
  .tile--b { margin-top: 14vh; }

  .realtor__grid { grid-template-columns: 5fr 7fr; gap: 24px 56px; }
  .realtor__a { grid-column: 1; grid-row: 1; }
  .realtor__b { grid-column: 2; grid-row: 1 / 3; }
  .realtor__q { grid-column: 1; grid-row: 2; align-self: end; margin: 0 0 1.5em; }
  .roll { font-size: min(30vw, 480px); }

  .why__row { grid-template-columns: 180px minmax(0, 1fr) minmax(0, 420px); gap: 24px; padding: 32px 0 36px; align-items: end; }
  .why__plate, .why__mark { grid-column: 3; margin-top: 0; }
  .why__mark { justify-self: end; }

  .film__grid { grid-template-columns: 6fr 6fr; gap: 56px; align-items: end; }
  .film__plate { justify-self: end; width: min(100%, calc(82svh * 9 / 16)); }

  .profile__grid { grid-template-columns: 5fr 7fr; gap: 56px; align-items: end; }

  .end__band { --ar: 21 / 9; }
}

/* dev slot label: hidden once posters exist (re-enable with .show-slots on <html>) */
.plate__slot { display: none; }
.show-slots .plate__slot { display: block; }

/* 06 cases — outcome first, judgment lines as evidence */
.cases__hero { margin-top: clamp(32px, 7vw, 72px); }
.cases__big { font-size: clamp(54px, 16.5vw, 236px); line-height: .9; color: var(--red); margin: 0; letter-spacing: -.01em; }
.cases__unit { font-family: var(--kr); font-weight: 900; font-size: .32em; margin-left: .08em; color: var(--fg); }
.cases__claim { --n: 1; font-size: clamp(22px, 4.4vw, 60px); margin-top: 20px; color: var(--fg); }
.cases__flow { list-style: none; padding: 0; margin: clamp(40px, 8vw, 80px) 0 0; display: grid; gap: 0; }
.cases__flow li { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "k a" "s a"; gap: 4px 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.cases__flow li:last-child { border-bottom: 1px solid var(--line); }
.cases__flow .label { grid-area: k; color: var(--sub); }
.cases__flow .sub { grid-area: s; color: var(--sub); }
.cases__amt { grid-area: a; align-self: center; font-size: clamp(30px, 3.3vw, 46px); line-height: 1; color: var(--fg); }
.cases__flow li.is-key .cases__amt { color: var(--red); }
.cases__evi { margin-top: clamp(40px, 8vw, 72px); display: grid; gap: 14px; }
.cases__evi figure { margin: 0; }
.cases__evi img { display: block; max-width: 100%; height: auto; background: var(--white); padding: 8px 12px; box-sizing: border-box; filter: grayscale(1); }
.cases__u, .cases__amt--kr { font-family: var(--kr); font-weight: 900; letter-spacing: -.03em; }
.cases__u { font-size: .62em; margin-left: .04em; }
.cases__amt--kr { font-size: clamp(26px, 3vw, 40px); }
.cases__evi figcaption { margin-top: 6px; color: var(--sub); }
.cases__evi-h { color: var(--sub); }
.cases__fine { margin-top: 32px; color: var(--sub); text-transform: none; }
@media (min-width: 900px) {
  .cases__flow { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .cases__flow li { grid-template-columns: 1fr; grid-template-areas: "k" "a" "s"; }
  .cases__amt { margin: 10px 0 4px; }
  .cases__flow li, .cases__flow li:last-child { border-bottom: 1px solid var(--line); }
}

.cases__quotes { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 0; }
.cases__quotes li { display: grid; gap: 6px; padding: 14px 0; border-top: 1px solid var(--line); }
.cases__quotes li:last-child { border-bottom: 1px solid var(--line); }
.cases__quotes .label { color: var(--sub); }
.cases__quotes q { quotes: "「" "」"; font-family: var(--kr); font-weight: 600; font-size: clamp(16px, 1.5vw, 20px); line-height: 1.5; color: var(--fg); }
@media (min-width: 900px) { .cases__quotes li { grid-template-columns: 160px 1fr; align-items: baseline; } }

/* recent verdict banner — first thing on the page */
.verdict { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: baseline; margin: 0 calc(var(--m) * -1) 16px; padding: 14px var(--m); background: var(--red); color: var(--white); text-decoration: none; position: relative; z-index: 3; }
.verdict__tag { font-weight: 800; }
.verdict__when { justify-self: end; opacity: .9; }
.verdict__amt { grid-column: 1 / -1; font-family: var(--kr); font-weight: 800; font-size: clamp(18px, 2.4vw, 30px); letter-spacing: -.02em; }
.verdict__amt .num { font-size: 1.12em; }
.verdict__cut { grid-column: 1 / -1; font-family: var(--kr); font-weight: 700; font-size: clamp(14px, 1.4vw, 18px); }
.verdict__cut b { font-size: 1.15em; }
.verdict:hover .verdict__cut, .verdict:focus-visible .verdict__cut { text-decoration: underline; }
@media (min-width: 900px) { .hero { grid-template-rows: auto 1fr auto; } .hero > .verdict { grid-column: 1 / -1; grid-row: 1; margin: 0 calc(var(--m) * -1) 24px; } .hero > .hero__plate, .hero > .hero__type, .hero > .hero__sub { grid-row: 2; } .hero > .hero__foot { grid-row: 3; } .verdict { grid-template-columns: auto auto 1fr auto; } .verdict__amt { grid-column: auto; } .verdict__cut { grid-column: auto; justify-self: end; } .verdict__when { justify-self: start; } }

.cases__note { margin: clamp(28px, 5vw, 48px) 0 0; padding: 0 0 0 18px; border-left: 3px solid var(--red); max-width: 38em; }
.cases__note p { margin: 0; font-family: var(--kr); font-weight: 600; font-size: clamp(17px, 1.7vw, 22px); line-height: 1.6; color: var(--fg); }
.cases__note footer { margin-top: 10px; color: var(--sub); }
