/* ==========================================================================
   Devsphere Services — "Living Blueprint"
   Tokens · base · sheet frame · header · components · pages · drawings
   ========================================================================== */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-variable-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Martian Mono";
  src: url("../fonts/martian-mono-variable-latin.woff2") format("woff2");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #F7F9FD;        /* Drafting Film */
  --vellum: #E9EEFC;       /* Vellum */
  --vellum-2: #DCE4FB;
  --ink: #2440D8;          /* Cobalt Ink */
  --ink-deep: #0D1748;     /* Deep Ink */
  --graphite: #4A5578;     /* Graphite Blue */
  --red: #E5432A;          /* Redline */
  --red-text: #C2311C;     /* Redline Text */
  --white: #FFFFFF;
  --line: rgba(36, 64, 216, .22);
  --line-strong: rgba(36, 64, 216, .45);
  --grid-minor: rgba(36, 64, 216, .05);
  --grid-major: rgba(36, 64, 216, .095);

  --f-sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "Martian Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --frame: 0px;
  --gutter: 18px;
  --maxw: 1360px;
  --hdr-h: 64px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
}
@media (min-width: 700px) { :root { --gutter: 32px; } }
@media (min-width: 1100px) { :root { --frame: 22px; --gutter: 56px; --hdr-h: 76px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr-h) + var(--frame) + 16px); }
html, body { overflow-x: clip; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--f-sans);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  font-stretch: 100%;
  color: var(--ink-deep);
  background-color: var(--paper);
  background-image:
    linear-gradient(var(--grid-major) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-major) 1px, transparent 1px),
    linear-gradient(var(--grid-minor) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-minor) 1px, transparent 1px);
  background-size: 40px 40px, 40px 40px, 8px 8px, 8px 8px;
  background-position: -1px -1px;
  padding: var(--frame);
  -webkit-font-smoothing: antialiased;
  font-kerning: normal;
}
@media (min-width: 700px) { body { font-size: 18px; } }

img, svg { display: block; max-width: 100%; }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--ink-deep); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
::selection { background: var(--ink); color: #fff; }

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
  border-radius: 1px;
}

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; left: 12px; top: -80px; z-index: 1001; padding: 10px 16px;
  background: var(--ink); color: #fff; font-weight: 600; text-decoration: none;
  transition: top .2s var(--ease);
}
.skip:focus { top: 12px; color: #fff; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Type ---------- */
h1, h2, h3, h4 { margin: 0; color: var(--ink-deep); font-weight: 720; }
.display, h1 { font-stretch: 125%; letter-spacing: -0.012em; line-height: .98; }
h2 {
  font-size: clamp(34px, 4.6vw, 64px);
  font-stretch: 125%;
  letter-spacing: -0.015em;
  line-height: 1;
}
h3 { font-size: clamp(20px, 1.7vw, 24px); font-stretch: 112%; font-weight: 680; line-height: 1.2; letter-spacing: -0.005em; }
.lead { font-size: clamp(18px, 1.45vw, 21px); line-height: 1.55; color: var(--ink-deep); max-width: 36em; }
.muted { color: var(--graphite); }
.mono { font-family: var(--f-mono); font-size: .72em; letter-spacing: 0; }

/* ---------- Buttons ---------- */
.btn {
  --bx: 0px; --by: 0px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px;
  font-family: var(--f-sans); font-size: 16px; font-weight: 640; font-stretch: 112%; letter-spacing: .005em;
  text-decoration: none; line-height: 1.1;
  border: 1.5px solid var(--ink); border-radius: 2px;
  cursor: pointer;
  transition: box-shadow .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease), translate .25s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { color: #fff; background: #1D35BE; box-shadow: 5px 5px 0 var(--red); translate: -2px -2px; }
.btn-line { background: rgba(255, 255, 255, .7); color: var(--ink); }
.btn-line:hover { color: var(--ink); background: var(--white); box-shadow: 5px 5px 0 var(--vellum-2); translate: -2px -2px; }
.btn:active { translate: 1px 1px; box-shadow: 0 0 0 transparent; }
.btn-lg { min-height: 60px; padding: 0 30px; font-size: 17px; }
.btn .btn-tick { width: 14px; height: 14px; flex: none; }
.btn[disabled] { opacity: .6; cursor: progress; }

.link-ink {
  font-weight: 600; color: var(--ink); text-decoration: none;
  background: linear-gradient(var(--red), var(--red)) 0 100% / 0 1.5px no-repeat;
  transition: background-size .35s var(--ease);
  padding-bottom: 2px;
}
.link-ink:hover { background-size: 100% 1.5px; color: var(--ink); }

/* ---------- Sheet frame + rulers (desktop) ---------- */
.frame { display: none; }
@media (min-width: 1100px) {
  .frame { display: block; position: fixed; inset: 0; z-index: 60; pointer-events: none; }
  .frame-border {
    position: absolute; inset: var(--frame);
    border: 1px solid var(--line-strong);
  }
  .ruler { position: absolute; overflow: hidden; background: rgba(247, 249, 253, .94); }
  .ruler-x {
    left: var(--frame); right: var(--frame); top: 0; height: var(--frame);
    border-bottom: 1px solid var(--line-strong);
    background-image:
      linear-gradient(90deg, var(--line-strong) 1px, transparent 1px),
      linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 80px 9px, 8px 5px;
    background-position: 0 100%, 0 100%;
    background-repeat: repeat-x;
  }
  .ruler-y {
    top: var(--frame); bottom: var(--frame); left: 0; width: var(--frame);
    border-right: 1px solid var(--line-strong);
  }
  .ruler-y-track {
    position: absolute; left: 0; right: 0; top: 0; height: 100000px;
    background-image:
      linear-gradient(var(--line-strong) 1px, transparent 1px),
      linear-gradient(var(--line) 1px, transparent 1px);
    background-size: 9px 80px, 5px 8px;
    background-position: 100% 0, 100% 0;
    background-repeat: repeat-y;
    will-change: transform;
  }
  .ruler-n {
    position: absolute; font: 400 8.5px/1 var(--f-mono); color: var(--graphite); letter-spacing: 0;
  }
  .ruler-x .ruler-n { top: 3px; transform: translateX(3px); }
  .ruler-y .ruler-n { left: 2px; transform: rotate(-90deg) translate(-100%, 0); transform-origin: 0 0; margin-top: -3px; }
  .ruler-ptr { position: absolute; background: var(--red); }
  .ruler-x .ruler-ptr { top: 0; bottom: 0; width: 1px; left: 0; }
  .ruler-y .ruler-ptr { left: 0; right: 0; height: 1px; top: 0; }
  .frame-right {
    position: absolute; right: 0; top: var(--frame); bottom: var(--frame); width: var(--frame);
    display: flex; flex-direction: column; justify-content: space-around; align-items: center;
    font: 600 10px/1 var(--f-sans); font-stretch: 70%; color: var(--graphite);
  }
  .frame-bottom {
    position: absolute; bottom: 0; left: var(--frame); right: var(--frame); height: var(--frame);
    display: flex; justify-content: space-around; align-items: center;
    font: 600 10px/1 var(--f-sans); font-stretch: 70%; color: var(--graphite);
  }
  .frame-corner {
    position: absolute; left: 0; top: 0; width: var(--frame); height: var(--frame);
    background: var(--paper); border-right: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong);
    display: grid; place-items: center;
  }
  .frame-corner i { width: 7px; height: 7px; border: 1px solid var(--ink); border-radius: 50%; position: relative; }
  .scroll-meter {
    position: absolute; right: 0; top: var(--frame); width: var(--frame); height: 0;
  }
  .scroll-meter i {
    position: absolute; right: 4px; top: 0; width: 0; height: 0;
    border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-right: 8px solid var(--red);
    will-change: transform;
  }
}

/* ---------- Header ---------- */
.hdr {
  position: fixed; z-index: 50;
  top: var(--frame); left: var(--frame); right: var(--frame);
  height: var(--hdr-h);
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease);
}
.hdr::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--line-strong); transform: scaleX(0); transform-origin: 0 50%;
  transition: transform .6s var(--ease);
}
.hdr.is-scrolled { background: rgba(247, 249, 253, .9); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.hdr.is-scrolled::after { transform: scaleX(1); }
.hdr-in {
  height: 100%; display: flex; align-items: center; gap: 24px;
  max-width: calc(var(--maxw) + 40px); margin: 0 auto; padding: 0 var(--gutter);
}
@media (min-width: 1100px) { .hdr-in { padding: 0 calc(var(--gutter) - 20px); } }
.brand { display: block; flex: none; margin-right: auto; color: var(--ink); text-decoration: none; border-radius: 2px; }
.brand svg { height: 40px; width: auto; overflow: visible; }
@media (min-width: 1100px) { .brand svg { height: 46px; } }

.nav { display: none; }
@media (min-width: 960px) { .nav { display: block; } }
.nav-list { list-style: none; display: flex; align-items: center; gap: 6px; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  height: 44px; padding: 0 14px;
  font-size: 16px; font-weight: 560; font-stretch: 108%;
  color: var(--ink-deep); text-decoration: none;
  background: none; border: 0; cursor: pointer; border-radius: 2px;
  position: relative;
}
.nav-link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 8px; height: 1.5px;
  background: var(--red); transform: scaleX(0); transform-origin: 0 50%; transition: transform .35s var(--ease);
}
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--ink); }
.nav-link:hover::after, .nav-link[aria-current="page"]::after, .nav-item.is-current > .nav-link::after { transform: scaleX(1); }
.nav-chev { width: 10px; height: 10px; transition: transform .3s var(--ease); }
.nav-item.has-sub:hover .nav-chev, .nav-item.has-sub.is-open .nav-chev { transform: rotate(180deg); }

