/* ──────────────────────────────────────────────────────────────────
 * /css/human-design.css — bodygraph-specific components for /human-design/
 *
 * The page chrome (hero-cosmic, form-frame, results-section, sr-altar,
 * bc-suggest, loader) is reused verbatim from css/solar-return.css, exactly
 * as /chinese-astrology/ does. This file adds only what is new to the
 * Human Design tool:
 *   - the result summary pills (Type · Strategy · Authority · Profile · Definition)
 *   - the bodygraph SVG frame (responsive, ~420px, centered)
 *   - the "What is Human Design" explainer section
 *   - the upsell note + "Included with membership." line
 *   - the sibling-tool crosslink on the dark results sky
 *
 * Brand palette (never hardcode elsewhere): parchment #FBF3DC, ink #2D1F38,
 * burgundy/wine #6B1F2C, aubergine #3A1F38, gold #B89150 / #D4AC68 / #8E6E3A.
 * ────────────────────────────────────────────────────────────────── */

body.hd-page {
  --hd-parchment: #FBF3DC;
  --hd-ink:       #2D1F38;
  --hd-wine:      #6B1F2C;
  --hd-gold:      #B89150;
  --hd-gold-lt:   #D4AC68;
  --hd-gold-dk:   #8E6E3A;
}
/* The warm peach manuscript ground from the CN animal / HD type pages —
   Michael's canonical "peach" — held through the hero/lore/form stretch,
   then blending back into the site's parchment below the form.
   NOT on the my-readings delivery view (body also carries .sr-view-v2 there),
   which keeps its dark illuminated ground like every other reading view. */
