/* ==========================================================================
   Alpha Biomedical — design system
   Palette: logo teal + deep petrol ink. Teal is the only chromatic hue.
   Contrast-checked: #187772 on white 5.36:1 · white on #0d2b2b 15.0:1
                     #7bd1cc on ink 8.47:1 · #40b0ab on ink 5.74:1
   ========================================================================== */

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

:root {
  /* --- ink (depth) --- */
  --ink-900: #071d1d;
  --ink-800: #0d2b2b;
  --ink-700: #123a3a;
  --ink-600: #1c4f4e;

  /* --- teal (logo) --- */
  --teal-800: #115f5b;
  --teal-700: #187772;   /* text-safe teal on white (5.36:1) */
  --teal-600: #228782;
  --teal-500: #268f8a;   /* logo core — sampled from the 2026 high-res logo */
  --teal-400: #40b0ab;
  --teal-300: #7bd1cc;
  --teal-100: #cfedeb;
  --teal-50:  #e9f7f6;

  /* --- neutrals --- */
  --ink-body: #24323c;
  --muted:    #5f7280;
  --gray-500: #87929c;   /* logo wordmark grey — decorative / on-dark only */
  --line:     #e2eaef;
  --paper:    #ffffff;
  --paper-2:  #f4f7f9;

  /* --- type --- */
  --font-display: 'Montserrat', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;

  /* --- layout --- */
  --maxw: 1180px;
  --narrow: 760px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --nav-h: 76px;
  --section-y: clamp(4.5rem, 9vw, 8.5rem);

  /* --- motion --- */
  --ease: cubic-bezier(.22, .61, .36, 1);

  --shadow-sm: 0 1px 2px rgba(7, 29, 29, .06), 0 2px 8px rgba(7, 29, 29, .04);
  --shadow-md: 0 4px 12px rgba(7, 29, 29, .07), 0 12px 32px rgba(7, 29, 29, .07);
  --shadow-lg: 0 10px 24px rgba(7, 29, 29, .10), 0 30px 60px rgba(7, 29, 29, .10);
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--ink-body);
  background: var(--paper);
  line-height: 1.65;
  font-size: 1rem;
  overflow-x: clip;           /* the page must never scroll sideways */
  -webkit-font-smoothing: antialiased;
}

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

::selection { background: var(--teal-100); color: var(--ink-900); }

:focus-visible {
  outline: 3px solid var(--teal-500);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ── bilingual: one DOM, CSS decides which language is visible ───────────── */
html[data-lang="es"] [lang="en"] { display: none !important; }
html[data-lang="en"] [lang="es"] { display: none !important; }

/* ── skip link ───────────────────────────────────────────────────────────── */
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink-800); color: #fff;
  padding: .75rem 1.25rem; border-radius: 0 0 8px 0;
  font-weight: 600; text-decoration: none;
}
.skip:focus { left: 0; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ── type primitives ─────────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -.015em;
  color: var(--ink-800);
  font-weight: 700;
  text-wrap: balance;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--teal-700);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: .7rem;
}
.eyebrow::before {
  content: '';
  width: 28px; height: 2px;
  background: var(--teal-500);
  flex: none;
}
.on-dark .eyebrow { color: var(--teal-300); }
.on-dark .eyebrow::before { background: var(--teal-400); }

.h2 { font-size: clamp(1.85rem, 4vw, 3rem); }
.h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }

.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--muted);
  max-width: 62ch;
  margin-top: 1.25rem;
  line-height: 1.7;
}
.on-dark .lede { color: rgba(255, 255, 255, .82); }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { width: 100%; max-width: var(--narrow); margin-inline: auto; padding-inline: var(--gutter); }

section { position: relative; }
.section { padding-block: var(--section-y); }
.section-head { max-width: 70ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }

[id] { scroll-margin-top: calc(var(--nav-h) + 24px); }

