/*
Theme Name: VertexAI
Theme URI: https://vertexai.co.uk/
Author: VertexAI Ltd
Author URI: https://vertexai.co.uk/
Description: Bespoke, animation-rich theme for VertexAI Ltd — an AI consulting and engineering practice. Hand-built templates, no page builder. Light design system derived from the VertexAI brand mark, with a live vertex-constellation hero, scroll-driven motion, and a full technical-SEO layer.
Version: 1.6.0
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vertexai
Tags: custom-theme, one-column, custom-menu, custom-logo, featured-images, translation-ready, accessibility-ready
*/

/* ==========================================================================
   VertexAI — Design System (light)
   Palette derived from the existing brand mark: navy wordmark, teal-cyan
   swoosh, amber spark.

   Every surface, line and shadow is tokenised in section 1. Nothing below
   hardcodes a surface colour, so the theme can be re-skinned from that block
   alone.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Ground & paper */
  --bg: #f6f8fc;
  --bg-2: #eef2f9;
  --paper: #ffffff;

  /* Ink — the navy the wordmark already lives in */
  --ink-900: #071426;
  --ink-800: #0d1f38;
  --ink-700: #16294a;

  /* Text */
  --text-strong: #071426;
  --text: #2c3a54;
  --text-muted: #55637d;
  /* Held at 5.07:1 on --bg. Anything lighter fails AA on the 11px mono labels
     that use it (stat captions, panel keys), which are content, not decoration. */
  --text-dim: #5f6a86;

  /* Brand accents.
     -700 shades are contrast-safe for text on paper (>= 4.5:1).
     -400/-500 shades are decorative only — fills, gradients, glows. */
  --cyan-800: #0b5c73;
  --cyan-700: #0e7490;
  --cyan-600: #0891b2;
  --cyan-500: #06b6d4;
  --cyan-400: #22d3ee;
  --cyan-100: #e0f7fc;

  --blue-700: #1d4ed8;
  --blue-600: #2563eb;
  --blue-500: #3b82f6;

  --amber-700: #b45309;
  --amber-600: #d97706;
  --amber-500: #f59e0b;
  --amber-400: #ff9d2e;

  /* Interactive default */
  --accent: var(--cyan-700);
  --accent-hover: var(--cyan-800);

  /* Lines & surfaces */
  --line: rgba(13, 38, 76, 0.10);
  --line-strong: rgba(13, 38, 76, 0.18);
  --surface: var(--paper);
  --surface-2: #f9fbfe;
  --surface-grad: linear-gradient(160deg, #ffffff 0%, #f7fafd 100%);
  --surface-grad-alt: linear-gradient(165deg, #ffffff 0%, #f5f9fd 100%);
  --surface-sunk: #f2f6fb;
  --glass: rgba(255, 255, 255, 0.72);
  --glass-hi: rgba(255, 255, 255, 0.92);

  /* Shadows — soft, cool-tinted, never grey mush */
  --shadow-sm: 0 1px 2px rgba(13, 38, 76, 0.05), 0 2px 8px rgba(13, 38, 76, 0.04);
  --shadow-md: 0 4px 12px rgba(13, 38, 76, 0.07), 0 12px 28px rgba(13, 38, 76, 0.06);
  --shadow-lg: 0 12px 26px rgba(13, 38, 76, 0.09), 0 30px 60px rgba(13, 38, 76, 0.10);

  /* Signature gradients.
     --grad-brand carries white text on buttons, so every stop must clear AA:
     #0e7490 = 5.36:1, #2563eb = 5.17:1, #4f46e5 = 6.29:1. The lighter
     --cyan-600 was 3.68:1 and is kept for fills only. */
  --grad-brand: linear-gradient(120deg, var(--cyan-700) 0%, var(--blue-600) 55%, #4f46e5 100%);
  --grad-spark: linear-gradient(120deg, var(--amber-600) 0%, #e11d48 100%);
  --grad-text: linear-gradient(120deg, var(--ink-900) 0%, #12496b 45%, var(--cyan-700) 100%);
  --grad-line: linear-gradient(90deg, transparent, var(--cyan-500), transparent);

  /* Glow */
  --glow-cyan: 0 6px 22px rgba(8, 145, 178, 0.28);
  --glow-amber: 0 6px 22px rgba(217, 119, 6, 0.26);

  /* Type */
  --font-display: 'Space Grotesk', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  /* Fluid type scale */
  --fs-eyebrow: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: clamp(0.975rem, 0.94rem + 0.18vw, 1.0625rem);
  --fs-lead: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  --fs-h4: clamp(1.125rem, 1.05rem + 0.4vw, 1.375rem);
  --fs-h3: clamp(1.375rem, 1.2rem + 0.8vw, 1.875rem);
  --fs-h2: clamp(2rem, 1.5rem + 2.2vw, 3.5rem);
  --fs-h1: clamp(2.5rem, 1.6rem + 4vw, 5rem);

  /* Space & shape */
  --shell: 1240px;
  --gutter: clamp(1.125rem, 4vw, 2.5rem);
  --section-y: clamp(4.5rem, 9vw, 8.5rem);
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --t-fast: 0.2s;
  --t-mid: 0.45s;
  --t-slow: 0.8s;

  --header-h: 76px;
}

/* --------------------------------------------------------------------------
   2. RESET
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  min-height: 100vh;
}

img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }

:focus-visible {
  outline: 2px solid var(--cyan-700);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: rgba(8, 145, 178, 0.18); color: var(--ink-900); }

::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb {
  background: #c3cfe0;
  border-radius: 99px;
  border: 3px solid var(--bg-2);
}
::-webkit-scrollbar-thumb:hover { background: #a8b7cd; }

.skip-link {
  position: absolute; top: -100%; left: 1rem; z-index: 200;
  padding: 0.75rem 1.25rem; background: var(--cyan-700); color: #fff;
  font-weight: 600; border-radius: 0 0 var(--r-sm) var(--r-sm);
  transition: top var(--t-fast) var(--ease-out);
}
.skip-link:focus { top: 0; }

.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;
}

/* --------------------------------------------------------------------------
   3. PAGE ATMOSPHERE — soft aurora wash + engineering grid
   -------------------------------------------------------------------------- */
.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.55;
  will-change: transform;
}
.aurora--1 {
  width: 46vw; height: 46vw; min-width: 380px; min-height: 380px;
  top: -16vw; left: -10vw;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.42), transparent 68%);
  animation: drift-a 26s var(--ease-io) infinite alternate;
}
.aurora--2 {
  width: 40vw; height: 40vw; min-width: 320px; min-height: 320px;
  top: 30vh; right: -14vw;
  background: radial-gradient(circle, rgba(99, 152, 255, 0.34), transparent 68%);
  animation: drift-b 32s var(--ease-io) infinite alternate;
}
.aurora--3 {
  width: 32vw; height: 32vw; min-width: 260px; min-height: 260px;
  bottom: -8vw; left: 26vw;
  background: radial-gradient(circle, rgba(255, 176, 92, 0.28), transparent 68%);
  animation: drift-c 24s var(--ease-io) infinite alternate;
}

@keyframes drift-a { to { transform: translate3d(10vw, 8vh, 0) scale(1.18); } }
@keyframes drift-b { to { transform: translate3d(-12vw, -10vh, 0) scale(0.85); } }
@keyframes drift-c { to { transform: translate3d(14vw, -6vh, 0) scale(1.25); } }

/* Very fine grain stops the big gradients banding on wide displays */
.grain {
  position: fixed; inset: -50%; z-index: 1; pointer-events: none;
  opacity: 0.022;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain-shift 0.6s steps(3) infinite;
}
@keyframes grain-shift {
  0%   { transform: translate(0, 0); }
  33%  { transform: translate(-2%, 1%); }
  66%  { transform: translate(1%, -2%); }
  100% { transform: translate(0, 0); }
}

.grid-veil {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(13, 38, 76, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 38, 76, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 18%, transparent 76%);
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 18%, transparent 76%);
}

