:root {
  color-scheme: dark;
  --ink: #edf3f7;
  --muted: #a9b4c2;
  --paper: #0d1117;
  --panel: #151b23;
  --line: #2a3543;
  --teal: #48d3c8;
  --teal-dark: #7ce5dc;
  --blue: #7fa2ff;
  --amber: #f1b340;
  --red: #ff7668;
  --graphite: #080b10;
  --header-bg: rgba(13, 17, 23, 0.88);
  --header-line: rgba(255, 255, 255, 0.09);
  --brand-bg: #edf3f7;
  --brand-ink: #15171a;
  --nav-ink: #d5dde8;
  --nav-hover: var(--teal-dark);
  --button-primary-ink: #061011;
  --button-secondary-bg: rgba(255, 255, 255, 0.08);
  --button-secondary-border: rgba(255, 255, 255, 0.22);
  --button-secondary-ink: #ffffff;
  --filter-bg: #101720;
  --filter-border: #263241;
  --filter-ink: #c7d0dc;
  --filter-active-bg: #1e2734;
  --filter-active-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  --project-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
  --tag-bg: #0f2b2e;
  --tag-border: #245f62;
  --tag-ink: #9ae6df;
  --quiet-bg: #111821;
  --grid-panel: #151b23;
  --status-line: #283443;
  --control-bg: #202a36;
  --control-border: #334254;
  --diagram-node-bg: #edf3f7;
  --diagram-node-ink: #15171a;
  --theme-track: #101720;
  --theme-border: #334254;
  --theme-thumb: #edf3f7;
  --theme-icon: #9aa8b8;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

[data-theme="light"] {
  color-scheme: light;
  --ink: #15171a;
  --muted: #5e6673;
  --paper: #f7f8fa;
  --panel: #ffffff;
  --line: #d9dee7;
  --teal: #008c89;
  --teal-dark: #006665;
  --blue: #2456c7;
  --amber: #d7891f;
  --red: #c54638;
  --graphite: #20242a;
  --header-bg: rgba(247, 248, 250, 0.88);
  --header-line: rgba(21, 23, 26, 0.08);
  --brand-bg: var(--graphite);
  --brand-ink: #ffffff;
  --nav-ink: #2f3540;
  --nav-hover: var(--teal-dark);
  --button-primary-ink: #ffffff;
  --button-secondary-bg: rgba(255, 255, 255, 0.08);
  --button-secondary-border: rgba(255, 255, 255, 0.22);
  --button-secondary-ink: #ffffff;
  --filter-bg: #e9edf4;
  --filter-border: #d9dee8;
  --filter-ink: #3d4654;
  --filter-active-bg: #ffffff;
  --filter-active-shadow: 0 4px 12px rgba(18, 25, 36, 0.08);
  --project-shadow: 0 10px 26px rgba(17, 22, 30, 0.05);
  --tag-bg: #eef5f5;
  --tag-border: #d4e9e8;
  --tag-ink: #24595b;
  --quiet-bg: #eceff4;
  --grid-panel: #ffffff;
  --status-line: #edf0f5;
  --control-bg: #eef2f7;
  --control-border: #dce2ec;
  --diagram-node-bg: #f7f8fa;
  --diagram-node-ink: #1d232b;
  --theme-track: #e9edf4;
  --theme-border: #d9dee8;
  --theme-thumb: #ffffff;
  --theme-icon: #5e6673;
  --shadow: 0 18px 50px rgba(17, 22, 30, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

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

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

button {
  border: 0;
}

code {
  background: var(--control-bg);
  border: 1px solid var(--control-border);
  border-radius: 5px;
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.92em;
  padding: 0.08em 0.34em;
}

.site-header {
  align-items: center;
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-line);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  left: 0;
  padding: 14px clamp(18px, 4vw, 56px);
  position: fixed;
  right: 0;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
}

.brand {
  align-items: center;
  display: inline-flex;
  font-weight: 750;
  gap: 10px;
  min-width: max-content;
}

.brand-mark {
  align-items: center;
  background: var(--brand-bg);
  border-radius: 6px;
  color: var(--brand-ink);
  display: inline-flex;
  font-size: 0.82rem;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.header-actions {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: flex-end;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  justify-content: flex-end;
}

.nav a {
  color: var(--nav-ink);
  font-size: 0.94rem;
  font-weight: 650;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--nav-hover);
}

.theme-toggle {
  align-items: center;
  background: var(--theme-track);
  border: 1px solid var(--theme-border);
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  flex: 0 0 auto;
  height: 34px;
  justify-content: space-between;
  padding: 0 8px;
  position: relative;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
  width: 62px;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  transform: translateY(-1px);
}

.theme-toggle:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

.toggle-thumb {
  background: var(--theme-thumb);
  border-radius: 50%;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  height: 26px;
  left: 4px;
  position: absolute;
  top: 3px;
  transform: translateX(28px);
  transition:
    background 160ms ease,
    transform 160ms ease;
  width: 26px;
  z-index: 2;
}

[data-theme="light"] .toggle-thumb {
  transform: translateX(0);
}

.toggle-sun,
.toggle-moon {
  display: block;
  height: 14px;
  position: relative;
  width: 14px;
  z-index: 1;
}

.toggle-sun {
  border: 2px solid var(--theme-icon);
  border-radius: 50%;
}

.toggle-sun::before,
.toggle-sun::after {
  background: var(--theme-icon);
  content: "";
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
}

.toggle-sun::before {
  height: 2px;
  width: 18px;
}

.toggle-sun::after {
  height: 18px;
  width: 2px;
}

.toggle-moon {
  border-radius: 50%;
  box-shadow: -4px 0 0 0 var(--theme-icon);
  transform: translateX(4px);
}

.hero {
  align-items: flex-end;
  background: #101318;
  display: flex;
  min-height: 82svh;
  overflow: hidden;
  padding: 118px clamp(18px, 6vw, 76px) 48px;
  position: relative;
}

.hero-canvas,
.hero-shade {
  inset: 0;
  position: absolute;
}

.hero-canvas {
  height: 100%;
  width: 100%;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(10, 12, 16, 0.92), rgba(10, 12, 16, 0.58) 54%, rgba(10, 12, 16, 0.2)),
    linear-gradient(0deg, rgba(10, 12, 16, 0.78), rgba(10, 12, 16, 0.08) 56%);
  z-index: 1;
}

.hero-content {
  color: #fff;
  max-width: 790px;
  position: relative;
  z-index: 2;
}

.eyebrow {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #66d6cc;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: 4rem;
  line-height: 0.98;
  margin-bottom: 20px;
  max-width: 820px;
}

h2 {
  font-size: 2.15rem;
  line-height: 1.08;
  margin-bottom: 0;
}

h3 {
  font-size: 1.08rem;
  line-height: 1.25;
  margin-bottom: 10px;
}

.hero-copy {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
  line-height: 1.7;
  max-width: 640px;
}

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

.button {
  align-items: center;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  font-weight: 750;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.46;
  transform: none;
}

.button-primary {
  background: var(--teal);
  color: var(--button-primary-ink);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--teal-dark);
}

