/* ==========================================================================
   Sync19 — Design Tokens
   Light-mode-only palette (no dark mode / no prefers-color-scheme logic).
   --bg-dark / --surface-dark / --border-dark / --text-dark-* are NOT a dark
   mode — they're the existing dark-section-band pattern used by the hero,
   the "Results That Matter" band, and the footer, and are left as-is per
   this update (only the light-context tokens below were replaced).

   --color-accent (chartreuse) is a FILL-ONLY color: primary CTA buttons,
   active/selected states, highlight badges, key stat callouts. Never used
   as text on --bg/--surface, and never as a border/outline (near-zero
   contrast against both). Capped at 1–2 uses per screen — see usage notes
   at each call site below.
   --color-primary (cobalt) carries the rest of the interactive weight:
   hover states, links, focus rings, icons, nav active state.
   ========================================================================== */
:root {
  --bg-dark: #0A0A0A;
  --bg-light: #faf7f6;                  /* --color-bg */
  --surface-dark: #1C1E21;
  --surface-light: #ffffff;             /* --color-surface */
  --border-dark: #3A3C40;
  --border-light: #DDDFE3;              /* --color-border */
  --border-light-strong: #C9CCD2;       /* --color-border-strong — table rows, active/focused input */
  --text-dark-primary: #F6F6F4;
  --text-dark-secondary: #9A9DA2;
  --text-light-primary: #1F2228;        /* --color-text */
  --text-light-secondary: #636874;      /* --color-text-muted */

  --accent: #1957E6;                    /* now cobalt (was chartreuse #DBED67) */
  --accent-text: #FFFFFF;               /* --color-accent-text — text/icon ON an accent fill */
  --on-accent: #FFFFFF;                 /* text/icon for accent used inside a .section--dark context */

  --accent-secondary: #1957E6;          /* --color-primary, cobalt — hover/links/focus/icons/nav-active */
  --accent-secondary-hover: #123F99;
  --accent-secondary-tint: rgba(25, 87, 230, 0.14);
  --accent-secondary-glow-strong: rgba(25, 87, 230, 0.32);
  --on-accent-secondary: #FFFFFF;       /* --color-primary-text — text/icon ON a cobalt fill */

  --success: #3f8f5c;
  --danger: #c1443a;

  /* Contextual tokens — default to LIGHT, overridden inside .hero / .section--dark */
  --bg: var(--bg-light);
  --surface: var(--surface-light);
  --border-color: var(--border-light);
  --text-primary: var(--text-light-primary);
  --text-secondary: var(--text-light-secondary);

  --focus-ring: var(--accent-secondary);

  /* Typography — Funnel (Dicotype), loaded from Google Fonts */
  --font-heading: 'Funnel Display', 'Segoe UI', sans-serif;
  --font-body: 'Funnel Sans', 'Segoe UI', sans-serif;

  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1rem;
  --fs-h4: 1.125rem;
  --fs-lg: 1.375rem;
  --fs-xl: 1.625rem;
  --fs-2xl: 2.25rem;
  --fs-3xl: 2.625rem;
  --fs-4xl: 3.625rem;
  --fs-stat: clamp(2.4rem, 1.9rem + 2vw, 3.4rem);

  --lh-tight: 1.12;
  --lh-snug: 1.32;
  --lh-body: 1.65;

  /* Spacing (8px rhythm) */
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --space-10: 8rem;

  --radius-sm: 10px;
  --radius-lg: 22px;
  --radius-full: 999px;

  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 12px 28px rgba(0, 0, 0, 0.10);
  --shadow-glow: 0 20px 44px -12px var(--accent-secondary-glow-strong);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 180ms;
  --dur-base: 300ms;
  --dur-slow: 500ms;

  --container-w: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --header-h: 96px; /* floating pill (66px) + top offset + breathing room */
}

@media (prefers-reduced-motion: reduce) {
  :root { --dur-fast: 0ms; --dur-base: 0ms; --dur-slow: 0ms; }
}

/* ==========================================================================
   Reset
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, picture, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
table { border-collapse: collapse; }

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  color: var(--text-light-primary);
  background: var(--bg-light);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: var(--lh-tight);
  letter-spacing: -0.02em;
  color: var(--text-primary);
}
h1 { font-size: var(--fs-3xl); font-weight: 700; letter-spacing: -0.03em; }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-h4); font-weight: 600; }

p { color: var(--text-secondary); }

.text-accent { color: var(--accent-secondary); }

:focus-visible {
  outline: 2.5px solid var(--focus-ring);
  outline-offset: 3px;
  border-radius: 4px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -60px;
  background: var(--accent);
  color: var(--accent-text);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  z-index: 1000;
  transition: top var(--dur-fast) var(--ease-out);
}
.skip-link:focus { top: var(--space-4); }

/* ==========================================================================
   Layout helpers
   ========================================================================== */
.container {
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--space-9); position: relative; background: var(--bg-light); }
.section--tight { padding-block: var(--space-8); }
.section + .section { margin-top: var(--space-7); }
.section--dark {
  --bg: var(--bg-dark);
  --surface: var(--surface-dark);
  --border-color: var(--border-dark);
  --text-primary: var(--text-dark-primary);
  --text-secondary: var(--text-dark-secondary);
  background: var(--bg-dark);
  color: var(--text-dark-primary);
}

/* AI Assessment — "How It Works" + "Cost of Waiting" merged into a single
   dark panel: same background, no seam between them, rounded only on the
   two true outer corners. */
.assessment-dark-band--top { padding-bottom: var(--space-10); }
.assessment-dark-band--bottom {  padding-top: var(--space-10); padding-bottom: var(--space-10); }
.assessment-dark-band--top + .assessment-dark-band--bottom { margin-top: 10; }

.grid { display: grid; gap: var(--space-6); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .grid-4 { grid-template-columns: 1fr; }
}

.section-head { position:relative;max-width: 680px; margin-bottom: var(--space-8); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { font-size: var(--fs-md); margin-top: var(--space-4); }

/* Reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* Per-card entrance stagger for grids of cards */
.feature-grid > *:nth-child(1), .why-grid > *:nth-child(1), .plan-grid > *:nth-child(1), .grid-4 > *:nth-child(1), .timeline > *:nth-child(1), .problem-list > *:nth-child(1) { transition-delay: 0ms; }
.feature-grid > *:nth-child(2), .why-grid > *:nth-child(2), .plan-grid > *:nth-child(2), .grid-4 > *:nth-child(2), .timeline > *:nth-child(2), .problem-list > *:nth-child(2) { transition-delay: 0ms; }
.feature-grid > *:nth-child(3), .why-grid > *:nth-child(3), .plan-grid > *:nth-child(3), .grid-4 > *:nth-child(3), .timeline > *:nth-child(3), .problem-list > *:nth-child(3) { transition-delay: 0ms; }
.feature-grid > *:nth-child(4), .why-grid > *:nth-child(4), .grid-4 > *:nth-child(4), .problem-list > *:nth-child(4) { transition-delay: 0ms; }
.feature-grid > *:nth-child(5) { transition-delay: 0ms; }
.feature-grid > *:nth-child(6) { transition-delay: 0ms; }
.problem-list > *:nth-child(5) { transition-delay: 0ms; }

/* ==========================================================================
   Buttons — architectural rounded-rect, ekona style
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--fs-sm);
  padding: 0.75rem 1.875rem;
  border-radius: 5px 5px 5px 5px;
  border: 1.5px solid transparent;
  transition: transform var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; transition: transform var(--dur-fast) var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary {
  background: var(--accent-secondary);
  color: var(--on-accent-secondary);
  box-shadow: 0 10px 24px -6px var(--accent-secondary-glow-strong);
}
.btn--primary:hover { background: var(--accent-secondary-hover); box-shadow: 0 14px 32px -6px var(--accent-secondary-glow-strong); transform: translateY(-2px); }

.btn--dark {
  background: var(--text-primary);
  color: var(--bg);
}
.btn--dark:hover { background: var(--accent-secondary); color: var(--on-accent-secondary); transform: translateY(-2px); }

.btn--block { width: 100%; }
.btn--lg { padding: 0.775rem 2.375rem; font-size: var(--fs-base); }
.btn--sm { padding: 0.45rem 1.425rem; font-size: var(--fs-xs); }

/* ==========================================================================
   Header / Nav — floating "liquid glass" pill (inspired by the liquid-glass-navbar
   Framer component): blurred + saturated glass, a specular top highlight that
   catches the light, and a lift shadow. Stays dark-tinted regardless of what
   scrolls underneath so it reads consistently over both light and dark sections.
   ========================================================================== */
.site-header {
  position: fixed;
  width: 1200px;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  z-index: 500;
  width: min(calc(100% - 32px), var(--container-w));
  height: 66px;
  display: flex;
  align-items: center;
  border-radius: 7px 7px 7px 7px;
  background: #FDFDFC;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 12px 32px rgba(0, 0, 0, 0.22);
  transition: background var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), width var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}
