/* ============================================================
   WETS AI — shared stylesheet (all pages)
   Visual system: Exploded View — technical illustration on a
   white drawing board. Light is the default; [data-theme="dark"]
   is the navy drawing board.
   ============================================================ */

/* ---------- Self-hosted fonts (latin subset) ---------- */
@font-face{font-family:'Hanken Grotesk';font-style:normal;font-weight:100 900;font-display:swap;src:url(../fonts/hanken-grotesk-latin-wght-normal.woff2) format('woff2')}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:100 800;font-display:swap;src:url(../fonts/jetbrains-mono-latin-wght-normal.woff2) format('woff2')}

/* ---------- Tokens ---------- */
:root{
  color-scheme:light;
  --navy:#14304A;
  --blue:#2E7FD6;            /* WETS blue: highlights, active parts */
  --btn:#1F6CC0;             /* WETS blue, deepened for white text */
  --btn-hover:#185BA6;

  --ground:#F5F7F9;          /* drawing board */
  --ground-2:#FFFFFF;
  --surface:#FFFFFF;
  --ink:#14304A;
  --ink-2:#46566A;
  --slate:#5B6B7A;
  --line:#D5DCE3;
  --line-2:#E6EBF0;
  --line-strong:#AEB9C5;
  --link:#1F68B8;
  --tint:#EEF5FD;
  --tint-line:#C6DCF4;
  --grid:rgba(20,48,74,.055);
  --good:#1F7A4D;
  --bad:#B42318;
  --shadow:0 24px 48px -32px rgba(20,48,74,.45);
  --shadow-sm:0 10px 24px -18px rgba(20,48,74,.5);
  --check:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F6CC0' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='5 12.5 10 17.5 19 7.5'/%3E%3C/svg%3E");

  --font:'Hanken Grotesk',system-ui,-apple-system,'Segoe UI',sans-serif;
  --mono:'JetBrains Mono',ui-monospace,'SFMono-Regular',monospace;

  --r:12px;--r-sm:8px;
  --section-y:clamp(64px,8vw,112px);
  --container:1240px;
  --gutter:20px;
  --nav-h:76px;
  --ease-out:cubic-bezier(.16,1,.3,1);
}
[data-theme="dark"]{
  color-scheme:dark;
  --blue:#4A9BEA;
  --btn:#2470C4;
  --btn-hover:#2E7FD6;
  --ground:#0C1826;
  --ground-2:#0F1D2E;
  --surface:#13233A;
  --ink:#E6EDF5;
  --ink-2:#B3C2D3;
  --slate:#97A9BC;
  --line:#26394F;
  --line-2:#1C2E44;
  --line-strong:#3E5672;
  --link:#86BAF0;
  --tint:#14304A;
  --tint-line:#2A4F78;
  --grid:rgba(220,230,242,.05);
  --good:#5CC98F;
  --bad:#FF8A80;
  --shadow:0 24px 48px -28px rgba(0,0,0,.8);
  --shadow-sm:0 10px 24px -16px rgba(0,0,0,.8);
  --check:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2386BAF0' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='5 12.5 10 17.5 19 7.5'/%3E%3C/svg%3E");
}

