/* ── DESIGN TOKENS ── */
@font-face {
  font-family: 'Idealist';
  src: url('assets/fonts/idealist-webfont.woff2') format('woff2'),
       url('assets/fonts/idealist-webfont.woff') format('woff');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('assets/fonts/DMSans-Variable.ttf') format('truetype');
  font-weight: 100 1000; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('assets/fonts/DMSans-Italic-Variable.ttf') format('truetype');
  font-weight: 100 1000; font-style: italic; font-display: swap;
}

:root {
  --edit-french-blue: #4F6E92;
  --edit-french-blue-soft: #8AA1BC;
  --edit-bone: #F2EDE2;
  --edit-bone-warm: #EDE5D6;
  --edit-paper: #FAF7F0;
  --edit-stucco: #E2D8C4;
  --edit-stone: #C9BEA8;
  --edit-clay: #8C8475;
  --edit-ink: #2E2A24;
  --edit-ink-soft: #4A453C;
  --edit-brass: #B59265;
  --edit-brass-deep: #8E6F47;
  
  --font-display: 'Idealist', 'DM Sans', serif;
  --font-text: 'DM Sans', sans-serif;
  
  --r-4: 4px; --r-8: 8px; --r-12: 12px; --r-pill: 999px;
  --hairline: 1px solid rgba(46,42,36,0.12);
  --hairline-soft: 1px solid rgba(46,42,36,0.08);
  --shadow-paper: 0 1px 2px rgba(46,42,36,0.04), 0 8px 24px rgba(46,42,36,0.06);
  --shadow-lift: 0 2px 4px rgba(46,42,36,0.05), 0 16px 48px rgba(46,42,36,0.08);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; padding: 0;
  font-family: var(--font-text);
  background: var(--edit-bone);
  color: var(--edit-ink);
  font-size: 15px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-synthesis: none;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── ANNOUNCEMENT BAR ── */
.announcement-bar {
  background-color: var(--edit-french-blue);
  color: var(--edit-paper);
  text-align: center;
  padding: 12px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  z-index: 101; position: relative;
}

/* ── NAV ── */
.bb-nav {
  position: sticky; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 48px;
  background: rgba(242,237,226,0.88);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: var(--hairline-soft);
  transition: all 300ms ease;
}
.bb-nav.is-scrolled {
  top: 14px; margin: 0 20px;
  padding: 10px 24px;
  border-radius: var(--r-pill);
  background: var(--edit-french-blue);
  border: none; box-shadow: 0 8px 32px rgba(46,42,36,0.18);
}
.bb-nav__brand {
  font-family: var(--font-display); font-size: 26px;
  color: var(--edit-french-blue); text-decoration: none; line-height: 1;
  transition: color 300ms ease;
}
.bb-nav__brand .period { color: var(--edit-french-blue); transition: color 300ms ease; }
.bb-nav.is-scrolled .bb-nav__brand { color: var(--edit-paper); }
.bb-nav.is-scrolled .bb-nav__brand .period { color: rgba(250,247,240,0.6); }

.bb-nav__links {
  display: flex; gap: 24px;
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
}
.bb-nav__links a {
  color: var(--edit-clay); text-decoration: none;
  padding-bottom: 2px; transition: color 200ms ease;
}
.bb-nav__links a:hover { color: var(--edit-ink); }
.bb-nav.is-scrolled .bb-nav__links a { color: rgba(250,247,240,0.7); }
.bb-nav.is-scrolled .bb-nav__links a:hover { color: #fff; }

.bb-nav__tag {
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--edit-stone); transition: color 300ms ease;
}
.bb-nav.is-scrolled .bb-nav__tag { color: rgba(250,247,240,0.5); }

/* ── TYPOGRAPHY SCALE ── */
.type-hero {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(48px, 7vw, 80px); line-height: 0.92; letter-spacing: -0.02em;
}
.type-h1 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(36px, 5vw, 56px); line-height: 0.96; letter-spacing: -0.015em;
}
.type-h2 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(28px, 3.5vw, 44px); line-height: 1.02; letter-spacing: -0.01em;
}
.type-h3 {
  font-family: var(--font-text); font-weight: 500;
  font-size: clamp(20px, 2vw, 28px); line-height: 1.2;
}
.type-h4 {
  font-family: var(--font-text); font-size: 18px; font-weight: 500; line-height: 1.3;
}
.type-eyebrow {
  font-size: 11px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--edit-clay);
}
em { font-style: italic; color: var(--edit-french-blue); }
.period { color: var(--edit-french-blue); }

