:root {
  /* Backgrounds */
  --bg:              #f0ebe3;       /* warm cream — primary bg */
  --bg-alt:          #e8e2d9;       /* slightly deeper cream for
                                       alternate sections */
  --surface:         rgba(255,255,255,0.6); /* card surfaces */
  --surface-hover:   rgba(255,255,255,0.85);

  /* Text */
  --text-primary:    #1a1714;       /* near-black warm */
  --text-secondary:  #4a4540;       /* warm dark gray */
  --text-muted:      #8a8078;       /* muted warm gray */

  /* Accent — keep copper, it pairs perfectly with cream */
  --accent:          #1a1714;       /* primary text color */
  --accent-dim:      #4a4540;
  --accent-glow:     #c4845a;       /* copper — unchanged */
  --accent-glow-dark:#a86840;

  /* Borders */
  --border:          rgba(26,23,20,0.08);
  --border-strong:   rgba(26,23,20,0.15);

  /* Shadows */
  --shadow-sm:  0 2px 8px rgba(26,23,20,0.06);
  --shadow-md:  0 4px 24px rgba(26,23,20,0.10);
  --shadow-lg:  0 8px 48px rgba(26,23,20,0.14);

  /* Scroll-driven dark/light theme system — used only across the
     problem-cards → free-audit → process-section scroll window.
     body.dark-theme below swaps these; everything else on the page
     keeps using the static tokens above and never sees this swap. */
  --theme-bg:      #f0ebe3;
  --theme-surface: rgba(255,255,255,0.7);
  --theme-text:    #1a1714;
  --theme-text-2:  #4a4540;
  --theme-text-3:  #8a8078;
  --theme-border:  rgba(26,23,20,0.10);

  --theme-bg-dark:      #161412;
  --theme-surface-dark: rgba(255,255,255,0.05);
  --theme-text-dark:    #f0ebe3;
  --theme-text-2-dark:  #a89e94;
  --theme-text-3-dark:  #6a6058;
  --theme-border-dark:  rgba(255,255,255,0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--theme-bg);
  background-image:
    radial-gradient(circle, rgba(26,23,20,0.035) 1px, transparent 1px),
    radial-gradient(ellipse 75% 55% at 5% 0%, rgba(196,132,90,0.10) 0%, transparent 60%),
    radial-gradient(ellipse 45% 35% at 95% 5%, rgba(196,132,90,0.06) 0%, transparent 55%);
  background-size: 24px 24px, 100% 100%, 100% 100%;
  background-attachment: fixed;
  color: var(--text-primary);
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  transition:
    background-color 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    color 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

body.dark-theme {
  --theme-bg:      #161412;
  --theme-surface: rgba(255,255,255,0.05);
  --theme-text:    #f0ebe3;
  --theme-text-2:  #a89e94;
  --theme-text-3:  #6a6058;
  --theme-border:  rgba(255,255,255,0.08);
  background-color: #161412;
}

h1, h2, h3 {
  color: var(--text-primary);
  font-family: system-ui, -apple-system, sans-serif;
  font-weight: 700;
}

h2 {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

h3 {
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

p {
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.65;
  color: var(--text-secondary);
}

a {
  text-decoration: none;
}

.eyebrow {
  font-family: system-ui, -apple-system, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 600;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 2px;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  font-family: system-ui, -apple-system, sans-serif;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent-glow);
  color: var(--text-primary);
  border: none;
  transition: background 0.2s;
}

.btn-primary:hover {
  background: var(--accent-glow-dark);
}

/* ---------- ARC PRELOADER ---------- */

.arc-preloader {
  /* The preloader is a permanently-dark overlay (unlike the rest of
     the now-light site), so --accent needs a local override here —
     otherwise the greeting text (main.js writes inline
     style="color:var(--accent)") would inherit the new dark
     site-wide value and render dark-on-dark. CSS custom properties
     resolve through inline styles the same way they do in external
     rules, so this scoped redefinition fixes it without touching JS. */
  --accent: #f0ebe3;
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #0b0908;
  transition: opacity 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.arc-preloader[data-done="true"] {
  opacity: 0;
  pointer-events: none;
}

.arc-preloader-greeting {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 24px;
  font-family: Georgia, serif;
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: normal;
  color: var(--accent);
  text-align: center;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

.arc-preloader-greeting.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.arc-preloader-greeting.is-leaving {
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.24s ease-in, transform 0.24s ease-in;
}

.arc-preloader-curtain {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.arc-preloader-curtain path {
  fill: var(--bg);
  filter: drop-shadow(0 -6px 28px rgba(196,132,90,0.30));
}

/* ---------- NAV ---------- */

.nav-full {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: transparent;
  border: none;
  z-index: 100;
  opacity: 1;
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

body.nav-scrolled .nav-full {
  opacity: 0;
  pointer-events: none;
}

.nav-inner {
  width: 100%;
  height: 100%;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 10px;
}

.wordmark-a1 {
  font-family: Georgia, serif;
  font-size: 1.1rem;
  color: var(--accent);
}

.wordmark-sub {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  color: var(--accent-glow);
  vertical-align: middle;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.85rem;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: color 0.2s;
  cursor: pointer;
}

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

.btn-nav {
  padding: 10px 20px;
  color: var(--text-primary);
}

/* ---------- NAV: scrolled-state menu pill ---------- */

.menu-pill {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: rgba(26,23,20,0.88);
  border: 1px solid rgba(196,132,90,0.2);
  border-radius: 100px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 24px rgba(26,23,20,0.18), 0 1px 0 rgba(255,255,255,0.06) inset;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(-8px);
  transition: opacity 0.4s ease, transform 0.4s ease, border-color 0.2s ease, background 0.2s ease;
}

body.nav-scrolled .menu-pill {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.menu-pill:hover {
  border-color: rgba(196,132,90,0.4);
  background: rgba(26,23,20,0.95);
}

.menu-pill-label {
  color: var(--bg);
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  line-height: 1;
}

.menu-pill-icon {
  color: var(--accent-glow);
  font-size: 1rem;
  line-height: 1;
}

.nav-dropdown {
  position: fixed;
  top: 64px;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  width: 200px;
  background: rgba(26,23,20,0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(196,132,90,0.15);
  border-radius: 12px;
  padding: 8px 0;
  z-index: 101;
  opacity: 0;
  pointer-events: none;
  box-shadow: var(--shadow-lg);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.nav-dropdown.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-item {
  display: block;
  padding: 12px 20px;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.9rem;
  color: var(--bg);
  transition: color 0.2s, background 0.2s;
}

.nav-dropdown-item:hover {
  color: var(--accent-glow);
  background: rgba(255,255,255,0.04);
}

.nav-dropdown-cta {
  color: var(--accent-glow) !important;
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 4px;
}

.menu-char-outer {
  display: inline-block;
  overflow: hidden;
  height: 1em;
  line-height: 1em;
  vertical-align: top;
}

.menu-char-inner {
  display: flex;
  flex-direction: column;
  transition: none;
}

.menu-char-top,
.menu-char-bottom {
  display: block;
  height: 1em;
  line-height: 1em;
}

/* ---------- HERO ---------- */

.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(140px + 64px) 24px 140px;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(196,132,90,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 20% 80%, rgba(196,132,90,0.06) 0%, transparent 60%),
    var(--bg);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(26,23,20,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,23,20,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-arc-glow {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 60%;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 60% 50% at 50% 100%, rgba(196,132,90,0.08) 0%, transparent 70%);
}

.hero-arc {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(900px, 95vw);
  height: min(900px, 95vw);
  z-index: 0;
  pointer-events: none;
  border-radius: 50%;
  background: transparent;
  opacity: 0.15;
  box-shadow:
    0 0 120px 40px rgba(196,132,90,0.12),
    0 0 300px 100px rgba(196,132,90,0.07),
    inset 0 0 80px rgba(196,132,90,0.05);
  border-top: 1px solid rgba(196,132,90,0.20);
  border-left: 1px solid rgba(196,132,90,0.08);
  border-right: 1px solid rgba(196,132,90,0.08);
  border-bottom: none;
  transform: translate(-50%, -50%);
  transform-origin: center center;
  animation: hero-circle-rotate 40s linear infinite;
}

@keyframes hero-circle-rotate {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}

.hero-arc-inner {
  position: absolute;
  top: 10%;
  left: 10%;
  width: 80%;
  height: 80%;
  border-radius: 50%;
  background: transparent;
  box-shadow:
    0 0 120px 40px rgba(196,132,90,0.06),
    0 0 300px 100px rgba(196,132,90,0.035),
    inset 0 0 80px rgba(196,132,90,0.025);
  border-top: 1px solid rgba(196,132,90,0.10);
  border-left: 1px solid rgba(196,132,90,0.04);
  border-right: 1px solid rgba(196,132,90,0.04);
  border-bottom: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Staggered fade-in for the hero, triggered by revealHeroContent()
   (the arc preloader's completion callback) adding .visible to every
   .hero-fade element — each element's own transition-delay (set
   inline in the HTML) staggers the reveal. */
.hero-fade {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-fade.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-eyebrow-pill,
.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(26, 23, 20, 0.07);
  border: 1px solid rgba(26, 23, 20, 0.15);
  color: #4a4540;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 12px rgba(26,23,20,0.08), inset 0 1px 0 rgba(255,255,255,0.9);
  border-radius: 100px;
  padding: 6px 16px;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* .hero-eyebrow-pill also carries .hero-fade's reveal transition
   (opacity/transform) — this combined list is required so adding the
   theme-swap transition below doesn't silently replace and drop it,
   and the easing here matches .hero-fade's exactly. */
.hero-eyebrow-pill {
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    color 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-eyebrow-pill *,
.eyebrow-pill * {
  color: #4a4540;
}

body.dark-theme .hero-eyebrow-pill,
body.dark-theme .eyebrow-pill {
  background: rgba(240, 235, 227, 0.12);
  border: 1px solid rgba(240, 235, 227, 0.22);
  color: #f0ebe3;
}

body.dark-theme .hero-eyebrow-pill *,
body.dark-theme .eyebrow-pill * {
  color: #f0ebe3;
}

.hero-eyebrow-dot {
  width: 2px;
  height: 2px;
  min-width: 2px;
  border-radius: 50%;
  background: var(--accent-glow);
  animation: hero-pulse-dot 2s ease-in-out infinite;
}

@keyframes hero-pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-headline {
  margin-top: 24px;
  max-width: 950px;
  text-align: center;
  font-family: system-ui, -apple-system, sans-serif;
  font-weight: 900;
  font-size: clamp(2.5rem, 7vw, 6.5rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--accent);
  text-shadow:
    0 1px 0 rgba(255,255,255,0.9),
    0 4px 16px rgba(196,132,90,0.15),
    0 8px 32px rgba(26,23,20,0.08);
}

.hero-headline-line {
  display: block;
}

.hero-headline-accent {
  color: #c4845a !important;
  display: block;
}

.hero-subhead {
  margin-top: 24px;
  max-width: 560px;
  text-align: center;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--text-secondary);
  line-height: 1.7;
  text-shadow: 0 1px 8px rgba(26,23,20,0.08);
}

.hero-btn-group {
  margin-top: 32px;
  display: flex;
  gap: 12px;
  justify-content: center;
}

.hero-btn-primary,
.hero-btn-secondary {
  display: inline-block;
  padding: 16px 32px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: system-ui, -apple-system, sans-serif;
  cursor: pointer;
  text-decoration: none;
}

.hero-btn-primary {
  background: #c4845a;
  color: #1a1714;
  font-weight: 700;
  border: none;
}

.hero-btn-secondary {
  background: transparent;
  color: var(--theme-text);
  font-weight: 600;
  border: 1.5px solid rgba(26,23,20,0.20);
  transition: all 0.2s ease;
}

.hero-btn-secondary:hover {
  background: rgba(26,23,20,0.05);
  border-color: rgba(26,23,20,0.35);
}

.hero-cta-micro {
  margin-top: 10px;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 11px;
  color: var(--accent-dim);
  opacity: 0.6;
  text-align: center;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-top: 48px;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.hero-stat-number {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--theme-text);
}

.hero-stat-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--theme-text-3);
}

.hero-stat-divider {
  width: 1px;
  height: 32px;
  background: rgba(26,23,20,0.15);
}

body.dark-theme .hero-stat-divider {
  background: rgba(240,235,227,0.15);
}

body.dark-theme .hero-stat-number {
  color: var(--theme-text);
}

/* ---------- PAGE ROUTING ---------- */

.page[hidden] {
  display: none;
}

/* features-headline / features-subtext: Services page header */

.features-headline {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--theme-text);
  margin-top: 16px;
}

.features-subtext {
  font-size: 1rem;
  color: var(--theme-text-2);
  margin-top: 12px;
  max-width: 560px;
}

/* ---------- HOW WE WORK (FLOATING ICONS) ---------- */

.how-we-work-section {
  position: relative;
  min-height: 200vh;
}

.how-we-work-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  padding: clamp(60px, 8vh, 120px) 24px;
}

.how-we-work-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(16px, 3vh, 32px);
}

.how-we-work-eyebrow {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--accent-glow);
  margin-bottom: 0;
}

.how-we-work-headline {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: clamp(2rem, 5vw, 4rem);
  color: var(--accent);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  text-align: center;
  margin-top: 0;
}

.how-we-work-headline-line {
  display: block;
}

.how-we-work-subtext {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  color: var(--accent-dim);
  line-height: 1.8;
  text-align: center;
  max-width: min(480px, 90vw);
  margin-top: 0;
}

.video-embed-wrapper {
  max-width: min(720px, 88vw);
}

@media (min-width: 1200px) {
  .video-embed-wrapper {
    max-width: 760px;
  }
}

@media (min-width: 900px) and (max-width: 1199px) {
  .video-embed-wrapper {
    max-width: 640px;
  }
}

@media (max-width: 600px) {
  .video-embed-wrapper {
    max-width: 100%;
  }
}

.testimonial-video {
  max-width: 680px;
  width: 100%;
  margin: 40px auto 0;
  aspect-ratio: 16 / 9;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}

.testimonial-video::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, rgba(0,0,0,0.03) 0px, rgba(0,0,0,0.03) 1px, transparent 1px, transparent 2px);
  pointer-events: none;
}

.video-play-btn {
  width: 64px;
  height: 64px;
  background: var(--accent-glow);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 40px rgba(196,132,90,0.3);
}

.video-play-triangle {
  width: 0;
  height: 0;
  border-left: 24px solid var(--text-primary);
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  margin-left: 4px;
}

.video-placeholder-label {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--accent-dim);
  white-space: nowrap;
}

/* ---------- PROBLEM + OFFER: SINGLE STICKY SEQUENCE ---------- */

#problem-offer-sequence {
  position: relative;
  height: 400vh;
}

.sequence-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
}

