/* ═══════════════════════════════════════════════════════════
   MERIDIAN — Jaymes Wade, author
   Midnight enamel · ivory · brass · one cinnabar accent
   Cormorant Garamond (engraved voice) × Space Mono (instrument voice)
   ═══════════════════════════════════════════════════════════ */

:root {
  --ink: #06080f;
  --midnight: #0a0f1e;
  --panel: #0e1526;
  --ivory: #eae1cd;
  --ivory-70: rgba(234, 225, 205, .72);
  --ivory-45: rgba(234, 225, 205, .48);
  --brass: #c2a05e;
  --brass-bright: #e8cd8f;
  --brass-dim: rgba(194, 160, 94, .38);
  --line: rgba(194, 160, 94, .16);
  --cinnabar: #c0402e;
  --ivory-bg: #ece4d1;
  --ink-on-ivory: #191611;
  --serif: 'Cormorant Garamond', 'Iowan Old Style', Georgia, serif;
  --mono: 'Space Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --ease-out: cubic-bezier(.19, 1, .22, 1);
  --wrap: min(1120px, calc(100% - 3rem));
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--midnight);
  color: var(--ivory);
  font-family: var(--serif);
  font-size: clamp(1.05rem, .95rem + .3vw, 1.2rem);
  line-height: 1.65;
  overflow-x: hidden;
  /* faint vertical drift from ink to midnight */
  background-image: linear-gradient(180deg, var(--ink) 0%, var(--midnight) 18%, var(--midnight) 100%);
}

/* film grain over everything, very quiet */
body::after {
  content: "";
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  pointer-events: none;
  z-index: 60;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: var(--brass); color: var(--ink); }

a { color: inherit; text-decoration: none; }
:focus-visible { outline: 1.5px solid var(--brass); outline-offset: 3px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

.skip {
  position: fixed; top: -4rem; left: 1rem; z-index: 100;
  font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  background: var(--brass); color: var(--ink);
  padding: .6em 1em; transition: top .25s var(--ease-out);
}
.skip:focus-visible { top: 1rem; }

/* ── header ─────────────────────────────────────────────── */

.site-head {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.1rem clamp(1.25rem, 4vw, 3rem);
  transition: background .45s ease, backdrop-filter .45s ease, border-color .45s ease, padding .45s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.site-head.scrolled {
  background: rgba(8, 12, 24, .78);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  border-color: var(--line);
  padding-top: .8rem; padding-bottom: .8rem;
}

.brand {
  display: inline-flex; align-items: center; gap: .75rem;
  font-family: var(--serif); font-weight: 500;
  font-size: 1.4rem; line-height: 1; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ivory); text-decoration: none;
  transition: color .3s;
}
.brand:hover { color: var(--brass-bright); }
.star7 { width: 19px; height: 19px; flex: none; }
.star7 path { fill: none; stroke: var(--brass); stroke-width: 1.3; }
.brand .star7 { width: 24px; height: 24px; transition: transform 1.2s var(--ease-out); }
.brand:hover .star7 { transform: rotate(154.28deg); } /* two points of seven */
/* name holds its size when the header condenses on scroll */
.site-head.scrolled .brand { font-size: 1.4rem; }

.site-nav { display: flex; gap: clamp(1rem, 2.6vw, 2.4rem); }
.site-nav a {
  font-family: var(--mono); font-size: .68rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ivory-70); padding: .35em 0; position: relative;
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  border-bottom: 1px solid var(--brass);
  transition: right .5s var(--ease-out);
}
.site-nav a:hover { color: var(--brass-bright); }
.site-nav a:hover::after { right: 0; }

/* ── hero ───────────────────────────────────────────────── */

.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
}

.hero-canvas, .hero-canvas canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.hero-canvas canvas { display: block; }

/* readability scrim — a real gradient, not a text-shadow */
.hero-veil {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 90% 60% at 50% 88%, rgba(6, 8, 15, .68), transparent 60%),
    linear-gradient(180deg, rgba(6, 8, 15, .5) 0%, transparent 26%, transparent 70%, rgba(6, 8, 15, .75) 100%);
}

