/* ═══════════════════════════════════════════════════════════════════
   ARACHNID — swiss/brutalist
   Pure black, hairline rules, hard edges, big editorial display type,
   text-only CTAs with arrows, italic-mono small caps for metadata.
   No radius, no glass, no gradients, no glow.
   Source: orin-drone/flight-ui/static/style.css
   ═══════════════════════════════════════════════════════════════════ */
:root {
  --bg:        #000000;
  --bg-2:      #0a0a0a;
  --hair:      rgba(255,255,255,.12);
  --hair-2:    rgba(255,255,255,.20);
  --hair-3:    rgba(255,255,255,.40);
  --text:      #ffffff;
  --text-2:    rgba(255,255,255,.66);
  --dim:       rgba(255,255,255,.42);
  --faint:     rgba(255,255,255,.18);
  --armed:     #ff2200;
  --warn:      #ffcc00;
  --sans:      "InterVariable", "Inter", -apple-system, "Helvetica Neue", system-ui, sans-serif;
  --mono:      "Inter", ui-monospace, "SF Mono", "JetBrains Mono", monospace;
  --mono-feat: "tnum" 1, "zero" 1, "ss01" 1;
  --pad-section: 120px 40px;
  --pad-section-sm: 80px 40px;
  --maxw: 1360px;
}
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { background: var(--bg); }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 24px;
  font-feature-settings: "ss01" 1, "cv11" 1;
  letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 1px solid var(--hair-2); background: transparent; color: inherit; letter-spacing: inherit; }
img, svg { display: block; max-width: 100%; }
::selection { background: #fff; color: #000; }

/* ═════ TYPOGRAPHY ═════ */
.eyebrow {
  font-family: var(--mono);
  font-feature-settings: var(--mono-feat);
  font-style: italic;
  font-size: 11px;
  line-height: 16px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--dim);
}
.display-xl {
  font-weight: 500;
  font-size: clamp(56px, 8vw, 112px);
  line-height: .96;
  letter-spacing: -.035em;
}
.display-l {
  font-weight: 500;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -.025em;
}
.display-m {
  font-weight: 500;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.1;
  letter-spacing: -.02em;
}
.display-s { font-weight: 500; font-size: 22px; line-height: 28px; letter-spacing: -.015em; }
.lede {
  font-size: 17px;
  line-height: 26px;
  color: var(--text-2);
  max-width: 60ch;
}
.meta {
  font-family: var(--mono);
  font-feature-settings: var(--mono-feat);
  font-size: 12px;
  line-height: 16px;
  letter-spacing: .04em;
  color: var(--dim);
  text-transform: uppercase;
}

/* ═════ LAYOUT ═════ */
.container { max-width: var(--maxw); margin: 0 auto; width: 100%; }
.section { padding: var(--pad-section); border-top: 1px solid var(--hair); position: relative; }
.section--alt { background: var(--bg-2); }
.section--tight { padding: var(--pad-section-sm); }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; margin-bottom: 80px; align-items: end; }
.section-head .lede { margin-top: 24px; }
@media (max-width: 800px) {
  .section { padding: 80px 24px; }
  .section-head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 48px; }
}

.link-cta {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono);
  font-feature-settings: var(--mono-feat);
  font-size: 12px; line-height: 16px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--text);
  padding: 14px 0; border-bottom: 1px solid var(--text);
}
.link-cta::after { content: "→"; font-family: var(--sans); transform: translateY(-1px); }
.link-cta--dim { color: var(--text-2); border-bottom-color: var(--hair-2); }
.link-cta--armed { color: var(--armed); border-bottom-color: var(--armed); }

/* ═════ NAV ═════ */
.nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 40px;
  background: rgba(0,0,0,.78);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--hair);
  height: 88px;
}
/* Fade gradient feathering the nav into the page content below */
.nav::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 100%;
  height: 36px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 100%);
  z-index: -1;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 600; letter-spacing: .12em; }
