/* ==========================================================================
   TPP Analytical Laboratory — design system
   Direction: navy image-led hero, oversized sans-serif type, muted blue
   accents, generous white space, fine borders, small technical labels.
   ========================================================================== */

:root {
  --navy: #0B2440;
  --navy-deep: #071A30;
  --ink: #0F2540;
  --ink-2: #33465E;
  --ink-3: #5B6B80;
  --blue: #1F5FA8;
  --blue-hover: #174A85;
  --sky: #4FA3F0;
  --sky-soft: #B9D6F4;
  --line: #D9E2EC;
  --line-strong: #B8C7D8;
  --surface: #F5F8FB;
  --surface-2: #EDF2F8;
  --white: #FFFFFF;

  --green-bg: #E3F5EA; --green-fg: #155D34; --green-line: #9ED6B4;
  --amber-bg: #FFF1D6; --amber-fg: #7A4B00; --amber-line: #F2CE84;
  --red-bg:   #FCE4E1; --red-fg:   #8A2E20; --red-line:   #F0B4AB;

  --font-sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(56px, 9vw, 112px);
  --radius: 12px;
  --radius-sm: 8px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --shadow: 0 14px 34px rgba(11, 36, 64, .10);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-hover); text-decoration: underline; text-underline-offset: 3px; }
a, button, summary { transition: color .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .2s ease, transform .2s var(--ease); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 2px; }
.on-dark :focus-visible, .site-footer :focus-visible, .hero :focus-visible { outline-color: var(--sky); }

h1, h2, h3, h4 { font-weight: 500; line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(38px, 6vw, 64px); letter-spacing: -0.03em; line-height: 1.04; }
h2 { font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -0.025em; }
h3 { font-size: clamp(20px, 2.2vw, 24px); letter-spacing: -0.015em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
strong { font-weight: 600; }
blockquote { margin: 0; }

.container { max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.narrow { max-width: 760px; }
.measure { max-width: 68ch; }
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: var(--ink-2); }
.muted { color: var(--ink-3); }
.small { font-size: 14.5px; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue);
  display: flex; align-items: center; gap: 12px;
  margin: 0 0 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; flex: none; }
.on-dark .eyebrow, .hero .eyebrow { color: var(--sky); }
.label { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }

/* skip link + review banner ------------------------------------------- */
.skip-link { position: absolute; left: 8px; top: -60px; background: var(--navy); color: #fff; padding: 10px 14px; border-radius: 6px; z-index: 100; }
.skip-link:focus { top: 8px; }
.review-banner {
  position: fixed; right: 16px; top: 84px; z-index: 45; pointer-events: none;
  background: rgba(7,26,48,.82); color: #C9D8E8; border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(8px);
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; padding: 7px 11px; border-radius: 999px; max-width: 60vw;
}
@media (max-width: 900px) { .review-banner { font-size: 9.5px; top: auto; right: auto; left: 10px; bottom: 10px; max-width: 62vw; } }

/* header ---------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--navy); }
.brand:hover { text-decoration: none; color: var(--navy); }
.brand__accent { fill: var(--blue); }
.brand--light { color: #fff; }
.brand--light .brand__accent { fill: var(--sky); }
.brand__text { display: flex; align-items: baseline; gap: 9px; white-space: nowrap; }
.brand__name { font-weight: 600; font-size: 18px; letter-spacing: -0.01em; }
.brand__tag { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; opacity: .8; }
.site-nav { display: flex; align-items: center; }
.site-nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 26px; }
.site-nav__list a:not(.btn) { color: var(--ink-2); font-size: 15px; font-weight: 500; position: relative; padding: 6px 0; }
.site-nav__list a:not(.btn):hover { color: var(--ink); text-decoration: none; }
.site-nav__list a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.site-nav__list a:not(.btn):hover::after, .site-nav__list a[aria-current="page"]::after { transform: scaleX(1); }
.nav-toggle {
  display: none; align-items: center; gap: 8px; background: none; border: 1px solid var(--line); border-radius: 8px;
  padding: 8px 12px; color: var(--ink); font: inherit; font-size: 14px; cursor: pointer; min-height: 44px;
}
.nav-toggle__bars { width: 18px; height: 2px; background: currentColor; position: relative; display: inline-block; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor; }
.nav-toggle__bars::before { top: -6px; } .nav-toggle__bars::after { top: 6px; }
@media (max-width: 900px) {
  .brand__tag { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-nav__list {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(11,36,64,.12);
    padding: 6px var(--gutter) 16px;
  }
  .site-nav__list.is-open { display: flex; }
  .site-nav__list li { border-bottom: 1px solid var(--surface-2); }
  .site-nav__list li:last-child { border-bottom: 0; }
  .site-nav__list a:not(.btn) { display: block; padding: 14px 4px; font-size: 16px; }
  .site-nav__list a:not(.btn)::after { display: none; }
  .site-nav__cta-item { padding-top: 12px; }
  .site-nav__cta-item .btn { width: 100%; }
}

/* buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px; border-radius: var(--radius-sm); font-weight: 600; font-size: 15.5px; line-height: 1;
  border: 1px solid transparent; cursor: pointer; font-family: inherit; text-decoration: none; min-height: 48px;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.985); }
.btn--sm { padding: 11px 16px; font-size: 14.5px; min-height: 42px; }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 2px 10px rgba(31,95,168,.28); }
.btn--primary:hover { background: var(--blue-hover); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); }
.on-dark .btn--ghost, .hero .btn--ghost { color: #fff; border-color: rgba(255,255,255,.35); }
.on-dark .btn--ghost:hover, .hero .btn--ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.06); }
.btn__arrow { width: 16px; height: 16px; flex: none; }
.arrow-link { font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.arrow-link svg { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.arrow-link:hover svg { transform: translate(2px, -2px); }

/* sections --------------------------------------------------------------- */
.section { padding: var(--section) 0; }
.section--tight { padding: clamp(40px, 6vw, 72px) 0; }
.section--surface { background: var(--surface); }
.section--line { border-top: 1px solid var(--line); }
.on-dark { background: var(--navy); color: #fff; }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark p { color: #fff; }
.on-dark .lead, .on-dark .muted { color: var(--sky-soft); }
.on-dark a:not(.btn) { color: var(--sky); }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 48px); }
.section-head h2 { margin-bottom: 14px; }
.grid { display: grid; gap: clamp(20px, 3vw, 32px); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: clamp(28px, 5vw, 72px); align-items: center; }

