/* ============================================================
   Thabelo Solutions — marketing site
   ============================================================ */

/* Uni Sans — the site's display font (--font-headline), covering both
   true headings (h1/h2/h3) and short bold display accents (stat numbers,
   pricing words, the footer wordmark, etc.). Self-hosted from
   assets/fonts/ since it isn't on Google Fonts. Only Heavy/Thin exist as
   real weights in this pack — Heavy is declared across a wide range
   (400-900) since it's the only face any current usage needs; Thin
   (100-300) and both italics are registered for completeness/future use
   even though nothing currently requests them. */
@font-face {
  font-family: 'Uni Sans';
  src: url('assets/fonts/UniSans-Heavy.woff2') format('woff2');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Uni Sans';
  src: url('assets/fonts/UniSans-Thin.woff2') format('woff2');
  font-weight: 100 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Uni Sans';
  src: url('assets/fonts/UniSans-HeavyItalic.woff2') format('woff2');
  font-weight: 400 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Uni Sans';
  src: url('assets/fonts/UniSans-ThinItalic.woff2') format('woff2');
  font-weight: 100 300;
  font-style: italic;
  font-display: swap;
}

:root {
  /* backgrounds (dark) */
  --page-bg: #16211A;
  --dark-card: #1C2A20;
  --footer-bg: #10180F;
  /* backgrounds (light) */
  --body-card: #FFFFFF;
  --inner-card: #FFFFFF;
  --tag-bg: #F4F4F5;
  /* cream / text on dark */
  --cream: #FFFFFF;
  --cream-2: rgba(255, 255, 255, 0.85);
  --on-dark-muted: #C7C3B4;
  --on-dark-muted-2: #BCC2A9;
  /* text on light */
  --ink: #16211A;
  --ink-body: #575243;
  --ink-body-2: #6E695C;
  /* greens */
  --green-1: #7C8262;
  --green-2: #566049;
  --green-fab: #4E7A46;
  --green-active: #3E6B3B;
  --green-3: #4A5540;
  --green-4: #9AA07E;
  --green-5: #8F997A;
  /* accents */
  --sage: #C9CFAF;
  --error: #9A4326;
  /* light-mode surface + vivid brand green (ALIANÇA-inspired nav/hero) */
  --mint: #EAF3EA;
  --brand-green: #2E8B3E;
  --brand-green-dark: #216B2E;
  /* bright accent for the light end of headline-word gradients — a
     livelier green than --brand-green, used only in the .hl-problem/
     .hl-outcome gradients below so it doesn't leak into the general
     palette. */
  --brand-green-bright: #3ECF7E;
  /* type — Bricolage Grotesque has been fully replaced sitewide by
     Uni Sans (--font-headline, for headings and short bold display
     accents) and Instrument Sans (--font-body, for everything else). */
  --font-body: 'Instrument Sans', system-ui, sans-serif;
  --font-headline: 'Uni Sans', sans-serif;
  /* shape / motion */
  --radius-card: clamp(22px, 3.5vw, 32px);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --divider: 1px solid rgba(22, 33, 26, 0.08);

  /* iOS 26 premium styling tokens (OKLCH color space) */
  --ios-bg: oklch(0.18 0.03 145 / 85%);
  --ios-border: oklch(1 0 0 / 10%);
  --ios-border-light: oklch(1 0 0 / 15%);
  --ios-tile-bg: oklch(1 0 0 / 4%);
  --ios-tile-border: oklch(1 0 0 / 6%);
  --ios-tile-hover: oklch(1 0 0 / 8%);
  --ios-active-green: oklch(0.62 0.17 142);
  --ios-active-green-bg: oklch(0.62 0.17 142 / 22%);
  --ios-active-green-border: oklch(0.62 0.17 142 / 45%);
  --ios-text-primary: oklch(0.96 0.01 145);
  --ios-text-muted: oklch(0.96 0.01 145 / 60%);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  color: var(--ink);
  /* Removed overscroll-behavior-y: none to restore native pull-to-refresh and iOS bounce gestures */
}

html {
  scroll-padding-top: 96px;
  -webkit-tap-highlight-color: transparent;
  accent-color: var(--green-1);
  /* Brand-cohesive accents */
  /* Scrollbar styling for Firefox */
  scrollbar-width: thin;
  scrollbar-color: var(--green-1) var(--page-bg);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  background:
    radial-gradient(55% 45% at 8% -2%, rgba(46, 139, 62, 0.13), transparent 60%),
    radial-gradient(45% 40% at 103% 5%, rgba(46, 139, 62, 0.10), transparent 62%),
    var(--mint);
  -webkit-font-smoothing: antialiased;
}

/* Premium scrollbar styling for Chrome, Safari, and Edge */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--page-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--green-1);
  border-radius: 999px;
  border: 2px solid var(--page-bg);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--green-2);
}

/* Prevent image dragging to mirror native app feel */
img {
  user-drag: none;
  -webkit-user-drag: none;
}

/* Optimize click response times */
a,
button,
.btn,
.mobile-nav-item,
.nav-pill {
  touch-action: manipulation;
}

/* installed standalone app: nudge the shell down further under the status
   bar/notch on iPhones with a Dynamic Island or camera cutout */
@media (display-mode: standalone) {
  .shell {
    padding-top: calc(24px + env(safe-area-inset-top));
  }
}

::selection {
  background: var(--green-1);
  color: var(--cream);
}

img {
  display: block;
}

:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 3px;
  border-radius: 4px;
}

.shell {
  /* full-bleed — no outer max-width/side gutter. Every major section below
     (.hero, .body-card, .contact, .footer) already carries its own
     horizontal padding independent of this wrapper, so removing the cap
     here doesn't leave their content touching the viewport edge. */
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: calc(16px + env(safe-area-inset-top)) 0 0;
  overflow-x: clip;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--cream);
  color: var(--ink);
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
}

/* ---------- shared bits ---------- */

.btn {
  display: inline-block;
  text-decoration: none;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  padding: 11px 20px;
  transition: transform 0.25s var(--ease-out), background 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -6px rgba(0, 0, 0, 0.15);
}

.btn-cream {
  background: var(--cream);
  color: var(--ink);
}

.btn-cream:hover {
  background: #ffffff;
  box-shadow: 0 8px 24px -6px rgba(245, 241, 232, 0.3);
}

.btn-dark {
  background: var(--ink);
  color: var(--cream);
  padding: 12px 24px;
}

.btn-dark:hover {
  background: #253329;
  box-shadow: 0 8px 24px -6px rgba(16, 24, 18, 0.4);
}

.btn-lg {
  font-size: 15px;
  padding: 14px 26px;
}

/* ---------- sliding-fill CTAs ---------- */

/* a color fill that slides in behind the label on hover, layered on top of
   the button's existing lift + shadow hover so both effects combine */
.btn-fill-slide {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.btn-fill-slide .btn-label {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-fill-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--brand-green);
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn-fill-slide:hover::after {
  transform: translateX(0);
}

.btn-fill-slide-right::after {
  transform: translateX(100%);
}

@media (prefers-reduced-motion: reduce) {
  .btn-fill-slide::after {
    transition: none;
  }
}

.nav-pill {
  text-decoration: none;
  text-underline-offset: 5px;
  background: rgba(245, 241, 232, 0.1);
  color: var(--cream);
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  transition: background 0.2s ease;
}

.nav-pill:hover {
  background: rgba(245, 241, 232, 0.2);
}

.nav-pill.is-active {
  background: rgba(245, 241, 232, 0.22);
  text-decoration: underline;
  text-decoration-color: var(--sage);
  text-decoration-thickness: 2px;
}

.nav-pill-glass {
  background: rgba(22, 33, 26, 0.2);
  backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid rgba(245, 241, 232, 0.12);
  padding: 10px 18px;
  font-size: 14px;
}

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-2);
}

.eyebrow-on-dark {
  color: #A9B08C;
}

.h2-md,
.h2-lg,
.h2-xl {
  font-family: var(--font-headline);
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}

.h2-md {
  font-weight: 700;
  font-size: clamp(28px, 4.5vw, 44px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin-top: 12px;
}

.h2-lg {
  font-weight: 700;
  font-size: clamp(30px, 4.5vw, 48px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  max-width: 100%;
}

.h2-xl {
  font-weight: 800;
  font-size: clamp(34px, 5.5vw, 60px);
  line-height: 1.0;
  letter-spacing: -0.04em;
}

/* Editorial typography weight contrast modifiers */
.hero-title-light,
.h2-lg-light,
.h2-xl-light,
.h2-md-light,
.contact-title-light {
  font-weight: 400;
  opacity: 0.9;
  letter-spacing: -0.01em;
}

/* Glow Accents: soft, low-opacity radial gradients behind headlines */
.section-head,
.pricing-head {
  position: relative;
  /* own stacking context so the z-index:-1 glow renders over the body card,
     not behind its opaque background */
  isolation: isolate;
}

.section-head::before,
.pricing-head::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(500px, 100vw);
  height: 350px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(124, 130, 98, 0.08) 0%, transparent 68%);
  z-index: -1;
  pointer-events: none;
}


/* ---------- scroll reveal ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px) scale(0.985);
  filter: blur(8px);
  transition:
    opacity 0.72s cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay, 0s),
    transform 0.72s cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay, 0s),
    filter 0.6s ease var(--reveal-delay, 0s);
}

.js [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
  filter: blur(0px);
}

/* Subtle "pull in" motion specifically for entire sections */
.js .section-pull-in[data-reveal] {
  transform: translateY(30px) scale(0.95);
  filter: blur(4px);
  transition:
    opacity 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) var(--reveal-delay, 0s),
    transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) var(--reveal-delay, 0s),
    filter 0.8s ease var(--reveal-delay, 0s);
}

.js .section-pull-in[data-reveal].is-revealed {
  transform: none;
  filter: blur(0px);
}

/* ---------- mobile bottom tab bar ---------- */

/* premium iOS "liquid glass" bar: deep vibrancy blur, a specular top edge,
   layered depth, and a frosted highlight pill for the active tab */
/* Dark glass material that tracks the SAME two states as .sticky-nav (base
   opaque brand gradient pre-scroll, translucent glass gradient once
   scrolled past 120px, both driven by the shared .is-visible class toggled
   in main.js) instead of a single static approximation — so the top and
   bottom bars always read as one continuous material, not just similar
   colors frozen at different moments. */