/* Slides out of view while scrolling down; returns as soon as the user scrolls back up. */
.site-header.is-hidden { transform: translateX(-50%) translateY(calc(-100% - 24px)); }
.site-header.is-scrolled {
  background: #FDFDFC;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 16px 40px rgba(0, 0, 0, 0.32);
}

/* Home page only: the header starts out floating over the light hero, so its
   glass reads much paler there — swap to dark text/logo until scrolled past it. */

.site-header__inner {
  position: relative;
  width: 100%;
  margin-inline: auto;
  padding-inline: var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
}
.brand { display: inline-flex; align-items: center; }
.brand__logo {
  height: 30px;
  width: auto;
}
.footer-brand .brand__logo { height: 60px; }

.nav { display: flex; align-items: center; gap: var(--space-7); }
.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 1.6vw, 2rem);
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.nav__links a {
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  font-weight: 500;
  white-space: nowrap;
  color: var(--bg-dark);
  position: relative;
  padding-block: 0.4rem;
  transition: color var(--dur-fast) var(--ease-out);
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: -2px;
  height: 2px;
  background: var(--accent-secondary);
  border-radius: 2px;
  transition: right var(--dur-base) var(--ease-out);
}
.nav__links a:hover { color: var(--text-primary); }
.nav__links a:hover::after { right: 0; }
.nav__links a[aria-current="page"] { color: var(--text-primary); }
.nav__links a[aria-current="page"]::after { right: 0; }
.nav__cta { display: flex; align-items: center; gap: var(--space-3); }

/* Shimmering CTA — a light sweep loops across the header's primary button */
.btn--shimmer { position: relative; overflow: hidden; }
.btn--shimmer::after {
  content: "";
  position: absolute;
  top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255,255,255,0.55), transparent);
  transform: skewX(-20deg);
  animation: shimmer-sweep 4.5s ease-in-out infinite;
}
@keyframes shimmer-sweep {
  0%, 35% { left: -60%; }
  65%, 100% { left: 130%; }
}
@media (prefers-reduced-motion: reduce) {
  .btn--shimmer::after { animation: none; display: none; }
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 42px;
  background: transparent;
  border: 1.5px solid rgba(10, 10, 10, 0.2);
  border-radius: var(--radius-sm);
}
.nav-toggle span {
  display: block;
  width: 18px; height: 2px;
  background: var(--bg-dark);
  margin-inline: auto;
  transition: transform var(--dur-fast) var(--ease-out), opacity var(--dur-fast) var(--ease-out);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  /* Dropdown card under the header pill. (position:fixed can't be used here:
     the header's transform makes it the containing block, which collapsed
     the old full-screen drawer into a small box.) */
  .nav__links {
    position: absolute;
    top: calc(100% + 22px);
    left: 0; right: 0;
    background: var(--bg-light);
    border: 1px solid rgba(10, 10, 10, 0.08);
    border-radius: 10px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--space-3) var(--space-5);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out), visibility var(--dur-base);
    max-height: calc(100vh - 110px);
    overflow-y: auto;
  }
  .nav__links.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav__links li + li a { border-top: 1px solid rgba(10, 10, 10, 0.08); }
  .nav__links a { display: block; padding: 0.95rem 0; font-size: var(--fs-md); color: var(--text-light-primary); }
  .nav__links a::after { display: none; }
  .nav__links a[aria-current="page"] { color: var(--accent-secondary); }
}

.sticky-cta {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 480;
  padding: var(--space-3) var(--gutter);
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--border-dark);
}
@media (max-width: 640px) {
  .sticky-cta { display: block; }
  .sticky-cta .btn { width: 100%; }
}

/* Back-to-top button (injected by main.js), bottom-left of the viewport */
.back-to-top {
  position: fixed;
  right: 20px; bottom: 20px;
  z-index: 470;
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  border: 0;
  border-radius: 50%;
  background: var(--accent-secondary);
  color: var(--on-accent-secondary);
  box-shadow: 0 10px 24px -6px var(--accent-secondary-glow-strong);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out), visibility var(--dur-base), background var(--dur-fast) var(--ease-out);
}
.back-to-top svg { width: 20px; height: 20px; }
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--accent-secondary-hover); }
.back-to-top:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 3px; }
@media (max-width: 640px) {
  .back-to-top { right: 16px; bottom: 16px; }
  .has-sticky-cta .back-to-top { bottom: 84px; }
}

/* ==========================================================================
   Hero — dark by default (like ekona.ai); the home page opts into
   .hero--light with an ambient-background + orbit-rings treatment instead
   (inspired by orbitglobe.framer.website / ambient-background / floating-animation).
   ========================================================================== */
.hero {
  --surface: var(--surface-dark);
  --border-color: var(--border-dark);
  --text-primary: var(--text-dark-primary);
  --text-secondary: var(--text-dark-secondary);
  background: var(--bg-dark);
  color: var(--text-dark-primary);
  padding-top: calc(var(--header-h) + var(--space-9));
  padding-bottom: var(--space-8);
  position: relative;
  overflow: clip;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: radial-gradient(rgba(255,255,255,0.09) 1px, transparent 1px);
  background-size: 26px 26px;
  background-position: -10px -10px;
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 96%);
  mask-image: linear-gradient(180deg, #000 55%, transparent 96%);
}
.hero__content { position: relative; z-index: 1; max-width: 780px; }
.hero__content--center { margin-inline: auto; text-align: center; }
.hero h1 { margin-bottom: var(--space-5); }
.hero__desc { font-size: var(--fs-md); max-width: 620px; margin-bottom: var(--space-6); }
.hero__content--center .hero__desc { margin-inline: auto; }
.hero__actions { display: flex; align-items: center; gap: var(--space-5); flex-wrap: wrap; }
.hero__content--center .hero__actions { justify-content: center; }
.hero__link-cta { font-family: var(--font-heading); font-weight: 600; font-size: var(--fs-sm); display: inline-flex; align-items: center; gap: 0.4rem; color: var(--text-primary); }
.hero__link-cta svg { width: 16px; height: 16px; transition: transform var(--dur-fast) var(--ease-out); }
.hero__link-cta:hover { color: var(--accent-secondary); }
.hero__link-cta:hover svg { transform: translateY(3px); }

/* Trusted-by text ticker (sits within the hero) — a slim, 1-inch-tall strip */
.ticker {
  position: relative;
  bottom: -250px;
  z-index: 1;
  margin-top: var(--space-9);
  height: 1in;
  display: flex;
  align-items: center;
}
.ticker::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  width: 100vw;
  margin-left: -50vw;
  border-top: 1px solid var(--border-color);
}
.ticker__track { gap: var(--space-4) !important; }
.ticker__item {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--fs-xs);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: color var(--dur-fast) var(--ease-out);
}
.ticker__item--tag { color: var(--accent-secondary); }
.marquee:hover .ticker__item { color: var(--text-primary); }
.ticker__dot { color: var(--border-color); font-size: var(--fs-xs); }

