/* ============================================================
   Inter (variable, latin + latin-ext), self-hosted
   ============================================================ */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../assets/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
                 U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../assets/fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
                 U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF,
                 U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ============================================================
   AREVOX — Design tokens
   Contrast notes (all measured against --bg #050507):
     --grad-pink   #FF4FD1  →  7.05:1
     --grad-purple #C077FF  →  7.10:1
     --grad-cyan   #38DBFF  → 12.30:1
     --text        #F2F4F8  → 18.60:1
     --text-muted  #B4BCC9  → 10.50:1
     --text-dim    #949CAB  →  7.40:1
   Every gradient stop clears WCAG AA (4.5:1) at every point,
   so gradient headline text is safe anywhere on the page.
   Primary buttons use near-black text ON the gradient (7:1+),
   never white text on the gradient (would be 2.9:1).
   ============================================================ */

:root {
  /* 60% dominant surface / 30% secondary / 10% accent */
  --bg: #050507;
  --bg-raise: #0B0B11;
  --bg-card: #0D0E14;
  --bg-card-hover: #12131B;

  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);

  --text: #F2F4F8;
  --text-muted: #B4BCC9;
  --text-dim: #949CAB;

  --grad-pink: #FF4FD1;
  --grad-purple: #C077FF;
  --grad-cyan: #38DBFF;
  --brand-gradient: linear-gradient(100deg, var(--grad-pink) 0%, var(--grad-purple) 48%, var(--grad-cyan) 100%);

  /* Semantic tokens */
  --color-success: #4ADE9B;
  --color-warning: #FFC46B;
  --color-error: #FF7B7B;
  --color-info: var(--grad-cyan);

  --focus-ring: 0 0 0 3px rgba(5, 5, 7, 1), 0 0 0 6px rgba(192, 119, 255, 0.65);

  /* 8px spacing scale */
  --s-1: 8px;
  --s-2: 16px;
  --s-3: 24px;
  --s-4: 32px;
  --s-5: 48px;
  --s-6: 64px;
  --s-7: 96px;
  --s-8: 128px;

  /* One radius system: soft */
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-pill: 999px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --dur: 220ms;

  --font-display: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --container: 1200px;
  --header-h: 72px;

  /* z-index scale */
  --z-bg: 0;
  --z-content: 1;
  --z-sticky: 40;
  --z-header: 50;
  --z-overlay: 60;
}

/* ============================================================
   Reset & base
   ============================================================ */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; }
img { max-width: 100%; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}

button { font: inherit; color: inherit; cursor: pointer; }

:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: var(--r-sm);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: var(--z-overlay);
  background: var(--text);
  color: var(--bg);
  padding: 12px 20px;
  border-radius: 0 0 var(--r-md) 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--s-3);
}
.container-narrow { max-width: 940px; }

/* ============================================================
   Typography scale (5 sizes max per view)
   ============================================================ */

.section-heading {
  font-size: clamp(1.9rem, 1.15rem + 2.5vw, 3.05rem);
  line-height: 1.12;
  padding-bottom: 2px;
  max-width: 26ch;
}
.section-heading.centered { max-width: 22ch; margin-inline: auto; text-align: center; }
.section-heading.wide { max-width: 32ch; }

.section-sub {
  margin-top: var(--s-3);
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 62ch;
  line-height: 1.65;
}
.section-sub.centered { margin-inline: auto; text-align: center; }

.grad-text {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  /* Fallback for engines without background-clip: text */
  -webkit-text-fill-color: transparent;
}
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .grad-text { color: var(--grad-purple); -webkit-text-fill-color: currentColor; }
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--s-1);
  padding: 8px 16px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--text-muted);
}
.eyebrow-pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--grad-cyan);
  box-shadow: 0 0 0 4px rgba(56, 219, 255, 0.14);
}

.tag {
  display: inline-block;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid var(--line-strong);
  color: var(--text-muted);
}
.tag-warn {
  color: var(--color-warning);
  border-color: rgba(255, 196, 107, 0.4);
  background: rgba(255, 196, 107, 0.08);
}
.tag-grad {
  background: var(--brand-gradient);
  color: #07070B;
  border-color: transparent;
}

