/* ============================================================
   ClickFlowGrow — staging rebuild 2026-07-07
   Design system: premium AI discovery studio.
   Dark, cinematic, calm confidence. Navy + teal, Manrope/Inter.
   ============================================================ */

:root {
  --bg: #060d1f;
  --bg2: #0a1628;
  --bg3: #0d1d33;
  --navy: #0F2D60;
  --teal: #0BEAB5;
  --teal-dim: #08b98f;
  --teal-glow: rgba(11, 234, 181, 0.18);
  --amber: #EC8A01;
  --text: #F0F4FF;
  --text-muted: rgba(200, 215, 255, 0.72);
  --text-faint: rgba(200, 215, 255, 0.62);
  --surface: rgba(255, 255, 255, 0.05);
  --surface2: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.10);
  --border-strong: rgba(255, 255, 255, 0.18);
  --btn-ink: #042b22;
  --r: 12px;
  --r-lg: 20px;
  --font-h: 'Manrope', system-ui, sans-serif;
  --font-b: 'Inter', system-ui, sans-serif;
  --container: 1160px;
  --shadow-soft: 0 20px 60px rgba(0, 0, 0, 0.45);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-b);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-h);
  line-height: 1.14;
  letter-spacing: -0.015em;
  font-weight: 800;
}

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- reveal-on-scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .pill .dot, .scan-line .dot { animation: none; }
  .hero h1 .accent::after { animation: none; transform: none; }
  .lab-door-visual:hover .lab-door-frame::before,
  .lab-door-visual:hover .lab-door-frame::after { transition: none; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 0.98rem;
  border-radius: 10px;
  padding: 14px 28px;
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.25s ease, border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--teal);
  color: var(--btn-ink);
  box-shadow: 0 0 24px rgba(11, 234, 181, 0.32);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 44px rgba(11, 234, 181, 0.5);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border-strong);
}
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); }
.btn-lg { padding: 17px 34px; font-size: 1.05rem; }
.btn-sm { padding: 10px 18px; font-size: 0.88rem; }

/* ---------- badges / eyebrows ---------- */
.eyebrow {
  font-family: var(--font-h);
  font-weight: 800;
  font-size: 0.76rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1.5px;
  background: var(--teal);
  display: inline-block;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-family: var(--font-h);
  font-weight: 600;
}
.pill .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(11, 234, 181, 0.5); }
  55% { box-shadow: 0 0 0 7px rgba(11, 234, 181, 0); }
}

/* ---------- nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(6, 13, 31, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.logo {
  font-family: var(--font-h);
  font-weight: 900;
  font-size: 1.32rem;
  color: var(--text);
  letter-spacing: -0.02em;
}
.logo em { font-style: normal; color: var(--teal); }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  color: var(--text-muted);
  font-family: var(--font-h);
  font-weight: 600;
  font-size: 0.92rem;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-burger {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  padding: 9px 12px;
  cursor: pointer;
  font-size: 1rem;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 140px 0 90px;
  background:
    linear-gradient(100deg, rgba(6, 13, 31, 0.9) 0%, rgba(6, 13, 31, 0.6) 46%, rgba(6, 13, 31, 0.18) 100%),
    linear-gradient(180deg, rgba(6, 13, 31, 0.22) 55%, var(--bg) 100%),
    url("/assets/img/homepage_hero_bg_web.jpg") right center / cover no-repeat,
    var(--bg);
  overflow: hidden;
}
.hero::after {
  /* faint blueprint grid — system map feel */
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(240, 244, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240, 244, 255, 0.028) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(900px 600px at 60% 40%, black, transparent 78%);
  -webkit-mask-image: radial-gradient(900px 600px at 60% 40%, black, transparent 78%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; max-width: 820px; }
.hero h1 {
  font-size: clamp(2.35rem, 5.2vw, 4.05rem);
  font-weight: 900;
  margin: 26px 0 24px;
}
.hero h1 .accent {
  color: var(--teal);
  position: relative;
  white-space: nowrap;
}
.hero h1 .accent::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.04em;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), transparent);
  border-radius: 2px;
  animation: drawline 1.4s 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
@keyframes drawline { from { transform: scaleX(0); transform-origin: left; } to { transform: scaleX(1); } }
.hero .lede {
  font-size: 1.14rem;
  color: var(--text-muted);
  max-width: 620px;
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }
.hero-notes {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  color: var(--text-faint);
  font-size: 0.88rem;
}
.hero-notes span { display: inline-flex; align-items: center; gap: 8px; }
.hero-notes svg { width: 15px; height: 15px; color: var(--teal); flex: none; }

