@charset "UTF-8";
/* Palimpsest landing: a record office. Paper ground, serif headings, ledger rules, one cinnabar seal.
   Fonts are served from /landing/fonts (see fonts.css); the stacks below fall back to system fonts. */
:root {
  --paper: #EEE8DA;
  --card: #F6F1E6; /* portraits in assets/cast-*.jpg are flattened onto this colour */
  --ink: #1F1B16;
  --ink-2: #3A342B;
  --ink-3: #5B5246;
  --rule: #BDB3A0;
  --seal: #A8321E;
  --teal: #1E5A57;
  --serif: 'Gowun Batang', 'Noto Serif KR', 'Nanum Myeongjo', serif;
  --sans: 'IBM Plex Sans KR', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --mono: 'IBM Plex Mono', 'IBM Plex Sans KR', ui-monospace, Consolas, monospace;
  --gutter: max(5vw, 20px);
  /* Names the admin pages read from this stylesheet. */
  --bg: var(--paper); --panel: var(--card); --muted: var(--ink-3); --line: var(--rule); --gold: var(--seal); --accent: var(--teal);
  color-scheme: light;
  font-family: var(--sans);
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
[hidden] { display: none !important; }
* { box-sizing: border-box; }
body { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; margin: 0; background: var(--paper); color: var(--ink); font-size: 16px; line-height: 1.75; word-break: keep-all; overflow-wrap: break-word; }
a { color: inherit; text-underline-offset: 5px; }
a:hover { color: var(--seal); }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--seal); outline-offset: 3px; }
button { font: inherit; cursor: pointer; }
button:disabled { opacity: .45; cursor: not-allowed; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure, blockquote, dl, dd { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.4; }
h2 { font-size: clamp(26px, 3vw, 40px); }
h3 { font-size: 24px; }
em { font-style: normal; }
strong, b { font-weight: 500; } /* the heaviest weight shipped for the text face */

/* Page frame */
.nav, .section, .hero, .ledger, .page-head, footer { width: min(1200px, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.section { padding: 72px 0 24px; scroll-margin-top: 16px; }
.section-heading { margin-bottom: 36px; }
.section-heading .lead { margin-top: 16px; }
.section.flush { padding-top: 0; }
.eyebrow { margin-bottom: 12px; font-family: var(--mono); font-size: 13px; letter-spacing: .08em; color: var(--teal); }
.lead { font-size: 17px; color: var(--ink-2); max-width: 44em; }
.caption { margin-top: 14px; font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
.more { margin-top: 22px; text-align: right; }
.more a { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; }
.skip { position: fixed; top: -100px; left: 12px; z-index: 20; padding: 12px 16px; background: var(--ink); color: var(--card); }
.skip:focus { top: 12px; }
.noscript { padding: 20px var(--gutter); font-size: 14px; }

/* Header */
.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 32px; padding: 22px 0; border-bottom: 3px double var(--ink); }
.nav a { text-decoration: none; }
.nav > a { display: inline-flex; align-items: center; min-height: 44px; }
.wordmark { display: inline-flex; align-items: baseline; gap: 14px; min-height: 44px; font-family: var(--serif); font-weight: 700; font-size: 26px; letter-spacing: .04em; }
.wordmark span { font-family: var(--mono); font-weight: 400; font-size: 12px; letter-spacing: .32em; color: var(--ink-3); }
.nav nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 30px; font-size: 15px; }
.nav nav a { padding: 10px 0; }
.nav nav a[aria-current=page] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }
.nav .nav-cta { padding: 10px 20px; background: var(--ink); color: var(--card); font-weight: 500; }
.nav .nav-cta:hover { background: var(--seal); color: var(--card); }

/* Buttons and links that act as buttons */
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 30px; border: 1px solid var(--ink); background: transparent; color: var(--ink); font: inherit; font-weight: 500; font-size: 16px; text-decoration: none; white-space: nowrap; }
.button.primary { background: var(--ink); color: var(--card); }
.button.primary:hover { background: var(--seal); border-color: var(--seal); color: var(--card); }
.button.ghost { min-height: 44px; padding: 0; border: 0; font-weight: 400; text-decoration: underline; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 36px; }