.hero-content {
  position: relative; z-index: 2;
  width: var(--wrap); margin: 0 auto;
  padding-top: 14vh;
  text-align: center;
}

.eyebrow {
  font-family: var(--mono); font-size: clamp(.62rem, .55rem + .3vw, .74rem);
  letter-spacing: .3em; text-transform: uppercase;
  color: var(--brass);
}

.hero-title {
  font-weight: 500;
  font-size: clamp(2.7rem, 1.2rem + 7.4vw, 6.4rem);
  line-height: 1.06;
  letter-spacing: .005em;
  margin: 1.4rem 0 1.5rem;
  text-wrap: balance;
}
.hero-title em {
  font-style: italic; font-weight: 400;
  color: var(--brass-bright);
}
.hero-title .line { display: block; }
/* per-word entrance applied by JS: each word wrapped in .w > .wi */
.hero-title .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .12em; margin-bottom: -.12em; }
.hero-title .wi { display: inline-block; }
.js .hero-title .wi {
  transform: translateY(110%);
  opacity: 0;
  filter: blur(6px);
  animation: word-rise 1.3s var(--ease-out) forwards;
  animation-delay: var(--wd, 0s);
}
@keyframes word-rise {
  to { transform: translateY(0); opacity: 1; filter: blur(0); }
}

.hero-attrib {
  font-family: var(--mono); font-size: clamp(.6rem, .55rem + .25vw, .72rem);
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--ivory-70);
}
.hero-attrib cite { font-style: normal; color: var(--ivory); }

/* hud — bottom left instrument voice */
.hero-hud {
  position: absolute; z-index: 3;
  left: clamp(1.25rem, 4vw, 3rem); bottom: 2.1rem;
  display: flex; flex-direction: column; gap: .55rem;
}
.wind-btn {
  display: inline-flex; align-items: center; gap: .6rem;
  background: none; border: 1px solid var(--brass-dim); border-radius: 2rem;
  color: var(--ivory-70);
  font-family: var(--mono); font-size: .62rem; letter-spacing: .16em; text-transform: uppercase;
  padding: .55em 1.1em; cursor: pointer;
  transition: border-color .3s, color .3s, background .3s;
  touch-action: none;
  -webkit-user-select: none; user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.wind-btn:hover { border-color: var(--brass); color: var(--brass-bright); }
.wind-btn.winding { border-color: var(--brass-bright); color: var(--brass-bright); background: rgba(194,160,94,.08); }
.wind-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--cinnabar);
  box-shadow: 0 0 8px rgba(192, 64, 46, .8);
  animation: pulse 3.2s ease-in-out infinite;
}
.wind-btn.winding .wind-dot { background: var(--brass-bright); box-shadow: 0 0 10px var(--brass); animation-duration: .7s; }
@keyframes pulse { 0%,100% { opacity: .5 } 50% { opacity: 1 } }

.hud-readout {
  font-family: var(--mono); font-size: .6rem; letter-spacing: .14em;
  color: var(--ivory-45);
  font-variant-numeric: tabular-nums;
  padding-left: .35rem;
}
.hud-readout.conjunct { color: var(--brass-bright); }

.scroll-cue {
  position: absolute; z-index: 3;
  right: clamp(1.25rem, 4vw, 3rem); bottom: 2.1rem;
  font-family: var(--mono); font-size: .62rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--ivory-45);
  display: flex; flex-direction: column; align-items: center; gap: .7rem;
  transition: color .3s;
}
.scroll-cue:hover { color: var(--brass-bright); }
.cue-line {
  width: 1px; height: 54px;
  background: linear-gradient(var(--brass), transparent);
  overflow: hidden; position: relative; display: block;
}
.cue-line::after {
  content: ""; position: absolute; left: 0; top: -40%;
  width: 100%; height: 40%;
  background: var(--brass-bright);
  animation: cue-drop 2.6s var(--ease-out) infinite;
}
@keyframes cue-drop { to { top: 120%; } }

/* ── sections, shared ───────────────────────────────────── */

.section {
  position: relative;
  padding: clamp(6rem, 12vh, 9.5rem) 0;
  border-top: 1px solid var(--line);
  overflow: hidden;
  scroll-margin-top: 3.5rem;
}
.site-foot { scroll-margin-top: 3.5rem; }

