/* East River Robotics — dark theme, Anduril-influenced pass */
/* Single accent, sharp corners, no shadows/glow/blur, restrained type weight */

:root {
  --void: #060607;
  --panel: #101113;
  --panel-2: #16171a;
  --line: rgba(255, 255, 255, 0.14);
  --line-soft: rgba(255, 255, 255, 0.08);
  --cyan: #2de1e6;
  --text: #eceeef;
  --text-dim: #8d9297;
  --max: 1400px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--void);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, .display {
  font-family: "Archivo", "Inter", sans-serif;
  font-weight: 600;
  line-height: 1.14;
  margin: 0;
  color: #fff;
  letter-spacing: -0.005em;
}

.mono {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--text-dim);
}

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

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
}
@media (max-width: 480px) { .wrap { padding: 0 20px; } }

.steel { color: var(--text-dim); }

/* ---- Scroll progress bar ---- */

.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px;
  background: var(--line-soft); z-index: 60;
}
.scroll-progress .bar {
  height: 100%; width: 0%; background: var(--cyan);
  transition: width 0.1s linear;
}

/* ---- Drifting grid backdrop ---- */

.grid-field {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
  animation: driftGrid 120s linear infinite;
  overflow: hidden;
}
@keyframes driftGrid {
  from { background-position: 0px 0px; }
  to { background-position: 560px 560px; }
}

/* Ambient drifting glow — two soft accent blobs, slow and low-opacity so they read as
   atmosphere rather than a decorative "look at this" effect */
.grid-field::before,
.grid-field::after {
  content: "";
  position: absolute;
  width: 46vw;
  height: 46vw;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.10;
  pointer-events: none;
}
.grid-field::before {
  background: var(--cyan);
  top: -10%;
  left: -8%;
  animation: driftBlobA 52s ease-in-out infinite alternate;
}
.grid-field::after {
  background: #ffffff;
  bottom: -14%;
  right: -10%;
  opacity: 0.05;
  animation: driftBlobB 64s ease-in-out infinite alternate;
}
@keyframes driftBlobA {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(6vw, 8vh) scale(1.12); }
  100% { transform: translate(-4vw, 3vh) scale(0.96); }
}
@keyframes driftBlobB {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(-5vw, -6vh) scale(1.1); }
  100% { transform: translate(4vw, -2vh) scale(0.94); }
}
@media (prefers-reduced-motion: reduce) {
  .grid-field { animation: none; }
  .grid-field::before, .grid-field::after { animation: none; }
}

/* ---- Nav: flat, solid, no blur/glass ---- */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--void);
  border-bottom: 1px solid var(--line-soft);
  transition: height 0.25s ease, border-color 0.25s ease;
}
.site-nav.scrolled { border-bottom-color: var(--line); }
.site-nav.scrolled .wrap { height: 58px; }

.site-nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  transition: height 0.25s ease;
}

.wordmark {
  font-family: "Archivo", "Inter", sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}
.wordmark .mark-icon { flex-shrink: 0; }
.mark-icon-nav { height: 22px; width: auto; }
.mark-icon-footer { height: 26px; width: auto; }

.nav-links {
  display: flex;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
  letter-spacing: 0.01em;
}

.nav-links a {
  position: relative;
  padding: 6px 0;
  color: var(--text-dim);
  transition: color 0.2s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 1px;
  background: var(--cyan);
  transition: right 0.25s ease;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: #fff; }
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { right: 0; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  color: var(--text);
  padding: 8px 12px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
}

@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--void);
    flex-direction: column;
    gap: 0;
    padding: 6px 28px 20px;
    display: none;
    border-bottom: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-top: 1px solid var(--line-soft); }
  .nav-links a { display: block; padding: 14px 0; }
  .nav-links a::after { display: none; }
}
@media (max-width: 380px) {
  .wordmark { font-size: 13.5px; gap: 8px; }
  .wordmark .mark-icon.mark-icon-nav { width: auto; height: 18px; }
  .nav-toggle { padding: 7px 10px; font-size: 12px; }
}

/* ---- Buttons: sharp corners, no shadow ---- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Inter", -apple-system, sans-serif;
  font-weight: 500;
  font-size: 14.5px;
  letter-spacing: 0.01em;
  padding: 13px 24px;
  border-radius: 0;
  border: 1px solid var(--cyan);
  cursor: pointer;
  position: relative;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
  will-change: transform;
}

.btn-nav { font-size: 13px; padding: 9px 18px; }

.btn-primary { background: var(--cyan); color: #06121a; }
.btn-primary:hover { background: #58ebef; }

.btn-ghost { background: transparent; border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: #fff; color: #fff; }

/* ---- Section rhythm ---- */

