/* ============================================================
   ReWire — shared design system
   ============================================================ */
:root {
  --ink: #0A0A0A;
  --ink-2: #1A1A1A;
  --ink-3: #2D2D2D;
  --bg: #FFFFFF;
  --bg-soft: #FAFAF8;
  --surface: #F4F4F2;
  --line: #E5E5E2;
  --line-2: #D8D8D4;
  --mute: #6B6B68;
  --mute-2: #9A9A95;
  --teal: #CFE5DE;
  --teal-deep: #6FA697;
  --warm: #F2E6D8;
  --warm-deep: #C9A66B;
  --sans: "Geist", -apple-system, BlinkMacSystemFont, sans-serif;
  --container: 1240px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11", "tnum";
}
a { color: inherit; text-decoration: none; }
em { font-style: italic; }

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background .35s ease, border-color .35s ease, padding .35s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(255,255,255,0.82);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom-color: var(--line);
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
}
.brand-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ink);
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 13.5px;
}
.nav-link {
  color: var(--mute);
  transition: color .2s ease;
  letter-spacing: -0.005em;
}
.nav-link:hover { color: var(--ink); }
.nav-link.active { color: var(--ink); font-weight: 500; }
.nav-cta {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 500;
  transition: background .2s ease, transform .2s ease;
}
.nav-cta:hover { background: #2A2A2A; transform: translateY(-1px); color: #fff; }
.nav-toggle { display: none; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn svg { width: 14px; height: 14px; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #2A2A2A; transform: translateY(-1px); }
.btn-secondary { border-color: var(--line-2); color: var(--ink); }
.btn-secondary:hover { background: var(--surface); transform: translateY(-1px); }

/* ---------- HERO (home) ---------- */
.hero {
  position: relative;
  min-height: 94svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 130px 0 0;
  overflow: hidden;
  background: var(--bg);
}
.hero-inner {
  max-width: 1020px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.hero-eyebrow::before, .hero-eyebrow::after {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--mute-2);
}
.hero-title {
  font-weight: 400;
  font-size: clamp(40px, 6.2vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin: 0 0 30px;
  max-width: 18ch;
}
.hero-title .accent { color: var(--teal-deep); }
.hero-sub {
  font-size: clamp(17px, 1.65vw, 21px);
  line-height: 1.5;
  color: var(--mute);
  max-width: 720px;
  margin: 0 auto 44px;
  letter-spacing: -0.006em;
}
.hero-sub strong { color: var(--ink-2); font-weight: 500; }
.hero-cta-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
/* Quiet live signal beneath the text, never under it */
.hero-signal {
  position: relative;
  width: 100%;
  height: 170px;
  margin-top: 72px;
  overflow: hidden;
}
.hero-signal canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* ---------- PAGE HERO (subpages) ---------- */
.page-hero {
  max-width: var(--container);
  margin: 0 auto;
  padding: 170px 40px 70px;
  border-bottom: 1px solid var(--line);
}
.page-hero-eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.page-hero-eyebrow .idx { color: var(--mute-2); }
.page-hero h1 {
  font-weight: 400;
  font-size: clamp(40px, 5.6vw, 80px);
  line-height: 1.0;
  letter-spacing: -0.036em;
  max-width: 960px;
  margin-bottom: 30px;
}
.page-hero-sub {
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.5;
  color: var(--mute);
  max-width: 720px;
  letter-spacing: -0.006em;
}
.page-hero-sub strong { color: var(--ink-2); font-weight: 500; }
.page-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}
.pill {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-3);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 7px 14px;
}
.pill.solid { background: var(--ink); color: #fff; border-color: var(--ink); }
.pill.teal { background: var(--teal); border-color: transparent; color: #1A3B33; }

/* ---------- VISION ---------- */
.vision {
  max-width: var(--container);
  margin: 0 auto;
  padding: 150px 40px 160px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}
.section-label {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--mute);
  padding-top: 10px;
}
.vision-body {
  font-weight: 400;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.18;
  letter-spacing: -0.028em;
  max-width: 880px;
  color: var(--ink);
}
.vision-body-sub {
  font-weight: 400;
  font-size: clamp(17px, 1.45vw, 19px);
  line-height: 1.6;
  letter-spacing: -0.005em;
  color: var(--mute);
  max-width: 740px;
  margin-top: 32px;
}
.vision-body-sub strong { color: var(--ink-2); font-weight: 500; }
.vision-lead {
  font-weight: 400;
  font-size: clamp(22px, 2.3vw, 32px);
  line-height: 1.35;
  letter-spacing: -0.018em;
  color: var(--ink-2);
  max-width: 880px;
}
.vision-lead strong { color: var(--ink); font-weight: 500; }
.vision-content { max-width: 900px; }

/* ---------- SECTION INTRO ---------- */
.section-intro {
  max-width: var(--container);
  margin: 0 auto;
  padding: 110px 40px 70px;
  text-align: center;
}
.section-intro.left { text-align: left; padding-bottom: 60px; }
.section-intro-eyebrow {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--mute);
  margin-bottom: 24px;
}
.section-intro h2 {
  font-weight: 400;
  font-size: clamp(36px, 5vw, 70px);
  line-height: 1.02;
  letter-spacing: -0.032em;
  margin-bottom: 22px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}
.section-intro.left h2 { margin-left: 0; }
.section-intro p {
  font-size: 17px;
  color: var(--mute);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.5;
}
.section-intro.left p { margin-left: 0; }

/* ---------- CAPABILITY GRID (the engine) ---------- */
.cap-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px 150px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.cap-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 44px;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  min-height: 360px;
  overflow: hidden;
  transition: transform .4s cubic-bezier(.2,.7,.2,1), border-color .3s ease, box-shadow .4s ease;
}
.cap-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-2);
  box-shadow: 0 24px 60px -32px rgba(10,10,10,0.22);
}
/* one soft tinted glow per card, same geometry everywhere */
.cap-card::before {
  content: "";
  position: absolute;
  width: 340px; height: 340px;
  border-radius: 50%;
  filter: blur(48px);
  opacity: 0.5;
  pointer-events: none;
  top: -160px; right: -120px;
  transition: transform .8s cubic-bezier(.2,.7,.2,1), opacity .6s ease;
}
.cap-card.teal::before { background: var(--teal); }
.cap-card.warm::before { background: var(--warm); }
.cap-card.gray::before { background: #E9E9E5; }
.cap-card.dark::before { background: #D7E4DF; }
.cap-card:hover::before { transform: scale(1.1); opacity: 0.7; }
.cap-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
}
.cap-idx {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--mute-2);
}
.cap-domain {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-3);
}
.cap-card.teal .cap-domain { background: var(--teal); color: #1A3B33; }
.cap-card.warm .cap-domain { background: var(--warm); color: #6B4F22; }
.cap-card.dark .cap-domain { background: var(--ink); color: #fff; }
.cap-word {
  margin-top: auto;
  font-size: clamp(36px, 4vw, 54px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.038em;
  color: var(--ink);
  position: relative;
  z-index: 1;
}
.cap-text { margin-top: 14px; position: relative; z-index: 1; }
.cap-claim {
  font-weight: 400;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.25;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin-bottom: 12px;
}
.cap-sub {
  font-size: 15px;
  line-height: 1.55;
  color: var(--mute);
  max-width: 460px;
}
.cap-sub strong { color: var(--ink-2); font-weight: 500; }
.cap-ref, .cap-stat {
  margin-top: 18px;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--ink);
  opacity: 0.55;
  border-bottom: 1px solid rgba(10,10,10,0.18);
  padding-bottom: 2px;
  align-self: flex-start;
  display: inline-block;
}
.cap-ref { display: inline-flex; align-items: center; gap: 6px; transition: opacity .25s ease, border-color .25s ease; }
.cap-ref:hover { opacity: 1; border-color: var(--ink); }
.cap-ref svg { width: 10px; height: 10px; }
.cap-stat .num { font-weight: 500; opacity: 1; }

/* ---------- FRONTIER CARDS (home: four verticals) ---------- */
.frontiers {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px 150px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.frontier {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 44px 44px 40px;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  min-height: 320px;
  overflow: hidden;
  transition: transform .4s cubic-bezier(.2,.7,.2,1), border-color .3s ease, box-shadow .4s ease;
}
.frontier:hover {
  transform: translateY(-4px);
  border-color: var(--line-2);
  box-shadow: 0 24px 60px -32px rgba(10,10,10,0.25);
}
.frontier-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 28px;
}
.frontier-idx {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--mute-2);
}
.frontier-tag {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-3);
}
.frontier-tag.partner { background: var(--teal); color: #1A3B33; }
.frontier-tag.license { background: var(--warm); color: #6B4F22; }
.frontier-tag.open { background: var(--ink); color: #fff; }
.frontier-title {
  font-weight: 400;
  font-size: clamp(26px, 2.8vw, 38px);
  line-height: 1.04;
  letter-spacing: -0.026em;
  margin-bottom: 14px;
  max-width: 90%;
}
.frontier-desc {
  font-size: 15px;
  line-height: 1.55;
  color: var(--mute);
  max-width: 440px;
}
.frontier-go {
  margin-top: auto;
  padding-top: 26px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}
.frontier-go svg {
  width: 15px; height: 15px;
  transition: transform .3s cubic-bezier(.2,.7,.2,1);
}
.frontier:hover .frontier-go svg { transform: translate(3px, -3px); }

/* ---------- STAT BAND ---------- */
.statband {
  background: var(--ink);
  color: #fff;
}
.statband-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 120px 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.stat-item { border-left: 1px solid rgba(255,255,255,0.16); padding-left: 24px; }
.stat-num {
  font-size: clamp(38px, 4.4vw, 60px);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 12px;
}
.stat-num .unit { font-size: 0.5em; opacity: 0.6; letter-spacing: 0; }
.stat-cap {
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.01em;
}

/* ---------- PROTOCOL / CLINICAL ---------- */
.protocol {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 130px 0;
}
.protocol-inner { max-width: var(--container); margin: 0 auto; padding: 0 40px; }
.protocol-head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  margin-bottom: 70px;
  align-items: start;
}
.protocol-eyebrow {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--mute);
  padding-top: 10px;
}
.protocol-title {
  font-weight: 400;
  font-size: clamp(36px, 4.8vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.032em;
  margin-bottom: 28px;
  max-width: 820px;
}
.protocol-sub {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-3);
  max-width: 720px;
}
.protocol-sub strong { color: var(--ink); font-weight: 500; }
.protocol-spec {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  margin-bottom: 70px;
}
.protocol-spec-cell { padding: 26px 24px 26px 0; border-right: 1px dashed var(--line-2); }
.protocol-spec-cell:last-child { border-right: none; }
.protocol-spec-cell:not(:first-child) { padding-left: 24px; }
.protocol-spec-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 10px;
  font-weight: 500;
}
.protocol-spec-value {
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -0.018em;
  line-height: 1.25;
  color: var(--ink);
}
.protocol-mech {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  margin-bottom: 70px;
  align-items: start;
}
.protocol-mech h3 {
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--mute);
  padding-top: 10px;
}
.protocol-mech-body { font-size: 17px; line-height: 1.6; color: var(--ink-3); max-width: 720px; }
.protocol-mech-body p + p { margin-top: 16px; }

