/* ==========================================================================
   AIRFINANCE — monochrome design system
   black / white / darker greys · Archivo + Inter + IBM Plex Mono
   ========================================================================== */

:root {
  --black: #0A0A0B;
  --black-2: #121214;
  --grey-900: #18181B;
  --grey-800: #232327;
  --grey-700: #2E2E33;
  --grey-500: #6E6E75;
  --grey-400: #8E8E95;
  --grey-300: #B5B5BA;
  --white: #F4F4F2;
  --white-pure: #FFFFFF;

  --ink: #0E0E10;            /* headings on light */
  --body-light: #3F3F45;     /* body on light */
  --body-dark: #ABABB2;      /* body on dark */
  --line-l: rgba(14, 14, 16, 0.14);
  --line-d: rgba(244, 244, 242, 0.14);

  --display: "Archivo", "Helvetica Neue", sans-serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", monospace;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-power: cubic-bezier(0.76, 0, 0.24, 1);

  --nav-h: 78px;
  --section-pad: clamp(96px, 11vw, 170px);
}

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

html { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--body-light);
  background: var(--black);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

.container { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: clamp(22px, 5vw, 56px); }

.section { padding-block: var(--section-pad); position: relative; }
.section.light { background: var(--white); color: var(--body-light); }
.section.dark { background: var(--black); color: var(--body-dark); }
section[id] { scroll-margin-top: calc(var(--nav-h) - 10px); }

/* ---------- typography ---------- */
h1, h2, h3, .h2 {
  font-family: var(--display);
  font-weight: 640;
  font-stretch: 115%;
  text-transform: uppercase;
  letter-spacing: -0.015em;
  line-height: 0.96;
  color: var(--ink);
}
.dark h2, .dark h3, .dark .h2 { color: var(--white); }

.h2 { font-size: clamp(34px, 4.8vw, 64px); }

.eyebrow {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--grey-500);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}
.eyebrow::before { content: ""; width: 30px; height: 1px; background: currentColor; }
.eyebrow.on-dark { color: var(--grey-400); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: clamp(44px, 6vw, 76px);
}
.section-lede { max-width: 380px; font-size: 15px; padding-bottom: 10px; }

/* char-split headline pieces */
.word { display: inline-block; white-space: nowrap; }
.ch { display: inline-block; white-space: pre; }
.js [data-chars] .ch,
.js [data-chars-scroll] .ch {
  transform: translateY(62%) rotate(1.5deg);
  opacity: 0;
}
.js .chars-in .ch,
.js [data-chars-scroll].chars-in .ch {
  animation: ch-rise 0.6s var(--ease-out) forwards;
  animation-delay: calc(var(--i) * 0.014s + var(--d, 0s));
}
[data-chars], [data-chars-scroll] { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
@keyframes ch-rise { to { transform: translateY(0) rotate(0); opacity: 1; } }

/* rise line masks */
[data-rise] { display: block; overflow: hidden; }
[data-rise] > span { display: inline-block; }
.js [data-rise] > span { transform: translateY(115%); opacity: 0.001; }
.js .is-ready [data-rise] > span,
.js [data-rise].rise-in > span {
  animation: rise 0.9s var(--ease-out) forwards;
  animation-delay: var(--d, 0s);
}
@keyframes rise { to { transform: translateY(0); opacity: 1; } }

/* ---------- buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  border-radius: 2px;
  overflow: hidden;
  transition: color 0.35s var(--ease-power), border-color 0.3s, transform 0.45s var(--ease-out);
  z-index: 1;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: currentColor;
  transform: translateY(101%);
  transition: transform 0.45s var(--ease-power);
  z-index: -1;
}
.btn:hover { transform: translateY(-2px); }

.btn-light { background: var(--white); color: var(--ink); }
.btn-light::after { background: var(--ink); }
.btn-light:hover { color: var(--white); }
.btn-light:hover::after { transform: translateY(0); }

.btn-solid { background: var(--white); color: var(--ink); }
.btn-solid::after { background: var(--grey-800); }
.btn-solid:hover { color: var(--white); }
.btn-solid:hover::after { transform: translateY(0); }

.btn-line { border: 1px solid var(--line-d); color: var(--white); background: transparent; }
.btn-line::after { background: var(--white); }
.btn-line:hover { color: var(--ink); border-color: var(--white); }
.btn-line:hover::after { transform: translateY(0); }
.section.light .btn-line { border-color: var(--line-l); color: var(--ink); }
.section.light .btn-line::after { background: var(--ink); }
.section.light .btn-line:hover { color: var(--white); }

.btn-sm { padding: 12px 22px; font-size: 11.5px; }
.btn-lg { padding: 20px 38px; font-size: 13.5px; }

/* ---------- scroll-following jets (behind content, above section bg) ---------- */
.skyjets {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.skyjets svg { width: 100%; height: 100%; display: block; }
.section > .container,
.mfr-marquee,
.miles-outer,
.footer .container { position: relative; z-index: 2; }
.footer { position: relative; }
.hero-pin { z-index: 3; }
@media (prefers-reduced-motion: reduce) { .skyjets { display: none; } }

/* ---------- scroll progress ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 1001; }
.progress span { display: block; height: 100%; width: 0%; background: var(--white); mix-blend-mode: difference; }

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: transform 0.5s var(--ease-out), background-color 0.35s ease, border-color 0.35s ease;
  border-bottom: 1px solid transparent;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--nav-h); }
.nav.is-scrolled {
  background: rgba(10, 10, 11, 0.78);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--line-d);
}
.brand-img { height: 26px; width: auto; }
.footer-brand img { height: 30px; width: auto; }

.nav-links { display: flex; gap: 32px; }
.nav-links a {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-300);
  padding: 6px 0;
  transition: color 0.25s;
}
.nav-links a:hover, .nav-links a.is-active { color: var(--white); }

/* roll-over flip */
[data-flip] { display: inline-block; overflow: hidden; position: relative; }
[data-flip] .flip-a, [data-flip] .flip-b { display: block; transition: transform 0.4s var(--ease-power); }
[data-flip] .flip-b { position: absolute; inset: 0; transform: translateY(100%); }
a:hover > [data-flip] .flip-a { transform: translateY(-100%); }
a:hover > [data-flip] .flip-b { transform: translateY(0); }

.nav-actions { display: flex; align-items: center; gap: 16px; }
.nav-toggle { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 6px; width: 42px; height: 42px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--white); transition: transform 0.4s var(--ease-out); }
body.menu-open .nav-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
body.menu-open .nav-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(10, 10, 11, 0.96);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px clamp(28px, 8vw, 64px) 48px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease, visibility 0.45s;
}
body.menu-open .menu-overlay { opacity: 1; visibility: visible; }
.menu-links { display: flex; flex-direction: column; gap: 4px; }
.menu-links a {
  font-family: var(--display);
  font-stretch: 115%;
  font-weight: 600;
  text-transform: uppercase;
  font-size: clamp(30px, 7.5vw, 42px);
  color: var(--white);
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 8px 0;
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.55s var(--ease-out), transform 0.55s var(--ease-out), color 0.3s;
}
.menu-links a small { font-family: var(--mono); font-size: 11px; color: var(--grey-500); letter-spacing: 0.15em; }
.menu-links a:hover { color: var(--grey-400); }
body.menu-open .menu-links a { opacity: 1; transform: none; }
body.menu-open .menu-links a:nth-child(1) { transition-delay: 0.06s; }
body.menu-open .menu-links a:nth-child(2) { transition-delay: 0.12s; }
body.menu-open .menu-links a:nth-child(3) { transition-delay: 0.18s; }
body.menu-open .menu-links a:nth-child(4) { transition-delay: 0.24s; }
body.menu-open .menu-links a:nth-child(5) { transition-delay: 0.30s; }
body.menu-open .menu-links a:nth-child(6) { transition-delay: 0.36s; }
body.menu-open .menu-links a:nth-child(7) { transition-delay: 0.42s; }
.menu-foot { margin-top: auto; display: flex; flex-direction: column; gap: 6px; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.14em; color: var(--grey-500); }
.menu-foot a { color: var(--white); }

