/* Onyx Group / vetOS — Navy, white, gold */

:root {
  --navy: #0b1d36;
  --navy-deep: #071525;
  --navy-mid: #122a4f;
  --navy-panel: #16304f;
  --bg: var(--navy);
  --bg-elevated: #102744;
  --panel: #143155;
  --line: #2a4a73;
  --line-strong: #3d6594;
  --text: #ffffff;
  --muted: #b7c7dc;
  --faint: #7f95b3;
  --gold: #c9a227;
  --gold-bright: #e0bc4a;
  --gold-dim: rgba(201, 162, 39, 0.16);
  --amber: var(--gold);
  --amber-bright: var(--gold-bright);
  --amber-dim: var(--gold-dim);
  --signal: #ffffff;
  --signal-soft: rgba(255, 255, 255, 0.08);
  --steel: #8fa6c4;
  --onyx-mute: #c5d2e4;

  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --sans: "IBM Plex Sans", "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", "Consolas", monospace;

  --nav-h: 72px;
  --rail-h: 28px;
  --max: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

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

strong { color: var(--gold-bright); font-weight: 600; }

.mono { font-family: var(--mono); }

/* —— System rail —— */
.sys-rail {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--rail-h);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--faint);
  background: var(--navy-deep);
  border-bottom: 1px solid var(--line);
}

.sys-rail__sep { opacity: 0.5; }

.sys-rail__stage {
  color: var(--gold-bright);
  letter-spacing: 0.16em;
}

/* —— Nav —— */
.nav {
  position: fixed;
  top: var(--rail-h);
  left: 0;
  right: 0;
  z-index: 90;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 4vw, 56px);
  padding: 0 clamp(20px, 5vw, 64px);
  background: rgba(11, 29, 54, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.nav.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(7, 21, 37, 0.96);
}

.nav__mark {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
  opacity: 0.9;
  transition: opacity 0.25s var(--ease);
}

.nav__mark:hover { opacity: 1; }

.nav__logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
}

.nav__word {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.28em;
  text-transform: lowercase;
  color: var(--onyx-mute);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.5vw, 32px);
}

.nav__links a {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s var(--ease);
}

.nav__links a:hover { color: var(--text); }

.nav__cta {
  color: var(--gold-bright) !important;
  padding: 8px 14px;
  border: 1px solid rgba(201, 162, 39, 0.45);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease) !important;
}

.nav__cta:hover {
  border-color: var(--gold-bright);
  background: var(--gold-dim);
  color: #fff !important;
}

.nav__toggle {
  display: none;
  position: absolute;
  right: clamp(16px, 4vw, 32px);
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  z-index: 2;
}

.nav__toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 0 auto;
  background: var(--text);
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

.nav.is-open .nav__toggle span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.nav.is-open .nav__toggle span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}

.btn--primary {
  background: var(--gold);
  color: var(--navy-deep);
  border-color: var(--gold);
}

.btn--primary:hover {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
  color: var(--navy-deep);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.35);
  position: relative;
}

.btn--ghost::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.35s var(--ease);
}

.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
}

.btn--ghost:hover::after { width: 100%; }

/* —— Hero —— */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--rail-h) + var(--nav-h) + 48px) clamp(20px, 5vw, 64px) 88px;
  overflow: hidden;
}

.hero__atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(820px 420px at 50% 30%, rgba(201, 162, 39, 0.12), transparent 55%),
    radial-gradient(700px 480px at 50% 80%, rgba(255, 255, 255, 0.05), transparent 50%),
    linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 45%, #0e2a4d 100%);
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(42, 74, 115, 0.55) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42, 74, 115, 0.55) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 75% 65% at 50% 40%, #000 20%, transparent 75%);
  animation: grid-drift 28s linear infinite;
}

.hero__scan {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(255, 255, 255, 0.02) 3px,
    rgba(255, 255, 255, 0.02) 4px
  );
  animation: scan-drift 12s linear infinite;
  opacity: 0.75;
}

.hero__orb {
  position: absolute;
  width: min(70vw, 720px);
  aspect-ratio: 1;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%);
  opacity: 0.55;
}

.hero__orb-ring {
  position: absolute;
  inset: 8%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
}

.hero__orb-ring--2 {
  inset: 22%;
  border-color: rgba(201, 162, 39, 0.28);
  animation: orb-spin 48s linear infinite;
}

