/* ============================================================
   BOLT design tokens, directly from design.md
   ============================================================ */
:root {
  /* Colours: action and paper */
  --color-ink:           #0F0F12;
  --color-paper:         #FFFFFF;

  /* Colours: surface */
  --color-canvas:        #FFFFFF;
  --color-canvas-soft:   #F6F6F4;
  --color-hairline:      #E8E8E6;
  --color-hairline-soft: #EFEFED;
  --color-surface-cool:  #EBEBEA;
  --color-scrim:         #0F0F12;

  /* Colours: text neutral ladder */
  --color-ink-soft:   #2A2A33;
  --color-graphite:   #4D4D58;
  --color-slate:      #6D6D7A;
  --color-slate-soft: #8A8A95;
  --color-mute:       #A8A8AE;
  --color-stone:      #9C9CA6;
  --color-ash:        #C6C6CE;

  /* Logo-only purples (never used in UI) */
  --color-electric: #5F5ABB;
  --color-strike:   #2B296E;

  /* Spacing */
  --space-xxs: 4px;
  --space-xs:  8px;
  --space-sm:  12px;
  --space-md:  16px;
  --space-lg:  24px;
  --space-xl:  32px;
  --space-xxl: 48px;
  --space-section:    64px;
  --space-section-lg: 96px;

  /* Rounding */
  --r-none: 0;
  --r-xs:   4px;
  --r-sm:   6px;
  --r-md:   8px;
  --r-lg:   16px;
  --r-full: 9999px;

  /* Container */
  --container-max: 1280px;

  /* Type face */
  --font-sans: "General Sans", "Switzer", "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Inter", system-ui, sans-serif;
}

/* ============================================================
   Reset and base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-size: 16px; font-weight: 400; line-height: 1.5;
  color: var(--color-graphite);
  background: var(--color-canvas);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
ul, ol { list-style: none; }

/* ============================================================
   Typography tokens
   ============================================================ */
.t-display     { font-size: 48px; font-weight: 400; line-height: 1.0; letter-spacing: -1.2px; color: var(--color-ink); }
.t-display-sm  { font-size: 40px; font-weight: 400; line-height: 1.05; letter-spacing: -1.0px; color: var(--color-ink); }
.t-heading-md  { font-size: 36px; font-weight: 400; line-height: 1.05; letter-spacing: -0.9px; color: var(--color-ink); }
.t-heading-sm  { font-size: 24px; font-weight: 400; line-height: 1.15; letter-spacing: 0;       color: var(--color-ink); }
.t-subtitle    { font-size: 20px; font-weight: 400; line-height: 1.35; letter-spacing: 0;       color: var(--color-ink); }
.t-body        { font-size: 16px; font-weight: 400; line-height: 1.5;  letter-spacing: 0;       color: var(--color-graphite); }
.t-body-strong { font-size: 16px; font-weight: 600; line-height: 1.5;  letter-spacing: 0;       color: var(--color-ink); }
.t-body-tight  { font-size: 16px; font-weight: 400; line-height: 1.3;  letter-spacing: -0.16px; color: var(--color-graphite); }
.t-link-sm     { font-size: 14px; font-weight: 600; line-height: 1.43; letter-spacing: 0;       color: var(--color-ink); }
.t-eyebrow     { font-size: 14px; font-weight: 500; line-height: 1.43; letter-spacing: 0.35px;  color: var(--color-ink); text-transform: uppercase; }
.t-meta        { font-size: 13px; font-weight: 400; line-height: 1.3;  letter-spacing: -0.26px; color: var(--color-slate); }
.t-micro-caps  { font-size: 11px; font-weight: 500; line-height: 1.3;  letter-spacing: 0.2px;   color: var(--color-stone); text-transform: uppercase; }

/* On scrim variants */
.on-scrim .t-eyebrow { color: rgba(255,255,255,0.7); }
.on-scrim .t-display, .on-scrim .t-display-sm, .on-scrim .t-heading-md, .on-scrim .t-heading-sm, .on-scrim .t-subtitle { color: var(--color-paper); }
.on-scrim .t-body, .on-scrim .t-body-tight { color: rgba(255,255,255,0.85); }
.on-scrim .t-micro-caps { color: var(--color-stone); }

/* ============================================================
   Layout
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-xxl);
}
section { padding: var(--space-section-lg) 0; }
section.tight { padding: var(--space-section) 0; }
.section-head { margin-bottom: var(--space-xxl); max-width: 720px; }
.section-head .t-eyebrow { margin-bottom: var(--space-md); }
.section-head .t-display, .section-head .t-display-sm, .section-head .t-heading-md { margin-bottom: var(--space-md); }
.section-head .t-body { max-width: 56ch; }

/* Mobile gutters.
   The container held 48px of padding at every width, which on a 390px phone
   left only 294px of usable width and made every section look inset. Tighter
   gutters on small screens, so sections read closer to full bleed. */
@media (max-width: 700px) {
  .container,
  .container-narrow { padding: 0 var(--space-lg); }
}
@media (max-width: 420px) {
  .container,
  .container-narrow { padding: 0 var(--space-md); }
}

/* Hairline divider used between sections that need a quiet rule */
.hairline { height: 1px; background: var(--color-hairline-soft); border: 0; }

/* ============================================================
   Components: buttons
   ============================================================ */
.button-primary,
.button-primary-on-dark,
.button-ghost,
.button-text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--r-full);
  height: 40px;
  transition: background 120ms ease, color 120ms ease, border-color 120ms ease;
  white-space: nowrap;
}
.button-primary {
  background: var(--color-ink);
  color: var(--color-paper);
}
.button-primary:hover { background: var(--color-ink-soft); }
.button-primary-on-dark {
  background: var(--color-paper);
  color: var(--color-ink);
}
.button-primary-on-dark:hover { background: var(--color-canvas-soft); }
.button-ghost {
  background: transparent;
  color: var(--color-ink);
  border: 1px solid var(--color-ink);
}
.button-ghost:hover { background: var(--color-ink); color: var(--color-paper); }
.button-text-link {
  height: auto;
  padding: 0;
  background: transparent;
  color: var(--color-ink);
  text-decoration: underline;
  text-underline-offset: 4px;
  border-radius: 0;
}
.button-text-link:hover { color: var(--color-ink-soft); }
:focus-visible { outline: 2px solid var(--color-ink); outline-offset: 2px; border-radius: 2px; }

/* ============================================================
   Navigation
   ============================================================ */
.nav-bar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(150%) blur(10px);
  -webkit-backdrop-filter: saturate(150%) blur(10px);
}
.nav-inner {
  display: flex; align-items: center;
  gap: var(--space-xxl);
  height: 64px;
  padding: 0 var(--space-xxl);
  max-width: var(--container-max);
  margin: 0 auto;
}
.nav-logo { display: inline-flex; align-items: center; gap: var(--space-xs); flex-shrink: 0; color: var(--color-ink); }
.nav-logo img, .nav-logo svg { height: 22px; width: auto; display: block; }
.nav-links {
  display: flex;
  gap: var(--space-xl);
  margin-left: var(--space-lg);
}
.nav-link {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.1px;
  color: var(--color-ink);
  padding: var(--space-xs) 0;
  transition: color 120ms ease;
}
.nav-link:hover { color: var(--color-slate); }
.nav-cta {
  display: flex; align-items: center; gap: var(--space-sm);
  margin-left: auto;
  flex-shrink: 0;
}
.nav-burger { display: none; }
.nav-burger-icon { width: 18px; height: 18px; display: block; }
.nav-burger-close { display: none; }
.nav-bar[data-menu-open="true"] .nav-burger-open { display: none; }
.nav-bar[data-menu-open="true"] .nav-burger-close { display: block; }

