/* ==========================================================================
   WORKPRESS AVIATION — Design System
   Precision engineering for aerospace. Light-first, technical, dynamic.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand */
  --blue:        #19A0DC;   /* WPA azure — from logo; non-text accents only (white text on it fails AA) */
  --blue-bright: #35B5EE;   /* hover / on-dark accent */
  --blue-deep:   #0E7DB8;   /* filled components (white text = 4.52:1) / on-light hover */
  --blue-text:   #0A6A9E;   /* blue text on light/tinted bg (≥5:1 on mist/paper/white) */
  --blue-ink:    #0B4B6E;

  /* Dark (leaflet family) */
  --navy-950: #0B121B;
  --navy-900: #101A26;      /* dark section bg */
  --navy-850: #141F2C;
  --navy-800: #17212D;      /* leaflet base */
  --navy-700: #1F2C3B;
  --navy-line: rgba(255,255,255,.12);
  --navy-line-strong: rgba(255,255,255,.22);

  /* Light */
  --paper:    #F4F6F8;      /* page base */
  --surface:  #FFFFFF;
  --mist:     #E9EEF2;      /* deeper panel on light */
  --line:     #D8E0E7;
  --line-soft:#E4EAEF;

  /* Text */
  --ink:      #0E1722;
  --ink-2:    #3E4E5F;      /* secondary on light */
  --ink-3:    #5D6C82;      /* tertiary on light (4.93:1 on paper, 4.57:1 on mist) */
  --white:    #FFFFFF;
  --cloud:    #C4CFDA;      /* secondary on dark */
  --cloud-2:  #8FA1B3;      /* tertiary on dark */

  /* Type */
  --font-display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', 'SFMono-Regular', Consolas, monospace;

  /* Scale */
  --text-xs:  0.78rem;
  --text-sm:  0.875rem;
  --text-md:  1rem;
  --text-lg:  1.125rem;
  --text-xl:  clamp(1.25rem, 1.1rem + .6vw, 1.5rem);
  --h3:       clamp(1.25rem, 1.1rem + .8vw, 1.65rem);
  --h2:       clamp(1.9rem, 1.4rem + 2.2vw, 3.1rem);
  --h1:       clamp(2.5rem, 1.8rem + 3.6vw, 4.4rem);
  --display:  clamp(2.7rem, 1.7rem + 5vw, 5.4rem);

  /* Layout */
  --container: 1200px;
  --container-wide: 1360px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-y: clamp(72px, 10vw, 132px);
  --header-h: 76px;

  /* Motion */
  --ease-out: cubic-bezier(.22,.61,.36,1);
  --dur: .55s;

  /* Misc */
  --radius: 2px;            /* deliberately sharp — machined edges */
  --shadow-card: 0 1px 2px rgba(14,23,34,.05), 0 12px 32px -12px rgba(14,23,34,.14);
  --shadow-lift: 0 2px 4px rgba(14,23,34,.06), 0 24px 48px -16px rgba(14,23,34,.22);
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: var(--text-md);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
strong, b { font-weight: 600; }