.brand-mark {
  width: 16px; height: 16px;
  border: 1px solid var(--text);
  position: relative;
}
.brand-mark::before, .brand-mark::after { content: ""; position: absolute; background: var(--text); }
.brand-mark::before { inset: 1px 6px; }
.brand-mark::after { inset: 6px 1px; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links > a,
.nav-links .nav-item > a {
  font-family: var(--mono); font-feature-settings: var(--mono-feat);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.78);
  padding: 6px 2px 8px;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav-links > a:hover, .nav-links > a.active,
.nav-links .nav-item > a:hover, .nav-links .nav-item > a.active { color: var(--text); }

/* "Drop" indicator — small bracket that drops in from above on hover/active */
.nav-links > a::before,
.nav-links .nav-item > a::before {
  content: "▾";
  position: absolute;
  left: 50%;
  top: -12px;
  transform: translate(-50%, -6px);
  font-size: 9px;
  color: var(--text);
  opacity: 0;
  transition:
    opacity var(--motion-fast) ease,
    transform var(--motion-med) var(--motion-ease);
  pointer-events: none;
}
.nav-links > a:hover::before,
.nav-links > a.active::before,
.nav-links .nav-item > a:hover::before,
.nav-links .nav-item > a.active::before {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* Dropdown container + panel */
.nav-item { position: relative; }
.nav-item--dropdown > a::after {
  content: "▾";
  font-size: 9px;
  margin-left: 4px;
  display: inline-block;
  transition: transform var(--motion-med) var(--motion-ease);
  opacity: .55;
}
.nav-item--dropdown:hover > a::after,
.nav-item--dropdown:focus-within > a::after {
  transform: rotate(180deg);
  opacity: 1;
}
.nav-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: -16px;
  min-width: 340px;
  max-width: 420px;
  background: rgba(8, 8, 10, .96);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border: 1px solid var(--hair-2);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  pointer-events: none;
  transition:
    opacity var(--motion-med) var(--motion-ease),
    transform var(--motion-med) var(--motion-ease),
    visibility 0s linear var(--motion-med);
  z-index: 120;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.nav-item--dropdown:hover .nav-dropdown,
.nav-item--dropdown:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
  transition:
    opacity var(--motion-med) var(--motion-ease),
    transform var(--motion-med) var(--motion-ease),
    visibility 0s linear 0s;
}
/* Bridge the gap between nav link and dropdown so hover doesn't break */
.nav-item--dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 18px;
}
.nav-dropdown a {
  display: flex !important;
  flex-direction: column;
  align-items: flex-start !important;
  gap: 4px;
  padding: 12px 14px !important;
  border-bottom: 1px solid var(--hair) !important;
  font-family: var(--sans) !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  font-size: 14px !important;
  color: var(--text) !important;
  transition: background var(--motion-fast) ease;
}
.nav-dropdown a:last-child { border-bottom: 0 !important; }
.nav-dropdown a::before,
.nav-dropdown a::after { display: none !important; }
.nav-dropdown a:hover { background: rgba(255,255,255,.04); }
.nav-dropdown .dd-title {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -.005em;
  color: var(--text);
  text-transform: none;
}
.nav-dropdown .dd-title .coming {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 6px;
  background: var(--armed);
  color: var(--bg);
  font-family: var(--mono); font-feature-settings: var(--mono-feat);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.nav-dropdown .dd-desc {
  font-family: var(--mono); font-feature-settings: var(--mono-feat);
  font-size: 11px;
  line-height: 15px;
  font-weight: 400;
  letter-spacing: .04em;
  color: var(--text-2);
  text-transform: none;
}

/* Demo tab — armed accent so it reads as primary nav action */
.nav-links a.nav-demo {
  color: var(--armed);
  font-weight: 700;
}
.nav-links a.nav-demo:hover { color: #ff5533; }
.nav-links a.nav-demo::before {
  content: "●";
  color: var(--armed);
  font-size: 8px;
  top: -10px;
}

.nav-cta {
  font-family: var(--mono); font-feature-settings: var(--mono-feat);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 11px 16px;
  border: 1px solid var(--text);
}
@media (max-width: 1000px) {
  .nav-links { gap: 22px; }
  .nav-links a { font-size: 12px; letter-spacing: .14em; }
}

/* ═════ BURGER BUTTON (mobile only) ═════ */
.nav-burger {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--hair-2);
  cursor: pointer;
  position: relative;
  z-index: 110;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.nav-burger-line {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text);
  transition: transform var(--motion-med) var(--motion-ease),
              opacity var(--motion-fast) ease;
  transform-origin: center;
}
body.nav-open .nav-burger { border-color: var(--text); }
body.nav-open .nav-burger-line:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
body.nav-open .nav-burger-line:nth-child(2) { opacity: 0; }
body.nav-open .nav-burger-line:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

@media (max-width: 800px) {
  .nav { padding: 14px 20px; height: 60px; }
  .nav-cta { display: none; }            /* hide Schedule-a-Demo button */
  .nav-burger { display: flex; }         /* show burger */

  /* Mobile menu overlay — full screen, vertical stack */
  .nav-links {
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    position: fixed;
    top: 60px;
    right: 0;
    bottom: 0;
    left: 0;
    height: calc(100vh - 60px);
    height: calc(100dvh - 60px);
    background: var(--bg);
    padding: 24px 24px 96px;
    overflow-y: auto;
    z-index: 130;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    pointer-events: none;
    transition:
      opacity var(--motion-med) var(--motion-ease),
      transform var(--motion-med) var(--motion-ease),
      visibility 0s linear var(--motion-med);
  }
  body.mockup .nav-links {
    top: 86px;
    height: calc(100vh - 86px);
    height: calc(100dvh - 86px);
  }
  body.nav-open .nav-links {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
    transition:
      opacity var(--motion-med) var(--motion-ease),
      transform var(--motion-med) var(--motion-ease),
      visibility 0s linear 0s;
  }
  body.nav-open { overflow: hidden; }

  /* Top-level mobile nav items — bigger, full-width, hairline separators */
  .nav-links > a,
  .nav-links .nav-item > a {
    font-size: 18px;
    letter-spacing: .04em;
    padding: 18px 0;
    border-bottom: 1px solid var(--hair);
    color: var(--text);
    font-weight: 500;
    text-transform: none;
    font-family: var(--sans);
  }
  .nav-links > a::before,
  .nav-links .nav-item > a::before { display: none; }
  .nav-item--dropdown > a::after { display: none; }
  .nav-links .nav-demo {
    color: var(--armed);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: 14px;
    font-family: var(--mono); font-feature-settings: var(--mono-feat);
  }

  /* Inline dropdown items on mobile — no hover panel, all visible */
  .nav-dropdown {
    position: static;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 0;
    padding: 0 0 8px 16px;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    display: flex;
    flex-direction: column;
    gap: 0;
    min-width: 0;
    max-width: none;
    transition: none;
  }
  .nav-dropdown a {
    padding: 12px 0 !important;
    border-bottom: 1px solid var(--hair) !important;
    background: transparent !important;
  }
  .nav-dropdown a:last-child { border-bottom: 0 !important; }
  .nav-dropdown .dd-title { font-size: 14px; }
  .nav-dropdown .dd-desc { font-size: 11px; line-height: 14px; }

  /* Schedule a Demo CTA inside mobile menu (rendered via JS at menu open) */
  .nav-mobile-cta {
    display: flex;
    margin-top: 24px;
    padding: 18px 20px;
    border: 1px solid var(--text);
    color: var(--text);
    font-family: var(--mono); font-feature-settings: var(--mono-feat);
    font-size: 13px;
    letter-spacing: .14em;
    text-transform: uppercase;
    font-weight: 700;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }
}

/* ═════ HERO (homepage) ═════ */
.hero { padding: 120px 40px 80px; border-top: 0; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 56px; }
.hero-title { font-weight: 500; font-size: clamp(64px, 9vw, 144px); line-height: .92; letter-spacing: -.04em; }
.hero-title .alt { font-style: italic; font-weight: 400; }
.hero-sub { font-size: 18px; line-height: 28px; color: var(--text-2); max-width: 56ch; margin-top: 32px; }
.hero-actions { display: flex; gap: 24px; margin-top: 40px; flex-wrap: wrap; }
.hero-fdic { margin-top: 24px; }

/* simple page hero (non-homepage) */
.page-hero { padding: 120px 40px 80px; border-top: 0; }
.page-hero .display-l { margin-top: 24px; }
.page-hero .lede { margin-top: 32px; }
.page-hero-actions { display: flex; gap: 24px; margin-top: 40px; flex-wrap: wrap; }
@media (max-width: 800px) { .hero, .page-hero { padding: 80px 20px 48px; } }

/* ═════ HERO — photo-backdrop variant (homepage) ═════
   Aviation photo fills the hero; a layered dark scrim keeps the
   inverted (white) typography legible regardless of which part of
   the photo sits behind each line. No text re-color needed — the
   scrim does the contrast work.                                 */
.hero.hero--photo,
.hero.hero--video {
  position: relative;
  isolation: isolate;
  min-height: calc(100vh - 60px);
  padding: 160px 40px 96px;
  background-image: url('assets/photos/unsplash/aviation-card.jpg');
  background-size: cover;
  background-position: center 50%;
  background-repeat: no-repeat;
  overflow: hidden;
  border-bottom: 1px solid var(--hair);
}
/* Hero video — covers the slot as a normal positioned child (z-index 0).
   Scrim layers above at z-index 1, content at z-index 2. Avoids the
   z-index:-1 trick which iOS Safari can fail to paint on the first
   frame after autoplay starts. Background photo on .hero--video acts
   as poster / fallback if the <video> fails or is still loading.    */
.hero.hero--video .hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 50%;
  pointer-events: none;
}
.hero.hero--video::before,
.hero.hero--video .hero-scrim { z-index: 1; }
.hero.hero--video .hero-container { z-index: 2; }
/* Scrim layer — calibrated to keep the airplane visible while
   anchoring text legibility on the left column. Two gradients:
   vertical for top/bottom fade-into-page, horizontal for a
   left-side darken behind the copy.                              */
