:root {
  --bg: #050706;
  --soft: #0a0d0b;
  --panel: #0e120f;
  --panel-2: #111611;

  --text: #f1f4ef;
  --muted: #a4ada6;
  --muted-2: #727b74;

  --line: rgba(255, 255, 255, 0.12);
  --line-soft: rgba(255, 255, 255, 0.07);

  --lime: #b7ff2a;
  --lime-soft: rgba(183, 255, 42, 0.08);

  --blue: #9cc4dc;
  --orange: #d69b5e;

  --max: 1440px;
  --nav: 72px;
  --pad: clamp(6rem, 10vw, 10rem);

  --display: "Inter", "Noto Sans KR", sans-serif;
  --body: "Noto Sans KR", sans-serif;
}


/* =========================================================
   RESET
========================================================= */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav);
}

body {
  margin: 0;

  background: var(--bg);
  color: var(--text);

  font-family: var(--body);

  line-height: 1.68;

  overflow-x: hidden;

  word-break: keep-all;
  line-break: strict;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

[hidden] {
  display: none !important;
}

::selection {
  background: var(--lime);
  color: #071005;
}

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 5px;
}


/* =========================================================
   ACCESSIBILITY
========================================================= */

.skip {
  position: fixed;

  z-index: 9999;

  top: 1rem;
  left: 1rem;

  padding:
    0.7rem
    0.9rem;

  background: var(--lime);
  color: #050706;

  text-decoration: none;

  font-weight: 700;

  transform:
    translateY(-170%);

  transition:
    transform 0.2s ease;
}

.skip:focus {
  transform: none;
}


/* =========================================================
   LAYOUT
========================================================= */

.wrap {
  width:
    min(
      calc(100% - 10vw),
      var(--max)
    );

  margin-inline: auto;
}

section {
  position: relative;

  padding-block:
    var(--pad);

  border-top:
    1px solid
    var(--line-soft);
}

.dark {
  background: var(--soft);
}


/* =========================================================
   TYPOGRAPHY
========================================================= */

h1,
h2,
h3,
h4 {
  margin-top: 0;

  font-family:
    "Noto Sans KR",
    "Inter",
    sans-serif;

  word-break: keep-all;
  overflow-wrap: normal;
}

h2 {
  margin: 0;

  font-size:
    clamp(
      3.1rem,
      6vw,
      6.5rem
    );

  font-weight: 700;

  line-height: 1.13;

  letter-spacing: -0.015em;

  text-transform: none;
}

h2 em,
.lime {
  color: var(--lime);

  font-style: normal;
}

h2 em {
  line-height: inherit;
}

p {
  word-break: keep-all;
  overflow-wrap: break-word;
}


/* =========================================================
   KICKER / CHAPTER LABEL
========================================================= */

.kicker {
  display: inline-flex;

  align-items: center;

  gap: 0.62rem;

  width: fit-content;
  max-width: 100%;

  margin: 0;

  padding:
    0.5rem
    0.75rem;

  border:
    1px solid
    rgba(183, 255, 42, 0.34);

  border-radius:
    999px;

  background:
    rgba(183, 255, 42, 0.065);

  color: var(--lime);

  font:
    700
    0.67rem/1.25
    "Inter",
    "Noto Sans KR",
    sans-serif;

  letter-spacing:
    0.12em;

  text-transform:
    uppercase;
}

.kicker::before {
  content: "";

  flex: 0 0 auto;

  width: 6px;
  height: 6px;

  border-radius: 50%;

  background: var(--lime);

  box-shadow:
    0 0 9px
    rgba(183, 255, 42, 0.8);
}


/* =========================================================
   SCROLL PROGRESS
========================================================= */

.progress {
  position: fixed;

  z-index: 1000;

  inset:
    0
    0
    auto;

  height: 2px;

  pointer-events: none;
}

.progress i {
  display: block;

  width: 0;
  height: 100%;

  background: var(--lime);

  box-shadow:
    0 0 12px
    var(--lime);
}


/* =========================================================
   HEADER
========================================================= */

#header {
  position: fixed;

  z-index: 100;

  inset:
    0
    0
    auto;

  height: var(--nav);

  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    backdrop-filter 0.3s ease;
}

#header.scrolled {
  background:
    rgba(5, 7, 6, 0.84);

  border-bottom:
    1px solid
    rgba(255, 255, 255, 0.08);

  backdrop-filter:
    blur(18px);
}

nav {
  width:
    min(
      calc(100% - 6vw),
      1600px
    );

  height: 100%;

  margin-inline: auto;

  display: flex;

  align-items: center;

  justify-content:
    space-between;

  gap: 1.5rem;
}


/* =========================================================
   BRAND
========================================================= */

.brand {
  flex: 0 0 auto;

  display: flex;

  align-items: center;

  gap: 0.7rem;

  text-decoration: none;

  font:
    600
    0.7rem/1
    var(--display);

  letter-spacing:
    0.13em;
}

.brand > em {
  color: var(--lime);

  font-style: normal;

  font-weight: 700;
}

.brand > b {
  position: relative;

  width: 17px;

  aspect-ratio: 1;

  border:
    1px solid var(--lime);

  transform:
    rotate(45deg);
}

.brand > b::after {
  content: "";

  position: absolute;

  inset: 4px;

  background: var(--lime);
}


/* =========================================================
   TEAM CREDIT
========================================================= */

.team-credit {
  display: grid;

  gap: 0.2rem;

  margin-right: auto;

  color: #89918b;

  font:
    500
    0.57rem/1.3
    var(--body);

  letter-spacing:
    0.03em;
}

.team-credit strong {
  color: var(--lime);

  font:
    700
    0.62rem/1
    var(--display);

  letter-spacing:
    0.1em;
}


/* =========================================================
   NAVIGATION
========================================================= */

#links {
  display: flex;

  align-items: center;

  gap:
    clamp(
      1rem,
      2.3vw,
      2.6rem
    );
}

#links a {
  position: relative;

  color: #858c87;

  text-decoration: none;

  font:
    600
    0.61rem/1
    var(--display);

  letter-spacing:
    0.13em;

  white-space: nowrap;

  transition:
    color 0.25s ease;
}

#links a::after {
  content: "";

  position: absolute;

  left: 0;
  right: 100%;

  bottom: -0.65rem;

  height: 1px;

  background: var(--lime);

  transition:
    right 0.25s ease;
}

#links a:hover,
#links a.active {
  color: white;
}

#links a.active::after {
  right: 0;
}


/* =========================================================
   MENU
========================================================= */

#menu {
  display: none;

  width: 44px;
  height: 44px;

  padding: 0;

  border: 0;

  background: transparent;

  cursor: pointer;
}

#menu i {
  display: block;

  width: 22px;
  height: 1px;

  margin:
    7px
    auto;

  background: white;
}


/* =========================================================
   HERO
========================================================= */

.hero {
  min-height: 100svh;

  padding: 0;

  display: flex;

  align-items: center;

  overflow: hidden;
}

.grid-bg {
  position: absolute;

  inset: 0;

  pointer-events: none;

  background-image:
    linear-gradient(
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px
    );

  background-size:
    80px
    80px;

  mask-image:
    linear-gradient(
      90deg,
      transparent,
      #000 30%,
      #000 90%,
      transparent
    );
}

.hero::before {
  content: "";

  position: absolute;

  width: 70vw;

  aspect-ratio: 1;

  right: -25vw;
  top: -20vw;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(183, 255, 42, 0.1),
      transparent 60%
    );

  pointer-events: none;
}

