/* ==========================================================================
   API Capacitors — "Quietly critical" homepage
   Design tokens first, then base, components and sections in page order.
   ========================================================================== */

/* ---------- Fonts (self-hosted Geist + Geist Mono, latin + latin-ext) ---------- */
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/case-studies/concepts/_assets/9b6f5ff45b278c744b5f379a.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/case-studies/concepts/_assets/58a6b173d5ca1dec92166ea3.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/case-studies/concepts/_assets/5f3d6ad60f29d6cb708414ec.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/case-studies/concepts/_assets/745994b5cd950ec201b66526.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */
:root {
  /* Night scale: built down from the logo's navy disc */
  --abyss: #040b18;
  --night: #071327;
  --deep: #0a1b36;
  --navy-800: #0d2346;
  --navy-700: #12305c;
  --api-navy: #023c7c;          /* logo disc */

  /* Arc: the one accent. An electrified evolution of the old site's sky blue (#5EA8E5). */
  --arc: #3db7ff;
  --arc-hover: #74cdff;
  --arc-deep: #0a6bc9;          /* arc for text on light surfaces (5.3:1 on white) */
  --arc-soft: rgba(61, 183, 255, 0.14);
  --arc-glow: rgba(61, 183, 255, 0.45);

  /* Neutrals: steel tints from the emblem's silver ring */
  --white: #ffffff;
  --paper: #f3f5f8;
  --mist: #e8edf3;
  --rule: #dce3ec;
  --silver: #c7d0dc;
  --steel: #8796ab;
  --slate: #3b4a60;
  --ink: #0a1424;

  /* Material colours, used only inside technical illustrations */
  --copper: #c46a2b;

  --font-sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --container: 1280px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(80px, 10vw, 136px);
  --radius-s: 8px;
  --radius: 14px;
  --radius-l: 22px;
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

/* Section themes: components read these variables, so they work on either surface. */
.theme-dark {
  --bg: var(--night);
  --fg: #ffffff;
  --fg-2: #b8c4d6;
  --fg-3: #8796ab;
  --line: rgba(166, 190, 224, 0.14);
  --line-strong: rgba(190, 210, 238, 0.32);
  --surface: var(--deep);
  --surface-2: var(--navy-800);
  --accent: var(--arc);
  --btn-bg: var(--arc);
  --btn-fg: var(--night);
  --btn-hover: var(--arc-hover);
  --focus: var(--arc);
  background-color: var(--bg);
  color: var(--fg-2);
  color-scheme: dark;
}
.theme-light {
  --bg: #ffffff;
  --fg: var(--ink);
  --fg-2: #3b4a60;
  --fg-3: #5b6b82;
  --line: #dce3ec;
  --line-strong: #b9c5d4;
  --surface: var(--paper);
  --surface-2: #ffffff;
  --accent: var(--arc-deep);
  --btn-bg: var(--night);
  --btn-fg: #ffffff;
  --btn-hover: var(--api-navy);
  --focus: var(--arc-deep);
  background-color: var(--bg);
  color: var(--fg-2);
  color-scheme: light;
}
.theme-light.is-paper { --bg: var(--paper); --surface: #ffffff; --surface-2: var(--paper); }
.theme-dark.is-abyss { --bg: var(--abyss); }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  background: var(--night);
}
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 400;
  color: var(--fg-2);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; color: var(--fg); font-weight: 600; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
dl, dd { margin: 0; }
:focus-visible { outline: 2px solid var(--focus, var(--arc)); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--arc); color: var(--night); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: var(--section-y); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 200;
  background: var(--arc); color: var(--night); padding: 12px 18px; border-radius: 8px;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon--fill { fill: currentColor; stroke: none; }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; line-height: 1.3;
  color: var(--accent);
  margin-bottom: 20px;
}
.eyebrow .glyph { width: 18px; height: 18px; flex: none; }
.h-display {
  font-size: clamp(2.55rem, 1.4rem + 3.3vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 620;
}
.h-section {
  font-size: clamp(2.05rem, 1.35rem + 2.5vw, 3.6rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
  font-weight: 600;
}
.h-card { font-size: 1.32rem; line-height: 1.2; letter-spacing: -0.02em; font-weight: 600; }
.lead { font-size: clamp(1.08rem, 1rem + 0.35vw, 1.28rem); line-height: 1.55; color: var(--fg-2); max-width: 62ch; }
.mono { font-family: var(--font-mono); }
.accent { color: var(--accent); }
.section-head { max-width: 860px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head .lead { margin-top: 22px; }
.section-head--split {
  max-width: none; display: grid; gap: 24px 64px;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: end;
}
.section-head--split .lead { margin-top: 0; }
.lead--spaced { margin-top: 22px; }
.eyebrow--flush { margin: 0; }
.h-sub { font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.6rem); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- Buttons & links ---------- */
.btn {
  --h: 54px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 24px; border-radius: 10px; border: 1px solid transparent;
  font-size: 1rem; font-weight: 600; letter-spacing: -0.005em; line-height: 1.1;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), box-shadow .25s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .icon-arrow { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--btn-bg); color: var(--btn-fg); }
.btn--primary:hover { background: var(--btn-hover); }
.theme-dark .btn--primary:hover { box-shadow: 0 10px 34px -10px var(--arc-glow); }
.btn--ghost { background: transparent; color: var(--fg); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--fg); }
.btn--sm { --h: 42px; padding: 0 16px; font-size: 0.94rem; border-radius: 9px; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--fg); font-weight: 600; text-decoration: none;
  border-bottom: 1px solid var(--line-strong); padding-bottom: 3px;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.link-arrow .icon { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.link-arrow:hover { border-color: var(--accent); }
.link-arrow:hover .icon { transform: translateX(3px); }
.text-link { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.text-link:hover { text-decoration-thickness: 2px; }

.chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; }
.chips li {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.04em; line-height: 1;
  padding: 7px 9px; border-radius: 6px; border: 1px solid var(--line); color: var(--fg-2);
  background: color-mix(in srgb, var(--surface) 60%, transparent);
}

/* ---------- Event bar ---------- */
.event-bar {
  position: relative; z-index: 60; background: var(--abyss); color: #c8d3e3;
  font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.06em;
  border-bottom: 1px solid rgba(166, 190, 224, 0.12);
}
.event-bar__inner { display: flex; align-items: center; justify-content: center; gap: 10px 18px; min-height: 42px; padding-block: 8px; flex-wrap: wrap; text-align: center; }
.event-bar strong { color: #fff; font-weight: 500; }
.event-bar .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--arc); box-shadow: 0 0 0 4px rgba(61,183,255,.18); flex: none; animation: pulse 2.4s ease-in-out infinite; }
.event-bar a { color: var(--arc); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; text-transform: uppercase; }
.event-bar a:hover { color: var(--arc-hover); }
.event-bar a .icon { width: 14px; height: 14px; }
.event-bar .sep { opacity: .35; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(61,183,255,0); } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background-color: rgba(7, 19, 39, 0);
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease), backdrop-filter .3s;
}
.site-header.is-scrolled {
  background: rgba(7, 19, 39, 0.86);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  box-shadow: 0 1px 0 rgba(166, 190, 224, 0.12);
}
.site-header__inner { height: 100%; display: flex; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 31px; width: auto; }
.nav { margin-left: auto; }
.nav__list { display: flex; gap: 4px; list-style: none; }
.nav__list a {
  display: inline-flex; align-items: center; height: 40px; padding: 0 12px; border-radius: 8px;
  color: #c3cede; text-decoration: none; font-size: 0.95rem; font-weight: 500; letter-spacing: -0.005em; white-space: nowrap;
  transition: color .2s, background-color .2s;
}
.nav__list a:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.header-actions { display: flex; align-items: center; gap: 18px; }
.header-phone {
  display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none;
  font-family: var(--font-mono); font-size: 0.86rem; letter-spacing: 0.02em; white-space: nowrap;
}
.header-phone .icon { width: 16px; height: 16px; color: var(--arc); }
.header-phone:hover { color: var(--arc); }
.menu-toggle {
  display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid rgba(190, 210, 238, 0.28);
  background: transparent; color: #fff; align-items: center; justify-content: center;
}
.menu-toggle .icon { width: 22px; height: 22px; }
.menu-toggle .icon-close { display: none; }
.menu-open .menu-toggle .icon-menu { display: none; }
.menu-open .menu-toggle .icon-close { display: block; }

