/* Better Days Packaging — shared theme + component styles (light/dark). */

:root,
[data-theme="dark"] {
  color-scheme: dark;
  --page: 8 17 13;
  --ink: 238 235 226;
  --surface: 22 41 32;
  --surface-border: 255 255 255;
  --neu-base: 19 36 28;
  --neu-shadow-dark: 0 0 0;
  --neu-shadow-dark-a: 0.5;
  --neu-shadow-light: 255 255 255;
  --neu-shadow-light-a: 0.045;
  --neu-inset-dark-a: 0.45;
  --neu-inset-light-a: 0.04;
  --field-bg: 19 36 28;
  --field-shadow-dark-a: 0.45;
  --field-shadow-light-a: 0.04;
  --elevation-1: 0 1px 0 rgba(255,255,255,0.03) inset, 0 8px 16px rgba(0,0,0,0.35), 0 24px 48px rgba(0,0,0,0.45);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --duration-press: 160ms;
  --duration-ui: 200ms;
}

[data-theme="light"] {
  color-scheme: light;
  --page: 247 244 236;
  --ink: 3 35 16;
  --surface: 252 249 242;
  --surface-border: 3 35 16;
  --neu-base: 236 230 216;
  --neu-shadow-dark: 3 35 16;
  --neu-shadow-dark-a: 0.10;
  --neu-shadow-light: 255 255 255;
  --neu-shadow-light-a: 0.85;
  --neu-inset-dark-a: 0.08;
  --neu-inset-light-a: 0.8;
  --field-bg: 244 241 233;
  --field-shadow-dark-a: 0.07;
  --field-shadow-light-a: 0.8;
  --elevation-1: 0 1px 1px rgba(3,35,16,0.06), 0 4px 8px rgba(3,35,16,0.06), 0 16px 32px rgba(3,35,16,0.10), 0 32px 64px rgba(3,35,16,0.10);
}

html {
  scroll-behavior: smooth;
  background-color: rgb(var(--page));
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: clip;
}
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  max-width: 100%;
  overflow-x: clip;
  background:
    radial-gradient(1200px 620px at 12% -8%, rgba(231,193,88,0.05), transparent 55%),
    radial-gradient(1000px 720px at 102% 6%, rgba(231,193,88,0.03), transparent 52%),
    rgb(var(--page));
  transition: background-color 220ms ease-out;
}
[data-theme="light"] body {
  background:
    radial-gradient(1200px 620px at 12% -8%, rgba(231,193,88,0.10), transparent 55%),
    radial-gradient(1000px 720px at 102% 6%, rgba(3,35,16,0.045), transparent 52%),
    rgb(var(--page));
}
h1, h2, h3, .font-heading { font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif; }

/* ---- macOS glass surfaces ---- */
.glass {
  background: rgb(var(--surface) / 0.85);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgb(var(--surface-border) / 0.06);
  transition: background-color 220ms ease-out, border-color 220ms ease-out;
}
.glass-dark {
  background: rgba(11,74,38,0.35);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid rgba(231,193,88,0.18);
}
.glass-nav {
  background: rgb(var(--surface) / 0.62);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgb(var(--surface-border) / 0.06);
  box-shadow: 0 8px 30px rgba(3,35,16,0.08), 0 1px 0 rgba(255,255,255,0.45) inset;
  transition: background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}
.glass-nav { box-shadow: 0 8px 30px rgba(0,0,0,0.35), 0 1px 0 rgb(var(--surface) / 0.6) inset; }
[data-theme="light"] .glass-nav {
  box-shadow: 0 8px 30px rgba(3,35,16,0.08), 0 1px 0 rgba(255,255,255,0.45) inset;
}

.footer-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  background: rgb(var(--ink) / 0.06);
  color: rgb(var(--ink) / 0.7);
  transition: background-color 180ms ease-out, color 180ms ease-out, transform 180ms ease-out;
}
.footer-social-icon svg { width: 1.05rem; height: 1.05rem; }
.footer-social-icon:hover { background: #E7C158; color: #032310; transform: translateY(-2px); }

.footer-icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  color: #E7C158;
}

/* ---- neumorphic soft surfaces ---- */
.neu {
  background: rgb(var(--neu-base));
  box-shadow: 9px 9px 18px rgb(var(--neu-shadow-dark) / var(--neu-shadow-dark-a)), -9px -9px 18px rgb(var(--neu-shadow-light) / var(--neu-shadow-light-a));
  transition: background-color 220ms ease-out;
}
.neu-inset {
  background: rgb(var(--neu-base));
  box-shadow: inset 5px 5px 10px rgb(var(--neu-shadow-dark) / var(--neu-inset-dark-a)), inset -5px -5px 10px rgb(var(--neu-shadow-light) / var(--neu-inset-light-a));
  transition: background-color 220ms ease-out;
}
.neu-circle {
  background: rgb(var(--neu-base));
  box-shadow: 7px 7px 14px rgb(var(--neu-shadow-dark) / calc(var(--neu-shadow-dark-a) + 0.02)), -7px -7px 14px rgb(var(--neu-shadow-light) / var(--neu-shadow-light-a));
  transition: background-color 220ms ease-out;
}

/* ---- premium layered drop shadows ---- */
.shadow-premium { box-shadow: var(--elevation-1); }
.shadow-premium-gold {
  box-shadow: 0 2px 4px rgba(231,193,88,0.25), 0 12px 24px rgba(231,193,88,0.25), 0 24px 48px rgba(3,35,16,0.18);
}
.shadow-window {
  box-shadow: 0 40px 80px -20px rgba(1,19,10,0.55), 0 20px 40px -15px rgba(1,19,10,0.4), 0 0 0 1px rgba(231,193,88,0.08);
}