body.hd-page:not(.sr-view-v2) {
  background:
    linear-gradient(180deg, #F0DFC8 0px, #EBD6BD 1150px, #F4E7CC 2000px, #FBF3DC 2700px)
    #FBF3DC;
}

/* The ❦ bridge ornament carries a parchment chip built for the dark results
   sky — on the peach ground it reads as a white square. Quiet it down. */
body.hd-page .sr-bridge-mark { background: transparent; }

/* Hero headline accent — "Your Human Design Chart, *Free*" */
body.hd-page .hero-cosmic h1 em {
  font-style: italic;
  color: #F0D89A;
}

/* ═══════════════════════════════════════════════════════════
   1 · RESULT SUMMARY PILLS
   Cinzel small-caps labels + Garamond values on parchment cards,
   matching the CN pillar-card aesthetic.
═══════════════════════════════════════════════════════════ */
body.hd-page .hd-pills {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 8 pills → two clean rows of four */
  gap: 1rem;
  margin: 2.4rem 0 1rem;
}
@media (max-width: 820px) {
  body.hd-page .hd-pills { grid-template-columns: repeat(2, 1fr); }
}

body.hd-page .hd-pill {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding: 1.35rem 0.9rem 1.3rem;
  background: linear-gradient(180deg, #FFFBEF 0%, #FBF3DC 100%);
  border: 1px solid rgba(184, 145, 80, 0.5);
  border-top: 4px solid var(--hd-gold);
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(45, 31, 56, 0.08), inset 0 0 0 1px rgba(255, 251, 239, 0.6);
}

/* Corner flourishes echo the form-frame filigree */
body.hd-page .hd-pill::before,
body.hd-page .hd-pill::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border: 1px solid rgba(184, 145, 80, 0.55);
  pointer-events: none;
}
body.hd-page .hd-pill::before { top: 7px; left: 7px; border-right: none; border-bottom: none; }
body.hd-page .hd-pill::after  { bottom: 7px; right: 7px; border-left: none; border-top: none; }

body.hd-page .hd-pill-label {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 0.84rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #77592B; /* deep readable gold */
  margin-bottom: 0.45rem;
}
body.hd-page .hd-pill-value {
  font-family: 'EB Garamond', serif;
  font-weight: 700;
  font-size: 1.42rem;
  line-height: 1.2;
  color: var(--hd-wine);
  /* Short one-line values center vertically beside taller siblings */
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
body.hd-page .hd-pill-sub {
  font-weight: 700;
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: 1.12rem;
  line-height: 1.35;
  color: var(--hd-wine);
  margin-top: 0.4rem;
}

/* The Type pill wears the crown treatment */
body.hd-page .hd-pill--type {
  border-color: var(--hd-gold);
  box-shadow: 0 4px 18px rgba(139, 110, 58, 0.24), inset 0 0 0 1px rgba(212, 172, 104, 0.35);
}
body.hd-page .hd-pill--type .hd-pill-value { font-size: 1.6rem; }

@media (max-width: 620px) {
  body.hd-page .hd-pills { grid-template-columns: repeat(2, 1fr); gap: 0.85rem; }
  body.hd-page .hd-pill-value { font-size: 1.25rem; }
  body.hd-page .hd-pill--type { grid-column: 1 / -1; }
}

/* ═══════════════════════════════════════════════════════════
   2 · BODYGRAPH FRAME
   The server-rendered SVG (viewBox ~520×740) drops in here.
═══════════════════════════════════════════════════════════ */
body.hd-page .hd-bodygraph-wrap {
  margin: 2.2rem auto 0.6rem;
  text-align: center;
}
body.hd-page .hd-bodygraph-eyebrow {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 2.1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hd-wine);
  margin-bottom: 1.1rem;
}
body.hd-page .hd-bodygraph {
  max-width: 700px;
  width: 100%;
  margin: 0 auto;
  padding: 1.1rem;
  background: linear-gradient(180deg, #FFFBEF 0%, #FBF3DC 100%);
  border: 1px solid rgba(184, 145, 80, 0.55);
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(45, 31, 56, 0.14), inset 0 0 0 1px rgba(255, 251, 239, 0.6);
}
body.hd-page .hd-bodygraph svg {
  display: block;
  width: 100%;
  height: auto;
}
body.hd-page .hd-bodygraph-caption {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--hd-wine);
  max-width: 52ch;
  margin: 0.9rem auto 0;
}
@media (max-width: 620px) {
  body.hd-page .hd-bodygraph { padding: 0.8rem; }
  body.hd-page .hd-bodygraph-eyebrow { font-size: 1.2rem; }
}

/* results-meta line under the results title — the Incarnation Cross line */
body.hd-page .results-meta {
  font-size: 1.35rem;
  color: var(--hd-wine);
}
body.hd-page .results-meta .rm-sub {
  color: #77592B; /* the "a free reading of your design" tail — not wine */
  font-size: 1.15rem;
}

/* ═══════════════════════════════════════════════════════════
   3 · READING + UPSELL FURNITURE
═══════════════════════════════════════════════════════════ */
body.hd-page .hd-reading { margin-top: 2.2rem; }

body.hd-page .hd-upsell-note[hidden] { display: none; }
body.hd-page .hd-upsell-note {
  margin-top: 0.9rem;
  padding: 0.7rem 1rem;
  font-family: 'EB Garamond', serif;
  font-size: 1.08rem;
  line-height: 1.5;
  text-align: center;
  color: #FBF3DC;
  background: rgba(212, 172, 104, 0.16);
  border: 1px solid rgba(212, 172, 104, 0.55);
  border-radius: 8px;
}

body.hd-page .hd-included-line {
  margin-top: 0.9rem;
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: 0.94rem;
  letter-spacing: 0.02em;
  color: rgba(251, 243, 220, 0.78);
  text-align: center;
}

/* Sibling-tool crosslink under the altar — sits on the parchment ground */
body.hd-page .hd-crosslink {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: 1.18rem;
  line-height: 1.6;
  text-align: center;
  color: var(--hd-ink);
  max-width: 56ch;
  margin: 1.8rem auto 0;
}
body.hd-page .hd-crosslink strong { color: var(--hd-wine); font-style: normal; }
body.hd-page .hd-crosslink a {
  color: #77592B;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(142, 110, 58, 0.45);
  text-underline-offset: 3px;
}
body.hd-page .hd-crosslink a:hover { color: var(--hd-wine); text-decoration-color: var(--hd-wine); }

/* ═══════════════════════════════════════════════════════════
   4 · LORE ROWS — art + text on the parchment, mirroring the
       cn-lore-* pattern on /chinese-astrology/ (same values).
       Used by the pre-form lore section AND the explainer rows.
═══════════════════════════════════════════════════════════ */
body.hd-page .hd-lore-section {
  padding: 3.6rem 0 1.6rem;
  /* transparent — the peach body ground shows through */
}
body.hd-page .hd-lore-row {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2.6rem;
  align-items: center;
  margin: 0 auto 3.2rem;
  max-width: 860px;
}
body.hd-page .hd-lore-row--flip { grid-template-columns: 1fr 280px; }
body.hd-page .hd-lore-row--flip .hd-lore-art { order: 2; }
body.hd-page .hd-lore-row--flip .hd-lore-text { order: 1; }

body.hd-page .hd-lore-art {
  background: linear-gradient(180deg, #FFFBEF 0%, #FBF3DC 100%);
  border: 1px solid rgba(184, 145, 80, 0.5);
  border-radius: 12px;
  padding: 1.4rem;
  box-shadow: 0 2px 12px rgba(45, 31, 56, 0.08);
}
body.hd-page .hd-seal-svg { display: block; width: 100%; height: auto; }
body.hd-page .hd-lore-title {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: 0.06em;
  color: #6B1F2C;
  margin: 0 0 0.8rem;
}
body.hd-page .hd-lore-text p {
  font-family: 'EB Garamond', serif;
  font-size: 1.18rem;
  line-height: 1.65;
  color: var(--hd-ink);
  margin: 0;
}
body.hd-page .hd-lore-text strong { color: #6B1F2C; }
body.hd-page .hd-lore-text a,
body.hd-page .hd-explainer-cta a {
  color: #77592B;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(142, 110, 58, 0.45);
  text-underline-offset: 3px;
}
body.hd-page .hd-lore-text a:hover,
body.hd-page .hd-explainer-cta a:hover {
  color: #6B1F2C;
  text-decoration-color: #6B1F2C;
}

/* Caption line under a lore illustration (inside the parchment art plate) */
body.hd-page .hd-lore-art-caption {
  margin-top: 0.7rem;
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: 1.05rem;
  text-align: center;
  color: #6B1F2C;
}

@media (max-width: 720px) {
  body.hd-page .hd-lore-row,
  body.hd-page .hd-lore-row--flip { grid-template-columns: 1fr; gap: 1.4rem; }
  body.hd-page .hd-lore-row--flip .hd-lore-art { order: 1; }
  body.hd-page .hd-lore-row--flip .hd-lore-text { order: 2; }
  body.hd-page .hd-lore-art { max-width: 260px; margin: 0 auto; }
}

/* ═══════════════════════════════════════════════════════════
   5 · "WHAT IS HUMAN DESIGN" EXPLAINER — title/sub + CTA line;
       the body is hd-lore-row art+text pairs (see section 4).
═══════════════════════════════════════════════════════════ */
body.hd-page .hd-explainer-section {
  padding: 3.4rem 0 2.6rem;
  /* transparent — the peach body ground shows through */
}
body.hd-page .hd-explainer-title {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: 0.06em;
  text-align: center;
  color: var(--hd-wine);
  margin: 0 0 0.4rem;
}
body.hd-page .hd-explainer-title em { color: var(--hd-gold-dk); font-style: italic; }
body.hd-page .hd-explainer-sub {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: 1.4rem;
  text-align: center;
  color: var(--hd-wine);
  margin: 0 0 2.6rem;
}
body.hd-page .hd-explainer-cta {
  font-family: 'EB Garamond', serif;
  font-size: 1.18rem;
  line-height: 1.65;
  text-align: center;
  color: var(--hd-ink);
  max-width: 60ch;
  margin: 0.4rem auto 0;
}
body.hd-page .hd-explainer-cta a { color: #77592B; font-weight: 600; }

/* ═══════════════════════════════════════════════════════════
   6 · FREE READING PANEL — the registry reading arrives as
       <h3>/<p> HTML; it sits on the dark results sky, so it
       gets its own illuminated parchment plate.
═══════════════════════════════════════════════════════════ */
body.hd-page .hd-reading {
  max-width: 700px;
  margin: 2.6rem auto 0;
  padding: 2rem 2.2rem 2.2rem;
  background: linear-gradient(180deg, #FFFBEF 0%, #FBF3DC 100%);
  border: 1px solid rgba(184, 145, 80, 0.55);
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(45, 31, 56, 0.14), inset 0 0 0 1px rgba(255, 251, 239, 0.6);
}
body.hd-page .hd-reading .reading-eyebrow {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
  color: var(--hd-wine);
}
body.hd-page .hd-reading .reading-script {
  font-family: 'Italianno', cursive;
  font-size: 2.6rem;
  line-height: 1.1;
  text-align: center;
  color: var(--hd-wine);
  margin: 0.2rem 0 1.2rem;
}
body.hd-page #hd-reading-body h3 {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 1.18rem;
  letter-spacing: 0.07em;
  color: var(--hd-wine);
  margin: 1.6rem 0 0.5rem;
}
body.hd-page #hd-reading-body h3:first-child { margin-top: 0; }
body.hd-page #hd-reading-body p {
  font-family: 'EB Garamond', serif;
  font-size: clamp(1.16rem, 2.2vw, 1.28rem); /* site-standard reading size */
  line-height: 1.72;
  color: var(--hd-ink);
  margin: 0 0 0.9rem;
}
body.hd-page #hd-reading-body strong { color: var(--hd-wine); }
body.hd-page #hd-reading-body em { color: var(--hd-wine); }
@media (max-width: 620px) {
  body.hd-page .hd-reading { padding: 1.4rem 1.1rem 1.5rem; }
}

/* ═══════════════════════════════════════════════════════════
   7 · PLANET COLUMNS (HD Round 2, T3) — Design / Personality
       activation columns flanking the bodygraph. Desktop ≥900px:
       [col | graph | col], columns vertically centered. Below:
       graph first, then the two columns side-by-side 2-up.
═══════════════════════════════════════════════════════════ */
body.hd-page .hd-graph-grid {
  display: grid;
  grid-template-areas:
    "graph graph"
    "design personality";
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem 0.8rem;
  align-items: start;
  max-width: 700px;
  margin: 0 auto;
}
body.hd-page .hd-graph-grid .hd-bodygraph { grid-area: graph; }
body.hd-page .hd-planet-col--design      { grid-area: design; }
body.hd-page .hd-planet-col--personality { grid-area: personality; }
@media (min-width: 900px) {
  body.hd-page .hd-graph-grid {
    grid-template-areas: "design graph personality";
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    max-width: 1010px;
    gap: 1.3rem;
  }
}

body.hd-page .hd-planet-col {
  min-width: 7.4rem;
  padding: 0.85rem 0.7rem 0.95rem;
  background: linear-gradient(180deg, #FFFBEF 0%, #FBF3DC 100%);
  border: 1px solid rgba(184, 145, 80, 0.5);
  border-top: 4px solid var(--hd-gold);
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(45, 31, 56, 0.08), inset 0 0 0 1px rgba(255, 251, 239, 0.6);
}
body.hd-page .hd-planet-col--design      { border-top-color: var(--hd-wine); }
body.hd-page .hd-planet-col--personality { border-top-color: var(--hd-ink); }

body.hd-page .hd-planet-col-head {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 0.55rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid rgba(184, 145, 80, 0.4);
}
body.hd-page .hd-planet-col--design .hd-planet-col-head      { color: var(--hd-wine); }
body.hd-page .hd-planet-col--personality .hd-planet-col-head { color: var(--hd-ink); }

body.hd-page .hd-planet-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.16rem 0.45rem;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.14s;
}
body.hd-page .hd-planet-row:hover { background: rgba(184, 145, 80, 0.16); }
body.hd-page .hd-planet-glyph {
  /* Symbols-first stack (birthchart-wheel pattern) — even glyph weight incl. ♀ ♂ */
  font-family: "Segoe UI Symbol", "Symbola", "Noto Sans Symbols 2", "DejaVu Sans", 'EB Garamond', serif;
  font-weight: 700;
  font-size: 1.24rem;
  line-height: 1;
  width: 1.25em;
  text-align: center;
}
body.hd-page .hd-planet-gl {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.04em;
  line-height: 1.4;
}
body.hd-page .hd-planet-col--design .hd-planet-glyph,
body.hd-page .hd-planet-col--design .hd-planet-gl      { color: var(--hd-wine); }
body.hd-page .hd-planet-col--personality .hd-planet-glyph,
body.hd-page .hd-planet-col--personality .hd-planet-gl { color: var(--hd-ink); }

@media (max-width: 380px) {
  body.hd-page .hd-planet-col { min-width: 0; padding: 0.7rem 0.4rem 0.8rem; }
  body.hd-page .hd-planet-gl { font-size: 0.92rem; }
}

/* ═══════════════════════════════════════════════════════════
   8 · "YOUR GATES" + "YOUR CHANNELS" PANELS (HD Round 2, T2)
       Parchment plates below the free reading (and on the member
       page below the bodygraph) — same illuminated-card language
       as .hd-reading.
═══════════════════════════════════════════════════════════ */
body.hd-page .hd-extra-panel {
  max-width: 700px;
  margin: 2.2rem auto 0;
  padding: 2rem 2.2rem 2.2rem;
  background: linear-gradient(180deg, #FFFBEF 0%, #FBF3DC 100%);
  border: 1px solid rgba(184, 145, 80, 0.55);
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(45, 31, 56, 0.14), inset 0 0 0 1px rgba(255, 251, 239, 0.6);
}
body.hd-page .hd-extra-eyebrow {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
  color: var(--hd-wine);
}
body.hd-page .hd-extra-script {
  font-family: 'Italianno', cursive;
  text-shadow: 0 0 0.5px currentColor; /* Italianno has no bold face */
  font-size: 2.6rem;
  line-height: 1.1;
  text-align: center;
  color: var(--hd-wine);
  margin: 0.2rem 0 0.9rem;
}
body.hd-page .hd-extra-legend {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-weight: 600;
  font-size: 1.3rem;
  text-align: center;
  color: var(--hd-wine);
  margin: 0 0 1.2rem;
}

/* ── Gate chips ── */
body.hd-page .hd-gates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.85rem;
}
body.hd-page .hd-gate-chip {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
  padding: 0.85rem 0.9rem 0.95rem;
  background: #FFFBEF;
  border: 1px solid rgba(184, 145, 80, 0.45);
  border-left: 4px solid var(--hd-gold);
  border-radius: 10px;
  text-decoration: none;
  transition: box-shadow 0.16s, transform 0.16s;
}
body.hd-page .hd-gate-chip:hover {
  box-shadow: 0 4px 14px rgba(45, 31, 56, 0.16);
  transform: translateY(-1px);
}
body.hd-page .hd-gate-chip--d    { border-left-color: var(--hd-wine); }
body.hd-page .hd-gate-chip--p    { border-left-color: var(--hd-ink); }
body.hd-page .hd-gate-chip--both {
  border-color: var(--hd-gold);
  border-left-color: var(--hd-gold);
  box-shadow: 0 0 0 1.5px rgba(184, 145, 80, 0.55), 0 2px 10px rgba(139, 110, 58, 0.16);
}
body.hd-page .hd-gate-chip-num {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 1.3rem;
  line-height: 1.1;
}
body.hd-page .hd-gate-chip--d .hd-gate-chip-num    { color: var(--hd-wine); }
body.hd-page .hd-gate-chip--p .hd-gate-chip-num    { color: var(--hd-ink); }
body.hd-page .hd-gate-chip--both .hd-gate-chip-num { color: var(--hd-gold-dk); }
body.hd-page .hd-gate-chip-name {
  font-family: 'EB Garamond', serif;
  font-weight: 700;
  font-size: 1.12rem;
  line-height: 1.25;
  color: var(--hd-ink);
}
body.hd-page .hd-gate-chip-keynote {
  font-family: 'EB Garamond', serif;
  font-style: normal;
  font-size: clamp(1.16rem, 2.2vw, 1.28rem);
  line-height: 1.72;
  color: var(--hd-ink);
}
body.hd-page .hd-gate-chip-tag {
  position: absolute;
  top: 0.55rem;
  right: 0.6rem;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #FFFBEF;
  background: linear-gradient(180deg, var(--hd-gold-lt), var(--hd-gold));
  padding: 0.14rem 0.42rem 0.12rem;
  border-radius: 999px;
}
@media (max-width: 480px) {
  body.hd-page .hd-gates-grid { grid-template-columns: 1fr 1fr; gap: 0.7rem; }
  body.hd-page .hd-gate-chip { padding: 0.7rem 0.7rem 0.8rem; }
  body.hd-page .hd-gate-chip-keynote { font-size: 1.12rem; }
}

/* ── Channel rows ── */
body.hd-page .hd-channels-list { display: flex; flex-direction: column; }
body.hd-page .hd-channel-row {
  padding: 1.05rem 0 1.15rem;
  border-top: 1px solid rgba(184, 145, 80, 0.35);
}
body.hd-page .hd-channel-row:first-child { border-top: none; padding-top: 0.2rem; }
body.hd-page .hd-channel-row:last-child { padding-bottom: 0.2rem; }
body.hd-page .hd-channel-head {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 1.18rem;
  letter-spacing: 0.05em;
  color: var(--hd-wine);
}
body.hd-page .hd-channel-sep { color: var(--hd-gold-dk); }
body.hd-page .hd-channel-keynote {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.16rem, 2.2vw, 1.28rem);
  line-height: 1.6;
  color: var(--hd-wine);
  margin: 0.18rem 0 0;
}
body.hd-page .hd-channel-blurb {
  font-family: 'EB Garamond', serif;
  font-size: clamp(1.16rem, 2.2vw, 1.28rem); /* site-standard reading size */
  line-height: 1.72;
  color: var(--hd-ink);
  margin: 0.5rem 0 0;
}
body.hd-page .hd-channels-none {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: clamp(1.16rem, 2.2vw, 1.28rem);
  line-height: 1.72;
  text-align: center;
  color: var(--hd-ink);
  margin: 0;
}
@media (max-width: 620px) {
  body.hd-page .hd-extra-panel { padding: 1.4rem 1.1rem 1.5rem; }
}

/* ═══════════════════════════════════════════════════════════
   9 · PAID READING — "Your Gates, One by One" chapter (T4)
   Registry-assembled appendix inside the delivered deep reading
   (.sr-reading.hd-reading on the my-readings + member views, where
   body carries BOTH .hd-page and .sr-view-v2 — the h2 fleuron and
   the h3 Cinzel treatment arrive free from sr-view-v2.css; these
   rules add only what is new: badges, keynote, lines block).
═══════════════════════════════════════════════════════════ */
body.hd-page .hd-gates-chapter {
  margin-top: 3.2rem;
}
body.hd-page .hd-gates-chapter .hd-gch-intro {
  font-style: italic;
}
body.hd-page .hd-gates-chapter .hd-gch-gate {
  margin-top: 2.1rem;
}
body.hd-page .hd-gates-chapter h3.hd-gch-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 0 0 10px;
}
body.hd-page .hd-gates-chapter h3.hd-gch-head a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(184, 145, 80, 0.45);
  transition: border-color 0.15s ease, color 0.15s ease;
}
body.hd-page .hd-gates-chapter h3.hd-gch-head a:hover {
  color: var(--hd-wine);
  border-bottom-color: var(--hd-wine);
}
/* Side badge — the site's gate-side vocabulary: design deep red,
   personality ink, both gold. Small Cinzel small-cap pill. */
