/* Hollywood Agent Wiki — the agency case file.
   Manila folders, typed labels, and a provenance stamp on every claim. */
:root {
  --paper: #F4ECDC;
  --sheet: #FFFBF1;
  --ink: #1C1A16;
  --ink-2: #51493D;
  --rule: #D3C5A6;
  --manila: #E6D5AD;
  --night: #17130E;
  --night-2: #2B251B;
  --gold: #D8AB3A;
  --red: #A4261C;
  --navy: #1E3A64;
  --green: #2A6444;
  --ochre: #7A5A12;
  --shadow: rgba(28, 26, 22, 0.28);
  --f-display: "DM Serif Display", "Iowan Old Style", Georgia, serif;
  --f-type: "Courier Prime", "Courier New", ui-monospace, monospace;
  --f-body: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1120px;
  --r: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--navy); text-underline-offset: 3px; transition: color 150ms ease; }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
[hidden] { display: none !important; }
.cf-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.cf-skip { position: absolute; left: 16px; top: -64px; z-index: 50; background: var(--sheet); color: var(--ink); border: 2px solid var(--ink); padding: 10px 16px; font-family: var(--f-type); font-weight: 700; }
.cf-skip:focus { top: 12px; }

.cf-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.cf-block { padding-top: 56px; padding-bottom: 8px; }
.cf-main { min-height: 60vh; }

/* ---- stripe: the clapperboard edge ---- */
.cf-stripe { height: 12px; background: repeating-linear-gradient(-45deg, var(--night) 0 14px, var(--paper) 14px 28px); border-top: 2px solid var(--gold); }

/* ---- top bar ---- */
.cf-top { position: sticky; top: 0; z-index: 30; background: var(--night); color: var(--paper); }
.cf-top :focus-visible { outline-color: var(--gold); }
.cf-top-in { max-width: var(--wrap); margin: 0 auto; padding: 12px 24px; display: flex; align-items: center; gap: 24px; }
.cf-brand { display: flex; align-items: center; gap: 12px; color: var(--paper); text-decoration: none; flex: none; }
.cf-brand:hover { color: var(--gold); }
.cf-brand-name { font-family: var(--f-display); font-size: 22px; line-height: 1.1; }
.cf-nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.cf-nav a { font-family: var(--f-type); font-weight: 700; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; color: var(--paper); padding: 10px 12px; border-bottom: 2px solid transparent; white-space: nowrap; transition: border-color 150ms ease, color 150ms ease; }
.cf-nav a:hover { border-bottom-color: var(--gold); color: var(--paper); }
.cf-nav a[aria-current] { border-bottom-color: var(--gold); color: var(--gold); }
.cf-search { position: relative; width: 240px; flex: none; }
.cf-search input { width: 100%; font: 400 15px/1.2 var(--f-body); color: var(--paper); background: var(--night-2); border: 1px solid var(--ink-2); border-radius: var(--r); padding: 10px 12px; transition: border-color 150ms ease; }
.cf-search input::placeholder { color: var(--manila); opacity: 0.8; }
.cf-search input:hover { border-color: var(--gold); }
.cf-results { position: absolute; right: 0; top: calc(100% + 8px); width: min(440px, 92vw); max-height: 62vh; overflow: auto; background: var(--sheet); color: var(--ink); border: 2px solid var(--ink); box-shadow: 6px 6px 0 var(--shadow); }
.cf-results a { display: block; padding: 10px 14px; text-decoration: none; color: var(--ink); border-bottom: 1px dashed var(--rule); }
.cf-results a:hover, .cf-results a[data-active] { background: var(--manila); }
.cf-r-title { display: block; font-weight: 700; font-size: 15px; line-height: 1.35; }
.cf-r-meta { display: block; font-family: var(--f-type); font-size: 12px; color: var(--ink-2); }
.cf-r-note { margin: 0; padding: 12px 14px; font-family: var(--f-type); font-size: 14px; color: var(--ink-2); }

