:root {
  --ink: #f3f1f8;
  --muted: rgba(243, 241, 248, 0.62);
  --faint: rgba(243, 241, 248, 0.38);
  --bg: #000000;
  --panel: #050308;
  --accent: #8b6dff;       /* violet */
  --accent-soft: rgba(139, 109, 255, 0.5);
  --line: rgba(243, 241, 248, 0.12);
}

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

html { scrollbar-width: none; scroll-behavior: smooth; }
html::-webkit-scrollbar { display: none; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 300;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

#top { position: absolute; top: 0; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 56px;
  transition: background 0.4s ease, padding 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(14px);
  padding: 18px 56px;
  border-bottom: 1px solid var(--line);
}
.brand {
  font-family: "Sora", sans-serif;
  font-weight: 400;
  font-size: 17px;
  letter-spacing: 0.42em;
  color: var(--ink);
  text-decoration: none;
}
.nav-links {
  display: flex;
  gap: 44px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.25s;
}
.nav-links a:hover { color: var(--ink); }
/* show only the Contact CTA in the nav (other anchors kept in markup, hidden) */
.nav-links a:not(.nav-contact) { display: none; }
.nav-contact {
  border: 1px solid var(--accent-soft);
  border-radius: 100px;
  padding: 7px 18px;
  color: var(--accent) !important;
  background: rgba(139, 109, 255, 0.08);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  position: relative;
  overflow: hidden;
  transition: background 0.25s ease, color 0.25s ease;
}
.nav-contact::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(115deg, transparent 47.5%, rgba(167,139,255,0.3) 50%, transparent 52.5%);
  background-size: 340% 100%;
  animation: contactSheen 9.5s linear infinite;
  pointer-events: none;
}
@keyframes contactSheen {
  0%   { background-position: 150% 0; }
  100% { background-position: -150% 0; }
}
.nav-contact:hover { background: var(--accent); color: #0a0710 !important; }
.nav-contact:hover::before { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .nav-contact::before { animation: none; opacity: 0; }
}
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none; border: none; cursor: pointer;
}
.nav-burger span { width: 24px; height: 1.5px; background: var(--accent); }

/* ---------- Cinematic scroll section ---------- */
.cinematic {
  position: relative;
  height: 520vh;
}
.sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  background: #000;
}
.frame-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.hero-grain {
  position: absolute; inset: 0; pointer-events: none; z-index: 4;
  background:
    radial-gradient(130% 110% at 70% 50%, transparent 40%, rgba(0,0,0,0.55) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.55) 0%, transparent 22%, transparent 72%, rgba(0,0,0,0.85) 100%);
}
/* extra darkening on the left so copy stays legible (matches reference) */
.hero-fade-left {
  position: absolute; inset: 0; pointer-events: none; z-index: 4;
  background: linear-gradient(90deg, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.55) 32%, transparent 60%);
}
.hero-fixed::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 32%; pointer-events: none; z-index: 5;
  background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.55) 55%, #000 100%);
}

/* ---------- Hero copy ---------- */
.hero-copy {
  position: absolute;
  z-index: 10;
  top: 50%;
  left: 56px;
  transform: translateY(-50%);
  max-width: 620px;
}
.hero-title {
  font-family: "Sora", sans-serif;
  font-weight: 300;
  font-size: clamp(2.3rem, 5.2vw, 4.9rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.hero-sub {
  margin-top: 34px;
  font-size: clamp(1rem, 1.5vw, 1.32rem);
  font-weight: 300;
  line-height: 1.55;
  color: var(--muted);
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: 46px;
  padding-bottom: 14px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.24em;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--accent-soft);
  transition: gap 0.3s ease, color 0.3s;
}
.hero-cta svg { transition: transform 0.3s ease; }
.hero-cta:hover { gap: 26px; }
.hero-cta:hover svg { transform: translateX(6px); }
.hero-cta.center { display: inline-flex; }

/* hero chips (3 labels under the headline) — deep-ocean tokens */
.hero-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}
.hero-chip {
  display: inline-flex;
  align-items: center;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--ink);
  padding: 9px 18px;
  border: 1px solid var(--accent-soft);
  border-radius: 100px;
  background: rgba(139, 109, 255, 0.08);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  white-space: nowrap;
}
.hero-chip::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 9px;
  flex: 0 0 auto;
}

/* lavender accent on the X in the wordmark */
.brand-x { color: var(--accent); }

.scroll-hint {
  position: absolute;
  bottom: 34px; left: 56px;
  z-index: 10;
  font-size: 11px;
  letter-spacing: 0.4em;
  color: var(--faint);
  animation: bob 2s ease-in-out infinite;
  transition: opacity 0.4s;
}
@keyframes bob { 0%,100% { transform: translateY(0); opacity: 0.6; } 50% { transform: translateY(6px); opacity: 1; } }