body.hd-page .hd-gch-badge {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1;
  padding: 0.3rem 0.55rem 0.26rem;
  border-radius: 999px;
  border: 1px solid;
  white-space: nowrap;
}
body.hd-page .hd-gch-badge--p    { color: var(--hd-ink);  border-color: rgba(45, 31, 56, 0.45); }
body.hd-page .hd-gch-badge--d    { color: var(--hd-wine); border-color: rgba(107, 31, 44, 0.5); }
body.hd-page .hd-gch-badge--both {
  color: #77592B;
  border-color: var(--hd-gold-lt);
  background: linear-gradient(180deg, rgba(212, 172, 104, 0.28), rgba(184, 145, 80, 0.18));
}
body.hd-page .hd-gates-chapter .hd-gch-keynote {
  font-style: italic;
  font-size: clamp(1.16rem, 2.2vw, 1.28rem);
  line-height: 1.6;
  color: #77592B;
  margin: 0 0 0.9em;
}
/* Lines block — gilt-rail aside under the gate prose. */
body.hd-page .hd-gates-chapter .hd-gch-lines {
  margin: 0.2rem 0 0 0.4rem;
  padding: 0.15rem 0 0.15rem 1.05rem;
  border-left: 2px solid rgba(212, 172, 104, 0.65);
}
body.hd-page .hd-gates-chapter .hd-gch-lines-label {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  /* cap-height parity with the paragraph measure (Michael 2026-07-30) */
  font-size: 1.08rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hd-gold-dk);
  margin-bottom: 0.45rem;
}
body.hd-page .hd-gates-chapter .hd-gch-line {
  font-size: clamp(1.16rem, 2.2vw, 1.28rem);
  line-height: 1.6;
  margin: 0 0 0.45em;
}
body.hd-page .hd-gates-chapter .hd-gch-line:last-child { margin-bottom: 0; }
body.hd-page .hd-gch-line-side {
  font-family: 'Cinzel', serif;
  /* cap-height parity with the surrounding 1.18rem Garamond line
     (Michael 2026-07-30 — was 0.68rem and read like a footnote) */
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--hd-gold-dk);
}
@media (max-width: 480px) {
  body.hd-page .hd-gates-chapter h3.hd-gch-head { gap: 0.5rem; }
  body.hd-page .hd-gates-chapter .hd-gch-lines { margin-left: 0; }
}