/* ---------- EVIDENCE / PAPERS ---------- */
.evidence-block {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}
.evidence-label {
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--mute);
  padding-top: 10px;
}
.evidence-list { border-top: 1px solid var(--line); }
.evidence-row {
  display: grid;
  grid-template-columns: 50px 1fr 220px;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
  transition: padding-left .25s ease;
}
a.evidence-row:hover { padding-left: 6px; }
.evidence-year { font-size: 12px; color: var(--mute); font-feature-settings: "tnum"; letter-spacing: 0.04em; }
.evidence-title { font-size: 15.5px; line-height: 1.4; letter-spacing: -0.01em; color: var(--ink); }
.evidence-journal { font-size: 13px; color: var(--mute); text-align: right; letter-spacing: 0.01em; line-height: 1.4; }

/* ---------- PROSE SECTION ---------- */
.prose-section { max-width: var(--container); margin: 0 auto; padding: 110px 40px; }
.prose-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 80px; align-items: start; }
.prose-grid + .prose-grid { margin-top: 80px; }
.prose-label {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--mute);
  padding-top: 8px;
}
.prose-body { font-size: 18px; line-height: 1.6; color: var(--ink-3); max-width: 740px; letter-spacing: -0.006em; }
.prose-body p + p { margin-top: 18px; }
.prose-body strong { color: var(--ink); font-weight: 500; }
.prose-body h3 {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 400;
  letter-spacing: -0.026em;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 20px;
}

