/* Source Intelligence — static prototype (Tilda-oriented) */

:root {
  /* Midnight violet field — warm depth, not pure black */
  --ink: #16101f;
  --plum-deep: #211628;
  --plum-mid: #2a1e34;
  --violet: #3a2a48;
  --field-warm: #1e1528;
  --surface: rgba(28, 20, 32, 0.55);
  --ivory: #f4eee6;
  --ivory-muted: rgba(244, 238, 230, 0.74);
  --gold: #c0a06e;
  --gold-bright: #d4b882;
  --gold-soft: rgba(192, 160, 110, 0.38);
  --rose-glow: rgba(210, 170, 195, 0.09);
  /* Library pathway card — cool aquamarine, pairs with gold + plum */
  --library-accent: #8fd4c8;
  --library-accent-muted: rgba(130, 200, 188, 0.55);
  --library-edge: rgba(95, 175, 165, 0.42);
  --library-glow: rgba(60, 140, 130, 0.14);
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.3, 0.64, 1);
  --nav-h: 4.25rem;
  --viewport-h: 100vh;
  --hero-h: calc(var(--viewport-h) - var(--nav-h));
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-soft: 0 4px 24px rgba(0, 0, 0, 0.22);
  --shadow-lift: 0 20px 48px rgba(0, 0, 0, 0.38);
  --motion-fast: 0.22s;
  --motion: 0.45s;
  --motion-slow: 0.9s;
  /* Light section bands (editorial contrast on dark page) */
  --surface-paper-top: #faf8f4;
  --surface-paper-mid: #f2ebe3;
  --surface-paper-bot: #e6ddd2;
  --surface-mist-top: #f0eaf4;
  --surface-mist-mid: #e6dfea;
  --surface-mist-bot: #dbd2e2;
  /* Brighter warm band for CTA blocks (openings, stay-in-field, contact) */
  --surface-cta-top: #fffefb;
  --surface-cta-mid: #faf5ec;
  --surface-cta-bot: #efe2cf;
  --text-on-band: #161018;
  --text-on-band-muted: rgba(22, 16, 26, 0.78);
  --text-on-band-soft: rgba(22, 16, 26, 0.52);
}

@supports (height: 100svh) {
  :root {
    --viewport-h: 100svh;
  }
}

@supports (height: 100dvh) {
  :root {
    --viewport-h: 100dvh;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* Fixed header: land anchors with headline visible, not under the bar */
  scroll-padding-top: calc(var(--nav-h) + 0.75rem);
  /* Avoid horizontal scroll when full-bleed bands use viewport width (100vw vs scrollbar) */
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ivory-muted);
  background-color: var(--ink);
  background-image:
    radial-gradient(ellipse 100% 70% at 50% -15%, rgba(200, 155, 185, 0.09), transparent 52%),
    radial-gradient(ellipse 80% 55% at 95% 22%, rgba(110, 75, 145, 0.18), transparent 48%),
    radial-gradient(ellipse 65% 50% at 5% 78%, rgba(58, 38, 72, 0.42), transparent 50%),
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(192, 160, 110, 0.05), transparent 55%),
    linear-gradient(168deg, #1e1528 0%, var(--ink) 42%, #181220 100%);
  background-attachment: fixed;
  min-height: 100vh;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s var(--ease-out);
}

a:hover {
  color: var(--ivory);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ——— Nav ——— */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  background: linear-gradient(180deg, rgba(22, 16, 32, 0.94) 0%, rgba(22, 16, 32, 0.72) 72%, transparent 100%);
  backdrop-filter: blur(12px) saturate(1.1);
  border-bottom: 1px solid rgba(192, 160, 110, 0.09);
  transition: border-color var(--motion) var(--ease-out), box-shadow var(--motion) var(--ease-out);
  overflow: visible;
}

.site-header:hover {
  border-bottom-color: rgba(192, 160, 110, 0.14);
}

.logo {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ivory);
  transition: color var(--motion-fast) var(--ease-out), transform var(--motion) var(--ease-spring),
    text-shadow var(--motion) var(--ease-out);
}

.logo:hover {
  color: #fff;
  transform: translateY(-1px);
  text-shadow: 0 0 28px rgba(192, 160, 110, 0.25);
}

.logo span {
  display: block;
  font-size: 0.65rem;
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 0.15rem;
}

.nav-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(244, 238, 230, 0.22);
  color: var(--ivory);
  padding: 0.5rem 0.75rem;
  font-size: 0.85rem;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: background var(--motion-fast) var(--ease-out), border-color var(--motion-fast),
    transform var(--motion-fast) var(--ease-out);
}

.nav-toggle:hover {
  background: rgba(192, 160, 110, 0.12);
  border-color: rgba(192, 160, 110, 0.45);
}

.nav-toggle:active {
  transform: scale(0.97);
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
  list-style: none;
}

.nav-item__link {
  position: relative;
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ivory-muted);
  padding: 0.35rem 0 0.25rem;
  transition: color var(--motion-fast) var(--ease-out);
}

.nav-item__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.4s var(--ease-out);
}

.nav-item:hover > .nav-item__link,
.nav-item:focus-within > .nav-item__link {
  color: var(--ivory);
}

.nav-item:hover > .nav-item__link::after,
.nav-item:focus-within > .nav-item__link::after {
  transform: scaleX(1);
}

.nav-item__link[aria-current="page"] {
  color: var(--ivory);
}