/* ═══════════════════════════════════════════════════════════
   10 · "TODAY'S SKY" PANEL (HD Round 2, T5)
   The transiting bodygraph on the member HD page — Daily View
   arch, Activated Centers impact rows + gold progress bars,
   Activated Gates chips, and the member's completed channels.
   Markup: includes/_hd_todays_sky.php (.hd-sky-panel extends
   .hd-extra-panel).
═══════════════════════════════════════════════════════════ */
body.hd-page .hd-sky-panel { scroll-margin-top: 90px; }

/* ── (a) Daily View — arch + Sun gate + line-of-day ── */
body.hd-page .hd-sky-daily {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  margin-top: 0.4rem;
}
body.hd-page .hd-sky-arch {
  position: relative;
  flex: 0 0 auto;
  width: 138px;
}
body.hd-page .hd-sky-arch svg { display: block; width: 100%; height: auto; }
body.hd-page .hd-sky-arch-num {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--hd-gold-dk);
}
body.hd-page .hd-sky-daily-eyebrow {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hd-gold-dk);
  margin-bottom: 0.25rem;
}
body.hd-page .hd-sky-daily-gate {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: clamp(1.35rem, 3vw, 1.7rem);
  line-height: 1.2;
}
body.hd-page .hd-sky-daily-gate a {
  color: var(--hd-wine);
  text-decoration: none;
  border-bottom: 1px solid rgba(184, 145, 80, 0.5);
  transition: border-color 0.15s;
}
body.hd-page .hd-sky-daily-gate a:hover { border-bottom-color: var(--hd-wine); }
body.hd-page .hd-sky-daily-keynote {
  font-family: 'EB Garamond', serif;
  font-style: normal;
  font-size: clamp(1.16rem, 2.2vw, 1.28rem);
  line-height: 1.6;
  color: var(--hd-ink);
  margin: 0.3rem 0 0;
}