/* ==========================================================================
   HERO — full-bleed private jet film
   ========================================================================== */
.hero {
  position: relative;
  height: 100svh;
  background: var(--black);
  color: var(--body-dark);
}
.hero-pin {
  position: relative;
  height: 100%;
  overflow: clip;
}
.hero-media { position: absolute; inset: 0; background: var(--black); }
.hero-media video,
.hero-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.35) contrast(1.04);
}
.hero-media video { will-change: transform; }       /* video paints above the poster on desktop */
.hero-poster { object-position: center 50%; }
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,11,0.55) 0%, rgba(10,10,11,0.18) 38%, rgba(10,10,11,0.62) 78%, rgba(10,10,11,0.92) 100%);
}

.hero-content {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 110px;
  padding-top: calc(var(--nav-h) + 30px);
  z-index: 4;
}
.hero-kicker { font-family: var(--mono); font-size: 12px; letter-spacing: 0.24em; color: var(--grey-300); margin-bottom: 28px; }
.hero-h1 { margin-bottom: clamp(34px, 5vh, 56px); }
.hero-h1 .ht-line {
  font-family: var(--display);
  font-weight: 640;
  font-stretch: 115%;
  text-transform: uppercase;
  letter-spacing: -0.012em;
  font-size: clamp(44px, 5.8vw, 92px);
  line-height: 0.95;
  color: var(--white-pure);
}
.ht-line { display: block; }
.ht-outline {
  color: transparent !important;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.85);
}
.hero-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line-d);
  padding-top: 28px;
}
.hero-sub { max-width: 460px; font-size: 16px; line-height: 1.7; color: var(--grey-300); }
.hero-cta span { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-marquee {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  border-top: 1px solid var(--line-d);
  background: rgba(10, 10, 11, 0.6);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  overflow: hidden;
  padding-block: 15px;
}
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.hero-marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-row { display: flex; align-items: center; flex: none; }
.marquee-row span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--grey-400);
  padding-inline: 30px;
  white-space: nowrap;
}
.marquee-row i { color: var(--grey-500); font-style: normal; font-size: 10px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   REVEAL SYSTEM
   ========================================================================== */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.js [data-reveal].in-view { opacity: 1; transform: none; }
.js [data-reveal].no-anim { transition: none; }

/* ==========================================================================
   ABOUT
   ========================================================================== */
.manifesto {
  font-family: var(--sans);
  font-size: clamp(24px, 3.1vw, 42px);
  line-height: 1.32;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--ink);
  max-width: 1080px;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.manifesto .w { opacity: 0.12; transition: opacity 0.3s linear; }
.manifesto .w.on { opacity: 1; }
.no-js .manifesto .w { opacity: 1; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line-l);
  margin-bottom: clamp(56px, 7vw, 92px);
}
.stat { padding: clamp(30px, 3.6vw, 48px) clamp(18px, 2.4vw, 36px); border-left: 1px solid var(--line-l); }
.stat:first-child { border-left: 0; }
.stat-num {
  font-family: var(--display);
  font-stretch: 112%;
  font-weight: 640;
  font-size: clamp(42px, 5vw, 72px);
  color: var(--ink);
  line-height: 1;
  margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
}
.stat-suffix { color: var(--grey-400); }
.stat-label { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey-500); max-width: 220px; line-height: 1.6; }

/* Q&A accordion */
.qa { border-top: 1px solid var(--line-l); }
.qa-item { border-bottom: 1px solid var(--line-l); }
.qa-item summary {
  list-style: none;
  display: grid;
  grid-template-columns: 70px 1fr 40px;
  align-items: center;
  gap: 20px;
  padding: 26px 4px;
  cursor: pointer;
  transition: padding 0.4s var(--ease-out);
}
.qa-item summary::-webkit-details-marker { display: none; }
.qa-item summary:hover { padding-left: 16px; }
.qa-num { font-family: var(--mono); font-size: 12px; letter-spacing: 0.15em; color: var(--grey-400); }
.qa-q {
  font-family: var(--display);
  font-stretch: 112%;
  font-weight: 600;
  text-transform: uppercase;
  font-size: clamp(20px, 2.5vw, 32px);
  color: var(--ink);
  letter-spacing: -0.01em;
  transition: color 0.25s;
}
.qa-item summary:hover .qa-q { color: var(--grey-500); }
.qa-icon { position: relative; width: 16px; height: 16px; justify-self: end; }
.qa-icon::before, .qa-icon::after {
  content: "";
  position: absolute;
  background: var(--ink);
  transition: transform 0.4s var(--ease-power);
}
.qa-icon::before { left: 0; top: 7px; width: 16px; height: 2px; }
.qa-icon::after { left: 7px; top: 0; width: 2px; height: 16px; }
.qa-item[open] .qa-icon::after { transform: scaleY(0); }
.qa-a { padding: 0 4px 34px calc(70px + 20px); max-width: 900px; }
.qa-a p { font-size: 16.5px; line-height: 1.75; }
.qa-item[open] .qa-a { animation: qa-in 0.55s var(--ease-out); }
@keyframes qa-in { from { opacity: 0; transform: translateY(-8px); } }

/* ==========================================================================
   EXPERTISE CARDS
   ========================================================================== */
.cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.card {
  position: relative;
  background: var(--grey-900);
  border: 1px solid var(--grey-800);
  border-radius: 4px;
  padding: 30px 26px 34px;
  transition: background-color 0.45s var(--ease-power), transform 0.55s var(--ease-out), border-color 0.3s;
}
.card-idx { position: absolute; top: 24px; right: 24px; font-family: var(--mono); font-size: 11px; color: var(--grey-500); transition: color 0.35s; }
.card-icon { width: 56px; height: 56px; color: var(--white); margin-bottom: 70px; transition: color 0.35s, transform 0.5s var(--ease-out); }
.card-icon svg { width: 100%; height: 100%; }
.card h3 { font-size: 19px; letter-spacing: 0.01em; margin-bottom: 10px; color: var(--white); transition: color 0.35s; }
.card p { font-size: 14px; line-height: 1.65; color: var(--grey-400); transition: color 0.35s; }
.card:hover {
  background: var(--white);
  border-color: var(--white);
  transform: translateY(-8px);
}
.card:hover h3 { color: var(--ink); }
.card:hover p { color: var(--body-light); }
.card:hover .card-icon { color: var(--ink); transform: translateY(-3px); }
.card:hover .card-idx { color: var(--grey-400); }

/* ==========================================================================
   ECA EXPLAINED
   ========================================================================== */
.eca-def {
  font-size: clamp(21px, 2.4vw, 32px);
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  max-width: 880px;
  margin-bottom: clamp(44px, 5vw, 64px);
}
.eca-def strong { font-weight: 600; }

.eca-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: clamp(44px, 5vw, 64px);
}
.eca-point {
  background: var(--white-pure);
  border: 1px solid var(--line-l);
  border-radius: 4px;
  padding: 28px 26px 32px;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out), border-color 0.3s;
}
.eca-point:hover { transform: translateY(-6px); border-color: var(--ink); box-shadow: 0 28px 44px -30px rgba(14,14,16,0.35); }
.point-no {
  display: block;
  font-family: var(--display);
  font-stretch: 115%;
  font-weight: 700;
  font-size: 38px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.1px var(--grey-400);
  margin-bottom: 20px;
}
.eca-point h3 { font-size: 17px; font-stretch: 110%; letter-spacing: 0.02em; margin-bottom: 12px; }
.eca-point p { font-size: 14.5px; line-height: 1.7; }

/* comparison table */
.eca-compare {
  border: 1px solid var(--line-l);
  border-radius: 4px;
  background: var(--white-pure);
  overflow: hidden;
}
.cmp-row {
  display: grid;
  grid-template-columns: 1fr 150px 1fr;
  align-items: center;
  gap: clamp(16px, 2.5vw, 40px);
  padding: 22px clamp(20px, 3vw, 40px);
  border-top: 1px solid var(--line-l);
}
.cmp-row:first-child { border-top: 0; }
.cmp-head {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  background: var(--ink);
  color: var(--white);
  padding-block: 18px;
}
.cmp-head span:last-child { text-align: right; }
.cmp-mid {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--grey-400);
  text-align: center;
}
.cmp-head .cmp-mid { color: var(--grey-500); }
.cmp-row p { font-size: 14.5px; line-height: 1.65; }
.cmp-row p:last-child { text-align: right; color: var(--ink); font-weight: 500; }
.cmp-note {
  font-size: 14px;
  line-height: 1.7;
  color: var(--grey-500);
  padding: 20px clamp(20px, 3vw, 40px) 26px;
  border-top: 1px solid var(--line-l);
  background: var(--white);
}

/* ==========================================================================
   PROCESS — light, single readable column
   ========================================================================== */
.steps {
  list-style: none;
  position: relative;
  padding-left: clamp(26px, 3vw, 40px);
  margin-bottom: clamp(40px, 5vw, 56px);
}
.steps::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--line-l);
}
.steps-fill {
  position: absolute;
  left: 5px;
  top: 8px;
  width: 1px;
  height: 0%;
  max-height: calc(100% - 16px);
  background: var(--ink);
  z-index: 1;
}
.step {
  position: relative;
  display: grid;
  grid-template-columns: clamp(72px, 9vw, 120px) 1fr;
  gap: clamp(20px, 3vw, 44px);
  padding: clamp(30px, 4vw, 44px) 0;
  border-bottom: 1px solid var(--line-l);
}
.step:last-child { border-bottom: 0; }
.step::before {
  content: "";
  position: absolute;
  left: calc(clamp(26px, 3vw, 40px) * -1 + 1px);
  top: clamp(40px, 5vw, 56px);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--ink);
  z-index: 2;
}
.step-no {
  font-family: var(--display);
  font-stretch: 115%;
  font-weight: 700;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 0.9;
  color: transparent;
  -webkit-text-stroke: 1.2px var(--grey-400);
  transition: color 0.4s, -webkit-text-stroke-color 0.4s;
}
.step:hover .step-no { color: var(--ink); -webkit-text-stroke-color: var(--ink); }
.step-body h3 { font-size: clamp(20px, 2.2vw, 27px); margin-bottom: 12px; }
.step-body p { font-size: 16px; line-height: 1.75; max-width: 680px; }
.dd-panel {
  margin-top: 22px;
  border: 1px solid var(--line-l);
  border-radius: 4px;
  background: var(--white-pure);
  padding: 22px 24px;
  max-width: 680px;
}
.dd-panel h4 {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--grey-500);
  margin-bottom: 14px;
}
.dd-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 24px;
}
.dd-list li {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--body-light);
  padding: 8px 0 8px 22px;
  position: relative;
  border-bottom: 1px solid var(--line-l);
}
.dd-list li::before { content: "+"; position: absolute; left: 2px; color: var(--grey-400); }
/* due-diligence checklist tucked behind a dropdown */
.dd-panel summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; list-style: none; }
.dd-panel summary::-webkit-details-marker { display: none; }
.dd-panel summary h4 { margin-bottom: 0; }
.dd-panel summary .qa-icon { width: 14px; height: 14px; flex: none; }
.dd-panel summary .qa-icon::before { top: 6px; width: 14px; }
.dd-panel summary .qa-icon::after { left: 6px; height: 14px; }
.dd-panel[open] summary { margin-bottom: 14px; }
.dd-panel[open] summary .qa-icon::after { transform: scaleY(0); }
.dd-panel[open] .dd-list { animation: qa-in 0.55s var(--ease-out); }
.process-cta { display: flex; justify-content: flex-start; }

/* team stats strip (quantified team experience) */
.team-stats { grid-template-columns: repeat(3, 1fr); margin-bottom: clamp(44px, 6vw, 72px); }

