/* ===================================================================
   Fulcrum AI — design tokens
   Structural system (spacing / radius / elevation / type scale)
   adapted from an editorial reference into a calm dark theme with a
   single restrained gold accent.
=================================================================== */

:root {
  /* --- color: surface --- */
  --canvas: #08080a;
  --surface-1: #121216;
  --surface-2: #1a1a1f;
  --hairline: rgba(255, 255, 255, 0.09);
  --hairline-soft: rgba(255, 255, 255, 0.05);

  /* --- color: text --- */
  --ink: #f2f1ee;
  --ink-muted: #a4a29c;
  --ink-subtle: #7a7873;
  --ink-tertiary: #55534e;
  --on-accent: #16130c;

  /* --- color: accent (single, restrained) --- */
  --accent: #c99a54;
  --accent-hover: #dbae6c;
  --accent-tint: rgba(201, 154, 84, 0.12);

  /* --- type --- */
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;

  --fs-display-xl: clamp(2.75rem, 1.6rem + 4.8vw, 4.5rem);
  --fs-display-lg: clamp(2.25rem, 1.5rem + 3.2vw, 3.5rem);
  --fs-display-md: clamp(1.85rem, 1.4rem + 1.9vw, 2.5rem);
  --fs-card-title: 1.375rem;
  --fs-body-lg: 1.125rem;
  --fs-body: 1rem;
  --fs-body-sm: 0.875rem;
  --fs-caption: 0.75rem;
  --fs-button: 0.9375rem;
  --fs-eyebrow: 0.875rem;

  /* --- spacing (8px base) --- */
  --sp-xxs: 4px;
  --sp-xs: 8px;
  --sp-sm: 12px;
  --sp-md: 16px;
  --sp-lg: 24px;
  --sp-xl: 32px;
  --sp-xxl: 48px;
  --sp-section: clamp(72px, 6vw + 28px, 112px);

  /* --- radius --- */
  --r-xs: 4px;
  --r-md: 8px;
  --r-lg: 12px;
  --r-xl: 16px;
  --r-pill: 9999px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ===================================================================
   Reset
=================================================================== */

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, blockquote, ul { margin: 0; }
ul { padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.022;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* ===================================================================
   Typography
=================================================================== */

.eyebrow {
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  color: var(--accent);
  margin-bottom: var(--sp-sm);
}
.display-xl {
  font-size: var(--fs-display-xl);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 17ch;
}
.display-lg {
  font-size: var(--fs-display-lg);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.028em;
}
.display-md {
  font-size: var(--fs-display-md);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 20ch;
  margin-bottom: var(--sp-xxl);
}
.card-title {
  font-size: var(--fs-card-title);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: var(--sp-xs);
}
.body-lg { font-size: var(--fs-body-lg); line-height: 1.55; color: var(--ink-muted); }
.body { font-size: var(--fs-body); line-height: 1.55; color: var(--ink-muted); }
.body-sm { font-size: var(--fs-body-sm); color: var(--ink-subtle); }
.caption { font-size: var(--fs-caption); color: var(--ink-tertiary); }

/* ===================================================================
   Buttons
=================================================================== */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: var(--fs-button);
  font-weight: 500;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  white-space: nowrap;
  transition:
    background-color 0.28s var(--ease),
    border-color 0.28s var(--ease),
    color 0.28s var(--ease),
    box-shadow 0.32s var(--ease),
    transform 0.28s var(--ease);
}
.btn-lg { padding: 15px 30px; }

.btn-primary {
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.28);
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  /* the glow is the accent itself, so the button reads as lit rather than shadowed */
  box-shadow: 0 6px 22px rgba(201, 154, 84, 0.34), 0 2px 6px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.02);
  color: var(--ink);
  border-color: var(--hairline);
}
.btn-secondary:hover {
  background: var(--accent-tint);
  border-color: rgba(201, 154, 84, 0.42);
  color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.34);
}

/* press — settles back down so the click feels physical */
.btn:active { transform: translateY(0); transition-duration: 0.08s; }

.btn:focus-visible {
  outline: 2px solid var(--accent-hover);
  outline-offset: 3px;
}

/* ===================================================================
   Floating pebble nav — no bar, just objects on the canvas
=================================================================== */

