:root {
  --bg: #06090f;
  --bg2: #0b1018;
  --bg3: #0f1620;
  --surface: #111c2a;
  --surface2: #162030;
  --teal: #2ec4b6;
  --teal-dim: #1a8a81;
  --gold: #c9a84c;
  --gold-dim: #8a6e2e;
  --text: #e8edf5;
  --text-dim: #8a9bb5;
  --text-muted: #7285a0;
  --border: rgba(46, 196, 182, 0.12);
  --border-light: rgba(46, 196, 182, 0.06);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", sans-serif;
  font-weight: 300;
  overflow-x: hidden;
}

img {
  max-width: 100%;
}

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  padding: 18px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: linear-gradient(180deg, rgba(6, 9, 15, 0.95) 0%, transparent 100%);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
}
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-image {
  height: 26px;
  width: auto;
  display: block;
  object-fit: contain;
}
.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.3s;
}
.nav-links a:hover {
  color: var(--teal);
}
.nav-cta {
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  border: 1px solid var(--teal);
  padding: 9px 20px;
  text-decoration: none;
  transition: all 0.3s;
  white-space: nowrap;
}
.nav-cta:hover {
  background: var(--teal);
  color: var(--bg);
}

/* ─── HERO ─── */
.hero {
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 150px 60px 100px;
  position: relative;
  overflow: hidden;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
}
.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image:
    linear-gradient(var(--teal) 1px, transparent 1px),
    linear-gradient(90deg, var(--teal) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridShift 20s linear infinite;
}
@keyframes gridShift {
  to {
    transform: translateY(60px);
  }
}
.hero-glow {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(46, 196, 182, 0.07) 0%,
    transparent 70%
  );
  pointer-events: none;
}
.hero-logo {
  height: clamp(58px, 8vw, 96px);
  width: auto;
  display: block;
  margin-bottom: 44px;
  opacity: 0;
  animation: fadeUp 0.8s 0.15s forwards;
}
.hero h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(40px, 5.2vw, 72px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.01em;
  max-width: 900px;
  opacity: 0;
  animation: fadeUp 0.8s 0.35s forwards;
}
.hero h1 em {
  font-style: italic;
  color: var(--teal);
}
.hero-sub {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-dim);
  max-width: 560px;
  margin-top: 28px;
  opacity: 0;
  animation: fadeUp 0.8s 0.55s forwards;
}
.hero-actions {
  margin-top: 44px;
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s 0.75s forwards;
}

.btn-primary {
  background: var(--teal);
  color: var(--bg);
  font-family: "DM Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 32px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(-100%);
  transition: transform 0.3s;
}
.btn-primary:hover::after {
  transform: translateX(0);
}
.btn-secondary {
  font-family: "DM Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s;
}
.btn-secondary:hover {
  color: var(--text);
}
.btn-secondary::after {
  content: "→";
  font-size: 14px;
  transition: transform 0.3s;
}
.btn-secondary:hover::after {
  transform: translateX(4px);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─── SECTION BASE ─── */
section {
  padding: 100px 60px;
}
.section-label {
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-label::before {
  content: "";
  width: 20px;
  height: 1px;
  background: var(--teal);
  flex-shrink: 0;
}
.section-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 300;
  line-height: 1.1;
}
.section-title em {
  font-style: italic;
  color: var(--teal);
}
.band-sub {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-dim);
  max-width: 640px;
  margin-top: 24px;
}

/* ─── SECTION 1 · OUR APPROACH ─── */
.approach {
  background: var(--bg);
}
.approach-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 80px;
  align-items: center;
  margin-top: 44px;
}
.approach-text .section-title {
  margin-bottom: 30px;
}
.approach-text p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-dim);
  margin-bottom: 20px;
}
.approach-text .lede {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text);
  font-weight: 300;
}

.approach-visual {
  position: relative;
}
.node-svg {
  width: 100%;
  height: auto;
  max-height: 500px;
  display: block;
}
.visual-caption {
  font-family: "DM Mono", monospace;
  font-size: 10px;
  line-height: 1.7;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-top: 18px;
  text-align: center;
}

/* ─── SECTION 2 · HIGHLIGHTS AND KEY VALUE ─── */
.highlights {
  background: var(--bg2);
  border-top: 1px solid var(--border);
}
.highlight-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 48px;
  background: var(--border);
  border: 1px solid var(--border);
}
.highlight-item {
  background: var(--bg2);
  padding: 34px 30px;
  display: flex;
  gap: 18px;
  align-items: baseline;
  transition: background 0.3s;
}
.highlight-item:hover {
  background: var(--surface);
}
.highlight-num {
  font-family: "DM Mono", monospace;
  font-size: 15px;
  letter-spacing: 0.1em;
  color: var(--teal);
  flex-shrink: 0;
}
.highlight-text {
  font-size: 19px;
  line-height: 1.6;
  color: var(--text-dim);
}

