:root {
  --ink: #111827;
  --muted: #5d6676;
  --paper: #fbfcff;
  --panel: rgba(255, 255, 255, 0.78);
  --line: rgba(255, 255, 255, 0.7);
  --green: #15b884;
  --blue: #2563eb;
  --coral: #ff5f7e;
  --gold: #ffc857;
  --violet: #8b5cf6;
  --cyan: #19c8ff;
  --shadow: 0 28px 80px rgba(31, 41, 55, 0.18);
  --shine: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.48));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 9% 12%, rgba(255, 200, 87, 0.36), transparent 25rem),
    radial-gradient(circle at 92% 8%, rgba(25, 200, 255, 0.26), transparent 24rem),
    radial-gradient(circle at 75% 82%, rgba(255, 95, 126, 0.24), transparent 27rem),
    linear-gradient(135deg, #f9fbff 0%, #eefbf6 42%, #f5f1ff 72%, #fff8ec 100%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
}

#bioscape {
  height: 100%;
  inset: 0;
  mix-blend-mode: normal;
  opacity: 0.96;
  pointer-events: none;
  position: fixed;
  width: 100%;
  z-index: 0;
}

body::before {
  background-image:
    linear-gradient(rgba(17, 24, 39, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 24, 39, 0.035) 1px, transparent 1px);
  background-size: 38px 38px;
  content: "";
  inset: 0;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 85%);
  pointer-events: none;
  position: fixed;
  z-index: 0;
}

body::after {
  animation: spectrum-drift 18s linear infinite;
  background: linear-gradient(90deg, var(--green), var(--cyan), var(--blue), var(--violet), var(--coral), var(--gold), var(--green));
  background-size: 300% 100%;
  content: "";
  height: 4px;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 4;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1160px;
  padding: 24px;
  position: relative;
  z-index: 2;
}

.brand,
.nav-links {
  align-items: center;
  display: flex;
}

.brand {
  color: #172033;
  font-weight: 800;
  gap: 10px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
}

.brand-mark {
  animation: nucleus-spin 7s linear infinite;
  background:
    conic-gradient(from 30deg, var(--gold), var(--coral), var(--violet), var(--cyan), var(--green), var(--gold));
  border: 3px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  box-shadow:
    0 8px 18px rgba(47, 143, 107, 0.28),
    inset 0 2px 8px rgba(255, 255, 255, 0.7);
  height: 28px;
  width: 28px;
}

.nav-links {
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(31, 41, 55, 0.1);
  gap: 6px;
  padding: 5px;
}

.nav-links a {
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 750;
  padding: 8px 14px;
}

.nav-links a[aria-current="page"] {
  background: linear-gradient(135deg, var(--blue), var(--violet));
  color: #fff;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.24);
}

main {
  margin: 0 auto;
  max-width: 1160px;
  padding: 24px;
  position: relative;
  z-index: 1;
}

.hero {
  align-items: stretch;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  min-height: 520px;
}

.hero-content,
.hero-panel,
.page-hero,
.feature-panel,
.social-preview,
.content-card,
.member-card {
  backdrop-filter: blur(22px) saturate(1.3);
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transform-style: preserve-3d;
}

.hero-content {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.58)),
    radial-gradient(circle at 8% 10%, rgba(255, 200, 87, 0.28), transparent 17rem),
    radial-gradient(circle at 95% 15%, rgba(25, 200, 255, 0.2), transparent 18rem);
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: clamp(34px, 7vw, 76px);
  position: relative;
}

.hero-content::after {
  animation: spectrum-drift 10s linear infinite;
  background:
    linear-gradient(90deg, var(--green), var(--cyan), var(--blue), var(--violet), var(--coral), var(--gold));
  background-size: 300% 100%;
  bottom: 0;
  content: "";
  height: 10px;
  left: 0;
  position: absolute;
  right: 0;
}