.wrap { width: var(--wrap); margin: 0 auto; position: relative; z-index: 2; }
.wrap.narrow { max-width: 680px; text-align: center; }

.grid-2 {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}

.ghost-num {
  position: absolute; z-index: 1;
  top: 4rem; right: -1rem;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(11rem, 24vw, 22rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(194, 160, 94, .09);
  pointer-events: none;
  -webkit-user-select: none; user-select: none;
}
.ghost-ivory { -webkit-text-stroke-color: rgba(25, 22, 17, .08); }

.section-title {
  font-weight: 500;
  font-size: clamp(2.4rem, 1.4rem + 4.4vw, 4.4rem);
  line-height: 1.04;
  margin: 1.1rem 0 1.2rem;
  text-wrap: balance;
}

.lede {
  font-size: clamp(1.25rem, 1.1rem + .7vw, 1.6rem);
  font-style: italic;
  color: var(--brass-bright);
  line-height: 1.45;
  margin-bottom: 1.4rem;
  text-wrap: pretty;
}

.body p { color: var(--ivory-70); margin-bottom: 1.1em; max-width: 58ch; }
.body p:last-child { margin-bottom: 0; }
.body cite { font-style: italic; color: var(--ivory); }

/* mono spec sheet */
.specs {
  margin-top: 2.2rem;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem 2rem;
  border-top: 1px solid var(--line);
  padding-top: 1.6rem;
}
.specs dt {
  font-family: var(--mono); font-size: .58rem; letter-spacing: .26em; text-transform: uppercase;
  color: var(--brass); margin-bottom: .4em;
}
.specs dd { font-family: var(--mono); font-size: .78rem; color: var(--ivory-70); letter-spacing: .02em; }
.status-red { color: var(--cinnabar) !important; }

.excerpt {
  margin-top: 2.4rem;
  border-left: 1px solid var(--brass-dim);
  padding-left: 1.4rem;
}
.excerpt p {
  font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem);
  font-style: italic; line-height: 1.5; color: var(--ivory);
}
.excerpt em { color: var(--brass-bright); }
.excerpt footer {
  margin-top: .7rem;
  font-family: var(--mono); font-size: .6rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ivory-45);
}

/* ── the cover (mockup ported from Folio) ───────────────── */

