/* ============================================================
   DV NOVA — styles.css
   Dark · premium · technical · futuristic
   ============================================================ */

:root {
  --bg:        #0a0608;
  --bg-2:      #100a0d;
  --surface:   #150d11;
  --surface-2: #1c1217;
  --line:      rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);

  --red:       #ff2d40;
  --red-soft:  rgba(255, 45, 64, 0.14);
  --red-glow:  rgba(255, 45, 64, 0.45);
  --gold:      #e8b341;

  --white:     #f5f3f2;
  --muted:     #a39ba0;
  --muted-2:   #6f676c;

  --mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --sans: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --maxw: 1180px;
  --pad:  clamp(1.25rem, 5vw, 4rem);
  --radius: 14px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Ambient background tint */
body::before {
  content: "";
  position: fixed; inset: 0;
  background:
    radial-gradient(1100px 600px at 78% -8%, rgba(255, 45, 64, 0.10), transparent 60%),
    radial-gradient(900px 700px at -10% 110%, rgba(232, 179, 65, 0.05), transparent 55%);
  pointer-events: none; z-index: 0;
}

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); position: relative; z-index: 1; }

.text-accent { color: var(--red); }
.text-muted-line { color: var(--muted); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 0.55em;
  font-family: var(--mono);
  font-size: 0.84rem; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.85em 1.6em;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease),
              box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
  will-change: transform;
}
.btn-sm { padding: 0.6em 1.15em; font-size: 0.74rem; }
.btn-lg { padding: 1em 1.9em; font-size: 0.9rem; }

.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 0 0 0 var(--red-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px -6px var(--red-glow), 0 0 0 1px rgba(255,255,255,0.06) inset;
}
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: var(--line-strong);
}
.btn-ghost:hover {
  border-color: var(--red);
  color: var(--red);
  transform: translateY(-2px);
}
.btn-arrow { transition: transform 0.35s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease),
              border-color 0.4s var(--ease), padding 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(10, 6, 8, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
  transition: height 0.4s var(--ease);
}
.site-header.scrolled .header-inner { height: 64px; }

.logo { display: flex; align-items: center; gap: 0.6rem; }
.logo-img {
  height: 42px; width: auto; display: block;
  transition: height 0.4s var(--ease), opacity 0.3s var(--ease);
}
.logo:hover .logo-img { opacity: 0.85; }
.site-header.scrolled .logo-img { height: 36px; }
/* legacy text logo (kept for safety; no longer rendered) */
.logo-text { font-weight: 700; font-size: 1.2rem; letter-spacing: 0.08em; }
.logo-accent { color: var(--red); }

.nav { display: flex; gap: 2rem; }
.nav a {
  font-family: var(--mono);
  font-size: 0.82rem; letter-spacing: 0.04em;
  color: var(--muted);
  position: relative; padding: 0.3em 0;
  transition: color 0.3s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 100%; height: 1px; background: var(--red);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav a:hover, .nav a.active { color: var(--white); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }

.header-right { display: flex; align-items: center; gap: 1.3rem; }

.live-indicator {
  display: inline-flex; align-items: center; gap: 0.45em;
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.18em;
  color: var(--muted);
}
.live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0 var(--red-glow);
  animation: live-pulse 2.4s var(--ease) infinite;
}
@keyframes live-pulse {
  0%   { box-shadow: 0 0 0 0 var(--red-glow); }
  70%  { box-shadow: 0 0 0 7px rgba(255,45,64,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,45,64,0); }
}

.header-progress {
  position: absolute; bottom: 0; left: 0; height: 2px; width: 0%;
  background: linear-gradient(90deg, var(--red), var(--gold));
  transition: width 0.1s linear;
}

/* mobile menu */
.menu-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; padding: 8px;
}
.menu-toggle span {
  width: 24px; height: 2px; background: var(--white);
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column; gap: 0.4rem;
  padding: 0 var(--pad);
  max-height: 0; overflow: hidden;
  background: rgba(10, 6, 8, 0.96);
  backdrop-filter: blur(14px);
  transition: max-height 0.45s var(--ease), padding 0.45s var(--ease);
}
.mobile-menu.open { max-height: 420px; padding: 1rem var(--pad) 1.6rem; }
.mobile-menu a {
  font-family: var(--mono); font-size: 0.95rem;
  color: var(--muted); padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
}
.mobile-menu a.btn { color: #fff; border: none; margin-top: 0.8rem; justify-content: center; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}
.network-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 0; opacity: 0.9;
}
.network-canvas-dim { opacity: 0.4; }
.hero-grid {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 40%, black 10%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 50% 40%, black 10%, transparent 72%);
  opacity: 0.5;
}
.hero-inner { position: relative; z-index: 2; max-width: 920px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.7em;
  font-family: var(--mono); font-size: 0.8rem;
  letter-spacing: 0.1em; color: var(--muted);
  margin-bottom: 1.6rem;
}
.eyebrow-bar { width: 28px; height: 1px; background: var(--red); display: inline-block; }