.on-dark { background: var(--ink-800); color: rgba(255, 255, 255, .86); }
.on-dark h2, .on-dark h3, .on-dark h4 { color: #fff; }
.alt { background: var(--paper-2); }

/* hairline divider that reads as a seam, not a border */
.seam { height: 1px; background: linear-gradient(90deg, transparent, var(--line) 20%, var(--line) 80%, transparent); }

/* ── scroll-reveal engine ────────────────────────────────────────────────── */
/* Scoped to html.js (set inline in <head>) so that without JS every element
   stays visible instead of being stranded at opacity 0. */
html.js [data-reveal] {
  opacity: 0;
  transition:
    opacity .8s var(--ease),
    transform .8s var(--ease),
    clip-path .9s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
  will-change: opacity, transform;
}
html.js [data-reveal="up"]    { transform: translateY(30px); }
html.js [data-reveal="left"]  { transform: translateX(-34px); }
html.js [data-reveal="right"] { transform: translateX(34px); }
html.js [data-reveal="scale"] { transform: scale(.94); }
html.js [data-reveal="fade"]  { transform: none; }
html.js [data-reveal="clip"]  { clip-path: inset(0 100% 0 0); opacity: 1; }

html.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
  clip-path: inset(0 0 0 0);
}

/* ── nav ─────────────────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: height .3s var(--ease), box-shadow .3s var(--ease),
              border-color .3s var(--ease), background .3s var(--ease);
}
.nav.is-stuck {
  height: 62px;
  border-bottom-color: var(--line);
  box-shadow: 0 4px 20px rgba(7, 29, 29, .06);
}
.nav-inner {
  width: 100%; max-width: var(--maxw); margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}

/* horizontal lockup: the globe mark + typeset wordmark (the stacked
   lockup PNG is illegible below ~90px, so it is not used here) */
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; flex: none; }
.brand img { height: 40px; width: auto; transition: height .3s var(--ease); }
.nav.is-stuck .brand img { height: 33px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 700; font-size: 1.12rem;
  letter-spacing: .04em; color: var(--teal-700);
}
.brand-sub {
  font-family: var(--font-body);
  font-size: .58rem; font-weight: 600;
  letter-spacing: .3em; color: var(--gray-500);
  margin-top: .22rem;
}

.nav-links { display: flex; align-items: center; gap: clamp(.9rem, 2vw, 1.9rem); list-style: none; }
.nav-links a {
  position: relative;
  font-size: .875rem; font-weight: 500;
  color: var(--ink-body); text-decoration: none;
  padding: .35rem 0; white-space: nowrap;
  transition: color .2s;
}
.nav-links a::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--teal-500);
  transform: scaleX(0); transform-origin: left;
  transition: transform .28s var(--ease);
}
.nav-links a:hover { color: var(--teal-700); }
.nav-links a:hover::after,
.nav-links a[aria-current="true"]::after { transform: scaleX(1); }
.nav-links a[aria-current="true"] { color: var(--teal-700); font-weight: 600; }

.nav-tools { display: flex; align-items: center; gap: .6rem; flex: none; }

