/* ==========================================================================
   fx.css: global design + motion layer for launched.studio (owned by GLOBAL)
   Loads after styles.css + visibility.css, before fx-<group>.css.

   Every hidden pre-state here is gated behind html.fx-on (set by fx.js) and
   released by html.fx-all-in (3.5s failsafe), so with no JS nothing is hidden.

   ICON SPEC (page builders): mission-patch icons inside .ico tiles
   <svg class="fx-ico" viewBox="0 0 24 24" width="22" height="22" fill="none"
        stroke="currentColor" stroke-width="1.6" stroke-linecap="round"
        stroke-linejoin="round" aria-hidden="true">  <path pathLength="1" d="…"/> …
   Strokes paint url(#fx-grad) with var(--link) as fallback. Paths draw in
   only while their card goes .fx-pend → .fx-in, so an icon is never invisible.

   HOOKS page builders may scope overrides on (never restyle the base):
   .fx-horizon / .fx-limb / .fx-haze (page heroes), .hero-split / .hero-copy /
   .hero-instrument, .fx-cta-orbits, .fx-footer-limb, .fx-dock, .fx-pathpill,
   .fx-orbit, .fx-traj, .fx-br, .fx-w / .fx-wi, [data-fx-ambient].
   ========================================================================== */

:root {
  --ease-thrust: cubic-bezier(.16, 1, .3, 1);
  --ease-ignite: cubic-bezier(.7, 0, .84, 0);
  --ease-orbit: cubic-bezier(.45, 0, .55, 1);
  --ease-dock: cubic-bezier(.34, 1.56, .64, 1);
  --t-1: 120ms; --t-2: 220ms; --t-3: 380ms; --t-4: 600ms; --t-5: 900ms; --t-6: 1400ms;
  --loop-pulse: 3.2s; --loop-sweep: 8s; --loop-orbit: 12s; --loop-drift: 36s;
  --fx-sweep: linear-gradient(115deg, transparent 40%, rgba(255, 170, 240, .28) 50%, transparent 60%);
  --fx-rise: 24px;
  --fx-blur: 6px;
  --z-sky: -1; --z-deco: 0; --z-content: 1; --z-instrument-overlay: 2;
  --z-dock: 80; --z-hud: 90; --z-nav: 100; --z-menu: 110;
  --fx-alt: 0;
}
@media (max-width: 719.98px) { :root { --fx-rise: 16px; --fx-blur: 0px; } }

/* ---------- Sky: fixed star canvas + altitude tint (injected by fx.js) ---------- */
.fx-on body { background: transparent; }
.fx-on { background: var(--bg); }
.fx-sky, .fx-sky-tint { position: fixed; inset: 0; z-index: var(--z-sky); pointer-events: none; }
.fx-sky { width: 100%; height: 100%; display: block; }
.fx-sky-tint { background: radial-gradient(120% 60% at 50% -10%, rgba(171, 123, 255, .10), transparent 70%); opacity: calc(1 - var(--fx-alt)); }
.fx-on .section-alt { background: rgba(18, 15, 26, .86); }

/* progress beam, hidden in calm and on short pages */
.fx-beam { position: fixed; left: 0; right: 0; top: var(--nav-h); height: 2px; z-index: var(--z-hud); pointer-events: none; overflow: hidden; }
.fx-beam i { display: block; height: 100%; background: var(--grad); opacity: .85; transform: scaleX(var(--p, 0)); transform-origin: 0 50%; }
.fx-calm .fx-beam, .fx-beam.is-short { display: none; }

