/* ── 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-lg: 20px; --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 ── */

/* ── 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-french-blue); transition: color 300ms ease;
}
.bb-nav__tag em { font-style: italic; color: var(--edit-french-blue); }
.bb-nav.is-scrolled .bb-nav__tag { color: rgba(250,247,240,0.7); }
.bb-nav.is-scrolled .bb-nav__tag em { color: rgba(250,247,240,0.9); }

/* ── 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; justify-content: 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; }
  body.legal-body, body.legal-body a, body.legal-body button, body.legal-body input { cursor: auto !important; }
  body.legal-body a, body.legal-body button { cursor: pointer !important; }
  body.legal-body input { cursor: text !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: 6px; height: 6px; background-color: var(--edit-ink); box-shadow: 0 0 0 1.5px rgba(255,255,255,0.95); }
  .cursor-outline { width: 36px; height: 36px; border: 1px solid rgba(46,42,36,0.45); box-shadow: 0 0 0 1px rgba(255,255,255,0.5); transition: transform 0.15s ease-out, width 0.2s, height 0.2s, border-color 0.2s, background-color 0.2s, box-shadow 0.2s; }
  
  /* Hover effects */
  .cursor-hover .cursor-outline {
    width: 56px; height: 56px;
    background-color: rgba(255,255,255,0.08);
    border-color: var(--edit-ink);
    box-shadow: 0 0 0 1.5px rgba(255,255,255,0.95);
  }
}

.hero-section {
  position: relative;
  width: 100%;
  min-height: calc(100vh - 64px);
  min-height: calc(100dvh - 64px);
  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: 32px 48px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}
.hero-wrapper { color: var(--edit-bone); }
.hero-wrapper .type-hero { color: var(--edit-bone); text-shadow: 0 2px 24px rgba(0,0,0,0.25); letter-spacing: -0.02em; }
.hero-eyebrow {
  color: var(--edit-bone);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  margin-bottom: 10px;
}
.hero-eyebrow .period { color: var(--edit-french-blue); }
.hero-hero { margin-bottom: 48px; }
.hero-hero .period { color: var(--edit-french-blue); }
.hero-cta { margin: 0 0 28px; }
.hero-supporting {
  color: var(--edit-ink-soft);
  font-family: var(--font-text);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.6;
  margin: 0 auto;
  max-width: 52ch;
}
.hero-note {
  position: absolute;
  left: 50%; bottom: 28px;
  transform: translateX(-50%);
  z-index: 1;
  color: var(--edit-ink-soft);
  font-family: var(--font-text);
  font-weight: 300;
  font-size: 12px;
  line-height: 1.5;
  margin: 0;
  max-width: 64ch;
  text-align: center;
  white-space: nowrap;
}
.hero-note em { font-style: italic; color: inherit; }
.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; }

.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: 120px 5vw 96px;
  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: 1200px;
  margin: 0 auto;
  padding: 0;
  will-change: transform, opacity;
}
.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: 20px; right: 20px;
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(46,42,36,0.04);
  border: 1px solid rgba(46,42,36,0.12);
  border-radius: 999px;
  cursor: pointer;
  color: var(--edit-ink-soft); z-index: 10;
  transition: color 200ms ease, background-color 200ms ease, border-color 200ms ease;
}
.modal-close:hover { color: var(--edit-ink); background: rgba(46,42,36,0.08); border-color: rgba(46,42,36,0.18); }
.modal-close:focus-visible { outline: 2px solid var(--edit-french-blue); outline-offset: 2px; }
.modal-close svg { width: 16px; height: 16px; }

/* Progress Bar */
.modal-header {
  padding: 20px 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: 28px 48px 32px;
  overflow-y: auto;
}
.modal-title {
  margin-bottom: 6px; font-size: 28px;
}
.modal-subtitle {
  font-size: 14px; color: var(--edit-clay); margin-bottom: 22px;
  line-height: 1.45;
}
.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: 18px; margin-bottom: 16px;
}
.form-group { margin-bottom: 16px; 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: 6px;
}
.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: 12px 14px;
  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: 10px; 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 .segment input:checked + span,
.segmented-control .segment:hover 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: 24px; }
.form-actions:not(.form-actions--split) .btn { width: 100%; }
.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); }