.eyebrow {
  background: linear-gradient(90deg, var(--green), var(--blue), var(--coral));
  -webkit-background-clip: text;
  color: transparent;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  background: linear-gradient(90deg, #111827, var(--blue), var(--violet), var(--coral), var(--green), #111827);
  background-size: 240% 100%;
  -webkit-background-clip: text;
  animation: title-spectrum 9s ease-in-out infinite;
  color: transparent;
  filter: drop-shadow(0 14px 24px rgba(37, 99, 235, 0.12));
  font-size: clamp(3rem, 8vw, 6.7rem);
  letter-spacing: 0;
  line-height: 0.92;
  margin-bottom: 22px;
  max-width: 780px;
}

h2 {
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  line-height: 1;
  margin-bottom: 0;
}

h3 {
  font-size: 1.25rem;
  margin-bottom: 18px;
}

.hero-copy {
  color: #3e4857;
  font-size: clamp(1.04rem, 2vw, 1.28rem);
  max-width: 660px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.hero-actions:empty {
  display: none;
}

.button {
  border-radius: 999px;
  font-weight: 850;
  padding: 12px 18px;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  box-shadow: 0 14px 30px rgba(50, 104, 198, 0.2);
  transform: translateY(-2px);
}

.button.primary {
  background: linear-gradient(135deg, var(--blue), var(--violet));
  color: #fff;
}

.button.secondary {
  background: var(--shine);
  border: 1px solid rgba(255, 255, 255, 0.85);
  color: var(--ink);
}

.hero-panel {
  border-radius: 22px;
  display: grid;
  gap: 14px;
  padding: 20px;
}

.signal-card {
  background:
    var(--shine),
    linear-gradient(135deg, rgba(21, 184, 132, 0.08), rgba(139, 92, 246, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 140px;
  padding: 18px;
  position: relative;
  overflow: hidden;
}

.signal-card::before,
.content-card::before,
.member-card::before {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.95), transparent 62%);
  content: "";
  height: 120px;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  right: -44px;
  top: -44px;
  transition: opacity 200ms ease;
  width: 120px;
}

.signal-card::after,
.content-card::after,
.member-card::after {
  background: linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.46) 45%, transparent 72%);
  content: "";
  inset: 0 auto 0 -90%;
  pointer-events: none;
  position: absolute;
  transform: skewX(-18deg);
  transition: left 520ms ease;
  width: 70%;
}

.signal-card:hover::after,
.content-card:hover::after,
.member-card:hover::after {
  left: 125%;
}

.signal-card:hover::before,
.content-card:hover::before,
.member-card:hover::before {
  opacity: 1;
}

.signal-label,
.card-number,
.metric-label,
.social-topbar small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.signal-value {
  color: #1f2937;
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  font-weight: 850;
  line-height: 1.35;
}

.section-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 56px 0 24px;
}

.section-heading {
  grid-column: 1 / -1;
  margin-bottom: 6px;
}

