/* ============================================
   EPIKREACH — OMC-INSPIRED PREMIUM
   Minimal. Cinematic. Confident.
   ============================================ */

:root {
  /* Colors — deep ink + warm cream + signature amber */
  --ink: #0a0e1a;
  --ink-soft: #1a1f33;
  --ink-mid: #2a3045;
  --paper: #f8f5ef;
  --paper-soft: #ede8dd;
  --paper-warm: #faf7f1;
  --rule: #d4cdc0;
  --rule-soft: #e5dfd2;

  --accent: #ff6b1f;
  --accent-soft: #ffe9d8;
  --accent-deep: #c84a0a;

  --signal: #2bb858;

  /* Typography */
  --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-serif: 'Playfair Display', 'Instrument Serif', 'Times New Roman', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: 4rem;
  --space-8: 6rem;
  --space-9: 8rem;
  --space-10: 12rem;

  --max-width: 1320px;
  --header-h: 80px;
}

/* ============================================
   RESET & BASE
   ============================================ */

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

html {
  -webkit-text-size-adjust: 100%;
}

/* Lenis smooth scroll */
html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

/* Scroll-reveal */
.reveal {
  opacity: 0;
  transform: translate3d(0, 36px, 0);
  transition:
    opacity 1s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.divider-headline.reveal,
.faq-headline.reveal,
.final-headline.reveal {
  transform: translate3d(0, 48px, 0);
  transition-duration: 1.15s;
}

.divider-headline.is-visible,
.faq-headline.is-visible,
.final-headline.is-visible {
  transform: translate3d(0, 0, 0);
}

html { overflow-x: hidden; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-synthesis: style;
}

/* Long display headlines should break gracefully if the viewport shrinks
   (zoom-in or narrow phones) so they never blow out the container. */
.hero-headline,
.services-headline,
.divider-headline,
.faq-headline,
.final-headline {
  overflow-wrap: anywhere;
  hyphens: auto;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* Brand-matched focus ring — replaces the browser's blue default with our
   accent orange. Only shows on keyboard navigation (:focus-visible), not on
   click, so it stays unobtrusive for mouse users. */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Suppress the non-keyboard focus ring browsers add on click so mouse users
   never see it. Keyboard users still get :focus-visible above. */
:focus:not(:focus-visible) {
  outline: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-5);
}

/* ============================================
   HEADER — minimal, overlays hero
   ============================================ */

.site-header {
  /* Absolute (not fixed) so the header scrolls away with the hero instead of
     following the viewport down the page. */
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: all 0.3s ease;
}

.site-header-overlay {
  background: transparent;
}

.site-header-overlay .main-nav a,
.site-header-overlay .nav-login,
.site-header-overlay .nav-toggle,
.site-header-overlay .logo-mark {
  color: var(--paper);
}

.site-header-overlay.scrolled {
  background: rgba(10, 14, 26, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  position: relative; /* anchor for the mobile dropdown menu */
  display: flex;
  align-items: center;
  height: var(--header-h);
  gap: var(--space-5);
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-right: auto; /* push everything else to the right */
}

.logo-mark { color: var(--ink); transition: color 0.3s ease; }
.logo-mark-accent {
  color: var(--accent);
  font-style: italic;
}

.main-nav {
  display: flex;
  gap: var(--space-5);
}

.main-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  position: relative;
  padding: var(--space-2) 0;
  transition: color 0.2s, opacity 0.2s;
  opacity: 0.85;
}

.main-nav a:hover {
  opacity: 1;
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.25s ease;
}

.main-nav a:hover::after { width: 100%; }

.main-nav a.nav-login {
  padding: var(--space-2) var(--space-4);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  opacity: 1;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.main-nav a.nav-login:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.main-nav a.nav-login::after { display: none; }

/* Client Login pill (desktop). On mobile this is restyled as a card-with-subline. */
.nav-login {
  font-size: 0.92rem;
  font-weight: 500;
  padding: var(--space-2) var(--space-4);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  white-space: nowrap;
}

.nav-login:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* On desktop the pill shows just the title; subline is hidden. */
.nav-login-sub { display: none; }

/* Hamburger button — hidden on desktop, visible on mobile */
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
  color: inherit;
  flex-direction: column;
  gap: 5px;
  border-radius: 6px;
  transition: background 0.2s;
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.06);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.site-header.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.site-header.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}
.site-header.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.header-phone {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: var(--space-2) var(--space-4);
  background: var(--accent);
  color: var(--paper);
  border-radius: 999px;
  transition: transform 0.2s, background 0.2s;
}

.header-phone:hover {
  background: var(--paper);
  color: var(--ink);
  transform: translateY(-1px);
}

.phone-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  opacity: 0.85;
}

.phone-number {
  font-weight: 600;
  font-size: 0.95rem;
}

/* ============================================
   LIGHT THEME OVERRIDES — make the previously dark sections paper-cream
   so the whole homepage matches the OMC-style light hero.
   ============================================ */

.image-divider {
  background: var(--paper) !important;
  color: var(--ink);
}

.image-divider .divider-bg,
.image-divider .divider-overlay,
.image-divider .divider-overlay-deep,
.image-divider .divider-overlay-warm {
  display: none;
}

.image-divider .divider-headline {
  color: var(--ink);
}

.image-divider .divider-headline em {
  font-family: var(--font-display);
  color: var(--accent);
}

.image-divider .divider-sub {
  color: rgba(21, 22, 26, 0.7);
}

/* Services section was .section-dark — now .section-light. Override the
   hardcoded paper-colored text back to ink. */
.section-light .services-headline {
  color: var(--ink);
}

