/* ──────────────────────────────────────────────
   CELERITAS BIOSCIENCE — premium landing
   ────────────────────────────────────────────── */

:root {
  --white: #ffffff;
  --carbon: #0A0A0A;
  --ink: #111111;
  --ink-2: #1A1A1A;
  --soft: #F5F5F5;
  --paper: #FAFAF9;
  --silver: #D8D8D8;
  --line: #EAEAEA;
  --line-2: #F0F0EE;
  --muted: #6B6B6B;
  --muted-2: #8A8A88;
  --sage: #A8C2A0;
  --sage-mist: #839C84;
  --sage-deep: #7E9F77;
  --sage-tint: #EEF3EB;

  --max: 1440px;
  --gutter: clamp(24px, 5vw, 72px);
  --section-y: clamp(96px, 12vw, 200px);

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;

  --nav-h: 64px;

  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html,
body {
  margin: 0;
  padding: 0
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-text-size-adjust: 100%
}

body {
  background: var(--white);
  color: var(--ink);
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  font-feature-settings: "ss01", "cv11", "cv02";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 18px;
  line-height: 1.55;
  letter-spacing: -0.005em;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block
}

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

button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none
}

::selection {
  background: var(--carbon);
  color: #fff
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
}

/* ── Type system ── */
.display,
.h-display {
  font-family: 'Inter Tight', 'Inter', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 500;
  letter-spacing: -0.038em;
  line-height: 0.95;
  color: var(--carbon);
  margin: 0;
}

.display {
  font-size: clamp(38px, 10.5vw, 144px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.92;
}

.display em {
  font-style: italic;
  font-weight: 400;
  color: var(--sage-deep);
  letter-spacing: -0.05em;
}

/* Hero phrase rotator */
.rotator {
  display: block;
  position: relative;
  height: 1em;
  width: 100%;
  overflow: visible;
  margin-top: 0.08em;
  clip-path: inset(0 -100vw -0.3em -100vw);
}

.rotator__word {
  position: absolute;
  left: 0;
  top: 0;
  white-space: nowrap;
  transform: translateY(110%);
  opacity: 0;
  transition:
    transform .85s cubic-bezier(.34, 1.4, .64, 1),
    opacity .55s ease;
  will-change: transform, opacity;
}

.rotator__word.is-active {
  transform: translateY(0);
  opacity: 1;
}

.rotator__word.is-up {
  transform: translateY(-110%);
  opacity: 0;
}

.rotator__word.no-transition {
  transition: none;
}

@media (prefers-reduced-motion: reduce) {
  .rotator__word {
    transition: opacity .35s ease;
    transform: translateY(0);
  }
}

@media (max-width: 600px) {
  .rotator {
    height: 2.1em; /* room for long phrases to wrap to 2 lines */
  }

  /* Switch from left:50%+translateX to left:0/right:0 so text wraps at container width */
  .rotator__word {
    white-space: normal;
    left: 0;
    right: 0;
    width: auto;
    text-align: center;
    transform: translateY(110%);
  }

  .rotator__word.is-active { transform: translateY(0); }
  .rotator__word.is-up    { transform: translateY(-110%); }
}

.h-display {
  font-size: clamp(46px, 6.8vw, 100px);
  letter-spacing: -0.035em;
  line-height: 0.98;
}

.h-display .muted {
  color: var(--muted-2);
  font-weight: 400
}

.lede {
  font-size: clamp(20px, 1.85vw, 28px);
  line-height: 1.5;
  color: #3A3A3A;
  letter-spacing: -0.01em;
  max-width: 60ch;
  margin: 0;
  font-weight: 400;
}

.legal {
  position: relative;
  font-size: 13px;
  letter-spacing: 0.012em;
  color: var(--muted);
  margin-top: 24px;
  line-height: 1.7;
  max-width: 64ch;
  padding-left: 18px;
  text-indent: 0;
}

.legal::before {
  content: "*";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--sage-deep);
  font-weight: 600;
  font-size: 14.5px;
  line-height: 1.55;
}

.legal--block {
  margin-top: 48px;
  padding: 22px 24px 22px 40px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--paper);
  max-width: none;
}

.legal--block::before {
  left: 24px;
  top: 22px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-weight: 500;
}

.eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sage-deep);
  box-shadow: 0 0 0 4px var(--sage-tint);
}

.section-tag {
  display: inline-block;
  font-size: 12.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 22px;
  font-weight: 500;
}

.section-tag::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 1px;
  background: var(--ink);
  vertical-align: middle;
  margin-right: 10px;
  transform: translateY(-2px);
}

.section-sub {
  color: var(--muted);
  font-size: clamp(18px, 1.55vw, 24px);
  margin: 18px 0 0;
  max-width: 60ch;
  line-height: 1.55;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 24px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
  white-space: nowrap;
}

.btn svg {
  width: 14px;
  height: 14px;
  transition: transform .25s var(--ease)
}