/* ============================================================
   Buttons — one system, used everywhere
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-1);
  min-height: 46px;
  padding: 12px 22px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
              background-color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.btn-lg { min-height: 54px; padding: 16px 30px; font-size: 1rem; }

/* Gradient is mirrored so the resting window shows the full
   pink > purple > cyan range, and hover slides to its reverse. */
.btn-primary {
  position: relative;
  color: #07070B;
  background-image: linear-gradient(100deg,
    var(--grad-pink) 0%, var(--grad-purple) 34%, var(--grad-cyan) 62%,
    var(--grad-purple) 84%, var(--grad-pink) 100%);
  background-size: 160% 100%;
  background-position: 0% 50%;
  box-shadow: 0 4px 24px -6px rgba(192, 119, 255, 0.5);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
              background-position 400ms var(--ease);
}
.btn-primary:hover {
  transform: translateY(-2px);
  background-position: 100% 50%;
  box-shadow: 0 10px 34px -8px rgba(192, 119, 255, 0.72);
}
.btn-primary:active { transform: translateY(0) scale(0.985); }

.btn-ghost {
  color: var(--text);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px) saturate(160%);
  -webkit-backdrop-filter: blur(10px) saturate(160%);
}
.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.07);
}
.btn-ghost:active { transform: translateY(0) scale(0.985); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--grad-cyan);
}
.text-link svg { width: 17px; height: 17px; transition: transform var(--dur) var(--ease); }
.text-link:hover { color: var(--text); }
.text-link:hover svg { transform: translateX(4px); }

/* ============================================================
   COMPONENT: Header
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: rgba(5, 5, 7, 0.55);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.site-header.is-scrolled {
  background: rgba(5, 5, 7, 0.86);
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  height: var(--header-h);
  /* Logo flush to the top-left edge: no left padding on the bar */
  padding-right: var(--s-3);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  min-height: 44px;
  flex-shrink: 0;
}
.brand-mark {
  width: auto;
  height: 34px;
  object-fit: contain;
}
.brand-word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: 0.22em;
  color: var(--text);
}

.header-actions { display: flex; align-items: center; gap: var(--s-2); }
.btn-nav { min-height: 44px; padding: 11px 20px; font-size: 0.875rem; }

/* Menu button: keeps a written label at every width, so navigation is
   never a bare icon the user has to guess at. */
.menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 18px 10px 14px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px) saturate(160%);
  -webkit-backdrop-filter: blur(10px) saturate(160%);
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.menu-btn:hover { border-color: rgba(255, 255, 255, 0.32); background: rgba(255, 255, 255, 0.07); }

.menu-btn-bars {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 18px;
  height: 14px;
}
.menu-btn-bars span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform var(--dur) var(--ease);
}
.menu-btn[aria-expanded="true"] .menu-btn-bars span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn-bars span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ============================================================
   COMPONENT: Site menu panel
   ============================================================ */

.site-menu {
  border-top: 1px solid var(--line);
  background: rgba(5, 5, 7, 0.97);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
}
.site-menu[hidden] { display: none; }

.site-menu-inner {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: var(--s-6);
  padding-top: var(--s-5);
  padding-bottom: var(--s-5);
}

.menu-list { display: grid; gap: 2px; }
.menu-list a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: 8px 8px 8px 22px;
  border-radius: var(--r-sm);
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1rem + 0.9vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-muted);
  transition: color var(--dur) var(--ease), padding-left var(--dur) var(--ease),
              background-color var(--dur) var(--ease);
}
/* Gradient rule slides in on hover instead of a colour-only shift */
.menu-list a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 0;
  border-radius: 2px;
  background: var(--brand-gradient);
  transform: translateY(-50%);
  transition: height var(--dur) var(--ease);
}
.menu-list a:hover,
.menu-list a:focus-visible { color: var(--text); background: rgba(255, 255, 255, 0.04); padding-left: 28px; }
.menu-list a:hover::before,
.menu-list a:focus-visible::before { height: 60%; }

