/* ============================================================
   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; margin-bottom: 16px;
}
.eyebrow.neutral { color: var(--eyebrow); }
.eyebrow.bright { color: var(--accent-bright); }

/* ---------- section ---------- */
.section { padding: 108px 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); line-height: 1.15; margin: 0 0 18px; }
.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; white-space: nowrap; transition: color 0.2s; }
.nav-links a:hover { color: var(--accent-bright); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-cta .btn { white-space: nowrap; }
.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('../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('../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; }
}

/* ---------- works-together CTA line (sits inside the dark .interlude band) ---------- */
.bridge-cta { text-align: center; margin-top: 34px; position: relative; z-index: 1; }
.bridge-note { text-align: center; margin-top: 22px; color: rgba(255, 255, 255, 0.6); font-size: 0.92rem; position: relative; z-index: 1; }
.bridge-note a { font-weight: 700; color: #fff; }

/* ---------- imagine if: story-led possibilities on a thread, not a grid ---------- */
.imagine-flow { position: relative; max-width: 900px; margin: 10px auto 0; display: flex; flex-direction: column; gap: 50px; }
.imagine-flow::before {
  content: ""; position: absolute; left: 50%; top: 6px; bottom: 6px; width: 2px;
  background: linear-gradient(180deg, transparent, var(--hair-strong) 8%, var(--hair-strong) 92%, transparent);
  transform: translateX(-50%); z-index: 0;
}
.imagine-story {
  --iacc: var(--accent-bright);
  position: relative; z-index: 1; width: 46%; background: #fff; border: 1px solid var(--hair); border-radius: 20px;
  padding: 26px 28px; box-shadow: 0 14px 40px -30px rgba(10, 7, 69, 0.28); display: block;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.imagine-story:nth-child(odd) { align-self: flex-start; }
.imagine-story:nth-child(even) { align-self: flex-end; }
.imagine-story:hover { transform: translateY(-4px); box-shadow: 0 28px 56px -32px rgba(10, 7, 69, 0.38); border-color: color-mix(in srgb, var(--iacc) 45%, var(--hair)); }
.imagine-story .is-dot { position: absolute; top: 30px; width: 14px; height: 14px; border-radius: 50%; background: var(--iacc); box-shadow: 0 0 0 5px color-mix(in srgb, var(--iacc) 16%, transparent); }
.imagine-story:nth-child(odd) .is-dot { right: -37px; }
.imagine-story:nth-child(even) .is-dot { left: -37px; }
.imagine-story h3 { font-size: 1.18rem; line-height: 1.32; color: var(--ink); }
.imagine-story .is-body { color: var(--tx2); font-size: 0.94rem; line-height: 1.5; margin-top: 10px; }
.imagine-story .is-quote { margin: 14px 0 0; padding-left: 14px; border-left: 3px solid var(--iacc); color: var(--tx2); font-size: 0.86rem; font-style: italic; line-height: 1.5; }
.imagine-story .is-quote cite { display: block; margin-top: 6px; font-style: normal; font-weight: 700; font-size: 0.78rem; color: var(--tx3); }
.imagine-story .is-link { display: inline-block; margin-top: 16px; font-weight: 700; font-size: 0.85rem; color: var(--iacc); }
.imagine-story:hover .is-link { text-decoration: underline; }
@media (max-width: 760px) {
  .imagine-flow { gap: 30px; }
  .imagine-flow::before { left: 16px; }
  .imagine-story { width: auto; margin-left: 38px; align-self: stretch !important; }
  .imagine-story .is-dot { left: -30px !important; right: auto !important; top: 26px; }
}

/* ---------- the Five Fs: interconnected nodes, not cards or another service ---------- */
.fivef-flow { display: flex; align-items: flex-start; justify-content: center; flex-wrap: wrap; gap: 0; max-width: 1080px; margin: 6px auto 0; }
.ff-node { flex: 1 1 150px; max-width: 190px; text-align: center; padding: 0 8px; }
.ff-no { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 800; font-size: 0.85rem; margin-bottom: 12px; }
.ff-node h4 { font-size: 1.05rem; margin-bottom: 6px; }
.ff-node p { color: var(--tx2); font-size: 0.85rem; line-height: 1.4; }
.ff-line { position: relative; width: 52px; height: 2px; background: var(--hair-strong); flex: none; margin-top: 17px; }
.ff-line .ff-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: ffTravel 2.4s linear infinite; animation-delay: var(--d, 0s); }
@keyframes ffTravel { 0% { left: 0; opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { left: calc(100% - 7px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .ff-dot { animation: none; left: 50%; opacity: 1; } }
@media (max-width: 760px) {
  .fivef-flow { flex-direction: column; align-items: center; }
  .ff-node { max-width: 280px; }
  .ff-line { width: 2px; height: 30px; margin: 4px 0; }
  .ff-line .ff-dot { left: 50%; top: 0; margin-left: -3.5px; margin-top: 0; animation-name: ffTravelV; }
}
@keyframes ffTravelV { 0% { top: 0; opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { top: calc(100% - 7px); opacity: 0; } }
.thread-line { text-align: center; margin-top: 34px; 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); }
.dna-photo { position: relative; margin-top: 30px; border-radius: 18px; overflow: hidden; box-shadow: 0 24px 60px -30px rgba(10, 7, 69, 0.35); }
.dna-photo img { width: 100%; display: block; }
.dna-photo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--accent-bright), var(--accent)); }
.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; }

