/* ============================================
   FULL HOUSE DRONES — Defense-grade design system
   ============================================ */

:root {
  /* Core palette — tactical dark */
  --bg-0: #05070a;
  --bg-1: #0a0d12;
  --bg-2: #11161d;
  --bg-3: #1a222c;
  --line: #253140;
  --line-dim: #1a2230;
  --fg-0: #e8edf2;
  --fg-1: #b7c2cf;
  --fg-2: #6b7886;
  --fg-3: #3d4855;

  /* Accents — amber = priority, cyan = data */
  --amber: #ffb300;
  --amber-glow: rgba(255, 179, 0, 0.35);
  --cyan: #4ddbe0;
  --cyan-glow: rgba(77, 219, 224, 0.25);
  --red: #ff4a3d;

  /* Typography */
  --font-display: "Rajdhani", "Oswald", "Impact", sans-serif;
  --font-body: "Inter", "Helvetica Neue", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", "Consolas", monospace;

  /* Motion */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --max: 1400px;
  --pad: clamp(1.25rem, 3vw, 2.5rem);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  background: var(--bg-0);
  color: var(--fg-0);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  min-height: 100vh;
  overflow-x: hidden;
  background-image:
    linear-gradient(rgba(37, 49, 64, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 49, 64, 0.08) 1px, transparent 1px);
  background-size: 64px 64px;
  background-attachment: fixed;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.05;
  text-transform: uppercase;
}

.mono { font-family: var(--font-mono); }
.meta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-2);
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1.2rem;
}
.eyebrow::before {
  content: "";
  width: 10px; height: 10px;
  background: var(--amber);
  box-shadow: 0 0 12px var(--amber-glow);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

/* --- Nav --- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0.85rem var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: rgba(5, 7, 10, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.nav.scrolled { border-bottom-color: var(--line-dim); background: rgba(5, 7, 10, 0.92); }

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.nav-brand img { height: 36px; width: auto; }
.nav-brand .tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-2);
  padding-left: 0.75rem;
  border-left: 1px solid var(--line);
  line-height: 1.2;
}
@media (max-width: 600px) { .nav-brand .tag { display: none; } }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav-menu a {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-1);
  padding: 0.4rem 0;
  position: relative;
  transition: color .2s var(--ease);
}
.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 1px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav-menu a:hover { color: var(--fg-0); }
.nav-menu a:hover::after,
.nav-menu a.active::after { transform: scaleX(1); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.6rem 0.6rem 1.1rem;
  background: var(--amber);
  color: #0b0d12;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid var(--amber);
  transition: all .2s var(--ease);
  clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}
.nav-cta:hover { background: #fff; border-color: #fff; transform: translateY(-1px); }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--fg-0);
  width: 42px; height: 42px;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 1.2rem;
  align-items: center;
  justify-content: center;
}
@media (max-width: 900px) {
  .nav-menu, .nav > .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav.open .nav-menu {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg-1);
    border-bottom: 1px solid var(--line);
    padding: 1rem var(--pad) 1.5rem;
  }
  .nav.open .nav-menu li { width: 100%; border-top: 1px solid var(--line-dim); }
  .nav.open .nav-menu a { display: block; padding: 1rem 0; }
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.95rem 1.6rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--fg-0);
  cursor: pointer;
  transition: all .25s var(--ease);
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 40%, rgba(255, 255, 255, 0.08) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform .6s var(--ease);
}
.btn:hover::before { transform: translateX(100%); }
.btn:hover { border-color: var(--fg-0); }

.btn-primary {
  background: var(--amber);
  color: #0b0d12;
  border-color: var(--amber);
}
.btn-primary:hover { background: #fff; border-color: #fff; }

.btn .arrow { display: inline-block; transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 6rem;
  padding-bottom: 4rem;
  overflow: hidden;
  isolation: isolate;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
  opacity: 0.45;
  filter: saturate(0.7) contrast(1.08);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(77, 219, 224, 0.12), transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(255, 179, 0, 0.08), transparent 50%),
    linear-gradient(180deg, rgba(5, 7, 10, 0.65) 0%, rgba(5, 7, 10, 0.85) 55%, rgba(5, 7, 10, 1) 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: repeating-linear-gradient(
    0deg, transparent 0, transparent 2px,
    rgba(0, 0, 0, 0.15) 2px, rgba(0, 0, 0, 0.15) 3px
  );
  mix-blend-mode: overlay;
  opacity: 0.3;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 4rem;
  align-items: center;
}
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; gap: 2rem; } }

.hero-title {
  font-size: clamp(2.75rem, 7vw, 5.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 0.95;
  margin-bottom: 1.75rem;
  text-transform: uppercase;
}
.hero-title .accent {
  display: block;
  color: var(--amber);
  font-style: italic;
  font-weight: 500;
}
.hero-title .stroke {
  -webkit-text-stroke: 1.5px var(--fg-0);
  color: transparent;
}

.hero-sub {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--fg-1);
  max-width: 560px;
  margin-bottom: 2.25rem;
  line-height: 1.6;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line-dim);
  max-width: 560px;
}
.stat .num {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  font-weight: 700;
  color: var(--fg-0);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stat .lbl {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-2);
}

/* HUD panel */
.hud {
  position: relative;
  background: rgba(10, 13, 18, 0.78);
  border: 1px solid var(--line);
  padding: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  backdrop-filter: blur(8px);
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
}
.hud::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 28px; height: 28px;
  border-top: 2px solid var(--amber);
  border-left: 2px solid var(--amber);
}
.hud-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0.75rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--line-dim);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-2);
}
.hud-dot {
  width: 8px; height: 8px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--cyan-glow);
  animation: pulse 2s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}
