/* =========================================================
   AeroNova — v2
   Redesigned with: impeccable-design-polish,
                    emilkowalski-motion,
                    web-design-guidelines,
                    redesign-existing-projects
   ========================================================= */

/* ------------------------------------------------------------
   1. Tokens — single accent, off-black, desaturated
   ------------------------------------------------------------ */
:root {
  /* Off-black surfaces (no pure #000) */
  --ink-0: #0b0d12;
  --ink-1: #11141b;
  --ink-2: #161a23;
  --ink-3: #1d222d;
  --ink-4: #2a2f3b;

  /* Cool gray scale (single family) */
  --g-0: #e8ecf2;
  --g-1: #cbd2dc;
  --g-2: #9aa4b2;
  --g-3: #7a8492;
  --g-4: #5a6470;
  --g-5: #3a4250;
  --g-6: #252a34;

  /* Single accent — desaturated warm amber (not AI-blue/purple) */
  --accent: #f5a524;
  --accent-soft: #ffcf6e;
  --accent-glow: rgba(245, 165, 36, 0.18);
  --accent-ink: #0b0d12;

  /* Status (used very sparingly) */
  --good: #3aff8a;
  --bad:  #ff6b6b;

  /* Borders tinted with background hue */
  --line: rgba(232, 236, 242, 0.06);
  --line-strong: rgba(232, 236, 242, 0.12);

  /* Type */
  --font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: ui-monospace, 'SF Mono', 'JetBrains Mono', 'Cascadia Code', Menlo, monospace;
  --font-serif: 'Source Serif Pro', 'Iowan Old Style', 'Apple Garamond', Georgia, serif;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);

  /* Layout */
  --container: 1200px;
  --pad: clamp(1.25rem, 4vw, 2rem);
  --section-y: clamp(4rem, 9vw, 7rem);

  /* Radius — varied, not uniform */
  --r-1: 6px;
  --r-2: 10px;
  --r-3: 18px;
  --r-4: 28px;
}

/* ------------------------------------------------------------
   2. Reset + safe overflow (no horizontal scroll on mobile)
   ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  /* overflow-x: clip is stricter than hidden — does not create scroll context */
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-feature-settings: 'cv11', 'ss01', 'ss03';
  font-size: 16px;
  line-height: 1.55;
  color: var(--g-0);
  background: var(--ink-0);
  overflow-x: clip;          /* belt + suspenders */
  position: relative;
  min-height: 100dvh;        /* dvh, not vh — fixes iOS Safari mobile jump */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
em { font-style: italic; }

/* Skip link for keyboard users */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--g-0);
  color: var(--ink-0);
  padding: .75rem 1rem;
  border-radius: var(--r-1);
  z-index: 100;
  font-weight: 600;
  transition: top .15s var(--ease);
}
.skip-link:focus { top: 1rem; outline: 2px solid var(--accent); }

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

/* Focus ring — visible everywhere */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ------------------------------------------------------------
   3. Container
   ------------------------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* ------------------------------------------------------------
   4. Sky background (decorative, clipped — no overflow)
   ------------------------------------------------------------ */
.sky {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: -1;
  pointer-events: none;
  overflow: clip;
  contain: strict;
  background:
    radial-gradient(ellipse 60% 40% at 20% 0%, rgba(245, 165, 36, 0.05), transparent 70%),
    radial-gradient(ellipse 60% 40% at 100% 30%, rgba(122, 132, 146, 0.06), transparent 70%),
    var(--ink-0);
}

.cloud {
  position: absolute;
  display: block;
  width: min(40vmax, 320px);
  height: min(40vmax, 320px);
  border-radius: 50%;
  filter: blur(60px);
  opacity: .35;
  will-change: transform;
  /* keep them inside the viewport, no overflow */
  inset: auto auto auto auto;
}
.c1 { top: -10%; left: -10%; background: radial-gradient(circle, var(--g-4), transparent 60%); animation: drift 60s linear infinite; }
.c2 { top: 20%; right: -15%; background: radial-gradient(circle, var(--accent), transparent 60%); opacity: .08; animation: drift-r 80s linear infinite; }
.c3 { bottom: -20%; left: 20%; background: radial-gradient(circle, var(--g-5), transparent 60%); animation: drift 90s linear infinite; animation-delay: -30s; }
.c4 { top: 50%; left: 40%; background: radial-gradient(circle, var(--g-6), transparent 60%); animation: drift-r 120s linear infinite; }

@keyframes drift {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(min(8vmax, 80px), min(4vmax, 40px), 0); }
}
@keyframes drift-r {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(min(-8vmax, -80px), min(-4vmax, -40px), 0); }
}

