/* Mentor Like A Leader: the cover's blue, its gold for the penguins, the path and every reader action, white for words.
   Phone first: the tall layout (phones and upright tablets) is the default; the wide layout is added for screens
   wider than they are tall. */

/* ---------- fonts, each with a fallback measured to take the same room (no jump when Figtree arrives) ---------- */
@font-face { font-family: Figtree; src: url(/assets/fonts/figtree.woff2) format('woff2'); font-weight: 300 900; font-display: swap; }
@font-face { font-family: Figtree; src: url(/assets/fonts/figtree-italic.woff2) format('woff2'); font-style: italic; font-weight: 300 900; font-display: swap; }
@font-face { font-family: Caveat; src: url(/assets/fonts/caveat.woff2) format('woff2'); font-weight: 500 700; font-display: swap; }
/* Figtree against Arial, measured in Chromium on a mixed sentence: 97.1% at 300, 98.7% at 400 to 500, 95.9% at 700;
   ascent 0.95 and descent 0.25 of the size, divided by the size adjustment */
@font-face { font-family: 'Figtree fb'; src: local('Arial'), local('Liberation Sans'), local('Helvetica'); font-weight: 100 350; size-adjust: 97.1%; ascent-override: 97.8%; descent-override: 25.7%; line-gap-override: 0%; }
@font-face { font-family: 'Figtree fb'; src: local('Arial'), local('Liberation Sans'), local('Helvetica'); font-weight: 351 650; size-adjust: 98.7%; ascent-override: 96.3%; descent-override: 25.3%; line-gap-override: 0%; }
@font-face { font-family: 'Figtree fb'; src: local('Arial Bold'), local('Liberation Sans Bold'), local('Helvetica Bold'); font-weight: 651 900; size-adjust: 95.9%; ascent-override: 99.1%; descent-override: 26.1%; line-gap-override: 0%; }
@font-face { font-family: 'Figtree fb'; src: local('Arial Italic'), local('Liberation Sans Italic'), local('Helvetica Oblique'); font-style: italic; font-weight: 100 650; size-adjust: 99.8%; ascent-override: 95.2%; descent-override: 25%; line-gap-override: 0%; }
/* the promise is measured on its own words (500 weight): 101.8% for the line, 105.5% for the gold "without you." */
@font-face { font-family: 'Figtree fb p'; src: local('Arial'), local('Liberation Sans'), local('Helvetica'); size-adjust: 101.8%; ascent-override: 93.3%; descent-override: 24.6%; line-gap-override: 0%; }
@font-face { font-family: 'Figtree fb em'; src: local('Arial'), local('Liberation Sans'), local('Helvetica'); size-adjust: 105.5%; ascent-override: 90%; descent-override: 23.7%; line-gap-override: 0%; }
@font-face { font-family: 'Caveat fb'; src: local('Comic Sans MS'), local('Arial'), local('Liberation Sans'); size-adjust: 78%; }

:root {
  --blue: #236daa; --blue-d: #1b5a8f; --navy: #123a5c; --gold: #fec35b; --white: #fff; --ice: #f4f8fc;
  --sans: Figtree, 'Figtree fb', Arial, sans-serif; --hand: Caveat, 'Caveat fb', cursive;
  --tape-h: 48px; --top: 60px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--blue); }
body { margin: 0; background: var(--blue); color: var(--white); font: 400 18px/1.55 var(--sans); overflow-x: hidden; }
img, svg { display: block; }
a { color: inherit; }
b, strong { font-weight: inherit; color: var(--gold); }
b.white { color: var(--white); }
em { font-style: italic; }
h1, h2, h3, p, figure, blockquote, ol, ul { margin: 0; }
.sr, .sr-only { position: absolute; left: 0; top: 0; margin: 0; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: normal; opacity: 0; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border-radius: 999px; border: 2px solid var(--gold);
  background: var(--gold); color: var(--navy); font: 700 17px/1.1 var(--sans); text-decoration: none; text-align: center; transition: transform .2s ease, background .2s; }
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; }
.btn-quiet { background: transparent; color: var(--white); border-color: rgba(255,255,255,.7); }
.btn-blue { background: var(--blue); border-color: var(--blue); color: var(--white); }
.small { font-size: 15px; line-height: 1.5; opacity: .9; }

