/* ═══════════════════════════════════════════════════════════════════════════
   sherylstephens.com — project theme layer
   Loaded after the engine stylesheet (site.css). Owns the brand tokens and the
   editorial skins for page-builder sections; overrides only what the light
   palette needs from the engine's dark-first defaults.

   "The storm happened. The page is not ruined. The story continues."
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── 1. Tokens ─────────────────────────────────────────────────────────────── */
:root {
  --brand-navy:     #14213d;
  --brand-navy-2:   #22335a;
  --brand-teal:     #1f9aa8;
  --brand-aqua:     #7fd3dc;
  --brand-blue:     #2f6fd6;
  --brand-purple:   #7c5cc4;
  --brand-lavender: #d8cff3;
  --brand-peach:    #f4b183;
  --brand-gold:     #e2b96a;
  --brand-ivory:    #fbf9f4;
  --brand-cloud:    #f2f6f8;

  --text-primary:   var(--text);
  --text-muted:     var(--muted);
  --surface:        var(--card);
  --surface-soft:   var(--card-2);
  --border-soft:    var(--border);

  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 24px;

  --shadow-sm: 0 1px 2px rgba(20,33,61,.05), 0 6px 18px rgba(20,33,61,.06);
  --shadow:    0 12px 34px rgba(20,33,61,.10);
  --shadow-lg: 0 30px 70px rgba(20,33,61,.16);

  --space-sec:   clamp(64px, 9vw, 120px);
  --space-sec-s: clamp(44px, 6vw, 72px);
  --maxw:        1140px;
  --maxw-narrow: 720px;

  --grad-brand: linear-gradient(90deg, var(--brand-teal) 0%, var(--brand-blue) 55%, var(--brand-purple) 100%);
  --grad-sky:   linear-gradient(180deg, #eaf4fb 0%, #dfeaf6 30%, #e6def3 62%, #f7e3d3 100%);

  --serif:  'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans:   'Figtree', -apple-system, 'Segoe UI', sans-serif;
  --script: 'Ephesis', cursive;
}

/* ── 2. Base overrides (light canvas) ──────────────────────────────────────── */
body {
  font-weight: 400;
  line-height: 1.65;
  background: var(--bg);
  color: var(--text);
}
h1, h2, h3 { color: var(--brand-navy); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.5rem); font-weight: 500; letter-spacing: -.005em; }
h3 { font-size: 1.35rem; }
p { max-width: 68ch; }
.center { text-align: center; }
.center p, .center > * { margin-left: auto; margin-right: auto; }
.muted { color: var(--muted); }
::selection { background: color-mix(in srgb, var(--brand-teal) 22%, transparent); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 300;
  background: var(--brand-navy); color: #fff; padding: 10px 16px; border-radius: 8px;
  transition: top .2s;
}
.skip:focus { top: 12px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Focus states — visible everywhere, tinted to the brand */
:focus-visible { outline: 2px solid var(--brand-blue); outline-offset: 3px; border-radius: 4px; }
.btn:focus-visible { outline-offset: 4px; }

/* Typographic helpers */
.eyebrow {
  display: block; font-family: var(--sans); font-size: .7rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: var(--brand-teal);
  margin-bottom: 14px;
}
.script, .script-line { font-family: var(--script); font-weight: 400; }
.script-line {
  display: block; font-size: 1.9rem; line-height: 1.2; color: var(--brand-purple);
  margin: 26px 0 8px;
}
.lead { font-size: 1.12rem; color: var(--text-soft); }
.sub { color: var(--muted); font-size: 1.02rem; }
.fine { font-size: .82rem; color: var(--muted); }
.opt { text-transform: none; letter-spacing: 0; color: var(--muted); font-weight: 400; }
.text-link {
  display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--brand-blue);
  border-bottom: 1px solid color-mix(in srgb, var(--brand-blue) 35%, transparent);
  padding-bottom: 2px; transition: color .2s, border-color .2s;
}
.text-link:hover { color: var(--brand-purple); border-color: var(--brand-purple); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: var(--maxw-narrow); margin: 0 auto; padding: 0 24px; }