.btn:hover svg {
  transform: translateX(3px)
}

.btn--primary {
  background: var(--carbon);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06) inset, 0 8px 24px -12px rgba(0, 0, 0, .4);
}

.btn--primary:hover {
  background: #000;
  transform: translateY(-1px)
}

.btn--ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}

.btn--ghost:hover {
  border-color: var(--ink);
  transform: translateY(-1px)
}

.btn--pill {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
  padding: 11px 20px;
  font-size: 14.5px;
}

.btn--pill:hover {
  border-color: var(--ink)
}

/* ──────────────────────────────────────────────
   NAV
   ────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  background: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}

.nav.is-stuck {
  background: rgba(255, 255, 255, 0.86);
  border-bottom-color: var(--line);
}

.nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav__brand {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-family: 'Inter Tight', Inter, sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  font-size: 15px;
  color: var(--carbon);
}

.brand-mark--lg {
  width: 36px;
  height: 36px
}

.brand-word {
  font-weight: 700;
  letter-spacing: 0.06em
}

.brand-sub {
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.06em;
  font-size: 12px;
}

.nav__links {
  margin-left: auto;
  display: flex;
  gap: 32px;
}

.nav__links a {
  font-size: 15.5px;
  color: #3A3A3A;
  letter-spacing: -0.005em;
  position: relative;
}

.nav__links a:hover {
  color: var(--carbon)
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: var(--carbon);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}

.nav__links a:hover::after {
  transform: scaleX(1)
}

.nav__toggle {
  display: none
}

@media (max-width: 880px) {
  .nav__links {
    display: none
  }

  .nav .btn--pill {
    display: none
  }

  .nav__toggle {
    display: inline-flex;
    flex-direction: column;
    gap: 5px;
    margin-left: auto;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
  }

  .nav__toggle span {
    display: block;
    width: 18px;
    height: 1.4px;
    background: var(--ink)
  }
}

/* ──────────────────────────────────────────────
   HERO
   ────────────────────────────────────────────── */
.hero {
  position: relative;
  margin: clamp(2px, 0.3vw, 6px) clamp(8px, 1vw, 20px) clamp(8px, 1vw, 20px);
  padding: clamp(40px, 5vw, 80px) 0 clamp(20px, 2.4vw, 36px);
  /* Card fits exactly in the viewport beneath the sticky nav, accounting
     for the card's own top and bottom margins. */
  height: calc(100vh - 75px - clamp(2px, 0.3vw, 6px) - clamp(8px, 1vw, 20px));
  background-color: #F1EFE8;
  background-image: url('assets/hero-background.PNG');
  /* Image fully covers the card. Anchored to the left so the original
     image's empty paper area (bottom-left in the source) maps to the
     bottom-left of the card where the text sits. */
  background-size: cover;
  background-position: left center;
  background-repeat: no-repeat;
  border-radius: var(--r-xl);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: clip;
}

/* Slightly smaller headline scale inside the constrained hero card so the
   full content (headline + lede + CTAs) fits without clipping. */
.hero .display {
  font-size: clamp(38px, 8.2vw, 112px);
}

/* Move the hero's legal disclaimer out of the main content column to the
   bottom-right of the card, freeing vertical space in the bottom-left
   for the headline + lede + CTAs to sit lower. */
.hero .legal {
  position: absolute;
  bottom: clamp(20px, 2.4vw, 36px);
  right: clamp(24px, 5vw, 72px);
  max-width: 320px;
  margin: 0;
  z-index: 2;
}