/* Line marker row — six stations, today's lit gold */
body.hd-page .hd-sky-lines {
  display: flex;
  gap: 0.9rem;
  margin: 0.95rem 0 0.45rem;
}
body.hd-page .hd-sky-line {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.28rem;
}
body.hd-page .hd-sky-line-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid rgba(184, 145, 80, 0.65);
  background: transparent;
}
body.hd-page .hd-sky-line.is-lit .hd-sky-line-dot {
  border-color: var(--hd-gold-dk);
  background: linear-gradient(180deg, var(--hd-gold-lt), var(--hd-gold));
  box-shadow: 0 0 0 3px rgba(212, 172, 104, 0.35), 0 0 10px rgba(184, 145, 80, 0.55);
}
body.hd-page .hd-sky-line-lbl {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.08em;
  color: rgba(45, 31, 56, 0.7);
}
body.hd-page .hd-sky-line.is-lit .hd-sky-line-lbl { color: var(--hd-gold-dk); }
body.hd-page .hd-sky-lineday-tag {
  font-family: 'EB Garamond', serif;
  font-variant: small-caps;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.14em;
  color: var(--hd-wine);
}
body.hd-page .hd-sky-lineday {
  font-family: 'EB Garamond', serif;
  font-size: clamp(1.16rem, 2.2vw, 1.28rem);
  line-height: 1.72;
  color: var(--hd-ink);
  margin: 0.5rem 0 0;
}