.button-secondary {
  background: var(--button-secondary-bg);
  border: 1px solid var(--button-secondary-border);
  color: var(--button-secondary-ink);
}

.hero-metrics {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 32px 0 0;
  max-width: 640px;
}

.hero-metrics div {
  border-left: 2px solid rgba(102, 214, 204, 0.72);
  padding-left: 14px;
}

.hero-metrics dt {
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.78rem;
  font-weight: 750;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.hero-metrics dd {
  color: #fff;
  font-weight: 800;
  margin: 0;
}

.section {
  margin: 0 auto;
  max-width: 1180px;
  padding: 78px clamp(18px, 4vw, 40px);
}

.intro-strip {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-bottom: 30px;
  padding-top: 30px;
}

.strip-item {
  border-left: 3px solid var(--amber);
  min-width: 0;
  padding: 6px 0 6px 16px;
}

.strip-label {
  color: var(--muted);
  display: block;
  font-size: 0.82rem;
  font-weight: 750;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.featured-case-section {
  padding-top: 40px;
}

.featured-case {
  align-items: center;
  display: grid;
  gap: 36px;
  grid-template-columns: minmax(0, 1.16fr) minmax(320px, 0.84fr);
}

.featured-media video,
.project-video-block video {
  background: #101318;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: block;
  width: 100%;
}

.featured-media video {
  aspect-ratio: 16 / 9;
}

.featured-copy p,
.project-overview p,
.project-video-block p {
  color: var(--muted);
  line-height: 1.65;
}

.case-facts {
  display: grid;
  gap: 1px;
  margin: 24px 0;
}

.case-facts div {
  background: var(--grid-panel);
  border-left: 3px solid var(--teal);
  min-width: 0;
  padding: 14px 16px;
}

.case-facts dt {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.case-facts dd {
  font-weight: 780;
  margin: 0;
}

.proof-list,
.evidence-list {
  display: grid;
  gap: 10px;
  line-height: 1.55;
  margin: 0;
  padding-left: 18px;
}

.proof-list {
  color: var(--muted);
  margin-bottom: 24px;
}

.text-link {
  color: var(--teal-dark);
  display: inline-flex;
  font-weight: 800;
  margin-top: 18px;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--amber);
}

.case-link {
  align-items: center;
  background: var(--teal);
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--button-primary-ink);
  display: inline-flex;
  font-size: 0.92rem;
  font-weight: 850;
  gap: 10px;
  justify-content: space-between;
  margin-top: 20px;
  min-height: 42px;
  padding: 0 0 0 14px;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.case-link:hover,
.case-link:focus-visible {
  background: var(--teal-dark);
  box-shadow: 0 10px 24px rgba(72, 211, 200, 0.18);
  transform: translateY(-1px);
}

.case-link:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

.case-link-arrow {
  align-items: center;
  align-self: stretch;
  background: rgba(6, 16, 17, 0.16);
  border-left: 1px solid rgba(6, 16, 17, 0.16);
  display: inline-flex;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  justify-content: center;
  min-width: 44px;
}

.section-head {
  align-items: end;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 28px;
}

.section-head.compact {
  align-items: start;
}

.section-note {
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 0;
  max-width: 430px;
}

.filter-bar {
  align-items: center;
  background: var(--filter-bg);
  border: 1px solid var(--filter-border);
  border-radius: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px;
}

.filter-button {
  background: transparent;
  border-radius: 6px;
  color: var(--filter-ink);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 750;
  min-height: 34px;
  padding: 0 12px;
}

.filter-button.is-active,
.filter-button:hover,
.filter-button:focus-visible {
  background: var(--filter-active-bg);
  box-shadow: var(--filter-active-shadow);
  color: var(--ink);
}

.project-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.project-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--project-shadow);
  min-width: 0;
  overflow: hidden;
}