.hud-row {
  display: flex;
  justify-content: space-between;
  padding: 0.55rem 0;
  border-bottom: 1px dashed var(--line-dim);
  font-size: 0.78rem;
}
.hud-row:last-child { border-bottom: none; }
.hud-row .k { color: var(--fg-2); }
.hud-row .v { color: var(--fg-0); font-weight: 500; }
.hud-row .v.amber { color: var(--amber); }
.hud-row .v.cyan { color: var(--cyan); }

/* --- Section shell --- */
section { position: relative; padding: clamp(5rem, 10vh, 8rem) 0; }
section + section { border-top: 1px solid var(--line-dim); }

.section-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2rem;
  align-items: end;
  margin-bottom: 4rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line-dim);
}
.section-head h2 { font-size: clamp(2rem, 4.5vw, 3.5rem); grid-column: 1 / 2; }
.section-head .section-meta {
  grid-column: 3 / 4;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-2);
  text-align: right;
}
@media (max-width: 700px) {
  .section-head { grid-template-columns: 1fr; gap: 0.75rem; }
  .section-head .section-meta { text-align: left; }
}

/* --- Capabilities grid --- */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line-dim);
}
@media (max-width: 900px) { .cap-grid { grid-template-columns: 1fr; } }

.cap {
  padding: 2.25rem;
  border-right: 1px solid var(--line-dim);
  border-bottom: 1px solid var(--line-dim);
  transition: background .3s var(--ease);
  position: relative;
}
.cap:nth-child(3n) { border-right: none; }
.cap:nth-last-child(-n+3) { border-bottom: none; }
@media (max-width: 900px) {
  .cap { border-right: none; border-bottom: 1px solid var(--line-dim); }
  .cap:last-child { border-bottom: none; }
}
.cap:hover { background: var(--bg-1); }
.cap:hover .cap-num { color: var(--amber); }