.hero-title {
  font-size: clamp(2.4rem, 6.4vw, 5.1rem);
  line-height: 1.04;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 1.6rem;
  max-width: 16ch;
}
.hero-sub {
  font-size: clamp(1.05rem, 2.2vw, 1.4rem);
  color: var(--muted);
  max-width: 46ch;
  margin-bottom: 2.4rem;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3.6rem; }

.hero-stats {
  display: flex; align-items: center; gap: clamp(1.2rem, 4vw, 3rem);
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  max-width: 640px;
}
.stat { display: flex; flex-direction: column; gap: 0.2rem; }
.stat-num {
  font-family: var(--mono); font-weight: 500;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--white); line-height: 1;
}
.stat-label {
  font-size: 0.78rem; color: var(--muted-2);
  letter-spacing: 0.04em;
}
.stat-divider { width: 1px; height: 38px; background: var(--line); }

.scroll-cue {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  z-index: 2;
}
.scroll-cue-line {
  display: block; width: 1px; height: 46px;
  background: linear-gradient(var(--red), transparent);
  position: relative; overflow: hidden;
}
.scroll-cue-line::after {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 40%;
  background: var(--white);
  animation: scroll-drop 2s var(--ease) infinite;
}
@keyframes scroll-drop {
  0% { transform: translateY(-100%); } 100% { transform: translateY(260%); }
}

/* ============================================================
   SECTIONS (generic)
   ============================================================ */
.section { padding: clamp(5rem, 12vw, 9rem) 0; position: relative; z-index: 1; }

.section-head { max-width: 760px; margin-bottom: 4rem; }
.section-tag {
  font-family: var(--mono); font-size: 0.8rem;
  letter-spacing: 0.08em; color: var(--red);
  margin-bottom: 1.1rem;
}
.section-title {
  font-size: clamp(1.7rem, 3.8vw, 2.9rem);
  line-height: 1.12; font-weight: 600; letter-spacing: -0.015em;
}
.section-lead {
  margin-top: 1.4rem; color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.18rem); max-width: 60ch;
}

/* ---------- How / Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: stretch; gap: 0;
}
.step {
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.2rem 2rem;
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.step:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  box-shadow: 0 20px 50px -28px rgba(0,0,0,0.9);
}
.step-index {
  font-family: var(--mono); font-size: 0.9rem; color: var(--red);
  margin-bottom: 1.4rem;
}
.step-title { font-size: 1.5rem; font-weight: 600; margin-bottom: 0.7rem; }
.step p { color: var(--muted); font-size: 0.98rem; }
.step-connector {
  align-self: center; width: 46px; height: 1px;
  background: linear-gradient(90deg, var(--line-strong), var(--red), var(--line-strong));
  position: relative;
}
.step-connector::after {
  content: ""; position: absolute; right: -3px; top: -3px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--red);
  box-shadow: 0 0 10px var(--red-glow);
}

/* ---------- Positioning ---------- */
.positioning { text-align: center; padding: clamp(5rem, 12vw, 9rem) 0; }
.positioning-line {
  font-size: clamp(1.9rem, 5.4vw, 4rem);
  font-weight: 600; line-height: 1.12; letter-spacing: -0.02em;
  max-width: 18ch; margin: 0 auto;
}

/* ---------- Founder ---------- */
.founder-inner {
  display: grid; grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 6vw, 5rem); align-items: center;
}
.founder-visual { display: flex; justify-content: center; }
.founder-frame {
  position: relative; width: 100%; aspect-ratio: 1;
  max-width: 360px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 50%, var(--red-soft), transparent 65%),
    linear-gradient(180deg, var(--surface), var(--bg-2));
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.founder-tag {
  position: absolute; top: 1rem; left: 1.1rem;
  font-family: var(--mono); font-size: 0.72rem;
  color: var(--muted); letter-spacing: 0.08em;
}
.founder-rings { position: relative; width: 60%; aspect-ratio: 1; }
.founder-rings span {
  position: absolute; inset: 0; border: 1px solid var(--line-strong);
  border-radius: 50%; animation: ring-pulse 4s var(--ease) infinite;
}
.founder-rings span:nth-child(2) { inset: 16%; animation-delay: 0.6s; border-color: var(--red-glow); }
.founder-rings span:nth-child(3) { inset: 34%; animation-delay: 1.2s; }
.founder-rings::after {
  content: ""; position: absolute; inset: 44%; border-radius: 50%;
  background: var(--red); box-shadow: 0 0 24px var(--red-glow);
}
@keyframes ring-pulse {
  0%,100% { opacity: 0.35; transform: scale(1); }
  50%     { opacity: 0.8; transform: scale(1.04); }
}
.founder-quote {
  font-size: clamp(1.25rem, 2.6vw, 1.85rem);
  line-height: 1.45; font-weight: 500; letter-spacing: -0.01em;
  margin: 1.2rem 0 1.4rem;
}
.founder-attr { font-family: var(--mono); font-size: 0.85rem; color: var(--muted); }

