/* Imannova — styles
   Tokens come from the brand brief (colours sampled from the logo). */

/* Self-hosted variable fonts (SIL Open Font License), latin subset */
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 300 400;
  font-display: swap;
  src: url("../fonts/jost-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #FAF9F5;
  --surface: #F2EFE8;
  --ink: #1D1D1F;
  --muted: #6E6E73;
  --gold: #A89475;        /* logo, rules, icons, accents */
  --gold-ink: #76644A;    /* gold for small text: 5.4:1 on --bg */
  --line: #E6E1D8;
  --line-strong: #D8D1C4;
  --night: #0E0F0E;
  --night-2: #181917;
  --night-ink: #F5F5F7;
  --night-muted: #A1A1A6;

  --font-display: "Jost", "Futura", "Century Gothic", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --max: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --nav-h: 56px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --space-section: clamp(96px, 12vw, 168px);
  --space-block: clamp(48px, 7vw, 96px);
  --ease-out: cubic-bezier(.22, .61, .36, 1);
  --ease-spring: cubic-bezier(.32, .72, 0, 1);
}

/* ---------- Base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: var(--nav-h);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
picture { display: contents; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--gold-ink); }

p { margin: 0 0 1em; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -.02em;
  text-wrap: balance;
}

h2 { font-size: clamp(2.25rem, 4.6vw, 3.875rem); }
h3 { font-size: clamp(1.5rem, 2.4vw, 2.125rem); line-height: 1.12; letter-spacing: -.012em; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 999px;
  background: var(--ink); color: #fff; text-decoration: none; font-size: .875rem;
}
.skip-link:focus { top: 12px; color: #fff; }

.wrap {
  width: min(100% - 2 * var(--gutter), var(--max));
  margin-inline: auto;
}

.section { padding-block: var(--space-section); }

.eyebrow {
  margin: 0 0 20px;
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-ink);
}

.lede {
  max-width: 58ch;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.0625rem, 1.35vw, 1.25rem);
  line-height: 1.55;
}

.h-small {
  font-size: clamp(1.375rem, 2vw, 1.75rem);
  margin-bottom: 24px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 500 .9375rem/1 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: transform .12s var(--ease-out), background-color .2s, border-color .2s, color .2s;
}
.btn:active { transform: scale(.97); }
.btn[disabled] { opacity: .55; cursor: progress; }

.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; }

.btn-ghost {
  border-color: rgba(29, 29, 31, .22);
  background: rgba(250, 249, 245, .45);
  color: var(--ink);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }

/* ---------- Navigation ---------- */

.site-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--nav-h);
  background: rgba(250, 249, 245, .6);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  transition: background-color .35s var(--ease-out), box-shadow .35s var(--ease-out);
}

.site-nav.is-solid {
  background: rgba(250, 249, 245, .74);
  box-shadow: 0 1px 0 rgba(29, 29, 31, .07);
}

.site-nav.is-dark {
  background: rgba(14, 15, 14, .72);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .07);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: min(100% - 2 * var(--gutter), var(--max));
  margin-inline: auto;
}

.nav-logo { display: block; padding: 6px 0; }
.nav-logo img { height: 28px; width: auto; }
.logo-white { display: none !important; }
.is-dark .logo-gold { display: none !important; }
.is-dark .logo-white { display: block !important; }

.nav-links { display: flex; gap: 4px; }
.nav-links a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--ink);
  font-size: .8125rem;
  letter-spacing: .01em;
  text-decoration: none;
  opacity: .78;
  transition: opacity .2s, color .2s;
}
.nav-links a:hover { opacity: 1; color: var(--ink); }
.nav-links a[aria-current="true"] { opacity: 1; color: var(--gold-ink); }
.is-dark .nav-links a { color: var(--night-ink); }
.is-dark .nav-links a[aria-current="true"] { color: var(--gold); }

.nav-burger {
  display: none;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  border: 0;
  background: none;
  color: var(--ink);
  cursor: pointer;
}
.is-dark .nav-burger { color: var(--night-ink); }
.burger-lines { position: relative; display: block; width: 18px; height: 8px; margin: auto; }
.burger-lines i {
  position: absolute; left: 0; right: 0; height: 1.5px; border-radius: 2px;
  background: currentColor;
  transition: transform .35s var(--ease-spring), top .35s var(--ease-spring);
}
.burger-lines i:first-child { top: 0; }
.burger-lines i:last-child { top: 6.5px; }
.nav-open .burger-lines i:first-child { top: 3.25px; transform: rotate(45deg); }
.nav-open .burger-lines i:last-child { top: 3.25px; transform: rotate(-45deg); }

