/* INLAND SEA — site stylesheet. One file, no framework. Tokens first. */
:root {
  --navy-950: #041427;
  --navy-900: #071d38;
  --navy-800: #0b2a4f;
  --navy-700: #12396a;
  --sea-600: #0f6f8f;
  --teal-500: #12a4b6;
  --teal-300: #6fd6e2;
  --teal-100: #dff5f8;
  --volt-500: #2f6bff;
  --volt-400: #5b8cff;
  --ink: #0b1b2e;
  --ink-2: #33475c;
  --muted: #5d7186;
  --line: #dde6ee;
  --line-2: #c9d6e2;
  --surface: #f4f8fb;
  --surface-2: #eaf2f7;
  --bg: #ffffff;
  --danger: #c0392b;
  --success: #0c7a5b;

  --map-land: #cfe3ee;
  --map-land-hover: #9fd3df;
  --map-other: #edf2f6;
  --map-grat: #e4ecf2;
  --map-lane: var(--teal-500);
  --map-node: var(--navy-800);

  --font-head: "Manrope", 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, SFMono-Regular, Menlo, monospace;

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --wrap: 1200px;
  --gutter: 24px;
  --header-h: 72px;
  --shadow-1: 0 1px 2px rgba(7, 29, 56, 0.06), 0 2px 8px rgba(7, 29, 56, 0.05);
  --shadow-2: 0 2px 4px rgba(7, 29, 56, 0.06), 0 12px 32px rgba(7, 29, 56, 0.1);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--sea-600); text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); margin: 0; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.3rem, 4.6vw, 3.9rem); line-height: 1.06; font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.7rem); line-height: 1.12; font-weight: 800; }
h3 { font-size: 1.2rem; line-height: 1.3; font-weight: 700; letter-spacing: -0.01em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--volt-500); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--navy-900); color: #fff; padding: 12px 16px; border-radius: var(--r-sm);
}
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Eyebrow and small labels */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 12px/1.4 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--sea-600); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--teal-500); border-radius: 2px; }
.lead { font-size: 1.15rem; line-height: 1.6; color: var(--ink-2); max-width: 40em; }
.muted { color: var(--muted); }

/* Buttons */
.btn {
  --btn-bg: var(--navy-800); --btn-fg: #fff; --btn-bd: var(--navy-800);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: var(--r-md);
  border: 1.5px solid var(--btn-bd); background: var(--btn-bg); color: var(--btn-fg);
  font: 600 15px/1.2 var(--font-body); cursor: pointer; text-align: center;
  transition: transform 0.18s var(--ease), background-color 0.18s var(--ease), box-shadow 0.18s var(--ease), border-color 0.18s;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.2s var(--ease); }
