/* ============================================================
   dc.css: carriepdavidson.com redesign (Claude Design handoff)
   Newsreader + Instrument Sans · lavender-white / deep-purple /
   muted gold · alternating light + dark sections.
   Converted pages link ONLY this sheet (not style.css).
   Structural class names match js/main.js + js/mirror.js hooks.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --bg: #fffdfa;
  --bg-tint: #efe8f7;
  /* Sand, from the brand palette. Added 2026-07-26 for the two callout
     blocks on /both-sides-of-the-bed that must read as set apart from the
     lavender bands: the safety note and the evidence caution. */
  --bg-sand: #f6f1e8;
  --sand-line: #e8dcc8;
  --card: #ffffff;
  --card-border: #e9e2d8;
  --ink: #2e2340;
  --ink-2: #3a2c54;
  --ink-3: #3f3160;
  --ink-4: #241a37;
  --text: #564a6e;
  --text-muted: #655b7e;
  --text-soft: #6d6285;
  --text-faint: #6a5f83; /* was #928aa8, darkened for WCAG AA */
  --on-dark: #ece3f7;
  --on-dark-2: #c6bbdc;
  --on-dark-3: #a89dc4;
  --on-dark-4: #9d93b8;
  --gold: #7a6737; /* was #b6a066, darkened for WCAG AA on light bgs */
  --gold-light: #d7c191;
  --gold-badge-bg: #f3e6c4;
  --gold-badge-text: #6e5c33; /* was #9c8757, darkened for WCAG AA */
  --plum: #7a5bb2;
  --link: #6b4fac;
  --link-hover: #493378;
  --outline: #c9bce2;
  --dark-card-border: #4a3d66;
  --dark-outline: #5f537a;
  --dark-label: #867ca0;
  --crisis-border: #463663;
  --serif: "Newsreader", Georgia, serif;
  --sans: "Instrument Sans", system-ui, sans-serif;
  --maxw: 1120px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: #e2d3a4; }
a { color: var(--link); text-decoration: none; transition: color 150ms ease; }
a:hover { color: var(--link-hover); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; color: var(--ink); margin: 0; }
h1 { font-size: clamp(28px, 3.2vw, 38px); line-height: 1.12; letter-spacing: -0.01em; }
.h1-display { font-size: clamp(34px, 4.2vw, 48px); line-height: 1.06; letter-spacing: -0.015em; }
h2 { font-size: clamp(24px, 2.7vw, 30px); line-height: 1.15; letter-spacing: -0.01em; }
h3 { font-size: 21px; font-weight: 500; }
.h2-small { font-size: clamp(21px, 2.3vw, 26px); }
em.plum { font-style: italic; color: var(--plum); }
.section--dark em.plum, .hero--dark em.plum { color: var(--gold-light); }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--ink-2); color: var(--bg); padding: 10px 18px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: var(--bg); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Layout ---------- */
.container { max-width: var(--maxw); margin: 0 auto; padding-inline: 32px; }
.container--narrow { max-width: 800px; }
.container--read { max-width: 760px; }
.section { padding-block: 92px; }
.section--snug { padding-block: 80px; }
.section--tint { background: var(--bg-tint); }
.section--dark { background: var(--ink); color: var(--on-dark); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--on-dark); }
.section--dark p { color: var(--on-dark-2); }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.measure { max-width: 34em; }
.measure-wide { max-width: 44em; }

/* Grids */
.split { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 64px; align-items: center; }
.split--even { grid-template-columns: 1fr 1fr; gap: 56px; }
.split--media-left { grid-template-columns: 0.9fr 1.1fr; }
.split--cover { grid-template-columns: 0.7fr 1.3fr; gap: 56px; }
.cards-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ---------- Type helpers ---------- */
.eyebrow {
  margin: 0 0 18px;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}