.sequence-header {
  text-align: left;
  max-width: 1100px;
  width: 100%;
  margin-bottom: 48px;
}

.problem-headline {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: clamp(2rem, 5vw, 4rem);
  color: var(--theme-text);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  max-width: 680px;
  margin-top: 16px;
}

.sequence-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1100px;
  width: 100%;
}

.pain-card {
  background: var(--theme-surface);
  border: 1.5px solid rgba(26,23,20,0.18);
  box-shadow:
    0 2px 12px rgba(26,23,20,0.08),
    0 0 0 1px rgba(26,23,20,0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 8px;
  padding: 40px;
  will-change: transform;
}

.time-card {
  transform: translateX(-110vw);
  opacity: 0;
  transition: none;
}

.revenue-card {
  transform: translateX(110vw);
  opacity: 0;
  transition: none;
}

.pain-card:hover {
  border-color: rgba(196,132,90,0.25);
}

.pain-number {
  display: block;
  font-family: Georgia, serif;
  font-size: 11px;
  color: var(--accent-glow);
  opacity: 0.5;
  letter-spacing: 0.1em;
}

.pain-title {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--theme-text);
  margin-top: 20px;
  line-height: 1.4;
}

.pain-body {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.9rem;
  color: var(--theme-text-2);
  line-height: 1.8;
  margin-top: 12px;
}

