/* =========================================================
   FusionFlight site stylesheet
   One file for every page. Change a value here and it
   changes everywhere.

   Look: light pages with black type, medium-charcoal bands
   for the case study and quote, neon green as the accent,
   black icon tiles with green line icons.
   ========================================================= */

/* ---------- Font (self-hosted, no Google request) ---------- */
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Design tokens ---------- */
:root {
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --ink: #0b0c0e;          /* headings */
  --text: #2a2d32;         /* body */
  --muted: #5d636b;        /* secondary */
  --line: #e4e6ea;         /* hairlines on light */
  --line-dark: rgba(255, 255, 255, 0.12);

  --bg: #ffffff;
  --bg-light: #cfd4da;
  --shade: #f1f3f5;        /* column containers */
  --shade-line: #d5d9de;   /* dividers inside containers */
  --box-line: #7d848c;     /* container outline */     /* light band (every other section) */
  --bg-charcoal: #3a3f45;  /* case study + quote bands */
  --bg-charcoal-2: #454b52;
  --black: #000000;        /* header + footer */
  --tile: #0b0c0e;         /* icon tiles */

  --green: #5cff3d;        /* neon accent */
  --green-deep: #1d9e0b;   /* green on light backgrounds */
  --on-green: #000000;

  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(16, 24, 40, 0.06), 0 8px 24px rgba(16, 24, 40, 0.06);

  /* Type scale */
  --fs-h1: clamp(30px, 3.6vw, 44px);
  --fs-h2: clamp(24px, 2.4vw, 30px);
  --fs-h3: 18px;           /* subheadings: Installation, Key Design Features ... */
  --fs-h4: 16.5px;         /* item titles */
  --fs-body: 16px;
  --fs-item: 14.5px;       /* item text */

  /* Spacing scale: wide between sections, medium between blocks, tight inside */
  --section: 48px;
  --block: 40px;
  --gap: 16px;

  --container: 1120px;
  --header-h: 64px;
  --subnav-h: 44px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--subnav-h) + 12px);
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
figure, blockquote { margin: 0; }
h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-wrap: balance;
}
strong { font-weight: 650; color: var(--ink); }

.icon {
  width: 22px; height: 22px;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 300;
  padding: 10px 16px; border-radius: var(--radius-sm);
  background: var(--green); color: var(--on-green); font-weight: 700;
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--green-deep); outline-offset: 3px; }