.nav-item__link[aria-current="page"]::after {
  transform: scaleX(1);
  opacity: 0.9;
}

.nav-sub {
  list-style: none;
  margin: 0;
  padding: 0.45rem 0;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(0.12rem);
  min-width: 15.5rem;
  background: rgba(16, 11, 20, 0.98);
  border: 1px solid rgba(192, 160, 110, 0.2);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s var(--ease-out), visibility 0.22s;
  z-index: 120;
}

.nav-item--has-sub:hover .nav-sub,
.nav-item--has-sub:focus-within .nav-sub {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav-sub a {
  display: block;
  padding: 0.42rem 1rem;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: none;
  color: rgba(244, 238, 230, 0.85);
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-sub a:hover {
  color: var(--ivory);
  background: rgba(192, 160, 110, 0.1);
}

.nav-sub a[aria-current="page"] {
  color: var(--gold-bright);
  background: rgba(192, 160, 110, 0.12);
}

@media (max-width: 1100px) {
  .nav-item__link {
    font-size: 0.74rem;
  }
}

@media (max-width: 1035px) {
  /* Take <nav> out of flex so only logo + Menu remain — space-between pins Menu to the right */
  .site-header > nav {
    position: absolute;
    left: 0;
    right: 0;
    top: var(--nav-h);
    width: 100%;
  }

  .nav-toggle {
    display: block;
    margin-left: auto;
    flex-shrink: 0;
  }

  .logo {
    flex-shrink: 1;
    min-width: 0;
  }

  .nav-list {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
    padding: 0.5rem 1.25rem 1.25rem;
    background: rgba(12, 8, 15, 0.98);
    border-bottom: 1px solid rgba(184, 155, 106, 0.12);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease-out), opacity 0.25s;
  }

  .nav-list.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav-item__link {
    display: block;
    padding: 0.85rem 0 0.35rem;
  }

  .nav-sub {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    border: none;
    box-shadow: none;
    background: rgba(0, 0, 0, 0.2);
    margin: 0 0 0.35rem 0;
    padding: 0.15rem 0 0.65rem 0.85rem;
    min-width: 0;
  }

  .nav-sub a {
    padding: 0.38rem 0.25rem;
    font-size: 0.84rem;
  }

  .nav-item--has-sub .nav-item__link::after {
    display: none;
  }
}

/* ——— Layout ——— */
main {
  padding-top: var(--nav-h);
}

.section {
  padding: clamp(3.5rem, 10vw, 7rem) clamp(1.25rem, 5vw, 4rem);
  max-width: 72rem;
  margin: 0 auto;
}

.section--breath {
  padding: clamp(5rem, 14vw, 10rem) clamp(1.25rem, 5vw, 4rem);
}

.section--tight {
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1.25rem, 5vw, 4rem);
}

/* Full-bleed surface bands (content stays max-width; backdrop spans viewport) */
.section--surface-paper,
.section--surface-mist,
.section--surface-elevated,
.section--surface-cta,
.section--surface-plume {
  position: relative;
  isolation: isolate;
}

.section--surface-paper::before,
.section--surface-mist::before,
.section--surface-elevated::before,
.section--surface-cta::before,
.section--surface-plume::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  top: 0;
  bottom: 0;
  z-index: -1;
  pointer-events: none;
}

.section--surface-paper::before {
  background: linear-gradient(
    180deg,
    var(--surface-paper-top) 0%,
    var(--surface-paper-mid) 42%,
    var(--surface-paper-bot) 100%
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.65),
    inset 0 -1px 0 rgba(26, 18, 24, 0.06);
}