/* Mobile menu panel, hidden on desktop */
.nav-menu { display: none; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-inner { padding: 0 var(--space-lg); gap: var(--space-md); height: 60px; }
  /* Firm up the sticky background on mobile so the bar reads cleanly over any scrolling content */
  .nav-bar {
    background: var(--color-canvas);
    border-bottom: 1px solid var(--color-hairline-soft);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .nav-burger {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: var(--r-full);
    color: var(--color-ink);
  }
  .nav-burger:hover { background: var(--color-canvas-soft); }
  .nav-cta .button-primary { height: 40px; padding: 0 var(--space-md); font-size: 13px; }

  /* Mobile menu overlay panel */
  .nav-bar[data-menu-open="true"] .nav-menu {
    display: flex;
    position: fixed;
    top: 60px; left: 0; right: 0; bottom: 0;
    background: var(--color-canvas);
    flex-direction: column;
    padding: var(--space-xl) var(--space-lg) var(--space-xxl);
    z-index: 49;
    overflow-y: auto;
  }
  .nav-menu-links {
    display: flex; flex-direction: column;
    border-top: 1px solid var(--color-hairline-soft);
  }
  .nav-menu-links li { border-bottom: 1px solid var(--color-hairline-soft); }
  .nav-menu-link {
    display: block;
    font-size: 22px; font-weight: 400; letter-spacing: -0.5px;
    color: var(--color-ink);
    padding: var(--space-md) 0;
  }
  /* Lock body scroll while menu is open */
  body.nav-menu-open { overflow: hidden; }
}

/* ============================================================
   Hero, dark split layout with right-side photo card
   ============================================================ */
.hero {
  background:
    linear-gradient(180deg, rgba(15,15,18,0.88) 0%, rgba(15,15,18,0.92) 50%, rgba(15,15,18,0.96) 100%),
    url('website-hero copy.webp') center/cover no-repeat;
  background-color: var(--color-scrim);
  color: var(--color-paper);
  min-height: clamp(640px, 86vh, 880px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-section-lg) 0 0;
  overflow: hidden;
  position: relative;
}
.hero > .container { flex: 0 0 auto; }
.hero > .logo-bar { flex: 0 0 auto; margin-top: auto; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: var(--space-section-lg);
  align-items: center;
  width: 100%;
}
.hero-copy { max-width: 640px; }

/* Google reviews rating pill above the headline, liquid-glass style */
.hero-rating {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--space-lg);
  padding: 7px 14px 7px 16px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.92);
  letter-spacing: -0.1px;
  border-radius: var(--r-full);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.12),
    inset 0 -1px 0 rgba(0,0,0,0.15),
    0 4px 16px rgba(0,0,0,0.18);
}
.hero-rating .stars {
  color: #F5B82E;
  font-size: 13px;
  letter-spacing: 1.5px;
  line-height: 1;
}
.hero-rating .google-g-mark {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Trust strip sits above the headline now */
.hero-copy > .hero-trust { margin-bottom: var(--space-lg); }

.hero-copy h1 {
  font-size: clamp(48px, 5.8vw, 84px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -2.2px;
  color: var(--color-paper);
  margin: 0 0 var(--space-lg);
  max-width: 14ch;
}
/* Highlighted word inside the headline — BOLT purple highlight */
.hero-copy h1 .hl {
  display: inline-block;
  background: #5F5AC7;
  padding: 0 12px 2px;
  border-radius: 8px;
  color: var(--color-paper);
  border: none;
}

.hero-copy p.lede {
  font-size: 18px; font-weight: 400; line-height: 1.55;
  color: rgba(255,255,255,0.7);
  max-width: 50ch;
  margin: 0 0 var(--space-xl);
}

.hero-actions {
  display: flex; gap: var(--space-md);
  margin-bottom: var(--space-xxl);
}
.hero-actions .button-primary-on-dark {
  background: var(--color-paper);
  color: var(--color-ink);
  padding: 14px 24px;
  height: auto;
  border-radius: var(--r-full);
  display: inline-flex; align-items: center; gap: 8px;
}
.hero-actions .button-primary-on-dark:hover { background: var(--color-canvas-soft); }
.hero-actions .button-ghost {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.16);
  color: var(--color-paper);
  padding: 14px 24px;
  height: auto;
  border-radius: var(--r-full);
}
.hero-actions .button-ghost:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.3); }

/* Trust strip: stacked avatars + rating + credentials */
.hero-trust {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
}
.hero-avatars {
  display: flex;
  align-items: center;
}
.hero-avatars img {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 2px solid var(--color-scrim);
  margin-left: -10px;
  object-fit: cover;
  background: var(--color-canvas-soft);
}
.hero-avatars img:first-child { margin-left: 0; }
.hero-trust-meta { display: flex; flex-direction: column; gap: 2px; }
.hero-trust .stars {
  color: #F5B82E;
  font-size: 14px;
  letter-spacing: 1.5px;
  line-height: 1;
}
.hero-trust .rating-meta {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
}

/* Credentials sit directly on the photo, no wrapper pill — gradient provides legibility */
.hero-credentials {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  z-index: 2;
}
.hero-credentials img {
  height: clamp(34px, 4.2vw, 52px);
  width: auto;
  max-width: 32%;
  display: block;
  object-fit: contain;
  flex-shrink: 1;
  opacity: 1;
  transition: opacity 200ms ease;
}
.hero-credentials img.partner {
  /* Native rendering — the badge is designed with its own white plate plus colored G and text.
     On the dark gradient that plate becomes visible naturally; the G stays recognisable. */
  height: clamp(38px, 4.6vw, 58px);
}

/* Right-side floating photo card. The whole card is tilted as one piece so the
   photo, the gradient overlay, and the credential row all share the same plane. */