/* ---- buttons ---- */
.btn-primary {
  background: linear-gradient(180deg, #F0D488 0%, #E7C158 100%);
  color: #032310;
  border: 1px solid rgba(255,255,255,0.5);
  box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 10px 24px rgba(231,193,88,0.35), 0 2px 6px rgba(3,35,16,0.15);
  transition: transform var(--duration-press) var(--ease-out), box-shadow var(--duration-ui) ease, background var(--duration-ui) ease, opacity var(--duration-ui) ease;
}
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 16px 32px rgba(231,193,88,0.45), 0 4px 10px rgba(3,35,16,0.18); }
}
.btn-primary:active { transform: scale(0.97); }
.btn-primary:focus-visible { outline: 3px solid #E7C158; outline-offset: 3px; }
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.btn-glass {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #F7F4EC;
  border: 1px solid rgba(231,193,88,0.45);
  box-shadow: 0 1px 0 rgba(255,255,255,0.15) inset, 0 8px 20px rgba(0,0,0,0.25);
  transition: transform var(--duration-press) var(--ease-out), background var(--duration-ui) ease, box-shadow var(--duration-ui) ease, color var(--duration-ui) ease;
}
@media (hover: hover) and (pointer: fine) {
  .btn-glass:hover { background: rgba(231,193,88,0.16); box-shadow: 0 1px 0 rgba(255,255,255,0.2) inset, 0 14px 28px rgba(0,0,0,0.3); }
}
[data-theme="light"] .btn-glass {
  background: rgba(3, 35, 16, 0.06);
  color: #032310;
  border-color: rgba(3, 35, 16, 0.18);
  box-shadow: 0 1px 0 rgba(255,255,255,0.7) inset, 0 8px 20px rgba(3,35,16,0.08);
}
@media (hover: hover) and (pointer: fine) {
  [data-theme="light"] .btn-glass:hover {
    background: rgba(231,193,88,0.28);
    box-shadow: 0 1px 0 rgba(255,255,255,0.8) inset, 0 14px 28px rgba(3,35,16,0.12);
  }
}
[data-theme="light"] .bg-brand-green .btn-glass,
[data-theme="light"] .final-cta-band .btn-glass {
  background: rgba(255,255,255,0.12);
  color: #F7F4EC;
  border-color: rgba(231,193,88,0.45);
  box-shadow: 0 1px 0 rgba(255,255,255,0.15) inset, 0 8px 20px rgba(0,0,0,0.25);
}
.btn-glass:active { transform: scale(0.97); }
.btn-glass:focus-visible { outline: 3px solid #E7C158; outline-offset: 3px; }

.btn-shine { position: relative; overflow: hidden; }
.btn-shine::after {
  content: ''; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255,255,255,0.55), transparent);
  transform: skewX(-20deg); transition: left 550ms ease-out;
}
.btn-shine:hover::after { left: 130%; }