.pain-tag {
  display: inline-block;
  margin-top: 28px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--accent-glow);
  background: rgba(196,132,90,0.08);
  border: 1px solid rgba(196,132,90,0.2);
  border-radius: 100px;
  padding: 4px 10px;
}

.pain-tag svg {
  color: inherit;
  margin-right: 5px;
  vertical-align: middle;
  flex-shrink: 0;
}

/* ---------- THE OFFER (FREE AUDIT) ---------- */

.offer-layer {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(40px, 6vh, 100px) 24px;
  box-sizing: border-box;
  perspective: 1000px;
  opacity: 0;
  will-change: transform, opacity;
  transition: none;
}

.offer-title-area {
  max-width: min(640px, 90vw);
  width: 100%;
  text-align: center;
  margin-bottom: clamp(16px, 3vh, 32px);
  transform: translateY(72px);
  opacity: 0;
  will-change: transform;
  transition: none;
}

.offer-card-orbit-wrapper {
  position: relative;
  width: 100%;
  max-width: 700px;
}

.orbit-canvas {
  position: absolute;
  top: -2px;
  left: -2px;
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  pointer-events: none;
  z-index: 10;
  border-radius: 16px;
}

.offer-card {
  max-width: min(700px, 92vw);
  width: 100%;
  border: 1px solid var(--theme-border);
  border-radius: 16px;
  padding: clamp(20px, 3vw, 32px);
  box-sizing: border-box;
  background: var(--theme-surface);
  will-change: transform;
  transform-origin: center top;
  transform: rotateX(18deg) translateY(120px) scale(0.95);
  opacity: 0;
  box-shadow: var(--shadow-lg);
  transition: none;
  max-height: calc(100vh - clamp(220px, 32vh, 380px));
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(196,132,90,0.3) transparent;
}

