@import url("https://fonts.googleapis.com/css2?family=Inter:wght@700;800;900&family=JetBrains+Mono:wght@400;600;700;800&display=swap");
:root {
  --bg: #010403;
  --panel: rgba(3, 12, 8, 0.9);
  --acid: #a2ff2f;
  --a: 162, 255, 47;
  --hot: #ff2a9d;
  --h: 255, 42, 157;
  --text: #efffe8;
  --muted: #9caf9e;
  --line: rgba(var(--a), 0.23);
  --x: 50vw;
  --y: 35vh;
  --mono: "JetBrains Mono", Consolas, monospace;
  --sans: Inter, Arial, sans-serif;
}
:root[data-theme="pink"] {
  --acid: #ff2a9d;
  --a: 255, 42, 157;
  --hot: #a2ff2f;
  --h: 162, 255, 47;
}
:root[data-theme="amber"] {
  --acid: #ffb000;
  --a: 255, 176, 0;
  --hot: #ff5a2f;
  --h: 255, 90, 47;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  color-scheme: dark;
  background: var(--bg);
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  overflow: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--mono), monospace;
}
body.is-loading {
  overflow: hidden !important;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
img,
video {
  display: block;
  max-width: 100%;
}
::selection {
  background: var(--acid);
  color: var(--bg);
}
:focus-visible {
  outline: 2px solid var(--hot);
  outline-offset: 4px;
}
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(
      circle at var(--x) var(--y),
      rgba(var(--a), 0.1),
      transparent 23rem
    ),
    radial-gradient(circle at 80% 18%, rgba(var(--h), 0.08), transparent 28rem),
    var(--bg);
}
.startup-screen {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 48%, rgba(var(--a), 0.12), transparent 34rem),
    linear-gradient(rgba(var(--a), 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--a), 0.035) 1px, transparent 1px), #010403;
  background-size:
    auto,
    36px 36px,
    36px 36px,
    auto;
  opacity: 1;
  visibility: visible;
  transition:
    opacity 0.55s ease,
    visibility 0s linear 0s;
}
.startup-screen:before {
  content: "";
  position: absolute;
  inset: -30% 0 auto;
  height: 30%;
  pointer-events: none;
  background: linear-gradient(
    transparent,
    rgba(var(--a), 0.08),
    rgba(var(--a), 0.18),
    transparent
  );
  animation: startupSweep 1.5s linear infinite;
}
.startup-screen.is-complete {
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.55s ease,
    visibility 0s linear 0.55s;
}
.startup-screen[hidden] {
  display: none;
}
.startup-panel {
  position: relative;
  width: min(560px, 100%);
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid rgba(var(--a), 0.48);
  background: rgba(2, 9, 6, 0.94);
  box-shadow:
    18px 18px 0 rgba(var(--h), 0.065),
    0 0 70px rgba(var(--a), 0.08);
  clip-path: polygon(
    20px 0,
    100% 0,
    100% calc(100% - 20px),
    calc(100% - 20px) 100%,
    0 100%,
    0 20px
  );
}
.startup-panel:after {
  content: "PRELOAD // VIDEO.MP4";
  position: absolute;
  top: 14px;
  right: 18px;
  color: rgba(var(--a), 0.52);
  font-size: 0.52rem;
  letter-spacing: 0.11em;
}
.startup-panel img {
  width: min(210px, 58%);
  margin-bottom: 24px;
  filter: drop-shadow(0 0 20px rgba(var(--a), 0.2));
}
.startup-panel h1 {
  margin-top: 10px;
  color: var(--text);
  font-family: var(--sans), sans-serif;
  font-size: clamp(2.2rem, 7vw, 5rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.06em;
}
.startup-track {
  height: 9px;
  margin-top: 30px;
  overflow: hidden;
  border: 1px solid rgba(var(--a), 0.38);
  background: rgba(var(--a), 0.055);
}
.startup-track i {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--acid), var(--hot));
  box-shadow: 0 0 18px rgba(var(--a), 0.65);
  transition: width 0.12s linear;
}
.startup-readout {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 11px;
  color: #8ca08f;
  font-size: 0.58rem;
  letter-spacing: 0.08em;
}
.startup-readout b {
  color: var(--hot);
}
.shell:before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(var(--a), 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--a), 0.035) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(#000, transparent 88%);
}
.matrix,
.trail {
  position: fixed;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.matrix {
  opacity: 0.22;
}
.trail {
  z-index: 8;
  opacity: 0.8;
}
.scanlines {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: 0.16;
  background: repeating-linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.025) 0 1px,
    transparent 2px 5px
  );
  mix-blend-mode: screen;
}
header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  height: 76px;
  display: grid;
  grid-template-columns: 180px 1fr 210px;
  align-items: center;
  gap: 22px;
  padding: 0 4.5vw;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(rgba(1, 4, 3, 0.97), rgba(1, 4, 3, 0.78));
  backdrop-filter: blur(18px);
}
header:after {
  content: "";
  position: absolute;
  left: 4.5vw;
  right: 4.5vw;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--acid), transparent);
  opacity: 0.5;
}
.mini-logo {
  width: 134px;
}
.mini-logo img {
  width: 100%;
  filter: drop-shadow(0 0 12px rgba(var(--a), 0.2));
}
header nav {
  display: flex;
  justify-content: center;
  gap: clamp(10px, 1.35vw, 22px);
}
header nav a {
  position: relative;
  display: flex;
  gap: 7px;
  padding: 8px 0;
  color: #819284;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
header nav a span {
  color: rgba(var(--a), 0.42);
  font-size: 0.58rem;
}
header nav a:after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 1px;
  height: 1px;
  background: var(--acid);
  transition: 0.18s;
}
header nav a:hover,
header nav a.active {
  color: var(--text);
}
header nav a.active:after {
  right: 0;
}
.online {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--acid);
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.online i,
.available i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 14px rgba(var(--a), 0.8);
  animation: pulse 2s ease-in-out infinite;
}
main {
  position: relative;
  z-index: 2;
  height: 100svh;
  overflow-x: hidden;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--acid) #020806;
}
.snap {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  overflow: hidden;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  align-items: center;
  padding: 108px 5.5vw 66px;
  border-bottom: 1px solid rgba(var(--a), 0.16);
}
.inner {
  position: relative;
  z-index: 4;
  width: min(1280px, 100%);
  margin: auto;
}
.rail {
  position: fixed;
  right: 22px;
  top: 50%;
  z-index: 39;
  display: grid;
  gap: 15px;
  transform: translateY(-50%);
}
.rail a {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-width: 16px;
  min-height: 16px;
}
.rail i {
  width: 5px;
  height: 5px;
  border: 1px solid rgba(var(--a), 0.56);
  background: #010403;
  transform: rotate(45deg);
  transition: 0.18s;
}
.rail b {
  position: absolute;
  right: 22px;
  padding: 5px 8px;
  border: 1px solid var(--line);
  background: #010403e8;
  color: var(--acid);
  font-size: 0.58rem;
  text-transform: uppercase;
  opacity: 0;
  white-space: nowrap;
}
.rail a:hover b {
  opacity: 1;
}
.rail a.active i {
  width: 10px;
  height: 10px;
  background: var(--acid);
  box-shadow: 0 0 15px rgba(var(--a), 0.8);
}
.contact-beacon {
  position: fixed;
  right: 50px;
  bottom: 28px;
  z-index: 41;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 16px 0 19px;
  overflow: hidden;
  border: 1px solid var(--hot);
  background: rgba(5, 8, 6, 0.93);
  color: var(--text);
  font-size: 0.63rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow:
    0 0 14px rgba(var(--h), 0.42),
    0 0 36px rgba(var(--h), 0.18),
    7px 7px 0 rgba(var(--a), 0.12);
  clip-path: polygon(
    10px 0,
    100% 0,
    100% calc(100% - 10px),
    calc(100% - 10px) 100%,
    0 100%,
    0 10px
  );
  animation: contactBeacon 2.4s ease-in-out infinite;
}
.contact-beacon:before {
  content: "";
  position: absolute;
  inset: 0 auto 0 -45%;
  width: 32%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(var(--a), 0.34),
    transparent
  );
  transform: skewX(-18deg);
  animation: beaconSweep 3s linear infinite;
}
.contact-beacon span,
.contact-beacon i {
  position: relative;
  z-index: 1;
}
.contact-beacon i {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid var(--acid);
  color: var(--acid);
  font-style: normal;
  box-shadow: 0 0 12px rgba(var(--a), 0.35);
}
.contact-beacon:hover {
  border-color: var(--acid);
  color: var(--acid);
  animation-play-state: paused;
}
.next {
  position: absolute;
  z-index: 6;
  left: 50%;
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #718375;
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transform: translateX(-50%);
}
.next b {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border: 1px solid var(--line);
  color: var(--acid);
  animation: bounce 1.8s infinite;
}
.next:hover {
  color: var(--text);
}
.code {
  color: var(--acid);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.code:before {
  content: "[";
  color: var(--hot);
  margin-right: 7px;
}
.code:after {
  content: "]";
  color: var(--hot);
  margin-left: 7px;
}
h2 {
  margin-top: 9px;
  color: var(--text);
  font-family: var(--sans), sans-serif;
  font-size: clamp(2rem, 4.1vw, 4.8rem);
  font-weight: 850;
  line-height: 0.95;
  letter-spacing: -0.055em;
}
h3 {
  color: var(--text);
  font-family: var(--sans), sans-serif;
}
p {
  color: var(--muted);
}
.heading {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: end;
  gap: 50px;
  margin-bottom: clamp(24px, 4vh, 42px);
}
.heading > p {
  max-width: 510px;
  justify-self: end;
  font-size: clamp(0.8rem, 1vw, 1rem);
  line-height: 1.72;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 45px;
  padding: 0 20px;
  border: 1px solid var(--acid);
  background: #0104038c;
  color: var(--acid);
  clip-path: polygon(
    10px 0,
    100% 0,
    100% calc(100% - 10px),
    calc(100% - 10px) 100%,
    0 100%,
    0 10px
  );
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: 0.18s;
}
.button.primary {
  background: var(--acid);
  color: var(--bg);
}
.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(var(--a), 0.28);
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 25px;
}
.summary {
  max-width: 640px;
  font-size: clamp(0.88rem, 1.2vw, 1.06rem);
  line-height: 1.75;
}
.hero {
  background: linear-gradient(
    90deg,
    rgba(1, 4, 3, 0.98),
    rgba(1, 4, 3, 0.93) 43%,
    rgba(1, 4, 3, 0.7) 75%,
    rgba(1, 4, 3, 0.88)
  );
}
.hero-image {
  position: absolute;
  inset: 0;
  z-index: -4;
  background: url("../images/logo/img5.webp") center/cover;
  filter: saturate(0.78) contrast(1.08);
  opacity: 0.57;
}
.hero-video {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.78) contrast(1.08);
  opacity: 0;
  transform: scale(1.015);
  transition: opacity 0.7s ease;
}
.hero-video.is-ready {
  opacity: 0.62;
}
.hero:after {
  content: "FPV / SYSTEMS / FIELD";
  position: absolute;
  z-index: -1;
  right: -1.5rem;
  bottom: 6rem;
  color: rgba(var(--a), 0.055);
  font-size: clamp(4rem, 10vw, 10rem);
  font-weight: 900;
  letter-spacing: -0.08em;
  white-space: nowrap;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(460px, 1.1fr);
  align-items: center;
  gap: clamp(42px, 6vw, 90px);
}
.wordmark {
  width: min(520px, 88%);
  margin: 19px 0 15px -8px;
  filter: drop-shadow(0 0 25px rgba(var(--a), 0.17))
    drop-shadow(9px 8px 0 rgba(var(--h), 0.11));
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 620px;
  margin-top: 29px;
  border-block: 1px solid var(--line);
}
.stats div {
  padding: 11px 14px;
  border-right: 1px solid var(--line);
}
.stats div:first-child {
  padding-left: 0;
}
.stats div:last-child {
  border: 0;
}
.stats dt {
  color: #607164;
  font-size: 0.56rem;
}
.stats dd {
  margin-top: 3px;
  color: var(--text);
  font-size: 0.65rem;
  font-weight: 800;
}
.terminal {
  position: relative;
  min-height: min(555px, 64vh);
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  overflow: hidden;
  border: 1px solid rgba(var(--a), 0.42);
  background:
    linear-gradient(rgba(var(--a), 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--a), 0.025) 1px, transparent 1px),
    rgba(2, 9, 6, 0.92);
  background-size:
    20px 20px,
    20px 20px,
    auto;
  box-shadow:
    15px 15px 0 rgba(var(--h), 0.045),
    0 28px 80px #0008;
  clip-path: polygon(
    15px 0,
    100% 0,
    100% calc(100% - 15px),
    calc(100% - 15px) 100%,
    0 100%,
    0 15px
  );
  transition:
    min-height 0.35s ease,
    max-height 0.35s ease,
    transform 0.35s ease,
    box-shadow 0.35s ease;
}
.terminal.is-collapsed {
  min-height: 44px;
  max-height: 44px;
  align-self: start;
  grid-template-rows: auto;
  cursor: pointer;
  box-shadow:
    9px 9px 0 rgba(var(--h), 0.07),
    0 0 32px rgba(var(--a), 0.15);
}
.terminal.is-collapsed > :not(.term-bar) {
  display: none;
}
.terminal.is-collapsed .term-bar {
  border-bottom: 0;
}
.term-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  padding: 0 15px;
  border-bottom: 1px solid var(--line);
  background: rgba(var(--a), 0.045);
  color: #91a895;
  font-size: 0.63rem;
}
.term-actions {
  display: flex;
  align-items: center;
  gap: 11px;
}
.term-actions button {
  min-height: 25px;
  padding: 0 8px;
  border: 1px solid rgba(var(--a), 0.34);
  background: rgba(var(--a), 0.04);
  color: #91a895;
  font-size: 0.51rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}
