/* Rotimi Mayormikun Owootomo — author site
   Type: Lora (display + text), Poppins (interface). Self-hosted, subset to Latin. */

@font-face { font-family: "Lora"; src: url("/assets/fonts/lora.woff") format("woff"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Lora"; src: url("/assets/fonts/lora-italic.woff") format("woff"); font-weight: 400 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/assets/fonts/poppins-400.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/assets/fonts/poppins-500.woff") format("woff"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --night: #0b1928;
  --night-deep: #07111d;
  --raise: #112339;
  --chalk: #efe9df;
  --mist: #a3afbf;
  --gold: #e8b96f;
  --gold-hi: #f3cf92;
  --gold-line: rgba(232, 185, 111, .38);
  --rule: #21374f;
  --hearth: #e0805f;          /* terracotta lifted for text on navy; matches the Two Hearts cover */
  --hearth-deep: #a94428;
  --serif: "Lora", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --ui: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --measure: 38rem;
  --wrap: 74rem;
  --gutter: clamp(1.25rem, 4vw, 3rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--night); color: var(--chalk);
  font-family: var(--serif); font-size: 1.125rem; line-height: 1.7;
  font-optical-sizing: auto; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip; min-height: 100vh; display: flex; flex-direction: column;
}
main { flex: 1 0 auto; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure, blockquote, dl { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--gold); color: var(--night); }

/* film grain: one fixed layer gives the navy a printed, paper-like depth */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .055; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 2px; }
.skip { position: absolute; left: -999px; top: .75rem; z-index: 200; background: var(--gold); color: var(--night); padding: .6rem 1rem; font-family: var(--ui); font-size: .9rem; border-radius: 3px; }
.skip:focus { left: .75rem; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }

/* ============ header ============ */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(11, 25, 40, .72); -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2); border-bottom: 1px solid transparent; transition: border-color .3s ease, background .3s ease; }
.site-head.is-scrolled { border-bottom-color: var(--rule); background: rgba(11, 25, 40, .88); }
.site-head .bar { display: flex; align-items: center; justify-content: space-between; gap: .75rem 2rem; flex-wrap: wrap; padding-block: 1.1rem; }
.wordmark { text-decoration: none; font-size: 1.15rem; font-weight: 500; letter-spacing: .005em; line-height: 1.2; }
.site-nav { display: flex; gap: .25rem 1.9rem; flex-wrap: wrap; }
.site-nav a { font-family: var(--ui); font-size: .875rem; font-weight: 500; text-decoration: none; color: var(--mist); padding-block: .35rem; border-bottom: 1px solid transparent; transition: color .2s ease, border-color .2s ease; }
.site-nav a:hover { color: var(--chalk); }
.site-nav a[aria-current="page"] { color: var(--chalk); border-bottom-color: var(--gold); }

/* ============ type ============ */
h1, h2, h3 { font-weight: 400; letter-spacing: -.018em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); line-height: 1.06; letter-spacing: -.025em; }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1.1; margin-bottom: 1.1rem; }
h3 { font-size: 1.5rem; line-height: 1.2; }
p { max-width: var(--measure); text-wrap: pretty; }
p + p { margin-top: 1.1rem; }
.muted { color: var(--mist); }
.small { font-size: .9375rem; }
.italic { font-style: italic; }
.lede { font-size: clamp(1.2rem, 2vw, 1.4rem); line-height: 1.55; color: var(--chalk); }
.note { font-size: .9375rem; color: var(--mist); margin-top: 1.1rem; }

.link { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: .28em; transition: color .2s ease, text-decoration-color .2s ease; }
.link:hover { color: var(--gold-hi); }