.hero-grid {
  display: grid;

  grid-template-columns:
    1.08fr
    0.92fr;

  gap: 5vw;

  align-items: center;

  padding-block:
    calc(var(--nav) + 4rem)
    6rem;
}

.hero h1 {
  margin:
    2rem
    0;

  font-size:
    clamp(
      4rem,
      8.4vw,
      8.8rem
    );

  font-weight: 700;

  line-height: 0.92;

  letter-spacing:
    -0.045em;

  word-break: keep-all;
}

.hero h1 span,
.future h2 span {
  color: transparent;

  -webkit-text-stroke:
    1px
    rgba(242, 245, 241, 0.65);
}

.lead {
  max-width: 46rem;

  color: #b5beb7;

  font-size:
    clamp(
      1rem,
      1.3vw,
      1.25rem
    );

  line-height: 1.9;
}

.explore {
  display: inline-block;

  margin-top: 1rem;

  padding:
    1rem
    0;

  border-bottom:
    1px solid
    var(--lime);

  text-decoration: none;

  font:
    600
    0.72rem/1.4
    var(--display);

  letter-spacing:
    0.1em;
}


/* =========================================================
   HERO FOOT
========================================================= */

.hero-foot {
  position: absolute;

  inset:
    auto
    3vw
    1.5rem;

  display: flex;

  justify-content:
    space-between;

  gap: 1rem;

  color: #646b65;

  font:
    500
    0.52rem/1
    var(--display);

  letter-spacing:
    0.15em;
}


/* =========================================================
   HUD
========================================================= */

.hud {
  padding: 1rem;

  border:
    1px solid var(--line);

  background:
    rgba(5, 8, 6, 0.35);

  box-shadow:
    0 30px 80px
    rgba(0, 0, 0, 0.22);
}

.hudbar {
  display: flex;

  justify-content:
    space-between;

  gap: 1rem;

  padding: 0.6rem;

  color: #747c76;

  font:
    500
    0.5rem/1
    var(--display);

  letter-spacing:
    0.1em;
}

.radar {
  position: relative;

  aspect-ratio: 1;

  border-block:
    1px solid
    rgba(255, 255, 255, 0.07);

  overflow: hidden;
}

.radar > i {
  position: absolute;

  left: 50%;
  top: 50%;

  border:
    1px solid
    rgba(183, 255, 42, 0.25);

  border-radius: 50%;

  transform:
    translate(-50%, -50%);

  animation:
    pulse 3.6s infinite;
}

.radar > i:nth-child(1) {
  width: 25%;

  aspect-ratio: 1;
}

.radar > i:nth-child(2) {
  width: 52%;

  aspect-ratio: 1;

  animation-delay: 1.2s;
}

.radar > i:nth-child(3) {
  width: 80%;

  aspect-ratio: 1;

  animation-delay: 2.4s;
}

.scan {
  position: absolute;

  inset: 10%;

  border-radius: 50%;

  animation:
    spin 7s linear infinite;
}

.scan::after {
  content: "";

  position: absolute;

  left: 50%;
  top: 50%;

  width: 48%;
  height: 1px;

  background:
    linear-gradient(
      90deg,
      var(--lime),
      transparent
    );

  box-shadow:
    0 0 8px
    var(--lime);
}

.axis {
  position: absolute;
}

.axis.x {
  left: 10%;
  top: 50%;

  width: 80%;
  height: 1px;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(183, 255, 42, 0.3),
      transparent
    );
}

.axis.y {
  left: 50%;
  top: 10%;

  width: 1px;
  height: 80%;

  background:
    linear-gradient(
      transparent,
      rgba(183, 255, 42, 0.3),
      transparent
    );
}

.car {
  position: absolute;

  left: 50%;
  top: 50%;

  width: 65px;
  height: 112px;

  border:
    1px solid var(--lime);

  border-radius:
    25px
    25px
    15px
    15px;

  transform:
    translate(-50%, -50%);

  box-shadow:
    0 0 20px
    rgba(183, 255, 42, 0.15);
}

.car::before {
  content: "";

  position: absolute;

  inset:
    16px
    10px
    auto;

  height: 28px;

  border:
    1px solid
    rgba(183, 255, 42, 0.5);

  border-radius:
    12px
    12px
    4px
    4px;
}

.car b {
  position: absolute;

  left: 50%;
  top: 62%;

  width: 7px;

  aspect-ratio: 1;

  border-radius: 50%;

  background: var(--lime);

  box-shadow:
    0 0 12px
    var(--lime);
}

.radar > span {
  position: absolute;

  color: #969e97;

  font:
    500
    0.5rem/1
    var(--display);

  letter-spacing:
    0.09em;
}

.cam {
  top: 5%;
  left: 50%;

  transform:
    translateX(-50%);
}

.rad {
  left: 3%;
  top: 50%;
}

.lid {
  right: 3%;
  top: 50%;
}

.ai {
  bottom: 5%;
  left: 50%;

  transform:
    translateX(-50%);
}

.dot {
  position: absolute;

  width: 5px;

  aspect-ratio: 1;

  border:
    1px solid var(--lime);

  border-radius: 50%;

  animation:
    blink 1.5s infinite;
}

.d1 {
  left: 20%;
  top: 30%;
}

.d2 {
  right: 20%;
  bottom: 28%;
}


/* =========================================================
   COMMON SECTION HEAD
========================================================= */

.section-head {
  position: relative;

  display: grid;

  grid-template-columns:
    0.27fr
    1fr;

  gap: 5vw;

  padding-top: 1.8rem;

  margin-bottom:
    clamp(
      4rem,
      8vw,
      8rem
    );

  border-top:
    1px solid
    rgba(183, 255, 42, 0.26);
}

.section-head::before {
  content: "";

  position: absolute;

  left: 0;
  top: -2px;

  width:
    clamp(
      70px,
      8vw,
      120px
    );

  height: 3px;

  background: var(--lime);

  box-shadow:
    0 0 16px
    rgba(183, 255, 42, 0.24);
}

.section-head > div {
  display: flex;

  align-items: flex-end;

  justify-content:
    space-between;

  gap: 4rem;
}

.section-head h2 {
  flex: 1 1 auto;

  padding-left:
    clamp(
      1rem,
      1.6vw,
      1.5rem
    );

  border-left:
    4px solid
    var(--lime);

  color: #f7faf5;

  font-size:
    clamp(
      3.1rem,
      5.4vw,
      6rem
    );

  line-height: 1.14;

  letter-spacing:
    -0.015em;
}

.section-head h2 em {
  display: inline-block;

  color: var(--lime);

  text-shadow:
    0 0 22px
    rgba(183, 255, 42, 0.12);
}

.section-head > div > p {
  max-width: 420px;

  margin: 0;

  color: #aeb6b0;

  font-size: 1rem;

  line-height: 1.95;
}


/* =========================================================
   SPLIT TITLE
========================================================= */

.split {
  display: grid;

  grid-template-columns:
    1.15fr
    0.85fr;

  gap: 7vw;

  align-items: center;

  margin-bottom: 7rem;
}

.split > div:first-child {
  position: relative;

  padding:
    clamp(
      1.8rem,
      2.8vw,
      2.8rem
    );

  border-left:
    4px solid
    var(--lime);

  background:
    linear-gradient(
      90deg,
      rgba(183, 255, 42, 0.085),
      rgba(183, 255, 42, 0.025) 55%,
      transparent
    );
}

