/* Tithe Scroll: Diamond Sanctuary Design System
 * Strict 2 font families + 3 body font sizes below the hero.
 * Zero cerulean accents when html[data-art-theme="classic"] is active.
 */

@font-face {
  font-family: "EB Garamond";
  src: url("./fonts/EBGaramond-Regular.subset.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "EB Garamond";
  src: url("./fonts/EBGaramond-Medium.subset.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "EB Garamond";
  src: url("./fonts/EBGaramond-SemiBold.subset.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Strict 2-Font Pairing */
  --font-serif: "EB Garamond", "Iowan Old Style", Georgia, serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;

  /* Exempt Display & Brand Sizes (A2 Exempt Selectors ONLY) */
  --text-hero: clamp(2.875rem, 4.9vw, 4.375rem);
  --text-brand: 1.5rem;

  /* Strict 3-Size Body Scale Below Hero */
  --text-heading: clamp(2.125rem, 3.6vw, 3.25rem);
  --text-body: 1.1875rem;
  --text-sm: 0.9375rem;

  /* Shared Sacred Palette (House Default) */
  --bg-abyss: #060e1d;
  --bg-sanctuary: #0b172c;
  --bg-elevated: #112240;
  --bg-header-scrolled: rgba(6, 14, 29, 0.88);
  --bg-surface: rgba(11, 23, 44, 0.84);
  --bg-surface-deep: rgba(6, 14, 29, 0.92);
  --bg-gradient-mid: #091529;
  --hero-vignette-edge: #060e1d;

  --gold: #dbbb90;
  --gold-soft: #eacca1;
  --gold-deep: #b8975a;
  --crimson: #b0272f;
  --crimson-deep: #5a1a1f;
  --crimson-glow: rgba(176, 39, 47, 0.38);
  --oxblood-soft: #d65458;

  --ivory: #efe7d8;
  --ivory-muted: rgba(240, 232, 218, 0.86);
  --ivory-faint: rgba(240, 232, 218, 0.76);
  --cta-ink: #060e1d;

  --line: rgba(219, 187, 144, 0.24);
  --line-soft: rgba(219, 187, 144, 0.13);
  --mote-alpha-scale: 1;

  /* Painted World Accent Defaults (Illumined: Cerulean) */
  --ring-accent: #4ca6f5;
  --ring-halo: rgba(76, 166, 245, 0.25);
  --arch-halo: rgba(76, 166, 245, 0.28);
  --arch-glow: rgba(76, 166, 245, 0.24);
  --arch-border: rgba(76, 166, 245, 0.44);
  --arch-rim: rgba(125, 196, 255, 0.36);
  --arch-active-bg: rgba(76, 166, 245, 0.22);
  --arch-active-ink: #b9deff;
  --arch-active-border: rgba(76, 166, 245, 0.52);
  --follow-mark-ink: #4ba3d9;
  --mote-secondary: rgba(154, 215, 245, 0.52);
  --two-altar-bg: var(--bg-surface);
  --two-altar-deep: var(--bg-surface-deep);
  --two-band-wash: rgba(11, 23, 44, 0);
  --two-vault-tint: rgba(76, 166, 245, 0.08);
  --two-hearth-tint: rgba(76, 166, 245, 0.05);
  --two-hold-arc: #f5d28b;
  --two-hold-bloom: rgba(245, 210, 139, 0.20);
  --two-hold-rim: rgba(154, 215, 245, 0.14);
  --two-follow-glow: rgba(75, 163, 217, 0.44);
  --two-follow-trail: rgba(75, 163, 217, 0.34);
  --onb-bench-bg: var(--bg-surface);
  --onb-bench-deep: var(--bg-surface-deep);
  --onb-vault-wash: rgba(76, 166, 245, 0.08);
  --onb-hearth-wash: rgba(76, 166, 245, 0.04);
  --onb-rail-active: #4ca6f5;
  --onb-rail-halo: rgba(76, 166, 245, 0.24);
  --onb-filament: #4ba3d9;
  --onb-filament-glow: rgba(76, 166, 245, 0.28);
  --scripture-bench-bg: var(--bg-surface);
  --scripture-bench-deep: var(--bg-surface-deep);
  --scripture-vault-wash: rgba(76, 166, 245, 0.08);
  --scripture-hearth-wash: rgba(76, 166, 245, 0.04);
  --scripture-active-accent: #4ca6f5;
  --scripture-follow-glow: rgba(75, 163, 217, 0.44);
  --scripture-input-focus: rgba(76, 166, 245, 0.56);

  /* Church Year Season Defaults (Ordinary Time) */
  --season-glow: var(--arch-halo);
  --season-deep: rgba(17, 34, 64, 0.52);
  --season-mote: rgba(234, 204, 161, 0.64);
  --season-shimmer: #eacca1;
  --season-border-tint: var(--line);

  /* Layout & Motion */
  --container: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.22, 1.24, 0.36, 1);
  --slider-pct: 28.57%;

  /* Pinned Switch Choreography Defaults (Settled State Fallback) */
  --switch-p: 1;
  --switch-slate: 0;
  --switch-throw: 1;
  --switch-still: 1;
}

/* CLASSIC: Warm Sanctuary Gold + Luminous Oxblood (Zero Cerulean) */
html[data-art-theme="classic"] {
  --ring-accent: #dbbb90;
  --ring-halo: rgba(219, 187, 144, 0.28);
  --arch-halo: rgba(223, 190, 138, 0.30);
  --arch-glow: rgba(223, 190, 138, 0.26);
  --arch-border: rgba(219, 187, 144, 0.48);
  --arch-rim: rgba(244, 222, 180, 0.38);
  --arch-active-bg: rgba(219, 187, 144, 0.22);
  --arch-active-ink: #f4deb4;
  --arch-active-border: rgba(219, 187, 144, 0.54);
  --follow-mark-ink: #dbbb90;
  --mote-secondary: rgba(214, 84, 88, 0.42);
  --two-altar-bg: rgba(9, 19, 36, 0.90);
  --two-altar-deep: rgba(6, 13, 25, 0.94);
  --two-band-wash: rgba(8, 17, 34, 0.28);
  --two-vault-tint: rgba(219, 187, 144, 0.14);
  --two-hearth-tint: rgba(142, 92, 62, 0.11);
  --two-hold-arc: #e6bd74;
  --two-hold-bloom: rgba(230, 189, 116, 0.23);
  --two-hold-rim: rgba(219, 187, 144, 0.13);
  --two-follow-glow: rgba(219, 187, 144, 0.48);
  --two-follow-trail: rgba(219, 187, 144, 0.36);
  --onb-bench-bg: rgba(9, 19, 36, 0.90);
  --onb-bench-deep: rgba(6, 13, 25, 0.94);
  --onb-vault-wash: rgba(219, 187, 144, 0.12);
  --onb-hearth-wash: rgba(142, 92, 62, 0.09);
  --onb-rail-active: #dbbb90;
  --onb-rail-halo: rgba(219, 187, 144, 0.28);
  --onb-filament: #dbbb90;
  --onb-filament-glow: rgba(219, 187, 144, 0.30);
  --scripture-bench-bg: rgba(9, 19, 36, 0.90);
  --scripture-bench-deep: rgba(6, 13, 25, 0.94);
  --scripture-vault-wash: rgba(219, 187, 144, 0.12);
  --scripture-hearth-wash: rgba(142, 92, 62, 0.09);
  --scripture-active-accent: #dbbb90;
  --scripture-follow-glow: rgba(219, 187, 144, 0.48);
  --scripture-input-focus: rgba(219, 187, 144, 0.58);
}

html[data-art-theme="classic"][data-light-mode="night"] {
  --two-altar-bg: rgba(5, 11, 21, 0.94);
  --two-altar-deep: rgba(3, 7, 14, 0.97);
  --two-band-wash: rgba(3, 7, 15, 0.45);
  --onb-bench-bg: rgba(5, 11, 21, 0.94);
  --onb-bench-deep: rgba(3, 7, 14, 0.97);
  --scripture-bench-bg: rgba(5, 11, 21, 0.94);
  --scripture-bench-deep: rgba(3, 7, 14, 0.97);
}

/* ILLUMINED: Cerulean Marian Blue + Sanctuary Gold */
html[data-art-theme="illumined"] {
  --ring-accent: #4ca6f5;
  --ring-halo: rgba(76, 166, 245, 0.25);
  --arch-halo: rgba(76, 166, 245, 0.28);
  --arch-glow: rgba(76, 166, 245, 0.24);
  --arch-border: rgba(76, 166, 245, 0.44);
  --arch-rim: rgba(125, 196, 255, 0.36);
  --arch-active-bg: rgba(76, 166, 245, 0.22);
  --arch-active-ink: #b9deff;
  --arch-active-border: rgba(76, 166, 245, 0.52);
  --follow-mark-ink: #4ba3d9;
  --mote-secondary: rgba(154, 215, 245, 0.52);
  --two-altar-bg: var(--bg-surface);
  --two-altar-deep: var(--bg-surface-deep);
  --two-band-wash: rgba(11, 23, 44, 0);
  --two-vault-tint: rgba(76, 166, 245, 0.08);
  --two-hearth-tint: rgba(76, 166, 245, 0.05);
  --two-hold-arc: #f5d28b;
  --two-hold-bloom: rgba(245, 210, 139, 0.20);
  --two-hold-rim: rgba(154, 215, 245, 0.14);
  --two-follow-glow: rgba(75, 163, 217, 0.44);
  --two-follow-trail: rgba(75, 163, 217, 0.34);
  --onb-bench-bg: var(--bg-surface);
  --onb-bench-deep: var(--bg-surface-deep);
  --onb-vault-wash: rgba(76, 166, 245, 0.08);
  --onb-hearth-wash: rgba(76, 166, 245, 0.04);
  --onb-rail-active: #4ca6f5;
  --onb-rail-halo: rgba(76, 166, 245, 0.24);
  --onb-filament: #4ba3d9;
  --onb-filament-glow: rgba(76, 166, 245, 0.28);
  --scripture-bench-bg: var(--bg-surface);
  --scripture-bench-deep: var(--bg-surface-deep);
  --scripture-vault-wash: rgba(76, 166, 245, 0.08);
  --scripture-hearth-wash: rgba(76, 166, 245, 0.04);
  --scripture-active-accent: #4ca6f5;
  --scripture-follow-glow: rgba(75, 163, 217, 0.44);
  --scripture-input-focus: rgba(76, 166, 245, 0.56);
}

/* SANCTUARY LIGHT: Night Mode */
html[data-light-mode="night"] {
  --bg-abyss: #02050b;
  --bg-sanctuary: #060c17;
  --bg-elevated: #0b1424;
  --bg-header-scrolled: rgba(2, 5, 11, 0.92);
  --bg-surface: rgba(6, 12, 23, 0.90);
  --bg-surface-deep: rgba(2, 5, 11, 0.96);
  --bg-gradient-mid: #050a14;
  --hero-vignette-edge: #02050b;
  --ivory: #e8dfcf;
  --ivory-muted: rgba(232, 223, 207, 0.84);
  --ivory-faint: rgba(232, 223, 207, 0.74);
  --line: rgba(219, 187, 144, 0.20);
  --line-soft: rgba(219, 187, 144, 0.11);
  --mote-alpha-scale: 0.55;
}

html[data-light-mode="night"][data-art-theme="illumined"] {
  --onb-bench-bg: rgba(4, 9, 18, 0.94);
  --onb-bench-deep: rgba(2, 5, 11, 0.97);
  --onb-vault-wash: rgba(76, 166, 245, 0.03);
  --onb-hearth-wash: rgba(76, 166, 245, 0.015);
  --onb-rail-halo: rgba(76, 166, 245, 0.12);
  --onb-filament-glow: rgba(76, 166, 245, 0.14);
  --scripture-bench-bg: rgba(4, 9, 18, 0.94);
  --scripture-bench-deep: rgba(2, 5, 11, 0.97);
  --scripture-vault-wash: rgba(76, 166, 245, 0.03);
  --scripture-hearth-wash: rgba(76, 166, 245, 0.015);
}

html[data-light-mode="night"][data-art-theme="classic"] {
  --onb-vault-wash: rgba(219, 187, 144, 0.05);
  --onb-hearth-wash: rgba(142, 92, 62, 0.035);
  --onb-rail-halo: rgba(219, 187, 144, 0.13);
  --onb-filament-glow: rgba(219, 187, 144, 0.15);
  --scripture-vault-wash: rgba(219, 187, 144, 0.05);
  --scripture-hearth-wash: rgba(142, 92, 62, 0.035);
}

/* CHURCH YEAR SEASON MATRIX */
html[data-season="ordinary"] {
  --season-glow: var(--arch-halo);
  --season-deep: rgba(17, 34, 64, 0.52);
  --season-mote: rgba(234, 204, 161, 0.64);
  --season-shimmer: #eacca1;
  --season-border-tint: var(--line);
}

html[data-light-mode="night"][data-season="ordinary"] {
  --season-deep: rgba(6, 13, 26, 0.36);
  --season-glow: var(--onb-rail-halo);
}

html[data-season="advent"] {
  --season-glow: rgba(184, 145, 232, 0.26);
  --season-deep: rgba(110, 64, 163, 0.34);
  --season-mote: rgba(184, 145, 232, 0.66);
  --season-shimmer: #cdb0f2;
  --season-border-tint: rgba(184, 145, 232, 0.34);
}

html[data-season="christmas"] {
  --season-glow: rgba(255, 245, 217, 0.22);
  --season-deep: rgba(234, 204, 161, 0.22);
  --season-mote: rgba(255, 245, 217, 0.74);
  --season-shimmer: #fff5d9;
  --season-border-tint: rgba(255, 245, 217, 0.32);
}

html[data-season="easter"] {
  --season-glow: rgba(255, 242, 199, 0.26);
  --season-deep: rgba(219, 187, 144, 0.28);
  --season-mote: rgba(255, 242, 199, 0.78);
  --season-shimmer: #fff2c7;
  --season-border-tint: rgba(255, 242, 199, 0.36);
}

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

html {
  background-color: var(--bg-abyss);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  position: relative;
  margin: 0;
  min-height: 100vh;
  background-color: var(--bg-abyss);
  background-image:
    radial-gradient(1200px 760px at 50% 0%, var(--season-deep), transparent 65%),
    linear-gradient(180deg, var(--bg-abyss) 0%, var(--bg-gradient-mid) 38%, var(--bg-abyss) 100%);
  color: var(--ivory);
  font-family: var(--font-serif);
  font-size: var(--text-body);
  line-height: 1.6;
  overflow-x: clip;
  transition: background-color 320ms var(--ease), color 240ms var(--ease);
}

main,
footer {
  position: relative;
  z-index: 1;
}

.sanctuary-motes {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: var(--mote-alpha-scale);
  transition: opacity 320ms var(--ease);
}

img,
video,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--gold-soft);
  outline-offset: 3px;
}