.project-card.is-hidden {
  display: none;
}

.project-visual {
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    #1d232b;
  background-size: 28px 28px;
  overflow: hidden;
  position: relative;
}

.project-body {
  padding: 22px;
}

.project-body p {
  color: var(--muted);
  line-height: 1.6;
}

.project-kicker {
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 850;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}

.tag-list li {
  background: var(--tag-bg);
  border: 1px solid var(--tag-border);
  border-radius: 6px;
  color: var(--tag-ink);
  font-size: 0.78rem;
  font-weight: 750;
  padding: 5px 8px;
}

.joint,
.link,
.target-box,
.map-node,
.map-path,
.visor,
.ray,
.robot-dot,
.pipeline-node,
.pipeline-line,
.lane-horizon,
.lane-line,
.lane-center,
.lane-vehicle,
.drone-body,
.drone-rotor,
.drone-ray,
.drone-obstacle,
.space-target,
.space-orbit,
.space-vehicle,
.space-arm,
.space-touch {
  position: absolute;
}

.joint {
  background: #66d6cc;
  border: 5px solid #132026;
  border-radius: 50%;
  height: 32px;
  width: 32px;
}

.joint-a {
  bottom: 34px;
  left: 42px;
}

.joint-b {
  bottom: 105px;
  left: 132px;
}

