/* ============================================================
   KingpinX — continuous-scroll home page.
   Layered on top of kingpinx.css (tokens, nav, buttons, cards).
   Only landing.html loads this; the deep-dive pages are untouched.

   Brief (Brad, Aug 2026): bigger, more visual, more premium.
   Full-width sections, real photography behind the story, one
   ecosystem rather than four separate businesses.
   ============================================================ */

/* ---------- snap panels ----------
   One screen, one idea. Each panel is a scroll-snap stop sized to the
   viewport, with its content vertically centred. min-height (not height)
   means an over-full panel grows rather than clipping — nothing is ever
   cut off, it just stops fitting on one screen. */
html{ scroll-snap-type:y mandatory; }
.panel{
  min-height:100svh;
  display:flex; flex-direction:column; justify-content:center;
  scroll-snap-align:start; scroll-snap-stop:always;
  padding:clamp(84px,11vh,112px) clamp(20px,5vw,80px) clamp(30px,5vh,56px);
  position:relative; overflow-x:clip;
}
.panel.alt{ background:var(--dark); }
.panel > .inner{ width:100%; }
.kpx-footer{ scroll-snap-align:end; }

/* Below these thresholds a panel can't hold its content in one screen, and
   mandatory snap would strand whatever sits past the fold. Fall back to an
   ordinary continuous scroll — which is what a phone wants anyway. */
@media (max-width:900px), (max-height:660px){
  html{ scroll-snap-type:none; }
  .panel{
    min-height:0; justify-content:flex-start;
    padding-top:clamp(64px,10vh,96px); padding-bottom:clamp(44px,7vh,76px);
  }
}

/* ---------- scale: the whole page breathes wider ---------- */
.inner.wide{ max-width:1340px; }
.inner.mid{ max-width:1180px; }
.section{ padding:clamp(76px,12vh,150px) clamp(20px,5vw,80px); }
.section.tight{ padding-top:clamp(40px,6vh,72px); }

/* Full-bleed dark plate under every photographed section. */
.shot{ position:relative; isolation:isolate; overflow:hidden; }
.shot > .shot-img{
  position:absolute; inset:0; z-index:0; pointer-events:none;
  background-size:cover; background-position:center;
  opacity:.30; filter:saturate(.72) contrast(1.06);
}
.shot > .shot-scrim{
  position:absolute; inset:0; z-index:1; pointer-events:none;
  background:
    linear-gradient(180deg, var(--deep) 0%, rgba(10,22,40,.62) 28%, rgba(10,22,40,.70) 72%, var(--deep) 100%),
    linear-gradient(90deg, rgba(10,22,40,.92) 0%, rgba(10,22,40,.34) 62%, rgba(10,22,40,.72) 100%);
}
.shot > .inner{ position:relative; z-index:3; }

/* A tall section stretches a `cover` photo into an unreadable smear.
   `.band` pins the picture to the top of the section at a sane height and
   fades it out, so the headline sits on real photography and the rest of
   the section sits on the brand ground. */
.shot.band > .shot-img{
  inset:0 0 auto 0; height:clamp(440px,66vh,820px);
}
.shot.band > .shot-scrim{
  background:
    linear-gradient(180deg, rgba(10,22,40,.72) 0%, rgba(10,22,40,.42) 34%, rgba(10,22,40,.86) 70%, var(--deep) 92%),
    linear-gradient(90deg, rgba(10,22,40,.94) 0%, rgba(10,22,40,.62) 46%, rgba(10,22,40,.10) 76%, rgba(10,22,40,.40) 100%);
}

.shot.subject-right > .shot-scrim{
  background:
    linear-gradient(180deg, var(--deep) 0%, rgba(10,22,40,.30) 26%, rgba(10,22,40,.34) 74%, var(--deep) 100%),
    linear-gradient(90deg, rgba(10,22,40,.96) 0%, rgba(10,22,40,.86) 42%, rgba(10,22,40,.20) 78%, rgba(10,22,40,.45) 100%);
}

/* The dispatch panel's plate is a near-black street map — it needs a
   lighter scrim than a photograph does, or the lift is wasted. */
#mesh-console > .shot-scrim{
  background:
    linear-gradient(180deg, var(--deep) 0%, rgba(10,22,40,.50) 22%, rgba(10,22,40,.58) 78%, var(--deep) 100%),
    linear-gradient(90deg, rgba(10,22,40,.78) 0%, rgba(10,22,40,.42) 55%, rgba(10,22,40,.66) 100%);
}

/* A hairline of brand light along the top of each photographed band. */
.shot::after{
  content:''; position:absolute; left:0; right:0; top:0; height:1px; z-index:2;
  background:linear-gradient(90deg,transparent,rgba(46,163,242,.55) 30%,rgba(255,45,120,.5) 70%,transparent);
}

/* ---------- section headers ---------- */
.sec-head{ max-width:900px; margin-bottom:clamp(34px,5vh,58px); }
h2.big{
  font-family:'Poppins',sans-serif; font-weight:200; letter-spacing:-.035em; line-height:1.03;
  font-size:clamp(2.1rem,5.2vw,4rem); color:var(--white); margin:0 0 18px;
}
h2.big .em{ font-weight:700; color:var(--aqua); }
h2.big .punc{ color:var(--signal); }
h2.big .lo{ color:var(--mid); font-weight:200; }
.kicker{
  font-family:'Space Grotesk',monospace; text-transform:uppercase; letter-spacing:.26em;
  font-size:clamp(.75rem,1.1vw,.82rem); color:var(--mid); line-height:1.6;
  position:relative; padding-left:19px; margin:0 0 22px;
}
.kicker::before{ content:''; position:absolute; left:0; top:.5em;
  width:7px; height:7px; border-radius:50%; background:var(--signal);
  box-shadow:0 0 10px rgba(255,45,120,.8); }
.kicker .n{ color:var(--aqua); }
.claim{
  font-family:'Poppins',sans-serif; font-weight:700; letter-spacing:.02em; text-transform:uppercase;
  font-size:clamp(1.15rem,2.6vw,2rem); line-height:1.16; color:var(--white); margin:0 0 20px;
}
.claim .em{ color:var(--aqua); }
.claim .punc{ color:var(--signal); }
.big-lede{
  color:var(--silver); font-weight:300;
  font-size:clamp(1.05rem,1.55vw,1.32rem); line-height:1.62; max-width:780px;
}
.big-lede b{ color:var(--white); font-weight:600; }
.big-lede + .big-lede{ margin-top:14px; }
.note{ color:var(--mid); font-size:clamp(.95rem,1.15vw,1.04rem); line-height:1.65; max-width:760px; }
.note b{ color:var(--silver); font-weight:600; }

/* A product panel leads with its own mark, the way the AquaSentinel panel
   does with its wordmark. Product name pink, matching the hero cards. */
.prod-mark{
  position:relative; display:inline-block; font-family:'Poppins',sans-serif; font-weight:200;
  letter-spacing:-.035em; line-height:1; color:var(--white);
  font-size:clamp(2.3rem,5.4vw,4rem); margin:0 0 26px;
}
.prod-mark b{ font-weight:700; color:var(--signal); }
/* The rule sizes itself to the mark, so it always ends flush with it. */
.prod-mark{ display:inline-block; padding-bottom:10px; }
.prod-mark::after{
  content:''; position:absolute; left:0; right:0; bottom:0; height:2px; border-radius:1px;
  background:linear-gradient(90deg,var(--aqua) 0%,var(--aqua-light) 45%,var(--signal) 100%);
  box-shadow:0 0 12px rgba(46,163,242,.35);
}
@media (max-height:960px) and (min-width:901px){
  .prod-mark{ font-size:clamp(2rem,5.6vh,3.4rem); margin-bottom:20px; }
}

/* ---------- the process rail: the core storytelling device ----------
   One horizontal chain of stages, used by every product section so
   the whole site reads as one system.                              */