.container { max-width: calc(var(--container) + 48px); margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: var(--black);
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.nav { display: flex; align-items: center; }
.nav__panel { display: flex; align-items: center; }
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__link {
  position: relative; display: block; padding: 8px 11px;
  color: #cfd3d8; text-decoration: none; font-size: 15px; font-weight: 500;
  transition: color 0.15s ease;
}
.nav__link:hover, .nav__link[aria-current="page"] { color: #fff; }
.nav__link[aria-current="page"]::after {
  content: ""; position: absolute; left: 11px; right: 11px; bottom: 0;
  height: 2px; border-radius: 2px; background: var(--green);
}
.nav-toggle {
  display: none; width: 44px; height: 44px; padding: 0; border: 0;
  background: transparent; color: #fff; cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 26px; height: 26px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ---------- Section menu (wide screens) ---------- */
.subnav {
  position: sticky; top: var(--header-h); z-index: 90;
  height: var(--subnav-h);
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.subnav__list { height: 100%; display: flex; align-items: center; justify-content: center; gap: 4px; }
.subnav__link {
  display: block; padding: 5px 12px; border-radius: 999px;
  color: var(--muted); font-size: 13.5px; font-weight: 500; text-decoration: none; white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}
.subnav__link:hover { color: var(--ink); background: var(--bg-light); }
.subnav__link.is-active { color: var(--ink); background: #e8ebef; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 10px 20px; border-radius: 999px;
  font: 600 15.5px/1.2 var(--font); text-decoration: none; white-space: nowrap;
  border: 1.5px solid transparent; cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.btn .icon { width: 17px; height: 17px; }
.btn--primary { background: var(--green); color: var(--on-green); }
.btn--primary:hover { background: #7dff66; transform: translateY(-1px); box-shadow: 0 8px 22px rgba(92, 255, 61, 0.35); }
.btn--outline { background: transparent; color: var(--ink); border-color: #c8ccd2; }
.btn--outline:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; }
.section--light { background: var(--bg-light); }
.section--charcoal { background: var(--bg-charcoal); color: #e2e5e8; }
.section--charcoal h2, .section--charcoal h3, .section--charcoal h4 { color: #fff; }

.section-head { max-width: 760px; margin-bottom: 20px; }
.section-head h2 { font-size: var(--fs-h2); }
.section-head h2::before {
  content: ""; display: block; width: 28px; height: 3px; border-radius: 2px;
  background: var(--green-deep); margin-bottom: 14px;
}
.section--charcoal .section-head h2::before { background: var(--green); }
.section-head p { margin-top: 8px; font-size: var(--fs-body); color: var(--muted); }
.section--charcoal .section-head p { color: #c9cdd2; }

.subhead { font-size: var(--fs-h3); padding-bottom: 12px; border-bottom: 1px solid var(--line); }

/* ---------- Icon tile ---------- */
.ico {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 11px;
  background: var(--tile); color: var(--green);
}

/* ---------- Item rows (icon + title + text) ---------- */
.item {
  display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 16px;
  padding: 16px 0; border-top: 1px solid var(--line);
}
.item:first-child { border-top: 0; }
.subhead + .item { border-top: 0; }
.item h2, .item h3, .item h4 { font-size: var(--fs-h4); margin: 2px 0 4px; }
.item h2 em, .item h3 em, .item h4 em { font-style: normal; font-weight: 500; color: var(--muted); }
.item p { font-size: var(--fs-item); line-height: 1.6; color: var(--text); }
.item--tag { grid-template-columns: 44px minmax(0, 1fr) auto; }
.tag {
  align-self: start; padding: 3px 10px; border-radius: 999px;
  background: var(--bg-light); color: var(--ink);
  font-size: 15px; font-weight: 750; white-space: nowrap;
}
.facts { margin-top: 6px; font-size: 13.5px; color: var(--muted); }
.facts span { display: block; white-space: nowrap; }
.facts b { color: var(--ink); font-weight: 600; }

/* ---------- Panels ---------- */
.panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px 6px; box-shadow: var(--shadow);
}

/* Two columns whose rows line up left-to-right (Design & Performance, Setup Guide).
   Each column spans 4 rows (subheading + 3 items) of a shared grid. */
.pair {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(4, auto); column-gap: 24px;
}
.pair--wide { column-gap: 48px; }
.pair > * { display: grid; grid-row: span 4; grid-template-rows: subgrid; align-content: start; }

/* Two columns with independent heights (Customize Your ARC) */
.duo { display: grid; grid-template-columns: 1.25fr 1fr; gap: 20px; align-items: start; }

/* Text beside media */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; align-items: center; }

/* ---------- Tiles (Customize Your ARC) ---------- */
.duo--tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
.stack { display: flex; flex-direction: column; gap: var(--gap); }
.stack .subhead { border-bottom: 0; padding-bottom: 0; }
.tile-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px; box-shadow: var(--shadow);
}
.tile-card.item { border-top: 1px solid var(--line); }
.stack--fill .tile-card { flex: 1; }

/* ---------- Column containers (two-column sections) ---------- */
/* Each column of Design & Performance, Customize Your ARC and Setup Guide
   sits in a shaded, outlined container with its title centered. */
.pair > *, .duo--tiles > .stack {
  background: var(--shade); border: 1.5px solid var(--box-line); border-radius: 18px;
  padding: 20px 22px 8px; box-shadow: none;
}
.pair .subhead, .duo--tiles .subhead {
  text-align: center; padding-bottom: 14px; margin-bottom: 2px; border-bottom: 1px solid var(--shade-line);
}
.duo--tiles .stack { padding-bottom: 20px; }
.duo--tiles .subhead { border-bottom: 0; padding-bottom: 4px; }
.pair .item { border-top-color: var(--shade-line); }
.pair--wide { column-gap: 24px; }

/* ---------- White tiles: every item list uses the same tile style ---------- */
.pair .subhead { border-bottom: 0; padding-bottom: 4px; }
.pair > * { padding-bottom: 20px; }
.pair { row-gap: var(--gap); }
.pair .item, .split ul .item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 18px; box-shadow: var(--shadow);
}
.pair .subhead + .item, .split ul .item:first-child { border-top: 1px solid var(--line); }
.split ul { display: grid; gap: var(--gap); }

/* ---------- Media ---------- */
.media--follow { max-width: 800px; margin: var(--block) auto 0; }
.chart__title2 { font-size: 19px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line-dark); }
.chart__rows--compact { flex: 0 0 auto; justify-content: flex-start; }
.media img, .media .video { width: 100%; border-radius: var(--radius); }
.media img { background: #fff; }
.media--wide { margin-bottom: 32px; }
.media--wide img { aspect-ratio: 21 / 8; object-fit: cover; }
.media--framed { background: #fff; border-radius: var(--radius); padding: 10px; box-shadow: var(--shadow); }
.media--framed img { border-radius: var(--radius-sm); }

/* ---------- Video (click to play) ---------- */
.video { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; border-radius: var(--radius); }
.video__button { display: block; position: absolute; inset: 0; padding: 0; border: 0; cursor: pointer; background: #000; }
.video__button img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; transition: opacity 0.2s ease; }
.video__button:hover img { opacity: 1; }
.video__play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  display: flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--green); color: var(--on-green);
  box-shadow: 0 0 0 9px rgba(92, 255, 61, 0.22);
  transition: transform 0.2s ease;
}
.video__play svg { width: 24px; height: 24px; margin-left: 3px; fill: currentColor; }
.video__button:hover .video__play { transform: translate(-50%, -50%) scale(1.06); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Hero ---------- */
.hero { padding: 48px 0 var(--section); }
.hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 48px; align-items: center; }
.hero h1 { font-size: var(--fs-h1); letter-spacing: -0.03em; line-height: 1.06; }
.hero__sub { margin-top: 14px; font-size: 18px; line-height: 1.5; color: var(--text); }
.hero__desc { margin-top: 12px; font-size: 15px; color: var(--muted); }
.hero__buy {
  display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 24px;
  margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line);
}
.price-label { font-size: 13px; color: var(--muted); }
.price { font-size: 26px; font-weight: 750; color: var(--ink); letter-spacing: -0.02em; line-height: 1.2; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 3px; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 4px 11px; border-radius: 999px; background: var(--bg-light); font-size: 13.5px; font-weight: 500; }
.chip--icon .icon { width: 15px; height: 15px; stroke-width: 2; color: var(--ink); }
.chip--live::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--green-deep); box-shadow: 0 0 0 3px rgba(92, 255, 61, 0.35);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hero__media img { width: 100%; height: auto; object-fit: contain; mix-blend-mode: multiply; }

.spec-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); margin-top: var(--block); }
.spec-tile { background: var(--bg-charcoal); border-radius: var(--radius); padding: 20px 14px; text-align: center; }
.spec-tile b { display: block; color: var(--green); font-size: clamp(21px, 2.2vw, 26px); font-weight: 750; letter-spacing: -0.02em; line-height: 1.2; white-space: nowrap; }
.spec-tile span { display: block; margin-top: 4px; font-size: 13px; color: #c9cdd2; }

/* ---------- Case study ---------- */
.case {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; row-gap: 4px;
  grid-template-areas: "intro chart" "take chart"; grid-template-rows: auto auto; align-items: stretch;
}
.case__chart { grid-area: chart; }
.case__intro {
  grid-area: intro; font-size: 15px; line-height: 1.65; color: #dfe2e6;
  padding-bottom: 14px; border-bottom: 1px solid var(--line-dark);
}
.case__take { grid-area: take; }
.case__take .item { border-top-color: var(--line-dark); }
.case__take .item:first-child { border-top: 0; }
.case__take .item:last-child { padding-bottom: 0; }
.case__take .item p { color: #d3d7dc; }
.chart { display: flex; flex-direction: column; border-radius: var(--radius); background: var(--bg-charcoal-2); border: 1px solid var(--line-dark); padding: 20px 26px; }
.chart h3 { font-size: 19px; }
.chart__note { margin-top: 6px; font-size: 15px; color: #c9cdd2; }
.chart__rows { flex: 1; display: flex; flex-direction: column; justify-content: space-evenly; gap: 12px; margin-top: 12px; }
.chart__top { display: flex; justify-content: space-between; align-items: baseline; font-size: 15.5px; color: #dfe2e6; }
.chart__top b { font-size: 30px; line-height: 1.1; color: #fff; letter-spacing: -0.03em; }
.chart__row--win .chart__top b { color: var(--green); }
.bar { height: 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.12); margin-top: 6px; overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: inherit; background: #9aa1a9; }
.chart__row--win .bar i { background: var(--green); }
.chart__mass { margin-top: 6px; font-size: 13.5px; line-height: 1.5; color: #b8bec5; }

/* ---------- Quote ---------- */
.quote p {
  font-size: clamp(24px, 2.6vw, 32px); font-weight: 650; line-height: 1.25;
  letter-spacing: -0.02em; color: #fff; text-wrap: balance;
}
.quote::before { content: ""; display: block; width: 28px; height: 3px; border-radius: 2px; background: var(--green); margin-bottom: 18px; }

/* ---------- Scroll reveal (only with JS, never for reduced motion) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.55s ease, transform 0.55s ease; }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .subnav { display: none; }
  html { scroll-padding-top: calc(var(--header-h) + 12px); }
}

/* ---------- Tablet & phone: navigation ---------- */
@media (max-width: 899px) {
  .site-header { height: auto; min-height: var(--header-h); }
  .site-header__inner { flex-wrap: wrap; }
  .nav { flex-basis: 100%; }
  .nav__panel { display: block; width: 100%; padding-bottom: 12px; }

  .js .site-header { height: var(--header-h); }
  .js .site-header__inner { flex-wrap: nowrap; }
  .js .nav { flex-basis: auto; }
  .js .nav-toggle { display: flex; }
  .js .nav__panel {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    width: auto; display: none; overflow-y: auto; background: var(--black);
    padding: 8px calc(24px + env(safe-area-inset-right)) calc(28px + env(safe-area-inset-bottom)) calc(24px + env(safe-area-inset-left));
  }
  .js .nav__panel.is-open { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link {
    min-height: 56px; display: flex; align-items: center; padding: 0 2px;
    font-size: 20px; font-weight: 600; color: #fff; border-bottom: 1px solid #1c1e21;
  }
  .nav__link[aria-current="page"] { color: var(--green); }
  .nav__link[aria-current="page"]::after { display: none; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Tablet & phone: content ---------- */
@media (max-width: 899px) {
  :root { --section: 40px; --block: 28px; }
  .hero { padding-top: 36px; }
  .hero__inner, .split, .duo, .case { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .hero__media { order: -1; max-width: 640px; margin: 0 auto; }
  .spec-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case { grid-template-areas: "intro" "chart" "take"; grid-template-rows: auto; row-gap: 20px; }
  .chart__top b { font-size: 34px; }
  .media--wide img { aspect-ratio: 16 / 9; }
}

/* Lined-up columns only while they sit side by side */
@media (max-width: 760px) {
  .pair { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; row-gap: 24px; }
  .pair > * { display: flex; flex-direction: column; gap: var(--gap); grid-row: auto; }
}

@media (max-width: 600px) {
  :root { --section: 32px; --block: 24px; }
  .container { padding: 0 18px; }
  .hero h1 { line-height: 1.1; }
  .hero__sub { font-size: 16.5px; }
  .hero__buy { flex-direction: column; align-items: center; text-align: center; }
  .chips { justify-content: center; }
  .hero__actions { flex-direction: column; }
  .panel { padding: 18px 18px 4px; }
  .item--tag { grid-template-columns: 44px minmax(0, 1fr); }
  .item--tag .tag { grid-column: 2; justify-self: start; margin-top: 6px; }
  .spec-tile { padding: 16px 10px; }
}

@media (max-width: 600px) {
  .pair > *, .duo--tiles > .stack { padding: 16px 12px 12px; }
  .pair .item, .split ul .item { padding: 14px 12px; column-gap: 12px; }
  .duo--tiles .stack { padding-bottom: 12px; }
  .duo--tiles .tile-card { padding: 14px 12px; column-gap: 12px; }
  .duo--tiles .facts { font-size: 12.5px; }
}

@media (max-width: 400px) {
  .facts span { white-space: normal; }
  .tile-card { padding: 16px 14px; }
  .tile-card h2, .tile-card h3, .tile-card h4 { font-size: 14.5px; letter-spacing: -0.03em; }
  .duo--tiles .tile-card { padding-left: 10px; padding-right: 10px; }
  .pair > *, .duo--tiles > .stack { padding-left: 10px; padding-right: 10px; }
  .pair .subhead, .duo--tiles .subhead { font-size: 16.5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}


/* =========================================================
   Header brand + footer
   ========================================================= */
.site-header { border-bottom: 1px solid #1d1f22; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.brand img { width: auto; height: 30px; }
.brand__name { color: #fff; font-size: 17px; font-weight: 700; letter-spacing: -0.02em; }
.nav { flex: 1; justify-content: flex-end; }
.nav__panel { flex: 1; justify-content: space-between; gap: 24px; }
.nav__list { margin: 0 auto; }
.nav__link::after { transition: transform 0.2s ease; }
.nav__link:not([aria-current="page"])::after {
  content: ""; position: absolute; left: 11px; right: 11px; bottom: 0; height: 2px; border-radius: 2px;
  background: rgba(255,255,255,0.5); transform: scaleX(0); transform-origin: left;
}
.nav__link:not([aria-current="page"]):hover::after { transform: scaleX(1); }
.nav__contact {
  display: inline-flex; align-items: center; height: 36px; padding: 0 16px; border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,0.35); color: #fff; font-size: 14.5px; font-weight: 600; text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.nav__contact:hover { background: #fff; color: #000; border-color: #fff; }
.nav__extra { display: none; }

@font-face { font-family: "Orbitron"; src: url("../fonts/orbitron-latin-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
.brand__name { font-family: "Orbitron", var(--font); font-weight: 700; font-size: 17px; letter-spacing: 0.06em; text-transform: uppercase; }

.site-footer { background: #000; color: #8d939a; font-size: 13.5px; }
.footer-row {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding-top: 20px; padding-bottom: calc(20px + env(safe-area-inset-bottom));
}
.footer-row .brand img { height: 24px; }
.footer-row .brand__name { font-size: 14px; }
.footer-legal { color: #8d939a; }
.footer-legal a { color: #8d939a; text-decoration: none; }
.footer-legal a:hover { color: #fff; }
.footer-sep { margin: 0 10px; color: #4a4f55; }
.footer-social { display: flex; gap: 6px; }
.social { display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; transition: background 0.15s ease, color 0.15s ease; }
.footer-social .social { width: 48px; height: 48px; background: transparent; color: #cfd3d8; }
.footer-social .social:hover { background: #1b1d20; color: var(--green); }
.footer-social .social svg { width: 30px; height: 30px; }

@media (max-width: 899px) {
  .nav { flex: 0 0 auto; }
  .nav__panel { flex: none; }
  .js .nav__panel.is-open { display: flex; flex-direction: column; justify-content: flex-start; align-items: stretch; gap: 0; }
  .nav__list { margin: 0; }
  .nav__contact { margin-top: 24px; height: 52px; justify-content: center; font-size: 17px; border-color: rgba(255,255,255,0.4); }
  .nav__extra { display: flex; flex-direction: column; gap: 6px; margin-top: auto; padding-top: 28px; color: #80868d; font-size: 14.5px; }
  .nav__extra a { color: #cfd3d8; text-decoration: none; }
}
@media (max-width: 600px) {
  .footer-row { flex-direction: column; gap: 14px; padding-top: 28px; text-align: center; }
}

/* Hero title: "ARC" on its own line, product name below (deliberate split) */
.h1__line { display: block; }
.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; }

/* Hero title (Option B): big product name, smaller grey sub-name */
.hero h1 { font-size: clamp(56px, 7vw, 88px); letter-spacing: -0.04em; line-height: 0.95; }
.hero h1 .h1__line { font-size: clamp(24px, 2.7vw, 34px); font-weight: 500; letter-spacing: -0.015em; line-height: 1.2; color: #5b636b; margin-top: 10px; }
.hero__sub { text-wrap: pretty; }
@media (max-width: 600px) { .hero h1 { text-align: center; } }

/* =========================================================
   Home page
   ========================================================= */
/* Product cards */
.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.product {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow);
  overflow: hidden; transition: transform .2s ease, box-shadow .2s ease;
}
.product:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(16,24,40,.06), 0 16px 36px rgba(16,24,40,.12); }
.product__link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
/* The photo is pinned inside the box (not a flex item with % sizes): iPhone Safari
   doesn't resolve height:100% against an aspect-ratio box, so photos spilled to the right. */
.product__img { --img-pad-y: 18px; --img-pad-x: 22px; position: relative; aspect-ratio: 16 / 10; border-bottom: 1px solid var(--line); }
.product__img img {
  position: absolute; top: var(--img-pad-y); left: var(--img-pad-x);
  width: calc(100% - 2 * var(--img-pad-x)); height: calc(100% - 2 * var(--img-pad-y));
  max-width: none; object-fit: contain; object-position: center; mix-blend-mode: multiply;
}
.product__body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.product h3 { font-size: 26px; letter-spacing: -0.03em; line-height: 1.1; }
.product h3 span { display: block; margin-top: 4px; font-size: 15px; font-weight: 500; letter-spacing: -0.01em; color: var(--muted); }
.product__body p { margin-top: 12px; font-size: var(--fs-item); line-height: 1.6; flex: 1; }
.product__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.product__price { font-weight: 700; color: var(--ink); }
.product__meta .chip { font-size: 12.5px; padding: 3px 10px; }
.product__cta { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 650; color: var(--ink); }
.product__cta .icon { width: 18px; height: 18px; color: var(--green-deep); transition: transform .2s ease; }
.product:hover .product__cta .icon { transform: translateX(3px); }

/* Three tiles in a row */
.tiles3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tiles3 .tile-card { background: var(--shade); border: 1.5px solid var(--box-line); box-shadow: none; padding: 22px; grid-template-columns: 1fr; row-gap: 14px; align-content: start; }

/* Press logos */
.section--tight { padding: 36px 0; }
.press__title { text-align: center; font-size: 13px; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.press { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.press a { display: flex; align-items: center; justify-content: center; height: 64px; padding: 8px 14px; background: #fff; border-radius: var(--radius-sm); }
.press img { max-width: 100%; max-height: 40px; width: auto; height: auto; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .2s ease, opacity .2s ease; }
.press a:hover img { filter: none; opacity: 1; }
.press__more { margin-top: 18px; text-align: center; }
.press__more a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--ink); }
.press__more .icon { width: 18px; height: 18px; }

/* About band */
.about-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.about-band__text { font-size: 16.5px; line-height: 1.7; color: #e2e5e8; }
.about-band .section-head { margin-bottom: 14px; }

@media (max-width: 899px) {
  .products { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .tiles3 { grid-template-columns: 1fr; }
  .tiles3 .tile-card { grid-template-columns: 44px minmax(0, 1fr); }
  .press { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .about-band { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 600px) {
  .press { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .product h3 { font-size: 24px; }
}

/* =========================================================
   Product pages: extras (JetQuad, Axion)
   ========================================================= */
.hero__sub a { color: inherit; text-decoration: underline; text-decoration-color: var(--green-deep); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.quote__note { margin-top: 16px; font-size: 14.5px; color: #c9cdd2; }
.media figcaption { margin-top: 10px; text-align: center; font-size: 13.5px; color: var(--muted); }
.hero__media--photo img { mix-blend-mode: normal; border-radius: var(--radius); }
.configs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.configs .product:hover { transform: none; box-shadow: var(--shadow); }
.configs .product__img { aspect-ratio: 4 / 3; --img-pad-y: 12px; --img-pad-x: 12px; }
.configs .product__body p { flex: 0 0 auto; }
@media (max-width: 899px) { .configs { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }

/* =========================================================
   About, Newsroom, Contact, legal pages
   ========================================================= */
/* Timeline */
.timeline { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: none; }
.timeline__item { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 22px; }
.timeline__year { align-self: flex-start; padding: 4px 12px; border-radius: 999px; background: var(--tile); color: var(--green); font-weight: 750; font-size: 15px; letter-spacing: .02em; }
.timeline__item h3 { margin-top: 14px; font-size: 18px; line-height: 1.3; }
.timeline__item p { margin-top: 8px; font-size: var(--fs-item); line-height: 1.6; flex: 1; }
.timeline__link, .news__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 650; color: var(--ink); text-decoration: none; }
.timeline__link .icon, .news__link .icon { width: 18px; height: 18px; color: var(--green-deep); transition: transform .2s ease; }
.timeline__link:hover .icon, .news__card:hover .news__link .icon { transform: translateX(3px); }

/* Founder */
.founder { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 48px; align-items: center; }
.founder__photo img { width: 100%; height: auto; border-radius: 18px; box-shadow: var(--shadow); }
.founder .section-head { margin-bottom: 14px; }
.founder__bio { font-size: 16px; line-height: 1.7; margin-top: 12px; }

/* Call-to-action band */
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { font-size: var(--fs-h2); }
.cta-band p { margin-top: 6px; color: #c9cdd2; }

/* Simple page header (Newsroom, Contact, legal) */
.page-top { padding-top: 40px; }
.page-head { margin-bottom: var(--block); max-width: 720px; }
.page-head h1 { font-size: clamp(34px, 4.4vw, 52px); letter-spacing: -0.035em; line-height: 1.05; }
.page-head p { margin-top: 12px; font-size: 18px; color: var(--muted); }

/* Newsroom cards */
.news { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.news__card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; color: inherit; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.news__card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(16,24,40,.06), 0 16px 36px rgba(16,24,40,.12); }
.news__logo { height: 110px; display: flex; align-items: center; justify-content: center; padding: 18px 28px; border-bottom: 1px solid var(--line); }
.news__logo img { max-width: 100%; max-height: 64px; width: auto; height: auto; object-fit: contain; }
.news__body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.news__meta { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--muted); }
.news__meta .chip { font-size: 12px; padding: 2px 9px; }
.news__card h2, .news__card h3 { margin-top: 8px; font-size: 17px; line-height: 1.35; }
.news__card p { margin-top: 8px; font-size: var(--fs-item); line-height: 1.6; flex: 1; }
.news__link { font-size: 14.5px; }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.form { display: grid; gap: 16px; padding: 24px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink); }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; font-weight: 400; font-size: 16px; color: var(--ink);
  padding: 11px 13px; border: 1px solid #c4c9cf; border-radius: var(--radius-sm); background: #fff;
}
.form textarea { resize: vertical; min-height: 140px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--green-deep); outline-offset: 1px; border-color: transparent; }
.form button { justify-self: start; border: 0; cursor: pointer; font: inherit; }
.form__trap { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { padding: 12px 14px; border-radius: var(--radius-sm); font-weight: 600; }
.form__status.is-ok { background: #e8fbe3; color: #145c08; }
.form__status.is-err { background: #fdeceb; color: #8a1c14; }
.contact__side { display: grid; gap: 4px; }
.contact__side a { color: var(--ink); }

/* Legal text */
.prose { max-width: 760px; }
.prose h1 { font-size: clamp(32px, 4vw, 46px); letter-spacing: -0.03em; line-height: 1.1; }
.prose h2 { margin-top: 32px; font-size: 21px; }
.prose h3 { margin-top: 20px; font-size: 17px; }
.prose p, .prose li { margin-top: 10px; font-size: 16px; line-height: 1.7; }
.prose ul, .prose ol { padding-left: 22px; }
.prose a { color: var(--ink); text-decoration-color: var(--green-deep); text-underline-offset: 3px; }
.prose .note { margin-top: 18px; padding: 14px 18px; background: var(--shade); border: 1.5px solid var(--box-line); border-radius: var(--radius); }

@media (max-width: 899px) {
  .timeline, .news { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .founder { grid-template-columns: 1fr; gap: 28px; }
  .founder__photo { max-width: 340px; }
  .contact { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .timeline, .news { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .form button { justify-self: stretch; justify-content: center; }
  .cta-band .btn { width: 100%; justify-content: center; }
}

/* =========================================================
   Nov 18 revisions: newsroom squares, contact, legal layout
   ========================================================= */
/* Newsroom: square outlined tiles */
.news { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.news__card { aspect-ratio: 1 / 1; border: 1.5px solid var(--box-line); box-shadow: none; }
.news__logo { height: 42%; flex: 0 0 auto; padding: 14px 22px; }
.news__logo img { max-height: 56px; }
.news__body { padding: 14px 16px 16px; }
.news__card h2, .news__card h3 { font-size: 15.5px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news__link { margin-top: auto; }

/* Contact: info row + full-width form box */
.container--narrow { max-width: calc(780px + 48px); }
.contact-info { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.contact-info .tile-card { align-items: center; }
.contact-info a { color: var(--ink); }
.form-box { margin-top: 24px; background: var(--shade); border: 1.5px solid var(--box-line); border-radius: 18px; padding: 22px 24px 24px; }
.form-box .subhead { border-bottom: 0; padding-bottom: 0; }

/* Legal pages: section list + text */
.legal { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; align-items: start; }
.legal__toc { position: sticky; top: calc(var(--header-h) + 20px); background: var(--shade); border: 1.5px solid var(--box-line); border-radius: 18px; padding: 18px 18px 14px; }
.legal__toc-title { font-size: 13px; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.legal__toc ol { margin: 10px 0 0; padding-left: 20px; display: grid; gap: 6px; font-size: 14.5px; }
.legal__toc a { color: var(--ink); text-decoration: none; }
.legal__toc a:hover { text-decoration: underline; text-decoration-color: var(--green-deep); }
.legal__body { max-width: none; }
.legal__body > p:first-child { margin-top: 0; font-size: 17px; }
.legal__body h2 { scroll-margin-top: calc(var(--header-h) + 20px); padding-top: 22px; border-top: 1px solid var(--line); }

@media (max-width: 1080px) { .news { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 899px) {
  .legal { grid-template-columns: 1fr; gap: 24px; }
  .legal__toc { position: static; }
  .contact-info { grid-template-columns: 1fr; }
}
@media (max-width: 760px) { .news { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
@media (max-width: 600px) {
  .news__logo { padding: 10px 14px; }
  .news__logo img { max-height: 40px; }
  .news__body { padding: 10px 12px 12px; }
  .news__meta { font-size: 11.5px; gap: 6px; }
  .news__meta .chip { display: none; }
  .news__card h2, .news__card h3 { font-size: 13.5px; margin-top: 6px; }
  .news__link { display: none; }
  .news__logo { height: 38%; }
  .form-box { padding: 16px 14px 18px; }
}
.configs .product__img { aspect-ratio: 3 / 2; --img-pad-y: 0px; --img-pad-x: 0px; }
.configs .product h3 { text-align: center; }
/* Home: brand wordmark title + centered product card titles */
.hero h1 .h1__brand { font-family: "Orbitron", var(--font); font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; font-size: clamp(34px, 4.1vw, 58px); line-height: 1.1; display: block; white-space: nowrap; }
.product h3 { text-align: center; }
/* Pre-order label and note (JetQuad, Axion) */
.chip--preorder { background: var(--tile); color: var(--green); font-weight: 650; }
.hero__note { margin-top: 10px; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.hero__note a { color: var(--ink); text-underline-offset: 2px; }
@media (max-width: 600px) { .hero__note { text-align: center; } }
.prose ul { list-style: disc; } .prose ol { list-style: decimal; } .prose li::marker { color: var(--muted); }