.hero.hero--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.30) 0%, rgba(0,0,0,.10) 30%, rgba(0,0,0,.20) 60%, rgba(0,0,0,.85) 100%),
    linear-gradient(90deg,  rgba(0,0,0,.78) 0%, rgba(0,0,0,.42) 38%, rgba(0,0,0,.05) 70%, rgba(0,0,0,.00) 100%);
  pointer-events: none;
}
/* Radial pull behind the copy column to keep small text legible */
.hero.hero--photo .hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(80% 70% at 26% 55%, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 65%);
  pointer-events: none;
}
.hero.hero--photo .hero-container {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin-left: 0;
}
.hero.hero--photo .hero-title {
  font-size: clamp(44px, 6.6vw, 104px);
  line-height: .96;
  color: #ffffff;
  text-shadow: 0 1px 0 rgba(0,0,0,.45), 0 2px 24px rgba(0,0,0,.55);
}
.hero.hero--photo .eyebrow {
  color: #ffffff;
  opacity: .92;
}
.hero.hero--photo .hero-lede {
  margin-top: 48px;
  max-width: 66ch;
}
.hero.hero--photo .hero-lede .hero-sub {
  font-size: 16px;
  line-height: 26px;
  color: rgba(255,255,255,.94);
  margin-top: 0;
  max-width: 66ch;
  text-shadow: 0 1px 0 rgba(0,0,0,.55);
}
.hero.hero--photo .hero-lede .hero-sub + .hero-sub {
  margin-top: 20px;
}
.hero.hero--photo .hero-lede .hero-sub strong {
  color: #ffffff;
  font-weight: 600;
}
.hero.hero--photo .hero-actions {
  margin-top: 40px;
}
.hero.hero--photo .hero-actions .link-cta {
  color: #ffffff;
  border-bottom-color: #ffffff;
  text-shadow: 0 1px 0 rgba(0,0,0,.5);
}
.hero.hero--photo .hero-actions .link-cta--dim {
  color: rgba(255,255,255,.78);
  border-bottom-color: rgba(255,255,255,.42);
}
.hero.hero--photo .hero-actions .link-cta--dim:hover { color: #ffffff; }

@media (max-width: 1100px) {
  .hero.hero--photo { padding: 140px 32px 80px; }
}
@media (max-width: 800px) {
  .hero.hero--photo {
    padding: 108px 20px 56px;
    min-height: 100vh;
    background-position: center;
  }
  .hero.hero--photo::before {
    background:
      linear-gradient(180deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.55) 50%, rgba(0,0,0,.92) 100%);
  }
  .hero.hero--photo .hero-lede { margin-top: 32px; }
  .hero.hero--photo .hero-lede .hero-sub { font-size: 15px; line-height: 24px; }
  .hero.hero--photo .hero-lede .hero-sub + .hero-sub { margin-top: 16px; }
}

/* ═════ ASSET PLACEHOLDER ═════ */
.asset-ph {
  border: 1px dashed var(--hair-2);
  background:
    repeating-linear-gradient(45deg, transparent 0 11px, var(--hair) 11px 12px);
  display: flex; align-items: center; justify-content: center;
  text-align: center; color: var(--dim);
  font-family: var(--mono); font-feature-settings: var(--mono-feat);
  padding: 32px;
  min-height: 280px;
}
.asset-ph .id {
  display: inline-block;
  padding: 4px 8px;
  border: 1px solid var(--hair-3);
  color: var(--text-2);
  font-size: 11px;
  letter-spacing: .14em;
  margin-bottom: 12px;
}
.asset-ph .lbl { font-size: 13px; line-height: 20px; max-width: 36ch; color: var(--text-2); }
.asset-ph .src { display: block; margin-top: 8px; color: var(--dim); font-size: 11px; }
.asset-ph--tall { min-height: 540px; }
.asset-ph--wide { min-height: 360px; }
.asset-ph--square { aspect-ratio: 1 / 1; min-height: 0; }

/* ═════ HOMEPAGE DASHBOARD PREVIEW ═════ */
.dashboard {
  margin-top: 64px;
  border: 1px solid var(--hair);
  background: var(--bg);
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 540px;
}
.dash-side { border-right: 1px solid var(--hair); padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.dash-side .meta { padding-bottom: 16px; border-bottom: 1px solid var(--hair); margin-bottom: 16px; }
.dash-side .item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 12px; border: 1px solid transparent;
  font-family: var(--mono); font-feature-settings: var(--mono-feat); font-size: 13px;
  color: var(--text-2);
}
.dash-side .item.active { border-color: var(--hair-2); color: var(--text); background: var(--bg-2); }
.dash-side .item .num { color: var(--dim); }
.dash-main { padding: 32px; display: flex; flex-direction: column; gap: 32px; }
.dash-row { display: flex; gap: 0; border: 1px solid var(--hair); }
.dash-cell { flex: 1; padding: 20px 24px; border-right: 1px solid var(--hair); }
.dash-cell:last-child { border-right: 0; }
.dash-cell .meta { margin-bottom: 8px; }
.dash-cell .val { font-size: 28px; line-height: 32px; letter-spacing: -.02em; }
.dash-cell .delta { font-family: var(--mono); font-size: 11px; color: var(--text-2); margin-top: 4px; }
.dash-table { border: 1px solid var(--hair); }
.dash-table .row {
  display: grid; grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  padding: 12px 16px; border-top: 1px solid var(--hair);
  font-family: var(--mono); font-feature-settings: var(--mono-feat); font-size: 12px;
}
.dash-table .row:first-child { border-top: 0; color: var(--dim); text-transform: uppercase; letter-spacing: .1em; }
.dash-table .row .ok { color: var(--text); }
.dash-table .row .warn { color: var(--warn); }
.dash-table .row .armed { color: var(--armed); }
@media (max-width: 800px) {
  .dashboard { grid-template-columns: 1fr; }
  .dash-side { border-right: 0; border-bottom: 1px solid var(--hair); }
  .dash-row { flex-direction: column; }
  .dash-cell { border-right: 0; border-bottom: 1px solid var(--hair); }
  .dash-cell:last-child { border-bottom: 0; }
}