/* --------------------------------------------------------------------------
   4. LAYOUT
   -------------------------------------------------------------------------- */
.shell {
  width: min(100% - (var(--gutter) * 2), var(--shell));
  margin-inline: auto;
}
.shell--wide { --shell: 1440px; }

main { position: relative; z-index: 2; }
section { position: relative; }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }

/* --------------------------------------------------------------------------
   4b. SECTION SURFACES
   Alternate the ground so sections read as distinct bands instead of one flat
   wash. Each variant re-declares design tokens locally, so every component
   inside it — cards, borders, accents, shadows — re-tunes itself with no
   per-component overrides.
   -------------------------------------------------------------------------- */
.section--paper { background: var(--paper); }

.section--tint {
  background: linear-gradient(180deg, #edf4fb 0%, #e6f0fa 100%);
}

/* Soft seam so tinted bands don't hard-edge against the page ground */
.section--tint::before,
.section--tint::after {
  content: '';
  position: absolute; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}
.section--tint::before { top: 0; }
.section--tint::after { bottom: 0; }

/* The one dark band — used sparingly, as a punctuation mark */
.section--ink {
  --paper: #12233d;
  --surface: #12233d;
  --surface-2: rgba(255, 255, 255, 0.05);
  --surface-sunk: rgba(255, 255, 255, 0.06);
  --surface-grad: linear-gradient(160deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.02));
  --surface-grad-alt: linear-gradient(165deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.015));

  --ink-900: #ffffff;
  --ink-800: #e8f0ff;
  --text-strong: #ffffff;
  --text: #cfdcf0;
  --text-muted: #a3b5d1;
  --text-dim: #8ba0bf;

  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.22);

  /* Accents shift to the light end so they stay legible on the dark ground */
  --cyan-700: #5eead4;
  --cyan-800: #a5f3fc;
  --cyan-600: #22d3ee;
  --cyan-100: rgba(34, 211, 238, 0.16);
  --amber-700: #fcd34d;
  --amber-600: #fbbf24;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 10px 28px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 22px 55px rgba(0, 0, 0, 0.5);

  background-color: #0b1a2f;
  background-image:
    radial-gradient(ellipse 90% 70% at 50% 0%, rgba(20, 45, 82, 0.9), transparent 65%),
    radial-gradient(ellipse 60% 50% at 85% 100%, rgba(8, 145, 178, 0.22), transparent 70%);
  color: var(--text);
}

/* Icon plates carry hardcoded light gradients; re-tune for the dark band. */
.section--ink .icon-plate {
  background: linear-gradient(150deg, rgba(34, 211, 238, 0.2), rgba(59, 130, 246, 0.08));
  border-color: rgba(34, 211, 238, 0.28);
}
.section--ink .icon-plate--amber {
  background: linear-gradient(150deg, rgba(255, 157, 46, 0.22), rgba(255, 107, 107, 0.08));
  border-color: rgba(255, 157, 46, 0.3);
}
.section--ink .work-glyph { opacity: 0.16; }
.section--ink .card:hover,
.section--ink .work-card:hover,
.section--ink .industry:hover { border-color: rgba(94, 234, 212, 0.4); }
.section--ink .tag { border-color: rgba(34, 211, 238, 0.3); }

/* A dark band needs its own grid texture, not the page's */
.section--ink::before {
  content: '';
  position: absolute; inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000, transparent 75%);
}
.section--ink > * { position: relative; z-index: 1; }

.rule {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong) 25%, var(--line-strong) 75%, transparent);
  border: 0;
}

/* --------------------------------------------------------------------------
   5. TYPOGRAPHY
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text-strong);
  text-wrap: balance;
}

h1 { font-size: var(--fs-h1); font-weight: 700; letter-spacing: -0.045em; }
h2 { font-size: var(--fs-h2); letter-spacing: -0.038em; }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); line-height: 1.25; }

p { text-wrap: pretty; }

.lead {
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 62ch;
}

.muted { color: var(--text-muted); }
.dim { color: var(--text-dim); }

.grad {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.grad--spark {
  background: var(--grad-spark);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan-700);
}
.eyebrow::before {
  content: '';
  width: 26px; height: 2px;
  background: var(--cyan-600);
  border-radius: 2px;
}
.eyebrow--center::after {
  content: '';
  width: 26px; height: 2px;
  background: var(--cyan-600);
  border-radius: 2px;
}

/* Sized in rem, not ch — `ch` resolves against this block's own font-size,
   which throttles display headings down to roughly half their intended measure. */