/* tech section overlay copy (scroll-driven) */
.tech-overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: grid;
  place-items: center;
  padding: 0 56px;
}
.tech-overlay h2 {
  position: absolute;
  text-align: center;
  font-family: "Sora", sans-serif;
  font-weight: 300;
  font-size: clamp(2rem, 5vw, 4.4rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  opacity: 0;
  will-change: opacity, transform;
}

/* ---------- Generic content band ---------- */
.band {
  position: relative;
  padding: 160px 56px;
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.band-inner { max-width: 1120px; margin: 0 auto; }
.band-inner.center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
}
.band-title {
  font-family: "Sora", sans-serif;
  font-weight: 300;
  font-size: clamp(2rem, 4.6vw, 3.8rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.band-lead {
  margin-top: 30px;
  max-width: 720px;
  font-size: clamp(1.02rem, 1.4vw, 1.28rem);
  font-weight: 300;
  line-height: 1.62;
  color: var(--muted);
}
.band-lead.center { margin-left: auto; margin-right: auto; }

/* AI / data-engine section — text left, image bled into the section right */
.ai-engine {
  padding: 70px 56px;
  overflow: hidden;
  text-align: center;
}
.ai-engine-inner { max-width: 1100px; margin: 0 auto; }
.ai-engine-copy { max-width: 1060px; margin: 0 auto; }
.ai-engine .band-title { font-size: clamp(1.9rem, 4.4vw, 3.3rem); }
.ai-engine-copy .band-lead { margin: 22px auto 0; max-width: 1060px; font-size: clamp(1rem, 1.25vw, 1.16rem); }
.ai-engine-visual { margin-top: 6px; line-height: 0; }
.ai-engine-img {
  width: auto;
  max-width: min(1000px, 100%);
  max-height: 54vh;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 16px;
}
.ai-engine-video::-webkit-media-controls-start-playback-button { display: none !important; -webkit-appearance: none; }
.ai-engine-video::-webkit-media-controls { display: none !important; }
@media (max-width: 900px) {
  .ai-engine { padding: 80px 22px; }
  .ai-engine-visual { margin-top: 36px; }
}

/* feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 80px;
  background: var(--line);
  border: 1px solid var(--line);
}
.feature {
  background: var(--bg);
  padding: 46px 38px;
  transition: background 0.4s;
}
.feature:hover { background: var(--panel); }
.feature-no {
  font-family: "Sora", sans-serif;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--accent);
}
.feature h3 {
  margin-top: 22px;
  font-family: "Sora", sans-serif;
  font-weight: 400;
  font-size: 1.28rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.feature p {
  margin-top: 16px;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--muted);
}

/* ---------- Stats ---------- */
.stats {
  padding: 130px 56px;
  background: radial-gradient(80% 120% at 70% 0%, rgba(139,109,255,0.08), transparent 60%), var(--bg);
  border-top: 1px solid var(--line);
}
.stats-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.stat { text-align: center; }
.stat-num {
  display: block;
  font-family: "Sora", sans-serif;
  font-weight: 300;
  font-size: clamp(3rem, 6vw, 5.4rem);
  letter-spacing: -0.03em;
  color: var(--ink);
  background: linear-gradient(180deg, #fff 0%, var(--accent) 160%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-label {
  display: block;
  margin-top: 14px;
  font-size: 0.96rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}

/* ---------- Pipeline ---------- */
.pipe-rows { margin-top: 64px; display: flex; flex-direction: column; }
.pipe-row {
  display: grid;
  grid-template-columns: 220px 1fr 120px;
  align-items: center;
  gap: 28px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.pipe-row:last-child { border-bottom: 1px solid var(--line); }
.pipe-stage { font-family: "Sora", sans-serif; font-size: 1.12rem; color: var(--ink); }
.pipe-track { height: 3px; background: rgba(243,241,248,0.08); border-radius: 3px; overflow: hidden; }
.pipe-track i {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--accent), #c9b8ff);
  box-shadow: 0 0 14px var(--accent-soft);
  border-radius: 3px;
  transition: width 1.1s cubic-bezier(.2,.7,.2,1);
}
.pipe-row.in .pipe-track i { width: var(--w); }
.pipe-tag { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); text-align: right; }
.pipe-tag.dim { color: var(--faint); }

/* ---------- About / Contact ---------- */
.about {
  background: radial-gradient(70% 90% at 50% 100%, rgba(139,109,255,0.1), transparent 60%), var(--bg);
  min-height: 100vh;
  padding: 120px 56px;
  display: flex;
  align-items: center;
}
.about .hero-cta { margin-top: 48px; }
.contact-inner {
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 72px;
}
.contact-intro { text-align: left; }
.contact-intro .eyebrow { margin-bottom: 22px; }
.contact-intro .band-lead { margin-top: 24px; max-width: 440px; }

/* ---------- Contact form ---------- */
.contact-form {
  position: relative;
  width: 100%;
  max-width: 520px;
  text-align: left;
}
.cf-field { margin-bottom: 18px; }
.cf-field label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 10px;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 300;
  color: var(--ink);
  background: rgba(243, 241, 248, 0.03);
  border: 1px solid var(--line);
  border-radius: 10px;
  outline: none;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.contact-form textarea { resize: vertical; min-height: 110px; line-height: 1.5; }
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--faint); }
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent-soft);
  background: rgba(139, 109, 255, 0.05);
}
.cf-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 4px 0 26px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.5;
  color: var(--muted);
}
.cf-check input {
  flex: none;
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(243, 241, 248, 0.03);
  cursor: pointer;
  position: relative;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.cf-check input:hover { border-color: var(--accent-soft); }
.cf-check input:checked { background: var(--accent); border-color: var(--accent); }
.cf-check input:checked::after {
  content: "";
  position: absolute;
  left: 6px; top: 2px;
  width: 5px; height: 10px;
  border: solid #0a0710;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.cf-check input:focus-visible { outline: 2px solid var(--accent-soft); outline-offset: 2px; }
.cf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.cf-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 38px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #0a0710;
  background: var(--accent);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.25s ease, opacity 0.2s ease;
}
.cf-submit:hover { box-shadow: 0 8px 28px rgba(139, 109, 255, 0.35); transform: translateY(-1px); }
.cf-submit:disabled { opacity: 0.55; cursor: default; transform: none; box-shadow: none; }
.cf-consent { margin-top: 16px; font-size: 0.8rem; color: var(--faint); }
.cf-consent a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.cf-consent a:hover { color: var(--ink); }
.cf-status { margin-top: 16px; font-size: 0.92rem; min-height: 1.2em; }
.cf-status.ok { color: var(--accent); }
.cf-status.err { color: #ff8089; }
/* success overlay over the whole form */
.cf-success {
  position: absolute;
  inset: -16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 16px;
  padding: 24px;
  background: rgba(5, 3, 8, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid var(--accent-soft);
  border-radius: 16px;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.98);
  transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s;
  z-index: 6;
}
.cf-success.show { opacity: 1; visibility: visible; transform: scale(1); }
.cf-success-mark { color: var(--accent); line-height: 0; }
.cf-success-title {
  font-family: "Sora", sans-serif;
  font-weight: 400;
  font-size: 1.7rem;
  color: var(--ink);
}
.cf-success-text { max-width: 320px; font-size: 1rem; font-weight: 300; color: var(--muted); }
.cf-alt {
  margin-top: 34px;
  font-size: 0.98rem;
  font-weight: 300;
  color: var(--muted);
}
.cf-email {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--accent-soft);
  cursor: pointer;
  transition: color 0.2s ease;
}
.cf-email:hover { color: var(--ink); }
.cf-copied {
  display: inline-block;
  margin-left: 8px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0;
  transform: translateY(2px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}
.cf-copied.show { opacity: 1; transform: translateY(0); }
@media (max-width: 900px) {
  .about { min-height: auto; padding: 90px 28px; }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .contact-intro .band-lead { max-width: 100%; }
  .contact-form { max-width: 100%; }
}

/* ---------- Footer ---------- */
.footer {
  padding: 70px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.footer .brand { font-size: 15px; }
.footer-tag { color: var(--muted); font-size: 0.95rem; }
.footer-meta { display: inline-flex; align-items: center; gap: 22px; }
.footer-link { color: var(--muted); font-size: 0.85rem; letter-spacing: 0.04em; text-decoration: none; transition: color 0.2s ease; }
.footer-link:hover { color: var(--ink); }
.footer-copy { color: var(--faint); font-size: 0.85rem; letter-spacing: 0.04em; }

/* ---------- Progress bar ---------- */
.progress {
  position: absolute;
  left: 56px; right: 56px; bottom: 30px;
  height: 1px;
  background: rgba(243,241,248,0.12);
  z-index: 12;
}
.progress-fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--accent), #d6c9ff);
  box-shadow: 0 0 10px var(--accent-soft);
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(.2,.7,.2,1);
}
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav, .nav.scrolled { padding: 18px 22px; }
  .nav-links { display: flex; gap: 0; }
  .nav-links a:not(.nav-contact) { display: none; }
  .nav-burger { display: none; }
  .nav-contact {
    border: 1px solid var(--accent-soft);
    border-radius: 100px;
    padding: 7px 18px;
    color: var(--accent);
  }
  .hero-copy { left: 22px; right: 22px; max-width: none; }
  .band, .stats { padding: 100px 22px; }
  .feature-grid { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: 1fr; gap: 56px; }
  .pipe-row { grid-template-columns: 120px 1fr 70px; gap: 14px; }
  .pipe-stage { font-size: 0.92rem; }
  .pipe-tag { font-size: 10px; }
  .progress { left: 22px; right: 22px; }
  .scroll-hint { left: 22px; }
}