/* Framed illustration with a caption, and the round seal */
.plate { position: relative; }
.plate-frame { padding: 10px; background: var(--card); border: 1px solid var(--ink); }
.plate img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.plate figcaption { margin-top: 12px; font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
.seal { position: absolute; top: -34px; right: -14px; width: 136px; height: 136px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border: 3px solid var(--seal); border-radius: 50%; background: var(--paper); color: var(--seal); font-family: var(--serif); font-weight: 700; text-align: center; transform: rotate(-9deg); }
.seal span:nth-child(1) { font-size: 15px; letter-spacing: .2em; }
.seal span:nth-child(2) { font-size: 21px; line-height: 1.2; }
.seal span:nth-child(3) { font-family: var(--mono); font-weight: 500; font-size: 11px; letter-spacing: .1em; }

/* Home: hero */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; gap: 48px 64px; padding: 72px 0 80px; }
.hero .eyebrow { margin-bottom: 28px; }
.overwritten { margin-bottom: 6px; font-family: var(--serif); font-size: 21px; color: #6B6153; text-decoration: line-through; text-decoration-color: var(--seal); }
.hero h1 { font-size: clamp(34px, 3.5vw, 48px); line-height: 1.38; letter-spacing: -.01em; }
.hero-description { margin-top: 28px; max-width: 30em; font-size: 17px; color: var(--ink-2); }
.fine { margin-top: 22px; font-family: var(--mono); font-size: 13px; color: var(--ink-3); }
.hero .plate img { object-position: 68% center; }

/* Release schedule and other two-up ledgers */
.ledger { display: flex; flex-wrap: wrap; border-block: 1px solid var(--ink); }
.ledger > div { flex: 1 1 340px; min-width: 0; padding: 26px 32px 28px 0; }
.ledger .eyebrow { margin-bottom: 0; font-size: 12px; letter-spacing: .14em; }
.ledger-date { margin: 4px 0 6px; font-family: var(--serif); font-weight: 700; font-size: 32px; line-height: 1.3; }
.ledger p:last-child { font-size: 15px; color: var(--ink-2); }
.section > .ledger { width: auto; }

/* Index of memory regions */
.index { border-top: 1px solid var(--ink); }
.index-row { display: grid; grid-template-columns: 64px 208px minmax(0, 1fr) auto; align-items: center; gap: 16px 32px; padding: 24px 0; border-bottom: 1px solid var(--rule); }
.index-row:last-child { border-bottom-color: var(--ink); }
.index-code { font-family: var(--mono); font-size: 15px; color: var(--teal); }
.index-row img { width: 208px; aspect-ratio: 16 / 9; object-fit: cover; border: 1px solid var(--ink); }
.index-row h3 { margin-bottom: 6px; font-size: 26px; line-height: 1.35; }
.index-row p { font-size: 15px; color: var(--ink-2); }
.index-meta { font-family: var(--mono); font-size: 13px; color: var(--ink-3); }
.redacted { display: inline-block; width: 5em; height: 1em; background: var(--ink); vertical-align: -.14em; }

/* Index cards (home character teaser, supporting cast) */
.card-pair, .cast-row { display: flex; flex-wrap: wrap; gap: 24px; }
.index-card { flex: 1 1 400px; min-width: 0; display: flex; align-items: flex-end; gap: 8px; background: var(--card); border: 1px solid var(--ink); overflow: hidden; }
.index-card > img { flex: 0 0 auto; width: 44%; max-width: 250px; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; }
.index-card > div { flex: 1 1 0; min-width: 0; padding: 28px 28px 30px 8px; }
.index-card .eyebrow { margin-bottom: 0; font-size: 12px; letter-spacing: .14em; }
.index-card h3 { margin: 4px 0; font-size: 38px; line-height: 1.3; }
.cast-role { font-size: 14px; color: var(--ink-3); }
.index-card .cast-role { margin-bottom: 16px; }
.quote { font-family: var(--serif); font-size: 18px; line-height: 1.7; }
.quote cite { display: block; margin-top: 6px; font-family: var(--mono); font-style: normal; font-size: 12px; color: var(--ink-3); }

/* Trailer */
.video-shell { max-width: 960px; padding: 10px; background: var(--card); border: 1px solid var(--ink); }
.video-frame { position: relative; aspect-ratio: 16 / 9; background: var(--ink); }
.video-poster { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: none; }
.video-poster img { width: 100%; height: 100%; object-fit: cover; }
.play-circle { position: absolute; top: 50%; left: 50%; width: 84px; height: 84px; display: grid; place-items: center; border: 1px solid var(--ink); border-radius: 50%; background: var(--paper); transform: translate(-50%, -50%); }
.video-poster:hover .play-circle { background: var(--card); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
#video-status { font-size: 14px; color: var(--seal); }

/* Original novel band */
.novel { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 48px; margin-top: 72px; padding: 28px 32px; background: var(--card); border: 1px dashed var(--ink); }
.novel h2 { font-size: 24px; }
.novel p:not(.eyebrow) { margin-top: 6px; font-size: 15px; color: var(--ink-2); }

/* Sign-up and inquiry */
.signup-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: start; gap: 40px 72px; padding-top: 88px; }
.signup-copy > p:not(.eyebrow) { margin-top: 16px; color: var(--ink-2); }
.signup-copy .notice-note, .signup-copy .form-help { font-size: 14px; color: var(--ink-3); }
.community-form { min-width: 0; padding: 32px; background: var(--card); border: 1px solid var(--ink); }
.community-form h3 { margin-bottom: 14px; font-size: 22px; }
.community-form > label:not(.check) { display: block; margin: 16px 0 2px; font-size: 14px; color: var(--ink-2); }
.community-form input:not([type=checkbox]), .community-form select { width: 100%; height: 48px; padding: 0 2px; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; background: transparent; color: var(--ink); font: inherit; font-size: 17px; }
.community-form textarea { display: block; width: 100%; min-height: 150px; margin-top: 6px; padding: 12px; border: 1px solid var(--ink); border-radius: 0; background: var(--paper); color: var(--ink); font: inherit; font-size: 16px; resize: vertical; }
.check { display: flex; align-items: flex-start; gap: 12px; min-height: 44px; padding: 9px 0; font-size: 14px; line-height: 1.7; cursor: pointer; }
.check input { flex: 0 0 auto; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); }
.community-form .button { width: 100%; margin-top: 16px; }
.form-status { min-height: 24px; margin-top: 12px; font-size: 14px; color: var(--seal); }
.form-help { font-size: 13px; color: var(--ink-3); }
.honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.policy-links { margin: 20px 0 0; padding: 0; list-style: none; font-size: 14px; line-height: 2.2; }

