/* ══════════════════════════════════════════
   ANKORIUM — Design System
   ══════════════════════════════════════════ */

:root {
  /* Ink & Brass palette — variable names retained for compatibility, values updated */
  --blue: #122738;            /* ink navy (was teal #0E7490) */
  --blue-deep: #0B1A26;       /* ink deep */
  --blue-dark: #1B3447;       /* ink soft (used in gradients) */
  --blue-midnight: #08131C;   /* deepest ink */
  --blue-light: #E8E1D2;      /* warm bone tint (replaces pale teal) */
  --blue-pale: #EFE7D8;       /* warmer bone */
  --gold: #A88654;            /* muted brass (was mustard #C69A2B) */
  --gold-light: #C5A275;      /* brass light */
  --gold-glow: rgba(168, 134, 84, 0.15);
  --gold-border: rgba(168, 134, 84, 0.4);
  --ivory: #FFFFF0;
  --cream: #F4EFE6;           /* warm bone (was bright #faf8f2) */
  --white: #ffffff;
  --text: #1A1F2A;            /* ink charcoal */
  --text-mid: #4A5260;        /* slate */
  --text-muted: #7A8090;
  --text-on-blue: #ffffff;
  --text-on-blue-muted: rgba(255, 255, 255, 0.78);
  --border: rgba(26, 31, 42, 0.10);
  --border-blue: rgba(255, 255, 255, 0.10);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.07);
  --shadow-lg: 0 16px 50px rgba(0,0,0,0.10);
  --shadow-glow: 0 8px 40px rgba(18, 39, 56, 0.18);
  --radius: 16px;
  --radius-sm: 10px;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  font-variation-settings: "opsz" 48, "SOFT" 30, "WONK" 0;
  font-feature-settings: "ss01", "cv11";
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── NAV ── */
.nav-wrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: all 0.35s ease;
}

.nav-wrap.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

/* Interior pages: nav starts scrolled (light bg) */
.nav-wrap.nav-light {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

.nav-light .nav-wordmark { color: var(--blue); }
.nav-light .nav-link { color: var(--text-mid); }
.nav-light .nav-link:hover { color: var(--blue); }
.nav-light .nav-cta { background: var(--blue); color: var(--white); }
.nav-light .nav-cta:hover { background: var(--blue-deep); box-shadow: var(--shadow-glow); }
.nav-light .nav-toggle span { background: var(--text); }

nav {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 76px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.nav-logo { display: none; }   /* legacy PNG mark — replaced by SVG wordmark */
.nav-wordmark { display: none; } /* legacy text wordmark — replaced by SVG */
.ak { color: var(--gold); }      /* legacy, harmless */

/* ── BRAND WORDMARK (SVG) ── */
.brand-wordmark {
  display: block;
  height: 26px;
  width: auto;
  flex-shrink: 0;
  --wm-ink: var(--white);
  --wm-brass: var(--gold-light);
  transition: color 0.35s;
}
.brand-wordmark .ink-stroke { stroke: var(--wm-ink); }
.brand-wordmark .ink-fill   { fill:   var(--wm-ink); }
.brand-wordmark .brass-stroke { stroke: var(--wm-brass); }
.brand-wordmark .brass-fill   { fill:   var(--wm-brass); }

/* On scrolled nav (white bg over hero) and on interior-page light nav: dark wordmark */
.nav-wrap.scrolled .brand-wordmark,
.nav-wrap.nav-light .brand-wordmark {
  --wm-ink: var(--text);
  --wm-brass: var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.2s;
  letter-spacing: 0.01em;
}

.nav-link:hover { color: var(--white); }
.nav-link.active { color: var(--white); }

.scrolled .nav-link { color: var(--text-mid); }
.scrolled .nav-link:hover { color: var(--blue); }
.scrolled .nav-link.active { color: var(--blue); font-weight: 600; }

.nav-cta {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--blue-deep);
  background: var(--white);
  text-decoration: none;
  padding: 0.6rem 1.6rem;
  border-radius: 8px;
  transition: all 0.25s;
  letter-spacing: 0.02em;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.scrolled .nav-cta { background: var(--blue); color: var(--white); }
.scrolled .nav-cta:hover { background: var(--blue-deep); box-shadow: var(--shadow-glow); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  margin: 6px 0;
  transition: 0.3s;
  border-radius: 2px;
}

.scrolled .nav-toggle span { background: var(--text); }

/* ── HERO (HOME — BLUE) ── */
.hero {
  background: var(--blue);
  padding: 10rem 0 6rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(168, 134, 84, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -15%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

.hero-watermark {
  position: absolute;
  right: -4rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 28rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.04);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero-badge {
  display: inline-block;
  background: transparent;
  border: none;
  padding: 0;
  border-radius: 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--gold-light);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 0.7s ease forwards 0.1s;
}

.hero-badge::before { content: none; }

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 1.8rem;
  opacity: 0;
  animation: fadeUp 0.7s ease forwards 0.25s;
}

.hero h1 .gold { color: var(--gold-light); }

.hero-sub {
  font-size: 1.12rem;
  font-weight: 300;
  color: var(--text-on-blue-muted);
  max-width: 56ch;
  line-height: 1.75;
  margin-bottom: 3rem;
  opacity: 0;
  animation: fadeUp 0.7s ease forwards 0.4s;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.7s ease forwards 0.55s;
}

.hero-stats {
  display: flex;
  gap: 3.5rem;
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0;
  animation: fadeUp 0.7s ease forwards 0.7s;
}

.hero-stat .num {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 2.2rem;
  color: var(--gold-light);
  line-height: 1;
}

.hero-stat .label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-on-blue-muted);
  margin-top: 0.5rem;
  font-weight: 500;
}

