:root {
  --bg: #050608;
  --panel: rgba(12, 14, 18, 0.82);
  --panel-border: rgba(212, 175, 55, 0.18);
  --text: #e8edf4;
  --muted: #9aa8b8;
  --accent: #d4af37;
  --accent-silver: #c8d0dc;
  --done: #3dd68c;
  --active: #5eb8ff;
  --next: #f5d742;
  --font: "Manrope", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --text-base: 1.0625rem;
  --leading: 1.72;
  --leading-tight: 1.2;
  --radius: 14px;
  --header-h: 108px;
  --accent-bright: #f5d76e;
  --layout-max: 1180px;
  --media-frame-bg: #6b7585;
  --media-brightness: 1.35;
  --media-contrast: 1.04;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--text-base);
  line-height: var(--leading);
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(760px, 92vw);
  margin-inline: auto;
}

/* Header — logo full height + two nav rows */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 6, 8, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--panel-border);
}

.header-inner {
  width: min(var(--layout-max), 100%);
  max-width: var(--layout-max);
  margin-inline: auto;
  padding: 0.5rem clamp(1rem, 3vw, 1.75rem);
}

.header-layout {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(0, auto);
  align-items: stretch;
  gap: 0.75rem 1rem;
  min-height: var(--header-h);
}

.site-logo {
  grid-row: 1 / -1;
  align-self: center;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
  text-decoration: none;
  max-width: min(210px, 26vw);
  padding: 0.2rem 0;
}

.site-logo:hover {
  text-decoration: none;
  opacity: 0.92;
}

.site-logo-mark {
  display: block;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  object-fit: contain;
  object-position: center top;
  filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.4));
}

.site-logo-text {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--text);
  white-space: nowrap;
}

.site-logo-text em {
  display: block;
  font-style: normal;
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.03em;
}

.header-status-pills {
  grid-row: 1 / -1;
  align-self: center;
  display: flex;
  align-items: center;
  gap: 5px;
  flex: 1;
  flex-wrap: nowrap;
  min-width: 0;
  padding: 0 0.15rem;
  overflow: hidden;
}

.hpill {
  font-size: 10px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 20px;
  white-space: nowrap;
  line-height: 1.2;
  flex-shrink: 0;
}

.hpill-active {
  background: rgba(8, 80, 65, 0.55);
  color: #9ae8c8;
  border: 1px solid rgba(61, 214, 140, 0.35);
}

.hpill-stage {
  background: rgba(12, 68, 124, 0.5);
  color: #9ecfff;
  border: 1px solid rgba(94, 184, 255, 0.3);
}

.hpill-grant {
  background: rgba(68, 68, 65, 0.45);
  color: #e2e0d8;
  border: 1px solid rgba(212, 175, 55, 0.22);
  font-size: 9px;
  padding: 3px 8px;
}

.header-nav-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  min-width: 0;
}

.header-nav-row-1 {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem 0.85rem;
  flex-wrap: wrap;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.14);
}

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

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 600;
}

.lang-switch a {
  color: var(--muted);
  text-decoration: none;
  padding: 0.2rem 0.35rem;
  border-radius: 4px;
}

.lang-switch a:hover {
  color: var(--accent-silver);
}

.lang-switch a.is-active {
  color: var(--accent);
  background: rgba(212, 175, 55, 0.12);
}

.lang-sep {
  color: var(--border);
  user-select: none;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.75rem;
  justify-content: flex-end;
}

.nav a {
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
}

.nav a:hover {
  color: var(--accent-silver);
}

.nav .btn-support {
  text-decoration: none;
}

.nav-toggle {
  display: none;
  width: 2rem;
  height: 2rem;
  border: none;
  background: transparent;
  cursor: pointer;
}

.nav-toggle::before {
  content: "☰";
  color: var(--text);
  font-size: 1.25rem;
}

/* Panels */
.panel {
  padding: 2.5rem 0;
}

.hero-panel {
  /* Header is sticky (in flow) — no extra header-sized top padding */
  padding-top: 1.5rem;
  padding-bottom: 2rem;
  scroll-margin-top: calc(var(--header-h) + 0.75rem);
}