.sub {
  list-style: none; position: absolute; top: calc(100% + 4px); left: -12px; width: 340px;
  padding: 8px; background: var(--white); border: 1.5px solid var(--ink);
  box-shadow: 6px 6px 0 var(--vellum-2);
  opacity: 0; visibility: hidden; translate: 0 6px;
  transition: opacity .25s var(--ease), translate .25s var(--ease), visibility 0s .25s;
}
.sub::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav-item.has-sub:hover .sub, .nav-item.has-sub:focus-within .sub, .nav-item.has-sub.is-open .sub {
  opacity: 1; visibility: visible; translate: 0 0; transition-delay: 0s;
}
.sub a {
  display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; align-items: center;
  padding: 10px 10px; text-decoration: none; color: var(--ink-deep); border-radius: 2px;
}
.sub a:hover { background: var(--vellum); color: var(--ink-deep); }
.sub-ico { grid-row: span 2; width: 34px; height: 34px; }
.sub-t { font-weight: 620; font-stretch: 105%; font-size: 15.5px; line-height: 1.25; }
.sub-p { font-size: 13.5px; color: var(--graphite); line-height: 1.3; }
.sub a[aria-current="page"] .sub-t { color: var(--ink); }

.hdr-cta { display: none; min-height: 46px; padding: 0 20px; font-size: 15px; }
@media (min-width: 700px) { .hdr-cta { display: inline-flex; } }

.burger {
  width: 46px; height: 46px; flex: none; display: grid; place-items: center;
  background: var(--white); border: 1.5px solid var(--ink); border-radius: 2px; cursor: pointer; padding: 0;
  position: relative;
}
@media (min-width: 960px) { .burger { display: none; } }
.burger span {
  position: absolute; left: 11px; right: 11px; height: 1.75px; background: var(--ink);
  transition: transform .4s var(--ease), opacity .2s, background-color .3s;
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21.5px; right: 17px; }
.burger span:nth-child(3) { top: 28px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); background: var(--red); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); background: var(--red); }

/* Mobile menu sheet */
.mnav-sub a[aria-current="page"] { border-color: var(--ink); background: var(--vellum); }
.mnav {
  position: fixed; inset: 0; z-index: 45;
  padding: calc(var(--hdr-h) + 24px) var(--gutter) 32px;
  background-color: var(--paper);
  background-image:
    linear-gradient(var(--grid-major) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-major) 1px, transparent 1px);
  background-size: 40px 40px;
  overflow-y: auto;
  display: flex; flex-direction: column;
}
.mnav[hidden] { display: none; }
.mnav-list { list-style: none; }
.mnav-list > li { border-bottom: 1px solid var(--line); }
.mnav a.mnav-big {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: 14px 0; text-decoration: none; color: var(--ink-deep);
  font-size: clamp(30px, 8.5vw, 44px); font-weight: 720; font-stretch: 125%; letter-spacing: -.015em; line-height: 1.05;
}
.mnav-zone { font: 600 13px/1 var(--f-sans); font-stretch: 70%; color: var(--graphite); }
.mnav-sub { list-style: none; padding: 0 0 14px; display: grid; gap: 4px; }
.mnav-sub a {
  display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px;
  background: rgba(255, 255, 255, .8); border: 1px solid var(--line); text-decoration: none; color: var(--ink-deep);
  font-weight: 560; font-size: 16px;
}
.mnav-sub a span:last-child { color: var(--graphite); font-size: 14px; white-space: nowrap; }
.mnav-foot { margin-top: auto; padding-top: 28px; display: grid; gap: 14px; }
.mnav-foot .btn { width: 100%; }
.mnav-foot p { margin: 0; font-size: 14px; color: var(--graphite); }

/* ---------- Sections ---------- */
main { display: block; }
.sec { position: relative; padding: clamp(72px, 8.5vw, 128px) 0; }
.sec-head { display: grid; gap: 20px; margin-bottom: clamp(40px, 5vw, 72px); max-width: 860px; position: relative; }
.sec-head p { margin: 0; color: var(--graphite); font-size: clamp(17px, 1.3vw, 19px); max-width: 40em; }
.sec-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; max-width: none; }
.h-under { position: relative; display: inline-block; }
.h-under .h-dim { position: absolute; left: 0; right: 0; bottom: -14px; height: 10px; overflow: visible; pointer-events: none; }

