/* RuRobotics — single-page site
   Brand: black / white / electric blue (sampled from the logo, ~#1A78FA) */

:root {
  --bg: #07090D;
  --bg-2: #0C1017;
  --surface: #11161F;
  --surface-2: #161C27;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #F4F6FA;
  --muted: #A3ACBB;
  --blue: #1A78FA;          /* logo blue */
  --blue-strong: #1668E3;   /* button fill (white text AA) */
  --blue-soft: #5CA2FF;     /* accent text on dark */
  --radius: 16px;
  --radius-sm: 10px;
  --max: 1160px;
  --gutter: 16px;
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img, video { display: block; max-width: 100%; height: auto; }
a { color: var(--blue-soft); }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; letter-spacing: -0.02em; margin: 0; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.8rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 768px) { :root { --gutter: 32px; } }

.accent { color: var(--blue-soft); }
.muted { color: var(--muted); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 40ch; }
.eyebrow {
  font-family: var(--font-display);
  font-size: 0.8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--blue-soft);
  margin-bottom: 12px;
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--blue); border-radius: 2px; }

.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 100;
  background: var(--blue-strong); color: #fff; padding: 8px 14px; border-radius: 8px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--blue-soft); outline-offset: 3px; border-radius: 6px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 9, 13, 0.94);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 60px; }
.nav__brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; flex-shrink: 0; }
.nav__brand img { height: 30px; width: auto; mix-blend-mode: screen; }
.nav__brand .nav__wordmark { height: 17px; }
.nav__links {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 4px;
}
.nav__links a {
  display: block; padding: 8px 12px; border-radius: 8px;
  color: var(--muted); text-decoration: none; font-size: 0.92rem; font-weight: 500; white-space: nowrap;
  transition: color .2s, background-color .2s;
}
.nav__links a:hover { color: var(--text); background: rgba(255,255,255,0.05); }

@media (max-width: 767px) {
  .nav__inner { height: auto; flex-wrap: wrap; row-gap: 0; padding-top: 10px; }
  .nav nav { width: calc(100% + 2 * var(--gutter)); margin: 0 calc(-1 * var(--gutter)); overflow-x: auto; scrollbar-width: none; }
  .nav nav::-webkit-scrollbar { display: none; }
  .nav__links { padding: 4px calc(var(--gutter) - 10px) 6px; gap: 0; }
  .nav__links a { font-size: 0.86rem; padding: 8px 10px; }
  html { scroll-padding-top: 100px; }
}