.section-light .services-sub {
  color: rgba(21, 22, 26, 0.7);
}

/* Package cards on light bg */
.section-light .package {
  background: var(--paper-warm);
  border: 1px solid var(--rule-soft);
}

.section-light .package .package-title,
.section-light .package .price-amount,
.section-light .package .package-label,
.section-light .package h3 {
  color: var(--ink);
}

.section-light .package .package-tagline {
  color: var(--ink-soft);
}

.section-light .package .package-includes li {
  color: var(--ink-soft);
  border-bottom-color: rgba(0, 0, 0, 0.06);
}

/* Featured pricing card — warm premium dark instead of cold dark blue */
.section-light .package-featured {
  background: #3a2820; /* warm medium brown — lighter than espresso */
  color: var(--paper);
  border-color: #3a2820;
  box-shadow: 0 30px 60px -25px rgba(58, 40, 32, 0.4);
}

.section-light .package-featured .package-title,
.section-light .package-featured .price-amount,
.section-light .package-featured h3 {
  color: var(--paper);
}

.section-light .package-featured .package-tagline,
.section-light .package-featured .package-includes li {
  color: rgba(248, 245, 239, 0.78);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

/* On the cream Foundation card: small mono labels become ink for legibility */
.section-light .package .package-num,
.section-light .package .package-label {
  color: var(--ink);
}

.section-light .package .package-includes li::before {
  background: var(--ink);
}

/* On the espresso Growth card: brighter peach so they pop against the brown */
.section-light .package-featured .package-num,
.section-light .package-featured .package-label {
  color: var(--accent-soft);
}

.section-light .package-featured .package-includes li::before {
  background: var(--accent-soft);
}

/* Hide the RECOMMENDED badge — the warm card stands out enough on its own */
.package-badge {
  display: none;
}

.section-light .section-footnote {
  color: var(--ink-soft);
}

/* Add a subtle horizontal divider between sections so they aren't a
   single uninterrupted cream wash. */
.section-light + .image-divider,
.image-divider + .image-divider,
.image-divider + .section-light {
  border-top: 1px solid var(--rule-soft);
}

/* ============================================
   HEADER VARIANT — over light backgrounds (homepage hero, etc.)
   Inherits .site-header positioning and adds dark text on light bg.
   ============================================ */

.site-header-light .main-nav a,
.site-header-light .nav-login,
.site-header-light .nav-toggle,
.site-header-light .logo-mark {
  color: var(--ink);
}

.site-header-light .nav-login {
  border-color: rgba(0, 0, 0, 0.18);
}

.site-header-light .nav-login:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

/* ============================================
   HERO — OMC-style light, editorial
   ============================================ */

.hero-light {
  position: relative;
  background: var(--paper);
  color: var(--ink);
  overflow: hidden;
  padding: calc(var(--header-h) + var(--space-8)) 0 var(--space-9);
}

.hero-light-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

/* OMC-style big orange ring — the visual centerpiece of the hero. Large,
   anchored on the right with part of the circle bleeding off the edge, with
   a soft layered glow so it sits in front of the cream backdrop. */
.hero-light-curve {
  --ring-size: clamp(640px, 95vh, 1100px);
  display: block;
  position: absolute;
  width: var(--ring-size);
  height: var(--ring-size);
  /* Shifted up so the ring sits higher in the hero, more aligned with the
     headline than below it. */
  top: calc(40% - var(--ring-size) / 2);
  right: -8%;
  pointer-events: none;
  /* Layered drop-shadows: a tight inner glow + a soft offset duplicate +
     a big diffuse halo. Together they give the OMC "haloed ring" look
     without needing extra DOM. */
  filter:
    drop-shadow(0 0 0.5px rgba(255, 107, 31, 0.8))
    drop-shadow(-4px -4px 0 rgba(255, 107, 31, 0.28))
    drop-shadow(0 0 70px rgba(255, 107, 31, 0.45));
  /* Horizontal alpha mask: left edge (where dots can overlap headline
     text) fades to ~35% opacity; the right side stays fully opaque.
     Because the ring rotates, individual dots naturally fade in and out
     as they pass through the text-overlap zone. */
  -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 1) 55%);
          mask-image: linear-gradient(to right, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 1) 55%);
  animation: spin-slow 40s linear infinite;
}

/* Individual dot ring — each dot is its own <circle> with a per-element
   index (--i: 0..23) that becomes the animation-delay. The same bounce
   keyframes run on every dot, but staggered by 75ms so a "wave" of
   pulses travels clockwise around the ring once per 1.8s cycle. */
.hero-light-curve .hero-dot {
  fill: #ff6b1f;
  animation: dot-bounce 1.8s ease-out infinite;
  animation-delay: calc(var(--i, 0) * 75ms);
}

/* Default keyframes are sized for desktop (where the ring is up to 920px
   wide so dots scale up). Mobile overrides below use slightly larger r
   values since the ring is smaller and faded behind text. */
@keyframes dot-bounce {
  0%, 100% { r: 7; }
  5%       { r: 11; }   /* snap up to peak */
  55%      { r: 11; }   /* long hold — ~11-13 dots touching at the crest */
  61%      { r: 7; }    /* descend back to baseline */
}

@keyframes dot-bounce-mobile {
  0%, 100% { r: 8; }
  5%       { r: 12; }
  55%      { r: 12; }
  61%      { r: 8; }
}

/* Group collapse/expand cycle — all 24 dots scale from 0.05 (tight cluster
   at the SVG center, held for ~2.4s) out to 1 (their normal ring positions,
   held while the per-dot heartbeat plays), then collapse back. Slight
   overshoot at the expand peak gives the "pop" feel. */
