/* Astrolab21 v2 — Direction B refined
   Responsive single-direction homepage */

:root {
  --night: #0d1221;
  --night-deep: #070a15;
  --night-soft: #141a2e;
  --night-mid: #1a2138;
  --bone: #f4ede0;
  --bone-dim: #d9cfba;
  --bone-mute: #9a9382;
  --gold: #e6c484;
  --gold-deep: #b98d42;
  --rule: #2a3150;
  --rule-soft: #1e2540;
  --ember: #c97a4a;

  --f-display: "Cinzel", "Trajan Pro", serif;
  --f-serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --f-ui: "Inter", -apple-system, system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;

  --pad-x: 64px;
  --max-w: 1240px;
  --sec-y: 140px;
}

@media (max-width: 900px) {
  :root { --pad-x: 24px; --sec-y: 80px; }
}
@media (max-width: 560px) {
  :root { --pad-x: 20px; --sec-y: 64px; }
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--night); color: var(--bone);
  font-family: var(--f-serif); scroll-behavior: smooth; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
img { display: block; max-width: 100%; }

/* Type helpers */
.eyebrow {
  font-family: var(--f-ui); font-size: 10.5px; letter-spacing: 0.32em;
  text-transform: uppercase; color: var(--gold); font-weight: 500;
}
.eyebrow.mute { color: var(--bone-mute); }
.eyebrow.deep { color: var(--gold-deep); }

.mono-tag {
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.18em;
  color: var(--bone-mute); text-transform: uppercase;
}

/* Live celestial tag — see js/celestial-tag.js
   ----------------------------------------------------------------
   Inherits .mono-tag base sizing (10.5px, 0.18em letterspacing,
   uppercase). Structured spans support 1.5× zodiac glyphs and an
   inline transit-map link without breaking the line into a wider
   visual element. */
#celestial-tag {
  display: inline-flex; flex-wrap: wrap; align-items: center;
  column-gap: 10px; row-gap: 4px;
  line-height: 1.6;
}
#celestial-tag .ct-label,
#celestial-tag .ct-coord,
#celestial-tag .ct-link,
#celestial-tag .ct-sep {
  display: inline-block;
}
#celestial-tag .ct-coord {
  font-family: var(--f-mono);
  letter-spacing: 0.1em;
  color: var(--bone);
  display: inline-flex; align-items: center; gap: 0.3em;
}
/* Glyph rule: stay in JetBrains Mono (inherited from .mono-tag) — it has
   the zodiac code points and renders them as monochrome text. Cinzel does
   NOT, which is why an earlier version fell back to system emoji ("tacky
   emoji" effect). font-variant-emoji and the U+FE0E text-presentation
   selector appended in JS provide belt-and-suspenders against systems
   that still try to promote dual-purpose chars to emoji style. */
#celestial-tag .ct-glyph {
  font-family: var(--f-mono);
  font-size: 1.5em;
  line-height: 1;
  letter-spacing: 0;
  font-variant-emoji: text;
  font-feature-settings: normal;
  color: var(--gold);
}
#celestial-tag .ct-deg {
  margin-left: 0.15em;
}
#celestial-tag .ct-sep {
  opacity: 0.5;
  letter-spacing: 0;
}
#celestial-tag .ct-link {
  color: var(--gold);
  border-bottom: 1px solid transparent;
  transition: color .15s, border-color .15s;
  white-space: nowrap;
}
#celestial-tag .ct-link:hover {
  color: var(--bone);
  border-bottom-color: var(--gold);
}

@media (max-width: 560px) {
  #celestial-tag .ct-sep + .ct-link { display: inline-block; }
  /* On the narrowest screens, the link can wrap underneath the coord
     line gracefully; flex-wrap on the parent already handles this. */
}

.display {
  font-family: var(--f-display); font-weight: 500; text-transform: uppercase;
  letter-spacing: 0.04em; line-height: 1.02; color: var(--bone); margin: 0;
}

.serif-lead {
  font-family: var(--f-serif); font-style: italic; font-weight: 400;
  color: var(--bone-dim); margin: 0; line-height: 1.5;
}

.container { max-width: var(--max-w); margin: 0 auto; }

/* Responsive display sizes */
.h-hero { font-size: clamp(44px, 9vw, 104px); }
.h-section { font-size: clamp(40px, 7.5vw, 96px); }
.h-sub { font-size: clamp(32px, 5.2vw, 56px); }
.h-card { font-size: clamp(24px, 3.2vw, 40px); }
.h-mega { font-size: clamp(56px, 14vw, 148px); }

.lead-xl { font-size: clamp(18px, 2vw, 24px); }
.lead-md { font-size: clamp(16px, 1.6vw, 20px); }