/* ===================== LIVING-MOTION VARIANT (depth-of-field) ===================== */
.hero-fixed { position: relative; height: 100vh; width: 100%; overflow: hidden; background: #000; }
.nebula {
  position: absolute; inset: 0;
  background-image: url("nebula-bg.webp");
  background-size: cover; background-position: center right;
  opacity: 0.8; z-index: 1;
}
/* Pre-rendered hero loop — sits above the static nebula, below the network lines + fades + copy.
   The video already has the nebula baked in; the .nebula div remains as a pre-load fallback. */
/* Static peptide poster shown until the video actually starts playing —
   keeps the hero alive without ever exposing the iOS native play button. */
.hero-poster {
  position: absolute; inset: 0;
  background: url("deep_ocean-poster.jpg?v=1") center / cover no-repeat;
  z-index: 1; pointer-events: none;
}
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  z-index: 1; pointer-events: none;
  opacity: 0; transition: opacity 0.8s ease;
}
.hero-video.is-playing { opacity: 1; }
/* Hide the native iOS/Safari "tap to play" button so the decorative hero never shows controls */
.hero-video::-webkit-media-controls-start-playback-button { display: none !important; -webkit-appearance: none; }
.hero-video::-webkit-media-controls-play-button { display: none !important; }
.hero-video::-webkit-media-controls { display: none !important; }
.hero-video::-webkit-media-controls-panel { display: none !important; }
.net-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }
.protein-field { position: absolute; inset: 0; z-index: 4; pointer-events: none; }