.hero-dots-group {
  transform-origin: 300px 300px;
  animation: ring-pulse 8s ease-in-out infinite;
}

@keyframes ring-pulse {
  0%   { transform: scale(0.1); }    /* slightly bigger cluster at center */
  15%  { transform: scale(0.1); }    /* shorter center hold ~1.2s */
  21%  { transform: scale(1.08); }   /* pop out with overshoot */
  27%  { transform: scale(1); }      /* settle at ring */
  87%  { transform: scale(1); }      /* hold while heartbeat plays */
  100% { transform: scale(0.1); }    /* collapse back to cluster */
}

@media (prefers-reduced-motion: reduce) {
  .hero-light-curve .hero-dot,
  .hero-dots-group { animation: none; }
  .hero-dots-group { transform: scale(1); }
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}


/* Soft warm blob retained as a faint backdrop so the page edges don't look
   cold when the ring rotates. Pulled back from the prominent role it had
   when there was no ring. */
.hero-light-glow {
  position: absolute;
  top: 10%;
  right: -10%;
  width: 50vw;
  max-width: 700px;
  height: 50vw;
  max-height: 700px;
  background: radial-gradient(circle, rgba(255, 107, 31, 0.18) 0%, transparent 60%);
  filter: blur(50px);
  border-radius: 50%;
}

/* Small radar signal — replaced by the big OMC-style ring as the hero
   centerpiece. Kept the markup in place so the visual can be re-introduced
   later (e.g. as a beacon inside the ring) without HTML changes. */
.hero-signal {
  display: none;

  --signal-size: 22px;
  --signal-sweep-radius: 90px;
  position: absolute;
  top: 28%;
  right: 16%;
  width: var(--signal-size);
  height: var(--signal-size);
  pointer-events: none;
}

/* Clockwise sweeping arc — replaces the old in/out breath on the core. */
.hero-signal::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: calc(var(--signal-sweep-radius) * 2);
  height: calc(var(--signal-sweep-radius) * 2);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    rgba(255, 107, 31, 0.55) 0deg,
    rgba(255, 107, 31, 0.18) 60deg,
    rgba(255, 107, 31, 0.04) 120deg,
    transparent 180deg,
    transparent 360deg
  );
  /* Soft round mask so the sweep fades smoothly into the existing orange glow
     rather than ending in a hard circle. */
  -webkit-mask: radial-gradient(circle, black 25%, transparent 78%);
          mask: radial-gradient(circle, black 25%, transparent 78%);
  animation: signal-sweep 6s linear infinite;
  transform-origin: center;
}

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

.hero-signal-core {
  position: absolute;
  inset: 0;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(255, 107, 31, 0.65);
  z-index: 2;
}

.hero-signal-pulse {
  position: absolute;
  inset: 0;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  opacity: 0;
  transform-origin: center;
  animation: signal-pulse 4.5s cubic-bezier(0.1, 0.5, 0.3, 1) infinite;
  z-index: 1;
}

.hero-signal-pulse--2 { animation-delay: 1.5s; }
.hero-signal-pulse--3 { animation-delay: 3s; }

@keyframes signal-pulse {
  0%   { transform: scale(1);  opacity: 0.7; }
  80%  { opacity: 0; }
  100% { transform: scale(9);  opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-signal::before,
  .hero-signal-pulse { animation: none; }
  .hero-signal-pulse { opacity: 0.3; transform: scale(3); }
  .hero-signal-pulse--2 { transform: scale(5); opacity: 0.15; }
  .hero-signal-pulse--3 { transform: scale(7); opacity: 0.07; }
}

@media (max-width: 968px) {
  /* Stays visible on mobile, smaller and tucked into the corner. */
  .hero-signal {
    --signal-size: 16px;
    --signal-sweep-radius: 60px;
    top: 14%;
    right: 10%;
  }
}

.hero-light-content {
  position: relative;
  z-index: 2;
}

.hero-eyebrow-label {
  display: none;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 6rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: var(--space-7);
  max-width: 1000px;
  animation: fade-up 0.8s ease 0.2s both;
}

.hero-headline em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
}

.hero-meta-grid {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 3fr;
  gap: var(--space-5);
  max-width: 880px;
  margin-bottom: var(--space-7);
  animation: fade-up 0.9s ease 0.35s both;
}

.hero-meta-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--ink);
  padding-right: var(--space-4);
  border-bottom: 1.5px solid var(--ink);
  padding-bottom: var(--space-4);
  align-self: end;
}

.hero-meta-body {
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.6;
  color: rgba(21, 22, 26, 0.75);
}

.hero-cta-pill-row {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  flex-wrap: wrap;
  animation: fade-up 1s ease 0.5s both;
}

.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-3) var(--space-3) var(--space-5);
  background: var(--ink);
  color: var(--paper);
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.2s, transform 0.2s;
}

.btn-pill:hover {
  background: #000;
  transform: translateY(-1px);
}

.btn-pill-text {
  white-space: nowrap;
}

.btn-pill-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--paper);
  color: var(--ink);
  border-radius: 50%;
  transition: transform 0.2s;
}

.btn-pill:hover .btn-pill-arrow {
  transform: rotate(45deg);
}

.hero-text-link {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1.5px solid var(--ink);
  padding-bottom: 4px;
  transition: color 0.2s, border-color 0.2s;
}

.hero-text-link:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