/* ---------- Home hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--hdr-h) + clamp(28px, 4vw, 56px)) 0 clamp(40px, 5vw, 72px);
  min-height: min(100svh - var(--frame) * 2, 1000px);
  display: flex; flex-direction: column; justify-content: center;
}
.hero-bom {
  position: relative; z-index: 2; display: grid; gap: 16px 40px; align-items: start; margin-top: 18px;
}
@media (min-width: 1000px) { .hero-bom { grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr); gap: 32px; } }
.hero-bom .figcap { display: block; margin: 6px 0 0; max-width: 34em; }
.hero-bom .bom { max-width: none; width: 100%; }
.hero-grid {
  display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; position: relative; z-index: 2;
}
@media (min-width: 1000px) {
  .hero-grid { grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr); gap: 32px; }
}
.hero-copy { position: relative; }
.plot-h1 {
  font-size: clamp(38px, 6.1vw, 92px);
  line-height: 1.02;
  margin: 0 0 clamp(36px, 4vw, 52px);
  color: var(--ink-deep);
  position: relative;
}
@media (min-width: 1000px) { .plot-h1 { font-size: clamp(44px, 5.15vw, 96px); } }
.plot-line { display: block; white-space: normal; }
.plot-line + .plot-line { padding-left: .9em; }
.pw { display: inline-block; height: 1.088em; vertical-align: -0.21em; overflow: visible; }
.pw path { fill: var(--ink-deep); stroke: var(--ink); stroke-width: 0; stroke-linejoin: round; }
.plot-line .pw-red path { fill: var(--ink); }
.hero-dim { position: absolute; left: 0; height: 22px; pointer-events: none; }
.hero-copy .lead { margin-bottom: 32px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-specs {
  display: grid; grid-template-columns: repeat(3, minmax(0, auto)); justify-content: start; gap: 0;
  margin: 40px 0 0; padding: 0;
}
.hero-specs div { padding: 0 22px 0 0; margin-right: 22px; border-right: 1px solid var(--line); }
.hero-specs div:last-child { border-right: 0; margin-right: 0; }
.hero-specs dt { font-size: 13.5px; color: var(--graphite); }
.hero-specs dd { margin: 2px 0 0; font-weight: 640; font-stretch: 110%; font-size: 16px; color: var(--ink-deep); }
@media (max-width: 560px) {
  .hero-specs { grid-template-columns: 1fr; gap: 10px; }
  .hero-specs div { border-right: 0; padding: 0 0 0 14px; border-left: 2px solid var(--line-strong); margin: 0; }
}
.hero-fig { margin: 0; position: relative; }
.hero-fig .fig1 { width: 100%; height: auto; max-height: calc(100svh - var(--hdr-h) - 110px); min-height: 360px; margin: 0 auto; }
@media (max-width: 999px) { .hero-fig .fig1 { max-height: none; max-width: 560px; } }
.figcap {
  display: flex; gap: 18px; align-items: flex-start; justify-content: space-between; flex-wrap: wrap;
  font-size: 13.5px; color: var(--graphite); margin-top: 6px;
}
.figcap-t { font-weight: 600; color: var(--ink-deep); font-stretch: 105%; }
.bom { border-collapse: collapse; font-size: 13px; line-height: 1.35; min-width: 260px; flex: 1; max-width: 380px; }
.bom th, .bom td { text-align: left; padding: 5px 10px 5px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.bom th { font-weight: 600; color: var(--graphite); font-size: 12px; }
.bom td:first-child { width: 28px; }
.bom .b-n { display: inline-grid; place-items: center; width: 19px; height: 19px; border: 1px solid var(--ink); border-radius: 50%; font-size: 11px; font-weight: 600; color: var(--ink); }
.bom td:nth-child(2) { font-weight: 600; color: var(--ink-deep); }

.guides { position: absolute; inset: 0; pointer-events: none; z-index: 1; overflow: visible; }
.guides svg { position: absolute; left: 0; top: 0; overflow: visible; }
.gantry { position: absolute; top: 0; width: 1px; pointer-events: none; z-index: 3; opacity: 0; }
.gantry::before { content: ""; position: absolute; inset: 0; background: var(--ink); opacity: .55; }
.gantry i {
  position: absolute; left: -6px; width: 13px; height: 13px; border: 1.5px solid var(--red); border-radius: 50%; background: var(--paper);
}
.gantry i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 3px; height: 3px; margin: -1.5px; background: var(--red); border-radius: 50%; }

/* ---------- Measuring-tape marquee ---------- */
.tape {
  position: relative; overflow: hidden; border-block: 1.5px solid var(--ink);
  background: #FDFDF8;
  background: var(--white);
  height: 64px;
}
.tape-track { display: flex; width: max-content; height: 100%; will-change: transform; }
.tape-seg {
  display: flex; align-items: center; gap: 0; height: 100%; flex: none;
  background-image:
    linear-gradient(90deg, var(--ink) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-strong) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 100px 18px, 50px 12px, 10px 7px;
  background-repeat: repeat-x;
  background-position: 0 0, 0 0, 0 0;
  position: relative;
}
.tape-item { display: inline-flex; align-items: center; gap: 14px; padding: 18px 28px 0 10px; white-space: nowrap; font-size: 17px; font-weight: 640; font-stretch: 118%; color: var(--ink-deep); }
.tape-num { font: 400 10px/1 var(--f-mono); color: var(--red-text); position: absolute; top: 20px; }

/* ---------- Service cards ---------- */
.cards { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 820px) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1200px) { .cards { gap: 28px; } }
.card {
  position: relative; display: flex; flex-direction: column;
  padding: 22px 24px 24px; min-height: 100%;
  background: var(--white); border: 1.5px solid var(--ink);
  color: var(--ink-deep); text-decoration: none;
  transition: translate .45s var(--ease), box-shadow .45s var(--ease), background-color .3s;
  isolation: isolate;
}
.card::before { /* sheet corner fold */
  content: ""; position: absolute; right: -1.5px; top: -1.5px; width: 22px; height: 22px;
  background: linear-gradient(225deg, var(--paper) 50%, var(--vellum-2) 50%);
  border-left: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink);
  transition: width .4s var(--ease), height .4s var(--ease);
}
.card:hover { color: var(--ink-deep); translate: -6px -6px; box-shadow: 12px 12px 0 var(--vellum-2), 12px 12px 0 1.5px var(--ink); }
.card:hover::before { width: 34px; height: 34px; }
.card:active { translate: -2px -2px; box-shadow: 4px 4px 0 var(--vellum-2), 4px 4px 0 1.5px var(--ink); transition-duration: .12s; }
.card-sheet { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--graphite); margin-bottom: 6px; padding-right: 26px; }
.card-fig { height: 168px; margin: 0 -8px 12px; display: block; border-bottom: 1px dashed var(--line); }
.card-fig svg { height: 100%; width: 100%; overflow: visible; }
.card-t { font-size: clamp(21px, 1.8vw, 25px); margin-bottom: 14px; }
.card-price { display: flex; align-items: baseline; gap: 8px; margin: 0 0 14px; }
.card-price .from { font-size: 15px; color: var(--graphite); }
.card-price .num { font-size: clamp(30px, 2.8vw, 40px); font-weight: 760; font-stretch: 125%; color: var(--ink); letter-spacing: -.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.card-d { color: var(--graphite); font-size: 16px; line-height: 1.55; }
.card-l { list-style: none; display: grid; gap: 7px; margin: 4px 0 24px; font-size: 15.5px; line-height: 1.4; }
.card-l li { position: relative; padding-left: 22px; }
.card-l li::before { content: ""; position: absolute; left: 0; top: .5em; width: 11px; height: 6px; border-left: 1.75px solid var(--ink); border-bottom: 1.75px solid var(--ink); transform: rotate(-45deg); }
.card-go {
  margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding-top: 16px; border-top: 1.5px solid var(--ink);
  font-weight: 660; font-stretch: 112%; color: var(--ink);
}
.card-go svg { width: 44px; height: 14px; overflow: visible; }
.card-go .go-line { stroke-dasharray: 44; stroke-dashoffset: 20; transition: stroke-dashoffset .45s var(--ease); }
.card:hover .card-go .go-line { stroke-dashoffset: 0; }
.card:hover .card-go { color: var(--red-text); }

/* ---------- Process route ---------- */
.route { position: relative; }
.route-svg { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.steps { list-style: none; display: grid; gap: 36px; position: relative; counter-reset: s; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; } }
.step { position: relative; padding-left: 64px; }
@media (min-width: 900px) { .step { padding-left: 0; padding-top: 92px; } .step:nth-child(even) { padding-top: 150px; } }
.step-node {
  position: absolute; left: 6px; top: 0; width: 36px; height: 36px; display: grid; place-items: center;
  background: var(--paper); border: 1.5px solid var(--ink); border-radius: 50%;
  font: 500 12px/1 var(--f-mono); color: var(--ink);
  transition: background-color .3s, color .3s, border-color .3s;
}
@media (min-width: 900px) { .step-node { left: 0; top: 24px; } .step:nth-child(even) .step-node { top: 82px; } }
.step.is-on .step-node { background: var(--ink); color: #fff; }
.step h3 { margin-bottom: 8px; }
.step p { font-size: 16px; color: var(--graphite); margin: 0; line-height: 1.55; }

/* ---------- Why / specification ---------- */
.why-grid { display: grid; gap: 40px; }
@media (min-width: 1000px) { .why-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; } .why-head { position: sticky; top: calc(var(--hdr-h) + var(--frame) + 40px); } }
.why-head h2 { margin-bottom: 18px; }
.why-head p { color: var(--graphite); max-width: 26em; }
.level { margin-top: 36px; width: min(320px, 100%); }
.level svg { width: 100%; height: auto; overflow: visible; }
.spec { margin: 0; border-top: 1.5px solid var(--ink); }
.spec-row {
  display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 4px 20px; padding: 26px 0 26px;
  border-bottom: 1px solid var(--line-strong); position: relative;
}
@media (min-width: 700px) { .spec-row { grid-template-columns: 64px minmax(0, 15em) minmax(0, 1fr); gap: 24px; align-items: start; } }
.spec-ico { width: 46px; height: 46px; grid-row: span 2; }
@media (min-width: 700px) { .spec-ico { grid-row: auto; } }
.spec-ico svg { width: 100%; height: 100%; overflow: visible; }
.spec dt { font-weight: 680; font-stretch: 112%; font-size: 19px; line-height: 1.3; color: var(--ink-deep); }
.spec dd { margin: 0; color: var(--graphite); font-size: 16.5px; line-height: 1.55; }
.spec-row::after {
  content: ""; position: absolute; left: 0; bottom: -1px; height: 1.5px; width: 100%; background: var(--red);
  transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s var(--ease);
}
.spec-row:hover::after { transform: scaleX(1); }

/* ---------- CTA band ---------- */
.cta { padding-top: clamp(60px, 8vw, 120px); padding-bottom: 0; }
.cta-in {
  position: relative; display: grid; gap: 28px; align-items: center;
  padding: clamp(32px, 5vw, 72px); background: var(--white); border: 1.5px solid var(--ink);
  box-shadow: 14px 14px 0 var(--vellum-2), 14px 14px 0 1.5px var(--ink);
}
@media (min-width: 900px) { .cta-in { grid-template-columns: minmax(0, 1fr) 220px; } }
.cta-in h2 { margin-bottom: 18px; }
.cta-in p { color: var(--graphite); max-width: 34em; }
.cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 28px; }
.dial { width: 200px; height: 200px; justify-self: center; }
@media (max-width: 899px) { .dial { width: 150px; height: 150px; justify-self: start; order: -1; } }
.dial svg { width: 100%; height: 100%; overflow: visible; }
.dial-text { font: 600 10.5px/1 var(--f-sans); font-stretch: 75%; letter-spacing: .18em; fill: var(--ink); text-transform: uppercase; }

