/* Landfall landing page
   Two layouts share this sheet: .wide (1180px and up, the 1440 design, zoomed in steps)
   and .narrow (below 1180px, the phone design in a 760px column). Rules for the narrow
   layout are written as `.narrow X` overrides next to the wide rule they adjust. */

/* ---------- Tokens ---------- */
:root {
  --paper: #F2EEE5;
  --ink: #121110;
  --board: #0B0B0A;
  --amber: #FFB000;          /* flap characters and "your clinic" only */
  --red: #D93A2B;            /* "not mentioned" and errors only */

  --tan: #E3D9C4;            /* highlighter, bar tracks */
  --rule: #C9C3B7;           /* rules on paper */
  --muted: #57534C;          /* secondary text on paper */
  --placeholder: #6B665E;
  --dim: #A29E95;            /* secondary text on board */
  --dek: #D6D1C7;            /* deks on board */
  --fine: #8C887F;           /* small print on board */
  --flap: #1C1B18;
  --flap-low: #171613;
  --hinge: #050504;
  --line-1: #25231F;         /* rules on board */
  --line-2: #1F1E1B;
  --line-3: #3A3833;
  --tag: #6E6A63;

  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'Geist', 'Helvetica Neue', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --flap-font: 'Barlow Condensed', 'Arial Narrow', sans-serif;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--board); }