@media (max-width: 700px) {
  .hero-light {
    padding: calc(var(--header-h) + var(--space-5)) 0 var(--space-7);
  }

  .hero-meta-grid {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }

  .hero-meta-label {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .hero-light-curve {
    /* Mobile: ring sits behind the text as ambient texture — faded down
       and blurred so individual dots become a soft glow that reads as
       atmosphere, not foreground decoration. */
    --ring-size: 130vw;
    height: var(--ring-size);
    top: calc(40% - var(--ring-size) / 2);
    right: -30%;
    opacity: 0.35;
    filter:
      blur(3px)
      drop-shadow(0 0 30px rgba(255, 107, 31, 0.5));
    /* Drop the desktop text-overlap mask on mobile — it doesn't help here
       because the ring is already faded + blurred. */
    -webkit-mask-image: none;
            mask-image: none;
  }

  /* Mobile uses slightly larger dot values since the ring is smaller and
     hidden behind blur — needs a touch more presence to read. */
  .hero-light-curve .hero-dot {
    animation-name: dot-bounce-mobile;
  }

  .hero-light-glow {
    width: 90vw;
    height: 90vw;
    top: -5%;
    right: -25%;
  }
}

/* ============================================
   HERO — Cinema, animated dark
   ============================================ */

.hero-cinema {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  padding: var(--header-h) 0 var(--space-7);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(255, 107, 31, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 70%, rgba(43, 184, 88, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, var(--ink) 0%, #0d1424 100%);
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 100px 100px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

/* Animated floating orbs */
.hero-orbs {
  position: absolute;
  inset: 0;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  top: -10%;
  left: -15%;
  animation: float-1 20s ease-in-out infinite;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #4a90e2 0%, transparent 70%);
  bottom: -15%;
  right: -10%;
  animation: float-2 25s ease-in-out infinite;
  opacity: 0.25;
}

.orb-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--accent-deep) 0%, transparent 70%);
  top: 40%;
  right: 30%;
  animation: float-3 30s ease-in-out infinite;
  opacity: 0.3;
}

@keyframes float-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(80px, 60px) scale(1.1); }
  66% { transform: translate(-40px, 80px) scale(0.95); }
}

@keyframes float-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-100px, -80px) scale(1.15); }
}

@keyframes float-3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, -100px) scale(0.9); }
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  margin-bottom: var(--space-6);
  backdrop-filter: blur(10px);
  animation: fade-up 0.7s ease 0.1s both;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  background: var(--signal);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(43, 184, 88, 0.25);
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(43, 184, 88, 0.25); }
  50% { box-shadow: 0 0 0 8px rgba(43, 184, 88, 0.0); }
}

.hero-mega {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6.5vw, 5.5rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--paper);
  margin-bottom: var(--space-6);
  max-width: 1100px;
  animation: fade-up 0.8s ease 0.2s both;
}

.hero-mega em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
}

.hero-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.4rem, 2vw, 1.75rem);
  line-height: 1.2;
  color: var(--accent);
  margin-bottom: var(--space-3);
  animation: fade-up 0.9s ease 0.3s both;
}

.hero-statement {
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  line-height: 1.5;
  color: rgba(248, 245, 239, 0.75);
  max-width: 640px;
  margin-bottom: var(--space-6);
  animation: fade-up 0.9s ease 0.35s both;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  margin-bottom: var(--space-8);
  flex-wrap: wrap;
  animation: fade-up 1s ease 0.5s both;
}

/* Cinema buttons */
.btn-cinema {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-5);
  background: var(--paper);
  color: var(--ink);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 999px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-cinema:hover {
  background: var(--accent);
  color: var(--paper);
  transform: translateY(-2px);
  box-shadow: 0 20px 40px -15px rgba(255, 107, 31, 0.5);
}

.btn-cinema .btn-arrow {
  font-size: 1.2em;
  transition: transform 0.3s ease;
}

.btn-cinema:hover .btn-arrow {
  transform: translateX(6px);
}

.btn-cinema-large {
  padding: var(--space-4) var(--space-6);
  font-size: 1.1rem;
}

.btn-cinema-text {
  font-weight: 500;
  font-size: 1rem;
  color: inherit;
  opacity: 0.75;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: opacity 0.2s, color 0.2s;
}

.btn-cinema-text:hover {
  opacity: 1;
  color: var(--accent);
}

/* OMC-style capabilities horizontal */
.capabilities-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-4);
  padding-top: var(--space-5);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  animation: fade-up 1.1s ease 0.65s both;
}

.capabilities-row a {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  color: rgba(248, 245, 239, 0.65);
  padding: var(--space-1) var(--space-3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  transition: all 0.2s ease;
}

.capabilities-row a:hover {
  color: var(--paper);
  border-color: var(--accent);
  background: rgba(255, 107, 31, 0.1);
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: var(--space-5);
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: rgba(248, 245, 239, 0.4);
  z-index: 2;
  animation: fade-up 1.2s ease 0.9s both;
  pointer-events: none;
}

.hero-scroll-hint > span {
  /* letter-spacing adds trailing space; shift left by half to visually center */
  padding-left: 0.2em;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scroll-pulse 2.5s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.8); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   IMAGE-CARD DIVIDERS (the OMC move)
   ============================================ */

.image-divider {
  position: relative;
  min-height: 0;
  display: block;
  padding: var(--space-7) 0;
  overflow: hidden;
  color: var(--paper);
}

.divider-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.divider-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
}

/* DIVIDER 1: Problem — atmospheric night */
.divider-problem .divider-bg {
  background:
    radial-gradient(ellipse at 70% 30%, rgba(255, 107, 31, 0.15) 0%, transparent 50%),
    linear-gradient(135deg, #0a0e1a 0%, #1a2440 50%, #0d1d3a 100%);
}

.divider-problem .divider-overlay {
  background-image:
    radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.4) 1px, transparent 1px),
    radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.3) 1px, transparent 1px),
    radial-gradient(circle at 50% 10%, rgba(255, 255, 255, 0.5) 1px, transparent 1px),
    radial-gradient(circle at 10% 80%, rgba(255, 255, 255, 0.3) 1px, transparent 1px),
    radial-gradient(circle at 90% 40%, rgba(255, 255, 255, 0.4) 1px, transparent 1px);
  background-size: 200px 200px, 300px 300px, 250px 250px, 180px 180px, 220px 220px;
  opacity: 0.5;
}