/* ---- Home hero: light theme, no ambient glow — a bubble cluster instead ---- */
.hero--light {
  --surface: var(--surface-light);
  --border-color: var(--border-light);
  --text-primary: var(--text-light-primary);
  --text-secondary: var(--text-light-secondary);
  background: var(--bg-light);
  color: var(--text-light-primary);
}
.hero--light::before { background-image: radial-gradient(rgba(16,16,16,0.07) 1px, transparent 1px); }

/* ---- Periwinkle Mist hero — same light-text-on-light-bg contrast tokens as
   the light panels, used on pages that want the mist band up top. ---- */
.hero--periwinkle {
  --bg: #c5cbeb;
  --surface: #ffffff;
  --border-color: rgba(19, 31, 68, 0.18);
  --text-primary: #131f44;
  --text-secondary: #4a4f6b;
  background: #c5cbeb;
  color: #131f44;
}
.hero--periwinkle::before { background-image: radial-gradient(rgba(19,31,68,0.10) 1px, transparent 1px); }

.hero__layout { display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: var(--space-8); }
@media (max-width: 900px) { .hero__layout { grid-template-columns: 1fr; } }
/* Home hero has no second grid item (the video fills the background instead
   of a side-by-side image), so its content column is forced full-width —
   otherwise --center only centers text within the empty grid's left half. */
.home-hero .hero__layout { grid-template-columns: 1fr; }
/* Nudge the hero copy + buttons 20px lower (visual only, ticker/layout unchanged). */
.home-hero .hero__content { top: 20px; }

/* Standalone pages (Blog, FAQ) have no hero — clear the fixed floating header. */
.section--page-top { padding-top: calc(var(--header-h) + var(--space-8)); }

/* Progressive-blur edges (à la logoblur): a real backdrop-blur that fades to
   nothing toward the center, rather than a flat opacity mask. */
.marquee { position: relative; overflow: hidden; width: 100vw; flex: 0 0 100vw; margin-left: 50%; transform: translateX(-50%); }
.marquee__blur {
  position: absolute;
  top: 0; bottom: 0;
  width: clamp(60px, 14vw, 160px);
  z-index: 2;
  pointer-events: none;
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
}
.marquee__blur--left { left: 0; -webkit-mask-image: linear-gradient(90deg, #000, transparent); mask-image: linear-gradient(90deg, #000, transparent); }
.marquee__blur--right { right: 0; -webkit-mask-image: linear-gradient(270deg, #000, transparent); mask-image: linear-gradient(270deg, #000, transparent); }
.marquee__track { display: flex; align-items: center; gap: var(--space-9); width: max-content; animation: marquee 28s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
/* ==========================================================================
   Feature grid — "What We Do" cards. Plain bordered cards, 3 per row; on
   hover the card inverts to a solid black fill with the icon, number,
   heading and description all switching to the light bg color.
   ========================================================================== */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
@media (max-width: 900px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .feature-grid { grid-template-columns: 1fr; } }

.feature-card {
  background: var(--surface);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-7);
  min-height: 300px;
  transition: background var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}
.feature-card:hover { background: #0A0A0A; border-color: #0A0A0A; transform: translateY(-4px); }

.feature-card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--space-5); }
.feature-card__icon { display: flex; color: var(--accent-secondary); transition: color var(--dur-base) var(--ease-out); }
.feature-card__icon svg { width: 30px; height: 30px; }
.feature-card__num { font-family: var(--font-heading); font-weight: 700; font-size: var(--fs-sm); color: var(--text-secondary); transition: color var(--dur-base) var(--ease-out); }

.feature-card h3 { margin-bottom: var(--space-3); transition: color var(--dur-base) var(--ease-out); }
.feature-card p { transition: color var(--dur-base) var(--ease-out); }

.feature-card:hover .feature-card__icon,
.feature-card:hover .feature-card__num,
.feature-card:hover h3,
.feature-card:hover p {
  color: var(--bg-light);
}

/* ==========================================================================
   Why-tiles — editorial variant for "Why Choose Us": all four tiles are
   uniform, separated by a single vertical divider only (no boxed cards).
   Icons are outlined squares; hover changes only the icon's border color,
   never its fill.
   ========================================================================== */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.why-tile { position: relative; padding-right: var(--space-6); }
.why-tile:not(:first-child) { padding-left: var(--space-6); border-left: 1px solid var(--border-color); }
.why-tile__top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: var(--space-6); }
.why-tile__icon {
  width: 44px; height: 44px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-secondary);
  transition: border-color var(--dur-base) var(--ease-out);
}
.why-tile__icon svg { width: 19px; height: 19px; }
.why-tile:hover .why-tile__icon { border-color: var(--accent-secondary); }
.why-tile__num { font-family: var(--font-heading); font-weight: 700; font-size: var(--fs-sm); color: var(--text-secondary); opacity: 0.6; }
.why-tile h3 { font-size: var(--fs-md); margin-bottom: var(--space-3); }
.why-tile p { font-size: var(--fs-sm); color: var(--text-secondary); }
@media (max-width: 980px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); row-gap: var(--space-7); }
  .why-tile:nth-child(3) { border-left: none; padding-left: 0; }
}
@media (max-width: 600px) {
  .why-grid { grid-template-columns: 1fr; row-gap: var(--space-6); }
  .why-tile:not(:first-child) { border-left: none; padding-left: 0; border-top: 1px solid var(--border-color); padding-top: var(--space-6); }
}

/* ==========================================================================
   Plan cards (How We Do It) — static 3-column grid
   ========================================================================== */
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); align-items: stretch; }
@media (max-width: 980px) { .plan-grid { grid-template-columns: 1fr; } }
/* Widen each tile ~20px: stretching the grid 60px (3 columns) via a symmetric
   negative margin, absorbed by the section gutter rather than breaking full-bleed. */
@media (min-width: 981px) { .plan-grid { margin-inline: -30px; } }

.plan-panel {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1.5px solid var(--border-color);
  border-radius: 10px 10px 10px 10px;
  padding: var(--space-6);
  position: relative;
  transition: border-color var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.plan-panel:hover { border-color: var(--accent-secondary); transform: translateY(-6px); box-shadow: var(--shadow-glow); }
.plan-panel--popular { border-color: var(--accent-secondary); box-shadow: var(--shadow-md); }
.plan-panel__top { margin-bottom: var(--space-4); }
.plan-panel__top h3 { font-size: var(--fs-md); }
.plan-panel__price { font-family: var(--font-heading); font-weight: 400; font-size: var(--fs-xs); color: var(--text-secondary); white-space: nowrap; margin-left: 0.6rem; }
.plan-panel__desc { font-size: var(--fs-sm); margin-bottom: var(--space-4); }
.plan-panel__meta { display: flex; flex-direction: column; gap: var(--space-3); margin-bottom: var(--space-5); padding-top: var(--space-4); border-top: 1px solid var(--border-color); flex: 1; }
.plan-panel__meta dt { font-family: var(--font-heading); font-size: var(--fs-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-secondary); margin-bottom: 0.35rem; }
.plan-panel__meta dd { color: var(--text-primary); font-weight: 400; font-size: var(--fs-sm); }
@media (max-width: 560px) { .plan-panel { padding: var(--space-6); } }

/* ==========================================================================
   Stat cards
   ========================================================================== */
.stat-card {
  padding: var(--space-6);
  border-radius: 10px 10px 10px 10px;
  background: var(--surface);
  border: 1.5px solid var(--border-color);
  transition: border-color var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.stat-card:hover { border-color: var(--accent-secondary); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.stat-card__value { display: block; margin-bottom: var(--space-3); }
.stat-card__num {
  font-family: var(--font-heading);
  font-size: var(--fs-stat);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1;
}
.stat-card__unit {
  font-family: var(--font-heading);
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--text-secondary);
  margin-left: 0.4rem;
}
.stat-card__label { font-size: var(--fs-sm); color: var(--text-secondary); }

/* Case study */
/* Case Study — auto-rotating carousel. A fixed, centered heading sits above
   the slides; the prev/next buttons flank the slider (left / right edge,
   vertically centered) instead of sitting under the description. The inner
   container reserves side padding so slide content clears the buttons. */
.case-study-carousel { position: relative; }
.case-study-carousel { display: flex; flex-direction: column; }
.case-study-carousel > .container { position: relative; flex: 1; width: 100%; padding-inline: calc(var(--gutter) + 74px); }
.case-study__title { text-align: center; margin-bottom: var(--space-8); }
.case-study-carousel__nav { position: absolute; inset: 0; pointer-events: none; }
.case-study-carousel__nav .case-study-carousel__btn { position: absolute; top: 50%; transform: translateY(-50%); pointer-events: auto; }
.case-study-carousel__nav [data-carousel-prev] { left: var(--gutter); }
.case-study-carousel__nav [data-carousel-next] { right: var(--gutter); }
@media (max-width: 860px) {
  .case-study-carousel > .container { padding-inline: var(--gutter); padding-bottom: 72px; }
  .case-study-carousel__nav .case-study-carousel__btn { top: auto; bottom: 0; transform: none; }
}
.case-study-carousel__btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--text-primary);
  background: transparent;
  color: var(--text-primary);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: border-color var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out);
}
.case-study-carousel__btn svg { width: 18px; height: 18px; }
.case-study-carousel__btn:hover { border-color: var(--accent-secondary); }