/* ---------- the two front doors ---------- */
.doors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 40px 0 34px;
  max-width: 880px;
}
.door-card {
  --dacc: var(--teal);
  position: relative;
  display: block;
  border: 1px solid color-mix(in srgb, var(--dacc) 35%, transparent);
  border-radius: 16px;
  background: linear-gradient(165deg, color-mix(in srgb, var(--dacc) 10%, rgba(8, 16, 31, 0.66)), rgba(8, 16, 31, 0.78));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 24px 24px 22px;
  color: var(--text);
  transition: transform 0.25s ease, border-color 0.25s, box-shadow 0.3s;
  overflow: hidden;
}
.door-card::before {
  /* door seam — echoes the Lab entrance */
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 22px;
  width: 2px;
  background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--dacc) 65%, transparent), transparent);
  opacity: 0.7;
  transition: right 0.3s ease, opacity 0.3s;
}
.door-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--dacc) 65%, transparent);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.4), 0 0 30px color-mix(in srgb, var(--dacc) 14%, transparent);
}
.door-card:hover::before { right: 14px; opacity: 1; }
.door-card--ai { --dacc: #5B9CFF; }
.door-card .d-label {
  font-family: var(--font-h);
  font-weight: 800;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dacc);
  display: block;
  margin-bottom: 10px;
}
.door-card h3 { font-size: 1.22rem; margin-bottom: 6px; padding-right: 30px; }
.door-card p { color: var(--text-muted); font-size: 0.88rem; padding-right: 30px; }
.door-card .d-cta {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--dacc);
}

/* ---------- sound familiar ---------- */
.familiar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.fam-card {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: rgba(8, 16, 31, 0.6);
  padding: 24px 24px 22px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, border-color 0.25s;
}
.fam-card:hover { transform: translateY(-4px); border-color: rgba(11, 234, 181, 0.4); }
.fam-card .fam-who {
  font-family: var(--font-h);
  font-weight: 800;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 12px;
}
.fam-card blockquote {
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.45;
  color: var(--text);
  margin-bottom: 12px;
}
.fam-card blockquote::before { content: "“"; color: var(--teal); }
.fam-card blockquote::after { content: "”"; color: var(--teal); }
.fam-card p { color: var(--text-muted); font-size: 0.88rem; flex: 1; }
.fam-card .fam-link {
  margin-top: 16px;
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--teal);
}
.fam-card .fam-link:hover { text-decoration: underline; }

/* ---------- generic section ---------- */
.section { padding: 110px 0; position: relative; }
.section-alt { background: linear-gradient(180deg, var(--bg2), var(--bg)); }
.section-head { max-width: 720px; margin-bottom: 58px; }
.section-head h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.7rem);
  margin: 18px 0 16px;
}
.section-head h2 .accent { color: var(--teal); }
.section-head p { color: var(--text-muted); font-size: 1.06rem; }
.section-head.centered { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.centered .eyebrow::before { display: none; }

/* ---------- philosophy / DNA ---------- */
.dna-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}
.dna-copy h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin: 18px 0 20px; }
.dna-copy p { color: var(--text-muted); margin-bottom: 18px; font-size: 1.05rem; }
.dna-copy p strong { color: var(--text); font-weight: 600; }
.dna-principles { display: grid; gap: 14px; margin-top: 30px; }
.dna-principle {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--r);
  padding: 16px 18px;
  transition: border-color 0.25s, background 0.25s, transform 0.25s;
}
.dna-principle:hover { border-color: rgba(11, 234, 181, 0.4); transform: translateX(4px); }
.dna-principle .mark {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: var(--teal-glow);
  color: var(--teal);
  font-family: var(--font-h);
  font-weight: 800;
  font-size: 0.82rem;
}
.dna-principle h4 { font-size: 1rem; font-weight: 700; margin-bottom: 3px; }
.dna-principle p { color: var(--text-muted); font-size: 0.92rem; margin: 0; }