.split .kicker {
  margin-bottom: 1.5rem;
}

.split h2 {
  color: #f6f9f4;

  font-size:
    clamp(
      3rem,
      5vw,
      5.5rem
    );

  line-height: 1.17;

  letter-spacing:
    -0.012em;
}

.split h2 em {
  display: inline-block;

  color: var(--lime);

  line-height: 1.19;

  text-shadow:
    0 0 24px
    rgba(183, 255, 42, 0.13);
}

.split > div:last-child,
.split > p {
  color: var(--muted);
}

.split > div:last-child p {
  margin-top: 0;

  color: #adb5af;

  font-size: 1rem;

  line-height: 1.95;
}

.split strong {
  color: white;
}


/* =========================================================
   SAFETY TITLE
========================================================= */

#safety .split > div:first-child {
  padding:
    clamp(
      2rem,
      3vw,
      3rem
    );

  background:
    linear-gradient(
      90deg,
      rgba(183, 255, 42, 0.11),
      rgba(183, 255, 42, 0.03) 58%,
      transparent
    );
}

#safety .split h2 {
  max-width: 11ch;

  font-size:
    clamp(
      3rem,
      4.6vw,
      5rem
    );

  line-height: 1.2;

  letter-spacing:
    -0.005em;

  word-spacing: 0.04em;

  word-break: keep-all;
}

#safety .split h2 em {
  line-height: 1.22;
}


/* =========================================================
   CENTER TITLE
========================================================= */

.center {
  position: relative;

  max-width: 930px;

  margin:
    0
    auto
    5rem;

  padding-bottom: 2rem;

  text-align: center;
}

.center .kicker {
  margin-inline: auto;

  margin-bottom: 1.7rem;
}

.center h2 {
  color: #f7faf5;

  font-size:
    clamp(
      3rem,
      5.3vw,
      5.8rem
    );

  line-height: 1.13;

  letter-spacing:
    -0.015em;
}

.center h2 em {
  display: inline-block;

  color: var(--lime);
}

.center > p:last-child {
  max-width: 50rem;

  margin:
    1.7rem
    auto
    0;

  color: #adb5af;

  line-height: 1.95;
}

.center strong {
  color: white;
}

.center::after {
  content: "";

  display: block;

  width:
    clamp(
      90px,
      10vw,
      150px
    );

  height: 2px;

  margin:
    2.1rem
    auto
    0;

  background:
    linear-gradient(
      90deg,
      transparent,
      var(--lime),
      transparent
    );

  box-shadow:
    0 0 12px
    rgba(183, 255, 42, 0.18);
}


/* =========================================================
   02 — FLOW
========================================================= */

.flow {
  display: grid;

  grid-template-columns:
    1fr
    4rem
    1fr
    4rem
    1fr;

  align-items: center;
}

.flow > article {
  min-height: 400px;

  padding: 2rem;

  border:
    1px solid
    var(--line);

  background:
    rgba(255, 255, 255, 0.01);

  transition:
    border-color 0.3s ease,
    transform 0.3s ease,
    background 0.3s ease;
}

.flow > article:hover {
  border-color: var(--lime);

  transform:
    translateY(-5px);

  background:
    rgba(183, 255, 42, 0.05);
}

.flow > i {
  color: var(--lime);

  font-style: normal;

  text-align: center;
}

.flow article > span {
  color: var(--lime);

  font:
    600
    0.58rem/1
    var(--display);

  letter-spacing:
    0.12em;
}

.flow h3 {
  margin:
    0
    0
    1rem;

  font-size: 1.8rem;

  line-height: 1.25;
}

.flow p {
  color: var(--muted);

  font-size: 1rem;

  line-height: 1.9;
}

.icon {
  position: relative;

  height: 150px;

  margin:
    2.5rem
    0;
}


/* PERCEPTION ICON */

.perceive {
  border:
    1px solid
    rgba(183, 255, 42, 0.4);

  border-radius: 50%;

  transform:
    scale(0.7);
}

.perceive::before,
.perceive::after {
  content: "";

  position: absolute;

  left: 50%;
  top: 50%;

  border:
    1px solid
    rgba(183, 255, 42, 0.4);

  border-radius: 50%;

  transform:
    translate(-50%, -50%);
}

.perceive::before {
  width: 65%;

  aspect-ratio: 1;
}

.perceive::after {
  width: 12%;

  aspect-ratio: 1;

  background: var(--lime);
}


/* PLAN ICON */

.plan::before {
  content: "";

  position: absolute;

  inset: 10%;

  background:
    repeating-linear-gradient(
      90deg,
      transparent 0 31%,
      rgba(255, 255, 255, 0.12) 31% 32%
    );
}

.plan::after {
  content: "";

  position: absolute;

  left: 20%;
  bottom: 15%;

  width: 60%;
  height: 65%;

  border:
    2px dashed
    var(--lime);

  border-left: 0;
  border-bottom: 0;

  border-radius:
    0
    60%
    0
    0;
}


/* CONTROL ICON */

.control::before {
  content: "";

  position: absolute;

  left: 50%;
  top: 50%;

  width: 110px;

  aspect-ratio: 1;

  border:
    8px solid
    rgba(255, 255, 255, 0.18);

  border-radius: 50%;

  transform:
    translate(-50%, -50%);
}

.control::after {
  content: "";

  position: absolute;

  left: 50%;
  top: 50%;

  width: 3px;
  height: 55px;

  background: var(--lime);

  transform-origin: bottom;

  transform:
    translate(-50%, -100%)
    rotate(35deg);
}


/* =========================================================
   03 — SCENARIOS
========================================================= */

.scenarios {
  display: grid;

  grid-template-columns:
    repeat(
      6,
      1fr
    );

  border-block:
    1px solid
    var(--line);
}

.scenarios article {
  min-height: 270px;

  padding:
    1.4rem
    1.1rem;

  border-right:
    1px solid
    var(--line);
}

.scenarios article:last-child {
  border-right: 0;
}

.scenarios b,
.risks b {
  color: #737b75;

  font:
    500
    0.55rem/1
    var(--display);
}

.scenarios i {
  display: block;

  margin:
    2.3rem
    0;

  color: var(--lime);

  font:
    normal
    300
    3rem/1
    var(--display);
}

.scenarios h3 {
  margin:
    0.5rem
    0;

  font-size: 1rem;

  line-height: 1.3;
}

.scenarios p {
  margin: 0;

  color: #747d76;

  font-size: 0.9rem;

  line-height: 1.7;
}


/* =========================================================
   04 — COMPARISON
========================================================= */

.road-compare {
  background:
    radial-gradient(
      circle at 50% 30%,
      rgba(183, 255, 42, 0.045),
      transparent 34%
    ),
    #080b09;
}

.road-compare
> .wrap
> .center {
  max-width: 830px;
}

.comparison-unified {
  max-width: 1120px;

  margin:
    2rem
    auto
    0;
}


/* =========================================================
   COMPARISON HEAD
========================================================= */

.unified-head {
  padding-bottom: 1.25rem;

  border-bottom:
    1px solid
    var(--line);

  text-align: center;
}

.unified-head > span {
  color: var(--lime);

  font:
    600
    0.65rem/1
    var(--display);

  letter-spacing:
    0.14em;
}

.unified-head h3 {
  margin:
    0.85rem
    0
    0.45rem;

  font:
    700
    clamp(
      1.9rem,
      4vw,
      3.5rem
    )/1.15
    var(--display);

  letter-spacing:
    -0.02em;
}