/* ---- shared bits ---- */
.cf-h2 { font-family: var(--f-display); font-weight: 400; font-size: 34px; line-height: 1.15; margin: 0 0 24px; }
.cf-h3 { font-family: var(--f-display); font-weight: 400; font-size: 24px; line-height: 1.2; margin: 0 0 16px; }
.cf-typed { font-family: var(--f-type); font-size: 14px; line-height: 1.5; color: var(--ink-2); margin: 12px 0 0; }
.cf-tab { position: absolute; left: 20px; top: -28px; background: var(--manila); color: var(--ink); border: 1px solid var(--ink); border-bottom: 0; border-radius: var(--r) var(--r) 0 0; padding: 5px 14px 4px; font-family: var(--f-type); font-weight: 700; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.4; }

.cf-stamp { display: inline-block; font-family: var(--f-type); font-weight: 700; font-size: 12px; line-height: 1; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 8px 4px; border: 2px solid currentColor; border-radius: 3px; transform: rotate(-2deg); white-space: nowrap; background: var(--sheet); }
.cf-stamp--official { color: var(--navy); }
.cf-stamp--screen { color: var(--green); }
.cf-stamp--press { color: var(--ochre); }
.cf-stamp--none { color: var(--red); }

.cf-btn { display: inline-block; font-family: var(--f-type); font-weight: 700; font-size: 14px; line-height: 1; letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none; color: var(--ink); background: var(--sheet); border: 2px solid var(--ink); border-radius: var(--r); padding: 14px 18px; transition: transform 150ms ease, box-shadow 150ms ease; }
.cf-btn:hover { color: var(--ink); transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); }
.cf-btn--main { background: var(--red); border-color: var(--red); color: var(--sheet); }
.cf-btn--main:hover { color: var(--sheet); box-shadow: 4px 4px 0 var(--ink); }
.cf-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.cf-crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-family: var(--f-type); font-size: 13px; color: var(--ink-2); padding: 24px 0 0; }
.cf-crumbs a { color: var(--ink-2); text-decoration: none; border-bottom: 1px solid var(--rule); }
.cf-crumbs a:hover { color: var(--red); border-color: var(--red); }

/* ---- home: hero ---- */
.cf-hero { padding: 64px 0 24px; }
.cf-hero-in { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: 56px; align-items: center; }
.cf-hero-sheet { position: relative; background: var(--sheet); border: 1px solid var(--ink); box-shadow: 8px 8px 0 var(--manila); padding: 40px 36px 36px; }
.cf-hero-title { font-family: var(--f-display); font-weight: 400; font-size: 50px; line-height: 1.08; letter-spacing: -0.01em; margin: 0 0 18px; }
.cf-hero-lead { font-size: 19px; line-height: 1.6; margin: 0; max-width: 56ch; }
.cf-hero-photo { position: relative; margin: 0; background: var(--sheet); border: 1px solid var(--ink); padding: 12px; box-shadow: 0 14px 22px -14px var(--shadow); transform: rotate(1.6deg); }
.cf-hero-photo img { display: block; width: 100%; height: auto; border: 1px solid var(--ink); }
.cf-tape { position: absolute; width: 92px; height: 26px; background: var(--manila); border: 1px solid var(--rule); opacity: 0.92; }
.cf-tape--a { top: -14px; left: 18px; transform: rotate(-12deg); }
.cf-tape--b { top: -14px; right: 18px; transform: rotate(9deg); }
.cf-hero-badge { position: absolute; right: 18px; bottom: -16px; transform: rotate(-5deg); font-size: 13px; padding: 7px 11px 6px; }

