/* Baseline marketing site
   CAD workspace language: drawing paper, drafting ink, brand teal,
   amber reserved for a mismatch, screws and nuts as hardware. */

:root {
  --paper: #F7F9F9;
  --sheet: #FFFFFF;
  --ink: #0E2B2E;
  --body: #3A5155;
  --muted: #5E7478;
  --line: #C9D8D7;
  --grid: #E1EAE9;
  --panel: #F1F5F5;
  --teal: #0F766E;
  --teal-2: #0D9488;
  --teal-wash: #E6F4F2;
  --deep: #0A3A36;
  --deep-2: #0E4A45;
  --mint: #99F6E4;
  --amber: #D97706;
  --amber-ink: #B45309;
  --amber-wash: #FFF6E5;

  --sans: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, Consolas, monospace;

  --wrap: 1200px;
  --gut: 24px;
  --r: 6px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--teal); }
:focus-visible { outline: 2px solid var(--teal-2); outline-offset: 2px; border-radius: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: var(--r); z-index: 100; }
.skip:focus { top: 12px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.pn { font-family: var(--mono); font-weight: 500; letter-spacing: -.01em; }

/* Type: the display face uses Archivo's expanded width */
h1, h2 { color: var(--ink); font-weight: 700; font-variation-settings: 'wdth' 118; letter-spacing: -.025em; text-wrap: balance; }
h1 { font-size: clamp(36px, 4.6vw, 58px); line-height: 1.04; }
h2 { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.1; }
h3 { color: var(--ink); font-size: 20px; line-height: 1.3; font-weight: 650; font-variation-settings: 'wdth' 108; letter-spacing: -.01em; }
.lede { font-size: 19px; line-height: 1.55; max-width: 34em; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 16px;
  border: 1px solid var(--line); border-radius: var(--r);
  background: var(--sheet); color: var(--ink);
  font: 600 15px/1 var(--sans); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .15s, border-color .15s;
}
.btn:hover { border-color: var(--ink); }
.btn-p { background: var(--teal); border-color: var(--teal); color: #fff; }
.btn-p:hover { background: var(--deep); border-color: var(--deep); }
.btn-lg { height: 48px; padding: 0 22px; font-size: 16px; }
.btn-mint { background: var(--mint); border-color: var(--mint); color: var(--deep); }
.btn-mint:hover { background: #fff; border-color: #fff; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(247, 249, 249, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--grid); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 750; font-size: 20px; font-variation-settings: 'wdth' 112; letter-spacing: -.02em; text-decoration: none; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a:not(.btn) { position: relative; display: flex; align-items: center; height: 64px; padding: 0 14px; color: var(--body); font-size: 15px; font-weight: 500; text-decoration: none; }
.nav-links a:not(.btn):hover { color: var(--ink); }
.nav-links a:not(.btn)[aria-current="page"] { color: var(--ink); font-weight: 650; }
.nav-links a:not(.btn)[aria-current="page"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 2px; background: var(--teal); }
.nav-links .btn { margin-left: 14px; }
.nav-toggle { display: none; }

/* Hardware: screws in the corners of a bolted panel */
.bolted {
  --screw: url("../img/screw.svg");
  background-image: var(--screw), var(--screw), var(--screw), var(--screw);
  background-repeat: no-repeat;
  background-size: 18px 18px;
  background-position: top 10px left 10px, top 10px right 10px, bottom 10px left 10px, bottom 10px right 10px;
}
.bolted-dark { --screw: url("../img/screw-dark.svg"); }

/* Light bolted panels read as brushed steel plates, so the screws belong to something */
.bolted:not(.bolted-dark), .note-box {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), inset 0 -1px 0 rgba(14, 43, 46, .08), 0 14px 30px -24px rgba(14, 43, 46, .45);
}
.bolted:not(.bolted-dark) {
  background-image: var(--screw), var(--screw), var(--screw), var(--screw),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .28) 0 1px, rgba(14, 43, 46, .022) 1px 3px),
    linear-gradient(160deg, var(--m1, #F3F7F7) 0%, var(--m2, #DCE6E5) 48%, var(--m1, #F3F7F7) 72%, var(--m2, #DCE6E5) 100%);
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, repeat, no-repeat;
  background-size: 18px 18px, 18px 18px, 18px 18px, 18px 18px, auto, 100% 100%;
  background-position: top 10px left 10px, top 10px right 10px, bottom 10px left 10px, bottom 10px right 10px, 0 0, 0 0;
}

/* Centre-line divider with a nut */
.cl-rule { position: relative; height: 28px; margin: 0 auto; max-width: var(--wrap); }
.cl-rule::before { content: ""; position: absolute; left: var(--gut); right: var(--gut); top: 50%; border-top: 1.2px solid var(--line); border-image: repeating-linear-gradient(90deg, var(--teal-2) 0 18px, transparent 18px 23px, var(--teal-2) 23px 26px, transparent 26px 31px) 1; opacity: .7; }
.cl-rule::after { content: ""; position: absolute; left: 50%; top: 0; width: 28px; height: 28px; margin-left: -14px; background: var(--paper) url("../img/nut.svg") center / 28px no-repeat; box-shadow: 0 0 0 8px var(--paper); }

/* ---------- Home hero ---------- */
.hero { padding: 64px 0 72px; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 32px 32px; background-position: -1px -1px; position: relative; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--paper) 0%, rgba(247,249,249,.7) 40%, rgba(247,249,249,.92) 100%); pointer-events: none; }
.hero > .wrap { position: relative; }
.hero-top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: end; margin-bottom: 48px; }
.hero-top .lede { margin-bottom: 26px; }