/* ── Sub-section heads inside the panel ── */
body.hd-page .hd-sky-subhead {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  color: var(--hd-wine);
  margin: 2rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(184, 145, 80, 0.35);
}
body.hd-page .hd-sky-subnote {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-weight: 600;
  font-size: 1.22rem;
  line-height: 1.55;
  text-align: center;
  color: #4A3A28;
  margin: 0.35rem auto 1rem;
  max-width: 520px;
}

/* ── (b) Activated Centers — impact rows + gold progress bars ── */
body.hd-page .hd-sky-centers {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 0.9rem;
}
body.hd-page .hd-sky-center-card {
  padding: 1rem 1.1rem 1.1rem;
  background: #FFFBEF;
  border: 1px solid rgba(184, 145, 80, 0.45);
  border-top: 3px solid var(--hd-gold);
  border-radius: 10px;
}
body.hd-page .hd-sky-center-name {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--hd-wine);
}
body.hd-page .hd-sky-center-chan {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-weight: 600;
  font-size: 1.14rem;
  color: #5A4526;
  margin-top: 0.12rem;
}
body.hd-page .hd-sky-impact { margin-top: 0.75rem; }
/* Normal left-to-right flow (Michael 2026-07-28): flex + a long nowrap
   duration was crushing the planet name to one word per line */
