/* ============================================================================
   NOUMENA HOUSE — Global Stylesheet
   ----------------------------------------------------------------------------
   Aesthetic: Ancient Greece / Olympus / temple-luxury. Light, warm stone + gold.
   Generous negative space, soft shadows, gold hairline rules, stone texture.

   Approach: MOBILE-FIRST. Base styles target small screens; min-width media
   queries layer on tablet/desktop enhancements at the bottom of this file.

   Structure of this file:
     1. Design tokens (CSS custom properties)
     2. Reset & base elements
     3. Typography
     4. Layout helpers (container, sections, grid)
     5. Header / navigation
     6. Buttons & links
     7. Forms (Mailchimp capture, enquiry, contact)
     8. Components (hero, cards, state tiles, quote, footer)
     9. Utilities
    10. Responsive (tablet / desktop)
   ============================================================================ */

/* ----------------------------------------------------------------------------
   1. DESIGN TOKENS
   Change brand colours, spacing, and type here once — everything else follows.
   ---------------------------------------------------------------------------- */
:root {
  /* Palette (from brand brief) */
  /* Contemporary-luxury palette: cool marble white, stone, charcoal/black,
     with gold reserved for fine highlights only. Ancient-Greece, timeless. */
  --alabaster:  #F5F4F1; /* cool marble white — base */
  --marble:     #FAF9F7; /* brightest marble (panels / highlights) */
  --sandstone:  #E8E5DE; /* light stone */
  --travertine: #D2CEC4; /* mid stone */
  --stone-grey: #948F86; /* cool taupe-grey */
  --gold:       #C2A368; /* refined gold — fine highlights only */
  --gold-deep:  #A8884A; /* deeper gold for text/contrast on light */
  --ink:        #1A1917; /* near-black charcoal — text + B&W luxury */

  /* Stone / marble depth tones */
  --champagne:  #E6DCC2; /* pale luminous highlight */
  --stone-deep: #6F6A61; /* deep stone */
  --obsidian:   #16161A; /* cool near-black for 'altar' panels */
  --obsidian-2: #202026; /* slightly lifted obsidian for gradients */
  --espresso:   #1A1A1E; /* (kept for compatibility) */
  --twilight:   #131317; /* darkest */

  /* Gradient tokens — gold kept thin & jewel-like; used sparingly */
  --grad-gold:    linear-gradient(135deg, #E6DCC2 0%, #C2A368 48%, #A8884A 100%);
  --grad-warm:    linear-gradient(120deg, #D9CBAE 0%, #C2A368 50%, #A8884A 100%);
  --grad-rule:    linear-gradient(90deg, transparent, #C2A368 22%, #E6DCC2 50%, #A8884A 78%, transparent);

  /* Semantic aliases */
  --bg:          var(--alabaster);
  --bg-alt:      #ECEAE4;          /* cool stone wash for alternating sections */
  --bg-deep:     var(--sandstone);
  --text:        var(--ink);
  --text-soft:   #45423D;          /* cool muted body / captions */
  --text-faint:  var(--stone-grey);
  --accent:      var(--gold);
  --rule:        rgba(194, 163, 104, 0.42); /* fine gold hairline */

  /* Typography */
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body:    "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Fluid type scale (clamp: min, preferred, max) */
  --step--1: clamp(0.82rem, 0.79rem + 0.15vw, 0.9rem);
  --step-0:  clamp(1rem, 0.96rem + 0.2vw, 1.12rem);
  --step-1:  clamp(1.2rem, 1.12rem + 0.4vw, 1.45rem);
  --step-2:  clamp(1.5rem, 1.35rem + 0.75vw, 2rem);
  --step-3:  clamp(1.9rem, 1.6rem + 1.5vw, 2.85rem);
  --step-4:  clamp(2.3rem, 1.85rem + 2.3vw, 3.9rem);
  --step-5:  clamp(2.7rem, 2rem + 3.4vw, 5rem);

  /* Spacing scale */
  --space-2xs: 0.5rem;
  --space-xs:  0.75rem;
  --space-sm:  1rem;
  --space-md:  1.5rem;
  --space-lg:  2.5rem;
  --space-xl:  4rem;
  --space-2xl: 6rem;

  /* Layout */
  --container:      68rem;  /* ~1088px max content width */
  --container-narrow: 46rem; /* prose / single column */
  --radius:   4px;
  --radius-lg: 10px;

  /* Effects */
  --shadow-soft: 0 18px 50px -28px rgba(46, 42, 39, 0.4);
  --shadow-card: 0 10px 30px -20px rgba(46, 42, 39, 0.45);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ----------------------------------------------------------------------------
   2. RESET & BASE
   ---------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background-color: var(--bg);
  /* Subtle stone texture: two faint radial washes. Image-light by design —
     no external image needed; this keeps the page fast. */
  background-image:
    radial-gradient(1200px 800px at 12% -10%, rgba(194, 163, 104, 0.05), transparent 60%),
    radial-gradient(1000px 700px at 110% 10%, rgba(210, 206, 196, 0.30), transparent 55%);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

/* Accessible focus ring */
:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Skip link for keyboard / screen-reader users */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--alabaster);
  padding: 0.6rem 1rem;
  z-index: 200;
  border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; }

/* ----------------------------------------------------------------------------
   3. TYPOGRAPHY
   ---------------------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
  color: var(--ink);
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
  font-optical-sizing: auto;
}

h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); font-weight: 500; }

p { margin: 0 0 1.1em; max-width: 60ch; }

a { color: var(--gold-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }

strong { font-weight: 600; }

small, .small {
  font-size: var(--step--1);
  color: var(--text-faint);
  letter-spacing: 0.02em;
}

/* The recurring brand signature line */
.signature {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--step-0);
  letter-spacing: 0.04em;
  color: var(--gold-deep);
}

/* Small uppercase label / eyebrow above headings */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
  /* Gradient gold text */
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
/* (eyebrow flourish dash removed for a cleaner, minimal look) */

/* Lead paragraph (slightly larger, for hero sub-copy) */
.lead {
  font-size: var(--step-1);
  line-height: 1.55;
  color: var(--text-soft);
}

/* Display serif emphasis line used in body sections */
.statement {
  font-family: var(--font-display);
  font-size: var(--step-2);
  line-height: 1.25;
  color: var(--ink);
  max-width: 22ch;
}

/* ----------------------------------------------------------------------------
   4. LAYOUT HELPERS
   ---------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-md);
}
.container--narrow { max-width: var(--container-narrow); }

section { padding-block: var(--space-xl); }
.section--tight { padding-block: var(--space-lg); }
.section--alt { background: var(--bg-alt); }
.section--stone { background: var(--bg-deep); }

/* Gold hairline rule used to separate ideas */
.rule {
  border: 0;
  height: 1px;
  background: var(--grad-rule);
  max-width: 5rem;
  margin: var(--space-md) 0;
}
.rule--center { margin-inline: auto; }
.rule--wide { max-width: 14rem; }

.stack > * + * { margin-top: var(--space-md); }
.stack-lg > * + * { margin-top: var(--space-lg); }

.text-center { text-align: center; }
.measure { max-width: 38ch; }
.measure-wide { max-width: 60ch; }

/* ----------------------------------------------------------------------------
   5. HEADER / NAVIGATION
   ---------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 243, 236, 0.82);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  min-height: 64px;
  padding-block: 0.6rem;
}

/* Brand logo lockup: the square+circle emblem + wordmark (from the brand mark) */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.logo__mark {
  width: 30px;
  height: 30px;
  flex: none;
  color: var(--ink);
  transition: color 0.3s var(--ease), transform 0.5s var(--ease);
}
.logo:hover .logo__mark { color: var(--gold-deep); transform: rotate(0.5deg); }
.logo__word {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  line-height: 1;
}
.logo:hover .logo__word { color: var(--gold-deep); }

/* Desktop nav links hidden on mobile; toggled into a panel */
.nav { display: flex; align-items: center; gap: var(--space-md); }
.nav__links {
  list-style: none;
  display: none; /* hidden on mobile, shown >= tablet */
  gap: var(--space-md);
  margin: 0;
  padding: 0;
}
.nav__links a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}
.nav__links a:hover,
.nav__links a[aria-current="page"] { color: var(--gold-deep); }