/* ---------- Buttons ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn-row--center { justify-content: center; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  text-decoration: none; border: 1px solid transparent;
  transition: background-color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn--primary { background: var(--blue-strong); color: #fff; box-shadow: 0 8px 28px -8px rgba(26,120,250,.6); }
.btn--primary:hover { background: #1F72F0; transform: translateY(-1px); }
.btn--ghost { color: var(--text); border-color: var(--line-strong); background: rgba(255,255,255,0.03); }
.btn--ghost:hover { border-color: var(--blue-soft); background: rgba(26,120,250,0.08); }
.btn--icon { padding-left: 18px; padding-right: 20px; gap: 8px; }
@media (prefers-reduced-motion: reduce) { .btn:hover { transform: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 40px 0 72px;
  background:
    radial-gradient(60% 50% at 80% 10%, rgba(26,120,250,0.16), transparent 70%),
    radial-gradient(40% 40% at 0% 100%, rgba(26,120,250,0.08), transparent 70%);
}
.hero__grid { display: grid; gap: 40px; align-items: center; }
.hero__logo { width: 170px; height: auto; margin: 0 0 20px; mix-blend-mode: screen; }
.hero h1 { margin-bottom: 20px; }
.hero h1 .accent { display: block; }
.hero__media {
  position: relative; margin: 0;
  border-radius: 24px; overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 5;
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.8), 0 0 0 1px rgba(26,120,250,0.08);
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(7,9,13,0) 45%, rgba(7,9,13,0.85) 100%),
    linear-gradient(90deg, rgba(7,9,13,0.35), rgba(7,9,13,0) 40%);
}
.hero__media figcaption {
  position: absolute; left: 44px; bottom: 20px; z-index: 2;
  font-size: 0.82rem; font-weight: 500; color: var(--text);
  padding: 6px 12px; border-radius: 999px;
  background: rgba(7,9,13,0.6); border: 1px solid var(--line-strong);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
@media (min-width: 900px) {
  .hero { padding: 64px 0 96px; }
  .hero__grid { grid-template-columns: 1.1fr 0.9fr; gap: 64px; }
  .hero__logo { width: 230px; }
}

/* Hero HUD overlay (positions are % of the 4:5 image, which is shown uncropped) */
.hud__layer { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hud__layer::before { /* faint tech grid + cool tint */
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(92,162,255,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(92,162,255,0.07) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(90% 70% at 70% 20%, #000, transparent 75%);
  mask-image: radial-gradient(90% 70% at 70% 20%, #000, transparent 75%);
}
.hud__corner { position: absolute; width: 22px; height: 22px; border: 0 solid var(--blue-soft); opacity: .9; }
.hud__corner--tl { top: 14px; left: 14px; border-top-width: 2px; border-left-width: 2px; border-top-left-radius: 4px; }
.hud__corner--tr { top: 14px; right: 14px; border-top-width: 2px; border-right-width: 2px; border-top-right-radius: 4px; }
.hud__corner--bl { bottom: 14px; left: 14px; border-bottom-width: 2px; border-left-width: 2px; border-bottom-left-radius: 4px; }
.hud__corner--br { bottom: 14px; right: 14px; border-bottom-width: 2px; border-right-width: 2px; border-bottom-right-radius: 4px; }
.hud__scan { position: absolute; inset: 0; opacity: 0; animation: hud-scan 7s cubic-bezier(.45,0,.55,1) 1s infinite; }
.hud__scan::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(92,162,255,0.9) 20%, rgba(160,205,255,1) 50%, rgba(92,162,255,0.9) 80%, transparent);
  box-shadow: 0 0 12px 2px rgba(26,120,250,0.55);
}
@keyframes hud-scan {
  0% { transform: translateY(0); opacity: 0; }
  8%, 60% { opacity: .75; }
  70%, 100% { transform: translateY(100%); opacity: 0; }
}
.hud__readout {
  position: absolute; top: 18px; left: 44px;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: #CFE2FF; padding: 3px 8px; border-radius: 4px;
  background: rgba(7,9,13,0.55); border: 1px solid rgba(92,162,255,0.35);
}
.hud__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hud__lines polyline { fill: none; stroke: rgba(160,205,255,0.95); stroke-width: 1.25; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 2px rgba(7,9,13,.8)); }
.hud__dot {
  position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%;
  background: var(--blue); border: 2px solid #fff;
  box-shadow: 0 0 0 0 rgba(26,120,250,0.7);
  animation: hud-ping 2.4s ease-out infinite;
}
@keyframes hud-ping { 0% { box-shadow: 0 0 0 0 rgba(26,120,250,0.7); } 70%, 100% { box-shadow: 0 0 0 12px rgba(26,120,250,0); } }
.hud__label {
  position: absolute; white-space: nowrap;
  font-family: var(--font-display); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.02em; line-height: 1;
  color: #fff; padding: 6px 9px; border-radius: 6px;
  background: rgba(7,9,13,0.74); border: 1px solid rgba(92,162,255,0.55);
  box-shadow: 0 4px 14px -4px rgba(0,0,0,.6);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.hud__label--left  { transform: translate(-100%, -50%); }
.hud__label--right { transform: translate(0, -50%); }
.hud__label--below { transform: translate(-50%, 0); }
@media (min-width: 900px) { .hud__label { font-size: 0.8rem; } }
@media (prefers-reduced-motion: reduce) {
  .hud__scan { display: none; }
  .hud__dot { animation: none; }
}

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section--tight { padding: 56px 0; }
@media (min-width: 900px) { .section { padding: 120px 0; } .section--tight { padding: 72px 0; } }
.section__head { margin-bottom: 40px; max-width: 760px; }

/* Video */
.video-frame {
  border-radius: 20px; overflow: hidden;
  border: 1px solid var(--line-strong);
  background: #000;
  aspect-ratio: 16 / 9;
  box-shadow: 0 30px 80px -30px rgba(26,120,250,0.35);
}
.video-frame video { width: 100%; height: 100%; object-fit: contain; background: #000; }

/* Cards */
.cards { display: grid; gap: 16px; }
@media (min-width: 720px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } .cards--2 { grid-template-columns: repeat(2, 1fr); } }
.card {
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color .25s;
}
.card:hover { border-color: rgba(92,162,255,0.35); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); }
.card__num {
  display: inline-block; margin-bottom: 20px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.9rem;
  color: var(--blue-soft);
  padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(92,162,255,0.3);
}

/* Solution */
.solution {
  display: grid; gap: 32px; align-items: center;
  padding: 40px 24px;
  border-radius: 24px;
  border: 1px solid rgba(92,162,255,0.22);
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(26,120,250,0.22), transparent 60%),
    var(--surface);
}
.solution h2 { margin-bottom: 14px; }
@media (min-width: 900px) { .solution { grid-template-columns: 1.3fr 1fr; padding: 56px; } }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 900px) { .chips { flex-direction: column; align-items: stretch; } }
.chip {
  display: flex; align-items: baseline; gap: 10px;
  padding: 14px 20px; border-radius: 14px;
  background: rgba(7,9,13,0.6); border: 1px solid var(--line-strong);
  color: var(--muted); font-size: 1rem;
}
.chip strong { font-family: var(--font-display); font-size: 1.4rem; color: var(--text); font-weight: 700; }