.menu-sheet {
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  padding: 24px var(--gutter) calc(32px + env(safe-area-inset-bottom));
  background: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
  animation: sheet-in .35s var(--ease-out);
}
.menu-sheet[hidden] { display: none; }
.menu-sheet nav { display: flex; flex-direction: column; }
.menu-sheet nav a {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font: 300 2rem/1.15 var(--font-display);
  letter-spacing: -.01em;
  text-decoration: none;
}
.menu-contact { margin: 32px 0 0; color: var(--muted); font-size: .9375rem; line-height: 2; }
/* backdrop-filter would make the nav the containing block for the fixed sheet, so drop it while open */
.nav-open.site-nav {
  background: var(--bg);
  box-shadow: 0 1px 0 var(--line);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.nav-open .logo-gold { display: block !important; }
.nav-open .logo-white { display: none !important; }
.nav-open .nav-burger { color: var(--ink); }

@keyframes sheet-in { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- Media ---------- */

.media { position: relative; }
.media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .9s var(--ease-out);
}
.media video.is-playing { opacity: 1; }

.bleed {
  position: relative;
  height: min(88vh, 56.25vw);
  min-height: 360px;
  overflow: hidden;
  background: var(--surface);
}
.bleed img, .bleed video { width: 100%; height: 100%; object-fit: cover; }

.frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.frame img, .frame video { width: 100%; height: 100%; object-fit: cover; }
.frame--portrait { aspect-ratio: 4 / 5; }
.frame--landscape { aspect-ratio: 3 / 2; }
.frame--43 { aspect-ratio: 4 / 3; }
.frame--wide { aspect-ratio: 2 / 1; margin-block: var(--space-block); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: var(--surface);
}
.hero-media { position: absolute; inset: 0; }
.hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
/* Frosted veil behind the headline: keeps the text legible over any shot in the reel */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(250, 249, 245, .74) 0%, rgba(250, 249, 245, .56) 44%, rgba(250, 249, 245, 0) 72%);
  -webkit-backdrop-filter: blur(22px) saturate(130%);
  backdrop-filter: blur(22px) saturate(130%);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 44%, transparent 72%);
  mask-image: linear-gradient(90deg, #000 0%, #000 44%, transparent 72%);
}
.hero-content { position: relative; z-index: 1; padding-block: calc(var(--nav-h) + 40px) 56px; }
.hero h1 {
  font-size: clamp(2.75rem, 4.5vw, 4.375rem);
  line-height: 1.02;
  text-wrap: wrap;
}

/* Showreel chapters: which area is on screen, linked to its section */
.hero-chapters {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 40px;
  z-index: 1;
  display: flex;
  justify-content: flex-end;
  pointer-events: none;
  opacity: 0;
  transition: opacity .8s var(--ease-out);
}
.hero.has-reel .hero-chapters { opacity: 1; }
.hero-chapters::before {
  content: "";
  flex: 1;
}
.hero-chapters a {
  display: grid;
  gap: 8px;
  width: 104px;
  padding: 12px 10px 10px;
  color: var(--ink);
  font-size: .6875rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  pointer-events: auto;
  opacity: .55;
  transition: opacity .4s var(--ease-out);
}
.hero-chapters a:hover, .hero-chapters a.is-on { opacity: 1; color: var(--ink); }
.hero-chapters i {
  position: relative;
  display: block;
  height: 2px;
  overflow: hidden;
  border-radius: 2px;
  background: rgba(29, 29, 31, .16);
}
.hero-chapters i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: scaleX(var(--p, 0));
  transform-origin: left center;
}
.hero-chapters a:first-of-type { border-radius: 14px 0 0 14px; }
.hero-chapters a:last-of-type { border-radius: 0 14px 14px 0; }
.hero-chapters a {
  background: rgba(250, 249, 245, .62);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
}
.hero h1 span { display: block; }
.hero-sub {
  max-width: 34ch;
  margin: 28px 0 36px;
  color: #45454A;
  font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
  line-height: 1.5;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

@media (prefers-reduced-motion: no-preference) {
  .js:not(.no-motion) .hero [data-hero] { opacity: 0; transform: translateY(16px); }
}

/* ---------- Intro ---------- */

.intro-title {
  max-width: 16ch;
  margin: 0 auto clamp(48px, 6vw, 80px);
  text-align: center;
  font-size: clamp(2.5rem, 5vw, 4.25rem);
}
.intro-image {
  aspect-ratio: 21 / 9;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.intro-image img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; }

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: clamp(40px, 5vw, 64px) 0 0;
  padding: 0;
  list-style: none;
}
.card a { display: block; height: 100%; color: inherit; text-decoration: none; }
.card-img {
  aspect-ratio: 4 / 5;
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--surface);
}
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: scale 1s var(--ease-out); }
.card a:hover .card-img img { scale: 1.035; }
.card-num { font-size: .75rem; font-weight: 500; letter-spacing: .2em; color: var(--gold-ink); }
.card h3 { margin: 6px 0 8px; font-size: 1.5rem; }
.card p { margin: 0 0 14px; color: var(--muted); font-size: .9375rem; line-height: 1.5; }
.card-more { display: inline-flex; align-items: center; gap: 2px; font-size: .875rem; font-weight: 500; color: var(--ink); transition: gap .3s var(--ease-out); }
.card-more svg { width: 16px; height: 16px; }
.card a:hover .card-more { gap: 6px; color: var(--gold-ink); }