.section--dark .eyebrow, .eyebrow--dark { color: var(--gold-light); }
.lede { font-size: 18px; color: var(--text); }
.lede-serif-italic { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--text-soft); }
.italic-note { font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--text-soft); }
.support-strong { font-size: 18px; color: var(--ink); font-weight: 500; }
.cred-line { font-size: 13.5px; color: var(--text-faint); letter-spacing: 0.02em; }
.cred-line em { font-family: var(--serif); }
.meta { font-size: 14px; color: var(--text-faint); }
.section-head { margin-bottom: 52px; }
.section-head p:last-child { margin-bottom: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 30px; border-radius: 999px;
  font-family: var(--sans); font-weight: 600; font-size: 16px;
  border: none; cursor: pointer;
  transition: background 150ms ease, color 150ms ease, border-color 150ms ease;
}
.btn--primary { background: var(--ink-2); color: var(--bg); }
.btn--primary:hover { background: var(--ink-4); color: var(--bg); }
.btn--secondary { background: transparent; border: 1px solid var(--outline); color: var(--text); font-weight: 500; padding: 15px 26px; }
.btn--secondary:hover { border-color: var(--text-soft); color: var(--ink); }
.btn--ghost-dark { background: transparent; border: 1px solid var(--dark-outline); color: var(--on-dark); }
.btn--ghost-dark:hover { border-color: var(--on-dark-3); color: #fff; }
.btn--pill { padding: 9px 18px; font-size: 14.5px; font-weight: 500; }
.btn-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.btn-row--center { justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248, 245, 251, 0.88);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--card-border);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-block: 16px;
}
.brand-stack { display: inline-flex; align-items: baseline; gap: 7px; }
.brand-stack__name { font-family: var(--serif); font-size: 19px; color: var(--ink-2); letter-spacing: 0.01em; }
.brand-stack__cred { font-family: var(--sans); font-size: 13px; color: var(--text-faint); letter-spacing: 0.08em; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav__list { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav__link { font-size: 14.5px; color: var(--text-muted); }
.nav__link:hover { color: var(--ink); }
.nav__link[aria-current="page"] { color: var(--ink); font-weight: 600; }
.nav-toggle {
  display: none; align-items: center; gap: 8px;
  background: none; border: 1px solid var(--outline); border-radius: 999px;
  padding: 8px 14px; font-family: var(--sans); font-size: 14px; color: var(--text);
  cursor: pointer;
}
.nav-toggle__bars { display: inline-block; width: 16px; height: 2px; background: currentColor; position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after {
  content: ""; position: absolute; left: 0; width: 16px; height: 2px; background: currentColor;
}
.nav-toggle__bars::before { top: -5px; }
.nav-toggle__bars::after { top: 5px; }
/* "More" dropdown (persistent hamburger for secondary pages) */
.nav__more { position: relative; }
.nav__more-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 999px;
  background: none; border: 1px solid var(--outline); color: var(--text-muted); cursor: pointer;
}
.nav__more-toggle:hover { color: var(--ink); border-color: var(--text-soft); }
.nav__more-menu {
  display: none; position: absolute; right: 0; top: calc(100% + 10px);
  min-width: 200px; margin: 0; padding: 10px; list-style: none;
  background: var(--bg); border: 1px solid var(--card-border); border-radius: 12px;
  box-shadow: 0 18px 40px -20px rgba(46, 35, 64, 0.35);
}
.nav__more[data-open="true"] .nav__more-menu { display: block; }
.nav__more-menu .nav__link { display: block; padding: 9px 12px; border-radius: 8px; }
.nav__more-menu .nav__link:hover { background: var(--card); }

/* ---------- Hero ---------- */
.hero { padding-block: 96px 72px; }
.hero--dark { background: var(--ink); color: var(--on-dark); padding-block: 88px; }
.hero--dark h1 { color: var(--on-dark); }
.hero--dark p { color: var(--on-dark-2); }
.portrait-frame { border-radius: 14px; overflow: hidden; box-shadow: 0 24px 60px -30px rgba(46, 35, 64, 0.5); }
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; }
.portrait-frame--4x5 { aspect-ratio: 4 / 5; }
.portrait-frame--square { aspect-ratio: 1 / 1; }
.cover-frame { aspect-ratio: 2 / 3; border-radius: 10px; overflow: hidden; box-shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.55); }
.cover-frame img { width: 100%; height: 100%; object-fit: cover; }
.art-frame {
  aspect-ratio: 1 / 1; border-radius: 14px; background: var(--card);
  border: 1px solid var(--card-border);
  display: flex; align-items: center; justify-content: center; padding: 40px;
}
.art-frame img { max-height: 100%; width: auto; }

/* Full-bleed photo band (edge to edge, optional overlay line) */
.photo-band {
  min-height: 420px; position: relative;
  background-size: cover; background-position: center;
  display: grid; place-items: end center;
  padding: 48px 24px;
}
/* Band fades: a photo band dissolves into its neighboring sections
   instead of cutting hard. Edge color is set inline per placement to
   match the neighbor's background. */
.band-fade,
.photo-band--overlay > .band-fade { position: absolute; left: 0; right: 0; height: 110px; pointer-events: none; }
.band-fade--top { top: 0; }
.band-fade--bottom { bottom: 0; }
.photo-band__line {
  margin: 0;
  font-family: var(--serif); font-style: italic;
  font-size: clamp(21px, 2.5vw, 28px); color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.5);
}
@media (max-width: 960px) { .photo-band { min-height: 300px; } }

/* Full-width artwork strip */
.art-full { width: 100%; display: block; }

/* Full-bleed banner hero (edge to edge photo, copy panel) */
.hero-banner {
  position: relative; min-height: 540px;
  background-size: cover; background-position: center;
  display: flex; align-items: center; padding-block: 64px;
}
.hero-banner__panel {
  background: rgba(248, 245, 251, 0.93);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  border-radius: 14px; padding: 40px 42px; max-width: 580px;
  box-shadow: 0 24px 60px -30px rgba(46, 35, 64, 0.4);
}
@media (max-width: 960px) {
  .hero-banner { min-height: 0; padding-block: 40px; }
  .hero-banner__panel { padding: 28px 26px; }
}