/* ---------- 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('../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; }

.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); }
/* the trust bar now opens the final dark CTA band instead of following a testimonials grid */
.cta-band .trust-bar { margin-top: 0; margin-bottom: 46px; color: rgba(255, 255, 255, 0.55); }
.cta-band .trust-bar .tl { color: rgba(255, 255, 255, 0.38); }

/* ---------- 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('../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: 18px; flex-wrap: wrap; }
.cta-band .cta-call { margin-top: 40px; 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 1fr; gap: 40px; margin-bottom: 44px; }
.footer .logo { color: var(--ink); }
/* same teal as everywhere else in the wordmark, just darkened enough to read on
   the light footer — --accent is a different, more olive green and looked
   inconsistent sitting next to the bright-teal "Flow" used everywhere else */
.footer .logo em { color: color-mix(in srgb, var(--accent-bright) 62%, black); }
.footer-wordmark { display: inline-block; line-height: 0; }
.footer-wordmark img { display: block; width: 181px; max-width: 100%; height: auto; }
.footer-wordmark--dark img { width: 181px; }
.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('../img/homepage_hero_bg_web.jpg') center 60% / cover no-repeat,
    var(--band);
}
.interlude .il-head { text-align: center; position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
.interlude .il-head h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); line-height: 1.18; margin: 0 0 4px; }
.interlude .il-head p { color: rgba(255, 255, 255, 0.72); font-size: 1.02rem; margin-top: 18px; }
.il-stage { position: relative; max-width: 1100px; margin: 34px 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)); }
/* scattered + muted until the flow reaches them, then they settle into place and colour — a calm, not a snap */
.il-cap {
  position: absolute;
  transform: translate(calc(-50% + var(--jx, 0px)), calc(-50% + var(--jy, 0px))) rotate(var(--jr, 0deg));
  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.3; filter: grayscale(0.75) saturate(0.4);
  transition: opacity 1.1s ease, box-shadow 1.1s ease, transform 1.3s cubic-bezier(.16,.8,.24,1), filter 1.3s ease;
}
.il-cap.lit { opacity: 1; box-shadow: 0 0 30px rgba(11, 234, 181, 0.3); transform: translate(-50%, -50%) rotate(0deg); filter: none; }
.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-direction: column; align-items: center; gap: 10px; padding: 26px 0 10px; }
  .il-stage svg { display: none; }
  .il-cap, .il-merge { position: static; transform: none; opacity: 1; filter: none; max-width: 92%; white-space: normal; text-align: center; }
}

/* ---------- 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; }
/* hover/focus reveals one more line — the label alone stays readable while scroll-scanning */
.jnode { cursor: default; }
.jnode .jmore { color: #8F98C4; font-size: clamp(0.72rem, 1.3vw, 0.84rem); font-style: italic; margin-top: 6px; opacity: 0; max-height: 0; overflow: hidden; transition: opacity 0.35s ease, max-height 0.35s ease; }
.jnode:hover .jmore, .jnode:focus-within .jmore, .jnode:focus .jmore { opacity: 1; max-height: 80px; }
/* the one human aside — a quiet whisper folded into its node, not a separate flourish */
.jnode .jwhisper { color: rgba(183, 192, 224, 0.6); font-size: 0.78rem; font-style: italic; margin-top: 10px; }
@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; }
  .jnode .jmore { opacity: 1; max-height: none; }
}
@media (prefers-reduced-motion: reduce) {
  .il-cap, .il-merge, .jnode { opacity: 1 !important; transform: none !important; filter: 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; }
  .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: 86px 0; }
  .nav-cta .btn-ghost { display: inline-flex; }
}
@media (max-width: 560px) {
  .container, .hero-inner, .nav-inner { padding-left: 20px; padding-right: 20px; }
  .nav-cta { gap: 6px; }
  .nav-cta .btn-bright { padding-left: 17px; padding-right: 17px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; justify-content: center; }
}

/* ============================================================
   Five Fs page (/five-fs.html)
   ============================================================ */
/* -- hero: original CSS-only backdrop (no reused photo), text aligned to the standard
   1200px container so it lines up with the nav logo instead of floating centred -- */