/* ---- theme toggle switch ---- */
.theme-toggle {
  position: relative;
  width: 2.75rem; height: 2.75rem;
  border-radius: 9999px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgb(var(--neu-base));
  box-shadow: 5px 5px 10px rgb(var(--neu-shadow-dark) / var(--neu-shadow-dark-a)), -5px -5px 10px rgb(var(--neu-shadow-light) / var(--neu-shadow-light-a));
  transition: transform var(--duration-press) var(--ease-out), background-color 220ms ease;
  color: rgb(var(--ink));
}
.theme-toggle:active { transform: scale(0.97); }
.theme-toggle:focus-visible { outline: 3px solid #E7C158; outline-offset: 2px; }
.theme-toggle .icon-sun, .theme-toggle .icon-moon {
  position: absolute; width: 1.15rem; height: 1.15rem;
  transition: opacity 200ms ease-out, transform 300ms var(--ease-out);
}
.theme-toggle .icon-sun { opacity: 0; transform: rotate(60deg) scale(0.6); }
.theme-toggle .icon-moon { opacity: 1; transform: rotate(0deg) scale(1); }
[data-theme="light"] .theme-toggle .icon-sun { opacity: 1; transform: rotate(0deg) scale(1); }
[data-theme="light"] .theme-toggle .icon-moon { opacity: 0; transform: rotate(-60deg) scale(0.6); }

/* ---- form fields ---- */
.field-input {
  background: rgb(var(--field-bg));
  color: rgb(var(--ink));
  box-shadow: inset 4px 4px 8px rgb(var(--neu-shadow-dark) / var(--field-shadow-dark-a)), inset -4px -4px 8px rgb(var(--neu-shadow-light) / var(--field-shadow-light-a));
  border: 1px solid transparent;
  transition: box-shadow 180ms ease-out, border-color 180ms ease-out, background-color 220ms ease-out;
}
.field-input:focus {
  outline: none;
  border-color: rgba(231,193,88,0.6);
  box-shadow: inset 2px 2px 5px rgb(var(--neu-shadow-dark) / calc(var(--field-shadow-dark-a) - 0.01)), inset -2px -2px 5px rgb(var(--neu-shadow-light) / var(--field-shadow-light-a)), 0 0 0 3px rgba(231,193,88,0.25);
}

.traffic-dot { width: 12px; height: 12px; border-radius: 9999px; box-shadow: inset 0 0 0 1px rgba(0,0,0,0.12); }

/* Keep the embedded form scrollable while cropping its cross-origin scrollbar. */
.quote-form-frame iframe {
  max-width: none;
}

/* ---- hero gradient mesh ---- */
.hero-gradient {
  background:
    radial-gradient(60% 55% at 12% 8%, rgba(231,193,88,0.28), transparent 60%),
    radial-gradient(55% 60% at 92% 0%, rgba(11,74,38,0.9), transparent 55%),
    radial-gradient(70% 70% at 75% 85%, rgba(231,193,88,0.14), transparent 60%),
    linear-gradient(160deg, #04331A 0%, #032310 45%, #01130A 100%);
  background-size: 100% 100%;
}

/* ---- entrance animations ---- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.animate-in { opacity: 0; animation: fadeUp 500ms var(--ease-out) forwards; }
.delay-1 { animation-delay: 50ms; }
.delay-2 { animation-delay: 100ms; }
.delay-3 { animation-delay: 150ms; }
.delay-4 { animation-delay: 200ms; }

/* ---- scroll reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-stagger.in-view > * { animation: fadeUp 300ms var(--ease-out) backwards; }
.reveal-stagger.in-view > *:nth-child(1) { animation-delay: 0ms; }
.reveal-stagger.in-view > *:nth-child(2) { animation-delay: 50ms; }
.reveal-stagger.in-view > *:nth-child(3) { animation-delay: 100ms; }
.reveal-stagger.in-view > *:nth-child(4) { animation-delay: 150ms; }
.reveal-stagger.in-view > *:nth-child(5) { animation-delay: 200ms; }
.reveal-stagger.in-view > *:nth-child(6) { animation-delay: 250ms; }
.reveal-stagger.in-view > *:nth-child(7) { animation-delay: 300ms; }
.reveal-stagger.in-view > *:nth-child(n+8) { animation-delay: 350ms; }

/* ---- CTA pulse / attention ---- */
@keyframes softPulse {
  0%, 100% { box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 10px 24px rgba(231,193,88,0.35), 0 2px 6px rgba(3,35,16,0.15), 0 0 0 0 rgba(231,193,88,0.35); }
  50%      { box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 10px 28px rgba(231,193,88,0.45), 0 2px 6px rgba(3,35,16,0.15), 0 0 0 10px rgba(231,193,88,0); }
}
.btn-cta-pulse { animation: softPulse 2.6s ease-in-out infinite; }
.btn-cta-pulse:hover { animation: none; }

/* ---- play button pulse rings (VSL) ---- */
.play-ring { position: absolute; inset: 0; border-radius: 9999px; border: 1.5px solid rgba(231,193,88,0.55); animation: ringPulse 2.4s var(--ease-out) infinite; }
.play-ring.ring-2 { animation-delay: 0.8s; }
@keyframes ringPulse { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(1.9); opacity: 0; } }
.play-btn { transition: transform 200ms var(--ease-out), box-shadow 200ms ease-out; }
.play-btn:hover { transform: scale(1.08); }
.play-btn:active { transform: scale(0.96); }

/* ---- misc ---- */
@keyframes spin { to { transform: rotate(360deg); } }
.spinner { animation: spin 700ms linear infinite; }

@keyframes checkPop {
  0% { transform: scale(0); opacity: 0; }
  60% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}
.check-pop { animation: checkPop 550ms var(--ease-out) 150ms backwards; }

.confirm-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1.25rem;
  border-radius: 9999px;
  background: linear-gradient(180deg, #F0D488 0%, #E7C158 100%);
  color: #032310;
  box-shadow: 0 10px 24px rgba(231,193,88,0.35), 0 2px 6px rgba(3,35,16,0.15);
}
.confirm-check svg {
  width: 2rem;
  height: 2rem;
}

/* ---- conversion funnel composition ---- */
.funnel-page main {
  overflow: clip;
}

.funnel-page main > section {
  position: relative;
  isolation: isolate;
  padding-block: clamp(5rem, 8vw, 8rem);
  scroll-margin-top: 6.5rem;
}

.funnel-page main > #services,
.funnel-page main > #story,
.funnel-page main > #proof {
  background:
    radial-gradient(680px 280px at 50% 0%, rgba(231,193,88,0.07), transparent 70%),
    rgb(var(--neu-base) / 0.34);
}

.funnel-page main > section > div {
  position: relative;
  z-index: 1;
}

.funnel-page main section h2 {
  text-wrap: balance;
  letter-spacing: -0.035em;
}

.funnel-page main section h1,
.funnel-page main section h3 {
  text-wrap: balance;
  letter-spacing: -0.018em;
}

.funnel-page main section p,
.funnel-page main section li {
  line-height: 1.72;
  text-wrap: pretty;
  orphans: 3;
  widows: 3;
}

/* Balanced hero: message first, supporting copy second, primary VSL below. */
.funnel-page .hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  width: 100%;
  max-width: 90rem;
  gap: clamp(2rem, 4vw, 3.5rem);
  text-align: center;
}

.funnel-page .hero-intro {
  position: relative;
  width: 100%;
  max-width: 66rem;
  margin-inline: auto;
  padding-top: 0.35rem;
}

.funnel-page .hero-intro::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  width: 3.75rem;
  height: 2px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(231,193,88,0), #E7C158, rgba(231,193,88,0));
}

.funnel-page #top h1 {
  max-width: 19ch;
  margin-inline: auto;
  font-size: clamp(2.4rem, 4.25vw, 4.15rem);
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.funnel-page .hero-headline-accent {
  color: #F0D488;
  text-shadow: 0 8px 30px rgba(231,193,88,0.16);
}