.hero-replaces {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0;
  animation: fadeUp 0.7s ease forwards 0.7s;
}
.hero-replaces-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin-bottom: 1rem;
}
.hero-replaces-list .strike {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: line-through;
  text-decoration-color: var(--gold-light);
  text-decoration-thickness: 1.5px;
  letter-spacing: 0.02em;
}
.hero-replaces-caption {
  font-size: 0.95rem;
  color: var(--text-on-blue);
  margin: 0;
}
.hero-replaces-caption strong {
  color: var(--gold-light);
  font-weight: 600;
}

.founders-banner {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 1rem 0.5rem 0.5rem;
  margin-bottom: 1.5rem;
  background: rgba(168, 134, 84, 0.12);
  border: 1px solid rgba(168, 134, 84, 0.4);
  border-radius: 999px;
  flex-wrap: wrap;
}
.founders-pill {
  display: inline-block;
  padding: 0.25rem 0.625rem;
  background: var(--gold-light);
  color: #2a1d00;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.founders-text {
  font-size: 0.875rem;
  color: var(--text-on-blue, #fff);
}
@media (max-width: 640px) {
  .founders-banner { border-radius: 12px; padding: 0.75rem; }
  .founders-text { font-size: 0.8125rem; }
}

/* ── INTERIOR PAGE HERO ── */
.page-hero {
  background: var(--blue);
  padding: 9rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(168, 134, 84, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.page-hero .section-label { color: var(--gold-light); }

.page-hero h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--white);
  max-width: 700px;
  margin-bottom: 1.2rem;
}

.page-hero h1 .gold { color: var(--gold-light); }

.page-hero-sub {
  font-size: 1.08rem;
  font-weight: 300;
  color: var(--text-on-blue-muted);
  max-width: 56ch;
  line-height: 1.75;
}

/* ── BUTTONS ── */
.btn-hero {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--blue);
  background: var(--cream);
  text-decoration: none;
  padding: 0.95rem 1.8rem;
  border-radius: 4px;
  transition: background 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  letter-spacing: 0.005em;
}

.btn-hero:hover {
  background: var(--white);
}

/* Secondary text-link with brass underline + dot finials (matches the wordmark's brass thread) */
.btn-hero-outline {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--white);
  text-decoration: none;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--gold-light);
  border-radius: 0;
  padding: 0 0 4px 0;
  transition: color 0.2s, border-color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
}