.cap-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--fg-3);
  margin-bottom: 1.75rem;
  transition: color .25s var(--ease);
}
.cap-icon {
  width: 48px; height: 48px;
  margin-bottom: 1.5rem;
  color: var(--amber);
}
.cap h3 { font-size: 1.35rem; margin-bottom: 0.9rem; letter-spacing: 0; }
.cap p { color: var(--fg-1); font-size: 0.93rem; line-height: 1.6; }

/* --- Mission block --- */
.mission {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 960px) { .mission { grid-template-columns: 1fr; } }

.mission-video {
  position: relative;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--bg-1);
}
.mission-video video { width: 100%; height: 100%; object-fit: cover; }
.mission-video::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255, 179, 0, 0.3);
  pointer-events: none;
  z-index: 2;
}
.mission-video .feed-label {
  position: absolute;
  top: 20px; left: 24px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--amber);
  padding: 4px 8px;
  background: rgba(5, 7, 10, 0.8);
  border: 1px solid rgba(255, 179, 0, 0.4);
  z-index: 3;
}
.mission-video .rec {
  position: absolute;
  top: 20px; right: 24px;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--fg-0);
  padding: 4px 8px;
  background: rgba(5, 7, 10, 0.8);
  border: 1px solid var(--line);
  z-index: 3;
}
.mission-video .rec::before {
  content: "";
  width: 8px; height: 8px;
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--red);
  animation: blink 1.4s infinite;
}
@keyframes blink { 50% { opacity: 0.3; } }

.mission h2 { font-size: clamp(1.8rem, 3.5vw, 2.75rem); margin-bottom: 1.5rem; }
.mission p { color: var(--fg-1); margin-bottom: 1rem; font-size: 1.02rem; line-height: 1.65; }

.mission-points { list-style: none; margin-top: 2rem; display: grid; gap: 0.85rem; }
.mission-points li {
  display: flex;
  gap: 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--fg-1);
  letter-spacing: 0.04em;
}
.mission-points li::before { content: "▸"; color: var(--amber); flex-shrink: 0; }

/* --- Specs strip --- */
.specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line-dim);
  background: var(--bg-1);
}
@media (max-width: 800px) { .specs { grid-template-columns: repeat(2, 1fr); } }
.spec {
  padding: 2rem 1.5rem;
  border-right: 1px solid var(--line-dim);
}
.spec:last-child { border-right: none; }
@media (max-width: 800px) {
  .spec { border-bottom: 1px solid var(--line-dim); }
  .spec:nth-child(2n) { border-right: none; }
  .spec:nth-last-child(-n+2) { border-bottom: none; }
}
.spec .val {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.spec .unit { font-size: 1.1rem; color: var(--fg-2); font-weight: 400; }
.spec .lbl {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-2);
}

/* --- Approach steps --- */
.approach {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
@media (max-width: 900px) { .approach { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .approach { grid-template-columns: 1fr; } }
.step {
  padding: 0 1.75rem 0 0;
  border-right: 1px solid var(--line-dim);
}
.step:last-child { border-right: none; padding-right: 0; }
@media (max-width: 900px) {
  .step:nth-child(2n) { border-right: none; padding-right: 0; }
  .step:nth-child(odd):not(:last-child) { padding-right: 1.75rem; }
  .step { margin-bottom: 2rem; }
}
@media (max-width: 500px) {
  .step { border-right: none; padding-right: 0; border-bottom: 1px solid var(--line-dim); padding-bottom: 2rem; }
  .step:last-child { border-bottom: none; }
}
.step .num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--amber);
  letter-spacing: 0.2em;
  margin-bottom: 1.5rem;
  display: inline-block;
}
.step h4 { font-size: 1.1rem; margin-bottom: 0.75rem; letter-spacing: 0; }
.step p { font-size: 0.9rem; color: var(--fg-1); line-height: 1.6; }

/* --- Trust bar --- */
.trust {
  border-top: 1px solid var(--line-dim);
  border-bottom: 1px solid var(--line-dim);
  padding: 2rem 0;
  text-align: center;
}
.trust-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-2);
  margin-bottom: 1.5rem;
}
.trust-items {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--fg-1);
  letter-spacing: 0.08em;
}
.trust-items span::before { content: "✓"; color: var(--amber); margin-right: 0.5rem; }