.floating-nav {
  position: fixed;
  top: clamp(16px, 2vw, 24px);
  left: 0;
  right: 0;
  z-index: 200;
  padding: 0 clamp(16px, 4vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-md);
  pointer-events: none;
}
.floating-nav > * { pointer-events: auto; }

.pebble {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 20px;
  border-radius: var(--r-pill);
  background: rgba(18, 18, 22, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--hairline);
  font-size: var(--fs-button);
  font-weight: 500;
  color: var(--ink);
  transition:
    background-color 0.3s var(--ease),
    border-color 0.3s var(--ease),
    color 0.3s var(--ease),
    box-shadow 0.34s var(--ease),
    transform 0.3s var(--ease);
}
.pebble:hover {
  background: rgba(26, 26, 32, 0.86);
  border-color: rgba(201, 154, 84, 0.34);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.42);
}
.pebble:active { transform: translateY(0); transition-duration: 0.08s; }
.pebble:focus-visible { outline: 2px solid var(--accent-hover); outline-offset: 3px; }

/* logo pebble — mark sits larger and tighter so it fills the shape */
.pebble-logo {
  letter-spacing: -0.01em;
  font-weight: 600;
  font-size: 1.125rem;
  gap: 9px;
  padding: 0 22px 0 14px;
}
.logo-mark {
  display: inline-flex;
  width: 30px;
  height: 30px;
  color: var(--accent);
  transition: color 0.3s var(--ease), transform 0.45s var(--ease);
}
.pebble-logo:hover .logo-mark {
  color: var(--accent-hover);
  transform: rotate(-8deg) scale(1.06);
}
.logo-mark svg { width: 100%; height: 100%; }
.logo-word { line-height: 1; }

.nav-actions { display: flex; align-items: center; gap: 10px; }

.pebble-cta {
  background: var(--accent);
  color: var(--on-accent);
  border-color: transparent;
}
.pebble-cta:hover {
  background: var(--accent-hover);
  border-color: transparent;
  box-shadow: 0 6px 22px rgba(201, 154, 84, 0.36), 0 2px 6px rgba(0, 0, 0, 0.3);
}

