/* midnightclue — the midnight star chart.
   Paper is the hero and the sky is the stage. Gold is flat foil (no glow, no chrome);
   red marks only the play button, the clue and the rubber stamps. One light, from above: shadows fall straight down. */

:root {
  color-scheme: dark;
  /* the sky, from the zenith down to the horizon */
  --zenith: #070E22;
  --sky: #0B1633;
  --horizon: #1A2C5C;
  --panel: #12204A;
  --ground: #050B1C;
  /* light on the night */
  --starlight: #F5F1E4;
  --ink-night: #ECE6D8;
  --ink-night-2: #A3ADC6;
  --gold: #E3BF73;
  --gold-line: #C9A65B;
  --gold-deep: #8A6A2E;
  /* the papers on the desk */
  --cream: #F2E9D7;
  --cream-2: #E5D7BC;
  --polaroid: #FBF8F1;
  --ink: #262019;
  --ink-2: #675C4B;
  /* the clue */
  --red: #B32F27;
  --red-hover: #C2362D;
  --red-star: #D0433A;
  --red-ink: #9E2B23;

  --serif: 'Hahmlet', 'Nanum Myeongjo', 'AppleMyungjo', serif;
  --sans: 'Noto Sans KR', 'Apple SD Gothic Neo', 'Malgun Gothic', system-ui, sans-serif;
  --hand: 'Nanum Pen Script', cursive;
  --latin: 'Cormorant Garamond', 'Times New Roman', serif;

  --paper: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .42 0 0 0 0 .36 0 0 0 0 .27 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --starfield: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='320'%3E%3Cg fill='%23F5F1E4'%3E%3Ccircle cx='0.0' cy='294.6' r='0.56' opacity='0.65'/%3E%3Ccircle cx='170.5' cy='105.4' r='0.83' opacity='0.55'/%3E%3Ccircle cx='219.0' cy='203.5' r='0.57' opacity='0.46'/%3E%3Ccircle cx='226.5' cy='223.4' r='1.54' opacity='0.51'/%3E%3Ccircle cx='295.2' cy='258.4' r='0.71' opacity='0.76'/%3E%3Ccircle cx='119.1' cy='107.3' r='0.62' opacity='0.33'/%3E%3Ccircle cx='95.2' cy='137.1' r='0.92' opacity='0.56'/%3E%3Ccircle cx='233.4' cy='280.9' r='1.34' opacity='0.56'/%3E%3Ccircle cx='162.8' cy='134.9' r='0.90' opacity='0.28'/%3E%3Ccircle cx='53.0' cy='129.8' r='0.63' opacity='0.48'/%3E%3Ccircle cx='106.4' cy='170.1' r='0.57' opacity='0.75'/%3E%3Ccircle cx='146.5' cy='276.2' r='0.77' opacity='0.53'/%3E%3Ccircle cx='161.6' cy='220.5' r='0.65' opacity='0.64'/%3E%3Ccircle cx='80.4' cy='187.8' r='0.62' opacity='0.47'/%3E%3Ccircle cx='254.3' cy='280.8' r='1.61' opacity='0.29'/%3E%3Ccircle cx='130.2' cy='49.1' r='1.70' opacity='0.37'/%3E%3Ccircle cx='202.4' cy='46.2' r='0.75' opacity='0.33'/%3E%3Ccircle cx='243.6' cy='88.1' r='1.32' opacity='0.29'/%3E%3Ccircle cx='0.5' cy='197.4' r='0.82' opacity='0.52'/%3E%3Ccircle cx='286.2' cy='37.9' r='0.45' opacity='0.75'/%3E%3Ccircle cx='203.8' cy='295.1' r='1.65' opacity='0.35'/%3E%3Ccircle cx='310.0' cy='180.9' r='0.58' opacity='0.37'/%3E%3Ccircle cx='66.9' cy='180.6' r='1.58' opacity='0.64'/%3E%3Ccircle cx='228.5' cy='159.4' r='1.26' opacity='0.76'/%3E%3Ccircle cx='41.8' cy='220.1' r='0.47' opacity='0.74'/%3E%3Ccircle cx='79.4' cy='232.9' r='0.65' opacity='0.38'/%3E%3Ccircle cx='129.6' cy='283.8' r='0.63' opacity='0.59'/%3E%3Ccircle cx='235.2' cy='107.2' r='0.66' opacity='0.36'/%3E%3Ccircle cx='99.7' cy='315.4' r='0.77' opacity='0.73'/%3E%3C/g%3E%3C/svg%3E");
  --star: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);

  /* shadows: paper resting on the chart, a card lifted, the folder pinned over the dial */
  --shadow-1: 0 1px 1px rgba(0, 0, 0, .28), 0 8px 16px -8px rgba(0, 0, 0, .5);
  --shadow-2: 0 1px 1px rgba(0, 0, 0, .3), 0 18px 30px -10px rgba(0, 0, 0, .55);
  --shadow-3: 0 1px 1px rgba(0, 0, 0, .35), 0 28px 48px -10px rgba(0, 0, 0, .62);

  --ease: cubic-bezier(.2, .8, .2, 1);
  --pad: max(20px, env(safe-area-inset-left, 0px));
  --pad-r: max(20px, env(safe-area-inset-right, 0px));
  --wrap: 1200px;
  --head-h: 60px;
  --meridian: -36px;
}
@media (width > 760px) { :root { --pad: max(72px, env(safe-area-inset-left, 0px)); --pad-r: max(48px, env(safe-area-inset-right, 0px)); --head-h: 72px; } }
@media (width > 1099px) { :root { --pad: 64px; --pad-r: 64px; } }

/* ── base ─────────────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 16px); }
body {
  margin: 0; min-height: 100vh; overflow-x: hidden;
  background: var(--zenith); color: var(--ink-night);
  font: 400 16px/1.75 var(--sans); word-break: keep-all; overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
img, svg, video { display: block; max-width: 100%; }
img, video { height: auto; }
[hidden] { display: none !important; }
a { color: inherit; }
p, h1, h2, h3, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { text-wrap: balance; }
p, li, dd, figcaption { text-wrap: pretty; }
button { font: inherit; color: inherit; }
b, strong { font-weight: 700; }
::selection { background: var(--gold); color: var(--zenith); }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
main:focus-visible { outline: none; }

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hand { font-family: var(--hand); font-weight: 400; line-height: 1.15; letter-spacing: 0; }
.latin { font-family: var(--latin); }
.nobr { display: inline-block; white-space: nowrap; }
.latin, .dial text, .foot__copy { font-variant-numeric: lining-nums; }
.skip { position: fixed; z-index: 100; left: 12px; top: -60px; padding: 10px 16px; background: var(--gold); color: var(--zenith); font-weight: 700; text-decoration: none; border-radius: 3px; transition: top .2s; }
.skip:focus { top: 12px; }

/* ── the masthead: logo (its hand reads how far down the page you are), menu, play ── */

.masthead { position: fixed; z-index: 40; top: 0; left: 0; right: 0; height: calc(var(--head-h) + env(safe-area-inset-top, 0px)); padding-top: env(safe-area-inset-top, 0px); transition: background-color .3s, box-shadow .3s; }
.masthead.is-solid { background: rgba(7, 14, 34, .9); box-shadow: 0 1px 0 rgba(201, 166, 91, .18); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.masthead::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 14, 34, .8), rgba(7, 14, 34, 0)); transition: opacity .3s; pointer-events: none; }
.masthead.is-solid::before { opacity: 0; }
.masthead__in { height: 100%; max-width: calc(var(--wrap) + 160px); margin: 0 auto; padding: 0 var(--pad-r) 0 var(--pad); display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--starlight); text-decoration: none; }
.brand__mark { width: 38px; height: 38px; flex: none; }
.brand__name { font-size: 25px; font-weight: 600; letter-spacing: .02em; line-height: 1; }
.mark__hand { transform-origin: 42px 42px; transform: rotate(calc(var(--progress, 0) * 360deg)); }

.nav { margin-left: auto; }
.nav__list { display: flex; gap: 6px; }
.nav__link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; position: relative; font-size: 15px; font-weight: 500; color: var(--ink-night); text-decoration: none; opacity: .88; transition: opacity .2s, color .2s; }
.nav__link:hover { opacity: 1; color: var(--starlight); }
.nav__link[aria-current="page"] { opacity: 1; color: var(--starlight); }
.nav__link[aria-current="page"]::after { content: ''; position: absolute; left: 50%; bottom: 4px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--gold); }
.nav__foot { display: none; }
.masthead__play { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px solid rgba(227, 191, 115, .6); border-radius: 3px; color: var(--gold); font-size: 14px; font-weight: 700; text-decoration: none; transition: background-color .2s, color .2s, border-color .2s; }
.masthead__play:hover { background: var(--gold); border-color: var(--gold); color: var(--zenith); }
.masthead__play span { font-size: 11px; }
.nav-toggle { display: none; }

/* ── buttons and links ───────────────────────────────────────────────── */

.btn-play {
  position: relative; display: inline-grid; grid-template-columns: auto auto; align-items: center; column-gap: 20px;
  padding: 14px 24px 14px 26px; border-radius: 4px; background: var(--red); color: #fff; text-decoration: none; overflow: visible;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .18) inset, 0 12px 22px -12px rgba(0, 0, 0, .7);
  transition: background-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn-play:hover { background: var(--red-hover); transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255, 255, 255, .2) inset, 0 16px 26px -12px rgba(0, 0, 0, .75); }
.btn-play:active { transform: translateY(1px); }
.btn-play__case { grid-column: 1; font: 600 12px/1 var(--latin); letter-spacing: .24em; opacity: .9; font-variant-numeric: lining-nums; }
.btn-play__label { grid-column: 1; font: 700 19px/1.35 var(--sans); white-space: nowrap; }
.btn-play__icon { grid-column: 2; grid-row: 1 / span 2; font-size: 15px; transition: transform .2s var(--ease); }
.btn-play:hover .btn-play__icon { transform: translateX(3px); }
.btn-play--small { padding: 10px 18px 10px 20px; column-gap: 14px; }
.btn-play--small .btn-play__case { font-size: 11px; }
.btn-play--small .btn-play__label { font-size: 16px; }
.btn-play__plane { position: absolute; right: 18px; top: 50%; width: 30px; height: 30px; margin-top: -15px; opacity: 0; pointer-events: none; }
.btn-play.is-flying .btn-play__icon { opacity: 0; }
.btn-play.is-flying .btn-play__plane { animation: fly .4s cubic-bezier(.5, 0, .75, .3) forwards; }
@keyframes fly { 0% { opacity: 1; transform: translate(0, 0) rotate(0); } 100% { opacity: 0; transform: translate(220px, -160px) rotate(-14deg) scale(.7); } }

.btn-quiet { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border: 1px solid rgba(227, 191, 115, .65); border-radius: 3px; background: transparent; color: var(--gold); font-size: 15px; font-weight: 700; text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s; }
.btn-quiet:hover { background: var(--gold); color: var(--zenith); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--gold); font-weight: 500; text-decoration: underline; text-decoration-color: rgba(227, 191, 115, .45); text-underline-offset: 6px; text-decoration-thickness: 1px; transition: text-decoration-color .2s, gap .2s var(--ease); }
.link-arrow:hover { text-decoration-color: var(--gold); gap: 10px; }
.link-quiet { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink-night-2); font-size: 14px; text-underline-offset: 4px; }
.link-quiet:hover { color: var(--ink-night); }

.touch-note { display: none; margin-top: 12px; font-size: 14px; color: var(--gold); }   /* phones can't play yet (PC only): this has to be seen next to the play button */
@media (pointer: coarse) { .touch-note { display: block; } }
.inapp-note { margin-top: 12px; padding: 10px 14px; border: 1px solid rgba(227, 191, 115, .5); border-radius: 4px; background: rgba(18, 32, 74, .8); font-size: 14px; line-height: 1.6; color: var(--ink-night); max-width: 34em; }