.funnel-page .hero-trust {
  max-width: 18ch;
  margin: 1.1rem auto 0;
  font-size: clamp(1.55rem, 2.7vw, 2.35rem);
  line-height: 1.18;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.funnel-page .hero-copy-block {
  width: 100%;
  max-width: 52rem;
  margin-inline: auto;
  padding-inline: clamp(0rem, 2vw, 1.5rem);
  text-align: center;
}

.funnel-page .hero-copy-block p {
  max-width: 62ch;
  margin-inline: auto;
  color: rgba(247,244,236,0.76);
  font-size: clamp(1rem, 1.25vw, 1.075rem);
}

.funnel-page .hero-copy-block p:first-child {
  color: #F7F4EC;
  font-size: clamp(1.1rem, 1.5vw, 1.22rem);
  font-weight: 600;
}

.funnel-page .hero-copy-block p:last-child {
  max-width: 56ch;
  color: #F0D488;
  font-size: clamp(1.05rem, 1.4vw, 1.16rem);
}

.funnel-page .hero-copy-emphasis {
  color: #F7F4EC;
  font-weight: 650;
}

.funnel-page .hero-actions a {
  min-height: 3.15rem;
}

.funnel-page .hero-actions {
  width: 100%;
  justify-content: center;
}

.funnel-page .hero-vsl {
  position: relative;
  width: 75%;
  min-width: 0;
  max-width: 48rem;
  margin-inline: auto;
  border: 1px solid rgba(231,193,88,0.2);
}

@media (max-width: 640px) {
  .funnel-page .hero-vsl {
    width: 100%;
  }
}

.hero-vsl-wrap {
  position: relative;
  width: 100%;
}

.funnel-page .hero-vsl.is-pip {
  position: fixed;
  z-index: 70;
  max-width: min(320px, 86vw);
  box-shadow: 0 24px 48px rgba(0,0,0,0.45);
}

.funnel-page .hero-vsl.is-pip .hero-vsl-bar {
  min-height: auto;
  padding: 0.5rem 0.6rem;
}

.funnel-page .hero-vsl.is-pip .hero-vsl-bar > img,
.funnel-page .hero-vsl.is-pip .hero-vsl-bar > span {
  display: none;
}

.hero-vsl-close {
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 9999px;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(231,193,88,0.12);
  color: #F7F4EC;
  border: 1px solid rgba(231,193,88,0.4);
  cursor: pointer;
  line-height: 1;
  margin-left: auto;
  flex-shrink: 0;
}

.funnel-page .hero-vsl.is-pip .hero-vsl-close {
  display: flex;
}

@media (prefers-reduced-motion: reduce) {
  .funnel-page .hero-vsl.is-pip { animation: none; }
}

.funnel-page .hero-vsl-bar {
  min-height: 3.5rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.75rem 1rem;
  background: rgba(1,19,10,0.88);
  border-bottom: 1px solid rgba(231,193,88,0.12);
}

.funnel-page .brand-mark {
  width: 1.6rem;
  height: 1.6rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.16rem;
  padding: 0.18rem;
  border-radius: 0.55rem;
  background: rgba(231,193,88,0.08);
  border: 1px solid rgba(231,193,88,0.35);
}

.funnel-page .brand-mark > span {
  display: block;
  border: 1.5px solid #E7C158;
  border-radius: 50%;
}

.funnel-page .brand-mark-nav {
  width: 2.5rem;
  height: 2.5rem;
  padding: 0.42rem;
  gap: 0.2rem;
  border-radius: 999px;
  background: #032310;
  box-shadow: 0 8px 22px rgba(3,35,16,0.22), inset 0 0 0 1px rgba(231,193,88,0.2);
}

/* Reusable four-petal brand signature for major conversion sections. */
.funnel-page #services .reveal::before,
.funnel-page #why > div::before,
.funnel-page #production > div::before,
.funnel-page #process > div::before,
.funnel-page #proof .text-center::before,
.funnel-page #value > div::before,
.funnel-page #final-cta > div > div::before {
  content: '';
  width: 2.85rem;
  height: 2.85rem;
  display: block;
  margin: 0 auto 1.25rem;
  border-radius: 0.95rem;
  border: 1px solid rgba(231,193,88,0.32);
  background-color: #032310;
  background-image:
    radial-gradient(circle at 34% 34%, transparent 0 5px, #E7C158 5.5px 7px, transparent 7.5px),
    radial-gradient(circle at 66% 34%, transparent 0 5px, #E7C158 5.5px 7px, transparent 7.5px),
    radial-gradient(circle at 34% 66%, transparent 0 5px, #E7C158 5.5px 7px, transparent 7.5px),
    radial-gradient(circle at 66% 66%, transparent 0 5px, #E7C158 5.5px 7px, transparent 7.5px);
  box-shadow: 0 10px 24px rgba(3,35,16,0.18), inset 0 1px 0 rgba(255,255,255,0.06);
}

.funnel-page #why > div::before,
.funnel-page #final-cta > div > div::before {
  background-color: #01130A;
  box-shadow: 0 10px 24px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.05);
}

.funnel-page .services-vsl {
  width: 100%;
  max-width: 64rem;
  margin: 0 auto;
  border: 1px solid rgba(231,193,88,0.2);
}

.funnel-page .services-vsl .hero-vsl-media {
  aspect-ratio: 16 / 9;
}

.funnel-page .hero-vsl-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 24% 28%, rgba(231,193,88,0.16), transparent 33%),
    radial-gradient(circle at 78% 72%, rgba(11,74,38,0.72), transparent 38%),
    linear-gradient(145deg, #032310, #01130A);
}

.funnel-page .hero-vsl .play-btn {
  width: clamp(5rem, 7vw, 6.75rem);
  height: clamp(5rem, 7vw, 6.75rem);
}

.funnel-page .hero-vsl-media:focus-visible {
  outline: 3px solid #E7C158;
  outline-offset: -6px;
}

.funnel-page .hero-vsl-glow {
  position: absolute;
  width: 38%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(231,193,88,0.08);
  filter: blur(55px);
}

/* Problem section mirrors the hero's one-column conversion rhythm. */
.funnel-page .problem-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  width: 100%;
  max-width: 90rem;
  gap: clamp(2rem, 4vw, 3.5rem);
  text-align: center;
}