.book-col { display: flex; justify-content: center; }
.cover-card {
  position: relative;
  width: min(280px, 68vw);
  aspect-ratio: 2 / 3;
}
/* sprayed silver page edges */
.cover-card::after {
  content: ""; position: absolute; z-index: -1;
  top: 7px; bottom: 3px; right: -7px; width: 9px;
  background: repeating-linear-gradient(180deg, #dfe3ea 0 2px, #99a0aa 2px 3.5px);
  border-radius: 0 2px 2px 0;
}
.cover-card::before {
  content: ""; position: absolute; z-index: -1;
  left: 10px; right: -5px; bottom: -6px; height: 8px;
  background: repeating-linear-gradient(90deg, #d6dbe2 0 2px, #8f96a1 2px 3.5px);
}
.cover-face {
  height: 100%;
  background:
    radial-gradient(120% 90% at 30% 12%, #17244400 0%, transparent 60%),
    linear-gradient(160deg, #1a2848 0%, #101a33 45%, #0b1122 100%);
  border: 1px solid var(--brass-dim);
  box-shadow:
    inset 0 0 0 7px var(--midnight),
    inset 0 0 0 8px var(--brass-dim),
    16px 22px 48px -16px rgba(0, 0, 0, .8);
  display: flex; flex-direction: column; align-items: center;
  padding: 2.2rem 1.4rem 1.8rem;
  text-align: center;
  transform: rotate(-1.2deg);
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out);
  will-change: transform;
}
.cover-card:hover .cover-face {
  box-shadow:
    inset 0 0 0 7px var(--midnight),
    inset 0 0 0 8px var(--brass-dim),
    20px 30px 58px -18px rgba(0, 0, 0, .85);
}
.cover-rule { width: 38px; border-top: 1px solid var(--brass); margin-bottom: 1.5rem; }
.cover-star { width: 54px; height: 54px; margin-bottom: 1.6rem; }
.cover-star path { fill: none; stroke: var(--brass); stroke-width: .9; }
.cover-series {
  font-family: var(--mono); font-size: .5rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--brass); margin-bottom: 1.2rem;
}
.cover-title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(1.9rem, 4vw, 2.5rem); line-height: 1.05;
  letter-spacing: .04em; text-transform: uppercase;
  color: var(--ivory);
  margin-bottom: auto;
}
.cover-author {
  font-family: var(--mono); font-size: .58rem; letter-spacing: .34em; text-transform: uppercase;
  color: var(--ivory-70);
}

.cover-card .seal {
  position: absolute; right: -2.4rem; bottom: -2.4rem;
  width: 108px; height: 108px;
  z-index: 3;
}
.seal svg { width: 100%; height: 100%; animation: seal-turn 40s linear infinite; }
.seal text {
  font-family: var(--mono); font-size: 8.5px; letter-spacing: .22em;
  fill: var(--cinnabar);
}
.seal-star { fill: none; stroke: var(--cinnabar); stroke-width: 1; }
@keyframes seal-turn { to { transform: rotate(360deg); } }

/* ── ivory interlude ────────────────────────────────────── */

.section-ivory {
  background: var(--ivory-bg);
  color: var(--ink-on-ivory);
  border-top: none;
}
.section-ivory .eyebrow-red { color: var(--cinnabar); }
.section-ivory .section-title { color: var(--ink-on-ivory); }
.lede-ivory { color: #6d5620; }
.body-ivory p { color: rgba(25, 22, 17, .78); margin-inline: auto; }
.section-ivory ::selection { background: var(--cinnabar); color: var(--ivory-bg); }

.cta-line {
  display: inline-block; margin-top: 2rem;
  font-family: var(--mono); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--ink-on-ivory);
  border-bottom: 1px solid var(--cinnabar);
  padding-bottom: .5em;
  transition: color .3s, letter-spacing .5s var(--ease-out);
}
.cta-line:hover { color: var(--cinnabar); letter-spacing: .26em; }
.cta-line span { color: var(--cinnabar); }

/* ── about ──────────────────────────────────────────────── */

.about-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); align-items: start; }

.facts { border-top: 1px solid var(--line); }
.facts > div {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: 1rem 0; border-bottom: 1px solid var(--line);
}
.facts dt {
  font-family: var(--mono); font-size: .58rem; letter-spacing: .26em; text-transform: uppercase;
  color: var(--brass);
}
.facts dd { font-family: var(--mono); font-size: .74rem; color: var(--ivory-70); text-align: right; }
.facts dd a { border-bottom: 1px solid var(--brass-dim); transition: color .3s, border-color .3s; }
.facts dd a:hover { color: var(--brass-bright); border-color: var(--brass); }

/* ── portrait ───────────────────────────────────────────── */

.portrait {
  width: min(300px, 72vw);
  margin: 0 auto 2.4rem;
  aspect-ratio: 4 / 5;
  position: relative;
  border: 1px solid var(--brass-dim);
  padding: 9px;
  background: var(--panel);
}
.portrait::after {
  content: ""; position: absolute; inset: 5px;
  border: 1px solid var(--line);
  pointer-events: none;
}
.portrait img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: saturate(.92) contrast(1.03);
}
.portrait-empty {
  height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .4rem; text-align: center;
  font-family: var(--mono); font-size: .58rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--ivory-45); line-height: 2.1;
  background: radial-gradient(90% 70% at 50% 30%, #131c33 0%, var(--panel) 80%);
}

/* ── rose of venus ──────────────────────────────────────── */

.rose {
  width: min(200px, 46vw); margin: 2.6rem auto 0; display: block;
  transform-origin: center;
  animation: arm-turn 220s linear infinite;
}
.rose-ring { fill: none; stroke: var(--brass-dim); stroke-width: .8; }
.rose-line { fill: none; stroke: var(--brass); stroke-width: .55; opacity: .5; }
.rose-dot { fill: var(--cinnabar); }
.rose-caption {
  margin-top: 1.2rem; text-align: center;
  font-family: var(--mono); font-size: .55rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ivory-45);
}