.offer-call-summary {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--theme-border);
}

.offer-call-desc {
  flex: 1;
}

.offer-call-label {
  display: block;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--accent-glow);
  margin-bottom: 12px;
}

.offer-call-bullets {
  list-style: none;
}

.offer-call-bullet {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 8px;
}

.offer-call-bullet:last-child {
  margin-bottom: 0;
}

.offer-bullet-dot {
  width: 5px;
  height: 5px;
  min-width: 5px;
  border-radius: 50%;
  background: var(--accent-glow);
  margin-top: 6px;
  flex-shrink: 0;
}

.offer-bullet-text {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.82rem;
  color: var(--theme-text-2);
  line-height: 1.5;
}

.offer-call-stats {
  flex-shrink: 0;
  width: 180px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.offer-stat-pill {
  background: var(--theme-surface);
  border: 1px solid var(--theme-border);
  border-radius: 6px;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.offer-stat-value {
  font-family: Georgia, serif;
  font-size: 0.95rem;
  color: var(--theme-text);
  font-weight: normal;
}

.offer-stat-label {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 8px;
  letter-spacing: 0.15em;
  color: var(--theme-text-2);
}

.offer-headline {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: clamp(1.2rem, 2.5vw, 1.9rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--theme-text);
  font-weight: 700;
  margin-top: 16px;
}

.offer-subtext {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: clamp(0.8rem, 1.5vw, 0.9rem);
  color: var(--theme-text-2);
  line-height: 1.8;
  margin-top: 8px;
  max-width: 620px;
}

.offer-deliverable {
  display: flex;
  gap: 16px;
  margin-bottom: clamp(8px, 1.5vh, 16px);
  padding: 10px 0;
}

.offer-deliverable:last-of-type {
  margin-bottom: 0;
}

.offer-check {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(196,132,90,0.4);
  color: var(--accent-glow);
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.offer-deliverable-title {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--theme-text);
}

.offer-deliverable-desc {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.85rem;
  color: var(--theme-text-2);
  margin-top: 3px;
}

.offer-cta-wrap {
  margin-top: 20px;
}

.offer-cta-btn {
  padding: clamp(10px, 1.5vh, 14px) clamp(20px, 3vw, 28px);
  border-radius: 3px;
  font-weight: 600;
  font-size: clamp(0.82rem, 1.5vw, 0.9rem);
}

.offer-cta-micro {
  margin-top: 8px;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.75rem;
  color: var(--theme-text-2);
  opacity: 0.6;
}

/* ---------- HOW IT WORKS (PROCESS) ---------- */

.process-section {
  padding: 120px 24px;
}

.process-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.process-headline {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: clamp(2rem, 5vw, 4rem);
  color: var(--accent);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-top: 16px;
}

.process-subtext {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  color: var(--accent-dim);
  margin-top: 12px;
  max-width: 560px;
}

.process-steps {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 32px;
  margin-top: 56px;
}

.process-step {
  flex: 1;
  min-width: 0;
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translateX(-30px);
  transition: none;
}

.process-line-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 56px;
  pointer-events: none;
  z-index: 0;
}

#mobile-process-wave {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: visible;
}

.process-step-icon {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  background: rgba(255,255,255,0.8);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  color: var(--accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-icon-box {
  position: relative;
  z-index: 2;
  /* Must stay fully opaque and match the page background exactly —
     this is what hides the scroll-driven connector line (drawn behind
     at z-index 0) as it passes under each icon box. */
  background: var(--bg);
  isolation: isolate;
}

.process-step-label {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--accent-glow);
  margin-top: 16px;
}

.process-step-title {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
  margin-top: 8px;
}

.process-step-body {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.875rem;
  color: var(--accent-dim);
  line-height: 1.7;
  margin-top: 8px;
}

/* ---------- WHO THIS IS FOR ---------- */

.fit-section {
  padding: 120px 6vw;
  background: var(--theme-bg);
  /* Preserves the existing scroll-driven fade/slide reveal — main.js's
     runFitSection() sets inline opacity/transform on #fit-section every
     scroll frame; these are just the pre-JS defaults so there's no flash
     of fully-visible content before the first frame runs. */
  opacity: 0;
  transform: translateY(40px);
  transition: none;
}

.fit-section .section-label {
  display: block;
  font-family: system-ui, -apple-system, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--theme-text-3);
}

.fit-section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.fit-section__header h2 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--theme-text);
  margin: 12px 0 16px;
}

.fit-subtext {
  font-size: 1rem;
  color: var(--theme-text-2);
  line-height: 1.65;
}

.fit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}

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

.fit-card {
  border-radius: 20px;
  padding: 40px;
  background: rgba(255, 255, 255, 0.6);
  border: 1.5px solid rgba(26, 23, 20, 0.12);
  box-shadow:
    0 2px 16px rgba(26, 23, 20, 0.06),
    0 0 0 1px rgba(26, 23, 20, 0.03),
    0 8px 32px rgba(196, 132, 90, 0.18),
    0 16px 48px rgba(196, 132, 90, 0.10);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

body.dark-theme .fit-card {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(240, 235, 227, 0.10);
  box-shadow:
    0 2px 20px rgba(0, 0, 0, 0.3),
    0 8px 32px rgba(196, 132, 90, 0.20),
    0 16px 48px rgba(196, 132, 90, 0.12);
}

.fit-card__header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--theme-border);
}