.panel .container {
  padding: 2rem 2.25rem;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.eyebrow {
  margin: 0 0 0.5rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  line-height: 1.4;
}

h1,
h2,
h3.subhead,
.contact-title {
  text-align: center;
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: var(--leading-tight);
}

h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.35rem, 3vw, 1.55rem);
  font-weight: 700;
  color: var(--accent-silver);
  letter-spacing: -0.02em;
  line-height: 1.28;
}

h3.subhead {
  margin: 1.75rem 0 0.65rem;
  font-size: 0.85rem;
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-eyebrow {
  font-size: clamp(0.72rem, 1.35vw, 0.92rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-bright);
  text-shadow: 0 0 20px rgba(245, 215, 110, 0.35);
  white-space: nowrap;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
}

html[lang="uk"] .hero-eyebrow {
  font-size: clamp(0.68rem, 1.15vw, 0.82rem);
  letter-spacing: 0.04em;
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
  line-height: 1.4;
  hyphens: auto;
}

h3.subhead.done { color: var(--done); }
h3.subhead.active { color: var(--active); }
h3.subhead.next { color: var(--next); }

.lead {
  margin: 0 0 1.25rem;
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--muted);
}

.meta-list {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}

.meta-list li {
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(42, 51, 64, 0.5);
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

.meta-list strong {
  color: var(--text);
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

p:last-child {
  margin-bottom: 0;
}

.flow-line,
.grant-focus,
.status-line {
  color: var(--muted);
}

.flow-line strong,
.grant-focus strong {
  color: var(--accent-silver);
}

.notice {
  margin-top: 1.25rem;
  padding: 1rem 1.15rem;
  background: rgba(255, 107, 74, 0.08);
  border: 1px solid rgba(255, 107, 74, 0.28);
  border-radius: 8px;
  font-size: 0.9rem;
}

.notice strong {
  color: #ffb4a0;
}

.bullet-list,
.numbered-list {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  color: var(--muted);
}

.bullet-list.cols-2 {
  columns: 2;
  column-gap: 2rem;
}

.bullet-list li,
.numbered-list li {
  margin-bottom: 0.35rem;
  break-inside: avoid;
}

.numbered-list {
  padding-left: 1.5rem;
}

/* Roadmap */
.roadmap-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.roadmap-dates-lead {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 52em;
}

.roadmap-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.2rem 1.25rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(42, 51, 64, 0.45);
  color: var(--muted);
}

.roadmap-list strong {
  grid-column: 1;
  color: var(--text);
}

.roadmap-list .roadmap-date {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-bright);
  white-space: nowrap;
}

.roadmap-list li > span:not(.roadmap-date) {
  grid-column: 1 / -1;
  font-family: var(--mono);
  font-size: 0.8rem;
}

.phase-done span { color: var(--done); }
.phase-active span { color: var(--active); }
.phase-next span { color: var(--next); }
.phase-future span { color: var(--muted); }

/* CTA */
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.cta-secondary {
  margin: 0.85rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.cta-secondary a {
  color: var(--accent-silver);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cta-secondary a:hover {
  color: var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: transform 0.15s, filter 0.15s;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: #0a0c0f;
}

.btn-ghost {
  border: 1px solid var(--panel-border);
  color: var(--accent-silver);
}

.btn-support {
  background: linear-gradient(135deg, #ff9f43, #e86b4a);
  color: #0a0c0f;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.btn-support:hover {
  filter: brightness(1.06);
}

.btn-wise {
  background: #9fe870;
  color: #163300;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
}

.btn-wise:hover {
  background: #8fd85f;
  filter: none;
}

.btn-support-sm {
  padding: 0.4rem 0.75rem;
  font-size: 0.78rem;
}

.btn-paypal {
  background: #0070ba;
  color: #fff;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.btn-paypal:hover {
  background: #005ea6;
  filter: none;
}

/* Hero — first panel */
.hero-body {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
  min-width: 0;
}

.hero-body .hero-eyebrow,
.hero-body h1,
.hero-body .lead {
  text-align: left;
}

.hero-container {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) min(40%, 380px);
  grid-template-rows: auto;
  gap: 1.1rem 1.35rem;
  align-items: start;
}

.hero-panel .hero-body {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
}

.hero-media-stack {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  align-self: start;
  min-width: 0;
  max-width: 100%;
}

.hero-panel .hero-media-carbon {
  margin: 0;
  width: 100%;
}

.hero-cta-below {
  margin: 0;
  width: 100%;
  justify-content: stretch;
  gap: 0.5rem;
}

.hero-cta-below .btn {
  flex: 1 1 calc(50% - 0.25rem);
  justify-content: center;
  padding: 0.65rem 0.85rem;
  font-size: 0.88rem;
}

.hero-cta-below .btn-funding-pdf {
  font-size: 0.78rem;
  line-height: 1.25;
  text-align: center;
}

.meta-focus-text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--muted);
}

