*,
*::before,
*::after { box-sizing: border-box; }

:root {
  --bg: #090909;
  --panel: rgba(255,255,255,0.05);
  --border: rgba(255,255,255,0.12);
  --text: #f4f0e8;
  --muted: #b5ada1;
  --gold: #b9965c;
  --shadow: 0 30px 80px rgba(0,0,0,0.35);
  --max: 1220px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

[id], section[id], div[id] {
  scroll-margin-top: 100px;
}

body {
  margin: 0;
  padding-top: 120px;
  background:
    radial-gradient(circle at top right, rgba(185,150,92,0.12), transparent 20%),
    radial-gradient(circle at left center, rgba(255,255,255,0.04), transparent 25%),
    var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, sans-serif;
}

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

.site-shell { width: min(100%, 1440px); margin: 0 auto; padding: 0 24px 48px; }
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;

  backdrop-filter: blur(14px);
  background: rgba(9,9,9,0.92);
  border-bottom: 1px solid rgba(255,255,255,0.08);

  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;

  padding: 18px 24px;
  width: 100%;
  box-sizing: border-box;
}
.brand {
  justify-self: start;
}

.desktop-only {
  justify-self: end;
}

.brand-mark {
  width: 42px; height: 42px; display: grid; place-items: center;
  border: 1px solid rgba(185,150,92,0.4); border-radius: 50%;
  color: var(--gold); background: rgba(255,255,255,0.03);
  font-family: "Cormorant Garamond", serif; font-size: 1.2rem;
}

.nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
}

.nav a {
  white-space: nowrap;
}

.nav a:hover, .footer-links a:hover { color: var(--text); }

.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 20px; border-radius: 999px;
  background: linear-gradient(180deg, #c8a46a, #9d7843);
  color: #120f0a; font-weight: 700;
  box-shadow: 0 10px 30px rgba(185,150,92,0.18);
  border: none; cursor: pointer;
}

.button-outline, .button-ghost {
  background: transparent; color: var(--text);
  border: 1px solid var(--border); box-shadow: none;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 44px;
  align-items: start;
  min-height: 88vh;
  padding: 48px 0 40px;
}

.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at center, black 45%, transparent 78%);
  pointer-events: none;
}

.eyebrow {
  display: inline-block; margin-bottom: 18px; color: var(--gold);
  text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.76rem; font-weight: 700;
}

.hero h1, .section-head h2, .protocol h2, .vault h2, .contact h2 {
  margin: 0; font-family: "Cormorant Garamond", serif;
  font-size: clamp(3.2rem, 7vw, 6.2rem); line-height: 0.94; letter-spacing: -0.03em;
}

.hero-text, .problem-copy, .protocol-copy p, .vault-copy p, .contact-copy p, .section-subtext, .team-card p {
  font-size: 1.05rem; line-height: 1.75; color: var(--muted);
}

.gold { color: var(--gold); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 34px; }

.hero-metrics {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}

.hero-metrics div, .video-card, .stat-card, .service-card, .timeline-step, .vault-panel, .team-card, .contact-form {
  background: var(--panel); border: 1px solid var(--border); box-shadow: var(--shadow);
}

.hero-metrics div { padding: 18px; border-radius: 18px; }
.hero-metrics strong { display: block; font-size: 1.3rem; margin-bottom: 6px; }
.hero-metrics span { color: var(--muted); font-size: 0.92rem; line-height: 1.4; }

.video-card {
  padding: 18px; border-radius: 28px;
  background: linear-gradient(180deg, rgba(185,150,92,0.12), rgba(255,255,255,0.03)), rgba(255,255,255,0.04);
}

.video-label, .vault-badge {
  display: inline-block; font-size: 0.76rem; text-transform: uppercase;
  letter-spacing: 0.14em; color: var(--gold); margin-bottom: 12px;
}

.video-frame {
  overflow: hidden; border-radius: 22px; aspect-ratio: 16 / 10;
  background: #111; border: 1px solid rgba(255,255,255,0.08);
}

.video-frame iframe { width: 100%; height: 100%; }

.video-caption {
  margin-top: 12px; color: var(--muted); line-height: 1.6; font-size: 0.95rem;
}

section { width: min(100%, var(--max)); margin: 0 auto; }

.problem, .services, .protocol, .vault, .leadership, .contact { padding: 100px 0 24px; }

.section-head { max-width: 760px; margin-bottom: 30px; }
.section-head h2 { font-size: clamp(2.4rem, 5vw, 4.8rem); margin-bottom: 16px; }

.problem-grid, .card-grid, .team-grid { display: grid; gap: 22px; }
.problem-grid, .card-grid { grid-template-columns: repeat(3, 1fr); }
.team-grid { grid-template-columns: 1.2fr 1fr 1fr; }

.stat-card, .service-card, .team-card { border-radius: 24px; padding: 28px; }

.big-stat, .card-number, .vault-stat {
  color: var(--gold); font-family: "Cormorant Garamond", serif;
}

.big-stat { font-size: clamp(2rem, 4vw, 3.4rem); margin-bottom: 14px; }
.card-number { font-size: 1.4rem; margin-bottom: 12px; }