.fit-card__badge {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
}

.fit-card__badge--good {
  background: rgba(196, 132, 90, 0.12);
  border: 1.5px solid rgba(196, 132, 90, 0.35);
  color: #c4845a;
}

.fit-card__badge--bad {
  background: rgba(26, 23, 20, 0.06);
  border: 1.5px solid rgba(26, 23, 20, 0.15);
  color: var(--theme-text-2);
}

body.dark-theme .fit-card__badge--bad {
  background: rgba(240, 235, 227, 0.06);
  border-color: rgba(240, 235, 227, 0.15);
}

.fit-card__label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--theme-text-3);
  margin-bottom: 3px;
}

.fit-card__title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--theme-text);
}

.fit-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.fit-list li {
  font-size: 0.95rem;
  color: var(--theme-text-2);
  line-height: 1.55;
  padding: 16px 0;
  border-bottom: 1px solid var(--theme-border);
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.fit-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.fit-list li::before {
  content: '—';
  color: #c4845a;
  font-weight: 600;
  flex-shrink: 0;
  margin-top: 1px;
}

.fit-list--bad li::before {
  color: var(--theme-text-3);
}

/* ---------- FAQ ---------- */

#faq-cta-sequence {
  position: relative;
  height: 300vh;
}

.faq-cta-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-panel,
.cta-panel {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
  will-change: transform;
}

.faq-panel {
  transform: translateY(40px);
  opacity: 0;
  transition: none;
}

.cta-panel {
  transform: translateX(100vw);
  opacity: 0;
  transition: none;
  text-align: center;
}

.cta-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 60% 40% at 50% 100%, rgba(196,132,90,0.06) 0%, transparent 70%);
}

.faq-inner {
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
}

.faq-headline {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: clamp(2rem, 5vw, 4rem);
  color: var(--accent);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-top: 16px;
}

.faq-list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(26, 23, 20, 0.12);
  box-shadow:
    0 1px 4px rgba(26, 23, 20, 0.06),
    0 0 0 1px rgba(26, 23, 20, 0.03);
  border-radius: 12px;
  margin-bottom: 8px;
  overflow: hidden;
  padding: 0 20px;
  opacity: 0;
  transform: translateY(20px);
  transition: none;
}

body.dark-theme .faq-item,
body.dark-theme .accordion-item {
  border: 1px solid rgba(240, 235, 227, 0.10);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.04);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  padding: 20px 0;
  background: none;
  border: none;
  text-align: left;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--accent);
}

.faq-toggle-icon {
  flex-shrink: 0;
  color: var(--accent-glow);
  font-size: 1.2rem;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.3s ease;
}

.faq-item.is-open .faq-answer {
  max-height: 300px;
  opacity: 1;
  padding: 0 0 20px 0;
}

.faq-answer p {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.9rem;
  color: var(--accent-dim);
  line-height: 1.8;
}

/* ---------- FINAL CTA ---------- */

.final-cta-inner {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
}

.final-cta-headline {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: clamp(2rem, 5vw, 4rem);
  color: var(--accent);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.final-cta-subtext {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  color: var(--accent-dim);
  line-height: 1.8;
  max-width: 560px;
  margin: 16px auto 0;
}

.final-cta-wrap {
  margin-top: 48px;
}

.final-cta-btn {
  padding: 18px 48px;
  font-size: 1rem;
  font-weight: 600;
  animation: final-cta-pulse 3s ease-in-out infinite;
  animation-play-state: paused;
}

.final-cta-btn.is-pulsing {
  animation-play-state: running;
}

@keyframes final-cta-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

.final-cta-micro {
  margin-top: 16px;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 11px;
  color: var(--accent-dim);
  opacity: 0.6;
}

/* ---------- ABOUT PAGE ---------- */

.about-page {
  padding-top: 64px;
}

.about-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 64px 24px 120px;
}

/* Scroll-entrance base class, driven by an IntersectionObserver in
   main.js (initAboutScrollAnimations) — deliberately separate from the
   home page's runAllScrollAnimations() pipeline. */
.about-animate {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.about-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Section 1: hero header ---- */

.about-hero {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.about-hero-headline {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--theme-text);
  margin-top: 16px;
}

.about-hero-underline {
  width: 60px;
  height: 2px;
  background: #c4845a;
  margin: 24px auto;
}

.about-hero-subtext {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  color: var(--theme-text-2);
  line-height: 1.65;
  max-width: 560px;
  margin: 0 auto;
}

/* ---- Section 2: pillar grid + center image ---- */

.about-pillar-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  margin-top: 80px;
}

.about-pillar-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-pillar-card {
  background: rgba(255,255,255,0.6);
  border: 1.5px solid rgba(26,23,20,0.10);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 2px 12px rgba(26,23,20,0.06);
}

/* Left column slides in from the left, right column from the right,
   layered on top of the shared .about-animate fade-up. */
.about-pillar-col:first-child .about-pillar-card.about-animate {
  transform: translate(-24px, 24px);
}

.about-pillar-col:last-child .about-pillar-card.about-animate {
  transform: translate(24px, 24px);
}

.about-pillar-card.about-animate.visible {
  transform: translate(0, 0);
}

.about-pillar-col .about-pillar-card:nth-child(1) { transition-delay: 0s; }
.about-pillar-col .about-pillar-card:nth-child(2) { transition-delay: 0.1s; }

.about-pillar-icon {
  font-size: 24px;
  color: #c4845a;
  margin-bottom: 12px;
}

.about-pillar-title {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--theme-text);
  margin-bottom: 8px;
}