.link {
  background: #f1b340;
  border-radius: 999px;
  height: 14px;
  transform-origin: left center;
}

.link-a {
  bottom: 58px;
  left: 64px;
  transform: rotate(-36deg);
  width: 116px;
}

.link-b {
  bottom: 128px;
  left: 154px;
  transform: rotate(18deg);
  width: 104px;
}

.target-box {
  background: var(--red);
  border-radius: 5px;
  bottom: 64px;
  height: 42px;
  right: 38px;
  width: 42px;
}

.map-node {
  background: var(--diagram-node-bg);
  border: 4px solid var(--blue);
  border-radius: 50%;
  height: 34px;
  width: 34px;
}

.map-a {
  left: 44px;
  top: 54px;
}

.map-b {
  right: 72px;
  top: 76px;
}

.map-c {
  bottom: 48px;
  left: 50%;
}

.map-path {
  background: #66d6cc;
  border-radius: 999px;
  height: 9px;
  transform-origin: left center;
}

.path-a {
  left: 74px;
  top: 75px;
  transform: rotate(7deg);
  width: 170px;
}

.path-b {
  bottom: 75px;
  left: 51%;
  transform: rotate(-33deg);
  width: 142px;
}

.visor {
  border: 7px solid var(--diagram-node-bg);
  border-radius: 8px;
  height: 58px;
  left: 42px;
  top: 58px;
  width: 118px;
}

.ray {
  background: #66d6cc;
  border-radius: 999px;
  height: 7px;
  left: 142px;
  transform-origin: left center;
  width: 150px;
}

.ray-a {
  top: 82px;
  transform: rotate(18deg);
}

.ray-b {
  top: 102px;
  transform: rotate(-17deg);
}

.robot-dot {
  background: #f1b340;
  border-radius: 50%;
  bottom: 54px;
  height: 34px;
  right: 56px;
  width: 34px;
}

.pipeline-node {
  align-items: center;
  background: var(--diagram-node-bg);
  border: 4px solid #66d6cc;
  border-radius: 8px;
  display: flex;
  height: 42px;
  justify-content: center;
  width: 58px;
  z-index: 2;
}

.pipeline-node::after {
  background: var(--diagram-node-ink);
  border-radius: 999px;
  content: "";
  height: 8px;
  width: 28px;
}

.pipeline-a {
  left: 34px;
  top: 42px;
}

.pipeline-b {
  left: 138px;
  top: 42px;
}

.pipeline-c {
  left: 138px;
  bottom: 42px;
}

.pipeline-d {
  right: 34px;
  bottom: 42px;
}

.pipeline-line {
  background: #f1b340;
  border-radius: 999px;
  height: 8px;
  transform-origin: left center;
  z-index: 1;
}

.line-a {
  left: 92px;
  top: 59px;
  width: 52px;
}

.line-b {
  left: 166px;
  top: 84px;
  transform: rotate(90deg);
  width: 74px;
}

.line-c {
  bottom: 59px;
  left: 196px;
  width: 84px;
}

.lane-horizon {
  background: rgba(247, 248, 250, 0.2);
  height: 2px;
  left: 0;
  right: 0;
  top: 42%;
}

.lane-line {
  background: #f1b340;
  border-radius: 999px;
  bottom: 16px;
  height: 8px;
  transform-origin: bottom center;
  width: 150px;
}

.lane-left {
  left: 34%;
  transform: rotate(69deg);
}

.lane-right {
  right: 34%;
  transform: rotate(-69deg);
}

.lane-center {
  border-left: 2px dashed rgba(102, 214, 204, 0.86);
  bottom: 20px;
  height: 110px;
  left: 50%;
}