.btn:hover { --btn-bg: var(--navy-700); --btn-bd: var(--navy-700); transform: translateY(-1px); box-shadow: var(--shadow-2); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(0) scale(0.98); box-shadow: none; }
.btn-ghost { --btn-bg: transparent; --btn-fg: var(--navy-800); --btn-bd: var(--line-2); }
.btn-ghost:hover { --btn-bg: var(--surface); --btn-bd: var(--navy-800); }
.btn-light { --btn-bg: #fff; --btn-fg: var(--navy-900); --btn-bd: #fff; }
.btn-light:hover { --btn-bg: var(--teal-100); --btn-bd: var(--teal-100); }
.btn-ghost-dark { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, 0.35); }
.btn-ghost-dark:hover { --btn-bg: rgba(255, 255, 255, 0.08); --btn-bd: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.text-link {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--sea-600);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
  transition: background-size 0.25s var(--ease); padding-bottom: 2px;
}
.text-link:hover { background-size: 100% 1.5px; }
.text-link svg { width: 16px; height: 16px; transition: transform 0.2s var(--ease); }
.text-link:hover svg { transform: translateX(3px); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(255, 255, 255, 0.9); backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color 0.2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--navy-900); min-height: 44px; }
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand-name { font: 800 17px/1 var(--font-head); letter-spacing: 0.14em; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  color: var(--ink-2); font-weight: 500; font-size: 15px; border-radius: var(--r-sm);
  transition: color 0.15s;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 8px; height: 2px; border-radius: 2px;
  background: var(--teal-500); transform: scaleX(0); transform-origin: left; transition: transform 0.25s var(--ease);
}
.nav a:not(.btn):hover { color: var(--navy-900); }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--navy-900); }
.nav .btn { margin-left: 12px; min-height: 42px; padding: 10px 18px; font-size: 14px; }
.menu-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--r-md);
  background: #fff; color: var(--navy-900); cursor: pointer; align-items: center; justify-content: center;
}
.menu-toggle svg { width: 22px; height: 22px; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

/* Sections */
.section { padding: clamp(72px, 9vw, 128px) 0; }
.section-tight { padding: clamp(56px, 7vw, 96px) 0; }
.section-alt { background: var(--surface); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; margin-bottom: 56px; }
.section-head > p { margin: 0; color: var(--ink-2); font-size: 1.08rem; }
.section-head.stack { grid-template-columns: minmax(0, 760px); }

/* Hero (home) */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 5vw, 72px) 0; min-height: calc(100svh - var(--header-h)); display: flex; align-items: center; }
.hero > .wrap { width: 100%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(var(--surface-2) 1px, transparent 1px), linear-gradient(90deg, var(--surface-2) 1px, transparent 1px);
  background-size: 48px 48px; background-position: -1px -1px;
  mask-image: radial-gradient(ellipse 70% 80% at 70% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 70% 40%, #000 20%, transparent 75%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 48px; align-items: center; }
.hero h1 { max-width: 13em; }
.hero .lead { margin: 24px 0 32px; }
.hero-tagline {
  display: flex; align-items: center; gap: 14px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line);
  font: 700 15px/1.3 var(--font-head); color: var(--navy-800); letter-spacing: 0.01em;
}
.hero-tagline span { font: 500 12px/1.4 var(--font-mono); color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; }
.hero-visual { position: relative; }
.map-frame { position: relative; border-radius: var(--r-lg); background: linear-gradient(180deg, #fff, var(--surface)); border: 1px solid var(--line); box-shadow: var(--shadow-1); overflow: hidden; }
.map-frame .route-map { width: 100%; height: auto; }
.map-legend {
  position: absolute; left: 16px; bottom: 16px; display: flex; align-items: center; gap: 10px;
  padding: 8px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.92); border: 1px solid var(--line);
  font: 500 11px/1.3 var(--font-mono); color: var(--muted); letter-spacing: 0.04em;
}
.map-legend i { width: 18px; height: 2px; background: var(--teal-500); border-radius: 2px; }

/* Map */
.route-map .map-grat { fill: none; stroke: var(--map-grat); stroke-width: 1; }
.route-map .map-other path { fill: var(--map-other); }
.route-map .map-region path { fill: var(--map-land); stroke: #fff; stroke-width: 0.8; transition: fill 0.3s; }
.route-map .map-region.is-active path { fill: var(--map-land-hover); }
.route-map .map-lane { fill: none; stroke-width: 2.2; stroke-linecap: round; }
.route-map .map-node-dot { fill: var(--map-node); }
.route-map .map-node-halo { fill: var(--teal-500); opacity: 0.18; transform-box: fill-box; transform-origin: center; }
.route-map.is-animated .map-lane { stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: lane-draw 2.6s var(--ease) forwards; animation-delay: calc(0.35s + var(--i) * 0.18s); }
.route-map.is-animated .map-node { opacity: 0; animation: node-in 0.5s var(--ease) forwards; animation-delay: calc(1.6s + var(--i) * 0.18s); }
.route-map.is-animated .map-node-halo { animation: node-pulse 3.2s ease-in-out infinite; animation-delay: calc(2.4s + var(--i) * 0.4s); }
@keyframes lane-draw { to { stroke-dashoffset: 0; } }
@keyframes node-in { to { opacity: 1; } }
@keyframes node-pulse { 0%, 100% { transform: scale(1); opacity: 0.18; } 50% { transform: scale(1.5); opacity: 0.06; } }

/* Cards */
.card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s;
}
a.card { display: block; color: inherit; }
a.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); border-color: var(--line-2); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink-2); margin: 0; }
.card .text-link { margin-top: 18px; }
.icon-tile {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 20px;
  background: var(--teal-100); color: var(--sea-600);
}
.icon-tile svg { width: 24px; height: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }

/* Who we serve */
.serve-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; }
.serve-photo { margin-top: 32px; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; }
.serve-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.serve-photo:hover img { transform: scale(1.025); }
.serve-list { list-style: none; border-top: 1px solid var(--line); }
.serve-list li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.serve-list .icon-tile { margin: 0; }
.serve-list h3 { margin-bottom: 6px; }
.serve-list p { margin: 0; color: var(--ink-2); }