.btn-hero-outline::before,
.btn-hero-outline::after {
  content: '';
  position: absolute;
  bottom: -1.5px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold-light);
  transition: background 0.2s;
}
.btn-hero-outline::before { left: -2px; }
.btn-hero-outline::after { right: -2px; }

.btn-hero-outline:hover {
  color: var(--gold-light);
  border-color: var(--gold-light);
}
.btn-hero-outline:hover::before,
.btn-hero-outline:hover::after {
  background: var(--gold-light);
}

/* ── BRASS-THREAD TEXT-LINK CTA (for light backgrounds) ── */
.btn-thread {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--blue);
  text-decoration: none;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--gold);
  border-radius: 0;
  padding: 0 0 4px 0;
  transition: color 0.2s, border-color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  letter-spacing: 0.005em;
}
.btn-thread::before,
.btn-thread::after {
  content: '';
  position: absolute;
  bottom: -1.5px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  transition: background 0.2s;
}
.btn-thread::before { left: -2px; }
.btn-thread::after { right: -2px; }
.btn-thread:hover { color: var(--blue-deep); border-color: var(--blue-deep); }

/* ── BRASS THREAD DIVIDER ── */
/* Use as <div class="brass-thread"></div> as a section/list separator. */
.brass-thread {
  position: relative;
  display: block;
  width: 100%;
  max-width: 280px;
  height: 4px;
  margin: 1rem 0;
  background: linear-gradient(currentColor, currentColor) no-repeat 4px calc(50% - 0.75px) / calc(100% - 8px) 1.5px;
  color: var(--gold-light);
}
.brass-thread::before,
.brass-thread::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  transform: translateY(-50%);
}
.brass-thread::before { left: 0; }
.brass-thread::after { right: 0; }
/* When on light background, use --gold instead */
.section-cream .brass-thread,
.brass-thread.on-light { color: var(--gold); }

.btn-primary {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  background: var(--blue);
  text-decoration: none;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  transition: all 0.25s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary:hover {
  background: var(--blue-deep);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-secondary {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-mid);
  text-decoration: none;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  transition: all 0.25s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-secondary:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-light);
}

.btn-final {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  text-decoration: none;
  padding: 1.1rem 2.8rem;
  border-radius: 10px;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  position: relative;
  box-shadow: var(--shadow-glow);
}

.btn-final:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(18, 39, 56, 0.35);
}

/* ── WAVE DIVIDER ── */
.wave-divider {
  display: block;
  width: 100%;
  line-height: 0;
  margin-top: -1px;
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: auto;
}

.wave-divider.flip {
  transform: scaleY(-1) scaleX(-1);
  margin-top: 0;
  margin-bottom: -1px;
}

/* ── SECTION UTILITIES ── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 0.8rem;
  font-weight: 500;
}

.section-label.on-blue { color: var(--gold-light); }

/* ── BRASS THREAD PREFIX ── */
/* The wordmark's brass-bar-with-dot reused as a ::before on small-caps eyebrows. */
.section-label::before,
.footer-col h4::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 4px;
  flex-shrink: 0;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 4'%3E%3Crect y='1.25' width='14' height='1.5' rx='0.75'/%3E%3Ccircle cx='16' cy='2' r='2'/%3E%3C/svg%3E") no-repeat center / 18px 4px;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 4'%3E%3Crect y='1.25' width='14' height='1.5' rx='0.75'/%3E%3Ccircle cx='16' cy='2' r='2'/%3E%3C/svg%3E") no-repeat center / 18px 4px;
}

.section-heading {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 1.2rem;
}

.section-heading.on-blue { color: var(--white); }

.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.85;
}

.section-sub.on-blue { color: var(--text-on-blue-muted); }

/* ── BLUE SECTION ── */
.section-blue {
  background: var(--blue);
  padding: 5rem 0;
  position: relative;
}

/* ── CREAM SECTION ── */
.section-cream {
  padding: 5rem 0;
  background: var(--cream);
}