.mobile-nav {
  display: none;
  position: fixed;
  /* floating inset panel — margin from all three edges (not flush), same
     stadium radius used everywhere else in the design system (nav-menu,
     sticky-nav-cta, the sliding indicators) so it reads as a "card"
     hovering above the page, like a modern app's floating tab dock. */
  left: clamp(12px, 4vw, 20px);
  right: clamp(12px, 4vw, 20px);
  bottom: calc(clamp(12px, 4vw, 20px) + env(safe-area-inset-bottom, 0px));
  z-index: 90;
  /* spans the full inset width (not shrunk to content) — 5 tabs need even
     thumb-reachable spacing across the row, unlike a 3-item dock */
  /* base (pre-scroll) state — identical opaque animated brand gradient to
     .sticky-nav's own base rule (same stops, same drift animation) */
  background: linear-gradient(100deg, #0a1c11 0%, #123a26 28%, #2c7a3c 68%, #57a75c 100%);
  background-size: 165% 100%;
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  animation: nav-flow 15s ease-in-out infinite alternate;
  border-radius: 999px;
  border: 0.5px solid rgba(245, 241, 232, 0.16);
  /* floating ambient shadow now that the panel has clearance on every
     side — no longer the upward-only shadow a flush-to-bottom bar needed */
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -0.5px 0 rgba(0, 0, 0, 0.35),
    0 0 0 0.5px rgba(0, 0, 0, 0.25),
    0 14px 34px -10px rgba(0, 0, 0, 0.5),
    0 4px 14px -6px rgba(0, 0, 0, 0.35);
  padding: 5px 6px;
  isolation: isolate;
  transition: background 0.35s ease, backdrop-filter 0.35s ease, opacity 0.3s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.3s ease;
}

.mobile-nav.is-visible {
  /* scrolled/glass state — same gradient + blur as .sticky-nav.is-visible's
     brand layer. No separate scrim layer here: that layer exists on the
     top bar only to keep the logo legible, and there's no logo on the
     bottom bar to protect. */
  background: linear-gradient(100deg, rgba(10, 28, 17, 0.5) 0%, rgba(18, 58, 38, 0.55) 28%, rgba(44, 122, 60, 0.75) 68%, rgba(87, 167, 92, 0.8) 100%);
  background-size: 165% 100%;
  backdrop-filter: blur(18px) saturate(190%);
  -webkit-backdrop-filter: blur(18px) saturate(190%);
}

body.nav-panel-open .mobile-nav {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transform: translate(-50%, 20px) !important;
}

/* overhead-light catch on the top face — key Apple glass tell, dimmed to
   suit the dark material */
.mobile-nav::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.14) 0%, transparent 46%);
  pointer-events: none;
  z-index: 0;
}

.mobile-nav-row {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-around;
}

/* sliding active pill — matches desktop .nav-active-indicator exactly */
.mobile-nav-active-indicator {
  position: absolute;
  top: 4px;
  left: 0;
  height: calc(100% - 8px);
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 2px 8px -2px rgba(0, 0, 0, 0.25);
  z-index: 0;
  pointer-events: none;
  width: 0;
  transform: translateX(0);
  transition: transform 0.48s cubic-bezier(0.22, 1, 0.36, 1), width 0.48s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.28s ease;
  opacity: 0;
}

/* Color glow behind the active pill — brand-green, subtle and static */
.mobile-nav-active-indicator::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  z-index: -1;
  box-shadow:
    0 0 0 1px rgba(87, 167, 92, 0.22),
    0 0 8px 1px rgba(87, 167, 92, 0.28);
}

@media (prefers-reduced-motion: reduce) {
  .mobile-nav-active-indicator,
  .mobile-nav-active-indicator::after,
  .mobile-nav-label,
  .mobile-nav-item {
    transition: none !important;
    animation: none;
  }
}

/* icon-only pill by default — the label only opens up for whichever item
   is currently active, so the row can fit 5 items without crowding small
   phones. The sliding indicator above marks which pill is active; the
   label expanding inside it is a second, coordinated cue. */
.mobile-nav-item {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0;
  text-decoration: none;
  /* bumped from 0.48 — the gradient's own alpha keeps the backing reliably
     dark, so there's headroom to raise inactive-state contrast without
     losing the dimmed/de-emphasized look */
  color: rgba(245, 241, 232, 0.62);
  /* matches desktop .nav-link's restraint: borderless at rest, clears the
     44px touch-target minimum (22px icon + 11px ×2), nothing about the
     item's own size or shape changes when active — only the shared
     sliding indicator, exactly like .nav-active-indicator on desktop. */
  padding: 11px 14px;
  border-radius: 999px;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  transition: color 0.22s ease, transform 0.15s ease;
}

/* one consistent icon size across every tab, active or not — matching
   desktop's .nav-link, which never resizes anything, only recolors it.
   The two stacked svgs (outline + filled) crossfade off this one box. */

.mobile-nav-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.mobile-nav-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* outline (resting) icon on top, filled (active) icon crossfades in
   underneath it — the classic iOS/SF Symbols tab-bar tell */
.mobile-nav-icon .icon-fill {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.28s ease, transform 0.32s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mobile-nav-icon .icon-line {
  opacity: 1;
  transition: opacity 0.2s ease;
}

.mobile-nav-item.is-active .icon-line {
  opacity: 0;
}

.mobile-nav-item.is-active .icon-fill {
  opacity: 1;
  transform: scale(1);
}

/* one fixed size always — matches what desktop's clamp(12.5px, 1vw + 5px,
   14px) resolves to at phone widths — instead of a smaller resting size
   that pops up when active */
.mobile-nav-label {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  max-width: 0;
  margin-left: 0;
  opacity: 0;
  overflow: hidden;
  white-space: nowrap;
  transition:
    max-width 0.48s cubic-bezier(0.22, 1, 0.36, 1),
    margin-left 0.48s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.28s ease;
}

/* active: only the color inverts (dark ink on the light sliding pill
   underneath) and the label reveals itself — nothing about the item's
   own size changes, exactly like desktop's .nav-link.is-active */
.mobile-nav-item.is-active {
  color: #16211A;
}

.mobile-nav-item.is-active .mobile-nav-label {
  max-width: 92px;
  margin-left: 6px;
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .mobile-nav-icon .icon-fill,
  .mobile-nav-icon .icon-line {
    transition: none;
  }
}

.mobile-nav-item:active {
  transform: scale(0.94);
}

/* component-specific focus ring instead of the site-wide default — the
   4px-radius sage outline doesn't suit a rounded dark-glass pill sitting
   against a busy blurred backdrop */
.mobile-nav-item:focus-visible {
  outline: 2px solid var(--cream);
  outline-offset: -2px;
  border-radius: 999px;
}

@keyframes mnav-jiggle {
  0% {
    transform: scale(1.06) rotate(0deg);
  }

  18% {
    transform: scale(1.22) rotate(-14deg);
  }

  34% {
    transform: scale(1.18) rotate(9deg);
  }

  50% {
    transform: scale(1.12) rotate(-5deg);
  }

  66% {
    transform: scale(1.08) rotate(2deg);
  }

  82% {
    transform: scale(1.06) rotate(-1deg);
  }

  100% {
    transform: scale(1.06) rotate(0deg);
  }
}

.mobile-nav-item.is-jiggling .mobile-nav-icon {
  animation: mnav-jiggle 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

@media (prefers-reduced-motion: reduce) {
  .mobile-nav-item.is-jiggling .mobile-nav-icon {
    animation: none;
  }
}

/* ---------- persistent fixed header (desktop) ----------
   Visible from page load, not just after scrolling past the hero — the
   in-hero chip nav below is hidden at this breakpoint to avoid duplicating
   it. Hidden entirely on mobile, where the bottom tab bar is the persistent
   nav and the in-hero chip nav (with hamburger) is used instead. */

/* full-width bar with a living dark→light-green gradient; the large logo sits
   on the dark left so its white wordmark reads without any plate. On scroll
   (.is-visible, toggled by main.js past 120px) the same gradient drops to
   50% opacity with a blur behind it — a lighter "liquid glass" pane that
   still shows the brand gradient, just letting scrolled content show through. */
/* ---------- Floating Sticky Pill Navigation (Desktop) ---------- */
.sticky-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(10px, 1.5vw + 4px, 20px);
  padding: 0 clamp(16px, 4vw, 56px);
  background: linear-gradient(100deg, #0a1c11 0%, #123a26 28%, #2c7a3c 68%, #57a75c 100%);
  background-size: 165% 100%;
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  animation: nav-flow 15s ease-in-out infinite alternate;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 8px 28px -18px rgba(0, 0, 0, 0.5);
  transition: background 0.35s ease, backdrop-filter 0.35s ease;
}

.sticky-nav.is-visible {
  /* two layers: a STATIC (non-animated) dark scrim that stays opaque behind
     the logo and fades to transparent by the nav-links area — guaranteeing
     the logo always has a solid backing regardless of where the animated
     gradient below has drifted to — stacked over the same flowing brand
     gradient used elsewhere, now translucent so it reads as glass. */
  background:
    linear-gradient(to right, rgba(10, 28, 17, 0.88) 0%, rgba(10, 28, 17, 0.6) 14%, rgba(10, 28, 17, 0.25) 32%, rgba(10, 28, 17, 0) 55%),
    linear-gradient(100deg, rgba(10, 28, 17, 0.5) 0%, rgba(18, 58, 38, 0.55) 28%, rgba(44, 122, 60, 0.75) 68%, rgba(87, 167, 92, 0.8) 100%);
  background-size: 100% 100%, 165% 100%;
  backdrop-filter: blur(18px) saturate(190%);
  -webkit-backdrop-filter: blur(18px) saturate(190%);
}

@keyframes nav-flow {
  from {
    background-position: 0% 50%;
  }
  to {
    background-position: 45% 50%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sticky-nav,
  .mobile-nav {
    animation: none;
  }
}

.brand {
  display: block;
  flex: 0 0 auto;
  /* fluid across the full phone→desktop range instead of a fixed size per
     breakpoint — reaches its max size right around the 1024px desktop tier */
  width: clamp(117px, 9.02vw + 82.5px, 175px);
  height: clamp(53px, 4.07vw + 37.4px, 79px);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.brand:hover {
  transform: scale(1.02) rotate(-0.5deg);
}

.brand:active {
  transform: scale(0.96);
}

.brand img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

/* segmented links on a translucent track; white active pill pops on the green */
.nav-menu {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255, 255, 255, 0.13);
  padding: 4px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* Sliding active pill indicator background */
.nav-active-indicator {
  position: absolute;
  top: 4px;
  left: 0;
  height: calc(100% - 8px);
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 2px 8px -2px rgba(0, 0, 0, 0.25);
  z-index: 0;
  pointer-events: none;
  width: 0;
  transform: translateX(0);
  transition: transform 0.48s cubic-bezier(0.22, 1, 0.36, 1), width 0.48s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.28s ease;
  opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
  .nav-active-indicator {
    transition: none !important;
  }
}

.nav-link {
  position: relative;
  z-index: 1;
  text-decoration: none;
  color: rgba(245, 241, 232, 0.85);
  /* fluid from tablet (768px, where the nav-menu first appears) through
     desktop, instead of a fixed size per breakpoint */
  padding: clamp(8px, 1vw + 4px, 9px) clamp(12px, 2.5vw - 6px, 18px);
  border-radius: 999px;
  font-size: clamp(12.5px, 1vw + 5px, 14px);
  font-weight: 600;
  transition: color 0.25s ease, transform 0.1s ease;
}

.nav-link:hover:not(.is-active) {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-link:active {
  transform: scale(0.96);
}

.nav-link.is-active {
  color: var(--ink);
}

/* cream CTA pops on the light-green right side. A top-light gloss is
   layered directly into the background (not a pseudo-element) — CSS
   background layers always paint behind an element's own text, so this
   sidesteps z-index/stacking-order pitfalls entirely. Matches the
   reference's solid "Bordered - Prominent" buttons, which read as lit
   glass rather than flat matte fill. */
.sticky-nav-cta {
  text-decoration: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0.2) 45%, rgba(255, 255, 255, 0) 75%), var(--cream);
  color: var(--ink);
  /* fluid across the whole phone→desktop range — this button is visible
     at every breakpoint, unlike .nav-link which only shows from tablet up */
  padding: clamp(9px, 1.2vw + 5.6px, 13px) clamp(16px, 2.5vw + 4px, 26px);
  border-radius: 999px;
  font-size: clamp(12.5px, 1vw + 5px, 14px);
  font-weight: 600;
  white-space: nowrap;
  flex: 0 0 auto;
  box-shadow: 0 4px 10px -4px rgba(0, 0, 0, 0.2);
  transition: background 0.25s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
}

.sticky-nav-cta:hover {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0.2) 45%, rgba(255, 255, 255, 0) 75%), #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px -6px rgba(0, 0, 0, 0.35);
}

.sticky-nav-cta:active {
  transform: scale(0.95) translateY(0);
}

/* groups the hamburger + CTA together as one flex item so they stay
   adjacent regardless of whether .nav-menu is present (desktop) or
   display:none (phone) — see .sticky-nav's space-between layout */
.sticky-nav-actions {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.2vw, 12px);
  flex: 0 0 auto;
}