/* DIVIDER 2: Capabilities — warm gradient */
.divider-capabilities .divider-bg {
  background:
    radial-gradient(ellipse at 30% 50%, rgba(255, 107, 31, 0.3) 0%, transparent 60%),
    linear-gradient(135deg, #1a1206 0%, #3a2410 50%, #2a1808 100%);
}

.divider-overlay-warm {
  background:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 50px,
      rgba(255, 107, 31, 0.03) 50px,
      rgba(255, 107, 31, 0.03) 100px
    );
}

/* DIVIDER 3: Industries — South Florida sky/palm */
.divider-industries .divider-bg {
  background:
    radial-gradient(ellipse at 80% 20%, rgba(255, 200, 100, 0.2) 0%, transparent 50%),
    linear-gradient(180deg, #2a4060 0%, #1a2840 50%, #0a1428 100%);
}

.divider-industries .divider-overlay {
  background-image:
    linear-gradient(0deg, rgba(10, 14, 26, 0.7) 0%, transparent 100%);
}

/* DIVIDER 4: Process — deep, focused */
.divider-process .divider-bg {
  background:
    radial-gradient(ellipse at 50% 50%, rgba(255, 107, 31, 0.2) 0%, transparent 50%),
    linear-gradient(135deg, #0a0e1a 0%, #1a1428 50%, #0a0e1a 100%);
}

.divider-overlay-deep {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.divider-content {
  position: relative;
  z-index: 3;
  max-width: 1100px;
}

.divider-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  letter-spacing: 0.2em;
  color: var(--ink);
  margin-bottom: var(--space-5);
  font-weight: 500;
}

.divider-headline {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: var(--space-5);
}

.divider-headline em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
}

.divider-sub {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.6;
  color: rgba(248, 245, 239, 0.75);
  max-width: 640px;
}

/* ============================================
   SECTIONS (light & dark)
   ============================================ */

.section {
  padding: var(--space-9) 0;
}

.section-light {
  background: var(--paper);
  color: var(--ink);
}

.section-dark {
  background: var(--ink);
  color: var(--paper);
}

/* THE PROBLEM stats */
.section-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.stat-block {
  border-top: 1px solid var(--rule);
  padding-top: var(--space-5);
  transition: all 0.3s ease;
}

.stat-block:hover {
  border-top-color: var(--accent);
}

.stat-figure {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.05em;
  margin-bottom: var(--space-4);
  font-variation-settings: 'opsz' 144;
}

.stat-unit {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--accent);
  vertical-align: super;
  margin-left: 4px;
  letter-spacing: 0.05em;
}

.stat-block h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-2);
  line-height: 1.2;
}

.stat-block p {
  color: var(--ink-soft);
  line-height: 1.65;
  opacity: 0.85;
}

/* Dark-background variant — used when stat blocks sit inside .divider-problem */
.section-grid-3-dark {
  margin-top: var(--space-7);
  text-align: left;
}

.section-grid-3-dark .stat-block {
  border-top-color: rgba(255, 255, 255, 0.15);
}

.section-grid-3-dark .stat-block:hover {
  border-top-color: var(--accent);
}

.section-grid-3-dark .stat-figure {
  color: var(--paper);
}

.section-grid-3-dark .stat-block h3 {
  color: var(--paper);
}

.section-grid-3-dark .stat-block p {
  color: rgba(248, 245, 239, 0.7);
}

/* ============================================
   SERVICES (premium dark)
   ============================================ */

.services-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--space-5);
}

.services-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  letter-spacing: 0.2em;
  color: var(--ink);
  margin-bottom: var(--space-3);
  font-weight: 500;
}

.services-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: var(--space-3);
}

.services-headline em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
}

.services-sub {
  font-size: clamp(0.95rem, 1.3vw, 1.1rem);
  line-height: 1.55;
  color: rgba(248, 245, 239, 0.7);
  margin: 0 auto;
  max-width: 540px;
}

.section-dark:has(.services-header),
.section-light:has(.services-header) {
  /* Reduce the heavy default section padding around the services section. */
  padding-top: var(--space-7);
  padding-bottom: var(--space-6);
}

.billing-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  width: fit-content;
  margin: var(--space-4) auto 0;
  padding: 4px;
  background: rgba(10, 14, 26, 0.06);
  border: 1px solid var(--rule-soft);
  border-radius: 999px;
}

.billing-toggle-option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: transparent;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.billing-toggle-option:hover {
  color: var(--ink);
}

.billing-toggle-option.is-active {
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(10, 14, 26, 0.08);
}

.billing-toggle-save {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--accent);
  font-weight: 600;
}

.price-billed-note {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--accent);
  margin: calc(var(--space-3) * -1) 0 var(--space-4);
  min-height: 1.2em;
}

.services-cinema {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  margin-bottom: var(--space-6);
}

.package {
  padding: var(--space-7) var(--space-6);
  background: var(--ink-soft);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.package-cta {
  margin-top: auto; /* push CTA to the bottom of the card so all cards line up */
}

.package:hover {
  border-color: rgba(255, 107, 31, 0.4);
  transform: translateY(-4px);
}

.package-featured {
  background: var(--paper);
  color: var(--ink);
  border-color: transparent;
  box-shadow: 0 40px 80px -30px rgba(255, 107, 31, 0.3);
}

.package-badge {
  position: absolute;
  top: -14px;
  left: var(--space-6);
  background: var(--accent);
  color: var(--paper);
  padding: 6px 14px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  font-weight: 600;
}

.package-meta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}

