/* HelioGrid — Premium Corporate Website
   Aesthetic: Refined Industrial-Editorial
   - Distinctive typography with Söhne/Inter fallback
   - Editorial vertical rhythm
   - Dark mode with ambient depth
   - Subtle grain and atmosphere
   - Sophisticated interactions
*/

/* ===== TYPOGRAPHY (External Fonts) ===== */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700&family=Space+Mono:wght@400;700&display=swap');

/* ===== DESIGN TOKENS ===== */
:root {
  /* === Colors === */
  --bg-deep: #050810;
  --bg: #080c16;
  --bg-elevated: #0c1220;
  --bg-elevated-2: #111828;

  --surface: rgba(255,255,255,.03);
  --surface-2: rgba(255,255,255,.05);
  --surface-3: rgba(255,255,255,.07);
  --surface-hover: rgba(255,255,255,.08);

  --border: rgba(255,255,255,.08);
  --border-2: rgba(255,255,255,.12);
  --border-focus: rgba(125,247,200,.45);

  --text: rgba(255,255,255,.94);
  --text-2: rgba(255,255,255,.78);
  --text-muted: rgba(255,255,255,.60);
  --text-muted-2: rgba(255,255,255,.45);

  /* Brand duotone: Turquoise + Electric Blue */
  --brand-primary: #7df7c8;
  --brand-secondary: #6ab6ff;
  --brand-glow: rgba(125,247,200,.20);
  --brand-glow-2: rgba(106,182,255,.15);

  --danger: #ff5a7a;
  --success: #7df7c8;

  /* === Spacing Scale (8px base) === */
  --space-1: 0.25rem;   /* 4px */
  --space-2: 0.5rem;    /* 8px */
  --space-3: 0.75rem;   /* 12px */
  --space-4: 1rem;      /* 16px */
  --space-5: 1.5rem;    /* 24px */
  --space-6: 2rem;      /* 32px */
  --space-7: 2.5rem;    /* 40px */
  --space-8: 3rem;      /* 48px */
  --space-9: 4rem;      /* 64px */
  --space-10: 5rem;     /* 80px */
  --space-11: 6rem;     /* 96px */
  --space-12: 8rem;     /* 128px */

  /* === Typography Scale === */
  --font-display: 'DM Sans', ui-sans-serif, system-ui, sans-serif;
  --font-body: 'DM Sans', ui-sans-serif, system-ui, sans-serif;
  --font-mono: 'Space Mono', ui-monospace, monospace;

  --fs-xs: 0.8125rem;   /* 13px */
  --fs-sm: 0.875rem;    /* 14px */
  --fs-base: 0.9375rem; /* 15px */
  --fs-md: 1rem;        /* 16px */
  --fs-lg: 1.125rem;    /* 18px */
  --fs-xl: 1.25rem;     /* 20px */
  --fs-2xl: 1.5rem;     /* 24px */
  --fs-3xl: clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem);
  --fs-4xl: clamp(2rem, 1.5rem + 2vw, 3rem);
  --fs-5xl: clamp(2.5rem, 1.8rem + 3vw, 4rem);
  --fs-hero: clamp(2.8rem, 2rem + 3.5vw, 4.5rem);

  --lh-tight: 1.1;
  --lh-snug: 1.25;
  --lh-normal: 1.5;
  --lh-relaxed: 1.65;

  --tracking-tight: -0.025em;
  --tracking-normal: 0;
  --tracking-wide: 0.025em;
  --tracking-wider: 0.05em;

  /* === Radii === */
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  /* === Shadows === */
  --shadow-sm: 0 2px 8px rgba(0,0,0,.20);
  --shadow: 0 8px 32px rgba(0,0,0,.30);
  --shadow-lg: 0 16px 48px rgba(0,0,0,.40);
  --shadow-xl: 0 24px 64px rgba(0,0,0,.50);
  --shadow-glow: 0 0 40px var(--brand-glow);

  /* === Layout === */
  --max-width: 1200px;
  --max-width-content: 72ch;

  /* === Transitions === */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 150ms;
  --duration-normal: 300ms;
  --duration-slow: 500ms;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-relaxed);
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 1400px 800px at 15% 0%, var(--brand-glow), transparent 60%),
    radial-gradient(ellipse 1200px 700px at 85% 5%, var(--brand-glow-2), transparent 55%);
  background-attachment: fixed;
}