/* Services cards */
.service-card { display: flex; flex-direction: column; min-height: 100%; padding: 32px; }
.service-card .svc-diagram { height: 72px; margin-bottom: 22px; color: var(--sea-600); }
.service-card .svc-diagram svg { height: 100%; width: auto; }
.service-card .svc-num { position: absolute; top: 28px; right: 28px; font: 500 12px/1 var(--font-mono); color: var(--muted); }
.service-card .text-link { margin-top: auto; padding-top: 18px; }
.svc-diagram .pulse { animation: svc-pulse 3s ease-in-out infinite; }
.svc-diagram .pulse:nth-of-type(2) { animation-delay: 0.5s; }
.svc-diagram .pulse:nth-of-type(3) { animation-delay: 1s; }
@keyframes svc-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

/* Dark technology panel */
.section-dark { background: var(--navy-950); color: #d6e2ee; position: relative; overflow: hidden; }
.section-dark::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(111, 214, 226, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(111, 214, 226, 0.06) 1px, transparent 1px);
  background-size: 40px 40px; mask-image: linear-gradient(180deg, #000, transparent 85%);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%);
}
.section-dark > .wrap { position: relative; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: var(--teal-300); }
.section-dark .section-head > p, .section-dark .lead { color: #a9bdd1; }
.intel-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.factor-list { list-style: none; counter-reset: f; }
.factor-list li { position: relative; padding: 18px 0 18px 52px; border-top: 1px solid rgba(255, 255, 255, 0.09); }
.factor-list li:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.09); }
.factor-list li::before {
  counter-increment: f; content: counter(f, decimal-leading-zero);
  position: absolute; left: 0; top: 20px; font: 500 12px/1 var(--font-mono); color: var(--teal-300);
}
.factor-list h3 { font-size: 1.05rem; margin-bottom: 4px; }
.factor-list p { margin: 0; color: #a9bdd1; font-size: 0.95rem; }

.console {
  border-radius: var(--r-lg); border: 1px solid rgba(111, 214, 226, 0.22);
  background: linear-gradient(180deg, rgba(18, 57, 106, 0.55), rgba(7, 29, 56, 0.85));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35); overflow: hidden;
}
.console-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08); font: 500 12px/1.3 var(--font-mono); color: #a9bdd1;
}
.console-dots { display: flex; gap: 6px; }
.console-dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); }
.console-tag {
  padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(111, 214, 226, 0.4);
  color: var(--teal-300); font: 500 11px/1.2 var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase;
}
.console-body { padding: 20px; }
.flow { width: 100%; height: auto; }
.flow text { font-family: var(--font-mono); }
.flow .lbl { fill: #cfe0ef; font-size: 13px; }
.flow .lbl-sm { fill: #8ea6be; font-size: 11px; letter-spacing: 0.06em; }
.flow .box { fill: rgba(255, 255, 255, 0.04); stroke: rgba(111, 214, 226, 0.28); }
.flow .box-core { fill: rgba(47, 107, 255, 0.16); stroke: var(--volt-400); }
.flow .wire { fill: none; stroke: rgba(111, 214, 226, 0.3); stroke-width: 1.5; }
.flow .wire-live { fill: none; stroke: var(--teal-300); stroke-width: 2; stroke-dasharray: 6 210; animation: wire-run 3.2s linear infinite; }
.flow .bar { fill: rgba(111, 214, 226, 0.14); }
.flow .bar-on { fill: var(--teal-500); opacity: 0.75; }
.flow .bar-volt { fill: var(--volt-500); opacity: 0.85; }
@keyframes wire-run { from { stroke-dashoffset: 216; } to { stroke-dashoffset: 0; } }
.console-foot { padding: 12px 20px 16px; font: 400 12px/1.5 var(--font-mono); color: #8ea6be; border-top: 1px solid rgba(255, 255, 255, 0.06); }

/* Regions */
.region-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.region-card .region-map { background: var(--surface); border-bottom: 1px solid var(--line); aspect-ratio: 16 / 11; overflow: hidden; }
.region-card .region-map img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.region-card:hover .region-map img { transform: scale(1.03); }
.region-card .region-body { padding: 24px 28px 28px; }
.region-card h3 { margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; list-style: none; }
.chips li { padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 13px; color: var(--ink-2); }

/* Process */
.process { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; position: relative; counter-reset: s; }
.process::before { content: ""; position: absolute; left: 0; right: 0; top: 23px; height: 2px; background: linear-gradient(90deg, var(--teal-500), var(--volt-500)); opacity: 0.35; }
.process li { position: relative; padding-right: 24px; }
.process .step-dot {
  position: relative; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 22px;
  background: #fff; border: 2px solid var(--teal-500); font: 600 13px/1 var(--font-mono); color: var(--navy-800);
}
.process h3 { margin-bottom: 8px; font-size: 1.08rem; }
.process p { margin: 0; color: var(--ink-2); font-size: 0.96rem; }

/* Quote form */
.quote-grid { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); gap: 64px; align-items: start; }
.quote-aside .lead { margin: 20px 0 28px; }
.quote-points { list-style: none; display: grid; gap: 14px; }
.quote-points li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; color: var(--ink-2); }
.quote-points svg { width: 20px; height: 20px; color: var(--teal-500); margin-top: 2px; }
.contact-line { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--ink-2); }
.contact-line a { font-weight: 600; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 3.4vw, 40px); box-shadow: var(--shadow-1); }
.form-section-label { font: 500 12px/1.4 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--sea-600); margin: 0 0 16px; grid-column: 1 / -1; }
.form-section-label:not(:first-child) { margin-top: 12px; padding-top: 24px; border-top: 1px solid var(--line); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field label { font-weight: 600; font-size: 14px; color: var(--ink); }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border: 1.5px solid var(--line-2); border-radius: var(--r-md);
  background: #fff; color: var(--ink); font: 400 16px/1.4 var(--font-body);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235d7186' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 18px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--muted); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--volt-500); box-shadow: 0 0 0 4px rgba(47, 107, 255, 0.15); }
.field .unit-wrap { position: relative; }
.field .unit-wrap input { padding-right: 56px; }
.field .unit { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font: 500 13px/1 var(--font-mono); color: var(--muted); pointer-events: none; }
.field .hint { font-size: 13px; color: var(--muted); }
.field .error { font-size: 13px; color: var(--danger); font-weight: 500; }
.field .error:empty { display: none; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 28px; }
.form-actions .btn[disabled] { opacity: 0.7; cursor: progress; }
.form-note { font-size: 13px; color: var(--muted); margin: 0; }
.form-status { margin-top: 20px; padding: 16px 18px; border-radius: var(--r-md); font-weight: 500; }
.form-status:empty { display: none; }
.form-status.is-error { background: #fdf0ee; color: #8e2a1f; border: 1px solid #f3c9c2; }
.form-success { text-align: left; padding: 8px 0; }
.form-success .icon-tile { background: #dff3ec; color: var(--success); }
.form-success h3 { font-size: 1.5rem; margin-bottom: 10px; }
.form-success p { color: var(--ink-2); }
.form-success code { font-family: var(--font-mono); font-size: 13px; background: var(--surface); padding: 2px 6px; border-radius: 4px; }

/* About band */
.about-band { position: relative; color: #fff; overflow: hidden; background: var(--navy-950); }
.about-band .band-photo { position: absolute; inset: 0; }
.about-band .band-photo img { width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.about-band .band-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4, 20, 39, 0.95) 0%, rgba(4, 20, 39, 0.7) 45%, rgba(4, 20, 39, 0.15) 100%); }
.about-band .wrap { position: relative; padding-top: clamp(88px, 11vw, 160px); padding-bottom: clamp(88px, 11vw, 160px); }
.about-band h2 { color: #fff; max-width: 14em; }
.about-band p { color: #c8d7e6; max-width: 36em; font-size: 1.1rem; margin-top: 22px; }
.about-band .eyebrow { color: var(--teal-300); }
.about-band .btn-row { margin-top: 32px; }

/* Page hero (inner pages) */
.page-hero { position: relative; padding: clamp(56px, 8vw, 112px) 0 clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--line); overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(var(--surface-2) 1px, transparent 1px), linear-gradient(90deg, var(--surface-2) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: radial-gradient(ellipse 60% 90% at 85% 10%, #000 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 60% 90% at 85% 10%, #000 10%, transparent 70%);
}
.page-hero h1 { max-width: 16em; font-size: clamp(2.1rem, 4.2vw, 3.4rem); }
.page-hero .lead { margin-top: 22px; }
.page-hero .btn-row { margin-top: 32px; }

/* Service detail */
.svc-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; padding: 56px 0; border-top: 1px solid var(--line); align-items: start; }
.svc-detail:first-child { border-top: 0; padding-top: 0; }
.svc-detail h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 18px; }
.svc-detail .svc-num { font: 500 12px/1 var(--font-mono); color: var(--sea-600); margin-bottom: 14px; display: block; letter-spacing: 0.08em; }
.svc-detail > div > p { color: var(--ink-2); font-size: 1.05rem; }
.check-list { list-style: none; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 30px; color: var(--ink-2); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--teal-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f6f8f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") no-repeat center / 12px;
}
.detail-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; }
.detail-box h3 { font-size: 0.82rem; font-family: var(--font-mono); font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sea-600); margin-bottom: 16px; }
.detail-box + .detail-box { margin-top: 16px; }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); }
th { font: 500 12px/1.4 var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); background: var(--surface); }
tr:last-child td { border-bottom: 0; }
.empty-state { border: 1px dashed var(--line-2); border-radius: var(--r-lg); padding: 32px; background: var(--surface); color: var(--ink-2); }
.empty-state h3 { margin-bottom: 8px; }
.empty-state p { margin: 0; }