/* --- CTA block --- */
.cta-block {
  background: var(--bg-1);
  border: 1px solid var(--line);
  padding: clamp(2.5rem, 6vw, 5rem);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}
@media (max-width: 800px) { .cta-block { grid-template-columns: 1fr; } }
.cta-block::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 300px; height: 300px;
  background: radial-gradient(circle, var(--amber-glow), transparent 70%);
  pointer-events: none;
}
.cta-block h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); margin-bottom: 1rem; }
.cta-block p { color: var(--fg-1); font-size: 1rem; line-height: 1.6; }
.cta-block .actions { display: flex; gap: 1rem; justify-content: flex-end; flex-wrap: wrap; }
@media (max-width: 800px) { .cta-block .actions { justify-content: flex-start; } }

/* --- Footer --- */
footer {
  background: var(--bg-1);
  border-top: 1px solid var(--line);
  padding: 4rem 0 2rem;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}
@media (max-width: 800px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-brand img { height: 48px; margin-bottom: 1rem; }
.foot-brand p { color: var(--fg-1); font-size: 0.9rem; max-width: 340px; line-height: 1.6; }
.foot-col h5 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--fg-2);
  margin-bottom: 1.25rem;
}
.foot-col ul { list-style: none; }
.foot-col li { margin-bottom: 0.65rem; }
.foot-col a { color: var(--fg-1); font-size: 0.9rem; transition: color .2s var(--ease); }
.foot-col a:hover { color: var(--amber); }

.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--line-dim);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--fg-2);
  text-transform: uppercase;
  flex-wrap: wrap;
  gap: 1rem;
}

/* --- Page headers --- */
.page-head {
  padding-top: 10rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--line-dim);
  position: relative;
}
.page-head::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 0%, rgba(255, 179, 0, 0.08), transparent 60%),
    radial-gradient(ellipse at 0% 100%, rgba(77, 219, 224, 0.06), transparent 60%);
  pointer-events: none;
}
.page-head h1 {
  font-size: clamp(2.5rem, 6vw, 4.75rem);
  margin-top: 1rem;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}
.page-head .lead {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--fg-1);
  max-width: 720px;
  line-height: 1.6;
}
.page-head .breadcrumb {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-2);
}
.page-head .breadcrumb a:hover { color: var(--amber); }

/* --- Content blocks --- */
.content {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 4rem;
}
@media (max-width: 900px) { .content { grid-template-columns: 1fr; gap: 2rem; } }
.content-aside h4 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--amber);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.content-aside p { font-size: 0.9rem; color: var(--fg-2); line-height: 1.6; }
.content-main h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 1.25rem;
  margin-top: 2.5rem;
}
.content-main h2:first-child { margin-top: 0; }
.content-main h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  margin-top: 2rem;
  color: var(--amber);
  letter-spacing: 0;
}
.content-main p { color: var(--fg-1); margin-bottom: 1.2rem; font-size: 1rem; line-height: 1.7; }
.content-main ul { margin-bottom: 1.5rem; padding-left: 0; list-style: none; }
.content-main ul li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.75rem;
  color: var(--fg-1);
  line-height: 1.65;
}
.content-main ul li::before { content: "▸"; position: absolute; left: 0; color: var(--amber); }
.content-main blockquote {
  margin: 2rem 0;
  padding: 1.5rem 2rem;
  border-left: 2px solid var(--amber);
  background: var(--bg-1);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--fg-0);
  text-transform: none;
  letter-spacing: 0;
}
.content-main a {
  color: var(--amber);
  border-bottom: 1px solid var(--amber-glow);
  transition: border-color .2s var(--ease);
}
.content-main a:hover { border-bottom-color: var(--amber); }

