/* ==========================================================================
   Drone SA — design system
   Dark aerospace palette, amber signal accent, blueprint hairlines.
   ========================================================================== */

/* ---------- tokens ---------- */
:root {
  --ink: #070a0e;
  --ink-2: #0b1016;
  --panel: #10161f;
  --panel-2: #141c26;
  --line: rgba(233, 240, 248, 0.1);
  --line-strong: rgba(233, 240, 248, 0.18);
  --text: #e9eff7;
  --muted: #94a4b8;
  --muted-2: #66768a;
  --accent: #f2b231;
  --accent-hot: #ffc94d;
  --signal: #2fbf7d;
  --accent-ink: #1a1204;

  --font-display: "Space Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --radius: 4px;
  --radius-lg: 8px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 72px;
}

/* ---------- reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  font-feature-settings: "kern" 1;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p, figure, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }

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

::selection { background: var(--accent); color: var(--accent-ink); }

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 200;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 10px 16px;
  font-weight: 600;
  border-radius: var(--radius);
}
.skip-link:focus { top: 16px; }

/* ---------- layout helpers ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  position: relative;
  padding-block: clamp(64px, 9vw, 120px);
  border-top: 1px solid var(--line);
}

.section--flush { border-top: 0; }

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}

.stack > * + * { margin-top: 16px; }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }

/* ---------- typography ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 0.98;
  text-wrap: balance;
}

h1.display { font-size: clamp(2.6rem, 6.2vw, 4.6rem); }
h2.display { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.02; }
h3.display { font-size: clamp(1.25rem, 2vw, 1.5rem); letter-spacing: -0.015em; }

.lede {
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  line-height: 1.7;
  color: var(--muted);
  max-width: 56ch;
  text-wrap: pretty;
}

.muted { color: var(--muted); }
.small { font-size: 0.875rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}
.eyebrow--plain::before { display: none; }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(32px, 4vw, 56px);
}
.section-head__text { max-width: 60ch; }
.section-head .lede { margin-top: 18px; }

.section-index {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--muted-2);
  margin-bottom: 18px;
}

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--accent);
  --btn-fg: var(--accent-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn:hover { background: var(--accent-hot); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 16px; height: 16px; flex: none; }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  border-color: var(--line-strong);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--accent);
  color: var(--text);
  transform: translateY(-1px);
}

.btn--sm { padding: 10px 16px; font-size: 0.8rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 6px;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), gap 0.2s var(--ease);
}
.link-arrow:hover { color: var(--accent); border-color: var(--accent); gap: 12px; }

/* ---------- header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), backdrop-filter 0.3s var(--ease);
}
.header.is-stuck {
  background: rgba(7, 10, 14, 0.82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.06rem;
  letter-spacing: -0.02em;
}
.brand__mark {
  width: 30px;
  height: 30px;
  color: var(--accent);
  flex: none;
}
.brand__sa {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  color: var(--muted);
  border-left: 1px solid var(--line-strong);
  padding-left: 10px;
  margin-left: 2px;
  text-transform: uppercase;
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative;
  padding: 9px 14px;
  font-size: 0.875rem;
  color: var(--muted);
  border-radius: var(--radius);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.04); }
.nav a[aria-current="page"] { color: var(--text); }
.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 2px;
  background: var(--accent);
}

.header__cta { display: flex; align-items: center; gap: 12px; }

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  cursor: pointer;
}
.menu-toggle span {
  position: relative;
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.25s var(--ease);
}
.menu-toggle span::before { top: -5px; }
.menu-toggle span::after { top: 5px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { transform: translateY(5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { transform: translateY(-5px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 auto;
  z-index: 99;
  background: var(--ink-2);
  border-bottom: 1px solid var(--line);
  padding: 16px var(--gutter) 28px;
  display: none;
}
.mobile-nav.is-open { display: block; }
.mobile-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 1.1rem;
}
.mobile-nav a::after { content: "→"; color: var(--muted-2); }
.mobile-nav .btn { width: 100%; margin-top: 20px; }
.mobile-nav .btn::after { content: none; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(48px, 8vw, 96px));
  padding-bottom: clamp(48px, 7vw, 88px);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -10% -20% auto 30%;
  height: 720px;
  background: radial-gradient(closest-side, rgba(242, 178, 49, 0.16), transparent 72%);
  z-index: -1;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(233, 240, 248, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(233, 240, 248, 0.045) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(80% 70% at 60% 30%, #000 10%, transparent 75%);
  -webkit-mask-image: radial-gradient(80% 70% at 60% 30%, #000 10%, transparent 75%);
  z-index: -1;
  pointer-events: none;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: clamp(32px, 4vw, 56px);
  align-items: center;
}

.hero__copy { max-width: 40rem; }

.hero h1 { margin-top: 22px; }
.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero__sub { margin-top: 24px; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
}

.hero__note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.hero__note .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 4px rgba(47, 191, 125, 0.14);
}

.hero__visual {
  position: relative;
  min-width: 0;
}
.hero__visual svg { width: 100%; height: auto; }

.props .prop {
  transform-box: fill-box;
  transform-origin: center;
}
.js-motion .prop { animation: prop-spin 1.6s linear infinite; }
.prop:nth-child(2) { animation-direction: reverse; }
.prop:nth-child(3) { animation-direction: reverse; }

@keyframes prop-spin {
  to { rotate: 360deg; }
}

.hero__badge {
  position: absolute;
  left: 0;
  bottom: 6%;
  display: grid;
  gap: 2px;
  padding: 12px 16px;
  background: rgba(10, 14, 20, 0.78);
  border: 1px solid var(--line-strong);
  border-left: 2px solid var(--accent);
  backdrop-filter: blur(8px);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero__badge strong {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text);
}

/* ---------- stat strip ---------- */
.stat-strip {
  border-block: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
}
.stat-strip__inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.stat {
  padding: 28px clamp(16px, 3vw, 32px);
  border-left: 1px solid var(--line);
}
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__value {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.stat__value span { color: var(--accent); font-size: 0.6em; }
.stat__label {
  margin-top: 10px;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.45;
}

/* ---------- cards ---------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--ink-2);
  padding: clamp(22px, 2.6vw, 32px);
  transition: background 0.3s var(--ease);
}
.card:hover { background: var(--panel); }
.card__tag {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.card h3 { margin-top: 14px; }
.card p { margin-top: 12px; color: var(--muted); font-size: 0.94rem; }
/* a stat block can live inside a card (about page) — keep its display type */
.card p.stat__value {
  margin-top: 0;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}

/* capability cards */
.capability { min-height: 260px; }
.capability__num {
  position: absolute;
  right: 24px;
  top: 20px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted-2);
}
.capability__icon {
  width: 40px;
  height: 40px;
  color: var(--accent);
  margin-bottom: 26px;
}
.capability ul {
  margin-top: 18px;
  display: grid;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--muted);
}
.capability ul li { display: flex; gap: 10px; }
.capability ul li::before {
  content: "";
  flex: none;
  width: 5px;
  height: 5px;
  margin-top: 8px;
  background: var(--accent);
  opacity: 0.7;
}