/* Buttons */
.btn {
  font-family: var(--f-ui); font-size: 12px; letter-spacing: 0.2em;
  text-transform: uppercase; font-weight: 500; padding: 16px 26px;
  cursor: pointer; border-radius: 0; display: inline-flex;
  align-items: center; gap: 12px; text-decoration: none; transition: all .2s;
}
.btn-gold { background: var(--gold); color: var(--night-deep); border: 1px solid var(--gold); }
.btn-gold:hover { background: var(--bone); border-color: var(--bone); }
.btn-outline { background: transparent; color: var(--bone); border: 1px solid rgba(244,237,224,0.4); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-dark { background: var(--night-deep); color: var(--bone); border: 1px solid var(--night-deep); }
.btn-dark:hover { background: transparent; color: var(--night-deep); }

.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* Rules */
.rule { height: 1px; background: var(--rule); width: 100%; }
.rule-gold { height: 1px; background: rgba(230,196,132,0.4); width: 100%; }

/* Section frame: § label + content */
.sec {
  padding: var(--sec-y) var(--pad-x);
  position: relative; overflow: hidden;
}
.sec-head {
  display: grid; grid-template-columns: 180px 1fr; gap: 40px;
  padding-bottom: 48px; border-bottom: 1px solid var(--rule);
  margin-bottom: 72px;
}
.sec-head .tag { font-family: var(--f-mono); font-size: 10px;
  letter-spacing: 0.22em; color: var(--gold-deep); padding-top: 14px;
  text-transform: uppercase; }

@media (max-width: 900px) {
  .sec-head { grid-template-columns: 1fr; gap: 16px;
    padding-bottom: 28px; margin-bottom: 40px; }
  .sec-head .tag { padding-top: 0; }
}

/* Starfield via pseudo + radial-gradient background (cheaper than many SVGs) */
.stars {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(1px 1px at 10% 12%, rgba(244,237,224,0.8), transparent 50%),
    radial-gradient(1px 1px at 82% 23%, rgba(244,237,224,0.6), transparent 50%),
    radial-gradient(1.4px 1.4px at 42% 48%, rgba(230,196,132,0.7), transparent 50%),
    radial-gradient(1px 1px at 67% 82%, rgba(244,237,224,0.7), transparent 50%),
    radial-gradient(1px 1px at 30% 74%, rgba(244,237,224,0.5), transparent 50%),
    radial-gradient(1.2px 1.2px at 91% 64%, rgba(244,237,224,0.55), transparent 50%),
    radial-gradient(1px 1px at 14% 38%, rgba(244,237,224,0.4), transparent 50%),
    radial-gradient(0.8px 0.8px at 55% 15%, rgba(244,237,224,0.5), transparent 50%),
    radial-gradient(1px 1px at 76% 50%, rgba(230,196,132,0.55), transparent 50%),
    radial-gradient(0.8px 0.8px at 22% 90%, rgba(244,237,224,0.45), transparent 50%),
    radial-gradient(1.3px 1.3px at 95% 8%, rgba(244,237,224,0.65), transparent 50%),
    radial-gradient(0.9px 0.9px at 5% 60%, rgba(244,237,224,0.45), transparent 50%);
}

/* NAV */
.nav {
  position: sticky; top: 0; z-index: 100;
  padding: 20px var(--pad-x);
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  background: rgba(13,18,33,0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s, padding .3s;
}
.nav.scrolled { border-bottom-color: var(--rule); padding-top: 14px; padding-bottom: 14px; }
.nav-wordmark {
  display: inline-flex; align-items: center;
  color: var(--bone); white-space: nowrap;
}
.nav-wordmark img { height: 40px; width: auto; display: block; }
@media (max-width: 560px) { .nav-wordmark img { height: 28px; } }

.nav-links {
  display: flex; gap: 30px;
  font-family: var(--f-ui); font-size: 11.5px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--bone-dim);
}
.nav-links a { transition: color .15s; }
.nav-links a:hover { color: var(--gold); }

.nav-toggle {
  display: none; background: transparent; border: 1px solid var(--rule);
  color: var(--bone); width: 40px; height: 40px; cursor: pointer;
  padding: 0; align-items: center; justify-content: center;
}
.nav-toggle svg { display: block; }

@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-links.open {
    display: flex; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--night-deep); border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule); padding: 8px 0;
  }
  .nav-links.open a { padding: 18px var(--pad-x); border-bottom: 1px solid var(--rule-soft); }
  .nav-links.open a:last-child { border-bottom: none; }
}

/* HERO */
.hero {
  background: linear-gradient(180deg, var(--night-deep) 0%, var(--night) 60%, var(--night-soft) 100%);
  padding: 120px var(--pad-x) 100px;
  position: relative; overflow: hidden;
}
.hero-coord {
  display: flex; justify-content: space-between; align-items: center;
  gap: 20px; flex-wrap: wrap;
  padding-bottom: 22px; margin-bottom: 72px;
  border-bottom: 1px solid var(--rule);
}
.hero-inner {
  position: relative;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 80px;
  align-items: center;
}
@media (max-width: 900px) {
  .hero { padding: 72px var(--pad-x) 64px; }
  .hero-inner { grid-template-columns: 1fr; gap: 56px; }
  .hero-coord { margin-bottom: 44px; }
}

.hero h1 { margin: 0 0 40px; }
.hero h1 .italic {
  font-family: var(--f-serif); font-style: italic; font-weight: 300;
  text-transform: none; color: var(--gold); letter-spacing: -0.01em;
  display: block; margin-top: 6px;
}
.hero-intro { max-width: 640px; margin: 0 0 56px;
  font-size: clamp(18px, 1.9vw, 23px); line-height: 1.5; color: var(--bone-dim); }
.hero-intro em { color: var(--bone); font-style: italic; }

@media (max-width: 900px) {
  .hero h1 { margin-bottom: 28px; }
  .hero-intro { margin-bottom: 36px; font-size: 18px; }
}

/* Portrait frame in hero */
.portrait-frame {
  position: relative; width: 100%; max-width: 440px; aspect-ratio: 4 / 5;
  justify-self: end; align-self: center;
}
.portrait-frame::before, .portrait-frame::after {
  content: ''; position: absolute; inset: -14px;
  border: 1px solid rgba(230,196,132,0.3); pointer-events: none;
}
.portrait-frame::after { inset: -26px; border-color: rgba(230,196,132,0.12); }
.portrait-frame img {
  width: 100%; height: 100%; object-fit: cover; object-position: center top;
  filter: sepia(0.15) contrast(1.02) brightness(0.94);
  position: relative; z-index: 1;
}
.portrait-frame .orbit {
  position: absolute; inset: -60px; border: 1px dashed rgba(230,196,132,0.2);
  border-radius: 50%;
}
@media (max-width: 900px) {
  .portrait-frame { max-width: 320px; justify-self: center; order: -1; }
  .portrait-frame .orbit { display: none; }
}

/* Soul Pilot hero strip */
.sp-strip {
  position: relative;
  margin-top: 88px; padding: 26px 32px;
  border: 1px solid rgba(230,196,132,0.35);
  background: rgba(20,26,46,0.55);
  backdrop-filter: blur(4px);
  display: grid; grid-template-columns: auto 1fr auto auto; gap: 24px;
  align-items: center;
}
.sp-strip .sp-badge {
  width: 56px; height: 56px; border: 1px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-display); font-size: 20px; color: var(--gold);
  letter-spacing: 0.02em; flex-shrink: 0;
}
.sp-strip .sp-title {
  font-family: var(--f-display); font-size: 24px; letter-spacing: 0.05em;
  text-transform: uppercase; color: var(--bone);
}
.sp-strip .sp-sub {
  font-family: var(--f-serif); font-style: italic; font-size: 16px;
  color: var(--bone-dim); margin-top: 4px;
}
.sp-strip input {
  font-family: var(--f-ui); font-size: 13px; padding: 12px 14px;
  background: transparent; border: 1px solid var(--rule);
  color: var(--bone); width: 240px; outline: none;
  transition: border-color .15s;
}
.sp-strip input:focus { border-color: var(--gold); }

@media (max-width: 900px) {
  .sp-strip {
    grid-template-columns: auto 1fr;
    grid-template-areas: "badge head" "input input" "btn btn";
    margin-top: 56px; padding: 20px 20px 22px;
  }
  .sp-strip .sp-badge { grid-area: badge; }
  .sp-strip .sp-head { grid-area: head; }
  .sp-strip input { grid-area: input; width: 100%; }
  .sp-strip .sp-btn { grid-area: btn; justify-content: center; }
}