/* ---------- always there: skip link and the small Pre-order control ---------- */
.skip, .corner { position: fixed; z-index: 40; top: 8px; min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; transition: opacity .3s, visibility .3s; }
.skip { left: 10px; padding: 0 14px; border-radius: 999px; font: 600 14px/1 var(--sans); color: var(--white); background: rgba(18,58,92,.35); }
.corner { right: 10px; gap: 10px; padding: 4px 16px 4px 4px; border-radius: 999px; background: var(--gold); color: var(--navy); font: 700 15px/1 var(--sans);
  opacity: 0; visibility: hidden; }
.corner img { width: 30px; height: 45px; border-radius: 3px; box-shadow: 0 2px 6px rgba(0,0,0,.3); }
.corner.on { opacity: 1; visibility: visible; }
.skip.off { opacity: 0; visibility: hidden; }

/* ---------- the story: still page by default, a held stage with html.film ---------- */
.story { position: relative; }
.stage { position: relative; height: 100vh; height: 100svh; min-height: 520px; overflow: hidden; background: var(--blue); }
html.film .stage { position: sticky; top: 0; min-height: 0; }
.world, .lines, .reveal { display: none; }
html.film .world, html.film .lines, html.film .reveal { display: block; }
html.film .still { display: none; }
/* until the script has placed everything, the moving layers stay hidden (the opening screen is the stylesheet's) */
html.film:not(.ready) .world, html.film:not(.ready) .lines, html.film:not(.ready) .reveal { visibility: hidden; }

/* ---------- hero, tall layout (phones, upright tablets) ---------- */
.hero { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: calc(var(--top) + 4px) 22px calc(var(--tape-h) + 14px); gap: 10px; z-index: 3; }
.hero-quote { display: none; }
.promise { font: 500 clamp(20px, 5.4vw, 30px)/1.22 var(--sans); max-width: 17em; }
.promise { font-family: Figtree, 'Figtree fb p', Arial, sans-serif; }
.promise em { font-style: normal; color: var(--gold); white-space: nowrap; font-family: Figtree, 'Figtree fb em', Arial, sans-serif; }
.title { font: 300 clamp(38px, 10.6vw, 72px)/1 var(--sans); letter-spacing: -.01em; }
.title span { display: block; }
.byline { font: 500 15px/1 var(--sans); letter-spacing: .32em; text-transform: uppercase; padding-left: .32em; }
.hero-figure { position: relative; flex: 1 1 auto; min-height: 150px; width: 100%; display: flex; align-items: flex-end; justify-content: center; gap: 4%; }
.hero-book { height: 100%; max-height: 46svh; aspect-ratio: 2 / 3; }
.hero-penguin { height: 34%; width: auto; aspect-ratio: 265 / 422; transform: scaleX(-1); margin-bottom: 2px; }
.hero-line { position: absolute; left: -22px; right: -22px; bottom: 0; height: 2px; background: var(--gold); }
.hero-cta { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 100%; }
.hero-cta .btn { width: 100%; max-width: 360px; }
.walk { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; font: 600 16px/1 var(--sans); text-decoration: none; color: var(--white); }
.walk svg { transition: transform .3s; }
.walk:hover svg { transform: translateY(3px); }

/* ---------- the 3D book: a box with the real cover on the front ---------- */
.book3d { perspective: 1400px; container-type: size; }
.b-body { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transform: rotateY(-24deg) rotateX(4deg); }
.b-front { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 1px 4px 4px 1px; backface-visibility: hidden;
  box-shadow: inset 4px 0 6px -3px rgba(0,0,0,.35); transform: translateZ(0); }