.term-actions button:hover {
  border-color: var(--acid);
  color: var(--acid);
}
.term-bar b {
  color: var(--acid);
}
.term-output {
  max-height: 310px;
  min-height: 265px;
  overflow-y: auto;
  padding: 16px 18px;
  scrollbar-color: var(--acid) transparent;
}
.term-output p {
  margin-bottom: 6px;
  color: #afc7b3;
  font-size: clamp(0.65rem, 0.84vw, 0.77rem);
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.term-output .ok {
  color: var(--acid);
}
.term-output .pink {
  color: var(--hot);
}
.term-output .dim {
  color: #647567;
}
.term-output .err {
  color: #ff7070;
}
.term-output .cmd {
  color: var(--text);
}
.terminal form {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 9px;
  min-height: 47px;
  padding: 6px 8px 6px 16px;
  border-top: 1px solid var(--line);
  background: #0005;
}
.terminal form > span {
  color: var(--acid);
  font-size: 0.7rem;
  font-weight: 800;
}
.terminal input {
  min-width: 0;
  height: 34px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 0.73rem;
}
.terminal form button {
  height: 30px;
  padding: 0 12px;
  border: 1px solid var(--acid);
  background: transparent;
  color: var(--acid);
  font-size: 0.6rem;
  font-weight: 800;
}
.terminal button:disabled {
  opacity: 0.35;
}
.quick {
  display: flex;
  gap: 7px;
  padding: 7px 10px;
  border-top: 1px solid rgba(var(--a), 0.1);
  overflow-x: auto;
}
.quick button {
  padding: 4px 9px;
  border: 1px solid rgba(var(--a), 0.24);
  background: rgba(var(--a), 0.035);
  color: #879c8b;
  font-size: 0.56rem;
}
.reel {
  background:
    radial-gradient(circle at 90% 18%, rgba(var(--h), 0.12), transparent 22rem),
    linear-gradient(135deg, #020705, #07120d 58%, #010403);
}
.reel-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
}
.video {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(var(--a), 0.38);
  background: #000;
  clip-path: polygon(
    16px 0,
    100% 0,
    100% calc(100% - 16px),
    calc(100% - 16px) 100%,
    0 100%,
    0 16px
  );
}
.video video {
  width: 100%;
  height: min(56vh, 620px);
  object-fit: cover;
}
.video-hud {
  position: absolute;
  z-index: 3;
  inset: 0 0 auto;
  display: flex;
  justify-content: space-between;
  padding: 13px 16px;
  background: linear-gradient(#000b, transparent);
  font-size: 0.56rem;
  letter-spacing: 0.12em;
}
.video-hud span:first-child {
  color: var(--hot);
}
.manifest {
  padding: 21px;
  border: 1px solid var(--line);
  background: rgba(4, 13, 9, 0.84);
}
.manifest article {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.manifest article > span {
  color: var(--hot);
  font-size: 0.63rem;
}
.manifest h3 {
  margin-bottom: 5px;
  font-size: 0.9rem;
}
.manifest article p {
  font-size: 0.73rem;
  line-height: 1.58;
}
.projects {
  background:
    linear-gradient(rgba(1, 4, 3, 0.96), rgba(2, 9, 6, 0.97)),
    url("../images/logo/img1.webp") center/cover;
}
.project-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.7fr;
  grid-template-rows: repeat(2, minmax(190px, 1fr));
  gap: 12px;
  min-height: min(57vh, 580px);
}
.project-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 20px;
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(var(--a), 0.055), transparent 55%),
    rgba(4, 13, 9, 0.88);
  clip-path: polygon(
    12px 0,
    100% 0,
    100% calc(100% - 12px),
    calc(100% - 12px) 100%,
    0 100%,
    0 12px
  );
}
.project-card.feature {
  grid-row: 1/3;
}
.project-card.feature > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.project-card.feature > div {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
  background: linear-gradient(transparent 18%, rgba(1, 4, 3, 0.93) 83%);
}
.project-card > b {
  position: absolute;
  top: 10px;
  right: 15px;
  color: rgba(var(--a), 0.12);
  font-family: var(--sans);
  font-size: clamp(3rem, 5vw, 5.5rem);
  font-weight: 900;
}
.project-card > span,
.feature span {
  color: var(--acid);
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.project-card h3 {
  margin: 9px 0 7px;
  font-size: clamp(1rem, 1.4vw, 1.32rem);
  line-height: 1.08;
}
.project-card p {
  font-size: 0.7rem;
  line-height: 1.55;
}
.project-card.pink {
  background:
    linear-gradient(145deg, rgba(var(--h), 0.09), transparent 60%),
    rgba(8, 6, 10, 0.9);
}
.project-card.pink > span {
  color: var(--hot);
}
.project-card {
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.project-card:hover {
  z-index: 3;
  transform: translateY(-4px);
  border-color: var(--acid);
  box-shadow: 0 14px 40px rgba(var(--a), 0.12);
}
.project-card .card-action {
  position: relative;
  z-index: 4;
  align-self: flex-start;
  margin-top: 12px;
  color: var(--hot);
  font-size: 0.52rem;
  letter-spacing: 0.1em;
}
.project-card.feature > .card-action {
  position: absolute;
  right: 25px;
  bottom: 26px;
}
.project-card.feature > div {
  padding-right: 145px;
}
.project-library-link {
  display: block;
  width: fit-content;
  margin-top: 11px;
  color: var(--acid);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.project-library-link:hover {
  color: var(--hot);
}
.skills {
  background: linear-gradient(
    90deg,
    #010403,
    rgba(1, 4, 3, 0.96) 54%,
    rgba(1, 4, 3, 0.73)
  );
}
.skills-image {
  position: absolute;
  inset: 0 0 0 50%;
  z-index: -2;
  background:
    linear-gradient(90deg, #010403, transparent 35%),
    url("../images/logo/img4.webp") center/cover;
  opacity: 0.38;
}
.skills-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(24px, 4vw, 56px);
}
.capabilities {
  border-top: 1px solid var(--line);
}
.capabilities article {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 14px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}
.capabilities article > span {
  color: var(--hot);
  font-size: 0.66rem;
}
.capabilities h3 {
  font-size: 1.03rem;
}
.capabilities p {
  margin-top: 4px;
  font-size: 0.7rem;
  line-height: 1.55;
}
.missions {
  padding: 21px;
  border: 1px solid rgba(var(--a), 0.33);
  background: rgba(2, 9, 6, 0.86);
}
.mission {
  position: relative;
  margin-top: 16px;
  padding: 14px 16px 14px 22px;
  border-left: 1px solid var(--acid);
  background: rgba(var(--a), 0.035);
}
.mission:before {
  content: "";
  position: absolute;
  left: -4px;
  top: 18px;
  width: 7px;
  height: 7px;
  background: var(--acid);
  transform: rotate(45deg);
}
.mission span {
  color: var(--hot);
  font-size: 0.56rem;
}
.mission h3 {
  margin: 5px 0 3px;
  font-size: 0.93rem;
}
.mission p {
  font-size: 0.66rem;
}
.mission.hot {
  border-color: var(--hot);
}
.rates {
  background:
    radial-gradient(circle at 18% 72%, rgba(var(--a), 0.1), transparent 23rem),
    radial-gradient(circle at 84% 18%, rgba(var(--h), 0.12), transparent 28rem),
    linear-gradient(135deg, #010403, #061009 56%, #020504);
}
.rate-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.rate-card {
  position: relative;
  min-height: 205px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid rgba(var(--a), 0.28);
  background:
    linear-gradient(rgba(var(--a), 0.025) 1px, transparent 1px),
    rgba(2, 9, 6, 0.86);
  background-size:
    100% 18px,
    auto;
  clip-path: polygon(
    12px 0,
    100% 0,
    100% calc(100% - 12px),
    calc(100% - 12px) 100%,
    0 100%,
    0 12px
  );
}
.rate-card:after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 36px;
  height: 2px;
  background: var(--acid);
  box-shadow: 0 0 12px rgba(var(--a), 0.7);
}
.rate-card.hot {
  border-color: rgba(var(--h), 0.55);
}
.rate-card.hot:after {
  background: var(--hot);
  box-shadow: 0 0 12px rgba(var(--h), 0.7);
}
.rate-card > span {
  color: var(--hot);
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.rate-card h3 {
  margin-top: 12px;
  font-family: var(--sans), sans-serif;
  font-size: 1.05rem;
}
.rate-card > p:last-child {
  margin-top: 14px;
  color: #91a394;
  font-size: 0.66rem;
  line-height: 1.55;
}
.rate-price {
  display: flex;
  align-items: flex-end;
  gap: 9px;
  margin-top: 13px;
}
.rate-price b {
  color: var(--acid);
  font-family: var(--sans), sans-serif;
  font-size: clamp(2rem, 3vw, 3.25rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
  text-shadow: 0 0 22px rgba(var(--a), 0.22);
}
.rate-price em {
  padding-bottom: 3px;
  color: #728476;
  font-size: 0.52rem;
  font-style: normal;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.quote-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 14px;
  padding: 17px 20px;
  border: 1px solid rgba(var(--a), 0.25);
  background: rgba(2, 9, 6, 0.9);
}
.quote-strip h3 {
  margin-top: 3px;
  font-size: 1rem;
}
.quote-strip > div > p:last-child {
  margin-top: 4px;
  color: #819284;
  font-size: 0.62rem;
}
.quote-strip .actions {
  margin-top: 0;
  flex-shrink: 0;
}
.contact {
  background: linear-gradient(
    90deg,
    rgba(1, 4, 3, 0.98),
    rgba(1, 4, 3, 0.94) 50%,
    rgba(1, 4, 3, 0.68)
  );
}
.contact-image {
  position: absolute;
  inset: 0;
  z-index: -3;
  background: url("../images/logo/img1.webp") center/cover;
  opacity: 0.35;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  align-items: center;
  gap: clamp(50px, 8vw, 120px);
}
.contact h2 {
  font-size: clamp(2.6rem, 5.5vw, 6.5rem);
}
.contact .summary {
  margin-top: 22px;
}
.contact-console {
  border: 1px solid rgba(var(--a), 0.35);
  background: rgba(2, 9, 6, 0.88);
  box-shadow: 17px 17px 0 rgba(var(--h), 0.05);
}
.contact-console > p {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 0.68rem;
}
.contact-console span {
  color: var(--acid);
  font-size: 0.56rem;
  font-weight: 800;
}
.contact-console a,
.contact-console b {
  color: var(--text);
}
.available {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 17px 18px;
  color: var(--acid);
  font-size: 0.6rem;
  font-weight: 800;
}
footer {
  position: absolute;
  left: 5.5vw;
  right: 5.5vw;
  bottom: 16px;
  display: flex;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: #607063;
  font-size: 0.55rem;
}
footer a {
  color: var(--acid);
}

/* Standalone project and download pages */
.project-page {
  overflow-x: hidden;
  overflow-y: auto;
}
.project-page .project-shell {
  min-height: 100vh;
  overflow: visible;
}
.project-page .project-main {
  position: relative;
  z-index: 2;
  height: auto;
  min-height: 100vh;
  overflow: visible;
  padding: 76px 0 0;
}
.sub-header {
  grid-template-columns: 180px 1fr auto;
}
.sub-header nav {
  justify-content: flex-end;
}
.sub-header .sub-status {
  justify-self: end;
  padding: 8px 11px;
  border: 1px solid var(--line);
  color: var(--acid);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.09em;
}
.sub-header .sub-status:hover {
  border-color: var(--hot);
  color: var(--hot);
}
.project-hero,
.content-section,
.downloads-hero {
  width: min(1180px, calc(100% - 11vw));
  margin-inline: auto;
}
.project-hero {
  min-height: calc(76svh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.75fr);
  align-items: center;
  gap: clamp(38px, 7vw, 100px);
  padding: clamp(72px, 10vh, 118px) 0 54px;
}
.project-hero h1,
.downloads-hero h1 {
  max-width: 920px;
  margin-top: 15px;
  font-family: var(--sans);
  font-size: clamp(3rem, 7vw, 7.8rem);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -0.065em;
  text-transform: uppercase;
}
.project-hero h1 em,
.downloads-hero h1 em {
  color: var(--acid);
  font-style: normal;
  text-shadow: 0 0 34px rgba(var(--a), 0.22);
}
.project-lead {
  max-width: 720px;
  margin-top: 25px;
  color: var(--muted);
  font-size: clamp(0.8rem, 1.1vw, 1rem);
  line-height: 1.75;
}
.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 25px;
}
.project-meta span,
.status-chip {
  padding: 7px 10px;
  border: 1px solid var(--line);
  background: rgba(var(--a), 0.035);
  color: var(--acid);
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.09em;
}
.system-card {
  position: relative;
  min-height: 390px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid rgba(var(--a), 0.42);
  background:
    linear-gradient(rgba(var(--a), 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--a), 0.04) 1px, transparent 1px),
    rgba(2, 9, 6, 0.92);
  background-size: 24px 24px;
  box-shadow: 17px 17px 0 rgba(var(--h), 0.045);
  clip-path: polygon(
    18px 0,
    100% 0,
    100% calc(100% - 18px),
    calc(100% - 18px) 100%,
    0 100%,
    0 18px
  );
}
.system-card:after {
  content: "";
  position: absolute;
  inset: 20% -30%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(var(--a), 0.08),
    transparent
  );
  transform: rotate(-18deg);
}
.system-card > * {
  position: relative;
  z-index: 1;
}
.system-card .system-id {
  display: flex;
  justify-content: space-between;
  color: var(--hot);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
}
.system-card strong {
  display: block;
  margin: 50px 0 18px;
  color: var(--acid);
  font-family: var(--sans);
  font-size: clamp(4rem, 7vw, 7rem);
  line-height: 0.8;
}
.system-card h2 {
  font-size: 1.1rem;
  text-transform: uppercase;
}
.system-card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.6;
}
.system-lines {
  display: grid;
  gap: 8px;
  margin-top: 28px;
}
.system-lines span {
  display: flex;
  justify-content: space-between;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--line);
  color: #829486;
  font-size: 0.57rem;
}
.system-lines b {
  color: var(--text);
}
.content-section {
  padding: 72px 0;
  border-top: 1px solid var(--line);
}
.section-heading {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 0.7fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 30px;
}
.section-heading h2 {
  margin-top: 10px;
  font-family: var(--sans);
  font-size: clamp(2rem, 4vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}
.section-heading > p {
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.7;
}
.showcase-window {
  overflow: hidden;
  border: 1px solid rgba(var(--a), 0.42);
  background: #020806;
  box-shadow: 18px 18px 0 rgba(var(--h), 0.045);
  clip-path: polygon(
    18px 0,
    100% 0,
    100% calc(100% - 18px),
    calc(100% - 18px) 100%,
    0 100%,
    0 18px
  );
}
.showcase-bar,
.showcase-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 48px;
  padding: 9px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(var(--a), 0.04);
  color: #879c8b;
  font-size: 0.58rem;
  letter-spacing: 0.08em;
}
.showcase-stage {
  min-height: 520px;
}
.showcase-slide {
  display: none;
  min-height: 520px;
  grid-template-columns: minmax(0, 1.15fr) minmax(270px, 0.65fr);
  align-items: center;
  gap: clamp(28px, 5vw, 70px);
  padding: clamp(28px, 5vw, 68px);
}
.showcase-slide.active {
  display: grid;
  animation: slideIn 0.35s ease both;
}
.slide-visual {
  min-height: 340px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 48%, rgba(var(--a), 0.12), transparent 40%),
    linear-gradient(rgba(var(--a), 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--a), 0.035) 1px, transparent 1px), #010403;
  background-size:
    auto,
    28px 28px,
    28px 28px,
    auto;
}
.slide-visual svg {
  width: min(76%, 430px);
  max-height: 310px;
  filter: drop-shadow(0 0 18px rgba(var(--a), 0.25));
}
.slide-copy .slide-number {
  color: var(--hot);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
}
.slide-copy h3 {
  margin: 12px 0;
  font-family: var(--sans);
  font-size: clamp(1.6rem, 3vw, 3rem);
  line-height: 1;
  text-transform: uppercase;
}
.slide-copy p {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.75;
}
.slide-list {
  display: grid;
  gap: 9px;
  margin-top: 18px;
  list-style: none;
}
.slide-list li {
  padding: 9px 11px;
  border-left: 2px solid var(--acid);
  background: rgba(var(--a), 0.04);
  color: #bfd0c1;
  font-size: 0.65rem;
}
.showcase-controls {
  border-top: 1px solid var(--line);
  border-bottom: 0;
}
.showcase-controls button,
.filter-button {
  cursor: pointer;
  padding: 8px 12px;
  border: 1px solid var(--line);
  background: rgba(var(--a), 0.035);
  color: var(--text);
  font: 700 0.58rem var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.showcase-controls button:hover,
.showcase-controls button.active,
.filter-button:hover,
.filter-button.active {
  border-color: var(--acid);
  color: var(--acid);
}
.showcase-dots {
  display: flex;
  gap: 7px;
}
.showcase-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 50%;
}
.showcase-dots button.active {
  background: var(--acid);
  box-shadow: 0 0 12px rgba(var(--a), 0.7);
}
.metric-stack {
  width: min(82%, 470px);
  display: grid;
  gap: 12px;
}
.metric-row {
  display: grid;
  grid-template-columns: 100px 1fr 50px;
  align-items: center;
  gap: 12px;
  font-size: 0.6rem;
}
.metric-bar {
  height: 9px;
  background: rgba(var(--a), 0.09);
}
.metric-bar i {
  display: block;
  height: 100%;
  width: 50%;
  background: linear-gradient(90deg, var(--acid), var(--hot));
  box-shadow: 0 0 12px rgba(var(--a), 0.4);
}
.metric-row:nth-child(1) .metric-bar i {
  width: 88%;
}
.metric-row:nth-child(2) .metric-bar i {
  width: 76%;
}
.metric-row:nth-child(3) .metric-bar i {
  width: 92%;
}
.metric-row:nth-child(4) .metric-bar i {
  width: 81%;
}
.metric-row:nth-child(5) .metric-bar i {
  width: 86%;
}
.metric-row b {
  color: var(--hot);
}
.pipeline {
  width: 86%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.pipeline span {
  position: relative;
  min-height: 88px;
  display: grid;
  place-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  background: rgba(var(--a), 0.04);
  color: var(--acid);
  font-size: 0.58rem;
  text-align: center;
}
.pipeline span:not(:last-child):after {
  content: "→";
  position: absolute;
  right: -17px;
  color: var(--hot);
}
.architecture-grid,
.project-download-grid,
.idea-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.detail-card,
.download-card,
.idea-card {
  padding: 24px;
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(var(--a), 0.055), transparent 55%),
    rgba(3, 11, 7, 0.9);
}
.detail-card span,
.download-card .card-id,
.idea-card span {
  color: var(--hot);
  font-size: 0.57rem;
  font-weight: 800;
  letter-spacing: 0.11em;
}
.detail-card h3,
.download-card h2,
.idea-card h3 {
  margin: 12px 0 8px;
  font-family: var(--sans);
  font-size: 1.12rem;
  text-transform: uppercase;
}
.detail-card p,
.download-card p,
.idea-card p {
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.65;
}
.notice {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  margin-top: 24px;
  padding: 20px;
  border: 1px solid rgba(var(--h), 0.36);
  background: rgba(var(--h), 0.045);
}
.notice strong {
  color: var(--hot);
  font-size: 0.68rem;
}
.notice p {
  color: var(--muted);
  font-size: 0.66rem;
  line-height: 1.6;
}
.demo-video-shell {
  overflow: hidden;
  border: 1px solid rgba(var(--a), 0.42);
  background: #020806;
  box-shadow: 18px 18px 0 rgba(var(--h), 0.045);
  clip-path: polygon(
    18px 0,
    100% 0,
    100% calc(100% - 18px),
    calc(100% - 18px) 100%,
    0 100%,
    0 18px
  );
}
.demo-video-bar,
.demo-video-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(var(--a), 0.04);
  color: #879c8b;
  font-size: 0.58rem;
  letter-spacing: 0.08em;
}
.demo-video-bar span:last-child {
  color: var(--acid);
}
.demo-video-frame {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 420px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, rgba(var(--a), 0.1), transparent 48%),
    linear-gradient(rgba(var(--a), 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--a), 0.025) 1px, transparent 1px), #010403;
  background-size:
    auto,
    28px 28px,
    28px 28px,
    auto;
}
.demo-video-frame video {
  display: block;
  width: 100%;
  max-height: 78vh;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #000;
}
.video-missing-note {
  position: absolute;
  left: 50%;
  bottom: 28px;
  width: min(620px, calc(100% - 40px));
  padding: 16px 18px;
  border: 1px solid rgba(var(--h), 0.7);
  background: rgba(13, 2, 9, 0.94);
  box-shadow: 0 0 30px rgba(var(--h), 0.16);
  transform: translateX(-50%);
}
.video-missing-note strong {
  color: var(--hot);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
}
.video-missing-note p {
  margin-top: 7px;
  color: var(--text);
  font-size: 0.66rem;
  line-height: 1.6;
}
.video-missing-note code,
.process-step code {
  color: var(--acid);
  font-family: var(--mono);
}
.demo-video-caption {
  align-items: flex-start;
  border-top: 1px solid var(--line);
  border-bottom: 0;
  background: rgba(2, 9, 6, 0.94);
}
.demo-video-caption p {
  max-width: 48%;
  color: var(--muted);
  line-height: 1.6;
}
.demo-video-caption span {
  color: var(--hot);
  font-weight: 800;
}
.process-steps {
  display: grid;
  margin: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}