.hero__orb-core {
  position: absolute;
  inset: 34%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 40% 35%, rgba(255, 255, 255, 0.14), transparent 55%),
    radial-gradient(circle at 60% 70%, rgba(201, 162, 39, 0.16), transparent 50%);
  border: 1px solid rgba(201, 162, 39, 0.18);
}

.hero__orb-dash {
  position: absolute;
  left: 18%;
  right: 18%;
  top: 28%;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(224, 188, 74, 0.45), transparent);
  opacity: 0.65;
}

.hero__orb-dash--2 {
  top: 46%;
  left: 12%;
  right: 12%;
  opacity: 0.4;
  height: 8px;
}

.hero__orb-dash--3 {
  top: 62%;
  left: 22%;
  right: 22%;
  opacity: 0.3;
  height: 7px;
}

.hero__vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 42%, transparent 20%, rgba(7, 21, 37, 0.72) 70%, var(--bg) 100%),
    linear-gradient(180deg, transparent 55%, var(--bg) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 0 26px;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--steel);
}

.hero__signal {
  color: var(--gold-bright);
  padding: 5px 10px;
  border: 1px solid rgba(201, 162, 39, 0.5);
  background: var(--gold-dim);
  letter-spacing: 0.16em;
}

.hero__meta-sep { color: var(--faint); }

.hero__brand {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(88px, 18vw, 168px);
  line-height: 0.86;
  letter-spacing: -0.01em;
  text-transform: none;
}

.hero__brand-vet {
  color: var(--text);
}

.hero__brand-os {
  color: var(--gold-bright);
  position: relative;
}

.hero__brand-os::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.06em;
  height: 0.06em;
  background: linear-gradient(90deg, var(--gold), transparent 85%);
  opacity: 0.9;
}

.hero__headline {
  margin: 28px auto 0;
  max-width: 20ch;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(28px, 4.2vw, 42px);
  line-height: 1.1;
  letter-spacing: 0.01em;
  color: var(--text);
}

.hero__line {
  margin: 18px auto 0;
  max-width: 48ch;
  font-size: clamp(16px, 1.8vw, 18px);
  color: var(--muted);
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 40px;
}

.hero__status {
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0;
  width: max-content;
  max-width: calc(100% - 40px);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--faint);
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.2);
  animation: pulse-dot 2.4s ease-in-out infinite;
}

/* —— Thesis band —— */
.thesis {
  position: relative;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(201, 162, 39, 0.06), transparent 70%),
    var(--bg-elevated);
}

.thesis__inner {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(40px, 7vh, 64px) clamp(20px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.thesis__kicker {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--amber);
}

.thesis__copy {
  margin: 0 auto;
  max-width: 36ch;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(24px, 3.4vw, 34px);
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: var(--text);
}

.thesis__em {
  color: var(--gold-bright);
}

/* —— Sections —— */
.section {
  position: relative;
  padding: clamp(72px, 12vh, 120px) clamp(20px, 5vw, 64px);
  border-top: 1px solid var(--line);
}

.section__head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}

.section__head--firm { margin-bottom: 32px; }

.eyebrow {
  margin: 0 0 16px;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--amber);
}

.section h2 {
  margin: 0 auto;
  max-width: 16ch;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(36px, 5.5vw, 56px);
  line-height: 1.05;
  letter-spacing: 0.01em;
  color: var(--text);
}

.section__lead {
  margin: 18px auto 0;
  max-width: 48ch;
  color: var(--muted);
  font-size: 17px;
}

/* —— Product overview —— */
.product-overview {
  max-width: 720px;
  width: 100%;
  margin: -24px auto 56px;
  padding: 28px 24px 24px;
  border: 1px solid var(--line);
  border-top: 2px solid var(--gold);
  background: rgba(7, 21, 37, 0.35);
  text-align: center;
}

.product-overview p {
  margin: 0 auto 14px;
  max-width: 52ch;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--muted);
}

.product-overview p:last-child {
  margin-bottom: 0;
}

.product-overview__status {
  margin-top: 22px !important;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--gold-bright);
}

.cap-label {
  max-width: var(--max);
  margin: 0 auto 20px;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--gold-bright);
}

/* —— Capabilities —— */
.cap-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 920px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}

.cap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 36px 28px;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.cap:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.cap__idx {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--faint);
}

.cap h3 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 26px;
  letter-spacing: 0.02em;
  color: var(--text);
}

.cap p {
  margin: 0 auto;
  color: var(--muted);
  font-size: 15px;
  max-width: 36ch;
}