.case-study-slide { display: none; }
.case-study-slide.is-active { display: block; animation: case-study-fade-in 0.5s var(--ease-out); }
@keyframes case-study-fade-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .case-study-slide.is-active { animation: none; } }

.case-study-slide__grid { display: grid; grid-template-columns: minmax(200px, 300px) 1fr; gap: var(--space-8); align-items: start; }
.case-study-slide__subhead { margin-bottom: var(--space-4); color: var(--text-primary); }
.case-study-slide__tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.case-study-slide__tag {
  display: inline-flex;
  align-items: center;
  background: var(--accent);
  color: var(--accent-text);
  border-radius: 7px 7px 7px 7px;
  padding: 0.3rem 0.9rem;
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  font-weight: 700;
}
.case-study-slide__lead { font-size: var(--fs-md); font-weight: 700; color: var(--text-primary); }
.case-study-slide__desc { font-size: var(--fs-md); color: var(--text-secondary); margin-top: var(--space-4); }
@media (max-width: 860px) {
  .case-study-slide__grid { grid-template-columns: 1fr; }
}

.case-study__stats-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-6); margin-top: var(--space-8); }
@media (max-width: 860px) { .case-study__stats-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .case-study__stats-row { grid-template-columns: 1fr; } }
.case-study__stat { border-left: 2px solid rgba(19, 31, 68, 0.22); padding-left: var(--space-5); }
.case-study__stat-num {
  display: block;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.8rem, 1.5rem + 1.2vw, 2.4rem);
  color: #131f44;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 0.6rem;
}
.case-study__stat-label { font-size: var(--fs-sm); color: #4a4f6b; }

/* ==========================================================================
   Qualifier two-column
   ========================================================================== */
.qualify { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); }
.qualify__col { border-radius: 10px 10px 10px 10px; padding: var(--space-7); background: var(--surface); border: 1.5px solid var(--border-color); transition: border-color var(--dur-base) var(--ease-out); }
.qualify__col--yes { border-color: var(--accent-secondary); background: var(--surface); }
.qualify__title { display: flex; align-items: center; gap: 0.6rem; font-family: var(--font-heading); font-weight: 700; font-size: var(--fs-md); margin-bottom: var(--space-5); }
.qualify__icon { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.qualify__col--yes .qualify__icon { background: var(--accent); color: var(--accent-text); }
.qualify__col--no .qualify__icon { background: var(--text-secondary); color: var(--surface); }
.qualify__icon svg { width: 15px; height: 15px; }
.qualify ul { display: flex; flex-direction: column; gap: var(--space-4); }
.qualify li { display: flex; gap: 0.75rem; font-size: var(--fs-sm); color: var(--text-secondary); }
.qualify li svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 0.15rem; }
.qualify__col--yes li svg { color: var(--accent-secondary); }
.qualify__col--no li svg { color: var(--text-secondary); }
@media (max-width: 780px) { .qualify { grid-template-columns: 1fr; } }

/* ==========================================================================
   Phase rail — alternating milestone timeline (What You Get)
   A central vertical line with a diamond marker per phase; cards alternate
   left/right of the rail, collapsing to a left-aligned stack on mobile.
   ========================================================================== */
.phase-rail { position: relative; display: flex; flex-direction: column; gap: var(--space-7); }
.phase-rail::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: var(--accent-secondary); opacity: 0.5; transform: translateX(-50%); }
.phase-row { position: relative; display: flex; }
.phase-row--left { justify-content: flex-start; }
.phase-row--right { justify-content: flex-end; }
.phase-row::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 13px; height: 13px;
  background: var(--accent-secondary);
  transform: translate(-50%, -50%) rotate(45deg);
  z-index: 1;
  box-shadow: 0 0 0 4px var(--bg);
}
.phase-card {
  width: 46%;
  background: var(--surface);
  border: 1.5px solid var(--border-color);
  border-radius: 10px 10px 10px 10px;
  padding: var(--space-6);
  transition: border-color var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.phase-card:hover { border-color: var(--accent-secondary); box-shadow: var(--shadow-sm); }
.phase-card__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  padding: 0.35rem 0.85rem;
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-secondary);
  margin-bottom: var(--space-4);
}
.phase-card__tag svg { width: 13px; height: 13px; flex-shrink: 0; }
.phase-card__eyebrow { font-family: var(--font-heading); font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-secondary); opacity: 0.75; margin-bottom: 0.35rem; }
.phase-card__title { font-family: var(--font-heading); font-weight: 700; font-size: var(--fs-lg); margin-bottom: var(--space-3); }
.phase-card__desc { font-size: var(--fs-sm); color: var(--text-secondary); margin-bottom: var(--space-5); }
.phase-card__outcome { padding-top: var(--space-4); border-top: 1px solid var(--border-color); font-size: var(--fs-sm); color: var(--accent-secondary); }
@media (max-width: 780px) {
  .phase-rail::before { left: 20px; }
  .phase-row--left, .phase-row--right { justify-content: flex-start; padding-left: 48px; }
  .phase-row::after { left: 20px; }
  .phase-card { width: 100%; }
}

/* ==========================================================================
   Step tiles (How it Works) — bordered number cards, middle one featured
   ========================================================================== */