/* ------------------------------------------------------------
   5. Navigation
   ------------------------------------------------------------ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 1rem 0;
  transition: background .25s var(--ease), backdrop-filter .25s var(--ease), border-color .25s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(11, 13, 18, .75);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -.01em;
  color: var(--g-0);
}
.brand-mark {
  width: 22px; height: 22px;
  color: var(--accent);
  transition: transform .5s var(--ease);
}
.brand:hover .brand-mark { transform: rotate(-15deg); }
.nav-links {
  display: flex;
  gap: 1.75rem;
  font-size: .92rem;
  color: var(--g-2);
}
.nav-links a {
  position: relative;
  transition: color .15s var(--ease);
}
.nav-links a:hover { color: var(--g-0); }
.nav-cta { white-space: nowrap; }

@media (max-width: 720px) {
  .nav-links { display: none; }
}

/* ------------------------------------------------------------
   6. Buttons (consistent motion language)
   ------------------------------------------------------------ */
.btn {
  --btn-pad-y: .75rem;
  --btn-pad-x: 1.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: var(--btn-pad-y) var(--btn-pad-x);
  font-weight: 500;
  font-size: .92rem;
  line-height: 1;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease), box-shadow .18s var(--ease);
  user-select: none;
  /* prevent text from forcing width on mobile */
  max-width: 100%;
}
.btn-sm { --btn-pad-y: .55rem; --btn-pad-x: .9rem; font-size: .85rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 6px 20px -8px var(--accent-glow);
}
.btn-primary:hover { background: var(--accent-soft); transform: translateY(-1px); box-shadow: 0 10px 24px -8px var(--accent-glow); }
.btn-primary:active { transform: translateY(0) scale(.99); }

.btn-ghost {
  background: transparent;
  color: var(--g-0);
  border-color: var(--line-strong);
}
.btn-ghost:hover { background: var(--ink-2); border-color: var(--g-4); }

.btn-text {
  background: transparent;
  color: var(--g-0);
  padding-inline: .25rem;
  border-radius: 0;
  position: relative;
}
.btn-text::after {
  content: '';
  position: absolute;
  left: .25rem; right: 1.6rem; bottom: .4rem;
  height: 1px;
  background: var(--g-0);
  transform-origin: left;
  transition: transform .25s var(--ease);
}
.btn-text:hover::after { transform: scaleX(0); transform-origin: right; }
.btn-text:hover { color: var(--accent); }

/* ------------------------------------------------------------
   7. Eyebrow + section heads
   ------------------------------------------------------------ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--g-2);
  margin-bottom: 1.25rem;
}
.eyebrow-line {
  color: var(--accent);
}
.eyebrow .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--good);
  box-shadow: 0 0 8px var(--good);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .35; }
}

.section { padding-block: var(--section-y); }
.section-head { max-width: 38ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head h2 {
  font-size: clamp(1.85rem, 4.2vw, 3rem);
  line-height: 1.05;
  letter-spacing: -.025em;
  font-weight: 600;
  text-wrap: balance;
}
.section-head h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--g-1);
}

/* ------------------------------------------------------------
   8. Hero
   ------------------------------------------------------------ */
.hero {
  padding-top: clamp(4rem, 10vw, 8rem);
  padding-bottom: var(--section-y);
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
}