/* COLLECTIVE SOULS */
.cs {
  background: var(--bone); color: var(--night-deep);
  padding: var(--sec-y) var(--pad-x);
}
.cs .sec-head { border-bottom-color: #c9bfa8; }
.cs .h-section { color: var(--night-deep); }
.cs .italic-part {
  font-family: var(--f-serif); font-style: italic; font-weight: 400;
  text-transform: none; color: var(--gold-deep); letter-spacing: -0.01em;
}
.cs-intro { font-family: var(--f-serif); font-style: italic;
  line-height: 1.5; color: #3a332b; margin: 28px 0 0; max-width: 720px; }

.cs-book-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: center; margin-bottom: 80px;
}
.cs-book-wrap { position: relative; display: flex; justify-content: center; }
.cs-book-wrap .orbit-bg {
  position: absolute; width: min(520px, 100%); aspect-ratio: 1;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  opacity: 0.35; pointer-events: none;
}
.cs-book-wrap img {
  position: relative; width: min(340px, 80%); height: auto;
  box-shadow: 0 30px 80px rgba(13,18,33,0.35), 0 6px 20px rgba(13,18,33,0.2);
}
.cs-pull {
  font-family: var(--f-serif); font-size: clamp(22px, 2.6vw, 28px);
  line-height: 1.35; color: var(--night-deep); font-style: italic;
  margin: 20px 0 0;
}

@media (max-width: 900px) {
  .cs-book-row { grid-template-columns: 1fr; gap: 48px; margin-bottom: 56px; }
}

.cs-paths {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #c9bfa8;
}
.cs-path {
  padding: 48px 32px 40px;
  border-right: 1px solid #c9bfa8;
}
.cs-path:last-child { border-right: none; }
.cs-path .rn {
  font-family: var(--f-display); font-size: 36px; color: var(--gold-deep);
  letter-spacing: 0.05em; margin-bottom: 20px;
}
.cs-path h4 {
  font-family: var(--f-display); font-size: clamp(28px, 3.4vw, 40px); font-weight: 500;
  letter-spacing: 0.03em; text-transform: uppercase; color: var(--night-deep);
  margin: 10px 0 20px;
}
.cs-path p { font-family: var(--f-serif); font-size: 18px; line-height: 1.5;
  color: #3a332b; margin: 0 0 28px; }
.cs-path-link {
  font-family: var(--f-ui); font-size: 12px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--night-deep);
  padding: 14px 0; border-top: 1px solid #c9bfa8;
  display: flex; justify-content: space-between; align-items: center;
  transition: color .15s, padding-left .2s;
}
.cs-path-link:last-child { border-bottom: 1px solid #c9bfa8; }
.cs-path-link:hover { color: var(--gold-deep); padding-left: 4px; }

@media (max-width: 900px) {
  .cs-paths { grid-template-columns: 1fr; border-top: 1px solid #c9bfa8; }
  .cs-path { border-right: none; border-bottom: 1px solid #c9bfa8; padding: 36px 0; }
  .cs-path:last-child { border-bottom: none; }
}

/* SOUL PILOT (big section) */
.sp {
  background: linear-gradient(180deg, var(--night-deep) 0%, var(--night) 100%);
  padding: 160px var(--pad-x) 140px;
  position: relative; overflow: hidden; text-align: center;
}
.sp .aureole {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 1000px; max-width: 140%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(230,196,132,0.08) 0%, transparent 55%);
  pointer-events: none;
}
.sp-head-rule {
  display: flex; justify-content: center; align-items: center;
  gap: 14px; margin-bottom: 36px;
}
.sp-head-rule .bar { width: 48px; height: 1px; background: var(--gold); }
.sp-mega {
  font-family: var(--f-display); font-weight: 500; line-height: 0.95;
  letter-spacing: 0.04em; text-transform: uppercase;
  margin: 0 0 20px; color: var(--bone);
}
.sp-mega .accent { color: var(--gold); }
.sp-lead {
  max-width: 780px; margin: 0 auto 64px;
  font-family: var(--f-serif); font-style: italic;
  color: var(--bone-dim); line-height: 1.4;
}
.sp-frame {
  max-width: 820px; margin: 0 auto 80px;
  padding: 48px 56px; border: 1px solid rgba(230,196,132,0.3);
  position: relative;
}
.sp-frame .top-mark {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  background: var(--night); padding: 0 16px;
}
.sp-frame p {
  font-family: var(--f-serif); font-size: clamp(17px, 1.6vw, 20px);
  color: var(--bone-dim); line-height: 1.65; margin: 0;
}
.sp-frame em { color: var(--gold); }

@media (max-width: 720px) {
  .sp { padding: 100px var(--pad-x); }
  .sp-frame { padding: 32px 24px; }
  .sp-lead { margin-bottom: 48px; }
}

.sp-glyphs {
  display: grid; grid-template-columns: repeat(4, 1fr);
  max-width: 960px; margin: 0 auto 72px; text-align: left;
}
.sp-glyph {
  padding: 36px 24px 32px;
  border: 1px solid var(--rule);
  background: var(--night-deep);
  margin-right: -1px;
}
.sp-glyph:last-child { margin-right: 0; }
.sp-glyph .num {
  font-family: var(--f-mono); font-size: 10px; color: var(--gold-deep);
  letter-spacing: 0.22em; margin-bottom: 20px;
}
.sp-glyph .name {
  font-family: var(--f-display); font-size: 20px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--bone); margin-bottom: 10px;
}
.sp-glyph .desc {
  font-family: var(--f-serif); font-style: italic; font-size: 16px;
  color: var(--bone-mute); line-height: 1.4;
}

@media (max-width: 720px) {
  .sp-glyphs { grid-template-columns: repeat(2, 1fr); }
  .sp-glyph { margin-right: 0; margin-bottom: -1px; }
}

/* READINGS */
.readings {
  background: var(--bone); color: var(--night-deep);
  padding: var(--sec-y) var(--pad-x);
  position: relative;
}
.readings .sec-head { border-bottom-color: #c9bfa8; margin-bottom: 56px; }
.readings .h-section { color: var(--night-deep); }
.readings-intro {
  font-family: var(--f-serif); font-style: italic;
  color: #3a332b; line-height: 1.5; margin: 28px 0 0; max-width: 780px;
}

/* Image collage */
.rd-collage {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  margin-bottom: 64px;
}
.rd-tile {
  position: relative; overflow: hidden; aspect-ratio: 1;
  background: #2a2418;
}
.rd-tile svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.rd-tile img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.rd-tile .caption {
  position: absolute; bottom: 20px; left: 22px; right: 22px;
  z-index: 2; color: var(--bone);
}
.rd-tile .caption .k {
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 6px;
}
.rd-tile .caption .v {
  font-family: var(--f-display); font-size: clamp(16px, 2vw, 22px);
  letter-spacing: 0.05em; text-transform: uppercase;
}
.rd-tile .veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(7,10,21,0.8) 100%);
  z-index: 1;
}

@media (max-width: 720px) {
  .rd-collage { grid-template-columns: 1fr; }
}

.rd-matrix {
  display: grid; grid-template-columns: 1fr 1fr;
  border: 1px solid #c9bfa8; margin-bottom: 48px;
}
.rd-col { padding: 40px 40px 32px; }
.rd-col:first-child { border-right: 1px solid #c9bfa8; background: var(--bone); }
.rd-col:last-child { background: #ece4d1; }
.rd-col-head {
  display: flex; align-items: center; gap: 14px; margin-bottom: 28px;
}
.rd-item {
  display: grid; grid-template-columns: 40px 1fr 1fr auto; gap: 16px;
  padding: 18px 0; align-items: baseline;
  border-top: 1px solid #c9bfa8;
  transition: padding-left .2s, color .15s;
  cursor: pointer;
  text-decoration: none; color: var(--night-deep);
}
.rd-item:last-child { border-bottom: 1px solid #c9bfa8; }
.rd-item:hover { padding-left: 6px; color: var(--gold-deep); }
.rd-item .num { font-family: var(--f-mono); font-size: 11px; color: var(--bone-mute); }
.rd-item .name {
  font-family: var(--f-display); font-size: clamp(18px, 2vw, 22px);
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--night-deep);
}
.rd-item:hover .name { color: var(--gold-deep); }
.rd-item .desc { font-family: var(--f-serif); font-style: italic; font-size: 15px; color: #5a4f40; }
.rd-item .arr { color: var(--gold-deep); }

@media (max-width: 820px) {
  .rd-matrix { grid-template-columns: 1fr; }
  .rd-col:first-child { border-right: none; border-bottom: 1px solid #c9bfa8; }
  .rd-item { grid-template-columns: 32px 1fr auto; }
  .rd-item .desc { display: none; }

  /* Single-column flow: list comes first, modality images move to the bottom.
     Desktop keeps natural HTML order (images first); mobile flips via flex order. */
  .readings .container { display: flex; flex-direction: column; }
  .readings .sec-head    { order: 1; }
  .readings .rd-matrix   { order: 2; }
  .readings .rd-cta-wrap { order: 3; }
  .readings .rd-collage  { order: 4; margin-top: 56px; }
  .readings .testimonial { order: 5; }
}

.rd-cta-wrap { text-align: center; }

/* Readings → Tools link (subtle "Free Tool" eyebrow link below intro) */
.readings-tool-link {
  display: inline-flex; align-items: center; gap: 18px;
  margin-top: 28px; padding: 14px 22px;
  border: 1px solid #c9bfa8;
  background: rgba(255,255,255,0.45);
  text-decoration: none; color: var(--night-deep);
  transition: padding-left .2s, border-color .15s, background .2s;
}
.readings-tool-link:hover {
  padding-left: 28px;
  border-color: var(--gold-deep);
  background: rgba(185,141,66,0.08);
}
.readings-tool-link .readings-tool-eyebrow {
  font-family: var(--f-ui); font-size: 10px; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--gold-deep); font-weight: 500;
  white-space: nowrap;
}
.readings-tool-link .readings-tool-text {
  font-family: var(--f-serif); font-style: italic; font-size: 17px;
  color: var(--night-deep); line-height: 1.2;
}
.readings-tool-link .readings-tool-arr {
  color: var(--gold-deep); font-family: var(--f-serif);
}

/* ════════════════════════════════════════════════════════════════
   TOOLS PAGES — /tools/, /tools/chart/, /tools/transits/
   Shared chrome for the standalone tools subpages. Dark night
   palette so the embedded Neutrino widgets (Dark Theme + No
   Background) render cleanly against our background.
   ════════════════════════════════════════════════════════════════ */

.tools {
  background: linear-gradient(180deg, var(--night-deep) 0%, var(--night) 100%);
  color: var(--bone);
  min-height: calc(100vh - 200px);
  padding: 80px var(--pad-x) 120px;
  position: relative; overflow: hidden;
}
.tools .stars { opacity: 0.5; }
.tools-inner { max-width: var(--max-w); margin: 0 auto; position: relative; }

.tools-head {
  text-align: center;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 64px;
}
.tools-head .eyebrow { margin-bottom: 18px; }
.tools-head h1 {
  font-family: var(--f-display); font-weight: 500; text-transform: uppercase;
  letter-spacing: 0.04em; line-height: 1.02;
  font-size: clamp(40px, 7vw, 88px);
  color: var(--bone); margin: 0 0 28px;
}
.tools-head h1 .italic {
  font-family: var(--f-serif); font-style: italic; font-weight: 300;
  text-transform: none; color: var(--gold); letter-spacing: -0.01em;
  display: block; margin-top: 6px;
}
.tools-head .lead {
  font-family: var(--f-serif); font-style: italic;
  font-size: clamp(18px, 1.9vw, 22px); line-height: 1.5;
  color: var(--bone-dim); max-width: 720px; margin: 0 auto;
}

/* Hub page — two cards linking to chart + transits */
.tools-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  margin-bottom: 60px;
}
.tools-card {
  position: relative; overflow: hidden;
  padding: 56px 44px; min-height: 360px;
  border: 1px solid var(--rule);
  background: var(--night-deep);
  display: flex; flex-direction: column;
  text-decoration: none; color: var(--bone);
  transition: border-color .2s;
}
.tools-card:hover { border-color: rgba(230,196,132,0.6); }
.tools-card .glow {
  position: absolute; top: -60px; right: -60px;
  width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(230,196,132,0.18) 0%, transparent 65%);
  pointer-events: none;
}
.tools-card .row {
  position: relative;
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 44px;
}
.tools-card h2 {
  position: relative;
  font-family: var(--f-display); font-weight: 500; text-transform: uppercase;
  letter-spacing: 0.04em; line-height: 1;
  font-size: clamp(32px, 4.4vw, 52px);
  color: var(--bone); margin: 0 0 20px;
}
.tools-card p {
  position: relative;
  font-family: var(--f-serif); font-size: 18px; line-height: 1.55;
  color: var(--bone-dim); margin: 0 0 auto; max-width: 420px;
}
.tools-card .link {
  position: relative; margin-top: 36px; align-self: flex-start;
  font-family: var(--f-ui); font-size: 12px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold);
  border-bottom: 1px solid var(--gold); padding-bottom: 8px;
  transition: color .15s, border-color .15s;
}
.tools-card:hover .link { color: var(--bone); border-color: var(--bone); }

@media (max-width: 820px) {
  .tools-grid { grid-template-columns: 1fr; }
  .tools-card { padding: 40px 28px; min-height: 280px; }
}

/* Tool widget page — frame around the embedded iframe */
.tool-widget-frame {
  margin: 0 auto 56px;
  max-width: 980px;
  padding: 24px;
  border: 1px solid var(--rule);
  background: rgba(7,10,21,0.4);
}
.tool-widget-frame iframe {
  display: block; width: 100%;
  background: transparent;
  border: 0;
}
.chart-widget-mobile { display: none; }
@media (max-width: 820px) {
  .chart-widget-desktop { display: none; }
  .chart-widget-mobile  { display: block; }
}

.tool-prelude {
  max-width: 720px; margin: 0 auto 48px; text-align: center;
}
.tool-prelude p {
  font-family: var(--f-serif); font-size: clamp(16px, 1.7vw, 19px);
  line-height: 1.6; color: var(--bone-dim);
  margin: 0 0 14px;
}
.tool-prelude p em { color: var(--gold); font-style: italic; }
.tool-prelude .hint {
  margin-top: 18px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--bone-mute);
}