/* ---------- Base ---------- */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;scroll-padding-top:calc(var(--nav-h) + 16px);-webkit-text-size-adjust:100%}
body{font-family:var(--font);font-size:17px;line-height:1.6;color:var(--ink-2);background:var(--ground);-webkit-font-smoothing:antialiased;overflow-x:hidden;font-feature-settings:"ss01"}
img,svg{display:block;max-width:100%}
picture{display:contents}
a{color:inherit;text-decoration:none}
ul{list-style:none}
button{font:inherit;cursor:pointer;border:none;background:none;color:inherit}
strong{color:var(--ink);font-weight:650}
::selection{background:var(--btn);color:#fff}
:focus-visible{outline:2px solid var(--blue);outline-offset:3px;border-radius:4px}
html{scrollbar-color:var(--line-strong) var(--ground)}
::-webkit-scrollbar{width:12px;height:12px}
::-webkit-scrollbar-track{background:var(--ground)}
::-webkit-scrollbar-thumb{background:var(--line-strong);border:3px solid var(--ground);border-radius:6px}
.skip-link{position:absolute;left:12px;top:-60px;z-index:200;background:var(--btn);color:#fff;padding:10px 16px;border-radius:999px;font-weight:650}
.skip-link:focus{top:12px}
table,td,th{font-variant-numeric:tabular-nums}

.container{width:100%;max-width:var(--container);margin-inline:auto;padding-inline:var(--gutter)}
h1,h2,h3,h4{font-family:var(--font);color:var(--ink);line-height:1.06;letter-spacing:-.02em;text-wrap:balance}
h1{font-weight:720;letter-spacing:-.035em}
h2{font-weight:700;letter-spacing:-.028em}
h3{font-weight:650;letter-spacing:-.012em}
p{text-wrap:pretty}
.sec-a{background:var(--ground)}
.sec-b{background:var(--ground-2)}
.sec-b{border-block:1px solid var(--line-2)}

/* Eyebrow labels are retired site-wide */
.tag{display:none!important}

.section-head{max-width:780px;margin-bottom:clamp(32px,4.5vw,52px)}
.section-head h2,.h2{font-size:clamp(32px,4.4vw,54px);margin-bottom:16px}
.section-head p{font-size:clamp(17px,1.5vw,19px);max-width:60ch}
.section-head.center{margin-inline:0;text-align:left}
.prose p{max-width:64ch}
.prose p + p{margin-top:16px}
.prose .h2 + p{margin-top:0}
.mb-lg{margin-bottom:26px}

/* Engineering grid (drawing board) */
.grid-bg{position:relative;isolation:isolate}
.grid-bg::before{
  content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:
    repeating-linear-gradient(0deg,transparent 0 39px,var(--grid) 39px 40px),
    repeating-linear-gradient(90deg,transparent 0 39px,var(--grid) 39px 40px);
  -webkit-mask:linear-gradient(180deg,#000 35%,transparent 100%);mask:linear-gradient(180deg,#000 35%,transparent 100%);
}

/* ---------- Buttons (pill) ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  font-family:var(--font);font-weight:650;font-size:16px;line-height:1.1;letter-spacing:-.005em;
  padding:14px 24px;border-radius:999px;min-height:50px;border:1.5px solid transparent;
  transition:transform .3s var(--ease-out),box-shadow .3s var(--ease-out),background-color .2s,color .2s,border-color .2s;
  touch-action:manipulation;cursor:pointer;text-align:center;
}
.btn svg{width:17px;height:17px;flex:none;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;transition:transform .3s var(--ease-out)}
.btn:hover svg{transform:translateX(3px)}
.btn-primary{color:#fff;background:var(--btn);box-shadow:0 10px 22px -12px rgba(31,108,192,.9)}
.btn-primary:hover{background:var(--btn-hover);transform:translateY(-1px)}
.btn-primary:active{transform:none}
.btn-ghost{color:var(--ink);border-color:var(--line-strong);background:var(--surface)}
.btn-ghost:hover{border-color:var(--ink)}
.btn[disabled],.btn:disabled{opacity:.55;cursor:not-allowed;transform:none;box-shadow:none}

/* ---------- Navbar ---------- */
.navbar{position:fixed;inset:0 0 auto 0;z-index:100;background:color-mix(in srgb,var(--ground-2) 92%,transparent);border-bottom:1px solid var(--line);-webkit-backdrop-filter:saturate(1.4) blur(10px);backdrop-filter:saturate(1.4) blur(10px);transition:box-shadow .3s}
.navbar.scrolled{box-shadow:0 10px 30px -24px rgba(20,48,74,.6)}
.nav-inner{display:flex;align-items:center;justify-content:space-between;height:calc(var(--nav-h) - 1px);gap:16px}
.brand{display:inline-flex;align-items:center;line-height:1}
.brand-logo{display:block;width:auto;height:38px}
.logo-dark{display:none}
[data-theme="dark"] .navbar .logo-light{display:none}
[data-theme="dark"] .navbar .logo-dark{display:block}
.footer .brand-logo{height:42px}
.nav-links{display:none}
.nav-cta-desktop{display:none}
.nav-actions{display:flex;align-items:center;gap:8px}
.icon-btn{width:44px;height:44px;border-radius:999px;display:grid;place-items:center;border:1px solid var(--line);background:var(--surface);transition:border-color .2s,background-color .2s}
.icon-btn:hover{border-color:var(--line-strong);background:var(--tint)}
.theme-toggle svg{width:19px;height:19px;stroke:var(--ink)}
.theme-toggle .icon-sun{display:none}
[data-theme="dark"] .theme-toggle .icon-sun{display:block}
[data-theme="dark"] .theme-toggle .icon-moon{display:none}
.nav-toggle span{position:relative;width:18px;height:2px;border-radius:2px;background:var(--ink);transition:background .2s}
.nav-toggle span::before,.nav-toggle span::after{content:'';position:absolute;left:0;width:18px;height:2px;border-radius:2px;background:var(--ink);transition:transform .3s var(--ease-out),top .3s var(--ease-out)}
.nav-toggle span::before{top:-6px}
.nav-toggle span::after{top:6px}
.nav-toggle.open span{background:transparent!important}
.nav-toggle.open span::before{top:0;transform:rotate(45deg)}
.nav-toggle.open span::after{top:0;transform:rotate(-45deg)}

.mobile-menu{
  position:fixed;inset:var(--nav-h) 0 auto 0;z-index:99;background:var(--ground-2);border-bottom:1px solid var(--line);
  padding:6px var(--gutter) 24px;max-height:calc(100dvh - var(--nav-h));overflow-y:auto;overscroll-behavior:contain;
  opacity:0;transform:translateY(-8px);visibility:hidden;transition:opacity .3s,transform .4s var(--ease-out),visibility .3s;
}
.mobile-menu.open{opacity:1;transform:none;visibility:visible}
.mobile-menu a{display:block;padding:15px 4px;font-weight:650;font-size:18px;color:var(--ink);border-bottom:1px solid var(--line-2)}
.mobile-menu a.active,.mobile-menu a[aria-current="page"].mm-top{color:var(--link)}
.mobile-menu .btn{display:flex;margin-top:18px;width:100%}
.mobile-menu .btn-primary{color:#fff}

/* ---------- Crumbs ---------- */
.crumbs{display:flex;flex-wrap:wrap;gap:8px;align-items:center;font-size:14.5px;margin-bottom:20px;color:var(--slate)}
.crumbs a{color:var(--link);font-weight:600}
.crumbs a:hover{text-decoration:underline;text-underline-offset:3px}
.crumbs span[aria-hidden]{opacity:.6}

/* ============================================================
   HERO
   ============================================================ */
#heroCanvas,.hero-grid-bg{display:none}
.hero{position:relative;isolation:isolate;padding:calc(var(--nav-h) + clamp(28px,4vw,56px)) 0 clamp(32px,4vw,56px);background:var(--ground)}
.hero::before{
  content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:repeating-linear-gradient(0deg,transparent 0 39px,var(--grid) 39px 40px),repeating-linear-gradient(90deg,transparent 0 39px,var(--grid) 39px 40px);
  -webkit-mask:linear-gradient(180deg,#000 40%,transparent 100%);mask:linear-gradient(180deg,#000 40%,transparent 100%);
}
.hero-inner{position:relative;display:grid;gap:40px;align-items:center}
.hero h1{font-size:clamp(40px,6vw,76px);line-height:.98;margin-bottom:22px;max-width:14ch}
.grad-text{color:inherit}
.hero-sub{font-size:clamp(17px,1.5vw,19px);max-width:52ch;margin-bottom:28px}
.hero-sub.tight{margin-bottom:14px}
.hero-ctas{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:28px}
.hero-ctas:last-child{margin-bottom:0}
.hero-motto{display:flex;flex-wrap:wrap;gap:8px 22px;font-family:var(--mono);font-size:12.5px;color:var(--slate);text-transform:uppercase}
.hero-motto li{display:flex;align-items:center;gap:8px}
.hero-motto li::before{content:'';width:6px;height:6px;border-radius:50%;background:var(--blue)}
.hero-visual{width:min(100%,460px);margin-inline:auto}
.hero-visual .photo-frame{--maxh:min(60vh,560px)}
.badge-row{display:flex;flex-wrap:wrap;gap:0;margin-top:12px;border-top:1px solid var(--line)}
.badge{display:flex;flex-direction:column;gap:2px;padding:12px 22px 0 0;margin-right:22px}
.badge .dot{display:none}
.badge strong{display:block;font-weight:650;font-size:15px;color:var(--ink);line-height:1.25}
.badge small{display:block;font-family:var(--mono);font-size:12px;color:var(--slate);line-height:1.35}

/* Photo frames with callout captions */
.photo-frame{
  --ar:.75;--maxh:min(70vh,640px);
  position:relative;border-radius:var(--r);overflow:hidden;
  width:min(100%, calc(var(--maxh) * var(--ar)));margin-inline:auto;
  border:1px solid var(--line);background:#1A2633;box-shadow:var(--shadow);
}
.photo-frame img{display:block;width:100%;height:auto}
.photo-frame .corner{display:none}
.photo-frame figcaption,.cap-tag{
  position:absolute;left:12px;bottom:12px;z-index:2;max-width:calc(100% - 24px);
  display:inline-flex;align-items:center;gap:8px;padding:6px 11px 6px 9px;border-radius:999px;
  background:rgba(255,255,255,.94);color:#14304A;border:1px solid rgba(20,48,74,.18);
  font-family:var(--mono);font-size:12px;line-height:1.25;
}
.photo-frame figcaption::before,.cap-tag::before{content:'';width:8px;height:8px;flex:none;border-radius:50%;background:#fff;border:2px solid var(--btn)}

/* ---------- Stats (About / Control Panel) ---------- */
.stats{padding-block:clamp(28px,4vw,48px)}
.stats-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:0;border-top:1px solid var(--line)}
.stat{padding:20px 20px 4px 0}
.stat .num{font-weight:720;font-size:clamp(30px,3.4vw,44px);color:var(--ink);line-height:1;letter-spacing:-.03em}
.stat .num em{font-style:normal;color:var(--blue)}
.stat .lbl{margin-top:8px;font-size:15px;color:var(--slate);line-height:1.4}

/* ---------- Sections, cards ---------- */
.section{padding:var(--section-y) 0}
.cards{display:grid;gap:18px;grid-template-columns:1fr}
.card{position:relative;overflow:hidden;display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--line);border-radius:var(--r);transition:transform .35s var(--ease-out),box-shadow .35s var(--ease-out),border-color .25s}
.card:has(a):hover{transform:translateY(-3px);box-shadow:var(--shadow);border-color:var(--tint-line)}
.card-photo{position:relative;aspect-ratio:4/3;overflow:hidden;background:#1A2633}
.card-photo img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .7s var(--ease-out)}
.card:hover .card-photo img{transform:scale(1.03)}
.card-body{padding:22px 22px 24px;display:flex;flex-direction:column;flex:1}
.card h3{font-size:21px;margin-bottom:8px}
.card p{margin-bottom:18px;font-size:16px}
.card p:last-child{margin-bottom:0}
.card-list{display:flex;flex-wrap:wrap;gap:6px;margin-top:auto}
.card-list li{font-size:13.5px;font-weight:550;color:var(--ink);padding:4px 11px;border-radius:999px;border:1px solid var(--line);background:var(--ground)}
/* icon cards: icon beside the heading, not stacked above it */
.icard .card-body{display:grid;grid-template-columns:auto 1fr;column-gap:14px;align-items:center;align-content:start;padding:22px 22px 24px}
.icard .card-body>*:not(.icard-ico):not(h3){grid-column:1/-1}
.icard h3{margin-bottom:0}
.icard .card-body h3+p{margin-top:12px}
.icard-ico{width:40px;height:40px;border-radius:10px;display:grid;place-items:center;border:1px solid var(--line);background:var(--ground)}
.icard-ico svg{width:22px;height:22px;stroke:var(--ink)}
.card:hover .icard-ico svg{stroke:var(--blue)}

/* ---------- Process steps: callout timeline ---------- */
.steps{display:grid;gap:28px;counter-reset:none}
.step{position:relative;padding-top:24px;border-top:1px solid var(--line-strong)}
.step-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}
.step-num{position:absolute;top:-17px;left:0;display:inline-grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--surface);border:2px solid var(--btn);font-family:var(--mono);font-weight:600;font-size:13px;color:var(--ink)}
.step-icon{width:28px;height:28px;stroke:var(--slate);fill:none;margin-left:auto}
.step h3{font-size:20px;margin-bottom:8px}
.step p{font-size:16px}

/* ---------- Chips ---------- */
.chip-grid{display:flex;flex-wrap:wrap;gap:8px}
.chip-grid li{display:inline-flex;align-items:center;padding:7px 14px;border-radius:999px;border:1px solid var(--line);background:var(--surface);font-weight:550;font-size:15px;color:var(--ink);line-height:1.3}
.chip-grid li:has(a){border-color:var(--tint-line);background:var(--tint)}
.chip-grid li a{color:var(--link);font-weight:650}
.chip-grid li:has(a):hover{border-color:var(--btn)}
.chip-grid.mt{margin-top:clamp(28px,4vw,44px)}

/* ---------- Two-column split, lists ---------- */
.why-grid{display:grid;gap:40px;align-items:center}
.diff-list{display:grid;margin-top:8px}
.diff-list li{display:flex;align-items:flex-start;gap:12px;padding:11px 0;border-bottom:1px solid var(--line-2);color:var(--ink);font-weight:550;font-size:16px;line-height:1.45}
.diff-list li::before,.media-row .points li::before{content:'';flex:none;width:20px;height:20px;margin-top:1px;background:var(--check) center/18px no-repeat}
.hero-facts li svg{flex:none;width:18px;height:18px;margin-top:2px;stroke:var(--link);stroke-width:2.4;fill:none;stroke-linecap:round;stroke-linejoin:round}

.benefits{display:grid;gap:0;margin-top:6px;border-top:1px solid var(--line)}
.benefit{display:flex;gap:16px;padding:18px 0;border-bottom:1px solid var(--line-2)}
.benefit .ico{width:40px;height:40px;flex:none;border-radius:10px;display:grid;place-items:center;border:1px solid var(--line);background:var(--surface)}
.benefit .ico svg{width:21px;height:21px;stroke:var(--ink)}
.benefit h3{font-size:18px;margin-bottom:3px}
.benefit p{font-size:15.5px;line-height:1.5}

/* QA checklist */
.qa-card{position:relative;background:var(--surface);border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--shadow);overflow:hidden}
.qa-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 22px;border-bottom:1px solid var(--line-2)}
.qa-head h3{font-size:17px}
.qa-head .qa-ref{font-family:var(--mono);font-size:12px;color:var(--slate);white-space:nowrap}
.qa-list{display:grid;padding:6px 22px}
.qa-list li{display:flex;align-items:center;gap:14px;font-size:16px;font-weight:550;color:var(--ink);padding:11px 0;border-bottom:1px solid var(--line-2)}
.qa-list li:last-child{border-bottom:0}
.qa-check{width:24px;height:24px;flex:none;border-radius:50%;display:grid;place-items:center;background:var(--tint);border:1px solid var(--tint-line)}
.qa-check svg{width:14px;height:14px;stroke:var(--btn);stroke-width:3;fill:none}
[data-theme="dark"] .qa-check svg{stroke:var(--link)}
.qa-foot{margin:4px 22px 18px;padding-top:14px;border-top:1px solid var(--line-2);display:flex;align-items:flex-start;gap:10px;font-size:15px;font-weight:550;color:var(--ink)}
.qa-foot i{width:8px;height:8px;flex:none;margin-top:7px;border-radius:50%;background:var(--blue)}
.qa-card.mt{margin-top:clamp(28px,4vw,44px)}

