/* ==========================================================================
   LST Engineering — main stylesheet
   Brand: navy #172951 / deep navy #011631 / signal orange #F25E22
   ========================================================================== */

:root {
  --navy-950: #011631;
  --navy-900: #06203f;
  --navy-800: #172951;
  --navy-700: #243a6b;
  --navy-600: #3a5288;
  --orange: #f25e22;
  --orange-400: #ff7a45;
  --orange-ink: #b8410e;          /* orange for small text on light backgrounds */
  --paper: #f5f3ee;
  --paper-2: #ebe7de;
  --white: #ffffff;
  --ink: #0d1b33;
  --muted: #5a6577;
  --muted-light: #a9b4c8;
  --line: #ddd8cc;
  --line-dark: rgba(255, 255, 255, 0.12);

  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 78px;
  --radius: 4px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --shadow: 0 24px 60px -24px rgba(1, 22, 49, 0.35);

  /* Semantic colours: these are what flip in dark mode */
  --bg: var(--paper);
  --surface: var(--white);
  --surface-alt: var(--paper);
  --text: var(--ink);
  --heading: var(--navy-800);
  --text-muted: var(--muted);
  --border: var(--line);
  --accent-text: var(--orange-ink);
  --fill: var(--navy-800);
  --header-bg: rgba(255, 255, 255, 0.92);
  --sticky-bg: rgba(245, 243, 238, 0.94);
  --grid-line: rgba(23, 41, 81, 0.06);
  --ok-bg: #ecf7ef; --ok-border: #1f8a4c; --ok-text: #14532d;
  --err-bg: #fdf0ee; --err-border: #c0392b; --err-text: #7a1d14; --err-field: #b42318;
  --info-bg: #eef3fb; --info-border: var(--navy-700); --info-text: var(--navy-800);
  --map-filter: grayscale(0.35) contrast(1.05);
  --select-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23172951' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  --panel-edge: transparent;
  color-scheme: light;
}

/* Dark theme: follows the system setting unless the visitor picked light with the
   header toggle, or applies whenever they picked dark. Keep both blocks identical. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a1322;
    --surface: #0f1b2e;
    --surface-alt: #14233b;
    --text: #dbe2ec;
    --heading: #f3f6fb;
    --text-muted: #9ba8bc;
    --border: rgba(255, 255, 255, 0.11);
    --accent-text: #ff8754;
    --fill: #26407a;
    --header-bg: rgba(10, 19, 34, 0.88);
    --sticky-bg: rgba(10, 19, 34, 0.92);
    --grid-line: rgba(255, 255, 255, 0.05);
    --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.7);
    --ok-bg: rgba(31, 138, 76, 0.16); --ok-border: #3fb871; --ok-text: #b9ecc9;
    --err-bg: rgba(192, 57, 43, 0.16); --err-border: #ef6b5b; --err-text: #ffc9c1; --err-field: #ff8f80;
    --info-bg: rgba(90, 130, 210, 0.14); --info-border: #6f8fd6; --info-text: #d4def3;
    --map-filter: invert(0.92) hue-rotate(180deg) grayscale(0.3) brightness(0.95);
    --select-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23dbe2ec' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    --panel-edge: rgba(255, 255, 255, 0.09);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0a1322;
  --surface: #0f1b2e;
  --surface-alt: #14233b;
  --text: #dbe2ec;
  --heading: #f3f6fb;
  --text-muted: #9ba8bc;
  --border: rgba(255, 255, 255, 0.11);
  --accent-text: #ff8754;
  --fill: #26407a;
  --header-bg: rgba(10, 19, 34, 0.88);
  --sticky-bg: rgba(10, 19, 34, 0.92);
  --grid-line: rgba(255, 255, 255, 0.05);
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.7);
  --ok-bg: rgba(31, 138, 76, 0.16); --ok-border: #3fb871; --ok-text: #b9ecc9;
  --err-bg: rgba(192, 57, 43, 0.16); --err-border: #ef6b5b; --err-text: #ffc9c1; --err-field: #ff8f80;
  --info-bg: rgba(90, 130, 210, 0.14); --info-border: #6f8fd6; --info-text: #d4def3;
  --map-filter: invert(0.92) hue-rotate(180deg) grayscale(0.3) brightness(0.95);
  --select-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23dbe2ec' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  --panel-edge: rgba(255, 255, 255, 0.09);
  color-scheme: dark;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
::selection { background: var(--orange); color: var(--navy-950); }

.sr-only {
  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: -60px; z-index: 200;
  background: var(--orange); color: var(--navy-950); padding: 10px 16px; font-weight: 600;
}
.skip-link:focus { top: 12px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 10vw, 136px); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--white { background: var(--surface); }
.section--dark { background: var(--navy-950); color: var(--white); }
.section--navy { background: var(--navy-800); color: var(--white); }

.bg-grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
}
.bg-grid--light {
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 64px 64px;
}

/* ---------- Typography ---------- */
.display, h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.015em;
  font-variation-settings: "wdth" 100;
}
.h1 { font-size: clamp(2.5rem, 6.2vw, 5.4rem); font-weight: 800; line-height: 0.98; letter-spacing: -0.03em; }
.h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); font-weight: 750; letter-spacing: -0.025em; }
.h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); font-weight: 650; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.6; color: var(--text-muted); max-width: 62ch; }
.section--dark .lead, .section--navy .lead, .on-dark .lead { color: var(--muted-light); }
.hl { color: var(--orange); }
.mono { font-family: var(--font-mono); }

