/* Cap AI website v1 — brand colors and type from the flyer and Instagram posts */
@font-face{font-family:Inter;src:url("../assets/fonts/Inter-Regular.ttf") format("truetype");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:Inter;src:url("../assets/fonts/Inter-Medium.ttf") format("truetype");font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:Inter;src:url("../assets/fonts/Inter-SemiBold.ttf") format("truetype");font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:Inter;src:url("../assets/fonts/Inter-Bold.ttf") format("truetype");font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:Inter;src:url("../assets/fonts/Inter-ExtraBold.ttf") format("truetype");font-weight:800;font-style:normal;font-display:swap}

:root{
  --bg:#0b0618;
  --bg-soft:#12081f;
  --bg-alt:#140a24;
  --purple:#a855f7;
  --purple-deep:#7c3aed;
  --purple-bright:#c084fc;
  --purple-soft:#d8b4fe;
  --purple-wash:#e9d5ff;
  --lilac:#f3e8ff;
  --text:#ffffff;
  --text-90:rgba(255,255,255,.9);
  --text-80:rgba(255,255,255,.82);
  --text-70:rgba(255,255,255,.72);
  --card:rgba(124,58,237,.16);
  --card-strong:rgba(124,58,237,.28);
  --stroke:rgba(168,85,247,.48);
  --stroke-strong:#a855f7;
  --bad:#fca5a5;
  --bad-bg:rgba(255,255,255,.05);
  --bad-stroke:rgba(252,165,165,.35);
  --radius:18px;
  --radius-sm:12px;
  --wrap:min(1120px,calc(100% - 40px));
  --header-h:84px;
  --shadow:0 12px 36px rgba(0,0,0,.28);
  --glow:0 10px 32px rgba(168,85,247,.4);
  --shade-dark:#0b0618;
  --shade-light:#1c1230;
  --page-bg:var(--shade-dark);
  --bg-shift:1.05s;
}
html[data-shade="light"]{--page-bg:var(--shade-light)}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;background:var(--page-bg);color:var(--text);-webkit-text-size-adjust:100%;overflow-x:hidden;max-width:100%;transition:background-color var(--bg-shift) ease}
body{
  font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif;
  background:transparent;
  color:var(--text);
  line-height:1.5;
  font-weight:400;
  overflow-x:hidden;
  max-width:100%;
}
img,svg{display:block;max-width:100%;height:auto}
button,input{font:inherit}
a{color:inherit}
ul{list-style:none}
h1,h2,h3,summary{text-wrap:balance}
p{text-wrap:pretty}
h1,h2,h3{font-weight:800;letter-spacing:-.03em;line-height:1.12}
.section,.cta-band,#addons{scroll-margin-top:calc(var(--header-h) + 16px)}

.skip{
  position:absolute;left:12px;top:-40px;z-index:200;
  background:var(--purple-deep);color:#fff;padding:8px 14px;border-radius:8px;
}
.skip:focus{top:12px}

.wrap{width:var(--wrap);margin-inline:auto}
.section{position:relative;padding:72px 0}
.section-alt{background:transparent}
.kicker{
  font-size:.75rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase;
  color:var(--purple-bright);margin-bottom:12px;
  display:flex;align-items:center;gap:10px;
}
.kicker::before{
  content:"";width:7px;height:7px;border-radius:50%;flex-shrink:0;
  background:var(--purple-bright);
  box-shadow:0 0 0 4px rgba(168,85,247,.22);
}
.headline{font-size:clamp(1.85rem,5.6vw,3rem);max-width:18ch;letter-spacing:-.04em}
.lede{margin-top:14px;font-size:1.0625rem;line-height:1.55;font-weight:500;color:var(--text-80);max-width:38rem}

/* Header */
.site-header{
  position:sticky;top:0;z-index:100;
  height:var(--header-h);
  background:color-mix(in srgb,var(--page-bg) 78%,transparent);
  border-bottom:1px solid transparent;
  backdrop-filter:blur(18px) saturate(1.15);
  -webkit-backdrop-filter:blur(18px) saturate(1.15);
  transition:border-color .2s,background-color var(--bg-shift) ease,opacity .35s ease,transform .35s ease;
}
.site-header.is-scrolled{
  border-bottom-color:rgba(168,85,247,.28);
  background:color-mix(in srgb,var(--page-bg) 90%,transparent);
}
.header-inner{height:var(--header-h);display:flex;align-items:center;justify-content:space-between;gap:16px}
@media (min-width:1024px){.header-inner{width:min(1280px,calc(100% - 48px))}}
@media (min-width:1024px) and (max-width:1239px){
  .header-inner{width:min(100%,calc(100% - 32px))}
  .brand-logo{height:64px;max-width:168px}
  .site-nav a{padding:6px 6px;font-size:.75rem;white-space:nowrap}
  .site-nav .btn{margin-left:4px;padding:8px 12px;font-size:.75rem;white-space:nowrap}
}

.brand{display:flex;align-items:center;flex-shrink:0;text-decoration:none}
.brand-logo{
  height:64px;width:auto;max-width:min(58vw,280px);
  display:block;
}
.nav-toggle{position:absolute;opacity:0;pointer-events:none}
.nav-btn{
  width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;
  border-radius:10px;cursor:pointer;color:#fff;margin-right:-8px;
}
.nav-btn svg{width:24px;height:24px}
.nav-btn .icon-close{display:none}
.nowrap{white-space:nowrap}
.site-nav{
  position:fixed;
  top:var(--header-h);left:0;right:0;bottom:0;
  width:100%;
  height:calc(100dvh - var(--header-h));
  background:#0b0618;
  padding:12px 20px 32px;
  visibility:hidden;
  opacity:0;
  pointer-events:none;
  overflow:auto;
  z-index:150;
  transition:opacity .2s ease,visibility .2s ease;
}
.site-nav ul{display:flex;flex-direction:column;gap:4px}
.site-nav a{
  display:block;text-decoration:none;font-weight:600;font-size:1.0625rem;
  padding:14px 12px;border-radius:12px;color:var(--text-90);
}
.site-nav a:hover,.site-nav a:focus-visible{background:var(--card);color:#fff}
.site-nav .btn{justify-content:center;margin-top:12px;padding:14px 20px}
.nav-toggle:checked ~ .site-nav{visibility:visible;opacity:1;pointer-events:auto}
.nav-toggle:checked ~ .nav-btn .icon-open{display:none}
.nav-toggle:checked ~ .nav-btn .icon-close{display:block}
.nav-toggle:focus-visible ~ .nav-btn{outline:2px solid var(--purple-bright);outline-offset:2px}

/* Buttons */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  background:linear-gradient(135deg,#a855f7,#7c3aed);
  color:#fff;font-weight:700;font-size:1rem;line-height:1.2;
  text-decoration:none;border-radius:999px;padding:14px 22px;
  box-shadow:var(--glow);border:1px solid rgba(255,255,255,.12);
  transition:transform .15s ease,box-shadow .15s ease,filter .15s ease;
}
.btn:hover{transform:translateY(-1px);filter:brightness(1.06);box-shadow:0 14px 36px rgba(168,85,247,.5)}
.btn:active{transform:translateY(0)}
.btn-ghost{
  background:transparent;box-shadow:none;
  border:1px solid var(--stroke-strong);color:#fff;
}
.btn-ghost:hover{background:var(--card);filter:none;box-shadow:none}
.ig-dot{
  width:22px;height:22px;border-radius:50%;flex-shrink:0;
  background:linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888);
  display:inline-flex;align-items:center;justify-content:center;
}
.ig-dot svg{width:12px;height:12px}