.lane-vehicle {
  background: var(--teal);
  border: 4px solid #111821;
  border-radius: 8px;
  bottom: 26px;
  height: 44px;
  left: calc(50% - 20px);
  width: 40px;
}

.drone-body {
  background: var(--teal);
  border: 5px solid #111821;
  border-radius: 9px;
  height: 44px;
  left: calc(50% - 22px);
  top: calc(50% - 22px);
  transform: rotate(45deg);
  width: 44px;
  z-index: 3;
}

.drone-rotor {
  border: 6px solid #f7f8fa;
  border-radius: 50%;
  height: 46px;
  width: 46px;
  z-index: 2;
}

.rotor-a {
  left: 31%;
  top: 25%;
}

.rotor-b {
  right: 31%;
  top: 25%;
}

.rotor-c {
  bottom: 25%;
  left: 31%;
}

.rotor-d {
  bottom: 25%;
  right: 31%;
}

.drone-ray {
  background: rgba(102, 214, 204, 0.72);
  border-radius: 999px;
  height: 3px;
  left: 50%;
  top: 50%;
  transform-origin: left center;
  width: 135px;
  z-index: 1;
}

.raycast-a {
  transform: rotate(-28deg);
}

.raycast-b {
  transform: rotate(19deg);
}

.raycast-c {
  transform: rotate(55deg);
}

.drone-obstacle {
  background: var(--red);
  border-radius: 5px;
  height: 42px;
  width: 42px;
}

.obstacle-a {
  right: 18%;
  top: 28%;
}

.obstacle-b {
  bottom: 24%;
  right: 24%;
}

.obstacle-c {
  left: 20%;
  top: 28%;
}

.space-target {
  background: rgba(247, 248, 250, 0.9);
  border-radius: 50%;
  height: 74px;
  right: 21%;
  top: 33%;
  width: 74px;
}

.space-target::after {
  background: var(--red);
  border-radius: 50%;
  content: "";
  height: 14px;
  left: 30px;
  position: absolute;
  top: 30px;
  width: 14px;
}

.space-orbit {
  border: 2px dashed rgba(102, 214, 204, 0.45);
  border-radius: 50%;
  height: 170px;
  right: 11%;
  top: 18%;
  width: 170px;
}

.space-vehicle {
  background: var(--blue);
  border: 4px solid #111821;
  border-radius: 8px;
  bottom: 33%;
  height: 48px;
  left: 24%;
  width: 72px;
}

.space-arm {
  background: #f1b340;
  border-radius: 999px;
  height: 9px;
  transform-origin: left center;
}

.arm-a {
  bottom: 42%;
  left: 30%;
  transform: rotate(-24deg);
  width: 110px;
}

.arm-b {
  bottom: 36%;
  left: 39%;
  transform: rotate(17deg);
  width: 92px;
}

.space-touch {
  background: #66d6cc;
  border-radius: 50%;
  height: 18px;
  right: 25%;
  top: 45%;
  width: 18px;
}

.section-quiet {
  background: var(--quiet-bg);
  max-width: none;
}

.section-quiet > * {
  margin-left: auto;
  margin-right: auto;
  max-width: 1100px;
}

.capability-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.capability-grid article {
  background: var(--grid-panel);
  min-width: 0;
  padding: 24px;
}

.capability-grid h3,
.skills-panel h3 {
  margin-bottom: 8px;
}

.capability-grid p,
.skills-panel p {
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 0;
}

.xr-validation-layout {
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 0.96fr) minmax(340px, 1.04fr);
  margin-bottom: 20px;
}

.xr-lead-card,
.video-embed-card,
.xr-program-grid article,
.test-rig-grid article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-width: 0;
}

.xr-lead-card {
  border-left: 4px solid var(--teal);
  padding: 28px;
}

.xr-lead-card > p:not(.project-kicker) {
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 24px;
}

.xr-fact-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
}

