/* ============================================================
   DESIGNEDLY — SHARED DESIGN SYSTEM
   Japanese woodblock meets 3D papercut
   Terracotta · Moss · Honey · Aged Linen · Charcoal
============================================================ */

/* ── TOKENS ─────────────────────────────────────────────── */
:root {
  --terracotta:       #C4622D;
  --terracotta-light: #E8956D;
  --terracotta-deep:  #9E4A1E;
  --terracotta-pale:  rgba(196,98,45,0.07);
  --moss:             #4A6741;
  --moss-light:       #7A9E6E;
  --moss-pale:        #E8F0E5;
  --honey:            #D4A843;
  --honey-light:      #F0D478;
  --linen:            #F2EBE0;
  --linen-dark:       #E2D5C4;
  --cream:            #FAF6F0;
  --charcoal:         #2C2416;
  --charcoal-soft:    #5A4E3C;
  --ink:              #1A1008;
  --warm-white:       #FFFDF9;

  --font-display: 'Shippori Mincho', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
  --font-mono:    'DM Mono', monospace;

  --radius-sm:   4px;
  --radius-md:   10px;
  --radius-lg:   20px;
  --radius-xl:   28px;
  --radius-full: 999px;

  --shadow-card: 0 2px 20px rgba(44,36,22,0.08);
  --shadow-lift: 0 8px 40px rgba(44,36,22,0.14);
  --shadow-warm: 0 2px 12px rgba(44,36,22,0.08);

  --nav-height:    68px;
  --banner-height: 52px;
}

/* ── RESET ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--linen);
  color: var(--charcoal);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: var(--font-body); }

/* ── GOOGLE FONTS ────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Shippori+Mincho:wght@400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300&family=DM+Mono:wght@400;500&display=swap');

/* ── PREVIEW BANNER ──────────────────────────────────────── */
.preview-banner {
  background: var(--terracotta);
  color: var(--linen);
  padding: 10px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  position: sticky;
  top: 0;
  z-index: 1000;
  min-height: var(--banner-height);
}
.preview-banner p {
  font-size: 0.83rem;
  line-height: 1.4;
}
.preview-banner strong { font-weight: 600; }
.preview-banner-btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.banner-btn {
  font-size: 0.76rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  border: 1.5px solid rgba(242,235,224,0.7);
  transition: all 0.2s;
  white-space: nowrap;
  background: transparent;
  color: var(--linen);
}
.banner-btn:hover { background: rgba(242,235,224,0.15); }
.banner-btn-filled {
  background: var(--linen);
  color: var(--terracotta);
  border-color: var(--linen);
}
.banner-btn-filled:hover { background: var(--cream); }

/* ── NAVIGATION ──────────────────────────────────────────── */
nav {
  background: var(--warm-white);
  border-bottom: 1px solid var(--linen-dark);
  height: var(--nav-height);
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: var(--banner-height);
  z-index: 999;
  box-shadow: var(--shadow-warm);
}
.nav-wordmark {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--charcoal);
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.nav-wordmark .ed { color: var(--terracotta); font-weight: 800; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--charcoal-soft);
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active { color: var(--terracotta); }
.nav-disenanza {
  font-size: 0.78rem !important;
  opacity: 0.4;
  display: flex !important;
  align-items: center;
  gap: 4px;
  cursor: default;
  pointer-events: none;
}
.nav-signin {
  background: var(--charcoal);
  color: var(--linen) !important;
  padding: 7px 18px;
  border-radius: var(--radius-full);
  font-weight: 500 !important;
  transition: background 0.2s !important;
}
.nav-signin:hover { background: var(--ink) !important; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  display: block;
  transition: all 0.3s;
}
.nav-mobile {
  display: none;
  position: fixed;
  top: calc(var(--banner-height) + var(--nav-height));
  left: 0; right: 0;
  background: var(--warm-white);
  border-bottom: 1px solid var(--linen-dark);
  padding: 20px 24px;
  z-index: 998;
  box-shadow: var(--shadow-lift);
  flex-direction: column;
  gap: 16px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-size: 1rem;
  color: var(--charcoal-soft);
  padding: 4px 0;
  border-bottom: 1px solid var(--linen-dark);
}

/* ── LAYOUT HELPERS ──────────────────────────────────────── */
.page-wrap { max-width: 1200px; margin: 0 auto; }
.section { padding: 88px 48px; }
.section-sm { padding: 56px 48px; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--terracotta);
}
.eyebrow-plain { margin-bottom: 10px; }
.eyebrow-plain::before { display: none; }

.display-xl {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--charcoal);
}
.display-lg {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--charcoal);
}
.display-md {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--charcoal);
}
.accent { color: var(--terracotta); }
.accent-moss { color: var(--moss); }
.accent-honey { color: var(--honey); }