/* Hero */
.hero{
  position:relative;overflow:visible;
  padding:36px 0 64px;
}
.hero .wrap{position:relative;z-index:1}
.hero h1{
  font-size:clamp(2.15rem,9vw,4.25rem);
  max-width:14ch;
  line-height:.98;
  letter-spacing:-.045em;
}
.hero h1 em{font-style:normal;color:var(--purple-bright)}
.hero .lede{font-size:1.125rem;max-width:34rem}
.hero-actions{margin-top:28px;display:flex;flex-direction:column;gap:12px;align-items:stretch}
.hero-note{margin-top:16px;font-size:.9375rem;font-weight:600;color:var(--purple-wash)}
.hero-trio{margin-top:36px;display:grid;gap:12px}
.mini{
  background:var(--card);border:1px solid var(--stroke);
  border-radius:var(--radius);padding:18px 16px;
  display:flex;align-items:center;gap:14px;
}
.mini-icon{
  width:48px;height:48px;border-radius:14px;flex-shrink:0;
  background:linear-gradient(135deg,#a855f7,#7c3aed);
  box-shadow:0 8px 24px rgba(124,58,237,.45);
  display:flex;align-items:center;justify-content:center;
}
.mini-icon svg{width:24px;height:24px}
.mini strong{display:block;font-size:1rem;font-weight:800;letter-spacing:-.02em}
.mini span{display:block;margin-top:2px;font-size:.875rem;font-weight:500;color:var(--text-70)}

/* Problem */
.compare{margin-top:32px;display:grid;gap:14px}
.colh{
  font-size:.75rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;margin-bottom:10px;
}
.colh.bad{color:var(--bad)}
.colh.good{color:var(--purple-bright)}
.row-card{
  display:flex;align-items:flex-start;gap:12px;
  border-radius:14px;padding:14px 16px;
  font-size:.975rem;font-weight:600;line-height:1.35;
}
.row-card.bad{background:var(--bad-bg);border:1px solid var(--bad-stroke);color:rgba(255,255,255,.8)}
.row-card.good{background:var(--card-strong);border:1px solid var(--stroke-strong)}
.row-card svg{width:22px;height:22px;flex-shrink:0;margin-top:1px}
.row-card.bad svg{stroke:var(--bad)}
.ck{
  width:22px;height:22px;border-radius:50%;flex-shrink:0;margin-top:1px;
  background:linear-gradient(135deg,#a855f7,#7c3aed);
  display:flex;align-items:center;justify-content:center;
}
.ck svg{width:12px;height:12px;margin:0}
.problem-close{margin-top:24px;font-size:1.0625rem;font-weight:700;color:var(--lilac);text-align:center}

/* Bots */
.bots{margin-top:32px;display:grid;gap:16px}
.bot{
  background:var(--card);border:1px solid var(--stroke);
  border-radius:var(--radius);padding:24px 20px;
  height:100%;
}
.bot-head{display:flex;align-items:center;gap:14px;margin-bottom:16px}
.bot-head .mini-icon{width:56px;height:56px;border-radius:16px}
.bot-head .mini-icon svg{width:28px;height:28px}
.bot h3{font-size:1.25rem}
.role{margin-top:3px;font-size:.875rem;font-weight:600;color:var(--purple-bright)}
.bot ul{display:flex;flex-direction:column;gap:10px}
.bot li{display:flex;gap:10px;align-items:flex-start;font-size:.975rem;line-height:1.4;color:var(--text-90)}
.band{
  margin-top:20px;
  background:linear-gradient(90deg,rgba(124,58,237,.35),rgba(168,85,247,.55),rgba(124,58,237,.35));
  border:1px solid var(--purple-bright);
  border-radius:var(--radius);
  padding:16px 18px;
  text-align:center;
  font-size:1rem;font-weight:700;line-height:1.4;
}
.band b{color:var(--lilac)}

/* Steps */
.steps{margin-top:32px;display:grid;gap:14px}
.step{
  display:flex;gap:16px;align-items:flex-start;
  background:var(--card);border:1px solid var(--stroke);
  border-radius:var(--radius);padding:20px 18px;
}
.num{
  width:44px;flex-shrink:0;text-align:center;
  font-size:2rem;font-weight:800;color:var(--purple-bright);letter-spacing:-.03em;line-height:1;
  padding-top:2px;
}
.step h3{font-size:1.125rem}
.step p{margin-top:6px;font-size:.975rem;line-height:1.45;color:var(--text-80)}

/* Features */
.feat-grid{margin-top:28px;display:grid;gap:10px}
.feat{
  display:flex;gap:12px;align-items:flex-start;
  background:var(--card);border:1px solid var(--stroke);
  border-radius:14px;padding:14px 16px;
  font-size:.975rem;font-weight:500;line-height:1.35;color:var(--text-90);
}
.feat .ck{margin-top:0}
.feat.highlight{font-weight:700}

.addons{margin-top:48px}
.addon-grid{margin-top:24px;display:grid;gap:12px}
.addon{
  display:flex;gap:14px;align-items:flex-start;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(192,132,252,.55);
  border-radius:var(--radius);
  padding:16px;
}
.addon .mini-icon{width:44px;height:44px;border-radius:12px;box-shadow:none}
.addon .mini-icon svg{width:22px;height:22px}
.addon h3{font-size:1.0625rem}
.addon p{margin-top:3px;font-size:.875rem;font-weight:500;line-height:1.35;color:var(--text-70)}
.addons-note{margin-top:16px;text-align:center;font-size:.9375rem;font-weight:500;font-style:italic;color:var(--purple-soft)}

/* Why */
.why-grid{margin-top:32px;display:grid;gap:12px}
.why{
  background:var(--card);border:1px solid var(--stroke);
  border-radius:var(--radius);padding:22px 20px;
}
.why h3{font-size:1.125rem;margin-bottom:8px}
.why p{font-size:.975rem;line-height:1.5;color:var(--text-80)}

/* FAQ */
.faq-list{margin-top:28px;display:grid;gap:10px}
.faq-list details{
  background:var(--card);border:1px solid var(--stroke);
  border-radius:var(--radius);padding:0 18px;
}
.faq-list summary{
  cursor:pointer;list-style:none;
  font-weight:700;font-size:1.0625rem;line-height:1.35;
  padding:18px 28px 18px 0;position:relative;
}
.faq-list summary::-webkit-details-marker{display:none}
.faq-list summary::after{
  content:"";position:absolute;right:0;top:50%;width:10px;height:10px;
  border-right:2px solid var(--purple-bright);border-bottom:2px solid var(--purple-bright);
  transform:translateY(-70%) rotate(45deg);transition:transform .15s ease;
}
.faq-list details[open] summary::after{transform:translateY(-30%) rotate(225deg)}
.faq-list details p{
  padding:0 8px 18px 0;font-size:.975rem;line-height:1.55;color:var(--text-80);
}
.faq-list summary:focus-visible{outline:2px solid var(--purple-bright);outline-offset:4px;border-radius:6px}

/* CTA + footer */
.cta-band{padding:0 0 0}
.cta-inner{
  position:relative;overflow:hidden;
  background:linear-gradient(180deg,transparent 0%,#4c1d95 18%,#5b21b6 48%,#7c3aed 100%);
  border-top:none;
  padding:64px 20px 56px;text-align:center;
}
.cta-inner h2{font-size:clamp(1.6rem,5vw,2.5rem);max-width:13em;margin-inline:auto}
.cta-inner .lede{margin-inline:auto;color:var(--lilac)}
.cta-inner .btn{margin-top:28px;background:#fff;color:#3b0764;box-shadow:0 12px 36px rgba(0,0,0,.25);border:none}
.cta-inner .btn:hover{filter:none;background:var(--lilac)}
.cta-handle{
  display:block;margin-top:16px;font-weight:700;font-size:1.125rem;
  color:#fff;text-decoration:none;
}
.cta-handle:hover{text-decoration:underline}
.cta-sub{display:block;margin-top:4px;font-size:.875rem;font-weight:500;color:var(--purple-wash)}

.site-footer{
  background:linear-gradient(180deg,#7c3aed 0%,#3b0764 24%,#3b0764 100%);
  padding:28px 0 32px;
  border-top:none;
}
.footer-inner{display:flex;flex-direction:column;align-items:center;gap:16px;text-align:center}
.site-footer .brand-logo{height:52px;width:auto;max-width:min(70vw,240px)}
.footer-meta{font-size:.8125rem;color:rgba(255,255,255,.78);line-height:1.5}
.footer-meta a{color:#fff;font-weight:600;text-decoration:none}
.footer-meta a:hover{text-decoration:underline}

/* Focus */
:focus-visible{outline:2px solid var(--purple-bright);outline-offset:3px}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{transition:none!important;animation:none!important}
}

/* Tablet */
@media (min-width:640px){
  :root{--wrap:min(1120px,calc(100% - 56px));--header-h:96px}
  .section{padding:88px 0}
  .brand-logo{height:80px;max-width:min(42vw,320px)}
  .site-footer .brand-logo{height:56px}
  .hero{padding:48px 0 80px}
  .hero-actions{flex-direction:row;align-items:center;flex-wrap:wrap}
  .hero-trio{grid-template-columns:repeat(3,1fr);gap:14px}
  .mini{flex-direction:column;text-align:center;padding:22px 16px}
  .compare{grid-template-columns:1fr 1fr;gap:18px}
  .feat-grid{grid-template-columns:1fr 1fr}
  .addon-grid{grid-template-columns:1fr 1fr}
  .why-grid{grid-template-columns:1fr 1fr}
  .steps{grid-template-columns:1fr 1fr}
  .cta-inner{padding:80px 32px 72px}
}

/* Desktop */
@media (min-width:1024px){
  :root{--wrap:min(1120px,calc(100% - 80px))}
  .section{padding:104px 0}
  .site-header{background:rgba(11,6,24,.9)}
  .nav-btn{display:none}
  .site-nav{
    position:static;inset:auto;background:none;padding:0;overflow:visible;
    visibility:visible;opacity:1;pointer-events:auto;
    height:auto;width:auto;
  }
  .site-nav ul{flex-direction:row;align-items:center;gap:2px}
  .site-nav a{padding:8px 9px;font-size:.875rem}
  .site-nav .btn{margin-top:0;margin-left:6px;padding:10px 16px;font-size:.8125rem}
  .hero{padding:56px 0 96px;min-height:calc(100svh - var(--header-h))}
  .hero .wrap{
    display:grid;grid-template-columns:1.15fr .85fr;gap:48px;align-items:center;
  }
  .hero-trio{margin-top:0;grid-template-columns:1fr;gap:14px}
  .bots{grid-template-columns:repeat(3,1fr);gap:18px}
  .bot{padding:28px 22px}
  .steps{grid-template-columns:repeat(4,1fr)}
  .step{flex-direction:column;gap:10px;padding:24px 20px;height:100%}
  .num{width:auto;text-align:left;font-size:2.25rem}
  .addon-grid{grid-template-columns:repeat(3,1fr)}
  .why-grid{grid-template-columns:repeat(3,1fr)}
  .footer-inner{flex-direction:row;justify-content:space-between;text-align:left}
  .feat.highlight{grid-column:1 / -1;justify-content:center}
}

@media (min-width:1200px){
  .hero h1{font-size:4.35rem}
}

/* v2 — full-screen intro, section snap, motion, dots */
.visually-hidden{
  position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;
  overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;
}

html{
  scroll-snap-type:y proximity;
  scroll-padding-top:0;
}
.snap-section{
  scroll-snap-align:start;
  scroll-snap-stop:always;
  scroll-margin-top:var(--header-h);
}
.intro.snap-section{scroll-margin-top:0}

.site-header{
  position:fixed;
  top:0;left:0;right:0;width:100%;
}



/* Intro splash — large wide wordmark, full viewport */
.intro{
  position:relative;
  isolation:isolate;
  min-height:100vh;
  min-height:100svh;
  min-height:100dvh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:clamp(16px,4vh,48px) clamp(16px,4vw,48px) 88px;
  overflow:hidden;
}
.intro-glow,.intro-glow2{position:absolute;pointer-events:none;z-index:0;border-radius:50%}
.intro-glow{
  width:min(900px,160vw);height:min(900px,160vw);
  right:-200px;top:-180px;
  background:radial-gradient(circle,rgba(168,85,247,.5) 0%,transparent 70%);
}
.intro-glow2{
  width:min(720px,150vw);height:min(720px,150vw);
  left:-220px;bottom:-160px;
  background:radial-gradient(circle,rgba(124,58,237,.34) 0%,transparent 70%);
}
.intro-frame{
  position:relative;
  z-index:1;
  width:min(92vw,1600px);
  max-height:78vh;
  max-height:78svh;
  max-height:78dvh;
  background:#fff;
  border-radius:clamp(16px,2.4vw,40px);
  padding:clamp(14px,3.2vw,56px) clamp(16px,4.5vw,80px);
  box-shadow:0 24px 80px rgba(168,85,247,.38),0 0 0 1px rgba(255,255,255,.4);
  display:flex;
  align-items:center;
  justify-content:center;
}
.intro-logo{
  width:100%;
  height:auto;
  max-height:68vh;
  max-height:68svh;
  max-height:68dvh;
  object-fit:contain;
  image-rendering:-webkit-optimize-contrast;
  image-rendering:auto;
}

.scroll-cue{
  position:absolute;
  z-index:2;
  left:50%;
  bottom:max(16px,env(safe-area-inset-bottom,0px));
  transform:translateX(-50%);
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:4px;
  color:var(--purple-soft);
  text-decoration:none;
  font-size:.72rem;
  font-weight:700;
  letter-spacing:.16em;
  text-transform:uppercase;
  padding:12px 16px 16px;
}
.scroll-cue:hover,.scroll-cue:focus-visible{color:#fff}
.scroll-cue-icon{width:28px;height:28px;animation:cue-bounce 1.7s ease-in-out infinite}

@keyframes cue-bounce{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(8px)}
}

/* Fill the viewport under the fixed header for regular sections */
.hero.snap-section,
.section.snap-section,
.snap-end{
  min-height:100vh;
  min-height:100svh;
  min-height:100dvh;
  min-height:calc(100vh - 0px);
}
.hero.snap-section{
  min-height:100vh;
  min-height:100svh;
  min-height:100dvh;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding-top:calc(var(--header-h) + 24px);
  padding-bottom:48px;
  box-sizing:border-box;
}
.section.snap-section{
  box-sizing:border-box;
  height:auto;
  padding-top:calc(var(--header-h) + 36px);
  padding-bottom:56px;
  display:flex;
  flex-direction:column;
  justify-content:center;justify-content:safe center;
}
.section.snap-section > .wrap{flex:0 0 auto;width:var(--wrap);max-width:100%;margin-inline:auto}
.snap-end{
  display:flex;
  flex-direction:column;
  justify-content:stretch;
  scroll-margin-top:0;
}
.snap-end .cta-band,
.snap-end .cta-inner{flex:1 1 auto;display:flex;flex-direction:column;justify-content:center;align-items:center}
.snap-end .cta-inner{min-height:0;padding-top:calc(var(--header-h) + 48px);width:100%;box-sizing:border-box}
.snap-end .cta-inner .btn{width:auto;max-width:100%}

/* Side dots — desktop */
.section-dots{
  display:none;
  position:fixed;
  right:18px;
  top:50%;
  transform:translateY(-50%);
  z-index:90;
  flex-direction:column;
  gap:12px;
  padding:10px 6px;
  border-radius:999px;
  background:rgba(11,6,24,.35);
  border:1px solid rgba(168,85,247,.28);
  backdrop-filter:blur(10px);
}
.section-dots a{
  width:10px;height:10px;
  border-radius:50%;
  border:2px solid var(--purple-bright);
  background:transparent;
  display:block;
  padding:0;
  transition:transform .2s ease,background .2s ease,box-shadow .2s ease;
}
.section-dots a:hover,
.section-dots a:focus-visible{
  background:var(--purple-soft);
  transform:scale(1.2);
}
.section-dots a.is-current{
  background:var(--purple-bright);
  transform:scale(1.35);
  box-shadow:0 0 0 4px rgba(168,85,247,.28);
}
@media (min-width:1024px){
  .section-dots{display:flex}
  .intro-frame{width:min(92vw,calc(100vw - 96px),1480px)}
  .snap-end .cta-inner{padding-left:72px;padding-right:72px}
}

/* Entrance animations — hidden only after JS adds .js-motion (no-JS stays visible) */
.reveal{
  opacity:0;
  transform:translateY(28px);
  transition:opacity .7s cubic-bezier(.22,1,.36,1),transform .7s cubic-bezier(.22,1,.36,1);
  transition-delay:var(--d,0s);
}
.js-motion .intro-frame{
  opacity:0;
  transform:scale(.96) translateY(16px);
  transition:opacity .8s cubic-bezier(.22,1,.36,1),transform .8s cubic-bezier(.22,1,.36,1);
}
.snap-section.is-active .reveal,
.js-motion .intro.is-active .intro-frame{
  opacity:1;
  transform:none;
}

@media (min-width:640px){
  .hero.snap-section{padding-top:calc(var(--header-h) + 32px);padding-bottom:64px}
  .section.snap-section{padding-top:calc(var(--header-h) + 48px);padding-bottom:72px}
}
@media (min-width:1024px){
  .hero.snap-section{padding-top:calc(var(--header-h) + 24px);padding-bottom:64px}
  .section.snap-section{padding-top:calc(var(--header-h) + 56px);padding-bottom:80px}
  /* existing desktop hero min-height override — keep snap fill */
  .hero{min-height:100vh;min-height:100svh;min-height:100dvh}
}

@media (max-width:639px){
  /* Relax vertical centering so tall blocks (features, FAQ) stay readable */
  .section.snap-section{justify-content:flex-start}
  .intro-frame{width:min(94vw,1600px);padding:clamp(10px,3vw,24px) clamp(10px,3.5vw,28px)}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-snap-type:none;scroll-behavior:auto}
  .reveal,.intro-frame,.scroll-cue-icon{
    opacity:1!important;transform:none!important;animation:none!important;transition:none!important;
  }
  .scroll-cue-icon{animation:none}
}


/* v2 colour shades + card polish (PhaseLink rhythm, HatchWorks cards) */
.snap-section,.hero,.section{background:transparent}
.section-dots{
  background:color-mix(in srgb,var(--page-bg) 55%,transparent);
  transition:background-color var(--bg-shift) ease,border-color .2s;
}

/* Soft card lift, HatchWorks-style dark tiles */
.bot,.why,.step,.feat,.addon,.mini,.row-card.good,.faq-list details{
  transition:transform .35s ease,border-color .35s ease,box-shadow .35s ease,background-color .35s ease;
}
.bot:hover,.why:hover,.step:hover,.addon:hover,.mini:hover{
  transform:translateY(-4px);
  border-color:var(--purple-bright);
  box-shadow:0 18px 40px rgba(88,28,135,.28);
}
.bot,.why,.step,.addon{
  background:rgba(28,16,48,.55);
}

@media (prefers-reduced-motion:reduce){
  html,body,.site-header,.section-dots{transition:none!important}
  .bot:hover,.why:hover,.step:hover,.addon:hover,.mini:hover{transform:none}
}

/* v3 — seamless page wash + constellation sketches */
main{position:relative;z-index:1}

.snap-section{
  position:relative;
  overflow:visible;
  background:transparent;
}
.hero.snap-section > .wrap,
.section.snap-section > .wrap,
.snap-end > .cta-band,
.snap-end > .site-footer{position:relative;z-index:1}

/* Large, central savanna line-sketches that swipe right-to-left */
.sky{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  pointer-events:none;
  z-index:0;
  overflow:visible;
  color:rgba(196,181,253,.22);
}
.sky-herd{
  width:62vw;
  max-width:1100px;
  will-change:transform;
  display:flex;
  align-items:center;
  justify-content:center;
}
.sky-animal{
  width:100%;
  height:auto;
  overflow:visible;
  display:block;
}
.sky-animal .sketch,
.sky-animal .trail{
  fill:none;
  stroke:currentColor;
  stroke-width:3.4;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.sky-animal .trail{
  stroke-width:2;
  opacity:.4;
}
.sky-animal .node{
  fill:currentColor;
  stroke:none;
}

/* Enter from the right, settle; leave continues off to the left */
html.js-motion .sky-herd{
  transform:translate3d(55%,0,0);
  opacity:0;
}
html.js-motion .snap-section.is-active .sky-herd{
  transform:translate3d(0,0,0);
  opacity:1;
  transition:transform 1.05s cubic-bezier(.22,1,.36,1),opacity .55s ease;
}
html.js-motion .snap-section.is-leaving .sky-herd{
  transform:translate3d(-55%,0,0);
  opacity:0;
  transition:transform .9s cubic-bezier(.4,0,.2,1),opacity .55s ease;
}
html.js-motion .sky-animal .sketch,
html.js-motion .sky-animal .trail{
  stroke-dasharray:1;
  stroke-dashoffset:1;
  transition:stroke-dashoffset 1.15s cubic-bezier(.22,1,.36,1) .06s;
}
html.js-motion .sky-animal .node{
  opacity:0;
  transition:opacity .5s ease .4s;
}
html.js-motion .snap-section.is-active .sky-animal .sketch,
html.js-motion .snap-section.is-active .sky-animal .trail{stroke-dashoffset:0}
html.js-motion .snap-section.is-active .sky-animal .node{opacity:1}
html.js-motion .snap-section.is-leaving .sky-animal .sketch,
html.js-motion .snap-section.is-leaving .sky-animal .trail{
  stroke-dashoffset:0;
  transition:none;
}
html.js-motion .snap-section.is-leaving .sky-animal .node{
  opacity:1;
  transition:opacity .4s ease;
}

/* Wide eagle */
.snap-end .sky{color:rgba(237,233,254,.22)}
.snap-end .cta-inner,
.snap-end .footer-inner{position:relative;z-index:2}

@media (max-width:899px){
  .sky{color:rgba(196,181,253,.12)}
  .sky-herd{width:86vw;max-width:none}
  #how .sky-herd{width:78vw}
  .sky-animal .sketch{stroke-width:4.2}
  .snap-end .sky{color:rgba(237,233,254,.16)}
}

@media (prefers-reduced-motion:reduce){
  html.js-motion .sky-herd{
    transform:none!important;
    opacity:1!important;
    transition:none!important;
  }
  html.js-motion .sky-animal .sketch,
  html.js-motion .sky-animal .trail{
    stroke-dashoffset:0!important;
    transition:none!important;
  }
  html.js-motion .sky-animal .node{
    opacity:1!important;
    transition:none!important;
  }
}

/* How-it-works diagram */
#how .how-diagram{
  display:block;
  width:100%;
  margin-top:28px;
  aspect-ratio:390/1880;
}
#how .how-diagram img{
  width:100%;
  height:100%;
  display:block;
  object-fit:contain;
  object-position:top center;
}
@media (min-width:900px){
  #how .how-diagram{
    margin-top:clamp(16px,3vh,32px);
    aspect-ratio:1600/650;
    width:min(100%, calc((100dvh - var(--header-h) - 11.5rem) * 1600 / 650));
    max-height:calc(100dvh - var(--header-h) - 11.5rem);
    margin-inline:auto;
  }
  #how .how-diagram img{
    width:100%!important;
    height:100%!important;
  }
}



/* Floating wordmark — soft shadow + muted purple glow */
.site-header,
.header-inner,
.brand{
  overflow:visible;
}
.brand-logo{
  filter:
    drop-shadow(0 10px 8px rgba(0,0,0,.42))
    drop-shadow(0 2px 14px rgba(124,58,237,.32));
  animation:logo-float 6s ease-in-out infinite;
  transform:translate3d(0,0,0);
}
.site-footer .brand-logo{
  filter:
    drop-shadow(0 8px 7px rgba(0,0,0,.4))
    drop-shadow(0 2px 12px rgba(124,58,237,.28));
}
@keyframes logo-float{
  0%,100%{transform:translate3d(0,0,0)}
  50%{transform:translate3d(0,-4px,0)}
}
@media (prefers-reduced-motion:reduce){
  .brand-logo,.site-footer .brand-logo{animation:none!important;transform:none}
}


/* Seamless header + CTA — no hard edge when swiping between sections */
.site-header,
.site-header.is-scrolled{
  border-bottom:none;
  box-shadow:none;
  background:color-mix(in srgb,var(--page-bg) 88%,transparent);
}
@media (min-width:1024px){
  .site-header,
  .site-header.is-scrolled{
    background:color-mix(in srgb,var(--page-bg) 88%,transparent);
  }
}

/* Let the constellation show on the last page; wash is one fade, no top hairline */
.snap-end::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  background:linear-gradient(180deg,transparent 0%,#4c1d95 20%,#5b21b6 48%,#7c3aed 76%,#3b0764 100%);
}
.cta-inner,
.site-footer{
  background:transparent;
  border-top:none;
}
.snap-end .sky{z-index:1}
.snap-end .cta-band,
.snap-end .site-footer{position:relative;z-index:2;background:transparent}

/* Crossing is a little longer so 2–4 motion cycles can be read */
html.js-motion .snap-section.is-active .sky-herd{
  transition:transform 1.65s cubic-bezier(.22,1,.36,1),opacity .55s ease;
}
html.js-motion .snap-section.is-leaving .sky-herd{
  transition:transform 1.2s cubic-bezier(.4,0,.2,1),opacity .55s ease;
}

/* Kangaroo is compact; keep it a bit smaller than the wide runners */
#how .sky-herd{width:56vw;max-width:920px}

/* Part groups — GPU transforms, pivots at group origin unless noted */
.sky-animal .an-root,
.sky-animal .an-bob,
.sky-animal .an-arc,
.sky-animal .an-hop,
.sky-animal .an-sway,
.sky-animal .an-wobble,
.sky-animal .an-fore,
.sky-animal .an-hind{
  transform-box:fill-box;
  transform-origin:center center;
  will-change:transform;
}
.sky-animal .an-limb,
.sky-animal .an-head-rot,
.sky-animal .an-tail-rot,
.sky-animal .an-wing-rot,
.sky-animal .an-fluke-rot,
.sky-animal .an-fin-rot,
.sky-animal .an-trunk-rot,
.sky-animal .an-ear-rot,
.sky-animal .an-seg-rot{
  transform-box:fill-box;
  transform-origin:0 0;
  will-change:transform;
}

/* ---- Horse: gallop, articulated legs, body bob ---- */
@keyframes horse-bob{0%,100%{transform:translate3d(0,0,0) rotate(0deg)}50%{transform:translate3d(0,-12px,0) rotate(-2.2deg)}}
@keyframes horse-leg-fl{0%{transform:rotate(28deg)}50%{transform:rotate(-32deg)}100%{transform:rotate(28deg)}}
@keyframes horse-leg-fr{0%{transform:rotate(-30deg)}50%{transform:rotate(26deg)}100%{transform:rotate(-30deg)}}
@keyframes horse-leg-hl{0%{transform:rotate(-24deg)}50%{transform:rotate(32deg)}100%{transform:rotate(-24deg)}}
@keyframes horse-leg-hr{0%{transform:rotate(30deg)}50%{transform:rotate(-26deg)}100%{transform:rotate(30deg)}}
@keyframes horse-head{0%,100%{transform:rotate(4deg)}50%{transform:rotate(-6deg)}}
@keyframes horse-tail{0%,100%{transform:rotate(8deg)}50%{transform:rotate(-16deg)}}
html.js-motion .snap-section.is-active .animal-horse .an-bob{animation:horse-bob .52s ease-in-out 3 both}
html.js-motion .snap-section.is-active .animal-horse .an-leg-fl .an-limb{animation:horse-leg-fl .52s ease-in-out 3 both}
html.js-motion .snap-section.is-active .animal-horse .an-leg-fr .an-limb{animation:horse-leg-fr .52s ease-in-out 3 both}
html.js-motion .snap-section.is-active .animal-horse .an-leg-hl .an-limb{animation:horse-leg-hl .52s ease-in-out 3 both}
html.js-motion .snap-section.is-active .animal-horse .an-leg-hr .an-limb{animation:horse-leg-hr .52s ease-in-out 3 both}
html.js-motion .snap-section.is-active .animal-horse .an-head-rot{animation:horse-head .52s ease-in-out 3 both}
html.js-motion .snap-section.is-active .animal-horse .an-tail-rot{animation:horse-tail .52s ease-in-out 3 both}
html.js-motion .snap-section.is-leaving .animal-horse .an-bob{animation:horse-bob .48s ease-in-out infinite}
html.js-motion .snap-section.is-leaving .animal-horse .an-leg-fl .an-limb{animation:horse-leg-fl .48s ease-in-out infinite}
html.js-motion .snap-section.is-leaving .animal-horse .an-leg-fr .an-limb{animation:horse-leg-fr .48s ease-in-out infinite}
html.js-motion .snap-section.is-leaving .animal-horse .an-leg-hl .an-limb{animation:horse-leg-hl .48s ease-in-out infinite}
html.js-motion .snap-section.is-leaving .animal-horse .an-leg-hr .an-limb{animation:horse-leg-hr .48s ease-in-out infinite}
html.js-motion .snap-section.is-leaving .animal-horse .an-head-rot{animation:horse-head .48s ease-in-out infinite}
html.js-motion .snap-section.is-leaving .animal-horse .an-tail-rot{animation:horse-tail .48s ease-in-out infinite}

/* ---- Gazelle: leaping jump arc ---- */
@keyframes gazelle-arc{
  0%{transform:translate3d(0,22px,0) rotate(-8deg)}
  16%{transform:translate3d(0,-48px,0) rotate(-2deg)}
  33%{transform:translate3d(0,16px,0) rotate(4deg)}
  50%{transform:translate3d(0,-48px,0) rotate(-2deg)}
  66%{transform:translate3d(0,16px,0) rotate(4deg)}
  82%{transform:translate3d(0,-48px,0) rotate(-2deg)}
  100%{transform:translate3d(0,0,0) rotate(0deg)}
}
@keyframes gazelle-hind{0%,33%,66%,100%{transform:rotate(18deg)}16%,50%,82%{transform:rotate(-28deg)}}
@keyframes gazelle-fore{0%,33%,66%,100%{transform:rotate(-20deg)}16%,50%,82%{transform:rotate(16deg)}}
@keyframes gazelle-tail{0%,33%,66%,100%{transform:rotate(10deg)}16%,50%,82%{transform:rotate(-14deg)}}
html.js-motion .snap-section.is-active .animal-gazelle .an-arc{animation:gazelle-arc 1.65s ease-in-out 1 both}
html.js-motion .snap-section.is-active .animal-gazelle .an-leg-hl .an-limb,
html.js-motion .snap-section.is-active .animal-gazelle .an-leg-hr .an-limb{animation:gazelle-hind 1.65s ease-in-out 1 both}
html.js-motion .snap-section.is-active .animal-gazelle .an-leg-fl .an-limb,
html.js-motion .snap-section.is-active .animal-gazelle .an-leg-fr .an-limb{animation:gazelle-fore 1.65s ease-in-out 1 both}
html.js-motion .snap-section.is-active .animal-gazelle .an-tail-rot{animation:gazelle-tail 1.65s ease-in-out 1 both}
html.js-motion .snap-section.is-leaving .animal-gazelle .an-arc{animation:gazelle-arc 1.2s ease-in-out 1 both}
html.js-motion .snap-section.is-leaving .animal-gazelle .an-leg-hl .an-limb,
html.js-motion .snap-section.is-leaving .animal-gazelle .an-leg-hr .an-limb{animation:gazelle-hind 1.2s ease-in-out 1 both}
html.js-motion .snap-section.is-leaving .animal-gazelle .an-leg-fl .an-limb,
html.js-motion .snap-section.is-leaving .animal-gazelle .an-leg-fr .an-limb{animation:gazelle-fore 1.2s ease-in-out 1 both}
html.js-motion .snap-section.is-leaving .animal-gazelle .an-tail-rot{animation:gazelle-tail 1.2s ease-in-out 1 both}

/* ---- Cheetah: stretch-and-gather run ---- */
@keyframes cheetah-bob{0%,100%{transform:translate3d(0,4px,0) scaleX(1)}50%{transform:translate3d(0,-8px,0) scaleX(1.05)}}
@keyframes cheetah-fore{0%,100%{transform:translate3d(0,0,0)}50%{transform:translate3d(-38px,0,0)}}
@keyframes cheetah-hind{0%,100%{transform:translate3d(0,0,0)}50%{transform:translate3d(38px,0,0)}}
@keyframes cheetah-leg-f{0%,100%{transform:rotate(-22deg)}50%{transform:rotate(16deg)}}
@keyframes cheetah-leg-h{0%,100%{transform:rotate(20deg)}50%{transform:rotate(-24deg)}}
@keyframes cheetah-tail{0%,100%{transform:rotate(8deg)}50%{transform:rotate(-14deg)}}
html.js-motion .snap-section.is-active .animal-cheetah .an-bob{animation:cheetah-bob .55s ease-in-out 3 both}
html.js-motion .snap-section.is-active .animal-cheetah .an-fore{animation:cheetah-fore .55s ease-in-out 3 both}
html.js-motion .snap-section.is-active .animal-cheetah .an-hind{animation:cheetah-hind .55s ease-in-out 3 both}
html.js-motion .snap-section.is-active .animal-cheetah .an-leg-fl .an-limb,
html.js-motion .snap-section.is-active .animal-cheetah .an-leg-fr .an-limb{animation:cheetah-leg-f .55s ease-in-out 3 both}
html.js-motion .snap-section.is-active .animal-cheetah .an-leg-hl .an-limb,
html.js-motion .snap-section.is-active .animal-cheetah .an-leg-hr .an-limb{animation:cheetah-leg-h .55s ease-in-out 3 both}
html.js-motion .snap-section.is-active .animal-cheetah .an-tail-rot{animation:cheetah-tail .55s ease-in-out 3 both}
html.js-motion .snap-section.is-leaving .animal-cheetah .an-bob{animation:cheetah-bob .5s ease-in-out infinite}
html.js-motion .snap-section.is-leaving .animal-cheetah .an-fore{animation:cheetah-fore .5s ease-in-out infinite}
html.js-motion .snap-section.is-leaving .animal-cheetah .an-hind{animation:cheetah-hind .5s ease-in-out infinite}
html.js-motion .snap-section.is-leaving .animal-cheetah .an-leg-fl .an-limb,
html.js-motion .snap-section.is-leaving .animal-cheetah .an-leg-fr .an-limb{animation:cheetah-leg-f .5s ease-in-out infinite}
html.js-motion .snap-section.is-leaving .animal-cheetah .an-leg-hl .an-limb,
html.js-motion .snap-section.is-leaving .animal-cheetah .an-leg-hr .an-limb{animation:cheetah-leg-h .5s ease-in-out infinite}
html.js-motion .snap-section.is-leaving .animal-cheetah .an-tail-rot{animation:cheetah-tail .5s ease-in-out infinite}

/* ---- Kangaroo: hop arc ---- */
@keyframes kangaroo-hop{
  0%,32%,64%,100%{transform:translate3d(0,14px,0) rotate(4deg)}
  16%,48%,80%{transform:translate3d(0,-52px,0) rotate(-8deg)}
}
@keyframes kangaroo-legs{0%,32%,64%,100%{transform:rotate(12deg)}16%,48%,80%{transform:rotate(-28deg)}}
@keyframes kangaroo-tail{0%,32%,64%,100%{transform:rotate(10deg)}16%,48%,80%{transform:rotate(-12deg)}}
@keyframes kangaroo-arm{0%,32%,64%,100%{transform:rotate(8deg)}16%,48%,80%{transform:rotate(-16deg)}}
html.js-motion .snap-section.is-active .animal-kangaroo .an-hop{animation:kangaroo-hop 1.65s ease-in-out 1 both}
html.js-motion .snap-section.is-active .animal-kangaroo .an-leg .an-limb{animation:kangaroo-legs 1.65s ease-in-out 1 both}
html.js-motion .snap-section.is-active .animal-kangaroo .an-tail-rot{animation:kangaroo-tail 1.65s ease-in-out 1 both}
html.js-motion .snap-section.is-active .animal-kangaroo .an-arm .an-limb{animation:kangaroo-arm 1.65s ease-in-out 1 both}
html.js-motion .snap-section.is-leaving .animal-kangaroo .an-hop{animation:kangaroo-hop 1.2s ease-in-out 1 both}
html.js-motion .snap-section.is-leaving .animal-kangaroo .an-leg .an-limb{animation:kangaroo-legs 1.2s ease-in-out 1 both}
html.js-motion .snap-section.is-leaving .animal-kangaroo .an-tail-rot{animation:kangaroo-tail 1.2s ease-in-out 1 both}
html.js-motion .snap-section.is-leaving .animal-kangaroo .an-arm .an-limb{animation:kangaroo-arm 1.2s ease-in-out 1 both}

/* ---- Crab: sideways scuttle, leg ticks, claws ---- */
@keyframes crab-wobble{0%,100%{transform:translate3d(0,0,0) rotate(0deg)}25%{transform:translate3d(0,-6px,0) rotate(-4deg)}75%{transform:translate3d(0,-4px,0) rotate(4deg)}}
@keyframes crab-leg{0%,100%{transform:rotate(12deg)}50%{transform:rotate(-16deg)}}
@keyframes crab-leg-rev{0%,100%{transform:rotate(-12deg)}50%{transform:rotate(16deg)}}
@keyframes crab-claw-l{0%,100%{transform:rotate(0deg)}50%{transform:rotate(-14deg)}}
@keyframes crab-claw-r{0%,100%{transform:rotate(0deg)}50%{transform:rotate(14deg)}}
@keyframes crab-eye{0%,100%{transform:rotate(-6deg)}50%{transform:rotate(8deg)}}
html.js-motion .snap-section.is-active .animal-crab .an-wobble{animation:crab-wobble .4s ease-in-out 4 both}
html.js-motion .snap-section.is-active .animal-crab .an-leg-l1 .an-limb,
html.js-motion .snap-section.is-active .animal-crab .an-leg-l3 .an-limb,
html.js-motion .snap-section.is-active .animal-crab .an-leg-r2 .an-limb,
html.js-motion .snap-section.is-active .animal-crab .an-leg-r4 .an-limb{animation:crab-leg .4s ease-in-out 4 both}
html.js-motion .snap-section.is-active .animal-crab .an-leg-l2 .an-limb,
html.js-motion .snap-section.is-active .animal-crab .an-leg-l4 .an-limb,
html.js-motion .snap-section.is-active .animal-crab .an-leg-r1 .an-limb,
html.js-motion .snap-section.is-active .animal-crab .an-leg-r3 .an-limb{animation:crab-leg-rev .4s ease-in-out 4 both}
html.js-motion .snap-section.is-active .animal-crab .an-claw-l .an-limb{animation:crab-claw-l .4s ease-in-out 4 both}
html.js-motion .snap-section.is-active .animal-crab .an-claw-r .an-limb{animation:crab-claw-r .4s ease-in-out 4 both}
html.js-motion .snap-section.is-active .animal-crab .an-eye .an-limb{animation:crab-eye .4s ease-in-out 4 both}
html.js-motion .snap-section.is-leaving .animal-crab .an-wobble{animation:crab-wobble .36s ease-in-out infinite}
html.js-motion .snap-section.is-leaving .animal-crab .an-leg-l1 .an-limb,
html.js-motion .snap-section.is-leaving .animal-crab .an-leg-l3 .an-limb,
html.js-motion .snap-section.is-leaving .animal-crab .an-leg-r2 .an-limb,
html.js-motion .snap-section.is-leaving .animal-crab .an-leg-r4 .an-limb{animation:crab-leg .36s ease-in-out infinite}
html.js-motion .snap-section.is-leaving .animal-crab .an-leg-l2 .an-limb,
html.js-motion .snap-section.is-leaving .animal-crab .an-leg-l4 .an-limb,
html.js-motion .snap-section.is-leaving .animal-crab .an-leg-r1 .an-limb,
html.js-motion .snap-section.is-leaving .animal-crab .an-leg-r3 .an-limb{animation:crab-leg-rev .36s ease-in-out infinite}
html.js-motion .snap-section.is-leaving .animal-crab .an-claw-l .an-limb{animation:crab-claw-l .36s ease-in-out infinite}
html.js-motion .snap-section.is-leaving .animal-crab .an-claw-r .an-limb{animation:crab-claw-r .36s ease-in-out infinite}
html.js-motion .snap-section.is-leaving .animal-crab .an-eye .an-limb{animation:crab-eye .36s ease-in-out infinite}

/* ---- Elephant: slow walk, sway, trunk swing ---- */
@keyframes elephant-sway{0%,100%{transform:translate3d(0,0,0) rotate(0deg)}50%{transform:translate3d(0,-6px,0) rotate(-1.6deg)}}
@keyframes elephant-trunk{0%,100%{transform:rotate(10deg)}50%{transform:rotate(-16deg)}}
@keyframes elephant-ear{0%,100%{transform:rotate(-6deg)}50%{transform:rotate(12deg)}}
@keyframes elephant-leg-a{0%,100%{transform:rotate(8deg)}50%{transform:rotate(-8deg)}}
@keyframes elephant-leg-b{0%,100%{transform:rotate(-8deg)}50%{transform:rotate(8deg)}}
@keyframes elephant-tail{0%,100%{transform:rotate(8deg)}50%{transform:rotate(-12deg)}}
html.js-motion .snap-section.is-active .animal-elephant .an-sway{animation:elephant-sway .7s ease-in-out 2 both}
html.js-motion .snap-section.is-active .animal-elephant .an-trunk-rot{animation:elephant-trunk .7s ease-in-out 2 both}
html.js-motion .snap-section.is-active .animal-elephant .an-ear-rot{animation:elephant-ear .7s ease-in-out 2 both}
html.js-motion .snap-section.is-active .animal-elephant .an-leg-fl .an-limb,
html.js-motion .snap-section.is-active .animal-elephant .an-leg-hr .an-limb{animation:elephant-leg-a .7s ease-in-out 2 both}
html.js-motion .snap-section.is-active .animal-elephant .an-leg-fr .an-limb,
html.js-motion .snap-section.is-active .animal-elephant .an-leg-hl .an-limb{animation:elephant-leg-b .7s ease-in-out 2 both}
html.js-motion .snap-section.is-active .animal-elephant .an-tail-rot{animation:elephant-tail .7s ease-in-out 2 both}
html.js-motion .snap-section.is-leaving .animal-elephant .an-sway{animation:elephant-sway .65s ease-in-out infinite}
html.js-motion .snap-section.is-leaving .animal-elephant .an-trunk-rot{animation:elephant-trunk .65s ease-in-out infinite}
html.js-motion .snap-section.is-leaving .animal-elephant .an-ear-rot{animation:elephant-ear .65s ease-in-out infinite}
html.js-motion .snap-section.is-leaving .animal-elephant .an-leg-fl .an-limb,
html.js-motion .snap-section.is-leaving .animal-elephant .an-leg-hr .an-limb{animation:elephant-leg-a .65s ease-in-out infinite}
html.js-motion .snap-section.is-leaving .animal-elephant .an-leg-fr .an-limb,
html.js-motion .snap-section.is-leaving .animal-elephant .an-leg-hl .an-limb{animation:elephant-leg-b .65s ease-in-out infinite}
html.js-motion .snap-section.is-leaving .animal-elephant .an-tail-rot{animation:elephant-tail .65s ease-in-out infinite}

/* ---- Whale: body-wave swim ---- */
@keyframes whale-bob{0%,100%{transform:translate3d(0,8px,0)}50%{transform:translate3d(0,-10px,0)}}
@keyframes whale-head{0%,100%{transform:rotate(6deg)}50%{transform:rotate(-6deg)}}
@keyframes whale-mid{0%,100%{transform:rotate(-3deg)}50%{transform:rotate(4deg)}}
@keyframes whale-tail{0%,100%{transform:rotate(-8deg)}50%{transform:rotate(10deg)}}
@keyframes whale-fluke{0%,100%{transform:rotate(16deg)}50%{transform:rotate(-18deg)}}
html.js-motion .snap-section.is-active .animal-whale .an-root{animation:whale-bob .7s ease-in-out 2 both}
html.js-motion .snap-section.is-active .animal-whale .an-head .an-seg-rot{animation:whale-head .7s ease-in-out 2 both}
html.js-motion .snap-section.is-active .animal-whale .an-mid .an-seg-rot{animation:whale-mid .7s ease-in-out 2 both}
html.js-motion .snap-section.is-active .animal-whale .an-tail .an-seg-rot{animation:whale-tail .7s ease-in-out 2 both}
html.js-motion .snap-section.is-active .animal-whale .an-fluke-rot{animation:whale-fluke .7s ease-in-out 2 both}
html.js-motion .snap-section.is-leaving .animal-whale .an-root{animation:whale-bob .6s ease-in-out infinite}
html.js-motion .snap-section.is-leaving .animal-whale .an-head .an-seg-rot{animation:whale-head .6s ease-in-out infinite}
html.js-motion .snap-section.is-leaving .animal-whale .an-mid .an-seg-rot{animation:whale-mid .6s ease-in-out infinite}
html.js-motion .snap-section.is-leaving .animal-whale .an-tail .an-seg-rot{animation:whale-tail .6s ease-in-out infinite}
html.js-motion .snap-section.is-leaving .animal-whale .an-fluke-rot{animation:whale-fluke .6s ease-in-out infinite}

/* ---- Fish: faster body wave + fin ---- */
@keyframes fish-bob{0%,100%{transform:translate3d(0,6px,0)}50%{transform:translate3d(0,-8px,0)}}
@keyframes fish-head{0%,100%{transform:rotate(8deg)}50%{transform:rotate(-8deg)}}
@keyframes fish-mid{0%,100%{transform:rotate(-5deg)}50%{transform:rotate(6deg)}}
@keyframes fish-tail{0%,100%{transform:rotate(-12deg)}50%{transform:rotate(14deg)}}
@keyframes fish-fluke{0%,100%{transform:rotate(18deg)}50%{transform:rotate(-20deg)}}
@keyframes fish-fin{0%,100%{transform:rotate(8deg)}50%{transform:rotate(-16deg)}}
html.js-motion .snap-section.is-active .animal-fish .an-root{animation:fish-bob .5s ease-in-out 3 both}
html.js-motion .snap-section.is-active .animal-fish .an-head .an-seg-rot{animation:fish-head .5s ease-in-out 3 both}
html.js-motion .snap-section.is-active .animal-fish .an-mid .an-seg-rot{animation:fish-mid .5s ease-in-out 3 both}
html.js-motion .snap-section.is-active .animal-fish .an-tail .an-seg-rot{animation:fish-tail .5s ease-in-out 3 both}
html.js-motion .snap-section.is-active .animal-fish .an-fluke-rot{animation:fish-fluke .5s ease-in-out 3 both}
html.js-motion .snap-section.is-active .animal-fish .an-fin-rot{animation:fish-fin .5s ease-in-out 3 both}
html.js-motion .snap-section.is-leaving .animal-fish .an-root{animation:fish-bob .45s ease-in-out infinite}
html.js-motion .snap-section.is-leaving .animal-fish .an-head .an-seg-rot{animation:fish-head .45s ease-in-out infinite}
html.js-motion .snap-section.is-leaving .animal-fish .an-mid .an-seg-rot{animation:fish-mid .45s ease-in-out infinite}
html.js-motion .snap-section.is-leaving .animal-fish .an-tail .an-seg-rot{animation:fish-tail .45s ease-in-out infinite}
html.js-motion .snap-section.is-leaving .animal-fish .an-fluke-rot{animation:fish-fluke .45s ease-in-out infinite}
html.js-motion .snap-section.is-leaving .animal-fish .an-fin-rot{animation:fish-fin .45s ease-in-out infinite}

/* ---- Bird: flapping wings + flying arc ---- */
@keyframes bird-arc{
  0%{transform:translate3d(0,18px,0) rotate(6deg)}
  25%{transform:translate3d(0,-28px,0) rotate(-2deg)}
  50%{transform:translate3d(0,8px,0) rotate(4deg)}
  75%{transform:translate3d(0,-24px,0) rotate(-3deg)}
  100%{transform:translate3d(0,0,0) rotate(0deg)}
}
@keyframes bird-wing-l{0%,100%{transform:rotate(18deg)}50%{transform:rotate(-32deg)}}
@keyframes bird-wing-r{0%,100%{transform:rotate(16deg)}50%{transform:rotate(-28deg)}}
@keyframes bird-tail{0%,100%{transform:rotate(6deg)}50%{transform:rotate(-8deg)}}
@keyframes bird-head{0%,100%{transform:rotate(3deg)}50%{transform:rotate(-5deg)}}
html.js-motion .snap-section.is-active .animal-bird .an-arc{animation:bird-arc 1.65s ease-in-out 1 both}
html.js-motion .snap-section.is-active .animal-bird .an-wing-l .an-wing-rot{animation:bird-wing-l .4s ease-in-out 4 both}
html.js-motion .snap-section.is-active .animal-bird .an-wing-r .an-wing-rot{animation:bird-wing-r .4s ease-in-out 4 both}
html.js-motion .snap-section.is-active .animal-bird .an-tail-rot{animation:bird-tail .4s ease-in-out 4 both}
html.js-motion .snap-section.is-active .animal-bird .an-head-rot{animation:bird-head .4s ease-in-out 4 both}
html.js-motion .snap-section.is-leaving .animal-bird .an-arc{animation:bird-arc 1.2s ease-in-out 1 both}
html.js-motion .snap-section.is-leaving .animal-bird .an-wing-l .an-wing-rot{animation:bird-wing-l .36s ease-in-out infinite}
html.js-motion .snap-section.is-leaving .animal-bird .an-wing-r .an-wing-rot{animation:bird-wing-r .36s ease-in-out infinite}
html.js-motion .snap-section.is-leaving .animal-bird .an-tail-rot{animation:bird-tail .36s ease-in-out infinite}
html.js-motion .snap-section.is-leaving .animal-bird .an-head-rot{animation:bird-head .36s ease-in-out infinite}

@media (prefers-reduced-motion:reduce){
  html.js-motion .sky-animal .an-root,
  html.js-motion .sky-animal .an-bob,
  html.js-motion .sky-animal .an-arc,
  html.js-motion .sky-animal .an-hop,
  html.js-motion .sky-animal .an-sway,
  html.js-motion .sky-animal .an-wobble,
  html.js-motion .sky-animal .an-fore,
  html.js-motion .sky-animal .an-hind,
  html.js-motion .sky-animal .an-limb,
  html.js-motion .sky-animal .an-head-rot,
  html.js-motion .sky-animal .an-tail-rot,
  html.js-motion .sky-animal .an-wing-rot,
  html.js-motion .sky-animal .an-fluke-rot,
  html.js-motion .sky-animal .an-fin-rot,
  html.js-motion .sky-animal .an-trunk-rot,
  html.js-motion .sky-animal .an-ear-rot,
  html.js-motion .sky-animal .an-seg-rot{
    animation:none!important;
    transform:none!important;
  }
}

/* =====================================================================
   Real example — native glass board (background and animal show through)
   ===================================================================== */
#real-example .headline{max-width:22ch}
#real-example .ex-board{
  position:relative;
  flex:1 1 auto;
  min-height:0;
  width:100%;
  margin-top:12px;
  z-index:2;
}
#real-example .ex-links{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  max-width:none;
  display:block;
  z-index:4;
  pointer-events:none;
  overflow:visible;
}
#real-example .ex-links path{
  fill:none;
  stroke:rgba(216,180,254,.55);
  stroke-width:1.25;
}
#real-example .ex-links .start{fill:rgba(216,180,254,.75);stroke:none}
#real-example .ex-links .end{fill:none;stroke:rgba(216,180,254,.7);stroke-width:1.25}