.hero-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,0.5);
}
.hero-card .hero-stage-photo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 4/5;
  border-radius: 0;
}
/* Bottom-edge gradient sits inside the tilted card so it tracks the photo exactly */
.hero-card::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: 0;
  height: 38%;
  background: linear-gradient(180deg, transparent 0%, rgba(15,15,18,0.55) 55%, rgba(15,15,18,0.96) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Floating context labels overlaid on the card */
.hero-card-label {
  position: absolute;
  background: rgba(36,36,42,0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--color-paper);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-full);
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.hero-card-label .dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; margin-right: 8px; vertical-align: 1px; }
.hero-card-label.top-left  { top: 4%;   left: -6%; }
.hero-card-label.top-right { top: 18%;  right: -8%; }
.hero-card-label.bot-left  { bottom: 22%; left: -10%; }
.hero-card-label.bot-right { bottom: 6%;  right: -4%; }
.hero-card-label .dot-blue   { background: #4285F4; }
.hero-card-label .dot-red    { background: #EA4335; }
.hero-card-label .dot-yellow { background: #FBBC04; }
.hero-card-label .dot-green  { background: #34A853; }

@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--space-xl); }
  .hero-card { max-width: 480px; margin: 0 auto; }
}
@media (max-width: 700px) {
  .hero { min-height: auto; padding: var(--space-section) 0 var(--space-xxl); }
  .hero-copy { max-width: 100%; }
  .hero-copy h1 { font-size: 38px; letter-spacing: -1.2px; line-height: 1.2; }
  .hero-copy p.lede { font-size: 16px; }
  .hero-actions { gap: var(--space-sm); }
  .hero-credentials { gap: var(--space-sm); bottom: 14px; left: 12px; right: 12px; }
  .hero-copy h1 .hl { padding: 2px 10px 3px; }
}

/* Dashboard moved to its own section beneath the hero */
.dashboard-section {
  background: var(--color-canvas-soft);
  padding: var(--space-section-lg) 0;
  border-bottom: 1px solid var(--color-hairline-soft);
}
.dashboard-section .section-head { max-width: 760px; margin-bottom: var(--space-xl); }
.dashboard-section .dashboard-wrap { max-width: 1100px; margin: 0 auto; }

/* Animated Google Ads dashboard mock */
.dashboard {
  background: var(--color-paper);
  border-radius: var(--r-lg);
  padding: var(--space-lg);
  color: var(--color-ink);
  box-shadow: 0 30px 80px rgba(0,0,0,0.35);
  position: relative;
}
/* Account header bar */
.dashboard-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 4px 4px 12px;
  border-bottom: 1px solid #E8EAED;
  margin-bottom: 0;
}
.dashboard-bar .ga-mark {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 500; letter-spacing: -0.1px; color: #202124;
  font-family: "Google Sans", "Roboto", var(--font-sans);
}
.dashboard-bar .ga-mark .dot {
  width: 16px; height: 16px; border-radius: 50%;
  background:
    conic-gradient(from 0deg, #4285F4 0% 25%, #EA4335 25% 50%, #FBBC04 50% 75%, #34A853 75% 100%);
}
.dashboard-bar-meta {
  font-size: 12px; color: #5F6368; letter-spacing: 0;
  font-family: "Google Sans", "Roboto", var(--font-sans);
}

/* Four-card Google Ads metric strip, every card the same width */
.metric-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0 0 16px;
}
.metric-card {
  padding: 12px 12px 11px;
  color: var(--color-paper);
  font-family: "Google Sans", "Roboto", var(--font-sans);
  position: relative;
  min-width: 0;
}
.metric-card + .metric-card { border-left: 1px solid rgba(255,255,255,0.18); }
.mc-blue   { background: #4285F4; }
.mc-red    { background: #EA4335; }
.mc-yellow { background: #FBBC04; }
.mc-green  { background: #34A853; }
.mc-label {
  display: flex; align-items: center; gap: 4px;
  font-size: 11px; font-weight: 500; letter-spacing: 0;
  color: rgba(255,255,255,0.95);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mc-label::before {
  content: "▾"; font-size: 8px; line-height: 1;
  opacity: 0.85; transform: translateY(-1px);
  flex-shrink: 0;
}
.mc-yellow .mc-label { color: rgba(255,255,255,1); }
.mc-value {
  display: block; margin-top: 6px;
  font-size: 26px; font-weight: 400; line-height: 1.05;
  letter-spacing: -0.5px;
  color: var(--color-paper);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
/* Multi-line chart, faithful to the Google Ads palette */
.dash-chart {
  position: relative;
  margin: 0 -4px;
}
.dash-chart svg { width: 100%; height: 200px; display: block; }
.dash-chart .gridline { stroke: #E8EAED; stroke-width: 1; }
.dash-chart .axis-baseline { stroke: #DADCE0; stroke-width: 1; }
.dash-chart path.gline {
  fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1500;
  stroke-dashoffset: 1500;
  animation: gline-draw 2.8s ease-out forwards;
}
.dash-chart path.line-blue   { stroke: #4285F4; animation-delay: 0.05s; }
.dash-chart path.line-red    { stroke: #EA4335; animation-delay: 0.20s; }
.dash-chart path.line-yellow { stroke: #FBBC04; animation-delay: 0.35s; }
.dash-chart path.line-green  { stroke: #34A853; animation-delay: 0.50s; }
@keyframes gline-draw { to { stroke-dashoffset: 0; } }

.dash-axis {
  display: flex; justify-content: space-between;
  padding: 6px 4px 0;
  font-size: 11px; color: #5F6368; letter-spacing: 0;
  font-family: "Google Sans", "Roboto", var(--font-sans);
}

.dashboard-caption { margin-top: var(--space-md); font-size: 12px; color: rgba(255,255,255,0.55); letter-spacing: 0; }

@media (max-width: 1100px) {
  .mc-value { font-size: 24px; }
}
@media (max-width: 700px) {
  .metric-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric-card + .metric-card { border-left: 0; }
  .metric-card:nth-child(3), .metric-card:nth-child(4) { border-top: 1px solid rgba(255,255,255,0.18); }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--space-xxl); }
  .hero-copy h1 { font-size: 40px; letter-spacing: -1.0px; }
}

/* ============================================================
   Logo strip (lives inside the hero, white logos on the hero backdrop)
   ============================================================ */
.logo-bar {
  background: transparent;       /* hero's own gradient + lightning shows through */
  border: none;
  padding: var(--space-section) 0 var(--space-xl);
  margin-top: var(--space-xxl);
  text-align: center;
  overflow: hidden;
}
.logo-bar-tagline {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  max-width: none;
  white-space: nowrap;
  margin: 0 auto var(--space-lg);
}
@media (max-width: 700px) {
  .logo-bar-tagline {
    white-space: normal;
    max-width: 32ch;
    font-size: 12px;
    text-align: center;
  }
  .logo-bar { padding: var(--space-md) 0; margin-top: 0; }
  .client-logo { height: 80px; max-width: 240px; }
}

/* Marquee viewport with fading edges */
.logo-marquee {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0, #000 14%, #000 86%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 14%, #000 86%, transparent 100%);
}
.logo-track {
  display: flex;
  gap: var(--space-section);
  align-items: center;
  width: max-content;
  animation: scroll-logos 60s linear infinite;
}
/* Marquee keeps scrolling even on hover */
@keyframes scroll-logos {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.client-logo {
  height: 96px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
  /* Files are now true white-on-transparent — no blend modes needed */
  opacity: 0.92;
  transition: opacity 200ms ease;
  flex-shrink: 0;
}
.client-logo:hover { opacity: 1; }

.client-wordmark {
  font-weight: 500;
  font-size: 20px;
  letter-spacing: -0.5px;
  color: var(--color-ink);
  opacity: 0.62;
  white-space: nowrap;
  transition: opacity 200ms ease;
  flex-shrink: 0;
}
.client-wordmark:hover { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .logo-track { animation: none; transform: none; flex-wrap: wrap; justify-content: center; width: 100%; gap: var(--space-xxl); }
  .logo-marquee { mask-image: none; -webkit-mask-image: none; }
}

@media (max-width: 700px) {
  .logo-bar { padding: var(--space-md) 0; }
  .logo-track { gap: var(--space-xxl); animation-duration: 45s; }
  .client-logo { height: 72px; max-width: 220px; }
  .client-wordmark { font-size: 20px; }
}

/* ============================================================
   Generic two-column research-grid (5/7 split)
   ============================================================ */
.split {
  display: grid; grid-template-columns: 5fr 7fr; gap: var(--space-xxl);
  align-items: center;
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: var(--space-lg); } }

/* Media thumb placeholder */
.media-thumb {
  background: var(--color-surface-cool);
  border-radius: var(--r-md);
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
}
.media-thumb img, .media-thumb video, .media-thumb iframe {
  width: 100%; height: 100%; object-fit: cover; border: 0;
}
.media-thumb-portrait { aspect-ratio: 3/4; }

/* Placeholder note overlay (visible until real asset lands) */
.media-thumb[data-placeholder]::after {
  content: attr(data-placeholder);
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  padding: var(--space-lg); text-align: center;
  color: var(--color-slate);
  font-size: 12px; letter-spacing: 0.3px; text-transform: uppercase;
}

/* ============================================================
   Testimonial videos, one row of 5 on desktop
   ============================================================ */
.video-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-xl) var(--space-md);
}
.video-card .media-thumb {
  aspect-ratio: 9/16;
  border-radius: var(--r-md);
  background: var(--color-scrim);
  overflow: hidden;
}
.video-card .media-thumb iframe {
  width: 100%; height: 100%; border: 0;
}
/* Click-to-load Vimeo facade */
.video-facade {
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  margin: 0;
  font: inherit;
  color: var(--color-paper);
  cursor: pointer;
  position: relative;
  background-color: #0F0F12;
  background: linear-gradient(135deg, #18181f 0%, #0F0F12 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: background 200ms ease;
}
.video-facade.has-poster {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #0F0F12;
}
.video-facade::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(95,90,187,0.18) 0%, transparent 60%);
  pointer-events: none;
}
.video-facade.has-poster::before {
  background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,0.35) 100%);
  transition: background 200ms ease;
}
.video-facade.has-poster:hover::before {
  background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,0.2) 100%);
}
.video-facade:hover {
  background-image: linear-gradient(135deg, #1e1e26 0%, #15151b 100%);
}
.video-facade.has-poster:hover {
  background-color: #0F0F12;
}
.video-facade-play {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  color: var(--color-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 4px;
  transition: transform 200ms ease, background 200ms ease;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
  z-index: 1;
}
.video-facade:hover .video-facade-play {
  background: var(--color-paper);
}
.video-facade-play svg { display: block; }
.video-card .caption { margin-top: var(--space-md); }
.video-card .name { font-size: 16px; font-weight: 600; color: var(--color-ink); }
.video-card .role { font-size: 13px; color: var(--color-slate); margin-top: 2px; }

/* Proback Victoria slot, video pending */
.video-card.is-placeholder .media-thumb { opacity: 0.65; }
.video-card.is-placeholder .name::after {
  content: " · placeholder";
  font-weight: 400; color: var(--color-mute); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.3px; margin-left: 8px;
}

/* Quiet tile that fills the 6th cell of the grid */
.video-card-coming .media-thumb {
  background: var(--color-canvas-soft);
  border: 1px dashed var(--color-hairline);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: var(--space-lg); text-align: center;
}
.video-card-coming .media-thumb .label {
  font-size: 11px; letter-spacing: 0.4px; text-transform: uppercase;
  color: var(--color-slate); margin-bottom: var(--space-sm);
}
.video-card-coming .media-thumb .text {
  font-size: 18px; line-height: 1.25; letter-spacing: -0.3px;
  color: var(--color-ink); max-width: 18ch;
}

@media (max-width: 1100px) {
  .video-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 700px) {
  .video-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .video-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
}

/* ============================================================
   The 12x story / big number
   ============================================================ */
.story-12x { background: var(--color-canvas); }
.story-12x .container { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-section); align-items: start; }
.story-12x .display-number {
  font-size: clamp(80px, 12vw, 180px);
  font-weight: 400; line-height: 0.9; letter-spacing: -6px;
  color: var(--color-ink);
}
.story-12x .display-number sup { font-size: 0.3em; vertical-align: super; letter-spacing: 0; margin-left: 8px; color: var(--color-graphite); font-weight: 500; }
.story-12x .display-caption { margin-top: var(--space-md); color: var(--color-slate); }
.story-12x .story-body p { margin-bottom: var(--space-md); }
@media (max-width: 900px) { .story-12x .container { grid-template-columns: 1fr; } }

/* ============================================================
   System diagram
   ============================================================ */
.system { background: var(--color-canvas-soft); }
.system .diagram {
  margin-top: var(--space-xl);
  background: var(--color-paper);
  border-radius: var(--r-lg);
  padding: var(--space-xxl);
  border: 1px solid var(--color-hairline-soft);
}
.system svg.flow { width: 100%; height: auto; }
.flow text { font-family: var(--font-sans); }
.flow .node-bg { fill: var(--color-canvas); stroke: var(--color-ink); stroke-width: 1.25; }
.flow .node-title { font-size: 18px; font-weight: 500; fill: var(--color-ink); letter-spacing: -0.4px; }
.flow .node-sub   { font-size: 12px; font-weight: 400; fill: var(--color-slate); letter-spacing: 0.1px; text-transform: uppercase; }
.flow .arrow      { fill: none; stroke: var(--color-ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 6 6; }
.flow .arrow-back { stroke: var(--color-graphite); }
.flow .arrow-label { font-size: 12px; font-weight: 500; fill: var(--color-graphite); letter-spacing: 0.15px; text-transform: uppercase; }
.flow .icon { fill: var(--color-ink); }

/* ============================================================
   Reasons to work with BOLT
   ============================================================ */
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl) var(--space-xl);
}
@media (max-width: 900px) { .reasons-grid { grid-template-columns: 1fr; } }
.reason {
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-hairline);
}
.reason h3 { margin-bottom: var(--space-xs); }
.reason p { color: var(--color-graphite); }
@media (max-width: 700px) { .reasons-grid { grid-template-columns: 1fr; } }

/* ============================================================
   Case studies, toggleable
   ============================================================ */
/* Case-study cards: image-led with bottom overlay (Classicé-inspired) */
/* Horizontal scroll-snap row — fixed-width cards, native swipe on mobile,
   subtle nav arrows on desktop. */
.cases-scroller {
  position: relative;
  margin-top: var(--space-xl);
}
.cases-grid {
  display: flex;
  gap: var(--space-lg);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scroll-padding-left: var(--space-xxl);
  scroll-padding-right: var(--space-xxl);
  /* Bleed beyond the .container so cards run to the viewport edge on scroll */
  margin-left: calc(var(--space-xxl) * -1);
  margin-right: calc(var(--space-xxl) * -1);
  padding: var(--space-xxs) var(--space-xxl) var(--space-md);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--color-hairline) transparent;
}
.cases-grid::-webkit-scrollbar { height: 6px; }
.cases-grid::-webkit-scrollbar-track { background: transparent; }
.cases-grid::-webkit-scrollbar-thumb { background: var(--color-hairline); border-radius: 999px; }
.cases-grid::-webkit-scrollbar-thumb:hover { background: var(--color-slate); }
.case-card {
  position: relative;
  flex: 0 0 340px;
  aspect-ratio: 4/5;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--color-scrim);
  isolation: isolate;
  transition: transform 200ms ease;
  scroll-snap-align: start;
}
.case-card:hover { transform: translateY(-3px); }