/* hero ------------------------------------------------------------------- */
.hero {
  background: var(--navy);
  background-image: linear-gradient(rgba(79,163,240,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(79,163,240,.05) 1px, transparent 1px);
  background-size: 44px 44px;
  color: #fff; position: relative; overflow: hidden;
}
.hero h1, .hero p { color: #fff; }
.hero .lead { color: #D6E4F3; }
.hero__inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: clamp(32px, 5vw, 64px); align-items: center; padding-top: clamp(48px, 8vw, 96px); padding-bottom: clamp(48px, 8vw, 96px); }
.hero__copy { max-width: 620px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero__media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 5 / 4; box-shadow: 0 30px 60px rgba(0,0,0,.35); background: var(--navy-deep); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,36,64,0) 55%, rgba(11,36,64,.55)); pointer-events: none; }
.hero__caption { position: absolute; left: 18px; bottom: 16px; z-index: 1; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.hero__strip { border-top: 1px solid rgba(255,255,255,.12); padding: 16px 0; }
.hero__strip .container { display: flex; flex-wrap: wrap; gap: 12px 32px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #9FB8D3; }
.hero--compact .hero__inner { grid-template-columns: 1fr; padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(40px, 6vw, 72px); }
.hero--compact .hero__copy { max-width: 800px; }
.hero--light { background: var(--surface); color: var(--ink); }
.hero--light h1, .hero--light p { color: var(--ink); }
.hero--light .lead { color: var(--ink-2); }
.hero--light .eyebrow { color: var(--blue); }

.date-stamp {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 22px 0 6px; padding: 10px 16px; border-radius: 999px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22);
  font-family: var(--font-mono); font-size: 13px; letter-spacing: .08em; color: #fff;
}
.date-stamp svg { width: 15px; height: 15px; }

/* cards ------------------------------------------------------------------ */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px);
  display: flex; flex-direction: column; gap: 12px;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s var(--ease);
}
.card:hover { border-color: var(--sky-soft); box-shadow: var(--shadow); transform: translateY(-3px); }
.card--static:hover { transform: none; box-shadow: none; border-color: var(--line); }
.card--surface { background: var(--surface); }
.card__num { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; color: var(--blue); }
.card h3 { margin: 0; }
.card p { color: var(--ink-2); }
.card .arrow-link { margin-top: auto; }
.card-link { color: inherit; }
.card-link:hover { text-decoration: none; color: inherit; }

/* packages --------------------------------------------------------------- */
.packages { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: clamp(18px, 2.5vw, 28px); align-items: stretch; }
.package { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 34px); display: flex; flex-direction: column; position: relative; }
.package--featured { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue), var(--shadow); }
.package__tier { font-family: var(--font-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.package__tier .pill { text-transform: none; letter-spacing: 0; }
.package h3 { font-size: 26px; margin-bottom: 6px; }
.package__label { color: var(--ink-2); margin-bottom: 20px; min-height: 2.6em; }
.package__plus { font-weight: 600; font-size: 15px; margin: 0 0 8px; padding-top: 18px; border-top: 1px solid var(--line); }
.package__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0; }
.package__list li { padding: 10px 0 10px 26px; position: relative; border-top: 1px solid var(--surface-2); font-size: 15.5px; line-height: 1.5; }
.package__list li:first-child { border-top: 0; }
.package__list li::before { content: ""; position: absolute; left: 4px; top: 17px; width: 9px; height: 9px; border-radius: 50%; border: 2px solid var(--blue); background: #fff; }
.package .btn { margin-top: 24px; }
.package__note { margin-top: 18px; font-size: 14px; color: var(--ink-3); }
.pill { display: inline-block; font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; padding: 4px 9px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); }

/* tables ----------------------------------------------------------------- */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin: 24px 0; max-width: 100%; }
.table-scroll:focus-visible { outline-offset: 0; }
table.data { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
table.data caption { text-align: left; caption-side: top; font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); padding: 14px 18px 10px; }
table.data th, table.data td { text-align: left; vertical-align: top; padding: 13px 18px; border-top: 1px solid var(--line); }
table.data thead th { border-top: 0; background: var(--surface); font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 500; color: var(--ink-3); white-space: nowrap; }
table.data tbody th { font-weight: 600; }
table.data td.num, table.data th.num { font-family: var(--font-mono); font-size: 14px; white-space: nowrap; }
table.data--wide { min-width: 720px; }
table.data--steps th { width: 22%; }
.table-hint { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .08em; color: var(--ink-3); margin: -14px 0 24px; display: none; }
@media (max-width: 720px) { .table-hint { display: block; } }