/* ── seal mark (spinning heptagram) ─────────────────────── */

.seal-mark {
  width: min(190px, 42vw); margin: 2.6rem auto 0; display: block;
  transform-origin: center;
  animation: arm-turn 120s linear infinite;
}
.sm-ring { fill: none; stroke: var(--brass-dim); stroke-width: 1; }
.sm-thin { stroke-width: .5; }
.sm-star { fill: none; stroke: var(--cinnabar); stroke-width: 1.1; opacity: .9; }
.sm-dot { fill: var(--brass); }
@keyframes arm-turn { to { transform: rotate(360deg); } }

/* ── notebook register ──────────────────────────────────── */

.register { list-style: none; margin-top: 3rem; border-top: 1px solid var(--line); }
.register-row {
  display: grid;
  grid-template-columns: 3.4rem minmax(0, 1fr) auto auto;
  gap: 1.6rem; align-items: baseline;
  padding: 1.35rem .4rem;
  border-bottom: 1px solid var(--line);
  transition: background .4s, padding-left .5s var(--ease-out);
}
.register-row:hover { background: rgba(194, 160, 94, .05); padding-left: 1.1rem; }
.r-num { font-family: var(--mono); font-size: .68rem; color: var(--brass); letter-spacing: .1em; }
.r-title {
  font-family: var(--serif); font-size: clamp(1.15rem, 1rem + .8vw, 1.55rem);
  font-weight: 500; color: var(--ivory);
  transition: color .3s;
}
.register-row:hover .r-title { color: var(--brass-bright); }
.r-tag, .r-status {
  font-family: var(--mono); font-size: .58rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ivory-45);
}
.r-status { color: var(--cinnabar); }

/* ── the practice ───────────────────────────────────────── */

.practice-head {
  display: flex; justify-content: space-between; align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}
.seed {
  width: min(150px, 30vw); flex: none;
  transform-origin: center;
  animation: arm-turn 160s linear infinite;
}
.seed-ring { fill: none; stroke: var(--brass-dim); stroke-width: 1; }
.seed-c { fill: none; stroke: var(--brass); stroke-width: .6; opacity: .4; }
.seed-dot { fill: var(--brass); }

.practice-grid {
  margin-top: 2.6rem;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.4rem clamp(1.6rem, 4vw, 3.5rem);
  border-top: 1px solid var(--line);
  padding-top: 2.2rem;
}
.practice-grid dt {
  font-family: var(--mono); font-size: .62rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--brass);
  margin-bottom: .9em;
  display: flex; align-items: center; gap: .8rem;
}
.practice-grid dt::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.practice-grid dd {
  font-size: clamp(.98rem, .92rem + .25vw, 1.08rem);
  line-height: 1.7;
  color: var(--ivory-70);
}
.practice-cta { margin-top: 2.6rem; }

/* ── conjunction — the mystical moment ──────────────────── */

.conjunction-veil {
  position: fixed; inset: 0; z-index: 55;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.2s ease;
  background:
    radial-gradient(ellipse 75% 55% at 50% 42%, rgba(232, 205, 143, .17), transparent 65%),
    radial-gradient(ellipse 130% 110% at 50% 50%, transparent 55%, rgba(232, 205, 143, .07) 100%);
  mix-blend-mode: screen;
}
.conjunct .conjunction-veil { opacity: 1; }
.hero-title { transition: text-shadow 1.2s ease; }
.conjunct .hero-title { text-shadow: 0 0 36px rgba(232, 205, 143, .45); }
.conjunct .hud-readout { color: var(--brass-bright); }

/* ── footer / ephemeris ─────────────────────────────────── */

.site-foot {
  border-top: 1px solid var(--line);
  padding: clamp(6rem, 12vh, 9rem) 0 3rem;
  background:
    radial-gradient(ellipse 90% 70% at 50% 115%, rgba(194, 160, 94, .07), transparent 60%),
    var(--ink);
}
.foot-news { text-align: center; max-width: 620px; margin: 0 auto 5.5rem; }
.seal-mark-foot { width: 82px; margin: 0 auto 1.8rem; }
.seal-mark-foot .sm-star { stroke: var(--brass); opacity: 1; }
.seal-mark-foot .sm-dot { display: none; }