.section--surface-mist::before {
  background: linear-gradient(
    165deg,
    var(--surface-mist-top) 0%,
    var(--surface-mist-mid) 48%,
    var(--surface-mist-bot) 100%
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -1px 0 rgba(50, 38, 70, 0.08);
}

.section--surface-cta::before {
  background: linear-gradient(
    168deg,
    var(--surface-cta-top) 0%,
    var(--surface-cta-mid) 46%,
    var(--surface-cta-bot) 100%
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    inset 0 -1px 0 rgba(26, 18, 24, 0.05),
    0 14px 44px rgba(22, 16, 26, 0.07);
}

.section--surface-plume::before {
  background: linear-gradient(
    168deg,
    rgba(52, 38, 60, 0.9) 0%,
    var(--plum-mid) 40%,
    rgba(16, 11, 20, 0.98) 100%
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.045),
    inset 0 -1px 0 rgba(0, 0, 0, 0.32);
}

/* Programs page: alternate plume-violet vs plum-deep bands */
.program-detail-section.program-detail-section--plume-a.section--surface-plume::before {
  background: linear-gradient(
    168deg,
    rgba(56, 42, 64, 0.9) 0%,
    var(--violet) 36%,
    var(--plum-mid) 72%,
    rgba(18, 12, 22, 0.97) 100%
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.055),
    inset 0 -1px 0 rgba(0, 0, 0, 0.28);
}

.program-detail-section.program-detail-section--plume-b.section--surface-plume::before {
  background: linear-gradient(
    168deg,
    rgba(34, 24, 40, 0.96) 0%,
    var(--plum-deep) 40%,
    rgba(12, 8, 15, 0.99) 100%
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    inset 0 -1px 0 rgba(0, 0, 0, 0.4);
}

.section--surface-elevated::before {
  background: linear-gradient(
    175deg,
    rgba(48, 34, 56, 0.94) 0%,
    rgba(28, 20, 34, 0.96) 45%,
    rgba(16, 11, 20, 0.98) 100%
  );
  border-top: 1px solid rgba(192, 160, 110, 0.1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.25);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

/* Light bands: body copy + headings (paper, mist, bright CTA) */
.section--surface-paper,
.section--surface-mist,
.section--surface-cta {
  color: var(--text-on-band-muted);
}

.section--surface-paper h1,
.section--surface-paper h2,
.section--surface-paper h3,
.section--surface-mist h1,
.section--surface-mist h2,
.section--surface-mist h3,
.section--surface-cta h1,
.section--surface-cta h2,
.section--surface-cta h3 {
  color: var(--text-on-band);
}

.section--surface-paper .lead,
.section--surface-mist .lead,
.section--surface-cta .lead {
  color: var(--text-on-band-muted);
}

.section--surface-paper .prose strong,
.section--surface-mist .prose strong,
.section--surface-cta .prose strong {
  color: var(--text-on-band);
}

.section--surface-paper .list-signal li,
.section--surface-mist .list-signal li,
.section--surface-cta .list-signal li {
  color: var(--text-on-band-muted);
}

.section--surface-paper .list-signal strong,
.section--surface-mist .list-signal strong,
.section--surface-cta .list-signal strong {
  color: var(--text-on-band);
}

.section--surface-paper .pull-quote,
.section--surface-mist .pull-quote,
.section--surface-cta .pull-quote {
  color: var(--text-on-band);
  border-left-color: rgba(160, 125, 75, 0.85);
}

.section--surface-paper .pull-quote:hover,
.section--surface-mist .pull-quote:hover,
.section--surface-cta .pull-quote:hover {
  box-shadow: inset 4px 0 0 0 var(--gold), 0 10px 32px rgba(26, 18, 24, 0.08);
}

.section--surface-paper .strip-note,
.section--surface-mist .strip-note,
.section--surface-cta .strip-note {
  color: var(--text-on-band-soft);
}

.section--surface-paper a:hover:not(.btn),
.section--surface-mist a:hover:not(.btn),
.section--surface-cta a:hover:not(.btn) {
  color: #3d2848;
}

.section--surface-paper .links-block a:hover,
.section--surface-mist .links-block a:hover,
.section--surface-cta .links-block a:hover {
  color: var(--text-on-band);
}

.section--surface-paper .btn--ghost,
.section--surface-mist .btn--ghost,
.section--surface-cta .btn--ghost {
  background: rgba(22, 16, 26, 0.05);
  color: var(--text-on-band);
  border-color: rgba(22, 16, 26, 0.22);
}

.section--surface-paper .btn--ghost:hover,
.section--surface-mist .btn--ghost:hover,
.section--surface-cta .btn--ghost:hover {
  color: var(--text-on-band);
  border-color: var(--gold);
  background: rgba(192, 160, 110, 0.14);
  box-shadow: 0 6px 20px rgba(22, 16, 26, 0.08);
}

.section--surface-cta .btn--primary {
  box-shadow:
    0 2px 14px rgba(192, 160, 110, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.2);
}

.section--surface-cta .btn--primary:hover {
  box-shadow:
    0 12px 32px rgba(192, 160, 110, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.25);
}

/* Cards stay dark: ghost/primary on cards must not use light-band ghost colors */
.section--surface-paper .card .btn--ghost,
.section--surface-mist .card .btn--ghost,
.section--surface-cta .card .btn--ghost {
  background: rgba(255, 255, 255, 0.03);
  color: var(--ivory);
  border-color: rgba(244, 238, 230, 0.28);
}

.section--surface-paper .card .btn--ghost:hover,
.section--surface-mist .card .btn--ghost:hover,
.section--surface-cta .card .btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
  background: rgba(192, 160, 110, 0.08);
  box-shadow: var(--shadow-soft);
}

/* Dark cards on light bands (e.g. Four doors): reset inherited dark text → ivory / gold */
.section--surface-mist .card,
.section--surface-paper .card,
.section--surface-cta .card {
  color: rgba(244, 238, 230, 0.9);
  background: linear-gradient(155deg, rgba(34, 24, 42, 0.94) 0%, rgba(12, 9, 16, 0.96) 100%);
  border-color: rgba(192, 160, 110, 0.22);
}

.section--surface-mist .card:hover,
.section--surface-paper .card:hover,
.section--surface-cta .card:hover {
  background: linear-gradient(155deg, rgba(46, 32, 54, 0.96) 0%, rgba(18, 12, 22, 0.96) 100%);
}

.section--surface-mist .card h3,
.section--surface-paper .card h3,
.section--surface-cta .card h3 {
  color: var(--ivory);
}

.section--surface-mist .card p,
.section--surface-paper .card p,
.section--surface-cta .card p {
  color: rgba(244, 238, 230, 0.88);
}

.section--surface-mist .card .card-audience,
.section--surface-paper .card .card-audience,
.section--surface-cta .card .card-audience {
  color: rgba(212, 184, 130, 0.92);
  letter-spacing: 0.09em;
}

/* Same footprint as other pathway cards; cool aquamarine layer over deep blue-green */
.section--surface-cta .card.card--library {
  color: rgba(236, 248, 245, 0.92);
  background: linear-gradient(
    155deg,
    rgba(24, 46, 52, 0.94) 0%,
    rgba(14, 32, 38, 0.96) 45%,
    rgba(16, 22, 34, 0.93) 100%
  );
  border-color: var(--library-edge);
  box-shadow: 0 0 0 1px rgba(70, 150, 140, 0.1);
}

.section--surface-cta .card.card--library:hover {
  background: linear-gradient(
    155deg,
    rgba(30, 56, 62, 0.97) 0%,
    rgba(18, 40, 48, 0.98) 48%,
    rgba(20, 28, 42, 0.96) 100%
  );
  border-color: var(--library-accent-muted);
  box-shadow: var(--shadow-lift), 0 0 0 1px rgba(100, 190, 175, 0.22), 0 0 48px var(--library-glow);
  transform: translateY(-6px);
}

.section--surface-cta .card.card--library .card-audience {
  color: rgba(160, 218, 208, 0.88);
  letter-spacing: 0.09em;
}

.section--surface-cta .card.card--library h3 {
  color: #eaf8f5;
}

.section--surface-cta .card.card--library p {
  color: rgba(228, 244, 241, 0.9);
}

.section--surface-cta .card.card--library .btn--ghost {
  border-color: rgba(130, 200, 190, 0.38);
  color: rgba(240, 252, 249, 0.96);
  background: rgba(40, 110, 100, 0.14);
}

.section--surface-cta .card.card--library .btn--ghost:hover {
  border-color: var(--library-accent);
  color: #f7fffd;
  background: rgba(55, 130, 118, 0.22);
  box-shadow: 0 8px 26px rgba(10, 36, 34, 0.38);
}

.section--surface-paper .movements-heading,
.section--surface-paper .possible-heading,
.section--surface-mist .movements-heading,
.section--surface-mist .possible-heading,
.section--surface-cta .movements-heading,
.section--surface-cta .possible-heading {
  color: var(--text-on-band);
}

.section--surface-paper .tagline,
.section--surface-mist .tagline,
.section--surface-cta .tagline {
  color: #7d5c38;
}

/* Narrative plume band (ivory type on lifted plum) */
.section--surface-plume {
  color: var(--ivory-muted);
}

.section--surface-plume h1,
.section--surface-plume h2,
.section--surface-plume h3 {
  color: var(--ivory);
}

.section--surface-plume .lead {
  color: var(--ivory-muted);
}

.section--surface-plume .prose strong {
  color: var(--ivory);
}

.section--surface-plume .list-signal li {
  color: var(--ivory-muted);
}

.section--surface-plume .list-signal strong {
  color: var(--ivory);
}

.section--surface-plume .pull-quote {
  color: var(--ivory);
  border-left-color: rgba(192, 160, 110, 0.55);
}

.section--surface-plume .pull-quote:hover {
  box-shadow: inset 4px 0 0 0 var(--gold-bright), 0 12px 40px rgba(0, 0, 0, 0.25);
}

.section--surface-plume .strip-note {
  color: rgba(242, 235, 227, 0.42);
}

.section-label {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.section-label--spaced-top {
  margin-top: clamp(2.75rem, 6vw, 4rem);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ivory);
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.75rem, 7vw, 4.25rem);
  letter-spacing: 0.02em;
  margin: 0 0 1rem;
}

h2 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin: 0 0 1.5rem;
}

h3 {
  font-size: 1.35rem;
  margin: 0 0 0.75rem;
}

.lead {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  line-height: 1.55;
  color: var(--ivory-muted);
  max-width: 38rem;
}

.prose {
  max-width: 40rem;
}

/* The simple idea — pair row uses full width; stacks when tracks cannot fit side by side */
.simple-idea-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  width: 100%;
  max-width: none;
  align-items: start;
}