.mobile-menu {
  position: fixed; inset: 0; z-index: 45; padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
  background: var(--night); display: flex; flex-direction: column; gap: 28px;
  overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
}
.menu-open .mobile-menu { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.mobile-menu ul { list-style: none; display: grid; gap: 2px; }
.mobile-menu ul a {
  display: flex; justify-content: space-between; align-items: center; padding: 14px 0;
  font-size: 1.6rem; font-weight: 600; letter-spacing: -0.03em; color: #fff; text-decoration: none;
  border-bottom: 1px solid rgba(166, 190, 224, 0.14);
}
.mobile-menu ul a .icon { color: var(--arc); }
.mobile-menu__foot { display: grid; gap: 12px; margin-top: auto; }
.mobile-menu__foot p { font-family: var(--font-mono); font-size: .8rem; color: var(--steel); letter-spacing: .04em; }
.menu-open { overflow: hidden; }
.menu-open .site-header { background: var(--night); box-shadow: 0 1px 0 rgba(166, 190, 224, 0.12); }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  margin-top: calc(var(--header-h) * -1);
  padding-top: calc(var(--header-h) + clamp(36px, 6vw, 84px));
  background:
    radial-gradient(52% 60% at 78% 18%, rgba(61, 183, 255, 0.16), transparent 72%),
    radial-gradient(40% 50% at 8% 90%, rgba(2, 60, 124, 0.45), transparent 70%),
    var(--night);
}
.graticule { position: relative; isolation: isolate; }
.graticule::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(130, 175, 235, 0.10) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(130, 175, 235, 0.10) 1px, transparent 1px),
    linear-gradient(to right, rgba(130, 175, 235, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(130, 175, 235, 0.035) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(90% 75% at 62% 38%, #000 25%, transparent 88%);
          mask-image: radial-gradient(90% 75% at 62% 38%, #000 25%, transparent 88%);
}
.hero__grid {
  display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(0, 0.78fr);
  gap: clamp(32px, 5vw, 80px); align-items: center;
}
.hero__copy { max-width: 720px; }
.hero__title { margin-bottom: 26px; }
.hero__title .accent { color: var(--arc); }
.hero__lead { max-width: 58ch; font-size: clamp(1.08rem, 1rem + 0.4vw, 1.3rem); }
.hero__lead strong { color: #fff; font-weight: 500; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__assure {
  display: flex; align-items: center; gap: 10px; margin-top: 22px;
  font-size: 0.95rem; color: var(--fg-3);
}
.hero__assure .icon { color: var(--arc); width: 18px; height: 18px; }

.hero__media { position: relative; }
.hero__frame {
  position: relative; border-radius: var(--radius-l); overflow: hidden;
  aspect-ratio: 4 / 5; background: var(--deep);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(166, 190, 224, 0.14);
}
.hero__frame img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.92) contrast(1.04); }
.hero__frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(7, 19, 39, 0) 55%, rgba(7, 19, 39, 0.72) 100%);
}
.hero__tag {
  position: absolute; left: 18px; right: 18px; bottom: 18px; z-index: 2;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 12px;
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: #dfe7f2;
}
.hero__tag b { display: block; color: #fff; font-weight: 500; }
.hero__tag span { color: var(--arc); }
.hero__chip {
  position: absolute; z-index: 3; top: 22px; left: -28px;
  display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px;
  background: rgba(10, 27, 54, 0.82); border: 1px solid rgba(166, 190, 224, 0.2); border-radius: 12px;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.6);
}
.hero__chip svg { width: 40px; height: 40px; flex: none; }
.hero__chip p { font-size: 0.86rem; line-height: 1.3; color: #fff; font-weight: 500; }
.hero__chip small { display: block; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--steel); font-weight: 400; margin-top: 3px; }