/* ---------- fleet cards ---------- */
.fleet-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--ink-2);
  transition: background 0.35s var(--ease);
  overflow: hidden;
}
.fleet-card:hover { background: var(--panel); }
.fleet-card__media {
  position: relative;
  padding: 26px 26px 6px;
  background:
    radial-gradient(70% 90% at 50% 10%, rgba(242, 178, 49, 0.07), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
  border-bottom: 1px solid var(--line);
}
.fleet-card__media img,
.fleet-card__media svg { width: 100%; height: auto; }
.fleet-card__badge {
  position: absolute;
  left: 20px;
  top: 18px;
  padding: 5px 9px;
  border: 1px solid var(--line-strong);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(7, 10, 14, 0.6);
}
.fleet-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px clamp(20px, 2.4vw, 28px) 28px;
}
.fleet-card__role {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.fleet-card h3 { margin-top: 10px; font-size: 1.35rem; }
.fleet-card p { margin-top: 10px; color: var(--muted); font-size: 0.92rem; }

.specs {
  margin-top: 22px;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.specs div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.82rem;
}
.specs dt, .specs span:first-child { color: var(--muted-2); }
.specs dd, .specs span:last-child {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text);
}
.fleet-card__foot {
  margin-top: auto;
  padding-top: 24px;
}

/* ---------- split feature ---------- */
.feature-media {
  position: relative;
  border: 1px solid var(--line);
  background: var(--ink-2);
  padding: clamp(20px, 3vw, 36px);
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.feature-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(233, 240, 248, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(233, 240, 248, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent 85%);
  -webkit-mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent 85%);
}
.feature-media svg,
.feature-media img { position: relative; width: 100%; height: auto; }

