/* Abramson Technologies — shared styles for index, work, about and contact pages */
*{margin:0;padding:0;box-sizing:border-box}
/* Metric-matched fallbacks for Hanken Grotesk (Google Fonts, display=swap): Arial / Liberation Sans /
   Roboto scaled to Hanken's average glyph width and line metrics, so text keeps its size and line
   breaks when the web font swaps in (no layout shift). Geist Mono the same way on Courier New.
   Values from the font files (see docs/launch-audit.md O3): Hanken 400 vs Arial, 600 vs Arial
   Bold, Roboto for Android. */
@font-face{font-family:"Hanken Grotesk Fallback";font-weight:100 550;src:local("Arial"),local("ArialMT"),local("Liberation Sans"),local("LiberationSans"),local("Arimo"),local("Helvetica");size-adjust:101.52%;ascent-override:98.5%;descent-override:29.85%;line-gap-override:0%}
@font-face{font-family:"Hanken Grotesk Fallback";font-weight:551 900;src:local("Arial Bold"),local("Arial-BoldMT"),local("Liberation Sans Bold"),local("LiberationSans-Bold"),local("Arimo Bold"),local("Helvetica Bold");size-adjust:94.93%;ascent-override:105.34%;descent-override:31.92%;line-gap-override:0%}
@font-face{font-family:"Hanken Grotesk Fallback R";src:local("Roboto"),local("Roboto-Regular");size-adjust:100.67%;ascent-override:99.33%;descent-override:30.1%;line-gap-override:0%}
@font-face{font-family:"Geist Mono Fallback";src:local("Courier New"),local("CourierNewPSMT"),local("Liberation Mono"),local("LiberationMono"),local("Cousine");size-adjust:100%;ascent-override:100.5%;descent-override:29.5%;line-gap-override:0%}
html{background-color:#070d18;background-image:radial-gradient(1200px 600px at 80% -10%,rgba(100,181,246,.10),transparent 60%),linear-gradient(180deg,#0e1729 0%,#0a1222 40%,#070d18 100%);background-attachment:fixed;min-height:100vh}
body{font-family:"Hanken Grotesk","Hanken Grotesk Fallback","Hanken Grotesk Fallback R",system-ui,sans-serif;color:#e8edf5;-webkit-font-smoothing:antialiased;min-height:100vh;display:flex;flex-direction:column}
a{color:#e8edf5;text-decoration:none}
a:hover{color:#64b5f6}
::selection{background:#64b5f6;color:#070d18}
:focus-visible{outline:2px solid #64b5f6;outline-offset:3px}
img{max-width:100%}
main{width:100%}
.mono{font-family:"Geist Mono","Geist Mono Fallback",monospace}

/* ---------- container ---------- */
.wrap{width:100%;max-width:1240px;margin-left:auto;margin-right:auto;padding-left:clamp(24px,4vw,64px);padding-right:clamp(24px,4vw,64px)}
@media (min-width:1600px){.wrap{max-width:1440px}}
@media (min-width:2200px){.wrap{max-width:1600px}}

/* ---------- buttons ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;padding:16px 28px;border-radius:999px;background:#64b5f6;color:#06101f;font:inherit;font-weight:600;font-size:16px;white-space:nowrap;border:none;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease}
.btn:hover{color:#06101f;box-shadow:0 10px 30px rgba(100,181,246,.3)}
.btn-ghost{background:transparent;border:1px solid rgba(255,255,255,.16);color:#e8edf5;font-weight:500}
.btn-ghost:hover{color:#e8edf5;border-color:#64b5f6;box-shadow:none}
.pill{padding:10px 18px;border-radius:999px;border:1px solid rgba(255,255,255,.12);background:transparent;color:rgba(232,237,245,.7);font:inherit;font-size:14px;font-weight:500;cursor:pointer}
.pill:hover{border-color:rgba(100,181,246,.6)}
.pill[aria-pressed="true"]{border-color:#64b5f6;background:rgba(100,181,246,.12);color:#e8edf5}

/* ---------- header ---------- */
.site-header{position:sticky;top:0;z-index:20;background:rgba(10,18,34,.72);backdrop-filter:blur(18px) saturate(160%);-webkit-backdrop-filter:blur(18px) saturate(160%);border-bottom:1px solid rgba(255,255,255,.07)}
.hdr{height:76px;display:flex;align-items:center;gap:24px}
.brand{display:flex;align-items:center;gap:12px;color:#e8edf5}
.brand:hover{color:#e8edf5}
.brand svg{width:34px;height:auto;display:block}
.brand-name{font-weight:600;font-size:14px;letter-spacing:.16em;text-transform:uppercase}
.brand-name span{color:rgba(232,237,245,.55)}
.nav{display:flex;gap:2px;margin-left:auto;min-width:0}
.nav a{padding:8px 12px;border-radius:999px;font-size:15px;font-weight:500;white-space:nowrap;color:rgba(232,237,245,.6)}
.nav a:hover{color:#e8edf5}
.nav a[aria-current="page"]{color:#e8edf5;background:rgba(255,255,255,.07)}
.hdr-cta{padding:11px 20px;font-size:14px}
.hdr-cta:hover{transform:translateY(-1px);box-shadow:0 8px 24px rgba(100,181,246,.3)}
@media (min-width:1600px){
  .hdr{height:84px}
  .brand svg{width:38px}
  .nav a{font-size:15px;padding:10px 16px}
  .hdr-cta{padding:13px 24px}
}

/* ---------- mobile menu ---------- */
.burger{display:none;margin-left:auto;width:44px;height:44px;flex-shrink:0;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:0;background:transparent;border:1px solid rgba(255,255,255,.12);border-radius:12px;color:#e8edf5;cursor:pointer}
.burger span{display:block;width:20px;height:2px;border-radius:2px;background:currentColor;transition:transform .2s ease,opacity .2s ease}
.burger[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.burger[aria-expanded="true"] span:nth-child(2){opacity:0}
.burger[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
.menu{position:fixed;top:var(--menu-top,77px);left:0;right:0;z-index:19;max-height:calc(100vh - var(--menu-top,77px));max-height:calc(100dvh - var(--menu-top,77px));overflow-y:auto;overscroll-behavior:contain;padding:8px clamp(24px,4vw,64px) 24px;background:rgba(10,18,34,.94);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);border-bottom:1px solid rgba(255,255,255,.07);animation:menuIn .2s ease both}
.menu[hidden]{display:none}
.menu nav{display:flex;flex-direction:column}
.menu-row{display:flex;align-items:center;min-height:52px;font-size:18px;font-weight:500;color:#e8edf5}
.menu-row+.menu-row{border-top:1px solid rgba(255,255,255,.07)}
.menu-row[aria-current="page"]{color:#64b5f6}
.menu .btn{display:flex;width:100%;margin-top:16px}
@keyframes menuIn{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:none}}
/* the page behind the open menu: dimmed and blurred; a tap on it closes the menu */
.menu-backdrop{position:fixed;top:var(--menu-top,77px);left:0;right:0;bottom:0;z-index:18;background:rgba(5,10,20,.55);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);touch-action:none;animation:fadeIn .2s ease both}
.menu-backdrop[hidden]{display:none}
@keyframes fadeIn{from{opacity:0}to{opacity:1}}
html.menu-open{overflow:hidden;overscroll-behavior:none}
/* shop cart in the header (assets/site.js SiteCart) */
.hdr-cart{position:relative;display:flex;align-items:center;justify-content:center;width:44px;height:44px;flex-shrink:0;border-radius:12px;border:1px solid rgba(255,255,255,.12);color:#e8edf5}
.hdr-cart:hover{border-color:rgba(100,181,246,.6);color:#e8edf5}
.hdr-cart[aria-current="page"]{border-color:#64b5f6}
.hdr-cart svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.hdr-cart-n{position:absolute;top:-6px;right:-6px;min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:#64b5f6;color:#06101f;font-size:12px;font-weight:700;line-height:20px;text-align:center;font-variant-numeric:tabular-nums}
.hdr-cart-n:empty{display:none}
@media (max-width:1080px){.hdr-cart{margin-left:auto}.hdr-cart+.burger{margin-left:-12px}}
/* switch to the menu button before the six-link nav runs out of room */
@media (max-width:1080px){
  .nav,.hdr-cta{display:none}
  .burger{display:flex}
}

/* ---------- footer ---------- */
.site-footer{border-top:1px solid rgba(255,255,255,.07);margin-top:auto}
.site-footer .wrap{padding-top:27px;padding-bottom:27px;display:flex;justify-content:space-between;align-items:center;gap:24px;flex-wrap:wrap}
.site-footer span{font-size:13px;color:rgba(232,237,245,.5)}
.site-footer nav{display:flex;gap:0 24px;flex-wrap:wrap;align-items:center}
/* 44px tall tap targets (the wrap padding is 13px less to keep the footer the same height) */
.site-footer nav a,.site-footer .footer-link{display:inline-flex;align-items:center;min-height:44px}
.site-footer nav a{font-size:13px;color:rgba(232,237,245,.6)}
.site-footer nav a:hover{color:#64b5f6}
.site-footer .footer-link{padding:0;border:none;background:none;font:inherit;font-size:13px;color:rgba(232,237,245,.6);cursor:pointer}
.site-footer .footer-link:hover{color:#64b5f6}

/* ---------- type ---------- */
.page-title{font-size:clamp(44px,5.6vw,76px);line-height:1.02;letter-spacing:-.035em;font-weight:500}
.h2{font-size:clamp(32px,3.6vw,48px);line-height:1.08;letter-spacing:-.025em;font-weight:500}
.h2-sm{font-size:clamp(28px,3vw,40px);line-height:1.1;letter-spacing:-.02em;font-weight:500}
.lede{font-size:17px;line-height:1.6;color:rgba(232,237,245,.64);text-wrap:pretty}
.sec-head{display:flex;flex-direction:column;gap:16px;margin-bottom:48px;padding-top:40px;border-top:1px solid rgba(255,255,255,.08)}

/* ---------- home: hero ---------- */
.hero{position:sticky;top:76px;min-height:calc(100vh - 76px);display:flex;overflow:hidden;z-index:0}
.hero-board{position:absolute;inset:0;
  -webkit-mask-image:linear-gradient(180deg,transparent 0,transparent 40px,#000 120px),radial-gradient(ellipse 75% 85% at 88% 18%,#000 25%,transparent 78%);-webkit-mask-composite:source-in;
  mask-image:linear-gradient(180deg,transparent 0,transparent 40px,#000 120px),radial-gradient(ellipse 75% 85% at 88% 18%,#000 25%,transparent 78%);mask-composite:intersect}
.hero-bright{position:absolute;inset:0;background:url("circuit-routed-bright.svg") right top/cover no-repeat;-webkit-mask-image:radial-gradient(circle 0px at 0 0,#000,transparent);mask-image:radial-gradient(circle 0px at 0 0,#000,transparent);pointer-events:none}
.hero-content{position:relative;padding-top:96px;padding-bottom:250px;display:flex;flex-direction:column;justify-content:center;transform-origin:30% 40%}
.hero h1{font-size:clamp(44px,6.4vw,84px);line-height:1.02;letter-spacing:-.035em;font-weight:500;max-width:15ch;text-wrap:balance}
.hero-intro{margin-top:32px;font-size:20px;line-height:1.6;color:rgba(232,237,245,.68);max-width:620px;text-wrap:pretty}
.hero-actions{margin-top:44px;display:flex;gap:12px;flex-wrap:wrap}
.hero-dim{position:absolute;inset:0;background:#070d18;opacity:0;pointer-events:none}
@media (max-width:720px){.hero-content{padding-top:64px}}
@media (min-width:1600px){
  .hero{top:84px;min-height:calc(100vh - 84px)}
  .hero h1{max-width:16ch;font-size:clamp(44px,5vw,104px)}
  .hero-intro{max-width:680px}
}
.horizon{position:relative;z-index:1;margin-top:calc(10px - clamp(140px,10vw,280px))}
.horizon svg{display:block;width:100%;height:clamp(140px,10vw,280px);overflow:visible}
.below{position:relative;display:flow-root;margin-top:-1px;background:linear-gradient(180deg,#0b1528 0%,#0a1222 600px,#070d18 100%)}

/* ---------- circuit boxes ---------- */
.board{position:absolute;inset:0}
.board svg{position:absolute;inset:0;width:100%;height:100%;display:block}
.box-circuit{position:absolute;inset:0;pointer-events:none;-webkit-mask-image:linear-gradient(90deg,transparent 48%,#000 88%);mask-image:linear-gradient(90deg,transparent 48%,#000 88%)}
.box-circuit.flip{-webkit-mask-image:linear-gradient(270deg,transparent 48%,#000 88%);mask-image:linear-gradient(270deg,transparent 48%,#000 88%)}
.box-circuit.flip>div{position:absolute;inset:0;transform:scaleX(-1)}
.box-board{position:absolute;top:0;right:0;left:auto;bottom:auto;width:1100px;height:688px;opacity:.45}
.box-bright{position:absolute;inset:0;background:url("circuit-routed-bright.svg") right top/1100px auto no-repeat;opacity:.55;-webkit-mask-image:radial-gradient(circle 0px at 0 0,#000,transparent);mask-image:radial-gradient(circle 0px at 0 0,#000,transparent);pointer-events:none}
/* static circuit behind the top of Work / About / Contact (same mask as the home hero) */
.has-circuit{position:relative;isolation:isolate}
.page-circuit{position:absolute;top:0;left:0;right:0;height:max(60vh,560px);overflow:hidden;pointer-events:none;z-index:-1;
  -webkit-mask-image:linear-gradient(180deg,transparent 0,transparent 40px,#000 120px),radial-gradient(ellipse 75% 85% at 88% 18%,#000 25%,transparent 78%);-webkit-mask-composite:source-in;
  mask-image:linear-gradient(180deg,transparent 0,transparent 40px,#000 120px),radial-gradient(ellipse 75% 85% at 88% 18%,#000 25%,transparent 78%);mask-composite:intersect}
.page-circuit .board{opacity:.75}
/* quieter continuation down the right side of the page, below the top circuit */
.page-rail{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:-2;opacity:.45;
  -webkit-mask-image:linear-gradient(180deg,transparent 0,transparent 35vh,#000 75vh,#000 calc(100% - 260px),transparent calc(100% - 60px)),linear-gradient(90deg,transparent 38%,#000 92%);-webkit-mask-composite:source-in;
  mask-image:linear-gradient(180deg,transparent 0,transparent 35vh,#000 75vh,#000 calc(100% - 260px),transparent calc(100% - 60px)),linear-gradient(90deg,transparent 38%,#000 92%);mask-composite:intersect}
.rail-tile{position:absolute;left:0;right:0}
.rail-tile svg{position:absolute;inset:0;width:100%;height:100%;display:block}
@media (max-width:720px){
  .page-circuit .board,.box-board{opacity:.35!important}
  .page-rail{opacity:.25}
  .fit-box .box-board{opacity:.14!important}
  .page-circuit .hero-bright,.box-bright{display:none}
}
@media (prefers-reduced-motion:reduce){.hero-bright,.box-bright{display:none}}
.glow-box{position:relative;overflow:hidden;border:1px solid rgba(100,181,246,.22);background-color:#0d1a2e}

/* ---------- home: cards ---------- */
.lift{transition:border-color .25s ease,transform .25s ease,box-shadow .25s ease,background-color .25s ease}
.lift:hover{border-color:rgba(100,181,246,.45);transform:translateY(-2px);box-shadow:0 18px 40px -20px rgba(100,181,246,.35)}
.svc{position:relative;padding:28px 26px 30px;border-radius:16px;background:linear-gradient(180deg,rgba(255,255,255,.035),rgba(255,255,255,.01));border:1px solid rgba(255,255,255,.08);display:flex;flex-direction:column;gap:12px}
.svc i{display:block;width:28px;height:2px;border-radius:2px;background:#64b5f6}
.svc h3,.tile h3{font-size:20px;font-weight:600;letter-spacing:-.01em;line-height:1.25}
.svc p,.tile p{font-size:15px;line-height:1.6;color:rgba(232,237,245,.62)}
.tile{grid-column:1/-1;position:relative;padding:28px 30px;border-radius:16px;border:1px dashed rgba(100,181,246,.45);background:radial-gradient(500px 200px at 100% 0%,rgba(100,181,246,.12),transparent 70%);display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px 32px;color:#e8edf5;transition:border-color .25s ease,background-color .25s ease}
.tile:hover{border-color:#64b5f6;background-color:rgba(100,181,246,.06);color:#e8edf5}
.step{border-top:1px solid rgba(100,181,246,.5);padding-top:24px;display:flex;flex-direction:column;gap:12px}
.step h3{font-size:20px;font-weight:600;letter-spacing:-.01em}
.step p{font-size:16px;line-height:1.6;color:rgba(232,237,245,.64)}
/* "Who This Is For" — scoped to .fit-box so other card grids are unaffected */
.fit-box{padding:clamp(32px,5vw,56px);border-radius:24px;background-image:radial-gradient(600px 300px at 100% 0%,rgba(100,181,246,.16),transparent 65%);display:flex;flex-direction:column;gap:36px}
.fit-box .box-board{opacity:.2}
.fit-box .box-bright{opacity:.3}
.fit-head{position:relative;display:flex;flex-direction:column;gap:14px;max-width:640px}
.fit-head p{font-size:clamp(18px,1.6vw,21px);line-height:1.5;color:rgba(232,237,245,.82);text-wrap:balance}
.fit-grid{position:relative;list-style:none;display:grid;grid-template-columns:1fr;gap:18px}
@media (min-width:640px){.fit-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:1100px){.fit-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
.fit-card{display:grid;grid-template-columns:22px minmax(0,1fr);gap:14px;align-items:start;padding:24px;border-radius:16px;background:#0b1424;border:1px solid rgba(255,255,255,.09);cursor:default}
/* .fit-card prefix: beats the .horizon svg rule (this section sits inside .horizon) */
.fit-card .fit-check{width:22px;height:22px;margin-top:1px;flex-shrink:0;overflow:hidden}
.fit-check circle{fill:rgba(100,181,246,.16);stroke:none}
.fit-check path{fill:none;stroke:#64b5f6;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.fit-card h3{font-size:17px;font-weight:600;line-height:1.4;letter-spacing:-.005em;color:#f1f4f9}
.fit-card p{margin-top:6px;font-size:15px;line-height:1.55;color:rgba(232,237,245,.76)}
.check{width:22px;height:22px;border-radius:50%;background:rgba(100,181,246,.14);color:#64b5f6;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:700}

/* ---------- work (scoped to .work-page) ---------- */
.work-page .wk-intro{padding-top:110px;padding-bottom:40px}
.work-page .wk-intro .page-title{max-width:16ch}
.work-page .wk-intro-text{margin-top:20px;max-width:640px;font-size:clamp(17px,1.5vw,19px);line-height:1.6;color:rgba(232,237,245,.8);text-wrap:pretty}
.work-page .wk-filters{margin-top:32px;display:flex;gap:8px;flex-wrap:wrap}
.work-page .wk-filters[hidden]{display:none}
.work-page .wk-filters .pill{min-height:44px;color:rgba(232,237,245,.8);border-color:rgba(255,255,255,.18)}
.work-page .wk-filters .pill[aria-pressed="true"]{background:#64b5f6;border-color:#64b5f6;color:#06101f;font-weight:600}
.work-page .wk-filters .pill:focus-visible{outline:2px solid #e8edf5;outline-offset:3px}
.work-page .wk-count{margin-top:12px;font-size:13.5px;color:rgba(232,237,245,.6);min-height:1.4em}
.work-page .wk-list{padding-bottom:96px;display:flex;flex-direction:column;gap:24px}
.work-page .wk-project{display:grid;grid-template-columns:1fr;border-radius:20px;border:1px solid rgba(255,255,255,.09);background:#0b1424;overflow:hidden}
.work-page .wk-project[hidden]{display:none}
@media (min-width:1000px){
  .work-page .wk-project{grid-template-columns:minmax(0,5fr) minmax(0,7fr)}
  .work-page .wk-project--feature{grid-template-columns:minmax(0,5fr) minmax(0,7fr)}
}
.work-page .wk-copy{padding:32px;display:flex;flex-direction:column;gap:14px;min-width:0}
.work-page .wk-cat{font-family:"Geist Mono","Geist Mono Fallback",monospace;font-size:12px;letter-spacing:.1em;text-transform:uppercase;color:#64b5f6}
.work-page .wk-copy h2{font-size:clamp(26px,2.4vw,32px);line-height:1.15;letter-spacing:-.02em;font-weight:500}
.work-page .wk-lede{font-size:17px;line-height:1.55;color:#e8edf5;text-wrap:pretty}
.work-page .wk-facts{display:flex;flex-direction:column;gap:12px;margin-top:2px}
.work-page .wk-facts div{padding-left:14px;border-left:2px solid rgba(100,181,246,.35)}
.work-page .wk-facts dt{font-family:"Geist Mono","Geist Mono Fallback",monospace;font-size:11.5px;letter-spacing:.1em;text-transform:uppercase;color:rgba(232,237,245,.66);margin-bottom:3px}
.work-page .wk-facts dd{font-size:15px;line-height:1.6;color:rgba(232,237,245,.8)}
.work-page .wk-note{font-size:13.5px;line-height:1.55;color:rgba(232,237,245,.66);padding:10px 12px;border-radius:10px;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.07)}
.work-page .wk-tags{list-style:none;display:flex;gap:6px;flex-wrap:wrap}
.work-page .wk-tags li{font-family:"Geist Mono","Geist Mono Fallback",monospace;font-size:11.5px;padding:4px 10px;border-radius:999px;border:1px solid rgba(255,255,255,.12);color:rgba(232,237,245,.75)}
.work-page .wk-actions{display:flex;gap:10px;flex-wrap:wrap}
.work-page .wk-btn{padding:11px 18px;font-size:14.5px}
/* media column */
.work-page .wk-media{display:flex;flex-direction:column;gap:12px;padding:20px;background:#070d18;border-top:1px solid rgba(255,255,255,.07);min-width:0}
@media (min-width:1000px){.work-page .wk-media{border-top:none;border-left:1px solid rgba(255,255,255,.07);justify-content:center}}
.work-page .wk-tabs{display:flex;gap:6px;flex-wrap:wrap}
.work-page .wk-tabs [role="tab"]{min-height:38px;padding:8px 14px;border-radius:999px;border:1px solid rgba(255,255,255,.16);background:transparent;color:rgba(232,237,245,.8);font:inherit;font-size:13.5px;font-weight:500;cursor:pointer;white-space:nowrap}
.work-page .wk-tabs [role="tab"]:hover{border-color:rgba(100,181,246,.6);color:#e8edf5}
.work-page .wk-tabs [role="tab"][aria-selected="true"]{background:rgba(100,181,246,.16);border-color:#64b5f6;color:#fff;font-weight:600}
.work-page .wk-tabs [role="tab"]:focus-visible,.work-page .wk-panel:focus-visible,.work-page .wk-action:focus-visible,.work-page .wk-seg button:focus-visible{outline:2px solid #e8edf5;outline-offset:2px}
.work-page .wk-frame{position:relative;border-radius:12px;overflow:hidden;border:1px solid rgba(255,255,255,.1);background:#0d1626}
.work-page .wk-frame--wide{aspect-ratio:16/10}
.work-page .wk-frame--photo{aspect-ratio:4/3;background:#b4b7bc}
.work-page .wk-frame--cad{height:clamp(440px,48vw,620px);background:#b4b5b0}
.work-page .wk-panel{position:absolute;inset:0}
.work-page .wk-panel[hidden]{display:none}
.work-page .wk-shot{width:100%;height:100%;object-fit:cover;object-position:top center;display:block;background:#fff}
.work-page .wk-photo{width:100%;height:100%;object-fit:cover;display:block}
.work-page .wk-photo--contain{object-fit:contain}
.work-page .wk-photo--deck{object-position:50% 58%}
.work-page .wk-power{position:relative}
.work-page .wk-power-img{position:absolute;inset:0}
.work-page .wk-power-img--off{opacity:0;transition:opacity .45s ease}
.work-page .wk-power:not(.is-on) .wk-power-img--off{opacity:1}
.work-page .wk-power-btn{position:absolute;left:14px;bottom:14px;z-index:1;display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:6px 16px 6px 8px;border-radius:999px;border:1px solid rgba(255,255,255,.18);background:rgba(7,13,24,.82);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);color:#e8edf5;font:inherit;font-size:14px;font-weight:600;cursor:pointer;transition:border-color .2s}
.work-page .wk-power-btn svg{box-sizing:content-box;padding:6px;border-radius:50%;background:rgba(255,255,255,.08);color:rgba(232,237,245,.6);transition:color .2s,background .2s,box-shadow .2s}
.work-page .wk-power-btn[aria-pressed="true"] svg{color:#06101f;background:#64b5f6;box-shadow:0 0 14px rgba(100,181,246,.65)}
.work-page .wk-power-state{min-width:2.2em;color:rgba(232,237,245,.66);font-weight:500}
.work-page .wk-power-btn:hover{border-color:#64b5f6}
.work-page .wk-power-btn:focus-visible{outline:2px solid #e8edf5;outline-offset:3px}
@media (prefers-reduced-motion:reduce){.work-page .wk-power-img--off,.work-page .wk-power-btn svg{transition:none}}
.work-page .wk-panel--phone{display:flex;align-items:center;justify-content:center;background:radial-gradient(400px 260px at 50% 30%,rgba(100,181,246,.12),transparent 70%),#0d1626}
.work-page .wk-panel--phone[hidden]{display:none}
.work-page .wk-phone{height:calc(100% - 28px);aspect-ratio:9/18;border-radius:22px;overflow:hidden;box-shadow:0 0 0 6px #1b2536,0 20px 40px -18px rgba(0,0,0,.7);background:#fff}
.work-page .wk-phone img{width:100%;height:100%;object-fit:cover;object-position:top;display:block}
.work-page .wk-panel--live iframe{position:absolute;inset:0;width:100%;height:100%;border:0;background:#fff}
.work-page .wk-bar{display:flex;justify-content:space-between;align-items:center;gap:8px 16px;flex-wrap:wrap}
.work-page .wk-caption{flex:1 1 260px;font-size:13px;line-height:1.5;color:rgba(232,237,245,.66)}
.work-page .wk-action{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:8px 16px;border-radius:999px;border:1px solid rgba(255,255,255,.18);font-size:14px;font-weight:600;color:#e8edf5;white-space:nowrap}
.work-page .wk-action:hover{border-color:#64b5f6;color:#fff}
.work-page .wk-action.is-primary{background:#64b5f6;border-color:#64b5f6;color:#06101f}
.work-page .wk-action.is-primary:hover{color:#06101f;box-shadow:0 8px 24px -10px rgba(100,181,246,.6)}
.work-page .wk-action[hidden]{display:none}
/* 3D CAD viewer */
.work-page .wk-panel--cad{display:flex;flex-direction:column}
.work-page .wk-panel--cad[hidden]{display:none}
.work-page .wk-cad{position:absolute;inset:0;display:flex;flex-direction:column}
.work-page .wk-cad-stage{position:relative;flex:1;min-height:0;background:radial-gradient(75% 75% at 50% 38%,#4b5568,#1b2331)}
.work-page .wk-cad-stage model-viewer{position:absolute;inset:0;width:100%;height:100%;--poster-color:transparent;--progress-bar-color:#64b5f6;background:transparent}
.work-page .wk-cad-stage model-viewer:focus-visible{outline:2px solid #1f4fa3;outline-offset:-3px}
.work-page .wk-cad-fallback{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
.work-page .wk-cad.is-live .wk-cad-fallback{display:none}
.work-page .wk-cad-status{position:absolute;left:12px;bottom:12px;max-width:calc(100% - 24px);padding:6px 12px;border-radius:999px;background:rgba(7,13,24,.82);color:#e8edf5;font-size:13px}
.work-page .wk-cad-status:empty{display:none}
.work-page .wk-cad:not(.is-ready) .wk-cad-controls,.work-page .wk-cad:not(.is-ready) .wk-cad-help{display:none}
.work-page .wk-cad-controls{display:flex;gap:8px;flex-wrap:wrap;padding:10px;background:#0d1626;border-top:1px solid rgba(255,255,255,.08)}
.work-page .wk-cad:not(.is-live) .wk-cad-controls button{opacity:.5;pointer-events:none}
.work-page .wk-seg{display:flex;gap:2px;padding:3px;border-radius:999px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.1)}
.work-page .wk-seg button{min-height:34px;min-width:34px;padding:6px 12px;border-radius:999px;border:none;background:transparent;color:rgba(232,237,245,.8);font:inherit;font-size:13px;font-weight:500;cursor:pointer}
.work-page .wk-seg button:hover{color:#fff}
.work-page .wk-seg button[aria-pressed="true"]{background:rgba(100,181,246,.2);color:#fff;font-weight:600}
.work-page .wk-seg--icons button[data-zoom]{font-size:17px;padding:4px 10px}
.work-page .wk-cad-help{padding:8px 12px 10px;background:#0d1626;font-size:12.5px;color:rgba(232,237,245,.66)}
.work-page .wk-cad.is-failed .wk-cad-controls,.work-page .wk-cad.is-failed .wk-cad-help{display:none}
.work-page .wk-help-touch{display:none}
@media (hover:none) and (pointer:coarse){.work-page .wk-help-pointer{display:none}.work-page .wk-help-touch{display:inline}}
/* larger view dialog */
.wk-viewer{width:min(1280px,calc(100vw - 32px));height:calc(100vh - 48px);max-height:none;max-width:none;margin:auto;padding:0;border:1px solid rgba(255,255,255,.14);border-radius:16px;background:#0b1424;color:#e8edf5;overflow:hidden}
.wk-viewer[open]{display:flex;flex-direction:column}
.wk-viewer::backdrop{background:rgba(3,7,14,.78)}
.wk-viewer-head{display:flex;align-items:center;gap:12px;padding:10px 12px 10px 18px;border-bottom:1px solid rgba(255,255,255,.1)}
.wk-viewer-head h2{flex:1;min-width:0;font-size:15px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wk-viewer-new{font-size:13.5px;font-weight:600;color:#9fd0fa;white-space:nowrap}
.wk-viewer-close{width:40px;height:40px;border-radius:10px;border:1px solid rgba(255,255,255,.14);background:transparent;color:#e8edf5;font-size:22px;line-height:1;cursor:pointer}
.wk-viewer-close:hover{border-color:#64b5f6}
.wk-viewer-close:focus-visible,.wk-viewer-new:focus-visible{outline:2px solid #e8edf5;outline-offset:2px}
.wk-viewer-body{flex:1;min-height:0;overflow:auto;background:#070d18}
.wk-viewer-body iframe{display:block;width:100%;height:100%;border:0;background:#fff}
.wk-viewer-body img{display:block;max-width:100%;height:auto;margin:0 auto}
.wk-viewer-body img.is-narrow{max-width:430px}
body.wk-noscroll{overflow:hidden}
@media (max-width:720px){
  .work-page .wk-intro{padding-top:64px}
  .work-page .wk-copy{padding:24px 20px}
  .work-page .wk-media{padding:14px}
  .work-page .wk-frame--cad{height:480px}
  .wk-viewer{width:100vw;height:100dvh;border-radius:0;border:0}
}
@media (prefers-reduced-motion:reduce){.wk-viewer::backdrop{transition:none}}

/* ---------- legal pages and 404 ---------- */
.legal-page .art-body h2{font-size:clamp(22px,2.2vw,28px)}
.legal-page .art-body>section+section{margin-top:48px}
.legal-page .art-body p,.legal-page .art-body li{font-size:17px}
.legal-table-wrap{margin-top:16px;overflow-x:auto;border:1px solid rgba(255,255,255,.1);border-radius:14px}
.legal-table{width:100%;border-collapse:collapse;font-size:15px;line-height:1.5}
.legal-table th,.legal-table td{padding:12px 16px;text-align:left;vertical-align:top;border-bottom:1px solid rgba(255,255,255,.08)}
.legal-table tr:last-child td{border-bottom:none}
.legal-table th{font-family:"Geist Mono","Geist Mono Fallback",monospace;font-size:11.5px;font-weight:500;letter-spacing:.08em;text-transform:uppercase;color:rgba(232,237,245,.6);background:rgba(255,255,255,.02)}
.legal-table td:first-child{font-family:"Geist Mono","Geist Mono Fallback",monospace;font-size:13.5px;color:#e8edf5;white-space:nowrap}
.legal-table td{color:rgba(232,237,245,.8)}
.legal-settings{margin-top:20px}
@media (max-width:640px){
  .legal-table thead{display:none}
  .legal-table,.legal-table tbody,.legal-table tr,.legal-table td{display:block;width:100%}
  .legal-table tr{padding:14px 16px;border-bottom:1px solid rgba(255,255,255,.08)}
  .legal-table tr:last-child{border-bottom:none}
  .legal-table td{padding:3px 0;border:none;white-space:normal}
  .legal-table td:first-child{white-space:normal;margin-bottom:4px;font-size:14px}
  .legal-table td:not(:first-child)::before{content:attr(data-label) ": ";color:rgba(232,237,245,.55)}
}
.legal-intro{padding-bottom:32px;border-bottom:1px solid rgba(255,255,255,.08)}
.legal-intro+section{margin-top:40px}
.legal-note{font-size:15px !important;color:rgba(232,237,245,.6) !important}
.legal-solo{max-width:780px;padding-bottom:96px}
.nf{padding-top:120px;padding-bottom:140px;position:relative}
.nf-code{font-family:"Geist Mono","Geist Mono Fallback",monospace;font-size:clamp(72px,12vw,148px);line-height:1;letter-spacing:-.04em;color:#64b5f6;text-shadow:0 0 40px rgba(100,181,246,.35)}
.nf .page-title{margin-top:12px}
.nf-text{margin-top:16px;max-width:560px;font-size:18px;line-height:1.6;color:rgba(232,237,245,.78)}
.nf-actions{margin-top:28px;display:flex;gap:12px;flex-wrap:wrap}
.nf-links{margin-top:36px;padding-top:20px;border-top:1px solid rgba(255,255,255,.08);display:flex;gap:8px 20px;flex-wrap:wrap;font-family:"Geist Mono","Geist Mono Fallback",monospace;font-size:13px;letter-spacing:.06em;text-transform:uppercase}
.nf-links a{color:rgba(232,237,245,.7)}
.nf-links a:hover{color:#64b5f6}
@media (max-width:720px){.nf{padding-top:72px;padding-bottom:96px}}

/* ---------- about ---------- */
.grid-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(340px,100%),1fr));gap:1px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.08);border-radius:18px;overflow:hidden}
.grid-cards>div{background:#0b1424;padding:32px;display:flex;flex-direction:column;gap:10px}
.grid-cards h3{font-size:19px;font-weight:600}
.grid-cards p{font-size:15px;line-height:1.6;color:rgba(232,237,245,.62)}
.model{padding:36px;border-radius:18px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.02);display:flex;flex-direction:column;gap:12px}
.model h3{font-size:24px;font-weight:500;letter-spacing:-.015em}
.model p{font-size:16px;line-height:1.6;color:rgba(232,237,245,.64)}
.body-copy{font-size:17px;line-height:1.7;color:rgba(232,237,245,.68)}

/* ---------- page band: full-width header section with a top-right circuit ----------
   <section class="page-band" data-spot="220">
     <div class="band-circuit" aria-hidden="true"><div class="band-board board" data-board="static"></div><div class="band-bright"></div></div>
     <div class="wrap">…</div>
   </section>  (load /assets/circuit-routed.js before /assets/site.js) */
.page-band{position:relative;overflow:hidden;width:100%}
.page-band>.wrap{position:relative;z-index:1}
.band-circuit{position:absolute;inset:0;pointer-events:none;-webkit-mask-image:linear-gradient(180deg,transparent 0,transparent 40px,#000 120px),radial-gradient(ellipse 75% 85% at 88% 18%,#000 25%,transparent 78%);-webkit-mask-composite:source-in;mask-image:linear-gradient(180deg,transparent 0,transparent 40px,#000 120px),radial-gradient(ellipse 75% 85% at 88% 18%,#000 25%,transparent 78%);mask-composite:intersect}
.band-board{position:absolute;top:0;right:0;left:auto;bottom:auto;width:1440px;height:900px;opacity:.75}
.band-board svg{position:absolute;inset:0;width:100%;height:100%;display:block}
.band-bright{position:absolute;inset:0;background:url("circuit-routed-bright.svg") right top/1440px auto no-repeat;opacity:.7;-webkit-mask-image:radial-gradient(circle 0px at 0 0,#000,transparent);mask-image:radial-gradient(circle 0px at 0 0,#000,transparent);pointer-events:none}
@media (max-width:720px){.band-board{opacity:.35}.band-bright{display:none}}
@media (prefers-reduced-motion:reduce){.band-bright{display:none}}

/* ---------- resources: shared ---------- */
.res-eyebrow{font-family:"Geist Mono","Geist Mono Fallback",monospace;font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:#64b5f6}
.res-cta{display:flex;justify-content:space-between;align-items:center;gap:24px 40px;flex-wrap:wrap;padding:clamp(32px,5vw,56px);border-radius:22px;background:radial-gradient(600px 260px at 100% 0%,rgba(100,181,246,.14),transparent 70%),#0b1424;border:1px solid rgba(100,181,246,.22)}
.res-cta h2{font-size:clamp(28px,2.8vw,38px);line-height:1.15;letter-spacing:-.025em;font-weight:500;text-wrap:balance}
.res-cta p{margin-top:10px;max-width:50ch;font-size:17px;line-height:1.6;color:rgba(232,237,245,.78)}
@media (max-width:720px){.res-cta .btn{width:100%}}

/* ---------- resources: listing ---------- */
.res-head{padding-top:112px;padding-bottom:56px}
.res-head h1{font-size:clamp(44px,5.6vw,76px);line-height:1.02;letter-spacing:-.035em;font-weight:500}
.res-head .res-intro{margin-top:20px;max-width:620px;font-size:clamp(18px,1.5vw,20px);line-height:1.6;color:rgba(232,237,245,.8);text-wrap:pretty}
.res-filters{margin-top:36px;display:flex;gap:8px;flex-wrap:wrap}
.res-filters[hidden]{display:none}
.res-list{padding-bottom:96px;display:flex;flex-direction:column;gap:16px}
.res-featured{min-height:360px;padding:clamp(32px,5vw,56px);border-radius:22px;background-image:radial-gradient(600px 300px at 100% 0%,rgba(100,181,246,.22),transparent 65%);display:flex;flex-direction:column;justify-content:flex-end;gap:16px;color:#e8edf5}
.res-featured:hover{color:#e8edf5}
.res-featured>:not(.box-circuit){position:relative}
.res-featured h2{max-width:22ch;font-size:clamp(30px,3.4vw,44px);line-height:1.1;letter-spacing:-.025em;font-weight:500;text-wrap:balance}
.res-featured p{max-width:60ch;font-size:17px;line-height:1.6;color:rgba(232,237,245,.8)}
.res-featured .res-foot{margin-top:8px}
.res-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(280px,100%),1fr));gap:16px}
.res-grid:not(:has(.res-card)){display:none}
.res-card{position:relative;padding:28px 26px 26px;border-radius:16px;background:linear-gradient(180deg,rgba(255,255,255,.035),rgba(255,255,255,.01));border:1px solid rgba(255,255,255,.08);display:flex;flex-direction:column;gap:12px;color:#e8edf5}
.res-card[hidden],.res-featured[hidden]{display:none}
a.res-card:hover,a.res-featured:hover{color:#e8edf5}
a.res-card:hover{border-color:rgba(100,181,246,.45);transform:translateY(-2px);box-shadow:0 18px 40px -20px rgba(100,181,246,.35)}
.res-card h3{font-size:21px;font-weight:600;line-height:1.3;letter-spacing:-.01em}
.res-card p{font-size:15px;line-height:1.6;color:rgba(232,237,245,.7)}
.res-foot{margin-top:auto;padding-top:8px;display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:15px;font-weight:600;color:#64b5f6}
.res-time{font-family:"Geist Mono","Geist Mono Fallback",monospace;font-size:12px;font-weight:400;letter-spacing:.06em;color:rgba(232,237,245,.6)}
.res-soon{font-family:"Geist Mono","Geist Mono Fallback",monospace;font-size:12px;font-weight:400;letter-spacing:.1em;text-transform:uppercase;color:rgba(232,237,245,.55)}
.res-empty{padding:24px 0;color:rgba(232,237,245,.7)}
.res-none{padding:8px 0 24px;font-size:18px;line-height:1.6;color:rgba(232,237,245,.75)}
.res-close{padding-bottom:112px}

/* ---------- resources: article ---------- */
:root:has(.art-page){scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){:root:has(.art-page){scroll-behavior:auto}}
.art-head{padding-top:96px;padding-bottom:48px}
.art-crumbs ol{list-style:none;display:flex;flex-wrap:wrap;gap:8px;font-family:"Geist Mono","Geist Mono Fallback",monospace;font-size:12px;letter-spacing:.1em;text-transform:uppercase}
.art-crumbs li+li::before{content:"/";margin-right:8px;color:rgba(232,237,245,.4)}
.art-crumbs a{color:#64b5f6}
.art-crumbs [aria-current]{color:rgba(232,237,245,.7)}
.art-head h1{margin-top:20px;max-width:20ch;font-size:clamp(40px,5vw,68px);line-height:1.04;letter-spacing:-.035em;font-weight:500;text-wrap:balance}
.art-summary{margin-top:20px;max-width:640px;font-size:clamp(18px,1.5vw,20px);line-height:1.6;color:rgba(232,237,245,.8);text-wrap:pretty}
.art-meta{margin-top:32px;padding-top:20px;border-top:1px solid rgba(255,255,255,.1);display:flex;flex-wrap:wrap;gap:6px 0;column-gap:18px;font-family:"Geist Mono","Geist Mono Fallback",monospace;font-size:12.5px;letter-spacing:.06em;color:rgba(232,237,245,.66)}
.art-meta span+span::before{content:"·";margin-right:18px;color:rgba(232,237,245,.4)}
.art-layout{display:grid;grid-template-columns:minmax(0,240px) minmax(0,740px);gap:64px;align-items:start;padding-bottom:96px}
.art-toc{position:sticky;top:108px}
.art-toc h2{font-family:"Geist Mono","Geist Mono Fallback",monospace;font-size:12px;font-weight:400;letter-spacing:.12em;text-transform:uppercase;color:rgba(232,237,245,.6);margin-bottom:12px}
.art-toc ol{list-style:none;display:flex;flex-direction:column}
.art-toc a{display:block;padding:7px 0 7px 14px;border-left:1px solid rgba(255,255,255,.12);font-size:14.5px;line-height:1.4;color:rgba(232,237,245,.72)}
.art-toc a:hover{color:#64b5f6;border-left-color:#64b5f6}
.art-body{min-width:0}
.art-body>section,.art-body h3[id]{scroll-margin-top:100px}
.art-body>*+section,.art-body>section+*{margin-top:64px}
.art-body h2{font-size:clamp(26px,2.6vw,34px);line-height:1.18;letter-spacing:-.02em;font-weight:500;margin-bottom:20px;text-wrap:balance}
.art-body h3{font-size:19px;font-weight:600;line-height:1.35;margin:28px 0 10px}
.art-body p,.art-body li{font-size:18px;line-height:1.75;color:rgba(232,237,245,.78)}
.art-body p+p,.art-body p+ul,.art-body ul+p,.art-body p+ol,.art-body ol+p{margin-top:18px}
.art-body strong{color:#eef2f8;font-weight:600}
.art-body a:not(.btn):not(.res-card){color:#9fd0fa;text-decoration:underline;text-decoration-color:rgba(159,208,250,.4);text-underline-offset:3px}
.art-body a:not(.btn):not(.res-card):hover{text-decoration-color:#9fd0fa}
.art-list{list-style:none;display:flex;flex-direction:column;gap:10px}
.art-list li{position:relative;padding-left:22px}
.art-list li::before{content:"";position:absolute;left:2px;top:.72em;width:7px;height:7px;border-radius:50%;background:#64b5f6}
.art-takeaways{padding:28px 30px;border-radius:16px;background:#0d1a2e;border:1px solid rgba(100,181,246,.35)}
.art-takeaways h2{font-family:"Geist Mono","Geist Mono Fallback",monospace;font-size:12px;font-weight:400;letter-spacing:.12em;text-transform:uppercase;color:#64b5f6;margin-bottom:14px}
.art-takeaways li{font-size:17px;line-height:1.6;color:#e8edf5}
.art-options{margin-top:24px;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr));gap:14px}
.art-option{padding:22px;border-radius:14px;background:#0b1424;border:1px solid rgba(255,255,255,.09)}
.art-option h3{margin:0 0 8px;font-size:17px}
.art-option p{font-size:15.5px;line-height:1.6}
.art-steps{list-style:none;counter-reset:step;margin-top:8px}
.art-steps li{counter-increment:step;display:grid;grid-template-columns:44px minmax(0,1fr);gap:4px 12px;padding:20px 0;border-top:1px solid rgba(255,255,255,.1)}
.art-steps li:last-child{border-bottom:1px solid rgba(255,255,255,.1)}
.art-steps li::before{content:counter(step,decimal-leading-zero);grid-row:span 2;font-family:"Geist Mono","Geist Mono Fallback",monospace;font-size:13px;letter-spacing:.06em;color:#64b5f6;padding-top:6px}
.art-steps h3{margin:0;font-size:18px}
.art-steps p{font-size:16.5px;line-height:1.7}
.art-worklink{display:inline-block;margin-top:20px;font-size:16px;font-weight:600;color:#64b5f6!important;text-decoration:none!important}
.art-worklink:hover{color:#9fd0fa!important}
.art-faq details{border-top:1px solid rgba(255,255,255,.1)}
.art-faq details:last-of-type{border-bottom:1px solid rgba(255,255,255,.1)}
.art-faq summary{list-style:none;display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:20px 0;cursor:pointer;font-size:18px;font-weight:600;line-height:1.45;color:#eef2f8}
.art-faq summary::-webkit-details-marker{display:none}
.art-faq summary::after{content:"+";flex-shrink:0;font-size:24px;font-weight:400;line-height:1;color:#64b5f6;transition:transform .2s ease}
.art-faq details[open] summary::after{transform:rotate(45deg)}
.art-faq summary:focus-visible{outline:2px solid #64b5f6;outline-offset:4px;border-radius:4px}
.art-faq details p{padding:0 0 20px;font-size:17px}
.art-answer{padding:4px 0 4px 22px;border-left:3px solid #64b5f6;font-size:20px!important;line-height:1.65!important;color:#eef2f8!important}
.art-options.is-stacked{grid-template-columns:1fr}
.art-options.is-stacked .art-option p+p{margin-top:10px}
.art-body h3+p{margin-top:0}
.art-cite{font-size:.68em;line-height:0;vertical-align:super;margin-left:1px}
.art-cite a{padding:0 2px;text-decoration:none!important;color:#64b5f6!important}
.art-refs ol{padding-left:22px;display:flex;flex-direction:column;gap:8px}
.art-refs li{font-size:15.5px;line-height:1.6;color:rgba(232,237,245,.72)}
.art-refs li::marker{color:#64b5f6;font-family:"Geist Mono","Geist Mono Fallback",monospace;font-size:13px}
.art-refs li:target{background:rgba(100,181,246,.1);border-radius:6px}
.art-related .res-grid{grid-template-columns:repeat(auto-fill,minmax(min(220px,100%),1fr))}
.art-related .res-card h3{font-size:19px}
/* draft articles (assets/article-status.js): the visitor notice and the admin banner */
.art-unpub{padding-top:112px;padding-bottom:128px;min-height:56vh;display:flex;flex-direction:column;align-items:flex-start;gap:18px}
.art-unpub h1{max-width:20ch;font-size:clamp(36px,4.4vw,56px);line-height:1.06;letter-spacing:-.03em;font-weight:500;text-wrap:balance}
.art-unpub p:not(.res-eyebrow){max-width:52ch;font-size:18px;line-height:1.6;color:rgba(232,237,245,.78)}
.art-unpub .btn{margin-top:8px}
.art-page>article[hidden]{display:none}
.art-draftbar{background:#1d1a10;border-bottom:1px solid rgba(242,196,109,.4)}
.art-draftbar.is-live{background:#0f1f19;border-bottom-color:rgba(95,211,154,.4)}
.art-draftbar-in{display:flex;align-items:center;justify-content:space-between;gap:12px 24px;flex-wrap:wrap;padding-top:14px;padding-bottom:14px}
.art-draftbar-text{font-size:15px;line-height:1.5;color:rgba(232,237,245,.85)}
.art-draftbar-text strong{color:#f2c46d;font-weight:600}
.art-draftbar.is-live .art-draftbar-text strong{color:#5fd39a}
.art-draftbar-act{display:flex;gap:10px;flex-wrap:wrap}
.art-draftbar .btn{min-height:44px;padding:10px 20px;font-size:15px}
.art-draftbar .btn:disabled{opacity:.6;cursor:default}
/* the banner's confirm dialog (assets/article-status.js) */
.art-confirm{width:min(440px,calc(100vw - 32px));margin:auto;padding:0;border:1px solid rgba(255,255,255,.14);border-radius:16px;background:#0b1424;color:#e8edf5;box-shadow:0 40px 100px -30px rgba(0,0,0,.8)}
.art-confirm::backdrop{background:rgba(3,7,14,.66);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}
.art-confirm-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:20px 22px 14px;border-bottom:1px solid rgba(255,255,255,.1)}
.art-confirm-head h2{font-size:19px;font-weight:600;letter-spacing:-.01em}
.art-confirm-x{flex-shrink:0;width:40px;height:40px;border-radius:10px;border:1px solid rgba(255,255,255,.14);background:transparent;color:#e8edf5;font-size:22px;line-height:1;cursor:pointer}
.art-confirm-x:hover{border-color:#64b5f6}
.art-confirm-text{padding:20px 22px;font-size:15.5px;line-height:1.6;color:rgba(232,237,245,.85);overflow-wrap:anywhere}
.art-confirm-foot{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;padding:14px 22px 20px;border-top:1px solid rgba(255,255,255,.1)}
.art-confirm-foot .btn{min-height:44px;padding:10px 20px;font-size:15px}
.art-confirm :focus-visible{outline:2px solid #e8edf5;outline-offset:2px}
@media (max-width:600px){
  .art-confirm{width:100vw;max-width:none;margin:auto 0 0;border-radius:20px 20px 0 0;border-width:1px 0 0}
  .art-confirm-foot{padding-bottom:max(20px,env(safe-area-inset-bottom))}
  .art-confirm-foot .btn{flex:1 1 0}
}
@media (max-width:720px){
  .art-unpub{padding-top:64px;padding-bottom:96px}
  .art-unpub .btn{width:100%}
  .art-draftbar-act{width:100%}
  .art-draftbar-act .btn{flex:1 1 0}
}
@media (max-width:900px){
  .art-layout{grid-template-columns:minmax(0,1fr);gap:40px}
  .art-toc{position:static;padding:20px 22px;border-radius:14px;background:#0b1424;border:1px solid rgba(255,255,255,.09)}
}
@media (max-width:720px){
  .res-head,.art-head{padding-top:64px}
  .art-body p,.art-body li{font-size:17px}
  .art-takeaways{padding:22px}
}

/* ---------- about page (scoped to .about-page) ---------- */
.about-page{--about-text:min(100%,680px)}
.about-page .page-circuit .board{opacity:.5}
.about-page .about-link{align-self:flex-start;margin-top:6px;padding:4px 0;font-size:16px;font-weight:600;color:#9fd0fa;border-bottom:1px solid rgba(159,208,250,.35);transition:color .15s ease,border-color .15s ease}
.about-page .about-link:hover{color:#64b5f6;border-bottom-color:#64b5f6}
.about-page .about-link:focus-visible{outline:2px solid #64b5f6;outline-offset:4px;border-radius:4px}
/* fade the background circuit out below the story section */
.about-page .page-rail{opacity:.2;-webkit-mask-image:linear-gradient(180deg,transparent 0,transparent 35vh,#000 75vh,#000 var(--about-fade,1100px),transparent calc(var(--about-fade,1100px) + 240px)),linear-gradient(90deg,transparent 38%,#000 92%);-webkit-mask-composite:source-in;mask-image:linear-gradient(180deg,transparent 0,transparent 35vh,#000 75vh,#000 var(--about-fade,1100px),transparent calc(var(--about-fade,1100px) + 240px)),linear-gradient(90deg,transparent 38%,#000 92%);mask-composite:intersect}
.about-page .about-eyebrow{font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:#64b5f6;margin-bottom:14px}
.about-page .about-intro{padding-top:112px;padding-bottom:16px}
.about-page .about-title{font-size:clamp(40px,5vw,64px);line-height:1.04;letter-spacing:-.035em;font-weight:500;max-width:21ch;text-wrap:balance}
.about-page .about-lead{margin-top:24px;max-width:var(--about-text);font-size:clamp(18px,1.5vw,20px);line-height:1.6;color:rgba(232,237,245,.82);text-wrap:pretty}
.about-page .about-section{padding-top:96px}
.about-page .about-head{margin-bottom:36px;max-width:var(--about-text)}
.about-page .about-h2{font-size:clamp(28px,2.8vw,38px);line-height:1.15;letter-spacing:-.025em;font-weight:500;text-wrap:balance}
.about-page .about-story{display:grid;grid-template-columns:1fr;gap:0 64px}
.about-page .about-story .about-head{margin-bottom:24px}
.about-page .about-prose{display:flex;flex-direction:column;gap:18px;max-width:var(--about-text)}
.about-page .about-prose p{font-size:17px;line-height:1.7;color:rgba(232,237,245,.78);text-wrap:pretty}
@media (min-width:960px){
  .about-page .about-story{grid-template-columns:minmax(0,5fr) minmax(0,7fr);align-items:start}
  .about-page .about-story .about-head{margin-bottom:0}
}
.about-page .about-grid,.about-page .about-ways{list-style:none;display:grid;grid-template-columns:1fr;gap:16px}
@media (min-width:640px){.about-page .about-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:1000px){.about-page .about-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (min-width:860px){.about-page .about-ways{grid-template-columns:repeat(3,minmax(0,1fr))}}
.about-page .about-card,.about-page .about-way{padding:28px;border-radius:16px;background:#0b1424;border:1px solid rgba(255,255,255,.09);display:flex;flex-direction:column;gap:10px}
.about-page .about-card::before{content:"";width:28px;height:2px;border-radius:2px;background:#64b5f6;margin-bottom:6px}
.about-page .about-card h3,.about-page .about-way h3{font-size:18px;font-weight:600;line-height:1.35;letter-spacing:-.005em;color:#f1f4f9}
.about-page .about-card p,.about-page .about-way p{font-size:15px;line-height:1.6;color:rgba(232,237,245,.74)}
.about-page .about-way{background:linear-gradient(180deg,rgba(100,181,246,.06),rgba(100,181,246,0) 60%),#0b1424}
.about-page .about-way h3{font-size:22px;font-weight:500;letter-spacing:-.015em}
.about-page .about-cta-wrap{padding-bottom:112px}
.about-page .about-cta{display:flex;justify-content:space-between;align-items:center;gap:24px 40px;flex-wrap:wrap;padding:clamp(32px,5vw,56px);border-radius:22px;background:radial-gradient(600px 260px at 100% 0%,rgba(100,181,246,.14),transparent 70%),#0b1424;border:1px solid rgba(100,181,246,.22)}
.about-page .about-cta p{margin-top:10px;max-width:46ch;font-size:17px;line-height:1.6;color:rgba(232,237,245,.78)}
@media (max-width:720px){
  .about-page .about-intro{padding-top:64px}
  .about-page .about-section{padding-top:64px}
  .about-page .about-head{margin-bottom:28px}
  .about-page .about-card,.about-page .about-way{padding:24px}
  .about-page .about-cta-wrap{padding-bottom:72px}
  .about-page .about-cta .btn{width:100%}
}

/* ---------- contact ---------- */
.form-card{padding:40px;border-radius:22px;background:#0b1424;border:1px solid rgba(255,255,255,.1)}
.hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}
@media (max-width:720px){.form-card{padding:28px 20px}}

/* contact page */
.contact-layout{padding-top:110px;padding-bottom:120px;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(340px,100%),1fr));gap:72px;align-items:start}
.contact-intro{display:flex;flex-direction:column;gap:24px}
@media (min-width:900px){.contact-intro{position:sticky;top:116px}}
.contact-title{font-size:clamp(40px,4.6vw,64px);line-height:1.04;letter-spacing:-.035em;font-weight:500;text-wrap:balance}
.contact-lede{font-size:18px;line-height:1.65;color:rgba(232,237,245,.8);max-width:480px;text-wrap:pretty}
.contact-reply{display:flex;align-items:center;gap:10px;font-size:16px;font-weight:500;color:#e8edf5}
.contact-reply svg{width:20px;height:20px;flex-shrink:0;fill:none;stroke:#64b5f6;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.contact-alt{border-top:1px solid rgba(255,255,255,.1);padding-top:24px;display:flex;flex-direction:column;gap:8px}
.contact-alt-label{font-size:12px;letter-spacing:.1em;text-transform:uppercase;color:rgba(232,237,245,.7)}
.contact-alt a{font-size:20px;font-weight:500;color:#e8edf5;text-decoration:underline;text-decoration-color:rgba(100,181,246,.5);text-underline-offset:4px;overflow-wrap:anywhere}
.contact-alt a:hover{color:#64b5f6}
/* contact form — scoped to .contact-card */
.contact-card #contact-form{display:flex;flex-direction:column;gap:24px}
.contact-card .cf-note{font-size:15px;line-height:1.5;color:rgba(232,237,245,.8)}
.contact-card .cf-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(200px,100%),1fr));gap:24px 16px}
.contact-card .field{display:flex;flex-direction:column;gap:8px;min-width:0;border:none;padding:0;margin:0}
.contact-card .field>label,.contact-card .field>legend{font-size:15px;font-weight:600;line-height:1.35;color:#eef2f8;padding:0}
.contact-card .field .opt{margin-left:2px;font-size:13px;font-weight:400;color:rgba(232,237,245,.62)}
.contact-card .field-hint{font-size:13.5px;line-height:1.45;color:rgba(232,237,245,.72)}
.contact-card .field input,.contact-card .field textarea,.contact-card .field select{width:100%;min-height:48px;padding:12px 14px;border-radius:10px;background:#070d18;border:1px solid rgba(255,255,255,.16);color:#e8edf5;font:inherit;font-weight:400;font-size:16px;line-height:1.4;outline:none;transition:border-color .15s ease,box-shadow .15s ease}
.contact-card .field input::placeholder,.contact-card .field textarea::placeholder{color:rgba(232,237,245,.56);opacity:1}
.contact-card .field input:hover,.contact-card .field textarea:hover,.contact-card .field select:hover{border-color:rgba(255,255,255,.28)}
.contact-card .field input:focus,.contact-card .field textarea:focus,.contact-card .field select:focus{border-color:#7cc1f8;box-shadow:0 0 0 3px rgba(100,181,246,.3)}
.contact-card .field textarea{min-height:140px;resize:vertical;line-height:1.55}
.contact-card .field select{appearance:none;-webkit-appearance:none;padding-right:42px;cursor:pointer;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2364b5f6' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 15px center}
.contact-card .field select.is-empty{color:rgba(232,237,245,.62)}
.contact-card .field select option{background:#0b1424;color:#e8edf5}
.contact-card .field [aria-invalid="true"]{border-color:#ff8f80}
.contact-card .field [aria-invalid="true"]:focus{box-shadow:0 0 0 3px rgba(255,143,128,.3);border-color:#ff8f80}
.contact-card .field-error{display:flex;gap:6px;align-items:flex-start;font-size:14px;line-height:1.4;color:#ffb3a8}
.contact-card .field-error::before{content:"!";flex-shrink:0;width:16px;height:16px;margin-top:1px;border-radius:50%;background:#ff8f80;color:#1a0806;font-size:11px;font-weight:700;display:flex;align-items:center;justify-content:center}
.contact-card .field-error[hidden]{display:none}

/* service options: equal-width two-column grid of checkbox tiles */
.contact-card .cf-services{gap:8px}
.contact-card .cf-services>legend{margin-bottom:8px}
.contact-card .cf-services .field-hint{margin:-4px 0 4px}
.contact-card .chip-group{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
@media (max-width:480px){.contact-card .chip-group{grid-template-columns:1fr}}
.contact-card .chip-wide{grid-column:1/-1}
.contact-card .chip-check{position:relative;display:flex;min-width:0}
.contact-card .chip-check input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer;z-index:1}
.contact-card .chip-check span{display:flex;align-items:center;gap:10px;width:100%;min-height:48px;padding:11px 14px;border-radius:10px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.025);color:rgba(232,237,245,.9);font-size:14.5px;font-weight:500;line-height:1.35;overflow-wrap:anywhere;transition:background-color .15s ease,border-color .15s ease,color .15s ease}
.contact-card .chip-check span::before{content:"";width:16px;height:16px;flex-shrink:0;border-radius:4px;border:1.5px solid rgba(232,237,245,.55);background:transparent center/11px no-repeat;transition:background-color .15s ease,border-color .15s ease}
.contact-card .chip-check input:hover+span{border-color:rgba(255,255,255,.26);background:rgba(255,255,255,.045)}
.contact-card .chip-check input:checked+span{background:rgba(100,181,246,.13);border-color:rgba(100,181,246,.75);color:#fff}
.contact-card .chip-check input:checked+span::before{border-color:#64b5f6;background-color:#64b5f6;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5' fill='none' stroke='%2306101f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
/* focus is a separate outer ring, so it never reads as "selected" */
.contact-card .chip-check input:focus-visible+span{outline:2px solid #e8edf5;outline-offset:2px;box-shadow:0 0 0 5px rgba(100,181,246,.35)}
.cf-status{padding:14px 16px;border-radius:12px;border:1px solid rgba(255,143,128,.45);background:rgba(255,143,128,.1);font-size:15px;line-height:1.55;color:#f3f5f9}
.cf-status strong{color:#fff}
.cf-status a{color:#9fd0fa;text-decoration:underline;overflow-wrap:anywhere}
.cf-status .cf-retry{margin-top:12px;min-height:44px;padding:10px 20px;font-size:15px}
.cf-submit{display:flex;flex-direction:column;gap:12px;padding-top:4px}
.cf-caution{font-size:14px;line-height:1.5;color:rgba(232,237,245,.8)}
.cf-btn{width:100%;min-height:54px;gap:10px}
.cf-btn:disabled{opacity:.75;cursor:progress;box-shadow:none}
.cf-btn .cf-spinner{width:16px;height:16px;border-radius:50%;border:2px solid rgba(6,16,31,.3);border-top-color:#06101f;animation:cfspin .8s linear infinite}
@keyframes cfspin{to{transform:rotate(360deg)}}
.cf-privacy{font-size:13.5px;line-height:1.5;color:rgba(232,237,245,.72)}
.cf-privacy a{color:#9fd0fa;text-decoration:underline;text-underline-offset:2px}
.cf-success{display:flex;flex-direction:column;align-items:flex-start;gap:14px;padding:8px 0}
.cf-success[hidden]{display:none}
.cf-success h2{font-size:28px;font-weight:500;letter-spacing:-.02em;outline:none}
.cf-success p{font-size:17px;line-height:1.6;color:rgba(232,237,245,.82)}
.cf-success-icon{width:48px;height:48px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:rgba(95,211,154,.15)}
.cf-success-icon svg{width:24px;height:24px;fill:none;stroke:#5fd39a;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.cf-again{margin-top:4px;padding:12px 22px;font-size:15px}
@media (max-width:720px){
  .contact-layout{padding-top:56px;padding-bottom:80px;gap:40px}
  .contact-lede{font-size:17px}
  .contact-alt a{font-size:18px}
}
@media (prefers-reduced-motion:reduce){.cf-btn .cf-spinner{animation-duration:2s}}

/* ---------- scroll reveals (hidden state only once JS has run) ---------- */
@media (prefers-reduced-motion:no-preference){
  .js [data-rv]:not([data-rv-state="in"]){opacity:0;translate:0 16px}
  .js [data-rv][data-rv-state="in"]{animation:rvIn .5s cubic-bezier(.2,.7,.2,1) var(--rv-d,0ms) both}
}
@keyframes rvIn{from{opacity:0;translate:0 16px}to{opacity:1;translate:0 0}}

/* ---------- phones: smoother scrolling (Nov 2026) ----------
   Phones draw web pages at 60 fps, so every scroll frame counts. Over the circuit boards, the
   header's live blur re-blurs a large SVG on every frame, and the reveals fade content in after it
   has already scrolled into view. On touch screens: an opaque header, the circuit layers on their
   own compositor layers, and short, earlier, opacity-only reveals. */
@media (hover:none),(max-width:720px){
  .site-header{background:rgba(10,18,34,.97);-webkit-backdrop-filter:none;backdrop-filter:none}
  .board,.box-circuit,.hero-board{transform:translateZ(0);contain:paint}
  .hero-content,.hero-dim{will-change:transform,opacity}
}
@media (prefers-reduced-motion:no-preference) and (hover:none),(prefers-reduced-motion:no-preference) and (max-width:720px){
  .js [data-rv]:not([data-rv-state="in"]){translate:none}
  .js [data-rv][data-rv-state="in"]{animation:rvFade .28s ease-out var(--rv-d,0ms) both}
}
@keyframes rvFade{from{opacity:0}to{opacity:1}}
@media (prefers-reduced-motion:reduce){
  .menu,.menu-backdrop{animation:none}
  .burger span{transition:none}
}

/* ---------- home: "From Our Shop" (index.html #shop) ----------
   Near the end, after the services, and quieter than them: a small heading, no box, one row of the
   shop's own product cards (assets/shop-tile.css .shop-card, drawn in by _worker.js). One card sits
   beside the heading, on its side; two to four sit in a row under it. The app's preview
   (assets/card-preview.css) is loaded by assets/home-shop.js as the row nears the screen; until then
   its place holds the card's shape, so nothing moves. */
.hshop{padding-top:96px;padding-bottom:72px;scroll-margin-top:96px}
.hshop[hidden]{display:none}
.hshop-in{display:grid;grid-template-columns:minmax(0,1fr);gap:28px;padding-top:40px;border-top:1px solid rgba(255,255,255,.08)}
.hshop-head{display:flex;flex-direction:column;gap:12px;align-items:flex-start}
.hshop-h{font-size:clamp(24px,2.2vw,30px);line-height:1.15;letter-spacing:-.02em;font-weight:500}
.hshop-lede{font-size:16px;line-height:1.6;color:rgba(232,237,245,.66);max-width:40ch;text-wrap:pretty}
.hshop-links{display:flex;flex-wrap:wrap;gap:8px 20px;align-items:center}
.hshop-link{display:inline-flex;align-items:center;min-height:44px;font-size:15px;font-weight:600;color:#64b5f6}
.hshop-link:hover{color:#9fd0fa}
.hshop-store{display:inline-flex;align-items:center;min-height:44px;padding:10px 18px;border-radius:12px;background:#000;color:#fff;border:1px solid rgba(255,255,255,.4);font-size:14px;font-weight:600}
.hshop-store[hidden]{display:none}
.hshop-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}
.hshop .shop-card h3{font-size:19px}
.hshop .shop-desc{font-size:14.5px;line-height:1.55}
.hshop .shop-price{font-size:22px}
.hshop .shop-body{gap:10px;padding:20px 22px 22px}
.hshop .shop-badge{right:auto;left:14px}
.hshop .shop-media{aspect-ratio:auto;height:200px}
@media (min-width:900px){
  .hshop-in{grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:48px;align-items:center}
  .hshop-grid{grid-auto-flow:column;grid-auto-columns:minmax(0,1fr)}
  /* Two or more: the heading over the row. */
  .hshop:not([data-count="1"]) .hshop-in{grid-template-columns:minmax(0,1fr)}
  .hshop:not([data-count="1"]) .hshop-head{flex-direction:row;flex-wrap:wrap;align-items:baseline;justify-content:space-between;column-gap:32px}
  .hshop:not([data-count="1"]) .hshop-lede{max-width:none;flex:1}
  /* One: the card on its side, beside the heading. */
  .hshop[data-count="1"] .shop-card{flex-direction:row}
  .hshop[data-count="1"] .shop-media{flex:0 0 46%;height:auto;min-height:260px;border-bottom:0;border-right:1px solid rgba(255,255,255,.06)}
  .hshop[data-count="1"] .shop-body{justify-content:center;padding:28px 30px}
}
@media (max-width:600px){
  .hshop{padding-top:72px;padding-bottom:56px}
  .hshop .shop-media{height:180px}
}