/* Eyebrow with a miniature rail-track glyph */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: ""; flex: none; width: 34px; height: 9px;
  background:
    linear-gradient(currentColor, currentColor) top / 100% 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) bottom / 100% 1.5px no-repeat,
    repeating-linear-gradient(90deg, currentColor 0 1.5px, transparent 1.5px 6px);
}
.section--dark .eyebrow, .section--navy .eyebrow, .on-dark .eyebrow, .eyebrow--light { color: var(--orange); }

.section-head { display: grid; gap: 24px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head--split { align-items: end; }
@media (min-width: 960px) {
  .section-head--split { grid-template-columns: 1.1fr 0.9fr; gap: 64px; }
}
.section-head--center { text-align: center; justify-items: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 14px 24px;
  font-family: var(--font-display); font-weight: 650; font-size: 0.95rem; letter-spacing: 0.01em;
  border: 1px solid transparent; border-radius: 2px;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { background: var(--orange); color: var(--navy-950); }
.btn--primary:hover { background: var(--orange-400); }
.btn--dark { background: var(--fill); color: var(--white); }
.btn--dark:hover { background: var(--navy-950); }
.btn--ghost { border-color: rgba(255, 255, 255, 0.35); color: var(--white); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.08); }
.btn--outline { border-color: var(--heading); color: var(--heading); }
.btn--outline:hover { background: var(--heading); color: var(--surface); }
.btn--sm { min-height: 44px; padding: 10px 18px; font-size: 0.88rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 650; color: var(--heading);
  border-bottom: 1.5px solid var(--orange); padding-bottom: 4px;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.on-dark .link-arrow, .section--dark .link-arrow { color: var(--white); }

/* ---------- Topbar ---------- */
.topbar { background: var(--navy-950); color: var(--muted-light); font-size: 0.8rem; border-bottom: 1px solid var(--line-dark); }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar__note { display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); letter-spacing: 0.06em; font-size: 0.72rem; text-transform: uppercase; }
.topbar__note .pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 0 rgba(242, 94, 34, 0.6); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(242, 94, 34, 0); } 100% { box-shadow: 0 0 0 0 rgba(242, 94, 34, 0); } }
.topbar__links { display: flex; gap: 24px; list-style: none; padding: 0; margin: 0; }
.topbar__links a { display: inline-flex; align-items: center; gap: 8px; transition: color 0.2s; }
.topbar__links a:hover { color: var(--white); }
.topbar__links svg { width: 14px; height: 14px; color: var(--orange); }
.topbar__links a { white-space: nowrap; }
@media (max-width: 760px) {
  .topbar__note { display: none; }
  .topbar__inner { justify-content: center; }
  .topbar__links { gap: 20px; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: var(--header-bg);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--border);
  color: var(--heading);
  transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease), color 0.35s var(--ease);
}
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

/* Transparent variant that sits over the home hero */
.site-header--overlay:not(.is-scrolled):not(.nav-open) {
  background: transparent; border-color: rgba(255, 255, 255, 0.14); color: var(--white);
  backdrop-filter: none; -webkit-backdrop-filter: none;
}

.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand__mark { width: 58px; height: auto; color: var(--heading); transition: color 0.35s var(--ease); }
.site-header--overlay:not(.is-scrolled):not(.nav-open) .brand__mark,
.on-dark .brand__mark, .site-footer .brand__mark { color: var(--white); }
.brand__word { display: flex; align-items: baseline; gap: 6px; line-height: 1; }
.brand__lst { font-family: var(--font-display); font-weight: 900; font-size: 1.7rem; letter-spacing: -0.04em; }
.brand__sub {
  font-family: var(--font-display); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase;
  font-variation-settings: "wdth" 75; padding-bottom: 3px; border-bottom: 2px solid var(--orange);
}

.nav { display: flex; align-items: center; gap: 36px; margin-left: auto; }