.feature-list {
  display: grid;
  gap: 0;
  margin-top: 30px;
  border-top: 1px solid var(--line);
}
.feature-list > div {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(44px, max-content) 1fr;
  gap: 8px 16px;
}
.feature-list dt {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent);
  padding-top: 4px;
}
.feature-list dd { margin: 0; }
.feature-list dd strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
}
.feature-list dd span { color: var(--muted); font-size: 0.88rem; }

/* ---------- process ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  counter-reset: step;
}
.process__step {
  position: relative;
  background: var(--ink-2);
  padding: 30px clamp(18px, 2.4vw, 28px) 34px;
  min-height: 250px;
}
.process__step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: var(--accent);
}
.process__step h3 {
  margin-top: 44px;
  font-size: 1.1rem;
}
.process__step p { margin-top: 10px; font-size: 0.86rem; color: var(--muted); }
.process__step::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.5s var(--ease);
}
.process__step:hover::after { width: 100%; }

/* ---------- quote / testimonial ---------- */
.quote {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.quote blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.4vw, 1.85rem);
  line-height: 1.35;
  letter-spacing: -0.02em;
  text-wrap: pretty;
}
.quote blockquote em { color: var(--accent); font-style: normal; }
.quote figcaption {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.86rem;
  color: var(--muted);
}
.quote__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--panel-2);
  border: 1px solid var(--line-strong);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent);
  flex: none;
}
.quote__side {
  border-left: 2px solid var(--accent);
  padding-left: 24px;
  display: grid;
  gap: 22px;
}
.quote__side div { display: grid; gap: 4px; }
.quote__side strong {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: -0.02em;
}
.quote__side span { font-size: 0.82rem; color: var(--muted); }

/* ---------- marquee ---------- */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding-block: 18px;
  background: var(--ink-2);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee__track span {
  display: inline-flex;
  align-items: center;
  gap: 48px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-2);
  white-space: nowrap;
}
.marquee__track span::after {
  content: "+";
  color: var(--accent);
  opacity: 0.6;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background:
    radial-gradient(60% 120% at 15% 0%, rgba(242, 178, 49, 0.14), transparent 60%),
    var(--ink-2);
}
.cta-band__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-block: clamp(48px, 7vw, 88px);
}
.cta-band h2 { max-width: 22ch; }
.cta-band p { margin-top: 16px; max-width: 46ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- footer ---------- */
.footer {
  padding-top: clamp(48px, 6vw, 72px);
  background: var(--ink);
}
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 0.7fr));
  gap: 40px;
  padding-bottom: 48px;
}
.footer__about p {
  margin-top: 18px;
  max-width: 34ch;
  font-size: 0.88rem;
  color: var(--muted);
}
.footer h4 {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 500;
}
.footer__col ul { margin-top: 16px; display: grid; gap: 10px; }
.footer__col a {
  font-size: 0.9rem;
  color: var(--muted);
  transition: color 0.2s var(--ease);
}
.footer__col a:hover { color: var(--accent); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 24px 32px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--muted-2);
  text-transform: uppercase;
}
.footer__bottom .legal { display: flex; gap: 20px; }
.footer__bottom a:hover { color: var(--text); }

/* ---------- page header (subpages) ---------- */
.page-head {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(56px, 8vw, 104px));
  padding-bottom: clamp(40px, 6vw, 64px);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.page-head::before {
  content: "";
  position: absolute;
  inset: -60% -10% auto 40%;
  height: 640px;
  background: radial-gradient(closest-side, rgba(242, 178, 49, 0.12), transparent 70%);
  pointer-events: none;
}
.page-head__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 26px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.page-head__meta span { display: inline-flex; align-items: center; gap: 8px; }
.page-head__meta span::before {
  content: "";
  width: 4px;
  height: 4px;
  background: var(--accent);
  opacity: 0.8;
}

.breadcrumb {
  display: flex;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 26px;
}
.breadcrumb a:hover { color: var(--text); }
.breadcrumb span { opacity: 0.5; }