h1, h2, h3, p, figure, dl, dd, ol, ul { margin: 0; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
legend { padding: 0; }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 5px; }
a:hover { text-decoration-thickness: 2px; }
::selection { background: var(--ink); color: var(--paper); }
p, h1, h2, h3 { text-wrap: pretty; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.is-hidden { display: none !important; }

.lbl { font-family: var(--mono); font-size: 10.5px; line-height: 14px; letter-spacing: .1em; text-transform: uppercase; }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.small { font-size: 14px; line-height: 20px; color: var(--muted); }

/* ---------- Shell ---------- */
.page { width: 100%; overflow-x: clip; background: var(--board); color: var(--ink); font-family: var(--sans); font-variant-numeric: tabular-nums; }
.wide .band { width: 1440px; margin-inline: auto; padding: 0 72px; }
.narrow .band { width: 100%; max-width: 760px; margin-inline: auto; padding: 0 20px; }
.bleed-dark { background: var(--board); color: var(--paper); box-shadow: 0 0 0 100vmax var(--board); clip-path: inset(0 -100vmax); }
.bleed-paper { background: var(--paper); box-shadow: 0 0 0 100vmax var(--paper); clip-path: inset(0 -100vmax); }
.narrow { display: none; }
@media (max-width: 1179px) { .wide { display: none; } .narrow { display: block; } }
@media (min-width: 1180px) and (max-width: 1223px) { .wide .band { zoom: .81; } }
@media (min-width: 1224px) and (max-width: 1295px) { .wide .band { zoom: .85; } }
@media (min-width: 1296px) and (max-width: 1367px) { .wide .band { zoom: .9; } }
@media (min-width: 1368px) and (max-width: 1439px) { .wide .band { zoom: .95; } }
@media (min-width: 1680px) and (max-width: 1839px) { .wide .band { zoom: 1.15; } }
@media (min-width: 1840px) { .wide .band { zoom: 1.25; } }
@media (max-width: 719px) { .opt { display: none !important; } }
@media (min-width: 720px) { .ph { display: none !important; } }

/* Section rhythm */
.wide .masthead { padding-bottom: 30px; }
.wide .hero { padding-block: 18px 120px; }
.wide .answer { padding-bottom: 150px; }
.wide .countries { padding-bottom: 110px; }
.wide .report { padding-block: 48px 150px; }
.wide .errata { padding-bottom: 110px; }
.wide .how { padding-bottom: 110px; }
.wide .partners { padding-block: 48px 110px; }
.wide .site-foot { padding-bottom: 36px; }
.narrow .masthead { padding-bottom: 24px; }
.narrow .hero { padding-block: 16px 72px; }
.narrow .answer { padding-bottom: 96px; }
.narrow .countries { padding-bottom: 80px; }
.narrow .report { padding-block: 40px 96px; }
.narrow .errata { padding-bottom: 80px; }
.narrow .how { padding-bottom: 80px; }
.narrow .partners { padding-block: 40px 80px; }
.narrow .site-foot { padding-bottom: 28px; }

.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
.ruled { border-top: 1px solid var(--ink); padding-top: 14px; }
.bleed-dark .ruled { border-top-color: var(--line-3); }
.narrow .ruled { padding-top: 12px; }

.eyebrow { grid-column: 1 / 3; font-family: var(--mono); font-size: 11px; line-height: 16px; letter-spacing: .1em; text-transform: uppercase; }
.narrow .eyebrow { font-size: 10.5px; line-height: 14px; }
.bleed-dark .eyebrow { color: var(--dim); }
.display { margin-top: 28px; font-family: var(--serif); font-weight: 400; font-size: 88px; line-height: 88px; letter-spacing: -.01em; }
.narrow .display { font-size: clamp(40px, 11.8vw, 56px); line-height: 1em; }
.intro { margin-top: 24px; font-size: 19px; line-height: 28px; }
.narrow .intro { margin-top: 16px; max-width: 560px; font-size: 17px; line-height: 26px; }
.bleed-dark .intro { color: var(--dek); }
.source { line-height: 16px; }
.narrow .source { margin-top: 16px; max-width: 560px; font-size: 10px; line-height: 15px; }
.download { display: inline-block; margin-top: 10px; padding: 6px 0; color: var(--paper); text-decoration: underline; }
.rule { height: 1px; margin-top: 16px; background: var(--ink); }
.rule.light { margin-top: 14px; background: var(--rule); }
.narrow .rule { margin-top: 14px; }

/* ---------- Masthead ---------- */
.nav { height: 73px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line-1); }
.narrow .nav { height: 60px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--paper); text-decoration: none; }
.narrow .brand { gap: 10px; }
.wordmark { font-family: var(--serif); font-size: 31px; line-height: 34px; letter-spacing: -.01em; }
.narrow .wordmark { font-size: 27px; line-height: 32px; letter-spacing: normal; }
.nav-links { display: flex; align-items: center; gap: 36px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.nav-links a { color: var(--dim); text-decoration: none; }
.nav-links .current { color: var(--paper); text-decoration: underline; text-decoration-thickness: 1px; }
.nav .nav-cta { padding: 14px 0; color: var(--paper); text-decoration: underline; }

.board-title { margin-top: 23px; height: 34px; display: flex; align-items: flex-end; justify-content: space-between; }
.narrow .board-title { margin-top: 18px; height: 30px; align-items: center; }
.board-name { display: flex; align-items: baseline; gap: 18px; }
.departures { font-family: var(--serif); font-style: italic; font-size: 32px; line-height: 34px; }
.narrow .departures { font-size: 28px; line-height: 30px; }
.board-dek { font-size: 14px; color: var(--dim); }
.narrow .board-dek { margin-top: 4px; font-size: 13px; line-height: 18px; }
.board-meta { display: flex; align-items: center; gap: 20px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.tag { padding: 4px 8px; border: 1px solid var(--tag); color: var(--paper); }
.narrow .tag { padding: 3px 7px; font-size: 10px; }

/* ---------- Split-flap board ---------- */
.bline { display: grid; grid-template-columns: 152px 24px 407px 23px 169px 24px 271px 23px 203px; height: 28px; }
.s1 { grid-column: 1; } .s2 { grid-column: 3; } .s3 { grid-column: 5; } .s4 { grid-column: 7; } .s5 { grid-column: 9; }
.bhead { height: 14px; margin-top: 20px; }
.board { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.brow { display: flex; flex-direction: column; gap: 2px; padding-bottom: 9px; border-bottom: 1px solid var(--line-2); }
.bseg, .frow { display: flex; gap: 1px; }

/* One flap: static top (.t) and bottom (.b), plus the falling top (.ft) and landing bottom (.fb). */
.fl { position: relative; flex: none; display: block; width: 16px; height: 28px; perspective: 140px; }
.fl > b { position: absolute; left: 0; right: 0; height: 14px; overflow: hidden; display: flex; justify-content: center; font-family: var(--flap-font); font-weight: 600; font-size: 22px; line-height: 28px; color: var(--amber); background: var(--flap); backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.fl > .t, .fl > .ft { top: 0; align-items: flex-start; border-radius: 2px 2px 0 0; }
.fl > .b, .fl > .fb { top: 14px; align-items: flex-end; border-radius: 0 0 2px 2px; background: var(--flap-low); }
.fl > .ft { z-index: 2; transform-origin: 50% 100%; animation-duration: .1s; animation-timing-function: cubic-bezier(.55, 0, 1, .45); animation-fill-mode: both; }
.fl > .fb { z-index: 2; transform-origin: 50% 0; animation-duration: .26s; animation-delay: .1s; animation-timing-function: ease-out; animation-fill-mode: both; }
.fl.r > .ft { animation-duration: .045s; }
.fl.r > .fb { animation-duration: .06s; animation-delay: .045s; }
.fl::after { content: ''; position: absolute; left: 0; right: 0; top: 13px; height: 2px; background: var(--hinge); z-index: 3; }
.fl > b.y { background: var(--amber); color: var(--ink); }
.fl > b.n { background: var(--red); color: var(--paper); font-weight: 700; }
.fx { width: 30px; height: 48px; perspective: 240px; }
.fx > b { height: 24px; font-size: 38px; line-height: 48px; }
.fx > .b, .fx > .fb { top: 24px; }
.fx::after { top: 23px; }
@keyframes fa { from { transform: rotateX(0deg); } to { transform: rotateX(-90deg); } }
@keyframes fb { from { transform: rotateX(0deg); } to { transform: rotateX(-90deg); } }
@keyframes la { 0% { transform: rotateX(90deg); } 62% { transform: rotateX(-9deg); } 84% { transform: rotateX(3deg); } 100% { transform: rotateX(0deg); } }
@keyframes lb { 0% { transform: rotateX(90deg); } 62% { transform: rotateX(-9deg); } 84% { transform: rotateX(3deg); } 100% { transform: rotateX(0deg); } }
.logo { position: relative; flex: none; width: 24px; height: 34px; border-radius: 2px; background: var(--flap); display: flex; align-items: center; justify-content: center; font-family: var(--flap-font); font-weight: 700; font-size: 27px; line-height: 34px; color: var(--amber); }
.logo::after { content: ''; position: absolute; left: 0; right: 0; top: 16px; height: 2px; background: var(--hinge); }

/* Narrow board: flap size follows each entry's width, capped at 16px */
.entries { margin-top: 16px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); gap: 14px 24px; }
.ent { container-type: inline-size; --mc: min(16px, calc((100cqw - 19px) / 20)); display: flex; flex-direction: column; padding-bottom: 14px; border-bottom: 1px solid var(--line-2); }
.narrow .ent .fl { width: var(--mc); height: calc(var(--mc) * 1.75); }
.narrow .ent .fl > b { height: calc(var(--mc) * .875); font-size: calc(var(--mc) * 1.375); line-height: calc(var(--mc) * 1.75); }
.narrow .ent .fl > .b, .narrow .ent .fl > .fb { top: calc(var(--mc) * .875); }
.narrow .ent .fl::after { top: calc(var(--mc) * .8125); }
.ent-head { height: 16px; display: flex; align-items: center; justify-content: space-between; font-size: 10px; color: var(--paper); }
.ent-q { margin-top: 8px; display: flex; flex-direction: column; gap: 2px; }
.ent-to { margin-top: 8px; display: flex; align-items: center; gap: 8px; }
.ent-sent { flex: none; width: 44px; font-size: 9.5px; line-height: 12px; }
.ent-tail { margin: 6px 0 0 52px; font-size: 10px; }
.fcont { container-type: inline-size; --fc: min(19px, calc((100cqw - 15px) / 16)); }
.narrow .fm { width: var(--fc); height: calc(var(--fc) * 1.684); perspective: 180px; }
.narrow .fm > b { height: calc(var(--fc) * .842); font-size: calc(var(--fc) * 1.368); line-height: calc(var(--fc) * 1.684); }
.narrow .fm > .b, .narrow .fm > .fb { top: calc(var(--fc) * .842); }
.narrow .fm::after { top: calc(var(--fc) * .79); }
.fs { width: 13px; height: 22px; perspective: 110px; }
.fs > b { height: 11px; font-size: 17px; line-height: 22px; }
.fs > .b { top: 11px; }
.fs::after { top: 10px; height: 1.5px; }
.narrow .logo { width: 22px; height: 32px; font-size: 25px; line-height: 32px; }
.narrow .logo::after { top: 15px; }

/* ---------- Hero ---------- */
.legend { grid-column: 1 / 13; display: flex; align-items: center; gap: 14px; font-size: 13px; line-height: 18px; }
.fig { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.narrow .fig { font-size: 10px; }
.key { display: flex; align-items: center; gap: 6px; }
.key::before { content: ''; width: 10px; height: 14px; background: var(--amber); box-shadow: 0 0 0 1px var(--ink); }
.key.no::before { background: var(--red); box-shadow: none; }
.narrow .key::before { width: 9px; height: 13px; }
.fig-note { font-size: 12px; line-height: 17px; }
.keys { margin-top: 6px; display: flex; gap: 16px; font-size: 12px; line-height: 16px; }
h1 { grid-column: 1 / 9; margin-top: 56px; font-family: var(--serif); font-weight: 400; font-size: 138px; line-height: 124px; letter-spacing: -.015em; }
.narrow h1 { margin-top: 36px; font-size: clamp(40px, calc((min(100vw, 760px) - 40px) / 6.48), 92px); line-height: .963em; }
.hero-aside { grid-column: 9 / 13; align-self: end; padding-bottom: 12px; display: flex; flex-direction: column; gap: 28px; }
.hero-aside .intro { margin: 0; }
.actions { display: flex; align-items: center; gap: 24px; }
.more { font-size: 16px; }
.wide .more { text-decoration: underline; }
.narrow .more { display: inline-block; margin-top: 16px; line-height: 24px; }

/* ---------- 01 · The answer ---------- */
.proof { --crop-off: -34px; --crop: 22px; position: relative; margin-top: 64px; padding: 44px 48px 44px 96px; }
.narrow .proof { --crop-off: -14px; --crop: 10px; max-width: 620px; margin-top: 44px; padding: 26px 18px 28px 30px; }
.crop { position: absolute; background: var(--ink); }
.crop.h { width: var(--crop); height: 1px; }
.crop.v { width: 1px; height: var(--crop); }
.crop.h.tl, .crop.h.bl { left: var(--crop-off); }
.crop.h.tr, .crop.h.br { right: var(--crop-off); }
.crop.v.tl, .crop.v.bl { left: 0; }
.crop.v.tr, .crop.v.br { right: 0; }
.crop.h.tl, .crop.h.tr { top: 0; }
.crop.h.bl, .crop.h.br { bottom: 0; }
.crop.v.tl, .crop.v.tr { top: var(--crop-off); }
.crop.v.bl, .crop.v.br { bottom: var(--crop-off); }
.proof figcaption { display: flex; justify-content: space-between; padding-bottom: 12px; border-bottom: 1px solid var(--rule); }
.narrow .proof figcaption { display: block; padding-bottom: 10px; font-size: 9.5px; }
.quote { margin-top: 28px; font-family: var(--serif); font-style: italic; font-size: 38px; line-height: 44px; }
.narrow .quote { margin-top: 18px; font-size: 28px; line-height: 32px; }
.answer-text { position: relative; margin-top: 22px; font-size: 20px; line-height: 36px; }
.colophon { position: absolute; left: 0; bottom: -58px; font-size: 9.5px; }
.narrow .colophon { bottom: -40px; font-size: 9px; }

/* The marked-up answer: numbered lines, highlighter, citations, leader lines to margin notes */
.ln { position: relative; height: 36px; display: flex; align-items: center; white-space: nowrap; }
.li { flex: none; width: 34px; font-variant-numeric: tabular-nums; }
.lno { position: absolute; left: -60px; width: 28px; text-align: right; font-family: var(--mono); font-size: 10px; color: var(--muted); }
.mk { margin-right: -64px; }
.lead { position: relative; flex: 1; height: 1px; margin-left: 12px; background: var(--ink); }
.lead::after { content: ''; position: absolute; right: -2px; top: -2px; width: 5px; height: 5px; border-radius: 50%; background: inherit; }
.note { position: absolute; left: calc(100% + 10px); top: 7px; width: 296px; display: flex; gap: 10px; white-space: normal; font-size: 14px; line-height: 20px; color: var(--ink); }
.cnum { flex: none; width: 24px; height: 20px; border: 1.25px solid var(--ink); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 10.5px; transform: rotate(-8deg); }
.hl { position: relative; z-index: 0; font-weight: 600; }
.hl::before { content: ''; position: absolute; left: -5px; right: -5px; top: 6px; bottom: 4px; z-index: -1; background: var(--tan); border-radius: 2px; transform: skewX(-12deg) rotate(-.7deg); }
.cite { position: relative; flex: none; width: 28px; height: 22px; margin-left: 8px; padding: 0; border: 1.25px solid var(--ink); border-radius: 50%; background: transparent; display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 11px; font-weight: 500; color: var(--ink); cursor: pointer; transform: rotate(-8deg); }
.cite:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.card { position: absolute; left: 50%; bottom: calc(100% + 14px); width: 272px; padding: 12px 14px 13px; background: var(--paper); border: 1px solid var(--ink); display: flex; flex-direction: column; gap: 5px; text-align: left; white-space: normal; opacity: 0; pointer-events: none; transform: translate(-50%, 6px) rotate(8deg); transition: opacity .14s ease, transform .14s ease; z-index: 20; }
.card::after { content: ''; position: absolute; left: 50%; bottom: -6px; width: 10px; height: 10px; margin-left: -5px; background: var(--paper); border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); transform: rotate(45deg); }
.cite:hover .card, .cite:focus-visible .card { opacity: 1; transform: translate(-50%, 0) rotate(8deg); }
.ck { font-family: var(--mono); font-size: 10px; line-height: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ct { font-family: var(--sans); font-size: 14px; line-height: 19px; font-weight: 600; color: var(--ink); }
.cu { font-family: var(--mono); font-size: 10.5px; line-height: 14px; color: var(--ink); }
.mnote { position: relative; margin: 8px 0 0; padding: 0 0 0 12px; display: flex; gap: 8px; border-left: 1px solid var(--ink); font-size: 13px; line-height: 19px; }
.narrow .cite { display: inline-flex; vertical-align: middle; width: 26px; height: 21px; margin-left: 6px; font-size: 10.5px; }
.narrow .card { left: auto; right: -14px; bottom: calc(100% + 12px); width: 236px; padding: 11px 12px 12px; gap: 4px; transform: translateY(6px) rotate(8deg); }
.narrow .card::after { left: auto; right: 18px; margin-left: 0; }
.narrow .cite:hover .card, .narrow .cite:focus .card { opacity: 1; transform: rotate(8deg); }
.narrow .ck { font-size: 9.5px; line-height: 13px; }
.narrow .ct { font-size: 13px; line-height: 18px; }
.narrow .cu { font-size: 10px; line-height: 13px; }
.narrow .cnum { width: 22px; height: 19px; font-size: 10px; }
.narrow .hl::before { left: -4px; right: -4px; top: 4px; bottom: 3px; }

/* Line 4: where your clinic should have been */
.ln.missing { height: 58px; }
.ln.missing .li { position: relative; align-self: stretch; }
.ln.missing .lead { background: var(--red); }
.ln.missing .note { top: 13px; }
.caret { position: absolute; left: 30px; top: 42px; overflow: visible; fill: none; stroke: var(--red); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.narrow .caret { left: 2px; top: 28px; }
.miss-n { font-family: var(--serif); font-style: italic; font-size: 28px; line-height: 30px; color: var(--red); }
.narrow .miss-n { font-size: 24px; line-height: 28px; }
.blank { flex: none; width: 190px; height: 2px; margin-left: 12px; margin-top: 14px; border-bottom: 2px dotted var(--red); }
.narrow .blank { display: block; width: 150px; height: 16px; margin: 0; }
.miss-note { font-family: var(--serif); font-style: italic; font-size: 26px; line-height: 30px; color: var(--red); }
.narrow .miss-note { font-size: 22px; line-height: 26px; }

/* Narrow answer */
.answer-p { margin-top: 14px; font-size: 16px; line-height: 28px; }
.answer-list { margin-top: 12px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; font-size: 16px; line-height: 28px; }
.answer-list li { display: grid; grid-template-columns: 28px minmax(0, 1fr); }
.answer-list .missing { position: relative; color: var(--red); }
.answer-list .missing .mnote { margin-top: 12px; border-left-color: var(--red); }

/* ---------- 02 · Six countries ---------- */
.cx { position: relative; grid-column: 1 / 13; height: 500px; margin-top: 64px; }
.narrow .cx { width: 1060px; height: 440px; margin-top: 0; }
.routes { position: absolute; left: 0; top: 0; overflow: visible; }
.routes .floor { stroke: var(--red); stroke-width: 1; stroke-dasharray: 2 5; }
.routes .other { fill: none; stroke: var(--ink); stroke-opacity: .45; stroke-width: 1.25; }
.routes .node { fill: var(--paper); stroke: var(--ink); stroke-opacity: .7; stroke-width: 1.25; }
.routes .casing { fill: none; stroke: var(--ink); stroke-width: 6.5; stroke-linejoin: round; }
.routes .you { fill: none; stroke: var(--amber); stroke-width: 3.5; stroke-linejoin: round; }
.routes .miss { fill: var(--paper); stroke: var(--red); stroke-width: 2; }
.routes .miss-x { stroke: var(--red); stroke-width: 1.75; stroke-linecap: round; }
.ch { position: absolute; top: 0; width: 196px; display: flex; flex-direction: column; gap: 8px; }
.ch::after { content: ''; position: absolute; left: 0; right: 0; top: 92px; height: 1px; background: var(--ink); }
.cc { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; line-height: 16px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.lc { padding: 0 5px; border: 1px solid var(--ink); font-size: 10px; line-height: 14px; }
.cq { font-family: var(--serif); font-style: italic; font-size: 19px; line-height: 22px; white-space: nowrap; color: var(--ink); }
.sl { position: absolute; display: flex; gap: 6px; white-space: nowrap; }
.rk { width: 12px; font-family: var(--mono); font-size: 11px; line-height: 18px; color: var(--muted); }
.nm { display: flex; flex-direction: column; }
.cn { font-size: 14px; line-height: 18px; font-weight: 500; color: var(--ink); }
.st { font-family: var(--mono); font-size: 10px; line-height: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.sy { position: absolute; display: flex; flex-direction: column; gap: 3px; white-space: nowrap; }
.sy .st { padding-left: 6px; }
.yc { display: flex; align-items: center; gap: 7px; height: 20px; padding: 0 8px 0 6px; background: var(--amber); box-shadow: 0 0 0 1.5px var(--ink); font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.chart-key { position: absolute; left: 0; top: 458px; display: flex; align-items: center; gap: 8px; }
.verdict { position: absolute; right: 0; top: 456px; font-family: var(--serif); font-style: italic; font-size: 26px; line-height: 30px; }
.narrow .ch { width: 160px; }
.narrow .ch::after { top: 80px; }
.narrow .cc { font-size: 10.5px; }
.narrow .lc { font-size: 9.5px; }
.narrow .cq { font-size: 16px; line-height: 19px; }
.narrow .rk { font-size: 10.5px; }
.narrow .cn { font-size: 13px; }
.narrow .st { font-size: 9.5px; }
.narrow .yc { font-size: 10.5px; }
.narrow .chart-key { position: static; margin-top: 22px; align-items: flex-start; gap: 10px; font-size: 12px; line-height: 16px; }
.narrow .chart-key svg { flex: none; margin-top: 1px; }
.narrow .chart-key .lbl { font-size: 10px; }
.narrow .verdict { position: static; margin-top: 16px; font-size: 24px; line-height: 28px; }

/* Phone: the chart scrolls sideways, one country column at a time */
.strip { margin: 32px -20px 0; padding: 0 20px 14px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-padding-left: 20px; -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: var(--ink) var(--tan); }
.strip:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.snap { position: absolute; top: 0; width: 1px; height: 1px; scroll-snap-align: start; }
.strip-foot { margin-top: 12px; display: flex; align-items: center; justify-content: space-between; }
.swipe { display: flex; align-items: center; gap: 8px; }
.pager { display: flex; align-items: center; gap: 4px; }
.pip { width: 14px; height: 3px; background: var(--rule); }
.pip.on { background: var(--ink); }
.pager-text { margin-left: 8px; font-size: 10px; }

/* ---------- 03 · The report ---------- */
.ticket { position: relative; width: 1224px; height: 545px; margin: 80px 0 0 36px; display: flex; transform: rotate(-1deg); color: var(--ink); }
.narrow .ticket { width: auto; height: auto; max-width: 600px; margin: 40px 0 0; flex-direction: column; transform: rotate(-.8deg); }
.ticket-main { flex: none; width: 900px; padding: 28px 36px 24px; display: flex; flex-direction: column; background: var(--paper); border-radius: 12px 0 0 12px; }
.narrow .ticket-main { width: auto; padding: 22px 22px 20px; border-radius: 12px 12px 0 0; }
.ticket-head { height: 34px; display: flex; align-items: center; justify-content: space-between; }
.narrow .ticket-head { height: auto; align-items: baseline; }
.ticket-brand { display: flex; align-items: baseline; gap: 14px; }
.ticket-name { font-family: var(--serif); font-size: 30px; line-height: 34px; }
.narrow .ticket-name { font-size: 27px; line-height: 30px; }
.ticket-kind { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.narrow .ticket-kind { font-size: 10px; }
.ticket-meta { display: flex; align-items: center; gap: 14px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.narrow .ticket-meta { margin-top: 8px; gap: 10px; font-size: 10px; }
.ticket-tag { padding: 3px 7px; border: 1px solid var(--ink); }
.narrow .ticket-tag { padding: 2px 6px; }
.facts { margin-top: 14px; display: flex; gap: 44px; }
.narrow .facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 14px; }
.facts dt { font-family: var(--mono); font-size: 10px; line-height: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.narrow .facts dt { font-size: 9.5px; }
.facts dd { margin-top: 4px; font-size: 17px; line-height: 22px; font-weight: 500; }
.narrow .facts dd { font-size: 16px; line-height: 21px; }
.ticket-cols { margin-top: 18px; display: grid; grid-template-columns: 260px 214px minmax(0, 1fr); column-gap: 34px; }
.col-title { margin-bottom: 12px; font-family: var(--mono); font-size: 10px; line-height: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.narrow .col-title { margin: 22px 0 10px; font-size: 9.5px; }
.bars { display: grid; grid-template-columns: 26px minmax(0, 1fr) 40px 30px; align-items: center; column-gap: 10px; row-gap: 9px; font-family: var(--mono); font-size: 12px; line-height: 18px; }
.narrow .bars { grid-template-columns: 24px minmax(0, 1fr) 38px 28px; }
.bar { height: 10px; background: var(--tan); }
.bar > span { display: block; height: 10px; background: var(--amber); box-shadow: inset 0 0 0 1px var(--ink); }
.num { text-align: right; }
.delta { font-size: 11px; color: var(--muted); }
.ranked { padding: 0; list-style: none; display: flex; flex-direction: column; gap: 9px; font-size: 14px; line-height: 18px; }
.ranked li { display: grid; grid-template-columns: 16px minmax(0, 1fr) auto; column-gap: 8px; }
.rank { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.narrow .rank { font-size: 10.5px; line-height: 18px; }
.pct { font-family: var(--mono); font-size: 12px; }
.own { display: flex; align-items: center; gap: 7px; }
.own > span { width: 8px; height: 8px; background: var(--amber); box-shadow: 0 0 0 1px var(--ink); }
.changes { padding: 0; list-style: none; display: flex; flex-direction: column; gap: 11px; }
.changes li { display: grid; grid-template-columns: 16px minmax(0, 1fr); column-gap: 6px; }
.sign { font-family: var(--mono); font-size: 14px; line-height: 18px; font-weight: 500; }
.lost { margin-top: 4px; width: 10px; height: 10px; background: var(--red); }
.change { display: flex; flex-direction: column; }
.where { font-size: 14px; line-height: 18px; font-weight: 500; }
.lost + .change .where { text-decoration: line-through; text-decoration-color: var(--red); text-decoration-thickness: 2px; }
.what { font-size: 13px; line-height: 17px; color: var(--muted); }
.ticket-changes { margin-top: 26px; }
.ticket-changes .changes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 34px; }
.ticket-foot { margin-top: auto; font-family: var(--mono); font-size: 9.5px; line-height: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.narrow .ticket-foot { margin-top: 18px; font-size: 9px; line-height: 13px; letter-spacing: .1em; }

/* Perforation between the report and its stub */
.perf { position: relative; flex: none; width: 0; }
.perf::before, .perf::after { content: ''; position: absolute; left: -15px; width: 30px; height: 30px; border-radius: 50%; background: var(--board); }
.perf::before { top: -15px; }
.perf::after { bottom: -15px; }
.perf > span { position: absolute; left: -1px; top: 24px; bottom: 24px; border-left: 2px dotted var(--ink); opacity: .55; }
.narrow .perf { width: auto; height: 0; }
.narrow .perf::before, .narrow .perf::after { top: -14px; bottom: auto; width: 28px; height: 28px; }
.narrow .perf::before { left: -14px; }
.narrow .perf::after { left: auto; right: -14px; }
.narrow .perf > span { left: 22px; right: 22px; top: -1px; bottom: auto; border-left: 0; border-top: 2px dotted var(--ink); }

.stub { flex: none; width: 324px; padding: 28px 30px 24px; display: flex; flex-direction: column; background: var(--amber); border-radius: 0 12px 12px 0; }
.narrow .stub { width: auto; padding: 22px 22px 20px; border-radius: 0 0 12px 12px; }
.stub-head { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; line-height: 14px; letter-spacing: .1em; text-transform: uppercase; }
.narrow .stub-head { font-size: 10.5px; }
.stub-dek { margin-top: 44px; font-size: 17px; line-height: 22px; }
.narrow .stub-dek { margin-top: 22px; font-size: 16px; line-height: 20px; }
.stub-num { margin-top: 6px; font-family: var(--serif); font-size: 156px; line-height: 124px; letter-spacing: -.02em; }
.narrow .stub-num { margin-top: 4px; font-size: 120px; line-height: 100px; }
.stub-of { margin-top: 12px; font-size: 17px; line-height: 22px; }
.narrow .stub-of { margin-top: 10px; font-size: 16px; }
.stub-delta { font-family: var(--mono); font-size: 15px; font-weight: 500; }
.narrow .stub-delta { font-size: 14px; }
.stub-foot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--ink); font-family: var(--mono); font-size: 10.5px; line-height: 16px; letter-spacing: .1em; text-transform: uppercase; }
.narrow .stub-foot { margin-top: 22px; font-size: 10px; }

/* ---------- 04 · Errata ---------- */
.errata-board { grid-column: 1 / 13; position: relative; height: 600px; margin-top: 56px; }
.errata-list { max-width: 560px; margin-top: 48px; display: flex; flex-direction: column; gap: 40px; }
.erratum { position: absolute; padding: 26px 28px 22px; background: var(--paper); border: 1px solid var(--red); outline: 1px solid var(--red); outline-offset: 4px; }
.erratum::before { content: ''; position: absolute; left: 50%; top: -3px; width: 34px; height: 5px; margin-left: -17px; border-radius: 1px; background: var(--ink); }
.narrow .erratum { position: relative; margin: 0 6px; padding: 22px 20px 18px; }
.narrow .erratum::before { width: 30px; margin-left: -15px; }
.erratum-head { display: flex; align-items: baseline; justify-content: space-between; }
.erratum h3 { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 34px; line-height: 34px; color: var(--red); }
.narrow .erratum h3 { font-size: 30px; line-height: 30px; }
.erratum-ref { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.narrow .erratum-ref { font-size: 9.5px; }
.erratum .rule { margin-top: 12px; background: var(--red); }
.narrow .erratum .rule { margin-top: 10px; }
.erratum-text { margin-top: 14px; font-family: var(--serif); font-size: 30px; line-height: 36px; color: var(--red); }
.narrow .erratum-text { margin-top: 12px; font-size: 24px; line-height: 30px; }
.erratum s { text-decoration-thickness: 2px; }
.erratum-foot { margin-top: 16px; display: flex; justify-content: space-between; gap: 12px; font-family: var(--mono); font-size: 10.5px; line-height: 16px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.narrow .erratum-foot { display: block; margin-top: 14px; font-size: 9.5px; line-height: 15px; letter-spacing: .1em; }

/* ---------- 05 · The route ---------- */
.route { grid-column: 1 / 13; position: relative; height: 480px; margin-top: 72px; }
.route-map { position: absolute; left: 0; top: 0; overflow: visible; }
.route-mark { position: absolute; }
.route-tag { padding: 0 6px; background: var(--paper); }
.wide .stop { position: absolute; top: 266px; width: 290px; }
.stop h3 { margin-top: 10px; font-size: 21px; line-height: 27px; font-weight: 500; }
.stop h3 + p { margin-top: 10px; font-size: 16px; line-height: 24px; color: var(--muted); }

.narrow .route { height: auto; max-width: 560px; margin-top: 40px; }
.route-stops, .route-loop { position: relative; display: flex; flex-direction: column; gap: 36px; }
.route-line { position: absolute; left: 23px; top: 12px; bottom: -48px; border-left: 2px dashed var(--ink); }
.loop-line { position: absolute; left: 0; top: 12px; bottom: -48px; width: 16px; border: 1.5px dotted var(--ink); border-right: 0; }
.loop-arrow { position: absolute; left: 10px; top: 7px; }
.loop-label { position: absolute; left: -2px; top: 50%; padding: 4px 0; background: var(--paper); font-size: 9px; writing-mode: vertical-rl; transform: translateY(-50%) rotate(180deg); }
.narrow .stop { position: relative; padding-left: 56px; }
.narrow .stop::before { content: ''; box-sizing: border-box; position: absolute; left: 15px; top: 3px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--ink); background: var(--paper); }
.narrow .stop h3 { margin-top: 6px; font-size: 19px; line-height: 25px; }
.narrow .stop h3 + p { margin-top: 8px; font-size: 15px; line-height: 22px; }
.arrival { margin-top: 36px; }
.narrow .arrival::before { left: 12px; top: 0; width: 24px; height: 24px; border: 0; background: var(--ink); }
.narrow .arrival::after { content: ''; position: absolute; left: 20px; top: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--paper); }

/* ---------- 06 · Design partners ---------- */
.pitch { grid-column: 1 / 7; grid-row: 2; margin-top: 28px; display: flex; flex-direction: column; justify-content: space-between; }
.places-title { margin-bottom: 12px; }
.narrow .places-title { margin: 28px 0 10px; font-size: 10px; }
.places { display: flex; gap: 10px; }
.narrow .places { flex-wrap: wrap; gap: 6px; }

/* Landing card: the form, and the confirmation that replaces it */
.landing { grid-column: 7 / 13; grid-row: 2; margin-top: 28px; padding: 30px 36px 32px; display: flex; flex-direction: column; background: var(--paper); color: var(--ink); }
.narrow .landing { max-width: 600px; margin-top: 36px; padding: 22px 20px 24px; }
.cleared { padding-bottom: 40px; }
.narrow .cleared { padding-bottom: 28px; }
.cleared:focus { outline: none; }
.landing-head { display: flex; align-items: baseline; justify-content: space-between; }
.landing-title { font-family: var(--serif); font-style: italic; font-size: 34px; line-height: 36px; }
.narrow .landing-title { font-size: 30px; line-height: 32px; }
.landing-kicker { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.narrow .landing-kicker { margin-top: 4px; font-size: 9.5px; }
.cleared-title { margin-top: 40px; font-family: var(--serif); font-size: 72px; line-height: 72px; letter-spacing: -.01em; }
.narrow .cleared-title { margin-top: 28px; font-size: 44px; line-height: 46px; }
.cleared-line { margin-top: 20px; max-width: 560px; font-size: 18px; line-height: 27px; }
.narrow .cleared-line { margin-top: 16px; font-size: 16px; line-height: 24px; }
.cleared-board { margin-top: 32px; align-self: flex-start; padding: 12px 14px; background: var(--board); display: flex; gap: 1px; }
.narrow .cleared-board { margin-top: 24px; padding: 10px 12px; }
.cleared .linkbtn { margin-top: 32px; align-self: flex-start; }
.narrow .cleared .linkbtn { margin-top: 24px; }

.field { margin-top: 22px; display: flex; flex-direction: column; gap: 8px; }
.group { margin-top: 22px; }
.narrow .field, .narrow .group { margin-top: 20px; }
.lab { display: flex; gap: 10px; }
.ticks { margin-top: 10px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px 16px; }
.narrow .ticks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 12px; }
.chip-count { margin: 4px 0 0 28px; font-size: 9.5px; }
.chips { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 8px; }
.landing-note { margin-top: 14px; }
.narrow .landing-note { margin-top: 12px; }

.fld { width: 100%; height: 48px; padding: 0 14px; border: 1px solid var(--ink); border-radius: 0; background: var(--paper); font-family: var(--sans); font-size: 16px; color: var(--ink); }
.fld::placeholder { color: var(--placeholder); }
.fld:focus { outline: 2px solid var(--ink); outline-offset: 2px; }
.fld.bad { border: 2px solid var(--red); }
.err { margin: 8px 0 0; display: flex; align-items: center; gap: 8px; font-size: 13px; line-height: 18px; color: var(--ink); }
.err::before { content: ''; flex: none; width: 8px; height: 8px; background: var(--red); }
.tk { display: flex; align-items: center; gap: 10px; min-height: 32px; font-size: 15px; cursor: pointer; }
.chk { appearance: none; -webkit-appearance: none; flex: none; width: 20px; height: 20px; margin: 0; border: 1.5px solid var(--ink); border-radius: 0; background: var(--paper); display: grid; place-content: center; cursor: pointer; }
.chk:checked { background: var(--ink); }
.chk:checked::after { content: ''; width: 10px; height: 5px; border-left: 2px solid var(--paper); border-bottom: 2px solid var(--paper); transform: translateY(-1px) rotate(-45deg); }
.chk:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.chip { height: 36px; padding: 0 14px; border: 1px solid var(--ink); border-radius: 0; background: transparent; color: var(--ink); font-family: var(--sans); font-size: 14px; cursor: pointer; }
.chip.on { background: var(--ink); color: var(--paper); }
.chip:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: 56px; padding: 0 20px; border: 0; border-radius: 0; background: var(--ink); color: var(--paper); font-family: var(--sans); font-size: 16px; font-weight: 500; text-decoration: none; cursor: pointer; }
.btn:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.btn:disabled { cursor: progress; }
.narrow .btn { display: flex; width: 100%; max-width: 440px; height: 54px; }
.submit { margin-top: 28px; width: 100%; height: 58px; font-size: 17px; }
.narrow .submit { margin-top: 24px; max-width: none; height: 56px; font-size: 16px; }
.linkbtn { padding: 0; border: 0; background: none; font-family: var(--sans); font-size: 16px; color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; cursor: pointer; }
.linkbtn:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* ---------- Footer ---------- */
.foot-inner { border-top: 1px solid var(--line-1); padding-top: 40px; }
.narrow .foot-inner { padding-top: 32px; }
.foot-board { display: flex; gap: 2px; }
.narrow .foot-board { flex-direction: column; gap: 3px; }
.foot-meta { margin-top: 36px; display: flex; align-items: center; justify-content: space-between; font-family: var(--mono); font-size: 10.5px; line-height: 16px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.narrow .foot-meta { margin-top: 28px; flex-direction: column; align-items: normal; justify-content: normal; gap: 10px; font-size: 10px; line-height: 14px; }
.foot-links { display: flex; gap: 28px; }
.narrow .foot-links { gap: 20px; }
.foot-links a { color: var(--dim); }
.foot-links .current { color: var(--paper); }
.disclaimer { margin-top: 14px; max-width: 860px; font-size: 12px; line-height: 18px; color: var(--fine); }
.narrow .disclaimer { max-width: 560px; font-size: 11.5px; line-height: 17px; }

/* ---------- Motion ---------- */
/* Scroll-linked reveals. Without support, everything shows in its final state. */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .proof { view-timeline: --proof block; }
    .hl::before { animation: sweep linear both; animation-timeline: --proof; animation-range: cover 20% cover 32%; }
    .hl.h2::before { animation-range: cover 25% cover 37%; }
    .hl.h3::before { animation-range: cover 30% cover 42%; }
    .cx { view-timeline: --chart block; }
    .draw { stroke-dasharray: 1 1; animation: draw linear both; animation-timeline: --chart; animation-range: cover 12% cover 40%; }
    .draw-you { animation-range: cover 32% cover 52%; }
  }
}
@keyframes sweep { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fl > b { animation: none !important; }
  .card { transition: none; transform: translate(-50%, 0) rotate(8deg); }
  .narrow .card { transform: rotate(8deg); }
}
