/* ============================================================
   AVEN RESEARCH — design tokens
   Display: Space Grotesk / Body: Inter / Data-mono: JetBrains Mono
   ============================================================ */
:root {
  --bg: #020617;
  --bg-raised: #060b1e;
  --card: rgba(255, 255, 255, 0.05);
  --card-border: rgba(255, 255, 255, 0.09);
  --accent: #00e5ff;
  --secondary: #7c3aed;
  --green: #00ff95;
  --text: #ffffff;
  --muted: #94a3b8;

  --font-display: "Space Grotesk", "Inter", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-mono: "JetBrains Mono", monospace;

  --container: 1240px;
  --radius: 18px;
  --radius-sm: 10px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------------- reset ---------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
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: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; font-weight: 600; letter-spacing: -0.02em; }
p { margin: 0; }

::selection { background: var(--secondary); color: var(--text); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

@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;
  }
}

.reduce-motion * {
  animation: none !important;
  transition: none !important;
}

/* ---------------- layout helpers ---------------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 20px;
  height: 1px;
  background: var(--accent);
}
.section {
  position: relative;
  padding: 120px 0;
}
.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}
.section-head h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  margin-top: 14px;
}
.section-head p {
  color: var(--muted);
  margin-top: 16px;
  font-size: 1.02rem;
}
.muted { color: var(--muted); }

.glass {
  background: var(--card);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: var(--radius);
}

/* buttons */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease);
  overflow: hidden;
  isolation: isolate;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--secondary));
  color: #020617;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -12px rgba(0, 229, 255, 0.55); }
.btn-ghost {
  border-color: var(--card-border);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn-row { display: flex; gap: 16px; flex-wrap: wrap; }

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(120px 60px at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.35), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: -1;
}
.btn:hover::after { opacity: 1; }