/* ── Legal pages (Privacy / Terms) ────────────────────────────── */
.legal-page {
  background: var(--edit-bone);
  min-height: 100vh;
  padding: 64px 24px 96px;
}
.legal-wrap {
  max-width: 720px; margin: 0 auto;
  font-family: var(--font-text);
  color: var(--edit-ink);
  line-height: 1.6;
}
.legal-eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--edit-french-blue);
  margin: 0 0 14px;
}
.legal-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(36px, 4.4vw, 52px);
  line-height: 1.04; letter-spacing: -0.015em;
  color: var(--edit-ink); margin: 0 0 12px;
}
.legal-title .period { color: var(--edit-french-blue); }
.legal-meta {
  font-size: 12px; letter-spacing: 0.06em; color: var(--edit-clay);
  margin: 0 0 32px;
}
.legal-lede {
  font-size: 17px; line-height: 1.6; color: var(--edit-ink);
  margin: 0 0 32px;
}
.legal-wrap h2 {
  font-family: var(--font-display); font-weight: 400;
  font-size: 22px; line-height: 1.2; letter-spacing: -0.005em;
  color: var(--edit-ink);
  margin: 40px 0 12px;
  padding-top: 24px;
  border-top: 1px solid var(--edit-stucco);
}
.legal-wrap h2:first-of-type { margin-top: 8px; padding-top: 24px; }
.legal-wrap p, .legal-wrap ul, .legal-wrap ol {
  font-size: 15px; color: var(--edit-ink-soft);
  margin: 0 0 14px;
}
.legal-wrap ul, .legal-wrap ol { padding-left: 22px; }
.legal-wrap li { margin: 0 0 8px; }
.legal-wrap strong { color: var(--edit-ink); font-weight: 600; }
.legal-wrap a {
  color: var(--edit-french-blue);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
.legal-wrap a:hover { color: var(--edit-ink); }
.legal-foot {
  display: flex; justify-content: center; align-items: center; gap: 14px;
  padding: 24px;
  border-top: 1px solid var(--edit-stucco);
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--edit-clay);
}
.legal-foot a { color: var(--edit-clay); text-decoration: none; transition: color 200ms ease; }
.legal-foot a:hover { color: var(--edit-french-blue); }
.legal-foot .period { color: var(--edit-french-blue); }
.legal-foot__sep { color: var(--edit-stone); }
@media (max-width: 600px) {
  .legal-page { padding: 40px 20px 64px; }
  .legal-wrap h2 { font-size: 19px; }
  .legal-lede { font-size: 16px; }
}

/* ── Success state (post-submit) ──────────────────────────────── */
.modal-container.is-success .modal-header { display: none; }
.modal-container.is-success .modal-body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 480px;
}
.form-step.success-state {
  text-align: center;
  padding: 0;
  max-width: 440px;
  margin: 0 auto;
}
.success-mark {
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--edit-french-blue);
  margin-bottom: 22px;
}
.success-eyebrow {
  font-size: 10px; font-weight: 600; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--edit-french-blue);
  margin-bottom: 14px;
}
.success-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(28px, 3.6vw, 36px);
  line-height: 1.05; letter-spacing: -0.01em;
  color: var(--edit-ink);
  margin: 0 0 16px;
}
.success-title .period { color: var(--edit-french-blue); }
.success-lede {
  font-size: 15px; line-height: 1.6;
  color: var(--edit-ink-soft);
  margin: 0 auto 28px;
  max-width: 40ch;
}
.success-cta { min-width: 220px; }
@media (max-width: 600px) {
  .form-step.success-state { padding: 8px 4px; }
  .success-cta { width: 100%; min-width: 0; }
}

@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: center; gap: 28px; width: 100%; padding-right: 0; }
  .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: 64px 5vw 32px;
  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: 64px 5vw 32px;
  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: 0;
  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-top: 28px;
  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 32px;
}
.membership-card__list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 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;
  border-top: 1px solid rgba(46,42,36,0.08);
  padding-top: 40px;
}
.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: 900px) {
  .membership-card { padding: 32px; }
  .membership-card__list { grid-template-columns: 1fr; }
}

/* ── HOW IT WORKS — PINNED SCROLL ── */
/* ── THE PROCESS — Blueprint grid. Open hairlines, no card fills,
   three-column rule of thirds, vertical french-blue spine. ── */
.process {
  background: var(--edit-bone);
  color: var(--edit-ink);
  position: relative;
  padding: 0 0 64px;
}

/* Pinned-scroll track. The track is taller than the viewport; the
   pin sits sticky at top: 0 with a fixed 100vh height so phases swap
   inside it as the user scrolls. */
.process__track {
  position: relative;
  /* Pin (~auto) + ~25vh per phase swap. Tight so standards arrives soon. */
  height: 150vh;
}
.process__pin {
  position: sticky;
  top: 80px; /* clears the sticky nav (~50-70px in scrolled state) */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 64px 5vw 32px;
  box-sizing: border-box;
}