.meta-focus-text strong {
  color: var(--text);
}

.hero-funding-cta {
  margin: 0.85rem 0 0;
  padding-top: 0.75rem;
  min-width: 0;
  border-top: 1px solid rgba(212, 175, 55, 0.14);
}


.hero-funding-title {
  margin: 0 0 0.45rem;
  font-size: 1rem;
  color: var(--text);
}

.hero-funding-list {
  margin: 0;
  padding-left: 1.15rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--muted);
}

.hero-funding-list li {
  margin-bottom: 0.2rem;
}

.hero-lead-simple {
  max-width: 42em;
}

.hero-achievements-line {
  margin: 0.65rem 0 1rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.55;
  color: var(--accent-bright);
  max-width: 44em;
}

.hero-platform-label {
  margin: 0.35rem 0 0.65rem;
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-positioning-list {
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.35rem;
  max-width: 44em;
}

.hero-positioning-list li {
  position: relative;
  padding-left: 1.1rem;
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.45;
  color: var(--accent-bright);
}

.hero-positioning-list li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.notice-compact {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  font-size: 0.88rem;
}

.deployment-recovery-split {
  margin-top: 1.75rem;
  padding: 1.35rem 1.25rem;
  background: rgba(212, 175, 55, 0.04);
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: 10px;
}

.deployment-recovery-split .subhead {
  margin-top: 0;
}

.architecture-status-table td:last-child {
  font-family: var(--mono);
  font-size: 0.85rem;
}

.architecture-status-table tbody tr:first-child td:last-child {
  color: #9ae8bc;
}

.recovery-title {
  font-size: 1.2rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.recovery-steps-infographic {
  list-style: none;
  margin: 1.25rem 0 1.75rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.recovery-steps-infographic li:not(.recovery-step-arrow) {
  flex: 1 1 140px;
  max-width: 220px;
  padding: 1rem 0.85rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  text-align: center;
}

.recovery-steps-infographic li strong {
  display: block;
  margin-bottom: 0.4rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-bright);
}

.recovery-steps-infographic li span {
  display: block;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--text);
}

.recovery-step-arrow {
  flex: 0 0 auto;
  padding: 0 0.15rem;
  font-size: 1.2rem;
  line-height: 1;
  color: var(--muted);
  background: none;
  border: none;
}

@media (min-width: 900px) {
  .recovery-step-arrow {
    transform: rotate(-90deg);
  }
}

.storyboard-figure-recovery {
  margin-bottom: 1.25rem;
}

.storyboard-figure-recovery img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.meta-cards li {
  font-size: 0.95rem;
}

.panel-disclaimer {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.panel-disclaimer .container {
  border-color: rgba(94, 184, 255, 0.28);
}

.disclaimer-lead {
  font-size: 1.05rem;
  color: var(--accent-silver);
}

.flow-panel .flow-block + .flow-block {
  margin-top: 2.25rem;
  padding-top: 0.25rem;
}

.flow-panel .innovation-eyebrow + h2 {
  margin-top: 0;
}

.media-type {
  display: inline-block;
  margin-right: 0.45rem;
  padding: 0.12rem 0.45rem;
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-bright);
  background: rgba(212, 175, 55, 0.12);
  vertical-align: middle;
}

.storyboard-figure figcaption,
.hero-caption,
.funding-figure-caption {
  flex-wrap: wrap;
}

.funding-figure-caption {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.85rem;
  font-size: 0.78rem;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.35);
  border-top: 1px solid var(--panel-border);
}