/* Prose from the editor */
.prose { color: var(--text-soft); font-size: 1.04rem; }
.prose p { margin-bottom: 1.15em; }
.prose p:last-child { margin-bottom: 0; }
.prose h2, .prose h3 { margin: 1.4em 0 .5em; }
.prose a { color: var(--brand-blue); border-bottom: 1px solid color-mix(in srgb, var(--brand-blue) 30%, transparent); }
.prose ul, .prose ol { margin: 0 0 1.15em 1.3em; }
.prose blockquote {
  font-family: var(--serif); font-style: italic; font-size: 1.35rem; line-height: 1.45;
  color: var(--brand-navy); border-left: 3px solid var(--brand-aqua);
  padding: 6px 0 6px 24px; margin: 1.6em 0;
}
.prose img { border-radius: var(--radius); margin: 1.4em 0; box-shadow: var(--shadow-sm); }
.prose strong { color: var(--brand-navy); font-weight: 600; }

/* ── 3. Buttons — refined, TEAL → BLUE → PURPLE ────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 10px;
  font-family: var(--sans); font-size: .78rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  border: 1px solid transparent; cursor: pointer; line-height: 1.2;
  transition: transform .25s, box-shadow .25s, background-color .25s, color .25s, border-color .25s;
}
.btn-primary {
  color: #fff; background: var(--grad-brand); background-size: 160% 100%;
  background-position: 0% 0;
  box-shadow: 0 6px 18px rgba(47,111,214,.22);
}
.btn-primary:hover, .btn-primary:focus-visible {
  color: #fff; background-position: 100% 0; transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(124,92,196,.28);
}
.btn-ghost {
  color: var(--brand-navy); background: color-mix(in srgb, #fff 70%, transparent);
  border-color: color-mix(in srgb, var(--brand-navy) 24%, transparent);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover, .btn-ghost:focus-visible {
  color: var(--brand-blue); border-color: var(--brand-blue); transform: translateY(-1px);
  background: #fff;
}
.btn-sm { padding: 9px 16px; font-size: .68rem; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.btn-row.center { justify-content: center; }
.btn-row .text-link { margin-left: 6px; }

/* ── 4. Navigation ─────────────────────────────────────────────────────────── */
.nav {
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid color-mix(in srgb, var(--border) 80%, transparent);
}
.nav-inner { padding: 12px 24px; }
.brand-script { color: var(--brand-navy); font-size: 2rem; }
.brand-sub { color: var(--brand-teal); letter-spacing: .3em; font-size: .56rem; font-weight: 600; }
.nav-links { gap: 26px; align-items: center; }
.nav-links a { color: var(--text-soft); font-weight: 500; letter-spacing: .1em; font-size: .76rem; }
.nav-links a:hover { color: var(--brand-navy); }
.nav-links a.active { color: var(--brand-blue); }
.nav-links a.active::after { background: var(--brand-blue); height: 2px; border-radius: 2px; }
.nav-links a.nav-cta { color: #fff; padding: 9px 16px; letter-spacing: .12em; }
.nav-links a.nav-cta::after { display: none; }
.nav-links a.nav-cta.active { color: #fff; }
.nav-burger span { background: var(--brand-navy); }

/* ── 5. Flashes / preview ──────────────────────────────────────────────────── */
.flash {
  background: #fff; border: 1px solid var(--border-2); border-left: 3px solid var(--brand-teal);
  color: var(--brand-navy); box-shadow: var(--shadow);
}
.flash-error { border-left-color: #d9534f; }
.preview-bar {
  position: sticky; top: 64px; z-index: 90; text-align: center; font-size: .82rem;
  background: var(--brand-navy); color: #fff; padding: 8px 16px;
}
.preview-bar a { color: var(--brand-aqua); text-decoration: underline; margin-left: 8px; }
.sec-draft { outline: 2px dashed var(--brand-peach); outline-offset: -2px; position: relative; }
.draft-tag {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%); z-index: 5;
  background: var(--brand-peach); color: var(--brand-navy); font-size: .68rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; padding: 4px 12px; border-radius: 100px;
}

/* ── 6. Sections: rhythm and backgrounds ───────────────────────────────────── */
.sec { padding: var(--space-sec) 0; position: relative; }
.sec + .sec { padding-top: 0; }
.sec + .sec.bg-white, .sec + .sec.bg-mist, .sec + .sec.bg-lavender, .sec + .sec.bg-peach, .sec + .sec.bg-navy,
.bg-white + .sec, .bg-mist + .sec, .bg-lavender + .sec, .bg-peach + .sec, .bg-navy + .sec { padding-top: var(--space-sec); }
.sec.sec-hero { padding: 0; }
.sec-hero + .sec { padding-top: var(--space-sec); }
.sec-first:not(.sec-hero) { padding-top: calc(var(--space-sec) + 64px); }
.sec-divider { padding: 0; }
.sec-photo { padding: 0; }
.sec-photo + .sec { padding-top: var(--space-sec); }
.sec-signup { padding-top: var(--space-sec-s); padding-bottom: var(--space-sec-s); }
.sec-cta { padding: 0; }

.bg-white    { background: #fff; }
.bg-mist     { background: linear-gradient(180deg, #eef6f8 0%, #f4f9fa 100%); }
.bg-lavender { background: linear-gradient(180deg, #f2eefb 0%, #f8f5fd 100%); }
.bg-peach    { background: linear-gradient(180deg, #fbf1e8 0%, #fcf7f1 100%); }
.bg-navy     { background: var(--brand-navy); color: #e9edf7; }
.bg-navy h2, .bg-navy h3, .bg-navy .prose, .bg-navy .sub { color: #fff; }
.bg-navy .eyebrow { color: var(--brand-aqua); }

.sec-head { text-align: center; margin-bottom: clamp(36px, 5vw, 56px); }
.sec-head h2 { display: block; }
.sec-head h2::before, .sec-head h2::after { display: none; }
.sec-head .sub { margin: 12px auto 0; max-width: 56ch; }
.sec-head .eyebrow { margin-bottom: 12px; }

/* Reveal — softer, and off entirely under reduced motion */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-scroll { animation: none; }
  .player-play { animation: none; }
  html { scroll-behavior: auto; }
}

/* ── 7. Hero ───────────────────────────────────────────────────────────────── */
.sec-hero { min-height: 92vh; display: flex; align-items: center; isolation: isolate; overflow: hidden; }
.hero-photo {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center 60%;
}
/* Legibility veil: light on the copy side, transparent over the sun/dock */
.hero-photo::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(251,249,244,.86) 0%, rgba(251,249,244,.62) 38%, rgba(251,249,244,.08) 68%, rgba(251,249,244,0) 100%),
    linear-gradient(180deg, rgba(251,249,244,.35) 0%, rgba(251,249,244,0) 30%, rgba(251,249,244,0) 75%, var(--bg) 100%);
}
.hero-sky { background: var(--grad-sky); }
.hero-sky::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(60% 45% at 72% 62%, rgba(255,214,170,.75) 0%, rgba(255,214,170,0) 70%),
    radial-gradient(50% 40% at 30% 20%, rgba(200,214,255,.6) 0%, rgba(200,214,255,0) 70%);
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 40px; align-items: end; width: 100%;
  padding-top: 130px; padding-bottom: 0; min-height: 92vh;
}
.hero-copy { padding-bottom: clamp(56px, 8vh, 96px); max-width: 600px; }
.hero-copy .eyebrow { color: var(--brand-teal); }
.hero-copy h1 {
  font-size: clamp(2.5rem, 5.6vw, 4.1rem); line-height: 1.06; font-weight: 500;
  color: var(--brand-navy); margin-bottom: 22px;
}
.hero-copy h1 .script {
  display: block; font-size: 1.05em; line-height: 1.15; color: var(--brand-purple);
  margin-top: 6px; font-weight: 400;
}
.hero-copy .lead { margin-bottom: 34px; max-width: 46ch; }
.hero-figure {
  position: relative; align-self: end; display: flex; justify-content: flex-end; align-items: flex-end;
  min-height: 420px;
}
.hero-portrait {
  width: min(100%, 460px); height: auto; max-height: 78vh; object-fit: contain; object-position: bottom;
  filter: drop-shadow(0 24px 40px rgba(20,33,61,.22));
}
.hero-book {
  position: absolute; left: 0; bottom: 8%; width: clamp(120px, 14vw, 190px);
  transform: rotate(-6deg); transition: transform .35s;
  border-radius: 4px 10px 10px 4px; box-shadow: var(--shadow-lg);
}
.hero-book img { border-radius: 4px 10px 10px 4px; display: block; }
.hero-book:hover { transform: rotate(-3deg) translateY(-6px); }
.hero-figure:has(.hero-portrait) .hero-book { left: -4%; }
.hero-figure:not(:has(.hero-portrait)) { justify-content: center; min-height: 0; }
.hero-figure:not(:has(.hero-portrait)) .hero-book { position: static; width: clamp(180px, 22vw, 280px); margin-bottom: 64px; }

/* ── 8. Split sections (intro / story) ─────────────────────────────────────── */
.split {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 6vw, 84px); align-items: center;
}
.split-rev .split-media { order: 2; }
.split-noimg { grid-template-columns: 1fr; max-width: var(--maxw-narrow); }
.split-media { margin: 0; }
.portrait-frame {
  width: 100%; max-width: 440px; aspect-ratio: 4/5; object-fit: cover;
  border-radius: 200px 200px var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow); background: var(--surface-soft);
  margin: 0 auto;
}
.story-media img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.story-media figcaption {
  font-family: var(--serif); font-style: italic; color: var(--muted);
  font-size: 1rem; margin-top: 14px; text-align: center;
}
.split-copy h2 { margin-bottom: 18px; }
.split-copy .text-link { margin-top: 24px; }

/* ── 9. Photo band ─────────────────────────────────────────────────────────── */
.photo-band { position: relative; margin: 0; overflow: hidden; }
.photo-band img { width: 100%; object-fit: cover; display: block; }
.photo-short img { height: clamp(220px, 36vw, 380px); }
.photo-medium img { height: clamp(300px, 48vw, 540px); }
.photo-tall img { height: clamp(400px, 64vw, 720px); }
.photo-text {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px;
  background: linear-gradient(180deg, rgba(20,33,61,0) 30%, rgba(20,33,61,.35) 100%);
}
.photo-text p { font-family: var(--serif); font-size: clamp(1.6rem, 3.6vw, 2.6rem); color: #fff; text-shadow: 0 2px 20px rgba(0,0,0,.35); font-style: italic; }
.photo-band figcaption { text-align: center; font-size: .82rem; color: var(--muted); padding: 12px 24px 0; }

/* ── 10. Pull quote ────────────────────────────────────────────────────────── */
.pull { text-align: center; margin: 0; padding: 12px 0; position: relative; }
.pull p { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.35; color: var(--brand-navy); font-style: italic; max-width: 26ch; margin: 0 auto; }
.pull-script p { font-family: var(--script); font-style: normal; font-size: clamp(2rem, 4.2vw, 3.2rem); color: var(--brand-purple); }
.pull cite { display: block; margin-top: 18px; font-style: normal; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--brand-teal); font-weight: 600; }
.pull::before { content: ''; display: block; width: 44px; height: 2px; background: var(--grad-brand); margin: 0 auto 26px; border-radius: 2px; }

/* ── 11. HEAL ──────────────────────────────────────────────────────────────── */
.heal { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 40px; margin: 0; counter-reset: none; }
.heal-item {
  display: grid; grid-template-columns: 74px 1fr; gap: 22px; align-items: start;
  padding: 26px 0; border-top: 1px solid var(--border);
}
.heal-letter {
  font-family: var(--serif); font-weight: 600; font-size: 3.4rem; line-height: 1;
  background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent;
  width: 74px; text-align: center; padding-top: 2px;
}
.heal-item h3 { font-size: 1.32rem; margin-bottom: 4px; }
.heal-tag { font-family: var(--serif); font-style: italic; font-size: 1.12rem; color: var(--brand-blue); margin-bottom: 8px; }
.heal-text { color: var(--text-soft); font-size: .96rem; }
.heal-closing {
  text-align: center; font-family: var(--serif); font-size: 1.35rem; font-style: italic;
  color: var(--brand-navy); margin: 44px auto 26px; max-width: 34ch;
}

/* ── 12. Topics ────────────────────────────────────────────────────────────── */
.keynote {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px); margin-bottom: 36px; box-shadow: var(--shadow-sm);
  position: relative; overflow: hidden;
}
.keynote::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--grad-brand); }
.keynote h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 10px; }
.keynote-sub { display: block; font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--brand-blue); font-weight: 400; margin-top: 4px; }
.keynote p { color: var(--text-soft); max-width: 70ch; }
.topics-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); }
.topics-col h4 { font-family: var(--sans); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--brand-teal); margin: 0 0 14px; font-weight: 600; }
.topics-col h4 + ul + h4 { margin-top: 30px; }
.topic-list { list-style: none; margin: 0; }
.topic-list li { padding: 12px 0; border-top: 1px solid var(--border); }
.topic-list li:last-child { border-bottom: 1px solid var(--border); }
.topic-list strong { display: block; font-family: var(--serif); font-size: 1.2rem; font-weight: 600; color: var(--brand-navy); }
.topic-list span { color: var(--muted); font-size: .92rem; }
.tag-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.tag-list li { padding: 7px 14px; border-radius: 100px; background: #fff; border: 1px solid var(--border-2); font-size: .84rem; color: var(--brand-navy); }
.check-list { list-style: none; margin: 0; }
.check-list li { position: relative; padding: 6px 0 6px 28px; color: var(--text-soft); font-size: .95rem; }
.check-list li::before { content: ''; position: absolute; left: 0; top: 13px; width: 14px; height: 8px; border-left: 2px solid var(--brand-teal); border-bottom: 2px solid var(--brand-teal); transform: rotate(-45deg); }

/* ── 13. Book feature + resource cards ─────────────────────────────────────── */
.feature { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(36px, 6vw, 84px); align-items: center; }
.feature-cover { margin: 0; display: flex; justify-content: center; }
.feature-cover img, .feature-ph {
  width: min(100%, 380px); border-radius: 6px 14px 14px 6px; box-shadow: var(--shadow-lg);
  transform: rotate(-2deg);
}
.feature-copy h2 { font-size: clamp(2rem, 3.8vw, 2.9rem); margin-bottom: 8px; }
.feature-sub { font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--brand-blue); margin-bottom: 22px; }
.feature-meta { display: flex; gap: 18px; flex-wrap: wrap; margin: 22px 0 26px; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-teal); font-weight: 600; }
.res-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 28px; }
.res-card { display: flex; flex-direction: column; }
.res-cover { aspect-ratio: 2/3; border-radius: 6px 12px 12px 6px; overflow: hidden; box-shadow: var(--shadow); background: var(--surface-soft); transition: transform .35s; }
.res-card:hover .res-cover { transform: translateY(-4px); }
.res-cover img { width: 100%; height: 100%; object-fit: cover; }
.res-cover-ph {
  width: 100%; height: 100%; display: grid; place-items: center; text-align: center; padding: 24px;
  background: linear-gradient(160deg, var(--brand-navy), var(--brand-blue) 60%, var(--brand-purple));
  color: #fff; font-family: var(--serif); font-size: 1.5rem; aspect-ratio: 2/3;
}
.res-body { padding: 16px 4px 0; }
.res-body .eyebrow { margin-bottom: 6px; font-size: .64rem; }
.res-body h3 { font-size: 1.25rem; margin-bottom: 4px; }
.res-body p { color: var(--muted); font-size: .9rem; margin-bottom: 12px; }
.res-status { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

/* ── 14. Testimonials ──────────────────────────────────────────────────────── */
.testi-quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(28px, 4vw, 56px); max-width: 1000px; margin: 0 auto; }
.testi-quote { margin: 0; text-align: center; padding: 0 12px; }
.testi-quote blockquote { font-family: var(--serif); font-style: italic; font-size: 1.28rem; line-height: 1.5; color: var(--brand-navy); }
.testi-quote blockquote::before { content: '\201C'; display: block; font-size: 3rem; line-height: .6; color: var(--brand-aqua); margin-bottom: 14px; }
.testi-quote figcaption, .testi-card figcaption { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 20px; }
.testi-quote figcaption img, .testi-card figcaption img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; box-shadow: var(--shadow-sm); }
.testi-quote figcaption span, .testi-card figcaption span { display: flex; flex-direction: column; text-align: left; line-height: 1.3; }
.testi-quote strong, .testi-card strong { font-weight: 600; color: var(--brand-navy); font-size: .95rem; }
.testi-quote em, .testi-card em { font-style: normal; color: var(--muted); font-size: .8rem; }
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.testi-card { margin: 0; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-sm); }
.testi-card blockquote { font-family: var(--serif); font-size: 1.15rem; line-height: 1.5; color: var(--text-soft); font-style: italic; }
.testi-card figcaption { justify-content: flex-start; }
.stars { color: var(--brand-gold); }
.stars svg.off { color: var(--border-2); }