/* ── FEATURE CARDS (on blue) ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all 0.35s ease;
  backdrop-filter: blur(8px);
}

.feature-card:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(168, 134, 84, 0.15);
  border: 1px solid rgba(168, 134, 84, 0.25);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.3rem;
}

.feature-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: var(--white);
}

.feature-card p {
  font-size: 0.88rem;
  color: var(--text-on-blue-muted);
  line-height: 1.75;
}

/* ── FEATURE CARDS (on cream) ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all 0.3s;
}

.card:hover {
  border-color: rgba(18, 39, 56, 0.15);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.card-icon {
  width: 48px;
  height: 48px;
  background: var(--blue-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.3rem;
}

.card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: var(--text);
}

.card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ── STEPS ── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 48px;
  left: 16%;
  right: 16%;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--gold), var(--blue));
  opacity: 0.15;
  border-radius: 3px;
}

.step { text-align: center; position: relative; }

.step-num {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.6rem;
  margin: 0 auto 1.8rem;
  position: relative;
  z-index: 1;
  box-shadow: 0 6px 24px rgba(18, 39, 56, 0.25);
}

.step h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 0.8rem;
  color: var(--text);
}

.step p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 300px;
  margin: 0 auto;
}

.step-tag {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--white);
  background: var(--gold);
  padding: 0.25rem 0.8rem;
  border-radius: 100px;
  margin-top: 1.2rem;
  font-weight: 500;
}

/* ── INTERACTIVE COST CALCULATOR ── */
.calculator {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.calc-sliders {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.calc-row {
  padding: 0.3rem 0;
}

.calc-row-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.4rem;
}

.calc-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-mid);
}

.calc-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  color: var(--text);
  font-weight: 500;
  min-width: 70px;
  text-align: right;
}

/* Range slider styling */
.calc-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 6px;
  background: var(--blue-light);
  outline: none;
  cursor: pointer;
  transition: background 0.2s;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--blue);
  cursor: pointer;
  border: 3px solid var(--white);
  box-shadow: 0 2px 8px rgba(18, 39, 56, 0.3);
  transition: all 0.2s;
}

.calc-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 3px 12px rgba(18, 39, 56, 0.4);
}

.calc-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--blue);
  cursor: pointer;
  border: 3px solid var(--white);
  box-shadow: 0 2px 8px rgba(18, 39, 56, 0.3);
}

/* Revenue section */
.calc-revenue {
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border);
}

.calc-fee-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.6rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.calc-fee-theirs {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  color: #b91c1c;
  font-weight: 600;
}

.calc-fee-line.ours {
  color: var(--blue);
}

.calc-fee-ours {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  color: var(--blue);
  font-weight: 600;
}