.b-spine, .b-pages, .b-back { position: absolute; top: 0; height: 100%; }
.b-spine { left: 0; width: 9%; background: var(--blue-d); transform-origin: left; transform: rotateY(90deg); }
.b-pages { right: 0; width: 9%; transform-origin: right; transform: rotateY(-90deg);
  background: repeating-linear-gradient(90deg, #f6f1e4 0 2px, #e2dccb 2px 3px); }
.b-back { inset: 0; width: 100%; background: var(--blue-d); transform: translateZ(-9cqw); }
.hero-book { filter: drop-shadow(0 18px 24px rgba(5, 25, 45, .45)); }

/* ---------- the moving world ---------- */
.world { position: absolute; inset: 0; z-index: 1; }
.world svg.far, .world svg.ground { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.far { opacity: .13; }
.far path { fill: var(--white); }
.road { fill: none; stroke: var(--gold); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.tether { stroke: var(--gold); stroke-width: 2; stroke-dasharray: 6 7; stroke-linecap: round; opacity: 0; }
.hold { fill: none; stroke: var(--gold); stroke-width: 4; stroke-linecap: round; opacity: 0; }
#ice path { fill: var(--white); }
#ice path.crack { fill: none; stroke: var(--navy); stroke-width: 2; }
.cover-build { position: absolute; left: 0; top: 0; width: 100px; height: 150px; overflow: visible; opacity: 0; }
.cover-build text { fill: var(--white); text-anchor: middle; font-family: var(--sans); }
.cb-q { font-style: italic; font-size: 40px; }
.cb-c { fill: var(--gold) !important; font-weight: 700; font-size: 44px; }
.cb-t { font-weight: 300; }
.cb-s { font-size: 54px; font-weight: 500; }
.cb-a { font-size: 100px; font-weight: 400; }
.cb, #cb-quote, #cb-sub { opacity: 0; }
.actors { position: absolute; inset: 0; }
.pg { position: absolute; left: 0; top: 0; height: var(--lh, 180px); width: auto; transform-origin: 50% 100%; opacity: 0; will-change: transform; }
.pg-l { aspect-ratio: 265 / 422; }
.pg-s { aspect-ratio: 135 / 214; }
#pg-t1, #pg-t3 { aspect-ratio: 265 / 422; }
.icons { position: absolute; inset: 0; }
.ico { position: absolute; left: 0; top: 0; width: 44px; height: 44px; fill: none; stroke: var(--gold); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }

/* ---------- words in the scene ---------- */
.lines { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.say { position: absolute; left: 22px; right: 22px; top: calc(var(--top) + 14px); font: 800 clamp(30px, 9vw, 64px)/1.02 var(--sans); letter-spacing: -.005em; text-transform: uppercase; opacity: 0; }
.say .w { display: inline-block; }
.s1 .w, .s5 .w { display: block; }
.s3 { font-size: clamp(54px, 17vw, 120px); }
.s3all { font-size: clamp(20px, 5.4vw, 30px); letter-spacing: .06em; }
.s4 .big { display: block; font-size: clamp(40px, 12.5vw, 92px); }
.s4 .not { display: block; color: var(--gold); font-size: clamp(26px, 7.6vw, 56px); margin-top: .2em; }
.s5 .q { font-size: 1.22em; }
.s5b { font-size: clamp(26px, 7.6vw, 52px); }
.note { position: absolute; left: 0; top: 0; color: var(--gold); text-shadow: 0 0 4px var(--blue), 0 0 8px var(--blue); font: 600 clamp(22px, 6vw, 30px)/1.05 var(--hand); white-space: nowrap; clip-path: inset(0 100% 0 0); }
.note svg { width: 60px; height: 52px; fill: none; stroke: var(--gold); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
.n-you svg { width: 84px; height: 49px; }
.n-try svg { margin-left: auto; }
.n-file { display: grid; justify-items: start; }
.n-file .strike-line { width: 120px; height: 20px; margin: -20px 0 0 -4px; clip-path: inset(0 100% 0 0); }
.n-file .then { opacity: 0; margin-top: 4px; }
.n-watching { white-space: normal; }
.tag { position: absolute; left: 0; top: 0; color: var(--gold); font: 600 clamp(21px, 3.2svh, 30px)/1 var(--hand); opacity: 0; white-space: nowrap; }

/* ---------- the reveal ---------- */
.reveal { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.r-book { position: absolute; left: 0; top: 0; width: 100px; height: 150px; opacity: 0; }
.r-book .b-body { transform: none; }
.r-panel { position: absolute; left: 22px; right: 22px; top: calc(43svh + 6px); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; opacity: 0; visibility: hidden; }
.r-panel.on { pointer-events: auto; visibility: visible; }
.hook { font: 700 clamp(26px, 7vw, 46px)/1.1 var(--sans); }
.hook em { font-style: normal; color: var(--gold); }
.hook span { display: block; }
.r-by { font: 500 16px/1.4 var(--sans); }
.r-cta { display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 360px; }
.r-price { font: 500 15px/1.3 var(--sans); }
.r-blurb { display: none; }
.r-chapter { display: inline-flex; align-items: center; min-height: 44px; font: 600 16px/1 var(--sans); color: var(--gold); }

/* ---------- the still story (no JavaScript, reduced motion) ---------- */
.still { padding: 24px 22px 40px; }
.st { max-width: 860px; margin: 0 auto; padding: 56px 0; border-top: 2px solid var(--gold); }
.st-art { display: flex; align-items: flex-end; gap: 24px; justify-content: center; margin-bottom: 32px; }
.st-s { height: 90px; width: auto; }
.st-l { height: 180px; width: auto; }
.st-say { font: 800 clamp(30px, 8vw, 60px)/1.05 var(--sans); }
.st-small { font-size: clamp(22px, 5vw, 36px); margin-top: 16px; }
.st-notes { font: 600 26px/1.2 var(--hand); color: var(--gold); margin-top: 18px; }
.st-book { display: grid; gap: 28px; justify-items: center; text-align: center; }
.st-book > div { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.st-cover { width: min(60vw, 260px); height: auto; box-shadow: 0 18px 30px rgba(5,25,45,.4); }

/* ---------- after the story ---------- */
.wrap { max-width: 760px; margin: 0 auto; padding: 0 22px; }
.about { padding: 56px 0 72px; }
.about h2, .ice h2, .dusk h2 { font: 700 clamp(28px, 7vw, 44px)/1.1 var(--sans); margin-bottom: 20px; }
.about p { margin-bottom: 16px; font-size: 18px; }
.about .lede { font-size: 21px; line-height: 1.45; }
.stores { margin-top: 32px; padding-top: 24px; border-top: 2px solid var(--gold); }
.stores-h { font-weight: 700; }
.stores ul { list-style: none; padding: 0; margin: 14px 0; display: flex; flex-wrap: wrap; gap: 10px; }
.stores .btn { min-height: 48px; padding: 0 20px; font-size: 16px; }

.ice { position: relative; background: var(--white); color: var(--navy); padding: 64px 0 110px; }
.ice-edge { position: absolute; left: 0; width: 100%; height: 60px; top: -59px; fill: var(--white); }
.ice-edge-b { top: auto; bottom: 0; height: 60px; fill: var(--blue); }
.ice h2 { color: var(--blue); margin-top: 56px; }
.ice h2:first-of-type { margin-top: 0; }
.takeaways { padding: 0; list-style: none; counter-reset: k; display: grid; gap: 14px; }
.takeaways li { counter-increment: k; position: relative; padding-left: 52px; font-size: 18px; line-height: 1.45; min-height: 36px; }
.takeaways li::before { content: counter(k); position: absolute; left: 0; top: -2px; width: 36px; height: 36px; border-radius: 50%; background: var(--gold); color: var(--navy);
  display: grid; place-items: center; font: 700 16px/1 var(--sans); }
.quotes { display: grid; gap: 16px; }
.card { background: var(--ice); border-left: 4px solid var(--gold); border-radius: 6px; padding: 22px 22px 18px; }
.card blockquote { font: italic 400 19px/1.5 var(--sans); }
.card figcaption { margin-top: 10px; font: 600 15px/1.4 var(--sans); color: var(--blue); }
.page { background: #fbfaf6; border: 1px solid #e6e1d3; border-radius: 4px; padding: 28px 24px; box-shadow: 0 10px 24px rgba(18,58,92,.10); }
.page p { font-size: 18px; line-height: 1.7; margin-bottom: 14px; }
.page .page-h { font: 600 14px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--blue); margin-bottom: 18px; }
.mail { margin-top: 16px; display: grid; gap: 8px; }
.mail label { font: 600 16px/1.2 var(--sans); }
.mail-row { display: grid; gap: 10px; }
.mail input { min-height: 52px; padding: 0 16px; border-radius: 10px; border: 2px solid #b9cde0; font: 400 17px/1 var(--sans); color: var(--navy); background: var(--white); width: 100%; }
.dusk .mail input { border-color: transparent; }

.dusk { position: relative; padding: 48px 0 0; }
.bio { font-size: 18px; line-height: 1.6; }
.note-box { margin-top: 44px; padding: 26px 22px; border: 2px solid var(--gold); border-radius: 10px; }
.note-box h3, .faq h3 { font: 700 24px/1.2 var(--sans); color: var(--gold); margin-bottom: 8px; }
.faq { margin-top: 44px; }
.faq details { border-bottom: 1px solid rgba(255,255,255,.35); }
.faq summary { min-height: 52px; display: flex; align-items: center; font: 600 18px/1.3 var(--sans); cursor: pointer; list-style: none; padding-right: 28px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; color: var(--gold); font-size: 24px; }
.faq details[open] summary::after { content: '−'; }
.faq details p { padding: 0 0 16px; font-size: 18px; }
.end { margin-top: 44px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.end .btn { width: 100%; max-width: 360px; }
.insta { display: inline-flex; align-items: center; min-height: 44px; font: 600 16px/1 var(--sans); color: var(--gold); }
.walk-off { position: relative; height: 110px; margin-top: 30px; overflow: hidden; }
.wo-line { position: absolute; left: 0; right: 0; bottom: 18px; height: 2px; background: var(--gold); }
.wo-pair { position: absolute; bottom: 20px; left: 30%; display: flex; align-items: flex-end; gap: 14px; }
.wo-s { height: 42px; width: auto; }
.wo-l { height: 82px; width: auto; transform: scaleX(-1); }
@supports (animation-timeline: view()) {
  .wo-pair { animation: walkoff linear both; animation-timeline: view(); animation-range: entry 20% cover 60%; }
  @keyframes walkoff { from { transform: translateX(-30vw); } to { transform: translateX(0); } }
}
.foot { padding: 18px 22px calc(var(--tape-h) + 28px); text-align: center; font: 400 16px/1.5 var(--sans); }

/* fade once on entry, after the story */
@supports (animation-timeline: view()) {
  html.film .fade { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
}

/* ---------- wide screens ---------- */
@media (min-width: 640px) {
  .mail-row { grid-template-columns: 1fr auto; }
  .quotes { grid-template-columns: 1fr; }
}
@media (min-aspect-ratio: 9/10) and (min-width: 600px) {
  :root { --top: 64px; }
  .hero { justify-content: center; align-items: flex-start; text-align: left; padding: var(--top) 0 calc(14svh + 10px) 6vw; gap: 0; }
  .hero > * { max-width: 44vw; }
  .hero > .hero-figure { max-width: none; }
  .hero-quote { display: block; order: 1; max-width: 36vw; margin-bottom: 3svh; }
  .hero-quote blockquote { font: italic 400 clamp(14px, 1.15vw, 17px)/1.45 var(--sans); }
  .hero-quote figcaption { margin-top: 6px; color: var(--gold); font: 700 clamp(14px, 1.1vw, 16px)/1.3 var(--sans); }
  .title { order: 2; font-size: clamp(44px, min(6.4vw, 11svh), 112px); line-height: .98; }
  .promise { order: 3; margin-top: 2.6svh; font-size: clamp(18px, min(1.9vw, 3.4svh), 30px); max-width: 40vw; }
  .byline { order: 4; margin-top: 2.6svh; padding-left: 0; }
  .hero-cta { order: 5; margin-top: 3.4svh; flex-direction: row; width: auto; gap: 18px; justify-content: flex-start; }
  .hero-cta .btn { width: auto; }
  .hero-cta .btn, .walk { white-space: nowrap; }
  .hero-figure { position: absolute; inset: 0; display: block; min-height: 0; }
  .hero-book { position: absolute; right: 7vw; top: calc(50% - .54 * min(64svh, 46vw)); height: min(64svh, 46vw); max-height: none; }
  .hero-penguin { position: absolute; left: 50vw; bottom: calc(100% - var(--gy, 86svh)); height: 26svh; margin: 0; }
  .hero-line { left: 0; right: 0; top: 86svh; bottom: auto; }
  .say { left: 6vw; right: auto; max-width: 64vw; top: 10svh; font-size: clamp(34px, min(5vw, 8.4svh), 84px); }
  .s3 { font-size: clamp(60px, min(10vw, 17svh), 170px); }
  .s3all { font-size: clamp(20px, 2vw, 30px); }
  .s4 { max-width: 90vw; }
  .s4 .big { font-size: clamp(54px, min(8vw, 13svh), 140px); }
  .s4 .not { font-size: clamp(30px, min(4.4vw, 8svh), 72px); }
  .s5b { font-size: clamp(28px, min(3.8vw, 7svh), 62px); }
  .r-panel { left: 52vw; right: 6vw; top: 50%; transform: translateY(-50%); align-items: flex-start; text-align: left; }
  .r-cta { flex-direction: row; flex-wrap: wrap; max-width: none; }
  .hook { font-size: clamp(30px, min(3.6vw, 6.4svh), 58px); }
  .r-blurb { display: block; max-width: 34em; font-size: 18px; line-height: 1.5; }
  .st-book { grid-template-columns: auto 1fr; text-align: left; justify-items: start; }
  .st-book > div { align-items: flex-start; }
}
/* short wide screens (a phone on its side): drop the quote and byline, tighten the hero */
@media (min-aspect-ratio: 9/10) and (min-width: 600px) and (max-height: 560px) {
  .hero-quote, .byline { display: none; }
  .hero { padding-top: calc(var(--top) - 6px); padding-bottom: calc(var(--tape-h) + 40px); }
  .title { font-size: clamp(34px, 10svh, 60px); }
  .promise { font-size: 17px; margin-top: 8px; }
  .hero-cta { margin-top: 10px; }
  .hero-cta .btn { min-height: 46px; }
  .hero-book { height: 60svh; top: 14svh; }
  .hero-line { top: calc(100svh - 64px); }
  .hero-penguin { bottom: 64px; height: 24svh; left: 61vw; }
  .say { top: calc(var(--top) + 2px); font-size: clamp(24px, 7.6svh, 40px); }
  .s3 { font-size: 16svh; }
  .s4 .big { font-size: 13svh; }
  .s4 .not { font-size: 8svh; }
  .r-panel { gap: 8px; }
  .r-by, .r-chapter, .r-blurb { display: none; }
  .hook { font-size: 7svh; }
}
@media (min-width: 900px) {
  .quotes { grid-template-columns: repeat(3, 1fr); }
  .wrap { max-width: 1040px; }
  .about .wrap, .dusk .wrap { max-width: 820px; }
}
/* small phones: give the book room */
@media (max-aspect-ratio: 9/10) and (max-height: 700px) {
  .hero { gap: 7px; }
  .title { font-size: clamp(34px, 9.6vw, 44px); }
  .promise { font-size: 19px; }
  .byline { font-size: 13px; }
  .hero-cta { gap: 2px; }
}

/* ---------- concept tape ---------- */
.tape { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; height: var(--tape-h); display: flex; align-items: center; gap: 8px;
  padding: 0 8px env(safe-area-inset-bottom); background: rgba(250, 204, 21, .92); color: #111; font: 700 12px/1 var(--sans); pointer-events: none; }
.tape-run { flex: 1; overflow: hidden; height: 22px; display: flex; align-items: center; border-radius: 3px;
  background: repeating-linear-gradient(135deg, rgba(0,0,0,.08) 0 10px, transparent 10px 20px); }
.tape-track { display: flex; white-space: nowrap; animation: tape 40s linear infinite; }
.tape-track span { padding: 0 1.2em; letter-spacing: .04em; text-transform: uppercase; }
.tape.paused .tape-track { animation-play-state: paused; }
@keyframes tape { to { transform: translateX(-50%); } }
.tape-pause { pointer-events: auto; flex: none; width: 44px; height: 44px; border: 0; padding: 0; border-radius: 8px; background: #111; color: #facc15; display: grid; place-items: center; cursor: pointer; }
.tape-pause span { display: grid; place-items: center; }
.tape-cta { pointer-events: auto; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 44px; padding: 0 12px; border-radius: 8px;
  background: #111; color: #facc15; text-decoration: none; font: 700 12px/1.15 var(--sans); white-space: nowrap; }
.tape-cta small { font-size: 12px; font-weight: 500; color: #fff; }
@media (prefers-reduced-motion: reduce) { .tape-track { animation: none; } .btn { transition: none; } }