.package-num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: 0.1em;
}

.package-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: rgba(248, 245, 239, 0.5);
  font-weight: 500;
}

.package-featured .package-label {
  color: var(--ink-soft);
  opacity: 0.6;
}

.package-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: var(--space-4);
}

.package-title em {
  color: var(--accent);
  font-style: italic;
  font-weight: 500;
}

.package-price {
  display: flex;
  align-items: baseline;
  gap: var(--space-1);
  margin-bottom: var(--space-3);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.package-featured .package-price {
  border-bottom-color: var(--rule);
}

.price-amount {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
}

.price-period {
  font-family: var(--font-mono);
  font-size: 1rem;
  opacity: 0.6;
}

.package-tagline {
  font-size: 1.05rem;
  line-height: 1.55;
  opacity: 0.85;
  margin-bottom: var(--space-5);
}

.package-details {
  margin-bottom: var(--space-5);
}

.package-details-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
  border-top: 1px solid rgba(10, 14, 26, 0.12);
  border-bottom: 1px solid rgba(10, 14, 26, 0.12);
  transition: opacity 0.2s ease;
}

.package-featured .package-details-toggle {
  border-top-color: rgba(255, 255, 255, 0.15);
  border-bottom-color: rgba(255, 255, 255, 0.15);
}

.package-details-toggle::-webkit-details-marker,
.package-details-toggle::marker {
  display: none;
  content: '';
}

.package-details-toggle:hover {
  opacity: 1;
}

.package-details-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 2px;
}

.package-details-icon {
  position: relative;
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

.package-details-icon::before,
.package-details-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background: currentColor;
  transition: transform 0.25s ease;
}

.package-details-icon::before {
  width: 12px;
  height: 1.5px;
  transform: translate(-50%, -50%);
}

.package-details-icon::after {
  width: 1.5px;
  height: 12px;
  transform: translate(-50%, -50%);
}

.package-details[open] .package-details-icon::after {
  transform: translate(-50%, -50%) scaleY(0);
}

.package-details[open] .package-details-toggle,
.package-featured .package-details[open] .package-details-toggle {
  border-bottom-color: transparent;
}

.package-includes {
  list-style: none;
  padding-top: var(--space-3);
}

.package-includes li {
  padding: var(--space-3) 0;
  padding-left: var(--space-4);
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.98rem;
}

.package-featured .package-includes li {
  border-bottom-color: var(--rule-soft);
}

.package-includes li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 10px;
  height: 1px;
  background: var(--accent);
}

.package-includes li:last-child {
  border-bottom: none;
}

.package-cta {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 4px;
  transition: all 0.3s ease;
}

.package-cta:hover {
  color: var(--paper);
}

.package-cta-featured:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.section-footnote {
  text-align: center;
  margin-top: var(--space-6);
  font-size: 1.05rem;
  opacity: 0.75;
}

.section-footnote strong {
  color: var(--accent);
  font-weight: 600;
}

/* ============================================
   INDUSTRIES (clean minimal grid)
   ============================================ */

.industry-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}

.industry-tile {
  padding: var(--space-6) var(--space-5);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  min-height: 240px;
  transition: all 0.3s ease;
  position: relative;
  cursor: pointer;
}

.industry-tile:hover {
  background: var(--ink);
  color: var(--paper);
}

.industry-tile:hover .tile-num {
  color: var(--accent);
}

.tile-num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink-soft);
  opacity: 0.5;
  letter-spacing: 0.15em;
  margin-bottom: var(--space-4);
  transition: color 0.3s ease;
}

.industry-tile h3 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.5vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: var(--space-3);
}

.industry-tile p {
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.55;
  flex: 1;
  transition: color 0.3s ease;
}

.industry-tile:hover p {
  color: rgba(248, 245, 239, 0.75);
}

.tile-arrow {
  position: absolute;
  top: var(--space-5);
  right: var(--space-5);
  font-size: 1.5rem;
  font-family: var(--font-mono);
  color: var(--ink);
  transition: all 0.3s ease;
}

.industry-tile:hover .tile-arrow {
  color: var(--accent);
  transform: translate(4px, -4px);
}

/* ============================================
   PROCESS (timeline horizontal)
   ============================================ */

.process-cinema {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  position: relative;
  padding-top: var(--space-3);
}

/* Dark-background variant — used when process steps sit inside .divider-process */
.process-cinema-dark {
  margin-top: var(--space-7);
  text-align: left;
}

.process-cinema-dark .process-line {
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(255, 255, 255, 0.2) 10%,
    rgba(255, 255, 255, 0.2) 90%,
    transparent 100%
  );
}

.process-cinema-dark .cinema-step::before {
  /* keep the cream dot — it pops against the dark background */
  background: var(--paper);
  border-color: var(--accent);
}

.process-cinema-dark .cinema-step h3 {
  color: var(--paper);
}

.process-cinema-dark .cinema-step p {
  color: rgba(248, 245, 239, 0.7);
}

.process-cinema-dark .cinema-step code {
  background: rgba(255, 107, 31, 0.18);
  color: var(--accent-soft);
}

.process-line {
  position: absolute;
  top: 45px;
  left: 5%;
  right: 5%;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent 0%,
    var(--rule) 10%,
    var(--rule) 90%,
    transparent 100%
  );
}

.cinema-step {
  position: relative;
  padding-top: var(--space-7);
}