/* Mobile menu button */
.nav__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  cursor: pointer;
  color: var(--ink);
}
.nav__toggle span,
.nav__toggle span::before,
.nav__toggle span::after {
  content: "";
  display: block;
  width: 18px; height: 1.5px;
  background: currentColor;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.nav__toggle span::before { transform: translateY(-6px); }
.nav__toggle span::after  { transform: translateY(4.5px); }
.nav__toggle span { position: relative; }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after  { transform: rotate(-45deg); }

/* Mobile slide-down panel */
.mobile-nav {
  display: none;
  border-bottom: 1px solid var(--rule);
  background: var(--alabaster);
}
.mobile-nav.is-open { display: block; }
.mobile-nav ul { list-style: none; margin: 0; padding: var(--space-sm) 0; }
.mobile-nav a {
  display: block;
  padding: 0.85rem var(--space-md);
  color: var(--text);
  text-decoration: none;
  font-size: 1.05rem;
  border-bottom: 1px solid rgba(201,166,107,0.18);
}
.mobile-nav a[aria-current="page"] { color: var(--gold-deep); }
.mobile-nav .btn { margin: var(--space-sm) var(--space-md); display: block; text-align: center; }

/* The primary nav CTA (Become a Founding Member) — small on mobile */
.nav__cta { white-space: nowrap; }

/* ----------------------------------------------------------------------------
   6. BUTTONS & LINKS
   ---------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background-color 0.2s var(--ease),
              color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.btn:active { transform: translateY(1px); }

/* Primary = the ONE repeated action. Contemporary B&W luxury: charcoal with a
   fine gold hairline. Black & white leads; gold is the whisper of a highlight. */
.btn--primary {
  background: var(--ink);
  color: var(--marble);
  letter-spacing: 0.08em;
  box-shadow:
    inset 0 0 0 1px rgba(194,163,104,0.35),
    0 18px 42px -24px rgba(26,25,23,0.6);
  transition: transform 0.25s var(--ease), box-shadow 0.3s var(--ease),
              background-color 0.3s var(--ease);
}
.btn--primary:hover {
  background: #000;
  color: #fff;
  box-shadow:
    inset 0 0 0 1px rgba(194,163,104,0.85),
    0 22px 50px -22px rgba(0,0,0,0.55);
}

/* Secondary = quiet outline. Never competes with primary. */
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--rule);
}
.btn--ghost:hover { border-color: var(--gold-deep); color: var(--gold-deep); }

/* Small text-style link with arrow, for quiet secondary paths */
.link-quiet {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--gold-deep);
  text-decoration: none;
  letter-spacing: 0.01em;
}
.link-quiet:hover { color: var(--ink); }
.link-quiet .arrow { transition: transform 0.2s var(--ease); }
.link-quiet:hover .arrow { transform: translateX(3px); }

.btn--block { width: 100%; }

/* ----------------------------------------------------------------------------
   7. FORMS
   ---------------------------------------------------------------------------- */
.form { max-width: 30rem; }
.form__row { margin-bottom: var(--space-sm); }

label { display: block; font-size: 0.9rem; font-weight: 500; margin-bottom: 0.35rem; }

input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--travertine);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
textarea { min-height: 8rem; resize: vertical; }
input:focus, textarea:focus, select:focus {
  border-color: var(--gold-deep);
  box-shadow: 0 0 0 3px rgba(201,166,107,0.18);
  outline: none;
}
::placeholder { color: var(--stone-grey); opacity: 0.8; }

/* Email-capture inline form: field + button stack on mobile, row on desktop */
.capture {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  max-width: 30rem;
}
.capture input[type="email"] { flex: 1; }

/* Consent line under the signup (CASL requirement) */
.consent {
  font-size: 0.8rem;
  color: var(--text-faint);
  line-height: 1.5;
  margin-top: var(--space-xs);
  max-width: 34rem;
}
.consent a { color: var(--gold-deep); }

