/* ==========================================================================
   Mathew Moslow — Option C ("Combined") design
   One stylesheet for all five pages. Tokens first, then base, layout,
   components, page sections. No framework; plain CSS that ports straight
   into a SvelteKit global stylesheet (src/app.css) or component <style>s.
   ========================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
  /* Dark bands */
  --ink-900: #101816;          /* page + dark section background */
  --ink-800: #16201E;          /* raised dark surface, inputs */
  --line-dark: #26302D;        /* hairlines on dark */
  --field-line: #3A4542;       /* input borders, dividers on dark */
  --dot-idle: #4A5650;

  /* Cream bands */
  --cream-100: #F2ECE2;        /* cream section background */
  --cream-200: #E9E1D3;        /* alternate cream / sign-up panels */
  --paper: #FFFDF8;            /* excerpt reader, inputs on cream */
  --line-cream: #D9CFBF;
  --line-cream-strong: #C9BDA9;

  /* Text */
  --text-on-dark: #F0E8DA;     /* headings on dark  (15.6:1) */
  --body-on-dark: #C9C3B6;     /* body on dark      (10.3:1) */
  --muted-on-dark: #969184;    /* labels on dark    (5.7:1)  */
  --text-on-cream: #141A18;    /* headings on cream */
  --body-on-cream: #3F3D38;    /* body on cream     (9.2:1)  */
  --muted-on-cream: #6A645A;   /* labels on cream   (5.0:1)  */

  /* Accents */
  --mint: #9DDBB8;             /* buttons + accents on dark (11.4:1 vs ink) */
  --mint-hover: #B6E6CB;
  --green: #2C6B52;            /* accent text on cream (5.4:1) */
  --green-deep: #245A45;       /* accent text on cream-200 */

  /* Type */
  --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;

  /* Layout */
  --container: 1280px;
  --gutter: clamp(20px, 5vw, 64px);
  --band-y: clamp(48px, 6vw, 80px);
  --band-y-lg: clamp(56px, 7vw, 96px);
  --radius: 2px;
  --header-h: 66px;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  background: var(--ink-900);
  color: var(--body-on-dark);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }
.band--cream :focus-visible, .reader :focus-visible { outline-color: var(--green); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 12px 16px; background: var(--mint); color: var(--ink-900);
  font-weight: 800; text-decoration: none; border-radius: var(--radius);
}
.skip-link:focus { top: 12px; }

/* ---------- 3. Layout ---------- */
.container { max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }
.band { padding-block: var(--band-y); }
.band--lg { padding-block: var(--band-y-lg); }
.band--dark { background: var(--ink-900); color: var(--body-on-dark); }
.band--dark-2 { background: var(--ink-800); color: var(--body-on-dark); }
.band--cream { background: var(--cream-100); color: var(--body-on-cream); }
.band--cream-2 { background: var(--cream-200); color: var(--body-on-cream); }
.band--rule { border-top: 1px solid var(--line-dark); }

.split { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 32px 64px; }
.split--center { align-items: center; }
.split__aside { flex: 1 1 260px; min-width: 0; max-width: 360px; }
.split__main { flex: 2 1 520px; min-width: 0; }

/* ---------- 4. Type helpers ---------- */
.kicker {
  display: flex; align-items: center; gap: 14px;
  font-size: 12px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--mint);
}
.kicker::after { content: ""; width: 32px; height: 2px; background: currentColor; flex: 0 0 auto; }
.kicker--plain::after { display: none; }
.band--cream .kicker, .band--cream-2 .kicker { color: var(--green); }

.h-page, .h-section {
  font-weight: 800; letter-spacing: -0.02em; text-transform: uppercase;
  color: var(--text-on-dark);
}
.h-page { margin-top: 14px; font-size: clamp(40px, 5.4vw, 72px); line-height: 1; letter-spacing: -0.025em; }
.h-section { margin-top: 14px; font-size: clamp(28px, 3vw, 40px); line-height: 1.05; }
.h-section--sentence { text-transform: none; line-height: 1.08; }
.band--cream .h-page, .band--cream .h-section,
.band--cream-2 .h-page, .band--cream-2 .h-section { color: var(--text-on-cream); }

.accent {
  font-family: var(--font-serif); font-weight: 400; font-style: italic;
  font-size: 1.12em; letter-spacing: 0; color: var(--mint);
}
.band--cream .accent, .band--cream-2 .accent { color: var(--green); }