.simple-idea-columns.prose {
  max-width: none;
}

.simple-idea-pair {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
  gap: clamp(1rem, 2.5vw, 2rem);
  align-items: start;
}

.simple-idea-columns .simple-idea-pull {
  margin-top: 0;
  margin-bottom: 0;
  max-width: none;
}

.simple-idea-col--quote {
  min-width: 0;
  display: block;
}

.prose p {
  margin: 0 0 1.25rem;
}

.simple-idea-columns.prose .simple-idea-pair > p {
  margin-bottom: 0;
}

/* Quiet, scannable lists (less wall-of-text) */
.list-signal {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 36rem;
}

.list-signal li {
  position: relative;
  padding-left: 1.1rem;
  margin: 0 0 0.55rem;
  line-height: 1.5;
  color: var(--ivory-muted);
}

.list-signal li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.45;
}

.list-signal strong {
  color: var(--ivory);
}

.prose strong {
  color: var(--ivory);
  font-weight: 600;
}

.pull-quote {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--ivory);
  border-left: 2px solid var(--gold);
  padding: 0.25rem 0 0.25rem 1.25rem;
  margin: 2rem 0;
  max-width: 36rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  transition: border-color var(--motion) var(--ease-out), box-shadow var(--motion) var(--ease-out),
    transform var(--motion) var(--ease-out);
}

.pull-quote:hover {
  border-left-color: var(--gold-bright);
  box-shadow: inset 4px 0 0 0 var(--gold-bright), 0 12px 40px rgba(0, 0, 0, 0.2);
  transform: translateX(2px);
}

.triplet {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-top: 2.5rem;
}

@media (max-width: 768px) {
  .triplet {
    grid-template-columns: 1fr;
  }
}