/* ─── SECTIONS 2 & 3 · FUNDING BANDS ─── */
.funding-band {
  background: var(--bg2);
  border-top: 1px solid var(--border);
}
.funding-band.venture {
  background: var(--bg3);
}
.logo-row {
  display: grid;
  gap: 20px;
  margin-top: 56px;
}
.logo-row-5 {
  grid-template-columns: repeat(5, 1fr);
}
.logo-row-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 620px;
}
.logo-chip {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 3px;
  height: 128px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 28px;
  transition:
    border-color 0.3s,
    transform 0.3s;
}
.logo-chip:hover {
  border-color: var(--teal-dim);
  transform: translateY(-3px);
}
/* For marks supplied as white-on-dark artwork. */
.logo-chip--dark {
  background: #000000;
}
.logo-chip img {
  max-height: 70px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* ─── SECTION 4 · SEMINAL SCIENCE ─── */
.science {
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.cover-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.cover {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-decoration: none;
  color: inherit;
}
.cover-journal {
  font-family: "Cormorant Garamond", serif;
  font-size: 21px;
  font-weight: 400;
  line-height: 1.15;
  color: var(--text);
  /* Reserve two lines so every cover starts at the same height. */
  min-height: 2.3em;
  transition: color 0.3s;
}
.cover:hover .cover-journal,
.cover:focus-visible .cover-journal {
  color: var(--teal);
}
.cover img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  border: 1px solid var(--border);
  background: var(--surface);
  transition:
    transform 0.35s,
    border-color 0.35s;
}
.cover:hover img {
  transform: translateY(-4px);
  border-color: var(--teal-dim);
}

/* ─── SECTION 5 · TEAM ─── */
.team {
  background: var(--bg3);
  border-top: 1px solid var(--border);
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 32px;
  margin-top: 56px;
}
.team-card {
  display: flex;
  flex-direction: column;
}
.team-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center 22%;
  border: 1px solid var(--border);
  background: var(--surface2);
  filter: grayscale(1) contrast(1.05);
  transition:
    filter 0.4s,
    border-color 0.4s;
  margin-bottom: 20px;
}
.team-card:hover .team-photo {
  filter: grayscale(0) contrast(1);
  border-color: var(--teal-dim);
}
.team-name {
  font-family: "Cormorant Garamond", serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: 6px;
}
.team-role {
  font-family: "DM Mono", monospace;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
  line-height: 1.5;
}
.team-bio {
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--text-dim);
}

/* ─── SECTION 6 · CONTACT ─── */
.contact {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 110px 60px;
}
.contact-inner {
  max-width: 720px;
}
.contact .section-title {
  margin-bottom: 4px;
}
.contact-actions {
  margin-top: 40px;
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}
.btn-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "DM Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-decoration: none;
  border: 1px solid var(--border);
  padding: 13px 24px;
  transition:
    color 0.3s,
    border-color 0.3s;
}
.btn-linkedin svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}
.btn-linkedin:hover {
  color: var(--teal);
  border-color: var(--teal-dim);
}

/* ─── FOOTER ─── */
footer {
  background: var(--bg);
  padding: 60px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 60px;
}
.footer-brand .nav-logo {
  margin-bottom: 18px;
}
.footer-brand .nav-logo-image {
  height: 24px;
}
.footer-brand p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 300px;
}
footer h4 {
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}
footer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
footer ul a {
  font-size: 13px;
  color: var(--text-dim);
  text-decoration: none;
  transition: color 0.3s;
}
footer ul a:hover {
  color: var(--teal);
}
.footer-bottom {
  grid-column: 1/-1;
  border-top: 1px solid var(--border-light);
  padding-top: 28px;
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-bottom p {
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

/* ─── SCROLL ANIMATIONS ─── */
.js-reveal .reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.7s,
    transform 0.7s;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .js-reveal .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero-grid {
    animation: none;
  }
  .hero-logo,
  .hero h1,
  .hero-sub,
  .hero-actions {
    opacity: 1;
    animation: none;
  }
}

/* ─── RESPONSIVE ─── */
/* Five nav links need ~1003px at full spacing; tighten before they wrap. */
@media (max-width: 1100px) {
  nav {
    padding: 18px 32px;
    gap: 20px;
  }
  .nav-links {
    gap: 22px;
  }
}

/* The team grid steps down earlier than the rest: 4-up cards fall under the
   width the longest role needs on one line well before 1180px. */
@media (max-width: 1400px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1180px) {
  .cover-row {
    grid-template-columns: repeat(3, 1fr);
  }
  .highlight-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Below this the 3-up cards get too narrow to hold a role on one line */
@media (max-width: 1080px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px 24px;
  }
}

@media (max-width: 960px) {
  nav {
    padding: 14px 24px;
  }
  .nav-links {
    display: none;
  }
  .nav-logo-image {
    height: 20px;
  }
  section {
    padding: 70px 24px;
  }
  .hero {
    padding: 120px 24px 70px;
    min-height: auto;
  }
  .approach-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .logo-row-5 {
    grid-template-columns: repeat(3, 1fr);
  }
  .highlight-grid {
    grid-template-columns: 1fr;
  }
  .contact {
    padding: 70px 24px;
  }
  footer {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px 24px;
  }
}

@media (max-width: 620px) {
  nav {
    padding: 12px 18px;
    gap: 12px;
  }
  .nav-logo-image {
    height: 16px;
  }
  .nav-cta {
    font-size: 10px;
    padding: 8px 12px;
    letter-spacing: 0.08em;
  }
  .cover-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
  .logo-row-5,
  .logo-row-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .logo-chip {
    height: 104px;
    padding: 18px 20px;
  }
  .team-grid {
    grid-template-columns: 1fr;
  }
  .hero-actions,
  .contact-actions {
    gap: 16px;
  }
}