/* Results */
.calc-results {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.calc-result {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.2rem;
  border-radius: var(--radius-sm);
}

.calc-result.theirs {
  background: linear-gradient(135deg, #fef2f2, #fef0f0);
  border: 1px solid rgba(220, 53, 69, 0.12);
}

.calc-result.ours {
  background: linear-gradient(135deg, var(--blue-pale), #D1EEF2);
  border: 1px solid rgba(18, 39, 56, 0.15);
}

.calc-result-label {
  font-size: 0.88rem;
  font-weight: 600;
}

.calc-result.theirs .calc-result-label { color: #b91c1c; }
.calc-result.ours .calc-result-label { color: var(--blue-deep); }

.calc-result-amount {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.5rem;
  line-height: 1;
}

.calc-result.theirs .calc-result-amount { color: #b91c1c; }
.calc-result.ours .calc-result-amount { color: var(--blue); }

.calc-savings {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 1.2rem;
  background: linear-gradient(135deg, var(--gold-glow), rgba(168, 134, 84, 0.08));
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold);
}

.calc-savings-amount {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.5rem;
  color: var(--gold);
  line-height: 1;
}

/* ── PRICING ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  align-items: start;
}

.price-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  display: flex;
  flex-direction: column;
  transition: all 0.35s;
  backdrop-filter: blur(8px);
}

.price-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.price-card.popular {
  background: var(--white);
  border-color: var(--white);
  border-top: 3px solid var(--gold);
  position: relative;
  transform: scale(1.04);
  box-shadow: var(--shadow-lg);
}

.price-card.popular:hover { transform: scale(1.04) translateY(-4px); }

.popular-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.35rem 1.2rem;
  border-radius: 100px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(168, 134, 84, 0.3);
}

.price-tier {
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-light);
  margin-bottom: 0.8rem;
}

.price-card.popular .price-tier { color: var(--blue); }

.price-amount {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 2.8rem;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.price-card.popular .price-amount { color: var(--text); }
.price-amount span { font-family: 'Inter', sans-serif; font-size: 0.85rem; font-weight: 400; color: var(--text-on-blue-muted); }
.price-card.popular .price-amount span { color: var(--text-muted); }

.price-desc {
  font-size: 0.85rem;
  color: var(--text-on-blue-muted);
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  line-height: 1.6;
}

.price-card.popular .price-desc { color: var(--text-muted); border-bottom-color: var(--border); }

.price-features {
  list-style: none;
  flex: 1;
  margin-bottom: 1.5rem;
}

.price-features li {
  font-size: 0.84rem;
  color: var(--text-on-blue-muted);
  padding: 0.3rem 0;
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.5;
}

.price-card.popular .price-features li { color: var(--text-mid); }

.price-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(168, 134, 84, 0.3);
  border: 2px solid var(--gold);
}

.price-features li.plus { font-weight: 500; color: var(--gold-light); margin-top: 0.3rem; font-size: 0.82rem; }
.price-card.popular .price-features li.plus { color: var(--blue); }

.price-cta {
  display: block;
  text-align: center;
  padding: 0.8rem;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s;
  letter-spacing: 0.01em;
}

.price-cta.ghost { border: 1px solid rgba(255, 255, 255, 0.2); color: var(--white); }
.price-cta.ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.35); }
.price-cta.solid { background: var(--blue); color: var(--white); box-shadow: var(--shadow-glow); }
.price-cta.solid:hover { background: var(--blue-deep); transform: translateY(-1px); box-shadow: 0 8px 30px rgba(18, 39, 56, 0.35); }

/* ── PROOF ── */
.proof-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3rem;
}

.proof-quote {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.5rem;
  line-height: 1.5;
  color: var(--text);
  padding-left: 2rem;
  border-left: 2px solid var(--gold-light);
  position: relative;
}
.proof-quote::before,
.proof-quote::after {
  content: '';
  position: absolute;
  left: -3.5px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold-light);
}
.proof-quote::before { top: -2.5px; }
.proof-quote::after { bottom: -2.5px; }

.proof-author { margin-top: 1.5rem; padding-left: 2rem; }
.proof-name { font-weight: 600; font-size: 0.95rem; color: var(--text); }
.proof-role { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.2rem; }

.proof-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.proof-stat {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s;
}

.proof-stat:hover { box-shadow: var(--shadow-sm); border-color: rgba(18, 39, 56, 0.12); }

.proof-stat-num {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 2.2rem;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.proof-stat-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.proof-transformation {
  grid-column: 1 / -1;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.8rem 2rem;
}

.proof-ba-row { display: flex; align-items: center; gap: 2.5rem; }
.proof-ba-item { flex: 1; }
.proof-ba-label { font-family: 'JetBrains Mono', monospace; font-size: 0.65rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 0.5rem; }
.proof-ba-label.before { color: #b91c1c; }
.proof-ba-label.after { color: var(--blue); }
.proof-ba-text { font-size: 0.9rem; color: var(--text-mid); line-height: 1.65; }
.proof-ba-arrow { font-size: 1.8rem; color: var(--gold); flex-shrink: 0; }

/* ── AUDIENCE ── */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.audience-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: all 0.35s;
  backdrop-filter: blur(8px);
}

.audience-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.audience-icon { margin-bottom: 1.2rem; }
.audience-card h3 { font-family: 'Inter', sans-serif; font-size: 1rem; font-weight: 600; margin-bottom: 0.5rem; color: var(--white); }
.audience-card p { font-size: 0.84rem; color: var(--text-on-blue-muted); line-height: 1.7; }

/* ── FINAL CTA ── */
.final-cta {
  padding: 6rem 0;
  background: var(--cream);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  max-width: 100%;
  background: radial-gradient(circle, rgba(18, 39, 56, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.final-cta h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 400;
  margin-bottom: 1rem;
  position: relative;
}

.final-cta p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
  position: relative;
}

.final-note { font-size: 0.82rem; color: var(--text-muted); margin-top: 1.2rem; position: relative; }
.final-note a { color: var(--blue); text-decoration: none; font-weight: 500; }

/* ── CONTENT BLOCKS (for interior pages) ── */
.content-section {
  padding: 4rem 0;
}

.content-section + .content-section {
  border-top: 1px solid var(--border);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.two-col.reverse > *:first-child { order: 2; }
.two-col.reverse > *:last-child { order: 1; }

.content-section h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: 1.2rem;
  color: var(--text);
}

.content-section p {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.85;
  margin-bottom: 1rem;
}

.content-section p:last-child { margin-bottom: 0; }
.content-section p strong { color: var(--text); font-weight: 600; }

/* ── FOOTER ── */
.site-footer {
  background: var(--blue-midnight);
  color: rgba(255, 255, 255, 0.5);
  padding: 3.5rem 0 2rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: start;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  gap: 3rem;
}

.footer-brand {
  display: flex;
  align-items: center;
}
.footer-brand img { display: none; }  /* legacy PNG mark, replaced by SVG */
.footer-brand .brand-wordmark {
  height: 28px;
  --wm-ink: var(--white);
  --wm-brass: var(--gold-light);
}

.footer-brand-sub {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 0.5rem;
  max-width: 300px;
  line-height: 1.65;
}

.footer-links { display: flex; gap: 3.5rem; }

.footer-col h4 {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold-light);
  margin-bottom: 0.8rem;
}

.footer-col a {
  display: block;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  padding: 0.25rem 0;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-loc {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ── SKIP LINK ── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--blue);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 0 0 8px 8px;
  font-size: 0.85rem;
  font-weight: 600;
  z-index: 200;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* ── FOCUS STATES ── */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.btn-hero:focus-visible,
.btn-hero-outline:focus-visible,
.btn-primary:focus-visible,
.btn-secondary:focus-visible,
.btn-final:focus-visible,
.price-cta:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.calc-slider:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
}

/* ── BODY TEXT UTILITY ── */
.body-text {
  font-size: 1.02rem;
  color: var(--text-mid);
  line-height: 1.85;
  margin-bottom: 1rem;
}

.body-text.on-blue { color: var(--text-on-blue-muted); }
.body-text strong { color: var(--text); font-weight: 600; }
.body-text.on-blue strong { color: var(--white); }
.body-text:last-child { margin-bottom: 0; }

/* ── PROOF STATS ON BLUE ── */
.proof-stat.on-blue {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.1);
}
.proof-stat.on-blue .proof-stat-num { color: var(--gold-light); }
.proof-stat.on-blue .proof-stat-label { color: var(--text-on-blue-muted); }

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

.reveal-ready.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ── CALCULATOR POP ── */
@keyframes calcPop {
  0% { transform: scale(1); }
  40% { transform: scale(1.02); }
  100% { transform: scale(1); }
}

.calc-savings.pop {
  animation: calcPop 0.3s ease;
}

/* ── FIREFOX RANGE TRACK ── */
.calc-slider::-moz-range-track {
  height: 6px;
  border-radius: 6px;
  background: var(--blue-light);
  border: none;
}

/* ── FAQ ACCORDION ── */
.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item summary {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text);
  padding: 1.2rem 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-family: 'Inter', sans-serif;
  font-size: 1.4rem;
  color: var(--blue);
  font-weight: 300;
  flex-shrink: 0;
  margin-left: 1rem;
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  content: '\2212';
  transform: rotate(180deg);
}

.faq-answer {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.8;
  padding-bottom: 1.5rem;
  max-width: 640px;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .price-card.popular { transform: scale(1.02); }
  .price-card.popular:hover { transform: scale(1.02) translateY(-4px); }
  .features-grid, .card-grid { grid-template-columns: repeat(2, 1fr); }
  .audience-grid { grid-template-columns: repeat(2, 1fr); }
  .steps[style] { grid-template-columns: repeat(2, 1fr) !important; }
}

/* Nav: switch to hamburger on anything narrower than full desktop */
@media (max-width: 1023px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 1.5rem 2rem;
    gap: 1rem;
    box-shadow: var(--shadow-md);
    animation: navSlideDown 0.22s ease forwards;
  }

  .nav-links.open .nav-link { color: var(--text-mid); }
  .nav-links.open .nav-cta { background: var(--blue); color: var(--white); text-align: center; }
}

