/* =============================================================
   ZEVOR AI — Midnight Sapphire + Platinum Design System
   Fonts: Fraunces (display) · Inter (body) · JetBrains Mono (labels)
   Accent tokens keep their original names (--gold etc.) but now
   carry sapphire/platinum values, so every usage updates at once.
   ============================================================= */

/* ---------- Design Tokens ---------- */
:root {
  /* Midnight surfaces */
  --bg:            #05070F;
  --bg-2:          #080B16;
  --surface:       #0E1322;
  --surface-2:     #141A2C;
  --surface-3:     #1C2438;

  /* Lines & overlays (platinum, cool) */
  --line:          rgba(210, 222, 245, 0.09);
  --line-strong:   rgba(210, 222, 245, 0.17);
  --scrim:         rgba(4, 6, 12, 0.62);

  /* Text — platinum */
  --text:          #EEF2FB;
  --text-soft:     #C3CDE2;
  --text-dim:      #8A97B4;
  --text-mute:     #5C6A86;

  /* Accent — sapphire / platinum (token names kept for compatibility) */
  --gold:          #5B8DEF;  /* sapphire (primary accent) */
  --gold-bright:   #A9C2F5;  /* platinum-blue (highlights/links) */
  --gold-soft:     #3E6FD0;  /* deep sapphire (borders/hover) */
  --amber-deep:    #24407E;  /* deepest */
  --ember:         #7CC4FF;  /* icy electric blue (secondary) */

  /* Functional */
  --success:       #5FCf97;
  --danger:        #E5675A;

  /* Gradients */
  --grad-gold:     linear-gradient(135deg, #C9D9F7 0%, #5B8DEF 55%, #3E6FD0 100%);
  --grad-ember:    linear-gradient(120deg, #A9C2F5 0%, #7CC4FF 100%);
  --grad-text:     linear-gradient(120deg, #FFFFFF 0%, #C9D9F7 48%, #7FA8F0 100%);
  --glow-gold:     radial-gradient(closest-side, rgba(91,141,239,0.32), rgba(91,141,239,0));

  /* Typography */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body:    "Inter", system-ui, -apple-system, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, "SF Mono", monospace;

  /* Type scale (fluid) */
  --fs-eyebrow:  0.78rem;
  --fs-body:     1.0625rem;
  --fs-lead:     clamp(1.15rem, 0.95rem + 1vw, 1.45rem);
  --fs-h3:       clamp(1.35rem, 1.1rem + 1.1vw, 1.75rem);
  --fs-h2:       clamp(2.1rem, 1.4rem + 3.2vw, 3.6rem);
  --fs-h1:       clamp(2.8rem, 1.6rem + 5.6vw, 6.2rem);

  /* Spacing rhythm (8pt) */
  --sp-1: 0.5rem;  --sp-2: 1rem;   --sp-3: 1.5rem;  --sp-4: 2rem;
  --sp-5: 3rem;    --sp-6: 4rem;   --sp-7: 6rem;    --sp-8: 8rem;

  /* Radii */
  --r-sm: 10px; --r-md: 16px; --r-lg: 24px; --r-xl: 32px; --r-pill: 999px;

  /* Shadows / elevation */
  --sh-1: 0 1px 2px rgba(0,0,0,0.4);
  --sh-2: 0 8px 30px rgba(0,0,0,0.45);
  --sh-3: 0 24px 70px rgba(0,0,0,0.55);
  --sh-gold: 0 18px 60px -18px rgba(91,141,239,0.5);

  /* Layout */
  --maxw: 1200px;
  --nav-h: 76px;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --t-fast: 180ms;
  --t-med: 320ms;

  /* z-index scale */
  --z-bg: 0; --z-base: 10; --z-nav: 100; --z-overlay: 200; --z-cursor: 9999;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--text-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; padding: 0; }
input, textarea, select { font: inherit; color: inherit; }
:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Selection ---------- */
::selection { background: rgba(91,141,239,0.28); color: #fff; }

/* ---------- Background ambience ---------- */
.bg-field {
  position: fixed;
  inset: 0;
  z-index: var(--z-bg);
  pointer-events: none;
  overflow: hidden;
}
.bg-field::before {
  content: "";
  position: absolute;
  inset: 0;
  /* cinematic electric-blue light pools (no grid) */
  background:
    radial-gradient(46% 42% at 84% 10%, rgba(46,107,255,0.20), transparent 62%),
    radial-gradient(58% 50% at 6% 16%, rgba(59,130,246,0.15), transparent 62%),
    radial-gradient(85% 70% at 50% 120%, rgba(37,99,235,0.17), transparent 60%);
}
.bg-noise {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
  will-change: transform;
}
.orb.a { width: 480px; height: 480px; top: -120px; left: -80px;
  background: radial-gradient(closest-side, rgba(91,141,239,0.55), transparent); }
.orb.b { width: 560px; height: 560px; top: 30%; right: -160px;
  background: radial-gradient(closest-side, rgba(124,196,255,0.42), transparent); }
.orb.c { width: 420px; height: 420px; bottom: -120px; left: 30%;
  background: radial-gradient(closest-side, rgba(62,111,208,0.4), transparent); }

/* ---------- Layout primitives ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}
.section {
  position: relative;
  z-index: var(--z-base);
  padding-block: clamp(4.5rem, 9vw, 8.5rem);
}
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }

/* ---------- Headings & text utilities ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: var(--text);
  font-optical-sizing: auto;
}
.display { font-size: var(--fs-h1); font-weight: 400; }
.h2 { font-size: var(--fs-h2); }
.h3 { font-size: var(--fs-h3); }
.serif-italic { font-style: italic; font-weight: 400; }
.text-grad {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead {
  font-size: var(--fs-lead);
  color: var(--text-soft);
  line-height: 1.55;
  max-width: 56ch;
}
.muted { color: var(--text-dim); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.eyebrow--center::before { display: none; }

.section-head {
  max-width: 64ch;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-head.center { margin-inline: auto; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  --pad-y: 0.95rem;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: var(--pad-y) 1.6rem;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.005em;
  min-height: 52px;
  transition: transform var(--t-fast) var(--ease-out),
              box-shadow var(--t-med) var(--ease-out),
              background var(--t-med), color var(--t-med);
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary {
  background: var(--grad-gold);
  color: #06101F;
  box-shadow: var(--sh-gold);
}
.btn--primary:hover { box-shadow: 0 22px 70px -16px rgba(91,141,239,0.65); }
.btn--ghost {
  background: rgba(210,222,245,0.04);
  color: var(--text);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover { background: rgba(210,222,245,0.08); border-color: var(--gold-soft); }
.btn:active { transform: scale(0.97); }
.btn .arrow { transition: transform var(--t-fast) var(--ease-out); }
.btn:hover .arrow { transform: translateX(3px); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold-bright);
  font-weight: 600;
  font-size: 0.95rem;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform var(--t-fast) var(--ease-out); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Chips / tags ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.85rem;
  border-radius: var(--r-pill);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--text-soft);
  background: rgba(210,222,245,0.05);
  border: 1px solid var(--line);
}
.dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 0 4px rgba(91,141,239,0.18);
}

/* ---------- Cards (glass) ---------- */
.card {
  position: relative;
  background: linear-gradient(180deg, rgba(38,32,25,0.7), rgba(22,19,16,0.55));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3vw, 2.1rem);
  overflow: hidden;
  backdrop-filter: blur(10px);
  transition: transform var(--t-med) var(--ease-out),
              border-color var(--t-med), box-shadow var(--t-med);
}
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(91,141,239,0.5), transparent 40%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--t-med);
  pointer-events: none;
}
.card:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: var(--sh-3); }
.card:hover::after { opacity: 1; }
/* pointer-follow glow */
.card::before, .case::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 0%), rgba(91,141,239,0.12), transparent 60%);
  opacity: 0;
  transition: opacity var(--t-med);
  pointer-events: none;
  z-index: 0;
}
.card:hover::before, .case:hover::before { opacity: 1; }
.card > *, .case > * { position: relative; z-index: 1; }