/* ==========================================================================
   GLOBE — where AirFinance has financed
   ========================================================================== */
.globe-sec { background: var(--black); overflow: clip; }
.globe-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(40px, 5vw, 88px);
  align-items: center;
}
.globe-stage { position: relative; }
#globeCanvas {
  width: 100%;
  aspect-ratio: 1;
  display: block;
  cursor: grab;
  touch-action: pan-y;
}
#globeCanvas.dragging { cursor: grabbing; }
.globe-stage { display: flex; flex-direction: column; gap: 20px; }
.globe-readout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  text-align: center;
  border-top: 1px solid var(--line-d);
  padding-top: 18px;
}
.globe-readout-label { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.26em; color: var(--grey-500); }
.globe-active {
  font-family: var(--display);
  font-stretch: 115%;
  font-weight: 650;
  font-size: clamp(20px, 2vw, 27px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #5B9BFF;
  min-height: 1.2em;
}

.globe-lede { max-width: 460px; font-size: 16px; margin-bottom: 30px; }
.globe-stats { display: flex; gap: clamp(24px, 3vw, 52px); border-block: 1px solid var(--line-d); padding-block: 18px; margin-bottom: 26px; }
.globe-stats div { font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; color: var(--grey-500); display: flex; flex-direction: column; gap: 2px; }
.globe-stats div span { font-family: var(--display); font-stretch: 112%; font-weight: 650; font-size: clamp(22px, 2.2vw, 30px); color: var(--white); letter-spacing: 0; }

.globe-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 7px; }
.globe-chips li {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-300);
  border: 1px solid var(--line-d);
  padding: 6px 11px;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}
.globe-chips li:hover { border-color: #2F7DF6; color: var(--white); }
.globe-chips li.is-active { background: #2F7DF6; color: #fff; border-color: #2F7DF6; }

/* ==========================================================================
   RELATIONSHIPS
   ========================================================================== */
.rel-label {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--grey-500);
  text-transform: uppercase;
  margin: clamp(34px, 4vw, 54px) 0 20px;
}
.agency-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.agency {
  background: var(--white-pure);
  border: 1px solid var(--line-l);
  border-radius: 4px;
  height: 104px;
  display: grid;
  place-items: center;
  padding: 20px 28px;
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out), border-color 0.3s;
}
.agency img {
  max-height: 52px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(1) contrast(0.9);
  opacity: 0.7;
  transition: filter 0.35s, opacity 0.35s;
}
.agency:hover { transform: translateY(-5px); border-color: var(--ink); box-shadow: 0 24px 40px -28px rgba(14,14,16,0.4); }
.agency:hover img { filter: none; opacity: 1; }

.mfr-marquee { overflow: hidden; display: grid; gap: 14px; padding-block: 10px; border-block: 1px solid var(--line-l); background: var(--white-pure); }
.mfr-track { display: flex; width: max-content; animation: marquee 36s linear infinite; }
.mfr-track-rev { animation-direction: reverse; animation-duration: 42s; }
.mfr-marquee:hover .mfr-track { animation-play-state: paused; }
.mfr-row { display: flex; align-items: center; flex: none; }
.mfr-row img {
  /* fixed optical box so every logo reads at the same relative size */
  width: 150px;
  height: 44px;
  object-fit: contain;
  margin-inline: clamp(18px, 2.6vw, 38px);
  filter: grayscale(1);
  opacity: 0.6;
  transition: filter 0.3s, opacity 0.3s, transform 0.4s var(--ease-out);
}
.mfr-row img:hover { filter: none; opacity: 1; transform: scale(1.08); }

/* ==========================================================================
   MILESTONES
   ========================================================================== */
.miles { overflow: clip; }
.miles-controls { display: flex; gap: 10px; padding-bottom: 10px; }
.m-arrow {
  width: 50px; height: 50px;
  border-radius: 50%;
  border: 1px solid var(--line-d);
  display: grid;
  place-items: center;
  color: var(--white);
  transition: background-color 0.3s, color 0.3s, transform 0.4s var(--ease-out), border-color 0.3s;
}
.m-arrow svg { width: 17px; height: 17px; }
.m-arrow:hover { background: var(--white); border-color: var(--white); color: var(--ink); transform: translateY(-2px); }

.miles-outer { position: relative; }
.drag-hint {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  color: var(--ink);
  background: var(--white);
  padding: 11px 20px;
  border-radius: 999px;
  pointer-events: none;
  animation: hint-nudge 1.8s ease-in-out infinite;
  transition: opacity 0.4s ease;
  box-shadow: 0 16px 36px -16px rgba(0,0,0,0.55);
}
.drag-hint svg { width: 12px; height: 12px; }
.drag-hint.is-gone { opacity: 0; }
@keyframes hint-nudge {
  0%, 100% { transform: translateX(calc(-50% - 7px)); }
  50% { transform: translateX(calc(-50% + 7px)); }
}
.miles-strip {
  overflow-x: auto;
  scrollbar-width: none;
  cursor: grab;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.miles-strip::-webkit-scrollbar { display: none; }
.miles-strip.dragging { cursor: grabbing; }
.miles-progress {
  width: min(420px, 60%);
  height: 2px;
  background: var(--grey-800);
  margin: 18px auto 0;
  border-radius: 2px;
  overflow: hidden;
}
.miles-progress span { display: block; height: 100%; width: 8%; background: var(--white); transition: width 0.2s linear; }
.miles-row { display: flex; gap: 14px; padding: 8px clamp(22px, 5vw, 56px) 24px; width: max-content; }
.mile {
  width: 300px;
  flex: none;
  border: 1px solid var(--grey-800);
  background: var(--grey-900);
  border-radius: 4px;
  padding: 26px 24px 30px;
  transition: border-color 0.3s, transform 0.5s var(--ease-out), background-color 0.35s;
  user-select: none;
}
.mile:hover { border-color: var(--grey-500); transform: translateY(-6px); }
.mile span {
  display: block;
  font-family: var(--display);
  font-stretch: 115%;
  font-weight: 700;
  font-size: 44px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.2px var(--grey-500);
  margin-bottom: 18px;
  transition: color 0.35s, -webkit-text-stroke-color 0.35s;
}
.mile:hover span { color: var(--white); -webkit-text-stroke-color: var(--white); }
.mile p { font-size: 13.5px; line-height: 1.66; color: var(--grey-400); }

/* ==========================================================================
   AF CAPITAL
   ========================================================================== */
.afc { background: var(--black-2); }
.afc-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(48px, 6vw, 100px); align-items: center; }
.afc-lede { max-width: 540px; font-size: 16.5px; margin-block: 8px 32px; }
.afc-logo { border-left: 1px solid var(--line-d); padding-left: clamp(28px, 4vw, 56px); }
.afc-logo img { width: clamp(220px, 24vw, 320px); margin-bottom: 28px; }
.afc-tagline {
  font-family: var(--display);
  font-stretch: 110%;
  font-weight: 600;
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.22;
  letter-spacing: -0.01em;
  color: var(--white);
  max-width: 300px;
}