section { padding: 100px 0; position: relative; z-index: 1; }
@media (max-width: 720px) { section { padding: 64px 0; } }

.panel { background: var(--panel); border: 1px solid var(--line); }

.rule {
  border: none;
  border-top: 1px solid var(--line);
  margin: 0;
  position: relative;
  overflow: hidden;
}
.rule::after {
  content: "";
  position: absolute;
  top: -1px; left: 0;
  height: 1px;
  width: 0;
  background: var(--cyan);
  transition: width 1.1s cubic-bezier(.2,.7,.2,1);
}
.rule.is-visible::after { width: 100%; }

/* ---- Scroll reveal ---- */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-stagger > * { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal-stagger.is-visible > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.02s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.18s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.26s; }

/* ---- Hero ---- */

.hero { padding: 150px 0 110px; position: relative; overflow: hidden; }
.hero.hero-sub { padding: 130px 0 80px; }
.hero.hero-legal { padding: 110px 0 50px; }
@media (max-width: 720px) {
  .hero { padding: 110px 0 56px; }
  .hero.hero-sub { padding: 100px 0 48px; }
  .hero.hero-legal { padding: 90px 0 36px; }
}
@media (max-width: 480px) {
  .hero { padding: 96px 0 44px; }
  .hero.hero-sub { padding: 88px 0 36px; }
  .hero.hero-legal { padding: 80px 0 28px; }
}

/* Cursor-reactive ambient light — subtle, single accent, only moves in response to the visitor's own cursor */
.spotlight {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(circle 420px at var(--mx, 50%) var(--my, 20%), rgba(45,225,230,0.07), transparent 70%);
  opacity: 0; transition: opacity 0.4s ease;
}
.spotlight.active { opacity: 1; }

.hero-photo {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-size: cover;
  background-position: center;
}
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--void) 0%, rgba(6,6,7,0.75) 32%, rgba(6,6,7,0.15) 60%, rgba(6,6,7,0.35) 100%),
    linear-gradient(180deg, rgba(6,6,7,0.55) 0%, rgba(6,6,7,0.75) 60%, var(--void) 100%);
}

.hero .tag {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero .tag::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--cyan);
}

.hero h1 { font-size: clamp(38px, 5.6vw, 64px); max-width: 17ch; font-weight: 600; }
.hero h1 .accent { color: var(--cyan); }
@media (max-width: 380px) { .hero h1 { font-size: 32px; } }

.hero p.lede { margin-top: 24px; max-width: 46ch; font-size: 18px; color: var(--text-dim); }

.hero .cta-row { margin-top: 42px; display: flex; gap: 14px; flex-wrap: wrap; }

.hero-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 460px; margin: 0 auto 64px; }
}

.hero-art { position: relative; margin-bottom: 64px; margin-right: -60px; }
@media (max-width: 1100px) { .hero-art { margin-right: 0; } }
.hero-art .ring { position: absolute; border: 1px solid var(--line); border-radius: 50%; inset: 0; }
.hero-art .ring-2 { inset: 40px; border-color: rgba(255, 255, 255, 0.14); }
.hero-art .ring-3 { inset: 80px; border-color: rgba(45, 225, 230, 0.22); }

.draw-path { stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: drawIn 2.6s cubic-bezier(.2,.7,.2,1) 0.2s forwards; }
@keyframes drawIn { to { stroke-dashoffset: 0; } }

.node { animation: nodePulse 3s ease-in-out infinite; }
@keyframes nodePulse { 0%, 100% { opacity: 0.5; } 50% { opacity: 1; } }

/* ---- Tags: plain, neutral, no pill/fill — accent reserved for CTAs only ---- */

.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tag-pill {
  font-family: "IBM Plex Mono", monospace; font-size: 11.5px; letter-spacing: 0.03em;
  color: var(--text-dim);
  border: 1px solid var(--line); background: none;
  border-radius: 0; padding: 4px 10px;
}

/* ---- Grids ---- */

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

h2.section-title { font-size: clamp(26px, 3.2vw, 36px); max-width: 24ch; font-weight: 600; }

/* ---- Circuit step timeline ---- */