.wrap {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

/* ==========================================================================
   HEADER: Transparent at y=0, frosted sanctuary glass on scroll
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background-color: transparent;
  border-bottom: 1px solid transparent;
  transition:
    background-color 220ms var(--ease),
    border-color 220ms var(--ease),
    backdrop-filter 220ms var(--ease);
}

.site-header[data-scrolled="true"] {
  background-color: var(--bg-header-scrolled);
  border-bottom-color: var(--line-soft);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ivory);
  flex-shrink: 0;
}

.brand-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(219, 187, 144, 0.28);
}

.brand-name {
  font-family: var(--font-serif);
  font-size: var(--text-brand);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
}

.site-nav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  min-width: 0;
  gap: clamp(11px, 1.45vw, 22px);
}

.site-nav a {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--ivory-muted);
  text-decoration: none;
  white-space: nowrap;
  transition: color 180ms var(--ease);
}

.site-nav a:hover {
  color: var(--gold-soft);
}

.header-controls {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}

.sound-switch {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background-color: var(--bg-surface);
  color: var(--ivory-muted);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition:
    color 180ms var(--ease),
    background-color 180ms var(--ease),
    border-color 180ms var(--ease),
    box-shadow 180ms var(--ease);
}

.sound-switch:hover {
  color: var(--ivory);
  border-color: var(--gold);
}

.sound-switch[aria-checked="true"] {
  color: var(--gold-soft);
  background-color: rgba(219, 187, 144, 0.16);
  border-color: rgba(234, 204, 161, 0.56);
  box-shadow: 0 0 18px rgba(234, 204, 161, 0.16);
}

.sound-icon {
  flex-shrink: 0;
}

.sound-switch[aria-checked="false"] .sound-wave {
  opacity: 0;
}

.sound-switch[aria-checked="false"] .sound-mute-slash {
  opacity: 0.78;
}

.sound-switch[aria-checked="true"] .sound-wave {
  opacity: 1;
}

.sound-switch[aria-checked="true"] .sound-mute-slash {
  opacity: 0;
}

.header-action {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--gold-soft);
  text-decoration: none;
  white-space: nowrap;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(234, 204, 161, 0.42);
  transition: color 180ms var(--ease), border-color 180ms var(--ease);
}

.header-action:hover {
  color: var(--ivory);
  border-bottom-color: var(--ivory);
}

/* ==========================================================================
   SHARED TYPOGRAPHY, ACTIONS & SEGMENTED CONTROLS
   ========================================================================== */

.section-heading {
  margin: 0 0 18px;
  font-family: var(--font-serif);
  font-size: var(--text-heading);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--ivory);
}

.sub-heading {
  margin: 0 0 12px;
  font-family: var(--font-serif);
  font-size: var(--text-body);
  font-weight: 600;
  line-height: 1.35;
  color: var(--gold-soft);
}

.body-prose {
  margin: 0 0 18px;
  max-width: 62ch;
  font-family: var(--font-serif);
  font-size: var(--text-body);
  font-weight: 400;
  line-height: 1.6;
  color: var(--ivory-muted);
}

.body-prose:last-child {
  margin-bottom: 0;
}

.cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 32px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.005em;
  text-decoration: none;
  color: var(--cta-ink);
  background: linear-gradient(145deg, #f2d9b2 0%, #dbbb90 58%, #c79f68 100%);
  box-shadow:
    0 14px 36px rgba(219, 187, 144, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
  transition:
    transform 180ms var(--ease),
    box-shadow 180ms var(--ease),
    filter 180ms var(--ease);
}

.cta-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 20px 44px rgba(219, 187, 144, 0.30),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
  filter: brightness(1.03);
}

.cta-primary:active {
  transform: translateY(0);
}

.segmented-bar {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 4px;
  border-radius: 999px;
  background-color: var(--bg-surface);
  border: 1px solid var(--season-border-tint);
  gap: 2px;
  transition: border-color 240ms var(--ease), background-color 240ms var(--ease);
}

.segmented-tab {
  appearance: none;
  border: 0;
  margin: 0;
  padding: 9px 17px;
  border-radius: 999px;
  background-color: transparent;
  color: var(--ivory-muted);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
  transition:
    color 180ms var(--ease),
    background-color 180ms var(--ease),
    box-shadow 180ms var(--ease);
}

.segmented-tab:hover {
  color: var(--ivory);
}

.segmented-tab[aria-selected="true"],
.segmented-tab[aria-pressed="true"],
.segmented-tab[aria-checked="true"] {
  background-color: var(--arch-active-bg);
  color: var(--arch-active-ink);
  box-shadow: inset 0 0 0 1px var(--arch-active-border);
}

/* ==========================================================================
   BAND 1: FULL-BLEED MONUMENTAL CATHEDRAL HERO
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100svh;
  padding: clamp(72px, 8vh, 84px) 0 clamp(24px, 3vh, 38px);
  overflow: hidden;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  overflow: hidden;
}

.hero-backdrop-video {
  width: min(940px, 118vw);
  height: min(940px, 118vw);
  margin-top: clamp(-104px, -6.5vh, -44px);
  object-fit: contain;
  opacity: 0.38;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 44%, transparent 74%);
  mask-image: radial-gradient(circle at 50% 50%, #000 44%, transparent 74%);
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 52% 28% at 50% 20%, var(--season-glow) 0%, transparent 74%),
    radial-gradient(ellipse 46% 24% at 50% 23%, rgba(6, 14, 29, 0.56) 0%, rgba(6, 14, 29, 0.24) 62%, transparent 100%),
    radial-gradient(ellipse 68% 46% at 50% 24%, rgba(6, 14, 29, 0.34) 0%, rgba(6, 14, 29, 0.78) 68%, var(--hero-vignette-edge) 100%),
    linear-gradient(180deg, rgba(6, 14, 29, 0.54) 0%, rgba(6, 14, 29, 0.28) 26%, rgba(6, 14, 29, 0.84) 72%, var(--hero-vignette-edge) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-copy {
  position: relative;
  max-width: 960px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-copy::before {
  content: "";
  position: absolute;
  inset: -20px -44px -10px;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(
    ellipse 62% 66% at 50% 44%,
    rgba(6, 14, 29, 0.52) 0%,
    rgba(6, 14, 29, 0.26) 56%,
    transparent 100%
  );
}

.hero-title {
  margin: 0 0 8px;
  max-width: 14.5ch;
  font-family: var(--font-serif);
  font-size: var(--text-hero);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: var(--ivory);
  text-shadow:
    0 10px 40px rgba(6, 14, 29, 0.94),
    0 2px 10px rgba(6, 14, 29, 0.86);
}

.hero-lead {
  margin: 0 0 12px;
  max-width: 46ch;
  font-family: var(--font-serif);
  font-size: var(--text-body);
  font-weight: 400;
  line-height: 1.45;
  color: var(--ivory-muted);
  text-shadow:
    0 4px 22px rgba(6, 14, 29, 0.92),
    0 1px 6px rgba(6, 14, 29, 0.84);
}

.hero-cta-wrap {
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.hero-launch-note {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 500;
  line-height: 1.4;
  color: var(--ivory-faint);
  letter-spacing: 0.01em;
}

.hero-stage {
  position: relative;
  width: 100%;
  max-width: 960px;
  padding-top: 0;
}

.stage-spotlight {
  position: absolute;
  top: 18px;
  left: 50%;
  width: min(640px, 92vw);
  height: 430px;
  transform: translateX(-50%);
  background:
    radial-gradient(ellipse 62% 52% at 50% 34%, var(--season-glow), transparent 72%),
    radial-gradient(ellipse 46% 42% at 50% 56%, var(--ring-halo), transparent 76%);
  pointer-events: none;
  z-index: 0;
}

.stage-plinth {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 11px;
}

.stage-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.stage-caption {
  position: relative;
  z-index: 2;
  margin: 0;
  max-width: 56ch;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  line-height: 1.45;
  color: var(--ivory-muted);
}

/* Desert Titanium iPhone Bezel */
.iphone-bezel {
  position: relative;
  z-index: 1;
  width: clamp(190px, 22.8vh, 212px);
  padding: 7px;
  border-radius: 38px;
  background: linear-gradient(
    155deg,
    #d5be9f 0%,
    #78695a 18%,
    #2d2a2b 46%,
    #8e7b66 78%,
    #c8b090 100%
  );
  box-shadow:
    0 22px 54px rgba(0, 0, 0, 0.64),
    0 0 0 1px rgba(234, 204, 161, 0.24),
    inset 0 1px 1px rgba(255, 255, 255, 0.35);
}

.iphone-bezel-compact {
  width: min(214px, 64vw);
  border-radius: 38px;
  padding: 7px;
}

.iphone-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 19.5;
  border-radius: 31px;
  overflow: hidden;
  background-color: #050a14;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.85);
}

.iphone-bezel-compact .iphone-screen {
  border-radius: 31px;
}

.iphone-island {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 30%;
  height: 18px;
  border-radius: 999px;
  background-color: #020408;
  z-index: 3;
  pointer-events: none;
}

.iphone-bezel-compact .iphone-island {
  top: 8px;
  height: 17px;
}

.iphone-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  transition: opacity 200ms var(--ease);
}

.iphone-video.is-switching {
  opacity: 0.2;
}

/* ==========================================================================
   LIVING SANCTUARY ATMOSPHERE STRIP (BETWEEN HERO AND BAND 2)
   ========================================================================== */

.atmosphere-strip {
  position: relative;
  z-index: 3;
  padding: 18px 0;
  border-top: 1px solid var(--line-soft);
  background:
    radial-gradient(640px 140px at 50% 50%, var(--season-glow), transparent 76%),
    var(--bg-surface-deep);
}

.atmosphere-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 20px;
  padding: 12px 20px;
  border-radius: 20px;
  background-color: var(--bg-surface);
  border: 1px solid var(--season-border-tint);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: border-color 240ms var(--ease), background-color 240ms var(--ease);
}

.atmosphere-group {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.atmosphere-label {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--ivory-faint);
  white-space: nowrap;
}

.atmosphere-control {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  background-color: var(--bg-surface-deep);
  border: 1px solid var(--line-soft);
}

.atmosphere-option {
  appearance: none;
  border: 0;
  margin: 0;
  padding: 7px 13px;
  border-radius: 999px;
  background-color: transparent;
  color: var(--ivory-muted);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition:
    color 180ms var(--ease),
    background-color 180ms var(--ease),
    box-shadow 180ms var(--ease);
}

.atmosphere-option:hover {
  color: var(--ivory);
}

.atmosphere-option[aria-checked="true"] {
  background-color: var(--arch-active-bg);
  color: var(--arch-active-ink);
  box-shadow: inset 0 0 0 1px var(--arch-active-border);
}

.atmosphere-sep {
  width: 1px;
  height: 26px;
  background-color: var(--line-soft);
}

/* ==========================================================================
   BANDS SHARED STRUCTURE
   ========================================================================== */

section[id] {
  scroll-margin-top: 90px;
}

.band {
  position: relative;
  padding: clamp(72px, 9vw, 120px) 0;
  border-top: 1px solid var(--line-soft);
}

.band-intro {
  max-width: 720px;
  margin-bottom: clamp(36px, 5vw, 56px);
}

html.has-reveal [data-reveal] {
  opacity: 1;
  transform: translateY(10px);
  transition: transform 200ms var(--ease);
}

html.has-reveal [data-reveal].is-visible {
  transform: translateY(0);
}

/* ==========================================================================
   BAND 2: PINNED STICKY SCROLL CHOREOGRAPHY ("THE SWITCH")
   ========================================================================== */

.band-switch {
  padding: 0;
}

.switch-scroll-track {
  position: relative;
  height: 240vh;
  min-height: 1760px;
  max-height: 2320px;
}

.switch-sticky-stage {
  position: sticky;
  top: 76px;
  height: calc(100vh - 76px);
  min-height: 640px;
  max-height: 824px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-image:
    radial-gradient(760px 460px at 24% 52%, rgba(96, 122, 158, calc(0.22 * var(--switch-slate))), transparent 72%),
    radial-gradient(740px 460px at 30% 48%, rgba(234, 204, 161, calc(0.14 * var(--switch-still))), transparent 72%);
}

.switch-stage-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(32px, 4.8vw, 72px);
}

.switch-theatre {
  display: flex;
  justify-content: center;
  min-width: 0;
}

.theatre-frame {
  position: relative;
  margin: 0;
  width: 100%;
  max-width: 452px;
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  overflow: hidden;
  background-color: var(--bg-sanctuary);
  border: 1px solid var(--season-border-tint);
  box-shadow:
    0 28px 72px rgba(0, 0, 0, 0.56),
    0 0 64px rgba(219, 187, 144, calc(0.16 * var(--switch-throw)));
}

.theatre-media-box {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 0.86;
  overflow: hidden;
}