.unified-head p {
  margin: 0;

  color: var(--muted);

  font-size: 0.92rem;

  line-height: 1.8;
}


/* =========================================================
   OLD CONTROLS
========================================================= */

.unified-controls {
  display: flex;

  justify-content: center;

  flex-wrap: wrap;

  gap: 0.45rem;

  margin:
    1rem
    0
    0;
}

.unified-system,
.unified-previous,
.unified-next {
  min-height: 42px;

  padding:
    0.65rem
    0.9rem;

  border:
    1px solid
    var(--line);

  background: transparent;

  color: var(--muted);

  cursor: pointer;

  font:
    700
    0.68rem/1
    var(--display);
}


/* =========================================================
   COMPARISON LAYOUT
========================================================= */

.unified-layout {
  display: grid;

  grid-template-columns:
    minmax(0, 1.35fr)
    minmax(280px, 0.65fr);

  gap: 1rem;

  margin:
    1.25rem
    auto
    0;
}

.unified-scene {
  min-width: 0;

  padding: 0.8rem;

  border:
    1px solid
    var(--line);

  background:
    var(--panel);
}


/* =========================================================
   ROAD
========================================================= */

.v2-road {
  position: relative;

  isolation: isolate;

  height: 560px;

  overflow: hidden;

  background:
    linear-gradient(
      90deg,
      #272c28 0 9%,
      #101411 9% 91%,
      #272c28 91%
    );
}

.v2-road::before,
.v2-road::after {
  content: "";

  position: absolute;

  z-index: 0;

  top: 0;
  bottom: 0;

  width: 1px;

  background:
    rgba(255, 255, 255, 0.14);
}

.v2-road::before {
  left: 9%;
}

.v2-road::after {
  right: 9%;
}

.v2-lane-center {
  position: absolute;

  z-index: 0;

  top: 0;
  bottom: 0;

  left: 50%;

  border-left:
    2px dashed
    rgba(255, 255, 255, 0.4);
}

.v2-road-label {
  position: absolute;

  z-index: 30;

  left: 0.75rem;
  bottom: 0.75rem;

  color: #7f8981;

  font:
    600
    0.58rem/1
    var(--display);

  letter-spacing:
    0.08em;
}


/* =========================================================
   VEHICLES
========================================================= */

.v2-vehicle {
  position: absolute;

  z-index: 20;

  width: 44px;
  height: 72px;

  display: grid;

  place-items:
    end
    center;

  padding-bottom: 0.45rem;

  border:
    1px solid
    currentColor;

  border-radius:
    13px
    13px
    8px
    8px;

  background: #202620;

  font:
    700
    0.48rem/1
    var(--display);

  will-change: transform;
}

.v2-vehicle::before {
  content: "";

  position: absolute;

  top: 8px;

  width: 25px;
  height: 16px;

  border:
    1px solid
    currentColor;

  border-radius:
    7px
    7px
    2px
    2px;
}

.v2-ego {
  right:
    calc(
      25% - 22px
    );

  bottom: 7%;

  color: var(--text);

  transform:
    translate3d(
      0,
      0,
      0
    );
}

.v2-blocked {
  right:
    calc(
      25% - 22px
    );

  top: 38%;

  color: var(--orange);
}

.v2-oncoming {
  left:
    calc(
      25% - 22px
    );

  top: 4%;

  color: #bac2bc;
}


/* =========================================================
   DETECTION
========================================================= */

.v2-detection {
  position: absolute;

  z-index: 30;

  padding:
    0.35rem
    0.45rem;

  border:
    1px solid
    currentColor;

  color: var(--orange);

  background:
    rgba(5, 7, 6, 0.88);

  font:
    600
    0.55rem/1
    var(--display);

  letter-spacing:
    0.03em;

  opacity: 0;

  transition:
    opacity 0.3s ease;
}

.v2-detection-blocked {
  right: 7%;
  top: 31%;
}

.v2-detection-oncoming {
  left: 7%;
  top: 21%;
}


/* =========================================================
   PREDICTION
========================================================= */

.v2-prediction {
  position: absolute;

  z-index: 15;

  left: 17%;
  top: 31%;

  padding:
    0.4rem
    0.55rem;

  border:
    1px dashed
    currentColor;

  color: var(--blue);

  background:
    rgba(5, 7, 6, 0.78);

  font:
    600
    0.56rem/1
    var(--display);

  opacity: 0;

  transition:
    opacity 0.3s ease;
}

.v2-prediction::after {
  content: "";

  position: absolute;

  left: 50%;

  top:
    calc(
      100% + 0.3rem
    );

  width: 1px;
  height: 92px;

  border-left:
    1px dashed
    currentColor;

  opacity: 0.7;
}


/* =========================================================
   CANDIDATE PATHS
========================================================= */

.v2-candidates {
  position: absolute;

  z-index: 10;

  inset: 0;

  opacity: 0;

  pointer-events: none;

  transition:
    opacity 0.3s ease;
}

.v2-candidates i {
  position: absolute;

  left: 32%;
  bottom: 16%;

  width: 42%;
  height: 42%;

  border:
    1px dashed
    rgba(156, 196, 220, 0.55);

  border-left-color:
    transparent;

  border-bottom-color:
    transparent;

  border-radius:
    0
    70%
    0
    0;

  transform-origin:
    bottom right;
}

.v2-candidates i:nth-child(1) {
  transform:
    rotate(-12deg)
    scale(0.9);
}

.v2-candidates i:nth-child(2) {
  transform:
    rotate(0deg);
}

.v2-candidates i:nth-child(3) {
  transform:
    rotate(12deg)
    scale(1.05);
}


/* =========================================================
   TRAJECTORY
========================================================= */

.v2-trajectory {
  position: absolute;

  inset: 0;

  z-index: 12;

  width: 100%;
  height: 100%;

  overflow: visible;

  pointer-events: none;
}

.v2-trajectory path {
  fill: none;

  stroke: var(--lime);

  stroke-width: 3;

  stroke-linecap: round;
  stroke-linejoin: round;

  vector-effect:
    non-scaling-stroke;

  opacity: 0;

  filter:
    drop-shadow(
      0
      0
      4px
      rgba(183, 255, 42, 0.35)
    );

  will-change:
    stroke-dashoffset;
}


/* =========================================================
   LOGIC PANEL
========================================================= */

.unified-logic {
  align-self: stretch;

  min-width: 0;

  display: grid;

  align-content: start;

  gap: 1rem;

  padding: 1.25rem;

  border:
    1px solid
    rgba(183, 255, 42, 0.42);

  background: #101611;

  box-shadow:
    inset
    3px
    0
    0
    rgba(183, 255, 42, 0.5);
}

.unified-logic > b {
  color: var(--lime);

  font:
    700
    0.88rem/1.3
    var(--display);

  letter-spacing:
    0.07em;
}

.unified-logic > p {
  margin: 0;

  color: #e2e7e3;

  font-size: 0.98rem;

  line-height: 1.8;
}


/* =========================================================
   LOGIC STEPS
========================================================= */

.unified-steps {
  display: grid;

  gap: 0.4rem;

  margin: 0;

  padding: 0;

  list-style: none;
}