.theme-toggle {
  flex: none; width: 46px; height: 46px; display: grid; place-items: center; margin-left: 14px;
  border: 1px solid currentColor; border-radius: 2px; opacity: 0.85;
  transition: opacity 0.2s, transform 0.4s var(--ease), background-color 0.2s;
}
.theme-toggle:hover { opacity: 1; background: rgba(127, 140, 160, 0.12); }
.theme-toggle svg { grid-area: 1 / 1; width: 20px; height: 20px; transition: transform 0.5s var(--ease), opacity 0.3s; }
.theme-toggle__sun { opacity: 0; transform: rotate(-90deg) scale(0.5); }
.theme-toggle[aria-pressed="true"] .theme-toggle__moon { opacity: 0; transform: rotate(90deg) scale(0.5); }
.theme-toggle[aria-pressed="true"] .theme-toggle__sun { opacity: 1; transform: none; color: var(--orange); }
@media (max-width: 959px) { .theme-toggle { margin-left: auto; margin-right: 10px; } }
.nav__list { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav__link {
  position: relative; display: block; padding: 10px 14px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem;
}
.nav__link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease);
}
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }

.nav-toggle { display: none; width: 46px; height: 46px; position: relative; border: 1px solid currentColor; border-radius: 2px; opacity: 0.9; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  position: absolute; left: 12px; right: 12px; height: 2px; background: currentColor; transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav-toggle__bars { top: 50%; margin-top: -1px; }
.nav-toggle__bars::before { content: ""; left: 0; right: 0; top: -7px; }
.nav-toggle__bars::after { content: ""; left: 0; right: 0; top: 7px; }
.nav-open .nav-toggle__bars { background: transparent; }
.nav-open .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 959px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--nav-top, var(--header-h)) 0 0 0; z-index: 99;
    flex-direction: column; align-items: stretch; justify-content: space-between; gap: 32px;
    padding: 32px var(--gutter) 40px;
    background: var(--navy-950); color: var(--white);
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s linear 0.3s;
    overflow-y: auto;
  }
  .nav-open .nav { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  /* backdrop-filter would make the fixed menu position relative to the header */
  .site-header.nav-open { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--surface); }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__link { font-size: 2rem; font-weight: 750; padding: 16px 0; border-bottom: 1px solid var(--line-dark); letter-spacing: -0.02em; }
  .nav__link::after { left: 0; right: auto; width: 40px; bottom: -1px; }
  .nav__cta { width: 100%; }
  body.nav-locked { overflow: hidden; }
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: max(640px, 100svh);
  margin-top: calc(var(--header-h) * -1);
  padding-top: calc(var(--header-h) + 24px);
  display: flex; flex-direction: column; justify-content: flex-end;
  background: var(--navy-950); color: var(--white);
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s var(--ease); }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
.hero__slide.is-active { opacity: 1; }
.hero__slide.is-active img { animation: kenburns 9s linear forwards; }
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1.0); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(1, 22, 49, 0.94) 0%, rgba(1, 22, 49, 0.78) 42%, rgba(1, 22, 49, 0.25) 100%),
    linear-gradient(0deg, rgba(1, 22, 49, 0.95) 0%, rgba(1, 22, 49, 0) 45%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(90deg, #000 0%, transparent 70%);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 70%);
}
.hero__content { display: grid; gap: 40px; padding-bottom: clamp(36px, 4.5vw, 56px); }
.hero .h1 { font-size: clamp(2.6rem, min(6vw, 10.5vh), 5.2rem); }
@media (min-width: 1100px) {
  .hero__content { grid-template-columns: 1fr auto; align-items: end; }
}
.hero__title { max-width: 14ch; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.12em; margin-bottom: -0.12em; }
.hero__title .line > span { display: inline-block; }
.hero__lead { margin-top: 24px; color: #c9d2e3; max-width: 56ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

@media (max-width: 699px) {
  .credential { display: none; }
  .hero__actions .btn { flex: 1 1 auto; }
}
.credential {
  width: min(100%, 320px);
  padding: 26px 28px;
  background: rgba(6, 32, 63, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.credential__label { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-light); }
.credential__value { font-family: var(--font-display); font-weight: 800; font-size: 3.2rem; line-height: 1; letter-spacing: -0.03em; margin: 10px 0 6px; }
.credential__value small { font-size: 1rem; font-weight: 600; letter-spacing: 0; color: var(--orange); margin-left: 6px; }
.credential__meta { display: flex; gap: 18px; padding-top: 16px; margin-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.14); font-size: 0.85rem; color: #c9d2e3; }
.credential__meta strong { display: block; font-family: var(--font-display); font-size: 1.25rem; color: var(--white); }

/* Route-style slide selector */
.route-wrap { border-top: 1px solid rgba(255, 255, 255, 0.14); background: linear-gradient(0deg, rgba(1, 22, 49, 0.6), rgba(1, 22, 49, 0)); }
.route { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; margin: 0; padding: 0; }
.route__btn {
  position: relative; width: 100%; text-align: left;
  padding: 26px 16px 26px 0; display: grid; gap: 6px;
  color: rgba(255, 255, 255, 0.55); transition: color 0.3s;
}
.route__btn::before { /* track */
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 3px; background: transparent;
}
.route__bar { position: absolute; left: 0; top: -2px; height: 3px; width: 100%; background: var(--orange); transform: scaleX(0); transform-origin: left; }
.route__btn[aria-selected="true"] { color: var(--white); }
.route__btn[aria-selected="true"] .route__bar { animation: routefill var(--slide-ms, 7000ms) linear forwards; }
.route.is-paused .route__btn[aria-selected="true"] .route__bar,
.route.is-static .route__btn[aria-selected="true"] .route__bar { animation: none; transform: scaleX(1); }
@keyframes routefill { to { transform: scaleX(1); } }
.route__num { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em; color: var(--orange); }
.route__label { font-family: var(--font-display); font-weight: 600; font-size: 1rem; line-height: 1.25; }
.route__btn:hover { color: var(--white); }
@media (max-width: 760px) {
  .route { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .route__label { display: none; }
  .route__btn { padding: 18px 0; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--navy-950); color: var(--white);
  padding-block: clamp(72px, 10vw, 128px) clamp(56px, 7vw, 96px);
}
.page-hero__img { position: absolute; inset: 0 0 0 auto; width: min(58%, 900px); z-index: -2; }
.page-hero__img img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, var(--navy-950) 40%, rgba(1, 22, 49, 0.72) 70%, rgba(1, 22, 49, 0.45) 100%);
}
@media (max-width: 760px) {
  .page-hero__img { width: 100%; opacity: 0.35; }
}
.page-hero .h1 { max-width: 16ch; }
.page-hero .lead { color: #c9d2e3; margin-top: 24px; }
.crumbs { display: flex; gap: 10px; list-style: none; padding: 0; margin: 0 0 32px; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-light); }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--orange); }
.crumbs a:hover { color: var(--white); }