/* Questions */
.faq-list { border-top: 1px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--rule); }
.faq-list details:last-child { border-bottom-color: var(--ink); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; font-size: 17px; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; flex: 0 0 auto; font-family: var(--mono); font-size: 20px; color: var(--ink-3); }
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list details p { max-width: 46em; padding-bottom: 22px; font-size: 15px; color: var(--ink-2); }
.faq-group { padding-bottom: 44px; scroll-margin-top: 16px; }
.faq-group h2 { margin-bottom: 18px; font-size: 28px; }
.consent-details { margin-top: 18px; }
.consent-details summary { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; text-decoration: underline; text-underline-offset: 5px; cursor: pointer; }
.consent-details p { padding-bottom: 10px; font-size: 13px; color: var(--ink-3); }
.contact-teaser { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 48px; padding-top: 48px; }
.contact-teaser p { margin-top: 8px; color: var(--ink-2); }
.contact-teaser .actions { margin-top: 0; }

/* Footer and fixed pieces */
footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 48px; margin-top: 72px; padding: 36px 0 64px; border-top: 3px double var(--ink); font-size: 14px; color: var(--ink-2); }
footer .wordmark { font-size: 20px; }
footer > div { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; }
footer a { padding: 10px 0; text-decoration: none; }
.link-button { padding: 10px 0; border: 0; background: none; color: inherit; font-size: 14px; text-decoration: underline; text-underline-offset: 5px; }
.mobile-release { display: none; }
.consent { position: fixed; right: 22px; bottom: 22px; z-index: 10; width: min(420px, calc(100% - 32px)); padding: 22px; background: var(--card); border: 1px solid var(--ink); box-shadow: 6px 6px 0 #1F1B1626; font-size: 13px; }
.consent a { text-decoration: underline; }
.consent > div { display: flex; gap: 12px; margin-top: 16px; }
.consent button { flex: 1; min-height: 44px; padding: 0 8px; border: 1px solid var(--ink); background: transparent; color: var(--ink); font-size: 13px; }
#consent-yes { background: var(--ink); color: var(--card); }

/* Sub-page heads */
.page-head { padding: 64px 0 36px; }
.page-head h1 { font-size: clamp(32px, 4vw, 52px); line-height: 1.38; }
.page-head.with-plate { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; gap: 40px 64px; }
.page-lead { margin-top: 20px; max-width: 40em; font-size: 17px; color: var(--ink-2); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 32px; border-top: 1px solid var(--ink); }
.facts > div { padding: 12px 16px 12px 0; border-bottom: 1px solid var(--rule); }
.facts dt, .cast-facts dt { font-family: var(--mono); font-size: 12px; color: var(--teal); }
.facts dd { font-weight: 500; }
.jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.jump a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--ink); font-size: 14px; text-decoration: none; }
.jump a:hover { background: var(--card); }