.menu-aside {
  align-self: start;
  padding: var(--s-4);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(192, 119, 255, 0.1), transparent 62%),
    var(--bg-card);
}
.menu-aside h2 { font-size: 1.125rem; letter-spacing: -0.02em; }
.menu-aside p { margin-top: 10px; color: var(--text-muted); font-size: 0.9375rem; }
.menu-aside .btn { width: 100%; margin-top: var(--s-3); }
.menu-email {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: var(--s-1);
  font-size: 0.9375rem;
  color: var(--text-dim);
}
.menu-email:hover { color: var(--grad-cyan); }

/* ============================================================
   COMPONENT: Hero
   ============================================================ */

.hero {
  position: relative;
  min-height: calc(100dvh - var(--header-h));
  display: flex;
  align-items: center;
  padding-top: var(--s-5);
  padding-bottom: var(--s-5);
  overflow: hidden;
  isolation: isolate;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: var(--z-bg);
  pointer-events: none;
}

/* Ambient gradient field behind the particles. Fills the whole hero,
   including above the eyebrow, so there is no dead area. */
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 130%;
  z-index: var(--z-bg);
  pointer-events: none;
  background:
    radial-gradient(46% 40% at 20% 24%, rgba(255, 79, 209, 0.4), transparent 68%),
    radial-gradient(44% 42% at 80% 20%, rgba(56, 219, 255, 0.34), transparent 66%),
    radial-gradient(50% 44% at 52% 86%, rgba(192, 119, 255, 0.34), transparent 70%),
    radial-gradient(38% 34% at 66% 58%, rgba(255, 79, 209, 0.16), transparent 70%);
  filter: blur(46px);
  animation: aura-drift 34s var(--ease) infinite alternate;
  will-change: transform;
}

@keyframes aura-drift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(2.5%, -1.8%, 0) scale(1.07); }
  100% { transform: translate3d(-2%, 2%, 0) scale(1.03); }
}

/* Scrim that guarantees WCAG AA behind the hero copy.
   The ambient field stays vivid at the edges; this darkens only the
   centre column where text sits, measured to keep the background
   below 0.031 relative luminance there. */
.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: var(--z-bg);
  pointer-events: none;
  background:
    radial-gradient(52% 46% at 50% 48%, rgba(5, 5, 7, 0.97) 0%, rgba(5, 5, 7, 0.9) 45%, transparent 100%),
    radial-gradient(72% 62% at 50% 48%, rgba(5, 5, 7, 0.6), transparent 78%),
    linear-gradient(to bottom, rgba(5, 5, 7, 0.34) 0%, transparent 26%, transparent 66%, var(--bg) 100%);
}

.hero-content {
  position: relative;
  z-index: var(--z-content);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-headline {
  margin-top: var(--s-3);
  font-size: clamp(2.5rem, 1.1rem + 5.4vw, 4.6rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
  max-width: 16ch;
  padding-bottom: 4px;
}

.hero-sub {
  margin-top: var(--s-3);
  max-width: 62ch;
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.125rem);
  line-height: 1.62;
  color: var(--text-muted);
}

.hero-ctas {
  margin-top: var(--s-4);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--s-2);
}

/* Risk-reversal line: sits between the CTAs and the fine print, and reads
   as a claim rather than small print, so it is brighter and heavier. */
.risk-line {
  margin-top: var(--s-3);
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--text);
  max-width: 58ch;
}

.hero-trust {
  margin-top: var(--s-3);
  padding-top: var(--s-3);
  border-top: 1px solid var(--line);
  font-size: 0.9375rem;
  color: var(--text-dim);
  max-width: 52ch;
}

/* ============================================================
   COMPONENT: Our Mission
   The statement itself is the largest text on the page after the
   hero, so the mission reads before anything around it.
   ============================================================ */

.mission {
  position: relative;
  padding: var(--s-8) 0;
  border-top: 1px solid var(--line);
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.mission-glow {
  position: absolute;
  inset: -30% -10% auto -10%;
  height: 150%;
  z-index: var(--z-bg);
  pointer-events: none;
  background:
    radial-gradient(40% 44% at 50% 22%, rgba(192, 119, 255, 0.22), transparent 70%),
    radial-gradient(34% 40% at 18% 34%, rgba(255, 79, 209, 0.14), transparent 68%),
    radial-gradient(34% 40% at 84% 30%, rgba(56, 219, 255, 0.14), transparent 68%);
  filter: blur(50px);
  animation: aura-drift 38s var(--ease) infinite alternate;
  will-change: transform;
}
.mission > .container { position: relative; z-index: var(--z-content); }

.section-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.mission-statement {
  margin-top: var(--s-3);
  margin-inline: auto;
  max-width: 24ch;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 1.1rem + 2.7vw, 3.2rem);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.03em;
  padding-bottom: 4px;
  text-wrap: balance;
}