/* the dotted line of facts (home hero, case page head) */
.facts, .badges { display: flex; flex-wrap: wrap; gap: 4px 0; margin-top: 22px; font-size: 14px; color: var(--ink-night-2); }
.facts li:not(:last-child)::after, .badges li:not(:last-child)::after { content: '·'; content: '·' / ''; margin: 0 9px; color: rgba(158, 168, 194, .7); }
.facts b, .badges li:first-child { font-weight: 700; color: var(--gold); }

/* ── the sky (hero, sub-page heads, the footer) ──────────────────────── */

.sky { position: absolute; inset: 0; overflow: hidden; pointer-events: none;
  background: radial-gradient(120% 70% at 70% 0%, rgba(40, 62, 120, .35), transparent 60%), linear-gradient(180deg, var(--zenith) 0%, var(--sky) 46%, #10204a 78%, var(--horizon) 100%); }
.sky__milky { position: absolute; left: -10%; top: 6%; width: 120%; height: 40%; transform: rotate(-14deg); opacity: .16; background: radial-gradient(50% 50% at 50% 50%, rgba(214, 220, 255, .55), transparent 70%); filter: blur(18px); }
.stars { position: absolute; inset: 0; width: 100%; height: 100%; }
.roofs { position: absolute; z-index: 4; left: 0; right: 0; bottom: -1px; width: 100%; height: 120px; pointer-events: none; }

/* ── the home hero: the gilt dial, the folder pinned to it, the copy ── */

.hero { position: relative; min-height: max(720px, min(100vh, 980px)); min-height: max(720px, min(100svh, 980px)); overflow: hidden; isolation: isolate; }
.hero__in { position: relative; z-index: 5; max-width: calc(var(--wrap) + 160px); min-height: inherit; margin: 0 auto; padding: calc(var(--head-h) + 40px) var(--pad-r) 150px var(--pad); display: flex; align-items: center; }
.hero__copy { position: relative; z-index: 3; width: min(560px, 42%); }
.kicker { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; font-size: 30px; color: var(--gold); }
.kicker__dot { flex: none; width: 11px; height: 11px; background: var(--gold); clip-path: var(--star); }
.kicker .latin { font-size: .6em; font-weight: 600; letter-spacing: .22em; margin-right: .1em; }
.hero__title { font: 800 clamp(44px, 4.3vw, 66px)/1.16 var(--serif); letter-spacing: -.012em; color: var(--starlight); }
.hero__lead { margin-top: 24px; max-width: 30em; font-size: 18px; line-height: 1.8; color: var(--ink-night); }
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px; margin-top: 34px; }

/* the chart never grows taller than the screen under the masthead */
.hero__chart { position: absolute; z-index: 2; right: -60px; top: calc(50% + var(--head-h) / 2); width: min(800px, 62vw, calc(100vh - var(--head-h) - 48px)); width: min(800px, 62vw, calc(100svh - var(--head-h) - 48px)); aspect-ratio: 1; transform: translateY(-50%); }
@media (width > 900px) { .hero__chart { translate: 0 calc(var(--shift, 0) * 1px); } .chero__photo { translate: 0 calc(var(--shift, 0) * .5px); } }
.dial { width: 100%; height: 100%; overflow: visible; }
.dial__hand { transform-origin: 400px 400px; }
.hero .dial__hand--m { animation: hand-m 2.4s cubic-bezier(.65, 0, .35, 1) .3s both; }
.hero .dial__hand--h { animation: hand-h 2.4s cubic-bezier(.65, 0, .35, 1) .3s both; }
@keyframes hand-m { from { transform: rotate(-12deg); } 92% { transform: rotate(1deg); } to { transform: rotate(0); } }
@keyframes hand-h { from { transform: rotate(-1deg); } to { transform: rotate(0); } }
.dial__line { stroke: var(--gold); stroke-width: 1.4; fill: none; stroke-dasharray: 400; stroke-dashoffset: 0; }
.hero .dial__line { stroke-dashoffset: 400; animation: draw 1s ease forwards; animation-delay: var(--d); }
@keyframes draw { to { stroke-dashoffset: 0; } }
.dial__clue { transform-box: fill-box; transform-origin: center; }
.hero .dial__clue { animation: clue 1s cubic-bezier(.3, 1.6, .5, 1) 2.5s both; }
@keyframes clue { from { transform: scale(0); } to { transform: scale(1); } }
.is-zero .dial__clue { animation: clue-zero 2.4s ease-in-out infinite; }
@keyframes clue-zero { 50% { transform: scale(1.45); } }
.dial__rim { font-family: var(--latin); }

.countdown { position: absolute; left: 50%; top: 70%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--gold); text-align: center; white-space: nowrap; }
.countdown__label { font-size: 12px; font-weight: 500; letter-spacing: .26em; opacity: .85; }
.countdown__time { font: 500 26px/1 var(--sans); font-variant-numeric: tabular-nums; letter-spacing: .08em; min-width: 7.2ch; }