.lead {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--charcoal-soft);
  line-height: 1.75;
  max-width: 580px;
}
.lead-center { text-align: center; margin-left: auto; margin-right: auto; }

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 12px 26px;
  border-radius: var(--radius-full);
  border: none;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--terracotta);
  color: var(--linen);
}
.btn-primary:hover {
  background: var(--terracotta-deep);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(196,98,45,0.28);
}
.btn-secondary {
  background: transparent;
  color: var(--charcoal);
  border: 1.5px solid var(--linen-dark);
}
.btn-secondary:hover {
  border-color: var(--terracotta);
  color: var(--terracotta);
}
.btn-moss {
  background: var(--moss);
  color: var(--linen);
}
.btn-moss:hover {
  background: #3a5432;
  transform: translateY(-1px);
}
.btn-honey {
  background: var(--honey);
  color: var(--charcoal);
  border: 2px solid var(--charcoal);
  box-shadow: 3px 3px 0 var(--charcoal);
  font-weight: 600;
}
.btn-honey:hover {
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 var(--charcoal);
}
.btn-linen {
  background: var(--linen);
  color: var(--terracotta-deep);
  font-weight: 600;
}
.btn-linen:hover { background: var(--warm-white); transform: translateY(-1px); }
.btn-outline-linen {
  background: transparent;
  color: var(--linen);
  border: 1.5px solid rgba(242,235,224,0.5);
}
.btn-outline-linen:hover { border-color: var(--linen); background: rgba(242,235,224,0.1); }
.btn-lg { padding: 15px 32px; font-size: 1rem; }
.btn-sm { padding: 7px 16px; font-size: 0.8rem; }
.btn-full { width: 100%; justify-content: center; }

/* pill tag */
.pill-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--linen-dark);
  color: var(--charcoal-soft);
  background: var(--warm-white);
}

/* ── CARDS ───────────────────────────────────────────────── */
.card {
  background: var(--warm-white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(44,36,22,0.06);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: all 0.3s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}

/* Facilitator card */
.fac-card { position: relative; }
.fac-card-photo {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}
.fac-card-photo-placeholder {
  width: 100%;
  height: 220px;
  background: linear-gradient(135deg, var(--linen-dark), var(--moss-pale));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
}
.fac-card-body { padding: 22px 24px 24px; }

.example-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(26,16,8,0.55);
  color: var(--linen);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  backdrop-filter: blur(4px);
}

/* Founding badge */
.founding-badge {
  position: absolute;
  top: 12px;
  right: 12px;
}
.founding-badge-inner {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--honey);
  color: var(--charcoal);
  font-family: var(--font-display);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  border: 2px solid var(--charcoal);
  box-shadow: 2px 2px 0 var(--charcoal);
}
.founding-badge-inner::before { content: '★'; font-size: 0.6rem; }

.fac-card-location {
  font-size: 0.75rem;
  color: var(--charcoal-soft);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 4px;
}
.fac-card-topic {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--moss);
  background: var(--moss-pale);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  display: inline-block;
  margin-bottom: 10px;
}
.fac-card-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.2;
  margin-bottom: 4px;
}
.fac-card-subtitle {
  font-size: 0.78rem;
  color: var(--terracotta);
  margin-bottom: 10px;
  font-weight: 400;
}
.fac-card-bio {
  font-size: 0.84rem;
  color: var(--charcoal-soft);
  line-height: 1.65;
  font-weight: 300;
  margin-bottom: 14px;
}
.fac-card-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  border: 1px solid var(--linen-dark);
  color: var(--charcoal-soft);
}
.tag-level {
  border-color: var(--terracotta-light);
  color: var(--terracotta-deep);
  background: var(--terracotta-pale);
}
.trust {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
}
.trust-dots { display: flex; gap: 3px; }
.trust-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--linen-dark);
}
.trust-dot.on { background: var(--honey); }
.trust-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--charcoal-soft);
}

/* Could-be-you card */
.cby-card {
  background: var(--warm-white);
  border-radius: var(--radius-lg);
  border: 2px dashed var(--linen-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 52px 32px;
  text-align: center;
  transition: all 0.3s ease;
  min-height: 400px;
}
.cby-card:hover { border-color: var(--terracotta-light); transform: translateY(-4px); }
.cby-icon {
  width: 64px; height: 64px;
  background: var(--linen);
  border-radius: 50%;
  border: 2px dashed var(--linen-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
}
.cby-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 10px;
}
.cby-sub {
  font-size: 0.85rem;
  color: var(--charcoal-soft);
  line-height: 1.65;
  font-weight: 300;
  margin-bottom: 24px;
}

/* ── FILTER BAR ──────────────────────────────────────────── */
.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 40px;
  padding: 16px 20px;
  background: var(--warm-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--linen-dark);
}
.filter-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charcoal-soft);
  flex-shrink: 0;
}
.filter-divider {
  width: 1px;
  height: 20px;
  background: var(--linen-dark);
  margin: 0 4px;
}
.filter-chip {
  font-family: var(--font-body);
  font-size: 0.78rem;
  padding: 5px 13px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--linen-dark);
  background: var(--linen);
  color: var(--charcoal-soft);
  transition: all 0.2s;
}
.filter-chip:hover,
.filter-chip.active {
  border-color: var(--terracotta);
  color: var(--terracotta);
  background: var(--terracotta-pale);
}

