:root {
  --bg: #07080f;
  --bg-alt: #0b0e1c;
  --surface: #10142a;
  --border: rgba(214, 228, 255, 0.09);
  --border-strong: rgba(214, 228, 255, 0.18);
  --blue: #2db3ff;
  --purple: #d24bff;
  --red: #ff5f56;
  --text: #e8eeff;
  --muted: #93a0c4;
  --grad: linear-gradient(100deg, var(--blue), var(--purple));

  --font-head: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;

  --radius: 14px;
  --nav-h: 72px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

#matrix {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.22;
  filter: blur(6px);
  pointer-events: none;
}

.container { width: min(1160px, 100% - 48px); margin-inline: auto; }

/* ---------- Type ---------- */
h1, h2, h3, h4, h5 { font-family: var(--font-head); line-height: 1.12; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.6rem, 5.5vw, 4.4rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); font-weight: 700; margin-bottom: 20px; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }

em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }
.lead.narrow { max-width: 62ch; }
.center { text-align: center; margin-inline: auto; justify-content: center; }
.muted { color: var(--muted); }
.mono { font-family: var(--font-mono); }

.eyebrow, .section-tag {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
}
.prompt-char { color: var(--purple); margin-right: 6px; }

.cursor { animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform .2s, box-shadow .2s, background .2s, border-color .2s;
  white-space: nowrap;
}
.btn-sm { padding: 9px 18px; font-size: 0.88rem; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 30px -10px rgba(210, 75, 255, .6); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 34px -8px rgba(45, 179, 255, .6); }
.btn-ghost { border: 1px solid var(--border-strong); }
.btn-ghost:hover { border-color: var(--blue); background: rgba(45, 179, 255, .08); }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 50;
  transition: background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(7, 8, 15, 0.82);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }

.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; }
.brand-mark {
  display: grid; place-items: center;
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--grad);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: #fff;
}

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a:not(.btn) {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--muted);
  transition: color .2s;
}
.nav-links a:not(.btn):hover, .nav-links a.active { color: var(--text); }
.nav-links a.active { color: var(--blue); }

.nav-toggle { display: none; width: 40px; height: 40px; position: relative; }
.nav-toggle span { position: absolute; left: 9px; right: 9px; height: 2px; background: var(--text); transition: transform .25s; }
.nav-toggle span:first-child { top: 15px; }
.nav-toggle span:last-child { top: 23px; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: calc(var(--nav-h) + 64px) 0 72px; position: relative; }
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(600px 400px at 80% 30%, rgba(210, 75, 255, .16), transparent 70%),
    radial-gradient(500px 400px at 10% 60%, rgba(45, 179, 255, .12), transparent 70%);
  z-index: -1;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 64px; align-items: center; }
.hero-copy h1 { margin-bottom: 24px; }
.hero-copy .lead { margin-bottom: 36px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-photo { position: relative; }
.hero-photo::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: calc(var(--radius) + 6px);
  background: var(--grad);
  transform: rotate(3deg);
  opacity: .55;
  z-index: -1;
}
.hero-photo img {
  border-radius: calc(var(--radius) + 6px);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 30%;
  width: 100%;
}
.hero-photo figcaption {
  position: absolute;
  left: 18px; bottom: 18px;
  display: flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(7, 8, 15, .78);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-strong);
  font-family: var(--font-mono);
  font-size: 0.78rem;
}
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 10px #3ddc84; }