/* Honeypot anti-spam field — visually hidden, off-screen */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* In-page success state (shown after successful submit) */
.form-success {
  display: none;
  background: var(--bg-deep);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-card);
}
.form-success.is-visible { display: block; }
.form-success h3 { color: var(--ink); }

/* Error message */
.form-error {
  display: none;
  color: #8a3b2e;
  font-size: 0.9rem;
  margin-top: var(--space-xs);
}
.form-error.is-visible { display: block; }

/* ----------------------------------------------------------------------------
   8. COMPONENTS
   ---------------------------------------------------------------------------- */

/* --- Hero --- */
.hero {
  padding-block: var(--space-xl) var(--space-lg);
  position: relative;
}
.hero__inner { max-width: 42rem; }
.hero h1 { margin-bottom: var(--space-md); }
.hero .lead { margin-bottom: var(--space-lg); }
.hero__note {
  font-size: 0.9rem;
  color: var(--text-soft);
  max-width: 36rem;
  margin-top: var(--space-md);
}
.hero__sig { margin-top: var(--space-lg); }

/* --- Generic content block --- */
.block__title { margin-bottom: var(--space-md); }

/* --- App centerpiece / "altar": a floating obsidian panel, like a lit
       artwork on a marble wall. Dark, so the resonance glows; framed in a
       fine gold hairline. Used on luminous-marble pages for drama. --- */
.app-feature,
.altar {
  position: relative;
  background:
    radial-gradient(130% 120% at 50% -10%, var(--obsidian-2) 0%, var(--obsidian) 62%, #0E0E11 100%);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl) var(--space-md);
  text-align: center;
  color: #E8E4DB;
  box-shadow:
    inset 0 0 0 1px rgba(194,163,104,0.30),
    0 60px 120px -50px rgba(20,19,17,0.55);
  overflow: hidden;
}
/* faint gold halo drifting at the top of the altar */
.app-feature::before,
.altar::before {
  content: "";
  position: absolute;
  top: -28%; left: 50%;
  width: 80%; height: 70%;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(194,163,104,0.22), transparent 70%);
  pointer-events: none;
}
.app-feature > *,
.altar > * { position: relative; z-index: 1; }
.app-feature h2 { font-size: var(--step-3); }

/* Light text inside the dark altar */
.app-feature h1, .app-feature h2, .app-feature h3, .app-feature .statement,
.altar h1, .altar h2, .altar h3, .altar .statement { color: #F4EFE6; }
.app-feature p, .altar p { color: rgba(232,228,219,0.82); }
.app-feature .lead, .altar .lead { color: rgba(232,228,219,0.92); }
.app-feature .small, .altar .small { color: rgba(232,228,219,0.55); }

/* Tuner controls themed for the dark altar */
.app-feature .tuner__feel, .altar .tuner__feel { color: #F4EFE6; }
.app-feature .tuner__line, .altar .tuner__line { color: rgba(232,228,219,0.85); }
.app-feature .tuner__state, .altar .tuner__state {
  background: rgba(255,255,255,0.06);
  border-color: rgba(194,163,104,0.4);
  color: #E8E4DB;
}
.app-feature .tuner__state:hover, .altar .tuner__state:hover { border-color: var(--gold); color: #F4EFE6; }
.app-feature .tuner__state.is-active, .altar .tuner__state.is-active {
  background: var(--grad-gold);
  color: #1A1917;
  border-color: transparent;
}

/* State tiles (Calm · Clear · Rest · Open · Energized) */
.state-tiles {
  list-style: none;
  margin: var(--space-lg) 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xs);
}
.state-tiles li {
  background: var(--alabaster);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 1rem 0.75rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.state-tiles li:last-child:nth-child(odd) { grid-column: 1 / -1; }

/* --- Cards (secondary "go deeper" paths) --- */
.cards { display: grid; gap: var(--space-md); }
.card {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.72), rgba(247,243,236,0.5));
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
/* Jewel-like gradient accent along the top edge of each card */
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-gold);
  opacity: 0.85;
}
.card h3 { font-size: var(--step-1); }
.card__kicker {
  display: block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-top: 0.4rem;
}
.card p { color: var(--text-soft); font-size: 0.96rem; }
.card .link-quiet { margin-top: var(--space-xs); }

/* --- Offer / inclusion list (Founding Members page) --- */
.offer {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.85), rgba(247,243,236,0.7));
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-soft);
  /* Gradient gold border via padding-box/border-box layering */
  border: 1.5px solid transparent;
  background-origin: border-box;
  background-clip: padding-box;
}
.offer::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: var(--grad-gold);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}
.offer__value {
  font-family: var(--font-display);
  font-size: var(--step-2);
  margin: var(--space-md) 0;
  background: var(--grad-warm);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.feature-list { list-style: none; margin: 0 0 var(--space-md); padding: 0; }
.feature-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.9rem;
  color: var(--text-soft);
}
.feature-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  top: 0.05em;
  color: var(--gold-deep);
  font-size: 0.9em;
}
.feature-list strong { color: var(--ink); font-weight: 600; }

/* --- Quote / testimonial --- */
.quote {
  border-left: 2px solid var(--gold);
  padding-left: var(--space-md);
  max-width: 44rem;
}
.quote blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--step-2);
  line-height: 1.35;
  color: var(--ink);
}
.quote cite {
  display: block;
  margin-top: var(--space-sm);
  font-style: normal;
  font-family: var(--font-body);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  color: var(--text-faint);
}

/* --- Reassurance note near a button --- */
.reassure {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--text-soft);
  max-width: 34rem;
}