/* Grain overlay for texture */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  z-index: 9999;
}

img, video {
  max-width: 100%;
  display: block;
}

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

a:hover {
  color: var(--brand-primary);
}

a:focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

p {
  margin: 0 0 var(--space-4);
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 var(--space-4);
  font-family: var(--font-display);
  font-weight: 600;
  line-height: var(--lh-tight);
  letter-spacing: var(--tracking-tight);
}

h1 { font-size: var(--fs-hero); }
h2 { font-size: var(--fs-4xl); }
h3 { font-size: var(--fs-2xl); }
h4 { font-size: var(--fs-xl); }

strong {
  font-weight: 600;
}

/* ===== UTILITY CLASSES ===== */
.container {
  width: min(var(--max-width), calc(100% - var(--space-6)));
  margin-inline: auto;
}

.container-narrow {
  width: min(900px, calc(100% - var(--space-6)));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: var(--space-4);
  background: var(--text);
  color: var(--bg);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius);
  font-weight: 600;
  z-index: 10000;
}

.skip-link:focus {
  left: var(--space-4);
}

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

.text-muted { color: var(--text-muted); }
.text-muted-2 { color: var(--text-muted-2); }
.text-brand { color: var(--brand-primary); }

.text-sm { font-size: var(--fs-sm); }
.text-xs { font-size: var(--fs-xs); }
.text-lg { font-size: var(--fs-lg); }
.text-xl { font-size: var(--fs-xl); }

.font-mono { font-family: var(--font-mono); }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

.tracking-wide { letter-spacing: var(--tracking-wide); }
.tracking-wider { letter-spacing: var(--tracking-wider); }

.uppercase { text-transform: uppercase; }

/* ===== HEADER & NAVIGATION ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(20px);
  background: rgba(8,12,22,.60);
  border-bottom: 1px solid var(--border);
  transition: background var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out);
}

.site-header[data-elevated="true"] {
  background: rgba(8,12,22,.85);
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) 0;
  gap: var(--space-4);
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-weight: 700;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  font-size: var(--fs-sm);
}

.brand:hover {
  color: inherit;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
  box-shadow: 0 0 0 3px var(--surface-2), var(--shadow-sm);
  position: relative;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 6px;
  background: var(--bg);
  border-radius: 3px;
}

.brand-footer {
  margin-bottom: var(--space-3);
}

/* Navigation */
.nav {
  position: relative;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-menu a {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-2);
  transition: color var(--duration-fast) var(--ease-out);
}

.nav-menu a:hover {
  color: var(--text);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-2);
  background: var(--surface);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--duration-fast) var(--ease-out);
}

.nav-toggle:hover {
  background: var(--surface-hover);
}

.nav-toggle-bars {
  width: 20px;
  height: 14px;
  position: relative;
  display: block;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--text-2);
  border-radius: 2px;
  transition: transform var(--duration-fast) var(--ease-out);
}

.nav-toggle-bars::before { top: 0; }
.nav-toggle-bars::after { bottom: 0; }

.nav-toggle-bars {
  background: var(--text-2);
  height: 2px;
  position: absolute;
  top: 6px;
  left: 0;
  width: 100%;
  border-radius: 2px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-full);
  border: 1px solid var(--border-2);
  background: linear-gradient(135deg, rgba(125,247,200,.18), rgba(106,182,255,.12));
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: var(--tracking-wide);
  color: var(--text);
  cursor: pointer;
  transition: transform var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out),
              background var(--duration-fast) var(--ease-out);
  box-shadow: var(--shadow-sm);
}