.btn { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--ui); font-weight: 500; font-size: .9375rem; text-decoration: none; padding: .95rem 1.7rem; border-radius: 3px; color: var(--night); background: linear-gradient(180deg, var(--gold-hi), var(--gold)); box-shadow: 0 1px 0 rgba(255,255,255,.5) inset, 0 10px 28px -10px rgba(232,185,111,.55); transition: transform .2s ease, box-shadow .2s ease; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,.5) inset, 0 14px 32px -10px rgba(232,185,111,.7); }
.btn-ghost { background: transparent; color: var(--chalk); box-shadow: 0 0 0 1px var(--gold-line) inset; }
.btn-ghost:hover { box-shadow: 0 0 0 1px var(--gold) inset; background: rgba(232,185,111,.07); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1rem; margin-top: 2rem; }

section { position: relative; padding-block: clamp(4.5rem, 10vw, 8rem); }
.band { border-top: 1px solid var(--rule); }

/* ============ the 3D book ============ */
.stage { position: relative; display: grid; place-items: center; perspective: 1700px; --px: 0; --py: 0; }
.slot { grid-area: 1 / 1; position: relative; display: grid; place-items: center; opacity: 0; transform: translateY(14px) scale(.985); transition: opacity .5s ease, transform .6s cubic-bezier(.2,.7,.2,1); pointer-events: none; }
.slot.is-active { opacity: 1; transform: none; pointer-events: auto; }
.slot::before { content: ""; position: absolute; width: min(150%, 92vw); aspect-ratio: 1; top: 50%; left: 50%; transform: translate(-50%, -52%); background: radial-gradient(closest-side, var(--glow, rgba(232,185,111,.22)), transparent 72%); pointer-events: none; }
.slot::after { content: ""; position: absolute; left: 50%; bottom: -1.1rem; width: 82%; height: 1.7rem; transform: translateX(-46%); background: radial-gradient(ellipse at center, rgba(0,0,0,.55), transparent 70%); filter: blur(7px); pointer-events: none; }
.book { --w: min(20rem, 72vw); --t: 1.7rem; --ry: -24deg; --rx: 3deg; position: relative; width: var(--w); transform-style: preserve-3d; transform: rotateX(calc(var(--rx) + var(--py) * -3deg)) rotateY(calc(var(--ry) + var(--px) * 9deg)); transition: transform .7s cubic-bezier(.2,.7,.2,1); display: block; text-decoration: none; }
.book .front { position: relative; transform: translateZ(calc(var(--t) / 2)); border-radius: 2px 6px 6px 2px; overflow: hidden; background: #111; }
.book .front img { width: 100%; height: auto; }
.book .front::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0,0,0,.34) 0, rgba(255,255,255,.13) 1.6%, rgba(0,0,0,.07) 3.4%, transparent 6%),
    linear-gradient(118deg, rgba(255,255,255,.17) 0%, rgba(255,255,255,0) 38%); }