/* ---------- Footer title block ---------- */
.ftr { position: relative; margin-top: clamp(80px, 10vw, 140px); padding-bottom: 28px; }
.ftr-top { display: grid; gap: 40px; padding-bottom: 40px; }
@media (min-width: 900px) { .ftr-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 56px; } }
.ftr-brand svg { height: 46px; width: auto; color: var(--ink); margin-bottom: 18px; }
.ftr-brand p { color: var(--graphite); font-size: 16px; max-width: 26em; margin: 0; }
.ftr-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
@media (min-width: 600px) { .ftr-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ftr-h { font-size: 14px; font-weight: 600; font-stretch: 100%; color: var(--graphite); margin-bottom: 12px; letter-spacing: 0; }
.ftr-nav ul { list-style: none; display: grid; gap: 4px; }
.ftr-nav a, .ftr-nav button {
  display: inline-block; padding: 5px 0; font-size: 15.5px; color: var(--ink-deep); text-decoration: none;
  background: none; border: 0; cursor: pointer; text-align: left; font-weight: 500;
}
.ftr-nav a:hover, .ftr-nav button:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--red); }

.tblock {
  display: grid; gap: 1px; margin: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas: "drawn drawn" "reg title" "addr addr" "email email" "sheet rev" "clock clock";
  border: 1.5px solid var(--ink); background: var(--line-strong);
}
@media (min-width: 760px) {
  .tblock { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-areas: "drawn drawn reg title" "addr addr email email" "sheet clock clock rev"; }
}
@media (min-width: 1200px) {
  .tblock { grid-template-columns: 1.1fr .8fr 1.3fr .9fr 1fr .8fr; grid-template-areas: "drawn drawn addr addr email email" "reg title sheet clock clock rev"; }
}
.tb { padding: 10px 14px 12px; background: var(--white); min-width: 0; }
.tb-drawn { grid-area: drawn; } .tb-reg { grid-area: reg; } .tb-addr { grid-area: addr; } .tb-email { grid-area: email; }
.tb-title { grid-area: title; } .tb-sheet { grid-area: sheet; } .tb-clock { grid-area: clock; } .tb-rev { grid-area: rev; }
.tb dt { font-size: 11.5px; color: var(--graphite); line-height: 1.3; margin-bottom: 3px; }
.tb dd { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; color: var(--ink-deep); }
.tb dd a { color: var(--ink); }
.tb-drawn dd { font-size: 19px; font-weight: 720; font-stretch: 120%; }
.tb-clock dd, .tb-sheet dd { font-family: var(--f-mono); font-size: 13px; font-weight: 500; }
.tb-rev dd { color: var(--red-text); }
.ftr-copy { margin: 18px 0 0; font-size: 13.5px; color: var(--graphite); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- Cookie banner ---------- */
.cookie {
  position: fixed; z-index: 90; left: calc(var(--frame) + 12px); right: calc(var(--frame) + 12px); bottom: calc(var(--frame) + 12px);
  max-width: 440px; padding: 22px 22px 20px; margin-left: auto;
  background: var(--white); color: var(--ink-deep);
  box-shadow: 8px 8px 0 var(--vellum-2);
}
.cookie[hidden] { display: none; }
.cookie-frame { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.cookie-frame rect { fill: none; stroke: var(--ink); stroke-width: 1.5; x: .75px; y: .75px; width: calc(100% - 1.5px); height: calc(100% - 1.5px); }
.cookie h2 { font-size: 20px; font-stretch: 115%; margin-bottom: 8px; letter-spacing: 0; line-height: 1.2; }
.cookie p { font-size: 15px; color: var(--graphite); margin-bottom: 16px; line-height: 1.5; }
.cookie-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-btns .btn { min-height: 46px; padding: 0 18px; font-size: 15px; flex: 1 1 auto; }
.cookie-stamp {
  position: absolute; right: 18px; top: -18px; width: 74px; height: 74px; pointer-events: none; opacity: 0;
}

/* ---------- Custom cursor (fine pointers only, added by JS) ---------- */
html.has-xhair, html.has-xhair a, html.has-xhair button, html.has-xhair summary, html.has-xhair label, html.has-xhair select { cursor: none; }
html.has-xhair input, html.has-xhair textarea { cursor: text; }
.xhair { position: fixed; left: 0; top: 0; z-index: 1000; pointer-events: none; width: 0; height: 0; will-change: transform; }
.xh-h, .xh-v { position: absolute; background: var(--red); }
.xh-h { left: -22px; width: 44px; top: 0; height: 1px; }
.xh-v { top: -22px; height: 44px; left: 0; width: 1px; }
.xh-box { position: absolute; left: -5px; top: -5px; width: 11px; height: 11px; border: 1px solid var(--red); transition: transform .25s var(--ease), border-color .2s; }
.xhair.is-link .xh-box { transform: scale(2.4) rotate(45deg); }
.xhair.is-text .xh-h, .xhair.is-text .xh-v, .xhair.is-text .xh-box { opacity: 0; }
.xh-read {
  position: absolute; left: 14px; top: 12px; white-space: nowrap;
  font: 400 9.5px/1 var(--f-mono); color: var(--ink); background: rgba(247, 249, 253, .9); padding: 3px 5px;
}
.xh-snap {
  position: absolute; left: 14px; top: -24px; white-space: nowrap;
  font: 600 11px/1 var(--f-sans); font-stretch: 80%; color: #fff; background: var(--red); padding: 4px 6px;
  opacity: 0; transform: translateY(4px); transition: opacity .15s, transform .2s var(--ease);
}
.xhair.is-snap .xh-snap { opacity: 1; transform: none; }
.xhair.is-snap .xh-box { border-color: var(--ink); background: rgba(36, 64, 216, .12); }
.xh-full { position: fixed; pointer-events: none; z-index: 2; background: rgba(36, 64, 216, .07); }
.xh-full-h { left: 0; right: 0; height: 1px; top: 0; }
.xh-full-v { top: 0; bottom: 0; width: 1px; left: 0; }

/* ---------- Measure overlay (construction lines on hover) ---------- */
.measure { position: absolute; left: 0; top: 0; z-index: 40; pointer-events: none; width: 0; height: 0; }
.ms-l { position: absolute; background: var(--ink); opacity: .45; }
.ms-h { height: 1px; }
.ms-v { width: 1px; }
.ms-dim { position: absolute; height: 1px; background: var(--red); }
.ms-dim::before, .ms-dim::after { content: ""; position: absolute; top: -4px; width: 1px; height: 9px; background: var(--red); transform: rotate(45deg); }
.ms-dim::before { left: 0; } .ms-dim::after { right: 0; }
.ms-dimv { position: absolute; width: 1px; background: var(--red); }
.ms-dimv::before, .ms-dimv::after { content: ""; position: absolute; left: -4px; height: 1px; width: 9px; background: var(--red); transform: rotate(45deg); }
.ms-dimv::before { top: 0; } .ms-dimv::after { bottom: 0; }
.ms-val {
  position: absolute; white-space: nowrap; font: 400 10px/1 var(--f-mono); color: var(--red-text);
  background: var(--paper); padding: 2px 5px; transform: translate(-50%, -50%);
}

/* ---------- Page transition ---------- */
.pt-cover {
  position: fixed; inset: 0; z-index: 2000; pointer-events: none;
  background-color: var(--paper);
  background-image: linear-gradient(var(--grid-major) 1px, transparent 1px), linear-gradient(90deg, var(--grid-major) 1px, transparent 1px);
  background-size: 40px 40px;
  border-top: 2px solid var(--red);
}
html.pt-in body::after {
  content: ""; position: fixed; inset: 0; z-index: 2000; pointer-events: none;
  background-color: var(--paper);
  background-image: linear-gradient(var(--grid-major) 1px, transparent 1px), linear-gradient(90deg, var(--grid-major) 1px, transparent 1px);
  background-size: 40px 40px;
  border-bottom: 2px solid var(--red);
  animation: pt-reveal .75s var(--ease-io) .05s forwards;
}
@keyframes pt-reveal { to { transform: translateY(-102%); } }

/* ---------- Service page hero ---------- */
.svc-hero { padding: calc(var(--hdr-h) + clamp(32px, 5vw, 64px)) 0 clamp(48px, 6vw, 96px); position: relative; }
.svc-grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 1000px) { .svc-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; } }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; font-size: 14.5px; color: var(--graphite); margin-bottom: 26px; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line-strong); }
.crumbs a { color: var(--graphite); }
.crumbs a:hover { color: var(--ink); }
.svc-h1 { font-size: clamp(38px, 5.4vw, 84px); line-height: 1; margin-bottom: 30px; }
.svc-h1 .char { display: inline-block; }
.price-dim { position: relative; display: inline-flex; align-items: baseline; gap: 12px; margin: 0 0 30px; padding-bottom: 22px; }
.price-dim .pd-from { font-size: 18px; color: var(--graphite); }
.price-dim .pd-num { font-size: clamp(44px, 5vw, 72px); font-weight: 780; font-stretch: 125%; color: var(--ink); letter-spacing: -.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.price-dim svg { position: absolute; left: 0; bottom: 0; width: 100%; height: 16px; overflow: visible; }
.svc-hero .lead { margin-bottom: 32px; }
.svc-fig { margin: 0; position: relative; }
.svc-fig .ill { width: 100%; height: auto; max-width: 660px; margin: 0 auto; }
.svc-micro { margin-top: 36px; }

/* breakpoint ruler (websites) */
.bp { max-width: 420px; }
.bp-head { display: flex; justify-content: space-between; font-size: 13.5px; color: var(--graphite); margin-bottom: 6px; }
.bp-head b { font: 500 13px/1.4 var(--f-mono); color: var(--red-text); }
.bp svg { width: 100%; height: 42px; overflow: visible; }

/* code typer (web apps) */
.typer {
  max-width: 460px; background: var(--white); border: 1.5px solid var(--ink); padding: 0; font: 400 13px/1.7 var(--f-mono); color: var(--ink-deep);
  box-shadow: 6px 6px 0 var(--vellum-2);
}
.typer-bar { display: flex; gap: 6px; align-items: center; padding: 8px 12px; border-bottom: 1px solid var(--line-strong); font-size: 11px; color: var(--graphite); }
.typer-bar i { width: 8px; height: 8px; border: 1px solid var(--ink); border-radius: 50%; }
.typer pre { margin: 0; padding: 14px 16px; min-height: 7.2em; white-space: pre-wrap; font: inherit; }
.typer .k { color: var(--ink); font-weight: 600; }
.typer .s { color: var(--red-text); }
.caret { display: inline-block; width: .6em; height: 1.15em; background: var(--red); vertical-align: -0.2em; margin-left: 1px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* swinging price tag (stores) */
.tagline { display: flex; align-items: center; gap: 18px; }
.tagline svg { width: 120px; height: 96px; overflow: visible; flex: none; }
.tagline p { margin: 0; font-size: 15px; color: var(--graphite); max-width: 22em; }

/* ---------- Included checklist ---------- */
.incl-grid { display: grid; gap: 40px; }
@media (min-width: 1000px) { .incl-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 64px; } }
.incl-note { font-size: 17px; color: var(--graphite); }
.incl-note strong { color: var(--ink-deep); }
.checks { list-style: none; display: grid; gap: 0; border-top: 1.5px solid var(--ink); counter-reset: c; }
.checks li {
  display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 16px; align-items: start;
  padding: 18px 0; border-bottom: 1px solid var(--line-strong); font-size: 18px; line-height: 1.45; font-weight: 500;
}
.checks svg { width: 28px; height: 28px; overflow: visible; margin-top: -1px; }
.checks .ck-box { fill: var(--white); stroke: var(--ink); stroke-width: 1.5; }
.checks .ck-mark { fill: none; stroke: var(--red); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.checks .ck-ref { font: 400 11px/1.9 var(--f-mono); color: var(--graphite); }

/* ---------- Great for ---------- */
.fit-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .fit-grid { grid-template-columns: minmax(0, 1fr) 260px; } }
.fit-list { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.fit-list li {
  padding: 12px 20px; background: var(--white); border: 1.5px solid var(--ink); border-radius: 999px;
  font-size: clamp(17px, 1.4vw, 20px); font-weight: 600; font-stretch: 110%; color: var(--ink-deep);
}
.fit-src { margin-top: 24px; color: var(--graphite); font-size: 15.5px; max-width: 40em; }
.compass { width: 240px; height: 240px; justify-self: center; }
.compass svg { width: 100%; height: 100%; overflow: visible; }

/* ---------- Vertical steps (package process) ---------- */
.pp-grid { display: grid; gap: 40px; }
@media (min-width: 1000px) { .pp-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; } .pp-head { position: sticky; top: calc(var(--hdr-h) + var(--frame) + 40px); align-self: start; } }
.pp-head p { color: var(--graphite); margin-top: 18px; }
.gears { width: 220px; margin-top: 30px; }
.gears svg { width: 100%; height: auto; overflow: visible; }
.vsteps { list-style: none; position: relative; display: grid; gap: 0; }
.vsteps::before { content: ""; position: absolute; left: 19px; top: 8px; bottom: 8px; width: 1.5px; background: var(--line); }
.vs-wrap { position: relative; }
.vs-prog { position: absolute; left: 19px; top: 8px; width: 1.5px; height: calc(100% - 16px); background: var(--red); transform-origin: 50% 0; z-index: 1; }
.vsteps li { position: relative; z-index: 2; padding: 0 0 36px 68px; }
.vsteps li:last-child { padding-bottom: 0; }
.vs-n {
  position: absolute; left: 0; top: 0; width: 40px; height: 40px; display: grid; place-items: center;
  border: 1.5px solid var(--ink); background: var(--paper); border-radius: 50%; font: 500 12px/1 var(--f-mono); color: var(--ink);
}
.vsteps h3 { margin: 6px 0 8px; }
.vsteps p { margin: 0; color: var(--graphite); font-size: 16.5px; max-width: 34em; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; gap: 40px; }
@media (min-width: 1000px) { .faq-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; } }
.faq-list { border-top: 1.5px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--line-strong); }
.faq-item summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) 40px; gap: 16px; align-items: center;
  padding: 22px 0; font-size: clamp(18px, 1.5vw, 21px); font-weight: 640; font-stretch: 108%; color: var(--ink-deep); line-height: 1.35;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--ink); }