/* sprites graded toward the loved metallic-violet, depth via opacity + blur (from final-1-locked) */
.protein {
  position: absolute;
  width: 26vw; max-width: 520px; height: auto;
  transform: translate(-50%, -50%);
  will-change: transform;
  filter: saturate(1.2) hue-rotate(-6deg) brightness(0.9);
  user-select: none;
}
.protein.dof-near { opacity: 0.97; }
.protein.dof-mid  { opacity: 0.78; filter: saturate(1.2) hue-rotate(-6deg) brightness(0.86) blur(1px); }
.protein.dof-far  { opacity: 0.52; filter: saturate(1.15) hue-rotate(-6deg) brightness(0.8) blur(2.4px); }
.protein.dof-deep { opacity: 0.30; filter: saturate(1.1) hue-rotate(-6deg) brightness(0.74) blur(4px); }
.field-wrap { position: absolute; inset: 0; z-index: 4; overflow: hidden; pointer-events: none; }
.protein-field { position: absolute; inset: 0; will-change: transform; }
.tech-living .field-wrap { z-index: 4; }

.hero-fixed .hero-copy { z-index: 10; }
.hero-fixed .hero-fade-left { z-index: 6; }

.tech-living { position: relative; height: 100vh; width: 100%; overflow: hidden; background: #000; border-top: 1px solid var(--line); }
.tech-living .tech-copy {
  position: absolute; z-index: 10; top: 50%; right: 56px;
  transform: translateY(-50%); max-width: 520px; text-align: right;
}
.tech-living .tech-copy .band-lead { margin-left: auto; }

/* ===== Technology = real CSS-3D volumetric peptide cloud (depth3d engine) ===== */
.nebula.nebula-flip { transform: scaleX(-1); }
.scene { perspective: 1100px; perspective-origin: 60% 50%; }
.tech-living.scene { perspective-origin: 32% 50%; }
.tech-living .nebula { z-index: 1; }
.world {
  position: absolute; inset: 0; z-index: 4;
  transform-style: preserve-3d;
  pointer-events: none;
  will-change: transform;
}
.pep {
  position: absolute; height: auto;
  transform: translate(-50%, -50%);
  will-change: transform;
  filter: saturate(1.2) hue-rotate(-6deg) brightness(0.9);
  backface-visibility: hidden;
}
.hero-fade-right {
  position: absolute; inset: 0; pointer-events: none; z-index: 6;
  background: linear-gradient(270deg, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.5) 32%, transparent 60%);
}
@media (max-width: 900px) {
  .protein { width: 30vw; }
  .tech-living .tech-copy { right: 22px; left: 22px; text-align: left; }
}