.pebble-toggle {
  width: 48px;
  padding: 0;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.pebble-toggle span {
  display: block;
  width: 17px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

/* ===================================================================
   Fullscreen menu overlay
=================================================================== */

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(8, 8, 10, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 clamp(24px, 6vw, 96px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s var(--ease), visibility 0.45s;
}
.menu-overlay.open { opacity: 1; visibility: visible; }

.menu-nav { display: flex; flex-direction: column; gap: var(--sp-xs); }
.menu-nav a {
  display: flex;
  align-items: baseline;
  gap: var(--sp-lg);
  font-size: clamp(1.75rem, 1rem + 3vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  padding: var(--sp-sm) 0;
  color: var(--ink-muted);
  border-bottom: 1px solid var(--hairline-soft);
  transition: color 0.3s var(--ease), padding-left 0.3s var(--ease);
  opacity: 0;
  transform: translateY(20px);
}
.menu-overlay.open .menu-nav a { opacity: 1; transform: none; }
.menu-nav a:hover { color: var(--ink); padding-left: var(--sp-md); }
.menu-index {
  font-size: var(--fs-body-sm);
  color: var(--accent);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.menu-foot { margin-top: var(--sp-xxl); }

.menu-open .pebble-toggle span:first-child { transform: translateY(3.25px) rotate(45deg); }
.menu-open .pebble-toggle span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

/* ===================================================================
   Hero
=================================================================== */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
}
/* keeps type legible where it crosses the particle field */
.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(100deg, var(--canvas) 12%, rgba(8, 8, 10, 0.72) 42%, rgba(8, 8, 10, 0) 68%),
    linear-gradient(to bottom, rgba(8, 8, 10, 0.55) 0%, rgba(8, 8, 10, 0) 22%, rgba(8, 8, 10, 0) 72%, var(--canvas) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding-top: 120px;
  padding-bottom: var(--sp-xxl);
  /* .hero is a flex row, so without this the inner block shrink-wraps to its
     content and centres — parking the headline well right of every other
     section. Filling the row puts it on the same 1280 gutter as the rest of
     the page and frees the right side for the lattice. */
  width: 100%;
}
.hero-sub { max-width: 50ch; margin-top: var(--sp-lg); }
.hero-ctas {
  display: flex;
  gap: var(--sp-md);
  margin-top: var(--sp-xxl);
  flex-wrap: wrap;
}
.hero-scroll-cue {
  position: absolute;
  bottom: var(--sp-xl);
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 34px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-pill);
  z-index: 2;
}
.hero-scroll-cue span {
  display: block;
  width: 3px;
  height: 6px;
  border-radius: var(--r-pill);
  background: var(--ink-subtle);
  margin: 6px auto 0;
  animation: cue-scroll 2.2s ease-in-out infinite;
}
@keyframes cue-scroll {
  0% { opacity: 0; transform: translateY(0); }
  30% { opacity: 1; }
  80%, 100% { opacity: 0; transform: translateY(12px); }
}

/* ===================================================================
   Sections
=================================================================== */

.section {
  padding: var(--sp-section) 0;
  border-top: 1px solid var(--hairline-soft);
  position: relative;
}

/* ===================================================================
   Results / stats
=================================================================== */

/* bento: cells vary in span so the section reads as a composition
   rather than four identical boxes */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(190px, auto);
  gap: var(--sp-lg);
}
.stat-card {
  display: flex;
  flex-direction: column;
  background: var(--surface-1);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: var(--sp-xl) var(--sp-lg);
  transition: border-color 0.35s var(--ease);
}
.stat-card:hover { border-color: rgba(201, 154, 84, 0.32); }
.stat-card--wide { grid-column: span 2; }
.stat-card--full { grid-column: span 4; }

/* the one filled cell — a single focal point, still the same accent */
.stat-card--accent {
  background: var(--accent);
  border-color: transparent;
}
.stat-card--accent:hover { border-color: transparent; }
.stat-card--accent .stat-number { color: var(--on-accent); }
.stat-card--accent .stat-label { color: rgba(22, 19, 12, 0.82); }
.stat-card--accent .stat-note { color: rgba(22, 19, 12, 0.62); }

.stat-number {
  font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--accent);
  margin-bottom: var(--sp-xs);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.stat-label {
  font-size: var(--fs-body);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.35;
  max-width: 22ch;
}
/* pushed to the bottom so the wide cells stay visually anchored */
.stat-note {
  margin-top: auto;
  padding-top: var(--sp-lg);
  font-size: var(--fs-body-sm);
  color: var(--ink-subtle);
  line-height: 1.45;
  max-width: 44ch;
}

/* brand cell — the mark, given room to breathe */
.stats-footnote { margin-top: var(--sp-lg); font-size: var(--fs-caption); color: var(--ink-tertiary); }

/* ===================================================================
   Industries — pinned horizontal scroll
=================================================================== */

.industries {
  padding: var(--sp-section) 0;
  border-top: 1px solid var(--hairline-soft);
}
.industries-header { margin-bottom: var(--sp-xxl); }

/* Height is set in JS to (viewport + horizontal travel); the stage sticks
   while the track slides sideways, then the page resumes vertically. */
.hscroll { position: relative; }
.hscroll-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.hscroll-track {
  display: flex;
  align-items: stretch;
  gap: var(--sp-lg);
  will-change: transform;
  /* first card lines up with the section heading's gutter */
  padding-inline: calc(max(0px, (100vw - 1280px) / 2) + clamp(20px, 4vw, 48px));
}

.industry-card {
  position: relative;
  flex: 0 0 auto;
  width: clamp(280px, 25vw, 360px);
  display: flex;
  flex-direction: column;
  background: var(--surface-1);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: var(--sp-xl);
  transition: border-color 0.35s var(--ease), background-color 0.35s var(--ease);
}
.industry-card:hover {
  border-color: rgba(201, 154, 84, 0.4);
  background: var(--surface-2);
}
/* isometric scene panel at the top of each industry card */
.industry-visual {
  margin: calc(var(--sp-xl) * -1) calc(var(--sp-xl) * -1) var(--sp-lg);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  background:
    radial-gradient(90% 70% at 50% 32%, rgba(201, 154, 84, 0.10), transparent 70%),
    linear-gradient(180deg, #101015 0%, #0b0b0e 100%);
  border-bottom: 1px solid var(--hairline-soft);
  overflow: hidden;
}
.industry-visual svg {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.5s var(--ease);
}
.industry-card:hover .industry-visual svg { transform: translateY(-3px) scale(1.02); }

.industry-head {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  margin-bottom: var(--sp-md);
  min-height: 22px;
}
.industry-index {
  font-size: var(--fs-body-sm);
  font-weight: 500;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.industry-tag {
  font-size: var(--fs-caption);
  font-weight: 500;
  color: var(--accent);
  border: 1px solid rgba(201, 154, 84, 0.35);
  background: var(--accent-tint);
  padding: 3px 9px;
  border-radius: var(--r-pill);
}

/* travel indicator, sits under the track */
.hscroll-progress {
  margin-top: var(--sp-xxl);
  margin-inline: calc(max(0px, (100vw - 1280px) / 2) + clamp(20px, 4vw, 48px));
  height: 2px;
  background: var(--hairline);
  border-radius: var(--r-pill);
  overflow: hidden;
}
.hscroll-progress span {
  display: block;
  width: 0%;
  height: 100%;
  background: var(--accent);
}
.industry-list {
  margin-top: var(--sp-lg);
  padding-top: var(--sp-lg);
  border-top: 1px solid var(--hairline-soft);
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
}
.industry-list li {
  position: relative;
  padding-left: 18px;
  font-size: var(--fs-body-sm);
  color: var(--ink-subtle);
  line-height: 1.45;
}
.industry-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.65;
}

/* ===================================================================
   Why choose us
=================================================================== */

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-lg);
}
.why-card { padding: var(--sp-lg) 0; border-top: 1px solid var(--hairline); }
.why-index {
  font-size: var(--fs-body-sm);
  color: var(--accent);
  font-weight: 500;
  margin-bottom: var(--sp-md);
  font-variant-numeric: tabular-nums;
}

/* ===================================================================
   Process (sticky scroll)
=================================================================== */

.process { border-top: 1px solid var(--hairline-soft); padding-top: var(--sp-section); }
.process-header { margin-bottom: var(--sp-xxl); }
/* The pinned range is (height - 100vh), so 300vh gives ~2 viewports of scroll
   split across 5 steps — enough to read each one, without the original 400vh
   where the page sat still for 3 full viewports. */
.process-pin { position: relative; height: 300vh; }
.process-inner {
  position: sticky;
  top: 0;
  height: 100svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-xxl);
  align-items: center;
}
.process-list { display: flex; flex-direction: column; gap: var(--sp-xl); }
.process-step {
  padding-left: var(--sp-lg);
  border-left: 2px solid var(--hairline);
  opacity: 0.32;
  transition: opacity 0.45s var(--ease), border-color 0.45s var(--ease);
}
.process-step.active { opacity: 1; border-left-color: var(--accent); }
.process-num {
  display: block;
  font-size: var(--fs-body-sm);
  color: var(--accent);
  font-weight: 500;
  margin-bottom: var(--sp-xs);
  font-variant-numeric: tabular-nums;
}
.process-desc { max-width: 42ch; }