/* traditional 3-bar hamburger redesigned as a pill just like the CTA
   but with a custom inline iOS-style toggle switch on the right side.
   Maintains the glass-like highlights and tactile active/hover states. */
.nav-hamburger {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: 
    linear-gradient(180deg, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0.2) 45%, rgba(255, 255, 255, 0) 75%) padding-box, 
    linear-gradient(var(--cream), var(--cream)) padding-box,
    linear-gradient(135deg, var(--green-2, #3ECF7E) 0%, rgba(22, 33, 26, 0.25) 100%) border-box;
  color: var(--ink);
  padding: 6px 14px;
  font-family: var(--font-body);
  font-size: clamp(12.5px, 1vw + 5px, 14px);
  font-weight: 600;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  box-shadow: 0 4px 10px -4px rgba(0, 0, 0, 0.2);
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.nav-hamburger:hover {
  background: 
    linear-gradient(180deg, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0.2) 45%, rgba(255, 255, 255, 0) 75%) padding-box, 
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, var(--green-1, #2e8b3e) 0%, rgba(22, 33, 26, 0.5) 100%) border-box;
  box-shadow: 0 6px 16px -6px rgba(0, 0, 0, 0.35);
}

.nav-hamburger:active {
  transform: scale(0.95);
}

.nav-hamburger-label {
  line-height: 1;
  user-select: none;
  -webkit-user-select: none;
}

/* Clean iOS-style Arrow Icon with a circular border */
.nav-arrow-icon {
  display: inline-block;
  width: 10px;
  height: 10px;
  vertical-align: middle;
  border: 1px solid rgba(22, 33, 26, 0.2);
  border-radius: 50%;
  padding: 4px;
  box-sizing: content-box;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease;
}

.nav-hamburger:hover .nav-arrow-icon {
  border-color: rgba(22, 33, 26, 0.45);
}

/* Rotate to face up when open */
.nav-hamburger.is-open .nav-arrow-icon {
  transform: rotate(180deg);
}

.nav-hamburger:focus-visible {
  outline: 2px solid var(--cream);
  outline-offset: 2px;
}


/* dimming scrim behind the panel */
.nav-mobile-scrim {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 94;
  /* Deep desaturated translucent overlay */
  background: rgba(0, 0, 0, 0.65);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.nav-mobile-scrim.is-open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

body.nav-panel-open {
  overflow: hidden;
}

body.nav-panel-open .sticky-nav {
  z-index: 97;
}

/* modern-app sheet presentation: the page content recedes (scales down +
   softens) behind the scrim when the sheet opens, like a native iOS/
   Android modal push — desaturated to grayscale for monochromatic focus. */
#main {
  transform-origin: center center;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), filter 0.45s ease;
}

body.nav-panel-open #main {
  transform: scale(0.95);
  filter: blur(12px) brightness(0.5);
}

@media (prefers-reduced-motion: reduce) {
  #main {
    transition: none;
  }
}

/* ---------- bottom-sheet nav menu redesigned as a floating iOS widget panel ----------
   Centered in the viewport, non-scrollable, fitting the content perfectly within any height. */
/* ---------- bottom-sheet nav menu redesigned as a floating iOS widget panel ----------
   Centered in the viewport, non-scrollable, fitting the content perfectly within any height. */
.nav-mobile-panel {
  display: none;
  position: fixed;
  left: 20px;
  right: 20px;
  top: 50%;
  z-index: 96;
  height: auto;
  max-height: calc(100dvh - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px) - 40px);
  overflow-y: hidden;
  border-radius: 24px;
  border: 1px solid rgba(22, 33, 26, 0.08);
  background: rgba(253, 251, 247, 0.98);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  box-shadow:
    0 24px 50px -15px rgba(22, 33, 26, 0.2),
    0 8px 24px -8px rgba(22, 33, 26, 0.12);
  transform: translateY(calc(-50% + 24px)) scale(0.95);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transform-origin: center center;
  transition:
    transform 0.52s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.35s ease,
    visibility 0s linear 0.52s;
  padding: 24px 0;
}

.nav-mobile-panel.is-open {
  visibility: visible;
  transition:
    transform 0.52s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.4s ease,
    visibility 0s linear 0s;
  transform: translateY(-50%) scale(1);
  opacity: 1;
  pointer-events: auto;
}

/* tagline + headline header, list-card style */
.nav-mobile-panel-header {
  padding: 0 24px 18px;
  text-align: left;
}

.nav-mobile-tagline {
  margin: 0 0 6px;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brand-green);
}

.nav-mobile-headline {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(20px, 5.5vw, 24px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--ink);
  max-width: 28ch;
}

/* Redesigned Grid to Stack */
.nav-mobile-list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 20px;
  margin: 0;
}

/* Redesigned grid cell tiles styled as sleek monochromatic glass widgets */
.nav-mobile-link {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid rgba(22, 33, 26, 0.05);
  border-radius: 16px;
  box-shadow: 0 2px 8px -2px rgba(22, 33, 26, 0.04);
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.2s var(--ease-out), box-shadow 0.25s ease;
}

.nav-mobile-link:hover,
.nav-mobile-link:focus {
  background-color: rgba(46, 139, 62, 0.04);
  border-color: rgba(46, 139, 62, 0.15);
  box-shadow: 0 4px 12px -2px rgba(22, 33, 26, 0.06);
}

.nav-mobile-link:active {
  transform: scale(0.985);
}

.nav-mobile-row-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(22, 33, 26, 0.03);
  border: 1px solid rgba(22, 33, 26, 0.05);
  color: var(--brand-green);
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.nav-mobile-row-icon svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.2px;
}

.nav-mobile-row-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  flex-grow: 1;
}

.nav-mobile-row-title {
  font-family: var(--font-body);
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.25;
  transition: color 0.25s ease;
}

.nav-mobile-row-subtitle {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 400;
  color: var(--ink-body-2);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.25s ease;
}

/* Beautiful right arrow chevron */
.nav-mobile-row-chevron {
  display: flex !important;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  margin-left: auto;
  color: rgba(22, 33, 26, 0.3);
  transition: transform 0.25s var(--ease-out), color 0.25s ease;
}

.nav-mobile-row-chevron svg {
  width: 16px;
  height: 16px;
}

.nav-mobile-link:hover .nav-mobile-row-chevron,
.nav-mobile-link:focus .nav-mobile-row-chevron {
  transform: translateX(4px);
  color: var(--brand-green);
}

/* Active section styling: link background turns mint green highlight */
.nav-mobile-link.is-active {
  background-color: var(--mint);
  border-color: rgba(46, 139, 62, 0.15);
  box-shadow: none;
}

.nav-mobile-link.is-active .nav-mobile-row-icon {
  background-color: var(--brand-green);
  border-color: var(--brand-green);
  color: #fff;
}

.nav-mobile-link.is-active .nav-mobile-row-title {
  color: var(--brand-green-dark);
}

.nav-mobile-link.is-active .nav-mobile-row-subtitle {
  color: var(--brand-green);
}

.nav-mobile-link.is-active .nav-mobile-row-chevron {
  color: var(--brand-green);
}

/* iOS active tile feedback */
.nav-mobile-link:active {
  background: rgba(255, 255, 255, 0.85);
  transform: scale(0.97);
}

.nav-mobile-link.is-active:active {
  background: linear-gradient(135deg, var(--brand-green-dark) 0%, #164f20 100%);
}

.nav-mobile-link:focus-visible {
  outline: 2px solid var(--cream);
  outline-offset: -2px;
  border-radius: 16px;
}

@media (prefers-reduced-motion: reduce) {
  .nav-mobile-panel,
  .nav-mobile-scrim,
  .nav-hamburger-switch,
  .nav-hamburger-switch-thumb {
    transition: none;
  }
}

/* visually-hidden but still announced by screen readers — general-purpose
   utility for content that's conveyed visually another way (e.g. inside
   an aria-hidden decorative SVG) but still needs an accessible-text
   equivalent */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
}

/* ---------- hero: light top half ---------- */

.hero-top {
  position: relative;
  overflow: hidden;
  contain: layout;
  background: var(--inner-card);
  color: var(--ink);
  /* top padding doubles as nav clearance; phone tier overrides it to the
     bar's exact fluid height (see the max-width:767.98px block) */
  padding: clamp(110px, 12vh, 140px) max(clamp(16px, 4vw, 56px), calc((100% - 1280px) / 2)) clamp(32px, 4vh, 48px);
}

.hero-net {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: var(--ink);
  opacity: 0.1;
  pointer-events: none;
}

/* ---------- hero: isometric illustration section ---------- */
.hero-top-middle {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  perspective: 1100px;
  z-index: 2;
}

.hero-isometric-container {
  position: relative;
  contain: layout;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  transform-style: preserve-3d;
  will-change: transform;
}

.hero-isometric-svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}

/* Isometric Layers Assembly & Animation */
.iso-layer-base,
.iso-layer-1,
.iso-layer-2,
.iso-layer-3 {
  will-change: transform, opacity;
  transform-style: preserve-3d;
  /* --px / --py written by main.js pointer parallax */
  transform: translate3d(var(--px, 0px), var(--py, 0px), 0);
  transition: transform 0.45s var(--ease-out);
}

.iso-layer-base {
  animation: 
    iso-assemble-base 1.2s var(--ease-out) both;
}

.iso-layer-1 {
  animation: 
    iso-assemble-l1 1.4s var(--ease-out) both,
    iso-hover-l1 5.8s ease-in-out infinite alternate;
}

.iso-layer-2 {
  animation: 
    iso-assemble-l2 1.6s var(--ease-out) both,
    iso-hover-l2 6.6s ease-in-out infinite alternate;
}

.iso-layer-3 {
  animation: 
    iso-assemble-l3 1.8s var(--ease-out) both,
    iso-hover-l3 7.4s ease-in-out infinite alternate;
}

