/* ============================================================
   TMG Books -- Dark Editorial Premium (Award-Caliber Tier-Jump)
   Benchmarked: puremarketing.ai, Linear, Mercury, Superhuman
   Built on TMG Brand Library tokens + design elevation research
   ============================================================ */

/* --- Lucide icon utility class --- */
.icon {
  display: inline-block;
  width: 1.25em;
  height: 1.25em;
  vertical-align: middle;
  stroke-width: 1.75;
  flex-shrink: 0;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  /* Custom gold scrollbar (replaces hidden scrollbar -- a craft signal) */
  scrollbar-width: thin;
  scrollbar-color: rgba(221, 214, 140, 0.25) transparent;
}
html::-webkit-scrollbar {
  width: 5px;
}
html::-webkit-scrollbar-track {
  background: transparent;
}
html::-webkit-scrollbar-thumb {
  background: rgba(221, 214, 140, 0.2);
  border-radius: 3px;
}
html::-webkit-scrollbar-thumb:hover {
  background: rgba(221, 214, 140, 0.4);
}

:root {
  /* Brand tokens -- luminance hierarchy (premium dark) */
  --black: #020201;
  --near-black: #0A0A0A;
  --charcoal: #141414;
  --dark-surface: #1A1A1A;
  --surface-hover: #222222;
  --gold: #DDD68C;
  --gold-bright: #E8E2A0;
  --gold-muted: #B8B270;
  --gold-dim: rgba(221, 214, 140, 0.15);
  --gold-glow: rgba(221, 214, 140, 0.08);
  --cream: #F2F1E6;
  --cream-dark: #E8E7D9;
  --white: #F0F0F0;
  --white-full: #FFFFFF;
  --text-primary: #F0F0F0;
  --text-secondary: #999999;
  --text-tertiary: #666666;
  --text-muted: rgba(255, 255, 255, 0.75);
  --text-muted-dark: #4D5156;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.16);
  --border-gold: rgba(221, 214, 140, 0.25);

  /* Unified radius */
  --radius: 6px;

  /* Typography -- editorial type system
     Option C font hybrid: Bodoni Moda is ONLY for the main hero
     display headline. Everything else uses Roboto (the brand font).
     --font-display is now Roboto so every existing reference
     (prices, section titles, card names, etc.) gets legible type. */
  --font-body: 'Roboto', sans-serif;
  --font-display: 'Roboto', sans-serif;
  --font-hero: 'Bodoni Moda', serif;

  /* Type ramp: Major Third (1.25) scale from 16px base
     Each step is intentional, not arbitrary.
     Hero headline uses Bodoni Moda via --font-hero.
     All other sizes use Roboto via --font-display. */
  --text-hero: clamp(2.5rem, 4vw + 0.75rem, 3.75rem);
  --text-h2: clamp(1.75rem, 3vw + 0.5rem, 2.75rem);
  --text-h3: clamp(1.5rem, 2.5vw + 0.5rem, 2.25rem);
  --text-h4: clamp(1.125rem, 1.25vw + 0.5rem, 1.5rem);
  --text-body-lg: clamp(1rem, 0.5vw + 0.875rem, 1.125rem);
  --text-body: 1rem;
  --text-small: 0.875rem;
  --text-xs: 0.75rem;
  --text-xxs: 0.6875rem;

  /* 8px spacing grid */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 40px;
  --space-6: 48px;
  --space-8: 64px;
  --space-10: 80px;
  --space-12: 96px;
  --space-16: 128px;

  /* Section + container */
  --section-pad: clamp(4rem, 7vw, 7rem);
  --container-max: 1200px;
  --container-narrow: 880px;
  --container-text: 680px;
  --container-wide: 1400px;

  /* Accent color for native form controls */
  accent-color: #DDD68C;
}

/* --- Custom text selection (gold) --- */
::selection {
  background: rgba(221, 214, 140, 0.3);
  color: #fff;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: 400;
  line-height: 1.65;
  color: var(--text-primary);
  background-color: var(--black);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* --- Grain texture overlay (SVG feTurbulence, ~3% opacity) --- */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* --- Containers (varied widths for editorial rhythm) --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 3vw, 2.5rem);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.container--text {
  max-width: var(--container-text);
}

.container--wide {
  max-width: var(--container-wide);
}

/* Inner content constraint — keeps the outer .container at --container-max
   so left/right edges align with the hero, while narrowing the content
   inside to --container-narrow. Used on tool/quiz body sections. */
.content-narrow {
  max-width: var(--container-narrow);
}


/* ============================================================
   STICKY NAV
   ============================================================ */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(2, 2, 1, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background 0.3s ease;
}

.site-nav__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 3vw, 2.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.site-nav__brand {
  display: flex;
  align-items: baseline;
  gap: var(--space-1);
}

.site-nav__wordmark {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.35rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.site-nav__wordmark span {
  color: var(--gold);
  font-weight: 700;
}

.site-nav__tagline {
  font-size: var(--text-xs);
  color: var(--text-secondary);
  letter-spacing: 0.04em;
  display: none;
}

@media (min-width: 1024px) {
  .site-nav__tagline {
    display: inline;
  }
}

.site-nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.site-nav__link {
  font-size: var(--text-small);
  font-weight: 400;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
  transition: color 0.2s ease;
  position: relative;
}

/* Nav link underline grows from center */
.site-nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s ease, left 0.3s ease;
}

.site-nav__link:hover {
  color: var(--gold);
}

.site-nav__link:hover::after {
  width: 100%;
  left: 0;
}

.site-nav__cta {
  font-size: var(--text-small);
  font-weight: 700;
  color: var(--black);
  background: var(--gold);
  padding: 0.55rem 1.5rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.33, 1, 0.68, 1);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.site-nav__cta:hover {
  background: var(--white-full);
  color: var(--black);
}

/* --- Nav dropdown (Services) --- */
.site-nav__dropdown {
  position: relative;
}

.site-nav__dropdown-trigger {
  font-size: var(--text-small);
  font-weight: 400;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
  transition: color 0.2s ease;
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--font-body);
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.site-nav__dropdown-trigger:hover {
  color: var(--gold);
}

.site-nav__dropdown-arrow {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  margin-top: -2px;
}

.site-nav__dropdown.is-open .site-nav__dropdown-arrow {
  transform: rotate(-135deg);
  margin-top: 2px;
}

.site-nav__dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 240px;
  background: rgba(10, 10, 10, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: var(--space-1) 0;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  z-index: 200;
}

.site-nav__dropdown.is-open .site-nav__dropdown-menu {
  display: block;
}

.site-nav__dropdown-item {
  display: block;
  padding: 0.6rem 1.25rem;
  font-size: var(--text-small);
  color: var(--text-secondary);
  transition: color 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}

.site-nav__dropdown-item:hover {
  color: var(--gold);
  background: rgba(255, 255, 255, 0.04);
}

/* Mobile nav */
.site-nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-1);
}

.site-nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  margin: 5px 0;
  transition: 0.3s;
}

@media (max-width: 768px) {
  .site-nav__links { display: none; }
  .site-nav__toggle { display: block; }
  .site-nav__links.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(2, 2, 1, 0.95);
    backdrop-filter: blur(20px);
    padding: var(--space-4);
    gap: var(--space-3);
    border-bottom: 1px solid var(--border-subtle);
  }

  /* Mobile: dropdown is inline, not absolutely positioned */
  .site-nav__dropdown-menu {
    position: static;
    transform: none;
    background: transparent;
    backdrop-filter: none;
    border: none;
    box-shadow: none;
    padding: 0 0 0 var(--space-2);
    min-width: 0;
  }

  .site-nav__dropdown-item {
    padding: 0.4rem 0;
    font-size: var(--text-small);
  }
}


/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  position: relative;
  background: var(--black);
  /* Background images handled by .hero-montage slides for crossfade */
  padding-top: 72px;
  overflow: hidden;
  /* max-height locks hero to viewport; overflow:hidden prevents bleed */
  max-height: 100svh;
}

/* Atmospheric gold glow behind hero content */
.hero::after {
  content: '';
  position: absolute;
  top: 30%;
  left: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(221, 214, 140, 0.035) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

/* Dark gradient overlay so left-aligned text stays readable over the hero image */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(2, 2, 1, 0.92) 0%,
    rgba(2, 2, 1, 0.85) 35%,
    rgba(2, 2, 1, 0.5) 60%,
    rgba(2, 2, 1, 0.15) 85%,
    transparent 100%);
  pointer-events: none;
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 960px;
  padding: clamp(1.25rem, 3vw, 2.5rem) 0;
}

.hero__kicker {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-2);
}

/* Editorial detail: thin gold rule between kicker and headline */
.hero__rule {
  display: block;
  width: var(--space-5);
  height: 1px;
  background: var(--gold-muted);
  border: none;
  margin-bottom: var(--space-2);
}

.hero__headline {
  font-family: var(--font-hero);
  font-size: var(--text-hero);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--text-primary);
  margin-bottom: var(--space-2);
  font-optical-sizing: auto;
}

.hero__headline .word {
  display: inline-block;
  overflow: hidden;
}

.hero__headline .word-inner {
  display: inline-block;
  transform: translateY(110%);
}

.hero__accent {
  color: var(--gold);
}

/* Trust bar in hero -- composed for single or multiple trust signals */
.hero__trust-bar {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-2);
}

.hero__trust-bar span {
  white-space: nowrap;
}

.hero__trust-sep {
  display: inline-block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--text-tertiary);
  flex-shrink: 0;
}

/* Demoted emotional headline for homepage hero — visually matches
   the original H1 styling, but as <p> so the real H1 is keyword-led. */
.hero__emotional {
  font-family: var(--font-hero);
  font-size: var(--text-hero);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--text-primary);
  margin-top: var(--space-2);
  margin-bottom: var(--space-2);
  font-optical-sizing: auto;
  font-style: italic;
}

.hero__sub {
  font-size: var(--text-body-lg);
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 600px;
  margin-bottom: var(--space-1);
}

.hero__sub-secondary {
  font-size: var(--text-body);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.5;
  max-width: 600px;
  margin-bottom: var(--space-3);
  font-style: italic;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
}

/* Mobile hero: CTA must be visible above fold on 375x812 */
@media (max-width: 480px) {
  .hero {
    min-height: auto;
    max-height: none;
    padding-bottom: var(--space-3);
    background-position: right center;
    background-size: cover;
  }
  .hero::before {
    background: linear-gradient(90deg,
      rgba(2, 2, 1, 0.95) 0%,
      rgba(2, 2, 1, 0.92) 50%,
      rgba(2, 2, 1, 0.75) 100%);
  }
  .hero::after {
    display: none;
  }
  .hero__content {
    max-width: none;
    padding: var(--space-3) 0 var(--space-1);
  }
  .hero__headline {
    font-size: clamp(1.75rem, 6.5vw, 2.25rem);
    line-height: 1.1;
    margin-bottom: var(--space-2);
  }
  .hero__emotional {
    font-size: clamp(1.75rem, 6.5vw, 2.25rem);
    line-height: 1.1;
    margin-bottom: var(--space-2);
  }
  .hero__kicker {
    margin-bottom: var(--space-1);
  }
  .hero__rule {
    margin-bottom: var(--space-1);
  }
  .hero__sub {
    font-size: 0.95rem;
    margin-bottom: var(--space-1);
  }
  .hero__sub-secondary {
    margin-bottom: var(--space-2);
  }
}