.hero-copy { max-width: 38ch; }
.hero-title {
  font-size: clamp(2.5rem, 6.5vw, 4.5rem);
  line-height: 1;
  letter-spacing: -.035em;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-wrap: balance;
}
.hero-title .line { display: block; }
.hero-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--g-2);
}
.hero-lede {
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.6;
  color: var(--g-2);
  margin-bottom: 2rem;
  max-width: 36ch;
}
.hero-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
@media (max-width: 420px) {
  .hero-stats { grid-template-columns: 1fr; gap: 1rem; }
}
.hero-stats dt {
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--g-3);
  margin-bottom: .35rem;
}
.hero-stats dd {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 600;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.hero-stats dd small {
  font-size: .55em;
  font-weight: 500;
  color: var(--g-3);
  margin-left: .15em;
  letter-spacing: 0;
}

/* ----- Hero stage (clipped — never causes horizontal overflow) ----- */
.hero-stage {
  position: relative;
  aspect-ratio: 4 / 3;
  max-width: 100%;
  border-radius: var(--r-3);
  overflow: clip;
  background: var(--ink-1);
  border: 1px solid var(--line);
  isolation: isolate;
}
.stage-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(245, 165, 36, .08), transparent 50%),
    radial-gradient(circle at 80% 90%, rgba(122, 132, 146, .12), transparent 60%),
    var(--ink-1);
}
.stage-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(232, 236, 242, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 236, 242, .04) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 80% 80% at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at center, black 30%, transparent 80%);
}
.airplane {
  position: absolute;
  top: 50%; left: 0;
  width: 70%;
  max-width: 360px;
  transform: translateY(-50%);
  color: var(--accent);
  animation: fly 14s linear infinite;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, .35));
  will-change: transform;
}
.airplane svg { width: 100%; height: auto; }
.contrail {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: draw 3.5s linear infinite;
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fly {
  0%   { transform: translate(8%, -50%); opacity: 0; }
  10%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { transform: translate(110%, -50%); opacity: 0; }
}

.stage-orbit {
  position: absolute;
  bottom: 12%;
  right: 8%;
  width: 110px; height: 110px;
}
.orb {
  position: absolute; inset: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  animation: spin 16s linear infinite;
}
.orb.o2 { inset: 18%; animation-duration: 11s; animation-direction: reverse; border-color: rgba(245, 165, 36, .3); }
.orb.o3 { inset: 36%; animation-duration: 7s; }
.orb::after {
  content: '';
  position: absolute;
  top: -3px; left: 50%;
  width: 6px; height: 6px;
  margin-left: -3px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--accent);
}
.orb.o2::after { background: var(--g-1); box-shadow: 0 0 8px var(--g-1); }
.orb.o3::after { background: var(--good); box-shadow: 0 0 8px var(--good); }
@keyframes spin { to { transform: rotate(360deg); } }

.stage-label {
  position: absolute;
  top: 1rem; left: 1rem;
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--g-2);
  background: rgba(11, 13, 18, .6);
  backdrop-filter: blur(6px);
  padding: .35rem .65rem;
  border-radius: var(--r-1);
  border: 1px solid var(--line);
}

/* ----- Hero marquee (logos) ----- */
.hero-marquee {
  margin-top: clamp(3rem, 6vw, 5rem);
  border-block: 1px solid var(--line);
  padding-block: 1.25rem;
  /* explicit width + double clip: bullet-proof against any mobile browser */
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  overflow: clip;
  contain: layout paint;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.marquee-track {
  display: inline-flex;
  gap: 2.5rem;
  font-family: var(--font-mono);
  font-size: .82rem;
  color: var(--g-3);
  letter-spacing: .04em;
  white-space: nowrap;
  animation: marquee 40s linear infinite;
  will-change: transform;
}
.marquee-track span { flex-shrink: 0; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ------------------------------------------------------------
   9. Fleet (zig-zag, NOT 3 equal cards)
   ------------------------------------------------------------ */
.fleet { background: linear-gradient(180deg, transparent, var(--ink-1) 30%, var(--ink-1) 70%, transparent); }

.fleet-grid {
  display: flex;
  flex-direction: column;
  gap: clamp(3rem, 6vw, 5rem);
}
.fleet-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.fleet-row.reverse { direction: rtl; }
.fleet-row.reverse > * { direction: ltr; }
@media (max-width: 800px) {
  .fleet-row, .fleet-row.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
}
.fleet-art {
  border-radius: var(--r-3);
  overflow: clip;
  border: 1px solid var(--line);
  aspect-ratio: 16 / 9;
}
.fleet-art svg { width: 100%; height: 100%; display: block; }
.fleet-body { max-width: 44ch; }
.kicker {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .75rem;
}
.fleet-body h3 {
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.1;
  margin-bottom: 1rem;
}
.fleet-body p {
  color: var(--g-2);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}
.specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 1.5rem;
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
}
.specs > div { display: flex; flex-direction: column; }
.specs dt {
  font-family: var(--font-mono);
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--g-3);
  margin-bottom: .2rem;
}
.specs dd {
  font-size: 1rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--g-0);
}

/* ------------------------------------------------------------
   10. Engineering (asymmetric 2-col)
   ------------------------------------------------------------ */
.eng-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
@media (max-width: 900px) {
  .eng-grid { grid-template-columns: 1fr; }
}
.eng-copy h2 {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  line-height: 1.05;
  letter-spacing: -.025em;
  font-weight: 600;
  margin-bottom: 1rem;
  text-wrap: balance;
}
.eng-copy .lede {
  color: var(--g-2);
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 36ch;
}
.eng-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
}
.eng-list li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
  transition: padding .2s var(--ease);
}
.eng-list li:hover { padding-left: .5rem; }
.eng-list .num {
  font-family: var(--font-mono);
  font-size: .85rem;
  color: var(--accent);
  font-weight: 500;
  padding-top: .15rem;
}
.eng-list h3 {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -.01em;
  margin-bottom: .4rem;
}
.eng-list p {
  color: var(--g-2);
  font-size: .95rem;
  line-height: 1.55;
}