.section-head {
  max-width: min(100%, 46rem);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-head .lead { max-width: 58ch; }
.section-head--center {
  margin-inline: auto;
  text-align: center;
}
.section-head--center .lead { margin-inline: auto; }
.section-head h2 { margin-top: 1.125rem; }
.section-head .lead { margin-top: 1.25rem; }

/* --------------------------------------------------------------------------
   6. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 1.6rem;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  cursor: pointer;
  white-space: nowrap;
  isolation: isolate;
  overflow: hidden;
  transition: transform var(--t-fast) var(--ease-out),
              box-shadow var(--t-mid) var(--ease-out),
              border-color var(--t-fast) var(--ease-out),
              background var(--t-fast) var(--ease-out),
              color var(--t-fast) var(--ease-out);
}

.btn svg { flex-shrink: 0; transition: transform var(--t-mid) var(--ease-out); }
.btn:hover svg.arr { transform: translateX(4px); }

/* Primary — brand gradient, white text, sweeping sheen */
.btn--primary {
  color: #fff;
  background: var(--grad-brand);
  box-shadow: 0 4px 14px rgba(8, 145, 178, 0.28), 0 10px 30px -12px rgba(37, 99, 235, 0.4);
}
.btn--primary::after {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, 0.45) 50%, transparent 75%);
  transform: translateX(-120%);
  transition: transform 0.75s var(--ease-out);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(8, 145, 178, 0.34), 0 16px 40px -12px rgba(37, 99, 235, 0.48);
}
.btn--primary:hover::after { transform: translateX(120%); }

/* Ghost — paper with a crisp edge */
.btn--ghost {
  color: var(--ink-800);
  background: var(--paper);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}
.btn--ghost:hover {
  color: var(--cyan-800);
  border-color: rgba(8, 145, 178, 0.5);
  background: var(--surface-2);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--lg { padding: 1.05rem 2rem; font-size: 1rem; }
.btn--sm { padding: 0.6rem 1.1rem; font-size: 0.875rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--cyan-700);
  position: relative;
}
.link-arrow::after {
  content: '';
  position: absolute; left: 0; bottom: -3px;
  width: 100%; height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--t-mid) var(--ease-out);
}
.link-arrow:hover { color: var(--cyan-800); }
.link-arrow:hover::after { transform: scaleX(1); transform-origin: left; }
.link-arrow svg { transition: transform var(--t-mid) var(--ease-out); }
.link-arrow:hover svg { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   7. CHIPS / BADGES / PILLS
   -------------------------------------------------------------------------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.9rem 0.4rem 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-sm);
}
.chip strong { color: var(--ink-800); font-weight: 600; }

.pulse-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--cyan-600);
  box-shadow: 0 0 0 0 rgba(8, 145, 178, 0.55);
  animation: pulse-ring 2.2s var(--ease-out) infinite;
  flex-shrink: 0;
}
@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(8, 145, 178, 0.5); }
  70%  { box-shadow: 0 0 0 9px rgba(8, 145, 178, 0); }
  100% { box-shadow: 0 0 0 0 rgba(8, 145, 178, 0); }
}

.tag {
  display: inline-block;
  padding: 0.28rem 0.7rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cyan-800);
  background: var(--cyan-100);
  border: 1px solid rgba(8, 145, 178, 0.2);
  border-radius: var(--r-pill);
}
.tag--amber {
  color: var(--amber-700);
  background: #fef3e2;
  border-color: rgba(217, 119, 6, 0.22);
}

/* --------------------------------------------------------------------------
   8. CARDS
   -------------------------------------------------------------------------- */
.card {
  position: relative;
  padding: clamp(1.5rem, 2.6vw, 2.15rem);
  background: var(--surface-grad);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  isolation: isolate;
  transition: transform var(--t-mid) var(--ease-out),
              border-color var(--t-mid) var(--ease-out),
              box-shadow var(--t-mid) var(--ease-out);
}

/* Cursor-tracked spotlight (x/y set from JS) */
.card--spot::before {
  content: '';
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%),
              rgba(8, 145, 178, 0.09), transparent 70%);
  opacity: 0;
  transition: opacity var(--t-mid) var(--ease-out);
}
.card--spot:hover::before { opacity: 1; }

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(8, 145, 178, 0.28);
  box-shadow: var(--shadow-lg);
}

.card--lit::after {
  content: '';
  position: absolute; top: 0; left: 12%; right: 12%;
  height: 2px;
  background: var(--grad-line);
  opacity: 0;
  transition: opacity var(--t-mid) var(--ease-out);
}
.card--lit:hover::after { opacity: 1; }

.card h3, .card h4 { margin-bottom: 0.7rem; }
.card p { color: var(--text-muted); font-size: 0.9375rem; }

.icon-plate {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  margin-bottom: 1.35rem;
  color: var(--cyan-700);
  background: linear-gradient(150deg, #e3f7fc 0%, #eef4ff 100%);
  border: 1px solid rgba(8, 145, 178, 0.18);
  border-radius: 14px;
  transition: transform var(--t-mid) var(--ease-out),
              box-shadow var(--t-mid) var(--ease-out);
}
.card:hover .icon-plate {
  transform: translateY(-2px) rotate(-4deg) scale(1.06);
  box-shadow: var(--glow-cyan);
}
.icon-plate--amber {
  color: var(--amber-700);
  background: linear-gradient(150deg, #fef1e0 0%, #fff6ec 100%);
  border-color: rgba(217, 119, 6, 0.2);
}
.card:hover .icon-plate--amber { box-shadow: var(--glow-amber); }

.card-index {
  position: absolute;
  top: 1.1rem; right: 1.4rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--text-dim);
}

/* --------------------------------------------------------------------------
   9. GRIDS
   -------------------------------------------------------------------------- */
.grid { display: grid; gap: clamp(1rem, 1.8vw, 1.5rem); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--auto { grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }

.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(1rem, 1.6vw, 1.35rem);
}
.bento > * { grid-column: span 2; display: flex; flex-direction: column; }
/* Push the tag row to the foot of the card so wide cells don't leave a void. */
.bento > * > .work-tags { margin-top: auto; padding-top: 1.25rem; }
.bento .b-wide { grid-column: span 4; }
.bento .b-full { grid-column: span 6; }
.bento .b-half { grid-column: span 3; }

/* --------------------------------------------------------------------------
   10. SCROLL REVEAL PRIMITIVES
   -------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
  transition-delay: var(--delay, 0ms);
  will-change: opacity, transform;
}
[data-reveal='left']  { transform: translateX(-32px); }
[data-reveal='right'] { transform: translateX(32px); }
[data-reveal='scale'] { transform: scale(0.94); }
[data-reveal='blur']  { filter: blur(10px); transform: translateY(20px); }

[data-reveal].is-in {
  opacity: 1;
  transform: none;
  filter: none;
}

/* Word-by-word headline entrance.
   Each word gets its own overflow-hidden mask so it can rise from below —
   but the mask must stay inline-block, or every word claims its own line.
   The padding/margin pair stops descenders being clipped by the mask. */
.split-line {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.14em;
  margin-bottom: -0.14em;
}
.split-word {
  display: inline-block;
  transform: translateY(115%) rotate(3deg);
  opacity: 0;
  transition: transform 1s var(--ease-out), opacity 0.7s var(--ease-out);
  transition-delay: var(--wd, 0ms);
}
.is-in .split-word, .split-ready .split-word {
  transform: translateY(0) rotate(0);
  opacity: 1;
}

/* --------------------------------------------------------------------------
   11. SCROLL PROGRESS + CURSOR
   -------------------------------------------------------------------------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 100%;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: var(--grad-brand);
  z-index: 120;
}

.cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 460px; height: 460px;
  margin: -230px 0 0 -230px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(8, 145, 178, 0.07), transparent 62%);
  pointer-events: none;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.5s var(--ease-out);
  will-change: transform;
}
.cursor-glow.is-on { opacity: 1; }

/* --------------------------------------------------------------------------
   12. HEADER / NAVIGATION
   -------------------------------------------------------------------------- */
/* Boxed / floating header: the bar is a contained card inside the shell
   width rather than a full-bleed strip. */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  padding-top: 0.85rem;
  transition: padding-top var(--t-mid) var(--ease-out);
}