/* --- Team --- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line-dim);
  margin-top: 2rem;
}
@media (max-width: 800px) { .team-grid { grid-template-columns: 1fr; } }
.team-card { padding: 2.25rem; border-right: 1px solid var(--line-dim); }
.team-card:last-child { border-right: none; }
@media (max-width: 800px) {
  .team-card { border-right: none; border-bottom: 1px solid var(--line-dim); }
  .team-card:last-child { border-bottom: none; }
}
.team-avatar {
  width: 64px; height: 64px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--amber);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}
.team-card h4 { font-size: 1.15rem; margin-bottom: 0.25rem; letter-spacing: 0; }
.team-card .role {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fg-2);
  margin-bottom: 1rem;
}
.team-card p { font-size: 0.9rem; color: var(--fg-1); line-height: 1.6; }

/* --- Contact form --- */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}
@media (max-width: 900px) { .contact-wrap { grid-template-columns: 1fr; } }
.contact-info h3 { font-size: 1.8rem; margin-bottom: 1.5rem; letter-spacing: 0; }
.contact-info > p { color: var(--fg-1); margin-bottom: 2rem; line-height: 1.6; }
.contact-info .info-row {
  padding: 1rem 0;
  border-top: 1px solid var(--line-dim);
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  align-items: center;
}
.contact-info .info-row:last-child { border-bottom: 1px solid var(--line-dim); }
.contact-info .info-row .k {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-2);
}
.contact-info .info-row .v { color: var(--fg-0); }
.contact-info .info-row .v a { color: var(--amber); }

.contact-form {
  background: var(--bg-1);
  border: 1px solid var(--line);
  padding: 2.25rem;
}
.form-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1rem;
  margin-bottom: 1.75rem;
  border-bottom: 1px solid var(--line-dim);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-2);
}
.form-head .status { display: flex; align-items: center; gap: 0.5rem; color: var(--cyan); }
.form-head .status::before {
  content: "";
  width: 8px; height: 8px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--cyan-glow);
}

.field { margin-bottom: 1.25rem; }
.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-2);
  margin-bottom: 0.5rem;
}
.field input, .field textarea, .field select {
  width: 100%;
  background: var(--bg-0);
  border: 1px solid var(--line);
  color: var(--fg-0);
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; font-family: var(--font-body); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--amber);
  background: rgba(255, 179, 0, 0.03);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }

.form-submit {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-dim);
  margin-top: 0.5rem;
}
.form-submit .note {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--fg-2);
  letter-spacing: 0.1em;
}
@media (max-width: 600px) {
  .form-submit { flex-direction: column; gap: 1rem; align-items: flex-start; }
}

/* --- Form submission states --- */
.form-success {
  display: none;
  padding: 1rem 1.25rem;
  background: rgba(77, 219, 224, 0.1);
  border: 1px solid var(--cyan);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}
.form-success.show { display: block; animation: fadeIn .4s var(--ease); }