/* Tablet/small desktop: also relax the height constraint */
@media (max-width: 768px) {
  .hero {
    max-height: none;
  }
}

/* Short desktop viewports (800px tall laptops): tighter hero to stay above fold */
@media (min-width: 769px) and (max-height: 800px) {
  .hero__content {
    padding: var(--space-2) 0;
  }
  .hero__headline {
    font-size: clamp(2rem, 3.5vw + 0.5rem, 3rem);
  }
  .hero__emotional {
    font-size: clamp(2rem, 3.5vw + 0.5rem, 3rem);
  }
  .hero__sub {
    margin-bottom: var(--space-1);
  }
  .hero__sub-secondary {
    margin-bottom: var(--space-2);
  }
}


/* ============================================================
   BUTTONS (unified 6px radius, editorial hover craft)
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.33, 1, 0.68, 1);
  text-decoration: none;
  white-space: nowrap;
}

.btn--gold {
  font-size: var(--text-body);
  color: var(--black);
  background: var(--gold);
  padding: 0.875rem 2.25rem;
  border-radius: var(--radius);
  box-shadow: 0 0 0 0 rgba(221, 214, 140, 0);
}

.btn--gold:hover {
  background: var(--gold-bright);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(221, 214, 140, 0.15);
}

.btn--ghost {
  font-size: var(--text-body);
  color: var(--text-secondary);
  background: transparent;
  padding: 0.875rem 2.25rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn--ghost:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn--ghost-dark {
  font-size: var(--text-body);
  color: var(--black);
  background: transparent;
  padding: 0.875rem 2.25rem;
  border-radius: var(--radius);
  border: 1px solid rgba(0, 0, 0, 0.2);
}

.btn--ghost-dark:hover {
  background: var(--black);
  color: var(--text-primary);
}


/* ============================================================
   SECTION SCAFFOLDING -- editorial system
   ============================================================ */
.section {
  padding: var(--section-pad) 0;
}

.section--dark {
  background: var(--black);
  color: var(--text-primary);
}

.section--charcoal {
  background: var(--charcoal);
  color: var(--text-primary);
}

.section--cream {
  background: var(--cream);
  color: #0A1015;
}

/* Section gradient transitions: blend from one surface to the next */
.hero + .dashboard-section {
  background: linear-gradient(180deg, var(--black) 0%, var(--near-black) 6%, var(--near-black) 100%);
}

.dashboard-section + .section--dark {
  background: linear-gradient(180deg, var(--near-black) 0%, var(--black) 6%, var(--black) 100%);
}

.section--dark + .section--cream {
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream) 100%);
}

.section--cream + .section--about {
  /* intentional hard cut into Florence background */
}

/* --- Editorial section headers --- */
.section__header {
  margin-bottom: clamp(2rem, 3.5vw, 3.5rem);
}

/* Section numbering -- editorial labelling like PMG
   Uses lightest available Bodoni Moda weight (400) with max optical size
   for thinnest possible hairlines at display scale. Mobile guard
   bumps opacity and sets a floor size so numbers stay legible on 375px. */
.section__number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  font-optical-sizing: auto;
  color: var(--gold);
  opacity: 0.12;
  line-height: 1;
  margin-bottom: var(--space-2);
  letter-spacing: -0.02em;
}

.section--cream .section__number {
  color: var(--gold-muted);
  opacity: 0.2;
}

/* Mobile guard: ensure section numbers stay legible on small screens */
@media (max-width: 480px) {
  .section__number {
    font-size: 1.75rem;
    opacity: 0.18;
  }
}

.section__kicker {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-2);
}

/* WCAG AA: gold kicker on cream needs darker value */
.section--cream .section__kicker {
  color: #6B6540;
}

.section__title {
  font-family: var(--font-display);
  font-size: var(--text-h2);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-2);
}

.section__subtitle {
  font-size: var(--text-body-lg);
  font-weight: 300;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.7;
}

.section--cream .section__subtitle {
  color: var(--text-muted-dark);
}

/* Section numbers on cream: Bodoni decorative numerals stay */

/* ============================================================
   DEFENSIVE: Cream / light-background contrast enforcement
   All components placed on cream MUST use dark text tokens.
   Prevents light-on-light bugs when dark-bg components are
   reused inside cream sections.  WCAG AA: body >= 4.5:1,
   large/heading >= 3:1 against #F2F1E6.
   ============================================================ */
.section--cream .mid-scorecard-cta {
  border-top-color: rgba(0, 0, 0, 0.12);
  border-bottom-color: rgba(0, 0, 0, 0.12);
}

.section--cream .mid-scorecard-cta__text {
  color: var(--text-muted-dark);        /* #4D5156 — 7.04:1 on cream */
}

.section--cream .mid-scorecard-cta__text strong {
  color: #0A1015;                       /* near-black — 16.85:1 on cream */
}

.section--cream .mid-scorecard-cta .btn--ghost,
.section--cream .btn--ghost {
  color: #0A1015;
  border-color: rgba(0, 0, 0, 0.2);
}

.section--cream .mid-scorecard-cta .btn--ghost:hover,
.section--cream .btn--ghost:hover {
  background: #0A1015;
  color: var(--cream);
  border-color: #0A1015;
}

/* Catch-all: force dark text on cream for elements that might
   inherit light-on-dark tokens.  Scoped to direct container
   children so self-contained white-bg cards are unaffected. */
.section--cream > .container > p,
.section--cream > .container > span,
.section--cream > .container > li {
  color: var(--text-muted-dark);        /* #4D5156 — 7.04:1 on cream */
}

/* Links directly on cream must be readable (not inside white cards) */
.section--cream > .container > a:not(.btn),
.section--cream .mid-scorecard-cta a:not(.btn) {
  color: #6B6540;                       /* 5.20:1 on cream — gold-toned, AA-pass */
}

.section--cream > .container > a:not(.btn):hover,
.section--cream .mid-scorecard-cta a:not(.btn):hover {
  color: #0A1015;
}

/* cta-secondary inside white-bg pricing cards — fix link contrast */
.pricing-card .cta-secondary a,
.offer-pricing-card .cta-secondary a {
  color: #4D5156;                       /* 7.99:1 on white */
}

.pricing-card .cta-secondary a:hover,
.offer-pricing-card .cta-secondary a:hover {
  color: #0A1015;
}

/* Gold rule -- editorial hairline */
.gold-rule {
  width: var(--space-6);
  height: 1px;
  background: var(--gold-muted);
  border: none;
  margin: var(--space-3) 0;
}


/* ============================================================
   MONTHLY CLARITY DASHBOARD (Signature Section)
   Pulled to first position after hero -- strongest asset
   ============================================================ */
.dashboard-section {
  padding: var(--section-pad) 0;
  background: var(--near-black);
  position: relative;
  overflow: hidden;
}

/* Atmospheric glow behind dashboard */
.dashboard-section::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(221, 214, 140, 0.025) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.dashboard-header {
  text-align: center;
  margin-bottom: clamp(2rem, 3.5vw, 3rem);
  position: relative;
  z-index: 2;
}

.dashboard-frame {
  position: relative;
  z-index: 2;
  max-width: 960px;
  margin: 0 auto;
  background: rgba(26, 26, 26, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-top: 1px solid rgba(221, 214, 140, 0.12);
  border-radius: var(--radius);
  overflow: hidden;
  /* Subtle lift */
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03),
    0 16px 64px rgba(0, 0, 0, 0.4);
}

.dashboard-frame__bar {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  padding: 0.875rem var(--space-2);
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border-subtle);
}

.dashboard-frame__brand {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.dashboard-frame__brand span {
  color: var(--gold);
  font-weight: 700;
}

.dashboard-frame__title {
  margin-left: auto;
  font-size: var(--text-xs);
  color: var(--text-secondary);
  letter-spacing: 0.05em;
}

.dashboard-body {
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

.dashboard-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-3);
  flex-wrap: wrap;
  gap: var(--space-2);
}

.dashboard-top__title {
  font-family: var(--font-body);
  font-size: var(--text-h4);
  font-weight: 700;
}

.dashboard-top__period {
  font-size: var(--text-small);
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.05);
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius);
  border: 1px solid var(--border-subtle);
}

/* KPI row */
.kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}

.kpi-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: var(--space-2);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.kpi-card:hover {
  border-color: var(--border-gold);
  transform: scale(1.01);
}

.kpi-card__label {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--space-1);
}

.kpi-card__value {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2vw, 2rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1.2;
  font-optical-sizing: auto;
}

.kpi-card__trend {
  font-size: var(--text-xs);
  margin-top: var(--space-1);
  color: #28C840;
}

.kpi-card__trend--neutral {
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .kpi-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Dashboard bottom grid */
.dashboard-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--space-3);
}

@media (max-width: 768px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
}

/* Revenue sparkline card */
.sparkline-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: var(--space-3);
}

.sparkline-card__title {
  font-size: var(--text-small);
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: var(--space-2);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.sparkline-svg {
  width: 100%;
  height: 120px;
}

.sparkline-path {
  fill: none;
  stroke: var(--gold);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sparkline-area {
  fill: url(#goldGradient);
  opacity: 0.3;
}

.sparkline-labels {
  display: flex;
  justify-content: space-between;
  margin-top: var(--space-1);
}

.sparkline-labels span {
  font-size: var(--text-xs);
  color: var(--text-secondary);
}

/* Deadlines card */
.deadlines-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: var(--space-3);
}

.deadlines-card__title {
  font-size: var(--text-small);
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: var(--space-2);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.deadline-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-1) 0;
  border-bottom: 1px solid var(--border-subtle);
}

.deadline-item:last-child {
  border-bottom: none;
}

.deadline-item__name {
  font-size: var(--text-small);
  color: var(--text-primary);
  font-weight: 400;
}

.deadline-item__date {
  font-size: var(--text-xs);
  color: var(--gold);
  font-weight: 700;
  white-space: nowrap;
}

.deadline-item__status {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius);
}

.deadline-item__status--filed {
  background: rgba(40, 200, 64, 0.12);
  color: #28C840;
}

.deadline-item__status--upcoming {
  background: var(--gold-dim);
  color: var(--gold);
}


/* ============================================================
   YOUR MONTH WITH US (numbered editorial steps)
   ============================================================ */
.month-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.month-step {
  position: relative;
  padding: var(--space-4) var(--space-4) var(--space-6);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  transition: border-color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
}

