/* ===========================================================
   Thought Ignite — homepage motion & new sections (Oct 2026)
   Loaded only on index.html, after style.css and extras.css.
   =========================================================== */

/* ---------- Hero ---------- */
.hero2 { background: radial-gradient(1200px 600px at 85% -10%, #1c4a3c 0%, var(--forest) 55%, #0c2820 100%); position: relative; overflow: hidden; padding: clamp(3rem, 6vw, 5rem) 0 clamp(3.5rem, 6vw, 5rem); }
.hero2 canvas.embers { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0.85; }
.hero2-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 960px) { .hero2-grid { grid-template-columns: 1.02fr 0.98fr; } }
.hero2 .eyebrow { display: inline-flex; align-items: center; gap: 0.6rem; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sage); padding: 0.45rem 0.9rem; border: 1px solid var(--rule-dark); border-radius: 999px; margin-bottom: 1.4rem; }
.hero2 .eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(232,163,60,0.7); animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(232,163,60,0.6); } 70% { box-shadow: 0 0 0 10px rgba(232,163,60,0); } 100% { box-shadow: 0 0 0 0 rgba(232,163,60,0); } }
.hero2 h1 { color: var(--ivory); font-size: clamp(2.4rem, 5.4vw, 4rem); margin-bottom: 0.4em; text-wrap: balance; }
.hero2 h1 .ignite { position: relative; color: var(--gold); white-space: nowrap; }
.hero2 h1 .ignite::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0.02em; height: 0.12em; background: linear-gradient(90deg, var(--gold), #f26b3a); border-radius: 2px; transform: scaleX(0); transform-origin: left; animation: underline 0.9s 0.9s cubic-bezier(.2,.7,.3,1) forwards; }
@keyframes underline { to { transform: scaleX(1); } }
.hero2 .lede { color: var(--sage); font-size: 1.15rem; max-width: 36rem; }
.hero2 .cta-row { margin-top: 1.8rem; }
.btn-glow { position: relative; }
.btn-glow::after { content: ""; position: absolute; inset: -3px; border-radius: 6px; background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.55) 50%, transparent 70%); background-size: 250% 100%; animation: shine 3.2s 1.6s infinite; pointer-events: none; mix-blend-mode: overlay; }
@keyframes shine { 0% { background-position: 150% 0; } 60%, 100% { background-position: -100% 0; } }
.trust-row { display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; margin-top: 1.8rem; color: var(--sage); font-size: 0.88rem; }
.trust-row span { display: inline-flex; align-items: center; gap: 0.45rem; }
.trust-row svg { width: 16px; height: 16px; color: var(--gold); flex-shrink: 0; }