.circuit { position: relative; margin-top: 48px; }
.circuit-line { position: absolute; top: 11px; left: 0; right: 0; height: 1px; background: var(--line); z-index: 0; }
.circuit-line::after {
  content: ""; position: absolute; top: 0; left: 0; height: 1px; width: 0;
  background: var(--cyan); transition: width 1.4s cubic-bezier(.2,.7,.2,1);
}
.circuit-line.is-visible::after { width: 100%; }
@media (max-width: 900px) { .circuit-line { display: none; } }

.step { position: relative; padding-top: 30px; z-index: 1; }
.step .num-dot {
  position: absolute; top: 0; left: 0; width: 22px; height: 22px;
  background: var(--void); border: 1px solid var(--cyan); color: var(--cyan);
  font-family: "IBM Plex Mono", monospace; font-size: 11px;
  display: flex; align-items: center; justify-content: center;
  animation: dotPulse 3.4s ease-in-out infinite;
}
.step:nth-child(2) .num-dot { animation-delay: 0.45s; }
.step:nth-child(3) .num-dot { animation-delay: 0.9s; }
.step:nth-child(4) .num-dot { animation-delay: 1.35s; }
@keyframes dotPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
@media (prefers-reduced-motion: reduce) {
  .step .num-dot { animation: none; }
}
.step h3 { font-size: 18px; margin: 10px 0 8px; font-weight: 600; }

/* ---- Image panel (wireframe renders) ---- */

.photo-panel { border: 1px solid var(--line); padding: 10px; background: var(--panel); }

.photo-panel .wireframe-tint { height: 260px; }
.photo-panel .fig-caption {
  margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line);
  font-family: "IBM Plex Mono", monospace; font-size: 11.5px; color: var(--text-dim);
}
.photo-panel .plain-img { width: 100%; height: auto; display: block; }

/* ---- Video panel ---- */

.video-panel { border: 1px solid var(--line); background: var(--panel); overflow: hidden; }
.video-panel video { width: 100%; height: auto; display: block; background: var(--void); }
.video-panel .model-caption {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 18px; border-top: 1px solid var(--line);
  font-family: "IBM Plex Mono", monospace; font-size: 11px; letter-spacing: 0.02em; color: var(--text-dim);
  flex-wrap: wrap;
}
.video-panel .model-caption .hint { color: var(--cyan); }

/* ---- Side-by-side simulation recreation ---- */

.sim-panel {
  display: grid; grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line); background: var(--panel);
}
@media (max-width: 700px) { .sim-panel { grid-template-columns: 1fr; } }
.sim-col { padding: 26px; position: relative; }
.sim-col:first-child { border-right: 1px solid var(--line); }
@media (max-width: 700px) { .sim-col:first-child { border-right: none; border-bottom: 1px solid var(--line); } }

.sim-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.sim-title { font-family: "Archivo", sans-serif; font-weight: 600; font-size: 17px; color: #fff; }
.sim-col.accent .sim-title { color: var(--cyan); }
.sim-sub { font-family: "IBM Plex Mono", monospace; font-size: 11px; color: var(--text-dim); margin-top: 2px; }
.sim-status {
  font-family: "IBM Plex Mono", monospace; font-size: 10.5px; letter-spacing: 0.03em;
  color: var(--text-dim); border: 1px solid var(--line); padding: 4px 9px; white-space: nowrap;
}
.sim-status.off { color: var(--cyan); border-color: rgba(45,225,230,0.35); }

.sim-stage {
  height: 130px; position: relative; margin-bottom: 20px;
  background:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 20px 20px;
  border: 1px solid var(--line-soft);
  overflow: hidden;
}
.sim-wall { position: absolute; left: 18px; top: 0; bottom: 0; width: 10px; background: var(--line); }
.sim-wall.accent { background: rgba(45,225,230,0.25); }
.sim-craft {
  position: absolute; left: 34px; top: 50%; transform: translateY(-50%);
  transition: left 0.6s ease;
}
.sim-craft.contact { left: 20px; }
#sim-hover-rotors { animation: rotorSpin 0.35s linear infinite; transform-origin: 50px 14px; }
#sim-hover-craft.jitter { animation: hoverJitter 0.5s ease-in-out infinite; }
@keyframes hoverJitter {
  0%, 100% { transform: translateY(-50%) translateX(0); }
  50% { transform: translateY(-50%) translateX(2px); }
}
@keyframes rotorSpin { from { opacity: 1; } 50% { opacity: 0.55; } to { opacity: 1; } }
#sim-piton-rotors.stopped, #sim-hover-rotors.stopped { animation: none; opacity: 1; }

#sim-hover-craft.falling {
  animation: craftFall 1.3s cubic-bezier(.55, 0, .85, .35) forwards;
}
@keyframes craftFall {
  0%   { transform: translateY(-50%) rotate(0deg); opacity: 1; }
  100% { transform: translateY(160px) rotate(95deg); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  #sim-hover-craft.falling { animation: none; opacity: 0; }
}

.sim-battery { height: 6px; background: var(--void); border: 1px solid var(--line); margin-bottom: 8px; }
.sim-battery-fill { height: 100%; width: 100%; transition: width 0.4s linear; }
.sim-row { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-dim); margin-bottom: 18px; }
.sim-row span:last-child { color: var(--text); }