.month-step:hover {
  border-color: var(--border-gold);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.month-step__number {
  font-family: var(--font-display);
  font-size: var(--text-h2);
  font-weight: 400;
  color: var(--gold);
  opacity: 0.15;
  line-height: 1;
  margin-bottom: var(--space-2);
  letter-spacing: -0.02em;
}

.month-step__title {
  font-family: var(--font-body);
  font-size: var(--text-h4);
  font-weight: 700;
  margin-bottom: var(--space-1);
}

.month-step__desc {
  font-size: var(--text-body);
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
}

.month-step__gold-line {
  position: absolute;
  bottom: 0;
  left: var(--space-4);
  right: var(--space-4);
  height: 1px;
  background: linear-gradient(90deg, var(--gold-muted), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.month-step:hover .month-step__gold-line {
  opacity: 1;
}

@media (max-width: 768px) {
  .month-steps {
    grid-template-columns: 1fr;
  }
}


/* ============================================================
   TESTIMONIALS (hidden -- RE-ENABLE WHEN REAL DATA SUPPLIED)
   ============================================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  margin-top: var(--space-3);
}

@media (max-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

.testimonial-card {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: var(--space-4);
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  transition: border-color 0.3s ease;
}

.testimonial-card:hover {
  border-color: var(--border-gold);
}

.testimonial-card__quote {
  font-size: var(--text-body-lg);
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
  font-style: italic;
}

.testimonial-card__source {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.testimonial-card__name {
  font-size: var(--text-small);
  font-weight: 700;
  color: var(--gold);
}

.testimonial-card__role {
  font-size: var(--text-xs);
  color: var(--text-secondary);
}

.testimonials-note {
  text-align: center;
  margin-top: var(--space-3);
  font-size: var(--text-xs);
  color: var(--gold);
  letter-spacing: 0.04em;
}


/* ============================================================
   PRICING COMPARISON
   ============================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  margin-top: var(--space-4);
}

@media (max-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

.pricing-card {
  background: var(--white-full);
  border-radius: var(--radius);
  padding: var(--space-4) var(--space-3);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.pricing-card--highlight {
  border: 2px solid var(--gold);
}

.pricing-card--highlight:hover {
  box-shadow: 0 12px 40px rgba(221, 214, 140, 0.15);
}

.pricing-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: var(--gold);
  color: var(--black);
  padding: 0.3rem 1rem;
  border-radius: var(--radius);
  white-space: nowrap;
}

.pricing-card__name {
  font-size: var(--text-small);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted-dark);
  margin-bottom: var(--space-1);
}

.pricing-card__price {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  font-weight: 700;
  color: #0A1015;
  line-height: 1.1;
  font-optical-sizing: auto;
}

.pricing-card__price-anchor {
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: 700;
  color: #0A1015;
  margin-top: var(--space-1);
  letter-spacing: 0.02em;
}

.pricing-card__price-note {
  font-size: var(--text-xs);
  color: var(--text-muted-dark);
  margin-top: var(--space-1);
  margin-bottom: var(--space-3);
}

.pricing-card__divider {
  width: 100%;
  height: 1px;
  background: #E5E5E5;
  margin-bottom: var(--space-3);
}

.pricing-card__features {
  flex: 1;
  margin-bottom: var(--space-3);
}

.pricing-card__feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-1);
  font-size: var(--text-small);
  color: #4D5156;
  padding: var(--space-1) 0;
  line-height: 1.5;
}

.pricing-card__feature-icon {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 2px;
}

.pricing-card__feature-icon--check {
  color: #28C840;
}

.pricing-card__feature-icon--x {
  color: #ccc;
}

.pricing-card__feature-icon--warn {
  color: #DDD68C;
}

.pricing-disclaimer {
  text-align: center;
  margin-top: var(--space-3);
  font-size: var(--text-xs);
  color: var(--text-muted-dark);
  font-style: italic;
}


/* ============================================================
   ABOUT (asymmetric editorial: text left, Florence image right)
   Breaks the center-column monotony with an art-directed split.
   ============================================================ */
.section--about {
  padding: 0;
  background: var(--black);
  color: var(--text-primary);
  position: relative;
  overflow: hidden;
}

/* Asymmetric split: text left (contained), image right (bleeds to edge) */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: clamp(400px, 50vh, 600px);
}

/* Text column: left side, padded, vertically centered */
.about-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--section-pad) clamp(1.25rem, 3vw, 2.5rem) var(--section-pad) clamp(1.25rem, 5vw, calc((100vw - var(--container-max)) / 2 + 2.5rem));
  max-width: 600px;
  margin-left: auto;
  position: relative;
  z-index: 2;
}

/* Image column: right side, founder headshot */
.about-image {
  background: url('assets/team/alessandro.jpg') center top / cover no-repeat;
  position: relative;
  min-height: 100%;
}

/* Gradient scrim on left edge for text readability */
.about-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(2, 2, 1, 0.85) 0%,
    rgba(2, 2, 1, 0.35) 25%,
    rgba(2, 2, 1, 0.05) 50%,
    transparent 100%);
  pointer-events: none;
  z-index: 1;
}

/* Subtle dark wash to unify headshot with dark theme */
.about-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(2, 2, 1, 0.15);
  pointer-events: none;
  z-index: 0;
}

/* Founder bio + signature folded into the text column (single photo, no callout) */
.about-bio {
  font-size: var(--text-body);
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: var(--space-3);
  max-width: 46ch;
}

.about-signature {
  display: flex;
  flex-direction: column;
  margin-top: var(--space-4);
  padding-top: var(--space-3);
  border-top: 1px solid var(--border-gold);
  max-width: 46ch;
}

.about-signature__name {
  font-family: var(--font-display);
  font-size: var(--text-body-lg);
  font-weight: 700;
  color: var(--text-primary);
}

.about-signature__title {
  font-size: var(--text-small);
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold-muted);
  margin-top: var(--space-1);
}

/* Mobile: stack vertically (text over image) */
@media (max-width: 768px) {
  .about-layout {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .about-text {
    padding: var(--section-pad) clamp(1.25rem, 3vw, 2.5rem);
    max-width: none;
    margin-left: 0;
  }

  .about-image {
    min-height: 320px;
    background-position: center top;
    /* Headshot: keep face visible, crop from bottom on small screens */
  }

  .about-image::before {
    background: linear-gradient(180deg,
      rgba(2, 2, 1, 0.7) 0%,
      rgba(2, 2, 1, 0.15) 40%,
      transparent 100%);
  }
}


/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  padding: clamp(3.5rem, 6vw, 6rem) 0;
  background: linear-gradient(180deg, var(--black) 0%, var(--near-black) 50%, var(--black) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Subtle gold glow behind CTA text */
.cta-band::after {
  content: '';
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 300px;
  background: radial-gradient(circle, rgba(221, 214, 140, 0.03) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.cta-band__content {
  position: relative;
  z-index: 2;
  max-width: var(--container-text);
  margin: 0 auto;
}

.cta-band__title {
  font-family: var(--font-display);
  font-size: var(--text-h2);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-3);
  font-optical-sizing: auto;
}

.cta-band__sub {
  font-size: var(--text-body-lg);
  font-weight: 300;
  color: var(--text-muted);
  margin-bottom: var(--space-4);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.cta-band__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  flex-wrap: wrap;
}

/* Editorial detail: thin gold rule above CTA band */
.cta-band::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-muted), transparent);
  z-index: 2;
}


/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--black);
  border-top: 1px solid var(--border-subtle);
  padding: var(--space-6) 0 var(--space-4);
  position: relative;
}

/* Gold gradient line above footer */
.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-muted), transparent);
}

/* Footer grid: brand + 4 link columns */
.site-footer__inner {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: var(--space-4) var(--space-3);
  align-items: start;
}

.site-footer__brand {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.site-footer__brand span {
  color: var(--gold);
  font-weight: 700;
}

.site-footer__brand-tagline {
  font-size: var(--text-xs);
  letter-spacing: 0.04em;
  text-transform: none;
  color: rgba(255, 255, 255, 0.3);
}

.site-footer__brand-email {
  font-size: var(--text-small);
  letter-spacing: 0;
  text-transform: none;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.2s;
  margin-top: var(--space-1);
}

.site-footer__brand-email:hover {
  color: var(--gold);
}

/* Footer nav columns */
.site-footer__nav {
  display: contents;
}

.site-footer__col {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.site-footer__col-heading {
  font-family: var(--font-body);
  font-size: var(--text-xxs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-muted);
  margin: 0 0 var(--space-1) 0;
  line-height: 1;
}

.site-footer__col-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.site-footer__link {
  font-size: var(--text-small);
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.2s;
  position: relative;
  display: inline-block;
  width: fit-content;
}

/* Footer link hover underline */
.site-footer__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.site-footer__link:hover {
  color: var(--gold);
}

.site-footer__link:hover::after {
  width: 100%;
}

.site-footer__bottom {
  margin-top: var(--space-4);
  padding-top: var(--space-3);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.site-footer__copy {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.3);
}

.site-footer__location {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.3);
}

/* Footer responsive: tablet (3 cols brand + 2 link groups, then 2 link groups) */
@media (max-width: 900px) {
  .site-footer__inner {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .site-footer__brand {
    grid-column: 1 / -1;
  }
}

/* Footer responsive: mobile (single stack) */
@media (max-width: 540px) {
  .site-footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3) var(--space-3);
  }
  .site-footer__brand {
    grid-column: 1 / -1;
  }
}


/* ============================================================
   ACCESSIBILITY
   ============================================================ */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px rgba(221, 214, 140, 0.25);
}


/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js-revealed.reveal-up,
  .js-revealed.reveal-fade {
    opacity: 1;
    transform: none;
  }

  .js-revealed.kpi-card__value[data-count] {
    opacity: 1;
  }

  .sparkline-area {
    opacity: 0.3;
  }

  /* Disable all transitions/animations for reduced motion */
  .site-nav__link::after,
  .site-footer__link::after,
  .btn--gold,
  .btn--ghost,
  .month-step,
  .kpi-card,
  .testimonial-card,
  .pricing-card {
    transition: none;
  }

  .hero__trust-bar,
  .hero__kicker,
  .hero__rule,
  .hero__sub,
  .hero__sub-secondary,
  .hero__actions {
    opacity: 1;
  }

  .site-nav {
    transform: none;
    opacity: 1;
  }

  .dashboard-frame {
    opacity: 1;
    transform: none;
  }
}


/* ============================================================
   ANIMATIONS (GSAP controlled)
   Content is VISIBLE BY DEFAULT. The .js-revealed class is added
   by JS only AFTER ScrollTrigger has been confirmed working.
   If GSAP/ScrollTrigger fails to load or stalls, nothing is hidden.
   ============================================================ */
.js-revealed.reveal-up {
  opacity: 0;
  transform: translateY(32px);
}

.js-revealed.reveal-fade {
  opacity: 0;
}

/* Dashboard animate-in states */
.js-revealed.kpi-card__value[data-count] {
  opacity: 0;
}

/* Sparkline bars animation */
.bar-group rect {
  transform-origin: bottom;
  transform: scaleY(0);
}