/* ═════ HOW IT WORKS / STEPS ═════ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--hair); border-bottom: 0; border-right: 0; }
.step { padding: 40px; border-right: 1px solid var(--hair); border-bottom: 1px solid var(--hair); display: flex; flex-direction: column; gap: 16px; min-height: 260px; }
.step .num { font-family: var(--mono); font-feature-settings: var(--mono-feat); font-size: 11px; letter-spacing: .14em; color: var(--dim); }
.step .name { font-size: 28px; line-height: 32px; letter-spacing: -.015em; margin-top: 8px; }
.step .desc { color: var(--text-2); font-size: 15px; line-height: 22px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

/* ═════ METRICS BAR ═════ */
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--hair); border-bottom: 0; border-right: 0; }
.metric { padding: 32px; border-right: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.metric .val { font-size: clamp(40px, 5vw, 64px); line-height: 1; letter-spacing: -.03em; font-weight: 500; }
.metric .lbl { font-family: var(--mono); font-feature-settings: var(--mono-feat); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-top: 16px; }
.metric .ctx { color: var(--text-2); font-size: 13px; line-height: 20px; margin-top: 12px; }
@media (max-width: 900px) { .metrics { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .metrics { grid-template-columns: 1fr; } }

/* ═════ CARD GRID (industries, products, benefits, use cases) ═════ */
.cards { display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); border: 1px solid var(--hair); border-bottom: 0; border-right: 0; }
.cards--2 { --cols: 2; }
.cards--3 { --cols: 3; }
.cards--4 { --cols: 4; }
.card {
  padding: 40px;
  border-right: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
  display: flex; flex-direction: column; gap: 16px;
  min-height: 280px;
}
.card .card-head { display: flex; align-items: center; justify-content: space-between; }
.card .name { font-size: 28px; line-height: 32px; letter-spacing: -.02em; margin-top: 16px; }
.card .desc { color: var(--text-2); font-size: 15px; line-height: 22px; }
.card .metric-inline { font-family: var(--mono); font-feature-settings: var(--mono-feat); font-size: 13px; color: var(--text); margin-top: -8px; }
.card .link-cta { margin-top: auto; align-self: flex-start; }
.card .badge { font-family: var(--mono); font-feature-settings: var(--mono-feat); font-size: 10px; letter-spacing: .14em; padding: 2px 6px; border: 1px solid var(--hair-2); color: var(--dim); text-transform: uppercase; }
@media (max-width: 1000px) { .cards--3, .cards--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cards { grid-template-columns: 1fr; } }

/* ═════ LOGO BAR ═════ */
.logobar { padding: 56px 40px; border-bottom: 1px solid var(--hair); border-top: 1px solid var(--hair); }
.logobar .label { text-align: center; margin-bottom: 32px; }
.logobar .row { display: grid; grid-template-columns: repeat(8, 1fr); gap: 0; border: 1px solid var(--hair); }
.logobar .cell {
  padding: 32px 16px;
  border-right: 1px solid var(--hair);
  display: flex; align-items: center; justify-content: center;
  color: var(--dim);
  font-family: var(--mono); font-feature-settings: var(--mono-feat);
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  text-align: center;
  min-height: 88px;
}
.logobar .cell:last-child { border-right: 0; }
@media (max-width: 1000px) { .logobar .row { grid-template-columns: repeat(4, 1fr); } .logobar .cell:nth-child(4n) { border-right: 0; } .logobar .cell:nth-child(n+5) { border-top: 1px solid var(--hair); } }
@media (max-width: 600px) { .logobar .row { grid-template-columns: repeat(2, 1fr); } .logobar .cell:nth-child(2n) { border-right: 0; } .logobar .cell:nth-child(n+3) { border-top: 1px solid var(--hair); } .logobar .cell { border-right: 1px solid var(--hair); } }

/* ═════ COMPARISON TABLE ═════ */
.cmp-table {
  border: 1px solid var(--hair);
  width: 100%;
  border-collapse: collapse;
  font-family: var(--mono);
  font-feature-settings: var(--mono-feat);
  font-size: 13px;
}
.cmp-table th, .cmp-table td {
  padding: 16px 20px;
  border-right: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
  vertical-align: top;
  text-align: left;
}
.cmp-table th { color: var(--dim); text-transform: uppercase; letter-spacing: .1em; font-weight: 400; font-size: 11px; }
.cmp-table thead th { background: var(--bg-2); }
.cmp-table tbody td:first-child { color: var(--text); font-style: italic; }
.cmp-table .ours { color: var(--text); }
.cmp-table .theirs { color: var(--text-2); }
.cmp-table td:last-child, .cmp-table th:last-child { border-right: 0; }
.cmp-table tr:last-child td { border-bottom: 0; }
@media (max-width: 800px) {
  .cmp-table-scroll { overflow-x: auto; }
}

/* ═════ SENSOR SPEC GRID ═════ */
.sensors { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--hair); border-bottom: 0; border-right: 0; }
.sensor { padding: 32px; border-right: 1px solid var(--hair); border-bottom: 1px solid var(--hair); display: flex; flex-direction: column; gap: 12px; min-height: 320px; }
.sensor .num { font-family: var(--mono); font-feature-settings: var(--mono-feat); font-size: 11px; letter-spacing: .14em; color: var(--dim); }
.sensor .name { font-size: 22px; line-height: 26px; letter-spacing: -.01em; margin-top: 4px; }
.sensor .spec-row { display: grid; grid-template-columns: 110px 1fr; gap: 8px; margin-top: 12px; font-family: var(--mono); font-feature-settings: var(--mono-feat); font-size: 12px; }
.sensor .spec-row .k { color: var(--dim); text-transform: uppercase; letter-spacing: .1em; font-size: 10px; padding-top: 2px; }
.sensor .spec-row .v { color: var(--text); }
.sensor .why { color: var(--text-2); font-size: 13px; line-height: 20px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--hair); }
@media (max-width: 1000px) { .sensors { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .sensors { grid-template-columns: 1fr; } }

/* ═════ COMPLIANCE BADGES ═════ */
.badges { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--hair); border-bottom: 0; border-right: 0; }
.badge-item { padding: 24px; border-right: 1px solid var(--hair); border-bottom: 1px solid var(--hair); display: flex; flex-direction: column; gap: 8px; min-height: 140px; }
.badge-item .b-name { font-size: 14px; font-weight: 500; }
.badge-item .b-desc { color: var(--text-2); font-size: 12px; line-height: 18px; }
@media (max-width: 900px) { .badges { grid-template-columns: repeat(2, 1fr); } }

/* ═════ TEAM ═════ */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--hair); border-bottom: 0; border-right: 0; }
.team-member { padding: 32px; border-right: 1px solid var(--hair); border-bottom: 1px solid var(--hair); display: flex; flex-direction: column; gap: 16px; min-height: 360px; }
.team-member .headshot { width: 160px; height: 208px; min-height: 0; padding: 0; flex-shrink: 0; }
@media (max-width: 1100px) { .team-member .headshot { width: 144px; height: 187px; } }
@media (max-width: 700px)  { .team-member .headshot { width: 128px; height: 166px; } }
.team-member .name { font-size: 20px; letter-spacing: -.01em; }
.team-member .title { color: var(--text-2); margin-top: 4px; font-size: 13px; }
.team-member .pedigree { font-family: var(--mono); font-feature-settings: var(--mono-feat); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--armed); margin-top: 8px; }
.team-member .bio { color: var(--text-2); font-size: 13px; line-height: 20px; margin-top: 8px; }
.team-member .links { margin-top: auto; padding-top: 12px; }
.team-member .links a { font-family: var(--mono); font-feature-settings: var(--mono-feat); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--text); border-bottom: 1px solid var(--hair-2); }
.team-member--hiring { border: 1px dashed var(--hair-2); justify-content: center; align-items: center; text-align: center; }
@media (max-width: 1100px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .team-grid { grid-template-columns: 1fr; } }

/* ═════ PARTNERS LIST ═════ */
.partners-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--hair); border-bottom: 0; border-right: 0; }
.partner { padding: 24px; border-right: 1px solid var(--hair); border-bottom: 1px solid var(--hair); display: flex; flex-direction: column; gap: 8px; min-height: 140px; }
.partner .p-name { font-size: 15px; font-weight: 500; }
.partner .p-desc { color: var(--text-2); font-size: 12px; line-height: 18px; }
@media (max-width: 900px) { .partners-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .partners-grid { grid-template-columns: 1fr; } }

/* ═════ CTA SECTION ═════ */
.cta { text-align: center; padding: 160px 40px; border-top: 1px solid var(--hair); }
.cta h2 { font-weight: 500; font-size: clamp(40px, 5vw, 72px); line-height: 1; letter-spacing: -.03em; max-width: 24ch; margin: 0 auto; }
.cta .sub { color: var(--text-2); font-size: 17px; line-height: 26px; max-width: 60ch; margin: 24px auto 0; }
.cta .actions { margin-top: 48px; display: inline-flex; gap: 24px; }
@media (max-width: 600px) { .cta { padding: 96px 24px; } .cta .actions { flex-direction: column; } }

/* ═════ CONTACT FORM ═════ */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 720px; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; }
.form .field-label { font-family: var(--mono); font-feature-settings: var(--mono-feat); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-bottom: 8px; }
.form input, .form select, .form textarea {
  width: 100%; background: transparent; border: 1px solid var(--hair-2); color: var(--text);
  padding: 14px 16px; font-family: var(--sans); font-size: 15px; line-height: 24px; letter-spacing: -.005em;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--text); }