.movement-num {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.movement-icon {
  width: 3rem;
  height: 3rem;
  margin-bottom: 1.25rem;
  opacity: 0.85;
  transition: transform var(--motion) var(--ease-spring), opacity var(--motion);
}

.movement-card {
  padding: 1rem 1rem 1rem 0;
  margin: -1rem -1rem -1rem 0;
  border-radius: var(--radius);
  transition: transform var(--motion) var(--ease-out);
}

.movement-card:hover {
  transform: translateY(-6px);
}

.movement-card:hover .movement-icon {
  transform: scale(1.08) rotate(-3deg);
  opacity: 1;
}

.tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--gold);
  margin-top: 1rem;
}

/* ——— Buttons ——— */
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-top: 2.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--motion) var(--ease-out), border-color var(--motion),
    color var(--motion) var(--ease-out), transform var(--motion) var(--ease-spring),
    box-shadow var(--motion) var(--ease-out);
}

.btn--primary {
  background: linear-gradient(165deg, var(--gold-bright) 0%, var(--gold) 100%);
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 2px 12px rgba(192, 160, 110, 0.2);
}

.btn--primary:hover {
  background: linear-gradient(165deg, #dcc498 0%, var(--gold-bright) 100%);
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(192, 160, 110, 0.35);
}

.btn--primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.03);
  color: var(--ivory);
  border-color: rgba(244, 238, 230, 0.28);
}

.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
  background: rgba(192, 160, 110, 0.08);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.btn--ghost:active {
  transform: translateY(0);
}

/* ——— Hero (split: copy left, portrait right) ——— */
/* Exactly one screen below the fixed nav; no overflow on any viewport */
.section.hero.hero-split {
  padding: clamp(0.85rem, 2.2vh, 2.25rem) clamp(1.25rem, 5vw, 4rem);
  max-width: 76rem;
}

.hero.hero-split {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(0.65rem, 2vw, 2rem);
  align-items: stretch;
  max-width: 76rem;
  margin: 0 auto;
  padding: clamp(0.85rem, 2.2vh, 2.25rem) clamp(1.25rem, 5vw, 4rem);
  height: var(--hero-h);
  max-height: var(--hero-h);
  min-height: 0;
  position: relative;
  overflow: hidden;
}

.hero-split::before {
  content: "";
  position: absolute;
  width: min(70vw, 480px);
  height: min(70vw, 480px);
  left: -8%;
  top: 42%;
  transform: translateY(-50%);
  background: radial-gradient(circle, rgba(140, 95, 165, 0.12) 0%, transparent 65%);
  pointer-events: none;
  animation: si-orb-drift 14s ease-in-out infinite;
}

.hero-split__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
  position: relative;
  z-index: 1;
  padding: 0;
}

.hero-split__media {
  position: relative;
  min-height: 0;
  height: 100%;
  max-height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(192, 160, 110, 0.24);
  box-shadow: var(--shadow-lift), 0 0 48px rgba(90, 55, 110, 0.15);
}

.hero-split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 22%;
}

.hero-split__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(22, 16, 32, 0.28) 0%,
    rgba(42, 30, 52, 0.08) 38%,
    transparent 58%
  );
  pointer-events: none;
}

.hero.hero-split h1 {
  margin: 0 0 clamp(0.25rem, 1vh, 0.65rem);
  font-size: clamp(2rem, 5.5vh, 4.25rem);
}

.hero.hero-split .section-label {
  margin-bottom: clamp(0.35rem, 1.2vh, 0.85rem);
}

.hero-verse {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.4vh, 1.75rem);
  line-height: 1.32;
  color: var(--ivory);
  margin: 0;
  max-width: 22rem;
}

.hero-verse span {
  color: var(--ivory-muted);
}

.hero-whisper {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1rem, 2vh, 1.35rem);
  line-height: 1.38;
  color: var(--gold-bright);
  margin: clamp(0.45rem, 1.4vh, 1rem) 0 0;
  max-width: 20rem;
  opacity: 0.92;
}

.hero-body {
  margin: clamp(0.5rem, 1.5vh, 1.1rem) 0 0;
  max-width: 32rem;
  font-size: clamp(0.88rem, 1.7vh, 1.02rem);
  line-height: 1.5;
  color: var(--ivory-muted);
}

.hero .section-label {
  animation: si-fade-up 0.95s var(--ease-out) 0.05s backwards;
}

.hero h1 {
  animation: si-fade-up 0.95s var(--ease-out) 0.12s backwards;
}

.hero .hero-verse {
  animation: si-fade-up 0.95s var(--ease-out) 0.18s backwards;
}

.hero .hero-whisper {
  animation: si-fade-up 0.95s var(--ease-out) 0.24s backwards;
}

.hero .hero-body {
  animation: si-fade-up 0.95s var(--ease-out) 0.3s backwards;
}

.hero .btn-row {
  animation: si-fade-up 0.95s var(--ease-out) 0.38s backwards;
  margin-top: clamp(0.75rem, 2vh, 1.65rem);
  flex-shrink: 0;
}

.hero.hero-split .btn {
  padding: clamp(0.6rem, 1.4vh, 0.85rem) clamp(1rem, 2.5vw, 1.5rem);
}