/* ---------- Intro / statement ---------- */
.statement { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.6rem, 3.1vw, 2.6rem); line-height: 1.22; letter-spacing: -0.02em; color: var(--heading); max-width: 28ch; }
.statement em { font-style: normal; color: var(--accent-text); }
.intro { display: grid; gap: 56px; }
@media (min-width: 960px) { .intro { grid-template-columns: 1.25fr 0.75fr; gap: 80px; align-items: start; } }

.factsheet { border-top: 2px solid var(--heading); }
.factsheet__row { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.factsheet dt { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); padding-top: 4px; }
.factsheet dd { font-family: var(--font-display); font-weight: 650; font-size: 1.1rem; color: var(--heading); }

/* Image pair */
.duo { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; margin-top: clamp(56px, 8vw, 96px); }
.duo figure { position: relative; overflow: hidden; }
.duo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.duo figure:hover img { transform: scale(1.04); }
.duo__col { display: flex; flex-direction: column; gap: 16px; }
.duo__col figure { aspect-ratio: 16 / 10; }
.duo > figure { min-height: 100%; }
.duo--even figure { aspect-ratio: 4 / 3; }
.duo__card {
  flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
  padding: clamp(24px, 3vw, 40px); background: var(--navy-800); color: var(--white);
}
.duo__card .eyebrow { color: var(--orange); margin-bottom: 0; }
.duo__card p.duo__quote { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.15rem, 1.8vw, 1.5rem); line-height: 1.35; letter-spacing: -0.01em; }
.duo__card .link-arrow { color: var(--white); align-self: flex-start; }
@media (max-width: 759px) {
  .duo { grid-template-columns: 1fr; }
  .duo > figure { min-height: 0; aspect-ratio: 4 / 3; }
}
.duo figcaption {
  position: absolute; left: 0; bottom: 0; padding: 10px 14px;
  background: var(--navy-950); color: var(--white);
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase;
}

/* ---------- Clients ---------- */
.clients { display: grid; gap: 28px; align-items: center; padding-block: 44px; border-block: 1px solid var(--border); }
@media (min-width: 960px) { .clients { grid-template-columns: 220px 1fr; gap: 48px; } }
.clients__label { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); }
.clients__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 32px; list-style: none; margin: 0; padding: 0; }
@media (min-width: 900px) { .clients__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.clients__list li { display: flex; align-items: center; gap: 14px; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.15rem, 2.2vw, 1.8rem); line-height: 1.15; letter-spacing: -0.02em; color: var(--heading); }
.clients__list li small { display: block; font-family: var(--font-mono); font-weight: 400; font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); margin-top: 4px; }
.clients__list li::before { content: ""; width: 8px; height: 8px; background: var(--orange); transform: rotate(45deg); flex: none; }