/* ── LAYOUT / SECTIONS ── */
.bb-section {
  max-width: 1360px; margin: 0 auto;
  padding: 120px 48px;
}
.bb-section + .bb-section { border-top: var(--hairline); }
.bb-section__head {
  display: grid; grid-template-columns: 200px 1fr;
  gap: 48px; margin-bottom: 64px;
}
.bb-section__num {
  font-size: 14px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--edit-stone); padding-top: 14px;
}
.bb-section__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1; letter-spacing: -0.012em;
  color: var(--edit-ink); margin: 0 0 16px;
}
.bb-section__lede {
  font-size: 17px; line-height: 1.55; font-weight: 300;
  color: var(--edit-ink-soft); max-width: 56ch; margin: 0;
}

.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.split-image {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: var(--r-12);
  overflow: hidden;
  box-shadow: var(--shadow-paper);
}
.split-image img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 800ms cubic-bezier(0.19, 1, 0.22, 1);
}
.split-image:hover img {
  transform: scale(1.05);
}

/* ── COMPONENTS ── */
.btn {
  font-family: var(--font-text); font-size: 13px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 14px 28px; border: 1px solid transparent;
  cursor: pointer; text-decoration: none;
  border-radius: var(--r-pill);
  display: inline-flex; align-items: center; gap: 10px; line-height: 1;
  transition: all 200ms ease;
}
.btn--primary { background: var(--edit-french-blue); color: var(--edit-paper); }
.btn--primary:hover { background: #3F5C7E; }

.edit-field { display: flex; flex-direction: column; gap: 6px; }
.edit-field label {
  font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--edit-clay); font-weight: 500;
}
.edit-field input {
  font-family: var(--font-text); font-size: 14px; color: var(--edit-ink);
  padding: 14px 22px;
  border: 1px solid rgba(46,42,36,0.18);
  background: var(--edit-paper); border-radius: var(--r-pill);
  outline: none; transition: border-color 160ms ease, box-shadow 160ms ease;
}
.edit-field input:focus {
  border-color: var(--edit-french-blue);
  box-shadow: 0 0 0 4px rgba(79,110,146,0.12);
}

.edit-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  padding: 6px 14px; border-radius: var(--r-pill);
  border: 1px solid currentColor; color: var(--edit-french-blue);
}

/* ── CUSTOM PRE-LAUNCH STYLES ── */
@media (pointer: fine) {
  body, a, button, input { cursor: none !important; }
  .cursor-dot, .cursor-outline {
    position: fixed; top: 0; left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%; z-index: 9999; pointer-events: none;
    transition: width 0.2s, height 0.2s, background-color 0.2s, border-color 0.2s;
  }
  .cursor-dot { width: 5px; height: 5px; background-color: var(--edit-ink); }
  .cursor-outline { width: 36px; height: 36px; border: 1px solid rgba(46,42,36,0.4); transition: transform 0.15s ease-out, width 0.2s, height 0.2s, border-color 0.2s, background-color 0.2s; }
  
  /* Hover effects */
  .cursor-hover .cursor-dot { opacity: 0; }
  .cursor-hover .cursor-outline {
    width: 60px; height: 60px;
    background-color: rgba(79,110,146,0.1);
    border-color: var(--edit-french-blue);
  }
}

.hero-section {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg-video {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 0;
  background-image: url('assets/images/hero-poster.jpg');
  background-size: cover;
  background-position: center;
}
.hero-bg-video video {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0;
  transition: opacity 600ms ease;
}
.hero-bg-video video.is-ready {
  opacity: 1;
}
.hero-bg-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, rgba(242,237,226,0.30) 0%, rgba(242,237,226,0.45) 50%, rgba(242,237,226,0.30) 100%);
}
.hero-wrapper {
  position: relative;
  z-index: 1;
  padding: 120px 48px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}