/* ── podcast interlude band ─────────────────────────────── */

.pod-band {
  border-top: 1px solid var(--line);
  padding: clamp(2.8rem, 6vh, 4.2rem) 0;
}
.pod-band-inner {
  display: flex; align-items: center;
  gap: clamp(1.6rem, 4vw, 3rem);
}
.pod-band-mark { width: 50px; height: 50px; flex: none; }
.pod-band-mark circle { fill: none; stroke: var(--brass-dim); stroke-width: 1; }
.pod-band-mark .pbm-dot { fill: var(--cinnabar); stroke: none; }
.pod-band-copy { flex: 1; min-width: 0; }
.pod-band-line {
  margin-top: .55rem;
  color: var(--ivory-70);
  font-size: clamp(1rem, .95rem + .3vw, 1.15rem);
}
.pod-band-cta { flex: none; }

@media (max-width: 720px) {
  .pod-band-inner { flex-direction: column; align-items: flex-start; gap: 1.4rem; }
}

.socials {
  list-style: none;
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: .8rem;
  margin-top: 2.4rem;
}
.socials a {
  display: flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem;
  border: 1px solid var(--brass-dim); border-radius: 50%;
  color: var(--brass); text-decoration: none;
  transition: border-color .3s, color .3s, background .3s, transform .5s var(--ease-out);
}
.socials svg { width: 17px; height: 17px; display: block; fill: currentColor; }
.socials a:hover {
  border-color: var(--brass); background: var(--brass);
  color: var(--ink);
  transform: translateY(-3px);
}
.foot-news .lede { margin-inline: auto; }

.news-form { margin-top: 2.4rem; }
.hp { position: absolute; left: -9999px; }
.news-row {
  display: flex; gap: 0; max-width: 460px; margin: 0 auto;
  border-bottom: 1px solid var(--brass-dim);
  transition: border-color .3s;
}
.news-row:focus-within { border-color: var(--brass); }
.news-row input[type="email"] {
  flex: 1; min-width: 0;
  background: none; border: none;
  font-family: var(--mono); font-size: .85rem; letter-spacing: .04em;
  color: var(--ivory);
  padding: .9em .2em;
}
.news-row input::placeholder { color: var(--ivory-45); }
.news-row input:focus { outline: none; }
.news-row button {
  background: none; border: none; cursor: pointer;
  font-family: var(--mono); font-size: .68rem; letter-spacing: .26em; text-transform: uppercase;
  color: var(--brass);
  padding: .9em .4em .9em 1.2em;
  transition: color .3s, letter-spacing .4s var(--ease-out);
}
.news-row button:hover { color: var(--brass-bright); letter-spacing: .32em; }
.news-consent {
  margin-top: 1.1rem;
  max-width: 44ch; margin-inline: auto;
  font-family: var(--mono); font-size: .56rem; letter-spacing: .1em; line-height: 1.9;
  color: var(--ivory-45);
}
.news-consent cite { font-style: italic; color: var(--ivory-70); }
.news-consent a {
  color: var(--brass); border-bottom: 1px solid var(--brass-dim);
  transition: color .3s, border-color .3s;
}
.news-consent a:hover { color: var(--brass-bright); border-color: var(--brass); }
.news-fine {
  margin-top: .8rem;
  font-family: var(--mono); font-size: .58rem; letter-spacing: .14em;
  color: var(--ivory-45);
  transition: color .3s;
}
.news-status-ok { color: var(--brass-bright); }
.news-status-error { color: var(--cinnabar); }
.news-row button:disabled { opacity: .5; cursor: default; }

/* ── legal / reading pages ──────────────────────────────── */