/* badges ----------------------------------------------------------------- */
.badge { display: inline-block; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; font-weight: 500; padding: 5px 10px; border-radius: 6px; border: 1px solid; white-space: nowrap; }
.badge--eligible { background: var(--green-bg); color: var(--green-fg); border-color: var(--green-line); }
.badge--qualified { background: var(--amber-bg); color: var(--amber-fg); border-color: var(--amber-line); }
.badge--not { background: var(--red-bg); color: var(--red-fg); border-color: var(--red-line); }
.badge--neutral { background: #fff; color: var(--navy); border-color: var(--line-strong); }
.badge-key { display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 0 0 8px; padding: 0; list-style: none; font-size: 14px; color: var(--ink-2); }
.badge-key li { display: inline-flex; align-items: center; gap: 8px; }

/* callouts --------------------------------------------------------------- */
.callout { border-left: 4px solid var(--amber-fg); background: var(--amber-bg); border-radius: 0 var(--radius) var(--radius) 0; padding: 22px 26px; margin: 28px 0; }
.callout h3 { margin-bottom: 8px; font-size: 20px; color: var(--amber-fg); }
.callout p { color: #3E2A00; }
.callout--info { border-left-color: var(--blue); background: #EAF2FC; }
.callout--info h3 { color: var(--blue-hover); }
.callout--info p { color: var(--ink); }
.pullquote { border-left: 3px solid var(--blue); padding: 6px 0 6px 24px; margin: 28px 0; font-size: clamp(19px, 2vw, 23px); line-height: 1.45; letter-spacing: -0.01em; color: var(--ink); font-weight: 500; }
.note { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; }
.note h3 { font-size: 17px; margin-bottom: 8px; }
.note p { color: var(--ink-2); font-size: 15.5px; }

/* accordion (native details) --------------------------------------------- */
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary {
  list-style: none; cursor: pointer; display: flex; align-items: flex-start; justify-content: space-between; gap: 18px;
  padding: 20px 4px; font-size: clamp(17px, 1.6vw, 19px); font-weight: 500; letter-spacing: -0.01em; color: var(--ink);
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary:hover { color: var(--blue); }
.accordion summary .acc-icon { flex: none; width: 24px; height: 24px; border: 1px solid var(--line-strong); border-radius: 50%; position: relative; margin-top: 2px; }
.accordion summary .acc-icon::before, .accordion summary .acc-icon::after { content: ""; position: absolute; background: currentColor; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.accordion summary .acc-icon::before { width: 10px; height: 1.5px; }
.accordion summary .acc-icon::after { width: 1.5px; height: 10px; transition: transform .25s var(--ease); }
.accordion details[open] summary .acc-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.accordion .acc-body { padding: 0 44px 22px 4px; color: var(--ink-2); max-width: 78ch; }
.accordion .acc-num { font-family: var(--font-mono); font-size: 12px; color: var(--blue); margin-right: 14px; flex: none; margin-top: 4px; }

/* steps ------------------------------------------------------------------ */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: clamp(18px, 2.5vw, 28px); counter-reset: step; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; position: relative; }
.steps .step__num { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; color: var(--blue); margin-bottom: 12px; }
.steps h3 { font-size: 20px; margin-bottom: 8px; }
.steps p { color: var(--ink-2); font-size: 15.5px; }

/* facts ------------------------------------------------------------------ */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.facts div { background: #fff; padding: 22px 24px; }
.facts .label { margin-bottom: 8px; display: block; }
.facts strong { font-size: 18px; font-weight: 500; letter-spacing: -0.01em; display: block; }
.facts span { color: var(--ink-3); font-size: 14px; }
.dark-facts { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 22px 26px; font-size: 15px; }
.dark-facts dl { margin: 0; display: grid; grid-template-columns: 96px 1fr; gap: 14px 20px; }
.dark-facts dt { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: #9FB8D3; padding-top: 2px; }
.dark-facts dd { margin: 0; color: #fff; }

/* CTA blocks ------------------------------------------------------------- */
.cta-band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.cta-band .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; padding-top: 28px; padding-bottom: 28px; }
.cta-band p { margin: 0; font-size: 18px; font-weight: 500; letter-spacing: -0.01em; }
.cta-dark { background: var(--navy); color: #fff; }
.cta-dark .container { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 900px) { .cta-dark .container { grid-template-columns: 1fr; } }
.cta-dark h2, .cta-dark p { color: #fff; }
.cta-dark .lead { color: #D6E4F3; }
.cta-dark .contact-lines { font-family: var(--font-mono); font-size: 13px; letter-spacing: .06em; color: #9FB8D3; display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 22px; }
.cta-dark .contact-lines a { color: #fff; }

/* media ------------------------------------------------------------------ */
.figure { margin: 0; border-radius: var(--radius); overflow: hidden; position: relative; background: var(--surface-2); }
.figure img { width: 100%; height: 100%; object-fit: cover; }
.figure--portrait { aspect-ratio: 4 / 5; }
.figure--landscape { aspect-ratio: 3 / 2; }
.figure--wide { aspect-ratio: 21 / 9; }
.figure figcaption { position: absolute; left: 16px; bottom: 14px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.6); }
.media-grid { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: repeat(2, minmax(220px, 1fr)); gap: 14px; }
.media-grid .figure { aspect-ratio: auto; height: 100%; min-height: 0; }
.media-grid .figure:first-child { grid-row: 1 / 3; min-height: 460px; }
@media (max-width: 640px) { .media-grid { grid-template-columns: 1fr; grid-template-rows: auto; } .media-grid .figure:first-child { grid-row: auto; min-height: 0; aspect-ratio: 4/3; } }

/* forms ------------------------------------------------------------------ */
.quote-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3.5vw, 40px); box-shadow: var(--shadow); }
.quote-form__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.field label .req { color: var(--red-fg); margin-left: 3px; }
.field input, .field textarea, .field select {
  font: inherit; font-size: 16px; color: var(--ink); background: #fff;
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm); padding: 12px 14px; width: 100%; min-height: 48px;
}
.field textarea { min-height: 128px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--red-fg); }
.field .hint { font-size: 13.5px; color: var(--ink-3); }
.field .error { font-size: 13.5px; color: var(--red-fg); display: none; }
.field.has-error .error { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; margin-top: 24px; }
.form-actions .small { color: var(--ink-3); }
.form-mode { margin-top: 18px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; color: var(--ink-3); border-top: 1px dashed var(--line); padding-top: 14px; }
.form-outcome { display: none; margin-top: 20px; border-radius: var(--radius); padding: 20px 22px; border: 1px solid; }
.form-outcome.is-visible { display: block; }
.form-outcome--demo { background: var(--amber-bg); border-color: var(--amber-line); color: #3E2A00; }
.form-outcome--ok { background: var(--green-bg); border-color: var(--green-line); color: var(--green-fg); }
.form-outcome--err { background: var(--red-bg); border-color: var(--red-line); color: var(--red-fg); }
.form-outcome h3 { font-size: 18px; margin-bottom: 8px; color: inherit; }
.form-outcome dl { margin: 12px 0 0; display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; font-size: 14.5px; }
.form-outcome dt { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; opacity: .8; padding-top: 2px; }
.form-outcome dd { margin: 0; white-space: pre-wrap; }
.form-outcome ul { margin: 8px 0 0; padding-left: 1.2em; }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.contact-card dl { margin: 0; display: grid; gap: 14px; }
.contact-card dt { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.contact-card dd { margin: 2px 0 0; font-size: 16px; }

/* prose (legal pages) ---------------------------------------------------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 24px; margin-top: 2em; }
.prose p { color: var(--ink-2); }

/* footer ----------------------------------------------------------------- */
.site-footer { background: var(--navy-deep); color: #C9D6E4; padding: clamp(48px, 6vw, 72px) 0 32px; font-size: 15px; }
.site-footer a { color: #C9D6E4; }
.site-footer a:hover { color: #fff; }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.12); }
@media (max-width: 860px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-footer__grid { grid-template-columns: 1fr; gap: 28px; } }
.site-footer__blurb { margin: 18px 0 14px; max-width: 34ch; }
.site-footer__address { font-style: normal; font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: #9FB8D3; line-height: 1.7; }
.site-footer__heading { font-family: var(--font-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #9FB8D3; margin: 0 0 16px; font-weight: 500; }
.site-footer__links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.site-footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-top: 22px; font-size: 13.5px; color: #9FB8D3; }
.site-footer__notice { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); }
.site-footer__notice p { margin: 0; max-width: 90ch; font-size: 14px; line-height: 1.6; color: #C9D6E4; }

/* misc ------------------------------------------------------------------- */
.divider { height: 1px; background: var(--line); margin: clamp(32px, 5vw, 56px) 0; }
.inline-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 15px; }
.inline-list li::before { content: "—"; color: var(--blue); margin-right: 8px; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 16px; } .mt-2 { margin-top: 28px; } .mt-3 { margin-top: 44px; }
.mb-0 { margin-bottom: 0; } .mb-2 { margin-bottom: 28px; }

/* motion ----------------------------------------------------------------- */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
.hero [data-seq] { opacity: 0; transform: translateY(18px); animation: heroIn .8s var(--ease) forwards; }
.hero [data-seq="1"] { animation-delay: .05s; } .hero [data-seq="2"] { animation-delay: .2s; } .hero [data-seq="3"] { animation-delay: .75s; } .hero [data-seq="4"] { animation-delay: .95s; } .hero [data-seq="5"] { animation-delay: 1.15s; }
.hero [data-seq="6"] { animation-delay: 1.05s; animation-duration: 1.1s; transform: translateY(28px) scale(.98); }
@keyframes heroIn { to { opacity: 1; transform: none; } }
.no-js [data-reveal], .no-js .hero [data-seq] { opacity: 1; transform: none; animation: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  [data-reveal], .hero [data-seq] { opacity: 1 !important; transform: none !important; animation: none !important; }
  .card:hover, .btn:hover { transform: none; }
}

@media print {
  .site-header, .review-banner, .skip-link, .nav-toggle, .form-actions, .cta-band, .cta-dark { display: none !important; }
  .table-scroll { border: 0; }
  table.data { min-width: 0; font-size: 12px; }
  .accordion details { break-inside: avoid; }
  .accordion .acc-body { display: block !important; }
}

/* ==========================================================================
   Immersive landing hero (home + testing page)
   ========================================================================== */
.hero--immersive { min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; }
.hero--immersive .hero__bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero--immersive .hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; transform: scale(1.06); animation: heroZoom 18s var(--ease) forwards; filter: saturate(.85) contrast(1.05); }
@keyframes heroZoom { to { transform: scale(1); } }
.hero--immersive .hero__veil { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgba(11,36,64,.96) 0%, rgba(11,36,64,.86) 38%, rgba(11,36,64,.38) 66%, rgba(11,36,64,.12) 100%),
  linear-gradient(180deg, rgba(11,36,64,.55) 0%, rgba(11,36,64,0) 28%, rgba(11,36,64,.9) 100%); }
.hero--immersive .hero__grid { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(79,163,240,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(79,163,240,.07) 1px, transparent 1px); background-size: 56px 56px; mask-image: linear-gradient(90deg, rgba(0,0,0,.9), transparent 70%); -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.9), transparent 70%); }
.hero--immersive .hero__inner { width: 100%; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; padding-top: clamp(120px, 16vh, 180px); padding-bottom: clamp(48px, 8vh, 88px); gap: clamp(32px, 5vw, 72px); flex: 1; }
.hero--immersive .hero__copy { max-width: 700px; }
.hero--immersive h1 { font-size: clamp(40px, 5.7vw, 78px); line-height: 1; letter-spacing: -0.035em; margin: 0 0 .4em; max-width: 12ch; }
.hero--immersive .lead { margin-bottom: 0; }
.hero--immersive .hero__actions { margin-top: 34px; }
.hero--immersive h1 em { font-style: normal; color: var(--sky); }
.hero--immersive .lead { font-size: clamp(18px, 1.7vw, 23px); max-width: 60ch; }
.hero--immersive .hero__body { color: #C9D8E8; max-width: 62ch; font-size: 16.5px; }
.hero--immersive .hero__actions .btn { min-height: 54px; padding: 16px 26px; font-size: 16px; }
.spec-card { background: rgba(7,26,48,.55); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 22px 24px; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 30px 60px rgba(0,0,0,.35); max-width: 420px; justify-self: end; width: 100%; }
.spec-card__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: #9FB8D3; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,.12); margin-bottom: 6px; }
.spec-card__head .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 0 4px rgba(79,163,240,.18); }
.spec-card dl { margin: 0; }
.spec-card .row { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 14.5px; align-items: baseline; }
.spec-card .row:last-child { border-bottom: 0; }
.spec-card dt { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: #9FB8D3; }
.spec-card dd { margin: 0; color: #fff; }
.spec-card dd .mono { font-family: var(--font-mono); font-size: 13px; color: var(--sky); }
@media (max-width: 900px) {
  .hero--immersive { min-height: 0; }
  .hero--immersive .hero__inner { grid-template-columns: 1fr; padding-top: clamp(56px, 10vh, 96px); }
  .hero--immersive .hero__veil { background: linear-gradient(180deg, rgba(11,36,64,.96) 0%, rgba(11,36,64,.9) 60%, rgba(11,36,64,.8) 100%); }
  .spec-card { justify-self: stretch; max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero--immersive .hero__bg img { animation: none; transform: none; }
}

/* ==========================================================================
   WORLD-CLASS PASS — motion, interaction, signature components
   ========================================================================== */

/* scroll progress + header behaviour */
.scroll-progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 60; background: transparent; pointer-events: none; }
.scroll-progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--blue), var(--sky)); transition: width .12s linear; }
.site-header { transition: box-shadow .35s ease, background .35s ease; }
.site-header.is-scrolled { box-shadow: 0 8px 28px rgba(11,36,64,.09); background: rgba(255,255,255,.9); }
.site-header.is-scrolled .site-header__inner { height: 60px; }
.site-header__inner { transition: height .35s var(--ease); }
.has-immersive .site-header { position: fixed; left: 0; right: 0; background: transparent; border-bottom-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.has-immersive .site-header.is-scrolled { background: rgba(255,255,255,.92); border-bottom-color: var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.has-immersive .site-header:not(.is-scrolled) .brand { color: #fff; }
.has-immersive .site-header:not(.is-scrolled) .brand__accent { fill: var(--sky); }
.has-immersive .site-header:not(.is-scrolled) .site-nav__list a:not(.btn) { color: #D6E4F3; }
.has-immersive .site-header:not(.is-scrolled) .site-nav__list a:not(.btn):hover { color: #fff; }
.has-immersive .site-header:not(.is-scrolled) .site-nav__list a:not(.btn)::after { background: var(--sky); }
.has-immersive .site-header:not(.is-scrolled) .nav-toggle { color: #fff; border-color: rgba(255,255,255,.3); }
@media (max-width: 900px) { .has-immersive .site-header:not(.is-scrolled) .site-nav__list.is-open { background: #fff; } .has-immersive .site-header:not(.is-scrolled) .site-nav__list.is-open a:not(.btn) { color: var(--ink); } }

/* word-by-word headline reveal */
.words .w { display: inline-block; opacity: 0; transform: translateY(.5em); transform-origin: left bottom; animation: wIn .9s var(--ease) forwards; animation-delay: calc(var(--i, 0) * 45ms + .2s); }
@keyframes wIn { to { opacity: 1; transform: none; } }
.no-js .words .w { opacity: 1; transform: none; animation: none; }

/* stagger children */
[data-stagger] > * { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-stagger].is-in > * { opacity: 1; transform: none; }
[data-stagger].is-in > *:nth-child(1) { transition-delay: .05s } [data-stagger].is-in > *:nth-child(2) { transition-delay: .13s }
[data-stagger].is-in > *:nth-child(3) { transition-delay: .21s } [data-stagger].is-in > *:nth-child(4) { transition-delay: .29s }
[data-stagger].is-in > *:nth-child(5) { transition-delay: .37s } [data-stagger].is-in > *:nth-child(6) { transition-delay: .45s }
[data-stagger].is-in > *:nth-child(7) { transition-delay: .53s } [data-stagger].is-in > *:nth-child(n+8) { transition-delay: .6s }
.no-js [data-stagger] > * { opacity: 1; transform: none; }

table.data tbody tr { transition: background-color .3s; }
table.data tbody tr:hover { background: var(--surface); }

/* magnetic + shine buttons */
.btn { position: relative; overflow: hidden; will-change: transform; }
.btn--primary::after { content: ""; position: absolute; top: 0; left: -80%; width: 50%; height: 100%; background: linear-gradient(105deg, transparent, rgba(255,255,255,.35), transparent); transform: skewX(-18deg); transition: left .7s ease; pointer-events: none; }
.btn--primary:hover::after { left: 140%; }
.btn .btn__arrow { transition: transform .3s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(3px); }

/* hero: parallax layers + chromatogram overlay */
.hero--immersive .hero__bg img { will-change: transform; }
@keyframes fadeIn { to { opacity: 1; } }
.hero--immersive .hero__inner { position: relative; z-index: 1; }

/* sticky story (Built for peptides) */
.story { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.story__steps { display: flex; flex-direction: column; gap: clamp(64px, 14vh, 140px); padding: 8vh 0; }
.story__step { opacity: .35; transition: opacity .5s ease; }
.story__step.is-active { opacity: 1; }
.story__step .eyebrow { margin-bottom: 12px; }
.story__step h3 { font-size: clamp(24px, 2.6vw, 34px); margin-bottom: 14px; letter-spacing: -0.025em; }
.story__stage { position: sticky; top: 96px; aspect-ratio: 16 / 11; max-height: calc(100vh - 120px); border-radius: var(--radius); background: var(--navy); overflow: hidden; box-shadow: 0 30px 70px rgba(11,36,64,.25); }
.story__panel { position: absolute; inset: 0; padding: clamp(18px, 2.6vw, 30px); opacity: 0; transform: scale(.98); transition: opacity .6s var(--ease), transform .6s var(--ease); pointer-events: none; display: flex; flex-direction: column; }
.story__panel.is-active { opacity: 1; transform: none; pointer-events: auto; }
.story__panel .panel-label { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: #9FB8D3; display: flex; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.story__panel svg { width: 100%; height: auto; flex: 1; min-height: 0; display: block; }
@media (max-width: 900px) {
  .story { grid-template-columns: 1fr; }
  .story__stage { position: relative; top: auto; height: auto; aspect-ratio: 4/3; margin: 0 0 28px; }
  .story__steps { gap: 40px; padding: 0; }
  .story__step { opacity: 1; }
  .story__panel { position: relative; display: none; }
  .story__panel.is-active { display: flex; }
}
/* diagram primitives */
.dg text { font-family: var(--font-mono); font-size: 11px; fill: #C9D8E8; letter-spacing: .08em; }
.dg .axis { stroke: rgba(255,255,255,.22); stroke-width: 1; }
.dg .grid { stroke: rgba(79,163,240,.12); stroke-width: 1; }
.dg .trace { fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dg .trace--sky { stroke: var(--sky); }
.dg .trace--dim { stroke: rgba(255,255,255,.45); stroke-dasharray: 4 4; }
.dg .fill-sky { fill: rgba(79,163,240,.18); }
.dg .fill-red { fill: rgba(240,120,110,.22); }
.dg .stem { stroke: var(--sky); stroke-width: 3; stroke-linecap: round; }
.dg .stem--red { stroke: #F0786E; }
.dg .lbl { font-size: 12px; fill: #fff; letter-spacing: .04em; }
.dg .lbl--sky { fill: var(--sky); } .dg .lbl--red { fill: #F5A099; } .dg .lbl--dim { fill: #9FB8D3; }
.dg .anim-draw { stroke-dasharray: 1400; stroke-dashoffset: 1400; }
.is-active .dg .anim-draw, .is-in .dg .anim-draw { animation: draw 2.2s var(--ease) .2s forwards; }
.dg .anim-grow { transform-origin: bottom; transform: scaleY(0); transition: transform .8s var(--ease); }
.is-active .dg .anim-grow, .is-in .dg .anim-grow { transform: scaleY(1); }
.dg .anim-pop { opacity: 0; transform: translateY(6px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.is-active .dg .anim-pop, .is-in .dg .anim-pop { opacity: 1; transform: none; }
.dg .d1 { transition-delay: .3s; animation-delay: .3s } .dg .d2 { transition-delay: .6s; animation-delay: .6s } .dg .d3 { transition-delay: .9s; animation-delay: .9s }
.dg .d4 { transition-delay: 1.2s; animation-delay: 1.2s } .dg .d5 { transition-delay: 1.5s; animation-delay: 1.5s } .dg .d6 { transition-delay: 1.8s; animation-delay: 1.8s } .dg .d7 { transition-delay: 2.1s; animation-delay: 2.1s }
.dg .pulse { animation: none; }
@keyframes pulse { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
.dg-note { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-top: 10px; }

/* solvent bars (light) */
.bars { display: grid; gap: 10px; }
.bar { display: grid; grid-template-columns: minmax(150px, 220px) 1fr 90px; gap: 14px; align-items: center; font-size: 14.5px; }
.bar__name { font-weight: 500; }
.bar__name small { display: block; font-weight: 400; color: var(--ink-3); font-size: 12.5px; }
.bar__track { height: 10px; background: var(--surface-2); border-radius: 999px; overflow: hidden; }
.bar__fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--blue), var(--sky)); border-radius: 999px; transition: width 1.2s var(--ease); }
.bar--house .bar__fill { background: repeating-linear-gradient(90deg, var(--line-strong) 0 6px, transparent 6px 10px); }
.bar__val { font-family: var(--font-mono); font-size: 13px; text-align: right; white-space: nowrap; }
.is-in .bar__fill { width: var(--w, 0%); }
.bar--hot .bar__name { color: var(--red-fg); }
.bar--hot .bar__fill { background: linear-gradient(90deg, #C7402E, #F0786E); }
@media (max-width: 600px) { .bar { grid-template-columns: 1fr 70px; } .bar__track { grid-column: 1 / -1; } }

/* element tiles */
.elements { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 12px; }
.el { position: relative; border: 1px solid var(--line); border-radius: 10px; padding: 14px 14px 12px; background: #fff; transition: transform .35s var(--ease), box-shadow .35s ease, border-color .3s ease; }
.el:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--sky-soft); }
.el__sym { font-size: 30px; font-weight: 500; letter-spacing: -0.03em; line-height: 1; }
.el__name { font-size: 13px; color: var(--ink-2); margin-top: 6px; }
.el__limit { font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-3); margin-top: 8px; }
.el__class { position: absolute; top: 10px; right: 12px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em; color: var(--blue); }
.el--hot { border-color: var(--red-line); background: var(--red-bg); }
.el--hot .el__sym, .el--hot .el__class { color: var(--red-fg); }
.el--hot::after { content: "Most often missing"; position: absolute; left: 12px; bottom: -11px; background: var(--red-fg); color: #fff; font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; }

/* package comparator */
.compare { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.compare__tabs { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); background: var(--surface); }
.compare__tab { background: none; border: 0; border-right: 1px solid var(--line); padding: 18px 16px; font: inherit; cursor: pointer; text-align: left; color: var(--ink-2); position: relative; min-height: 76px; }
.compare__tab:last-child { border-right: 0; }
.compare__tab .t { display: block; font-weight: 600; color: var(--ink); font-size: 17px; }
.compare__tab .s { display: block; font-size: 13px; margin-top: 3px; }
.compare__tab[aria-selected="true"] { background: #fff; }
.compare__tab[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--blue); }
.compare__body { padding: clamp(18px, 3vw, 28px); }
.compare__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 8px 24px; }
.compare__list li { display: flex; gap: 12px; align-items: flex-start; padding: 9px 0; border-bottom: 1px solid var(--surface-2); font-size: 15px; opacity: 0; transform: translateX(-6px); transition: opacity .4s var(--ease), transform .4s var(--ease), background-color .3s; }
.compare__panel.is-active .compare__list li { opacity: 1; transform: none; }
.compare__list li .chk { flex: none; width: 20px; height: 20px; border-radius: 50%; display: inline-grid; place-items: center; margin-top: 1px; background: var(--surface-2); color: var(--ink-3); }
.compare__list li.is-new .chk { background: var(--blue); color: #fff; }
.compare__list li.is-new { font-weight: 500; }
.compare__list li .chk svg { width: 11px; height: 11px; }
.compare__panel { display: none; }
.compare__panel.is-active { display: block; }
.compare__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 20px; padding-top: 18px; margin-top: 8px; border-top: 1px solid var(--line); }
.compare__legend { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .08em; color: var(--ink-3); display: flex; gap: 16px; }
.compare__legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; }
@media (max-width: 640px) { .compare__tabs { grid-template-columns: 1fr; } .compare__tab { border-right: 0; border-bottom: 1px solid var(--line); min-height: 0; } }

/* lot timeline (process qualification) */
.lots { display: flex; gap: 6px; flex-wrap: wrap; align-items: flex-end; margin: 22px 0 8px; }
.lot { width: 28px; height: 40px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--line); position: relative; opacity: 0; transform: translateY(8px); transition: opacity .4s var(--ease), transform .4s var(--ease), background .3s; }
.is-in .lot { opacity: 1; transform: none; }
.lot--full { background: var(--blue); border-color: var(--blue); }
.lot--full::after { content: ""; position: absolute; inset: 6px 8px; border-radius: 3px; background: repeating-linear-gradient(0deg, rgba(255,255,255,.55) 0 2px, transparent 2px 5px); }
.lot--verify { background: var(--sky); border-color: var(--sky); }
.lot--gap { width: 10px; background: transparent; border: 0; }
.lots-key { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13.5px; color: var(--ink-2); }
.lots-key i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 7px; vertical-align: -1px; border: 1px solid var(--line); background: var(--surface-2); }
.lots-key i.f { background: var(--blue); border-color: var(--blue); } .lots-key i.v { background: var(--sky); border-color: var(--sky); }

/* stepper with drawing line (segment per step, ends at the last circle) */
.stepper { position: relative; margin: 0; padding: 0; }
.stepper li { list-style: none; position: relative; padding: 0 0 36px 78px; }
.stepper li:last-child { padding-bottom: 0; }
.stepper li:not(:last-child)::before, .stepper li:not(:last-child)::after { content: ""; position: absolute; left: 27px; top: 46px; bottom: -2px; width: 2px; }
.stepper li:not(:last-child)::before { background: var(--line); }
.stepper li:not(:last-child)::after { background: var(--blue); transform: scaleY(0); transform-origin: top; transition: transform .7s var(--ease); }
.stepper.is-in li:nth-child(1)::after { transform: scaleY(1); transition-delay: .35s; }
.stepper.is-in li:nth-child(2)::after { transform: scaleY(1); transition-delay: 1.05s; }
.stepper .n { position: absolute; left: 6px; top: 0; width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 2px solid var(--line); display: grid; place-items: center; font-family: var(--font-mono); font-size: 13px; color: var(--blue); transition: border-color .4s, background .4s, color .4s; }
.stepper.is-in .n { border-color: var(--blue); }
.stepper li:nth-child(1) .n { transition-delay: .2s } .stepper li:nth-child(2) .n { transition-delay: .9s } .stepper li:nth-child(3) .n { transition-delay: 1.6s }
.stepper h3 { font-size: 21px; margin: 6px 0 8px; }
.stepper p { color: var(--ink-2); max-width: 60ch; }

/* routes diagram (compounding) */
.routes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; position: relative; }
.route { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: #fff; position: relative; overflow: hidden; }
.route::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--green-fg); }
.route--wait::before { background: var(--amber-fg); }
.route .k { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; display: flex; justify-content: space-between; }
.route h3 { font-size: 19px; margin-bottom: 8px; }
.route p { font-size: 15px; color: var(--ink-2); }
.route .badge { margin-top: 12px; }

/* sticky section index */
.toc { position: sticky; top: 92px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 8px 0 8px 16px; font-size: 14px; color: var(--ink-3); border-left: 2px solid transparent; margin-left: -1px; }
.toc a:hover { color: var(--ink); text-decoration: none; }
.toc a.is-active { color: var(--blue); border-left-color: var(--blue); font-weight: 500; }
.with-toc { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 960px) { .with-toc { grid-template-columns: 1fr; } .toc { display: none; } }

/* count-up */
.stat { font-size: clamp(34px, 4vw, 52px); font-weight: 500; letter-spacing: -0.03em; line-height: 1; }
.stat small { font-size: 16px; color: var(--ink-3); letter-spacing: 0; margin-left: 6px; }

/* page transition */
.page-veil { position: fixed; inset: 0; background: var(--navy); z-index: 200; transform: scaleY(0); transform-origin: top; pointer-events: none; }
html.is-leaving .page-veil { transform: scaleY(1); transform-origin: bottom; transition: transform .45s var(--ease); }
html.is-entering .page-veil { transform: scaleY(1); transform-origin: top; animation: veilOut .6s var(--ease) forwards; }
@keyframes veilOut { to { transform: scaleY(0); } }

/* back to top */
.to-top { position: fixed; right: 18px; bottom: 18px; width: 46px; height: 46px; border-radius: 50%; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; place-items: center; color: var(--ink); opacity: 0; transform: translateY(10px); transition: opacity .3s, transform .3s var(--ease); z-index: 40; }
.to-top.is-visible { opacity: 1; transform: none; }
.to-top svg { width: 16px; height: 16px; }

@media (prefers-reduced-motion: reduce) {
  .words .w, [data-stagger] > *, table.data tbody tr, .compare__list li, .lot, .dg .anim-pop, .dg .anim-grow { opacity: 1 !important; transform: none !important; transition: none !important; animation: none !important; }
  .dg .anim-draw { stroke-dashoffset: 0 !important; animation: none !important; }
  .bar__fill { width: var(--w, 0%) !important; transition: none; }
  .stepper li:not(:last-child)::after { transform: scaleY(1); transition: none; }
  .story__step { opacity: 1; }
  .page-veil { display: none; }
  .dg .pulse { animation: none; opacity: 1; }
}

.toc-link { color: var(--ink-3); padding: 6px 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.toc-link:hover { color: var(--ink); text-decoration: none; }
.toc-link.is-active { color: var(--blue); border-bottom-color: var(--blue); font-weight: 500; }
@media (max-width: 700px) { nav[aria-label="On this page"] { position: static !important; } nav[aria-label="On this page"] .container { overflow-x: auto; flex-wrap: nowrap !important; -webkit-overflow-scrolling: touch; } }

/* ---- hero visual: certificate card ---- */
.coa { position: relative; background: rgba(255,255,255,.96); color: var(--ink); border-radius: 14px; padding: 26px 26px 22px; box-shadow: 0 40px 80px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.4) inset; max-width: 440px; width: 100%; justify-self: end; transform: rotate(-1.2deg); }
.coa::before { content: ""; position: absolute; inset: 10px; border: 1px solid var(--line); border-radius: 8px; pointer-events: none; }
.coa__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.coa__title { font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); }
.coa__no { font-family: var(--font-mono); font-size: 11px; color: var(--ink-3); }
.coa__row { display: grid; grid-template-columns: 22px 92px 1fr; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px dashed var(--line); font-size: 14.5px; opacity: 0; transform: translateX(-8px); animation: heroIn .7s var(--ease) forwards; }
.coa__row:last-of-type { border-bottom: 0; }
.coa__row:nth-child(2) { animation-delay: 1.5s } .coa__row:nth-child(3) { animation-delay: 1.75s } .coa__row:nth-child(4) { animation-delay: 2s } .coa__row:nth-child(5) { animation-delay: 2.25s }
.coa__chk { width: 22px; height: 22px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; }
.coa__chk svg { width: 11px; height: 11px; }
.coa__k { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.coa__v { color: var(--ink); }
.coa__v .mono { font-family: var(--font-mono); font-size: 12.5px; color: var(--blue); }
.coa__footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.coa__stamp { flex: none; font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); border: 1.5px solid var(--blue); border-radius: 6px; padding: 6px 9px; transform: rotate(-3deg); opacity: 0; animation: stampIn .5s cubic-bezier(.2,1.4,.4,1) 2.6s forwards; }
@keyframes stampIn { from { opacity: 0; transform: rotate(-3deg) scale(1.5); } to { opacity: 1; transform: rotate(-3deg) scale(1); } }
.hero .coa__foot, .coa__foot { color: var(--ink-3); font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; margin: 0; }
@media (max-width: 900px) { .coa { transform: none; max-width: none; justify-self: stretch; } .coa__footer { flex-wrap: wrap; } }

/* ---- hero visual: tier ladder ---- */
.ladder { background: rgba(7,26,48,.5); border: 1px solid rgba(255,255,255,.14); border-radius: 14px; padding: 24px; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 40px 80px rgba(0,0,0,.4); max-width: 440px; width: 100%; justify-self: end; }
.ladder__head { font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: #9FB8D3; margin-bottom: 18px; display: flex; justify-content: space-between; }
.ladder__row { display: grid; grid-template-columns: 110px 1fr 48px; gap: 12px; align-items: center; padding: 10px 0; }
.ladder__name { color: #fff; font-weight: 500; font-size: 15px; }
.ladder__name small { display: block; font-weight: 400; font-size: 12px; color: #9FB8D3; margin-top: 2px; }
.ladder__track { display: block; height: 8px; background: rgba(255,255,255,.1); border-radius: 999px; overflow: hidden; }
.ladder__fill { display: block; height: 100%; width: var(--w); border-radius: 999px; background: linear-gradient(90deg, var(--blue), var(--sky)); transform: scaleX(0); transform-origin: left; animation: growX 1.2s var(--ease) forwards; }
.ladder__row:nth-child(2) .ladder__fill { animation-delay: 1.5s } .ladder__row:nth-child(3) .ladder__fill { animation-delay: 1.75s } .ladder__row:nth-child(4) .ladder__fill { animation-delay: 2s }
@keyframes growX { to { transform: scaleX(1); } }
.ladder__n { font-family: var(--font-mono); font-size: 13px; color: var(--sky); text-align: right; }
.ladder__foot { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: #9FB8D3; margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.12); }
@media (max-width: 900px) { .ladder { max-width: none; justify-self: stretch; } }

/* ---- statement section ---- */
.statement { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.statement p.big { font-size: clamp(22px, 2.6vw, 34px); line-height: 1.3; letter-spacing: -0.02em; font-weight: 500; color: var(--ink); max-width: 24ch; }
.statement p.big em { font-style: normal; color: var(--blue); }
.statement .figure { aspect-ratio: 4 / 5; }
@media (max-width: 900px) { .statement { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  .coa__row, .coa__stamp { opacity: 1; transform: none; animation: none; }
  .coa { transform: none; }
  .ladder__fill { transform: none; animation: none; }
}

/* quote block keeps the form as the wider column */
#quote.cta-dark .container { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: start; }
@media (max-width: 900px) { #quote.cta-dark .container { grid-template-columns: 1fr; } }

/* ---- signature hero: photo-led, balanced two columns, glass certificate card ---- */
.hero--signature .hero__grid { display: none; }
.hero--signature .hero__veil { background:
  linear-gradient(90deg, rgba(11,36,64,.9) 0%, rgba(11,36,64,.66) 36%, rgba(11,36,64,.18) 58%, rgba(11,36,64,.05) 100%),
  linear-gradient(180deg, rgba(11,36,64,.55) 0%, rgba(11,36,64,0) 30%, rgba(11,36,64,.6) 100%); }
.hero--signature .hero__bg img { filter: none; }
@media (min-width: 901px) {
  .hero--signature .hero__inner { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
  .hero--signature .coa { align-self: center; margin-top: 6vh; transform: rotate(-0.8deg); }
}
.hero--signature .coa { padding: 20px 22px 18px; }
.hero--signature .coa__row { padding: 10px 0; }
.hero--signature .coa { background: rgba(7,26,48,.58); color: #fff; border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 40px 80px rgba(0,0,0,.45); max-width: 400px; }
.hero--signature .coa::before { border-color: rgba(255,255,255,.12); }
.hero--signature .coa__head { border-bottom-color: rgba(255,255,255,.14); }
.hero--signature .coa__title, .hero--signature .coa__no, .hero--signature .coa__k, .hero--signature .coa__foot { color: #9FB8D3; }
.hero--signature .coa__row { border-bottom-color: rgba(255,255,255,.12); }
.hero--signature .coa__v { color: #fff; }
.hero--signature .coa__v .mono { color: var(--sky); }
.hero--signature .coa__chk { background: var(--sky); color: var(--navy); }
.hero--signature .coa__footer { border-top-color: rgba(255,255,255,.14); }
.hero--signature .coa__stamp { color: var(--sky); border-color: var(--sky); }
@media (max-width: 900px) {
  .hero--signature .hero__veil { background: linear-gradient(180deg, rgba(11,36,64,.92) 0%, rgba(11,36,64,.75) 45%, rgba(11,36,64,.85) 100%); }
}

/* signature hero: photo occupies the right side only, left edge fades into navy, so the vial lands at ~78% of the viewport */
.hero--signature .hero__bg { background: var(--navy); }
@media (min-width: 901px) {
  .hero--signature .hero__bg img { position: absolute; top: 0; right: 0; left: auto; height: 100%; width: min(70%, 1400px); object-position: 66% 50%;
    -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 30%); mask-image: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 30%); }
  .hero--signature .hero__veil { background:
    linear-gradient(90deg, rgba(11,36,64,.55) 0%, rgba(11,36,64,.25) 40%, rgba(11,36,64,0) 62%),
    linear-gradient(180deg, rgba(11,36,64,.5) 0%, rgba(11,36,64,0) 30%, rgba(11,36,64,.55) 100%); }
  .hero--signature .coa { max-width: 380px; }
}