.hero .legal--block {
  padding: 14px 18px 14px 32px;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.hero .legal--block::before {
  left: 16px;
  top: 14px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 130%;
  background:
    radial-gradient(60% 55% at 50% 38%, rgba(131, 156, 132, .14) 0%, rgba(131, 156, 132, .05) 50%, transparent 85%),
    radial-gradient(50% 50% at 6% 0%, rgba(0, 0, 0, .02) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.hero__grid {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  position: relative;
  z-index: 1;
  /* Override .container auto-margins so the grid stretches to the full hero
     width and content can left-align to the viewport gutter. */
  margin: 0;
  max-width: none;
  width: 100%;
}

.hero__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
  max-width: 720px;
}

.hero__ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 12px;
  justify-content: flex-start;
}

/* sphere visuals hidden — hero is now centred text only */
.hero__visual {
  display: none
}

.sphere-stage,
.sphere-float,
.sphere-img,
.sphere-shadow,
.sphere-meta {
  display: none
}

@media (max-width: 980px) {
  .hero {
    background-image: none;
    min-height: auto;
    height: auto;
    display: block;
    padding-top: 48px;
  }

  .hero__grid {
    align-items: center;
    text-align: center;
  }

  .hero__copy {
    align-items: center;
    max-width: 100%;
  }

  .hero__ctas {
    justify-content: center;
  }

  /* On mobile, revert legal disclaimer to normal in-flow position
     below the CTAs instead of pinned to bottom-right. Keep `relative` so the
     `::before` asterisk stays anchored to the .legal element. */
  .hero .legal {
    position: relative;
    bottom: auto;
    right: auto;
    max-width: 100%;
    margin-top: 24px;
    text-align: left;
  }
}

/* marquee — hidden per current hero direction */
.hero__marquee {
  display: none;
  margin-top: clamp(56px, 7vw, 96px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: #fff;
  position: relative;
}

.hero__marquee::before,
.hero__marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}

.hero__marquee::before {
  left: 0;
  background: linear-gradient(90deg, #fff, transparent)
}

.hero__marquee::after {
  right: 0;
  background: linear-gradient(270deg, #fff, transparent)
}

.marquee-track {
  display: flex;
  white-space: nowrap;
  padding: 22px 0;
}

.marquee-run {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 44px;
  padding-right: 44px;
  /* closes the gap between cycles */
  font-size: 13.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-2);
  font-weight: 500;
  animation: marquee 38s linear infinite;
}

.marquee-run span {
  display: inline-block
}

.marquee-run i {
  font-style: normal;
  color: var(--silver);
  font-weight: 400
}

@keyframes marquee {
  from {
    transform: translateX(0)
  }

  to {
    transform: translateX(-100%)
  }
}

/* ──────────────────────────────────────────────
   STICKY TABS
   ────────────────────────────────────────────── */
.tabs {
  --head-h: clamp(76px, 6.6vw, 96px);
  --tab-gap: clamp(8px, 1vw, 14px);
  --tab-margin: clamp(12px, 1.5vw, 20px);
  --tab-indent: clamp(24px, 3vw, 48px);
  position: relative;
  background: var(--paper);
  padding: clamp(32px, 3.4vw, 56px) 0 0;
}

/* Eyebrow above the sticky tabs — symmetric spacing (matches top padding). */
.tabs .section-head {
  margin-bottom: clamp(32px, 3.4vw, 56px);
}

.tabs__cards {
  position: relative;
}

.tab__head {
  --tab-bg: #F2F4ED;
  position: sticky;
  z-index: 4;
  background: var(--tab-bg);
  margin: 0 var(--tab-margin);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  height: var(--head-h);
  display: flex;
  align-items: center;
  color: var(--carbon);
  overflow: clip;
}

/* Cool sage tones, slightly lighter than each card body so header pairs with
   its card visually but remains distinguishable. */
.tab__head--sage {
  --tab-bg: #F2F4ED;
  top: var(--nav-h);
}

.tab__head--mist {
  --tab-bg: #F5F6F1;
  top: calc(var(--nav-h) + var(--head-h));
  z-index: 3;
}

.tab__head--deep {
  --tab-bg: #ECEDE7;
  top: calc(var(--nav-h) + 2 * var(--head-h));
  z-index: 2;
}

/* Pinned headers flatten so the stack reads as one clean block
   (no triangular gap at corners where rounded-top meets flat-bottom). */
.tab__head.is-stuck {
  border-radius: 0;
}

.tab__head-inner {
  width: 100%;
  padding: 0 var(--gutter) 0 var(--tab-indent);
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.4vw, 40px);
}

.tab__icon {
  display: flex;
  flex: none;
  color: var(--carbon);
}

.tab__icon svg {
  display: block;
  width: clamp(40px, 3.6vw, 54px);
  height: clamp(40px, 3.6vw, 54px);
}

.tab__title {
  margin: 0;
  font-family: 'Inter Tight', Inter, sans-serif;
  font-size: clamp(26px, 3vw, 44px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--carbon);
}

.tab__body {
  position: relative;
  margin: 0 var(--tab-margin) var(--tab-gap);
  border-radius: 0 0 var(--r-xl) var(--r-xl);
  min-height: clamp(480px, 62vh, 640px);
  overflow: clip;
  color: var(--carbon);
  display: flex;
  flex-direction: column;
}

/* Masked subject image sits in a ::before so the gradient mask affects only
   the image, not the body text. The mask fades from transparent on the left
   into the photographic subject on the right — looks like the subject is
   placed on the card's paper with no hard edge. */
.tab__body::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--tab-img);
  background-size: auto 100%;
  background-position: right center;
  background-repeat: no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 40%, #000 65%);
  mask-image: linear-gradient(90deg, transparent 40%, #000 65%);
  pointer-events: none;
  z-index: 0;
}

/* Image covers the entire card at every viewport, subject anchored right
   so the empty paper area sits behind the text on the left. */
.tab__body--sage {
  --tab-img: url('assets/tab-1.png');
  background-color: #EDEFE8;
}
.tab__body--mist {
  --tab-img: url('assets/tab-2.png');
  background-color: #F1F2ED;
}
.tab__body--deep {
  --tab-img: url('assets/tab-3.png');
  background-color: #E9EAE4;
}