.lede { margin-top: 12px; font-family: var(--font-serif); font-size: 20px; line-height: 1.3; color: var(--body-on-dark); }
.lede--lg { font-size: 22px; max-width: 560px; }
.band--cream .lede, .band--cream-2 .lede { color: var(--body-on-cream); }
.prose { font-size: 16px; line-height: 1.75; }
.prose p + p { margin-top: 1em; }
.prose--cols { column-width: 300px; column-gap: 40px; font-size: 15.5px; }
.prose--cols p { break-inside: avoid-column; }
.label {
  font-size: 11px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted-on-dark);
}
.band--cream .label, .band--cream-2 .label { color: var(--muted-on-cream); }
.label--accent { color: var(--mint); }
.band--cream .label--accent { color: var(--green); }
.band--cream-2 .label--accent { color: var(--green-deep); }

/* ---------- 5. Buttons + links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 48px; padding: 0 20px;
  border: 1px solid transparent; border-radius: var(--radius);
  font-family: var(--font-sans); font-size: 12px; font-weight: 800; line-height: 1;
  letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; transition: background-color .2s, color .2s, border-color .2s;
}
.btn svg { flex: 0 0 auto; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn--mint { background: var(--mint); border-color: var(--mint); color: var(--ink-900); }
.btn--mint:hover { background: var(--mint-hover); border-color: var(--mint-hover); }
.btn--ghost-light { background: transparent; border-color: var(--text-on-dark); color: var(--text-on-dark); }
.btn--ghost-light:hover { background: var(--text-on-dark); color: var(--ink-900); }
.btn--ghost-dark { background: transparent; border-color: var(--text-on-cream); color: var(--text-on-cream); }
.btn--ghost-dark:hover, .btn--ghost-dark[aria-expanded="true"], .btn--ghost-dark[aria-pressed="true"] { background: var(--text-on-cream); color: var(--cream-100); }
.btn--ink { background: var(--text-on-cream); border-color: var(--text-on-cream); color: var(--text-on-dark); }
.btn--ink:hover { background: #26302D; }
.btn--block { display: flex; width: 100%; justify-content: space-between; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

.text-link {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--mint); text-decoration: none;
}
.text-link svg { transition: transform .2s; }
.text-link:hover svg { transform: translateX(3px); }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.band--cream .text-link, .band--cream-2 .text-link { color: var(--green); }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
  width: 44px; height: 44px; padding: 0; border-radius: 50%;
  border: 1px solid var(--field-line); background: transparent; color: var(--body-on-dark);
  cursor: pointer; transition: background-color .2s, color .2s, border-color .2s;
}
.icon-btn:hover { border-color: var(--mint); color: var(--mint); }
.icon-btn--mint { border-color: var(--mint); background: var(--mint); color: var(--ink-900); }
.icon-btn--mint:hover { background: var(--mint-hover); color: var(--ink-900); }
.icon-btn--lg { width: 52px; height: 52px; }
/* play / pause icon swap driven by aria-pressed or .is-playing */
.icon-pause { display: none; }
.is-playing .icon-play, [aria-pressed="true"] > .icon-play, [aria-pressed="true"] .icon-swap .icon-play { display: none; }
.is-playing .icon-pause, [aria-pressed="true"] > .icon-pause, [aria-pressed="true"] .icon-swap .icon-pause { display: inline; }

/* label swap for "Have a listen" ↔ "Playing preview" */
.label-on { display: none; }
.is-playing .label-idle { display: none; }
.is-playing .label-on { display: inline; }

/* rotator pause/play toggle: pressed = paused, so show the play icon */
.rt-play { display: none; }
[data-rotator-toggle][aria-pressed="true"] .rt-play { display: inline; }
[data-rotator-toggle][aria-pressed="true"] .rt-pause { display: none; }

.h-page--sentence { text-transform: none; line-height: 1.02; }
.pullquote { margin-top: 22px; max-width: 640px; padding-top: 20px; border-top: 1px solid var(--line-dark); font-family: var(--font-serif); font-style: italic; font-size: clamp(21px, 2vw, 25px); line-height: 1.3; color: var(--text-on-dark); }
.note { margin-top: 12px; font-size: 15px; color: var(--mint); }