.process__intro {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.process__title { color: var(--edit-ink); }
.process__title .period { color: var(--edit-french-blue); }

/* Blueprint grid container. Sized to its content so the spine ends
   at the last visible step instead of stretching the whole pin. */
.process__grid {
  position: relative;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}
.process__spine {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

/* Phase block: groups eyebrow + steps. Active block expands its
   steps; inactive blocks collapse so only the eyebrow shows. */
.process__phase-block {
  display: block;
}
.process__phase-row {
  border-top: none;
  padding: 18px 0 14px 28px;
  margin-top: 0;
  cursor: default;
}
.process__phase-block:first-of-type .process__phase-row { padding-top: 8px; }
.process__phase-label {
  font-family: var(--font-text);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--edit-stone);
  opacity: 0.5;
  transform: translateY(6px);
  transition: color 600ms cubic-bezier(0.19, 1, 0.22, 1),
              opacity 600ms cubic-bezier(0.19, 1, 0.22, 1),
              font-weight 400ms ease,
              transform 700ms cubic-bezier(0.19, 1, 0.22, 1);
  display: inline-block;
}
.process__phase-block.is-active .process__phase-label {
  color: var(--edit-french-blue);
  opacity: 1;
  font-weight: 700;
  transform: translateY(0);
}

/* Accordion: collapse step group when phase is inactive. CSS grid
   trick (0fr -> 1fr) animates the height smoothly. */
.process__phase-steps {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 700ms cubic-bezier(0.19, 1, 0.22, 1);
}
.process__phase-steps-inner {
  overflow: hidden;
}
.process__phase-block.is-active .process__phase-steps {
  grid-template-rows: 1fr;
}
.process__phase-steps .process__step {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 500ms ease 200ms, transform 500ms cubic-bezier(0.19, 1, 0.22, 1) 200ms;
}
.process__phase-block.is-active .process__phase-steps .process__step {
  opacity: 1;
  transform: translateY(0);
}

/* Step row: rule-of-thirds grid (number / content / metadata). */
.process__step {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) minmax(180px, 240px);
  column-gap: 32px;
  align-items: start;
  border-top: 1px solid var(--edit-stucco);
  padding: 24px 0 28px 28px;
}
.process__step-num {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 36px;
  line-height: 1;
  color: var(--edit-stone);
  font-feature-settings: "tnum";
  letter-spacing: -0.01em;
  transition: color 480ms cubic-bezier(0.19, 1, 0.22, 1);
}
.process__step.is-active .process__step-num { color: var(--edit-french-blue); }
.process__step-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.process__step-title {
  font-family: var(--font-text);
  font-weight: 500;
  letter-spacing: -0.005em;
  font-size: 19px;
  line-height: 1.3;
  margin: 0;
  color: var(--edit-ink);
  text-transform: none;
}
.process__step-copy {
  font-family: var(--font-text);
  font-size: 15px;
  line-height: 1.6;
  color: var(--edit-ink-soft);
  margin: 0;
  max-width: 60ch;
}
.process__step-copy em {
  font-style: italic;
  color: var(--edit-french-blue);
  font-weight: 500;
}
.process__step-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--font-text);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--edit-ink-soft);
  padding-top: 6px;
  text-align: right;
}

.process__standards {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 5vw 0;
  border-top: 1px solid var(--edit-stucco);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  text-align: center;
}
.process__standards-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
}
.process__standards-key {
  font-family: var(--font-text);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--edit-french-blue);
}
.process__standards-value {
  font-family: var(--font-text);
  font-size: 13px;
  line-height: 1.45;
  color: var(--edit-ink);
}