/* About */
.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 32px 56px; }
.split + .split { margin-top: 64px; }
.split.reverse > .plate { order: 2; }
.prose p { margin-top: 14px; color: var(--ink-2); }
.prose p:first-child { margin-top: 0; }
.prose strong { font-family: var(--mono); font-weight: 500; color: var(--ink); }
.prose .quote { margin-top: 22px; font-size: 21px; color: var(--ink); }
.system-log, .prose .system-log { font-family: var(--mono); font-size: 13px; letter-spacing: .06em; line-height: 1.9; color: var(--teal); }
.entries { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; border-top: 1px solid var(--ink); }
.entries.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.entries article { padding: 22px 0 26px; border-bottom: 1px solid var(--rule); }
.entries .index-code { font-size: 13px; }
.entries h3 { margin: 6px 0 10px; font-size: 22px; }
.entries p { font-size: 15px; color: var(--ink-2); }
.episode { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 28px 52px; padding: 40px 0; border-top: 1px solid var(--rule); }
.episode:first-of-type { border-top-color: var(--ink); }
.episode:nth-of-type(even) > .plate { order: 2; }
.episode .plate img { aspect-ratio: 16 / 9; }
.episode h3 { margin: 6px 0 14px; font-size: 30px; }
.episode p { color: var(--ink-2); }
.episode .quote { margin-top: 18px; color: var(--ink); }
.chips { margin-top: 18px; font-family: var(--mono); font-size: 13px; color: var(--ink-3); }

