/* ── Reset ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Design tokens ─────────────────────────── */
:root {
  --bg:       #000;
  --fg:       #fff;
  --muted:    #888;
  --border:   rgba(255, 255, 255, 0.08);
  --dimmer:   rgba(255, 255, 255, 0.05);
  --accent:   #2694A8;
  --accent-dk:#173896;
  --font:     'Gothic A1', 'Inter', system-ui, -apple-system, sans-serif;
  --pad-x:    clamp(24px, 5vw, 72px);
  --sec-y:    clamp(80px, 10vw, 140px);
}

/* ── Base ──────────────────────────────────── */
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; }

/* ── Navigation ────────────────────────────── */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px var(--pad-x);
  transition: background 0.3s, backdrop-filter 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}

.nav.solid {
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-color: var(--border);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.nav-logo { width: 56px; height: 56px; }

.nav-link {
  color: var(--fg);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 20px;
  border: 1px solid var(--border);
  border-radius: 99px;
  transition: background 0.2s, border-color 0.2s;
}

.nav-link:hover {
  background: var(--dimmer);
  border-color: rgba(255, 255, 255, 0.2);
}

/* ── Hero ──────────────────────────────────── */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 160px var(--pad-x) 80px;
  overflow: hidden;
}

/* subtle bottom fade */
.hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(to top, #000, transparent);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

/* ── Protein structures grid ───────────────── */
.structures {
  background: #000;
  padding: var(--sec-y) var(--pad-x);
}

.structures-label {
  text-align: center;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 32px;
}

.protein-grid {
  display: grid;
  grid-template-columns: repeat(2, 384px);
  gap: 24px;
  justify-content: center;
}

/* wrapper — grid item, holds circle + label */
.mol-wrap {
  position: relative;
  width: 384px;
  height: 384px;
}

/* circular viewer fills the wrapper */
.mol-circle {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  overflow: hidden;
  clip-path: circle(50% at 50% 50%);
  box-shadow: 0 0 80px rgba(38, 148, 168, 0.1);
}

/* teal ring — sits on top of the viewer, inside wrapper */
.mol-circle::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid rgba(38, 148, 168, 0.55);
  pointer-events: none;
  z-index: 3;
}

/* protein name label — overlays the bottom of the circle */
.mol-label {
  position: absolute;
  bottom: 52px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  pointer-events: none;
  z-index: 4;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.9);
}

.eyebrow {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

h1 {
  font-size: clamp(32px, 4.2vw, 62px);
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin-bottom: 22px;
}

.hero-sub {
  font-size: clamp(16px, 1.5vw, 19px);
  color: var(--muted);
  font-weight: 300;
  line-height: 1.6;
  margin: 0 auto 36px;
  max-width: 460px;
  text-align: center;
}

/* scroll hint — animated vertical line */
.scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 52px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.35));
  animation: hint 2.4s ease-in-out infinite;
}

@keyframes hint {
  0%, 100% { opacity: 0.2; transform: translateX(-50%) scaleY(1); }
  50%       { opacity: 1;   transform: translateX(-50%) scaleY(0.6); }
}

/* ── Sections ──────────────────────────────── */
.section     { padding: var(--sec-y) 0; }
.section-alt { background: #080808; }

.container    { max-width: 1080px; margin: 0 auto; padding: 0 var(--pad-x); }
.container-sm { max-width: 600px; }

.label {
  display: block;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

h2 {
  font-size: clamp(28px, 3.6vw, 50px);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.12;
  margin-bottom: 22px;
}

.body-text {
  font-size: clamp(16px, 1.4vw, 18px);
  color: var(--muted);
  font-weight: 300;
  line-height: 1.78;
  max-width: 640px;
}

/* ── Facts ─────────────────────────────────── */
.facts {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 60px;
}

.fact {
  padding: 22px 0 22px 28px;
  border-left: 2px solid rgba(38, 148, 168, 0.45);
  transition: border-color 0.25s;
}

.fact:hover { border-color: var(--accent); }

.fact-line {
  font-size: clamp(19px, 2.3vw, 28px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: var(--muted);
  max-width: 820px;
}

.fact-key { color: #fff; }

/* ── Pillars ───────────────────────────────── */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.pillar {
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.015);
  transition: border-color 0.25s, background 0.25s;
}

.pillar:hover {
  border-color: rgba(38, 148, 168, 0.38);
  background: rgba(38, 148, 168, 0.04);
}

.pillar-icon {
  width: 34px;
  height: 34px;
  color: var(--accent);
  margin-bottom: 18px;
}

.pillar-icon svg { width: 100%; height: 100%; }

.pillar h3 {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.pillar p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

/* ── Approach goal (10x claim) ─────────────── */
.approach-goal {
  margin-top: 22px;
  color: var(--fg);
}

.approach-goal strong {
  font-weight: 500;
  color: var(--accent);
}

/* ── Team (modular — safe to remove with the #team markup) ── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 56px;
  max-width: 760px;
}

.team-member {
  padding: 36px 32px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.015);
  text-align: center;
  transition: border-color 0.25s, background 0.25s;
}

.team-member:hover {
  border-color: rgba(38, 148, 168, 0.38);
  background: rgba(38, 148, 168, 0.04);
}

.team-photo {
  width: 128px;
  height: 128px;
  margin: 0 auto 22px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-dk), var(--accent));
  box-shadow: 0 0 60px rgba(38, 148, 168, 0.12);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-initials {
  font-size: 42px;
  font-weight: 300;
  color: #fff;
  letter-spacing: 0.02em;
}

.team-name {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

.team-role {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

.team-cred {
  font-size: 13px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 14px;
}

.team-bio {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  font-weight: 300;
}
/* ── end Team ──────────────────────────────── */

/* ── Vision boxes ──────────────────────────── */
.vision-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.vision-item {
  display: flex;
  flex-direction: column;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.015);
  transition: border-color 0.25s, background 0.25s;
}

.vision-item:hover {
  border-color: rgba(38, 148, 168, 0.38);
  background: rgba(38, 148, 168, 0.04);
}

.vision-num {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 18px;
}

.vision-body h3 {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin-bottom: 12px;
}

.vision-body p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 300;
}

/* ── Button ────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  padding: 13px 28px;
  background: linear-gradient(135deg, var(--accent-dk), var(--accent));
  color: #fff;
  text-decoration: none;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  border: none;
  border-radius: 99px;
  cursor: pointer;
  letter-spacing: 0.01em;
  transition: opacity 0.2s, transform 0.2s;
}

.btn:hover { opacity: 0.82; transform: translateY(-1px); }

/* ── Contact link ──────────────────────────── */
.contact-link {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(38, 148, 168, 0.35);
  transition: border-color 0.2s;
}

.contact-link:hover { border-color: var(--accent); }

/* ── Footer ────────────────────────────────── */
.footer {
  padding: 28px 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}

.footer-logo { width: 20px; height: 20px; }

.footer-copy { font-size: 13px; color: rgba(255, 255, 255, 0.25); }

/* ── Scroll fade-in ────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-up.in { opacity: 1; transform: none; }

/* ── Responsive ────────────────────────────── */
@media (max-width: 860px) {
  .pillars { grid-template-columns: 1fr; }

  .vision-list { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .protein-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .mol-wrap {
    width: 100%;
    aspect-ratio: 1;
  }
}

@media (max-width: 560px) {
  .team-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
}

@media (max-width: 500px) {
  .protein-grid {
    grid-template-columns: 1fr;
  }
  .vision-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .footer-inner {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

/* ── Reduced motion ────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade-up {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .scroll-hint { animation: none; }
}