.tab__body-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: clamp(40px, 4.5vw, 72px) var(--gutter) clamp(140px, 14vw, 200px) var(--tab-indent);
  box-sizing: border-box;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.tab__row {
  display: block;
  width: 100%;
}

.tab__ghost {
  position: absolute;
  bottom: clamp(8px, 1vw, 20px);
  left: var(--tab-indent);
  font-family: 'Inter Tight', Inter, sans-serif;
  font-size: clamp(110px, 11.5vw, 190px);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.82;
  color: rgba(10, 10, 10, 0.07);
  font-variant-numeric: tabular-nums;
  user-select: none;
  pointer-events: none;
  z-index: 0;
}

.tab__lead {
  margin: 0;
  max-width: 22ch;
  font-family: 'Inter Tight', Inter, sans-serif;
  font-size: clamp(32px, 3.6vw, 56px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.032em;
  color: var(--carbon);
  text-wrap: balance;
}

.tab__sub {
  margin: clamp(20px, 2vw, 32px) 0 0;
  max-width: 42ch;
  font-size: clamp(16px, 1.35vw, 21px);
  line-height: 1.5;
  letter-spacing: -0.012em;
  color: var(--muted);
  font-weight: 400;
  text-wrap: pretty;
}

.tab__sub strong {
  color: var(--carbon);
  font-weight: 600;
}

.tabs__foot {
  padding: clamp(12px, 1.5vw, 24px) 0 clamp(40px, 5vw, 72px);
}

/* At narrow viewports the image's 2:1 aspect doesn't fit a tall card cleanly;
   drop the photograph entirely and let the matched paper-color card stand on
   its own with title, copy, and ghost number. */
@media (max-width: 1024px) {
  .tab__body::before {
    display: none;
  }
}

@media (max-width: 780px) {
  .tabs {
    --head-h: 60px;
    --nav-h: 59px; /* actual mobile nav height — closes gap between nav and first sticky header */
    padding-top: 0;
  }

  /* Rounded top, flat bottom — connects flush to card body */
  .tab__head {
    border-radius: var(--r-xl) var(--r-xl) 0 0;
    align-items: center;
  }

  .tab__head-inner {
    padding: 0 var(--gutter) 0 var(--tab-indent);
  }

  .tab__body {
    margin: 0 var(--tab-margin) var(--tab-gap);
    border-radius: 0 0 var(--r-xl) var(--r-xl);
    min-height: 64vh;
  }

  .tab__title {
    font-size: clamp(20px, 5vw, 28px);
  }

  .tab__icon svg {
    width: 36px;
    height: 36px;
  }

  .tab__body-inner {
    padding: clamp(32px, 9vw, 64px) var(--gutter) clamp(120px, 32vw, 200px) var(--tab-indent);
  }

  .tab__lead {
    font-size: clamp(26px, 6.4vw, 38px);
    line-height: 1.08;
    max-width: 18ch;
  }

  .tab__sub {
    font-size: clamp(15px, 4vw, 19px);
    line-height: 1.48;
    max-width: 28ch;
    margin-top: clamp(14px, 3.5vw, 24px);
  }

  .tab__ghost {
    font-size: clamp(96px, 28vw, 160px);
    bottom: 12px;
  }
}

/* ──────────────────────────────────────────────
   VALUE STRIP
   ────────────────────────────────────────────── */
.strip {
  padding: clamp(56px, 8vw, 112px) 0;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fff 0%, #FBFBFA 100%);
}

.strip__row {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: clamp(16px, 3vw, 40px);
}

.strip__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 0 8px;
}

.strip__item .num {
  font-family: 'Inter Tight', Inter, sans-serif;
  color: var(--muted);
  font-size: 12.5px;
  letter-spacing: 0.18em;
  font-weight: 500;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.strip__item .num::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--ink);
}

.strip__item .lbl {
  font-family: 'Inter Tight', Inter, sans-serif;
  font-size: clamp(34px, 4vw, 60px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--carbon);
}

.strip__div {
  width: 1px;
  background: var(--line);
}

@media (max-width:780px) {
  .strip__row {
    grid-template-columns: 1fr;
    gap: 28px
  }

  .strip__div {
    width: 100%;
    height: 1px;
    justify-self: stretch
  }
}

/* ──────────────────────────────────────────────
   WHY NOW — stats-led
   ────────────────────────────────────────────── */
.why {
  padding: clamp(32px, 3.4vw, 56px) 0 clamp(48px, 5vw, 88px);
  border-bottom: 1px solid var(--line);
}

.why__head {
  margin-bottom: clamp(36px, 4.5vw, 72px);
  max-width: none;
}

.approach .h-display {
  font-size: clamp(46px, 6.8vw, 100px);
  white-space: nowrap;
}

.why .h-display {
  font-size: clamp(40px, 5.5vw, 84px);
  white-space: nowrap;
}