/* Characters */
.cast-lead { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: stretch; gap: 32px 56px; }
.cast-lead + .cast-lead { margin-top: 56px; }
.lead-switch { display: none; }
/* One lead at a time, chosen with the radio buttons under the portrait. Browsers without :has() list all three. */
@supports selector(:has(*)) {
  .cast-lead { display: none; }
  .cast-lead + .cast-lead { margin-top: 0; }
  #leads:has(#lead-noah:checked) .lead-noah, #leads:has(#lead-ari:checked) .lead-ari, #leads:has(#lead-moru:checked) .lead-moru { display: grid; }
  .lead-switch { display: flex; }
}
.lead-copy { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.lead-copy .eyebrow { margin-bottom: 0; letter-spacing: .14em; }
.lead-name { font-size: clamp(64px, 8vw, 104px); line-height: 1.2; }
.lead-copy .cast-role { margin-bottom: 22px; font-size: 16px; }
.lead-copy > p:not([class]) { max-width: 30em; color: var(--ink-2); }
.lead-copy .quote { margin: 22px 0 26px; font-size: 24px; line-height: 1.65; }
.cast-facts { border-top: 1px solid var(--ink); font-size: 14px; }
.cast-facts > div { display: flex; gap: 20px; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.cast-facts > div:last-child { border-bottom-color: var(--ink); }
.cast-facts dt { flex: 0 0 84px; color: var(--ink-3); font-size: 13px; }
.lead-portrait { position: relative; display: flex; align-items: flex-end; justify-content: center; min-width: 0; padding-top: 40px; overflow: hidden; background: var(--card); border: 1px solid var(--ink); }
.lead-portrait > span { position: absolute; top: 6px; left: 22px; font-family: var(--serif); font-weight: 700; font-size: clamp(90px, 13vw, 188px); line-height: 1; color: #E3DBC9; }
.lead-portrait img { position: relative; width: 100%; max-width: 500px; aspect-ratio: 4 / 5; object-fit: contain; object-position: bottom; }
.lead-moru .lead-portrait { align-items: center; padding: 120px 24px 80px; }
.lead-moru .lead-portrait img { max-width: 440px; aspect-ratio: 6 / 5; }
.lead-switch { flex-wrap: wrap; gap: 12px; padding-bottom: 28px; }
.lead-radio { position: absolute; width: 1px; height: 1px; opacity: 0; }
.lead-switch label { position: relative; display: flex; align-items: center; gap: 12px; min-height: 68px; padding: 6px 22px 6px 6px; background: var(--card); border: 2px solid var(--rule); cursor: pointer; }
.lead-switch img { width: 52px; height: 52px; object-fit: cover; object-position: top; }
.lead-switch span { font-family: var(--serif); font-weight: 700; font-size: 18px; }
.lead-switch label:has(:checked) { border-color: var(--ink); }
.lead-switch label:has(:focus-visible) { outline: 2px solid var(--seal); outline-offset: 3px; }
.cast-side { flex: 1 1 300px; }
.cast-side > img { width: 42%; }
.cast-side > div { padding: 22px 22px 24px 14px; }
.cast-side h3 { margin: 2px 0 10px; font-size: 26px; }
.cast-side .eyebrow, .cast-note .eyebrow, .cast-five .eyebrow { margin-bottom: 0; font-size: 12px; letter-spacing: 0; color: var(--ink-3); }
.cast-side .quote { font-size: 17px; }
.cast-note { flex: 1 1 300px; min-width: 0; padding: 24px; border: 1px dashed var(--ink); }
.cast-note h3 { margin: 2px 0 10px; font-size: 26px; }
.cast-note p:last-child { font-size: 15px; color: var(--ink-2); }
.hotel { display: grid; grid-template-columns: minmax(0, 230px) minmax(0, 1fr); align-items: start; gap: 32px 48px; }
.hotel-staff img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border: 1px solid var(--ink); }
.hotel-staff h3 { margin: 12px 0 6px; }
.hotel-staff p { font-size: 14px; color: var(--ink-2); }
.hotel-staff .quote { margin-top: 10px; font-size: 16px; color: var(--ink); }
.table-wrap { overflow-x: auto; background: var(--card); border: 1px solid var(--ink); }
.register { width: 100%; min-width: 600px; border-collapse: collapse; font-size: 15px; }
.register th, .register td { padding: 14px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--rule); font-weight: 400; }
.register thead th { padding-block: 12px; border-bottom-color: var(--ink); font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
.register tbody th { font-family: var(--serif); font-weight: 700; font-size: 18px; white-space: nowrap; }
.register tbody th small { display: block; font-family: var(--mono); font-weight: 400; font-size: 12px; color: var(--ink-3); }
.register td:nth-child(2) { font-family: var(--mono); }
.register td:last-child { color: var(--ink-2); }
.register tr:last-child th, .register tr:last-child td { border-bottom: 0; }
.register .erased td:last-child { color: var(--seal); }
.register .redacted { width: 128px; height: 18px; vertical-align: middle; }
.register .redacted.short { width: 40px; }
/* A grid, not a wrapping flex row: a card left alone on the last row keeps the size of the others. */
.cast-five { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px 20px; }
.cast-five article { min-width: 0; }
.cast-five img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border: 1px solid var(--ink); }
.cast-five .eyebrow { margin-top: 14px; }
.cast-five .quote { margin-top: 6px; font-size: 15px; line-height: 1.65; }
.closing { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 48px; padding-top: 56px; }
.closing p { font-family: var(--serif); font-size: 20px; }
.closing .actions { margin-top: 0; }

/* Privacy notice and e-mail management pages */
.policy { max-width: 820px; min-height: 60vh; padding-top: 56px; }
.policy h1 { margin-bottom: 8px; }
.policy h2 { margin: 36px 0 12px; font-size: 26px; }
.policy h3 { margin: 24px 0 8px; font-size: 20px; }
.policy p, .policy li { margin-top: 10px; font-size: 15px; color: var(--ink-2); }
.policy .button { margin: 24px 0; }
/* Numbered policy documents (the game privacy policy and terms) */
.policy.articles h1 { font-size: clamp(26px, 4vw, 38px); }
.policy.articles h2 { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--rule); font-size: 21px; }
.policy.articles section:first-of-type h2 { border-top-color: var(--ink); }
.policy-meta { font-family: var(--mono); font-size: 13px; color: var(--ink-3); }
.policy ul, .policy ol { margin: 6px 0 0; padding-left: 1.4em; }
.policy li { margin-top: 4px; }
.policy .cast-facts { margin-top: 14px; max-width: 420px; font-size: 15px; }
.policy-foot { margin-top: 48px; padding-top: 20px; border-top: 3px double var(--ink); }
.policy-foot a, .policy p a { display: inline-block; padding: 4px 0; }
.manage-title { margin-bottom: 20px; font-size: 32px; }