/* Edge fades so the last visible card hints at more to come */
.cases-scroller::before,
.cases-scroller::after {
  content: "";
  position: absolute;
  top: 0; bottom: var(--space-md);
  width: var(--space-xxl);
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transition: opacity 200ms ease;
}
.cases-scroller::before {
  left: calc(var(--space-xxl) * -1);
  background: linear-gradient(90deg, var(--color-canvas) 0%, rgba(255,255,255,0) 100%);
}
.cases-scroller::after {
  right: calc(var(--space-xxl) * -1);
  background: linear-gradient(270deg, var(--color-canvas) 0%, rgba(255,255,255,0) 100%);
}
.cases-scroller[data-can-scroll-left="true"]::before { opacity: 1; }
.cases-scroller[data-can-scroll-right="true"]::after { opacity: 1; }

/* Nav arrows */
.cases-nav {
  display: flex;
  justify-content: flex-end;
  gap: var(--space-xs);
  margin-top: var(--space-md);
}
.cases-arrow {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--color-hairline);
  background: var(--color-canvas);
  color: var(--color-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 150ms ease, border-color 150ms ease, opacity 150ms ease;
}
.cases-arrow:hover { background: var(--color-surface-cool); }
.cases-arrow[disabled] { opacity: 0.35; cursor: default; }
.cases-arrow[disabled]:hover { background: var(--color-canvas); }
@media (max-width: 700px) {
  .cases-nav { display: none; }
}
.case-card > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.case-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,15,18,0.1) 0%, rgba(15,15,18,0.3) 40%, rgba(15,15,18,0.95) 100%);
  pointer-events: none;
  z-index: 1;
}
.case-card .case-content {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: var(--space-lg);
  color: var(--color-paper);
  z-index: 2;
  /* Fixed-height rows so titles, results, and pills line up across cards */
  display: grid;
  grid-template-rows: 60px 42px auto;
  row-gap: var(--space-xs);
}
.case-card .case-name {
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -0.8px;
  line-height: 1;
  margin: 0;
  color: var(--color-paper);
  align-self: end;
}
.case-card .case-result {
  font-size: 15px;
  line-height: 1.4;
  color: rgba(255,255,255,0.85);
  margin: 0;
  align-self: end;
}
.case-card .case-metrics {
  display: flex;
  gap: var(--space-xs);
  flex-wrap: nowrap;
  overflow: hidden;
  margin-top: var(--space-xs);
}
.case-card .case-metric {
  padding: 5px 10px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--r-full);
  font-size: 11px;
  font-weight: 500;
  color: var(--color-paper);
  white-space: nowrap;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