/* ============================================================
   SCROLL-DRIVEN ANIMATIONS (CSS only, no JS)
   Progressive enhancement: @supports guard for browsers
   that support animation-timeline: scroll()
   ============================================================ */
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    /* Subtle parallax on section kickers */
    .section__kicker:not(.js-revealed) {
      animation: subtle-rise linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 60%;
    }

    .section__number:not(.js-revealed) {
      animation: subtle-rise linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 50%;
    }

    @keyframes subtle-rise {
      from { transform: translateY(12px); opacity: 0.5; }
      to   { transform: translateY(0);    opacity: 1; }
    }
  }
}


/* ============================================================
   HERO MONTAGE (crossfade photo backgrounds)
   Fail-safe: first slide is always visible via --active class.
   JS crossfade is progressive enhancement.
   ============================================================ */
.hero-montage {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-montage__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 2s ease-in-out;
  will-change: opacity;
}

/* Fail-safe: first slide is always visible even without JS */
.hero-montage__slide--active {
  opacity: 1;
}

/* Respect prefers-reduced-motion: no crossfade */
@media (prefers-reduced-motion: reduce) {
  .hero-montage__slide {
    transition: none;
  }
}


/* ============================================================
   OFFER HERO (inner pages)
   Background image + dark scrim. Text-forward editorial entrance.
   RULE: every offer-hero gets a relevant background image + scrim.
   No hero should ever be a bare dark panel.
   ============================================================ */
.offer-hero {
  min-height: clamp(340px, 50vh, 520px);
  display: flex;
  align-items: center;
  position: relative;
  background: var(--black);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: calc(72px + var(--section-pad)) 0 var(--section-pad);
  overflow: hidden;
}

/* Dark scrim overlay (left-to-right gradient for text legibility, WCAG AA).
   RULE: always present so headline stays readable over any image. */
.offer-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(2, 2, 1, 0.92) 0%,
    rgba(2, 2, 1, 0.85) 35%,
    rgba(2, 2, 1, 0.6) 65%,
    rgba(2, 2, 1, 0.4) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Atmospheric gold glow */
.offer-hero::after {
  content: '';
  position: absolute;
  top: 40%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(221, 214, 140, 0.03) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
}

/* Per-page hero background images (licensed, see assets/CREDITS.md) */
.offer-hero--company-setup    { background-image: url('assets/hero/company-setup.jpg'); }
.offer-hero--bookkeeping      { background-image: url('assets/hero/monthly-bookkeeping.jpg'); }
.offer-hero--financial        { background-image: url('assets/hero/financial-control.jpg'); }
.offer-hero--tax              { background-image: url('assets/hero/tax-compliance.jpg'); }
.offer-hero--enterprise       { background-image: url('assets/hero/enterprise.jpg'); }
.offer-hero--custom           { background-image: url('assets/hero/custom-plan.jpg'); }
.offer-hero--book             { background-image: url('assets/hero/book.jpg'); }
.offer-hero--about            { background-image: url('assets/hero/about.jpg'); }
.offer-hero--pricing          { background-image: url('assets/hero/pricing.jpg'); }
.offer-hero--resources        { background-image: url('assets/hero/about.jpg'); }
.offer-hero--blog             { background-image: url('assets/hero/financial-control.jpg'); }
.offer-hero--scorecard        { background-image: url('assets/hero/pricing.jpg'); }
.offer-hero--contact          { background-image: url('assets/hero/about.jpg'); }

.offer-hero__content {
  position: relative;
  z-index: 3;
}

.offer-hero__badge {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: var(--gold);
  color: var(--black);
  padding: 0.3rem 1rem;
  border-radius: var(--radius);
  margin-bottom: var(--space-3);
}

.offer-hero__kicker {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-2);
}

.offer-hero__headline {
  font-family: var(--font-display);
  font-size: var(--text-h2);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--text-primary);
  margin-bottom: var(--space-3);
  font-optical-sizing: auto;
}

/* Demoted emotional headline — visually identical to the old H1,
   but semantically a <p> so the real H1 is keyword-led for SEO. */
.offer-hero__emotional {
  font-family: var(--font-display);
  font-size: var(--text-h2);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--text-primary);
  margin-top: var(--space-2);
  margin-bottom: var(--space-3);
  font-optical-sizing: auto;
  font-style: italic;
}

.offer-hero__sub {
  font-size: var(--text-body-lg);
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 680px;
  margin-bottom: var(--space-2);
}

.offer-hero__sub:last-of-type {
  margin-bottom: var(--space-4);
}

.offer-hero__actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
}

/* Enterprise variant: gold hairline at bottom (applied via box-shadow to
   avoid conflicting with the ::before scrim) */
.offer-hero--enterprise {
  box-shadow: inset 0 -1px 0 0 var(--gold-muted);
}

/* Mobile offer-hero: relax min-height, strengthen scrim for full coverage */
@media (max-width: 768px) {
  .offer-hero {
    min-height: auto;
    background-position: center right;
  }
  .offer-hero::before {
    background: linear-gradient(180deg,
      rgba(2, 2, 1, 0.95) 0%,
      rgba(2, 2, 1, 0.88) 60%,
      rgba(2, 2, 1, 0.8) 100%);
  }
}

@media (max-width: 480px) {
  .offer-hero::after {
    display: none;
  }
}


/* ============================================================
   OFFER FEATURES (2-column grid of service items)
   ============================================================ */
.offer-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-4);
}

@media (max-width: 768px) {
  .offer-features {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }
}

.offer-feature {
  padding: var(--space-4);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  transition: border-color 0.3s ease;
}

.offer-feature:hover {
  border-color: var(--border-gold);
}

.offer-feature__title {
  font-family: var(--font-body);
  font-size: var(--text-h4);
  font-weight: 700;
  margin-bottom: var(--space-1);
  color: var(--text-primary);
}

.offer-feature__desc {
  font-size: var(--text-body);
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
}


/* ============================================================
   FAQ SECTION (service pages — Batch 5 SEO sprint)
   ============================================================ */
.faq-list {
  margin-top: var(--space-4);
  max-width: 820px;
}

.faq-item {
  border-bottom: 1px solid var(--border-subtle);
}

.faq-item:first-child {
  border-top: 1px solid var(--border-subtle);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3) 0;
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: 700;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
  line-height: 1.5;
  transition: color 0.2s ease;
}

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

.faq-item summary:hover { color: var(--gold); }

.faq-item summary::after {
  content: '';
  flex-shrink: 0;
  margin-left: var(--space-2);
  width: 1.25rem;
  height: 1.25rem;
  background: var(--gold);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='M12 5v14'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='M12 5v14'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: transform 0.25s ease;
}

.faq-item[open] summary::after {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E");
}

.faq-item__answer {
  padding: 0 0 var(--space-3) 0;
  font-size: var(--text-body);
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
}

.faq-item__answer a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.faq-item__answer a:hover {
  color: var(--text-primary);
}

@media (max-width: 768px) {
  .faq-item summary {
    font-size: 0.95rem;
    padding: var(--space-2) 0;
  }
  .faq-item__answer {
    padding-bottom: var(--space-2);
  }
}


/* ============================================================
   OFFER PRICING GRID (inner pages)
   ============================================================ */
.offer-pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.offer-pricing-grid--two {
  grid-template-columns: repeat(2, 1fr);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 640px) {
  .offer-pricing-grid--two {
    grid-template-columns: 1fr;
  }
}

.offer-pricing-card {
  background: var(--white-full);
  border-radius: var(--radius);
  padding: var(--space-4) var(--space-3);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.offer-pricing-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.offer-pricing-card--featured {
  border: 2px solid var(--gold);
}

.offer-pricing-card--featured:hover {
  box-shadow: 0 12px 40px rgba(221, 214, 140, 0.15);
}

.offer-pricing-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: var(--gold);
  color: var(--black);
  padding: 0.3rem 1rem;
  border-radius: var(--radius);
  white-space: nowrap;
}

.offer-pricing-card__name {
  font-size: var(--text-h4);
  font-weight: 700;
  color: #0A1015;
  margin-bottom: var(--space-1);
}

.offer-pricing-card__desc {
  font-size: var(--text-small);
  color: var(--text-muted-dark);
  line-height: 1.6;
  margin-bottom: var(--space-3);
  flex: 1;
}

.offer-pricing-card__price {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  font-weight: 700;
  color: #0A1015;
  line-height: 1.1;
  font-optical-sizing: auto;
}

.offer-pricing-card__note {
  font-size: var(--text-xs);
  color: var(--text-muted-dark);
  margin-top: var(--space-1);
  font-style: italic;
}

.offer-pricing-card__includes {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid #E5E5E5;
}

.offer-pricing-card__includes span {
  font-size: var(--text-small);
  color: #4D5156;
  padding-left: 1.25rem;
  position: relative;
}

.offer-pricing-card__includes span::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-muted);
}


/* ============================================================
   SERVICES OVERVIEW GRID (homepage)
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.service-card {
  display: flex;
  flex-direction: column;
  padding: var(--space-4);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: border-color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
  overflow: hidden;
}

/* -- Service card background images + scrim -- */
.service-card[data-bg] {
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
}

.service-card[data-bg]::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    90deg,
    rgba(10, 10, 10, 0.92) 0%,
    rgba(10, 10, 10, 0.88) 40%,
    rgba(10, 10, 10, 0.6) 65%,
    rgba(10, 10, 10, 0.25) 100%
  );
  border-radius: inherit;
  pointer-events: none;
}

.service-card[data-bg] > * {
  position: relative;
  z-index: 1;
}

/* Mobile: strengthen scrim (text stacks full-width, image behind) */
@media (max-width: 768px) {
  .service-card[data-bg]::before {
    background: linear-gradient(
      90deg,
      rgba(10, 10, 10, 0.94) 0%,
      rgba(10, 10, 10, 0.90) 50%,
      rgba(10, 10, 10, 0.75) 100%
    );
  }
}

.service-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.service-card--featured {
  border-color: var(--border-gold);
}

.service-card--enterprise {
  border-color: rgba(221, 214, 140, 0.15);
}

.service-card__badge {
  position: absolute;
  top: var(--space-2);
  right: var(--space-2);
  left: auto;
  width: auto;
  max-width: max-content;
  white-space: nowrap;
  font-size: var(--text-xxs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--gold);
  color: var(--black);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius);
  line-height: 1.2;
  z-index: 3;
}

.service-card__number {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  font-weight: 400;
  color: var(--gold);
  opacity: 0.15;
  line-height: 1;
  margin-bottom: var(--space-2);
  letter-spacing: -0.02em;
}

/* Featured card: reserve top-right clearance so the badge never overlaps the number */
.service-card--featured .service-card__number {
  padding-right: 5.5rem;
}

.service-card__title {
  font-family: var(--font-body);
  font-size: var(--text-h4);
  font-weight: 700;
  margin-bottom: var(--space-1);
  color: var(--text-primary);
}

.service-card__desc {
  font-size: var(--text-body);
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-3);
  flex: 1;
}