/* ── CARDS GRID ──────────────────────────────────────────── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ── BENEFIT CARDS ───────────────────────────────────────── */
.benefit-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.benefit-card {
  background: var(--warm-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--linen-dark);
  padding: 32px 28px;
}
.benefit-icon {
  font-size: 1.6rem;
  margin-bottom: 16px;
  color: var(--terracotta);
}
.benefit-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 8px;
}
.benefit-desc {
  font-size: 0.85rem;
  color: var(--charcoal-soft);
  line-height: 1.65;
  font-weight: 300;
}

/* ── STEP CARDS (journey) ────────────────────────────────── */
.steps-2x4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 16px;
  margin-top: 40px;
}
.step-card {
  background: var(--warm-white);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--linen-dark);
  padding: 24px 22px;
  transition: all 0.2s;
}
.step-card.highlight {
  border-color: var(--terracotta);
  background: rgba(196,98,45,0.05);
}
.step-num {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--linen-dark);
  color: var(--charcoal-soft);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.step-card.highlight .step-num {
  background: var(--terracotta);
  color: var(--linen);
}
.step-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 6px;
  line-height: 1.3;
}
.step-here {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--terracotta);
  color: var(--linen);
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: 6px;
  vertical-align: middle;
}
.step-desc {
  font-size: 0.8rem;
  color: var(--charcoal-soft);
  line-height: 1.6;
  font-weight: 300;
}

/* ── LEVEL ACCORDIONS ────────────────────────────────────── */
.level-accordion {
  border: 1px solid var(--linen-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 8px;
  background: var(--warm-white);
}
.level-accordion-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  transition: background 0.2s;
}
.level-accordion-header:hover { background: var(--linen); }
.level-badge {
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  background: var(--moss);
  color: var(--linen);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.level-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--charcoal);
}
.level-tagline {
  font-size: 0.82rem;
  color: var(--charcoal-soft);
  font-weight: 300;
}
.level-chevron {
  margin-left: auto;
  color: var(--terracotta);
  font-size: 1rem;
  transition: transform 0.3s;
}
.level-accordion.open .level-chevron { transform: rotate(180deg); }
.level-accordion-body {
  display: none;
  padding: 0 24px 24px;
  border-top: 1px solid var(--linen-dark);
}
.level-accordion.open .level-accordion-body { display: block; }
.level-topics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding-top: 20px;
}
.level-topic {
  background: var(--linen);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  border: 1px solid var(--linen-dark);
  transition: all 0.2s;
  cursor: default;
}
.level-topic:hover { border-color: var(--terracotta-light); }
.level-topic-name {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 4px;
}
.level-topic-desc {
  font-size: 0.76rem;
  color: var(--charcoal-soft);
  font-weight: 300;
  line-height: 1.5;
}
.level-topic-soon {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charcoal-soft);
  opacity: 0.6;
  margin-top: 6px;
}

/* ── QUOTE SECTION ───────────────────────────────────────── */
.quote-section {
  background: var(--cream);
  text-align: center;
  padding: 80px 48px;
  border-top: 1px solid var(--linen-dark);
  border-bottom: 1px solid var(--linen-dark);
}
.quote-mark {
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--terracotta);
  line-height: 0.5;
  margin-bottom: 24px;
  display: block;
  opacity: 0.4;
}
.quote-text {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 500;
  color: var(--charcoal);
  line-height: 1.45;
  max-width: 760px;
  margin: 0 auto 20px;
  font-style: italic;
}
.quote-attribution {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--charcoal-soft);
}