@media (max-width: 1000px) {
  .case-card { flex-basis: 300px; }
}
@media (max-width: 600px) {
  .case-card {
    flex-basis: calc(100vw - (var(--space-xxl) * 2));
    max-width: 360px;
    aspect-ratio: 3/4;
  }
  .case-card .case-name { font-size: 26px; }
  .case-card .case-content { grid-template-rows: 52px 42px auto; }
}

/* Clickable cards + expand affordance */
.case-card {
  cursor: pointer;
  appearance: none;
  border: 0;
  text-align: left;
  font: inherit;
  color: inherit;
  width: 100%;
}
.case-expand {
  position: absolute;
  top: var(--space-md); right: var(--space-md);
  z-index: 3;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--color-paper);
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: transform 250ms ease, background 200ms ease;
  pointer-events: none;
}
.case-card:hover .case-expand { background: rgba(255,255,255,0.2); }
.case-card[aria-expanded="true"] .case-expand {
  transform: rotate(45deg);
  background: rgba(255,255,255,0.28);
}
.case-card[aria-expanded="true"] {
  outline: 2px solid var(--color-ink);
  outline-offset: 4px;
}

/* Detail stage, slides down below the grid */
.case-detail-stage {
  max-height: 0;
  overflow: hidden;
  margin-top: 0;
  transition: max-height 450ms cubic-bezier(0.25, 0.8, 0.25, 1),
              margin-top 450ms cubic-bezier(0.25, 0.8, 0.25, 1);
}
.case-detail-stage.is-open {
  max-height: 1600px;
  margin-top: var(--space-lg);
}

.case-detail {
  display: none;
  background: var(--color-canvas-soft);
  border: 1px solid var(--color-hairline);
  border-radius: var(--r-lg);
  padding: var(--space-xxl);
  position: relative;
}
.case-detail.is-active { display: grid; }
.case-detail {
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-xxl);
  align-items: start;
}
.case-detail-photo {
  aspect-ratio: 4/5;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--color-surface-cool);
}
.case-detail-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.case-detail-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}
.case-detail-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--color-slate);
  margin-bottom: var(--space-xxs);
}
.case-detail-body h3 {
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -0.8px;
  line-height: 1.1;
  color: var(--color-ink);
  margin: 0;
}
.case-detail-body .case-detail-tagline {
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-graphite);
  margin: 0;
}
.case-detail-section {
  border-top: 1px solid var(--color-hairline);
  padding-top: var(--space-md);
}
.case-detail-section p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--color-graphite);
  margin: 0;
}
.case-detail-footer {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-hairline);
  font-size: 13px;
  color: var(--color-slate);
}
.case-detail-footer .name { color: var(--color-ink); font-weight: 600; }
.case-detail-close {
  position: absolute;
  top: var(--space-md); right: var(--space-md);
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--color-hairline);
  background: var(--color-canvas);
  color: var(--color-ink);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 150ms ease;
}
.case-detail-close:hover { background: var(--color-surface-cool); }

@media (max-width: 900px) {
  .case-detail { grid-template-columns: 1fr; padding: var(--space-xl); }
  .case-detail-photo { aspect-ratio: 16/10; }
  .case-detail-body h3 { font-size: 26px; }
}

/* ============================================================
   Reviews, full bleed scrim interlude
   ============================================================ */
.reviews {
  background: var(--color-scrim);
  color: var(--color-paper);
  padding: 0;
}
.review-stage {
  position: relative;
  min-height: 560px;
  overflow: hidden;
}
.review-stage::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,15,18,0.2) 0%, rgba(15,15,18,0.85) 100%);
  z-index: 1;
}
.review-bg {
  position: absolute; inset: 0;
  background: #0F0F12 center/cover no-repeat;
  z-index: 0;
}
.review-content {
  position: relative; z-index: 2;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--space-section-lg) var(--space-xxl);
  color: var(--color-paper);
}
.review-content .t-eyebrow { color: rgba(255,255,255,0.7); margin-bottom: var(--space-md); }
.review-quote { font-size: clamp(28px, 3.5vw, 42px); font-weight: 400; line-height: 1.15; letter-spacing: -0.9px; max-width: 26ch; }
.review-attrib { margin-top: var(--space-xl); display: flex; align-items: center; gap: var(--space-md); }
.review-attrib .avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--color-surface-cool);
  overflow: hidden;
  flex-shrink: 0;
}
.review-attrib .avatar img { width: 100%; height: 100%; object-fit: cover; }
.review-attrib .who .name { font-weight: 600; color: var(--color-paper); font-size: 15px; }
.review-attrib .who .role { font-size: 13px; color: rgba(255,255,255,0.7); margin-top: 2px; }
.review-controls { position: absolute; right: var(--space-xxl); bottom: var(--space-xxl); z-index: 2; display: flex; gap: var(--space-xs); }
.review-controls button {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.4);
  color: var(--color-paper);
}
.review-controls button:hover { background: rgba(255,255,255,0.08); }

/* ============================================================
   Wall of written reviews
   ============================================================ */
.wall-reviews {
  background: var(--color-canvas-soft);
  padding-top: var(--space-section);
  padding-bottom: var(--space-section);
  border-top: 1px solid var(--color-hairline-soft);
  border-bottom: 1px solid var(--color-hairline-soft);
}
.wall-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-xl);
  align-items: stretch;
}
.wall-card {
  background: var(--color-canvas);
  border: 1px solid var(--color-hairline);
  border-radius: var(--r-md);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
.wall-card .stars {
  color: #F5B400;
  font-size: 14px;
  letter-spacing: 2px;
  line-height: 1;
}
.wall-card blockquote {
  font-size: 15px;
  line-height: 1.55;
  color: var(--color-ink);
  letter-spacing: -0.1px;
  flex: 1;
}
.wall-card .attrib {
  border-top: 1px solid var(--color-hairline-soft);
  padding-top: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}
.wall-card .attrib .avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-ink-soft);
  color: var(--color-paper);
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
}
.wall-card .attrib .avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.wall-card .attrib .who { min-width: 0; }
.wall-card .attrib .name {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-ink);
  letter-spacing: -0.1px;
}
.wall-card .attrib .role {
  font-size: 13px;
  color: var(--color-slate);
  margin-top: 2px;
}
@media (max-width: 900px) {
  .wall-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .wall-grid { grid-template-columns: 1fr; }
}