/* ---------- Capabilities index ---------- */
.cap { display: grid; gap: 48px; }
@media (min-width: 1024px) { .cap { grid-template-columns: 1.2fr 0.8fr; gap: 72px; } }
.cap__list { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--border); counter-reset: cap; }
.cap__row {
  position: relative; display: grid; grid-template-columns: 52px 1fr 28px; gap: 16px; align-items: start;
  padding: 24px 0; border-top: 1px solid var(--border);
  transition: padding 0.35s var(--ease);
}
.cap__row::before {
  content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 100%;
  background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease);
}
.cap__num { font-family: var(--font-mono); font-size: 0.8rem; color: var(--text-muted); padding-top: 6px; transition: color 0.3s; }
.cap__title { font-family: var(--font-display); font-weight: 650; font-size: clamp(1.2rem, 1.9vw, 1.55rem); line-height: 1.2; letter-spacing: -0.015em; color: var(--heading); transition: color 0.3s; }
.cap__desc { display: block; margin-top: 6px; font-size: 0.95rem; color: var(--text-muted); max-width: 52ch; }
.cap__arrow { width: 22px; height: 22px; margin-top: 6px; color: var(--heading); transition: transform 0.35s var(--ease), color 0.3s; }
.cap__row:hover::before, .cap__row.is-active::before, .cap__row:focus-visible::before { transform: scaleX(1); }
.cap__row:hover .cap__num, .cap__row.is-active .cap__num { color: var(--accent-text); }
.cap__row:hover .cap__arrow, .cap__row.is-active .cap__arrow { transform: translateX(4px) rotate(-45deg); color: var(--accent-text); }
@media (min-width: 1024px) { .cap__row:hover, .cap__row.is-active { padding-left: 12px; } }

.cap__preview { display: none; }
@media (min-width: 1024px) {
  .cap__preview { display: block; position: sticky; top: calc(var(--header-h) + 32px); align-self: start; aspect-ratio: 4 / 5; overflow: hidden; background: var(--navy-950); }
}
.cap__shot { position: absolute; inset: 0; opacity: 0; transition: opacity 0.6s var(--ease); }
.cap__shot img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.2s var(--ease); }
.cap__shot.is-active { opacity: 1; }
.cap__shot.is-active img { transform: scale(1); }
.cap__shot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(1, 22, 49, 0.88) 0%, rgba(1, 22, 49, 0) 55%); }
.cap__caption { position: absolute; left: 28px; right: 28px; bottom: 26px; z-index: 2; color: var(--white); }
.cap__caption .mono { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange); }
.cap__caption strong { display: block; font-family: var(--font-display); font-size: 1.6rem; line-height: 1.15; margin-top: 8px; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line-dark); }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: 36px 24px 36px 0; border-bottom: 1px solid var(--line-dark); }
@media (min-width: 900px) { .stat { border-bottom: 0; } .stat + .stat { padding-left: 32px; border-left: 1px solid var(--line-dark); } }
@media (max-width: 899px) { .stat:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line-dark); } }
.stat__value { font-family: var(--font-display); font-weight: 800; font-size: clamp(3rem, 6.5vw, 5.2rem); line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.stat__value sup { font-size: 0.42em; color: var(--orange); vertical-align: top; position: relative; top: 0.25em; margin-left: 4px; letter-spacing: 0; }
.stat__label { margin-top: 14px; font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-light); max-width: 22ch; }

/* ---------- Values ---------- */
.values { display: grid; gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); }
@media (min-width: 700px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .values { grid-template-columns: repeat(3, 1fr); } }
.value { position: relative; padding: clamp(28px, 3.4vw, 44px); background: var(--navy-950); transition: background-color 0.4s var(--ease); overflow: hidden; }
.value:hover { background: var(--navy-900); }
.value__num { font-family: var(--font-mono); font-size: 0.75rem; color: var(--orange); letter-spacing: 0.14em; }
.value h3 { font-size: 1.5rem; margin: 48px 0 12px; }
.value p { color: var(--muted-light); font-size: 0.96rem; }
.value::after {
  content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px;
  border: 1px solid rgba(242, 94, 34, 0.35); border-radius: 50%;
  transform: scale(0.6); opacity: 0; transition: transform 0.6s var(--ease), opacity 0.6s var(--ease);
}
.value:hover::after { transform: scale(1); opacity: 1; }

/* ---------- Split feature ---------- */
.split { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: 80px; } .split--flip > :first-child { order: 2; } }
.split__media { position: relative; }
.split__media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.split__media::before {
  content: ""; position: absolute; inset: 24px -24px -24px 24px; z-index: -1;
  border: 1px solid var(--orange);
}
.split--flip .split__media::before { inset: 24px 24px -24px -24px; }
.split__tag {
  position: absolute; left: 0; top: 0; padding: 12px 16px; background: var(--orange); color: var(--navy-950);
  font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
}