.hero-wrapper { color: var(--edit-bone); }
.hero-wrapper .type-eyebrow { color: var(--edit-bone); }
.hero-wrapper .type-eyebrow .period { color: var(--edit-bone); }
.hero-wrapper .type-hero { margin-bottom: 24px; color: var(--edit-bone); text-shadow: 0 2px 24px rgba(0,0,0,0.25); }
.hero-wrapper .type-h3 { color: var(--edit-bone); margin-bottom: 48px; font-weight: 300; text-shadow: 0 1px 16px rgba(0,0,0,0.25); }
.hero-wrapper .trust-item { color: var(--edit-bone); }
.hero-wrapper .trust-item svg { stroke: var(--edit-bone); }
.hero-form-row {
  display: flex; gap: 12px; max-width: 480px; margin: 0 auto;
}
.hero-form-row .edit-field { flex: 1; text-align: left; }
.hero-form-row .edit-field input { width: 100%; height: 50px; }
.hero-form-row .btn { height: 50px; }
.trust-strip {
  display: flex; justify-content: center; gap: 32px; flex-wrap: wrap;
  margin-top: 48px; padding-top: 32px; border-top: var(--hairline-soft);
}
.trust-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 500; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--edit-clay);
}
.trust-item svg { width: 14px; height: 14px; stroke: var(--edit-french-blue); stroke-width: 2px; fill: none; }

.countdown-section {
  background: var(--edit-paper);
  border-bottom: var(--hairline-soft);
  padding: 56px 24px 64px;
  text-align: center;
}
.countdown-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--edit-clay);
  margin-bottom: 28px;
}
.countdown-timer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 56px;
}
.countdown-block {
  text-align: center;
  min-width: 96px;
}
.countdown-value {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 400;
  color: var(--edit-ink);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1, "lnum" 1;
}
.countdown-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--edit-clay);
  margin-top: 14px;
}
.countdown-divider {
  width: 1px;
  height: 44px;
  background: var(--edit-stone, rgba(0, 0, 0, 0.18));
  opacity: 0.5;
  align-self: center;
  margin-top: -14px;
}
@media (max-width: 720px) {
  .countdown-section { padding: 40px 16px 44px; }
  .countdown-timer { gap: 24px; }
  .countdown-block { min-width: 56px; }
  .countdown-value { font-size: 44px; }
  .countdown-label { font-size: 10px; letter-spacing: 0.22em; margin-top: 10px; }
  .countdown-divider { height: 30px; margin-top: -12px; }
  .countdown-eyebrow { font-size: 10px; letter-spacing: 0.26em; margin-bottom: 20px; }
}

.manifesto {
  background: var(--edit-french-blue);
  color: var(--edit-bone);
  text-align: left;
  padding: 82px 48px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.manifesto-bg {
  position: absolute; top: -50%; left: -50%; right: -50%; bottom: -50%;
  background: radial-gradient(circle at center, rgba(46,42,36,0.1) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.manifesto-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}
.manifesto-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: normal;
  margin: 0 0 24px 0;
  text-transform: none;
}
.manifesto-body {
  font-family: var(--font-text);
  font-weight: 400;
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.55;
  letter-spacing: 0;
  margin: 0;
}
.manifesto.is-visible .type-h1 span { opacity: 1 !important; transform: translateY(0) !important; }

.bb-protocol-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.bb-protocol {
  position: relative;
  background: var(--edit-paper);
  border: 1px solid rgba(46,42,36,0.08);
  border-radius: var(--r-12);
  padding: 40px 24px;
  text-align: center;
  overflow: hidden;
  transition: all 400ms cubic-bezier(0.19, 1, 0.22, 1);
}
.bb-protocol::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 50% 120%, rgba(79,110,146,0.08) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 400ms ease;
  pointer-events: none;
}
.bb-protocol:hover { 
  transform: translateY(-6px) scale(1.02); 
  box-shadow: 0 12px 40px rgba(46,42,36,0.08); 
  border-color: rgba(79,110,146,0.3);
}
.bb-protocol:hover::before { opacity: 1; }
.bb-protocol .type-h3 { position: relative; z-index: 1; transition: color 300ms ease; }
.bb-protocol:hover .type-h3 { color: var(--edit-french-blue); }