.mission-pillars {
  margin-top: var(--s-6);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-3);
  text-align: left;
}
.mission-pillar {
  padding-top: var(--s-3);
  border-top: 1px solid var(--line-strong);
}
.mission-pillar h3 { font-size: 1.0625rem; letter-spacing: -0.015em; }
.mission-pillar p { margin-top: 10px; color: var(--text-muted); font-size: 0.9375rem; }

/* ============================================================
   COMPONENT: Our Story
   Two alternating beats. The media column holds either a real
   <img> or the labelled placeholder below, at a fixed 4:3 ratio
   so swapping in the final files causes no layout shift.
   ============================================================ */

.story {
  padding: var(--s-7) 0;
  border-top: 1px solid var(--line);
  background: var(--bg-raise);
}

.story-beat {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--s-6);
  align-items: center;
  margin-top: var(--s-6);
}
/* Second beat mirrors the first: copy left, media right. The column
   template flips too, so the media keeps the same width in both beats. */
.story-beat-reverse { grid-template-columns: 1.1fr 0.9fr; }
.story-beat-reverse .story-media { order: 2; }

.story-media {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-card);
}
.story-media img { width: 100%; height: 100%; object-fit: cover; }

.story-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  padding: var(--s-3);
  background:
    radial-gradient(70% 70% at 30% 25%, rgba(255, 79, 209, 0.12), transparent 70%),
    radial-gradient(70% 70% at 75% 80%, rgba(56, 219, 255, 0.12), transparent 70%),
    var(--bg-card);
}
/* Dashed inset frame reads as "slot", not as a broken image */
.story-placeholder::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-md);
  pointer-events: none;
}
.story-placeholder-label {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}
.story-placeholder-note {
  font-size: 0.8125rem;
  color: var(--text-dim);
}

.story-copy p {
  color: var(--text-muted);
  font-size: 1.0625rem;
  line-height: 1.7;
  max-width: 58ch;
}
.story-copy .btn { margin-top: var(--s-4); }

/* ============================================================
   COMPONENT: Why Arevox
   Two-column: the pitch stays left while the reasons stack right.
   A different layout family from the sections either side of it.
   ============================================================ */

.why {
  padding: var(--s-7) 0;
  border-top: 1px solid var(--line);
  background: var(--bg-raise);
}
.why-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: var(--s-6);
  align-items: start;
}
.why-intro { position: sticky; top: calc(var(--header-h) + var(--s-4)); }
.why-intro .btn { margin-top: var(--s-4); }

.why-list { display: grid; gap: var(--s-3); }
.why-item {
  position: relative;
  padding: var(--s-4);
  padding-left: var(--s-5);
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--bg-card);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease),
              background-color var(--dur) var(--ease);
}
.why-item::before {
  content: "";
  position: absolute;
  left: var(--s-3);
  top: var(--s-4);
  bottom: var(--s-4);
  width: 3px;
  border-radius: 2px;
  background: var(--brand-gradient);
  opacity: 0.55;
  transition: opacity var(--dur) var(--ease);
}
.why-item:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  background: var(--bg-card-hover);
}
.why-item:hover::before { opacity: 1; }
.why-item h3 { font-size: 1.125rem; letter-spacing: -0.015em; }
.why-item p { margin-top: 8px; color: var(--text-muted); font-size: 1rem; }

/* ============================================================
   COMPONENT: Case studies (placeholder until client sign-off)
   ============================================================ */

.casework {
  padding: var(--s-7) 0;
  border-top: 1px solid var(--line);
}