/* Assembly animations (Exploded diagram collapse to hovering stack on load) */
@keyframes iso-assemble-base {
  0% { opacity: 0; transform: translate3d(0, 40px, 0); }
  100% { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes iso-assemble-l1 {
  0% { opacity: 0; transform: translate3d(0, 90px, 0); }
  100% { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes iso-assemble-l2 {
  0% { opacity: 0; transform: translate3d(0, 140px, 0); }
  100% { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes iso-assemble-l3 {
  0% { opacity: 0; transform: translate3d(0, 190px, 0); }
  100% { opacity: 1; transform: translate3d(0, 0, 0); }
}

/* Perpetual Floating Animations (Phase shifted) */
@keyframes iso-hover-l1 {
  0% { transform: translate3d(var(--px, 0px), var(--py, 0px), 0); }
  100% { transform: translate3d(var(--px, 0px), calc(var(--py, 0px) - 5px), 0); }
}

@keyframes iso-hover-l2 {
  0% { transform: translate3d(var(--px, 0px), var(--py, 0px), 0); }
  100% { transform: translate3d(var(--px, 0px), calc(var(--py, 0px) - 8px), 0); }
}

@keyframes iso-hover-l3 {
  0% { transform: translate3d(var(--px, 0px), var(--py, 0px), 0); }
  100% { transform: translate3d(var(--px, 0px), calc(var(--py, 0px) - 12px), 0); }
}

/* Glowing red beacon light warning pulse */
.beacon-light {
  animation: beacon-blink 1.8s ease-in-out infinite;
}

@keyframes beacon-blink {
  0%, 100% { opacity: 0.4; fill: #9A4326; r: 1.5; filter: drop-shadow(0 0 0px rgba(154, 67, 38, 0)); }
  50% { opacity: 1; fill: #E8B08A; r: 2.2; filter: drop-shadow(0 0 3px rgba(232, 176, 138, 0.8)); }
}

/* Guide lines upward dash offset data-flow */
.guide-flow {
  stroke-dasharray: 4, 6;
  animation: guide-flow-move 3s linear infinite;
}

@keyframes guide-flow-move {
  to {
    stroke-dashoffset: -20;
  }
}

.hero-top-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 100%;
  margin: 0 auto;
  align-items: start;
}

/* Desktop layout: 3 columns */
@media (min-width: 1024px) {
  .hero-top-grid {
    grid-template-columns: 1.15fr 0.9fr 1.05fr;
    gap: clamp(24px, 3.5vw, 44px);
  }
  .hero-top-left {
    grid-column: auto;
  }
  .hero-top-middle {
    display: flex;
    grid-column: auto;
  }
  .hero-top-right {
    grid-column: auto;
  }
  .hero-top {
    padding: clamp(110px, 12vh, 140px) clamp(16px, 4vw, 56px) clamp(32px, 4vh, 48px);
  }
}

/* Tablet layout: 2 columns */
@media (min-width: 768px) and (max-width: 1023.98px) {
  .hero-top-grid {
    grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 4vw, 48px);
  }
  .hero-top-left {
    grid-column: 1 / 3;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    max-width: 100%;
    margin: 0;
  }
  .hero-cta-row {
    justify-content: flex-start;
    width: 100%;
  }
  .hero-top-middle {
    grid-column: 1 / 2;
    display: flex;
    margin: 0 auto;
    width: 100%;
    max-width: 320px;
  }
  .hero-top-right {
    grid-column: 2 / 3;
    display: flex;
    justify-content: center;
    width: 100%;
  }
  .hero-top {
    padding: clamp(95px, 10vh, 120px) clamp(16px, 4vw, 56px) clamp(24px, 3vh, 36px);
  }
}

/* Mobile layout: 1 column */
@media (max-width: 767.98px) {
  .hero-top-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .hero-top-left {
    display: contents;
  }
  .hero-title {
    grid-row: 1;
    margin-bottom: 0;
    font-size: clamp(24px, 7.2vw, 36px);
    line-height: 1.05;
  }
  .hero-top-desc {
    grid-row: 3;
    margin: 0 auto;
    max-width: 340px;
  }
  .hero-cta-row {
    grid-row: 4;
    margin: 8px auto 0;
    max-width: 340px;
    justify-content: center;
  }
  .hero-top-right {
    grid-row: 2;
    width: 100%;
    max-width: 340px;
    margin: 16px auto 0;
  }
  .hero-top-middle {
    display: none !important;
  }
  .hero-top {
    padding: calc(clamp(53px, 4.07vw + 37.4px, 79px) + 28px + env(safe-area-inset-top, 0px)) clamp(32px, 6vw, 64px) clamp(8px, 1.5vh, 16px);
  }
}

  /* .hero-title switches from vw-based sizing to cqi (container-query
     inline-size) here: past this point the title lives in a ~1.15fr
     column, not the full viewport, and a vw-based clamp was growing
     the text faster than the column itself grows — risking a second,
     unintended wrap inside the "Wherever there's a gap," line right
     after the two-column split kicks in. cqi ties the font to the
     column's actual width instead. */
@media (min-width: 768px) {
  .hero-top-left {
    container-type: inline-size;
  }

  .hero-title {
    font-size: clamp(32px, 9.5cqi, 68px);
  }
}
}

.hero-top-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* bright emphasis words within headline copy — applied per-sentence to
   whichever word actually carries the meaning, not mechanically to every
   occurrence of a given word. Both use the same gradient-text-clip
   technique as .hero-stat-number, staying entirely within the green
   design system instead of introducing an unrelated accent hue.
   .hl-problem (bright green → brand-green) marks the gap/challenge being
   named; .hl-outcome (brand-green → brand-green-dark, the same pairing
   used elsewhere on cards) marks the resolving action or result (bridge,
   delivered, solution, adapt, flex, grew, sustain, good, answered). */
.hl-problem {
  background: linear-gradient(135deg, var(--brand-green-bright) 0%, var(--brand-green) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hl-outcome {
  background: linear-gradient(135deg, var(--brand-green) 0%, var(--brand-green-dark) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (forced-colors: active) {

  .hl-problem,
  .hl-outcome {
    -webkit-text-fill-color: currentColor;
    color: CanvasText;
  }
}


.hero-title {
  font-family: var(--font-headline);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.045em;
  margin: 0;
  text-wrap: balance;
  color: var(--ink);
  font-size: clamp(36px, 5.4vw, 68px);
}

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

.hero-top-desc {
  font-size: clamp(14px, 0.19vw + 13.4px, 16px);
  line-height: 1.6;
  color: var(--ink-body);
  max-width: 100%;
  margin: clamp(16px, 2.4vw, 22px) 0 0;
}

.hero-top-desc strong {
  color: var(--ink);
  font-weight: 600;
}

.btn-arrow {
  display: inline-block;
  transition: transform 0.2s var(--ease-out);
}

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

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: clamp(22px, 3vw, 32px);
}

/* photo panel */
.hero-top-right {
  display: flex;
  /* perspective for the pointer-driven 3D tilt applied to the frame */
  perspective: 1100px;
}



.hero-photo-frame {
  position: relative;
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
  transform-style: preserve-3d;
  /* --tilt-x / --tilt-y are written by main.js on pointer move; they default
     to 0 so the frame sits flat with no JS or on touch devices */
  transform: rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform 0.4s var(--ease-out);
  will-change: transform;
}

@media (min-width: 860px) {
  .hero-photo-frame {
    max-width: 420px;
    margin: 0 0 0 auto;
  }
}

/* clips the image to the rounded corners; kept separate from
   .hero-photo-frame so the sparkle/chip/scroll overlays can overlap the
   frame's edge without being clipped themselves */
.hero-photo-inner {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 24px 48px -20px rgba(22, 33, 26, 0.25);
}

.hero-carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-carousel-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 1;
}

.hero-carousel-slide.is-active {
  opacity: 1;
  z-index: 2;
}

/* ---------- hero: fluted / ribbed-glass overlay ---------- */

/* a vertical frosted-glass band over the left edge of the photo — fine
   repeating light/dark stripes read as fluted glass, blurred slightly and
   faded out to the right so it blends into the clear photo */
.hero-flute {
  position: absolute;
  inset: 0 auto 0 0;
  width: 34%;
  z-index: 3; /* Render on top of active carousel slide */
  background:
    repeating-linear-gradient(90deg,
      rgba(255, 255, 255, 0.16) 0px,
      rgba(255, 255, 255, 0.16) 1.5px,
      rgba(22, 33, 26, 0.05) 1.5px,
      rgba(22, 33, 26, 0.05) 6px);
  backdrop-filter: blur(2px) saturate(108%);
  -webkit-backdrop-filter: blur(2px) saturate(108%);
  -webkit-mask-image: linear-gradient(90deg, #000 62%, transparent);
  mask-image: linear-gradient(90deg, #000 62%, transparent);
  pointer-events: none;
}

/* crisp specular highlight running down the flute's leading edge */
.hero-flute::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.5), transparent);
}

/* ---------- hero: twinkling sparkle ---------- */

.hero-sparkle {
  position: absolute;
  top: clamp(-16px, -2vw, -10px);
  left: clamp(-18px, -2.4vw, -12px);
  z-index: 3;
  width: clamp(38px, 4.6vw, 58px);
  height: clamp(38px, 4.6vw, 58px);
  filter: drop-shadow(0 6px 14px rgba(33, 107, 46, 0.3));
  pointer-events: none;
  /* --px / --py written by the pointer-parallax loop in main.js */
  transform: translate3d(var(--px, 0px), var(--py, 0px), 0);
}

/* twinkle lives on the inner svg so the span above is free to receive the
   pointer-parallax translate without the two transforms fighting */
.hero-sparkle svg {
  width: 100%;
  height: 100%;
  display: block;
  animation: hero-twinkle 4.2s ease-in-out infinite;
}

@keyframes hero-twinkle {
  0%, 100% { transform: scale(0.86) rotate(0deg); opacity: 0.85; }
  45% { transform: scale(1.08) rotate(45deg); opacity: 1; }
  70% { transform: scale(0.94) rotate(70deg); opacity: 0.92; }
}

/* ---------- hero: floating widgets (replacing old trust chip & scroll button) ---------- */

.hero-widget {
  position: absolute;
  will-change: transform;
  transform: translate3d(var(--px, 0px), var(--py, 0px), 0);
  pointer-events: none;
}

.hero-widget * {
  pointer-events: auto;
}

.hero-widget-float {
  animation: 
    widget-pop-in 0.85s var(--ease-out) var(--pop-delay, 0s) both,
    widget-float var(--float-dur, 6s) ease-in-out var(--pop-delay, 0s) infinite alternate;
}

/* Base style for widget cards */
.hero-widget-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: rgba(245, 241, 232, 0.85); /* premium cream glass */
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 20px;
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  box-shadow: 
    0 8px 24px -8px rgba(22, 33, 26, 0.25),
    0 4px 10px -4px rgba(22, 33, 26, 0.15);
  text-decoration: none;
  color: var(--ink);
  transition: 
    transform 0.3s var(--ease-out), 
    box-shadow 0.3s var(--ease-out),
    background 0.3s var(--ease-out),
    border-color 0.3s var(--ease-out);
}

.hero-widget-card:hover {
  transform: translateY(-4px) scale(1.02);
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(255, 255, 255, 0.85);
  box-shadow: 
    0 20px 36px -12px rgba(22, 33, 26, 0.35),
    0 8px 18px -8px rgba(22, 33, 26, 0.18);
}

/* 1. Sector Cycle Widget */
.hero-widget-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ios-active-green-bg);
  color: var(--brand-green);
  flex-shrink: 0;
}

.hero-widget-icon svg {
  width: 18px;
  height: 18px;
}

.hero-widget-solutions-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.hero-widget-kicker {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-body-2);
}

.hero-widget-sector {
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
}

/* 2. Chart Widget */
.hero-widget-chart .hero-widget-card {
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  padding: 12px 14px;
  min-width: 146px;
}

.hero-widget-chart-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.hero-widget-trend {
  display: inline-flex;
  align-items: center;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--brand-green);
  gap: 2px;
}

.hero-widget-trend svg {
  width: 12px;
  height: 12px;
}

.hero-widget-bars {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 24px;
  gap: 4px;
  margin-top: 2px;
}

.hero-widget-bars span {
  display: block;
  flex: 1;
  height: var(--h, 20%);
  background: var(--brand-green);
  opacity: 0.15;
  border-radius: 2px;
  transition: height 0.6s var(--ease-out), opacity 0.3s ease;
}

.hero-widget-card:hover .hero-widget-bars span {
  opacity: 0.45;
}

.hero-widget-card:hover .hero-widget-bars span:last-child {
  background: var(--brand-green-bright);
  opacity: 0.9;
}

/* 3. Team Chip Widget */
.hero-people {
  padding: 8px 14px 8px 8px;
  border-radius: 999px;
  backdrop-filter: blur(10px) saturate(150%);
  -webkit-backdrop-filter: blur(10px) saturate(150%);
}

.hero-people-avatars {
  display: inline-flex;
  align-items: center;
}

.hero-people-avatars img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--cream);
  margin-left: -10px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.hero-people-avatars img:first-child {
  margin-left: 0;
}