.bb-marquee {
  overflow: hidden;
  white-space: nowrap;
  background: var(--edit-french-blue);
  color: var(--edit-paper);
  padding: 16px 0;
  display: flex;
  position: relative;
  border-top: var(--hairline-soft);
  border-bottom: var(--hairline-soft);
}
.bb-marquee__inner {
  display: flex;
  animation: marquee 20s linear infinite;
}
.bb-marquee__inner span {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0 16px;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.bb-foot {
  background: var(--edit-ink);
  color: var(--edit-bone);
  padding: 80px 48px 48px;
}
.bb-foot__inner {
  max-width: 1360px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: flex-end;
  border-bottom: 1px solid rgba(250,247,240,0.1);
  padding-bottom: 40px; margin-bottom: 40px;
}
.bb-foot__links { display: flex; gap: 32px; }
.bb-foot__links a {
  font-size: 11px; font-weight: 500; letter-spacing: 0.14em;
  text-transform: uppercase; color: rgba(250,247,240,0.6);
  text-decoration: none; transition: color 200ms ease;
}
.bb-foot__links a:hover { color: #fff; }

.reveal-section { opacity: 0; transform: translateY(30px); transition: all 1000ms cubic-bezier(0.19, 1, 0.22, 1); }
.reveal-section.is-visible { opacity: 1; transform: translateY(0); }
.fade-in { opacity: 0; animation: fadeIn 800ms ease forwards; }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes ib-blink { 50% { opacity: 0; } }

@media (max-width: 900px) {
  .bb-section__head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 40px; }
  .bb-protocol-grid { grid-template-columns: repeat(2, 1fr); }
  .bb-nav { padding: 16px 24px; }
  .bb-section { padding: 80px 24px; }
  .split-layout { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 600px) {
  .hero-form-row { flex-direction: column; }
  .bb-protocol-grid { grid-template-columns: 1fr; }
  .bb-foot__inner { flex-direction: column; align-items: flex-start; gap: 40px; }
  .bb-foot__links { flex-direction: column; gap: 16px; }
}

/* ── WAITLIST MODAL ── */
.waitlist-modal {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 400ms ease;
}
.waitlist-modal.is-open {
  opacity: 1; pointer-events: auto;
}
.modal-backdrop {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(46, 42, 36, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.modal-container {
  position: relative;
  width: 100%; max-width: 680px;
  max-height: 90vh;
  background: var(--edit-bone);
  border-radius: var(--r-12);
  box-shadow: var(--shadow-lift);
  display: flex; flex-direction: column;
  transform: translateY(20px);
  transition: transform 500ms cubic-bezier(0.19, 1, 0.22, 1);
  overflow: hidden;
}
.waitlist-modal.is-open .modal-container {
  transform: translateY(0);
}
.modal-close {
  position: absolute; top: 24px; right: 24px;
  background: none; border: none; cursor: pointer;
  color: var(--edit-clay); z-index: 10;
  transition: color 200ms ease;
}
.modal-close:hover { color: var(--edit-ink); }

/* Progress Bar */
.modal-header {
  padding: 32px 48px;
  border-bottom: var(--hairline-soft);
  background: var(--edit-paper);
}
.progress-bar {
  display: flex; align-items: center; justify-content: center;
  gap: 16px;
}
.step-indicator {
  display: flex; align-items: center; gap: 12px;
  opacity: 0.4; transition: opacity 300ms ease;
}
.step-indicator.is-active, .step-indicator.is-completed {
  opacity: 1;
}
.step-circle {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-family: var(--font-display);
  border: 1px solid var(--edit-clay);
  color: var(--edit-clay);
  transition: all 300ms ease;
}
.step-indicator.is-active .step-circle {
  background: var(--edit-french-blue);
  border-color: var(--edit-french-blue);
  color: var(--edit-paper);
}
.step-indicator.is-completed .step-circle {
  background: var(--edit-ink);
  border-color: var(--edit-ink);
  color: var(--edit-paper);
}
.step-label {
  font-size: 10px; font-weight: 500; letter-spacing: 0.15em;
  color: var(--edit-ink);
}
.step-line {
  height: 1px; width: 32px; background: var(--edit-clay); opacity: 0.3;
}

/* Modal Body & Forms */
.modal-body {
  padding: 48px;
  overflow-y: auto;
}
.modal-title {
  margin-bottom: 12px; font-size: 36px;
}
.modal-subtitle {
  font-size: 15px; color: var(--edit-clay); margin-bottom: 40px;
  line-height: 1.5;
}
.intake-form { position: relative; }
.form-step {
  display: none;
  animation: fadeUpIn 500ms cubic-bezier(0.19, 1, 0.22, 1) forwards;
}
.form-step.is-active { display: block; }
@keyframes fadeUpIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.form-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 24px;
}
.form-group { margin-bottom: 24px; text-align: left; }
.form-group label {
  display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--edit-clay); margin-bottom: 8px;
}
.label-optional {
  text-transform: lowercase; font-style: italic; font-weight: 400; letter-spacing: 0; opacity: 0.7;
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group textarea,
.form-group select {
  width: 100%;
  background: transparent;
  border: 1px solid rgba(46,42,36,0.15);
  border-radius: var(--r-8);
  padding: 16px;
  font-family: var(--font-text);
  font-size: 15px;
  color: var(--edit-ink);
  transition: border-color 200ms ease;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--edit-french-blue);
}

/* Select wrapper for custom arrow */
.select-wrapper { position: relative; }
.select-wrapper::after {
  content: ''; position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  border-left: 5px solid transparent; border-right: 5px solid transparent;
  border-top: 5px solid var(--edit-clay); pointer-events: none;
}
.select-wrapper select { appearance: none; -webkit-appearance: none; }

/* Segmented Control */
.segmented-control {
  display: flex; background: transparent; border-radius: 100px;
  padding: 6px; border: 1px solid rgba(46,42,36,0.15);
  position: relative; z-index: 1;
}
.segmented-pill {
  position: absolute;
  top: 6px; bottom: 6px; left: 6px;
  width: calc((100% - 12px) / 3);
  background: var(--edit-french-blue);
  border-radius: 100px;
  z-index: -1;
  transition: transform 400ms cubic-bezier(0.19, 1, 0.22, 1);
}
.segmented-control[data-active-index="0"] .segmented-pill { transform: translateX(0); }
.segmented-control[data-active-index="1"] .segmented-pill { transform: translateX(100%); }
.segmented-control[data-active-index="2"] .segmented-pill { transform: translateX(200%); }

.segmented-control .segment {
  flex: 1; text-align: center; position: relative; cursor: pointer;
  margin-bottom: 0; display: flex; align-items: stretch;
}
.segmented-control input[type="radio"] {
  position: absolute; opacity: 0; pointer-events: none;
}
.segmented-control span {
  display: flex; align-items: center; justify-content: center; height: 100%; width: 100%;
  padding: 12px; font-size: 11px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase;
  border-radius: 100px; transition: color 400ms ease; color: var(--edit-ink);
}
.segmented-control .segment:hover span {
  color: var(--edit-ink-soft);
}
.segmented-control input:checked + span {
  color: var(--edit-bone);
}

/* Radio Grid for Focus Area */
.radio-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.radio-card {
  position: relative; cursor: pointer;
}
.radio-card input { position: absolute; opacity: 0; }
.radio-card span {
  display: block; padding: 16px; border: 1px solid rgba(46,42,36,0.15);
  border-radius: var(--r-8); font-size: 14px; font-weight: 500;
  transition: all 200ms ease; color: var(--edit-clay);
}
.radio-card input:checked + span {
  border-color: var(--edit-french-blue); background: rgba(79,110,146,0.05);
  color: var(--edit-french-blue);
}

/* Checkbox */
.checkbox-label {
  display: flex; align-items: flex-start; gap: 12px; cursor: pointer; text-transform: none !important; letter-spacing: 0 !important; font-weight: 400 !important; color: var(--edit-ink) !important;
}
.checkbox-label input { margin-top: 4px; cursor: pointer; }

/* Actions */
.form-actions { margin-top: 48px; }
.form-actions--split { display: flex; gap: 16px; }
.form-actions--split .btn { flex: 1; }
.btn--secondary {
  background: transparent; border: 1px solid var(--edit-clay); color: var(--edit-ink);
}
.btn--secondary:hover { background: rgba(46,42,36,0.05); }

@media (max-width: 600px) {
  .modal-header { padding: 24px; }
  .modal-body { padding: 32px 24px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .radio-grid { grid-template-columns: 1fr; }
  .step-label, .step-line { display: none; }
  .progress-bar { justify-content: space-between; width: 100%; }
  .bb-cta-strip { flex-direction: column; text-align: center; }
  .faq-trigger { padding: 20px 24px; font-size: 14px; }
  .faq-content-inner { padding: 20px 24px 24px; font-size: 15px; }
}

/* ── HORIZONTAL CTA STRIP ── */
.bb-cta-strip {
  background: var(--edit-ink);
  padding: 32px 5vw;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
}
.bb-cta-strip__inner {
  border: 1px solid rgba(250,247,240,0.2);
  border-radius: 100px;
  padding: 8px 8px 8px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 48px;
  max-width: 1000px;
  width: 100%;
}
.bb-cta-strip__text {
  font-family: var(--font-text);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--edit-bone);
}
.bb-cta-strip__text span {
  color: rgba(250,247,240,0.5);
}
.bb-cta-strip--light {
  background: var(--edit-bone);
}
.bb-cta-strip--light .bb-cta-strip__inner {
  border-color: rgba(46,42,36,0.2);
}
.bb-cta-strip--light .bb-cta-strip__text {
  color: var(--edit-ink);
}
.bb-cta-strip--light .bb-cta-strip__text span {
  color: var(--edit-ink);
}
.bb-cta-strip--light .bb-cta-strip__text .cta-key {
  color: var(--edit-french-blue);
}

/* ── FAQ ACCORDION ── */
.faq-section {
  background: var(--edit-bone);
  padding: 120px 5vw;
  color: var(--edit-ink);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.faq-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  pointer-events: none;
  will-change: transform;
  transform: scale(1.08);
}
/* ── CLOSING CTA — Be among the first ── */
.closing-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(96px, 14vh, 180px) 5vw;
  color: var(--edit-ink);
  background: var(--edit-bone);
}
.closing-cta__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  display: block;
}
.closing-cta__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.95) brightness(1.04);
  transform: scale(1.04);
}
.closing-cta__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at center, rgba(242,237,226,0.55) 0%, rgba(242,237,226,0.85) 90%),
    linear-gradient(180deg, rgba(250,247,240,0.45) 0%, rgba(242,237,226,0.65) 100%);
}
.closing-cta__inner {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  background: rgba(250,247,240,0.72);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(46,42,36,0.08);
  border-radius: 24px;
  padding: clamp(40px, 5vw, 64px);
  box-shadow: 0 28px 64px rgba(46,42,36,0.10);
}
.closing-cta__eyebrow {
  font-family: var(--font-text);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--edit-clay);
  margin-bottom: 24px;
}
.closing-cta__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(48px, 7vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--edit-ink);
  margin: 0 0 24px;
}
.closing-cta__title .period { color: var(--edit-french-blue); }
.closing-cta__lede {
  font-family: var(--font-text);
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.6;
  color: var(--edit-ink-soft);
  margin: 0 auto 32px;
  max-width: 56ch;
}
.closing-cta__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}
.closing-cta__btn {
  background: var(--edit-french-blue);
  color: var(--edit-bone);
  padding: 16px 36px;
  font-family: var(--font-text);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 999px;
}
.closing-cta__btn:hover {
  background: var(--edit-ink);
  color: var(--edit-bone);
}
.closing-cta__meta {
  font-family: var(--font-text);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--edit-clay);
}
.closing-cta__trust {
  font-family: var(--font-text);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--edit-clay);
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid rgba(46,42,36,0.10);
}
.closing-cta__trust .dot { color: var(--edit-french-blue); }