/* quote card */
.dna-quote {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, rgba(15, 45, 96, 0.35), rgba(6, 13, 31, 0.6));
  padding: 44px 40px;
  position: relative;
  box-shadow: var(--shadow-soft);
}
.dna-quote::before {
  content: "“";
  font-family: var(--font-h);
  font-size: 5rem;
  line-height: 1;
  color: var(--teal);
  opacity: 0.55;
  display: block;
  margin-bottom: 8px;
}
.dna-quote blockquote {
  font-family: var(--font-h);
  font-size: 1.34rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--text);
}
.dna-quote figcaption { margin-top: 22px; color: var(--text-faint); font-size: 0.9rem; }

/* ---------- 5F map ---------- */
.fivef-rail {
  /* two rows: 3 cards up top, 2 centred beneath — room to breathe */
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  counter-reset: fivef;
}
.fivef-card { grid-column: span 2; }
.fivef-card:nth-child(4) { grid-column: 2 / span 2; }
.fivef-card {
  /* Option A — full-bleed photography, text on a rising gradient */
  position: relative;
  border: 1px solid var(--border);
  background: var(--bg2);
  border-radius: var(--r-lg);
  padding: 26px 20px 22px;
  min-height: 440px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1), border-color 0.3s, box-shadow 0.3s;
  overflow: hidden;
}
.fivef-card .f-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
  pointer-events: none;
}
.fivef-card .f-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 13, 31, 0.22) 0%, rgba(6, 13, 31, 0.32) 38%, rgba(6, 13, 31, 0.94) 76%);
  pointer-events: none;
}
.fivef-card:hover .f-bg { transform: scale(1.06); }
.fivef-card > *:not(.f-bg):not(.f-scrim) { position: relative; z-index: 1; }
.fivef-card::before {
  counter-increment: fivef;
  content: "0" counter(fivef);
  font-family: var(--font-h);
  font-weight: 900;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  color: rgba(240, 244, 255, 0.9);
  text-shadow: 0 1px 8px rgba(6, 13, 31, 0.85);
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 1;
}
.fivef-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), transparent 70%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
  z-index: 2;
}
.fivef-card:hover, .fivef-card:focus-within {
  transform: translateY(-6px);
  border-color: rgba(11, 234, 181, 0.45);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
}
.fivef-card:hover::after { transform: scaleX(1); }
.fivef-card h3 { font-size: 1.24rem; margin-bottom: 4px; text-shadow: 0 1px 10px rgba(6, 13, 31, 0.8); }
.fivef-card .outcome {
  font-size: 0.88rem;
  color: var(--teal);
  font-family: var(--font-h);
  font-weight: 700;
  margin-bottom: 10px;
  text-shadow: 0 1px 8px rgba(6, 13, 31, 0.8);
}
.fivef-card p { color: rgba(210, 222, 250, 0.86); font-size: 0.88rem; text-shadow: 0 1px 8px rgba(6, 13, 31, 0.7); }
.fivef-card .fivef-syslist {
  list-style: none;
  margin-top: 13px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.fivef-card .fivef-syslist li {
  font-size: 0.71rem;
  color: rgba(210, 222, 250, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 3px 9px;
  white-space: nowrap;
  background: rgba(6, 13, 31, 0.5);
}
.fivef-thread {
  margin-top: 26px;
  text-align: center;
  color: var(--text-faint);
  font-size: 0.9rem;
}
.fivef-thread strong { color: var(--text-muted); font-weight: 600; }

/* ---------- capability universe ---------- */
.universe {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background:
    radial-gradient(620px 300px at 50% 0%, rgba(15, 45, 96, 0.4), transparent 70%),
    var(--bg2);
  padding: 56px 48px;
  position: relative;
  overflow: hidden;
}
.universe::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(240, 244, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240, 244, 255, 0.03) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}
.universe-core {
  position: relative;
  margin: 0 auto 40px;
  width: min(340px, 100%);
  text-align: center;
  border: 1px solid rgba(11, 234, 181, 0.4);
  background: rgba(11, 234, 181, 0.06);
  border-radius: var(--r-lg);
  padding: 22px 26px;
  box-shadow: 0 0 50px rgba(11, 234, 181, 0.12);
}
.universe-core h3 { font-size: 1.1rem; }
.universe-core p { color: var(--text-muted); font-size: 0.85rem; margin-top: 4px; }
.universe-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.universe-node {
  border: 1px solid var(--border);
  background: rgba(6, 13, 31, 0.6);
  border-radius: var(--r);
  padding: 18px 20px;
  transition: border-color 0.25s, transform 0.25s;
}
.universe-node:hover { border-color: rgba(11, 234, 181, 0.4); transform: translateY(-3px); }
.universe-node h4 {
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 6px;
}
.universe-node h4 .node-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--teal);
  flex: none;
}
.universe-node p { color: var(--text-faint); font-size: 0.83rem; }
.universe-note {
  position: relative;
  text-align: center;
  color: var(--text-faint);
  font-size: 0.9rem;
  margin-top: 36px;
}
.universe-note strong { color: var(--text-muted); font-weight: 600; }