.tool-followup {
  max-width: 720px; margin: 0 auto; text-align: center;
  padding-top: 56px; border-top: 1px solid var(--rule-soft);
}
.tool-followup .eyebrow { margin-bottom: 18px; }
.tool-followup h3 {
  font-family: var(--f-display); font-weight: 500; text-transform: uppercase;
  letter-spacing: 0.04em; line-height: 1.05;
  font-size: clamp(26px, 3.4vw, 38px);
  color: var(--bone); margin: 0 0 18px;
}
.tool-followup p {
  font-family: var(--f-serif); font-style: italic;
  font-size: clamp(17px, 1.7vw, 19px); line-height: 1.5;
  color: var(--bone-dim); margin: 0 0 28px;
}
.tool-followup .btn-row { justify-content: center; }

.tools-back {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 28px;
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--bone-mute);
  transition: color .15s;
}
.tools-back:hover { color: var(--gold); }
.tools-back .arr { color: var(--gold-deep); }

.tools-attribution {
  margin-top: 64px; padding-top: 28px;
  border-top: 1px solid var(--rule-soft);
  text-align: center;
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--bone-mute);
}
.tools-attribution a { color: var(--gold-deep); border-bottom: 1px solid var(--rule); padding-bottom: 1px; }
.tools-attribution a:hover { color: var(--gold); }