/* language toggle */
.lang {
  display: inline-flex; align-items: center;
  border: 1px solid var(--line); border-radius: 999px;
  padding: 2px; background: var(--paper);
}
.lang button {
  font: inherit; font-size: .72rem; font-weight: 700; letter-spacing: .06em;
  border: 0; cursor: pointer; background: none; color: var(--muted);
  padding: .34rem .62rem; border-radius: 999px;
  transition: background .2s, color .2s;
}
.lang button[aria-pressed="true"] { background: var(--teal-700); color: #fff; }
.lang button:hover:not([aria-pressed="true"]) { color: var(--teal-700); }

/* scroll progress */
.progress {
  position: fixed; top: 0; left: 0; height: 2px; z-index: 120;
  width: 100%; transform: scaleX(0); transform-origin: left;
  background: linear-gradient(90deg, var(--teal-700), var(--teal-400));
}

/* burger */
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: .5rem; }
.burger span { width: 22px; height: 2px; background: var(--ink-700); border-radius: 2px; transition: .3s var(--ease); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-body); font-size: .92rem; font-weight: 600;
  padding: .85rem 1.6rem; border-radius: 999px;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  transition: background .22s var(--ease), color .22s, border-color .22s, transform .22s var(--ease), box-shadow .22s;
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-primary { background: var(--teal-700); color: #fff; }
.btn-primary:hover { background: var(--teal-800); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; transform: translateY(-2px); }
.btn-outline { border-color: var(--teal-700); color: var(--teal-700); }
.btn-outline:hover { background: var(--teal-700); color: #fff; transform: translateY(-2px); }

.link-arrow {
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 600; font-size: .92rem;
  color: var(--teal-700); text-decoration: none;
}
.link-arrow svg { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.on-dark .link-arrow { color: var(--teal-300); }

/* ── hero ────────────────────────────────────────────────────────────────── */
.hero {
  position: relative; isolation: isolate;
  min-height: min(92vh, 800px);
  display: flex; align-items: center;
  /* kept tight so the CTAs stay above the fold on a 900px-tall screen */
  padding-block: clamp(3rem, 8vh, 5rem);
  background: linear-gradient(150deg, var(--ink-900) 0%, var(--ink-700) 42%, var(--teal-700) 100%);
  color: #fff;
  overflow: hidden;
}
/* faint globe mark, bled off the right edge */
.hero-mark {
  position: absolute; z-index: -1;
  right: -6%; top: 50%; transform: translateY(-50%);
  width: clamp(340px, 46vw, 700px);
  opacity: .07; pointer-events: none;
  animation: drift 26s ease-in-out infinite;
}
/* soft teal bloom */
.hero::before {
  content: ''; position: absolute; z-index: -2;
  width: 60vw; height: 60vw; right: -10vw; top: -20vw;
  background: radial-gradient(circle, rgba(64, 176, 171, .30), transparent 62%);
  filter: blur(20px);
}
/* fine grid, fades out downward */
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, #000 5%, transparent 78%);
  -webkit-mask-image: linear-gradient(to bottom, #000 5%, transparent 78%);
}
@keyframes drift {
  0%, 100% { transform: translateY(-50%) rotate(0deg); }
  50%      { transform: translateY(-54%) rotate(5deg); }
}

.hero-inner { position: relative; max-width: 47rem; }
.hero-logo { width: clamp(120px, 15vw, 155px); margin-bottom: clamp(1.25rem, 3vw, 1.75rem); }
.hero h1 {
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: -.025em;
  line-height: 1.06;
}
.hero h1 em { font-style: normal; color: var(--teal-300); }
.hero-lede {
  margin-top: 1.25rem;
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  color: rgba(255, 255, 255, .84);
  max-width: 46ch; line-height: 1.7;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 1.75rem;
  margin-top: 2.5rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .16);
  font-size: .82rem; color: rgba(255, 255, 255, .7);
}
.hero-meta strong { display: block; color: #fff; font-size: .95rem; font-weight: 600; margin-bottom: .15rem; }

/* parked on the right: the hero copy is left-aligned, so centring it collided
   with the meta row on shorter screens */
.scroll-cue {
  position: absolute; bottom: 1.75rem; right: var(--gutter);
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  font-size: .66rem; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(255, 255, 255, .6); text-decoration: none;
}
.scroll-cue .cue-line { width: 1px; height: 34px; background: linear-gradient(rgba(255,255,255,.55), transparent); }
.scroll-cue::after {
  content: ''; position: absolute; bottom: 0; left: 50%;
  width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%;
  background: var(--teal-300);
  animation: cue 2.1s var(--ease) infinite;
}
@keyframes cue {
  0%   { transform: translateY(-30px); opacity: 0; }
  45%  { opacity: 1; }
  100% { transform: translateY(2px); opacity: 0; }
}
/* no room for it on short screens */
@media (max-height: 680px) { .scroll-cue { display: none; } }

/* ── KPI row of stat tiles (no chart: these are headline numbers) ────────── */
.kpi-row {
  display: grid; gap: clamp(1rem, 2vw, 1.5rem);
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}
.stat {
  padding: 1.75rem 1.5rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .1);
}
.stat-value {
  /* body sans, proportional figures — a display face here reads as decoration */
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(2rem, 4.2vw, 2.9rem);
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--teal-300);
}
.stat-unit { font-size: .5em; font-weight: 600; letter-spacing: 0; margin-left: .5em; color: rgba(255,255,255,.72); }
.stat-label {
  margin-top: .8rem;
  font-size: .84rem; line-height: 1.5;
  color: rgba(255, 255, 255, .74);
}
.stat-note { margin-top: .6rem; font-size: .72rem; color: rgba(255, 255, 255, .5); }

/* one hero figure per view */
.hero-figure {
  font-family: var(--font-body);
  font-weight: 600; font-size: clamp(3.2rem, 8vw, 5.5rem);
  line-height: .95; letter-spacing: -.04em;
  color: var(--teal-300);
}

.source-note {
  margin-top: 2rem; font-size: .76rem; line-height: 1.6;
  color: rgba(255, 255, 255, .52); max-width: 68ch;
}
.source-note a { color: rgba(255, 255, 255, .72); }

/* pull quote */
.pull {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-left: clamp(1.1rem, 2vw, 1.6rem);
  border-left: 3px solid var(--teal-400);
  max-width: 58ch;
}
.pull p {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  font-weight: 600; line-height: 1.5;
  color: var(--ink-800);
}
.on-dark .pull p { color: #fff; }

/* ── vision / mission panels ─────────────────────────────────────────────── */
.vm-grid { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); }
.vm {
  position: relative; overflow: hidden;
  padding: clamp(2rem, 3.5vw, 3rem);
  border-radius: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.vm:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.vm::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(var(--teal-500), var(--teal-300));
}
.vm-num {
  font-family: var(--font-display); font-size: 3.6rem; font-weight: 800;
  line-height: 1; color: var(--teal-50); letter-spacing: -.04em;
  position: absolute; right: 1.5rem; top: 1rem;
}
.vm h3 {
  font-size: .78rem; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--teal-700); margin-bottom: 1.1rem;
}
.vm p { font-size: clamp(1rem, 1.4vw, 1.1rem); line-height: 1.75; color: var(--ink-body); position: relative; }

