:root {
  color-scheme: dark;
  --ink: #06080d;
  --ink-2: #090d14;
  --panel: #0d121b;
  --panel-2: #121925;
  --white: #f3f7fc;
  --silver: #aeb9c8;
  --silver-2: #778396;
  --blue: #5eb1ff;
  --blue-bright: #8ed0ff;
  --blue-deep: #246dce;
  --line: rgba(197, 215, 235, 0.17);
  --line-strong: rgba(202, 220, 240, 0.32);
  --glow: rgba(45, 135, 241, 0.22);
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  --radius: 2px;
  --shell: min(1240px, calc(100vw - 48px));
  --header-height: 82px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
  background: var(--ink);
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 4%, rgba(40, 112, 214, 0.18), transparent 27rem),
    linear-gradient(180deg, #070a10 0%, #06080d 62%, #080b11 100%);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(rgba(147, 178, 215, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(147, 178, 215, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  content: "";
  pointer-events: none;
  mask-image: linear-gradient(to bottom, black, transparent 58%);
}

body.dialog-open {
  overflow: hidden;
}

button,
a {
  font: inherit;
}

button {
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3,
dl,
dd,
figure {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

::selection {
  color: #03111e;
  background: var(--blue-bright);
}

:focus-visible {
  outline: 2px solid var(--blue-bright);
  outline-offset: 4px;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--white);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  transition: background-color 180ms ease, border-color 180ms ease, height 180ms ease;
}

.site-header.is-scrolled {
  height: 68px;
  border-color: var(--line);
  background: rgba(6, 8, 13, 0.88);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--line-strong);
  color: var(--blue-bright);
  background: rgba(70, 148, 238, 0.06);
  font: 700 0.76rem/1 var(--mono);
  letter-spacing: 0.08em;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-copy strong {
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-copy small {
  margin-top: 4px;
  color: var(--silver-2);
  font: 0.7rem/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.5vw, 38px);
}

.primary-nav a {
  position: relative;
  color: var(--silver);
  font-size: 0.88rem;
  font-weight: 550;
  transition: color 160ms ease;
}

.primary-nav > a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  background: var(--blue);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.primary-nav a:hover,
.primary-nav a.is-current {
  color: var(--white);
}

.primary-nav > a:hover::after,
.primary-nav > a.is-current::after {
  transform: scaleX(1);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  color: var(--white) !important;
  background: rgba(255, 255, 255, 0.025);
}

.menu-button {
  display: none;
  align-items: center;
  gap: 12px;
  border: 0;
  background: transparent;
  font: 0.74rem/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.menu-lines {
  display: grid;
  gap: 5px;
  width: 21px;
}

.menu-lines i {
  display: block;
  height: 1px;
  background: currentColor;
  transition: transform 160ms ease;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(360px, 0.75fr);
  gap: clamp(48px, 7vw, 100px);
  align-items: center;
  min-height: 100svh;
  padding-top: calc(var(--header-height) + 74px);
  padding-bottom: 80px;
}

.eyebrow,
.section-index,
.project-type,
.record-label,
.visual-head,
.timeline-head,
.project-meta {
  font-family: var(--mono);
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 24px;
  color: var(--silver);
  font-size: 0.76rem;
}

.signal {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 5px rgba(94, 177, 255, 0.1), 0 0 22px rgba(94, 177, 255, 0.65);
}

.hero h1 {
  max-width: 860px;
  font-size: clamp(3.2rem, 6.3vw, 6.8rem);
  font-weight: 520;
  line-height: 0.97;
  letter-spacing: -0.058em;
}

.hero h1 em {
  color: var(--blue-bright);
  font-style: normal;
  font-weight: 520;
}

.hero-intro {
  max-width: 690px;
  margin-top: 30px;
  color: var(--silver);
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 52px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 650;
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #03111f;
  background: var(--blue-bright);
}

.button-primary:hover {
  background: #b8e1ff;
}

.button-secondary {
  border-color: var(--line-strong);
  color: var(--white);
  background: rgba(255, 255, 255, 0.025);
}

.button-secondary:hover {
  border-color: rgba(142, 208, 255, 0.65);
  background: rgba(94, 177, 255, 0.07);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 70px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hero-facts div {
  min-width: 0;
  padding: 16px 16px 18px 0;
}

.hero-facts div + div {
  padding-left: 20px;
  border-left: 1px solid var(--line);
}

.hero-facts dt {
  margin-bottom: 5px;
  color: var(--silver-2);
  font: 0.66rem/1.3 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-facts dd {
  overflow: hidden;
  font-size: 0.83rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.flight-record {
  position: relative;
  min-height: 570px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.045), transparent 42%),
    rgba(10, 15, 23, 0.82);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.28), inset 0 0 80px rgba(43, 121, 219, 0.035);
}

.flight-record::before,
.flight-record::after {
  position: absolute;
  width: 42px;
  height: 42px;
  border-color: var(--blue);
  content: "";
  opacity: 0.65;
}

.flight-record::before {
  top: -1px;
  right: -1px;
  border-top: 2px solid;
  border-right: 2px solid;
}

.flight-record::after {
  bottom: -1px;
  left: -1px;
  border-bottom: 2px solid;
  border-left: 2px solid;
}

.record-head {
  display: flex;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  color: var(--silver-2);
  font: 0.65rem/1 var(--mono);
  letter-spacing: 0.1em;
}

.record-identity {
  display: grid;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.record-identity strong {
  margin: 8px 0 5px;
  font-size: clamp(1.8rem, 3vw, 2.45rem);
  font-weight: 540;
  letter-spacing: -0.035em;
}

.record-identity > span:last-child {
  color: var(--silver);
  font-size: 0.88rem;
}

.record-label {
  color: var(--silver-2);
  font-size: 0.64rem;
}

.system-map {
  padding-top: 29px;
}

.system-map ol {
  display: grid;
  margin-top: 18px;
  border-top: 1px solid var(--line);
}

.system-map li {
  display: grid;
  grid-template-columns: 38px 82px 1fr;
  gap: 10px;
  align-items: center;
  min-height: 57px;
  border-bottom: 1px solid var(--line);
}

.system-map li > span {
  color: var(--blue);
  font: 0.67rem/1 var(--mono);
}

.system-map li strong {
  font-size: 0.84rem;
  font-weight: 650;
}

.system-map li small {
  color: var(--silver-2);
  font-size: 0.75rem;
}

.record-footer {
  margin-top: 29px;
  color: var(--silver-2);
  font: 0.63rem/1.4 var(--mono);
  letter-spacing: 0.08em;
}

.domain-line {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  height: 28px;
  margin: 10px 0 8px;
  align-items: end;
}

.domain-line i {
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--blue-deep) var(--level), rgba(135, 160, 190, 0.15) var(--level));
}

.work-section,
.profile-section {
  padding: 128px 0;
  border-top: 1px solid var(--line);
}

.work-section {
  background: rgba(9, 13, 20, 0.7);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 410px);
  gap: 48px;
  align-items: end;
  margin-bottom: 54px;
}

