/* Captured Economy. The look is the cover's: off-white ground, near-black condensed capitals, the title's gold
   kept for the money trail, the underline and the reader's buttons, and the bank's stone for the calm ground. */

@font-face { font-family: Antonio; src: url(/assets/fonts/antonio.woff2) format('woff2'); font-weight: 100 700; font-display: swap; }
@font-face { font-family: Montserrat; src: url(/assets/fonts/montserrat.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Source Serif 4'; src: url(/assets/fonts/source-serif.woff2) format('woff2'); font-weight: 200 900; font-display: swap; }
@font-face { font-family: 'Source Serif 4'; src: url(/assets/fonts/source-serif-italic.woff2) format('woff2'); font-weight: 200 900; font-style: italic; font-display: swap; }

:root {
	--ground: #F7F7F7;
	--ink: #282828;
	--gold: #F3BB4E;
	--gold-deep: #C98F1C;
	--stone: #D8CBBB;
	--stone-pale: #EAE3DA;
	--stone-ink: #42352C;
	--grey: #6B6660;
	--rule: #2828281f;
	--display: Antonio, 'Arial Narrow', sans-serif;
	--sans: Montserrat, system-ui, sans-serif;
	--serif: 'Source Serif 4', Georgia, serif;
	--pad: clamp(20px, 5vw, 72px);
	--bar: 60px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--bar) + 12px); -webkit-text-size-adjust: 100%; }
html.still { scroll-behavior: auto; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 1.125rem/1.6 var(--serif); overflow-x: clip; }
img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; font-weight: 700; }
p { margin: 0; }
a { color: inherit; }
cite { font-style: italic; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Placeholders look like placeholders: a grey dashed tag in the page's own type. */
.ph-tag {
	display: inline-block; padding: 0.15em 0.55em; border: 1px dashed #8b857e; border-radius: 3px;
	font: 600 0.68rem/1.4 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: #5f5a54; background: #ffffff8c;
	font-style: normal; vertical-align: 0.15em;
}
.ph { color: #6f6a64; }
.ph .ph-tag { margin-right: 0.45em; }

/* Buttons. Gold is the reader's colour: only actions and the trail use it. */
.btn {
	display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0.8rem 1.5rem;
	font: 700 0.82rem/1 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none;
	border: 2px solid var(--ink); border-radius: 2px; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--ink); }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--ground); }
.btn-sm { min-height: 38px; padding: 0.5rem 0.95rem; font-size: 0.72rem; }
.btn-lg { min-height: 58px; padding: 1rem 2rem; font-size: 0.9rem; }
.btn:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible { outline: 3px solid var(--gold-deep); outline-offset: 3px; }

/* Top bar */
.bar {
	position: sticky; top: 0; z-index: 30; height: var(--bar); display: flex; align-items: center; justify-content: space-between;
	padding: 0 var(--pad); background: #f7f7f7e6; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--rule);
}
.skip { position: absolute; left: 12px; top: -60px; z-index: 40; padding: 0.6rem 1rem; background: var(--ink); color: var(--ground); font: 700 0.8rem var(--sans); }
.skip:focus { top: 10px; }
.mark { font: 700 1.3rem/1 var(--display); letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none; }
.mark-gold { color: var(--gold-deep); }
.bar-nav { display: flex; align-items: center; gap: 1.4rem; }
.bar-link { font: 600 0.74rem/1 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; color: var(--grey); }
.bar-link:hover { color: var(--ink); }

/* The gold underline the coin draws. */
.key { position: relative; white-space: nowrap; }
.ul { position: absolute; left: 0; right: 0; bottom: -0.06em; height: 0.09em; min-height: 5px; background: var(--gold); transform-origin: left; transform: scaleX(var(--ul, 1)); border-radius: 2px; }
.js:not(.still) .hero .key, .js:not(.still) .buy .key { --ul: 0; }