/* Testimonial */
.testimonial {
  margin-top: 96px; padding: 72px 0;
  border-top: 1px solid rgba(185,141,66,0.4);
  border-bottom: 1px solid rgba(185,141,66,0.4);
  text-align: center;
}
.testimonial-mark { display: flex; justify-content: center; margin-bottom: 32px; }
.testimonial blockquote {
  font-family: var(--f-serif); font-style: italic;
  font-size: clamp(22px, 3vw, 36px); line-height: 1.35; color: var(--night-deep);
  margin: 0 auto; max-width: 900px; padding: 0 var(--pad-x);
  min-height: 140px;
  transition: opacity .3s;
}
.testimonial-byline {
  margin-top: 36px; font-family: var(--f-mono); font-size: 11px;
  letter-spacing: 0.22em; color: var(--gold-deep); text-transform: uppercase;
}
.testimonial-dots { margin-top: 32px; display: flex; justify-content: center; gap: 10px; }
.testimonial-dots button {
  width: 10px; height: 10px; border-radius: 50%;
  border: 1px solid var(--gold-deep); background: transparent;
  padding: 0; cursor: pointer; transition: background .15s;
}
.testimonial-dots button.active { background: var(--gold-deep); }

/* WRITING */
.writing {
  background: var(--night); color: var(--bone);
  padding: var(--sec-y) var(--pad-x);
}
.writing .h-section { color: var(--bone); }
.writing .italic-part {
  font-family: var(--f-serif); font-style: italic; font-weight: 400;
  text-transform: none; color: var(--gold); letter-spacing: -0.01em;
}

.wr-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
}
.wr-card {
  padding: 56px 44px; border: 1px solid var(--rule);
  background: var(--night-deep); min-height: 400px;
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
  transition: border-color .2s, transform .3s;
}
.wr-card:hover { border-color: rgba(230,196,132,0.6); }
.wr-card .glow {
  position: absolute; top: -60px; right: -60px;
  width: 260px; height: 260px; border-radius: 50%;
  pointer-events: none;
}
.wr-card.fire .glow { background: radial-gradient(circle, rgba(201,122,74,0.2) 0%, transparent 65%); }
.wr-card.yt .glow   { background: radial-gradient(circle, rgba(230,196,132,0.2) 0%, transparent 65%); }
.wr-card .row {
  position: relative; display: flex; justify-content: space-between;
  align-items: center; margin-bottom: 48px;
}
.wr-card h3 {
  position: relative;
  font-family: var(--f-display); font-size: clamp(36px, 4.6vw, 56px);
  font-weight: 500; text-transform: uppercase; letterSpacing: 0.03em;
  color: var(--bone); margin: 0 0 20px; line-height: 1;
}
.wr-card p {
  position: relative;
  font-family: var(--f-serif); font-size: 18px; line-height: 1.55;
  color: var(--bone-dim); margin: 0 0 auto; max-width: 420px;
}
.wr-card .link {
  position: relative; margin-top: 40px;
  font-family: var(--f-ui); font-size: 12px; letter-spacing: 0.2em;
  text-transform: uppercase;
  padding-bottom: 8px; align-self: flex-start;
}
.wr-card.fire .link { color: var(--ember); border-bottom: 1px solid var(--ember); }
.wr-card.yt .link   { color: var(--gold);  border-bottom: 1px solid var(--gold); }

@media (max-width: 820px) {
  .wr-grid { grid-template-columns: 1fr; }
  .wr-card { padding: 40px 28px; min-height: 300px; }
}

/* ABOUT */
.about {
  background: linear-gradient(180deg, var(--night) 0%, var(--night-deep) 100%);
  color: var(--bone);
  padding: var(--sec-y) var(--pad-x);
  position: relative; overflow: hidden;
}
.about-inner {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 90px;
  align-items: center;
}
.about-portrait {
  position: relative;
  width: 100%; aspect-ratio: 4/5; max-width: 480px;
  justify-self: start;
}
.about-portrait::before {
  content: ''; position: absolute; inset: -18px; border: 1px solid rgba(230,196,132,0.3);
}
.about-portrait::after {
  content: ''; position: absolute; inset: -32px; border: 1px solid rgba(230,196,132,0.12);
}
.about-portrait img {
  width: 100%; height: 100%; object-fit: cover;
  filter: sepia(0.15) contrast(1.02) brightness(0.94);
  position: relative;
}
.about h2 { font-family: var(--f-display); font-weight: 500;
  font-size: clamp(40px, 6vw, 80px); letter-spacing: 0.04em;
  text-transform: uppercase; margin: 0 0 32px; line-height: 1; }
.about h2 em {
  font-family: var(--f-serif); font-style: italic; font-weight: 400;
  color: var(--gold); text-transform: none; letter-spacing: -0.01em;
  display: block; margin-top: 6px;
}
.about p {
  font-family: var(--f-serif); font-size: clamp(17px, 1.7vw, 19.5px);
  line-height: 1.6; color: var(--bone-dim); margin: 0 0 22px;
}
.about p:last-of-type { margin-bottom: 40px; }
.about-sig {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold-deep);
  padding-top: 28px; border-top: 1px solid var(--rule);
}