/* gradient defs holder */
.fx-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- Reveals: atmosphere focus, ascent only ---------- */
.fx-on .fx-pend { opacity: 0; transform: translate3d(0, var(--fx-rise), 0) scale(.985); filter: blur(var(--fx-blur)); }
.fx-on .fx-in {
  transition: opacity var(--t-5) var(--ease-thrust), transform var(--t-5) var(--ease-thrust), filter var(--t-5) var(--ease-thrust);
  transition-delay: var(--fx-delay, 0ms);
  will-change: opacity, transform;
}
.fx-on .fx-in.fx-settled { will-change: auto; }
/* CTAs land last inside a released block */
.fx-on .fx-pend .fx-cta-l { opacity: 0; transform: translate3d(0, 12px, 0); }
.fx-on .fx-in .fx-cta-l { transition: opacity var(--t-4) var(--ease-thrust), transform var(--t-4) var(--ease-thrust); transition-delay: calc(var(--fx-delay, 0ms) + 320ms); }
/* headline word rise (split() keeps the real words in the DOM) */
.fx-w { display: inline-block; }
.fx-wi { display: inline-block; }
.fx-on .fx-pend .fx-wi { opacity: 0; transform: translate3d(0, .55em, 0); filter: blur(var(--fx-blur)); }
.fx-on .fx-in .fx-wi { transition: opacity var(--t-5) var(--ease-thrust), transform var(--t-5) var(--ease-thrust), filter var(--t-5) var(--ease-thrust); transition-delay: calc(var(--fx-delay, 0ms) + var(--wi, 0) * 55ms); }
/* never blur anything carrying backdrop-filter */
.fx-on .start.fx-pend, .fx-on .glance.fx-pend { filter: none; }
/* failsafes: 3.5s timer, print */
.fx-all-in .fx-pend, .fx-all-in .fx-pend .fx-wi, .fx-all-in .fx-pend .fx-cta-l { opacity: 1 !important; transform: none !important; filter: none !important; }
@media print { .fx-pend, .fx-pend .fx-wi, .fx-pend .fx-cta-l { opacity: 1 !important; transform: none !important; filter: none !important; } .fx-sky, .fx-sky-tint, .fx-beam, .fx-dock-wrap { display: none !important; } }

/* eyebrow hairline */
.fx-on .eyebrow:not(.visibility-label) { position: relative; padding-left: 30px; }
.fx-on .eyebrow:not(.visibility-label)::before { content: ""; position: absolute; left: 0; top: 50%; width: 22px; height: 1px; background: var(--grad); transform: scaleX(1); transform-origin: 0 50%; }
.fx-on .section-head.center .eyebrow::before, .fx-on .cta-band .eyebrow::before { display: none; }
.fx-on .section-head.center .eyebrow, .fx-on .cta-band .eyebrow { padding-left: 0; }
.fx-on .fx-pend .eyebrow::before { transform: scaleX(0); }
.fx-on .fx-in .eyebrow::before { transition: transform var(--t-4) var(--ease-thrust) calc(var(--fx-delay, 0ms) + 120ms); }

