/* =================================================================
   MAISON UNE — The House of Effervescence
   Shared design system. Tokens locked from the Brand Book.
   ================================================================= */

:root {
  /* Earth — the foundation */
  --chalk:     #F5EFE6;  /* Chalk */
  --limestone: #E8DCC4;  /* Limestone */
  --terroir:   #C9A595;  /* Terroir Clay */
  --plum:      #5C3A48;  /* Pinot Plum */
  /* Light — the rising */
  --gold:      #B8924C;  /* Champagne Gold */
  --pale-gold: #E8D4A8;  /* Pale Gold */
  --ether:     #F0E8D6;  /* Ether Pearl */
  --blush:     #E8CCC2;  /* Sunlight Blush */
  /* Living — the botanicals */
  --vine:      #6F7A55;  /* Vine Green */
  --olive:     #92986F;  /* Olive Leaf */
  /* Ink */
  --ink:       #1C1B17;  /* Vine Ink */
  --soft-ink:  #6B655C;  /* Soft Ink */
  --rule:      #C9BDA8;

  --serif:  'Fraunces', 'Cormorant Garamond', 'Garamond', serif;
  --sans:   'Inter', sans-serif;
  --script: 'Pinyon Script', cursive;

  --wrap: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--chalk);
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--gold); color: var(--chalk); }

a { color: inherit; }

img, svg { max-width: 100%; height: auto; }

/* ---------- TYPOGRAPHY ---------- */
.label {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--soft-ink);
}
.label-gold { color: var(--gold); }

.display {
  font-family: var(--serif);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.005em;
}
.italic { font-style: italic; }

.body-serif { font-family: var(--serif); font-size: 18px; line-height: 1.7; }

.script { font-family: var(--script); }

h1.display { font-size: clamp(48px, 7vw, 104px); }
h2.display { font-size: clamp(36px, 5vw, 68px); }
h3.display { font-size: clamp(26px, 3vw, 40px); }

.gold-rule { width: 40px; height: 1px; background: var(--gold); margin: 26px 0; }
.gold-rule.center { margin-left: auto; margin-right: auto; }

/* ---------- LAYOUT ---------- */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(24px, 6vw, 60px); }
section { padding: clamp(80px, 13vw, 150px) 0; position: relative; }
.bg-ether { background: var(--ether); }
.center { text-align: center; }
.max-720 { max-width: 720px; }
.max-820 { max-width: 820px; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ---------- NAV ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  padding: 30px clamp(24px, 6vw, 60px) 22px;
  background: rgba(245, 239, 230, 0.85);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s ease, background 0.4s ease, padding 0.35s ease, gap 0.35s ease;
}
.nav.scrolled { border-bottom-color: var(--rule); padding-top: 16px; padding-bottom: 14px; gap: 11px; }
.nav-brand {
  font-family: var(--serif);
  font-size: clamp(25px, 3vw, 31px);
  font-weight: 300;
  font-variation-settings: 'opsz' 40;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--ink);
}
/* Wordmark — spark lives as the tittle of the ı, never floating */
.wm-tittle { position: relative; display: inline-block; line-height: 1; }
.wm-spark {
  position: absolute;
  width: 0.35em;
  height: 0.35em;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0.9em;
  display: block;
  overflow: visible;
}
/* Italic Fraunces (page-hero h1) sits lower in the em box than upright —
   nudge the spark down to align with the italic ı's visual dot position */
.page-hero h1 .wm-spark { bottom: 0.75em; }
.nav-links {
  display: flex;
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
  list-style: none;
}
.nav-links a {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--soft-ink);
  text-decoration: none;
  transition: color 0.25s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 22px; height: 1.5px; background: var(--ink); margin: 5px 0; transition: 0.3s; }