.xr-fact-grid div {
  background: var(--grid-panel);
  border-left: 3px solid var(--blue);
  padding: 16px;
}

.xr-fact-grid div:nth-child(2) {
  border-left-color: var(--teal);
}

.xr-fact-grid div:nth-child(3) {
  border-left-color: var(--amber);
}

.xr-fact-grid div:nth-child(4) {
  border-left-color: var(--red);
}

.xr-fact-grid dt {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 850;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.xr-fact-grid dd {
  font-weight: 750;
  line-height: 1.35;
  margin: 0;
}

.xr-video-column {
  display: grid;
  gap: 16px;
}

.video-embed-card {
  display: grid;
  gap: 0;
  overflow: hidden;
}

.video-embed-card iframe {
  aspect-ratio: 16 / 9;
  background: #101318;
  border: 0;
  display: block;
  width: 100%;
}

.video-embed-card div {
  padding: 18px;
}

.video-embed-card p,
.xr-program-grid p,
.test-rig-grid p {
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 0;
}

.reference-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.xr-program-grid,
.test-rig-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 20px;
}

.xr-program-grid article,
.test-rig-grid article {
  padding: 22px;
}

.xr-program-grid article {
  border-top: 4px solid var(--blue);
}

.xr-program-grid article:nth-child(2) {
  border-top-color: var(--teal);
}

.xr-program-grid article:nth-child(3) {
  border-top-color: var(--amber);
}

.xr-program-grid article:nth-child(4) {
  border-top-color: var(--red);
}

.test-rig-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.test-rig-grid article {
  border-left: 4px solid var(--teal);
}

.test-rig-grid article:nth-child(2),
.test-rig-grid article:nth-child(5) {
  border-left-color: var(--blue);
}

.test-rig-grid article:nth-child(3),
.test-rig-grid article:nth-child(6) {
  border-left-color: var(--amber);
}

.about-layout {
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 1.05fr);
}

.about-layout > div:first-child p:last-child {
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.7;
  margin-bottom: 0;
  max-width: 620px;
}

.skills-panel {
  display: grid;
  gap: 1px;
  grid-template-columns: 1fr;
}

.skills-panel div {
  background: var(--panel);
  border-left: 4px solid var(--blue);
  padding: 22px;
}

.skills-panel div:nth-child(2) {
  border-left-color: var(--teal);
}

.skills-panel div:nth-child(3) {
  border-left-color: var(--amber);
}

.skills-panel div:nth-child(4) {
  border-left-color: var(--red);
}

.site-footer {
  align-items: end;
  background: var(--graphite);
  color: #fff;
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 54px clamp(18px, 6vw, 76px);
}