/* Featured-in strip */
.press-strip {
  margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--card-border);
  display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
  font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--on-dark-4);
}
.press-strip .press-strip__label { font-weight: 600; color: var(--text-faint); }
.press-strip a {
  font-family: var(--serif); font-size: 19px; text-transform: none; letter-spacing: 0;
  color: var(--text-soft);
}
.press-strip a:hover { color: var(--ink); }
.press-strip .press-strip__sep { color: #cec2e4; }

/* ---------- Cards ---------- */
.card {
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: 14px; padding: 36px 30px;
}
.card h3 { margin: 0 0 8px; color: var(--ink); }
.card p { margin: 0; color: var(--text-muted); font-size: 16px; }
.card--dark { background: var(--ink-3); border-color: var(--dark-card-border); }
.card--dark h3 { color: var(--on-dark); }
.card--dark p { color: var(--on-dark-2); }
.chip {
  width: 52px; height: 52px; border-radius: 999px;
  background: var(--ink-2); color: var(--gold-badge-bg);
  font-family: var(--serif); font-size: 26px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.chip--large { width: 72px; height: 72px; font-size: 34px; }
.tick-card { display: flex; gap: 14px; align-items: flex-start; }
.tick-card::before { content: "\2726"; color: var(--gold-light); flex-shrink: 0; margin-top: 2px; }

/* Numbered included-list rows */
.num-rows { display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 0; list-style: none; }
.num-rows li {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--bg); border: 1px solid var(--card-border); border-radius: 12px; padding: 20px 22px;
}
.num-rows .num {
  font-family: var(--serif); font-size: 22px; color: var(--gold); flex-shrink: 0; line-height: 1.2;
}
.num-rows h3 { font-size: 18px; font-family: var(--sans); font-weight: 600; margin: 0 0 4px; }
.num-rows p { margin: 0; font-size: 15.5px; color: var(--text-muted); }

/* Stacked stage rows (method) / week rows (course) */
.stage-rows { display: flex; flex-direction: column; margin-top: 8px; }
.stage-row {
  display: grid; grid-template-columns: auto 1fr; gap: 36px; align-items: flex-start;
  padding-block: 44px; border-top: 1px solid var(--card-border);
}
.stage-row:first-child { border-top: none; }
.stage-row__kicker { margin: 0 0 6px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.stage-row h3 { font-size: 23px; margin: 0 0 10px; }
.stage-row p { margin: 0 0 10px; }
.stage-row .detail { color: var(--text-muted); font-size: 16px; }
.week-num { font-family: var(--serif); font-size: 44px; color: var(--outline); line-height: 1; min-width: 64px; }

/* Movements sub-list inside a stage row */
.movements { margin: 18px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.movements li { background: var(--card); border: 1px solid var(--card-border); border-radius: 12px; padding: 18px 20px; }
.movements .movement__label { margin: 0 0 4px; font-size: 11.5px; letter-spacing: 0.13em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.movements h3, .movements h4 { font-size: 20px; font-weight: 500; margin: 0 0 6px; }
.movements p { margin: 0; font-size: 15.5px; color: var(--text-muted); }
.movements p em { font-family: var(--serif); }

/* ---------- Doors ladder ---------- */
.ladder-labels {
  display: flex; justify-content: center; gap: 14px; margin: 44px 0 28px;
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dark-label);
}
.ladder-labels .sep { color: var(--dark-card-border); letter-spacing: 0.3em; }
.doors { display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 20px; align-items: stretch; }
.doors--2 { grid-template-columns: 1.25fr 1fr; max-width: 880px; margin-inline: auto; }
.door {
  background: var(--ink-3); border: 1px solid var(--dark-card-border); border-radius: 16px;
  padding: 32px 28px; display: flex; flex-direction: column;
}
.door__kicker { margin: 0 0 6px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-light); font-weight: 600; }
.door h3 { margin: 0 0 4px; font-size: 21px; color: var(--on-dark); }
.door__price { margin: 0 0 18px; font-size: 15px; color: var(--on-dark-3); }
.door__body { margin: 0 0 24px; font-size: 16px; color: #d3c9e8; flex-grow: 1; }
.door .btn { align-self: stretch; padding: 13px; font-size: 15px; }
.door--featured {
  background: linear-gradient(160deg, #f5efe1, #ece3cf); color: var(--ink);
  border: none; padding: 34px 32px;
  box-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.6);
}
.door--featured .door__kicker { color: var(--gold-badge-text); }
.door--featured h3 { color: var(--ink); font-size: 23px; }
.door--featured .door__price { color: #6a6088; }
.door--featured .door__hook { margin: 0 0 10px; font-size: 17px; color: #3a2e52; font-weight: 600; }
.door--featured .door__body { color: var(--text); }
.badge-gold {
  align-self: flex-start; margin-bottom: 16px;
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700;
  color: var(--gold-badge-text); background: var(--gold-badge-bg);
  padding: 5px 11px; border-radius: 999px;
}

/* Pricing / enroll card */
.price-card {
  max-width: 560px; margin: 0 auto; text-align: center;
  background: linear-gradient(160deg, #f5efe1, #ece3cf);
  border-radius: 16px; padding: 44px 40px;
  box-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.4);
}
.price-card .eyebrow { color: var(--gold-badge-text); }
.price-card h3 { font-size: 24px; margin: 0 0 6px; }
.price-card .price { font-family: var(--serif); font-size: 42px; color: var(--ink); margin: 10px 0 4px; }
.price-card .price-sub { margin: 0 0 26px; font-size: 15px; color: #6a6088; }
.price-card--light { background: var(--card); border: 1px solid var(--card-border); box-shadow: none; }

/* Testimonials */
.quote-card {
  margin: 0; background: var(--card); border-radius: 14px; padding: 34px 30px;
  display: flex; flex-direction: column; gap: 20px;
}
.quote-card blockquote { margin: 0; font-family: var(--serif); font-size: 19px; line-height: 1.4; color: var(--ink); }
.quote-card figcaption { margin-top: auto; font-size: 14px; color: var(--text-faint); letter-spacing: 0.02em; }
.pullquote {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(20px, 2.3vw, 25px); line-height: 1.4; color: var(--ink);
}
.section--dark .pullquote { color: var(--on-dark); }

/* ---------- Mirror (home) ---------- */
.mirror-circle {
  position: relative;
  aspect-ratio: 1 / 1; border-radius: 999px; overflow: hidden;
  background: radial-gradient(circle at 50% 40%, #3a2d54, #241a37);
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.4), 0 0 0 1px var(--dark-card-border);
}
.gold-mirror__glass { position: absolute; inset: 0; cursor: crosshair; }
.mirror-line { width: 100%; height: 100%; display: block; }
@media (pointer: coarse) { .mirror-hint { display: none; } }

/* ---------- Forms ---------- */
.signup__form { display: flex; gap: 10px; max-width: 460px; margin-inline: auto; flex-wrap: wrap; }
.input {
  flex: 1; min-width: 220px; padding: 15px 18px;
  border: 1px solid var(--outline); border-radius: 999px;
  font-size: 16px; font-family: var(--sans);
  background: var(--bg); color: var(--ink-2);
}
.input:focus { outline: 2px solid var(--plum); outline-offset: 1px; }
.signup__status { width: 100%; margin: 6px 0 0; font-size: 14.5px; color: var(--text-muted); }
.section--dark .signup__status { color: var(--on-dark-2); }

/* ---------- FAQ accordion ---------- */
.faq { display: flex; flex-direction: column; gap: 14px; }
.faq__item {
  background: var(--bg); border: 1px solid var(--card-border); border-radius: 12px;
  overflow: hidden;
}
.faq__item summary {
  list-style: none; cursor: pointer;
  padding: 22px 26px;
  font-family: var(--serif); font-size: 18px; color: var(--ink);
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-family: var(--sans); font-size: 24px; color: var(--gold); flex-shrink: 0; margin-left: auto; padding-left: 16px; }
.faq__item[open] summary::after { content: "\2013"; }
.faq__answer { padding: 0 26px 24px; }
.faq__answer p { margin: 0 0 12px; color: var(--text); font-size: 16.5px; line-height: 1.65; }
.faq__answer p:last-child { margin-bottom: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark-2); }
.site-footer .container { padding-block: 72px 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
.footer-col h2 {
  font-family: var(--sans); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--dark-label); font-weight: 600; margin: 0 0 16px;
}
.footer-col--brand h2, .footer-wordmark {
  font-family: var(--serif); font-size: 24px; color: var(--on-dark);
  letter-spacing: 0; text-transform: none; margin: 0 0 8px;
}
.footer-tagline { margin: 0 0 20px; font-size: 15px; color: var(--on-dark-4); }
.footer-invite a { color: var(--gold-light); text-decoration: underline; text-underline-offset: 3px; font-size: 15px; }
.footer-invite a:hover { color: #f0e3c2; }
.footer-col .meta { color: var(--text-faint); }
.footer-col .meta a { color: var(--on-dark-3); }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.footer-col ul a { color: var(--on-dark-2); font-size: 15px; }
.footer-col ul a:hover { color: var(--on-dark); }
.footer-mark { width: 64px; margin-bottom: 14px; }
.footer-social { display: flex; gap: 14px; margin-top: 22px; }
.footer-social a { color: var(--on-dark-3); }
.footer-social a:hover { color: var(--gold-light); }
.footer-social svg { width: 20px; height: 20px; }
.crisis {
  margin-top: 44px; padding: 22px 24px;
  background: var(--ink-4); border: 1px solid var(--crisis-border); border-radius: 12px;
}
.crisis h2 { font-family: var(--sans); font-size: 14.5px; color: var(--on-dark-2); margin: 0 0 6px; font-weight: 700; letter-spacing: 0; text-transform: none; }
.crisis p { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--on-dark-4); }
.crisis strong { color: var(--gold-light); }
.disclaimer { margin: 26px 0 0; font-size: 13px; line-height: 1.6; color: var(--dark-label); }
.footer-legal {
  margin-top: 28px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13px; color: var(--dark-label);
}

/* Reveal-on-scroll fade-ins RETIRED 2026-07-22 (Carrie): sections render
   immediately. The .reveal class remains in markup, inert. */

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .split, .split--even, .split--media-left, .split--cover { grid-template-columns: 1fr; gap: 40px; }
  .cards-3, .cards-4 { grid-template-columns: 1fr; }
  .cards-2 { grid-template-columns: 1fr; }
  .doors { grid-template-columns: 1fr; }
  .door--featured { order: -1; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .section { padding-block: 64px; }
  .hero { padding-block: 56px 48px; }
  .stage-row { grid-template-columns: 1fr; gap: 18px; }
  .container { padding-inline: 24px; }

  /* Mobile nav */
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--card-border);
    padding: 16px 24px 22px;
    box-shadow: 0 24px 40px -24px rgba(46, 35, 64, 0.4);
    /* The Coaching group now holds five links, so the open menu can run
       past the bottom of a short screen. Let it scroll rather than clip
       the last item. main.js measures the header and sets the exact
       max-height when the menu opens; these are the standing fallbacks,
       dvh second so it wins where supported. */
    max-height: calc(100vh - 7rem);
    max-height: calc(100dvh - 7rem);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .nav[data-open="true"] { display: flex; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link { display: block; padding: 12px 4px; font-size: 16px; }
  /* Flatten the "more" dropdown into the mobile menu */
  .nav__more-toggle { display: none; }
  .nav__more-menu {
    display: block; position: static; min-width: 0; margin: 0; padding: 0;
    background: none; border: none; box-shadow: none;
  }
  .nav .btn--pill { margin-top: 14px; justify-content: center; padding: 13px; font-size: 16px; }
}
@media (min-width: 961px) {
  .nav { position: static; }
}

/* ---------- Tablet card grids ---------- */
@media (min-width: 700px) and (max-width: 960px) {
  .cards-3 { grid-template-columns: repeat(2, 1fr); }
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   Long-form reading (blog essays, article template, resources)
   ============================================================ */
.article-head { max-width: 760px; margin-inline: auto; padding: 72px 32px 8px; }
.article-head h1 { font-size: clamp(28px, 3.2vw, 38px); line-height: 1.12; }
.article-head .dek { font-family: var(--serif); font-style: italic; font-size: 21px; color: var(--text-soft); margin: 18px 0 0; }
.article-meta { font-size: 13.5px; color: var(--text-faint); letter-spacing: 0.04em; margin: 18px 0 0; }
.prose { max-width: 680px; margin-inline: auto; }
.prose p, .prose li { font-size: 18px; line-height: 1.7; color: var(--text); }
.prose p { margin: 0 0 22px; }
.prose h2 { font-size: clamp(21px, 2.4vw, 26px); margin: 40px 0 14px; }
.prose h3 { font-size: clamp(19px, 2.1vw, 22px); margin: 32px 0 12px; }
.prose ul, .prose ol { margin: 0 0 22px; padding-left: 24px; }
.prose li { margin-bottom: 8px; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote {
  margin: 30px 0; padding: 4px 0 4px 24px;
  border-left: 3px solid var(--gold);
  font-family: var(--serif); font-style: italic; font-size: 21px; color: var(--ink);
}
.prose .pullquote { border: none; padding: 0; text-align: center; }
.prose img { border-radius: 12px; }
.prose figure { margin: 30px 0; }
.prose figcaption { font-size: 13.5px; color: var(--text-faint); margin-top: 8px; }

/* Three gold dots: Carrie's chosen scene-break punctuation. */
.pattern-divider { display: flex; justify-content: center; padding-block: 8px; }
.pattern-divider::before {
  content: "\00b7\2002\00b7\2002\00b7";
  color: var(--gold); font-size: 26px; letter-spacing: 0.1em; line-height: 1; opacity: 0.85;
}

/* Topic link lists (related essays, resource cards) */
.topic-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.topic-links--3 { grid-template-columns: repeat(3, 1fr); gap: 24px; }
.topic-links li { background: var(--card); border: 1px solid var(--card-border); border-radius: 14px; padding: 26px 26px; }
.topic-links h3, .topic-links h4 { font-size: 21px; margin: 0 0 8px; }
/* Whole-card tap target (Clarity dead-click fix): cards look tappable,
   so let the whole card be the link. Opt-in via .topic-links--tap and
   ONLY on lists whose cards hold a single destination (the /writing
   topic hubs and latest-essay cards). Never add it where a card holds
   more than one link (e.g. /resources shelves): the stretched link
   would cover the inner links. */
.topic-links--tap li { position: relative; }
.topic-links--tap li h3 a::after { content: ""; position: absolute; inset: 0; border-radius: 14px; }
.topic-links--tap li:hover { border-color: var(--outline); }
/* Recognition list ("Does any of this sound familiar?", homepage):
   each line is a lived experience linking to its essay. Links keep
   body ink with no underline so the section reads as prose first,
   index second; the hover shift and the caption under the section
   are the affordance. */
.recognition { list-style: none; margin: 36px 0 0; padding: 0; }
.recognition li { border-bottom: 1px solid var(--card-border); }
.recognition li:first-child { border-top: 1px solid var(--card-border); }
.recognition a {
  display: block; padding: 18px 4px; color: var(--text);
  font-family: var(--serif); font-size: 19px; line-height: 1.45;
  text-decoration: none;
}
.recognition a:hover { color: var(--link-hover); }

/* Shelf headings on /resources: the library is grouped now, so each group
   gets a quiet label rather than everything sitting in one flat grid. */
.shelf-title {
  margin: 56px 0 20px; font-size: 15px; font-weight: 600;
  letter-spacing: 0.13em; text-transform: uppercase;
  font-family: var(--sans); color: var(--text-muted);
}
.shelf-title:first-of-type { margin-top: 8px; }

/* ---------- Sand callout: a block that has to be read, not skimmed ----------
   Used for the safety note and the evidence caution on the workbook page.
   Sand rather than lavender so it separates from the surrounding bands. */
.note-sand {
  background: var(--bg-sand); border: 1px solid var(--sand-line);
  border-radius: 14px; padding: 28px 30px; margin: 32px 0 0;
}
.note-sand > :first-child { margin-top: 0; }
.note-sand > :last-child { margin-bottom: 0; }
.note-sand h3 {
  font-family: var(--sans); font-size: 13px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-badge-text);
  margin: 0 0 12px;
}
.note-sand p { color: var(--text); font-size: 16px; margin: 0 0 12px; }
.section--sand { background: var(--bg-sand); }

/* ---------- Stat figures: a number, its source, and its caution ----------
   The caution is part of the component on purpose, so a figure cannot be
   published on this site without the limit that belongs to it. */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; list-style: none; margin: 44px 0 0; padding: 0; }
.stat {
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: 14px; padding: 30px 26px;
}
.stat__figure {
  font-family: var(--serif); font-size: clamp(38px, 4.4vw, 52px);
  line-height: 1; color: var(--ink); margin: 0 0 12px; font-weight: 400;
}
.stat__claim { margin: 0 0 14px; font-size: 16px; color: var(--text); }
.stat__source { margin: 0; font-size: 13.5px; color: var(--text-muted); font-style: italic; }
.stat__caution {
  margin: 10px 0 0; padding-top: 10px; border-top: 1px solid var(--sand-line);
  font-size: 13.5px; color: var(--text-muted);
}
@media (max-width: 960px) { .stats { grid-template-columns: 1fr; } }
.topic-links p { margin: 0 0 6px; font-size: 15.5px; color: var(--text-muted); }
.topic-links p:last-child { margin: 0; }
@media (max-width: 960px) { .topic-links--3 { grid-template-columns: 1fr; } }

/* Breadcrumbs (resource detail pages) */
.breadcrumb { font-size: 13.5px; color: var(--text-faint); margin-bottom: 22px; }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: "\203a"; margin-right: 6px; color: var(--outline); }
.breadcrumb a { color: var(--text-faint); }
.breadcrumb a:hover { color: var(--link); }

/* Resource fact list */
.res-facts { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; margin: 18px 0; font-size: 15.5px; }
.res-facts dt { font-weight: 600; color: var(--ink); }
.res-facts dd { margin: 0; color: var(--text-muted); }

/* Resource cover image */
.resource-cover { border-radius: 12px; border: 1px solid var(--card-border); }

/* ---------- Compatibility aliases (old structural classes used
   across essays/utility pages; Phase C may retire them) ---------- */
.container-narrow, .container--narrow { max-width: 800px; margin-inline: auto; padding-inline: 32px; }
.section--alt, .section--lavender, .section--paper { background: var(--bg-tint); }
.section--accent { background: var(--ink); color: var(--on-dark); }
.section--accent h2, .section--accent h3 { color: var(--on-dark); }
.section--accent p { color: var(--on-dark-2); }
.section--tight { padding-block: 56px; }
.text-center { text-align: center; }
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 960px) { .grid--2 { grid-template-columns: 1fr; } }
.section-head--center { text-align: center; }
.disclaimer-inline { font-size: 13.5px; color: var(--text-faint); line-height: 1.6; }

/* ============================================================
   Mockup restyle (2026-07-21): announcement bar, letterspaced
   brand, CSS dropdown nav, hero swash + diamond divider,
   credential overlay card, icon badges, values row.
   ============================================================ */
.announce {
  background: #5a4b75; color: #f3eefa;
  font-size: 13.5px; letter-spacing: 0.04em;
}
.announce__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 9px 32px;
  display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap;
}
.announce strong { font-weight: 700; letter-spacing: 0.08em; }
.announce em { font-style: italic; font-family: var(--serif); font-size: 14.5px; }
.announce .announce__btn {
  background: #fffdfa; color: var(--ink-2); border-radius: 8px;
  padding: 6px 14px; font-weight: 600; font-size: 13px; white-space: nowrap;
}
.announce .announce__btn:hover { background: #fff; color: var(--ink-4); }
.announce__close {
  background: none; border: none; color: #cfc3e0; font-size: 17px; cursor: pointer;
  padding: 2px 6px; line-height: 1;
}
.announce__close:hover { color: #fff; }

.site-header { background: rgba(255, 253, 250, 0.92); }
.brand-mark { width: 34px; height: 34px; flex-shrink: 0; }
.brand-stack { align-items: center; gap: 11px; }
.brand-stack__name {
  font-family: var(--serif); font-size: 14px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--ink-2); font-weight: 500;
}

/* CSS-only dropdowns (hover + keyboard focus-within) */
.nav__dd { position: relative; }
.nav__dd > .nav__link { display: inline-flex; align-items: center; gap: 5px; cursor: pointer; background: none; border: none; font-family: var(--sans); }
.nav__dd > .nav__link::after {
  content: ""; width: 7px; height: 7px; margin-top: -3px;
  border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg);
}
.nav__dd-menu {
  visibility: hidden; opacity: 0; transition: opacity 140ms ease;
  position: absolute; left: -14px; top: calc(100% + 12px);
  min-width: 220px; margin: 0; padding: 10px; list-style: none;
  background: var(--bg); border: 1px solid var(--card-border); border-radius: 12px;
  box-shadow: 0 18px 40px -20px rgba(46, 35, 64, 0.35);
}
.nav__dd:hover .nav__dd-menu, .nav__dd:focus-within .nav__dd-menu { visibility: visible; opacity: 1; }
/* Click-driven state, set by js/main.js so the toggle's aria-expanded is true
   rather than decorative. Hover and focus-within above still work without JS. */
.nav__dd[data-open="true"] .nav__dd-menu { visibility: visible; opacity: 1; }
/* A deliberate closed state beats the passive one. Escape closes the menu and
   returns focus to its toggle, which leaves :focus-within true, so without this
   the menu would stay visible while announcing itself collapsed. */
.nav__dd[data-open="false"]:focus-within .nav__dd-menu { visibility: hidden; opacity: 0; }
.nav__dd-menu .nav__link { display: block; padding: 9px 12px; border-radius: 8px; }
.nav__dd-menu .nav__link:hover { background: var(--bg-tint); }
.nav__dd-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }

/* Hero swash + diamond divider */
.swash { position: relative; display: inline-block; }
.swash::after {
  content: ""; position: absolute; left: 4%; right: 2%; bottom: -0.08em; height: 0.16em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 14' preserveAspectRatio='none'%3E%3Cpath d='M4 10 C 80 2, 220 2, 296 8 C 220 6, 80 8, 10 12 Z' fill='%23b6a066' opacity='0.85'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}
.diamond-divider {
  display: flex; align-items: center; gap: 14px; margin: 28px 0;
  color: var(--gold);
}
.diamond-divider::before, .diamond-divider::after {
  content: ""; flex: 1; max-width: 120px; height: 1px; background: #d8c9a5;
}
.diamond-divider span { font-size: 13px; line-height: 1; }
.diamond-divider--center { justify-content: center; }

/* Credential overlay card on hero photo */
.hero-photo-wrap { position: relative; }
.cred-card-float {
  position: absolute; right: -18px; bottom: 34px;
  background: #fff; border-radius: 12px; padding: 6px 4px;
  box-shadow: 0 20px 50px -22px rgba(46, 35, 64, 0.45);
  display: flex; flex-direction: column; min-width: 250px;
}
.cred-card-float > div {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 18px; font-size: 12.5px; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--ink-2); font-weight: 600;
}
.cred-card-float > div + div { border-top: 1px solid #efe9df; }
.cred-card-float em { font-family: var(--serif); text-transform: none; letter-spacing: 0.02em; font-size: 13.5px; }
.cred-card-float svg { width: 20px; height: 20px; color: var(--ink-3); flex-shrink: 0; }
@media (max-width: 960px) {
  .cred-card-float { position: static; margin: -30px auto 0; width: fit-content; }
}

/* Circular line-icon badges (mockup card style) */
.icon-badge {
  width: 64px; height: 64px; border-radius: 999px;
  background: var(--bg-tint);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
}
.icon-badge svg { width: 28px; height: 28px; color: var(--ink-3); }
.card--iconed { text-align: center; background: #fff; }
.card--iconed h3 {
  font-family: var(--sans); font-size: 14.5px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 8px;
}

/* Values row (About) */
.values-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.values-row > div { padding: 10px 26px; text-align: center; }
.values-row > div + div { border-left: 1px solid var(--card-border); }
.values-row svg { width: 34px; height: 34px; color: var(--ink-3); margin: 0 auto 14px; display: block; }
.values-row h3 { font-size: 19px; margin-bottom: 8px; }
.values-row p { font-size: 14.5px; color: var(--text-muted); margin: 0; }
@media (max-width: 960px) {
  .values-row { grid-template-columns: 1fr 1fr; }
  .values-row > div { padding: 20px 18px; }
  .values-row > div:nth-child(odd) { border-left: none; }
}
@media (max-width: 560px) {
  .values-row { grid-template-columns: 1fr; }
  .values-row > div { border-left: none; border-top: 1px solid var(--card-border); }
  .values-row > div:first-child { border-top: none; }
}

/* Plum CTA band */
.cta-band { background: #4a3a63; color: var(--on-dark); }
.cta-band .cta-band__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 56px 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
}
.cta-band h2 { color: #fff; font-size: clamp(24px, 2.7vw, 30px); margin: 0; }
.cta-band .cta-band__sub { font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--on-dark-2); margin: 6px 0 0; }
.btn--lavender { background: #d9cde8; color: var(--ink-2); }
.btn--lavender:hover { background: #cbbcdf; color: var(--ink-4); }

/* Mobile: dropdowns flatten inside the collapsed nav */
@media (max-width: 960px) {
  .announce__inner { justify-content: flex-start; }
  .nav__dd { position: static; }
  .nav__dd > .nav__link::after { display: none; }
  .nav__dd > button.nav__link { display: block; width: 100%; text-align: left; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-faint); padding: 14px 4px 4px; }
  .nav__dd-menu {
    visibility: visible; opacity: 1; position: static;
    min-width: 0; padding: 0; background: none; border: none; box-shadow: none;
  }
}

/* Brief deltas: larger full-width home hero, band overlay + attribution */
.hero--home h1 { font-size: clamp(40px, 5vw, 62px); }
@media (min-width: 1200px) {
  .hero--home .hero-photo-wrap { margin-right: calc((100vw - 1056px) / -2); }
  .hero--home .hero-photo-wrap .portrait-frame { border-radius: 14px 0 0 14px; }
}
.photo-band--overlay { position: relative; }
.photo-band--overlay::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(rgba(36, 26, 55, 0.18), rgba(36, 26, 55, 0.42));
}
.photo-band--overlay > * { position: relative; }
.photo-band__attr {
  margin: 10px 0 0; font-size: 12.5px; letter-spacing: 0.18em;
  text-transform: uppercase; color: #f0eaf8; opacity: 0.85;
}

/* ARC arrow flow (brief): Awareness -> Regulation -> Creation */
.arc-flow2 { display: flex; align-items: flex-start; justify-content: center; gap: 10px; }
.arc-step { text-align: center; max-width: 230px; flex: 1; }
.arc-step h3 {
  font-family: var(--sans); font-size: 14.5px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; margin: 0 0 8px;
}
.arc-step p { font-size: 15.5px; color: var(--text-muted); margin: 0; }
.arc-arrow { flex: 0 0 auto; color: var(--gold); padding-top: 22px; }
.arc-arrow svg { width: 30px; height: 30px; }
@media (max-width: 700px) {
  .arc-flow2 { flex-direction: column; align-items: center; gap: 14px; }
  .arc-arrow { padding: 0; transform: rotate(90deg); }
}
.hero--home .cred-card-float { right: 16px; }

/* Home hero, mockup-exact: full-bleed photo right with soft left fade,
   credential card floating over it. Falls back to stacked on mobile. */
.hero--home { position: relative; overflow: hidden; min-height: 620px; display: flex; align-items: center; }
.hero--home .container { position: relative; width: 100%; }
.hero--home .split { grid-template-columns: 1fr; }
.hero--home .hero-copy { max-width: 560px; }
.hero-bleed {
  position: absolute; top: 0; right: 0; bottom: 0; width: 58%;
}
.hero-bleed img {
  width: 100%; height: 100%; object-fit: cover; object-position: 70% center;
  -webkit-mask-image: linear-gradient(to right, transparent 0, rgba(0, 0, 0, 0.35) 28%, #000 58%);
  mask-image: linear-gradient(to right, transparent 0, rgba(0, 0, 0, 0.35) 28%, #000 58%);
}
.hero-bleed .cred-card-float { position: absolute; right: 34px; bottom: 44px; }
@media (max-width: 960px) {
  .hero--home { min-height: 0; display: block; }
  .hero-bleed { position: static; width: 100%; height: 420px; margin-top: 10px; }
  .hero-bleed img { -webkit-mask-image: none; mask-image: none; object-position: 78% center; }
  .hero-bleed .cred-card-float { position: static; margin: -30px auto 0; width: fit-content; }
}

/* Edge-to-edge split (mockup grammar): photo half touches the viewport
   edge, copy half aligns to the content column. No frames, no radius. */
.edge-split { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.edge-split__media { position: relative; min-height: 520px; }
.edge-split__media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; border-radius: 0; margin: 0;
}
.edge-split__copy {
  display: flex; flex-direction: column; justify-content: center;
  padding: 72px 48px 72px max(32px, calc((100vw - 1120px) / 2));
}
.edge-split--media-right .edge-split__copy {
  padding: 72px max(32px, calc((100vw - 1120px) / 2)) 72px 48px;
}
.edge-split--media-right .edge-split__media { order: 2; }
@media (max-width: 960px) {
  .edge-split, .edge-split--media-right { grid-template-columns: 1fr; }
  .edge-split__media, .edge-split--media-right .edge-split__media { order: 0; min-height: 340px; position: relative; }
  .edge-split__copy, .edge-split--media-right .edge-split__copy { padding: 48px 24px; }
}

/* Full-bleed hero banner: photo spans edge to edge, copy overlays on a
   cream wash that dissolves into the image. No blocks, no seams. */
.hero-banner { position: relative; min-height: 620px; display: flex; align-items: center; overflow: hidden; }
.hero-banner__img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 24%;
  -webkit-mask-image: linear-gradient(to top, transparent 0, #000 16%);
  mask-image: linear-gradient(to top, transparent 0, #000 16%);
}
.hero-banner::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to right,
    rgba(255, 253, 250, 0.88) 0%, rgba(255, 253, 250, 0.82) 30%,
    rgba(255, 253, 250, 0.5) 50%, rgba(255, 253, 250, 0) 76%);
}
/* Lift variant for darker photos: adds a soft overall veil so every
   hero banner carries the same light, airy gradient as /about. */
.hero-banner--lift::after {
  background: linear-gradient(to right,
    rgba(255, 253, 250, 0.9) 0%, rgba(255, 253, 250, 0.84) 30%,
    rgba(255, 253, 250, 0.52) 52%, rgba(255, 253, 250, 0.16) 78%,
    rgba(255, 253, 250, 0.08) 100%);
}
/* Mirrored banner: subject stands left, copy sits right. */
.hero-banner--copy-right::after {
  background: linear-gradient(to left,
    rgba(255, 253, 250, 0.9) 0%, rgba(255, 253, 250, 0.84) 30%,
    rgba(255, 253, 250, 0.52) 52%, rgba(255, 253, 250, 0.16) 78%,
    rgba(255, 253, 250, 0.08) 100%);
}
.hero-banner--copy-right .hero-banner__copy { margin-left: auto; }
.hero-banner .container { position: relative; z-index: 1; width: 100%; }
.hero-banner__copy { max-width: 560px; padding-block: 72px; }
@media (max-width: 960px) {
  .hero-banner { display: block; min-height: 0; }
  .hero-banner__img {
    position: static; height: 380px;
    -webkit-mask-image: linear-gradient(to top, transparent 0, #000 22%);
    mask-image: linear-gradient(to top, transparent 0, #000 22%);
  }
  .hero-banner::after { content: none; }
  .hero-banner__copy { padding-block: 8px 48px; }
}

/* Fade variant (mockup grammar): a media-right photo dissolves into the
   page background at its inner edge and its bottom edge instead of
   cutting hard against the next section. */
.edge-split--fade .edge-split__media img {
  -webkit-mask-image: linear-gradient(to right, transparent 0, rgba(0, 0, 0, 0.35) 24%, #000 55%), linear-gradient(to top, transparent 0, #000 22%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0, rgba(0, 0, 0, 0.35) 24%, #000 55%), linear-gradient(to top, transparent 0, #000 22%);
  mask-composite: intersect;
}
@media (max-width: 960px) {
  .edge-split--fade .edge-split__media img { -webkit-mask-image: none; mask-image: none; }
}

/* Mirror reveal behavior (ported from style.css; mirror.js depends on
   these): finger/cursor wiping, flood fade, full reveal for no-JS and
   reduced motion. */
.gold-mirror__glass { touch-action: none; }
.mirror-line { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
[data-flood] { transition: opacity 2.6s ease; }
.gold-mirror__glass.is-seen [data-flood] { opacity: 1; }
html:not(.js) .mirror-line g[mask] { mask: none; }
@media (prefers-reduced-motion: reduce) {
  .mirror-line g[mask] { mask: none; }
  [data-flood] { transition: none; }
}

/* Hero fixes: photo flush under header on mobile; copy never slides
   under the bleed photo on tablet widths. Header credential line
   restored under the wordmark, small, always visible. */
@media (max-width: 960px) {
  .hero--home { padding: 0 0 48px; }
  .hero--home .hero-bleed { margin-top: 0; }
  .hero--home .container { padding-top: 30px; }
}
@media (min-width: 961px) and (max-width: 1240px) {
  .hero--home .hero-copy { max-width: 48%; }
}
.brand-stack__text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-stack { align-items: center; }
.brand-stack .brand-stack__cred {
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-faint); margin-top: 2px;
}