.casework-placeholder {
  margin-top: var(--s-5);
  padding: var(--s-5);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background:
    radial-gradient(80% 120% at 50% 0%, rgba(192, 119, 255, 0.07), transparent 62%),
    var(--bg-card);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-3);
}
.casework-placeholder p {
  color: var(--text-muted);
  font-size: 1.0625rem;
  max-width: 56ch;
}
.casework-offer { color: var(--text-dim); font-size: 0.9375rem; }

/* ============================================================
   COMPONENT: Problem
   ============================================================ */

.problem { padding: var(--s-8) 0 var(--s-7); }

.icon-square {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  flex-shrink: 0;
  background: rgba(56, 219, 255, 0.09);
  border: 1px solid rgba(56, 219, 255, 0.2);
  color: var(--grad-cyan);
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.icon-square svg { width: 20px; height: 20px; }

.problem-list { margin-top: var(--s-6); }

.problem-item {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  padding: var(--s-4) 0;
  border-top: 1px solid var(--line);
}
.problem-item:last-child { border-bottom: 1px solid var(--line); }
.problem-item h3 { font-size: 1.1875rem; letter-spacing: -0.015em; }
.problem-item p {
  margin-top: 6px;
  color: var(--text-muted);
  max-width: 62ch;
  font-size: 1rem;
}

/* ============================================================
   COMPONENT: Solutions
   ============================================================ */

.solutions { padding: var(--s-7) 0; }

.solutions-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--s-4);
  flex-wrap: wrap;
  margin-bottom: var(--s-6);
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-3);
}

/* Shared card system */
.card {
  position: relative;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--bg-card);
  padding: var(--s-4);
  transition: transform var(--dur) var(--ease), background-color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
/* Gradient border reveal on hover */
.card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: var(--brand-gradient);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
  pointer-events: none;
}
.card:hover {
  transform: translateY(-4px);
  background: var(--bg-card-hover);
  box-shadow: 0 18px 44px -22px rgba(0, 0, 0, 0.9);
}
.card:hover::before { opacity: 0.85; }
.card:focus-within::before { opacity: 0.85; }

.solution-card { display: flex; flex-direction: column; }
.solution-card h3 {
  margin-top: var(--s-3);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}
.solution-card p {
  margin-top: 10px;
  margin-bottom: var(--s-2);
  color: var(--text-muted);
  font-size: 1rem;
  flex-grow: 1;
}
.solution-card .text-link { align-self: flex-start; }
.solution-card:hover .icon-square {
  background: rgba(56, 219, 255, 0.16);
  border-color: rgba(56, 219, 255, 0.36);
}

/* ============================================================
   COMPONENT: Process
   ============================================================ */

.process {
  padding: var(--s-7) 0;
  border-top: 1px solid var(--line);
}

.process-steps {
  margin-top: var(--s-6);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-3);
  counter-reset: step;
}

.process-step {
  position: relative;
  padding-top: var(--s-4);
  border-top: 1px solid var(--line);
}
/* Connector rail that fills with the brand gradient */
.process-step::after {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  height: 1px;
  width: 0;
  background: var(--brand-gradient);
  transition: width 700ms var(--ease);
}
.process-step.is-visible::after { width: 100%; }

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-strong);
  color: var(--text);
}
.process-step h3 {
  margin-top: var(--s-2);
  font-size: 1.0625rem;
  letter-spacing: -0.015em;
  line-height: 1.3;
}
.process-step p { margin-top: 8px; color: var(--text-muted); font-size: 0.9375rem; }

/* ============================================================
   COMPONENT: Final CTA
   ============================================================ */