.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
@media (min-width: 560px) { .ticks--2 { grid-template-columns: 1fr 1fr; gap: 14px 28px; } }
.ticks li { position: relative; padding-left: 30px; font-weight: 500; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 0.45em; width: 16px; height: 9px;
  border-left: 2px solid var(--orange); border-bottom: 2px solid var(--orange); transform: rotate(-45deg);
}
.on-dark .ticks li, .section--dark .ticks li { color: #dbe2ef; }

/* ---------- Photo mosaic ---------- */
.mosaic { display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; gap: 12px; }
@media (min-width: 900px) { .mosaic { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; gap: 16px; } }
.mosaic__item { position: relative; overflow: hidden; background: var(--navy-950); }
.mosaic__item--wide { grid-column: span 2; }
.mosaic__item--tall { grid-row: span 2; }
.mosaic__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), opacity 0.4s; }
.mosaic__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(1, 22, 49, 0.75) 0%, rgba(1, 22, 49, 0) 50%); }
.mosaic__item figcaption {
  position: absolute; left: 16px; bottom: 14px; z-index: 1; color: var(--white);
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  display: flex; align-items: center; gap: 8px;
}
.mosaic__item figcaption::before { content: ""; width: 7px; height: 7px; background: var(--orange); transform: rotate(45deg); }
.mosaic__item:hover img { transform: scale(1.05); }

/* ---------- Network / route map ---------- */
.network { position: relative; display: grid; gap: 0; list-style: none; margin: 0; padding: 0; }
@media (min-width: 900px) {
  .network { grid-template-columns: repeat(3, 1fr); }
  .network::before {
    content: ""; position: absolute; left: 0; right: 0; top: 13px; height: 10px;
    background:
      linear-gradient(var(--orange), var(--orange)) top / 100% 2px no-repeat,
      linear-gradient(var(--orange), var(--orange)) bottom / 100% 2px no-repeat,
      repeating-linear-gradient(90deg, rgba(242, 94, 34, 0.55) 0 2px, transparent 2px 12px);
  }
}
.network__stop { position: relative; padding: 0 24px 40px 48px; }
@media (min-width: 900px) { .network__stop { padding: 64px 32px 0 0; } }
.network__stop::before { /* station marker */
  content: ""; position: absolute; left: 0; top: 4px; width: 28px; height: 28px; border-radius: 50%;
  background: var(--navy-950); border: 3px solid var(--white); box-shadow: 0 0 0 4px var(--orange);
}
@media (max-width: 899px) {
  .network::before { content: ""; position: absolute; left: 13px; top: 8px; bottom: 40px; width: 2px; background: var(--orange); }
}
.section--white .network__stop::before, .network--light .network__stop::before { background: var(--surface); border-color: var(--heading); }
.network__region { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange); }
.network__city { font-family: var(--font-display); font-weight: 750; font-size: 1.9rem; letter-spacing: -0.02em; margin: 6px 0 8px; }
.network__addr { font-style: normal; color: var(--muted-light); }
.network--light .network__addr { color: var(--text-muted); }
.network__link { display: inline-flex; gap: 8px; align-items: center; margin-top: 14px; font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; border-bottom: 1px solid var(--orange); padding-bottom: 2px; }
.network__link svg { width: 14px; height: 14px; }

/* ---------- CTA band ---------- */
.cta { position: relative; isolation: isolate; overflow: hidden; background: var(--navy-950); color: var(--white); }
.cta__bg { position: absolute; inset: 0; z-index: -2; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(1, 22, 49, 0.97) 30%, rgba(23, 41, 81, 0.75) 100%); }
.cta__inner { display: grid; gap: 40px; align-items: end; }
@media (min-width: 960px) { .cta__inner { grid-template-columns: 1.3fr auto; gap: 64px; } }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.cta__phone { display: block; margin-top: 28px; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.4rem, 2.4vw, 2rem); }
.cta__phone span { display: block; font-family: var(--font-mono); font-weight: 400; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-light); margin-bottom: 6px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: var(--muted-light); font-size: 0.94rem; }
.site-footer a { transition: color 0.2s; }
.site-footer a:hover { color: var(--white); }
.footer__top { display: grid; gap: 48px; padding-block: clamp(64px, 8vw, 96px); }
@media (min-width: 760px) { .footer__top { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .footer__top { grid-template-columns: 1.4fr 0.8fr 1fr 1fr; gap: 56px; } }
.footer__about p { margin-top: 24px; max-width: 38ch; }
.footer__about .brand { color: var(--white); }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px;
  border: 1px solid var(--line-dark); font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--white);
}
.badge::before { content: ""; width: 6px; height: 6px; background: var(--orange); transform: rotate(45deg); }
.footer__title { font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--white); margin-bottom: 20px; }
.footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.footer__contact li { display: grid; grid-template-columns: 18px 1fr; gap: 12px; }
.footer__contact svg { width: 16px; height: 16px; color: var(--orange); margin-top: 4px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-block: 24px; border-top: 1px solid var(--line-dark); font-size: 0.82rem; }
.footer__rail { height: 10px; background:
  linear-gradient(var(--orange), var(--orange)) top / 100% 2px no-repeat,
  linear-gradient(var(--orange), var(--orange)) bottom / 100% 2px no-repeat,
  repeating-linear-gradient(90deg, rgba(242, 94, 34, 0.5) 0 2px, transparent 2px 14px); }