/* Charge-curve trace across the foot of the hero */
.trace { position: relative; margin-top: clamp(36px, 5vw, 64px); }
.trace svg { width: 100%; height: auto; overflow: visible; }
.trace__axis { stroke: rgba(166, 190, 224, 0.22); stroke-width: 1; vector-effect: non-scaling-stroke; }
.trace__ghost { fill: none; stroke: rgba(61, 183, 255, 0.22); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.trace__fill { fill: url(#traceFill); opacity: .9; }
.trace__line { fill: none; stroke: var(--arc); stroke-width: 2.2; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 6px rgba(61, 183, 255, 0.75)); }
.trace__tau line { stroke: rgba(166, 190, 224, 0.28); stroke-width: 1; stroke-dasharray: 3 4; vector-effect: non-scaling-stroke; }
.trace__tau text { font-family: var(--font-mono); font-size: 13px; fill: var(--steel); letter-spacing: .06em; }
.trace__tau .t0 { fill: var(--arc); }
.trace__head { fill: #fff; filter: drop-shadow(0 0 8px var(--arc)) drop-shadow(0 0 2px var(--arc)); }
.js .trace__line { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.6s var(--ease) .35s forwards; }
.js .trace__fill, .js .trace__head { opacity: 0; animation: fade-in 1s ease 2.2s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade-in { to { opacity: 1; } }

/* Readouts (stats) */
.readouts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.readout { padding: 26px 24px 30px 0; }
.readout + .readout { padding-left: 24px; border-left: 1px solid var(--line); }
.readout__value {
  display: block; font-size: clamp(2rem, 1.4rem + 1.6vw, 2.9rem); line-height: 1; font-weight: 600;
  letter-spacing: -0.04em; color: var(--fg); font-variant-numeric: tabular-nums;
}
.readout__value .u { color: var(--accent); }
.readout__label { display: block; margin-top: 10px; font-size: 0.93rem; line-height: 1.4; color: var(--fg-3); max-width: 24ch; }

/* Proof rail: named programmes */
.proof-rail { border-top: 1px solid var(--line); display: flex; align-items: center; gap: 28px; padding-block: 22px; }
.proof-rail__label { flex: none; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-3); }
.marquee { position: relative; overflow: hidden; flex: 1; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee ul { display: flex; list-style: none; flex: none; }
.marquee li {
  display: inline-flex; align-items: center; gap: 22px; padding-right: 22px; white-space: nowrap;
  font-family: var(--font-mono); font-size: 0.86rem; letter-spacing: 0.08em; text-transform: uppercase; color: #dbe4f0;
}
.marquee li::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--arc); opacity: .8; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Router ---------- */
.router { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.route {
  position: relative; display: flex; flex-direction: column; gap: 16px;
  padding: 30px 28px 28px; border-radius: var(--radius-l); background: var(--surface-2);
  border: 1px solid var(--line); text-decoration: none; color: inherit; overflow: hidden;
  transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.route:hover { border-color: var(--line-strong); transform: translateY(-3px); box-shadow: 0 24px 48px -28px rgba(10, 20, 36, 0.35); }
.route__top { display: flex; justify-content: space-between; align-items: center; }
.route__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--night); color: var(--arc);
}
.route__icon .icon { width: 26px; height: 26px; }
.route__num { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: .12em; color: var(--fg-3); }
.route__tag { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-top: 8px; }
.route h3 { font-size: 1.5rem; line-height: 1.15; letter-spacing: -0.025em; }
.route p { color: var(--fg-2); }
.route .link-arrow { margin-top: auto; align-self: flex-start; }
.route__go { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--fg); padding-top: 8px; }
.route__go .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.route:hover .route__go .icon { transform: translateX(4px); }
.route--featured { background: var(--night); border-color: transparent; color: var(--fg-2); }
.route--featured h3, .route--featured .route__go { color: #fff; }
.route--featured p { color: #b8c4d6; }
.route--featured .route__icon { background: var(--arc); color: var(--night); }
.route--featured .route__tag { color: var(--arc); }
.route--featured .route__num { color: #8796ab; }
.route--featured::after {
  content: ""; position: absolute; right: -40px; bottom: -40px; width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(61,183,255,.28), transparent 70%); pointer-events: none;
}

/* ---------- Ranges (products) ---------- */
.ranges { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.product {
  position: relative; display: flex; flex-direction: column; border-radius: var(--radius-l); overflow: hidden;
  background: linear-gradient(180deg, var(--navy-800) 0%, var(--deep) 100%);
  border: 1px solid var(--line);
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.product:hover { border-color: rgba(61, 183, 255, 0.45); transform: translateY(-3px); }
.product__media {
  position: relative; height: 230px; display: grid; place-items: center; padding: 28px;
  background: radial-gradient(60% 70% at 50% 62%, rgba(61, 183, 255, 0.22), transparent 70%);
  border-bottom: 1px solid var(--line);
}
.product__media::before {
  content: ""; position: absolute; inset: 0; opacity: .55; pointer-events: none;
  background-image: linear-gradient(to right, rgba(130,175,235,.08) 1px, transparent 1px), linear-gradient(to bottom, rgba(130,175,235,.08) 1px, transparent 1px);
  background-size: 24px 24px; background-position: center;
  -webkit-mask-image: radial-gradient(70% 70% at 50% 55%, #000, transparent 75%); mask-image: radial-gradient(70% 70% at 50% 55%, #000, transparent 75%);
}
.product__media img { position: relative; max-height: 172px; width: auto; filter: drop-shadow(0 24px 22px rgba(0, 0, 0, 0.5)); transition: transform .5s var(--ease); }
.product:hover .product__media img { transform: translateY(-4px) scale(1.03); }
.product__index { position: absolute; top: 16px; left: 18px; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; color: var(--fg-3); }
.product__series { position: absolute; top: 14px; right: 14px; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .08em; color: var(--arc); border: 1px solid rgba(61,183,255,.35); border-radius: 5px; padding: 4px 7px; }
.product__body { display: flex; flex-direction: column; gap: 14px; padding: 24px 24px 22px; flex: 1; }
.product__body > p { font-size: 0.98rem; line-height: 1.55; }
.spec { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; padding: 14px 0 2px; border-top: 1px dashed var(--line); font-family: var(--font-mono); font-size: 0.76rem; line-height: 1.4; }
.spec dt { color: var(--fg-3); letter-spacing: .04em; }
.spec dd { color: #e4ebf5; }
.product__links { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.product__links a { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; font-size: 0.92rem; font-weight: 600; color: #fff; }
.product__links a .icon { width: 16px; height: 16px; color: var(--arc); transition: transform .25s var(--ease); }
.product__links a:hover { color: var(--arc); }
.product__links a.enquire:hover .icon { transform: translateX(3px); }
.product__links .pdf { font-weight: 500; color: var(--fg-2); }
.product__links .pdf small { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .06em; color: var(--fg-3); border: 1px solid var(--line); padding: 2px 5px; border-radius: 4px; }

.ranges-foot {
  margin-top: 22px; display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap;
  padding: 26px 28px; border-radius: var(--radius-l); border: 1px dashed var(--line-strong);
}
.ranges-foot p { font-size: 1.1rem; color: #fff; font-weight: 500; letter-spacing: -0.01em; }
.ranges-foot p span { display: block; font-size: 0.95rem; color: var(--fg-3); font-weight: 400; margin-top: 4px; letter-spacing: 0; }

/* ---------- Proof (bento) ---------- */
.manifesto { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.manifesto .h-section { font-size: clamp(2.6rem, 1.5rem + 4vw, 5.2rem); letter-spacing: -0.05em; line-height: .98; }
.manifesto .lead { font-size: clamp(1.1rem, 1rem + 0.5vw, 1.38rem); color: var(--fg-2); max-width: 54ch; }
.manifesto .lead em { font-style: normal; color: var(--fg); font-weight: 500; }
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; }
.case {
  position: relative; display: flex; flex-direction: column; gap: 12px; overflow: hidden;
  padding: 28px; border-radius: var(--radius-l); background: var(--surface); border: 1px solid var(--line);
}
.case__label { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.case h3 { font-size: 1.42rem; line-height: 1.15; letter-spacing: -0.025em; }
.case p { font-size: 0.99rem; }
.case--navy { grid-column: span 7; background: var(--night); border-color: transparent; color: #b8c4d6; padding: clamp(28px, 4vw, 48px); min-height: 520px; isolation: isolate; }
.case--navy .case__label { color: var(--arc); }
.case--navy h3 { color: #fff; font-size: clamp(1.8rem, 1.2rem + 1.8vw, 2.7rem); letter-spacing: -0.04em; line-height: 1.04; max-width: 15ch; margin-top: 6px; }
.case--navy > p { color: #c3cede; font-size: 1.06rem; max-width: 48ch; }
.case--navy .chips li { color: #dbe4f0; border-color: rgba(166, 190, 224, 0.22); background: rgba(13, 35, 70, .6); }
.case--navy .case__foot { margin-top: auto; display: flex; gap: 14px; align-items: flex-start; padding-top: 22px; border-top: 1px solid rgba(166, 190, 224, 0.16); font-size: 0.93rem; color: #9fb0c6; }
.case--navy .case__foot svg { width: 22px; height: 22px; color: var(--arc); flex: none; margin-top: 1px; }
.case--navy .case__curve { position: absolute; right: 0; top: 0; width: 52%; z-index: -1; opacity: .85; pointer-events: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%); mask-image: linear-gradient(90deg, transparent, #000 30%); }
.case--navy::before {
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background-image: linear-gradient(to right, rgba(130,175,235,.07) 1px, transparent 1px), linear-gradient(to bottom, rgba(130,175,235,.07) 1px, transparent 1px);
  background-size: 48px 48px; -webkit-mask-image: linear-gradient(200deg, #000 20%, transparent 75%); mask-image: linear-gradient(200deg, #000 20%, transparent 75%);
}
.case--photo { grid-column: span 5; padding: 0; background: var(--surface); }
.case--photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.case--photo .case__body { padding: 24px 28px 28px; display: flex; flex-direction: column; gap: 10px; }
.case--third { grid-column: span 4; }
.case__stat { display: flex; align-items: baseline; gap: 10px; margin-bottom: 4px; }
.case__stat b { font-size: 2.2rem; font-weight: 600; letter-spacing: -0.04em; color: var(--fg); line-height: 1; }
.case__stat span { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-3); }

/* ---------- Obsolete parts ---------- */
.obsolete { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr); gap: clamp(36px, 5vw, 80px); align-items: start; }
.obsolete__brands { margin-top: 32px; }
.obsolete__brands p { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 14px; }
.brand-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; list-style: none; }
.brand-grid li { background: var(--night); padding: 18px 16px; font-size: 1.05rem; font-weight: 600; color: #fff; letter-spacing: -0.01em; display: flex; justify-content: space-between; align-items: center; }
.brand-grid li small { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .1em; color: var(--steel); font-weight: 400; }
.obsolete__facts { margin-top: 32px; display: grid; gap: 0; list-style: none; border-top: 1px solid var(--line); }
.obsolete__facts li { display: grid; grid-template-columns: 170px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.obsolete__facts b { color: #fff; font-weight: 600; font-size: 1.05rem; letter-spacing: -0.01em; }
.obsolete__facts span { font-size: 0.97rem; }

.lookup {
  position: relative; border-radius: var(--radius-l); padding: clamp(24px, 3vw, 36px);
  background: linear-gradient(180deg, var(--navy-800), var(--deep)); border: 1px solid rgba(61, 183, 255, 0.3);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.7), 0 0 0 6px rgba(61, 183, 255, 0.05);
}
.lookup h3 { font-size: 1.5rem; letter-spacing: -0.025em; }
.lookup > p { margin-top: 8px; font-size: 0.98rem; }
.lookup form { margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lookup .field--full { grid-column: 1 / -1; }
.lookup__note { grid-column: 1 / -1; font-size: 0.86rem; color: var(--fg-3); }
.lookup__note a { color: var(--arc); }
.obsolete__figure { margin: 22px 0 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--deep); }
.obsolete__figure img { width: 100%; aspect-ratio: 2.2 / 1; object-fit: cover; }
.obsolete__figure figcaption { padding: 12px 16px; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .06em; color: var(--fg-3); }

/* ---------- Form fields (shared) ---------- */
.field { display: grid; gap: 7px; }
.field label, .field .label { font-size: 0.88rem; font-weight: 500; color: var(--fg); }
.field .opt { color: var(--fg-3); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 10px;
  border: 1px solid var(--line-strong); background: var(--field-bg, transparent); color: var(--fg);
  font-size: 1rem; line-height: 1.4; transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.theme-dark .field input, .theme-dark .field select, .theme-dark .field textarea { --field-bg: rgba(4, 11, 24, 0.55); }
.theme-dark .form-card .field input, .theme-dark .form-card .field select, .theme-dark .form-card .field textarea { --field-bg: #fff; }
.field textarea { min-height: 128px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--fg-3); opacity: 1; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--fg-3); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 20%, transparent); }
.field.is-invalid input, .field.is-invalid textarea, .field.is-invalid select { border-color: #e5484d; }
.field__error { display: none; font-size: 0.84rem; color: #c0262d; }
.theme-dark .field__error { color: #ff8589; }
.field.is-invalid .field__error { display: block; }
.form-status { display: none; padding: 14px 16px; border-radius: 10px; font-size: .95rem; }
.form-status.is-error { display: block; background: rgba(229, 72, 77, 0.1); color: #b42318; border: 1px solid rgba(229, 72, 77, 0.3); }
.theme-dark .form-status.is-error { color: #ffb4b6; }
.theme-dark .form-card .field__error { color: #c0262d; }
.theme-dark .form-card .form-status.is-error { color: #b42318; }
.theme-dark .form-card .field.is-invalid input, .theme-dark .form-card .field.is-invalid textarea { border-color: #d92d33; }

/* ---------- Anatomy ---------- */
.anatomy { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.anatomy__figure { position: relative; margin: 0; padding: clamp(16px, 2.5vw, 32px); border-radius: var(--radius-l); background: #fff; border: 1px solid var(--line); }
.anatomy__figure svg { width: 100%; height: auto; }
.anatomy__figure figcaption { margin-top: 10px; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; color: var(--fg-3); text-transform: uppercase; display: flex; justify-content: space-between; gap: 12px; }
.parts { list-style: none; display: grid; gap: 4px; counter-reset: part; }
.part {
  display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 14px 16px; border-radius: 12px;
  border: 1px solid transparent; cursor: default; transition: background-color .2s, border-color .2s;
}
.part:hover, .part.is-active, .part:focus-visible { background: #fff; border-color: var(--line); }
.part__n {
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-mono); font-size: .76rem; font-weight: 500; color: #fff; background: var(--night);
  transition: background-color .2s;
}
.part.is-active .part__n, .part:hover .part__n { background: var(--arc-deep); }
.part h3 { font-size: 1.04rem; letter-spacing: -0.01em; margin-top: 4px; }
.part p { font-size: 0.94rem; margin-top: 4px; line-height: 1.5; }
.std-strip { margin-top: clamp(40px, 5vw, 56px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.std { padding: 20px 22px; }
.std + .std { border-left: 1px solid var(--line); }
.std b { display: block; font-size: 1.15rem; font-weight: 600; color: var(--fg); letter-spacing: -0.015em; }
.std span { display: block; margin-top: 4px; font-size: 0.88rem; color: var(--fg-3); line-height: 1.4; }

/* SVG drawing styles */
.dwg { font-family: var(--font-mono); }
.dwg .ln { fill: none; stroke: var(--ink); stroke-width: 1.6; }
.dwg .ln-thin { fill: none; stroke: #8796ab; stroke-width: 1; }
.dwg .hatch { fill: url(#hatch); }
.dwg .fillmed { fill: #eaf4fd; }
.dwg .layer-film { stroke: #a9bdd4; stroke-width: 2; }
.dwg .layer-metal { stroke: #4b5a70; stroke-width: 1; }
.dwg .spray { fill: url(#stipple); stroke: var(--ink); stroke-width: 1.2; }
.dwg .copper { fill: none; stroke: var(--copper); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.dwg .term { fill: #d6dde6; stroke: var(--ink); stroke-width: 1.4; }
.dwg .bush { fill: #fff; stroke: var(--ink); stroke-width: 1.4; }
.dwg .callout line, .dwg .callout path { stroke: var(--ink); stroke-width: 1; fill: none; transition: stroke .2s; }
.dwg .callout circle { fill: var(--night); transition: fill .2s, r .2s; }
.dwg .callout text { fill: #fff; font-size: 11px; font-weight: 500; text-anchor: middle; dominant-baseline: central; }
.dwg .callout.is-active line, .dwg .callout.is-active path { stroke: var(--arc-deep); stroke-width: 1.6; }
.dwg .callout.is-active circle { fill: var(--arc-deep); }
.dwg .zone { fill: var(--arc-deep); opacity: 0; transition: opacity .25s; }
.dwg .zone.is-active { opacity: .12; }
.dwg .label { font-size: 11px; fill: #5b6b82; letter-spacing: .08em; }
.dwg .label--sm { font-size: 8.5px; }
.dwg .zoom-ring { fill: none; stroke: var(--ink); stroke-width: 1.4; }
.dwg .heal { fill: #fff; }
.dwg .spark { fill: var(--arc-deep); }
.js .dwg .spark-pulse { transform-origin: center; transform-box: fill-box; animation: spark 3.2s ease-in-out infinite; }
@keyframes spark { 0%, 70%, 100% { opacity: 0; transform: scale(.4); } 76% { opacity: 1; transform: scale(1.15); } 86% { opacity: 0; transform: scale(1.6); } }

/* ---------- Industries ---------- */
.industries { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-l); overflow: hidden; }
.industry { position: relative; background: var(--night); padding: 30px 26px 32px; display: flex; flex-direction: column; gap: 12px; min-height: 260px; transition: background-color .3s var(--ease); }
.industry:hover { background: var(--deep); }
.industry .icon { width: 30px; height: 30px; color: var(--arc); stroke-width: 1.4; margin-bottom: 14px; }
.industry h3 { font-size: 1.16rem; letter-spacing: -0.015em; }
.industry p { font-size: 0.94rem; line-height: 1.55; }
.industry__proof { margin-top: auto; padding-top: 10px; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--arc); }
.industries-foot { margin-top: 26px; display: flex; gap: 16px 28px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.industries-foot p { color: #fff; font-size: 1.08rem; }

/* ---------- Process (charge curve) ---------- */
.process { position: relative; margin-top: 8px; }
.process__curve { width: 100%; height: auto; overflow: visible; }
.process__curve .base { stroke: var(--rule); stroke-width: 1; vector-effect: non-scaling-stroke; }
.process__curve .grid line { stroke: var(--mist); stroke-width: 1; vector-effect: non-scaling-stroke; }
.process__curve .curve { fill: none; stroke: var(--arc-deep); stroke-width: 2.4; vector-effect: non-scaling-stroke; }
.process__curve .area { fill: url(#procFill); }
.process__curve .node circle.ring { fill: #fff; stroke: var(--arc-deep); stroke-width: 2; vector-effect: non-scaling-stroke; }
.process__curve .node circle.core { fill: var(--arc-deep); }
.process__curve .node:last-child circle.ring { fill: var(--arc-deep); }
.process__curve .node:last-child circle.core { fill: #fff; }
.process__curve .drop { stroke: var(--rule); stroke-width: 1; stroke-dasharray: 2 4; vector-effect: non-scaling-stroke; }
.js .process__curve .curve { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .process.is-in .process__curve .curve { animation: draw 2.2s var(--ease) forwards; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.step { padding-top: 14px; border-top: 2px solid var(--fg); }
.step__n { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; color: var(--accent); }
.step h3 { font-size: 1.02rem; letter-spacing: -0.01em; margin-top: 8px; line-height: 1.25; }
.step p { font-size: 0.89rem; line-height: 1.5; margin-top: 6px; color: var(--fg-3); }
.step:last-child { border-top-color: var(--arc-deep); }

.capabilities { margin-top: clamp(56px, 7vw, 96px); display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(28px, 4vw, 56px); align-items: stretch; }
.caps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-l); overflow: hidden; list-style: none; }
.cap { background: #fff; padding: 26px 24px; display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-content: start; }
.cap .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--paper); color: var(--arc-deep); }
.cap .ico .icon { width: 22px; height: 22px; }
.cap h3 { font-size: 1.06rem; letter-spacing: -0.01em; margin-top: 2px; }
.cap p { font-size: 0.93rem; line-height: 1.5; margin-top: 4px; }
.cap-visual { display: grid; grid-template-rows: minmax(260px, 1fr) auto; gap: 14px; }
.cap-visual figure { margin: 0; position: relative; border-radius: var(--radius-l); overflow: hidden; background: #4b535f; }
.cap-visual > figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.cap-visual .duo { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cap-visual .duo figure { background: #eceef1; aspect-ratio: 4 / 3; }
.cap-visual .duo img { width: 100%; height: 100%; object-fit: contain; padding: 10px 10px 34px; }
.cap-visual figcaption { position: absolute; left: 12px; bottom: 12px; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; background: rgba(7, 19, 39, .82); color: #fff; padding: 6px 9px; border-radius: 6px; }

/* ---------- About / facility / heritage ---------- */
.about { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(36px, 5vw, 80px); align-items: center; }
.ticks { list-style: none; display: grid; gap: 0; margin-top: 32px; border-top: 1px solid var(--line); }
.ticks li { display: flex; gap: 14px; align-items: flex-start; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 1rem; color: #dbe4f0; }
.ticks .icon { width: 18px; height: 18px; color: var(--arc); margin-top: 3px; }
.ticks b { color: #fff; font-weight: 600; }
.about__media { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: auto auto; gap: 14px; }
.about__media figure { margin: 0; position: relative; border-radius: var(--radius-l); overflow: hidden; border: 1px solid var(--line); }
.about__media img { width: 100%; height: 100%; object-fit: cover; }
.about__media .m1 { grid-column: 1 / -1; aspect-ratio: 3 / 2; }
.about__media .m2 { grid-column: 2 / -1; aspect-ratio: 21 / 9; margin-top: -72px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); }
.about__media figcaption { position: absolute; left: 12px; bottom: 12px; z-index: 1; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: rgba(7, 19, 39, .82); padding: 6px 9px; border-radius: 6px; }
.about__media figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(4, 11, 24, .7)); pointer-events: none; }

.timeline { margin-top: clamp(64px, 8vw, 104px); }
.timeline__head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 36px; flex-wrap: wrap; }
.timeline__head h3 { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem); letter-spacing: -0.035em; line-height: 1.1; max-width: 22ch; }
.timeline ol { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; position: relative; }
.timeline ol::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: linear-gradient(90deg, rgba(166,190,224,.3), var(--arc)); }
.timeline li { position: relative; padding-top: 34px; }
.timeline li::before { content: ""; position: absolute; top: 0; left: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--night); border: 2px solid var(--arc); }
.timeline li:last-child::before { background: var(--arc); box-shadow: 0 0 0 6px rgba(61,183,255,.18); }
.timeline time { display: block; font-family: var(--font-mono); font-size: .9rem; letter-spacing: .06em; color: var(--arc); }
.timeline h4 { font-size: 1.06rem; margin-top: 8px; letter-spacing: -0.01em; line-height: 1.25; }
.timeline p { font-size: .92rem; line-height: 1.5; margin-top: 6px; }

.group { margin-top: clamp(64px, 8vw, 104px); display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); border-radius: var(--radius-l); overflow: hidden; border: 1px solid var(--line); background: var(--deep); }
.group figure { margin: 0; min-height: 300px; }
.group img { width: 100%; height: 100%; object-fit: cover; }
.group__body { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; gap: 16px; }
.group__body h3 { font-size: clamp(1.5rem, 1.2rem + .9vw, 2rem); letter-spacing: -0.03em; }
.group__cos { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 6px; }
.group__cos li { padding: 14px 16px; border-radius: 10px; border: 1px solid var(--line); font-weight: 600; color: #fff; font-size: .98rem; display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.group__cos li.is-us { border-color: rgba(61,183,255,.5); background: rgba(61,183,255,.08); }
.group__cos li small { font-family: var(--font-mono); font-weight: 400; font-size: .66rem; letter-spacing: .1em; color: var(--arc); text-transform: uppercase; }

/* ---------- Event + insights ---------- */
.event {
  position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius-l);
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: 32px; align-items: center;
  padding: clamp(28px, 4.5vw, 56px); color: #b8c4d6;
  background: radial-gradient(60% 90% at 90% 10%, rgba(61,183,255,.22), transparent 60%), var(--night);
}
.event h2 { color: #fff; }
.event__meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 18px; font-family: var(--font-mono); font-size: .82rem; letter-spacing: .06em; color: #dbe4f0; }
.event__meta span { display: inline-flex; gap: 8px; align-items: center; }
.event__meta .icon { width: 16px; height: 16px; color: var(--arc); }
.event > div > p { margin-top: 16px; max-width: 54ch; font-size: 1.04rem; }
.event .btn { margin-top: 26px; }
.countdown { justify-self: end; text-align: right; }
.countdown b { display: block; font-size: clamp(4.2rem, 3rem + 4vw, 7.2rem); line-height: .9; font-weight: 600; letter-spacing: -0.06em; color: #fff; font-variant-numeric: tabular-nums; }
.countdown span { display: block; margin-top: 10px; font-family: var(--font-mono); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--arc); }
.event .stand { position: absolute; right: -20px; bottom: -40px; z-index: -1; font-size: 15rem; font-weight: 700; letter-spacing: -0.06em; line-height: 1; color: rgba(255,255,255,.035); pointer-events: none; user-select: none; }

.insights { margin-top: clamp(56px, 7vw, 88px); }
.insights__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 32px; }
.post {
  display: flex; flex-direction: column; gap: 12px; padding: 26px 24px; border-radius: var(--radius-l);
  background: #fff; border: 1px solid var(--line); text-decoration: none; color: inherit; min-height: 280px;
  transition: border-color .25s, transform .25s var(--ease), box-shadow .25s;
}
.post:hover { border-color: var(--line-strong); transform: translateY(-3px); box-shadow: 0 24px 48px -30px rgba(10, 20, 36, .35); }
.post__cat { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); display: flex; justify-content: space-between; }
.post__cat span { color: var(--fg-3); }
.post h3 { font-size: 1.22rem; line-height: 1.2; letter-spacing: -0.02em; }
.post p { font-size: .94rem; line-height: 1.55; }
.post .route__go { margin-top: auto; }
.post:hover .route__go .icon { transform: translateX(4px); }
.post--li { background: var(--night); border-color: transparent; color: #b8c4d6; }
.post--li h3 { color: #fff; }
.post--li .post__cat { color: var(--arc); }
.post--li .route__go { color: #fff; }
.post--li .li-badge { width: 44px; height: 44px; border-radius: 10px; background: #fff; color: var(--night); display: grid; place-items: center; }
.post--li .li-badge .icon { width: 22px; height: 22px; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq__intro { position: sticky; top: calc(var(--header-h) + 32px); }
.faq__intro .lead { margin-top: 20px; }
.faq__intro .btn { margin-top: 28px; }
.qa { border-top: 1px solid var(--line); }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0; font-size: 1.14rem; font-weight: 600; color: var(--fg); letter-spacing: -0.015em;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary .pm { width: 34px; height: 34px; flex: none; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: transform .3s var(--ease), background-color .2s, border-color .2s; }
.qa summary .pm .icon { width: 16px; height: 16px; }
.qa details[open] summary .pm { transform: rotate(45deg); background: var(--night); border-color: var(--night); color: #fff; }
.qa summary:hover .pm { border-color: var(--fg); }
.qa details > div { padding: 0 56px 26px 0; }
.qa details p { font-size: 1rem; }
.qa details p + p { margin-top: 10px; }

/* ---------- Enquiry ---------- */
.enquire { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(36px, 5vw, 80px); align-items: start; }
.next-steps { list-style: none; margin-top: 36px; display: grid; gap: 0; counter-reset: ns; }
.next-steps li { counter-increment: ns; display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.next-steps li::before { content: "0" counter(ns); font-family: var(--font-mono); font-size: .8rem; color: var(--arc); padding-top: 3px; letter-spacing: .08em; }
.next-steps b { display: block; color: #fff; font-weight: 600; }
.next-steps span { font-size: .95rem; }
.direct { margin-top: 30px; padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--deep); display: grid; gap: 14px; }
.direct__phone { display: flex; align-items: center; gap: 14px; color: #fff; text-decoration: none; }
.direct__phone .ico { width: 46px; height: 46px; border-radius: 12px; background: var(--arc); color: var(--night); display: grid; place-items: center; flex: none; }
.direct__phone .ico .icon { width: 22px; height: 22px; }
.direct__phone b { display: block; font-size: 1.4rem; letter-spacing: -0.02em; font-weight: 600; }
.direct__phone small { display: block; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .08em; color: var(--fg-3); text-transform: uppercase; }
.direct__phone:hover b { color: var(--arc); }
.direct dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; font-size: .93rem; padding-top: 14px; border-top: 1px solid var(--line); }
.direct dt { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-3); padding-top: 3px; }
.direct dd a { color: #fff; }

.form-card {
  --bg: #fff; --fg: var(--ink); --fg-2: #3b4a60; --fg-3: #5b6b82; --line: #dce3ec; --line-strong: #b9c5d4; --accent: var(--arc-deep); --focus: var(--arc-deep);
  --btn-bg: var(--night); --btn-fg: #fff; --btn-hover: var(--api-navy);
  color-scheme: light; background: #fff; color: var(--fg-2); border-radius: var(--radius-l);
  padding: clamp(24px, 3.5vw, 44px); box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.6);
}
.form-card h3 { font-size: 1.5rem; letter-spacing: -0.025em; }
.form-card > p { margin-top: 6px; font-size: .97rem; }
.enquiry-form { margin-top: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.enquiry-form .field--full { grid-column: 1 / -1; }
.intent { grid-column: 1 / -1; border: 0; padding: 0; margin: 0; min-width: 0; }
.intent legend { font-size: .88rem; font-weight: 500; color: var(--fg); margin-bottom: 10px; padding: 0; }
.intent__opts { display: flex; flex-wrap: wrap; gap: 8px; }
.intent__opts label { position: relative; }
.intent__opts input { position: absolute; opacity: 0; pointer-events: none; }
.intent__opts span {
  display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--line-strong); font-size: .92rem; font-weight: 500; color: var(--fg-2); cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s;
}
.intent__opts span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--fg-3); transition: inherit; }
.intent__opts label:hover span { border-color: var(--fg); color: var(--fg); }
.intent__opts input:checked + span { background: var(--night); border-color: var(--night); color: #fff; }
.intent__opts input:checked + span::before { background: var(--arc); border-color: var(--arc); }
.intent__opts input:focus-visible + span { outline: 2px solid var(--arc-deep); outline-offset: 2px; }
.file-drop {
  position: relative; display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 12px;
  border: 1.5px dashed var(--line-strong); background: var(--paper); cursor: pointer; transition: border-color .2s, background-color .2s;
}
.file-drop:hover, .file-drop.is-drag { border-color: var(--arc-deep); background: #eef6fe; }
.file-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.file-drop .ico { width: 40px; height: 40px; border-radius: 10px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; color: var(--arc-deep); flex: none; }
.file-drop b { display: block; font-size: .94rem; color: var(--fg); font-weight: 600; }
.file-drop small { display: block; font-size: .82rem; color: var(--fg-3); }
.check { grid-column: 1 / -1; display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; line-height: 1.45; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--night); }
.check a { color: var(--arc-deep); }
.check.is-invalid span { color: #c0262d; }
.check.is-invalid input { outline: 2px solid #e5484d; outline-offset: 2px; }
.enquiry-form .actions { grid-column: 1 / -1; display: grid; gap: 12px; margin-top: 4px; }
.enquiry-form .actions p { font-size: .86rem; color: var(--fg-3); text-align: center; }
.enquiry-form .actions p a { color: var(--fg); font-weight: 600; text-decoration: none; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-success { display: none; text-align: left; padding: 8px 0; }
.form-success .tick { width: 56px; height: 56px; border-radius: 50%; background: var(--night); color: var(--arc); display: grid; place-items: center; margin-bottom: 18px; }
.form-success .tick .icon { width: 28px; height: 28px; stroke-width: 2.2; }
.form-success h3 { font-size: 1.6rem; }
.form-success p { margin-top: 10px; }
.is-sent .enquiry-form, .is-sent > .form-head { display: none; }
.is-sent .form-success { display: block; }
.lookup.is-sent form, .lookup.is-sent > .form-head { display: none; }
.lookup .form-success h3 { color: #fff; }
.lookup .form-success .tick { background: var(--arc); color: var(--night); }

/* ---------- Footer ---------- */
.site-footer { background: var(--abyss); color: #9fb0c6; padding-top: clamp(64px, 8vw, 96px); }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-bottom: 56px; border-bottom: 1px solid rgba(166, 190, 224, 0.12); }
.footer-brand img { height: 30px; width: auto; }
.footer-brand p { margin-top: 22px; max-width: 34ch; font-size: .96rem; }
.footer-brand .sign { display: block; margin-top: 18px; font-family: var(--font-mono); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--arc); }
.footer-social { display: inline-flex; align-items: center; gap: 10px; margin-top: 24px; color: #fff; text-decoration: none; font-size: .92rem; font-weight: 500; padding: 10px 14px 10px 10px; border: 1px solid rgba(166,190,224,.2); border-radius: 10px; transition: border-color .2s; }
.footer-social:hover { border-color: var(--arc); }
.footer-social .li { width: 28px; height: 28px; border-radius: 6px; background: #fff; color: var(--abyss); display: grid; place-items: center; }
.footer-social .li .icon { width: 16px; height: 16px; }
.site-footer h2 { font-family: var(--font-mono); font-size: .72rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { color: #b8c4d6; text-decoration: none; font-size: .95rem; }
.site-footer a:hover { color: #fff; }
.site-footer address { font-style: normal; font-size: .95rem; line-height: 1.6; }
.site-footer address a { display: inline-block; margin-top: 4px; }
.footer-legal { padding-block: 28px 40px; display: grid; gap: 14px; font-size: .82rem; color: #7d8ca2; }
.footer-legal .row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
.footer-legal ul { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-legal a { font-size: .82rem; color: #9fb0c6; }

/* ---------- Utility pages (thank-you, 404) ---------- */
.utility-page { min-height: calc(100vh - var(--header-h)); display: flex; align-items: center; }
.utility-page__inner { max-width: 880px; }
.utility-page .hero__ctas { margin-top: 32px; }
.utility-page__meta { margin-top: 28px; font-family: var(--font-mono); font-size: .78rem; letter-spacing: .06em; color: var(--fg-3); }
.flatline { width: 100%; height: auto; margin-top: 36px; overflow: visible; }
.flatline line { stroke: var(--arc); stroke-width: 2; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 6px rgba(61, 183, 255, .7)); }
.flatline circle { fill: #fff; filter: drop-shadow(0 0 6px var(--arc)); }

/* ---------- Mobile action bar ---------- */
.action-bar {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; display: none;
  grid-template-columns: auto 1fr; gap: 8px; padding: 8px; border-radius: 16px;
  background: rgba(7, 19, 39, 0.92); border: 1px solid rgba(166, 190, 224, 0.18);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.5);
  transform: translateY(140%); transition: transform .35s var(--ease);
}
.action-bar.is-visible { transform: none; }
.action-bar .btn { --h: 48px; }
.action-bar .call { background: transparent; border-color: rgba(190, 210, 238, 0.3); color: #fff; padding: 0 16px; }

/* ---------- Reveal on scroll ---------- */
.reveal-ready { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.reveal-ready.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav__list a { padding: 0 9px; font-size: .92rem; }
  .header-phone span { display: none; }
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 28px; }
  .process__curve { display: none; }
  .insights__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
  :root { --header-h: 66px; }
  .nav, .header-actions .btn, .header-phone { display: none; }
  .menu-toggle { display: inline-flex; margin-left: auto; }
  .header-actions { margin-left: auto; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__copy { max-width: 760px; }
  .hero__media { max-width: 760px; }
  .hero__frame { aspect-ratio: 16 / 10; }
  .hero__chip { left: 16px; top: 16px; }
  .readouts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .readout:nth-child(3) { padding-left: 0; border-left: 0; }
  .readout:nth-child(n+3) { border-top: 1px solid var(--line); }
  .router, .ranges { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .router .route:last-child { grid-column: 1 / -1; }
  .section-head--split, .manifesto { grid-template-columns: 1fr; }
  .case--navy, .case--photo { grid-column: 1 / -1; }
  .case--navy { min-height: 0; }
  .case--third { grid-column: span 6; }
  .case--third:last-child { grid-column: 1 / -1; }
  .obsolete, .anatomy, .about, .faq, .enquire, .capabilities { grid-template-columns: 1fr; }
  .faq__intro { position: static; }
  .industries { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .std-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .std:nth-child(3) { border-left: 0; }
  .std:nth-child(n+3) { border-top: 1px solid var(--line); }
  .timeline ol { grid-template-columns: 1fr; gap: 0; padding-left: 28px; }
  .timeline ol::before { left: 7px; right: auto; top: 6px; bottom: 6px; width: 1px; height: auto; background: linear-gradient(180deg, rgba(166,190,224,.3), var(--arc)); }
  .timeline li { padding: 0 0 28px 8px; }
  .timeline li::before { left: -28px; top: 2px; }
  .group { grid-template-columns: 1fr; }
  .group figure { min-height: 0; aspect-ratio: 16 / 9; }
  .event { grid-template-columns: 1fr; }
  .countdown { justify-self: start; text-align: left; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .action-bar { display: grid; }
  .site-footer { padding-bottom: 84px; }
}
@media (max-width: 720px) {
  body { font-size: 1rem; }
  .brand img { height: 26px; }
  .event-bar__inner { flex-wrap: nowrap; justify-content: space-between; text-align: left; gap: 10px; font-size: .7rem; letter-spacing: .04em; }
  .event-bar .ev-detail { display: none; }
  .event-bar .ev-text { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1; }
  .event-bar a { flex: none; }
  .hero__ctas .btn { width: 100%; }
  .hero__chip { display: none; }
  .hero__tag { font-size: .66rem; }
  .trace__tau { display: none; }
  .readout { padding: 20px 12px 22px 0; }
  .readout + .readout { padding-left: 14px; }
  .readout:nth-child(3) { padding-left: 0; }
  .proof-rail { flex-direction: column; align-items: flex-start; gap: 14px; }
  .marquee { width: 100%; }
  .router, .ranges, .industries, .insights__grid, .caps { grid-template-columns: 1fr; }
  .router .route:last-child { grid-column: auto; }
  .case--third { grid-column: 1 / -1; }
  .brand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .obsolete__facts li { grid-template-columns: 1fr; gap: 4px; }
  .lookup form, .enquiry-form { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step { display: grid; grid-template-columns: 52px 1fr; gap: 4px 12px; padding: 16px 0; border-top-width: 1px; border-top-color: var(--line); }
  .step__n { grid-row: span 2; padding-top: 3px; }
  .step h3 { margin-top: 0; }
  .step p { margin-top: 0; }
  .step:last-child { border-top-color: var(--arc-deep); border-top-width: 2px; }
  .cap-visual { grid-template-rows: auto auto; }
  .cap-visual > figure { aspect-ratio: 4 / 3; min-height: 0; }
  .std-strip { grid-template-columns: 1fr; }
  .std + .std { border-left: 0; border-top: 1px solid var(--line); }
  .about__media .m2 { grid-column: 1 / -1; margin-top: 0; }
  .group__cos { grid-template-columns: 1fr; }
  .qa summary { font-size: 1.04rem; padding: 20px 0; }
  .qa details > div { padding-right: 0; }
  .footer-top { grid-template-columns: 1fr; }
  .event .stand { font-size: 9rem; }
  .ranges-foot .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .trace__line, .js .process__curve .curve { stroke-dashoffset: 0; animation: none; }
  .js .trace__fill, .js .trace__head { opacity: 1; animation: none; }
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; }
  .marquee ul[aria-hidden="true"] { display: none; }
  .marquee ul { flex-wrap: wrap; row-gap: 10px; }
  .reveal-ready { opacity: 1; transform: none; }
}

@media print {
  .event-bar, .site-header, .action-bar, .mobile-menu, .trace, .marquee { display: none !important; }
  .theme-dark { background: #fff !important; color: #000 !important; }
}