/* Hero story: CAD/PDM and ERP disagree, Baseline in the browser resolves it */
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(170px, 200px) minmax(0, 1fr); align-items: center; }
.win-cap { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.win-cap svg { width: 16px; height: 16px; color: var(--muted); }
.cap-bl { color: var(--teal); }
.win { background: var(--sheet); border: 1px solid #B7C8C7; border-radius: 10px; overflow: hidden; box-shadow: 0 22px 44px -30px rgba(14, 43, 46, .5); }
.win-bar { display: flex; align-items: center; gap: 12px; height: 34px; padding: 0 12px; background: #E9EEEE; border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--ink); }
.win-bar .dots { display: flex; gap: 5px; flex: none; }
.win-bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: #C3D2D1; }
.win-t { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.win-tag { margin-left: auto; flex: none; font-size: 11.5px; font-weight: 600; color: var(--teal); background: var(--teal-wash); border-radius: 999px; padding: 1px 9px; }
.win-tag-q { color: var(--muted); background: #E1E8E8; }

/* CAD window: grey chrome, vertical toolbar, gradient viewport */
.cad-in { display: grid; grid-template-columns: 40px minmax(0, 1fr); }
.cad-tools { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 0; background: #F1F4F4; border-right: 1px solid var(--line); }
.cad-tools span { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 6px; color: #5B6F72; }
.cad-tools span:nth-child(2) { background: #DDE6E6; color: var(--ink); }
.cad-tools svg { width: 18px; height: 18px; }
.cad-vp { position: relative; background: linear-gradient(180deg, #FFFFFF 0%, #EDF3F3 60%, #DCE6E6 100%); }
.cad-vp::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(14,43,46,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(14,43,46,.045) 1px, transparent 1px); background-size: 22px 22px; pointer-events: none; }
.cad-vp .asm { position: relative; display: block; width: 100%; height: auto; max-height: 300px; margin: 0 auto; overflow: visible; }
.cad-vp .vcube { position: absolute; top: 10px; right: 12px; width: 44px; }
.cad-vp .triad { position: absolute; left: 10px; bottom: 8px; width: 38px; }

/* The middle stage: PDM and ERP records compared, before Baseline resolves it */
.story-mid { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.rec-flow { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; }
.wire { flex: 1; height: 14px; min-width: 20px; overflow: visible; }
.wire path { fill: none; vector-effect: non-scaling-stroke; }
.wire-base { stroke: #B9CDCC; stroke-width: 2; }
.wire-flow { stroke: var(--teal); stroke-width: 3; stroke-dasharray: 8 12; opacity: 0; animation: fade .3s ease-out .2s forwards, flow 1.2s linear .2s infinite; }
.wire-r .wire-flow { animation-delay: 2s, 2s; }
.wire-head { stroke: var(--teal); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; opacity: 0; animation: fade .3s ease-out 2s forwards; }
@keyframes flow { to { stroke-dashoffset: -32; } }

.rec-chip { flex: none; background: var(--sheet); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; opacity: 0; animation: fade .4s ease-out 1.4s forwards; box-shadow: 0 12px 26px -18px rgba(14, 43, 46, .45); }
.rec-row { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; padding: 7px 12px; font-size: 12.5px; white-space: nowrap; }
.rec-row span { color: var(--muted); }
.rec-row b { color: var(--ink); font-family: var(--mono); font-weight: 600; }
.rec-row + .rec-row { border-top: 1px solid var(--grid); }
.rec-diff { animation: rec-flag .4s ease-out 1.9s forwards; }
.rec-diff b { animation: rec-flag-ink .4s ease-out 1.9s forwards; }
@keyframes rec-flag { to { background: var(--amber-wash); } }
@keyframes rec-flag-ink { to { color: var(--amber-ink); } }

/* Baseline window: browser chrome + the prototype's alert view */
.bw { background: #E8EFEF; }
.bw-url { flex: 1; display: flex; align-items: center; gap: 7px; height: 24px; padding: 0 12px; background: var(--sheet); border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-family: var(--mono); font-size: 12px; white-space: nowrap; overflow: hidden; }
.bw-url svg { width: 12px; height: 12px; flex: none; }
.bl-top { display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; background: var(--deep); color: #fff; font-weight: 700; font-size: 15px; font-variation-settings: 'wdth' 110; }
.bl-body { position: relative; padding: 18px 18px 20px; background: #F4F7F7; min-height: 340px; }
.bl-wait { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 14px; color: var(--muted); animation: out .3s ease-out 1.95s forwards; }
.spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line); border-top-color: var(--teal-2); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes out { to { opacity: 0; visibility: hidden; } }
.bl-alert { opacity: 0; animation: fade .4s ease-out 2.05s forwards; }
.bl-crumb { font-size: 12.5px; color: var(--teal); margin-bottom: 6px; }
.bl-crumb .pn { color: var(--muted); font-size: 12px; }
.bl-alert h4 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 17px; line-height: 1.3; color: var(--ink); font-weight: 650; margin-bottom: 14px; }
.new { font-size: 11.5px; font-weight: 600; color: var(--amber-ink); background: var(--amber-wash); border-radius: 999px; padding: 1px 9px; }
.bl-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: var(--sheet); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.bl-stats > div { padding: 10px 12px; }
.bl-stats > div + div { border-left: 1px solid var(--grid); }
.bl-stats span { display: block; font-size: 11.5px; color: var(--muted); }
.bl-stats b { font-size: 20px; color: var(--ink); font-weight: 650; }
.bl-stats .st-erp b { color: var(--amber-ink); }
.bl-stats .sev { font-size: 12px; color: #BE123C; background: #FFE4E6; border-radius: 999px; padding: 2px 9px; display: inline-block; margin-top: 4px; }
.bl-rec { margin-top: 12px; background: var(--sheet); border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px 14px; opacity: 0; animation: fade .4s ease-out 2.35s forwards; }
.bl-k { font-size: 12px; font-weight: 600; color: var(--muted); }
.bl-rec p { font-size: 13.5px; line-height: 1.45; color: var(--ink); margin: 4px 0 12px; }
.bl-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.bl-btns .btn { height: 30px; font-size: 12.5px; cursor: default; }

/* Assembly drawing */
.asm .ln { fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-linejoin: round; }
.asm .fill { fill: #FFFFFF; }
.asm .shade { fill: #E9F0F0; }
.asm .hole { fill: #E4ECEC; }
.asm .cl path { fill: none; stroke: var(--teal-2); stroke-width: .9; stroke-dasharray: 16 4 3 4; opacity: .75; }
.asm .lead { fill: none; stroke: var(--ink); stroke-width: .9; }
.asm .dot { fill: var(--ink); }
.asm .ring { fill: #FFFFFF; stroke: var(--ink); stroke-width: 1.3; }
.asm text { font: 600 14px var(--mono); fill: var(--ink); text-anchor: middle; }
.asm .dim path { fill: none; stroke: var(--muted); stroke-width: .8; }
.asm .dim text { font: 500 11px var(--mono); fill: var(--muted); }

/* One orchestrated moment: the parts ink in, then the mismatch lights up */
.asm .parts .ln { stroke-dasharray: 1; stroke-dashoffset: 1; animation: ink 1.1s cubic-bezier(.4, 0, .2, 1) forwards; }
.asm .p1 .ln { animation-delay: .05s; }
.asm .p5 .ln { animation-delay: .25s; }
.asm .p2 .ln { animation-delay: .35s; }
.asm .p3 .ln { animation-delay: .55s; }
.asm .p4 .ln { animation-delay: .7s; }
.asm .balloons, .asm .dim { opacity: 0; animation: fade .5s ease-out 1.4s forwards; }
.asm .p5 .bolt { animation: ink 1.1s cubic-bezier(.4, 0, .2, 1) .25s forwards, flag .5s ease-out 1.9s forwards; }
.asm .p1 .hole.miss { animation: ink 1.1s cubic-bezier(.4, 0, .2, 1) .05s forwards, missing .5s ease-out 1.9s forwards; }
.asm .bl-miss .ring { animation: ringflag .5s ease-out 1.9s forwards; }
.asm .bl-miss text { animation: textflag .5s ease-out 1.9s forwards; }
@keyframes ink { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }
@keyframes flag { to { stroke: var(--amber); fill: var(--amber-wash); } }
@keyframes missing { to { stroke: var(--amber); stroke-width: 1.8; fill: var(--amber-wash); } }
@keyframes ringflag { to { stroke: var(--amber); fill: var(--amber-wash); stroke-width: 1.8; } }
@keyframes textflag { to { fill: var(--amber-ink); } }

/* ---------- Home sections ---------- */
.sec { padding: 96px 0; }
.statement { font-size: clamp(24px, 2.7vw, 34px); line-height: 1.3; color: var(--ink); font-weight: 500; font-variation-settings: 'wdth' 106; letter-spacing: -.015em; max-width: 30em; text-wrap: pretty; }

.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 64px; border-top: 1.5px solid var(--ink); }
.pillar { padding: 28px 32px 0 0; }
.pillar + .pillar { padding-left: 32px; border-left: 1px solid var(--line); }
.pillar .ic { width: 44px; height: 44px; margin-bottom: 18px; color: var(--teal); }
.pillar p { margin-top: 8px; }

.glimpse { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.glimpse-copy p { margin: 16px 0 24px; max-width: 28em; }

/* A product screenshot mounted on a bolted plate */
.plate { background-color: #E7EEEE; border: 1px solid var(--line); border-radius: 12px; padding: 34px; }
.plate img { border-radius: 6px; border: 1px solid #B7C8C7; box-shadow: 0 18px 36px -24px rgba(14, 43, 46, .5); }

.trust-strip { background: var(--sheet); border-top: 1px solid var(--grid); border-bottom: 1px solid var(--grid); }
.trust-in { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 40px; padding-top: 26px; padding-bottom: 26px; }
.trust-in p { display: flex; align-items: center; gap: 12px; color: var(--ink); font-weight: 600; font-size: 17px; }
.trust-in svg { width: 24px; height: 24px; color: var(--teal); flex: none; }
.trust-in a { margin-left: auto; font-weight: 600; }

/* Dark bolted call to action */
.cta-band { padding: 96px 0; }
.cta-plate { position: relative; background-color: var(--deep); color: #CFEFEA; border-radius: 14px; padding: 64px 64px 60px; overflow: hidden; }
.cta-plate::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(153,246,228,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(153,246,228,.07) 1px, transparent 1px); background-size: 28px 28px; pointer-events: none; }
.cta-plate > * { position: relative; }
.cta-plate h2 { color: #fff; max-width: 16em; }
.cta-plate p { margin: 16px 0 30px; color: #A9D8D1; max-width: 32em; }
.cta-plate .btn:not(.btn-mint) { background: transparent; color: #fff; border-color: rgba(153,246,228,.45); }
.cta-plate .btn:not(.btn-mint):hover { border-color: #fff; }

/* ---------- Inner page header with a title block ---------- */
.phead { padding: 72px 0 64px; border-bottom: 1px solid var(--line); background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 32px 32px; background-position: -1px -1px; position: relative; }
.phead::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--paper) 35%, rgba(247,249,249,.6)); pointer-events: none; }
.phead-in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: end; }
.phead .lede { margin-top: 20px; }
.tblk { display: grid; grid-template-columns: 1fr 1fr; border: 1.5px solid var(--ink); background: var(--sheet); font-size: 14px; color: var(--ink); }
.tblk > div { padding: 8px 12px; border-bottom: 1px solid var(--ink); }
.tblk > div:nth-child(odd) { border-right: 1px solid var(--ink); }
.tblk > .wide { grid-column: 1 / -1; border-right: 0; }
.tblk > div:nth-last-child(-n+2) { border-bottom: 0; }
.tblk span { display: block; font-size: 11.5px; color: var(--muted); }
.tblk b { font-weight: 600; }

/* Product page: screenshots */
.shot { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; align-items: center; padding: 72px 0; }
.shot + .shot { border-top: 1px solid var(--grid); }
.shot-r { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
.shot-r .shot-copy { order: 2; }
.shot-copy p { margin-top: 14px; max-width: 26em; }
.shot .plate { padding: 28px; }

/* Product page: each screenshot is a window that slides onto its own coloured plate */
main { overflow-x: clip; }
.shot { --band: transparent; --block: var(--deep); --m1: #F3F7F7; --m2: #DCE6E5; --from: 120px; }
.shot-a { --band: var(--paper); --block: #0A3A36; --m1: #F2F7F6; --m2: #D6E4E2; }
.shot-b { --band: #FBF3E4; --block: #E9A53A; --m1: #FBF6EE; --m2: #EADFCB; --from: -120px; }
.shot-c { --band: #EDF2FA; --block: #3F6FC2; --m1: #F4F7FC; --m2: #D7E0EE; }
.shots .shot { padding: 104px 0; border-top: 0; background: var(--band); box-shadow: 0 0 0 100vmax var(--band); clip-path: inset(0 -100vmax); }

.shot-media { position: relative; }
.shot-block { position: absolute; inset: 0; border-radius: 14px; background: var(--block); transform: translate(22px, 22px); }
.shot-r .shot-block { transform: translate(-22px, 22px); }
.shot-media .plate { position: relative; }

.frame-bar { display: flex; align-items: center; gap: 12px; height: 30px; padding: 0 12px; background: #E9EEEE; border-bottom: 1px solid var(--line); font-size: 12px; font-weight: 600; color: var(--muted); }
.frame-bar .dots { display: flex; gap: 5px; }
.frame-bar .dots i { width: 9px; height: 9px; border-radius: 50%; background: #C3D2D1; }

/* The slide: block first, then the plate, then the window settles into it */
.js .shot .shot-block, .js .shot .plate, .js .shot .frame, .js .shot .shot-copy { transition: transform 1s cubic-bezier(.16, 1, .3, 1), opacity .7s ease; }
.js .shot:not(.in-view) .shot-block { opacity: 0; transform: translate(calc(var(--from) * 1.8), 22px); }
.js .shot:not(.in-view) .plate { opacity: 0; transform: translateX(var(--from)); }
.js .shot:not(.in-view) .frame { transform: translateY(36px); }
.js .shot:not(.in-view) .shot-copy { opacity: 0; transform: translateX(calc(var(--from) * -.35)); }
.js .shot .plate { transition-delay: .08s; }
.js .shot .frame { transition-delay: .3s; }
.js .shot .shot-copy { transition-delay: .18s; }

/* How it works: four steps */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: s; }
.step { position: relative; padding: 0 28px 0 0; counter-increment: s; }
.step .ic { position: relative; z-index: 1; width: 64px; height: 64px; display: grid; place-items: center; background: var(--sheet); border: 1.5px solid var(--ink); border-radius: 12px; color: var(--teal); margin-bottom: 26px; }
.step .ic svg { width: 32px; height: 32px; }
.step::after { content: ""; position: absolute; top: 32px; left: 64px; right: 0; border-top: 1.5px dashed var(--line); }
.step:last-child::after { display: none; }
.step h3::before { content: counter(s) ". "; color: var(--muted); font-weight: 500; }
.step p { margin-top: 8px; font-size: 16px; }
.note-box { margin-top: 72px; display: flex; gap: 20px; align-items: flex-start; padding: 26px 30px 26px 56px; border: 1px solid var(--line); border-radius: 10px; background-image: url("../img/screw.svg"), repeating-linear-gradient(0deg, rgba(255, 255, 255, .28) 0 1px, rgba(14, 43, 46, .022) 1px 3px), linear-gradient(160deg, #F3F7F7 0%, #DCE6E5 48%, #F3F7F7 72%, #DCE6E5 100%); background-repeat: no-repeat, repeat, no-repeat; background-size: 18px, auto, 100% 100%; background-position: left 22px top 30px, 0 0, 0 0; max-width: 760px; }
.note-box p { color: var(--ink); }

/* Trust page: promises */
.promises { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.promise { position: relative; background-color: var(--sheet); border: 1px solid var(--line); border-radius: 12px; padding: 40px 40px 36px; }
.promise .ic { width: 40px; height: 40px; color: var(--teal); margin-bottom: 20px; }
.promise h3 { font-size: 23px; }
.promise p { margin-top: 10px; max-width: 30em; }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: start; }
.expect { margin-top: 32px; border-top: 1px solid var(--line); }
.expect li { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.expect svg { width: 22px; height: 22px; flex: none; color: var(--teal); margin-top: 2px; }
.form { background-color: var(--sheet); border: 1.5px solid var(--ink); border-radius: 4px; padding: 44px 40px 36px; display: grid; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 600; color: var(--ink); font-size: 15px; }
.opt { font-weight: 400; color: var(--muted); font-size: 14px; }
.field input, .field textarea { padding: 0 14px; font: inherit; font-size: 16px; color: var(--ink); border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.field input { height: 46px; }
.field textarea { padding: 12px 14px; min-height: 110px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--teal-2); outline-offset: 0; border-color: var(--teal-2); }
.field input[aria-invalid="true"] { border-color: #C2410C; background: #FEF3EE; }
.err { color: #C2410C; font-size: 14px; }
.err:empty { display: none; }
.form .btn { justify-self: start; margin-top: 4px; }
.form-ok { margin-top: 16px; padding: 12px 14px; background: var(--teal-wash); border-left: 3px solid var(--teal); color: var(--ink); }

/* Footer: drawing title block with the sheet index */
.foot { padding: 0 0 40px; }
.tblock { display: grid; grid-template-columns: 240px minmax(0, 1fr) 150px; border: 1.5px solid var(--ink); background: var(--sheet); }
.tblock > * { padding: 16px 18px; border-right: 1px solid var(--ink); }
.tblock > :last-child { border-right: 0; }
.tb-brand { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; background: var(--deep); color: #A9D8D1; font-size: 13px; }
.tb-brand strong { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 750; font-size: 22px; font-variation-settings: 'wdth' 112; letter-spacing: -.02em; }
.tb-label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.sheets { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); }
.sheets a { display: flex; flex-direction: column; gap: 2px; padding: 8px 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 14px; }
.sheets a + a { border-left: 1px solid var(--line); }
.sheets a span { font: 500 11px var(--mono); color: var(--muted); }
.sheets a:hover { background: var(--panel); }
.sheets a[aria-current="page"] { background: var(--teal-wash); box-shadow: inset 0 -2px var(--teal); }
.tb-meta { font-size: 14px; color: var(--ink); }
.tb-meta div + div { margin-top: 10px; }
.tb-meta span { display: block; font-size: 12px; color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .step:nth-child(2)::after { display: none; }
}
@media (max-width: 960px) {
  :root { --gut: 20px; }
  .hero { padding: 40px 0 56px; }
  .hero-top, .glimpse, .shot, .phead-in, .contact { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .hero-top { margin-bottom: 36px; }
  .shot-r .shot-copy { order: 0; }
  .shot { padding: 56px 0; }
  .phead-in .tblk { max-width: 340px; }
  .sec, .cta-band { padding: 72px 0; }
  .pillars { grid-template-columns: minmax(0, 1fr); }
  .pillar, .pillar + .pillar { padding: 24px 0; border-left: 0; }
  .pillar + .pillar { border-top: 1px solid var(--line); }
  .promises { grid-template-columns: minmax(0, 1fr); }
  .tblock { grid-template-columns: minmax(0, 1fr); }
  .tblock > * { border-right: 0; border-bottom: 1px solid var(--ink); }
  .tblock > :last-child { border-bottom: 0; }
}
@media (max-width: 820px) {
  .story { grid-template-columns: minmax(0, 1fr); }
  .wire { display: none; }
  .story-mid, .bl-wrap { position: relative; margin-top: 56px; }
  .story-mid::before, .bl-wrap::before { content: ""; position: absolute; left: 50%; top: -48px; height: 36px; border-left: 2px dashed var(--teal-2); }
  .story-mid::after, .bl-wrap::after { content: ""; position: absolute; left: calc(50% - 6px); top: -16px; border: 6px solid transparent; border-top-color: var(--teal-2); }
  .nav-toggle { display: inline-flex; align-items: center; height: 38px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--sheet); color: var(--ink); font: 600 15px var(--sans); cursor: pointer; }
  .nav-links { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 16px; background: var(--paper); border-bottom: 1px solid var(--line); }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { height: auto; padding: 14px 4px; border-bottom: 1px solid var(--grid); font-size: 16px; }
  .nav-links a:not(.btn)[aria-current="page"]::after { left: 0; right: auto; top: 12px; bottom: 12px; width: 3px; height: auto; }
  .nav-links a:not(.btn)[aria-current="page"] { padding-left: 14px; }
  .nav-links .btn { margin: 14px 0 0; height: 46px; }
}
@media (max-width: 640px) {
  .bl-stats b { font-size: 17px; }
  .bl-stats > div { padding: 8px 10px; }
  .cad-vp .vcube { width: 34px; }
  .shots .shot { padding: 64px 0; }
  .shots .shot-a, .shots .shot-c { --from: 56px; }
  .shots .shot-b { --from: -56px; }
  .shot-block { transform: translate(12px, 12px); }
  .shot-r .shot-block { transform: translate(-12px, 12px); }
  :root { --gut: 16px; }
  body { font-size: 16px; }
  .lede { font-size: 17px; }
  .cta-row .btn { flex: 1 1 auto; }
  .plate, .shot .plate { padding: 22px; }
  .cta-plate { padding: 48px 26px 44px; }
  .steps { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .step { display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 20px; padding: 0 0 32px; }
  .step .ic { grid-row: span 2; margin: 0; }
  .step::after, .step:nth-child(2)::after { display: block; top: 64px; bottom: 0; left: 32px; right: auto; border-top: 0; border-left: 1.5px dashed var(--line); }
  .step:last-child::after { display: none; }
  .note-box { padding: 22px 20px 22px 50px; background-position: left 18px top 26px; }
  .promise { padding: 32px 24px 28px; }
  .form { padding: 36px 22px 26px; }
  .form .btn { justify-self: stretch; }
  .sheets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sheets a + a { border-left: 0; }
  .sheets a { border-bottom: 1px solid var(--line); }
  .sheets a:nth-child(even) { border-left: 1px solid var(--line); }
  .trust-in a { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition: none !important; }
}