.service-card__price {
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.04em;
  margin-bottom: var(--space-2);
}

.service-card__link {
  font-size: var(--text-small);
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.service-card__link::after {
  content: '';
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: middle;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: transform 0.2s ease;
}

.service-card:hover .service-card__link {
  color: var(--gold);
}

.service-card:hover .service-card__link::after {
  transform: translateX(4px);
}


/* ============================================================
   ENTERPRISE PROFILES (who this is for section)
   ============================================================ */
.enterprise-profiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  margin-top: var(--space-4);
}

@media (max-width: 768px) {
  .enterprise-profiles {
    grid-template-columns: 1fr;
  }
}

.enterprise-profile {
  padding: var(--space-4);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  transition: border-color 0.3s ease;
}

.enterprise-profile:hover {
  border-color: var(--border-gold);
}

.enterprise-profile__title {
  font-family: var(--font-body);
  font-size: var(--text-h4);
  font-weight: 700;
  margin-bottom: var(--space-2);
  color: var(--gold);
}

.enterprise-profile__desc {
  font-size: var(--text-body);
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
}


/* ============================================================
   CASE STUDY (enterprise page)
   ============================================================ */
.case-study-intro {
  font-size: var(--text-body-lg);
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 800px;
  margin-bottom: var(--space-5);
}

.case-study-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

@media (max-width: 900px) {
  .case-study-stats {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .case-study-stats {
    grid-template-columns: 1fr;
  }
}

.case-study-stat {
  padding: var(--space-3) var(--space-3);
  border-left: 2px solid var(--gold);
}

.case-study-stat__number {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.case-study-stat__label {
  font-size: var(--text-small);
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.5;
}

.case-study-credibility {
  font-size: var(--text-body);
  font-weight: 300;
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: var(--space-5);
}

/* -- Case study gated download form -- */
.case-study-gate {
  padding: var(--space-5);
  background: rgba(221, 214, 140, 0.04);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  max-width: 680px;
}

.case-study-gate__title {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-1);
}

.case-study-gate__text {
  font-size: var(--text-body);
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-4);
}

.case-study-gate__fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}

@media (max-width: 600px) {
  .case-study-gate__fields {
    grid-template-columns: 1fr;
  }
}

.case-study-gate__submit {
  width: 100%;
  text-align: center;
}

.case-study-form__honeypot {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  height: 0;
  width: 0;
  z-index: -1;
  pointer-events: none;
}

.case-study-gate__success {
  padding: var(--space-3);
  text-align: center;
}

.case-study-gate__success-text {
  font-size: var(--text-body);
  font-weight: 400;
  color: var(--gold);
  line-height: 1.7;
}

.case-study-gate__success-link {
  color: var(--gold-bright);
  text-decoration: underline;
}


/* ============================================================
   COST COMPARISON (ROI block, enterprise page)
   ============================================================ */
.cost-compare {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  margin-top: var(--space-4);
}

@media (max-width: 768px) {
  .cost-compare {
    grid-template-columns: 1fr;
  }
}

.cost-compare__col {
  padding: var(--space-4);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
}

.cost-compare__col--tmg {
  border-color: var(--border-gold);
  background: rgba(221, 214, 140, 0.04);
}

.cost-compare__label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: var(--space-2);
}

.cost-compare__col--tmg .cost-compare__label {
  color: var(--gold);
}

.cost-compare__price {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: var(--space-2);
}

.cost-compare__detail {
  font-size: var(--text-body);
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
  flex: 1;
}

.cost-compare__cta {
  margin-top: var(--space-3);
  align-self: flex-start;
}


/* ============================================================
   FORMS: shared components for plan configurator,
   qualification form, and exit-intent popup.
   ============================================================ */

/* --- Honeypot (hidden from humans, catches bots) --- */
.plan-form__honeypot,
.qual-form__honeypot,
.exit-form__honeypot {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  height: 0;
  width: 0;
  z-index: -1;
  pointer-events: none;
}

/* --- Form groups --- */
.plan-form__group,
.qual-form__group {
  margin-bottom: var(--space-6);
}

.plan-form__heading,
.qual-form__heading {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}

.plan-form__hint,
.qual-form__hint {
  font-size: var(--text-small);
  color: var(--text-secondary);
  margin-bottom: var(--space-3);
  line-height: 1.6;
}

/* --- Inputs, selects, textareas --- */
.plan-form__input,
.plan-form__textarea,
.plan-form__select,
.qual-form__input,
.qual-form__textarea,
.qual-form__select,
.exit-form__input {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: 400;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  transition: border-color 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}

.plan-form__input:focus,
.plan-form__textarea:focus,
.plan-form__select:focus,
.qual-form__input:focus,
.qual-form__textarea:focus,
.qual-form__select:focus,
.exit-form__input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(221, 214, 140, 0.15);
}

.plan-form__input::placeholder,
.plan-form__textarea::placeholder,
.qual-form__input::placeholder,
.qual-form__textarea::placeholder,
.exit-form__input::placeholder {
  color: var(--text-tertiary);
}

/* Select arrow */
.plan-form__select,
.qual-form__select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

/* Option styling for dark theme */
.plan-form__select option,
.qual-form__select option {
  background: var(--near-black);
  color: var(--text-primary);
}

/* --- Labels --- */
.plan-form__label,
.qual-form__label {
  display: block;
  font-size: var(--text-small);
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}

/* --- Field layout --- */
.plan-form__field,
.qual-form__field {
  margin-bottom: var(--space-3);
}

.plan-form__fields,
.qual-form__fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}

@media (max-width: 600px) {
  .plan-form__fields,
  .qual-form__fields {
    grid-template-columns: 1fr;
  }
}

/* --- Checkbox cards (plan configurator + qualification) --- */
.plan-check {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: var(--space-2) var(--space-3);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
  margin-bottom: var(--space-1);
}

.plan-check:hover {
  border-color: var(--border-hover);
  background: rgba(255, 255, 255, 0.04);
}

.plan-check input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.plan-check__box {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border: 2px solid var(--text-tertiary);
  border-radius: 3px;
  margin-top: 2px;
  transition: border-color 0.2s ease, background 0.2s ease;
  position: relative;
}

.plan-check__box::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 5px;
  width: 6px;
  height: 10px;
  border: solid var(--black);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  transition: transform 0.15s ease;
}

.plan-check input:checked ~ .plan-check__box {
  background: var(--gold);
  border-color: var(--gold);
}

.plan-check input:checked ~ .plan-check__box::after {
  transform: rotate(45deg) scale(1);
}

.plan-check input:focus-visible ~ .plan-check__box {
  box-shadow: 0 0 0 3px rgba(221, 214, 140, 0.25);
}

.plan-check__label {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.plan-check__name {
  font-size: var(--text-body);
  font-weight: 700;
  color: var(--text-primary);
}

.plan-check__price {
  font-size: var(--text-small);
  color: var(--gold);
  font-weight: 400;
}

/* --- Running total --- */
.plan-total {
  background: rgba(221, 214, 140, 0.06);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  padding: var(--space-3) var(--space-4);
  margin-bottom: var(--space-6);
}

.plan-total__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.5rem;
}

.plan-total__row--secondary {
  margin-bottom: var(--space-2);
}

.plan-total__label {
  font-size: var(--text-body);
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.plan-total__row--secondary .plan-total__label {
  font-weight: 400;
  font-size: var(--text-small);
}

.plan-total__value {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  font-weight: 700;
  color: var(--gold);
}

.plan-total__row--secondary .plan-total__value {
  font-size: var(--text-h4);
  color: var(--text-secondary);
}

.plan-total__note {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
  line-height: 1.5;
}

/* --- Submit buttons --- */
.plan-form__submit,
.qual-form__submit {
  width: 100%;
  text-align: center;
  margin-top: var(--space-2);
}

.plan-form__submit:disabled,
.qual-form__submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* --- Inline validation errors --- */
.form-error {
  display: none;
  font-size: var(--text-xs);
  color: #E57373;
  margin-top: 0.35rem;
  line-height: 1.4;
}

.form-error.is-visible {
  display: block;
}

/* Invalid-state border (set via aria-invalid) */
.qual-form__input[aria-invalid="true"],
.qual-form__textarea[aria-invalid="true"],
.qual-form__select[aria-invalid="true"],
.plan-form__input[aria-invalid="true"],
.plan-form__textarea[aria-invalid="true"],
.plan-form__select[aria-invalid="true"],
.payroll-form__input[aria-invalid="true"],
.exit-form__input[aria-invalid="true"] {
  border-color: #E57373;
}

.qual-form__input[aria-invalid="true"]:focus,
.qual-form__textarea[aria-invalid="true"]:focus,
.qual-form__select[aria-invalid="true"]:focus,
.plan-form__input[aria-invalid="true"]:focus,
.plan-form__textarea[aria-invalid="true"]:focus,
.plan-form__select[aria-invalid="true"]:focus,
.payroll-form__input[aria-invalid="true"]:focus {
  box-shadow: 0 0 0 3px rgba(229, 115, 115, 0.15);
}

/* --- Payroll currency label --- */
.payroll-form__currency {
  color: var(--gold);
  font-weight: 700;
  margin-right: 0.25em;
}

/* --- Success state --- */
.form-success {
  text-align: center;
  padding: var(--space-8) 0;
}

.form-success__title {
  font-family: var(--font-display);
  font-size: var(--text-h2);
  font-weight: 700;
  color: var(--gold);
  margin-bottom: var(--space-3);
}

.form-success__text {
  font-size: var(--text-body-lg);
  font-weight: 300;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto var(--space-4);
  line-height: 1.7;
}

.form-success__fallback {
  font-size: var(--text-small);
  color: var(--text-tertiary);
  margin-top: var(--space-3);
}

.form-success__fallback a {
  color: var(--gold);
}

/* Booking iframe (book.html success state) */
#qual-success iframe {
  margin: var(--space-4) auto;
  border-radius: 8px;
  overflow: hidden;
  max-width: 100%;
  display: block;
}


/* ============================================================
   EXIT-INTENT POPUP
   ============================================================ */
.exit-popup {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(2, 2, 1, 0.8);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.exit-popup.is-visible {
  opacity: 1;
  visibility: visible;
}

.exit-popup__card {
  position: relative;
  background: var(--near-black);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  padding: var(--space-6);
  max-width: 480px;
  width: 90%;
  text-align: center;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
}

.exit-popup__close {
  position: absolute;
  top: var(--space-2);
  right: var(--space-2);
  background: none;
  border: none;
  color: var(--text-tertiary);
  cursor: pointer;
  padding: 0.5rem;
  line-height: 1;
  transition: color 0.2s ease;
}
.exit-popup__close .icon {
  width: 1.5rem;
  height: 1.5rem;
}

.exit-popup__close:hover {
  color: var(--text-primary);
}

.exit-popup__title {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}

.exit-popup__text {
  font-size: var(--text-body);
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-4);
}

.exit-popup__cta {
  margin-bottom: var(--space-4);
}