.faq-ico { width: 40px; height: 40px; border: 1.5px solid var(--ink); border-radius: 50%; position: relative; background: var(--white); transition: background-color .3s, transform .5s var(--ease); }
.faq-ico::before, .faq-ico::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.75px; margin: -.875px 0 0 -7px; background: var(--ink); transition: transform .4s var(--ease), background-color .3s; }
.faq-ico::after { transform: rotate(90deg); }
.faq-item[open] .faq-ico { background: var(--ink); transform: rotate(180deg); }
.faq-item[open] .faq-ico::before { background: #fff; }
.faq-item[open] .faq-ico::after { transform: rotate(0deg); background: #fff; }
.faq-a { overflow: hidden; }
.faq-a-in { padding: 0 56px 26px 0; color: var(--graphite); font-size: 17px; line-height: 1.6; position: relative; }
.faq-a-in p { margin: 0; max-width: 40em; }
.faq-side p { color: var(--graphite); margin-top: 18px; }
.faq-side .section-mark { margin-top: 30px; width: 120px; height: 120px; }
.faq-side .section-mark svg { width: 100%; height: 100%; overflow: visible; }

/* ---------- Other services ---------- */
.others { display: grid; gap: 20px; }
@media (min-width: 760px) { .others { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }
.other {
  display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 20px; align-items: center;
  padding: 20px 22px; background: var(--white); border: 1.5px solid var(--ink); color: var(--ink-deep); text-decoration: none;
  transition: translate .4s var(--ease), box-shadow .4s var(--ease);
}
.other:hover { color: var(--ink-deep); translate: -5px -5px; box-shadow: 10px 10px 0 var(--vellum-2), 10px 10px 0 1.5px var(--ink); }
.other:active { translate: -1px -1px; box-shadow: 3px 3px 0 var(--vellum-2), 3px 3px 0 1.5px var(--ink); }
.other svg { width: 96px; height: 80px; overflow: visible; }
.other h3 { margin-bottom: 4px; }
.other p { margin: 0; color: var(--graphite); font-size: 15.5px; }
.other .o-price { color: var(--ink); font-weight: 700; font-stretch: 115%; }

/* ---------- Contact ---------- */
.contact-hero { padding: calc(var(--hdr-h) + clamp(32px, 5vw, 64px)) 0 clamp(24px, 3vw, 40px); }
.contact-hero-grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 1000px) { .contact-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; } }
.contact-hero h1 { font-size: clamp(42px, 6vw, 92px); margin-bottom: 26px; }
.contact-hero .ill { width: 100%; height: auto; max-width: 620px; margin: 0 auto; }
.contact-main { padding-top: clamp(32px, 4vw, 56px); }
.contact-grid { display: grid; gap: 48px; align-items: start; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 56px; } }