.ex-ic{
  width:14px;
  height:14px;
  max-width:none;
  flex-shrink:0;
  stroke:currentColor;
  fill:none;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.ex-ph-ig .ex-ic{width:16px;height:16px}

.ex-phone,
.ex-cont,
.ex-rec,
.ex-team,
.ex-callout,
.ex-subcard{
  background:rgba(255,255,255,.08);
  -webkit-backdrop-filter:blur(16px) saturate(1.2);
  backdrop-filter:blur(16px) saturate(1.2);
  border:1px solid rgba(216,180,254,.28);
  border-radius:14px;
  color:#fff;
}
.ex-subcard{
  background:rgba(255,255,255,.06);
  padding:8px 9px;
}
.ex-phone,
.ex-cont,
.ex-rec,
.ex-team{padding:10px;display:flex;flex-direction:column;min-height:0;overflow:hidden}
.ex-callout{
  display:flex;
  align-items:flex-start;
  gap:6px;
  font-size:10.5px;
  font-weight:600;
  line-height:1.3;
  padding:7px 8px;
  color:#f3e8ff;
  z-index:5;
}
.ex-ci{display:flex;color:var(--purple-bright);flex-shrink:0;margin-top:1px}
html.js-motion #real-example:not(.is-active) .ex-callout{
  opacity:0;
  transform:translate3d(0,6px,0);
}
html.js-motion #real-example.is-active .ex-callout{
  opacity:1;
  transform:none;
  transition:opacity .5s ease .18s,transform .5s ease .18s;
}