.theatre-atmosphere {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 44%, rgba(96, 122, 158, calc(0.32 * var(--switch-slate))), transparent 68%),
    radial-gradient(circle at 74% 68%, rgba(219, 187, 144, calc(0.20 * var(--switch-throw))), transparent 60%),
    radial-gradient(circle at 50% 34%, rgba(234, 204, 161, calc(0.18 * var(--switch-still))), transparent 70%);
}

.theatre-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(calc(1.04 - 0.04 * var(--switch-still)));
  filter:
    saturate(calc(0.45 + 0.65 * var(--switch-throw)))
    brightness(calc(0.84 + 0.18 * var(--switch-still)));
}

.theatre-progress-track {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  z-index: 2;
  background-color: rgba(239, 231, 216, 0.14);
}

.theatre-progress-fill {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--gold-deep) 0%, var(--gold) 55%, var(--gold-soft) 100%);
  transform-origin: left center;
  transform: scaleX(var(--switch-p));
}

.theatre-plinth-bar {
  height: 74px;
  padding: 8px 18px;
  background-color: var(--bg-surface-deep);
  border-top: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}

.theatre-schematic-svg {
  width: 100%;
  height: 56px;
}

.switch-narrative {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.switch-acts {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line-soft);
}

.switch-act {
  appearance: none;
  border: 0;
  border-left: 2px solid transparent;
  border-bottom: 1px solid var(--line-soft);
  background-color: transparent;
  padding: 12px 14px 12px 16px;
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 3px;
  opacity: 0.64;
  transition:
    opacity 200ms var(--ease),
    border-color 200ms var(--ease),
    background-color 200ms var(--ease);
}

.switch-act:hover {
  opacity: 0.88;
}

.switch-act[aria-selected="true"] {
  opacity: 1;
  border-left-color: var(--crimson);
  background-color: rgba(17, 34, 64, 0.42);
}

.switch-act-title {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--gold-soft);
  line-height: 1.3;
}

.switch-act-copy {
  font-family: var(--font-serif);
  font-size: var(--text-body);
  font-weight: 400;
  line-height: 1.48;
  color: var(--ivory);
}

/* Interactive 1:10 Switch & Portal Dial Rhythm Bench */
.rhythm-bench {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  align-items: center;
  gap: 24px;
}

.rhythm-visual {
  display: flex;
  justify-content: center;
}

.keystone-svg {
  width: 168px;
  height: 168px;
}

.keystone-stone {
  transition:
    opacity 200ms var(--ease),
    stroke-width 200ms var(--ease),
    stroke 200ms var(--ease);
}

.keystone-svg-ratio {
  fill: var(--ivory);
  font-family: var(--font-serif);
  font-size: var(--text-body);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.keystone-svg-sub {
  fill: var(--ivory-faint);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
}

.rhythm-readouts {
  display: flex;
  flex-wrap: nowrap;
  align-items: baseline;
  gap: 22px;
  margin-bottom: 18px;
}

.rhythm-metric {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.metric-value {
  font-family: var(--font-serif);
  font-size: var(--text-heading);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: var(--ivory);
}

.metric-value-gold {
  color: var(--gold-soft);
}

.metric-label {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  white-space: nowrap;
  color: var(--ivory-faint);
}

.rhythm-divider {
  width: 1px;
  height: 40px;
  background-color: var(--line);
  align-self: center;
}

.slider-label {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  color: var(--ivory-muted);
}

.rhythm-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    var(--gold) 0%,
    var(--gold) var(--slider-pct),
    rgba(239, 231, 216, 0.16) var(--slider-pct),
    rgba(239, 231, 216, 0.16) 100%
  );
  cursor: pointer;
}

.rhythm-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--gold-soft), var(--gold-deep));
  border: 2px solid var(--bg-abyss);
  box-shadow: 0 4px 16px rgba(219, 187, 144, 0.45);
  transition: transform 160ms var(--ease);
}

.rhythm-slider::-webkit-slider-thumb:hover {
  transform: scale(1.08);
}

.rhythm-slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--gold-soft), var(--gold-deep));
  border: 2px solid var(--bg-abyss);
  box-shadow: 0 4px 16px rgba(219, 187, 144, 0.45);
  transition: transform 160ms var(--ease);
}

.slider-scale {
  position: relative;
  height: 24px;
  margin-top: 8px;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-variant-numeric: tabular-nums;
  color: var(--ivory-faint);
}

.slider-scale span {
  position: absolute;
  top: 0;
  white-space: nowrap;
}

.slider-scale .tick-6 {
  left: 0;
}

.slider-scale .tick-10 {
  left: 28.57%;
  transform: translateX(-50%);
}

.slider-scale .tick-15 {
  left: 64.29%;
  transform: translateX(-50%);
}

.slider-scale .tick-20 {
  right: 0;
}

/* ==========================================================================
   BAND 3: TWO OR THREE (LIVING BEESWAX ALTAR)
   Zero cerulean in Classic, zero red chrome (Restrained Red Policy).
   ========================================================================== */

.band-two {
  padding: clamp(56px, 6.5vw, 88px) 0;
  background-image:
    radial-gradient(760px 460px at 26% 18%, rgba(219, 187, 144, 0.14), transparent 72%),
    radial-gradient(640px 420px at 78% 24%, var(--two-vault-tint), transparent 72%),
    radial-gradient(600px 400px at 50% 82%, var(--season-glow), transparent 76%),
    linear-gradient(180deg, var(--two-band-wash) 0%, var(--two-band-wash) 100%);
}

.band-two .band-intro {
  max-width: 760px;
  margin-bottom: clamp(28px, 3.6vw, 40px);
}

.two-stage-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.24fr) minmax(248px, 0.76fr);
  gap: clamp(28px, 4.5vw, 60px);
  align-items: start;
}

.altar-workbench {
  position: relative;
  min-width: 0;
  padding: clamp(24px, 3vw, 38px) clamp(20px, 3.2vw, 40px) clamp(24px, 3vw, 34px);
  border-radius: 24px;
  background-color: var(--two-altar-bg);
  background-image:
    radial-gradient(ellipse 76% 42% at 50% 8%, rgba(219, 187, 144, 0.11), transparent 72%),
    radial-gradient(ellipse 64% 34% at 50% 4%, var(--two-hearth-tint), transparent 72%),
    radial-gradient(ellipse 68% 38% at 50% 10%, var(--two-vault-tint), transparent 76%);
  border: 1px solid var(--season-border-tint);
  box-shadow:
    0 28px 72px rgba(0, 0, 0, 0.44),
    inset 0 1px 0 rgba(234, 204, 161, 0.20);
  overflow: hidden;
  transition:
    border-color 240ms var(--ease),
    box-shadow 260ms var(--ease),
    background-color 240ms var(--ease);
}

.altar-workbench[data-held="true"] {
  border-color: rgba(234, 204, 161, 0.50);
  box-shadow:
    0 28px 74px rgba(0, 0, 0, 0.48),
    0 0 56px rgba(234, 204, 161, 0.16),
    inset 0 1px 0 rgba(244, 222, 180, 0.34);
}