.sim-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.sim-grid .k { display: block; font-family: "IBM Plex Mono", monospace; font-size: 10px; color: var(--text-dim); margin-bottom: 4px; }
.sim-grid .v { display: block; font-family: "Archivo", sans-serif; font-weight: 600; font-size: 16px; color: #fff; }
.sim-grid .v.accent { color: var(--cyan); }

.sim-footer {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
  padding: 14px 18px; border: 1px solid var(--line); border-top: none;
  font-size: 11px; letter-spacing: 0.03em;
}

/* Single-accent tint (one color, not a two-color gradient) so renders read as part of the system */
.wireframe-tint { position: relative; overflow: hidden; background: var(--void); }
.wireframe-tint::before {
  content: ""; position: absolute; inset: 0;
  background: var(--cyan);
  mix-blend-mode: color;
  opacity: 0.85;
  pointer-events: none;
}
.wireframe-tint img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: brightness(1.05) contrast(1.05) grayscale(1);
}
.wireframe-tint::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(180deg, transparent 0%, rgba(45,225,230,0.55) 45%, transparent 100%),
    radial-gradient(circle at 50% 45%, transparent 40%, var(--void) 100%);
  background-size: 100% 240%, 100% 100%;
  background-repeat: no-repeat, no-repeat;
  background-position: 0% -140%, 0% 0%;
  opacity: 0.5;
  pointer-events: none;
  animation: scanSweep 7s ease-in-out infinite;
}
@keyframes scanSweep {
  0%   { background-position: 0% -140%, 0% 0%; }
  50%  { background-position: 0% 140%, 0% 0%; }
  100% { background-position: 0% -140%, 0% 0%; }
}
@media (prefers-reduced-motion: reduce) {
  .wireframe-tint::after { animation: none; }
}

.wireframe-float { mask-image: radial-gradient(circle at 50% 50%, black 58%, transparent 92%); -webkit-mask-image: radial-gradient(circle at 50% 50%, black 58%, transparent 92%); }
.wireframe-float::after {
  background-image:
    linear-gradient(180deg, transparent 0%, rgba(45,225,230,0.5) 45%, transparent 100%),
    radial-gradient(circle at 50% 45%, transparent 25%, var(--void) 100%);
  background-size: 100% 240%, 100% 100%;
  background-repeat: no-repeat, no-repeat;
  opacity: 0.7;
}

.bg-wireframe { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.bg-wireframe .wireframe-tint { width: 100%; height: 100%; }
.bg-wireframe::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,6,7,0.35) 0%, var(--void) 92%);
}

/* ---- Passive image carousel ---- */

.carousel { position: relative; }
.carousel-slide {
  position: absolute; inset: 0; opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.8s ease, transform 2.2s cubic-bezier(.16,.8,.24,1);
}
.carousel-slide.active { opacity: 1; transform: scale(1); }
.carousel .wireframe-tint { width: 100%; height: 100%; }
.carousel-caption {
  position: absolute; left: 0; bottom: -34px; right: 0;
  text-align: center;
  font-family: "IBM Plex Mono", monospace; font-size: 11px; letter-spacing: 0.03em; color: var(--text-dim);
  opacity: 0; transition: opacity 1.4s ease 0.3s;
}
.carousel-slide.active .carousel-caption { opacity: 1; }
.carousel-dots {
  position: absolute; left: 50%; bottom: -58px; transform: translateX(-50%);
  display: flex; gap: 8px;
}
.carousel-dots .dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--line); transition: background 0.5s ease, transform 0.5s ease;
}
.carousel-dots .dot.active { background: var(--cyan); transform: scale(1.4); }

/* ---- Cards: sharp corners, border only, no shadow ---- */