/* ---------- FEATURE ROWS (chills capabilities) ---------- */
.features {
  max-width: var(--container);
  margin: 0 auto;
  padding: 20px 40px 60px;
  border-top: 1px solid var(--line);
}
.feature-row {
  display: grid;
  grid-template-columns: 90px 1fr 1.1fr;
  gap: 48px;
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.feature-idx {
  font-size: clamp(40px, 4vw, 60px);
  font-weight: 300;
  letter-spacing: -0.04em;
  color: var(--teal-deep);
  line-height: 0.9;
}
.feature-head h3 {
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 400;
  letter-spacing: -0.024em;
  line-height: 1.08;
  margin-bottom: 14px;
}
.feature-head .feature-kicker {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--mute);
  margin-bottom: 16px;
}
.feature-body { font-size: 16px; line-height: 1.6; color: var(--ink-3); }
.feature-body p + p { margin-top: 14px; }
.feature-body strong { color: var(--ink); font-weight: 500; }
.feature-spec {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-3);
  background: var(--surface);
  border-radius: 999px;
  padding: 7px 14px;
}

/* ---------- GALLERY (experiences) ---------- */
.gallery {
  max-width: var(--container);
  margin: 0 auto;
  padding: 70px 40px 90px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 200px;
  gap: 14px;
}
.gtile {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: var(--surface);
  display: flex;
  align-items: flex-end;
  border: 1px solid var(--line);
}
.gtile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gtile.wide { grid-column: span 4; }
.gtile.tall { grid-column: span 2; grid-row: span 2; }
.gtile.sq { grid-column: span 2; }
.gtile.half { grid-column: span 3; }
.gtile-ph {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--mute-2);
  background:
    repeating-linear-gradient(45deg, transparent, transparent 12px, rgba(0,0,0,0.018) 12px, rgba(0,0,0,0.018) 24px),
    var(--surface);
}
.gtile-ph svg { width: 26px; height: 26px; opacity: 0.5; }
.gtile-ph span { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500; }
.gtile-cap {
  position: relative;
  z-index: 1;
  padding: 16px 18px;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  width: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.55), transparent);
}

