/* ============================================================
   ClickFlowGrow — homepage (LIGHT theme)
   Recreated from the Claude Design handoff, 2026-07-07.
   Self-contained: the AI Lab keeps its own dark site.css/lab.css.
   ============================================================ */

:root {
  --paper: #F5F6FB;
  --tint: #EDEFF8;
  --ink: #0A0745;
  --band: #070530;
  --accent: #0B8F6C;
  --accent-bright: #0BEAB5;
  --tx1: #3E4770;
  --tx2: #525C82;
  --tx3: #6B7396;
  --eyebrow: #8A91B4;
  --gold: #F5A623;
  --btn-ink: #06140E;
  --hair: rgba(10, 7, 69, 0.09);
  --hair-strong: rgba(10, 7, 69, 0.16);
  --font: 'Manrope', system-ui, sans-serif;
  --container: 1200px;
  /* brand blue — the hero runs deep-to-light through this family */
  --hero-deep: #05032B;
  --hero-ink: #0A0745;
  --hero-mid: #2E3FA3;
  --hero-light: #4A5ECC;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
h1, h2, h3, h4 { font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
::selection { background: var(--accent-bright); color: var(--btn-ink); }

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

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.65s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.65s cubic-bezier(0.2, 0.7, 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; }
  .float-a, .float-b, .hero-glow { animation: none !important; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font); font-weight: 700; font-size: 1rem;
  border-radius: 999px; padding: 15px 28px; cursor: pointer; border: none;
  transition: transform 0.2s ease, box-shadow 0.22s ease, border-color 0.2s, background 0.2s, color 0.2s;
  white-space: nowrap;
}
.btn-bright { background: var(--accent-bright); color: var(--btn-ink); box-shadow: 0 10px 30px rgba(11, 234, 181, 0.4); }
.btn-bright:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(11, 234, 181, 0.5); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { transform: translateY(-2px); box-shadow: 0 14px 32px -12px rgba(10, 7, 69, 0.46); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--hair-strong); }
.btn-ghost:hover { border-color: var(--ink); background: #fff; }
.btn-ghost-light { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, 0.25); }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, 0.06); }
.btn-sm { padding: 11px 20px; font-size: 0.92rem; }

/* ---------- eyebrow ---------- */
.eyebrow {
  font-size: 0.8rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent); display: inline-block;
}
.eyebrow.neutral { color: var(--eyebrow); }
.eyebrow.bright { color: var(--accent-bright); }

/* ---------- section ---------- */
.section { padding: 92px 0; position: relative; }
.section-tint { background: var(--tint); }
.section-head { max-width: 640px; margin-bottom: 46px; }
.section-head.centered { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); margin: 14px 0 14px; }
.section-head p { color: var(--tx2); font-size: 1.06rem; }
.section-head .head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.head-link { font-weight: 700; font-size: 0.95rem; color: var(--accent); white-space: nowrap; }
.head-link:hover { text-decoration: underline; }