.unified-steps li {
  padding:
    0.7rem
    0.75rem;

  border:
    1px solid
    rgba(255, 255, 255, 0.14);

  background:
    rgba(255, 255, 255, 0.015);

  color: #9ca69e;

  font:
    700
    0.75rem/1.3
    var(--display);

  opacity: 0.7;

  transition:
    opacity 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.unified-steps li.complete {
  opacity: 1;

  border-color:
    rgba(183, 255, 42, 0.28);

  color: #dbe0dc;
}

.unified-steps li.active {
  opacity: 1;

  color: #101611;

  border-color: var(--lime);

  background: var(--lime);
}


/* =========================================================
   REASONING
========================================================= */

.unified-reasoning {
  min-height: 56px;

  padding:
    0.9rem
    0.85rem;

  border-top:
    1px solid
    rgba(255, 255, 255, 0.16);

  color: #f0f4ef;

  font-size: 0.9rem;

  line-height: 1.85;
}

.reason-node {
  display: block;
}

.reason-arrow {
  display: block;

  padding:
    0.2rem
    0;

  color: var(--muted);

  text-align: center;

  opacity: 0.55;
}


/* =========================================================
   SUMMARY
========================================================= */

.unified-summary {
  display: grid;

  gap: 0.35rem;

  margin:
    1.35rem
    auto
    0;

  text-align: center;
}

.unified-summary strong {
  color: var(--text);

  font:
    700
    1.2rem/1.2
    var(--display);

  letter-spacing:
    0.06em;
}

.unified-summary span {
  color: var(--lime);

  font:
    600
    0.8rem/1.3
    var(--display);

  letter-spacing:
    0.1em;
}


/* =========================================================
   BUTTONS
========================================================= */

.replay-button,
.stage-replay {
  display: block;

  margin:
    1.2rem
    auto
    0;

  padding:
    0.8rem
    1.2rem;

  border:
    1px solid
    var(--lime);

  background: transparent;

  color: var(--lime);

  font:
    700
    0.7rem/1
    var(--display);

  letter-spacing:
    0.08em;

  cursor: pointer;
}

.replay-button:hover,
.stage-replay:hover {
  background: var(--lime);

  color: #071005;
}


/* =========================================================
   COMPARISON NOTE
========================================================= */

.unified-note {
  max-width: 820px;

  margin:
    1.6rem
    auto
    0;

  color: #939b95;

  font-size: 0.82rem;

  line-height: 1.9;

  text-align: center;
}

.unified-note small {
  display: block;

  margin-top: 0.9rem;

  color: #767e78;

  font-size: 0.92em;
}


/* =========================================================
   STAGE RUNTIME
========================================================= */

.stage-runtime {
  width:
    min(
      760px,
      calc(100% - 24px)
    );

  margin:
    1.15rem
    auto
    0;
}

.stage-control {
  display: grid;

  grid-template-columns:
    110px
    minmax(0, 1fr)
    110px;

  gap: 10px;

  align-items: center;

  padding: 12px;

  border:
    1px solid
    rgba(255, 255, 255, 0.12);

  border-radius: 16px;

  background:
    rgba(8, 13, 23, 0.82);

  box-shadow:
    0 14px 40px
    rgba(0, 0, 0, 0.18);

  backdrop-filter:
    blur(12px);
}

.stage-control button,
.stage-replay {
  min-height: 44px;

  border:
    1px solid
    rgba(255, 255, 255, 0.14);

  border-radius: 11px;

  background:
    rgba(255, 255, 255, 0.065);

  color: inherit;

  font:
    700
    0.78rem/1
    var(--body);

  cursor: pointer;

  transition:
    border-color 0.2s ease,
    color 0.2s ease,
    background 0.2s ease;
}

.stage-control
button:hover:not(:disabled),
.stage-replay:hover {
  border-color: var(--lime);

  color: var(--lime);

  background:
    rgba(183, 255, 42, 0.07);
}

.stage-control
button:disabled {
  opacity: 0.35;

  cursor: default;
}

.stage-readout {
  min-width: 0;

  display: grid;

  gap: 4px;

  text-align: center;
}

.stage-count {
  color: #838c85;

  font:
    600
    0.62rem/1
    var(--display);

  letter-spacing:
    0.1em;
}

.stage-name {
  overflow: hidden;

  color: #f1f4ef;

  font-size: 1.05rem;

  font-weight: 800;

  text-overflow: ellipsis;

  white-space: nowrap;
}

.stage-actions {
  display: flex;

  justify-content: center;

  margin-top: 0.5rem;
}

.stage-replay {
  min-height: 38px;

  margin: 0;

  padding:
    0
    14px;

  border-radius: 999px;

  background: transparent;

  font-size: 0.9rem;

  opacity: 0.88;
}


/* =========================================================
   STAGE VISIBILITY
========================================================= */

.comparison-unified[data-stage="2"]
.v2-detection-blocked,

.comparison-unified[data-stage="3"]
.v2-detection,

.comparison-unified[data-stage="4"]
.v2-detection,

.comparison-unified[data-stage="5"]
.v2-detection,

.comparison-unified[data-stage="8"]
.v2-detection,

.comparison-unified[data-stage="9"]
.v2-detection,

.comparison-unified[data-stage="10"]
.v2-detection,

.comparison-unified[data-stage="11"]
.v2-detection {
  opacity: 1;
}

.comparison-unified[data-stage="3"]
.v2-prediction,

.comparison-unified[data-stage="4"]
.v2-prediction,

.comparison-unified[data-stage="5"]
.v2-prediction {
  opacity: 1;
}

.comparison-unified[data-stage="4"]
.v2-candidates,

.comparison-unified[data-stage="5"]
.v2-candidates {
  opacity: 1;
}


/* =========================================================
   MODULAR MODE
========================================================= */

.comparison-unified[data-mode="modular"]
.unified-logic {
  border-color:
    rgba(156, 196, 220, 0.55);

  box-shadow:
    inset
    3px
    0
    0
    rgba(156, 196, 220, 0.48);
}

.comparison-unified[data-mode="modular"]
.unified-logic > b,

.comparison-unified[data-mode="modular"]
.v2-detection,

.comparison-unified[data-mode="modular"]
.v2-prediction {
  color: var(--blue);
}

.comparison-unified[data-mode="modular"]
.v2-trajectory path {
  stroke: var(--blue);

  filter:
    drop-shadow(
      0
      0
      4px
      rgba(156, 196, 220, 0.28)
    );
}


/* =========================================================
   REASONING MODE
========================================================= */

.comparison-unified[data-mode="reasoning"]
.unified-logic {
  border-color:
    rgba(183, 255, 42, 0.48);

  box-shadow:
    inset
    3px
    0
    0
    rgba(183, 255, 42, 0.5);
}

.comparison-unified[data-mode="reasoning"]
.unified-logic > b {
  color: var(--lime);
}

.comparison-unified[data-mode="reasoning"]
.v2-detection {
  color: var(--orange);
}

.comparison-unified[data-mode="reasoning"]
.v2-trajectory path {
  stroke: var(--lime);
}

.comparison-unified[data-mode="intro"]
.unified-logic,

.comparison-unified[data-mode="reset"]
.unified-logic,

.comparison-unified[data-mode="final"]
.unified-logic {
  border-color: var(--line);

  box-shadow: none;
}

.comparison-unified[data-stage="12"]
.unified-summary {
  padding: 1rem;

  border-block:
    1px solid
    rgba(183, 255, 42, 0.35);
}


/* =========================================================
   05 — ALPAMAYO
========================================================= */

.alpa {
  background: var(--lime);

  color: #071005;
}

.alpa .kicker {
  border-color:
    rgba(7, 16, 5, 0.28);

  background:
    rgba(7, 16, 5, 0.08);

  color: #172108;
}

.alpa .kicker::before {
  background: #172108;

  box-shadow: none;
}

.alpa-title {
  display: grid;

  grid-template-columns:
    0.3fr
    1fr;

  gap: 5vw;

  align-items: end;

  margin:
    4rem
    0
    6rem;
}

.alpa-title > p {
  margin: 0;

  font:
    600
    0.65rem/1.55
    var(--display);

  letter-spacing:
    0.1em;
}

.alpa-title h2 {
  font-size:
    clamp(
      4rem,
      9vw,
      10rem
    );

  line-height: 0.98;

  letter-spacing:
    -0.03em;

  word-break: keep-all;
}

.alpa-title small {
  display: block;

  font-size: 0.16em;

  line-height: 2;

  letter-spacing:
    0.15em;
}


/* =========================================================
   ALPAMAYO BODY
========================================================= */

.alpa-body {
  display: grid;

  grid-template-columns:
    0.7fr
    1.3fr;

  gap: 7vw;

  padding-top: 3rem;

  border-top:
    1px solid
    rgba(7, 16, 5, 0.25);
}

.alpa-body > p {
  margin: 0;

  font-size:
    clamp(
      1.05rem,
      1.5vw,
      1.35rem
    );

  line-height: 1.85;
}

.alpa-body > div {
  display: grid;

  grid-template-columns:
    1fr
    1fr;
}

.alpa-body article {
  padding:
    0
    1.5rem
    2rem;

  border-left:
    1px solid
    rgba(7, 16, 5, 0.22);
}

.alpa-body
article > b {
  font:
    700
    0.62rem/1
    var(--display);

  letter-spacing:
    0.1em;
}

.alpa-body
article h3 {
  margin:
    1.5rem
    0
    0.5rem;

  font-size: 1rem;
}

.alpa-body
article p {
  margin: 0;

  color:
    rgba(7, 16, 5, 0.7);

  font-size: 0.82rem;

  line-height: 1.75;
}


/* =========================================================
   MODEL FAMILY
========================================================= */

.model-family {
  margin-top: 5rem;

  padding-top: 2.2rem;

  border-top:
    1px solid
    rgba(7, 16, 5, 0.25);
}

.model-family-head {
  display: flex;

  justify-content:
    space-between;

  align-items: end;

  gap: 2rem;

  margin-bottom: 1.5rem;
}

.model-family-head span {
  color: #354514;

  font:
    700
    0.62rem/1
    var(--display);

  letter-spacing:
    0.12em;
}

.model-family-head h3 {
  margin: 0;

  font-size:
    clamp(
      1.8rem,
      3vw,
      3.2rem
    );

  letter-spacing:
    -0.02em;
}

.model-family-grid {
  display: grid;

  grid-template-columns:
    repeat(
      3,
      1fr
    );

  border-block:
    1px solid
    rgba(7, 16, 5, 0.25);
}

.model-family-grid article {
  min-height: 220px;

  padding: 1.5rem;

  border-right:
    1px solid
    rgba(7, 16, 5, 0.25);

  background:
    rgba(255, 255, 255, 0.04);
}

.model-family-grid
article:last-child {
  border-right: 0;
}

.model-family-grid
article.featured {
  background:
    rgba(7, 16, 5, 0.1);
}

.model-family-grid span {
  display: inline-block;

  padding:
    0.35rem
    0.5rem;

  border:
    1px solid
    rgba(7, 16, 5, 0.32);

  font:
    700
    0.62rem/1
    var(--display);
}

.model-family-grid h4 {
  margin:
    4rem
    0
    0.5rem;

  font-size: 1.25rem;
}

.model-family-grid p {
  margin: 0;

  color:
    rgba(7, 16, 5, 0.68);

  font-size: 0.8rem;
}


/* =========================================================
   NOTICE
========================================================= */

.notice {
  display: grid;

  grid-template-columns:
    0.3fr
    1fr;

  gap: 5vw;

  margin-top: 4rem;

  padding:
    1.4rem
    0;

  border-block:
    1px solid
    rgba(7, 16, 5, 0.25);

  font-size: 0.82rem;

  line-height: 1.8;
}

.notice b {
  font-family: var(--display);
}

.notice p {
  margin: 0;
}


/* =========================================================
   06 — DEVELOPMENT
========================================================= */

.console {
  display: grid;

  grid-template-columns: 1fr;

  border:
    1px solid
    var(--line);

  background:
    var(--panel);
}

.logs {
  padding: 1.7rem;
}

.logs header {
  display: flex;

  justify-content:
    space-between;

  gap: 1rem;

  padding-bottom: 1.5rem;

  border-bottom:
    1px solid
    var(--line);

  font:
    600
    0.6rem/1
    var(--display);

  letter-spacing:
    0.09em;
}

.logs header span {
  color: var(--lime);
}

.logs ol {
  margin: 0;

  padding: 0;

  list-style: none;
}

.logs li {
  display: grid;

  grid-template-columns:
    2rem
    1fr
    auto;

  gap: 1rem;

  align-items: center;

  min-height: 118px;

  border-bottom:
    1px solid
    rgba(255, 255, 255, 0.07);
}

.logs li:last-child {
  border-bottom: 0;
}

.logs li > b {
  color: var(--lime);

  font:
    600
    0.56rem/1
    var(--display);
}

.logs h3 {
  margin:
    0
    0
    0.35rem;

  font-size: 1.08rem;
}

.logs p {
  margin: 0;

  color: var(--muted);

  font-size: 0.92rem;

  line-height: 1.7;
}

.logs li > i {
  color: #666e68;

  font:
    normal
    0.7rem/1
    var(--display);
}


/* =========================================================
   07 — SAFETY GRID
========================================================= */

.risks {
  display: grid;

  grid-template-columns:
    repeat(
      3,
      1fr
    );

  border-top:
    1px solid
    var(--line);

  border-left:
    1px solid
    var(--line);
}

.risks article {
  min-height: 180px;

  padding: 1.5rem;

  border-right:
    1px solid
    var(--line);

  border-bottom:
    1px solid
    var(--line);
}

.risks h3 {
  margin:
    3rem
    0
    0.5rem;

  font-size: 1.12rem;
}

.risks p {
  margin: 0;

  color: #747c76;

  font-size: 1rem;
}


/* =========================================================
   08 — FUTURE
========================================================= */

.future {
  min-height: 100svh;

  display: flex;

  align-items: center;

  overflow: hidden;
}

.future::before {
  content: "";

  position: absolute;

  left: -18vw;
  bottom: -32vw;

  width: 60vw;

  aspect-ratio: 1;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(183, 255, 42, 0.07),
      transparent 65%
    );
}

