:root {
  --paper: #f3f0e9;
  --paper-soft: #e8e4da;
  --ink: #151713;
  --muted: #66675f;
  --line: rgba(21, 23, 19, 0.16);
  --acid: #e7ff45;
  --orange: #ff5b2d;
  --dark: #111310;
  --dark-soft: #1a1c18;
  --white: #f8f6ef;
  --radius-large: 32px;
  --radius-medium: 20px;
  --page-pad: clamp(20px, 5vw, 76px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--white);
  background: var(--dark);
  border-radius: 8px;
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

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

.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  padding: 0 var(--page-pad);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  color: inherit;
  font-size: 15px;
  font-weight: 760;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-mark {
  display: block;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  color: var(--ink);
  overflow: visible;
}

.brand-mark circle,
.brand-mark path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.header-note {
  display: flex;
  gap: 9px;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: var(--orange);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(255, 91, 45, 0.12);
}

.catalog-hero {
  padding: clamp(76px, 13vw, 176px) var(--page-pad) clamp(92px, 15vw, 196px);
}

.eyebrow {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 720;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow span {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 50%;
  letter-spacing: 0;
}

.catalog-hero h1,
.project-hero h1 {
  max-width: 1100px;
  margin: 0;
  font-size: clamp(54px, 9.8vw, 148px);
  font-weight: 630;
  line-height: 0.88;
  letter-spacing: -0.075em;
}

.catalog-hero h1 em,
.project-hero h1 em {
  color: var(--orange);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.hero-copy {
  max-width: 560px;
  margin: 36px 0 28px clamp(0px, 30vw, 420px);
  color: var(--muted);
  font-size: clamp(17px, 1.6vw, 23px);
  line-height: 1.5;
}

.text-link {
  display: flex;
  gap: 16px;
  align-items: center;
  width: fit-content;
  margin-left: clamp(0px, 30vw, 420px);
  padding-bottom: 6px;
  border-bottom: 1px solid currentColor;
  font-size: 14px;
  font-weight: 720;
  text-decoration: none;
}

.text-link span {
  color: var(--orange);
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translateY(4px);
}

.projects-section {
  padding: clamp(70px, 10vw, 132px) var(--page-pad);
  background: var(--dark);
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 46px;
  color: var(--white);
}

.section-kicker {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-heading h2,
.instruction-intro h2,
.launch-copy h2 {
  margin: 0;
  font-size: clamp(38px, 5vw, 72px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.project-count {
  margin: 0;
  color: rgba(248, 246, 239, 0.54);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.project-count strong {
  margin-right: 5px;
  color: var(--acid);
  font-size: 20px;
}

.project-card {
  overflow: hidden;
  max-width: 1380px;
  margin: 0 auto;
  background: var(--paper);
  border-radius: var(--radius-large);
}

.project-card + .project-card {
  margin-top: clamp(32px, 5vw, 72px);
}

.project-card-link {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  min-height: 560px;
  color: inherit;
  text-decoration: none;
}

.project-visual {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  color: var(--ink);
  background: var(--acid);
}

.visual-grid {
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background-image: linear-gradient(var(--ink) 1px, transparent 1px), linear-gradient(90deg, var(--ink) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(to bottom, black, transparent 92%);
}

.bridge-drawing {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(92%, 760px);
  transform: translate(-50%, -48%);
}

.bridge-line--main {
  stroke-width: 4;
}

.bridge-line--soft {
  opacity: 0.45;
  stroke-width: 2;
}

.bridge-node {
  fill: var(--orange);
  stroke: var(--ink);
  stroke-width: 3;
}

.project-card--uav .project-visual {
  color: var(--white);
  background: #7458ee;
}

.project-card--uav .visual-grid {
  background-image: linear-gradient(rgba(248, 246, 239, 0.85) 1px, transparent 1px), linear-gradient(90deg, rgba(248, 246, 239, 0.85) 1px, transparent 1px);
}

.uav-drawing {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(91%, 760px);
  transform: translate(-50%, -48%);
}

.uav-area {
  opacity: 0.42;
  stroke-width: 2;
}

.uav-angle {
  opacity: 0.7;
  stroke-width: 2;
}

.uav-flight {
  opacity: 0.58;
  stroke-dasharray: 7 11;
  stroke-width: 2;
}

.uav-body {
  stroke-width: 4;
}

.uav-arm {
  stroke-width: 5;
}

.uav-propeller {
  stroke-width: 3;
}

.uav-propeller circle {
  fill: currentColor;
  stroke: none;
}

.uav-camera,
.hero-uav-camera {
  fill: var(--orange);
  stroke: currentColor;
  stroke-width: 3;
}

.map-point,
.hero-marker,
.plan-marker {
  stroke: currentColor;
  stroke-width: 3;
}

.map-point--violet,
.hero-marker--violet,
.plan-marker--violet {
  fill: #a993ff;
}

.map-point--red,
.hero-marker--red,
.plan-marker--red {
  fill: #ff4c38;
}

.map-point--plain,
.hero-marker--plain,
.plan-marker--plain {
  fill: var(--white);
}

.ordinary-marker rect {
  fill: #35e35d;
  stroke: currentColor;
  stroke-linejoin: miter;
  stroke-width: 2;
}

.ordinary-marker circle {
  fill: #7b5cff;
  stroke: none;
}

.project-card--uav .round-arrow {
  background: #7458ee;
}

.project-card--uav .project-card-link:hover .round-arrow {
  color: var(--white);
  background: var(--orange);
}

.visual-label {
  position: absolute;
  padding: 9px 13px;
  background: var(--paper);
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.visual-label--top {
  top: 32px;
  left: 32px;
}

.visual-label--bottom {
  right: 32px;
  bottom: 32px;
}

.project-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 560px;
  padding: clamp(30px, 4vw, 60px);
}

.project-meta {
  display: flex;
  justify-content: space-between;
  padding-bottom: 24px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-title-row {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  margin: 0;
}

.project-title-row > div {
  min-width: 0;
}

.project-title-row h3 {
  margin: 0 0 22px;
  font-size: clamp(36px, 3.6vw, 58px);
  font-weight: 620;
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.project-title-row p {
  max-width: 440px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.round-arrow {
  display: grid;
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  place-items: center;
  color: var(--white);
  background: var(--ink);
  border-radius: 50%;
  transition: color 200ms ease, background 200ms ease, transform 200ms ease;
}

.round-arrow svg {
  display: block;
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.project-card-link:hover .round-arrow {
  color: var(--ink);
  background: var(--orange);
  transform: translate(2px, -2px);
}

.project-card-link:hover .bridge-drawing {
  animation: bridge-pulse 1.8s ease-in-out infinite;
}

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

.tag-list li {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 680;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 32px var(--page-pad);
  color: var(--muted);
  background: var(--paper);
  border-top: 1px solid var(--line);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Project page */
.project-page {
  color: var(--white);
  background: var(--dark);
}

.site-header--dark {
  color: var(--white);
  background: var(--dark);
  border-color: rgba(248, 246, 239, 0.14);
}

.site-header--dark .brand-mark {
  color: var(--acid);
}

.back-link {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  color: rgba(248, 246, 239, 0.62);
  font-size: 12px;
  font-weight: 680;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: color 180ms ease;
}

.back-link:hover {
  color: var(--white);
}

.project-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1.18fr);
  min-height: calc(100vh - 88px);
  padding-left: var(--page-pad);
  overflow: hidden;
}

.project-hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 0;
}

.eyebrow--light {
  color: rgba(248, 246, 239, 0.5);
}

.eyebrow--light span {
  color: var(--acid);
  border-color: rgba(248, 246, 239, 0.2);
}

.project-hero h1 {
  color: var(--white);
  font-size: clamp(66px, 8vw, 124px);
}

.project-hero h1 em {
  color: var(--acid);
}

.project-hero-copy > p {
  max-width: 480px;
  margin: 34px 0;
  color: rgba(248, 246, 239, 0.58);
  font-size: clamp(16px, 1.45vw, 21px);
}

.button {
  display: inline-flex;
  gap: 26px;
  align-items: center;
  justify-content: space-between;
  min-width: 220px;
  width: fit-content;
  padding: 16px 20px;
  border: 0;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 760;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

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

.button--accent {
  color: var(--ink);
  background: var(--acid);
}

.button--accent:hover {
  box-shadow: 0 12px 30px rgba(231, 255, 69, 0.14);
}

.project-hero-art {
  position: relative;
  min-width: 0;
  overflow: hidden;
  color: var(--acid);
  background: radial-gradient(circle at 48% 48%, #2d3128 0, var(--dark-soft) 42%, var(--dark) 72%);
}

.project-hero-art::after {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(248, 246, 239, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(248, 246, 239, 0.035) 1px, transparent 1px);
  background-size: 40px 40px;
  content: "";
  mask-image: radial-gradient(circle at center, black, transparent 72%);
}

.project-hero-art svg {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: 92%;
  transform: translate(-50%, -45%);
}

.project-image-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(24px, 4vw, 64px) var(--page-pad) clamp(72px, 9vw, 128px);
  background: var(--dark);
}

.project-image-section::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  background-image: linear-gradient(rgba(248, 246, 239, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(248, 246, 239, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  content: "";
  mask-image: radial-gradient(circle at 50% 40%, black, transparent 74%);
}

.project-image-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
}

.project-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
}

.project-image-frame--bridge {
  max-width: 780px;
  padding: clamp(8px, 1.2vw, 14px);
  background: var(--white);
  border-radius: 28px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.32);
  transform: rotate(-0.7deg);
}

.project-image-frame--bridge::before {
  position: absolute;
  z-index: -1;
  inset: 26px -28px -28px 28px;
  background: var(--acid);
  border-radius: 28px;
  content: "";
}

.project-image-frame--bridge::after {
  position: absolute;
  top: -25px;
  right: 28px;
  width: clamp(42px, 5vw, 70px);
  aspect-ratio: 1;
  background: var(--orange);
  border: 7px solid var(--dark);
  border-radius: 50%;
  content: "";
}

.project-image--bridge {
  max-height: 820px;
  object-fit: cover;
}

.project-image-section--screen {
  padding-top: clamp(16px, 3vw, 44px);
  background: radial-gradient(circle at 76% 35%, rgba(130, 104, 243, 0.18), transparent 38%), var(--dark);
}

.project-image-frame--screen {
  padding: 48px 10px 10px;
  background: #252721;
  border: 1px solid rgba(248, 246, 239, 0.2);
  border-radius: 26px;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.38), 24px 24px 0 rgba(130, 104, 243, 0.24);
}

.project-image-frame--screen::after {
  position: absolute;
  top: 23px;
  right: 24px;
  width: 54px;
  height: 2px;
  background: rgba(248, 246, 239, 0.18);
  box-shadow: -68px 0 0 rgba(248, 246, 239, 0.1);
  content: "";
}

.screen-controls {
  position: absolute;
  top: 18px;
  left: 22px;
  display: flex;
  gap: 7px;
}

.screen-controls i {
  display: block;
  width: 9px;
  height: 9px;
  background: var(--orange);
  border-radius: 50%;
}

.screen-controls i:nth-child(2) {
  background: var(--acid);
}

.screen-controls i:nth-child(3) {
  background: var(--uav-violet);
}

.project-image--screen {
  background: #ededed;
  border-radius: 14px;
  object-fit: contain;
}

.hero-bridge-main {
  stroke-width: 4;
}

.hero-bridge-soft {
  opacity: 0.36;
  stroke-width: 2;
}

.orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(231, 255, 69, 0.13);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.orbit--one {
  width: 58%;
  aspect-ratio: 1;
}

.orbit--two {
  width: 88%;
  aspect-ratio: 1;
}

.signal {
  position: absolute;
  z-index: 3;
  width: 12px;
  height: 12px;
  background: var(--orange);
  border: 3px solid var(--dark);
  border-radius: 50%;
  box-shadow: 0 0 0 8px rgba(255, 91, 45, 0.14);
  animation: signal-pulse 2.2s ease-in-out infinite;
}

.signal--one {
  top: 36%;
  left: 38%;
}

.signal--two {
  top: 64%;
  left: 66%;
  animation-delay: -0.7s;
}

.signal--three {
  top: 44%;
  right: 14%;
  animation-delay: -1.4s;
}

/* UAV project */
.uav-page {
  --uav-violet: #8268f3;
  --uav-violet-dark: #5d43d4;
}

.uav-page .brand-mark,
.uav-page .eyebrow--light span {
  color: #b6a6ff;
}

.uav-page .project-hero h1 {
  max-width: 720px;
  font-size: clamp(58px, 7vw, 108px);
}

.uav-page .project-hero h1 em {
  color: #b6a6ff;
}

.uav-page .button--accent {
  color: var(--white);
  background: var(--uav-violet);
}

.uav-page .button--accent:hover {
  box-shadow: 0 12px 30px rgba(130, 104, 243, 0.22);
}

.project-hero-art--uav {
  color: #c1b4ff;
  background: radial-gradient(circle at 50% 50%, #302b47 0, #1c1c26 44%, var(--dark) 74%);
}

.hero-uav {
  width: min(92%, 760px) !important;
  transform: translate(-50%, -48%) !important;
}

.hero-uav-area {
  opacity: 0.4;
  stroke-width: 2;
}

.hero-uav-angle {
  opacity: 0.75;
  stroke-width: 2;
}

.hero-uav-body {
  stroke-width: 4;
}

.hero-uav-arm {
  stroke-width: 6;
}

.hero-uav-propeller {
  stroke-width: 3;
}

.hero-uav-propeller circle {
  fill: currentColor;
  stroke: none;
}

.hero-uav-stream {
  color: var(--orange);
  stroke-width: 3;
}

.radar-ring {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  aspect-ratio: 1;
  border: 1px solid rgba(193, 180, 255, 0.14);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.radar-ring--one {
  width: 54%;
}

.radar-ring--two {
  width: 87%;
}

.radar-sweep {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: 44%;
  aspect-ratio: 1;
  background: conic-gradient(from 0deg, transparent 0 315deg, rgba(130, 104, 243, 0.17) 352deg, transparent 360deg);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: radar-spin 8s linear infinite;
}

.instruction-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.65fr) minmax(480px, 1.35fr);
  gap: clamp(54px, 9vw, 150px);
  padding: clamp(88px, 12vw, 164px) var(--page-pad);
  color: var(--ink);
  background: var(--paper);
}

.instruction-intro {
  align-self: start;
  position: sticky;
  top: 32px;
}

.instruction-intro > p:not(.section-kicker) {
  max-width: 400px;
  margin: 26px 0 34px;
  color: var(--muted);
  font-size: 16px;
}

.marker-plan {
  max-width: 440px;
  margin: 0 0 24px;
  padding: 20px;
  background: var(--dark);
  border-radius: var(--radius-medium);
}

.marker-plan-title {
  display: flex;
  justify-content: space-between;
  color: var(--white);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.marker-plan-title span {
  color: rgba(248, 246, 239, 0.46);
}

.marker-plan svg {
  display: block;
  width: 100%;
  margin: 4px 0 8px;
  overflow: visible;
}

.marker-plan-triangle,
.marker-plan-angle {
  fill: none;
  stroke: rgba(248, 246, 239, 0.46);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.marker-plan-angle {
  stroke: #b6a6ff;
}

.marker-plan text {
  fill: rgba(248, 246, 239, 0.62);
  font-size: 12px;
  font-weight: 700;
}

.marker-plan .plan-marker {
  color: var(--dark);
}

.marker-plan figcaption {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 14px;
  color: rgba(248, 246, 239, 0.58);
  font-size: 10px;
}

.marker-plan figcaption span {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.legend-dot--violet {
  background: #a993ff;
}

.legend-dot--red {
  background: #ff4c38;
}

.legend-dot--plain {
  position: relative;
  background: #35e35d;
  border-radius: 1px;
}

.legend-dot--plain::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 4px;
  background: #7b5cff;
  border-radius: 50%;
  content: "";
  transform: translate(-50%, -50%);
}

.progress-card {
  max-width: 440px;
  padding: 22px;
  background: var(--paper-soft);
  border-radius: var(--radius-medium);
}

.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 730;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.progress-track {
  height: 7px;
  margin: 16px 0 13px;
  overflow: hidden;
  background: rgba(21, 23, 19, 0.12);
  border-radius: 999px;
}

.progress-track span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--orange);
  border-radius: inherit;
  transition: width 320ms ease;
}

.uav-page .progress-track span,
.uav-page .step-check:checked + .custom-check {
  background: var(--uav-violet);
  border-color: var(--uav-violet);
}

.uav-page .step-number {
  color: var(--uav-violet-dark);
}

.progress-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.steps-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.step-card {
  border-top: 1px solid var(--line);
}

.step-card:last-child {
  border-bottom: 1px solid var(--line);
}

.step-card label {
  position: relative;
  display: grid;
  grid-template-columns: 40px 52px 1fr;
  gap: 18px;
  padding: 32px 0;
  cursor: pointer;
}

.step-check {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.custom-check {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1.5px solid rgba(21, 23, 19, 0.34);
  border-radius: 50%;
  transition: background 180ms ease, border-color 180ms ease;
}

.custom-check::after {
  width: 10px;
  height: 6px;
  border-bottom: 2px solid var(--white);
  border-left: 2px solid var(--white);
  content: "";
  opacity: 0;
  transform: translateY(-1px) rotate(-45deg) scale(0.5);
  transition: opacity 180ms ease, transform 180ms ease;
}

.step-check:focus-visible + .custom-check {
  outline: 3px solid rgba(255, 91, 45, 0.25);
  outline-offset: 3px;
}

.step-check:checked + .custom-check {
  background: var(--orange);
  border-color: var(--orange);
}

.step-check:checked + .custom-check::after {
  opacity: 1;
  transform: translateY(-1px) rotate(-45deg) scale(1);
}

.step-card:has(.step-check:checked) .step-content {
  opacity: 0.52;
}

.step-number {
  padding-top: 7px;
  color: var(--orange);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  font-style: italic;
}

.step-content {
  display: grid;
  gap: 9px;
  transition: opacity 180ms ease;
}

.step-content strong {
  font-size: clamp(22px, 2.2vw, 31px);
  font-weight: 620;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.step-content > span {
  max-width: 640px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

code {
  padding: 2px 7px;
  color: inherit;
  background: rgba(21, 23, 19, 0.07);
  border: 1px solid rgba(21, 23, 19, 0.09);
  border-radius: 6px;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.9em;
  font-weight: 700;
}

.step-hint {
  width: fit-content;
  margin-top: 7px;
  padding: 8px 11px;
  color: #6b5500 !important;
  background: #fff0a7;
  border-radius: 8px;
  font-size: 12px !important;
}

.launch-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.76fr) minmax(400px, 1.24fr);
  gap: clamp(50px, 9vw, 140px);
  align-items: center;
  padding: clamp(82px, 11vw, 150px) var(--page-pad);
  color: var(--white);
  background: var(--orange);
}

.launch-section--uav {
  background: var(--uav-violet);
}

.launch-section--uav .section-kicker--accent,
.launch-section--uav .launch-copy > p:last-child {
  color: rgba(17, 19, 16, 0.68);
}

.file-icon--uav {
  background: #c7ff50;
}

.section-kicker--accent {
  color: rgba(17, 19, 16, 0.62);
}

.launch-copy > p:last-child {
  max-width: 430px;
  margin: 26px 0 0;
  color: rgba(17, 19, 16, 0.68);
  font-size: 16px;
}

.launch-copy code {
  background: rgba(17, 19, 16, 0.08);
  border-color: rgba(17, 19, 16, 0.12);
}

.launch-panel {
  display: grid;
  grid-template-columns: 68px 1fr auto;
  gap: 22px;
  align-items: center;
  padding: clamp(24px, 4vw, 42px);
  color: var(--ink);
  background: var(--white);
  border-radius: var(--radius-large);
  box-shadow: 0 24px 70px rgba(72, 20, 5, 0.2);
}

.file-icon {
  position: relative;
  display: grid;
  width: 62px;
  height: 76px;
  place-items: end center;
  padding-bottom: 13px;
  background: var(--acid);
  border: 2px solid var(--ink);
  border-radius: 8px;
}

.file-icon::before {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 18px;
  height: 18px;
  background: var(--white);
  border-bottom: 2px solid var(--ink);
  border-left: 2px solid var(--ink);
  content: "";
}

.file-icon span {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.file-details {
  display: grid;
  gap: 4px;
}

.file-details strong {
  font-size: 20px;
  letter-spacing: -0.025em;
}

.file-details span {
  color: var(--muted);
  font-size: 12px;
}

.button--light {
  min-width: 150px;
  color: var(--white);
  background: var(--ink);
}

.file-note {
  grid-column: 2 / -1;
  margin: -5px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.site-footer--dark {
  color: rgba(248, 246, 239, 0.44);
  background: var(--dark);
  border-color: rgba(248, 246, 239, 0.14);
}

.site-footer--dark a {
  color: var(--white);
  text-decoration: none;
}

@keyframes signal-pulse {
  0%, 100% { box-shadow: 0 0 0 7px rgba(255, 91, 45, 0.12); }
  50% { box-shadow: 0 0 0 16px rgba(255, 91, 45, 0); }
}

@keyframes bridge-pulse {
  0%, 100% { transform: translate(-50%, -48%) scale(1); }
  50% { transform: translate(-50%, -48%) scale(1.012); }
}

@keyframes uav-hover {
  0%, 100% { transform: translate(-50%, -48%); }
  50% { transform: translate(-50%, -50%); }
}

@keyframes radar-spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@media (max-width: 900px) {
  .hero-copy,
  .text-link {
    margin-left: 0;
  }

  .project-card-link,
  .project-hero,
  .instruction-section,
  .launch-section {
    grid-template-columns: 1fr;
  }

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

  .project-info {
    min-height: 430px;
  }

  .project-hero {
    padding: 0;
  }

  .project-hero-copy {
    min-height: 600px;
    padding: 80px var(--page-pad);
  }

  .project-hero-art {
    min-height: 560px;
  }

  .instruction-intro {
    position: static;
  }
}

@media (max-width: 600px) {
  .site-header {
    min-height: 72px;
  }

  .header-note {
    font-size: 0;
  }

  .catalog-hero {
    padding-top: 88px;
  }

  .catalog-hero h1 {
    font-size: clamp(52px, 17vw, 84px);
  }

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

  .visual-label {
    font-size: 9px;
  }

  .visual-label--top {
    top: 20px;
    left: 20px;
  }

  .visual-label--bottom {
    right: 20px;
    bottom: 20px;
  }

  .project-info {
    min-height: 440px;
  }

  .project-title-row {
    gap: 15px;
  }

  .project-title-row h3 {
    font-size: 43px;
  }

  .round-arrow {
    width: 44px;
    height: 44px;
  }

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

  .project-hero-copy {
    min-height: calc(100vh - 72px);
  }

  .project-hero-art {
    min-height: 390px;
  }

  .project-image-section {
    padding-right: 26px;
    padding-left: 26px;
  }

  .project-image-frame--bridge {
    padding: 7px;
    border-radius: 20px;
    transform: none;
  }

  .project-image-frame--bridge::before {
    inset: 14px -12px -14px 12px;
    border-radius: 20px;
  }

  .project-image-frame--bridge::after {
    top: -18px;
    right: 16px;
    border-width: 5px;
  }

  .project-image-frame--screen {
    padding: 40px 6px 6px;
    border-radius: 18px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34), 10px 10px 0 rgba(130, 104, 243, 0.24);
  }

  .project-image-frame--screen::after {
    top: 19px;
    right: 16px;
  }

  .screen-controls {
    top: 15px;
    left: 16px;
  }

  .project-image {
    border-radius: 13px;
  }

  .step-card label {
    grid-template-columns: 34px 1fr;
    gap: 13px;
  }

  .step-number {
    display: none;
  }

  .launch-panel {
    grid-template-columns: 58px 1fr;
  }

  .file-icon {
    width: 54px;
    height: 66px;
  }

  .button--light {
    grid-column: 1 / -1;
    width: 100%;
  }

  .file-note {
    grid-column: 1 / -1;
  }

  .site-footer {
    flex-direction: column;
  }
}

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

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