.book .back { position: absolute; inset: 0; transform: translateZ(calc(var(--t) / -2)); background: #0a0a0c; border-radius: 6px 2px 2px 6px; }
.book .pages { position: absolute; top: 1.4%; bottom: 1.4%; right: 0; width: var(--t); transform-origin: right center; transform: translateZ(calc(var(--t) / -2)) rotateY(90deg);
  background: repeating-linear-gradient(90deg, #f6f1e7 0 1.5px, #d3cab8 1.5px 3px); box-shadow: inset 0 0 14px rgba(0,0,0,.28); }
.book .spine { position: absolute; top: 0; bottom: 0; left: 0; width: var(--t); transform-origin: left center; transform: translateZ(calc(var(--t) / -2)) rotateY(-90deg); background: linear-gradient(90deg, #15100e, #2a1a14 45%, #15100e); }
.book-link:hover .book, .book-link:focus-visible .book, .stage:hover .slot.is-active .book { --ry: -12deg; }
.book-link { display: block; text-decoration: none; }

.book.sm { --w: 12.5rem; --t: 1.05rem; --ry: -22deg; }
.book.md { --w: min(16rem, 72vw); --t: 1.35rem; }

/* ============ hero ============ */
.hero { padding-block: clamp(2.5rem, 6vh, 4.5rem) clamp(4rem, 9vh, 7rem); overflow: hidden; background:
  radial-gradient(60rem 38rem at 78% 30%, rgba(224,128,95,.10), transparent 70%),
  radial-gradient(48rem 30rem at 5% 100%, rgba(232,185,111,.07), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.tagline { font-size: clamp(2rem, 4.7vw, 4.2rem); line-height: 1.04; letter-spacing: -.03em; }
.tagline .lead { display: block; font-size: clamp(1.05rem, 1.7vw, 1.3rem); letter-spacing: 0; line-height: 1.4; color: var(--mist); margin-bottom: 1.1rem; }
.tagline a { display: block; text-decoration: none; padding-block: .04em; transition: color .3s ease; }
.tagline a .of { display: block; font-size: clamp(.95rem, 1.35vw, 1.1rem); font-style: italic; letter-spacing: 0; line-height: 1.4; color: var(--mist); margin: .25rem 0 .55rem; transition: color .3s ease; }
.tagline a:hover, .tagline a:focus-visible { color: var(--gold-hi); }
.tagline a:hover .of, .tagline a:focus-visible .of { color: var(--chalk); }
.tagline:has(a:hover) a:not(:hover), .tagline:has(a:focus-visible) a:not(:focus-visible) { color: #6d7f95; }
.hero .intro { margin-top: 2rem; max-width: 33rem; font-size: 1.2rem; color: var(--mist); }
.hero .intro strong { color: var(--chalk); font-weight: 500; }
.hero .stage .book { --w: min(22rem, 31vw); }

/* the one orchestrated moment: the page assembles in reading order */
@media (prefers-reduced-motion: no-preference) {
  [data-rise] { opacity: 0; animation: rise .95s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: calc(var(--i, 0) * 130ms + 60ms); }
  @keyframes rise { from { opacity: 0; transform: translateY(.9rem); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .slot, .book, .btn { transition: none; } }

/* ============ feature band: the new book ============ */
.feature { background:
  radial-gradient(52rem 34rem at 12% 40%, rgba(169,68,40,.30), transparent 72%),
  linear-gradient(180deg, #0d1c2e, #0a1624); }
.split { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2.5rem, 7vw, 7rem); align-items: center; }
.split.flip { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.split.flip > :first-child { order: 2; }
.split.tf { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.split.tf .portrait { justify-self: end; }
.kicker { font-size: 1.0625rem; font-style: italic; color: var(--hearth); margin-bottom: .8rem; }
.subtitle { font-size: 1.2rem; line-height: 1.5; color: var(--mist); margin-bottom: 1.4rem; max-width: 34rem; }

/* 30 days, five stages: proportional to the real day counts */
.journey { margin-top: clamp(3rem, 6vw, 4.5rem); display: grid; grid-template-columns: 7fr 6fr 6fr 5fr 6fr; gap: 1.1rem .8rem; }
.stage-step { --n: 7; --c: #8ea8c8; min-width: 0; }
.stage-step:nth-child(2) { --n: 6; --c: #79b3ae; }
.stage-step:nth-child(3) { --n: 6; --c: var(--gold); }
.stage-step:nth-child(4) { --n: 5; --c: var(--hearth); }
.stage-step:nth-child(5) { --n: 6; --c: #f1e6d4; }
.stage-step .days { height: .85rem; border-radius: 1px; background-image: linear-gradient(90deg, var(--c) calc(100% - 3px), transparent 0); background-size: calc(100% / var(--n)) 100%; margin-bottom: 1rem; }
.stage-step h3 { font-size: 1.3rem; margin-bottom: .15rem; }
.stage-step .range { font-family: var(--ui); font-size: .8125rem; color: var(--c); margin-bottom: .55rem; }
.stage-step p { font-size: 1rem; line-height: 1.55; color: var(--mist); }

/* ============ shelf ============ */
.shelf { margin-top: clamp(3rem, 6vw, 4.5rem); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 4rem); }
.shelf-item { display: flex; flex-direction: column; align-items: flex-start; }
.shelf-item .stage { width: 100%; margin-bottom: 2.2rem; min-height: 21rem; place-items: end start; padding-left: .6rem; }
.shelf-item .slot { place-items: end start; }
.shelf-item .slot { opacity: 1; transform: none; pointer-events: auto; }
.shelf-item h3 { margin-bottom: .3rem; font-style: italic; }
.shelf-item .for { color: var(--gold); font-size: 1rem; margin-bottom: .7rem; font-style: italic; }
.shelf-item p { color: var(--mist); font-size: 1.0625rem; }
.shelf-item .buy { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; margin-top: 1.2rem; font-size: 1rem; }

/* ============ quote ============ */
.quote { text-align: center; background: radial-gradient(40rem 20rem at 50% 50%, rgba(232,185,111,.07), transparent 70%); }
.quote blockquote { margin-inline: auto; max-width: 48rem; font-size: clamp(1.8rem, 3.8vw, 2.9rem); line-height: 1.22; font-style: italic; letter-spacing: -.015em; text-wrap: balance; }
.quote p { max-width: none; margin-inline: auto; }
.quote cite { display: block; margin-top: 1.6rem; font-style: normal; font-family: var(--ui); font-size: .875rem; color: var(--mist); }
.quote .mark { display: block; width: 3rem; height: 1px; background: var(--gold); margin: 0 auto 2.2rem; }

/* ============ about ============ */
.portrait { position: relative; max-width: 25rem; width: 100%; }
.portrait .frame { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 2px; background: var(--raise); box-shadow: 0 40px 70px -35px rgba(0,0,0,.8); }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.portrait::before { content: ""; position: absolute; inset: 1.1rem -1.1rem -1.1rem 1.1rem; border: 1px solid var(--gold-line); border-radius: 2px; z-index: -1; }
.principles { margin-top: 2.6rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6rem 2rem; }
.principles li { border-top: 1px solid var(--gold-line); padding-top: 1rem; }
.principles h3 { font-size: 1.25rem; margin-bottom: .35rem; }
.principles p { font-size: 1rem; color: var(--mist); line-height: 1.6; }

/* ============ journal ============ */
.essays { margin-top: 2.5rem; border-top: 1px solid var(--rule); }
.essays li { border-bottom: 1px solid var(--rule); }
.essays a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .4rem 2rem; align-items: baseline; padding-block: 1.7rem; text-decoration: none; transition: padding .25s ease, background .25s ease; }
.essays a:hover { padding-left: .8rem; background: linear-gradient(90deg, rgba(232,185,111,.06), transparent); }
.essays h2, .essays h3 { font-size: clamp(1.35rem, 2.4vw, 1.8rem); line-height: 1.2; margin: 0; transition: color .2s ease; }
.essays a:hover h2, .essays a:hover h3 { color: var(--gold-hi); }
.essays p { grid-column: 1; color: var(--mist); font-size: 1.0625rem; margin-top: .35rem; }
.essays .time { grid-column: 2; grid-row: 1; font-family: var(--ui); font-size: .8125rem; color: var(--mist); white-space: nowrap; }

/* ============ closing call ============ */
.closing { text-align: center; background: radial-gradient(50rem 24rem at 50% 100%, rgba(232,185,111,.10), transparent 70%); }
.closing h2 { max-width: 22ch; margin-inline: auto; }
.closing p { margin-inline: auto; }
.closing .actions { justify-content: center; }

/* ============ inner pages ============ */
.page-head { padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(2rem, 4vw, 3rem); }
.page-head h1 { max-width: 16ch; }
.page-head .lede { margin-top: 1.4rem; color: var(--mist); max-width: 36rem; }

.book-hero { padding-block: clamp(3rem, 7vw, 6rem) clamp(3.5rem, 8vw, 6rem); overflow: hidden; background: radial-gradient(56rem 34rem at 22% 45%, var(--tint, rgba(232,185,111,.10)), transparent 72%); }
.book-hero.hearts { --tint: rgba(169,68,40,.30); }
.book-hero.minds { --tint: rgba(110,150,205,.17); }
.book-hero.lives { --tint: rgba(232,185,111,.14); }
.book-hero h1 { font-style: italic; font-size: clamp(2.5rem, 5.5vw, 4.25rem); }
.facts { display: flex; flex-wrap: wrap; gap: .5rem 2.2rem; margin-top: 1.8rem; font-family: var(--ui); font-size: .875rem; color: var(--mist); }
.facts dt { display: none; }
.facts dd { margin: 0; position: relative; }
.facts dd:not(:first-of-type)::before { content: ""; position: absolute; left: -1.15rem; top: .55em; width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }

.checks { margin-top: 1.3rem; max-width: var(--measure); }
.checks li { position: relative; padding: .55rem 0 .55rem 1.9rem; border-top: 1px solid var(--rule); color: var(--chalk); }
.checks li:last-child { border-bottom: 1px solid var(--rule); }
.checks li::before { content: ""; position: absolute; left: .15rem; top: 1.1rem; width: .55rem; height: .55rem; background: var(--gold); transform: rotate(45deg); }

.sample { margin-top: 2.2rem; background: #f4eee3; color: #231a16; border-radius: 3px; padding: clamp(1.6rem, 4vw, 2.8rem); box-shadow: 0 50px 80px -40px rgba(0,0,0,.8); max-width: 44rem; position: relative; }
.sample::before { content: ""; position: absolute; inset: 0 0 0 0; border-radius: 3px; background: linear-gradient(90deg, rgba(0,0,0,.09), transparent 3%); pointer-events: none; }
.sample .day { font-family: var(--ui); font-size: .8125rem; color: #8a3a22; margin-bottom: .2rem; }
.sample h3 { font-size: 1.9rem; color: #7a2e24; margin-bottom: 1rem; }
.sample dl { display: grid; grid-template-columns: auto 1fr; gap: .15rem 1rem; font-size: 1rem; background: #ece2d4; border-left: 3px solid #a94428; padding: .8rem 1rem; margin-bottom: 1.5rem; }
.sample dt { font-weight: 600; color: #7a2e24; }
.sample dd { margin: 0; }
.sample h4 { font-family: var(--ui); font-size: .9rem; font-weight: 500; color: #7a2e24; margin: 1.4rem 0 .5rem; }
.sample ol { padding-left: 1.3rem; list-style: decimal; }
.sample ul { padding-left: 1.2rem; list-style: disc; }
.sample li { padding-block: .2rem; padding-left: .3rem; }
.sample li::marker { color: #a94428; font-weight: 600; }
.sample p { max-width: none; }

.faq { margin-top: 2.2rem; max-width: 46rem; border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; padding: 1.25rem 2.5rem 1.25rem 0; font-size: 1.2rem; position: relative; transition: color .2s ease; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .3rem; top: 1.05rem; font-family: var(--ui); font-weight: 400; font-size: 1.6rem; line-height: 1; color: var(--gold); transition: transform .25s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--gold-hi); }
.faq .answer { padding: 0 0 1.5rem; color: var(--mist); }

.who { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem 3rem; margin-top: 1.8rem; max-width: 52rem; }
.who li { border-top: 1px solid var(--gold-line); padding-top: .8rem; color: var(--mist); font-size: 1.0625rem; line-height: 1.6; }
.who b { display: block; color: var(--chalk); font-weight: 500; margin-bottom: .1rem; }

.care { margin-top: 3rem; padding: 1.4rem 1.6rem; border: 1px solid var(--rule); border-left: 3px solid var(--hearth); border-radius: 2px; max-width: 46rem; color: var(--mist); font-size: 1rem; background: rgba(17,35,57,.55); }
.care strong { color: var(--chalk); font-weight: 500; }

/* ============ essays ============ */
.article-head { padding-block: clamp(3.5rem, 8vw, 6rem) 2rem; }
.article-head .back { font-family: var(--ui); font-size: .875rem; color: var(--mist); text-decoration: none; display: inline-block; margin-bottom: 2.2rem; }
.article-head .back:hover { color: var(--gold-hi); }
.article-head h1 { max-width: 20ch; font-size: clamp(2.2rem, 5vw, 3.8rem); }
.article-head .byline { margin-top: 1.6rem; font-family: var(--ui); font-size: .875rem; color: var(--mist); }
.prose { max-width: var(--measure); padding-bottom: 2rem; }
.prose .lede { margin-bottom: 2.6rem; color: var(--mist); }
.prose h2 { font-size: clamp(1.45rem, 2.4vw, 1.85rem); margin: 3rem 0 .8rem; line-height: 1.2; text-wrap: balance; }
.prose p { font-size: 1.1875rem; line-height: 1.82; max-width: none; }
.try { margin-top: 3rem; padding: 1.6rem 1.8rem; border-left: 2px solid var(--gold); background: linear-gradient(90deg, rgba(232,185,111,.08), transparent); }
.try h2 { margin: 0 0 .6rem; font-size: 1.4rem; }
.read-next { border-top: 1px solid var(--rule); margin-top: 3rem; }
.next-grid { display: grid; grid-template-columns: minmax(0, 14rem) minmax(0, 1fr); gap: 2.4rem; align-items: center; }
.pager { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem 2rem; margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid var(--rule); font-size: 1.0625rem; }
.pager a { text-decoration: none; max-width: 24rem; }
.pager small { display: block; font-family: var(--ui); font-size: .8125rem; color: var(--mist); margin-bottom: .15rem; }
.pager a:hover span { color: var(--gold-hi); }
.pager .next { text-align: right; margin-left: auto; }

/* ============ contact ============ */
.contact-big { display: inline-block; font-size: clamp(1.5rem, 4.2vw, 2.6rem); line-height: 1.2; letter-spacing: -.01em; word-break: break-word; }
.contact-list { margin-top: 3rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 3rem; max-width: 46rem; }
.contact-list h2 { font-size: 1.35rem; margin-bottom: .5rem; }
.contact-list p { color: var(--mist); font-size: 1.0625rem; }

/* ============ footer ============ */
.site-foot { flex-shrink: 0; border-top: 1px solid var(--rule); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; background: var(--night-deep); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, .6fr)); gap: 2.5rem; }
.foot-grid .sig { font-size: 1.5rem; line-height: 1.25; max-width: 18rem; margin-bottom: .6rem; }
.foot-grid p { color: var(--mist); font-size: 1rem; }
.foot-grid h2 { font-family: var(--ui); font-weight: 500; font-size: .875rem; letter-spacing: 0; color: var(--chalk); margin-bottom: .8rem; }
.foot-grid ul li + li { margin-top: .35rem; }
.foot-grid a { color: var(--mist); text-decoration: none; font-size: 1rem; }
.foot-grid a:hover { color: var(--gold-hi); }
.legal { margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid var(--rule); display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 2rem; font-family: var(--ui); font-size: .8125rem; color: var(--mist); }

/* ============ 404 ============ */
.lost { min-height: 60vh; display: grid; align-content: center; padding-block: 5rem; }

/* ============ responsive ============ */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero .stage { order: 3; margin-top: 1rem; }
  .tagline { font-size: clamp(1.9rem, 8vw, 3.6rem); }
  .hero .stage .book { --w: min(15rem, 60vw); }
  .split, .split.flip, .split.tf { grid-template-columns: 1fr; }
  .split.tf > .portrait { order: -1; justify-self: start; }
  .split.flip > :first-child { order: 0; }
  .split .stage { justify-self: center; margin-bottom: 1rem; }
  .shelf { grid-template-columns: 1fr; gap: 3.5rem; }
  .shelf-item { align-items: stretch; }
  .shelf-item .stage { min-height: 0; }
  .shelf-item .book { --w: 12rem; }
  .principles { grid-template-columns: 1fr; }
  .journey { grid-template-columns: 1fr; gap: 1.6rem; }
  .stage-step .days { max-width: 22rem; }
  .next-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > :first-child { grid-column: 1 / -1; }
  .who, .contact-list { grid-template-columns: 1fr; }
  .portrait { max-width: 17rem; }
  .feature .split > .stage { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 1.0625rem; }
  .site-head .bar { padding-block: .85rem; }
  .essays a { grid-template-columns: 1fr; }
  .essays .time { grid-column: 1; grid-row: auto; }
  .btn { width: 100%; justify-content: center; }
  .actions { flex-direction: column; align-items: stretch; }
  .closing .actions { align-items: stretch; }
}

/* ---- fixes found while building the markup ---- */
.book .front { display: block; }
.stage-step p + p { margin-top: 0; }
.stage-step .range { margin-top: 0; }
.slot > a { display: block; text-decoration: none; }

/* ---- editorial two-column sections ---- */
.cols { display: grid; grid-template-columns: minmax(0, .62fr) minmax(0, 1.38fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.cols > :first-child { position: sticky; top: 6.5rem; }
.cols .who, .cols .faq { margin-top: 0; max-width: none; }
.cols .checks { margin-top: 1rem; max-width: none; }
.cols .care { margin-top: 2.2rem; max-width: none; }
.look { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.look-text { position: sticky; top: 6.5rem; }
.look .sample { margin-top: 0; }
@media (max-width: 960px) {
  .cols, .look { grid-template-columns: 1fr; }
  .cols > :first-child, .look-text { position: static; }
}

.wrap.narrow { width: min(46rem, 100% - 2 * var(--gutter)); }
.article-head h1 { max-width: none; }
.prose { max-width: none; }

/* ---- small-screen safety + tap targets (WCAG 2.2: at least 24px; 44px on touch) ---- */
.split > *, .cols > *, .look > *, .hero-grid > * { min-width: 0; }
.wordmark { display: inline-flex; align-items: center; min-height: 1.75rem; }
.site-nav a { display: inline-flex; align-items: center; min-height: 1.75rem; }
.link { display: inline-block; padding-block: .3rem; }
.shelf-item .buy a, .contact-list a, .essays a { min-height: 1.75rem; }
.article-head .back { display: inline-flex; align-items: center; min-height: 2rem; }
.foot-grid a { display: inline-block; padding-block: .25rem; }
.pager a { display: block; padding-block: .3rem; }
.faq summary { min-height: 2.75rem; }
@media (pointer: coarse), (max-width: 560px) {
  .wordmark, .site-nav a { min-height: 2.75rem; }
  .site-head .bar { padding-block: .35rem; gap: 0 1.5rem; }
  .site-nav { gap: 0 1.4rem; }
  .link { padding-block: .6rem; }
  .shelf-item .buy { gap: 0 1.2rem; }
  .foot-grid a { padding-block: .55rem; }
  .article-head .back { min-height: 2.75rem; }
  .btn { min-height: 2.75rem; }
}


/* ============ new-book signup ============ */
.signup { margin-top: 1.6rem; max-width: 34rem; position: relative; }
.closing .signup { margin-inline: auto; }
.signup-row { display: flex; gap: .75rem; align-items: stretch; }
.field { flex: 1 1 auto; min-width: 0; min-height: 3rem; font: 400 1rem/1.2 var(--ui); color: var(--chalk); background: rgba(239,233,223,.06); border: 1px solid #52667d; border-radius: 3px; padding: .8rem 1rem; }
.field::placeholder { color: #8d9bad; }
.field:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-color: var(--gold); }
.field[aria-invalid="true"] { border-color: var(--hearth); }
.signup .btn { flex: 0 0 auto; border: 0; cursor: pointer; }
.signup .btn[disabled] { opacity: .65; cursor: progress; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fine { margin-top: .8rem; font-size: .875rem; line-height: 1.6; color: var(--mist); }
.fine a, .status a { color: var(--gold-hi); text-underline-offset: 3px; }
.status { min-height: 1.5rem; margin-top: .5rem; font-size: .9375rem; color: var(--chalk); }
.status.is-error { color: var(--hearth); }
.closing .alt { margin-top: 1.4rem; }
.signup-col .signup { margin-top: 1rem; }
.signup-col { grid-column: 1 / -1; padding-top: 1rem; border-top: 1px solid var(--rule); }
@media (max-width: 40rem) {
  .signup-row { flex-direction: column; }
  .signup .btn { width: 100%; justify-content: center; }
}
@media (max-width: 40rem) {
  .contact-list { grid-template-columns: minmax(0, 1fr); }
  .signup-col, .signup { min-width: 0; }
}

/* ============ availability notes ============ */
.avail { margin-top: 1rem; font-family: var(--ui); font-size: .875rem; line-height: 1.6; color: var(--mist); max-width: 34rem; }
.shelf-item .avail { margin-top: .7rem; }
.signup-col { scroll-margin-top: 6rem; }

/* ============ final polish ============ */
/* Hero: all three books on show, fanned. The one you point at (or whose line you hover) comes forward. */
@media (min-width: 961px) { .hero-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); } }
.stage.fan { min-height: clamp(26rem, 38vw, 34rem); }
.hero .stage.fan .book { --w: min(15rem, 17.5vw); }
.stage.fan .slot { --x: 0%; --y: 3%; --s: .82; opacity: 1; pointer-events: auto; z-index: 1;
  transform: translateX(var(--x)) translateY(var(--y)) scale(var(--s));
  filter: brightness(.55) saturate(.8); transition: transform .7s cubic-bezier(.2,.7,.2,1), filter .5s ease; }
.stage.fan .slot[data-book="offline"] { --x: -58%; }
.stage.fan .slot[data-book="behind"] { --x: 58%; }
.stage.fan .slot[data-book="hearts"] { z-index: 2; }
.stage.fan .slot.is-active { --y: -1%; --s: 1; z-index: 3; filter: none; }
.stage.fan .slot:not(.is-active)::before { opacity: 0; }
.stage.fan .slot::before { transition: opacity .5s ease; }
@media (max-width: 960px) {
  .stage.fan { min-height: 0; padding-block: 1rem 2rem; }
  .hero .stage.fan .book { --w: min(11.5rem, 40vw); }
  .stage.fan .slot[data-book="offline"] { --x: -54%; }
  .stage.fan .slot[data-book="behind"] { --x: 54%; }
}

/* Home shelf: one clear link, then tidy store chips */
.shelf-item .buy { display: block; margin-top: 1.3rem; }
.shelf-item .more { font-family: var(--ui); font-size: .9375rem; font-weight: 500; color: var(--gold-hi); text-decoration: none; display: inline-flex; align-items: center; min-height: 2.75rem; }
.shelf-item .more span { transition: transform .25s ease; display: inline-block; margin-left: .25rem; }
.shelf-item .more:hover span, .shelf-item .more:focus-visible span { transform: translateX(3px); }
.stores { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .4rem; }
.chip { display: inline-flex; align-items: center; min-height: 2.5rem; padding: 0 1rem; border-radius: 999px; font-family: var(--ui); font-size: .8125rem; font-weight: 500; letter-spacing: .01em; color: var(--chalk); text-decoration: none; box-shadow: 0 0 0 1px var(--gold-line) inset; transition: background .2s ease, box-shadow .2s ease; }
a.chip:hover, a.chip:focus-visible { background: rgba(232,185,111,.1); box-shadow: 0 0 0 1px var(--gold) inset; }
.chip-soon { color: var(--mist); box-shadow: 0 0 0 1px var(--rule) inset; font-weight: 400; }

/* Portrait is now a warm black-and-white: a gold keyline frames it */
.portrait .frame { box-shadow: 0 40px 70px -35px rgba(0,0,0,.8), 0 0 0 1px rgba(232,185,111,.18); }
.portrait img { object-position: 50% 50%; }

/* Smooth cross-fade between pages in browsers that support it */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .28s; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } .stage.fan .slot { transition: none; } }
.shelf-item .buy .chip { min-height: 2.5rem; align-self: center; }
.shelf-item .buy .more { min-height: 2.75rem; }

#launch { scroll-margin-top: 5rem; }

/* launch-news buttons (no form) */
.notify { margin-top: 1.8rem; }
.closing .notify + .fine { max-width: 30rem; margin-inline: auto; }
.signup-col .notify { margin-top: 1.2rem; }