.altar-incense-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  -webkit-mask-image:
    linear-gradient(to bottom, transparent 0%, #000 12%, #000 90%, transparent 100%),
    linear-gradient(to right, transparent 0%, #000 7%, #000 93%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to bottom, transparent 0%, #000 12%, #000 90%, transparent 100%),
    linear-gradient(to right, transparent 0%, #000 7%, #000 93%, transparent 100%);
  mask-composite: intersect;
}

.altar-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
}

.altar-bar {
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}

.altar-bar .segmented-bar,
.altar-identity-row .segmented-bar {
  background-color: var(--two-altar-deep);
}

.altar-crown {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(10px, 2vw, 24px);
  padding-inline: clamp(4px, 2vw, 22px);
  margin-bottom: 18px;
}

.altar-candle-slot {
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.altar-candle-canvas {
  width: 58px;
  height: 116px;
  display: block;
  pointer-events: none;
}

.altar-crown-center {
  min-width: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.altar-crown-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: var(--text-body);
  font-weight: 600;
  line-height: 1.3;
  color: var(--gold-soft);
}

.altar-crown-sub {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  line-height: 1.4;
  color: var(--ivory-muted);
  font-variant-numeric: tabular-nums;
}

.altar-prayed-num {
  font-weight: 600;
  color: var(--gold-soft);
  font-variant-numeric: tabular-nums;
}

.altar-plus-one {
  font-weight: 600;
  color: var(--gold-soft);
  font-variant-numeric: tabular-nums;
}

.altar-plus-one[hidden] {
  display: none;
}

.altar-panel[hidden] {
  display: none;
}

/* Chamber 1: Pray Leaf (Open Hairline Sanctuary Leaf with Engraved Corner Ticks) */
.altar-pray-leaf {
  --hold-progress: 0;
  position: relative;
  padding: 28px 20px 24px;
  border-bottom: 1px solid var(--line-soft);
  text-align: center;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  touch-action: manipulation;
  background-image:
    linear-gradient(90deg, transparent 0%, var(--line-soft) 14%, var(--line-soft) 86%, transparent 100%),
    linear-gradient(to right, rgba(219, 187, 144, 0.42), rgba(219, 187, 144, 0.42)),
    linear-gradient(to bottom, rgba(219, 187, 144, 0.42), rgba(219, 187, 144, 0.42)),
    linear-gradient(to left, rgba(219, 187, 144, 0.42), rgba(219, 187, 144, 0.42)),
    linear-gradient(to bottom, rgba(219, 187, 144, 0.42), rgba(219, 187, 144, 0.42)),
    linear-gradient(to right, rgba(219, 187, 144, 0.42), rgba(219, 187, 144, 0.42)),
    linear-gradient(to top, rgba(219, 187, 144, 0.42), rgba(219, 187, 144, 0.42)),
    linear-gradient(to left, rgba(219, 187, 144, 0.42), rgba(219, 187, 144, 0.42)),
    linear-gradient(to top, rgba(219, 187, 144, 0.42), rgba(219, 187, 144, 0.42));
  background-repeat: no-repeat;
  background-size:
    100% 1px,
    14px 1px, 1px 14px,
    14px 1px, 1px 14px,
    14px 1px, 1px 14px,
    14px 1px, 1px 14px;
  background-position:
    center top,
    left 10px top 12px, left 10px top 12px,
    right 10px top 12px, right 10px top 12px,
    left 10px bottom 12px, left 10px bottom 12px,
    right 10px bottom 12px, right 10px bottom 12px;
  transition: border-color 220ms var(--ease);
}

.altar-pray-leaf[data-holding="true"],
.altar-pray-leaf[data-held="true"] {
  border-bottom-color: rgba(234, 204, 161, 0.42);
}

.altar-hold-bloom {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: calc(0.08 + 0.88 * var(--hold-progress));
  background:
    radial-gradient(ellipse 44% 42% at 50% 50%, var(--two-hold-bloom) 0%, transparent 100%),
    radial-gradient(ellipse 48% 46% at 50% 52%, var(--two-hold-rim) 0%, transparent 100%);
  transition: opacity 160ms var(--ease);
}

.altar-petition-text {
  position: relative;
  z-index: 1;
  margin: 0 auto 24px;
  max-width: 44ch;
  min-height: 4.9em;
  font-family: var(--font-serif);
  font-size: var(--text-body);
  font-weight: 500;
  line-height: 1.72;
  text-wrap: balance;
  color: var(--ivory);
}

.altar-pray-leaf[data-holding="true"] .altar-petition-text .follow-word {
  opacity: 0.66;
  transition: border-color 180ms var(--ease), color 180ms var(--ease), opacity 180ms var(--ease), text-shadow 180ms var(--ease);
}

.altar-pray-leaf[data-holding="true"] .altar-petition-text .follow-word.is-spoken {
  opacity: 0.94;
  color: var(--ivory);
  border-bottom-color: var(--two-follow-trail);
}

.altar-pray-leaf[data-holding="true"] .altar-petition-text .follow-word.is-active {
  opacity: 1;
  color: var(--ivory);
  border-bottom-color: var(--follow-mark-ink);
  text-shadow: 0 0 18px var(--two-follow-glow);
}

.altar-pray-leaf[data-held="true"] .altar-petition-text .follow-word.is-spoken {
  color: var(--ivory);
}

.altar-pray-leaf[data-held="true"] .altar-petition-text .follow-word.is-sealed-final {
  color: var(--ivory);
  border-bottom-color: var(--follow-mark-ink);
  text-shadow: 0 0 16px var(--two-follow-glow);
}

.altar-hold-seat {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.altar-hold-ring {
  display: block;
  overflow: visible;
  transition: transform 200ms var(--ease);
}

.altar-pray-leaf[data-holding="true"] .altar-hold-ring {
  transform: scale(1.06);
}

.altar-ring-track {
  fill: none;
  stroke: rgba(219, 187, 144, 0.28);
  stroke-width: 1.6;
}

.altar-ring-inner {
  fill: none;
  stroke: rgba(234, 204, 161, 0.14);
  stroke-width: 0.9;
}

.altar-ring-arc {
  fill: none;
  stroke: var(--two-hold-arc);
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-dasharray: 157.08;
  stroke-dashoffset: 157.08;
  transition: stroke 200ms var(--ease);
}

.altar-ring-cross {
  stroke: var(--gold-soft);
  stroke-width: 1.8;
  stroke-linecap: round;
  opacity: 0.56;
  transition: opacity 220ms var(--ease);
}

.altar-pray-leaf[data-holding="true"] .altar-ring-cross,
.altar-pray-leaf[data-held="true"] .altar-ring-cross {
  opacity: 1;
}

.altar-seal-stack {
  min-height: 2.8em;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.altar-hold-status {
  margin: 0;
  max-width: 48ch;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  line-height: 1.45;
  color: var(--ivory-muted);
}

.altar-hold-status[hidden] {
  display: none;
}

.altar-held-seal {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 6px 12px;
}

.altar-held-seal[hidden] {
  display: none;
}

.altar-held-word {
  font-family: var(--font-serif);
  font-size: var(--text-body);
  font-weight: 600;
  color: var(--gold-soft);
  text-shadow: 0 0 22px rgba(234, 204, 161, 0.36);
}

.altar-held-meta {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--ivory);
}

.altar-pray-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 18px;
  padding: 16px 2px 18px;
}

.altar-pager-group {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.altar-pager-count {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-variant-numeric: tabular-nums;
  color: var(--ivory-faint);
}

.altar-text-action {
  appearance: none;
  border: 0;
  padding: 6px 0;
  background-color: transparent;
  color: var(--gold-soft);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 500;
  line-height: 1.25;
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 180ms var(--ease), text-decoration-color 180ms var(--ease);
}

.altar-text-action:hover {
  color: var(--ivory);
  text-decoration-color: var(--ivory);
}

.altar-scripture-whisper {
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  text-align: center;
}

.altar-scripture-quote {
  margin: 0 0 4px;
  font-family: var(--font-serif);
  font-size: var(--text-body);
  font-style: italic;
  line-height: 1.5;
  text-wrap: balance;
  color: var(--ivory-muted);
}

.altar-scripture-cite {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  color: var(--gold-soft);
}

/* Chamber 2: Kept ("Your asks") Hairline Ledger */
.altar-kept-list {
  padding-top: 2px;
  background-image: linear-gradient(
    90deg,
    transparent 0%,
    var(--line-soft) 14%,
    var(--line-soft) 86%,
    transparent 100%
  );
  background-repeat: no-repeat;
  background-size: 100% 1px;
  background-position: center top;
}

.altar-kept-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px 20px;
  padding: 18px 8px 18px 18px;
  border-left: 2px solid transparent;
  border-bottom: 1px solid var(--line-soft);
  cursor: pointer;
  transition: border-color 200ms var(--ease);
}

.altar-kept-row:last-child {
  border-bottom: 0;
}

.altar-kept-row::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(
    ellipse 68% 48% at 0% 50%,
    rgba(219, 187, 144, 0.11) 0%,
    rgba(219, 187, 144, 0.03) 56%,
    transparent 100%
  );
  transition: opacity 220ms var(--ease);
}

.altar-kept-row:hover::after {
  opacity: 0.65;
}

.altar-kept-row.is-selected {
  border-left-color: var(--gold-soft);
}

.altar-kept-row.is-selected::after {
  opacity: 1;
}

.altar-kept-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.altar-kept-text {
  margin: 0;
  font-family: var(--font-serif);
  font-size: var(--text-body);
  font-weight: 500;
  line-height: 1.45;
  color: var(--ivory);
}

.altar-kept-meta {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  line-height: 1.4;
  color: var(--gold-soft);
  font-variant-numeric: tabular-nums;
}

.altar-kept-status {
  color: var(--ivory-muted);
}

.altar-kept-caption {
  color: var(--gold-soft);
  font-weight: 500;
}

.altar-kept-owner {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  color: var(--ivory-faint);
}

.altar-kept-actions {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px 16px;
}

.altar-kept-empty {
  padding: 28px 12px;
  text-align: center;
  border-bottom: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.altar-kept-empty-actions {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.altar-kept-feedback {
  margin: 16px 0 0;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  line-height: 1.5;
  color: var(--ivory-faint);
}

/* Chamber 3: Ask (Local Browser Preview Writing Leaf) */
.altar-ask-sheet {
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.altar-field-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.altar-field-label {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--ivory-muted);
}

.altar-textarea {
  width: 100%;
  min-height: 112px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background-color: var(--two-altar-deep);
  color: var(--ivory);
  font-family: var(--font-serif);
  font-size: var(--text-body);
  line-height: 1.55;
  resize: none;
  transition: border-color 180ms var(--ease), box-shadow 180ms var(--ease), background-color 220ms var(--ease);
}

.altar-textarea::placeholder,
.altar-alias-input::placeholder {
  color: var(--ivory-faint);
}

.altar-textarea:focus,
.altar-alias-input:focus {
  outline: none;
  border-color: var(--gold-soft);
  box-shadow: 0 0 0 2px rgba(234, 204, 161, 0.22);
}

.altar-field-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
}

.altar-identity-preview,
.altar-char-counter {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  color: var(--ivory-faint);
  font-variant-numeric: tabular-nums;
}

.altar-identity-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
}

.altar-alias-wrap {
  flex: 1 1 180px;
  min-width: 0;
}

.altar-alias-wrap[hidden] {
  display: none;
}

.altar-alias-input {
  width: 100%;
  min-height: 44px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background-color: var(--two-altar-deep);
  color: var(--ivory);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  transition: border-color 180ms var(--ease), box-shadow 180ms var(--ease), background-color 220ms var(--ease);
}

.altar-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.altar-ask-actions {
  display: flex;
  align-items: center;
  padding-top: 2px;
}

.altar-submit-btn {
  border: 0;
  cursor: pointer;
}

.altar-local-note {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  line-height: 1.5;
  color: var(--ivory-faint);
}

/* Right Column: Live Build 775 iPhone & One Body Safety Ledger */
.two-device-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.two-iphone-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.two-iphone-bezel {
  width: clamp(208px, 18vw, 232px);
}

.two-device-caption {
  margin: 0;
  max-width: 34ch;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  line-height: 1.48;
  text-wrap: balance;
  color: var(--ivory-muted);
}

.two-safety-ledger {
  width: 100%;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.two-safety-item {
  padding: 15px 2px;
  border-bottom: 1px solid var(--line-soft);
}

.two-safety-item:last-child {
  border-bottom: 0;
}

.two-safety-item .sub-heading {
  margin: 0 0 4px;
  color: var(--ivory);
}

.two-safety-copy {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  line-height: 1.5;
  color: var(--ivory-muted);
}

/* ==========================================================================
   BAND 4: FLAGSHIP SCRIPTURE & ON MY MIND STUDIO
   Strict zero-cerulean Classic parity via --scripture-* tokens.
   ========================================================================== */

.band-scripture {
  padding: clamp(64px, 7.5vw, 96px) 0;
  background-image:
    radial-gradient(ellipse 46% 32% at 22% 16%, var(--scripture-vault-wash) 0%, transparent 86%),
    radial-gradient(ellipse 44% 30% at 80% 78%, var(--scripture-hearth-wash) 0%, transparent 86%);
}

.band-scripture .band-intro {
  max-width: 760px;
  margin-bottom: clamp(30px, 3.8vw, 44px);
}

.scripture-plans-studio {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(248px, 0.8fr);
  gap: clamp(28px, 4.5vw, 56px);
  align-items: start;
}

.mind-desk-studio {
  margin-top: clamp(48px, 6vw, 72px);
  padding-top: clamp(48px, 6vw, 72px);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(248px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 4.5vw, 56px);
  align-items: start;
}

.scripture-bench,
.mind-desk-bench {
  position: relative;
  min-width: 0;
  padding: clamp(24px, 3.2vw, 36px) clamp(22px, 3.2vw, 38px);
  border-radius: 24px;
  background-color: var(--scripture-bench-bg);
  background-image:
    radial-gradient(ellipse 46% 36% at 50% 6%, var(--scripture-vault-wash) 0%, transparent 86%),
    radial-gradient(ellipse 44% 34% at 50% 94%, var(--scripture-hearth-wash) 0%, transparent 86%);
  border: 1px solid var(--season-border-tint);
  box-shadow: 0 26px 68px rgba(0, 0, 0, 0.42);
  transition: background-color 260ms var(--ease), border-color 260ms var(--ease);
}

.scripture-bench .segmented-bar,
.mind-desk-bench .segmented-bar {
  background-color: var(--scripture-bench-deep);
}

.scripture-bench-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 18px;
  margin-bottom: 18px;
}

.scripture-bench-head .sub-heading,
.mind-desk-bench .sub-heading {
  margin: 0;
  color: var(--ivory);
}

.scripture-free-note {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--gold-soft);
}

.scripture-plan-bar {
  max-width: 100%;
  border-radius: 24px;
}

.scripture-plan-bar .segmented-tab {
  padding: 8px 14px;
}

.scripture-plan-readout {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
}

.scripture-plan-leaf {
  padding: 4px 0 4px 16px;
  border-left: 2px solid var(--gold);
}

.scripture-plan-heading {
  margin: 0 0 8px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
}

.scripture-plan-title {
  font-family: var(--font-serif);
  font-size: var(--text-body);
  font-weight: 600;
  line-height: 1.3;
  color: var(--ivory);
}

.scripture-plan-sep {
  color: var(--line);
}

.scripture-plan-scope {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--gold-soft);
}

.scripture-plan-desc {
  margin: 0 0 10px;
  font-family: var(--font-serif);
  font-size: var(--text-body);
  line-height: 1.56;
  color: var(--ivory-muted);
}

.scripture-plan-mark {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--gold-soft);
}

.scripture-milestones-list {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 8px;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  line-height: 1.45;
  color: var(--ivory-faint);
}

.scripture-milestones-label {
  font-weight: 500;
  color: var(--ivory-muted);
  margin-right: 2px;
}

.scripture-milestone-item {
  padding-bottom: 1px;
  border-bottom: 1px solid transparent;
  transition: color 180ms var(--ease), border-color 180ms var(--ease);
}

.scripture-milestone-item.is-highlighted {
  color: var(--gold-soft);
  font-weight: 600;
  border-bottom-color: var(--gold);
}

.scripture-milestone-dot {
  color: var(--line);
}

.scripture-trans-block {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
}

.scripture-trans-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
}

.scripture-trans-label {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--ivory-muted);
}

.scripture-sample-leaf {
  margin-top: 18px;
  padding: 14px 8px 14px 18px;
  border-left: 2px solid var(--gold-soft);
  background-image: radial-gradient(
    ellipse 46% 44% at 22% 50%,
    var(--scripture-vault-wash) 0%,
    transparent 86%
  );
}

.scripture-sample-verse {
  margin: 0 0 10px;
  font-family: var(--font-serif);
  font-size: var(--text-body);
  font-weight: 500;
  line-height: 1.72;
  color: var(--ivory);
}

.scripture-follow-spoken {
  display: inline;
  padding-bottom: 3px;
  color: var(--ivory-muted);
  border-bottom: 1.5px solid var(--two-follow-trail);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.scripture-follow-active {
  display: inline;
  padding: 0 2px 3px;
  border-bottom: 2px solid var(--follow-mark-ink);
  color: var(--ivory);
  text-shadow: 0 0 14px var(--scripture-follow-glow);
  background-image: linear-gradient(
    180deg,
    transparent 54%,
    var(--scripture-vault-wash) 100%
  );
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.scripture-follow-upcoming {
  color: var(--ivory-faint);
}

.scripture-sample-cite {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  color: var(--gold-soft);
}

/* Studio 4B: On My Mind Scripture Desk */
.mind-desk-lead {
  margin: 10px 0 20px;
  max-width: 58ch;
}

.mind-burden-bar {
  max-width: 100%;
  border-radius: 24px;
  gap: 2px;
}

.mind-burden-bar .segmented-tab {
  padding: 8px 10px;
}

.mind-input-row {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mind-input-label {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--ivory-muted);
}

.mind-input-field-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.mind-desk-input {
  width: 100%;
  min-height: 46px;
  padding: 10px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background-color: var(--scripture-bench-deep);
  color: var(--ivory);
  font-family: var(--font-serif);
  font-size: var(--text-body);
  line-height: 1.45;
  transition:
    border-color 180ms var(--ease),
    box-shadow 180ms var(--ease),
    background-color 220ms var(--ease);
}

.mind-desk-input:not(:placeholder-shown) {
  padding-right: 72px;
}

.mind-desk-input::placeholder {
  color: var(--ivory-faint);
}

.mind-desk-input:focus {
  outline: none;
  border-color: var(--scripture-input-focus);
  box-shadow: 0 0 0 2px var(--scripture-vault-wash);
}

.mind-clear-btn {
  position: absolute;
  right: 8px;
  appearance: none;
  border: 0;
  min-height: 44px;
  padding: 6px 12px;
  background-color: transparent;
  color: var(--gold-soft);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 500;
  cursor: pointer;
  transition: color 180ms var(--ease);
}

.mind-clear-btn:hover {
  color: var(--ivory);
}

.mind-clear-btn[hidden] {
  display: none;
}

.mind-desk-leaf {
  margin-top: 20px;
  padding: 16px 8px 16px 18px;
  border-top: 1px solid var(--line-soft);
  border-left: 2px solid var(--gold-soft);
  background-image: radial-gradient(
    ellipse 46% 42% at 18% 48%,
    var(--scripture-vault-wash) 0%,
    transparent 86%
  );
}

.mind-desk-theme {
  margin: 0 0 10px;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--gold-soft);
}

.mind-desk-verse {
  margin: 0 0 12px;
  font-family: var(--font-serif);
  font-size: var(--text-body);
  font-weight: 500;
  line-height: 1.66;
  color: var(--ivory);
}

.mind-desk-cite {
  margin: 0 0 8px;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--gold-soft);
}

.mind-desk-companions {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  line-height: 1.48;
  color: var(--ivory-muted);
}

.mind-desk-disclosure {
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  line-height: 1.5;
  color: var(--ivory-faint);
}

/* Build 777 iPhone Columns inside Band 4 */
.scripture-device-col,
.mind-device-col {
  position: sticky;
  top: 96px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}

.scripture-device-halo {
  position: absolute;
  top: 26px;
  left: 50%;
  width: min(340px, 92%);
  height: 340px;
  transform: translateX(-50%);
  background: radial-gradient(
    ellipse 46% 44% at 50% 48%,
    var(--scripture-vault-wash) 0%,
    transparent 86%
  );
  pointer-events: none;
  z-index: 0;
}

.scripture-iphone-bezel {
  position: relative;
  z-index: 1;
  width: clamp(216px, 19vw, 240px);
}