@media (max-width: 900px) {
  .hero.hero-split {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 0.4fr) minmax(0, 0.6fr);
    gap: clamp(0.45rem, 1.2vh, 0.85rem);
    padding: clamp(0.5rem, 1.5vh, 1rem) clamp(1rem, 4vw, 1.5rem);
  }

  .hero-split__media {
    order: -1;
    width: 100%;
    min-height: 0;
  }

  .hero-split__media img {
    object-position: 50% 18%;
  }

  .hero-split__copy {
    min-height: 0;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero.hero-split {
    grid-template-rows: minmax(0, 0.38fr) minmax(0, 0.62fr);
  }

  .hero-split__media {
    border-radius: var(--radius);
  }

  .hero-split__media img {
    object-position: 50% 15%;
  }
}

@media (max-height: 640px) {
  .hero.hero-split {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    gap: 0.5rem;
  }

  .hero.hero-split .btn-row {
    margin-top: 0.5rem;
  }
}

/* ——— Photo strip placeholder (Why Now) ——— */
.photo-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.35rem;
  margin: 3rem 0 0;
  max-width: 100%;
}

@media (max-width: 700px) {
  .photo-strip {
    grid-template-columns: repeat(3, 1fr);
  }
}

.photo-strip--few {
  grid-template-columns: repeat(3, 1fr);
  max-width: min(100%, 42rem);
  margin-left: 0;
}

/* ——— Writing + programs teaser — centered pair ——— */
.section-go-deeper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-go-deeper > .section-label,
.section-go-deeper > h2,
.section-go-deeper > h3,
.section-go-deeper > .prose {
  text-align: center;
  width: 100%;
}

.section-go-deeper .prose {
  margin-left: auto;
  margin-right: auto;
}

.section-go-deeper .links-block {
  justify-content: center;
  width: 100%;
  max-width: 40rem;
}

.section-go-deeper .cards--centered-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 17.5rem));
  justify-content: center;
  width: 100%;
  max-width: 38rem;
  margin: 0;
  gap: 1rem;
}

@media (max-width: 640px) {
  .section-go-deeper .cards--centered-pair {
    grid-template-columns: 1fr;
    max-width: 22rem;
  }
}

.photo-cell {
  aspect-ratio: 4 / 5;
  background: linear-gradient(145deg, var(--violet) 0%, var(--plum-mid) 50%, #1a1218 100%);
  border: 1px solid rgba(192, 160, 110, 0.12);
  border-radius: var(--radius-sm);
  position: relative;
  overflow: hidden;
  transition: transform 0.5s var(--ease-out), border-color var(--motion), box-shadow var(--motion);
}

.photo-cell::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.06), transparent 50%);
  transition: background var(--motion) var(--ease-out);
}

.photo-cell:hover {
  transform: scale(1.04);
  border-color: rgba(192, 160, 110, 0.35);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  z-index: 1;
}

.photo-cell:hover::before {
  background: radial-gradient(circle at 40% 25%, rgba(255, 255, 255, 0.12), transparent 55%);
}

.strip-note {
  font-size: 0.8rem;
  color: rgba(242, 235, 227, 0.45);
  margin-top: 0.75rem;
}

/* ——— Two-column rhythm ——— */
.cols-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  max-width: 48rem;
}

.cols-2 p {
  margin: 0 0 1rem;
}

@media (max-width: 640px) {
  .cols-2 {
    grid-template-columns: 1fr;
  }
}

/* ——— Diagram ——— */
.diagram-wrap {
  margin: 2.5rem 0 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.diagram-svg {
  width: min(100%, 420px);
  height: auto;
  filter: drop-shadow(0 0 12px rgba(192, 160, 110, 0.08));
  transition: filter var(--motion) var(--ease-out), transform var(--motion-slow) var(--ease-out);
}

.diagram-wrap:hover .diagram-svg {
  filter: drop-shadow(0 0 22px rgba(192, 160, 110, 0.18));
  transform: scale(1.02);
}

.legend-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem 2rem;
  width: 100%;
  max-width: 52rem;
  font-size: 0.92rem;
}

.legend-grid--compact {
  max-width: 48rem;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.65rem 1.25rem;
}

.legend-term {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ivory);
  margin: 0 0 0.25rem;
}

.legend-desc {
  margin: 0;
  color: var(--ivory-muted);
  font-size: 0.92rem;
}

/* ——— Cards ——— */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.card {
  background: linear-gradient(155deg, rgba(42, 30, 48, 0.75) 0%, rgba(22, 16, 26, 0.72) 100%);
  border: 1px solid rgba(192, 160, 110, 0.14);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: border-color var(--motion) var(--ease-out), box-shadow var(--motion) var(--ease-out),
    transform var(--motion) var(--ease-spring), background var(--motion) var(--ease-out);
}

.card:hover {
  border-color: rgba(192, 160, 110, 0.42);
  box-shadow: var(--shadow-lift), 0 0 0 1px rgba(192, 160, 110, 0.12);
  transform: translateY(-6px);
  background: linear-gradient(155deg, rgba(48, 34, 54, 0.88) 0%, rgba(26, 18, 30, 0.85) 100%);
}

.card:active {
  transform: translateY(-2px);
}

.card h3 {
  font-size: 1.2rem;
}

.card p {
  flex: 1;
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
}

.card-audience {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(244, 238, 230, 0.48);
  margin: 0 0 0.5rem;
  line-height: 1.35;
}

.cards--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1080px) {
  .cards--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .cards--four {
    grid-template-columns: 1fr;
  }
}

.movements-heading {
  margin-top: 2.75rem;
  margin-bottom: 0.35rem;
  font-size: clamp(1.65rem, 3.8vw, 2.25rem);
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ivory);
}

.movements-heading--section-start {
  margin-top: 0;
}