.process-visual-card {
  position: relative;
  background: var(--surface-1);
  border: 1px solid var(--hairline);
  border-radius: var(--r-xl);
  padding: var(--sp-xxl);
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.process-visual-num {
  font-size: var(--fs-body);
  color: var(--accent);
  font-weight: 500;
  margin-bottom: var(--sp-md);
  font-variant-numeric: tabular-nums;
}
.process-visual-title {
  font-size: var(--fs-display-md);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-md);
}
.process-visual-desc { font-size: var(--fs-body-lg); color: var(--ink-muted); max-width: 34ch; }
.process-visual-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--hairline);
}
.process-visual-progress span {
  display: block;
  width: 20%;
  height: 100%;
  background: var(--accent);
}

/* ===================================================================
   Founder quote
=================================================================== */

.quote-section {
  padding: var(--sp-section) 0;
  border-top: 1px solid var(--hairline-soft);
  background: var(--surface-1);
}
.quote-inner {
  max-width: 760px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.quote-avatar {
  width: 56px;
  height: 56px;
  border-radius: var(--r-pill);
  background: var(--accent-tint);
  color: var(--accent);
  border: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-body-sm);
  font-weight: 600;
  margin-bottom: var(--sp-xl);
}
.quote-text {
  font-size: var(--fs-display-md);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.015em;
}
.quote-attribution { margin-top: var(--sp-lg); font-size: var(--fs-body-sm); color: var(--ink-subtle); }
.quote-cta { margin-top: var(--sp-xxl); }
.quote-note { margin-top: var(--sp-md); max-width: 44ch; }