/* ============================================================
   NAVBAR
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: var(--z-nav);
  display: flex;
  align-items: center;
  transition: background var(--t-med), border-color var(--t-med), backdrop-filter var(--t-med);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(5,7,15,0.72);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: 0.65rem; font-weight: 700; letter-spacing: -0.01em; }
.brand .logo {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 9px;
  background: var(--grad-gold);
  color: #06101F;
  box-shadow: var(--sh-gold);
}
.brand .logo svg { width: 20px; height: 20px; }
.brand-name { font-family: var(--font-display); font-size: 1.25rem; color: var(--text); }
.brand-name b { font-weight: 600; }

/* Nav text logo (static on mobile; hidden on desktop where the wordmark morphs in) */
.nav-logo {
  font-family: var(--font-body);
  font-weight: 900;
  font-size: 1.4rem;
  letter-spacing: -0.04em;
  color: var(--text);
  line-height: 1;
}
.nav-logo .wm-dot { color: var(--gold); }
.nav-logo-labs { font-weight: 500; color: var(--text-soft); }
@media (min-width: 861px) { body.home .nav-logo { display: none; } }

/* Morphing logo (the hero wordmark flying into the nav) — fixed, unclipped */
.morph-logo {
  position: fixed;
  top: 0; left: 0;
  z-index: 101;
  pointer-events: none;
  font-family: var(--font-body);
  font-weight: 900;
  line-height: 0.84;
  letter-spacing: -0.05em;
  white-space: nowrap;
  transform-origin: top left;
  opacity: 0;
  background: linear-gradient(180deg, #FFFFFF 0%, #CAD6EE 58%, #8FA3CB 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  will-change: transform, opacity;
}
.morph-logo .wm-dot { -webkit-text-fill-color: var(--gold); color: var(--gold); }
.morph-logo .m-labs { font-weight: 500; -webkit-text-fill-color: var(--text-soft); color: var(--text-soft); opacity: 0; }

.nav-links { display: flex; align-items: center; gap: 0.35rem; will-change: transform; }
.nav-links a {
  padding: 0.6rem 0.95rem;
  border-radius: var(--r-pill);
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--text-soft);
  transition: color var(--t-fast), background var(--t-fast);
}
.nav-links a:hover { color: var(--text); background: rgba(210,222,245,0.05); }
.nav-cta { display: flex; align-items: center; gap: 0.75rem; }
.nav-cta .btn { --pad-y: 0.7rem; min-height: 44px; padding: 0.7rem 1.25rem; font-size: 0.92rem; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(210,222,245,0.04);
  place-items: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 18px; height: 2px; border-radius: 2px;
  background: var(--text); transition: transform var(--t-med) var(--ease-out), opacity var(--t-fast);
}
.nav-toggle span { position: relative; }
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-toggle.open span { background: transparent; }
.nav-toggle.open span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span::after { transform: translateY(-6px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: var(--nav-h) 0 auto 0;
  z-index: 99;
  background: rgba(5,7,15,0.96);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  padding: 1rem clamp(1.25rem, 4vw, 2.5rem) 2rem;
  transform: translateY(-12px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-med), transform var(--t-med), visibility var(--t-med);
}
.mobile-menu.open { opacity: 1; transform: translateY(0); visibility: visible; }
.mobile-menu a {
  display: block;
  padding: 1rem 0.25rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--text);
  border-bottom: 1px solid var(--line);
}
.mobile-menu .btn { width: 100%; margin-top: 1.5rem; }