.funnel-page .problem-intro {
  width: 100%;
  max-width: 56rem;
}

.funnel-page .problem-intro h2 {
  max-width: 18ch;
  margin-inline: auto;
  font-size: clamp(2.3rem, 4vw, 4rem);
  line-height: 1.14;
  color: #F7F4EC;
  letter-spacing: -0.045em;
}

.funnel-page .problem-vsl {
  justify-self: center;
  width: 75%;
  min-width: 0;
  max-width: 48rem;
}

@media (max-width: 640px) {
  .funnel-page .problem-vsl {
    width: 100%;
  }
}

.funnel-page .problem-copy-block {
  width: 100%;
  max-width: 54rem;
  margin-inline: auto;
  padding-inline: clamp(0rem, 2vw, 1.5rem);
  text-align: center;
}

.funnel-page .problem-copy-block p {
  max-width: 64ch;
  margin-inline: auto;
  color: rgba(247,244,236,0.76);
  font-size: clamp(1rem, 1.2vw, 1.075rem);
  line-height: 1.86;
  text-wrap: pretty;
  orphans: 3;
  widows: 3;
}

.funnel-page .problem-copy-block .space-y-4 {
  display: grid;
  gap: 1.15rem;
}

.funnel-page .problem-copy-block .space-y-4 > * + * {
  margin-top: 0 !important;
}

.funnel-page .problem-copy-block p:first-child {
  color: #F7F4EC;
  font-size: clamp(1.1rem, 1.45vw, 1.2rem);
  font-weight: 600;
}

.funnel-page .problem-copy-block p:last-child {
  max-width: 58ch;
  color: #F0D488;
  font-size: clamp(1.05rem, 1.35vw, 1.14rem);
}

.funnel-page .problem-actions {
  width: 100%;
  justify-content: center;
}

.funnel-page .problem-actions a {
  min-width: min(100%, 14rem);
  min-height: 3.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.funnel-page main article,
.funnel-page main blockquote,
.funnel-page #process ol > li,
.funnel-page main .glass.shadow-premium {
  border-color: rgb(var(--surface-border) / 0.09);
}

.funnel-page main article,
.funnel-page main blockquote,
.funnel-page #process ol > li {
  height: 100%;
  transition: transform var(--duration-ui) var(--ease-out), box-shadow var(--duration-ui) var(--ease-out), border-color var(--duration-ui) ease;
}

@media (hover: hover) and (pointer: fine) {
  .funnel-page main article:hover,
  .funnel-page main blockquote:hover,
  .funnel-page #process ol > li:hover {
    transform: translateY(-2px);
    border-color: rgba(231,193,88,0.35);
    box-shadow: 0 18px 36px -12px rgba(3,35,16,0.22), 0 4px 12px rgba(3,35,16,0.08);
  }
}

/* Structured stage and process cards. */
.funnel-page #services .grid > article,
.funnel-page #process ol > li {
  position: relative;
}

/* Stronger reading rhythm and balanced card rows. */
.funnel-page #why .grid,
.funnel-page #production .grid,
.funnel-page #proof .grid,
.funnel-page #process ol {
  align-items: stretch;
}

.funnel-page #proof blockquote {
  display: flex;
  flex-direction: column;
}

.funnel-page #proof blockquote footer {
  margin-top: auto;
  padding-top: 1.5rem;
}

.funnel-page #process ol {
  counter-reset: funnel-step;
}

.funnel-page #process ol > li {
  counter-increment: funnel-step;
  padding-top: 4.5rem;
}

.funnel-page #process ol > li > strong:first-child {
  position: absolute;
  top: 1.35rem;
  left: 1.5rem;
  width: 2.2rem;
  height: 2.2rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #032310;
  background: linear-gradient(180deg, #F0D488, #E7C158);
  box-shadow: 0 8px 20px rgba(231,193,88,0.28);
  transition: transform var(--duration-press) var(--ease-out), box-shadow var(--duration-ui) ease;
}

/* ---- item-specific branded icon badges ---- */
.funnel-page #why article::before,
.funnel-page #production article::before {
  width: 2.7rem;
  height: 2.7rem;
  display: grid;
  place-items: center;
  border-radius: 0.9rem;
  color: #F0D488;
  background: linear-gradient(145deg, rgba(231,193,88,0.16), rgba(231,193,88,0.045));
  border: 1px solid rgba(231,193,88,0.34);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 8px 22px rgba(3,35,16,0.14);
  font: 700 1.15rem/1 -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  transition: transform var(--duration-press) var(--ease-out);
}

.funnel-page #why article::before,
.funnel-page #production article::before {
  content: '✦';
  margin-bottom: 1.25rem;
}

.funnel-page #why article:nth-child(1)::before { content: '✦'; }
.funnel-page #why article:nth-child(2)::before { content: '◎'; }
.funnel-page #why article:nth-child(3)::before { content: '✓'; }
.funnel-page #why article:nth-child(4)::before { content: '▦'; }
.funnel-page #why article:nth-child(5)::before { content: '∞'; }