.movements-heading--spaced-top {
  margin-top: clamp(2.25rem, 5vw, 3.5rem);
}

.movements-lead {
  margin-bottom: 1.5rem;
}

.possible-heading {
  margin-top: 2.25rem;
  margin-bottom: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 500;
  color: var(--ivory);
}

.list-signal--tight li {
  margin-bottom: 0.42rem;
}

.format-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 0.85rem;
  max-width: 46rem;
  margin-top: 1.75rem;
}

.format-tile {
  aspect-ratio: 1;
  border-radius: var(--radius);
  border: 1px solid rgba(192, 160, 110, 0.18);
  background: linear-gradient(145deg, rgba(50, 38, 56, 0.55), rgba(18, 14, 20, 0.88));
  display: flex;
  align-items: flex-end;
  padding: 1rem 0.9rem;
  transition: border-color var(--motion) var(--ease-out), transform var(--motion) var(--ease-out),
    box-shadow var(--motion) var(--ease-out);
}

.format-tile:hover {
  border-color: rgba(192, 160, 110, 0.38);
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.format-tile__label {
  font-size: 0.8rem;
  line-height: 1.35;
  color: var(--ivory-muted);
}

.status-pill {
  display: inline-block;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(192, 160, 110, 0.35);
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
  margin-bottom: 1rem;
  transition: border-color var(--motion-fast), background var(--motion-fast), color var(--motion-fast);
}

.card:hover .status-pill {
  background: rgba(192, 160, 110, 0.1);
  border-color: rgba(192, 160, 110, 0.55);
}

/* ——— Dialogues block ——— */
.links-block {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  margin-top: 1.5rem;
}

.links-block a {
  position: relative;
  font-size: 0.9rem;
  padding-bottom: 0.2rem;
  transition: color var(--motion-fast) var(--ease-out);
}

.links-block a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
  transform: scaleX(0.35);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out), opacity var(--motion-fast);
  opacity: 0.7;
}

.links-block a:hover {
  color: var(--ivory);
}

.links-block a:hover::after {
  transform: scaleX(1);
  opacity: 1;
}

/* ——— About ——— */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 280px);
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 800px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

.portrait-placeholder {
  aspect-ratio: 3 / 4;
  background: linear-gradient(160deg, var(--violet), var(--plum-mid));
  border: 1px solid rgba(192, 160, 110, 0.2);
  border-radius: var(--radius);
  position: relative;
  transition: transform var(--motion) var(--ease-out), box-shadow var(--motion) var(--ease-out),
    border-color var(--motion);
}

.portrait-placeholder:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lift);
  border-color: rgba(192, 160, 110, 0.35);
}

.portrait-placeholder::after {
  content: "Photo";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(242, 235, 227, 0.25);
}

/* ——— Form ——— */
.contact-section {
  border-top: 1px solid rgba(184, 155, 106, 0.12);
}

.contact-section:not(.section--surface-cta) {
  background: linear-gradient(180deg, transparent, rgba(45, 34, 56, 0.15));
}

.contact-section.section--surface-cta {
  border-top-color: rgba(22, 16, 26, 0.08);
}

.contact-section.section--surface-cta .contact-form-title {
  color: var(--text-on-band);
}

.contact-section.section--surface-cta .form-hint {
  color: var(--text-on-band-soft);
}

.contact-section.section--surface-cta .form-success {
  color: var(--text-on-band);
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(160, 125, 75, 0.35);
}

.contact-section.section--breath {
  padding-top: clamp(2.25rem, 5vw, 3.75rem);
  padding-bottom: clamp(2.25rem, 5vw, 4rem);
}

.contact-form-title {
  margin-top: 1.5rem;
  margin-bottom: 0;
  font-size: 1.1rem;
  font-family: var(--font-display);
  font-weight: 500;
}

.form-grid {
  display: grid;
  gap: 1.25rem;
  max-width: 32rem;
  margin-top: 2rem;
}

.form-grid__full {
  grid-column: 1 / -1;
}

.form-grid.form-grid--compact {
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem 0.8rem;
  max-width: 36rem;
  margin-top: 0.85rem;
  align-content: start;
}

.form-grid label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.45rem;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ivory);
  background: rgba(15, 10, 18, 0.55);
  border: 1px solid rgba(244, 238, 230, 0.14);
  border-radius: var(--radius-sm);
  transition: border-color var(--motion-fast) var(--ease-out), box-shadow var(--motion-fast),
    background var(--motion-fast);
}

.form-grid input:hover,
.form-grid select:hover,
.form-grid textarea:hover {
  border-color: rgba(192, 160, 110, 0.28);
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(192, 160, 110, 0.12);
  background: rgba(20, 14, 24, 0.75);
}

.form-grid textarea {
  resize: vertical;
}

.form-grid:not(.form-grid--compact) textarea {
  min-height: 8rem;
}

.form-grid.form-grid--compact label {
  font-size: 0.65rem;
  margin-bottom: 0.25rem;
  letter-spacing: 0.1em;
}

.form-grid.form-grid--compact input,
.form-grid.form-grid--compact select,
.form-grid.form-grid--compact textarea {
  padding: 0.45rem 0.6rem;
  font-size: 0.875rem;
  line-height: 1.35;
}

.form-grid.form-grid--compact textarea {
  min-height: 3.5rem;
  max-height: 8.5rem;
}

.form-grid.form-grid--compact .btn {
  padding: 0.55rem 1.15rem;
  font-size: 0.72rem;
}

