/* ==========================================================================
   Vailion — one-page site
   Tokens mirror the Vailion brand manual.
   ========================================================================== */

@font-face { font-family: "Roboto"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/roboto-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/roboto-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/roboto-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/roboto-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 900; font-display: swap; src: url("../fonts/roboto-latin-900-normal.woff2") format("woff2"); }

:root {
  color-scheme: dark;

  /* Palette */
  --night: #0D0D0D;      /* base background */
  --carbon: #16181B;     /* raised surface */
  --graphite: #1F2226;   /* cards, panels */
  --slate: #4C545F;      /* structural accent: the brand bar */
  --steel: #8A949F;      /* secondary text, reflection data */
  --mist: #F1F1F1;       /* primary text */
  --beam: #C8D6E3;       /* the cold light: highlights, absorption data */
  --detect: #E03B3B;     /* signal: detection */
  --clear: #1EB05A;      /* signal: no detection */

  --line: rgba(241, 241, 241, 0.12);
  --line-strong: rgba(241, 241, 241, 0.24);

  /* Type */
  --font: "Roboto", "Helvetica Neue", Arial, system-ui, sans-serif;
  --step--1: 0.8125rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.375rem, 1.1rem + 0.9vw, 1.75rem);
  --step-3: clamp(2rem, 1.3rem + 2.6vw, 3.375rem);
  --step-4: clamp(3.5rem, 2rem + 6vw, 7.5rem);

  /* Layout */
  --wrap: 1200px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section: clamp(5rem, 10vw, 9rem);
  --nav-h: 4.25rem;
  --radius-s: 4px;
  --radius-m: 10px;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

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

body {
  margin: 0;
  background: var(--night);
  color: var(--mist);
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 900; line-height: 1.08; letter-spacing: -0.015em; }
ul { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }

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

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

.skip-link {
  position: absolute; left: 1rem; top: -3rem; z-index: 100;
  background: var(--mist); color: var(--night); padding: 0.5rem 1rem; border-radius: var(--radius-s);
  text-decoration: none; font-weight: 500; transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--nav-h);
  padding-top: env(safe-area-inset-top, 0px);
  box-sizing: content-box;
  transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-solid {
  background: rgba(13, 13, 13, 0.82);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }

.brand { display: inline-flex; align-items: center; color: var(--mist); text-decoration: none; padding: 0.5rem 0; }
.brand svg { width: 124px; height: auto; }

.nav-list { list-style: none; display: flex; gap: clamp(1.25rem, 2.4vw, 2.25rem); align-items: center; }
.nav-list a {
  position: relative; display: block; padding: 0.5rem 0;
  font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(241, 241, 241, 0.66); text-decoration: none; transition: color 0.2s;
}
.nav-list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.15rem; height: 1px;
  background: var(--beam); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease);
}
.nav-list a:hover, .nav-list a[aria-current="true"] { color: var(--mist); }
.nav-list a[aria-current="true"]::after { transform: scaleX(1); }
.nav-list .nav-cta {
  border: 1px solid var(--line-strong); padding: 0.55rem 1rem; border-radius: var(--radius-s);
  color: var(--mist);
}
.nav-list .nav-cta::after { display: none; }
.nav-list .nav-cta:hover { border-color: var(--beam); }

.nav-toggle {
  display: none; width: 44px; height: 44px; margin-right: -10px;
  background: none; border: 0; cursor: pointer; position: relative;
}
.nav-toggle span {
  position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--mist);
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 21.5px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; inset: calc(var(--nav-h) + env(safe-area-inset-top, 0px)) 0 0;
    background: var(--night);
    padding: 2rem var(--gutter) calc(2rem + env(safe-area-inset-bottom, 0px));
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s linear 0.3s;
    overflow-y: auto;
  }
  .site-nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list li { border-bottom: 1px solid var(--line); }
  .nav-list a { font-size: 1.5rem; font-weight: 700; letter-spacing: 0; text-transform: none; padding: 1rem 0; }
  .nav-list a::after { display: none; }
  .nav-list li:last-child { border-bottom: 0; margin-top: 2rem; }
  .nav-list .nav-cta { text-align: center; font-size: 1.125rem; padding: 1rem; }
  .site-header.menu-open { background: var(--night); border-bottom-color: var(--line); -webkit-backdrop-filter: none; backdrop-filter: none; }
  body.menu-open { overflow: hidden; }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: grid; grid-template-rows: 1fr auto; overflow: hidden;
  background: #050506;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(5,5,6,0.55) 0%, rgba(5,5,6,0) 22%, rgba(5,5,6,0) 60%, var(--night) 100%);
}
.hero-scene { position: absolute; inset: 0; width: 100%; height: 100%; display: block; animation: scene-in 2.4s var(--ease) both; }
@keyframes scene-in { from { opacity: 0; } to { opacity: 1; } }