body.hd-page .hd-sky-impact-head {
  display: block;
  line-height: 1.5;
}
body.hd-page .hd-sky-impact-planet {
  display: inline;
  font-family: 'EB Garamond', serif;
  font-size: 1.2rem;
  color: var(--hd-ink);
}
body.hd-page .hd-sky-impact-dur {
  display: inline;
  margin-left: 0.55rem;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hd-wine);
}
body.hd-page .hd-sky-bar {
  height: 4px;
  margin-top: 0.32rem;
  border-radius: 999px;
  background: rgba(184, 145, 80, 0.22);
  overflow: hidden;
}
body.hd-page .hd-sky-bar-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--hd-gold-lt), var(--hd-gold-dk));
}

/* ── (c) Activated Gates chips ── */
body.hd-page .hd-sky-gates {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
}
body.hd-page .hd-sky-gate-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 0.42rem;
  padding: 0.34rem 0.8rem 0.38rem;
  border-radius: 999px;
  background: #FFFBEF;
  border: 1px solid rgba(184, 145, 80, 0.5);
  text-decoration: none;
  transition: box-shadow 0.15s, border-color 0.15s;
}
body.hd-page .hd-sky-gate-chip:hover {
  border-color: var(--hd-gold-dk);
  box-shadow: 0 2px 8px rgba(139, 110, 58, 0.22);
}
body.hd-page .hd-sky-glyph {
  /* Symbols-first stack (birthchart-wheel pattern) — EB Garamond draws ♀ ♂
     hairline-thin; Segoe UI Symbol renders every planet at even weight */
  font-family: "Segoe UI Symbol", "Symbola", "Noto Sans Symbols 2", "DejaVu Sans", 'EB Garamond', serif;
  font-weight: 700;
  font-size: 1.3rem;
  line-height: 1;
  color: var(--hd-gold-dk);
}
body.hd-page .hd-sky-gate-num {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 1.22rem;
  color: var(--hd-wine);
}
body.hd-page .hd-sky-gate-name {
  font-family: 'EB Garamond', serif;
  font-size: 1.18rem;
  color: var(--hd-ink);
}

/* ── (d) The sky & your chart — completed-channel chips ── */
body.hd-page .hd-sky-yours {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
}
body.hd-page .hd-sky-yours-chip {
  display: inline-block;      /* natural inline flow — wraps gracefully on mobile */
  text-align: center;
  font-size: 1.22rem;
  line-height: 1.55;
  padding: 0.4rem 0.85rem 0.44rem;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(212, 172, 104, 0.28), rgba(184, 145, 80, 0.16));
  border: 1px solid rgba(184, 145, 80, 0.6);
  font-family: 'EB Garamond', serif;
  font-size: 1rem;
  color: var(--hd-ink);
}
body.hd-page .hd-sky-yours-chip strong { color: var(--hd-wine); }