.future h2 {
  margin:
    3rem
    0
    5rem;

  font-size:
    clamp(
      4rem,
      9vw,
      10rem
    );

  line-height: 1.08;

  letter-spacing:
    -0.025em;

  word-break: keep-all;
}

.future h2 em {
  color: var(--lime);

  font-style: normal;
}

.future-copy {
  display: grid;

  grid-template-columns:
    1fr
    1fr;

  gap: 5rem;

  margin-left: 34%;

  color: var(--muted);

  font-size: 0.9rem;

  line-height: 1.9;
}

.future-copy p {
  margin: 0;
}

.future-copy strong {
  color: white;
}


/* =========================================================
   09 — REFERENCES
========================================================= */

.refs {
  background: var(--soft);
}

.ref-list {
  border-top:
    1px solid
    var(--line);
}

.ref-list a {
  min-height: 100px;

  display: grid;

  grid-template-columns:
    4rem
    1fr
    auto;

  gap: 1rem;

  align-items: center;

  padding-inline: 0;

  border-bottom:
    1px solid
    var(--line);

  text-decoration: none;

  transition:
    padding 0.25s ease,
    background 0.25s ease;
}

.ref-list a:hover {
  padding-inline: 1rem;

  background:
    rgba(183, 255, 42, 0.06);
}