.step-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); align-items: stretch; padding-bottom: var(--space-10); }
.step-tile {
  position: relative;
  padding: var(--space-7) var(--space-6) var(--space-6);
  border-radius: 10px 10px 10px 10px;
  background: var(--bg-light);
  border: 1.5px solid var(--border-color);
  overflow: hidden;
}
.step-tile::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 2px; background: var(--border-color); }
.step-tile--featured { border-color: var(--border-light); }
.step-tile__num { display: block; font-family: var(--font-heading); font-weight: 800; font-size: clamp(1.8rem, 1.5rem + 1vw, 2.4rem); color: var(--accent-secondary); opacity: 0.35; line-height: 1; margin-bottom: var(--space-4); }
.step-tile__title { font-family: var(--font-heading); font-weight: 600; font-size: var(--fs-base); margin-bottom: 0.3rem; }
.step-tile__meta { font-family: var(--font-heading); font-size: var(--fs-xs); font-weight: 700; color: var(--accent-secondary); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: var(--space-4); }
.step-tile__desc { font-size: var(--fs-sm); color: var(--text-secondary); }
@media (max-width: 780px) {
  .step-tiles { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Testimonials v2 — eyebrow-label intro + stat on the left, a single-slide
   carousel card on the right with a chrome decorative ribbon bleeding
   behind it. Inspired by weblabus.com's testimonial section.
   ========================================================================== */
.testimonials-v2__panel {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: 10px 10px 10px 10px;
  padding: var(--space-8);
}
.testimonials-v2__grid { display: grid; grid-template-columns: minmax(260px, 380px) 1fr; gap: var(--space-8); align-items: center; }

.testimonials-v2__intro h2 { line-height: var(--lh-tight); margin-top: var(--space-4); max-width: 420px; }
.testimonials-v2__stat { margin-top: var(--space-8); }
.testimonials-v2__stat-num {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2.6rem, 2rem + 2.5vw, 3.6rem);
  color: var(--text-primary);
  line-height: 1;
}
.testimonials-v2__stat-label { font-size: var(--fs-sm); color: var(--text-secondary); margin-top: var(--space-2); }

.testimonials-v2__card-wrap { position: relative; }
.testimonials-v2__card {
  position: relative;
  z-index: 2;
  background: var(--bg-light);
  border-radius: 10px 10px 10px 10px;
  padding: var(--space-7) var(--space-7) calc(var(--space-7) + 56px);
}

/* All slides share one grid cell so the card is always as tall as the longest testimonial. */
.testimonials-v2__card[data-testimonial-carousel] { display: grid; }
.testimonials-v2__slide { grid-area: 1 / 1; visibility: hidden; opacity: 0; pointer-events: none; }
.testimonials-v2__slide.is-active { visibility: visible; opacity: 1; pointer-events: auto; animation: case-study-fade-in 0.5s var(--ease-out); }
@media (prefers-reduced-motion: reduce) { .testimonials-v2__slide.is-active { animation: none; } }

.testimonials-v2__rating { display: flex; gap: 0.3rem; color: var(--accent-secondary); }
.testimonials-v2__rating svg { width: 18px; height: 18px; }
.testimonials-v2__quote { font-size: var(--fs-md); color: var(--text-primary); line-height: 1.7; margin-top: var(--space-5); }

.testimonials-v2__footer {
  display: flex;
  align-items: center;
  margin-top: var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px solid var(--border-color);
}
.testimonials-v2__person { display: flex; align-items: center; gap: var(--space-4); }
.testimonials-v2__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--text-primary);
  color: var(--bg);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--fs-xs);
  flex-shrink: 0;
}
.testimonials-v2__name { font-family: var(--font-heading); font-weight: 700; font-size: var(--fs-sm); color: var(--text-primary); }
.testimonials-v2__role { font-size: var(--fs-xs); color: var(--text-secondary); margin-top: 0.15rem; }

.testimonials-v2__nav { position: absolute; right: var(--space-7); bottom: var(--space-7); display: flex; gap: var(--space-3); }
.testimonials-v2__arrow {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--border-color);
  background: transparent;
  color: var(--text-primary);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: border-color var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out);
}
.testimonials-v2__arrow svg { width: 16px; height: 16px; }
.testimonials-v2__arrow:hover { border-color: var(--accent-secondary); color: var(--accent-secondary); }

@media (max-width: 780px) {
  .testimonials-v2__panel { padding: var(--space-6); }
  .testimonials-v2__grid { grid-template-columns: 1fr; gap: var(--space-7); }
  .testimonials-v2__intro h2 { max-width: none; }
  .testimonials-v2__card { padding: var(--space-6); }
  .testimonials-v2__footer { flex-wrap: wrap; }
  .testimonials-v2__nav { position: static; margin-top: var(--space-5); }
}

/* ==========================================================================
   FAQ accordion
   ========================================================================== */
.accordion { max-width: 800px; margin-inline: auto; }
.accordion-item { border-bottom: 1px solid var(--border-color); }
.accordion-item__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  padding: var(--space-6) 0;
  background: transparent;
  border: none;
  text-align: left;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: var(--fs-md);
  color: var(--text-primary);
  transition: color var(--dur-fast) var(--ease-out);
}
.accordion-item__trigger:hover { color: var(--accent-secondary); }
.accordion-item__icon {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--border-color);
  color: var(--text-primary);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  transition: transform var(--dur-fast) var(--ease-out), border-color var(--dur-fast), background var(--dur-fast);
}
.accordion-item__icon::before, .accordion-item__icon::after { content: ""; position: absolute; background: currentColor; transition: transform var(--dur-fast) var(--ease-out), opacity var(--dur-fast) var(--ease-out), background var(--dur-fast); }
.accordion-item__icon::before { width: 12px; height: 1.5px; }
.accordion-item__icon::after { width: 1.5px; height: 12px; }
.accordion-item__trigger:hover .accordion-item__icon { border-color: var(--accent-secondary); }
.accordion-item__trigger[aria-expanded="true"] .accordion-item__icon { border-color: var(--accent); background: var(--accent); color: var(--accent-text); transform: rotate(180deg); }
.accordion-item__trigger[aria-expanded="true"] .accordion-item__icon::after { opacity: 0; }
.accordion-item__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--dur-base) var(--ease-out); }
.accordion-item__trigger[aria-expanded="true"] + .accordion-item__panel { grid-template-rows: 1fr; }
.accordion-item__panel-inner { overflow: hidden; }
.accordion-item__panel p { padding-bottom: var(--space-6); max-width: 660px; }

/* ==========================================================================
   Final CTA — "Contact" band. Dark rounded panel with a wavy texture photo
   (the source is a light-grey wave graphic, so it's darkened with a filter
   rather than placed at full brightness, to read as a moody dark texture
   instead of a light rectangle), a robot hand and a human hand reaching
   toward each other in the middle column, and the CTA button vertically
   centered on the right.
   ========================================================================== */
.contact-cta {
  height: 350px;
  width: 100%;        /* Takes up 80% of the screen height */
  min-height: 250px;
  position: relative;
  margin-top: -250px;
  overflow: hidden;
  border-radius: 20px 20px 20px 20px;
  
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  padding: var(--space-8) var(--space-8);
}
.contact-cta__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(1.0) contrast(1.00);
}
/* Used where this component sits in its own section with no overlap-pull
   trick needed — sizes from its own padding/content instead of the fixed
   height + negative margin tuned specifically for the home page. */