@media (max-width: 620px) {
  body.hd-page .hd-sky-daily {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  body.hd-page .hd-sky-arch { width: 116px; }
  body.hd-page .hd-sky-arch-num { font-size: 2.2rem; }
  body.hd-page .hd-sky-lines { justify-content: center; gap: 0.65rem; }
  body.hd-page .hd-sky-lineday { text-align: left; }
  body.hd-page .hd-sky-impact-head { flex-wrap: wrap; gap: 0.15rem 0.6rem; }
}

/* ═══════════════════════════════════════════════════════════
   11 · 30-DAY TRANSIT FORECAST — delivery calendar (HD R2, T8)
   The paid forecast's day-card calendar inside the my-readings
   narrative view. Scoped to .hd-transit-reading (NOT body.hd-page
   — the reading-narrative template sets no body class), literal
   colors for the same reason. Markup: Generators::hdt30AssembleHtml.
═══════════════════════════════════════════════════════════ */
.hd-transit-reading .hd-transit-cal {
  margin-top: 2.6rem;
  border-top: 2px solid #B89150;
  padding-top: 1.4rem;
}
.hd-transit-reading .hd-transit-cal h2 {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  color: #6B1F2C;
  letter-spacing: 0.02em;
  border-bottom: 1px solid #B89150;
  padding-bottom: 0.35rem;
}
.hd-transit-reading .hd-tc-intro {
  font-style: italic;
  color: #E9DDBD; /* the narrative view is dark ground — keep the intro legible */
  margin: 0 0 1.4rem;
}
.hd-transit-reading .hd-tc-weekrule {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin: 2.1rem 0 1.3rem;
}
.hd-transit-reading .hd-tc-weekrule::before,
.hd-transit-reading .hd-tc-weekrule::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, #D4AC68, transparent);
}
.hd-transit-reading .hd-tc-weekrule span {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #D4AC68; /* dark ground — bright gold */
  white-space: nowrap;
}
.hd-transit-reading .hd-tc-day {
  border-left: 3px solid #D4AC68;
  /* SOLID parchment plate — the narrative view's dark panel shows through
     translucent creams as mud; the calendar reads as illuminated plates. */
  background: linear-gradient(180deg, #FFFBEF 0%, #F5E9CA 100%);
  border-radius: 0 8px 8px 0;
  padding: 0.6rem 0.9rem 0.65rem 1rem;
  margin: 0 0 0.85rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}
.hd-transit-reading .hd-tc-date {
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: #8E6E3A;
  margin-bottom: 0.15rem;
}
.hd-transit-reading .hd-tc-main {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.3rem 0.7rem;
  margin-bottom: 0.15rem;
}
.hd-transit-reading a.hd-tc-gate {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 1.08rem;
  color: #6B1F2C;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.hd-transit-reading a.hd-tc-gate:hover { border-bottom-color: #6B1F2C; }
.hd-transit-reading .hd-tc-linetag {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #77592B;
  border: 1px solid #D4AC68;
  border-radius: 999px;
  padding: 0.1rem 0.55rem 0.12rem;
  white-space: nowrap;
}
.hd-transit-reading .hd-tc-keynote {
  font-style: italic;
  color: #77592B;
  font-size: 1.02rem;
  line-height: 1.55;
  margin: 0 0 0.3rem;
}
.hd-transit-reading .hd-tc-lineday { color: #2D1F38; }
.hd-transit-reading .hd-tc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.25rem 0 0.15rem;
}
.hd-transit-reading .hd-tc-chip {
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.5;
  color: #6B1F2C;
  background: linear-gradient(180deg, rgba(212, 172, 104, 0.28), rgba(184, 145, 80, 0.16));
  border: 1px solid rgba(184, 145, 80, 0.65);
  border-radius: 999px;
  padding: 0.16rem 0.7rem 0.2rem;
}
.hd-transit-reading .hd-tc-chip--sun { color: #77592B; }
.hd-transit-reading .hd-tc-event {
  font-style: italic;
  font-size: 0.96rem;
  color: #2D1F38;
  margin: 0.25rem 0 0;
}
@media (max-width: 520px) {
  .hd-transit-reading .hd-tc-day { padding: 0.55rem 0.7rem 0.6rem 0.8rem; }
  .hd-transit-reading a.hd-tc-gate { font-size: 1rem; }
}

/* ═══════════════════════════════════════════════════════════
   12 · 30-DAY FORECAST BUY CARD (HD R2, T8)
   Small product card on the member HD page (under Today's Sky)
   and the hub cross-sell zone. Unscoped — both surfaces load
   this sheet; literal colors like the calendar above.
═══════════════════════════════════════════════════════════ */
.hd-t30-card {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  max-width: 720px;
  margin: 2rem auto;
  padding: 1.3rem 1.5rem 1.4rem;
  background: linear-gradient(180deg, #FFFBEF 0%, #FBF3DC 100%);
  border: 1px solid rgba(184, 145, 80, 0.55);
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(45, 31, 56, 0.07);
}
.hd-t30-glyph {
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  border: 1.5px solid #B89150;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #B89150;
}
.hd-t30-title {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 1.28rem;
  color: #6B1F2C;
  margin: 0 0 0.35rem;
}
.hd-t30-deck {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 1.08rem;
  line-height: 1.6;
  color: #2D1F38;
  margin: 0 0 0.75rem;
}
.hd-t30-cta {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.03em;
  color: #FFFBEF;
  background: linear-gradient(180deg, #7C2635 0%, #6B1F2C 100%);
  border: 1px solid #B89150;
  border-radius: 8px;
  padding: 0.6rem 1.3rem;
  cursor: pointer;
  transition: box-shadow 0.15s, transform 0.15s;
}
.hd-t30-cta:hover { box-shadow: 0 4px 14px rgba(107, 31, 44, 0.35); transform: translateY(-1px); }
.hd-t30-note { margin-top: 0.5rem; font-size: 0.95rem; color: #6B1F2C; }
.hd-t30-soon {
  display: inline-block;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #77592B;
  background: linear-gradient(180deg, rgba(212, 172, 104, 0.3), rgba(184, 145, 80, 0.18));
  border: 1px solid rgba(184, 145, 80, 0.65);
  border-radius: 999px;
  padding: 0.35rem 1.1rem 0.4rem;
}
@media (max-width: 520px) {
  .hd-t30-card { flex-direction: column; align-items: center; text-align: center; }
}