/* ── generic card grid (pillars, capabilities) ───────────────────────────── */
.cards { display: grid; gap: clamp(1rem, 2vw, 1.6rem); grid-template-columns: repeat(auto-fit, minmax(min(270px, 100%), 1fr)); }
/* 4-card sets: 2x2 rather than 3 + a stranded 4th */
.cards-2 { grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); }
.card {
  padding: clamp(1.5rem, 2.4vw, 2.1rem);
  border-radius: 14px; background: var(--paper);
  border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--teal-100); }
.card h3 { font-size: 1.06rem; margin-bottom: .6rem; }
.card p { font-size: .92rem; color: var(--muted); line-height: 1.7; }
.card-icon {
  width: 44px; height: 44px; border-radius: 11px;
  display: grid; place-items: center; margin-bottom: 1.1rem;
  background: var(--teal-50); color: var(--teal-700);
}
.card-icon svg { width: 21px; height: 21px; }
.on-dark .card { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); }
.on-dark .card p { color: rgba(255,255,255,.72); }
.on-dark .card-icon { background: rgba(64,176,171,.16); color: var(--teal-300); }

/* ── team ────────────────────────────────────────────────────────────────── */
/* 250px min => 4 across on desktop, so 7 people read as 4 + 3, not 3 + 3 + 1 */
.team-grid { display: grid; gap: clamp(1.1rem, 2vw, 1.75rem); grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.member {
  display: flex; flex-direction: column;
  padding: clamp(1.5rem, 2.2vw, 2rem);
  border-radius: 16px; background: var(--paper);
  border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.member:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.member.is-lead { background: linear-gradient(165deg, var(--teal-50), var(--paper) 62%); border-color: var(--teal-100); }
/* monogram stands in until real portraits are supplied */
.avatar {
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center; margin-bottom: 1.15rem;
  background: linear-gradient(140deg, var(--teal-600), var(--teal-800));
  color: #fff; font-family: var(--font-display); font-weight: 700;
  font-size: 1.15rem; letter-spacing: .02em; flex: none;
}
.member-name { font-family: var(--font-display); font-size: 1.08rem; font-weight: 700; color: var(--ink-800); }
.member-role {
  margin-top: .3rem; font-size: .78rem; font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase; color: var(--teal-700);
}
.member-bio { margin-top: .95rem; font-size: .89rem; line-height: 1.7; color: var(--muted); }
.member-bio.is-todo { color: var(--gray-500); font-style: italic; }

/* org chart strip */
.org { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); margin-top: 2.5rem; }
.org-unit {
  padding: .95rem 1.1rem; border-radius: 10px;
  background: var(--paper-2); border: 1px solid var(--line);
  font-size: .82rem;
}
.org-unit strong { display: block; font-family: var(--font-display); font-size: .68rem; letter-spacing: .13em; text-transform: uppercase; color: var(--teal-700); margin-bottom: .3rem; }

/* ── legal / document prose ──────────────────────────────────────────────── */
.doc-hero {
  background: linear-gradient(150deg, var(--ink-900), var(--ink-700) 60%, var(--teal-800));
  color: #fff;
  padding-block: clamp(3.5rem, 9vw, 6rem) clamp(3rem, 7vw, 5rem);
}
.doc-hero h1 { color: #fff; font-size: clamp(1.9rem, 4.6vw, 3.1rem); }
.doc-hero .lede { color: rgba(255,255,255,.82); }
/* the default eyebrow teal is unreadable on the dark hero */
.doc-hero .eyebrow { color: var(--teal-300); }
.doc-hero .eyebrow::before { background: var(--teal-400); }
.doc-meta {
  display: inline-flex; align-items: center; gap: .5rem;
  margin-top: 1.75rem; padding: .45rem .95rem;
  border-radius: 999px; background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  font-size: .76rem; color: rgba(255,255,255,.85);
}

.doc { padding-block: clamp(3rem, 6vw, 5rem); }
.doc h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  margin-top: 3.25rem; margin-bottom: 1rem;
  padding-bottom: .65rem; border-bottom: 1px solid var(--line);
}
.doc h2:first-of-type { margin-top: 0; }
.doc h3 { font-size: 1.05rem; margin-top: 1.9rem; margin-bottom: .55rem; }
.doc p, .doc li { font-size: .95rem; line-height: 1.78; color: var(--ink-body); }
.doc p { margin-bottom: 1rem; }
.doc ul, .doc ol { margin: 0 0 1.25rem 1.3rem; display: grid; gap: .55rem; }
.doc li::marker { color: var(--teal-500); }
.doc a { color: var(--teal-700); text-decoration: underline; text-underline-offset: 2px; }
.doc strong { color: var(--ink-800); font-weight: 600; }

.callout {
  padding: 1.25rem 1.5rem; border-radius: 12px;
  background: var(--teal-50); border: 1px solid var(--teal-100);
  border-left: 4px solid var(--teal-500);
  margin: 1.75rem 0;
}
.callout p { font-size: .89rem; margin: 0; color: var(--ink-700); }
.callout p + p { margin-top: .6rem; }
.callout-warn { background: #fff8ec; border-color: #f3ddb4; border-left-color: #d99a2b; }
.callout-warn p { color: #6b4a12; }
.callout-title { font-weight: 700; font-family: var(--font-display); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-800); margin-bottom: .5rem !important; }
.callout-warn .callout-title { color: #8a5c10; }

/* table of contents */
.toc {
  padding: 1.5rem 1.75rem; border-radius: 14px;
  background: var(--paper-2); border: 1px solid var(--line);
  margin-bottom: 3rem;
}
.toc h2 { font-size: .76rem !important; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-700); border: 0 !important; margin: 0 0 .9rem !important; padding: 0 !important; }
.toc ol { list-style: none; margin: 0; display: grid; gap: .5rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.toc a { font-size: .88rem; color: var(--ink-body); text-decoration: none; display: flex; gap: .55rem; }
.toc a:hover { color: var(--teal-700); }
/* only the leading number is teal — the label keeps body ink, so entries
   without a language span (e.g. "Chile") match the rest */
.toc a span:first-child { color: var(--teal-500); font-weight: 700; font-size: .78rem; }

/* data table inside docs */
.table-scroll { overflow-x: auto; margin: 1.5rem 0; border: 1px solid var(--line); border-radius: 12px; }
table { border-collapse: collapse; width: 100%; min-width: 560px; }
th, td { text-align: left; padding: .85rem 1.1rem; font-size: .87rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--paper-2); font-family: var(--font-display); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-800); font-weight: 700; }
tbody tr:last-child td { border-bottom: 0; }

/* ── contact / location ──────────────────────────────────────────────────── */
.split { display: grid; gap: clamp(2rem, 4vw, 3.5rem); grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); align-items: start; }