/* ---------- About ---------- */
.about-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem; margin-top: 1rem;
}
.about-card {
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.2rem;
  position: relative; overflow: hidden;
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease);
}
.about-card::before {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--red), transparent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.about-card:hover { transform: translateY(-5px); border-color: var(--line-strong); }
.about-card:hover::before { transform: scaleX(1); }
.about-num {
  font-family: var(--mono); font-size: 0.85rem; color: var(--red);
  display: block; margin-bottom: 1rem;
}
.about-card h3 { font-size: 1.3rem; margin-bottom: 0.7rem; font-weight: 600; }
.about-card p { color: var(--muted); font-size: 0.97rem; }

.about-closing {
  margin-top: 3.4rem; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 1.6rem;
}
.about-closing-line {
  font-size: clamp(1.6rem, 4vw, 2.6rem); font-weight: 600; letter-spacing: -0.015em;
}

/* ---------- Services / Four Systems ---------- */
.systems-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem; position: relative;
}
.systems-lines {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 0; pointer-events: none; overflow: visible;
}
.systems-lines path {
  fill: none; stroke: var(--red); stroke-width: 1.2;
  opacity: 0.5;
  stroke-dasharray: var(--len); stroke-dashoffset: var(--len);
  transition: stroke-dashoffset 1.2s var(--ease);
}
.systems-lines path.drawn { stroke-dashoffset: 0; }

.system-node {
  position: relative; z-index: 1;
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.2rem;
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.system-node:hover {
  transform: translateY(-6px);
  border-color: var(--red);
  box-shadow: 0 24px 60px -34px var(--red-glow);
}
.system-node-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1.3rem;
}
.system-id {
  font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.1em; color: var(--red);
}
.node-pulse {
  width: 9px; height: 9px; border-radius: 50%; background: var(--red);
  box-shadow: 0 0 0 0 var(--red-glow); animation: live-pulse 2.6s var(--ease) infinite;
}
.system-node h3 { font-size: 1.35rem; font-weight: 600; margin-bottom: 0.8rem; }
.system-node p { color: var(--muted); font-size: 0.97rem; }
.system-outcome {
  margin-top: 1.3rem; padding-top: 1.1rem; border-top: 1px dashed var(--line-strong);
  font-size: 0.92rem; color: var(--white);
}
.system-outcome span {
  display: inline-block; font-family: var(--mono); font-size: 0.7rem;
  letter-spacing: 0.1em; color: var(--gold); text-transform: uppercase;
  margin-right: 0.6em;
}

/* Dashboard showcase (single intentional image) */
.dashboard-showcase {
  margin: clamp(3.5rem, 8vw, 6rem) auto 0;
  max-width: 384px;
  text-align: center;
}
.dashboard-frame {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  padding: 10px;
  background: linear-gradient(180deg, var(--surface-2), var(--bg-2));
  box-shadow: 0 40px 90px -44px var(--red-glow), inset 0 0 0 1px rgba(255,255,255,0.03);
}
.dashboard-frame::before {
  content: ""; position: absolute; inset: 0; border-radius: 22px;
  background: radial-gradient(120% 60% at 50% 0%, rgba(255,45,64,0.10), transparent 60%);
  pointer-events: none;
}
.dashboard-img {
  width: 100%; height: auto; display: block; border-radius: 13px;
}
.dashboard-caption {
  margin-top: 1.2rem;
  font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.03em;
  color: var(--muted);
}

/* ---------- Process / Phases ---------- */
.phases { display: grid; gap: 0; max-width: 820px; }
.phase { display: grid; grid-template-columns: 40px 1fr; gap: 1.4rem; }
.phase-rail { position: relative; display: flex; justify-content: center; }
.phase-rail::before {
  content: ""; position: absolute; top: 8px; bottom: -1.4rem; width: 1px;
  background: var(--line-strong);
}
.phase-rail-last::before { display: none; }
.phase-dot {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--red);
  position: relative; z-index: 1; margin-top: 5px;
  box-shadow: 0 0 14px var(--red-glow);
}
.phase-body { padding-bottom: 3rem; }
.phase-id {
  font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.08em; color: var(--red);
}
.phase-body h3 { font-size: 1.4rem; font-weight: 600; margin: 0.5rem 0 0.7rem; }
.phase-body p { color: var(--muted); font-size: 0.98rem; }