@media (max-width: 900px) {
  .about-inner { grid-template-columns: 1fr; gap: 56px; }
  .about-portrait { max-width: 320px; justify-self: center; }
}

/* NEWSLETTER */
.newsletter {
  background: linear-gradient(180deg, var(--night-deep) 0%, var(--night) 100%);
  padding: 120px var(--pad-x); text-align: center;
  position: relative; overflow: hidden;
  border-top: 1px solid var(--rule-soft);
}
.newsletter-inner { position: relative; max-width: 720px; margin: 0 auto; }
.newsletter-mark { display: flex; justify-content: center; margin-bottom: 28px; }
.newsletter h2 {
  font-family: var(--f-display); font-weight: 500; text-transform: uppercase;
  letter-spacing: 0.04em; font-size: clamp(36px, 5vw, 68px); margin: 0;
  color: var(--bone); line-height: 1.02;
}
.newsletter p {
  font-family: var(--f-serif); font-style: italic;
  font-size: clamp(18px, 1.8vw, 22px); line-height: 1.5;
  color: var(--bone-dim); margin: 28px 0 48px;
}
.newsletter-form {
  display: flex; max-width: 500px; margin: 0 auto;
  border: 1px solid rgba(230,196,132,0.4);
}
.newsletter-form input {
  font-family: var(--f-ui); font-size: 15px; padding: 16px 20px;
  background: transparent; border: none; color: var(--bone);
  flex: 1; outline: none;
}
.newsletter-form button {
  font-family: var(--f-ui); font-size: 12px; letter-spacing: 0.2em;
  text-transform: uppercase; background: var(--gold); color: var(--night-deep);
  border: none; padding: 0 26px; cursor: pointer; font-weight: 500;
  white-space: nowrap;
}
.newsletter-note {
  margin-top: 20px; font-family: var(--f-mono); font-size: 10px;
  letter-spacing: 0.25em; color: var(--bone-mute); text-transform: uppercase;
}

/* CONTACT */
.contact {
  background: var(--night-deep); color: var(--bone);
  padding: var(--sec-y) var(--pad-x);
  border-top: 1px solid var(--rule-soft);
}
.contact-inner {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 90px;
  align-items: start;
}
.contact-left h2 {
  font-family: var(--f-display); font-weight: 500; text-transform: uppercase;
  letter-spacing: 0.04em; font-size: clamp(40px, 6vw, 72px);
  margin: 18px 0 24px; line-height: 1;
}
.contact-left p {
  font-family: var(--f-serif); font-style: italic;
  font-size: clamp(17px, 1.7vw, 20px); line-height: 1.5;
  color: var(--bone-dim); margin: 0 0 32px; max-width: 420px;
}
.contact-direct {
  font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.18em;
  color: var(--gold); text-transform: uppercase;
  padding-top: 24px; border-top: 1px solid var(--rule);
}
.contact-direct a { color: var(--bone); text-transform: none; letter-spacing: 0.02em;
  font-size: 18px; margin-top: 8px; display: inline-block; border-bottom: 1px solid var(--gold); padding-bottom: 2px; }

.contact-form {
  display: grid; gap: 18px;
}
.contact-form .pair {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
}
.contact-form label {
  display: block; font-family: var(--f-mono); font-size: 10px;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-deep);
  margin-bottom: 8px;
}
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%; font-family: var(--f-serif); font-size: 17px;
  padding: 14px 16px; background: transparent;
  border: 1px solid var(--rule); color: var(--bone);
  outline: none; transition: border-color .15s;
  border-radius: 0;
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus {
  border-color: var(--gold);
}
.contact-form textarea { min-height: 140px; resize: vertical; font-family: var(--f-serif); }
.contact-form select { font-family: var(--f-ui); font-size: 14px; color: var(--bone-dim); }
.contact-form .submit {
  background: var(--gold); color: var(--night-deep);
  font-family: var(--f-ui); font-size: 12px; letter-spacing: 0.2em;
  text-transform: uppercase; font-weight: 500;
  padding: 18px 28px; border: none; cursor: pointer;
  justify-self: start; display: inline-flex; align-items: center; gap: 12px;
  transition: background .2s;
}
.contact-form .submit:hover { background: var(--bone); }
.contact-success {
  display: none; padding: 20px; border: 1px solid var(--gold);
  font-family: var(--f-serif); font-style: italic; color: var(--gold);
  text-align: center;
}
.contact-success.show { display: block; }

@media (max-width: 900px) {
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .contact-form .pair { grid-template-columns: 1fr; }
}

/* FOOTER */
.footer {
  background: #05060d; color: var(--bone-dim);
  padding: 80px var(--pad-x) 40px;
  border-top: 1px solid var(--rule-soft);
}
.footer-top {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--rule);
}
.footer-top .brand-block .tag {
  font-family: var(--f-serif); font-style: italic; font-size: 18px;
  line-height: 1.5; color: var(--bone-dim); margin: 24px 0 0; max-width: 320px;
}
.footer-col h5 {
  font-family: var(--f-ui); font-size: 10.5px; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--gold); font-weight: 500;
  margin: 0 0 18px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 12px; }
.footer-col li { font-family: var(--f-serif); font-size: 17px; color: var(--bone); }

.footer-bottom {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px;
  padding-top: 28px; align-items: center;
  font-family: var(--f-mono); font-size: 10.5px; color: var(--bone-mute);
  letter-spacing: 0.22em; text-transform: uppercase;
}
.footer-bottom .center {
  text-align: center; color: var(--gold-deep);
}
.footer-bottom .right { text-align: right; }
.footer-bottom .right a { color: var(--gold); border-bottom: 1px solid var(--gold-deep); padding-bottom: 2px; }
.footer-bottom .right a:hover { color: var(--bone); }

@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-top .brand-block { grid-column: span 2; }
}
@media (max-width: 560px) {
  .footer-bottom { grid-template-columns: 1fr; text-align: center; gap: 16px; }
  .footer-bottom .right, .footer-bottom .center { text-align: center; }
}

/* ─────────────────────────────────────────────────────────────────────────
   PHASE 4 — /apps/ Soul Pilot page
   Reuses the existing .sp / .sp-frame / .sp-glyphs idioms; adds page-level
   marks (compass-star icon, Cinzel SVG wordmark), tagline, dedicated
   waitlist form, and a back-to-home foot.
   ───────────────────────────────────────────────────────────────────────── */

/* Soul Pilot brand palette — used on /apps/ ONLY, distinct from
   Astrolab21's --gold etc. Sourced from the promo-kit spec sheet. */
.sp { /* page-specific palette overrides scoped to the section */
  --sp-gold-bright: #e8c97a; /* icon, high-emphasis */
  --sp-gold-mid:    #c9a96a; /* wordmark, eyebrows, UI gold */
  --sp-ink-soft:    #b8b09a; /* tagline, supporting prose */
}

/* Compass-star icon — Gold Bright. Sized as decorative mark above the
   wordmark; the wordmark itself is the dominant brand element. */