/* —— Workflow —— */
.section--workflow {
  background:
    linear-gradient(180deg, rgba(16, 39, 68, 0.85), transparent 40%),
    var(--bg);
}

.flow {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: var(--max);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  counter-reset: none;
}

.flow__step {
  position: relative;
  padding: 0 16px;
  border-left: 1px solid var(--line);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.flow__step:first-child { border-left-color: var(--amber); }

.flow__n {
  display: block;
  margin-bottom: 16px;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--amber);
}

.flow__step h3 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: 0.02em;
}

.flow__step p {
  margin: 0 auto;
  font-size: 14px;
  color: var(--muted);
  max-width: 22ch;
}

/* —— Security —— */
.sec-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.sec {
  padding: 32px 28px;
  background: var(--bg-elevated);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sec h3 {
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--amber-bright);
}

.sec p {
  margin: 0 auto;
  font-size: 15px;
  color: var(--muted);
  max-width: 32ch;
}

/* —— Veterans —— */
.section--veterans {
  background:
    radial-gradient(700px 320px at 50% 30%, rgba(201, 162, 39, 0.1), transparent 60%),
    var(--bg-elevated);
}

.veterans {
  max-width: var(--max);
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.veterans__panel {
  max-width: 720px;
  width: 100%;
  padding: 36px 28px 32px;
  border: 1px solid var(--line);
  border-top: 2px solid var(--gold);
  background: rgba(7, 21, 37, 0.45);
}

.veterans__copy {
  margin: 0 auto 16px;
  max-width: 48ch;
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.65;
  color: var(--muted);
}

.veterans__copy:last-of-type {
  margin-bottom: 0;
}

.veterans__pledge {
  margin: 28px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--gold-bright);
}

/* —— Partners —— */
.section--partners {
  background:
    linear-gradient(180deg, rgba(16, 39, 68, 0.9), transparent 50%),
    var(--bg);
}

.partner-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.partner-card {
  padding: 36px 28px;
  background: var(--bg-elevated);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.partner-card h3 {
  margin: 0 0 14px;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--gold-bright);
}

.partner-card p {
  margin: 0 auto;
  max-width: 34ch;
  font-size: 15px;
  color: var(--muted);
}

/* —— Team —— */
.section--team {
  background:
    linear-gradient(180deg, rgba(16, 39, 68, 0.75), transparent 45%),
    var(--bg);
}

.team-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 64px);
  align-items: start;
}

.team-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.team-member__photo {
  width: min(100%, 280px);
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border: 1px solid var(--line-strong);
  border-bottom: 2px solid var(--gold);
  margin-bottom: 22px;
}

.team-member__name {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(28px, 3.5vw, 34px);
  letter-spacing: 0.02em;
  color: var(--text);
}

.team-member__role {
  margin: 8px 0 0;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-bright);
}

.team-member__bio {
  margin-top: 18px;
  max-width: 42ch;
}

.team-member__bio p {
  margin: 0 0 14px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
  text-align: center;
}

.team-member__bio p:last-child {
  margin-bottom: 0;
}

/* —— Firm —— */
.section--firm {
  background:
    radial-gradient(600px 280px at 50% 40%, rgba(201, 162, 39, 0.08), transparent 60%),
    var(--bg);
}

.firm {
  max-width: var(--max);
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.firm__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin: 0 0 36px;
}

.firm__logo {
  width: 96px;
  height: auto;
  opacity: 0.95;
}

.firm__word {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.32em;
  text-transform: lowercase;
  color: var(--onyx-mute);
}

.firm__tag {
  margin: 0;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--faint);
}

/* —— Contact —— */
.contact {
  max-width: var(--max);
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.book-panel {
  max-width: 560px;
  width: 100%;
  margin: 0 0 36px;
  padding: 32px 28px;
  border: 1px solid var(--line);
  border-top: 2px solid var(--gold);
  background: rgba(7, 21, 37, 0.45);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.book-panel__kicker {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--gold-bright);
}

.book-panel__copy {
  margin: 0 0 6px;
  max-width: 36ch;
  font-size: 16px;
  color: var(--muted);
}

.form-divider {
  margin: 0 0 28px;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--faint);
}

.contact__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 24px;
  max-width: 720px;
  width: 100%;
  text-align: left;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field--full { grid-column: 1 / -1; }

.field__label {
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--faint);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 14px 14px;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--text);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 0;
  outline: none;
  transition: border-color 0.2s var(--ease);
  resize: vertical;
}

.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%),
    linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 36px;
  cursor: pointer;
}