.table-wrap {
  overflow-x: auto;
  margin: 0 0 1.25rem;
}

.budget-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.budget-table th,
.budget-table td {
  padding: 0.55rem 0.75rem;
  text-align: left;
  border-bottom: 1px solid rgba(42, 51, 64, 0.65);
}

.budget-table th {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.budget-table tbody tr:last-child td,
.budget-table tbody tr:last-child th {
  border-bottom: none;
}

.budget-total th,
.budget-total td {
  color: var(--accent-bright);
  border-top: 1px solid rgba(212, 175, 55, 0.25);
}

.hero-cta {
  margin: 0;
  justify-content: flex-end;
  flex-wrap: nowrap;
  padding-top: 0;
}

/* Hero UAV — fill frame, no side bars, no shadow (carbon weave visible) */
.hero-media-carbon {
  background: var(--media-frame-bg);
  border-color: rgba(160, 175, 195, 0.35);
  box-shadow: none;
}

.hero-media-carbon picture {
  display: block;
  line-height: 0;
  background: var(--media-frame-bg);
}

.hero-media-carbon img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 220px;
  max-height: 340px;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center center;
  background: var(--media-frame-bg);
  filter: none;
}

.hero-panel .panel-media.hero-media-carbon img {
  aspect-ratio: auto;
  background: var(--media-frame-bg);
}

.hero-caption {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  padding: 0.65rem 0.85rem;
  font-family: var(--font);
  font-size: 1.125rem;
  line-height: 1.35;
  font-weight: 500;
  color: var(--muted);
  text-align: center;
  background: rgba(12, 14, 18, 0.55);
}

.hero-caption span:first-child {
  color: var(--accent-silver);
  font-weight: 700;
}

/* Panel with image (hero uses .hero-container grid instead) */
.panel-split .container:not(.hero-container) {
  display: grid;
  grid-template-columns: 1fr min(48%, 420px);
  gap: 1.75rem;
  align-items: start;
}

.panel-media {
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--panel-border);
}

.panel-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #0a0a0a;
}

.panel-media figcaption {
  padding: 0.5rem 0.75rem;
  font-size: 0.7rem;
  font-family: var(--mono);
  color: var(--muted);
  background: rgba(0, 0, 0, 0.35);
}

.panel-media-wide {
  margin: 0 0 1.25rem;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(160, 175, 195, 0.35);
  background: var(--media-frame-bg);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.3);
}

.panel-media-wide picture {
  display: block;
  line-height: 0;
  background: var(--media-frame-bg);
}

.panel-media-wide img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: contain;
  background: var(--media-frame-bg);
  filter: brightness(var(--media-brightness)) contrast(var(--media-contrast));
}

/* Funding — no grey letterbox frame */
#funding .panel-media-wide {
  background: var(--bg);
  border: 1px solid var(--panel-border);
  box-shadow: none;
}

#funding .panel-media-wide picture,
#funding .panel-media-wide img {
  background: var(--bg);
}

#funding .panel-media-wide img {
  max-height: none;
  object-fit: cover;
  object-position: center;
  aspect-ratio: 3 / 2;
}

/* Funding progress */
.funding-tranche {
  font-size: 0.92rem;
  color: var(--accent-silver);
}

#funding .funding-cta-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 1.5rem;
  padding-top: 0.25rem;
}

#funding .pdf-downloads {
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: flex-start;
}

#funding .pdf-downloads .btn {
  flex: 0 1 auto;
}

.hero-pdf-extra {
  margin: 0.45rem 0 0;
  text-align: center;
  font-size: 0.82rem;
}

.hero-pdf-extra a {
  color: var(--accent-silver);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.hero-pdf-extra a:hover {
  color: var(--text);
}

.funding-amount-lead {
  margin: 0 0 1rem;
  font-size: 1.15rem;
  color: var(--accent-silver);
}

.funding-use-list {
  margin: 0 0 1.25rem;
}

.funding-progress {
  margin: 1rem 0 1.25rem;
}

.funding-progress-label {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.45rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--muted);
}

.funding-progress-track {
  height: 8px;
  border-radius: 999px;
  background: rgba(42, 51, 64, 0.65);
  overflow: hidden;
}