/* ---------- 6. Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--ink-900); border-bottom: 1px solid var(--line-dark);
}
.site-header__inner {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0 40px;
  padding-block: 8px;
}
.brand {
  padding: 12px 0; font-size: 19px; font-weight: 800; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text-on-dark); text-decoration: none;
}
.nav {
  margin-left: auto; flex: 0 1 auto; min-width: 0; max-width: 100%;
  display: flex; gap: 26px; overflow-x: auto; white-space: nowrap;
  scrollbar-width: none;
}
.nav::-webkit-scrollbar { display: none; }
.nav a {
  padding: 15px 0 11px; border-bottom: 2px solid transparent;
  font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--body-on-dark); text-decoration: none; transition: color .2s, border-color .2s;
}
.nav a:hover { color: var(--text-on-dark); border-bottom-color: var(--field-line); }
.nav a[aria-current="page"] { color: var(--text-on-dark); border-bottom-color: var(--mint); }
@media (max-width: 640px) {
  .site-header__inner { gap: 0; }
  .nav { margin-left: 0; width: 100%; gap: 22px; }
  /* fade at the right edge hints that the row scrolls */
  .nav { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); padding-right: 24px; }
}

/* ---------- 7. Home hero + rotating headline ---------- */
.hero { display: flex; flex-wrap: wrap; flex-direction: row-reverse; background: var(--ink-900); }
.hero__media { flex: 1 1 520px; position: relative; min-height: clamp(320px, 38vw, 540px); }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero__body {
  flex: 1 1 520px; min-width: 0;
  padding: clamp(40px, 6vw, 80px) var(--gutter);
  padding-left: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter)));
  display: flex; flex-direction: column; justify-content: center;
}
.hero--about .hero__media img { object-position: 55% 35%; }
.hero--about .hero__media { min-height: clamp(340px, 40vw, 600px); }

.rotator__headline {
  margin-top: 18px; max-width: 640px; min-height: 3.15em;
  font-weight: 800; font-size: clamp(36px, 4.1vw, 58px); line-height: 1.04;
  letter-spacing: -0.025em; color: var(--text-on-dark);
  transition: opacity .4s ease;
}
.rotator.is-fading .rotator__headline { opacity: 0; }
.rotator__controls { display: flex; flex-wrap: wrap; align-items: center; margin: 4px 0 0 -14px; }
.rotator__dot {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer;
}
.rotator__dot span { display: block; width: 8px; height: 4px; border-radius: 2px; background: var(--dot-idle); transition: width .3s ease, background-color .3s; }
.rotator__dot[aria-current="true"] span { width: 22px; background: var(--mint); }
.rotator__dot:hover span { background: var(--muted-on-dark); }
.rotator__toggle { margin-left: 6px; }
.hero__sub { margin-top: 10px; max-width: 520px; font-family: var(--font-serif); font-style: italic; font-size: clamp(21px, 1.9vw, 25px); line-height: 1.3; color: var(--body-on-dark); }
.hero__ctas { margin-top: 32px; }
.hero__about-text { margin-top: 22px; max-width: 560px; font-size: 16.5px; line-height: 1.75; }
.hero__about-title { margin-top: 18px; max-width: 620px; font-weight: 800; font-size: clamp(34px, 4vw, 56px); line-height: 1.06; letter-spacing: -0.025em; color: var(--text-on-dark); }

/* ---------- 9. Book cards (home) ---------- */
.books-grid { flex: 3 1 620px; min-width: 0; display: flex; flex-wrap: wrap; gap: 40px; }
.book-card { flex: 1 1 300px; min-width: 0; display: flex; align-items: flex-start; gap: 20px; }
.book-card__cover { flex: 0 0 auto; width: clamp(116px, 11vw, 156px); height: auto; border-radius: var(--radius); box-shadow: 0 18px 32px -14px rgba(20, 26, 24, .55); }
.book-card__body { flex: 1 1 auto; min-width: 0; }
.book-card__title { font-weight: 800; font-size: 22px; line-height: 1.15; letter-spacing: -0.01em; color: var(--text-on-cream); }
.book-card__genre { margin-top: 6px; }
.book-card__blurb { margin-top: 10px; font-family: var(--font-serif); font-size: 18px; line-height: 1.3; color: var(--body-on-cream); }
.action-list { margin-top: 14px; display: flex; flex-direction: column; }
.action-list .btn { min-height: 44px; padding: 0 14px; }
.action-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%;
  min-height: 44px; padding: 0 2px; border: 0; border-bottom: 1px solid var(--line-cream); background: transparent;
  font-family: var(--font-sans); font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-on-cream); text-align: left; text-decoration: none; cursor: pointer;
}
.action-row:hover { color: var(--green); }