.field select option {
  background: var(--navy-deep);
  color: var(--text);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--gold);
}

.inline-link {
  color: var(--gold-bright);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.inline-link:hover {
  color: var(--text);
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--faint);
}

.contact__actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 8px;
}

.contact__note {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--amber);
  text-align: center;
}

.contact__note.is-ok { color: var(--gold-bright); }
.contact__note.is-error { color: #e8a0a0; }

.contact__form .btn:disabled {
  opacity: 0.55;
  cursor: wait;
}

/* —— Footer —— */
.footer {
  padding: 40px clamp(20px, 5vw, 64px) 48px;
  border-top: 1px solid var(--line);
  background: var(--navy-deep);
}

.footer__row {
  max-width: var(--max);
  margin: 0 auto 20px;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.footer__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 28px;
  letter-spacing: 0.02em;
}

.footer__logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
  opacity: 0.9;
}

.footer__onyx {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: lowercase;
  color: var(--onyx-mute);
}

.footer__product {
  font-family: var(--display);
  font-size: 26px;
  color: var(--text);
}

.footer__product span {
  color: var(--gold-bright);
}

.footer__sep {
  color: var(--faint);
  font-weight: 400;
  font-size: 18px;
}

.footer__notice {
  margin: 0 auto;
  max-width: 48ch;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--faint);
  line-height: 1.5;
  text-align: center;
}

.footer__legal {
  max-width: 72ch;
  margin: 0 auto 20px;
  padding: 0 clamp(20px, 5vw, 64px);
  font-size: 12px;
  line-height: 1.55;
  color: var(--faint);
  text-align: center;
}

.footer__copy {
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--faint);
  text-align: center;
}

/* —— Reveal motion —— */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

.hero .reveal {
  transition-delay: 0ms;
}

.hero .reveal:nth-child(1) { transition-delay: 80ms; }
.hero .reveal:nth-child(2) { transition-delay: 160ms; }
.hero .reveal:nth-child(3) { transition-delay: 240ms; }
.hero .reveal:nth-child(4) { transition-delay: 320ms; }
.hero .reveal:nth-child(5) { transition-delay: 400ms; }

/* —— Animations —— */
@keyframes grid-drift {
  from { transform: translateY(0); }
  to { transform: translateY(72px); }
}

@keyframes scan-drift {
  from { transform: translateY(0); }
  to { transform: translateY(24px); }
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

@keyframes orb-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* —— Responsive —— */
@media (max-width: 980px) {
  .flow {
    grid-template-columns: 1fr 1fr;
    gap: 36px 0;
  }

  .flow__step {
    padding-bottom: 8px;
  }

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

  .sec-grid,
  .partner-grid {
    grid-template-columns: 1fr 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }
}

@media (max-width: 820px) {
  .nav__toggle { display: flex; }

  .nav__links {
    position: fixed;
    inset: calc(var(--rail-h) + var(--nav-h)) 0 0 0;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
    padding: 24px 20px;
    background: rgba(7, 21, 37, 0.98);
    border-top: 1px solid var(--line);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  }

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

  .nav__links a {
    padding: 18px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 13px;
  }

  .nav__cta {
    margin-top: 20px;
    text-align: center;
    justify-content: center;
  }

  .cap-list {
    grid-template-columns: 1fr;
  }

  .cap:nth-child(odd),
  .cap:nth-child(even) {
    padding: 28px 0;
    border-right: none;
  }

  .hero__orb {
    width: 110vw;
    opacity: 0.4;
  }

  .cap:nth-child(odd) {
    border-right: none;
  }
}

@media (max-width: 600px) {
  .sys-rail { font-size: 9px; letter-spacing: 0.08em; gap: 6px; }

  .nav__logo { width: 34px; height: 34px; }
  .nav__word { font-size: 11px; letter-spacing: 0.2em; }

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

  .flow__step {
    border-left: none;
    border-top: 1px solid var(--line);
    padding: 24px 12px;
  }

  .flow__step:first-child { border-top-color: var(--amber); }

  .sec-grid,
  .partner-grid {
    grid-template-columns: 1fr;
  }

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

  .hero__brand {
    font-size: clamp(72px, 20vw, 104px);
  }

  .hero__status {
    position: static;
    transform: none;
    margin-top: 48px;
  }

  .firm__logo {
    width: 80px;
  }

  .footer__notice {
    max-width: none;
  }

  .footer__brand {
    flex-wrap: wrap;
  }
}