.funding-progress-fill {
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), #ff9f43);
  transition: width 0.4s ease;
}

/* Progress accordion */
.progress-snapshot {
  margin: 0 0 1.35rem;
  padding: 1rem 1.15rem;
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--accent-silver);
  background: rgba(94, 184, 255, 0.08);
  border: 1px solid rgba(94, 184, 255, 0.22);
  border-radius: 10px;
}

.progress-snapshot strong {
  color: var(--text);
}

.architecture-freeze-notice {
  margin: 0 0 1.25rem;
  padding: 1.1rem 1.15rem;
  background: rgba(212, 175, 55, 0.07);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 10px;
}

.architecture-freeze-badge {
  margin: 0 0 0.65rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #d4af37;
}

.architecture-freeze-title {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.architecture-freeze-meta {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.architecture-freeze-notice > p {
  margin: 0 0 0.85rem;
  font-size: 0.92rem;
  line-height: 1.5;
}

.architecture-freeze-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.architecture-freeze-label {
  margin: 0 0 0.4rem;
  font-size: 0.78rem;
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent-silver);
}

.architecture-freeze-grid .bullet-list {
  margin: 0;
  font-size: 0.84rem;
}

.architecture-freeze-policy {
  margin: 0;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.45;
}

.architecture-freeze-notice a {
  color: #d4af37;
}

@media (max-width: 900px) {
  .architecture-freeze-grid {
    grid-template-columns: 1fr;
  }
}

.progress-accordion {
  margin: 0 0 1rem;
}

.progress-accordion-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0.45rem 0.75rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--done);
  background: rgba(61, 214, 140, 0.08);
  border: 1px solid rgba(61, 214, 140, 0.28);
  border-radius: 6px;
  cursor: pointer;
}

.progress-accordion-toggle:hover {
  background: rgba(61, 214, 140, 0.14);
}

.progress-accordion-panel {
  margin-top: 0.65rem;
}

.progress-accordion-panel[hidden] {
  display: none;
}

.stage8-completed-group {
  margin-bottom: 0.5rem;
}

.stage8-completed-note {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 400;
}

.stage8-completed-sub {
  margin: 0.45rem 0 0.25rem;
  padding-left: 1.1rem;
}

.stage8-completed-sub li {
  color: var(--accent-silver);
  font-family: var(--mono);
  font-size: 0.84rem;
}

.storyboard-lead {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.why-ukraine {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(42, 51, 64, 0.45);
}

.impact-lead {
  margin: 1rem 0 0.75rem;
  padding: 0.85rem 1rem;
  background: rgba(74, 158, 255, 0.08);
  border-left: 3px solid rgba(74, 158, 255, 0.55);
  color: var(--text);
  line-height: 1.55;
}

.civil-use-note {
  margin: 0.75rem 0 0;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.5;
}

.subdrone-panel .container {
  border-color: rgba(212, 175, 55, 0.28);
}

.innovation-eyebrow {
  display: block;
  width: 100%;
  margin: 0 0 0.75rem;
  text-align: center;
  font-family: var(--mono);
  font-size: clamp(0.88rem, 1.75vw, 1.12rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-bright);
  text-shadow: 0 0 22px rgba(245, 215, 110, 0.5);
  line-height: 1.35;
}

.subdrone-panel .innovation-eyebrow + h2 {
  margin-top: 0;
}

.subdrone-panel .eyebrow:not(.innovation-eyebrow) {
  margin-bottom: 0.35rem;
}

.subdrone-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 2rem;
  margin: 1.25rem 0 0;
}

.mission-flow {
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
  counter-reset: mission;
}

.mission-flow li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.35rem 1rem;
  padding: 0.65rem 0 0.65rem 2.25rem;
  border-bottom: 1px solid rgba(42, 51, 64, 0.45);
  color: var(--muted);
  font-size: 0.92rem;
  position: relative;
  counter-increment: mission;
}

.mission-flow li::before {
  content: counter(mission, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.65rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
}

.mission-flow strong {
  color: var(--text);
}

.mission-flow span {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--muted);
}

.storyboard-lead code,
.notice code {
  font-family: var(--mono);
  font-size: 0.82em;
  color: var(--accent-silver);
}