@media (max-width: 860px) {
  .nav { flex-direction: row; justify-content: center; padding: 20px 24px; gap: 0; }
  .nav.scrolled { padding: 16px 24px; }
  .nav-toggle { display: block; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); }
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--chalk);
    border-bottom: 1px solid var(--rule);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }
  .nav-links.open { max-height: 420px; }
  .nav-links a { padding: 16px 0; font-size: 13px; }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  background:
    radial-gradient(ellipse 55% 50% at 22% 18%, rgba(232,204,194,0.55), transparent 60%),
    radial-gradient(ellipse 50% 55% at 82% 26%, rgba(232,212,168,0.6), transparent 62%),
    radial-gradient(ellipse 60% 45% at 60% 90%, rgba(146,152,111,0.18), transparent 65%),
    radial-gradient(ellipse 85% 75% at 50% 32%, var(--ether) 0%, var(--chalk) 66%);
  overflow: hidden;
}
.hero-inner { position: relative; z-index: 2; max-width: 760px; }
.hero .hero-wm {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: 0.04em;
  font-variation-settings: 'opsz' 40;
  color: var(--ink);
  margin-bottom: 10px;
}
.hero .eyebrow { color: var(--gold); margin-bottom: 26px; }
.hero h1 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(44px, 8vw, 100px);
  line-height: 1.02;
  margin-bottom: 22px;
}
.hero .tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(26px, 4vw, 44px);
  color: var(--gold);
  margin-bottom: 30px;
}
.hero .lede {
  font-size: clamp(17px, 2vw, 21px);
  color: var(--soft-ink);
  max-width: 540px;
  margin: 0 auto 44px;
}
.hero .hero-pillars {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(15px, 1.8vw, 18px);
  color: var(--soft-ink);
  max-width: 560px;
  margin: 0 auto 44px;
  line-height: 1.65;
}
.spark-sep {
  width: 0.5em;
  height: 0.5em;
  display: inline-block;
  vertical-align: middle;
  position: relative;
  top: -0.06em;
  margin: 0 0.3em;
}
.hero .triple {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--soft-ink);
  margin-top: 56px;
}

/* rising bubbles */
.bubbles { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.bubble {
  position: absolute;
  bottom: -40px;
  border-radius: 50%;
  /* clear, translucent champagne bubble: hollow centre, luminous gold rim */
  background: radial-gradient(circle at 50% 50%,
              rgba(var(--bub, 184,146,76), 0.02) 0%,
              rgba(var(--bub, 184,146,76), 0.05) 62%,
              rgba(var(--bub, 184,146,76), 0.14) 84%,
              rgba(var(--bub, 184,146,76), 0.04) 100%);
  border: 1px solid rgba(var(--bub, 184,146,76), 0.6);
  box-shadow: 0 0 7px rgba(184,146,76, 0.28),
              inset 0 0 5px rgba(232,212,168, 0.25);
  opacity: 0;
  animation: rise var(--dur, 14s) ease-in infinite;
  animation-delay: var(--delay, 0s);
}
/* a small pale-gold catch-light — never white/silver */
.bubble::after {
  content: '';
  position: absolute;
  top: 18%;
  left: 24%;
  width: 26%;
  height: 26%;
  border-radius: 50%;
  background: rgba(232,212,168, 0.55);
  filter: blur(0.5px);
}
@keyframes rise {
  0%   { transform: translateY(0) translateX(0) scale(0.6); opacity: 0; }
  12%  { opacity: 0.7; }
  70%  { opacity: 0.55; }
  100% { transform: translateY(-92svh) translateX(var(--drift, 20px)) scale(1); opacity: 0; }
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 15px 32px;
  border: 1px solid var(--gold);
  color: var(--gold);
  background: transparent;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}
.btn:hover { background: var(--gold); color: var(--chalk); }
.btn-solid { background: var(--gold); color: var(--chalk); }
.btn-solid:hover { background: var(--ink); border-color: var(--ink); color: var(--chalk); }
.btn-ink { border-color: var(--ink); color: var(--ink); }
.btn-ink:hover { background: var(--ink); color: var(--chalk); }

/* ---------- SECTION INTRO ---------- */
.intro-eyebrow { color: var(--gold); margin-bottom: 18px; }
blockquote.pull {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(26px, 3.6vw, 46px);
  line-height: 1.32;
  color: var(--gold);
  max-width: 900px;
  text-align: center;
  margin: 0 auto;
}
blockquote.pull cite {
  display: block;
  font-style: normal;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--soft-ink);
  margin-top: 30px;
}