.btn:hover {
  color: var(--text);
  transform: translateY(-2px);
  box-shadow: var(--shadow), var(--shadow-glow);
}

.btn:active {
  transform: translateY(0);
}

.btn-sm {
  padding: var(--space-3) var(--space-4);
  font-size: var(--fs-xs);
}

.btn-lg {
  padding: var(--space-5) var(--space-6);
  font-size: var(--fs-base);
}

.btn-ghost {
  background: var(--surface);
  box-shadow: none;
}

.btn-ghost:hover {
  background: var(--surface-hover);
  box-shadow: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
  color: var(--bg);
  border-color: transparent;
}

.btn-primary:hover {
  color: var(--bg);
  box-shadow: var(--shadow), 0 0 30px rgba(125,247,200,.35);
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  filter: saturate(1.1) brightness(0.95);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 1000px 600px at 30% 20%, var(--brand-glow), transparent 60%),
    linear-gradient(180deg,
      rgba(8,12,22,.30) 0%,
      rgba(8,12,22,.50) 40%,
      rgba(8,12,22,.90) 100%
    );
}

.hero-content {
  position: relative;
  padding: var(--space-12) 0 var(--space-10);
  max-width: 900px;
}

.hero h1 {
  margin-bottom: var(--space-5);
}

.hero .lead {
  font-size: var(--fs-xl);
  color: var(--text-2);
  max-width: 65ch;
  line-height: var(--lh-normal);
}

/* Eyebrow badge */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  margin-bottom: var(--space-5);
  border-radius: var(--radius-full);
  border: 1px solid var(--border-2);
  background: var(--surface);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--text-muted);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-primary);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

/* Hero CTAs */
.hero-cta {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin: var(--space-7) 0 var(--space-9);
}

/* Hero metrics */
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
}

.metric {
  padding: var(--space-5);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
}

.metric-value {
  font-family: var(--font-mono);
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--brand-primary);
  margin-bottom: var(--space-2);
}

.metric-label {
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

/* Hero scroll indicator */
.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: var(--space-6);
  transform: translateX(-50%);
}

.hero-scroll-line {
  width: 2px;
  height: 40px;
  display: block;
  background: linear-gradient(180deg, var(--brand-primary), transparent);
  border-radius: var(--radius-full);
  animation: scrollPulse 2s var(--ease-in-out) infinite;
}

@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 0.6; }
  50% { transform: scaleY(1.3); opacity: 1; }
}

/* ===== KPI BAND ===== */
.kpi-band {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: var(--space-8) 0;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.kpi {
  text-align: center;
}

.kpi-value {
  font-family: var(--font-mono);
  font-size: var(--fs-4xl);
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.kpi-value span {
  color: var(--brand-primary);
}

.kpi-label {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
}

/* ===== TRUST BAR ===== */
.trust {
  padding: var(--space-6) 0;
  border-bottom: 1px solid var(--border);
}

.trust-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  flex-wrap: wrap;
}

.trust p {
  margin: 0;
  font-size: var(--fs-sm);
}

.logo-row {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.logo-pill {
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: var(--surface);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
}

/* ===== SECTIONS ===== */
.section {
  padding: var(--space-11) 0;
}

.section-alt {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-header {
  margin-bottom: var(--space-9);
}

.section-header.center {
  text-align: center;
}

.section-header h2 {
  margin-bottom: var(--space-4);
}

.section-header p {
  max-width: var(--max-width-content);
  color: var(--text-muted);
  font-size: var(--fs-lg);
}

.section-header.center p {
  margin-inline: auto;
}

.section-eyebrow {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--brand-primary);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  margin-bottom: var(--space-4);
}

/* ===== GRID LAYOUTS ===== */
.grid {
  display: grid;
  gap: var(--space-5);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ===== CARDS ===== */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  transition: transform var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out),
              border-color var(--duration-normal) var(--ease-out);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-2);
}