.wall-card .attrib::after {
  content: "";
  width: 16px;
  height: 16px;
  margin-left: auto;
  flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%234285F4' d='M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z'/%3E%3Cpath fill='%2334A853' d='M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z'/%3E%3Cpath fill='%23FBBC05' d='M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l2.85-2.22.81-.62z'/%3E%3Cpath fill='%23EA4335' d='M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ============================================================
   Loop, the working system
   ============================================================ */
.loop {
  background: var(--color-canvas-soft);
  padding-top: var(--space-section);
  padding-bottom: var(--space-section);
  border-top: 1px solid var(--color-hairline-soft);
  border-bottom: 1px solid var(--color-hairline-soft);
}
.loop-head { max-width: 700px; }
.loop-stage {
  display: grid;
  grid-template-columns: 1fr minmax(0, 460px) 1fr;
  grid-template-rows: auto auto;
  column-gap: var(--space-xxl);
  row-gap: var(--space-xl);
  max-width: 1120px;
  margin: var(--space-xxl) auto 0;
  align-items: center;
  justify-items: center;
}
.loop-svg-wrap {
  grid-column: 2;
  grid-row: 2;
  width: 100%;
  aspect-ratio: 1 / 1;
}
.loop-svg { width: 100%; height: 100%; display: block; overflow: visible; }

/* Side copy blocks */
.loop-block {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  max-width: 280px;
}
.loop-block h3 {
  font-size: 18px;
  font-weight: 500;
  color: var(--color-ink);
  letter-spacing: -0.3px;
  line-height: 1.25;
}
.loop-block p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--color-graphite);
}
.loop-block .t-micro-caps { color: var(--color-slate); }

.loop-block-top {
  grid-column: 2; grid-row: 1;
  text-align: center;
  align-items: center;
  max-width: 380px;
}
.loop-block-left {
  grid-column: 1; grid-row: 2;
  text-align: right;
  align-items: flex-end;
  justify-self: end;
}
.loop-block-right {
  grid-column: 3; grid-row: 2;
  text-align: left;
  align-items: flex-start;
  justify-self: start;
}

/* Base solid ring, always connecting all three nodes */
.loop-ring-base {
  fill: none;
  stroke: var(--color-ash);
  stroke-width: 1.25;
}

/* Orbiting pulse arc */
.loop-orbit {
  transform-box: view-box;
  transform-origin: 50% 50%;
  animation: loop-orbit 9s linear infinite;
}
.loop-pulse {
  fill: none;
  stroke: var(--color-ink);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 14 86;
  stroke-dashoffset: -75;
}
@keyframes loop-orbit {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Nodes (filled ink circles with numeric labels) */
.node-ring {
  fill: none;
  stroke: var(--color-ink);
  stroke-width: 1.5;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: node-pulse 3s ease-out infinite;
}
.node-disc {
  fill: var(--color-ink);
}
.node-num {
  fill: var(--color-paper);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.3px;
}
.node-1 .node-ring { animation-delay: 0s; }
.node-2 .node-ring { animation-delay: 1s; }
.node-3 .node-ring { animation-delay: 2s; }

@keyframes node-pulse {
  0%   { transform: scale(0.7); opacity: 0.6; }
  60%  { transform: scale(2.4); opacity: 0; }
  100% { transform: scale(2.4); opacity: 0; }
}

@media (max-width: 900px) {
  .loop-stage {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
    column-gap: 0;
    row-gap: var(--space-lg);
    max-width: 460px;
  }
  .loop-svg-wrap { grid-column: 1; grid-row: 1; }
  .loop-block { max-width: none; }
  .loop-block-top   { grid-column: 1; grid-row: 2; text-align: left; align-items: flex-start; justify-self: stretch; }
  .loop-block-right { grid-column: 1; grid-row: 3; text-align: left; align-items: flex-start; justify-self: stretch; }
  .loop-block-left  { grid-column: 1; grid-row: 4; text-align: left; align-items: flex-start; justify-self: stretch; }
}

/* ============================================================
   Awards and accreditations
   ============================================================ */
.awards { background: var(--color-canvas); }
.awards-lead {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-xxl);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-xxl);
  align-items: center;
}
.awards-lead .lead-scroller { position: relative; }
.awards-lead .lead-track {
  display: flex;
  gap: var(--space-md);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--color-hairline) transparent;
}
.awards-lead .lead-track::-webkit-scrollbar { height: 6px; }
.awards-lead .lead-track::-webkit-scrollbar-track { background: transparent; }
.awards-lead .lead-track::-webkit-scrollbar-thumb { background: var(--color-hairline); border-radius: 999px; }
.awards-lead .lead-track::-webkit-scrollbar-thumb:hover { background: var(--color-slate); }
.awards-lead .lead-photo {
  flex: 0 0 88%;
  aspect-ratio: 4/3;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--color-surface-cool);
  position: relative;
  scroll-snap-align: start;
}
.awards-lead .lead-photo img { width: 100%; height: 100%; object-fit: cover; }
.awards-lead .lead-photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: var(--space-md); background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 100%); color: var(--color-paper); font-size: 13px; font-weight: 500; letter-spacing: -0.2px; }
.awards-lead .cases-nav { margin-top: var(--space-md); }
.credentials-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-md);
  margin-top: var(--space-xl);
}
.credential {
  border: 1px solid var(--color-hairline);
  border-radius: var(--r-md);
  padding: var(--space-lg);
}
.credential h4 { font-size: 16px; font-weight: 500; color: var(--color-ink); margin-bottom: var(--space-xs); letter-spacing: -0.3px; }
.credential .t-meta { color: var(--color-slate); }
.speaking {
  margin-top: var(--space-xxl);
}
.speaking-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-md);
}
.speaking-row figure { background: var(--color-surface-cool); border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4/3; position: relative; }
.speaking-row figure img { width: 100%; height: 100%; object-fit: cover; }
.speaking-row figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: var(--space-md); background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 100%); color: var(--color-paper); font-size: 13px; font-weight: 500; letter-spacing: -0.2px; }
@media (max-width: 900px) {
  .awards-lead { grid-template-columns: 1fr; }
  .credentials-grid { grid-template-columns: repeat(2, 1fr); }
  .speaking-row { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   Industries
   ============================================================ */
.industries { background: var(--color-canvas); padding-top: var(--space-section); padding-bottom: var(--space-section); border-top: 1px solid var(--color-hairline-soft); border-bottom: 1px solid var(--color-hairline-soft); }
.industries-row {
  display: flex; flex-wrap: wrap; gap: var(--space-md);
  margin-top: var(--space-lg);
}
.industry-chip {
  padding: 6px 14px;
  border: 1px solid var(--color-hairline);
  border-radius: var(--r-full);
  font-size: 13px;
  color: var(--color-ink-soft);
  background: var(--color-canvas);
}

/* ============================================================
   How BOLT works (the reframed comparison)
   ============================================================ */
.how-works { background: var(--color-canvas-soft); }
.how-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--color-hairline);
  border: 1px solid var(--color-hairline);
  border-radius: var(--r-md);
  overflow: hidden;
}
.how-col {
  background: var(--color-canvas);
  padding: var(--space-xl);
}
.how-col h3 { margin-bottom: var(--space-md); }
.how-col ul li {
  padding: var(--space-md) 0;
  border-top: 1px solid var(--color-hairline-soft);
  font-size: 16px; line-height: 1.5;
}
.how-col ul li:first-child { border-top: 0; }
.how-col.left h3 { color: var(--color-slate); }
.how-col.left ul li { color: var(--color-slate); }
@media (max-width: 700px) { .how-grid { grid-template-columns: 1fr; } }

/* ============================================================
   Pricing
   ============================================================ */
.pricing { background: var(--color-canvas-soft); border-top: 1px solid var(--color-hairline-soft); border-bottom: 1px solid var(--color-hairline-soft); }
.pricing .container { display: flex; flex-direction: column; align-items: center; max-width: 720px; }
.pricing-head { text-align: center; max-width: 640px; }
.pricing-head p { margin-top: var(--space-md); color: var(--color-graphite); }