.to-top { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; }
.to-top svg { width: 14px; height: 14px; }

/* ---------- Services page ---------- */
.svc-nav { position: sticky; top: var(--header-h); z-index: 50; background: var(--sticky-bg); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.svc-nav__list { display: flex; gap: 6px; overflow-x: auto; list-style: none; margin: 0; padding: 12px 0; scrollbar-width: none; }
.svc-nav__list::-webkit-scrollbar { display: none; }
.svc-nav__list a {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; padding: 8px 14px;
  border: 1px solid var(--border); border-radius: 999px; font-family: var(--font-display); font-weight: 600; font-size: 0.86rem; color: var(--heading);
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.svc-nav__list a span { font-family: var(--font-mono); font-size: 0.7rem; color: var(--accent-text); }
.svc-nav__list a:hover { border-color: var(--heading); }
.svc-nav__list a.is-current { background: var(--fill); border-color: var(--fill); color: var(--white); }
.svc-nav__list a.is-current span { color: var(--orange); }

.svc { padding-block: clamp(64px, 8vw, 112px); border-bottom: 1px solid var(--border); scroll-margin-top: calc(var(--header-h) + 64px); }
.svc:nth-of-type(even) { background: var(--surface); }
.svc__head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 16px; }
.svc__num { font-family: var(--font-display); font-weight: 800; font-size: clamp(3rem, 6vw, 4.8rem); line-height: 0.9; color: transparent; -webkit-text-stroke: 1.5px var(--orange); letter-spacing: -0.04em; }
.svc h2 { margin-bottom: 20px; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 28px 0 0; padding: 0; }
.chips li { padding: 10px 16px; border: 1px solid var(--border); background: var(--surface); font-family: var(--font-display); font-weight: 600; font-size: 0.92rem; color: var(--heading); }
.svc:nth-of-type(even) .chips li { background: var(--surface-alt); }

.supply-grid { display: grid; gap: 16px; margin-top: 32px; }
@media (min-width: 640px) { .supply-grid { grid-template-columns: 1fr 1fr; } }
.supply-grid--4 { margin-top: clamp(40px, 5vw, 56px); }
@media (min-width: 1100px) { .supply-grid--4 { grid-template-columns: repeat(4, 1fr); } }
.supply { padding: 24px; border: 1px solid var(--border); background: var(--surface); }
.svc:nth-of-type(even) .supply { background: var(--surface-alt); }
.supply h3 { color: var(--heading); font-size: 1.1rem; display: flex; justify-content: space-between; align-items: center; }
.supply h3::after { content: ""; width: 8px; height: 8px; background: var(--orange); transform: rotate(45deg); }
.supply ul { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--text-muted); font-size: 0.92rem; }
.supply li + li::before { content: "·"; margin-right: 14px; color: var(--accent-text); }

/* ---------- About page ---------- */
.vision { position: relative; padding: clamp(32px, 5vw, 56px); background: var(--navy-800); color: var(--white); }
.vision::before { content: "\201C"; position: absolute; right: 28px; top: -10px; font-family: var(--font-display); font-weight: 800; font-size: 9rem; line-height: 1; color: var(--orange); }
.vision p { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.2rem, 2vw, 1.55rem); line-height: 1.45; }