.form-sheet { position: relative; background: var(--white); border: 1.5px solid var(--ink); padding: clamp(22px, 3.4vw, 44px); box-shadow: 12px 12px 0 var(--vellum-2), 12px 12px 0 1.5px var(--ink); }
.form-sheet h2 { font-size: clamp(26px, 2.6vw, 36px); margin-bottom: 8px; }
.form-sheet > p { color: var(--graphite); margin-bottom: 28px; font-size: 16px; }
.form-grid { display: grid; gap: 22px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .f-full { grid-column: 1 / -1; } }
.field { position: relative; display: grid; gap: 7px; }
.field label, .field .label { font-size: 15px; font-weight: 600; color: var(--ink-deep); display: flex; justify-content: space-between; gap: 8px; }
.field .opt { font-weight: 400; color: var(--graphite); font-size: 13.5px; }
.field input:not([type=checkbox]), .field select, .field textarea {
  width: 100%; font: 400 17px/1.4 var(--f-sans); color: var(--ink-deep);
  background: var(--paper); border: 1.5px solid var(--line-strong); border-radius: 2px;
  padding: 13px 14px; min-height: 52px;
  transition: border-color .2s, background-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 150px; resize: vertical; }
.field select {
  padding-right: 42px;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%;
  background-size: 6px 6px, 6px 6px; background-repeat: no-repeat;
}
.field input:not([type=checkbox]):hover, .field select:hover, .field textarea:hover { border-color: var(--ink); }
.field input:not([type=checkbox]):focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background-color: var(--white); box-shadow: 4px 4px 0 var(--vellum-2); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.field .f-dim { position: absolute; left: 0; right: 0; bottom: -10px; height: 8px; pointer-events: none; overflow: visible; width: 100%; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--red); background: #FFF6F4; }
.f-err { font-size: 14px; color: var(--red-text); font-weight: 600; min-height: 0; display: flex; gap: 6px; align-items: center; }
.f-err:empty { display: none; }
.f-err::before { content: ""; width: 12px; height: 12px; flex: none; border: 1.5px solid var(--red); transform: rotate(45deg) scale(.8); }
.f-count { font: 400 11px/1 var(--f-mono); color: var(--graphite); justify-self: end; }
.check { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 15.5px; line-height: 1.5; }
.check input { width: 24px; height: 24px; margin: 1px 0 0; accent-color: var(--ink); cursor: pointer; }
.field .check label { display: block; font-weight: 400; font-size: 15.5px; color: var(--ink-deep); }
.field.is-invalid .check input { outline: 2px solid var(--red); outline-offset: 2px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 8px; }
.form-actions p { margin: 0; font-size: 14px; color: var(--graphite); max-width: 26em; }
.form-status { font-size: 15px; color: var(--red-text); font-weight: 600; }
.form-status:empty { display: none; }