.card h3 {
  font-size: var(--fs-xl);
  margin-bottom: var(--space-3);
}

.card p {
  color: var(--text-2);
  margin-bottom: var(--space-4);
}

.card-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--brand-glow), var(--brand-glow-2));
  border: 1px solid var(--border);
  margin-bottom: var(--space-5);
  font-size: 1.5rem;
}

.bullet {
  padding-left: var(--space-5);
  margin: var(--space-4) 0 0;
  color: var(--text-muted);
}

.bullet li {
  margin: var(--space-2) 0;
}

.bullet li::marker {
  color: var(--brand-primary);
}

/* Tags */
.tag-row {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin-top: var(--space-4);
}

.tag {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
}

/* ===== SPLIT LAYOUT ===== */
.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-9);
  align-items: center;
}

.split-reverse {
  grid-template-columns: 0.9fr 1.1fr;
}

.split-reverse .split-media {
  order: -1;
}

.split-text h2 {
  margin-bottom: var(--space-5);
}

.split-text > p {
  color: var(--text-2);
  font-size: var(--fs-lg);
  margin-bottom: var(--space-6);
}

.split-media {
  position: relative;
}

.split-media img {
  width: 100%;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xl);
}

.callout {
  position: absolute;
  bottom: calc(-1 * var(--space-4));
  left: var(--space-4);
  right: var(--space-4);
  background: rgba(8,12,22,.85);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-5);
}

.callout-title {
  font-weight: 600;
  margin-bottom: var(--space-1);
  color: var(--brand-primary);
}

.callout p:last-child {
  margin-bottom: 0;
}

/* ===== FEATURES ===== */
.feature {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  padding: var(--space-5);
  margin: var(--space-4) 0;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: border-color var(--duration-fast) var(--ease-out);
}

.feature:hover {
  border-color: var(--border-2);
}

.feature-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-size: 1.25rem;
}

.feature h3 {
  font-size: var(--fs-md);
  margin-bottom: var(--space-2);
}

.feature p {
  color: var(--text-muted);
  margin: 0;
  font-size: var(--fs-sm);
}

/* ===== MEDIA CARDS ===== */
.media-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: transform var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out);
}

.media-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.media-frame {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-deep);
}

.media-frame video,
.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.media-card:hover .media-frame video,
.media-card:hover .media-frame img {
  transform: scale(1.05);
}

.media-card-content {
  padding: var(--space-5);
}

.media-card h3 {
  font-size: var(--fs-lg);
  margin-bottom: var(--space-2);
}

.media-card p {
  color: var(--text-muted);
  font-size: var(--fs-sm);
  margin: 0;
}

/* ===== PROCESS / HOW WE WORK ===== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
  counter-reset: process;
}

.process-step {
  position: relative;
  padding: var(--space-6);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  counter-increment: process;
}

.process-step::before {
  content: counter(process, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: var(--fs-3xl);
  font-weight: 700;
  color: var(--brand-primary);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: var(--space-4);
  display: block;
}

.process-step h3 {
  font-size: var(--fs-lg);
  margin-bottom: var(--space-3);
}

.process-step p {
  color: var(--text-muted);
  font-size: var(--fs-sm);
  margin: 0;
}

/* ===== TIMELINE ===== */
.timeline {
  margin-top: var(--space-6);
  border-left: 2px solid var(--border);
  padding-left: var(--space-6);
}

.timeline-item {
  position: relative;
  padding-bottom: var(--space-6);
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: calc(-1 * var(--space-6) - 6px);
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
  box-shadow: 0 0 0 4px var(--bg-elevated);
}

.timeline-item h3 {
  font-size: var(--fs-md);
  margin-bottom: var(--space-2);
}