/* --- Prose (long-form About story) --- */
.prose { max-width: var(--container-narrow); }
.prose p { font-size: 1.06rem; line-height: 1.8; color: #4a423b; }
.prose p:first-of-type::first-letter {
  font-family: var(--font-display);
  font-size: 3.4em;
  float: left;
  line-height: 0.8;
  padding: 0.05em 0.12em 0 0;
  color: var(--gold-deep);
}

/* --- CTA band (repeated primary action, used near page ends) --- */
.cta-band {
  background: var(--bg-deep);
  border-block: 1px solid var(--rule);
  text-align: center;
}
.cta-band h2 { margin-bottom: var(--space-md); }

/* --- Footer --- */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--rule);
  padding-block: var(--space-xl);
}
.site-footer .footer__cta { margin-bottom: var(--space-lg); }
.footer__meta {
  font-size: 0.85rem;
  color: var(--text-faint);
  line-height: 1.8;
}
.footer__meta a { color: var(--gold-deep); text-decoration: none; }
.footer__meta a:hover { color: var(--ink); }
.footer__links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  padding: 0;
  margin: var(--space-md) 0;
}
.footer__links a { color: var(--text); text-decoration: none; font-size: 0.9rem; }
.footer__links a:hover { color: var(--gold-deep); }
.footer__sig { margin-top: var(--space-md); }

/* ----------------------------------------------------------------------------
   9. UTILITIES
   ---------------------------------------------------------------------------- */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ----------------------------------------------------------------------------
   10. RESPONSIVE (tablet / desktop enhancements)
   ---------------------------------------------------------------------------- */

/* >= 600px : forms inline, tiles in a row of 3, two-column cards */
@media (min-width: 600px) {
  .capture { flex-direction: row; align-items: stretch; }
  .capture .btn { white-space: nowrap; }

  .state-tiles { grid-template-columns: repeat(3, 1fr); }
  .state-tiles li:last-child:nth-child(odd) { grid-column: auto; }

  .cards--2 { grid-template-columns: 1fr 1fr; }
}

/* >= 860px : show desktop nav, hide mobile toggle, larger section rhythm */
@media (min-width: 860px) {
  .nav__links { display: flex; }
  .nav__toggle { display: none; }
  .mobile-nav { display: none !important; }

  section { padding-block: var(--space-2xl); }
  .hero { padding-block: var(--space-2xl) var(--space-xl); }

  .app-feature { padding: var(--space-2xl) var(--space-xl); }
  .state-tiles { grid-template-columns: repeat(5, 1fr); max-width: 46rem; margin-inline: auto; }

  /* Two-column split layout (text + aside) */
  .split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--space-2xl); align-items: start; }
  .split--center { align-items: center; }

  /* Three-up card row (the ecosystem) */
  .cards--3 { grid-template-columns: repeat(3, 1fr); }
}

/* >= 1100px : a touch more air */
@media (min-width: 1100px) {
  .hero__inner { max-width: 46rem; }
}

/* ============================================================================
   11. MOTION, AMBIENCE & INTERACTIVITY  (the "temple at dawn" luxury layer)
   ----------------------------------------------------------------------------
   Progressive enhancement. All of it degrades gracefully and is disabled under
   prefers-reduced-motion (see the block at the very end of this file).
   ============================================================================ */

/* --- Dawn ambient: slow warm light that very gently breathes behind all --- */
body::before {
  content: "";
  position: fixed;
  inset: -10%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(46% 40% at 18% 8%,  rgba(194,163,104,0.10), transparent 62%),
    radial-gradient(40% 38% at 88% 12%, rgba(214,210,200,0.40), transparent 58%),
    radial-gradient(60% 55% at 50% 116%, rgba(180,176,166,0.10), transparent 60%);
  animation: dawn 30s ease-in-out infinite alternate;
}
@keyframes dawn {
  0%   { opacity: 0.7;  transform: translate3d(-1.5%, -1%, 0) scale(1.02); }
  100% { opacity: 1;    transform: translate3d(1.5%, 1.5%, 0) scale(1.06); }
}

/* --- Film grain: a whisper of texture for that printed, expensive feel --- */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.04;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* Keep content above the grain layer */
.site-header, main, .site-footer { position: relative; z-index: 1; }

/* --- Scroll reveal: elements rise and fade into place --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 1s var(--ease),
    transform 1.1s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* Hairline rules draw themselves across instead of fading */
.rule.reveal { transform: scaleX(0); transform-origin: left center; opacity: 1; }
.rule.rule--center.reveal { transform-origin: center; }
.rule.reveal.is-visible { transform: scaleX(1); }

/* --- Gold sheen sweep across primary buttons on hover --- */
.btn--primary { position: relative; overflow: hidden; }
.btn--primary::after {
  content: "";
  position: absolute;
  top: 0; left: -130%;
  width: 70%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.5), transparent);
  transform: skewX(-18deg);
  transition: left 0.7s var(--ease);
  pointer-events: none;
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 22px 48px -22px rgba(46,42,39,0.55); }
.btn--primary:hover::after { left: 130%; }
.btn { transition: transform 0.25s var(--ease), background-color 0.25s var(--ease),
        color 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease); }
.btn--ghost:hover { transform: translateY(-2px); }

/* --- Animated underline for quiet links --- */
.link-quiet { position: relative; }
.link-quiet::before {
  content: "";
  position: absolute;
  left: 0; bottom: -3px;
  width: 100%; height: 1px;
  background: var(--gold-deep);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.link-quiet:hover::before { transform: scaleX(1); }

/* --- Cards: lift and warm gold glow on hover --- */
.card {
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease),
              border-color 0.45s var(--ease), background-color 0.45s var(--ease);
  position: relative;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 70px -34px rgba(46,42,39,0.55);
  border-color: var(--gold);
  background: rgba(255,255,255,0.72);
}

/* --- State tiles: lift + glow (also used as decorative non-interactive) --- */
.state-tiles li {
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease),
              border-color 0.4s var(--ease), color 0.3s var(--ease);
}
.state-tiles li:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  box-shadow: 0 16px 36px -22px rgba(201,166,107,0.8);
  color: var(--gold-deep);
}

/* ============================================================================
   12. TUNING COMPONENTS  (waveforms, the Tuner, breathing orb)
   ============================================================================ */

/* --- Resonance wavefield (canvas) --- */
.wavefield {
  position: relative;
  width: 100%;
  height: 160px;
  margin-block: var(--space-md);
}
.wavefield canvas { width: 100%; height: 100%; display: block; }
.wavefield--hero {
  height: 200px;
  margin-top: var(--space-lg);
}
.wavefield--tall { height: 240px; }

