/*
 * Solae — MOTION skin (immersive, scroll-choreographed 3D overlay).
 *
 * Loads ON TOP of the Clay skin when Appearance → Customize → Solae site skin
 * = "Motion". Same palette, same logo, same globe — this file only adds an
 * immersive layer: a scroll-progress rail, blur-to-focus reveals, pinned
 * scenes with camera-dolly + depth, a horizontal 3D system gallery with
 * depth-of-field, parallax clay spheres at three depths, 3D card tilt and
 * magnetic buttons. Everything is SCROLL-DRIVEN (the scrollbar is the timeline)
 * with tasteful ambient drift; all of it degrades to a calm static layout under
 * prefers-reduced-motion. Every colour is an existing Clay token — nothing new.
 *
 * All rules are scoped to `body.skin-motion` so no other skin is affected.
 */

body.skin-motion{
  --mo-ease:cubic-bezier(.16,1,.3,1);
  --mo-cream:var(--cl-cream);
  background:#F2E7D4;
  /* clip, NEVER hidden: overflow-x:hidden makes <body> a scroll container,
     which silently disables every position:sticky pin on the page. clip
     clips without creating a scroller. (All bleeding decor is additionally
     inside overflow-hidden heroes, so browsers without clip are safe too.) */
  overflow-x:clip;
}

/* the motion JS sets .mo on <html> once it's running; .mo-static = reduced-motion/no-scrub */
html.mo body.skin-motion .rv{opacity:0;transform:translateY(30px) translateZ(0);filter:blur(9px);
  transition:opacity 1s var(--mo-ease),transform 1s var(--mo-ease),filter 1s var(--mo-ease);}
html.mo body.skin-motion .rv.in{opacity:1;transform:none;filter:none;}

/* ---------------- scroll-progress rail (injected by motion.js) ---------------- */
body.skin-motion .mo-progress{position:fixed;top:0;left:0;height:2px;width:100%;transform:scaleX(0);transform-origin:0 50%;
  background:linear-gradient(90deg,var(--cl-teal),var(--cl-coral));z-index:120;will-change:transform;pointer-events:none;}

/* ---------------- ambient parallax clay spheres (3 depths) ---------------- */
body.skin-motion .mo-orb{position:absolute;border-radius:50%;pointer-events:none;z-index:0;will-change:transform;
  box-shadow:12px 16px 34px -4px rgba(0,0,0,.20),inset -10px -12px 22px rgba(0,0,0,.18),inset 11px 11px 18px rgba(255,255,255,.5);}