.section-heading-stacked {
  display: block;
  margin-bottom: 0;
}

.section-index {
  margin-bottom: 16px;
  color: var(--blue);
  font-size: 0.7rem;
}

.section-heading h2,
.contact-copy h2 {
  max-width: 780px;
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 520;
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.section-heading > p,
.section-heading-stacked > p:last-child,
.contact-copy > p:last-child {
  color: var(--silver);
  font-size: 1.03rem;
  line-height: 1.7;
}

.section-heading-stacked > p:last-child {
  max-width: 520px;
  margin-top: 24px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.filter-button {
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 99px;
  color: var(--silver);
  background: transparent;
  font-size: 0.78rem;
  cursor: pointer;
  transition: color 150ms ease, border-color 150ms ease, background-color 150ms ease;
}

.filter-button:hover,
.filter-button.is-active {
  border-color: rgba(94, 177, 255, 0.5);
  color: var(--white);
  background: rgba(94, 177, 255, 0.1);
}

.project-list {
  display: grid;
  gap: 12px;
}

.project {
  position: relative;
  display: grid;
  grid-template-columns: 150px minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(26px, 4vw, 58px);
  min-height: 430px;
  padding: clamp(24px, 3.4vw, 46px);
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(128deg, rgba(255, 255, 255, 0.024), rgba(255, 255, 255, 0.008));
  transition: border-color 180ms ease, transform 180ms ease, background-color 180ms ease;
}

.project:hover {
  border-color: rgba(125, 195, 255, 0.34);
  background-color: rgba(30, 69, 115, 0.045);
  transform: translateY(-2px);
}

.project[hidden] {
  display: none;
}

.project-featured {
  min-height: 500px;
  border-color: rgba(94, 177, 255, 0.3);
  background:
    radial-gradient(circle at 92% 22%, rgba(38, 113, 210, 0.12), transparent 24rem),
    linear-gradient(128deg, rgba(31, 77, 132, 0.09), rgba(255, 255, 255, 0.008));
}

.project-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--silver-2);
  font-size: 0.64rem;
  line-height: 1.5;
}

.project-meta span:first-child {
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 1.05rem;
}

.project-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-self: center;
}

.project-type {
  margin-bottom: 16px;
  color: var(--blue);
  font-size: 0.67rem;
  line-height: 1.5;
}

.project-copy h3 {
  max-width: 650px;
  font-size: clamp(1.65rem, 2.8vw, 2.65rem);
  font-weight: 540;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.project-copy > p:not(.project-type) {
  max-width: 650px;
  margin-top: 20px;
  color: var(--silver);
  font-size: 0.96rem;
  line-height: 1.68;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 24px;
}

.tag-list li {
  padding: 5px 9px;
  border: 1px solid var(--line);
  color: #bdc8d6;
  background: rgba(255, 255, 255, 0.02);
  font: 0.65rem/1.4 var(--mono);
  letter-spacing: 0.03em;
}

.project-link,
.text-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 30px;
  padding: 0 0 6px;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  color: var(--white);
  background: transparent;
  font-size: 0.84rem;
  font-weight: 650;
  cursor: pointer;
}

.project-link::after,
.text-link::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  background: var(--blue-bright);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.project-link:hover::after,
.text-link:hover::after {
  transform: scaleX(1);
}

.project-visual {
  align-self: stretch;
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  background:
    linear-gradient(rgba(91, 135, 184, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91, 135, 184, 0.055) 1px, transparent 1px),
    #090d14;
  background-size: 26px 26px;
}

.visual-head {
  display: flex;
  justify-content: space-between;
  color: var(--silver-2);
  font-size: 0.6rem;
}

.project-visual figcaption {
  margin-top: 16px;
  color: var(--silver-2);
  font: 0.62rem/1.5 var(--mono);
}

.architecture-track {
  display: flex;
  align-items: center;
  margin: 96px 0 82px;
}

.architecture-track span {
  display: grid;
  min-width: 52px;
  min-height: 52px;
  padding: 6px;
  place-items: center;
  border: 1px solid var(--line-strong);
  color: var(--white);
  background: rgba(10, 16, 25, 0.92);
  font: 0.55rem/1 var(--mono);
}

.architecture-track span:first-child,
.architecture-track span:last-child {
  border-color: rgba(94, 177, 255, 0.65);
  color: var(--blue-bright);
}

.architecture-track i {
  position: relative;
  flex: 1;
  min-width: 8px;
  height: 1px;
  background: var(--line-strong);
}

.architecture-track i::after {
  position: absolute;
  top: -2px;
  right: 0;
  width: 5px;
  height: 5px;
  border-top: 1px solid var(--silver);
  border-right: 1px solid var(--silver);
  content: "";
  transform: rotate(45deg);
}

.vehicle-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.vehicle-stats div {
  padding: 13px 10px;
}

.vehicle-stats div + div {
  border-left: 1px solid var(--line);
}

.vehicle-stats small,
.vehicle-stats strong {
  display: block;
}

.vehicle-stats small {
  color: var(--silver-2);
  font: 0.58rem/1.3 var(--mono);
  text-transform: uppercase;
}

.vehicle-stats strong {
  margin-top: 5px;
  font-size: 0.85rem;
  font-weight: 600;
}