.form textarea { min-height: 140px; resize: vertical; }
.form .submit { background: var(--text); color: var(--bg); padding: 14px 24px; border: 1px solid var(--text); font-family: var(--mono); font-feature-settings: var(--mono-feat); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
.form .submit:hover { background: transparent; color: var(--text); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.contact-grid .contact-details { font-family: var(--mono); font-feature-settings: var(--mono-feat); font-size: 13px; line-height: 22px; }
.contact-grid .contact-details a { color: var(--text); border-bottom: 1px solid var(--hair-2); }
@media (max-width: 800px) { .form { grid-template-columns: 1fr; } .contact-grid { grid-template-columns: 1fr; gap: 40px; } }

/* ═════ FOOTER ═════ */
footer { border-top: 1px solid var(--hair); padding: 80px 40px 40px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 64px; }
.foot-col h4 { font-family: var(--mono); font-feature-settings: var(--mono-feat); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-bottom: 20px; font-weight: 400; }
.foot-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.foot-col a { color: var(--text-2); font-size: 14px; }
.foot-col a:hover { color: var(--text); }
.foot-col .coming { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; color: var(--dim); margin-left: 8px; text-transform: uppercase; }
.foot-brand { display: flex; flex-direction: column; gap: 24px; }
.foot-brand .word { font-size: 48px; font-weight: 500; letter-spacing: -.03em; line-height: 1; }
.foot-bottom {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 80px; padding-top: 24px; border-top: 1px solid var(--hair);
  font-family: var(--mono); font-feature-settings: var(--mono-feat);
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim);
}
.foot-bottom .right { display: flex; gap: 24px; }
@media (max-width: 800px) {
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .foot-brand { grid-column: 1 / -1; }
  .foot-bottom { flex-direction: column; gap: 16px; align-items: flex-start; }
}

/* ═════ EDITORIAL PHOTO TREATMENT ═════ */
/* When an asset-ph wraps a real image, strip the placeholder chrome
   (padding, dashed border, diagonal-line pattern) so the photo fills edge-to-edge. */
.asset-ph:has(img) {
  padding: 0;
  border: 0;
  background: var(--bg);
  overflow: hidden;
  min-height: 0;
  display: block;
}
.asset-ph--tall:has(img) { min-height: 0; aspect-ratio: 16 / 9; }
.asset-ph--wide:has(img) { min-height: 0; aspect-ratio: 21 / 9; }

/* Photo treatments — three intensities by use case */
.photo-hero {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: grayscale(1) brightness(0.78) contrast(1.08);
}
.photo-card {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: grayscale(1) brightness(0.72) contrast(1.1);
}
.photo-blog {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: grayscale(0.85) brightness(0.82) contrast(1.06);
}
/* Industry cards on homepage — the asset-ph used to be 160px min-height;
   give it a clean 16:10 frame instead so the photo has somewhere to live */
.card .asset-ph:has(img) {
  aspect-ratio: 16 / 10;
  margin-bottom: 16px;
}
/* Container that holds a card photo at fixed aspect */
.photo-frame {
  position: relative;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--hair);
  background: var(--bg-2);
}
.photo-frame--wide   { aspect-ratio: 16 / 9; }
.photo-frame--card   { aspect-ratio: 4 / 3; }
.photo-frame--square { aspect-ratio: 1 / 1; }
.photo-frame--tall   { aspect-ratio: 3 / 4; }

/* ═════ HERO PHOTO ═════ */
.hero-photo {
  margin: 0;
  border: 1px solid var(--hair);
  overflow: hidden;
  position: relative;
}
.hero-photo img {
  width: 100%;
  height: auto;
  display: block;
  filter: grayscale(1) brightness(0.85) contrast(1.05);
}

/* ═════ LOGO WHITENING ═════ */
/* Any colored logo (PNG/WebP/AVIF/JPG) rendered as pure white silhouette */
.logo-white {
  filter: brightness(0) invert(1);
}
/* Slightly dimmed variant for "trusted by" grids — readable but quiet */
.logo-white-dim {
  filter: brightness(0) invert(1);
  opacity: 0.78;
  transition: opacity .2s ease;
}
.logo-white-dim:hover {
  opacity: 1;
}
/* Constrain logo size inside grid cells */
.logo-img {
  max-width: 100%;
  max-height: 44px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* ═════ FAQ ═════ */
.faq { border: 1px solid var(--hair); }
.faq-item { border-bottom: 1px solid var(--hair); }
.faq-item:last-child { border-bottom: 0; }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  font-size: 17px; line-height: 24px; letter-spacing: -.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--mono); font-size: 20px; color: var(--dim);
  transition: transform .2s ease, color .2s ease;
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: "−"; color: var(--text); }
.faq-item summary:hover { background: var(--bg-2); }
.faq-item .faq-body {
  padding: 0 32px 24px 32px;
  color: var(--text-2);
  font-size: 15px; line-height: 24px;
  max-width: 80ch;
}
.faq-item .faq-body p + p { margin-top: 16px; }
.faq-item .faq-body code {
  font-family: var(--mono); font-size: 13px;
  background: var(--bg-2); padding: 1px 6px; border: 1px solid var(--hair);
}

/* ═════ DOWNLOADS ═════ */
.downloads { display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid var(--hair); border-bottom: 0; border-right: 0; }
.download {
  padding: 32px;
  border-right: 1px solid var(--hair); border-bottom: 1px solid var(--hair);
  display: flex; flex-direction: column; gap: 12px;
  min-height: 240px;
}
.download .d-meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.download .d-format {
  font-family: var(--mono); font-feature-settings: var(--mono-feat);
  font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  padding: 2px 6px; border: 1px solid var(--hair-2); color: var(--dim);
}
.download .d-gate {
  font-family: var(--mono); font-feature-settings: var(--mono-feat);
  font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--armed);
}
.download .d-name { font-size: 20px; line-height: 26px; letter-spacing: -.015em; margin-top: 4px; }
.download .d-desc { color: var(--text-2); font-size: 14px; line-height: 22px; }
.download .d-cta { margin-top: auto; }
@media (max-width: 800px) { .downloads { grid-template-columns: 1fr; } }

/* ═════ BOTTOM-RIGHT BRAND WATERMARK ═════ */
.brand-watermark {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  padding: 10px 14px;
  background: rgba(0,0,0,.55);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border: 1px solid var(--hair-2);
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
  transition: border-color .2s ease, background .2s ease;
}
.brand-watermark:hover { border-color: var(--hair-3); background: rgba(0,0,0,.75); }
.brand-watermark img {
  height: 18px;
  width: auto;
  filter: brightness(0) invert(1);
}
.brand-watermark .wm-label {
  font-family: var(--mono); font-feature-settings: var(--mono-feat);
  font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-2);
}
@media (max-width: 600px) {
  .brand-watermark { right: 12px; bottom: 12px; padding: 8px 10px; }
  .brand-watermark img { height: 14px; }
  .brand-watermark .wm-label { display: none; }
}

/* ═══════════════════════════════════════════════════════════════════
   MOTION & POLISH
   Subtle micro-interactions. Apple-restraint, not Awwwards-fest.
   All durations short (140-300ms); easing favours outExpo / outQuart.
   ═══════════════════════════════════════════════════════════════════ */

/* Motion preparation — anime.js sets initial opacity:0 via these classes.
   When JS is disabled OR prefers-reduced-motion is set, elements stay visible. */