/* Hero can carry a faint full-bleed wave behind the content */
.hero { position: relative; overflow: hidden; }
.hero__wave {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 320px;
  opacity: 0.9;
  pointer-events: none;
  z-index: 0;
}
.hero__wave canvas { width: 100%; height: 100%; }
.hero__inner { position: relative; z-index: 1; }

/* --- The braced ↔ healing toggle --- */
.coherence-toggle {
  display: inline-flex;
  gap: 0.25rem;
  padding: 0.3rem;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: rgba(255,255,255,0.5);
}
.coherence-toggle button {
  border: 0;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  color: var(--text-soft);
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.coherence-toggle button.is-active {
  background: var(--gold);
  color: var(--ink);
}

/* --- The Tuner --- */
.tuner {
  display: grid;
  gap: var(--space-md);
  justify-items: center;
  text-align: center;
}
.tuner__stage {
  position: relative;
  width: min(420px, 84vw);
  aspect-ratio: 1 / 1;
}
.tuner__stage canvas { width: 100%; height: 100%; display: block; }
.tuner__feel {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: var(--step-2);
  letter-spacing: 0.04em;
  color: var(--ink);
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}
.tuner__line {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--step-1);
  color: var(--text-soft);
  min-height: 2.4em;
  max-width: 28ch;
  transition: opacity 0.4s var(--ease);
}
.tuner__states {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}
.tuner__state {
  border: 1px solid var(--rule);
  background: rgba(255,255,255,0.55);
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease),
              border-color 0.35s var(--ease), transform 0.35s var(--ease),
              box-shadow 0.35s var(--ease);
}
.tuner__state:hover { transform: translateY(-2px); border-color: var(--gold); }
.tuner__state.is-active {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
  box-shadow: 0 14px 30px -16px rgba(201,166,107,0.9);
}

/* --- Breathing orb --- */
.breath {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  text-align: center;
}
.breath__stage {
  position: relative;
  width: 220px; height: 220px;
  display: flex; align-items: center; justify-content: center;
}
.breath__orb {
  width: 150px; height: 150px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 38%, #F3E6CC 0%, var(--gold) 55%, var(--gold-deep) 100%);
  box-shadow:
    0 0 60px -6px rgba(201,166,107,0.65),
    inset 0 0 40px rgba(255,255,255,0.4);
  transform: scale(0.72);
  will-change: transform;
}
.breath__halo {
  position: absolute;
  width: 210px; height: 210px;
  border-radius: 50%;
  border: 1px solid var(--rule);
  pointer-events: none;
}
.breath__label {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--step-1);
  letter-spacing: 0.06em;
  color: var(--gold-deep);
}

/* ============================================================================
   12b. "TEMPLE AT DUSK" — deep warm section for the interactive centerpiece
   ----------------------------------------------------------------------------
   A single dramatic dark-warm moment makes the glowing resonance feel
   expensive. Kept warm (espresso/bronze, never pure black) with light text.
   ============================================================================ */