/* ==========================================================================
   TEAM
   ========================================================================== */
.cap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: clamp(48px, 6vw, 80px); }
.cap { border-top: 2px solid var(--ink); padding-top: 18px; }
.cap span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; color: var(--grey-400); display: block; margin-bottom: 12px; }
.cap p { font-size: 14px; line-height: 1.68; }

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 26px); }
.member { display: flex; flex-direction: column; }
.member-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 4px;
  background: var(--grey-900);
  margin-bottom: 18px;
  padding: 0;
  text-align: inherit;
}
button.member-media { cursor: pointer; }
.member-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}
.member:hover .member-media img { transform: scale(1.05); }
.bio-cta {
  position: absolute;
  left: 10px;
  bottom: 10px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--ink);
  background: var(--white);
  padding: 8px 13px;
  border-radius: 999px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.4s var(--ease-out);
}
.member:hover .bio-cta, button.member-media:focus-visible .bio-cta { opacity: 1; transform: none; }
@media (hover: none) { .bio-cta { opacity: 1; transform: none; } }
.member-info h3 {
  font-size: clamp(17px, 1.5vw, 20px);
  font-stretch: 110%;
  letter-spacing: 0.02em;
  color: var(--ink);
  white-space: nowrap;   /* every name sits on exactly one line */
}
.member-role { font-size: 13px; color: var(--body-light); margin-top: 3px; margin-bottom: 10px; }
.member-contact { display: flex; flex-direction: column; gap: 1px; border-top: 1px solid var(--line-l); padding-top: 10px; }
.member-contact a {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--grey-500);
  width: fit-content;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size 0.4s var(--ease-out), color 0.25s;
}
.member-contact a:hover { color: var(--ink); background-size: 100% 1px; }

.team-photo { margin-top: clamp(48px, 6vw, 80px); max-width: 920px; margin-inline: auto; }
.team-photo-frame { overflow: hidden; border-radius: 4px; max-height: 560px; }
.team-photo-frame img { width: 100%; transform: scale(1.12); will-change: transform; }
.team-photo figcaption { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; color: var(--grey-500); margin-top: 14px; text-align: center; }

/* ---------- bio modal ---------- */
.bio-modal { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: clamp(16px, 4vw, 48px); }
.bio-modal[hidden] { display: none; }
.bio-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 11, 0.72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.bio-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  width: min(860px, 100%);
  max-height: min(640px, 90svh);
  background: var(--white);
  border-radius: 6px;
  overflow: hidden;
  animation: bio-in 0.5s var(--ease-out);
  box-shadow: 0 60px 120px -40px rgba(0, 0, 0, 0.6);
}
@keyframes bio-in { from { opacity: 0; transform: translateY(26px) scale(0.98); } }
.bio-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
  display: grid;
  place-items: center;
  z-index: 2;
  border: 1px solid var(--line-l);
  transition: background-color 0.25s, color 0.25s, transform 0.3s var(--ease-out);
}
.bio-close:hover { background: var(--ink); color: var(--white); transform: rotate(90deg); }
.bio-media { background: var(--grey-900); }
.bio-media img { width: 100%; height: 100%; object-fit: cover; }
.bio-content { padding: clamp(26px, 4vw, 44px); overflow-y: auto; overscroll-behavior: contain; }
.bio-content h3 { font-size: clamp(22px, 2.6vw, 30px); margin-bottom: 6px; }
.bio-role { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--grey-500); margin-bottom: 20px; }
.bio-text p { font-size: 15px; line-height: 1.75; margin-bottom: 14px; }
.bio-contact { display: flex; flex-wrap: wrap; gap: 4px 22px; border-top: 1px solid var(--line-l); padding-top: 16px; margin-top: 6px; }
.bio-contact a {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--body-light);
  transition: color 0.25s;
}
.bio-contact a:hover { color: var(--ink); text-decoration: underline; }
body.modal-open { overflow: hidden; }

/* news article reader */
.news-panel { display: block; width: min(760px, 100%); max-height: min(720px, 88svh); }
.news-modal-body {
  padding: clamp(30px, 5vw, 52px);
  overflow-y: auto;
  max-height: min(720px, 88svh);
  overscroll-behavior: contain;
}
.news-modal-date { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; color: var(--grey-500); margin-bottom: 14px; }
.news-modal-body h3 { font-size: clamp(22px, 2.8vw, 34px); margin-bottom: 22px; }
.news-modal-text p { font-size: 15.5px; line-height: 1.78; margin-bottom: 16px; }
.news-modal-src { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; color: var(--grey-500); border-top: 1px solid var(--line-l); padding-top: 16px; margin-top: 8px; display: inline-block; transition: color 0.25s; }
.news-modal-src:hover { color: var(--ink); text-decoration: underline; }

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.quotes { position: relative; display: grid; max-width: 980px; }
.quote { grid-area: 1 / 1; opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); pointer-events: none; padding-bottom: 90px; }
.quote.is-active { opacity: 1; transform: none; pointer-events: auto; }
.quote blockquote {
  font-size: clamp(20px, 2.5vw, 31px);
  line-height: 1.45;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 28px;
}
.quote figcaption { display: flex; flex-direction: column; gap: 3px; }
.quote figcaption strong { color: var(--white); font-size: 14.5px; }
.quote figcaption span { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--grey-500); }
.quote-nav { grid-area: 1 / 1; align-self: end; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line-d); padding-top: 22px; }
.quote-dots { display: flex; gap: 10px; }
.q-dot { width: 36px; height: 2px; background: var(--grey-700); position: relative; overflow: hidden; }
.q-dot.is-active::after { content: ""; position: absolute; inset: 0; background: var(--white); transform-origin: left; animation: dot-fill 7s linear forwards; }
@keyframes dot-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.quote-arrows { display: flex; gap: 10px; }
.q-arrow { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-d); display: grid; place-items: center; color: var(--white); transition: background-color 0.3s, color 0.3s, transform 0.4s var(--ease-out), border-color 0.3s; }
.q-arrow svg { width: 16px; height: 16px; }
.q-arrow:hover { background: var(--white); border-color: var(--white); color: var(--ink); transform: translateY(-2px); }

/* ==========================================================================
   NEWS
   ========================================================================== */