.site-header .nav-bar {
  position: relative;
  width: min(100% - (var(--gutter) * 2), var(--shell));
  margin-inline: auto;
  padding: 0.5rem 0.6rem 0.5rem 1.1rem;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: 0 2px 10px rgba(13, 38, 76, 0.05);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  transition: background var(--t-mid) var(--ease-out),
              border-color var(--t-mid) var(--ease-out),
              box-shadow var(--t-mid) var(--ease-out);
}

.site-header.is-stuck { padding-top: 0.5rem; }
.site-header.is-stuck .nav-bar {
  background: rgba(255, 255, 255, 0.94);
  border-color: var(--line-strong);
  box-shadow: 0 6px 24px -8px rgba(13, 38, 76, 0.16);
}

/* The fixed header would otherwise sit underneath the WordPress admin bar,
   clipping the logo for logged-in users. */
body.admin-bar .site-header { top: 32px; }
body.admin-bar .drawer { top: calc(var(--header-h) + 32px); }

@media screen and (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
  body.admin-bar .drawer { top: calc(var(--header-h) + 46px); }
}
/* Below 600px WordPress un-fixes the admin bar, so it scrolls away. */
@media screen and (max-width: 600px) {
  body.admin-bar .site-header { top: 0; }
  body.admin-bar .drawer { top: var(--header-h); }
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
}
.brand-mark {
  width: 34px; height: 34px;
  transition: transform var(--t-slow) var(--ease-out);
}
.brand:hover .brand-mark { transform: rotate(180deg); }
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--ink-900);
}
.brand-name span { color: var(--cyan-700); }
.brand-sub {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.55rem 0.85rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--r-pill);
  transition: color var(--t-fast) var(--ease-out), background var(--t-fast) var(--ease-out);
}
.nav-link:hover, .nav-link[aria-expanded='true'], .nav-link.is-active {
  color: var(--cyan-800);
  background: var(--cyan-100);
}
.nav-link .caret { transition: transform var(--t-fast) var(--ease-out); opacity: 0.65; }
.nav-link[aria-expanded='true'] .caret { transform: rotate(180deg); }

/* Mega panels hang off the boxed bar, not the viewport. */
.has-mega { position: static; }
.mega {
  position: absolute;
  top: calc(100% + 0.6rem);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  width: min(100%, 1000px);
  padding: 1.5rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--t-mid) var(--ease-out),
              transform var(--t-mid) var(--ease-out),
              visibility var(--t-mid);
}
.mega.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.mega-grid { display: grid; gap: 0.5rem; }
.mega-grid--3 { grid-template-columns: repeat(3, 1fr); }
.mega-grid--2 { grid-template-columns: repeat(2, 1fr); }

.mega-item {
  display: block;
  padding: 1rem 1.1rem;
  border: 1px solid transparent;
  border-radius: var(--r-md);
  transition: background var(--t-fast) var(--ease-out), border-color var(--t-fast) var(--ease-out);
}
.mega-item:hover { background: var(--surface-sunk); border-color: var(--line); }
.mega-item h4 {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.9375rem; margin-bottom: 0.3rem;
}
.mega-item h4 svg { color: var(--cyan-700); flex-shrink: 0; }
.mega-item p { font-size: 0.8125rem; color: var(--text-muted); line-height: 1.5; }

.mega-item--compact { padding: 0.7rem 1rem; }
.mega-item--compact h4 { margin-bottom: 0; font-weight: 500; color: var(--text); }
.mega-item--compact:hover h4 { color: var(--cyan-800); }

.mega--narrow {
  left: auto;
  right: 0;
  width: min(100%, 320px);
  padding: 0.6rem;
  transform: translateX(0) translateY(-8px);
}
.mega--narrow.is-open { transform: translateX(0) translateY(0); }

.mega-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  margin-top: 1.25rem; padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
}

.nav-actions { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }

.burger {
  display: none;
  width: 42px; height: 42px;
  place-items: center;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.burger span {
  display: block; width: 17px; height: 2px;
  background: var(--ink-800); border-radius: 2px;
  transition: transform var(--t-mid) var(--ease-out), opacity var(--t-fast);
}
.burger span + span { margin-top: 4px; }
.burger[aria-expanded='true'] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded='true'] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.drawer {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 99;
  padding: 1.5rem var(--gutter) 3rem;
  background: var(--paper);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity var(--t-mid) var(--ease-out),
              transform var(--t-mid) var(--ease-out),
              visibility var(--t-mid);
}
.drawer.is-open { opacity: 1; visibility: visible; transform: none; }

.drawer-group { border-bottom: 1px solid var(--line); }
.drawer-toggle {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 1.1rem 0;
  font-family: var(--font-display); font-size: 1.0625rem; font-weight: 600;
  color: var(--ink-900); background: none; border: 0; cursor: pointer; text-align: left;
}
.drawer-toggle .caret { transition: transform var(--t-fast) var(--ease-out); color: var(--cyan-700); }
.drawer-toggle[aria-expanded='true'] .caret { transform: rotate(180deg); }
.drawer-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--t-mid) var(--ease-out);
}
.drawer-panel > div { overflow: hidden; }
.drawer-toggle[aria-expanded='true'] + .drawer-panel { grid-template-rows: 1fr; }
.drawer-panel a {
  display: block; padding: 0.65rem 0 0.65rem 1rem;
  font-size: 0.9375rem; color: var(--text-muted);
  border-left: 2px solid var(--line);
  transition: color var(--t-fast), border-color var(--t-fast);
}
.drawer-panel a:hover { color: var(--cyan-800); border-left-color: var(--cyan-600); }
.drawer-panel > div > :last-child { padding-bottom: 1.1rem; }