@media (max-width: 780px) {

  .why .h-display,
  .approach .h-display {
    white-space: normal;
    font-size: clamp(34px, 9vw, 56px);
  }
}

.why-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(32px, 4.5vw, 96px);
}

.why-stat {
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 2vw, 30px);
  padding: clamp(20px, 2.2vw, 32px) 0 0;
  border-top: 1px solid var(--line);
}

.why-stat__num {
  font-family: 'Inter Tight', Inter, sans-serif;
  font-size: clamp(72px, 8.6vw, 152px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.88;
  color: var(--sage-deep);
}

.why-stat__plus {
  color: var(--sage-deep);
  font-weight: 500;
}

.why-stat__hash {
  margin-right: 0.08em;
  color: var(--sage-deep);
  font-weight: 500;
}

.why-stat__label {
  margin: 0;
  font-family: 'Inter Tight', Inter, sans-serif;
  font-size: clamp(17px, 1.3vw, 21px);
  font-weight: 500;
  letter-spacing: -0.012em;
  line-height: 1.35;
  color: var(--carbon);
  max-width: 28ch;
}

.why-sources {
  margin: clamp(28px, 3vw, 44px) 0 0;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
  line-height: 1.6;
}

.why-sources a {
  color: var(--carbon);
  text-decoration: underline;
  text-decoration-color: var(--silver);
  text-underline-offset: 3px;
  transition: text-decoration-color .25s ease, color .25s ease;
}

.why-sources a:hover {
  color: var(--sage-deep);
  text-decoration-color: var(--sage-deep);
}

.why-callout {
  margin: clamp(36px, 4.2vw, 64px) 0 0;
  font-family: 'Inter Tight', Inter, sans-serif;
  font-size: clamp(28px, 3vw, 48px);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.25;
  color: var(--carbon);
  max-width: 64ch;
}

.why-callout__accent {
  color: var(--sage-deep);
  font-weight: 500;
}

@media (max-width:980px) {
  .why-stats {
    grid-template-columns: 1fr;
    gap: clamp(28px, 5vw, 44px);
  }
}

/* ──────────────────────────────────────────────
   APPROACH (phytopharma pillars)
   ────────────────────────────────────────────── */
.approach {
  padding: clamp(32px, 3.4vw, 56px) 0 clamp(48px, 5vw, 88px);
  border-bottom: 1px solid var(--line)
}

.section-head {
  margin-bottom: clamp(40px, 5vw, 72px);
  max-width: 760px
}

.section-head--row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  max-width: none;
  flex-wrap: wrap;
}

.section-head--row .section-sub {
  margin-top: 0;
  max-width: 36ch
}

/* Approach — phytopharma pillars (3-column editorial, not cards) */
.approach .section-head {
  max-width: none;
}

.approach .section-sub {
  max-width: 84ch;
}

.approach-pillars__heading {
  margin: 0 0 clamp(20px, 2.2vw, 32px);
  font-family: 'Inter Tight', Inter, sans-serif;
  font-size: clamp(22px, 2vw, 32px);
  font-weight: 500;
  letter-spacing: -0.028em;
  line-height: 1.15;
  color: var(--carbon);
}

.approach-pillars {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(32px, 4.5vw, 96px);
}

.pillar {
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 2vw, 32px);
  padding: clamp(20px, 2.2vw, 32px) 0 0;
  border-top: 1px solid var(--line);
}

.pillar__num {
  font-family: 'Inter Tight', Inter, sans-serif;
  font-size: clamp(56px, 6vw, 96px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.85;
  color: var(--sage-deep);
  display: block;
}

.pillar__body {
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.2vw, 18px);
}

.pillar__title {
  margin: 0;
  font-family: 'Inter Tight', Inter, sans-serif;
  font-size: clamp(20px, 1.7vw, 28px);
  font-weight: 500;
  letter-spacing: -0.028em;
  line-height: 1.15;
  color: var(--carbon);
}

.pillar p {
  margin: 0;
  font-size: clamp(14px, 1vw, 16px);
  line-height: 1.6;
  color: var(--muted);
}

@media (max-width:980px) {
  .approach-pillars {
    grid-template-columns: 1fr;
    gap: clamp(36px, 6vw, 56px);
  }

  .pillar {
    gap: clamp(12px, 2.5vw, 20px);
  }

  .pillar__num {
    font-size: clamp(48px, 9vw, 72px);
  }
}

/* ──────────────────────────────────────────────
   PIPELINE
   ────────────────────────────────────────────── */
.pipeline {
  padding: clamp(32px, 3.4vw, 56px) 0 clamp(48px, 5vw, 88px);
  scroll-margin-top: 80px;
  border-bottom: 1px solid var(--line);
  /* Subtle warm tint vs the cool --paper of the tabs section — barely
     perceptible, just enough to read the boundary as intentional. */
  background: #F7F5F0;
}

