/* The Year I Lost My Shape. Look taken from the cover: speckled paper, one red, ink.
   See ART-DIRECTION.md. */

@font-face { font-family: 'Amatic SC'; src: url('/assets/fonts/amatic-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Amatic SC'; src: url('/assets/fonts/amatic-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Jost'; src: url('/assets/fonts/jost.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Newsreader'; src: url('/assets/fonts/newsreader.woff2') format('woff2'); font-weight: 200 800; font-display: swap; }
@font-face { font-family: 'Newsreader'; src: url('/assets/fonts/newsreader-italic.woff2') format('woff2'); font-weight: 200 800; font-style: italic; font-display: swap; }

:root {
	--paper: #EEE8D8;
	--paper-hi: #F5EFDF;
	--red: #D51D1F;
	--red-deep: #A8161A;
	--ink: #282828;
	--ink-soft: #55504A;
	--hand: 'Amatic SC', 'Chalkboard SE', 'Comic Sans MS', cursive;
	--sans: 'Jost', 'Futura', 'Century Gothic', system-ui, sans-serif;
	--serif: 'Newsreader', Georgia, 'Times New Roman', serif;
	--edge: 22px;
	--tape: 48px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
.still { scroll-behavior: auto; }
body {
	margin: 0;
	background: var(--paper) url('/assets/paper.webp') repeat;
	background-size: 480px;
	color: var(--ink);
	font: 400 1.125rem/1.6 var(--serif);
	overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
b { font-weight: 600; }
h1, h2, h3 { margin: 0; font-weight: 400; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: var(--paper); padding: 10px 16px; font: 500 0.9rem var(--sans); text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 0 26px; border: 2px solid transparent; border-radius: 999px;
	font: 500 0.95rem/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none;
	cursor: pointer; transition: background-color .2s, color .2s, transform .2s;
}
.btn-red { background: var(--red); color: #FFF8EC; }
.btn-red:hover { background: var(--red-deep); }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn:focus-visible, input:focus-visible, summary:focus-visible, .formats input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 3px; }
.btn-big { min-height: 56px; padding: 0 44px; font-size: 1.05rem; }

.buy-tag {
	position: fixed; top: 14px; right: 16px; z-index: 30;
	padding: 9px 16px; border-radius: 999px; background: var(--red); color: #FFF8EC;
	font: 500 0.78rem/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none;
	opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .3s, transform .3s;
}
.buy-tag.on { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- placeholders: they must never pass for real quotes or facts ---------- */
.ph { font-style: italic; color: var(--ink-soft); }
.ph-tag {
	display: inline-block; margin-right: 8px; padding: 2px 8px 1px; border: 1px dashed currentColor; border-radius: 4px;
	font: 500 0.66rem/1.4 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; font-style: normal; vertical-align: 0.15em;
}

/* ---------- the year: hero, problem and key idea over one sticky stage ---------- */
.year { position: relative; }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; z-index: 0; pointer-events: none; }
.masses { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.mass { fill: var(--red); }
.no-js .stage { display: none; }
.still .stage { position: absolute; inset: 0 0 auto 0; }
.still .ki-lines { display: none; }

.hero, .problem { position: relative; z-index: 2; }
.js:not(.still) .hero { margin-top: -100vh; margin-top: -100svh; }

.hero {
	min-height: 100vh; min-height: 100svh;
	display: grid; grid-template-columns: minmax(0, 40%) 1fr; align-items: center;
	padding: 48px 0 calc(var(--tape) + 24px) clamp(28px, 5vw, 88px);
}
.hero-copy { max-width: 520px; }
.author-name { margin: 0 0 18px; font: 500 clamp(0.95rem, 1.3vw, 1.2rem)/1 var(--sans); letter-spacing: 0.32em; text-transform: uppercase; }
.title { font: 700 clamp(4.2rem, 8.6vw, 8.4rem)/0.86 var(--hand); letter-spacing: 0.01em; text-transform: uppercase; }
.title .line { display: block; }
.title .key { color: var(--ink); }
.subtitle { margin: 22px 0 6px; max-width: 34ch; color: var(--red); font: 500 clamp(0.9rem, 1.15vw, 1.08rem)/1.45 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; }
.kind { margin: 0 0 28px; font: italic 400 1.05rem/1.4 var(--serif); color: var(--ink-soft); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ph-hero { margin: 22px 0 0; font-size: 0.98rem; }

.hero-book { margin: 0; justify-self: center; position: relative; width: min(30vw, 400px); aspect-ratio: 2 / 3; height: auto; }
.hero-book img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 18px 30px rgba(60, 20, 10, .28)); }
.hero-book canvas { filter: drop-shadow(0 22px 26px rgba(60, 20, 10, .25)); }
.no-js .hero, .still .hero { background: none; }

/* Load: the title is written in, line by line, while the masses close in. */
.js:not(.still) .title .line { clip-path: inset(0 100% 0 0); animation: write .42s cubic-bezier(.5, 0, .3, 1) forwards; }
.js:not(.still) .title .line:nth-child(1) { animation-delay: .25s; }
.js:not(.still) .title .line:nth-child(2) { animation-delay: .6s; }
.js:not(.still) .title .line:nth-child(3) { animation-delay: .95s; }
.js:not(.still) .author-name { opacity: 0; animation: rise .5s ease-out .05s forwards; }
.js:not(.still) .subtitle { opacity: 0; animation: rise .5s ease-out 1.35s forwards; }
@keyframes write { to { clip-path: inset(0 -4% 0 0); } }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.problem {
	min-height: 120vh; display: flex; flex-direction: column; justify-content: center; align-items: center;
	padding: 18vh 24px; text-align: center;
}
.problem-lead { margin: 0 0 26px; font: 500 0.95rem/1 var(--sans); letter-spacing: 0.3em; text-transform: uppercase; }
.losses { list-style: none; margin: 0; padding: 0; max-width: 21em; font: 400 clamp(1.5rem, 2.3vw, 2.05rem)/1.3 var(--serif); }
.losses li + li { margin-top: 0.7em; }
.problem-reader { margin: 1.6em 0 0; max-width: 22em; color: var(--red); font: italic 500 clamp(1.15rem, 1.6vw, 1.4rem)/1.4 var(--serif); }
.js:not(.still) .losses li, .js:not(.still) .problem-lead, .js:not(.still) .problem-reader, .js:not(.still) .fade { opacity: 0; transform: translateY(10px); transition: opacity .7s ease-out, transform .7s ease-out; }
.js:not(.still) .seen { opacity: 1 !important; transform: none !important; }

/* Key idea: lines live in the sticky stage and are placed by script.js from the scroll. */
.ki-lines { position: absolute; inset: 0; }
.ki { position: absolute; left: 50%; margin: 0; transform: translate(-50%, 0); text-align: center; opacity: 0; will-change: opacity, transform; }
.ki-1 { top: 9vh; width: min(90vw, 30em); font: 500 0.95rem/1.4 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; }
.ki-2 { top: 16vh; width: min(90vw, 15em); font: 400 clamp(1.7rem, 3vw, 2.7rem)/1.18 var(--serif); }
.ki-2 span { display: block; }
.ki-2 b { color: var(--red); font-weight: 500; }
.ki-3 { top: 50%; font: 700 clamp(4.6rem, 10vw, 9.5rem)/1 var(--hand); text-transform: uppercase; color: #FFF6E6; letter-spacing: 0.04em; white-space: nowrap; }
.ki-4, .ki-5 { width: min(90vw, 16em); font: 400 clamp(1.7rem, 3vw, 2.7rem)/1.18 var(--serif); }
.ki-4 b { color: var(--red); font-weight: 500; }
.ki-4 { top: 38%; }
.ki-5 { top: 52%; font-style: italic; }

.ki-track { height: 250vh; }
.ki-exit { height: 100vh; }
.no-js .ki-track, .no-js .ki-exit, .still .ki-track, .still .ki-exit { display: none; }

.ki-still { position: relative; z-index: 2; max-width: 860px; margin: 0 auto; padding: 8vh 24px 10vh; text-align: center; }
.js:not(.still) .ki-still { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); padding: 0; }
.ki-still p { font: 400 clamp(1.4rem, 2.4vw, 2rem)/1.35 var(--serif); margin: 28px auto 0; max-width: 24em; }
.ki-pair { display: flex; justify-content: center; gap: 28px; margin: 0; }
.ki-pair svg { width: min(36vw, 220px); height: auto; background: var(--paper-hi); }

/* ---------- calm reading sections, with what is left of the red at the margins ---------- */
.calm { position: relative; padding: 0 calc(var(--edge) + 20px); }
.calm::before, .calm::after {
	content: ''; position: absolute; top: 0; bottom: 0; width: var(--edge); pointer-events: none;
	background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="22" height="1200" viewBox="0 0 22 1200" preserveAspectRatio="none"><path fill="%23D51D1F" d="M0 0 H12 C 18 140, 20 300, 14 420 C 9 520, 6 640, 11 760 C 16 880, 21 1000, 15 1100 C 13 1150, 12 1180, 12 1200 H0 Z"/></svg>') repeat-y;
	background-size: var(--edge) 1200px;
}
.calm::before { left: 0; }
.calm::after { right: 0; transform: scaleX(-1); background-position: 0 600px; }

.section-h { font: 700 clamp(3rem, 5.6vw, 5rem)/0.95 var(--hand); text-transform: uppercase; letter-spacing: 0.02em; }
.section-h.small { font-size: clamp(2.4rem, 4.2vw, 3.6rem); }

.inside { max-width: 1100px; margin: 0 auto; padding: 18vh 0 10vh; }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 4vw, 56px); margin-top: 42px; }
.three h3 { font: 500 0.95rem/1.2 var(--sans); letter-spacing: 0.24em; text-transform: uppercase; color: var(--red); padding-top: 16px; border-top: 2px solid var(--ink); }
.three p { margin: 12px 0 0; font-size: 1.3rem; line-height: 1.45; }
.js:not(.still) .three .fade:nth-child(2) { transition-delay: .12s; }
.js:not(.still) .three .fade:nth-child(3) { transition-delay: .24s; }
.ph-block { margin-top: 36px; font-size: 1rem; }

.author { max-width: 1100px; margin: 0 auto; padding: 10vh 0; display: grid; grid-template-columns: minmax(220px, 340px) 1fr; gap: clamp(28px, 6vw, 90px); align-items: center; }
.portrait { position: relative; margin: 0; aspect-ratio: 300 / 420; background: var(--paper-hi); overflow: hidden; }
.portrait-photo {
	position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
	background: radial-gradient(ellipse at 50% 38%, #D9CFBA 0 22%, transparent 23%), radial-gradient(ellipse at 50% 92%, #D9CFBA 0 38%, transparent 39%), #E6DDC9;
	color: var(--ink-soft); font: italic 400 1rem var(--serif);
	transition: filter .9s ease-out;
}
.portrait-photo .ph-tag { margin: 0; background: var(--paper-hi); }
.portrait-masses { position: absolute; inset: 0; width: 100%; height: 100%; }
.js:not(.still) .portrait:not(.open) .portrait-photo { filter: blur(6px); }
.author-copy .section-h { margin-bottom: 14px; }
.author-line { font-size: 1.4rem; line-height: 1.4; margin: 0 0 22px; max-width: 24em; }
.facts { list-style: none; padding: 0; margin: 0; }
.facts li { padding: 8px 0; border-bottom: 1px solid rgba(40, 40, 40, .14); }
.js:not(.still) .facts li { opacity: 0; transition: opacity .5s ease-out; }
.js:not(.still) .author.open .facts li { opacity: 1; }
.js:not(.still) .author.open .facts li:nth-child(2) { transition-delay: .2s; }
.js:not(.still) .author.open .facts li:nth-child(3) { transition-delay: .4s; }

.proof { max-width: 1100px; margin: 0 auto; padding: 8vh 0; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.card { margin: 0; padding: 26px 24px; background: var(--paper-hi); border: 1px dashed rgba(40, 40, 40, .35); }
.card blockquote { margin: 0 0 14px; font-size: 1.15rem; line-height: 1.45; }
.card figcaption { font: 500 0.75rem/1.3 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }

.opening { max-width: 1100px; margin: 0 auto; padding: 10vh 0 16vh; }
.opening-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(24px, 5vw, 64px); margin-top: 32px; align-items: start; }
.page-sheet { position: relative; background: #FBF7EC; padding: clamp(28px, 4vw, 56px); box-shadow: 0 1px 0 rgba(0,0,0,.06), 0 18px 40px -18px rgba(60, 30, 10, .35); }
.sheet-head { margin: 0 0 22px; text-align: center; font: 500 0.72rem/1 var(--sans); letter-spacing: 0.3em; text-transform: uppercase; color: var(--ink-soft); }
.ph-sheet { font-size: 1.2rem; line-height: 1.55; }
.sheet-lines { margin-top: 26px; }
.sheet-lines i { display: block; height: 9px; margin: 0 0 17px; background: rgba(40, 40, 40, .08); border-radius: 2px; }
.sheet-lines i:nth-child(3n) { width: 88%; }
.sheet-lines i:last-child { width: 46%; }
.keep { display: inline-block; margin-top: 10px; font: 500 0.85rem/1 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--red); text-underline-offset: 6px; }
.signup h3 { font: 700 2.4rem/1 var(--hand); text-transform: uppercase; }
.arrives { margin: 10px 0 20px; }
.signup label { display: block; font: 500 0.75rem/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 8px; }
.signup input { width: 100%; min-height: 50px; padding: 0 16px; border: 2px solid var(--ink); border-radius: 0; background: #FBF7EC; font: 400 1.05rem var(--serif); color: var(--ink); margin-bottom: 14px; }
.sample-note { font-size: 0.9rem; color: var(--ink-soft); margin: 12px 0 0; }
.form-done { margin: 10px 0 0; font-style: italic; min-height: 1.5em; }

/* ---------- buy: the red opens ---------- */
.buy { position: relative; padding: 0 0 12vh; text-align: center; }
.buy-stage { position: relative; height: min(84vh, 780px); min-height: 440px; }
.buy-masses { z-index: 0; }
.buy-book { position: absolute; z-index: 1; left: 50%; top: 50%; width: min(84vw, 980px); height: 100%; margin: 0; transform: translate(-50%, -50%); }
.buy-book img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 18px 30px rgba(60, 20, 10, .28)); }
.buy-panel { position: relative; z-index: 2; max-width: 640px; margin: 0 auto; padding: 0 24px; }
.hook { font: 700 clamp(3rem, 6vw, 5.4rem)/0.95 var(--hand); text-transform: uppercase; letter-spacing: 0.02em; }
.hook b { color: var(--red); font-weight: 700; }
.js:not(.still) .buy:not(.open) .hook { opacity: 0; transform: translateY(10px); }
.hook { transition: opacity .8s ease-out .35s, transform .8s ease-out .35s; }
.formats { border: 0; padding: 0; margin: 28px 0 8px; display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 22px; }
.formats label { position: relative; cursor: pointer; }
.formats input { position: absolute; opacity: 0; }
.formats span { display: inline-block; padding: 8px 2px; font: 500 0.9rem/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; background: linear-gradient(var(--red), var(--red)) no-repeat 0 100% / 0 3px; transition: background-size .3s ease-out; }
.formats input:checked + span { background-size: 100% 3px; }
.price { margin: 12px 0 22px; }
.ph-stores { margin: 18px 0 6px; font-size: 0.98rem; }
.sample { margin: 6px auto 0; max-width: 32em; font-size: 0.98rem; }
.sample.flash { animation: flash 1.2s ease-out; }
@keyframes flash { 0% { color: var(--red); } 100% { color: var(--ink); } }

.calm-end { padding-top: 6vh; padding-bottom: 8vh; }
.groups, .faq { max-width: 900px; margin: 0 auto; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.two article { padding: 26px 24px; background: var(--paper-hi); }
.two h3 { font: 700 2.2rem/1 var(--hand); text-transform: uppercase; margin-bottom: 10px; }
.faq { padding: 10vh 0 2vh; }
.faq .section-h { margin-bottom: 18px; }
details { border-top: 1px solid rgba(40, 40, 40, .2); }
details:last-of-type { border-bottom: 1px solid rgba(40, 40, 40, .2); }
summary { list-style: none; cursor: pointer; padding: 18px 36px 18px 0; position: relative; font: 500 1.25rem/1.3 var(--serif); }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; position: absolute; right: 4px; top: 12px; font: 400 1.8rem/1 var(--sans); color: var(--red); }
details[open] summary::after { content: '\2212'; }
details p { margin: 0 0 20px; }

.end { position: relative; padding: 8vh 24px calc(140px + var(--tape)); text-align: center; overflow: hidden; }
.news { max-width: 560px; margin: 0 auto; }
.news h2 { font: 700 clamp(2.6rem, 5vw, 4rem)/1 var(--hand); text-transform: uppercase; }
.news .ph { margin: 10px 0 18px; }
.news-row { display: flex; gap: 10px; }
.news-row input { margin: 0; flex: 1; }
.links { margin: 40px 0 10px; }
.fineprint { max-width: 40em; margin: 0 auto; font-size: 0.9rem; color: var(--ink-soft); }
.end-curve { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 120px; }
.end-curve path { fill: var(--red); }
.end .fineprint, .end .links { position: relative; z-index: 1; }

/* ---------- phones and upright tablets: one column, the book in the waist ---------- */
@media (max-aspect-ratio: 5/6) {
	:root { --edge: 12px; }
	.hero {
		grid-template-columns: 1fr; grid-template-rows: auto auto auto 1fr auto auto; align-items: start;
		padding: 6svh 22px calc(var(--tape) + 16px);
	}
	.hero-copy { display: contents; }
	.author-name { grid-row: 1; margin-bottom: 12px; }
	.title { grid-row: 2; font-size: clamp(3.4rem, 15vw, 6.6rem); }
	.subtitle { grid-row: 3; margin-top: 12px; font-size: clamp(0.74rem, 3.3vw, 1.05rem); max-width: 26em; }
	.kind { display: none; }
	.hero-book { grid-row: 4; align-self: center; width: auto; height: min(36svh, 460px); margin: 10px 0; }
	.actions { grid-row: 5; justify-content: center; width: 100%; max-width: 520px; justify-self: center; }
	.actions .btn { flex: 1 1 140px; padding: 0 12px; letter-spacing: 0.08em; font-size: 0.8rem; white-space: nowrap; }
	.ph-hero { grid-row: 6; margin-top: 10px; font-size: 0.85rem; text-align: center; }
	.problem { padding: 14vh 30px; }
	.ki-1 { top: 7svh; font-size: 0.78rem; }
	.ki-2 { top: 12svh; font-size: clamp(1.4rem, 6vw, 2.2rem); }
	.ki-4 { top: 8svh; font-size: clamp(1.4rem, 6vw, 2.2rem); }
	.ki-5 { top: 18svh; font-size: clamp(1.4rem, 6vw, 2.2rem); }
	.ki-3 { top: 62%; font-size: clamp(3.6rem, 18vw, 6rem); }
	.calm { padding: 0 calc(var(--edge) + 12px); }
	.three, .cards, .opening-grid, .two { grid-template-columns: 1fr; }
	.author { grid-template-columns: 1fr; }
	.portrait { width: min(70vw, 300px); margin: 0 auto; }
	.inside { padding-top: 12vh; }
	.buy-stage { height: 62svh; min-height: 380px; }
	.buy-book { width: 100vw; height: 100%; }
}
@media (max-width: 420px) {
	.news-row { flex-direction: column; }
}

/* 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 story;
   only its controls take clicks. Adapted from Christmas at the Love Lodge. */
.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, .buy-tag { transition: none; }
}