.final-cta {
  position: relative;
  padding: var(--s-8) 0;
  border-top: 1px solid var(--line);
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.final-glow {
  position: absolute;
  inset: auto 0 -40% 0;
  height: 110%;
  z-index: var(--z-bg);
  pointer-events: none;
  background:
    radial-gradient(46% 60% at 50% 92%, rgba(192, 119, 255, 0.4), transparent 70%),
    radial-gradient(38% 50% at 20% 96%, rgba(255, 79, 209, 0.3), transparent 68%),
    radial-gradient(38% 50% at 82% 96%, rgba(56, 219, 255, 0.3), transparent 68%);
  filter: blur(38px);
  animation: aura-drift 30s var(--ease) infinite alternate;
  will-change: transform;
}
.final-cta > .container { position: relative; z-index: var(--z-content); }

.final-headline {
  font-size: clamp(2.05rem, 1.2rem + 3.1vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.032em;
  max-width: 20ch;
  margin-inline: auto;
  padding-bottom: 4px;
}
.final-actions { margin-top: var(--s-5); display: flex; justify-content: center; }
.final-cta .risk-line { margin-inline: auto; text-align: center; }
.final-cta 
/* ============================================================
   COMPONENT: Footer
   ============================================================ */

.site-footer { border-top: 1px solid var(--line); background: var(--bg); padding-top: var(--s-6); }

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: var(--s-5);
  padding-bottom: var(--s-6);
}
.footer-brand p {
  margin-top: var(--s-2);
  color: var(--text-dim);
  font-size: 0.9375rem;
  max-width: 40ch;
}
.footer-grid h3 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: var(--s-2);
}
.footer-grid nav ul, .footer-contact ul { display: grid; gap: 2px; }
.footer-grid a:not(.brand) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.9375rem;
  color: var(--text-muted);
}
.footer-grid a:not(.brand):hover { color: var(--text); }

.social-links { display: flex; gap: var(--s-1); margin-top: var(--s-2); }
.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  opacity: 0.65;
  transition: opacity var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.social-links a:hover { opacity: 1; border-color: var(--line-strong); transform: translateY(-2px); }
.social-links svg { width: 18px; height: 18px; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2) var(--s-4);
  justify-content: space-between;
  padding-top: var(--s-3);
  padding-bottom: var(--s-4);
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
  color: var(--text-dim);
}

/* ============================================================
   COMPONENT: Booking page (book.html)
   ============================================================ */

.book-page {
  position: relative;
  padding: var(--s-6) 0 var(--s-7);
  overflow: hidden;
  isolation: isolate;
  min-height: calc(100dvh - var(--header-h));
}
.book-glow {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 120%;
  z-index: var(--z-bg);
  pointer-events: none;
  background:
    radial-gradient(40% 40% at 16% 18%, rgba(255, 79, 209, 0.22), transparent 68%),
    radial-gradient(40% 40% at 88% 26%, rgba(56, 219, 255, 0.18), transparent 66%),
    radial-gradient(46% 40% at 50% 92%, rgba(192, 119, 255, 0.16), transparent 70%);
  filter: blur(52px);
  animation: aura-drift 40s var(--ease) infinite alternate;
  will-change: transform;
}

.book-layout {
  position: relative;
  z-index: var(--z-content);
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: var(--s-6);
  align-items: start;
}

.book-headline {
  margin-top: var(--s-3);
  font-size: clamp(2.1rem, 1.3rem + 2.6vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  padding-bottom: 4px;
  max-width: 14ch;
}

.book-expect {
  margin-top: var(--s-5);
  display: grid;
  gap: var(--s-3);
}
.book-expect li { display: flex; gap: var(--s-2); align-items: flex-start; }
.book-expect-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border-radius: 9px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.05);
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
}
.book-expect h2 { font-size: 1rem; letter-spacing: -0.015em; }
.book-expect p { margin-top: 4px; color: var(--text-muted); font-size: 0.9375rem; }

.book-page .risk-line { margin-top: var(--s-5); }

/* The embed paints its own white-ish surface, so the frame gives it a
   dark rounded container consistent with the rest of the site. */
.book-calendar-frame {
  position: relative;
  border-radius: var(--r-lg);
  border: 1px solid var(--line-strong);
  background: var(--bg-card);
  overflow: hidden;
  box-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.95);
  min-height: 520px;
}
.book-calendar-frame .calendly-inline-widget { position: relative; z-index: 1; }

.book-fallback {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  text-align: center;
  padding: var(--s-4);
  color: var(--text-muted);
}
/* display:flex above would otherwise defeat the hidden attribute */
.book-fallback[hidden] { display: none; }
.book-fallback-title {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text);
}
noscript .book-fallback { position: static; min-height: 320px; }

.book-alt {
  margin-top: var(--s-3);
  text-align: center;
  font-size: 0.9375rem;
  color: var(--text-dim);
}
.book-alt a { color: var(--grad-cyan); }
.book-alt a:hover { color: var(--text); }