/* ---------- Flight-deck navigation (never hides) ---------- */
.fx-on .topnav { transition: background-color var(--t-4) var(--ease-orbit), border-color var(--t-4) var(--ease-orbit); }
.fx-nav-top .topnav { background: rgba(12, 10, 18, .40); border-bottom-color: transparent; }
.fx-nav-top.menu-open .topnav, html.fx-nav-top body.menu-open .topnav { background: rgba(12, 10, 18, .96); }
.brand img { transition: transform var(--t-2) var(--ease-thrust), filter var(--t-2) var(--ease-thrust); }
.brand:hover img, .brand:focus-visible img { transform: rotate(-8deg) scale(1.06); filter: drop-shadow(0 0 10px rgba(207, 76, 228, .55)); }
@media (min-width: 1024px) {
  .nav-links a:not(.btn) { position: relative; }
  .nav-links a:not(.btn)::after { content: ""; position: absolute; left: .75rem; right: .75rem; bottom: 6px; height: 2px; border-radius: 2px; background: var(--grad); transform: scaleX(0); transform-origin: 0 50%; transition: transform var(--t-2) var(--ease-thrust); }
  .nav-links a:not(.btn):hover::after, .nav-links a:not(.btn):focus-visible::after { transform: scaleX(1); }
  .nav-links a[aria-current="page"]:not(.btn)::after { transform: scaleX(1); animation: fx-underline var(--t-4) var(--ease-thrust) 200ms both; }
}
@keyframes fx-underline { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.nav-burger span { transition: transform 260ms var(--ease-thrust), opacity 260ms var(--ease-thrust); }
.fx-on .mobile-menu { position: relative; z-index: var(--z-menu); }
.fx-on .menu-open .mobile-menu { animation: fx-menu 360ms var(--ease-thrust) both; }
.fx-on .menu-open .mobile-menu nav > * { animation: fx-menu-link 420ms var(--ease-thrust) both; }
.fx-on .menu-open .mobile-menu nav > :nth-child(2) { animation-delay: 35ms; }
.fx-on .menu-open .mobile-menu nav > :nth-child(3) { animation-delay: 70ms; }
.fx-on .menu-open .mobile-menu nav > :nth-child(4) { animation-delay: 105ms; }
.fx-on .menu-open .mobile-menu nav > :nth-child(5) { animation-delay: 140ms; }
.fx-on .menu-open .mobile-menu nav > :nth-child(6) { animation-delay: 175ms; }
.fx-on .menu-open .mobile-menu nav > :nth-child(7) { animation-delay: 210ms; }
.fx-on .menu-open .mobile-menu nav > :nth-child(n+8) { animation-delay: 245ms; }
@keyframes fx-menu { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes fx-menu-link { from { opacity: 0; transform: translate3d(0, 14px, 0); } to { opacity: 1; transform: none; } }

/* ---------- Ignition buttons ---------- */
.btn-primary { position: relative; overflow: hidden; isolation: isolate; transition: transform var(--t-2) var(--ease-thrust), box-shadow var(--t-2) var(--ease-thrust), filter var(--t-2) var(--ease-thrust); }
.btn-primary::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: var(--fx-sweep) no-repeat; background-size: 260% 100%; background-position: 120% 0; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px -10px rgba(207, 76, 228, .65); }
.btn-primary.fx-sheen::after { animation: fx-sheen 700ms var(--ease-thrust) both; }
@keyframes fx-sheen { from { background-position: 120% 0; } to { background-position: -30% 0; } }
.btn:active, .path-btn:active, .txt-chips a:active { transform: scale(.98); transition-duration: var(--t-1); }
.fx-btn-in { display: inline-flex; align-items: center; justify-content: center; gap: inherit; will-change: transform; }
.btn-ghost { position: relative; }
.btn-ghost::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none; background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity var(--t-3) var(--ease-thrust); }
.btn-ghost:hover::before, .btn-ghost:focus-visible::before { opacity: 1; transition-duration: var(--t-2); }
.path-btn { transition: background var(--t-2) var(--ease-thrust), border-color var(--t-2) var(--ease-thrust), color var(--t-2) var(--ease-thrust), transform var(--t-1) var(--ease-thrust); }