/* Storyboard blocks from collage */
.storyboard-figure {
  margin: 0 0 0.75rem;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(160, 175, 195, 0.35);
  background: var(--media-frame-bg);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.3);
}

.storyboard-figure picture {
  display: block;
  line-height: 0;
  background: var(--media-frame-bg);
}

.storyboard-figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  background: var(--media-frame-bg);
  filter: brightness(var(--media-brightness)) contrast(var(--media-contrast));
}

/* Hero — natural tone, no drop shadow (carbon texture) */
.hero-media-carbon.media-tone-natural img {
  filter: contrast(1.06) saturate(1.04);
}

#manufacturing .storyboard-figure.media-tone-natural {
  border: 1px solid rgba(94, 184, 255, 0.25);
  background: #000;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

#manufacturing .storyboard-figure.media-tone-natural picture,
#manufacturing .storyboard-figure.media-tone-natural img {
  background: #000;
  filter: none;
}

.storyboard-figure figcaption {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-silver);
  background: rgba(0, 0, 0, 0.5);
  border-top: 1px solid var(--panel-border);
}

.storyboard-num {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent);
  padding: 0.15rem 0.45rem;
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 4px;
}

.storyboard-tags {
  margin: 0 0 1rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.5;
}

.storyboard-panel .container {
  border-color: rgba(94, 184, 255, 0.12);
}

/* Support modal */
body.modal-open {
  overflow: hidden;
}

.support-modal[hidden] {
  display: none;
}

.support-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.support-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
}

.support-modal-dialog {
  position: relative;
  width: min(520px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  padding: 1.75rem 1.5rem 1.25rem;
  background: rgba(12, 14, 18, 0.96);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
}

.support-modal-close {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  width: 2rem;
  height: 2rem;
  border: none;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 1.25rem;
  border-radius: 6px;
  cursor: pointer;
}

.support-modal h2 {
  margin: 0 2rem 0.35rem 0;
  font-size: 1.2rem;
  color: var(--accent-silver);
}

.support-modal-lead {
  margin: 0 0 0.65rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.support-modal-desc {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.support-modal-email {
  display: inline-flex;
  margin: 0.85rem 0 0;
  font-size: 0.82rem;
  text-decoration: none;
}

.support-modal-note {
  margin: 0.5rem 0 0;
  font-size: 0.75rem;
  font-family: var(--mono);
  color: var(--muted);
  text-align: center;
}

.support-modal-pay-options {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--panel-border);
}

.support-modal-pay-options .btn {
  flex: 1 1 calc(50% - 0.35rem);
  min-width: min(100%, 10.5rem);
  justify-content: center;
  text-align: center;
  text-decoration: none;
}

@media (max-width: 420px) {
  .support-modal-pay-options .btn {
    flex: 1 1 100%;
  }
}

.support-interac {
  margin-top: 0.85rem;
  padding: 0.85rem 0.95rem;
  background: rgba(244, 196, 0, 0.08);
  border: 1px solid rgba(244, 196, 0, 0.35);
  border-radius: 10px;
  text-align: left;
}

.support-interac-label {
  margin: 0 0 0.45rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #f4c400;
}

.support-interac-steps {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.45;
}

.support-interac-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
}

.support-interac-value {
  flex: 1 1 auto;
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--accent-silver);
  word-break: break-all;
}

.btn-interac-copy {
  flex: 0 0 auto;
  padding: 0.35rem 0.65rem;
  font-size: 0.72rem;
  font-family: inherit;
  background: #f4c400;
  color: #0a0c0f;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
}

.btn-interac-copy:hover {
  filter: brightness(1.05);
}

.support-interac-note {
  margin: 0.55rem 0 0;
  font-size: 0.7rem;
  color: var(--muted);
  line-height: 1.4;
}

.bank-card {
  margin-bottom: 1rem;
  padding: 1rem 1.1rem;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--panel-border);
  border-radius: 10px;
}

.bank-card h3 {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  color: var(--accent);
}