.cinema-step::before {
  content: '';
  position: absolute;
  top: 38px;
  left: 0;
  width: 14px;
  height: 14px;
  background: var(--paper);
  border: 2px solid var(--accent);
  border-radius: 50%;
  z-index: 2;
}

.step-num {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent);
  font-style: italic;
  margin-bottom: var(--space-3);
  font-family: var(--font-mono);
  font-style: normal;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
}

.cinema-step h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-3);
  line-height: 1.15;
}

.cinema-step p {
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.6;
}

.cinema-step code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  background: var(--accent-soft);
  padding: 2px 8px;
  border-radius: 4px;
  color: var(--accent-deep);
}

/* ============================================
   FAQ — minimal accordion
   ============================================ */

.section-faq {
  padding: var(--space-7) 0 var(--space-8);
  background: var(--paper);
  position: relative;
  overflow: hidden;
}

/* Dotted ring backdrop inside the FAQ section. Reuses the .hero-light-curve
   SVG and .hero-dot classes so the heartbeat-wave animation, glow, and mask
   transfer for free. Only the position is overridden here. */
.faq-ring-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.faq-ring-bg .hero-light-curve {
  --ring-size: clamp(720px, 110vh, 1300px);
  width: var(--ring-size);
  height: var(--ring-size);
  top: calc(18% - var(--ring-size) / 2);
  right: -8%;
  /* Brighter, punchier glow on the FAQ ring so it reads as a deliberate
     accent in a section that's otherwise mostly text. */
  filter:
    drop-shadow(0 0 1px rgba(255, 107, 31, 0.95))
    drop-shadow(-5px -5px 0 rgba(255, 107, 31, 0.35))
    drop-shadow(0 0 90px rgba(255, 107, 31, 0.6));
}

/* Keep FAQ content above the ring */
.section-faq .faq-header,
.section-faq .faq-cinema {
  position: relative;
  z-index: 1;
}

@media (max-width: 700px) {
  .faq-ring-bg .hero-light-curve {
    --ring-size: 130vw;
    height: var(--ring-size);
    top: calc(18% - var(--ring-size) / 2);
    right: -30%;
  }
}

.faq-header {
  margin-bottom: var(--space-7);
  max-width: 900px;
}

.faq-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5.5vw, 4.5rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-top: var(--space-3);
}

.faq-headline em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
}

.faq-cinema {
  max-width: 900px;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.faq-item {
  background: var(--paper-soft);
  border-radius: 14px;
  overflow: hidden;
  transition: background 0.2s ease;
}

.faq-item:hover {
  background: #ece6d8;
}

.faq-item[open] {
  background: var(--paper-warm);
  box-shadow: 0 1px 0 var(--rule);
}

.faq-item summary {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.7vw, 1.35rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  color: var(--ink);
  transition: color 0.2s;
}

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

.faq-item summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 4px;
}

.faq-item summary::after {
  content: '';
  width: 26px;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), background 0.2s;
  flex-shrink: 0;
}

.faq-item:hover summary::after {
  background: var(--accent);
}

.faq-item[open] summary::after {
  transform: rotate(90deg);
  background: var(--accent);
}

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

.faq-item p {
  padding: 0 var(--space-5) var(--space-5);
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 720px;
}

/* ============================================
   FINAL CTA (cinematic close)
   ============================================ */

.final-cinema {
  position: relative;
  padding: var(--space-9) 0 var(--space-10);
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  text-align: center;
}

.final-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center top, rgba(255, 107, 31, 0.18) 0%, transparent 60%),
    linear-gradient(180deg, var(--ink) 0%, #1a1428 100%);
}

.final-orb {
  position: absolute;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  filter: blur(100px);
  opacity: 0.25;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  animation: float-1 18s ease-in-out infinite;
}

.final-content {
  position: relative;
  z-index: 2;
}

.final-headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.045em;
  margin-bottom: var(--space-4);
}

.final-headline em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
}

