/* ============================================================
   KINGZ DIGITALZ — single-file build — design tokens
   ============================================================ */
:root{
  --bg:        #0a0b09;
  --bg-alt:    #101208;
  --surface:   #151810;
  --surface-2: #1b1f14;
  --line:      #2a2e21;
  --line-soft: #1e2117;
  --lime:      #C6FF00;
  --lime-deep: #8BC400;
  --lime-dim:  rgba(198,255,0,.14);
  --text:      #F4F5EC;
  --text-dim:  #9AA089;
  --text-mute: #666b57;
  --display: 'Space Grotesk', sans-serif;
  --body:    'Inter', sans-serif;
  --mono:    'JetBrains Mono', monospace;
  --ease: cubic-bezier(.16,.84,.44,1);
}
*{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{background:var(--bg); color:var(--text); font-family:var(--body); overflow-x:clip; cursor:none;}
a{color:inherit; text-decoration:none;}
ul{list-style:none;}
button{font-family:inherit; cursor:none; border:none; background:none; color:inherit;}
@media (prefers-reduced-motion: reduce){
  *{animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; scroll-behavior:auto !important;}
}

/* background */
.bg-grid{position:fixed; inset:0; z-index:0; pointer-events:none;
  background-image:linear-gradient(var(--line-soft) 1px, transparent 1px), linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size:64px 64px; mask-image:radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 90%); opacity:.5;}
.bg-glow{position:fixed; z-index:0; pointer-events:none; border-radius:50%; filter:blur(120px); opacity:.22; background:var(--lime);}
.bg-glow.one{width:520px; height:520px; top:-180px; left:-120px;}
.bg-glow.two{width:420px; height:420px; bottom:-160px; right:-100px; opacity:.14;}

/* cursor */
.cursor-dot,.cursor-ring{position:fixed; top:0; left:0; pointer-events:none; z-index:9999; border-radius:50%; transform:translate(-50%,-50%); will-change:transform;}
.cursor-dot{width:6px; height:6px; background:var(--lime); transition:opacity .2s;}
.cursor-ring{width:34px; height:34px; border:1px solid rgba(198,255,0,.55); transition:width .25s var(--ease), height .25s var(--ease), border-color .25s, background .25s;}
.cursor-ring.hover{width:64px; height:64px; background:var(--lime-dim); border-color:var(--lime);}
@media (hover:none), (pointer:coarse){.cursor-dot,.cursor-ring{display:none;} body{cursor:auto;}}

/* layout */
.wrap{max-width:1180px; margin:0 auto; padding:0 32px; position:relative; z-index:1;}
section{position:relative; z-index:1;}