/* --------------------------------------------------------------------------
   13. HERO
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: min(100svh, 900px);
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-h) + clamp(2rem, 6vw, 5rem));
  padding-bottom: clamp(3rem, 7vw, 6rem);
  overflow: hidden;
}

#constellation {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.9;
}

.hero-inner { position: relative; z-index: 2; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.hero h1 { margin: 1.5rem 0 0; }
.hero .lead { margin-top: 1.6rem; color: var(--text); }

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2.4rem;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-top: 3.25rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.proof-item .num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--ink-900);
  line-height: 1;
}
.proof-item .num sup { color: var(--cyan-700); font-size: 0.55em; top: -0.55em; }
/* Word-valued stats sit alongside numerals without shouting over them. */
.proof-item .num--text { font-size: clamp(1.125rem, 1rem + 0.5vw, 1.5rem); letter-spacing: -0.02em; }
.proof-item .lbl {
  display: block;
  margin-top: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* Hero figure — neural network diagram.
   Replaces the old mock status panel, which read as a screenshot of a product
   that does not exist. */
.hero-figure {
  position: relative;
  padding: 1.5rem 1.35rem 1.25rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  animation: float-panel 7s var(--ease-io) infinite alternate;
}
@keyframes float-panel { to { transform: translateY(-14px); } }

.hero-figure__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan-700);
}
.hero-figure__eyebrow svg { color: var(--cyan-600); }

.hero-figure__caption {
  margin-top: 0.35rem;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--text-muted);
  border-top: 1px dashed var(--line);
  padding-top: 0.9rem;
}

.nn { width: 100%; height: auto; display: block; margin-block: 0.35rem; }

.nn-edge {
  stroke: var(--cyan-600);
  stroke-linecap: round;
  stroke-dasharray: 5 9;
  animation: nn-flow 2.6s linear infinite;
  animation-delay: var(--d, 0s);
}
@keyframes nn-flow { to { stroke-dashoffset: -28; } }

.nn-node {
  fill: var(--paper);
  stroke: var(--cyan-600);
  stroke-width: 2;
  animation: nn-pulse 3.4s var(--ease-io) infinite;
  animation-delay: var(--d, 0s);
  transform-box: fill-box;
  transform-origin: center;
}
@keyframes nn-pulse {
  0%, 100% { transform: scale(1);    stroke-opacity: 0.55; }
  50%      { transform: scale(1.18); stroke-opacity: 1; }
}

/* Output layer reads as the "answer" — amber, filled */
.nn-node--out {
  fill: var(--amber-500);
  stroke: var(--amber-600);
}

.nn-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  fill: var(--text-dim);
}

.scroll-hint {
  position: absolute;
  bottom: 1.75rem; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 0.55rem;
  font-family: var(--font-mono); font-size: 0.625rem; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-dim);
}
.scroll-hint .track {
  width: 2px; height: 44px;
  background: linear-gradient(180deg, var(--cyan-500), transparent);
  border-radius: 2px;
  position: relative; overflow: hidden;
}
.scroll-hint .track::after {
  content: '';
  position: absolute; top: -50%; left: 0;
  width: 100%; height: 50%;
  background: var(--cyan-700);
  animation: scroll-run 2.2s var(--ease-io) infinite;
}
@keyframes scroll-run { to { top: 100%; } }

/* --------------------------------------------------------------------------
   14. MARQUEE
   -------------------------------------------------------------------------- */
.marquee {
  position: relative;
  overflow: hidden;
  padding-block: 1.25rem;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex;
  gap: clamp(2rem, 5vw, 4rem);
  width: max-content;
  animation: marquee var(--dur, 42s) linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee--rev .marquee-track { animation-direction: reverse; }
@keyframes marquee { to { transform: translateX(-50%); } }

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1rem, 0.9rem + 0.4vw, 1.25rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-muted);
  white-space: nowrap;
  transition: color var(--t-fast) var(--ease-out);
}
.marquee-item:hover { color: var(--ink-900); }
.marquee-item svg { color: var(--cyan-600); flex-shrink: 0; }

/* --------------------------------------------------------------------------
   15. PROCESS RAIL
   -------------------------------------------------------------------------- */
.process {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.process-sticky {
  position: sticky;
  top: calc(var(--header-h) + 4rem);
}
.process-steps { position: relative; padding-left: 3.25rem; counter-reset: step-counter; }
.process-steps::before {
  content: '';
  position: absolute; left: 15px; top: 8px; bottom: 8px;
  width: 2px;
  background: var(--line);
  border-radius: 2px;
}
.process-steps::after {
  content: '';
  position: absolute; left: 15px; top: 8px;
  width: 2px;
  height: var(--fill, 0%);
  background: var(--grad-brand);
  border-radius: 2px;
  transition: height 0.25s linear;
}

.step {
  position: relative;
  padding-block: clamp(1.5rem, 3vw, 2.5rem);
  opacity: 0.45;
  transition: opacity var(--t-mid) var(--ease-out);
  counter-increment: step-counter;
}
.step.is-active { opacity: 1; }
.step::before {
  content: '';
  position: absolute;
  left: -3.25rem; top: calc(clamp(1.5rem, 3vw, 2.5rem) + 6px);
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--line-strong);
  transition: border-color var(--t-mid), box-shadow var(--t-mid), background var(--t-mid);
}
.step::after {
  content: counter(step-counter, decimal-leading-zero);
  position: absolute;
  left: -3.25rem; top: calc(clamp(1.5rem, 3vw, 2.5rem) + 6px);
  width: 32px; height: 32px;
  display: grid; place-items: center;
  font-family: var(--font-mono); font-size: 0.6875rem; font-weight: 600;
  color: var(--text-dim);
  transition: color var(--t-mid);
}
.step.is-active::before {
  border-color: var(--cyan-600);
  background: var(--cyan-100);
  box-shadow: 0 0 0 5px rgba(8, 145, 178, 0.10);
}
.step.is-active::after { color: var(--cyan-800); }
.step h3 { font-size: var(--fs-h4); margin-bottom: 0.5rem; }
.step p { color: var(--text-muted); font-size: 0.9375rem; }

/* --------------------------------------------------------------------------
   16. PORTFOLIO
   -------------------------------------------------------------------------- */