.info-item { display: flex; gap: 1rem; padding-block: 1.1rem; border-bottom: 1px solid rgba(255,255,255,.12); }
.info-item:last-child { border-bottom: 0; }
.info-ico {
  width: 40px; height: 40px; border-radius: 10px; flex: none;
  display: grid; place-items: center;
  background: rgba(64,176,171,.16); color: var(--teal-300);
}
.info-ico svg { width: 19px; height: 19px; }
.info-item h4 { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-300); margin-bottom: .3rem; }
.info-item p { font-size: .92rem; color: rgba(255,255,255,.8); line-height: 1.6; }
.info-item a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.3); }
.info-item a:hover { border-bottom-color: var(--teal-300); }

.form-card {
  padding: clamp(1.6rem, 3vw, 2.4rem);
  border-radius: 18px; background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
}
.field { margin-bottom: 1.1rem; }
.field-row { display: grid; gap: 1.1rem; grid-template-columns: 1fr 1fr; }
label { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .04em; color: rgba(255,255,255,.8); margin-bottom: .45rem; }
input, select, textarea {
  width: 100%; font: inherit; font-size: .92rem;
  padding: .8rem 1rem; border-radius: 9px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.16);
  color: #fff;
  transition: border-color .2s, background .2s;
}
input::placeholder, textarea::placeholder { color: rgba(255,255,255,.42); }
input:focus, select:focus, textarea:focus { border-color: var(--teal-300); background: rgba(255,255,255,.1); outline: none; }
select option { background: var(--ink-800); color: #fff; }
textarea { resize: vertical; min-height: 118px; }
.check { display: flex; gap: .7rem; align-items: flex-start; margin-bottom: 1.25rem; }
.check input { width: auto; flex: none; margin-top: .25rem; accent-color: var(--teal-500); }
.check label { font-size: .8rem; font-weight: 400; line-height: 1.6; margin: 0; color: rgba(255,255,255,.75); }
.check a { color: var(--teal-300); }
.form-note { margin-top: 1rem; font-size: .78rem; color: rgba(255,255,255,.55); }
.form-status { margin-top: 1rem; font-size: .88rem; font-weight: 600; color: var(--teal-300); }

/* ── footer ──────────────────────────────────────────────────────────────── */
footer { background: var(--ink-900); color: rgba(255,255,255,.7); padding-block: clamp(3rem, 6vw, 4.5rem) 0; }
.foot-grid { display: grid; gap: clamp(2rem, 4vw, 3rem); grid-template-columns: minmax(240px, 1.4fr) repeat(auto-fit, minmax(140px, 1fr)); }
.foot-brand img { width: 168px; margin-bottom: 1.25rem; }
.foot-brand p { font-size: .87rem; line-height: 1.7; max-width: 34ch; }
.foot-col h4 { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-300); margin-bottom: 1.1rem; }
.foot-col ul { list-style: none; display: grid; gap: .7rem; }
.foot-col a { font-size: .87rem; color: rgba(255,255,255,.7); text-decoration: none; transition: color .2s; }
.foot-col a:hover { color: #fff; }
.foot-bottom {
  margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-block: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; justify-content: space-between;
  font-size: .78rem; color: rgba(255,255,255,.5);
}

/* ── responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .burger { display: flex; }
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); padding: 1rem var(--gutter) 1.75rem;
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid var(--line);
    max-height: calc(100vh - var(--nav-h)); overflow-y: auto;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }
  .nav-links.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav-links li { border-bottom: 1px solid var(--line); }
  .nav-links li:last-child { border-bottom: 0; }
  .nav-links a { display: block; padding: .95rem 0; font-size: 1rem; }
  .nav-links a::after { display: none; }
}
@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; }
  .hero-meta { gap: 1.1rem; flex-direction: column; }
  .brand-sub { display: none; }
  .foot-grid { grid-template-columns: 1fr; }
}


/* ══ ALPHA GENETICS ═══════════════════════════════════════════════════════ */
.gx-hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: linear-gradient(150deg, var(--ink-900) 0%, var(--ink-700) 45%, var(--teal-800) 100%);
  color: #fff;
  padding-block: clamp(4rem, 10vw, 7.5rem) clamp(4.5rem, 11vw, 8rem);
}
.gx-hero::before {
  content: ''; position: absolute; z-index: -2;
  width: 55vw; height: 55vw; right: -12vw; top: -18vw;
  background: radial-gradient(circle, rgba(64, 176, 171, .28), transparent 62%);
  filter: blur(20px);
}
.gx-helix {
  position: absolute; z-index: -1; left: 0; right: 0; bottom: -8%;
  width: 100%; height: clamp(160px, 26vw, 300px);
  fill: none; opacity: .22; pointer-events: none;
}
.gx-helix path { stroke: var(--teal-300); stroke-width: 2.2; vector-effect: non-scaling-stroke; }
.gx-helix .gx-rungs line { stroke: var(--teal-400); stroke-width: 1.4; vector-effect: non-scaling-stroke; opacity: .7; }
.gx-hero-inner { position: relative; max-width: 46rem; }
.gx-kicker {
  display: inline-flex; align-items: center; gap: .65rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--teal-300);
  padding: .45rem .9rem .45rem .55rem; border-radius: 999px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14);
}
.gx-kicker img { height: 20px; width: auto; }
.gx-hero h1 {
  margin-top: 1.4rem;
  color: #fff; font-size: clamp(2.6rem, 7vw, 4.6rem);
  letter-spacing: -.03em; line-height: 1;
}
.gx-hero h1 em { font-style: normal; color: var(--teal-300); }