/* ------------------------------------------------------------
   11. Cabin
   ------------------------------------------------------------ */
.cabin { background: var(--ink-1); }
.cabin .section-head { max-width: 28ch; margin-inline: auto; text-align: center; }
.cabin .section-head h2 em { color: var(--accent); }
.cabin-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  max-width: 1080px;
  margin-inline: auto;
}
@media (max-width: 760px) { .cabin-list { grid-template-columns: 1fr; } }

.cabin-list li {
  padding: 2rem 1.75rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background .2s var(--ease);
}
.cabin-list li:hover { background: var(--ink-2); }
.cnum {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--accent);
  font-size: 1.1rem;
  display: block;
  margin-bottom: .75rem;
}
.cabin-list h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: .5rem;
  letter-spacing: -.01em;
}
.cabin-list p {
  color: var(--g-2);
  font-size: .92rem;
  line-height: 1.55;
}

/* ------------------------------------------------------------
   12. Contact / CTA
   ------------------------------------------------------------ */
.contact { padding-bottom: clamp(4rem, 8vw, 7rem); }
.contact-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  padding: clamp(2rem, 4vw, 3rem);
  background: var(--ink-1);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-4);
  align-items: start;
}
@media (max-width: 820px) {
  .contact-card { grid-template-columns: 1fr; }
}
.contact-copy h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.02em;
  margin: .75rem 0 1rem;
  text-wrap: balance;
}
.contact-copy p { color: var(--g-2); line-height: 1.6; }

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.field { display: flex; flex-direction: column; gap: .35rem; }
.field-wide { grid-column: 1 / -1; }
.field span {
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--g-3);
}
.field span em { color: var(--g-4); font-style: normal; }
.field input, .field select, .field textarea {
  background: var(--ink-0);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-2);
  padding: .75rem .9rem;
  color: var(--g-0);
  font-size: .95rem;
  transition: border-color .15s var(--ease), background .15s var(--ease);
  width: 100%;
  max-width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--ink-2);
}
.field textarea { resize: vertical; min-height: 80px; }
.field input::placeholder, .field textarea::placeholder { color: var(--g-4); }
.field input:user-invalid { border-color: var(--bad); }

.contact-form .btn-block { grid-column: 1 / -1; margin-top: .5rem; }
.form-status {
  grid-column: 1 / -1;
  font-size: .9rem;
  min-height: 1.2em;
  color: var(--good);
}
.form-status.error { color: var(--bad); }

/* ------------------------------------------------------------
   13. Footer
   ------------------------------------------------------------ */
.footer {
  border-top: 1px solid var(--line);
  padding-block: 2.5rem;
  font-size: .85rem;
  color: var(--g-3);
}
.footer-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: center;
}
@media (max-width: 720px) {
  .footer-row { grid-template-columns: 1fr; text-align: left; gap: 1.5rem; }
  .footer-meta { text-align: left; }
}
.brand-line { color: var(--g-0); font-weight: 600; font-size: 1rem; display: block; margin-bottom: .25rem; }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { transition: color .15s var(--ease); }
.footer-links a:hover { color: var(--g-0); }
.footer-meta { text-align: right; }
@media (max-width: 720px) { .footer-meta { text-align: left; } }

/* ------------------------------------------------------------
   14. Reveal animation (restrained — single ease, no delay cascade)
   ------------------------------------------------------------ */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ------------------------------------------------------------
   15. Reduced motion — strip everything
   ------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ------------------------------------------------------------
   16. Mobile-specific tightenings (covers < 380px)
   ------------------------------------------------------------ */
@media (max-width: 480px) {
  :root { --pad: 1rem; --section-y: 3.5rem; }
  .hero { padding-top: 5rem; }
  .nav-cta { padding: .5rem .75rem; font-size: .8rem; }
  .hero-cta { gap: .75rem; }
  .contact-form { grid-template-columns: 1fr; }
  .marquee-track { gap: 1.75rem; font-size: .75rem; }
  .fleet-body h3 { font-size: 1.4rem; }
  .specs { grid-template-columns: 1fr 1fr; }
  .hero-stats { gap: 1rem; }
}

/* Hard cap on smallest devices (iPhone SE 1st gen = 320px) */
@media (max-width: 360px) {
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
}