.graph-visual svg,
.fin-visual svg {
  width: 100%;
  height: auto;
  margin-top: 50px;
  overflow: visible;
}

.chart-grid path {
  fill: none;
  stroke: rgba(168, 195, 226, 0.12);
  stroke-width: 1;
}

.chart-bound {
  fill: none;
  stroke: rgba(173, 193, 218, 0.42);
  stroke-dasharray: 5 7;
  stroke-width: 2;
}

.chart-line,
.constraint-line {
  fill: none;
  stroke: var(--blue-bright);
  stroke-width: 3;
}

.feasible-area {
  fill: url(#feasible);
}

.constraint-line {
  stroke-width: 2;
}

.optimum-dot {
  fill: var(--blue-bright);
  stroke: #06101d;
  stroke-width: 3;
  filter: drop-shadow(0 0 7px rgba(94, 177, 255, 0.6));
}

.chart-labels text {
  fill: var(--silver-2);
  font: 10px var(--mono);
  letter-spacing: 0.07em;
}

.event-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin: 100px 0 81px;
}

.event-track::before {
  position: absolute;
  z-index: 0;
  top: 21px;
  right: 7%;
  left: 7%;
  height: 1px;
  background: var(--line-strong);
  content: "";
}

.event-track li {
  position: relative;
  z-index: 1;
  text-align: center;
}

.event-track li::before {
  display: block;
  width: 9px;
  height: 9px;
  margin: 17px auto 22px;
  border: 3px solid #090d14;
  border-radius: 50%;
  outline: 1px solid var(--blue);
  background: var(--blue-bright);
  content: "";
}

.event-track span,
.event-track strong {
  display: block;
}

.event-track span {
  color: var(--blue);
  font: 0.58rem/1 var(--mono);
}

.event-track strong {
  font-size: 0.73rem;
  font-weight: 600;
}

.project-compact {
  grid-template-columns: 150px minmax(0, 1fr) 210px;
  min-height: 340px;
}

.project-number {
  align-self: center;
  color: rgba(144, 183, 227, 0.11);
  font: 700 clamp(4rem, 8vw, 8.5rem)/1 var(--mono);
  letter-spacing: -0.08em;
  text-align: right;
}

.placeholder {
  color: #8da0b8;
  font-size: 0.62em;
  font-weight: 450;
}

.research-section {
  padding: 128px 0;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 16% 40%, rgba(48, 127, 224, 0.09), transparent 26rem),
    #080b11;
}

.research-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.75fr) minmax(0, 1.25fr);
  gap: 64px 90px;
}

.thesis-card {
  display: grid;
  grid-template-columns: 48px 1fr;
  min-height: 550px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(145deg, rgba(35, 101, 182, 0.09), rgba(255, 255, 255, 0.02));
}

.thesis-spine {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 18px 0;
  border-right: 1px solid var(--line);
  background: rgba(94, 177, 255, 0.05);
}

.thesis-spine span {
  color: var(--blue);
  font: 0.63rem/1 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.thesis-content {
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 4vw, 52px);
}

.thesis-content h3 {
  max-width: 700px;
  font-size: clamp(2rem, 3.8vw, 3.5rem);
  font-weight: 520;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.thesis-abstract {
  max-width: 730px;
  margin-top: 28px;
  color: var(--silver);
  font-size: 1rem;
  line-height: 1.75;
}

.placeholder,
.placeholder-note {
  color: #91a4bc;
}

.placeholder-note {
  padding-left: 16px;
  border-left: 1px solid var(--blue);
  font-size: 0.86rem !important;
}

.thesis-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: auto;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.thesis-details div {
  display: grid;
  gap: 6px;
  padding-right: 16px;
}

.thesis-details div + div {
  padding-left: 20px;
  border-left: 1px solid var(--line);
}

.thesis-details span {
  color: var(--silver-2);
  font: 0.62rem/1.2 var(--mono);
  text-transform: uppercase;
}

.thesis-details strong {
  font-size: 0.82rem;
  font-weight: 600;
}

.thesis-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.muted-link {
  color: var(--silver);
}

.research-notes {
  grid-column: 2;
}

.research-notes h3 {
  margin-bottom: 18px;
  font-size: 1rem;
  font-weight: 600;
}

.research-notes ul {
  border-top: 1px solid var(--line);
}

.research-notes li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.research-notes li > span {
  color: var(--blue);
  font: 0.69rem/1.5 var(--mono);
}

.research-notes li div {
  display: grid;
  gap: 3px;
}

.research-notes strong {
  font-size: 0.91rem;
  font-weight: 600;
}

.research-notes small {
  color: var(--silver-2);
  font-size: 0.78rem;
}

.profile-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  gap: 12px;
}

.about-card,
.capability-matrix,
.timeline {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.016);
}

.about-card {
  padding: clamp(28px, 4vw, 48px);
}