.scripture-device-caption {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 34ch;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  line-height: 1.48;
  text-wrap: balance;
  color: var(--ivory-muted);
}

/* ==========================================================================
   BAND 6: FULL-HONOR SACRED TRADITIONS
   ========================================================================== */

.band-sanctuary {
  background-image:
    radial-gradient(ellipse 46% 36% at 84% 16%, var(--season-glow) 0%, transparent 86%),
    radial-gradient(ellipse 44% 34% at 14% 78%, rgba(219, 187, 144, 0.08) 0%, transparent 86%);
}

.sanctuary-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(200px, 232px);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  margin-bottom: clamp(38px, 5vw, 56px);
}

.sanctuary-season-vessel {
  position: relative;
  margin: 0;
  width: 100%;
  max-width: 232px;
  aspect-ratio: 606 / 860;
  border-radius: 120px 120px 18px 18px;
  overflow: hidden;
  background-color: var(--bg-sanctuary);
  border: 1px solid var(--season-border-tint);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.56),
    0 0 64px var(--season-glow);
  justify-self: end;
}

.cinema-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Instrument A: Landscape Bead & Knot Prayer Sampler */
.prayer-sampler {
  display: grid;
  grid-template-columns: minmax(340px, 1.06fr) minmax(0, 0.94fr);
  align-items: center;
  gap: clamp(28px, 4.4vw, 56px);
  padding: clamp(24px, 3.4vw, 42px);
  border-radius: 24px;
  background-color: var(--bg-surface);
  border: 1px solid var(--season-border-tint);
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.42);
}

.sampler-well-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sampler-controls-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.material-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.material-swatch {
  appearance: none;
  border: 1px solid var(--line);
  margin: 0;
  padding: 6px 13px;
  border-radius: 999px;
  background-color: var(--bg-surface-deep);
  color: var(--ivory-muted);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 500;
  line-height: 1.25;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition:
    color 180ms var(--ease),
    background-color 180ms var(--ease),
    border-color 180ms var(--ease);
}

.material-swatch:hover {
  color: var(--ivory);
  border-color: var(--gold);
}

.material-swatch[aria-checked="true"] {
  color: var(--gold-soft);
  border-color: var(--gold-soft);
  background-color: rgba(219, 187, 144, 0.16);
}

.material-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.35), 0 0 0 1px rgba(0, 0, 0, 0.35);
}

/* Sculpted Landscape Sanctuary Lens (768x352 uncropped bead & rope macro) */
.sampler-lens {
  position: relative;
  width: 100%;
  aspect-ratio: 768 / 352;
  border-radius: 26px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 74% 66% at 50% 48%, var(--season-deep), transparent 76%),
    radial-gradient(ellipse 84% 78% at 50% 50%, rgba(18, 35, 66, 0.85) 0%, var(--bg-abyss) 92%);
  border: 1px solid var(--season-border-tint);
  box-shadow:
    inset 0 0 38px rgba(0, 0, 0, 0.68),
    inset 0 1px 0 rgba(234, 204, 161, 0.24),
    0 18px 46px rgba(0, 0, 0, 0.44);
  cursor: pointer;
}

.sampler-craft-img {
  width: 100%;
  height: 100%;
  padding: 0;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.72));
  transition: opacity 200ms var(--ease), transform 240ms var(--ease);
}

.sampler-craft-img.is-swapping {
  opacity: 0.2;
}

.sampler-beats-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.beat-stone-halo {
  fill: none;
  stroke: var(--gold-soft);
  stroke-width: 2;
  opacity: 0;
  transition: opacity 260ms var(--ease), stroke-width 260ms var(--ease);
}

.beat-stone-core {
  fill: rgba(239, 231, 216, 0.28);
  stroke: rgba(234, 204, 161, 0.52);
  stroke-width: 1.5;
  transition: fill 260ms var(--ease), stroke 260ms var(--ease), opacity 260ms var(--ease);
}

.beat-node.is-complete .beat-stone-core {
  fill: var(--gold);
  stroke: var(--gold-soft);
}

.beat-node.is-complete .beat-stone-halo {
  opacity: 0.36;
}

.beat-node.is-current .beat-stone-core {
  fill: var(--gold-soft);
  stroke: #ffffff;
}

.beat-node.is-current .beat-stone-halo {
  opacity: 0.92;
  stroke-width: 2.6;
}

.sampler-burst-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  pointer-events: none;
}

.amen-seal-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: radial-gradient(ellipse 72% 72% at 50% 50%, rgba(6, 14, 29, 0.76) 0%, rgba(6, 14, 29, 0.52) 100%);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.amen-seal-overlay[hidden] {
  display: none;
}

.amen-bloom {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--season-glow) 0%, rgba(234, 204, 161, 0.22) 38%, transparent 72%);
  pointer-events: none;
}

.amen-wax-seal {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.68));
  animation: sealStampSettle 440ms var(--ease-spring) both;
}

.amen-praise-word {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: var(--font-serif);
  font-size: var(--text-body);
  font-weight: 600;
  color: var(--gold-soft);
  text-shadow: 0 2px 12px rgba(6, 14, 29, 0.92);
}

@keyframes sealStampSettle {
  0% {
    opacity: 0;
    transform: scale(1.24);
  }
  65% {
    opacity: 1;
    transform: scale(0.96);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.sampler-step-rail {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.sampler-step-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: rgba(239, 231, 216, 0.18);
  border: 1px solid var(--line);
  transition:
    background-color 220ms var(--ease),
    border-color 220ms var(--ease),
    transform 220ms var(--ease),
    box-shadow 220ms var(--ease);
}

.sampler-step-dot.is-complete {
  background-color: var(--gold);
  border-color: var(--gold-soft);
}

.sampler-step-dot.is-current {
  background-color: var(--gold-soft);
  border-color: var(--ivory);
  transform: scale(1.22);
  box-shadow: 0 0 12px rgba(234, 204, 161, 0.52);
}

.sampler-desk {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sampler-citation {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--gold-soft);
}

.sampler-verse {
  margin: 0;
  min-height: 3.2em;
  font-family: var(--font-serif);
  font-size: var(--text-body);
  font-weight: 500;
  line-height: 1.72;
  color: var(--ivory);
}

.follow-word {
  display: inline;
  padding-bottom: 3px;
  border-bottom: 2.5px solid transparent;
  transition: border-color 220ms var(--ease), color 220ms var(--ease);
}

.follow-word.is-active {
  border-bottom-color: var(--follow-mark-ink);
  color: var(--ivory);
}

.follow-word.is-spoken {
  color: var(--ivory-muted);
}

.sampler-status {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  line-height: 1.5;
  color: var(--ivory-faint);
}

.sampler-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: 4px;
}

.sampler-action-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 26px;
  border-radius: 999px;
  border: 1px solid var(--gold);
  background-color: rgba(219, 187, 144, 0.14);
  color: var(--gold-soft);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 600;
  cursor: pointer;
  transition:
    transform 180ms var(--ease),
    background-color 200ms var(--ease),
    color 200ms var(--ease),
    border-color 200ms var(--ease),
    box-shadow 200ms var(--ease);
}

.sampler-action-btn:hover {
  background-color: rgba(219, 187, 144, 0.24);
  color: var(--ivory);
  transform: translateY(-1px);
}

.sampler-action-btn[data-state="ready"] {
  border-color: rgba(255, 245, 224, 0.45);
  color: var(--cta-ink);
  background: linear-gradient(145deg, #f7e3be 0%, #e1bd89 54%, #c79a5e 100%);
  box-shadow:
    0 12px 34px rgba(219, 187, 144, 0.36),
    0 0 28px rgba(234, 204, 161, 0.34);
}

.sampler-action-btn[data-state="ready"]:hover {
  color: var(--cta-ink);
  box-shadow:
    0 16px 40px rgba(219, 187, 144, 0.44),
    0 0 34px rgba(234, 204, 161, 0.44);
}

.sampler-sound-hint {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  color: var(--ivory-faint);
}

/* Instruments B & C: Mark Medallions & 7-Candle Stand */
.light-layer-diptych {
  margin-top: clamp(44px, 5.5vw, 68px);
  padding-top: clamp(44px, 5.5vw, 68px);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: clamp(36px, 5vw, 64px);
  align-items: start;
}

.marks-studio,
.candle-studio,
.sampler-well-col,
.sampler-desk,
.sanctuary-intro-copy {
  min-width: 0;
}

.studio-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.studio-header .sub-heading {
  margin-bottom: 0;
  color: var(--ivory);
}

.studio-counter {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--gold-soft);
}

.studio-readout {
  margin: 18px 0 0;
  padding-left: 14px;
  border-left: 2px solid var(--gold);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  line-height: 1.5;
  color: var(--ivory-muted);
}

/* Mark Medallion Shelf */
.marks-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 14px;
  margin-top: 22px;
}

.mark-coin {
  appearance: none;
  border: 0;
  background-color: transparent;
  padding: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 7px;
  cursor: pointer;
  color: var(--ivory);
  perspective: 720px;
}

.mark-coin-disc {
  position: relative;
  width: 100%;
  max-width: 124px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  padding: 5px;
  background: radial-gradient(circle at 50% 45%, #0c2249 0%, #061229 78%, #040b18 100%);
  border: 2px solid rgba(165, 128, 77, 0.36);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.46);
  overflow: hidden;
  transform-style: preserve-3d;
  transition:
    border-color 220ms var(--ease),
    box-shadow 240ms var(--ease),
    transform 200ms var(--ease);
}

.mark-coin:hover .mark-coin-disc {
  transform: translateY(-2px);
  border-color: var(--gold);
}

.mark-coin-halo {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: repeating-conic-gradient(
    from 0deg,
    rgba(234, 204, 161, 0.24) 0deg 14deg,
    transparent 14deg 30deg
  );
  opacity: 0;
  pointer-events: none;
  transition: opacity 280ms var(--ease);
}

.mark-coin-disc img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  filter: sepia(0.84) saturate(0.42) brightness(0.62) contrast(1.06);
  transition: filter 260ms var(--ease);
}

.mark-coin[aria-pressed="true"] .mark-coin-disc {
  border-color: var(--gold-soft);
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.56),
    0 0 26px rgba(234, 204, 161, 0.28);
}

.mark-coin[aria-pressed="true"] .mark-coin-halo {
  opacity: 1;
}

.mark-coin[aria-pressed="true"] .mark-coin-disc img {
  filter: none;
}

.mark-coin.is-flipping .mark-coin-disc {
  animation: markCoinFlip 640ms var(--ease-spring);
}

@keyframes markCoinFlip {
  0% {
    transform: rotateY(0deg) scale(1);
  }
  45% {
    transform: rotateY(180deg) scale(1.12);
  }
  78% {
    transform: rotateY(360deg) scale(1.04);
  }
  100% {
    transform: rotateY(360deg) scale(1);
  }
}

.mark-coin-title {
  font-family: var(--font-serif);
  font-size: var(--text-body);
  font-weight: 500;
  line-height: 1.25;
  color: var(--ivory-muted);
  transition: color 200ms var(--ease);
}

.mark-coin[aria-pressed="true"] .mark-coin-title {
  color: var(--ivory);
  font-weight: 600;
}

.mark-coin-rank {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  color: var(--ivory-faint);
}

.mark-coin[aria-pressed="true"] .mark-coin-rank {
  color: var(--gold);
}

/* Interactive 7-Candle Stand */
.candle-defs-svg {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.candle-stand {
  position: relative;
  margin-top: 22px;
  padding: 28px 20px 26px;
  border-radius: 22px;
  background:
    radial-gradient(ellipse 76% 52% at 50% 24%, rgba(234, 204, 161, 0.1), transparent 72%),
    var(--bg-surface);
  border: 1px solid var(--season-border-tint);
  transition: border-color 320ms var(--ease), box-shadow 360ms var(--ease);
}

.candle-stand[data-complete="true"] {
  border-color: var(--gold-soft);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.48),
    0 0 56px rgba(234, 204, 161, 0.24),
    inset 0 0 42px rgba(234, 204, 161, 0.12);
}

.candle-stand-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.candle-stand-title {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--gold-soft);
}

.candle-reset-link {
  appearance: none;
  border: 0;
  padding: 0 0 2px;
  background-color: transparent;
  border-bottom: 1px solid var(--line);
  color: var(--ivory-muted);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  cursor: pointer;
  transition: color 180ms var(--ease), border-color 180ms var(--ease);
}

.candle-reset-link:hover {
  color: var(--gold-soft);
  border-bottom-color: var(--gold-soft);
}

.candle-reset-link[hidden] {
  display: none;
}

.candle-row {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0;
  align-items: end;
}

.candle-slot {
  appearance: none;
  border: 0;
  background-color: transparent;
  padding: 4px 0 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  cursor: pointer;
  color: var(--ivory-faint);
  transition: color 180ms var(--ease);
}

.candle-slot:hover {
  color: var(--ivory);
}

.candle-svg {
  width: 100%;
  max-width: 52px;
  height: auto;
  overflow: visible;
  transition: transform 180ms var(--ease);
}

.candle-slot:hover .candle-svg {
  transform: translateY(-2px);
}