/* ---------------- nav ---------------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: padding 0.4s var(--ease), background 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  padding: 12px 0;
  background: rgba(2, 6, 23, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--card-border);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.01em;
}
.logo-mark {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}
.nav-menu { display: flex; align-items: center; gap: 30px; }
.nav-menu a {
  font-size: 0.9rem;
  color: var(--muted);
  position: relative;
  padding: 4px 0;
  transition: color 0.25s ease;
}
.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s var(--ease);
}
.nav-menu a:hover { color: var(--text); }
.nav-menu a:hover::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.admin-link {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--muted);
  border: 1px solid var(--card-border);
  padding: 8px 14px;
  border-radius: 999px;
  transition: all 0.3s ease;
}
.admin-link:hover { color: var(--accent); border-color: var(--accent); }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 34px;
  height: 24px;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--text);
  transition: all 0.3s ease;
}
.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 11px; }
.nav-toggle span:nth-child(3) { bottom: 0; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(11px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-11px) rotate(-45deg); }

/* ---------------- hero ---------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 110px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.aurora {
  position: absolute;
  inset: -20%;
  z-index: 0;
  filter: blur(90px);
  opacity: 0.55;
  pointer-events: none;
}
.aurora span {
  position: absolute;
  border-radius: 50%;
  mix-blend-mode: screen;
}
.aurora span:nth-child(1) {
  width: 46vw; height: 46vw; left: -8%; top: 5%;
  background: radial-gradient(circle, var(--secondary), transparent 65%);
  animation: drift1 26s ease-in-out infinite;
}
.aurora span:nth-child(2) {
  width: 40vw; height: 40vw; right: -10%; top: 20%;
  background: radial-gradient(circle, var(--accent), transparent 65%);
  animation: drift2 32s ease-in-out infinite;
}
.aurora span:nth-child(3) {
  width: 34vw; height: 34vw; left: 30%; bottom: -20%;
  background: radial-gradient(circle, var(--green), transparent 65%);
  animation: drift3 30s ease-in-out infinite;
}
@keyframes drift1 { 0%,100%{ transform: translate(0,0) scale(1);} 50%{ transform: translate(6%,8%) scale(1.15);} }
@keyframes drift2 { 0%,100%{ transform: translate(0,0) scale(1);} 50%{ transform: translate(-8%,4%) scale(0.9);} }
@keyframes drift3 { 0%,100%{ transform: translate(0,0) scale(1);} 50%{ transform: translate(4%,-6%) scale(1.1);} }

.mouse-glow {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(400px circle at var(--gx, 50%) var(--gy, 50%), rgba(0, 229, 255, 0.06), transparent 65%);
  transition: background 0.1s linear;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}
.hero-copy .eyebrow { margin-bottom: 22px; }
.hero-copy h1 {
  font-size: clamp(2.4rem, 5.4vw, 4.2rem);
  line-height: 1.08;
}
.hero-copy h1 .line { display: block; overflow: hidden; }
.hero-copy h1 .line span {
  display: block;
  transform: translateY(110%);
  animation: reveal-line 0.9s var(--ease) forwards;
}
.hero-copy h1 .line:nth-child(1) span { animation-delay: 0.05s; }
.hero-copy h1 .line:nth-child(2) span { animation-delay: 0.18s; background: linear-gradient(90deg, var(--accent), var(--green)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-copy h1 .line:nth-child(3) span { animation-delay: 0.3s; }
@keyframes reveal-line { to { transform: translateY(0); } }

.hero-copy .subhead {
  margin-top: 24px;
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 460px;
}
.hero-copy .btn-row { margin-top: 38px; }

.hero-visual { position: relative; height: 520px; }
.hero-visual canvas { width: 100%; height: 100%; }
.hero-visual .scroll-hint {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.scroll-hint .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 0%,100%{ transform: translateY(0); opacity: 1;} 50%{ transform: translateY(8px); opacity: 0.3;} }

/* ---------------- reveal-on-scroll ---------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
[data-reveal="fade"] { transform: none; }
[data-reveal-group] > * { transition-delay: calc(var(--i, 0) * 90ms); }

/* ---------------- about ---------------- */
.about { position: relative; }
.about .container { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; align-items: start; }
.about-copy p { color: var(--muted); margin-top: 18px; font-size: 1.02rem; }
.about-goals { margin-top: 30px; display: grid; gap: 14px; }
.about-goals li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--muted);
}
.about-goals li::before {
  content: "";
  width: 8px; height: 8px;
  margin-top: 7px;
  border-radius: 2px;
  background: var(--green);
  flex-shrink: 0;
  transform: rotate(45deg);
}
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.stat-card { padding: 28px 24px; }
.stat-card .num {
  font-family: var(--font-mono);
  font-size: 2.4rem;
  font-weight: 600;
  background: linear-gradient(135deg, var(--accent), var(--green));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-card .label { color: var(--muted); margin-top: 6px; font-size: 0.88rem; }

/* ---------------- domain cards ---------------- */
.domain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.domain-card {
  padding: 30px 26px;
  position: relative;
  overflow: hidden;
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease);
}
.domain-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 0%), rgba(0, 229, 255, 0.12), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.domain-card:hover { transform: translateY(-6px); border-color: rgba(0, 229, 255, 0.4); }
.domain-card:hover::before { opacity: 1; }
.domain-icon {
  width: 44px; height: 44px;
  color: var(--accent);
  margin-bottom: 18px;
}
.domain-card h3 { font-size: 1.08rem; }
.domain-card p { color: var(--muted); font-size: 0.9rem; margin-top: 10px; line-height: 1.55; }
.domain-card .read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 0.82rem;
  font-family: var(--font-mono);
  color: var(--secondary);
  transition: gap 0.3s ease;
}
.domain-card:hover .read-more { gap: 12px; color: var(--accent); }