/* ---------- lab centrepiece ---------- */
.lab-band {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(900px 460px at 50% 120%, rgba(11, 234, 181, 0.08), transparent 65%),
    linear-gradient(180deg, var(--bg), var(--bg2));
}
.lab-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 64px;
  align-items: center;
}
.lab-copy .stations { display: grid; gap: 12px; margin: 30px 0 34px; }
.station-line {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: var(--surface);
  padding: 14px 16px;
  transition: border-color 0.25s, transform 0.25s;
}
.station-line:hover { border-color: rgba(11, 234, 181, 0.4); transform: translateX(4px); }
.station-line .st-no {
  font-family: var(--font-h);
  font-weight: 800;
  color: var(--teal);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  flex: none;
  width: 66px;
}
.station-line .st-body h4 { font-size: 0.98rem; margin-bottom: 2px; }
.station-line .st-body p { color: var(--text-muted); font-size: 0.86rem; }

/* the door visual */
.lab-door-visual {
  position: relative;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: linear-gradient(170deg, rgba(15, 45, 96, 0.35), rgba(6, 13, 31, 0.9));
  padding: 34px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.lab-door-frame {
  position: relative;
  margin: 0 auto;
  max-width: 380px;
  aspect-ratio: 3 / 4;
  border-radius: 14px;
  border: 1px solid var(--border-strong);
  background:
    linear-gradient(180deg, rgba(6, 13, 31, 0.2), rgba(6, 13, 31, 0.58)),
    url("/assets/img/interior_bg.jpg") center / cover no-repeat,
    linear-gradient(180deg, rgba(10, 22, 40, 0.9), rgba(6, 13, 31, 0.95));
  overflow: hidden;
  display: grid;
  place-items: center;
  isolation: isolate; /* keeps the inner text above the frame background, below the glass panels */
}
.lab-door-frame::before,
.lab-door-frame::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  background: linear-gradient(105deg, rgba(240, 244, 255, 0.07), rgba(240, 244, 255, 0.015) 60%);
  backdrop-filter: blur(2px);
  transition: transform 1s cubic-bezier(0.6, 0, 0.2, 1);
}
.lab-door-frame::before { left: 0; border-right: 1px solid rgba(11, 234, 181, 0.35); }
.lab-door-frame::after { right: 0; border-left: 1px solid rgba(11, 234, 181, 0.35); }
.lab-door-visual:hover .lab-door-frame::before { transform: translateX(-58%); }
.lab-door-visual:hover .lab-door-frame::after { transform: translateX(58%); }
.lab-door-inner {
  text-align: center;
  padding: 28px 24px;
  position: relative;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(6, 13, 31, 0.82), rgba(6, 13, 31, 0.35) 75%, transparent);
  border-radius: 18px;
  text-shadow: 0 2px 14px rgba(6, 13, 31, 0.9);
}
.lab-door-inner .lab-mark {
  font-family: var(--font-h);
  font-weight: 900;
  letter-spacing: 0.3em;
  font-size: 0.78rem;
  color: var(--teal);
  margin-bottom: 12px;
}
.lab-door-inner h3 { font-size: 1.5rem; margin-bottom: 8px; }
.lab-door-inner p { color: var(--text-muted); font-size: 0.88rem; }
.lab-door-caption {
  text-align: center;
  color: var(--text-faint);
  font-size: 0.84rem;
  margin-top: 20px;
}

/* ---------- process ---------- */
.process-rail {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  position: relative;
}
.process-step {
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: var(--surface);
  padding: 22px 18px;
  position: relative;
  transition: border-color 0.25s, transform 0.25s;
}
.process-step:hover { border-color: rgba(11, 234, 181, 0.4); transform: translateY(-4px); }
.process-step .p-no {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--teal);
  color: var(--teal);
  font-family: var(--font-h);
  font-weight: 800;
  font-size: 0.85rem;
  margin-bottom: 14px;
  background: rgba(11, 234, 181, 0.07);
}
.process-step h4 { font-size: 1.02rem; margin-bottom: 6px; }
.process-step p { color: var(--text-muted); font-size: 0.86rem; }