/* ---------- DOORS (offering cards) ---------- */
.doors {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 920px) { .doors { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .doors { grid-template-columns: 1fr; } }

.door {
  --accent: var(--gold);
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--chalk);
  border: 1px solid var(--rule);
  padding: 40px 34px 36px;
  text-decoration: none;
  color: var(--ink);
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease, background 0.4s ease;
}
/* spectrum of accents — earth → light → living */
.doors .door:nth-child(1) { --accent: #B8924C; } /* Champagne Gold */
.doors .door:nth-child(2) { --accent: #C9A595; } /* Terroir Clay */
.doors .door:nth-child(3) { --accent: #5C3A48; } /* Pinot Plum */
.doors .door:nth-child(4) { --accent: #6F7A55; } /* Vine Green */
.doors .door:nth-child(5) { --accent: #92986F; } /* Olive Leaf */
.doors .door:nth-child(6) { --accent: #B8924C; } /* Champagne Gold */

.door::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s ease;
}
.door:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px -28px rgba(28,27,23,0.4);
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 5%, var(--chalk));
}
.door:hover::before { transform: scaleX(1); }
.door .door-num {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.32em;
  color: var(--accent);
  margin-bottom: 22px;
}
.door .door-num::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 1px;
  background: var(--accent);
  vertical-align: middle;
  margin-right: 10px;
  opacity: 0.6;
}
.door h3 {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: 32px;
  line-height: 1.1;
  margin-bottom: 6px;
}
.door .door-kicker {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--soft-ink);
  margin-bottom: 16px;
}
.door p { font-size: 15.5px; line-height: 1.6; color: var(--ink); flex-grow: 1; }
.door .door-cta {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 26px;
}
.door .door-cta::after { content: ' \2192'; transition: margin 0.3s ease; }
.door:hover .door-cta::after { margin-left: 4px; }
.door.soon { background: var(--ether); }
.door .tag {
  position: absolute;
  top: 22px; right: 22px;
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 5px 9px;
}

/* ---------- INLINE CAPTURE (updates) ---------- */
.capture {
  text-align: center;
  background: var(--ink);
  color: var(--ether);
}
.capture h2 { color: var(--ether); margin-bottom: 16px; }
.capture .label { color: var(--gold); }
.capture p { color: rgba(240,232,214,0.75); max-width: 520px; margin: 0 auto 36px; }
.form-inline {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}
.form-inline input[type=email] {
  flex: 1 1 240px;
  background: transparent;
  border: 1px solid rgba(240,232,214,0.4);
  color: var(--ether);
  font-family: var(--serif);
  font-size: 16px;
  padding: 14px 18px;
}
.form-inline input::placeholder { color: rgba(240,232,214,0.5); }
.form-inline input:focus { outline: none; border-color: var(--gold); }
.form-note { font-size: 12px !important; font-family: var(--sans); letter-spacing: 0.04em; margin-top: 22px !important; }

/* ---------- FORMS (full) ---------- */
.form-field { margin-bottom: 24px; text-align: left; }
.form-field label {
  display: block;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--soft-ink);
  margin-bottom: 8px;
}
.form-field input, .form-field textarea {
  width: 100%;
  background: var(--chalk);
  border: 1px solid var(--rule);
  font-family: var(--serif);
  font-size: 17px;
  color: var(--ink);
  padding: 13px 16px;
}
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--gold); }
.form-check { display: flex; gap: 12px; align-items: flex-start; font-family: var(--sans); font-size: 14px; color: var(--soft-ink); }
.form-check input { width: auto; margin-top: 3px; accent-color: var(--gold); }