.pipeline .legal--block {
  margin-top: clamp(20px, 2.4vw, 36px);
  padding: clamp(14px, 1.4vw, 22px) clamp(18px, 1.8vw, 28px) clamp(14px, 1.4vw, 22px) clamp(28px, 2.6vw, 40px);
  font-size: 12px;
  line-height: 1.55;
}

.pipeline .legal--block::before {
  top: clamp(14px, 1.4vw, 22px);
  left: clamp(14px, 1.4vw, 22px);
  line-height: 1.55;
}

/* Tighter gap between the "Lead Program" eyebrow and the green CTX-145 card. */
.pipeline .section-head {
  margin-bottom: clamp(16px, 1.8vw, 30px);
}

/* featured panel — near edge-to-edge */
.pipeline-feature {
  background: var(--sage-mist);
  border-radius: var(--r-xl);
  margin: 0 clamp(12px, 1.5vw, 20px);
  padding: clamp(28px, 3vw, 40px) clamp(24px, 2.8vw, 32px) clamp(28px, 3vw, 44px);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.pipeline-feature::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 10% 90%, rgba(0, 0, 0, .10) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 90% 10%, rgba(255, 255, 255, .06) 0%, transparent 50%);
  pointer-events: none;
}

.pf-inner {
  max-width: var(--max);
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  grid-template-areas:
    "name headline"
    "list desc";
  column-gap: clamp(40px, 8vw, 144px);
  row-gap: clamp(20px, 2.4vw, 36px);
  align-items: start;
}

.pf-candidate {
  grid-area: name;
  font-family: 'Inter Tight', Inter, sans-serif;
  /* Sized so the title fills ~30–40% of the card's vertical space without
     pushing wider — Inter Tight's narrow aspect keeps the horizontal footprint
     close to the previous value. */
  font-size: clamp(104px, 13vw, 208px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.9;
  color: #fff;
  margin: 0;
  white-space: nowrap;
  margin-left: -0.06em;
}

.pf-headline {
  grid-area: headline;
  font-family: 'Inter Tight', Inter, sans-serif;
  font-size: clamp(22px, 2.6vw, 40px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.22;
  color: rgba(255, 255, 255, .94);
  margin: 0;
  align-self: start;
}

.pf-headline strong {
  font-weight: 500;
  color: #fff;
}

.pf-list {
  grid-area: list;
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1vw, 18px);
  padding-top: clamp(16px, 1.6vw, 24px);
}

.pf-list-item {
  display: block;
}

.pf-list-label {
  font-family: 'Inter Tight', Inter, sans-serif;
  font-size: clamp(20px, 1.7vw, 28px);
  font-weight: 500;
  color: #fff;
  letter-spacing: -0.012em;
  line-height: 1.3;
}

/* Reported-observations stat block — replaces the old description paragraph.
   Sits in the bottom-right grid cell, eye-catching but observational tone. */
.pf-stats {
  grid-area: desc;
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 1.1vw, 18px);
}

.pf-stats__eyebrow {
  font-size: 15px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .7);
  font-weight: 500;
  margin: 0;
}

.pf-stats__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(10px, 1vw, 16px);
}

.pf-stat {
  padding: clamp(12px, 1.1vw, 16px) clamp(14px, 1.3vw, 20px);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: var(--r-md, 14px);
  background: rgba(255, 255, 255, .05);
  display: flex;
  flex-direction: column;
  gap: clamp(6px, 0.6vw, 10px);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.pf-stat__metric {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: clamp(10px, 1vw, 16px);
  font-family: 'Inter Tight', Inter, sans-serif;
  color: #fff;
}

.pf-stat__num {
  font-size: clamp(40px, 4.2vw, 60px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  flex-shrink: 0;
}

.pf-stat__unit {
  font-size: clamp(14px, 1.8vw, 26px);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.2;
}

.pf-stat__sub {
  font-size: clamp(13px, 1.1vw, 17px);
  color: rgba(255, 255, 255, .65);
  line-height: 1.45;
  letter-spacing: 0;
}

@media (max-width:980px) {
  .pipeline-feature {
    margin: 0 12px;
    padding: clamp(32px, 6vw, 56px) clamp(24px, 5vw, 40px) clamp(56px, 9vw, 88px)
  }

  .pf-inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "name"
      "headline"
      "list"
      "desc";
    row-gap: clamp(28px, 6vw, 48px);
  }

  .pf-candidate {
    font-size: clamp(64px, 16vw, 120px);
  }

  .pf-stats__grid {
    grid-template-columns: 1fr;
  }
}

/* ──────────────────────────────────────────────
   ANECDOTES
   ────────────────────────────────────────────── */
.anecdote {
  padding: clamp(32px, 3.4vw, 56px) 0 clamp(48px, 5vw, 88px);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fff 0%, #FBFBFA 100%);
}

.anecdote__quote {
  position: relative;
  margin: 0;
  padding: 0;
  font-family: 'Inter Tight', Inter, sans-serif;
  font-size: clamp(30px, 4.3vw, 62px);
  font-weight: 500;
  letter-spacing: -0.032em;
  line-height: 1.14;
  color: var(--carbon);
  max-width: 46ch;
}

.anecdote__mark {
  color: var(--sage-deep);
  font-weight: 500;
  margin-right: 2px;
}

.anecdote__mark--end {
  margin-right: 0;
  margin-left: 2px;
}

.anecdote__accent {
  color: var(--sage-deep);
}

.anecdote__attribution {
  display: block;
  margin: clamp(28px, 3vw, 44px) 0 0;
  font-family: 'Inter Tight', Inter, sans-serif;
  font-size: clamp(20px, 1.6vw, 26px);
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--muted);
  text-align: right;
}

