/* =====================================================================
   SoundIT — main stylesheet
   Theme: light by default, html.dark switches every themed token.
   "Night" colours are for sections that stay dark in both themes
   (hero, marquee, page heroes, illustrations, footer).
   ===================================================================== */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
:root{
  --blue:#0057ff;--blue-2:#3a7bff;--blue-soft:#7aaaff;--blue-tint:#e8f0ff;--blue-glow:rgba(0,87,255,.28);
  --green:#22c55e;--amber:#f59e0b;--red:#ef4444;
  --night:#09090f;--night-2:#0d1117;--night-3:#0a1628;

  /* Light theme = "stone": a soft warm grey-white instead of pure #fff (chosen by the user from six tones).
     Page and alt sections step down gently; cards sit slightly lighter so they lift without shadows. */
  --bg:#e2e0db;--bg-alt:#d8d5cf;--card:#e9e7e3;--tile:#dcd9d3;
  --line:#ccc8c0;--line-2:#bfbab1;
  --text:#141418;--text-2:#3c3c44;--muted:#57575f;--faint:#85858c;
  --accent:#0057ff;
  --tag-bg:#d8dce6;--tag-fg:#0047d6;--tag-line:rgba(0,87,255,.16);
  --num:#c6c1b8;
  --hover-shadow:none;
  --nav-solid:rgba(226,224,219,.94);
  /* light-theme tile illustrations (see "Light theme for the tile illustrations") */
  --art-bg:#dcd9d3;--art-surf:#e3e1dc;--art-node:#eceae6;

  --fd:'Sora',sans-serif;--fs:'Instrument Serif',serif;--fb:'DM Sans',sans-serif;
  --nav:5rem;
  /* LAYOUT FRAME — every page lines up on the same left/right edges.
     --gut  side gutter on small screens (phone → laptop)
     --wrap widest the content gets: 80rem (1280px) on laptops, growing to ~82% of the screen
            on bigger monitors, up to 105rem (2100px on a 27")
     --px   inline padding that puts a full-width block's content into the frame:
            the gutter on small screens, or whatever centres --wrap on wide ones.
     Backgrounds (hero art, starfield, marquee, footer colour) stay full-bleed. */
  --gut:clamp(16px,5vw,64px);
  --wrap:clamp(80rem,82vw,105rem);
  --px:max(var(--gut),calc((100% - var(--wrap)) / 2));
  color-scheme:light;
}
/* Laptop → 27": the whole design scales up smoothly (16px at 1440px → 20px at 2560px).
   Almost every size is in rem, so text, spacing, tiles and illustrations grow together. */
html{font-size:clamp(100%,calc(100% + (100vw - 1440px) * .0035714),125%)}
html.dark{
  --bg:#09090f;--bg-alt:#0b0f19;--card:#0d1117;--tile:#111827;
  --line:rgba(122,170,255,.13);--line-2:rgba(255,255,255,.12);
  --text:#f0f2ff;--text-2:rgba(240,242,255,.8);--muted:rgba(240,242,255,.62);--faint:rgba(240,242,255,.42);
  --accent:#7aaaff;
  --tag-bg:rgba(0,87,255,.14);--tag-fg:#9dbdff;--tag-line:rgba(58,123,255,.32);
  --num:#1c2742;
  --hover-shadow:none;
  --nav-solid:rgba(9,9,15,.92);
  color-scheme:dark;
}