.legal { padding: clamp(6rem, 14vh, 9rem) 0 clamp(4rem, 10vh, 7rem); }
.legal-wrap { width: min(680px, calc(100% - 3rem)); margin: 0 auto; }
.legal-eyebrow { margin-bottom: 1.2rem; }
.legal-title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.6rem, 1.6rem + 4vw, 4rem);
  line-height: 1.02; margin-bottom: .6rem;
}
.legal-updated {
  font-family: var(--mono); font-size: .6rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ivory-45); margin-bottom: 2.4rem;
}
.legal-lede {
  font-size: clamp(1.2rem, 1.05rem + .6vw, 1.45rem);
  font-style: italic; line-height: 1.5; color: var(--brass-bright);
  padding-bottom: 2.4rem; margin-bottom: 2.4rem;
  border-bottom: 1px solid var(--line);
  text-wrap: pretty;
}
.legal-section { margin-bottom: 2.4rem; }
.legal-section h2 {
  font-family: var(--mono); font-size: .68rem; font-weight: 400;
  letter-spacing: .24em; text-transform: uppercase;
  color: var(--brass); margin-bottom: 1rem;
}
.legal-section h2 em { font-style: normal; color: var(--cinnabar); text-transform: none; }
.legal-section p { color: var(--ivory-70); margin-bottom: 1em; }
.legal-section p:last-child { margin-bottom: 0; }
.legal-section cite { font-style: italic; color: var(--ivory); }
.legal-section strong { color: var(--ivory); font-weight: 500; }
.legal-section a {
  color: var(--brass); border-bottom: 1px solid var(--brass-dim);
  transition: color .3s, border-color .3s;
}
.legal-section a:hover { color: var(--brass-bright); border-color: var(--brass); }
.legal-list { list-style: none; margin: 0; }
.legal-list li {
  position: relative; padding-left: 1.4rem; margin-bottom: .9em;
  color: var(--ivory-70); line-height: 1.65;
}
.legal-list li::before {
  content: "✶"; position: absolute; left: 0; top: 0;
  color: var(--brass); font-size: .7em;
}
.legal-return { margin-top: 3rem; }

.foot-grid {
  display: grid; grid-template-columns: auto 1fr auto;
  gap: 2.5rem; align-items: end;
  border-top: 1px solid var(--line);
  padding-top: 2.4rem;
}
.foot-brand { display: flex; align-items: center; gap: .7rem; }
.foot-brand .star7 { width: 34px; height: 34px; }
.foot-brand p {
  font-family: var(--serif); font-weight: 500; font-size: 1.25rem;
  line-height: 1.15; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ivory);
}
.foot-brand span {
  font-family: var(--mono); font-weight: 400;
  color: var(--ivory-45); font-size: .58rem; letter-spacing: .2em;
}
.foot-nav { display: flex; gap: 1.8rem; justify-content: center; flex-wrap: wrap; }
.foot-nav a {
  font-family: var(--mono); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--ivory-70);
  transition: color .3s;
}
.foot-nav a:hover { color: var(--brass-bright); }
.foot-meta { text-align: right; max-width: 340px; }
.foot-meta p { font-family: var(--mono); font-size: .58rem; letter-spacing: .1em; color: var(--ivory-45); line-height: 1.8; }
.colophon { margin-top: .4rem; }

/* ── podcast page ───────────────────────────────────────── */

.pod-hero {
  padding: clamp(7rem, 14vh, 10rem) 0 clamp(3rem, 6vh, 5rem);
  text-align: center;
}
.pod-fig { display: flex; justify-content: center; margin-bottom: 2.4rem; }
.spiral { width: min(300px, 64vw); height: auto; }
.spiral-turn { transform-origin: 210px 210px; animation: arm-turn 150s linear infinite; }
.sp-line { fill: none; stroke: var(--brass); stroke-width: 1.1; opacity: .5; }
.sp-thin { stroke-width: .6; opacity: .38; }
.sp-steps { fill: none; stroke: var(--brass); stroke-width: .7; opacity: .26; }
.sp-well { fill: none; stroke: var(--brass-dim); stroke-width: 1; }
.sp-eye { fill: var(--cinnabar); }