/* nav */
header.nav{position:sticky; top:0; z-index:100; transition:transform .35s var(--ease); will-change:transform; backdrop-filter:blur(14px); background:rgba(10,11,9,.72); border-bottom:1px solid var(--line);}
.nav-inner{max-width:1180px; margin:0 auto; padding:20px 32px; display:flex; align-items:center; justify-content:space-between;}
.logo{display:flex; align-items:center; gap:10px; font-family:var(--display); font-weight:700; font-size:1.15rem; letter-spacing:.02em;}
/* brand mark: ring, caret, dot and cursor, all in green */
.logo .mark{width:34px; height:34px; display:block; flex-shrink:0;}
.logo .mark svg{width:100%; height:100%; display:block; overflow:visible;}
.lm-ring{fill:none; stroke:var(--lime); stroke-width:4.2;}
.lm-disc{fill:rgba(198,255,0,.14); stroke:none;}
.lm-bar{fill:none; stroke:var(--lime); stroke-width:6.2; stroke-linecap:round;}
.lm-wedge{fill:var(--lime); opacity:.42;}
.lm-dot{fill:var(--lime);}
.lm-arrow{fill:var(--lime); stroke:var(--bg); stroke-width:1.6; stroke-linejoin:round;}
.logo:hover .lm-ring{stroke:var(--lime); filter:drop-shadow(0 0 5px rgba(198,255,0,.6));}
.logo span.k2{color:var(--lime);}
.nav-links{display:flex; gap:36px; align-items:center;}
.nav-links a{font-family:var(--mono); font-size:.82rem; text-transform:uppercase; letter-spacing:.08em; color:var(--text-dim); position:relative; padding:4px 0; transition:color .25s;}
.nav-links a::after{content:''; position:absolute; left:0; bottom:-2px; width:0; height:1px; background:var(--lime); transition:width .3s var(--ease);}
.nav-links a:hover, .nav-links a.active{color:var(--text);}
.nav-links a:hover::after, .nav-links a.active::after{width:100%;}
.nav-cta{font-family:var(--mono); font-size:.78rem; text-transform:uppercase; letter-spacing:.06em; padding:11px 20px; border:1px solid var(--lime); border-radius:100px; color:var(--lime); transition:background .25s, color .25s, transform .25s var(--ease);}
.nav-cta:hover{background:var(--lime); color:#0a0b09; transform:translateY(-2px);}
.nav-toggle{display:none;}
@media (max-width:860px){
  .nav-links{position:fixed; inset:0 0 0 auto; width:78%; max-width:340px; height:100vh; background:var(--bg-alt); border-left:1px solid var(--line); flex-direction:column; justify-content:center; align-items:flex-start; padding:40px; gap:28px; transform:translateX(100%); transition:transform .4s var(--ease);}
  .nav-links.open{transform:translateX(0);}
  .nav-toggle{display:flex; flex-direction:column; gap:5px; width:26px; z-index:200;}
  .nav-toggle span{height:2px; background:var(--text); width:100%; transition:.3s var(--ease);}
  .nav-toggle.open span:nth-child(1){transform:translateY(7px) rotate(45deg);}
  .nav-toggle.open span:nth-child(2){opacity:0;}
  .nav-toggle.open span:nth-child(3){transform:translateY(-7px) rotate(-45deg);}
}

/* type */
.eyebrow{font-family:var(--mono); font-size:.78rem; letter-spacing:.08em; text-transform:uppercase; color:var(--lime); display:flex; align-items:center; gap:10px; margin-bottom:18px;}
.eyebrow::before{content:''; width:8px; height:8px; border-radius:50%; background:var(--lime); box-shadow:0 0 12px var(--lime); animation:pulse 1.8s ease-in-out infinite;}
@keyframes pulse{0%,100%{opacity:1; transform:scale(1);} 50%{opacity:.4; transform:scale(.7);}}
h1,h2,h3{font-family:var(--display); font-weight:700; line-height:1.05; letter-spacing:-.01em;}
.h1{font-size:clamp(2.6rem,6vw,4.6rem);}
.h2{font-size:clamp(2rem,4vw,3rem); margin-bottom:16px;}
.h3{font-size:1.3rem;}
.lede{font-size:1.1rem; color:var(--text-dim); line-height:1.65; max-width:52ch;}
.section-pad{padding:120px 0;}
@media(max-width:768px){.section-pad{padding:80px 0;}}

/* buttons */
.btn{display:inline-flex; align-items:center; gap:10px; font-family:var(--mono); font-size:.85rem; text-transform:uppercase; letter-spacing:.06em; padding:16px 30px; border-radius:100px; transition:transform .3s var(--ease);}
.btn-fill{background:var(--lime); color:#0a0b09;}
.btn-fill:hover{transform:translateY(-3px);}
.btn-ghost{border:1px solid var(--line); color:var(--text);}
.btn-ghost:hover{border-color:var(--lime); color:var(--lime); transform:translateY(-3px);}
.btn-row{display:flex; gap:16px; flex-wrap:wrap;}

/* reveal */
.reveal{opacity:0; transform:translateY(28px); transition:opacity .8s var(--ease), transform .8s var(--ease);}
.reveal.in{opacity:1; transform:translateY(0);}
.reveal-delay-1{transition-delay:.08s;} .reveal-delay-2{transition-delay:.16s;} .reveal-delay-3{transition-delay:.24s;}

/* hero */
.hero{padding:100px 0 60px; display:grid; grid-template-columns:1.05fr .95fr; gap:60px; align-items:center;}
@media(max-width:980px){.hero{grid-template-columns:1fr; padding-top:60px;}}
.stat-row{display:flex; gap:36px; margin-top:44px; flex-wrap:wrap;}
.stat b{font-family:var(--display); font-size:1.6rem; display:block; color:var(--lime);}
.stat span{font-family:var(--mono); font-size:.72rem; color:var(--text-mute); text-transform:uppercase; letter-spacing:.06em;}
.browser{border:1px solid var(--line); border-radius:14px; background:var(--surface); box-shadow:0 40px 100px -30px rgba(0,0,0,.7); overflow:hidden; transform:perspective(1200px) rotateY(-6deg) rotateX(2deg); transition:transform .5s var(--ease);}
.browser:hover{transform:perspective(1200px) rotateY(-2deg) rotateX(0deg);}
.browser-bar{display:flex; align-items:center; gap:8px; padding:12px 16px; border-bottom:1px solid var(--line); background:var(--surface-2);}
.browser-bar .dot{width:9px; height:9px; border-radius:50%; background:#5c5c52;}
.browser-url{margin-left:10px; font-family:var(--mono); font-size:.72rem; color:var(--text-mute); background:var(--bg-alt); padding:5px 12px; border-radius:6px; flex:1;}
.browser-body{padding:24px; font-family:var(--mono); font-size:.86rem; min-height:280px; line-height:1.7;}
.code-line{white-space:pre; color:var(--text-dim);}
.code-line .tag{color:var(--lime-deep);} .code-line .str{color:var(--lime);} .code-line .cmt{color:var(--text-mute);}
.caret{display:inline-block; width:7px; height:1.1em; background:var(--lime); vertical-align:text-bottom; animation:blink 1s step-end infinite;}
@keyframes blink{50%{opacity:0;}}

/* grids */
.grid-3{display:grid; grid-template-columns:repeat(3,1fr); gap:24px;}
@media(max-width:900px){.grid-3{grid-template-columns:1fr 1fr;}}
@media(max-width:640px){.grid-3{grid-template-columns:1fr;}}
.card{background:var(--surface); border:1px solid var(--line); border-radius:16px; padding:32px; transition:transform .4s var(--ease), border-color .4s, background .4s;}
.card:hover{transform:translateY(-6px); border-color:var(--lime-deep); background:var(--surface-2);}
.card .num{font-family:var(--mono); color:var(--text-mute); font-size:.78rem; margin-bottom:16px; display:block;}
.card .icon{font-size:1.6rem; margin-bottom:18px;}
.card h3{margin-bottom:10px;}
.card p{color:var(--text-dim); font-size:.92rem; line-height:1.6;}

/* marquee */
.marquee-wrap{border-top:1px solid var(--line); border-bottom:1px solid var(--line); padding:22px 0; overflow:hidden; white-space:nowrap;}
.marquee{display:inline-flex; animation:scroll 26s linear infinite;}
.marquee span{font-family:var(--display); font-size:1.4rem; padding:0 28px; color:var(--text-mute); display:inline-flex; align-items:center; gap:28px;}
.marquee span b{color:var(--lime);}
@keyframes scroll{from{transform:translateX(0);} to{transform:translateX(-50%);}}

/* footer */
footer{border-top:1px solid var(--line); padding:60px 0 30px; margin-top:60px;}
.footer-grid{display:flex; justify-content:space-between; flex-wrap:wrap; gap:40px; margin-bottom:40px;}
.footer-col h4{font-family:var(--mono); font-size:.75rem; text-transform:uppercase; letter-spacing:.08em; color:var(--text-mute); margin-bottom:16px;}
.footer-col a, .footer-col p{color:var(--text-dim); font-size:.92rem; display:block; margin-bottom:10px; transition:color .25s;}
.footer-col a:hover{color:var(--lime);}
.footer-bottom{display:flex; justify-content:space-between; padding-top:24px; border-top:1px solid var(--line-soft); font-family:var(--mono); font-size:.75rem; color:var(--text-mute); flex-wrap:wrap; gap:10px;}

/* section hero (inner) */
.page-hero{padding:80px 0 20px;}
.crumb{font-family:var(--mono); font-size:.78rem; color:var(--text-mute); margin-bottom:20px;}
.crumb b{color:var(--lime);}

/* pricing */
.price-card{background:var(--surface); border:1px solid var(--line); border-radius:18px; padding:36px; display:flex; flex-direction:column; transition:transform .4s var(--ease), border-color .4s;}
.price-card:hover{transform:translateY(-8px);}
.price-card.featured{border-color:var(--lime); background:linear-gradient(180deg, rgba(198,255,0,.05), var(--surface) 40%); position:relative;}
.price-card.featured::before{content:'MOST POPULAR'; position:absolute; top:-13px; left:36px; background:var(--lime); color:#0a0b09; font-family:var(--mono); font-size:.66rem; letter-spacing:.08em; padding:5px 12px; border-radius:100px;}
.price-tier{font-family:var(--mono); text-transform:uppercase; letter-spacing:.08em; font-size:.8rem; color:var(--text-mute); margin-bottom:8px;}
.price-amt{font-family:var(--display); font-size:2.6rem; margin-bottom:4px;}
.price-list{margin:26px 0; flex:1;}
.price-list li{padding:10px 0; border-top:1px solid var(--line-soft); color:var(--text-dim); font-size:.9rem; display:flex; gap:10px; align-items:flex-start;}
.price-list li::before{content:'→'; color:var(--lime);}

/* portfolio */
.port-card{border:1px solid var(--line); border-radius:16px; overflow:hidden; background:var(--surface); transition:transform .4s var(--ease), border-color .4s;}
.port-card:hover{transform:translateY(-6px); border-color:var(--lime-deep);}
.port-thumb{aspect-ratio:16/10; position:relative; overflow:hidden; display:flex; align-items:center; justify-content:center;
  background:radial-gradient(circle at 30% 20%, rgba(198,255,0,.18), transparent 55%), linear-gradient(135deg, var(--surface-2), var(--bg-alt));}
.port-thumb .glyph{font-family:var(--display); font-size:3.4rem; color:var(--line); transition:color .4s, transform .5s var(--ease);}
.port-card:hover .glyph{color:var(--lime-deep); transform:scale(1.08);}
.port-tag{position:absolute; top:14px; left:14px; font-family:var(--mono); font-size:.65rem; letter-spacing:.06em; text-transform:uppercase; background:rgba(10,11,9,.75); border:1px solid var(--line); color:var(--lime); padding:5px 10px; border-radius:100px;}
.port-body{padding:24px;}
.port-body p{color:var(--text-dim); font-size:.88rem; line-height:1.6; margin-top:8px;}

/* process */
.process-item{display:grid; grid-template-columns:80px 1fr; gap:24px; padding:32px 0; border-top:1px solid var(--line);}
.process-item:last-child{border-bottom:1px solid var(--line);}
.process-num{font-family:var(--display); font-size:2rem; color:var(--text-mute);}
.process-item:hover .process-num{color:var(--lime);}

/* form */
.form-grid{display:grid; grid-template-columns:1fr 1fr; gap:20px;}
@media(max-width:640px){.form-grid{grid-template-columns:1fr;}}
.field{display:flex; flex-direction:column; gap:8px; margin-bottom:20px;}
.field label{font-family:var(--mono); font-size:.72rem; text-transform:uppercase; letter-spacing:.06em; color:var(--text-mute);}
.field input, .field select, .field textarea{background:var(--surface); border:1px solid var(--line); border-radius:10px; padding:14px 16px; color:var(--text); font-family:var(--body); font-size:.95rem; transition:border-color .25s, box-shadow .25s;}
.field input:focus, .field select:focus, .field textarea:focus{outline:none; border-color:var(--lime); box-shadow:0 0 0 3px var(--lime-dim);}
.field textarea{resize:vertical; min-height:110px;}
.contact-panel{background:var(--surface); border:1px solid var(--line); border-radius:18px; padding:36px;}
.contact-row{display:flex; gap:16px; align-items:flex-start; margin-bottom:26px;}
.contact-row .ic{width:42px; height:42px; border-radius:10px; border:1px solid var(--line); display:flex; align-items:center; justify-content:center; color:var(--lime); font-size:1.1rem; flex-shrink:0; background:var(--bg-alt);}
.contact-row h4{font-size:.95rem; margin-bottom:4px;}
.contact-row p, .contact-row a{color:var(--text-dim); font-size:.9rem;}
.social-row{display:flex; gap:12px; margin-top:10px;}
.social-row a{width:38px; height:38px; border:1px solid var(--line); border-radius:10px; display:flex; align-items:center; justify-content:center; font-family:var(--mono); font-size:.8rem; transition:.25s;}
.social-row a:hover{border-color:var(--lime); color:var(--lime); transform:translateY(-3px);}
.form-success{display:none; text-align:center; padding:60px 20px;}
.form-success.show{display:block;}
.form-success .check{width:64px; height:64px; border-radius:50%; border:1.5px solid var(--lime); color:var(--lime); display:flex; align-items:center; justify-content:center; margin:0 auto 20px; font-size:1.6rem;}

.divider{height:1px; background:var(--line);}
.split-title{display:flex; justify-content:space-between; align-items:flex-end; gap:24px; flex-wrap:wrap; margin-bottom:56px;}

/* ============================================================
   MULTI-PAGE ADDITIONS
   (layout helpers replacing inline grids, so inner pages
   stack correctly on mobile — same tokens, same look)
   ============================================================ */

/* two-column blocks (about story, contact panel) */
.two-col{display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:start;}
@media(max-width:900px){.two-col{grid-template-columns:1fr; gap:40px;}}

.contact-layout{display:grid; grid-template-columns:.9fr 1.3fr; gap:40px; align-items:start;}
@media(max-width:900px){.contact-layout{grid-template-columns:1fr;}}

/* stat cards on about page */
.stat-card{text-align:center;}
.stat-card b{font-family:var(--display); font-size:2.4rem; color:var(--lime); display:block; line-height:1;}
.stat-card p{color:var(--text-dim); margin-top:8px;}

/* centered CTA band reused across pages */
.cta-band{text-align:center; padding:70px 40px; border-color:var(--lime-deep);}
.cta-band .btn-row{justify-content:center; margin-top:20px;}
.cta-band .eyebrow{justify-content:center;}
@media(max-width:640px){.cta-band{padding:48px 24px;}}

/* mission quote block */
.quote-card p{font-family:var(--display); font-size:1.4rem; line-height:1.4;}

/* inline link inside body copy */
.link-lime{color:var(--lime); text-decoration:underline; text-underline-offset:3px;}

/* price card buttons sit flush at the bottom of each card */
.price-card .btn{justify-content:center;}

/* footer tidy-up on small screens */
@media(max-width:640px){
  .footer-grid{flex-direction:column; gap:32px;}
  .footer-bottom{flex-direction:column; align-items:flex-start;}
}

/* page hero spacing on inner pages */
@media(max-width:768px){.page-hero{padding:56px 0 10px;}}

/* process rows collapse the number column on phones */
@media(max-width:640px){
  .process-item{grid-template-columns:1fr; gap:10px;}
  .process-num{font-size:1.5rem;}
}

/* prevent the off-canvas mobile menu from creating horizontal overflow
   (body alone isn't enough on iOS/Android — the page stays pannable) */
/* NOTE: must be `clip`, not `hidden`. `hidden` turns these into scroll
   containers, which silently stops the sticky header from sticking. */
html{overflow-x:clip;}
@media (max-width:860px){
  .nav-links{visibility:hidden;}
  .nav-links.open{visibility:visible;}
}

/* ============================================================
   SVG ICON SYSTEM (replaces emoji)
   Tiles echo the logo mark: rounded square, lime stroke.
   ============================================================ */
.card .icon{
  width:46px; height:46px; margin-bottom:20px;
  display:inline-flex; align-items:center; justify-content:center;
  border:1px solid var(--line); border-radius:12px;
  background:var(--bg-alt); color:var(--lime);
  transition:border-color .4s var(--ease), background .4s var(--ease), transform .4s var(--ease);
}
.card .icon svg{width:22px; height:22px;}
.card:hover .icon{border-color:var(--lime-deep); background:var(--lime-dim); transform:translateY(-2px) rotate(-4deg);}

/* every icon inherits stroke from the tile's colour */
svg[viewBox="0 0 24 24"]{
  fill:none; stroke:currentColor; stroke-width:1.6;
  stroke-linecap:round; stroke-linejoin:round;
}

/* contact page icon tiles */
.contact-row .ic svg{width:20px; height:20px;}
.contact-row .ic{transition:border-color .3s, background .3s;}
.contact-panel:hover .contact-row .ic{border-color:var(--lime-deep);}

/* success tick */
.form-success .check svg{width:26px; height:26px; stroke-width:2;}

/* ============================================================
   CONTACT FORM — submission states
   ============================================================ */
/* honeypot: hidden from humans, bots fill it and get rejected */
.hp{position:absolute !important; left:-9999px; opacity:0; height:0; width:0; pointer-events:none;}

.form-error{display:none; margin-top:14px; padding:12px 16px; border-radius:10px;
  border:1px solid #6b2f2f; background:rgba(255,86,86,.08); color:#ff9b9b;
  font-size:.86rem; line-height:1.5;}
.form-error.show{display:block;}

#submitBtn[disabled]{opacity:.6; pointer-events:none;}

.form-note{margin-top:14px; text-align:center; font-family:var(--mono); font-size:.72rem;
  letter-spacing:.04em; color:var(--text-mute); line-height:1.6;}
.form-success .btn{display:inline-flex;}
.form-alt{display:flex; align-items:center; gap:14px; margin:22px 0 16px; color:var(--text-mute);
  font-family:var(--mono); font-size:.72rem; text-transform:uppercase; letter-spacing:.08em;}
.form-alt::before, .form-alt::after{content:''; flex:1; height:1px; background:var(--line);}

/* ============================================================
   HERO PARTICLE WORDMARK + CIRCUIT WAVE FIELD
   KINGZ DIGITALZ drawn as dots that scatter under the cursor
   and settle back, ringed by a pulsing circuit graph.
   ============================================================ */
.hero-stage{position:relative; width:100%; max-width:560px; margin:0 auto;
  aspect-ratio:900/600; isolation:isolate;}
.hero-stage::before{content:""; position:absolute; left:50%; top:50%;
  width:72%; height:70%; transform:translate(-50%,-50%);
  background:radial-gradient(ellipse, rgba(190,255,0,.10) 0%, rgba(160,255,0,.04) 35%, transparent 72%);
  filter:blur(35px); pointer-events:none; z-index:0;}

.wave-system{position:absolute; inset:0; width:100%; height:100%; z-index:1;
  pointer-events:none; overflow:visible;}
.hero-canvas{position:absolute; inset:0; width:100%; height:100%; display:block; z-index:2;}

/* circuit traces: three weights so the board reads as layered */
.trace{fill:none; stroke:#9ee600; stroke-width:1; opacity:.26;
  stroke-linecap:round; stroke-linejoin:round;}
.trace.dim{opacity:.13; stroke-width:.9;}
.trace.bright{stroke:#baff00; stroke-width:1.4; opacity:.6;
  filter:drop-shadow(0 0 5px rgba(186,255,0,.6));}

/* vias at the bends, pads where a trace terminates */
.via{fill:#9ee600; opacity:.30;}
.pad-dot{fill:none; stroke:#b8f000; stroke-width:1.2; opacity:.45;
  filter:drop-shadow(0 0 4px rgba(185,255,0,.5));}

/* light running along the bright traces */
.pulse{fill:none; stroke:#d5ff42; stroke-width:2; stroke-linecap:round;
  stroke-dasharray:3 190; filter:drop-shadow(0 0 6px rgba(190,255,0,.95));
  animation:pulseMove 3.6s linear infinite;}
.pulse.p0{animation-delay:-.2s}
.pulse.p1{animation-delay:-1.1s; animation-duration:4.4s}
.pulse.p2{animation-delay:-2.3s}
.pulse.p3{animation-delay:-.7s;  animation-duration:5.1s}
.pulse.p4{animation-delay:-1.8s}
.pulse.p5{animation-delay:-3.0s; animation-duration:4.0s}
@keyframes pulseMove{from{stroke-dashoffset:0;} to{stroke-dashoffset:-620;}}

/* solid dots that physically travel a trace end to end */
.runner{fill:#e4ff7a; filter:drop-shadow(0 0 6px rgba(200,255,60,.95));}

/* the three breathing outline rings. fill:none is essential —
   an SVG <ellipse> defaults to solid black and would blank the field */
.ring{fill:none; stroke:#aaff00; stroke-width:1; opacity:.08;
  transform-box:fill-box; transform-origin:center;}
.ring.r1{animation:ringPulse 5s ease-in-out infinite;}
.ring.r2{animation:ringPulse 7s ease-in-out infinite reverse;}
.ring.r3{animation:ringPulse 9s ease-in-out infinite;}
@keyframes ringPulse{
  0%,100%{opacity:.05; transform:scale(1);}
  50%{opacity:.15; transform:scale(1.025);}
}


@media(max-width:980px){.hero-stage{max-width:480px;}}
@media(max-width:520px){.hero-stage{max-width:360px;}}

@media (prefers-reduced-motion:reduce){
  .pulse{animation:none; opacity:0;}
  .ring{animation:none;}
}

/* ============================================================
   LAUNCH ANIMATION — right slot of the "Why" section header
   ============================================================ */
.launch-anim{width:360px; max-width:100%; flex-shrink:0; pointer-events:none; align-self:center;}
.launch-anim svg{width:100%; height:auto; display:block; overflow:visible;}

/* dotted guide the rocket follows */
.launch-anim .traj{
  fill:none; stroke:var(--lime-deep); stroke-width:1.2;
  stroke-dasharray:2 8; stroke-linecap:round; opacity:.45;
}
/* glowing trail that grows behind the rocket */
.launch-anim .trail{
  fill:none; stroke:url(#trailFade); stroke-width:1.9; stroke-linecap:round;
  filter:url(#rocketGlow);
  stroke-dasharray:360; stroke-dashoffset:360;
  animation:trail-grow 6s linear infinite;
}
@keyframes trail-grow{
  0%{stroke-dashoffset:360; opacity:0;}
  6%{opacity:1;}
  86%{opacity:1;}
  100%{stroke-dashoffset:0; opacity:0;}
}

.launch-anim .rocket-art{transform:scale(1.75); transform-origin:center; transform-box:fill-box;}
.launch-anim .body{fill:var(--lime);}
.launch-anim .fin{fill:var(--lime-deep);}
.launch-anim .port{fill:var(--bg); opacity:.85;}
.launch-anim .flame{fill:var(--lime); filter:url(#rocketGlow); opacity:.9; animation:flame .18s steps(2) infinite;}
@keyframes flame{0%{transform:scaleX(1); opacity:.9;}100%{transform:scaleX(.6); opacity:.55;}}
.launch-anim .flame{transform-origin:right center; transform-box:fill-box;}

.launch-anim .rocket{animation:rocket-fade 6s linear infinite;}
@keyframes rocket-fade{0%{opacity:0;}5%{opacity:1;}88%{opacity:1;}100%{opacity:0;}}

.launch-anim .stars circle{fill:var(--lime); opacity:0; animation:star 4s ease-in-out infinite;}
.launch-anim .stars circle:nth-child(1){animation-delay:.2s}
.launch-anim .stars circle:nth-child(2){animation-delay:1.1s}
.launch-anim .stars circle:nth-child(3){animation-delay:2.0s}
.launch-anim .stars circle:nth-child(4){animation-delay:.7s}
.launch-anim .stars circle:nth-child(5){animation-delay:2.8s}
.launch-anim .stars circle:nth-child(6){animation-delay:1.6s}
@keyframes star{0%,100%{opacity:0;}50%{opacity:.8;}}

@media(max-width:900px){.launch-anim{width:260px;}}
@media(max-width:640px){.launch-anim{width:200px; margin-top:8px;}}

@media (prefers-reduced-motion:reduce){
  .launch-anim .trail{animation:none; stroke-dashoffset:0; opacity:.8;}
  .launch-anim .rocket{animation:none; opacity:1;}
  .launch-anim .flame{animation:none;}
  .launch-anim .stars circle{animation:none; opacity:.55;}
}

/* ============================================================
   INNER PAGE HERO ANIMATIONS
   One per page, each tied to what that page is about.
   ============================================================ */
.page-hero{display:grid; grid-template-columns:1.28fr .72fr; gap:44px; align-items:center;}
/* the headline shares its row now, so ease the top of the scale */
.page-hero .h1{font-size:clamp(2.3rem,4.2vw,3.6rem);}
.page-hero-anim{width:100%; max-width:340px; margin-left:auto; pointer-events:none;}
.page-hero-anim svg{width:100%; height:auto; display:block; overflow:visible;}
@media(max-width:900px){
  .page-hero{grid-template-columns:1fr; gap:28px;}
  .page-hero-anim{max-width:300px; margin:0 auto;}
}
@media(max-width:520px){.page-hero-anim{max-width:250px;}}

/* ---------- ABOUT: the process, one stage at a time ---------- */
.anim-about .wheel-fill{animation:wheel-breathe 4.5s ease-in-out infinite;
  transform-origin:120px 215px;}
@keyframes wheel-breathe{0%,100%{opacity:1;}50%{opacity:.55;}}
.anim-about .wheel-base{fill:none; stroke:var(--line); stroke-width:8;}
.anim-about .wheel-inner{fill:var(--bg-alt); stroke:var(--line); stroke-width:1.1;}
.anim-about .wheel-arcs circle{fill:none; stroke:var(--lime); stroke-width:8;
  stroke-linecap:round; filter:url(#pGlowA); transform-origin:120px 215px;}
.anim-about .wheel-arcs circle:nth-child(1){stroke-dasharray:96 482; animation:wheel-spin 9s linear infinite;}
.anim-about .wheel-arcs circle:nth-child(2){stroke-dasharray:54 524; stroke-dashoffset:-260;
  animation:wheel-spin 9s linear infinite reverse; opacity:.75;}
@keyframes wheel-spin{to{transform:rotate(360deg);}}

.anim-about .w-sm{font-family:var(--mono); font-size:11px; letter-spacing:.22em;
  fill:var(--text-mute); text-anchor:middle;}
.anim-about .w-lg{font-family:var(--display); font-size:26px; font-weight:700;
  fill:var(--lime); text-anchor:middle;}
.anim-about .w-md{font-family:var(--display); font-size:15px; font-weight:700;
  letter-spacing:.04em; fill:var(--text); text-anchor:middle;}

.anim-about .spine{fill:none; stroke:var(--line); stroke-width:1.4;}
.anim-about .spine-pulse{fill:none; stroke:var(--lime); stroke-width:2;
  stroke-linecap:round; filter:url(#pGlowA);
  stroke-dasharray:34 420; stroke-dashoffset:454;
  animation:spine-run 7.8s linear infinite;}
@keyframes spine-run{
  0%{stroke-dashoffset:454; opacity:0;}
  6%{opacity:1;}
  88%{opacity:1;}
  100%{stroke-dashoffset:70; opacity:0;}
}

.anim-about .link{fill:none; stroke:var(--line); stroke-width:1.2;}
.anim-about .dot{fill:var(--bg); stroke:var(--lime-deep); stroke-width:1.6;}
.anim-about .pill rect{fill:var(--surface); stroke:var(--line); stroke-width:1.1;}
.anim-about .pill text{font-family:var(--mono); font-size:12px; letter-spacing:.07em;
  text-transform:uppercase; fill:var(--text-dim); dominant-baseline:central;}
.anim-about .ic *{fill:none; stroke:var(--lime-deep); stroke-width:1.5;
  stroke-linecap:round; stroke-linejoin:round;}

/* each stage lights up in turn, then hands over to the next */
.anim-about .stage .dot,
.anim-about .stage .pill rect,
.anim-about .stage .pill text,
.anim-about .stage .ic *,
.anim-about .stage .link{animation:none;}
.anim-about .stage{opacity:.5; animation:stage-cycle 7.8s ease-in-out infinite backwards;}
.anim-about .st1{animation-delay:0s}     .anim-about .st2{animation-delay:1.1s}
.anim-about .st3{animation-delay:2.2s}   .anim-about .st4{animation-delay:3.3s}
.anim-about .st5{animation-delay:4.4s}   .anim-about .st6{animation-delay:5.5s}
@keyframes stage-cycle{
  0%, 100%{opacity:.5; transform:translateX(0);}
  8%{opacity:1; transform:translateX(7px);}
  22%{opacity:1; transform:translateX(7px);}
  36%{opacity:.5; transform:translateX(0);}
}
.anim-about .stage:hover{opacity:1;}
.anim-about .stage:hover .pill rect{stroke:var(--lime); fill:var(--lime-dim);}
.anim-about .stage:hover .pill text{fill:var(--text);}

/* the whole graphic scales down on phones, so push the type back up
   in user units or the stage labels end up around 8px on screen */
@media(max-width:900px){
  .anim-about .pill text{font-size:15px; letter-spacing:.02em;}
  .anim-about .w-md{font-size:16px;}
  .anim-about .w-sm{font-size:12px; letter-spacing:.16em;}
  .anim-about .w-lg{font-size:28px;}
}

/* ---------- SERVICES: everything connected to one platform ---------- */
.anim-services .g-halo{animation:g-halo 5s ease-in-out infinite;
  transform-origin:200px 175px;}
@keyframes g-halo{0%,100%{opacity:.9; transform:scale(1);}50%{opacity:.6; transform:scale(1.07);}}

.anim-services .g-edge{fill:none; stroke:var(--lime); stroke-width:1.5; opacity:.9;
  filter:url(#gGlow);}
.anim-services .meridians path{fill:none; stroke:var(--lime-deep); stroke-width:1;
  opacity:.75; animation:spin-globe 18s linear infinite;}
@keyframes spin-globe{
  0%{transform:translateX(0);}
  100%{transform:translateX(41px);}
}
.anim-services .parallels line{stroke:var(--lime-deep); stroke-width:1; opacity:.5;}

.anim-services .beams path{fill:none; stroke:var(--lime-deep); stroke-width:1.1; opacity:.45;}
.anim-services .beam-pulses path{fill:none; stroke:var(--lime); stroke-width:2;
  stroke-linecap:round; filter:url(#gGlow);
  stroke-dasharray:10 200; stroke-dashoffset:210;
  animation:beam-run 3.2s linear infinite;}
.anim-services .beam-pulses path:nth-child(1){animation-delay:0s}
.anim-services .beam-pulses path:nth-child(2){animation-delay:.45s}
.anim-services .beam-pulses path:nth-child(3){animation-delay:1.6s}
.anim-services .beam-pulses path:nth-child(4){animation-delay:2.1s}
.anim-services .beam-pulses path:nth-child(5){animation-delay:1.1s}
.anim-services .beam-pulses path:nth-child(6){animation-delay:2.6s}
@keyframes beam-run{
  0%{stroke-dashoffset:210; opacity:0;}
  10%{opacity:1;}
  70%{opacity:1;}
  100%{stroke-dashoffset:150; opacity:0;}
}

.anim-services .pad{fill:none; stroke:var(--lime); stroke-width:1.2; opacity:.5;
  animation:pad-ring 3.6s ease-in-out infinite;}
.anim-services .pad-inner{fill:var(--lime-dim); stroke:var(--lime-deep); stroke-width:.9; opacity:.55;}
@keyframes pad-ring{0%,100%{opacity:.5;}50%{opacity:.22;}}

.anim-services .glyph *{fill:none; stroke:var(--lime); stroke-width:1.4;
  stroke-linecap:round; stroke-linejoin:round;}
.anim-services .node{animation:node-float 4.6s ease-in-out infinite;}
@keyframes node-float{0%,100%{transform:translateY(0);}50%{transform:translateY(-5px);}}
.anim-services .n1{animation-delay:0s}    .anim-services .n2{animation-delay:.7s}
.anim-services .n3{animation-delay:1.4s}  .anim-services .n4{animation-delay:2.1s}
.anim-services .n5{animation-delay:2.8s}  .anim-services .n6{animation-delay:3.5s}

/* ---------- PORTFOLIO: a selector moving across the work grid ---------- */
.anim-portfolio .tile-bg{fill:var(--surface);}
.anim-portfolio .tile-edge{fill:none; stroke:var(--line); stroke-width:1.1;}
/* every tile sits dimmed until the selector reaches it, then brightens */
.anim-portfolio .tile-dim{fill:#0a0b09; opacity:.58; animation:thumb-dim 12s ease-in-out infinite;}
.anim-portfolio .t2 .tile-dim{animation-delay:2s}  .anim-portfolio .t3 .tile-dim{animation-delay:4s}
.anim-portfolio .t4 .tile-dim{animation-delay:6s}  .anim-portfolio .t5 .tile-dim{animation-delay:8s}
.anim-portfolio .t6 .tile-dim{animation-delay:10s}
@keyframes thumb-dim{0%,12%{opacity:0}17%,95%{opacity:.58}100%{opacity:0}}
.anim-portfolio .thumb{animation:thumb-lift 12s ease-in-out infinite; transform-box:fill-box; transform-origin:center;}
.anim-portfolio .t1{animation-delay:0s}   .anim-portfolio .t2{animation-delay:2s}
.anim-portfolio .t3{animation-delay:4s}   .anim-portfolio .t4{animation-delay:6s}
.anim-portfolio .t5{animation-delay:8s}   .anim-portfolio .t6{animation-delay:10s}
@keyframes thumb-lift{0%,14%,100%{transform:translateY(0);}5%,10%{transform:translateY(-5px);}}
.anim-portfolio .selector{fill:none; stroke:var(--lime); stroke-width:2; filter:url(#pGlow);
  animation:select 12s ease-in-out infinite;}
@keyframes select{
  0%,12%   {transform:translate(0,0);}
  16%,29%  {transform:translate(113px,0);}
  33%,45%  {transform:translate(226px,0);}
  49%,62%  {transform:translate(0,106px);}
  66%,79%  {transform:translate(113px,106px);}
  83%,95%  {transform:translate(226px,106px);}
  100%     {transform:translate(0,0);}
}

/* ============================================================
   CONTACT — CONNECTIVITY SCENE
   A phone throws light, rings and a waveform upward; the
   channels rise out of it one by one, then people connect in.
   ============================================================ */
.connect-stage{width:100%; aspect-ratio:540/460; position:relative;}
.connect-scene{width:100%; height:auto; display:block; overflow:visible;}

/* ---- phone ---- */
.anim-contact .phone-shell{fill:#0d1109; stroke:var(--lime-deep); stroke-width:1.6;}
.anim-contact .phone-screen{fill:#080a06; stroke:rgba(198,255,0,.20); stroke-width:1;}
.anim-contact .phone-notch{fill:var(--lime-deep); opacity:.7;}
.anim-contact .phone-bar{stroke:var(--lime); stroke-width:2.4; stroke-linecap:round; opacity:.55;}
.anim-contact .phone-edge{stroke:var(--lime); stroke-width:2; stroke-linecap:round; opacity:.35;}
.anim-contact .phone{opacity:0; animation:phone-in 1s var(--ease) .15s both,
  phone-float 7s ease-in-out 1.2s infinite;}
@keyframes phone-in{from{opacity:0; transform:translate(270px,392px) rotate(-5deg) scale(.9);}
  to{opacity:1; transform:translate(270px,372px) rotate(-5deg) scale(1);}}
@keyframes phone-float{0%,100%{transform:translate(270px,372px) rotate(-5deg);}
  50%{transform:translate(270px,366px) rotate(-5deg);}}
.anim-contact .phone-lit{animation:screen-breathe 4.5s ease-in-out 1s infinite backwards; opacity:0;}
@keyframes screen-breathe{0%,100%{opacity:.85;}50%{opacity:.45;}}

/* ---- light and rings ---- */
.anim-contact .beam{opacity:0; animation:beam-in 1.6s var(--ease) .7s forwards,
  beam-breathe 5s ease-in-out 2.3s infinite;}
@keyframes beam-in{to{opacity:1;}}
@keyframes beam-breathe{0%,100%{opacity:1;}50%{opacity:.62;}}

.anim-contact .ripples ellipse{fill:none; stroke:var(--lime); stroke-width:1.6;
  opacity:0; transform-origin:270px 302px; animation:ripple-out 4.2s ease-out .9s infinite backwards;}
.anim-contact .ripples ellipse:nth-child(2){animation-delay:2.3s;}
.anim-contact .ripples ellipse:nth-child(3){animation-delay:3.7s;}
@keyframes ripple-out{
  0%{transform:scale(.35); opacity:0;}
  12%{opacity:.75;}
  100%{transform:scale(5.2); opacity:0;}
}

/* ---- waveform ---- */
.anim-contact .wave, .anim-contact .wave-glow{fill:none; stroke-linecap:round; stroke-linejoin:round;}
.anim-contact .wave{stroke:var(--lime); stroke-width:1.8; filter:url(#cGlowA);
  stroke-dasharray:900; stroke-dashoffset:900;
  animation:wave-draw 2s var(--ease) 1s forwards, wave-breathe 4s ease-in-out 3s infinite;}
.anim-contact .wave-glow{stroke:var(--lime); stroke-width:6; opacity:.16; filter:url(#cGlowSoft);
  stroke-dasharray:900; stroke-dashoffset:900;
  animation:wave-draw 2s var(--ease) 1s forwards;}
@keyframes wave-draw{to{stroke-dashoffset:0;}}
@keyframes wave-breathe{0%,100%{opacity:1;}50%{opacity:.62;}}

/* ---- connection lines ---- */
.anim-contact .link{fill:none; stroke:var(--lime-deep); stroke-width:1;
  opacity:.55; stroke-dasharray:420; stroke-dashoffset:420;
  animation:link-draw 1.1s var(--ease) both;}
.anim-contact .lk0{animation-delay:1.9s} .anim-contact .lk1{animation-delay:2.05s}
.anim-contact .lk2{animation-delay:2.2s} .anim-contact .lk3{animation-delay:2.35s}
.anim-contact .lk4{animation-delay:2.5s} .anim-contact .lk5{animation-delay:2.65s}
.anim-contact .link-b{stroke-dasharray:300; stroke-dashoffset:300; opacity:.34;}
.anim-contact .lb0{animation-delay:3.5s} .anim-contact .lb1{animation-delay:3.65s}
.anim-contact .lb2{animation-delay:3.8s} .anim-contact .lb3{animation-delay:3.95s}
@keyframes link-draw{to{stroke-dashoffset:0;}}

.anim-contact .link-pulse{fill:none; stroke:var(--lime); stroke-width:1.8; stroke-linecap:round;
  filter:url(#cGlowA); stroke-dasharray:9 300; stroke-dashoffset:309;
  animation:link-run 3.4s linear infinite backwards;}
.anim-contact .lp0{animation-delay:3.2s} .anim-contact .lp1{animation-delay:3.8s}
.anim-contact .lp2{animation-delay:4.3s; animation-duration:3.9s}
.anim-contact .lp3{animation-delay:4.9s} .anim-contact .lp4{animation-delay:5.4s; animation-duration:4.2s}
.anim-contact .lp5{animation-delay:5.9s}
@keyframes link-run{
  0%{stroke-dashoffset:309; opacity:0;}
  10%{opacity:1;} 80%{opacity:1;}
  100%{stroke-dashoffset:60; opacity:0;}
}

/* ---- channel tiles ---- */
.anim-contact .tile{fill:rgba(140,200,0,.07); stroke:var(--lime-deep); stroke-width:1.2;}
.anim-contact .glyph *{fill:none; stroke:var(--lime); stroke-width:1.6;
  stroke-linecap:round; stroke-linejoin:round;}
.anim-contact .node{opacity:0; transform-box:fill-box; transform-origin:center;
  animation:node-rise .9s var(--ease) both, node-float 6s ease-in-out infinite;}
@keyframes node-rise{
  0%{opacity:0; transform:translateY(46px) scale(.5);}
  70%{opacity:1;}
  100%{opacity:1; transform:translateY(0) scale(1);}
}
@keyframes node-float{0%,100%{transform:translateY(0);}50%{transform:translateY(-6px);}}
.anim-contact .ic0{animation-delay:1.5s, 3.2s}
.anim-contact .ic1{animation-delay:1.72s, 3.6s}
.anim-contact .ic2{animation-delay:1.94s, 4.0s}
.anim-contact .ic3{animation-delay:2.16s, 4.4s}
.anim-contact .ic4{animation-delay:2.38s, 4.8s}
.anim-contact .ic5{animation-delay:2.60s, 5.2s}
.anim-contact .node:hover .tile{stroke:var(--lime); fill:rgba(180,255,0,.14);}

/* ---- people ---- */
.anim-contact .p-ring{fill:rgba(140,200,0,.05); stroke:var(--lime-deep); stroke-width:1; opacity:.8;}
.anim-contact .p-head{fill:none; stroke:var(--lime); stroke-width:1.5; opacity:.85;}
.anim-contact .p-body{fill:none; stroke:var(--lime); stroke-width:1.5; stroke-linecap:round; opacity:.85;}
.anim-contact .person{opacity:0; transform-box:fill-box; transform-origin:center;
  animation:person-in .9s var(--ease) both, person-float 8s ease-in-out infinite;}
@keyframes person-in{0%{opacity:0; transform:scale(.6);}100%{opacity:1; transform:scale(1);}}
@keyframes person-float{0%,100%{transform:translateY(0);}50%{transform:translateY(-5px);}}
.anim-contact .pr0{animation-delay:3.0s, 5.0s}
.anim-contact .pr1{animation-delay:3.2s, 5.4s}
.anim-contact .pr2{animation-delay:3.4s, 5.8s}
.anim-contact .pr3{animation-delay:3.6s, 6.2s}

@media (prefers-reduced-motion:reduce){
  .anim-contact .phone, .anim-contact .node, .anim-contact .person,
  .anim-contact .beam, .anim-contact .phone-lit{animation:none; opacity:1;}
  .anim-contact .phone{transform:translate(270px,372px) rotate(-5deg);}
  .anim-contact .wave, .anim-contact .wave-glow{animation:none; stroke-dashoffset:0;}
  .anim-contact .link{animation:none; stroke-dashoffset:0;}
  .anim-contact .link-pulse, .anim-contact .ripples ellipse{display:none;}
}

@media (prefers-reduced-motion:reduce){
  .page-hero-anim *{animation:none !important;}
  .anim-services .pad{opacity:.5;}
  .anim-services .beam-pulses path{opacity:0;}
  .anim-about .stage{opacity:1; transform:none;}
  .anim-about .spine-pulse{opacity:0;}
}

/* auto-hiding header: slides away when idle, returns on scroll,
   on cursor reaching the top strip, or on keyboard focus */
header.nav.nav-hidden{transform:translateY(-105%);}
@media (prefers-reduced-motion:reduce){header.nav{transition:none;}}

/* ============================================================
   SERVICES ANIMATION — larger, with cursor + scroll response
   --px/--py come from the pointer, --sc from scroll position;
   each layer moves a different amount, which reads as depth.
   ============================================================ */
.page-hero-wide{grid-template-columns:1fr 1fr; gap:36px;}
.page-hero-wide .page-hero-anim{max-width:none; width:100%;}
@media(min-width:901px){.page-hero-wide{padding-top:64px;}}
@media(max-width:900px){
  .page-hero-wide{grid-template-columns:1fr;}
  .page-hero-wide .page-hero-anim{max-width:360px; margin:0 auto;}
}
@media(max-width:520px){.page-hero-wide .page-hero-anim{max-width:290px;}}

/* the animation reacts to the pointer, so it needs to receive it */
.anim-services{pointer-events:auto;}
.anim-services svg{--px:0; --py:0; --sc:0;}

.anim-services .layer-halo{
  transform:translate(calc(var(--px) * 5px), calc(var(--py) * 5px + var(--sc) * 6px));
}
.anim-services .globe,
.anim-services .beams,
.anim-services .beam-pulses{
  transform:translate(calc(var(--px) * 10px), calc(var(--py) * 10px + var(--sc) * 8px));
}
.anim-services .nodes{
  transform:translate(calc(var(--px) * 19px), calc(var(--py) * 19px - var(--sc) * 16px));
}
.anim-services .sats{
  transform:translate(calc(var(--px) * 14px), calc(var(--py) * 14px - var(--sc) * 10px));
}
.anim-services .layer-halo,
.anim-services .globe,
.anim-services .beams,
.anim-services .beam-pulses,
.anim-services .nodes,
.anim-services .sats{transition:transform .45s cubic-bezier(.22,.61,.36,1);}

/* satellites circling the globe */
.anim-services .sat circle{fill:var(--lime); filter:url(#gGlow);}
.anim-services .sat{transform-origin:200px 175px;}
.anim-services .sa{animation:sat-spin 11s linear infinite;}
.anim-services .sb{animation:sat-spin 17s linear infinite reverse;}
@keyframes sat-spin{to{transform:rotate(360deg);}}

/* hovering a node brings it forward */
.anim-services .glyph{transform-box:fill-box; transform-origin:center;
  transition:transform .3s var(--ease);}
.anim-services .node:hover .glyph{transform:scale(1.22);}
.anim-services .node:hover .glyph *{stroke-width:1.8;}
.anim-services .node .pad{transition:opacity .3s, stroke-width .3s;}
.anim-services .node:hover .pad{opacity:.95; stroke-width:1.8;}
.anim-services .node:hover .pad-inner{opacity:.9;}

@media (prefers-reduced-motion:reduce){
  .anim-services .layer-halo, .anim-services .globe, .anim-services .beams,
  .anim-services .beam-pulses, .anim-services .nodes, .anim-services .sats{
    transform:none; transition:none;
  }
}

/* ============================================================
   PORTFOLIO — REAL WORK
   Each thumbnail shows a styled stand-in until a screenshot is
   saved as assets/work/<slug>.jpg; the image then covers it.
   ============================================================ */
.work-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(--line);
  border:1px solid var(--line);border-radius:16px;overflow:hidden;margin:8px 0 34px}
.work-stats div{background:var(--surface);padding:24px 18px;text-align:center}
.work-stats b{display:block;font-family:var(--display);font-size:2rem;line-height:1;color:var(--lime)}
.work-stats span{display:block;margin-top:9px;font-family:var(--mono);font-size:.68rem;
  letter-spacing:.1em;text-transform:uppercase;color:var(--text-dim)}
@media(max-width:700px){.work-stats{grid-template-columns:1fr 1fr}}

.work-filter{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:28px}
.work-filter button{font-family:var(--mono);font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;
  padding:10px 18px;border-radius:100px;border:1px solid var(--line);background:transparent;
  color:var(--text-dim);cursor:pointer;transition:color .25s,border-color .25s,background .25s}
.work-filter button:hover{color:var(--text);border-color:var(--lime-deep)}
.work-filter button.on{background:var(--lime);border-color:var(--lime);color:#0a0b09}

/* ---- thumbnails ---- */
.work-thumb{display:block;position:relative;aspect-ratio:16/10;overflow:hidden;
  background:var(--bg-alt);border-bottom:1px solid var(--line)}
.work-thumb img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:top;
  z-index:2;transition:transform .9s var(--ease)}
.work-card:hover .work-thumb img,.work-feature:hover .work-thumb img{transform:scale(1.04)}
.work-tag{position:absolute;left:14px;bottom:14px;z-index:4;font-family:var(--mono);font-size:.62rem;
  letter-spacing:.08em;text-transform:uppercase;background:rgba(10,11,9,.82);border:1px solid var(--line);
  color:var(--lime);padding:6px 11px;border-radius:100px;backdrop-filter:blur(6px)}
.work-open{position:absolute;right:14px;bottom:14px;z-index:4;display:flex;align-items:center;gap:6px;
  font-family:var(--mono);font-size:.64rem;letter-spacing:.08em;text-transform:uppercase;
  background:var(--lime);color:#0a0b09;padding:8px 13px;border-radius:100px;
  opacity:0;transform:translateY(8px);transition:opacity .3s,transform .35s var(--ease)}
.work-open svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round}
.work-card:hover .work-open,.work-feature:hover .work-open{opacity:1;transform:none}

/* stand-in "website" drawn in CSS */
.mk{position:absolute;inset:0;padding:14px;display:flex;flex-direction:column;
  background:radial-gradient(90% 70% at 80% 10%,rgba(198,255,0,.10),transparent 60%),
    linear-gradient(180deg,#141810,#0d0f0a)}
.mk-bar{display:flex;align-items:center;gap:5px;padding:7px 10px;border:1px solid var(--line);
  border-bottom:0;border-radius:9px 9px 0 0;background:var(--surface-2)}
.mk-bar span{width:7px;height:7px;border-radius:50%;background:#3a3f30}
.mk-bar em{margin-left:8px;flex:1;font-style:normal;font-family:var(--mono);font-size:.6rem;
  color:var(--text-mute);background:#0f110c;border-radius:5px;padding:3px 9px;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mk-page{flex:1;border:1px solid var(--line);border-radius:0 0 9px 9px;background:#0f110c;
  padding:12px;display:flex;flex-direction:column;gap:10px;overflow:hidden}
.mk-nav{display:flex;align-items:center;gap:8px}
.mk-nav strong{font-family:var(--display);font-size:.72rem;color:var(--lime);margin-right:auto}
.mk-nav u{display:block;width:26px;height:4px;border-radius:3px;background:#2c3124;text-decoration:none}
.mk-hero{display:flex;flex-direction:column;gap:6px;padding:10px 0}
.mk-hero i,.mk-split i{display:block;height:7px;border-radius:4px;background:#2a2f22}
.mk-hero i:first-child,.mk-split i:first-child{width:55%;height:11px;background:rgba(198,255,0,.35)}
.mk-hero i:nth-child(2),.mk-split i:nth-child(2){width:38%}
.mk-split i:nth-child(3){width:22%;height:12px;border-radius:10px;background:var(--lime);margin-top:4px}
.mk-banner{flex:0 0 42%;border-radius:8px;background:linear-gradient(120deg,rgba(198,255,0,.22),rgba(198,255,0,.04))}
.mk-grid{display:grid;gap:7px;flex:1}
.mk-3{grid-template-columns:repeat(3,1fr)}
.mk-4{grid-template-columns:repeat(4,1fr)}
.mk-grid b{border-radius:7px;background:#1b1f14;border:1px solid #242819}
.mk-tall b{min-height:60%}
.mk-short{flex:0 0 26%}
.mk-split{display:grid;grid-template-columns:1.2fr 1fr;gap:10px;align-items:center;flex:1}
.mk-split > div{display:flex;flex-direction:column;gap:6px}
.mk-device{aspect-ratio:4/3;border-radius:8px;border:2px solid #2c3124;
  background:radial-gradient(circle at 50% 45%,rgba(198,255,0,.28),transparent 60%),#11140d}
.mk-photo{aspect-ratio:4/3;border-radius:8px;background:linear-gradient(140deg,#2a2f22,#161910)}
.mk-mono{position:absolute;right:16px;bottom:10px;font-family:var(--display);font-weight:700;
  font-size:4.2rem;line-height:1;color:rgba(198,255,0,.07);pointer-events:none}

/* ---- featured ---- */
.work-feature{display:grid;grid-template-columns:1.35fr 1fr;border:1px solid var(--line);border-radius:20px;
  overflow:hidden;background:var(--surface);transition:border-color .4s,transform .4s var(--ease)}
.work-feature:hover{border-color:var(--lime-deep)}
.work-thumb-lg{aspect-ratio:auto;min-height:100%;border-bottom:0;border-right:1px solid var(--line)}
.work-feature-body{padding:38px;display:flex;flex-direction:column;justify-content:center}
.work-title-lg{font-size:clamp(1.7rem,3vw,2.4rem);margin:10px 0 14px}
@media(max-width:900px){
  .work-feature{grid-template-columns:1fr}
  .work-thumb-lg{aspect-ratio:16/10;border-right:0;border-bottom:1px solid var(--line)}
  .work-feature-body{padding:26px}
}
.work-flag{font-family:var(--mono);font-size:.64rem;letter-spacing:.1em;text-transform:uppercase;
  color:#0a0b09;background:var(--lime);padding:5px 10px;border-radius:100px}
.work-visit{align-self:flex-start;margin-top:22px}
.work-visit svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round}

/* ---- grid cards ---- */
.work-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
@media(max-width:1000px){.work-grid{grid-template-columns:1fr 1fr}}
@media(max-width:640px){.work-grid{grid-template-columns:1fr}}
.work-card{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:16px;
  overflow:hidden;background:var(--surface);transition:transform .4s var(--ease),border-color .4s}
.work-card:hover{transform:translateY(-6px);border-color:var(--lime-deep)}
.work-body{padding:22px 22px 24px;display:flex;flex-direction:column;flex:1}
.work-body h3{font-size:1.2rem;margin:8px 0 10px}
.work-body h3 a,.work-title-lg a{transition:color .25s}
.work-body h3 a:hover,.work-title-lg a:hover{color:var(--lime)}
.work-meta{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.work-loc{display:inline-flex;align-items:center;gap:6px;font-family:var(--mono);font-size:.66rem;
  letter-spacing:.08em;text-transform:uppercase;color:var(--text-dim)}
.work-loc svg{width:13px;height:13px;fill:none;stroke:var(--lime-deep);stroke-width:1.8}
.work-desc{color:var(--text-dim);font-size:.9rem;line-height:1.65}
.work-chips{list-style:none;display:flex;flex-wrap:wrap;gap:7px;margin-top:16px}
.work-chips li{font-family:var(--mono);font-size:.62rem;letter-spacing:.06em;text-transform:uppercase;
  color:var(--lime-deep);border:1px solid var(--line);padding:5px 10px;border-radius:100px}
.work-link{margin-top:auto;padding-top:18px;display:inline-flex;align-items:center;gap:7px;
  font-family:var(--mono);font-size:.72rem;color:var(--text);transition:color .25s}
.work-link svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;
  transition:transform .3s var(--ease)}
.work-link:hover{color:var(--lime)}
.work-link:hover svg{transform:translate(2px,-2px)}

/* filtering */
.work-card.is-hidden,.work-feature.is-hidden{display:none}
.work-empty{color:var(--text-dim);font-family:var(--mono);font-size:.8rem;padding:30px 0;text-align:center}

.cta-band .lede{text-align:center}

/* the "next project" tile fills the last grid slot */
.work-next{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:14px;
  border:1px dashed var(--lime-deep);border-radius:16px;padding:34px;min-height:100%;
  background:radial-gradient(120% 80% at 100% 0%,rgba(198,255,0,.08),transparent 60%);
  transition:border-color .3s,background .3s,transform .4s var(--ease)}
.work-next:hover{border-color:var(--lime);transform:translateY(-6px);
  background:radial-gradient(120% 80% at 100% 0%,rgba(198,255,0,.14),transparent 60%)}
.work-next .plus{width:52px;height:52px;border-radius:14px;border:1px solid var(--lime-deep);display:flex;
  align-items:center;justify-content:center;color:var(--lime);font-size:1.8rem;line-height:1}
.work-next h3{font-size:1.35rem}
.work-next p{color:var(--text-dim);font-size:.9rem;line-height:1.6}
.work-next span.go{font-family:var(--mono);font-size:.74rem;letter-spacing:.08em;text-transform:uppercase;color:var(--lime)}

/* ============================================================
   HOME — extra sections previewing the rest of the site
   ============================================================ */
/* ---- clients strip ---- */
.home-clients{padding:64px 0 10px;text-align:center}
.home-clients-label{font-family:var(--mono);font-size:.74rem;letter-spacing:.08em;text-transform:uppercase;
  color:var(--text-dim);margin-bottom:26px}
.home-clients-label b{color:var(--lime);font-weight:500}
.home-clients-row{list-style:none;display:grid;grid-template-columns:repeat(6,1fr);gap:1px;
  background:var(--line);border:1px solid var(--line);border-radius:14px;overflow:hidden}
.home-clients-row a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;
  height:100%;padding:22px 12px;background:var(--bg);transition:background .3s}
.home-clients-row a:hover{background:var(--surface)}
.home-clients-row span{font-family:var(--display);font-weight:700;font-size:.98rem;color:var(--text);
  opacity:.7;transition:opacity .3s,color .3s;text-align:center;line-height:1.2}
.home-clients-row a:hover span{opacity:1;color:var(--lime)}
.home-clients-row small{font-family:var(--mono);font-size:.6rem;letter-spacing:.1em;text-transform:uppercase;
  color:var(--text-mute)}
@media(max-width:1000px){.home-clients-row{grid-template-columns:repeat(3,1fr)}}
@media(max-width:560px){.home-clients-row{grid-template-columns:1fr 1fr}}

/* ---- selected work index ---- */
.home-work{list-style:none;border-top:1px solid var(--line)}
.home-work li{border-bottom:1px solid var(--line)}
.home-work a{display:grid;grid-template-columns:70px 1fr 200px 44px;align-items:center;gap:20px;
  padding:28px 8px;transition:background .35s,padding .35s var(--ease)}
.home-work a:hover{background:linear-gradient(90deg,rgba(198,255,0,.07),transparent 70%);padding-left:22px}
.hw-n{font-family:var(--mono);font-size:.8rem;color:var(--text-mute)}
.hw-main b{display:block;font-family:var(--display);font-size:clamp(1.3rem,2.6vw,2rem);font-weight:700;
  line-height:1.15;transition:color .3s}
.home-work a:hover .hw-main b{color:var(--lime)}
.hw-main em{display:block;font-style:normal;color:var(--text-dim);font-size:.9rem;margin-top:6px}
.hw-cat{font-family:var(--mono);font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;color:var(--lime-deep);
  text-align:right}
.hw-cat small{display:block;color:var(--text-mute);margin-top:4px;font-size:.64rem}
.hw-go{width:44px;height:44px;border-radius:50%;border:1px solid var(--line);display:flex;align-items:center;
  justify-content:center;transition:background .3s,border-color .3s,transform .35s var(--ease)}
.hw-go svg{width:16px;height:16px;fill:none;stroke:var(--text);stroke-width:2;stroke-linecap:round}
.home-work a:hover .hw-go{background:var(--lime);border-color:var(--lime);transform:rotate(45deg)}
.home-work a:hover .hw-go svg{stroke:#0a0b09}
@media(max-width:760px){
  .home-work a{grid-template-columns:36px 1fr 36px;gap:14px;padding:22px 4px}
  .home-work a:hover{padding-left:10px}
  .hw-cat{display:none}
  .hw-go{width:36px;height:36px}
}

/* ---- included as standard ---- */
.home-included{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
@media(max-width:900px){.home-included{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.home-included{grid-template-columns:1fr}}
.home-prices{display:grid;grid-template-columns:repeat(3,1fr) auto;align-items:center;gap:1px;margin-top:24px;
  background:var(--line);border:1px solid var(--line);border-radius:16px;overflow:hidden}
.home-prices > div{background:var(--surface);padding:22px 24px;height:100%}
.home-prices span{display:block;font-family:var(--mono);font-size:.68rem;letter-spacing:.1em;text-transform:uppercase;
  color:var(--text-dim)}
.home-prices b{display:block;font-family:var(--display);font-size:1.7rem;color:var(--text);margin:6px 0 2px}
.home-prices small{color:var(--text-mute);font-size:.8rem}
.home-prices .hp-pop b{color:var(--lime)}
.home-prices .hp-cta{display:flex;align-items:center;justify-content:center;padding:18px 22px}
.home-prices .btn{justify-content:center;white-space:nowrap}
@media(max-width:900px){
  .home-prices{grid-template-columns:1fr 1fr 1fr}
  .home-prices .hp-cta{grid-column:1/-1}
}
@media(max-width:560px){.home-prices{grid-template-columns:1fr}}

/* ---- digital card promo ---- */
.home-card-promo{display:grid;grid-template-columns:1.2fr .8fr;gap:40px;align-items:center;overflow:hidden;
  border:1px solid rgba(212,166,74,.35);border-radius:24px;padding:56px;position:relative;
  background:radial-gradient(70% 90% at 90% 50%,rgba(212,166,74,.12),transparent 60%),var(--surface)}
.home-card-promo .eyebrow{color:#e0b85c}
.home-card-promo .eyebrow::before{background:#e0b85c}
.hcp-price{font-family:var(--display);font-size:1.5rem;color:#f1d28a;display:flex;align-items:baseline;gap:10px}
.hcp-price small{font-family:var(--mono);font-size:.66rem;letter-spacing:.08em;text-transform:uppercase;color:var(--text-dim)}
.hcp-visual{display:flex;justify-content:center}
.hcp-card{width:190px;aspect-ratio:54/86;border-radius:14px;padding:16px 14px;display:flex;flex-direction:column;
  align-items:center;gap:8px;border:1px solid rgba(212,166,74,.5);transform:rotate(-6deg);
  background:radial-gradient(120% 60% at 30% 0%,rgba(255,255,255,.12),transparent 60%),
    linear-gradient(165deg,#3b3e44,#1b1d21 60%,#2b2d32);
  box-shadow:0 30px 60px rgba(0,0,0,.6),0 0 40px rgba(212,166,74,.15);
  animation:hcpFloat 7s ease-in-out infinite}
@keyframes hcpFloat{0%,100%{transform:rotate(-6deg) translateY(0)}50%{transform:rotate(-6deg) translateY(-12px)}}
.hcp-qr{width:64%;aspect-ratio:1;border-radius:9px;border:1.5px solid #d4a64a;background:#f3f1ea;padding:6px}
.hcp-qr svg{width:100%;height:100%;display:block}
.hcp-line{width:80%;height:4px;border-radius:3px;background:rgba(212,166,74,.55)}
.hcp-line.s{width:62%;height:3px;background:rgba(255,255,255,.18)}
.hcp-crown{width:26px;height:14px;margin-top:auto;background:linear-gradient(180deg,#f7e3a3,#d4a64a 55%,#9c6f22);
  clip-path:polygon(0 100%,8% 20%,30% 62%,50% 0,70% 62%,92% 20%,100% 100%)}
.hcp-card b{font-family:'Cinzel',Georgia,serif;font-size:.9rem;line-height:1.05;text-align:center;
  background:linear-gradient(180deg,#f7e3a3,#d4a64a 55%,#9c6f22);-webkit-background-clip:text;
  background-clip:text;color:transparent}
@media(max-width:860px){
  .home-card-promo{grid-template-columns:1fr;padding:34px 24px;text-align:left}
  .hcp-visual{order:-1}
}

/* ---- founder ---- */
.home-founder{display:grid;grid-template-columns:auto 1fr auto;gap:32px;align-items:center;padding:40px;
  border:1px solid var(--line);border-radius:20px;background:var(--surface)}
.hf-avatar{width:92px;height:92px;border-radius:50%;display:flex;align-items:center;justify-content:center;
  font-family:var(--display);font-size:2.4rem;font-weight:700;color:#0a0b09;
  background:radial-gradient(circle at 30% 25%,#e8ff80,var(--lime) 55%,var(--lime-deep));
  box-shadow:0 0 0 6px rgba(198,255,0,.08),0 0 40px rgba(198,255,0,.18)}
.home-founder blockquote{font-family:var(--display);font-size:clamp(1.15rem,2vw,1.5rem);line-height:1.4;
  color:var(--text);margin:4px 0 12px}
.hf-name{color:var(--text-dim);font-size:.9rem}
.hf-name b{color:var(--lime)}
@media(max-width:800px){
  .home-founder{grid-template-columns:1fr;gap:18px;padding:28px}
  .home-founder .btn{justify-self:start}
}

/* ---- faq ---- */
.home-faq{display:grid;grid-template-columns:.8fr 1.2fr;gap:56px;align-items:start}
@media(max-width:900px){.home-faq{grid-template-columns:1fr;gap:30px}}
.home-faq-list details{border-bottom:1px solid var(--line)}
.home-faq-list details:first-child{border-top:1px solid var(--line)}
.home-faq-list summary{cursor:pointer;list-style:none;padding:22px 44px 22px 0;position:relative;
  font-family:var(--display);font-size:1.08rem;font-weight:500;transition:color .25s}
.home-faq-list summary::-webkit-details-marker{display:none}
.home-faq-list summary:hover{color:var(--lime)}
.home-faq-list summary::after{content:"+";position:absolute;right:4px;top:50%;transform:translateY(-50%);
  width:28px;height:28px;border-radius:50%;border:1px solid var(--line);display:flex;align-items:center;
  justify-content:center;font-family:var(--mono);color:var(--lime);transition:transform .3s var(--ease),background .3s}
.home-faq-list details[open] summary::after{content:"\2212";background:var(--lime-dim);transform:translateY(-50%) rotate(180deg)}
.home-faq-list details p{color:var(--text-dim);font-size:.95rem;line-height:1.7;padding:0 40px 22px 0}

/* ---- closing band note ---- */
.home-cta-note{margin-top:22px;font-family:var(--mono);font-size:.72rem;letter-spacing:.04em;color:var(--text-mute)}
.home-cta-note a{color:var(--text-dim);text-decoration:underline;text-underline-offset:3px}
.home-cta-note a:hover{color:var(--lime)}

@media (prefers-reduced-motion:reduce){.hcp-card{animation:none}}

.home-card-promo .btn-row,.home-faq .btn-row{margin-top:26px;align-items:center}

/* ---- hero overflow fix ----
   The typed code lines don't wrap, so once the typing finishes the longest
   line pushed the hero wider than a phone screen. Grid children now shrink
   instead of growing, and code wraps on small screens. */
.hero > *{min-width:0}
.browser{max-width:100%}
@media(max-width:640px){
  .code-line{white-space:pre-wrap;overflow-wrap:anywhere}
}

/* ---- portfolio card videos ----
   Sit above the CSS placeholder and fade in once a frame has loaded.
   If a video file is missing, the script removes it and the placeholder stays. */
.work-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:top;
  z-index:2;opacity:0;transition:opacity .6s var(--ease),transform .9s var(--ease)}
.work-video.ready{opacity:1}
.work-card:hover .work-video,.work-feature:hover .work-video{transform:scale(1.03)}
@media (prefers-reduced-motion:reduce){.anim-portfolio .tile-dim{opacity:.15}}