/* ── CLOSING CTA ─────────────────────────────────────────── */
.closing-cta {
  background: var(--terracotta);
  padding: 88px 48px;
  text-align: center;
}
.closing-cta .eyebrow { color: rgba(242,235,224,0.6); justify-content: center; }
.closing-cta .eyebrow::before { background: rgba(242,235,224,0.4); }
.closing-cta .display-lg { color: var(--linen); margin: 8px 0 16px; }
.closing-cta .lead { color: rgba(242,235,224,0.75); margin: 0 auto 36px; }
.closing-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── FOOTER ──────────────────────────────────────────────── */
footer {
  background: var(--ink);
  color: rgba(242,235,224,0.55);
  padding: 60px 48px 36px;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .nav-wordmark {
  color: var(--linen);
  display: block;
  margin-bottom: 12px;
}
.footer-brand p {
  font-size: 0.8rem;
  color: rgba(242,235,224,0.45);
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 20px;
}
.footer-disenanza {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: rgba(242,235,224,0.3);
  border: 1px solid rgba(242,235,224,0.12);
  padding: 4px 12px;
  border-radius: var(--radius-full);
}
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--linen);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 0.8rem;
  color: rgba(242,235,224,0.45);
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--linen); }
.footer-promise {
  font-size: 0.8rem;
  color: rgba(242,235,224,0.45);
  line-height: 1.7;
  font-weight: 300;
}
.footer-promise a {
  color: var(--honey);
  transition: opacity 0.2s;
}
.footer-promise a:hover { opacity: 0.8; }
.footer-bottom {
  border-top: 1px solid rgba(242,235,224,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom p { font-size: 0.73rem; color: rgba(242,235,224,0.28); }

/* ── MODAL ───────────────────────────────────────────────── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(26,16,8,0.72);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 24px;
  backdrop-filter: blur(6px);
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--warm-white);
  border-radius: var(--radius-xl);
  padding: 48px;
  max-width: 500px;
  width: 100%;
  position: relative;
  box-shadow: var(--shadow-lift);
  max-height: 90vh;
  overflow-y: auto;
}
.modal-close {
  position: absolute;
  top: 18px; right: 18px;
  background: var(--linen);
  border: none;
  width: 32px; height: 32px;
  border-radius: 50%;
  font-size: 1rem;
  color: var(--charcoal-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.modal-close:hover { background: var(--linen-dark); }
.modal-tabs {
  display: flex;
  background: var(--linen);
  border-radius: var(--radius-full);
  padding: 4px;
  margin-bottom: 28px;
}
.modal-tab {
  flex: 1;
  padding: 8px;
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  font-size: 0.85rem;
  color: var(--charcoal-soft);
  transition: all 0.2s;
}
.modal-tab.active {
  background: var(--terracotta);
  color: var(--linen);
  font-weight: 500;
}
.modal-panel { display: none; }
.modal-panel.active { display: block; }
.modal h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 6px;
}
.modal-sub {
  font-size: 0.86rem;
  color: var(--charcoal-soft);
  margin-bottom: 24px;
  line-height: 1.6;
  font-weight: 300;
}
.charter-note {
  background: var(--terracotta-pale);
  border: 1px solid rgba(196,98,45,0.2);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  font-size: 0.78rem;
  color: var(--terracotta-deep);
  margin-bottom: 20px;
  line-height: 1.5;
}
.form-field { margin-bottom: 14px; }
.form-field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 5px;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 9px 13px;
  border: 1.5px solid var(--linen-dark);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.86rem;
  color: var(--charcoal);
  background: var(--linen);
  outline: none;
  transition: border-color 0.2s;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--terracotta); }
.form-field textarea { resize: vertical; min-height: 80px; }
.form-hint {
  font-size: 0.73rem;
  color: var(--charcoal-soft);
  margin-top: 4px;
  font-style: italic;
}

/* ── SCROLL REVEAL ───────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── UTILITIES ───────────────────────────────────────────── */
.text-center { text-align: center; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mt-64 { margin-top: 64px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.gap-16 { gap: 16px; }
.flex  { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(2,1fr); }
  .steps-2x4  { grid-template-columns: repeat(2,1fr); }
  .benefit-cards { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .level-topics { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
  :root { --banner-height: 80px; }
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .section { padding: 64px 20px; }
  .section-sm { padding: 40px 20px; }
  .cards-grid { grid-template-columns: 1fr; }
  .steps-2x4  { grid-template-columns: 1fr 1fr; }
  .benefit-cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .level-topics { grid-template-columns: 1fr 1fr; }
  .closing-cta { padding: 64px 20px; }
  .quote-section { padding: 56px 20px; }
  footer { padding: 48px 20px 28px; }
  .filter-bar { padding: 12px 16px; }
  .modal { padding: 32px 24px; }
}
@media (max-width: 480px) {
  .steps-2x4 { grid-template-columns: 1fr; }
  .level-topics { grid-template-columns: 1fr; }
  .preview-banner { flex-direction: column; gap: 10px; padding: 12px 16px; }
}

/* ── SHARED JS HOOKS ─────────────────────────────────────── */
/* These classes are toggled by shared.js */
.hidden { display: none !important; }