/* ===================================================================
   Footer
=================================================================== */

.footer { padding: var(--sp-xxl) 0 var(--sp-lg); }
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--sp-xxl);
  padding-bottom: var(--sp-xxl);
  border-bottom: 1px solid var(--hairline-soft);
}
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.footer-tagline { margin-top: var(--sp-md); max-width: 34ch; color: var(--ink-subtle); }
.footer-col { display: flex; flex-direction: column; gap: var(--sp-md); }
.footer-heading {
  font-size: var(--fs-caption);
  color: var(--ink-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--sp-xs);
}
.footer-col a { font-size: var(--fs-body-sm); color: var(--ink-muted); }
.footer-col a:hover { color: var(--ink); }
.footer-bottom { padding-top: var(--sp-lg); }

/* ===================================================================
   Contact / booking page
=================================================================== */

.contact {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 132px 0 var(--sp-xxl);
  overflow: hidden;
}
/* the lattice carries over from the home page, dialled well back so the
   form stays the only thing asking for attention */
.contact-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.4; z-index: 0; }
.contact-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, var(--canvas) 8%, rgba(8, 8, 10, 0.6) 38%, rgba(8, 8, 10, 0.82) 62%),
    linear-gradient(to bottom, rgba(8, 8, 10, 0.7) 0%, rgba(8, 8, 10, 0.2) 40%, var(--canvas) 100%);
}
.contact-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
  width: 100%;
}

.contact-intro .display-lg { margin-top: var(--sp-xs); }
.contact-lead { margin-top: var(--sp-lg); max-width: 46ch; }

.founder-card {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
  margin-top: var(--sp-xxl);
}
.founder-avatar {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: var(--r-pill);
  background: var(--accent-tint);
  color: var(--accent);
  border: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-body-sm);
  font-weight: 600;
}
.founder-meta { display: flex; flex-direction: column; gap: 2px; }
.founder-name { font-size: var(--fs-body); font-weight: 500; color: var(--ink); }
.founder-role { font-size: var(--fs-body-sm); color: var(--ink-subtle); }

.contact-direct {
  margin-top: var(--sp-xl);
  padding-top: var(--sp-lg);
  border-top: 1px solid var(--hairline-soft);
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
}
.contact-direct li { display: flex; align-items: center; gap: var(--sp-sm); }
.contact-direct a {
  font-size: var(--fs-body-sm);
  color: var(--ink-muted);
  transition: color 0.25s var(--ease);
}
.contact-direct a:hover { color: var(--ink); }
.contact-icon { display: inline-flex; width: 18px; height: 18px; color: var(--accent); }
.contact-icon svg { width: 100%; height: 100%; stroke-linecap: round; stroke-linejoin: round; }

/* --- form card --- */

.form-card {
  background: var(--surface-1);
  border: 1px solid var(--hairline);
  border-radius: var(--r-xl);
  padding: clamp(24px, 3vw, 40px);
}
.form-title {
  font-size: var(--fs-display-md);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.form-sub { margin-top: var(--sp-sm); max-width: 46ch; }

.audit-form { margin-top: var(--sp-xl); display: flex; flex-direction: column; gap: var(--sp-lg); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-md); }
.field { display: flex; flex-direction: column; gap: var(--sp-xs); min-width: 0; border: 0; padding: 0; margin: 0; }
.field-label {
  font-size: var(--fs-body-sm);
  font-weight: 500;
  color: var(--accent);
  padding: 0;
}
.field-input {
  width: 100%;
  background: var(--surface-2);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  padding: 12px 14px;
  color: var(--ink);
  font-family: inherit;
  font-size: var(--fs-body);
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}
.field-input::placeholder { color: var(--ink-tertiary); }
.field-input:focus {
  outline: none;
  border-color: var(--accent);
  background: #1e1e24;
}
.field-input:focus-visible { outline: 2px solid var(--accent-tint); outline-offset: 1px; }
.field-textarea { resize: vertical; min-height: 104px; }