.contact-cta--static { height: auto; min-height: 300px; margin-top: 0; }
.contact-cta__content { position: relative; z-index: 1; flex: 1 1 380px; max-width: 600px; }
.contact-cta__title { font-size: var(--fs-2xl); color: #000; margin-bottom: var(--space-4); }
.contact-cta__desc { font-size: var(--fs-md); color: #000; }
.contact-cta__hands {
  position: relative;
  z-index: 1;
  flex: 0 0 260px;
  width: 350px;
  height: 220px;
  pointer-events: none;
}
.contact-cta__hand { position: absolute; width: 190px; filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.45)); }
.contact-cta__hand--robot { top: -70px; right: 20px; width: 170px; }
.contact-cta__hand--human { bottom: -130px; left: -40px; }
.contact-cta.is-visible .contact-cta__hand--robot { animation: contact-cta-reach-robot 2s var(--ease-out) both; animation-delay: 1s; animation-iteration-count: 1;}
.contact-cta.is-visible .contact-cta__hand--human { animation: contact-cta-reach-human 2s var(--ease-out) both; animation-delay: 1s; animation-iteration-count: 1;}
@keyframes contact-cta-reach-robot { from { transform: translate(14px, -14px); opacity: 0; } to { transform: translate(0, 0); opacity: 1; } }
@keyframes contact-cta-reach-human { from { transform: translate(-14px, 14px); opacity: 0; } to { transform: translate(0, 0); opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .contact-cta.is-visible .contact-cta__hand--robot, .contact-cta.is-visible .contact-cta__hand--human { animation: none; }
}
.contact-cta__action { position: relative; z-index: 1; flex: 0 0 auto; display: flex; align-items: center; }
.contact-cta__action .btn { background: black; color: white; }
@media (max-width: 1000px) {
  .contact-cta { flex-direction: column; text-align: center; padding: var(--space-7) var(--space-6); }
  .contact-cta__content { max-width: 100%; flex: 0 0 auto; }
}
@media (max-width: 1000px) {
  .contact-cta { height: auto; min-height: 0; margin-top: -80px; gap: var(--space-5); padding: var(--space-7) var(--space-5); }
  .contact-cta--static { margin-top: 0; }
  .contact-cta__title { font-size: var(--fs-xl); }
  .contact-cta__hands { display: none; }
}
/* ==========================================================================
   Footer — "liquid glass" panel: frosted, saturated blur over whatever
   scrolls up behind it, rounded top corners, soft specular top edge.
   ========================================================================== */
.site-footer {
  position: relative;
  overflow: hidden;
  background: rgba(5, 5, 5, 0.96);
  backdrop-filter: blur(24px) saturate(1.6);
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
  color: rgba(255,255,255,0.55);
  padding-top: var(--space-9);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 -20px 60px rgba(0, 0, 0, 0.18);
}
.site-footer__deco {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 320px;
  z-index: 0;
  opacity: 0.6;
  pointer-events: none;
}
.site-footer > .container { position: relative; z-index: 1; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--space-8); padding-bottom: var(--space-8); border-bottom: 1px solid var(--border-dark); }
.footer-brand .brand { color: var(--text-dark-primary); margin-bottom: var(--space-4); }
.footer-brand p { max-width: 320px; margin-bottom: var(--space-6); font-size: var(--fs-sm); color: rgba(255, 255, 255, 0.55); }
.footer-socials { display: flex; gap: 0.75rem; }
.footer-socials a { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--border-dark); color: var(--text-dark-primary); display: flex; align-items: center; justify-content: center; transition: all var(--dur-fast) var(--ease-out); }
.footer-socials a:hover { border-color: var(--accent-secondary); background: var(--accent-secondary); color: var(--on-accent-secondary); transform: translateY(-3px); }
.footer-socials svg { width: 17px; height: 17px; }
/* Reused inside a light-themed section (e.g. periwinkle Get In Touch band) — the
   footer's own hardcoded white icon color would be invisible there. */
.periwinkle-panel .footer-socials a { color: var(--text-primary); border-color: var(--border-color); }
/* Build AI's "Get In Touch" socials sit on a dark photo background, not the
   flat periwinkle tint, so the dark-navy icon color above is unreadable —
   use light grey instead, overriding the rule above at matching specificity. */
.periwinkle-panel .get-in-touch-socials a { color: #000; border-color: rgba(0, 0, 0, 0.45); }
.footer-col h4 { color: var(--text-dark-primary); font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: var(--space-5); }
.footer-col ul { display: flex; flex-direction: column; gap: var(--space-4); }
.footer-col a, .footer-col address { font-size: var(--fs-sm); font-style: normal; transition: color var(--dur-fast) var(--ease-out); }
.footer-col a:hover { color: var(--text-dark-primary); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 0.65rem; }
.footer-contact-icon { width: 16px; height: 16px; flex-shrink: 0; margin-top: 0.15rem; color: rgba(255, 255, 255, 0.45); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-block: var(--space-5); font-size: var(--fs-xs); gap: var(--space-4); flex-wrap: wrap; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; gap: var(--space-7); } }

/* ==========================================================================
   Forms
   ========================================================================== */
.field { margin-bottom: var(--space-5); }
.field label { display: block; font-family: var(--font-heading); font-weight: 700; font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.6rem; color: var(--text-secondary); }
.field label .req { color: var(--accent-secondary); margin-left: 2px; }
.field .hint { font-size: var(--fs-xs); color: var(--text-secondary); margin-top: 0.4rem; }
.field .error-msg { font-size: var(--fs-xs); color: var(--danger); margin-top: 0.4rem; display: none; align-items: center; gap: 0.35rem; }
.field .error-msg svg { width: 14px; height: 14px; flex-shrink: 0; }
.field.has-error .error-msg { display: flex; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }

.input, select.input, textarea.input {
  width: 100%;
  padding: 0.95rem 1.1rem;
   border-radius: 7px 7px 7px 7px;
  border: 1.5px solid var(--border-color);
  background: var(--surface);
  color: var(--text-primary);
  font-size: var(--fs-sm);
  transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.input:focus, select.input:focus, textarea.input:focus { border-color: var(--border-light-strong); box-shadow: 0 0 0 4px var(--accent-secondary-tint); outline: none; }
textarea.input { resize: vertical; min-height: 120px; }
select.input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%236b6b6b'%3E%3Cpath fill-rule='evenodd' d='M5.23 7.21a.75.75 0 011.06.02L10 11.19l3.71-3.96a.75.75 0 111.08 1.04l-4.25 4.5a.75.75 0 01-1.08 0l-4.25-4.5a.75.75 0 01.02-1.06z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 18px;
  padding-right: 2.75rem;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }
.field-row:has(> .field:only-child) { grid-template-columns: 1fr; }
@media (max-width: 620px) { .field-row { grid-template-columns: 1fr; } }

.file-drop { border: 1.5px dashed var(--border-color);  border-radius: 7px 7px 7px 7px; padding: var(--space-6); text-align: center; transition: border-color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out); cursor: pointer; }
.file-drop:hover, .file-drop.is-dragover { border-color: var(--accent-secondary); background: var(--accent-secondary-tint); }
.file-drop svg { width: 30px; height: 30px; color: var(--accent-secondary); margin-inline: auto; margin-bottom: var(--space-3); }
.file-drop__text { font-size: var(--fs-sm); font-weight: 600; color: var(--text-primary); }
.file-drop__hint { font-size: var(--fs-xs); color: var(--text-secondary); margin-top: 0.3rem; }
.file-drop__filename { margin-top: var(--space-3); font-size: var(--fs-xs); font-weight: 600; color: var(--success); }

/* Multi-step form */
.form-card { max-width: 760px; margin-inline: auto; background: var(--surface); border: 1.5px solid var(--border-color); border-radius: 20px 20px 20px 20px;  padding: var(--space-8); box-shadow: var(--shadow-md); }

.form-head { margin-bottom: var(--space-7); text-align: center; }
.form-head__desc { font-size: var(--fs-base); color: var(--text-primary); margin-top: var(--space-3); max-width: none; }

.form-divider { display: flex; align-items: center; gap: 0.85rem; margin: var(--space-7) 0 var(--space-5); font-family: var(--font-heading); font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-secondary); }
.form-divider::after { content: ""; flex: 1; height: 1px; background: var(--border-color); }
.form-divider:first-of-type { margin-top: 0; }

.form-error { margin-top: var(--space-5); padding: var(--space-3) var(--space-4); border: 1px solid var(--danger); border-radius: 8px; color: var(--danger); font-size: var(--fs-sm); text-align: center; }
.form-error[hidden] { display: none; }
.form-submit .btn:disabled { opacity: 0.6; cursor: progress; }
.form-submit { display: flex; justify-content: center; margin-top: var(--space-7); }

.form-success { text-align: center; padding: var(--space-6) 0; display: none; }
.form-success.is-active { display: block; }
.form-success__icon { width: 72px; height: 72px; border-radius: 50%; background: rgba(63,143,92,0.14); color: var(--success); display: flex; align-items: center; justify-content: center; margin-inline: auto; margin-bottom: var(--space-6); }
.form-success__icon svg { width: 34px; height: 34px; }

/* ==========================================================================
   Contact strip (Build AI page 3)
   ========================================================================== */
.contact-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.contact-card { padding: var(--space-7); border-radius: 10px 10px 10px 10px; background: var(--surface); border: 1.5px solid var(--border-color); text-align: center; transition: border-color var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out); }
.contact-card:hover { border-color: var(--accent-secondary); transform: translateY(-6px); box-shadow: var(--shadow-glow); }
.contact-card h3 { font-size: var(--fs-base); margin-bottom: var(--space-2); }
.contact-card a, .contact-card address { color: var(--text-secondary); font-style: normal; font-size: var(--fs-sm); }
@media (max-width: 780px) { .contact-strip { grid-template-columns: 1fr; } }