.work-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 340px;
  padding: clamp(1.5rem, 2.6vw, 2.15rem);
  background: var(--surface-grad-alt);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  isolation: isolate;
  transform-style: preserve-3d;
  transition: transform 0.35s var(--ease-out), border-color var(--t-mid), box-shadow var(--t-mid);
}
.work-card:hover {
  border-color: rgba(8, 145, 178, 0.3);
  box-shadow: var(--shadow-lg);
}
.work-glyph {
  position: absolute;
  right: -30px; bottom: -30px;
  width: 190px; height: 190px;
  z-index: -1;
  color: var(--cyan-600);
  opacity: 0.09;
  transition: opacity var(--t-slow) var(--ease-out), transform var(--t-slow) var(--ease-out);
}
.work-card:hover .work-glyph { opacity: 0.18; transform: rotate(-12deg) scale(1.12); }

.work-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.work-card h3 { font-size: clamp(1.375rem, 1.2rem + 0.5vw, 1.75rem); }
.work-client {
  display: block;
  margin-top: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--cyan-700);
}
.work-card p { margin-top: 1.1rem; color: var(--text-muted); font-size: 0.9375rem; }
.work-foot { margin-top: auto; padding-top: 1.75rem; }
.work-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1.25rem; }

/* --------------------------------------------------------------------------
   17. INDUSTRIES
   -------------------------------------------------------------------------- */
.industry {
  position: relative;
  display: block;
  padding: clamp(1.4rem, 2.4vw, 1.9rem);
  background: var(--surface-grad-alt);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform var(--t-mid) var(--ease-out), border-color var(--t-mid),
              box-shadow var(--t-mid);
}
.industry::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(8, 145, 178, 0.07), transparent 60%);
  opacity: 0;
  transition: opacity var(--t-mid) var(--ease-out);
}
.industry:hover {
  transform: translateY(-5px);
  border-color: rgba(8, 145, 178, 0.3);
  box-shadow: var(--shadow-md);
}
.industry:hover::before { opacity: 1; }
.industry > * { position: relative; }
.industry .icon-plate { width: 44px; height: 44px; margin-bottom: 1.1rem; }
.industry h3 { font-size: 1.0625rem; margin-bottom: 0.45rem; }
.industry p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.55; }
.industry .go {
  display: inline-flex; align-items: center; gap: 0.35rem;
  margin-top: 1rem;
  font-family: var(--font-mono); font-size: 0.6875rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--cyan-700);
  opacity: 0; transform: translateX(-6px);
  transition: opacity var(--t-mid) var(--ease-out), transform var(--t-mid) var(--ease-out);
}
.industry:hover .go { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   18. TESTIMONIALS
   -------------------------------------------------------------------------- */
.quote-card {
  flex: 0 0 min(88vw, 420px);
  display: flex;
  flex-direction: column;
  padding: 1.85rem;
  background: var(--surface-grad-alt);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  white-space: normal;
  transition: border-color var(--t-mid), transform var(--t-mid) var(--ease-out),
              box-shadow var(--t-mid);
}
.quote-card:hover {
  border-color: rgba(8, 145, 178, 0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.quote-mark {
  font-family: var(--font-display);
  font-size: 3.25rem; line-height: 0.7;
  color: var(--cyan-500); opacity: 0.4;
  margin-bottom: 0.75rem;
}
.quote-card blockquote {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text);
  margin: 0 0 1.5rem;
}
.quote-by { display: flex; align-items: center; gap: 0.85rem; margin-top: auto; }
.avatar {
  display: grid; place-items: center;
  width: 42px; height: 42px; flex-shrink: 0;
  font-family: var(--font-display); font-size: 0.875rem; font-weight: 700;
  color: #fff;
  background: var(--grad-brand);
  border-radius: 50%;
}
.quote-by .who { font-family: var(--font-display); font-weight: 600; font-size: 0.9375rem; color: var(--ink-900); }
.quote-by .role { font-size: 0.75rem; color: var(--text-dim); }

.stars { display: flex; gap: 2px; margin-bottom: 0.9rem; color: var(--amber-500); }

/* --------------------------------------------------------------------------
   19. FAQ ACCORDION
   -------------------------------------------------------------------------- */
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color var(--t-mid), box-shadow var(--t-mid);
}
.faq-item + .faq-item { margin-top: 0.75rem; }
.faq-item.is-open {
  border-color: rgba(8, 145, 178, 0.35);
  box-shadow: var(--shadow-md);
}
.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 1.25rem;
  width: 100%;
  padding: 1.2rem 1.4rem;
  font-family: var(--font-display);
  font-size: 1.0625rem; font-weight: 600; text-align: left;
  color: var(--ink-900);
  background: none; border: 0; cursor: pointer;
}
.faq-icon {
  position: relative;
  width: 20px; height: 20px; flex-shrink: 0;
}
.faq-icon::before, .faq-icon::after {
  content: '';
  position: absolute; top: 50%; left: 50%;
  background: var(--cyan-700);
  transform: translate(-50%, -50%);
  transition: transform var(--t-mid) var(--ease-out);
}
.faq-icon::before { width: 13px; height: 2px; border-radius: 2px; }
.faq-icon::after  { width: 2px; height: 13px; border-radius: 2px; }
.faq-q[aria-expanded='true'] .faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--t-mid) var(--ease-out);
}
/* The button sits inside a heading, so it is not a sibling of the panel —
   the open state is carried on the item by JS instead. */
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p {
  padding: 0 1.4rem 1.35rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
  max-width: 76ch;
}

/* --------------------------------------------------------------------------
   20. FORMS
   -------------------------------------------------------------------------- */
.form-grid { display: grid; gap: 1.1rem; }
.field { position: relative; }
.field label {
  display: block;
  margin-bottom: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.field label .req { color: var(--amber-700); }

.field input, .field textarea, .field select {
  width: 100%;
  padding: 0.9rem 1.05rem;
  font-size: 0.9375rem;
  color: var(--ink-900);
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  transition: border-color var(--t-fast) var(--ease-out),
              box-shadow var(--t-fast) var(--ease-out);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-dim); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--cyan-600);
  box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.14);
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2355637d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.field-error {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.75rem;
  color: #b91c1c;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity var(--t-fast), transform var(--t-fast);
}
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: #dc2626; }
.field.has-error .field-error { opacity: 1; transform: none; }

.form-note { font-size: 0.8125rem; color: var(--text-muted); }
.form-note a { color: var(--cyan-700); text-decoration: underline; text-underline-offset: 2px; }