/* ---------- nav (dark, consistent with the hero it sits above) ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 7, 69, 0.88);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.nav-inner { max-width: var(--container); margin: 0 auto; padding: 0 32px; height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { font-weight: 800; font-size: 1.28rem; color: #fff; letter-spacing: -0.02em; }
.logo em { font-style: normal; color: var(--accent-bright); }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: #C7CEEC; font-weight: 600; font-size: 0.94rem; transition: color 0.2s; }
.nav-links a:hover { color: var(--accent-bright); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-cta .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.3); }
.nav-cta .btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.nav-burger { display: none; background: none; border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 8px; color: #fff; padding: 9px 12px; cursor: pointer; font-size: 1rem; }

/* ---------- hero (brand blue, deep to light, the AI Lab lives inside it) ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 540px at 74% 16%, rgba(11, 234, 181, 0.1), transparent 65%),
    linear-gradient(105deg, rgba(5, 3, 43, 0.96) 0%, rgba(10, 7, 69, 0.86) 38%, rgba(46, 63, 163, 0.55) 76%, rgba(74, 94, 204, 0.42) 100%),
    url('/assets/img/homepage_hero_bg_web.jpg') right center / cover no-repeat,
    var(--hero-ink);
}
.hero-inner { max-width: var(--container); margin: 0 auto; padding: 84px 32px 60px; display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 52px; align-items: center; }
.hero-pill {
  display: inline-flex; align-items: center; gap: 9px; padding: 8px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.18); font-size: 0.82rem; font-weight: 700; color: #C4CCE8;
}
.hero-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-bright); box-shadow: 0 0 0 4px rgba(11, 234, 181, 0.25); }
.hero h1 { margin: 26px 0 0; color: #fff; font-size: clamp(2.5rem, 4.3vw, 3.7rem); line-height: 1.14; letter-spacing: -0.03em; }
.hero h1 .hl { color: var(--accent-bright); position: relative; }
.hero h1 .hl::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 10px; background: var(--accent-bright); opacity: 0.2; border-radius: 4px; z-index: -1; }
.hero .lede { margin: 28px 0 0; font-size: 1.14rem; line-height: 1.65; color: #C4CCE8; max-width: 42ch; }
.hero-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin: 38px 0 32px; }
.hero-actions .btn-ghost-light em { font-style: italic; font-weight: 600; margin-right: 2px; }
.hero-checks { display: flex; gap: 26px; flex-wrap: wrap; font-size: 0.9rem; font-weight: 600; color: #B7C0E0; }
.hero-checks span { display: inline-flex; align-items: center; gap: 8px; }
.hero-checks .ck { width: 19px; height: 19px; border-radius: 50%; background: rgba(11, 234, 181, 0.18); display: inline-flex; align-items: center; justify-content: center; color: var(--accent-bright); font-size: 0.72rem; font-weight: 800; }

/* hero visual: the living shop window */
.hero-visual { position: relative; height: 560px; }
.hero-glow { position: absolute; inset: 6% 2% 8% 4%; border-radius: 32px; background: radial-gradient(circle at 60% 40%, rgba(11, 234, 181, 0.22), rgba(11, 234, 181, 0) 70%); animation: cfgGlow 7s ease-in-out infinite; }
.hero-photo {
  position: absolute; left: 0; top: 0; width: 100%; height: 94%; border-radius: 26px; overflow: hidden; display: block;
  box-shadow: 0 44px 96px -32px rgba(4, 2, 30, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.09);
  background: url('/assets/img/interior_bg.jpg') center / cover;
}
.hero-photo-cap { position: absolute; inset: auto 0 0 0; padding: 30px 28px 24px; background: linear-gradient(0deg, rgba(8, 5, 50, 0.94), transparent); text-align: right; }
.hero-photo-cap .hpc-eyebrow { font-size: 0.74rem; font-weight: 800; letter-spacing: 0.22em; color: var(--accent-bright); }
.hero-photo-cap .hpc-title { color: #fff; font-weight: 800; font-size: 1.55rem; margin-top: 5px; }
.hero-photo-cap .hpc-sub { color: #AEB6D8; font-size: 0.9rem; margin-top: 5px; }

/* the OPEN sign, swinging over the glass */
.open-sign { position: absolute; top: 2px; right: 28px; transform-origin: 50% 0; animation: swing 5s ease-in-out infinite; z-index: 3; }
.open-sign .strings { display: flex; justify-content: space-between; width: 110px; margin: 0 auto; }
.open-sign .strings i { display: block; width: 1.5px; height: 20px; background: rgba(255, 255, 255, 0.55); }
.open-sign .plate {
  background: #04021f; border: 2px solid rgba(11, 234, 181, 0.85); border-radius: 12px; padding: 13px 26px;
  color: var(--accent-bright); font-weight: 800; letter-spacing: 0.26em; font-size: 1.02rem; white-space: nowrap;
  box-shadow: 0 0 38px rgba(11, 234, 181, 0.55), inset 0 0 16px rgba(11, 234, 181, 0.2);
  text-shadow: 0 0 14px rgba(11, 234, 181, 0.9);
}
@keyframes swing { 0%, 100% { transform: rotate(-2.4deg); } 50% { transform: rotate(2.4deg); } }

/* living-window experiment panels — frosted glass, rising from the tables */
.xp {
  position: absolute; width: 258px; padding: 16px 18px 14px; border-radius: 16px;
  background: linear-gradient(160deg, rgba(30, 36, 90, 0.55), rgba(10, 7, 50, 0.5));
  border: 1px solid rgba(255, 255, 255, 0.28); backdrop-filter: blur(9px); -webkit-backdrop-filter: blur(9px);
  box-shadow: 0 24px 54px -22px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  opacity: 0; transition: opacity 0.5s ease; z-index: 2;
}
.xp.on { opacity: 1; }
.xp::before {
  content: ""; position: absolute; left: 50%; bottom: -58px; width: 3px; height: 58px;
  background: linear-gradient(180deg, rgba(11, 234, 181, 0.7), rgba(11, 234, 181, 0));
  transform: translateX(-50%); filter: blur(0.5px); pointer-events: none;
}
.xp::after {
  content: ""; position: absolute; left: 50%; bottom: -64px; width: 52px; height: 16px;
  background: radial-gradient(ellipse at center, rgba(11, 234, 181, 0.55), transparent 72%);
  transform: translateX(-50%); filter: blur(3px); pointer-events: none; animation: beamPulse 2.4s ease-in-out infinite;
}
@keyframes beamPulse { 0%, 100% { opacity: 0.7; } 50% { opacity: 1; } }
.xp-a { left: 5%; top: 8%; animation: cfgFloatA 9s ease-in-out infinite; }
.xp-b { left: 4%; bottom: 30%; width: 210px; transform: scale(0.93); animation: cfgFloatB 11s ease-in-out infinite; }
.xp-b::before { height: 44px; bottom: -44px; }
.xp-b::after { bottom: -50px; }
.xp .xp-q { color: #fff; font-weight: 700; font-size: 0.94rem; line-height: 1.4; min-height: 2.8em; }
.xp .caret { display: inline-block; width: 2px; height: 1em; background: var(--accent-bright); margin-left: 2px; vertical-align: -2px; animation: xpBlink 1s steps(1) infinite; }
.xp .xp-ans { margin-top: 9px; font-weight: 800; font-size: 0.92rem; color: var(--accent-bright); text-shadow: 0 0 12px rgba(11, 234, 181, 0.55); opacity: 0; transform: scale(0.94); transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.2, 0.9, 0.3, 1.4); }
.xp .xp-ans.show { opacity: 1; transform: scale(1); }
@keyframes xpBlink { 50% { opacity: 0; } }

@keyframes cfgFloatA { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes cfgFloatB { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(12px); } }
@keyframes cfgGlow { 0%, 100% { opacity: 0.55; transform: scale(1); } 50% { opacity: 0.8; transform: scale(1.06); } }
@media (prefers-reduced-motion: reduce) {
  .xp { opacity: 1; animation: none; }
  .xp::after { animation: none; }
  .xp .caret { display: none; }
  .xp .xp-ans { opacity: 1; transform: none; }
  .open-sign { animation: none; }
}
@media (max-width: 960px) { .xp-b { display: none; } }
@media (max-width: 600px) {
  .open-sign { transform: scale(0.8); top: -6px; right: 6px; }
  .xp-a { width: 66%; left: 4%; top: 15%; padding: 13px 15px 12px; }
  .xp-a .xp-q { font-size: 0.86rem; }
}

/* ---------- newcomer bridge (replaces the old "two doors" choice) ---------- */
.bridge-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 980px; margin: 0 auto; }
.bridge-step { background: #fff; border: 1px solid var(--hair); border-radius: 20px; padding: 26px; box-shadow: 0 14px 40px -30px rgba(10, 7, 69, 0.28); }
.bridge-num { width: 44px; height: 44px; border-radius: 50%; background: rgba(11, 234, 181, 0.14); color: var(--accent); font-weight: 800; display: grid; place-items: center; margin-bottom: 14px; }
.bridge-step h4 { font-size: 1.08rem; margin-bottom: 6px; }
.bridge-step p { color: var(--tx2); font-size: 0.92rem; line-height: 1.5; }
.bridge-cta { text-align: center; margin-top: 34px; }
.bridge-note { text-align: center; margin-top: 28px; color: var(--tx3); font-size: 0.92rem; }
.bridge-note a { font-weight: 700; }

/* ---------- imagine grid (capability spark cards) ---------- */
.imagine-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.imagine-card {
  --iacc: var(--accent-bright);
  position: relative; background: #fff; border: 1px solid var(--hair); border-radius: 20px; padding: 0;
  display: flex; flex-direction: column; box-shadow: 0 14px 40px -30px rgba(10, 7, 69, 0.3);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s; overflow: hidden;
}
.imagine-card .ic-photo { height: 150px; overflow: hidden; position: relative; flex: none; }
.imagine-card .ic-photo .ic-img { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.imagine-card:hover .ic-photo .ic-img { transform: scale(1.06); }
.imagine-card .ic-body { padding: 20px 24px 22px; display: flex; flex-direction: column; flex: 1; }
.imagine-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--iacc); transform: scaleX(0); transform-origin: left; transition: transform 0.35s ease; z-index: 2; }
.imagine-card:hover { transform: translateY(-5px); box-shadow: 0 28px 56px -32px rgba(10, 7, 69, 0.38); border-color: color-mix(in srgb, var(--iacc) 45%, var(--hair)); }
.imagine-card:hover::before { transform: scaleX(1); }
.imagine-card .ic-tag { display: inline-flex; align-items: center; gap: 7px; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--iacc); margin-bottom: 12px; }
.imagine-card .ic-tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--iacc); }
.imagine-card h3 { font-size: 1.14rem; line-height: 1.3; margin-bottom: 10px; }
.imagine-card p { color: var(--tx2); font-size: 0.9rem; line-height: 1.5; flex: 1; }
.imagine-card .ic-link { margin-top: 16px; font-weight: 700; font-size: 0.85rem; color: var(--iacc); }
.imagine-card .ic-link:hover { text-decoration: underline; }