::selection { background: var(--blue); color: #fff; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.container--wide { max-width: calc(var(--container-wide) + 2 * var(--gutter)); }

.section { padding-block: var(--section-y); position: relative; }
.section--flush-top { padding-top: 0; }
.section--dark {
  background: var(--navy-900);
  color: var(--white);
}
.section--dark-deep { background: var(--navy-950); color: var(--white); }
.section--paper { background: var(--paper); }
.section--white { background: var(--surface); }
.section--mist { background: var(--mist); }

/* Grid helpers */
.grid { display: grid; gap: clamp(20px, 3vw, 32px); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--split { grid-template-columns: 5fr 6fr; align-items: center; gap: clamp(32px, 6vw, 88px); }
.grid--split-rev { grid-template-columns: 6fr 5fr; align-items: center; gap: clamp(32px, 6vw, 88px); }

@media (max-width: 980px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--split, .grid--split-rev { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   4. Typography components
   -------------------------------------------------------------------------- */
.kicker {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: var(--blue-text);
  margin-bottom: 22px;
}
.section--dark .kicker, .section--dark-deep .kicker, .hero .kicker, .page-hero .kicker { color: var(--blue-bright); }
.kicker::before { content: ""; width: 26px; height: 2px; background: var(--blue); flex: none; }
.kicker--bare::before { display: none; }

.headline {
  font-family: var(--font-display);
  font-size: var(--h2);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -.015em;
  text-transform: uppercase;
  text-wrap: balance;
}
.headline strong, .headline b { font-weight: 800; letter-spacing: -.01em; }
.headline--h1 { font-size: var(--h1); }
.headline--display { font-size: var(--display); }

.lead {
  font-size: var(--text-xl);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 46ch;
  text-wrap: pretty;
}
.section--dark .lead, .section--dark-deep .lead { color: var(--cloud); }

.section-head { max-width: 780px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head .lead { margin-top: 22px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .kicker { justify-content: center; }

.prose p + p { margin-top: 1em; }
.prose { color: var(--ink-2); max-width: 62ch; }
.section--dark .prose, .section--dark-deep .prose { color: var(--cloud); }

.mono-label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.section--dark .mono-label, .section--dark-deep .mono-label { color: var(--cloud-2); }

/* --------------------------------------------------------------------------
   5. Buttons & links
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 17px 30px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background var(--dur) var(--ease-out), color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out), transform .25s var(--ease-out);
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; transition: transform .3s var(--ease-out); }
.btn:hover svg { transform: translateX(4px); }

.btn--primary { background: var(--blue-deep); color: #fff; }
.btn--primary:hover { background: var(--blue-ink); }

.btn--ghost { border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--ghost-dark { border-color: var(--navy-line-strong); color: #fff; }
.btn--ghost-dark:hover { border-color: #fff; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue-deep);
}
.link-arrow svg { width: 15px; height: 15px; transition: transform .3s var(--ease-out); }
.link-arrow:hover svg { transform: translateX(5px); }
.section--dark .link-arrow, .section--dark-deep .link-arrow { color: var(--blue-bright); }

/* --------------------------------------------------------------------------
   6. Header / navigation
   -------------------------------------------------------------------------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  background: linear-gradient(180deg, rgba(11,18,27,.72), rgba(11,18,27,.55));
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--navy-line);
  transition: background .4s var(--ease-out);
}
.header[data-scrolled] { background: rgba(11,18,27,.92); }

.header .container--wide { display: flex; align-items: center; gap: 32px; }

.header__logo { flex: none; display: flex; align-items: center; }
.header__logo img { height: 34px; width: auto; }

.header__nav { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.header__nav a {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cloud);
  padding: 10px 14px;
  position: relative;
  transition: color .3s;
}
.header__nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px;
  height: 2px; background: var(--blue);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease-out);
}
.header__nav a:hover, .header__nav a[aria-current="page"] { color: #fff; }
.header__nav a:hover::after, .header__nav a[aria-current="page"]::after { transform: scaleX(1); }

.header__cta { margin-left: 10px; }
.header__cta .btn { padding: 12px 22px; font-size: 0.75rem; }
/* Beat `.header__nav a` (0,1,1) which would otherwise repaint the CTA text --cloud */
.header__nav .btn--primary { color: #fff; font-weight: 600; }
.header__nav .btn::after { display: none; }

.lang-switch {
  display: flex; align-items: center; gap: 2px;
  font-family: var(--font-mono); font-size: 0.75rem; font-weight: 600;
  letter-spacing: .1em;
  margin-left: 14px;
  border: 1px solid var(--navy-line-strong);
  border-radius: var(--radius);
  padding: 3px;
}
.lang-switch a {
  padding: 6px 10px; color: var(--cloud-2); border-radius: 1px;
  transition: color .3s, background .3s;
}
.lang-switch a:hover { color: #fff; }
.lang-switch a[aria-current="true"] { background: var(--blue-deep); color: #fff; }

/* Burger */
.nav-toggle { display: none; margin-left: auto; z-index: 130; width: 44px; height: 44px; position: relative; }
.nav-toggle span, .nav-toggle::before, .nav-toggle::after {
  content: ""; position: absolute; left: 10px; right: 10px; height: 2px;
  background: #fff; transition: transform .35s var(--ease-out), opacity .3s, top .35s var(--ease-out);
}
.nav-toggle::before { top: 14px; }
.nav-toggle span { top: 21px; }
.nav-toggle::after { top: 28px; }
.nav-toggle[aria-expanded="true"]::before { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span { opacity: 0; }
.nav-toggle[aria-expanded="true"]::after { top: 21px; transform: rotate(-45deg); }

@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .header__nav {
    position: fixed; inset: 0; z-index: 120;
    flex-direction: column; justify-content: center; gap: 8px;
    background: rgba(11,18,27,.97);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    opacity: 0; visibility: hidden; transition: opacity .35s var(--ease-out), visibility .35s;
  }
  .header__nav.is-open { opacity: 1; visibility: visible; }
  .header__nav a { font-size: 1.05rem; padding: 14px 20px; }
  .header__cta { margin: 18px 0 0; }
  .lang-switch { margin: 22px 0 0; }
}

/* --------------------------------------------------------------------------
   7. Hero (home)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: min(94vh, 980px);
  display: flex; flex-direction: column; justify-content: flex-end;
  color: #fff;
  background: var(--navy-950);
  overflow: hidden;
  padding-top: var(--header-h);
}
.hero__media { position: absolute; inset: 0; }
.hero__media img, .hero__media picture { width: 100%; height: 100%; object-fit: cover; }
.hero__media img { object-position: center 30%; transform: scale(1.06); animation: hero-drift 18s var(--ease-out) forwards; }
@keyframes hero-drift { to { transform: scale(1); } }

.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(200deg, rgba(11,18,27,.30) 0%, rgba(11,18,27,.55) 46%, rgba(11,18,27,.92) 100%),
    linear-gradient(90deg, rgba(11,18,27,.55) 0%, rgba(11,18,27,.10) 60%);
}

.hero__inner { position: relative; z-index: 2; padding-block: clamp(56px, 9vh, 110px) 0; }

.hero__sectors {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 0;
  font-family: var(--font-mono); font-size: var(--text-xs); font-weight: 600;
  letter-spacing: .42em; text-transform: uppercase; color: var(--blue-bright);
  margin-bottom: 26px;
}
.hero__sectors span + span::before { content: "·"; margin-inline: 18px 22px; color: var(--cloud-2); }

.hero__title { max-width: 15ch; }

.hero__lead { margin-top: 28px; max-width: 52ch; font-size: var(--text-xl); line-height: 1.55; color: var(--cloud); }

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

.hero__strip {
  position: relative; z-index: 2;
  margin-top: clamp(48px, 8vh, 96px);
  border-top: 1px solid var(--navy-line);
  background: rgba(11,18,27,.55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.hero__strip .container--wide {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 28px;
  padding-block: 20px;
}
.hero__strip-item {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: var(--text-xs); font-weight: 600;
  letter-spacing: .3em; text-transform: uppercase; color: var(--cloud);
}
.hero__strip-item::before { content: ""; width: 7px; height: 7px; background: var(--blue); flex: none; }

@media (max-width: 720px) {
  .hero { min-height: 88vh; }
  .hero__strip .container--wide { flex-direction: column; align-items: flex-start; gap: 14px; }
}

/* --------------------------------------------------------------------------
   8. Page hero (subpages)
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  background: var(--navy-900);
  color: #fff;
  padding-top: calc(var(--header-h) + clamp(56px, 9vw, 110px));
  padding-bottom: clamp(56px, 8vw, 100px);
  overflow: hidden;
}
.page-hero__media { position: absolute; inset: 0; opacity: .38; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(16,26,38,.6), rgba(16,26,38,.95));
}
.page-hero .container, .page-hero .container--wide { position: relative; z-index: 2; }
.page-hero__title { max-width: 18ch; }
.page-hero .lead { margin-top: 24px; color: var(--cloud); }

.crumbs {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: var(--text-xs); font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--cloud-2);
  margin-bottom: 30px;
}
.crumbs a:hover { color: #fff; }
.crumbs .sep { color: var(--blue); }

/* --------------------------------------------------------------------------
   9. Stats
   -------------------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0;
}
.stat {
  padding: 30px clamp(20px, 2.6vw, 38px);
  border-left: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 10px;
}
.stat:first-child { border-left: 0; padding-left: 0; }
.section--dark .stat, .section--dark-deep .stat { border-color: var(--navy-line); }

.stat__value {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 1.8rem + 2.4vw, 3.6rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.stat__value sup, .stat__value .unit { font-size: .45em; font-weight: 600; letter-spacing: 0; vertical-align: baseline; }
.stat__value .accent { color: var(--blue); }
.stat__label {
  font-family: var(--font-mono); font-size: var(--text-xs); font-weight: 500;
  letter-spacing: .3em; text-transform: uppercase;
  color: var(--ink-3); line-height: 1.7;
}
.section--dark .stat__label, .section--dark-deep .stat__label { color: var(--cloud-2); }

.stat__note {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: var(--text-xs);
  letter-spacing: .12em; color: var(--ink-3);
}
.stat__note::before { content: ""; width: 7px; height: 7px; background: var(--blue); flex: none; }
.section--dark .stat__note, .section--dark-deep .stat__note { color: var(--cloud-2); }

@media (max-width: 720px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .stats .stat:nth-child(-n+2) { border-top: 0; }
  .section--dark .stat { border-color: var(--navy-line); }
}

/* --------------------------------------------------------------------------
   10. Cards
   -------------------------------------------------------------------------- */
/* Edge card — square blue bullet + heading + copy (leaflet "Our edge") */
.edge-card { position: relative; padding-left: 26px; }
.edge-card::before { content: ""; position: absolute; left: 0; top: 8px; width: 9px; height: 9px; background: var(--blue); }
.edge-card h3 {
  font-family: var(--font-display); font-size: var(--text-lg); font-weight: 700;
  text-transform: uppercase; letter-spacing: .02em; line-height: 1.25;
  margin-bottom: 10px;
}
.edge-card p { color: var(--ink-2); font-size: var(--text-md); max-width: 40ch; }
.section--dark .edge-card p, .section--dark-deep .edge-card p { color: var(--cloud); }

/* Tech card — icon + label + copy, hover lifts */
.tech-card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: clamp(26px, 3vw, 36px);
  display: flex; flex-direction: column; gap: 16px;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .4s;
  position: relative;
  overflow: hidden;
}
.tech-card::after {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 2px;
  background: var(--blue);
  transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--ease-out);
}
.tech-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); border-color: transparent; }
.tech-card:hover::after { transform: scaleX(1); }
.tech-card__icon { width: 44px; height: 44px; color: var(--blue-deep); }
.tech-card__icon svg { width: 100%; height: 100%; }
.tech-card h3 {
  font-family: var(--font-display); font-size: var(--text-lg); font-weight: 700;
  text-transform: uppercase; letter-spacing: .03em;
}
.tech-card p { color: var(--ink-2); font-size: var(--text-sm); line-height: 1.6; }
.tech-card .link-arrow { margin-top: auto; padding-top: 8px; font-size: var(--text-xs); }

/* Dark variant */
.section--dark .tech-card, .section--dark-deep .tech-card {
  background: var(--navy-850);
  border-color: var(--navy-line);
}
.section--dark .tech-card__icon { color: var(--blue-bright); }
.section--dark .tech-card p { color: var(--cloud); }

/* Info card — bordered box (certifications) */
.cert-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 28px 30px;
}
.cert-card h3 {
  font-family: var(--font-display); font-size: 1.45rem; font-weight: 800;
  letter-spacing: .01em; margin-bottom: 6px;
}
.cert-card p { color: var(--ink-2); font-size: var(--text-sm); }
.section--dark .cert-card, .section--dark-deep .cert-card {
  background: rgba(255,255,255,.03); border-color: var(--navy-line);
}
.section--dark .cert-card p { color: var(--cloud); }

/* Dashed "next" callout (NADCAP) */
.callout-next {
  display: flex; gap: 24px; align-items: flex-start;
  border: 1px dashed var(--blue);
  border-radius: var(--radius);
  padding: 26px 30px;
}
.callout-next__tag {
  flex: none;
  font-family: var(--font-mono); font-size: var(--text-xs); font-weight: 600;
  letter-spacing: .3em; text-transform: uppercase;
  color: var(--blue-text);
  border: 1px solid var(--blue);
  padding: 8px 14px;
}
.section--dark .callout-next__tag, .section--dark-deep .callout-next__tag { color: var(--blue-bright); }
.callout-next h3 {
  font-family: var(--font-display); font-size: var(--text-lg); font-weight: 700;
  text-transform: uppercase; margin-bottom: 6px;
}
.callout-next p { color: var(--ink-2); font-size: var(--text-sm); }
.section--dark .callout-next p, .section--dark-deep .callout-next p { color: var(--cloud); }
@media (max-width: 620px) { .callout-next { flex-direction: column; gap: 16px; } }

/* --------------------------------------------------------------------------
   11. Feature rows / media
   -------------------------------------------------------------------------- */
.media-frame { position: relative; border-radius: var(--radius); overflow: hidden; }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame--tall { aspect-ratio: 4 / 4.6; }
.media-frame--wide { aspect-ratio: 16 / 10; }
.media-frame__caption {
  position: absolute; left: 0; bottom: 0; right: 0;
  padding: 40px 26px 20px;
  background: linear-gradient(180deg, transparent, rgba(11,18,27,.82));
  color: var(--cloud);
  font-family: var(--font-mono); font-size: var(--text-xs);
  letter-spacing: .22em; text-transform: uppercase;
  display: flex; align-items: center; gap: 12px;
}
.media-frame__caption::before { content: ""; width: 7px; height: 7px; background: var(--blue); flex: none; }

/* Corner ticks — technical drawing frame, use on media or panels */
.ticks { position: relative; }
.ticks::before, .ticks::after {
  content: ""; position: absolute; width: 22px; height: 22px; z-index: 3;
  border-color: var(--blue); border-style: solid; pointer-events: none;
}
.ticks::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.ticks::after { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }

/* Numbered list rows (process chain) */
.num-rows { border-top: 1px solid var(--line); }
.section--dark .num-rows, .section--dark-deep .num-rows { border-color: var(--navy-line); }
.num-row {
  display: grid; grid-template-columns: 80px 1fr 2fr auto; gap: 24px; align-items: center;
  padding: 26px 4px;
  border-bottom: 1px solid var(--line);
  transition: background .3s;
}
.section--dark .num-row, .section--dark-deep .num-row { border-color: var(--navy-line); }
.num-row:hover { background: rgba(25,160,220,.04); }
.num-row__idx {
  font-family: var(--font-mono); font-size: var(--text-sm); font-weight: 600;
  color: var(--blue-text); letter-spacing: .1em;
}
.section--dark .num-row__idx { color: var(--blue-bright); }
.num-row__title {
  font-family: var(--font-display); font-size: var(--text-lg); font-weight: 700;
  text-transform: uppercase; letter-spacing: .02em;
}
.num-row__desc { color: var(--ink-2); font-size: var(--text-sm); }
.section--dark .num-row__desc { color: var(--cloud); }
@media (max-width: 860px) {
  .num-row { grid-template-columns: 52px 1fr; }
  .num-row__desc { grid-column: 2; }
  .num-row > .link-arrow { grid-column: 2; justify-self: start; }
}

/* Materials hairline list */
.mat-list { border-top: 1px solid var(--line); max-width: 620px; }
.section--dark .mat-list, .section--dark-deep .mat-list { border-color: var(--navy-line); }
.mat-list li {
  display: flex; align-items: baseline; gap: 16px;
  padding: 20px 4px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display); font-size: var(--text-xl); font-weight: 600;
}
.section--dark .mat-list li, .section--dark-deep .mat-list li { border-color: var(--navy-line); }
.mat-list li::before { content: ""; width: 8px; height: 8px; background: var(--blue); flex: none; align-self: center; }
.mat-list li small {
  margin-left: auto; font-family: var(--font-mono); font-size: var(--text-xs);
  font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3);
  text-align: right;
}
.section--dark .mat-list li small { color: var(--cloud-2); }

/* Check list */
.check-list li { display: flex; gap: 14px; padding-block: 9px; color: var(--ink-2); }
.section--dark .check-list li, .section--dark-deep .check-list li { color: var(--cloud); }
.check-list svg { width: 20px; height: 20px; flex: none; color: var(--blue); margin-top: 3px; }

/* --------------------------------------------------------------------------
   12. Bands (quote / CTA / logos strip)
   -------------------------------------------------------------------------- */
.state-line {
  display: flex; gap: 26px; align-items: flex-start;
  max-width: 880px;
}
.state-line::before { content: ""; flex: none; width: 44px; height: 2px; background: var(--blue); margin-top: .8em; }
.state-line p {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1.1rem + 1.2vw, 1.9rem);
  font-weight: 500; line-height: 1.35; letter-spacing: -.01em;
}
.state-line strong { font-weight: 800; }

.cta-band { position: relative; overflow: hidden; }
.cta-band__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 28px 48px;
}
.cta-band__inner .headline { max-width: 16ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* --------------------------------------------------------------------------
   13. World map
   -------------------------------------------------------------------------- */
.map-wrap { position: relative; }
.map-wrap img { width: 100%; }
.map-wrap__meta {
  display: flex; flex-wrap: wrap; gap: 16px 44px;
  border-top: 1px solid var(--navy-line);
  padding-top: 28px; margin-top: 10px;
}

/* --------------------------------------------------------------------------
   14. Tables (capability data)
   -------------------------------------------------------------------------- */
.data-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.data-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.data-table th {
  font-family: var(--font-mono); font-size: var(--text-xs); font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; text-align: left;
  color: var(--ink-3);
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.data-table td { padding: 16px 22px; border-bottom: 1px solid var(--line-soft); font-size: var(--text-sm); color: var(--ink-2); }
.data-table tr:last-child td { border-bottom: 0; }
.data-table td:first-child { font-weight: 600; color: var(--ink); font-family: var(--font-display); text-transform: uppercase; letter-spacing: .02em; }

/* --------------------------------------------------------------------------
   15. Timeline (company)
   -------------------------------------------------------------------------- */
.timeline { position: relative; border-left: 1px solid var(--line); padding-left: clamp(28px, 4vw, 48px); display: grid; gap: clamp(36px, 5vw, 56px); }
.section--dark .timeline, .section--dark-deep .timeline { border-color: var(--navy-line); }
.timeline__item { position: relative; }
.timeline__item::before {
  content: ""; position: absolute; top: 6px;
  left: calc(-1 * clamp(28px, 4vw, 48px) - 5px);
  width: 9px; height: 9px; background: var(--blue);
}
.timeline__year {
  font-family: var(--font-mono); font-size: var(--text-sm); font-weight: 600;
  letter-spacing: .2em; color: var(--blue-text); margin-bottom: 8px; display: block;
}
.section--dark .timeline__year { color: var(--blue-bright); }
.timeline__item h3 {
  font-family: var(--font-display); font-size: var(--text-xl); font-weight: 700;
  text-transform: uppercase; margin-bottom: 8px;
}
.timeline__item p { color: var(--ink-2); max-width: 56ch; }
.section--dark .timeline__item p { color: var(--cloud); }

/* --------------------------------------------------------------------------
   16. Contact / footer
   -------------------------------------------------------------------------- */
.contact-rows { border-top: 1px solid var(--navy-line); max-width: 560px; }
.contact-rows > div {
  display: grid; grid-template-columns: 120px 1fr; gap: 20px; align-items: baseline;
  padding: 18px 2px; border-bottom: 1px solid var(--navy-line);
}
.contact-rows dt {
  font-family: var(--font-mono); font-size: var(--text-xs); font-weight: 500;
  letter-spacing: .3em; text-transform: uppercase; color: var(--blue-bright);
}
.contact-rows dd { font-size: var(--text-lg); font-weight: 600; color: #fff; }
.contact-rows dd a:hover { color: var(--blue-bright); }
.contact-rows dd small { display: block; font-size: var(--text-sm); font-weight: 400; color: var(--cloud-2); margin-top: 2px; }

/* Light variant */
.contact-rows--light { border-color: var(--line); }
.contact-rows--light > div { border-color: var(--line); }
.contact-rows--light dt { color: var(--blue-deep); }
.contact-rows--light dd { color: var(--ink); }
.contact-rows--light dd a:hover { color: var(--blue-deep); }
.contact-rows--light dd small { color: var(--ink-3); }

.footer { background: var(--navy-950); color: var(--cloud); border-top: 1px solid var(--navy-line); }
.footer__main {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: clamp(32px, 5vw, 64px);
  padding-block: clamp(56px, 7vw, 84px);
}
.footer__brand img { height: 38px; width: auto; margin-bottom: 22px; }
.footer__brand p { font-size: var(--text-sm); color: var(--cloud-2); max-width: 34ch; }
.footer h3 {
  font-family: var(--font-mono); font-size: var(--text-xs); font-weight: 600;
  letter-spacing: .3em; text-transform: uppercase; color: var(--cloud-2);
  margin-bottom: 20px;
}
.footer__links li + li { margin-top: 10px; }
.footer__links a { font-size: var(--text-sm); color: var(--cloud); transition: color .3s; }
.footer__links a:hover { color: var(--blue-bright); }
.footer address { font-style: normal; font-size: var(--text-sm); color: var(--cloud); line-height: 1.9; }
.footer address a:hover { color: var(--blue-bright); }
.footer__certs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.footer__certs span {
  font-family: var(--font-mono); font-size: 0.68rem; font-weight: 500; letter-spacing: .1em;
  border: 1px solid var(--navy-line-strong); color: var(--cloud-2);
  padding: 5px 10px; border-radius: var(--radius);
}
.footer__bottom {
  border-top: 1px solid var(--navy-line);
  padding-block: 22px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px;
  font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: .1em;
  color: var(--cloud-2);
}
.footer__bottom a:hover { color: #fff; }
@media (max-width: 980px) { .footer__main { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .footer__main { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   17. Forms
   -------------------------------------------------------------------------- */
.form { display: grid; gap: 22px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 620px) { .form__row { grid-template-columns: 1fr; } }
.field label {
  display: block;
  font-family: var(--font-mono); font-size: var(--text-xs); font-weight: 600;
  letter-spacing: .24em; text-transform: uppercase; color: var(--ink-3);
  margin-bottom: 10px;
}
.field input, .field textarea, .field select {
  width: 100%;
  font: inherit; color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 15px 16px;
  transition: border-color .3s, box-shadow .3s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(25,160,220,.16);
}
.field textarea { min-height: 150px; resize: vertical; }
.form__note { font-size: var(--text-xs); color: var(--ink-3); }

/* --------------------------------------------------------------------------
   18. Decorative — technical grid, section index
   -------------------------------------------------------------------------- */
.bg-grid { position: relative; }
.bg-grid::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(14,23,34,.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(14,23,34,.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
}
.section--dark.bg-grid::before, .section--dark-deep.bg-grid::before {
  background-image:
    linear-gradient(to right, rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.045) 1px, transparent 1px);
}
.bg-grid > * { position: relative; }

.sec-index {
  font-family: var(--font-mono); font-size: var(--text-xs); font-weight: 500;
  letter-spacing: .3em; color: var(--ink-3);
}
.section--dark .sec-index, .section--dark-deep .sec-index { color: var(--cloud-2); }

/* --------------------------------------------------------------------------
   19. Reveal animations
   -------------------------------------------------------------------------- */
/* Hidden initial state only when JS is running (main.js stamps html.js);
   without JS, content stays visible. */
html.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
html.js .reveal.in-view { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
.reveal[data-delay="4"] { transition-delay: .4s; }
.reveal[data-delay="5"] { transition-delay: .5s; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   20. Utilities
   -------------------------------------------------------------------------- */
.mt-0 { margin-top: 0; } .mt-24 { margin-top: 24px; } .mt-40 { margin-top: 40px; }
.mt-56 { margin-top: 56px; } .mt-72 { margin-top: clamp(48px, 6vw, 72px); }
.mb-24 { margin-bottom: 24px; } .mb-40 { margin-bottom: 40px; } .mb-56 { margin-bottom: 56px; }
.text-center { text-align: center; }
.accent { color: var(--blue); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}
.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 200;
  background: var(--blue-deep); color: #fff; padding: 12px 20px;
  font-family: var(--font-mono); font-size: var(--text-sm); letter-spacing: .1em;
  transition: top .3s;
}
.skip-link:focus { top: 12px; }