.coin { position: absolute; left: 0; top: 0; width: 30px; height: 30px; pointer-events: none; z-index: 6; opacity: 0; will-change: transform; filter: drop-shadow(0 3px 3px #4a36122e); }

/* 1. The promise */
.hero {
	position: relative; min-height: calc(100svh - var(--bar)); display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	align-items: center; gap: clamp(20px, 4vw, 70px); padding: clamp(24px, 4vh, 48px) var(--pad) clamp(30px, 5vh, 56px);
	isolation: isolate; background: var(--ground); overflow-x: clip;
}
/* The book stands in front of the cover's rubble, which runs under it from the left edge. */
.hero-book { position: relative; z-index: 2; margin: 0; height: min(70vh, 640px); width: 100%; justify-self: center; align-self: end; }
.hero-book > img, .buy-book > img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 22px 24px #3a2f262e); }
.hero-book canvas, .buy-book canvas { filter: drop-shadow(0 26px 26px #3a2f2633); }
.hero-copy { position: relative; z-index: 3; max-width: 720px; }
.headline { font: 700 clamp(3rem, 5.6vw, 5.8rem)/0.98 var(--display); text-transform: uppercase; letter-spacing: 0.005em; }
.hl-line { display: block; }
/* Room under the first line for the coin to roll along its underline without crossing the letters. */
.headline .hl-line:first-child { margin-bottom: 0.36em; }
.headline .ul { bottom: -0.3em; }
.dek { margin-top: 0.8rem; font: 500 clamp(1.25rem, 2.1vw, 1.75rem)/1.3 var(--serif); }
.byline { margin-top: 1.4rem; font: 500 0.92rem/1.6 var(--sans); max-width: 34em; }
.byline cite { font-weight: 700; }
.byline .ph-tag { margin-left: 0.3em; }
.actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.6rem; }
.ph-line { margin-top: 1.2rem; font: 500 0.88rem/1.4 var(--serif); font-style: italic; }
.rubble { position: absolute; z-index: 1; left: -5vw; bottom: 0; width: min(68vw, 1080px); pointer-events: none; }
.rubble { mix-blend-mode: multiply; }
.rubble img { width: 100%; height: auto; }
.js:not(.still) .hero-book { opacity: 0; }

/* 2. The assumption */
.problem {
	position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 6vw, 110px); align-items: start;
	padding: clamp(90px, 14vh, 150px) var(--pad) clamp(90px, 14vh, 140px); max-width: 1440px; margin: 0 auto;
}
.problem-title, .problem-q { font: 700 clamp(2.4rem, 4.6vw, 4.4rem)/1.02 var(--display); text-transform: uppercase; }
.problem-q { margin-top: 1.4rem; color: #3a3a3a; }
.felt { list-style: none; margin: 0.6rem 0 0; padding: 0; }
.felt li { padding: 1rem 0; border-bottom: 1px solid #28282840; font: 600 clamp(1.4rem, 2.2vw, 1.9rem)/1.2 var(--serif); }
.felt-close { margin-top: 1.4rem; font: 500 1.1rem/1.5 var(--serif); color: var(--grey); max-width: 26em; }
.fallen { position: absolute; right: var(--pad); bottom: 24px; width: clamp(150px, 16vw, 230px); opacity: 0.95; }

/* Lines that fade in once, plainly, the first time they are seen. */
.js:not(.still) .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js:not(.still) .reveal.seen { opacity: 1; transform: none; }

/* 3. The key idea */
.ki { position: relative; height: 270vh; }
.ki-stage {
	position: sticky; top: var(--bar); height: calc(100vh - var(--bar)); min-height: 600px; overflow: hidden;
	display: grid; grid-template-rows: auto 1fr auto auto; padding: clamp(28px, 6vh, 64px) var(--pad) clamp(24px, 5vh, 56px);
	max-width: 1440px; margin: 0 auto;
}
.ki-head h2 { font: 700 clamp(2.6rem, 5vw, 4.6rem)/1 var(--display); text-transform: uppercase; }
.ki-sub { margin-top: 0.6rem; font: 500 clamp(1.1rem, 1.6vw, 1.35rem)/1.4 var(--serif); }
.st-word, .card, .closing b { transition: color 0.25s, background-size 0.35s; }
.st-word { font-weight: 700; background: linear-gradient(var(--gold), var(--gold)) no-repeat 0 92% / 0 0.28em; }
.st-word.lit { background-size: 100% 0.28em; }
.ki-grid {
	position: relative; z-index: 2; align-self: center; display: grid; grid-template-columns: repeat(3, 1fr); column-gap: clamp(30px, 7vw, 120px);
	row-gap: clamp(70px, 12vh, 120px); padding: clamp(70px, 10vh, 110px) clamp(30px, 5vw, 80px) 0;
}
.station { margin: 0; text-align: center; }
.station svg { width: min(100%, 230px); height: auto; overflow: visible; }
.draw path { fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.st-label { margin-top: 0.5rem; font: 700 0.86rem/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; }
.card {
	margin: 0; padding: 1rem 1.1rem; border: 1px solid #28282833; background: #fff; text-align: center; color: #9a948d;
	font: 600 clamp(1rem, 1.4vw, 1.2rem)/1.3 var(--serif); position: relative; z-index: 2;
}
.card.lit { color: var(--ink); border-color: var(--ink); }
.closing { z-index: 2; margin-top: clamp(20px, 4vh, 36px); text-align: center; font: 700 clamp(1.5rem, 2.6vw, 2.4rem)/1.15 var(--display); text-transform: uppercase; opacity: 0.12; transition: opacity 0.4s; }
.closing.lit { opacity: 1; }
.closing b { background: linear-gradient(var(--gold), var(--gold)) no-repeat 0 94% / 100% 0.22em; }
.skip-past { justify-self: start; margin-top: 0.8rem; font: 600 0.72rem/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--grey); }
.trail { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; overflow: visible; }
.trail path { fill: none; stroke: var(--gold); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.trail .t-branch { stroke-width: 3.5; }
.trail .t-loop { stroke-width: 4; }
.ki-coin { z-index: 3; width: 40px; height: 40px; }
/* Without JavaScript, or with reduced motion, the scene is one finished diagram. */
.no-js .ki, .still .ki { height: auto; }
.no-js .ki-stage, .still .ki-stage { position: relative; top: 0; height: auto; min-height: 0; }
.no-js .card, .still .card { color: var(--ink); border-color: var(--ink); }
.no-js .closing, .still .closing { opacity: 1; }
.no-js .st-word, .still .st-word { background-size: 100% 0.28em; }

/* 4. What the record shows */
.sec-head h2 { font: 700 clamp(2.4rem, 4.4vw, 4rem)/1 var(--display); text-transform: uppercase; }
.kicker { margin-top: 0.4rem; font: 600 0.78rem/1.4 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey); }
.inside { max-width: 1440px; margin: 0 auto; padding: clamp(90px, 13vh, 140px) var(--pad); }
.sources { margin-top: 1.4rem; padding: 0.8rem 0; border-block: 1px solid var(--rule); font: 600 0.74rem/1.4 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; }
.questions { list-style: none; margin: 2.6rem 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 2.2rem clamp(30px, 6vw, 90px); counter-reset: q; }
.questions li { position: relative; padding-left: 2.6rem; }
.questions li::before {
	counter-increment: q; content: counter(q); position: absolute; left: 0; top: 0.1rem; width: 1.8rem; height: 1.8rem; border-radius: 50%;
	border: 2px solid #28282855; display: grid; place-items: center; font: 700 0.8rem/1 var(--sans);
}
.questions li:first-child::before, .questions li.last::before { border-color: var(--gold); background: #f3bb4e33; }
.questions h3 { font: 600 clamp(1.25rem, 1.8vw, 1.5rem)/1.25 var(--serif); }
.questions .ph { margin-top: 0.5rem; font-size: 0.98rem; }

/* 5. The reporter */
.author {
	display: grid; grid-template-columns: minmax(200px, 340px) 1fr; gap: clamp(30px, 6vw, 100px); align-items: center;
	max-width: 1240px; margin: 0 auto; padding: clamp(80px, 12vh, 130px) var(--pad);
}
.portrait { margin: 0; text-align: center; }
.portrait svg { width: 100%; height: auto; }
.portrait .ring { fill: none; stroke: var(--gold); stroke-width: 5; }
.portrait figcaption { margin-top: 0.8rem; }
.js:not(.still) .author .sitter { filter: blur(12px); transition: filter 0.9s ease; }
.js:not(.still) .author.seen .sitter { filter: none; }
.js:not(.still) .author .ring { stroke-dasharray: 720; stroke-dashoffset: 720; transition: stroke-dashoffset 0.9s ease; }
.js:not(.still) .author.seen .ring { stroke-dashoffset: 0; }
.eyebrow { font: 600 0.78rem/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--grey); }
.author h2 { margin-top: 0.6rem; font: 700 clamp(3rem, 6vw, 5.4rem)/0.95 var(--display); text-transform: uppercase; }
.beat { margin-top: 0.8rem; font-size: 1.3rem; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1.4rem 0 0; padding: 1.2rem 0 0; border-top: 1px solid var(--rule); }
.js:not(.still) .tags li { opacity: 0; transform: translateY(6px); transition: opacity 0.35s, transform 0.35s; }
.js:not(.still) .author.seen .tags li { opacity: 1; transform: none; }
.author.seen .tags li:nth-child(2) { transition-delay: 0.9s; }
.author.seen .tags li:nth-child(1) { transition-delay: 0.75s; }
.author.seen .tags li:nth-child(3) { transition-delay: 1.05s; }
.author.seen .tags li:nth-child(4) { transition-delay: 1.2s; }
.ph-block { margin-top: 1.4rem; padding: 1rem 1.2rem; border: 1px dashed #8b857e; max-width: 36em; }

/* 6. On the record */
.record { max-width: 1440px; margin: 0 auto; padding: clamp(60px, 10vh, 110px) var(--pad); border-top: 1px solid var(--rule); }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 3vw, 40px); margin-top: 2.4rem; }
.quotes blockquote { margin: 0; padding: 1.6rem 1.5rem; border: 1px dashed #8b857e; background: #fff; display: flex; flex-direction: column; justify-content: space-between; gap: 1.6rem; min-height: 210px; }
.quotes blockquote p { font: italic 500 1.3rem/1.4 var(--serif); }
.quotes footer { font: 600 0.72rem/1.2 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: #8b857e; }

/* 7. Read the introduction */
.try { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(30px, 6vw, 100px); align-items: center; max-width: 1340px; margin: 0 auto; padding: clamp(80px, 12vh, 130px) var(--pad); }
.try h2 { font: 700 clamp(2.4rem, 4.4vw, 4rem)/1 var(--display); text-transform: uppercase; margin-bottom: 1.6rem; }
.sheet {
	position: relative; background: #fff; padding: clamp(28px, 5vw, 60px) clamp(24px, 5vw, 64px) 40px; box-shadow: 0 1px 0 #0000000d, 0 24px 50px -24px #3a2f2640;
	max-height: 520px; overflow: hidden;
}
.sheet::after { content: ""; position: absolute; inset: auto 0 0; height: 45%; background: linear-gradient(#fff0, #fff 85%); }
.sheet-run { display: flex; justify-content: space-between; font: 600 0.7rem/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: #8b857e; margin-bottom: 2rem; }
.sheet .ph { font-size: 1.2rem; color: var(--ink); }
.sheet-note { margin-top: 1rem; font-size: 1.05rem; color: #6f6a64; }
.sheet-lines { margin-top: 1.4rem; display: grid; gap: 0.95rem; }
.sheet-lines span { height: 0.55rem; background: #ece8e2; border-radius: 2px; }
.sheet-lines span:nth-child(3n) { width: 84%; }
.sheet-lines span:nth-child(4n) { width: 92%; }
.signup h3, .signup h2 { font: 700 clamp(1.6rem, 2.4vw, 2.2rem)/1.1 var(--display); text-transform: uppercase; margin-bottom: 1rem; }
.signup input {
	width: 100%; min-height: 52px; padding: 0.8rem 1rem; border: 2px solid var(--ink); border-radius: 2px; background: #fff; font: 500 1rem var(--sans); color: var(--ink);
}
.intro-form .btn { margin-top: 0.8rem; }
.small { margin-top: 0.9rem; font: 500 0.86rem/1.5 var(--sans); color: var(--grey); }
.form-note { margin-top: 0.8rem; font: 600 0.9rem/1.5 var(--sans); }
.form-note:empty { display: none; }

/* 8. The buy moment */
.buy {
	position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 6vw, 100px); align-items: center;
	max-width: 1340px; margin: 0 auto; padding: clamp(80px, 12vh, 130px) var(--pad) clamp(80px, 12vh, 120px); overflow-x: clip;
}
.buy-stage { position: relative; height: min(70vh, 640px); min-height: 440px; }
.buy-book { position: absolute; inset: 0 0 36px; margin: 0; z-index: 2; }
.plinth { position: absolute; left: 50%; bottom: 0; width: min(100%, 420px); height: 130px; transform: translateX(-50%); }
.slab { position: absolute; left: 50%; bottom: 8px; width: 64%; height: auto; transform: translateX(-50%); }
.piece { position: absolute; height: auto; }
.p-a { left: -6%; bottom: 0; width: 22%; }
.p-b { right: -4%; bottom: 4px; width: 20%; }
.p-c { left: 14%; bottom: -10px; width: 34%; }
.p-d { right: 12%; bottom: -12px; width: 26%; }
.buy h2 { font: 700 clamp(2.6rem, 5vw, 4.8rem)/1.08 var(--display); text-transform: uppercase; }
.buy-dek { margin-top: 0.8rem; font-size: 1.35rem; }
.formats { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.8rem 0 0; padding: 0; border: 0; }
.formats label { position: relative; }
.formats input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.formats span { display: inline-block; padding: 0.6rem 1rem; border: 2px solid #28282840; border-radius: 2px; font: 600 0.8rem/1 var(--sans); letter-spacing: 0.06em; text-transform: uppercase; }
.formats input:checked + span { border-color: var(--ink); background: var(--ink); color: var(--ground); }
.formats input:focus-visible + span { outline: 3px solid var(--gold-deep); outline-offset: 2px; }
.price { margin: 1rem 0 1.4rem; }
.stores { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; margin: 1.2rem 0 0; padding: 0; max-width: 460px; }
.ph-store { display: flex; align-items: center; gap: 0.5rem; min-height: 46px; padding: 0.5rem 0.8rem; border: 1px dashed #8b857e; text-decoration: none; font: 600 0.8rem/1 var(--sans); color: #5f5a54; background: #fff; }
.ph-store:hover { border-style: solid; border-color: var(--ink); }
.sample-note { margin-top: 1.4rem; padding: 1rem 1.2rem; border-left: 5px solid var(--gold); background: #fff; font: 500 1rem/1.5 var(--sans); max-width: 34em; }
.sample-note:focus { outline: 3px solid var(--gold-deep); outline-offset: 3px; }
.js:not(.still) .buy-book { opacity: 0; transform: translateY(40px) scale(0.9); }
.js:not(.still) .buy.shown .buy-book { opacity: 1; transform: none; transition: opacity 0.6s ease, transform 1.1s cubic-bezier(.2,.8,.2,1); }
.js:not(.still) .piece { transition: transform 1s cubic-bezier(.3,.7,.2,1) 0.3s, opacity 0.6s ease 0.75s; }
.js:not(.still) .slab { opacity: 0; transform: translateX(-50%) translateY(14px) scaleX(0.7); transition: opacity 0.6s ease 0.5s, transform 1s cubic-bezier(.2,.8,.2,1) 0.5s; }
.js:not(.still) .buy.shown .slab { opacity: 1; transform: translateX(-50%); }
.js:not(.still) .p-a { transform: translate(-40px, 6px) rotate(-8deg); }
.js:not(.still) .p-b { transform: translate(46px, 4px) rotate(10deg); }
.js:not(.still) .p-c { transform: translate(-30px, 10px) rotate(4deg); }
.js:not(.still) .p-d { transform: translate(40px, 8px); }
.js:not(.still) .buy.shown .piece { opacity: 0; }
.js:not(.still) .buy.shown .p-a { transform: translate(90%, -26px) scale(0.8); }
.js:not(.still) .buy.shown .p-b { transform: translate(-90%, -26px) scale(0.8); }
.js:not(.still) .buy.shown .p-c { transform: translate(30%, -30px) scale(0.85); }
.js:not(.still) .buy.shown .p-d { transform: translate(-40%, -30px) scale(0.85); }
.still .piece, .no-js .piece { display: none; }

/* 9 to 11. The calm ground: the plinth's stone, a shade warmer than the off-white. */
.calm { background: var(--stone-pale); color: var(--stone-ink); }
.calm h2 { font: 700 clamp(2.2rem, 4vw, 3.4rem)/1 var(--display); text-transform: uppercase; color: var(--ink); }
.groups, .faq, .end { max-width: 1240px; margin: 0 auto; padding: clamp(60px, 9vh, 100px) var(--pad); }
.groups { padding-top: clamp(80px, 11vh, 120px); }
.group-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.5vw, 32px); margin-top: 2rem; }
.group-cards > div { padding: 1.4rem 1.3rem; background: #f7f3ee; border-top: 4px solid var(--stone); }
.group-cards h3 { font: 600 1.25rem/1.3 var(--serif); color: var(--ink); margin-bottom: 0.8rem; }
.faq { border-top: 1px solid #42352c22; }
.faq h2 { margin-bottom: 1.4rem; }
.faq details { border-bottom: 1px solid #42352c33; }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 2.4rem 1.1rem 0; position: relative; font: 600 1.25rem/1.35 var(--serif); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0.3rem; top: 0.9rem; font: 500 1.6rem/1 var(--sans); color: var(--gold-deep); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 0 1.3rem; max-width: 42em; }
.end { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(30px, 6vw, 90px); border-top: 1px solid #42352c22; }
.news-form .ph { margin-bottom: 1.2rem; }
.row { display: flex; gap: 0.6rem; }
.row input { flex: 1; }
.end-links { display: grid; grid-template-columns: 120px 1fr; gap: 1.6rem; align-items: start; }
.thumb { width: 120px; height: auto; box-shadow: 0 14px 30px -14px #3a2f2666; }
.end-links h3 { font: 700 0.78rem/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); margin: 0.2rem 0 0.6rem; }
.end-links p { margin-bottom: 1.3rem; }
.foot { background: var(--stone-pale); color: var(--stone-ink); padding: 1.6rem var(--pad) 2rem; text-align: center; font: 500 0.86rem/1.5 var(--sans); border-top: 1px solid #42352c22; }
.has-preview-notice .foot { padding-bottom: calc(2rem + 46px + env(safe-area-inset-bottom)); }

/* Tablets */
@media (max-width: 1100px) {
	.ki-grid { column-gap: 28px; padding-inline: 10px; }
	.quotes { grid-template-columns: 1fr; }
	.quotes blockquote { min-height: 0; }
}

/* Upright tablets and phones: one column. */
@media (max-width: 900px) {
	.hero { grid-template-columns: minmax(0, 1fr); text-align: left; align-content: start; padding-top: 28px; }
	.hero { padding-bottom: 36px; gap: 0; }
	.hero-copy { display: contents; }
	.headline { order: 1; }
	.dek { order: 2; }
	.hero-book { order: 3; height: min(40vh, 440px); margin-top: 20px; align-self: auto; }
	.rubble { order: 4; position: relative; left: -6vw; width: 112vw; max-width: none; margin-top: -24%; }
	.byline { order: 5; }
	.actions { order: 6; }
	.ph-line { order: 7; }
	.problem, .try, .buy, .end, .author { grid-template-columns: minmax(0, 1fr); }
	.author { justify-items: start; }
	.portrait { width: min(260px, 70vw); }
	.buy-stage { order: -1; }
	.fallen { position: static; margin: 2rem 0 0 auto; }
}

/* The key idea on phones: not pinned, the stations stack and the trail plays once as it comes into view. */
@media (max-width: 760px) {
	:root { --bar: 54px; }
	.bar-link { display: none; }
	.mark { font-size: 1.1rem; }
	.ki { height: auto; }
	.ki-stage { position: relative; top: 0; height: auto; min-height: 0; padding-bottom: 40px; }
	.ki-grid { grid-template-columns: 110px 1fr; row-gap: 46px; column-gap: 18px; padding: 44px 34px 44px 30px; align-items: center; }
	.st-0 { grid-row: 1; grid-column: 1; } .c-0 { grid-row: 1; grid-column: 2; }
	.st-1 { grid-row: 2; grid-column: 1; } .c-1 { grid-row: 2; grid-column: 2; }
	.st-2 { grid-row: 3; grid-column: 1; } .c-2 { grid-row: 3; grid-column: 2; }
	.st-label { font-size: 0.68rem; letter-spacing: 0.1em; }
	.card { text-align: left; font-size: 1.05rem; }
	.closing { text-align: left; }
	.questions { grid-template-columns: 1fr; }
	.group-cards { grid-template-columns: 1fr; }
	.row { flex-direction: column; }
	.end-links { grid-template-columns: 90px 1fr; }
	.thumb { width: 90px; }
}

/* Phones: the storyboard's order, the question first, then the book on its rubble, then the author and the buttons. */
@media (max-width: 560px) {
	.hero { padding: 22px var(--pad) 26px; }
	.headline { font-size: clamp(2.5rem, 12.4vw, 3.5rem); }
	.dek { font-size: 1.15rem; margin-top: 0.5rem; }
	.hero-book { height: 230px; margin-top: 14px; }
	.rubble { left: -12vw; width: 124vw; margin-top: -86px; }
	.byline { font-size: 0.84rem; margin-top: 0.6rem; }
	.actions { margin-top: 0.9rem; }
	.actions .btn { flex: 1 1 140px; padding-inline: 0.8rem; }
	.buy h2 { font-size: 2.4rem; }
	.buy-stage { min-height: 0; height: 430px; }
	.plinth { width: 300px; }
	.stores { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ph-store { flex-wrap: wrap; font-size: 0.74rem; }
}

/* Concept-preview tape. The server adds it to the page (lib/preview-notice.mjs).
   Slim and translucent at the bottom so it never takes space from the page; only its controls take clicks. */
.preview-notice {
  position: fixed; z-index: 45; inset: auto 0 0;
  height: calc(44px + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  pointer-events: none;
  background: #f3cf45ed; color: #111;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid #111;
}
.preview-notice::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 3px;
  background: repeating-linear-gradient(115deg, #111 0 12px, transparent 12px 22px);
}
.preview-tape {
  position: absolute; inset: 4px 260px auto 0; height: 39px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 20px, #000 calc(100% - 25px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 20px, #000 calc(100% - 25px), transparent);
}
.preview-notice[data-preview-notice="neutral"] .preview-tape { right: 64px; }
.preview-tape-track { display: flex; width: max-content; animation: preview-tape-flow 34s linear infinite; }
.preview-tape-group { display: flex; flex-shrink: 0; }
.preview-tape-group > span {
  display: flex; align-items: center; gap: 1.8rem; padding-right: 1.8rem; height: 39px; white-space: nowrap;
  font: 700 0.74rem/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase;
}
.preview-tape-group i { font-style: normal; font-size: 0.9rem; }
@keyframes preview-tape-flow { to { transform: translateX(-50%); } }
.preview-tape-controls {
  position: absolute; top: 0; right: max(12px, env(safe-area-inset-right));
  display: flex; gap: 0.5rem; align-items: center; pointer-events: auto;
}
.preview-tape-controls a, .preview-tape-pause {
  display: inline-flex; justify-content: center; gap: 0.65rem; align-items: center;
  min-height: 44px; padding: 0.4rem 0.65rem; border: 0; background: transparent; color: #111;
  text-decoration: none; font: 700 0.78rem/1 var(--sans); letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer;
}
.preview-tape-controls a { border-left: 1px solid #1115; }
.preview-cta-copy { display: flex; flex-direction: column; gap: 4px; }
.preview-cta-copy small { font: 500 0.66rem/1 var(--sans); letter-spacing: 0.08em; }
.preview-tape-controls a:hover, .preview-tape-pause:hover { background: #1111; }
.preview-tape-controls a:focus-visible, .preview-tape-pause:has(input:focus-visible) { outline: 2px solid #111; outline-offset: -4px; }
.preview-tape-pause { position: relative; width: 44px; }
.preview-tape-pause svg { fill: currentColor; }
.preview-tape-pause input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.preview-tape-pause .i-play, .preview-notice:has(input:checked) .i-pause { display: none; }
.preview-notice:has(input:checked) .i-play { display: inline; }
.preview-notice:has(input:checked) .preview-tape-track { animation-play-state: paused; }
@media (max-width: 760px) {
  .preview-tape { right: 195px; }
  .preview-notice[data-preview-notice="neutral"] .preview-tape { right: 52px; }
  .preview-tape-group > span { font-size: 0.66rem; gap: 1.2rem; padding-right: 1.2rem; }
  .preview-tape-controls { right: max(4px, env(safe-area-inset-right)); gap: 0; }
  .preview-tape-controls a { font-size: 0.7rem; padding-inline: 0.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .preview-tape-track { animation: none; }
  .preview-tape-pause { display: none; }
  .btn { transition: none; }
}