/* ---- home: status board ---- */
.cf-board-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; margin-bottom: 8px; }
.cf-board-head .cf-h2 { margin-bottom: 16px; }
.cf-board-head .cf-typed { margin: 0 0 16px; }
.cf-board { list-style: none; margin: 0; padding: 0; background: var(--sheet); border: 1px solid var(--ink); box-shadow: 8px 8px 0 var(--manila); }
.cf-board-row { display: grid; grid-template-columns: 150px minmax(0, 1fr) 150px 210px; gap: 8px 20px; align-items: center; padding: 16px 24px; border-top: 1px dashed var(--ink-2); }
.cf-board-row:first-child { border-top: 0; }
.cf-board-k { font-family: var(--f-type); font-weight: 700; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.cf-board-v { font-family: var(--f-display); font-size: 23px; line-height: 1.25; }
.cf-board-row .cf-stamp { justify-self: start; }
.cf-board-go { font-family: var(--f-type); font-size: 14px; font-weight: 700; color: var(--navy); }

/* ---- home: folders ---- */
.cf-drawer { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 44px 32px; padding-top: 16px; }
.cf-folder { position: relative; background: var(--manila); border: 1px solid var(--ink); border-radius: 0 var(--r) var(--r) var(--r); padding: 28px 24px 22px; box-shadow: 0 14px 22px -16px var(--shadow); }
.cf-folder .cf-tab { top: -28px; left: -1px; }
.cf-folder-title { font-family: var(--f-display); font-weight: 400; font-size: 28px; line-height: 1.15; margin: 0 0 8px; }
.cf-folder-title a { color: var(--ink); text-decoration: none; }
.cf-folder-title a:hover { color: var(--red); text-decoration: underline; }
.cf-folder-text { margin: 0 0 16px; color: var(--ink); font-size: 16px; }
.cf-folder-list { list-style: none; margin: 0; padding: 4px 16px; background: var(--sheet); border: 1px solid var(--rule); }
.cf-folder-list li { padding: 9px 0; border-bottom: 1px dotted var(--ink-2); font-size: 15px; line-height: 1.4; }
.cf-folder-list li:last-child { border-bottom: 0; }
.cf-folder-list a { text-decoration: none; }
.cf-folder-list a:hover { text-decoration: underline; }

/* ---- home: call slips ---- */
.cf-slips { list-style: none; margin: 0; padding: 0; counter-reset: slip; display: grid; grid-template-columns: repeat(auto-fit, minmax(188px, 1fr)); gap: 18px; }
.cf-slips li { counter-increment: slip; display: flex; }
.cf-slip { display: block; width: 100%; background: var(--sheet); border: 1px solid var(--rule); border-top: 6px solid var(--gold); padding: 16px 18px 18px; color: var(--ink); text-decoration: none; transition: transform 150ms ease, box-shadow 150ms ease; }
.cf-slip::before { content: "Slip " counter(slip, decimal-leading-zero); display: block; font-family: var(--f-type); font-weight: 700; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red); margin-bottom: 8px; }
.cf-slip:hover { color: var(--ink); transform: translateY(-3px); box-shadow: 0 12px 18px -14px var(--shadow); }
.cf-slip-title { display: block; font-family: var(--f-display); font-size: 21px; line-height: 1.25; margin-bottom: 6px; }
.cf-slip-text { display: block; font-size: 15px; line-height: 1.5; color: var(--ink-2); }

/* ---- home: prose + legend ---- */
.cf-dossier { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
.cf-legend { background: var(--sheet); border: 1px dashed var(--ink); padding: 24px 22px 8px; position: sticky; top: 96px; }
.cf-legend dl { margin: 0; }
.cf-legend dl div { padding: 12px 0 16px; border-top: 1px dotted var(--ink-2); }
.cf-legend dl div:first-child { border-top: 0; padding-top: 0; }
.cf-legend dt { margin: 0 0 8px; }
.cf-legend dd { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink-2); }

/* ---- ledger rows ---- */
.cf-ledger { border-top: 2px solid var(--ink); }
.cf-row { display: grid; grid-template-columns: 124px minmax(0, 1fr); column-gap: 20px; padding: 16px 8px; border-bottom: 1px dashed var(--ink-2); text-decoration: none; color: var(--ink); transition: background-color 150ms ease; }
.cf-row:hover { background: var(--manila); color: var(--ink); }
.cf-row-date { grid-row: span 2; font-family: var(--f-type); font-size: 14px; color: var(--ink-2); padding-top: 4px; }
.cf-row-title { font-family: var(--f-display); font-size: 22px; line-height: 1.25; }
.cf-row-text { font-size: 15px; line-height: 1.5; color: var(--ink-2); }