.section--twilight {
  position: relative;
  background:
    radial-gradient(130% 100% at 50% -15%, #4a3526 0%, var(--espresso) 46%, var(--twilight) 100%);
  color: #EADBC2;
  overflow: hidden;
}
/* soft gold halo drifting at the top of the dusk section */
.section--twilight::before {
  content: "";
  position: absolute;
  top: -30%; left: 50%;
  width: 90%; height: 80%;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(201,166,107,0.22), transparent 70%);
  pointer-events: none;
}
.section--twilight > .container { position: relative; z-index: 1; }
.section--twilight h1,
.section--twilight h2,
.section--twilight h3,
.section--twilight .statement { color: #F7EEDC; }
.section--twilight p { color: rgba(234,219,194,0.82); }
.section--twilight .lead { color: rgba(234,219,194,0.92); }
.section--twilight .small { color: rgba(234,219,194,0.6); }
.section--twilight .reassure { color: rgba(234,219,194,0.78); }

/* App panel becomes glass with a gold edge on dusk */
.section--twilight .app-feature {
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(201,166,107,0.30);
  box-shadow:
    0 50px 130px -55px rgba(0,0,0,0.85),
    inset 0 1px 0 rgba(255,255,255,0.07);
  -webkit-backdrop-filter: blur(2px);
          backdrop-filter: blur(2px);
}

/* Tuner controls re-themed for the dark backdrop */
.section--twilight .tuner__feel { color: #F7EEDC; }
.section--twilight .tuner__line { color: rgba(234,219,194,0.85); }
.section--twilight .tuner__state {
  background: rgba(255,255,255,0.06);
  border-color: rgba(201,166,107,0.4);
  color: #EADBC2;
}
.section--twilight .tuner__state:hover { border-color: var(--gold); color: #F7EEDC; }
.section--twilight .tuner__state.is-active {
  background: var(--grad-gold);
  color: #2E2A27;
  border-color: transparent;
}

/* ============================================================================
   13. REDUCED MOTION — calm everything down
   ============================================================================ */
@media (prefers-reduced-motion: reduce) {
  body::before { animation: none; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .rule.reveal { transform: scaleX(1) !important; }
  .btn--primary::after { display: none; }
  .breath__orb { transform: scale(0.9); }
}

/* ============================================================================
   14. MARBLE CHROME — cinematic photo band, portrait, footer mark
   ----------------------------------------------------------------------------
   Page heroes use the abstract resonance wave (.hero__wave, above). Real
   photography appears in the homepage .imageband and the About .portrait.
   ============================================================================ */

/* --- Cinematic full-bleed photo band (real imagery, "larger than life") --- */
.imageband {
  position: relative;
  min-height: clamp(380px, 72vh, 660px);
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  background-image:
    linear-gradient(rgba(20,19,17,0.32), rgba(20,19,17,0.46)),
    url("../assets/landscape.jpg");
  background-size: cover;
  background-position: center 38%;
  background-attachment: fixed; /* gentle parallax on desktop */
}
.imageband__inner { position: relative; z-index: 1; padding: var(--space-2xl) var(--space-md); max-width: 40rem; }
.imageband h2 { color: #fff; text-shadow: 0 2px 40px rgba(0,0,0,0.45); }
.imageband .signature { color: var(--champagne); }
.imageband .eyebrow { background: none; color: var(--champagne); -webkit-text-fill-color: var(--champagne); }
.imageband .eyebrow::before { background: var(--champagne); }
@media (max-width: 700px) {
  .imageband {
    background-attachment: scroll;
    background-image:
      linear-gradient(rgba(20,19,17,0.38), rgba(20,19,17,0.52)),
      url("../assets/landscape-mobile.jpg");
  }
}

/* --- Framed portrait (About) --- */
.portrait {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }
.portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(194,163,104,0.5);
  border-radius: inherit;
  pointer-events: none;
}
.hero--portrait { padding-bottom: var(--space-xl); }
.hero--portrait .portrait { max-width: 420px; }

/* Footer brand mark */
.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: var(--space-md);
  color: var(--ink);
  text-decoration: none;
}
.footer__brand .logo__mark { width: 28px; height: 28px; }
.footer__brand .logo__word {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

/* ============================================================================
   15. COSMIC THEME  — deep jewel base (phthalo green · royal blue · violet)
   with sparkly gold as starlight. This block re-skins the whole site by
   redefining the palette tokens, then overriding the few hardcoded surfaces.
   ============================================================================ */
:root {
  --alabaster: #0B1A1E;   /* deep phthalo-night base */
  --marble:    #10262A;   /* lifted surface */
  --sandstone: #0E1F33;   /* royal-tinted panel */
  --travertine:#3A4C56;
  --stone-grey:#93A1A6;
  --gold:      #D9B978;   /* sparkly gold (starlight) */
  --gold-deep: #E3C57E;   /* luminous gold for text/links on dark */
  --ink:       #F1EAD8;   /* primary cream text + headings */
  --champagne: #F2E8CE;
  --stone-deep:#AEB8BB;
  --obsidian:  #0A1418;
  --obsidian-2:#122A3C;

  --grad-gold: linear-gradient(135deg, #F3E8C6 0%, #D9B978 50%, #C2A368 100%);
  --grad-warm: linear-gradient(135deg, #F3E8C6 0%, #D9B978 50%, #C2A368 100%);
  --grad-rule: linear-gradient(90deg, transparent, #D9B978 22%, #F3E8C6 50%, #C2A368 78%, transparent);
  --grad-jewel: linear-gradient(120deg, #1FA98A 0%, #3A6BE0 50%, #8B5CF6 100%);

  --bg:        var(--alabaster);
  --bg-alt:    #0E2126;   /* alternating deep section */
  --bg-deep:   #102A40;   /* royal band (CTA) */
  --text:      #E7DECB;   /* cream body */
  --text-soft: #C4CBC8;
  --text-faint:#93A1A6;
  --rule:      rgba(217, 185, 120, 0.45);
  --shadow-soft: 0 30px 80px -36px rgba(0,0,0,0.7);
  --shadow-card: 0 18px 44px -26px rgba(0,0,0,0.65);
}

/* base background: a deep cosmic nebula (phthalo → royal → violet) */
body {
  background-color: var(--bg);
  background-image:
    radial-gradient(120% 110% at 18% -8%, rgba(31,120,98,0.45), transparent 60%),
    radial-gradient(120% 110% at 92% 4%, rgba(38,70,170,0.40), transparent 58%),
    radial-gradient(140% 120% at 55% 120%, rgba(120,70,210,0.38), transparent 60%),
    linear-gradient(180deg, #0A1620, #0A1320);
}

/* aurora glow drifting behind everything */
body::before {
  background:
    radial-gradient(44% 38% at 16% 6%, rgba(31,169,138,0.20), transparent 62%),
    radial-gradient(40% 36% at 86% 12%, rgba(58,107,224,0.20), transparent 58%),
    radial-gradient(60% 55% at 50% 118%, rgba(139,92,246,0.18), transparent 60%);
}

/* sparkle: a gentle, twinkling gold starfield (replaces the film grain) */
body::after {
  opacity: 1;
  mix-blend-mode: normal;
  background-repeat: repeat;
  background-size: 340px 340px;
  background-image:
    radial-gradient(1.5px 1.5px at 24% 28%, rgba(242,232,206,0.95), transparent),
    radial-gradient(1.4px 1.4px at 72% 18%, rgba(217,185,120,0.85), transparent),
    radial-gradient(1.6px 1.6px at 45% 62%, rgba(242,232,206,0.8), transparent),
    radial-gradient(1.3px 1.3px at 86% 70%, rgba(217,185,120,0.8), transparent),
    radial-gradient(1.5px 1.5px at 34% 86%, rgba(242,232,206,0.7), transparent),
    radial-gradient(1.2px 1.2px at 62% 46%, rgba(242,232,206,0.7), transparent),
    radial-gradient(1.5px 1.5px at 10% 58%, rgba(217,185,120,0.7), transparent),
    radial-gradient(1.3px 1.3px at 92% 40%, rgba(242,232,206,0.65), transparent);
  animation: twinkle 6s ease-in-out infinite alternate;
}
@keyframes twinkle { from { opacity: 0.55; } to { opacity: 1; } }

/* header / footer / panels on dark */
.site-header { background: rgba(10,20,24,0.72); }
.mobile-nav { background: rgba(10,20,24,0.96); }

/* primary CTA: gold gradient = starlight pill */
.btn--primary {
  background: var(--grad-gold);
  color: #16110A;
  box-shadow: 0 14px 34px -16px rgba(217,185,120,0.55), inset 0 0 0 1px rgba(255,255,255,0.25);
}
.btn--primary:hover {
  background: linear-gradient(135deg, #FCEFCB, #E6C982 50%, #CBA75E);
  color: #16110A;
  box-shadow: 0 20px 46px -16px rgba(217,185,120,0.75);
}

/* forms on dark */
input[type="text"], input[type="email"], input[type="tel"], textarea, select {
  background: rgba(255,255,255,0.05);
  color: var(--text);
  border-color: rgba(217,185,120,0.30);
}
::placeholder { color: var(--text-faint); }
.form-error { color: #E89B8B; }

/* glassy cards / offer / toggles on the cosmic base */
.card { background: rgba(255,255,255,0.045); }
.card:hover { background: rgba(255,255,255,0.08); box-shadow: 0 34px 70px -34px rgba(0,0,0,0.7); }
.offer { background: rgba(255,255,255,0.05); }
.coherence-toggle { background: rgba(255,255,255,0.06); }
.tuner__state { background: rgba(255,255,255,0.06); color: var(--text); }
.state-tiles li { background: rgba(255,255,255,0.045); color: var(--ink); }

/* prose (About story) on dark */
.prose p { color: var(--text); }

/* the interactive "altar" becomes a jewel temple-at-night */
.app-feature, .altar {
  background: radial-gradient(130% 120% at 50% -10%, #0F4A3A 0%, #0C2147 48%, #1C1147 100%);
  box-shadow: inset 0 0 0 1px rgba(217,185,120,0.32), 0 60px 120px -50px rgba(0,0,0,0.7);
}
.app-feature::before, .altar::before {
  background: radial-gradient(closest-side, rgba(217,185,120,0.25), transparent 70%);
}

/* reduced-motion: stop the twinkle */
@media (prefers-reduced-motion: reduce) {
  body::after { animation: none; opacity: 0.8; }
}

/* ============================================================================
   16. COURSE READING PAGE  (course.html)
   ============================================================================ */
.member-bar{
  background:linear-gradient(90deg, rgba(31,169,138,.16), rgba(58,107,224,.16) 50%, rgba(139,92,246,.16));
  border-bottom:1px solid var(--rule); text-align:center;
  padding:.7rem 1rem; font-size:.82rem; letter-spacing:.02em; color:var(--ink);
}
.member-bar strong{ color:var(--gold-deep); font-weight:600; }

.course-contents{ list-style:none; padding:0; margin:1.5rem 0 0; display:grid; gap:.5rem; }
.course-contents a{
  display:flex; gap:.9rem; align-items:baseline; text-decoration:none; color:var(--text);
  padding:.7rem .95rem; border:1px solid var(--rule); border-radius:12px;
  background:rgba(255,255,255,.04); transition:background .2s ease, transform .2s ease;
}
.course-contents a:hover{ background:rgba(255,255,255,.08); transform:translateY(-1px); }
.course-contents .num{ font-family:var(--font-display); color:var(--gold-deep); font-size:1.05rem; min-width:1.4em; }

.module{ padding-top:var(--space-lg); }
.module__num{
  font-family:var(--font-display); font-size:clamp(2.4rem,7vw,3.6rem); line-height:1;
  background:var(--grad-gold); -webkit-background-clip:text; background-clip:text; color:transparent;
  display:block; margin-bottom:.2rem;
}
.lesson-box{
  border:1px solid var(--rule); border-radius:16px; padding:1.4rem 1.5rem; margin-top:1.4rem;
  background:rgba(255,255,255,.045);
}
.lesson-box .label{
  display:inline-block; font-size:.7rem; letter-spacing:.18em; text-transform:uppercase;
  color:var(--gold-deep); margin-bottom:.6rem;
}
.lesson-box ul{ margin:.4rem 0 0; padding-left:1.1rem; }
.lesson-box li{ margin:.35rem 0; color:var(--text); }
.record-note{ font-size:.82rem; color:var(--gold-deep); opacity:.9; margin-top:.6rem; font-style:italic; }

/* ============================================================================
   17. V2 POLISH LAYER — custom-luxury refinements
   ----------------------------------------------------------------------------
   Everything below elevates the cosmic theme: richer heroes, pointer-aware
   card glow, gradient display text, pricing components for Work With Me,
   FAQ, steps, the tuner sound toggle, and a mobile sticky CTA. All additive.
   ============================================================================ */

/* Centered feature panels: paragraphs (buttons, chips, small notes) center too */
.app-feature p, .altar p { margin-inline: auto; }

/* --- Homepage power headline: the thesis, at full volume --- */
.hero-power {
  font-size: var(--step-5);
  line-height: 1.05;
  letter-spacing: -0.015em;
  max-width: 14ch;
}
.hero-power .grad-text { white-space: nowrap; }

/* --- Gradient display text (use sparingly, one line per page) --- */
.grad-text {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.grad-jewel-text {
  background: linear-gradient(120deg, #4FD8B8 0%, #7FA3F0 50%, #B79AF8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* --- Hero, elevated: taller stage, bigger type, a fine gold keyline --- */
.hero h1 { text-wrap: balance; }
.hero__inner .eyebrow { margin-bottom: var(--space-md); }

/* --- Header: deepens once you scroll (JS adds .is-scrolled) --- */
.site-header { transition: background-color 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.site-header.is-scrolled {
  background: rgba(8, 16, 20, 0.92);
  box-shadow: 0 18px 40px -28px rgba(0,0,0,0.8);
}

/* --- Pointer-aware glow on glass cards (JS sets --mx / --my) --- */
.card, .price-card { position: relative; }
.card::after, .price-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 20%),
              rgba(217,185,120,0.13), transparent 65%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}
.card:hover::after, .price-card:hover::after { opacity: 1; }

/* --- Tuner: sound toggle (Web Audio) --- */
.tuner__sound {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  border: 1px solid var(--rule);
  background: rgba(255,255,255,0.05);
  color: var(--gold-deep);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  cursor: pointer;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease),
              background-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.tuner__sound:hover { border-color: var(--gold); }
.tuner__sound.is-playing {
  background: rgba(217,185,120,0.14);
  border-color: var(--gold);
  box-shadow: 0 0 24px -6px rgba(217,185,120,0.55);
}
.tuner__sound .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px rgba(217,185,120,0.9);
}
.tuner__sound.is-playing .dot { animation: soundpulse 1.6s ease-in-out infinite; }
@keyframes soundpulse { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.6); opacity: 0.55; } }
.tuner__hint { font-size: 0.78rem; color: var(--text-faint); letter-spacing: 0.04em; }

/* --- Pricing (Work With Me) --- */
.price-cards { display: grid; gap: var(--space-md); margin-top: var(--space-lg); }
.price-card {
  position: relative;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s var(--ease);
}
.price-card:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: 0 34px 70px -34px rgba(0,0,0,0.75); }
.price-card h3 { font-size: var(--step-2); margin-bottom: 0.2em; }
.price-card .price-kicker {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold-deep); margin-bottom: 0.9rem; display: block;
}
.price {
  font-family: var(--font-display);
  font-size: var(--step-3);
  line-height: 1;
  margin: var(--space-sm) 0 0.35rem;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.price__meta { font-size: 0.85rem; color: var(--text-faint); margin-bottom: var(--space-md); }
.price-card .feature-list { margin-top: var(--space-sm); }
.price-card .btn { margin-top: auto; }

/* Featured container: jewel gradient border + floating badge */
.price-card--featured {
  background:
    linear-gradient(rgba(13,26,32,0.92), rgba(13,26,32,0.92)) padding-box,
    linear-gradient(120deg, #1FA98A, #3A6BE0 45%, #8B5CF6 75%, #D9B978) border-box;
  border: 1.6px solid transparent;
  box-shadow: 0 40px 90px -40px rgba(0,0,0,0.85), 0 0 60px -24px rgba(139,92,246,0.35);
}
.price-badge {
  position: absolute;
  top: -0.85rem; left: var(--space-lg);
  background: var(--grad-gold);
  color: #16110A;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  box-shadow: 0 10px 24px -10px rgba(217,185,120,0.7);
}

/* --- Numbered steps (how a session unfolds) --- */
.steps { list-style: none; margin: var(--space-lg) 0 0; padding: 0; counter-reset: step; display: grid; gap: var(--space-md); }
.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 3.4rem;
  color: var(--text-soft);
}
.steps li strong { color: var(--ink); display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.15rem; letter-spacing: 0.01em; margin-bottom: 0.25rem; }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0; top: 0.1rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--gold-deep);
  width: 2.4rem; height: 2.4rem;
  display: grid; place-items: center;
  border: 1px solid var(--rule);
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}

/* --- FAQ (native details/summary, styled) --- */
.faq { border-top: 1px solid var(--rule); margin-top: var(--space-lg); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-sm);
  padding: 1.1rem 0.2rem;
  font-family: var(--font-display);
  font-size: 1.12rem;
  color: var(--ink);
  transition: color 0.3s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--font-body);
  color: var(--gold-deep);
  font-size: 1.3rem;
  line-height: 1;
  transition: transform 0.3s var(--ease);
  flex: none;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--gold-deep); }
.faq .faq__body { padding: 0 0.2rem 1.2rem; color: var(--text-soft); max-width: 60ch; }

/* --- Mobile sticky CTA bar (sales pages; JS reveals after scroll) --- */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  padding: 0.8rem var(--space-md) calc(0.8rem + env(safe-area-inset-bottom));
  background: rgba(8,16,20,0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--rule);
  transform: translateY(110%);
  transition: transform 0.45s var(--ease);
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta .sticky-cta__label { font-size: 0.82rem; color: var(--text-soft); line-height: 1.35; }
.sticky-cta .sticky-cta__label strong { color: var(--ink); display: block; font-size: 0.9rem; }
.sticky-cta .btn { padding: 0.75rem 1.2rem; font-size: 0.86rem; white-space: nowrap; }
@media (min-width: 860px) { .sticky-cta { display: none; } }

/* --- Mechanism strip: "why sound works" science row --- */
.mech { display: grid; gap: var(--space-md); margin-top: var(--space-lg); }
.mech article {
  border-left: 2px solid transparent;
  border-image: linear-gradient(180deg, #1FA98A, #3A6BE0, #8B5CF6) 1;
  padding-left: var(--space-md);
}
.mech h3 { font-size: 1.15rem; margin-bottom: 0.3em; }
.mech p { font-size: 0.94rem; color: var(--text-soft); margin-bottom: 0; }
@media (min-width: 860px) { .mech { grid-template-columns: repeat(3, 1fr); gap: var(--space-lg); } }

/* --- App promo chip (Try the free version) --- */
.chip-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  border: 1px solid var(--rule);
  background: rgba(255,255,255,0.05);
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
  font-size: 0.88rem;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.chip-link:hover { border-color: var(--gold); color: var(--gold-deep); transform: translateY(-2px); box-shadow: 0 14px 30px -18px rgba(217,185,120,0.6); }
.chip-link .dot { width: 7px; height: 7px; border-radius: 50%; background: #4FD8B8; box-shadow: 0 0 10px rgba(79,216,184,0.9); animation: soundpulse 2.4s ease-in-out infinite; }

/* Desktop rhythm for pricing */
@media (min-width: 860px) {
  .price-cards--2 { grid-template-columns: 1fr 1.1fr; align-items: stretch; }
}

/* --- Real-photo cinematic band (set the image per-band via --pb-img) --- */
.photoband {
  position: relative;
  min-height: clamp(340px, 62vh, 600px);
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
@media (max-width: 700px), (prefers-reduced-motion: reduce) {
  .photoband { background-attachment: scroll; }
}
.photoband__inner { position: relative; z-index: 1; padding: var(--space-2xl) var(--space-md); max-width: 42rem; }
.photoband h2 { color: #fff; text-shadow: 0 2px 40px rgba(0,0,0,0.5); margin-inline: auto; }
.photoband p { color: var(--champagne); margin-inline: auto; text-shadow: 0 1px 24px rgba(0,0,0,0.6); }
.photoband .eyebrow { background: none; color: var(--champagne); -webkit-text-fill-color: var(--champagne); }
.photoband--tall { min-height: clamp(420px, 78vh, 720px); }

/* Reduced motion: calm the polish layer too */
@media (prefers-reduced-motion: reduce) {
  .sticky-cta { transition: none; }
  .tuner__sound.is-playing .dot, .chip-link .dot { animation: none; }
  .card::after, .price-card::after { display: none; }
}