/* ---------------- featured research slider ---------------- */
.slider-wrap { position: relative; }
.slider-track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
  scrollbar-width: thin;
  scrollbar-color: var(--card-border) transparent;
}
.slider-track::-webkit-scrollbar { height: 6px; }
.slider-track::-webkit-scrollbar-thumb { background: var(--card-border); border-radius: 4px; }
.project-card {
  flex: 0 0 min(380px, 82vw);
  scroll-snap-align: start;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.project-card .banner {
  height: 140px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.35), rgba(0, 229, 255, 0.25));
  position: relative;
  overflow: hidden;
}
.project-card .banner svg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.9; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--card-border);
  color: var(--muted);
  width: fit-content;
}
.pill.status-active::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
.pill.status-paused::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #f59e0b; }
.project-card h3 { font-size: 1.12rem; line-height: 1.35; }
.project-card .meta-row { display: flex; justify-content: space-between; font-size: 0.8rem; color: var(--muted); font-family: var(--font-mono); }
.progress-track { height: 5px; border-radius: 3px; background: rgba(255,255,255,0.08); overflow: hidden; }
.progress-fill { height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--secondary), var(--accent)); transition: width 1.2s var(--ease); }
.project-card p.outcome { color: var(--muted); font-size: 0.88rem; line-height: 1.55; }
.project-card .card-actions { margin-top: auto; display: flex; gap: 12px; }
.card-actions .btn { padding: 10px 18px; font-size: 0.82rem; }
.slider-nav { display: flex; gap: 10px; margin-top: 24px; justify-content: flex-end; }
.slider-nav button {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--card-border);
  background: rgba(255,255,255,0.02);
  color: var(--text);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s ease;
}
.slider-nav button:hover { border-color: var(--accent); color: var(--accent); }

/* ---------------- timeline ---------------- */
.timeline {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-top: 20px;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 17px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--secondary), var(--accent), var(--green));
  opacity: 0.35;
}
.timeline-step { position: relative; text-align: center; flex: 1; }
.timeline-step .dot {
  width: 36px; height: 36px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg);
  border: 2px solid var(--card-border);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--muted);
  transition: all 0.4s var(--ease);
  position: relative;
  z-index: 1;
}
.timeline-step.is-active .dot,
.timeline-step.is-done .dot {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 0 6px rgba(0, 229, 255, 0.08);
}
.timeline-step.is-done .dot { background: var(--accent); color: #020617; }
.timeline-step .label { font-size: 0.88rem; color: var(--muted); }
.timeline-step.is-active .label, .timeline-step.is-done .label { color: var(--text); }

/* ---------------- blog grid ---------------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.blog-card { overflow: hidden; transition: transform 0.4s var(--ease), border-color 0.4s var(--ease); }
.blog-card:hover { transform: translateY(-6px); border-color: rgba(124, 58, 237, 0.4); }
.blog-card .thumb {
  height: 170px;
  background: linear-gradient(135deg, rgba(0,229,255,0.16), rgba(124,58,237,0.22));
  position: relative;
  overflow: hidden;
}
.blog-card .thumb svg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.85; }
.blog-card .body { padding: 24px; }
.blog-card .cat { font-family: var(--font-mono); font-size: 0.72rem; color: var(--green); text-transform: uppercase; letter-spacing: 0.08em; }
.blog-card h3 { margin-top: 12px; font-size: 1.12rem; line-height: 1.4; }
.blog-card p.summary { margin-top: 10px; color: var(--muted); font-size: 0.9rem; line-height: 1.55; }
.blog-card .tags { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.tag { font-family: var(--font-mono); font-size: 0.7rem; color: var(--muted); border: 1px solid var(--card-border); padding: 3px 10px; border-radius: 999px; }
.blog-card .meta {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--card-border);
  font-size: 0.8rem; color: var(--muted);
}

/* ---------------- collaborate ---------------- */
.collab {
  position: relative;
  padding: 90px 0;
}
.collab-panel {
  padding: 70px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.collab-panel h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); max-width: 700px; margin: 18px auto 0; }
.collab-panel p { color: var(--muted); max-width: 560px; margin: 18px auto 0; }
.collab-roles {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
  margin: 34px 0;
}
.role-chip {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--card-border);
  color: var(--muted);
  transition: all 0.3s ease;
}
.role-chip:hover { border-color: var(--green); color: var(--green); transform: translateY(-2px); }
.collab-panel .btn-row { justify-content: center; }