:root { --motion-ease: cubic-bezier(0.16, 1, 0.3, 1); --motion-fast: 160ms; --motion-med: 240ms; }

@media (prefers-reduced-motion: no-preference) {
  .motion-prepare { opacity: 0; }
}
.reduced-motion .motion-prepare { opacity: 1 !important; transform: none !important; }

/* ─── NAV scroll-shrink ─── */
.nav { transition: background var(--motion-med) ease, backdrop-filter var(--motion-med) ease, border-color var(--motion-med) ease, height var(--motion-med) ease, padding var(--motion-med) ease; }
.nav--scrolled {
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom-color: var(--hair-2);
  height: 72px;
  padding-top: 16px; padding-bottom: 16px;
}
.nav-links a {
  transition: color var(--motion-fast) ease;
  position: relative;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px;
  background: var(--text); transform: scaleX(0); transform-origin: left center;
  transition: transform var(--motion-med) var(--motion-ease);
}
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-cta {
  transition: background var(--motion-fast) ease, color var(--motion-fast) ease, border-color var(--motion-fast) ease;
}
.nav-cta:hover { background: var(--text); color: var(--bg); }
.brand-mark { transition: transform var(--motion-med) var(--motion-ease); }
.brand:hover .brand-mark { transform: rotate(45deg); }

/* ─── LINK-CTA — arrow nudge + underline expand ─── */
.link-cta { transition: color var(--motion-fast) ease, border-color var(--motion-fast) ease, gap var(--motion-fast) ease; }
.link-cta::after { transition: transform var(--motion-med) var(--motion-ease); display: inline-block; }
.link-cta:hover { gap: 14px; }
.link-cta:hover::after { transform: translateX(4px); }
.link-cta--armed:hover { color: #ff5533; border-bottom-color: #ff5533; }

/* ─── CARDS — hover lift + border brighten ─── */
.card {
  transition:
    transform var(--motion-med) var(--motion-ease),
    border-color var(--motion-med) ease,
    background var(--motion-med) ease;
  will-change: transform;
}
.card:hover {
  transform: translateY(-3px);
  border-right-color: var(--hair-2);
  border-bottom-color: var(--hair-2);
  background: rgba(255,255,255,.012);
}
.card .link-cta { transition: color var(--motion-fast) ease, gap var(--motion-fast) ease; }
.card:hover .link-cta { color: var(--text); gap: 14px; }
.card:hover .link-cta::after { transform: translateX(4px); }

/* Cards that contain a photo — subtle zoom on hover */
.card .asset-ph:has(img) img { transition: transform 600ms var(--motion-ease), filter var(--motion-med) ease; }
.card:hover .asset-ph:has(img) img { transform: scale(1.04); }

/* ─── STEPS (How It Works) ─── */
.step {
  transition: transform var(--motion-med) var(--motion-ease), border-color var(--motion-med) ease;
}
.step:hover {
  transform: translateY(-2px);
  border-right-color: var(--hair-2);
  border-bottom-color: var(--hair-2);
}

/* ─── METRIC ─── */
.metric { transition: background var(--motion-med) ease; }
.metric:hover { background: rgba(255,255,255,.015); }
.metric .val { font-variant-numeric: tabular-nums; }

/* ─── BADGES ─── */
.badge-item { transition: background var(--motion-med) ease, border-color var(--motion-med) ease; }
.badge-item:hover { background: rgba(255,255,255,.02); border-right-color: var(--hair-2); }

/* ─── FORM ─── */
.form input, .form select, .form textarea {
  transition: border-color var(--motion-fast) ease, background var(--motion-fast) ease;
}
.form input:hover, .form select:hover, .form textarea:hover { border-color: var(--hair-3); }
.form input:focus, .form select:focus, .form textarea:focus {
  border-color: var(--text);
  background: rgba(255,255,255,.02);
  outline: 0;
}
.form .submit {
  transition: background var(--motion-fast) ease, color var(--motion-fast) ease, transform var(--motion-fast) ease;
}
.form .submit:hover { transform: translateY(-1px); }
.form .submit:active { transform: translateY(0); }

/* ─── FAQ smoother accordion ─── */
.faq-item summary { transition: background var(--motion-fast) ease; }
.faq-item summary::after { transition: transform var(--motion-med) var(--motion-ease), color var(--motion-fast) ease; }
.faq-item[open] summary::after { transform: rotate(180deg); }
.faq-item .faq-body { animation: faqIn var(--motion-med) var(--motion-ease); }
@keyframes faqIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── FOOTER ─── */
.foot-col a, .foot-bottom a {
  position: relative;
  transition: color var(--motion-fast) ease;
}
.foot-col a::after, .foot-bottom a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px;
  background: var(--text-2);
  transform: scaleX(0); transform-origin: left center;
  transition: transform var(--motion-med) var(--motion-ease);
}
.foot-col a:hover::after, .foot-bottom a:hover::after { transform: scaleX(1); }
.foot-brand .word { letter-spacing: -.04em; }

/* ─── INDUSTRIES SUB-NAV underline animation ─── */
[style*="border-bottom: 1px solid var(--text)"] {
  /* This is the active sub-nav tab — already styled inline */
}

/* ─── PHOTO hover on solutions hero ─── */
.page-hero .asset-ph:has(img) img { transition: transform 800ms var(--motion-ease), filter var(--motion-med) ease; }
.page-hero .asset-ph:has(img):hover img { transform: scale(1.015); }

/* ─── TYPOGRAPHY refinements ─── */
.hero-title, .display-xl, .display-l, .display-m {
  font-feature-settings: "ss01" 1, "cv11" 1, "kern" 1;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/* Tabular numerics across all numeric-heavy contexts */
.metric .val, .cmp-table, .ide-code, .dash-table, .sensor .spec-row,
.display-m, .display-l { font-variant-numeric: tabular-nums slashed-zero; }
/* Optical letter-spacing tightening at huge sizes */
.hero-title { letter-spacing: -.045em; }
.display-xl { letter-spacing: -.038em; }
/* Improve italic-mono small caps */
.eyebrow, .meta { -webkit-font-smoothing: antialiased; }
/* Link styling baseline */
a { transition: color var(--motion-fast) ease, opacity var(--motion-fast) ease; }

/* ─── BRAND WATERMARK polish ─── */
.brand-watermark { transition: border-color var(--motion-med) ease, background var(--motion-med) ease, transform var(--motion-med) var(--motion-ease); }
.brand-watermark:hover { transform: translateY(-2px); border-color: var(--hair-3); }
.brand-watermark img { transition: filter var(--motion-fast) ease; }

/* ─── INDUSTRY-CARD label nudge ─── */
.cards--4 .card .card-head { transition: transform var(--motion-med) var(--motion-ease); }
.cards--4 .card:hover .card-head { transform: translateX(2px); }

/* ─── DOWNLOAD tile hover ─── */
.download { transition: background var(--motion-med) ease, border-color var(--motion-med) ease; }
.download:hover { background: rgba(255,255,255,.02); border-right-color: var(--hair-2); border-bottom-color: var(--hair-2); }
.download .d-cta { transition: gap var(--motion-fast) ease, color var(--motion-fast) ease; }
.download:hover .d-cta { gap: 14px; color: var(--text); }
.download:hover .d-cta::after { transform: translateX(4px); }

/* ─── SECTION TRANSITIONS ─── */
.section { transition: background var(--motion-med) ease; }

/* ═════ ARTICLE BODY (blog long-form prose) ═════ */
.article-body { max-width: 72ch; margin: 0 auto; }
.article-body > * + * { margin-top: 24px; }
.article-body h2.display-m { margin-top: 64px; }
.article-body h3 { font-size: 20px; line-height: 26px; letter-spacing: -.01em; font-weight: 500; margin-top: 40px; }
.article-body p { font-size: 17px; line-height: 28px; color: var(--text-2); }
.article-body p strong { color: var(--text); font-weight: 500; }
.article-body p.meta { font-size: 12px; line-height: 16px; color: var(--dim); }
.article-body ul, .article-body ol { padding-left: 20px; color: var(--text-2); font-size: 17px; line-height: 28px; }
.article-body li + li { margin-top: 8px; }
.article-body a { color: var(--text); border-bottom: 1px solid var(--hair-2); }
.article-body a:hover { border-bottom-color: var(--text); }
@media (max-width: 800px) {
  .article-body p, .article-body ul, .article-body ol { font-size: 16px; line-height: 26px; }
}

/* ═════ PULL QUOTE (editorial callout) ═════ */
.pull-quote {
  margin: 56px 0;
  padding: 32px 0 32px 32px;
  border-left: 1px solid var(--hair-3);
  font-weight: 500;
  font-size: clamp(22px, 2.6vw, 28px);
  line-height: 1.25;
  letter-spacing: -.015em;
  color: var(--text);
  max-width: 60ch;
}
.pull-quote cite {
  display: block;
  margin-top: 16px;
  font-family: var(--mono);
  font-feature-settings: var(--mono-feat);
  font-style: normal;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--dim);
}
@media (max-width: 600px) {
  .pull-quote { padding-left: 20px; margin: 40px 0; }
}