/* ---------- Section heads ---------- */

.section-head {
  display: grid;
  gap: 24px;
  margin-bottom: clamp(48px, 7vw, 88px);
}
.section-head .eyebrow { margin: 0; }

@media (min-width: 1024px) {
  .section-head {
    grid-template-columns: 7fr 5fr;
    column-gap: 64px;
    align-items: end;
  }
  .section-head .eyebrow { grid-column: 1 / -1; }
}

/* ---------- Stats ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: var(--space-block) 0;
  border-top: 1px solid var(--line);
}
.stats > div {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 8px;
  padding: 28px 24px 0 0;
}
.stats > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.stats dd {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.75rem, 2.7vw, 2.625rem);
  line-height: 1.05;
  letter-spacing: -.02em;
  text-wrap: balance;
}
.stats dt { color: var(--muted); font-size: .875rem; line-height: 1.4; }

.stats--compact,
.stats--grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 0 24px;
  margin: 28px 0;
  border-top: 0;
}
.stats--compact > div,
.stats--grid > div,
.stats--compact > div + div,
.stats--grid > div + div {
  padding: 16px 0 14px;
  border-left: 0;
  border-top: 1px solid var(--line);
}
.stats--compact dd { font-size: clamp(1.625rem, 2.4vw, 2.125rem); }
.stats--grid dd { font-size: clamp(1.5rem, 2.3vw, 2rem); }
.stats--grid { margin: 0; }

/* ---------- Split rows, lists, chips ---------- */

.split {
  display: grid;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  margin-block: var(--space-block);
}
@media (min-width: 768px) {
  .split { grid-template-columns: 5fr 6fr; }
}

.ticks { margin: 0; padding: 0; list-style: none; }
.ticks li {
  position: relative;
  padding: 13px 0 13px 28px;
  border-top: 1px solid var(--line);
  line-height: 1.5;
}
.ticks li:last-child { border-bottom: 1px solid var(--line); }
.ticks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: calc(13px + .75em);
  width: 12px;
  height: 1px;
  background: var(--gold);
}

.chips-label {
  margin: 32px 0 12px;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-ink);
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chips li {
  padding: 7px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, .55);
  font-size: .875rem;
  line-height: 1.3;
}

.footnote { margin: 16px 0 0; color: var(--muted); font-size: .8125rem; }

/* ---------- Specs ---------- */

.specs { border-block: 1px solid var(--line); }
.specs summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  list-style: none;
  cursor: pointer;
  font: 300 1.5rem/1.2 var(--font-display);
}
.specs summary::-webkit-details-marker { display: none; }
.specs summary svg { width: 24px; height: 24px; color: var(--gold); transition: transform .35s var(--ease-spring); }
.specs[open] summary svg { transform: rotate(180deg); }
.spec-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 32px;
  margin: 0;
  padding-bottom: 32px;
}
.spec-list div { padding: 14px 0; border-top: 1px solid var(--line); }
.spec-list dt { color: var(--muted); font-size: .8125rem; }
.spec-list dd { margin: 4px 0 0; }

/* ---------- Dark section (drones) ---------- */

.dark {
  --line: rgba(255, 255, 255, .12);
  --line-strong: rgba(255, 255, 255, .18);
  --muted: var(--night-muted);
  background: var(--night);
  color: var(--night-ink);
}
.dark .eyebrow { color: var(--gold); }
.dark a:hover { color: var(--gold); }
.dark .bleed { background: var(--night-2); }