.hero-people-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.hero-people-text strong {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.hero-people-text span {
  font-size: 11.5px;
  color: var(--ink-body-2);
}

/* 4. Badges (Compliance & Supply) */
.hero-badge-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(245, 241, 232, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: var(--brand-green);
  box-shadow: 
    0 6px 16px -6px rgba(22, 33, 26, 0.25),
    0 3px 8px -3px rgba(22, 33, 26, 0.15);
  backdrop-filter: blur(10px) saturate(150%);
  -webkit-backdrop-filter: blur(10px) saturate(150%);
  transition: 
    transform 0.3s var(--ease-out), 
    background 0.3s var(--ease-out), 
    border-color 0.3s var(--ease-out),
    color 0.3s var(--ease-out),
    box-shadow 0.3s var(--ease-out);
}

.hero-badge-chip svg {
  width: 18px;
  height: 18px;
}

.hero-widget-badge:hover .hero-badge-chip {
  transform: translateY(-4px) scale(1.08);
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(255, 255, 255, 0.85);
  color: var(--brand-green-bright);
  box-shadow: 0 12px 24px -8px rgba(22, 33, 26, 0.4);
}

/* Positioning & Layout (Desktop coordinates) */
.hero-widget-solutions {
  top: 15%;
  left: -22%;
  z-index: 5;
}

.hero-widget-chart {
  top: 48%;
  left: -28%;
  z-index: 5;
}

.hero-widget-people {
  bottom: 10%;
  left: -14%;
  z-index: 5;
}

.hero-widget-badge-1 {
  top: 6%;
  right: -6%;
  z-index: 6;
}

.hero-widget-badge-2 {
  bottom: 32%;
  right: -10%;
  z-index: 6;
}

/* Positioning & Layout (Tablet/Mobile stack) */
@media (max-width: 859.98px) {
  .hero-widget-solutions {
    left: -10%;
    top: 12%;
  }
  .hero-widget-chart {
    left: -14%;
    top: 45%;
  }
  .hero-widget-people {
    left: -6%;
    bottom: 8%;
  }
  .hero-widget-badge-1 {
    right: -4%;
    top: 6%;
  }
  .hero-widget-badge-2 {
    right: -6%;
    bottom: 30%;
  }
}

/* Positioning & Layout (Compact Mobile) */
@media (max-width: 480px) {
  .hero-widget-solutions {
    left: -5%;
    top: 10%;
    scale: 0.9;
  }
  .hero-widget-chart {
    left: -8%;
    top: 42%;
    scale: 0.9;
  }
  .hero-widget-people {
    left: -2%;
    bottom: 6%;
    scale: 0.9;
  }
  .hero-widget-badge-1 {
    right: -2%;
    top: 6%;
    scale: 0.9;
  }
  .hero-widget-badge-2 {
    right: -3%;
    bottom: 28%;
    scale: 0.9;
  }
}

/* Animations */
@keyframes widget-pop-in {
  0% {
    opacity: 0;
    scale: 0.75;
  }
  100% {
    opacity: 1;
    scale: 1;
  }
}

@keyframes widget-float {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(var(--float-shift, -8px));
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-photo-frame { transition: none; }
  .hero-sparkle svg,
  .hero-scroll svg { animation: none; }
  .hero-widget-float,
  .hero-bento-card { animation: none !important; }
  .hero-carousel-slide { transition: none !important; }
}

/* ---------- hero: proof strip (left column) ---------- */

/* ---------- hero: bento stats card under illustration ---------- */

.hero-bento-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 18px;
  background: rgba(245, 241, 232, 0.85); /* premium cream glass */
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 22px;
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  box-shadow: 
    0 10px 28px -10px rgba(22, 33, 26, 0.15),
    0 4px 10px -4px rgba(22, 33, 26, 0.08);
  margin: 20px auto 0;
  width: calc(100% - 28px);
  max-width: 280px;
  position: relative;
  transition: box-shadow 0.3s var(--ease-out), border-color 0.3s var(--ease-out), background 0.3s var(--ease-out);
}

.hero-bento-card:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(255, 255, 255, 0.85);
  box-shadow: 
    0 16px 32px -10px rgba(22, 33, 26, 0.2),
    0 6px 14px -6px rgba(22, 33, 26, 0.1);
}

.bento-tagline {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-2);
  margin: 0;
}

.bento-stat {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.bento-stat-number {
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: clamp(34px, 4vw, 44px);
  line-height: 1;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--brand-green) 0%, var(--ink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (forced-colors: active) {
  .bento-stat-number {
    -webkit-text-fill-color: currentColor;
    color: CanvasText;
  }
}

.bento-stat-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-body);
}


/* ---------- marquee ---------- */

.marquee {
  overflow: hidden;
  margin: 12px 0;
  padding: 10px 0;
  border-top: 1px solid rgba(245, 241, 232, 0.05);
  border-bottom: 1px solid rgba(245, 241, 232, 0.05);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 26s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-group {
  display: flex;
}

/* small uppercase + wide letter-spacing — same treatment as .eyebrow
   elsewhere on the site, scaled down from the old 24px running-text
   style for a more compact, modern ticker */
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-4);
  white-space: nowrap;
}

.marquee-sep {
  color: var(--green-3);
  font-size: 11px;
}

/* ---------- light body card ---------- */

.body-card {
  container-type: inline-size;
  background: var(--body-card);
  padding: 0;
}

.body-section {
  padding: clamp(16px, 2vw, 28px) max(clamp(32px, 6vw, 64px), calc((100% - 1280px) / 2));
  border-bottom: var(--divider);
}

.body-section-last {
  padding-bottom: clamp(16px, 2vw, 28px);
  border-bottom: none;
}

#process {
  background-color: #ffffff;
}

/* section headers */
.section-head {
  margin-bottom: 12px;
}

.section-head-split {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.section-support {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-body-2);
  max-width: 100%;
  margin: 0;
}

.services-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

/* service cards */
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  width: 100%;
}

@container (max-width: 440px) {
  .service-grid {
    gap: 12px;
  }
}



@container (min-width: 620px) {
  .service-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@container (min-width: 900px) {
  .service-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.service-card {
  position: relative;
  background: var(--cream);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.service-card:nth-child(6n+2) {
  --reveal-delay: 0.05s;
}

.service-card:nth-child(6n+3) {
  --reveal-delay: 0.1s;
}

.service-card:nth-child(6n+4) {
  --reveal-delay: 0.15s;
}

.service-card:nth-child(6n+5) {
  --reveal-delay: 0.2s;
}

.service-card:nth-child(6n+6) {
  --reveal-delay: 0.25s;
}
@media (hover: hover) {
  .service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.4);
  }
}

.card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
@media (hover: hover) {
  .service-card:hover .card-img-wrap img {
    transform: scale(1.05);
  }
}

.card-floating-icon {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(10, 28, 17, 0.55);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.18);
  z-index: 2;
}

.card-floating-icon svg {
  width: 16px;
  height: 16px;
}

.card-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(22, 33, 26, 0.65);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 2;
}

.card-footer h3 {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 14px;
  color: var(--cream);
  margin: 0;
  letter-spacing: -0.01em;
}

.card-arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), background 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-arrow svg {
  width: 12px;
  height: 12px;
}
@media (hover: hover) {
  .service-card:hover .card-arrow {
    transform: translateX(2px) scale(1.05);
    background: var(--cream);
    color: var(--ink);
  }
}

/* enlarge the 28px arrow's hit area to ~44px without changing its look */
.card-arrow {
  position: relative;
}

.card-arrow::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
}

/* about / team */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: start;
}

.about-text-sticky {
  position: relative;
  top: 0;
}

@container (min-width: 760px) {
  .about-grid {
    grid-template-columns: 4.5fr 5.5fr;
    gap: clamp(16px, 2.5vw, 28px);
  }

  .about-text-sticky {
    position: sticky;
    top: 140px;
  }

  .team-grid {
    margin-left: auto;
    margin-right: 0;
  }
}

.h2-md {
  display: block;
}

.about-grid .h2-md {
  font-size: clamp(28px, 4vw, 42px);
}

.about-copy {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-body);
  margin: 20px 0 0;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.tag {
  background: var(--tag-bg);
  color: #414A35;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  transition: background 0.25s var(--ease-out), color 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}

.tag:hover {
  background: var(--green-1);
  color: var(--cream);
  transform: translateY(-2px);
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 440px;
  width: 100%;
  margin: 0 auto;
  align-items: start;
}

@container (max-width: 440px) {
  .team-grid {
    gap: 12px;
  }
  .team-member:nth-child(even) {
    margin-top: 24px; /* compact stagger on mobile */
  }
}

.team-member {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--page-bg);
  padding-bottom: 0;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: box-shadow 0.3s var(--ease-out);
  z-index: 1;
}
@media (hover: hover) {
  .team-member:hover {
    box-shadow: 0 20px 40px rgba(10, 28, 17, 0.15);
    z-index: 3;
  }
}
.team-member:focus-within {
  box-shadow: 0 20px 40px rgba(10, 28, 17, 0.15);
  z-index: 3;
}

.team-member:nth-child(even) {
  margin-top: 60px;
}

.team-photo {
  position: relative;
  overflow: hidden;
}

.team-photo::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, rgba(16, 24, 18, 0.98) 0%, rgba(16, 24, 18, 0.4) 60%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

.team-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 32px;
  transition: transform 0.3s var(--ease-out);
}
@media (hover: hover) {
  .team-member:hover .team-photo img {
    transform: scale(1.045);
  }
}
.team-member:focus-within .team-photo img {
  transform: scale(1.045);
}

.team-meta {
  position: relative;
  margin-top: -76px;
  background: linear-gradient(to top, rgba(16, 24, 18, 0.98) 0%, rgba(16, 24, 18, 0.8) 55%, rgba(16, 24, 18, 0) 100%);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  padding: 20px 20px 20px;
  z-index: 2;
}