@media (max-width:760px) {
  .anecdote__attribution {
    text-align: left
  }
}

/* ──────────────────────────────────────────────
   DIFFERENTIATION
   ────────────────────────────────────────────── */
.diff {
  padding: clamp(32px, 3.4vw, 56px) 0 clamp(48px, 5vw, 88px);
  border-bottom: 1px solid var(--line)
}

.diff .section-head {
  max-width: none;
}

.diff .h-display {
  white-space: nowrap;
}

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2vw, 24px);
  margin-top: clamp(28px, 4vw, 48px);
}

.compare__col {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  background: #fff;
  position: relative;
}

.compare__col--us {
  background: var(--carbon);
  color: #fff;
  border-color: var(--carbon);
}

.compare__col--us .compare__head {
  color: rgba(255, 255, 255, .6)
}

.compare__head {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 22px;
  font-weight: 500;
}

.compare__col ul {
  display: flex;
  flex-direction: column;
  gap: 14px
}

.compare__col li {
  font-family: 'Inter Tight', Inter, sans-serif;
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.25;
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-2);
}

.compare__col li:last-child {
  border-bottom: 0;
  padding-bottom: 0
}

.compare__col li::before {
  content: "";
  flex: none;
  width: 14px;
  height: 1.5px;
  background: var(--silver);
}

.compare__col--us li {
  border-bottom-color: rgba(255, 255, 255, .08)
}

.compare__col--us li::before {
  background: var(--sage-deep);
  width: 18px;
  height: 1.5px
}

@media (max-width:780px) {
  .compare {
    grid-template-columns: 1fr
  }
}

/* ──────────────────────────────────────────────
   INVESTORS
   ────────────────────────────────────────────── */
.investors {
  padding: clamp(32px, 3.4vw, 56px) 0 clamp(48px, 5vw, 88px);
  border-bottom: 1px solid var(--line)
}

.investors__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}

.investors__copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.investors__copy p {
  font-size: clamp(19px, 1.55vw, 24px);
  color: #3A3A3A;
  margin: 0
}

.investors__copy p.legal {
  font-size: 13px;
  letter-spacing: 0.012em;
  line-height: 1.7;
  color: var(--muted);
  margin-top: 8px;
  max-width: none;
}

.investors__ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px
}

.investors__panel {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  padding: 8px 0;
  box-shadow: 0 30px 80px -40px rgba(0, 0, 0, .22), 0 4px 16px -8px rgba(0, 0, 0, .06);
  position: relative;
  overflow: hidden;
}

.investors__panel::before {
  content: "At a glance";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 18px 24px 6px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  border-bottom: 1px solid var(--line-2);
  background: var(--paper);
}

.investors__panel {
  padding-top: 54px
}

.panel__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 26px;
  border-bottom: 1px solid var(--line-2);
  font-size: 17px;
}

.panel__row:last-child {
  border-bottom: 0
}

.panel__row span {
  color: var(--muted);
  letter-spacing: 0.005em
}

.panel__row b {
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.01em;
  text-align: right
}

@media (max-width:980px) {
  .investors__grid {
    grid-template-columns: 1fr
  }
}

/* ──────────────────────────────────────────────
   INTEGRITY
   ────────────────────────────────────────────── */
.integrity {
  padding: var(--section-y) 0;
  background: #fff;
  position: relative;
  overflow: hidden;
}

.integrity::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(70%, 800px);
  aspect-ratio: 1/1;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(168, 194, 160, .10), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}

.integrity__inner {
  max-width: 880px;
  text-align: center;
  margin: 0 auto;
  position: relative;
  z-index: 1
}

.integrity__inner .section-tag {
  margin-bottom: 18px
}

.integrity__inner .section-tag::before {
  display: none
}

.integrity__inner .h-display {
  font-size: clamp(28px, 5.5vw, 100px);
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.integrity__phrase {
  white-space: nowrap;
}

.integrity__inner .lede {
  margin: 0 auto;
  color: #3A3A3A
}

.integrity__rule {
  display: block;
  width: 48px;
  height: 1px;
  background: var(--ink);
  margin: 0 auto 28px;
  opacity: .85;
}

/* ──────────────────────────────────────────────
   FOOTER
   ────────────────────────────────────────────── */
.footer {
  background: var(--carbon);
  color: #E5E5E5;
  padding: clamp(56px, 7vw, 96px) 0 28px;
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .08) 30%, rgba(255, 255, 255, .08) 70%, transparent);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 300px
}