/* ---- list pages: the drawer of files ---- */
.cf-page { padding-bottom: 72px; counter-reset: file; }
.cf-narrow { max-width: 860px; }
.cf-drawer-head { position: relative; background: var(--manila); border: 1px solid var(--ink); border-radius: 0 var(--r) var(--r) var(--r); padding: 32px 32px 28px; margin-top: 48px; }
.cf-drawer-head .cf-tab { top: -28px; left: -1px; }
.cf-title { font-family: var(--f-display); font-weight: 400; font-size: 44px; line-height: 1.12; letter-spacing: -0.01em; margin: 0 0 14px; }
.cf-lead { font-size: 19px; line-height: 1.6; margin: 0; max-width: 62ch; }
.cf-intro { margin-top: 32px; }
.cf-filter { margin: 32px 0 8px; }
.cf-filter input { width: 100%; max-width: 420px; font: 400 16px/1.3 var(--f-body); color: var(--ink); background: var(--sheet); border: 2px solid var(--ink); border-radius: var(--r); padding: 12px 14px; }
.cf-group { margin-top: 40px; }
.cf-files { display: grid; grid-template-columns: 1fr; gap: 0; border-top: 2px solid var(--ink); }
.cf-file { counter-increment: file; display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 8px 20px; align-items: start; padding: 20px 8px; border-bottom: 1px dashed var(--ink-2); text-decoration: none; color: var(--ink); transition: background-color 150ms ease; }
.cf-file:hover { background: var(--manila); color: var(--ink); }
.cf-file-no::before { content: counter(file, decimal-leading-zero); font-family: var(--f-type); font-weight: 700; font-size: 26px; line-height: 1.1; color: var(--red); }
.cf-file-body { display: block; min-width: 0; }
.cf-file-title { display: block; font-family: var(--f-display); font-size: 25px; line-height: 1.2; margin-bottom: 6px; }
.cf-file-text { display: block; font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.cf-file-meta { display: block; font-family: var(--f-type); font-size: 13px; color: var(--ink-2); margin-top: 8px; }
.cf-file-img { width: 176px; height: auto; border: 1px solid var(--ink); background: var(--sheet); padding: 3px; }

/* ---- article ---- */
.cf-article { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 48px; padding-bottom: 72px; align-items: start; }
.cf-article-main { min-width: 0; }
.cf-sheet { position: relative; background: var(--sheet); border: 1px solid var(--ink); box-shadow: 8px 8px 0 var(--manila); margin-top: 44px; padding: 40px 48px 40px; }
.cf-narrow .cf-sheet { padding: 40px 40px 32px; }
.cf-sheet > .cf-filehead .cf-tab { top: -28px; left: -1px; }
.cf-sources { margin-top: 24px; padding-top: 16px; border-top: 1px dashed var(--ink-2); }
.cf-sources-h { font-family: var(--f-type); font-weight: 700; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); margin: 0 0 10px; }
.cf-sources ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.cf-sources li { display: flex; gap: 12px; align-items: baseline; font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.cf-sources li .cf-stamp { flex: none; min-width: 108px; text-align: center; }
.cf-memo { margin: 28px 0 0; padding: 18px 22px 18px; background: var(--paper); border: 1px solid var(--ink); border-left: 8px solid var(--red); }
.cf-memo-label { font-family: var(--f-type); font-weight: 700; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); margin: 0 0 6px; }
.cf-memo-text { font-size: 19px; line-height: 1.55; margin: 0; }
.cf-casesheet { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0; margin: 24px 0 0; border: 1px solid var(--ink); background: var(--manila); }
.cf-casesheet div { padding: 12px 14px; border-right: 1px dotted var(--ink-2); border-bottom: 1px dotted var(--ink-2); }
.cf-casesheet dt { font-family: var(--f-type); font-weight: 700; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); margin: 0 0 2px; }
.cf-casesheet dd { margin: 0; font-size: 15px; line-height: 1.4; font-weight: 600; }
.cf-figure { margin: 28px 0 32px; }
.cf-figure img { display: block; width: 100%; height: auto; border: 1px solid var(--ink); padding: 6px; background: var(--paper); }
.cf-side { position: sticky; top: 96px; margin-top: 44px; }
.cf-toc { background: var(--sheet); border: 1px dashed var(--ink); padding: 18px 18px 12px; }
.cf-side-h { font-family: var(--f-type); font-weight: 700; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); margin: 0 0 10px; }
.cf-toc ol { list-style: none; margin: 0; padding: 0; }
.cf-toc li { margin: 0; }
.cf-toc a { display: block; padding: 6px 0 6px 12px; font-size: 14px; line-height: 1.4; color: var(--ink-2); text-decoration: none; border-left: 3px solid var(--rule); transition: border-color 150ms ease, color 150ms ease; }
.cf-toc a:hover { color: var(--red); border-left-color: var(--red); }
.cf-toc a[data-active] { color: var(--ink); font-weight: 700; border-left-color: var(--red); }
.cf-toc .cf-toc-sub a { padding-left: 24px; font-size: 13px; }