.funnel-page #production article:nth-child(1)::before { content: '◐'; }
.funnel-page #production article:nth-child(2)::before { content: '▤'; }
.funnel-page #production article:nth-child(3)::before { content: '≈'; }
.funnel-page #production article:nth-child(4)::before { content: '✎'; }

.funnel-page #production .production-card::before {
  display: none;
}

.funnel-page .testimonial-stars {
  color: #E7C158;
  font-size: 1rem;
  letter-spacing: 0.18em;
  margin-bottom: 1.1rem;
}

.funnel-page .testimonial-card.is-center .testimonial-stars {
  color: #F0D488;
}

/* ---- modern continuously looping testimonial carousel ---- */
.funnel-page .testimonial-carousel-wrap {
  position: relative;
}

.funnel-page .testimonial-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  border-radius: 9999px;
  color: rgb(var(--ink));
  background: rgb(var(--surface) / 0.92);
  border: 1px solid rgb(var(--surface-border) / 0.14);
  box-shadow: 0 8px 20px rgba(3,35,16,0.16);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transform: translateY(-50%);
  transition: transform 180ms var(--ease-out), background-color 180ms ease-out, box-shadow 180ms ease-out, border-color 180ms ease-out;
}

.funnel-page .testimonial-arrow:hover {
  border-color: rgba(231,193,88,0.55);
  box-shadow: 0 10px 26px rgba(3,35,16,0.22);
}

.funnel-page .testimonial-arrow:active {
  transform: translateY(-50%) scale(0.92);
}

.funnel-page .testimonial-arrow:focus-visible {
  outline: 3px solid #E7C158;
  outline-offset: 2px;
}

.funnel-page .testimonial-arrow-prev { left: -0.25rem; }
.funnel-page .testimonial-arrow-next { right: -0.25rem; }

@media (min-width: 640px) {
  .funnel-page .testimonial-arrow-prev { left: -1.25rem; }
  .funnel-page .testimonial-arrow-next { right: -1.25rem; }
}

.funnel-page .testimonial-carousel {
  position: relative;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 3rem 0 3.5rem;
  cursor: grab;
  scroll-snap-type: none;
  padding-inline: max(calc(50% - 10.5rem), 1.25rem);
  box-sizing: border-box;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  scrollbar-width: none;
}

.funnel-page .testimonial-carousel::-webkit-scrollbar {
  display: none;
}

.funnel-page .testimonial-carousel:active {
  cursor: grabbing;
}

.funnel-page .testimonial-carousel.is-dragging {
  cursor: grabbing;
  user-select: none;
}


.funnel-page .testimonial-carousel:focus-visible {
  outline: 3px solid #E7C158;
  outline-offset: 5px;
  border-radius: 1.5rem;
}

.funnel-page .testimonial-loop-track {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  width: max-content;
}

.funnel-page .testimonial-loop-group {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.funnel-page .testimonial-card {
  flex: 0 0 clamp(16rem, 27vw, 21rem);
  min-height: 26rem;
  display: flex;
  flex-direction: column;
  text-align: left;
  scroll-snap-align: center;
  transform: scale(0.94);
  opacity: 0.6;
  transition: transform 250ms var(--ease-in-out), opacity 250ms var(--ease-in-out), box-shadow 250ms ease, border-color 250ms ease, background-color 250ms ease, color 250ms ease;
  border-color: rgb(var(--surface-border) / 0.12);
}

.funnel-page .testimonial-card.is-center {
  transform: scale(1.03);
  opacity: 1;
  z-index: 2;
  background: #032310;
  color: #F7F4EC;
  border-color: rgba(231,193,88,0.55);
  box-shadow: 0 0 0 1.5px rgba(231,193,88,0.4), 0 20px 45px rgba(3,35,16,0.35), 0 0 32px rgba(231,193,88,0.18), 0 40px 80px -20px rgba(1,19,10,0.55), 0 20px 40px -15px rgba(1,19,10,0.4);
  min-height: 31rem;
}

.funnel-page .testimonial-card p {
  color: rgb(var(--ink) / 0.78);
  font-size: 0.97rem;
  line-height: 1.76;
  text-wrap: pretty;
}

.funnel-page .testimonial-card.is-center p {
  color: rgba(247,244,236,0.84);
}

.funnel-page .testimonial-card footer {
  margin-top: auto;
  padding-top: 1.75rem;
  color: rgb(var(--ink));
  font-weight: 700;
}

.funnel-page .testimonial-card.is-center footer {
  color: #E7C158;
}

.funnel-page .testimonial-card footer span {
  color: rgb(var(--ink) / 0.58);
  font-size: 0.84rem;
  font-weight: 400;
}

.funnel-page .testimonial-card.is-center footer span {
  color: rgba(247,244,236,0.58);
}

/* Give the process enough horizontal room for readable card content. */
.funnel-page #process > div {
  max-width: 90rem;
}

.funnel-page #process ol > li {
  min-height: 20rem;
}

@media (min-width: 1024px) and (max-width: 1399px) {
  .funnel-page #process ol {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1400px) {
  .funnel-page #process ol {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

/* Final CTA copy: balanced measure, deliberate hierarchy, no lonely words. */
.funnel-page #final-cta > div {
  max-width: 78rem;
}

.funnel-page .final-cta-highlight {
  max-width: 18ch;
  margin: 0 auto 1.5rem;
  color: #F0D488;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: clamp(1.45rem, 2.6vw, 2.15rem);
  letter-spacing: -0.03em;
  line-height: 1.2;
  text-wrap: balance;
}