.price-card {
  background: var(--color-canvas);
  color: var(--color-ink);
  border: 1px solid var(--color-hairline-soft);
  border-radius: var(--r-lg);
  padding: var(--space-xl);
  width: 100%;
  max-width: 460px;
  margin-top: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  box-shadow:
    0 1px 2px rgba(15, 15, 18, 0.04),
    0 12px 32px rgba(15, 15, 18, 0.06);
}
.price-card .tier {
  font-size: 12px;
  letter-spacing: 0.35px;
  text-transform: uppercase;
  color: var(--color-slate);
  margin: 0;
}
.price-card .price-tagline {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--color-ink);
  letter-spacing: -0.2px;
  margin-top: 4px;
}
.price-amount-row {
  padding: var(--space-md) 0;
  border-top: 1px solid var(--color-hairline-soft);
  border-bottom: 1px solid var(--color-hairline-soft);
  margin: 0;
}
.price-amount-row .from {
  display: inline-block;
  font-size: 11px;
  color: var(--color-slate);
  letter-spacing: 0.3px;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.price-amount-row .amount {
  font-size: 44px;
  font-weight: 400;
  letter-spacing: -1.2px;
  line-height: 1;
  color: var(--color-ink);
}
.price-amount-row .amount .per {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--color-slate);
  margin-left: 4px;
}
.price-amount-row .billing-note {
  font-size: 12px;
  color: var(--color-slate);
  margin-top: 6px;
  line-height: 1.4;
}
.price-cta {
  display: block;
  width: 100%;
  padding: 12px var(--space-lg);
  background: var(--color-ink);
  color: var(--color-paper);
  border-radius: var(--r-md);
  text-align: center;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.1px;
  transition: background 150ms ease;
}
.price-cta:hover { background: var(--color-ink-soft); }
.price-card .includes {
  list-style: none;
  padding: 0;
  margin: 0;
}
.price-card .includes li {
  padding: 10px 0;
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
  border-top: 1px solid var(--color-hairline-soft);
}
.price-card .includes li:first-child { border-top: 0; padding-top: 0; }
.price-card .includes li::before {
  content: "";
  flex-shrink: 0;
  width: 14px; height: 14px;
  margin-top: 4px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%230F0F12' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><path d='M3 8.5l3 3 7-7'/></svg>") center/contain no-repeat;
}
.price-card .includes .include-text {
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: -0.1px;
}
.price-card .includes .include-title {
  color: var(--color-ink);
  font-weight: 500;
}
.price-card .includes .include-benefit {
  color: var(--color-slate);
  font-weight: 400;
}
.price-card .includes .include-benefit::before {
  content: " · ";
  color: var(--color-mute);
}
.price-card .terms {
  font-size: 11px;
  color: var(--color-slate);
  line-height: 1.5;
  border-top: 1px solid var(--color-hairline-soft);
  padding-top: var(--space-sm);
}
.price-card .terms p { margin: 0 0 4px; }
.price-card .terms p:last-child { margin-bottom: 0; }

.price-postscript {
  text-align: center;
  font-size: 14px;
  color: var(--color-slate);
  margin-top: var(--space-lg);
  max-width: 540px;
  line-height: 1.5;
}

@media (max-width: 700px) {
  .price-card { padding: var(--space-lg); }
  .price-card .amount { font-size: 36px; letter-spacing: -1px; }
}

/* ============================================================
   Team
   ============================================================ */
/* Right fit / Who BOLT is for — Runway-style ambient card */
.fit-section {
  background: var(--color-canvas);
  padding-top: var(--space-section);
  padding-bottom: var(--space-section);
}
.fit-card {
  position: relative;
  width: 100%;
  margin: 0 auto;
  border-radius: 28px;
  background: var(--color-scrim);
  color: var(--color-paper);
  padding: clamp(48px, 7vw, 96px) clamp(24px, 5vw, 64px);
  overflow: hidden;
  isolation: isolate;
}
.fit-card-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.fit-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  mix-blend-mode: screen;
}
.fit-blob-1 {
  width: 70%;
  height: 70%;
  top: -20%;
  left: -15%;
  background: radial-gradient(circle, rgba(95, 90, 187, 0.85) 0%, rgba(95, 90, 187, 0) 70%);
  animation: fit-blob-drift-1 16s ease-in-out infinite;
}
.fit-blob-2 {
  width: 60%;
  height: 60%;
  bottom: -25%;
  right: -10%;
  background: radial-gradient(circle, rgba(43, 41, 110, 0.95) 0%, rgba(43, 41, 110, 0) 70%);
  animation: fit-blob-drift-2 20s ease-in-out infinite;
}
.fit-blob-3 {
  width: 55%;
  height: 55%;
  top: 25%;
  right: 20%;
  background: radial-gradient(circle, rgba(95, 90, 187, 0.65) 0%, rgba(95, 90, 187, 0) 70%);
  animation: fit-blob-drift-3 18s ease-in-out infinite;
}
@keyframes fit-blob-drift-1 {
  0%   { transform: translate(0%, 0%) scale(1); }
  25%  { transform: translate(18%, 12%) scale(1.3); }
  50%  { transform: translate(25%, -8%) scale(0.9); }
  75%  { transform: translate(8%, 18%) scale(1.2); }
  100% { transform: translate(0%, 0%) scale(1); }
}
@keyframes fit-blob-drift-2 {
  0%   { transform: translate(0%, 0%) scale(1); }
  25%  { transform: translate(-15%, -14%) scale(1.25); }
  50%  { transform: translate(-22%, 6%) scale(0.85); }
  75%  { transform: translate(-6%, -18%) scale(1.15); }
  100% { transform: translate(0%, 0%) scale(1); }
}
@keyframes fit-blob-drift-3 {
  0%   { transform: translate(0%, 0%) scale(1); }
  25%  { transform: translate(-20%, 14%) scale(0.85); }
  50%  { transform: translate(14%, 20%) scale(1.3); }
  75%  { transform: translate(20%, -10%) scale(1.1); }
  100% { transform: translate(0%, 0%) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .fit-blob { animation: none; }
}
.fit-content {
  position: relative;
  z-index: 1;
}
.fit-content .fit-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-xxl);
}
.fit-content .t-eyebrow {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: var(--space-md);
}
.fit-content h2 {
  color: var(--color-paper);
  margin: 0;
}
.fit-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: 1080px;
  margin: 0 auto;
}
.fit-list li {
  padding: 0 var(--space-xl);
  text-align: left;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}
.fit-list li:last-child { border-right: none; padding-right: 0; }
.fit-list li:first-child { padding-left: 0; }
.fit-list .step-num {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: var(--space-sm);
}
.fit-list h3 {
  font-size: clamp(18px, 1.9vw, 22px);
  font-weight: 500;
  letter-spacing: -0.3px;
  line-height: 1.25;
  color: var(--color-paper);
  margin: 0;
}
.fit-list p {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
}

@media (max-width: 800px) {
  .fit-list {
    grid-template-columns: 1fr;
  }
  .fit-list li {
    padding: var(--space-lg) 0;
    border-right: none;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }
  .fit-list li:first-child { padding-top: 0; border-top: none; }
  .fit-list li:last-child { padding-bottom: 0; }
}

.fit-cta {
  margin-top: var(--space-xxl);
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  text-align: center;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
}
.fit-cta p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 var(--space-md);
}
.fit-cta-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-paper);
  color: var(--color-ink);
  padding: 12px 22px;
  border-radius: var(--r-full);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.1px;
  transition: background 150ms ease;
}
.fit-cta-button:hover { background: var(--color-canvas-soft); }