/* ---------- FOOTER ---------- */
footer {
  background: var(--ink);
  color: var(--ether);
  padding: clamp(70px, 9vw, 110px) 0 50px;
}
footer .foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 70px;
}
@media (max-width: 820px) { footer .foot-grid { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media (max-width: 520px) { footer .foot-grid { grid-template-columns: 1fr; } }
footer .foot-brand .word { font-family: var(--serif); font-size: 26px; font-weight: 300; font-variation-settings: 'opsz' 40; letter-spacing: 0.02em; }
footer .foot-brand p { color: rgba(240,232,214,0.6); font-style: italic; margin-top: 12px; max-width: 260px; }
footer .foot-col .label { color: var(--gold); margin-bottom: 20px; }
footer .foot-col ul { list-style: none; }
footer .foot-col li { margin-bottom: 12px; }
footer .foot-col a {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: rgba(240,232,214,0.78);
  text-decoration: none;
  transition: color 0.25s ease;
}
footer .foot-col a:hover { color: var(--gold); }
footer .foot-base {
  border-top: 1px solid rgba(240,232,214,0.16);
  padding-top: 36px;
  text-align: center;
}
footer .foot-base .sig { font-family: var(--script); font-size: 30px; color: var(--gold); }
footer .foot-base .rise {
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  margin: 8px 0 24px;
}
footer .foot-base .colophon { font-family: var(--sans); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(240,232,214,0.45); }

/* ---------- REVEAL ON SCROLL ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s ease, transform 0.9s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =================================================================
   INNER PAGES
   ================================================================= */

/* ---------- PAGE HERO (shorter than home) ---------- */
.page-hero {
  position: relative;
  text-align: center;
  padding: clamp(120px, 18vh, 200px) 24px clamp(60px, 9vw, 100px);
  background:
    radial-gradient(ellipse 60% 60% at 30% 12%, rgba(232,204,194,0.45), transparent 60%),
    radial-gradient(ellipse 55% 55% at 80% 18%, rgba(232,212,168,0.5), transparent 62%),
    radial-gradient(ellipse 90% 80% at 50% 22%, var(--ether) 0%, var(--chalk) 70%);
  overflow: hidden;
}
.page-hero .inner { position: relative; z-index: 2; max-width: 800px; margin: 0 auto; }
.page-hero .eyebrow { color: var(--gold); margin-bottom: 22px; }
.page-hero h1 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(42px, 7vw, 92px);
  line-height: 1.04;
  margin-bottom: 20px;
}
.page-hero .sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(18px, 2.4vw, 24px);
  color: var(--soft-ink);
}
.page-hero .tag-soon {
  display: inline-block;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 7px 14px;
  margin-bottom: 26px;
}

/* ---------- PROSE / NARRATIVE ---------- */
.prose { max-width: 720px; margin: 0 auto; padding: 0 clamp(24px, 5vw, 40px); }
.prose p { font-size: 18.5px; line-height: 1.85; margin-bottom: 30px; }
.prose p.lead {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(22px, 2.8vw, 30px);
  line-height: 1.55;
  color: var(--ink);
  margin-bottom: 40px;
}
.prose .drop::first-letter {
  font-size: 3.4em;
  line-height: 0.82;
  float: left;
  margin: 6px 12px 0 0;
  color: var(--gold);
  font-style: italic;
  font-weight: 300;
}
.prose em { color: var(--plum); font-style: italic; }