.form-status {
  padding: 0.9rem 1.1rem;
  border-radius: var(--r-sm);
  font-size: 0.875rem;
  border: 1px solid;
  color: #7f1d1d; background: #fef2f2; border-color: #fecaca;
}
.form-status--ok { color: #14532d; background: #f0fdf4; border-color: #bbf7d0; }

/* --------------------------------------------------------------------------
   21. CTA BAND
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  padding: clamp(2.5rem, 6vw, 4.5rem);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background:
    radial-gradient(ellipse 80% 120% at 50% 0%, rgba(34, 211, 238, 0.14), transparent 62%),
    linear-gradient(165deg, #ffffff 0%, #f4f8fd 100%);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  isolation: isolate;
}
.cta-band::before {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(13, 38, 76, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 38, 76, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 70% 100% at 50% 0%, #000, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 70% 100% at 50% 0%, #000, transparent 72%);
}

/* --------------------------------------------------------------------------
   22. PAGE HEADER (inner pages)
   -------------------------------------------------------------------------- */
.page-head {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(3rem, 8vw, 6rem));
  padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
  overflow: hidden;
}
.page-head::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}

.breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem;
  font-family: var(--font-mono); font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.breadcrumb a { transition: color var(--t-fast); }
.breadcrumb a:hover { color: var(--cyan-800); }
.breadcrumb .sep { opacity: 0.5; }
.breadcrumb [aria-current] { color: var(--text-dim); }

/* --------------------------------------------------------------------------
   23. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  z-index: 2;
  margin-top: clamp(3rem, 8vw, 6rem);
  padding-top: clamp(3rem, 6vw, 5rem);
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg-2) 0%, #e8eef7 100%);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr));
  gap: clamp(1.75rem, 3.5vw, 3rem);
}
.footer-brand p { margin-top: 1.25rem; font-size: 0.875rem; color: var(--text-muted); max-width: 34ch; }

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 1.1rem;
}
.footer-col li + li { margin-top: 0.6rem; }
.footer-col a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color var(--t-fast) var(--ease-out), padding-left var(--t-fast) var(--ease-out);
}
.footer-col a:hover { color: var(--cyan-800); padding-left: 4px; }

.footer-contact { margin-top: 1.75rem; display: grid; gap: 0.85rem; }
.footer-contact a, .footer-contact span {
  display: flex; align-items: flex-start; gap: 0.65rem;
  font-size: 0.875rem; color: var(--text-muted);
  transition: color var(--t-fast);
}
.footer-contact a:hover { color: var(--cyan-800); }
.footer-contact svg { color: var(--cyan-700); flex-shrink: 0; margin-top: 3px; }

.socials { display: flex; gap: 0.6rem; margin-top: 1.75rem; }
.social {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  color: var(--text-muted);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: color var(--t-fast), border-color var(--t-fast),
              transform var(--t-fast) var(--ease-out), box-shadow var(--t-fast);
}
.social:hover {
  color: var(--cyan-800);
  border-color: rgba(8, 145, 178, 0.4);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.footer-bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-block: 1.75rem;
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
  color: var(--text-muted);
}
.footer-bar nav { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer-bar a { transition: color var(--t-fast); }
.footer-bar a:hover { color: var(--cyan-800); }

.footer-watermark {
  display: block;
  width: 100%;
  margin-top: 1rem;
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 15vw, 15rem);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 0.78;
  text-align: center;
  background: linear-gradient(180deg, rgba(13, 38, 76, 0.10), rgba(13, 38, 76, 0) 78%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  user-select: none;
  pointer-events: none;
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   24. UTILITIES
   -------------------------------------------------------------------------- */
.stack { display: grid; gap: 1rem; }
.row { display: flex; align-items: center; gap: 0.75rem; }
.row--wrap { flex-wrap: wrap; }
.center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.75rem; }
.mt-4 { margin-top: 2.5rem; }
.mb-0 { margin-bottom: 0; }
.maxw-60 { max-width: 60ch; }

.check-list li {
  position: relative;
  padding-left: 1.85rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
}
.check-list li + li { margin-top: 0.7rem; }
.check-list li::before {
  content: '';
  position: absolute; left: 0; top: 0.42em;
  width: 15px; height: 9px;
  border-left: 2px solid var(--cyan-600);
  border-bottom: 2px solid var(--cyan-600);
  transform: rotate(-45deg);
}

/* --------------------------------------------------------------------------
   23b. WORLD MAP — "Our presence"
   A baked dot-matrix SVG (no tile service, no API key, no runtime request
   beyond the one cached file). Pin coordinates are percentages derived from
   the map's known geographic bounds — see assets/img/world-dots.svg.
   -------------------------------------------------------------------------- */
.worldmap {
  position: relative;
  width: 100%;
  max-width: 1040px;
  margin-inline: auto;
  color: var(--cyan-700);
}
.worldmap > img,
.worldmap > svg {
  width: 100%;
  height: auto;
  display: block;
}

.map-pin {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 13px;
  height: 13px;
  margin: -6.5px 0 0 -6.5px;
  border-radius: 50%;
  background: var(--amber-500);
  border: 2px solid var(--paper);
  box-shadow: 0 2px 8px rgba(180, 83, 9, 0.45);
  z-index: 2;
}

/* Two offset rings so the pulse reads as a repeating radar sweep */
.map-pin::before,
.map-pin::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 2px solid var(--amber-500);
  animation: map-ping 3s var(--ease-out) infinite;
}
.map-pin::after { animation-delay: 1.5s; }

@keyframes map-ping {
  0%   { transform: scale(1);   opacity: 0.75; }
  70%  { opacity: 0; }
  100% { transform: scale(5.5); opacity: 0; }
}

.map-pin b {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: block;
  padding: 0.3rem 0.7rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--ink-900);
  white-space: nowrap;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-sm);
}
/* Flip the label inside the frame for pins near the right edge */
.map-pin--flip b { left: auto; right: 20px; }

/* Ambient nodes — decorative only, never labelled, so the map never implies
   an office or client we have not claimed. */
.map-node {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 6px; height: 6px;
  margin: -3px 0 0 -3px;
  border-radius: 50%;
  background: var(--cyan-600);
  opacity: 0.55;
  animation: node-breathe 4s var(--ease-io) infinite alternate;
  animation-delay: var(--d, 0s);
}
@keyframes node-breathe {
  from { transform: scale(0.7); opacity: 0.3; }
  to   { transform: scale(1.25); opacity: 0.75; }
}