/* ============================================================
   HERO
   ============================================================ */
/* ============================================================
   HERO — Poster (oversized wordmark + centered 3D orb)
   ============================================================ */
.hero--poster {
  position: relative;
  z-index: var(--z-base);
  min-height: 100svh;
  padding-top: calc(var(--nav-h) + clamp(0.5rem, 2.5vw, 1.75rem));
  padding-bottom: clamp(1.5rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.hero--poster .container { display: flex; flex-direction: column; flex: 1; }

/* Wordmark */
.hero-card { position: relative; z-index: 2; text-align: center; }
.hero-kicker {
  position: absolute; top: clamp(7.5rem, 17vh, 10.5rem); left: 0; right: 0; z-index: 2;
  display: flex; align-items: center; justify-content: center; gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.76rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--gold); margin: 0;
}
.hero-wordmark {
  font-family: var(--font-body);
  font-weight: 900;
  font-size: clamp(3.4rem, 17.5vw, 15.5rem);
  line-height: 0.84;
  letter-spacing: -0.05em;
  margin: 0;
  background: linear-gradient(180deg, #FFFFFF 0%, #CAD6EE 58%, #8FA3CB 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  text-shadow: 0 0 90px rgba(91,141,239,0.10);
}
.hero-wordmark .wm-dot { -webkit-text-fill-color: var(--gold); color: var(--gold); }

/* Stage */
.hero-stage {
  position: relative;
  flex: 1;
  min-height: clamp(420px, 56vh, 660px);
  margin-top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Orb (sits in front of the wordmark, like the reference) */
/* Hero video — frameless, edges feathered into the dark so it blends */
.hero-orb {
  position: absolute;
  top: 50%; left: 50%;
  width: clamp(320px, 46vw, 640px);
  aspect-ratio: 4 / 3;
  transform: translate(-50%, -50%);
  z-index: 1;
  will-change: transform;
}
.hero-orb::before { /* sapphire glow seat behind the render */
  content: ""; position: absolute; inset: -14%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(91,141,239,0.28), transparent 70%);
  filter: blur(40px); z-index: -1; pointer-events: none;
}
.orb-media { position: absolute; inset: 0; overflow: hidden; transform: translateZ(0); backface-visibility: hidden; }
.orb-video {
  width: 100%; height: 100%; object-fit: cover; display: block;
  backface-visibility: hidden;
  filter: saturate(1.08) contrast(1.04);
  /* feather the light render background into the dark hero */
  -webkit-mask: radial-gradient(closest-side at 50% 50%, #000 36%, rgba(0,0,0,0.55) 60%, transparent 80%);
  mask: radial-gradient(closest-side at 50% 50%, #000 36%, rgba(0,0,0,0.55) 60%, transparent 80%);
}

/* Corner clusters */
.hero-corner { position: absolute; z-index: 3; max-width: 32%; }
.hero-corner.tl { top: clamp(2.5rem, 7vh, 5.5rem); left: 0; }
.hero-corner.tr { top: clamp(2.5rem, 7vh, 5.5rem); right: 0; text-align: right; }
.hero-corner.bl { bottom: 0; left: 0; }
.hero-corner.br { bottom: 0; right: 0; }

/* Social proof */
.social-proof { display: flex; align-items: center; gap: 0.9rem; }
.avatars { display: flex; }
.avatars .av {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  font-family: var(--font-mono); font-size: 0.7rem; font-weight: 600; color: #06101F;
  border: 2px solid var(--bg); margin-left: -12px;
}
.avatars .av:first-child { margin-left: 0; }
.av.a1 { background: linear-gradient(135deg, #A9C2F5, #5B8DEF); }
.av.a2 { background: linear-gradient(135deg, #7CC4FF, #3E6FD0); }
.av.a3 { background: linear-gradient(135deg, #C9D9F7, #7CC4FF); }
.sp-num { display: block; font-family: var(--font-body); font-weight: 800; font-size: 1.7rem; color: var(--text); line-height: 1; }
.sp-label { font-size: 0.82rem; color: var(--text-dim); }

/* Numbered feature index */
.feature-index { display: flex; flex-direction: column; gap: 0.45rem; font-family: var(--font-mono); font-size: 0.92rem; }
.feature-index li { display: flex; gap: 0.65rem; justify-content: flex-end; align-items: baseline; color: var(--text-soft); }
.feature-index li i { color: var(--gold); font-style: normal; font-size: 0.78rem; }

/* Tagline */
.hero-tagline { font-size: clamp(0.95rem, 1.3vw, 1.12rem); color: var(--text-soft); max-width: 32ch; line-height: 1.45; }
.dotline { display: block; width: 220px; max-width: 100%; height: 0; border-top: 2px dotted var(--text-mute); margin-top: 0.9rem; }

/* How it works circle button */
.how-btn {
  width: clamp(122px, 11vw, 158px); aspect-ratio: 1; border-radius: 50%;
  background: var(--grad-gold); color: #06101F;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.4rem;
  text-align: center; font-weight: 600; font-size: 0.92rem; letter-spacing: 0.01em;
  box-shadow: var(--sh-gold);
  transition: transform var(--t-fast) var(--ease-out), box-shadow var(--t-med);
}
.how-btn svg { width: 20px; height: 20px; }
.how-btn:hover { transform: scale(1.05); box-shadow: 0 22px 70px -16px rgba(91,141,239,0.7); }

/* Mobile: stack the stage */
@media (max-width: 860px) {
  .hero--poster { min-height: auto; padding-bottom: 3rem; }
  .hero-stage {
    display: flex; flex-direction: column; align-items: center;
    gap: 1.6rem; min-height: auto; margin-top: 1.25rem; text-align: center;
  }
  .hero-kicker { position: static; justify-content: center; }
  .hero-card { position: static; transform: none; }
  .hero-orb { display: none; }
  .hero-corner { position: static; max-width: 100%; width: 100%; text-align: center; }
  .hero-corner.tr { text-align: center; }
  .feature-index li { justify-content: center; }
  .social-proof { justify-content: center; }
  .dotline { margin-inline: auto; }
  .hero-corner.br { display: flex; justify-content: center; }
  .hero-tagline { margin-inline: auto; }
}

/* ---------- Marquee / logos ---------- */
.marquee {
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding-block: 1.6rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-label { text-align: center; font-size: 0.8rem; color: var(--text-mute); letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 1.5rem; font-family: var(--font-mono); }
.marquee-track { display: flex; gap: 4rem; width: max-content; animation: scroll-x 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--text-dim);
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: 0.6rem;
  transition: color var(--t-fast);
}
.marquee-track span:hover { color: var(--text); }
.marquee-track span::before { content:""; width:6px;height:6px;border-radius:50%;background:var(--gold-soft); }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* ============================================================
   SERVICES
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.service { display: flex; flex-direction: column; gap: 1rem; min-height: 280px; }
.service .ico {
  width: 54px; height: 54px; border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(160deg, rgba(91,141,239,0.16), rgba(124,196,255,0.08));
  border: 1px solid rgba(91,141,239,0.2);
  color: var(--gold-bright);
}
.service .ico svg { width: 26px; height: 26px; }
.service h3 { font-size: 1.3rem; }
.service p { color: var(--text-dim); font-size: 0.98rem; }
.service .tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: auto; }
.service.featured {
  grid-column: span 2;
  background: linear-gradient(135deg, rgba(48,33,18,0.85), rgba(22,19,16,0.6));
}
.service.featured .ico { background: var(--grad-gold); color: #06101F; border: none; }

/* ============================================================
   PROCESS
   ============================================================ */
.process { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.process::before {
  content: "";
  position: absolute; top: 36px; left: 8%; right: 8%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}
.step { position: relative; padding-top: 0; }
.step .num {
  width: 72px; height: 72px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 1.6rem; color: var(--gold-bright);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  margin-bottom: 1.5rem;
  position: relative; z-index: 2;
  box-shadow: 0 0 0 6px var(--bg);
}
.step h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.step p { font-size: 0.94rem; color: var(--text-dim); }

/* ============================================================
   BENTO — Why Us
   ============================================================ */
.bento {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: minmax(190px, auto);
  gap: 1.25rem;
}
.bento .card { display: flex; flex-direction: column; justify-content: space-between; }
.b-1 { grid-column: 1; grid-row: span 2; }
.b-2 { grid-column: 2; }
.b-4 { grid-column: 2; }
.b-6 { grid-column: 1 / -1; }
.bento h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.bento p { color: var(--text-dim); font-size: 0.94rem; }
.big-metric {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 2rem + 3vw, 4.4rem);
  line-height: 1;
  color: var(--text);
}
.b-1 .visual {
  margin-top: 1.5rem;
  height: 100%;
  min-height: 160px;
  border-radius: var(--r-md);
  background:
    radial-gradient(60% 80% at 80% 20%, rgba(124,196,255,0.18), transparent),
    radial-gradient(50% 60% at 20% 80%, rgba(91,141,239,0.16), transparent),
    repeating-linear-gradient(0deg, var(--line) 0 1px, transparent 1px 28px),
    repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 28px);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.b-1 .visual .pulse {
  position: absolute; width: 14px; height: 14px; border-radius: 50%;
  background: var(--gold-bright); box-shadow: 0 0 0 0 rgba(91,141,239,0.5);
  animation: pulse 2.4s var(--ease-out) infinite;
}
.b-1 .visual .pulse:nth-child(1){ top:30%; left:24%; }
.b-1 .visual .pulse:nth-child(2){ top:60%; left:62%; animation-delay:0.8s; }
.b-1 .visual .pulse:nth-child(3){ top:42%; left:80%; animation-delay:1.6s; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(91,141,239,0.5)} 100%{box-shadow:0 0 0 22px rgba(91,141,239,0)} }

/* ============================================================
   WORK / CASE STUDIES
   ============================================================ */
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.case {
  position: relative;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--surface);
  min-height: 360px;
  display: flex; flex-direction: column;
  transition: transform var(--t-med) var(--ease-out), border-color var(--t-med), box-shadow var(--t-med);
}
.case:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: var(--sh-3); }
.case-cover {
  height: 200px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--surface-3), var(--surface));
}
.case-cover .glyph {
  position: absolute; inset: 0; display: grid; place-items: center;
  color: rgba(91,141,239,0.9);
  transition: transform 0.6s var(--ease-out);
}
.case-cover .glyph svg { width: 88px; height: 88px; }
.case:hover .case-cover .glyph { transform: scale(1.08) rotate(-3deg); }
.case-cover::after {
  content:""; position:absolute; inset:0;
  background: radial-gradient(80% 70% at 70% 10%, rgba(124,196,255,0.22), transparent 60%);
}
.case-cat {
  position: absolute; top: 1rem; left: 1rem; z-index: 2;
}
.case-body { padding: 1.5rem; display: flex; flex-direction: column; gap: 0.7rem; flex: 1; }
.case-body h3 { font-size: 1.3rem; }
.case-body p { font-size: 0.94rem; color: var(--text-dim); }
.case-metrics { display: flex; gap: 1.5rem; margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line); }
.case-metrics .m .v { font-family: var(--font-display); font-size: 1.5rem; color: var(--gold-bright); line-height: 1; }
.case-metrics .m .k { font-size: 0.76rem; color: var(--text-mute); margin-top: 0.3rem; }

/* ============================================================
   STATS BAND
   ============================================================ */
.stats-band {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem;
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  background:
    radial-gradient(60% 120% at 10% 0%, rgba(91,141,239,0.10), transparent),
    linear-gradient(180deg, rgba(29,25,21,0.6), rgba(16,14,11,0.5));
  backdrop-filter: blur(8px);
}
.stat-cell { text-align: center; }
.stat-cell .v { font-family: var(--font-display); font-size: clamp(2.2rem, 1.6rem + 2.5vw, 3.4rem); color: var(--text); line-height: 1; }
.stat-cell .k { font-size: 0.86rem; color: var(--text-dim); margin-top: 0.6rem; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.tcols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.quote { display: flex; flex-direction: column; gap: 1.25rem; }
.quote .stars { display: flex; gap: 3px; color: var(--gold-bright); }
.quote .stars svg { width: 18px; height: 18px; }
.quote blockquote { font-family: var(--font-display); font-size: 1.18rem; line-height: 1.4; color: var(--text); font-weight: 400; }
.quote .who { display: flex; align-items: center; gap: 0.8rem; margin-top: auto; }
.quote .who .pfp {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; flex: none;
  font-family: var(--font-display); font-size: 1.1rem; color: #06101F;
  background: var(--grad-gold);
}
.quote .who .name { font-weight: 600; color: var(--text); font-size: 0.95rem; }
.quote .who .role { font-size: 0.82rem; color: var(--text-dim); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-wrap {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.contact-aside h2 { margin-bottom: 1.2rem; }
.contact-list { display: grid; gap: 1.5rem; margin-top: 2.5rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-list .ci {
  width: 44px; height: 44px; flex: none; border-radius: 12px; display: grid; place-items: center;
  background: rgba(91,141,239,0.1); border: 1px solid rgba(91,141,239,0.18); color: var(--gold-bright);
}
.contact-list .ci svg { width: 20px; height: 20px; }
.contact-list .k { font-size: 0.8rem; color: var(--text-mute); letter-spacing: 0.04em; }
.contact-list .v { color: var(--text); font-weight: 500; }

.form {
  background: linear-gradient(180deg, rgba(29,25,21,0.7), rgba(16,14,11,0.6));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3vw, 2.4rem);
  backdrop-filter: blur(10px);
}
.field { margin-bottom: 1.3rem; }
.field.row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 0; }
.field label { display: block; font-size: 0.85rem; font-weight: 500; color: var(--text-soft); margin-bottom: 0.5rem; }
.field label .req { color: var(--gold); }
.control {
  width: 100%;
  padding: 0.9rem 1rem;
  min-height: 52px;
  background: rgba(5,7,15,0.6);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  color: var(--text);
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
}
.control::placeholder { color: var(--text-mute); }
.control:hover { border-color: var(--gold-soft); }
.control:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(91,141,239,0.18); background: rgba(5,7,15,0.85); }
textarea.control { resize: vertical; min-height: 120px; line-height: 1.5; }
select.control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%23978D7C' stroke-width='2'%3E%3Cpath d='M3 5l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.field .err { display: none; font-size: 0.8rem; color: var(--danger); margin-top: 0.45rem; }
.field.invalid .control { border-color: var(--danger); }
.field.invalid .err { display: block; }
.field .hint { font-size: 0.78rem; color: var(--text-mute); margin-top: 0.45rem; }
.form .btn { width: 100%; margin-top: 0.5rem; }
.form-success {
  display: none;
  text-align: center;
  padding: 2rem 1rem;
}
.form-success.show { display: block; }
.form-success .check {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 1.2rem;
  display: grid; place-items: center; background: rgba(121,185,122,0.12);
  border: 1px solid rgba(121,185,122,0.4); color: var(--success);
}
.form-success .check svg { width: 30px; height: 30px; }
.form-success h3 { margin-bottom: 0.5rem; }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  position: relative;
  border-radius: var(--r-xl);
  padding: clamp(2.5rem, 6vw, 5rem);
  text-align: center;
  overflow: hidden;
  border: 1px solid rgba(91,141,239,0.2);
  background:
    radial-gradient(70% 140% at 50% -20%, rgba(124,196,255,0.25), transparent 60%),
    linear-gradient(180deg, rgba(48,33,18,0.7), rgba(16,14,11,0.7));
}
.cta-banner h2 { margin-bottom: 1.2rem; }
.cta-banner .lead { margin: 0 auto 2.2rem; }
.cta-banner .hero-actions { justify-content: center; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { position: relative; z-index: var(--z-base); border-top: 1px solid var(--line); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 3rem; }
.footer .brand { margin-bottom: 1.2rem; }
.footer-col h4 { font-family: var(--font-body); font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-mute); margin-bottom: 1.1rem; font-weight: 600; }
.footer-col a { display: block; padding: 0.4rem 0; color: var(--text-dim); font-size: 0.94rem; transition: color var(--t-fast); }
.footer-col a:hover { color: var(--gold-bright); }
.footer-about p { color: var(--text-dim); font-size: 0.94rem; max-width: 34ch; }
.footer-socials { display: flex; gap: 0.6rem; margin-top: 1.5rem; }
.footer-socials a {
  width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--text-dim);
  transition: color var(--t-fast), border-color var(--t-fast), background var(--t-fast);
}
.footer-socials a:hover { color: var(--gold-bright); border-color: var(--gold-soft); background: rgba(91,141,239,0.06); }
.footer-socials svg { width: 18px; height: 18px; }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center;
  padding-top: 2rem; border-top: 1px solid var(--line);
  font-size: 0.86rem; color: var(--text-mute);
}
.footer-bottom .links { display: flex; gap: 1.5rem; }
.footer-bottom a:hover { color: var(--text-soft); }

/* ============================================================
   SCROLL REVEAL (base states; GSAP enhances)
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); }
.is-ready .reveal { will-change: transform, opacity; }

/* Custom cursor */
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; pointer-events: none; z-index: var(--z-cursor); border-radius: 50%; mix-blend-mode: screen; }
.cursor-dot { width: 7px; height: 7px; background: var(--gold-bright); transform: translate(-50%,-50%); }
.cursor-ring { width: 38px; height: 38px; border: 1px solid rgba(91,141,239,0.5); transform: translate(-50%,-50%); transition: width var(--t-fast), height var(--t-fast), background var(--t-fast); }
.cursor-ring.hover { width: 58px; height: 58px; background: rgba(91,141,239,0.08); }
@media (hover: none), (pointer: coarse) { .cursor-dot, .cursor-ring { display: none; } }

/* Scroll progress bar */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 101; background: var(--grad-gold); }