/* ---------- Logo bar ---------- */
.logo-bar {
  padding: 34px 0 38px;
  border-block: 1px solid var(--border);
  background: rgba(11, 14, 28, .7);
}
.logo-bar-label {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 26px;
}
.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.logo-set { display: flex; align-items: center; flex-shrink: 0; }
.logo-set img, .logo-word { opacity: .62; transition: opacity .25s; }
.logo-set img:hover, .logo-word:hover { opacity: 1; }
.logo-mark { height: 46px; width: auto; }
.logo-tall { height: 64px; }
.logo-icon { height: 30px; width: auto; margin-right: 10px; }
.logo-wide { height: 40px; width: auto; }
.logo-text { height: 22px; width: auto; }
.logo-word { font-family: var(--font-head); font-weight: 700; font-size: 1.45rem; letter-spacing: .02em; }
.logo-word-sm { font-size: 1.15rem; letter-spacing: .14em; }
.logo-gap { width: 80px; flex-shrink: 0; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Stats ---------- */
.stats { padding: 72px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { padding: 8px 0 8px 22px; border-left: 2px solid; border-image: var(--grad) 1; }
.stat-num { display: block; font-family: var(--font-head); font-size: 2.6rem; font-weight: 700; line-height: 1.1; }
.stat-label { color: var(--muted); font-size: 0.92rem; }

/* ---------- Sections ---------- */
.section { padding: 110px 0; }
.section-alt { background: rgba(11, 14, 28, .78); border-block: 1px solid var(--border); }
.sub-head { margin: 64px 0 22px; font-size: 1.4rem; }

/* About */
.about-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 72px; align-items: center; }
.about-photo img {
  border-radius: var(--radius);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 68% 60%;
  border: 1px solid var(--border-strong);
}
.about-copy p { margin-bottom: 16px; }
.about-copy p:not(.lead):not(.section-tag) { color: #c5cfe9; }
.about-copy a { color: var(--blue); border-bottom: 1px solid rgba(45, 179, 255, .4); }

.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chips li {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  color: #c5cfe9;
}

/* Path cards */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.path-card {
  display: flex; flex-direction: column; gap: 12px;
  padding: 34px 30px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform .25s, border-color .25s;
}
.path-card:hover { transform: translateY(-4px); border-color: var(--blue); }
.path-card p { color: var(--muted); flex: 1; }
.path-num { font-family: var(--font-mono); font-size: 0.85rem; color: var(--purple); }
.path-link { font-weight: 600; color: var(--blue); font-size: 0.92rem; }

/* Career arrow timeline */
.tl-scroll {
  margin-top: 40px;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border-strong) transparent;
}
.tl {
  --line-y: 50%;
  list-style: none;
  position: relative;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(104px, 1fr);
  min-width: 1160px;
  height: 400px;
  padding: 0 60px 0 52px;
}
/* arrow shaft */
.tl::before {
  content: "";
  position: absolute;
  left: 0; right: 14px;
  top: var(--line-y);
  height: 3px;
  margin-top: -1.5px;
  border-radius: 3px;
  background: var(--grad);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1.6s cubic-bezier(.6, 0, .2, 1);
}
/* arrow head */
.tl::after {
  content: "";
  position: absolute;
  right: 0;
  top: var(--line-y);
  margin-top: -10px;
  border-left: 18px solid var(--purple);
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  filter: drop-shadow(0 0 8px rgba(210, 75, 255, .7));
  opacity: 0;
  transition: opacity .3s 1.5s;
}
.tl.visible::before { transform: scaleX(1); }
.tl.visible::after { opacity: 1; }

.tl-item { position: relative; }
/* node on the line */
.tl-item::before {
  content: "";
  position: absolute;
  left: 50%; top: var(--line-y);
  width: 13px; height: 13px;
  margin: -6.5px 0 0 -6.5px;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--blue);
  z-index: 1;
}
/* stem from node to card */
.tl-item::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 1px;
  height: 26px;
  background: var(--border-strong);
}
.tl-item:nth-child(odd)::after { bottom: calc(100% - var(--line-y) + 7px); }
.tl-item:nth-child(even)::after { top: calc(var(--line-y) + 7px); }

.tl-card {
  position: absolute;
  left: 50%;
  width: 194px;
  margin-left: -97px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.9rem;
  line-height: 1.45;
  color: #c5cfe9;
  opacity: 0;
  transition: opacity .5s, transform .5s;
  transition-delay: calc(var(--i) * 0.15s + 0.2s);
}
.tl-item:nth-child(odd) .tl-card { bottom: calc(100% - var(--line-y) + 33px); transform: translateY(-10px); }
.tl-item:nth-child(even) .tl-card { top: calc(var(--line-y) + 33px); transform: translateY(10px); }
.tl.visible .tl-card { opacity: 1; transform: none; }

.tl-year {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--blue);
  margin-bottom: 4px;
}
.tl-badge {
  display: inline-block;
  margin-bottom: 8px;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--grad);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* highlighted wins */
.tl-item.win::before {
  width: 19px; height: 19px;
  margin: -9.5px 0 0 -9.5px;
  border: 0;
  background: var(--grad);
  box-shadow: 0 0 0 5px rgba(210, 75, 255, .18), 0 0 18px rgba(210, 75, 255, .7);
}
.tl-item.win::after { background: var(--purple); }
.tl-item.win .tl-card {
  color: var(--text);
  font-weight: 500;
  border: 1px solid transparent;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    var(--grad) border-box;
  box-shadow: 0 12px 34px -14px rgba(210, 75, 255, .55);
}
.tl-item.win .tl-year { color: var(--purple); }

.tl-hint { display: none; font-family: var(--font-mono); font-size: 0.75rem; color: var(--muted); text-align: right; margin-top: 6px; }