/* ---------- fleet detail rows ---------- */
.model {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding-block: clamp(40px, 6vw, 72px);
  border-bottom: 1px solid var(--line);
}
.model:last-child { border-bottom: 0; }
.model:nth-child(even) .model__media { order: 2; }
.model__media {
  border: 1px solid var(--line);
  background:
    radial-gradient(70% 70% at 50% 40%, rgba(242, 178, 49, 0.07), transparent 70%),
    var(--ink-2);
  padding: clamp(16px, 3vw, 32px);
}
.model__kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.model__kicker .pill {
  padding: 4px 8px;
  border: 1px solid var(--line-strong);
  color: var(--muted);
  letter-spacing: 0.12em;
}
.model h2 { margin-top: 16px; }
.model p { margin-top: 16px; color: var(--muted); }
.model .specs { margin-top: 26px; }
.model__actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); }
table.compare {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  font-size: 0.86rem;
}
table.compare th,
table.compare td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
table.compare thead th {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 500;
  background: var(--ink-2);
}
table.compare td:first-child { color: var(--muted); }
table.compare td:not(:first-child) {
  font-family: var(--font-mono);
  font-size: 0.8rem;
}
table.compare tbody tr:hover { background: rgba(255, 255, 255, 0.02); }

/* ---------- forms ---------- */
.form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
}
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  background: var(--ink-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--text);
  font: inherit;
  font-size: 0.94rem;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: #55647a; opacity: 1; }
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: rgba(233, 240, 248, 0.28); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--panel);
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.field .hint { font-size: 0.76rem; color: var(--muted-2); }
.field .error { font-size: 0.76rem; color: #ff8f6b; display: none; }
.field.has-error input,
.field.has-error textarea,
.field.has-error select { border-color: #ff8f6b; }
.field.has-error .error { display: block; }

.form-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.78rem;
  color: var(--muted-2);
  margin-top: 18px;
}
.form-note svg { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--accent); }

.form-success {
  display: none;
  border: 1px solid rgba(47, 191, 125, 0.4);
  background: rgba(47, 191, 125, 0.07);
  padding: 20px;
  border-radius: var(--radius);
  margin-bottom: 24px;
}
.form-success.is-visible { display: block; }
.form-success strong { display: block; font-family: var(--font-display); }
.form-success p { margin-top: 6px; font-size: 0.88rem; color: var(--muted); }

/* contact aside */
.contact-aside { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.contact-aside > div { background: var(--ink-2); padding: 24px; }
.contact-aside h3 {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 500;
}
.contact-aside p { margin-top: 10px; font-size: 0.92rem; }
.contact-aside a { color: var(--accent); }
.contact-aside a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- about page ---------- */
.timeline { border-top: 1px solid var(--line); }
.timeline__row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.timeline__year {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--accent);
  letter-spacing: 0.1em;
}
.timeline__row p { margin-top: 6px; color: var(--muted); font-size: 0.92rem; }

.team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.team__member { background: var(--ink-2); padding: 26px; }
.team__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--panel-2), var(--ink));
  border: 1px solid var(--line-strong);
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--accent);
  margin-bottom: 20px;
}
.team__member h3 { font-size: 1.02rem; }
.team__member span { font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.team__member p { margin-top: 12px; font-size: 0.86rem; color: var(--muted); }

.values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.value { background: var(--ink-2); padding: clamp(24px, 3vw, 34px); }
.value h3 { font-size: 1.05rem; }
.value p { margin-top: 10px; color: var(--muted); font-size: 0.9rem; }

.map-frame {
  position: relative;
  border: 1px solid var(--line);
  background: var(--ink-2);
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.map-frame svg { width: 100%; height: 100%; }

/* ---------- reveal animation ---------- */
/* Only hide content once JS has confirmed it is running; no-JS visitors see
   everything immediately. */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--d, 0ms);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .header__cta .btn { display: none; }
  .menu-toggle { display: inline-flex; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 620px; margin-inline: auto; width: 100%; }
  .footer__top { grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, 1fr)); row-gap: 32px; }
}

@media (max-width: 900px) {
  .grid-3, .process, .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .model, .quote { grid-template-columns: 1fr; }
  .model:nth-child(even) .model__media { order: 0; }
  .stat-strip__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { border-top: 1px solid var(--line); padding: 24px; }
  .stat:nth-child(-n + 2) { border-top: 0; }
  .stat:first-child { padding-left: 24px; }
  .stat:nth-child(odd) { border-left: 0; }
  .form-grid { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .grid-2, .grid-3, .grid-4, .process, .team { grid-template-columns: 1fr; }
  .section-head { align-items: start; }
  .hero__badge { position: static; margin-top: 18px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__about { grid-column: 1 / -1; }
  .cta-band__actions .btn { width: 100%; }
  .timeline__row { grid-template-columns: 1fr; gap: 8px; }
  .brand__sa { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal, .js .reveal { opacity: 1; transform: none; }
}