.rail{
  display:grid; gap:14px; margin:clamp(28px,4vh,44px) 0 0;
  grid-auto-flow:column; grid-auto-columns:1fr;
}
.rail.r4{ grid-template-columns:repeat(4,1fr); grid-auto-flow:row; }
.rail.r5{ grid-template-columns:repeat(5,1fr); grid-auto-flow:row; }
.rail.r6{ grid-template-columns:repeat(6,1fr); grid-auto-flow:row; }
/* No boxes. The stages hang off one continuous rule with a node each —
   the sequence reads as a sequence instead of six identical cards. */
.rail{ position:relative; padding-top:42px; }
.rail::before{
  content:''; position:absolute; top:14px; left:6px; right:6px; height:1px;
  background:linear-gradient(90deg,transparent,rgba(46,163,242,.45) 4%,rgba(46,163,242,.45) 96%,transparent);
}
.rail .st{
  position:relative; border:none; background:none; border-radius:0;
  padding:0 clamp(14px,1.6vw,26px) 0 0; display:flex; flex-direction:column; gap:7px;
  transition:transform .25s ease;
}
.rail .st::after{
  content:''; position:absolute; top:-33px; left:0; width:11px; height:11px;
  border-radius:50%; background:var(--deep); border:2px solid var(--aqua);
  transition:all .25s ease;
}
.rail .st:hover{ transform:translateY(-3px); }
.rail .st:hover::after{ background:var(--aqua); box-shadow:0 0 12px rgba(46,163,242,.6); }
.rail .st .ix{
  font-family:'Space Grotesk',monospace; font-size:.73rem; letter-spacing:.24em; color:var(--mid);
}
.rail .st .ttl{
  font-family:'Poppins',sans-serif; font-weight:600; font-size:clamp(.95rem,1.25vw,1.08rem);
  color:var(--white); line-height:1.25;
}
.rail .st .sub{ color:var(--silver); font-size:.91rem; line-height:1.5; }
.rail .st .sub b{ color:var(--white); font-weight:600; }
/* the live stage is marked on the rule, not by a coloured box */
.rail .st.hot::after{
  border-color:var(--signal); background:var(--signal);
  box-shadow:0 0 14px rgba(255,45,120,.75);
}
.rail .st.hot .ix{ color:var(--signal); }
.rail .st.hot .ttl{ color:#fff; }
.rail .st .icon{ width:26px; height:26px; margin-bottom:2px; }
.rail .st .icon svg{ width:100%; height:100%; display:block; }

@media(max-width:1080px){
  .rail.r6{ grid-template-columns:repeat(3,1fr); }
  .rail.r5{ grid-template-columns:repeat(3,1fr); }
}
@media(max-width:760px){
  /* Mobile: swipeable rail — the stage chain stays a chain, no wall of text. */
  .rail, .rail.r4, .rail.r5, .rail.r6{
    display:flex; grid-template-columns:none;
    overflow-x:auto; scroll-snap-type:x mandatory;
    padding:4px 0 14px; gap:12px;
    -webkit-overflow-scrolling:touch; scrollbar-width:none;
  }
  .rail::-webkit-scrollbar{ display:none; }
  .rail::before{ left:0; right:0; }
  .rail .st{ flex:0 0 min(76vw,290px); scroll-snap-align:start; padding-right:0; }
  .rail .st:last-child{ margin-right:2px; }
}

/* ---------- hero ---------- */
.home-hero .shot-img{ opacity:.26; background-position:center 42%; }
.home-hero .shot-scrim{
  background:
    linear-gradient(180deg, rgba(10,22,40,.86) 0%, rgba(10,22,40,.58) 40%, rgba(10,22,40,.86) 100%),
    radial-gradient(ellipse 70% 60% at 18% 42%, rgba(10,22,40,.9), transparent 70%),
    radial-gradient(ellipse 60% 50% at 82% 18%, rgba(46,163,242,.14), transparent 65%),
    radial-gradient(ellipse 50% 45% at 12% 92%, rgba(255,45,120,.10), transparent 65%);
}
.kpx-mark{
  font-family:'Poppins',sans-serif; font-weight:200; letter-spacing:-.045em; line-height:.92;
  font-size:clamp(3.2rem,10vw,7.4rem); color:var(--white); margin:0 0 clamp(14px,2.4vh,26px);
}
.kpx-mark .x{ font-weight:700; color:var(--signal); }
.kpx-mark .punc{ color:var(--aqua); }
.hero-line{
  font-family:'Poppins',sans-serif; font-weight:200; letter-spacing:-.025em; line-height:1.1;
  font-size:clamp(1.5rem,3.6vw,2.9rem); color:var(--white);
  max-width:24ch; margin:0 0 clamp(18px,2.6vh,28px);
}
.hero-line .em{ font-weight:600; color:var(--aqua); }
.hero-line .punc{ color:var(--signal); font-weight:600; }

/* The one line of copy under the headline — sized to be read across the
   room, not skimmed. */
.hero-claim{
  font-family:'Poppins',sans-serif; font-weight:300; letter-spacing:-.015em;
  font-size:clamp(1.15rem,2.2vw,1.75rem); line-height:1.35; color:var(--silver);
  max-width:30ch; margin:0;
}
.hero-claim b{ font-weight:600; color:var(--white); }
.hero-claim .punc{ color:var(--signal); font-weight:600; }

/* four-offering chain in the hero */
.chain{
  display:grid; grid-template-columns:repeat(4,1fr); gap:18px;
  margin-top:clamp(30px,5vh,58px);
}
.chain a{
  position:relative; text-decoration:none; display:flex; flex-direction:column; gap:10px;
  border:1px solid var(--line); border-radius:20px; padding:30px 28px 26px;
  min-height:clamp(230px,30vh,320px);
  background:linear-gradient(160deg,rgba(255,255,255,.06),rgba(255,255,255,.02));
  backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px);
  transition:border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.chain a:hover{ border-color:rgba(46,163,242,.55); transform:translateY(-4px);
  box-shadow:0 16px 40px rgba(46,163,242,.18); }
.chain a + a::before{
  content:''; position:absolute; left:-11px; top:50%; width:9px; height:9px;
  border-top:1.5px solid rgba(46,163,242,.6); border-right:1.5px solid rgba(46,163,242,.6);
  transform:translateY(-50%) rotate(45deg);
}
.chain .role{
  font-family:'Space Grotesk',monospace; font-size:.78rem; letter-spacing:.26em;
  text-transform:uppercase; color:var(--signal);
}
.chain .nm{
  font-family:'Poppins',sans-serif; font-weight:600; font-size:clamp(1.2rem,2vw,1.6rem);
  color:var(--white); line-height:1.15; display:block; white-space:nowrap;
}
.chain .nm .k{ display:inline; margin-right:0; }
.chain .nm .k{ font-weight:300; color:var(--silver); margin-right:.28em; }
.chain .nm .p{ color:var(--signal); }
.chain .nm .a{ color:var(--aqua); }
.chain .nm .dot{ color:var(--aqua); font-weight:700; }
.chain .nm canvas.kp-globe{ margin:0 .3em; vertical-align:-.12em; }
.chain .dsc{ color:var(--silver); font-size:clamp(.95rem,1.15vw,1.06rem); line-height:1.55; }
.chain .st{
  margin-top:auto; padding-top:16px;
  font-family:'Space Grotesk',monospace; font-size:.76rem; letter-spacing:.18em; color:var(--mid);
}
.chain .st .live{ color:#10B981; }
.chain .st .next{ color:var(--signal); }
@media(max-width:900px){ .chain{ grid-template-columns:1fr 1fr; } .chain a:nth-child(3)::before{ display:none; } }
@media(max-width:520px){ .chain{ grid-template-columns:1fr; } .chain a::before{ display:none !important; } }

.scroll-cue{
  margin-top:clamp(24px,4vh,44px); display:inline-flex; align-items:center; gap:10px;
  font-family:'Space Grotesk',monospace; font-size:.7rem; letter-spacing:.24em; text-transform:uppercase;
  color:var(--mid); text-decoration:none;
}
.scroll-cue .dn{ animation:cue 2.2s ease-in-out infinite; display:inline-block; }
@keyframes cue{ 0%,100%{ transform:translateY(0); opacity:.6 } 50%{ transform:translateY(5px); opacity:1 } }

@media(max-width:640px){
  .home-hero .big-lede{ font-size:1.02rem; line-height:1.55; }
  .kpx-mark{ font-size:clamp(2.9rem,13vw,4rem); }
  .hero-line{ font-size:clamp(1.45rem,7.4vw,2rem); max-width:none; }
  .claim{ font-size:1.15rem; }
  h2.big{ font-size:clamp(1.95rem,8.6vw,2.6rem); }
}

/* ---------- animated mesh backdrop (Mesh section — no photo exists) ---------- */
.meshfield{ position:absolute; inset:0; z-index:0; pointer-events:none; opacity:.5; }
.meshfield svg{ width:100%; height:100%; display:block; }
.meshfield .lnk{ stroke:rgba(46,163,242,.30); stroke-width:.9; fill:none; }
.meshfield .nd{ fill:rgba(46,163,242,.75); }
.meshfield .nd.hot{ fill:var(--signal); }
.meshfield .pulse{ transform-origin:center; animation:nodepulse 3.4s ease-in-out infinite; }
@keyframes nodepulse{ 0%,100%{ opacity:.35 } 50%{ opacity:1 } }
@media(prefers-reduced-motion:reduce){
  .meshfield .pulse, .scroll-cue .dn, .ping{ animation:none !important; }
}

/* ---------- built interface mocks (console / report / phone) ---------- */
.mock{
  border:1px solid var(--line); border-radius:18px; overflow:hidden;
  background:linear-gradient(170deg,#0e2440,#0a1729);
  box-shadow:0 28px 70px rgba(0,0,0,.55), 0 0 0 1px rgba(46,163,242,.08);
}
.mock .bar{
  display:flex; align-items:center; gap:10px; padding:11px 16px;
  background:rgba(255,255,255,.04); border-bottom:1px solid var(--line-soft);
}
.mock .bar .dots{ display:flex; gap:6px; }
.mock .bar .dots i{ width:9px; height:9px; border-radius:50%; background:rgba(255,255,255,.16); }
.mock .bar .ttl{
  font-family:'Space Grotesk',monospace; font-size:.77rem; letter-spacing:.16em;
  text-transform:uppercase; color:var(--mid);
}
.mock .bar .live{
  margin-left:auto; display:inline-flex; align-items:center; gap:6px;
  font-family:'Space Grotesk',monospace; font-size:.7rem; letter-spacing:.2em; color:#10B981;
}
.mock .bar .live::before{ content:''; width:6px; height:6px; border-radius:50%; background:#10B981;
  box-shadow:0 0 8px rgba(16,185,129,.9); }

/* dispatch console */
.console{ display:grid; grid-template-columns:1fr 340px; min-height:420px; }
@media(max-width:820px){ .console{ grid-template-columns:1fr; } }
.console .map{ position:relative; background:#08172b; border-right:1px solid var(--line-soft); min-height:300px; }
@media(max-width:820px){ .console .map{ border-right:none; border-bottom:1px solid var(--line-soft); } }
.console .map svg{ position:absolute; inset:0; width:100%; height:100%; }
.console .map .grid-l{ stroke:rgba(160,180,204,.10); stroke-width:1; }
.console .map .road{ stroke:rgba(160,180,204,.14); stroke-width:1.6; fill:none; }
.console .map .radius{ fill:rgba(46,163,242,.05); stroke:rgba(46,163,242,.38); stroke-dasharray:3 7; stroke-width:1.1; }
.console .map .trade{ fill:var(--aqua); }
.console .map .job{ fill:var(--signal); }
.console .map .ring{
  fill:none; stroke:var(--signal); stroke-width:1.4;
  animation:radar 3.9s cubic-bezier(.22,.61,.36,1) infinite;
}
.console .map .ring.d2{ animation-delay:1.3s; }
.console .map .ring.d3{ animation-delay:2.6s; }
@keyframes radar{
  0%   { r:7;  opacity:.9;  stroke-width:1.8 }
  70%  { opacity:.22 }
  100% { r:78; opacity:0;   stroke-width:.5 }
}
.console .map .job{ filter:drop-shadow(0 0 6px rgba(255,45,120,.9)); }
.console .map .trade{ filter:drop-shadow(0 0 5px rgba(46,163,242,.7)); }
.console .map .trade.live{ animation:tradepulse 2.2s ease-in-out infinite; }
@keyframes tradepulse{ 0%,100%{ r:4.6; opacity:.75 } 50%{ r:6.4; opacity:1 } }

/* the radius turns, so the board reads as live rather than a still */
.console .map .radius.spin{
  transform-box:fill-box; transform-origin:center;
  animation:sweep 26s linear infinite;
}
@keyframes sweep{ to{ transform:rotate(360deg) } }

/* dispatch travelling from the job to the nearest available trade */
.console .map .dispatch-line{
  stroke:rgba(255,45,120,.85); stroke-width:1.6; fill:none;
  stroke-dasharray:5 9; animation:flow 1.1s linear infinite;
}
@keyframes flow{ to{ stroke-dashoffset:-14 } }

.console .map .lbl.hot{ fill:#ff7aa8; letter-spacing:.1em; }
.console .map .lbl.on{ fill:#8fd0ff; }
.console .map .lbl{
  font-family:'Space Grotesk',monospace; font-size:11px; letter-spacing:.12em; fill:var(--mid);
}
.console .feed{ padding:16px 18px; display:flex; flex-direction:column; gap:10px;
  min-height:0; overflow-y:auto; scrollbar-width:none;
  -webkit-mask-image:linear-gradient(180deg,#000 88%,transparent 100%);
          mask-image:linear-gradient(180deg,#000 88%,transparent 100%); }
.console .feed::-webkit-scrollbar{ display:none; }
.console .feed .fh{
  font-family:'Space Grotesk',monospace; font-size:.7rem; letter-spacing:.22em;
  text-transform:uppercase; color:var(--mid); margin-bottom:2px;
}
.jobrow{
  border:1px solid var(--line); border-radius:11px; padding:10px 12px;
  background:rgba(255,255,255,.03); display:flex; flex-direction:column; gap:3px;
}
.jobrow .top{ display:flex; align-items:baseline; gap:8px; }
.jobrow .ref{ font-family:'Space Grotesk',monospace; font-size:.75rem; color:var(--aqua); letter-spacing:.08em; }
.jobrow .badge{
  margin-left:auto; font-family:'Space Grotesk',monospace; font-size:.64rem; letter-spacing:.14em;
  padding:2px 8px; border-radius:999px; text-transform:uppercase;
}
.jobrow .badge.acc{ color:#10B981; border:1px solid rgba(16,185,129,.4); }
.jobrow .badge.dis{ color:var(--aqua); border:1px solid rgba(46,163,242,.4); }
.jobrow .badge.new{ color:var(--signal); border:1px solid rgba(255,45,120,.45); }
.jobrow .adr{ font-size:.87rem; color:var(--white); font-weight:400; }
.jobrow .met{ font-size:.78rem; color:var(--mid); font-family:'Space Grotesk',monospace; letter-spacing:.06em; }

/* ZDR report mock */
.report{ padding:0; }
.report .rhead{
  padding:20px 22px 16px; border-bottom:1px solid var(--line-soft);
  display:flex; justify-content:space-between; align-items:flex-start; gap:16px; flex-wrap:wrap;
}
.report .rhead .zt{ font-family:'Poppins',sans-serif; font-weight:700; font-size:1.3rem; color:var(--aqua-light); }
.report .rhead .zt sup{ color:var(--signal); font-size:.55em; }
.report .rhead .zs{ font-size:.85rem; color:var(--mid); margin-top:3px; }
.report .rhead .meta{ text-align:right; font-family:'Space Grotesk',monospace; font-size:.77rem; line-height:1.9; color:var(--mid); }
.report .rhead .meta b{ color:var(--white); font-weight:500; }
.report .rbody{ padding:18px 22px 22px; display:grid; grid-template-columns:1fr 1fr; gap:20px; }
@media(max-width:760px){ .report .rbody{ grid-template-columns:1fr; } .report .rhead .meta{ text-align:left; } }
.report .blk .bt{
  font-family:'Space Grotesk',monospace; font-size:.68rem; letter-spacing:.2em; text-transform:uppercase;
  color:var(--signal); margin-bottom:9px;
}
.report .shots{ display:grid; grid-template-columns:repeat(3,1fr); gap:7px; }
.report .shots .ph{
  aspect-ratio:4/3; border-radius:7px; border:1px solid var(--line);
  background-size:cover; background-position:center; position:relative; overflow:hidden;
}
.report .shots .ph.more{
  display:flex; align-items:center; justify-content:center;
  background:rgba(46,163,242,.10); color:var(--aqua-light);
  font-family:'Space Grotesk',monospace; font-size:.9rem; letter-spacing:.06em;
}
.report .shots .ph::after{
  content:attr(data-t); position:absolute; left:0; right:0; bottom:0; padding:3px 5px;
  font-family:'Space Grotesk',monospace; font-size:.58rem; letter-spacing:.04em;
  color:rgba(255,255,255,.85); background:linear-gradient(transparent,rgba(0,0,0,.85));
}
.report .tl{ list-style:none; display:flex; flex-direction:column; gap:0; }
.report .tl li{ display:grid; grid-template-columns:50px 1fr; gap:10px; padding:6px 0;
  border-bottom:1px solid var(--line-soft); font-size:.85rem; color:var(--silver); }
.report .tl li:last-child{ border-bottom:none; }
.report .tl .t{ font-family:'Space Grotesk',monospace; color:var(--aqua); font-size:.8rem; }
.report .cost{ list-style:none; }
.report .cost li{ display:flex; justify-content:space-between; gap:12px; padding:6px 0;
  border-bottom:1px solid var(--line-soft); font-size:.87rem; color:var(--silver); }
.report .cost li:last-child{ border-bottom:none; color:var(--white); font-weight:600; }
.report .cost .v{ font-family:'Space Grotesk',monospace; color:var(--white); }
.report .sign{
  margin-top:4px; padding:11px 13px; border-radius:10px;
  border:1px solid rgba(16,185,129,.3); background:rgba(16,185,129,.06);
  font-size:.84rem; color:var(--silver);
}
.report .sign b{ color:#10B981; font-weight:600; }
.mock-cap{
  margin-top:12px; font-family:'Space Grotesk',monospace; font-size:.74rem; letter-spacing:.12em;
  text-transform:uppercase; color:var(--mid);
}

/* phone / alert mock */
.phone{
  width:min(280px,72vw); border-radius:34px; padding:11px;
  background:linear-gradient(165deg,#1c3352,#0b1a2f); border:1px solid var(--line);
  box-shadow:0 30px 70px rgba(0,0,0,.6);
}
.phone .scr{
  border-radius:25px; background:#081527; padding:16px 14px 20px; min-height:400px;
  display:flex; flex-direction:column; gap:12px; border:1px solid rgba(255,255,255,.05);
}
.phone .notch{ width:76px; height:5px; border-radius:3px; background:rgba(255,255,255,.14); margin:0 auto 6px; }
.phone .status{ display:flex; justify-content:space-between;
  font-family:'Space Grotesk',monospace; font-size:.66rem; color:var(--mid); letter-spacing:.1em; }
.alertcard{
  border-radius:14px; padding:13px 14px; border:1px solid rgba(255,45,120,.45);
  background:linear-gradient(155deg,rgba(255,45,120,.16),rgba(255,45,120,.04));
}
.alertcard .ah{ display:flex; align-items:center; gap:8px;
  font-family:'Space Grotesk',monospace; font-size:.68rem; letter-spacing:.18em; color:var(--signal); }
.alertcard .ah::before{ content:''; width:7px; height:7px; border-radius:50%; background:var(--signal);
  box-shadow:0 0 10px rgba(255,45,120,.9); animation:nodepulse 1.6s ease-in-out infinite; }
.alertcard .at{ font-family:'Poppins',sans-serif; font-weight:600; font-size:1rem; color:var(--white); margin:7px 0 3px; }
.alertcard .ab{ font-size:.84rem; color:var(--silver); line-height:1.5; }
.phone .step{
  display:flex; gap:10px; align-items:flex-start; font-size:.84rem; color:var(--silver);
  padding:9px 11px; border-radius:11px; background:rgba(255,255,255,.035); border:1px solid var(--line-soft);
}
.phone .step .k{ font-family:'Space Grotesk',monospace; font-size:.69rem; color:var(--aqua); flex:none; padding-top:1px; }
.phone .step b{ color:var(--white); font-weight:600; }
.phone .done{ border-color:rgba(16,185,129,.3); background:rgba(16,185,129,.07); }
.phone .done .k{ color:#10B981; }

/* ---------- split layouts: copy beside a visual ---------- */
.split{ display:grid; grid-template-columns:1fr 1fr; gap:clamp(28px,4vw,58px); align-items:center; }
.split.lead{ grid-template-columns:1.05fr .95fr; }
.split.narrowvis{ grid-template-columns:1.25fr .75fr; }
@media(max-width:900px){ .split, .split.lead, .split.narrowvis{ grid-template-columns:1fr; gap:32px; } }
.split .vis{ display:flex; justify-content:center; }

/* ---------- the ecosystem journey (PREVENT → … → MANAGE) ---------- */
.journey{ margin-top:clamp(30px,4vh,48px); }
.jstage{
  display:grid; grid-template-columns:repeat(4,1fr); gap:12px;
}
.jstage .js{
  text-align:center; padding:16px 10px 14px; border-radius:14px 14px 0 0;
  border:1px solid var(--line); border-bottom:none;
  background:linear-gradient(180deg,rgba(46,163,242,.14),rgba(46,163,242,.02));
}
.jstage .js .n{ font-family:'Space Grotesk',monospace; font-size:.68rem; letter-spacing:.22em; color:var(--mid); display:block; }
.jstage .js .w{
  font-family:'Poppins',sans-serif; font-weight:700; letter-spacing:.08em; text-transform:uppercase;
  font-size:clamp(.72rem,1.35vw,1rem); color:var(--white); margin-top:6px; display:block;
}
.jrail{ height:3px; border-radius:2px; margin:0 0 14px;
  background:linear-gradient(90deg,rgba(255,45,120,.75),rgba(46,163,242,.9) 45%,rgba(91,184,245,.9) 75%,rgba(46,163,242,.4)); }
.jmap{ display:grid; grid-template-columns:repeat(4,1fr); gap:14px; align-items:start; }
.jprod{
  border:1px solid var(--line); border-radius:14px; padding:16px 16px 15px;
  background:rgba(255,255,255,.03); position:relative;
}
.jprod::before{
  content:''; position:absolute; top:-14px; left:50%; width:1px; height:11px;
  background:rgba(46,163,242,.5);
}
.jprod .pn{ font-family:'Poppins',sans-serif; font-weight:600; font-size:1rem; color:var(--white); margin-bottom:5px; }
.jprod .pn .k{ font-weight:300; color:var(--silver); }
.jprod .pn .p{ color:var(--signal); }
.jprod .pn .a{ color:var(--aqua); }
.jprod .pn .dot,.jbase .bn .dot{ color:var(--aqua); font-weight:700; }
.jbase .bn .p{ color:var(--signal); }
.jprod .pd{ color:var(--silver); font-size:.88rem; line-height:1.5; }
.jprod .tagx{
  display:inline-block; margin-top:9px; font-family:'Space Grotesk',monospace;
  font-size:.71rem; letter-spacing:.14em; padding:4px 11px; border-radius:999px;
}
.jprod .tagx.live{ color:#10B981; border:1px solid rgba(16,185,129,.4); }
.jprod .tagx.next{ color:var(--signal); border:1px solid rgba(255,45,120,.45); }
/* Mesh sits under the whole rail — it is the substrate, not a stage. */
.jbase{
  margin-top:14px; border:1px solid rgba(46,163,242,.35); border-radius:14px;
  background:linear-gradient(120deg,rgba(46,163,242,.12),rgba(46,163,242,.03));
  padding:18px 22px; display:flex; gap:18px; align-items:center; flex-wrap:wrap;
}
.jbase .bn{ font-family:'Poppins',sans-serif; font-weight:600; font-size:1.08rem; color:var(--white); flex:none; }
.jbase .bn .k{ font-weight:300; color:var(--silver); }
.jbase .bn .p{ color:var(--signal); }
.jbase .bd{ color:var(--silver); font-size:.96rem; line-height:1.55; }
.jbase .bd b{ color:var(--white); font-weight:600; }
@media(max-width:900px){
  .jmap{ grid-template-columns:1fr 1fr; }
  /* The stage headers only mean something sitting directly above their
     product. Below 900px they merge into the card instead. */
  .jstage, .jrail{ display:none; }
  .jprod{ padding-top:44px; }
  .jprod::before{
    content:attr(data-stage); position:static; display:block;
    width:auto; height:auto; background:none;
    position:absolute; top:15px; left:16px;
    font-family:'Poppins',sans-serif; font-weight:700; letter-spacing:.1em;
    text-transform:uppercase; font-size:.72rem; color:var(--aqua-light);
  }
}
@media(max-width:560px){ .jmap{ grid-template-columns:1fr; } }

/* ---------- chip strips (stack, coverage, requirements) ---------- */
.chips{ display:flex; flex-wrap:wrap; gap:9px; margin-top:20px; }
.chips span{
  font-family:'Space Grotesk',monospace; font-size:.79rem; letter-spacing:.08em;
  color:var(--silver); border:1px solid var(--line); border-radius:999px;
  padding:7px 14px; background:rgba(255,255,255,.025);
}
.chips span b{ color:var(--aqua); font-weight:500; }

.stackline{
  display:flex; gap:clamp(16px,2.4vw,32px); align-items:center; flex-wrap:wrap;
  margin-top:clamp(14px,2.2vh,24px); padding-top:clamp(12px,2vh,20px);
  border-top:1px solid var(--line-soft);
}

/* ---------- deep-dive link ---------- */
.deeper{
  display:inline-flex; align-items:center; gap:9px; margin-top:26px; text-decoration:none;
  font-family:'Space Grotesk',monospace; font-size:.78rem; letter-spacing:.16em; text-transform:uppercase;
  color:var(--aqua-light); border-bottom:1px solid rgba(46,163,242,.35); padding-bottom:5px;
  transition:color .2s ease, border-color .2s ease;
}
.deeper:hover{ color:var(--white); border-color:var(--signal); }
.deeper .arrow{ transition:transform .2s ease; }
.deeper:hover .arrow{ transform:translateX(4px); }

/* ---------- stat band ---------- */
.statband{ display:grid; grid-template-columns:repeat(4,1fr); gap:16px; margin-top:clamp(28px,4vh,44px); }
@media(max-width:820px){ .statband{ grid-template-columns:1fr 1fr; } }
.statband .s{ border-left:2px solid rgba(46,163,242,.5); padding:4px 0 4px 18px; }
.statband .s .n{
  font-family:'Poppins',sans-serif; font-weight:200; letter-spacing:-.03em;
  font-size:clamp(1.9rem,3.6vw,3rem); color:var(--white); line-height:1.05;
}
.statband .s .l{ color:var(--mid); font-size:.91rem; line-height:1.5; margin-top:7px; }

/* ---------- sensor install map ---------- */
.installs{ display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin-top:22px; }
@media(max-width:700px){ .installs{ grid-template-columns:1fr 1fr; } }
.installs .i{
  border:1px solid var(--line); border-radius:13px; padding:14px 15px;
  background:rgba(255,255,255,.03); display:flex; gap:11px; align-items:flex-start;
}
.installs .i .dot{ flex:none; width:9px; height:9px; border-radius:50%; background:var(--aqua); margin-top:6px;
  box-shadow:0 0 10px rgba(46,163,242,.7); }
.installs .i .n{ font-family:'Poppins',sans-serif; font-weight:600; font-size:.94rem; color:var(--white); }
.installs .i .d{ color:var(--mid); font-size:.85rem; line-height:1.45; margin-top:2px; }

/* ---------- specs ---------- */
.specs{ display:grid; grid-template-columns:repeat(4,1fr); gap:14px; margin-top:20px; }
@media(max-width:700px){ .specs{ grid-template-columns:1fr 1fr; } }
.specs .sp{ border:1px solid var(--line); border-radius:13px; padding:15px 16px; background:rgba(255,255,255,.03); }
.specs .sp .v{ font-family:'Space Grotesk',monospace; font-size:1.15rem; color:var(--aqua); }
.specs .sp .k{ color:var(--mid); font-size:.81rem; margin-top:5px; letter-spacing:.06em; }

/* ---------- join section ---------- */
.joinbox{
  border:1px solid rgba(46,163,242,.3); border-radius:20px;
  background:linear-gradient(150deg,rgba(46,163,242,.10),rgba(255,45,120,.04));
  padding:clamp(26px,4vw,44px); margin-top:clamp(28px,4vh,44px);
}
.joincols{ display:grid; grid-template-columns:repeat(3,1fr); gap:clamp(20px,3vw,38px); }
@media(max-width:860px){ .joincols{ grid-template-columns:1fr; } }
.joincols h4{
  font-family:'Space Grotesk',monospace; font-size:.73rem; letter-spacing:.22em; text-transform:uppercase;
  color:var(--signal); margin-bottom:12px;
}
.joincols ul{ list-style:none; display:flex; flex-direction:column; gap:9px; }
.joincols li{ position:relative; padding-left:20px; color:var(--silver); font-size:.96rem; line-height:1.55; }
.joincols li::before{ content:'▸'; position:absolute; left:0; top:0; color:var(--aqua); }
.joincols li b{ color:var(--white); font-weight:600; }

/* ---------- contact ---------- */
.contact-grid{ display:grid; grid-template-columns:1.15fr .85fr; gap:clamp(28px,4vw,56px); align-items:start; }
@media(max-width:900px){ .contact-grid{ grid-template-columns:1fr; } }
.enq{ display:grid; grid-template-columns:repeat(4,1fr); gap:11px; margin-bottom:20px; }
@media(max-width:1040px){ .enq{ grid-template-columns:1fr 1fr; } }
@media(max-width:560px){ .enq{ grid-template-columns:1fr; } }
.enq label{
  position:relative; display:flex; flex-direction:column; gap:4px; cursor:pointer;
  border:1px solid var(--line); border-radius:13px; padding:15px 16px;
  background:rgba(255,255,255,.03); transition:all .2s ease;
}
.enq label:hover{ border-color:rgba(46,163,242,.45); }
.enq input[type=radio]{ position:absolute; opacity:0; pointer-events:none; }
.enq .t{ font-family:'Poppins',sans-serif; font-weight:600; font-size:.95rem; color:var(--white); }
.enq .d{ color:var(--mid); font-size:.84rem; line-height:1.45; }
.enq input[type=radio]:checked + .t{ color:var(--aqua); }
.enq label:has(input:checked){ border-color:var(--aqua); background:rgba(46,163,242,.10); }
.enq label:has(input:focus-visible){ outline:2px solid var(--aqua-light); outline-offset:2px; }

.field{ display:flex; flex-direction:column; gap:6px; margin-bottom:14px; }
.field label{
  font-family:'Space Grotesk',monospace; font-size:.71rem; letter-spacing:.2em;
  text-transform:uppercase; color:var(--mid);
}
.field input, .field textarea{
  font-family:'Open Sans',sans-serif; font-size:.95rem; font-weight:300; color:var(--white);
  background:rgba(255,255,255,.04); border:1px solid var(--line); border-radius:11px;
  padding:13px 15px; transition:border-color .2s ease, background .2s ease;
}
.field input:focus, .field textarea:focus{
  outline:none; border-color:var(--aqua); background:rgba(46,163,242,.07);
}
.field textarea{ resize:vertical; min-height:118px; }
.field-row{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
@media(max-width:560px){ .field-row{ grid-template-columns:1fr; } }
.hp{ position:absolute; left:-9999px; }

.dircard{ border:1px solid var(--line); border-radius:15px; padding:18px 20px; background:rgba(255,255,255,.03);
  margin-bottom:11px; }
.dircard .nm{ font-family:'Poppins',sans-serif; font-weight:600; font-size:1.02rem; color:var(--white); }
.dircard .rl{ color:var(--mid); font-size:.84rem; margin:2px 0 9px; }
.dircard a{ color:var(--aqua-light); text-decoration:none; font-size:.95rem; display:block; line-height:1.85; }
.dircard a:hover{ color:var(--white); }
.mailto-strip{
  margin-top:18px; border:1px solid rgba(255,45,120,.3); border-radius:15px;
  background:rgba(255,45,120,.06); padding:16px 20px;
}
.mailto-strip .k{
  font-family:'Space Grotesk',monospace; font-size:.7rem; letter-spacing:.2em;
  text-transform:uppercase; color:var(--signal); display:block; margin-bottom:6px;
}
.mailto-strip a{ color:var(--white); text-decoration:none; font-family:'Poppins',sans-serif;
  font-weight:600; font-size:1.02rem; word-break:break-word; }
.mailto-strip a:hover{ color:var(--aqua-light); }
.mailto-strip .d{ color:var(--silver); font-size:.9rem; margin-top:5px; line-height:1.5; }

/* ---------- mid-page CTA band ---------- */
.ctaband{
  border-top:1px solid var(--line-soft); border-bottom:1px solid var(--line-soft);
  background:rgba(46,163,242,.05);
  padding:clamp(28px,4vh,44px) clamp(20px,5vw,80px);
}
.ctaband .inner{ display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap; }
.ctaband .msg{ font-family:'Poppins',sans-serif; font-weight:300; font-size:clamp(1.1rem,2.1vw,1.55rem);
  color:var(--white); max-width:640px; line-height:1.32; }
.ctaband .msg b{ font-weight:600; color:var(--aqua); }
.ctaband .cta-row{ margin-top:0; }

/* ---------- nav: scroll-spy + mobile strip ---------- */
.kpx-nav .links a.active{ color:var(--white); border-bottom:2px solid var(--signal); padding-bottom:2px; }
.kpx-nav .links a.cta{
  color:var(--white); border:1px solid rgba(46,163,242,.55); border-radius:999px;
  padding:6px 14px; background:rgba(46,163,242,.12);
}
.kpx-nav .links a.cta:hover{ background:rgba(46,163,242,.24); color:var(--white); }
.kpx-nav .links a.cta.active{ border-bottom:1px solid rgba(46,163,242,.55); padding-bottom:6px; }
@media(max-width:860px){
  .kpx-nav{ padding:11px clamp(14px,4vw,24px); gap:10px; flex-wrap:nowrap; }
  .kpx-nav .brand{ font-size:.95rem; }
  .kpx-nav .links{
    flex-wrap:nowrap; overflow-x:auto; gap:15px; scrollbar-width:none;
    justify-content:flex-start; -webkit-overflow-scrolling:touch; padding-bottom:2px;
  }
  .kpx-nav .links::-webkit-scrollbar{ display:none; }
  .kpx-nav .links a{ font-size:.7rem; letter-spacing:.06em; }
  .kpx-nav .links a.cta{ padding:5px 10px; }
}

/* ---------- reveal on scroll ---------- */
.js-reveal .rv{ opacity:0; transform:translateY(20px); transition:opacity .55s ease, transform .55s ease; }
.js-reveal .rv.in{ opacity:1; transform:none; }
@media(prefers-reduced-motion:reduce){
  .js-reveal .rv{ opacity:1; transform:none; transition:none; }
}


/* ============================================================
   Panel fit.

   A snap panel is only honest if its content actually fits the
   screen. These steps pull the shared components in as the viewport
   gets shorter — type, padding, card density, mock heights — so a
   panel holds one idea on one screen from a 720px laptop upward,
   instead of quietly spilling past the fold.
   ============================================================ */
@media (max-height:960px) and (min-width:901px){
  .panel{ padding-top:clamp(74px,9.5vh,98px); padding-bottom:clamp(22px,3.4vh,42px); }

  h2.big{ font-size:clamp(1.9rem,4.7vh,3.4rem); }
  .big-lede{ font-size:clamp(1rem,2vh,1.2rem); line-height:1.55; }
  .big-lede + .big-lede{ margin-top:10px; }
  .sec-head{ margin-bottom:clamp(20px,3vh,36px); }
  .claim{ font-size:clamp(1.1rem,2.6vh,1.8rem); margin-bottom:14px; }
  .note{ font-size:clamp(.92rem,1.7vh,1rem); line-height:1.55; }

  .kpx-mark{ font-size:clamp(2.8rem,8vh,6.2rem); margin-bottom:clamp(10px,1.6vh,20px); }
  .hero-line{ font-size:clamp(1.4rem,3.6vh,2.6rem); margin-bottom:clamp(14px,2vh,22px); }
  .hero-claim{ font-size:clamp(1.05rem,2vh,1.45rem); }
  .chain{ margin-top:clamp(22px,3.4vh,44px); }
  .chain a{ padding:24px 22px 20px; gap:8px; min-height:clamp(200px,26vh,270px); }
  .chain .dsc{ font-size:.94rem; line-height:1.5; }
  .scroll-cue{ margin-top:clamp(14px,2vh,26px); }

  .rail{ margin-top:clamp(18px,2.6vh,32px); gap:12px; }
  .rail{ padding-top:36px; }
  .rail .st{ gap:6px; }
  .rail .st::after{ top:-28px; }
  .rail .st .sub{ font-size:.87rem; line-height:1.45; }

  .card{ padding:18px 18px 17px; }
  .card p{ font-size:.89rem; line-height:1.5; }
  .chips{ margin-top:14px; gap:8px; }
  .chips span{ padding:6px 12px; }

  /* dispatch console */
  .console{ min-height:0; height:min(400px,44vh); }
  .console .map{ min-height:0; }
  .console .feed{ padding:12px 14px; gap:8px; }
  .jobrow{ padding:8px 11px; gap:2px; }

  /* ZDR report */
  .report .rhead{ padding:15px 18px 13px; }
  .report .rbody{ padding:14px 18px 18px; gap:16px; }
  .report .tl li{ padding:4px 0; }
  .report .cost li{ padding:4px 0; }
  .report .sign{ padding:9px 11px; }
  .mock-cap{ margin-top:9px; }

  /* AquaSentinel */
  .phone .scr{ min-height:0; gap:10px; padding:14px 12px 16px; }
  .phone .step{ padding:7px 10px; }
  .specs{ margin-top:16px; gap:12px; }
  .specs .sp{ padding:12px 14px; }
  .installs{ margin-top:16px; gap:10px; }
  .installs .i{ padding:11px 13px; }

  .statband{ margin-top:clamp(20px,3vh,36px); gap:14px; }
  .statband .s .n{ font-size:clamp(1.7rem,4.4vh,2.8rem); }

  /* ecosystem */
  .journey{ margin-top:clamp(18px,2.6vh,32px); }
  .jstage .js{ padding:12px 8px 11px; }
  .jprod{ padding:14px 14px 13px; }
  .jbase{ padding:14px 18px; margin-top:12px; }

  /* join */
  .joinbox{ padding:clamp(20px,3vh,32px) clamp(22px,3vw,36px); margin-top:clamp(16px,2.4vh,28px); }
  .joincols{ gap:clamp(18px,2.4vw,32px); }
  .joincols li{ font-size:.91rem; line-height:1.48; }
  .joincols ul{ gap:7px; }
  .cta-row{ margin-top:20px; gap:12px; }
  .btn{ padding:12px 24px; }

  /* contact */
  .enq{ gap:10px; margin-bottom:16px; }
  .enq label{ padding:12px 13px; }
  .field{ gap:5px; margin-bottom:11px; }
  .field-row{ gap:11px; }
  .field input, .field textarea{ padding:10px 13px; }
  .field textarea{ min-height:84px; }
  .dircard{ padding:13px 16px; margin-bottom:9px; }
  .dircard a{ line-height:1.7; }
  .mailto-strip{ padding:13px 16px; }
  .contact-grid{ gap:clamp(22px,3vw,42px); }

  .timeline li{ padding:9px 0; }
  .checks{ gap:8px; }
  .deeper{ margin-top:18px; }
}

/* Shorter still — laptops at 720–800px. */
@media (max-height:870px) and (min-width:901px){
  .panel{ padding-top:clamp(70px,9vh,84px); padding-bottom:clamp(18px,3vh,32px); }
  .rail{ padding-top:32px; }
  .rail .st::after{ top:-25px; }
  .rail .st .sub{ font-size:.83rem; line-height:1.4; }
  .card{ padding:15px 15px 14px; }
  .card p{ font-size:.86rem; }
  .console{ height:min(320px,40vh); }
  .jobrow .adr{ font-size:.84rem; }
  .joincols li{ font-size:.87rem; line-height:1.42; }
  .field textarea{ min-height:70px; }
  .enq .d{ font-size:.79rem; }
  .installs .i .d{ font-size:.81rem; }
  .jprod .pd{ font-size:.84rem; line-height:1.45; }
  .checks li{ font-size:.9rem; }
  .timeline li{ padding:7px 0; }
  .timeline .d, .timeline .t{ font-size:.9rem; }
}


/* Tightest step — 720px-class laptops. */
@media (max-height:790px) and (min-width:901px){
  .panel{ padding-top:clamp(66px,8.6vh,78px); padding-bottom:clamp(14px,2.6vh,26px); }
  .sec-head{ margin-bottom:clamp(14px,2.2vh,26px); }
  .big-lede{ font-size:clamp(.95rem,1.85vh,1.1rem); }
  .joinbox{ padding:16px 22px; }
  .joincols li{ font-size:.84rem; line-height:1.4; }
  .joincols ul{ gap:6px; }
  .joincols h4{ margin-bottom:8px; }
  .cta-row{ margin-top:16px; }
  .btn{ padding:10px 20px; font-size:.9rem; }
  .enq label{ padding:10px 12px; }
  .enq .d{ font-size:.76rem; line-height:1.35; }
  .field{ margin-bottom:9px; }
  .field textarea{ min-height:58px; }
  .field input, .field textarea{ padding:8px 12px; }
  .dircard{ padding:11px 14px; margin-bottom:7px; }
  .mailto-strip{ padding:11px 14px; margin-bottom:12px !important; }
  .report .rbody{ padding:12px 16px 15px; }
  .report .shots .ph{ border-radius:6px; }
  .card{ padding:13px 14px 12px; }
  .card p{ font-size:.84rem; line-height:1.45; }
  .grid2{ gap:11px; }
}


/* Last squeeze — small windows around 720px tall. */
@media (max-height:750px) and (min-width:901px){
  h2.big{ font-size:clamp(1.7rem,4.3vh,2.5rem); }
  .rail{ padding-top:30px; }
  .rail .st::after{ top:-23px; }
  .rail .st .sub{ font-size:.8rem; line-height:1.38; }
  .joincols li{ font-size:.81rem; line-height:1.38; }
  .joincols ul{ gap:5px; }
  .joinbox{ padding:14px 18px; }
  .enq label{ padding:9px 11px; }
  .enq .t{ font-size:.89rem; }
  .enq .d{ font-size:.73rem; }
  .field textarea{ min-height:46px; }
  .field{ margin-bottom:8px; }
  .dircard{ padding:9px 13px; margin-bottom:6px; }
  .dircard a{ font-size:.88rem; line-height:1.55; }
  .dircard .rl{ margin:1px 0 5px; }
  .mailto-strip{ padding:10px 13px; }
  .report .shots .ph{ aspect-ratio:16/10; }
  .report .rhead{ padding:12px 15px 11px; }
  .mock-cap{ margin-top:6px; }
  .deeper{ margin-top:12px; }
}

/* ============================================================
   WebGPU accents — two panels, and only two.

   .gpu-live lands on a panel only after its first frame has drawn.
   Until then — and permanently, if WebGPU is unavailable — the panel
   keeps its static .shot-img or SVG field and nothing changes. Every
   other panel on the page is untouched by any of this.
   ============================================================ */
.kpx-gpu-layer{
  position:absolute; inset:0; width:100%; height:100%;
  z-index:0; pointer-events:none; display:block;
}
.panel.gpu-live > .shot-img{ display:none; }
.panel.gpu-live > .meshfield{ display:none; }


/* The ZDR document itself, scaled into the panel with a soft foot so it
   reads as a page continuing rather than a page cut off. */
.doc{
  position:relative; border-radius:14px; overflow:hidden;
  border:1px solid var(--line); background:#f4f6f9;
  box-shadow:0 28px 70px rgba(0,0,0,.55);
  height:auto; max-height:clamp(380px,64vh,720px);
}
.doc img{ display:block; width:100%; height:auto; }


.whoami{
  font-family:'Space Grotesk',monospace; font-size:.74rem; letter-spacing:.24em;
  text-transform:uppercase; color:var(--signal);
  margin:clamp(20px,3.2vh,34px) 0 0;
}

/* ---------- the founders ----------
   Same language as the stage rails: one hairline across the top, a node
   per person, no card chrome. */
.people{
  position:relative; display:grid; grid-template-columns:repeat(3,1fr);
  gap:clamp(26px,4vw,64px); padding-top:40px; margin-top:clamp(8px,1.4vh,16px);
}
.people::before{
  content:''; position:absolute; top:13px; left:6px; right:6px; height:1px;
  background:linear-gradient(90deg,transparent,rgba(46,163,242,.45) 4%,rgba(46,163,242,.45) 96%,transparent);
}
.person{ position:relative; }
.person::after{
  content:''; position:absolute; top:-32px; left:0; width:11px; height:11px;
  border-radius:50%; background:var(--deep); border:2px solid var(--aqua);
}
.person:nth-child(2)::after{ border-color:var(--signal); background:var(--signal);
  box-shadow:0 0 14px rgba(255,45,120,.6); }
.person .nm{
  font-family:'Poppins',sans-serif; font-weight:600; letter-spacing:-.01em;
  font-size:clamp(1.15rem,1.8vw,1.55rem); color:var(--white); line-height:1.2;
}
.person .role{
  font-family:'Space Grotesk',monospace; font-size:.76rem; letter-spacing:.14em;
  text-transform:uppercase; color:var(--aqua-light); margin:7px 0 12px;
}
.person p{ color:var(--silver); font-size:.95rem; line-height:1.6; }
.person .lic{
  font-family:'Space Grotesk',monospace; font-size:.74rem; letter-spacing:.06em;
  color:var(--mid); margin-top:12px; padding-top:10px;
  border-top:1px solid var(--line-soft);
}
@media(max-width:860px){
  .people{ grid-template-columns:1fr; gap:26px; padding-top:0; }
  .people::before{ display:none; }
  .person{ padding-left:20px; }
  .person::after{ top:6px; left:0; }
}
@media (max-height:960px) and (min-width:901px){
  .people{ padding-top:34px; gap:clamp(22px,3vw,48px); }
  .person::after{ top:-27px; }
  .person p{ font-size:.9rem; line-height:1.55; }
}

h2.big .em .xp, h2.big .xp{ color:var(--signal); font-weight:700; }

.kicker .xp{ color:var(--signal); font-weight:700; }


/* One surviving column reads better as a horizontal strip than as a lone
   narrow list. */
.joincols.one{ grid-template-columns:1fr; }
.joincols.one ul{ flex-direction:row; flex-wrap:wrap; gap:10px 26px; }
.joincols.one li{ padding-left:18px; }
@media(max-width:700px){ .joincols.one ul{ flex-direction:column; gap:8px; } }


/* The form stands alone now — no contact column beside it. */
.contact-solo{ max-width:760px; }
.contact-solo .field textarea{ min-height:120px; }
@media (max-height:960px) and (min-width:901px){ .contact-solo .field textarea{ min-height:96px; } }

h2.big .bdot{ color:var(--aqua); font-weight:600; }


/* The last four boxes on the page. Same language as the rails and the
   founders: a hairline, a node, no chrome. */
.qagrid{ display:grid; grid-template-columns:1fr 1fr; gap:clamp(16px,2.2vw,30px); margin-top:18px; }
@media(max-width:640px){ .qagrid{ grid-template-columns:1fr; gap:18px; } }
.qa{ position:relative; padding-left:20px; }
.qa::before{
  content:''; position:absolute; left:0; top:7px; width:9px; height:9px; border-radius:50%;
  background:var(--deep); border:2px solid var(--aqua);
}
.qa:nth-child(2)::before{ border-color:var(--signal); background:var(--signal);
  box-shadow:0 0 12px rgba(255,45,120,.6); }
.qa h4{
  font-family:'Poppins',sans-serif; font-weight:600; font-size:1.02rem;
  color:var(--white); margin-bottom:7px; line-height:1.25;
}
.qa p{ color:var(--silver); font-size:.92rem; line-height:1.6; }
@media (max-height:960px) and (min-width:901px){
  .qagrid{ gap:clamp(16px,2vw,28px); margin-top:18px; }
  .qa p{ font-size:.88rem; line-height:1.55; }
}

/* product names are pink wherever they appear in a claim line */
.claim .pm{ color:var(--signal); }

@media(prefers-reduced-motion:reduce){
  .console .map .ring,.console .map .trade.live,.console .map .radius.spin,.console .map .dispatch-line{ animation:none; }
}


/* The real sensor, turning behind the hardware panel. One revolution a
   minute and a half — present rather than distracting. */
.sensor-spin{
  position:absolute; z-index:2; pointer-events:none; user-select:none;
  left:2%; bottom:3%;
  width:clamp(300px,34vw,540px); height:auto;
  border-radius:50%;                     /* the source is a white square — clip it to the sensor */
  opacity:.15; filter:saturate(0) contrast(1.05) blur(.6px);
  transform-origin:50% 50%;
  animation:sensorspin 92s linear infinite;
}
@keyframes sensorspin{ from{ transform:rotate(0deg) } to{ transform:rotate(360deg) } }
@media(max-width:900px){ .sensor-spin{ width:min(52vw,300px); left:2%; bottom:2%; opacity:.1; } }
@media(prefers-reduced-motion:reduce){ .sensor-spin{ animation:none; } }


/* ── ZDR report front page ──────────────────────────────────────────
   A markup replica of page one of the real ZDR PDF (the Prize Plumbing
   walk-up, 4 Sep 2026): white page, Kingpin X + boxed ZDR lockup top
   right, business identity top left, title, meta lines, THE FACTS
   label, then label/value pairs. Clipped with a fade so it reads as
   page one of something longer.
   Sample values only — never a real address, phone or email. */
.zdrdoc{
  position:relative; border-radius:12px; overflow:hidden;
  background:#fff; color:#1b2a3d;
  border:1px solid rgba(0,0,0,.08);
  box-shadow:0 28px 70px rgba(0,0,0,.55);
  padding:clamp(20px,2.6vw,34px) clamp(20px,2.8vw,38px) 0;
  font-family:'Poppins',-apple-system,'Segoe UI',Arial,sans-serif;
  max-height:clamp(420px,66vh,760px);
  --zd-label:#7b8ea6;
}
/* The watermark the real PDF prints behind page one — the tradie on
   site with the clipboard, lifted from the report itself. Kept faint
   so every field stays legible; content is lifted above it. */
.zdrdoc::before{
  content:''; position:absolute; inset:0; z-index:0;
  background:url('../images/zdr-watermark.jpg') center 38%/cover no-repeat;
  opacity:.10;
  pointer-events:none;
}
.zdrdoc > *{ position:relative; z-index:1; }
.zdrdoc::after{
  content:''; position:absolute; left:0; right:0; bottom:0; height:90px; z-index:2;
  background:linear-gradient(180deg,rgba(255,255,255,0),#fff 78%);
  pointer-events:none;
}
.zdrdoc .zd-head{ display:flex; align-items:flex-start; gap:16px; flex-wrap:wrap; }
.zdrdoc .zd-biz{ flex:1 1 180px; min-width:0; }
.zdrdoc .zd-biz b{
  display:block; font-size:clamp(.94rem,1.35vw,1.2rem); font-weight:600; color:#16273a; line-height:1.2;
}
.zdrdoc .zd-biz span{
  display:block; margin-top:5px; font-family:'Space Grotesk',monospace;
  font-size:.62rem; letter-spacing:.06em; color:var(--zd-label);
}
.zdrdoc .zd-lock{ text-align:right; flex:none; }
.zdrdoc .zd-brand{
  display:flex; align-items:center; justify-content:flex-end; gap:9px;
  font-size:clamp(1.05rem,1.9vw,1.6rem); font-weight:600; color:#16273a; line-height:1;
}
.zdrdoc .zd-brand i{ font-style:normal; color:var(--signal); }
.zdrdoc .zd-zdr{
  border:2px solid var(--signal); border-radius:7px; padding:5px 9px;
  color:var(--signal); font-weight:700; letter-spacing:.01em; position:relative;
}
.zdrdoc .zd-zdr sup{ font-size:.42em; top:-.9em; position:relative; }
.zdrdoc .zd-kind{
  display:block; margin-top:9px; font-family:'Space Grotesk',monospace;
  font-size:.56rem; letter-spacing:.16em; text-transform:uppercase; color:var(--zd-label);
}
.zdrdoc .zd-rule{ height:1px; background:rgba(27,42,61,.12); margin:clamp(16px,2.2vh,24px) 0; }
.zdrdoc .zd-title{
  margin:0 0 12px; font-size:clamp(1.1rem,2.3vw,1.85rem); font-weight:400;
  color:#16273a; line-height:1.25; letter-spacing:-.01em;
}
.zdrdoc .zd-sub{
  font-family:'Space Grotesk',monospace; font-size:.6rem; letter-spacing:.08em;
  text-transform:uppercase; color:var(--zd-label); line-height:1.9;
}
.zdrdoc .zd-facts{
  font-family:'Space Grotesk',monospace; font-size:.62rem; letter-spacing:.18em;
  text-transform:uppercase; color:#8fb3d9; margin:0 0 4px;
}
.zdrdoc .zd-f{ margin-top:clamp(11px,1.5vh,16px); }
.zdrdoc .zd-f span{
  display:block; font-family:'Space Grotesk',monospace; font-size:.58rem;
  letter-spacing:.14em; text-transform:uppercase; color:var(--zd-label); margin-bottom:3px;
}
.zdrdoc .zd-f p{
  margin:0; font-size:clamp(.8rem,1.1vw,.98rem); line-height:1.5; color:#1b2a3d;
}