.exit-popup__divider {
  font-size: var(--text-small);
  color: var(--text-tertiary);
  margin-bottom: var(--space-3);
}

.exit-popup__email-form {
  display: flex;
  gap: var(--space-1);
}

.exit-popup__email-form .exit-form__input {
  flex: 1;
}

.exit-popup__email-form .btn {
  flex-shrink: 0;
}

.exit-popup__success {
  padding: var(--space-3) 0;
}

.exit-popup__success p {
  font-size: var(--text-body);
  color: var(--gold);
  font-weight: 700;
}

.exit-popup__inline-link {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.exit-popup__inline-link:hover {
  color: var(--text-primary);
}

.exit-popup__divider--email {
  margin-top: var(--space-1);
}

@media (max-width: 600px) {
  .exit-popup__card {
    padding: var(--space-4);
  }

  .exit-popup__email-form {
    flex-direction: column;
  }
}


/* ============================================================
   ABOUT PAGE
   ============================================================ */

/* About intro section */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: center;
  margin-top: var(--space-4);
}

.about-intro__text {
  font-size: var(--text-body-lg);
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
}

.about-intro__text p {
  margin-bottom: var(--space-3);
}

.about-intro__text p:last-child {
  margin-bottom: 0;
}

.about-intro__image {
  position: relative;
  overflow: hidden;
  max-width: 320px;
  margin: 0 auto;
}

.about-intro__image img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
}

@media (max-width: 768px) {
  .about-intro {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
}

/* About values */
.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.about-value {
  padding: var(--space-4);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  transition: border-color 0.3s ease;
}

.about-value:hover {
  border-color: var(--border-gold);
}

.about-value__title {
  font-family: var(--font-display);
  font-size: var(--text-h4);
  font-weight: 700;
  margin-bottom: var(--space-1);
  color: var(--gold);
}

.about-value__desc {
  font-size: var(--text-body);
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .about-values {
    grid-template-columns: 1fr;
  }
}

/* Team grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.team-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.team-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-3px);
}

.team-card--founder {
  border-color: var(--border-gold);
}

.team-card__photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center top;
  display: block;
  background: var(--charcoal);
}

.team-card__monogram {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--charcoal);
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  opacity: 0.5;
}

.team-card__info {
  padding: var(--space-2) var(--space-3) var(--space-3);
}

.team-card__name {
  font-family: var(--font-display);
  font-size: var(--text-body);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.team-card__role {
  font-size: var(--text-xs);
  color: var(--text-secondary);
  letter-spacing: 0.04em;
}

.team-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: var(--space-1);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--gold);
  transition: opacity 0.2s ease;
}

.team-card__link:hover {
  opacity: 0.75;
}

.team-card__link svg {
  width: 14px;
  height: 14px;
}

.team-card__bio {
  font-size: var(--text-small);
  line-height: 1.55;
  color: var(--text-secondary);
  margin-top: 0.5rem;
}

/* Highlight claim */
.about-claim {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  padding: var(--space-6) 0;
}

.about-claim__text {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.25;
}

.about-claim__text strong {
  color: var(--gold);
}


/* ============================================================
   PRICING OVERVIEW PAGE
   ============================================================ */

/* Aggregated pricing table */
.pricing-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-top: var(--space-4);
}

.pricing-table thead th {
  font-family: var(--font-display);
  font-size: var(--text-small);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  text-align: left;
  padding: var(--space-2) var(--space-3);
  border-bottom: 1px solid var(--border-gold);
}

.pricing-table tbody td {
  font-size: var(--text-body);
  font-weight: 400;
  color: var(--text-primary);
  padding: var(--space-2) var(--space-3);
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: top;
}

.pricing-table tbody tr {
  transition: background 0.2s ease;
}

.pricing-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

.pricing-table__price {
  font-weight: 700;
  color: var(--gold);
  white-space: nowrap;
}

.pricing-table__link {
  color: var(--text-secondary);
  font-size: var(--text-small);
  transition: color 0.2s ease;
}

.pricing-table__link:hover {
  color: var(--gold);
}

/* Pricing overview: service category cards (alternative to table on mobile) */
.pricing-category {
  margin-bottom: var(--space-6);
}

.pricing-category__title {
  font-family: var(--font-display);
  font-size: var(--text-h4);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-1);
}

.pricing-category__desc {
  font-size: var(--text-small);
  color: var(--text-secondary);
  margin-bottom: var(--space-3);
}

.pricing-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-2);
}

.pricing-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: var(--space-2) var(--space-3);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  transition: border-color 0.2s ease;
}

.pricing-item:hover {
  border-color: var(--border-gold);
}

.pricing-item__name {
  font-size: var(--text-body);
  font-weight: 400;
  color: var(--text-primary);
}

.pricing-item__price {
  font-size: var(--text-body);
  font-weight: 700;
  color: var(--gold);
  white-space: nowrap;
  margin-left: var(--space-2);
}

/* CTA row inside each pricing category */
.pricing-category__actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin-top: var(--space-4);
}

.pricing-category__learn-more {
  font-size: var(--text-small);
  color: var(--text-secondary);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.pricing-category__learn-more:hover {
  color: var(--gold);
}


/* ============================================================
   FORM-FIRST CTA SECONDARY LINK
   Subtle inline link beneath primary CTA for warm leads
   who want to book directly without the qualification form.
   ============================================================ */
.cta-secondary {
  display: block;
  font-size: var(--text-small);
  color: var(--text-tertiary);
  margin-top: var(--space-1);
}

.cta-secondary a {
  color: var(--text-secondary);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.cta-secondary a:hover {
  color: var(--gold);
}


/* ============================================================
   RESOURCES PAGE: TOOLS GRID
   ============================================================ */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.tool-card {
  position: relative;
  padding: var(--space-4);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  transition: border-color 0.3s ease, transform 0.3s ease, background 0.3s ease;
}

.tool-card--live {
  display: block;
  border-color: var(--border-gold);
}

.tool-card--live:hover {
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-3px);
  border-color: var(--gold);
}

.tool-card--soon {
  opacity: 0.7;
}

.tool-card__icon {
  width: 40px;
  height: 40px;
  color: var(--gold);
  margin-bottom: var(--space-2);
}

.tool-card__icon svg {
  width: 100%;
  height: 100%;
}

.tool-card__badge {
  display: inline-block;
  font-size: var(--text-xxs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-tertiary);
  border: 1px solid var(--border-subtle);
  border-radius: 3px;
  padding: 0.15rem 0.5rem;
  margin-bottom: var(--space-2);
}

.tool-card__title {
  font-family: var(--font-display);
  font-size: var(--text-h4);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-1);
}

.tool-card__desc {
  font-size: var(--text-body);
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-2);
}

.tool-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--text-small);
  font-weight: 700;
  color: var(--gold);
  transition: gap 0.2s ease;
}

.tool-card__cta::after {
  content: '';
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: middle;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E") center/contain no-repeat;
}

.tool-card--live:hover .tool-card__cta {
  gap: 0.7rem;
}


/* ============================================================
   RESOURCES + BLOG: BLOG TEASER, NEWSLETTER, EMPTY STATE
   ============================================================ */

/* Blog teaser cards (resources page) */
.blog-teaser {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.blog-teaser__card {
  padding: var(--space-4);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  transition: border-color 0.3s ease;
}

.blog-teaser__card:hover {
  border-color: var(--border-gold);
}

.blog-teaser__title {
  font-family: var(--font-display);
  font-size: var(--text-h4);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-1);
}

.blog-teaser__desc {
  font-size: var(--text-body);
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-3);
}

/* Blog empty state */
.blog-empty {
  text-align: center;
  padding: var(--space-8) 0 var(--space-4);
}

.blog-empty__icon {
  width: 64px;
  height: 64px;
  color: var(--text-tertiary);
  margin: 0 auto var(--space-3);
}

.blog-empty__icon svg {
  width: 100%;
  height: 100%;
}

.blog-empty__title {
  font-family: var(--font-display);
  font-size: var(--text-h2);
  font-weight: 700;
  color: var(--gold);
  margin-bottom: var(--space-2);
}

.blog-empty__text {
  font-size: var(--text-body-lg);
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto;
}

/* Newsletter feature card */
.newsletter-feature {
  max-width: 640px;
  margin: var(--space-4) auto 0;
}

.newsletter-feature__content {
  padding: var(--space-5);
  background: rgba(221, 214, 140, 0.04);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  text-align: center;
}

.newsletter-feature__kicker {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: var(--space-1);
}

.newsletter-feature__title {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}

.newsletter-feature__desc {
  font-size: var(--text-body);
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-4);
}


/* ============================================================
   SCORECARD: PROGRESS, QUIZ, RESULT, GATE, DETAIL
   ============================================================ */

/* Progress bar */
.scorecard-progress {
  margin-bottom: var(--space-4);
}

.scorecard-progress__bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: var(--space-1);
}

.scorecard-progress__fill {
  height: 100%;
  background: var(--gold);
  border-radius: 2px;
  transition: width 0.4s ease;
}

.scorecard-progress__text {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
  letter-spacing: 0.04em;
}

/* Quiz questions */
.scorecard-q__title {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-1);
}

.scorecard-q__hint {
  font-size: var(--text-body);
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-3);
}