.final-sub {
  font-size: 1.2rem;
  color: rgba(248, 245, 239, 0.7);
  margin-bottom: var(--space-7);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

.final-actions {
  display: flex;
  gap: var(--space-5);
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
  background: #000;
  color: var(--paper);
  padding: var(--space-8) 0 var(--space-4);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.site-footer .logo-mark {
  color: var(--paper);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: var(--space-6);
  margin-bottom: var(--space-7);
}

.footer-brand p {
  margin: var(--space-3) 0;
  opacity: 0.65;
  max-width: 280px;
  line-height: 1.5;
}

.footer-contact a {
  display: inline-block;
  margin: 2px 0;
  opacity: 0.85;
  transition: opacity 0.2s, color 0.2s;
}

.footer-contact a:hover {
  color: var(--accent);
  opacity: 1;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: var(--space-3);
  font-weight: 500;
}

.footer-col a {
  display: block;
  padding: var(--space-1) 0;
  opacity: 0.65;
  font-size: 0.95rem;
  transition: opacity 0.2s, transform 0.2s;
}

.footer-col a:hover {
  opacity: 1;
  transform: translateX(4px);
  color: var(--accent);
}

.footer-bottom {
  padding-top: var(--space-4);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  opacity: 0.5;
  letter-spacing: 0.05em;
}

.footer-sig {
  font-style: italic;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 968px) {
  /* Mobile header: [Logo] ... [Client Login pill] [☰]
     The main nav (Services, Process, About) becomes a dropdown panel when toggled. */
  .nav-toggle { display: flex; }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--space-4) var(--space-5) var(--space-5);
    background: var(--ink);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    z-index: 20;
  }

  .site-header.nav-open .main-nav { display: flex; }

  /* In the mobile dropdown panel the background is dark, so all nav links
     (including from .site-header-light) need to be light to stay legible.
     The desktop .site-header-light rule otherwise wins and renders them as
     ink-on-ink. */
  .main-nav a,
  .site-header-light .main-nav a {
    padding: var(--space-3) 0;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    opacity: 1;
    color: var(--paper);
  }
  .main-nav a:hover,
  .site-header-light .main-nav a:hover {
    color: var(--accent);
  }
  .main-nav a::after { display: none; }

  /* Client Login: same row treatment as the other links — no card. The
     subline still shows but inline, so visitors still see "Manage your
     account" as context. */
  .main-nav a.nav-login,
  .site-header-light .main-nav a.nav-login {
    display: block;
    margin-top: 0;
    padding: var(--space-3) 0;
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    color: var(--paper);
    text-align: left;
    font-weight: 400;
  }
  .main-nav a.nav-login:hover,
  .site-header-light .main-nav a.nav-login:hover {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.08);
    color: var(--accent);
  }
  .main-nav a.nav-login .nav-login-title {
    display: inline;
    font-size: 1rem;
    line-height: inherit;
  }
  .main-nav a.nav-login .nav-login-sub {
    display: none;
  }
  .main-nav a.nav-login::after { display: none; }

  /* The last link in the dropdown gets no bottom border */
  .main-nav a:last-of-type { border-bottom: 0; }

  .header-phone { padding: var(--space-2) var(--space-3); }
  .phone-number { font-size: 0.85rem; }

  .section-grid-3 {
    /* Keep stats horizontal on mobile — 3 across, shrunk to fit */
    grid-template-columns: 1fr 1fr 1fr;
    gap: var(--space-3);
  }

  .section-grid-3 .stat-figure {
    font-size: clamp(1.8rem, 7vw, 3rem);
    margin-bottom: var(--space-3);
  }

  .section-grid-3 .stat-unit {
    font-size: 0.7rem;
  }

  .section-grid-3 .stat-block h3 {
    font-size: 0.95rem;
  }

  .section-grid-3 .stat-block p {
    font-size: 0.8rem;
    line-height: 1.45;
  }

  .services-cinema {
    /* Keep tiers side-by-side on tablet/mobile; cards shrink to fit */
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3);
  }

  /* Grid children must allow shrinking below their content width */
  .services-cinema > .package { min-width: 0; }

  .package {
    padding: var(--space-5) var(--space-4);
  }

  .package-title {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
    margin-bottom: var(--space-3);
    word-break: keep-all; /* avoid breaking inside "Website" or "SEO" */
  }

  .price-amount {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }

  .price-period {
    font-size: 0.85rem;
  }

  .package-tagline {
    font-size: 0.85rem;
    line-height: 1.45;
    margin-bottom: var(--space-4);
  }

  .package-includes {
    margin-bottom: var(--space-4);
  }

  .package-includes li {
    font-size: 0.82rem;
    padding: var(--space-2) 0;
    padding-left: var(--space-3);
    line-height: 1.35;
  }

  .package-includes li::before {
    width: 6px;
  }

  .package-badge {
    font-size: 0.65rem;
    padding: 0.3em 0.7em;
  }

  .package-meta {
    font-size: 0.7rem;
  }

  .package-cta {
    font-size: 0.95rem;
  }

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

  .process-cinema {
    /* Keep process steps horizontal on mobile — 2x2 grid */
    grid-template-columns: 1fr 1fr;
    gap: var(--space-5) var(--space-3);
  }

  /* The connecting line spans 4 cards horizontally; hide on 2x2 mobile grid */
  .process-line {
    display: none;
  }

  .cinema-step {
    padding-top: var(--space-5);
  }

  .cinema-step::before {
    top: 18px;
  }

  .cinema-step h3 {
    font-size: 1.05rem;
  }

  .cinema-step p {
    font-size: 0.85rem;
    line-height: 1.45;
  }

  .step-num {
    font-size: 0.7rem;
    margin-bottom: var(--space-2);
  }

  /* Tighten the hero on mobile — content sizes naturally, no forced 100vh */
  .hero-cinema {
    min-height: auto;
    padding: calc(var(--header-h) + var(--space-5)) 0 var(--space-9);
  }

  .hero-mega {
    margin-bottom: var(--space-4);
  }

  .hero-tagline {
    margin-bottom: var(--space-2);
  }

  .hero-statement {
    margin-bottom: var(--space-5);
  }

  /* Give the Scroll indicator breathing room above + below */
  .hero-scroll-hint {
    bottom: var(--space-5);
    gap: var(--space-3);
  }

  .hero-scroll-hint .scroll-line {
    height: 28px;
  }

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

  .image-divider {
    min-height: 50vh;
    padding: var(--space-7) 0;
  }
}

@media (max-width: 580px) {
  .container { padding: 0 var(--space-4); }

  .hero-cta-row {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-3);
  }

  .btn-cinema {
    justify-content: center;
  }

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

  .footer-cols {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
  }

  .final-actions {
    flex-direction: column;
  }

  /* Pricing: keep cards side-by-side on phones, tighter padding + toggle */
  .billing-toggle-option {
    padding: 9px 14px;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
  }

  .billing-toggle-save {
    font-size: 0.68rem;
  }

  .package-details-toggle {
    letter-spacing: 0.08em;
    font-size: 0.7rem;
  }
}

/* ============================================
   UTILITIES
   ============================================ */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .orb { animation: none; }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

::selection {
  background: var(--accent);
  color: var(--paper);
}

/* Header scroll behavior */
.site-header-overlay.scrolled {
  background: rgba(10, 14, 26, 0.92);
}