/* ---------------- newsletter + support ---------------- */
.split-two { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.panel { padding: 42px; }
.panel h3 { font-size: 1.3rem; }
.panel p { color: var(--muted); margin-top: 12px; font-size: 0.95rem; }
.field-row { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
input[type="email"], input[type="text"], textarea, select {
  flex: 1;
  min-width: 180px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.92rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
input::placeholder, textarea::placeholder { color: var(--muted); }
input:focus, textarea:focus, select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,229,255,0.12);
  outline: none;
}
.form-note { font-size: 0.78rem; color: var(--muted); margin-top: 12px; }
.form-note a { color: var(--accent); }

.support-email-box {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.support-email-reveal {
  font-family: var(--font-mono);
  font-size: 1rem;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  border: 1px dashed var(--card-border);
  color: var(--accent);
  display: none;
  align-items: center;
  gap: 12px;
}
.support-email-reveal.is-shown { display: inline-flex; animation: fade-in 0.5s ease; }
@keyframes fade-in { from { opacity: 0; transform: translateY(6px);} to { opacity: 1; transform: translateY(0);} }
.copy-btn {
  background: rgba(255,255,255,0.06);
  border: none;
  color: var(--text);
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
}
.copy-btn:hover { background: rgba(255,255,255,0.12); }

/* ---------------- contact ---------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-grid textarea { min-height: 130px; resize: vertical; width: 100%; }
.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; }
.form-status {
  margin-top: 18px;
  font-size: 0.9rem;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  display: none;
}
.form-status.is-success { display: block; background: rgba(0,255,149,0.08); border: 1px solid rgba(0,255,149,0.3); color: var(--green); }
.form-status.is-error { display: block; background: rgba(255,80,80,0.08); border: 1px solid rgba(255,80,80,0.3); color: #ff8080; }

/* ---------------- toast ---------------- */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translate(-50%, 20px);
  background: rgba(10, 16, 34, 0.95);
  border: 1px solid var(--card-border);
  padding: 14px 24px;
  border-radius: 999px;
  font-size: 0.88rem;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s var(--ease);
  display: flex;
  align-items: center;
  gap: 10px;
}
.toast.is-shown { opacity: 1; transform: translate(-50%, 0); }
.toast::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }

/* ---------------- footer ---------------- */
.site-footer { padding: 70px 0 30px; border-top: 1px solid var(--card-border); position: relative; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 40px; }
.footer-brand p { color: var(--muted); margin-top: 14px; font-size: 0.9rem; max-width: 260px; }
.footer-col h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 16px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { font-size: 0.9rem; color: var(--text); opacity: 0.85; transition: opacity 0.3s ease, color 0.3s ease; }
.footer-col a:hover { opacity: 1; color: var(--accent); }
.footer-bottom {
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid var(--card-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.82rem;
  color: var(--muted);
}
.social-icons { display: flex; gap: 14px; }
.social-icons a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--card-border);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s ease;
}
.social-icons a:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* ---------------- scroll progress ---------------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--secondary));
  z-index: 200;
  transition: width 0.1s linear;
}

/* ---------------- gene sequence strip ---------------- */
.gene-strip {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  color: rgba(148, 163, 184, 0.35);
  white-space: nowrap;
  overflow: hidden;
  padding: 10px 0;
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
}
.gene-strip .track {
  display: inline-block;
  padding-left: 100%;
  animation: gene-scroll 40s linear infinite;
}
@keyframes gene-scroll { to { transform: translateX(-100%); } }

/* ---------------- responsive ---------------- */
@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { height: 360px; order: -1; }
  .about .container { grid-template-columns: 1fr; }
  .contact-grid, .split-two { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: repeat(2, 1fr); }
  .timeline { flex-wrap: wrap; gap: 24px; }
  .timeline::before { display: none; }
}
@media (max-width: 760px) {
  .nav-menu, .nav-actions .admin-link { display: none; }
  .nav-toggle { display: block; }
  .nav-open .nav-menu {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(2,6,23,0.97);
    flex-direction: column;
    padding: 24px 28px;
    gap: 18px;
    border-bottom: 1px solid var(--card-border);
  }
  .section { padding: 80px 0; }
  .collab-panel { padding: 50px 26px; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
}