.scorecard-q__options {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

/* Answer buttons */
.scorecard-opt {
  display: block;
  width: 100%;
  text-align: left;
  padding: var(--space-2) var(--space-3);
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: 400;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.15s ease;
}

.scorecard-opt:hover {
  border-color: var(--border-hover);
  background: rgba(255, 255, 255, 0.04);
}

.scorecard-opt--selected {
  border-color: var(--gold);
  background: rgba(221, 214, 140, 0.08);
  transform: scale(0.99);
}

/* Score ring display */
.scorecard-score {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  padding: var(--space-5) 0;
  flex-wrap: wrap;
  justify-content: center;
}

.scorecard-score__ring {
  position: relative;
  width: 140px;
  height: 140px;
  flex-shrink: 0;
}

.scorecard-score__ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.scorecard-score__track {
  fill: none;
  stroke: rgba(255, 255, 255, 0.06);
  stroke-width: 6;
}

.scorecard-score__fill {
  fill: none;
  stroke: var(--gold);
  stroke-width: 6;
  stroke-linecap: round;
  transition: stroke-dashoffset 1.2s ease;
}

.scorecard-score__number {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.scorecard-score__info {
  text-align: left;
}

.scorecard-score__band {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  font-weight: 700;
  margin-bottom: var(--space-1);
}

.scorecard-score__band--green { color: #4CAF50; }
.scorecard-score__band--amber { color: var(--gold); }
.scorecard-score__band--red   { color: #E57373; }

.scorecard-score__verdict {
  font-size: var(--text-body);
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 480px;
}

/* Email gate */
.scorecard-gate {
  padding: var(--space-5);
  background: rgba(221, 214, 140, 0.04);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  margin-top: var(--space-4);
}

.scorecard-gate__title {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-1);
}

.scorecard-gate__text {
  font-size: var(--text-body);
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-4);
}

.scorecard-gate__fields {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}

@media (max-width: 768px) {
  .scorecard-gate__fields {
    grid-template-columns: 1fr;
  }
}

.scorecard-gate__submit {
  width: 100%;
  text-align: center;
}

.scorecard-form__honeypot {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  height: 0;
  width: 0;
  z-index: -1;
  pointer-events: none;
}

/* Detailed breakdown */
.scorecard-detail__title {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-3);
  margin-top: var(--space-4);
}

.scorecard-detail__areas {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.scorecard-area {
  padding: var(--space-3);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  border-left: 3px solid var(--text-tertiary);
}

.scorecard-area--green { border-left-color: #4CAF50; }
.scorecard-area--amber { border-left-color: var(--gold); }
.scorecard-area--red   { border-left-color: #E57373; }

.scorecard-area__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: var(--space-1);
  flex-wrap: wrap;
  gap: var(--space-1);
}

.scorecard-area__title {
  font-family: var(--font-display);
  font-size: var(--text-h4);
  font-weight: 700;
  color: var(--text-primary);
}

.scorecard-area__status {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.scorecard-area--green .scorecard-area__status { color: #4CAF50; }
.scorecard-area--amber .scorecard-area__status { color: var(--gold); }
.scorecard-area--red .scorecard-area__status   { color: #E57373; }

.scorecard-area__answer {
  font-size: var(--text-small);
  color: var(--text-tertiary);
  margin-bottom: var(--space-1);
  font-style: italic;
}

.scorecard-area__feedback {
  font-size: var(--text-body);
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Scorecard detail CTA */
.scorecard-detail__cta {
  margin-top: var(--space-6);
  padding: var(--space-5);
  background: rgba(221, 214, 140, 0.04);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  text-align: center;
}

.scorecard-detail__cta-title {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-1);
}

.scorecard-detail__cta-text {
  font-size: var(--text-body);
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-3);
}

.scorecard-detail__cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
}


/* ============================================================
   TOOL PAGES: ESTIMATOR, PAYROLL, DEADLINE, QUIZ
   Hero backgrounds + estimator-specific result cards
   ============================================================ */
.offer-hero--setup-estimator  { background-image: url('assets/hero/company-setup.jpg'); }
.offer-hero--payroll          { background-image: url('assets/hero/enterprise.jpg'); }
.offer-hero--deadline         { background-image: url('assets/hero/tax-compliance.jpg'); }
.offer-hero--quiz             { background-image: url('assets/hero/about.jpg'); }

/* Estimator summary */
.estimator-summary__title {
  font-family: var(--font-display);
  font-size: var(--text-h2);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-4);
}

.estimator-card {
  padding: var(--space-4);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  margin-bottom: var(--space-2);
}

.estimator-card__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.estimator-card__label {
  font-family: var(--font-display);
  font-size: var(--text-h4);
  font-weight: 700;
  color: var(--text-primary);
}

.estimator-card__value {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  font-weight: 700;
  color: var(--text-primary);
}

.estimator-card__value--gold {
  color: var(--gold);
}

.estimator-card__note {
  font-size: var(--text-small);
  font-weight: 300;
  color: var(--text-tertiary);
  margin-top: var(--space-1);
  line-height: 1.6;
}

/* Estimator steps */
.estimator-steps {
  padding: var(--space-4);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  margin-bottom: var(--space-3);
  margin-top: var(--space-2);
}

.estimator-steps__title {
  font-family: var(--font-display);
  font-size: var(--text-h4);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-2);
}

.estimator-steps__list {
  list-style: decimal;
  padding-left: var(--space-3);
}

.estimator-steps__item {
  font-size: var(--text-body);
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.8;
  padding: var(--space-1) 0;
  border-bottom: 1px solid var(--border-subtle);
}

.estimator-steps__item:last-child {
  border-bottom: none;
}

/* Disclaimer */
.estimator-disclaimer {
  padding: var(--space-3);
  background: rgba(221, 214, 140, 0.04);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  margin-top: var(--space-3);
  margin-bottom: var(--space-4);
}

.estimator-disclaimer p {
  font-size: var(--text-small);
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-1);
}

.estimator-disclaimer p:last-child {
  margin-bottom: 0;
}

.estimator-disclaimer a {
  color: var(--gold);
}

.estimator-disclaimer__review {
  font-style: italic;
  color: var(--text-tertiary) !important;
}

/* Payroll calculator result */
.payroll-result__title {
  font-family: var(--font-display);
  font-size: var(--text-h2);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-4);
}

.payroll-highlight {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  padding: var(--space-5);
  background: rgba(221, 214, 140, 0.04);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  margin-bottom: var(--space-4);
  flex-wrap: wrap;
  justify-content: center;
}

.payroll-highlight__gross,
.payroll-highlight__total {
  text-align: center;
  min-width: 160px;
}

.payroll-highlight__label {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-tertiary);
  margin-bottom: var(--space-1);
}

.payroll-highlight__value {
  font-family: var(--font-display);
  font-size: var(--text-h2);
  font-weight: 700;
}

.payroll-highlight__value--muted {
  color: var(--text-secondary);
}

.payroll-highlight__value--gold {
  color: var(--gold);
}

.payroll-highlight__arrow {
  font-size: 2rem;
  color: var(--text-tertiary);
}

@media (max-width: 600px) {
  .payroll-highlight {
    flex-direction: column;
    gap: var(--space-2);
  }
  .payroll-highlight__arrow {
    transform: rotate(90deg);
  }
}

/* Payroll cost breakdown table */
.payroll-breakdown {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--space-3);
}

.payroll-breakdown th,
.payroll-breakdown td {
  padding: var(--space-2) var(--space-3);
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
  font-size: var(--text-body);
  font-weight: 300;
  color: var(--text-muted);
}

.payroll-breakdown th {
  font-weight: 700;
  color: var(--text-primary);
  font-size: var(--text-small);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.payroll-breakdown td:last-child {
  text-align: right;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-primary);
}

.payroll-breakdown tr:last-child td {
  border-bottom: none;
}

.payroll-breakdown__total td {
  border-top: 2px solid var(--border-gold);
  color: var(--gold) !important;
  font-size: var(--text-h4);
}

/* Deadline checker */
.deadline-result__title {
  font-family: var(--font-display);
  font-size: var(--text-h2);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-3);
}

.deadline-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.deadline-entry {
  display: flex;
  gap: var(--space-3);
  padding: var(--space-3);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  border-left: 3px solid var(--gold);
  align-items: baseline;
}

.deadline-entry__date {
  font-family: var(--font-display);
  font-size: var(--text-h4);
  font-weight: 700;
  color: var(--gold);
  min-width: 80px;
  flex-shrink: 0;
}

.deadline-entry__info {
  flex: 1;
}

.deadline-entry__name {
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.deadline-entry__desc {
  font-size: var(--text-small);
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.6;
}

.deadline-entry--upcoming {
  border-left-color: #E57373;
  background: rgba(229, 115, 115, 0.04);
}

/* Quiz recommendation */
.quiz-result__title {
  font-family: var(--font-display);
  font-size: var(--text-h2);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-3);
}

.quiz-recommendation {
  padding: var(--space-5);
  background: rgba(221, 214, 140, 0.04);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  margin-bottom: var(--space-4);
  text-align: center;
}

.quiz-recommendation__label {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-tertiary);
  margin-bottom: var(--space-1);
}

.quiz-recommendation__entity {
  font-family: var(--font-display);
  font-size: var(--text-h2);
  font-weight: 700;
  color: var(--gold);
  margin-bottom: var(--space-2);
}

.quiz-recommendation__reason {
  font-size: var(--text-body);
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto;
}

/* Comparison table for quiz */
.quiz-comparison {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--space-4);
}

.quiz-comparison th,
.quiz-comparison td {
  padding: var(--space-2) var(--space-3);
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
  font-size: var(--text-small);
  font-weight: 300;
  color: var(--text-muted);
  vertical-align: top;
}

.quiz-comparison th {
  font-weight: 700;
  color: var(--text-primary);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.quiz-comparison td:first-child {
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
}

.quiz-comparison__highlight {
  background: rgba(221, 214, 140, 0.06);
}

.quiz-comparison__highlight td {
  color: var(--text-primary);
  font-weight: 400;
}

@media (max-width: 768px) {
  .quiz-comparison {
    font-size: var(--text-xs);
  }
  .quiz-comparison th,
  .quiz-comparison td {
    padding: var(--space-1) var(--space-2);
  }
  .deadline-entry {
    flex-direction: column;
    gap: var(--space-1);
  }
}

/* Payroll input form */
.payroll-form__field {
  margin-bottom: var(--space-3);
}

.payroll-form__label {
  display: block;
  font-size: var(--text-small);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-1);
}

.payroll-form__hint {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
  margin-bottom: var(--space-1);
}

.payroll-form__input {
  width: 100%;
  max-width: 300px;
  padding: var(--space-2) var(--space-3);
  font-family: var(--font-body);
  font-size: var(--text-body);
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  transition: border-color 0.2s ease;
}

.payroll-form__input:focus {
  outline: none;
  border-color: var(--gold);
}

.payroll-form__input::placeholder {
  color: var(--text-tertiary);
}


/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-6);
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-detail {
  padding: var(--space-3);
  border-left: 2px solid var(--gold);
}

.contact-detail__label {
  font-family: var(--font-display);
  font-size: var(--text-small);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-1);
}

.contact-detail__value {
  font-size: var(--text-body);
  color: var(--text-primary);
  line-height: 1.6;
}

.contact-detail__value a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(221, 214, 140, 0.3);
  transition: border-color 0.2s ease;
}

.contact-detail__value a:hover {
  border-color: var(--gold);
}

.contact-map {
  margin-top: var(--space-6);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.contact-map iframe {
  display: block;
}


/* ============================================================
   EXPERT ATTRIBUTION (service pages)
   ============================================================ */
.expert-attribution {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) 0;
  margin-top: var(--space-4);
  border-top: 1px solid var(--border-subtle);
  font-size: var(--text-small);
  color: var(--text-secondary);
}

.expert-attribution__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--gold);
}


/* ============================================================
   FOOTER LEGAL BLOCK (upgrade)
   ============================================================ */
.site-footer__legal {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.3);
  line-height: 1.5;
}


/* ============================================================
   LEGAL PAGES (Privacy Policy, Terms of Service)
   ============================================================ */
.legal-effective {
  font-size: var(--text-small);
  color: var(--text-secondary);
  margin-bottom: var(--space-6);
  font-style: italic;
}

.legal-h2 {
  font-family: var(--font-display);
  font-size: var(--text-h4);
  font-weight: 700;
  color: var(--gold);
  margin-top: var(--space-6);
  margin-bottom: var(--space-2);
  letter-spacing: 0.01em;
}

.legal-h2:first-of-type {
  margin-top: 0;
}

.section--dark p {
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: var(--space-2);
}

.legal-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: var(--space-3);
}