.content-card {
  background:
    var(--shine),
    radial-gradient(circle at 100% 0%, rgba(255, 200, 87, 0.2), transparent 13rem),
    radial-gradient(circle at 0% 100%, rgba(25, 200, 255, 0.14), transparent 15rem);
  border-radius: 20px;
  min-height: 260px;
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.content-card:hover,
.member-card:hover {
  box-shadow: 0 34px 90px rgba(31, 41, 55, 0.22);
  transform: translateY(-3px);
}

.content-card.wide {
  grid-column: span 2;
}

.card-number {
  background: linear-gradient(135deg, rgba(21, 184, 132, 0.16), rgba(139, 92, 246, 0.14));
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  color: #334155;
  display: inline-block;
  margin-bottom: 22px;
  padding: 6px 11px;
  width: max-content;
}

.placeholder-block,
.placeholder-line,
.social-footer span {
  animation: placeholder-wave 4s ease-in-out infinite;
  background: linear-gradient(90deg, rgba(50, 104, 198, 0.12), rgba(47, 143, 107, 0.18));
  background-size: 220% 100%;
  border-radius: 999px;
}

.placeholder-block {
  border-radius: 8px;
  height: 92px;
  margin-bottom: 20px;
}

.placeholder-line {
  height: 14px;
  margin-bottom: 12px;
  width: 100%;
}

.placeholder-line.medium {
  width: 72%;
}

.placeholder-line.short {
  width: 42%;
}

.metric-shell {
  align-items: center;
  border: 1px dashed rgba(47, 143, 107, 0.55);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 136px;
}

.metric-value {
  animation: metric-pulse 3.5s ease-in-out infinite;
  color: var(--blue);
  font-size: 3.4rem;
  font-weight: 900;
  line-height: 1;
}

.evidence-list {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.evidence-row {
  display: grid;
  gap: 1px;
  grid-template-columns: 1.3fr 0.8fr 1.4fr;
}

.evidence-row span {
  background: #f3f7f5;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  min-height: 48px;
  padding: 14px;
}

.evidence-row.empty span {
  background: #fff;
}

.split-section {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr);
  padding: 28px 0 70px;
}

.feature-panel,
.social-preview,
.page-hero {
  border-radius: 22px;
  padding: 28px;
}

.feature-panel,
.page-hero {
  background:
    var(--shine),
    radial-gradient(circle at 94% 8%, rgba(255, 95, 126, 0.16), transparent 14rem);
}

.reference-list {
  margin: 28px 0 0;
  padding-left: 24px;
}

.reference-list li {
  color: #364152;
  line-height: 1.55;
  margin-bottom: 18px;
  padding-left: 8px;
}

.reference-list span {
  animation: none;
  background: none;
  border-radius: 0;
  display: inline;
  height: auto;
  margin-top: 6px;
  width: auto;
}

.reference-list a {
  color: var(--blue);
  font-weight: 800;
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-decoration-color: rgba(37, 99, 235, 0.34);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.social-preview {
  background:
    radial-gradient(circle at 20% 20%, rgba(237, 106, 90, 0.35), transparent 12rem),
    radial-gradient(circle at 82% 70%, rgba(50, 104, 198, 0.35), transparent 13rem),
    #101214;
  color: #fff;
  overflow: hidden;
  position: relative;
}

.social-preview::before {
  animation: scanline 5s linear infinite;
  background: linear-gradient(transparent, rgba(255, 255, 255, 0.16), transparent);
  content: "";
  height: 35%;
  left: 0;
  position: absolute;
  right: 0;
  top: -40%;
}

.social-topbar {
  align-items: center;
  display: flex;
  gap: 12px;
}

.avatar,
.member-avatar {
  background: linear-gradient(135deg, var(--coral), var(--gold));
  border-radius: 999px;
  display: inline-block;
}

.avatar {
  height: 42px;
  width: 42px;
}

.social-body {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin: 28px 0;
  padding: 28px;
}

.social-footer {
  display: flex;
  gap: 10px;
}

.social-footer span {
  height: 10px;
  width: 54px;
}

.page-hero {
  margin-bottom: 20px;
  overflow: hidden;
  position: relative;
}

.page-hero::after {
  animation: spectrum-drift 12s linear infinite;
  background: linear-gradient(90deg, var(--cyan), var(--blue), var(--violet), var(--coral), var(--gold));
  background-size: 260% 100%;
  bottom: 0;
  content: "";
  height: 8px;
  left: 0;
  position: absolute;
  right: 0;
}

.page-hero h1 {
  font-size: clamp(2.7rem, 7vw, 5.7rem);
  margin-bottom: 0;
  overflow-wrap: anywhere;
}

.team-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding-bottom: 70px;
}

.member-card {
  border-radius: 20px;
  min-height: 260px;
  padding: 22px;
  position: relative;
  overflow: hidden;
}

.member-avatar {
  animation: nucleus-spin 8s linear infinite reverse;
  background: conic-gradient(from 160deg, var(--coral), var(--gold), var(--green), var(--cyan), var(--violet), var(--coral));
  box-shadow:
    0 18px 38px rgba(139, 92, 246, 0.22),
    inset 0 2px 12px rgba(255, 255, 255, 0.85);
  height: 74px;
  margin-bottom: 34px;
  width: 74px;
}

@keyframes spectrum-drift {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 300% 50%;
  }
}

@keyframes title-spectrum {
  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

@keyframes placeholder-wave {
  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

@keyframes metric-pulse {
  0%,
  100% {
    filter: hue-rotate(0deg);
    transform: scale(1);
  }

  50% {
    filter: hue-rotate(80deg);
    transform: scale(1.04);
  }
}

@keyframes nucleus-spin {
  to {
    filter: hue-rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes scanline {
  to {
    top: 115%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

  #bioscape {
    display: none;
  }
}

.member-card h2 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.member-card p {
  color: var(--muted);
  margin-bottom: 0;
}

@media (max-width: 860px) {
  .hero,
  .section-grid,
  .split-section,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .content-card.wide {
    grid-column: auto;
  }

  .hero {
    min-height: auto;
  }
}

@media (max-width: 620px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  main {
    padding: 14px;
  }

  .hero-content,
  .hero-panel,
  .feature-panel,
  .social-preview,
  .page-hero,
  .content-card,
  .member-card {
    padding: 20px;
  }

  h1 {
    font-size: 3rem;
  }

  .evidence-row {
    grid-template-columns: 1fr;
  }
}