/* Get In Touch — plain text columns split by thin vertical rules, no cards/icons/panel. */
.contact-strip--plain { gap: 0; }
.contact-strip--plain .contact-card { padding: var(--space-4) var(--space-6); background: none; border: 0; border-radius: 0; box-shadow: none; transform: none; }
.contact-strip--plain .contact-card + .contact-card { border-left: 1px solid var(--border-color); }
.contact-strip--plain .contact-card h3 { font-size: var(--fs-h4); }
.contact-strip--plain .contact-card a, .contact-strip--plain .contact-card address { font-size: var(--fs-base); }
.contact-plain .get-in-touch-socials { border-top: 1px solid var(--border-color); padding-top: var(--space-6); }
.contact-plain .get-in-touch-socials a { color: var(--text-primary); border-color: var(--border-color); }
@media (max-width: 780px) {
  .contact-strip--plain .contact-card + .contact-card { border-left: 0; border-top: 1px solid var(--border-color); }
}

/* ==========================================================================
   Problem section (AI Assessment page)
   Two-column editorial layout: intro copy on the left, numbered row-list
   of loops on the right, closing statement spanning full width below.
   ========================================================================== */
.problem-layout { display: grid; grid-template-columns: minmax(240px, 380px) 1fr; gap: var(--space-8); align-items: start; }
.problem-intro p { font-size: var(--fs-sm); color: var(--text-secondary); margin-top: var(--space-4); }
.problem-list { display: flex; flex-direction: column; }
.problem-item { display: flex; align-items: baseline; gap: var(--space-6); padding-block: var(--space-5); border-bottom: 1px solid var(--border-color); }
.problem-list > .problem-item:first-child { padding-top: 0; }
.problem-item__num { flex-shrink: 0; width: 2.5ch; font-family: var(--font-heading); font-weight: 700; font-size: var(--fs-sm); color: var(--accent-secondary); opacity: 0.55; }
.problem-item__title { font-family: var(--font-heading); font-weight: 600; color: var(--text-primary); margin-bottom: 0.35rem; }
.problem-item__desc { font-size: var(--fs-sm); max-width: 56ch; }
@media (max-width: 900px) { .problem-layout { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .problem-item { flex-direction: column; gap: var(--space-2); } }

.problem-close {
  margin-top: var(--space-7);
  padding-top: var(--space-6);
  border-top: 1px solid var(--border-color);
  font-family: var(--font-heading);
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--text-primary);
  max-width: 900px;
}

/* ==========================================================================
   About page — editorial redesign (Zapier/HubSpot-inspired: oversized
   statement typography, generous whitespace, uncarded content blocks)
   ========================================================================== */

/* Hero: giant statement headline instead of a small "About Us" label.
   A tinted scrim of the same periwinkle mist sits between the illustration
   and the content so the dark-navy heading/body text keeps full contrast
   regardless of what's behind it in the artwork. */