.team-role {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 17.25px;
  background: linear-gradient(135deg, var(--brand-green-bright) 0%, var(--brand-green) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.25;
  display: inline-block;
}

.team-tag {
  font-size: 13.25px;
  font-weight: 600;
  color: var(--cream, #F5F1E8);
  margin-top: 2px;
}

.team-desc {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s ease, margin-top 0.3s ease;
  opacity: 0;
  margin-top: 0;
}

.team-desc-inner {
  overflow: hidden;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.85);
}

.team-expand-arrow {
  position: absolute;
  right: 20px;
  top: 24px;
  width: 20px;
  height: 20px;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: color 0.2s ease;
}

/* Enlarge the 20px arrow's physical hit area to 44px for accessibility */
.team-expand-arrow::before {
  content: '';
  position: absolute;
  inset: -12px;
  border-radius: 50%;
}

.team-expand-arrow svg {
  width: 100%;
  height: 100%;
  transition: transform 0.25s var(--ease-out);
}

.team-expand-arrow:hover,
.team-expand-arrow:focus-within {
  color: #ffffff;
}

.team-member.is-expanded .team-expand-arrow svg {
  transform: rotate(180deg);
}

.team-member.is-expanded .team-desc {
  grid-template-rows: 1fr;
  opacity: 1;
  margin-top: 10px;
}

/* ============ pricing / engagement models ============
   Card layout mirrors a clean 3-tier plan grid, themed to the app: cream
   cards with the middle tier featured in the brand's dark green. */
.pricing-head {
  margin-bottom: clamp(12px, 2vw, 20px);
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: stretch;
}

@media (min-width: 900px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--inner-card);
  border: 1px solid rgba(22, 33, 26, 0.10);
  border-radius: 28px;
  padding: clamp(24px, 3vw, 32px);
  box-shadow: 0 8px 24px -12px rgba(10, 28, 17, 0.12);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
@media (hover: hover) {
  .pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px -18px rgba(10, 28, 17, 0.22);
  }
}

/* Featured (middle) tier — the app's signature dark green in place of the
   reference's black, so the section still has one clear focal point. */
.pricing-card-featured {
  background: linear-gradient(160deg, #1E2E23 0%, #16211A 100%);
  border-color: rgba(62, 207, 126, 0.30);
  box-shadow: 0 24px 48px -18px rgba(10, 28, 17, 0.35);
}

@media (min-width: 900px) {
  .pricing-card-featured { transform: translateY(-10px); }
  @media (hover: hover) {
    .pricing-card-featured:hover { transform: translateY(-16px); }
  }
}

.pricing-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 28px;
  margin-bottom: 16px;
}

.pricing-kicker {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-2);
}

.pricing-card-featured .pricing-kicker { color: var(--brand-green-bright); }

.pricing-badge {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--ink);
  background: var(--cream);
  padding: 6px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

.pricing-desc {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-body);
  margin: 0 0 10px;
  max-width: 32ch;
}

.pricing-card-featured .pricing-desc { color: rgba(245, 241, 232, 0.72); }

.pricing-amount {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 8px;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(22, 33, 26, 0.10);
}

.pricing-card-featured .pricing-amount { border-bottom-color: rgba(245, 241, 232, 0.14); }

.pricing-amount-value {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: clamp(30px, 4vw, 40px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.pricing-card-featured .pricing-amount-value { color: var(--cream); }

.pricing-amount-period {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-body-2);
}

.pricing-card-featured .pricing-amount-period { color: rgba(245, 241, 232, 0.6); }

.pricing-feats {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

.pricing-feat {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-body);
}

.pricing-card-featured .pricing-feat { color: rgba(245, 241, 232, 0.82); }

.pricing-check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pricing-check svg { width: 12px; height: 12px; }

.pricing-card-featured .pricing-check {
  background: var(--brand-green-bright);
  color: #0B160E;
}

.pricing-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 15px 24px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  background: var(--ink);
  color: var(--cream);
  transition: transform 0.25s var(--ease-out), background 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}

.pricing-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -10px rgba(10, 28, 17, 0.40);
}

.pricing-btn:focus-visible {
  outline: 2px solid var(--brand-green);
  outline-offset: 2px;
}

/* Inverted button on the featured (dark) card, echoing the reference. */
.pricing-card-featured .pricing-btn {
  background: var(--cream);
  color: var(--ink);
}

.pricing-card-featured .pricing-btn:hover {
  background: var(--brand-green-bright);
  color: #0B160E;
}

/* ============ pricing 3D coverflow carousel ============
   Progressive enhancement: JS adds `.is-active` to .pricing-carousel to switch
   the plain grid into a perspective stage. Without JS — or under reduced
   motion (JS skips init) — the responsive grid above is what renders, so all
   three plans stay visible and comparable. */
.pricing-carousel {
  position: relative;
  /* Prevent browser from stealing horizontal swipes for navigation/pan */
  touch-action: pan-y;
}

.pricing-carousel.is-active {
  overflow: hidden;
  padding: 16px 0 12px;
  /* Break out of section padding to be full viewport width */
  margin-left: calc(-1 * max(clamp(32px, 6vw, 64px), calc((100% - 1280px) / 2)));
  margin-right: calc(-1 * max(clamp(32px, 6vw, 64px), calc((100% - 1280px) / 2)));
}

.pricing-carousel.is-active .pricing-grid {
  display: block;
  position: relative;
  height: var(--pcar-h, 540px);
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  gap: 0;
  perspective: 1500px;
  transform-style: preserve-3d;
  overflow: visible;
  touch-action: pan-y;
}

/* Cards are sized in the flow-grid rules above; here they become absolutely
   positioned stage actors. No will-change / backface-visibility and no upscale
   on the centre card — those are what make transformed layers render soft. */
.pricing-carousel.is-active .pricing-card {
  position: absolute;
  top: 0;
  left: 50%;
  width: clamp(260px, 27vw, 430px);
  margin-left: calc(clamp(260px, 27vw, 430px) / -2);
  transform-origin: center center;
  transition: transform 0.55s var(--ease-out), opacity 0.55s var(--ease-out), box-shadow 0.55s var(--ease-out);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.pricing-carousel.is-active .pricing-card.is-active-slide {
  transform: rotateY(0deg) scale(1);
  opacity: 1;
  z-index: 3;
  box-shadow: 0 34px 70px -30px rgba(10, 28, 17, 0.45);
}

.pricing-carousel.is-active .pricing-card.is-left {
  transform: translateX(calc(var(--pcar-shift, 340px) * -1)) translateZ(-160px) rotateY(36deg) scale(0.82);
  opacity: 0.72;
  z-index: 2;
  cursor: pointer;
}

.pricing-carousel.is-active .pricing-card.is-right {
  transform: translateX(var(--pcar-shift, 340px)) translateZ(-160px) rotateY(-36deg) scale(0.82);
  opacity: 0.72;
  z-index: 2;
  cursor: pointer;
}

.pricing-carousel.is-active .pricing-card.is-far {
  transform: scale(0.6);
  opacity: 0;
  pointer-events: none;
}

/* Transparent hit areas to fix 3D hit testing bugs universally on all browsers */
.pcar-hit {
  position: absolute;
  top: 0;
  bottom: 0;
  width: calc(50% - (clamp(260px, 27vw, 430px) / 2));
  z-index: 10;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.pcar-hit-left { left: 0; }
.pcar-hit-right { right: 0; }

.pricing-carousel.is-active .pricing-card.is-left:hover,
.pricing-carousel.is-active .pricing-card.is-right:hover,
.pricing-carousel.is-active:has(.pcar-hit-left:hover) .pricing-card.is-left,
.pricing-carousel.is-active:has(.pcar-hit-right:hover) .pricing-card.is-right {
  opacity: 0.92;
}

/* controls */
.pricing-carousel-ui {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 24px;
}

.pricing-nav {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(22, 33, 26, 0.14);
  background: var(--inner-card);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s var(--ease-out), color 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}

.pricing-nav svg { width: 20px; height: 20px; }

.pricing-nav:hover {
  background: var(--ink);
  color: var(--cream);
  transform: translateY(-2px);
}

.pricing-nav:focus-visible {
  outline: 2px solid var(--brand-green);
  outline-offset: 2px;
}

.pricing-dots {
  display: flex;
  align-items: center;
  gap: 4px;
}

.pricing-dot {
  width: 24px;
  height: 24px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pricing-dot::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(22, 33, 26, 0.22);
  transition: background 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}

.pricing-dot.is-active::before {
  background: var(--brand-green);
  transform: scale(1.3);
}

.pricing-dot:focus-visible {
  outline: 2px solid var(--brand-green);
  outline-offset: 2px;
  border-radius: 50%;
}

/* Click optimization: make the entire pricing card clickable universally by stretching the button overlay */
.pricing-card {
  position: relative;
}

/* When the 3D coverflow carousel is active, only the active center card triggers navigation */
.pricing-carousel.is-active .pricing-card.is-active-slide .pricing-btn::after,
/* When the carousel is inactive (e.g., standard stacked layouts), all cards trigger navigation */
.pricing-carousel:not(.is-active) .pricing-card .pricing-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 5;
  border-radius: 28px;
  cursor: pointer;
}

.pricing-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}



/* testimonials */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 14px;
  align-items: stretch;
}

.testi-card {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  background: var(--inner-card);
  border: 1px solid rgba(22, 33, 26, 0.07);
  border-radius: 24px;
  padding: 22px clamp(20px, 4vw, 28px);
  margin: 0;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s var(--ease-out), border-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}

.testi-card::before {
  content: '“';
  position: absolute;
  right: 20px;
  top: 12px;
  font-family: var(--font-headline);
  font-size: 110px;
  line-height: 1;
  font-weight: 800;
  color: rgba(22, 33, 26, 0.04);
  pointer-events: none;
}

.testi-card:hover {
  transform: translateY(-4px) scale(1.015);
  border-color: rgba(22, 33, 26, 0.15);
  box-shadow: 0 20px 40px -20px rgba(22, 33, 26, 0.12);
}

.testi-photo {
  width: 76px;
  height: 76px;
  border-radius: 16px;
  object-fit: cover;
  flex: 0 0 auto;
}

.testi-body {
  flex: 1 1 240px;
  min-width: 200px;
}

.testi-body blockquote {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.45;
  color: #2A3327;
  margin: 0;
  letter-spacing: -0.01em;
}

.testi-body figcaption {
  margin-top: 10px;
  font-size: 13.5px;
  color: var(--ink-body-2);
}

.testi-body strong {
  color: var(--ink);
}

/* FAQ */
#faq {
  background-color: #ffffff;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: clamp(16px, 2vw, 28px);
  align-items: start;
}

.faq-prompt {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-body-2);
  margin: 18px 0 0;
  max-width: 100%;
}

.faq-prompt a {
  color: var(--brand-green);
  font-weight: 600;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid rgba(22, 33, 26, 0.08);
}

.faq-list details {
  background: transparent;
  border-bottom: 1px solid rgba(22, 33, 26, 0.08);
  border-radius: 0;
  border-top: none;
  border-left: none;
  border-right: none;
  overflow: hidden;
  transition: background-color 0.25s ease;
}

.faq-list details:hover {
  transform: none;
  border-color: rgba(22, 33, 26, 0.08);
  box-shadow: none;
}

.faq-list details[open] {
  background-color: var(--mint); /* light mint green background highlight */
  border-bottom: 1px solid rgba(22, 33, 26, 0.08);
  box-shadow: none;
}

.faq-list summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  padding: 20px 16px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16.5px;
  color: var(--brand-green); /* brand green text for questions */
  transition: background-color 0.25s ease, color 0.25s ease;
}

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

.faq-list summary:hover {
  background-color: rgba(46, 139, 62, 0.04); /* very light hover overlay */
  color: var(--brand-green-dark);
}

.faq-list summary svg path {
  stroke: var(--brand-green); /* green chevron arrow */
}

.faq-list summary:hover svg path {
  stroke: var(--brand-green-dark);
}