.bank-card .bank-badge {
  display: inline-block;
  margin-bottom: 0.5rem;
  padding: 0.2rem 0.5rem;
  font-family: var(--mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(94, 184, 255, 0.12);
  color: var(--active);
  border-radius: 4px;
}

.bank-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(42, 51, 64, 0.4);
  font-size: 0.85rem;
}

.bank-row:last-of-type {
  border-bottom: none;
}

.bank-row dt {
  color: var(--muted);
  margin: 0;
}

.bank-row dd {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--text);
  text-align: right;
  word-break: break-all;
}

.bank-notes {
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.78rem;
  color: var(--muted);
}

.bank-notes li {
  padding: 0.2rem 0 0.2rem 1rem;
  position: relative;
}

.bank-notes li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--accent-dim, var(--accent));
}

.btn-copy {
  margin-top: 0.65rem;
  padding: 0.45rem 0.85rem;
  font-size: 0.75rem;
  font-family: var(--mono);
  background: transparent;
  border: 1px solid var(--panel-border);
  color: var(--accent-silver);
  border-radius: 6px;
  cursor: pointer;
}

.btn-copy:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Contact */
.contact-panel .container {
  border-color: rgba(212, 175, 55, 0.35);
}

.contact-title {
  font-size: 1.1rem;
  color: var(--text) !important;
}

.contact-panel a {
  font-family: var(--mono);
  font-size: 1.05rem;
}

.contact-details {
  max-width: 42em;
  margin-inline: auto;
  text-align: left;
}

.contact-panel h3.subhead {
  text-align: left;
  margin-top: 1.5rem;
}

.contact-panel h3.subhead:first-of-type {
  margin-top: 0.5rem;
}

.contact-line {
  margin-bottom: 0.65rem;
}

.contact-open-list {
  margin: 0 0 0.5rem;
  padding-left: 1.25rem;
}

.contact-open-list li {
  margin-bottom: 0.55rem;
  color: var(--muted);
  line-height: 1.45;
}

/* Intellectual property */
.panel-ip {
  padding-top: 1.25rem;
  padding-bottom: 1.5rem;
}

.panel-ip .container {
  border-color: rgba(160, 170, 185, 0.28);
}

.ip-notice-body {
  font-size: 0.92rem;
  line-height: 1.68;
}

.ip-notice-body p {
  margin-bottom: 0.85rem;
}

.ip-notice-future {
  margin-top: 0.5rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(42, 51, 64, 0.55);
  font-size: 0.88rem;
  font-style: italic;
}

.ip-notice-copy {
  margin: 1rem 0 0;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: var(--accent-silver);
}