/* ── 15. Blog feed, list, article ──────────────────────────────────────────── */
.feed { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
.feed-card { display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s; }
.feed-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feed-thumb { aspect-ratio: 16/10; background: var(--grad-sky); }
.feed-thumb img { width: 100%; height: 100%; object-fit: cover; }
.feed-body { padding: 22px 24px 26px; }
.feed-body h3 { font-size: 1.28rem; margin: 6px 0 8px; }
.feed-body p { color: var(--muted); font-size: .92rem; }
.post-meta { color: var(--muted); font-weight: 500; }
.post-meta .cat { color: var(--brand-teal); }

.post-list { max-width: 820px; }
.post-card { background: #fff; border-color: var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.post-card:hover { border-color: var(--border-2); box-shadow: var(--shadow); }
.post-card .thumb { background: var(--grad-sky); position: relative; }
.post-card h3 { font-family: var(--serif); font-size: 1.4rem; color: var(--brand-navy); }
.read-more { color: var(--brand-blue); }
.vid-badge { background: var(--brand-navy); }

.article { padding-top: 150px; }
.article h1 { color: var(--brand-navy); }
.article-cover { border-color: var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.article-body { color: var(--text-soft); }
.article-body h2, .article-body h3 { color: var(--brand-navy); }
.article-body a { color: var(--brand-blue); border-color: color-mix(in srgb, var(--brand-blue) 30%, transparent); }
.article-body blockquote { background: var(--brand-cloud); border-color: var(--border); color: var(--brand-navy); }
.article-body img { border-color: var(--border); }
.article-body code { background: var(--brand-cloud); border-color: var(--border); }
.share-row a { border-color: var(--border-2); }
.share-row a:hover { color: var(--brand-blue); border-color: var(--brand-blue); }
.prevnext { background: var(--border); border-color: var(--border); }
.prevnext a { background: #fff; }
.prevnext a:hover { background: var(--brand-cloud); }
.prevnext .empty { background: #fff; }
.back-link:hover { color: var(--brand-blue); }
.page-head { padding-top: 160px; }
.page-head h1 { color: var(--brand-navy); }
.page-head .eyebrow { margin-bottom: 10px; }

/* ── 16. Signup ────────────────────────────────────────────────────────────── */
.signup { text-align: center; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(32px, 5vw, 56px) clamp(24px, 5vw, 64px); box-shadow: var(--shadow-sm); position: relative; overflow: hidden; }
.signup::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--grad-brand); }
.signup h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin-bottom: 10px; }
.signup > p { color: var(--muted); margin: 0 auto 26px; max-width: 52ch; }
.signup-row { display: grid; grid-template-columns: 1fr 1.4fr auto; gap: 10px; }
.signup-row input { width: 100%; padding: 13px 16px; border-radius: 10px; border: 1px solid var(--border-2); background: var(--bg); font-family: var(--sans); font-size: .95rem; color: var(--text); }
.signup-row input:focus { outline: none; border-color: var(--brand-blue); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-blue) 15%, transparent); }
.signup .fine { margin: 12px auto 0; }