.folder {
  position: absolute; z-index: 6; display: block; left: -4%; bottom: 3%; width: clamp(240px, 38%, 310px); padding: 18px 18px 16px;
  background: var(--paper), var(--cream); color: var(--ink); text-decoration: none; box-shadow: var(--shadow-3);
  transform: rotate(-3deg); animation: drop .6s var(--ease) 1.1s both; transition: transform .35s var(--ease);
}
.folder:hover { transform: rotate(-1.5deg) translateY(-4px); }
@keyframes drop { from { transform: translateY(-18px) rotate(-5deg); opacity: 0; } to { transform: rotate(-3deg); opacity: 1; } }
.folder__tab { position: absolute; left: 20px; top: -28px; height: 28px; padding: 7px 16px 0; border-radius: 6px 6px 0 0; background: var(--cream); font-size: 13px; font-weight: 600; letter-spacing: .24em; color: var(--ink-2); }
.folder__photo { position: relative; display: block; padding: 9px 9px 26px; background: var(--polaroid); box-shadow: 0 1px 2px rgba(0, 0, 0, .25), 0 6px 14px -4px rgba(0, 0, 0, .3); transform: rotate(1.5deg); }
.folder__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.folder__title { position: absolute; left: 50%; bottom: 2px; width: 74%; transform: translateX(-50%) rotate(-2deg); filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .55)); }
.pin { position: absolute; z-index: 2; left: 50%; top: -13px; width: 28px; height: 28px; margin-left: -14px; filter: drop-shadow(0 3px 2px rgba(0, 0, 0, .45)); }
.folder .pin { animation: pin-in .2s ease 1.7s both; }
@keyframes pin-in { from { transform: scale(1.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.folder__name { display: block; margin-top: 14px; font: 800 25px/1.2 var(--serif); letter-spacing: -.01em; }
.folder__meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 10px; margin-top: 4px; font-size: 13px; color: var(--ink-2); }
.folder__meta span { white-space: nowrap; }
.folder__note { position: absolute; right: 12px; bottom: -22px; padding: 2px 10px; background: var(--cream-2); color: var(--ink-2); font-size: 20px; transform: rotate(4deg); box-shadow: var(--shadow-1); }

/* ── bands: the sky below the hero, one gold meridian running through them ── */

.band { position: relative; padding: clamp(64px, 7.5vw, 108px) 0; background: var(--starfield), var(--sky); background-size: 320px 320px, auto; }
/* below the roofs the night picks up from the ground, so there is no seam */
.hero + .band, .chero + .band { background: var(--starfield), linear-gradient(180deg, var(--ground) 0, var(--sky) 240px); background-size: 320px 320px, auto; }
.band__in { position: relative; max-width: calc(var(--wrap) + var(--pad) + var(--pad-r)); margin: 0 auto; padding: 0 var(--pad-r) 0 var(--pad); }
.band::before { content: ''; position: absolute; top: 0; bottom: 0; width: 1px; left: calc(max(0px, (100% - var(--wrap) - var(--pad) - var(--pad-r)) / 2) + var(--pad) + var(--meridian));
  background: rgba(201, 166, 91, .45); transform-origin: top; transition: transform 1.4s var(--ease); }
.band.is-undrawn::before { transform: scaleY(0); }
/* the meridian ends on a star */
main > .band:last-child::after { content: ''; position: absolute; bottom: -6px; width: 13px; height: 13px; left: calc(max(0px, (100% - var(--wrap) - var(--pad) - var(--pad-r)) / 2) + var(--pad) + var(--meridian) - 6px); background: var(--gold); clip-path: var(--star); }

.sec-head { position: relative; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 22px; margin-bottom: clamp(32px, 4.5vw, 56px); }
.sec-head__title { font: 700 clamp(30px, 3.2vw, 46px)/1.2 var(--serif); letter-spacing: -.01em; color: var(--starlight); }
.sec-head__note { font-size: clamp(24px, 2.2vw, 30px); color: var(--gold); transform: rotate(-2deg); }
.sec-head--small { margin-bottom: 28px; }
.sec-head--small .sec-head__title { font-size: clamp(26px, 2.5vw, 34px); }
.sec-head--small .sec-head__note { font-size: 24px; }
.node { position: absolute; left: calc(var(--meridian) - 6px); top: .7em; width: 13px; height: 13px; background: var(--gold); clip-path: var(--star); }
/* a second column is off the meridian: its star sits before the title instead */
.desk__col + .desk__col .node, .workshop__files .node { position: relative; left: 0; top: 0; align-self: center; width: 11px; height: 11px; margin-right: -12px; }

/* ── polaroids and the gallery viewer's triggers ───────────────────── */

.shot { position: relative; display: block; padding: 8px 8px 9px; background: var(--polaroid); box-shadow: var(--shadow-2); transform: rotate(var(--tilt, -1.2deg)); transition: transform .35s var(--ease), box-shadow .35s; cursor: zoom-in; }
.shot img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.shot:hover { transform: rotate(0) translateY(-4px); box-shadow: 0 1px 1px rgba(0, 0, 0, .3), 0 24px 36px -12px rgba(0, 0, 0, .6); }
.shot:focus-visible { outline-offset: 5px; }

/* ── home: how a case is solved ─────────────────────────────────────── */

.how { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 4vw, 64px); align-items: start; }
.film { position: sticky; top: calc(var(--head-h) + 24px); }
.film__frame { position: relative; padding: 10px 10px 12px; background: var(--polaroid); box-shadow: var(--shadow-2); transform: rotate(-1deg); }
.film__frame::before { content: ''; position: absolute; z-index: 2; left: 50%; top: -12px; width: 110px; height: 26px; margin-left: -55px; background: rgba(229, 215, 188, .85); transform: rotate(2deg); box-shadow: 0 1px 2px rgba(0, 0, 0, .15); }
.film__video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #000; }
.film__toggle { position: absolute; right: 18px; bottom: 22px; min-width: 44px; min-height: 44px; padding: 0 14px; border: 0; border-radius: 3px; background: rgba(7, 14, 34, .78); color: var(--starlight); font-size: 13px; font-weight: 700; cursor: pointer; }
.film__toggle:hover { background: rgba(7, 14, 34, .95); }
.film__cap { margin-top: 18px; font-size: 14px; color: var(--ink-night-2); }
.film__cap a { color: var(--gold); text-underline-offset: 4px; }

.verbs { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 28px; }
.verb:nth-child(4n + 1) .shot, .verb:nth-child(4n + 1) .board-frame { --tilt: -1.4deg; }
.verb:nth-child(4n + 2) .shot, .verb:nth-child(4n + 2) .board-frame { --tilt: 1.1deg; }
.verb:nth-child(4n + 3) .shot, .verb:nth-child(4n + 3) .board-frame { --tilt: .8deg; }
.verb:nth-child(4n + 4) .shot, .verb:nth-child(4n + 4) .board-frame { --tilt: -.9deg; }
.verb__name { display: flex; align-items: baseline; gap: 10px; margin-top: 18px; font: 700 21px/1.3 var(--serif); color: var(--starlight); }
.verb__no { font-size: 17px; font-style: italic; color: var(--gold); }
.verb__line { margin-top: 6px; font-size: 15px; line-height: 1.7; color: var(--ink-night); }
.verbs--case { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* the reasoning board, drawn (there is no spoiler-free picture of it), in a polaroid's frame */
.board-frame { position: relative; padding: 8px 8px 9px; background: var(--polaroid); box-shadow: var(--shadow-2); transform: rotate(var(--tilt, -.9deg)); }
.board { position: relative; aspect-ratio: 16 / 9; padding: 7% 9% 6%; background: var(--paper), var(--cream); display: flex; flex-direction: column; justify-content: flex-end; gap: 9%; }
.board__title { position: absolute; left: 9%; top: 5%; font-size: 21px; color: var(--ink-2); }
.board__row { display: flex; align-items: center; gap: 10px; }
.board__row i { flex: none; width: 19px; height: 19px; border-radius: 50%; border: 1.5px solid var(--ink-2); font: 600 11px/16px var(--sans); text-align: center; font-style: normal; color: var(--ink-2); }
.board__row b { flex: 1; height: 2px; background: repeating-linear-gradient(90deg, var(--ink-2) 0 7px, transparent 7px 12px); opacity: .55; }
.board__row--open b { background: repeating-linear-gradient(90deg, var(--red) 0 7px, transparent 7px 12px); opacity: .8; }
/* on a wide screen the four photos hang from one gold thread, pinned like a constellation */
@media (width > 1240px) {
  .verbs--case::before { content: ''; position: absolute; left: 11%; right: 11%; top: 2px; border-top: 1px dashed rgba(201, 166, 91, .6); }
  .verbs--case .shot::before, .verbs--case .board-frame::before { content: ''; position: absolute; z-index: 3; left: 50%; top: -9px; width: 18px; height: 18px; margin-left: -9px; background: var(--gold); clip-path: var(--star); }
}

/* three notes taped to the desk */
.assure { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: clamp(52px, 6vw, 76px); }
.assure__item { position: relative; padding: 24px 22px 22px; background: var(--paper), var(--cream-2); color: var(--ink); box-shadow: var(--shadow-1); transform: rotate(var(--tilt, -.8deg)); }
.assure__item:nth-child(2) { --tilt: .7deg; }
.assure__item:nth-child(3) { --tilt: -.4deg; }
.assure__item::before { content: ''; position: absolute; left: 50%; top: -11px; width: 76px; height: 22px; margin-left: -38px; background: rgba(242, 233, 215, .82); transform: rotate(-2deg); box-shadow: 0 1px 2px rgba(0, 0, 0, .15); }
.assure__title { font-size: 27px; color: var(--ink); }
.assure__item p { margin-top: 8px; font-size: 14.5px; line-height: 1.75; color: var(--ink); }

/* ── the star map of case files ────────────────────────────────────── */

.chart { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 5vw, 72px); padding: clamp(44px, 5.5vw, 80px) clamp(32px, 5.5vw, 80px); overflow: hidden;
  background:
    linear-gradient(var(--gold-line), var(--gold-line)) left 16px top 16px / 34px 1px no-repeat,
    linear-gradient(var(--gold-line), var(--gold-line)) left 16px top 16px / 1px 34px no-repeat,
    linear-gradient(var(--gold-line), var(--gold-line)) right 16px top 16px / 34px 1px no-repeat,
    linear-gradient(var(--gold-line), var(--gold-line)) right 16px top 16px / 1px 34px no-repeat,
    linear-gradient(var(--gold-line), var(--gold-line)) left 16px bottom 16px / 34px 1px no-repeat,
    linear-gradient(var(--gold-line), var(--gold-line)) left 16px bottom 16px / 1px 34px no-repeat,
    linear-gradient(var(--gold-line), var(--gold-line)) right 16px bottom 16px / 34px 1px no-repeat,
    linear-gradient(var(--gold-line), var(--gold-line)) right 16px bottom 16px / 1px 34px no-repeat,
    radial-gradient(80% 120% at 30% 0%, rgba(40, 62, 120, .45), transparent 60%),
    var(--panel); }
.chart__grid { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.case { position: relative; z-index: 1; min-width: 0; }
.case__cons { height: 110px; margin-bottom: 16px; }
.cons { height: 100%; width: auto; overflow: visible; }
.case__no { font-size: 17px; font-style: italic; font-weight: 500; letter-spacing: .02em; color: var(--gold); }
.case__title { margin-top: 4px; font: 700 clamp(26px, 2.4vw, 32px)/1.3 var(--serif); color: var(--starlight); }
.case__title a { text-decoration: none; }
.case__title a:hover { text-decoration: underline; text-decoration-color: rgba(227, 191, 115, .6); text-underline-offset: 6px; }
.case__sub { margin-top: 2px; font-size: 15px; color: var(--ink-night-2); }
.case__line { margin-top: 14px; max-width: 34em; font: 400 17px/1.85 var(--serif); color: var(--ink-night); }
.case--sealed .case__line { font-family: var(--sans); font-size: 16px; color: var(--ink-night-2); }
.case__warn { margin-top: 24px; padding-left: 14px; border-left: 2px solid rgba(201, 166, 91, .55); font-size: 14px; line-height: 1.7; color: var(--ink-night-2); }
.case__ctas, .case__links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 24px; }
.case__links { gap: 4px 24px; }

/* both case files are the same object: a folder. The open one holds its evidence, the sealed one is tied and waxed */
.file { position: relative; margin-top: 40px; max-width: 440px; min-height: 196px; padding: 22px; box-shadow: var(--shadow-2); }
.file__tab { position: absolute; left: 22px; top: -26px; height: 26px; padding: 6px 16px 0; border-radius: 6px 6px 0 0; font-size: 13px; font-weight: 600; letter-spacing: .24em; }
.file--open { display: grid; grid-template-columns: minmax(0, 46%) minmax(0, 1fr); gap: 22px; align-items: center; background: var(--paper), var(--cream); color: var(--ink); transform: rotate(-1deg); }
.file--open .file__tab { background: var(--cream); color: var(--ink-2); }
.file__photo { position: relative; display: block; padding: 6px 6px 18px; background: var(--polaroid); box-shadow: 0 1px 2px rgba(0, 0, 0, .25), 0 6px 14px -4px rgba(0, 0, 0, .3); transform: rotate(-2.5deg); }
.file__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.file__photo .pin { width: 22px; height: 22px; margin-left: -11px; top: -10px; }
.file__photo .file__book { position: absolute; width: 56%; left: -16%; bottom: -16%; aspect-ratio: auto; transform: rotate(-12deg); filter: drop-shadow(0 6px 6px rgba(0, 0, 0, .45)); }
.file__list { display: grid; gap: 7px; font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.file__list div { display: grid; grid-template-columns: 2.6em 1fr; gap: 10px; }
.file__list dt { font-weight: 700; color: var(--ink); }
.file--sealed { background: linear-gradient(180deg, #1b2b58, #15244c); box-shadow: var(--shadow-2), inset 0 0 0 1px rgba(201, 166, 91, .28); transform: rotate(1.2deg); }
.file--sealed .file__tab { background: #1b2b58; box-shadow: inset 0 1px 0 rgba(201, 166, 91, .28); color: var(--ink-night-2); }
.file__strike { display: block; height: 14px; width: 64%; margin-top: 6px; border-radius: 2px; background: #0a1130; }
.file__strike--short { width: 40%; margin-top: 14px; }
.file__cord { position: absolute; left: 0; right: 0; top: 56%; height: 3px; background: rgba(201, 166, 91, .7); }
.file--sealed .seal { position: absolute; right: 34px; top: calc(56% - 30px); width: 62px; height: 62px; filter: drop-shadow(0 3px 3px rgba(0, 0, 0, .45)); }
.stamp { display: inline-block; padding: 5px 12px; border: 2px solid currentColor; border-radius: 3px; font: 700 15px/1.2 var(--sans); letter-spacing: .3em; text-indent: .3em; transform: rotate(-6deg); }
.stamp--seal { position: absolute; left: 26px; bottom: 22px; color: var(--gold-line); opacity: .9; }
.stamp--red { color: var(--red); }
.stamp--open { color: var(--ink-2); }

/* ── home: reviews and news side by side ───────────────────────────── */

.desk { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(48px, 6vw, 96px); }
.desk__col { min-width: 0; position: relative; }
.desk__text { margin-top: 18px; font-size: 16px; line-height: 1.8; }
.desk__text a { color: var(--gold); }
.desk__links { display: flex; flex-wrap: wrap; gap: 0 24px; margin-top: 8px; }

/* the review constellation, still waiting for its first star */
.rsky-box { position: relative; }
.rsky-wrap { position: relative; }
.rsky { width: 100%; height: auto; overflow: visible; }
.rsky__star { animation: wait 4s ease-in-out infinite; animation-delay: calc(var(--i) * -.45s); }
@keyframes wait { 50% { opacity: .35; } }
.rsky-wrap__first { position: absolute; left: 4%; top: 92%; font-size: 21px; color: var(--gold); transform: rotate(-4deg); white-space: nowrap; }
.rsky-box__empty { margin-top: 40px; text-align: center; font-size: 28px; color: var(--gold); }

/* the news ledger: one page of a log book, stamped dates, room for the next line */
.ledger { position: relative; padding: 18px 22px 14px; background: var(--paper), var(--cream); color: var(--ink); box-shadow: var(--shadow-2); }
.ledger::before { content: ''; position: absolute; top: 0; bottom: 0; left: 140px; width: 1px; background: rgba(103, 92, 75, .28); }
.ledger__head { display: grid; grid-template-columns: 116px 62px 1fr; gap: 0 22px; padding-bottom: 8px; border-bottom: 1px solid rgba(103, 92, 75, .4); font-size: 12px; font-weight: 700; letter-spacing: .2em; color: var(--ink-2); }
.ledger__row { display: grid; grid-template-columns: 116px 62px 1fr; gap: 2px 22px; padding: 14px 0 16px; border-bottom: 1px solid rgba(103, 92, 75, .2); }
.ledger__row--blank { min-height: 52px; padding: 0; }
.ledger__date { justify-self: start; align-self: start; padding: 1px 7px; border: 1.5px solid var(--red-ink); border-radius: 3px; font: 700 13px/1.5 var(--sans); font-variant-numeric: tabular-nums; color: var(--red-ink); transform: rotate(-3deg); }
.ledger__kind { justify-self: start; align-self: start; padding: 1px 8px; border: 1.5px solid var(--ink-2); border-radius: 3px; font-size: 13px; font-weight: 700; line-height: 1.5; color: var(--ink-2); }
.ledger__title { font: 700 17px/1.5 var(--serif); color: var(--ink); }
.ledger__title a { text-decoration: none; }
.ledger__title a:hover { text-decoration: underline; text-underline-offset: 4px; }
.ledger__new { display: inline-block; margin-left: 4px; padding: 0 6px; border-radius: 2px; background: var(--gold); color: var(--ink); font: 700 11px/1.7 var(--sans); vertical-align: 2px; }
.ledger__sum { grid-column: 3; font-size: 14px; line-height: 1.7; color: var(--ink-2); }
.ledger__next { padding: 12px 0 0 162px; font-size: 22px; color: var(--ink-2); }
.ledger__empty { padding: 30px; font-size: 26px; color: var(--ink-2); }

/* ── home: the maker, framed in the logo's lens ────────────────────── */

.band--maker { padding-bottom: clamp(72px, 8vw, 110px); }
.maker { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.lens { position: relative; width: clamp(220px, 26vw, 320px); aspect-ratio: 1; flex: none; }
.lens .dial { position: absolute; inset: -9%; width: 118%; height: 118%; }
.lens__img { position: absolute; inset: 9%; width: 82%; height: 82%; border-radius: 50%; object-fit: cover; }
/* the whole figure in front of the dial: the dial is the halo behind him, his head rises over its rim */
.lens--full { margin-top: 16%; }
.lens--full::before { content: ''; position: absolute; inset: 9%; border-radius: 50%; background: radial-gradient(circle at 50% 42%, rgba(227, 191, 115, .2), rgba(18, 32, 74, .75) 72%); }
.lens__full { position: absolute; left: 50%; bottom: -4%; height: 128%; width: auto; max-width: none; transform: translateX(-50%); filter: drop-shadow(0 18px 28px rgba(0, 0, 0, .55)); }
.maker__role { font-size: 13px; font-weight: 700; letter-spacing: .3em; color: var(--ink-night-2); }
.maker__name { margin-top: 8px; font: 800 clamp(34px, 3.4vw, 46px)/1.2 var(--serif); color: var(--starlight); }
.maker__name .latin { margin-left: 10px; font-size: .5em; font-weight: 600; letter-spacing: .22em; color: var(--gold); }
.maker__intro { margin-top: 10px; font: 400 clamp(18px, 1.6vw, 21px)/1.6 var(--serif); color: var(--gold); }
.maker__body { margin-top: 18px; max-width: 34em; font-size: 16px; line-height: 1.85; }
.maker__links { display: flex; flex-wrap: wrap; gap: 0 28px; margin-top: 14px; }

/* ── the footer: where the sky meets the roofs ─────────────────────── */

.horizon__sky { position: relative; overflow: hidden; padding: clamp(96px, 11vw, 140px) var(--pad-r) clamp(150px, 15vw, 190px) var(--pad); text-align: center;
  background: radial-gradient(90% 80% at 50% 100%, rgba(40, 62, 120, .5), transparent 70%), linear-gradient(180deg, var(--sky) 0%, #0f1d45 70%, var(--horizon) 100%); }
.horizon__words { position: relative; z-index: 2; }
.horizon__motto { font: 300 clamp(26px, 3.2vw, 42px)/1.4 var(--serif); color: var(--starlight); text-wrap: balance; }
.horizon__motto-en { margin-top: 10px; font-size: clamp(18px, 1.6vw, 22px); font-style: italic; font-weight: 500; letter-spacing: .04em; color: var(--gold); }
.horizon__sign { margin-top: 20px; font-size: 28px; color: var(--ink-night); opacity: .85; }
.horizon .roofs { height: 110px; }
.horizon__ground { background: var(--ground); border-top: 1px solid #0a1430; }
.foot { max-width: calc(var(--wrap) + var(--pad) + var(--pad-r)); margin: 0 auto; padding: 44px var(--pad-r) calc(40px + env(safe-area-inset-bottom, 0px)) var(--pad); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1.5fr); gap: 32px 48px; font-size: 14px; color: var(--ink-night-2); }
.brand--foot .brand__mark { width: 34px; height: 34px; }
.brand--foot .brand__name { font-size: 23px; }
.foot__who { margin-top: 8px; }
.foot__now { margin-top: 6px; }
.foot__now-time { font-variant-numeric: tabular-nums; color: var(--gold); }
.foot__links { display: grid; grid-template-columns: repeat(2, minmax(0, auto)); gap: 0 28px; justify-content: start; }
.foot__links a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; color: var(--ink-night); text-decoration: none; }
.foot__links a:hover { color: var(--gold); text-decoration: underline; text-underline-offset: 4px; }
.foot__notes { display: grid; gap: 8px; line-height: 1.7; }
.foot__copy { margin-top: 6px; font-family: var(--latin); font-size: 15px; letter-spacing: .06em; }

/* ── sub-page heads: a strip of sky with the page's own constellation ── */

.subhead { position: relative; overflow: hidden; isolation: isolate; padding: calc(var(--head-h) + clamp(56px, 7vw, 96px)) 0 clamp(56px, 7vw, 88px); }
.subhead .sky { background: radial-gradient(120% 80% at 75% 0%, rgba(40, 62, 120, .35), transparent 60%), linear-gradient(180deg, var(--zenith) 0%, var(--sky) 100%); }
.subhead__in { position: relative; z-index: 2; max-width: calc(var(--wrap) + var(--pad) + var(--pad-r)); margin: 0 auto; padding: 0 var(--pad-r) 0 var(--pad); }
.subhead__note { font-size: clamp(24px, 2.4vw, 30px); color: var(--gold); transform: rotate(-2deg); transform-origin: left; }
.subhead__title { margin-top: 10px; font: 800 clamp(38px, 4.6vw, 64px)/1.15 var(--serif); letter-spacing: -.012em; color: var(--starlight); }
.subhead__lead { margin-top: 18px; max-width: 34em; font-size: clamp(16px, 1.4vw, 18px); line-height: 1.8; }
.subhead__emblem { position: absolute; z-index: 1; right: max(32px, calc(50% - 620px)); top: calc(var(--head-h) + 30px); width: clamp(160px, 16vw, 220px); aspect-ratio: 1; opacity: .9; }
.emblem { width: 100%; height: 100%; overflow: visible; }
.subhead--post { min-height: 0; padding-bottom: 40px; }
.crumbs { position: relative; z-index: 2; max-width: 860px; margin: 0 auto; padding: 0 var(--pad-r) 0 var(--pad); font-size: 14px; color: var(--ink-night-2); }
.crumbs a { color: var(--gold); text-underline-offset: 4px; }

/* ── the case file page ─────────────────────────────────────────────── */

.chero { position: relative; overflow: hidden; isolation: isolate; }
.chero__in { position: relative; z-index: 5; max-width: calc(var(--wrap) + 160px); margin: 0 auto; padding: calc(var(--head-h) + 48px) var(--pad-r) 150px var(--pad); display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: clamp(40px, 5vw, 80px); align-items: center; min-height: max(700px, min(100svh, 940px)); }
.chero__photo { position: relative; padding: 12px 12px 14px; background: var(--polaroid); box-shadow: var(--shadow-3); transform: rotate(-2deg); }
.chero__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.chero__cons { position: absolute; z-index: -1; right: -8%; top: -27%; width: 46%; transform: rotate(2deg); opacity: .95; }
.chero__cons .cons { width: 100%; height: auto; }
.chero__cap { position: absolute; right: 14px; bottom: -34px; padding: 2px 12px; background: var(--cream-2); color: var(--ink-2); font-size: 22px; transform: rotate(3deg); box-shadow: var(--shadow-1); }
.chero__kicker { font-size: 15px; font-weight: 500; color: var(--ink-night-2); letter-spacing: .04em; }
.chero__kicker .latin { font-size: 18px; font-weight: 600; letter-spacing: .2em; color: var(--gold); }
.chero__title { margin-top: 10px; }
.chero__title img { width: min(100%, 470px); filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .45)); }
.chero__tag { margin-top: 14px; font: 400 clamp(18px, 1.6vw, 21px)/1.7 var(--serif); color: var(--starlight); }
.badges { margin-top: 18px; }
.chero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 28px; }
.chero__note { margin-top: 16px; font-size: 14px; color: var(--ink-night-2); }

.brief { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.brief__side { display: grid; justify-items: center; }
.story { display: grid; gap: 1.1em; max-width: 34em; font: 400 clamp(17px, 1.45vw, 20px)/2 var(--serif); color: var(--ink-night); }
.scene { position: relative; z-index: 2; width: min(82%, 420px); padding-bottom: 44px; }
.scene__photo { position: relative; display: block; padding: 8px 8px 30px; background: var(--polaroid); box-shadow: var(--shadow-2); transform: rotate(2deg); }
.scene__photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.scene__cap { position: absolute; z-index: 4; right: 6px; bottom: 6px; font-size: 22px; color: var(--gold); transform: rotate(-3deg); }
.tape { position: absolute; z-index: 2; left: 50%; top: -12px; width: 96px; height: 24px; margin-left: -48px; background: rgba(229, 215, 188, .85); transform: rotate(-3deg); box-shadow: 0 1px 2px rgba(0, 0, 0, .15); }
.relic { position: relative; display: flex; align-items: center; gap: 18px; margin-top: clamp(28px, 4vw, 48px); }
.relic__book { width: clamp(180px, 20vw, 270px); transform: rotate(-12deg); filter: drop-shadow(0 14px 16px rgba(0, 0, 0, .55)); }
.relic__cap { font-size: 26px; color: var(--gold); transform: rotate(-3deg); }

.record { position: relative; justify-self: stretch; padding: 26px 26px 28px; background: var(--paper), var(--cream); color: var(--ink); box-shadow: var(--shadow-2); transform: rotate(.6deg); }
.record::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--ink-2); opacity: .85; }
.record__title { font: 800 22px/1.3 var(--serif); color: var(--ink); }
.record__list { margin-top: 16px; display: grid; font-size: 14.5px; line-height: 1.6; }
.record__list div { display: grid; grid-template-columns: 6.5em minmax(0, 1fr); gap: 12px; padding: 9px 0; border-bottom: 1px dashed rgba(103, 92, 75, .35); }
.record__list div:last-child { border-bottom: 0; }
.record__list dt { font-weight: 700; color: var(--ink-2); }
.record__list dd { min-width: 0; overflow-wrap: anywhere; color: var(--ink); }
.record__list a { color: var(--ink); text-underline-offset: 3px; }
.record .stamp--open { position: absolute; right: 18px; top: 22px; font-size: 13px; }

.strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; max-width: 980px; margin: 40px auto 0; }
.strip li:nth-child(odd) .shot { --tilt: 1deg; }
.strip li:nth-child(even) .shot { --tilt: -1.2deg; }
.strip__cap { display: block; margin-top: 12px; text-align: center; font-size: 22px; color: var(--gold); }

.theater { max-width: 980px; margin: 0 auto; }
.theater__poster { position: relative; display: block; padding: 12px 12px 14px; background: var(--polaroid); box-shadow: var(--shadow-3); transform: rotate(-.6deg); transition: transform .35s var(--ease); }
.theater__poster:hover { transform: rotate(0) translateY(-3px); }
.theater__poster img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.theater__poster::after { content: ''; position: absolute; inset: 12px 12px 14px; background: linear-gradient(180deg, rgba(7, 14, 34, 0) 40%, rgba(7, 14, 34, .7)); pointer-events: none; }
.theater__play { position: absolute; z-index: 2; left: 40px; bottom: 36px; display: flex; align-items: center; gap: 18px; color: var(--starlight); }
.theater__icon { display: grid; place-items: center; width: 72px; height: 72px; border: 2px solid var(--gold); border-radius: 50%; background: rgba(7, 14, 34, .55); color: var(--gold); font-size: 22px; padding-left: 4px; transition: background-color .2s, color .2s; }
.theater__poster:hover .theater__icon { background: var(--gold); color: var(--zenith); }
.theater__label { display: grid; font: 700 22px/1.3 var(--serif); }
.theater__label small { font: 400 14px/1.5 var(--sans); color: var(--ink-night); }
.theater__note { margin-top: 16px; text-align: center; font-size: 13.5px; color: var(--ink-night-2); }

.cast { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; align-items: start; }
.person { position: relative; display: flex; flex-direction: column; min-width: 0; }
.person__img { height: clamp(260px, 26vw, 380px); width: auto; max-width: none; margin: 0 auto; object-fit: contain; filter: drop-shadow(0 12px 14px rgba(0, 0, 0, .45)); transition: transform .4s var(--ease); }
.person:hover .person__img { transform: translateY(-6px); }
.person__name { margin-top: 18px; padding-top: 10px; border-top: 3px solid var(--tone); font: 700 20px/1.3 var(--serif); color: var(--starlight); }
.person__role { margin-top: 4px; font-size: 13px; color: var(--ink-night-2); }
.person__line { margin-top: 8px; font-size: 14.5px; line-height: 1.65; color: var(--ink-night); }

.before__desk { max-width: 1040px; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
/* ruled paper: every line of text sits on its own rule */
.memo { padding: 26px 30px; display: grid; gap: 0; background-image: var(--paper), repeating-linear-gradient(180deg, transparent 0 31px, rgba(103, 92, 75, .16) 31px 32px); background-origin: content-box; background-color: var(--cream); color: var(--ink); box-shadow: var(--shadow-2); transform: rotate(-.6deg); font-size: 15.5px; line-height: 32px; }
.memo b { color: var(--ink); }
.caution { position: relative; padding: 28px 26px 26px; background: var(--paper), var(--cream-2); color: var(--ink); box-shadow: var(--shadow-2); transform: rotate(1.4deg); font-size: 15.5px; line-height: 1.8; }
.caution__stamp { position: absolute; right: 16px; top: -16px; background: var(--cream-2); color: var(--red-ink); font-size: 18px; }
.caution__head { font: 800 19px/1.4 var(--serif); margin-bottom: 8px; }
.caution b { color: var(--red-ink); font-size: 1.1em; }

.talk { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.envelope { position: relative; margin-top: 72px; }
.envelope__front { position: relative; display: grid; place-items: center; gap: 4px; min-height: 230px; padding: 34px 24px 28px; list-style: none; cursor: pointer; text-align: center;
  background: linear-gradient(160deg, transparent 49.6%, rgba(103, 92, 75, .22) 50%, transparent 50.4%) top / 100% 52% no-repeat, linear-gradient(200deg, transparent 49.6%, rgba(103, 92, 75, .22) 50%, transparent 50.4%) top / 100% 52% no-repeat, var(--paper), var(--cream);
  color: var(--ink); box-shadow: var(--shadow-2); transform: rotate(-1.2deg); transition: transform .3s var(--ease); }
.envelope__front::-webkit-details-marker { display: none; }
.envelope__front:hover { transform: rotate(0) translateY(-3px); }
.envelope__front:focus-visible { outline-color: var(--ink); }
.envelope__front .seal { width: 56px; height: 56px; filter: drop-shadow(0 3px 3px rgba(0, 0, 0, .3)); }
.envelope__to { font: 800 22px/1.4 var(--serif); }
.envelope__warn { font-size: 13px; color: var(--ink-2); }
.envelope[open] .envelope__front { transform: rotate(0); }
.envelope__letter { margin: -8px 14px 0; padding: 26px 26px 24px; display: grid; gap: 12px; background: var(--polaroid); color: var(--ink); box-shadow: var(--shadow-1); font-size: 15.5px; line-height: 1.8; }

.finale { position: relative; overflow: hidden; isolation: isolate; padding: clamp(110px, 12vw, 160px) var(--pad-r) clamp(110px, 12vw, 150px) var(--pad); text-align: center; background: var(--zenith); }
.finale__bg { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.finale::before { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, rgba(7, 14, 34, .92) 0%, rgba(7, 14, 34, .5) 40%, rgba(7, 14, 34, .62) 72%, var(--sky) 100%); }
.finale__in { display: flex; flex-direction: column; align-items: center; }
.finale .dial { width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(7, 14, 34, .74) 0 60%, transparent 61%); }
.finale .dial__hand--m { transform: rotate(-30deg); transition: transform 1.6s cubic-bezier(.65, 0, .35, 1); }
.finale .dial__hand--h { transform: rotate(-2.5deg); transition: transform 1.6s cubic-bezier(.65, 0, .35, 1); }
.finale.is-in .dial__hand--m, .finale.is-in .dial__hand--h { transform: rotate(0); }
.finale__line { margin-top: 18px; font-size: clamp(28px, 2.6vw, 34px); color: var(--gold); }
.finale__title { margin-top: 8px; }
.finale__title img { width: min(82vw, 520px); filter: drop-shadow(0 4px 12px rgba(0, 0, 0, .6)); }
.finale .btn-play { margin-top: 30px; }
.finale__facts { margin-top: 18px; font-size: 14px; color: var(--ink-night); text-wrap: balance; }

/* ── reviews page ───────────────────────────────────────────────────── */

.rsky-stage { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.rsky-box--big .rsky-wrap__first { font-size: 24px; }
.rsky-stage__card { position: relative; padding: 34px 30px 28px; background: var(--paper), var(--polaroid); color: var(--ink); box-shadow: var(--shadow-2); transform: rotate(1deg); }
.rsky-stage__card::before, .rsky-stage__card::after { content: ''; position: absolute; z-index: -1; inset: 0; background: var(--cream-2); box-shadow: var(--shadow-1); transform: rotate(-4deg) translate(-10px, 8px); }
.rsky-stage__card::after { background: var(--cream); transform: rotate(3deg) translate(8px, 10px); }
.rsky-stage__title { font-size: clamp(30px, 3vw, 38px); color: var(--ink); }
.rsky-stage__card p { margin-top: 12px; font-size: 15.5px; line-height: 1.8; }
.rsky-stage__links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; }
.rsky-stage__card .btn-quiet { border-color: rgba(38, 32, 25, .55); color: var(--ink); }
.rsky-stage__card .btn-quiet:hover { background: var(--ink); color: var(--cream); }
.rsky-stage__card .link-arrow { color: var(--ink); text-decoration-color: var(--gold-deep); }
.rsky-stage__card :focus-visible { outline-color: var(--ink); }
.rsky-stage__hello { font-size: 14px; font-weight: 700; letter-spacing: .1em; color: var(--ink-2); }
.rsky-stage__more { font-size: 14px; color: var(--ink-2); }
.rsky-stage__more a { color: var(--ink); text-decoration-color: var(--gold-deep); text-underline-offset: 3px; display: inline-flex; min-height: 32px; align-items: center; }

.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: card; }
.index-card { position: relative; padding: 28px 22px 24px; background: var(--paper), var(--polaroid); color: var(--ink); box-shadow: var(--shadow-2); counter-increment: card; transform: rotate(var(--tilt, -.8deg)); }
.index-card:nth-child(2) { --tilt: .9deg; }
.index-card:nth-child(3) { --tilt: -.4deg; }
.index-card:nth-child(4) { --tilt: 1.1deg; }
.index-card::before { content: counter(card, decimal-leading-zero); position: absolute; right: 16px; top: 12px; font: 600 15px var(--latin); letter-spacing: .1em; color: var(--ink-2); font-variant-numeric: lining-nums; }
.index-card__title { margin: 0 -22px; padding: 0 22px 10px; border-bottom: 1px solid rgba(179, 47, 39, .45); font: 800 18px/1.4 var(--serif); }
.index-card p { margin-top: 12px; font-size: 15px; line-height: 26px; background: repeating-linear-gradient(180deg, transparent 0 25px, rgba(103, 92, 75, .14) 25px 26px); }

/* ── news ───────────────────────────────────────────────────────────── */


.band--ledger .ledger { max-width: 940px; padding: 22px 30px 18px; }
.band--ledger .ledger__title { font-size: 20px; }
.ledger-after { max-width: 940px; margin-top: 36px; }
.ledger-after__hand { font-size: 28px; color: var(--gold); }

.post { position: relative; padding: 0 var(--pad-r) clamp(80px, 9vw, 120px) var(--pad); background: var(--sky); }
.post__sheet { position: relative; max-width: 820px; margin: 0 auto; padding: clamp(32px, 5vw, 64px) clamp(24px, 5.5vw, 72px) clamp(36px, 5vw, 56px); background: var(--paper), var(--cream); color: var(--ink); box-shadow: var(--shadow-3); }
.post__sheet::before { content: ''; position: absolute; left: 0; right: 0; top: -9px; height: 10px; background: radial-gradient(circle at 6px 10px, transparent 5px, var(--cream) 5.5px) 0 0 / 12px 10px repeat-x; }
.post__meta { display: flex; align-items: center; gap: 14px; }
.stamp--date { color: var(--red-ink); font-size: 14px; letter-spacing: .08em; text-indent: 0; }
.post__kind { font-size: 13px; font-weight: 700; letter-spacing: .2em; color: var(--ink-2); }
.post__title { margin-top: 22px; font: 800 clamp(28px, 3.4vw, 42px)/1.3 var(--serif); color: var(--ink); }
.post__sum { margin-top: 12px; font-size: 17px; line-height: 1.8; color: var(--ink-2); }
.post__body { margin-top: 32px; padding-top: 28px; border-top: 1px solid rgba(103, 92, 75, .3); }
.post__sign { margin-top: 28px; text-align: right; font-size: 30px; color: var(--ink-2); }
.post__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 28px; padding-top: 24px; border-top: 1px dashed rgba(103, 92, 75, .4); }
.post__ctas .link-arrow { color: var(--ink); text-decoration-color: var(--gold-deep); }
/* other entries, as strips torn from the same log */
.pager { max-width: 820px; margin: 36px auto 0; display: grid; gap: 14px; }
.pager__link { display: grid; gap: 2px; padding: 16px 22px; background: var(--paper), var(--cream); color: var(--ink); text-decoration: none; box-shadow: var(--shadow-1); transform: rotate(-.4deg); transition: transform .25s var(--ease); }
.pager__link:hover { transform: rotate(0) translateY(-2px); }
.pager__link:focus-visible { outline-color: var(--gold); }
.pager__link span { font-size: 12px; font-weight: 700; letter-spacing: .2em; color: var(--ink-2); }

.prose { font-size: 16.5px; line-height: 1.9; }
.prose > * + * { margin-top: 1em; }
.prose h2 { margin-top: 2em; font: 800 22px/1.4 var(--serif); }
.prose h3 { margin-top: 1.6em; font: 700 19px/1.4 var(--serif); }
.prose ul { display: grid; gap: .45em; }
.prose ul li { position: relative; padding-left: 1.2em; }
.prose ul li::before { content: ''; position: absolute; left: .2em; top: .78em; width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: .6; }
.prose a { color: var(--ink); text-decoration-color: var(--gold-deep); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.prose a:focus-visible, .post__sheet :focus-visible, .ledger :focus-visible, .record :focus-visible, .doc :focus-visible, .memo :focus-visible, .file :focus-visible, .workshop__log :focus-visible, .drawer__file :focus-visible, .faq__item :focus-visible { outline-color: var(--ink); }

/* ── about ──────────────────────────────────────────────────────────── */

.letter-desk { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.letter { position: relative; display: grid; gap: 38px; padding: 38px clamp(26px, 5vw, 64px); background-image: var(--paper), repeating-linear-gradient(180deg, transparent 0 37px, rgba(103, 92, 75, .16) 37px 38px); background-origin: content-box; background-color: var(--polaroid); color: var(--ink); box-shadow: var(--shadow-3); transform: rotate(-.6deg); font: 400 17.5px/38px var(--serif); }
.letter__title { font: 800 clamp(22px, 2.2vw, 26px)/38px var(--serif); }
.letter__sign { text-align: right; font-size: 32px; line-height: 38px; color: var(--ink-2); }
.namecard { position: sticky; top: calc(var(--head-h) + 32px); display: grid; justify-items: center; text-align: center; }
.lens--card { width: clamp(200px, 22vw, 280px); }
.namecard__role { margin-top: 26px; font-size: 13px; font-weight: 700; letter-spacing: .3em; color: var(--ink-night-2); }
.namecard__name { margin-top: 6px; font: 800 32px/1.3 var(--serif); color: var(--starlight); }
.namecard__name .latin { display: block; font-size: 17px; font-weight: 600; letter-spacing: .3em; color: var(--gold); }
.namecard__intro { margin-top: 12px; font: 400 17px/1.7 var(--serif); color: var(--gold); }
.namecard__motto { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(201, 166, 91, .35); font: 400 16px/1.7 var(--serif); color: var(--ink-night); }
.namecard__motto .latin { display: block; font-size: 16px; font-style: italic; color: var(--ink-night-2); }

.workshop { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.workshop__log { position: relative; padding: 26px 26px 28px; background: var(--paper), var(--cream); color: var(--ink); box-shadow: var(--shadow-2); transform: rotate(-.5deg); }
.workshop__log::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--ink-2); opacity: .85; }
.drawer { display: grid; gap: 22px; }
.drawer__file { position: relative; margin-top: 18px; padding: 22px 24px; background: var(--paper), var(--cream); color: var(--ink); box-shadow: var(--shadow-2); }
.drawer__tab { position: absolute; left: 20px; top: -24px; height: 24px; padding: 4px 14px 0; border-radius: 5px 5px 0 0; background: var(--cream); font-size: 12px; font-weight: 600; letter-spacing: .24em; color: var(--ink-2); }
.drawer__title { font: 800 21px/1.4 var(--serif); }
.drawer__title a { color: var(--ink); text-underline-offset: 4px; }
.drawer__line { margin-top: 8px; font: 400 15.5px/1.85 var(--serif); }
.drawer__meta { margin-top: 10px; font-size: 13px; color: var(--ink-2); }
.drawer__warn { margin-top: 8px; padding-left: 10px; border-left: 2px solid var(--gold-deep); font-size: 13px; line-height: 1.6; color: var(--ink-2); }
.drawer__file--sealed { background: linear-gradient(180deg, #1b2b58, #15244c); color: var(--ink-night); box-shadow: var(--shadow-2), inset 0 0 0 1px rgba(201, 166, 91, .28); }
.drawer__file--sealed .drawer__tab { background: #1b2b58; color: var(--ink-night-2); }
.drawer__file--sealed .drawer__title { color: var(--starlight); }

/* ── contact ────────────────────────────────────────────────────────── */

.mail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.post-env { position: relative; padding: 118px clamp(24px, 4vw, 44px) 34px; background: var(--paper), var(--cream); color: var(--ink); box-shadow: var(--shadow-3); transform: rotate(-1deg); }
.post-env::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 94px; background: var(--cream-2); clip-path: polygon(0 0, 100% 0, 50% 100%); }
.post-env .seal { position: absolute; left: 50%; top: 64px; width: 56px; height: 56px; margin-left: -28px; filter: drop-shadow(0 3px 3px rgba(0, 0, 0, .3)); }
.post-env__label { font-size: 13px; font-weight: 700; letter-spacing: .3em; color: var(--ink-2); }
.post-env__addr { margin-top: 6px; font: 700 clamp(20px, 2.2vw, 28px)/1.4 var(--serif); overflow-wrap: anywhere; user-select: all; }
.post-env__addr a { color: var(--ink); text-decoration: none; border-bottom: 2px solid rgba(38, 32, 25, .25); }
.post-env__addr a:hover { border-bottom-color: var(--ink); }
.post-env__addr a:focus-visible { outline-color: var(--ink); }
.post-env__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 22px; }
.post-env .btn-quiet { border-color: rgba(38, 32, 25, .55); color: var(--ink); }
.post-env .btn-quiet:hover { background: var(--ink); color: var(--cream); }
.post-env .btn-quiet:focus-visible { outline-color: var(--ink); }
.post-env__done { font-size: 14px; font-weight: 700; color: var(--ink-2); }
.post-env__hint { margin-top: 14px; font-size: 13.5px; color: var(--ink-2); }
.post-env__reply { margin-top: 6px; font-size: 14px; color: var(--ink); }
.post-env__stamp { position: absolute; z-index: 1; right: 20px; top: 16px; width: 54px; height: 64px; padding: 6px; border: 2px dashed rgba(103, 92, 75, .5); background: var(--cream); color: var(--ink-2); transform: rotate(4deg); }
.post-env__mark { width: 100%; height: 100%; }
.kinds__title { font: 700 clamp(22px, 2.2vw, 28px)/1.4 var(--serif); color: var(--starlight); }
.kinds__list { display: grid; gap: 4px; margin-top: 18px; }
.kind { padding: 18px 0 14px; border-bottom: 1px solid rgba(201, 166, 91, .25); }
.kind__name { font: 700 18px/1.4 var(--serif); color: var(--gold); }
.kind p { margin-top: 6px; font-size: 15.5px; line-height: 1.8; }

/* questions as a stack of index cards */
.faq { max-width: 880px; display: grid; gap: 14px; counter-reset: q; }
.faq__item { position: relative; counter-increment: q; background: var(--paper), var(--cream); color: var(--ink); box-shadow: var(--shadow-1); transform: rotate(var(--tilt, 0deg)); transition: box-shadow .2s; }
.faq__item:nth-child(odd) { --tilt: -.3deg; }
.faq__item:nth-child(even) { --tilt: .25deg; }
.faq__item[open] { box-shadow: var(--shadow-2); }
.faq__item summary { position: relative; display: flex; align-items: center; gap: 10px; min-height: 58px; padding: 12px 54px 12px 80px; cursor: pointer; list-style: none; font: 700 17px/1.5 var(--serif); color: var(--ink); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::before { content: 'Q.' counter(q, decimal-leading-zero); position: absolute; left: 22px; top: 50%; transform: translateY(-50%); font: 600 16px var(--latin); letter-spacing: .06em; color: var(--ink-2); font-variant-numeric: lining-nums; }
.faq__item summary::after { content: ''; position: absolute; right: 24px; top: 50%; width: 9px; height: 9px; margin-top: -7px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: rotate(45deg); transition: transform .25s var(--ease); }
.faq__item[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq__item p { padding: 0 26px 20px 80px; font-size: 15.5px; line-height: 1.85; }
.faq__warn { padding: 1px 8px; border: 1px solid rgba(103, 92, 75, .5); border-radius: 3px; font: 700 12px/1.6 var(--sans); color: var(--ink-2); }

/* ── privacy ────────────────────────────────────────────────────────── */

.doc { max-width: 860px; padding: clamp(32px, 5vw, 60px) clamp(24px, 5vw, 64px); background: var(--paper), var(--cream); color: var(--ink); box-shadow: var(--shadow-3); }
.doc__toc { padding: 18px 22px; border: 1px dashed rgba(103, 92, 75, .45); font-size: 15px; }
.doc__toc ol { display: flex; flex-wrap: wrap; gap: 2px 20px; counter-reset: toc; }
.doc__toc li { counter-increment: toc; }
.doc__toc li::before { content: counter(toc) '. '; color: var(--ink-2); }
.doc__toc a { display: inline-flex; min-height: 44px; align-items: center; color: var(--ink); text-underline-offset: 3px; }
.doc h2 { scroll-margin-top: calc(var(--head-h) + 20px); }
.doc__date { margin-top: 2em !important; padding-top: 1em; border-top: 1px solid rgba(103, 92, 75, .3); font-size: 14px; color: var(--ink-2); }

/* ── 404: an empty spot on the chart, and the maker's lens over it ─── */

.lost { position: relative; overflow: hidden; isolation: isolate; min-height: max(640px, 100svh); }
.lost .sky { background: radial-gradient(120% 70% at 70% 0%, rgba(40, 62, 120, .35), transparent 60%), linear-gradient(180deg, var(--zenith) 0%, var(--sky) 100%); }
.lost__in { position: relative; z-index: 5; max-width: calc(var(--wrap) + 160px); min-height: inherit; margin: 0 auto; padding: calc(var(--head-h) + 40px) var(--pad-r) 80px var(--pad); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.lost__chart { position: relative; width: min(100%, 520px); aspect-ratio: 1; justify-self: center; }
.lost__void { position: absolute; left: 50%; top: 50%; width: 30%; aspect-ratio: 1; transform: translate(-50%, -50%); border: 2px dashed rgba(227, 191, 115, .7); border-radius: 50%; background: radial-gradient(circle, rgba(255, 214, 131, .16), transparent 70%); }
.lost__lens { position: absolute; right: -2%; bottom: 2%; width: 34%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 4px var(--gold-line), 0 0 0 10px rgba(7, 14, 34, .9), var(--shadow-3); }
.lost__lens img { width: 100%; height: 100%; object-fit: cover; }
.lost__stamp { font-size: 20px; }
.lost__title { margin-top: 22px; font: 800 clamp(34px, 4vw, 54px)/1.2 var(--serif); color: var(--starlight); }
.lost__text { margin-top: 16px; max-width: 30em; font-size: 17px; line-height: 1.85; }
.lost__links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; margin-top: 28px; }
.lost .stamp--red { color: #e0675e; }

/* ── the viewer (screenshots and the trailer) ──────────────────────── */

.viewer { width: min(1180px, calc(100vw - 24px)); max-width: none; max-height: calc(100vh - 24px); padding: 0; border: 0; background: transparent; color: var(--ink-night); overflow: visible; }
.viewer::backdrop { background: rgba(4, 8, 20, .88); }
.viewer__box { display: grid; gap: 12px; }
.viewer__fig { padding: 10px 10px 0; background: var(--polaroid); box-shadow: var(--shadow-3); }
.viewer__img, .viewer__video { width: 100%; max-height: calc(100vh - 150px); object-fit: contain; background: #000; }
.viewer__cap { padding: 10px 6px 12px; font-size: 15px; color: var(--ink); }
.viewer__bar { display: flex; align-items: center; justify-content: center; gap: 10px; }
.viewer__btn, .viewer__close { min-height: 44px; padding: 0 16px; border: 1px solid rgba(227, 191, 115, .55); border-radius: 3px; background: rgba(7, 14, 34, .85); color: var(--gold); font-size: 15px; font-weight: 700; cursor: pointer; }
.viewer__btn:hover, .viewer__close:hover { background: var(--gold); color: var(--zenith); }
.viewer__btn[hidden] { display: none; }
.viewer__count { min-width: 4ch; text-align: center; font-variant-numeric: tabular-nums; color: var(--ink-night-2); }
.viewer__close { margin-left: 12px; }

/* ── entrances: each part of a section rises in turn, once ─────────── */

.rv { opacity: 0; transform: translateY(24px); }
.rv.is-in { opacity: 1; transform: none; transition: opacity .7s var(--ease) var(--delay, 0s), transform .7s var(--ease) var(--delay, 0s); }

/* ── widths ─────────────────────────────────────────────────────────── */

@media (max-width: 1240px) {
  .verbs--case { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cast { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1099px) {
  .hero__copy { width: min(480px, 46%); }
  .hero__chart { right: -110px; }
  .folder { left: 5%; width: clamp(230px, 40%, 270px); }
  .countdown { left: 62%; }
  .how { grid-template-columns: 1fr; }
  .film { position: relative; top: 0; max-width: 760px; }
  .foot { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot__notes { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .hero__in { flex-direction: column; align-items: stretch; padding-bottom: 130px; }
  .hero__copy { width: auto; max-width: 620px; }
  .hero__chart { position: relative; right: auto; top: auto; transform: none; width: min(560px, 100%); margin: 48px auto 0; }
  .folder { left: -2%; bottom: -2%; }
  .chero__in { grid-template-columns: 1fr; min-height: 0; padding-bottom: 140px; gap: 30px; }
  .chero__photo { width: min(100%, 440px); margin-left: 2%; }
  .chero__cons { display: none; }
  .brief { grid-template-columns: 1fr; }
  .brief__side { max-width: 560px; }
  .chart { grid-template-columns: 1fr; }
  .desk, .talk, .mail, .workshop, .letter-desk { grid-template-columns: 1fr; }
  .namecard { position: relative; top: 0; }
  .maker { grid-template-columns: 1fr; justify-items: start; }
  .rsky-stage { grid-template-columns: 1fr; }
  .before__desk { grid-template-columns: 1fr; }
  .lost__in { grid-template-columns: 1fr; text-align: left; }
  .lost__chart { width: min(100%, 420px); }
  .subhead__emblem { right: 24px; opacity: .55; }
  .assure { grid-template-columns: 1fr; max-width: 560px; }
  .strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .desk__col + .desk__col .node { position: absolute; left: calc(var(--meridian) - 6px); top: .7em; align-self: auto; width: 13px; height: 13px; margin: 0; }
  .workshop__files .node { position: absolute; left: calc(var(--meridian) - 6px); top: .7em; align-self: auto; width: 13px; height: 13px; margin: 0; }
}

@media (max-width: 760px) {
  :root { --meridian: 0px; }
  .band::before, main > .band:last-child::after { display: none; }
  .node, .desk__col + .desk__col .node, .workshop__files .node { position: relative; left: 0; top: 0; display: inline-block; flex: none; align-self: center; width: 11px; height: 11px; margin: 0; }
  .sec-head { align-items: center; column-gap: 10px; }
  .sec-head__note { flex-basis: 100%; }

  .masthead__in { gap: 10px; }
  .brand__mark { width: 32px; height: 32px; }
  .brand__name { font-size: 22px; }
  .masthead__play { margin-left: auto; min-height: 44px; padding: 0 13px; }
  .nav-toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-right: -8px; border: 0; background: none; cursor: pointer; color: var(--starlight); }
  .nav-toggle svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
  .nav-toggle path { transition: transform .25s var(--ease), opacity .2s; transform-origin: 12px 12px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__a { transform: translateY(5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__b { opacity: 0; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__c { transform: translateY(-5px) rotate(-45deg); }
  .nav { position: fixed; z-index: -1; top: 0; left: 0; right: 0; height: 100vh; height: 100dvh; margin: 0; padding: calc(var(--head-h) + env(safe-area-inset-top, 0px) + 24px) var(--pad-r) calc(32px + env(safe-area-inset-bottom, 0px)) var(--pad);
    display: flex; flex-direction: column; background: var(--starfield), linear-gradient(180deg, var(--zenith), var(--sky) 60%, var(--horizon)); background-size: 320px 320px, auto;
    visibility: hidden; opacity: 0; transform: translateY(-12px); transition: opacity .25s, transform .3s var(--ease), visibility 0s .3s; overflow-y: auto; }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .25s, transform .3s var(--ease), visibility 0s; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__link { width: 100%; min-height: 60px; padding: 0 4px; border-bottom: 1px solid rgba(201, 166, 91, .18); font: 700 24px/1.3 var(--serif); opacity: 1; }
  .nav__link[aria-current="page"]::after { left: auto; right: 8px; bottom: 50%; margin: 0 0 -2.5px; }
  .nav__foot { display: grid; justify-items: center; gap: 18px; margin-top: auto; padding-top: 32px; text-align: center; }
  .nav__mark { width: 96px; height: 96px; color: var(--gold); opacity: .9; }
  .nav__motto { font: 400 18px/1.6 var(--serif); color: var(--ink-night-2); }
  .nav__foot .touch-note { margin-top: -6px; font-size: 13px; }
  .nav__play { justify-self: stretch; display: flex; align-items: center; justify-content: space-between; min-height: 56px; padding: 0 20px; border-radius: 4px; background: var(--red); color: #fff; font-weight: 700; text-decoration: none; }
  body.menu-open { overflow: hidden; }
  body.menu-open .masthead { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }

  /* the phone hero: a strip of the chart first (the dial half cut, the folder tucked in), then the words */
  .hero { min-height: 0; }
  .hero__in { padding: var(--head-h) var(--pad-r) 72px var(--pad); }
  .hero__chart { order: -1; position: relative; right: auto; top: auto; transform: none; translate: none; width: auto; aspect-ratio: auto; height: 232px; margin: 0 calc(-1 * var(--pad-r)) 22px calc(-1 * var(--pad)); overflow: hidden; }
  .hero__chart .dial { position: absolute; z-index: 0; width: 470px; height: 470px; left: calc(50% - 185px); top: -62px; }
  .folder { position: absolute; left: var(--pad); bottom: 6px; width: 170px; padding: 11px 11px 10px; }
  .folder__tab { left: 12px; top: -22px; height: 22px; padding: 5px 11px 0; font-size: 10px; }
  .folder__photo { padding: 6px 6px 18px; }
  .folder__title { width: 76%; }
  .folder .pin { width: 22px; height: 22px; margin-left: -11px; top: -10px; }
  .folder__name { margin-top: 8px; font-size: 16px; }
  .folder__meta { font-size: 11px; }
  .folder__meta span:first-child, .folder__note { display: none; }
  .countdown { left: auto; right: var(--pad-r); top: auto; bottom: 12px; transform: none; align-items: flex-end; gap: 3px; padding: 6px 10px 7px; border-radius: 3px; background: rgba(7, 14, 34, .84); }
  .countdown__label { font-size: 10.5px; }
  .countdown__time { font-size: 18px; }
  .hero__copy { display: flex; flex-direction: column; }
  .hero__ctas { order: 4; } .touch-note { order: 5; } .inapp-note { order: 6; }
  .kicker { font-size: 25px; margin-bottom: 10px; }
  .hero__title { font-size: clamp(32px, 9.4vw, 44px); }
  .hero__lead { margin-top: 14px; font-size: 16px; line-height: 1.75; }
  .hero__ctas { margin-top: 22px; flex-direction: column; align-items: stretch; gap: 4px; }
  .hero__ctas .btn-play { grid-template-columns: 1fr auto; padding: 14px 20px; min-height: 64px; }
  .hero__ctas .link-arrow { align-self: flex-start; }
  .facts { order: 3; margin-top: 12px; font-size: 13px; }
  .hero .roofs { height: 72px; }

  .band { padding: 56px 0 60px; }
  .hero + .band, .chero + .band { padding-top: 34px; }
  .verbs { display: flex; gap: 18px; margin: 0 calc(-1 * var(--pad-r)) 0 calc(-1 * var(--pad)); padding: 16px var(--pad-r) 22px var(--pad); overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding: 0 var(--pad); -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .verbs::-webkit-scrollbar { display: none; }
  .verb { flex: none; width: 76%; scroll-snap-align: start; }
  .film__cap { margin-top: 14px; }
  .chart { padding: 34px 20px 40px; margin: 0 calc(-1 * var(--pad-r)) 0 calc(-1 * var(--pad)); }
  .file { min-height: 0; }
  .file--open { grid-template-columns: minmax(0, 48%) minmax(0, 1fr); gap: 16px; padding: 18px; }
  .file__list { font-size: 13px; }
  .file--sealed { height: 168px; }
  .ledger { padding: 12px 16px 12px; }
  .ledger::before { display: none; }
  .ledger__head { display: none; }
  .ledger__row { grid-template-columns: auto 1fr; gap: 6px 12px; }
  .ledger__title, .ledger__sum { grid-column: 1 / -1; }
  .ledger__next { padding-left: 0; font-size: 20px; }
  .maker { justify-items: center; text-align: center; }
  .maker__links, .desk__links { justify-content: center; }
  .maker__body { text-align: left; }
  .foot { grid-template-columns: 1fr; gap: 28px; }
  .horizon__sky { padding: 60px var(--pad-r) 104px var(--pad); }
  .horizon .roofs { height: 80px; }
  .horizon__sign { font-size: 26px; }

  .chero__in { padding: calc(var(--head-h) + 18px) var(--pad-r) 110px var(--pad); gap: 22px; }
  .chero__photo { width: auto; margin: 0; padding: 7px 7px 9px; transform: rotate(-1.2deg); }
  .chero__img { aspect-ratio: 16 / 9; object-position: 62% 30%; }
  .chero__cons { display: none; }
  .chero__cap { right: 10px; bottom: -20px; font-size: 18px; }
  .chero__photo .pin { width: 22px; height: 22px; margin-left: -11px; top: -10px; }
  .chero__title { margin-top: 6px; }
  .chero__title img { width: min(80%, 320px); }
  .chero__tag { font-size: 17px; margin-top: 6px; }
  .badges { margin-top: 12px; font-size: 13px; }
  .chero__ctas { margin-top: 18px; flex-direction: column; align-items: stretch; gap: 4px; }
  .chero__ctas .btn-play { grid-template-columns: 1fr auto; padding: 14px 20px; min-height: 64px; }
  .chero__ctas .link-arrow { align-self: flex-start; }
  .scene { width: min(88%, 380px); }
  .relic, .talk .rsky-box { display: none; }
  .record__list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 18px; }
  .record__list div { grid-template-columns: 1fr; gap: 0; padding: 8px 0; }
  .record__list div:nth-last-child(2) { border-bottom: 0; }
  .record__list dt { font-size: 12.5px; }
  .record__wide { grid-column: 1 / -1; }
  .verbs--case { display: flex; }
  .assure { margin-top: 36px; gap: 18px; }
  .assure__item { padding: 18px 16px 14px; }
  .assure__title { font-size: 24px; }
  .assure__item p { margin-top: 4px; font-size: 14px; line-height: 1.65; }
  .strip { display: flex; gap: 16px; margin: 26px calc(-1 * var(--pad-r)) 0 calc(-1 * var(--pad)); padding: 16px var(--pad-r) 18px var(--pad); overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .strip::-webkit-scrollbar { display: none; }
  .strip li { flex: none; width: 72%; scroll-snap-align: start; scroll-margin-left: var(--pad); }
  .theater__play { left: 22px; bottom: 22px; gap: 12px; }
  .theater__icon { width: 52px; height: 52px; font-size: 17px; }
  .theater__label { font-size: 18px; }
  .cast { display: flex; gap: 14px; margin: 0 calc(-1 * var(--pad-r)) 0 calc(-1 * var(--pad)); padding: 12px var(--pad-r) 14px var(--pad); overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .cast::-webkit-scrollbar { display: none; }
  .person { flex: none; width: 46%; scroll-snap-align: start; scroll-margin-left: var(--pad); }
  .person__img { height: 250px; }
  .memo { padding: 20px 20px; font-size: 15px; }
  .envelope { margin-top: 40px; }
  .envelope__front { min-height: 190px; }
  .cards { grid-template-columns: 1fr; gap: 18px; }
  .letter { gap: 34px; padding: 34px 22px; background-image: var(--paper), repeating-linear-gradient(180deg, transparent 0 33px, rgba(103, 92, 75, .16) 33px 34px); font-size: 16px; line-height: 34px; }
  .letter__title, .letter__sign { line-height: 34px; }
  .finale .dial { width: 140px; height: 140px; }
  .subhead__emblem { width: 150px; right: 6px; top: calc(var(--head-h) + 10px); opacity: .45; }
  .lost__chart { width: min(100%, 320px); }
  .post-env { padding-top: 104px; }
  .post-env::before { height: 80px; }
  .post-env .seal { top: 52px; width: 48px; height: 48px; margin-left: -24px; }
  .faq__item summary { padding-left: 64px; font-size: 16px; }
  .faq__item summary::before { left: 16px; font-size: 15px; }
  .faq__item p { padding: 0 20px 18px 64px; }
  .viewer__bar { flex-wrap: wrap; }
  .viewer__close { margin-left: 0; }
}

@media (max-width: 380px) {
  .brand__name { font-size: 19px; }
  .brand__mark { width: 28px; height: 28px; }
  .masthead__play { padding: 0 10px; }
  .hero__title { font-size: 32px; }
  .btn-play__label { font-size: 17px; }
  .person { width: 58%; }
  .folder { width: 156px; }
}

/* short phones: the play button still on the first screen */
@media (max-width: 760px) and (max-height: 700px) {
  .hero__chart { height: 184px; margin-bottom: 16px; }
  .hero__chart .dial { top: -100px; }
  .folder { width: 150px; }
  .folder__meta { display: none; }
  .hero__lead { margin-top: 10px; }
  .chero__tag { display: none; }
}

/* phones held sideways: keep the play button on the first screen */
@media (max-height: 520px) and (min-width: 600px) {
  .hero { min-height: 0; }
  .hero__in { padding-top: calc(var(--head-h) + 20px); padding-bottom: 110px; }
  .hero__title { font-size: 34px; }
  .hero__lead { display: none; }
  .hero__copy { display: flex; flex-direction: column; }
  .facts { order: 3; margin-top: 12px; } .hero__ctas { order: 4; } .touch-note { order: 5; } .inapp-note { order: 6; }
  .hero__ctas { margin-top: 18px; }
  .chero__in { padding-top: calc(var(--head-h) + 16px); min-height: 0; align-items: start; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); }
  .chero__photo { width: 100%; margin: 0; }
  .chero__title img { width: min(100%, 300px); }
  .chero__tag { display: none; }
  .badges { margin-top: 12px; }
  .chero__ctas { margin-top: 16px; }
  .viewer__cap { display: none; }
  .viewer__img, .viewer__video { max-height: calc(100vh - 72px); }
  .viewer__fig { padding: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .rv { opacity: 1; transform: none; }
}

@media (forced-colors: active) {
  .btn-play, .btn-quiet, .masthead__play, .nav__play, .viewer__btn, .viewer__close { border: 2px solid ButtonText; }
  .node, .kicker__dot { forced-color-adjust: none; }
  .nav__link[aria-current] { text-decoration: underline 2px; text-underline-offset: 6px; }
  .ledger__new { border: 1px solid CanvasText; }
}

/* ── reviews, once there are any: lit stars, the newest words under the sky, an index card each ── */
.rsky-stage__sample { font-size: 14px; font-weight: 700; color: var(--red-ink); }
.rstars { display: inline-flex; gap: 3px; }
.rstars svg { width: 17px; height: 17px; fill: none; stroke: var(--gold-deep); stroke-width: 1.3; }
.rstars svg.is-on { fill: var(--gold-line); }
.rquote { position: relative; max-width: 460px; margin: 22px auto 0; padding: 20px 22px 16px; background: var(--paper), var(--polaroid); color: var(--ink); box-shadow: var(--shadow-2); transform: rotate(-.8deg); }
.rquote p { margin-top: 8px; font-size: 15.5px; line-height: 1.75; word-break: keep-all; }
.rquote footer { margin-top: 8px; font-size: 13.5px; color: var(--ink-2); }
.rquote footer .hand, .rcard__by .hand { font-size: 22px; color: var(--ink); }
.rlist { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 26px; margin: 0; padding: 0; list-style: none; }
.rcard { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 26px 24px 20px; background: var(--paper), var(--polaroid); color: var(--ink); box-shadow: var(--shadow-2); transform: rotate(var(--tilt, -.6deg)); }
.rcard:nth-child(3n+2) { --tilt: .7deg; }
.rcard:nth-child(3n) { --tilt: -.3deg; }
.rcard__text { font-size: 16px; line-height: 1.8; word-break: keep-all; }
.rcard__by { margin-top: auto; font-size: 13.5px; color: var(--ink-2); }
.rcard__fold summary { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 14px; border: 1px dashed var(--ink-2); border-radius: 3px; font-size: 14.5px; font-weight: 700; cursor: pointer; list-style: none; }
.rcard__fold summary::-webkit-details-marker { display: none; }
.rcard__fold summary:hover { background: rgba(38, 32, 25, .06); }
.rcard__fold[open] summary { margin-bottom: 10px; }
.rcard__sample, .rquote .rcard__sample { position: absolute; right: 14px; top: 12px; padding: 3px 8px; font-size: 12px; }
@media (max-width: 1099px) { .rlist { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .rlist { grid-template-columns: 1fr; gap: 22px; } .rquote { margin-top: 18px; } }
.rsky-stage__discord { font-size: 14.5px; color: var(--ink-2); }
.rsky-stage__discord a, .ledger-after__discord a { text-underline-offset: 3px; }
.rsky-stage__discord a { color: var(--ink); text-decoration-color: var(--gold-deep); }
.ledger-after__discord { margin-top: 10px; font-size: 15px; color: var(--ink-night-2); }
.ledger-after__discord a { color: var(--gold); }

/* ── reviews from the server: each star drawn waiting and lit; site.js lights one per approved review and moves the ring ── */
.rsky__lit, .rsky__line--lit, .rsky__ring { display: none; }
.rsky .is-on { display: inline; }
.rsky .is-off { display: none; }
/* what readers write may hold any letter: the subset web fonts can't, so it is set in the system's own Korean face */
.rcard__text, .rquote p, .rcard__name, .rquote__name, .admin-item__text, .admin-item__meta b {
  font-family: 'Apple SD Gothic Neo', 'Malgun Gothic', 'Noto Sans KR', system-ui, sans-serif;
}
.rcard__text, .rquote p, .admin-item__text { white-space: pre-line; overflow-wrap: anywhere; }
.rcard__name, .rquote__name { font-weight: 700; color: var(--ink); }

/* the form: an index card to fill in, ink on paper; red stays for play, stars and stamps */
.band--write .sec-head { margin-bottom: 26px; }
.rform { max-width: 760px; padding: 30px 32px 26px; background: var(--paper), var(--polaroid); color: var(--ink); box-shadow: var(--shadow-2); color-scheme: light; }   /* paper: light form controls on a dark site */
.rform__for { font-size: 14px; font-weight: 700; letter-spacing: .04em; color: var(--ink-2); }
.rform__state { margin-top: 10px; font-size: 15px; font-weight: 700; color: var(--red-ink); }
.rform__fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px 22px; margin: 18px 0 0; padding: 0; border: 0; min-width: 0; }
.rform__fields:disabled { opacity: .55; }
.rform__field { display: grid; gap: 6px; min-width: 0; }
.rform__field--wide, .rform__check, .rform__bot, .rform__send, .rform__stars { grid-column: 1 / -1; }
.rform label, .rform legend { font-size: 14.5px; font-weight: 700; }
.rform input[type="text"], .rform input:not([type]), .rform select, .rform textarea {
  width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid rgba(38, 32, 25, .35); border-radius: 3px; background: rgba(255, 255, 255, .55);
  color: var(--ink); font: 400 16px/1.6 'Apple SD Gothic Neo', 'Malgun Gothic', 'Noto Sans KR', system-ui, sans-serif;
}
.rform textarea { resize: vertical; min-height: 130px; }
.rform input:focus-visible, .rform select:focus-visible, .rform textarea:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.rform__count { justify-self: end; font-size: 13px; color: var(--ink-2); }
.rform__stars { margin: 0; padding: 0; border: 0; min-width: 0; }
.rform__starrow { display: inline-flex; flex-direction: row-reverse; gap: 2px; margin-top: 6px; }
.rform__starrow input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rform__starrow label { display: grid; place-items: center; width: 44px; height: 44px; cursor: pointer; }
.rform__starrow svg { width: 30px; height: 30px; fill: none; stroke: var(--gold-deep); stroke-width: 1.2; transition: fill .15s, transform .15s; }
.rform__starrow label:hover svg, .rform__starrow label:hover ~ label svg,
.rform__starrow input:checked ~ label svg { fill: var(--gold-line); }
.rform__starrow input:focus-visible + label { outline: 2px solid var(--ink); outline-offset: -2px; border-radius: 3px; }
.rform__check { display: flex; align-items: flex-start; gap: 10px; font-weight: 500 !important; line-height: 1.6; cursor: pointer; }
.rform__check input { flex: none; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--ink); }
.rform__check small { margin-left: 4px; font-size: 13px; font-weight: 400; color: var(--ink-2); }
.rform label small { margin-left: 4px; font-size: 13px; font-weight: 400; color: var(--ink-2); }
/* the spoiler part stays faded until its box is ticked */
.rform__spoiler { transition: opacity .2s; }
.rform__spoiler:has(textarea:disabled) { opacity: .45; }
.rform__spoiler textarea:disabled { cursor: not-allowed; background: rgba(38, 32, 25, .05); }
.rcard__fold--part { margin-top: -2px; }
.rform__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rform__bot { min-height: 20px; font-size: 13.5px; color: var(--ink-2); }
.rform__send { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.rform__submit { min-height: 48px; padding: 0 28px; border: 0; border-radius: 3px; background: var(--ink); color: var(--cream); font-size: 16px; font-weight: 700; cursor: pointer; transition: background-color .2s; }
.rform__submit:hover { background: #3a3128; }
.rform__submit:disabled { opacity: .5; cursor: default; }
.rform__msg { font-size: 15px; font-weight: 700; color: var(--ink); }
.rform__msg.is-bad { color: var(--red-ink); }
@media (max-width: 760px) {
  .rform { padding: 24px 20px 22px; }
  .rform__fields { grid-template-columns: 1fr; }
}

/* the review desk (/admin/): plain and quick */
.band--admin { min-height: 70vh; }
.admin-login { display: grid; gap: 8px; max-width: 440px; }
.admin-login label { font-weight: 700; color: var(--starlight); }
.admin-login__row { display: flex; gap: 8px; }
.admin-login input { flex: 1; min-width: 0; min-height: 44px; padding: 8px 12px; border: 1px solid rgba(227, 191, 115, .5); border-radius: 3px; background: rgba(7, 14, 34, .6); color: var(--starlight); font-size: 16px; }
.admin-login__msg { min-height: 1.5em; font-weight: 700; color: var(--gold); }
.admin-btn { min-height: 40px; padding: 0 16px; border: 1px solid rgba(38, 32, 25, .45); border-radius: 3px; background: transparent; color: var(--ink); font-size: 14.5px; font-weight: 700; cursor: pointer; }
.admin-btn--ink { border-color: var(--ink); background: var(--ink); color: var(--cream); }
.admin-btn--quiet { border-color: transparent; color: var(--red-ink); }
.admin-login .admin-btn--ink { border-color: var(--gold); background: var(--gold); color: var(--zenith); }
.admin__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.admin__bar > .admin-btn { border-color: rgba(227, 191, 115, .5); color: var(--gold); }
.admin__tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.admin__tabs button { min-height: 40px; padding: 0 16px; border: 1px solid rgba(227, 191, 115, .45); border-radius: 3px; background: transparent; color: var(--ink-night); font-size: 15px; font-weight: 700; cursor: pointer; }
.admin__tabs button[aria-selected="true"] { background: var(--gold); border-color: var(--gold); color: var(--zenith); }
.admin__note { margin-top: 14px; font-size: 14px; color: var(--ink-night-2); }
.admin__status { min-height: 1.5em; margin-top: 8px; font-weight: 700; color: var(--gold); }
.admin__list { display: grid; gap: 16px; margin: 10px 0 0; padding: 0; list-style: none; }
.admin-item { padding: 18px 20px; background: var(--paper), var(--polaroid); color: var(--ink); box-shadow: var(--shadow-2); }
.admin-item__meta { font-size: 14px; color: var(--ink-2); }
.admin-item__tag { display: inline-block; padding: 1px 8px; border: 1px solid var(--red-ink); border-radius: 3px; color: var(--red-ink); font-size: 12.5px; font-weight: 700; }
.admin-item__text { margin-top: 10px; font-size: 16px; line-height: 1.75; }
.admin-item__label { margin-top: 12px; font-size: 13px; font-weight: 700; letter-spacing: .08em; color: var(--red-ink); }
.admin-item__text--spoiler { margin-top: 4px; padding-left: 12px; border-left: 2px solid rgba(158, 43, 35, .35); }
.admin-item__acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

/* ── many reviews: the count and average, the completed-dipper seal, a page at a time ── */
.rsky-avg { margin-top: 6px; text-align: center; font-size: 14.5px; color: var(--ink-night-2); }
.rsky-stage__avg { font-size: 14.5px; font-weight: 700; color: var(--ink-2); }
.rsky-done { position: absolute; right: 1%; bottom: 0; display: flex; align-items: center; gap: 6px; padding: 5px 12px 5px 8px; border: 1.5px solid var(--gold-line); border-radius: 999px; background: rgba(7, 14, 34, .6); color: var(--gold); transform: rotate(-6deg); }
.rsky-done[hidden] { display: none; }
.rsky-done svg { width: 58px; height: auto; }
.rsky-done .hand { font-size: 24px; line-height: 1; }
.rsky-done b { font-weight: 400; }
.rlist-more { display: flex; justify-content: center; margin-top: 36px; }
.rlist-more [hidden] { display: none; }
@media (max-width: 760px) { .rsky-done svg { width: 44px; } .rsky-done .hand { font-size: 20px; } .rsky-done { padding: 4px 10px 4px 6px; } }