.faq-chev {
  flex: 0 0 auto;
  transition: transform 0.25s var(--ease-out);
}

.faq-list details[open] .faq-chev {
  transform: rotate(180deg);
}

.faq-list details>p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-body);
  margin: 0;
  padding: 0 16px 20px;
  max-width: 100%;
}

/* ---------- contact ---------- */

.contact {
  position: relative;
  overflow: hidden;
  background: var(--dark-card);
  color: var(--cream);
  /* full-bleed, flush against .body-card above it — no rounded corners or
     gap between sections in the full-width layout */
  padding: clamp(28px, 4vw, 46px) max(clamp(16px, 4vw, 56px), calc((100% - 1280px) / 2));
}

.contact-blob {
  position: absolute;
  top: -90px;
  right: -70px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(124, 130, 98, 0.35), transparent 70%);
  animation: float-slow 13s ease-in-out infinite;
}

.contact-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr));
  gap: clamp(30px, 4.5vw, 56px);
  align-items: center;
}

.contact-title {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: clamp(30px, 4.5vw, 46px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--cream);
  margin: 12px 0 0;
  text-wrap: balance;
}

.contact-copy {
  font-size: 16px;
  line-height: 1.6;
  color: var(--on-dark-muted-2);
  margin: 18px 0 0;
  max-width: 100%;
}

.contact-rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
}

.contact-rows a {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--cream-2);
  font-size: 15px;
}

.contact-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-form {
  background: var(--cream);
  border-radius: 24px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

/* honeypot: off-screen (not display:none — some bots specifically skip
   hidden fields), and out of the tab order for real keyboard users */
.field-trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.field label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: #414A35;
  margin-bottom: 6px;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid rgba(22, 33, 26, 0.08);
  background: rgba(22, 33, 26, 0.03);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 14.5px;
  font-family: inherit;
  color: var(--ink);
  transition: border-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), background-color 0.25s var(--ease-out);
}

.field textarea {
  field-sizing: content;
  min-height: 120px;
  max-height: 350px;
  resize: none;
}

.field input:focus,
.field textarea:focus {
  background: rgba(22, 33, 26, 0.01);
  border-color: var(--green-1);
  box-shadow: 0 0 0 4px rgba(124, 130, 98, 0.12);
  outline: none;
}

.field.is-invalid input,
.field.is-invalid textarea {
  border-color: var(--error);
}

.field.is-invalid input:focus,
.field.is-invalid textarea:focus {
  box-shadow: 0 0 0 4px rgba(154, 67, 38, 0.12);
}

.field-error {
  color: var(--error);
  font-size: 13px;
  margin: 5px 0 0;
}

.field-error[hidden] {
  display: none;
}

.form-status {
  color: var(--error);
  font-size: 13.5px;
  line-height: 1.5;
  margin: 0;
  text-align: center;
}

.form-status[hidden] {
  display: none;
}

.form-status a {
  color: var(--error);
  font-weight: 600;
}

.contact-form button {
  background: var(--ink);
  color: var(--cream);
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  padding: 15px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.2s var(--ease-out), background 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}

.contact-form button:hover:not(:disabled) {
  transform: translateY(-3px);
  background: var(--green-fab);
  box-shadow: 0 12px 24px -8px rgba(78, 122, 70, 0.4);
}

.contact-form button:active:not(:disabled) {
  transform: translateY(-1px);
}

.contact-form button:disabled {
  opacity: 0.6;
  pointer-events: none;
}

.form-success {
  background: var(--cream);
  border-radius: 24px;
  padding: 44px 32px;
  text-align: center;
}

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

.form-success-badge {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--green-1);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto;
}

.form-success h3 {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 22px;
  color: var(--ink);
  margin: 18px 0 0;
}

.form-success p {
  font-size: 15px;
  color: var(--ink-body-2);
  margin: 8px 0 0;
}

/* ---------- footer ---------- */

.footer {
  background: var(--footer-bg);
  color: var(--cream);
  /* full-bleed, flush against .contact above it — matches the rest of the
     full-width layout instead of floating as a separate rounded block */
  padding: clamp(28px, 4vw, 42px) max(clamp(16px, 4vw, 56px), calc((100% - 1280px) / 2)) 26px;
}

/* Ensure mobile nav doesn't obscure the bottom of the footer */
@media (max-width: 767.98px) {
  .footer {
    padding-bottom: calc(100px + env(safe-area-inset-bottom, 0px));
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr));
  gap: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 500px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 16px;
  }
  .footer-grid > div:first-child {
    grid-column: 1 / -1;
    margin-bottom: 12px;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-brand-logo {
  display: block;
  width: clamp(117px, 8.5vw + 80px, 159px);
  height: clamp(53px, 3.8vw + 36px, 72px);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.footer-brand-logo:hover {
  transform: scale(1.03);
}

.footer-brand-logo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.footer-blurb {
  font-size: 14px;
  line-height: 1.6;
  color: #9C978A;
  margin: 20px 0 0;
  max-width: 250px;
}

.footer-heading {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green-5);
  margin-bottom: 14px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  text-decoration: none;
  color: #C5C1B4;
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--cream);
  text-decoration: underline;
}

.footer-social {
  display: flex;
  gap: 8px;
}

.footer-social a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream-2);
  text-decoration: none;
  transition: background 0.2s ease;
}

.footer-social a:hover {
  background: var(--green-1);
}

.footer-social .footer-social-primary {
  background: var(--cream);
  color: var(--footer-bg);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 20px;
  flex-wrap: wrap;
}

.footer-bottom span {
  font-size: 13.5px;
  color: #9C978A;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-legal a {
  font-size: 13.5px;
  color: #9C978A;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(156, 151, 138, 0.45);
}

/* ---------- animations ---------- */

@keyframes float-slow {

  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(20px) scale(1.04);
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes menu-in {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* ---------- responsive nav ----------
   Sizing (padding/gap/font-size/logo dimensions) is handled by clamp()
   formulas on the base rules above, so it scales continuously across the
   whole phone→desktop range instead of jumping at breakpoints. The one
   media query below is a genuine STRUCTURAL mode switch, not a resize:
   below 768px (the classic phone/tablet boundary) the bar becomes a
   full-width edge-to-edge strip and the nav-menu is swapped for the
   bottom tab bar; tablet and up keep the floating pill shape with the
   full link set, sized fluidly. */
@media (max-width: 767.98px) {
  .sticky-nav {
    left: 0;
    width: 100%;
    top: 0;
    height: 56px;
    border-radius: 0;
    border-left: none;
    border-right: none;
    border-top: none;
    border-bottom: 1px solid rgba(245, 241, 232, 0.12);
    /* only the vertical inset changes here (safe-area clearance for the
       notch) — horizontal padding stays on the fluid clamp() from the
       base rule so it keeps scaling smoothly through phone widths too */
    padding-top: calc(1.5px + env(safe-area-inset-top, 0px));
    padding-bottom: 1.5px;
    /* always visible on top, same as desktop — no more translateY hide/
       slide-down; .is-visible now only controls the glass-gradient state */
    justify-content: space-between;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.55);
    /* concave "scooped" corners at the bottom of the bar (not a rounded
       rectangle — the corners curve INWARD, like a tucked tab hanging off
       the top of the screen). Built with a mask instead of clip-path so it
       still works against the bar's own fluid width/auto height and its
       animated gradient / blurred glass state, rather than a fixed shape
       baked in at author time.
       Recipe: a full opaque rectangle, then two small opaque quarter-discs
       centered exactly on the bottom corners, each XORed ("exclude") out
       of the rectangle — wherever a disc overlaps the opaque rectangle,
       the result goes transparent, carving the scoop. */
  }

  .nav-menu {
    display: none;
  }

  .mobile-nav {
    display: block;
  }

  .nav-hamburger {
    display: flex;
  }

  .nav-mobile-scrim,
  .nav-mobile-panel {
    display: block;
  }

  .shell {
    /* the persistent sticky-nav is fixed/always-visible now (not just after
       scroll), but instead of adding padding-top to the shell (which would expose
       the light mint background gap below the navbar), we clear it inside
       .hero-top so its own background runs full-bleed to the top viewport edge. */
    padding-top: 0;
    padding-bottom: 0;
  }

  .footer {
    padding-bottom: calc(105px + env(safe-area-inset-bottom, 0px));
  }

  .hero-top {
    /* clear the fixed 56px sticky-nav height and provide a breathing gap */
    padding-top: calc(56px + 12px + env(safe-area-inset-top, 0px));
  }

  .team-member:nth-child(even) {
    margin-top: 0;
  }
}

/* small phones — tighten the overlay footer for the narrower card */
@media (max-width: 480px) {
  .card-footer {
    padding: 11px 12px;
  }

  .card-footer h3 {
    font-size: 12.5px;
    line-height: 1.25;
  }
}

/* ---------- scroll progress bar ---------- */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  max-width: 100%;
  background-color: var(--brand-green, #3ECF7E); /* fallback solid color */
  background: linear-gradient(90deg, var(--green-2), var(--green-1));
  z-index: 100;
  pointer-events: none;
  transform-origin: 0 50%;
  transform: scaleX(0);
  will-change: transform;
}

@supports (animation-timeline: scroll()) {
  .scroll-progress {
    transform: none !important;
    scale: 0 1;
    animation: scroll-progress auto linear;
    animation-timeline: scroll();
    will-change: scale;
  }

  @keyframes scroll-progress {
    to {
      scale: 1 1;
    }
  }
}

/* ---------- refinements ---------- */

/* enlarge the service card link hit area to ~46px without changing its look */
/* cheaper initial render for the static below-the-fold footer */
.footer {
  content-visibility: auto;
  contain-intrinsic-size: 0 480px;
}

/* accessible placeholder contrast on the cream form inputs */
.field input::placeholder,
.field textarea::placeholder {
  color: #7A7666;
}

/* text-only secondary CTA */
.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  padding: 11px 4px;
}

.btn-text:hover .btn-arrow {
  transform: translateX(4px);
}

/* Animations */
@keyframes terraFadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes terraScaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

.animate-fade-up { animation: terraFadeUp 0.8s var(--ease-out) both; }
.animate-scale-in { animation: terraScaleIn 1s var(--ease-out) both; }

.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }
.delay-600 { animation-delay: 0.6s; }
.delay-700 { animation-delay: 0.7s; }
.delay-800 { animation-delay: 0.8s; }
.delay-900 { animation-delay: 0.9s; }
.delay-1000 { animation-delay: 1.0s; }
.delay-1100 { animation-delay: 1.1s; }

/* ---------- FAQ layout ---------- */
.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

@media (min-width: 992px) {
  .faq-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: start;
  }
}

/* ---------- inverted sections (green gradient background variation) ---------- */
.section-inverted {
  background: linear-gradient(135deg, rgba(8, 29, 18, 0.98) 0%, rgba(20, 66, 36, 0.96) 100%) !important;
  color: var(--cream) !important;
}

.section-inverted .h2-md,
.section-inverted .h2-lg,
.section-inverted .h2-xl,
.section-inverted .section-head,
.section-inverted h3,
.section-inverted .eyebrow {
  color: var(--cream) !important;
}

.section-inverted p,
.section-inverted .service-desc,
.section-inverted .faq-answer,
.section-inverted .faq-prompt {
  color: rgba(245, 241, 232, 0.75) !important;
}

.section-inverted .faq-prompt a {
  color: var(--brand-green-bright) !important;
}