.success { text-align: left; display: grid; gap: 14px; justify-items: start; padding: 12px 0; }
.success[hidden] { display: none; }
.success svg { width: 180px; height: 120px; overflow: visible; }
.success h2 { font-size: clamp(28px, 3vw, 40px); }
.success p { color: var(--graphite); margin: 0; max-width: 30em; }

.details { display: grid; gap: 28px; }
.dcard { background: var(--white); border: 1.5px solid var(--ink); }
.dcard-h { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1.5px solid var(--ink); }
.dcard-h h2 { font-size: 20px; font-stretch: 115%; letter-spacing: 0; }
.dcard dl { margin: 0; display: grid; }
.dcard dl div { padding: 12px 18px; border-bottom: 1px solid var(--line); }
.dcard dl div:last-child { border-bottom: 0; }
.dcard dt { font-size: 12.5px; color: var(--graphite); }
.dcard dd { margin: 2px 0 0; font-weight: 600; font-size: 16px; overflow-wrap: anywhere; }
.target { width: 54px; height: 54px; }
.target svg { width: 100%; height: 100%; overflow: visible; }
.next-steps { list-style: none; display: grid; gap: 18px; counter-reset: n; }
.next-steps li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; font-size: 16px; color: var(--graphite); line-height: 1.5; }
.next-steps li b { color: var(--ink-deep); display: block; font-weight: 640; }
.next-steps .n { width: 30px; height: 30px; border: 1.5px solid var(--ink); border-radius: 50%; display: grid; place-items: center; font: 500 11px/1 var(--f-mono); color: var(--ink); background: var(--paper); }

/* ---------- Legal ---------- */
.legal-hero { padding: calc(var(--hdr-h) + clamp(32px, 5vw, 64px)) 0 clamp(24px, 3vw, 48px); }
.legal-hero h1 { font-size: clamp(40px, 5.6vw, 84px); margin-bottom: 20px; }
.legal-hero p { color: var(--graphite); max-width: 40em; }
.legal-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; padding-bottom: 40px; }
@media (min-width: 1000px) { .legal-grid { grid-template-columns: 290px minmax(0, 1fr); gap: 72px; } }
.toc { position: relative; }
@media (min-width: 1000px) { .toc-in { position: sticky; top: calc(var(--hdr-h) + var(--frame) + 32px); } }
.toc-t { font-size: 14px; font-weight: 600; color: var(--graphite); margin-bottom: 10px; }
.toc ol { list-style: none; display: grid; gap: 2px; position: relative; padding-left: 26px; border-left: 1.5px solid var(--line-strong); }
.toc a { display: block; padding: 6px 0; font-size: 15px; color: var(--ink-deep); text-decoration: none; line-height: 1.35; transition: color .2s; }
.toc a:hover { color: var(--ink); }
.toc a.is-active { color: var(--ink); font-weight: 640; }
.caliper { position: absolute; left: -9px; top: 0; width: 18px; height: 0; pointer-events: none; will-change: transform, height; }
.caliper::before, .caliper::after { content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: var(--red); }
.caliper::before { top: 0; } .caliper::after { bottom: 0; }
.caliper i { position: absolute; left: 8px; top: 0; bottom: 0; width: 2px; background: var(--red); }
.toc-details { display: none; }
@media (max-width: 999px) {
  .toc { border: 1.5px solid var(--ink); background: var(--white); padding: 16px 18px; }
}
.legal { max-width: 760px; font-size: 17.5px; line-height: 1.7; }
.legal h2 { font-size: clamp(24px, 2.4vw, 32px); margin: 56px 0 16px; padding-top: 4px; letter-spacing: -.005em; line-height: 1.15; }
.legal h3 { font-size: 20px; margin: 28px 0 10px; }
.legal ul { padding-left: 22px; margin: 0 0 1.1em; }
.legal li { margin-bottom: .45em; }
.legal li::marker { color: var(--ink); }
.legal .legal-updated { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border: 1.5px solid var(--red); color: var(--red-text); font-weight: 600; font-size: 15px; transform-origin: 0 50%; }
.legal-table-wrap { overflow-x: auto; margin: 0 0 1.2em; border: 1.5px solid var(--ink); background: var(--white); }
.legal table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 15.5px; }
.legal th, .legal td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line-strong); vertical-align: top; }
.legal th { background: var(--vellum); font-weight: 640; }