/* Hero visual: photo + floating animated cards */
.hero2-visual { position: relative; max-width: 560px; justify-self: center; width: 100%; }
.hero2-photo { border-radius: 18px; overflow: hidden; box-shadow: 0 30px 70px -25px rgba(0,0,0,0.6); aspect-ratio: 3 / 2; background: #1b4a3c; transform: rotate(-1.5deg); }
.hero2-photo img { width: 100%; height: 100%; object-fit: cover; }
.float-card { position: absolute; background: rgba(246,245,240,0.97); color: var(--ink); border-radius: 14px; box-shadow: 0 18px 40px -14px rgba(0,0,0,0.45); padding: 1rem 1.1rem; }
.score-card { right: -1rem; bottom: -2.2rem; width: min(270px, 72%); animation: bob 6s ease-in-out infinite; }
.score-card .sc-head { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-bottom: 0.7rem; }
.score-card .sc-title { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; color: var(--warm-grey); }
.score-card .sc-level { font-family: var(--serif); font-weight: 900; font-size: 1.55rem; color: var(--forest); line-height: 1; font-variant-numeric: tabular-nums; }
.score-card .sc-level small { font-family: var(--sans); font-size: 0.7rem; font-weight: 600; color: var(--warm-grey); margin-right: 0.25rem; }
.sc-row { display: grid; grid-template-columns: 4.6rem 1fr 1.4rem; align-items: center; gap: 0.55rem; font-size: 0.78rem; font-weight: 600; margin-top: 0.45rem; }
.sc-row b { font-variant-numeric: tabular-nums; text-align: right; color: var(--forest); }
.sc-bar { height: 7px; border-radius: 99px; background: #e6e2d6; overflow: hidden; }
.sc-bar i { display: block; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, #E8A33C, #2f8a5f); transition: width 1.6s cubic-bezier(.2,.7,.3,1); }
.fix-card { left: -1.2rem; top: -1.6rem; width: min(290px, 78%); font-size: 0.85rem; animation: bob 7s 1s ease-in-out infinite; }
.fix-card .fc-label { display: flex; align-items: center; gap: 0.4rem; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; color: #b9771a; margin-bottom: 0.4rem; }
.fix-card .fc-label svg { width: 14px; height: 14px; }
.fc-old { color: var(--warm-grey); text-decoration: line-through; text-decoration-color: #c2392f; }
.fc-new { color: #1d7a4f; font-weight: 600; min-height: 1.3em; display: block; }
.fc-new::after { content: "|"; margin-left: 1px; animation: blink 1s steps(1) infinite; color: var(--forest); }
@keyframes blink { 50% { opacity: 0; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.bolt-badge { position: absolute; right: 1.2rem; top: 1.2rem; width: 54px; height: 54px; border-radius: 14px; background: var(--forest); display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 24px -8px rgba(0,0,0,0.55); }
.bolt-badge svg { width: 30px; height: 30px; overflow: visible; }
.bolt-badge .bolt { fill: none; stroke: var(--gold); stroke-width: 2; stroke-linejoin: round; stroke-dasharray: 80; stroke-dashoffset: 80; animation: draw 1s 0.4s forwards, ignite 0.4s 1.3s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes ignite { to { fill: var(--gold); filter: drop-shadow(0 0 6px rgba(232,163,60,0.9)); } }
@media (max-width: 560px) { .score-card { right: 0.4rem; } .fix-card { left: 0.4rem; } }

/* ---------- Marquee ---------- */

/* ---------- Free practice tools ---------- */
.tools-section { background: var(--ivory); }
.tools-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 2.2rem; }
.tools-head .section-head { margin-bottom: 0; }
.free-pill { display: inline-flex; align-items: center; gap: 0.4rem; background: var(--forest); color: var(--ivory); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; padding: 0.35rem 0.75rem; border-radius: 999px; }
.free-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.tools-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
@media (max-width: 820px) { .tools-grid { grid-template-columns: 1fr; } }
.tool-card { background: #fff; border-radius: 16px; overflow: hidden; border: 1px solid rgba(17,53,43,0.08); box-shadow: 0 1px 2px rgba(17,53,43,0.04), 0 20px 40px -24px rgba(17,53,43,0.35); display: flex; flex-direction: column; transition: transform 0.25s ease, box-shadow 0.25s ease; min-width: 0; }
.tool-card:hover { transform: translateY(-5px); box-shadow: 0 2px 4px rgba(17,53,43,0.06), 0 30px 50px -24px rgba(17,53,43,0.45); }
.tool-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #1b4a3c; }
.tool-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.tool-card:hover .tool-media img { transform: scale(1.05); }
.tool-tag { position: absolute; left: 1rem; top: 1rem; background: rgba(17,53,43,0.88); color: var(--ivory); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.35rem 0.7rem; border-radius: 6px; }
.tool-body { padding: 1.6rem 1.6rem 1.8rem; display: flex; flex-direction: column; gap: 0.9rem; flex: 1; }
.tool-body h3 { margin: 0; font-size: 1.5rem; }
.tool-body p { margin: 0; color: var(--warm-grey); }
.tool-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; font-size: 0.93rem; }
.tool-list li { display: flex; gap: 0.6rem; align-items: flex-start; }
.tool-list li::before { content: "✓"; color: #2f8a5f; font-weight: 800; }
.tool-body .btn { align-self: flex-start; margin-top: auto; }
.wave { display: flex; align-items: center; gap: 3px; height: 26px; }
.wave i { width: 4px; border-radius: 2px; background: var(--gold); height: 30%; animation: wave 1.1s ease-in-out infinite; }
.wave i:nth-child(2) { animation-delay: 0.1s; } .wave i:nth-child(3) { animation-delay: 0.2s; } .wave i:nth-child(4) { animation-delay: 0.3s; } .wave i:nth-child(5) { animation-delay: 0.4s; } .wave i:nth-child(6) { animation-delay: 0.5s; } .wave i:nth-child(7) { animation-delay: 0.6s; }
@keyframes wave { 0%, 100% { height: 25%; } 50% { height: 100%; } }
.tool-media .wave { position: absolute; right: 1rem; bottom: 1rem; background: rgba(17,53,43,0.85); padding: 0.4rem 0.6rem; border-radius: 8px; height: 34px; }
.tools-note { margin: 1.4rem 0 0; font-size: 0.82rem; color: var(--warm-grey); max-width: none; }

/* ---------- Test finder ---------- */
.finder { background: var(--ivory-dim); }
.finder-box { background: var(--forest); color: var(--ivory); border-radius: 18px; padding: clamp(1.6rem, 4vw, 2.6rem); display: grid; gap: 1.4rem; max-width: 52rem; margin: 0 auto; box-shadow: 0 30px 60px -30px rgba(17,53,43,0.6); }
.finder-box h2 { color: var(--ivory); margin: 0; }
.finder-progress { display: flex; gap: 6px; }
.finder-progress i { flex: 1; height: 4px; border-radius: 99px; background: rgba(246,245,240,0.18); transition: background 0.3s ease; }
.finder-progress i.on { background: var(--gold); }
.finder-q { font-family: var(--serif); font-weight: 700; font-size: 1.3rem; margin: 0; }
.finder-opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0.7rem; }
.finder-opts button { font: 600 0.95rem var(--sans); text-align: left; color: var(--ivory); background: rgba(246,245,240,0.06); border: 1.5px solid var(--rule-dark); border-radius: 10px; padding: 0.9rem 1rem; cursor: pointer; transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease; }
.finder-opts button:hover, .finder-opts button:focus-visible { border-color: var(--gold); background: rgba(232,163,60,0.12); transform: translateY(-2px); outline: none; }
.finder-result { display: grid; gap: 0.8rem; animation: fadeup 0.5s ease both; }
@keyframes fadeup { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.finder-result .pick { font-family: var(--serif); font-weight: 900; font-size: clamp(1.8rem, 4vw, 2.4rem); color: var(--gold); line-height: 1.1; }
.finder-result p { color: var(--sage); margin: 0; }
.finder-result .cta-row { margin-top: 0.4rem; }
.finder-reset { background: none; border: none; color: var(--sage); text-decoration: underline; cursor: pointer; font: inherit; padding: 0; justify-self: start; }

/* ---------- Programs: count-up figures ---------- */
.program-card { position: relative; overflow: hidden; }
.program-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.35s ease; }
.program-card:hover::before { transform: scaleX(1); }
.program-card .go { transition: letter-spacing 0.2s ease; }
.program-card:hover .go { letter-spacing: 0.03em; }

/* ---------- Session times in visitor's time zone ---------- */
.local-times { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8rem; margin-top: 2.2rem; }
.time-chip { display: inline-flex; align-items: center; gap: 0.6rem; background: rgba(246,245,240,0.08); border: 1px solid var(--rule-dark); color: var(--ivory); border-radius: 999px; padding: 0.55rem 1.1rem; font-size: 0.92rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.time-chip svg { width: 18px; height: 18px; color: var(--gold); }
.time-note { text-align: center; color: var(--sage); font-size: 0.82rem; margin: 0.8rem auto 0; }
.timeline-line { position: absolute; top: 19px; left: calc(16.5% + 6px); right: calc(16.5% + 6px); height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 1.4s cubic-bezier(.2,.7,.3,1); z-index: 0; }
.timeline.in .timeline-line { transform: scaleX(1); }
@media (max-width: 760px) { .timeline-line { display: none; } }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 1; transform: none; }
.js-motion .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2,.7,.3,1); }
.js-motion .reveal.in { opacity: 1; transform: none; }
.js-motion .reveal.d1 { transition-delay: 0.08s; } .js-motion .reveal.d2 { transition-delay: 0.16s; } .js-motion .reveal.d3 { transition-delay: 0.24s; }

/* ---------- Closing CTA with spark ---------- */
.cta-band.spark-band { position: relative; overflow: hidden; }
.cta-band.spark-band::before { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -200px; background: radial-gradient(circle, rgba(232,163,60,0.35), transparent 65%); animation: glowmove 8s ease-in-out infinite alternate; pointer-events: none; }
@keyframes glowmove { to { transform: translate(-80px, 60px); } }
.cta-band.spark-band .wrap { position: relative; }

/* ---------- Sticky phone CTA ---------- */
.mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: var(--forest); padding: 0.7rem 16px calc(0.7rem + env(safe-area-inset-bottom)); box-shadow: 0 -4px 18px rgba(0,0,0,0.22); transform: translateY(110%); transition: transform 0.25s ease; }
.mobile-cta.show { transform: translateY(0); }
.mobile-cta .btn { width: 100%; justify-content: center; }
@media (min-width: 861px) { .mobile-cta { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .hero2 canvas.embers, .btn-glow::after { display: none; }
  .score-card, .fix-card, .prepfor-track, .wave i, .hero2 .eyebrow .dot, .cta-band.spark-band::before { animation: none !important; }
  .hero2 h1 .ignite::after { animation: none; transform: scaleX(1); }
  .bolt-badge .bolt { animation: none; stroke-dashoffset: 0; fill: var(--gold); }
  .js-motion .reveal { opacity: 1; transform: none; transition: none; }
  .sc-bar i, .timeline-line { transition: none; }
}

/* ===========================================================
   Motion v2 — richer homepage animation (Oct 2026)
   =========================================================== */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; background: linear-gradient(90deg, #E8A33C, #f26b3a); transform-origin: left; transform: scaleX(0); pointer-events: none; }

/* Hero: cursor spotlight + orbit + 3D layers */
.hero2 .spot { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(420px circle at var(--mx, 70%) var(--my, 30%), rgba(232,163,60,0.16), transparent 60%); transition: background 0.1s linear; z-index: 0; }
.hero2-visual { perspective: 1200px; }
.hero2-stage { position: relative; transform-style: preserve-3d; transition: transform 0.25s ease-out; will-change: transform; }
.hero2-stage .hero2-photo { transform: rotate(-1.5deg) translateZ(0); }
.hero2-stage .fix-card { transform: translateZ(60px); }
.hero2-stage .score-card { transform: translateZ(90px); }
.hero2-stage .bolt-badge { transform: translateZ(120px); }
.orbit { position: absolute; inset: -9% -7%; pointer-events: none; z-index: -1; }
.orbit svg { width: 100%; height: 100%; overflow: visible; animation: spin 38s linear infinite; }
.orbit ellipse { fill: none; stroke: rgba(232,163,60,0.35); stroke-width: 1.2; stroke-dasharray: 3 9; }
.orbit circle { fill: var(--gold); filter: drop-shadow(0 0 6px rgba(232,163,60,0.9)); }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; height: 60px; z-index: 1; pointer-events: none; }
.hero-wave svg { width: 100%; height: 100%; display: block; }
.hero-wave path { fill: var(--ivory); }
.hero2 { padding-bottom: clamp(5rem, 8vw, 6.5rem); }

/* Headline word reveal */
.split .w { display: inline-block; opacity: 0; transform: translateY(0.6em) rotate(2deg); filter: blur(8px); animation: wordIn 0.8s cubic-bezier(.2,.7,.3,1) forwards; animation-delay: calc(var(--i) * 70ms + 150ms); }
@keyframes wordIn { to { opacity: 1; transform: none; filter: blur(0); } }

/* Magnetic buttons */
.magnetic { transition: transform 0.25s cubic-bezier(.2,.7,.3,1), background 0.18s ease, box-shadow 0.18s ease; will-change: transform; }


/* Section heading underline draw */
.section-head h2, .tools-head h2 { position: relative; display: inline-block; }
.js-motion .section-head h2::after, .js-motion .tools-head h2::after { content: ""; position: absolute; left: 0; bottom: -0.15em; height: 3px; width: 64px; background: var(--gold); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform 0.8s 0.25s cubic-bezier(.2,.7,.3,1); }
.js-motion .reveal.in h2::after, .js-motion .section-head.in h2::after { transform: scaleX(1); }
.timeline-section .section-head h2::after { background: var(--gold); }

/* Tilt + glare cards */
.tilt { transform-style: preserve-3d; transition: transform 0.2s ease-out, box-shadow 0.25s ease; will-change: transform; }
.tilt .glare { position: absolute; inset: 0; pointer-events: none; z-index: 3; border-radius: inherit; background: radial-gradient(500px circle at var(--gx, 50%) var(--gy, 0%), rgba(255,255,255,0.22), transparent 45%); opacity: 0; transition: opacity 0.25s ease; }
.tilt:hover .glare { opacity: 1; }
.tool-card { position: relative; }

/* Writing card: live email typing overlay */
.typing-email { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; background: rgba(255,255,255,0.95); color: var(--ink); border-radius: 10px; padding: 0.7rem 0.85rem; font-size: 0.8rem; line-height: 1.45; box-shadow: 0 12px 24px -10px rgba(0,0,0,0.45); max-width: 340px; }
.typing-email .te-head { display: flex; justify-content: space-between; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--warm-grey); margin-bottom: 0.3rem; }
.typing-email .te-count { color: #2f8a5f; font-variant-numeric: tabular-nums; }
.typing-email .te-body { min-height: 3.6em; }
.typing-email .te-body::after { content: "|"; animation: blink 1s steps(1) infinite; color: var(--forest); }

/* Pillar icons draw themselves */
.js-motion .pillar .pillar-icon * { stroke-dasharray: 120; stroke-dashoffset: 120; transition: stroke-dashoffset 1.4s cubic-bezier(.2,.7,.3,1) 0.2s; }
.js-motion .pillar.in .pillar-icon * { stroke-dashoffset: 0; }
.pillar { transition: transform 0.25s ease, box-shadow 0.25s ease; }
.pillar:hover { transform: translateY(-6px); }

/* Ambient blobs behind tools */
.tools-section { position: relative; overflow: hidden; }
.tools-section::before, .tools-section::after { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; filter: blur(70px); opacity: 0.35; pointer-events: none; z-index: 0; animation: drift 18s ease-in-out infinite alternate; }
.tools-section::before { background: #f5d79a; left: -180px; top: -120px; }
.tools-section::after { background: #bcd9cd; right: -200px; bottom: -160px; animation-delay: -9s; }
.tools-section .wrap { position: relative; z-index: 1; }
@keyframes drift { to { transform: translate(80px, 60px) scale(1.15); } }

/* Quick CLB check */
.qclb { background: var(--forest); position: relative; overflow: hidden; }
.qclb::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 400px at 15% 0%, rgba(232,163,60,0.18), transparent 60%), radial-gradient(600px 400px at 100% 100%, rgba(158,194,182,0.15), transparent 60%); pointer-events: none; }
.qclb .wrap { position: relative; display: grid; gap: 2.4rem; align-items: center; }
@media (min-width: 940px) { .qclb .wrap { grid-template-columns: 0.9fr 1.1fr; } }
.qclb h2 { color: var(--ivory); }
.qclb .section-head p { color: var(--sage); }
.qclb-card { background: rgba(246,245,240,0.06); border: 1px solid var(--rule-dark); border-radius: 18px; padding: clamp(1.2rem, 3vw, 1.8rem); display: grid; gap: 1.2rem; backdrop-filter: blur(4px); min-width: 0; }
.qtabs { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.qtabs button { font: 600 0.88rem var(--sans); border: 1.5px solid var(--rule-dark); background: transparent; color: var(--ivory); border-radius: 999px; padding: 0.45rem 1rem; cursor: pointer; transition: all 0.2s ease; }
.qtabs button[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--forest); }
.qrows { display: grid; gap: 0.9rem; }
.qrow { display: grid; grid-template-columns: 5.6rem 1fr 3.2rem 3.4rem; align-items: center; gap: 0.8rem; color: var(--ivory); font-size: 0.9rem; font-weight: 600; }
@media (max-width: 480px) { .qrow { grid-template-columns: 4.6rem 1fr 2.6rem 3rem; gap: 0.5rem; font-size: 0.82rem; } }
.qrow output { font-variant-numeric: tabular-nums; text-align: right; color: var(--sage); }
.qrow .qclb-pill { justify-self: end; font-size: 0.78rem; font-weight: 800; padding: 0.25rem 0.5rem; border-radius: 6px; background: rgba(246,245,240,0.12); color: var(--ivory); transition: background 0.3s ease, color 0.3s ease; white-space: nowrap; }
.qrow .qclb-pill.hi { background: #2f8a5f; }
.qrow .qclb-pill.mid { background: var(--gold); color: var(--forest); }
.qrow input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 99px; background: linear-gradient(90deg, var(--gold) var(--p, 50%), rgba(246,245,240,0.18) var(--p, 50%)); outline: none; min-width: 0; }
.qrow input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: var(--ivory); border: 3px solid var(--gold); cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,0.35); }
.qrow input[type=range]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--ivory); border: 3px solid var(--gold); cursor: pointer; }
.qrow input[type=range]:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.qresult { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; border-top: 1px solid var(--rule-dark); padding-top: 1.1rem; }
.qring { width: 96px; height: 96px; flex-shrink: 0; }
.qring circle { fill: none; stroke-width: 9; }
.qring .t { stroke: rgba(246,245,240,0.12); }
.qring .a { stroke: var(--gold); stroke-linecap: round; transform: rotate(-90deg); transform-origin: 50% 50%; transition: stroke-dashoffset 0.8s cubic-bezier(.2,.7,.3,1); }
.qring text { fill: var(--ivory); font-family: var(--serif); font-weight: 900; font-size: 28px; }
.qresult p { margin: 0; color: var(--sage); font-size: 0.95rem; flex: 1; min-width: 12rem; }
.qresult p b { color: var(--ivory); }

/* CTA band embers */
.cta-band.spark-band canvas.embers { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0.7; }

@media (prefers-reduced-motion: reduce) {
  .split .w { animation: none; opacity: 1; transform: none; filter: none; }
  .orbit svg, .tools-section::before, .tools-section::after { animation: none !important; }
  .hero2-stage, .tilt, .magnetic { transition: none; transform: none !important; }
  .scroll-progress, .hero2 .spot { display: none; }
  .typing-email .te-body::after { animation: none; }
}

/* "We prepare you for" strip (replaces the old marquee) */
.prepfor { background: var(--ivory); padding: clamp(1.6rem, 3vw, 2.4rem) 0; margin-top: -1px; }
.prepfor-inner { display: flex; align-items: center; gap: clamp(1.2rem, 3vw, 2.4rem); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding-top: clamp(1.1rem, 2.4vw, 1.6rem); padding-bottom: clamp(1.1rem, 2.4vw, 1.6rem); }
.prepfor-label { flex-shrink: 0; margin: 0; display: grid; gap: 0.15rem; padding-right: clamp(1.2rem, 3vw, 2.4rem); border-right: 1px solid var(--rule); font-family: var(--sans); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--warm-grey); line-height: 1.35; }
.prepfor-label span:last-child { color: var(--forest); position: relative; }
.prepfor-label span:last-child::after { content: ""; display: block; width: 28px; height: 2px; margin-top: 0.45rem; background: var(--gold); border-radius: 2px; }
.prepfor-rail { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
.prepfor-track { display: flex; width: max-content; animation: prepfor 60s linear infinite; }
.prepfor:hover .prepfor-track { animation-play-state: paused; }
.pf-set { display: flex; align-items: center; flex-shrink: 0; }
.pf-word { font-family: var(--serif); font-weight: 700; font-size: clamp(1.35rem, 2.4vw, 1.9rem); color: var(--forest); white-space: nowrap; letter-spacing: -0.01em; line-height: 1.2; }
.pf-word.pf-em { font-style: italic; font-weight: 500; color: #9A6212; }
.pf-spark { width: 13px; height: 13px; fill: var(--gold); margin: 0 clamp(1.1rem, 2.2vw, 1.8rem); flex-shrink: 0; }
@keyframes prepfor { to { transform: translateX(-50%); } }
@media (max-width: 640px) {
  .prepfor-inner { flex-direction: column; align-items: stretch; gap: 0.9rem; }
  .prepfor-label { display: flex; gap: 0.35em; padding-right: 0; border-right: 0; justify-content: center; }
  .prepfor-label span:last-child::after { display: none; }
}
@media (prefers-reduced-motion: reduce) { .prepfor-track { animation: none; } .prepfor-rail { overflow-x: auto; } }

/* ===========================================================
   Hero v4 — "Know your gap. Then close it."
   The CLB scale sits inside the headline, between the two lines,
   and the gap between "you" and "target" is the one animated moment.
   =========================================================== */
.gh { background: radial-gradient(1000px 560px at 82% 30%, #1d4c3e 0%, var(--forest) 55%, #0d2a22 100%); }
.gh-grid { position: relative; z-index: 1; display: grid; gap: 3rem; align-items: center; }
@media (min-width: 960px) { .gh-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 4.5rem; } }
.gh-kicker { margin: 0 0 1.4rem; color: var(--sage); font-size: 0.98rem; font-weight: 500; }
.gh-title { margin: 0; color: var(--ivory); font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1.02; letter-spacing: -0.015em; }
.gh-title > span { display: block; }
.gh-l2 { font-style: italic; font-weight: 700; color: var(--ivory); }

/* The scale */
.gh-scale { padding: clamp(1.6rem, 3vw, 2.2rem) 0 clamp(1.9rem, 3.4vw, 2.5rem); font-size: 1rem; letter-spacing: 0; line-height: 1.2; }
.gs-rail { position: relative; display: block; height: 2px; background: rgba(246,245,240,0.22); margin: 0 0.6rem; }
.gs-tick { position: absolute; left: var(--p); top: -5px; width: 1px; height: 12px; background: rgba(246,245,240,0.35); }
.gs-tick b { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); font-family: var(--sans); font-weight: 500; font-size: 0.78rem; color: rgba(246,245,240,0.55); font-variant-numeric: tabular-nums; }
.gs-gap { position: absolute; top: -2px; height: 6px; border-radius: 3px; left: var(--from, 25%); width: var(--w, 0%); background: linear-gradient(90deg, var(--gold), #f26b3a); box-shadow: 0 0 18px rgba(232,163,60,0.55); transition: width 1.1s cubic-bezier(.65,0,.25,1); }
.gs-gap-label { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-family: var(--sans); font-size: 0.82rem; font-weight: 600; color: var(--gold); opacity: 0; transition: opacity 0.4s 0.9s; }
[data-gap].is-on .gs-gap-label { opacity: 1; }
.gs-you, .gs-target { position: absolute; top: 1px; transform: translate(-50%, -50%); }
.gs-you { left: var(--from, 25%); }
.gs-target { left: calc(var(--from, 25%) + var(--w, 0%)); transition: left 1.1s cubic-bezier(.65,0,.25,1); }
.gs-you i, .gs-target i { display: block; border-radius: 50%; }
.gs-you i { width: 16px; height: 16px; background: var(--forest); border: 3px solid var(--ivory); }
.gs-target i { width: 20px; height: 20px; background: var(--gold); border: 3px solid var(--ivory); box-shadow: 0 0 0 6px rgba(232,163,60,0.22); }
.gs-you em { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-style: normal; font-family: var(--sans); font-size: 0.78rem; font-weight: 500; color: var(--sage); }
[data-gap].is-on .gs-gap-label { transition-delay: 0.9s; }

/* Target picker — the one interaction */
.gs-pick { display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem; margin: 0 0 1.6rem; }
.gs-pick > span { color: var(--sage); font-size: 0.9rem; margin-right: 0.3rem; }
.gs-t { font: 600 0.85rem/1 var(--sans); color: var(--ivory); background: transparent; border: 1px solid rgba(246,245,240,0.28); border-radius: 999px; padding: 0.5rem 0.85rem; cursor: pointer; transition: background 0.2s, border-color 0.2s, color 0.2s; }
.gs-t:hover { border-color: var(--gold); }
.gs-t[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--forest); }
.gs-t:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.gh .lede { color: var(--sage); font-size: 1.08rem; max-width: 34rem; margin: 0; }
.gh .cta-row { margin-top: 1.8rem; }
.gh-trust { margin: 1.2rem 0 0; color: rgba(158,194,182,0.85); font-size: 0.88rem; }

/* Photo: quiet, one reveal on load */
.gh-visual { justify-self: center; width: 100%; max-width: 420px; }
.gh-arch { aspect-ratio: 4 / 5; border-radius: 999px 999px 20px 20px; overflow: hidden; background: #1b4a3c; box-shadow: 0 40px 80px -30px rgba(0,0,0,0.7), 0 0 0 1px rgba(232,163,60,0.35), 0 0 0 10px rgba(246,245,240,0.04); }
.gh-arch img { width: 100%; height: 100%; object-fit: cover; object-position: 36% 50%; }
@media (prefers-reduced-motion: no-preference) {
  .gh-arch { clip-path: inset(100% 0 0 0 round 999px 999px 20px 20px); animation: ghReveal 1.2s 0.15s cubic-bezier(.7,0,.2,1) forwards; }
  .gh-arch img { transform: scale(1.12); animation: ghSettle 1.6s 0.15s cubic-bezier(.2,.7,.3,1) forwards; }
  .gh-l1, .gh-scale, .gh-l2 { opacity: 0; transform: translateY(14px); animation: ghIn 0.8s cubic-bezier(.2,.7,.3,1) forwards; }
  .gh-scale { animation-delay: 0.25s; } .gh-l2 { animation-delay: 1.5s; }
}
@keyframes ghReveal { to { clip-path: inset(0 0 0 0 round 999px 999px 20px 20px); } }
@keyframes ghSettle { to { transform: scale(1.02); } }
@keyframes ghIn { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .gs-gap, .gs-target { transition: none; } }
@media (max-width: 959px) { .gh-visual { max-width: 340px; } }
@media (max-width: 480px) { .gs-tick b { font-size: 0.7rem; } .gs-t { padding: 0.45rem 0.7rem; font-size: 0.8rem; } }
/* scale labels: gap label above the rail, "you" note below the numbers */
.gh-scale { padding-top: clamp(2.2rem, 3.4vw, 2.6rem); padding-bottom: clamp(2.8rem, 4vw, 3.2rem); }
.gs-you em { bottom: auto; top: 40px; color: var(--sage); }
.gs-you em::before { content: ""; position: absolute; left: 50%; top: -9px; width: 1px; height: 6px; background: var(--sage); opacity: 0.6; }
@media (max-width: 600px) {
  .gs-pick > span { flex-basis: 100%; margin-bottom: 0.2rem; }
  .gh-kicker { font-size: 0.9rem; }
}
.prepfor-label { text-transform: none; letter-spacing: 0; font-size: 0.92rem; font-weight: 500; }