/* Enquiry nested three-step primer */
.enquiry-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  max-width: 880px;
  width: 100%;
  margin: var(--space-section-lg) auto var(--space-xl);
}
.enquiry-step {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-hairline);
}
.enquiry-step .t-micro-caps {
  color: var(--color-slate);
}
.enquiry-step h3 {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-ink);
  letter-spacing: -0.2px;
  line-height: 1.3;
  margin-top: 6px;
}
.enquiry-step p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--color-graphite);
  margin-top: var(--space-xs);
}
@media (max-width: 700px) {
  .enquiry-steps { grid-template-columns: 1fr; gap: var(--space-md); }
}

/* FAQs */
.faqs { background: var(--color-canvas-soft); border-top: 1px solid var(--color-hairline-soft); border-bottom: 1px solid var(--color-hairline-soft); }
.faq-list {
  display: flex;
  flex-direction: column;
  margin-top: var(--space-xl);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.faq-item {
  border-top: 1px solid var(--color-hairline);
  padding: var(--space-md) 0;
}
.faq-item:last-child { border-bottom: 1px solid var(--color-hairline); }
.faq-item summary {
  cursor: pointer;
  font-size: 17px;
  font-weight: 500;
  color: var(--color-ink);
  letter-spacing: -0.3px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 300;
  color: var(--color-slate);
  flex-shrink: 0;
  transition: transform 200ms ease;
  line-height: 1;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p {
  margin-top: var(--space-md);
  color: var(--color-graphite);
  font-size: 15px;
  line-height: 1.55;
  max-width: 60ch;
}

/* ============================================================
   Office
   ============================================================ */
.office { background: var(--color-canvas); border-top: 1px solid var(--color-hairline-soft); }
.office-grid { display: grid; grid-template-columns: 7fr 5fr; gap: var(--space-xxl); align-items: stretch; }
.office-photo { aspect-ratio: 16/10; border-radius: var(--r-md); overflow: hidden; background: var(--color-surface-cool); }
.office-photo img { width: 100%; height: 100%; object-fit: cover; }
.office-map { aspect-ratio: 16/10; border-radius: var(--r-md); overflow: hidden; background: var(--color-surface-cool); border: 1px solid var(--color-hairline); }
.office-map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.4) contrast(1.05); }
.office-meta { margin-top: var(--space-md); color: var(--color-slate); font-size: 13px; }
@media (max-width: 900px) { .office-grid { grid-template-columns: 1fr; } }

/* ============================================================
   Final CTA strip (scrim)
   ============================================================ */
.final-cta {
  background: var(--color-scrim);
  color: var(--color-paper);
  padding: var(--space-section-lg) 0;
}
.final-cta .container { text-align: left; max-width: var(--container-max); }
.final-cta h2 { font-size: clamp(40px, 5vw, 64px); font-weight: 400; line-height: 1; letter-spacing: -1.5px; color: var(--color-paper); max-width: 22ch; }
.final-cta p { color: rgba(255,255,255,0.75); margin: var(--space-md) 0 var(--space-xl); max-width: 56ch; }
.final-cta .actions { display: flex; gap: var(--space-sm); flex-wrap: wrap; }

/* ============================================================
   Enquiry form (Heyflow placeholder)
   ============================================================ */
.enquiry {
  background: var(--color-canvas-soft);
  border-top: 1px solid var(--color-hairline-soft);
  border-bottom: 1px solid var(--color-hairline-soft);
}
.enquiry .container { display: flex; flex-direction: column; align-items: center; }
.enquiry .section-head {
  margin-bottom: var(--space-xl);
  text-align: center;
  max-width: 560px;
}
.enquiry .form-shell {
  max-width: 560px;
  width: 100%;
  margin: 0 auto var(--space-section-lg);
}
.enquiry heyflow-wrapper { display: block; width: 100%; }
.heyflow-slot {
  min-height: 480px;
  background: var(--color-canvas-soft);
  border-radius: var(--r-md);
  border: 1px dashed var(--color-hairline);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: var(--space-xxl);
  color: var(--color-slate);
}
.heyflow-slot strong { color: var(--color-ink); font-weight: 600; letter-spacing: -0.3px; }
.heyflow-slot code { background: var(--color-hairline-soft); padding: 2px 8px; border-radius: var(--r-xs); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; color: var(--color-ink); }

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--color-scrim);
  color: var(--color-paper);
  padding: var(--space-section) 0 var(--space-xl);
}
.footer .footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: var(--space-xxl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand .footer-logo { display: inline-block; }
.footer-brand .footer-logo img { height: 22px; width: auto; display: block; }
.footer-brand p { color: rgba(255,255,255,0.65); font-size: 14px; margin-top: var(--space-md); max-width: 32ch; }
.footer-col h4 { font-size: 11px; font-weight: 500; letter-spacing: 0.4px; text-transform: uppercase; color: var(--color-stone); margin-bottom: var(--space-md); }
.footer-col ul li { margin-bottom: var(--space-xs); }
.footer-col a { color: rgba(255,255,255,0.85); font-size: 14px; transition: opacity 120ms ease; }
.footer-col a:hover { color: var(--color-paper); }
.footer-legal {
  margin-top: var(--space-lg);
  display: flex; justify-content: space-between; align-items: center;
  color: rgba(255,255,255,0.55); font-size: 12px;
}
@media (max-width: 900px) {
  .footer .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer .footer-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Utility
   ============================================================ */
.container-narrow { max-width: 880px; margin: 0 auto; padding: 0 var(--space-xxl); }
.flex { display: flex; gap: var(--space-md); align-items: center; }
.spacer-md { height: var(--space-md); }
.spacer-lg { height: var(--space-lg); }

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  .dash-chart .gline { animation: none !important; stroke-dashoffset: 0 !important; }
}

/* ------------------------------------------------------------
   Results dropdown in the nav (desktop) and sub-list (mobile)
   ------------------------------------------------------------ */
.nav-item { position: relative; }
.nav-links { align-items: center; }
.nav-links > li { display: flex; align-items: center; }
.nav-links .nav-link { display: inline-flex; align-items: center; }

.nav-link-caret { display: inline-flex; align-items: center; gap: 5px; }
.nav-link-caret svg { transition: transform 150ms ease; }
.nav-dropdown {
  position: absolute; top: 100%; left: -20px;
  padding-top: 14px;
  opacity: 0; visibility: hidden; transform: translateY(4px);
  transition: opacity 150ms ease, transform 150ms ease, visibility 150ms;
  z-index: 60;
}
.has-dropdown:hover .nav-dropdown,
.has-dropdown:focus-within .nav-dropdown { opacity: 1; visibility: visible; transform: none; }
.has-dropdown:hover .nav-link-caret svg,
.has-dropdown:focus-within .nav-link-caret svg { transform: rotate(180deg); }
.nav-dropdown-panel {
  width: 340px;
  background: var(--color-canvas);
  border: 1px solid var(--color-hairline);
  border-radius: var(--r-md);
  padding: 8px;
}
.nav-dd-item { display: block; padding: 10px 12px; border-radius: var(--r-sm); transition: background 120ms ease; }
.nav-dd-item:hover, .nav-dd-item:focus-visible { background: var(--color-canvas-soft); }
.nav-dd-name { display: block; font-size: 14px; color: var(--color-ink); letter-spacing: -0.1px; }
.nav-dd-result { display: block; margin-top: 2px; font-size: 12.5px; color: var(--color-slate); }
.nav-dd-all {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 6px; padding: 12px 12px 6px;
  border-top: 1px solid var(--color-hairline-soft);
  font-size: 13px; color: var(--color-ink);
}
.nav-dd-all:hover { color: var(--color-slate); }
.nav-menu-sublinks { padding: 0 0 var(--space-md); }
.nav-menu-sublink { display: block; padding: 7px 0 7px var(--space-md); font-size: 16px; color: var(--color-slate); }
.nav-menu-sublink:hover { color: var(--color-ink); }