.motion-toggle {
  position: absolute; z-index: 3; right: var(--gutter); bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: rgba(13,13,13,0.45); border: 1px solid var(--line-strong); color: rgba(241,241,241,0.7);
  transition: color 0.2s, border-color 0.2s;
}
.motion-toggle:hover { color: var(--mist); border-color: var(--beam); }
.motion-toggle svg { width: 14px; height: 14px; }
.motion-toggle .mt-play { display: none; }
.motion-toggle[aria-pressed="true"] .mt-play { display: block; }
.motion-toggle[aria-pressed="true"] .mt-pause { display: none; }

.hero-mark {
  position: relative; z-index: 1; align-self: center; justify-self: center;
  width: min(74vw, 760px); color: var(--mist); margin-top: var(--nav-h);
}
.hero-mark svg { width: 100%; height: auto; overflow: visible; }
.hero-mark path { animation: mark-in 1.6s var(--ease) both; }
.hero-mark path:nth-child(1) { animation-delay: 0.55s; }
.hero-mark path:nth-child(2) { animation-delay: 0.65s; }
.hero-mark path:nth-child(3) { animation-delay: 0.75s; }
.hero-mark path:nth-child(4) { animation-delay: 0.85s; }
.hero-mark path:nth-child(5) { animation-delay: 0.95s; }
.hero-mark path:nth-child(6) { animation-delay: 1.05s; }
.hero-mark path:nth-child(7) { animation-delay: 1.15s; }

.hero-copy {
  position: relative; z-index: 1;
  padding-bottom: calc(clamp(4.5rem, 9vh, 6rem) + env(safe-area-inset-bottom, 0px));
  animation: rise 1.2s var(--ease) 1.4s both;
}
.hero-copy .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 2rem 3rem; }
.hero-title { font-size: var(--step-2); font-weight: 500; letter-spacing: -0.005em; line-height: 1.25; max-width: 24ch; }
.hero-lead { color: rgba(241, 241, 241, 0.62); margin: 0.75rem 0 0; max-width: 52ch; }
.hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