.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px 32px;
  margin: clamp(64px, 8vw, 112px) 0;
  padding: 0;
  list-style: none;
}
.features svg { width: 32px; height: 32px; margin-bottom: 16px; color: var(--gold); }
.features h3 {
  margin-bottom: 6px;
  font: 600 1rem/1.35 var(--font-body);
  letter-spacing: 0;
}
.features p { margin: 0; color: var(--muted); font-size: .9375rem; line-height: 1.5; }

/* Ground control "tablet" — drawn in CSS + SVG */

.gcs { margin: 0 0 clamp(88px, 11vw, 150px); }
.gcs figcaption { margin-top: 20px; color: var(--muted); font-size: .875rem; text-align: center; }

.gcs-device {
  position: relative;
  max-width: 1040px;
  margin-inline: auto;
  padding: clamp(10px, 1.5vw, 22px);
  border-radius: clamp(20px, 2.6vw, 38px);
  background: linear-gradient(155deg, #2C2E2A 0%, #1B1C1A 55%, #232521 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .09),
    inset 0 -2px 0 rgba(0, 0, 0, .55),
    0 50px 90px -40px rgba(0, 0, 0, .9);
}
.gcs-bumper {
  position: absolute;
  width: clamp(36px, 5vw, 64px);
  height: clamp(36px, 5vw, 64px);
  border: 0 solid #3B3E35;
  pointer-events: none;
}
.gcs-bumper.tl { top: -3px; left: -3px; border-width: 6px 0 0 6px; border-top-left-radius: clamp(22px, 2.8vw, 40px); }
.gcs-bumper.tr { top: -3px; right: -3px; border-width: 6px 6px 0 0; border-top-right-radius: clamp(22px, 2.8vw, 40px); }
.gcs-bumper.bl { bottom: -3px; left: -3px; border-width: 0 0 6px 6px; border-bottom-left-radius: clamp(22px, 2.8vw, 40px); }
.gcs-bumper.br { bottom: -3px; right: -3px; border-width: 0 6px 6px 0; border-bottom-right-radius: clamp(22px, 2.8vw, 40px); }

.gcs-screen {
  display: grid;
  grid-template-rows: auto 1fr auto;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: clamp(8px, 1vw, 14px);
  background: #0B0D0C;
  color: #E8E8EA;
  font-size: clamp(10px, .92vw, 13px);
  line-height: 1.3;
  font-variant-numeric: tabular-nums;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05);
}