/* ---------- LEDGER (included / carry home) ---------- */
.ledger {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 70px;
  max-width: 980px;
  margin: 0 auto;
}
.ledger-head {
  padding-bottom: 28px;
}
.ledger-head .col-label { color: var(--gold); display: block; margin-bottom: 14px; }
.ledger-head h3 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 30px;
  margin: 0;
}
.ledger-cell {
  position: relative;
  padding: 13px 0 13px 26px;
  border-top: 1px solid var(--rule);
  font-size: 16.5px;
  line-height: 1.5;
}
.ledger-cell.first { border-top: none; }
.ledger-cell::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
}
.ledger-cell.ledger-empty { border-top: none; }
.ledger-cell.ledger-empty::before { display: none; }
@media (max-width: 800px) {
  .ledger { grid-template-columns: 1fr; }
  .ledger-head.tan { order: 1; }
  .ledger-cell.tan { order: 2; }
  .ledger-head.felt { order: 3; }
  .ledger-cell.felt { order: 4; }
  .ledger-cell.ledger-empty { display: none; }
}

/* ---------- WHO IT'S FOR ---------- */
.who { max-width: 820px; margin: 0 auto; }
.who li {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(19px, 2.3vw, 26px);
  line-height: 1.5;
  color: var(--ink);
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
  list-style: none;
}
.who li:last-child { border-bottom: none; }
.who li span { color: var(--gold); font-style: normal; font-size: 0.7em; margin-right: 14px; }

/* ---------- THE SEAT / PRICE ---------- */
.seat { text-align: center; max-width: 620px; margin: 0 auto; }
.seat .price {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(56px, 9vw, 96px);
  color: var(--gold);
  line-height: 1;
  margin-bottom: 14px;
}
.seat .terms {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--soft-ink);
  margin-bottom: 30px;
}

/* ---------- OFFER CARDS (two-up) ---------- */
.offer-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  max-width: 980px;
  margin: 0 auto;
}
@media (max-width: 760px) { .offer-cards { grid-template-columns: 1fr; } }
.offer {
  background: var(--chalk);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--gold);
  padding: 44px 38px;
}
.offer:nth-child(2) { border-top-color: var(--plum); }
.offer .label { color: var(--gold); margin-bottom: 16px; }
.offer:nth-child(2) .label { color: var(--plum); }
.offer h3 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 36px;
  line-height: 1.08;
  margin-bottom: 14px;
}
.offer .meta {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--soft-ink);
  margin-bottom: 22px;
}
.offer p { font-size: 16.5px; line-height: 1.6; margin-bottom: 14px; }

/* ---------- FORM CARD ---------- */
.form-card {
  max-width: 620px;
  margin: 0 auto;
  background: var(--ether);
  border: 1px solid var(--rule);
  padding: clamp(36px, 6vw, 60px);
}
.form-card.on-ether { background: var(--chalk); }
.form-card .btn { width: 100%; text-align: center; margin-top: 8px; }
.form-success {
  display: none;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--gold);
  padding: 20px 0;
}

/* ---------- SUBSTACK ---------- */
.substack-wrap { max-width: 540px; margin: 0 auto; text-align: center; }
.substack-frame {
  width: 100%;
  border: 1px solid var(--rule);
  background: var(--chalk);
  margin: 0 auto;
}

/* ---------- FOUNDER ---------- */
.founder-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(36px, 6vw, 72px);
  align-items: start;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 40px);
}
.founder-grid .prose { padding: 0; padding-top: 12px; }
.seat, .who { padding-left: clamp(24px, 5vw, 36px); padding-right: clamp(24px, 5vw, 36px); }
@media (max-width: 820px) { .founder-grid { grid-template-columns: 1fr; } }
.portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  background:
    radial-gradient(ellipse at 50% 30%, var(--ether), var(--limestone));
  border: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.portrait .placeholder { padding: 30px; }
.portrait .placeholder .spark { width: 46px; margin: 0 auto 18px; }
.portrait .placeholder p { font-family: var(--sans); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--soft-ink); }

.registers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin: 0 auto;
  max-width: 980px;
}
@media (max-width: 700px) { .registers { grid-template-columns: 1fr; } }
.register {
  background: var(--chalk);
  border: 1px solid var(--rule);
  padding: 38px 34px;
}
.register .label { color: var(--gold); margin-bottom: 14px; }
.register h3 { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 28px; margin-bottom: 6px; }
.register .role { font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--soft-ink); margin-bottom: 16px; }
.register p { font-size: 16px; line-height: 1.6; }
.register .ns { margin-top: 16px; font-family: var(--sans); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--plum); }