/* How it works: loop diagram + steps */
.how { display: grid; gap: 32px; align-items: center; margin-bottom: 56px; }
@media (min-width: 1000px) { .how { grid-template-columns: 1fr 1.1fr; gap: 48px; } }
.loop { margin: 0 auto; width: 100%; max-width: 520px; }
.loop svg { display: block; width: 100%; height: auto; overflow: visible; }
.loop__ring { fill: none; stroke: rgba(255,255,255,0.07); stroke-width: 1.5; }
.loop__flow {
  fill: none; stroke: var(--blue); stroke-width: 2.5; stroke-linecap: round;
  stroke-dasharray: 2 10; animation: loop-flow 1.4s linear infinite;
}
@keyframes loop-flow { from { stroke-dashoffset: 24; } to { stroke-dashoffset: 0; } }
.loop__orbit { transform-box: view-box; transform-origin: 260px 200px; animation: loop-orbit 8s linear infinite; }
.loop__orbit circle { fill: #CFE2FF; filter: drop-shadow(0 0 6px rgba(26,120,250,0.95)); }
@keyframes loop-orbit { to { transform: rotate(360deg); } }
.loop__disc { fill: var(--surface-2); stroke: rgba(92,162,255,0.55); stroke-width: 1.5; }
.loop__halo { fill: rgba(26,120,250,0.35); opacity: 0; transform-box: fill-box; transform-origin: center; animation: loop-pulse 8s ease-out infinite; }
.loop__node--2 .loop__halo { animation-delay: 2s; }
.loop__node--3 .loop__halo { animation-delay: 4s; }
.loop__node--4 .loop__halo { animation-delay: 6s; }
@keyframes loop-pulse { 0% { opacity: .9; transform: scale(1); } 18% { opacity: 0; transform: scale(1.6); } 100% { opacity: 0; transform: scale(1.6); } }
.loop__icon { fill: none; stroke: var(--blue-soft); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.loop__label { font-family: var(--font-display); font-weight: 600; font-size: 19px; fill: var(--text); }
@media (max-width: 599px) { .loop__label { font-size: 21px; } }
.loop__center { font-family: var(--font-display); font-weight: 700; font-size: 20px; fill: var(--text); letter-spacing: -0.01em; }
.loop__sub { font-family: var(--font-display); font-weight: 600; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; fill: var(--blue-soft); }
@media (prefers-reduced-motion: reduce) {
  .loop__flow, .loop__orbit, .loop__halo { animation: none; }
  .loop__orbit { display: none; }
}

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
.step {
  position: relative;
  padding: 24px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
}
.step__icon {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: rgba(26,120,250,0.14); color: var(--blue-soft); margin-bottom: 18px;
}
.step__num {
  position: absolute; top: 20px; right: 22px;
  font-family: var(--font-display); font-weight: 700; font-size: 2rem; line-height: 1;
  color: rgba(255,255,255,0.08);
}
.step h3 { margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 0.95rem; }

/* Real / Sim comparison slider */
.compare { margin: 0 auto; max-width: 920px; --pos: 50%; }
.compare__stage {
  position: relative; overflow: hidden; aspect-ratio: 16 / 10;
  border-radius: 20px; border: 1px solid var(--line-strong);
  box-shadow: 0 30px 80px -30px rgba(26,120,250,0.35);
  touch-action: pan-y; cursor: ew-resize; user-select: none; -webkit-user-select: none;
  background: var(--surface);
}
.compare__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.compare__img--sim { clip-path: inset(0 0 0 var(--pos)); }
.compare__tag { top: 14px; pointer-events: none; }
.compare__tag--real { left: 14px; }
.compare .compare__tag--sim { left: auto; right: 14px; }
.compare__seam {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px;
  background: #CFE2FF; pointer-events: none;
  box-shadow: 0 0 10px 2px rgba(26,120,250,0.9), 0 0 28px 6px rgba(26,120,250,0.45);
}
.compare__knob {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: var(--blue-strong); color: #fff; border: 2px solid #fff;
  box-shadow: 0 6px 20px rgba(0,0,0,.45), 0 0 0 6px rgba(26,120,250,0.25);
}
.compare__range {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0;
  opacity: 0; pointer-events: none; /* pointer handled on the stage; the input serves keyboard + assistive tech */
}
.compare__range:focus-visible ~ .compare__seam .compare__knob { outline: 3px solid #fff; outline-offset: 3px; }
.compare figcaption { margin-top: 12px; color: var(--muted); font-size: 0.9rem; text-align: center; }

.tag {
  position: absolute; top: 12px; left: 12px; z-index: 1;
  font-family: var(--font-display); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 999px;
  background: rgba(7,9,13,0.75); color: var(--text); border: 1px solid var(--line-strong);
}
.tag--accent { background: var(--blue-strong); border-color: transparent; color: #fff; }

.punchline {
  margin-top: 48px; text-align: center;
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.4rem, 3vw, 2rem); letter-spacing: -0.01em;
}
.punchline::after {
  content: ""; display: block; width: 56px; height: 3px; margin: 18px auto 0;
  background: var(--blue); border-radius: 3px;
}

/* Progress */
.card--stat h3 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--blue-soft); margin-bottom: 18px; }
.stats { display: flex; gap: 36px; margin-bottom: 14px; }
.stat { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(2.6rem, 6vw, 3.6rem); line-height: 1; color: var(--text); }
.stat__label { display: block; color: var(--muted); font-size: 0.95rem; margin-top: 6px; }
.status {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
  font-family: var(--font-display); font-weight: 600; font-size: 1.6rem; color: var(--text) !important;
}
.status__dot {
  width: 12px; height: 12px; border-radius: 50%; background: var(--blue);
  box-shadow: 0 0 0 5px rgba(26,120,250,0.2);
}

.pilot {
  display: grid; gap: 24px; align-items: center;
  margin-top: 16px; padding: 24px;
  border-radius: 24px; background: var(--surface); border: 1px solid var(--line);
}
.pilot__copy h3 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin-bottom: 12px; }
.pilot__copy p:not(.eyebrow) { color: var(--muted); max-width: 44ch; }
.pilot__copy em { color: var(--text); font-style: normal; font-weight: 500; }
.pilot__media { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pilot__media img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 12px; }
@media (min-width: 900px) { .pilot { grid-template-columns: 1fr 1.2fr; padding: 40px; gap: 40px; } }