.candle-aura {
  fill: url(#candleAuraGrad);
  opacity: 0;
  transition: opacity 280ms var(--ease);
}

.candle-flame-outer {
  fill: #f0b95c;
  opacity: 0;
  transform-origin: center bottom;
  transform-box: fill-box;
  transition: opacity 240ms var(--ease);
}

.candle-flame-core {
  fill: #fff6dc;
  opacity: 0;
  transform-origin: center bottom;
  transform-box: fill-box;
  transition: opacity 240ms var(--ease);
}

.candle-wick {
  stroke: #564a3e;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.candle-wax {
  fill: url(#candleWaxUnlit);
  stroke: rgba(219, 187, 144, 0.22);
  stroke-width: 1;
  transition: stroke 260ms var(--ease);
}

.candle-cup {
  fill: url(#candleCupUnlit);
}

.candle-slot[aria-pressed="true"] {
  color: var(--gold-soft);
}

.candle-slot[aria-pressed="true"] .candle-aura {
  opacity: 1;
}

.candle-slot[aria-pressed="true"] .candle-flame-outer {
  opacity: 0.96;
  animation: candleBreath 3.2s ease-in-out infinite;
}

.candle-slot[aria-pressed="true"] .candle-flame-core {
  opacity: 1;
  animation: candleBreath 2.6s ease-in-out infinite;
}

.candle-slot[aria-pressed="true"] .candle-wax {
  fill: url(#candleWaxLit);
  stroke: rgba(234, 204, 161, 0.62);
}

.candle-slot[aria-pressed="true"] .candle-cup {
  fill: url(#candleCupLit);
}

.candle-rail-seg {
  display: block;
  width: 100%;
  height: 5px;
  margin-bottom: 10px;
  background: linear-gradient(180deg, #eacca1 0%, #b89158 58%, #6d5330 100%);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.56);
}

.candle-slot:first-child .candle-rail-seg {
  border-top-left-radius: 999px;
  border-bottom-left-radius: 999px;
}

.candle-slot:last-child .candle-rail-seg {
  border-top-right-radius: 999px;
  border-bottom-right-radius: 999px;
}

.candle-label {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  line-height: 1.2;
  white-space: nowrap;
}

@keyframes candleBreath {
  0%,
  100% {
    transform: scaleY(0.97);
  }
  50% {
    transform: scaleY(1.03);
  }
}

/* ==========================================================================
   BAND 5: ELEVATED UNIFIED JOYFUL GOALS SANCTUARY
   ========================================================================== */

.band-way {
  padding: clamp(60px, 7vw, 88px) 0;
  background-image: radial-gradient(ellipse 46% 36% at 78% 36%, var(--season-glow) 0%, transparent 86%);
}

.band-way .band-intro {
  margin-bottom: clamp(24px, 3vw, 34px);
}

.way-showcase-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(320px, 0.94fr);
  gap: clamp(28px, 4vw, 52px);
  align-items: start;
}

.way-vessel {
  min-width: 0;
  padding: 18px 24px 20px;
  border-radius: 24px;
  background-color: var(--bg-surface);
  border: 1px solid var(--season-border-tint);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.44);
}

.way-vessel-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}

.way-vessel-title {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--gold-soft);
}

.way-vessel-progress {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--gold);
}

.way-svg {
  width: 100%;
  max-height: 356px;
  height: auto;
  overflow: visible;
}

.way-stone {
  cursor: pointer;
}

.way-stone-unlit {
  cursor: default;
}

.way-stone-ring {
  fill: none;
  stroke: var(--ivory);
  stroke-width: 1.8;
  opacity: 0;
  transition: opacity 180ms var(--ease);
}

.way-stone[aria-pressed="true"] .way-stone-ring,
.way-stone:hover .way-stone-ring,
.way-stone:focus-visible .way-stone-ring {
  opacity: 1;
}

.way-gate-label {
  fill: var(--gold-soft);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.way-day-detail {
  margin: 12px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  line-height: 1.5;
  color: var(--ivory-muted);
}

/* Authentic iOS Dynamic Island & Home Screen Widgets Showcase */
.widgets-showcase {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.widget-island-block {
  margin: 0;
  width: 100%;
  max-width: 368px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
}

.widget-island-img {
  width: 100%;
  max-width: 276px;
  height: auto;
  border-radius: 36px;
  filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.68));
}

.widget-caption {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  line-height: 1.45;
  color: var(--ivory-muted);
}

.widgets-home-triptych {
  width: 100%;
  max-width: 368px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.widget-tile {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.widget-tile img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.54));
  transition: transform 220ms var(--ease);
}

.widget-tile:hover img {
  transform: translateY(-2px);
}

.widget-tile-wide {
  grid-column: 1 / -1;
}

.widget-tile-label {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  color: var(--ivory-faint);
}

/* ==========================================================================
   BAND 5: TWO ART WORLDS (SYNCED MUSEUM ALCOVE GALLERY)
   ========================================================================== */

.art-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: clamp(38px, 5vw, 56px);
}

.art-header-copy {
  max-width: none;
  flex: 1 1 600px;
}

.art-switchers {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.arch-gallery {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
}

.arch-item {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.arch-alcove {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  padding: 20px 14px 16px;
  margin-bottom: 18px;
  border-radius: 150px 150px 14px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse 84% 56% at 50% 6%, var(--arch-halo), transparent 72%),
    linear-gradient(180deg, rgba(17, 34, 64, 0.78) 0%, var(--bg-surface-deep) 100%);
  border: 1px solid var(--arch-border);
  box-shadow:
    inset 0 1px 0 var(--arch-rim),
    0 18px 42px rgba(0, 0, 0, 0.46);
  overflow: hidden;
  transition: border-color 200ms var(--ease), box-shadow 220ms var(--ease), transform 220ms var(--ease);
}

.arch-alcove::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(ellipse 84% 46% at 50% 4%, var(--arch-halo), transparent 68%);
  box-shadow: inset 0 1px 0 var(--arch-rim);
  opacity: 0.72;
  transition: opacity 220ms var(--ease);
}

.arch-item:hover .arch-alcove {
  border-color: var(--arch-active-border);
  transform: translateY(-3px);
}

.arch-alcove img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 14px 26px rgba(0, 0, 0, 0.55));
  transition: opacity 220ms var(--ease), transform 220ms var(--ease);
}

html[data-art-theme="classic"] .arch-alcove {
  padding: 0;
  border-radius: 150px 150px 14px 14px;
  overflow: hidden;
  border-color: var(--arch-border);
  box-shadow:
    0 0 0 1px var(--arch-border),
    0 14px 36px var(--arch-glow),
    0 18px 40px rgba(0, 0, 0, 0.48);
}

html[data-art-theme="classic"] .arch-alcove img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 14%;
  transform: scale(1);
  filter: none;
}

.arch-caption {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.arch-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: var(--text-body);
  font-weight: 600;
  line-height: 1.3;
  color: var(--ivory);
}

.arch-sub {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  color: var(--gold);
}

/* ==========================================================================
   BAND 6: NINE CONTEMPLATIVE SITTINGS (SINGLE-VIEWPORT WORKBENCH)
   ========================================================================== */

.band-sittings {
  padding: clamp(50px, 5.6vh, 66px) 0 clamp(64px, 7vh, 88px);
}

.band-sittings .band-intro {
  margin-bottom: 24px;
}

.sittings-workbench {
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(0, 1.05fr);
  align-items: start;
  gap: clamp(36px, 5vw, 72px);
}

.sittings-index {
  min-width: 0;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.sitting-row {
  appearance: none;
  border: 0;
  border-bottom: 1px solid var(--line-soft);
  border-left: 2px solid transparent;
  background-color: transparent;
  width: 100%;
  padding: 12px 16px 12px 18px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  cursor: pointer;
  color: var(--ivory-muted);
  transition:
    color 180ms var(--ease),
    border-color 180ms var(--ease),
    background-color 180ms var(--ease);
}

.sitting-row:hover {
  color: var(--ivory);
  background-color: rgba(17, 34, 64, 0.34);
}

.sitting-row[aria-selected="true"] {
  border-left-color: var(--crimson);
  background-color: rgba(17, 34, 64, 0.56);
  color: var(--gold-soft);
}

.sitting-name {
  font-family: var(--font-serif);
  font-size: var(--text-body);
  font-weight: 500;
  line-height: 1.3;
}

.sitting-row[aria-selected="true"] .sitting-name {
  font-weight: 600;
}

.sitting-note {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  color: var(--ivory-faint);
  white-space: nowrap;
}

.sitting-row[aria-selected="true"] .sitting-note {
  color: var(--gold);
}

.sitting-panel {
  min-width: 0;
  position: sticky;
  top: 88px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 20px 12px;
  background: radial-gradient(ellipse 74% 52% at 50% 28%, var(--season-glow), transparent 76%);
}

.sitting-preview-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
}

.sitting-detail {
  max-width: 48ch;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sitting-detail .sub-heading {
  margin-bottom: 6px;
  color: var(--ivory);
  font-weight: 600;
}

.sitting-detail .body-prose {
  line-height: 1.48;
  margin-bottom: 0;
}

.detail-meta {
  margin: 8px 0 0;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  color: var(--gold-soft);
}

/* ==========================================================================
   BAND 8: BUILD 776 9-STEP ONBOARDING BRIDGE
   ========================================================================== */

.band-onboarding {
  padding: clamp(64px, 7.5vw, 96px) 0 clamp(56px, 6.5vw, 84px);
  border-top: 1px solid var(--line-soft);
  background-image:
    radial-gradient(ellipse 46% 34% at 78% 18%, var(--onb-vault-wash) 0%, transparent 86%),
    radial-gradient(ellipse 44% 32% at 18% 82%, var(--onb-hearth-wash) 0%, transparent 86%);
}

.band-onboarding .band-intro {
  margin-bottom: clamp(28px, 3.6vw, 40px);
}

/* 10-Stop Build 776 Way-Rail */
.onb-rail-shell {
  position: relative;
  margin-bottom: clamp(28px, 3.8vw, 40px);
}

.onb-way-rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  align-items: start;
  gap: 0;
  border-bottom: 1px solid var(--line-soft);
}

.onb-mobile-progress {
  display: none;
}

.onb-rail-cue {
  display: none;
}

.onb-rail-track {
  position: absolute;
  top: 17px;
  left: 5%;
  right: 5%;
  height: 1px;
  background-color: var(--line-soft);
  pointer-events: none;
  z-index: 0;
}

.onb-rail-fill {
  display: block;
  width: calc(var(--onb-progress, 0) * 100%);
  height: 100%;
  background: linear-gradient(90deg, var(--gold-deep) 0%, var(--onb-rail-active) 100%);
  transition: width 320ms var(--ease);
}

.onb-stop-btn {
  position: relative;
  z-index: 1;
  appearance: none;
  border: 0;
  border-bottom: 2px solid transparent;
  margin: 0 0 -1px;
  padding: 12px 4px 14px;
  min-height: 60px;
  background-color: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  text-align: center;
  color: var(--ivory-faint);
  cursor: pointer;
  transition: color 180ms var(--ease), border-color 200ms var(--ease);
}

.onb-stop-btn::before {
  content: "";
  position: absolute;
  inset: -18px 0 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(
    ellipse 42% 34% at 50% 35px,
    var(--onb-rail-halo) 0%,
    transparent 82%
  );
  transition: opacity 220ms var(--ease);
}

.onb-stop-btn:hover {
  color: var(--ivory);
}

.onb-stop-btn[aria-selected="true"] {
  color: var(--gold-soft);
  border-bottom-color: var(--gold-soft);
}

.onb-stop-btn[aria-selected="true"]::before {
  opacity: 1;
}

.onb-stop-stone {
  position: relative;
  z-index: 1;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--bg-abyss);
  border: 1.5px solid var(--line);
  transition:
    background-color 200ms var(--ease),
    border-color 200ms var(--ease),
    transform 200ms var(--ease),
    box-shadow 220ms var(--ease);
}

.onb-stop-btn[data-state="past"] .onb-stop-stone {
  background-color: var(--gold);
  border-color: var(--gold-soft);
}

.onb-stop-btn[aria-selected="true"] .onb-stop-stone {
  background-color: var(--onb-rail-active);
  border-color: var(--ivory);
  transform: scale(1.25);
  box-shadow: 0 0 0 4px var(--onb-rail-halo);
}

.onb-stop-label {
  position: relative;
  z-index: 1;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 400;
  line-height: 1.25;
  overflow-wrap: normal;
  word-break: normal;
}

.onb-stop-btn[aria-selected="true"] .onb-stop-label {
  font-weight: 500;
}

/* Two-Column Onboarding Stage */
.onb-stage-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(248px, 0.78fr);
  gap: clamp(28px, 4.4vw, 56px);
  align-items: start;
}

/* Left Column: Open Architectural Narrative Bench (Zero Nested Card Borders) */
.onb-narrative-bench {
  position: relative;
  min-width: 0;
  padding: clamp(24px, 3vw, 34px) clamp(22px, 3vw, 36px);
  border-radius: 24px;
  background-color: var(--onb-bench-bg);
  background-image:
    radial-gradient(ellipse 46% 36% at 50% 6%, var(--onb-vault-wash) 0%, transparent 86%),
    radial-gradient(ellipse 44% 34% at 50% 94%, var(--onb-hearth-wash) 0%, transparent 86%);
  border: 1px solid var(--season-border-tint);
  box-shadow: 0 26px 68px rgba(0, 0, 0, 0.42);
  transition: background-color 260ms var(--ease), border-color 260ms var(--ease);
}

.onb-step-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-soft);
}

.onb-step-counter {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--gold-soft);
}

.onb-step-nav {
  display: inline-flex;
  align-items: center;
  gap: 18px;
}

.onb-text-action {
  appearance: none;
  border: 0;
  padding: 6px 0;
  background-color: transparent;
  color: var(--gold-soft);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 500;
  line-height: 1.25;
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 180ms var(--ease), text-decoration-color 180ms var(--ease), opacity 180ms var(--ease);
}

.onb-text-action:hover:not(:disabled) {
  color: var(--ivory);
  text-decoration-color: var(--ivory);
}

.onb-text-action:disabled,
.onb-text-action[aria-disabled="true"] {
  opacity: 0.36;
  cursor: default;
  text-decoration-color: transparent;
}

.onb-copy-block {
  padding: 20px 0 22px;
}

.onb-step-title {
  margin: 0 0 8px;
  color: var(--ivory);
}

.onb-key-line {
  margin: 0 0 12px;
  font-family: var(--font-serif);
  font-size: var(--text-body);
  font-style: italic;
  font-weight: 500;
  line-height: 1.48;
  color: var(--gold-soft);
}