/* Coverage page map */
.coverage-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 48px; align-items: start; }
.region-list { list-style: none; display: grid; gap: 12px; }
.region-list button {
  width: 100%; text-align: left; display: grid; gap: 6px; padding: 20px 22px; border-radius: var(--r-lg);
  border: 1px solid var(--line); background: #fff; color: inherit; font: inherit; cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s var(--ease);
}
.region-list button:hover, .region-list button[aria-pressed="true"] { border-color: var(--teal-500); box-shadow: var(--shadow-1); transform: translateY(-2px); }
.region-list strong { font: 700 1.1rem/1.3 var(--font-head); color: var(--ink); }
.region-list span { color: var(--ink-2); font-size: 0.96rem; }

/* Facts list (about) */
.facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 0; border-top: 1px solid var(--line); }
.facts dt, .facts dd { margin: 0; padding: 16px 0; border-bottom: 1px solid var(--line); }
.facts dt { font: 500 12px/1.6 var(--font-mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); padding-right: 40px; }
.facts dd { color: var(--ink); font-weight: 500; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--navy-900), var(--navy-800) 55%, #0d4a73); color: #fff; border-radius: var(--r-lg); padding: clamp(36px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 2.8vw, 2.3rem); }
.cta-band p { color: #c3d4e6; margin: 12px 0 0; max-width: 34em; }

/* Footer */
.site-footer { background: var(--navy-950); color: #a9bdd1; padding: 72px 0 32px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.site-footer .brand { color: #fff; }
.site-footer .footer-tag { font: 700 18px/1.3 var(--font-head); color: #fff; margin: 22px 0 10px; }
.site-footer p { margin: 0; }
.site-footer h3 { font: 500 12px/1.4 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal-300); margin-bottom: 14px; }
.site-footer ul { list-style: none; display: grid; gap: 2px; }
.site-footer a { color: #d6e2ee; display: inline-flex; align-items: center; min-height: 36px; background: linear-gradient(currentColor, currentColor) 0 85% / 0 1px no-repeat; transition: background-size 0.25s var(--ease), color 0.15s; }
.site-footer a:hover { color: #fff; background-size: 100% 1px; }
.site-footer a.brand { background: none; }
.footer-base { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.08); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; font-size: 13px; color: #7f96ad; }
.footer-base a { min-height: 0; color: #a9bdd1; }

/* Reveal (cards appear smoothly once, only when JS is running) */
.js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: calc(var(--d, 0) * 70ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* Hero entrance */
.hero [data-enter] { animation: enter 0.9s var(--ease) both; animation-delay: calc(var(--d, 0) * 90ms); }
@keyframes enter { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .route-map.is-animated .map-lane { stroke-dashoffset: 0; }
  .route-map.is-animated .map-node { opacity: 1; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .flow .wire-live { display: none; }
}

/* Responsive */
@media (max-width: 1080px) {
  .process { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }
  .process::before { display: none; }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  :root { --header-h: 64px; }
  /* backdrop-filter would make the header the containing block of the fixed menu */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .menu-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 49; flex-direction: column; align-items: stretch; gap: 0;
    padding: 16px var(--gutter) 32px; background: #fff; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 0.2s, transform 0.2s var(--ease), visibility 0.2s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav a:not(.btn) { min-height: 56px; font-size: 18px; padding: 0 4px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin: 24px 0 0; min-height: 52px; font-size: 16px; }
  body.menu-open { overflow: hidden; }
  .hero-grid, .serve-grid, .intel-grid, .quote-grid, .coverage-grid, .svc-detail { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .section-head { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-bottom: 40px; }
  .grid-3 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .cta-band { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .grid-2, .grid-3 { grid-template-columns: minmax(0, 1fr); }
  .process { grid-template-columns: minmax(0, 1fr); }
  .process li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 0 18px; padding-right: 0; }
  .process .step-dot { margin: 0; grid-row: span 2; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .btn-row .btn, .form-actions .btn { width: 100%; }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .card, .service-card { padding: 24px; }
  .service-card .svc-num { top: 24px; right: 24px; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .facts dt { padding-bottom: 0; border-bottom: 0; }
  .hero-tagline { flex-direction: column; align-items: flex-start; gap: 6px; }
  .map-legend { left: 10px; bottom: 10px; }
  th, td { padding: 12px 14px; }
}