/* ── 17. CTA band ──────────────────────────────────────────────────────────── */
.cta-band { position: relative; text-align: center; padding: var(--space-sec) 24px; isolation: isolate; overflow: hidden; background: var(--grad-sky); }
.cta-band.has-photo { min-height: 60vh; display: flex; align-items: center; }
.cta-photo { position: absolute; inset: 0; z-index: -1; background-size: cover; background-position: center; }
.cta-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(251,249,244,.55), rgba(251,249,244,.78)); }
.cta-copy h2 { font-size: clamp(2rem, 4.2vw, 3rem); margin-bottom: 14px; }
.cta-copy p { color: var(--text-soft); margin: 0 auto 32px; font-size: 1.08rem; }
.cta-copy .btn-row { gap: 16px; }

/* ── 18. Forms & contact ───────────────────────────────────────────────────── */
.form-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: clamp(24px, 4vw, 40px); }
.field label { color: var(--brand-navy); font-weight: 600; letter-spacing: .16em; }
.field input, .field textarea, .field select { background: var(--bg); border-color: var(--border-2); color: var(--text); border-radius: 10px; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--brand-blue); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-blue) 15%, transparent); }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.form-card .btn { border: 0; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.contact-grid { align-items: start; }
.contact-info h2 { margin-bottom: 14px; }
.contact-line svg { color: var(--brand-teal); }
.contact-line a:hover { color: var(--brand-blue); }

/* ── 19. Gallery / media ───────────────────────────────────────────────────── */
.gallery { gap: 18px; margin: 0; }
.gallery-2 { grid-template-columns: repeat(2, 1fr); }
.gallery-3 { grid-template-columns: repeat(3, 1fr); }
.gallery-4 { grid-template-columns: repeat(4, 1fr); }
.gallery figure { border-color: var(--border); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.gallery img { aspect-ratio: 4/3; object-fit: cover; }
.wrap-video { max-width: 960px; }
.media-text { text-align: center; color: var(--muted); margin: 18px auto 0; }
.player { border-color: var(--border); box-shadow: var(--shadow); border-radius: var(--radius-lg); }
.player-overlay { background: linear-gradient(180deg, rgba(20,33,61,.05), rgba(20,33,61,.4)); }
.player-play { background: color-mix(in srgb, var(--brand-blue) 78%, transparent); }
.player-overlay:hover .player-play { background: var(--brand-purple); }

.audio { display: grid; grid-template-columns: 96px 1fr; gap: 20px; align-items: center; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 18px 22px 18px 18px; box-shadow: var(--shadow-sm); }
.audio-art { width: 96px; height: 96px; border-radius: var(--radius); overflow: hidden; background: var(--grad-brand); display: grid; place-items: center; color: #fff; }
.audio-art img { width: 100%; height: 100%; object-fit: cover; }
.audio-title { font-family: var(--serif); font-size: 1.2rem; color: var(--brand-navy); margin-bottom: 8px; }
.audio audio { width: 100%; display: block; }

/* ── 20. Divider ───────────────────────────────────────────────────────────── */
.divider { display: flex; justify-content: center; align-items: center; padding: var(--space-sec-s) 24px; }
.divider-space { padding: var(--space-sec-s) 0; }
.divider-line::before { content: ''; width: min(100%, 720px); height: 1px; background: var(--border-2); }
.divider .orn { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-teal); position: relative; }
.divider .orn::before, .divider .orn::after { content: ''; position: absolute; top: 50%; width: 56px; height: 1px; background: var(--border-2); }
.divider .orn::before { right: 18px; } .divider .orn::after { left: 18px; }
.divider .script-line { margin: 0; text-align: center; }

/* ── 21. Footer ────────────────────────────────────────────────────────────── */
.footer { background: linear-gradient(180deg, var(--bg) 0%, #eef3f6 100%); border-top: 1px solid var(--border); padding-top: 64px; }
.footer-bloom { display: none; }
.footer-grid { grid-template-columns: 1.2fr .7fr 1.1fr; gap: 48px; }
.footer-brand .brand-script { color: var(--brand-navy); }
.footer-line { font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--brand-purple); margin-top: 14px; }
.footer-tag { color: var(--muted); font-size: .88rem; max-width: 40ch; }
.footer-col h4 { color: var(--brand-navy); }
.footer-col a { color: var(--text-soft); }
.footer-col a:hover { color: var(--brand-blue); }
.footer-signup p { color: var(--muted); font-size: .88rem; margin-bottom: 14px; }
.signup-inline { display: flex; gap: 8px; width: 100%; }
.signup-inline input { flex: 1; min-width: 0; padding: 11px 14px; border-radius: 10px; border: 1px solid var(--border-2); background: #fff; font-family: var(--sans); font-size: .9rem; color: var(--text); }
.signup-inline input:focus { outline: none; border-color: var(--brand-blue); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-blue) 15%, transparent); }
.signup-inline .btn { border: 0; padding: 11px 18px; font-size: .68rem; white-space: nowrap; }
.socials a { border-color: var(--border-2); color: var(--brand-navy); background: #fff; }
.socials a:hover { color: #fff; background: var(--brand-blue); border-color: var(--brand-blue); }
.footer-bottom { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; border-color: var(--border); color: var(--muted); }
.footer-bottom a:hover { color: var(--brand-blue); }

/* Error page */
.errpage .code { color: var(--brand-blue); }

/* ── 22. Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr .8fr; }
  .heal { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 0; padding-top: 110px; min-height: 0; }
  .sec-hero { min-height: 0; }
  .hero-copy { padding-bottom: 0; max-width: 100%; }
  .hero-copy .lead { max-width: 100%; }
  .hero-figure { justify-content: center; min-height: 0; margin-top: 12px; }
  .hero-portrait { width: min(72vw, 360px); max-height: 60vh; }
  .hero-book { width: clamp(96px, 26vw, 140px); left: 2%; bottom: 4%; }
  .hero-photo::after { background: linear-gradient(180deg, rgba(251,249,244,.9) 0%, rgba(251,249,244,.7) 45%, rgba(251,249,244,.15) 80%, var(--bg) 100%); }
  .split, .feature, .topics-grid { grid-template-columns: 1fr; }
  .split-rev .split-media { order: 0; }
  .portrait-frame { max-width: 340px; }
  .feature-cover img, .feature-ph { width: min(70%, 300px); }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .signup-row { grid-template-columns: 1fr; }
  .row-2 { grid-template-columns: 1fr; }
  .gallery-3, .gallery-4 { grid-template-columns: repeat(2, 1fr); }
}
/* The burger takes over at 960px — the five-item menu plus the CTA button
   won't fit on one line below that without wrapping the header. */
@media (max-width: 960px) {
  .nav-burger { display: block; }
  .nav-links {
    position: fixed; top: 66px; right: 0; left: 0;
    flex-direction: column; align-items: center; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--border);
    box-shadow: 0 18px 40px rgba(20,33,61,.12);
    max-height: 0; overflow: hidden; transition: max-height .35s ease;
  }
  .nav-links.open { max-height: 520px; }
  .nav-links a { padding: 15px; width: 100%; text-align: center; color: var(--brand-navy); font-size: .82rem; }
  .nav-links a.active::after { left: 50%; right: auto; width: 28px; transform: translateX(-50%); bottom: 8px; }
  .nav-links a.nav-cta { margin: 10px auto 18px; width: auto; color: #fff; }
}
@media (max-width: 720px) {
  .nav-links { top: 62px; }
  .brand-script { font-size: 1.7rem; }
  .hero-copy h1 { font-size: clamp(2.2rem, 9vw, 2.8rem); }
  .heal-item { grid-template-columns: 56px 1fr; gap: 16px; padding: 20px 0; }
  .heal-letter { font-size: 2.6rem; width: 56px; }
  .audio { grid-template-columns: 72px 1fr; }
  .audio-art { width: 72px; height: 72px; }
  .cta-band.has-photo { min-height: 0; }
  .gallery-2, .gallery-3, .gallery-4 { grid-template-columns: 1fr; }
  .preview-bar { top: 58px; }
}
@media (max-width: 480px) {
  .btn-row .btn { width: 100%; }
  .btn-row .text-link { margin: 6px auto 0; }
  .signup-inline { flex-direction: column; }
}