/* Inverted highlights: color highlighted words in bright mint/green */
.section-inverted .hl-problem,
.section-inverted .hl-outcome {
  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  -webkit-text-fill-color: initial !important;
  color: var(--brand-green-bright) !important;
  font-weight: 800;
  display: inline;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
}

/* Service cards inside inverted sections */
.section-inverted .service-card {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: var(--cream) !important;
}

.section-inverted .service-card h3 {
  color: var(--cream) !important;
}

.section-inverted .service-card .service-arrow {
  color: var(--cream) !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
}
@media (hover: hover) {
  .section-inverted .service-card:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: var(--brand-green-bright) !important;
  }
}

.section-inverted .btn-dark {
  background: var(--cream) !important;
  color: var(--ink) !important;
}

.section-inverted .btn-dark:hover {
  background: var(--brand-green-bright) !important;
  color: var(--ink) !important;
  transform: translateY(-2px);
}



/* ---------- Card Headings Override ---------- */
.service-card h3 {
  font-family: var(--font-body) !important;
  text-transform: uppercase !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em !important;
}

/* ---------- Google Review Widgets ---------- */
.google-review-card {
  position: relative;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 24px;
  width: 320px;
  height: auto;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.google-review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12), 0 4px 16px rgba(0, 0, 0, 0.06);
}

/* Force light look even in dark sections */
.section-inverted .google-review-card {
  background-color: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.2);
}

.google-review-top {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.google-review-header {
  display: flex;
  align-items: center;
}

.reviewer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.reviewer-info {
  margin-left: 12px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.reviewer-name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  color: #111;
  line-height: 1.2;
}

.review-time {
  font-size: 12px;
  color: #666;
  margin-top: 2px;
}

.google-icon {
  flex-shrink: 0;
  transform: scale(0.9);
}

.review-stars {
  display: flex;
  gap: 2px;
  margin-top: 12px;
}
.review-stars svg {
  width: 14px;
  height: 14px;
}

.review-text {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.5;
  color: #222;
}

/* ---------- Reviews Marquee ---------- */
.reviews-marquee {
  width: 100%;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}


.reviews-marquee-track {
  display: flex;
  align-items: stretch;
  gap: 24px;
  overflow-x: auto;
  scrollbar-width: none; /* Firefox */
  padding: 12px 2px 20px;
}

.reviews-marquee-track::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

/* ---------- Header with actions & Navigation buttons ---------- */
.section-head--with-actions {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
}

.reviews-actions {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.reviews-btn {
  background: var(--inner-card);
  border: 1px solid rgba(22, 33, 26, 0.08);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink);
  transition: background 0.25s var(--ease-out), border-color 0.25s var(--ease-out), transform 0.2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.reviews-btn:hover {
  background: var(--tag-bg);
  border-color: rgba(22, 33, 26, 0.15);
  transform: scale(1.05);
}

.reviews-btn:active {
  transform: scale(0.95);
}

.reviews-btn svg {
  display: block;
}

/* ---------- Logo Marquee ---------- */
.logo-marquee-wrapper {
  position: relative;
  margin-top: 48px;
}

.logo-marquee-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-bottom: 12px;
  padding-right: clamp(16px, 4vw, 56px);
}

.logo-btn {
  background: var(--inner-card);
  border: 1px solid rgba(22, 33, 26, 0.08);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink);
  transition: background 0.25s var(--ease-out), border-color 0.25s var(--ease-out), transform 0.2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.logo-btn:hover {
  background: var(--tag-bg);
  border-color: rgba(22, 33, 26, 0.15);
  transform: scale(1.05);
}

.logo-btn:active {
  transform: scale(0.95);
}

.logo-btn svg {
  display: block;
}

.logo-marquee {
  width: 100%;
  overflow: hidden;
  padding: 24px 0;
  display: flex;
  background-color: #FFFFFF; /* changed from beige to properly white */
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.logo-marquee-track {
  display: flex;
  align-items: center;
  gap: 48px;
  overflow-x: auto;
  scrollbar-width: none;
  width: 100%;
}

.logo-marquee-track::-webkit-scrollbar {
  display: none;
}

.marquee-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  text-decoration: none;
  color: #111;
  transition: opacity 0.3s;
  flex-shrink: 0;
}

.marquee-link:hover {
  opacity: 0.7;
}

.marquee-text {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 48px;
  letter-spacing: -0.02em;
}

.marquee-badge {
  height: 64px;
  width: auto;
  border-radius: 50%;
  border: 1px dashed #111;
  padding: 8px;
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}


/* ============ final polish: keyboard focus + anchor offset ============ */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--brand-green);
  outline-offset: 2px;
}

/* Brighter ring on dark surfaces so focus stays visible against them. */
.sticky-nav :focus-visible,
.mobile-nav :focus-visible,
.nav-mobile-panel :focus-visible,
.footer :focus-visible,
.contact :focus-visible,
.section-inverted :focus-visible,
.pricing-card-featured :focus-visible {
  outline-color: var(--brand-green-bright);
}

/* Clicking a nav link should land the heading below the sticky bar, not under it. */
#top,
#process,
#services,
#about,
#testimonials,
#pricing,
#contact,
#faq {
  scroll-margin-top: clamp(80px, 12vw, 104px);
}


/* ============ process: interactive 3D node-flow infographic ============ */
.flow {
  --node: clamp(94px, 9vw, 120px);
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 3vw, 48px);
  margin-top: clamp(36px, 5vw, 60px);
}

/* the "bridge" pipe running through the node centres */
.flow::before {
  content: "";
  position: absolute;
  top: calc(var(--node) / 2);
  left: 16%;
  right: 16%;
  height: 6px;
  transform: translateY(-50%) scaleX(0);
  transform-origin: left center;
  transition: transform 0.9s var(--ease-out);
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-green-dark), var(--brand-green), var(--brand-green-bright), var(--brand-green));
  background-size: 250% 100%;
  animation: flow-shift 7s linear infinite;
  box-shadow: 0 6px 16px -6px rgba(33, 107, 46, 0.5);
  z-index: 0;
}

@keyframes flow-shift { to { background-position: -250% 0; } }

.flow-step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  perspective: 900px;
}

.flow-node {
  position: relative;
  width: var(--node);
  height: var(--node);
  display: grid;
  place-items: center;
  transform-style: preserve-3d;
  transform: rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg));
  transition: transform 0.35s var(--ease-out);
}

.flow-node-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 140deg, var(--brand-green-bright), var(--brand-green-dark), var(--brand-green), var(--brand-green-bright));
  box-shadow: 0 16px 32px -12px rgba(33, 107, 46, 0.55);
  transition: box-shadow 0.4s var(--ease-out);
}

.flow-node-core {
  position: relative;
  z-index: 1;
  width: 74%;
  height: 74%;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #ffffff, var(--inner-card) 80%);
  display: grid;
  place-items: center;
  color: var(--brand-green-dark);
  box-shadow: 0 8px 20px -8px rgba(10, 28, 17, 0.35), inset 0 2px 3px rgba(255, 255, 255, 0.9);
  transform: translateZ(20px);
}

.flow-icon svg {
  width: calc(var(--node) * 0.3);
  height: calc(var(--node) * 0.3);
}

.flow-num {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-headline);
  font-size: 12px;
  letter-spacing: 0.02em;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 14px -6px rgba(10, 28, 17, 0.55);
  transform: translateZ(34px);
}

/* hover / focus: lift the node, glow + spin the ring */
.flow-step:hover .flow-node,
.flow-step:focus-within .flow-node {
  transform: translateY(-10px) scale(1.06) rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg));
}

.flow-step:hover .flow-node-ring {
  animation: ring-spin 3.2s linear infinite;
  box-shadow: 0 24px 46px -12px rgba(33, 107, 46, 0.6);
}

@keyframes ring-spin { to { transform: rotate(360deg); } }

.flow-body {
  margin-top: 24px;
  max-width: 30ch;
}

.flow-title {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ink);
  margin: 0 0 8px;
}

.flow-desc {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-body);
  margin: 0;
}

/* vertical stack on narrow screens */
@media (max-width: 720px) {
  .flow {
    grid-template-columns: 1fr;
    row-gap: 26px;
  }
  .flow::before {
    top: calc(var(--node) / 2);
    bottom: calc(var(--node) / 2);
    left: calc(var(--node) / 2);
    right: auto;
    width: 6px;
    height: auto;
    transform: translateX(-50%);
    background: linear-gradient(180deg, var(--brand-green-dark), var(--brand-green), var(--brand-green-bright), var(--brand-green));
    background-size: 100% 250%;
    animation: flow-shift-v 7s linear infinite;
  }
  .flow-step {
    flex-direction: row;
    align-items: center;
    gap: 18px;
    text-align: left;
  }
  .flow-node { flex-shrink: 0; }
  .flow-body {
    margin-top: 0;
    text-align: left;
    max-width: none;
  }
}

@keyframes flow-shift-v { to { background-position: 0 -250%; } }


/* ---- process node-flow: draw-on-scroll (line draws, then nodes pop) ---- */
.flow.is-drawn::before { transform: translateY(-50%) scaleX(1); }

.js .flow-step {
  opacity: 0;
  transform: translateY(18px) scale(0.92);
}
.flow.is-drawn .flow-step {
  opacity: 1;
  transform: none;
  transition: opacity 0.5s var(--ease-out), transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.flow.is-drawn .flow-step:nth-child(1) { transition-delay: 0.30s; }
.flow.is-drawn .flow-step:nth-child(2) { transition-delay: 0.52s; }
.flow.is-drawn .flow-step:nth-child(3) { transition-delay: 0.74s; }

@media (max-width: 720px) {
  .flow::before {
    transform-origin: center top;
    transform: translateX(-50%) scaleY(0);
  }
  .flow.is-drawn::before { transform: translateX(-50%) scaleY(1); }
}

/* ============ About: gentle animated pastel wash ============
   A soft mint -> yellow-green mesh that drifts very slowly behind the section.
   Uses background-position (not transform) so no overflow clip is needed — the
   sticky "Who we are" column keeps working. Goes static under reduced motion. */
#about { position: relative; }
#about > * { position: relative; z-index: 1; }
#about::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(42% 55% at 18% 22%, rgba(62, 207, 126, 0.20), transparent 66%),
    radial-gradient(46% 58% at 82% 28%, rgba(208, 222, 130, 0.22), transparent 66%),
    radial-gradient(52% 62% at 55% 95%, rgba(240, 236, 185, 0.26), transparent 66%),
    radial-gradient(44% 54% at 80% 74%, rgba(180, 205, 150, 0.18), transparent 66%);
  background-size: 175% 175%;
  background-position: 0% 0%;
  animation: about-drift 28s ease-in-out infinite alternate;
}
@keyframes about-drift {
  0%   { background-position: 0% 0%; }
  50%  { background-position: 100% 40%; }
  100% { background-position: 60% 100%; }
}

/* ---------- Floating WhatsApp Button ---------- */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35), 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 99;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.whatsapp-float:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45), 0 6px 12px rgba(0, 0, 0, 0.15);
}

.whatsapp-float:active {
  transform: scale(0.96) translateY(0);
}

.whatsapp-icon {
  width: 28px;
  height: 28px;
  display: block;
}

@media (max-width: 820px) {
  .whatsapp-float {
    right: 20px;
    bottom: calc(92px + env(safe-area-inset-bottom, 0px));
  }
}