/* ============================================================
   COMPONENT: Sticky mobile CTA
   ============================================================ */

.sticky-cta {
  position: fixed;
  left: var(--s-2);
  right: var(--s-2);
  bottom: var(--s-2);
  z-index: var(--z-sticky);
  display: none;
  align-items: center;
  gap: var(--s-1);
  padding: 10px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-strong);
  background: rgba(11, 11, 17, 0.9);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  box-shadow: 0 12px 40px -14px rgba(0, 0, 0, 0.95);
  transform: translateY(140%);
  transition: transform 300ms var(--ease);
}
.sticky-cta[hidden] { display: none; }
.sticky-cta .btn { flex-grow: 1; }
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text-muted);
}
.sticky-cta-close svg { width: 16px; height: 16px; }
.sticky-cta-close:hover { color: var(--text); border-color: var(--line-strong); }

.top-sentinel { position: absolute; top: 1px; height: 1px; width: 1px; }

/* ============================================================
   Scroll reveal
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms ease-out, transform 600ms ease-out;
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; will-change: auto; }
.reveal.d-1 { transition-delay: 100ms; }
.reveal.d-2 { transition-delay: 200ms; }
.reveal.d-3 { transition-delay: 300ms; }
.reveal.d-4 { transition-delay: 400ms; }

/* JS off: never hide content */
.no-js .reveal { opacity: 1; transform: none; }

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1024px) {
  .solutions-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: var(--s-4) var(--s-3); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .story-beat { gap: var(--s-5); }
  .why-inner { grid-template-columns: 1fr; gap: var(--s-5); }
  .why-intro { position: static; }
  .book-layout { grid-template-columns: 1fr; gap: var(--s-5); }
  .mission-pillars { grid-template-columns: 1fr; gap: var(--s-2); }
}

@media (max-width: 860px) {
  /* The header CTA folds away; the menu panel and the sticky bar carry it */
  .btn-nav { display: none; }
  .site-menu-inner { grid-template-columns: 1fr; gap: var(--s-4); }
  .menu-aside { order: 2; }
}

@media (max-width: 720px) {
  :root { --s-7: 72px; --s-8: 88px; }

  body { font-size: 16px; }

  .header-inner { padding-right: var(--s-2); }
  .container { padding-inline: var(--s-2); }

  .hero { padding-top: var(--s-4); padding-bottom: var(--s-5); }
  .hero-headline { max-width: 14ch; }
  .hero-ctas { flex-direction: column; align-items: stretch; width: 100%; max-width: 360px; }
  .hero-ctas .btn { width: 100%; }

  /* Stacked microcopy gets tight on a phone, so pull it in */
  .hero-sub { margin-top: var(--s-2); }
  .hero-ctas { margin-top: var(--s-3); }
  .risk-line { margin-top: var(--s-2); font-size: 0.875rem; }
  .hero-trust { margin-top: var(--s-2); padding-top: var(--s-2); font-size: 0.875rem; }

  .book-page { padding-top: var(--s-4); }
  .book-headline { max-width: none; }
  .book-calendar-frame { min-height: 460px; }
  .menu-list a { min-height: 52px; }

  /* Story beats stack, media first in both, so reading order stays natural */
  .story-beat { grid-template-columns: 1fr; gap: var(--s-3); margin-top: var(--s-5); }
  .story-beat-reverse .story-media { order: 0; }
  .story-copy .btn { width: 100%; margin-top: var(--s-3); }
  .casework-placeholder { padding: var(--s-4) var(--s-3); }



  .solutions-header { flex-direction: column; align-items: flex-start; gap: var(--s-2); }

  .problem-item { gap: var(--s-2); }


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

  .sticky-cta { display: flex; }
}

/* ============================================================
   Reduced motion
   ============================================================ */

@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;
  }
  .reveal { opacity: 1; transform: none; }
  .hero::before, .final-glow { animation: none; }
  .process-step::after { width: 100%; }
}

/* Forced colours (Windows high contrast) */
@media (forced-colors: active) {
  .grad-text { color: CanvasText; -webkit-text-fill-color: CanvasText; }
  .card, .btn { border: 1px solid ButtonBorder; }
}