.about-card h3 {
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  font-weight: 520;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.about-card > p:not(.project-type) {
  margin-top: 24px;
  color: var(--silver);
  line-height: 1.75;
}

.capability-matrix {
  padding: 12px clamp(20px, 3vw, 36px);
}

.matrix-head,
.capability-matrix > div:not(.matrix-head) {
  display: grid;
  grid-template-columns: minmax(180px, 0.7fr) minmax(0, 1.3fr);
  gap: 24px;
}

.matrix-head {
  padding: 12px 0;
  color: var(--silver-2);
  font: 0.63rem/1.3 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.capability-matrix > div:not(.matrix-head) {
  align-items: center;
  min-height: 70px;
  border-top: 1px solid var(--line);
}

.capability-matrix strong {
  font-size: 0.86rem;
  font-weight: 600;
}

.capability-matrix span {
  color: var(--silver);
  font-size: 0.82rem;
}

.capability-matrix i {
  color: var(--silver-2);
  font-style: normal;
}

.timeline {
  margin-top: 12px;
  padding: 14px clamp(26px, 4vw, 48px) 8px;
}

.timeline-head {
  display: flex;
  justify-content: space-between;
  padding: 10px 0 18px;
  color: var(--silver-2);
  font-size: 0.63rem;
}

.timeline article {
  display: grid;
  grid-template-columns: minmax(150px, 0.35fr) minmax(0, 1fr);
  gap: 32px;
  padding: 27px 0;
  border-top: 1px solid var(--line);
}

.timeline time {
  color: var(--blue);
  font: 0.71rem/1.5 var(--mono);
}

.timeline h3 {
  font-size: 1rem;
  font-weight: 600;
}

.timeline p {
  margin-top: 5px;
  color: var(--silver-2);
  font-size: 0.83rem;
}

.contact-section {
  padding: 120px 0;
  border-top: 1px solid var(--line);
  background: linear-gradient(125deg, rgba(24, 81, 151, 0.18), rgba(8, 11, 17, 0.2) 48%);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
  gap: 90px;
  align-items: end;
}

.contact-copy > p:last-child {
  max-width: 540px;
  margin-top: 24px;
}

.contact-links {
  border-top: 1px solid var(--line-strong);
}

.contact-links a {
  display: grid;
  grid-template-columns: 94px 1fr 24px;
  gap: 16px;
  align-items: center;
  min-height: 76px;
  border-bottom: 1px solid var(--line-strong);
  transition: padding-left 160ms ease, background-color 160ms ease;
}

.contact-links a:hover {
  padding-left: 12px;
  background: rgba(94, 177, 255, 0.045);
}

.contact-links span {
  color: var(--silver-2);
  font: 0.66rem/1 var(--mono);
  text-transform: uppercase;
}

.contact-links strong {
  overflow: hidden;
  font-size: clamp(0.86rem, 1.5vw, 1.05rem);
  font-weight: 550;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contact-links i {
  color: var(--blue);
  font-style: normal;
}

.site-footer {
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 40px;
  align-items: center;
  min-height: 120px;
  color: var(--silver-2);
  font-size: 0.75rem;
}

.footer-inner > div {
  display: grid;
}

.footer-inner strong {
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
}

.footer-inner a:hover {
  color: var(--white);
}

.case-dialog {
  width: min(1040px, calc(100vw - 34px));
  max-width: none;
  max-height: calc(100dvh - 34px);
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  color: var(--white);
  background: var(--ink-2);
  box-shadow: 0 32px 120px rgba(0, 0, 0, 0.72);
}

.case-dialog::backdrop {
  background: rgba(1, 3, 7, 0.84);
  backdrop-filter: blur(8px);
}

.dialog-shell {
  max-height: calc(100dvh - 34px);
  overflow: auto;
}

.dialog-head {
  position: sticky;
  z-index: 3;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 62px;
  padding: 0 24px;
  border-bottom: 1px solid var(--line);
  background: rgba(9, 13, 20, 0.94);
  backdrop-filter: blur(14px);
  color: var(--silver-2);
  font: 0.68rem/1 var(--mono);
  letter-spacing: 0.08em;
}

.dialog-close {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0;
  color: var(--silver);
  background: transparent;
  font-size: 0.75rem;
  cursor: pointer;
}

.dialog-close span {
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 300;
}

.dialog-body {
  padding: clamp(28px, 5vw, 64px);
}

.dialog-title-block {
  max-width: 800px;
}

.dialog-title-block h2 {
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  font-weight: 520;
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.dialog-title-block > p:last-child {
  max-width: 720px;
  margin-top: 24px;
  color: var(--silver);
  font-size: 1.04rem;
  line-height: 1.75;
}

.dialog-evidence {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 42px;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.dialog-evidence div {
  min-height: 92px;
  padding: 18px 20px 18px 0;
}

.dialog-evidence div + div {
  padding-left: 20px;
  border-left: 1px solid var(--line);
}

.dialog-evidence span,
.dialog-evidence strong {
  display: block;
}

.dialog-evidence span {
  color: var(--silver-2);
  font: 0.62rem/1.4 var(--mono);
  text-transform: uppercase;
}

.dialog-evidence strong {
  margin-top: 8px;
  font-size: 0.98rem;
  font-weight: 600;
}

.dialog-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px 58px;
  margin-top: 50px;
}

.dialog-columns section {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.dialog-columns h3 {
  margin-bottom: 13px;
  color: var(--blue);
  font: 0.67rem/1.4 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dialog-columns p,
.dialog-columns li {
  color: var(--silver);
  font-size: 0.92rem;
  line-height: 1.72;
}

.dialog-columns li {
  position: relative;
  padding-left: 16px;
}

.dialog-columns li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 5px;
  height: 1px;
  background: var(--blue);
  content: "";
}

.dialog-media-placeholder {
  display: grid;
  min-height: 230px;
  margin-top: 48px;
  padding: 28px;
  place-content: center;
  border: 1px dashed var(--line-strong);
  background:
    linear-gradient(rgba(91, 135, 184, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91, 135, 184, 0.04) 1px, transparent 1px),
    rgba(255, 255, 255, 0.012);
  background-size: 32px 32px;
  text-align: center;
}

.dialog-media-placeholder span {
  color: var(--blue);
  font: 0.63rem/1.4 var(--mono);
  letter-spacing: 0.08em;
}

.dialog-media-placeholder strong {
  margin: 10px 0 6px;
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  font-weight: 540;
}

.dialog-media-placeholder small {
  max-width: 630px;
  color: var(--silver-2);
  font-size: 0.74rem;
}

.dialog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.notice {
  position: fixed;
  z-index: 300;
  right: 20px;
  bottom: 20px;
  max-width: min(390px, calc(100vw - 40px));
  padding: 14px 17px;
  border: 1px solid rgba(94, 177, 255, 0.45);
  color: var(--white);
  background: rgba(12, 19, 29, 0.96);
  box-shadow: 0 14px 50px rgba(0, 0, 0, 0.38);
  font-size: 0.8rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.notice.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js-ready .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms cubic-bezier(.2, .75, .25, 1);
}

.js-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(330px, 0.7fr);
    gap: 42px;
  }

  .project {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .project-visual,
  .project-number {
    grid-column: 2;
  }

  .project-visual {
    min-height: 350px;
  }

  .project-number {
    position: absolute;
    right: 32px;
    bottom: 22px;
  }

  .research-grid {
    gap: 54px;
  }
}

@media (max-width: 820px) {
  :root {
    --shell: min(100% - 32px, 720px);
    --header-height: 70px;
  }

  .js-ready .menu-button {
    display: inline-flex;
  }

  .primary-nav {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .js-ready .primary-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 10px 16px 20px;
    border-bottom: 1px solid var(--line);
    background: rgba(6, 8, 13, 0.98);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .js-ready .primary-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .js-ready .primary-nav a {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 0 8px;
    border-bottom: 1px solid var(--line);
  }

  .js-ready .primary-nav > a:not(.nav-cta)::after {
    display: none;
  }

  .js-ready .nav-cta {
    margin-top: 10px;
    border: 1px solid var(--line-strong) !important;
  }

  .menu-button[aria-expanded="true"] .menu-lines i:first-child {
    transform: translateY(3px) rotate(45deg);
  }

  .menu-button[aria-expanded="true"] .menu-lines i:last-child {
    transform: translateY(-3px) rotate(-45deg);
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: calc(var(--header-height) + 86px);
  }

  .hero h1 {
    font-size: clamp(3.1rem, 12vw, 5.6rem);
  }

  .flight-record {
    min-height: auto;
  }

  .section-heading,
  .research-grid,
  .profile-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    align-items: start;
  }

  .project {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .project-meta {
    flex-flow: row wrap;
    gap: 10px 18px;
  }

  .project-meta span:first-child {
    width: 100%;
    margin: 0;
  }

  .project-visual {
    grid-column: 1;
    min-height: 330px;
  }

  .project-number {
    right: 24px;
  }

  .research-notes {
    grid-column: 1;
  }

  .research-section,
  .work-section,
  .profile-section,
  .contact-section {
    padding: 98px 0;
  }

  .research-grid {
    gap: 44px;
  }

  .contact-grid {
    gap: 55px;
  }

  .footer-inner {
    grid-template-columns: 1fr auto;
  }

  .footer-inner p {
    grid-column: 1 / -1;
    grid-row: 2;
    padding-bottom: 25px;
  }
}

@media (max-width: 560px) {
  :root {
    --shell: calc(100vw - 24px);
  }

  .brand-copy small {
    display: none;
  }

  .brand-copy strong {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hero {
    padding-top: calc(var(--header-height) + 64px);
    padding-bottom: 56px;
  }

  .hero h1 {
    font-size: clamp(2.75rem, 14vw, 4.2rem);
  }

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

  .hero-facts div + div {
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .hero-facts dd {
    white-space: normal;
  }

  .flight-record {
    padding: 18px;
  }

  .system-map li {
    grid-template-columns: 32px 70px 1fr;
  }

  .section-heading {
    gap: 28px;
    margin-bottom: 38px;
  }

  .section-heading h2,
  .contact-copy h2 {
    font-size: clamp(2.4rem, 12vw, 3.8rem);
  }

  .project {
    gap: 28px;
    padding: 22px;
  }

  .project-copy h3 {
    font-size: 1.75rem;
  }

  .project-visual {
    min-height: 300px;
    padding: 14px;
  }

  .architecture-track {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 40px 0;
  }

  .architecture-track span {
    min-height: 46px;
  }

  .architecture-track i {
    display: none;
  }

  .vehicle-stats,
  .thesis-details,
  .dialog-evidence {
    grid-template-columns: 1fr;
  }

  .vehicle-stats div + div,
  .thesis-details div + div,
  .dialog-evidence div + div {
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .event-track {
    grid-template-columns: repeat(2, 1fr);
    margin: 45px 0;
  }

  .event-track::before {
    display: none;
  }

  .thesis-card {
    grid-template-columns: 32px 1fr;
  }

  .thesis-content {
    padding: 24px 20px;
  }

  .thesis-content h3 {
    font-size: 2.15rem;
  }

  .thesis-details div {
    padding: 13px 0;
  }

  .matrix-head,
  .capability-matrix > div:not(.matrix-head) {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .matrix-head span:last-child {
    display: none;
  }

  .capability-matrix > div:not(.matrix-head) {
    align-content: center;
    min-height: 84px;
  }

  .timeline article {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .contact-links a {
    grid-template-columns: 72px minmax(0, 1fr) 18px;
    gap: 9px;
  }

  .footer-inner {
    gap: 20px;
  }

  .dialog-body {
    padding: 28px 20px 36px;
  }

  .dialog-title-block h2 {
    font-size: 2.3rem;
  }

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

  .dialog-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .dialog-actions .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .js-ready .reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .site-header,
  .hero-actions,
  .filter-bar,
  .project-link,
  .contact-section,
  .site-footer,
  .notice {
    display: none !important;
  }

  body {
    color: #111;
    background: #fff;
  }

  body::before {
    display: none;
  }

  .hero,
  .project,
  .thesis-card,
  .about-card,
  .capability-matrix,
  .timeline {
    border-color: #bbb;
    color: #111;
    background: #fff;
    box-shadow: none;
    break-inside: avoid;
  }

  .hero {
    min-height: 0;
  }

  .hero-intro,
  .project-copy > p:not(.project-type),
  .thesis-abstract,
  .about-card > p:not(.project-type),
  .capability-matrix span,
  .timeline p {
    color: #444;
  }
}

/* -------------------------------------------------------------------------
   V2 — EXPERIMENTAL FLIGHT LAB
   ------------------------------------------------------------------------- */

main,
.site-header,
.site-footer {
  position: relative;
  z-index: 2;
}

.flight-field {
  position: fixed;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.72;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, black 0%, rgba(0, 0, 0, 0.7) 45%, transparent 88%);
}

.scroll-meter {
  position: fixed;
  z-index: 500;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.035);
  pointer-events: none;
}

.scroll-meter i {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--blue-deep), var(--blue-bright), #fff);
  box-shadow: 0 0 18px rgba(94, 177, 255, 0.8);
  transform: scaleX(0);
  transform-origin: left;
  will-change: transform;
}

.cursor-orb {
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  width: 280px;
  height: 280px;
  margin: -140px 0 0 -140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(72, 158, 255, 0.09), transparent 67%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms ease;
  will-change: transform;
}

@media (hover: hover) and (pointer: fine) {
  body:hover .cursor-orb {
    opacity: 1;
  }
}

.boot-sequence {
  display: none;
}

.js-ready .boot-sequence {
  position: fixed;
  z-index: 2000;
  inset: 0;
  display: grid;
  grid-template-columns: auto minmax(220px, 390px);
  gap: 34px;
  align-content: center;
  justify-content: center;
  padding: 28px;
  color: var(--white);
  background:
    radial-gradient(circle at center, rgba(33, 100, 183, 0.16), transparent 28rem),
    #05070b;
  opacity: 1;
  visibility: visible;
  transition: opacity 500ms ease, visibility 500ms ease;
}

.js-ready .boot-sequence.is-complete {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.boot-mark {
  display: grid;
  width: 94px;
  height: 94px;
  place-content: center;
  border: 1px solid rgba(142, 208, 255, 0.5);
  background: rgba(61, 144, 240, 0.055);
  font: 700 1.2rem/1 var(--mono);
  letter-spacing: 0.08em;
  box-shadow: inset 0 0 30px rgba(94, 177, 255, 0.05), 0 0 50px rgba(17, 89, 180, 0.08);
}

.boot-mark span {
  color: var(--blue);
  font-size: 0.56em;
}

.boot-copy {
  display: grid;
  align-content: center;
}

.boot-copy span {
  color: var(--blue);
  font: 0.62rem/1.2 var(--mono);
  letter-spacing: 0.12em;
}

.boot-copy strong {
  margin-top: 9px;
  font-size: clamp(1rem, 2vw, 1.32rem);
  font-weight: 520;
}

.boot-track {
  grid-column: 1 / -1;
  width: 100%;
  height: 2px;
  overflow: hidden;
  background: rgba(174, 202, 231, 0.12);
}

.boot-track i {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--blue-deep), var(--blue-bright));
  box-shadow: 0 0 20px var(--blue);
  transform: scaleX(0);
  transform-origin: left;
}

.boot-sequence.is-running .boot-track i {
  animation: boot-load 1150ms cubic-bezier(.2, .8, .2, 1) forwards;
}

@keyframes boot-load {
  0% { transform: scaleX(0); }
  35% { transform: scaleX(.42); }
  65% { transform: scaleX(.68); }
  100% { transform: scaleX(1); }
}

.section-rail {
  position: fixed;
  z-index: 40;
  top: 50%;
  left: max(18px, calc((100vw - 1420px) / 2));
  display: grid;
  gap: 13px;
  transform: translateY(-50%);
}

.section-rail a {
  display: grid;
  grid-template-columns: 22px 18px 0fr;
  gap: 7px;
  align-items: center;
  min-height: 20px;
  color: rgba(153, 170, 191, 0.52);
  font: 0.58rem/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 180ms ease, grid-template-columns 180ms ease;
}

.section-rail a i {
  width: 10px;
  height: 1px;
  background: currentColor;
  transition: width 180ms ease, background-color 180ms ease;
}

.section-rail a strong {
  overflow: hidden;
  font-weight: 500;
  opacity: 0;
  white-space: nowrap;
  transition: opacity 180ms ease;
}

.section-rail a:hover,
.section-rail a.is-current {
  grid-template-columns: 22px 32px 1fr;
  color: var(--white);
}

.section-rail a:hover i,
.section-rail a.is-current i {
  width: 30px;
  background: var(--blue-bright);
}

.section-rail a:hover strong,
.section-rail a.is-current strong {
  opacity: 1;
}

.hero-v2 {
  position: relative;
  grid-template-columns: minmax(0, .88fr) minmax(440px, 1.12fr);
  gap: clamp(26px, 4vw, 64px);
  min-height: max(760px, 100svh);
  padding-top: calc(var(--header-height) + 52px);
  padding-bottom: 38px;
}

.hero-v2::before {
  position: absolute;
  z-index: -1;
  top: 17%;
  left: -12vw;
  width: 38vw;
  height: 38vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(35, 111, 208, 0.12), transparent 70%);
  content: "";
  filter: blur(18px);
}

.hero-v2 .hero-copy {
  position: relative;
  z-index: 5;
}

.hero-v2 h1 {
  max-width: 730px;
  font-size: clamp(3.8rem, 6.4vw, 7.3rem);
}

.hero-v2 h1 em {
  position: relative;
  display: inline-block;
  color: transparent;
  background: linear-gradient(104deg, #fff 4%, var(--blue-bright) 48%, #4b94f0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 0 22px rgba(94, 177, 255, 0.12));
}

.hero-v2 .hero-intro {
  max-width: 630px;
}

.hero-v2 .hero-facts {
  margin-top: 54px;
  background: rgba(7, 12, 19, 0.42);
  backdrop-filter: blur(8px);
}

.hero-lab {
  position: relative;
  align-self: stretch;
  min-width: 0;
  min-height: 690px;
  perspective: 1200px;
}

.lab-kicker {
  position: absolute;
  z-index: 8;
  top: 14px;
  right: 0;
  left: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 4px 12px;
  border-bottom: 1px solid var(--line);
  color: var(--silver-2);
  font: 0.59rem/1 var(--mono);
  letter-spacing: 0.1em;
}

.vehicle-stage {
  position: absolute;
  top: 45px;
  right: 0;
  bottom: 122px;
  left: 0;
  overflow: hidden;
  border: 1px solid rgba(163, 196, 230, 0.19);
  background:
    radial-gradient(circle at 55% 44%, rgba(36, 109, 206, 0.17), transparent 38%),
    rgba(5, 9, 15, 0.37);
  box-shadow: inset 0 0 90px rgba(22, 90, 174, 0.04), 0 36px 100px rgba(0, 0, 0, 0.24);
  transform: rotateX(var(--stage-x, 0deg)) rotateY(var(--stage-y, 0deg));
  transform-style: preserve-3d;
  transition: transform 180ms ease-out, border-color 260ms ease;
}

.vehicle-stage:hover {
  border-color: rgba(94, 177, 255, 0.36);
}

.stage-grid {
  position: absolute;
  z-index: 0;
  inset: 0;
  background-image:
    linear-gradient(rgba(138, 182, 230, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(138, 182, 230, 0.055) 1px, transparent 1px);
  background-size: 38px 38px;
  transform: translate3d(var(--grid-x, 0), var(--grid-y, 0), -30px) scale(1.08);
  transition: transform 220ms ease-out;
  mask-image: radial-gradient(circle at center, black 25%, transparent 78%);
}

.hero-vehicle {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  width: min(67%, 450px);
  height: auto;
  pointer-events: none;
  filter: saturate(.9) contrast(1.05) drop-shadow(0 30px 45px rgba(0, 0, 0, 0.46)) drop-shadow(0 0 34px rgba(75, 151, 243, 0.2));
  transform: translate3d(calc(-50% + var(--vehicle-x, 0px)), calc(-50% + var(--vehicle-y, 0px)), 55px) rotate(var(--vehicle-roll, -1deg)) scale(1.05);
  transform-origin: center;
  transition: transform 230ms cubic-bezier(.2, .7, .2, 1), filter 260ms ease;
  user-select: none;
}

.vehicle-stage:hover .hero-vehicle {
  filter: saturate(1) contrast(1.08) drop-shadow(0 36px 52px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 42px rgba(75, 151, 243, 0.27));
}

.vehicle-glow {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: 52%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(71, 157, 255, 0.22), rgba(37, 106, 193, 0.06) 46%, transparent 71%);
  filter: blur(9px);
  transform: translate(-50%, -50%);
  animation: vehicle-breathe 5s ease-in-out infinite;
}

@keyframes vehicle-breathe {
  0%, 100% { opacity: .7; transform: translate(-50%, -50%) scale(.92); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.08); }
}

.orbit {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(119, 184, 255, 0.21);
  border-radius: 50%;
  pointer-events: none;
}

.orbit::after {
  position: absolute;
  top: 49%;
  left: -3px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-bright);
  box-shadow: 0 0 14px var(--blue);
  content: "";
}

.orbit-one {
  width: 76%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%) rotateX(64deg) rotateZ(18deg);
  animation: orbit-one 13s linear infinite;
}

.orbit-two {
  width: 58%;
  aspect-ratio: 1;
  border-style: dashed;
  transform: translate(-50%, -50%) rotateX(68deg) rotateZ(-28deg);
  animation: orbit-two 18s linear infinite reverse;
}

@keyframes orbit-one {
  to { transform: translate(-50%, -50%) rotateX(64deg) rotateZ(378deg); }
}

@keyframes orbit-two {
  to { transform: translate(-50%, -50%) rotateX(68deg) rotateZ(332deg); }
}

.system-hotspot {
  position: absolute;
  z-index: 7;
  display: inline-flex;
  gap: 9px;
  align-items: center;
  min-height: 32px;
  padding: 0 11px 0 7px;
  border: 1px solid rgba(178, 208, 239, 0.22);
  color: var(--silver);
  background: rgba(5, 10, 17, 0.78);
  backdrop-filter: blur(10px);
  font: 0.6rem/1 var(--mono);
  letter-spacing: 0.05em;
  cursor: pointer;
  transform: translateZ(82px);
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.system-hotspot::after {
  position: absolute;
  top: 50%;
  width: 38px;
  height: 1px;
  background: linear-gradient(90deg, currentColor, transparent);
  content: "";
  opacity: .35;
}

.system-hotspot span {
  display: grid;
  width: 19px;
  height: 19px;
  place-items: center;
  border: 1px solid currentColor;
  color: var(--blue);
  font-size: 0.52rem;
}

.system-hotspot strong {
  font-weight: 500;
  text-transform: uppercase;
}

.system-hotspot:hover,
.system-hotspot.is-active {
  border-color: rgba(142, 208, 255, 0.66);
  color: var(--white);
  background: rgba(21, 76, 142, 0.78);
  box-shadow: 0 0 28px rgba(55, 142, 242, 0.18);
}

.hotspot-propulsion { bottom: 15%; left: 8%; }
.hotspot-propulsion::after,
.hotspot-structures::after,
.hotspot-flight::after { left: 100%; }
.hotspot-aero { top: 22%; right: 7%; }
.hotspot-aero::after { right: 100%; transform: scaleX(-1); }
.hotspot-structures { top: 50%; left: 5%; }
.hotspot-flight { top: 9%; left: 8%; }

.stage-coordinate,
.concept-label {
  position: absolute;
  z-index: 5;
  color: rgba(144, 168, 195, 0.46);
  font: 0.54rem/1 var(--mono);
  letter-spacing: 0.07em;
  pointer-events: none;
}

.coordinate-a { right: 10px; bottom: 33px; writing-mode: vertical-rl; }
.coordinate-b { right: 30px; bottom: 9px; }
.concept-label { bottom: 9px; left: 12px; color: rgba(180, 196, 215, 0.58); }

.system-readout {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: 114px minmax(0, 1fr) 72px;
  gap: 18px;
  align-items: center;
  min-height: 106px;
  padding: 17px 20px;
  border: 1px solid var(--line-strong);
  background: rgba(8, 14, 22, 0.8);
  backdrop-filter: blur(16px);
}

.readout-index {
  align-self: stretch;
  display: grid;
  place-items: center start;
  border-right: 1px solid var(--line);
  color: var(--blue);
  font: 0.61rem/1.5 var(--mono);
  letter-spacing: 0.07em;
}

.system-readout h2 {
  font-size: clamp(1rem, 1.5vw, 1.28rem);
  font-weight: 560;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.system-readout p {
  margin-top: 4px;
  color: var(--silver-2);
  font-size: 0.72rem;
  line-height: 1.45;
}

.system-readout > * {
  transition: opacity 120ms ease, transform 120ms ease;
}

.system-readout.is-changing > * {
  opacity: .25;
  transform: translateY(4px);
}

.readout-pulse {
  display: flex;
  gap: 4px;
  align-items: flex-end;
  justify-content: flex-end;
  height: 36px;
}

.readout-pulse i {
  width: 3px;
  height: var(--pulse, 40%);
  background: linear-gradient(to top, var(--blue-deep), var(--blue-bright));
  animation: readout-pulse 1.25s ease-in-out infinite alternate;
}

.readout-pulse i:nth-child(1) { --pulse: 35%; animation-delay: -.3s; }
.readout-pulse i:nth-child(2) { --pulse: 78%; animation-delay: -.9s; }
.readout-pulse i:nth-child(3) { --pulse: 52%; animation-delay: -.15s; }
.readout-pulse i:nth-child(4) { --pulse: 94%; animation-delay: -.7s; }
.readout-pulse i:nth-child(5) { --pulse: 44%; animation-delay: -.45s; }
.readout-pulse i:nth-child(6) { --pulse: 67%; animation-delay: -.1s; }

@keyframes readout-pulse {
  from { transform: scaleY(.35); opacity: .45; }
  to { transform: scaleY(1); opacity: 1; }
}

.capability-marquee {
  position: relative;
  z-index: 3;
  width: 100%;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(8, 13, 20, 0.82);
  backdrop-filter: blur(12px);
}

.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  min-height: 54px;
  color: #aab7c8;
  font: 0.63rem/1 var(--mono);
  letter-spacing: 0.12em;
  white-space: nowrap;
  animation: capability-scroll 34s linear infinite;
}

.marquee-track span {
  padding: 0 28px;
}

.marquee-track i {
  width: 5px;
  height: 5px;
  border: 1px solid var(--blue);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(94, 177, 255, 0.5);
}

.capability-marquee:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes capability-scroll {
  to { transform: translateX(-50%); }
}

.project {
  --mx: 50%;
  --my: 50%;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  transform: perspective(1200px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translateY(var(--lift, 0px));
  transform-style: preserve-3d;
  transition: border-color 180ms ease, transform 180ms ease, background-color 180ms ease;
}

.project::after {
  position: absolute;
  z-index: 0;
  inset: 0;
  background: radial-gradient(480px circle at var(--mx) var(--my), rgba(81, 165, 255, 0.105), transparent 46%);
  content: "";
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.project:hover {
  --lift: -4px;
  transform: perspective(1200px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translateY(var(--lift));
}

.project:hover::after {
  opacity: 1;
}

.project > * {
  position: relative;
  z-index: 1;
}

.project-visual,
.project-number {
  transform: translateZ(20px);
}

.project-copy {
  transform: translateZ(12px);
}

.project-visual svg path:not(.chart-grid path),
.project-visual svg circle {
  transition: filter 240ms ease, stroke-width 240ms ease;
}

.project:hover .chart-line,
.project:hover .constraint-line {
  filter: drop-shadow(0 0 7px rgba(94, 177, 255, .6));
  stroke-width: 4;
}

.button,
.project-link,
.nav-cta {
  transform: translate(var(--magnetic-x, 0px), var(--magnetic-y, 0px));
  will-change: transform;
}

.button:hover {
  transform: translate(var(--magnetic-x, 0px), calc(var(--magnetic-y, 0px) - 2px));
}

.case-dialog[open] .dialog-shell {
  animation: dialog-enter 420ms cubic-bezier(.16, .8, .25, 1) both;
}

@keyframes dialog-enter {
  from { opacity: 0; transform: translateY(28px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 1380px) {
  .section-rail {
    display: none;
  }
}

@media (max-width: 1040px) {
  .hero-v2 {
    grid-template-columns: minmax(0, .84fr) minmax(390px, 1.16fr);
    gap: 18px;
  }

  .hero-v2 h1 {
    font-size: clamp(3.5rem, 7vw, 5.6rem);
  }

  .hero-lab {
    min-height: 620px;
  }

  .vehicle-stage {
    bottom: 116px;
  }

  .system-readout {
    grid-template-columns: 92px minmax(0, 1fr) 54px;
  }
}

@media (max-width: 860px) {
  .hero-v2 {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: calc(var(--header-height) + 86px);
    padding-bottom: 56px;
  }

  .hero-v2 .hero-copy {
    padding-bottom: 8px;
  }

  .hero-lab {
    min-height: 710px;
  }

  .hero-vehicle {
    width: min(58%, 410px);
  }
}

@media (max-width: 560px) {
  .js-ready .boot-sequence {
    grid-template-columns: 1fr;
    gap: 22px;
    justify-items: start;
  }

  .boot-mark {
    width: 72px;
    height: 72px;
  }

  .hero-v2 h1 {
    font-size: clamp(3rem, 15vw, 4.6rem);
  }

  .hero-lab {
    min-height: 610px;
  }

  .vehicle-stage {
    top: 42px;
    bottom: 132px;
  }

  .hero-vehicle {
    width: min(78%, 380px);
  }

  .system-hotspot {
    padding-right: 7px;
  }

  .system-hotspot strong {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }

  .system-hotspot::after {
    width: 22px;
  }

  .hotspot-propulsion { left: 5%; }
  .hotspot-aero { right: 5%; }
  .hotspot-structures { left: 4%; }
  .hotspot-flight { left: 5%; }

  .system-readout {
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 12px;
    min-height: 122px;
    padding: 14px;
  }

  .readout-pulse {
    display: none;
  }

  .system-readout h2 {
    font-size: .94rem;
  }

  .system-readout p {
    font-size: .66rem;
  }

  .concept-label {
    max-width: 170px;
    line-height: 1.35;
  }

  .marquee-track {
    min-height: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .js-ready .boot-sequence {
    display: none;
  }

  .marquee-track,
  .vehicle-glow,
  .orbit,
  .readout-pulse i,
  .case-dialog[open] .dialog-shell {
    animation: none !important;
  }

  .project,
  .vehicle-stage,
  .hero-vehicle,
  .stage-grid,
  .button,
  .project-link,
  .nav-cta {
    transform: none !important;
  }
}

@media print {
  .boot-sequence,
  .flight-field,
  .cursor-orb,
  .scroll-meter,
  .section-rail,
  .capability-marquee,
  .hero-lab {
    display: none !important;
  }

  .hero-v2 {
    display: block;
  }
}