/* ===================== SECTION 2 — THE PEPTIDE OCEAN ===================== */
.ocean {
  position: relative;
  padding: 120px 0 140px;
  background: var(--bg);
  overflow: hidden;
}
.ocean-head {
  position: relative;
  z-index: 3;
  max-width: 1120px;
  margin: 0 auto -210px;        /* overlap the top of the image (title lands near the ship) */
  padding: 0 56px;
}
.ocean-kicker {
  font-family: "Sora", sans-serif;
  font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
}
.ocean-title { text-shadow: 0 2px 34px rgba(0,0,0,0.75); }
.ocean-kicker { text-shadow: 0 2px 20px rgba(0,0,0,0.7); }
/* full-bleed hero image (edge to edge, no frame) */
.ocean-hero-img { display: block; width: 100%; height: auto; position: relative; z-index: 1; }
.ocean-mobile { display: none; }

/* ---------- Market shift section ---------- */
.shift {
  position: relative;
  padding: 130px 56px;
  background: radial-gradient(85% 65% at 50% 52%, rgba(139,109,255,0.09), transparent 68%), #000;
}
.shift-inner { max-width: 1000px; margin: 0 auto; text-align: center; }
.shift-kicker {
  display: inline-block;
  font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 26px;
}
.shift-title {
  font-family: "Sora", sans-serif; font-weight: 300;
  font-size: clamp(2.1rem, 4.4vw, 3.5rem);
  line-height: 1.1; letter-spacing: -0.02em; color: var(--ink);
}
.shift-title .hl { color: var(--accent); font-weight: 400; }
.shift-after {
  margin-top: 40px;
  font-family: "Sora", sans-serif; font-weight: 400;
  font-size: clamp(2.1rem, 4.4vw, 3.5rem);   /* match .shift-title exactly */
  line-height: 1.1; letter-spacing: -0.02em;
  color: var(--ink);
}
.shift-stats {
  list-style: none;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  margin-top: 52px;
}
.shift-stats li {
  padding: 34px 22px;
  border: 1px solid var(--accent-soft); border-radius: 18px;
  background: rgba(139, 109, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.shift-stats strong {
  display: block;
  font-family: "Sora", sans-serif; font-weight: 500;
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  line-height: 1; letter-spacing: -0.03em;
  color: var(--accent); margin-bottom: 12px;
}
.shift-stats span { font-size: 0.96rem; font-weight: 300; color: rgba(243,241,248,0.78); }
@media (max-width: 900px) {
  .shift { padding: 80px 22px; }
  .shift-stats { grid-template-columns: 1fr; gap: 14px; }
}

/* comparison block — pulled up so the COMPARISON label sits over the ocean */
.cmp { position: relative; z-index: 3; max-width: 1120px; margin: -250px auto 0; padding: 0 56px; }
.cmp-head {
  display: flex; align-items: center; gap: 26px;
  margin: 0 0 40px;
}
.cmp-head span {
  display: inline-flex; align-items: center;
  font-family: "Inter", sans-serif;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink); white-space: nowrap;
  padding: 7px 15px;
  border: 1px solid var(--accent-soft); border-radius: 100px;
  background: rgba(139, 109, 255, 0.08);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.cmp-head::before, .cmp-head::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.cmp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cmp-card {
  border: 1px solid rgba(243,241,248,0.12);
  border-radius: 18px;
  padding: 40px 38px;
  display: flex; flex-direction: column;
  background: rgba(243,241,248,0.03);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.cmp-new {
  border-color: var(--accent-soft);
  background: radial-gradient(130% 100% at 50% 0%, rgba(139,109,255,0.10), transparent 64%), rgba(139,109,255,0.06);
}
.cmp-eyebrow {
  display: block;
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--faint); margin-bottom: 14px;
}
.cmp-new .cmp-eyebrow { color: var(--accent); }
.cmp-title {
  font-family: "Sora", sans-serif; font-weight: 400;
  font-size: clamp(1.5rem, 2.3vw, 2.05rem);
  line-height: 1.12; letter-spacing: -0.01em; color: var(--ink);
}
.cmp-new .cmp-title { color: var(--accent); }
.cmp-rows { list-style: none; margin-top: 26px; }
.cmp-rows li {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  font-size: 1.04rem; font-weight: 300; color: rgba(243,241,248,0.86);
}
.cmp-ic {
  flex: none; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(243,241,248,0.16);
  background: rgba(243,241,248,0.04);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  color: var(--faint);
}
.cmp-ic svg { width: 21px; height: 21px; }
.cmp-new .cmp-ic { border-color: var(--accent-soft); color: var(--accent); }
.cmp-sub {
  margin-top: 14px;
  font-family: "Sora", sans-serif; font-weight: 300;
  font-size: clamp(1.02rem, 1.35vw, 1.18rem);
  line-height: 1.4; letter-spacing: -0.005em;
  color: rgba(243,241,248,0.80);
  min-height: 2.8em;
}
.cmp-new .cmp-sub { color: var(--ink); }
.cmp-punch {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch;
  gap: 0; margin-top: 28px;
  border: 1px solid var(--accent-soft); border-radius: 18px;
  overflow: hidden;
  background: rgba(243,241,248,0.03);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.cmp-punch-side {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 38px 28px;
}
.cmp-punch-new {
  background: radial-gradient(130% 120% at 50% 0%, rgba(139,109,255,0.14), transparent 65%), rgba(139,109,255,0.04);
}
.cmp-punch-num {
  font-family: "Sora", sans-serif; font-weight: 500;
  font-size: clamp(2.6rem, 5.2vw, 4rem);
  line-height: 0.95; letter-spacing: -0.03em;
}
.cmp-punch-old .cmp-punch-num { color: var(--muted); }
.cmp-punch-new .cmp-punch-num { color: var(--accent); }
.cmp-punch-unit {
  margin-top: 10px;
  font-size: 0.92rem; font-weight: 300; letter-spacing: 0.02em;
  text-transform: uppercase; color: var(--faint);
}
.cmp-punch-time {
  margin-top: 14px;
  font-family: "Sora", sans-serif; font-weight: 500;
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  line-height: 1; letter-spacing: -0.02em;
}
.cmp-punch-old .cmp-punch-time { color: rgba(243,241,248,0.78); }
.cmp-punch-new .cmp-punch-time { color: var(--accent); }
.cmp-punch-time::before {
  content: "in "; font-family: "Inter", sans-serif; font-weight: 300;
  font-size: 0.5em; letter-spacing: 0.04em; color: var(--faint);
  text-transform: lowercase;
}
.cmp-punch-vs {
  display: flex; align-items: center; justify-content: center;
  padding: 0 6px;
  font-family: "Sora", sans-serif; font-size: 0.82rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--faint);
  border-left: 1px solid var(--line); border-right: 1px solid var(--line);
}
.cmp-punch-cap {
  margin-top: 16px; text-align: center;
  font-size: 0.92rem; font-weight: 300; line-height: 1.45; color: rgba(243,241,248,0.74);
}
.ocean-title {
  font-family: "Sora", sans-serif;
  font-weight: 300;
  font-size: clamp(2.2rem, 5.4vw, 4.6rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.ocean-title em { font-style: normal; font-weight: 300; color: var(--muted); }
.ocean-title strong {
  font-weight: 400;
  color: var(--ink);
  text-shadow: 0 0 38px rgba(139,109,255,0.35);
}

/* cinematic visual slot — Yarik drops the generated ocean/rod-vs-trawler image here */
.ocean-figure { margin: 60px 0 52px; }
.ocean-figure img { width: 100%; height: auto; border-radius: 16px; display: block; border: 1px solid var(--line); }
.ocean-figure-art {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 9;
  border-radius: 16px;
  border: 1px solid var(--line);
  overflow: hidden;
  background:
    radial-gradient(55% 120% at 11% 50%, rgba(139,109,255,0.10), transparent 42%),
    radial-gradient(95% 150% at 84% 55%, rgba(139,109,255,0.18), transparent 56%),
    linear-gradient(180deg, #05030c, #01010a 70%);
}
/* left — one tiny lit spot: a single rod probing one point of the ocean */
.art-rod {
  position: absolute; left: 15%; top: 50%; transform: translate(-50%,-50%);
  width: 7px; height: 7px; border-radius: 50%; z-index: 2;
  background: #fff; box-shadow: 0 0 16px 5px var(--accent);
}
.art-rod::before {
  content: ""; position: absolute; left: 50%; top: 50%;
  transform: translate(-50%,-50%);
  width: 92px; height: 92px; border-radius: 50%;
  border: 1px dashed rgba(139,109,255,0.45);
}
.art-rod::after {
  content: ""; position: absolute; left: 50%; top: -2px;
  width: 1px; height: 42%;
  transform: translate(-50%,-100%);
  background: linear-gradient(rgba(243,241,248,0.55), transparent);
}

/* right — a glowing net swept across the whole ocean */
.art-net {
  position: absolute; right: 0; top: 0; bottom: 0; width: 74%;
  background: radial-gradient(60% 85% at 58% 50%, rgba(139,109,255,0.20), transparent 72%);
  -webkit-mask: radial-gradient(76% 96% at 58% 50%, #000 52%, transparent 82%);
  mask: radial-gradient(76% 96% at 58% 50%, #000 52%, transparent 82%);
}
.art-net::before {
  content: ""; position: absolute; inset: 0;
  background:
    repeating-linear-gradient(58deg, rgba(139,109,255,0.36) 0 1px, transparent 1px 26px),
    repeating-linear-gradient(-58deg, rgba(139,109,255,0.36) 0 1px, transparent 1px 26px);
  -webkit-mask: radial-gradient(70% 92% at 58% 50%, #000 48%, transparent 80%);
  mask: radial-gradient(70% 92% at 58% 50%, #000 48%, transparent 80%);
}
.art-net::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 44% 36%, rgba(255,255,255,0.85) 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 61% 60%, rgba(255,255,255,0.7) 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 77% 44%, rgba(255,255,255,0.6) 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 54% 73%, rgba(255,255,255,0.5) 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 70% 28%, rgba(255,255,255,0.55) 0 1.5px, transparent 2.5px);
}
.ocean-figure figcaption { display: flex; justify-content: space-between; gap: 24px; margin-top: 18px; }
.ocean-figure .cap { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }
.ocean-figure .cap-old { color: var(--faint); }
.ocean-figure .cap-new { color: var(--accent); }

/* "<1% explored" bar — visual proof of the uncharted ocean */
.ocean-bar {
  position: relative;
  margin-top: 60px;
  margin-bottom: 30px;
  height: 10px;
  border-radius: 100px;
  background: linear-gradient(90deg, rgba(139,109,255,0.06), rgba(243,241,248,0.04));
  border: 1px solid var(--line);
}
.ocean-bar-explored {
  position: absolute; left: 0; top: -1px; bottom: -1px;
  width: 1%;
  min-width: 7px;
  border-radius: 100px;
  background: linear-gradient(90deg, #fff, var(--accent));
  box-shadow: 0 0 18px var(--accent);
}
.ocean-bar-tick {
  position: absolute; top: 20px;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
}
.ocean-bar-tick-explored { left: 0; color: var(--accent); }
.ocean-bar-tick-rest { right: 0; color: var(--faint); }

/* old vs new contrast — asymmetric on purpose: old is dimmed, new is lit */
.vs {
  max-width: 1120px;
  margin: 80px auto 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
}
.vs-col { padding: 44px 42px; }
.vs-old {
  border: 1px solid var(--line);
  border-radius: 14px 0 0 14px;
  background: rgba(243,241,248,0.015);
  filter: saturate(0.35);
  opacity: 0.7;
}
.vs-new {
  border: 1px solid var(--accent-soft);
  border-radius: 0 14px 14px 0;
  background: radial-gradient(130% 150% at 80% 0%, rgba(139,109,255,0.13), transparent 60%), var(--panel);
  box-shadow: 0 0 60px rgba(139,109,255,0.13);
}
.vs-mark {
  align-self: center;
  font-family: "Sora", sans-serif;
  font-size: 13px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--faint);
  padding: 0 24px;
}
.vs-tag {
  font-family: "Sora", sans-serif;
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
}
.vs-old .vs-tag { color: var(--muted); }
.vs-new .vs-tag { color: var(--accent); }
.vs-col h3 {
  margin-top: 16px;
  font-family: "Sora", sans-serif;
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.vs-col ul { list-style: none; margin-top: 26px; display: flex; flex-direction: column; gap: 15px; }
.vs-col li {
  position: relative;
  padding-left: 22px;
  font-size: 1.02rem; font-weight: 300; line-height: 1.5; color: var(--muted);
}
.vs-col li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 6px; height: 6px; border-radius: 50%;
}
.vs-old li::before { background: var(--faint); }
.vs-new li::before { background: var(--accent); box-shadow: 0 0 8px var(--accent); }

.ocean-payoff {
  margin-top: 72px;
  max-width: 900px;
  font-family: "Sora", sans-serif;
  font-weight: 300;
  font-size: clamp(1.3rem, 2.4vw, 2rem);
  line-height: 1.32;
  letter-spacing: -0.01em;
  color: var(--ink);
}

/* ===================== SECTION 4 — FOCUS (scalable by design) ===================== */
.focus {
  position: relative;
  padding: 70px 56px;
  border-top: 1px solid var(--line);
  background: radial-gradient(70% 80% at 70% 50%, rgba(139,109,255,0.06), transparent 60%), #000;
  overflow: hidden;
}
.focus-stage { position: relative; max-width: 1500px; margin: 0 auto; }
.focus-art {
  display: block; width: 100%; height: auto;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 11%, #000 89%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 11%, #000 89%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}
.focus-title {
  position: absolute;
  left: 4%; bottom: 53%;
  max-width: 35%;
  margin: 0;
  z-index: 2;
  font-family: "Sora", sans-serif;
  font-weight: 300;
  font-size: clamp(2.2rem, 4.6vw, 4.1rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.focus-title .hl { color: var(--accent); }
.focus-sub {
  position: absolute;
  left: 4%; top: 55%;
  max-width: 33%;
  margin: 0;
  z-index: 2;
  font-size: clamp(1rem, 1.5vw, 1.32rem);
  font-weight: 300;
  line-height: 1.5;
  color: var(--muted);
}
.focus-sub .hl { color: var(--accent); }

@media (max-width: 900px) {
  .focus { padding: 70px 18px; }
  .focus-stage { display: flex; flex-direction: column; align-items: center; }
  .focus-title {
    position: static;
    max-width: 100%;
    order: 1;
    text-align: center;
    font-size: clamp(1.5rem, 6.6vw, 2.1rem);
    overflow-wrap: break-word;
  }
  .focus-art {
    order: 2;
    width: 100%;
    aspect-ratio: 23 / 20;          /* ~square: keeps body + right-side labels */
    object-fit: cover;
    object-position: 100% center;   /* drop the empty left third, keep body + labels centered */
    margin: 18px 0 4px;
  }
  .focus-sub {
    position: static;
    max-width: 100%;
    order: 3;
    margin-top: 18px;
    text-align: center;
  }
}

@media (max-width: 900px) {
  .ocean { padding: 90px 0 100px; }
  .ocean-head { padding: 0 22px; margin: 0 auto 28px; }   /* no overlap on mobile */
  .ocean-title { font-size: clamp(2rem, 8vw, 2.8rem); }

  /* mobile: hide the single full-bleed image, show the split version */
  .ocean-desktop { display: none !important; }
  .ocean-mobile { display: block; padding: 0; }
  .ocean-mobile .ocean-kicker { padding: 0 22px; margin-bottom: 18px; }
  .ocean-mobile .ocean-title { padding: 0 22px; margin: 0; position: relative; z-index: 2; }
  .ocean-crop {
    display: block; width: 100%; height: auto; border-radius: 0;   /* full-bleed, edge to edge */
    position: relative; z-index: 1;
    margin: -42px 0 44px;              /* heading clearly overlaps onto the image */
  }
  .ocean-crop-1 { margin-bottom: 2px; }   /* almost no gap before "We map the entire ocean." */
  .ocean-crop-2 { margin-bottom: 8px; }

  .cmp { padding: 0 22px; margin-top: -56px; }
  .cmp-head { margin: 26px 0 24px; gap: 16px; }
  .cmp-head span { font-size: 11px; letter-spacing: 0.24em; }
  .cmp-grid { grid-template-columns: 1fr; gap: 16px; }
  .cmp-card { padding: 30px 26px; }
  .cmp-sub { min-height: 0; }
  .cmp-punch { grid-template-columns: 1fr; margin-top: 18px; }
  .cmp-punch-side { padding: 28px 22px; }
  .cmp-punch-vs { border: none; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 10px 0; }
}

/* Mobile hero: keep filling the screen (cover) but shift the crop onto the peptide
   so it doesn't fall off the right edge. Placed last to override the default. */
@media (max-width: 900px) {
  .hero-video { object-fit: cover; object-position: 50% 50%; }
  .hero-poster { background-image: url("deep_ocean-poster-m.webp"); background-position: center; }
}


/* ---------- Comparison metric (merged into each card) ---------- */
.cmp-metric {
  margin-top: auto;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.cmp-metric-num {
  display: block;
  font-family: "Sora", sans-serif; font-weight: 500;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  line-height: 1; letter-spacing: -0.03em;
}
.cmp-old .cmp-metric-num { color: var(--muted); }
.cmp-new .cmp-metric-num { color: var(--accent); }
.cmp-metric-unit {
  display: block; margin-top: 8px;
  font-size: 0.9rem; font-weight: 300; letter-spacing: 0.02em;
  text-transform: uppercase; color: var(--faint);
}
.cmp-metric-time {
  display: block; margin-top: 14px;
  font-family: "Sora", sans-serif; font-weight: 500;
  font-size: clamp(1.4rem, 2.4vw, 1.95rem);
  line-height: 1; letter-spacing: -0.02em;
}
.cmp-old .cmp-metric-time { color: rgba(243,241,248,0.78); }
.cmp-new .cmp-metric-time { color: var(--accent); }
.cmp-metric-time::before {
  content: "in "; font-family: "Inter", sans-serif; font-weight: 300;
  font-size: 0.55em; letter-spacing: 0.04em; color: var(--faint); text-transform: lowercase;
}

/* ---------- Footer: left-align on mobile, match content padding ---------- */
@media (max-width: 900px) {
  .footer {
    padding: 50px 22px;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 14px;
  }
  .footer-meta { gap: 16px; }
}


/* Mobile: email on its own line so the "Copied" marker sits to its right */
@media (max-width: 900px) {
  .cf-email-line { display: block; margin-top: 6px; }
}


/* footer location + slimmer mobile stat cards + tidy mobile footer */
.footer-loc { color: var(--faint); font-size: 0.85rem; letter-spacing: 0.04em; white-space: nowrap; }
@media (max-width: 900px) {
  .shift-stats li { padding: 22px 18px; }
  .footer-meta { flex-direction: column; align-items: flex-start; gap: 8px; }
  .footer-copy, .footer-loc, .footer-link { white-space: nowrap; }
}