.gx-steps {
  list-style: none; display: grid; gap: 1.25rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  counter-reset: none;
}
.gx-steps li {
  position: relative;
  background: var(--paper); border: 1px solid var(--line); border-radius: 18px;
  padding: 1.75rem 1.5rem 1.6rem;
  box-shadow: var(--shadow-sm);
}
.gx-steps li::before {          /* connector toward the next step */
  content: ''; position: absolute; top: 2.55rem; left: calc(1.5rem + 3rem); right: -1.25rem;
  height: 1px; background: linear-gradient(90deg, var(--teal-300), transparent);
}
.gx-steps li:last-child::before { display: none; }
.gx-step-num {
  display: inline-grid; place-items: center;
  width: 2.6rem; height: 2.6rem; border-radius: 50%;
  font-family: var(--font-display); font-weight: 700; font-size: .9rem;
  color: #fff; background: linear-gradient(140deg, var(--teal-500), var(--teal-800));
  margin-bottom: 1.1rem;
}
.gx-steps h3 { font-size: 1.05rem; margin-bottom: .45rem; }
.gx-steps p { font-size: .92rem; color: var(--muted); }

.gx-contact {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.gx-line {
  position: relative;
  background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 22px;
  padding: clamp(1.75rem, 4vw, 2.5rem);
}
.gx-line::before {
  content: ''; position: absolute; left: clamp(1.75rem, 4vw, 2.5rem); top: 0;
  width: 56px; height: 3px; border-radius: 0 0 3px 3px; background: var(--teal-400);
}
.gx-line-label {
  font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--teal-300);
}
.gx-number {
  display: block; margin-top: .6rem;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.75rem, 4vw, 2.5rem); letter-spacing: .01em;
  color: #fff; text-decoration: none; white-space: nowrap;
}
.gx-number:hover { color: var(--teal-300); }
.gx-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.gx-privacy {
  margin-top: 1.5rem; padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .8rem; line-height: 1.6; color: rgba(255, 255, 255, .6);
}
.gx-disclaimer {
  margin-top: clamp(2.5rem, 5vw, 3.5rem); max-width: 70ch;
  font-size: .8rem; line-height: 1.6; color: rgba(255, 255, 255, .5);
}