.cf-related { margin-top: 56px; }
.cf-faq { margin-top: 48px; }
.cf-faq details { border-top: 1px dashed var(--ink-2); padding: 0; }
.cf-faq details:last-child { border-bottom: 1px dashed var(--ink-2); }
.cf-faq summary { cursor: pointer; list-style: none; font-family: var(--f-display); font-size: 21px; line-height: 1.3; padding: 16px 40px 16px 0; position: relative; transition: color 150ms ease; }
.cf-faq summary::-webkit-details-marker { display: none; }
.cf-faq summary::after { content: "+"; position: absolute; right: 8px; top: 12px; font-family: var(--f-type); font-weight: 700; font-size: 26px; color: var(--red); }
.cf-faq details[open] summary::after { content: "\2212"; }
.cf-faq summary:hover { color: var(--red); }
.cf-faq details p { margin: 0 0 18px; max-width: 66ch; }

/* ---- prose ---- */
.cf-prose { max-width: 70ch; }
.cf-dossier .cf-prose { max-width: none; }
.cf-prose > :first-child { margin-top: 0; }
.cf-prose p, .cf-prose ul, .cf-prose ol { margin: 0 0 1.1em; }
.cf-prose ul, .cf-prose ol { padding-left: 1.4em; }
.cf-prose li { margin: 0.3em 0; }
.cf-prose strong { font-weight: 700; }
.cf-prose h2 { font-family: var(--f-display); font-weight: 400; font-size: 31px; line-height: 1.2; margin: 1.9em 0 0.6em; padding-top: 0.55em; border-top: 2px solid var(--ink); }
.cf-prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.cf-prose h3 { font-family: var(--f-display); font-weight: 400; font-size: 23px; line-height: 1.25; margin: 1.7em 0 0.5em; color: var(--red); }
.cf-prose a { color: var(--navy); text-decoration-thickness: 1px; }
.cf-prose a:hover { color: var(--red); }
.cf-prose blockquote { margin: 1.4em 0; padding: 14px 18px; background: var(--paper); border-left: 5px solid var(--gold); }
.cf-prose blockquote p:last-child { margin-bottom: 0; }
.cf-prose hr { border: 0; border-top: 2px dashed var(--ink-2); margin: 2em 0; }
.cf-prose code { font-family: var(--f-type); font-size: 0.92em; background: var(--paper); padding: 1px 5px; }
.cf-prose img { display: block; width: 100%; height: auto; margin: 1.6em 0 0.5em; border: 1px solid var(--ink); padding: 6px; background: var(--paper); }
.cf-prose img + em { display: block; font-family: var(--f-type); font-size: 13px; line-height: 1.5; color: var(--ink-2); margin: 0 0 1.6em; }
.cf-prose .cf-stamp { transform: none; font-size: 12px; padding: 3px 6px 2px; }
.cf-scroll { overflow-x: auto; margin: 1.4em 0; border: 1px solid var(--ink); -webkit-overflow-scrolling: touch; }
.cf-prose table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
.cf-prose th { font-family: var(--f-type); font-weight: 700; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; text-align: left; background: var(--ink); color: var(--paper); padding: 10px 12px; white-space: nowrap; }
.cf-prose td { padding: 10px 12px; border-top: 1px dashed var(--ink-2); vertical-align: top; min-width: 7.5em; }
.cf-prose td:first-child { min-width: 6.5em; }
.cf-prose td:last-child { min-width: 12em; }
.cf-prose td:last-child:has(.cf-stamp) { min-width: 0; }
.cf-prose tbody tr:nth-child(even) { background: var(--paper); }
.cf-legal h2 { font-size: 26px; }
.cf-404 { padding-top: 72px; }