.timeline-item p {
  color: var(--text-muted);
  margin: 0;
  font-size: var(--fs-sm);
}

/* ===== CONTACT SECTION ===== */
.contact-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  padding: var(--space-8);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg);
}

.contact-info h2 {
  margin-bottom: var(--space-4);
}

.contact-info > p {
  color: var(--text-2);
  margin-bottom: var(--space-6);
}

.contact-details {
  margin-top: var(--space-6);
}

.contact-details p {
  margin: var(--space-3) 0;
  color: var(--text-muted);
}

.contact-details a {
  color: var(--brand-primary);
}

.contact-details a:hover {
  text-decoration: underline;
}

/* Form */
.form {
  display: grid;
  gap: var(--space-4);
}

.form label span {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-2);
  margin-bottom: var(--space-2);
}

.form input,
.form textarea {
  width: 100%;
  padding: var(--space-4);
  border-radius: var(--radius);
  border: 1px solid var(--border-2);
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  outline: none;
  transition: border-color var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out);
}

.form input:focus,
.form textarea:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 4px rgba(125,247,200,.10);
}

.form input[aria-invalid="true"],
.form textarea[aria-invalid="true"] {
  border-color: var(--danger);
  box-shadow: 0 0 0 4px rgba(255,90,122,.10);
}

.form textarea {
  resize: vertical;
  min-height: 120px;
}

.form-note {
  min-height: 1.5em;
  font-size: var(--fs-sm);
}

.form-note.error {
  color: var(--danger);
}

.form-note.success {
  color: var(--success);
}

/* ===== FOOTER ===== */
.footer {
  padding: var(--space-10) 0 var(--space-8);
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-8);
  flex-wrap: wrap;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: var(--fs-sm);
  max-width: 40ch;
}

.footer-brand .text-xs {
  margin-top: var(--space-4);
  color: var(--text-muted-2);
}

.footer-links {
  display: flex;
  gap: var(--space-6);
  flex-wrap: wrap;
}

.footer-links a {
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

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

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children */
.reveal-stagger > .reveal:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger > .reveal:nth-child(2) { transition-delay: 80ms; }
.reveal-stagger > .reveal:nth-child(3) { transition-delay: 160ms; }
.reveal-stagger > .reveal:nth-child(4) { transition-delay: 240ms; }
.reveal-stagger > .reveal:nth-child(5) { transition-delay: 320ms; }
.reveal-stagger > .reveal:nth-child(6) { transition-delay: 400ms; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-5); }
}

@media (max-width: 768px) {
  .split {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .split-reverse .split-media {
    order: 0;
  }

  .contact-card {
    grid-template-columns: 1fr;
    padding: var(--space-6);
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .grid-3, .grid-2 {
    grid-template-columns: 1fr;
  }

  .section-header {
    text-align: left;
  }

  .section-header.center p {
    margin-inline: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    right: 0;
    top: calc(100% + var(--space-3));
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: min(320px, calc(100vw - var(--space-6)));
    padding: var(--space-4);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-2);
    background: rgba(8,12,22,.95);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-xl);
    gap: var(--space-1);
  }

  .nav-menu[data-open="true"] {
    display: flex;
  }

  .nav-menu a {
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius);
  }

  .nav-menu a:hover {
    background: var(--surface-hover);
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .kpi-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  :root {
    --space-11: 4rem;
    --space-12: 5rem;
  }

  .hero-content {
    padding: var(--space-10) 0 var(--space-8);
  }

  .kpi-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-scroll-line,
  .eyebrow-dot {
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .card:hover,
  .media-card:hover {
    transform: none;
  }

  .media-card:hover .media-frame video,
  .media-card:hover .media-frame img {
    transform: none;
  }
}

/* ===== NOSCRIPT ===== */
.noscript {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-4);
  background: var(--danger);
  color: white;
  text-align: center;
  font-size: var(--fs-sm);
  z-index: 10000;
}