/* Success state — green/confirmed after Formspree submit */
.form-success.success {
  background: rgba(80, 220, 100, 0.12);
  border-color: #5adc64;
  color: #8fe89a;
  animation: successPop .5s var(--ease-out);
}
@keyframes successPop {
  0%   { opacity: 0; transform: translateY(12px) scale(0.96); }
  60%  { opacity: 1; transform: translateY(-2px) scale(1.02); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* Form error state */
.form-error {
  display: none;
  padding: 1rem 1.25rem;
  background: rgba(255, 74, 61, 0.1);
  border: 1px solid var(--red);
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}
.form-error.show { display: block; animation: fadeIn .3s var(--ease); }

/* Submit button loading state */
.btn.is-loading {
  pointer-events: none;
  opacity: 0.85;
  position: relative;
  color: transparent !important;
}
.btn.is-loading .arrow { opacity: 0; }
.btn.is-loading::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 16px; height: 16px;
  border: 2px solid rgba(11, 13, 18, 0.25);
  border-top-color: #0b0d12;
  border-radius: 50%;
  animation: btnSpin .7s linear infinite;
}
@keyframes btnSpin {
  to { transform: rotate(360deg); }
}

/* Success state on the button itself */
.btn.is-success {
  pointer-events: none;
  background: #5adc64 !important;
  border-color: #5adc64 !important;
  color: #0b0d12 !important;
  animation: btnSuccessPulse .5s var(--ease-out);
}
.btn.is-success::before { display: none; }
@keyframes btnSuccessPulse {
  0%   { transform: scale(1); box-shadow: 0 0 0 0 rgba(90, 220, 100, 0.5); }
  60%  { transform: scale(1.03); box-shadow: 0 0 0 10px rgba(90, 220, 100, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(90, 220, 100, 0); }
}

/* Status dot swaps to green when channel reports success */
.form-head .status.success { color: #8fe89a; }
.form-head .status.success::before {
  background: #5adc64;
  box-shadow: 0 0 10px rgba(90, 220, 100, 0.6);
}

/* --- Blog --- */
.post-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
@media (max-width: 800px) { .post-grid { grid-template-columns: 1fr; } }

.post-card {
  display: block;
  padding: 2rem;
  border: 1px solid var(--line-dim);
  background: var(--bg-1);
  transition: all .3s var(--ease);
  position: relative;
  overflow: hidden;
}
.post-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 2px;
  background: var(--amber);
  transition: width .4s var(--ease);
}
.post-card:hover::before { width: 100%; }
.post-card:hover { border-color: var(--line); transform: translateY(-2px); }

.post-card .post-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-2);
}
.post-card .post-meta .cat { color: var(--amber); }
.post-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.85rem;
  letter-spacing: 0;
  line-height: 1.2;
  color: var(--fg-0);
}
.post-card p { color: var(--fg-1); font-size: 0.95rem; line-height: 1.55; margin-bottom: 1.25rem; }
.post-card .read {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
}
.post-card .arrow { transition: transform .2s var(--ease); }
.post-card:hover .arrow { transform: translateX(4px); }

/* --- Article --- */
.article { max-width: 760px; margin: 0 auto; }
.article-head { margin-bottom: 3rem; padding-bottom: 2rem; border-bottom: 1px solid var(--line-dim); }
.article-head .cat {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1rem;
  display: inline-block;
}
.article-head h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1.5rem;
  line-height: 1.05;
}
.article-head .byline {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--fg-2);
  letter-spacing: 0.1em;
  flex-wrap: wrap;
  gap: 1rem;
}
.article-body p { color: var(--fg-1); font-size: 1.05rem; line-height: 1.75; margin-bottom: 1.5rem; }
.article-body h2 {
  font-size: 1.65rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--fg-0);
  letter-spacing: 0;
}
.article-body h3 {
  font-size: 1.25rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: var(--amber);
  letter-spacing: 0;
}
.article-body ul { margin: 1.25rem 0 1.5rem; padding-left: 0; list-style: none; }
.article-body ul li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.75rem;
  color: var(--fg-1);
  line-height: 1.65;
}
.article-body ul li::before { content: "▸"; position: absolute; left: 0; color: var(--amber); }
.article-body blockquote {
  margin: 2.5rem 0;
  padding: 1.5rem 2rem;
  border-left: 3px solid var(--amber);
  background: var(--bg-1);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--fg-0);
  text-transform: none;
  letter-spacing: 0;
}
.article-body strong { color: var(--fg-0); font-weight: 600; }

.article-foot {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line-dim);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.article-foot a { color: var(--amber); }

/* --- Animations --- */
@keyframes fadeIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

::selection { background: var(--amber); color: #000; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-0); }
::-webkit-scrollbar-thumb { background: var(--bg-3); border: 2px solid var(--bg-0); }
::-webkit-scrollbar-thumb:hover { background: var(--line); }