.pod-head { width: var(--wrap); margin: 0 auto; max-width: 720px; }
.pod-title { margin-bottom: .9rem; }
.pod-byline {
  display: flex; align-items: center; justify-content: center; gap: 1.1rem;
  font-family: var(--mono); font-size: .66rem;
  letter-spacing: .3em; text-transform: uppercase;
  color: var(--ivory-70);
  margin-bottom: 1.6rem;
}
.pod-rule { flex: 0 1 74px; border-top: 1px solid var(--cinnabar); }
.pod-lede { margin-inline: auto; }
.pod-body p { margin-inline: auto; text-align: center; max-width: 52ch; }

.pod-platforms {
  margin-top: 2.2rem;
  font-family: var(--mono); font-size: .64rem;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--ivory-45);
}
.pod-foot { padding-top: 3rem; }
.site-nav a[aria-current="page"] { color: var(--brass-bright); }
.site-nav a[aria-current="page"]::after { right: 0; }

/* ── thanks page ────────────────────────────────────────── */

.thanks-page { min-height: 100svh; }
.thanks-star { width: 44px; height: 44px; animation: seal-turn 40s linear infinite; }
.thanks-eyebrow { margin-top: 2rem; }
.thanks-return { margin-top: 2.5rem; }
.cta-dark { border-color: var(--brass); color: var(--ivory); }
.cta-dark:hover { color: var(--brass-bright); }
.cta-dark span { color: var(--brass); }

/* ── reveal-on-scroll ───────────────────────────────────── */

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  filter: blur(5px);
  transition:
    opacity .85s var(--ease-out),
    transform .85s var(--ease-out),
    filter .85s var(--ease-out);
  transition-delay: var(--rd, 0s);
}
.js .reveal.in { opacity: 1; transform: none; filter: none; }
.js .d1 { --rd: .1s } .js .d2 { --rd: .18s } .js .d3 { --rd: .28s }
.js .d4 { --rd: .38s } .js .d5 { --rd: .48s }

/* eyebrows tighten as they arrive */
.js .eyebrow.reveal { letter-spacing: .48em; transition-property: opacity, transform, filter, letter-spacing; }
.js .eyebrow.reveal.in { letter-spacing: .3em; }

/* ── responsive ─────────────────────────────────────────── */

@media (max-width: 880px) {
  .grid-2, .about-grid { grid-template-columns: 1fr; gap: 3.5rem; }
  .book-col { order: -1; }
  .facts-col { max-width: 460px; width: 100%; margin-inline: auto; }
  .hero-content { padding-top: 0; }
  .hero { justify-content: center; }
  .hero-hud { bottom: 5.4rem; }
  .scroll-cue { display: none; }
  .foot-grid { grid-template-columns: 1fr; gap: 2rem; text-align: left; }
  .foot-meta { text-align: left; }
  .foot-nav { justify-content: flex-start; }
  .ghost-num { right: -2rem; font-size: 38vw; }
  .cover-card .seal { right: -1rem; bottom: -2.6rem; width: 92px; height: 92px; }
  .practice-grid { grid-template-columns: 1fr; gap: 2rem; }
  .practice-head { flex-direction: column-reverse; align-items: flex-start; gap: 2rem; }
  .practice-head .seed { align-self: center; width: 120px; }
}

@media (max-width: 560px) {
  .site-head {
    padding-inline: 1.1rem;
    flex-direction: column; gap: .5rem;
    padding-top: .8rem; padding-bottom: .65rem;
  }
  .brand { font-size: 1.15rem; letter-spacing: .2em; gap: .6rem; }
  .brand .star7 { width: 19px; height: 19px; }
  .site-head.scrolled .brand { font-size: 1.15rem; }
  .site-nav { gap: .95rem; }
  .site-nav a { font-size: .56rem; letter-spacing: .13em; }
  .hero-content { padding-top: 4rem; }
  .specs { grid-template-columns: 1fr 1fr; gap: 1rem 1.2rem; }
  .register-row { grid-template-columns: 2.2rem minmax(0, 1fr) auto; }
  .r-tag { display: none; }
  .news-row { flex-direction: row; }
  .wind-long { display: none; }
}

/* ── reduced motion ─────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .js .reveal, .js .hero-title .wi { opacity: 1 !important; transform: none !important; filter: none !important; }
  .hero-hud { display: none; }
}