/* ---------- Gallery ---------- */
.gallery{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.gallery button{position:relative;display:block;width:100%;border-radius:var(--r);overflow:hidden;background:#1A2633;border:1px solid var(--line);text-align:left}
.gallery img{width:100%;height:100%;object-fit:cover;aspect-ratio:3/4;transition:transform .7s var(--ease-out)}
.gallery button:hover img{transform:scale(1.03)}
.gallery .cap{position:absolute;left:12px;bottom:12px;max-width:calc(100% - 24px);display:inline-flex;align-items:center;gap:8px;padding:6px 11px 6px 9px;border-radius:999px;background:rgba(255,255,255,.94);color:#14304A;font-family:var(--mono);font-size:12px;line-height:1.25}
.gallery .cap::before{content:'';width:8px;height:8px;flex:none;border-radius:50%;background:#fff;border:2px solid #1F6CC0}
.lightbox{border:none;padding:0;background:transparent;max-width:min(92vw,1100px);max-height:92vh;margin:auto}
.lightbox::backdrop{background:rgba(8,16,26,.9)}
.lightbox img{max-width:100%;max-height:84vh;width:auto;height:auto;border-radius:var(--r);margin:auto}
.lightbox p{color:#E6EDF5;text-align:center;margin-top:12px;font-family:var(--mono);font-size:13.5px}
.lightbox .lb-close{position:fixed;top:16px;right:16px;width:46px;height:46px;border-radius:50%;background:#fff;color:#14304A;font-size:26px;line-height:1}

/* ---------- Closing call to action (navy drawing sheet) ---------- */
.cta-box{
  position:relative;overflow:hidden;isolation:isolate;border-radius:calc(var(--r) + 6px);
  padding:clamp(40px,6vw,76px) clamp(24px,5vw,72px);
  background:#14304A;color:#C9D6E5;
}
.cta-box::before{content:'';position:absolute;inset:0;z-index:-1;background:repeating-linear-gradient(0deg,transparent 0 39px,rgba(255,255,255,.06) 39px 40px),repeating-linear-gradient(90deg,transparent 0 39px,rgba(255,255,255,.06) 39px 40px)}
[data-theme="dark"] .cta-box{background:#13233A;border:1px solid var(--line)}
.cta-box h2{font-size:clamp(32px,4.8vw,60px);line-height:1;color:#fff;max-width:16ch;margin:0 0 18px}
.cta-box p{color:#C9D6E5;max-width:56ch;margin:0 0 30px;font-size:clamp(17px,1.5vw,19px)}
.cta-actions{display:flex;flex-wrap:wrap;gap:12px}
.cta-box .btn-primary{background:#1F6CC0}
.cta-box .btn-primary:hover{background:#185BA6}
.cta-box .btn-ghost{background:transparent;color:#fff;border-color:rgba(255,255,255,.45)}
.cta-box .btn-ghost:hover{border-color:#fff}
.cta-box strong{color:#fff}
.cta-box a:not(.btn){color:#9CCBFF}
.cta-box .cta-note{margin:24px 0 0;font-size:15px}

/* ---------- Footer ---------- */
.footer{position:relative;background:#0F2236;color:#AFC0D2;padding:clamp(52px,7vw,80px) 0 0}
[data-theme="dark"] .footer{background:#08121D;border-top:1px solid var(--line-2)}
.footer-grid{display:grid;gap:40px;grid-template-columns:1fr;padding-bottom:48px}
.footer-brand p{font-size:15.5px;max-width:36ch;margin:18px 0 22px}
.footer h4{font-size:13px;font-family:var(--mono);font-weight:500;text-transform:uppercase;letter-spacing:.02em;color:#86BAF0;margin-bottom:16px}
.footer-col ul{display:grid;gap:10px}
.footer-col a{color:#DDE6F0;font-size:15.5px;transition:color .2s}
.footer-col a:hover{color:#fff;text-decoration:underline;text-underline-offset:4px}
.footer-contact li{display:flex;gap:12px;font-size:15.5px;margin-bottom:12px;color:#DDE6F0}
.footer-contact svg{width:18px;height:18px;flex:none;stroke:#86BAF0;margin-top:3px;fill:none}
.footer-badge{display:inline-flex;align-items:center;gap:8px;font-weight:600;font-size:13.5px;color:#DDE6F0;border:1px solid #2C4560;border-radius:999px;padding:7px 13px}
.footer-badge svg{width:16px;height:16px;stroke:#86BAF0;fill:none}
.footer-bottom{border-top:1px solid #213953;padding:22px 0;display:flex;flex-wrap:wrap;gap:10px 28px;align-items:center;justify-content:space-between;font-size:14px;color:#8FA3B8}
.footer-bottom a{color:#9CCBFF}

/* ---------- Back to top + mobile action bar ---------- */
.to-top{position:fixed;right:18px;bottom:18px;z-index:90;width:46px;height:46px;border-radius:50%;display:grid;place-items:center;background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow-sm);opacity:0;visibility:hidden;transform:translateY(14px);transition:opacity .3s,visibility .3s,transform .3s var(--ease-out)}
.to-top.show{opacity:1;visibility:visible;transform:translateY(0)}
.to-top svg{width:19px;height:19px;stroke:var(--ink);fill:none;stroke-width:2.2}
.action-bar{position:fixed;left:0;right:0;bottom:0;z-index:95;display:grid;grid-template-columns:1fr 1.5fr;gap:10px;padding:10px var(--gutter) calc(10px + env(safe-area-inset-bottom));background:var(--ground-2);border-top:1px solid var(--line);transform:translateY(110%);transition:transform .35s var(--ease-out)}
.action-bar.show{transform:none}
.action-bar .btn{min-height:46px;padding:10px 12px;font-size:15px}
.action-bar .btn-ghost svg{width:17px;height:17px}
@media (max-width:767px){.has-action-bar .to-top{bottom:84px}.footer{padding-bottom:76px}}
@media (min-width:768px){.action-bar{display:none}}

/* Content is visible by default; the one motion is the hero drawing */
.reveal{opacity:1}

/* ---------- Contact page ---------- */
.contact-layout{display:grid;gap:22px;grid-template-columns:1fr}
.contact-form-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:clamp(22px,4vw,36px);box-shadow:var(--shadow-sm)}
.field-grid{display:grid;gap:18px;grid-template-columns:1fr}
.field{display:flex;flex-direction:column;gap:7px}
.field-full{grid-column:1/-1}
.field label{font-weight:650;font-size:15px;color:var(--ink)}
.field label span{color:var(--bad)}
.field input,.field select,.field textarea{font-family:var(--font);font-size:17px;color:var(--ink);background:var(--surface);border:1px solid var(--line-strong);border-radius:10px;padding:12px 14px;width:100%;min-height:50px;caret-color:var(--btn);transition:border-color .2s,box-shadow .2s}
.field textarea{resize:vertical;min-height:140px}
.field input::placeholder,.field textarea::placeholder{color:var(--slate);opacity:.9}
.field input:hover,.field select:hover,.field textarea:hover{border-color:var(--ink-2)}
.field input:focus,.field select:focus,.field textarea:focus{outline:none;border-color:var(--btn);box-shadow:0 0 0 4px color-mix(in srgb,var(--blue) 22%,transparent)}
.field.touched input:invalid,.field.touched textarea:invalid{border-color:var(--bad);box-shadow:0 0 0 3px color-mix(in srgb,var(--bad) 18%,transparent)}
.field-hint{font-size:14px;color:var(--slate)}
.form-note{margin:20px 0 22px;font-size:15px;color:var(--ink);padding:14px 16px;background:var(--tint);border:1px solid var(--tint-line);border-radius:10px}
.hp-field{position:absolute!important;left:-10000px!important;width:1px;height:1px;overflow:hidden}
.form-captcha{margin:0 0 18px}
.form-status{margin-top:14px;font-size:15.5px;font-weight:650;min-height:1.2em}
.form-status.ok{color:var(--good)}
.form-status.err{color:var(--bad)}
.form-success{text-align:center;padding:clamp(28px,5vw,52px) clamp(16px,4vw,40px);animation:successIn .5s var(--ease-out) both}
@keyframes successIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
.form-success-check{width:64px;height:64px;margin:0 auto 20px;border-radius:50%;display:grid;place-items:center;background:var(--tint);border:1px solid var(--tint-line)}
.form-success-check svg{width:30px;height:30px;stroke:var(--btn);fill:none}
.form-success h3{font-size:clamp(24px,3vw,32px);margin-bottom:12px}
.form-success p{font-size:17px;max-width:40ch;margin:0 auto 26px}
.contact-side{display:grid;gap:18px;align-content:start}
.contact-direct{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:8px;display:grid;gap:2px}
.contact-line{display:flex;align-items:center;gap:14px;padding:12px 12px;color:var(--ink);border-radius:10px;transition:background .2s}
a.contact-line:hover{background:var(--tint)}
.contact-line svg{width:20px;height:20px;flex:none;stroke:var(--btn);fill:none}
.contact-line span{display:flex;flex-direction:column;font-size:16px;line-height:1.4}
.contact-line small{font-family:var(--mono);font-size:12px;color:var(--slate)}
.map-embed{border-radius:var(--r);overflow:hidden;border:1px solid var(--line);aspect-ratio:4/3;background:var(--ground-2)}
.map-embed iframe{width:100%;height:100%;border:0;display:block}

/* ---------- FAQ ---------- */
.faq-list{display:grid;gap:0;border-top:1px solid var(--line)}
.faq-item{border-bottom:1px solid var(--line)}
.faq-item summary{list-style:none;cursor:pointer;padding:22px 2px;font-weight:650;font-size:clamp(18px,1.7vw,20px);letter-spacing:-.012em;line-height:1.3;color:var(--ink);display:flex;align-items:center;justify-content:space-between;gap:18px}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary::after{
  content:'';width:30px;height:30px;flex:none;border-radius:50%;border:1px solid var(--line-strong);
  background-image:linear-gradient(var(--ink),var(--ink)),linear-gradient(var(--ink),var(--ink));
  background-size:12px 1.8px,1.8px 12px;background-position:center;background-repeat:no-repeat;
  transition:background-size .3s var(--ease-out),border-color .2s;
}
.faq-item[open] summary::after{background-size:12px 1.8px,1.8px 0;border-color:var(--btn)}
.faq-item summary:hover{color:var(--link)}
.faq-item p{padding:0 48px 22px 2px;font-size:16.5px;max-width:70ch}

/* ============================================================
   Responsive base
   ============================================================ */
@media (max-width:767px){.photo-frame{--maxh:min(60vh,500px)}.hero-ctas .btn{flex:1 1 200px}}
@media (min-width:768px){
  .cards{grid-template-columns:repeat(2,1fr)}
  .cards.cols-3{grid-template-columns:repeat(3,1fr)}
  .steps{grid-template-columns:repeat(2,1fr);gap:40px 28px}
  .why-grid{grid-template-columns:1fr 1fr;gap:64px}
  .why-grid.wide-text{grid-template-columns:1.1fr .9fr}
  .footer-grid{grid-template-columns:1.4fr 1fr 1fr}
  .stats-grid{grid-template-columns:repeat(4,1fr)}
  .gallery{grid-template-columns:repeat(4,1fr);gap:14px}
  .field-grid{grid-template-columns:1fr 1fr}
  .diff-list.two-col{grid-template-columns:1fr 1fr;column-gap:28px}
}
@media (min-width:1024px){
  .nav-toggle{display:none}
  .mobile-menu{display:none}
  .nav-links{display:flex;align-items:center;gap:2px}
  .nav-links a,.nav-trigger{position:relative;padding:9px 13px;border-radius:999px;font-weight:550;font-size:15.5px;color:var(--ink);transition:background-color .2s,color .2s}
  .nav-links>a:hover,.nav-trigger:hover,.nav-item.open .nav-trigger{background:var(--tint)}
  .nav-links>a.active,.nav-trigger.active{color:var(--link);background:var(--tint)}
  .nav-cta-desktop{display:inline-flex;padding:11px 20px;min-height:44px;font-size:15px}
  .hero-inner{grid-template-columns:1.15fr .85fr;gap:64px}
  .hero-visual{width:100%;max-width:440px;margin-right:0}
  .steps{grid-template-columns:repeat(4,1fr)}
  .footer-grid{grid-template-columns:1.5fr 1fr 1fr 1.2fr}
  .contact-layout{grid-template-columns:1.6fr 1fr;align-items:start}
  .cards:not(.cols-3){grid-template-columns:repeat(4,1fr)}
}
@media (min-width:1440px){:root{--container:1280px}}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
  html{scroll-behavior:auto}
}

/* ---------- Links inside content ---------- */
.faq-item p a,.form-privacy a,.legal a,.table-note a,.prose a,.reviewed-by a,.lead-answer a,.gl-item dd a{color:var(--link);font-weight:600;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
.faq-item p a:hover,.prose a:hover,.legal a:hover,.table-note a:hover,.gl-item dd a:hover{text-decoration-thickness:2px}
.faq-narrow{max-width:900px}
.form-privacy{font-size:14.5px;color:var(--slate);margin:0 0 16px}
.legal{max-width:780px}
.legal h2{font-size:clamp(21px,2.4vw,26px);margin:36px 0 10px}
.legal p,.legal li{margin-bottom:10px}
.legal ul{list-style:disc;padding-left:22px}

/* ---------- Inner page hero ---------- */
.page-hero{position:relative;isolation:isolate;background:var(--ground);padding:calc(var(--nav-h) + clamp(32px,5vw,64px)) 0 clamp(36px,5vw,64px);border-bottom:1px solid var(--line-2)}
.page-hero::before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:repeating-linear-gradient(0deg,transparent 0 39px,var(--grid) 39px 40px),repeating-linear-gradient(90deg,transparent 0 39px,var(--grid) 39px 40px);-webkit-mask:linear-gradient(180deg,#000 30%,transparent 100%);mask:linear-gradient(180deg,#000 30%,transparent 100%)}
.page-hero h1{font-size:clamp(36px,5vw,64px);line-height:1;margin-bottom:18px;max-width:20ch}
.container.narrow{max-width:900px}
.lead-answer{max-width:66ch}
.mt-list{margin-top:20px}
.hero-layout{display:grid;gap:32px;align-items:center}
.hero-facts{display:none;background:var(--surface);border:1px solid var(--line);border-radius:var(--r);overflow:hidden;box-shadow:var(--shadow)}
.hero-facts-title{font-weight:650;font-size:16px;color:var(--ink);padding:16px 20px 12px;margin:0;border-bottom:1px solid var(--line-2)}
.hero-facts ul{list-style:none;margin:0;padding:6px 20px}
.hero-facts li{display:flex;gap:12px;align-items:flex-start;padding:10px 0;border-bottom:1px solid var(--line-2);font-size:15.5px;font-weight:550;color:var(--ink);line-height:1.4}
.hero-facts li:last-child{border-bottom:0}
.hero-facts .hf-call{display:block;padding:14px 20px 16px;border-top:1px solid var(--line-2);font-size:15px;color:var(--slate);background:var(--ground)}
.hero-facts .hf-call a{color:var(--link);font-weight:650;font-family:var(--mono);font-size:14.5px}
@media (min-width:1024px){.hero-layout{grid-template-columns:minmax(0,1.45fr) minmax(0,.75fr);gap:64px}.hero-facts{display:block}}
main h3>a{color:inherit;transition:color .2s}
main h3>a:hover{color:var(--link)}

/* ---------- Spec tables ---------- */
.table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;border:1px solid var(--line);border-radius:var(--r);background:var(--surface);margin-top:20px}
.spec-table{width:100%;border-collapse:collapse;font-size:15.5px;background:var(--surface)}
.table-wrap .spec-table{margin-top:0}
.spec-table th,.spec-table td{text-align:left;vertical-align:top;padding:13px 16px;border-bottom:1px solid var(--line-2)}
.spec-table th{font-family:var(--mono);font-weight:500;font-size:12.5px;text-transform:uppercase;letter-spacing:.01em;color:var(--slate);background:var(--ground)}
.spec-table td{color:var(--ink-2)}
.spec-table td:first-child{font-weight:650;color:var(--ink)}
.spec-table tr:last-child td{border-bottom:0}
.spec-table tbody tr:hover td{background:var(--tint)}
.table-note{margin-top:14px;font-size:15px}
.check-groups{display:grid;gap:18px}
.check-group{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:22px 22px 10px}
.check-group h3{font-size:18px;margin-bottom:4px}
.reviewed-by{display:none}
.hub-links .card-body p{font-size:15.5px}
@media (min-width:768px){.check-groups{grid-template-columns:repeat(3,1fr)}}
@media (min-width:1024px){.steps.steps-3{grid-template-columns:repeat(3,1fr)}.steps.steps-5{grid-template-columns:repeat(5,1fr)}}

/* ---------- Diagrams ---------- */
.diagram-figure{margin:0}
.diagram-frame{border:1px solid var(--line);border-radius:var(--r);background:var(--surface);overflow:hidden;box-shadow:var(--shadow-sm)}
.diagram-figure img{display:block;width:100%;height:auto}
.diagram-figure figcaption{margin-top:12px;font-family:var(--mono);font-size:12.5px;color:var(--slate)}
.diagram-hint{display:none}
@media (max-width:640px){.diagram-scroll .diagram-frame{overflow-x:auto;-webkit-overflow-scrolling:touch}.diagram-scroll img{min-width:600px}.diagram-hint{display:block;font-size:13px;margin-top:6px;color:var(--slate)}}

/* Two-column media rows */
.media-row{display:grid;gap:36px;align-items:center}
.media-row>*{min-width:0}
.media-row .prose>p{margin-top:12px}
.media-row .points{display:grid;gap:0;margin-top:20px;padding:0;list-style:none;border-top:1px solid var(--line-2)}
.media-row .points li{display:flex;gap:12px;align-items:flex-start;padding:11px 0;border-bottom:1px solid var(--line-2);font-size:16px;font-weight:550;line-height:1.45;color:var(--ink)}
.media-row .media-fig{width:100%;margin:0 auto}
.media-row.fig-tall .media-fig{max-width:360px}
.media-row.fig-mid .media-fig{max-width:560px}
.media-row.table-row{align-items:start}
.media-row.table-row .table-wrap{margin-top:0}
.media-row.table-row .prose{padding-top:6px}
@media (min-width:960px){
  .media-row{grid-template-columns:5fr 7fr;gap:64px}
  .media-row.fig-tall,.media-row.fig-mid{grid-template-columns:1fr 1fr}
  .media-row.flip{grid-template-columns:7fr 5fr}
  .media-row.fig-tall.flip,.media-row.fig-mid.flip{grid-template-columns:1fr 1fr}
  .media-row.flip>.prose{order:2}
  .media-row.table-row{grid-template-columns:4fr 7fr}
  .media-row.table-row.cols-4{grid-template-columns:3fr 7fr}
  .media-row.table-row .prose{position:sticky;top:calc(var(--nav-h) + 24px)}
}

/* ---------- Mega menu ---------- */
.nav-item{position:static}
.nav-trigger{display:inline-flex;align-items:center;gap:6px;background:none;border:0;cursor:pointer}
.nav-trigger .chev{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;transition:transform .25s var(--ease-out)}
.nav-item.open .nav-trigger .chev{transform:rotate(180deg)}
.mega{position:absolute;left:0;right:0;top:100%;padding-top:10px;visibility:hidden;opacity:0;transform:translateY(-6px);transition:opacity .25s,transform .35s var(--ease-out),visibility .25s;pointer-events:none}
.nav-item.open .mega{visibility:visible;opacity:1;transform:none;pointer-events:auto}
.mega-inner{display:grid;gap:26px;background:var(--surface);border:1px solid var(--line);border-radius:16px;box-shadow:0 30px 60px -30px rgba(20,48,74,.45);padding:24px 26px 26px}
.mega-services{grid-template-columns:1fr 1fr .85fr 1.05fr}
.mega-industries{grid-template-columns:1.1fr 1fr 1.1fr}
.mega-guides{grid-template-columns:1fr 1fr 1fr 1.05fr}
.mega-title{font-family:var(--mono);font-weight:500;font-size:12px;text-transform:uppercase;color:var(--slate);margin:0 0 10px;padding:0 0 10px 10px;border-bottom:1px solid var(--line-2)}
.mega-col ul{list-style:none;margin:0;padding:0;display:grid;gap:2px}
.nav-links .mega a.mi{display:flex;gap:12px;align-items:center;padding:8px 10px;border-radius:10px;transition:background-color .15s;color:inherit}
.mega a.mi:hover,.mega a.mi:focus-visible,.mega a.mi[aria-current]{background:var(--tint)}
.mega a.mi strong{display:block;font-weight:650;font-size:15px;color:var(--ink);line-height:1.25}
.mega a.mi small{display:block;font-size:13px;color:var(--slate);margin-top:1px;line-height:1.35;font-weight:400}
.mi-ico{flex:none;width:34px;height:34px;padding:7px;border-radius:9px;border:1px solid var(--line);background:var(--ground);fill:none;stroke:var(--ink);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;transition:stroke .2s,border-color .2s}
.mega a.mi:hover .mi-ico{stroke:var(--btn);border-color:var(--tint-line)}
.nav-links .mega .mega-more{display:inline-flex;align-items:center;gap:6px;margin:12px 0 0 10px;padding:0;font-weight:650;font-size:14.5px;color:var(--link)}
.mega-more svg,.mm-more svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round}
.mega-feature{background:var(--tint);border:1px solid var(--tint-line);border-radius:14px;padding:18px;display:flex;flex-direction:column;gap:8px}
.mega-feature img{width:100%;height:116px;object-fit:cover;border-radius:10px;margin-bottom:6px}
.mega-feature-title{font-weight:700;font-size:18px;letter-spacing:-.015em;color:var(--ink);margin:0;line-height:1.2}
.mega-feature p{font-size:14px;margin:0;color:var(--ink-2)}
.mega-feature .btn{margin-top:auto;align-self:flex-start}
.nav-links .mega .btn-primary{padding:10px 16px;min-height:40px;font-size:14px;color:#fff;background:var(--btn)}
.nav-links .mega .mega-phone,.mega-phone{padding:0;font-family:var(--mono);font-size:13.5px;color:var(--ink)}
@media (min-width:1024px){.nav-links .nav-trigger::before{content:'';position:absolute;left:0;right:0;top:100%;height:22px}}

/* ---------- Mobile accordion menu ---------- */
.mobile-menu a.mm-top{display:block}
.mm-group{border-bottom:1px solid var(--line-2)}
.mm-group summary{list-style:none;display:flex;align-items:center;justify-content:space-between;padding:15px 4px;font-weight:650;font-size:18px;color:var(--ink);cursor:pointer}
.mm-group summary::-webkit-details-marker{display:none}
.mm-group summary .chev{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;transition:transform .25s var(--ease-out)}
.mm-group[open] summary .chev{transform:rotate(180deg)}
.mm-group[open] summary{color:var(--link)}
.mm-body{padding:0 0 12px}
.mm-title{font-family:var(--mono);font-size:11.5px;text-transform:uppercase;color:var(--slate);margin:12px 4px 4px}
.mm-body ul{list-style:none;margin:0;padding:0}
.mobile-menu .mm-body a{display:flex;align-items:center;gap:12px;padding:9px 4px;border-bottom:0;font-weight:550;font-size:16px;color:var(--ink)}
.mobile-menu .mm-body a[aria-current]{color:var(--link)}
.mobile-menu .mm-body .mi-ico{width:30px;height:30px;padding:6px}
.mobile-menu .mm-body a.mm-more{font-weight:650;font-size:15px;padding-left:46px;color:var(--link)}
.mobile-menu a.mm-phone{display:block;text-align:center;border:0;font-family:var(--mono);font-size:15px;color:var(--slate);padding:14px 4px 4px}
body.menu-open{overflow:hidden}

/* ---------- Guides ---------- */
.hero-toc{display:block}
.hero-toc ol{list-style:none;margin:0;padding:6px 20px 10px;counter-reset:toc}
.hero-toc li{counter-increment:toc;border-bottom:1px solid var(--line-2)}
.hero-toc li:last-child{border-bottom:0}
.hero-toc li a{display:flex;gap:12px;padding:9px 0;font-size:15px;font-weight:550;line-height:1.4;color:var(--ink)}
.hero-toc li a::before{content:counter(toc,decimal-leading-zero);flex:none;font-family:var(--mono);font-size:12.5px;color:var(--link);padding-top:2px}
.hero-toc li a:hover{color:var(--link)}
@media (max-width:1023px){.hero-toc{margin-top:28px}}
.gl-jump{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 32px;max-width:900px}
.gl-jump a{display:inline-flex;align-items:center;justify-content:center;min-width:40px;height:40px;padding:0 8px;border-radius:999px;border:1px solid var(--line);background:var(--surface);font-weight:650;color:var(--ink)}
.gl-jump a:hover{border-color:var(--btn);color:var(--link)}
.glossary{display:grid;gap:18px;max-width:1000px}
.gl-group{display:grid;grid-template-columns:56px 1fr;gap:18px;align-items:start;padding-top:18px;border-top:1px solid var(--line)}
.gl-letter{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;font-weight:720;font-size:24px;line-height:1;color:var(--ink);border:1.5px solid var(--btn);margin:0}
.gl-group dl{margin:0;display:grid;gap:12px}
.gl-item{background:var(--surface);border:1px solid var(--line);border-radius:var(--r);padding:14px 18px}
.gl-item dt{font-weight:650;font-size:17px;color:var(--ink)}
.gl-item dd{margin:4px 0 0;font-size:15.5px;line-height:1.55;color:var(--ink-2)}
@media (min-width:860px){.gl-group dl{grid-template-columns:1fr 1fr}}
@media (max-width:520px){.gl-group{grid-template-columns:1fr;gap:10px}}

/* ============================================================
   HOME
   ============================================================ */
.xv-hero{padding-bottom:0}
.xv-hero h1{font-size:clamp(42px,6.4vw,90px);line-height:.95;letter-spacing:-.04em;max-width:13ch;margin-bottom:0}
.xv-lead{display:grid;gap:24px}
.xv-copy p{font-size:clamp(17px,1.5vw,19px);max-width:38ch;margin:24px 0 26px}
.xv-fig{position:relative;margin:8px -8px 0}
.xv-fig svg{width:100%;height:auto;overflow:visible}

/* exploded drawing */
.xv .ft{fill:#FFFFFF;stroke:var(--ink);stroke-width:1.3;stroke-linejoin:round}
.xv .fs{fill:#E4EAF0;stroke:var(--ink);stroke-width:1.3;stroke-linejoin:round}
.xv .ff{fill:#F5F7FA;stroke:var(--ink);stroke-width:1.3;stroke-linejoin:round}
.xv .fp{fill:#FBFCFD;stroke:var(--ink);stroke-width:1.3}
.xv .fin{fill:#DCE3EA;stroke:var(--ink);stroke-width:1.1}
.xv .fis{fill:#C9D3DD}
.xv .dt{fill:#F1F4F7;stroke:var(--ink);stroke-width:.9}.xv .ds{fill:#D8E0E8;stroke:var(--ink);stroke-width:.9}.xv .df{fill:#E8EDF2;stroke:var(--ink);stroke-width:.9}
.xv .rt,.xv .rs,.xv .rf{fill:#B8C3CE;stroke:var(--ink);stroke-width:.6}
.xv .mt{fill:#FFFFFF;stroke:var(--ink);stroke-width:.9}.xv .ms{fill:#D5DDE6;stroke:var(--ink);stroke-width:.9}.xv .mf{fill:#EEF2F6;stroke:var(--ink);stroke-width:.9}
.xv .bt{fill:#8DBDF0;stroke:var(--ink);stroke-width:.9}.xv .bs{fill:#1F62AE;stroke:var(--ink);stroke-width:.9}.xv .bf{fill:#2E7FD6;stroke:var(--ink);stroke-width:.9}
.xv .tt{fill:#FFFFFF;stroke:var(--ink);stroke-width:.5}.xv .ts{fill:#CBD4DD;stroke:var(--ink);stroke-width:.5}.xv .tf{fill:#E9EDF2;stroke:var(--ink);stroke-width:.5}
.xv .hmi{fill:#E4EAF0;stroke:var(--ink);stroke-width:1.1}.xv .scr{fill:#14304A}.xv .trend{fill:none;stroke:#8DBDF0;stroke-width:1.6;stroke-linejoin:round}
.xv .pl{fill:#FFFFFF;stroke:var(--ink);stroke-width:1.1}.xv .plb{fill:#2E7FD6;stroke:var(--ink);stroke-width:1.1}
.xv .hdl{fill:#C9D3DD;stroke:var(--ink);stroke-width:1}.xv .np{fill:#FFFFFF;stroke:var(--ink);stroke-width:.9}
.xv .wire{fill:none;stroke:#2E7FD6;stroke-width:1.1;opacity:.75}
.xv .guide{stroke:#2E7FD6;stroke-width:1;stroke-dasharray:3 4;fill:none}
.xv .lead{stroke:var(--ink);stroke-width:1;fill:none;transition:stroke .2s}
.xv .dot{fill:var(--surface);stroke:#2E7FD6;stroke-width:2;transition:fill .2s}
.xv .dot2{fill:var(--ink)}
.xv .ct{font-family:var(--font);font-weight:700;font-size:23px;fill:var(--ink);letter-spacing:-.01em;transition:fill .2s}
.xv .cs{font-family:var(--mono);font-size:15.5px;fill:var(--slate)}
.xv .co{cursor:pointer}
.xv .co:focus{outline:none}
.xv .co:hover .ct,.xv .co:focus-visible .ct{fill:#1F6CC0}
.xv .co:hover .lead,.xv .co:focus-visible .lead{stroke:#2E7FD6;stroke-width:1.6}
.xv .co:hover .dot,.xv .co:focus-visible .dot{fill:#2E7FD6}
.xv .co:focus-visible .ct{text-decoration:underline}
/* the part a callout names lights up */
.xv .part{transition:filter .25s}
.xv.hl-encl #g-encl,.xv.hl-bp #g-bp,.xv.hl-wire #g-wire,.xv.hl-door #g-door,.xv.hl-np #g-np{filter:drop-shadow(0 0 0 #2E7FD6) drop-shadow(0 6px 14px rgba(46,127,214,.35))}
.xv.hl-encl #g-encl .ff,.xv.hl-encl #g-encl .ft,.xv.hl-door #g-door .ff,.xv.hl-bp #g-bp .fp,.xv.hl-np #g-np .np{fill:#E3F0FD}
.xv.hl-wire #g-wire .wire{opacity:1;stroke-width:1.8}
[data-theme="dark"] .xv .ft{fill:#1A2E47}
[data-theme="dark"] .xv .fs{fill:#102238}
[data-theme="dark"] .xv .ff{fill:#16283F}
[data-theme="dark"] .xv .fp{fill:#182B43}
[data-theme="dark"] .xv .fin{fill:#0F2034}
[data-theme="dark"] .xv .fis{fill:#0B1828}
[data-theme="dark"] .xv .dt{fill:#1D324C}[data-theme="dark"] .xv .ds{fill:#132740}[data-theme="dark"] .xv .df{fill:#18304B}
[data-theme="dark"] .xv .rt,[data-theme="dark"] .xv .rs,[data-theme="dark"] .xv .rf{fill:#40597A}
[data-theme="dark"] .xv .mt{fill:#22395A}[data-theme="dark"] .xv .ms{fill:#152A44}[data-theme="dark"] .xv .mf{fill:#1C3352}
[data-theme="dark"] .xv .tt{fill:#25405F}[data-theme="dark"] .xv .ts{fill:#152A44}[data-theme="dark"] .xv .tf{fill:#1C3352}
[data-theme="dark"] .xv .hmi{fill:#1D324C}[data-theme="dark"] .xv .scr{fill:#07111D}
[data-theme="dark"] .xv .pl{fill:#22395A}[data-theme="dark"] .xv .hdl{fill:#2C4566}[data-theme="dark"] .xv .np{fill:#22395A}
[data-theme="dark"] .xv.hl-encl #g-encl .ff,[data-theme="dark"] .xv.hl-encl #g-encl .ft,[data-theme="dark"] .xv.hl-door #g-door .ff,[data-theme="dark"] .xv.hl-bp #g-bp .fp,[data-theme="dark"] .xv.hl-np #g-np .np{fill:#1F4470}
/* one motion: the linework draws in once */
.js .xv.draw .part polygon,.js .xv.draw .part polyline{stroke-dasharray:var(--len,600);stroke-dashoffset:var(--len,600);animation:drawin 1.6s var(--ease-out) forwards}
.js .xv.draw #g-bp polygon,.js .xv.draw #g-bp polyline{animation-delay:.25s}
.js .xv.draw #g-door polygon,.js .xv.draw #g-door polyline,.js .xv.draw #g-np polygon{animation-delay:.5s}
@keyframes drawin{to{stroke-dashoffset:0}}
@media (prefers-reduced-motion:reduce){.js .xv.draw .part polygon,.js .xv.draw .part polyline{animation:none;stroke-dasharray:none;stroke-dashoffset:0}}

/* Mobile: callouts become a list under the drawing */
.xv-legend{display:grid;grid-template-columns:1fr 1fr;gap:0 16px;margin-top:8px;border-top:1px solid var(--line)}
.xv-legend a{display:block;padding:12px 0;border-bottom:1px solid var(--line-2)}
.xv-legend b{display:block;font-weight:650;color:var(--ink);font-size:16px}
.xv-legend span{display:block;font-family:var(--mono);font-size:12px;color:var(--slate)}
.xv .callouts{display:none}

/* Two ways in */
.ways{display:grid;gap:20px}
.way{display:grid;background:var(--surface);border:1px solid var(--line);border-radius:var(--r);overflow:hidden;transition:box-shadow .3s var(--ease-out),border-color .25s}
.way:hover{box-shadow:var(--shadow);border-color:var(--tint-line)}
.way-photo{position:relative;aspect-ratio:16/10;overflow:hidden;background:#1A2633}
.way-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 40%}
.way-body{padding:clamp(22px,2.6vw,34px);display:flex;flex-direction:column;gap:14px}
.way-body h3{font-size:clamp(26px,2.6vw,34px);letter-spacing:-.025em;line-height:1.05}
.way-body p{font-size:16.5px;max-width:52ch}
.way-body .diff-list{margin-top:4px}
.lnk{display:inline-flex;align-items:center;gap:8px;font-weight:650;color:var(--link);margin-top:auto}
.lnk svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;transition:transform .3s var(--ease-out)}
.lnk:hover svg{transform:translateX(3px)}
.ways-note{margin-top:20px;display:flex;flex-wrap:wrap;align-items:center;gap:8px 18px;padding:18px 22px;border:1px dashed var(--line-strong);border-radius:var(--r);color:var(--ink-2);font-size:16.5px}
.ways-note strong{font-weight:650}

/* Wire marking: photo with one true callout */
.wm-photo{position:relative;border-radius:var(--r);overflow:hidden;min-height:clamp(340px,40vw,520px);background:#1A2633;border:1px solid var(--line)}
.wm-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.wm-photo .cap-tag{left:auto;right:12px;bottom:auto;top:12px}

/* Diagram feature */
.dg-wrap{display:grid;gap:36px;align-items:center}
.dg-wrap .diagram-frame{box-shadow:var(--shadow)}

/* Gallery: lead photo + four */
.gallery.lead{grid-template-columns:repeat(2,1fr)}
.gallery.lead button:first-child{grid-column:1/-1}
.gallery.lead button:first-child img{aspect-ratio:4/3}

/* Who we build for */
.schedule{border-top:1px solid var(--line)}
.schedule a{display:grid;grid-template-columns:1fr auto;gap:16px;align-items:center;padding:20px 4px;border-bottom:1px solid var(--line-2);color:var(--ink);transition:background-color .2s}
.schedule h3{font-size:20px;margin-bottom:4px}
.schedule p{font-size:15.5px;color:var(--ink-2);line-height:1.45;max-width:52ch}
.schedule .arr{width:22px;height:22px;fill:none;stroke:var(--ink);stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform .3s var(--ease-out),stroke .2s}
.schedule a:hover h3{color:var(--link)}
.schedule a:hover .arr{transform:translateX(4px);stroke:var(--btn)}
.ind-head{font-family:var(--mono);font-size:12.5px;text-transform:uppercase;color:var(--slate);margin:0 0 12px}
.ind-head+.chip-grid{margin-bottom:28px}

@media (min-width:768px){
  .ways{grid-template-columns:1.1fr .9fr}
  .way-a{grid-template-columns:1fr}
  .gallery.lead{grid-template-columns:2fr 1fr 1fr;grid-template-rows:auto auto}
  .gallery.lead button:first-child{grid-column:1;grid-row:1 / span 2}
  .gallery.lead button:first-child img{aspect-ratio:auto;height:100%}
}
@media (min-width:1024px){
  .xv-lead{grid-template-columns:minmax(0,4.2fr) minmax(0,7.8fr);gap:0}
  .xv-hero h1{grid-column:1/-1}
  .xv-copy{grid-row:2}
  .xv-fig{grid-row:2;margin:-210px -60px 0 -30px}
  .xv .callouts{display:inline}
  .xv-legend{display:none}
  .dg-wrap{grid-template-columns:4fr 8fr;gap:64px}
}
.cta-sec{padding-top:0}
@media (min-width:1024px){.xv-hero+#services{padding-top:56px}}
/* home diagram block: keep the scrolling figure inside its track on mobile */
.dg-wrap{grid-template-columns:minmax(0,1fr)}
.dg-wrap>*{min-width:0}
@media (min-width:1024px){.dg-wrap{grid-template-columns:4fr 8fr}}
/* About / Control Panel highlights: a ruled spec list, not a stat strip */
.stats-grid{border:1px solid var(--line);border-radius:var(--r);background:var(--surface);overflow:hidden;gap:0}
.stat{display:flex;flex-direction:row-reverse;justify-content:space-between;align-items:baseline;gap:16px;padding:14px 20px;border-bottom:1px solid var(--line-2)}
.stat .num{font-family:var(--mono);font-weight:500;font-size:16px;letter-spacing:0;color:var(--ink);white-space:nowrap}
.stat .num em{color:inherit}
.stat .lbl{margin:0;font-size:15.5px;color:var(--ink-2)}
@media (min-width:768px){.stats-grid{grid-template-columns:1fr 1fr}.stat:nth-child(odd){border-right:1px solid var(--line-2)}.stat:nth-last-child(-n+2){border-bottom:0}}
/* process step vignettes: small exploded-view drawings */
.step-vig{width:118px;height:98px;margin:-14px -10px 0 auto;overflow:visible}
.step-vig .vt{fill:#FFFFFF;stroke:var(--ink);stroke-width:1.1;stroke-linejoin:round}
.step-vig .vs{fill:#DCE4EC;stroke:var(--ink);stroke-width:1.1;stroke-linejoin:round}
.step-vig .vf{fill:#F1F4F7;stroke:var(--ink);stroke-width:1.1;stroke-linejoin:round}
.step-vig .vbt{fill:#8DBDF0;stroke:var(--ink);stroke-width:1.1}.step-vig .vbs{fill:#1F62AE;stroke:var(--ink);stroke-width:1.1}.step-vig .vbf{fill:#2E7FD6;stroke:var(--ink);stroke-width:1.1}
.step-vig .vf2{fill:#14304A;stroke:var(--ink);stroke-width:1}
.step-vig .vl{stroke:var(--slate);stroke-width:1.2;fill:none;stroke-linecap:round}
.step-vig .vb{stroke:#2E7FD6;stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round}
.step-vig .vdo{fill:#FFFFFF;stroke:var(--ink);stroke-width:1}.step-vig .vdot{fill:#2E7FD6;stroke:var(--ink);stroke-width:1}
[data-theme="dark"] .step-vig .vt{fill:#22395A}[data-theme="dark"] .step-vig .vs{fill:#152A44}[data-theme="dark"] .step-vig .vf{fill:#1C3352}
[data-theme="dark"] .step-vig .vf2{fill:#07111D}[data-theme="dark"] .step-vig .vdo{fill:#22395A}
.step-top{min-height:70px;align-items:flex-end}