.news-list { border-top: 1px solid var(--line-l); position: relative; }

/* LinkedIn CTA card — replaces the news article list */
.linkedin-card {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 26px);
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line-l);
  border-radius: 6px;
  background: var(--white-pure);
  transition: border-color 0.3s, transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.linkedin-card:hover { border-color: var(--ink); transform: translateY(-4px); box-shadow: 0 30px 50px -34px rgba(14,14,16,0.4); }
.li-mark { flex: none; width: clamp(48px, 6vw, 60px); height: clamp(48px, 6vw, 60px); display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--white); }
.li-mark svg { width: 52%; height: 52%; }
.li-body { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; }
.li-body strong { font-family: var(--display); font-stretch: 110%; font-weight: 600; font-size: clamp(17px, 2vw, 22px); color: var(--ink); }
.li-body span { font-size: 14.5px; line-height: 1.5; color: var(--grey-500); }
.li-go { flex: none; font-size: 20px; color: var(--grey-400); transition: transform 0.4s var(--ease-out), color 0.3s; }
.linkedin-card:hover .li-go { transform: translate(3px, -3px); color: var(--ink); }

/* milestones section hidden per request */
#milestones { display: none; }
.news-item {
  display: grid;
  grid-template-columns: 170px 1fr 60px;
  align-items: center;
  gap: clamp(18px, 3vw, 44px);
  padding: 30px 6px;
  border-bottom: 1px solid var(--line-l);
  position: relative;
  transition: padding 0.45s var(--ease-out);
}
.news-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.45s var(--ease-power);
  z-index: 0;
}
.news-item:hover::before { transform: scaleY(1); transform-origin: top; }
.news-item > * { position: relative; z-index: 1; }
.news-item time { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; color: var(--grey-500); transition: color 0.3s; }
.news-item h3 {
  font-size: clamp(17px, 2vw, 24px);
  font-stretch: 110%;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.25;
  color: var(--ink);
  transition: color 0.3s;
}
.news-arrow { font-size: 22px; color: var(--ink); justify-self: end; transition: transform 0.4s var(--ease-out), color 0.3s; }
.news-item:hover { padding-inline: 22px; }
.news-item:hover time { color: var(--grey-400); }
.news-item:hover h3 { color: var(--white); }
.news-item:hover .news-arrow { color: var(--white); transform: translateX(6px) rotate(-45deg); }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact { padding-bottom: clamp(80px, 9vw, 130px); }
.h1-cta {
  font-size: clamp(44px, 7.6vw, 116px);
  color: var(--white);
  line-height: 0.94;
  margin-bottom: 30px;
}
.contact-lede { max-width: 520px; font-size: 16.5px; margin-bottom: 40px; }
.contact-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }
.contact-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; border-top: 1px solid var(--line-d); padding-top: 28px; }
.contact-social { display: flex; gap: 12px; }
.contact-social a { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-d); display: grid; place-items: center; color: var(--body-dark); transition: background-color 0.3s, color 0.3s, transform 0.4s var(--ease-out), border-color 0.3s; }
.contact-social svg { width: 17px; height: 17px; }
.contact-social a:hover { color: var(--ink); background: var(--white); border-color: var(--white); transform: translateY(-3px); }
.contact-offices { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; color: var(--grey-500); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { background: #060607; color: var(--body-dark); padding-top: clamp(56px, 7vw, 84px); border-top: 1px solid var(--line-d); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: clamp(32px, 5vw, 64px); padding-bottom: clamp(44px, 5vw, 60px); }
.footer-brand p { margin-top: 18px; font-size: 13.5px; line-height: 1.7; color: var(--grey-500); }
.footer-col h4 { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.2em; color: var(--grey-400); margin-bottom: 18px; }
.footer-col a { display: block; font-size: 14px; color: var(--grey-300); padding-block: 5px; width: fit-content; transition: color 0.25s, transform 0.35s var(--ease-out); }
.footer-col a:hover { color: var(--white); transform: translateX(4px); }
.footer-offices { font-family: var(--mono); font-size: 12px; line-height: 2.1; letter-spacing: 0.08em; color: var(--grey-300); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line-d); padding-block: 24px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; color: var(--grey-500); }
.to-top { color: var(--grey-300); transition: color 0.25s; }
.to-top:hover { color: var(--white); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1120px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .cap-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .agency-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line-l); }
  .afc-grid { grid-template-columns: 1fr; }
  .afc-logo { border-left: 0; padding-left: 0; border-top: 1px solid var(--line-d); padding-top: 36px; }
  .eca-points { grid-template-columns: 1fr; }
  .cmp-row { grid-template-columns: 1fr 110px 1fr; }
  .team-stats { grid-template-columns: repeat(3, 1fr); }
  .globe-grid { grid-template-columns: 1fr; gap: 56px; }
  .globe-stage { max-width: 560px; margin-inline: auto; width: 100%; }
}