.footer__brand .brand-mark--lg {
  margin-bottom: 8px
}

.footer__word {
  font-family: 'Inter Tight', Inter, sans-serif;
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 20px;
  color: #fff;
  margin: 0;
}

.footer__loc {
  color: rgba(255, 255, 255, .55);
  font-size: 15.5px;
  margin: 0;
  letter-spacing: -0.005em
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer__cols a {
  display: block;
  color: rgba(255, 255, 255, .65);
  font-size: 15.5px;
  padding: 6px 0;
  transition: color .2s var(--ease);
}

.footer__cols a:hover {
  color: #fff
}

.footer__h {
  font-size: 12.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .4);
  margin: 0 0 14px;
  font-weight: 500;
}

.footer__notice {
  margin: clamp(32px, 4vw, 56px) 0 clamp(24px, 3vw, 36px);
  padding-bottom: clamp(20px, 2.6vw, 32px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  max-width: 96ch;
}

.footer__notice .footer__h {
  margin-bottom: 14px;
}

.footer__notice .footer__disclaimer {
  margin: 0;
  padding-left: 0;
  max-width: none;
}

.footer__notice .footer__disclaimer::before {
  display: none;
}

.footer__disclaimer {
  position: relative;
  margin: 32px 0 24px;
  padding-left: 20px;
  font-size: 13px;
  letter-spacing: 0.012em;
  line-height: 1.7;
  color: rgba(255, 255, 255, .55);
  max-width: 84ch;
}

.footer__disclaimer a {
  color: rgba(255, 255, 255, .75);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, .25);
  text-underline-offset: 3px;
  transition: color .2s var(--ease), text-decoration-color .2s var(--ease);
}

.footer__disclaimer a:hover {
  color: #fff;
  text-decoration-color: rgba(255, 255, 255, .6);
}

.footer__disclaimer::before {
  content: "*";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--sage);
  font-weight: 600;
  font-size: 14.5px;
  line-height: 1.55;
}

.footer__base {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding-top: 22px;
  font-size: 13px;
  color: rgba(255, 255, 255, .45);
  letter-spacing: 0.005em;
}

@media (max-width:780px) {
  .footer__top {
    grid-template-columns: 1fr
  }

  .footer__cols {
    grid-template-columns: repeat(2, 1fr)
  }
}

/* ──────────────────────────────────────────────
   REVEAL ANIMATION
   ────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .8s var(--ease), transform .8s var(--ease)
}

.reveal.is-in {
  opacity: 1;
  transform: none
}

/* ──────────────────────────────────────────────
   LEGAL PAGE (legal.html — disclosures, privacy, terms)
   ────────────────────────────────────────────── */
.legal-page main {
  padding-top: clamp(40px, 4vw, 72px);
}

.legal-section {
  padding: clamp(48px, 6vw, 96px) 0;
  border-bottom: 1px solid var(--line);
}

.legal-section:last-of-type {
  border-bottom: none;
}

.legal-h2 {
  margin: clamp(10px, 1vw, 16px) 0 clamp(6px, 0.8vw, 12px);
  font-family: 'Inter Tight', Inter, sans-serif;
  font-size: clamp(34px, 4.2vw, 64px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.04;
  color: var(--carbon);
}

.legal-meta {
  margin: 0 0 clamp(28px, 3vw, 44px);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.legal-body {
  max-width: 68ch;
  color: var(--carbon);
  font-size: clamp(15px, 1.05vw, 16.5px);
  line-height: 1.7;
}

.legal-body > p {
  margin: 0 0 clamp(14px, 1.4vw, 20px);
}

.legal-body h3 {
  margin: clamp(28px, 3vw, 40px) 0 clamp(8px, 0.9vw, 14px);
  font-family: 'Inter Tight', Inter, sans-serif;
  font-size: clamp(17px, 1.3vw, 21px);
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1.3;
  color: var(--carbon);
}

.legal-body a {
  color: var(--carbon);
  text-decoration: underline;
  text-decoration-color: var(--silver);
  text-underline-offset: 3px;
  transition: text-decoration-color .25s var(--ease), color .25s var(--ease);
}

.legal-body a:hover {
  color: var(--sage-deep);
  text-decoration-color: var(--sage-deep);
}

.legal-body em {
  color: var(--muted);
  font-style: italic;
}

@media (max-width: 780px) {
  .legal-h2 {
    font-size: clamp(28px, 8vw, 40px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none
  }

  .sphere-float,
  .sphere-shadow,
  .marquee,
  .status-dot {
    animation: none
  }
}