/* Site-wide public motion. Loaded on every public page. */
/* retired preview banner kept inert */
.preview-note{display:none;position:relative;z-index:200;background:#1a2210;color:#e8eadf;font:600 .82rem/1.4 "Inter",system-ui,sans-serif;text-align:center;padding:8px 16px;border-bottom:1px solid rgba(182,255,59,.35)}
.preview-note a{color:#b6ff3b}
body.shot .preview-note,body.shot .intro,body.shot .cursor{display:none}

/* Intro */
.intro{position:fixed;inset:0;z-index:300;display:grid;place-items:center;background:#0e0f0c;pointer-events:none}
.intro-inner{text-align:center}
.intro-mark{display:block;width:72px;height:6px;margin:0 auto 18px;background:#b6ff3b;border-radius:99px;box-shadow:0 0 24px rgba(182,255,59,.8);transform:scaleX(.2);opacity:0}
.intro-inner p{margin:0;font:700 .9rem/1 "WWW Wide","Archivo",system-ui,sans-serif;font-stretch:125%;letter-spacing:.18em;text-transform:uppercase;color:#f2f4ee}
body.intro-done .intro{display:none}

/* Custom cursor (desktop, full motion only) */
body.cursor-on,body.cursor-on *{cursor:none!important}
body.cursor-on input,body.cursor-on textarea,body.cursor-on select,body.cursor-on input *,body.cursor-on textarea *{cursor:text!important}
.cursor{position:fixed;left:0;top:0;width:14px;height:14px;margin:-7px 0 0 -7px;border-radius:50%;pointer-events:none;z-index:250;mix-blend-mode:difference;opacity:0}
.cursor b,.cursor i{position:absolute;inset:0;border-radius:50%;border:1.5px solid #b6ff3b}
.cursor i{inset:-14px;border-color:rgba(182,255,59,.45);transition:transform .25s ease}
.cursor.on i{transform:scale(1.7)}
body.cursor-on .cursor{opacity:1}

/* Header / footer — keep existing dark + lime brand, readable sticky nav */
body.site-motion .nav{transition:background .25s ease,box-shadow .25s ease,border-color .25s ease;background:rgba(14,15,12,.55);backdrop-filter:blur(18px) saturate(1.4);-webkit-backdrop-filter:blur(18px) saturate(1.4)}
body.site-motion .nav.is-scrolled{background:rgba(14,15,12,.92);border-bottom-color:rgba(182,255,59,.28);box-shadow:0 16px 36px -20px rgba(0,0,0,.8),0 1px 0 rgba(182,255,59,.16)}
body.site-motion .links a{position:relative;transition:color .2s ease}
body.site-motion .links a::after{content:"";position:absolute;left:0;right:100%;bottom:-6px;height:2px;background:#b6ff3b;box-shadow:0 0 8px rgba(182,255,59,.6);transition:right .22s ease}
body.site-motion .links a:hover::after,body.site-motion .links a[aria-current="page"]::after{right:0}
body.site-motion .brand{transition:transform .2s ease,filter .2s ease}
body.site-motion .brand:hover{filter:brightness(1.1)}
body.site-motion .foot{border-top:1px solid rgba(182,255,59,.22);background:radial-gradient(50% 80% at 8% 0%,rgba(182,255,59,.08),transparent 55%),#070806}
body.site-motion .foot-cols a{transition:color .2s ease,transform .2s ease}
body.site-motion .foot-cols a:hover{transform:translateX(3px)}

/* Section background shifts stay inside the dark + lime family */
body.site-motion{background:#0e0f0c;transition:background-color .5s ease}
body.site-motion.tone-a{background:#0e0f0c}
body.site-motion.tone-b{background:#121610}
body.site-motion.tone-c{background:#0a1208}
body.site-motion.tone-d{background:#141a10}
body.site-motion.tone-e{background:#0c100a}
body.site-motion.tone-b #services,
body.site-motion.tone-d #pricing{background:transparent}
body.site-motion.tone-c #how{background:linear-gradient(180deg,#0a1208,#0e160a)}
body.site-motion.tone-e #faq,body.site-motion.tone-e .next{background:transparent}

/* Cinematic hero — dark + lime, copy on the left, 3D on the right */
body.site-motion .hero{position:relative;min-height:100svh;display:flex;align-items:center;padding:84px 0 40px;background:#0e0f0c;overflow:hidden}
body.site-motion .hero-mesh,body.site-motion .hero-beams,body.site-motion .hero-grain,body.site-motion .hero-glow,body.site-motion .hero-bgword,body.site-motion .hero-3d{position:absolute;inset:0;pointer-events:none}
body.site-motion .hero-mesh{background:
  radial-gradient(50% 55% at 80% 20%,rgba(182,255,59,.22),transparent 58%),
  radial-gradient(35% 45% at 10% 90%,rgba(182,255,59,.1),transparent 55%),
  radial-gradient(20% 30% at 50% 40%,rgba(182,255,59,.06),transparent 60%);
  z-index:0}
body.site-motion .hero-glow{width:min(900px,80vw);height:min(900px,80vw);left:auto;right:-12%;top:-20%;inset:auto;border-radius:50%;
  background:radial-gradient(circle,rgba(182,255,59,.32) 0%,rgba(182,255,59,.08) 42%,transparent 68%);
  animation:pred-glow 7s ease-in-out infinite;z-index:0}
body.site-motion .hero-beams{background:conic-gradient(from 210deg at 78% 15%,transparent 0 6%,rgba(182,255,59,.09) 8%,transparent 12% 100%);
  animation:pred-beams 28s linear infinite;z-index:0;opacity:.85;
  -webkit-mask-image:radial-gradient(circle at 78% 15%,#000 0 30%,transparent 70%);
  mask-image:radial-gradient(circle at 78% 15%,#000 0 30%,transparent 70%)}
body.site-motion .hero-grain{z-index:2;opacity:.18;mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .7 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>")}
body.site-motion .hero-bgword{z-index:0;display:flex;align-items:center;justify-content:center;margin:0;font:700 22vw/0.8 "WWW Wide","Archivo",system-ui,sans-serif;font-stretch:125%;letter-spacing:-.06em;text-transform:uppercase;color:transparent;-webkit-text-stroke:1px rgba(182,255,59,.14);opacity:.9;user-select:none;white-space:nowrap;transform:translateY(8%)}
body.site-motion .hero-3d{z-index:2;inset:auto;right:0;top:10%;width:min(52vw,680px);height:80%}
body.site-motion .hero-3d canvas{display:block;width:100%;height:100%}

/* Fixed 3D stage: never intercepts clicks; sits under nav and under hero copy */
.stage-3d{display:none;position:fixed;inset:0;z-index:4;pointer-events:none}
body.site-motion.motion-full .stage-3d{display:block}
body.site-motion.motion-full .stage-3d canvas{display:block;width:100%;height:100%}
body.site-motion.motion-full .hero-3d{display:none}
body.site-motion.motion-full .hero .mock{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
body.site-motion .hero-in{position:relative;z-index:5}
body.site-motion .mapdeco{position:absolute;inset:0;width:100%;height:100%;z-index:1;pointer-events:none;opacity:.55}
body.site-motion .hero-copy{position:relative;z-index:6;max-width:34rem}
body.site-motion .hero-copy .kicker{display:inline-flex;flex-wrap:wrap;white-space:normal;max-width:100%;border-radius:16px;line-height:1.35}
body.site-motion .hero h1{font-size:clamp(2.15rem,4.8vw,4.15rem);letter-spacing:-.03em;margin-bottom:.35em}
/* Keep 3D off the reading column so the headline and See pricing stay clear */
body.site-motion.motion-full .stage-3d{
  -webkit-mask-image:linear-gradient(90deg,transparent 0 48%,#000 56%);
  mask-image:linear-gradient(90deg,transparent 0 48%,#000 56%);
}
body.site-motion .hero-copy [data-hero-line]{display:inline-block}
body.site-motion .hero-copy .ctas,body.site-motion .hero-copy .lead,body.site-motion .hero-copy .trust{position:relative;z-index:6}
@keyframes pred-glow{0%,100%{opacity:.65;transform:scale(1)}50%{opacity:1;transform:scale(1.12)}}
@keyframes pred-beams{to{transform:rotate(360deg)}}

/* Buttons, cards */
body.site-motion .btn{transition:transform .18s ease,box-shadow .18s ease,background .18s ease;will-change:transform}
body.site-motion .btn:active{transform:translateY(0) scale(.98)}
body.site-motion .scard,body.site-motion .tcard,body.site-motion .mock .pcard.after{
  transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;will-change:transform
}
body.site-motion .scard,body.site-motion .tcard{
  background:rgba(22,25,19,.72);backdrop-filter:blur(12px);border:1px solid rgba(182,255,59,.16)
}
body.site-motion .scard:hover,body.site-motion .tcard:hover{
  border-color:rgba(182,255,59,.5);
  box-shadow:0 24px 50px -24px rgba(182,255,59,.35),0 18px 40px -24px rgba(0,0,0,.8)
}
body.site-motion .next{background:radial-gradient(50% 80% at 90% 0%,rgba(182,255,59,.12),transparent 55%),#121410}

/* Services marquee + slogan band (existing homepage phrases only) */
.svc-marquee,.slogan-marquee{border-block:1px solid rgba(182,255,59,.2);overflow:hidden;padding:14px 0;position:relative}
.svc-marquee{background:linear-gradient(90deg,rgba(182,255,59,.04),rgba(182,255,59,.09),rgba(182,255,59,.04))}
.slogan-marquee{padding:22px 0;background:#0e0f0c;border-block-color:rgba(182,255,59,.35)}
.svc-marquee::before,.svc-marquee::after,.slogan-marquee::before,.slogan-marquee::after{content:"";position:absolute;top:0;bottom:0;width:80px;z-index:1;pointer-events:none}
.svc-marquee::before,.slogan-marquee::before{left:0;background:linear-gradient(90deg,#0e0f0c,transparent)}
.svc-marquee::after,.slogan-marquee::after{right:0;background:linear-gradient(-90deg,#0e0f0c,transparent)}
.svc-marquee-track,.slogan-marquee-track{display:flex;width:max-content;animation:pred-marquee 48s linear infinite}
.slogan-marquee-track{animation-duration:36s}
.svc-marquee ul,.slogan-marquee ul{display:flex;gap:36px;list-style:none;margin:0;padding:0 18px}
.svc-marquee li{display:flex;align-items:center;gap:12px;font:640 .78rem/1 var(--hf);font-stretch:125%;text-transform:uppercase;letter-spacing:.1em;white-space:nowrap;color:var(--text)}
.slogan-marquee li{display:flex;align-items:center;gap:18px;font:700 clamp(1.4rem,3.2vw,2.4rem)/1 "WWW Wide","Archivo",system-ui,sans-serif;font-stretch:125%;text-transform:uppercase;letter-spacing:-.03em;white-space:nowrap;color:#f2f4ee}
.svc-marquee li::before,.slogan-marquee li::before{content:"";width:7px;height:7px;border-radius:50%;background:#b6ff3b;box-shadow:0 0 10px rgba(182,255,59,.7);flex:none}
.slogan-marquee li::before{width:10px;height:10px}
.svc-marquee:hover .svc-marquee-track,.slogan-marquee:hover .slogan-marquee-track{animation-play-state:paused}
@keyframes pred-marquee{to{transform:translateX(-50%)}}

body.site-motion #how{position:relative}
body.site-motion #how .steps li{will-change:transform,opacity}

/* Mid desktop (1000–1280, including 1024 laptops): keep 3D, leave copy clear */
@media (min-width:900px) and (max-width:1280px){
  body.site-motion .hero{padding:72px 0 28px}
  body.site-motion .hero h1{font-size:clamp(2rem,3.6vw,3.15rem)}
  body.site-motion .hero-copy{max-width:28rem}
  body.site-motion.motion-full .stage-3d{
    -webkit-mask-image:linear-gradient(90deg,transparent 0 42%,#000 58%);
    mask-image:linear-gradient(90deg,transparent 0 42%,#000 58%);
  }
}
@media (min-width:900px) and (max-height:800px){
  body.site-motion .hero{min-height:0;padding:68px 0 20px}
  body.site-motion .hero h1{font-size:clamp(1.85rem,3.4vw,2.85rem);margin-bottom:.28em}
  body.site-motion .hero-copy .lead{margin-top:14px;font-size:1.05rem}
  body.site-motion .ctas{margin:18px 0 14px}
}
@media (min-width:900px) and (max-height:640px){
  body.site-motion .hero{min-height:0;padding:80px 0 8px}
  body.site-motion .hero-copy .kicker{margin-bottom:6px;padding:5px 12px}
  body.site-motion .hero h1{font-size:clamp(1.5rem,2.5vw,2.05rem);margin-bottom:.12em}
  body.site-motion .hero-copy .lead{margin-top:6px;font-size:.95rem;line-height:1.4}
  body.site-motion .ctas{margin:10px 0 0}
  body.site-motion .trust{display:none}
  body.site-motion .css-scene{transform:scale(.78);transform-origin:center right}
}
/* Override site.css max-width:1020 stacking so 900–1020 still gets the cinematic hero + 3D */
@media (min-width:900px){
  body.site-motion .hero-in{grid-template-columns:1.12fr .88fr;gap:36px}
  body.site-motion .hero-visual{position:relative;min-height:0;align-self:center}
  /* Every desktop visitor gets a 3D-looking hero: WebGL when it works, CSS 3D otherwise.
     Hide the old flat before/after cards at this width. */
  body.site-motion .hero .mock{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
  body.site-motion .css-stage{display:block}
  body.site-motion.motion-full .css-stage{display:none}
  body.site-motion.motion-full .stage-3d{display:block}
}
@media (max-width:899px){
  body.site-motion .hero{min-height:0;height:auto;padding:24px 0 128px;display:block;align-items:stretch}
  body.site-motion .hero-3d,body.site-motion.motion-lite .hero-3d,body.site-motion.motion-none .hero-3d{display:none}
  body.site-motion .hero-bgword{font-size:28vw}
  body.site-motion .css-stage{display:none}
  body.site-motion.motion-full .hero .mock{position:relative;width:auto;height:auto;clip:auto;overflow:visible}
  body.site-motion.motion-full .stage-3d{display:none}
  body.site-motion .links a::after{display:none}
  body.site-motion .hero-copy{max-width:none}
  body.site-motion .hero h1{font-size:clamp(2rem,9.5vw,3.1rem)}
  .slogan-marquee li{font-size:1.35rem}
}
@media (prefers-reduced-motion:reduce){
  body.site-motion .hero-glow,body.site-motion .hero-beams,.svc-marquee-track,.slogan-marquee-track{animation:none!important}
  .intro{display:none}
  .svc-marquee-track,.slogan-marquee-track{width:auto;flex-wrap:wrap}
  .svc-marquee ul[aria-hidden],.slogan-marquee ul[aria-hidden]{display:none}
  .svc-marquee ul,.slogan-marquee ul{flex-wrap:wrap;justify-content:center;row-gap:8px}
  body.site-motion .scard:hover,body.site-motion .tcard:hover,body.site-motion .btn:hover,body.site-motion .foot-cols a:hover{transform:none}
  body.site-motion .hero-3d,.stage-3d{display:none}
  body.site-motion .css-scene,body.site-motion .css-pin,body.site-motion .css-gem{animation:none!important}
}


/* Form / checkout pages: no intro overlay, no input motion, cursor stays usable */
body.page-form .intro{display:none}
body.page-form input,body.page-form textarea,body.page-form select,body.page-form button,
body.page-form input *,body.page-form textarea *,body.page-form select *{transform:none!important;cursor:auto}
body.page-form input,body.page-form textarea,body.page-form select{cursor:text}
body.site-motion form input,body.site-motion form textarea,body.site-motion form select{transition:none;transform:none!important}
body.site-motion .phead{position:relative;z-index:5}
body.site-motion .plan,body.site-motion .payc,body.site-motion .sgroup,body.site-motion .work-card,body.site-motion .fcard{
  transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease
}


/* CSS 3D listing card + lime pin — used when WebGL is missing, blocklisted,
   or prefers-reduced-motion. Desktop only (see min-width 900 rules above). */
.css-stage{display:none;position:relative;width:100%;min-height:420px;perspective:1200px;pointer-events:none;z-index:3}
.css-scene{position:relative;width:min(100%,380px);margin:0 0 0 auto;transform-style:preserve-3d;transform:rotateY(-16deg) rotateX(6deg);animation:css-float 5.5s ease-in-out infinite;transform-origin:center center}
.css-card{background:#161913;border:2px solid rgba(182,255,59,.55);border-radius:18px;padding:22px 20px 20px;box-shadow:0 28px 60px -24px rgba(0,0,0,.85),0 0 40px -12px rgba(182,255,59,.35);color:#e8eadf}
.css-card-tag{margin:0 0 16px;font:600 .68rem/1.3 Inter,system-ui,sans-serif;letter-spacing:.1em;text-transform:uppercase;color:#9aa292}
.css-card-h{display:flex;align-items:center;gap:12px;margin:0 0 18px}
.css-dot{width:36px;height:36px;border-radius:50%;background:#b6ff3b;box-shadow:0 0 16px rgba(182,255,59,.6);flex:none}
.css-card-h b{display:block;font-size:1.15rem;color:#f2f4ee}
.css-card-h small{color:#c8cdc0;font-size:.85rem}
.css-card ul{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.css-card li{display:flex;align-items:center;gap:8px;font-size:.92rem;font-weight:500;color:#e8eadf}
.css-card li .i{width:16px;height:16px;color:#b6ff3b}
.css-card-btns{display:flex;gap:8px;margin-top:18px}
.css-card-btns span{flex:1;text-align:center;padding:8px 4px;border-radius:8px;background:rgba(182,255,59,.12);color:#b6ff3b;font:700 .78rem/1 Inter,system-ui,sans-serif}
.css-pin{position:absolute;top:-70px;left:8%;width:36px;height:90px;z-index:2;transform:translateZ(40px);animation:css-pin 4.8s ease-in-out infinite;filter:drop-shadow(0 10px 12px rgba(0,0,0,.45))}
.css-pin .pin-head{display:block;width:36px;height:36px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#e8ff9a,#b6ff3b 45%,#6aa31a);box-shadow:0 0 18px rgba(182,255,59,.7)}
.css-pin .pin-head::after{content:"";display:block;width:12px;height:12px;margin:12px auto 0;border-radius:50%;background:#0e0f0c}
.css-pin .pin-tip{display:block;width:0;height:0;margin:-2px auto 0;border-left:13px solid transparent;border-right:13px solid transparent;border-top:54px solid #b6ff3b}
.css-gem{position:absolute;width:18px;height:18px;background:linear-gradient(135deg,#e8ff9a,#b6ff3b);clip-path:polygon(50% 0,100% 40%,80% 100%,20% 100%,0 40%);opacity:.85;animation:css-spin 8s linear infinite}
.css-gem.g1{top:18%;right:-8px;transform:translateZ(24px)}
.css-gem.g2{bottom:16%;left:-14px;width:14px;height:14px;animation-duration:11s}
@keyframes css-float{0%,100%{transform:rotateY(-16deg) rotateX(6deg) translateY(0)}50%{transform:rotateY(-16deg) rotateX(6deg) translateY(-10px)}}
@keyframes css-pin{0%,100%{transform:translateZ(40px) translateY(0) rotate(-6deg)}50%{transform:translateZ(40px) translateY(6px) rotate(4deg)}}
@keyframes css-spin{to{transform:rotate(360deg)}}

/* Distinct /work preview frames */
.concept-pewter-chair{background:#f3efe6;border-color:#c9b896}
.concept-pewter-chair h3,.concept-pewter-chair .concept-kind,.concept-pewter-chair p{color:#1a1714}
.concept-bramble-oven{background:#2c1c14;border-color:#c4452d}
.concept-bramble-oven h3{color:#fff8ef}
.concept-bramble-oven .concept-kind,.concept-bramble-oven p{color:#e8d2c0}
.concept-lanternwell{background:#10192a;border-color:#e0a106}
.concept-lanternwell h3{color:#f8f4ea}
.concept-lanternwell .concept-kind,.concept-lanternwell p{color:#c9d0da}