.people { display: grid; gap: 16px; }
@media (min-width: 640px) { .people { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .people { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .people--4 { grid-template-columns: repeat(4, 1fr); } }
.vision .eyebrow { color: var(--orange); }
.person { display: flex; align-items: center; gap: 20px; padding: 24px; background: var(--surface); border: 1px solid var(--border); transition: border-color 0.3s, transform 0.3s var(--ease); }
.person:hover { border-color: var(--heading); transform: translateY(-3px); }
.person__mono {
  flex: none; width: 64px; height: 64px; display: grid; place-items: center;
  background: var(--fill); color: var(--white); font-family: var(--font-display); font-weight: 750; font-size: 1.25rem; letter-spacing: 0.02em;
  clip-path: polygon(0 0, 100% 0, 100% 72%, 72% 100%, 0 100%);
}
.person--lead .person__mono { background: var(--orange); color: var(--navy-950); }
.person h3 { font-size: 1.2rem; color: var(--heading); }
.person p { font-size: 0.9rem; color: var(--text-muted); margin-top: 4px; }
.people-sub { margin-top: 48px; margin-bottom: 20px; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); }

.roadmap { display: grid; gap: 16px; }
@media (min-width: 900px) { .roadmap { grid-template-columns: repeat(4, 1fr); } }
.milestone { padding: 28px; border: 1px solid var(--line-dark); position: relative; }
.milestone--done { background: var(--orange); color: var(--navy-950); border-color: var(--orange); }
.milestone__state { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange); }
.milestone--done .milestone__state { color: var(--navy-950); }
.milestone h3 { font-size: 1.6rem; margin: 40px 0 8px; }
.milestone p { font-size: 0.92rem; color: var(--muted-light); }
.milestone--done p { color: var(--navy-900); }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; gap: 40px; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1.35fr 0.65fr; gap: 56px; align-items: start; } }
.form-card { background: var(--surface); padding: clamp(28px, 4vw, 52px); border: 1px solid var(--border); box-shadow: var(--shadow); }
.form-grid { display: grid; gap: 20px; margin-top: 32px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field label { display: block; margin-bottom: 8px; font-family: var(--font-display); font-weight: 600; font-size: 0.88rem; color: var(--heading); }
.field label .opt { font-weight: 400; color: var(--text-muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 14px 16px;
  font: inherit; color: var(--text); background: var(--surface-alt);
  border: 1px solid var(--border); border-radius: 2px;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.field textarea { min-height: 160px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 44px;
  background-image: var(--select-chevron);
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--heading); background-color: var(--surface); box-shadow: 0 0 0 3px rgba(242, 94, 34, 0.25); }
.field--error input, .field--error textarea, .field--error select { border-color: var(--err-border); }
.field__error { margin-top: 6px; font-size: 0.85rem; color: var(--err-field); }
.form-note { font-size: 0.85rem; color: var(--text-muted); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 8px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.alert { display: flex; gap: 14px; padding: 18px 20px; margin-top: 28px; border-left: 4px solid; }
.alert svg { flex: none; width: 22px; height: 22px; margin-top: 1px; }
.alert--ok { background: var(--ok-bg); border-color: var(--ok-border); color: var(--ok-text); }
.alert--err { background: var(--err-bg); border-color: var(--err-border); color: var(--err-text); }
.alert--info { background: var(--info-bg); border-color: var(--info-border); color: var(--info-text); }
.alert:focus { outline: none; }
.alert[hidden] { display: none; }
/* without JavaScript, send.php redirects to contact.html#form-sent / #form-error */
.alert[hidden]:target { display: flex; }
.btn[disabled] { opacity: 0.7; cursor: progress; }

.info-stack { display: grid; gap: 16px; }
.info { display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding: 24px; background: var(--navy-950); color: var(--white); box-shadow: inset 0 0 0 1px var(--panel-edge); }
.info__icon { width: 48px; height: 48px; display: grid; place-items: center; background: rgba(242, 94, 34, 0.14); color: var(--orange); }
.info__icon svg { width: 22px; height: 22px; }
.info h3 { font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-light); margin-bottom: 6px; }
.info a, .info p { display: block; font-family: var(--font-display); font-weight: 650; font-size: 1.1rem; }
.info a:hover { color: var(--orange); }

.map-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.map-tabs button { padding: 10px 18px; border: 1px solid var(--border); font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; color: var(--heading); background: var(--surface); transition: background-color 0.2s, color 0.2s, border-color 0.2s; }
.map-tabs button[aria-selected="true"] { background: var(--fill); border-color: var(--fill); color: var(--white); }
.map-frame { position: relative; border: 1px solid var(--border); background: var(--surface-alt); }
.map-frame iframe { display: block; width: 100%; height: clamp(320px, 45vw, 480px); border: 0; filter: var(--map-filter); }
.map-frame__card {
  position: absolute; left: 20px; bottom: 20px; max-width: 300px; padding: 18px 20px;
  background: var(--navy-950); color: var(--white); box-shadow: var(--shadow);
}
.map-frame__card .mono { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange); }
.map-frame__card strong { display: block; font-family: var(--font-display); font-size: 1.2rem; margin: 4px 0; }
.map-frame__card p { font-size: 0.9rem; color: var(--muted-light); }
@media (max-width: 560px) { .map-frame__card { position: static; max-width: none; } }

/* ---------- 404 ---------- */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.notfound__code { font-family: var(--font-display); font-weight: 900; font-size: clamp(7rem, 22vw, 15rem); line-height: 0.85; letter-spacing: -0.06em; color: transparent; -webkit-text-stroke: 2px var(--orange); }

/* ---------- Reveal-on-scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .hero__title .line > span { transform: translateY(105%); transition: transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js .is-loaded .hero__title .line > span { transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .hero__title .line > span { transform: none; }
}