/* ---------- EVENT / LOGO CARDS ---------- */
.evgrid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px 100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.evcard {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 40px;
  background: var(--bg-soft);
  display: flex;
  flex-direction: column;
  min-height: 280px;
}
.evcard-kicker {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--teal-deep);
  margin-bottom: 22px;
}
.evcard h3 {
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 400;
  letter-spacing: -0.022em;
  line-height: 1.1;
  margin-bottom: 14px;
}
.evcard p { font-size: 15.5px; line-height: 1.6; color: var(--mute); max-width: 460px; }
.evcard .evcard-link {
  margin-top: auto;
  padding-top: 26px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  border: none;
}
.evcard .evcard-link svg { width: 13px; height: 13px; transition: transform .3s ease; }
.evcard:hover .evcard-link svg { transform: translate(3px,-3px); }

/* ---------- CTA BAND ---------- */
.cta {
  max-width: var(--container);
  margin: 0 auto;
  padding: 60px 40px 150px;
}
.cta-inner {
  background: var(--ink);
  color: #fff;
  border-radius: 28px;
  padding: 80px 64px;
  position: relative;
  overflow: hidden;
}
.cta-inner::before {
  content: "";
  position: absolute;
  width: 460px; height: 460px;
  border-radius: 50%;
  background: #2A4A40;
  filter: blur(60px);
  opacity: 0.6;
  top: -180px; right: -120px;
}
.cta-eyebrow {
  position: relative; z-index: 1;
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  font-weight: 500; color: rgba(255,255,255,0.55); margin-bottom: 22px;
}
.cta h2 {
  position: relative; z-index: 1;
  font-weight: 400;
  font-size: clamp(30px, 3.6vw, 50px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 720px;
  margin-bottom: 18px;
}
.cta p {
  position: relative; z-index: 1;
  font-size: 17px; line-height: 1.55; color: rgba(255,255,255,0.7);
  max-width: 600px; margin-bottom: 34px;
}
.cta-row { position: relative; z-index: 1; display: flex; gap: 12px; flex-wrap: wrap; }
.cta-mail {
  position: relative; z-index: 1;
  margin-top: 26px;
  font-size: 13.5px;
  color: rgba(255,255,255,0.55);
}
.cta-mail a { color: rgba(255,255,255,0.85); border-bottom: 1px solid rgba(255,255,255,0.3); padding-bottom: 1px; transition: color .2s ease, border-color .2s ease; }
.cta-mail a:hover { color: #fff; border-color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #EDEDEB; transform: translateY(-1px); }
.btn-ghost { border-color: rgba(255,255,255,0.28); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,0.08); transform: translateY(-1px); }

/* ---------- PRESS ---------- */
.press { padding: 110px 40px 120px; background: var(--bg); }
.press-inner { max-width: var(--container); margin: 0 auto; text-align: center; }
.press-label {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  font-weight: 500; color: var(--mute); margin-bottom: 36px;
}
.press-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 40px 60px; }
.press-row a { display: inline-flex; align-items: center; line-height: 0; flex: 0 1 auto; }
.press-logo {
  height: 46px; width: auto; max-width: 200px; object-fit: contain;
  filter: grayscale(1); opacity: 0.45; transition: opacity .3s ease; mix-blend-mode: multiply;
}
.press-row a:hover .press-logo { opacity: 0.85; }