/* ---------- 10. Sign-up ("Get notified") + small panels ---------- */
.notify { margin-top: 14px; padding: 16px; background: var(--cream-200); border: 1px solid var(--line-cream); border-radius: var(--radius); }
.band--cream-2 .notify { background: var(--cream-100); }
.notify[hidden] { display: none; }
.notify__title { font-weight: 800; font-size: 17px; color: var(--text-on-cream); }
.notify__fields { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.notify__fields .field { flex: 1 1 180px; }
.notify__fields .btn { align-self: flex-end; }
.notify__note { margin-top: 10px; font-size: 13px; line-height: 1.5; color: #5E584F; }
.status-msg { margin-top: 14px; padding: 12px 14px; border-radius: var(--radius); font-size: 14px; font-weight: 700; background: var(--cream-200); color: var(--text-on-cream); }
.status-msg[hidden] { display: none; }
.status-msg--dark { background: var(--ink-800); color: var(--text-on-dark); }
.status-msg--error { background: #4A1F1F; color: #FBE3E3; }

/* ---------- 11. Forms ---------- */
.form { display: flex; flex-direction: column; gap: 14px; }
.form__row { display: flex; flex-wrap: wrap; gap: 14px; }
.form__row .field { flex: 1 1 200px; }
.field { min-width: 0; display: flex; flex-direction: column; gap: 6px; font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-on-dark); }
.field input, .field textarea, .field select {
  width: 100%; min-height: 46px; padding: 10px 14px;
  font-family: var(--font-sans); font-size: 16px; font-weight: 400; letter-spacing: normal; text-transform: none;
  color: var(--text-on-dark); background: var(--ink-800);
  border: 1px solid var(--field-line); border-radius: var(--radius);
  transition: border-color .2s;
}
.field textarea { line-height: 1.6; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--mint); outline: none; box-shadow: 0 0 0 1px var(--mint); }
.band--cream .field, .band--cream-2 .field, .notify .field { color: var(--body-on-cream); }
.band--cream .field input, .band--cream-2 .field input, .notify .field input {
  color: var(--text-on-cream); background: var(--paper); border-color: var(--line-cream-strong);
}
.band--cream .field input:focus, .band--cream-2 .field input:focus, .notify .field input:focus { border-color: var(--green); box-shadow: 0 0 0 1px var(--green); }
.form .btn[type="submit"] { align-self: flex-start; }
.form.is-sending .btn[type="submit"] { opacity: .6; pointer-events: none; }

/* ---------- 12. Soundtrack (home mini + full page) ---------- */
.mini { display: flex; flex-wrap: wrap; align-items: center; gap: 32px 48px; }
.mini__art { flex: 0 1 260px; min-width: 200px; }
.mini__art img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
.mini__body { flex: 1 1 340px; min-width: 0; }
.mini__list { flex: 1 1 320px; min-width: 0; }
.platform-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0 14px; margin-top: 12px; }
.platform-links a { padding: 12px 0; font-size: 14px; font-weight: 700; color: var(--text-on-dark); text-decoration: none; }
.platform-links a:hover { color: var(--mint); text-decoration: underline; text-underline-offset: 4px; }
.platform-links span { width: 1px; height: 16px; background: var(--field-line); }