.funnel-page .final-cta-support {
  max-width: 46rem;
  margin: 0 auto;
  color: rgba(247,244,236,0.78);
  line-height: 1.78;
  text-wrap: pretty;
}

.funnel-page .product-reel-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .funnel-page .product-reel-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.funnel-page .media-card {
  margin: 0;
  height: auto;
}

.funnel-page .media-card-frame {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  aspect-ratio: 4 / 3;
  background: #01130A;
  box-shadow: 0 24px 48px -20px rgba(1,19,10,0.45);
  border: 1px solid rgba(231,193,88,0.22);
}

.funnel-page .media-card-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform 500ms var(--ease-in-out), clip-path 600ms var(--ease-in-out);
}

@media (hover: hover) and (pointer: fine) {
  .funnel-page .media-card:hover .media-card-frame img {
    transform: scale(1.04);
  }
}

.funnel-page .media-card-label {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #032310;
  background: linear-gradient(180deg, #F0D488, #E7C158);
}

.funnel-page .media-card > figcaption {
  margin-top: 0.9rem;
  text-align: center;
  font-weight: 650;
  color: rgb(var(--ink));
}

.funnel-page .value-kicker {
  margin-top: 0.75rem;
  color: #B8933A;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  letter-spacing: -0.02em;
}

.funnel-page .value-contrast {
  display: grid;
  gap: 1rem;
  max-width: 48rem;
  margin: 0 auto 1.5rem;
}

.funnel-page .value-contrast-them,
.funnel-page .value-contrast-us {
  margin: 0;
  padding: 1.35rem 1.5rem;
  border-radius: 1.5rem;
  text-align: center;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.55;
  text-wrap: pretty;
}

.funnel-page .value-contrast-them {
  background: rgb(var(--neu-base));
  color: rgb(var(--ink) / 0.72);
  box-shadow: 9px 9px 18px rgb(var(--neu-shadow-dark) / var(--neu-shadow-dark-a)), -9px -9px 18px rgb(var(--neu-shadow-light) / var(--neu-shadow-light-a));
}

.funnel-page .value-contrast-us {
  background: #032310;
  color: #F7F4EC;
  font-weight: 600;
  box-shadow: 0 2px 4px rgba(231,193,88,0.25), 0 12px 24px rgba(231,193,88,0.22), 0 24px 48px rgba(3,35,16,0.18);
}

.funnel-page .value-follow {
  max-width: 40rem;
  margin: 0 auto 0.5rem;
  text-align: center;
  color: rgb(var(--ink) / 0.72);
  font-size: 1.05rem;
}

.funnel-page .decision-punchline {
  margin: 2.75rem auto 0;
  max-width: 46rem;
  padding: 1.75rem 1.5rem;
  border-radius: 1.75rem;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(231,193,88,0.16), rgba(231,193,88,0.06));
  border: 1px solid rgba(231,193,88,0.38);
  box-shadow: 0 18px 40px -24px rgba(231,193,88,0.55);
}

.funnel-page .decision-punchline p {
  margin: 0;
  color: rgb(var(--ink) / 0.72);
}

.funnel-page .decision-punchline-lead {
  margin-top: 0.45rem !important;
  color: rgb(var(--ink)) !important;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: clamp(1.35rem, 2.5vw, 1.9rem);
  letter-spacing: -0.03em;
  line-height: 1.2;
  text-wrap: balance;
}

.funnel-page #why .why-grid {
  display: grid;
  gap: 1.15rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .funnel-page #why .why-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  .funnel-page #why .why-grid > article:nth-child(-n+3) {
    grid-column: span 2;
  }
  .funnel-page #why .why-grid > article:nth-child(n+4) {
    grid-column: span 3;
  }
}

.funnel-page #why .why-grid > article {
  min-height: 100%;
}

.funnel-page .why-closer {
  margin: 2rem auto 0;
  max-width: 36rem;
  text-align: center;
  font-weight: 700;
  color: #F0D488;
}

.funnel-page .production-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .funnel-page .production-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.funnel-page .production-card {
  display: flex;
  flex-direction: column;
  padding: 0;
}

.funnel-page .production-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #01130A;
}

.funnel-page .production-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 500ms var(--ease-in-out), clip-path 600ms var(--ease-in-out);
}

@media (hover: hover) and (pointer: fine) {
  .funnel-page .production-card:hover .production-media img {
    transform: scale(1.04);
  }
}

/* Final CTA copy: balanced measure, deliberate hierarchy, no lonely words. */
.funnel-page main > section:last-child > div {
  max-width: 78rem;
}

.funnel-page main > section:last-child .space-y-4 {
  display: grid;
  gap: 1rem;
  max-width: 52rem;
}

.funnel-page main > section:last-child .space-y-4 > * + * {
  margin-top: 0 !important;
}

.funnel-page main > section:last-child .space-y-4 p {
  max-width: 62ch;
  margin-inline: auto;
  color: rgba(247,244,236,0.78);
  line-height: 1.78;
  text-wrap: balance;
  orphans: 3;
  widows: 3;
}

.funnel-page main > section:last-child .space-y-4 p:nth-child(2) {
  color: #F0D488;
  font-weight: 700;
}

.funnel-page main > section:last-child .space-y-4 p:last-child {
  max-width: 58ch;
  color: #F7F4EC;
  font-weight: 600;
}