.onb-step-body {
  margin: 0;
  max-width: 58ch;
}

.onb-panels-wrap {
  border-top: 1px solid var(--line-soft);
  padding-top: 20px;
}

.onb-panel[hidden] {
  display: none;
}

/* Open Hairline Ledger (Stops 1, 3, 7, 8) */
.onb-ledger {
  display: flex;
  flex-direction: column;
}

.onb-ledger-row {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 8px 14px 16px;
  border-left: 2px solid transparent;
  border-bottom: 1px solid var(--line-soft);
}

.onb-ledger-row:first-child {
  padding-top: 8px;
}

.onb-ledger-row:last-child {
  border-bottom: 0;
  padding-bottom: 2px;
}

.onb-ledger-row.is-featured {
  border-left-color: var(--gold-soft);
  background-image: radial-gradient(
    ellipse 48% 46% at 0% 50%,
    rgba(219, 187, 144, 0.11) 0%,
    rgba(219, 187, 144, 0.03) 54%,
    transparent 86%
  );
}

.onb-ledger-title {
  font-family: var(--font-serif);
  font-size: var(--text-body);
  font-weight: 600;
  line-height: 1.35;
  color: var(--ivory);
}

.onb-ledger-row.is-featured .onb-ledger-title {
  color: var(--gold-soft);
}

.onb-ledger-desc {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  line-height: 1.5;
  color: var(--ivory-muted);
}

/* Stop 2: Live Psalm 23 Follow Mark Leaf */
.onb-psalm-leaf {
  position: relative;
  padding: 18px 8px 18px 18px;
  border-left: 2px solid var(--gold-soft);
  border-bottom: 1px solid var(--line-soft);
  background-image: radial-gradient(
    ellipse 46% 44% at 24% 50%,
    var(--onb-vault-wash) 0%,
    transparent 86%
  );
}

.onb-psalm-verse {
  margin: 0 0 10px;
  font-family: var(--font-serif);
  font-size: var(--text-body);
  font-weight: 500;
  line-height: 1.72;
  color: var(--ivory);
}

.onb-psalm-active-span {
  display: inline;
  padding: 0 2px 3px;
  border-bottom: 2px solid var(--follow-mark-ink);
  color: var(--ivory);
  text-shadow: 0 0 18px var(--two-follow-glow);
  background-image: linear-gradient(
    180deg,
    transparent 52%,
    var(--onb-vault-wash) 100%
  );
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.onb-psalm-spoken {
  display: inline;
  padding-bottom: 3px;
  color: var(--ivory-muted);
  border-bottom: 1.5px solid var(--two-follow-trail);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.onb-psalm-upcoming {
  color: var(--ivory-faint);
}

.onb-scripture-cite {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  color: var(--gold-soft);
}

.onb-control-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 18px;
  padding-top: 18px;
}

.onb-control-status {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  color: var(--ivory-muted);
}

/* Stop 4: Live Block Ratio Selector & 10-Part Filament */
.onb-block-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.onb-block-bar {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 6px;
  width: 78%;
  margin: 20px 0 18px;
  transition: width 320ms var(--ease);
}

.onb-block-bar[data-ratio="60"] {
  width: 68%;
}

.onb-block-bar[data-ratio="90"] {
  width: 78%;
}

.onb-block-bar[data-ratio="120"] {
  width: 88%;
}

.onb-block-bar[data-ratio="180"] {
  width: 100%;
}

.onb-block-seg {
  height: 6px;
  border-radius: 999px;
  background-color: var(--line);
  transition: background-color 220ms var(--ease), box-shadow 220ms var(--ease);
}

.onb-block-seg.is-tithe {
  background: linear-gradient(90deg, var(--gold) 0%, var(--onb-rail-active) 100%);
  box-shadow: 0 0 12px var(--onb-filament-glow);
}

.onb-block-readout {
  padding-left: 16px;
  border-left: 2px solid var(--gold-soft);
}

.onb-block-formula {
  margin: 0 0 6px;
  font-family: var(--font-serif);
  font-size: var(--text-body);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--gold-soft);
}

.onb-block-sub {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  line-height: 1.5;
  color: var(--ivory-muted);
}

/* Stop 5: Open Engraved Petition Leaf */
.onb-petition-leaf {
  padding: 16px 8px 6px 18px;
  border-left: 2px solid var(--gold-soft);
  background-image: radial-gradient(
    ellipse 46% 44% at 18% 46%,
    rgba(219, 187, 144, 0.09) 0%,
    transparent 86%
  );
}

.onb-petition-quote {
  margin: 0 0 14px;
  font-family: var(--font-serif);
  font-size: var(--text-body);
  font-style: italic;
  line-height: 1.55;
  color: var(--ivory);
}

.onb-petition-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
}

/* Stop 6: Open 3-Tier Goals & Rewards Bench (Zero Nested Card Borders) */
.onb-candle-tier {
  position: relative;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-soft);
  background-image: radial-gradient(
    ellipse 48% 42% at 50% 48%,
    rgba(234, 204, 161, 0.09) 0%,
    transparent 86%
  );
  transition: background-image 280ms var(--ease);
}

.onb-candle-tier[data-complete="true"] {
  background-image: radial-gradient(
    ellipse 48% 46% at 50% 48%,
    rgba(234, 204, 161, 0.17) 0%,
    rgba(234, 204, 161, 0.05) 54%,
    transparent 88%
  );
}

.onb-tier-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
}

.onb-sub-label {
  font-family: var(--font-serif);
  font-size: var(--text-body);
  font-weight: 600;
  color: var(--ivory);
}

.onb-candle-caption {
  margin: 4px 0 12px;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-variant-numeric: tabular-nums;
  color: var(--gold-soft);
}

.onb-candle-row {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  align-items: end;
  gap: 0;
}

.onb-candle-btn {
  appearance: none;
  border: 0;
  padding: 2px 0;
  background-color: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}

.onb-candle-svg {
  width: 100%;
  max-width: 44px;
  height: auto;
  overflow: visible;
  transition: transform 180ms var(--ease);
}

.onb-candle-btn:hover .onb-candle-svg {
  transform: translateY(-2px);
}

.onb-candle-aura {
  fill: url(#onbCandleAuraGrad);
  opacity: 0;
  transition: opacity 280ms var(--ease);
}

.onb-candle-flame-outer {
  fill: #f0b95c;
  opacity: 0;
  transform-origin: center bottom;
  transform-box: fill-box;
  transition: opacity 240ms var(--ease);
}

.onb-candle-flame-core {
  fill: #fff6dc;
  opacity: 0;
  transform-origin: center bottom;
  transform-box: fill-box;
  transition: opacity 240ms var(--ease);
}

.onb-candle-wick {
  stroke: #564a3e;
  stroke-width: 1.7;
  stroke-linecap: round;
}

.onb-candle-wax {
  fill: url(#onbCandleWaxUnlit);
  stroke: rgba(219, 187, 144, 0.22);
  stroke-width: 1;
  transition: stroke 240ms var(--ease);
}

.onb-candle-cup {
  fill: url(#onbCandleCupUnlit);
}

.onb-candle-btn[aria-pressed="true"] .onb-candle-aura {
  opacity: 1;
}

.onb-candle-btn[aria-pressed="true"] .onb-candle-flame-outer {
  opacity: 0.96;
  animation: candleBreath 3.2s ease-in-out infinite;
}

.onb-candle-btn[aria-pressed="true"] .onb-candle-flame-core {
  opacity: 1;
  animation: candleBreath 2.6s ease-in-out infinite;
}

.onb-candle-btn[aria-pressed="true"] .onb-candle-wax {
  fill: url(#onbCandleWaxLit);
  stroke: rgba(234, 204, 161, 0.62);
}

.onb-candle-btn[aria-pressed="true"] .onb-candle-cup {
  fill: url(#onbCandleCupLit);
}

.onb-candle-rail-seg {
  display: block;
  width: 100%;
  height: 4px;
  background: linear-gradient(180deg, #eacca1 0%, #b89158 58%, #6d5330 100%);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
}

.onb-candle-btn:first-child .onb-candle-rail-seg {
  border-top-left-radius: 999px;
  border-bottom-left-radius: 999px;
}

.onb-candle-btn:last-child .onb-candle-rail-seg {
  border-top-right-radius: 999px;
  border-bottom-right-radius: 999px;
}

/* Tier B: First Tithe Medallion Flip + 30-Day Way Note */
.onb-mark-tier {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-soft);
}

.onb-mark-flip-btn {
  appearance: none;
  border: 0;
  padding: 4px 8px 4px 0;
  background-color: transparent;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  color: var(--ivory);
  cursor: pointer;
  perspective: 640px;
}

.onb-mark-disc {
  position: relative;
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 50%;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.48);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: box-shadow 240ms var(--ease), transform 200ms var(--ease);
}

.onb-mark-flip-btn:hover .onb-mark-disc {
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.56), 0 0 16px rgba(234, 204, 161, 0.2);
  transform: translateY(-1px);
}

.onb-mark-halo {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(234, 204, 161, 0.34) 0%,
    rgba(234, 204, 161, 0.08) 46%,
    transparent 86%
  );
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms var(--ease);
}

.onb-mark-disc img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  transform: scale(1.03);
  filter: sepia(0.84) saturate(0.42) brightness(0.62) contrast(1.06);
  transition: filter 260ms var(--ease);
}

.onb-mark-flip-btn[aria-pressed="true"] .onb-mark-disc {
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.54), 0 0 24px rgba(234, 204, 161, 0.34);
}

.onb-mark-flip-btn[aria-pressed="true"] .onb-mark-halo {
  opacity: 1;
}

.onb-mark-flip-btn[aria-pressed="true"] .onb-mark-disc img {
  filter: none;
}

.onb-mark-flip-btn.is-flipping .onb-mark-disc {
  animation: markCoinFlip 640ms var(--ease-spring);
}

.onb-mark-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.onb-mark-name {
  font-family: var(--font-serif);
  font-size: var(--text-body);
  font-weight: 600;
  line-height: 1.25;
  color: var(--ivory);
}

.onb-mark-status {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  color: var(--gold-soft);
}

.onb-way-note {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  line-height: 1.45;
  color: var(--ivory-muted);
}

/* Tier C: Bible Prayer Goal Progress Filament */
.onb-goal-tier {
  padding-top: 18px;
}

.onb-goal-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
  margin-bottom: 10px;
}

.onb-goal-name {
  font-family: var(--font-serif);
  font-size: var(--text-body);
  font-weight: 500;
  color: var(--ivory);
}

.onb-goal-free {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--gold-soft);
}

.onb-bible-filament-track {
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background-color: var(--line-soft);
  overflow: hidden;
}

.onb-bible-filament-fill {
  display: block;
  width: 34%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold-deep) 0%, var(--onb-filament) 100%);
  box-shadow: 0 0 12px var(--onb-filament-glow);
  transition: width 300ms var(--ease);
}

.onb-bible-chapters {
  margin: 10px 0 0;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-variant-numeric: tabular-nums;
  color: var(--ivory-muted);
}

/* Stop 9: 4-Bible Translation Picker & Painted World Parity */
.onb-bible-picker {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-soft);
}

.onb-bible-leaf {
  margin-top: 18px;
  padding: 4px 0 4px 16px;
  border-left: 2px solid var(--gold-soft);
}

.onb-bible-quote {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-size: var(--text-body);
  font-style: italic;
  font-weight: 500;
  line-height: 1.55;
  color: var(--ivory);
}

.onb-bible-meta {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  color: var(--gold-soft);
}

.onb-theme-parity-row {
  padding-top: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 18px;
}

/* Stop 10: Honest Paywall Open Hairline Bridge */
.onb-paywall-ledger {
  display: flex;
  flex-direction: column;
}

.onb-paywall-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 13px 10px 13px 16px;
  border-left: 2px solid transparent;
  border-bottom: 1px solid var(--line-soft);
}

.onb-paywall-row:first-child {
  padding-top: 8px;
}

.onb-paywall-row:last-child {
  border-bottom: 0;
}

.onb-paywall-row.is-featured {
  border-left-color: var(--gold-soft);
  background-image: radial-gradient(
    ellipse 48% 46% at 0% 50%,
    rgba(219, 187, 144, 0.12) 0%,
    rgba(219, 187, 144, 0.03) 54%,
    transparent 86%
  );
}

.onb-paywall-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 16px;
}

.onb-paywall-name {
  font-family: var(--font-serif);
  font-size: var(--text-body);
  font-weight: 600;
  color: var(--ivory);
}

.onb-paywall-row.is-featured .onb-paywall-name {
  color: var(--gold-soft);
}

.onb-paywall-price {
  font-family: var(--font-serif);
  font-size: var(--text-body);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--gold-soft);
}

.onb-paywall-desc {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  line-height: 1.48;
  color: var(--ivory-muted);
}

.onb-bridge-row {
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.onb-bridge-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--gold-soft);
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
  transition: color 180ms var(--ease), text-decoration-color 180ms var(--ease), transform 180ms var(--ease);
}

.onb-bridge-link:hover {
  color: var(--ivory);
  text-decoration-color: var(--ivory);
  transform: translateY(1px);
}