/* ---------- TEAM ---------- */
.team { max-width: var(--container); margin: 0 auto; padding: 150px 40px 130px; }
.team-block { margin-bottom: 60px; }
.team-block:last-child { margin-bottom: 0; }
.team-block-label {
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 500; color: var(--mute); padding-bottom: 18px;
  border-bottom: 1px solid var(--line); display: flex; justify-content: space-between;
}
.team-person { border-bottom: 1px solid var(--line); }
.team-person summary {
  display: flex; align-items: center; gap: 22px; padding: 22px 0;
  cursor: pointer; list-style: none; transition: padding .3s ease;
}
.team-person summary::-webkit-details-marker { display: none; }
.team-person:hover summary { padding-left: 4px; padding-right: 4px; }
.team-avatar {
  width: 60px; height: 60px; border-radius: 50%; object-fit: cover;
  flex-shrink: 0; background: var(--surface);
  transition: transform .35s cubic-bezier(.2,.7,.2,1); filter: saturate(0.92);
}
.team-person:hover .team-avatar { transform: scale(1.04); }
.team-summary-text { display: grid; grid-template-columns: 1fr 1.5fr; gap: 32px; flex: 1; align-items: baseline; }
.team-name { font-size: clamp(18px, 1.9vw, 22px); font-weight: 400; letter-spacing: -0.018em; line-height: 1.2; }
.team-affil { font-size: 14.5px; color: var(--ink-3); line-height: 1.55; }
.team-toggle {
  width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-2);
  display: flex; align-items: center; justify-content: center;
  transition: background .25s ease, border-color .25s ease, transform .35s cubic-bezier(.2,.7,.2,1); flex-shrink: 0;
}
.team-toggle svg { width: 12px; height: 12px; transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.team-person:hover .team-toggle { background: var(--surface); border-color: var(--mute-2); }
.team-person[open] .team-toggle { background: var(--ink); border-color: var(--ink); color: #fff; }
.team-person[open] .team-toggle svg { transform: rotate(45deg); }
.team-bio { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; padding: 8px 0 40px 82px; }
.team-bio-left { display: flex; flex-direction: column; gap: 22px; }
.team-bio-portrait {
  width: 100%; max-width: 240px; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: 12px; background: var(--surface); filter: saturate(0.92);
}
.team-bio-body { font-size: 15px; line-height: 1.65; color: var(--ink-3); max-width: 720px; }
.team-bio-body p + p { margin-top: 12px; }
.team-bio-body strong { font-weight: 500; color: var(--ink); }
.team-person[open] .team-bio { animation: bio-reveal .5s cubic-bezier(.2,.7,.2,1); }
@keyframes bio-reveal { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- FOOTER ---------- */
.foot { border-top: 1px solid var(--line); padding: 70px 40px 40px; background: var(--bg); }
.foot-inner { max-width: var(--container); margin: 0 auto; display: flex; justify-content: space-between; gap: 60px; flex-wrap: wrap; }
.foot-brand-name { font-size: 18px; font-weight: 600; letter-spacing: -0.012em; color: var(--ink); margin-bottom: 6px; }
.foot-brand-meta { font-size: 13px; color: var(--mute); max-width: 280px; line-height: 1.5; }
.foot-nav { display: flex; gap: 70px; flex-wrap: wrap; }
.foot-col-label { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute-2); margin-bottom: 16px; }
.foot-col a { display: block; font-size: 14px; color: var(--ink-3); margin-bottom: 10px; transition: color .2s ease; }
.foot-col a:hover { color: var(--ink); }
.foot-disclaimer {
  max-width: var(--container); margin: 50px auto 0; font-size: 11px; color: var(--mute-2);
  line-height: 1.6; padding-top: 22px; border-top: 1px dashed var(--line-2);
}

/* ---------- REVEAL ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 1.1s cubic-bezier(.2,.7,.2,1), transform 1.1s cubic-bezier(.2,.7,.2,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-stagger > * { opacity: 0; transform: translateY(16px); transition: opacity 1s cubic-bezier(.2,.7,.2,1), transform 1s cubic-bezier(.2,.7,.2,1); }
.reveal-stagger.visible > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.32s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.40s; }
.h-fade { opacity: 0; transform: translateY(14px); animation: fade-up 1s cubic-bezier(.2,.7,.2,1) forwards; }
.h-fade.d1 { animation-delay: 0.05s; }
.h-fade.d2 { animation-delay: 0.18s; }
.h-fade.d3 { animation-delay: 0.34s; }
.h-fade.d4 { animation-delay: 0.5s; }
@keyframes fade-up { to { opacity: 1; transform: translateY(0); } }

/* ---------- PASSWORD GATE ---------- */
body.locked { overflow: hidden; height: 100vh; }
#gate { position: fixed; inset: 0; z-index: 9999; background: var(--bg); display: flex; align-items: center; justify-content: center; padding: 24px; }
.gate-card { width: 100%; max-width: 360px; text-align: center; }
.gate-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ink); margin: 0 auto 28px; }
.gate-title { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 8px; }
.gate-note { font-size: 14px; color: var(--mute); margin-bottom: 28px; }
.gate-input { width: 100%; padding: 13px 16px; font-family: var(--sans); font-size: 15px; border: 1px solid var(--line-2); border-radius: 999px; outline: none; text-align: center; letter-spacing: 0.02em; transition: border-color .2s ease; }
.gate-input:focus { border-color: var(--ink); }
.gate-btn { width: 100%; margin-top: 12px; padding: 13px 16px; font-family: var(--sans); font-size: 14px; font-weight: 500; color: #fff; background: var(--ink); border: none; border-radius: 999px; cursor: pointer; transition: background .2s ease; }
.gate-btn:hover { background: #2A2A2A; }
.gate-error { height: 18px; margin-top: 14px; font-size: 13px; color: #B4453C; opacity: 0; transition: opacity .15s ease; }
.gate-error.show { opacity: 1; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .nav { padding: 16px 22px; }
  .nav.scrolled { padding: 12px 22px; }
  .nav-right { gap: 16px; font-size: 13px; }
  .nav-right .nav-link.hide-sm { display: none; }
  .hero { min-height: 88svh; padding-top: 110px; }
  .hero-inner { padding: 0 22px; }
  .hero-title { font-size: clamp(36px, 11vw, 52px); }
  .hero-sub { font-size: 16px; }
  .hero-signal { height: 130px; margin-top: 40px; }
  .page-hero { padding: 120px 22px 50px; }
  .page-hero h1 { font-size: 38px; }
  .vision { grid-template-columns: 1fr; gap: 24px; padding: 50px 22px 60px; }
  .section-intro { padding: 40px 22px 30px; }
  .section-intro h2 { font-size: 34px; }
  .cap-grid, .frontiers, .evgrid { grid-template-columns: 1fr; padding-left: 22px; padding-right: 22px; gap: 14px; }
  .cap-card { min-height: 300px; padding: 30px; }
  .frontier { min-height: auto; padding: 30px; }
  .statband-inner { grid-template-columns: 1fr 1fr; gap: 28px; padding: 50px 22px; }
  .stat-item { padding-left: 18px; }
  .protocol { padding: 70px 0; }
  .protocol-inner { padding: 0 22px; }
  .protocol-head, .protocol-mech, .evidence-block, .prose-grid { grid-template-columns: 1fr; gap: 20px; margin-bottom: 40px; }
  .prose-grid + .prose-grid { margin-top: 50px; }
  .prose-section { padding: 60px 22px; }
  .protocol-title { font-size: 32px; }
  .protocol-spec { grid-template-columns: 1fr 1fr; margin-bottom: 40px; }
  .protocol-spec-cell { padding: 18px 16px 18px 0 !important; }
  .protocol-spec-cell:nth-child(2n) { border-right: none; padding-left: 16px !important; }
  .protocol-spec-cell:nth-child(n+3) { border-top: 1px dashed var(--line-2); }
  .evidence-row { grid-template-columns: 40px 1fr; gap: 12px; }
  .evidence-journal { grid-column: 2; text-align: left; padding-top: 4px; }
  .features { padding: 10px 22px 40px; }
  .feature-row { grid-template-columns: 1fr; gap: 18px; padding: 40px 0; }
  .gallery { padding: 40px 22px 60px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .gtile.wide, .gtile.tall, .gtile.sq, .gtile.half { grid-column: span 2; grid-row: span 1; }
  .cta { padding: 20px 22px 80px; }
  .cta-inner { padding: 48px 28px; }
  .press { padding: 50px 22px; }
  .press-row { gap: 28px 36px; justify-content: center; }
  .press-logo { height: 30px; max-width: 130px; }
  .team { padding: 70px 22px 60px; }
  .team-person summary { gap: 14px; padding: 20px 0; }
  .team-avatar { width: 50px; height: 50px; }
  .team-summary-text { grid-template-columns: 1fr; gap: 6px; }
  .team-bio { grid-template-columns: 1fr; gap: 24px; padding: 8px 0 32px 0; }
  .team-bio-portrait { max-width: 180px; }
  .foot-inner { flex-direction: column; gap: 36px; }
  .foot-nav { gap: 40px; }
}