/* ---------- proof / testimonials ---------- */
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.proof-card {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--surface);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: border-color 0.25s, transform 0.25s;
}
.proof-card:hover { border-color: rgba(11, 234, 181, 0.35); transform: translateY(-4px); }
.proof-stars { color: var(--amber); letter-spacing: 3px; font-size: 0.95rem; }
.proof-card blockquote { color: var(--text-muted); font-size: 0.95rem; flex: 1; }
.proof-who { display: flex; align-items: center; gap: 12px; }
.proof-who .avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: var(--teal);
  font-family: var(--font-h);
  font-weight: 800;
  font-size: 0.85rem;
  flex: none;
}
.proof-who .who-name { font-family: var(--font-h); font-weight: 700; font-size: 0.92rem; }
.proof-who .who-org { color: var(--text-faint); font-size: 0.82rem; }
.trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 38px;
  flex-wrap: wrap;
  margin-top: 48px;
  color: var(--text-faint);
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 0.92rem;
}
.trust-bar .trust-label {
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 800;
}

/* ---------- CTA band ---------- */
.cta-band {
  text-align: center;
  padding: 130px 0;
  background:
    radial-gradient(760px 400px at 50% 0%, rgba(15, 45, 96, 0.5), transparent 70%),
    var(--bg);
  border-top: 1px solid var(--border);
}
.cta-band h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); margin: 20px 0 18px; }
.cta-band h2 .accent { color: var(--teal); }
.cta-band p { color: var(--text-muted); max-width: 560px; margin: 0 auto 38px; font-size: 1.08rem; }
.cta-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.cta-alt { margin-top: 28px; color: var(--text-faint); font-size: 0.92rem; }
.cta-alt a { color: var(--teal); font-weight: 600; }

/* ---------- footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  background: var(--bg2);
  padding: 70px 0 34px;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}
.footer-brand p { color: var(--text-faint); margin-top: 14px; max-width: 300px; font-size: 0.88rem; }
.footer h5 {
  font-family: var(--font-h);
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 16px;
}
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer ul a { color: var(--text-muted); transition: color 0.2s; }
.footer ul a:hover { color: var(--teal); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--text-faint);
  font-size: 0.82rem;
}
.footer-bottom .legal-quick { display: flex; gap: 18px; }
.footer-bottom .legal-quick a { color: var(--text-faint); }
.footer-bottom .legal-quick a:hover { color: var(--teal); }

/* ---------- staging ribbon ---------- */
.staging-ribbon {
  position: fixed;
  bottom: 18px;
  left: 18px;
  z-index: 200;
  background: rgba(236, 138, 1, 0.14);
  border: 1px solid rgba(236, 138, 1, 0.5);
  color: #ffc46b;
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 7px 14px;
  pointer-events: none;
}

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .fivef-rail { grid-template-columns: 1fr 1fr; }
  .fivef-card, .fivef-card:nth-child(4) { grid-column: auto; }
  .fivef-card:nth-child(5) { grid-column: 1 / -1; min-height: 340px; }
  .fivef-card { min-height: 420px; }
  .familiar-grid { grid-template-columns: 1fr 1fr; }
  .process-rail { grid-template-columns: repeat(3, 1fr); }
  .universe-grid { grid-template-columns: repeat(2, 1fr); }
  .dna-grid, .lab-grid { grid-template-columns: 1fr; gap: 44px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .section { padding: 84px 0; }
  .fivef-rail { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .nav-burger { display: block; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    background: rgba(6, 13, 31, 0.97);
    border-bottom: 1px solid var(--border);
    padding: 22px 24px;
    gap: 18px;
  }
  .proof-grid { grid-template-columns: 1fr; }
  .universe { padding: 36px 22px; }
  .hero { padding-top: 120px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}
@media (max-width: 520px) {
  .fivef-rail { grid-template-columns: 1fr; }
  .fivef-card { min-height: 340px; }
  .familiar-grid { grid-template-columns: 1fr; }
  .doors { grid-template-columns: 1fr; }
  .process-rail { grid-template-columns: 1fr; }
  .universe-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-cta .btn { display: none; }
}