/* Footer */
.site-footer {
  padding: 2rem 0 3rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-inner a {
  color: var(--muted);
  text-decoration: none;
}

.footer-inner a:not(.back-to-top):hover {
  color: var(--accent-bright);
  text-decoration: underline;
}

.page-top-anchor {
  display: block;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.footer-inner .back-to-top {
  cursor: pointer;
}

.footer-inner .back-to-top:hover {
  color: var(--accent-bright);
}

@media (min-width: 721px) {
  :root {
    --header-h: 100px;
  }

  .site-logo img {
    max-height: 96px;
  }

  .site-logo-mark {
    width: 52px;
    height: 52px;
  }

  .site-logo-text {
    font-size: 1.45rem;
  }

  .site-logo-text em {
    font-size: 1.1rem;
  }

  .hero-eyebrow {
    font-size: 0.88rem;
    letter-spacing: 0.05em;
  }
}

@media (max-width: 960px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .hero-panel .hero-body,
  .hero-media-stack {
    grid-column: 1;
  }

  .hero-media-stack {
    grid-row: 2;
    max-width: min(100%, 420px);
    margin-inline: auto;
  }
}

@media (min-width: 721px) and (max-width: 1050px) {
  .nav a {
    font-size: 0.7rem;
  }

  .nav {
    gap: 0.3rem 0.5rem;
  }

  .hpill-active {
    font-size: 9px;
    padding: 3px 7px;
  }

  .site-logo-text {
    font-size: 0.95rem;
  }
}

@media (max-width: 768px) {
  .header-status-pills {
    display: none;
  }
}

@media (max-width: 720px) {
  :root {
    --header-h: 118px;
  }

  .header-inner {
    width: 100%;
    max-width: none;
    padding: 0.5rem clamp(0.85rem, 3vw, 1.25rem);
  }

  .header-layout {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    min-height: auto;
    gap: 0.5rem;
  }

  .site-logo {
    grid-row: auto;
    grid-column: 1 / -1;
    max-width: 100%;
  }

  .site-logo-mark {
    min-height: 48px;
    max-height: 56px;
  }

  .header-nav-wrap {
    grid-column: 1 / -1;
  }

  .header-nav-wrap:not(.is-open) .nav {
    display: none;
  }

  .header-nav-wrap.is-open .nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .header-nav-wrap.is-open .header-nav-row-1 {
    flex-direction: column;
    align-items: stretch;
  }

  .header-nav-row-1 {
    border-bottom: none;
    padding-bottom: 0;
  }

  .hero-eyebrow {
    white-space: normal;
    font-size: 0.68rem;
    letter-spacing: 0.04em;
  }

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

  .hero-panel .hero-body,
  .hero-media-stack {
    grid-column: 1;
  }

  .hero-media-stack {
    grid-row: 2;
    order: 1;
    max-width: 100%;
    width: 100%;
    margin-inline: 0;
  }

  .hero-panel .hero-body {
    order: 2;
  }

  .hero-panel {
    padding-top: 1rem;
  }

  .hero-body .hero-eyebrow,
  .hero-body h1,
  .hero-body .lead {
    text-align: center;
  }

  .hero-media-carbon img {
    object-fit: contain;
    object-position: center center;
    min-height: 0;
    max-height: min(48vh, 320px);
    width: 100%;
  }

  .hero-caption {
    font-size: 0.95rem;
  }

  .site-logo-text {
    white-space: normal;
    line-height: 1.15;
    font-size: 0.85rem;
  }

  .hero-cta-below {
    flex-direction: column;
  }

  .hero-cta-below .btn {
    flex: 1 1 auto;
    width: 100%;
  }

  .site-logo-text em {
    font-size: 0.65rem;
  }

  .site-logo-mark {
    width: 44px;
    height: 44px;
  }

  .nav-toggle {
    display: block;
    margin-left: auto;
  }

  .panel .container {
    padding: 1.5rem 1.25rem;
  }

  .bullet-list.cols-2 {
    columns: 1;
  }

  .panel-split .container:not(.hero-container) {
    grid-template-columns: 1fr;
  }

  .panel-split .container:not(.hero-container) .panel-media {
    order: -1;
  }

  .hero-panel .hero-media-carbon {
    order: 0;
  }

  .panel-media-wide img {
    max-height: 240px;
  }

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

/* Stage 8 milestone banner (AI Brain section) */
.stage8-milestone-banner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1.5rem 0 1.75rem;
}

.stage8-banner-item {
  padding: 1rem 1.1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  text-align: center;
}

.stage8-banner-item strong {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.35;
}

.stage8-banner-label {
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.stage8-banner-item-accent {
  border-color: rgba(255, 107, 74, 0.45);
  background: rgba(255, 107, 74, 0.07);
}

.stage8-banner-item-go {
  border-color: rgba(120, 220, 160, 0.45);
  background: rgba(120, 220, 160, 0.06);
}

.stage8-banner-item-go strong {
  color: #9ae8bc;
}

.stage8-recovery-block {
  margin-top: 2rem;
  padding: 1.5rem 1.35rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 107, 74, 0.22);
  border-left: 4px solid rgba(255, 107, 74, 0.55);
  border-radius: 10px;
}

.stage8-recovery-block .innovation-eyebrow {
  margin-bottom: 0.5rem;
}

.stage8-recovery-block .subhead {
  margin-top: 0;
  font-size: 1.15rem;
}

.stage8-recovery-block .recovery-results {
  margin-top: 1rem;
}

.stage8-status-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 1.5rem;
  margin-top: 1.25rem;
}

.stage8-status-grid p {
  margin: 0;
  font-size: 0.92rem;
}

@media (max-width: 720px) {
  .stage8-milestone-banner,
  .stage8-status-grid {
    grid-template-columns: 1fr;
  }

  .hero-achievements-line,
  .hero-positioning-list li {
    font-size: 0.72rem;
  }
}