/* ---------- LINK ROW ---------- */
.link-row { display: flex; flex-wrap: wrap; gap: 16px 30px; justify-content: center; }
.link-row a {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--soft-ink);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 4px;
  transition: color 0.25s ease;
}
.link-row a:hover { color: var(--gold); }

/* =================================================================
   PER-PAGE THEMES — each door carries its own colour from the palette
   ================================================================= */
body.theme-evening   { --accent: #B8924C; } /* Champagne Gold — warm anchor */
body.theme-champagne { --accent: #6F7A55; } /* Vine Green — the vineyard */
body.theme-rising    { --accent: #5C3A48; } /* Pinot Plum — intimate */
body.theme-edit      { --accent: #B8924C; } /* Champagne Gold — editorial */
body.theme-jennifer  { --accent: #92986F; } /* Olive Leaf — grounded */

/* accent-aware elements (fall back to gold when unthemed) */
.page-hero .eyebrow { color: var(--accent, var(--gold)); }
.page-hero .tag-soon { color: var(--accent, var(--gold)); border-color: var(--accent, var(--gold)); }
body[class*="theme-"] blockquote.pull { color: var(--accent); }
body[class*="theme-"] .label-gold { color: var(--accent); }
body[class*="theme-"] .prose .drop::first-letter { color: var(--accent); }
body[class*="theme-"] .gold-rule { background: var(--accent); }
body[class*="theme-"] blockquote.pull { border-left-color: var(--accent); }
/* tint the ether bands with the page accent for a distinct wash per page */
body[class*="theme-"] .bg-ether { background: color-mix(in srgb, var(--accent) 9%, var(--ether)); }

/* per-theme hero washes */
body.theme-champagne .page-hero {
  background:
    radial-gradient(ellipse 60% 60% at 26% 14%, rgba(111,122,85,0.24), transparent 62%),
    radial-gradient(ellipse 55% 55% at 82% 20%, rgba(146,152,111,0.30), transparent 64%),
    radial-gradient(ellipse 90% 80% at 50% 24%, var(--ether) 0%, var(--chalk) 72%);
}
body.theme-rising .page-hero {
  background:
    radial-gradient(ellipse 62% 60% at 24% 12%, rgba(232,204,194,0.6), transparent 60%),
    radial-gradient(ellipse 55% 55% at 80% 18%, rgba(92,58,72,0.20), transparent 64%),
    radial-gradient(ellipse 90% 80% at 50% 22%, var(--ether) 0%, var(--chalk) 70%);
}
body.theme-jennifer .page-hero {
  background:
    radial-gradient(ellipse 60% 60% at 26% 14%, rgba(201,165,149,0.42), transparent 62%),
    radial-gradient(ellipse 55% 55% at 82% 20%, rgba(146,152,111,0.24), transparent 64%),
    radial-gradient(ellipse 90% 80% at 50% 24%, var(--ether) 0%, var(--chalk) 72%);
}
body.theme-edit .page-hero {
  background:
    radial-gradient(ellipse 72% 60% at 50% 12%, rgba(232,212,168,0.52), transparent 60%),
    radial-gradient(ellipse 90% 80% at 50% 24%, var(--ether) 0%, var(--chalk) 72%);
}

/* ---------- DARK SECTION (a dramatic beat — e.g. the Evening's price) ---------- */
.section-dark { background: var(--ink); color: var(--ether); }
.section-dark .seat .price { color: var(--gold); }
.section-dark .seat .terms { color: rgba(240,232,214,0.7); }
.section-dark .body-serif { color: rgba(240,232,214,0.82); }
.section-dark .label-gold { color: var(--gold) !important; }