@media (max-width: 1100px) {
  /* Disable pinned scroll below desktop. iPad landscape / small
     laptops get the linear layout. */
  .process { padding: 48px 48px 56px; }
  .process__track { height: auto; }
  .process__pin { position: static; height: auto; padding: 0; overflow: visible; }
  .process__spine { display: none; }
  .process__intro { margin-bottom: 24px; }
  .process__phase-label { font-size: 14px; }
  .process__phase-steps { grid-template-rows: 1fr; }
  .process__phase-block .process__phase-steps .process__step { opacity: 1; transform: none; }
  .process__step {
    grid-template-columns: 64px minmax(0, 1fr) minmax(160px, 200px);
    column-gap: 24px;
  }
  /* Standards: auto-fit to avoid ragged 5-col at 1024px. */
  .process__standards {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }
}
@media (max-width: 900px) {
  .process { padding: 48px 48px 56px; }
  .process__phase-label { font-size: 13px; }
  .process__step {
    grid-template-columns: 56px minmax(0, 1fr);
    grid-template-rows: auto auto;
    row-gap: 16px;
    column-gap: 20px;
  }
  .process__step-meta {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px 0;
    text-align: left;
    padding-top: 0;
  }
  .process__step-meta > * {
    position: relative;
    padding: 0 14px;
  }
  .process__step-meta > *:first-child { padding-left: 0; }
  .process__step-meta > * + *::before {
    content: "";
    position: absolute;
    left: 0; top: 50%;
    width: 3px; height: 3px;
    background: var(--edit-french-blue);
    border-radius: 50%;
    transform: translateY(-50%);
  }
}
@media (max-width: 600px) {
  .process { padding: 40px 22px 48px; }
  .process__intro { margin-bottom: 18px; }
  .process__phase-row { padding: 22px 0 12px 18px; }
  .process__phase-label { font-size: 12px; letter-spacing: 0.14em; }
  /* Standards: tight 2-col label / value rows instead of stacked centers */
  .process__standards {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 20px 0 0 18px;
    text-align: left;
  }
  .process__standards-row {
    display: grid;
    grid-template-columns: 92px 1fr;
    column-gap: 16px;
    align-items: baseline;
    text-align: left;
    padding: 12px 0;
    border-bottom: 1px solid var(--edit-stucco);
  }
  .process__standards-row:last-child { border-bottom: none; }
  .process__standards-key { font-size: 9.5px; letter-spacing: 0.14em; }
  .process__standards-value { font-size: 12.5px; line-height: 1.4; }
  .process__step {
    grid-template-columns: 44px minmax(0, 1fr);
    column-gap: 16px;
    padding: 20px 0 22px 18px;
  }
  .process__step-num { font-size: 28px; }
  .process__step-title { font-size: 17px; }
  .process__step-copy { font-size: 14px; }
  .process__step-meta { font-size: 10px; letter-spacing: 0.12em; }
  .process__standards { grid-template-columns: 1fr; gap: 14px; padding-left: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .process__step-num { transition: none; }
  .process__spine line { stroke-dashoffset: 0 !important; }
  .process__track { height: auto; }
  .process__pin { position: static; height: auto; padding: 0; overflow: visible; }
  .process__phase-steps { grid-template-rows: 1fr; }
  .process__phase-block .process__phase-steps .process__step { opacity: 1; transform: 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: 3px;
  background: var(--edit-french-blue);
  transform: scaleX(0);
  transform-origin: 0 50%;
  z-index: 10000;
  pointer-events: none;
  will-change: transform;
}
@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-layout {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}
.faq-head {
  margin-bottom: 56px;
}
.faq-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(36px, 4.4vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--edit-ink);
  margin: 0;
}
.faq-title .period { color: var(--edit-french-blue); }
.faq-container {
  position: relative;
  max-width: none;
}
@media (max-width: 900px) {
  .faq-head { margin-bottom: 36px; }
}
@media (max-width: 600px) {
  .faq-title { font-size: clamp(30px, 8vw, 40px); }
  .faq-head { margin-bottom: 28px; }
}
.faq-item {
  position: relative;
  margin-bottom: 12px;
  background: rgba(250, 247, 240, 0.9);
  border: 1px solid var(--edit-stucco);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: background-color 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
}
.faq-item::before {
  content: "";
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 3px;
  background: var(--edit-french-blue);
  border-radius: var(--r-lg) 0 0 var(--r-lg);
  opacity: 0;
  transition: opacity 300ms ease;
  pointer-events: none;
}
.faq-item.is-open {
  background: var(--edit-bone);
  border-color: rgba(46,42,36,0.12);
  box-shadow: 0 8px 24px rgba(46,42,36,0.06);
}
.faq-item.is-open::before { opacity: 1; }
.faq-trigger {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  color: var(--edit-ink);
  padding: 28px 36px;
  border-radius: inherit;
  font-family: var(--font-text);
  font-size: 17px;
  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);
}
.faq-content-inner em { font-style: italic; color: var(--edit-french-blue); }
.faq-tags {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 22px;
  font-family: var(--font-text);
  font-size: 10.5px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.faq-tag {
  padding: 6px 12px;
  border: 1px solid var(--edit-stucco);
  background: transparent;
  color: var(--edit-ink);
  border-radius: 0;
}

/* ─────────────────────────────────────────────────────────────
   MOBILE-FIRST FIXES — phones (≤600px) and small phones (≤400px)
   Consolidated overrides to ensure the site is usable and looks
   correct on every screen size.
   ───────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
  /* Nav: drop the secondary tag, slightly heavier brand */
  .bb-nav { padding: 16px 20px; }
  .bb-nav__tag { display: none; }
  .bb-nav__brand { font-size: 24px; font-weight: 500; }
  .bb-nav.is-scrolled { top: 8px; margin: 0 12px; padding: 14px 22px; min-height: 44px; }
  .bb-nav.is-scrolled .bb-nav__brand { font-size: 20px; }

  /* Manifesto: reduce side padding so copy isn't squeezed */
  .manifesto { padding: 56px 22px; }
  .manifesto-body { max-width: 60ch; }

  /* Hero wrapper: tighten padding for phones */
  .hero-wrapper { padding: 24px 20px; }

  /* Hero copy on phones: tighten and let note wrap */
  .hero-supporting { font-size: 14px; max-width: 36ch; }
  .hero-note { font-size: 10px; bottom: 18px; white-space: nowrap; padding: 0 12px; max-width: none; }
  .hero-hero { margin-bottom: 32px; }

  /* Hero: full viewport on mobile */
  .hero-section { min-height: calc(100vh - 56px); min-height: calc(100dvh - 56px); }

  /* Closing CTA: avoid double padding (outer + inner card) */
  .closing-cta { padding: 56px 16px; }
  .closing-cta__inner { padding: 32px 22px; }

  /* CTA strip pill: stack vertically with even padding */
  .bb-cta-strip__inner {
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 14px;
    border-radius: 24px;
  }
  .bb-cta-strip__inner .btn { width: 100%; }

  /* Modal: clamp title; ensure close target is tappable */
  .modal-title { font-size: clamp(24px, 6vw, 36px); }
  .modal-close {
    width: 44px; height: 44px;
    display: inline-flex; align-items: center; justify-content: center;
  }

  /* Buttons: smaller visual size, preserve 44px tap height */
  .btn { padding: 12px 22px; min-height: 44px; font-size: 12px; letter-spacing: 0.16em; }

  /* Membership: compact section so users reach the CTA faster */
  .membership-section { padding: 56px 20px; }
  .membership-inner { gap: 24px; }
  .membership-head { gap: 18px; margin-bottom: 16px; }
  .membership-title { font-size: clamp(36px, 9vw, 56px); line-height: 1; }
  .membership-card { padding: 24px; gap: 18px; border-radius: 24px; }
  .membership-card__top { margin-bottom: 0; padding-bottom: 18px; }
  .membership-card__title { font-size: 20px; }
  .membership-card__price { margin-top: 22px; }
  .membership-card__price-amount { font-size: clamp(44px, 11vw, 64px); line-height: 1; }
  .membership-card__disclaimer { font-size: 12px; margin: 14px 0 22px; }
  .membership-card__rule { margin: 0 0 22px; }
  .membership-card__list { gap: 10px; margin: 0 0 22px; }
  .membership-card__list li { font-size: 14px; line-height: 1.45; }
  .membership-card__cta {
    justify-content: center;
    padding-top: 28px;
    gap: 14px;
  }
  .membership-card__cta .btn--primary {
    padding: 12px 22px;
    font-size: 11px;
  }

  /* Footer: smaller link text on phones */
  .bb-foot { padding: 40px 22px; }
  .brand-foot { padding: 48px 22px 24px; }
  .brand-foot__links { gap: 14px; font-size: 9px; letter-spacing: 0.12em; }
  .brand-foot__copy { font-size: 9px; }
}

/* Extra-narrow phones (iPhone SE width and below) */
@media (max-width: 380px) {
  .bb-nav__brand { font-size: 18px; }
  .manifesto { padding: 48px 18px; }
  .hero-wrapper { padding: 64px 16px; }
  .closing-cta__inner { padding: 28px 18px; }
  /* Hero typewriter: drop floor so "Editing your health." fits one line */
  .type-hero { font-size: clamp(38px, 11vw, 56px); }
  /* Countdown: tighter so 4 blocks fit without overflowing 320px */
  .countdown-timer { gap: 14px; }
  .countdown-block { min-width: 48px; }
  .countdown-value { font-size: 36px; }
  /* Type eyebrow tracking tightened */
  .type-eyebrow { letter-spacing: 0.14em; }
  /* Footer copy bumped up to keep readable */
  .brand-foot__copy { font-size: 10px; }
}