/* ---------- Cards, patch icons, work thumbs ---------- */
.card, .step, .contact-item, .work-card, .addon { --mx: 50%; --my: -40%; --rx: 0deg; --ry: 0deg; }
.fx-fine .card, .fx-fine .step, .fx-fine .addon, .fx-fine .contact-item, .fx-fine .work-card { transition: transform var(--t-3) var(--ease-thrust), border-color var(--t-3) var(--ease-thrust), background-color var(--t-3) var(--ease-thrust); }
.fx-fine .fx-tilt { transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(-4px); border-color: var(--violet-line); transition-duration: var(--t-2); }
.fx-fine .card.fx-tilt, .fx-fine .step.fx-tilt, .fx-fine .contact-item.fx-tilt { background-image: radial-gradient(420px circle at var(--mx) var(--my), rgba(232, 124, 248, .10), transparent 45%); }
.fx-fine .addon.fx-tilt { box-shadow: inset 0 0 0 1px rgba(225, 94, 245, .18); }
.fx-touch .card:active, .fx-touch .step:active, .fx-touch .work-card:active, .fx-touch .contact-item:active { transform: scale(.99); }
.ico { background: radial-gradient(circle at 30% 25%, rgba(232, 124, 248, .28), rgba(23, 19, 31, .7)); border: 0; box-shadow: inset 0 0 0 1px var(--violet-line); color: var(--link); }
.fx-ico { width: 22px; height: 22px; stroke: url(#fx-grad) var(--link); }
.fx-ico * { stroke: inherit; }
.fx-on .fx-pend .fx-ico * { stroke-dasharray: 1; stroke-dashoffset: 1; }
.fx-on .fx-in .fx-ico * { stroke-dasharray: 1; transition: stroke-dashoffset var(--t-5) var(--ease-thrust); transition-delay: calc(var(--fx-delay, 0ms) + 200ms); }
.fx-on .fx-in .fx-ico :nth-child(2) { transition-delay: calc(var(--fx-delay, 0ms) + 320ms); }
.fx-on .fx-in .fx-ico :nth-child(3) { transition-delay: calc(var(--fx-delay, 0ms) + 440ms); }
.fx-on .fx-in .fx-ico :nth-child(n+4) { transition-delay: calc(var(--fx-delay, 0ms) + 560ms); }
.fx-all-in .fx-pend .fx-ico * { stroke-dashoffset: 0 !important; }
.work-thumb { position: relative; overflow: hidden; isolation: isolate; }
.work-thumb img { transition: transform var(--t-3) var(--ease-thrust); }
.work-thumb::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: var(--fx-sweep) no-repeat; background-size: 260% 100%; background-position: 130% 0; }
.work-thumb:hover img, .work-thumb:focus-visible img { transform: scale(1.04); }
.work-thumb:hover::after, .work-thumb:focus-visible::after { animation: fx-sheen 900ms var(--ease-thrust) both; }
.fx-patch { position: absolute; left: 50%; top: calc(50% + 11px); width: 195px; height: 195px; margin: -97.5px 0 0 -97.5px; z-index: -1; border: 1px dashed rgba(238, 164, 249, .35); border-radius: 50%; pointer-events: none; animation: fx-spin 30s linear infinite paused; }
.work-thumb:hover .fx-patch { animation-play-state: running; border-color: rgba(238, 164, 249, .6); }
@keyframes fx-spin { to { transform: rotate(360deg); } }

/* ---------- Trajectory Lock: shared pricing components ---------- */
.path { position: relative; isolation: isolate; }
.path-btn { position: relative; z-index: 1; }
.fx-pathpill { position: absolute; left: 0; top: 0; z-index: 0; border-radius: 999px; background: var(--grad); pointer-events: none; opacity: 0; box-shadow: 0 10px 30px -12px rgba(207, 76, 228, .7); }
.fx-pathpill.is-on { opacity: 1; }
.fx-pill-ready .path-btn[aria-pressed="true"] { background: transparent; }
.plans2 .plan { transition: filter var(--t-4) var(--ease-thrust), transform var(--t-4) var(--ease-thrust), box-shadow var(--t-4) var(--ease-thrust), border-color var(--t-4) var(--ease-thrust); }
.plans2.has-pick .plan:not(.is-match) { opacity: 1; filter: saturate(.45); transform: scale(.985); border-color: var(--line); }
.plans2.has-pick .plan:not(.is-match) .plan-art { opacity: .45; }
.plans2 .plan .plan-art { transition: transform .35s var(--ease-thrust), opacity var(--t-4) var(--ease-thrust); }
@property --fx-ang { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
.plans2 .plan.fx-ignite::before { content: ""; position: absolute; inset: -1.5px; padding: 1.5px; border-radius: inherit; pointer-events: none; z-index: 2;
  background: conic-gradient(from var(--fx-ang), transparent 0 60%, #ab7bff 75%, #ef5ba8 90%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: fx-lap 900ms var(--ease-thrust) both; }
.plans2 .plan.featured.fx-ignite::before { animation: fx-lap 900ms var(--ease-thrust) both, ang 5s linear 900ms infinite; }
@keyframes fx-lap { from { --fx-ang: 0deg; --ang: 0deg; } to { --fx-ang: 360deg; --ang: 360deg; } }
.plan.fx-ignite .plan-art svg { animation: fx-hop 900ms var(--ease-thrust); }
@keyframes fx-hop { 50% { transform: translateY(-14px); } }
.plan.fx-ignite .flame { animation: fx-flame 900ms var(--ease-thrust), flicker .16s ease-in-out infinite alternate; }
@keyframes fx-flame { 40% { transform: scaleY(1.35); } }
.plan.fx-ignite .chev { animation: chev .3s var(--ease-thrust) 3; }
.fx-rec { display: inline-flex; align-items: center; gap: .35rem; margin: 0 0 .75rem; padding: .3rem .7rem; border-radius: 999px; background: var(--grad); color: var(--ink); font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; animation: fx-dock-in var(--t-4) var(--ease-dock) both; }
.fx-rec-live:empty { display: none; }
@keyframes fx-dock-in { from { opacity: 0; transform: translate3d(0, 10px, 0) scale(.9); } to { opacity: 1; transform: none; } }
.fx-traj { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; z-index: 3; }
.fx-traj path { fill: none; stroke: url(#fx-grad) var(--link); stroke-width: 1.5; stroke-linecap: round; }
.fx-traj circle { fill: #f4c7fb; }
.fx-traj-host { position: relative; }
.fx-orbit { position: absolute; left: 50%; top: 50%; pointer-events: none; overflow: visible; z-index: 0; }
.fx-orbit-host { position: relative; isolation: isolate; }
.fx-orbit ellipse, .fx-orbit path { fill: none; stroke: rgba(238, 164, 249, .32); stroke-width: 1; }
.fx-orbit .fx-far { opacity: .35; }
.fx-orbit circle { fill: #f4c7fb; filter: drop-shadow(0 0 4px rgba(239, 91, 168, .9)); }
.addon-strip a { position: relative; overflow: hidden; isolation: isolate; transition: border-color var(--t-2) var(--ease-thrust), color var(--t-2) var(--ease-thrust); }
.addon-strip a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--violet-wash); transform: scaleX(0); transform-origin: 0 50%; transition: transform var(--t-2) var(--ease-thrust); }
.addon-strip a:hover::before, .addon-strip a:focus-visible::before { transform: scaleX(1); }

/* ---------- Horizon page heroes + instrument slot ---------- */
.page-hero::before, .visibility-hero::before { -webkit-mask-image: linear-gradient(180deg, #000 50%, transparent 92%); mask-image: linear-gradient(180deg, #000 50%, transparent 92%); }
.page-hero, .visibility-hero { position: relative; overflow: hidden; isolation: isolate; }
.fx-horizon { position: absolute; inset: 0; z-index: var(--z-deco); pointer-events: none; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 100%); mask-image: linear-gradient(180deg, #000 72%, transparent 100%); }
.page-hero > .container, .visibility-hero > .container { position: relative; z-index: var(--z-content); }
.fx-limb { position: absolute; left: 50%; top: calc(100% - 56px); width: 200vw; aspect-ratio: 1; margin-left: -100vw; border-radius: 50%; background: var(--bg);
  box-shadow: 0 -1px 0 rgba(244, 199, 251, .45), 0 -24px 90px -10px rgba(207, 76, 228, .40); transform: translate3d(0, var(--fx-limb-y, 0px), 0); }
.fx-haze { position: absolute; inset: auto 0 0; height: 160px; background: radial-gradient(60% 100% at 50% 100%, rgba(207, 76, 228, .16), transparent 70%); opacity: var(--fx-haze, 1); }
.fx-on:not(.fx-calm) .fx-horizon .fx-limb-rise { animation: fx-limb-rise var(--t-6) var(--ease-thrust) 250ms both; }
@keyframes fx-limb-rise { from { opacity: 0; translate: 0 40px; } to { opacity: 1; translate: 0 0; } }
.fx-on:not(.fx-calm) .fx-hero-sweep { background-image: linear-gradient(100deg, rgba(255, 242, 251, 0) 42%, rgba(255, 242, 251, .95) 50%, rgba(255, 242, 251, 0) 58%), var(--grad); background-size: 250% 100%, 100% 100%; background-repeat: no-repeat; -webkit-background-clip: text; background-clip: text; animation: fx-grad-sweep 1200ms var(--ease-orbit) 600ms both; }
@keyframes fx-grad-sweep { from { background-position: 120% 0, 0 0; } to { background-position: -20% 0, 0 0; } }
.hero-split { display: grid; gap: 2rem; }
.hero-copy { min-width: 0; }
.hero-instrument { position: relative; width: 100%; max-width: 440px; aspect-ratio: 1; contain: layout paint; justify-self: center; }
@media (min-width: 960px) { .hero-split { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: 3rem; } }
@media (min-width: 600px) and (max-width: 959.98px) { .hero-instrument { max-width: 360px; } }
@media (max-width: 599.98px) { .hero-instrument { display: none; } }

/* ---------- FAQ ---------- */
.qa { position: relative; overflow: hidden; transition: border-color var(--t-3) var(--ease-thrust); }
.qa[open] { border-color: var(--violet-line); }
.qa::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--grad); transform: scaleY(0); transform-origin: 50% 0; transition: transform var(--t-4) var(--ease-thrust); }
.qa[open]::before { transform: scaleY(1); }
.qa summary::after { transition: transform var(--t-2) var(--ease-thrust); }
.qa.fx-closing summary::after { transform: none; }

/* ---------- CTA band finale ---------- */
.cta-band { position: relative; isolation: isolate; overflow: hidden; }
.fx-cta-orbits { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; transition: opacity var(--t-4) var(--ease-orbit); }
.fx-cta-orbits i { position: absolute; left: 50%; top: 50%; width: 130%; aspect-ratio: 3 / 1; border: 1px solid rgba(232, 124, 248, .18); border-radius: 50%; translate: -50% -50%; animation: fx-spin 48s linear infinite; }
.fx-cta-orbits i + i { width: 95%; aspect-ratio: 2.4 / 1; animation-duration: 72s; animation-direction: reverse; }
.fx-paused, .fx-paused *, .fx-paused::before, .fx-paused::after { animation-play-state: paused !important; }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: var(--fx-sweep) no-repeat; background-size: 260% 100%; background-position: 130% 0; }
.cta-band.fx-cta-lit::after { animation: fx-sheen 1400ms var(--ease-orbit) 400ms both; }
.cta-band.fx-cta-lit::before { content: ""; position: absolute; inset: 0; padding: 1px; border-radius: inherit; pointer-events: none;
  background: conic-gradient(from var(--fx-ang), transparent 0 70%, #ef5ba8 88%, #ab7bff 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: fx-lap-fade 1600ms var(--ease-thrust) both; }
@keyframes fx-lap-fade { 0% { --fx-ang: 0deg; opacity: 1; } 80% { opacity: 1; } 100% { --fx-ang: 360deg; opacity: 0; } }

/* ---------- Footer orbit limb ---------- */
.site-footer { position: relative; overflow: hidden; isolation: isolate; }
.fx-footer-limb { position: absolute; left: 50%; top: 0; width: 260%; aspect-ratio: 1; translate: -50% 0; border-radius: 50%; border-top: 1px solid rgba(244, 199, 251, .35); box-shadow: 0 -30px 80px -20px rgba(207, 76, 228, .35), inset 0 40px 80px -40px rgba(171, 123, 255, .18); z-index: -1; pointer-events: none; }
@media (max-width: 719.98px) { .fx-footer-limb { width: 420%; } }
.fx-on .site-footer { background: rgba(18, 15, 26, .9); border-top-color: transparent; }
.footer-col a:not(.social-row a) { width: fit-content; background: linear-gradient(var(--link), var(--link)) 0 100% / 0 1px no-repeat; transition: background-size var(--t-2) var(--ease-thrust), color var(--t-2) var(--ease-thrust); }
.footer-col a:not(.social-row a):hover, .footer-col a:not(.social-row a):focus-visible { background-size: 100% 1px; text-decoration: none; }
.social-row a { transition: transform var(--t-2) var(--ease-thrust), border-color var(--t-2) var(--ease-thrust), box-shadow var(--t-2) var(--ease-thrust); }
.social-row a:hover, .social-row a:focus-visible { transform: rotate(-8deg); box-shadow: 0 0 18px -4px rgba(207, 76, 228, .7); }

/* ---------- Answer assembly (.visibility-preview) ---------- */
.visibility-preview figcaption svg { transition: transform var(--t-4) var(--ease-thrust); }
.fx-va-go figcaption svg { transform: rotate(90deg); }
.visibility-preview { position: relative; }
.fx-va .visibility-answer { position: relative; }
.fx-va.fx-va-arm .visibility-answer { opacity: 0; transform: translate3d(0, 12px, 0); }
.fx-va.fx-va-arm .visibility-source { opacity: 0; transform: translate3d(0, 16px, 0); }
.fx-va .visibility-answer, .fx-va .visibility-source { transition: opacity var(--t-4) var(--ease-thrust), transform var(--t-4) var(--ease-thrust), filter var(--t-4) var(--ease-thrust); }
.fx-va .visibility-source { transition-timing-function: var(--ease-dock); }
@media (min-width: 720px) { .fx-va.fx-va-arm .visibility-answer { filter: blur(6px); } }
.fx-va-answer .visibility-answer { opacity: 1; transform: none; filter: none; }
.fx-va-chips .visibility-source { opacity: 1; transform: none; }
.fx-va-chips .visibility-source:nth-child(2) { transition-delay: 90ms; }
.fx-va-chips .visibility-source:nth-child(3) { transition-delay: 180ms; }
.fx-va-chips .visibility-source:first-child { animation: fx-ring 900ms var(--ease-thrust) 300ms; }
@keyframes fx-ring { from { box-shadow: 0 0 0 0 rgba(232, 124, 248, .55); } to { box-shadow: 0 0 0 12px rgba(232, 124, 248, 0); } }
.fx-scan { position: absolute; left: -2px; top: 0; width: 2px; height: 100%; background: linear-gradient(#fff2fb, var(--violet)); transform: scaleY(0); transform-origin: 50% 0; pointer-events: none; }
.fx-va-answer .fx-scan { animation: fx-scan 500ms var(--ease-thrust) both; }
@keyframes fx-scan { 0% { transform: scaleY(0); opacity: 1; } 70% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
.fx-caret { display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -2px; background: var(--violet); animation: fx-blink 900ms steps(1) infinite; }
@keyframes fx-blink { 50% { opacity: 0; } }
.fx-va-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.fx-va-lines path { fill: none; stroke: url(#fx-grad) var(--link); stroke-width: 1; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: .35; transition: stroke-dashoffset var(--t-4) var(--ease-thrust); }
.fx-va-lines.is-drawn path { stroke-dashoffset: 0; }
.fx-all-in .fx-va-arm .visibility-answer, .fx-all-in .fx-va-arm .visibility-source { opacity: 1 !important; transform: none !important; filter: none !important; }

/* ---------- Phone Text dock + attention budget ---------- */
.fx-dock-wrap { position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-dock); overflow: clip; overflow: hidden; pointer-events: none; padding-top: 24px; }
.fx-dock { pointer-events: auto; display: flex; align-items: center; justify-content: center; gap: .55rem; min-height: 52px; margin: 0 16px max(12px, env(safe-area-inset-bottom)); border-radius: 999px; background: var(--grad); color: var(--ink); font: 800 1rem/1 var(--font); text-decoration: none; box-shadow: 0 14px 34px -12px rgba(207, 76, 228, .8), 0 0 0 1px rgba(255, 255, 255, .12) inset; transform: translate3d(0, 140%, 0); transition: transform var(--t-3) var(--ease-thrust); }
.fx-dock:hover { text-decoration: none; }
.fx-dock svg { width: 18px; height: 18px; }
.fx-dock-wrap.is-up .fx-dock { transform: none; }
.fx-dock-wrap:not(.is-up) .fx-dock { visibility: hidden; transition: transform var(--t-3) var(--ease-ignite), visibility 0s linear var(--t-3); }
@media (min-width: 720px) { .fx-dock-wrap { display: none; } }
body.menu-open .fx-dock-wrap { display: none; }
[data-fx-ambient] { transition: opacity var(--t-4) var(--ease-orbit); }
.fx-cta-focus [data-fx-ambient] { opacity: .6; }

/* ---------- Corner brackets ---------- */
.fx-br-host { position: relative; }
.fx-br { position: absolute; width: 10px; height: 10px; border: 0 solid var(--violet); pointer-events: none; animation: fx-dock-in var(--t-4) var(--ease-dock) both; }
.fx-br.tl { left: -6px; top: -6px; border-width: 1.5px 0 0 1.5px; }
.fx-br.tr { right: -6px; top: -6px; border-width: 1.5px 1.5px 0 0; }
.fx-br.bl { left: -6px; bottom: -6px; border-width: 0 0 1.5px 1.5px; }
.fx-br.br { right: -6px; bottom: -6px; border-width: 0 1.5px 1.5px 0; }

/* ---------- Reduced motion: everything decorative sits still, content complete ---------- */
.fx-calm *, .fx-calm *::before, .fx-calm *::after { animation: none !important; transition: none !important; }
.fx-calm .fx-pend, .fx-calm .fx-pend .fx-wi, .fx-calm .fx-pend .fx-cta-l, .fx-calm .fx-va-arm .visibility-answer, .fx-calm .fx-va-arm .visibility-source { opacity: 1 !important; transform: none !important; filter: none !important; }
.fx-calm .fx-pend .fx-ico * { stroke-dashoffset: 0 !important; }
.fx-calm .fx-tilt, .fx-calm .btn-primary:hover { transform: none !important; }
.fx-calm .fx-btn-in { transform: none !important; }
.fx-calm .fx-limb { transform: none; }
.fx-calm .fx-haze { opacity: 1; }
.fx-calm .fx-dock { transition: none; }