.card {
  border: 1px solid var(--line); border-radius: 0; background: rgba(255,255,255,0.015);
  padding: 32px; position: relative;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.15s ease;
  transform-style: preserve-3d;
  will-change: transform;
}
.card:hover {
  border-color: rgba(255,255,255,0.32);
  background: rgba(255,255,255,0.03);
}
.card h3 { font-size: 19px; margin-bottom: 10px; font-weight: 600; }

/* ---- Footer ---- */

footer.site-footer { border-top: 1px solid var(--line); padding: 64px 0 32px; font-size: 14px; color: var(--text-dim); position: relative; z-index: 1; }
footer.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; }
@media (max-width: 800px) { footer.site-footer .cols { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { footer.site-footer .cols { grid-template-columns: 1fr; } }
footer.site-footer h4 {
  font-family: "IBM Plex Mono", monospace; font-size: 11.5px; letter-spacing: 0.05em;
  color: var(--text-dim); font-weight: 400; margin: 0 0 14px; text-transform: uppercase;
}
footer.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
footer.site-footer a:hover { color: var(--cyan); }
footer.site-footer .legal-row {
  border-top: 1px solid var(--line-soft); padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 13px;
}
footer.site-footer .legal-row .links { display: flex; gap: 20px; flex-wrap: wrap; }

/* ---- Team grid ---- */

.team-card { text-align: left; }
.team-photo {
  width: 100%; aspect-ratio: 1/1; background: var(--panel); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
  color: var(--text-dim); font-family: "IBM Plex Mono", monospace; font-size: 11px; text-align: center;
  overflow: hidden;
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.15) contrast(1.03); }
.team-card h3 { font-size: 17px; margin-bottom: 2px; }
.team-card .role { font-family: "IBM Plex Mono", monospace; font-size: 12px; color: var(--cyan); margin-bottom: 10px; }

/* ---- Compliance / registration data list ---- */

.data-list { border-top: 1px solid var(--line); }
.data-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  padding: 20px 0; border-bottom: 1px solid var(--line);
  align-items: baseline;
}
@media (max-width: 600px) { .data-row { grid-template-columns: 1fr; gap: 6px; } }
.data-row .k { font-family: "IBM Plex Mono", monospace; font-size: 12.5px; color: var(--text-dim); letter-spacing: 0.03em; }
.data-row .v { font-size: 15.5px; color: var(--text); }
.data-row .v.pending { color: var(--text-dim); font-style: italic; }

/* ---- Simple legal-page prose ---- */

.legal-prose h2 { font-size: 20px; margin: 40px 0 14px; font-weight: 600; }
.legal-prose h2:first-child { margin-top: 0; }
.legal-prose p { color: var(--text-dim); font-size: 15px; margin: 0 0 16px; max-width: 68ch; }
.legal-prose ul { color: var(--text-dim); font-size: 15px; max-width: 68ch; padding-left: 20px; }

/* ---- Careers / job list ---- */

.job-row {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap;
}
@media (max-width: 480px) {
  .job-row { flex-direction: column; align-items: flex-start; gap: 12px; }
  .job-row .btn { align-self: flex-start; }
}
.job-row .title { font-size: 16px; font-weight: 600; color: #fff; }
.job-row .meta { font-family: "IBM Plex Mono", monospace; font-size: 12px; color: var(--text-dim); margin-top: 4px; }

/* ---- Press / news list ---- */

.press-row { padding: 24px 0; border-bottom: 1px solid var(--line); }
.press-row .date { font-family: "IBM Plex Mono", monospace; font-size: 11.5px; color: var(--cyan); letter-spacing: 0.04em; }
.press-row h3 { font-size: 17px; margin: 8px 0 6px; font-weight: 600; }

/* ---- Forms ---- */

form .field { margin-bottom: 22px; display: flex; flex-direction: column; gap: 8px; }
form label { font-size: 14px; font-weight: 500; color: var(--text); }
form input, form select, form textarea {
  font-family: "Inter", -apple-system, sans-serif; font-size: 15px; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 0; background: var(--panel-2); color: var(--text);
}
form input:focus, form select:focus, form textarea:focus {
  outline: 1px solid var(--cyan); border-color: var(--cyan);
}

a:focus-visible, button:focus-visible { outline: 1px solid var(--cyan); outline-offset: 2px; }

.placeholder-note { font-family: "IBM Plex Mono", monospace; font-size: 12.5px; color: var(--cyan); }

@media (prefers-reduced-motion: reduce) {
  .draw-path, .node { animation: none !important; }
  .reveal, .reveal-stagger > *, .rule::after, .circuit-line::after { transition: none !important; opacity: 1 !important; transform: none !important; width: 100% !important; }
}