.service-card h3, .stat-card h3, .timeline-step h3, .team-card h3 {
  font-size: 1.3rem; margin: 0 0 12px;
}

.stat-card p, .service-card p, .timeline-step p, .vault-panel p { color: var(--muted); line-height: 1.7; }
.problem-copy { max-width: 900px; margin-top: 28px; }

.protocol { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 28px; align-items: start; }
.timeline { display: grid; gap: 18px; }

.timeline-step { padding: 24px; border-radius: 22px; }
.timeline-step span {
  display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center;
  border-radius: 50%; border: 1px solid rgba(185,150,92,0.4); color: var(--gold); margin-bottom: 14px;
}

.vault { display: grid; grid-template-columns: 1fr 0.8fr; gap: 28px; align-items: stretch; }

.vault-list {
  list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; color: var(--muted);
}
.vault-list li::before { content: "•"; color: var(--gold); margin-right: 10px; }

.vault-panel {
  border-radius: 28px; padding: 36px; display: grid; align-content: center; min-height: 320px;
  background: radial-gradient(circle at top left, rgba(185,150,92,0.18), transparent 35%), rgba(255,255,255,0.04);
}

.vault-stat { font-size: clamp(4rem, 8vw, 6rem); line-height: 1; margin: 12px 0 8px; }

.team-card.founder {
  background: linear-gradient(180deg, rgba(185,150,92,0.10), rgba(255,255,255,0.03)), rgba(255,255,255,0.04);
}

.photo-placeholder {
  display: grid; place-items: center; min-height: 280px; border-radius: 20px;
  border: 1px dashed rgba(255,255,255,0.2); margin-bottom: 22px; color: var(--muted);
  background: linear-gradient(135deg, rgba(255,255,255,0.04), rgba(185,150,92,0.08));
}

.role {
  color: var(--gold); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.08em; margin-top: -2px;
}

.contact { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 28px; align-items: start; }
.contact-form { border-radius: 26px; padding: 28px; }

.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }

label { display: grid; gap: 10px; margin-bottom: 16px; color: var(--text); font-weight: 600; }

input, textarea {
  width: 100%; border-radius: 16px; border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.03); padding: 14px 16px; color: var(--text); font: inherit;
}

textarea { resize: vertical; }

.footer {
  width: min(100%, var(--max));
  margin: 48px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer > div:first-child {
  flex: 1 1 420px;
  min-width: 280px;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links { display: flex; gap: 18px; }

.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1080px) {
  .hero, .protocol, .vault, .contact, .problem-grid, .card-grid, .team-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 48px; }
  .hero-metrics { grid-template-columns: 1fr; }
  .desktop-only { display: none; }
}

@media (max-width: 760px) {
  .site-shell { padding: 0 16px 36px; }
  .hero-actions, .form-row, .footer { grid-template-columns: 1fr; display: grid; }
  .button, .button-ghost { width: 100%; }
  .photo-placeholder { min-height: 220px; }
}
.team-photo {
  width: 280px !important;
  height: 280px !important;
  object-fit: cover !important;
  border-radius: 20px !important;
  margin: 0 auto 22px !important;
  display: block !important;
}
.clients {
  margin-top: 60px;
}

.client-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  margin-top: 30px;
}

.client-logos img {
  width: 140px;
  height: 60px;
  object-fit: contain;
  display: block;
  opacity: 1;
}

.client-logos img[alt="Genentech"] {
  transform: scale(1.2);
}
.client-logos img {
  filter: none !important;
  opacity: 1 !important;
}
.client-logos img,
.client-logos img:hover {
  filter: none !important;
  opacity: 1 !important;
}
.report {
  margin-top: 70px;
}

.report-card {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: stretch;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 28px;
  padding: 34px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.35);
}

.report-copy h2 {
  margin: 0 0 16px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1;
}

.report-highlight {
  border-radius: 24px;
  padding: 30px;
  display: grid;
  align-content: center;
  background: radial-gradient(circle at top left, rgba(185,150,92,0.18), transparent 35%), rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
}

.report-stat {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(4rem, 8vw, 6rem);
  color: #b9965c;
  line-height: 1;
  margin-bottom: 12px;
}

.report-highlight p {
  color: #b5ada1;
  line-height: 1.7;
}

@media (max-width: 980px) {
  .report-card {
    grid-template-columns: 1fr;
  }
}
.protocol-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: start;
}
.process-visual {
  display: flex;
  justify-content: center;
}

.process-visual img {
  width: 100%;
  max-width: 420px !important;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}

/* Mobile fix */
@media (max-width: 980px) {
  .protocol-layout {
    grid-template-columns: 1fr;
  }
}
.service-card h3 {
  margin-top: 28px;
}

.service-card p {
  line-height: 1.8;
}

.service-card {
  overflow-wrap: break-word;
}
html, body {
  overflow-x: hidden;
}
@media (max-width: 900px) {
  .topbar {
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    display: block !important;
    width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding: 18px 16px !important;
    box-sizing: border-box !important;
  }

  .brand {
    display: flex;
    justify-content: center;
    margin-bottom: 18px;
  }

  .nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 14px 18px;
    width: 100%;
  }

  .nav a {
    font-size: 15px;
    white-space: nowrap;
  }

  .desktop-only {
    display: none !important;
  }
}