.map-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 2.5rem;
  margin-top: clamp(2rem, 4vw, 3rem);
}
.map-legend div { text-align: center; }
.map-legend .k {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink-900);
  line-height: 1.1;
}
.map-legend .v {
  display: block;
  margin-top: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* Client wordmark strip */
.client-name {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(1.0625rem, 0.95rem + 0.45vw, 1.375rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--text-muted);
  white-space: nowrap;
  transition: color var(--t-fast) var(--ease-out);
}
.client-name:hover { color: var(--ink-900); }
.client-name svg { color: var(--cyan-600); flex-shrink: 0; opacity: 0.8; }

@media (max-width: 720px) {
  .map-pin b { font-size: 0.625rem; padding: 0.25rem 0.5rem; left: 16px; }
}

/* On narrow screens a label sitting to the right of the pin runs flush with
   the map edge. Drop it beneath the pin instead, where it can't overflow. */
@media (max-width: 560px) {
  .map-pin b,
  .map-pin--flip b {
    left: 50%;
    right: auto;
    top: 15px;
    transform: translateX(-50%);
    max-width: 62vw;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* --------------------------------------------------------------------------
   24b. PROSE — long-form content (policy pages, posts, editor output)
   -------------------------------------------------------------------------- */
.prose {
  max-width: 78ch;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--text);
}
.prose > * + * { margin-top: 1.25em; }

.prose h1, .prose h2, .prose h3, .prose h4, .prose h5, .prose h6 {
  color: var(--ink-900);
  margin-top: 2.25em;
  margin-bottom: 0.7em;
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.prose h2 { font-size: clamp(1.5rem, 1.3rem + 0.9vw, 2rem); }
.prose h3 { font-size: clamp(1.2rem, 1.1rem + 0.5vw, 1.5rem); }
.prose h4 { font-size: 1.125rem; }
.prose > :first-child { margin-top: 0; }

.prose strong, .prose b { color: var(--ink-900); font-weight: 600; }

.prose a {
  color: var(--cyan-700);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--t-fast) var(--ease-out);
}
.prose a:hover { color: var(--cyan-800); }

.prose ul, .prose ol { padding-left: 1.5rem; }
.prose ul { list-style: none; padding-left: 0; }
.prose ul li { position: relative; padding-left: 1.6rem; }
.prose ul li::before {
  content: '';
  position: absolute; left: 0.35rem; top: 0.72em;
  width: 6px; height: 6px;
  background: var(--cyan-600);
  border-radius: 50%;
}
.prose ol { list-style: decimal; }
.prose ol li::marker { color: var(--cyan-700); font-family: var(--font-mono); font-size: 0.875em; }
.prose li + li { margin-top: 0.5em; }
.prose li > ul, .prose li > ol { margin-top: 0.5em; }

.prose blockquote {
  padding: 0.25rem 0 0.25rem 1.5rem;
  border-left: 3px solid var(--cyan-500);
  font-size: 1.125rem;
  color: var(--ink-800);
}

.prose code {
  padding: 0.15em 0.45em;
  font-family: var(--font-mono);
  font-size: 0.875em;
  color: var(--cyan-800);
  background: var(--cyan-100);
  border: 1px solid rgba(8, 145, 178, 0.18);
  border-radius: 6px;
}
.prose pre {
  padding: 1.25rem;
  overflow-x: auto;
  background: var(--ink-900);
  border-radius: var(--r-md);
  color: #e6edf7;
}
.prose pre code { padding: 0; background: none; border: 0; color: inherit; }

.prose img, .prose figure img, .media-frame {
  border-radius: var(--r-md);
  border: 1px solid var(--line);
}
.prose figcaption {
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  color: var(--text-dim);
  text-align: center;
}
.prose hr { margin-block: 2.5em; border: 0; border-top: 1px solid var(--line); }

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  display: block;
  overflow-x: auto;
}
.prose th, .prose td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.prose th { color: var(--ink-900); font-family: var(--font-display); font-weight: 600; white-space: nowrap; }

/* Pagination + search */
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.pagination .page-numbers,
.page-links a, .page-links > span {
  display: grid; place-items: center;
  min-width: 42px; height: 42px; padding-inline: 0.75rem;
  font-family: var(--font-mono); font-size: 0.875rem;
  color: var(--text-muted);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: color var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast);
}
.pagination .page-numbers:hover, .page-links a:hover {
  color: var(--cyan-800);
  border-color: rgba(8, 145, 178, 0.4);
  box-shadow: var(--shadow-sm);
}
.pagination .page-numbers.current {
  color: #fff;
  background: var(--grad-brand);
  border-color: transparent;
  font-weight: 600;
}

.search-form { display: flex; gap: 0.6rem; max-width: 460px; margin-inline: auto; }
.search-form input[type='search'] {
  flex: 1;
  padding: 0.85rem 1.05rem;
  color: var(--ink-900);
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
}
.search-form input[type='search']:focus {
  outline: none;
  border-color: var(--cyan-600);
  box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.14);
}

/* --------------------------------------------------------------------------
   25. RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .bento .b-wide { grid-column: span 3; }
  .bento .b-half { grid-column: span 3; }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .nav-links { display: none; }
  .burger { display: grid; }
  .nav-actions .btn--cta { display: none; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-figure { max-width: 460px; }
  .process { grid-template-columns: 1fr; }
  .process-sticky { position: static; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(4, 1fr); }
  .bento > * { grid-column: span 2; }
  .bento .b-wide, .bento .b-full, .bento .b-half { grid-column: span 4; }
}

@media (max-width: 720px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .bento > *, .bento .b-wide, .bento .b-full, .bento .b-half { grid-column: span 1; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-proof { gap: 1.5rem 2rem; }
  .proof-item { flex: 1 1 40%; }
  .scroll-hint { display: none; }
  .cursor-glow { display: none; }
  .btn--block-mobile { width: 100%; }
  .hero-cta .btn { flex: 1 1 100%; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  /* The tagline crowds the burger on narrow phones — the wordmark carries it. */
  .site-header .brand-sub { display: none; }
  .site-header .brand-name { font-size: 1.125rem; }
}

/* --------------------------------------------------------------------------
   26. MOTION PREFERENCES — everything decorative stops
   -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
   MOTION POLICY

   This theme deliberately does NOT honour prefers-reduced-motion.

   That is a client decision, made knowingly: the brief is an animation-led
   site and the animations are considered core to it. The trade-off is that
   visitors who ask their OS to reduce motion — typically for vestibular
   sensitivity — still get the full canvas, marquee and parallax.

   To restore the standard behaviour, wrap the decorative rules in
   `@media (prefers-reduced-motion: reduce)` overrides again and set
   `reduced` back to the matchMedia result in assets/js/main.js.
   -------------------------------------------------------------------------- */


/* Print */
@media print {
  .site-header, .drawer, .atmosphere, .grain, .cursor-glow,
  .scroll-progress, .scroll-hint, #constellation { display: none !important; }
  body { background: #fff; color: #000; }
  .card, .work-card { border: 1px solid #ccc; box-shadow: none; break-inside: avoid; }
}