/* ═════ ARTICLE META FOOTER (citations / sources at end of long-form post) ═════ */
.article-meta-footer {
  max-width: 72ch;
  margin: 80px auto 0;
  padding-top: 32px;
  border-top: 1px solid var(--hair);
  font-family: var(--mono);
  font-feature-settings: var(--mono-feat);
  font-style: italic;
  font-size: 12px;
  line-height: 20px;
  letter-spacing: .02em;
  color: var(--dim);
}
.article-meta-footer p + p { margin-top: 8px; }
.article-meta-footer a { color: var(--text-2); border-bottom: 1px solid var(--hair-2); }
.article-meta-footer a:hover { color: var(--text); border-bottom-color: var(--text); }

/* mockup-banner removed — production header */

/* ═════ NAV BRAND LOGO (replaces geometric brand-mark) ═════ */
.brand { text-decoration: none; }
.brand-logo {
  height: 22px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  transition: opacity var(--motion-fast) ease;
}
.brand:hover .brand-logo { opacity: .82; }
@media (max-width: 600px) {
  .brand-logo { height: 18px; }
}

/* ═════ CLICKABLE CARDS (.card--link) ═════
   Wraps an entire card in <a class="card card--link" href="…">.
   The whole card surface is the hit target — single tap on touch,
   single click on desktop. The inner `.link-cta` text becomes a
   visual affordance but is no longer a separate link.            */
a.card--link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  position: relative;
  transition:
    transform var(--motion-med) var(--motion-ease),
    border-color var(--motion-med) ease,
    background var(--motion-med) ease;
  outline: none;
}
a.card--link:hover,
a.card--link:focus-visible {
  transform: translateY(-3px);
  border-color: var(--hair-3);
  background: rgba(255,255,255,.02);
}
a.card--link:focus-visible {
  outline: 1px solid var(--text);
  outline-offset: 2px;
}
a.card--link .link-cta {
  margin-top: auto;
  pointer-events: none; /* the parent <a> handles the click */
}
a.card--link:hover .link-cta,
a.card--link:focus-visible .link-cta {
  color: var(--text);
  border-bottom-color: var(--text);
}
a.card--link .link-cta::after {
  content: " →";
  display: inline-block;
  margin-left: 4px;
  transition: transform var(--motion-fast) ease;
}
a.card--link:hover .link-cta::after,
a.card--link:focus-visible .link-cta::after {
  transform: translateX(3px);
}

/* ═════ ARTICLE CAROUSEL ═════
   Native horizontal scroll with scroll-snap. Works on touch,
   desktop drag, and keyboard. Prev/Next buttons + dot indicators
   are progressive enhancement via motion.js.                    */
.carousel {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  gap: 16px;
  align-items: stretch;
  margin-top: 8px;
}
.carousel-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 8px 4px 24px;
  -webkit-overflow-scrolling: touch;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-card {
  flex: 0 0 calc((100% - 40px) / 3);
  min-width: 0;
  scroll-snap-align: start;
  border: 1px solid var(--hair);
  padding: 24px;
  background: var(--bg);
}
@media (max-width: 1100px) {
  .carousel-card { flex: 0 0 calc((100% - 20px) / 2); }
}
@media (max-width: 700px) {
  .carousel-card { flex: 0 0 calc(100% - 24px); padding: 20px; }
  .carousel { grid-template-columns: 36px 1fr 36px; gap: 8px; }
}
.carousel-btn {
  border: 1px solid var(--hair-2);
  background: transparent;
  color: var(--text);
  font-family: var(--mono); font-feature-settings: var(--mono-feat);
  font-size: 16px;
  cursor: pointer;
  align-self: center;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  transition: border-color var(--motion-fast) ease, background var(--motion-fast) ease, opacity var(--motion-fast) ease;
}
.carousel-btn:hover { border-color: var(--text); background: rgba(255,255,255,.04); }
.carousel-btn:disabled { opacity: .3; cursor: not-allowed; }
@media (max-width: 700px) {
  .carousel-btn { width: 36px; height: 36px; font-size: 14px; }
}
.carousel-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 16px;
}
.carousel-dot {
  width: 24px;
  height: 2px;
  background: var(--hair-2);
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: background var(--motion-fast) ease;
}
.carousel-dot[aria-current="true"] { background: var(--text); }
.carousel-dot:hover { background: var(--hair-3); }

/* ═════ CENTERED SECTION VARIANT ═════ */
.section--centered .section-head { display: block; text-align: center; }
.section--centered .section-head .display-l,
.section--centered .section-head .display-m { text-align: center; }
.section--centered .section-head .eyebrow { text-align: center; }

/* ═════ INDUSTRY PICKER (pill row above 4-card grid) ═════
   Single tap pills filter the .filterable sections below.
   Cards themselves remain links — double-tap navigates to the
   industry's full page (per the user's earlier dual-behavior ask). */
.picker {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 40px auto 32px;
  max-width: 760px;
}
.picker-pill {
  font-family: var(--mono); font-feature-settings: var(--mono-feat);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.74);
  background: transparent;
  border: 1px solid var(--hair-2);
  padding: 10px 18px;
  cursor: pointer;
  transition:
    color var(--motion-fast) ease,
    border-color var(--motion-fast) ease,
    background var(--motion-fast) ease;
}
.picker-pill:hover {
  color: var(--text);
  border-color: var(--hair-3);
  background: rgba(255,255,255,.03);
}
.picker-pill--active,
.picker-pill[aria-pressed="true"] {
  color: var(--bg);
  background: var(--text);
  border-color: var(--text);
}

/* Picker cards — same .card--link styling, plus a selected-state ring */
.picker-cards {
  margin-top: 0;
}
.picker-card.picker-card--active {
  border-color: var(--text);
  background: rgba(255,255,255,.03);
}