.about-hero {
  padding-bottom: var(--space-8);
  background:
    linear-gradient(rgba(197, 203, 235, 0.35), rgba(197, 203, 235, 0.35)),
    url('../assets/art-attack-S1wihZLkS1Q-unsplash.png') center / cover no-repeat;
}
.about-hero .hero__content { max-width: 900px; }
.about-hero__title { font-family: var(--font-heading); font-weight: 800; font-size: var(--fs-3xl); line-height: 1.05; letter-spacing: -0.03em; color: var(--text-primary); }
.about-hero__title.about-hero__title--nowrap { white-space: nowrap; }
/* About hero sits on a video background — all hero text goes white. */
.about-hero h1, .about-hero h1 .text-accent, .about-hero .about-statement { color: #fff; }
@media (max-width: 700px) { .about-hero__title.about-hero__title--nowrap { white-space: normal; } }

/* Build AI hero — same tinted-scrim-over-photo technique as the About hero;
   padded taller to match the About hero's rendered height, and the
   description forced to solid black since it sits directly on the artwork. */
.build-hero {
  background:
    linear-gradient(rgba(197, 203, 235, 0.35), rgba(197, 203, 235, 0.35)),
    url('../assets/art-attack-S1wihZLkS1Q-unsplash.png') center / cover no-repeat;
  padding-top: calc(var(--header-h) + var(--space-9) + 57px);
  padding-bottom: calc(var(--space-6) + 57px);
}
.build-hero h1, .build-hero h1 .text-accent, .build-hero .hero__desc { color: #fff; }
.about-hero::before, .build-hero::before, .assessment-hero::before, .home-hero::before { display: none; }

/* AI Assessment hero — same tinted-scrim-over-photo technique. */
.assessment-hero {
  background:
    linear-gradient(rgba(197, 203, 235, 0.35), rgba(197, 203, 235, 0.35)),
    url('../assets/art-attack-AK5AeV872xU-unsplash.png') center / cover no-repeat;
  padding-bottom: calc(var(--space-8) + 20px);
}

/* Home hero — video background with a light scrim for text contrast; the
   bubble-cluster loader animation is untouched, just layered on top. */
.home-hero { background: var(--bg-dark); min-height: 800px; }
.home-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  filter: brightness(0.55);
}
.home-hero__scrim {
  position: absolute;
  inset: 0;
  background: rgba(197, 203, 235, 0.1);
  z-index: 0;
}
/* The video/scrim cover the whole hero, so the ticker needs its own opaque
   fill to stop them showing through below the divider line. This extends
   the ticker's own ::before (already a full-bleed line, no z-index tricks
   needed) rather than adding a separately z-indexed mask — a negative
   z-index sibling here would sit inside .marquee's own transform-created
   stacking context and could still let the video bleed through at certain
   compositing edges; a plain ::before paints in DOM order, before the
   ticker's real content, with no such ambiguity. */
.home-hero .ticker::before {
  bottom: calc(-1 * var(--space-8));
  background: var(--bg-light);
}
.home-hero h1, .home-hero h1 .text-accent, .home-hero .hero__desc { color: #fff;}
.home-hero .hero__link-cta { color: var(--text-dark-primary); }
.home-hero .hero__link-cta:hover { color: var(--text-dark-primary); opacity: 0.8; }

/* Photo-background heroes (About, Build AI) swap the indigo keyword accent
   for an off-white, since it reads better against artwork than it does
   against the flat hero backgrounds elsewhere on the site. */
.about-hero h1 .text-accent,
.build-hero h1 .text-accent {
  color: var(--text-dark-primary);
}

/* Assessment hero has a video background — header, description, the
   keyword accent, and the secondary link all go white for contrast/
   readability against the video. */
.assessment-hero h1, .assessment-hero h1 .text-accent, .assessment-hero .hero__desc { color: #fff; }
.assessment-hero .hero__link-cta { color: #fff; }
.assessment-hero .hero__link-cta:hover { color: #fff; opacity: 0.8; }

/* Intro statement — now lives inside the hero, under the H1 */
.about-statement { max-width: 820px; margin-inline: auto; margin-top: var(--space-6); text-align: center; font-family: var(--font-body); font-weight: 400; font-size: var(--fs-base); line-height: var(--lh-body); color: var(--text-primary); }

/* The Story — asymmetric editorial layout: a narrow left-hand label pairs
   with the narrative copy on the right, distinct from the centered Vision
   statement that follows it. The four principles reuse the "why-tile"
   divider component so identical content stays visually consistent with
   the Home page's "Why Choose Us" section. */
.story-layout { display: grid; grid-template-columns: 280px 1fr; gap: var(--space-8); margin-bottom: var(--space-8); }
.story-head h2 { position: sticky; top: var(--space-8); }
.story-copy { max-width: 640px; }
.story-copy p { font-size: var(--fs-base); line-height: var(--lh-body); color: var(--text-secondary); }
.story-copy p + p { margin-top: var(--space-5); }
.story-principles-lead { font-family: var(--font-heading); font-weight: 600; font-size: var(--fs-md); color: var(--text-primary); margin-bottom: var(--space-6); }
@media (max-width: 780px) {
  .story-layout { grid-template-columns: 1fr; gap: var(--space-4); }
  .story-head h2 { position: static; }
}

/* Vision — centered, H2-sized statement that illuminates and fades as it
   scrolls through the viewport. --illum (0-1) is written by main.js based
   on how close the element is to the vertical center of the screen. */
.vision-statement { max-width: 1040px; margin-inline: auto; text-align: center; }
.vision-statement h2 { margin-bottom: var(--space-4); }
.vision-statement p {
  font-size: var(--fs-4xl);
  font-family: var(--font-heading);
  font-weight:500;
  line-height: var(--lh-snug);
  color: var(--text-primary);
  opacity: calc(0.2 + var(--illum, 1) * 0.8);
  filter: brightness(calc(0.85 + var(--illum, 1) * 0.3));
}
@media (prefers-reduced-motion: reduce) { .vision-statement p { opacity: 1; filter: none; } }
@media (max-width: 900px) { .vision-statement p { font-size: clamp(1.5rem, 1rem + 3vw, 2.5rem); } }

/* Team — portrait cards with name/role/socials overlaid on a scrim at the bottom. */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.team-card {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 10px 10px 10px 10px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--accent), #232b63);
}
.team-card__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.team-card__info {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: var(--space-7) var(--space-5) var(--space-5);
  background: linear-gradient(180deg, transparent, rgba(8, 10, 26, 0.85) 55%);
  text-align: center;
}
.team-card__name { color: var(--text-dark-primary); font-family: var(--font-heading); font-weight: 700; font-size: var(--fs-md); }
.team-card__role { color: rgba(255, 255, 255, 0.72); font-size: var(--fs-xs); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; margin-top: 0.3rem; }
.team-card__socials { display: flex; justify-content: center; gap: 0.5rem; margin-top: var(--space-4); }
.team-card__socials a {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-dark-primary);
  transition: background var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.team-card__socials a:hover { background: var(--accent-secondary); color: var(--on-accent-secondary); transform: translateY(-2px); }
.team-card__socials svg { width: 14px; height: 14px; }
@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .team-grid { grid-template-columns: 1fr; } }

/* Periwinkle panel — reusable rounded rectangle inset exactly 50px from the
   viewport edges (not the container), used wherever a section wants the
   periwinkle band to read as a contained card rather than full-bleed. */
.values-section { padding-block: calc(var(--space-9) + var(--space-6)); }
.periwinkle-panel {
  background: #c5cbeb; 
  border-radius: 10px 10px 10px 10px;
  padding-block: calc(var(--space-8) + 50px);
  padding-inline: var(--space-7); 
  width: calc(100vw - 100px);
  margin-left: 50%;
  transform: translateX(-50%);
  --surface: #ffffff; 
  --border-color: rgba(19, 31, 68, 0.18);
  --text-primary: #131f44;
  --text-secondary: #4a4f6b;
  color: #131f44;
}

/* Results That Matter — full-bleed video background (no inset panel), with
   the stat cards rendered as frosted glass tiles over it, matching the
   header/footer's liquid-glass treatment elsewhere on the site. */
.results-bg { background: var(--bg-dark); filter: brightness(0.9) contrast(1.35); overflow: clip; min-height: 900px; }
.results-bg > .container { position: relative; z-index: 1; }
.results-bg .section-head h2 { color: var(--text-dark-primary); }
.results-bg .section-head p { color: rgba(255, 255, 255, 0.85); }
.results-bg .stat-card {
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px) saturate(1.6);
  -webkit-backdrop-filter: blur(14px) saturate(1.6);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.results-bg .stat-card:hover { border-color: rgba(255, 255, 255, 0.6); }
.results-bg .stat-card__label { color: rgba(255, 255, 255, 0.85); }
.results-bg .stat-card__unit { color: rgba(255, 255, 255, 0.85); }

/* Case Study panel — the background photo here is a dark abstract texture
   (not the light periwinkle tone the rest of this panel type assumes), so
   this instance flips to light-on-dark text instead of the usual navy. */
.case-study-bg {
  background:
    linear-gradient(rgba(10, 10, 10, 0.45), rgba(10, 10, 10, 0.45)),
    url('../assets/home-4-hero-bg-scaled.webp') center / cover no-repeat;
  --text-primary: var(--text-dark-primary);
  --text-secondary: var(--text-dark-secondary);
  --border-color: rgba(255, 255, 255, 0.18);
  border-radius: 0px;
  color: var(--text-dark-primary);
}
.case-study-bg .case-study__stat { border-left-color: rgba(255, 255, 255, 0.22); }
.case-study-bg .case-study__stat-num { color: var(--text-dark-primary); }
.case-study-bg .case-study__stat-label { color: var(--text-dark-secondary); }

.values-intro-center { text-align: center; max-width: 640px; margin-inline: auto; margin-bottom: var(--space-8); }
.values-intro-center p { margin-top: var(--space-4); color: var(--text-secondary); }
.values-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-5); }
.value-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  background: var(--surface);
  border: 1.5px solid var(--border-color);
  border-radius: 10px 10px 10px 10px;
  padding: calc(var(--space-6) + 10px);
  text-align: center;
  transition: border-color var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}
.value-tile:hover { border-color: var(--accent-secondary); transform: translateY(-4px); }
.value-tile__icon { width: 44px; height: 44px; margin-bottom: var(--space-5); color: var(--accent-secondary); }
.value-tile h3 { font-size: var(--fs-lg); margin-bottom: var(--space-2); }
.value-tile p { font-size: var(--fs-sm); color: var(--text-secondary); }
@media (max-width: 980px) { .values-tiles { grid-template-columns: repeat(2, 1fr); } .periwinkle-panel { width: calc(100vw - 64px); } }
@media (max-width: 560px) { .values-tiles { grid-template-columns: 1fr; } .value-tile { min-height: 220px; } .periwinkle-panel { padding-block: calc(var(--space-6) + 30px); padding-inline: var(--space-5); width: calc(100vw - 32px); } }

/* Periwinkle panel — "home" variant: background rectangle runs true edge-to-
   edge (100vw, no inset), and the actual content re-centers itself via a
   nested .container so it lines up exactly with every other section's
   content width, instead of stretching with the wider background. */
.periwinkle-panel--home { padding-inline: 0; width: 100vw; border-radius: 0; min-height: 910px; }

/* ==========================================================================
   Blog cards (home page)
   ========================================================================== */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
@media (max-width: 980px) { .blog-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; } }
.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1.5px solid var(--border-color);
  border-radius: 10px 10px 10px 10px;
  overflow: hidden;
  transition: border-color var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.blog-card:hover { border-color: var(--accent-secondary); transform: translateY(-6px); box-shadow: var(--shadow-glow); }
.blog-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.blog-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.blog-card:hover .blog-card__media img { transform: scale(1.06); }
.blog-card__body { padding: var(--space-6); display: flex; flex-direction: column; flex: 1; }
.blog-card__meta { display: flex; align-items: center; gap: 0.5rem; font-family: var(--font-heading); font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.04em; color: var(--text-secondary); margin-bottom: var(--space-3); }
.blog-card__tag { color: var(--accent-secondary); text-transform: uppercase; }
.blog-card__dot { color: var(--border-color); }
.blog-card__title { font-size: var(--fs-md); margin-bottom: var(--space-3); }
.blog-card__title a { color: var(--text-primary); transition: color var(--dur-fast) var(--ease-out); }
.blog-card__title a:hover { color: var(--accent-secondary); }
.blog-card__excerpt { font-size: var(--fs-sm); color: var(--text-secondary); }

/* ==========================================================================
   Misc utilities
   ========================================================================== */
.max-w-prose { max-width: 640px; }