.player { margin-top: 8px; max-width: 460px; display: flex; align-items: center; gap: 14px; padding: 10px 16px 10px 10px; border: 1px solid var(--field-line); border-radius: var(--radius); }
.player--solid { background: var(--ink-900); border-color: var(--ink-900); }
.player__meta { flex: 1 1 auto; min-width: 0; }
.player__title { font-size: 15px; font-weight: 700; color: var(--text-on-dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player__bar { position: relative; margin-top: 6px; height: 3px; border-radius: 2px; background: #2B3633; overflow: hidden; }
.player__fill { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--mint); }
.player__time { flex: 0 0 auto; font-size: 12px; font-variant-numeric: tabular-nums; color: var(--muted-on-dark); }

.tracklist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-dark); }
.tracklist li { border-bottom: 1px solid var(--line-dark); }
.track-btn {
  width: 100%; display: flex; align-items: center; gap: 16px; min-height: 52px; padding: 0 4px;
  border: 0; background: transparent; color: var(--text-on-dark); text-align: left; cursor: pointer;
}
.track-btn__num { flex: 0 0 24px; font-size: 12px; font-weight: 800; color: var(--muted-on-dark); }
.track-btn__title { flex: 1 1 auto; min-width: 0; font-size: 16px; font-weight: 600; }
.track-btn:hover .track-btn__title { color: var(--mint); }
.track-btn.is-playing .track-btn__num, .track-btn.is-playing .track-btn__title { color: var(--mint); }

.song-list { list-style: none; margin: 32px 0 0; padding: 0; border-top: 1px solid var(--line-cream); }
.song { display: flex; align-items: flex-start; gap: clamp(16px, 2.6vw, 28px); padding: 24px 0; border-bottom: 1px solid var(--line-cream); }
.song__art { flex: 0 0 auto; width: clamp(64px, 7vw, 88px); height: clamp(64px, 7vw, 88px); object-fit: cover; border-radius: var(--radius); }
.song__body { flex: 1 1 auto; min-width: 0; }
.song__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.song__num { font-size: 12px; font-weight: 800; letter-spacing: 0.14em; color: var(--green); }
.song__title { margin-top: 4px; font-weight: 800; font-size: clamp(19px, 2vw, 24px); line-height: 1.2; letter-spacing: -0.01em; color: var(--text-on-cream); }
.song__story { margin-top: 10px; max-width: 760px; font-size: 15.5px; line-height: 1.7; }
.song__now { display: none; margin-top: 8px; }
.song.is-playing .song__now { display: block; }
.song .icon-btn { border-color: var(--text-on-cream); color: var(--text-on-cream); width: 48px; height: 48px; }
.song .icon-btn:hover, .song.is-playing .icon-btn { background: var(--text-on-cream); color: var(--mint); }
.song__progress { margin-top: 12px; max-width: 760px; height: 3px; border-radius: 2px; background: var(--line-cream); overflow: hidden; display: none; }
.song.is-playing .song__progress, .song.has-progress .song__progress { display: block; }
.song__progress span { display: block; height: 100%; width: 0; background: var(--green); }

.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tab {
  min-height: 44px; padding: 0 16px; border-radius: var(--radius);
  border: 1px solid var(--field-line); background: transparent; color: var(--text-on-dark);
  font-family: var(--font-sans); font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer;
}
.tab:hover { border-color: var(--mint); }
.tab[aria-selected="true"] { background: var(--mint); border-color: var(--mint); color: var(--ink-900); }
.embed { margin-top: 14px; border: 1px solid var(--line-dark); border-radius: 6px; overflow: hidden; background: var(--ink-900); }
.embed[hidden] { display: none; }
.embed iframe { display: block; width: 100%; border: 0; }

/* ---------- 13. About accordion (native <details>) ---------- */
.chapters { flex: 2 1 520px; min-width: 0; border-top: 1px solid var(--line-cream); }
.chapter { border-bottom: 1px solid var(--line-cream); }
.chapter summary {
  display: flex; align-items: center; gap: 16px; min-height: 56px; padding: 0 2px;
  list-style: none; cursor: pointer; color: var(--text-on-cream);
}
.chapter summary::-webkit-details-marker { display: none; }
.chapter__num { flex: 0 0 auto; font-size: 11px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--green); }
.chapter__bar { flex: 0 0 1px; height: 18px; background: var(--line-cream-strong); }
.chapter__title { flex: 1 1 auto; min-width: 0; font-size: 17px; font-weight: 700; }
.chapter summary:hover .chapter__title { color: var(--green); }
.chapter__chev { flex: 0 0 auto; transition: transform .25s; }
.chapter[open] .chapter__chev { transform: rotate(180deg); }
.chapter__body { padding: 0 2px 22px; }
.chapter__body p { margin-top: 8px; max-width: 680px; font-size: 15.5px; line-height: 1.7; }