@keyframes beam-in {
  from { opacity: 0.25; transform: scale(1.06); filter: brightness(0.45); }
  to   { opacity: 1; transform: scale(1); filter: brightness(1); }
}
@keyframes mark-in {
  from { opacity: 0; filter: blur(10px); }
  to   { opacity: 1; filter: blur(0); }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

@media (max-width: 720px) {
  .hero-copy .wrap { grid-template-columns: 1fr; }
  .hero-mark { width: 84vw; }
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; padding: 0.75rem 1.4rem; border-radius: var(--radius-s);
  font-size: 0.9375rem; font-weight: 500; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.btn-primary { background: var(--mist); color: var(--night); }
.btn-primary:hover { background: #fff; }
.btn-ghost { border-color: var(--line-strong); color: var(--mist); background: rgba(13,13,13,0.3); }
.btn-ghost:hover { border-color: var(--beam); }
.btn[disabled] { opacity: 0.55; cursor: progress; }

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section { padding: var(--section) 0; position: relative; }
.section + .section { border-top: 1px solid var(--line); }
.section--raised { background: var(--carbon); }

.section-head { position: relative; padding-left: clamp(1.25rem, 2.2vw, 2rem); margin-bottom: clamp(2.5rem, 5vw, 4rem); max-width: 60rem; }
.section-head::before {
  content: ""; position: absolute; left: 0; top: 0.1em; bottom: 0.1em; width: 4px; background: var(--slate);
}
.section-index { display: block; font-size: var(--step--1); color: var(--steel); font-weight: 500; margin-bottom: 0.85rem; letter-spacing: 0.02em; }
.section-title { font-size: var(--step-3); max-width: 20ch; }
.section-lead { font-size: var(--step-1); color: rgba(241, 241, 241, 0.72); margin: 1.25rem 0 0; max-width: 58ch; line-height: 1.5; }

.sub-head { margin: clamp(4rem, 8vw, 6.5rem) 0 2rem; }
.sub-title { font-size: var(--step-2); font-weight: 700; letter-spacing: -0.01em; max-width: 30ch; }
.sub-lead { color: rgba(241, 241, 241, 0.66); margin: 0.75rem 0 0; max-width: 60ch; }

.statement { font-size: var(--step-1); line-height: 1.5; max-width: 62ch; color: rgba(241, 241, 241, 0.86); margin: 2.5rem 0 0; }
.source { font-size: var(--step--1); color: var(--steel); margin: 1rem 0 0; }

/* --------------------------------------------------------------------------
   Challenge: finder vs camouflage on a central spine
   -------------------------------------------------------------------------- */
.spine-head { display: grid; grid-template-columns: 1fr 9rem 1fr; margin-bottom: 1rem; font-size: var(--step--1); font-weight: 500; color: var(--steel); letter-spacing: 0.02em; }
.spine-head span:first-child { text-align: right; color: var(--mist); }
.spine-head span:last-child { grid-column: 3; }
.spine { list-style: none; margin: 0; padding: 0; position: relative; }
.spine::before { content: ""; position: absolute; left: 50%; top: 0.5rem; bottom: 0.5rem; width: 1px; background: linear-gradient(180deg, var(--slate), var(--beam)); transform: translateX(-0.5px); }
.era { display: grid; grid-template-columns: 1fr 9rem 1fr; align-items: start; padding: 1.4rem 0; }
.era p { margin: 0; line-height: 1.55; }
.era-finder { text-align: right; color: var(--mist); font-size: 1rem; }
.era-camo { color: var(--steel); font-size: 0.9375rem; }
.era-tag { display: none; }
.era-node { position: relative; display: flex; justify-content: center; padding-top: 0.15rem; }
.era-node span {
  position: relative; z-index: 1; padding: 0.3rem 0.75rem; border-radius: 999px; background: var(--night);
  border: 1px solid var(--line-strong); font-size: 0.8125rem; font-weight: 500; color: rgba(241,241,241,0.8); white-space: nowrap;
}
.era.is-now .era-node span { background: var(--beam); border-color: var(--beam); color: var(--night); }
.era.is-now .era-finder { font-size: var(--step-1); line-height: 1.45; }
.era.is-now .era-camo { color: rgba(241,241,241,0.86); font-size: var(--step-1); line-height: 1.45; font-weight: 500; }
.js-reveal [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js-reveal [data-reveal].is-in { opacity: 1; transform: none; }

@media (max-width: 760px) {
  .spine-head { display: none; }
  .spine::before { left: 0.45rem; }
  .era { grid-template-columns: 1fr; padding: 0 0 1.75rem 2rem; position: relative; gap: 0.6rem; }
  .era-node { order: -1; justify-content: flex-start; }
  .era-node span { margin-left: -2.45rem; }
  .era-finder { text-align: left; }
  .era-tag { display: block; font-size: 0.75rem; font-weight: 500; color: var(--steel); letter-spacing: 0.02em; margin-bottom: 0.15rem; }
  .era.is-now .era-finder, .era.is-now .era-camo { font-size: 1.0625rem; }
}

/* --------------------------------------------------------------------------
   Spectrum strip
   -------------------------------------------------------------------------- */
.spectrum { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 3px; }
.band {
  position: relative; padding: 1.25rem 1.1rem 1.4rem; background: var(--graphite); min-height: 10rem;
  display: flex; flex-direction: column;
}
.band:first-child { border-radius: var(--radius-m) 0 0 var(--radius-m); }
.band:last-child { border-radius: 0 var(--radius-m) var(--radius-m) 0; }
.band-icon { width: 30px; height: 30px; color: var(--steel); margin-bottom: 1.1rem; flex: none; }
.band.is-vailion .band-icon { color: var(--beam); }

/* Sensor boxes: a particle loop behind the content of each card */
.spectrum { gap: 0 !important; }
.band + .band { border-left: 1px solid rgba(13,13,13,0.9); }
.band { overflow: hidden; isolation: isolate; transition: background-color 0.35s var(--ease); }
.band > :not(.band-fx) { position: relative; z-index: 1; }
.band-fx { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.band:hover { background: #262A2F; }
.band.is-vailion:hover { background: #2F353C; }
.band-name { font-weight: 700; font-size: 1rem; }
.band-range { font-size: var(--step--1); color: var(--steel); margin-top: 0.2rem; }
.band-sensor { margin-top: auto; padding-top: 1.25rem; font-size: 0.9375rem; color: rgba(241,241,241,0.8); line-height: 1.4; }
.band::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; z-index: 1; background: var(--slate); }
.band:nth-child(1)::before { background: linear-gradient(90deg, #8B5CF6, #3B82F6, #22C55E, #EAB308, #F97316, #DC2626); }
.band:nth-child(2)::before { background: linear-gradient(90deg, #DC2626, #7F1D1D, #3A1416); }
.band:nth-child(3)::before { background: linear-gradient(90deg, #3A1416, #4C545F, #6B7280); }
.band:nth-child(4)::before { background: linear-gradient(90deg, #6B7280, #40166C, #A82478, #EC5434, #FFB03C); }
.band:nth-child(5)::before { background: linear-gradient(90deg, #FFB03C, #C8D6E3 30%, #C8D6E3); }
.band:first-child::before { border-top-left-radius: var(--radius-m); }
.band:last-child::before { border-top-right-radius: var(--radius-m); }
.band.is-vailion { background: #2A2F35; }
.band-flag {
  display: inline-block; align-self: flex-start; margin-top: 0.75rem; font-size: 0.75rem; font-weight: 500;
  color: var(--night); background: var(--beam); padding: 0.15rem 0.5rem; border-radius: 2px; text-decoration: none;
}
.band-flag:hover { background: var(--mist); }
.spectrum-note { margin: 1.25rem 0 0; font-style: italic; color: rgba(241,241,241,0.7); max-width: 60ch; }

@media (max-width: 900px) {
  .spectrum { grid-template-columns: 1fr 1fr; }
  .band, .band:first-child, .band:last-child { border-radius: var(--radius-s); min-height: 8.5rem; }
  .band::before { border-radius: var(--radius-s) var(--radius-s) 0 0 !important; }
  .band:last-child { grid-column: 1 / -1; }
}

.needs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); }
.need { border-top: 1px solid var(--line-strong); padding-top: 1.25rem; }
.need h4 { font-size: var(--step-1); font-weight: 700; letter-spacing: -0.005em; margin-bottom: 0.6rem; }
.need p { color: rgba(241,241,241,0.7); margin: 0; }
@media (max-width: 760px) { .needs { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Technology: layer stack
   -------------------------------------------------------------------------- */
.tech { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }

.explode { position: relative; display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 2rem; align-items: center; }
.explode-stage { position: relative; aspect-ratio: 1.3 / 1; }
.explode-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.explode-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.explode-labels { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.75rem; position: relative; z-index: 1; }
.explode-labels li {
  display: grid; gap: 0.15rem; padding: 0.85rem 1rem; border-radius: var(--radius-s); cursor: default;
  border: 1px solid var(--line); background: rgba(13,13,13,0.55); transition: opacity 0.3s var(--ease), border-color 0.3s var(--ease);
}
.explode-labels li.is-vailion { border-color: rgba(200,214,227,0.6); }
.explode-labels li.is-hover { border-color: var(--beam); }
.explode-labels li.is-dim { opacity: 0.4; }
.el-name { font-weight: 700; font-size: 1rem; }
.is-vailion .el-name { color: var(--beam); }
.el-owner { font-size: 0.875rem; color: rgba(241,241,241,0.78); }
.el-band { font-size: 0.8125rem; color: var(--steel); }

.tech-note { margin: 0; max-width: 62ch; font-size: var(--step-1); line-height: 1.5; color: rgba(241,241,241,0.86); }

.partner { border-top: 1px solid var(--line); padding-top: clamp(2rem, 4vw, 3rem); display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 1.5rem 3rem; align-items: end; }
.partner-claim { margin: 0; font-size: var(--step-3); font-weight: 900; line-height: 1.08; letter-spacing: -0.02em; max-width: 22ch; }
.partner-claim span { display: block; color: var(--steel); }
.partner-lead { margin: 0; color: rgba(241,241,241,0.72); max-width: 40ch; }

@media (max-width: 760px) {
  .explode { grid-template-columns: 1fr; gap: 1.25rem; }
  .explode-stage { aspect-ratio: 1.05 / 1; }
  .explode-labels { gap: 0.6rem; counter-reset: lay; }
  .explode-labels li { counter-increment: lay; grid-template-columns: auto 1fr; column-gap: 0.75rem; }
  .explode-labels li::before {
    content: counter(lay); grid-row: span 3; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
    border: 1px solid var(--beam); font-size: 0.75rem; font-weight: 500; margin-top: 0.1rem;
  }
  .partner { grid-template-columns: 1fr; }
}

.props { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem clamp(1.5rem, 3vw, 2.5rem); border-top: 1px solid var(--line); padding-top: clamp(2rem, 4vw, 3rem); }
.prop { display: grid; grid-template-columns: auto 1fr; gap: 0.35rem 1.25rem; }
.prop-icon { grid-row: span 2; width: 44px; height: 44px; color: var(--beam); }
.prop h3 { font-size: var(--step-1); font-weight: 700; letter-spacing: -0.005em; align-self: center; }
.prop p { color: rgba(241,241,241,0.72); margin: 0; }
.prop .figure { color: var(--mist); font-weight: 500; white-space: nowrap; }

@media (max-width: 900px) { .props { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Performance
   -------------------------------------------------------------------------- */
.perf-block + .perf-block { margin-top: clamp(5rem, 9vw, 7.5rem); }
.perf-label { display: flex; align-items: center; gap: 0.75rem; font-size: var(--step--1); color: var(--steel); font-weight: 500; margin-bottom: 1rem; }
.perf-label::before { content: ""; width: 1.5rem; height: 1px; background: var(--slate); }
.perf-title { font-size: var(--step-2); font-weight: 700; letter-spacing: -0.01em; max-width: 40ch; }
.nowrap { white-space: nowrap; }

.thermal { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); margin-top: 2.5rem; align-items: start; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 2.5rem; }
.stat-value { display: block; font-size: clamp(3rem, 1.8rem + 4.5vw, 5.5rem); font-weight: 900; line-height: 0.95; letter-spacing: -0.035em; white-space: nowrap; }
.stat-value .unit { font-size: 0.55em; letter-spacing: -0.01em; margin-left: 0.08em; }
.stat-label { display: block; margin-top: 0.9rem; color: rgba(241,241,241,0.66); font-size: 0.9375rem; line-height: 1.45; max-width: 26ch; }
.why {
  grid-column: 1 / -1; background: var(--graphite); border-radius: var(--radius-m); padding: 1.5rem 1.6rem; margin-top: 0.5rem;
}
.why h4 { font-size: var(--step--1); font-weight: 500; color: var(--steel); letter-spacing: 0.02em; margin-bottom: 0.5rem; }
.why p { margin: 0; font-size: var(--step-1); line-height: 1.45; }

.figure-frame { margin: 0; }
.figure-frame .media { position: relative; border-radius: var(--radius-m); overflow: hidden; background: #000; }
.figure-frame figcaption { margin-top: 0.85rem; font-size: 0.875rem; color: var(--steel); line-height: 1.5; max-width: 62ch; }

.note { border-radius: var(--radius-m); padding: 1.4rem 1.5rem; background: var(--graphite); }
.note h4 { font-size: var(--step-1); font-weight: 700; letter-spacing: -0.005em; margin-bottom: 0.5rem; }
.note p { margin: 0; color: rgba(241,241,241,0.74); font-size: 0.9375rem; }
.note--key { background: transparent; border: 1px solid var(--beam); }
.note--key p { color: var(--mist); }
.stats .note { grid-column: 1 / -1; }

/* SAR */
.sar { display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); margin-top: 2.5rem; align-items: start; }
.sar-image { position: relative; border-radius: var(--radius-m); overflow: hidden; background: #000; touch-action: pan-y; }
.sar-image img { width: 100%; }
.sar-target {
  position: absolute; left: 32.0%; top: 26.4%; width: 8.0%; height: 13.8%;
  border: 2px solid var(--clear); border-radius: 1px; pointer-events: none;
  transition: opacity 0.3s;
}
.sar-target::after {
  content: ""; position: absolute; inset: -2px; border: 2px solid var(--clear); border-radius: 1px;
  animation: ping 2.4s var(--ease) infinite;
}
.sar-image.hide-target .sar-target { opacity: 0; }
@keyframes ping { 0% { transform: scale(1); opacity: 0.9; } 70%, 100% { transform: scale(1.9); opacity: 0; } }

[data-magnify] { touch-action: pan-y; cursor: crosshair; }
.lens {
  position: absolute; z-index: 2; width: 170px; height: 170px; border-radius: 50%; pointer-events: none; overflow: hidden;
  border: 1px solid rgba(241,241,241,0.6); box-shadow: 0 10px 40px rgba(0,0,0,0.6);
  background-repeat: no-repeat; opacity: 0; transform: translate(-50%, -50%) scale(0.9);
  transition: opacity 0.2s, transform 0.2s;
}
.is-inspecting > .lens { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.lens .lens-overlay { position: absolute; margin: 0; }
.mag-hint { display: block; margin-top: 0.85rem; font-size: 0.8125rem; color: var(--steel); }
.mag-hint + figcaption { margin-top: 0.35rem; }

/* Thermal video player */
.clip-switch { display: inline-flex; gap: 3px; padding: 3px; margin-bottom: 0.85rem; border: 1px solid var(--line); border-radius: 999px; background: var(--carbon); }
.clip-switch button {
  min-height: 34px; padding: 0.3rem 1rem; border: 0; border-radius: 999px; background: transparent;
  color: var(--steel); font: inherit; font-size: 0.875rem; font-weight: 500; cursor: pointer; transition: background-color 0.2s, color 0.2s;
}
.clip-switch button:hover { color: var(--mist); }
.clip-switch button[aria-pressed="true"] { background: var(--graphite); color: var(--mist); box-shadow: inset 0 0 0 1px var(--line-strong); }
.player-media { aspect-ratio: 640 / 512; }
.player-media video { display: block; width: 100%; height: 100%; object-fit: cover; }
.player-media video[hidden] { display: none; }
.lens canvas { display: block; width: 100%; height: 100%; }
.player-bar { display: flex; align-items: center; gap: 0.85rem; margin-top: 0.75rem; }
.play-btn {
  flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: transparent; border: 1px solid var(--line-strong); color: var(--mist); transition: border-color 0.2s;
}
.play-btn:hover { border-color: var(--beam); }
.play-btn svg { width: 16px; height: 16px; grid-area: 1 / 1; }
.play-btn .pb-pause, .play-btn.is-playing .pb-play { display: none; }
.play-btn.is-playing .pb-pause { display: block; }
.time { flex: none; font-size: 0.8125rem; color: var(--steel); font-variant-numeric: tabular-nums; min-width: 6.5em; text-align: right; }
.scrub {
  --p: 0%; flex: 1; min-width: 0; height: 40px; margin: 0; background: transparent; cursor: pointer;
  -webkit-appearance: none; appearance: none; touch-action: none;
}
.scrub::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(to right, var(--beam) var(--p), rgba(241,241,241,0.18) var(--p)); }
.scrub::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; margin-top: -6px; border-radius: 50%; background: var(--mist); border: 0; box-shadow: 0 0 0 4px rgba(200,214,227,0.18); }
.scrub::-moz-range-track { height: 4px; border-radius: 2px; background: rgba(241,241,241,0.18); }
.scrub::-moz-range-progress { height: 4px; border-radius: 2px; background: var(--beam); }
.scrub::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--mist); border: 0; box-shadow: 0 0 0 4px rgba(200,214,227,0.18); }
.scrub:focus-visible { outline: 2px solid var(--beam); outline-offset: 2px; border-radius: 4px; }

.sar-tools { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; align-items: center; margin-top: 0.85rem; }
.toggle {
  display: inline-flex; align-items: center; gap: 0.6rem; min-height: 40px; padding: 0.3rem 0.9rem 0.3rem 0.4rem;
  border: 1px solid var(--line-strong); border-radius: 999px; background: transparent; cursor: pointer; font-size: 0.875rem;
}
.toggle .knob { width: 34px; height: 20px; border-radius: 999px; background: var(--slate); position: relative; transition: background-color 0.2s; }
.toggle .knob::after { content: ""; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: var(--mist); transition: transform 0.25s var(--ease); }
.toggle[aria-pressed="true"] .knob { background: var(--clear); }
.toggle[aria-pressed="true"] .knob::after { transform: translateX(14px); }
.sar-hint { font-size: 0.8125rem; color: var(--steel); }

.sar-side .photo { border-radius: var(--radius-m); overflow: hidden; }
.sar-side .photo-cap { margin: 0.7rem 0 1.75rem; font-size: 0.875rem; color: var(--steel); font-style: italic; }
.key { list-style: none; display: grid; gap: 1rem; }
.key li { display: grid; grid-template-columns: 22px 1fr; gap: 0.15rem 0.9rem; }
.box--clear { --c: var(--clear); }
.box--detect { --c: var(--detect); }
.key .box { width: 22px; height: 22px; border: 2px solid var(--c); grid-row: span 2; margin-top: 2px; }
.key b { font-weight: 500; }
.key span { font-size: 0.875rem; color: rgba(241,241,241,0.66); line-height: 1.45; }

.active-participant {
  margin-top: clamp(4rem, 8vw, 6rem); padding: clamp(2rem, 4vw, 3rem); border-radius: var(--radius-m);
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(200,214,227,0.10), transparent 55%),
    var(--graphite);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 1.5rem 3rem; align-items: start;
}
.active-participant h3 { font-size: var(--step-2); font-weight: 900; letter-spacing: -0.015em; }
.active-participant p { margin: 0; font-size: var(--step-1); line-height: 1.5; color: rgba(241,241,241,0.86); }

@media (max-width: 900px) {
  .thermal, .sar, .active-participant { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .stats { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Strategy
   -------------------------------------------------------------------------- */
.chain { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 1rem; align-items: stretch; }
.link {
  border-radius: var(--radius-m); padding: 1.6rem 1.6rem 1.9rem; background: var(--graphite);
}
.link--self { background: var(--mist); color: var(--night); }
.link-who { font-size: var(--step--1); font-weight: 500; color: var(--steel); letter-spacing: 0.02em; }
.link--self .link-who { color: var(--slate); }
.link h3 { font-size: var(--step-2); margin: 0.4rem 0 0.75rem; font-weight: 900; }
.link p { margin: 0; font-size: 0.9375rem; color: rgba(241,241,241,0.74); }
.link--self p { color: rgba(13,13,13,0.78); }
.chain-arrow { align-self: center; width: 28px; color: var(--slate); }
.business-claim { margin-top: clamp(3rem, 6vw, 4.5rem); font-size: var(--step-3); font-weight: 900; line-height: 1.08; letter-spacing: -0.02em; max-width: 22ch; }
.business-claim span { display: block; color: var(--steel); }

@media (max-width: 900px) {
  .chain { grid-template-columns: 1fr; }
  .chain-arrow { transform: rotate(90deg); justify-self: start; margin-left: 1.6rem; }
}

/* --------------------------------------------------------------------------
   Roadmap
   -------------------------------------------------------------------------- */
.road { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 0; }
.phase { padding-right: 2.5rem; }
.phase-line { position: relative; height: 1.5rem; margin-bottom: 1.25rem; }
.phase-line::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; transform: translateY(-1px); }
.phase--now .phase-line::before { background: var(--beam); }
.phase--next .phase-line::before { background: repeating-linear-gradient(90deg, var(--steel) 0 8px, transparent 8px 14px); -webkit-mask-image: linear-gradient(90deg, #000 60%, transparent); mask-image: linear-gradient(90deg, #000 60%, transparent); }
.phase-dot { position: absolute; left: 0; top: 50%; width: 14px; height: 14px; border-radius: 50%; transform: translateY(-50%); background: var(--night); border: 2px solid var(--steel); }
.phase--now .phase-dot { background: var(--beam); border-color: var(--beam); box-shadow: 0 0 0 6px rgba(200,214,227,0.15); }
.phase-when { margin: 0 0 0.75rem; font-size: var(--step--1); font-weight: 500; color: var(--steel); letter-spacing: 0.02em; }
.phase-when strong { display: block; font-size: var(--step-2); font-weight: 900; color: var(--mist); letter-spacing: -0.01em; margin-bottom: 0.2rem; }
.phase--next .phase-when strong { color: rgba(241,241,241,0.75); }
.phase h3 { font-size: var(--step-1); font-weight: 700; letter-spacing: -0.005em; margin-bottom: 0.9rem; }
.phase ul { list-style: none; display: grid; gap: 0.6rem; }
.phase li { position: relative; padding-left: 1.25rem; color: rgba(241,241,241,0.76); }
.phase li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 6px; height: 1px; background: var(--beam); }

@media (max-width: 860px) {
  .road { grid-template-columns: 1fr; gap: 2.5rem; }
  .phase { padding-right: 0; }
}
.why-first { margin-top: clamp(3rem, 6vw, 4rem); padding: 1.5rem 1.6rem; border-left: 4px solid var(--slate); background: var(--carbon); }
.why-first h4 { font-size: var(--step--1); font-weight: 500; color: var(--steel); letter-spacing: 0.02em; margin-bottom: 0.4rem; }
.why-first p { margin: 0; font-size: var(--step-1); line-height: 1.45; }


/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.contact { position: relative; overflow: hidden; background: #060607; }
.contact-media { position: absolute; inset: 0; z-index: 0; opacity: 0.55; pointer-events: none; }
.contact-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; }
.contact::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: linear-gradient(180deg, rgba(6,6,7,0.2) 0%, rgba(6,6,7,0.8) 45%, #060607 100%);
}
.contact .wrap { position: relative; z-index: 2; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; counter-reset: step; }
.step { counter-increment: step; position: relative; padding-top: 3.25rem; }
.step::before {
  content: counter(step); position: absolute; left: 0; top: 0; width: 2.25rem; height: 2.25rem; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; font-size: 0.9375rem; background: var(--night); border: 1px solid var(--beam); color: var(--mist); z-index: 1;
}
.step:not(:last-child)::after { content: ""; position: absolute; left: 2.75rem; right: -1.5rem; top: 1.125rem; height: 1px; background: linear-gradient(90deg, var(--beam), rgba(200,214,227,0.2)); }
.step h3 { font-size: var(--step-1); font-weight: 700; letter-spacing: -0.005em; margin-bottom: 0.4rem; }
.step p { margin: 0; font-size: 0.9375rem; color: rgba(241,241,241,0.74); max-width: 30ch; }
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; gap: 1.5rem; }
  .step { padding: 0 0 0 3.25rem; min-height: 2.25rem; }
  .step:not(:last-child)::after { left: 1.125rem; right: auto; top: 2.6rem; bottom: -1.3rem; width: 1px; height: auto; background: linear-gradient(180deg, var(--beam), rgba(200,214,227,0.2)); }
}
.standards { margin: 1.75rem 0 0; font-style: italic; color: rgba(241,241,241,0.66); max-width: 70ch; }

.contact-grid--form { grid-template-columns: 1fr !important; max-width: 760px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: clamp(2.5rem, 6vw, 5rem); margin-top: clamp(3.5rem, 7vw, 5.5rem); align-items: start; }
.person h3 { font-size: var(--step-2); font-weight: 900; }
.person .role { color: var(--steel); margin: 0.3rem 0 1.5rem; }
.person ul { list-style: none; display: grid; gap: 0.25rem; }
.person a {
  display: inline-flex; align-items: center; gap: 0.75rem; min-height: 44px; text-decoration: none;
  border-bottom: 1px solid transparent; transition: border-color 0.2s;
}
.person a:hover { border-bottom-color: var(--beam); }
.person svg { width: 18px; height: 18px; color: var(--beam); flex: none; }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.25rem; }
.field { display: grid; gap: 0.4rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.875rem; color: rgba(241,241,241,0.8); font-weight: 500; }
.field label .opt { color: var(--steel); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 0.75rem 0.9rem; border-radius: var(--radius-s);
  background: rgba(31, 34, 38, 0.85); border: 1px solid var(--line-strong); color: var(--mist);
  transition: border-color 0.2s, background-color 0.2s; font-size: 1rem;
}
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%238A949F' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.95rem center; padding-right: 2.5rem; }
.field select option { background: var(--graphite); color: var(--mist); }
.field textarea { min-height: 9rem; resize: vertical; line-height: 1.5; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(241,241,241,0.38); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--beam); background: var(--graphite); }
.field [aria-invalid="true"] { border-color: var(--detect); }
.field .err { font-size: 0.8125rem; color: #FF8A8A; min-height: 0; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.5rem; margin-top: 0.5rem; }
.form-privacy { font-size: 0.8125rem; color: var(--steel); margin: 0; max-width: 40ch; }
.form-privacy a { color: rgba(241,241,241,0.8); }
.form-status { grid-column: 1 / -1; margin: 0; padding: 0.9rem 1rem; border-radius: var(--radius-s); font-size: 0.9375rem; display: none; }
.form-status.is-ok { display: block; background: rgba(30,176,90,0.12); border: 1px solid rgba(30,176,90,0.5); }
.form-status.is-error { display: block; background: rgba(224,59,59,0.12); border: 1px solid rgba(224,59,59,0.5); }

@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .form { grid-template-columns: 1fr; }
  .form-foot .btn { width: 100%; }
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--line); padding: 2.25rem 0 calc(2.25rem + env(safe-area-inset-bottom, 0px)); background: var(--night); }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.site-footer .brand svg { width: 104px; }
.footer-meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; font-size: 0.8125rem; color: var(--steel); }
.footer-meta a { color: var(--steel); text-decoration: none; }
.footer-meta a:hover { color: var(--mist); }

/* --------------------------------------------------------------------------
   Plain page (privacy)
   -------------------------------------------------------------------------- */
.page { padding: calc(var(--nav-h) + 4rem) 0 6rem; }
.page .prose { max-width: 68ch; }
.page h1 { font-size: var(--step-3); margin-bottom: 1.5rem; }
.page h2 { font-size: var(--step-1); font-weight: 700; margin: 2.25rem 0 0.6rem; letter-spacing: -0.005em; }
.page p, .page li { color: rgba(241,241,241,0.8); }
.page ul { padding-left: 1.2rem; margin-bottom: 1em; }
.page a { color: var(--beam); }

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .sar-target::after { display: none; }
}