/* ---------- who we help ---------- */
.help-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.help-card { --hacc: var(--accent); position: relative; background: #fff; border: 1px solid var(--hair); border-radius: 20px; padding: 26px 26px 24px; display: flex; flex-direction: column; box-shadow: 0 14px 40px -30px rgba(10, 7, 69, 0.28); transition: transform 0.3s, box-shadow 0.3s; overflow: hidden; }
.help-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--hacc); transform: scaleX(0); transform-origin: left; transition: transform 0.35s ease; }
.help-card:hover { transform: translateY(-5px); box-shadow: 0 28px 56px -32px rgba(10, 7, 69, 0.38); }
.help-card:hover::before { transform: scaleX(1); }
.help-card .seg { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--hacc); margin-bottom: 12px; }
.help-card blockquote { font-size: 1.16rem; font-weight: 800; letter-spacing: -0.01em; line-height: 1.32; color: var(--ink); margin-bottom: 12px; }
.help-card p { color: var(--tx2); font-size: 0.92rem; line-height: 1.5; flex: 1; }
.help-card .h-link { margin-top: 16px; font-weight: 700; font-size: 0.86rem; color: var(--hacc); }
.help-card .h-link:hover { text-decoration: underline; }

/* ---------- 5F cards ---------- */
.fivef-wrap { display: flex; flex-wrap: wrap; gap: 22px; justify-content: center; }
.fivef-card { flex: 1 1 calc(33.333% - 15px); min-width: 300px; max-width: 380px; background: #fff; border: 1px solid var(--hair); border-radius: 22px; overflow: hidden; box-shadow: 0 14px 40px -30px rgba(10, 7, 69, 0.28); transition: transform 0.3s, box-shadow 0.3s; display: flex; flex-direction: column; }
.fivef-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -32px rgba(10, 7, 69, 0.4); }
.fivef-photo { position: relative; height: 176px; background-size: cover; background-position: center; }
.fivef-photo .num { position: absolute; top: 12px; left: 12px; background: var(--ink); color: #fff; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.08em; border-radius: 9px; padding: 5px 10px; }
.fivef-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.fivef-body h3 { font-size: 1.44rem; }
.fivef-body .outcome { color: var(--accent); font-weight: 800; font-size: 0.95rem; margin: 7px 0 11px; }
.fivef-body p { color: var(--tx2); font-size: 0.92rem; line-height: 1.5; flex: 1; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 7px; margin-top: 15px; }
.chips li { font-size: 0.78rem; font-weight: 600; color: var(--tx2); background: var(--tint); border-radius: 999px; padding: 5px 13px; }
.thread-line { text-align: center; margin-top: 40px; color: var(--tx2); font-size: 1.02rem; }
.thread-line strong { color: var(--ink); }

/* ---------- how we think ---------- */
.dna-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: start; }
.dna-copy p { color: var(--tx2); font-size: 1.05rem; margin-top: 16px; line-height: 1.55; }
.dna-copy p strong { color: var(--ink); }
.principles { display: grid; gap: 14px; margin-top: 28px; }
.principle { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--hair); border-radius: 16px; padding: 18px 20px; box-shadow: 0 10px 30px -26px rgba(10, 7, 69, 0.28); }
.principle .p-no { flex: none; width: 38px; height: 38px; border-radius: 10px; background: rgba(11, 234, 181, 0.14); color: var(--accent); display: grid; place-items: center; font-weight: 800; font-size: 0.9rem; }
.principle h4 { font-size: 1.05rem; margin-bottom: 3px; }
.principle p { color: var(--tx2); font-size: 0.92rem; line-height: 1.45; margin: 0; }
.dna-quote { position: sticky; top: 100px; background: var(--ink); color: #fff; border-radius: 26px; padding: 40px 38px; overflow: hidden; box-shadow: 0 40px 90px -44px rgba(0, 0, 0, 0.7); }
.dna-quote::after { content: ""; position: absolute; top: -30%; right: -20%; width: 55%; height: 70%; background: radial-gradient(circle, rgba(11, 234, 181, 0.2), transparent 70%); pointer-events: none; }
.dna-quote .q-mark { font-size: 4.5rem; line-height: 0.6; color: var(--accent-bright); }
.dna-quote blockquote { font-size: 1.4rem; font-weight: 800; line-height: 1.32; margin: 14px 0 18px; letter-spacing: -0.01em; }
.dna-quote .q-cite { color: #9DB0B2; font-size: 0.92rem; font-weight: 600; }
.dna-quote .btn { margin-top: 26px; }

/* ---------- capability universe ---------- */
/* the "everything connects" flow — small glowing dots travelling node to node */
.universe-flow { display: flex; align-items: center; justify-content: center; gap: 0; max-width: 980px; margin: 0 auto 40px; flex-wrap: wrap; }
.uf-node {
  background: var(--ink); color: #fff; border-radius: 999px; padding: 10px 20px; font-weight: 800; font-size: 0.88rem;
  white-space: nowrap; box-shadow: 0 10px 26px -14px rgba(10, 7, 69, 0.46); flex: none;
}
.uf-line { position: relative; width: 64px; height: 2px; background: var(--hair-strong); flex: none; margin: 0 4px; }
.uf-line .uf-dot { position: absolute; top: 50%; left: 0; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: var(--accent-bright); box-shadow: 0 0 8px rgba(11, 234, 181, 0.8); animation: ufTravel 2.4s linear infinite; animation-delay: var(--d, 0s); }
@keyframes ufTravel { 0% { left: 0; opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { left: calc(100% - 7px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .uf-dot { animation: none; left: 50%; opacity: 1; } }
@media (max-width: 768px) { .universe-flow { display: none; } }

.universe-hub { max-width: 460px; margin: 0 auto 30px; text-align: center; background: #fff; border: 1.5px solid rgba(11, 234, 181, 0.5); border-radius: 20px; padding: 24px 28px; box-shadow: 0 20px 50px -34px rgba(11, 143, 108, 0.5); }
.universe-hub h3 { font-size: 1.16rem; }
.universe-hub p { color: var(--tx2); font-size: 0.92rem; margin-top: 5px; }
.universe-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 1120px; margin: 0 auto; }
.uni-node { background: #fff; border: 1px solid var(--hair); border-radius: 16px; padding: 20px 22px; box-shadow: 0 12px 34px -28px rgba(10, 7, 69, 0.28); transition: transform 0.3s, box-shadow 0.3s; }
.uni-node:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -32px rgba(10, 7, 69, 0.38); }
.uni-node h4 { font-size: 1.02rem; display: flex; align-items: center; gap: 9px; }
.uni-node h4 .nd { width: 9px; height: 9px; border-radius: 50%; background: var(--accent-bright); flex: none; }
.uni-node p { color: var(--tx2); font-size: 0.9rem; line-height: 1.45; margin-top: 8px; padding-left: 18px; }
.universe-note { text-align: center; margin-top: 36px; color: var(--tx2); font-size: 1.02rem; }
.universe-note strong { color: var(--ink); }

/* ---------- AI lab dark band ---------- */
.lab-band {
  position: relative; color: #fff; overflow: hidden;
  background:
    linear-gradient(105deg, rgba(7, 5, 48, 0.95) 0%, rgba(7, 5, 48, 0.88) 55%, rgba(30, 42, 122, 0.8) 100%),
    url('/assets/img/homepage_hero_bg_web.jpg') center / cover no-repeat,
    var(--band);
}
.lab-band::before { content: ""; position: absolute; top: -10%; left: 50%; transform: translateX(-50%); width: 900px; height: 500px; background: radial-gradient(circle, rgba(11, 234, 181, 0.14), transparent 68%); pointer-events: none; }
.lab-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.lab-copy h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); margin: 14px 0 14px; }
.lab-copy > p { color: #B7C6C9; font-size: 1.06rem; line-height: 1.55; max-width: 44ch; }
.lab-tables { display: grid; gap: 11px; margin: 28px 0 30px; }
.lab-tbl { display: flex; align-items: center; gap: 16px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 14px; padding: 15px 17px; transition: background 0.25s, border-color 0.25s, transform 0.25s; }
.lab-tbl:hover { background: rgba(11, 234, 181, 0.08); border-color: rgba(11, 234, 181, 0.4); transform: translateX(4px); }
.lab-tbl .tno { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.12em; color: var(--accent-bright); flex: none; width: 58px; }
.lab-tbl h4 { font-size: 1rem; margin-bottom: 2px; }
.lab-tbl p { color: #9DB0B2; font-size: 0.85rem; }
.lab-photo-frame { position: relative; border-radius: 24px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.7); aspect-ratio: 4 / 5; background-size: cover; background-position: center; }
.lab-photo-frame .cap { position: absolute; inset: auto 0 0 0; padding: 26px 24px 22px; background: linear-gradient(0deg, rgba(10, 20, 32, 0.92), transparent); }
.lab-photo-frame .cap .cl { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.2em; color: var(--accent-bright); }
.lab-photo-frame .cap h3 { font-size: 1.3rem; margin: 6px 0 4px; }
.lab-photo-frame .cap p { color: #AEBFC2; font-size: 0.85rem; }
.lab-passport { margin-top: 20px; color: #B7C6C9; font-size: 0.92rem; }
.lab-passport strong { color: #fff; }

/* ---------- process ---------- */
.process-rail { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.process-rail::before { content: ""; position: absolute; top: 27px; left: 10%; right: 10%; border-top: 2px dashed rgba(11, 143, 108, 0.35); z-index: 0; }
.p-travel { position: absolute; top: 23px; left: 10%; width: 9px; height: 9px; border-radius: 50%; background: var(--accent-bright); box-shadow: 0 0 10px rgba(11, 234, 181, 0.85); animation: pTravel 7s linear infinite; z-index: 0; }
@keyframes pTravel { 0% { left: 10%; opacity: 0; } 6% { opacity: 1; } 94% { opacity: 1; } 100% { left: calc(90% - 9px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .p-travel { display: none; } }
@media (max-width: 960px) { .p-travel { display: none; } }
.p-step { position: relative; z-index: 1; text-align: center; }
.p-step .p-circ { width: 54px; height: 54px; border-radius: 50%; background: var(--paper); border: 2px solid var(--accent-bright); color: var(--accent); font-weight: 800; display: grid; place-items: center; margin: 0 auto 16px; }
.p-step h4 { font-size: 1.08rem; margin-bottom: 6px; }
.p-step p { color: var(--tx2); font-size: 0.88rem; line-height: 1.45; }

/* ---------- results ---------- */
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.proof-card { background: #fff; border: 1px solid var(--hair); border-radius: 20px; padding: 28px 26px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 14px 40px -30px rgba(10, 7, 69, 0.28); }
.proof-card .stars { color: var(--gold); letter-spacing: 3px; }
.proof-card blockquote { color: var(--tx1); font-size: 0.98rem; line-height: 1.55; flex: 1; }
.proof-who { display: flex; align-items: center; gap: 12px; }
.proof-who .av { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(150deg, var(--accent-bright), var(--accent)); color: #06140E; display: grid; place-items: center; font-weight: 800; font-size: 0.85rem; flex: none; }
.proof-who .wn { font-weight: 800; font-size: 0.92rem; }
.proof-who .wo { color: var(--tx3); font-size: 0.82rem; font-weight: 600; }
.trust-bar { display: flex; align-items: center; justify-content: center; gap: 36px; flex-wrap: wrap; margin-top: 46px; color: var(--tx3); font-weight: 800; font-size: 0.92rem; }
.trust-bar .tl { font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--eyebrow); }

/* ---------- final CTA ---------- */
.cta-band {
  position: relative; color: #fff; text-align: center; overflow: hidden;
  background:
    linear-gradient(180deg, rgba(7, 5, 48, 0.94) 0%, rgba(10, 7, 69, 0.9) 100%),
    url('/assets/img/homepage_hero_bg_web.jpg') center 30% / cover no-repeat,
    var(--band);
}
.cta-band::before { content: ""; position: absolute; bottom: -30%; left: 50%; transform: translateX(-50%); width: 760px; height: 480px; background: radial-gradient(circle, rgba(11, 234, 181, 0.16), transparent 68%); pointer-events: none; }
.cta-band .inner { position: relative; max-width: 680px; margin: 0 auto; }
.cta-band h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); margin: 14px 0 16px; }
.cta-band p { color: #B7C6C9; font-size: 1.08rem; line-height: 1.55; margin: 0 auto 32px; max-width: 52ch; }
.cta-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.cta-call { margin-top: 26px; color: #9DB0B2; font-size: 0.94rem; font-weight: 600; }
.cta-call a { color: var(--accent-bright); font-weight: 800; }

/* ---------- footer ---------- */
.footer { background: var(--paper); border-top: 1px solid var(--hair); padding: 66px 0 34px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.footer-brand p { color: var(--tx3); margin-top: 14px; max-width: 280px; font-size: 0.9rem; line-height: 1.5; }
.footer h5 { font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--eyebrow); margin-bottom: 16px; }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer ul a { color: var(--tx1); font-weight: 600; font-size: 0.92rem; transition: color 0.2s; }
.footer ul a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--hair); padding-top: 26px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--tx3); font-size: 0.84rem; }
.footer-bottom .legal-quick { display: flex; gap: 18px; }
.footer-bottom .legal-quick a { color: var(--tx3); }
.footer-bottom .legal-quick a:hover { color: var(--accent); }


/* ============ THE FLOW THREAD ============ */
.flow-sec { position: relative; }
svg.thread { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
svg.thread path { fill: none; stroke-linecap: round; vector-effect: non-scaling-stroke; }
svg.thread .glow { stroke-width: 7; opacity: 0.2; }
svg.thread .core { stroke-width: 2.4; }
.thread-dark .glow, .thread-dark .core { stroke: #0BEAB5; }
.thread-dark .core { filter: drop-shadow(0 0 6px rgba(11, 234, 181, 0.6)); }
.thread-light .glow, .thread-light .core { stroke: #0B8F6C; }
.thread-light .glow { opacity: 0.14; }
.flow-sec > .container { position: relative; z-index: 1; }
@media (max-width: 900px) { svg.thread.between { display: none; } }
@media (prefers-reduced-motion: reduce) { svg.thread path.draw { stroke-dashoffset: 0 !important; } }

/* ---------- interlude: the split & merge ---------- */
.interlude {
  position: relative; color: #fff; overflow: hidden; padding: 76px 0 70px;
  background:
    linear-gradient(180deg, rgba(7, 5, 48, 0.95) 0%, rgba(10, 7, 69, 0.92) 100%),
    url('/assets/img/homepage_hero_bg_web.jpg') center 60% / cover no-repeat,
    var(--band);
}
.interlude .il-head { text-align: center; position: relative; z-index: 1; }
.interlude .il-head h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
.il-stage { position: relative; max-width: 1100px; margin: 10px auto 0; aspect-ratio: 1200 / 780; }
.il-stage svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.il-stage svg path { fill: none; stroke: #0BEAB5; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.il-stage svg .glow { stroke-width: 7; opacity: 0.2; }
.il-stage svg .core { stroke-width: 2.2; filter: drop-shadow(0 0 6px rgba(11, 234, 181, 0.55)); }
.il-cap { position: absolute; transform: translate(-50%, -50%); background: #05032B; border: 1px solid rgba(11, 234, 181, 0.55); color: #fff; border-radius: 999px; padding: 10px 20px; font-weight: 800; font-size: clamp(0.7rem, 1.3vw, 0.95rem); white-space: nowrap; opacity: 0.25; transition: opacity 0.6s ease, box-shadow 0.6s ease; }
.il-cap.lit { opacity: 1; box-shadow: 0 0 30px rgba(11, 234, 181, 0.3); }
.il-merge { position: absolute; transform: translate(-50%, -50%); background: var(--accent-bright); color: var(--btn-ink); border-radius: 999px; padding: 12px 26px; font-weight: 800; font-size: clamp(0.8rem, 1.5vw, 1.02rem); white-space: nowrap; box-shadow: 0 0 44px rgba(11, 234, 181, 0.5); opacity: 0.25; transition: opacity 0.6s ease; }
.il-merge.lit { opacity: 1; }
@media (max-width: 700px) {
  .il-stage { aspect-ratio: auto; height: auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 26px 0 10px; }
  .il-stage svg { display: none; }
  .il-cap, .il-merge { position: static; transform: none; opacity: 1; }
}

/* ---------- the journey ---------- */
.journey {
  position: relative; color: #fff; overflow: hidden; padding: 90px 0 40px;
  background:
    linear-gradient(180deg, rgba(10, 7, 69, 0.94) 0%, rgba(7, 5, 48, 0.96) 60%, rgba(10, 20, 32, 0) 100%),
    linear-gradient(180deg, var(--band) 0%, var(--band) 100%);
}
.journey .j-head { text-align: center; position: relative; z-index: 1; max-width: 640px; margin: 0 auto 20px; }
.journey .j-head p { color: #B7C0E0; font-size: 1.04rem; margin-top: 12px; }
.j-stage { position: relative; max-width: 1100px; margin: 0 auto; aspect-ratio: 1200 / 2150; }
.j-stage svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.j-stage svg path { fill: none; stroke: #0BEAB5; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.j-stage svg .glow { stroke-width: 7; opacity: 0.2; }
.j-stage svg .core { stroke-width: 2.4; filter: drop-shadow(0 0 6px rgba(11, 234, 181, 0.6)); }
.jnode { position: absolute; width: min(30%, 330px); opacity: 0.16; transform: translateY(14px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); z-index: 1; }
.jnode.lit { opacity: 1; transform: none; }
.jnode .jdot { position: absolute; top: 10px; width: 14px; height: 14px; border-radius: 50%; background: var(--accent-bright); box-shadow: 0 0 16px rgba(11, 234, 181, 0.9); }
.jnode.jl { text-align: right; } .jnode.jl .jdot { right: -13%; }
.jnode.jr { text-align: left; } .jnode.jr .jdot { left: -13%; }
.jnode.jc { text-align: center; } .jnode.jc .jdot { left: 50%; top: -30px; margin-left: -7px; }
.jnode .jt { font-weight: 800; font-size: clamp(0.92rem, 1.8vw, 1.16rem); line-height: 1.3; }
.jnode .js { color: #8F98C4; font-size: clamp(0.76rem, 1.4vw, 0.9rem); font-weight: 600; margin-top: 4px; }
.jnode .jphoto { border-radius: 14px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.14); box-shadow: 0 24px 54px -22px rgba(0, 0, 0, 0.7); margin-top: 10px; }
.jnode .jphoto img { width: 100%; display: block; }
@media (max-width: 900px) {
  .j-stage { aspect-ratio: auto; padding-left: 34px; }
  .j-stage::before { content: ""; position: absolute; left: 12px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(180deg, rgba(11, 234, 181, 0.7), rgba(11, 234, 181, 0.25)); border-radius: 2px; }
  .j-stage svg { display: none; }
  .jnode { position: static; width: auto; text-align: left !important; margin-bottom: 30px; opacity: 1; transform: none; }
  .jnode .jdot { position: absolute; left: 6px !important; right: auto !important; top: auto; margin-top: 6px; }
  .jnode .jphoto { max-width: 420px; }
}
@media (prefers-reduced-motion: reduce) {
  .il-cap, .il-merge, .jnode { opacity: 1 !important; transform: none !important; }
}


/* ---------- seams: the thread passing cleanly between rooms ---------- */
.seam-wrap { position: relative; height: 0; z-index: 5; }
.seam {
  position: absolute; left: 50%; top: -72px; width: 2px; height: 144px;
  transform: translateX(-50%) scaleY(0); transform-origin: top center;
  background: linear-gradient(180deg, transparent, var(--seam-c, #0B8F6C) 28%, var(--seam-c, #0B8F6C) 72%, transparent);
  box-shadow: 0 0 12px color-mix(in srgb, var(--seam-c, #0B8F6C) 55%, transparent);
  transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
  pointer-events: none;
}
.seam.lit { transform: translateX(-50%) scaleY(1); }
@media (prefers-reduced-motion: reduce) { .seam { transform: translateX(-50%) scaleY(1); transition: none; } }
@media (max-width: 900px) { .seam { height: 100px; top: -50px; } }

/* ---------- staging ribbon (styled to match the dark hero) ---------- */
.staging-ribbon { position: fixed; bottom: 18px; left: 18px; z-index: 200; background: var(--ink); color: var(--accent-bright); font-weight: 800; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; border-radius: 999px; padding: 8px 15px; pointer-events: none; box-shadow: 0 10px 30px -12px rgba(10, 7, 69, 0.46); }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero-inner, .dna-grid, .lab-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { height: 440px; order: -1; }
  .dna-quote { position: static; }
  .help-grid, .universe-grid, .bridge-grid, .imagine-grid { grid-template-columns: 1fr 1fr; }
  .process-rail { grid-template-columns: repeat(2, 1fr); gap: 30px 18px; }
  .process-rail::before { display: none; }
  .proof-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-burger { display: block; }
  .nav-links.open { display: flex; position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; align-items: flex-start; background: rgba(10, 7, 69, 0.98); border-bottom: 1px solid rgba(255, 255, 255, 0.1); padding: 22px 32px; gap: 18px; }
  .section { padding: 72px 0; }
  .help-grid, .universe-grid, .bridge-grid, .imagine-grid { grid-template-columns: 1fr; }
  .nav-cta .btn-ghost { display: none; }
}
@media (max-width: 560px) {
  .container, .hero-inner, .nav-inner { padding-left: 20px; padding-right: 20px; }
  .fivef-card { min-width: 100%; }
  .process-rail { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; justify-content: center; }
}