/* ---- footer ---- */
.cf-foot { background: var(--night); color: var(--paper); margin-top: 24px; }
.cf-foot-in { max-width: var(--wrap); margin: 0 auto; padding: 40px 24px 24px; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
.cf-foot-name { font-family: var(--f-display); font-size: 26px; line-height: 1.15; margin: 0 0 10px; }
.cf-foot-note { margin: 0; font-size: 14px; line-height: 1.55; color: var(--manila); max-width: 44ch; }
.cf-foot-h { font-family: var(--f-type); font-weight: 700; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin: 0 0 10px; }
.cf-foot-col { display: flex; flex-direction: column; gap: 2px; }
.cf-foot-col a { color: var(--paper); text-decoration: none; font-size: 15px; padding: 5px 0; }
.cf-foot-col a:hover { color: var(--gold); text-decoration: underline; }
.cf-foot :focus-visible { outline-color: var(--gold); }
.cf-foot-copy { max-width: var(--wrap); margin: 0 auto; padding: 0 24px 32px; font-family: var(--f-type); font-size: 13px; color: var(--manila); }

/* ---- tablet ---- */
@media (max-width: 960px) {
  .cf-hero-in { grid-template-columns: 1fr; gap: 40px; }
  .cf-hero-photo { max-width: 560px; justify-self: center; }
  .cf-dossier { grid-template-columns: 1fr; }
  .cf-legend { position: static; }
  .cf-article { grid-template-columns: 1fr; }
  .cf-side { display: none; }
  .cf-board-row { grid-template-columns: 130px minmax(0, 1fr) 140px; }
  .cf-board-go { grid-column: 2 / -1; }
  .cf-top-in { flex-wrap: wrap; gap: 8px 16px; }
  .cf-nav { order: 3; width: 100%; margin-left: 0; overflow-x: auto; padding-bottom: 2px; }
  .cf-search { margin-left: auto; }
}

/* ---- phone ---- */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .cf-wrap { padding: 0 16px; }
  .cf-top-in { padding: 10px 16px; }
  .cf-brand-name { font-size: 19px; }
  .cf-search { width: 100%; margin-left: 0; order: 2; }
  .cf-results { left: 0; right: auto; }
  .cf-hero { padding-top: 40px; }
  .cf-hero-sheet { padding: 28px 20px 24px; }
  .cf-hero-title { font-size: 34px; }
  .cf-hero-lead, .cf-lead { font-size: 17px; }
  .cf-hero-photo { transform: none; }
  .cf-h2 { font-size: 28px; }
  .cf-block { padding-top: 44px; }
  .cf-board-row { grid-template-columns: 1fr auto; padding: 14px 16px; }
  .cf-board-k { grid-column: 1 / -1; }
  .cf-board-v { grid-column: 1; font-size: 21px; }
  .cf-board-row .cf-stamp { grid-column: 2; grid-row: 2; }
  .cf-board-go { grid-column: 1 / -1; }
  .cf-title { font-size: 33px; }
  .cf-drawer-head { padding: 24px 20px 22px; }
  .cf-sheet, .cf-narrow .cf-sheet { padding: 28px 18px 28px; box-shadow: 5px 5px 0 var(--manila); }
  .cf-sources li { flex-direction: column; gap: 6px; }
  .cf-file { grid-template-columns: 44px minmax(0, 1fr); padding: 16px 4px; }
  .cf-file-no::before { font-size: 20px; }
  .cf-file-img { grid-column: 2; width: 100%; max-width: 280px; }
  .cf-file-title { font-size: 22px; }
  .cf-row { grid-template-columns: 1fr; }
  .cf-row-date { grid-row: auto; padding: 0 0 4px; }
  .cf-prose h2 { font-size: 26px; }
  .cf-memo-text { font-size: 17px; }
  .cf-foot-in { grid-template-columns: 1fr; gap: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
  .cf-hero-photo { transform: none; }
}