@keyframes navSlideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .hero { padding: 8rem 0 4rem; }
  .hero h1 { font-size: 2.4rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn-hero,
  .hero-actions .btn-hero-outline { width: 100%; justify-content: center; }
  .hero-stats { gap: 2rem; flex-wrap: wrap; }
  .hero-watermark { display: none; }

  .page-hero { padding: 7rem 0 3rem; }

  .two-col { grid-template-columns: 1fr; gap: 2.5rem; }
  .two-col.reverse > *:first-child { order: 0; }
  .two-col.reverse > *:last-child { order: 0; }
  .features-grid, .card-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 2.5rem; }
  .steps::before { display: none; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; }
  .price-card.popular { transform: none; }
  .price-card.popular:hover { transform: translateY(-4px); }
  .proof-grid { grid-template-columns: 1fr; gap: 2rem; }
  .proof-ba-row { flex-direction: column; text-align: center; gap: 1rem; }
  .proof-ba-arrow { transform: rotate(90deg); }
  .audience-grid { grid-template-columns: 1fr 1fr; }

  .footer-top { flex-direction: column; }
  .footer-links { flex-direction: column; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; gap: 0.8rem; text-align: center; }
  .footer-col a { padding: 0.6rem 0; min-height: 44px; display: flex; align-items: center; }

  .section-heading { font-size: 1.7rem; }
}