/* ---------- Teaser ---------- */
.teaser { text-align: center; overflow: hidden; }
.teaser-inner { max-width: 720px; margin: 0 auto; position: relative; z-index: 2; }
.teaser-title {
  font-size: clamp(1.8rem, 4.4vw, 3rem); font-weight: 600;
  letter-spacing: -0.015em; margin: 1rem 0 1.2rem; line-height: 1.15;
}
.teaser-text { color: var(--muted); font-size: clamp(1rem, 2vw, 1.25rem); margin-bottom: 2.4rem; }

/* ---------- Contact ---------- */
.contact-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem); align-items: start;
}
.availability {
  margin-top: 1.4rem; color: var(--muted);
  font-size: 1.05rem; max-width: 38ch;
}
.contact-details { list-style: none; margin: 2.4rem 0; display: grid; gap: 1.4rem; }
.contact-details li { display: flex; flex-direction: column; gap: 0.25rem; }
.contact-label {
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted-2);
}
.contact-details a { font-size: 1.15rem; transition: color 0.3s var(--ease); width: fit-content; }
.contact-details a:hover { color: var(--red); }

.socials { display: flex; gap: 0.9rem; margin-top: 0.5rem; }
.social-link {
  display: inline-flex; align-items: center; gap: 0.55em;
  font-family: var(--mono); font-size: 0.82rem;
  color: var(--muted);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 0.6em 1.1em;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.social-link:hover { color: var(--red); border-color: var(--red); transform: translateY(-2px); }

.contact-form {
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.4rem);
}
.form-row { margin-bottom: 1.3rem; }
.form-row label {
  display: block; font-family: var(--mono); font-size: 0.74rem;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 0.5rem;
}
.form-row input, .form-row textarea {
  width: 100%; background: var(--bg); color: var(--white);
  border: 1px solid var(--line); border-radius: 10px;
  padding: 0.85rem 1rem; font-family: var(--sans); font-size: 1rem;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  resize: vertical;
}
.form-row input::placeholder, .form-row textarea::placeholder { color: var(--muted-2); }
.form-row input:focus, .form-row textarea:focus {
  outline: none; border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-soft);
}
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-submit { width: 100%; justify-content: center; margin-top: 0.4rem; }
.form-status { font-family: var(--mono); font-size: 0.82rem; margin-top: 1rem; min-height: 1.2em; }
.form-status.ok { color: var(--gold); }
.form-status.err { color: var(--red); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 3.4rem 0 2.4rem; position: relative; z-index: 1;
}
.footer-inner {
  display: flex; flex-wrap: wrap; justify-content: space-between;
  align-items: center; gap: 1.6rem;
}
.footer-logo-img { height: 38px; width: auto; }
.footer-brand p { color: var(--muted-2); font-size: 0.85rem; margin-top: 0.8rem; }
.footer-links { display: flex; gap: 1.6rem; }
.footer-links a {
  font-family: var(--mono); font-size: 0.82rem; color: var(--muted);
  transition: color 0.3s var(--ease);
}
.footer-links a:hover { color: var(--red); }
.footer-meta { font-family: var(--mono); font-size: 0.75rem; color: var(--muted-2); }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }

/* stagger children inside grids */
.steps .step:nth-child(3) { transition-delay: 0.08s; }
.steps .step:nth-child(5) { transition-delay: 0.16s; }
.about-grid .about-card:nth-child(2) { transition-delay: 0.06s; }
.about-grid .about-card:nth-child(3) { transition-delay: 0.12s; }
.about-grid .about-card:nth-child(4) { transition-delay: 0.18s; }
.systems-grid .system-node:nth-child(3) { transition-delay: 0.06s; }
.systems-grid .system-node:nth-child(4) { transition-delay: 0.12s; }
.systems-grid .system-node:nth-child(5) { transition-delay: 0.18s; }
.phases .phase:nth-child(2) { transition-delay: 0.06s; }
.phases .phase:nth-child(3) { transition-delay: 0.12s; }
.phases .phase:nth-child(4) { transition-delay: 0.18s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .nav, .header-right .btn { display: none; }
  .header-right .live-indicator { display: none; }
  .menu-toggle { display: flex; }
  .mobile-menu { display: flex; }

  .steps { grid-template-columns: 1fr; gap: 1.2rem; }
  .step-connector { display: none; }
  .founder-inner { grid-template-columns: 1fr; }
  .founder-visual { order: -1; }
  .founder-frame { max-width: 260px; }
  .about-grid { grid-template-columns: 1fr; }
  .systems-grid { grid-template-columns: 1fr; }
  .systems-lines { display: none; }
  .contact-inner { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .logo-img { height: 36px; }
  .site-header.scrolled .logo-img { height: 32px; }
  .hero-stats { gap: 1.2rem; }
  .stat-divider { display: none; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}
