@font-face { font-family: "Tatsam"; src: url(fonts/tatsam-book.ttf); font-weight: 400; font-display: swap; }
@font-face { font-family: "Tatsam"; src: url(fonts/tatsam-medium.ttf); font-weight: 500; font-display: swap; }
@font-face { font-family: "Tatsam"; src: url(fonts/tatsam-bold.ttf); font-weight: 700; font-display: swap; }
@font-face { font-family: "Garamond Web"; src: url(fonts/garamond.ttf); font-weight: 400; font-display: swap; }
@font-face { font-family: "Garamond Web"; src: url(fonts/garamond-italic.ttf); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Garamond Web"; src: url(fonts/garamond-bold.ttf); font-weight: 700; font-display: swap; }

:root {
  --paper: #f6f2e9;
  --cream: #fbf9f3;
  --white: #ffffff;
  --ink: #15262a;
  --muted: #58676a;
  --line: #ddd8ca;
  --teal: #0f4a4e;
  --teal-2: #0a3639;
  --gold: #e3ab3f;
  --gold-ink: #8a6210;
  --font: "Garamond Web", "Tatsam", Georgia, serif;
  --radius: 4px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 20px/1.72 var(--font); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font); font-weight: 700; line-height: 1.32; margin: 0; }
p { margin: 0; }
i { font-style: italic; }
.wrap { width: min(1180px, 100% - 56px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 30; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.mark { font: 400 30px/1 "Garamond Web", Georgia, serif; color: var(--teal); text-decoration: none; }
.top nav { display: flex; align-items: center; gap: 34px; }
.top nav a { text-decoration: none; font-weight: 500; font-size: 19px; }
.top nav a:not(.nav-cta) { border-bottom: 2px solid transparent; padding-bottom: 2px; transition: border-color .2s; }
.top nav a:not(.nav-cta):hover { border-color: var(--gold); }
.top nav .nav-cta { background: var(--teal); color: #fff; padding: 8px 20px; border-radius: var(--radius); transition: background .2s; }
.top nav .nav-cta:hover { background: var(--teal-2); }

/* buttons */
.btn { display: inline-block; font: 500 20px/1.3 var(--font); padding: 14px 30px; border-radius: var(--radius); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, transform .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-solid { background: var(--teal); color: #fff; }
.btn-solid:hover { background: var(--teal-2); }
.btn-line { border-color: var(--teal); color: var(--teal); }
.btn-line:hover { background: var(--teal); color: #fff; }

/* hero */
.hero { overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1.25fr .75fr; gap: 40px; align-items: end; min-height: 660px; }
.hero-text { padding: 76px 0 92px; }
.eyebrow { color: var(--gold-ink); font-size: 23px; line-height: 1.3; margin-bottom: 14px; }
h1 { font-size: clamp(44px, 6.3vw, 84px); line-height: 1.24; letter-spacing: -.3px; max-width: 13ch; }
.lead { font-size: 23px; line-height: 1.65; color: var(--muted); max-width: 44ch; margin-top: 24px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-art { position: relative; height: 620px; align-self: end; }
.arch { position: absolute; left: 50%; bottom: 0; width: 370px; height: 540px; margin-left: -185px; background: var(--gold); border-radius: 185px 185px 0 0; }
.hero-art img { position: absolute; left: 50%; bottom: 0; height: 576px; width: auto; transform: translateX(-50%); }
.float { position: absolute; width: 138px; height: 192px; color: #fff; padding: 13px 11px 10px 18px; border-radius: 2px 5px 5px 2px; box-shadow: 6px 8px 0 #15262a22; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.float::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 7px; background: #00000033; }
.float b { font: 700 19px/1.15 "Garamond Web", serif; }
.float span { font: italic 400 13px/1.2 "Garamond Web", serif; }
.f1 { left: 0; top: 150px; transform: rotate(-8deg); }
.f2 { right: 0; top: 300px; transform: rotate(7deg); z-index: 2; }

/* ticker */
.ticker { background: var(--teal); color: #f0e7d2; overflow: hidden; padding: 13px 0; }
.ticker-in { display: flex; width: max-content; animation: slide 90s linear infinite; }
.ticker span { font: italic 400 22px/1.3 "Garamond Web", serif; white-space: nowrap; padding-right: 26px; }
.ticker span::after { content: "\2022"; color: var(--gold); padding-left: 26px; font-style: normal; }
@keyframes slide { to { transform: translateX(-50%); } }

/* how */
.how { padding: 72px 0; }
.how-in { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.how-in > div { padding: 0 36px; border-left: 1px solid var(--line); }
.how-in > div:first-child { padding-left: 0; border-left: 0; }
.how span { font: italic 400 30px/1 "Garamond Web", serif; color: var(--gold-ink); }
.how h3 { font-size: 27px; margin-top: 10px; }
.how p { color: var(--muted); margin-top: 6px; }

/* covers */
.cover { aspect-ratio: 2 / 3; border-radius: 2px 6px 6px 2px; color: #fff; padding: 22px 18px 18px 28px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; box-shadow: 7px 9px 0 #15262a1f; transition: transform .25s, box-shadow .25s; }
.cover::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 11px; background: #00000030; }
.cover i { position: absolute; inset: 10px 10px 10px 21px; border: 1px solid #ffffff55; pointer-events: none; }
.cover b { font: 700 25px/1.18 "Garamond Web", serif; overflow-wrap: anywhere; position: relative; }
.cover span { font: italic 400 16px/1.25 "Garamond Web", serif; position: relative; }
.book:hover .cover { transform: translateY(-7px) rotate(-1deg); box-shadow: 10px 14px 0 #15262a26; }

/* featured */
.featured { background: var(--cream); border-block: 1px solid var(--line); padding: 84px 0; }
.feat-in { display: grid; grid-template-columns: 320px 1fr; gap: 76px; align-items: center; max-width: 960px; }
.feat-cover { aspect-ratio: 2 / 3; color: #fff; padding: 30px 24px 22px 38px; border-radius: 2px 6px 6px 2px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; box-shadow: 10px 12px 0 #15262a22; transform: rotate(-2deg); }
.feat-cover::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 15px; background: #00000030; }
.feat-cover b { font: 700 42px/1.1 "Garamond Web", serif; }
.feat-cover span { font: italic 400 21px/1.2 "Garamond Web", serif; }
.featured h2 { font-size: clamp(36px, 4vw, 52px); line-height: 1.15; }
.feat-author { font-style: italic; color: var(--muted); font-size: 23px; margin-top: 4px; }
blockquote { margin: 24px 0 12px; padding-left: 20px; border-left: 3px solid var(--gold); font-size: 27px; line-height: 1.55; font-weight: 500; }
.feat-video { color: var(--muted); margin-bottom: 20px; }

/* books */
.books { padding: 88px 0; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; flex-wrap: wrap; }
h2 { font-size: clamp(36px, 4.2vw, 54px); }
.sub { color: var(--muted); margin-top: 6px; }
.search input { width: 340px; max-width: 100%; }
input, select, textarea { width: 100%; font: 400 19px/1.5 var(--font); color: var(--ink); background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 11px 14px; }
input:focus, select:focus, textarea:focus { border-color: var(--teal); outline: 0; box-shadow: 0 0 0 2px var(--teal); }
.filters { display: flex; flex-wrap: wrap; gap: 4px 26px; margin: 28px 0 40px; border-bottom: 1px solid var(--line); }
.chip { font: 500 20px/1.3 var(--font); background: none; color: var(--muted); border: 0; border-bottom: 3px solid transparent; margin-bottom: -1px; padding: 9px 0; cursor: pointer; transition: color .2s; }
.chip:hover { color: var(--ink); }
.chip[aria-pressed="true"] { color: var(--teal); border-color: var(--gold); }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 52px 34px; }
.book { display: flex; flex-direction: column; }
.tag { font: italic 400 18px/1.3 var(--font); color: var(--gold-ink); margin-top: 20px; }
.book p.lesson { font-size: 20px; line-height: 1.55; margin-top: 4px; flex: 1; }
.book p.from { font-size: 17px; color: var(--muted); margin-top: 6px; }
.buy { margin-top: 12px; font: 500 18px/1.3 var(--font); text-align: center; padding: 9px; border-radius: var(--radius); text-decoration: none; background: var(--teal); color: #fff; transition: background .2s; }
.buy:hover { background: var(--teal-2); }
.buy.off { background: none; color: var(--muted); border: 1px solid var(--line); }
.buy.wide { display: inline-block; padding: 10px 26px; }
.empty { padding: 30px 0; color: var(--muted); }
.note { margin-top: 56px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 17px; color: var(--muted); }

/* about */
.about { background: var(--cream); border-top: 1px solid var(--line); padding: 76px 0; }
.about-in { display: flex; gap: 40px; align-items: center; max-width: 900px; }
.about-in img { flex: none; border-radius: 50%; border: 3px solid var(--gold); }
.about-in h2 { font-size: 38px; }
.about-in p { color: var(--muted); margin-top: 8px; }

/* sponsor */
.sponsor { background: var(--teal); color: #fff; padding: 92px 0; }
.sponsor-in { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start; }
.sponsor-copy > p { color: #d9e5e3; margin-top: 12px; }
.offers { list-style: none; padding: 0; margin: 30px 0; }
.offers li { padding: 15px 0; border-top: 1px solid #2f6669; }
.offers strong { display: block; font-weight: 700; font-size: 23px; color: var(--gold); }
.offers span { color: #d9e5e3; font-size: 19px; }
.sponsor-copy .promise { font-size: 18px; }
.form { background: var(--white); color: var(--ink); border-radius: 6px; padding: 34px; display: grid; gap: 16px; }
.form h3 { font-size: 30px; }
.form label { display: block; font-weight: 500; font-size: 18px; }
.form label em { font-style: normal; font-weight: 400; color: var(--muted); }
.form input, .form select, .form textarea { margin-top: 4px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hp { position: absolute; left: -9999px; width: 1px; }
.form [aria-invalid="true"] { border-color: #b5302c; }
.form .btn:disabled { opacity: .6; cursor: default; }
.status { font-size: 18px; min-height: 1.5em; }
.status.bad { color: #a12521; }
.status.ok { color: #1f7a55; }

/* footer */
footer { background: var(--ink); color: #c9d3d2; padding: 34px 0; }
.foot-in { display: flex; justify-content: space-between; align-items: center; gap: 22px; flex-wrap: wrap; }
footer .mark { color: #fff; font-size: 28px; }
footer nav { display: flex; gap: 24px; }
footer a { text-decoration: none; }
footer a:hover { color: #fff; }

@media (max-width: 1040px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .sponsor-in { grid-template-columns: 1fr; gap: 40px; }
  .hero-in { grid-template-columns: 1fr; min-height: 0; gap: 0; }
  .hero-text { padding: 56px 0 30px; }
  .hero-art { width: min(480px, 100%); margin-inline: auto; height: 560px; }
  .arch { height: 480px; }
  .hero-art img { height: 520px; }
}
@media (max-width: 720px) {
  body { font-size: 19px; }
  .wrap { width: calc(100% - 32px); }
  .top-in { height: 66px; }
  .mark { font-size: 26px; }
  .top nav { gap: 16px; }
  .top nav a:not(.nav-cta) { display: none; }
  h1 { font-size: 42px; }
  .lead { font-size: 21px; }
  .hero-art { height: 450px; }
  .arch { width: 270px; height: 390px; margin-left: -135px; border-radius: 135px 135px 0 0; }
  .hero-art img { height: 424px; }
  .float { width: 100px; height: 140px; padding: 9px 7px 7px 13px; }
  .float b { font-size: 14px; }
  .float span { font-size: 10px; }
  .f1 { top: 120px; }
  .f2 { top: 240px; }
  .how { padding: 52px 0; }
  .how-in { grid-template-columns: 1fr; gap: 26px; }
  .how-in > div, .how-in > div:first-child { padding: 0; border: 0; }
  .feat-in { grid-template-columns: 1fr; gap: 36px; }
  .feat-cover { width: 220px; }
  .feat-cover b { font-size: 30px; }
  .feat-cover span { font-size: 16px; }
  .featured { padding: 56px 0; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 36px 16px; }
  .cover { padding: 15px 11px 12px 21px; }
  .cover i { inset: 7px 7px 7px 16px; }
  .cover::before { width: 8px; }
  .cover b { font-size: 19px; }
  .cover span { font-size: 13px; }
  .search, .search input { width: 100%; }
  .filters { gap: 2px 18px; flex-wrap: nowrap; overflow-x: auto; }
  .chip { white-space: nowrap; flex: none; }
  .about-in { flex-direction: column; align-items: flex-start; }
  .two { grid-template-columns: 1fr; }
  .form { padding: 24px 18px; }
  .books, .sponsor { padding: 60px 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-in { animation: none; }
  .cover, .btn { transition: none; }
}

/* ---------- top level layer: story, motion, dark hero ---------- */
.progress { position: fixed; inset: 0 auto auto 0; height: 3px; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: 0 50%; z-index: 40; }
.loader { display: none; }
.js .loader { display: flex; position: fixed; inset: 0; z-index: 60; background: var(--teal-2); color: #f3ead6; align-items: center; justify-content: center; font: 400 44px/1 "Garamond Web", serif; transition: transform .8s cubic-bezier(.76, 0, .24, 1); }
.js .loader span { opacity: 0; animation: fadeUp .6s .1s forwards; }
.loaded .loader { transform: translateY(-101%); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.top { transition: transform .35s; }
.top.away { transform: translateY(-100%); }
.hero { background: var(--teal-2); color: #f6efdf; }
.hero .eyebrow { color: var(--gold); }
.hero .lead { color: #c7d6d3; }
.hero .btn-solid { background: var(--gold); color: var(--ink); }
.hero .btn-solid:hover { background: #f0bd58; }
.hero .btn-line { border-color: #f6efdf; color: #f6efdf; }
.hero .btn-line:hover { background: #f6efdf; color: var(--teal-2); }
.hero-in { min-height: calc(100vh - 74px); max-height: 900px; }
h1 .w { display: inline-block; overflow: hidden; vertical-align: top; padding-block: .08em; margin-block: -.08em; }
h1 .w > span { display: inline-block; }
.js h1 .w > span { transform: translateY(110%); }
.loaded h1 .w > span { transform: none; transition: transform .9s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(.45s + var(--i) * .07s); }
.float { will-change: transform; }
.ticker { background: var(--gold); color: var(--ink); }
.ticker span::after { color: var(--teal); }

/* story */
.story { display: grid; grid-template-columns: 1.05fr .95fr; background: var(--st, #f6f2e9); color: var(--ink); transition: background .7s, color .7s; }
.story[data-step="1"] { --st: #f3e3bd; }
.story[data-step="2"] { --st: #eebb6a; }
.story[data-step="3"] { --st: #23403f; color: #f6efdf; }
.story[data-step="4"] { --st: #0f4a4e; color: #f6efdf; }
.stage-wrap { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; justify-content: center; padding: 30px; }
.stage { width: min(600px, 100%); }
.stage svg { display: block; width: 100%; height: auto; max-height: 88vh; overflow: visible; }
.stage text { font-family: var(--font); font-weight: 500; text-anchor: middle; }
.win { fill: #cfe8ef; transition: fill .7s; }
[data-step="1"] .win { fill: #bfe3ee; } [data-step="2"] .win { fill: #f4a35a; } [data-step="3"] .win, [data-step="4"] .win { fill: #1a2c4a; }
.frame { stroke: #fff; stroke-width: 10; fill: none; } .frame-o { fill: none; stroke: #fff; stroke-width: 14; }
.clock { fill: #fff; } .clock-o { fill: none; stroke: var(--ink); stroke-width: 8; }
.ticks path { stroke: var(--ink); stroke-width: 6; }
.hand { stroke: var(--ink); stroke-width: 9; stroke-linecap: round; } .hand.thin { stroke-width: 5; } .pin { fill: #c2432f; }
.shelf { fill: #7a4f2d; }
.cup-b { fill: #fbf7ee; } .cup-h { fill: none; stroke: #fbf7ee; stroke-width: 20; }
.tea { fill: #7a4a22; transition: fill 1s; } [data-step="2"] .tea, [data-step="3"] .tea, [data-step="4"] .tea { fill: #a8794a; }
.film { fill: #dcc4a4; opacity: 0; transition: opacity 1s; } [data-step="2"] .film, [data-step="3"] .film, [data-step="4"] .film { opacity: 1; }
.steam path { fill: none; stroke: #c9bfa8; stroke-width: 11; stroke-linecap: round; stroke-dasharray: 60 40; animation: steam 2.6s linear infinite; }
.steam path:nth-child(2) { animation-delay: .5s; } .steam path:nth-child(3) { animation-delay: 1s; }
.steam { transition: opacity .8s; } [data-step="1"] .steam { opacity: .45; } [data-step="2"] .steam, [data-step="3"] .steam, [data-step="4"] .steam { opacity: 0; }
@keyframes steam { to { stroke-dashoffset: -100; } }
.chores g { opacity: 0; transform: translateY(14px) scale(.9); transform-box: fill-box; transform-origin: center; transition: opacity .4s, transform .5s cubic-bezier(.3, 1.5, .5, 1); }
.chores rect { fill: var(--teal); } .chores text { fill: #fff; font-size: 26px; }
[data-step="1"] .chores g { opacity: 1; transform: none; }
.chores g:nth-child(2) { transition-delay: .12s; } .chores g:nth-child(3) { transition-delay: .24s; } .chores g:nth-child(4) { transition-delay: .36s; }
.ask { opacity: 0; transform: translateY(20px); transition: opacity .5s, transform .5s; }
.ask rect, .ask path { fill: #fff; } .ask text { fill: var(--ink); font-size: 36px; font-weight: 700; }
[data-step="3"] .ask { opacity: 1; transform: none; }
.bk { opacity: 0; transform: translateY(-80px) rotate(-5deg); transform-box: fill-box; transform-origin: center; transition: opacity .5s, transform .8s cubic-bezier(.3, 1.3, .5, 1); }
.bk rect:first-child { fill: #c8603a; } .bk rect:nth-child(2) { fill: #a64a2a; }
.bk text { fill: #fff; font-family: "Garamond Web", serif; font-size: 38px; font-weight: 700; } .bk .au { font-size: 17px; font-style: italic; font-weight: 400; }
[data-step="4"] .bk { opacity: 1; transform: none; }
.cup { transition: transform .8s cubic-bezier(.3, 1, .5, 1); }
[data-step="4"] .cup { transform: translateX(-150px); }
.steps { padding: 0 56px 0 24px; }
.step { min-height: 92vh; display: flex; flex-direction: column; justify-content: center; opacity: .25; transition: opacity .5s; max-width: 520px; }
.step.on { opacity: 1; }
.step .when { font-size: 24px; line-height: 1.3; opacity: .75; }
.step h2 { font-size: clamp(36px, 3.6vw, 54px); line-height: 1.26; margin: 8px 0 14px; }
.step p { font-size: 22px; }
.step .btn { margin-top: 24px; align-self: flex-start; background: var(--gold); color: var(--ink); }

/* reveal */
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity .8s, transform .8s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--d, 0) * 1ms); }
.js .rv.in { opacity: 1; transform: none; }

/* covers as buttons, tilt */
.cover { width: 100%; border: 0; text-align: left; cursor: pointer; font: inherit; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .2s, box-shadow .25s; }
.book { perspective: 900px; }
.book:hover .cover { transform: translateY(-8px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); box-shadow: 12px 16px 0 #15262a26; }

/* book sheet */
.sheet { border: 0; padding: 0; border-radius: 8px; width: min(820px, calc(100% - 32px)); background: var(--cream); color: var(--ink); }
.sheet[open] { animation: fadeUp .35s; }
.sheet::backdrop { background: #0a2426; opacity: .78; }
.sh-in { display: grid; grid-template-columns: 250px 1fr; gap: 40px; padding: 40px; align-items: center; }
.sh-cover { aspect-ratio: 2 / 3; color: #fff; padding: 22px 16px 16px 28px; border-radius: 2px 6px 6px 2px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; box-shadow: 8px 10px 0 #15262a22; transform: rotate(-2deg); }
.sh-cover::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 12px; background: #00000030; }
.sh-cover b { font: 700 30px/1.15 "Garamond Web", serif; } .sh-cover span { font: italic 400 18px/1.2 "Garamond Web", serif; }
.sheet h2 { font-size: 36px; line-height: 1.15; }
.sheet blockquote { font-size: 23px; }
.x { position: absolute; right: 12px; top: 8px; background: none; border: 0; font-size: 34px; line-height: 1; cursor: pointer; color: var(--ink); padding: 6px 12px; }

footer { padding: 56px 0 30px; }
footer .mark.big { font-size: clamp(44px, 8vw, 96px); }

@media (max-width: 900px) {
  .story { grid-template-columns: 1fr; }
  .stage-wrap { height: 50vh; padding: 12px 16px 0; z-index: 1; background: var(--st, #f6f2e9); transition: background .7s; }
  .stage svg { max-height: 46vh; }
  .steps { padding: 0 20px; position: relative; }
  .step { min-height: 72vh; justify-content: flex-start; padding-top: 24px; max-width: none; }
  .step p { font-size: 20px; }
  .sh-in { grid-template-columns: 1fr; gap: 24px; padding: 28px 20px; }
  .sh-cover { width: 170px; }
  .sh-cover b { font-size: 22px; } .sh-cover span { font-size: 14px; }
  .hero-in { min-height: 0; max-height: none; }
}
@media (prefers-reduced-motion: reduce) {
  .js .loader { display: none; }
  .js h1 .w > span, .js .rv { transform: none; opacity: 1; transition: none; }
  .steam path, .ticker-in { animation: none; }
  .step { opacity: 1; }
  .story, .top { transition: none; }
}

/* ---------- polish round ---------- */
.js .top.over { background: var(--teal-2); border-color: #1f4a4c; }
.js .top.over .mark, .js .top.over nav a { color: #f6efdf; }
.js .top.over nav .nav-cta { background: var(--gold); color: var(--ink); }
.top, .top .mark, .top nav a { transition: background .35s, color .35s, transform .35s, border-color .35s; }

/* covers with artwork */
.cover::after, .feat-cover::after, .sh-cover::after, .float::after { content: ""; position: absolute; inset: 3px 0 3px auto; width: 4px; background: #f3ead6; opacity: .75; }
.art { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
.cover b, .cover span, .feat-cover b, .feat-cover span, .sh-cover b, .sh-cover span, .float b, .float span { position: relative; }
.cover i { display: none; }
.cover { justify-content: flex-start; gap: 8px; }
.cover span { margin-top: 0; }
.feat-cover { justify-content: flex-start; gap: 10px; }
.sh-cover { justify-content: flex-start; gap: 8px; }
.float { justify-content: flex-start; gap: 5px; }

/* shelf of spines */
.shelf-row { margin-top: 34px; overflow-x: auto; scrollbar-width: none; }
.shelf-row::-webkit-scrollbar { display: none; }
.spines { display: flex; align-items: flex-end; gap: 3px; height: 250px; min-width: max-content; padding: 26px 8px 0; border-bottom: 16px solid #7a4f2d; }
.spine { width: 47px; flex: none; border: 0; border-radius: 3px 3px 0 0; color: #fff; padding: 12px 0; cursor: pointer; display: flex; justify-content: center; overflow: hidden; transition: transform .28s cubic-bezier(.3, 1.4, .5, 1); position: relative; }
.spine::before, .spine::after { content: ""; position: absolute; left: 0; right: 0; height: 3px; background: #ffffff55; }
.spine::before { top: 8px; } .spine::after { bottom: 8px; }
.spine span { writing-mode: vertical-rl; transform: rotate(180deg); font: 400 17px/1 "Garamond Web", serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-height: 100%; }
.spine:hover, .spine:focus-visible { transform: translateY(-20px); }
.filters { margin-top: 38px; }

/* numbered how */
.how { padding: 92px 0; }
.how span { font-size: 64px; color: var(--gold); }
.how h3 { font-size: 32px; margin-top: 16px; }

/* big quote */
.quote { background: var(--gold); padding: 96px 0; }
.quote .eyebrow { color: #5e4208; }
.quote-in { text-align: center; max-width: 980px; transition: opacity .45s; }
.quote-in.swap .q-text, .quote-in.swap .q-from { opacity: 0; transform: translateY(10px); }
.q-text { font-size: clamp(34px, 4.6vw, 62px); font-weight: 700; line-height: 1.34; min-height: 2.7em; display: flex; align-items: center; justify-content: center; transition: opacity .45s, transform .45s; }
.q-from { font-style: italic; font-size: 23px; margin-top: 14px; transition: opacity .45s; color: #4a3608; }

/* about */
.about { padding: 96px 0; }
.about-in { display: grid; grid-template-columns: 220px 1fr; gap: 56px; align-items: center; max-width: 980px; }
.about-side { text-align: center; }
.about-side img { width: 150px; height: 150px; margin: 0 auto 12px; }
.about-side .mark { font-size: 25px; }
.about-in h2 { font-size: clamp(34px, 3.6vw, 48px); line-height: 1.3; }
.about-in .eyebrow { margin-bottom: 8px; color: var(--gold-ink); }
.about-in > div:last-child > p:last-child { color: var(--muted); margin-top: 12px; font-size: 21px; }

/* sponsor and footer */
.sponsor h2 { font-size: clamp(40px, 4.8vw, 62px); }
.form { box-shadow: 10px 12px 0 #00000026; }
.foot-in { align-items: flex-end; }
.foot-line { font-size: 22px; color: var(--gold); margin-top: 6px; }

@media (max-width: 720px) {
  .spines { height: 200px; }
  .spine { width: 42px; }
  .how { padding: 56px 0; }
  .how span { font-size: 46px; }
  .quote { padding: 62px 0; }
  .q-text { min-height: 4.2em; }
  .about { padding: 60px 0; }
  .about-in { grid-template-columns: 1fr; gap: 22px; }
  .about-side { display: flex; align-items: center; gap: 14px; text-align: left; }
  .about-side img { width: 84px; height: 84px; margin: 0; }
}
@media (prefers-reduced-motion: reduce) { .spine, .q-text, .q-from, .quote-in { transition: none; } }

/* ---------- phone first pass ---------- */
.info { display: contents; }
.b-t, .b-a, .more, .mbar, .grab { display: none; }
.sheet { max-height: 90vh; }

@media (hover: none) {
  .book:hover .cover { transform: none; box-shadow: 7px 9px 0 #15262a1f; }
  .btn:hover { transform: none; }
}

@media (max-width: 900px) {
  /* tablet and phone story */
  .stage-wrap { height: 46vh; height: 46svh; top: 0; }
  .stage svg { max-height: 43vh; max-height: 43svh; }
  .step { min-height: 58vh; min-height: 58svh; padding-top: 18px; }
}

@media (max-width: 720px) {
  html { scroll-padding-top: 66px; }
  body { font-size: 18px; line-height: 1.66; padding-bottom: env(safe-area-inset-bottom); }
  .top .nav-cta { display: none; }
  .js .top.away { transform: none; }

  /* hero: one clean screen */
  .hero-in { display: block; }
  .hero-text { padding: 34px 0 20px; }
  .eyebrow { font-size: 20px; margin-bottom: 8px; }
  h1 { font-size: clamp(36px, 11.2vw, 46px); line-height: 1.26; max-width: none; }
  .lead { font-size: 19px; line-height: 1.6; margin-top: 14px; }
  .actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
  .actions .btn { text-align: center; padding: 13px 8px; font-size: 18px; }
  .hero-art { height: 340px; width: 100%; max-width: 360px; }
  .arch { width: 216px; height: 290px; margin-left: -108px; border-radius: 108px 108px 0 0; }
  .hero-art img { height: 322px; }
  .float { width: 84px; height: 118px; padding: 7px 6px 6px 11px; }
  .float b { font-size: 12.5px; } .float span { font-size: 9px; }
  .float::before { width: 5px; }
  .f1 { left: 4px; top: 96px; } .f2 { right: 4px; top: 176px; }
  .ticker { padding: 9px 0; } .ticker span { font-size: 19px; }

  /* story */
  .steps { padding: 0 20px; }
  .step { min-height: 60vh; min-height: 60svh; }
  .step .when { font-size: 20px; }
  .step h2 { font-size: 30px; line-height: 1.3; margin: 2px 0 8px; }
  .step p { font-size: 19px; line-height: 1.6; }
  .step:last-child { min-height: 62svh; padding-bottom: 30px; }

  /* how: compact rows */
  .how { padding: 44px 0; }
  .how-in { gap: 0; }
  .how-in > div, .how-in > div:first-child { display: grid; grid-template-columns: 58px 1fr; column-gap: 8px; padding: 16px 0; border-top: 1px solid var(--line); }
  .how-in > div:first-child { border-top: 0; }
  .how span { grid-row: span 2; font-size: 38px; }
  .how h3 { font-size: 23px; margin: 0; }
  .how p { font-size: 18px; margin-top: 2px; }

  /* featured */
  .featured { padding: 44px 0; }
  .feat-in { display: grid; grid-template-columns: 120px 1fr; gap: 18px; align-items: start; }
  .feat-cover { width: 120px; padding: 12px 8px 8px 16px; box-shadow: 5px 6px 0 #15262a22; gap: 5px; }
  .feat-cover::before { width: 7px; }
  .feat-cover b { font-size: 17px; } .feat-cover span { font-size: 11px; }
  .featured .eyebrow { font-size: 18px; margin-bottom: 2px; }
  .featured h2 { font-size: 28px; }
  .feat-author { font-size: 18px; }
  .featured blockquote { grid-column: 1 / -1; font-size: 21px; margin: 12px 0 8px; }
  .feat-video { font-size: 16px; margin-bottom: 10px; }

  /* library */
  .books { padding: 44px 0 34px; }
  .sec-head { gap: 16px; }
  .books h2 { font-size: 32px; }
  .sub { font-size: 17px; }
  .search input { padding: 12px 14px; font-size: 18px; }
  .shelf-row { margin: 20px -16px 0; padding: 0 16px; scroll-snap-type: x proximity; }
  .spines { height: 168px; padding: 18px 4px 0; border-bottom-width: 12px; }
  .spine { width: 40px; scroll-snap-align: start; }
  .spine span { font-size: 15px; }
  .spine:hover, .spine:focus-visible { transform: none; }
  .filters { position: sticky; top: 0; z-index: 8; background: var(--paper); margin: 18px -16px 16px; padding: 8px 16px; gap: 8px; border: 0; border-bottom: 1px solid var(--line); scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .chip { min-height: 40px; padding: 7px 16px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--white); color: var(--ink); font-size: 17px; margin: 0; }
  .chip[aria-pressed="true"] { background: var(--teal); border-color: var(--teal); color: #fff; }

  /* book row card */
  .grid { grid-template-columns: 1fr; gap: 12px; }
  .book { display: grid; grid-template-columns: 96px 1fr; gap: 14px; background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 12px; perspective: none; }
  .book .cover { width: 96px; height: 144px; aspect-ratio: auto; padding: 9px 5px 6px 12px; gap: 3px; box-shadow: 3px 4px 0 #15262a1f; border-radius: 1px 4px 4px 1px; align-self: start; }
  .book .cover::before { width: 5px; } .book .cover::after { width: 2px; }
  .book .cover b { font-size: 12.5px; line-height: 1.14; } .book .cover span { font-size: 9px; }
  .info { display: flex; flex-direction: column; min-width: 0; }
  .tag { margin: 0; font-size: 15.5px; }
  .b-t { display: block; font: 700 21px/1.16 "Garamond Web", serif; margin-top: 1px; overflow-wrap: anywhere; }
  .b-a { display: block; font: italic 400 15.5px/1.3 "Garamond Web", serif; color: var(--muted); }
  .book p.lesson { font-size: 17px; line-height: 1.45; margin-top: 5px; flex: none; }
  .book p.from { display: none; }
  .buy { margin-top: 9px; font-size: 16px; padding: 7px 10px; min-height: 40px; display: flex; align-items: center; justify-content: center; }
  .more { display: block; width: 100%; margin-top: 14px; min-height: 50px; background: var(--white); border: 1.5px solid var(--teal); color: var(--teal); border-radius: 8px; font: 500 18px/1.3 var(--font); cursor: pointer; }
  .more[hidden] { display: none; }
  .note { margin-top: 24px; font-size: 15.5px; }

  /* quote, about, sponsor */
  .quote { padding: 44px 0; }
  .quote .eyebrow { font-size: 18px; }
  .q-text { font-size: 28px; min-height: 5.2em; line-height: 1.32; }
  .q-from { font-size: 17px; margin-top: 6px; min-height: 2.6em; }
  .about { padding: 44px 0; }
  .about-in { gap: 14px; }
  .about-in h2 { font-size: 28px; }
  .about-in > div:last-child > p:last-child { font-size: 18px; }
  .sponsor { padding: 46px 0 40px; }
  .sponsor h2 { font-size: 34px; }
  .offers { margin: 16px 0; }
  .offers li { padding: 10px 0; }
  .offers strong { font-size: 20px; } .offers span { font-size: 17px; }
  .form { padding: 20px 16px; gap: 12px; box-shadow: none; }
  .form h3 { font-size: 25px; }
  .form .btn { width: 100%; text-align: center; }

  /* bottom sheet */
  .sheet { width: 100%; max-width: 100%; margin: auto 0 0; border-radius: 16px 16px 0 0; max-height: 88vh; max-height: 88svh; }
  .sheet[open] { animation: sheetUp .32s cubic-bezier(.2, .8, .2, 1); }
  .grab { display: block; width: 44px; height: 5px; border-radius: 3px; background: var(--line); margin: 10px auto 0; }
  .sh-in { grid-template-columns: 104px 1fr; gap: 16px; padding: 16px 18px calc(22px + env(safe-area-inset-bottom)); align-items: start; }
  .sh-cover { width: 104px; padding: 10px 6px 6px 14px; gap: 4px; box-shadow: 4px 5px 0 #15262a22; }
  .sh-cover::before { width: 6px; }
  .sh-cover b { font-size: 14px; } .sh-cover span { font-size: 10px; }
  .sheet h2 { font-size: 23px; }
  .sheet .feat-author { font-size: 16px; }
  .sheet .tag { font-size: 15.5px; }
  .sh-in > div:last-child { display: contents; }
  .sheet .tag, .sheet h2, .sheet .feat-author { grid-column: 2; }
  .sh-cover { grid-row: 1 / span 4; }
  .sheet blockquote { grid-column: 1 / -1; font-size: 20px; margin: 8px 0 2px; }
  .sheet .feat-video { grid-column: 1 / -1; font-size: 16px; margin: 0; }
  #shB { grid-column: 1 / -1; }
  #shB > * { display: block; text-align: center; width: 100%; }
  .x { top: 10px; right: 6px; }

  /* bottom bar */
  .mbar { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; background: var(--teal-2); padding: 5px 8px calc(5px + env(safe-area-inset-bottom)); gap: 4px; transform: translateY(110%); transition: transform .3s; }
  .mbar.show { transform: none; }
  .mbar a { text-align: center; text-decoration: none; color: #c7d6d3; font-weight: 500; font-size: 16.5px; padding: 8px 2px; border-radius: 6px; min-height: 42px; }
  .mbar a.on { color: var(--gold); }
  .mbar a.go { background: var(--gold); color: var(--ink); }
  footer { padding: 34px 0 calc(84px + env(safe-area-inset-bottom)); }
  footer .mark.big { font-size: 44px; }
  .foot-in { flex-direction: column; align-items: flex-start; gap: 12px; }
}
@keyframes sheetUp { from { transform: translateY(100%); } to { transform: none; } }

@media (max-width: 350px) {
  h1 { font-size: 33px; }
  .book { grid-template-columns: 80px 1fr; gap: 10px; padding: 10px; }
  .book .cover { width: 80px; height: 120px; }
  .book .cover b { font-size: 11px; }
  .b-t { font-size: 19px; }
  .step h2 { font-size: 26px; }
  .q-text { font-size: 25px; }
}
/* phones held sideways: story scrolls as plain content */
@media (max-height: 520px) and (max-width: 950px) {
  .story { grid-template-columns: 1fr; }
  .stage-wrap { position: static; height: auto; }
  .stage { width: 300px; }
  .step { min-height: 0; padding: 22px 0; opacity: 1; }
  .hero-in { display: grid; grid-template-columns: 1fr 240px; }
  .hero-art { height: 300px; }
}
@media (prefers-reduced-motion: reduce) { .mbar { transition: none; } .sheet[open] { animation: none; } }

[hidden] { display: none !important; }

/* ---------- final audit ---------- */
html:has(dialog[open]) { overflow: hidden; }
.hero-in { min-height: min(calc(100vh - 74px), 860px); max-height: none; }
.nf { min-height: 100vh; display: grid; place-items: center; padding: 24px; text-align: center; }
.nf .actions { justify-content: center; }
.nf h1 { font-size: clamp(34px, 6vw, 56px); max-width: none; }
.nf .lead { margin-inline: auto; }
.nf .eyebrow { color: var(--gold-ink); }
@media (min-width: 721px) and (max-width: 1040px) {
  .hero-in { display: grid; grid-template-columns: 1.2fr .8fr; gap: 16px; min-height: 0; }
  .hero-text { padding: 56px 0 64px; }
  h1 { font-size: clamp(40px, 5.6vw, 54px); }
  .lead { font-size: 20px; }
  .hero-art { width: 100%; height: 450px; margin: 0; }
  .arch { width: 250px; height: 370px; margin-left: -125px; border-radius: 125px 125px 0 0; }
  .hero-art img { height: 420px; }
  .float { width: 96px; height: 134px; padding: 8px 6px 6px 12px; }
  .float b { font-size: 13.5px; } .float span { font-size: 10px; }
  .f1 { left: -4px; top: 110px; } .f2 { right: -4px; top: 200px; }
}
@media (max-width: 720px) {
  .mark { display: inline-block; padding: 10px 0; }
  .filters { top: 66px; }
}
@media (max-width: 720px) { .hero-in { min-height: 0; } }
@media (min-width: 1041px) and (max-height: 820px) {
  h1 { font-size: clamp(50px, 4.9vw, 66px); }
  .lead { font-size: 21px; margin-top: 16px; }
  .hero-text { padding: 46px 0 56px; }
  .actions { margin-top: 24px; }
  .hero-art { height: 560px; }
  .arch { height: 470px; }
  .hero-art img { height: 520px; }
  .f1 { top: 110px; } .f2 { top: 250px; }
}