.gcs-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: .85em 1.3em;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  color: #A1A1A6;
  font-size: .9em;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.gcs-live { color: #E8E8EA; }
.gcs-live i, .gcs-rec i {
  display: inline-block;
  width: .6em;
  height: .6em;
  margin-right: .6em;
  border-radius: 50%;
  background: #7BC47F;
  vertical-align: .05em;
}
.gcs-mission { flex: 1; text-align: center; }

/* The map fills the screen; the live feed floats over it as a picture-in-picture. */
.gcs-main { position: relative; min-height: 0; }
.gcs-map { position: absolute; inset: 0; }
.gcs-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.gcs-map text { font-family: var(--font-body); font-size: 7.5px; letter-spacing: .08em; fill: rgba(232, 232, 234, .7); }
.gcs-maplabel { fill: rgba(201, 180, 143, .9) !important; }
.gcs-home { fill: #E8E8EA !important; font-weight: 600; }
.gcs-compass text { fill: #E8E8EA !important; }

.gcs-feed {
  position: absolute;
  top: 4.5%;
  right: 2.5%;
  width: 37%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: clamp(6px, .8vw, 10px);
  background: #160C2C;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 18px 40px -12px rgba(0, 0, 0, .8);
}
.gcs-thermal {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 70% at 50% 110%, rgba(150, 40, 90, .55), transparent 60%),
    linear-gradient(172deg, #1C1140 0%, #2A1452 52%, #170A2E 100%);
}
.heat { position: absolute; border-radius: 50%; filter: blur(5px); transform: translate(-50%, -50%); }
.heat-a {
  left: 56%; top: 46%; width: 30%; aspect-ratio: 1.35;
  background: radial-gradient(closest-side, #FFF6CF, #FFC35A 32%, #E5603B 58%, rgba(130, 32, 110, .65) 82%, transparent);
}
.heat-b {
  left: 22%; top: 74%; width: 18%; aspect-ratio: 1.6;
  background: radial-gradient(closest-side, #F08A45, rgba(190, 60, 80, .7) 55%, transparent);
  opacity: .8;
}
.heat-c {
  left: 82%; top: 22%; width: 14%; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(205, 80, 90, .9), rgba(110, 30, 100, .5) 60%, transparent);
  opacity: .7;
}
.gcs-lock {
  --c: rgba(255, 255, 255, .92);
  --l: 14%;
  position: absolute;
  left: 56%; top: 46%;
  width: 40%; aspect-ratio: 1.2;
  transform: translate(-50%, -50%);
  background:
    linear-gradient(var(--c), var(--c)) top left / var(--l) 1.5px no-repeat,
    linear-gradient(var(--c), var(--c)) top left / 1.5px calc(var(--l) * 1.2) no-repeat,
    linear-gradient(var(--c), var(--c)) top right / var(--l) 1.5px no-repeat,
    linear-gradient(var(--c), var(--c)) top right / 1.5px calc(var(--l) * 1.2) no-repeat,
    linear-gradient(var(--c), var(--c)) bottom left / var(--l) 1.5px no-repeat,
    linear-gradient(var(--c), var(--c)) bottom left / 1.5px calc(var(--l) * 1.2) no-repeat,
    linear-gradient(var(--c), var(--c)) bottom right / var(--l) 1.5px no-repeat,
    linear-gradient(var(--c), var(--c)) bottom right / 1.5px calc(var(--l) * 1.2) no-repeat;
}
.gcs-lock span {
  position: absolute;
  left: 0;
  bottom: calc(100% + .5em);
  padding: .25em .6em;
  border-radius: 4px;
  background: #C9B48F;
  color: #121310;
  font-size: .78em;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.gcs-feedlabel, .gcs-rec {
  position: absolute;
  top: .9em;
  font-size: .8em;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .85);
}
.gcs-feedlabel { left: 1em; }
.gcs-rec { right: 1em; }
.gcs-rec i { background: #E5533D; }
.gcs-modes {
  position: absolute;
  left: 1em;
  bottom: 1em;
  display: flex;
  padding: 2px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .45);
  font-size: .78em;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.gcs-modes span { padding: .35em .8em; border-radius: 999px; color: rgba(255, 255, 255, .6); }
.gcs-modes .on { background: rgba(255, 255, 255, .9); color: #160C2C; font-weight: 600; }

.gcs-tele {
  display: grid;
  grid-template-columns: repeat(4, 1fr) 1.2fr;
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.gcs-tele > div {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: .35em;
  padding: .85em 1.3em .95em;
}
.gcs-tele > div + div { border-left: 1px solid rgba(255, 255, 255, .06); }
.gcs-tele span {
  flex-basis: 100%;
  margin-bottom: .2em;
  color: #8E8E93;
  font-size: .78em;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.gcs-tele b { color: #F5F5F7; font-size: 1.75em; font-weight: 400; letter-spacing: -.01em; }
.gcs-tele small { color: #A1A1A6; font-size: .95em; }
.gcs-rth b { color: #9BD49F; font-size: 1.2em; font-weight: 500; }

@media (prefers-reduced-motion: no-preference) {
  .gcs-live i { animation: blink 2.4s ease-in-out infinite; }
  .gcs-rec i { animation: blink 1.6s steps(2, jump-none) infinite; }
  .gcs.is-live .heat-a, .gcs.is-live .gcs-lock { animation: drift 9s ease-in-out infinite alternate; }
}
@keyframes blink { 50% { opacity: .25; } }
@keyframes drift {
  0% { translate: 0 0; }
  50% { translate: 3% 2%; }
  100% { translate: -2% 3%; }
}

/* Platforms (segmented control) */

.platforms-title { margin-bottom: 28px; text-align: center; font-size: clamp(1.75rem, 3vw, 2.5rem); }

.segmented {
  --i: 0;
  position: relative;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  width: max-content;
  margin: 0 auto clamp(40px, 5vw, 64px);
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
}
.segmented button {
  position: relative;
  z-index: 1;
  min-width: 132px;
  padding: 12px 24px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--night-muted);
  font: 500 .8125rem/1 var(--font-body);
  letter-spacing: .14em;
  cursor: pointer;
  transition: color .3s var(--ease-out);
}
.segmented button:hover { color: var(--night-ink); }
.segmented button[aria-selected="true"] { color: var(--night); }
.segmented-thumb {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc((100% - 8px) / 3);
  border-radius: 999px;
  background: var(--night-ink);
  transform: translateX(calc(var(--i) * 100%));
  transition: transform .5s var(--ease-spring);
}

.platform {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.platform[hidden] { display: none; }
.platform:focus-visible { outline-offset: 12px; border-radius: var(--radius-lg); }
.platform-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--night-2);
}
.platform-media img, .platform-media video { width: 100%; height: 100%; object-fit: cover; }
.platform-body h4 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
.platform-kind {
  margin: 10px 0 20px;
  color: var(--gold);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.platform-role { margin: 0; color: var(--night-ink); font-size: 1.0625rem; }
.platform-uses { margin: 20px 0 0; color: var(--muted); font-size: .9375rem; }
.platform-uses span {
  display: block;
  margin-bottom: 4px;
  color: var(--gold);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
}

/* ---------- Water ---------- */

.compare .split-body { align-self: center; }

.range {
  margin: var(--space-block) 0;
  padding: clamp(24px, 4vw, 48px);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.range-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
  margin-bottom: 28px;
}
.range-head .h-small { margin: 0; }
.range-head span { color: var(--muted); font-size: .875rem; }

.range-plot { --label-w: 30%; --col-gap: 24px; position: relative; }
.range-axis {
  position: relative;
  height: 22px;
  margin-left: calc(var(--label-w) + var(--col-gap));
  color: var(--muted);
  font-size: .75rem;
  font-variant-numeric: tabular-nums;
}
.range-axis span { position: absolute; left: var(--at); transform: translateX(-50%); white-space: nowrap; }
.range-axis span:first-child { transform: none; }

.range-rows { margin: 0; padding: 0; list-style: none; }
.range-row {
  display: grid;
  grid-template-columns: var(--label-w) 1fr;
  grid-template-areas: "label track" "value track";
  column-gap: var(--col-gap);
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid var(--line-strong);
}
.range-label { grid-area: label; margin: 0; color: var(--muted); font-size: .875rem; }
.range-label b { margin-right: 6px; color: var(--ink); font: 400 1.25rem/1.3 var(--font-display); }
.range-value { grid-area: value; margin: 2px 0 0; font-size: .875rem; font-variant-numeric: tabular-nums; }
.range-track {
  grid-area: track;
  position: relative;
  align-self: stretch;
  min-height: 40px;
  background:
    linear-gradient(var(--line-strong), var(--line-strong)) 30.29% 0 / 1px 100% no-repeat,
    linear-gradient(var(--line-strong), var(--line-strong)) 60.59% 0 / 1px 100% no-repeat,
    linear-gradient(var(--line-strong), var(--line-strong)) 90.88% 0 / 1px 100% no-repeat;
}
.range-bar {
  position: absolute;
  top: 50%;
  left: var(--from);
  width: calc(var(--to) - var(--from));
  min-width: 10px;
  height: 10px;
  margin-top: -5px;
  border-radius: 999px;
  background: var(--gold);
  transition: background-color .2s;
}
.range-row:hover .range-bar { background: var(--gold-ink); }
.range-custom {
  position: absolute;
  top: 22px;
  bottom: 0;
  left: calc(var(--label-w) + var(--col-gap));
  right: 0;
  pointer-events: none;
}
.range-custom span {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--at);
  border-left: 1.5px dashed var(--gold-ink);
}
.range-foot { display: flex; align-items: center; gap: 10px; margin: 20px 0 0; font-size: .9375rem; }
.range-foot::before { content: ""; width: 18px; border-top: 1.5px dashed var(--gold-ink); }

.mobile-units .split-body > p { font-size: 1.125rem; }

/* ---------- Consumer ---------- */

.surface {
  --muted: #626267;
  --line: #E0D9CC;
  background: var(--surface);
}
.surface .frame { background: #E9E5DC; }

.product + .product { margin-top: clamp(96px, 12vw, 168px); }
.product-head { display: grid; gap: 20px; margin-bottom: clamp(32px, 4vw, 48px); }
.product-head h3 { font-size: clamp(2rem, 3.4vw, 3rem); }
.product-head p { max-width: 56ch; color: var(--muted); font-size: 1.0625rem; }
.product-head .brand-line {
  margin: 18px 0 0;
  color: var(--gold-ink);
  font-size: .75rem;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.brand-line strong { font-weight: 600; }

@media (min-width: 1024px) {
  .product-head { grid-template-columns: 1fr 1fr; column-gap: 64px; align-items: end; }
  .product-head p { margin: 0; }
}

.pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 2vw, 24px); }

.benefits {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  margin: clamp(40px, 5vw, 64px) 0 0;
  padding: 0;
  list-style: none;
}
.benefits li {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: .9375rem;
  line-height: 1.4;
}
.benefits svg { width: 28px; height: 28px; color: var(--gold); }
.fact-line { margin: 40px 0 0; color: var(--muted); font-size: .8125rem; letter-spacing: .03em; }

/* ---------- Contact ---------- */

.contact-grid { display: grid; gap: 56px; }
@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: 5fr 7fr; column-gap: 72px; align-items: start; }
}
.contact h2 { font-size: clamp(2.75rem, 5.5vw, 4.5rem); margin-bottom: 20px; }
.contact-direct { margin: 40px 0 0; padding: 0; list-style: none; }
.contact-direct li + li { margin-top: 6px; }
.contact-direct a {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 6px 0;
  font: 300 clamp(1.25rem, 2vw, 1.5rem)/1.3 var(--font-display);
  text-decoration: none;
}
.contact-direct svg { width: 22px; height: 22px; color: var(--gold); flex: none; }

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: clamp(22px, 3.5vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #FFFFFF;
}
.field { min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 8px; font-size: .8125rem; font-weight: 500; }
.field label span { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--bg);
  color: var(--ink);
  font: 400 1rem/1.4 var(--font-body);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: none;
  border-color: var(--gold);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(168, 148, 117, .3);
}
.field input:user-invalid, .field textarea:user-invalid { border-color: #B4483B; }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; }
.select svg {
  position: absolute;
  top: 50%;
  right: 14px;
  width: 18px;
  height: 18px;
  color: var(--muted);
  transform: translateY(-50%);
  pointer-events: none;
}
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; margin-top: 4px; }
.form-status { margin: 0; font-size: .9375rem; }
.form-status:empty { display: none; }
.form-status.is-error { color: #9A3A2F; }
.form-status.is-ok { color: #2F6B3A; }

/* ---------- Footer ---------- */

.site-footer {
  padding: 40px 0 calc(40px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .8125rem;
}
.footer-grid { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { height: 28px; width: auto; }
.footer-brand p, .footer-contact { margin: 0; }
.footer-contact { display: flex; flex-wrap: wrap; gap: 4px 10px; }
.footer-contact a, .footer-links a { text-decoration: none; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* ---------- Tablet: 768–1023 ---------- */

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

  .hero { align-items: end; }
  .hero-media img { object-position: 74% 50%; }
  .hero::after {
    background: linear-gradient(180deg, rgba(250, 249, 245, 0) 44%, rgba(250, 249, 245, .7) 64%, rgba(250, 249, 245, .9) 100%);
    -webkit-mask-image: linear-gradient(180deg, transparent 44%, #000 64%);
    mask-image: linear-gradient(180deg, transparent 44%, #000 64%);
  }
  .hero-content { padding-bottom: 72px; }
  .hero-chapters { top: calc(var(--nav-h) + 14px); bottom: auto; }
  .hero-chapters::before { display: none; }
  .hero-chapters a { flex: 1; width: auto; }

  .cards { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }
  .card-img { aspect-ratio: 4 / 3; }

  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .stats > div:nth-child(n + 3) { margin-top: 24px; border-top: 1px solid var(--line); }
  .stats--compact > div:nth-child(n + 3), .stats--grid > div:nth-child(n + 3) { margin-top: 0; }

  .spec-list { grid-template-columns: repeat(2, 1fr); }

  .features { grid-template-columns: repeat(2, 1fr); }

  .platform { grid-template-columns: 1fr; }
  .platform-body { max-width: 640px; }

  .benefits { grid-template-columns: repeat(3, 1fr); }

  .bleed { height: auto; aspect-ratio: 16 / 9; min-height: 0; }
}

/* Large iPads held upright get the stacked hero (copy below the film), like smaller tablets */
@media (orientation: portrait) and (min-width: 1024px) and (max-width: 1366px) {
  .hero { align-items: end; }
  .hero-media img { object-position: 74% 50%; }
  .hero::after {
    background: linear-gradient(180deg, rgba(250, 249, 245, 0) 44%, rgba(250, 249, 245, .7) 64%, rgba(250, 249, 245, .9) 100%);
    -webkit-mask-image: linear-gradient(180deg, transparent 44%, #000 64%);
    mask-image: linear-gradient(180deg, transparent 44%, #000 64%);
  }
  .hero-content { padding-bottom: 96px; }
  .hero-chapters { top: calc(var(--nav-h) + 14px); bottom: auto; }
  .hero-chapters::before { display: none; }
  .hero-chapters a { flex: 1; width: auto; }
}

/* ---------- Phone: < 768 ---------- */

@media (max-width: 767px) {
  body { font-size: 1rem; }

  .hero-content { padding-bottom: calc(40px + env(safe-area-inset-bottom)); }
  .hero h1 { font-size: clamp(2.25rem, 9.6vw, 2.75rem); }
  .hero-sub { margin: 20px 0 28px; }
  .hero-actions .btn { flex: 1 1 auto; }

  .intro-image { aspect-ratio: 4 / 3; }

  .cards { grid-template-columns: 1fr; gap: 0; }
  .card a {
    display: grid;
    grid-template-columns: 104px 1fr;
    grid-template-rows: auto auto auto 1fr;
    column-gap: 18px;
    padding: 18px 0;
    border-top: 1px solid var(--line);
  }
  .card:last-child a { border-bottom: 1px solid var(--line); }
  .card-img { grid-row: 1 / -1; aspect-ratio: 1; margin: 0; border-radius: 14px; }
  .card h3 { margin: 4px 0 4px; font-size: 1.375rem; }
  .card p { margin-bottom: 8px; }

  .bleed { aspect-ratio: 4 / 3; }

  .stats dd { font-size: 1.75rem; }

  .split { grid-template-columns: 1fr; }
  .frame--portrait { aspect-ratio: 4 / 4.4; }
  .frame--wide { aspect-ratio: 3 / 2; }

  .spec-list { grid-template-columns: 1fr; }

  .features { grid-template-columns: 1fr; gap: 28px; }
  .features li { display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; }
  .features svg { grid-row: span 2; width: 28px; height: 28px; margin: 2px 0 0; }

  /* Ground control screen stacks on phones */
  .gcs-screen { aspect-ratio: auto; font-size: 11px; grid-template-columns: minmax(0, 1fr); }
  .gcs-main { display: grid; grid-template-columns: minmax(0, 1fr); }
  .gcs-map { position: relative; inset: auto; aspect-ratio: 600 / 320; }
  .gcs-map text:not(.gcs-home) { display: none; }
  .gcs-feed { position: relative; inset: auto; width: auto; border-radius: 0; box-shadow: none; border-top: 1px solid rgba(255, 255, 255, .08); }
  .gcs-tele { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gcs-tele > div { border-top: 1px solid rgba(255, 255, 255, .06); }
  .gcs-tele > div + div { border-left: 0; }
  .gcs-tele > div:nth-child(even) { border-left: 1px solid rgba(255, 255, 255, .06); }
  .gcs-rth { grid-column: 1 / -1; }
  .gcs-mission { display: none; }
  .gcs-bumper { border-width: 4px !important; }

  /* Platform tabs become stacked cards */
  .segmented { display: none; }
  .platform[hidden] { display: grid; }
  .platform + .platform { margin-top: 56px; padding-top: 56px; border-top: 1px solid var(--line); }
  .platform-media { aspect-ratio: 4 / 3; }

  .range-plot { --label-w: 0px; --col-gap: 0px; }
  .range-row { grid-template-columns: 1fr; grid-template-areas: "label" "value" "track"; }
  .range-track { min-height: 28px; margin-top: 6px; }
  .range-axis span:last-child { transform: translateX(-100%); }

  .pair { grid-template-columns: 1fr; }

  .benefits { grid-template-columns: 1fr; gap: 0; }
  .benefits li { flex-direction: row; align-items: center; gap: 16px; padding: 14px 0; }
  .benefits svg { width: 24px; height: 24px; flex: none; }

  .contact-form { grid-template-columns: 1fr; }
  .form-foot .btn { width: 100%; }

  .footer-grid { flex-direction: column; align-items: flex-start; }
}

/* ---------- Motion & accessibility preferences ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .site-nav, .site-nav.is-solid { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .site-nav.is-dark { background: var(--night); }
}

/* ---------- Scroll motion (only when GSAP runs and motion is allowed) ---------- */

[data-split], [data-head] h2, [data-head] h3 { text-wrap: wrap; }

/* Media zoom/parallax are driven by CSS variables so late-loaded <video>s pick them up too */
.has-motion .frame img, .has-motion .frame video,
.has-motion .card-img img,
.has-motion .intro-image img,
.has-motion .platform-media img, .has-motion .platform-media video {
  transform: scale(var(--s, 1));
}
.has-motion .bleed img, .has-motion .bleed video {
  transform: translate3d(0, var(--py, 0%), 0) scale(1.12);
  will-change: transform;
}
.has-motion .gcs-device { will-change: transform; }