@media (max-width: 760px) {
  :root { --nav-h: 64px; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .brand-img { height: 20px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .hero-media video { display: none; }   /* phones: static poster only */
  .hero-kicker { font-size: 9.5px; letter-spacing: 0.1em; margin-bottom: 16px; }
  .hero-h1 .ht-line { font-size: clamp(27px, 7.7vw, 38px); line-height: 1.03; }
  .hero-h1 { margin-bottom: 20px; }
  .hero-sub { font-size: 15px; }
  .hero-content { padding-top: calc(var(--nav-h) + 18px); padding-bottom: 86px; }
  /* mobile type scale — keep the big display headings from dominating small screens
     (base floors were 34px/44px, which stayed huge on 390–430px phones) */
  .h2 { font-size: clamp(25px, 6.6vw, 30px); }
  .h1-cta { font-size: clamp(32px, 8.8vw, 42px); }
  .manifesto { font-size: 19px; line-height: 1.5; }
  .globe-lede { font-size: 15px; }
  .contact-lede { font-size: 15.5px; }
  .hero-marquee { padding-bottom: calc(15px + env(safe-area-inset-bottom)); }
  .globe-chips li { padding: 10px 14px; }
  .skyjets { display: none; }
  .hero-cta span .btn, .contact-cta .btn { width: 100%; }
  .team-grid { grid-template-columns: 1fr; }
  .member-info h3 { white-space: normal; }
  .globe-active { font-size: 18px; }
  .cards-grid { grid-template-columns: 1fr; gap: 10px; }
  /* compact the asset cards so each box is far shorter on phones
     (the desktop layout parks a 70px gap under the icon — far too tall here) */
  .card { padding: 18px 18px 20px; }
  .card-idx { top: 16px; right: 16px; }
  .card-icon { width: 38px; height: 38px; margin-bottom: 14px; }
  .card h3 { font-size: 16px; margin-bottom: 5px; }
  .card p { font-size: 13.5px; line-height: 1.55; }
  .card:hover { transform: none; }
  /* THE SPECIALTY (ECA) — smaller + redesigned as a clean compact list on phones */
  .eca-def { font-size: 16.5px; line-height: 1.55; margin-bottom: 24px; }
  .eca-points { gap: 0; margin-bottom: 28px; }
  .eca-point { background: none; border: 0; border-top: 1px solid var(--line-l); border-radius: 0; padding: 15px 0; }
  .eca-points .eca-point:first-child { border-top: 0; padding-top: 0; }
  .eca-point:hover { transform: none; box-shadow: none; }
  .point-no { font-size: 17px; -webkit-text-stroke: 0; color: var(--grey-400); margin-bottom: 4px; }
  .eca-point h3 { font-size: 15.5px; margin-bottom: 4px; }
  .eca-point p { font-size: 13.5px; line-height: 1.55; }
  .cmp-row { padding-block: 14px; }
  .cmp-row p { font-size: 13.5px; }
  .cmp-note { font-size: 13px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .cap-grid { grid-template-columns: 1fr; }
  .agency-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 24px 16px; }
  .team-stats { grid-template-columns: 1fr; }
  .team-stats .stat { padding: 18px 16px; }
  .qa-item summary { grid-template-columns: 44px 1fr 30px; }
  .qa-a { padding-left: 0; }
  .step { grid-template-columns: 1fr; gap: 12px; }
  .steps { padding-left: 22px; }
  .dd-list { grid-template-columns: 1fr; }
  /* mobile compare: benefit-first — label chip, ECA advantage, then a small "vs" note */
  .cmp-row { grid-template-columns: 1fr; gap: 7px; padding-block: 16px; }
  .cmp-mid { text-align: left; order: -1; }
  .cmp-row p:last-child { order: 0; text-align: left; font-size: 14px; }
  .cmp-row p:first-child { order: 1; font-size: 12.5px; color: var(--grey-500); }
  .cmp-head { display: none; }
  .cmp-row p:first-of-type::before { content: "VS COMMERCIAL — "; font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.1em; color: var(--grey-400); }
  .bio-panel { grid-template-columns: 1fr; max-height: 88svh; overflow-y: auto; }
  .bio-media { max-height: 280px; }
  .miles-controls { display: none; }
  .news-item { grid-template-columns: 1fr; gap: 8px; padding: 24px 6px; }
  .news-arrow { display: none; }
  .news-float { display: none; }
  .quote { padding-bottom: 116px; }
  .quote-nav { flex-direction: column; align-items: flex-start; gap: 18px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   ASSISTANT — floating island
   ========================================================================== */
.chat-fab {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: calc(clamp(16px, 3vw, 28px) + env(safe-area-inset-bottom));
  width: 58px;
  height: 58px;
  border-radius: 29px;
  background: var(--black);
  color: var(--white);
  border: 1px solid var(--grey-700);
  display: grid;
  place-items: center;
  z-index: 1600;
  box-shadow: 0 18px 44px -16px rgba(0, 0, 0, 0.55);
  transition: width 0.55s var(--ease-power), transform 0.4s var(--ease-out), border-color 0.3s, background-color 0.3s;
}
.chat-fab:hover { transform: translateY(-3px); border-color: var(--grey-400); }
.chat-fab svg { width: 24px; height: 24px; position: absolute; top: 50%; right: 16px; margin-top: -12px; transition: opacity 0.25s, transform 0.35s var(--ease-power); }
.chat-fab .cf-close { opacity: 0; transform: rotate(-90deg); }
.chat-fab[aria-expanded="true"] .cf-open { opacity: 0; transform: rotate(90deg); }
.chat-fab[aria-expanded="true"] .cf-close { opacity: 1; transform: rotate(0); }
/* attention pings: two rings, one dark + one light, so one always contrasts
   with whatever section the button floats over. Stops once the chat opens. */
.chat-fab::before,
.chat-fab::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit; /* capsule rings — pings stay true while the pill is out */
  animation: fab-ping 3.2s var(--ease-out) infinite;
  pointer-events: none;
}
.chat-fab::after { border: 1.5px solid rgba(244, 244, 242, 0.8); }
.chat-fab::before { border: 1.5px solid rgba(244, 244, 242, 0.8); animation-delay: 1.1s; }
/* rings flip to ink whenever the button floats over a light section (JS toggles .on-light) */
.chat-fab.on-light::before,
.chat-fab.on-light::after { border-color: rgba(10, 10, 11, 0.6); }
.chat-fab[aria-expanded="true"]::before,
.chat-fab[aria-expanded="true"]::after { animation: none; opacity: 0; }
@keyframes fab-ping { 0% { opacity: 1; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(1.55); } }
/* soft glint on the button edge between pings */
.chat-fab { animation: fab-breathe 3.2s ease-in-out infinite; }
.chat-fab[aria-expanded="true"] { animation: none; }
@keyframes fab-breathe { 50% { border-color: var(--grey-300); } }
/* entrance tease (once per visit): at ~5s the circle stretches into a
   "CHAT WITH US" pill, holds a few seconds, then melts back to the circle */
.chat-fab.is-teasing { width: 188px; }
.cf-label {
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.15s;
  pointer-events: none;
}
.chat-fab.is-teasing::before, .chat-fab.is-teasing::after { animation: none; opacity: 0; }
.chat-fab.is-teasing { animation: none; } /* breathe pauses; the sweep is the only cue */
/* while extended, one slow uniform sheen sweeps the outline and the words together */
.chat-fab.is-teasing::after {
  opacity: 1;
  border: 1.5px solid transparent;
  background: linear-gradient(100deg, rgba(244, 244, 242, 0.14) 60%, rgba(255, 255, 255, 0.8) 75%, rgba(244, 244, 242, 0.14) 90%) border-box;
  background-size: 200% 100%;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  animation: label-shimmer 4.2s linear 0.4s infinite backwards;
}
.chat-fab.is-teasing .cf-label {
  opacity: 1;
  transition: opacity 0.35s 0.2s;
  background: linear-gradient(100deg, #C6C6CC 60%, #FFFFFF 75%, #C6C6CC 90%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: label-shimmer 4.2s linear 0.4s infinite backwards;
}
/* one full tile per cycle: end frame == start frame, so the loop is seamless */
@keyframes label-shimmer { from { background-position: 0% 0; } to { background-position: -200% 0; } }
/* retract = the expansion in reverse: label fades, then the capsule shrinks */
.chat-fab.is-retracting { transition-delay: 0.12s, 0s, 0s, 0s; }
.chat-fab.is-retracting::before, .chat-fab.is-retracting::after { animation: none; opacity: 0; }

.chat-panel {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: calc(clamp(16px, 3vw, 28px) + 72px + env(safe-area-inset-bottom));
  width: min(370px, calc(100vw - 32px));
  max-height: min(540px, 72svh);
  display: flex;
  flex-direction: column;
  background: rgba(14, 14, 16, 0.92);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border: 1px solid var(--grey-800);
  border-radius: 16px;
  overflow: hidden;
  z-index: 1600;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.7);
  transform-origin: bottom right;
}
.chat-panel[hidden] { display: none; }
.js .chat-panel { animation: chat-in 0.4s var(--ease-out); }
@keyframes chat-in { from { opacity: 0; transform: translateY(14px) scale(0.96); } }

.chat-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 16px;
  border-bottom: 1px solid var(--grey-800);
}
.chat-dot { width: 8px; height: 8px; border-radius: 50%; background: #2F7DF6; box-shadow: 0 0 0 0 rgba(47, 125, 246, 0.45); animation: status-pulse 2.6s ease-out infinite; }
@keyframes status-pulse { 0% { box-shadow: 0 0 0 0 rgba(47, 125, 246, 0.45); } 70%, 100% { box-shadow: 0 0 0 8px rgba(47, 125, 246, 0); } }
.chat-head-txt { display: flex; flex-direction: column; gap: 1px; flex: 1; min-width: 0; }
.chat-head-txt strong { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.16em; color: var(--white); font-weight: 500; }
.chat-head-txt span { font-family: var(--mono); font-size: 9px; letter-spacing: 0.18em; color: var(--grey-500); }
.chat-min { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: var(--grey-400); transition: color 0.25s, background-color 0.25s; }
.chat-min:hover { color: var(--white); background: var(--grey-800); }
.chat-min svg { width: 14px; height: 14px; }

.chat-log {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 180px;
}
.chat-msg {
  max-width: 86%;
  padding: 11px 14px;
  border-radius: 14px;
  font-size: 13.5px;
  line-height: 1.55;
  white-space: pre-line; /* the assistant structures longer answers with real line breaks */
}
.js .chat-msg { animation: msg-in 0.35s var(--ease-out); }
@keyframes msg-in { from { opacity: 0; transform: translateY(8px); } }
.chat-msg.bot { background: var(--grey-900); color: var(--grey-300); border-bottom-left-radius: 4px; align-self: flex-start; }
.chat-msg.bot a { color: #5B9BFF; text-decoration: underline; }
.chat-msg.bot strong { color: var(--white); }
.chat-msg.user { background: var(--white); color: var(--ink); border-bottom-right-radius: 4px; align-self: flex-end; }
.chat-typing { display: inline-flex; gap: 4px; padding: 13px 14px; }
.chat-typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--grey-400); animation: tdot 1.1s ease-in-out infinite; }
.chat-typing i:nth-child(2) { animation-delay: 0.15s; }
.chat-typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes tdot { 40% { transform: translateY(-4px); opacity: 1; } 0%, 80%, 100% { transform: none; opacity: 0.5; } }
/* typewriter caret while a bot reply streams in */
.chat-msg.is-typing::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 0.95em;
  margin-left: 2px;
  vertical-align: -0.12em;
  background: currentColor;
  animation: caret-blink 0.9s steps(1) infinite;
}
@keyframes caret-blink { 50% { opacity: 0; } }

/* the toggle is a CONTROL, styled to read differently from the chip pills:
   borderless text + chevron, a hairline rule, and the blue accent. */
.chat-suggest-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  width: calc(100% - 32px);
  margin: 0 16px 12px;
  padding: 9px 0 0;
  border: 0;
  border-top: 1px solid var(--grey-800);
  background: none;
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey-500);
  cursor: pointer;
  transition: color 0.25s;
}
.chat-suggest-toggle:hover { color: #5B9BFF; }
.chat-suggest-toggle svg {
  width: 12px;
  height: 12px;
  margin-left: auto;          /* chevron pinned to the right, like an accordion */
  color: #2F7DF6;
  transition: transform 0.3s var(--ease-power);
}
/* once collapsible, the toggle appears; the chip row hides until expanded */
.chat-suggest.collapsible .chat-suggest-toggle { display: flex; }
.chat-suggest.collapsible.collapsed .chat-chips { display: none; }
.chat-suggest.collapsible:not(.collapsed) .chat-suggest-toggle svg { transform: rotate(180deg); }
.chat-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 12px; }
.chat-chips button {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey-300);
  border: 1px solid var(--grey-800);
  border-radius: 999px;
  padding: 8px 12px;
  transition: border-color 0.25s, color 0.25s, background-color 0.25s;
}
.chat-chips button:hover { border-color: #2F7DF6; color: var(--white); }

.chat-form { display: flex; gap: 8px; padding: 12px 14px; border-top: 1px solid var(--grey-800); }
.chat-input {
  flex: 1;
  min-width: 0;
  background: var(--grey-900);
  border: 1px solid var(--grey-800);
  border-radius: 10px;
  color: var(--white);
  font-family: var(--sans);
  font-size: 13.5px;
  padding: 11px 13px;
  outline: none;
  transition: border-color 0.25s;
}
.chat-input::placeholder { color: var(--grey-500); }
.chat-input:focus { border-color: var(--grey-500); }
.chat-send {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  display: grid;
  place-items: center;
  transition: transform 0.3s var(--ease-out), background-color 0.25s;
}
.chat-send:hover { transform: translateX(2px); }
.chat-send svg { width: 17px; height: 17px; }

@media (max-width: 520px) {
  .chat-panel {
    right: 12px;
    left: 12px;
    width: auto;
    bottom: calc(86px + env(safe-area-inset-bottom));
    max-height: 64svh;
  }
}
@media (prefers-reduced-motion: reduce) {
  .chat-fab, .chat-fab::before, .chat-fab::after, .chat-dot { animation: none; }
  .js .chat-panel, .js .chat-msg { animation: none; }
}

@media (max-width: 380px) {
  .btn { white-space: normal; text-align: center; padding: 14px 18px; letter-spacing: 0.1em; }
}

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  html { scroll-behavior: auto; }
  .js [data-reveal], .js [data-rise] > span, .js [data-chars] .ch, .js [data-chars-scroll] .ch { opacity: 1; transform: none; }
  .manifesto .w { opacity: 1; }
  .marquee-track, .mfr-track { animation: none; flex-wrap: wrap; width: 100%; }
  .marquee-row[aria-hidden], .mfr-row[aria-hidden] { display: none; }
  .drag-hint { animation: none; }

}