.about-pillar-body {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.9rem;
  color: var(--theme-text-2);
  line-height: 1.65;
}

.about-pillar-image {
  height: 100%;
  aspect-ratio: 3 / 4;
  background: #1a1714;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  padding: 24px;
}

.about-pillar-image-title {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #c4845a;
}

.about-pillar-image-sub {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.8rem;
  color: rgba(240,235,227,0.5);
}

.about-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  display: block;
}

/* ---- Section 3: stat cards row ---- */

.about-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 80px;
}

.about-stat-card {
  background: rgba(255,255,255,0.6);
  border: 1.5px solid rgba(26,23,20,0.10);
  border-radius: 16px;
  padding: 36px 24px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(26,23,20,0.06);
}

.about-stats-row .about-stat-card:nth-child(1) { transition-delay: 0s; }
.about-stats-row .about-stat-card:nth-child(2) { transition-delay: 0.08s; }
.about-stats-row .about-stat-card:nth-child(3) { transition-delay: 0.16s; }
.about-stats-row .about-stat-card:nth-child(4) { transition-delay: 0.24s; }

.about-stat-number {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #c4845a;
  letter-spacing: -0.03em;
}

.about-stat-underline {
  width: 32px;
  height: 2px;
  background: #c4845a;
  margin: 12px auto 0;
}

.about-stat-label {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--theme-text-3);
  margin-top: 12px;
}

/* ---- Section 4: bottom CTA banner ---- */

.about-cta-banner {
  background: #1a1714;
  border-radius: 20px;
  padding: 56px 48px;
  margin-top: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.about-cta-banner-headline {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #f0ebe3;
}

.about-cta-banner-subtext {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.95rem;
  color: #f0ebe3;
  opacity: 0.7;
  margin-top: 12px;
}

.about-cta-banner-btn {
  flex-shrink: 0;
  display: inline-block;
  background: #c4845a;
  color: #1a1714;
  font-family: system-ui, -apple-system, sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 32px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.about-cta-banner-btn:hover {
  background: var(--accent-glow-dark);
}

/* ---------- SERVICES PAGE ---------- */

.services-page {
  padding: 140px 0 120px;
}

.services-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 48px auto 0;
}

.tier-card {
  background: rgba(255,255,255,0.65);
  border: 1.5px solid rgba(26,23,20,0.10);
  border-radius: 20px;
  padding: 40px 36px;
  box-shadow:
    0 2px 16px rgba(26,23,20,0.06),
    0 8px 32px rgba(196,132,90,0.08);
  display: flex;
  flex-direction: column;
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Scroll-entrance: cards slide in on page show. Triggered by the
   existing .services-page.is-visible toggle (already wired up by
   revealPage() in main.js for every routed page) — no JS changes
   needed for this page. */
.tier-card-1 { transform: translateX(-40px); transition-delay: 0.1s; }
.tier-card-2 { transform: translateY(40px); transition-delay: 0.25s; }
.tier-card-3 { transform: translateX(40px); transition-delay: 0.4s; }

.services-page.is-visible .tier-card {
  opacity: 1;
  transform: translate(0, 0);
}

.tier-card--featured {
  background: #1a1714;
  border: 1.5px solid rgba(196,132,90,0.25);
  box-shadow:
    0 4px 24px rgba(0,0,0,0.2),
    0 8px 40px rgba(196,132,90,0.15);
}

.tier-featured-badge {
  display: inline-block;
  width: fit-content;
  background: rgba(196,132,90,0.15);
  border: 1px solid rgba(196,132,90,0.3);
  color: #c4845a;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.tier-badge-label {
  display: block;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #c4845a;
  margin-bottom: 8px;
}

.tier-name {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--theme-text);
}

.tier-card--featured .tier-name {
  color: #f0ebe3;
}

.tier-tagline {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.9rem;
  color: var(--theme-text-2);
  margin-top: 4px;
  margin-bottom: 24px;
}

.tier-card--featured .tier-tagline {
  color: #a89e94;
}

.tier-divider {
  height: 1px;
  background: var(--theme-border);
  margin: 20px 0;
}

.tier-card--featured .tier-divider {
  background: rgba(240,235,227,0.10);
}

.tier-label {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--theme-text-3);
  margin-bottom: 10px;
}

.tier-card--featured .tier-label {
  color: rgba(240,235,227,0.5);
}

.tier-who {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--theme-text-2);
  margin-bottom: 24px;
}

.tier-card--featured .tier-who {
  color: #a89e94;
}

.tier-list {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.tier-list li {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.88rem;
  color: var(--theme-text-2);
  line-height: 1.5;
  padding: 10px 0;
  border-bottom: 1px solid var(--theme-border);
  display: flex;
  gap: 10px;
}

.tier-list li:last-child {
  border-bottom: none;
}

.tier-card--featured .tier-list li {
  color: #a89e94;
  border-bottom-color: rgba(240,235,227,0.10);
}

.tier-check {
  color: #c4845a;
  font-weight: 700;
  flex-shrink: 0;
}

.tier-cta-btn {
  display: block;
  box-sizing: border-box;
  text-align: center;
  background: #1a1714;
  color: #f0ebe3;
  border: none;
  border-radius: 10px;
  padding: 14px 28px;
  font-family: system-ui, -apple-system, sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  width: 100%;
  margin-top: 28px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.tier-cta-btn:hover {
  opacity: 0.85;
}

.tier-card--featured .tier-cta-btn {
  background: #c4845a;
  color: #1a1714;
}

/* ---------- CONTACT PAGE ---------- */

.contact-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 24px 60px;
}

.contact-inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 45% 55%;
  gap: 48px;
  align-items: center;
}

/* Scroll-entrance fade-in, driven by an IntersectionObserver
   (initContactObserver in main.js) that re-triggers every time the
   contact page is navigated to — independent from the site's
   scroll-driven pipelines. */