.ref-list a > b,
.ref-list a > i {
  color: var(--lime);

  font:
    600
    0.58rem/1
    var(--display);
}

.ref-list a > i {
  font-size: 1.1rem;

  font-style: normal;
}

.ref-list span {
  font:
    600
    1.05rem/1.3
    var(--display);
}

.ref-list small {
  display: block;

  margin-top: 0.45rem;

  color: #747c76;

  font-family: var(--body);

  font-size: 0.88rem;

  font-weight: 400;
}

.disclaimer {
  max-width: 900px;

  margin:
    2rem
    0
    0
    auto;

  color: #707872;

  font-size: 0.9rem;

  line-height: 1.8;

  text-align: right;
}

.disclaimer strong {
  color: #a0a8a2;
}


/* =========================================================
   FOOTER
========================================================= */

footer {
  padding:
    2rem
    0;

  border-top:
    1px solid
    var(--line);
}

footer .wrap {
  display: flex;

  justify-content:
    space-between;

  align-items: center;

  gap: 1.5rem;
}

footer p {
  margin: 0;

  color: #6a726c;

  font:
    500
    0.52rem/1
    var(--display);

  letter-spacing:
    0.07em;
}


/* =========================================================
   REVEAL
========================================================= */

.reveal {
  opacity: 0;

  transform:
    translateY(40px);

  transition:
    opacity 0.75s ease,
    transform
      0.75s
      cubic-bezier(
        0.2,
        0.7,
        0.2,
        1
      );
}

.reveal.shown {
  opacity: 1;

  transform: none;
}


/* =========================================================
   KEYFRAMES
========================================================= */

@keyframes pulse {
  0% {
    opacity: 0;

    transform:
      translate(-50%, -50%)
      scale(0.4);
  }

  30% {
    opacity: 0.8;
  }

  100% {
    opacity: 0;

    transform:
      translate(-50%, -50%)
      scale(1.15);
  }
}

@keyframes spin {
  to {
    transform:
      rotate(360deg);
  }
}

@keyframes blink {
  50% {
    opacity: 0.2;
  }
}


/* =========================================================
   TABLET
========================================================= */

@media
(max-width: 1100px) {

  :root {
    --pad:
      clamp(
        5rem,
        9vw,
        8rem
      );
  }

  .hero-grid {
    grid-template-columns:
      1fr
      0.9fr;

    gap: 3rem;
  }

  .team-credit {
    display: none;
  }

  .flow {
    grid-template-columns:
      1fr
      2.2rem
      1fr
      2.2rem
      1fr;
  }

  .flow > article {
    min-height: 360px;

    padding: 1.5rem;
  }

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

  .scenarios
  article:nth-child(3) {
    border-right: 0;
  }

  .scenarios
  article:nth-child(-n + 3) {
    border-bottom:
      1px solid
      var(--line);
  }

  .unified-layout {
    grid-template-columns:
      minmax(0, 1.2fr)
      minmax(260px, 0.8fr);
  }

  .alpa-body {
    grid-template-columns:
      0.85fr
      1.15fr;

    gap: 4rem;
  }

  .future-copy {
    margin-left: 20%;
  }

}


/* =========================================================
   MOBILE
========================================================= */