.ff-hero {
  position: relative; overflow: hidden; min-height: 560px; display: flex; align-items: center;
  background:
    radial-gradient(650px 420px at 82% 18%, rgba(11,234,181,0.18), transparent 60%),
    radial-gradient(520px 380px at 68% 88%, rgba(124,92,252,0.16), transparent 62%),
    radial-gradient(720px 520px at 8% 45%, rgba(11,234,181,0.07), transparent 65%),
    linear-gradient(120deg, #05032B 0%, #0A0745 55%, #171255 100%);
}
.ff-hero::before {
  content: ""; position: absolute; inset: 0; opacity: 0.55; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 34px 34px;
}
.ff-hero .container { position: relative; z-index: 1; padding: 90px 32px; }
.ff-hero-copy { max-width: 680px; }
.ff-hero h1 { color: #fff; font-size: clamp(2.2rem, 4.2vw, 3.3rem); line-height: 1.16; letter-spacing: -0.03em; }
.ff-hero p { color: #C4CCE8; font-size: 1.1rem; line-height: 1.6; margin: 22px 0 32px; max-width: 46ch; }
.ff-hero .cta-row { display: flex; gap: 16px; flex-wrap: wrap; }

/* -- framework intro -- */
.ff-intro { padding: 90px 0 70px; background: var(--paper); text-align: center; }
.ff-intro .section-head { max-width: 560px; margin: 0 auto; }
.ff-intro .fivef-flow { margin-top: 50px; transform: scale(1.05); }

/* -- individual F: zigzag, reusing imagine-story's visual language but new markup -- */
.ff-breakdown { padding: 20px 0 30px; background: var(--paper); }
.ff-item { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 70px 0; }
.ff-item:nth-child(even) .ff-photo { order: 2; }
.ff-photo { position: relative; border-radius: 20px; overflow: hidden; box-shadow: 0 26px 60px -30px rgba(10,7,69,0.32); aspect-ratio: 4/3; }
.ff-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ff-photo .ff-no-badge { position: absolute; top: 16px; left: 16px; background: var(--ink); color: #fff; font-weight: 800; font-size: 0.8rem; letter-spacing: 0.06em; border-radius: 9px; padding: 6px 12px; }
.ff-copy {
  --facc: var(--accent-bright);
  /* readable, contrast-safe version of --facc for text on the light paper background —
     the raw accent (esp. the bright teal/pink) is too light to read as body text here;
     this keeps the same hue per F while staying legible. Decorative uses (border, dot,
     background tint) keep the raw --facc since those don't need text-level contrast. */
  --facc-text: color-mix(in srgb, var(--facc) 62%, black);
}
.ff-copy .eyebrow { color: var(--facc-text); }
.ff-copy h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.18; margin: 0 0 16px; }
.ff-copy .ff-lede { color: var(--tx2); font-size: 1.02rem; line-height: 1.55; margin-bottom: 18px; }
.ff-symptoms { list-style: none; margin: 0 0 18px; padding: 0; }
.ff-symptoms li { position: relative; padding-left: 20px; color: var(--tx2); font-size: 0.94rem; font-style: italic; line-height: 1.5; margin-bottom: 8px; }
.ff-symptoms li::before { content: "\201C"; position: absolute; left: 0; top: -2px; color: var(--facc-text); font-weight: 800; font-size: 1.1rem; font-style: normal; }
.ff-questions { background: color-mix(in srgb, var(--facc) 8%, transparent); border-left: 3px solid var(--facc); border-radius: 0 12px 12px 0; padding: 14px 18px; margin-bottom: 18px; font-size: 0.92rem; color: var(--tx1); line-height: 1.5; }
.ff-scenario { color: var(--tx2); font-size: 0.95rem; line-height: 1.55; margin-bottom: 16px; }
.ff-help { font-weight: 700; font-size: 0.94rem; color: var(--ink); }
.ff-help span { color: var(--facc-text); }
@media (max-width: 860px) {
  .ff-item { grid-template-columns: 1fr; gap: 26px; padding: 50px 0; }
  .ff-item:nth-child(even) .ff-photo { order: 0; }
}

/* -- connected framework closer -- */
.ff-connected { padding: 90px 0; background: var(--tint); text-align: center; }
.ff-connected .section-head { max-width: 560px; margin: 0 auto; }
.ff-loop { margin-top: 46px; }

/* -- final section -- */
.ff-teaser { padding: 90px 0; background: var(--paper); text-align: center; }
.ff-teaser .inner { max-width: 560px; margin: 0 auto; }
.ff-teaser h2 { font-size: clamp(1.6rem, 2.8vw, 2.15rem); margin: 12px 0 18px; }
.ff-teaser p { color: var(--tx2); font-size: 1.08rem; line-height: 1.55; margin-bottom: 26px; }
.ff-final-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