/* ── BRAND FOOTER — French blue with bone mark, sticky reveal ── */
.brand-foot {
  background: var(--edit-french-blue);
  color: var(--edit-bone);
  padding: 56px 5vw 28px;
  position: sticky;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 0;
}
.brand-foot__mark {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 18px;
  margin-bottom: 40px;
  flex-wrap: nowrap;
}
.brand-foot__e {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 4.5vw, 64px);
  line-height: 1;
  color: var(--edit-bone);
  letter-spacing: -0.04em;
}
.brand-foot__e .period { color: var(--edit-bone); }
.brand-foot__rule {
  display: inline-block;
  width: 1.5px;
  align-self: stretch;
  background: rgba(242,237,226,0.55);
  margin: 4px 0;
}
.brand-foot__name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 4.5vw, 64px);
  line-height: 1;
  color: var(--edit-bone);
  letter-spacing: -0.02em;
  text-transform: lowercase;
}
.brand-foot__name .period { color: var(--edit-bone); }
.brand-foot__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(242,237,226,0.18);
  padding-top: 24px;
  max-width: 1360px;
  margin: 0 auto;
  gap: 24px;
  flex-wrap: wrap;
}
.brand-foot__links {
  display: flex;
  gap: 24px;
  font-family: var(--font-text);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.brand-foot__links a {
  color: rgba(242,237,226,0.78);
  text-decoration: none;
  transition: color 200ms ease;
}
.brand-foot__links a:hover { color: var(--edit-bone); }
.brand-foot__copy {
  font-family: var(--font-text);
  font-size: 11px;
  color: rgba(242,237,226,0.55);
}
@media (max-width: 720px) {
  .brand-foot__mark { gap: 12px; margin-bottom: 32px; }
  .brand-foot__bottom { justify-content: center; text-align: center; }
}

/* ── STICKY FOOTER REVEAL — main scrolls over footer ── */
main {
  position: relative;
  z-index: 2;
  background: var(--edit-bone);
  box-shadow: 0 -2px 24px rgba(13, 30, 58, 0.08);
}

/* ── MEMBERSHIP — single card with toggle and bg video ── */
.membership-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 96px 5vw 120px;
  background: var(--edit-bone);
}
.membership-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  pointer-events: none;
  filter: saturate(0.9) brightness(0.95);
}
.membership-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(242,237,226,0.92) 0%, rgba(242,237,226,0.78) 100%);
  z-index: -1;
}
.membership-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}
.membership-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.membership-eyebrow {
  font-family: var(--font-text);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--edit-clay);
  margin-bottom: 8px;
}
.membership-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--edit-ink);
  margin: 0;
}
.billing-toggle {
  display: inline-flex;
  background: var(--edit-paper);
  border: 1px solid rgba(46,42,36,0.12);
  border-radius: 999px;
  padding: 4px;
  gap: 0;
}
.billing-toggle__opt {
  appearance: none;
  background: transparent;
  border: none;
  color: var(--edit-ink-soft);
  padding: 10px 20px;
  font-family: var(--font-text);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 999px;
  cursor: pointer;
  transition: background 240ms ease, color 240ms ease;
}
.billing-toggle__opt:hover { color: var(--edit-ink); }
.billing-toggle__opt.is-active {
  background: var(--edit-french-blue);
  color: var(--edit-bone);
}
.membership-card {
  background: var(--edit-paper);
  border: 1px solid rgba(46,42,36,0.08);
  border-radius: 24px;
  padding: 56px;
  box-shadow: 0 18px 48px rgba(46,42,36,0.06);
}
.membership-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(46,42,36,0.08);
}
.membership-card__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 28px;
  line-height: 1;
  color: var(--edit-ink);
}
.membership-card__title .period { color: var(--edit-french-blue); }
.membership-card__badge {
  display: inline-block;
  font-family: var(--font-text);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--edit-french-blue);
  border: 1px solid var(--edit-french-blue);
  border-radius: 999px;
  padding: 6px 14px;
}
.membership-card__price {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 8px;
}
.membership-card__price-strike {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 36px;
  color: var(--edit-clay);
  text-decoration: line-through;
  display: none;
}
.membership-card__price-amount {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(56px, 7vw, 80px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--edit-french-blue);
}
.membership-card__price-cadence {
  font-family: var(--font-text);
  font-weight: 400;
  font-size: 16px;
  color: var(--edit-clay);
}
.membership-card__sub {
  font-family: var(--font-text);
  font-size: 14px;
  color: var(--edit-clay);
  margin-bottom: 8px;
}
.membership-card__disclaimer {
  font-family: var(--font-text);
  font-size: 13px;
  color: var(--edit-clay);
  margin: 20px 0 28px;
  max-width: 640px;
  line-height: 1.55;
}
.membership-card__rule {
  border: none;
  border-top: 1px solid rgba(46,42,36,0.08);
  margin: 0 0 28px;
}
.membership-card__list {
  list-style: none;
  padding: 0;
  margin: 0 0 36px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 32px;
  row-gap: 14px;
}
.membership-card__list li {
  position: relative;
  padding-left: 24px;
  font-family: var(--font-text);
  font-size: 15px;
  line-height: 1.55;
  color: var(--edit-ink);
}
.membership-card__list li::before {
  content: "+";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--edit-french-blue);
  font-weight: 500;
}
.membership-card__cta {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  padding-top: 8px;
  border-top: 1px solid rgba(46,42,36,0.08);
  padding-top: 28px;
}
.membership-card__cta .btn--primary {
  background: var(--edit-french-blue);
  color: var(--edit-bone);
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--font-text);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.membership-card__cta .btn--primary:hover {
  background: var(--edit-ink);
}
.membership-card__learn {
  font-family: var(--font-text);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--edit-ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 200ms ease, gap 200ms ease;
}
.membership-card__learn:hover {
  color: var(--edit-french-blue);
  gap: 12px;
}