@media (max-width: 1000px) {
  .gx-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gx-steps li::before { display: none; }
}
@media (max-width: 800px) {
  .gx-contact { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .gx-steps { grid-template-columns: 1fr; }
  .gx-actions .btn { flex: 1 1 auto; justify-content: center; }
}


/* home-page teaser for Alpha Genetics */
.gx-band { padding-bottom: 0; }
.gx-teaser {
  display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center;
  padding: clamp(2rem, 5vw, 3.5rem);
  border-radius: 26px; border: 1px solid var(--teal-100);
  background:
    radial-gradient(circle at 100% 0%, rgba(64, 176, 171, .16), transparent 55%),
    linear-gradient(160deg, var(--teal-50), var(--paper) 70%);
}
.gx-teaser .lede { margin-bottom: 0; }
.gx-accent { color: var(--teal-700); }
.gx-teaser-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 1.25rem; }
.gx-teaser-phone {
  display: flex; flex-direction: column; gap: .15rem; text-decoration: none;
  font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.gx-teaser-phone strong {
  font-family: var(--font-display); font-size: 1.3rem; letter-spacing: .01em; text-transform: none; color: var(--ink-800);
}
.gx-teaser-phone:hover strong { color: var(--teal-700); }
@media (max-width: 800px) { .gx-teaser { grid-template-columns: 1fr; } }


/* generic team band (no names) */
.team-band { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.team-band .lede { margin-bottom: 0; }
.team-points { list-style: none; display: grid; gap: 1rem; }
.team-points li {
  display: flex; gap: 1rem; align-items: flex-start;
  background: var(--paper); border: 1px solid var(--line); border-radius: 16px;
  padding: 1.25rem 1.4rem; box-shadow: var(--shadow-sm);
}
.team-points .card-icon { margin: 0; flex: none; }
.team-points strong { display: block; font-family: var(--font-display); color: var(--ink-800); font-size: 1rem; margin-bottom: .2rem; }
.team-points div { font-size: .92rem; color: var(--muted); line-height: 1.55; }
@media (max-width: 800px) { .team-band { grid-template-columns: 1fr; } }

/* ── motion & print ──────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  /* reveals must never leave content invisible */
  html.js [data-reveal] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
}

@media print {
  .nav, .progress, .scroll-cue, .burger, .lang, footer .foot-col { display: none !important; }
  body { color: #000; }
  .on-dark, .doc-hero, .hero { background: #fff !important; color: #000 !important; }
  .on-dark h2, .on-dark h3, .doc-hero h1 { color: #000 !important; }
  html.js [data-reveal] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
}

/* ── contact form states ── */
.form-status.is-error { color: #ffb4a8; }
#contact-form [aria-invalid="true"] { border-color: #ffb4a8; box-shadow: 0 0 0 3px rgba(255,180,168,.18); }
#contact-form button[disabled] { opacity: .6; cursor: progress; }
.source-note a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.gx-privacy a { color: var(--teal-300); }

/* contact: heading on the left, form on the right */
.contact-split { align-items: center; }
.contact-head { margin-bottom: 0; }

/* inline privacy notice under the contact form's consent box */
.form-privacy {
  margin: -.4rem 0 1.25rem;
  border: 1px solid rgba(255, 255, 255, .12); border-radius: 12px;
  background: rgba(255, 255, 255, .03);
}
.form-privacy summary {
  cursor: pointer; list-style: none;
  padding: .7rem 1rem; font-size: .8rem; font-weight: 600; color: var(--teal-300);
  display: flex; justify-content: space-between; align-items: center; gap: .75rem;
}
.form-privacy summary::-webkit-details-marker { display: none; }
.form-privacy summary::after {
  content: '+'; font-size: 1.05rem; line-height: 1; color: var(--teal-300); transition: transform .2s var(--ease);
}
.form-privacy[open] summary::after { transform: rotate(45deg); }
.form-privacy ul {
  list-style: none; display: grid; gap: .65rem;
  padding: .25rem 1rem 1rem; margin: 0;
  font-size: .78rem; line-height: 1.55; color: rgba(255, 255, 255, .7);
}
.form-privacy strong { color: #fff; font-weight: 600; margin-right: .25rem; }