@media (max-width: 1000px) {
  .cast-five { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hero, .page-head.with-plate, .split, .episode, .cast-lead, .signup-section, .hotel { grid-template-columns: minmax(0, 1fr); }
  .split.reverse > .plate, .episode:nth-of-type(even) > .plate { order: 0; }
  .hero { padding: 48px 0 64px; }
  .hero h1 { font-size: min(7.2vw, 44px); }
  .hero .plate { margin-top: 28px; }
  .entries, .entries.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .index-row { grid-template-columns: 56px 168px minmax(0, 1fr); }
  .index-row img { width: 168px; }
  .index-meta { grid-column: 3; }
  .lead-portrait > span { font-size: clamp(90px, 22vw, 188px); }
  /* One column: the portrait leads, the text follows. */
  .cast-lead > .lead-portrait { order: -1; }
  .lead-portrait img { max-width: min(420px, 78%); }
  .lead-moru .lead-portrait { padding: 96px 24px 56px; }
  .hotel-staff { display: grid; grid-template-columns: 112px minmax(0, 1fr); align-items: start; gap: 2px 18px; }
  .hotel-staff img { grid-row: 1 / span 3; }
  .hotel-staff h3 { margin-top: 0; }
}
@media (max-width: 600px) {
  .nav { padding: 14px 0 8px; }
  .wordmark { font-size: 22px; }
  .wordmark span { display: none; }
  .nav nav { width: 100%; gap: 4px 8px; font-size: 15px; }
  .nav nav a:not(.nav-cta) { padding: 10px 8px; }
  .nav nav a:first-child { margin-left: -8px; }
  .nav .nav-cta { margin-left: auto; padding: 10px 14px; }
  .section { padding-top: 56px; }
  .page-head { padding: 44px 0 28px; }
  .page-head h1 { font-size: min(7vw, 36px); }
  .seal { top: -26px; right: -6px; width: 108px; height: 108px; }
  .seal span:nth-child(1) { font-size: 13px; letter-spacing: .12em; }
  .seal span:nth-child(2) { font-size: 17px; }
  .seal span:nth-child(3) { font-size: 11px; letter-spacing: .04em; }
  .overwritten { font-size: 17px; }
  .button { padding: 0 22px; }
  .ledger > div { padding-right: 0; }
  .ledger-date { font-size: 28px; }
  .index-row { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .index-row img { width: 100%; }
  .index-meta { grid-column: auto; }
  .index-card { flex-basis: 100%; }
  .index-card h3 { font-size: 30px; }
  .index-card > div { padding: 20px 18px 22px 4px; }
  .entries, .entries.four { grid-template-columns: minmax(0, 1fr); }
  .novel { padding: 22px 20px; }
  .community-form { padding: 24px 20px; }
  .lead-copy .quote { font-size: 21px; }
  .lead-switch { gap: 8px; padding-bottom: 20px; }
  .lead-switch label { flex: 1 1 0; min-width: 0; min-height: 60px; gap: 8px; padding: 5px 8px 5px 5px; }
  .lead-switch img { width: 44px; height: 44px; }
  .lead-switch span { font-size: 16px; }
  .cast-five { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; }
  .faq-list summary { font-size: 16px; }
  /* Nothing smaller than 13px on a phone. */
  .caption, .plate figcaption, .quote cite, .facts dt, .cast-facts dt, .ledger .eyebrow, .index-card .eyebrow, .cast-side .eyebrow, .cast-note .eyebrow, .cast-five .eyebrow, .register tbody th small, footer small { font-size: 13px; }
  footer a { padding: 10px 8px; }
  footer > div { margin-left: -8px; gap: 0 12px; }
  /* The register reads as stacked entries instead of a table that scrolls sideways. */
  .register { min-width: 0; }
  .register thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .register tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding: 14px 16px; border-bottom: 1px solid var(--rule); }
  .register tbody tr:last-child { border-bottom: 0; }
  .register th, .register td { padding: 0; border: 0; }
  .register tbody th { white-space: normal; }
  .register td:last-child { grid-column: 1 / -1; }
  .register .redacted { width: 104px; }
  /* The fixed bar would sit on top of the on-screen keyboard while a form is being filled in. */
  body:has(.community-form :focus) .mobile-release { display: none; }
  footer { padding-bottom: 110px; }
  .mobile-release { position: fixed; right: 0; bottom: 0; left: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 52px; padding: 0 var(--gutter); background: var(--ink); color: var(--card); font-size: 13px; text-decoration: none; }
  .mobile-release:hover { color: var(--card); }
  .consent { right: 16px; bottom: 68px; }
}
@media (max-width: 360px) {
  /* Keep the menu and the sign-up button on one row on the narrowest phones. */
  .nav nav { gap: 4px 2px; font-size: 14px; }
  .nav .nav-cta { padding: 10px 10px; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}