/* Timeline */
.timeline { list-style: none; margin-top: 48px; border-left: 1px solid var(--border-strong); }
.job { display: grid; grid-template-columns: 64px 1fr; gap: 24px; padding: 0 0 40px 28px; position: relative; }
.job::before {
  content: "";
  position: absolute; left: -5px; top: 24px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--grad);
}
.job-logo {
  width: 64px; height: 64px;
  display: grid; place-items: center;
  padding: 12px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
}
.job-logo img { max-height: 100%; width: auto; object-fit: contain; opacity: .9; }
.job-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; align-items: baseline; margin-bottom: 6px; }
.job-head h3 span { color: var(--muted); font-weight: 500; }
.job-date { font-family: var(--font-mono); font-size: 0.8rem; color: var(--muted); }
.job-body > p { color: #c5cfe9; }
.job-points { margin-top: 12px; padding-left: 18px; color: #c5cfe9; }
.job-points li { margin-bottom: 6px; }
.job-points li::marker { color: var(--blue); }

/* Launched products */
.products { border-top: 1px solid var(--border); }
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 44px; }
.product {
  position: relative;
  display: flex; flex-direction: column;
  padding: 34px;
  border-radius: calc(var(--radius) + 4px);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  overflow: hidden;
  transition: transform .25s, border-color .25s;
}
.product::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad);
}
.product:hover { transform: translateY(-4px); border-color: var(--blue); }
.product-upcoming {
  background:
    radial-gradient(420px 260px at 100% 0%, rgba(210, 75, 255, .16), transparent 70%),
    var(--surface);
}
.product-upcoming:hover { border-color: var(--purple); }

.product-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 26px; flex-wrap: wrap; }
.product-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 600; color: var(--muted); }
.product-brand img { height: 22px; width: auto; }
.product h3 { font-size: 1.7rem; margin-bottom: 12px; }
.product-desc { color: #c5cfe9; margin-bottom: 22px; }

.status {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
}
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.status-live { color: #3ddc84; background: rgba(61, 220, 132, .1); border: 1px solid rgba(61, 220, 132, .3); }
.status-soon { color: var(--purple); background: rgba(210, 75, 255, .1); border: 1px solid rgba(210, 75, 255, .35); }
.status-soon .status-dot { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .3; transform: scale(.7); } }

.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 24px; }
.countdown div {
  text-align: center;
  padding: 12px 6px;
  border-radius: 10px;
  background: rgba(7, 8, 15, .6);
  border: 1px solid var(--border);
}
.countdown span { display: block; font-family: var(--font-head); font-size: 1.8rem; font-weight: 700; line-height: 1.1; }
.countdown small { font-family: var(--font-mono); font-size: 0.68rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }

.product-role { font-family: var(--font-mono); font-size: 0.75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--blue); margin-bottom: 8px; }
.product-points { padding-left: 18px; color: #c5cfe9; font-size: 0.94rem; margin-bottom: 24px; }
.product-points li { margin-bottom: 4px; }
.product-points li::marker { color: var(--blue); }

.product-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 20px; border-top: 1px solid var(--border); }
.product-foot .chips { margin-top: 0; }
.product-link { font-weight: 600; color: var(--blue); white-space: nowrap; }
.product-upcoming .product-link { color: var(--purple); }
.product-link:hover { text-decoration: underline; }