/* Gallery strip */
.gallery {
  display: flex; gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 4px var(--gutter) 16px;
  scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent;
}
.gallery figure {
  position: relative; margin: 0; flex: 0 0 72%;
  scroll-snap-align: center;
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  aspect-ratio: 3 / 4;
}
.gallery .gallery__wide { flex-basis: 92%; aspect-ratio: 4 / 3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 36px 16px 14px; font-size: 0.9rem; font-weight: 500;
  background: linear-gradient(180deg, transparent, rgba(7,9,13,0.85));
}
@media (min-width: 900px) {
  .gallery {
    display: grid; grid-template-columns: 1fr 1fr 1fr 2fr; overflow: visible;
    max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter);
  }
  .gallery figure, .gallery .gallery__wide { aspect-ratio: auto; height: 380px; }
}

/* Team */
.team__tagline { margin-top: 14px; max-width: none; }
.team { display: grid; gap: 24px; }
@media (min-width: 960px) { .team { grid-template-columns: 5fr 7fr; gap: 32px; align-items: stretch; } }
.team__media { margin: 0; position: relative; }
.team__media img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 20%;
  border-radius: 24px; border: 1px solid var(--line);
}
@media (min-width: 600px) and (max-width: 959px) { .team__media img { aspect-ratio: 16 / 10; } }
@media (min-width: 960px) { .team__media img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; } }
.team__groups { display: grid; gap: 28px; align-content: start; }
.team__label {
  font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted);
  margin-bottom: 12px; font-weight: 600;
}
.people { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 600px) { .people--advisors { grid-template-columns: 1fr 1fr; } }
.person {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 18px 20px; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line);
  transition: border-color .25s;
}
.person:hover { border-color: rgba(92,162,255,0.35); }
.person__mono {
  flex: 0 0 48px; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem; letter-spacing: 0.02em; color: #fff;
  background: radial-gradient(circle at 30% 25%, #3D8EFF, var(--blue-strong) 70%);
  box-shadow: 0 0 0 4px rgba(26,120,250,0.16), 0 8px 20px -8px rgba(26,120,250,0.7);
}
.person__body { min-width: 0; }
.person__name { font-family: var(--font-display); font-size: 1.12rem; font-weight: 600; line-height: 1.2; margin: 2px 0 0; letter-spacing: -0.01em; }
.person__role { color: var(--blue-soft); font-weight: 600; font-size: 0.92rem; margin: 3px 0 8px; }
.person__creds { list-style: none; margin: 0; padding: 0; color: var(--muted); font-size: 0.9rem; line-height: 1.45; }
.person__creds li { position: relative; padding-left: 14px; }
.person__creds li + li { margin-top: 2px; }
.person__creds li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 5px; height: 5px; border-radius: 50%; background: rgba(92,162,255,0.6); }
.person__link { color: var(--text); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.person__link svg { color: var(--blue-soft); flex-shrink: 0; }
.person__link:hover { color: var(--blue-soft); text-decoration: underline; text-underline-offset: 4px; }

/* Contact */
.contact {
  text-align: center; padding: 56px 24px;
  border-radius: 28px; border: 1px solid rgba(92,162,255,0.22);
  background:
    radial-gradient(70% 90% at 50% 0%, rgba(26,120,250,0.22), transparent 70%),
    var(--surface);
}
.contact .eyebrow { justify-content: center; }
.contact h2 { margin: 0 auto 14px; max-width: 18ch; }
.contact .lead { margin: 0 auto; }
@media (min-width: 900px) { .contact { padding: 80px 40px; } }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 28px 0; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.footer p { color: var(--muted); font-size: 0.9rem; }
.footer__social { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; }
.footer__social a {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  color: var(--muted); border: 1px solid var(--line-strong);
  transition: color .2s, border-color .2s, background-color .2s;
}
.footer__social a:hover { color: var(--text); border-color: var(--blue-soft); background: rgba(26,120,250,0.08); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}