@media (max-width: 520px) {
  .form-grid.form-grid--compact {
    grid-template-columns: 1fr;
  }
}

.form-hint {
  font-size: 0.8rem;
  color: rgba(242, 235, 227, 0.5);
  margin-top: 0.65rem;
  max-width: 36rem;
}

.form-success {
  display: none;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(184, 155, 106, 0.4);
  background: rgba(37, 26, 40, 0.6);
  margin-top: 0.75rem;
  max-width: 36rem;
  font-size: 0.88rem;
  line-height: 1.45;
}

.form-success.is-visible {
  display: block;
}

/* ——— Footer ——— */
.site-footer {
  padding: 3rem clamp(1.25rem, 5vw, 4rem) 4rem;
  max-width: 72rem;
  margin: 0 auto;
  border-top: 1px solid rgba(184, 155, 106, 0.1);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.75rem;
  font-size: 0.85rem;
}

.footer-links a {
  position: relative;
  transition: color var(--motion-fast) var(--ease-out), transform var(--motion-fast) var(--ease-out);
}

.footer-links a:hover {
  transform: translateY(-2px);
}

.footer-copy {
  margin-top: 2rem;
  font-size: 0.8rem;
  color: rgba(242, 235, 227, 0.35);
}

.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184, 155, 106, 0.2), transparent);
  margin: 0 auto;
  max-width: 72rem;
}

/* ——— Subpage intro ——— */
.page-intro {
  padding: 1.5rem 0 0.5rem;
  max-width: 72rem;
  margin: 0 auto;
  padding-left: clamp(1.25rem, 5vw, 4rem);
  padding-right: clamp(1.25rem, 5vw, 4rem);
}

.page-intro-back {
  display: inline-block;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  transition: color var(--motion-fast) var(--ease-out), transform var(--motion) var(--ease-out);
}

.page-intro-back:hover {
  color: var(--ivory);
  transform: translateX(-3px);
}

.legend-item {
  padding: 0.35rem 0;
  border-radius: var(--radius-sm);
  transition: background var(--motion-fast), transform var(--motion-fast) var(--ease-out);
}

.legend-item:hover {
  background: rgba(192, 160, 110, 0.06);
  transform: translateX(4px);
}

/* ——— Scroll reveal & motion (Kimi-style polish) ——— */
@keyframes si-fade-up {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes si-orb-drift {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  50% {
    transform: translate(-48%, -52%) scale(1.06);
    opacity: 0.85;
  }
}

@keyframes si-shimmer {
  from {
    opacity: 0.55;
  }
  to {
    opacity: 1;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity var(--motion-slow) var(--ease-out), transform var(--motion-slow) var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ——— Back to top ——— */
.to-top {
  position: fixed;
  right: clamp(1rem, 3vw, 1.75rem);
  bottom: clamp(1rem, 3vw, 1.75rem);
  z-index: 95;
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(165deg, var(--gold-bright) 0%, var(--gold) 100%);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s var(--ease-out), visibility 0.3s, transform 0.3s var(--ease-out),
    box-shadow 0.25s;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(192, 160, 110, 0.35);
  color: var(--ink);
}

.to-top:focus-visible {
  outline: 2px solid var(--ivory);
  outline-offset: 3px;
}

.to-top__icon {
  font-size: 1.15rem;
  line-height: 1;
  font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .to-top {
    transition: none;
  }

  .hero::before,
  .hero::after {
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero .section-label,
  .hero h1,
  .hero .hero-verse,
  .hero .hero-whisper,
  .hero .hero-body,
  .hero .btn-row {
    animation: none;
  }
}

/* ——— Programs page: learn more links + long-form descriptions ——— */
.program-detail-section {
  scroll-margin-top: calc(var(--nav-h) + 1rem);
}

.program-detail-inner {
  max-width: 44rem;
  margin-left: auto;
  margin-right: auto;
}

.program-detail-inner h2 {
  margin-bottom: 0.35rem;
}

.program-detail__lede {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.9vw, 1.2rem);
  color: rgba(244, 238, 230, 0.78);
  margin: 0 0 1.25rem;
  line-height: 1.5;
}

.section--surface-mist .card .card-footer-actions,
.programs-page .card .card-footer-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  padding-top: 0.35rem;
  width: 100%;
}

.section--surface-mist .card .card-footer-actions .btn,
.programs-page .card .card-footer-actions .btn {
  align-self: stretch;
  width: 100%;
}

.section--surface-mist .card .card-footer-actions .card-learn-more,
.programs-page .card .card-footer-actions .card-learn-more {
  margin-top: 0;
  padding-top: 0;
  align-self: flex-end;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  padding-bottom: 0.12rem;
}

.section--surface-mist .card .card-learn-more,
.programs-page .card .card-learn-more {
  margin-top: auto;
  padding-top: 1rem;
  align-self: flex-start;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(212, 184, 130, 0.95);
  border-bottom: 1px solid rgba(192, 160, 110, 0.35);
  padding-bottom: 0.2rem;
  transition: color var(--motion-fast) var(--ease-out), border-color var(--motion-fast);
}

.section--surface-mist .card .card-learn-more:hover,
.programs-page .card .card-learn-more:hover {
  color: var(--ivory);
  border-bottom-color: var(--gold-bright);
}

.section--surface-mist .card .card-learn-more:focus-visible,
.programs-page .card .card-learn-more:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}