/* Lambda */
.split-head { display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.split-logo { width: 170px; flex-shrink: 0; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.feature, .panel {
  padding: 26px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
}
.feature h4 { margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 0.94rem; }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery-item { border-radius: 10px; overflow: hidden; border: 1px solid var(--border); aspect-ratio: 16 / 10; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery-item:hover img { transform: scale(1.06); }

.video-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 14px; }
.video-embed { position: relative; border-radius: 10px; overflow: hidden; border: 1px solid var(--border); aspect-ratio: 16 / 9; background: #000; }
.video-embed video { width: 100%; height: 100%; object-fit: cover; opacity: .75; }
.play-icon {
  position: absolute; inset: 0; margin: auto;
  width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(7, 8, 15, .7);
  border: 1px solid var(--border-strong);
  font-size: 1.2rem;
  transition: transform .2s, background .2s;
}
.video-embed:hover .play-icon { transform: scale(1.1); background: var(--purple); }

.cta-banner {
  margin-top: 56px;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 34px 38px;
  border-radius: var(--radius);
  background: linear-gradient(100deg, rgba(45, 179, 255, .14), rgba(210, 75, 255, .14));
  border: 1px solid var(--border-strong);
}
.cta-banner p { color: var(--muted); }

/* Consulting */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 44px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.service { display: flex; align-items: center; gap: 16px; padding: 26px; background: var(--bg); font-family: var(--font-head); font-weight: 600; font-size: 1.08rem; }
.service-idx { font-family: var(--font-mono); font-size: 0.8rem; color: var(--purple); }

.cta-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 32px; }
.cta-card {
  display: flex; flex-direction: column; gap: 10px;
  padding: 34px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  transition: transform .25s, border-color .25s;
}
.cta-card:hover { transform: translateY(-3px); border-color: var(--blue); }
.cta-card h3 { font-size: 1.5rem; }
.cta-kicker { font-family: var(--font-mono); font-size: 0.82rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.cta-urgent { background: linear-gradient(140deg, rgba(255, 95, 86, .14), var(--surface) 60%); border-color: rgba(255, 95, 86, .4); }
.cta-urgent:hover { border-color: var(--red); }
.cta-urgent .cta-kicker, .cta-urgent .path-link { color: var(--red); }

/* Ethical hacking */
.eh-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 44px; }
.panel h4 { margin-bottom: 4px; }
.panel h4 + .chips { margin-top: 12px; margin-bottom: 26px; }
.mini-entry { padding: 14px 0; border-bottom: 1px solid var(--border); }
.mini-entry:last-child { border-bottom: 0; }
.mini-entry h5 { font-size: 1rem; margin-bottom: 4px; }
.mini-entry p { color: var(--muted); font-size: 0.92rem; }

.defcon-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.defcon-card { padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.defcon-card h5 { font-size: 1.05rem; margin: 12px 0 6px; }
.defcon-card p { color: var(--muted); font-size: 0.9rem; }
.tag { font-family: var(--font-mono); font-size: 0.72rem; color: var(--blue); padding: 3px 9px; border-radius: 999px; background: rgba(45, 179, 255, .1); }

.disclaimer { margin-top: 40px; font-size: 0.85rem; color: var(--muted); max-width: 80ch; padding-left: 16px; border-left: 2px solid var(--border-strong); }

/* Contact */
.contact { padding: 120px 0; text-align: center; }
.contact .lead { margin-bottom: 32px; }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 30px 0; font-size: 0.85rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer nav a { color: var(--muted); }
.footer nav a:hover { color: var(--text); }
.footer .mono { color: var(--blue); }

.socials-row {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  padding: 10px 0 34px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--border);
}
.socials-label { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.socials { list-style: none; display: flex; gap: 14px; }
.socials a {
  display: grid; place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  color: var(--muted);
  transition: color .2s, border-color .2s, background .2s, transform .2s;
}
.socials a:hover {
  color: #fff;
  border-color: transparent;
  background: var(--grad);
  transform: translateY(-3px);
}
.socials svg {
  width: 20px; height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  display: none; place-items: center;
  background: rgba(3, 4, 8, .92);
  padding: 40px;
}
.lightbox.active { display: grid; }
.lightbox img, .lightbox video { max-width: min(1200px, 100%); max-height: 85vh; border-radius: 10px; }
.lightbox-close { position: absolute; top: 18px; right: 26px; font-size: 2.2rem; color: var(--muted); }
.lightbox-close:hover { color: var(--text); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .tl::before, .tl::after, .tl-card { transition: none !important; }
  .marquee-track, .status-soon .status-dot { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-photo { max-width: 440px; }
  .about-photo { max-width: 420px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .cards-3, .feature-grid, .services { grid-template-columns: 1fr 1fr; }
  .defcon-grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .tl-hint { display: block; }
  .product-grid { grid-template-columns: 1fr; }

  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 20px;
    padding: 28px 24px 32px;
    background: rgba(7, 8, 15, .97);
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    transition: transform .3s;
  }
  .nav-links.open { transform: none; }
  .nav-links a:not(.btn) { font-size: 1rem; }
}

@media (max-width: 640px) {
  .section { padding: 80px 0; }
  .cards-3, .feature-grid, .services, .cta-pair, .eh-grid, .defcon-grid, .video-row { grid-template-columns: 1fr; }
  .split-head, .cta-banner { flex-direction: column; align-items: flex-start; }
  .split-logo { width: 140px; }
  .job { grid-template-columns: 1fr; padding-left: 22px; gap: 14px; }
  .logo-gap { width: 52px; }
  .logo-mark { height: 36px; }
  .logo-wide { height: 32px; }
}

/* ---------- Excelsior Ops teaser (consulting lives on its own subdomain) ---------- */
.excelsior-card {
  display: grid; grid-template-columns: 340px 1fr; gap: 44px; align-items: center;
  padding: 40px; border-radius: var(--radius);
  background: linear-gradient(140deg, rgba(10, 132, 225, .14), var(--surface) 60%);
  border: 1px solid rgba(10, 132, 225, .35);
  transition: transform .25s, border-color .25s;
}
.excelsior-card:hover { transform: translateY(-3px); border-color: #0a84e1; }
.excelsior-logo { background: #fff; border-radius: var(--radius); padding: 22px; display: grid; place-items: center; }
.excelsior-logo img { width: 100%; max-width: 300px; }
.excelsior-copy .lead { margin-bottom: 26px; }
@media (max-width: 720px) {
  .excelsior-card { grid-template-columns: 1fr; gap: 26px; padding: 28px; }
  .excelsior-logo { max-width: 320px; }
}