.sp-mark-icon {
  display: flex; justify-content: center;
  margin: 12px auto 36px;
  filter: drop-shadow(0 0 30px rgba(232,201,122,0.18));
}
.sp-mark-icon svg {
  width: clamp(72px, 8vw, 96px);
  height: auto;
}

/* Wordmark — INLINE (SOUL PILOT on one line) matching the soulpilot.app
   splash treatment. Cinzel weight 400 (not 500) for the more delicate
   Roman-cap rendering. Gold Mid from the Soul Pilot palette. */
.sp-wordmark {
  text-align: center;
  font-family: var(--f-display); /* Cinzel */
  font-weight: 400;
  color: var(--sp-gold-mid);
  letter-spacing: 0.32em;
  word-spacing: 0.4em;
  line-height: 1;
  font-size: clamp(36px, 5.6vw, 56px);
  margin: 0 auto 28px;
  /* Optical correction: tracking adds em on right side of last letter,
     pushing visual center slightly left. Compensate with padding-left. */
  padding-left: 0.32em;
}

/* Tagline — Ink Soft per spec; Cormorant Garamond italic kept as a
   harmonious cousin of the EB Garamond original (we don't load EB
   Garamond just for this tagline, by Phase 4 decision). */
.sp-tagline {
  text-align: center;
  font-family: var(--f-serif); font-style: italic;
  font-size: clamp(18px, 1.8vw, 22px);
  letter-spacing: 0.04em;
  color: var(--sp-ink-soft);
  margin: 0 auto 56px;
  max-width: 560px;
}

/* Page-level waitlist block */
.sp-page-waitlist {
  max-width: 640px; margin: 88px auto 64px;
  padding: 56px 48px;
  border: 1px solid rgba(230,196,132,0.28);
  background: rgba(7, 10, 21, 0.5);
  text-align: center;
  position: relative;
}
.sp-page-waitlist-eyebrow {
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.32em;
  text-transform: uppercase; color: var(--gold-deep);
  margin-bottom: 14px;
}
.sp-page-waitlist-title {
  font-family: var(--f-display); font-weight: 500; text-transform: uppercase;
  letter-spacing: 0.04em; font-size: clamp(28px, 3.4vw, 40px);
  color: var(--bone); margin: 0 0 18px; line-height: 1.05;
}
.sp-page-waitlist-lead {
  font-family: var(--f-serif); font-style: italic;
  color: var(--bone-dim); line-height: 1.5;
  margin: 0 auto 32px; max-width: 460px;
  font-size: clamp(16px, 1.5vw, 18px);
}
.sp-page-waitlist-form {
  display: flex; flex-wrap: wrap; gap: 12px;
  max-width: 520px; margin: 0 auto;
  justify-content: center;
}
.sp-page-waitlist-form input[type="email"] {
  flex: 1 1 220px;
  font-family: var(--f-ui); font-size: 15px;
  padding: 14px 18px;
  background: rgba(7,10,21,0.7);
  border: 1px solid rgba(230,196,132,0.4);
  color: var(--bone);
  outline: none; transition: border-color .15s;
  border-radius: 0;
}
.sp-page-waitlist-form input[type="email"]:focus {
  border-color: var(--gold);
}
.sp-page-waitlist-form input[type="email"]::placeholder {
  color: var(--bone-mute);
}
.sp-page-waitlist-form .btn {
  flex: 0 0 auto;
}
.sp-page-waitlist-note {
  margin-top: 28px; padding-top: 20px;
  border-top: 1px solid var(--rule-soft);
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--bone-mute);
}
.sp-page-waitlist-note a {
  color: var(--gold); border-bottom: 1px solid var(--gold-deep);
  padding-bottom: 1px; letter-spacing: 0.1em;
}
.sp-page-waitlist-note a:hover { color: var(--bone); }

.sp-page-foot {
  text-align: center; margin-top: 24px;
}

@media (max-width: 720px) {
  .sp-page-waitlist { padding: 40px 28px; margin: 64px auto 48px; }
  .sp-tagline { margin-bottom: 40px; }
}

/* /books/ — Collective Souls page additions
   New blocks: ecosystem framing, future-works note, page foot. */
.cs-ecosystem {
  max-width: 760px; margin: 0 auto 64px;
  padding: 32px 36px;
  border-left: 2px solid var(--gold-deep);
}
.cs-ecosystem p {
  font-family: var(--f-serif);
  font-size: clamp(17px, 1.6vw, 19px);
  line-height: 1.6; color: #3a332b; margin: 0;
}
.cs-ecosystem p em { color: var(--gold-deep); font-style: italic; }

.cs-future {
  margin-top: 80px; padding-top: 48px;
  border-top: 1px solid #c9bfa8;
  text-align: center;
}
.cs-future p {
  font-family: var(--f-serif); font-style: italic;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.5; color: #3a332b;
  margin: 18px auto 0; max-width: 560px;
}
.cs-future p a {
  color: var(--gold-deep);
  border-bottom: 1px solid var(--gold-deep);
}
.cs-future p a:hover { color: var(--night-deep); }

.cs-foot { text-align: center; margin-top: 56px; }

@media (max-width: 720px) {
  .cs-ecosystem { padding: 24px 24px; margin-bottom: 48px; }
}

/* /content/ — Writing & Videos page additions
   Featured-pieces grid (currently stub) and the more-coming foot.
   Renders on .writing's dark background. */
.ft-section {
  margin-top: 96px; padding-top: 56px;
  border-top: 1px solid var(--rule-soft);
  text-align: center;
}
.ft-stub {
  font-family: var(--f-serif); font-style: italic;
  font-size: clamp(16px, 1.6vw, 18px);
  color: var(--bone-mute); line-height: 1.55;
  margin: 0 auto 24px; max-width: 540px;
}
.ft-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px; margin-top: 32px; text-align: left;
  max-width: 1040px; margin-left: auto; margin-right: auto;
}
.ft-card {
  display: flex; flex-direction: column; gap: 14px;
  padding: 36px 32px 28px;
  border: 1px solid var(--rule);
  background: var(--night-deep);
  min-height: 200px;
  transition: border-color .2s, transform .25s, background .25s;
}
.ft-card:hover {
  border-color: var(--gold);
  background: rgba(7, 10, 21, 0.85);
  transform: translateY(-2px);
}
.ft-eyebrow {
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--gold-deep);
}
.ft-title {
  font-family: var(--f-display); font-weight: 500;
  font-size: clamp(20px, 2vw, 26px); letter-spacing: 0.02em;
  color: var(--bone); margin: 0; line-height: 1.25;
}
.ft-title-sub {
  display: block;
  font-family: var(--f-serif); font-style: italic; font-weight: 400;
  font-size: 0.66em; letter-spacing: 0;
  color: var(--bone-mute);
  margin-top: 6px;
  text-transform: none;
}
.ft-meta {
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--bone-mute); margin: 0;
}
.ft-link {
  margin-top: auto;
  font-family: var(--f-ui); font-size: 11.5px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold);
  padding-top: 16px; border-top: 1px solid var(--rule-soft);
  display: inline-flex; gap: 10px; align-items: center;
}
.ft-card:hover .ft-link { color: var(--bone); }