/* ============================================================
   INTERACTIVE WAVE BAND
   ============================================================ */
.wave-band {
  position: relative;
  z-index: var(--z-base);
  width: 100%;
  min-height: clamp(340px, 46vw, 560px);
  display: grid;
  place-items: center;
  overflow: hidden;
  /* transparent so it shares the page backdrop — no block edge */
  background: radial-gradient(75% 120% at 50% 50%, rgba(91,141,239,0.05), transparent 72%);
}
.wave-band__lines {
  position: absolute;
  inset: 0;
  /* fade the lines in/out top & bottom so they melt into adjacent sections */
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 26%, #000 74%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 26%, #000 74%, transparent 100%);
}
.wave-band__scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(60% 74% at 50% 50%,
    rgba(5,7,15,0.8) 0%, rgba(5,7,15,0.34) 46%, rgba(5,7,15,0) 80%);
}
.wave-band__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 54ch;
  padding: 2.5rem clamp(1.25rem, 4vw, 2.5rem);
  pointer-events: none;
}
.wave-band__content .h2 { margin-top: 1rem; }
.wave-band__content .lead { margin: 1.1rem auto 0; }
.waves-svg path { vector-effect: non-scaling-stroke; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .hero-visual { display: none; }
  .hero-inner { max-width: 100%; }
}
@media (max-width: 920px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: grid; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .service.featured { grid-column: span 2; }
  .process { grid-template-columns: 1fr 1fr; gap: 2.5rem 1.25rem; }
  .process::before { display: none; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .b-1 { grid-column: 1 / -1; grid-row: span 1; }
  .b-2, .b-4 { grid-column: span 1; }
  .b-6 { grid-column: 1 / -1; }
  .work-grid { grid-template-columns: 1fr; }
  .stats-band { grid-template-columns: 1fr 1fr; gap: 2rem 1rem; }
  .tcols { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
  .service.featured { grid-column: span 1; }
  .process { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .b-1,.b-2,.b-4,.b-6 { grid-column: 1 / -1; grid-row: auto; }
  .stats-band { grid-template-columns: 1fr 1fr; }
  .field.row { grid-template-columns: 1fr; gap: 0; }
  .field.row .field { margin-bottom: 1.3rem; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .marquee-track { animation: none; }
  .cursor-dot, .cursor-ring { display: none; }
  .orb { display: none; }
}

/* ============================================================
   SOLUTIONS — shared 3D card primitives
   ============================================================ */
.tilt { transform-style: preserve-3d; transition: box-shadow var(--t-med) var(--ease-out), border-color var(--t-med); will-change: transform; }
.tilt > * { transform: translateZ(0.01px); }

/* Cursor spotlight + sheen shared by cat/svc cards */
.glass-card {
  position: relative;
  background: linear-gradient(180deg, rgba(28,36,56,0.55), rgba(14,19,34,0.62));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  backdrop-filter: blur(10px);
}
.glass-card::before { /* moving spotlight */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(380px circle at var(--mx,50%) var(--my,0%), rgba(91,141,239,0.18), transparent 60%);
  opacity: 0; transition: opacity var(--t-med); z-index: 1;
}
.glass-card::after { /* edge sheen */
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; z-index: 1;
  background: linear-gradient(140deg, rgba(169,194,245,0.55), transparent 38%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity var(--t-med);
}
.glass-card:hover { border-color: var(--line-strong); box-shadow: var(--sh-3), 0 30px 80px -40px rgba(91,141,239,0.5); }
.glass-card:hover::before, .glass-card:hover::after { opacity: 1; }
.glass-card > * { position: relative; z-index: 2; }

/* ---------- Homepage: category pillars ---------- */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.25rem;
}
.cat-card { grid-column: span 2; min-height: 300px; display: flex; flex-direction: column; padding: clamp(1.5rem, 2.5vw, 2.1rem); }
.cat-card.feature { grid-column: span 2; }
.cat-card .cat-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.cat-index { font-family: var(--font-mono); font-size: 0.78rem; color: var(--gold); letter-spacing: 0.1em; }
.cat-ico {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; flex: none;
  background: linear-gradient(160deg, rgba(91,141,239,0.18), rgba(124,196,255,0.08));
  border: 1px solid rgba(124,196,255,0.22); color: var(--gold-bright);
}
.cat-ico svg { width: 26px; height: 26px; }
.cat-card h3 { font-size: clamp(1.35rem, 1.1rem + 0.7vw, 1.7rem); margin: 1.4rem 0 0.5rem; }
.cat-card .cat-desc { color: var(--text-dim); font-size: 0.96rem; }
.cat-list { list-style: none; padding: 0; margin: 1.2rem 0 0; display: flex; flex-direction: column; gap: 0.5rem; }
.cat-list li { display: flex; align-items: center; gap: 0.55rem; font-size: 0.9rem; color: var(--text-soft); }
.cat-list li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); flex: none; box-shadow: 0 0 0 3px rgba(91,141,239,0.16); }
.cat-foot { margin-top: auto; padding-top: 1.4rem; display: flex; align-items: center; justify-content: space-between; }
.cat-count { font-family: var(--font-mono); font-size: 0.8rem; color: var(--text-mute); }
.cat-go { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--gold-bright); font-weight: 600; font-size: 0.9rem; }
.cat-go svg { width: 16px; height: 16px; transition: transform var(--t-fast) var(--ease-out); }
.cat-card:hover .cat-go svg { transform: translateX(4px); }

/* ============================================================
   PAGE HERO (Solutions / Contact)
   ============================================================ */
.page-hero {
  position: relative; z-index: var(--z-base);
  padding-top: calc(var(--nav-h) + clamp(3.5rem, 8vw, 6.5rem));
  padding-bottom: clamp(2rem, 5vw, 3.5rem);
}
.page-hero h1 {
  font-size: clamp(2.6rem, 1.6rem + 5vw, 5.6rem);
  font-weight: 400; line-height: 1.0;
}
.page-hero .display-grad {
  background: var(--grad-text); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.page-hero .lead { margin-top: 1.4rem; }

/* ---------- Solutions page ---------- */
.sol-nav {
  position: sticky; top: var(--nav-h); z-index: 40;
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  padding: 1rem 0; margin-bottom: 1rem;
  background: linear-gradient(180deg, var(--bg) 60%, transparent);
  backdrop-filter: blur(8px);
}
.sol-nav a {
  font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.04em;
  padding: 0.5rem 0.9rem; border-radius: var(--r-pill);
  color: var(--text-soft); border: 1px solid var(--line); background: rgba(210,222,245,0.03);
  transition: color var(--t-fast), border-color var(--t-fast), background var(--t-fast);
}
.sol-nav a:hover { color: var(--text); border-color: var(--gold-soft); background: rgba(91,141,239,0.08); }

.sol-cat { padding-top: clamp(2.5rem, 5vw, 4rem); scroll-margin-top: calc(var(--nav-h) + 70px); }
.sol-cat-head { display: flex; align-items: baseline; gap: 1rem; margin-bottom: 1.6rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.sol-cat-head h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); }
.sol-cat-head .cnt { font-family: var(--font-mono); font-size: 0.82rem; color: var(--text-mute); margin-left: auto; }

.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1.1rem; }
.svc-card { display: flex; flex-direction: column; padding: 1.6rem; min-height: 196px; }
.svc-card .svc-ico {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex: none;
  background: linear-gradient(160deg, rgba(91,141,239,0.16), rgba(124,196,255,0.06));
  border: 1px solid rgba(124,196,255,0.2); color: var(--gold-bright); margin-bottom: 1.2rem;
}
.svc-card .svc-ico svg { width: 22px; height: 22px; }
.svc-card h3 { font-family: var(--font-display); font-size: 1.18rem; font-weight: 500; line-height: 1.15; }
.svc-card p { color: var(--text-dim); font-size: 0.92rem; margin-top: 0.5rem; }
.svc-card .svc-go {
  margin-top: auto; padding-top: 1.1rem; display: inline-flex; align-items: center; gap: 0.45rem;
  font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-mute);
  transition: color var(--t-fast);
}
.svc-card:hover .svc-go { color: var(--gold-bright); }
.svc-card .svc-go svg { width: 14px; height: 14px; transition: transform var(--t-fast) var(--ease-out); }
.svc-card:hover .svc-go svg { transform: translateX(4px); }