.contact-section {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.contact-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.contact-left {
  opacity: 0;
  transform: translateX(-24px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: 0.1s;
}

.contact-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.contact-right {
  opacity: 0;
  transform: translateX(24px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: 0.2s;
}

.contact-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.contact-headline {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--theme-text);
}

.contact-subtext {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  color: var(--theme-text-2);
  line-height: 1.6;
  margin-top: 20px;
  max-width: 420px;
}

.contact-pills {
  margin-top: 40px;
}

.contact-pill {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.contact-pill:last-child {
  margin-bottom: 0;
}

.contact-pill-label {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c4845a;
}

.contact-pill-value {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--theme-text);
  margin-top: 2px;
}

.contact-form-card {
  background: #2a2522;
  border-radius: 24px;
  padding: 48px;
  border: 1px solid rgba(196,132,90,0.15);
  box-shadow:
    0 8px 48px rgba(196,132,90,0.20),
    0 16px 64px rgba(196,132,90,0.12),
    0 0 0 1px rgba(196,132,90,0.08);
  position: relative;
}

.contact-form-title {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #f0ebe3;
}

.contact-form-subtitle {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.85rem;
  color: #a89e94;
  margin-top: 6px;
}

.contact-form-divider {
  height: 1px;
  background: rgba(255,255,255,0.08);
  margin: 24px 0;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
}

/* Direct-child combinator only — otherwise this also matches the
   .form-group wrappers nested inside .form-row-2 (Full Name / Business
   Name), giving the second one a stray top offset the first doesn't
   get and breaking their side-by-side alignment. */
.contact-form > .form-group,
.contact-form > .form-row-2 {
  margin-top: 20px;
}

.contact-form > .form-group:first-child,
.contact-form > .form-row-2:first-child {
  margin-top: 0;
}

.form-label {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #a89e94;
  margin-bottom: 6px;
  display: block;
}

.contact-form-card input,
.contact-form-card textarea,
.contact-form-card select {
  width: 100%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 10px;
  padding: 14px 16px;
  color: #f0ebe3;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.contact-form-card input::placeholder,
.contact-form-card textarea::placeholder {
  color: #6a6058;
}

.contact-form-card select {
  color-scheme: dark;
}

.contact-form-card input:focus,
.contact-form-card textarea:focus,
.contact-form-card select:focus {
  border-color: rgba(196,132,90,0.5);
  background: rgba(255,255,255,0.08);
}

.contact-submit-btn {
  width: 100%;
  margin-top: 8px;
  background: #c4845a;
  color: #1a1714;
  border: none;
  padding: 16px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  font-family: system-ui, -apple-system, sans-serif;
  cursor: pointer;
  transition: opacity 0.2s;
}

.contact-submit-btn:hover {
  opacity: 0.85;
}

.contact-disclaimer {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.75rem;
  color: #6a6058;
  text-align: center;
  margin-top: 12px;
}

.contact-success {
  opacity: 0;
  transition: opacity 0.4s ease;
}

.contact-success[hidden] {
  display: none;
}

.contact-success.is-visible {
  opacity: 1;
}

.success-check {
  font-size: 2.5rem;
  color: #c4845a;
  display: block;
  text-align: center;
}

.success-heading {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #f0ebe3;
  text-align: center;
  margin-top: 16px;
}

.success-subtext {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.9rem;
  color: #a89e94;
  text-align: center;
  margin-top: 8px;
}

/* ---------- BOOK PAGE ---------- */

.book-page {
  padding-top: 64px;
}

.book-wrapper {
  max-width: 1000px;
  margin: 80px auto;
  display: flex;
  border-radius: 24px;
  border: 1px solid rgba(196,132,90,0.15);
  box-shadow:
    0 8px 48px rgba(26,23,20,0.12),
    0 0 0 1px rgba(196,132,90,0.08);
  overflow: hidden;
}

.book-left {
  width: 38%;
  flex-shrink: 0;
  background: #1a1714;
  padding: 60px 48px;
  border-radius: 24px 0 0 24px;
  display: flex;
  flex-direction: column;
}

.book-wordmark {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: #c4845a;
  margin-bottom: 32px;
}

.book-title {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: #f0ebe3;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.book-info-rows {
  margin-top: 32px;
}

.book-info-row {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.book-info-row:last-child {
  margin-bottom: 0;
}

.book-info-icon {
  color: #c4845a;
  font-size: 1rem;
  flex-shrink: 0;
}

.book-info-text {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.9rem;
  color: #a89e94;
  line-height: 1.5;
}

.book-left-footer {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.book-footer-text {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.75rem;
  color: #6a6058;
}

.book-right {
  width: 62%;
  background: var(--bg);
  border-radius: 0 24px 24px 0;
  overflow: hidden;
  display: flex;
  align-items: stretch;
}

.book-right .calendly-inline-widget {
  width: 100%;
}

/* ---------- FOOTER ---------- */

/* The footer intentionally stays dark for contrast (per spec) while
   the rest of the site is now light — so it can't lean on --accent/
   --accent-dim for text, since those tokens are now calibrated for
   dark text on a light page. Uses --bg directly (now light cream)
   and a dimmed version of it for secondary text instead. */
.site-footer {
  background: var(--text-primary);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 48px 24px 32px;
  width: 100%;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.footer-wordmark-a1 {
  font-family: Georgia, serif;
  font-size: 1.3rem;
  color: var(--bg);
}

.footer-wordmark-sub {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  color: var(--accent-glow);
  display: block;
  margin-top: 2px;
}

.footer-tagline {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.85rem;
  color: rgba(240,235,227,0.65);
  margin-top: 12px;
  max-width: 220px;
  line-height: 1.6;
}

.footer-label {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--accent-glow);
  margin-bottom: 16px;
}

.footer-link {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.875rem;
  color: rgba(240,235,227,0.65);
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
  transition: color 0.2s;
}

.footer-link:hover {
  color: var(--bg);
}

.footer-cta-text {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.875rem;
  color: rgba(240,235,227,0.65);
  line-height: 1.6;
  margin-bottom: 16px;
}

.footer-cta-btn {
  padding: 10px 20px;
  font-size: 0.85rem;
}

.footer-bottom {
  max-width: 1100px;
  margin: 32px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.04);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-copyright,
.footer-built {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 0.75rem;
  color: rgba(240,235,227,0.65);
  opacity: 0.7;
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 899px) {
  .nav-right {
    gap: 16px;
  }

  .nav-link {
    display: none;
  }

  .nav-full {
    opacity: 0 !important;
    pointer-events: none !important;
  }

  .menu-pill {
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  .hero-btn-group {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-btn-primary,
  .hero-btn-secondary {
    width: 100%;
    text-align: center;
  }

  .hero-stats {
    gap: 16px;
  }

  .hero-stat-label {
    font-size: 0.62rem;
  }

  .sequence-sticky {
    padding: 32px 20px;
  }

  .sequence-header {
    margin-bottom: 20px;
  }

  .problem-headline {
    font-size: 1.35rem;
    line-height: 1.3;
    margin-top: 8px;
  }

  .sequence-cards {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .pain-card {
    padding: 18px;
  }

  .pain-title {
    font-size: 0.95rem;
    margin-top: 10px;
    line-height: 1.3;
  }

  .pain-body {
    font-size: 0.78rem;
    line-height: 1.45;
    margin-top: 8px;
  }

  .pain-tag {
    margin-top: 12px;
  }

  .process-line-canvas {
    display: none;
  }

  .process-steps-row {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
  }

  .process-step {
    width: 60%;
    margin-bottom: 32px;
  }

  .process-step:last-child {
    margin-bottom: 0;
  }

  .process-step:nth-of-type(odd) {
    align-self: flex-start;
    margin-left: 0;
  }

  .process-step:nth-of-type(even) {
    align-self: flex-end;
    margin-right: 0;
  }

  #mobile-process-wave {
    display: block;
  }

  .about-pillar-grid {
    grid-template-columns: 1fr;
    margin-top: 48px;
  }

  .about-pillar-image {
    aspect-ratio: 16 / 9;
  }

  .about-stats-row {
    grid-template-columns: 1fr 1fr;
    margin-top: 48px;
  }

  .about-cta-banner {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding: 40px 28px;
    margin-top: 48px;
  }

  .about-cta-banner-btn {
    width: 100%;
    text-align: center;
  }

  .tier-grid {
    grid-template-columns: 1fr;
  }

  .contact-page {
    padding: 100px 20px 48px;
  }

  .contact-inner {
    grid-template-columns: 1fr;
  }

  .contact-form-card {
    padding: 32px 24px;
  }

  .form-row-2 {
    grid-template-columns: 1fr;
  }

  .book-wrapper {
    flex-direction: column;
    margin: 40px auto;
  }

  .book-left {
    width: 100%;
    padding: 40px 28px;
    border-radius: 24px 24px 0 0;
  }

  .book-right {
    width: 100%;
    border-radius: 0 0 24px 24px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  .offer-headline {
    font-size: 1.2rem;
  }

  .offer-title-area {
    margin-bottom: 12px;
  }

  .offer-subtext {
    font-size: 0.8rem;
    line-height: 1.45;
    margin-top: 6px;
  }

  .offer-call-summary {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding-bottom: 10px;
    margin-bottom: 10px;
  }

  .offer-bullet-text {
    font-size: 0.76rem;
    line-height: 1.35;
  }

  .offer-call-stats {
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    gap: 8px;
  }

  .offer-stat-pill {
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding: 5px 8px;
  }

  .offer-deliverable {
    margin-bottom: 8px;
  }

  .offer-deliverable-title {
    line-height: 1.3;
  }

  .offer-deliverable-desc {
    font-size: 0.78rem;
    line-height: 1.35;
  }

  .offer-cta-wrap {
    margin-top: 12px;
  }

  .offer-cta-btn {
    padding: 11px 24px;
  }

  .offer-cta-micro {
    margin-top: 6px;
  }
}

@media (max-width: 680px) and (max-height: 750px) {
  .offer-headline {
    font-size: 1.05rem;
  }

  .offer-title-area {
    margin-bottom: 6px;
  }

  .offer-subtext {
    font-size: 0.75rem;
    line-height: 1.35;
    margin-top: 4px;
  }

  .offer-card {
    padding: 10px 8px;
  }

  .offer-call-summary {
    gap: 6px;
    padding-bottom: 6px;
    margin-bottom: 6px;
  }

  .offer-bullet-text {
    font-size: 0.72rem;
    line-height: 1.3;
  }

  .offer-call-stats {
    gap: 4px;
  }

  .offer-stat-pill {
    padding: 4px 6px;
  }

  .offer-deliverable {
    margin-bottom: 4px;
  }

  .offer-deliverable-title {
    line-height: 1.2;
  }

  .offer-deliverable-desc {
    font-size: 0.74rem;
    line-height: 1.25;
  }

  .offer-cta-wrap {
    margin-top: 6px;
  }

  .offer-cta-btn {
    padding: 9px 20px;
    font-size: 0.85rem;
  }

  .offer-cta-micro {
    margin-top: 4px;
    font-size: 0.68rem;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: calc(80px + 64px) 24px 80px;
  }

  .offer-call-summary {
    flex-direction: column;
    gap: clamp(12px, 2vw, 24px);
  }
}

/* ---------- CALENDLY POPUP WIDGET ---------- */

.calendly-overlay {
  z-index: 9999 !important;
}

.calendly-popup {
  z-index: 10000 !important;
}