.process-step {
  display: grid;
  grid-template-columns: clamp(72px, 10vw, 120px) minmax(0, 1fr);
  gap: clamp(18px, 4vw, 54px);
  align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.process-step > span {
  color: var(--hot);
  font-family: var(--sans);
  font-size: clamp(2.3rem, 5vw, 4.8rem);
  font-weight: 900;
  line-height: 0.85;
  opacity: 0.78;
}
.process-step h3 {
  margin: 6px 0 8px;
  font-family: var(--sans);
  font-size: clamp(1.25rem, 2.5vw, 2.25rem);
  line-height: 1;
  text-transform: uppercase;
}
.process-step > div > p:last-child {
  max-width: 850px;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.75;
}
.research-section {
  position: relative;
}
.research-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.research-stat {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(var(--a), 0.07), transparent 55%),
    rgba(3, 11, 7, 0.9);
}
.research-stat strong {
  display: block;
  color: var(--acid);
  font-family: var(--sans);
  font-size: clamp(2.6rem, 4.5vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}
.research-stat h3 {
  margin: 16px 0 10px;
  font-size: 0.82rem;
  line-height: 1.35;
  text-transform: uppercase;
}
.research-stat p {
  color: var(--muted);
  font-size: 0.65rem;
  line-height: 1.65;
}
.research-stat a {
  margin-top: auto;
  padding-top: 20px;
  color: var(--hot);
  font-size: 0.56rem;
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.research-stat a:hover,
.source-list a:hover {
  color: var(--acid);
}
.research-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 14px;
  margin-top: 14px;
}
.research-copy,
.source-panel {
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid var(--line);
  background: rgba(3, 11, 7, 0.9);
}
.research-copy h3 {
  margin: 10px 0 14px;
  font-family: var(--sans);
  font-size: clamp(1.5rem, 3vw, 3rem);
  line-height: 1;
  text-transform: uppercase;
}
.research-copy > p:not(.code) {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.75;
}
.source-panel {
  background:
    linear-gradient(145deg, rgba(var(--h), 0.07), transparent 60%),
    rgba(3, 11, 7, 0.9);
}
.source-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  list-style: none;
}
.source-list a {
  display: block;
  padding: 12px 14px;
  border-left: 2px solid var(--hot);
  background: rgba(var(--h), 0.04);
  color: var(--text);
  font-size: 0.64rem;
  line-height: 1.5;
}
.source-download {
  margin-top: 20px;
}
.medical-note {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  margin-top: 14px;
  padding: 22px 24px;
  border: 1px solid rgba(var(--h), 0.52);
  background: rgba(var(--h), 0.055);
}
.medical-note strong {
  color: var(--hot);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
}
.medical-note p {
  color: #c6d2c8;
  font-size: 0.67rem;
  line-height: 1.7;
}
.project-footer {
  width: min(1180px, calc(100% - 11vw));
  position: static;
  margin: 22px auto 0;
  padding: 24px 0 30px;
}
.downloads-hero {
  min-height: 52svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(80px, 13vh, 140px) 0 58px;
}
.downloads-hero p:last-child {
  max-width: 740px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.75;
}
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}
.download-card {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  transition: 0.2s ease;
}
.download-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--a), 0.62);
}
.download-card[hidden] {
  display: none;
}
.download-card .status-chip {
  align-self: flex-start;
  margin-top: 18px;
}
.status-chip.pending {
  border-color: rgba(var(--h), 0.35);
  color: var(--hot);
}
.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 24px;
}
.download-actions .button {
  padding: 10px 12px;
  font-size: 0.56rem;
}
.button[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.42;
  pointer-events: none;
}
.idea-grid {
  grid-template-columns: repeat(2, 1fr);
}
.idea-card {
  min-height: 170px;
}
.idea-card strong {
  float: right;
  color: rgba(var(--a), 0.2);
  font-family: var(--sans);
  font-size: 2.5rem;
}
.case-visual {
  min-height: 400px;
  background-position: center;
  background-size: cover;
  border: 1px solid var(--line);
  box-shadow: 18px 18px 0 rgba(var(--h), 0.045);
}
.case-visual.sar {
  background-image:
    linear-gradient(135deg, rgba(1, 4, 3, 0.15), rgba(1, 4, 3, 0.9)),
    url("../images/logo/img2.webp");
}
.case-visual.scan {
  background-image:
    linear-gradient(135deg, rgba(1, 4, 3, 0.2), rgba(1, 4, 3, 0.92)),
    url("../images/logo/img4.webp");
}
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(14px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes startupSweep {
  to {
    transform: translateY(440%);
  }
}
@keyframes pulse {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(0.85);
  }
  50% {
    opacity: 1;
    transform: scale(1.12);
  }
}
@keyframes contactBeacon {
  0%,
  100% {
    box-shadow:
      0 0 10px rgba(var(--h), 0.34),
      0 0 26px rgba(var(--h), 0.12),
      7px 7px 0 rgba(var(--a), 0.1);
  }
  50% {
    box-shadow:
      0 0 20px rgba(var(--h), 0.7),
      0 0 52px rgba(var(--h), 0.28),
      7px 7px 0 rgba(var(--a), 0.16);
  }
}
@keyframes beaconSweep {
  0% {
    left: -45%;
  }
  45%,
  100% {
    left: 125%;
  }
}
@keyframes bounce {
  50% {
    transform: translateY(4px);
  }
}
@media (max-width: 820px) {
  body {
    overflow: auto;
  }
  header {
    height: 62px;
    grid-template-columns: 92px 1fr;
    padding: 0 16px;
  }
  .mini-logo {
    width: 90px;
  }
  header nav {
    justify-content: flex-end;
    gap: 10px;
    overflow-x: auto;
  }
  header nav a {
    font-size: 0.53rem;
  }
  header nav a:nth-child(1),
  header nav a:nth-child(4) {
    display: none;
  }
  .online,
  .rail {
    display: none;
  }
  main {
    height: auto;
    overflow: visible;
    scroll-snap-type: y proximity;
  }
  .snap {
    height: auto;
    overflow: visible;
    padding: 92px 20px 70px;
  }
  .heading,
  .hero-grid,
  .reel-grid,
  .skills-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .heading {
    gap: 15px;
  }
  .heading > p {
    justify-self: start;
  }
  .hero-grid {
    gap: 26px;
  }
  .wordmark {
    width: min(430px, 78vw);
  }
  .terminal {
    min-height: 475px;
  }
  .terminal.is-collapsed {
    min-height: 44px;
  }
  .rate-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .quote-strip {
    align-items: flex-start;
    flex-direction: column;
  }
  .contact-beacon {
    right: 16px;
    bottom: 16px;
  }
  .video video {
    height: auto;
    aspect-ratio: 16/9;
  }
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 300px repeat(2, 190px);
  }
  .quote-strip .actions {
    width: 100%;
  }
  .contact-beacon {
    min-height: 43px;
    padding-inline: 14px 10px;
    font-size: 0.56rem;
  }
  .project-card.feature {
    grid-column: 1/-1;
    grid-row: auto;
  }
  .skills-image {
    inset: 0;
    opacity: 0.18;
  }
  .contact-grid {
    gap: 32px;
  }
  .sub-header {
    grid-template-columns: 100px 1fr;
  }
  .sub-header .sub-status {
    display: none;
  }
  .project-hero,
  .section-heading,
  .showcase-slide {
    grid-template-columns: 1fr;
  }
  .project-hero {
    min-height: auto;
    padding-top: 70px;
  }
  .system-card {
    min-height: 320px;
  }
  .showcase-stage,
  .showcase-slide {
    min-height: auto;
  }
  .architecture-grid,
  .project-download-grid,
  .research-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .research-detail-grid {
    grid-template-columns: 1fr;
  }
  .notice {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  header nav a:nth-child(3) {
    display: none;
  }
  .snap {
    padding-inline: 16px;
  }
  .rate-grid {
    grid-template-columns: 1fr;
  }
  .rate-card {
    min-height: 0;
  }
  .actions {
    display: grid;
  }
  .stats {
    grid-template-columns: 1fr;
  }
  .stats div {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .project-grid {
    grid-template-columns: 1fr;
    grid-template-rows: 300px repeat(3, 190px);
  }
  .project-card.feature {
    grid-column: auto;
  }
  .contact-console > p {
    grid-template-columns: 1fr;
  }
  footer span:nth-child(2) {
    display: none;
  }
  .project-card.feature > div {
    padding-right: 26px;
    padding-bottom: 64px;
  }
  .project-card.feature > .card-action {
    left: 26px;
    right: auto;
  }
  .project-hero,
  .content-section,
  .downloads-hero,
  .project-footer {
    width: calc(100% - 32px);
  }
  .project-hero h1,
  .downloads-hero h1 {
    font-size: clamp(2.6rem, 15vw, 4.6rem);
  }
  .sub-header nav a:nth-child(2) {
    display: flex;
  }
  .showcase-slide {
    padding: 18px;
  }
  .slide-visual {
    min-height: 280px;
  }
  .showcase-controls {
    flex-wrap: wrap;
  }
  .pipeline {
    grid-template-columns: 1fr 1fr;
  }
  .pipeline span:not(:last-child):after {
    display: none;
  }
  .architecture-grid,
  .project-download-grid,
  .idea-grid,
  .research-stats {
    grid-template-columns: 1fr;
  }
  .demo-video-bar,
  .demo-video-caption,
  .medical-note {
    display: grid;
    grid-template-columns: 1fr;
  }
  .demo-video-caption p {
    max-width: none;
  }
  .demo-video-frame {
    min-height: 220px;
  }
  .process-step {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 14px;
  }
  .process-step > span {
    font-size: 2.2rem;
  }
  .startup-panel {
    padding: 34px 24px 28px;
  }
  .startup-readout {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html,
  main {
    scroll-behavior: auto;
  }
  main {
    scroll-snap-type: none;
  }
  *,
  *:before,
  *:after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .matrix,
  .trail,
  .hero-video {
    display: none;
  }
}