.site-footer h2 {
  font-size: 2rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.footer-links a {
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  font-weight: 750;
  padding: 10px 12px;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  background: rgba(255, 255, 255, 0.1);
}

.copyright {
  color: rgba(255, 255, 255, 0.54);
  grid-column: 1 / -1;
  margin: 0;
}

.project-hero {
  align-items: flex-end;
  background: #101318;
  display: flex;
  min-height: 82svh;
  overflow: hidden;
  padding: 118px clamp(18px, 6vw, 76px) 52px;
  position: relative;
}

.art-hero {
  background:
    linear-gradient(90deg, rgba(8, 11, 16, 0.94), rgba(8, 11, 16, 0.58)),
    #101318;
}

.project-hero-art {
  inset: 0;
  opacity: 0.78;
  overflow: hidden;
  position: absolute;
}

.drone-hero-art {
  background:
    linear-gradient(90deg, rgba(10, 12, 16, 0.88), rgba(10, 12, 16, 0.22)),
    radial-gradient(circle at 70% 38%, rgba(72, 211, 200, 0.16), transparent 28%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: auto, auto, 44px 44px, 44px 44px;
}

.drone-hero-art .drone-body {
  left: 68%;
  top: 43%;
}

.drone-hero-art .rotor-a {
  left: 60%;
  top: 31%;
}

.drone-hero-art .rotor-b {
  right: 20%;
  top: 31%;
}

.drone-hero-art .rotor-c {
  bottom: 35%;
  left: 60%;
}

.drone-hero-art .rotor-d {
  bottom: 35%;
  right: 20%;
}

.drone-hero-art .drone-ray {
  left: calc(68% + 20px);
  top: calc(43% + 20px);
  width: 220px;
}

.drone-hero-art .obstacle-a {
  right: 11%;
  top: 26%;
}

.drone-hero-art .obstacle-b {
  bottom: 24%;
  right: 16%;
}

.drone-hero-art .obstacle-c {
  left: auto;
  right: 32%;
  top: 18%;
}

.project-hero-video {
  height: 100%;
  inset: 0;
  object-fit: cover;
  opacity: 0.58;
  position: absolute;
  width: 100%;
}

.project-hero-content {
  color: #fff;
  max-width: 800px;
  position: relative;
  z-index: 2;
}

.project-hero-content p:last-child {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
  line-height: 1.65;
  max-width: 690px;
}

.project-overview,
.project-video-block,
.project-next {
  align-items: start;
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
}

.project-facts {
  margin: 0;
}

.project-video-block video {
  aspect-ratio: 16 / 9;
}

.detail-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.detail-grid article {
  background: var(--panel);
  border-left: 4px solid var(--blue);
  min-width: 0;
  padding: 24px;
}

.detail-grid article:nth-child(2),
.detail-grid article:nth-child(5) {
  border-left-color: var(--teal);
}

.detail-grid article:nth-child(3),
.detail-grid article:nth-child(6) {
  border-left-color: var(--amber);
}

.detail-grid article:nth-child(4) {
  border-left-color: var(--red);
}

.detail-grid p {
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 0;
}

.media-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.media-grid article {
  background: var(--grid-panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-width: 0;
  padding: 18px;
}

.media-grid h3 {
  margin-bottom: 14px;
}

.media-grid video {
  background: #101318;
  border-radius: 6px;
  display: block;
  width: 100%;
}

.image-stack {
  display: grid;
  gap: 14px;
}

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

.image-stack img {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: block;
  width: 100%;
}

.evidence-list {
  background: var(--grid-panel);
  border-left: 4px solid var(--teal);
  padding: 24px 24px 24px 42px;
}

@media (max-width: 920px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .nav {
    justify-content: flex-start;
  }

  .header-actions {
    justify-content: space-between;
    width: 100%;
  }

  .hero {
    padding-top: 142px;
  }

  h1 {
    font-size: 3.1rem;
  }

  h2 {
    font-size: 1.85rem;
  }

  .intro-strip,
  .featured-case,
  .project-grid,
  .capability-grid,
  .xr-validation-layout,
  .xr-fact-grid,
  .xr-program-grid,
  .test-rig-grid,
  .about-layout,
  .project-overview,
  .project-video-block,
  .project-next,
  .detail-grid,
  .media-grid,
  .grid-images {
    grid-template-columns: 1fr;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
  }

  .filter-bar {
    width: 100%;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand-mark {
    height: 30px;
    width: 30px;
  }

  .nav {
    gap: 6px 12px;
  }

  .nav a {
    font-size: 0.86rem;
  }

  .hero {
    min-height: 82svh;
    padding: 142px 18px 34px;
  }

  .project-hero {
    min-height: 82svh;
    padding: 142px 18px 36px;
  }

  h1 {
    font-size: 2.35rem;
    line-height: 1.03;
  }

  .hero-copy {
    font-size: 0.98rem;
  }

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

  .button {
    width: 100%;
  }

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

  .section {
    padding-bottom: 58px;
    padding-top: 58px;
  }

  .project-body,
  .xr-lead-card,
  .video-embed-card div,
  .xr-program-grid article,
  .test-rig-grid article,
  .capability-grid article,
  .skills-panel div,
  .detail-grid article {
    padding: 18px;
  }

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

  .footer-links {
    justify-content: flex-start;
  }
}

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

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