/* ═════ FILTERABLE — hide non-matching, fade matching ═════ */
.filterable[data-active-filter] [data-industry] {
  display: none;
}
.filterable[data-active-filter="all"] [data-industry] {
  display: flex;
}
/* Each industry filter exposes matching items via attribute selector
   that checks for whole-word presence in the data-industry list.    */
.filterable[data-active-filter="aviation"] [data-industry~="aviation"],
.filterable[data-active-filter="defense"]  [data-industry~="defense"],
.filterable[data-active-filter="energy"]   [data-industry~="energy"],
.filterable[data-active-filter="space"]    [data-industry~="space"] {
  display: flex;
}
/* Carousel-track is flex; keep its children flex too */
.carousel-track.filterable[data-active-filter] .carousel-card {
  display: none;
}
.carousel-track.filterable[data-active-filter="all"] .carousel-card,
.carousel-track.filterable[data-active-filter="aviation"] .carousel-card[data-industry~="aviation"],
.carousel-track.filterable[data-active-filter="defense"]  .carousel-card[data-industry~="defense"],
.carousel-track.filterable[data-active-filter="energy"]   .carousel-card[data-industry~="energy"],
.carousel-track.filterable[data-active-filter="space"]    .carousel-card[data-industry~="space"] {
  display: flex;
}
/* Empty-state message for filterable grids with no matches */
.filterable-empty {
  display: none;
  grid-column: 1 / -1;
  padding: 32px;
  border: 1px dashed var(--hair-2);
  text-align: center;
  color: var(--text-2);
  font-family: var(--mono); font-feature-settings: var(--mono-feat);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* ═════ BACKER LINKS — inline links to Seraphim VC + JPM Innovation Economy ═════ */
.backer-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--hair-3);
  padding-bottom: 1px;
  transition: border-color var(--motion-fast) ease, color var(--motion-fast) ease;
  white-space: nowrap;
}
.backer-link:hover {
  border-bottom-color: var(--text);
  color: var(--text);
}
.backer-link::after {
  content: " ↗";
  font-family: var(--mono); font-feature-settings: var(--mono-feat);
  font-size: .85em;
  opacity: .7;
  margin-left: 2px;
  transition: opacity var(--motion-fast) ease, transform var(--motion-fast) ease;
  display: inline-block;
}
.backer-link:hover::after {
  opacity: 1;
  transform: translate(2px, -1px);
}
/* In the display-l h2 on about.html, the underline reads too heavy — switch to a hairline */
h2.display-l .backer-link {
  border-bottom-width: 1px;
  border-bottom-color: rgba(255,255,255,.20);
}

/* ═════ TEAM HEADSHOT PHOTOS — square, grayscale, hairline border ═════ */
.team-member .headshot {
  overflow: hidden;
  position: relative;
  background: var(--bg-2);
  border: 1px solid var(--hair);
}
.headshot-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(1) contrast(1.04);
  transition: filter var(--motion-med) ease;
}
.team-member:hover .headshot-img {
  filter: grayscale(0.65) contrast(1.06);
}

/* ═════ TEAM LINKEDIN LINKS — inline LinkedIn glyph + label ═════ */
.team-member .links {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.li-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono); font-feature-settings: var(--mono-feat);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-2);
  padding-bottom: 2px;
  border-bottom: 1px solid var(--hair-2);
  transition: color var(--motion-fast) ease, border-color var(--motion-fast) ease;
  cursor: pointer;
}
.li-link:hover {
  color: var(--text);
  border-bottom-color: var(--text);
}

/* ═════ CONTACT · DEMO PAGE — mobile overrides ═════
   The demo section uses inline grid-template-columns for the
   damage-card + abrams-context blocks. Inline styles win over
   non-!important CSS, so we use !important here to override
   them at the mobile breakpoint.                             */
@media (max-width: 700px) {
  /* Damage card — stack image + readout vertically */
  .damage-card {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    padding: 20px !important;
  }
  .damage-card > div:first-child {
    min-height: 200px !important;
    aspect-ratio: 4 / 3;
  }
  /* Inner Location/Detection 2-col grid — stack on mobile */
  .damage-card [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
  .damage-card div[style*="font: 700 22px"] { font-size: 18px !important; line-height: 1.25 !important; }

  /* Demo video viewer — slightly taller aspect for narrow screens */
  .demo-viewer-wrap {
    aspect-ratio: 4 / 3 !important;
    margin-top: 20px !important;
  }
  .demo-viewer-wrap > div[style*="font: 11px"] {
    font-size: 10px !important;
    top: 8px !important;
    left: 10px !important;
    padding: 4px 8px !important;
  }

  /* M1 Abrams context block — pad less, stat row stacks 2-col */
  .abrams-context {
    padding: 20px !important;
    margin-top: 20px !important;
  }
  .abrams-context > div:nth-child(2) {
    grid-template-columns: 1fr 1fr !important;
    gap: 14px !important;
  }
  .abrams-context [style*="font: 700 26px"] { font-size: 20px !important; }
  .abrams-context [style*="font: 700 20px"] { font-size: 17px !important; line-height: 1.25 !important; }
  /* Stack the header row (title + source line) on mobile */
  .abrams-context > div:first-child {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
  }
}

/* ═════ DEMO PAGE — extra-narrow refinements ═════ */
@media (max-width: 700px) {
  /* Allow mono captions in the Abrams context to wrap */
  .abrams-context [style*="font: 11px"],
  .abrams-context [style*="font: 700 11px"] {
    word-break: break-word;
    overflow-wrap: anywhere;
  }
}
@media (max-width: 460px) {
  /* Stack the Abrams stat cards to a single column on very narrow screens */
  .abrams-context > div:nth-child(2) {
    grid-template-columns: 1fr !important;
  }
}

/* ═════ CONSISTENT HIGHLIGHT MOTION ═════
   Unify hover/focus animation across all interactive surfaces.
   Single curve, single duration, single intensity.            */
:root {
  --hl-dur: 220ms;
  --hl-ease: cubic-bezier(.16, 1, .3, 1);
  --hl-lift: -3px;
}
a, button {
  transition:
    color var(--hl-dur) var(--hl-ease),
    border-color var(--hl-dur) var(--hl-ease),
    background var(--hl-dur) var(--hl-ease),
    transform var(--hl-dur) var(--hl-ease),
    opacity var(--hl-dur) var(--hl-ease);
}
a.card--link:hover,
a.card--link:focus-visible {
  transform: translateY(var(--hl-lift));
}
.picker-pill,
.li-link,
.link-cta,
.carousel-btn,
.dd-title,
.nav-links a,
.nav-cta,
.backer-link {
  transition:
    color var(--hl-dur) var(--hl-ease),
    border-color var(--hl-dur) var(--hl-ease),
    background var(--hl-dur) var(--hl-ease),
    opacity var(--hl-dur) var(--hl-ease);
}
.download, .card, .partner, .team-member {
  transition:
    border-color var(--hl-dur) var(--hl-ease),
    background var(--hl-dur) var(--hl-ease),
    transform var(--hl-dur) var(--hl-ease);
}

/* Adjust body spacing now that the banner is gone */
body { padding-top: 0; }

/* Hide the mobile menu CTA on desktop (only displays inside open burger menu) */
@media (min-width: 801px) {
  .nav-mobile-cta { display: none !important; }
}