/* ---------- Contact page ---------- */
.contact-page { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.contact-page .contact-aside h2 { margin-bottom: 1.2rem; }

/* ============================================================
   RESPONSIVE (solutions / pages)
   ============================================================ */
@media (max-width: 980px) {
  .solutions-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-card, .cat-card.feature { grid-column: span 1; }
  .contact-page { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .solutions-grid { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   LUXE FOOTER
   ============================================================ */
.footer--lux { position: relative; overflow: hidden; padding-top: clamp(3.5rem, 7vw, 6rem); }
.footer--lux::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(91,141,239,0.5), transparent);
}
.footer-cta {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap;
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem); margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
  border-bottom: 1px solid var(--line);
}
.footer-statement {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.7rem, 1.2rem + 2.4vw, 3.1rem); line-height: 1.05; letter-spacing: -0.015em;
  max-width: 20ch; margin-top: 0.8rem;
}
.footer-mark {
  font-family: var(--font-body); font-weight: 900;
  font-size: clamp(5rem, 26vw, 24rem); line-height: 0.66; letter-spacing: -0.06em;
  text-align: center; user-select: none; pointer-events: none; white-space: nowrap;
  margin-top: clamp(1.5rem, 3vw, 2.5rem); margin-bottom: -0.14em;
  background: linear-gradient(180deg, rgba(201,217,247,0.13) 0%, rgba(91,141,239,0.05) 55%, transparent 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.footer-mark span { -webkit-text-fill-color: rgba(91,141,239,0.20); color: rgba(91,141,239,0.20); }
@media (max-width: 980px) { .footer-cta { align-items: flex-start; } }