/* Right Column: Build 776 Desert Titanium iPhone Stage */
.onb-device-col {
  position: sticky;
  top: 96px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.onb-device-halo {
  position: absolute;
  top: 44px;
  left: 50%;
  width: min(360px, 92%);
  height: 360px;
  transform: translateX(-50%);
  background: radial-gradient(
    ellipse 48% 46% at 50% 48%,
    var(--onb-rail-halo) 0%,
    transparent 86%
  );
  pointer-events: none;
  z-index: 0;
}

.onb-device-col .segmented-bar,
.onb-iphone-bezel,
.onb-device-caption {
  position: relative;
  z-index: 1;
}

.onb-iphone-bezel {
  width: clamp(216px, 19vw, 244px);
}

.onb-iphone-still {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  transition: opacity 200ms var(--ease);
}

.onb-iphone-still.is-switching {
  opacity: 0.22;
}

.onb-iphone-still[hidden],
.onb-device-col .iphone-video[hidden] {
  display: none;
}

.onb-device-caption {
  margin: 0;
  max-width: 34ch;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  line-height: 1.48;
  text-wrap: balance;
  color: var(--ivory-muted);
}

/* ==========================================================================
   BAND 7: HONEST OFFER & ON-DEVICE PRIVACY (HAIRLINE LEDGER)
   ========================================================================== */

.band-offer {
  padding: clamp(64px, 7.5vw, 96px) 0;
}

.band-offer .band-intro {
  margin-bottom: clamp(28px, 3.6vw, 40px);
}

.offer-ledger {
  border-top: 1px solid var(--line);
}

.ledger-row {
  display: grid;
  grid-template-columns: minmax(160px, 0.65fr) minmax(220px, 0.9fr) minmax(0, 1.45fr);
  align-items: baseline;
  gap: 28px;
  padding: 22px 24px;
  border-left: 2px solid transparent;
  border-bottom: 1px solid var(--line-soft);
}

.ledger-row:last-child {
  border-bottom: 0;
}

.ledger-row-featured {
  background: linear-gradient(
    90deg,
    rgba(223, 190, 138, 0.085) 0%,
    rgba(223, 190, 138, 0.025) 100%
  );
  border-left-color: var(--gold);
  border-bottom-color: var(--line);
}

.ledger-tier .sub-heading {
  margin: 0;
  color: var(--ivory);
}

.ledger-row-featured .ledger-tier .sub-heading {
  color: var(--gold-soft);
}

.ledger-price {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.price-figure {
  font-family: var(--font-serif);
  font-size: var(--text-body);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--gold-soft);
}

.price-note {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  color: var(--ivory-muted);
}

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

.privacy-pillars {
  margin-top: 8px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 48px);
}

.privacy-pillar .sub-heading {
  color: var(--ivory);
}

/* ==========================================================================
   BAND 8: CLOSING SANCTUARY HORIZON & SINGLE-LINE FOOTER
   ========================================================================== */

.band-closing {
  background:
    radial-gradient(640px 380px at 50% 34%, var(--season-glow), transparent 72%),
    linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-abyss) 100%);
}

.closing-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.closing-icon {
  width: 84px;
  height: 84px;
  border-radius: 20px;
  margin-bottom: 28px;
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.62),
    0 0 0 1px rgba(234, 204, 161, 0.34);
}

.closing-lead {
  max-width: 48ch;
  margin-bottom: 32px;
}

.closing-meta {
  margin: 22px 0 0;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  color: var(--ivory-faint);
}

.site-footer {
  border-top: 1px solid var(--line-soft);
  padding: 28px 0 36px;
  background-color: var(--bg-abyss);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-copy {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  color: var(--ivory-faint);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}

.footer-links a {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  color: var(--gold-soft);
  text-decoration: none;
  transition: color 180ms var(--ease);
}

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

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */

@media (max-width: 1120px) {
  .header-inner {
    gap: 12px;
  }

  .brand {
    gap: 9px;
  }

  .site-nav {
    gap: 11px;
  }

  .header-controls {
    gap: 10px;
  }

  .sound-switch {
    padding: 6px 9px;
  }
}

@media (max-width: 1080px) {
  .arch-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .site-nav {
    display: none;
  }

  .atmosphere-sep {
    display: none;
  }

  .switch-scroll-track {
    height: auto;
    min-height: 0;
    max-height: none;
  }

  .switch-sticky-stage {
    position: static;
    height: auto;
    min-height: 0;
    max-height: none;
    overflow: visible;
    padding: 72px 0;
  }

  .switch-stage-grid,
  .two-stage-grid,
  .scripture-plans-studio,
  .mind-desk-studio,
  .sanctuary-intro-grid,
  .prayer-sampler,
  .light-layer-diptych,
  .way-showcase-grid,
  .sittings-workbench,
  .onb-stage-grid,
  .privacy-pillars {
    grid-template-columns: minmax(0, 1fr);
  }

  .scripture-device-col,
  .mind-device-col {
    position: static;
  }

  .mind-desk-bench {
    order: 1;
  }

  .mind-device-col {
    order: 2;
  }

  .onb-way-rail {
    display: flex;
    overflow-x: auto;
    gap: 4px;
    padding: 0 24px;
    border-bottom: 0;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(
      90deg,
      transparent 0,
      transparent 20px,
      #000 40px,
      #000 calc(100% - 40px),
      transparent calc(100% - 20px),
      transparent 100%
    );
    mask-image: linear-gradient(
      90deg,
      transparent 0,
      transparent 20px,
      #000 40px,
      #000 calc(100% - 40px),
      transparent calc(100% - 20px),
      transparent 100%
    );
  }

  .onb-way-rail::-webkit-scrollbar {
    display: none;
  }

  .onb-rail-track {
    display: none;
  }

  .onb-mobile-progress {
    display: block;
    position: relative;
    width: 100%;
    height: 2px;
    margin-top: 6px;
    background-color: var(--line-soft);
    overflow: hidden;
  }

  .onb-mobile-progress-fill {
    display: block;
    height: 100%;
    width: calc(10% + var(--onb-progress, 0) * 90%);
    background: linear-gradient(90deg, var(--gold-deep) 0%, var(--onb-rail-active) 100%);
    transition: width 300ms var(--ease);
  }

  .onb-rail-cue {
    position: absolute;
    top: 0;
    bottom: 8px;
    width: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-soft);
    pointer-events: none;
    z-index: 2;
    opacity: 0.62;
    transition: opacity 200ms var(--ease);
  }

  .onb-rail-cue-left {
    left: 0;
  }

  .onb-rail-cue-right {
    right: 0;
  }

  .onb-rail-shell[data-can-scroll-left="false"] .onb-rail-cue-left,
  .onb-rail-shell[data-can-scroll-right="false"] .onb-rail-cue-right {
    opacity: 0;
  }

  .onb-stop-btn {
    flex: 0 0 auto;
    flex-direction: row;
    align-items: center;
    min-height: 44px;
    padding: 10px 12px 12px;
    gap: 8px;
    white-space: nowrap;
    scroll-snap-align: center;
  }

  .onb-stop-btn::before {
    inset: 0;
    background: radial-gradient(
      ellipse 42% 38% at 50% 50%,
      var(--onb-rail-halo) 0%,
      transparent 82%
    );
  }

  .onb-device-col {
    position: static;
  }

  .onb-iphone-bezel {
    width: 224px;
  }

  .two-safety-ledger {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 28px;
  }

  .two-safety-item:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .privacy-pillar {
    min-width: 0;
  }

  .sanctuary-season-vessel {
    justify-self: center;
    max-width: 210px;
  }

  .sittings-workbench {
    gap: 18px;
  }

  .sittings-index {
    flex-direction: row;
    overflow-x: auto;
    gap: 0;
    padding: 0 8px;
    border: none;
    border-bottom: 1px solid var(--line);
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(
      90deg,
      transparent 0,
      #000 16px,
      #000 calc(100% - 16px),
      transparent 100%
    );
    mask-image: linear-gradient(
      90deg,
      transparent 0,
      #000 16px,
      #000 calc(100% - 16px),
      transparent 100%
    );
  }

  .sittings-index::-webkit-scrollbar {
    display: none;
  }

  .sitting-row {
    flex: 0 0 auto;
    width: auto;
    padding: 10px 14px;
    border: none;
    border-bottom: 2px solid transparent;
    background: transparent;
    white-space: nowrap;
    scroll-snap-align: start;
  }

  .sitting-row:hover {
    background: transparent;
    color: var(--ivory);
  }

  .sitting-row .sitting-note {
    display: none;
  }

  .sitting-row[aria-selected="true"] {
    border-bottom-color: var(--gold);
    background: transparent;
    color: var(--ivory);
  }

  .sitting-panel {
    position: static;
    margin-top: 8px;
    padding: 0 12px 18px;
  }

  .iphone-bezel-compact {
    width: 224px;
  }

  .ledger-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    padding: 20px 16px;
  }
}

@media (max-width: 720px) {
  .wrap {
    width: calc(100% - 32px);
  }

  .band {
    padding-top: 76px;
  }

  .band-switch {
    padding-top: 0;
  }

  .atmosphere-bar {
    justify-content: flex-start;
    padding: 14px 16px;
    gap: 12px;
  }

  .atmosphere-group {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
  }

  .rhythm-bench {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
  }

  .rhythm-visual {
    justify-self: center;
  }

  .rhythm-controls {
    width: 100%;
    min-width: 0;
  }

  .marks-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .candle-label {
    white-space: normal;
    text-align: center;
  }

  .arch-gallery {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding: 4px 20px 10px 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .arch-gallery::-webkit-scrollbar {
    display: none;
  }

  .arch-item {
    flex: 0 0 74%;
    scroll-snap-align: start;
  }

  .segmented-bar {
    justify-content: center;
  }

  .segmented-tab {
    padding: 8px 13px;
  }

  .prayer-sampler .segmented-tab,
  .material-swatch {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .hero {
    padding-top: 76px;
  }

  .hero-title {
    margin-bottom: 8px;
  }

  .hero-lead {
    margin-bottom: 14px;
  }

  .hero-cta-wrap {
    margin-bottom: 14px;
  }

  .stage-plinth {
    gap: 12px;
  }

  .hero-stage .segmented-bar {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: min(352px, 100%);
    padding: 4px;
    gap: 3px;
    border-radius: 22px;
  }

  .hero-stage .segmented-tab {
    min-height: 44px;
    padding: 8px 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .scripture-bench,
  .mind-desk-bench {
    padding: 20px 16px 22px;
  }

  .scripture-plan-bar,
  .scripture-trans-bar {
    width: 100%;
    border-radius: 20px;
    padding: 4px;
    gap: 4px;
  }

  .scripture-plan-bar .segmented-tab,
  .scripture-trans-bar .segmented-tab {
    min-height: 44px;
    padding: 8px 11px;
    flex: 1 1 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .scripture-sample-leaf,
  .mind-desk-leaf,
  .scripture-plan-leaf {
    padding-left: 14px;
  }

  .mind-burden-bar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    border-radius: 20px;
    padding: 4px;
    gap: 3px;
  }

  .mind-burden-bar .segmented-tab {
    min-height: 44px;
    padding: 8px 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .scripture-iphone-bezel {
    width: min(224px, 60vw);
  }

  .altar-workbench {
    padding: 20px 16px 22px;
  }

  .altar-crown {
    gap: 8px;
  }

  .altar-candle-canvas {
    width: 44px;
    height: 92px;
  }

  .altar-pray-leaf {
    padding: 22px 10px 20px;
  }

  .altar-pray-controls {
    justify-content: center;
  }

  .altar-text-action {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .altar-kept-row {
    grid-template-columns: minmax(0, 1fr);
    padding: 16px 10px 16px 12px;
  }

  .altar-kept-actions {
    justify-content: flex-start;
  }

  .two-safety-ledger {
    grid-template-columns: minmax(0, 1fr);
  }

  .two-safety-item:nth-last-child(-n + 2) {
    border-bottom: 1px solid var(--line-soft);
  }

  .two-safety-item:last-child {
    border-bottom: 0;
  }

  .onb-narrative-bench {
    padding: 20px 16px 22px;
  }

  .onb-step-head {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding-bottom: 10px;
  }

  .onb-step-nav {
    width: 100%;
    justify-content: space-between;
  }

  .onb-text-action {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .onb-psalm-leaf,
  .onb-petition-leaf {
    padding-left: 14px;
  }

  .onb-control-row {
    justify-content: flex-start;
  }

  .onb-candle-svg {
    max-width: 36px;
  }

  .onb-candle-btn {
    min-height: 44px;
    padding: 4px 0;
  }

  .onb-mark-tier {
    flex-direction: column;
    align-items: flex-start;
  }

  .onb-paywall-head {
    flex-direction: column;
    gap: 2px;
  }

  .onb-iphone-bezel {
    width: min(224px, 60vw);
  }

  .onb-device-col .segmented-bar {
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
    justify-content: center;
  }

  .hero-stage .iphone-bezel {
    width: min(228px, 60vw);
    padding: 8px;
    border-radius: 40px;
  }

  .hero-stage .iphone-screen {
    border-radius: 32px;
  }

  .candle-stand {
    padding: 22px 14px 20px;
  }

  .candle-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 0;
  }

  .candle-slot {
    flex: 0 0 25%;
    min-width: 72px;
    padding: 4px 0 4px;
  }

  .candle-slot:nth-child(4) .candle-rail-seg {
    border-top-right-radius: 999px;
    border-bottom-right-radius: 999px;
  }

  .candle-slot:nth-child(5) .candle-rail-seg {
    border-top-left-radius: 999px;
    border-bottom-left-radius: 999px;
  }
}

@media (max-width: 480px) {
  .brand-icon {
    width: 30px;
    height: 30px;
  }

  .header-controls {
    gap: 12px;
  }

  .sound-switch {
    padding: 8px;
    width: 38px;
    height: 38px;
    justify-content: center;
  }

  .sound-switch-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .atmosphere-group-season .atmosphere-control {
    width: 100%;
    justify-content: space-between;
  }

  .atmosphere-option {
    padding: 8px 9px;
  }

  .rhythm-readouts {
    gap: 18px;
  }
}

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */

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

  .sanctuary-motes {
    display: none;
  }

  .switch-scroll-track {
    height: auto;
    min-height: 0;
    max-height: none;
  }

  .switch-sticky-stage {
    position: static;
    height: auto;
    min-height: 0;
    max-height: none;
    overflow: visible;
    padding: 72px 0;
  }

  html.has-reveal [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