.field-input.invalid { border-color: #c46a6a; }
.field-error {
  font-size: var(--fs-caption);
  color: #d98d8d;
  min-height: 0;
}
.field-error:empty { display: none; }

/* --- radios --- */

.radio-field { gap: var(--sp-sm); }
.radio-group { display: flex; flex-wrap: wrap; gap: var(--sp-sm) var(--sp-lg); }
.radio {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-xs);
  font-size: var(--fs-body-sm);
  color: var(--ink-muted);
  cursor: pointer;
  transition: color 0.2s var(--ease);
}
.radio:hover { color: var(--ink); }
.radio input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.radio-dot {
  width: 16px;
  height: 16px;
  border-radius: var(--r-pill);
  border: 1px solid var(--hairline);
  background: var(--surface-2);
  flex-shrink: 0;
  position: relative;
  transition: border-color 0.2s var(--ease);
}
.radio-dot::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: var(--r-pill);
  background: var(--accent);
  transform: scale(0);
  transition: transform 0.2s var(--ease);
}
.radio input:checked + .radio-dot { border-color: var(--accent); }
.radio input:checked + .radio-dot::after { transform: scale(1); }
.radio input:focus-visible + .radio-dot { outline: 2px solid var(--accent); outline-offset: 2px; }

/* --- submit --- */

.form-submit { width: 100%; margin-top: var(--sp-xs); }
.form-submit[disabled] { opacity: 0.6; pointer-events: none; }
.form-note { text-align: center; }
.form-status {
  font-size: var(--fs-body-sm);
  color: var(--accent);
  text-align: center;
}
.form-status:empty { display: none; }

/* ===================================================================
   Reveal base states (animated by GSAP)
=================================================================== */

[data-reveal] { opacity: 0; transform: translateY(28px); }
[data-reveal-clip] { opacity: 0; clip-path: inset(0 0 100% 0); transform: translateY(14px); }

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

@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: minmax(170px, auto); }
  .stat-card--wide { grid-column: span 2; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }

  /* No scroll-jacking on touch — the track becomes a native swipe carousel. */
  .hscroll { height: auto !important; }
  .hscroll-stage {
    position: static;
    height: auto;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .hscroll-stage::-webkit-scrollbar { display: none; }
  .hscroll-track { transform: none !important; }
  .industry-card { scroll-snap-align: start; width: min(78vw, 340px); }
  .hscroll-progress { display: none; }
  .process-inner { grid-template-columns: 1fr; height: auto; padding: var(--sp-xxl) 0; }
  .process-pin { height: auto; }
  .process-visual { display: none; }
  .process-step { opacity: 1; border-left-color: var(--hairline); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: var(--sp-xxl); align-items: start; }
  .contact { align-items: flex-start; }
  .contact-veil {
    background: linear-gradient(to bottom, rgba(8, 8, 10, 0.75) 0%, rgba(8, 8, 10, 0.35) 35%, var(--canvas) 90%);
  }
}

@media (max-width: 768px) {
  /* tighten the hero so the primary CTA stays near the fold */
  :root {
    --fs-display-xl: clamp(2.25rem, 1.2rem + 4.6vw, 3rem);
  }
  .hero-sub { font-size: var(--fs-body); margin-top: var(--sp-md); }
  .hero-ctas { margin-top: var(--sp-xl); }

  .pebble-cta { display: none; }
  .stats-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .stat-card--wide, .why-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: var(--sp-xl); }
  .hero-veil {
    background:
      linear-gradient(to bottom, rgba(8, 8, 10, 0.86) 0%, rgba(8, 8, 10, 0.55) 45%, rgba(8, 8, 10, 0.2) 70%, var(--canvas) 100%);
  }
  .hero-inner { padding-top: 104px; }

  .field-row { grid-template-columns: 1fr; }
  .contact { padding-top: 112px; }
  .radio-group { gap: var(--sp-sm) var(--sp-md); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-scroll-cue span { animation: none !important; }
  [data-reveal], [data-reveal-clip] {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
  }
  .menu-nav a { opacity: 1; transform: none; }
  /* colour still responds to hover; only the movement is dropped */
  .btn:hover, .pebble:hover, .pebble-logo:hover .logo-mark { transform: none !important; }
}