body.skin-motion .mo-orb.squi{border-radius:38% 62% 58% 42% / 48% 42% 58% 52%;}
body.skin-motion .mo-orb.coral{background:radial-gradient(circle at 32% 28%,#F8C3A8,var(--cl-coral) 62%,#C9633E);}
body.skin-motion .mo-orb.amber{background:radial-gradient(circle at 32% 28%,#F4D89E,var(--cl-amber) 60%,#C98E2E);}
body.skin-motion .mo-orb.sage {background:radial-gradient(circle at 32% 28%,#C2DEB6,var(--cl-sage) 60%,#6E9A60);}
body.skin-motion .mo-orb.sky  {background:radial-gradient(circle at 32% 28%,#B9D6EE,var(--cl-sky) 60%,#5C8FBE);}
body.skin-motion .mo-orb.lilac{background:radial-gradient(circle at 32% 28%,#D2C2F0,var(--cl-lilac) 60%,#8E72C6);}
body.skin-motion .mo-orb.teal {background:radial-gradient(circle at 32% 28%,#5FC3C9,var(--cl-teal) 60%,#0B5860);}

/* ---------------- section rhythm + headings ---------------- */
/* NO overflow:hidden here — an overflow-hidden ancestor disables position:sticky,
   which the pinned scenes (statement / gallery / dashboard) depend on. */
body.skin-motion .mo-sec{position:relative;padding:clamp(90px,13vh,180px) 0;}
/* pinned scenes provide their own 100vh stage — no section padding around them */
body.skin-motion .mo-statement.mo-sec,
body.skin-motion .mo-arch.mo-sec,
body.skin-motion .mo-dash.mo-sec{padding:0;}
body.skin-motion .mo-sec .wrap{position:relative;z-index:2;}
body.skin-motion .mo-eyebrow{font-family:var(--mono);font-weight:600;font-size:12px;letter-spacing:.2em;
  text-transform:uppercase;color:var(--cl-coralD);display:inline-block;margin-bottom:14px;}
body.skin-motion .mo-h{font-family:var(--display);font-weight:600;letter-spacing:-.02em;line-height:1.02;
  font-size:clamp(32px,5vw,64px);}
body.skin-motion .mo-h em{font-style:normal;color:var(--cl-teal);}
body.skin-motion .mo-lede{color:var(--ink-soft);font-size:clamp(16px,1.4vw,19px);line-height:1.6;max-width:52ch;margin-top:16px;}
body.skin-motion .mo-head{max-width:820px;margin:0 auto;text-align:center;}
body.skin-motion .mo-head .mo-lede{margin-left:auto;margin-right:auto;}

/* word-by-word focus reveal */
body.skin-motion .mo-focus .mo-line{display:block;}
body.skin-motion .mo-focus .w{display:inline-block;opacity:.14;filter:blur(6px);transform:translateY(.12em);
  will-change:opacity,filter,transform;}

/* ================= HERO (reuses .hero markup + globe) ================= */
body.skin-motion .hero{position:relative;min-height:100vh;min-height:100svh;display:flex;align-items:center;overflow:hidden;padding-top:70px;}
body.skin-motion .hero .hero-copy{position:relative;z-index:3;}
/* sized so the four headline lines + sub + CTAs always fit ONE viewport frame */
body.skin-motion .hero h1{font-size:clamp(36px,5.2vw,76px);line-height:1.02;letter-spacing:-.03em;}
body.skin-motion .hero .sub{margin:22px 0 30px;}
body.skin-motion .hero .hero-globe{position:relative;z-index:2;}
/* GLOBE SIZING: owned entirely by theme.css #globe (width:100% / max-width /
   aspect-ratio:1/1 — and the ID selector out-ranks any class rule here).
   NEVER add width/height/max-height caps for it in this file: a height cap
   is the one property that slips past the ID rule and squashes the square
   canvas bitmap into an ellipse (the v2.52–v2.54.0 mobile-globe bug). */
body.skin-motion .mo-scrollcue{position:absolute;left:50%;bottom:24px;transform:translateX(-50%);z-index:3;
  display:flex;flex-direction:column;align-items:center;gap:8px;font-family:var(--mono);font-size:10px;
  letter-spacing:.24em;text-transform:uppercase;color:var(--ink-faint);transition:opacity .4s;}
body.skin-motion .mo-scrollcue .rail{width:1px;height:42px;background:linear-gradient(var(--ink-faint),transparent);position:relative;overflow:hidden;}
body.skin-motion .mo-scrollcue .rail::after{content:"";position:absolute;top:-40%;left:0;width:1px;height:40%;background:var(--cl-teal);animation:moCue 1.9s var(--mo-ease) infinite;}
@keyframes moCue{0%{top:-40%}60%,100%{top:120%}}

/* ================= STATEMENT (pinned line-reveal, camera dolly) ================= */
html.mo body.skin-motion .mo-statement .mo-scene{height:230vh;}
body.skin-motion .mo-statement .mo-pin{position:sticky;top:0;height:100vh;height:100svh;display:flex;align-items:center;
  transform:scale(var(--dolly,1));transform-origin:50% 50%;}
body.skin-motion .mo-statement .mo-h{font-size:clamp(34px,7vw,94px);line-height:1.04;max-width:16ch;}
body.skin-motion .mo-statement .mo-lede{margin-top:24px;opacity:0;transform:translateY(16px);
  transition:opacity .8s var(--mo-ease),transform .8s var(--mo-ease);}
body.skin-motion .mo-statement .mo-pin.lit .mo-lede{opacity:1;transform:none;}

/* ================= PROBLEM tiles (sticky headline + focus-in) ================= */
body.skin-motion .mo-problem .mo-grid{display:grid;grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);
  gap:clamp(30px,5vw,80px);align-items:start;}
body.skin-motion .mo-problem .mo-stick{position:sticky;top:16vh;}
body.skin-motion .mo-leaks{display:grid;grid-template-columns:1fr 1fr;gap:16px;perspective:1200px;}
body.skin-motion .mo-leak{background:var(--cl-cream);border-radius:20px;padding:24px 22px 20px;
  box-shadow:8px 9px 18px -8px var(--cl-sd),-5px -5px 12px var(--cl-sl);transform-style:preserve-3d;}
body.skin-motion .mo-leak h3{font-family:var(--display);font-size:18px;font-weight:600;margin-bottom:8px;line-height:1.15;}
body.skin-motion .mo-leak p{font-size:14px;color:var(--ink-soft);line-height:1.5;margin-bottom:14px;}
body.skin-motion .mo-leak .cost{display:inline-block;font-size:11px;font-weight:600;color:var(--cl-coralD);
  background:#F6D9CC;padding:6px 12px;border-radius:999px;}
@media(max-width:820px){
  body.skin-motion .mo-problem .mo-grid{grid-template-columns:1fr;}
  body.skin-motion .mo-problem .mo-stick{position:static;}
  body.skin-motion .mo-leaks{grid-template-columns:1fr;}
}

/* ================= ARCHITECTURE (horizontal 3D pinned gallery) ================= */
html.mo body.skin-motion .mo-arch .mo-scene{height:420vh;}
body.skin-motion .mo-arch .mo-pin{position:sticky;top:0;height:100vh;height:100svh;overflow:hidden;display:flex;
  flex-direction:column;justify-content:center;}
body.skin-motion .mo-arch .mo-archhead{max-width:var(--max);margin:0 auto;padding:0 var(--gutter) 30px;width:100%;}
body.skin-motion .mo-track{display:flex;gap:26px;padding:0 var(--gutter);will-change:transform;perspective:1400px;}
body.skin-motion .mo-acard{flex:0 0 min(80vw,430px);background:var(--cl-cream);border-radius:26px;padding:34px 32px;
  position:relative;transform-style:preserve-3d;
  box-shadow:16px 18px 40px -6px var(--cl-sd),-12px -12px 30px var(--cl-sl),inset 2px 2px 3px rgba(255,255,255,.7);}
body.skin-motion .mo-acard .n{font-family:var(--display);font-weight:700;font-size:15px;color:var(--cl-coral);}
body.skin-motion .mo-acard b{display:block;font-family:var(--display);font-weight:600;font-size:clamp(21px,2.2vw,27px);
  color:var(--cl-teal);letter-spacing:-.01em;margin:14px 0 12px;line-height:1.1;}
body.skin-motion .mo-acard .out{font-size:15px;color:var(--ink-soft);line-height:1.5;}
body.skin-motion .mo-acard .rev{margin-top:20px;border-top:1px solid var(--line);padding-top:16px;display:grid;gap:9px;}
body.skin-motion .mo-acard .rev div{font-size:13px;color:var(--ink-soft);line-height:1.4;}
body.skin-motion .mo-acard .rev i{font-style:normal;font-weight:600;color:var(--cl-amberD);display:block;
  font-size:11px;letter-spacing:.06em;text-transform:uppercase;margin-bottom:1px;}
body.skin-motion .mo-arch .mo-rail{max-width:var(--max);margin:34px auto 0;padding:0 var(--gutter);width:100%;}
body.skin-motion .mo-arch .mo-rail .line{height:3px;background:var(--line);border-radius:2px;position:relative;overflow:hidden;}
body.skin-motion .mo-arch .mo-rail .line::after{content:"";position:absolute;inset:0;width:100%;transform:scaleX(var(--fill,0));transform-origin:0 50%;
  background:linear-gradient(90deg,var(--cl-teal),var(--cl-coral));border-radius:2px;}
body.skin-motion .mo-arch .mo-count{margin-top:12px;font-family:var(--mono);font-size:12px;letter-spacing:.12em;
  text-transform:uppercase;color:var(--ink-faint);}
body.skin-motion .mo-arch .mo-count b{color:var(--brass-deep);}

/* ================= DASHBOARD (pinned, builds row by row) ================= */
html.mo body.skin-motion .mo-dash .mo-scene{height:250vh;}
body.skin-motion .mo-dash .mo-pin{position:sticky;top:0;height:100vh;height:100svh;display:flex;align-items:center;}
body.skin-motion .mo-dash .mo-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:clamp(30px,5vw,70px);align-items:center;width:100%;}
body.skin-motion .mo-panel{background:var(--cl-cream);border-radius:26px;padding:22px;
  box-shadow:16px 18px 42px -6px var(--cl-sd),-12px -12px 30px var(--cl-sl),inset 2px 2px 3px rgba(255,255,255,.7);}
body.skin-motion .mo-panel .top{display:flex;align-items:center;gap:9px;margin-bottom:16px;
  font-family:var(--display);font-weight:600;font-size:12px;color:var(--ink-soft);}
body.skin-motion .mo-panel .live{width:9px;height:9px;border-radius:50%;background:#3FBF99;box-shadow:0 0 0 0 rgba(63,191,153,.5);animation:moPulse 2s infinite;}
@keyframes moPulse{0%{box-shadow:0 0 0 0 rgba(63,191,153,.5)}70%,100%{box-shadow:0 0 0 8px rgba(63,191,153,0)}}
body.skin-motion .mo-row{display:grid;grid-template-columns:1.5fr 1fr;gap:10px;align-items:center;padding:13px 15px;
  border-radius:14px;background:#F4EADB;margin-bottom:9px;}
html.mo body.skin-motion .mo-row{opacity:calc(.12 + .88 * var(--r,0));transform:translateX(calc((1 - var(--r,0)) * 24px));}
body.skin-motion .mo-row .ch{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:500;color:var(--ink);}
body.skin-motion .mo-row .dot{width:11px;height:11px;border-radius:4px;flex:none;}
body.skin-motion .mo-row .val{font-size:12.5px;color:var(--ink-soft);text-align:right;}
body.skin-motion .mo-dash .note{margin-top:14px;font-size:12px;color:var(--ink-faint);text-align:center;}
@media(max-width:820px){body.skin-motion .mo-dash .mo-grid{grid-template-columns:1fr;}}

/* ================= COMPARISON ================= */
body.skin-motion .mo-cmp{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:22px;}
body.skin-motion .mo-col{border-radius:22px;padding:30px 28px;}
body.skin-motion .mo-col.basic{background:#F1E6D5;}
body.skin-motion .mo-col.solae{background:var(--cl-teal);color:#fff;
  box-shadow:16px 18px 40px -6px rgba(13,110,117,.5),-10px -10px 24px rgba(255,255,255,.4);}
body.skin-motion .mo-col .ch{font-family:var(--display);font-weight:600;font-size:20px;margin-bottom:18px;}
body.skin-motion .mo-col.basic .ch{color:var(--ink-soft);}
body.skin-motion .mo-col ul{list-style:none;display:grid;gap:11px;}
body.skin-motion .mo-col li{font-size:14.5px;line-height:1.4;padding-left:26px;position:relative;}
body.skin-motion .mo-col.basic li{color:var(--ink-faint);}
body.skin-motion .mo-col.basic li::before{content:"–";position:absolute;left:6px;color:var(--ink-faint);}
body.skin-motion .mo-col.solae li::before{content:"✓";position:absolute;left:2px;color:var(--cl-amber);font-weight:700;}
body.skin-motion .mo-col.solae li{opacity:0;transform:translateX(12px);filter:blur(4px);
  transition:opacity .5s var(--mo-ease),transform .5s var(--mo-ease),filter .5s var(--mo-ease);}
body.skin-motion .mo-col.solae.lit li{opacity:1;transform:none;filter:none;}
body.skin-motion .mo-col.solae.lit li:nth-child(2){transition-delay:.06s}
body.skin-motion .mo-col.solae.lit li:nth-child(3){transition-delay:.12s}
body.skin-motion .mo-col.solae.lit li:nth-child(4){transition-delay:.18s}
body.skin-motion .mo-col.solae.lit li:nth-child(5){transition-delay:.24s}
body.skin-motion .mo-col.solae.lit li:nth-child(6){transition-delay:.30s}
body.skin-motion .mo-col.solae.lit li:nth-child(7){transition-delay:.36s}
@media(max-width:760px){body.skin-motion .mo-cmp{grid-template-columns:1fr;}}

/* ================= GEO chips ================= */
body.skin-motion .mo-chips{display:flex;flex-wrap:wrap;gap:12px;margin-top:20px;}
body.skin-motion .mo-chips span{font-size:14px;font-weight:500;padding:11px 18px;border-radius:999px;
  background:var(--cl-cream);color:var(--ink-soft);box-shadow:4px 5px 11px -4px var(--cl-sd),-3px -3px 7px var(--cl-sl);}
body.skin-motion .mo-chips span:nth-child(6n+1){background:#F6D9CC;color:#8E3C23}
body.skin-motion .mo-chips span:nth-child(6n+2){background:#DDEEEA;color:#0B5860}
body.skin-motion .mo-chips span:nth-child(6n+3){background:#F6E7C7;color:#855512}
body.skin-motion .mo-chips span:nth-child(6n+4){background:#E6DEF4;color:#4E3A86}
body.skin-motion .mo-chips span:nth-child(6n+5){background:#DEEAD8;color:#3C5A35}
body.skin-motion .mo-chips span:nth-child(6n+6){background:#DCE8F2;color:#2B5478}
body.skin-motion .mo-honest{margin-top:22px;font-size:14px;color:var(--ink-soft);border-left:3px solid var(--cl-teal);padding-left:16px;max-width:56ch;}

/* ================= INDUSTRIES (3D tilt cards) ================= */
body.skin-motion .mo-ind-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:22px;perspective:1200px;}
body.skin-motion .mo-ind{background:var(--cl-cream);border-radius:20px;padding:26px 24px;display:block;transform-style:preserve-3d;
  box-shadow:8px 9px 18px -8px var(--cl-sd),-5px -5px 12px var(--cl-sl);transition:transform .4s var(--mo-ease),box-shadow .4s ease;}
body.skin-motion .mo-ind b{font-family:var(--display);font-weight:600;font-size:19px;display:block;margin-bottom:8px;color:var(--ink);}
body.skin-motion .mo-ind .p{font-size:14px;color:var(--ink-faint);display:block;margin-bottom:10px;line-height:1.4;}
body.skin-motion .mo-ind .m{font-size:12.5px;color:var(--brass-deep);font-weight:500;display:block;}
@media(max-width:820px){body.skin-motion .mo-ind-grid{grid-template-columns:1fr;}}

/* ================= FOUNDER ================= */
body.skin-motion .mo-founder .mo-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:clamp(30px,5vw,70px);align-items:center;}
body.skin-motion .mo-fcard{background:var(--cl-cream);border-radius:26px;padding:32px 30px;
  box-shadow:16px 18px 40px -6px var(--cl-sd),-12px -12px 30px var(--cl-sl),inset 2px 2px 3px rgba(255,255,255,.7);}
body.skin-motion .mo-fcard .role-k{font-family:var(--mono);font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:var(--ink-faint);}
body.skin-motion .mo-fcard h3{font-family:var(--display);font-size:30px;margin:8px 0 6px;}
body.skin-motion .mo-fcard .role{font-size:14px;color:var(--ink-soft);margin-bottom:18px;}
body.skin-motion .mo-fcard ul{list-style:none;display:grid;gap:10px;}
body.skin-motion .mo-fcard li{font-size:14px;color:var(--ink-soft);display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line);padding-bottom:9px;}
body.skin-motion .mo-fcard li b{color:var(--ink);font-weight:600;}
body.skin-motion .mo-founder .copy .mo-h{font-size:clamp(28px,4.2vw,52px);}
body.skin-motion .mo-founder .copy p{color:var(--ink-soft);margin:14px 0 0;max-width:48ch;}
body.skin-motion .mo-founder .sig{font-family:var(--display);font-weight:600;color:var(--ink);margin-top:16px;}
@media(max-width:820px){body.skin-motion .mo-founder .mo-grid{grid-template-columns:1fr;}}

/* ================= ACCESS / scarcity ================= */
body.skin-motion .mo-access-list{list-style:none;display:grid;gap:12px;max-width:640px;margin:24px auto 0;}
body.skin-motion .mo-access-list li{position:relative;padding-left:28px;color:var(--ink-soft);font-size:15px;}
body.skin-motion .mo-access-list li::before{content:"";position:absolute;left:2px;top:8px;width:9px;height:9px;
  border-radius:50%;background:var(--cl-teal);}

/* ================= section wrappers reused for form + FAQ ================= */

/* ---------------- reduced-motion / static fallback ---------------- */
html.mo-static body.skin-motion .rv,
html.mo-static body.skin-motion .mo-focus .w,
html.mo-static body.skin-motion .mo-col.solae li,
html.mo-static body.skin-motion .mo-statement .mo-lede,
html.mo-static body.skin-motion .mo-row{opacity:1!important;transform:none!important;filter:none!important;transition:none!important;}
html.mo-static body.skin-motion .mo-scene{height:auto!important;}
html.mo-static body.skin-motion .hero{min-height:auto!important;padding:150px 0 90px!important;}
html.mo-static body.skin-motion .mo-pin{position:static!important;height:auto!important;transform:none!important;padding:clamp(70px,10vh,120px) 0;}
html.mo-static body.skin-motion .mo-track{flex-wrap:wrap;transform:none!important;}
html.mo-static body.skin-motion .mo-acard{flex-basis:calc(50% - 13px);}
html.mo-static body.skin-motion .mo-arch .mo-rail .line::after{width:100%!important;transform:none!important;}
html.mo-static body.skin-motion .mo-scrollcue{display:none;}
@media(max-width:600px){html.mo-static body.skin-motion .mo-acard{flex-basis:100%;}}
@media (prefers-reduced-motion:reduce){
  body.skin-motion .mo-orb,body.skin-motion .mo-scrollcue .rail::after,body.skin-motion .mo-panel .live{animation:none!important;}
}

/* =====================================================================
   BESPOKE INTERIOR HERO SCENES (v2.50.0 — art-directed pass)
   One archetype per page, chosen server-side (body.mo-scene-*), built into
   .page-hero by motion.js. Accent colour from the candy palette (mo-accent-*).
   Every scene has AMBIENT life (CSS keyframes on wrapper layers) AND
   scroll-driven choreography (JS inline transforms on separate inner layers,
   so the two never fight). All decorative layers sit BEHIND the hero content
   (.page-hero > .wrap is z-index:2). Scene chrome only exists while the
   engine runs (html.mo) — reduced-motion keeps the calm Clay hero instead.
   ===================================================================== */
body.skin-motion{--mo-accent:var(--cl-teal);--mo-accent-soft:rgba(22,160,168,.18);--mo-accent-line:rgba(22,160,168,.42);}
body.mo-accent-teal {--mo-accent:var(--cl-teal); --mo-accent-soft:rgba(22,160,168,.18); --mo-accent-line:rgba(22,160,168,.42);}
body.mo-accent-coral{--mo-accent:var(--cl-coral);--mo-accent-soft:rgba(238,138,96,.18); --mo-accent-line:rgba(238,138,96,.42);}
body.mo-accent-amber{--mo-accent:var(--cl-amber);--mo-accent-soft:rgba(239,177,82,.20); --mo-accent-line:rgba(239,177,82,.46);}
body.mo-accent-sage {--mo-accent:var(--cl-sage); --mo-accent-soft:rgba(159,199,143,.22);--mo-accent-line:rgba(159,199,143,.48);}
body.mo-accent-sky  {--mo-accent:var(--cl-sky);  --mo-accent-soft:rgba(134,180,221,.22);--mo-accent-line:rgba(134,180,221,.48);}
body.mo-accent-lilac{--mo-accent:var(--cl-lilac);--mo-accent-soft:rgba(180,155,224,.22);--mo-accent-line:rgba(180,155,224,.48);}

/* Clay's generic hero bubbles step aside — each page's scene owns the hero.
   (Gated to html.mo so reduced-motion / no-JS keeps the calm Clay bubbles.) */
html.mo body.skin-motion .page-hero::before,
html.mo body.skin-motion .page-hero::after{content:none;}

/* scene heroes: taller + vertically centred (motion running only) */
html.mo body.skin-motion.mo-scene-orbit .page-hero,
html.mo body.skin-motion.mo-scene-rings .page-hero,
html.mo body.skin-motion.mo-scene-split .page-hero,
html.mo body.skin-motion.mo-scene-stack .page-hero{min-height:72vh;display:flex;align-items:center;}
html.mo body.skin-motion.mo-scene-depth .page-hero{min-height:66vh;display:flex;align-items:center;}
html.mo body.skin-motion.mo-scene-spotlight .page-hero{min-height:60vh;display:flex;align-items:center;}
html.mo body.skin-motion .page-hero>.wrap{width:100%;}

/* the injected scene container — fades/settles in on page load */
body.skin-motion .mo-scenefx{position:absolute;inset:0;z-index:0;pointer-events:none;animation:moSceneIn 1.3s var(--mo-ease) both;}
@keyframes moSceneIn{from{opacity:0;transform:scale(.965);}to{opacity:1;transform:none;}}

/* shared ambient keyframes (wrapper layers only — never on JS-driven nodes) */
@keyframes moFloatA{0%,100%{transform:translateY(0);}50%{transform:translateY(-13px);}}
@keyframes moFloatB{0%,100%{transform:translate(0,0) rotate(0);}50%{transform:translate(7px,-16px) rotate(5deg);}}
@keyframes moSpinSlow{to{transform:rotate(360deg);}}
body.skin-motion .mo-drift1{animation:moFloatB 7.5s ease-in-out infinite;}
body.skin-motion .mo-drift2{animation:moFloatA 9s ease-in-out infinite;}
body.skin-motion .mo-drift3{animation:moFloatB 11s ease-in-out infinite reverse;}

/* kinetic interior headline — words rise into focus on load, one by one */
body.skin-motion .mo-h1 .w{display:inline-block;opacity:0;transform:translateY(.34em);filter:blur(8px);
  animation:moWordIn .8s var(--mo-ease) both;animation-delay:calc(var(--wi,0) * .07s + .12s);}
@keyframes moWordIn{to{opacity:1;transform:none;filter:none;}}

/* interior scroll cue (injected) — anchored to the content's left edge so it
   reads as a page-level affordance, never a dropdown on the secondary button */
body.skin-motion .mo-scrollcue{z-index:3;}
html.mo body.skin-motion .mo-scrollcue{transition:none;} /* the engine owns its fade */
body.skin-motion .page-hero .mo-scrollcue{left:max(var(--gutter),calc((100% - var(--max))/2 + var(--gutter)));transform:none;align-items:flex-start;bottom:14px;color:var(--ink-soft);}
body.skin-motion .page-hero .mo-scrollcue .rail{height:42px;background:linear-gradient(var(--ink-soft),transparent);}

/* secondary (ghost) CTA — give the boundary real contrast on cream */
body.skin-motion .btn.ghost{border:1.5px solid rgba(10,86,94,.55);}

/* --- ORBIT: spheres ride visible orbital paths around a clay nucleus ---- */
body.skin-motion .mo-orbit-pos{position:absolute;right:2%;top:56%;transform:translateY(-50%);width:min(44vw,460px);aspect-ratio:1;}
body.skin-motion .mo-orbit-amb{position:absolute;inset:0;animation:moSpinSlow 90s linear infinite;}
body.skin-motion .mo-orbit-path{position:absolute;inset:5%;border-radius:50%;border:1.4px dashed var(--mo-accent-line);}
body.skin-motion .mo-orbit-path.p2{inset:24%;border-style:solid;border-width:1px;border-color:var(--mo-accent-soft);}
body.skin-motion .mo-orbit{position:absolute;inset:0;transform:rotate(35deg);will-change:transform;} /* settled phase keeps satellites clear of the header */
body.skin-motion .mo-orbit-core{position:absolute;left:50%;top:50%;width:52px;height:52px;transform:translate(-50%,-50%);border-radius:50%;
  background:radial-gradient(circle at 32% 28%,rgba(255,255,255,.9),var(--mo-accent) 68%);
  box-shadow:0 0 46px 12px var(--mo-accent-soft),6px 9px 16px -3px rgba(0,0,0,.22),inset -5px -6px 10px rgba(0,0,0,.18),inset 5px 5px 8px rgba(255,255,255,.5);
  animation:moPulse 2.6s infinite;}

/* --- RINGS: a live radar — pulses ripple out; contacts sit on the rings --- */
body.skin-motion .mo-rings-pos{position:absolute;right:-2%;top:52%;transform:translateY(-50%);width:min(40vw,420px);aspect-ratio:1;}
body.skin-motion .mo-ring{position:absolute;left:50%;top:50%;border-radius:50%;border:1.4px solid var(--mo-accent-line);transform:translate(-50%,-50%);will-change:transform,opacity;}
body.skin-motion .mo-ring.r1{width:100%;height:100%;border-style:dashed;}
body.skin-motion .mo-ring.r2{width:64%;height:64%;}
body.skin-motion .mo-ring.r3{width:32%;height:32%;}
body.skin-motion .mo-ring-pulse{position:absolute;left:50%;top:50%;width:100%;height:100%;border-radius:50%;border:1.6px solid var(--mo-accent);
  transform:translate(-50%,-50%) scale(.2);opacity:0;animation:moRingPulse 3.6s cubic-bezier(.22,.61,.36,1) infinite;}
body.skin-motion .mo-ring-pulse.d2{animation-delay:1.8s;}
@keyframes moRingPulse{0%{transform:translate(-50%,-50%) scale(.18);opacity:.85;}100%{transform:translate(-50%,-50%) scale(1.1);opacity:0;}}
body.skin-motion .mo-ring-core{position:absolute;left:50%;top:50%;width:48px;height:48px;transform:translate(-50%,-50%);border-radius:50%;
  background:radial-gradient(circle at 32% 28%,rgba(255,255,255,.9),var(--mo-accent) 68%);
  box-shadow:0 0 40px 10px var(--mo-accent-soft),6px 9px 16px -3px rgba(0,0,0,.22),inset -5px -6px 10px rgba(0,0,0,.18),inset 5px 5px 8px rgba(255,255,255,.5);}
body.skin-motion .mo-ring-dot{position:absolute;border-radius:50%;
  background:radial-gradient(circle at 32% 28%,rgba(255,255,255,.9),var(--mo-accent) 70%);
  box-shadow:3px 4px 8px -2px rgba(0,0,0,.22),inset -2px -3px 5px rgba(0,0,0,.18),inset 2px 2px 4px rgba(255,255,255,.5);}

/* (the GRID plane archetype is retired — Hassan chose the orbit "galaxy"
   for /seo/, /how-we-work/ and /systems/ instead; see solae_motion_scene()) */

/* --- STACK: layered "reports" with a real result — fan out as you scroll - */
body.skin-motion .mo-stack{position:absolute;right:6%;top:55%;transform:translateY(-50%);width:min(29vw,320px);height:min(23vw,250px);perspective:1200px;}
body.skin-motion .mo-stack-amb{position:absolute;inset:0;animation:moFloatA 8s ease-in-out infinite;}
body.skin-motion .mo-stackcard{position:absolute;inset:0;border-radius:22px;background:var(--cl-cream);border:1.5px solid var(--mo-accent-line);border-top:4px solid var(--mo-accent);will-change:transform;
  box-shadow:14px 16px 36px -10px var(--cl-sd),-8px -8px 20px var(--cl-sl);}
body.skin-motion .mo-stackcard.back{background:#F6E7C7;} /* rearmost card fully amber-tinted — deliberate layers */
body.skin-motion .mo-stackcard::before{content:"";position:absolute;left:20px;top:20px;width:40%;height:10px;border-radius:6px;background:var(--mo-accent-soft);}
body.skin-motion .mo-stackcard.front::after{content:"";position:absolute;left:20px;top:44px;right:34%;height:6px;border-radius:6px;
  background:rgba(26,24,23,.09);box-shadow:0 13px 0 rgba(26,24,23,.07);}
body.skin-motion .mo-stack-stat{position:absolute;left:20px;bottom:16px;font-family:var(--display);font-weight:700;
  font-size:clamp(26px,2.6vw,38px);letter-spacing:-.02em;color:var(--ink);line-height:1;}
body.skin-motion .mo-stack-chip{position:absolute;right:16px;top:14px;font-family:var(--body);font-weight:600;font-size:11px;
  color:#855512;background:#F6E7C7;padding:6px 11px;border-radius:999px;}
body.skin-motion .mo-stack-spark{position:absolute;left:20px;right:20px;bottom:64px;height:34px;}
body.skin-motion .mo-stack-spark polyline{fill:none;stroke:var(--mo-accent);stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;}

/* --- SPLIT: a grand clay squircle with an orbiting satellite ------------ */
body.skin-motion .mo-split-pos{position:absolute;right:-2vw;top:50%;transform:translateY(-50%);width:min(34vw,390px);aspect-ratio:1;}
body.skin-motion .mo-split-amb{position:absolute;inset:0;animation:moFloatA 9s ease-in-out infinite;}
body.skin-motion .mo-split-main{position:absolute;inset:6%;border-radius:38% 62% 58% 42% / 48% 42% 58% 52%;will-change:transform;
  background:radial-gradient(circle at 32% 28%,rgba(255,255,255,.72),var(--mo-accent) 66%);
  box-shadow:12px 16px 34px -4px rgba(0,0,0,.2),inset -10px -12px 22px rgba(0,0,0,.18),inset 11px 11px 18px rgba(255,255,255,.5);}
body.skin-motion .mo-split-ring{position:absolute;inset:-7%;border-radius:50%;border:1.2px dashed var(--mo-accent-line);animation:moSpinSlow 70s linear infinite;}
body.skin-motion .mo-split-satspin{position:absolute;inset:-7%;animation:moSpinSlow 24s linear infinite;}
body.skin-motion .mo-split-sat{position:absolute;left:50%;top:-11px;width:22px;height:22px;margin-left:-11px;border-radius:50%;
  background:radial-gradient(circle at 32% 28%,rgba(255,255,255,.9),var(--mo-accent));
  box-shadow:4px 6px 12px -2px rgba(0,0,0,.25),inset -3px -4px 6px rgba(0,0,0,.2),inset 3px 3px 5px rgba(255,255,255,.55);}

/* --- SPOTLIGHT: a grand halo with a clay subject, fenced off the text ---- */
body.skin-motion .mo-spot-fence{position:absolute;inset:0;
  -webkit-mask-image:linear-gradient(90deg,transparent 0,transparent 42%,#000 58%);
  mask-image:linear-gradient(90deg,transparent 0,transparent 42%,#000 58%);} /* glow/halo never underlap the headline column */
body.skin-motion .mo-spot{position:absolute;left:66%;top:46%;width:min(70vw,660px);aspect-ratio:1;border-radius:50%;
  background:radial-gradient(circle,var(--mo-accent-soft) 0%,var(--mo-accent-soft) 26%,transparent 64%);
  animation:moSpotDrift 16s ease-in-out infinite alternate;}
@keyframes moSpotDrift{from{transform:translate(-54%,-52%);}to{transform:translate(-46%,-44%);}}
body.skin-motion .mo-spot-halo{position:absolute;left:66%;top:46%;width:min(52vw,500px);aspect-ratio:1;border-radius:50%;
  border:1.4px dashed var(--mo-accent-line);transform:translate(-50%,-50%);animation:moSpinSlow 110s linear infinite;}
body.skin-motion .mo-spot-subject{position:absolute;left:66%;top:46%;width:80px;height:80px;margin:-40px 0 0 -40px;}
body.skin-motion .mo-speck{position:absolute;border-radius:50%;
  background:radial-gradient(circle at 32% 28%,rgba(255,255,255,.85),var(--mo-accent) 68%);
  box-shadow:4px 6px 12px -2px rgba(0,0,0,.22),inset -3px -4px 6px rgba(0,0,0,.18),inset 3px 3px 5px rgba(255,255,255,.55);}
body.skin-motion .mo-speck.s1{right:31%;top:16%;width:22px;height:22px;animation:moFloatB 9s ease-in-out infinite;}
body.skin-motion .mo-speck.s2{right:9%;top:36%;width:15px;height:15px;opacity:.9;animation:moFloatA 11s ease-in-out infinite;}
body.skin-motion .mo-speck.s3{right:24%;bottom:14%;width:32px;height:32px;opacity:.85;animation:moFloatB 13s ease-in-out infinite reverse;}

/* --- scene mobile tuning: recede behind the copy, never crowd it -------- */
@media(max-width:700px){
  html.mo body.skin-motion.mo-scene-orbit .page-hero,
  html.mo body.skin-motion.mo-scene-rings .page-hero,
  html.mo body.skin-motion.mo-scene-split .page-hero,
  html.mo body.skin-motion.mo-scene-stack .page-hero,
  body.skin-motion .mo-orbit-pos{right:-18%;top:42%;width:76vw;opacity:.5;}
  body.skin-motion .mo-rings-pos{right:-16%;top:40%;width:72vw;opacity:.55;}
  body.skin-motion .mo-stack{right:-8%;width:54vw;height:44vw;opacity:.45;}
  body.skin-motion .mo-split-pos{right:-18vw;top:46%;width:60vw;opacity:.5;}
  /* homepage hero fits ONE mobile frame: compact globe, tighter rhythm */
  body.skin-motion .hero{padding-top:84px;}
  body.skin-motion .hero .sub{margin:16px 0 22px;}
}

/* --- safety: if reduce-motion flips on after load, everything stills ---- */
@media (prefers-reduced-motion:reduce){
  body.skin-motion .mo-scenefx,body.skin-motion .mo-scenefx *{animation:none!important;}
  body.skin-motion .mo-h1 .w{animation:none!important;opacity:1!important;transform:none!important;filter:none!important;}
}

/* =====================================================================
   BAND SYNC + SECTION COHERENCE (v2.51.0)
   One background system for the whole Motion experience: the two Clay
   tones (#F2E7D4 canvas / #FBF4EA light band) now BLEND into each other
   instead of hard-cutting, every interior hero carries a soft wash of its
   scene accent (so hero, scene and sections share one colour story), and
   a slim teal thread connects consecutive sections. Tones are the existing
   Clay palette only.
   ===================================================================== */

/* light bands blend in and out of the clay canvas — no hard seams */
body.skin-motion .mo-band-light,
body.skin-motion .mo-statement,
body.skin-motion .mo-arch,
body.skin-motion .mo-proof,
body.skin-motion .mo-geo,
body.skin-motion .mo-founder,
body.skin-motion .light{
  background:linear-gradient(180deg,#F2E7D4 0,#FBF4EA 120px,#FBF4EA calc(100% - 120px),#F2E7D4 100%);
}

/* interior heroes: the page's scene accent washes the hero, then settles
   into the canvas — each page opens in its own colour key */
html.mo body.skin-motion .page-hero{
  background:
    radial-gradient(900px 460px at 76% 16%,var(--mo-accent-soft),transparent 64%),
    linear-gradient(180deg,#F4EADB 0,#F2E7D4 100%);
}

/* the thread: a slim teal line ties each section to the one before it */
body.skin-motion .mo-sec:not(.mo-statement):not(.mo-arch):not(.mo-dash)::before,
body.skin-motion #audit::before{
  content:"";position:absolute;left:50%;top:0;transform:translateX(-50%);
  width:1.5px;height:clamp(30px,5vh,54px);
  background:linear-gradient(var(--cl-teal),transparent);opacity:.45;
}

/* the Growth-Audit + FAQ sections join the same rhythm as the rest */
body.skin-motion #audit{position:relative;padding:clamp(90px,13vh,180px) 0;}

/* runs of consecutive light sections read as ONE unbroken band — only the
   outer edges of the run blend back into the clay canvas */
body.skin-motion .light + .light,
body.skin-motion .light.section-stack{background:linear-gradient(180deg,#FBF4EA 0,#FBF4EA calc(100% - 120px),#F2E7D4 100%);}
body.skin-motion .light:has(+ .light),
body.skin-motion .light:has(+ .section-stack){background:linear-gradient(180deg,#F2E7D4 0,#FBF4EA 120px,#FBF4EA 100%);}
body.skin-motion .light + .light:has(+ .light),
body.skin-motion .light + .light:has(+ .section-stack){background:#FBF4EA;}

/* one owner per element: the motion rail replaces enhance.js's brass bar,
   and it steps aside while the menu overlay is open */
body.skin-motion .scroll-progress{display:none;}
body.skin-motion.ov-open .mo-progress{opacity:0;}

/* mo-static belt-and-suspenders: still the PHP-rendered pulses too */
html.mo-static body.skin-motion .mo-panel .live{animation:none!important;}

/* =====================================================================
   MOBILE HARDENING (v2.52.0 — from the full-site audit)
   ===================================================================== */
/* the cue is informational — it must never intercept a tap */
body.skin-motion .mo-scrollcue{pointer-events:none;}

@media(max-width:700px){
  /* homepage: stacked full-width CTAs own this zone — cue + lilac orb step back */
  body.skin-motion .mo-hero .mo-scrollcue{display:none;}
  body.skin-motion .mo-hero .mo-orb.lilac{opacity:.25!important;}
  /* depth + spotlight heroes: same compact stage as the other scenes */
  html.mo body.skin-motion.mo-scene-depth .page-hero,
  html.mo body.skin-motion.mo-scene-spotlight .page-hero{min-height:56vh;}
  body.skin-motion.mo-scene-depth .mo-scenefx > [data-mo-par]{opacity:.45!important;}
  /* pinned gallery: top-align + compact so the headline can never clip */
  body.skin-motion .mo-arch .mo-pin{justify-content:flex-start;padding-top:max(64px,6svh);}
  body.skin-motion .mo-arch .mo-archhead{padding-bottom:16px;}
  body.skin-motion .mo-arch .mo-archhead .mo-h{font-size:clamp(26px,7vw,32px);}
  body.skin-motion .mo-acard{padding:24px 22px;}
}
@media(max-width:820px){
  /* dashboard: unpin on small screens — content is taller than the stage */
  html.mo body.skin-motion .mo-dash .mo-scene{height:auto;}
  body.skin-motion .mo-dash .mo-pin{position:static;height:auto;padding:clamp(70px,10vh,110px) 0;}
  html.mo body.skin-motion .mo-row{opacity:1;transform:none;}
}