/* Mutable Fire variant — match the .wr-card.fire ember accent so visitors
   read the same color signal across the page. */
.ft-card.fire .ft-eyebrow { color: var(--ember); }
.ft-card.fire .ft-link    { color: var(--ember); }
.ft-card.fire:hover       { border-color: var(--ember); }
.ft-card.fire:hover .ft-link { color: var(--bone); }

@media (max-width: 720px) {
  .ft-grid { grid-template-columns: 1fr; }
  .ft-card { padding: 28px 24px 22px; min-height: 0; }
}

.ct-future {
  margin-top: 88px; padding-top: 48px;
  border-top: 1px solid var(--rule-soft);
  text-align: center;
}
.ct-future p {
  font-family: var(--f-serif); font-style: italic;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.55; color: var(--bone-dim);
  margin: 18px auto 0; max-width: 580px;
}
.ct-future p a {
  color: var(--gold); border-bottom: 1px solid var(--gold-deep); padding-bottom: 1px;
}
.ct-future p a:hover { color: var(--bone); }
.ct-foot { text-align: center; margin-top: 56px; }

/* ─────────────────────────────────────────────────────────────────────────
   PHASE 2 — Multi-page revision
   - Teaser cards row (dark) between Readings and Newsletter
   - Newsletter section flipped DARK → LIGHT for color alternation
   - Contact section flipped DARK → LIGHT for color alternation
   Locked alternation: Hero(dark) · Readings(light) · Teaser(dark) ·
   Newsletter(light) · About(dark) · Contact(light)
   ───────────────────────────────────────────────────────────────────────── */

/* TEASER CARDS ─────────────────────────────────────────────────────────── */
.teaser {
  background: linear-gradient(180deg, var(--night-soft) 0%, var(--night) 60%, var(--night-deep) 100%);
  color: var(--bone);
  padding: var(--sec-y) var(--pad-x);
  position: relative; overflow: hidden;
  border-top: 1px solid var(--rule-soft);
}
.teaser .container { position: relative; }
.teaser-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 80px;
}
.teaser-head .eyebrow { display: inline-block; margin-bottom: 24px; }
.teaser-title {
  font-family: var(--f-display); font-weight: 500; text-transform: uppercase;
  letter-spacing: 0.04em; font-size: clamp(40px, 6vw, 72px);
  margin: 0 0 28px; line-height: 1; color: var(--bone);
}
.teaser-title .italic-part {
  font-family: var(--f-serif); font-style: italic; font-weight: 400;
  color: var(--gold); text-transform: none; letter-spacing: -0.01em;
}
.teaser-lead {
  font-family: var(--f-serif); font-style: italic;
  font-size: clamp(18px, 1.8vw, 22px); line-height: 1.5;
  color: var(--bone-dim); margin: 0;
}

.teaser-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}
.teaser-card {
  position: relative;
  display: flex; flex-direction: column;
  padding: 48px 36px 40px;
  border: 1px solid var(--rule);
  background: rgba(7, 10, 21, 0.4);
  color: var(--bone);
  transition: border-color .25s, transform .25s, background .25s;
  min-height: 360px;
}
.teaser-card:hover {
  border-color: var(--gold);
  background: rgba(7, 10, 21, 0.7);
  transform: translateY(-2px);
}
.teaser-mark {
  margin-bottom: 28px;
  opacity: 0.92;
}
.teaser-num {
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.32em;
  text-transform: uppercase; color: var(--gold-deep);
  margin-bottom: 12px;
}
.teaser-name {
  font-family: var(--f-display); font-weight: 500;
  font-size: clamp(28px, 3vw, 38px); letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--bone);
  margin-bottom: 18px; line-height: 1;
}
.teaser-desc {
  font-family: var(--f-serif);
  font-size: 17px; line-height: 1.55;
  color: var(--bone-dim); margin: 0 0 32px;
  flex: 1;
}
.teaser-link {
  font-family: var(--f-ui); font-size: 11.5px; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--gold); font-weight: 500;
  display: inline-flex; gap: 10px; align-items: center;
  padding-top: 18px; border-top: 1px solid var(--rule-soft);
  transition: color .2s, border-color .2s;
}
.teaser-card:hover .teaser-link {
  color: var(--bone);
  border-top-color: var(--gold);
}

@media (max-width: 900px) {
  .teaser-head { margin-bottom: 56px; }
  .teaser-grid { grid-template-columns: 1fr; gap: 16px; }
  .teaser-card { min-height: 0; padding: 36px 28px 32px; }
  .teaser-desc { margin-bottom: 24px; }
}

/* NEWSLETTER — light theme override ────────────────────────────────────── */
.newsletter {
  background: var(--bone);
  color: var(--night-deep);
  border-top: 1px solid #c9bfa8;
}
.newsletter .stars { display: none; } /* stars don't read on cream */
.newsletter h2 { color: var(--night-deep); }
.newsletter p { color: #3a332b; }
.newsletter-form { border-color: rgba(185, 141, 66, 0.5); }
.newsletter-form input { color: var(--night-deep); }
.newsletter-form input::placeholder { color: #8a8273; }
.newsletter-form button { background: var(--gold-deep); color: var(--bone); }
.newsletter-form button:hover { background: #a47a35; }
.newsletter-note { color: #8a8273; }
.newsletter-mark svg circle:first-child { stroke: var(--gold-deep) !important; }
.newsletter-mark svg circle:last-child { fill: var(--gold-deep) !important; }

/* CONTACT — light theme override ───────────────────────────────────────── */
.contact {
  background: var(--bone);
  color: var(--night-deep);
  border-top: 1px solid #c9bfa8;
}
.contact-left h2 { color: var(--night-deep); }
.contact-left p { color: #3a332b; }
.contact-direct {
  color: var(--gold-deep);
  border-top-color: #c9bfa8;
}
.contact-direct a {
  color: var(--night-deep);
  border-bottom-color: var(--gold-deep);
}
.contact-form label { color: var(--gold-deep); }
.contact-form input,
.contact-form textarea,
.contact-form select {
  color: var(--night-deep);
  border-color: #c9bfa8;
  background: rgba(255, 255, 255, 0.45);
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--gold-deep);
  background: rgba(255, 255, 255, 0.7);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #8a8273;
}
.contact-form select { color: #3a332b; }
.contact-form .submit { background: var(--gold-deep); color: var(--bone); }
.contact-form .submit:hover { background: #a47a35; }
.contact-success {
  border-color: var(--gold-deep);
  color: var(--gold-deep);
}