@media
(max-width: 767px) {

  :root {
    --nav: 64px;
    --pad: 5rem;
  }


  .wrap {
    width:
      min(
        calc(100% - 2.4rem),
        var(--max)
      );
  }


  h2 {
    font-size:
      clamp(
        2.65rem,
        12vw,
        4.4rem
      );

    line-height: 1.17;

    letter-spacing:
      -0.005em;
  }


  .kicker {
    gap: 0.5rem;

    padding:
      0.43rem
      0.62rem;

    font-size: 0.57rem;

    letter-spacing:
      0.09em;
  }


  .kicker::before {
    width: 5px;
    height: 5px;
  }


  nav {
    width:
      calc(100% - 2rem);
  }


  .brand {
    font-size: 0.64rem;
  }


  #menu {
    display: block;

    position: relative;

    z-index: 3;
  }


  #links {
    position: fixed;

    z-index: 2;

    inset:
      var(--nav)
      0
      auto;

    min-height:
      calc(
        100svh -
        var(--nav)
      );

    display: grid;

    align-content: center;

    justify-items: center;

    gap: 2.2rem;

    padding:
      3rem
      1.5rem;

    background:
      rgba(5, 7, 6, 0.97);

    backdrop-filter:
      blur(16px);

    transform:
      translateY(-120%);

    opacity: 0;

    pointer-events: none;

    transition:
      transform 0.3s ease,
      opacity 0.3s ease;
  }


  #links.open {
    transform:
      translateY(0);

    opacity: 1;

    pointer-events: auto;
  }


  #links a {
    font-size: 0.85rem;
  }


  /* HERO */

  .hero {
    min-height: auto;
  }


  .hero-grid {
    grid-template-columns:
      1fr;

    gap: 3.5rem;

    padding-block:
      calc(
        var(--nav) +
        4rem
      )
      7rem;
  }


  .hero h1 {
    margin:
      1.6rem
      0;

    font-size:
      clamp(
        3.7rem,
        18vw,
        6rem
      );

    line-height: 0.95;

    letter-spacing:
      -0.035em;
  }


  .lead {
    font-size: 0.98rem;
  }


  .hud {
    width:
      min(
        100%,
        560px
      );

    margin-inline: auto;
  }


  .hero-foot {
    inset-inline:
      1.2rem;

    gap: 0.5rem;

    font-size: 0.43rem;
  }


  /* SECTION HEAD */

  .section-head {
    grid-template-columns:
      1fr;

    gap: 2rem;

    padding-top: 1.35rem;

    margin-bottom: 4rem;
  }


  .section-head > div {
    display: grid;

    gap: 1.8rem;
  }


  .section-head h2 {
    padding-left: 0.9rem;

    border-left-width: 3px;

    font-size:
      clamp(
        2.65rem,
        11.5vw,
        4.2rem
      );

    line-height: 1.18;
  }


  .section-head > div > p {
    max-width: none;

    font-size: 0.98rem;
  }


  /* FLOW */

  .flow {
    grid-template-columns:
      1fr;

    gap: 1rem;
  }


  .flow > i {
    padding: 0.5rem;

    transform:
      rotate(90deg);
  }


  .flow > article {
    min-height: auto;
  }


  .icon {
    height: 120px;

    margin:
      1.8rem
      0;
  }


  /* SPLIT */

  .split {
    grid-template-columns:
      1fr;

    gap: 2.5rem;

    margin-bottom: 4rem;
  }


  .split > div:first-child {
    padding:
      1.55rem
      1.35rem;

    border-left-width:
      3px;
  }


  .split .kicker {
    margin-bottom: 1.2rem;
  }


  .split h2 {
    font-size:
      clamp(
        2.65rem,
        11.2vw,
        4.2rem
      );

    line-height: 1.2;

    letter-spacing:
      0;
  }


  #safety .split > div:first-child {
    padding:
      1.6rem
      1.35rem;
  }


  #safety .split h2 {
    max-width: none;

    font-size:
      clamp(
        2.5rem,
        10.7vw,
        3.9rem
      );

    line-height: 1.23;

    letter-spacing: 0;
  }


  /* SCENARIOS */

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


  .scenarios article,
  .scenarios
  article:nth-child(3) {
    min-height: 220px;

    border-right:
      1px solid
      var(--line);

    border-bottom:
      1px solid
      var(--line);
  }


  .scenarios
  article:nth-child(2n) {
    border-right: 0;
  }


  .scenarios
  article:nth-last-child(-n + 2) {
    border-bottom: 0;
  }


  /* CENTER */

  .center {
    margin-bottom: 4rem;

    padding-bottom: 1rem;
  }


  .center h2 {
    font-size:
      clamp(
        2.65rem,
        11.3vw,
        4.2rem
      );

    line-height: 1.18;
  }


  .center > p:last-child {
    font-size: 0.96rem;
  }


  .center::after {
    width: 65px;

    margin-top: 1.6rem;
  }


  /* COMPARISON */

  .unified-head h3 {
    font-size: 2rem;
  }


  .unified-head p {
    font-size: 0.84rem;
  }


  .unified-layout {
    grid-template-columns:
      1fr;
  }


  .unified-scene {
    padding: 0.55rem;
  }


  .v2-road {
    height: 460px;
  }


  .v2-vehicle {
    width: 40px;
    height: 66px;

    font-size: 0.43rem;
  }


  .v2-vehicle::before {
    width: 22px;
    height: 14px;
  }


  .v2-detection {
    font-size: 0.48rem;
  }


  .v2-detection-blocked {
    right: 3%;
  }


  .v2-detection-oncoming {
    left: 3%;
  }


  .unified-logic {
    min-height: 0;

    padding: 1rem;
  }


  .unified-logic > p {
    font-size: 0.93rem;
  }


  /* STAGE */

  .stage-runtime {
    width: 100%;
  }


  .stage-control {
    grid-template-columns:
      82px
      minmax(0, 1fr)
      82px;

    gap: 7px;

    padding: 9px;
  }


  .stage-control button {
    padding-inline: 0.4rem;

    font-size: 0.69rem;
  }


  .stage-name {
    font-size: 0.78rem;
  }


  .stage-count {
    font-size: 0.54rem;
  }


  /* ALPAMAYO */

  .alpa-title {
    grid-template-columns:
      1fr;

    gap: 2rem;

    margin:
      3rem
      0
      4rem;
  }


  .alpa-title h2 {
    font-size:
      clamp(
        3.7rem,
        17vw,
        5.8rem
      );

    line-height: 1;
  }


  .alpa-body {
    grid-template-columns:
      1fr;

    gap: 3rem;
  }


  .alpa-body > div {
    grid-template-columns:
      1fr
      1fr;
  }


  .alpa-body article {
    padding:
      1rem
      1rem
      2rem;
  }


  .model-family-head {
    display: grid;

    gap: 0.8rem;
  }


  .model-family-grid {
    grid-template-columns:
      1fr;
  }


  .model-family-grid article {
    min-height: 170px;

    border-right: 0;

    border-bottom:
      1px solid
      rgba(7, 16, 5, 0.25);
  }


  .model-family-grid
  article:last-child {
    border-bottom: 0;
  }


  .model-family-grid h4 {
    margin-top: 2.5rem;
  }


  .notice {
    grid-template-columns:
      1fr;

    gap: 1rem;
  }


  /* DEVELOPMENT */

  .logs {
    padding: 1rem;
  }


  .logs header {
    align-items: flex-start;

    font-size: 0.53rem;
  }


  .logs li {
    grid-template-columns:
      1.8rem
      1fr;

    min-height: 126px;
  }


  .logs li > i {
    grid-column: 2;
  }


  /* SAFETY GRID */

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


  .risks article {
    min-height: 160px;

    padding: 1.2rem;
  }


  /* FUTURE */

  .future {
    min-height: auto;
  }


  .future h2 {
    margin:
      2rem
      0
      3.5rem;

    font-size:
      clamp(
        3.3rem,
        14vw,
        5.5rem
      );

    line-height: 1.13;

    letter-spacing:
      -0.01em;
  }


  .future-copy {
    grid-template-columns:
      1fr;

    gap: 1.8rem;

    margin-left: 0;
  }


  /* REFERENCES */

  .ref-list a {
    grid-template-columns:
      2.5rem
      1fr
      auto;

    min-height: 92px;
  }


  .ref-list span {
    font-size: 1.05rem;
  }


  .disclaimer {
    text-align: left;
  }


  footer .wrap {
    flex-direction: column;

    align-items: flex-start;
  }

}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media
(max-width: 480px) {

  .wrap {
    width:
      min(
        calc(100% - 1.6rem),
        var(--max)
      );
  }


  .hero h1 {
    font-size:
      clamp(
        3.2rem,
        17vw,
        4.8rem
      );

    line-height: 0.98;
  }


  .hudbar {
    gap: 0.5rem;

    font-size: 0.42rem;
  }


  .radar > span {
    font-size: 0.43rem;
  }


  .section-head h2,
  .split h2,
  .center h2 {
    font-size:
      clamp(
        2.3rem,
        11.5vw,
        3.55rem
      );

    line-height: 1.22;
  }


  #safety .split h2 {
    font-size:
      clamp(
        2.25rem,
        10.5vw,
        3.4rem
      );

    line-height: 1.25;
  }


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


  .scenarios article,
  .scenarios
  article:nth-child(2n),
  .scenarios
  article:nth-child(3),
  .scenarios
  article:nth-last-child(-n + 2) {
    border-right: 0;

    border-bottom:
      1px solid
      var(--line);
  }


  .scenarios
  article:last-child {
    border-bottom: 0;
  }


  .v2-road {
    height: 420px;
  }


  .stage-control {
    grid-template-columns:
      70px
      minmax(0, 1fr)
      70px;
  }


  .stage-control button {
    font-size: 0.62rem;
  }


  .stage-name {
    font-size: 0.7rem;
  }


  .alpa-body > div,
  .risks {
    grid-template-columns:
      1fr;
  }


  .alpa-body article {
    border-left: 0;

    border-top:
      1px solid
      rgba(7, 16, 5, 0.2);
  }


  .risks article {
    border-right: 0;
  }


  .ref-list a {
    grid-template-columns:
      2rem
      1fr
      auto;

    gap: 0.65rem;
  }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media
(prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }


  *,
  *::before,
  *::after {
    animation-duration:
      0.01ms !important;

    animation-iteration-count:
      1 !important;

    transition-duration:
      0.01ms !important;
  }


  .reveal {
    opacity: 1;

    transform: none;
  }

}

/* TEAM PERSONAL WEBSITES */
.team-sites {
  margin-top: 4rem;
}

.team-sites h3 {
  margin: 0 0 1rem;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 600;
}

.team-sites-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  border-top: 1px solid var(--line);
}

.team-sites-grid a {
  min-height: 76px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 0.35rem 0.75rem;
  padding: 0.85rem 1rem 0.85rem 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
  transition: background 0.2s ease, padding 0.2s ease;
}

.team-sites-grid a:hover {
  padding-left: 0.75rem;
  background: rgba(183, 255, 42, 0.06);
}

.team-sites-grid span {
  font-weight: 600;
}

.team-sites-grid small {
  color: #747c76;
  font-size: 0.78rem;
}

.team-sites-grid b {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  color: #667d27;
}