.legal-list li {
  color: var(--text-muted);
  line-height: 1.75;
  padding-left: var(--space-3);
  position: relative;
  margin-bottom: var(--space-1);
}

.legal-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-muted);
}

.legal-list li a {
  color: var(--gold);
  transition: color 0.2s;
}

.legal-list li a:hover {
  color: var(--gold-bright);
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--space-3);
}

.legal-table th,
.legal-table td {
  text-align: left;
  padding: var(--space-2);
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-muted);
  line-height: 1.6;
  font-size: var(--text-small);
}

.legal-table th {
  color: var(--gold);
  font-weight: 700;
  font-size: var(--text-small);
  letter-spacing: 0.02em;
}

.legal-table code {
  background: var(--dark-surface);
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 0.85em;
  color: var(--cream);
}


/* ============================================================
   FORM CONSENT LINE
   ============================================================ */
.form-consent {
  font-size: var(--text-xs);
  color: var(--text-secondary);
  margin-top: var(--space-1);
  line-height: 1.5;
}

.form-consent a {
  color: var(--gold-muted);
  transition: color 0.2s;
}

.form-consent a:hover {
  color: var(--gold);
}


/* ============================================================
   INLINE TOOL CTA CARD (Mid-funnel, embedded on service pages)
   ============================================================ */
.inline-tool-cta {
  background: var(--dark-surface);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  padding: var(--space-5) var(--space-4);
  margin: var(--space-6) 0;
  display: flex;
  align-items: center;
  gap: var(--space-4);
  position: relative;
  overflow: hidden;
}

.inline-tool-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--gold);
}

.inline-tool-cta__icon {
  flex-shrink: 0;
  line-height: 1;
  color: var(--gold);
}
.inline-tool-cta__icon .icon {
  width: 1.75rem;
  height: 1.75rem;
}

.inline-tool-cta__body {
  flex: 1;
  min-width: 0;
}

.inline-tool-cta__title {
  font-family: var(--font-display);
  font-size: var(--text-h4);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-1);
  line-height: 1.3;
}

.inline-tool-cta__desc {
  font-size: var(--text-body);
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-3);
}

.inline-tool-cta__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: 700;
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s, gap 0.2s;
}

.inline-tool-cta__link:hover {
  color: var(--gold-bright);
  gap: 0.75em;
}

.inline-tool-cta__link::after {
  content: '';
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: middle;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E") center/contain no-repeat;
}

@media (max-width: 600px) {
  .inline-tool-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: var(--space-4) var(--space-3);
    padding-left: calc(var(--space-3) + 3px);
  }
}


/* ============================================================
   MID-PAGE SCORECARD CTA (subtle divider CTA at ~60% scroll)
   ============================================================ */
.mid-scorecard-cta {
  text-align: center;
  padding: var(--space-5) var(--space-3);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  margin: var(--space-6) 0;
}

.mid-scorecard-cta__text {
  font-family: var(--font-display);
  font-size: var(--text-body-lg);
  font-weight: 300;
  color: var(--text-secondary);
  margin-bottom: var(--space-3);
  line-height: 1.6;
}

.mid-scorecard-cta__text strong {
  color: var(--text-primary);
  font-weight: 700;
}

.mid-scorecard-cta .btn--ghost {
  font-size: var(--text-small);
  padding: 0.75rem 1.75rem;
}


/* ============================================================
   HOMEPAGE PATH-SPLIT (Two routes below hero)
   ============================================================ */
.path-split {
  padding: var(--space-8) 0;
  background: var(--near-black);
  position: relative;
}

.path-split::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-muted), transparent);
}

.path-split__header {
  text-align: center;
  margin-bottom: var(--space-6);
}

.path-split__kicker {
  font-size: var(--text-small);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-muted);
  margin-bottom: var(--space-2);
}

.path-split__title {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.path-split__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  max-width: 880px;
  margin: 0 auto;
}

.path-split__card {
  background: var(--dark-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: var(--space-5);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.path-split__card:hover {
  border-color: var(--border-gold);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(221, 214, 140, 0.06);
}

.path-split__card-icon {
  line-height: 1;
  margin-bottom: var(--space-1);
  color: var(--gold);
}
.path-split__card-icon .icon {
  width: 1.75rem;
  height: 1.75rem;
}

.path-split__card-title {
  font-family: var(--font-display);
  font-size: var(--text-h4);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}

.path-split__card-desc {
  font-size: var(--text-body);
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.6;
}

.path-split__card-link {
  font-size: var(--text-small);
  font-weight: 700;
  color: var(--gold);
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  transition: gap 0.2s;
}

.path-split__card:hover .path-split__card-link {
  gap: 0.7em;
}

.path-split__card-link::after {
  content: '';
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: middle;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* -- Path card background images + scrim (mirrors service-card[data-bg] pattern) -- */
.path-split__card--bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.path-split__card--bg::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    105deg,
    rgba(10, 16, 21, 0.92) 0%,
    rgba(10, 16, 21, 0.75) 45%,
    rgba(10, 16, 21, 0.35) 100%
  );
  border-radius: inherit;
  pointer-events: none;
}

.path-split__card--bg > * {
  position: relative;
  z-index: 1;
}

/* Mobile: strengthen path-card scrim for stacked layout */
@media (max-width: 600px) {
  .path-split__card--bg::before {
    background: linear-gradient(
      135deg,
      rgba(10, 16, 21, 0.94) 0%,
      rgba(10, 16, 21, 0.88) 50%,
      rgba(10, 16, 21, 0.6) 100%
    );
  }
}

@media (max-width: 600px) {
  .path-split__grid {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }

  .path-split__card {
    padding: var(--space-4);
  }
}


/* ============================================================
   BATCH 4: CRO/SEO RECONCILE — keyword subhead + empathy bridge + founder
   ============================================================ */

/* Keyword H2 subhead — sits directly below the emotional H1 on
   homepage hero. Smaller, lighter, keyword-rich for SEO. */
.hero__keyword-subhead {
  font-family: var(--font-body);
  font-size: var(--text-body-lg);
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-muted);
  margin-top: 0;
  margin-bottom: var(--space-2);
  letter-spacing: 0;
}

/* Keyword H2 subhead for service pages */
.offer-hero__keyword-subhead {
  font-family: var(--font-body);
  font-size: var(--text-body-lg);
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-muted);
  margin-top: 0;
  margin-bottom: var(--space-3);
  letter-spacing: 0;
}

@media (max-width: 480px) {
  .hero__keyword-subhead,
  .offer-hero__keyword-subhead {
    font-size: 1rem;
  }
}


/* ---- EMPATHY BRIDGE (homepage, between hero and path-split) ---- */
.empathy-bridge {
  background: var(--bg-dark);
  border-top: 1px solid rgba(221, 214, 140, 0.15);
  border-bottom: 1px solid rgba(221, 214, 140, 0.15);
  padding: var(--space-5) 0;
}

.empathy-bridge__text {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.5vw + 0.5rem, 1.35rem);
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  font-style: italic;
}


/* ---- FOUNDER CALLOUT (homepage + book.html) ---- */
.founder-callout {
  background: var(--bg-dark);
  padding: var(--space-6) 0;
}

.founder-callout__inner {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  max-width: 680px;
  margin: 0 auto;
}

.founder-callout__photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold-muted);
  flex-shrink: 0;
}

.founder-callout__name {
  font-family: var(--font-display);
  font-size: var(--text-body-lg);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-1);
}

.founder-callout__bio {
  font-size: var(--text-body);
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 480px) {
  .founder-callout__inner {
    flex-direction: column;
    text-align: center;
  }

  .founder-callout__photo {
    width: 96px;
    height: 96px;
  }
}


/* --- Deadline urgency bar (slim, below fixed nav) --- */
.deadline-bar {
  position: fixed;
  top: 72px; /* below .site-nav height */
  left: 0;
  right: 0;
  z-index: 99;
  background: var(--charcoal);
  border-bottom: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 6px clamp(1.25rem, 3vw, 2.5rem);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.deadline-bar.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.deadline-bar__icon {
  flex-shrink: 0;
  color: var(--gold);
}
.deadline-bar__icon .icon {
  width: 0.8125rem;
  height: 0.8125rem;
}

.deadline-bar__text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.deadline-bar__date {
  font-weight: 700;
  color: var(--gold);
}

.deadline-bar__days {
  font-weight: 700;
  color: var(--text-primary);
}

.deadline-bar__link {
  color: var(--gold-muted);
  text-decoration: none;
  font-weight: 400;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.deadline-bar__link:hover {
  color: var(--gold);
}

.deadline-bar__close {
  flex-shrink: 0;
  background: none;
  border: none;
  color: var(--text-tertiary);
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  transition: color 0.2s ease;
}
.deadline-bar__close .icon {
  width: 0.875rem;
  height: 0.875rem;
}

.deadline-bar__close:hover {
  color: var(--text-primary);
}

/* Spacer pushes content below fixed deadline bar */
.deadline-bar-spacer {
  height: 0;
  transition: height 0.35s ease;
}

.deadline-bar-spacer.is-active {
  height: 30px;
}

@media (max-width: 768px) {
  .deadline-bar {
    font-size: var(--text-xxs);
    gap: var(--space-1);
    padding: 5px var(--space-2);
  }
  .deadline-bar__link {
    display: none; /* hide link on mobile to save space */
  }
}


/* ============================================================
   COOKIE CONSENT BANNER (Garante / GDPR prior opt-in)
   Charcoal / cream / gold -- on-brand, subtle, bottom-fixed.
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  background: rgba(2, 2, 1, 0.97);
  border-top: 1px solid var(--gold);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: var(--space-3) var(--space-4);
  transform: translateY(100%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.4s ease, opacity 0.35s ease, visibility 0s 0.4s;
}

.cookie-banner.is-visible {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  transition: transform 0.4s ease, opacity 0.35s ease, visibility 0s 0s;
}

.cookie-banner__inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.cookie-banner__text {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--cream);
  line-height: 1.5;
  margin: 0;
  flex: 1 1 340px;
}

.cookie-banner__actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-shrink: 0;
  flex-wrap: wrap;
}

.cookie-banner__btn {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  border: none;
  border-radius: 4px;
  padding: 0.5rem 1.25rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.cookie-banner__btn--accept {
  background: var(--gold);
  color: var(--charcoal);
}

.cookie-banner__btn--accept:hover,
.cookie-banner__btn--accept:focus-visible {
  background: var(--gold-hover, #e8e19a);
  box-shadow: 0 0 0 2px var(--gold);
}

.cookie-banner__btn--reject {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.cookie-banner__btn--reject:hover,
.cookie-banner__btn--reject:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.15);
}

.cookie-banner__link {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.5);
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}

.cookie-banner__link:hover {
  color: var(--cream);
}

@media (max-width: 600px) {
  .cookie-banner {
    padding: var(--space-2) var(--space-3);
  }
  .cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: var(--space-2);
  }
  .cookie-banner__actions {
    justify-content: center;
  }
}