@media (max-width: 480px) {
  .audience-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 1.5rem; align-items: flex-start; }
}

/* ──────────────────────────────────────────
   FRAUNCES OPTICAL SIZING
   Variable-axis tuning so display sizes get
   the slim-serif treatment, not text-weight.
   ────────────────────────────────────────── */

/* Hero (largest, lightest) */
.hero h1 {
  font-variation-settings: "opsz" 144, "SOFT" 30, "WONK" 0;
  font-weight: 300;
  letter-spacing: -0.012em;
  line-height: 1.06;
}
.hero h1 .gold {
  font-style: italic;
  font-weight: 300;
}

/* Interior page heroes */
.page-hero h1 {
  font-variation-settings: "opsz" 96, "SOFT" 30, "WONK" 0;
  letter-spacing: -0.008em;
}
.page-hero h1 .gold {
  font-style: italic;
  font-weight: 300;
}

/* Section headings (anywhere) */
.section-heading,
.content-section h2,
.final-cta h2 {
  font-variation-settings: "opsz" 96, "SOFT" 30, "WONK" 0;
  letter-spacing: -0.008em;
}

/* Mid-display serif numerics + amounts */
.price-amount,
.proof-stat-num,
.calc-result-amount,
.calc-savings-amount {
  font-variation-settings: "opsz" 72, "SOFT" 30, "WONK" 0;
}

/* Pull-quote / proof quote — italic editorial */
.proof-quote {
  font-variation-settings: "opsz" 96, "SOFT" 30, "WONK" 0;
  font-style: italic;
  font-weight: 300;
  letter-spacing: -0.005em;
}

/* Smaller serif: step titles, faq, step number */
.step h3,
.faq-item summary,
.step-num {
  font-variation-settings: "opsz" 36, "SOFT" 30, "WONK" 0;
}

/* Card titles — promote feature/audience cards to editorial Fraunces */
.feature-card h3,
.card h3,
.audience-card h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-variation-settings: "opsz" 36, "SOFT" 30, "WONK" 0;
  font-weight: 400;
  font-size: 1.2rem;
  line-height: 1.3;
  letter-spacing: -0.004em;
}

/* ── REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal-ready { opacity: 1; transform: none; transition: none; }
}