@media (max-width: 639px) {
  .funnel-page main > section {
    padding-block: 4.5rem;
  }

  .funnel-page #top {
    padding-top: 3.75rem;
  }

  .funnel-page #top h1 {
    max-width: 25ch;
    font-size: clamp(1.7rem, 7.6vw, 3rem);
  }

  .funnel-page .hero-trust {
    font-size: clamp(1.28rem, 5.4vw, 1.7rem);
  }

  .funnel-page .hero-vsl-media {
    aspect-ratio: 16 / 9;
  }

  .funnel-page .hero-vsl-bar {
    min-height: 3.2rem;
  }

  .funnel-page #top .flex.flex-col > a,
  .funnel-page main section .flex.flex-col > a {
    width: 100%;
  }

}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-gradient { animation: none; background-position: 0% 30%; }
  .animate-in { opacity: 1; transform: none; animation: none; }
  .reveal { opacity: 1; transform: none; }
  .reveal-stagger.in-view > * { animation: none; opacity: 1; transform: none; }
  .btn-cta-pulse { animation: none; }
  .play-ring { animation: none; opacity: 0; }
  .check-pop { animation: none; }
  .funnel-page .testimonial-carousel {
    -webkit-mask-image: none;
    mask-image: none;
  }
  .funnel-page .testimonial-card { transition: opacity 200ms ease, background-color 200ms ease, color 200ms ease; }
  .funnel-page .media-card .media-card-frame img,
  .funnel-page .production-card .production-media img { transform: none; clip-path: none; }
  .funnel-page .value-flow-sequence .value-contrast-them,
  .funnel-page .value-flow-sequence .value-contrast-us,
  .funnel-page .value-flow-sequence .decision-punchline,
  .funnel-page .value-flow-sequence .flow-arrow:first-of-type svg {
    transition-delay: 0ms;
    transform: none;
    filter: none;
  }
  .funnel-page .value-flow-sequence.in-view .value-contrast-them { opacity: 0.5; }
  .funnel-page .value-flow-sequence .value-contrast-us::before,
  .funnel-page .value-flow-sequence.in-view .value-contrast-us::before {
    animation: none;
    display: none;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .glass,
  .glass-nav,
  .glass-dark,
  .btn-glass {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .glass,
  .glass-nav { background: rgb(var(--surface)); }
  .glass-dark { background: #0B4A26; }
  .btn-glass { background: rgba(11, 74, 38, 0.92); }
}

@media (prefers-contrast: more) {
  .glass,
  .glass-nav {
    background: rgb(var(--surface));
    border: 1px solid rgb(var(--ink) / 0.35);
  }
}

/* ---- Site-wide: tap targets, safe areas, Android/tablet overflow ---- */
.btn-primary,
.btn-glass,
.header-quote {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.quote-form-frame {
  width: 100%;
  max-width: 100%;
}

.quote-form-frame iframe {
  display: block;
  max-width: none;
}

header.sticky.top-4 {
  top: max(1rem, env(safe-area-inset-top));
  padding-left: max(1rem, env(safe-area-inset-left));
  padding-right: max(1rem, env(safe-area-inset-right));
}

img, svg, video {
  max-width: 100%;
}
video.absolute,
.absolute > video {
  max-width: none;
}

body.nav-lock {
  overflow: hidden;
}

.nav-toggle {
  position: relative;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  background: rgb(var(--neu-base));
  box-shadow: 5px 5px 10px rgb(var(--neu-shadow-dark) / var(--neu-shadow-dark-a)), -5px -5px 10px rgb(var(--neu-shadow-light) / var(--neu-shadow-light-a));
  flex-shrink: 0;
}
.nav-toggle:focus-visible { outline: 3px solid #E7C158; outline-offset: 2px; }
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 1.05rem;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 200ms var(--ease-out), opacity 200ms ease;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: '';
  position: absolute;
  left: 0;
}
.nav-toggle-bars::before { top: -5px; }
.nav-toggle-bars::after { top: 5px; }
.site-header.is-nav-open .nav-toggle-bars { background: transparent; }
.site-header.is-nav-open .nav-toggle-bars::before { top: 0; transform: rotate(45deg); }
.site-header.is-nav-open .nav-toggle-bars::after { top: 0; transform: rotate(-45deg); }

@media (min-width: 1024px) {
  .nav-toggle { display: none; }
}

@media (max-width: 1023px) {
  .funnel-page .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 45;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem max(1rem, env(safe-area-inset-right)) 1rem max(1rem, env(safe-area-inset-left));
    background: rgb(var(--surface) / 0.97);
    border-bottom: 1px solid rgb(var(--surface-border) / 0.1);
    box-shadow: 0 18px 40px rgba(0,0,0,0.28);
  }
  .funnel-page .site-header.is-nav-open .site-nav { display: flex; }
  .funnel-page .site-nav a {
    min-height: 2.75rem;
    display: flex;
    align-items: center;
    padding: 0.35rem 0.25rem;
    font-size: 1rem;
    color: rgb(var(--ink));
  }
  .funnel-page .site-header.is-over-hero.is-nav-open .site-nav {
    background: rgba(1, 19, 10, 0.96);
  }
  .funnel-page .site-header.is-over-hero.is-nav-open .site-nav a {
    color: #F7F4EC;
  }
}

@media (max-width: 639px) {
  .link-home-full { display: none; }
  .link-home-short { display: inline; }
  header .glass-nav {
    height: auto;
    min-height: 3.5rem;
    border-radius: 1.25rem;
    padding-block: 0.4rem;
    gap: 0.5rem;
  }
}

@media (min-width: 640px) {
  .link-home-short { display: none; }
}

@media (max-width: 480px) {
  .quote-form-frame,
  .quote-form-frame iframe {
    min-height: 70dvh;
  }
}