/* About page: full chapter grid */
.chapter-grid { display: flex; flex-wrap: wrap; gap: 0 56px; margin-top: 32px; }
.chapter-card { flex: 1 1 440px; min-width: 0; padding: 26px 0; border-top: 1px solid var(--line-cream); }
.chapter-card h3 { margin-top: 10px; font-weight: 800; font-size: 22px; line-height: 1.2; letter-spacing: -0.01em; color: var(--text-on-cream); }
.chapter-card p:last-child { margin-top: 10px; font-size: 15.5px; line-height: 1.75; }

/* ---------- 14. Journey ---------- */
.journey-strip { flex: 3 1 600px; min-width: 0; display: flex; flex-wrap: wrap; gap: 16px; }
.journey-tile { flex: 1 1 130px; min-width: 0; text-decoration: none; }
.journey-tile__img { overflow: hidden; border-radius: var(--radius); }
.journey-tile img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .5s ease; }
.journey-tile:hover img { transform: scale(1.04); }
.journey-tile span { display: block; margin-top: 12px; font-size: 11px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; text-align: center; color: var(--text-on-dark); }
.journey-tile:hover span { color: var(--mint); }

.moments { display: flex; flex-direction: column; gap: clamp(48px, 6vw, 88px); }
.moment { display: flex; flex-wrap: wrap; align-items: center; gap: 28px 64px; }
.moment:nth-child(even) { flex-direction: row-reverse; }
.moment__img { flex: 1 1 440px; min-width: 0; }
.moment__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.moment__body { flex: 1 1 360px; min-width: 0; }
.moment__body p { margin-top: 14px; font-size: 16.5px; line-height: 1.75; }

/* ---------- 15. Books page ---------- */
.page-intro { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 48px; }
.jump { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.book { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 40px 64px; }
.book--reverse { flex-direction: row-reverse; }
.book__cover { flex: 0 1 340px; min-width: 220px; }
.book__cover img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: 0 30px 50px -20px rgba(20, 26, 24, .55); }
.book__body { flex: 1 1 480px; min-width: 0; }
.book__title { margin-top: 12px; font-weight: 800; font-size: clamp(34px, 4vw, 52px); line-height: 1.02; letter-spacing: -0.02em; color: var(--text-on-cream); }
.book__lede { margin-top: 20px; max-width: 720px; font-family: var(--font-serif); font-size: clamp(22px, 2vw, 26px); line-height: 1.3; color: var(--text-on-cream); }
.book__body .prose { margin-top: 22px; }
.book__closer { margin-top: 20px; font-family: var(--font-serif); font-style: italic; font-size: 24px; line-height: 1.3; color: var(--green-deep); }
.book__actions { margin-top: 28px; }
.book .player { margin-top: 16px; max-width: 480px; }
.book .player[hidden] { display: none; }

/* Sneak-peek reader */
.reader { margin-top: 40px; padding: clamp(24px, 5vw, 64px); background: var(--paper); border: 1px solid var(--line-cream); border-radius: var(--radius); color: var(--text-on-cream); }
.reader[hidden] { display: none; }
.reader__inner { max-width: 700px; margin: 0 auto; }
.reader__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.reader__close { border-color: var(--line-cream); color: var(--text-on-cream); }
.reader__close:hover { border-color: var(--text-on-cream); color: var(--text-on-cream); }
.reader__page p { font-family: var(--font-serif); font-size: 22px; line-height: 1.5; }
.reader__page p + p { margin-top: 1em; }
.reader__foot { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line-cream); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.reader__nav { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; border: 0; background: transparent; color: var(--text-on-cream); font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer; }
.reader__nav:disabled { opacity: .35; cursor: default; }
.reader__count { font-size: 13px; color: var(--muted-on-cream); }

/* ---------- 16. Footer ---------- */
.site-footer { background: var(--ink-900); padding-bottom: 32px; }
.site-footer__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 32px; padding-top: 24px; border-top: 1px solid var(--line-dark); }
.site-footer .brand { font-size: 18px; padding: 10px 0; }
.footer-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0 14px; }
.footer-nav a { padding: 14px 0; font-size: 11px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--body-on-dark); text-decoration: none; }
.footer-nav a:hover { color: var(--mint); }
.footer-nav span { color: var(--dot-idle); }
.site-footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 12px; font-size: 12px; color: var(--muted-on-dark); }
.site-footer__legal a { color: var(--muted-on-dark); text-decoration: none; }
.site-footer__legal a:hover { color: var(--mint); }