.membership-card.is-yearly .membership-card__price-strike { display: inline; }
@media (max-width: 760px) {
  .membership-card { padding: 32px; }
  .membership-card__list { grid-template-columns: 1fr; }
}

/* ── HOW IT WORKS — PINNED SCROLL ── */
.how-it-works {
  background: var(--edit-paper);
  position: relative;
}
.hiw-track {
  height: 320vh;
  position: relative;
}
.hiw-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 100px 5vw 28px;
  box-sizing: border-box;
}
.hiw-progress {
  position: relative;
  height: 2px;
  background: rgba(46,42,36,0.1);
  margin: 24px 0 64px;
  width: 100%;
}
.hiw-progress__bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: var(--edit-french-blue);
  transition: width 220ms linear;
}
.hiw-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
}
.hiw-step {
  opacity: 0.3;
  filter: blur(0.4px);
  transition: opacity 500ms ease, filter 500ms ease, transform 500ms cubic-bezier(0.19, 1, 0.22, 1);
}
.hiw-step.is-active {
  opacity: 1;
  filter: none;
}
.hiw-step__num {
  font-family: var(--font-display);
  font-size: 56px;
  line-height: 1;
  color: var(--edit-french-blue);
  font-feature-settings: "tnum";
  margin-bottom: 24px;
}
.hiw-step__title {
  font-family: var(--font-text);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 14px;
  margin: 0 0 12px 0;
  color: var(--edit-ink);
}
.hiw-step__copy {
  font-size: 15px;
  line-height: 1.55;
  color: var(--edit-clay);
  margin: 0;
}
@media (max-width: 900px) {
  .hiw-track { height: auto; }
  .hiw-stage { position: static; height: auto; padding: 80px 5vw; }
  .hiw-steps { grid-template-columns: 1fr; gap: 40px; }
  .hiw-step { opacity: 1; filter: none; }
  .hiw-progress { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hiw-track { height: auto; }
  .hiw-stage { position: static; height: auto; }
  .hiw-step { opacity: 1; filter: none; }
}

/* ── NAV — section-bound theme ── */
.bb-nav.is-on-blue.is-scrolled {
  background: var(--edit-bone);
  box-shadow: 0 8px 32px rgba(46,42,36,0.18);
}
.bb-nav.is-on-blue:not(.is-scrolled) {
  background: rgba(242,237,226,0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: rgba(46,42,36,0.08);
}
.bb-nav.is-on-blue .bb-nav__brand,
.bb-nav.is-on-blue .bb-nav__brand .period {
  color: var(--edit-french-blue);
}
.bb-nav.is-on-blue .bb-nav__tag {
  color: var(--edit-french-blue);
}

.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--edit-french-blue);
  transform: scaleX(0);
  transform-origin: 0 50%;
  z-index: 9999;
  pointer-events: none;
  transition: transform 80ms linear;
}
@media (prefers-reduced-motion: reduce) {
  .scroll-progress { display: none; }
}
.faq-bg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(245, 240, 230, 0.55);
  z-index: -1;
  pointer-events: none;
}
.faq-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  margin-bottom: 16px;
  background: var(--edit-paper);
  border: 1px solid rgba(46,42,36,0.08);
  border-radius: 100px;
  box-shadow: 0 1px 2px rgba(46,42,36,0.04);
  overflow: hidden;
  transition: border-radius 300ms cubic-bezier(0.19, 1, 0.22, 1), box-shadow 300ms ease;
}
.faq-item.is-open {
  border-radius: 24px;
  box-shadow: 0 8px 24px rgba(46,42,36,0.06);
}
.faq-trigger {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  color: var(--edit-ink);
  padding: 22px 28px;
  border-radius: inherit;
  font-family: var(--font-text);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color 200ms ease;
}
.faq-trigger:hover {
  color: var(--edit-french-blue);
}
.faq-icon {
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
  color: var(--edit-ink);
  transition: transform 300ms ease, color 200ms ease;
  flex-shrink: 0;
}
.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
  color: var(--edit-french-blue);
}
.faq-content {
  overflow: hidden;
  height: 0;
  opacity: 0;
  transition: height 400ms cubic-bezier(0.19, 1, 0.22, 1), opacity 400ms ease;
}
.faq-content-inner {
  padding: 4px 28px 28px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--edit-ink-soft);
}