html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{background:var(--bg);color:var(--text);font-family:var(--fb);line-height:1.7;overflow-x:hidden;transition:background-color .3s,color .3s}
svg{flex-shrink:0}
::selection{background:var(--blue);color:#fff}

/* ── FRAMED LAYOUT (every page: <html class="framed">) ──────────────
   Up to a 27" screen (160rem) the site fills the whole screen. Wider than
   that, the page stops at --sheet (= exactly how it looks on a 27") and is
   centred, so heroes, bands and banners end at its edges. The space outside
   is an ambient backdrop: packets travelling along an invisible 3rem grid +
   softly pulsing junctions (canvas #bd, js/main.js). */
html.framed{--sheet:2560px;--bd:#d6d3cd;background-color:var(--bd)}
html.framed.dark{--bd:#05060b}
/* edge = a single faint hairline (no drop shadow — it read as a dark band either side) */
html.framed body{max-width:var(--sheet);margin:0 auto;position:relative;box-shadow:0 0 0 1px var(--line)}
html.framed.dark body{box-shadow:0 0 0 1px rgba(122,170,255,.08)}
/* the nav is fixed, so its % padding resolves against the screen — measure the frame from the sheet instead */
html.framed #nav{width:min(100%,var(--sheet));margin-inline:auto;padding-inline:max(var(--gut),calc((min(100%,var(--sheet)) - var(--wrap)) / 2))}
.bd{position:fixed;top:0;height:100%;z-index:-1;pointer-events:none;will-change:transform}  /* left/width set per side strip by main.js */

/* ── ACCESSIBILITY HELPERS ───────────────────────────────────────── */
.skip-link{position:absolute;top:-999px;left:5%;background:var(--blue);color:#fff;padding:0.75rem 1.25rem;border-radius:0 0 0.5rem 0.5rem;font-family:var(--fd);font-weight:700;font-size:.9rem;z-index:9999;text-decoration:none}
.skip-link:focus{top:0}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
a:focus-visible,button:focus-visible{outline:2px solid var(--blue-2);outline-offset:3px;border-radius:0.25rem}

/* ── CURSOR (desktop pointer only — enabled by JS) ───────────────── */
#cur,#curR{position:fixed;left:0;top:0;border-radius:50%;pointer-events:none;z-index:9999;transform:translate(-50%,-50%);opacity:0;transition:width .18s,height .18s,opacity .25s;will-change:transform}
#cur{width:0.625rem;height:0.625rem;background:var(--blue)}
#curR{width:2.25rem;height:2.25rem;border:1.5px solid var(--blue);z-index:9998}
html.cursor-on #cur{opacity:1}
html.cursor-on #curR{opacity:.3}
html.dark.cursor-on #cur{background:var(--blue-2)}
html.dark.cursor-on #curR{opacity:.5;border-color:var(--blue-2)}
html.cursor-hover #cur{width:1.125rem;height:1.125rem}
html.cursor-hover #curR{width:3.375rem;height:3.375rem}

/* ── NAV ─────────────────────────────────────────────────────────── */
#nav{position:fixed;inset:0 0 auto;height:var(--nav);padding:0 var(--px);z-index:500;display:flex;align-items:center;justify-content:space-between;gap:1.5rem;transition:background .35s,box-shadow .35s}
#nav.solid,#nav.menu-open{background:var(--nav-solid);backdrop-filter:blur(1.25rem);-webkit-backdrop-filter:blur(1.25rem);box-shadow:0 1px 0 var(--line)}
.logo{display:flex;align-items:center;text-decoration:none}
/* Brand-kit lockup (img/brand): on-dark over the dark hero and in dark mode, on-light on the solid light nav */
.logo .lk{display:block;height:4.125rem;width:auto}
.logo .lk-d,html.dark .logo .lk-l,#nav:not(.solid):not(.menu-open) .logo .lk-l{display:none}
html.dark .logo .lk-d,#nav:not(.solid):not(.menu-open) .logo .lk-d{display:block}

.nl{display:flex;align-items:center;gap:1.8rem;list-style:none}
.nl a{font-size:.9rem;font-weight:500;color:var(--muted);text-decoration:none;position:relative;transition:color .2s;padding:0.25rem 0;white-space:nowrap}
.nl a::after{content:'';position:absolute;bottom:-3px;left:0;width:0;height:2px;background:var(--blue);border-radius:2px;transition:width .25s}
.nl a:hover,.nl a.on{color:var(--accent)}
.nl a:hover::after,.nl a.on::after{width:100%}
.nl a.ncta{background:var(--blue);color:#fff;padding:0.625rem 1.375rem;border-radius:0.5625rem;font-weight:600;transition:transform .2s,background-color .2s}
.nl a.ncta::after{display:none}
.nl a.ncta:hover{color:#fff;transform:translateY(-1px)}
.nl a.ncta.on{box-shadow:0 0 0 3px rgba(0,87,255,.35)}

.nact{display:flex;align-items:center;gap:0.625rem}
.tbtn{width:2.5rem;height:2.5rem;border-radius:50%;border:1.5px solid var(--line-2);background:transparent;color:var(--text-2);cursor:pointer;display:grid;place-items:center;transition:border-color .2s,background .2s,color .2s}
.tbtn svg{width:1.125rem;height:1.125rem;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.tbtn:hover{border-color:var(--blue);background:var(--tag-bg)}

.hbg{display:none;flex-direction:column;gap:0.3125rem;cursor:pointer;background:none;border:2px solid transparent;border-radius:0.375rem;padding:0.375rem}
.hbg span{display:block;width:1.5rem;height:2px;background:var(--text);border-radius:2px;transition:.3s}
.hbg[aria-expanded="true"] span:nth-child(1){transform:translateY(0.4375rem) rotate(45deg)}
.hbg[aria-expanded="true"] span:nth-child(2){opacity:0;transform:scaleX(0)}
.hbg[aria-expanded="true"] span:nth-child(3){transform:translateY(-0.4375rem) rotate(-45deg)}

/* Transparent nav sits over a dark hero on every page → light text until scrolled */
#nav:not(.solid):not(.menu-open) .nl a:not(.ncta){color:rgba(255,255,255,.72)}
#nav:not(.solid):not(.menu-open) .nl a:not(.ncta):hover,
#nav:not(.solid):not(.menu-open) .nl a.on:not(.ncta){color:#fff}
#nav:not(.solid):not(.menu-open) .nl a::after{background:var(--blue-soft)}
#nav:not(.solid):not(.menu-open) .tbtn{border-color:rgba(255,255,255,.2);color:rgba(255,255,255,.75)}
#nav:not(.solid):not(.menu-open) .tbtn:hover{background:rgba(255,255,255,.08)}
#nav:not(.solid):not(.menu-open) .hbg span{background:#fff}

/* ── BUTTONS ─────────────────────────────────────────────────────── */
.bg{background:var(--blue);color:#fff;padding:0.9375rem 1.875rem;border-radius:0.625rem;border:none;font-family:var(--fd);font-size:.92rem;font-weight:700;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:0.5rem;transition:transform .2s,box-shadow .2s}
.bg:hover{transform:translateY(-3px)}
.bg svg,.bw svg,.tlink svg{width:1rem;height:1rem;fill:none;stroke:currentColor;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}
.bw{background:transparent;color:#fff;padding:0.9375rem 1.875rem;border-radius:0.625rem;border:1.5px solid rgba(255,255,255,.25);font-family:var(--fd);font-size:.92rem;font-weight:600;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:0.5rem;transition:border-color .2s,background .2s}
.bw:hover{border-color:rgba(255,255,255,.6);background:rgba(255,255,255,.06)}
.bo{background:transparent;color:var(--text);padding:0.875rem 1.75rem;border-radius:0.625rem;border:1.5px solid var(--line-2);font-family:var(--fd);font-size:.9rem;font-weight:700;text-decoration:none;display:inline-flex;align-items:center;gap:0.5rem;transition:border-color .2s,background .2s,color .2s}
.bo:hover{border-color:var(--blue);color:var(--accent);background:var(--tag-bg)}
.bo svg{width:1rem;height:1rem;fill:none;stroke:currentColor;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s}
.bo:hover svg{transform:translateX(3px)}
/* Home hero buttons: same outline style, but the hero is dark in both themes, so they keep the dark-theme colours */
.hero .bo,.dh .bo{color:#f0f2ff;border-color:rgba(255,255,255,.12)}
.hero .bo:hover,.dh .bo:hover{border-color:var(--blue);color:#7aaaff;background:rgba(0,87,255,.14)}

/* ── HOME HERO ───────────────────────────────────────────────────── */
.hero{--fw:min(100% - 2 * var(--gut),var(--wrap));--hcw:calc(var(--fw) * .44);--hbot:8.25rem;position:relative;min-height:min(100vh,75rem);min-height:min(100svh,75rem);display:flex;flex-direction:column;justify-content:flex-end;overflow:hidden;background:var(--night);color-scheme:dark}
#hc{position:absolute;inset:0;width:100%;height:100%;z-index:1;touch-action:pan-y}
/* Intro text: left column beside the constellation (desktop) */
.hcont{position:absolute;z-index:2;left:var(--px);top:calc(var(--nav) + 2.25rem);bottom:var(--hbot);width:var(--hcw);display:flex;flex-direction:column;justify-content:center;align-items:flex-start;pointer-events:none}
.hcont a,.hcont button{pointer-events:auto}
.htag{display:inline-flex;align-items:center;gap:0.5rem;background:rgba(0,87,255,.16);border:1px solid rgba(0,87,255,.38);color:#9dbdff;font-size:.74rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase;padding:0.375rem 0.875rem;border-radius:6.25rem;margin-bottom:1.2rem;animation:fu .8s ease both}
.tdot{width:0.375rem;height:0.375rem;background:var(--green);border-radius:50%;animation:pulse 2s ease infinite}
.hbanner h1 em,.ctac h2 em,.ahov h1 em,.chov h1 em,.dh h1 em{font-family:var(--fs);font-weight:400;font-style:italic;color:var(--blue-soft);letter-spacing:-.01em}
.hcont h1{font-family:var(--fd);font-weight:800;font-size:clamp(2.1rem,3.4vw,3.9rem);line-height:1.06;letter-spacing:-.03em;color:#fff;margin-bottom:.8rem;animation:fu .8s .1s ease both}
.hcont h1 em{font-family:var(--fs);font-weight:400;font-style:italic;color:var(--blue-soft);letter-spacing:-.01em}
.hdef{font-family:var(--fs);font-style:italic;font-size:clamp(1.02rem,1.25vw,1.3rem);color:rgba(255,255,255,.55);margin-bottom:1.1rem;animation:fu .8s .15s ease both}
.hdef b{font-family:var(--fd);font-style:normal;font-weight:700;color:#fff;margin-right:.15em}
.hdef span{opacity:.8}
.hero p.lead{color:rgba(255,255,255,.72);font-size:clamp(1rem,calc(1.05vw + .2rem),1.4rem);line-height:1.7;max-width:40rem;margin-bottom:1.8rem;animation:fu .8s .2s ease both}
.hbtns{display:flex;gap:1rem;flex-wrap:wrap;animation:fu .8s .3s ease both}

/* Heading banner — a slim centred strip just under the menu */
.hbanner{position:absolute;top:var(--nav);left:0;right:0;z-index:2;padding:0.875rem 5%;pointer-events:none;background:rgba(0,87,255,.07);border-top:1px solid rgba(255,255,255,.05);border-bottom:1px solid rgba(255,255,255,.05);animation:fu .8s ease both}
.hbanner h1{display:flex;align-items:center;justify-content:center;gap:1.4rem;font-family:var(--fd);font-weight:700;font-size:clamp(1.15rem,2.1vw,1.75rem);line-height:1.3;letter-spacing:-.015em;color:#fff;text-align:center}
.hbanner h1::before,.hbanner h1::after{content:'';flex:1;max-width:15rem;height:1px;background:linear-gradient(90deg,transparent,rgba(122,170,255,.6))}
.hbanner h1::after{background:linear-gradient(90deg,rgba(122,170,255,.6),transparent)}
.hbanner h1 em{font-size:1.15em;padding:0 .05em}

/* Box the interactive dot network is laid out in (read by js/main.js) */
.hstage{position:absolute;z-index:2;top:calc(var(--nav) + 2.25rem);bottom:var(--hbot);left:calc(var(--px) + var(--fw) * .46);right:var(--px);pointer-events:none}

.hint{position:absolute;bottom:0;left:50%;transform:translateX(-50%);z-index:3;display:flex;white-space:nowrap;align-items:center;gap:0.5rem;pointer-events:none;animation:hintPulse 2.2s ease-in-out infinite;transition:opacity .5s}
.hint i{width:0.4375rem;height:0.4375rem;background:var(--blue);border-radius:50%}
.hint span{font-family:var(--fd);font-size:.7rem;font-weight:600;color:rgba(255,255,255,.5);letter-spacing:.08em;text-transform:uppercase}
.hint.gone{opacity:0!important;animation:none}
.hwin{display:none;position:absolute;left:50%;top:50%;transform:translateX(-50%);z-index:3;background:rgba(9,9,15,.9);backdrop-filter:blur(1rem);border:1px solid var(--green);border-radius:1rem;padding:1.25rem 1.75rem;text-align:center}
.hwin.show{display:block;animation:successPop .4s ease}
.hwin strong{display:block;font-family:var(--fd);font-weight:800;font-size:.95rem;color:var(--green);margin:0.375rem 0 0.25rem}
.hwin a{font-family:var(--fd);font-size:.78rem;color:var(--blue-soft);text-decoration:none}
.hwin a:hover{color:#fff}
.hwin svg{width:1.875rem;height:1.875rem;margin:0 auto;fill:none;stroke:var(--green);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

/* Stats banner — floating glass bar at the foot of the hero */
.hstats{position:absolute;bottom:0;left:0;right:0;z-index:2;display:grid;grid-template-columns:repeat(4,1fr);padding:0 var(--px);background:rgba(16,19,28,.86);border-top:1px solid rgba(255,255,255,.09);animation:fu .8s .5s ease both}
.hs{border-right:1px solid rgba(255,255,255,.05);padding:1.375rem 1.25rem;text-align:center;transition:background .3s}
.hs:first-child{border-left:1px solid rgba(255,255,255,.05)}
.hs:last-child{border-right:1px solid rgba(255,255,255,.05)}
.hs:hover{background:rgba(0,87,255,.14)}
.hn{font-family:var(--fd);font-weight:800;font-size:clamp(1.5rem,2.4vw,2rem);color:#fff;line-height:1;display:block;margin-bottom:0.375rem;font-variant-numeric:tabular-nums}
.hl{font-size:.74rem;color:rgba(255,255,255,.5);text-transform:uppercase;letter-spacing:.08em}

/* ── KEYFRAMES ───────────────────────────────────────────────────── */
@keyframes fu{from{opacity:0;transform:translateY(1.75rem)}to{opacity:1;transform:none}}
@keyframes pulse{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.35;transform:scale(.65)}}
@keyframes hintPulse{0%,100%{opacity:.55}50%{opacity:1}}
@keyframes successPop{from{transform:translateX(-50%) scale(.8);opacity:0}to{transform:translateX(-50%) scale(1);opacity:1}}
@keyframes fl{0%,100%{transform:translateY(0)}50%{transform:translateY(-0.625rem)}}
@keyframes mq{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@keyframes spin{to{transform:rotate(360deg)}}
@keyframes dashflow{to{stroke-dashoffset:-20}}
@keyframes blink{0%,100%{opacity:.25}50%{opacity:1}}
@keyframes grow{from{transform:scaleY(.15)}to{transform:scaleY(1)}}
@keyframes draw{from{stroke-dashoffset:var(--len,400)}to{stroke-dashoffset:0}}
@keyframes popIn{from{opacity:0;transform:translateY(0.875rem) scale(.98)}to{opacity:1;transform:none}}

/* Paused while off screen (toggled by js/main.js) */
.anim-off,.anim-off *{animation-play-state:paused!important}

/* Shared SVG animation helpers (used inside illustrations) */
.a-spin{animation:spin 9s linear infinite;transform-box:fill-box;transform-origin:center}
.a-dash{animation:dashflow 1.6s linear infinite}
.a-dash.slow{animation-duration:2.6s}
.a-blink{animation:blink 2.4s ease-in-out infinite}
/* Home automation flow: the packet glides at constant speed over the boxes; each box (glow + status dot) lights up as the packet passes its centre. 6s cycle, 1.2s per step. */
.a-pk{animation:a-hop 6s linear infinite}
@keyframes a-hop{0%{opacity:0;transform:translateX(0)}2%{opacity:1}79%{opacity:1}80%{transform:translateX(400px)}86%{opacity:0;transform:translateX(430px)}86.1%,100%{opacity:0;transform:translateX(0)}}
.a-nd{opacity:0;animation:a-glow 6s ease-out infinite}.a-dt{opacity:.35;animation:a-dot 6s ease-out infinite}:is(.a-nd,.a-dt).n2{animation-delay:1.2s}:is(.a-nd,.a-dt).n3{animation-delay:2.4s}:is(.a-nd,.a-dt).n4{animation-delay:3.6s}:is(.a-nd,.a-dt).n5{animation-delay:4.8s}
@keyframes a-glow{0%{opacity:0}4%{opacity:1}18%,100%{opacity:0}}
@keyframes a-dot{0%{opacity:.35}4%{opacity:1}30%,100%{opacity:.35}}
html:not(.dark) .scart .a-pk{fill:#0057ff}
.a-blink.d1{animation-delay:.6s}.a-blink.d2{animation-delay:1.2s}.a-blink.d3{animation-delay:1.8s}
.a-grow{animation:grow 1.2s cubic-bezier(.2,.8,.2,1) both;transform-box:fill-box;transform-origin:bottom}
.a-float{animation:fl 5s ease-in-out infinite}

/* ── REVEAL (only hidden when JS is running) ─────────────────────── */
html.js .rv{opacity:0;transform:translateY(1.875rem);transition:opacity .65s ease,transform .65s ease}
html.js .rv.show{opacity:1;transform:none}
.d1{transition-delay:.08s}.d2{transition-delay:.16s}.d3{transition-delay:.24s}.d4{transition-delay:.32s}

/* ── SECTION SCAFFOLD ────────────────────────────────────────────── */
.sec{padding:6.875rem var(--px)}
.slb{font-family:var(--fd);font-size:.72rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--accent);margin-bottom:.8rem}
.stt{font-family:var(--fd);font-weight:800;font-size:clamp(1.9rem,3.3vw,3rem);line-height:1.1;letter-spacing:-.025em;color:var(--text);margin-bottom:1rem}
.stt em{font-family:var(--fs);font-weight:400;font-style:italic;color:var(--accent)}
.ssb{color:var(--muted);font-size:1.02rem;max-width:35rem;margin-bottom:3.2rem;line-height:1.75}
.shead{display:flex;justify-content:space-between;align-items:flex-end;gap:2rem;flex-wrap:wrap;margin-bottom:3.2rem}
.shead .ssb{margin-bottom:0}

/* ── MARQUEE (technology banner) ─────────────────────────────────── */
.mstrip{background:var(--night-2);padding:3.5rem var(--px) 3.25rem;overflow:hidden;color-scheme:dark;border-top:1px solid rgba(255,255,255,.04);border-bottom:1px solid rgba(255,255,255,.04)}
.mstrip h2{font-family:var(--fd);font-size:.7rem;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:rgba(255,255,255,.42);text-align:center;margin-bottom:2.2rem;padding:0 var(--gut)}
.mwrap{overflow:hidden;-webkit-mask-image:linear-gradient(to right,transparent,#000 12%,#000 88%,transparent);mask-image:linear-gradient(to right,transparent,#000 12%,#000 88%,transparent)}
.mwrap+.mwrap{margin-top:0.875rem}
.mq{display:flex;width:max-content}
.mq.ready{animation:mq var(--dur,40s) linear infinite}
.mq.rev.ready{animation-direction:reverse}
.mwrap:hover .mq{animation-play-state:paused}
.mc{display:flex;align-items:center;gap:0.6875rem;margin:0 0.4375rem;padding:0.6875rem 1.25rem;white-space:nowrap;font-family:var(--fd);font-size:.84rem;font-weight:600;color:rgba(255,255,255,.62);background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.07);border-radius:6.25rem;flex-shrink:0;transition:color .3s,border-color .3s,background .3s}
.mc:hover{color:#fff;border-color:rgba(0,87,255,.45);background:rgba(0,87,255,.1)}
.mc .ic{width:1.0625rem;height:1.0625rem;color:var(--blue-soft);opacity:.75;transition:opacity .3s,transform .3s}
.mc:hover .ic{opacity:1;transform:scale(1.1)}
.mlink{text-align:center;margin-top:2rem}
.mlink a{font-family:var(--fd);font-size:.8rem;font-weight:600;color:var(--blue-soft);text-decoration:none;display:inline-flex;align-items:center;gap:0.375rem}
.mlink a:hover{color:#fff}
.mlink svg{width:0.875rem;height:0.875rem;fill:none;stroke:currentColor;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}

/* Category icon (sprite in js/icons.js — our own line icons, no third-party logos) */
.ic{width:1.5rem;height:1.5rem;display:block}

/* ── BENTO (home services overview) ──────────────────────────────── */
/* Two rows: Automation (8/12) + Security (4/12), then the four outcome tiles side by side (3/12 each) */
.bento{display:grid;grid-template-columns:repeat(12,1fr);gap:1rem}
.bento .sc{grid-column:span 3}
.sc{background:var(--card);border:1px solid var(--line);border-radius:1.25rem;padding:1.875rem 1.75rem;position:relative;overflow:hidden;transition:transform .3s,box-shadow .3s,border-color .3s,background-color .3s}
.sc:hover{transform:translateY(-0.25rem);border-color:rgba(0,87,255,.28)}
.bento .sc.w2{grid-column:span 8}
.bento .sc{display:flex;flex-direction:column}
.bento .sc>.tlink,.bento .sc.w2 .tlink,.bento .sc.dk .tlink{grid-column:1/-1;align-self:end;justify-self:end;padding-top:0.75rem}  /* bottom-right, as on the quote tiles */
.sc.dk .tlink{color:var(--blue-soft)}
/* text block: icon beside the heading (owner 2026-10-15, as on Services), description and link below at full width */
.bento .sc:not(.w2,.dk),.sc.dk>div:last-child,.sc.w2>div:last-child{display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-rows:auto auto 1fr;column-gap:1rem;align-items:center}
.bento .sc .sci{margin-bottom:0}
.bento .sc h3{margin-bottom:0}
.bento .sc p{grid-column:1/-1;align-self:start;margin-top:1rem}
/* Side by side, the Automation and Security tiles share two grid rows (art | text), so both art panels are exactly the same height:
   the Automation art sets the row height and the radar panel (contain:size, no height of its own) stretches to match. */
@media (min-width:901px){.bento .sc.w2,.bento .sc.dk{display:grid;grid-row:span 2;grid-template-rows:subgrid;row-gap:0}.bento .sc.dk .scvis{contain:size}.bento .sc.dk .scvis svg{width:auto;height:min(100%,12.5rem);max-width:100%}.bento .sc.dk .scvis svg.wide{width:100%;height:100%;max-width:none}}
/* tiles side by side share their heading / description / link rows (subgrid), so a two-line heading in one tile
   keeps every description in that row starting at the same height */
@media (min-width:901px){
  .bento .sc.w2,.bento .sc.dk{grid-row:span 4}
  .sc.dk>div:last-child,.sc.w2>div:last-child{grid-row:span 3;grid-template-rows:subgrid}
  .bento .sc:not(.w2,.dk){grid-row:span 3;grid-template-rows:subgrid;row-gap:0}
}
.bento .sc.dk{grid-column:span 4}
.sc.dk{background:var(--card);border-color:var(--line);display:flex;flex-direction:column;color-scheme:dark}
.sci{width:3.125rem;height:3.125rem;border-radius:0.875rem;background:var(--tag-bg);display:grid;place-items:center;margin-bottom:1.1rem}
.sci svg{width:1.5625rem;height:1.5625rem;stroke:var(--accent);fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.sc.dk .sci{background:rgba(0,87,255,.2)}
.sc.dk .sci svg{stroke:var(--blue-soft)}
.sc h3{font-family:var(--fd);font-weight:700;font-size:1.1rem;color:var(--text);margin-bottom:.5rem;letter-spacing:-.01em;text-wrap:pretty}
.sc.dk h3{color:#fff}
.sc p{font-size:.9rem;color:var(--muted);line-height:1.7}
.sc.dk p{color:rgba(255,255,255,.6)}
.sctags{display:flex;flex-wrap:wrap;gap:0.375rem;margin-top:1rem}
.stg,.tg{background:var(--tag-bg);color:var(--tag-fg);border:1px solid var(--tag-line);font-family:var(--fd);font-size:.72rem;font-weight:600;padding:3px 0.6875rem;border-radius:6.25rem;white-space:nowrap}
.sc.dk .stg{background:rgba(0,87,255,.18);color:#9dbdff;border-color:rgba(58,123,255,.32)}
.scart{width:100%;border-radius:0.75rem;overflow:hidden;margin-bottom:1.3rem;background:var(--night);border:1px solid rgba(0,87,255,.12)}
.scart svg{width:100%;height:auto;display:block}
/* Light theme: the security tile becomes an ordinary card (its art is remapped below) */
html:not(.dark) .sc.dk{background:var(--card);border-color:var(--line);color-scheme:light}
html:not(.dark) .sc.dk h3{color:var(--text)}
html:not(.dark) .sc.dk p{color:var(--muted)}
html:not(.dark) .sc.dk .tlink{color:var(--accent)}
html:not(.dark) .sc.dk .sci{background:var(--blue-tint)}
html:not(.dark) .sc.dk .sci svg{stroke:var(--blue)}
.scvis{flex:1;display:flex;align-items:center;justify-content:center;padding:1.25rem;margin-bottom:1.3rem;border-radius:0.75rem;overflow:hidden;background:var(--night);border:1px solid rgba(0,87,255,.12)}  /* same art panel as .scart */
.scvis svg{width:min(100%,12.5rem);height:auto;overflow:visible}
.scvis svg.wide{width:100%;max-width:28rem}  /* Home security art: devices | shield | Essential Eight panel */
.bento-foot{display:flex;justify-content:center;margin-top:2.6rem}

/* ── "SOUND FAMILIAR?" challenge cards ───────────────────────────── */
.pains{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}
.pain{position:relative;overflow:hidden;background:var(--card);border:1px solid var(--line);border-radius:1.25rem;padding:1.75rem 1.625rem 1.5rem;display:flex;flex-direction:column;transition:border-color .3s,box-shadow .3s,transform .3s}
.pain:hover{border-color:rgba(0,87,255,.28);transform:translateY(-0.25rem)}
.pain q{font-family:var(--fs);font-style:italic;font-size:1.32rem;line-height:1.35;color:var(--text);quotes:'\201C' '\201D';display:block;margin-bottom:1.2rem}
.pain .fix{margin-top:auto;padding-top:1.1rem;border-top:1px dashed var(--line-2);display:flex;gap:0.75rem;align-items:flex-start}
.pain .fix i{width:1.875rem;height:1.875rem;border-radius:0.5625rem;background:var(--tag-bg);display:grid;place-items:center;flex-shrink:0;margin-top:2px}
.pain .fix i svg{width:1rem;height:1rem;stroke:var(--accent);fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.pain .fix p{font-size:.88rem;color:var(--muted);line-height:1.6}
.pain .fix strong{display:block;font-family:var(--fd);font-weight:700;font-size:.86rem;color:var(--text);margin-bottom:2px}
.pain .tlink{margin-top:.9rem;align-self:flex-end}  /* link sits bottom-right of the quote tile (owner 2026-10-15) */
.tlink{display:inline-flex;align-items:center;gap:0.375rem;font-family:var(--fd);font-size:.78rem;font-weight:700;color:var(--accent);text-decoration:none}
.tlink svg{width:0.8125rem;height:0.8125rem;transition:transform .2s}
.tlink:hover svg{transform:translateX(3px)}

/* ── HOW WE WORK + WHY US ────────────────────────────────────────── */
.why{background:var(--bg-alt);padding:6.875rem 0;transition:background-color .3s}
.why.tight{padding:4.1875rem 0}  /* Home: the status badges stick out 1.5rem above / below the card; half the old empty space above and below them (owner 2026-10-15) */
.whin{padding:0 var(--px);display:grid;grid-template-columns:1fr 1fr;gap:5rem;align-items:center}
.wvis{position:relative}
.tlp{position:relative;border-radius:1.5rem;overflow:hidden;background:var(--night);padding:2.5rem 2.125rem;border:1px solid rgba(0,87,255,.14);color-scheme:dark}
.tlp>*{position:relative}
.tlp-h{margin-bottom:2.125rem}
.tlp-h small{display:block;font-family:var(--fd);font-size:.68rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--blue-soft);margin-bottom:.5rem}
.tlp-h strong{font-family:var(--fd);font-size:1.3rem;font-weight:800;color:#fff;letter-spacing:-.02em;line-height:1.3;display:block}
.step{display:flex;gap:1.25rem;align-items:flex-start}
.step-rail{display:flex;flex-direction:column;align-items:center;flex-shrink:0;align-self:stretch}
.step-ic{width:2.75rem;height:2.75rem;border-radius:50%;background:#0d1b35;border:1.5px solid var(--blue);display:grid;place-items:center;flex-shrink:0}
.step-ic svg{width:1.25rem;height:1.25rem;fill:none;stroke:var(--blue-soft);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.step:first-of-type .step-ic{background:var(--blue)}
.step:first-of-type .step-ic svg{stroke:#fff}
.step-line{width:1.5px;flex:1;min-height:1.375rem;margin:0.375rem 0;background:linear-gradient(to bottom,rgba(0,87,255,.6),rgba(0,87,255,.08))}
.step-tx{padding:0.5rem 0 1.625rem}
.step-tx b{display:block;font-family:var(--fd);font-weight:700;font-size:.95rem;color:#fff;margin-bottom:3px}
.step-tx p{font-size:.84rem;color:rgba(255,255,255,.55);line-height:1.6}
.step.done .step-ic{background:#052e16;border-color:var(--green)}
.step.done .step-ic svg{stroke:var(--green)}
.step.done .step-tx{padding-bottom:0}
.step.done b{color:var(--green)}
.wfl{position:absolute;top:-1.5rem;right:-1.125rem;z-index:2;background:var(--card);border:1px solid var(--line);border-radius:0.875rem;padding:0.75rem 1rem;display:flex;align-items:center;gap:0.625rem;animation:fl 4.5s ease-in-out infinite}
.wfl i{width:0.5625rem;height:0.5625rem;border-radius:50%;background:var(--green);box-shadow:0 0 0 0.25rem rgba(34,197,94,.18)}
.wfl span{font-family:var(--fd);font-size:.76rem;font-weight:700;color:var(--text)}
.wfl small{display:block;font-family:var(--fb);font-weight:400;font-size:.7rem;color:var(--faint)}
.wfl.b2{top:auto;bottom:-1.5rem;right:auto;left:-1.375rem;animation-delay:1.4s}
.wi{display:flex;gap:1.125rem;margin-bottom:1.9rem}
.win{font-family:var(--fd);font-weight:800;font-size:1.9rem;color:var(--accent);line-height:1;min-width:3.875rem;padding-top:0.25rem}
.wi h3{font-family:var(--fd);font-weight:700;font-size:1.02rem;color:var(--text);margin-bottom:.35rem}
.wi p{font-size:.9rem;color:var(--muted);line-height:1.7}

/* ── CTA BANNER ──────────────────────────────────────────────────── */
.ctaw{padding:3rem var(--px)}  /* closing box: the same 3rem above and below on every page (owner 2026-10-15) */
@media (min-width:901px){
  /* the block above has no background band: its own bottom padding would add to the gap above the box */
  .slist:has(+ .ctaw),.tgs:has(+ .ctaw),html.dark .vals:has(+ .ctaw){padding-bottom:0}
  /* dark theme: the footer is the page colour, so "below" is measured to the footer logo instead of its edge */
  html.dark .ctaw{padding-bottom:0}
  html.dark body:has(.ctaw) footer{padding-top:3rem}
}
.ctab{position:relative;border-radius:1.75rem;overflow:hidden;background:var(--night);padding:3.25rem 6%;display:flex;align-items:center;justify-content:space-between;gap:2rem 3rem;flex-wrap:wrap;border:1px solid rgba(0,87,255,.16);color-scheme:dark}
.ctac{position:relative;z-index:1;flex:1 1 20rem}  /* headline + line run full width where they fit (no forced breaks) */
.ctab .bo{white-space:nowrap}
.ctac h2 .keep{display:inline-block}  /* keeps the second sentence together: it starts a new line when the headline wraps */  /* the CTA button = the same outline button as Technology's "Ask us about it" */
.ctac h2{font-family:var(--fd);font-weight:800;font-size:clamp(1.8rem,2.9vw,2.8rem);color:#fff;line-height:1.15;letter-spacing:-.025em;margin-bottom:.7rem;text-wrap:balance}
.ctac p{color:rgba(255,255,255,.55);font-size:.98rem;text-wrap:pretty}

/* Light theme: the How We Work panel (.tlp) and the CTA banner (.ctab) follow the page instead of
   staying night. The rules above are the dark look, unchanged in dark mode. */
html:not(.dark) .tlp,html:not(.dark) .ctab{background:var(--card);border-color:var(--line);color-scheme:light}
html:not(.dark) .tlp-h small{color:var(--accent)}
html:not(.dark) .tlp-h strong,html:not(.dark) .step-tx b{color:var(--text)}
html:not(.dark) .step-tx p{color:var(--muted)}
html:not(.dark) .step-ic{background:var(--tag-bg)}
html:not(.dark) .step-ic svg{stroke:var(--blue)}
html:not(.dark) .step.done .step-ic{background:#dcfce7;border-color:#16a34a;box-shadow:none}
html:not(.dark) .step.done .step-ic svg{stroke:#15803d}
html:not(.dark) .step.done b{color:#15803d}
html:not(.dark) .ctac h2{color:var(--text)}
html:not(.dark) .ctac h2 em{color:var(--accent)}
html:not(.dark) .ctac p{color:var(--muted)}

/* ── PAGE HERO (sub-pages) ───────────────────────────────────────── */
.dh{position:relative;min-height:28.75rem;padding:calc(var(--nav) + 3.125rem) var(--px) 4.375rem;overflow:hidden;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;background:var(--night);color-scheme:dark}
.dh>canvas{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;
  /* same connecting dots as the About/Contact heroes; thinned behind the centred heading */
  -webkit-mask-image:radial-gradient(ellipse 38% 55% at 50% 52%,rgba(0,0,0,.25),#000 100%);mask-image:radial-gradient(ellipse 38% 55% at 50% 52%,rgba(0,0,0,.25),#000 100%)}
.dh>*:not(canvas){position:relative}
.dh .slb{color:var(--blue-soft)}
.dh h1{font-family:var(--fd);font-weight:800;font-size:clamp(2.1rem,4.4vw,3.7rem);line-height:1.08;letter-spacing:-.03em;margin-bottom:1.75rem;color:#fff}
.dh p{max-width:35rem;margin:0 auto;font-size:1.04rem;color:rgba(255,255,255,.6)}
/* 404 page: the two buttons under the header text */
.nfb{display:flex;flex-wrap:wrap;justify-content:center;gap:.75rem;margin-top:2rem}
/* 404 page is short: the header grows so the footer always sits at the bottom of the window */
.nfp{min-height:100vh;min-height:100svh;display:flex;flex-direction:column}.nfp main{flex:1;display:flex;flex-direction:column}.nfp .dh{flex:1}

/* ── CHIPS (filters + service jump nav) ──────────────────────────── */
.chips{display:flex;gap:0.5rem;flex-wrap:wrap}
.chip{font-family:var(--fd);font-size:.78rem;font-weight:600;color:var(--text-2);background:var(--card);border:1px solid var(--line-2);border-radius:6.25rem;padding:0.5rem 1rem;cursor:pointer;text-decoration:none;white-space:nowrap;display:inline-flex;align-items:center;gap:0.4375rem;transition:color .2s,background .2s,border-color .2s}
.chip:hover{border-color:var(--blue);color:var(--accent)}
.chip[aria-pressed="true"],.chip.on{background:var(--blue);border-color:var(--blue);color:#fff}
.chip small{font-size:.68rem;opacity:.7;font-weight:700}

/* ── TECHNOLOGY PAGE ─────────────────────────────────────────────── */
/* Everything we work with (families of name pills) → frameworks */
.tbar{padding:3.25rem var(--px) 0;display:flex;align-items:center;justify-content:center;gap:1.2rem;flex-wrap:wrap}  /* search centred on the page (owner 2026-10-15) */
.tsearch{flex:1;min-width:16.25rem;max-width:45rem;display:flex;align-items:center;gap:0.625rem;background:var(--card);border:1px solid var(--line-2);border-radius:6.25rem;padding:0 1.25rem;transition:border-color .2s,box-shadow .2s}
.tsearch:focus-within{border-color:var(--blue);box-shadow:0 0 0 0.25rem rgba(0,87,255,.12)}
.tsearch svg{width:1.125rem;height:1.125rem;fill:none;stroke:var(--faint);stroke-width:2;stroke-linecap:round;flex-shrink:0}
.tsearch input{flex:1;min-width:0;border:0;background:none;outline:none;font:inherit;font-size:.93rem;color:var(--text);padding:0.875rem 0}
.tsearch input::placeholder{color:var(--faint)}

.tempty{margin-top:2rem;padding:0 var(--px);font-size:.98rem;color:var(--muted)}
.tempty a{color:var(--accent);font-weight:600}
.tgs{padding:0 var(--px) 5.25rem}
.tsec{padding-top:3.5rem}
.tsec[hidden]{display:none}
.tsh{max-width:41.25rem;margin-bottom:1.5rem}
.tsh .slb{margin-bottom:.45rem}
.tsh h2{font-family:var(--fd);font-weight:700;font-size:clamp(1.35rem,2.4vw,1.75rem);color:var(--text);line-height:1.2}
.tsh p:not(.slb){font-size:.95rem;color:var(--muted);margin-top:.45rem;line-height:1.6}
.tgi{width:3.25rem;height:3.25rem;border-radius:0.9375rem;background:var(--tile);border:1px solid var(--line);display:grid;place-items:center;flex-shrink:0;color:var(--blue)}
html.dark .tgi{color:var(--blue-soft)}
.tgi .ic{width:1.625rem;height:1.625rem}

/* Families */
.tfam{margin-top:1.875rem}
.tfam[hidden]{display:none}
.tfl{font-family:var(--fd);font-size:.78rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--faint);display:flex;align-items:center;gap:0.875rem;margin-bottom:1rem}
.tfl::after{content:'';flex:1;height:1px;background:var(--line)}
.stk{display:grid;grid-template-columns:1fr 1fr;gap:1.125rem}
.spanel{background:var(--card);border:1px solid var(--line);border-radius:1.25rem;padding:1.5rem 1.5rem 1.375rem;position:relative;overflow:hidden;transition:border-color .3s}
.spanel:hover{border-color:rgba(0,87,255,.2)}
.spanel[hidden]{display:none}
/* Full-width featured family (Custom business apps): text left, pills + description right on desktop, so line lengths match the other cards */
.spanel.wide{grid-column:1/-1}
@media (min-width:1101px){.spanel.wide{display:grid;grid-template-columns:1fr 1fr;column-gap:2.5rem;align-items:start}.spanel.wide .sph{grid-row:1/span 2;margin-bottom:0}.spanel.wide .pills{grid-column:2;padding-top:0.25rem}.spanel.wide .pdesc{grid-column:2}}
.sph{display:flex;gap:0.875rem;align-items:flex-start;margin-bottom:1rem}
.sph .tgi{width:2.75rem;height:2.75rem;border-radius:0.8125rem}
.sph .tgi .ic{width:1.375rem;height:1.375rem}
.sph h4{font-family:var(--fd);font-weight:700;font-size:1.02rem;color:var(--text);line-height:1.3}
.sph p{font-size:.84rem;color:var(--muted);line-height:1.55;margin-top:3px;text-wrap:pretty}
.pills{list-style:none;display:flex;flex-wrap:wrap;justify-content:center;margin-inline:auto;gap:0.375rem}  /* centred in the tile; main.js balance() picks the row split */
.pills li[hidden]{display:none}
.pill{font-family:var(--fd);font-size:.8rem;font-weight:600;color:var(--text-2);background:var(--tile);border:1px solid var(--line);border-radius:6.25rem;padding:0.4375rem 0.75rem;cursor:pointer;transition:color .2s,border-color .2s,background .2s}
.pill:hover,.pill[aria-pressed="true"]{border-color:var(--blue);color:var(--accent)}
.pill:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.pill.hit{background:var(--blue);border-color:var(--blue);color:#fff}
.pdesc{font-size:.85rem;color:var(--muted);line-height:1.6;text-wrap:pretty;max-height:0;overflow:hidden;transition:max-height .35s ease,margin .35s ease,padding .35s ease;border-top:1px dashed transparent}
.pdesc.on{max-height:16em;margin-top:1rem;padding-top:0.75rem;border-top-color:var(--line-2)}
.pdesc b{color:var(--text);font-weight:600}

/* Frameworks */
.fw{background:var(--card);border:1px solid var(--line);border-radius:1.25rem;padding:1.875rem;display:grid;grid-template-columns:1fr 1.15fr;gap:2rem;align-items:center}
.fw[hidden]{display:none}
.fwh{display:flex;gap:1rem;align-items:flex-start}
.fwh h3{font-family:var(--fd);font-weight:700;font-size:1.15rem;color:var(--text);margin-bottom:.4rem}
.fwh p{font-size:.9rem;color:var(--muted);line-height:1.7}
.kps{list-style:none;counter-reset:k;display:grid;grid-template-columns:1fr 1fr;gap:0.5rem}
.kps li{counter-increment:k;display:flex;align-items:center;gap:0.625rem;font-size:.85rem;font-weight:500;color:var(--text-2);background:var(--tile);border:1px solid var(--line);border-radius:0.75rem;padding:0.5625rem 0.75rem}
.kps li::before{content:counter(k);font-family:var(--fd);font-weight:700;font-size:.7rem;color:#fff;background:var(--blue);width:1.375rem;height:1.375rem;border-radius:50%;display:grid;place-items:center;flex-shrink:0}

/* ── SERVICES ────────────────────────────────────────────────────── */
.snav{position:sticky;top:var(--nav);z-index:50;background:var(--nav-solid);backdrop-filter:blur(1.125rem);-webkit-backdrop-filter:blur(1.125rem);border-bottom:1px solid var(--line)}
.snav .chips{padding:0.75rem var(--px);gap:0.375rem;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;--fl:0px;--fr:0px;-webkit-mask-image:linear-gradient(90deg,transparent,#000 var(--fl),#000 calc(100% - var(--fr)),transparent);mask-image:linear-gradient(90deg,transparent,#000 var(--fl),#000 calc(100% - var(--fr)),transparent)}
.snav .chip{padding:0.4375rem 0.875rem}
/* auto margins centre the row when it fits, and still let it scroll from the first chip when it doesn't */
.snav .chips>:first-child{margin-left:auto}
.snav .chips>:last-child{margin-right:auto}
.snav .chips.fade-l{--fl:2.75rem}
.snav .chips.fade-r{--fr:2.75rem}
.snav .chips::-webkit-scrollbar{display:none}
.slist{padding:3.75rem var(--px) 5.625rem;display:flex;flex-direction:column;gap:1.5rem}
.srv{display:grid;grid-template-columns:1fr;gap:1.75rem;align-items:start;background:var(--card);border:1px solid var(--line);border-radius:1.5rem;padding:2.5rem;position:relative;overflow:hidden;scroll-margin-top:calc(var(--nav) + 5rem);transition:box-shadow .3s,border-color .3s,background-color .3s}
.srv::before{content:'';position:absolute;left:0;top:0;bottom:0;width:3px;background:linear-gradient(to bottom,var(--blue),var(--blue-soft));transform:scaleY(0);transform-origin:top;transition:transform .45s}
.srv:hover{border-color:rgba(0,87,255,.2)}  /* no hover shadow: a big soft shadow bands into a pixelated halo on dark screens */
.srv:hover::before,.srv.active::before{transform:scaleY(1)}
.srl{display:grid;grid-template-columns:auto 1fr;gap:0.25rem 1rem;align-items:center}  /* header row above the artwork: icon beside the title, tagline under the title (owner 2026-10-15) */
.srl .srvi{grid-row:1 / span 2}
.srl h2{align-self:end}
.srvi{width:3.5rem;height:3.5rem;border-radius:1rem;background:var(--tag-bg);display:grid;place-items:center}
.srvi svg{width:1.6875rem;height:1.6875rem;stroke:var(--accent);fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.srv h2{font-family:var(--fd);font-weight:700;font-size:1.28rem;line-height:1.3;color:var(--text);letter-spacing:-.01em}
.srl p{align-self:start;font-size:.86rem;color:var(--faint);line-height:1.6;text-wrap:balance}
.srvart{width:100%;aspect-ratio:520/190;border-radius:0.875rem;overflow:hidden;margin-bottom:1.3rem;background:var(--night);border:1px solid rgba(0,87,255,.12)}
.srvart svg{width:100%;height:100%;display:block}
/* Light theme for the tile illustrations (Home tiles + Services 01–09). The artwork is drawn
   in the dark palette; these rules remap each dark colour to a soft light one by attribute,
   so the SVGs stay untouched. White on a coloured shape (icons in red/amber/blue dots,
   text on blue buttons, the Excel mark) stays white. */
html:not(.dark) :is(.scart,.srvart,.scvis){background:var(--art-bg);border-color:var(--line)}
html:not(.dark) :is(.scart,.srvart,.scvis) svg [fill="#09090f"]{fill:var(--art-bg)}
html:not(.dark) :is(.scart,.srvart,.scvis) svg [stroke="#09090f"]{stroke:var(--art-bg)}
html:not(.dark) :is(.scart,.srvart,.scvis) svg :is([fill="#0d1117"],[fill="#0a1020"],[fill="#0a0f1e"],[fill="#111827"]){fill:var(--art-surf)}
html:not(.dark) :is(.scart,.srvart,.scvis) svg [fill="#0d1b35"]{fill:var(--art-node)}
html:not(.dark) :is(.scart,.srvart,.scvis) svg :is([fill="#0a1a3a"],[fill="#0a1628"],[fill="#132238"],[fill="#1a2744"]){fill:#e1e9f9}
html:not(.dark) :is(.scart,.srvart,.scvis) svg [fill="#1e3a5f"]{fill:#c9d5ea}
html:not(.dark) :is(.scart,.srvart,.scvis) svg [stroke="#1e3a5f"]{stroke:#c3cfe4}
html:not(.dark) :is(.scart,.srvart,.scvis) svg [fill="#7aaaff"]{fill:#2f64d6}
html:not(.dark) :is(.scart,.srvart,.scvis) svg [stroke="#7aaaff"]{stroke:#3a6fe0}
html:not(.dark) :is(.scart,.srvart,.scvis) svg [fill="#9dbdff"]{fill:#0047d6}
html:not(.dark) :is(.scart,.srvart,.scvis) svg [fill="#86efac"]{fill:#16a34a}
html:not(.dark) :is(.scart,.srvart,.scvis) svg text[fill="#fff"]{fill:#0f1222}
/* Seal lettering (tile 09) is an image: swap to its light-colour file in light mode */
.seal-txt-l,html:not(.dark) :is(.scart,.srvart,.scvis) .seal-txt-d{display:none}
html:not(.dark) :is(.scart,.srvart,.scvis) .seal-txt-l{display:inline}
html:not(.dark) :is(.scart,.srvart,.scvis) svg rect[fill="#0057ff"]+text[fill="#fff"]{fill:#fff}
html:not(.dark) :is(.scart,.srvart,.scvis) svg rect[fill="#fff"]{fill:#1e2a44}
html:not(.dark) :is(.scart,.srvart,.scvis) svg circle[fill="#fff"]:has(animateMotion){fill:#0057ff}
html:not(.dark) :is(.scart,.srvart,.scvis) svg path[transform][stroke="#fff"]{stroke:#0f1222}
.sdesc{font-size:.97rem;color:var(--text-2);line-height:1.75;margin-bottom:1.3rem}
.svh{font-family:var(--fd);font-size:.7rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--faint);margin-bottom:.8rem}
.svl{list-style:none;display:grid;grid-template-columns:1fr 1fr;gap:0.625rem 1.5rem;margin-bottom:1.5rem}
/* .cols: fill the left column first, then the right (source order = reading order; --rows = items per column) */
.svl.cols{grid-auto-flow:column;grid-template-rows:repeat(var(--rows),auto)}
.svl li{font-size:.9rem;color:var(--text-2);display:flex;gap:0.625rem;align-items:flex-start;line-height:1.5;text-wrap:balance}  /* two-liners split evenly; main.js svlPairs() matches line counts across the row */
.svl li::before{content:'';width:1.125rem;height:1.125rem;flex-shrink:0;margin-top:1px;border-radius:50%;background:var(--tag-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.2l2.6 2.6L13 6.4' stroke='%233a7bff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E") center/contain no-repeat}
.tl{display:flex;flex-wrap:wrap;gap:0.5rem}

/* ── ABOUT ───────────────────────────────────────────────────────── */
.ahero{position:relative;height:clamp(33.75rem,30vw,42.5rem);background:var(--night);overflow:hidden;color-scheme:dark}
.ahero canvas,.ahero>svg,.chero canvas,.chero>svg{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
/* No dark overlay gradients on night backgrounds: on near-black they band into visible vertical stripes.
   Particles behind the heading are thinned with a mask on the canvas itself (it is transparent, so no banding). */
.ahero canvas,.chero canvas{-webkit-mask-image:linear-gradient(to right,rgba(0,0,0,.25),#000 60%);mask-image:linear-gradient(to right,rgba(0,0,0,.25),#000 60%)}
.ahov,.chov{position:absolute;inset:0;display:flex;align-items:center;padding:var(--nav) var(--px) 0}
.ahov h1,.chov h1{font-family:var(--fd);font-weight:800;font-size:clamp(2.3rem,4.6vw,4rem);color:#fff;letter-spacing:-.03em;line-height:1.08;margin-bottom:1.75rem}
.ahov .slb,.chov .slb{color:var(--blue-soft)}
.ahov p:not(.slb),.chov p:not(.slb){color:rgba(255,255,255,.6);font-size:1.02rem;max-width:29rem}
/* Text and artwork sit in the layout frame (the starfield canvas stays full-width).
   The hero grows a little taller on big monitors, so the artwork grows with it. */
.ahov>div,.chov>div{width:100%}
.ahero>svg,.chero>svg{left:var(--px);width:calc(100% - 2 * var(--px))}  /* explicit width: an SVG won't stretch between left/right */
.abody{padding:6.25rem var(--px) 3.5rem;display:grid;grid-template-columns:1.1fr 1fr;gap:5rem;align-items:start}
.abody p{font-size:1rem;color:var(--text-2);line-height:1.85;margin-bottom:1.2rem;max-width:46rem}
.abody p strong{color:var(--text)}
@media (min-width:901px){.abody>:last-child{position:sticky;top:calc(var(--nav) + 1.5rem)}}  /* About: stats column stays beside the longer story column */
.whys{border-left:3px solid var(--blue);background:var(--tile);border-radius:0 0.875rem 0.875rem 0;padding:1rem 1.25rem;margin:1.4rem 0 .4rem}
.whys-k{font-family:var(--fd);font-weight:700;font-size:.95rem;color:var(--text);margin-bottom:.3rem}
.whys p:not(.whys-k){font-size:.92rem;color:var(--muted);line-height:1.7}
.whys em{font-family:var(--fs);font-size:1.08em;color:var(--text)}
.tcs{margin-top:2.4rem;display:flex;flex-direction:column;gap:0.875rem}
.tc{display:flex;align-items:center;gap:1rem;background:var(--card);border:1px solid var(--line);border-radius:1rem;padding:1.125rem 1.25rem;transition:box-shadow .3s,border-color .3s,background-color .3s}
.tc:hover{border-color:rgba(0,87,255,.28)}
.av{width:3.125rem;height:3.125rem;border-radius:0.875rem;background:var(--blue);display:grid;place-items:center;flex-shrink:0}
.av svg{width:1.5rem;height:1.5rem;stroke:#fff;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.av.dk{background:var(--night-3);border:1px solid rgba(0,87,255,.4)}
.av.dk svg{stroke:var(--blue-soft)}
.tc h3{font-family:var(--fd);font-weight:700;font-size:.95rem;color:var(--text)}
.tc p{font-size:.82rem;color:var(--muted);margin:0;line-height:1.5}
.rbg{margin-left:auto;background:var(--tag-bg);color:var(--tag-fg);border:1px solid var(--tag-line);font-family:var(--fd);font-size:.66rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;padding:0.3125rem 0.75rem;border-radius:6.25rem;white-space:nowrap}
.stv{display:grid;grid-template-columns:1fr 1fr;gap:0.875rem;position:sticky;top:calc(var(--nav) + 1.875rem)}
.sb{background:var(--bg-alt);border:1px solid var(--line);border-radius:1.125rem;padding:1.875rem 1.375rem;text-align:center;transition:transform .3s,border-color .3s,background-color .3s}
.sb:hover{transform:translateY(-0.25rem);border-color:rgba(0,87,255,.35)}  /* highlight only — no shadows anywhere (blurred shadows band into a pixelated halo on dark screens) */
.sb.dk{background:var(--night);border-color:rgba(0,87,255,.2);grid-column:span 2;color-scheme:dark}
.sbig{font-family:var(--fd);font-weight:800;font-size:2.4rem;color:var(--accent);display:block;letter-spacing:-.03em;line-height:1.1;font-variant-numeric:tabular-nums}
.sb.dk .sbig{color:var(--blue-soft);font-size:1.5rem;margin-bottom:0.25rem}
.ssm{font-size:.8rem;color:var(--faint);margin-top:0.375rem;display:block}
.sb.dk .ssm{color:rgba(255,255,255,.55)}
/* Light theme: the "One point of contact" tile follows the page (night in dark mode, as above) */
html:not(.dark) .sb.dk{background:var(--card);color-scheme:light}
html:not(.dark) .sb.dk .sbig{color:var(--accent)}
html:not(.dark) .sb.dk .ssm{color:var(--muted)}
.vals{background:var(--night);padding:4.5rem var(--px);color-scheme:dark}
.vals .slb{color:var(--blue-soft)}
.vals .stt{color:#fff}
.vals .stt em{color:var(--blue-soft)}
.vg{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem;margin-top:2.6rem}
.vc{background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.08);border-radius:1.125rem;padding:1.75rem 1.5rem;transition:background .3s,border-color .3s,transform .3s}
.vc:hover{background:rgba(0,87,255,.1);border-color:rgba(0,87,255,.3);transform:translateY(-0.25rem)}
.vc-icon{width:3rem;height:3rem;border-radius:0.75rem;background:rgba(0,87,255,.18);border:1px solid rgba(0,87,255,.32);display:grid;place-items:center;margin-bottom:1.2rem}
.vc-icon svg{width:1.4375rem;height:1.4375rem;stroke:var(--blue-soft);fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.vc h3{font-family:var(--fd);font-weight:700;font-size:.97rem;color:#fff;margin-bottom:.5rem}
.vc p{font-size:.86rem;color:rgba(255,255,255,.55);line-height:1.7}
/* Light theme: About values band and capability icons follow the stone palette like the rest of the site */
html:not(.dark) .vals{background:var(--bg-alt);color-scheme:light}html:not(.dark) .vals .slb{color:var(--accent)}html:not(.dark) .vals .stt{color:var(--text)}html:not(.dark) .vals .stt em{color:var(--accent)}
html:not(.dark) .vc{background:var(--card);border-color:var(--line)}html:not(.dark) .vc:hover{background:var(--card);border-color:rgba(0,87,255,.28)}html:not(.dark) .vc h3{color:var(--text)}html:not(.dark) .vc p{color:var(--muted)}
html:not(.dark) .vc-icon{background:var(--tile);border-color:var(--line)}html:not(.dark) .vc-icon svg{stroke:var(--blue)}
html:not(.dark) .av.dk{background:var(--tile);border-color:var(--line)}html:not(.dark) .av.dk svg{stroke:var(--blue)}

/* ── CONTACT ─────────────────────────────────────────────────────── */
.chero{position:relative;height:clamp(31.25rem,28vw,40rem);background:var(--night);overflow:hidden;color-scheme:dark}
.cbody{padding:5rem var(--px) 2.5rem;display:grid;grid-template-columns:1fr 1.5fr;gap:4rem;align-items:start}
.cinfo h2{font-family:var(--fd);font-weight:800;font-size:1.5rem;letter-spacing:-.02em;color:var(--text);margin-bottom:.6rem}
.cinfo>p{color:var(--muted);font-size:.95rem;margin-bottom:2.2rem}
/* While the intro line under "Get in touch" is hidden (contact.html), keep a gap above the first item */
.cinfo>h2+.cii{margin-top:2.2rem}
.cii{display:flex;gap:0.875rem;margin-bottom:1.8rem}
.cic{width:2.875rem;height:2.875rem;background:var(--tag-bg);border-radius:0.75rem;display:grid;place-items:center;flex-shrink:0}
.cic svg{width:1.25rem;height:1.25rem;stroke:var(--accent);fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.cii h3{font-family:var(--fd);font-weight:700;font-size:.9rem;color:var(--text);margin-bottom:2px}
.cii p,.cii a{font-size:.9rem;color:var(--muted);text-decoration:none}
.cii a:hover{color:var(--accent)}
.cfw{background:var(--card);border:1px solid var(--line);border-radius:1.5rem;padding:2.5rem;transition:background-color .3s}
.cfw h2{font-family:var(--fd);font-weight:700;font-size:1.15rem;color:var(--text);margin-bottom:1.5rem}
.fr{display:grid;grid-template-columns:1fr 1fr;gap:0.875rem}
.fg{display:flex;flex-direction:column;gap:0.375rem;margin-bottom:1rem}
.fg label{font-family:var(--fd);font-size:.74rem;font-weight:700;color:var(--text-2);letter-spacing:.05em;text-transform:uppercase}
.fg label span{color:var(--faint);text-transform:none;letter-spacing:0;font-weight:500}
.fg input,.fg textarea,.fg select{padding:0.75rem 1rem;border:1.5px solid var(--line-2);border-radius:0.625rem;font-family:var(--fb);font-size:.94rem;color:var(--text);background:var(--bg);outline:none;transition:border-color .2s,box-shadow .2s,background-color .3s;-webkit-appearance:none;appearance:none;width:100%}
.fg select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238892aa' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 0.875rem center;background-size:1rem;padding-right:2.5rem}
.fg input::placeholder,.fg textarea::placeholder{color:var(--faint)}
.fg input:focus,.fg textarea:focus,.fg select:focus{border-color:var(--blue);box-shadow:0 0 0 3px rgba(0,87,255,.18)}
.fg textarea{resize:vertical;min-height:8.75rem}
.hp{position:absolute;left:-624.9375rem}
.bpp{width:100%;padding:0.9375rem;border-radius:0.75rem;border:none;background:var(--blue);color:#fff;font-family:var(--fd);font-weight:700;font-size:.94rem;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:0.5rem;transition:transform .2s,box-shadow .2s,opacity .2s}
.bpp:hover{transform:translateY(-2px)}
.bpp:disabled{opacity:.7;cursor:wait;transform:none}
.fnote{font-size:.78rem;color:var(--faint);margin-top:0.75rem;text-align:center}
.fnote a{color:var(--accent);text-decoration:underline;text-underline-offset:2px}.fnote a:hover{color:var(--blue)}
.fmsg{display:none;border-radius:0.625rem;padding:0.875rem 1.125rem;font-size:.9rem;margin-top:1rem;font-family:var(--fd);font-weight:500}
.fmsg.ok{display:block;background:rgba(34,197,94,.1);border:1px solid rgba(34,197,94,.45);color:#15803d}
.fmsg.err{display:block;background:rgba(239,68,68,.08);border:1px solid rgba(239,68,68,.4);color:#b91c1c}
html.dark .fmsg.ok{color:#4ade80}
html.dark .fmsg.err{color:#fca5a5}

/* ── FOOTER ──────────────────────────────────────────────────────── */
footer{background:var(--night);padding:3rem var(--px) 2.125rem;color-scheme:dark}
.ft{display:grid;grid-template-columns:2.6fr 1fr 1fr;gap:2.5rem;padding-bottom:3rem;border-bottom:1px solid rgba(255,255,255,.07);margin-bottom:1.75rem}
/* brand: the text sits beside the logo when there is room, and wraps under it when there is not (owner 2026-10-15) */
.ft>:first-child{display:flex;flex-wrap:wrap;align-items:center;align-self:start;gap:1rem 2.25rem}
.fb2{display:inline-flex;text-decoration:none}
.fb2 img{display:block;width:13.75rem;height:auto}
.fd{flex:1 1 18rem;font-size:.86rem;color:rgba(255,255,255,.45);line-height:1.8;max-width:30rem}
.fc h2{font-family:var(--fd);font-weight:700;font-size:.7rem;letter-spacing:.15em;text-transform:uppercase;color:rgba(255,255,255,.4);margin-bottom:1.2rem}
.fc ul{list-style:none}
.fc li{margin-bottom:.6rem;font-size:.87rem;color:rgba(255,255,255,.5)}
.fc a{text-decoration:none;color:rgba(255,255,255,.58);transition:color .2s}
.fc a:hover{color:#fff}
.fbot{display:flex;justify-content:space-between;font-size:.8rem;color:rgba(255,255,255,.38);flex-wrap:wrap;gap:0.625rem}
.ftm{margin-top:0.875rem;font-size:.72rem;color:rgba(255,255,255,.26)}
.flg{display:flex;gap:1.125rem;flex-wrap:wrap}
.flg a,.ftm a{color:rgba(255,255,255,.55);text-decoration:none;transition:color .2s}
.flg a:hover,.ftm a:hover{color:#fff}

/* ── LEGAL PAGES (privacy.html, terms.html) ─────────────────────── */
.legal{max-width:calc(54rem + 2 * var(--gut));margin:0 auto;padding:3.75rem var(--gut) 2.5rem}
.lmeta{font-size:.85rem;color:var(--faint);margin-bottom:1.6rem}
.lsum{background:var(--tile);border:1px solid var(--line);border-left:3px solid var(--blue);border-radius:0.875rem;padding:1.25rem 1.625rem;margin-bottom:1.8rem}
.lsum h2{margin:0 0 .5rem!important;font-size:1rem!important}
.ltoc{display:grid;grid-template-columns:repeat(4,1fr);gap:0.375rem 1.125rem;padding:1.125rem 0 1.375rem;margin-bottom:.4rem;border-bottom:1px solid var(--line)}
.ltoc a{font-size:.84rem;color:var(--muted);text-decoration:none}
.ltoc a:hover{color:var(--accent)}
.legal h2{font-family:var(--fd);font-weight:700;font-size:1.22rem;color:var(--text);margin:2.4rem 0 .7rem;scroll-margin-top:calc(var(--nav) + 1.5rem)}
.legal p,.legal li{font-size:.95rem;color:var(--text-2);line-height:1.75}
.legal p+p{margin-top:.8rem}
.legal ul{list-style:disc;padding-left:1.25rem;margin:.6rem 0 0}
.legal li+li{margin-top:.35rem}
.legal li::marker{color:var(--blue)}
.legal a{color:var(--accent)}
.legal strong{color:var(--text);font-weight:600}
.ltm li{font-size:.86rem}
.todo{background:rgba(245,158,11,.18);color:var(--text);padding:0 0.25rem;border-radius:0.25rem}
@media (max-width:700px){.ltoc{grid-template-columns:1fr 1fr}}

/* ── RESPONSIVE ──────────────────────────────────────────────────── */
/* Big monitors (≥1800px): service blocks put the illustration beside the text
   instead of above it, so it doesn't grow to a full-width banner */
@media (min-width:1800px){
  /* artwork | text; the text column keeps the width it had beside the old left header column, the artwork takes the rest */
  .srv>div:last-child{display:grid;grid-template-columns:minmax(0,1fr) calc((100% - 21.125rem) / 2.15);column-gap:2.75rem;align-content:start}
  .srv>div:last-child>.srvart{grid-row:1 / span 4;margin-bottom:0}
  .srv>div:last-child>:not(.srvart){grid-column:2}
}
@media (max-width:1100px){
  .stk{grid-template-columns:1fr}
  .fw{grid-template-columns:1fr}
  .vg{grid-template-columns:1fr 1fr}
  .srv{gap:1.5rem;padding:2rem}
  .bento .sc{grid-column:span 6}.bento .sc.w2{grid-column:span 7}.bento .sc.dk{grid-column:span 5}
}
@media (max-width:900px){
  :root{--nav:4.5rem}
  .logo .lk{height:3.375rem}
  .hbg{display:flex}
  .nl{display:none;position:fixed;top:var(--nav);left:0;right:0;background:var(--nav-solid);backdrop-filter:blur(1.25rem);-webkit-backdrop-filter:blur(1.25rem);border-bottom:1px solid var(--line);flex-direction:column;align-items:stretch;padding:.5rem var(--gut) 1.4rem;gap:0;z-index:499}
  .nl.open{display:flex}
  .nl a{display:flex;align-items:center;min-height:3.125rem;font-size:1rem;border-bottom:1px solid var(--line);color:var(--text)}
  .nl a::after{display:none}
  .nl li:last-child a{border-bottom:none;margin-top:0.75rem;justify-content:center}

  .hero{justify-content:flex-start}
  .hbanner{position:relative;top:auto;margin-top:var(--nav);padding:0.75rem 5%}
  .hbanner h1{gap:.8rem}
  .hbanner h1::before,.hbanner h1::after{max-width:2.5rem}
  /* Phones/tablets: the constellation comes first, the intro text sits under it (order:-1) */
  .hstage{position:relative;inset:auto;order:-1;flex:none;min-height:min(112vw,27.5rem);margin:var(--nav) 0 0}
  .hint{white-space:normal;width:calc(100% - 2.5rem);justify-content:center;text-align:center}
  .hint i{display:none}
  .hint span{font-size:.62rem;line-height:1.5}
  .hwin{padding:0.875rem 1.25rem;white-space:nowrap}
  .hwin strong{font-size:.88rem}
  .hcont{position:relative;inset:auto;width:auto;padding:1.5rem var(--gut) 3.5rem}
  /* On landing only the constellation, tag, heading and "sound" definition show. The rest waits for
     the first touch / scroll / key (main.js adds html.engaged), then plays its usual fade-up. */
  html.js:not(.engaged) .hero .lead,html.js:not(.engaged) .hero .hbtns,html.js:not(.engaged) .hero .hstats{opacity:0;animation:none;pointer-events:none}
  .himg{display:none!important}
  .hbtns{align-self:stretch;max-width:26rem;gap:0.5rem}  /* phones/tablets: both hero buttons on one line, equal width (they stack only below ~340px) */
  .hbtns a,.nfb a{flex:1 1 0;justify-content:center;min-height:2.75rem;padding:0.6875rem 0.875rem;font-size:.8rem;line-height:1.2;white-space:nowrap}
  .hbtns a svg,.nfb a svg{display:none}  /* no arrows here: both buttons stay on one line */
  .nfb{width:100%;max-width:26rem;gap:0.5rem;flex-wrap:nowrap}  /* 404 page buttons: side by side, equal width */
  .hstats{position:relative;grid-template-columns:1fr 1fr;margin-top:auto;padding:0}
  .hs:first-child,.hs:last-child{border-left:none;border-right:none}
  .hs:nth-child(2){border-right:none}

  .bento,.pains{grid-template-columns:1fr}
  .bento .sc,.bento .sc.w2,.bento .sc.dk{grid-column:auto}
  .whin{grid-template-columns:1fr;gap:3.5rem}
  .wfl{right:0.625rem}
  .wfl.b2{left:0.625rem}
  .abody{grid-template-columns:1fr;gap:3.5rem}
  .stv{position:static}
  .cbody{grid-template-columns:1fr}
  .cbody>.cinfo{order:1}  /* stacked: the form comes first, contact details after it */
  .ft{grid-template-columns:1fr 1fr}
  .ft>:first-child{grid-column:1/-1}  /* brand on its own row, Pages | Contact side by side under it */
  .srv{grid-template-columns:1fr;gap:1.375rem;padding:1.75rem 1.5rem}
  .ctab{text-align:center;justify-content:center;padding:2.5rem 6%}
  .ctab .bo{width:100%;justify-content:center}
  .sec{padding-block:5rem}
  .why{padding:5rem 0}
  .why.tight{padding:3.25rem 0}
  /* About/Contact: the artwork becomes its own block under the nav, the heading follows below it
     (on desktop the text sits over the left of the artwork) */
  /* About/Contact: the hero is its natural size (artwork + text). Like Home, landing shows only the hero: what follows
     (and the footer) stays hidden until the first touch / scroll / key (main.js adds html.engaged), then fades in. */
  .ahero,.chero{height:auto;display:flex;flex-direction:column;padding-top:var(--nav)}
  :is(.ahero,.chero)~*,body:has(.ahero,.chero) footer{transition:opacity .6s ease}
  html.js:not(.engaged) :is(.ahero,.chero)~*,html.js:not(.engaged) body:has(.ahero,.chero) footer{opacity:0;pointer-events:none}
  .ahero>svg,.chero>svg{position:relative;inset:auto;width:calc(100% - 2 * var(--gut));height:auto;margin:0.5rem var(--gut) 0}
  .ahero>svg{aspect-ratio:600/420}
  .chero>svg{aspect-ratio:600/480}
  .ahov,.chov{position:relative;inset:auto;display:block;padding:1rem var(--gut) 1.75rem}
  .chov h1 br{display:none}
  .bg,.bw,.bo,.bpp{min-height:3rem}
}
@media (max-width:600px){
  .kps{grid-template-columns:1fr}
  .sph{display:grid;grid-template-columns:auto 1fr;align-items:center;column-gap:0.875rem}
  .sph>div{display:contents}
  .sph p{grid-column:1/-1;margin-top:0.625rem}
  .htag{font-size:.72rem;letter-spacing:.06em;padding-inline:0.75rem}  /* home tag on one line from 360px */
  /* Technology: tighter pills on phones; main.js adds .t1 / .t2 to a tile that would otherwise need 3 rows (README §8) */
  .spanel{padding:1.25rem 1.125rem}
  .pills{gap:0.375rem}
  .pill{font-size:.76rem;padding:0.4375rem 0.625rem}
  .pills.t1,.pills.t2{gap:0.25rem}
  .pills.t1 .pill{padding-inline:0.5rem}
  .pills.t2 .pill{padding-inline:0.4375rem;font-size:.74rem}
  .fw{padding:1.5rem 1.375rem}
  .tsearch{min-width:100%}
  .vg{grid-template-columns:1fr}
  /* Footer on phones: brand + text, then Pages | Contact side by side (Services column removed 2026-10-15) */
  footer{padding-top:3rem}
  .ft{grid-template-columns:1fr 1fr;gap:2rem 1.5rem}
  .fr{grid-template-columns:1fr}
  .stv{grid-template-columns:1fr 1fr}
  .svl,.svl.cols{grid-template-columns:1fr;grid-auto-flow:row;grid-template-rows:none}
  .cfw{padding:1.75rem 1.375rem}
  .dh{min-height:23.75rem}
  .ctaw{padding:0}  /* the CTA band sits right on the footer — no empty gap */
  .cbody{padding-bottom:1.875rem}
  .legal{padding-bottom:0}  /* same ~48px gap above the footer as the CTA pages */
  .ctab{border-radius:0;border-left:none;border-right:none}
  .tbar{flex-direction:column;align-items:stretch}
  .chips{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;max-width:100%;padding-bottom:0.25rem}
  .chips::-webkit-scrollbar{display:none}
}

/* ── TOUCH SCREENS: bigger tap areas for small text links ────────────
   Padding with an equal negative margin grows the tappable area without moving anything,
   so the links look and sit exactly as before. inline-block also keeps a link that wraps
   onto two lines (e.g. "Automation & Productivity") one solid target with no gap. */
@media (pointer:coarse){
  .fc a,.flg a{display:inline-block;padding:0.3rem 0;margin:-0.3rem 0}
  .ftm a{padding:0.35rem 0}  /* inline in a sentence: vertical padding enlarges the target only */
  .tlink,.mlink a{padding:0.35rem 0;margin:-0.35rem 0}
  .ltoc a{display:inline-block;padding:0.2rem 0;margin:-0.2rem 0}
  /* plain links inside text (email, policy links): inline padding enlarges the target, layout unchanged */
  main p a:not([class]),main li a:not([class]),.cii a{padding:0.3rem 0}
}

/* ── REDUCED MOTION ──────────────────────────────────────────────── */
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
  html.js .rv{opacity:1;transform:none}
  .mq.ready{animation:none}
  .mwrap{overflow-x:auto}
}

/* ── FORCED COLOURS ──────────────────────────────────────────────── */
@media (forced-colors:active){
  .bg,.bpp,.nl a.ncta,.bw,.bo,.chip{border:2px solid ButtonText}
}