.ex-blurav{
  width:26px;height:26px;border-radius:50%;flex-shrink:0;
  background:linear-gradient(135deg,rgba(255,255,255,.28),rgba(168,85,247,.4));
  filter:blur(3.5px);
}
.ex-blurav.ex-lg{width:32px;height:32px}
.ex-blurname{
  display:inline-block;
  height:11px;
  border-radius:6px;
  background:rgba(255,255,255,.38);
  filter:blur(3px);
  vertical-align:middle;
}
.ex-ph-head,.ex-rec-top,.ex-team-h{
  display:flex;align-items:center;gap:8px;margin-bottom:8px;flex-shrink:0;
}
.ex-ph-ig{margin-left:auto;color:var(--purple-soft);opacity:.85}
.ex-ph-name{font-size:12px;font-weight:700;line-height:1.2}
.ex-ph-meta,.ex-rec-sub{font-size:10px;color:var(--text-70);font-weight:500}
.ex-rec-name{font-size:13px;font-weight:700}
.ex-ph-body,.ex-cont,.ex-msgs{display:flex;flex-direction:column;gap:6px;min-height:0}
.ex-cm,.ex-st{
  font-size:11px;
  line-height:1.35;
  padding:6px 8px;
  max-width:100%;
}
.ex-cm{
  background:rgba(255,255,255,.14);
  color:#fff;
  border-radius:12px 12px 12px 4px;
  align-self:flex-start;
}
.ex-st{
  background:linear-gradient(135deg,rgba(124,58,237,.78),rgba(99,102,241,.66));
  color:#fff;
  border-radius:12px 12px 4px 12px;
  align-self:flex-end;
}
.ex-cmrow{display:flex;align-items:flex-end;gap:6px}
.ex-cmrow .ex-cm{flex:1;min-width:0}
.ex-chip{
  align-self:center;
  font-size:9.5px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--purple-soft);
  background:rgba(168,85,247,.18);
  border-radius:999px;
  padding:2px 8px;
}
.ex-colhead{
  font-size:10.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;
  color:var(--purple-soft);display:flex;align-items:center;gap:6px;margin-bottom:2px;
}
.ex-live{width:7px;height:7px;border-radius:50%;background:#4ade80;box-shadow:0 0 0 3px rgba(74,222,128,.2)}
.ex-imgtile{width:42%;max-width:140px;border-radius:10px;overflow:hidden;border:1px solid rgba(216,180,254,.22);background:rgba(255,255,255,.06)}
.ex-imgtile.ex-right{align-self:flex-end}
.ex-imgtile.ex-left{align-self:flex-start}
.ex-imgtile .ex-img{
  height:44px;
  background:
    repeating-linear-gradient(115deg,rgba(255,255,255,.08) 0 6px,rgba(124,58,237,.18) 6px 12px),
    radial-gradient(circle at 40% 40%,rgba(255,255,255,.25),transparent 55%);
  filter:blur(7px);
}
.ex-cap2{
  display:flex;align-items:center;gap:4px;
  font-size:9.5px;font-weight:600;color:var(--text-80);padding:3px 7px;
  background:rgba(11,6,24,.28);
}
.ex-ignote{font-size:10px;color:var(--text-70);font-weight:500;line-height:1.35}
.ex-tags{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:6px}
.ex-pilltag{
  font-size:9.5px;font-weight:700;letter-spacing:.04em;
  padding:2px 7px;border-radius:999px;
  background:rgba(168,85,247,.22);color:var(--lilac);border:1px solid rgba(216,180,254,.3);
}
.ex-lbl{font-size:9.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--purple-soft);margin-bottom:5px}
.ex-appt-title{font-weight:700;font-size:12.5px;margin-bottom:5px}
.ex-field,.ex-note{display:flex;align-items:flex-start;gap:5px;font-size:11px;font-weight:500}
.ex-row{display:flex;justify-content:space-between;align-items:center;margin-top:6px;font-size:11px}
.ex-paid{display:inline-flex;align-items:center;gap:4px;color:#86efac;font-weight:700}
.ex-muted{color:var(--text-70);font-weight:600}
.ex-ownerchk{display:flex;flex-direction:column;gap:5px}
.ex-who{font-size:9.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--purple-bright)}
.ex-who-r{color:var(--lilac);text-align:right}
.ex-ownerchk .ex-cm,.ex-ownerchk .ex-st{max-width:100%}
.ex-rec{gap:7px}
.ex-right{display:flex;flex-direction:column;gap:8px;min-height:0}
.ex-team{flex:1 1 auto}
.ex-team-t{font-size:12px;font-weight:700;line-height:1.2;flex:1}
.ex-bot-ic{
  width:22px;height:22px;border-radius:7px;flex-shrink:0;
  display:flex;align-items:center;justify-content:center;
  background:linear-gradient(135deg,#7c3aed,#6366f1);color:#fff;
}
.ex-bot-fi{background:linear-gradient(135deg,#0f766e,#14b8a6)}
.ex-bot-su{background:linear-gradient(135deg,#b45309,#f59e0b)}
.ex-pill{font-size:9.5px;font-weight:700;letter-spacing:.04em;padding:2px 7px;border-radius:999px;white-space:nowrap}
.ex-pill-g{background:rgba(74,222,128,.18);color:#86efac;border:1px solid rgba(74,222,128,.3)}
.ex-pill-y{background:rgba(251,191,36,.16);color:#fde68a;border:1px solid rgba(251,191,36,.32)}
.ex-txn{display:flex;align-items:center;gap:6px;font-size:11px;font-weight:500;margin-top:8px}
.ex-amt{margin-left:auto;font-weight:700;color:#f3e8ff}
.ex-summary{
  background:rgba(251,191,36,.1);
  border-color:rgba(251,191,36,.28);
}
.ex-rep{display:flex;flex-direction:column;gap:5px;margin-top:6px}
.ex-rep li{font-size:11px;font-weight:500;line-height:1.38;color:rgba(255,236,200,.92)}
.ex-tag{display:none}

@media (min-width:900px){
  #real-example.section.snap-section{
    height:calc(100dvh - var(--header-h));
    min-height:calc(100dvh - var(--header-h));
    scroll-margin-top:var(--header-h);
    padding-top:20px;
    padding-bottom:22px;
    box-sizing:border-box;
  }
  #real-example.section.snap-section > .wrap{
    flex:1 1 auto;
    min-height:0;
    height:100%;
    display:flex;
    flex-direction:column;
    width:min(1280px,calc(100% - 72px));
  }
  #real-example .kicker{margin-bottom:6px}
  #real-example .headline{font-size:clamp(1.55rem,2.8vw,2.25rem)}
  #real-example .lede{margin-top:6px;margin-bottom:0;font-size:.95rem}
  #real-example .ex-board{
    display:grid;
    grid-template-columns:minmax(0,1.15fr) 118px minmax(0,1fr) minmax(0,1.02fr) 118px minmax(0,1.05fr);
    grid-template-rows:auto minmax(0,1fr);
    gap:8px 8px;
    margin-top:10px;
  }
  .ex-links{grid-column:1/-1;grid-row:1/-1}
  .ex-c1{grid-column:1;grid-row:1}
  .ex-c4{grid-column:4;grid-row:1}
  .ex-phone{grid-column:1;grid-row:2}
  .ex-gutter-a{grid-column:2;grid-row:2;position:relative}
  .ex-cont{grid-column:3;grid-row:2}
  .ex-rec{grid-column:4;grid-row:2}
  .ex-gutter-b{grid-column:5;grid-row:2;position:relative}
  .ex-right{grid-column:6;grid-row:2}
  .ex-gutter-a .ex-callout,
  .ex-gutter-b .ex-callout{position:absolute;left:0;width:100%}
  .ex-tag{display:none!important}
}

@media (max-width:899px){
  #real-example .ex-links,
  #real-example .ex-gutter-a,
  #real-example .ex-gutter-b,
  #real-example .ex-c1,
  #real-example .ex-c4{display:none!important}
  #real-example .ex-board{
    display:flex;
    flex-direction:column;
    gap:14px;
    height:auto;
    margin-top:16px;
  }
  .ex-right,.ex-rec{display:contents}
  .ex-phone,.ex-cont,.ex-subcard,.ex-team{overflow:visible}
  .ex-rec-top{display:flex;align-items:center;gap:8px;padding:4px 2px}
  .ex-tags{padding:0 2px}
  .ex-tag{
    display:inline-flex;
    align-items:center;
    gap:5px;
    font-size:10.5px;
    font-weight:600;
    color:#f3e8ff;
    background:rgba(168,85,247,.22);
    border:1px solid rgba(216,180,254,.3);
    border-radius:999px;
    padding:3px 8px;
    width:fit-content;
  }
  .ex-cm,.ex-st{font-size:13px;padding:8px 10px}
  .ex-imgtile .ex-img{height:56px}
}
@media (max-width:899px) and (prefers-reduced-motion:reduce){
  /* tags stay visible; no extra motion anyway */
}

/* =====================================================================
   Nav pills — graduated purple, DM button stays exactly as it is
   ===================================================================== */
.site-nav a:not(.btn){
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  color:#fff;
  font-weight:600;
  line-height:1.2;
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 4px 14px rgba(0,0,0,.18);
  transition:transform .15s ease,box-shadow .15s ease,filter .15s ease,background-color .15s ease;
  white-space:nowrap;
}
/* 7 steps, all below the DM gradient (#a855f7 → #7c3aed). Left = darkest. */
.site-nav li:nth-child(1) a:not(.btn){background:linear-gradient(135deg,#3f275c,#2a1840)}
.site-nav li:nth-child(2) a:not(.btn){background:linear-gradient(135deg,#4a2e6e,#32204c)}
.site-nav li:nth-child(3) a:not(.btn){background:linear-gradient(135deg,#563681,#3b2760)}
.site-nav li:nth-child(4) a:not(.btn){background:linear-gradient(135deg,#643e93,#463074)}
.site-nav li:nth-child(5) a:not(.btn){background:linear-gradient(135deg,#7246a6,#523888)}
.site-nav li:nth-child(6) a:not(.btn){background:linear-gradient(135deg,#8050b8,#5e409a)}
.site-nav li:nth-child(7) a:not(.btn){background:linear-gradient(135deg,#8e5cc8,#6a4aac)}
.site-nav a:not(.btn):hover,
.site-nav a:not(.btn):focus-visible{
  background:inherit; /* keep own step; do not jump to --card */
  color:#fff;
  transform:translateY(-1px);
  filter:brightness(1.08);
  box-shadow:0 8px 22px rgba(124,58,237,.38);
}
/* nth-child backgrounds need to win on hover — set each hover explicitly */
.site-nav li:nth-child(1) a:not(.btn):hover,.site-nav li:nth-child(1) a:not(.btn):focus-visible{background:linear-gradient(135deg,#3f275c,#2a1840)}
.site-nav li:nth-child(2) a:not(.btn):hover,.site-nav li:nth-child(2) a:not(.btn):focus-visible{background:linear-gradient(135deg,#4a2e6e,#32204c)}
.site-nav li:nth-child(3) a:not(.btn):hover,.site-nav li:nth-child(3) a:not(.btn):focus-visible{background:linear-gradient(135deg,#563681,#3b2760)}
.site-nav li:nth-child(4) a:not(.btn):hover,.site-nav li:nth-child(4) a:not(.btn):focus-visible{background:linear-gradient(135deg,#643e93,#463074)}
.site-nav li:nth-child(5) a:not(.btn):hover,.site-nav li:nth-child(5) a:not(.btn):focus-visible{background:linear-gradient(135deg,#7246a6,#523888)}
.site-nav li:nth-child(6) a:not(.btn):hover,.site-nav li:nth-child(6) a:not(.btn):focus-visible{background:linear-gradient(135deg,#8050b8,#5e409a)}
.site-nav li:nth-child(7) a:not(.btn):hover,.site-nav li:nth-child(7) a:not(.btn):focus-visible{background:linear-gradient(135deg,#8e5cc8,#6a4aac)}
.site-nav a:not(.btn).is-current{
  box-shadow:0 0 0 2px rgba(243,232,255,.42),0 8px 22px rgba(168,85,247,.32);
  filter:brightness(1.05);
}
.site-nav .btn{
  /* unchanged DM button — do not brighten */
}

@media (min-width:1024px){
  .site-nav ul{gap:6px}
  .site-nav a:not(.btn){padding:8px 12px;font-size:.8125rem}
  .site-nav .btn{margin-left:8px}
}
@media (min-width:1024px) and (max-width:1239px){
  .header-inner{gap:10px}
  .site-nav ul{gap:4px}
  .site-nav a:not(.btn){padding:6px 8px;font-size:.7rem}
  .site-nav .btn{margin-left:4px;padding:8px 12px;font-size:.75rem}
}
@media (max-width:1023px){
  .site-nav ul{gap:8px}
  .site-nav a:not(.btn){width:100%;padding:14px 16px;justify-content:flex-start}
}

/* =====================================================================
   Yard critters + hammer cursor
   ===================================================================== */
.critter-layer{
  position:fixed;
  inset:0;
  z-index:80;
  pointer-events:none;
  overflow:visible;
}
.critter{
  position:fixed;
  left:0;top:0;
  width:64px;
  height:52px;
  pointer-events:auto;
  touch-action:manipulation;
  user-select:none;
  -webkit-user-select:none;
  cursor:inherit;
  z-index:81;
  transform-origin:50% 100%;
  will-change:transform;
  color:rgba(236,220,255,.94);
  filter:drop-shadow(0 3px 2px rgba(0,0,0,.35));
}
.critter svg{width:100%;height:100%;overflow:visible;display:block;max-width:none}
.critter .sk{fill:none;stroke:currentColor;stroke-width:2.35;stroke-linecap:round;stroke-linejoin:round}
.critter .bd{fill:rgba(216,180,254,.16)}
.critter .nd{fill:currentColor;stroke:none}
.critter .eye{fill:#1a0b2e;stroke:none}
.critter.is-stunned .eye{display:none}
.critter .stun-eyes{display:none}
.critter.is-stunned .stun-eyes{display:block}
.critter .cr-leg{transform-box:fill-box;transform-origin:top center;will-change:transform}
.critter .cr-head{transform-box:fill-box;transform-origin:center bottom;will-change:transform}
.critter .cr-tail{transform-box:fill-box;transform-origin:left center;will-change:transform}
.critter .cr-wing{transform-box:fill-box;transform-origin:left center;will-change:transform}
.critter.is-walk .cr-leg-a{animation:cr-leg-a .32s ease-in-out infinite}
.critter.is-walk .cr-leg-b{animation:cr-leg-b .32s ease-in-out infinite}
.critter.is-walk .cr-tail{animation:cr-tail .32s ease-in-out infinite}
.critter.is-walk .cr-wing{animation:cr-wing .28s ease-in-out infinite}
.critter.is-look .cr-head{animation:cr-look .9s ease-in-out 1}
.critter.is-sit{transform-origin:50% 100%}
.critter.is-flee .cr-leg-a{animation:cr-leg-a .18s ease-in-out infinite}
.critter.is-flee .cr-leg-b{animation:cr-leg-b .18s ease-in-out infinite}
@keyframes cr-leg-a{0%,100%{transform:rotate(18deg)}50%{transform:rotate(-22deg)}}
@keyframes cr-leg-b{0%,100%{transform:rotate(-18deg)}50%{transform:rotate(22deg)}}
@keyframes cr-tail{0%,100%{transform:rotate(8deg)}50%{transform:rotate(-10deg)}}
@keyframes cr-wing{0%,100%{transform:rotate(8deg)}50%{transform:rotate(-16deg)}}
@keyframes cr-look{0%,100%{transform:rotate(0)}30%{transform:rotate(-18deg)}70%{transform:rotate(16deg)}}

.critter-stars{
  position:absolute;
  left:50%;
  top:-6px;
  width:36px;height:36px;
  margin-left:-18px;
  pointer-events:none;
  display:none;
}
.critter.is-stunned .critter-stars{display:block;animation:cr-orbit 1.1s linear infinite}
.critter-stars span{
  position:absolute;left:50%;top:50%;
  width:8px;height:8px;margin:-4px 0 0 -4px;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='%23fde68a' stroke='%23f59e0b' stroke-width='.6' d='M6 0.6l1.4 3.2 3.5.3-2.6 2.2.8 3.4L6 7.8 2.9 9.7l.8-3.4L1.1 4.1l3.5-.3z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.critter-stars span:nth-child(1){transform:rotate(0deg) translate(14px)}
.critter-stars span:nth-child(2){transform:rotate(72deg) translate(14px)}
.critter-stars span:nth-child(3){transform:rotate(144deg) translate(14px)}
.critter-stars span:nth-child(4){transform:rotate(216deg) translate(14px)}
.critter-stars span:nth-child(5){transform:rotate(288deg) translate(14px)}
@keyframes cr-orbit{to{transform:rotate(360deg)}}

.critter-puff{
  position:absolute;left:50%;bottom:4px;width:40px;height:24px;margin-left:-20px;
  pointer-events:none;display:none;
}
.critter.is-stunned .critter-puff{display:block}
.critter-puff i{
  position:absolute;left:50%;bottom:0;width:10px;height:2px;margin-left:-5px;
  background:rgba(253,230,138,.85);border-radius:1px;
  animation:cr-puff .45s ease-out both;
}
.critter-puff i:nth-child(1){transform:rotate(-40deg)}
.critter-puff i:nth-child(2){transform:rotate(-12deg);animation-delay:.04s}
.critter-puff i:nth-child(3){transform:rotate(12deg);animation-delay:.04s}
.critter-puff i:nth-child(4){transform:rotate(40deg)}
@keyframes cr-puff{0%{opacity:1;transform:var(--r,rotate(0)) scaleX(.4)}100%{opacity:0;transform:var(--r,rotate(0)) translateX(14px) scaleX(1)}}

.bonk-pop{
  position:fixed;
  z-index:90;
  pointer-events:none;
  font-weight:800;
  font-size:15px;
  letter-spacing:.02em;
  color:#fde68a;
  text-shadow:0 2px 8px rgba(0,0,0,.55),0 0 12px rgba(245,158,11,.45);
  animation:bonk-pop .7s ease-out forwards;
  white-space:nowrap;
}
@keyframes bonk-pop{
  0%{opacity:0;transform:translate(-50%,0) scale(.7)}
  18%{opacity:1;transform:translate(-50%,-10px) scale(1.12)}
  100%{opacity:0;transform:translate(-50%,-36px) scale(.95)}
}

.hammer-cursor{
  position:fixed;
  left:0;top:0;
  width:36px;height:36px;
  z-index:200;
  pointer-events:none;
  transform:translate(-4px,-6px);
  transform-origin:8px 10px;
  display:none;
  filter:drop-shadow(0 3px 3px rgba(0,0,0,.4));
}
html.hammer-on .hammer-cursor{display:block}
html.hammer-on,html.hammer-on body{cursor:none}
html.hammer-on a,html.hammer-on button,html.hammer-on input,html.hammer-on textarea,
html.hammer-on select,html.hammer-on label,html.hammer-on summary,html.hammer-on .btn,
html.hammer-on .nav-btn,html.hammer-on .site-nav a,html.hammer-on .section-dots a{
  cursor:auto;
}
html.hammer-swing .hammer-cursor{animation:hammer-swing .22s ease-out}
@keyframes hammer-swing{
  0%{transform:translate(-4px,-6px) rotate(0)}
  40%{transform:translate(-4px,-6px) rotate(-48deg)}
  100%{transform:translate(-4px,-6px) rotate(0)}
}

@media (max-width:699px){
  .critter{width:48px;height:40px}
}
@media (hover:none),(pointer:coarse){
  .hammer-cursor{display:none!important}
  html.hammer-on,html.hammer-on body{cursor:auto}
}

@media (prefers-reduced-motion:reduce){
  .critter-layer,.hammer-cursor,.bonk-pop{display:none!important}
  html.hammer-on,html.hammer-on body{cursor:auto}
}