/* ---------- Drawings (shared illustration system) ---------- */
.ill { overflow: visible; }
.ill .fc { stroke: var(--ink); stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }
.ill .fc-t { fill: var(--white); }
.ill .fc-l { fill: #EEF2FE; }
.ill .fc-r { fill: #DCE4FB; }
.ill .ln { fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ill .ln-thin { stroke-width: 1; }
.ill .ln-hair { stroke-width: .75; opacity: .7; }
.ill .hid { fill: none; stroke: var(--ink); stroke-width: 1; stroke-dasharray: 4 3; opacity: .5; }
.ill .cl { fill: none; stroke: var(--ink); stroke-width: .9; stroke-dasharray: 14 4 2 4; opacity: .6; }
.ill .cons { fill: none; stroke: var(--ink); stroke-width: .6; opacity: .2; }
.ill .datum { opacity: .17; }
.ill .dim { fill: none; stroke: var(--ink); stroke-width: .85; }
.ill .dim-tick { stroke-width: 1.2; }
.ill .val { font: 400 10px/1 var(--f-mono); fill: var(--ink); letter-spacing: 0; }
.ill .anno { font: 650 11px/1 var(--f-sans); font-stretch: 72%; letter-spacing: .07em; fill: var(--ink-deep); text-transform: uppercase; }
.ill .ldr { fill: none; stroke: var(--ink); stroke-width: .9; }
.ill .ldr-dot { fill: var(--ink); }
.ill .bal-c { fill: var(--white); stroke: var(--ink); stroke-width: 1.3; }
.ill .bal-n { font: 600 11px/1 var(--f-sans); font-stretch: 90%; fill: var(--ink); }
.ill .ui-fill { fill: var(--vellum); stroke: var(--ink); stroke-width: .9; }
.ill .ui-card { fill: var(--white); stroke: var(--ink); stroke-width: .9; }
.ill .ui-btn, .ill .sig-f { fill: var(--red); stroke: none; }
.ill .ui-dot { fill: none; stroke: var(--ink); stroke-width: .9; }
.ill .ui-h1 { stroke-width: 2.6; }
.ill .ui-h2 { stroke-width: 1.8; }
.ill .ui-cursor { fill: var(--ink-deep); stroke: #fff; stroke-width: .8; stroke-linejoin: round; }
.ill .led { fill: var(--red); stroke: none; }
.ill .ring { fill: none; stroke: var(--red); stroke-width: 2; }
.ill .pkt { fill: var(--red); }
.ill .sig { fill: none; stroke: var(--red); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ill .flow { fill: none; stroke: var(--red); stroke-width: 1.5; stroke-dasharray: 3 7; stroke-linecap: round; }
.ill .gear-body { fill: var(--white); stroke: var(--ink); stroke-width: 1.4; stroke-linejoin: round; }
.ill .gear-hub { fill: var(--vellum); stroke: var(--ink); stroke-width: 1.2; }
.ill .gear-key, .ill .gear-sp { fill: none; stroke: var(--ink); stroke-width: 1; }
.ill .snap { fill: none; stroke: none; }
.ill .hatch { fill: url(#hatch); }
.ill .pipe { fill: none; stroke: var(--ink); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.ill .pipe-in { fill: none; stroke: var(--paper); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.ill .fig-t { font: 600 12px/1 var(--f-sans); font-stretch: 100%; fill: var(--ink-deep); }
.ill .fig-s { font: 400 10.5px/1 var(--f-sans); font-stretch: 85%; fill: var(--graphite); }

/* small 2D drawing parts (icons, micros) */
.dr-ln { fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.dr-thin { fill: none; stroke: var(--ink); stroke-width: 1; stroke-linecap: round; }
.dr-cons { fill: none; stroke: var(--ink); stroke-width: .75; opacity: .3; }
.dr-dash { fill: none; stroke: var(--ink); stroke-width: 1; stroke-dasharray: 3 3; opacity: .55; }
.dr-red { fill: none; stroke: var(--red); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.dr-redf { fill: var(--red); }
.dr-fill { fill: var(--white); stroke: var(--ink); stroke-width: 1.5; stroke-linejoin: round; }
.dr-vel { fill: var(--vellum); stroke: var(--ink); stroke-width: 1.5; stroke-linejoin: round; }
.dr-txt { font: 400 9px/1 var(--f-mono); fill: var(--ink); }
.dr-anno { font: 650 10px/1 var(--f-sans); font-stretch: 72%; letter-spacing: .08em; fill: var(--ink-deep); text-transform: uppercase; }

/* Logo */
.logo .lm-front, .logo .lm-stem { fill: none; stroke: currentColor; stroke-width: 4.4; stroke-linecap: round; stroke-linejoin: round; }
.logo .lm-hidden { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-dasharray: 3.2 3.4; opacity: .62; }
.logo .lm-eq { fill: none; stroke: currentColor; stroke-width: 2.1; stroke-linecap: round; }
.logo .lm-eqh { fill: none; stroke: currentColor; stroke-width: 1.3; stroke-dasharray: 2.4 2.8; opacity: .55; }
.logo .lm-cl { fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; }
.logo .lm-node { fill: var(--red); }
.logo .lm-mer { fill: none; stroke: currentColor; stroke-width: 1.4; opacity: 0; }
.logo .lw-dev { fill: var(--ink-deep); }
.logo .lw-srv { fill: currentColor; }
.logo .lw-dim { fill: none; stroke: currentColor; stroke-width: 1.1; stroke-linecap: round; }

/* utility: section-level decorative helpers */
.deco { pointer-events: none; }
.zone-tag { position: absolute; left: calc(var(--gutter) * -1 + 6px); top: 0; font: 650 11px/1 var(--f-sans); font-stretch: 72%; color: var(--graphite); letter-spacing: .08em; display: none; }

/* ---------- JS-built construction helpers ---------- */
.kin { position: relative; padding-bottom: 18px; }
.kin-dim { position: absolute; height: 10px; pointer-events: none; display: block; bottom: 2px; }
.hero-dimline { bottom: auto; }
.kin-dim .kd-l { position: absolute; left: 0; right: 0; top: 4px; height: 1px; background: var(--red); transform-origin: 50% 50%; }
.kin-dim .kd-t { position: absolute; top: 0; width: 1px; height: 9px; background: var(--red); transform: rotate(45deg); }
.kin-dim .kd-t1 { left: 0; } .kin-dim .kd-t2 { right: 0; }
.kin-dim .kd-v {
  position: absolute; left: 50%; top: -1px; transform: translateX(-50%);
  font: 400 10px/1.1 var(--f-mono); letter-spacing: 0; color: var(--red-text); background: var(--paper); padding: 0 6px; white-space: nowrap;
}
.hero-dimline { z-index: 3; }
.guides .gd { fill: none; stroke: var(--ink); stroke-width: 1; opacity: .55; }
.guides .gd-cap { stroke-dasharray: 6 4; }
.guides .gd-x { stroke-dasharray: 2 4; opacity: .4; }
.guides .gd-base { stroke: var(--red); opacity: .55; }
.guides .gd-v { stroke-dasharray: 10 3 2 3; opacity: .35; }
.guides .gd-t { font: 400 9px/1 var(--f-mono); fill: var(--graphite); }
.svc-h1 { position: relative; }
.h1-base { position: absolute; left: 0; right: 0; bottom: -10px; height: 2px; background: var(--red); transform: scaleX(0); pointer-events: none; }
.cookie-ok {
  position: absolute; right: 16px; top: 14px; padding: 6px 10px; border: 2px solid var(--red); color: var(--red-text);
  font: 720 15px/1 var(--f-sans); font-stretch: 90%; letter-spacing: .08em; background: rgba(255,255,255,.9); pointer-events: none;
}
.route-svg .route-base { fill: none; stroke: var(--line-strong); stroke-width: 1.5; stroke-dasharray: 4 6; }
.route-svg .route-draw { fill: none; stroke: var(--ink); stroke-width: 2; }
.route-svg .pen-ring { fill: var(--paper); stroke: var(--red); stroke-width: 1.5; }
.route-svg .pen-x { stroke: var(--red); stroke-width: 1; fill: none; }
.route-svg .pen-dot { fill: var(--red); }
.pw .pg-dot { fill: var(--red); }
.belt { fill: none; stroke: var(--red); stroke-width: 1.4; stroke-dasharray: 6 6; }
.hero-copy { container-type: inline-size; }
@supports (font-size: 1cqi) {
  .plot-h1 { font-size: calc(100cqi / 5.45); }
  @media (min-width: 700px) { .plot-h1 { font-size: calc(100cqi / 9.5); } }
}
.f-dimline { position: relative; display: block; height: 1px; margin-top: -4px; transform-origin: 50% 50%; pointer-events: none; }
.f-dimline i { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--red); }
.f-dimline i::before, .f-dimline i::after { content: ""; position: absolute; top: -4px; width: 1px; height: 9px; background: var(--red); transform: rotate(45deg); }
.f-dimline i::before { left: 0; }
.f-dimline i::after { right: 0; }
.f-dimline .fd-v { position: absolute; right: 10px; top: -7px; font: 400 9.5px/1.2 var(--f-mono); color: var(--red-text); background: var(--white); padding: 0 4px; }
.lg-tick { display: block; width: 36px; height: 3px; background: var(--red); margin-bottom: 14px; transform-origin: 0 50%; }
html { scroll-behavior: smooth; }
.hero-fig { isolation: isolate; }
.hero-sphere {
  position: absolute; left: 50%; top: 50%; width: 118%; height: auto; aspect-ratio: 1; transform: translate(-50%, -50%);
  z-index: -1; pointer-events: none; overflow: visible;
}
.hero-sphere .hs { fill: none; stroke: var(--ink); stroke-width: 1; opacity: .16; }
.hero-sphere .hs-hidden, .hero-sphere .hs-eqb { stroke-dasharray: 6 6; opacity: .14; }
.hero-sphere .hs-cl { stroke-dasharray: 24 6 4 6; opacity: .14; }
.hero-sphere .hs-front { opacity: .22; stroke-width: 1.5; }
.hero-sphere .hs-tick { opacity: .22; }
.hero-sphere .hs-mer { opacity: .14; }
.hero-sphere .hs-node { fill: var(--red); opacity: .6; }
@media (min-width: 1600px) { :root { --maxw: 1480px; } }
