/* Backhaul Consulting Inc. - site styles, direction "Trunk line" (owner pick, 2026-10-21).
   One line is the spine of every page. Light first: a precise off-white sheet, ink type, navy
   linework, and the brand purple only where the line arrives somewhere. Dark is the same drawing
   at night. Every colour below is a token; nothing downstream names a raw colour. */

/* One variable file for weights 400 to 700 (47 KB) in place of four static files (100 KB). Panel review 2026-11-14. */
@font-face { font-family: "Schibsted Grotesk"; font-weight: 400 700; font-style: normal; font-display: swap; src: url("/assets/schibsted-grotesk-var.4c8b93f431.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/ibm-plex-mono-400.08949f728d.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-style: normal; font-display: swap; src: url("/assets/ibm-plex-mono-500.01d2854474.woff2") format("woff2"); }

:root {
  --bg: #f6f6f3;
  --surface: #ffffff;
  --field: #ececE8;
  --ink: #0d1020;
  --ink2: #454b61;
  --line: #26305f;
  --track: #b3b8c9;
  --accent: #5a2d91;
  --on-accent: #ffffff;
  --hair: #dadce3;
  --hair2: #e8e9ee;
  --ok-bg: #e4f1ea; --ok: #1d5c42;
  --warn-bg: #fbeeda; --warn: #7a4a00;
  --wait-bg: #e8eaf4; --wait: #26305f;
  --mark-a: #26305f; --mark-b: #5a2d91;
  --grid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cpath d='M24 0V120M48 0V120M72 0V120M96 0V120M0 24H120M0 48H120M0 72H120M0 96H120' stroke='%2326305f' stroke-opacity='.045' fill='none'/%3E%3Cpath d='M0 0V120M0 0H120' stroke='%2326305f' stroke-opacity='.085' fill='none'/%3E%3C/svg%3E");

  --font: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --g: 16px;
  --gap: 24px;
  --lane: 28px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #090c16; --surface: #10142a; --field: #0d1122;
    --ink: #eaecf4; --ink2: #a6acc2; --line: #9ba7e8; --track: #343b5c;
    --accent: #b994f5; --on-accent: #160a26;
    --hair: #262c48; --hair2: #1b2038;
    --ok-bg: #12301f; --ok: #8fd8b0; --warn-bg: #352409; --warn: #f2c27a; --wait-bg: #1c2245; --wait: #c3cbf5;
    --mark-a: #c3cbf5; --mark-b: #b994f5;
    --grid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cpath d='M24 0V120M48 0V120M72 0V120M96 0V120M0 24H120M0 48H120M0 72H120M0 96H120' stroke='%239ba7e8' stroke-opacity='.05' fill='none'/%3E%3Cpath d='M0 0V120M0 0H120' stroke='%239ba7e8' stroke-opacity='.1' fill='none'/%3E%3C/svg%3E");
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #090c16; --surface: #10142a; --field: #0d1122;
  --ink: #eaecf4; --ink2: #a6acc2; --line: #9ba7e8; --track: #343b5c;
  --accent: #b994f5; --on-accent: #160a26;
  --hair: #262c48; --hair2: #1b2038;
  --ok-bg: #12301f; --ok: #8fd8b0; --warn-bg: #352409; --warn: #f2c27a; --wait-bg: #1c2245; --wait: #c3cbf5;
  --mark-a: #c3cbf5; --mark-b: #b994f5;
  --grid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cpath d='M24 0V120M48 0V120M72 0V120M96 0V120M0 24H120M0 48H120M0 72H120M0 96H120' stroke='%239ba7e8' stroke-opacity='.05' fill='none'/%3E%3Cpath d='M0 0V120M0 0H120' stroke='%239ba7e8' stroke-opacity='.1' fill='none'/%3E%3C/svg%3E");
  color-scheme: dark;
}

@media (min-width: 600px) { :root { --g: 28px; --lane: 32px; } }
@media (min-width: 900px) { :root { --g: 40px; --lane: 0px; } }
@media (min-width: 1280px) { :root { --g: 48px; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.55 var(--font); font-kerning: normal;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
img, video, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: var(--bg); padding: 12px 16px; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { max-width: 1440px; margin-inline: auto; padding-inline: var(--g); position: relative; z-index: 2; }
.lane { padding-left: calc(var(--g) + var(--lane)); }
.g12 { display: grid; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) {
  .g12 { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
  .F { grid-column: 1 / -1; }
  .L { grid-column: 1 / 5; }
  .R { grid-column: 6 / -1; }
}
.d { display: none; }
@media (min-width: 900px) { .d { display: block; } .m { display: none; } }

/* the zero-size points the line is routed through (see app.js) */
.wp { position: absolute; width: 0; height: 0; pointer-events: none; }
.ruler { height: 0; padding-top: 0; padding-bottom: 0; }
.ruler .spine-x { display: block; height: 0; position: absolute; left: calc(var(--g) + 6px); top: 0; }
@media (min-width: 600px) { .ruler .spine-x { left: calc(var(--g) + 4px); } }
@media (min-width: 900px) { .ruler .spine-x { position: static; grid-column: 5; } }

/* ---------- type ---------- */
.d1 { font-size: clamp(34px, 9.1vw, 136px); line-height: .94; letter-spacing: -.045em; font-weight: 700; text-wrap: balance; }
.d2 { font-size: clamp(30px, 4.6vw, 68px); line-height: 1; letter-spacing: -.035em; font-weight: 700; text-wrap: balance; }
/* --d3: the .d3 heading size, also used to put a trunk-line node on the middle of its first line (line-height 1.15) */
:root { --d3: clamp(22px, 1.9vw, 28px); }
.d3 { font-size: var(--d3); line-height: 1.15; letter-spacing: -.018em; font-weight: 600; text-wrap: balance; }
.lead { font-size: clamp(18px, 1.45vw, 21px); line-height: 1.5; max-width: 34em; }
.ref, .note {
  font-family: var(--mono); font-size: 13px; line-height: 1.5; color: var(--ink2); letter-spacing: 0; font-weight: 400;
}
.note { font-size: 13px; max-width: 30ch; padding-top: .6em; }
.mut { color: var(--ink2); }
.num { font-variant-numeric: tabular-nums; text-align: right; }

/* ---------- buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px;
  background: var(--ink); color: var(--bg); text-decoration: none; font-weight: 600; font-size: 17px;
  border: 1.5px solid var(--ink); border-radius: 4px;
  transition: background-color .25s var(--ease), color .25s var(--ease), transform .2s var(--ease), border-color .25s;
}
@media (hover: hover) and (pointer: fine) { .btn:hover { background: var(--line); border-color: var(--line); } }
.btn:active { transform: translateY(1px); }
.btn-ghost { background: transparent; color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .btn-ghost:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); } }
.tlink { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px; text-decoration-color: var(--track); transition: text-decoration-color .2s, color .2s; }
@media (hover: hover) and (pointer: fine) { .tlink:hover { text-decoration-color: var(--accent); color: var(--accent); } }

/* ---------- header ---------- */
.bar { position: relative; z-index: 5; }
.bar-in { display: flex; align-items: center; gap: 28px; height: 76px; }
.lockup { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-height: 44px; }
.lockup .mark { width: 34px; height: 34px; }
.lockup b { font-weight: 700; letter-spacing: .14em; font-size: 15px; }
.mark .mark-branch { stroke: var(--mark-a); }
.mark .mark-trunk { stroke: var(--mark-b); }
.nav { display: none; gap: 28px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 500; font-size: 16px; min-height: 44px; display: inline-flex; align-items: center; color: var(--ink2); transition: color .2s; }
@media (hover: hover) and (pointer: fine) { .nav a:hover { color: var(--ink); } }
.theme { margin-left: auto; background: none; border: 0; min-height: 44px; min-width: 44px; padding: 0 4px; cursor: pointer; font-family: var(--mono); font-size: 13px; color: var(--ink2); }
@media (hover: hover) and (pointer: fine) { .theme:hover { color: var(--ink); } }
.theme .theme-d { display: none; }
:root[data-theme="dark"] .theme .theme-l { display: none; }
:root[data-theme="dark"] .theme .theme-d { display: inline; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme .theme-l { display: none; }
  :root:not([data-theme="light"]) .theme .theme-d { display: inline; }
}
.btn-nav { min-height: 44px; padding: 0 16px; font-size: 15px; }
@media (min-width: 900px) { .nav { display: flex; } .theme { margin-left: 0; } }
@media (max-width: 420px) { .bar-in { gap: 10px; } .lockup b { font-size: 14px; } }

/* ---------- sections ---------- */
/* the sheet grid runs under the whole page, top to bottom, on every page */
main { position: relative; background-image: var(--grid); background-position: center top; }
.sec { position: relative; padding-block: 112px; }
@media (min-width: 900px) { .sec { padding-block: 136px; } }

/* the line itself (built in app.js) */
.line { position: absolute; left: 0; top: 0; pointer-events: none; z-index: 1; overflow: visible; }
.line path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.line .track path { stroke: var(--track); stroke-width: 1.25; stroke-dasharray: .1 6; }
.line .ink path { stroke: var(--line); stroke-width: 1.5; }
.line .node { fill: var(--bg); stroke: var(--line); stroke-width: 1.5; transition: fill .45s var(--ease), stroke .45s var(--ease), r .45s var(--ease); }
.line .node.on { fill: var(--line); }
.line .node.accent.on { fill: var(--accent); stroke: var(--accent); }
.line .start { fill: var(--bg); stroke: var(--line); stroke-width: 1.5; }
.line .ink path.box { stroke: var(--accent); }
.line .tip { fill: var(--line); }
.line .tip-ring { fill: none; stroke: var(--line); stroke-opacity: .35; stroke-width: 1; }

/* ---------- 1. hero ---------- */
.hero { padding: 40px 0 120px; }
.hero h1 { margin-top: 24px; }
.hero-copy { margin-top: 32px; }
.hero-copy .lead { font-size: clamp(18px, 1.45vw, 20px); }
.acts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 28px; }
.fig { margin-top: 56px; }
@media (min-width: 900px) {
  .hero { padding: 48px 0 64px; }
  .hero h1 { margin-top: 56px; }
  .hero-copy { grid-column: 1 / 5; margin-top: 64px; }
  .fig { grid-column: 5 / -1; margin-top: 64px; }
}

.fig-in { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 10px; row-gap: 0; }
.chip { position: relative; background: var(--surface); border: 1px solid var(--hair); border-radius: 6px; padding: 12px 10px 12px; display: flex; flex-direction: column; gap: 10px; }
.chip > .ref { position: absolute; top: -10px; left: 8px; background: var(--bg); padding: 0 5px; font-size: 13px; line-height: 20px; }
.chip p { display: flex; flex-direction: column; gap: 2px; font-size: 13.5px; line-height: 1.3; }
.chip p b { font-weight: 600; }
.chip p span { color: var(--ink2); font-size: 12.5px; }
.chip .wp.m { left: 50%; top: calc(100% + 9px); }
.chip .wp.d { right: -12px; top: 50%; }

.paper { position: relative; height: 54px; width: 46px; }
.paper i { position: absolute; width: 36px; height: 46px; border: 1px solid var(--hair); background: var(--surface); border-radius: 2px; }
.paper i:nth-child(1) { left: 8px; top: 0; transform: rotate(6deg); }
.paper i:nth-child(2) { left: 4px; top: 3px; transform: rotate(-4deg); }
.paper i:nth-child(3) { left: 0; top: 7px; }
.sheet { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--hair); border-radius: 2px; font-family: var(--mono); font-size: 9.5px; line-height: 1; color: var(--ink2); }
.sheet i { font-style: normal; padding: 4px 4px; border-right: 1px solid var(--hair); border-bottom: 1px solid var(--hair); white-space: nowrap; overflow: hidden; min-height: 17px; }
.sheet i:nth-child(2n) { border-right: 0; }
.sheet i:nth-last-child(-n+2) { border-bottom: 0; }
.sheet i:nth-child(2) { color: var(--warn); }
/* 320 px phones: the hero sheet is too narrow for two columns; show the labels only. */
@media (max-width: 359px) { .sheet { grid-template-columns: 1fr; } .sheet i { border-right: 0; } .sheet i:nth-child(2n) { display: none; } }
.memo { font-size: 11.5px; line-height: 1.35; color: var(--ink2); display: grid; gap: 3px; }
.memo li { padding-left: 14px; position: relative; }
.memo li::before { content: ""; position: absolute; left: 0; top: .35em; width: 8px; height: 8px; border: 1px solid var(--track); border-radius: 2px; }
.memo li:first-child::before { background: var(--track); }

.fig .wp.m.merge { position: relative; grid-column: 2; grid-row: 2; justify-self: center; height: 0; margin-top: 64px; }
.tool { position: relative; grid-column: 1 / -1; grid-row: 3; margin-top: 52px; }
.tool .wp.m { left: 50%; top: 0; }
.tool > .wp:not(.d):not(.m) { left: 50%; top: 100%; }

@media (max-width: 899px) {
  .chip p span { display: none; }
  .chip p { font-size: 13px; }
  .sheet { font-size: 8.5px; }
}

@media (min-width: 900px) {
  /* three rows of one height, so the middle chip sits exactly at the merge and the outer two mirror it */
  .fig-in { grid-template-columns: 300px minmax(80px, 1fr) minmax(250px, 300px); grid-template-rows: repeat(3, 1fr); row-gap: 18px; column-gap: 0; }
  .chip { grid-column: 1; flex-direction: row; align-items: center; gap: 14px; padding: 14px 16px 14px 14px; min-height: 92px; }
  .chip-a { grid-row: 1; } .chip-b { grid-row: 2; } .chip-c { grid-row: 3; }
  .chip p { font-size: 15px; }
  .sheet { width: 112px; flex: none; }
  .memo { width: 112px; flex: none; }
  .paper { flex: none; }
  .fig .wp.d.merge { left: calc(300px + (100% - 300px - min(300px, 30%)) * .6); top: 50%; }
  .tool { grid-column: 3; grid-row: 1 / 4; align-self: center; margin-top: 0; }
  .tool .wp.d { left: 0; top: 50%; }
}

/* product screen fragments: a real interface, so it keeps its own borders (data-ui) */
[data-ui] {
  background: var(--surface); border: 1px solid var(--hair); border-radius: 8px; overflow: hidden;
  font-size: 14px; line-height: 1.4; color: var(--ink);
}
.ui-top { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--hair2); }
.ui-top b { font-weight: 600; }
.ui-top .crumb { color: var(--ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.tag { margin-left: auto; font-family: var(--mono); font-size: 11px; color: var(--ink2); border: 1px solid var(--hair); border-radius: 3px; padding: 1px 6px; white-space: nowrap; }
.ui-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 14px; border-bottom: 1px solid var(--hair2); }
.ui-list li:last-child { border-bottom: 0; }
.ui-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; flex-wrap: wrap; }
.ui-pad { padding: 14px; }
.pill { display: inline-block; font-size: 12px; font-weight: 600; line-height: 1; padding: 5px 8px; border-radius: 3px; white-space: nowrap; }
.pill.ok { background: var(--ok-bg); color: var(--ok); }
.pill.warn { background: var(--warn-bg); color: var(--warn); }
.pill.wait { background: var(--wait-bg); color: var(--wait); }
.pages { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; padding: 14px; }
.pages span { aspect-ratio: 3 / 4; border: 1px solid var(--hair); border-radius: 2px; background: var(--bg); position: relative; }
.pages span::after { content: ""; position: absolute; inset: 22% 18% auto; height: 26%; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.pages .cut { border-left: 2px solid var(--line); }
.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.tbl th { text-align: left; font-weight: 500; color: var(--ink2); font-size: 12.5px; padding: 8px 14px; border-bottom: 1px solid var(--hair2); }
.tbl td { padding: 9px 14px; border-bottom: 1px solid var(--hair2); white-space: nowrap; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tr.sel td { background: var(--wait-bg); }
.search { display: flex; align-items: center; gap: 8px; border: 1px solid var(--hair); border-radius: 6px; padding: 9px 12px; color: var(--ink); }
.search svg { color: var(--ink2); }
.split { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 12px; }
.hit { display: flex; flex-direction: column; padding: 9px 12px; border-radius: 5px; }
.hit span { color: var(--ink2); font-size: 13px; }
.hit b { font-weight: 600; }
.hit.on { background: var(--wait-bg); }
.doc { display: none; border: 1px solid var(--hair); border-radius: 3px; padding: 14px; font-size: 11.5px; background: var(--bg); }
.doc .dh { display: flex; justify-content: space-between; margin-bottom: 10px; }
.doc .r { text-align: right; }
.doc .ds { margin-bottom: 8px; }
.doc mark { background: var(--warn-bg); color: inherit; }
.doc table { width: 100%; border-collapse: collapse; }
.doc td { padding: 3px 0; border-bottom: 1px solid var(--hair2); }
.doc td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.doc .tot td { font-weight: 700; border-bottom: 0; }
@media (min-width: 600px) { .split { grid-template-columns: 1.1fr 1fr; } .doc { display: block; } }
.banner { padding: 10px 14px; background: var(--wait-bg); color: var(--wait); font-weight: 600; font-size: 13.5px; }
.meta { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; padding: 14px; border-bottom: 1px solid var(--hair2); }
.meta dt { color: var(--ink2); }
.meta dd { overflow-wrap: anywhere; }
.meta .num { text-align: left; }
.att { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 14px 0; }
.att > span { font-family: var(--mono); font-size: 12px; border: 1px solid var(--hair); border-radius: 4px; padding: 5px 8px; }
.btns { display: flex; gap: 8px; }
.b1, .b2 { font-size: 13px; font-weight: 600; padding: 7px 12px; border-radius: 4px; }
.b1 { background: var(--accent); color: var(--on-accent); }
.b2 { border: 1px solid var(--hair); }
.log li { flex-wrap: wrap; }
@media (max-width: 599px) { .hide { display: none; } .tbl th, .tbl td { padding-inline: 10px; } }
/* 320 px phones: the three-column sample tables need tighter cells to fit their box. */
@media (max-width: 359px) { .tbl th, .tbl td { padding-inline: 6px; } .tbl .pill { padding-inline: 6px; } }

/* ---------- 2. who ---------- */
.who .wp.who-in { top: 24px; }
.who-h { max-width: 12em; }
.who-fit { margin-top: 16px; max-width: 34em; color: var(--ink2); }
.who-cards { position: relative; display: grid; gap: 20px; margin-top: 48px; }
@media (min-width: 900px) {
  .who-h { grid-column: 1 / 7; }
  .who-fit { grid-column: 1 / 8; }
  .who-cards { grid-template-columns: 1fr 1fr; column-gap: 136px; margin-top: 120px; }
  .who-cards .who-top { left: 50%; top: -60px; }
  .who-cards .who-bot { left: 50%; top: calc(100% + 76px); }
}
.flip { display: grid; perspective: 1400px; min-height: 290px; }
/* the hidden face is switched off at the half-way point, so no browser can show it mirrored */
.face {
  grid-area: 1 / 1; display: flex; flex-direction: column; gap: 14px; padding: 28px 24px 18px;
  background: var(--surface); border: 0; border-radius: 8px;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  transition: transform .7s var(--ease), visibility 0s linear .35s;
}
.face.back { visibility: hidden; }
.flip.on .front { visibility: hidden; }
.flip.on .back { visibility: visible; }
.face .d3 { font-size: clamp(26px, 2.6vw, 38px); letter-spacing: -.025em; }
.face p { max-width: 30em; }
.face .big { font-size: clamp(22px, 2vw, 28px); line-height: 1.25; letter-spacing: -.015em; font-weight: 500; }
.flip-btn { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 2px; background: none; border: 0; cursor: pointer; font-weight: 600; }
.flip-btn svg { transition: transform .5s var(--ease); }
@media (hover: hover) and (pointer: fine) { .flip-btn:hover svg { transform: rotate(-120deg); } }
.face.back { transform: rotateY(180deg); background: var(--ink); color: var(--bg); border-color: var(--ink); }
.face.back .ref { color: var(--track); }
.face.back .tlink { text-decoration-color: var(--track); }
.flip.on .front { transform: rotateY(-180deg); }
.flip.on .back { transform: rotateY(0); }
html:not(.js) .flip { display: flex; flex-direction: column; gap: 12px; }
html:not(.js) .face.back { transform: none; visibility: visible; }
html:not(.js) .flip-btn { display: none; }
@media (min-width: 900px) { .face { padding: 36px 36px 22px; } .flip { min-height: 330px; } }

/* ---------- 3. what we do ---------- */
.what { padding-bottom: 96px; }
.what .note { margin-bottom: 20px; }
.steps { position: relative; display: grid; gap: 64px; margin-top: 96px; }
.step { position: relative; display: flex; flex-direction: column; gap: 10px; }
/* --st: the step heading size; the trunk-line node of a step sits on the middle of its first line (line-height 1.15) */
.step { --st: clamp(30px, 3.2vw, 46px); }
.step .d3 { font-size: var(--st); letter-spacing: -.03em; font-weight: 700; }
.step .offer { font-weight: 600; color: var(--line); }
.spec { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--hair); font-size: 15px; }
.spec dt { font-family: var(--mono); font-size: 13px; color: var(--ink2); padding-top: 3px; }
.steps .wp.m.nd { top: calc(var(--st) * .575); }
.steps .split { top: -56px; }
.steps .join { top: calc(100% + 64px); }
@media (min-width: 900px) {
  .what { padding-bottom: 96px; }
  .who { padding-top: 120px; }
  .what .note { margin-bottom: 0; }
  .steps { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); margin-top: 176px; }
  .step { padding-left: 34px; padding-bottom: 8px; }
  .st1 { grid-column: 1 / 5; }
  .st2 { grid-column: 5 / 9; }
  .st3 { grid-column: 9 / -1; }
  .steps .split { top: -92px; }
  .steps .sp1 { left: 0; top: -92px; }
  .steps .sp3 { left: calc((100% + var(--gap)) * 8 / 12); top: -92px; }
  .step .wp.d.nd { left: 0; top: calc(var(--st) * .575); }
  /* the three branches leave the columns at one height, below the lowest column, so they join as mirror images */
  .steps .nb { top: calc(100% + 28px); }
  .steps .nb1 { left: 0; }
  .steps .nb3 { left: calc((100% + var(--gap)) * 8 / 12); }
  .steps .join { top: calc(100% + 156px); }
}

/* ---------- 4. proof ---------- */
.proof .head { display: grid; gap: 24px; }
.proof .note { margin-bottom: 20px; }
.stages { display: grid; gap: 88px; margin-top: 88px; }
.stage { position: relative; display: grid; gap: 24px; }
.stage .wp, .film-row .wp, .case .wp { top: 10px; }
.say { display: flex; flex-direction: column; gap: 10px; }
.say p { color: var(--ink); max-width: 32em; }
.say .ref, .case-say .ref { color: var(--line); font-weight: 500; }
.leader { display: none; }

.film-row { position: relative; display: grid; gap: 16px; margin-top: 112px; }
.film { position: relative; margin: 0; aspect-ratio: 16 / 9; background: var(--field) url("/assets/film-poster-1600.1bcc51b335.webp") center / cover no-repeat; border-radius: 8px; overflow: hidden; border: 1px solid var(--hair); }
.film video { width: 100%; height: 100%; object-fit: cover; }
.cases { display: grid; gap: 112px; margin-top: 136px; }
.case { position: relative; display: grid; gap: 28px; }
.case-say { display: flex; flex-direction: column; gap: 14px; }
.facts { display: grid; gap: 12px; }
.facts li { padding-left: 18px; position: relative; }
.facts li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid var(--line); }
.dim { position: relative; display: grid; align-content: start; justify-items: start; padding-top: 30px; }
.dim-line { position: absolute; left: 0; right: 0; top: 8px; height: 0; border-top: 1px solid var(--line); }
.dim-line::before, .dim-line::after { content: ""; position: absolute; top: -8px; height: 16px; border-left: 1px solid var(--line); }
.dim-line::before { left: 0; } .dim-line::after { right: 0; }
.huge { font-size: clamp(88px, 15vw, 232px); line-height: .82; letter-spacing: -.03em; font-weight: 700; font-variant-numeric: tabular-nums; }
.dim-cap { font-family: var(--mono); font-size: 13px; color: var(--ink2); margin-top: 18px; }
.tabs-ui { display: flex; gap: 2px; padding: 8px 10px 0; border-bottom: 1px solid var(--hair2); font-size: 13px; color: var(--ink2); overflow: hidden; }
.tabs-ui span { padding: 6px 10px 8px; white-space: nowrap; }
@media (max-width: 359px) { .tabs-ui { padding-inline: 6px; } .tabs-ui span { padding-inline: 6px; } }
.tabs-ui .on { color: var(--ink); border-bottom: 2px solid var(--line); padding-bottom: 6px; font-weight: 600; }
.foot-ui { border-top: 1px solid var(--hair2); font-size: 13px; }
.digest { margin: 0 14px 14px; padding: 12px 14px; border-radius: 6px; background: var(--wait-bg); display: grid; gap: 4px; font-size: 13.5px; }
.digest .src { font-family: var(--mono); font-size: 12px; color: var(--ink2); }
@media (min-width: 900px) {
  .proof .note { margin-bottom: 0; }
  .proof .head { gap: 28px; }
  .stages { gap: 0; margin-top: 136px; }
  .stage { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); padding-bottom: 104px; }
  .stage:last-child { padding-bottom: 0; }
  .say { grid-column: 1 / 5; grid-row: 1; padding-right: 8px; }
  .leader { display: block; grid-column: 5 / 6; grid-row: 1; align-self: start; margin-top: 10px; margin-right: calc(-1 * var(--gap)); height: 0; border-top: 1px dashed var(--line); transform-origin: left center; }
  .stage .shot { grid-column: 6 / -1; grid-row: 1; align-self: start; }
  .stage .shot { max-width: 820px; }
  .film-row { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); margin-top: 120px; }
  .film-note { grid-column: 1 / 5; }
  .film { grid-column: 6 / -1; }
  .cases { gap: 144px; margin-top: 152px; }
  .case { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
  .case-say { grid-column: 1 / 5; padding-right: 8px; }
  .dim, .case .shot, .case .shots2 { grid-column: 6 / -1; }
  .dim { justify-self: start; }
}

/* ---------- 5. infrastructure ---------- */
.infra { background: var(--field); }
.infra .wrap > .wp { top: 14px; }
.infra .note { margin-bottom: 20px; }
.infra-list { display: grid; gap: 28px; margin: 48px 0 24px; }
.infra-list li { display: flex; flex-direction: column; gap: 6px; padding-top: 16px; border-top: 1.5px solid var(--line); }
.infra-list b { font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.infra-list span { color: var(--ink2); }
@media (min-width: 600px) { .infra-list { grid-template-columns: 1fr 1fr; column-gap: 40px; } }
@media (min-width: 900px) { .infra .note { margin-bottom: 0; } .infra-list { margin-top: 72px; row-gap: 48px; } }

/* ---------- 6. why ---------- */
.why .note { margin-bottom: 20px; }
.reasons { margin-top: 48px; display: grid; }
.reasons li { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 8px; padding: 22px 0; }
.reasons li .wp { top: 34px; }
.reasons .ref { padding-top: .5em; color: var(--line); font-weight: 500; }
.reasons p { font-size: clamp(21px, 2.1vw, 30px); line-height: 1.25; letter-spacing: -.018em; font-weight: 500; max-width: 26em; transition: color .5s var(--ease); }
/* a reason is greyed only where the line will reach it: a page without the line shows it in ink */
.js .reasons li:not(.is-reached):has(> .wp) p { color: var(--ink2); }
@media (min-width: 900px) { .why .note { margin-bottom: 0; } .reasons { margin-top: 64px; } .reasons li { padding: 26px 0; } .reasons li .wp { top: 42px; } }

/* ---------- 7. close ---------- */
.close { padding-bottom: 200px; }
.close .note { margin-bottom: 20px; }
.close .d1 { font-size: clamp(36px, 6vw, 96px); }
.close .lead { margin-top: 24px; }
.cta-act { position: relative; margin-top: 48px; }
.cta-act .wp:first-child { top: 50%; }
.btn-end { min-height: 60px; padding: 0 30px; font-size: 18px; background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
@media (hover: hover) and (pointer: fine) { .btn-end:hover { background: var(--ink); border-color: var(--ink); color: var(--bg); } }
.js .btn-end:not(.is-reached) { background: transparent; border-color: transparent; color: var(--ink); }
@media (max-width: 899px) { .cta-act { padding-left: 28px; } }
@media (min-width: 900px) { .close .note { margin-bottom: 0; } .close { padding-top: 72px; padding-bottom: 240px; } .cta-act { margin-top: 64px; } }

/* ---------- footer: the drawing's title block ---------- */
.foot { position: relative; z-index: 2; padding: 56px 0 40px; background: var(--field); }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 28px; }
.lockup-lg .mark { width: 56px; height: 56px; }
.lockup-lg b { font-size: 22px; letter-spacing: .16em; }
.links { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.links a { min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; color: var(--ink2); font-weight: 500; }
@media (hover: hover) and (pointer: fine) { .links a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; } }
.title-block { display: grid; grid-template-columns: 1fr 1fr; margin-top: 48px; border: 1px solid var(--hair); }
.title-block div { padding: 10px 14px; border-right: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.title-block div:nth-child(2n) { border-right: 0; }
.title-block div:nth-last-child(-n+2) { border-bottom: 0; }
.title-block dt { font-family: var(--mono); font-size: 13px; color: var(--ink2); }
.title-block dd { font-weight: 600; font-size: 15px; }
@media (min-width: 900px) {
  .title-block { grid-template-columns: 2fr 1fr 1fr 1fr; margin-left: auto; max-width: 760px; }
  .title-block div { border-bottom: 0; }
  .title-block div:nth-child(2n) { border-right: 1px solid var(--hair); }
  .title-block div:last-child { border-right: 0; }
}

/* ---------- motion ---------- */
.js .rise { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .rise.in { opacity: 1; transform: none; }
.js .rise.r2 { transition-delay: .08s; }
.js .rise.r3 { transition-delay: .16s; }
/* a screen is drawn out of its node when the line reaches it */
.js .stage .shot, .js .case .shot, .js .film, .js .dim .huge {
  clip-path: inset(0 100% 0 0); transform: translateX(-10px);
  transition: clip-path .75s var(--ease), transform .75s var(--ease);
}
.js .is-reached .shot, .js .is-reached .film, .js .tool.is-reached, .js .is-reached .dim .huge { clip-path: inset(0 0 0 0); transform: none; }
/* elements that hold points of the line never move: only their clip and opacity change */
.js .tool { clip-path: inset(0 100% 0 0); transition: clip-path .9s var(--ease); }
.js .fade { opacity: 0; transition: opacity .9s var(--ease) .1s; }
.js .fade.in { opacity: 1; }
.line .ink path.box { transition: stroke-dashoffset 1.1s var(--ease); }
.js .btn-end { transition: background-color .5s var(--ease) .85s, border-color .5s var(--ease) .85s, color .5s var(--ease) .85s, transform .2s; }
.js .leader { transform: scaleX(0); transition: transform .5s var(--ease); }
.js .is-reached .leader { transform: scaleX(1); }
.js .dim-line { transform: scaleX(0); transform-origin: left; transition: transform 1.1s var(--ease) .15s; }
.js .is-reached .dim-line { transform: scaleX(1); }
.js .say .ref, .js .case-say .ref { transition: color .4s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rise, .js .stage .shot, .js .case .shot, .js .film, .js .tool, .js .dim .huge, .js .leader, .js .dim-line { opacity: 1; transform: none; clip-path: none; transition: none; }
  .face { transition: opacity .2s linear; }
  .flip.on .front { transform: none; opacity: 0; visibility: hidden; }
  .flip.on .back { transform: none; }
  .face.back { transform: none; opacity: 0; visibility: hidden; }
  .flip.on .face.back { opacity: 1; visibility: visible; }
  .line .node { transition: none; }
}

@media (min-width: 900px) { .stage .pages { grid-template-columns: repeat(16, 1fr); } }
@media (prefers-reduced-motion: reduce) {
  .js .tool, .js .fade { clip-path: none; opacity: 1; transition: none; }
  .line .ink path.box, .js .btn-end { transition: none; }
  .face { transition: none; }
}

/* ================= Software page ================= */
.hero-soft { padding-bottom: 72px; }
.soft-top { margin-top: 48px; row-gap: 40px; }
.soft-lead { display: grid; gap: 18px; align-content: start; }
.soft-lead p:not(.lead) { color: var(--ink2); max-width: 36em; }
/* Phones: the button comes straight after the lead, so it is in the first screen even on a short
   phone (iPhone SE, 667 px); the second paragraph follows it. check-conversion.mjs measures this. */
@media (max-width: 899px) { .hero-soft .soft-lead > p:not(.lead):not(.mail-row) { order: 2; } }
/* align-self: start keeps the block as tall as its three labels: stretched to the height of the text
   beside it, its middle (where the branches merge) would sit below the middle label */
.branches { position: relative; align-self: start; }
/* rows of one height (a label may wrap), so the outer branches mirror each other around the middle one */
.branches ul { display: grid; gap: 14px; grid-auto-rows: 1fr; }
.branches li { position: relative; font-family: var(--mono); font-size: 13px; color: var(--ink2); min-height: 22px; display: flex; align-items: center; }
.branches li .wp.m { top: 50%; }
.branches .merge { top: 50%; }
@media (min-width: 900px) {
  .soft-top { margin-top: 72px; }
  .branches { top: 6px; }
  .branches ul { gap: 26px; }
  .branches li { justify-content: flex-end; padding-right: 136px; text-align: right; }
  .branches li .wp.d { right: 112px; top: 50%; }
}

.kinds { display: grid; margin-top: 56px; }
.kinds li { position: relative; display: grid; gap: 8px; padding: 26px 0; }
.kinds li .wp { top: 34px; }
.kinds p { max-width: 36em; }
.kinds .eg { color: var(--ink2); font-size: 15px; }
@media (min-width: 900px) {
  .kinds { margin-top: 80px; }
  .kinds li { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 32px; padding: 30px 0; }
  .kinds li .wp { top: 40px; }
  .kinds h3 { grid-row: 1 / span 2; }
}

.soft-case .case { margin-top: 96px; }
.case-say.wide { gap: 18px; }
.facts.two { display: grid; gap: 12px 32px; }
.aside { max-width: 40em; }
.aside b { font-weight: 600; }
@media (min-width: 600px) { .facts.two { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) {
  .soft-case .case { margin-top: 136px; }
  .case .case-say.wide { grid-column: 6 / -1; padding-right: 0; }
}

.every-in { display: grid; gap: 48px; }
.every-in { margin-top: 48px; }
.every-ui { position: relative; display: grid; gap: 16px; align-content: start; }
.every-ui > .wp { top: 10px; }
.ticks { display: grid; gap: 10px; margin-bottom: 28px; }
.ticks li { position: relative; padding-left: 26px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 7px; border-left: 1.5px solid var(--line); border-bottom: 1.5px solid var(--line); transform: rotate(-45deg); }
.ticks.big li { font-size: clamp(20px, 1.9vw, 26px); line-height: 1.3; letter-spacing: -.012em; font-weight: 500; padding-left: 34px; }
.body2 { color: var(--ink2); max-width: 36em; }
.msg { display: flex; gap: 12px; padding: 14px; }
.av { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--wait-bg); color: var(--wait); display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.msg-act { margin-top: 10px; }
.term { margin: 0; padding: 16px 18px; background: var(--surface); color: var(--ink); border: 1px solid var(--hair); border-radius: 8px; font: 13px/1.7 var(--mono); overflow-x: auto; white-space: pre-wrap; overflow-wrap: anywhere; }
.term-fig { margin: 0; min-width: 0; }
.term .c { color: var(--ink2); }
.term .y { color: var(--warn); }
.term .g { color: var(--ok); font-weight: 500; }
@media (min-width: 900px) { .every-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 48px; } }

.runs-wrap { position: relative; margin-top: 56px; }
.runs { display: grid; gap: 40px; }
.runs li { position: relative; display: flex; flex-direction: column; gap: 8px; }
.runs li .wp.m { top: calc(var(--d3) * .575); }
@media (min-width: 900px) {
  .runs-wrap { margin-top: 112px; }
  .runs { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 28px; }
  .runs li { padding-top: 34px; padding-right: 8px; }
  .runs li .wp.d { left: 0; top: 0; }
  .runs-wrap .run-in { top: 0; }
  .runs-wrap .run-r1 { left: 100%; top: 0; }
  .runs-wrap .run-r2 { left: 100%; top: calc(100% + 64px); }
  .runs-wrap .run-out { top: calc(100% + 64px); }
}
.fit-side { display: grid; gap: 4px; align-content: start; margin-bottom: 32px; }
.pg-soft .close { padding-top: 168px; }
.pg-soft .close .d2 { margin-bottom: 32px; }
@media (max-width: 899px) { .pg-soft .close { padding-top: 112px; } }
@media (max-width: 899px) { .note.L { margin-bottom: 20px; } .fit-side { margin-bottom: 40px; } }
@media (min-width: 900px) { .why { padding-bottom: 72px; } .pg-soft .sec { padding-block: 136px; } }
.paper i:nth-child(3) { background-image: none; padding: 0; }
.paper i:nth-child(3)::before, .paper i:nth-child(3)::after { content: ""; position: absolute; left: 6px; right: 6px; height: 7px; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.paper i:nth-child(3)::before { top: 9px; }
.paper i:nth-child(3)::after { top: 25px; }
.soft-film { margin-top: 96px; }
@media (min-width: 900px) { .soft-film { margin-top: 136px; } }
.draft-mini { margin-top: 18px; }
.js .case .case-say .shot { clip-path: none; transform: none; }

/* ================= Site additions (beyond the mock-up) ================= */
.nw { white-space: nowrap; }
.d1-long { font-size: clamp(34px, 7vw, 104px); }
.price { font-family: var(--mono); font-size: 13px; color: var(--ink2); }
.small { font-family: var(--mono); font-size: 13px; color: var(--ink2); }
.mail-row { margin-top: 24px; color: var(--ink2); }
/* Home hero: what the call costs, then the one figure we may use (docs/strategy.md, case 1). */
.hero-note { margin-top: 14px; font-family: var(--mono); font-size: 13px; color: var(--ink2); }
.hero-proof { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--hair); max-width: 34em; color: var(--ink2); }
.hero-proof b { color: var(--ink); font-weight: 600; }
/* Contact page: questions before booking. Answers stay in the page (search engines and AI answers read them). */
.qa { margin-top: 48px; border-top: 1px solid var(--hair); }
.qa details { border-bottom: 1px solid var(--hair); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 44px; padding: 18px 0; font-size: clamp(19px, 1.6vw, 24px); font-weight: 600; letter-spacing: -.012em; text-wrap: balance; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; flex: none; font-family: var(--mono); font-weight: 400; color: var(--line); transition: transform .3s var(--ease); }
.qa details[open] summary::after { transform: rotate(45deg); }
@media (hover: hover) and (pointer: fine) { .qa summary:hover { color: var(--accent); } }
.qa p { padding-bottom: 22px; max-width: 40em; color: var(--ink2); text-wrap: pretty; }
.qa a { color: var(--ink); text-underline-offset: 4px; text-decoration-color: var(--track); }
.end-act { margin-top: 56px; }
@media (min-width: 900px) { .qa { margin-top: 64px; } }
.mail-row a { color: var(--ink); text-underline-offset: 4px; text-decoration-color: var(--track); overflow-wrap: anywhere; }
@media (hover: hover) and (pointer: fine) { .mail-row a:hover { color: var(--accent); text-decoration-color: var(--accent); } }

/* header: four links on a wide screen; a drawer on a phone, which also holds the theme switch */
.nav { gap: 24px; }
.menu { position: static; margin-left: 4px; }
.menu summary { list-style: none; display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; cursor: pointer; border-radius: 4px; }
.menu summary::-webkit-details-marker { display: none; }
.menu-ico { position: relative; width: 20px; height: 12px; }
.menu-ico i { position: absolute; left: 0; right: 0; height: 1.5px; background: var(--ink); transition: transform .25s var(--ease), top .25s var(--ease); }
.menu-ico i:first-child { top: 1px; }
.menu-ico i:last-child { top: 9px; }
.menu[open] .menu-ico i:first-child { top: 5px; transform: rotate(45deg); }
.menu[open] .menu-ico i:last-child { top: 5px; transform: rotate(-45deg); }
.drawer { position: absolute; left: 0; right: 0; top: 100%; z-index: 20; background: var(--bg); border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); padding: 8px var(--g) 20px; display: grid; gap: 4px; }
.drawer nav { display: grid; }
.drawer nav a { min-height: 52px; display: flex; align-items: center; text-decoration: none; font-weight: 600; font-size: 19px; letter-spacing: -.01em; border-bottom: 1px solid var(--hair2); }
.drawer .theme { justify-self: start; margin: 8px 0 0; padding: 0; }
.bar-in { position: static; }
.theme-bar { display: none; }
.btn-nav { margin-left: auto; }
@media (min-width: 900px) {
  .menu { display: none; }
  .theme-bar { display: inline-block; }
  .btn-nav { margin-left: 0; }
  .nav { margin-left: auto; }
}
.nav a[aria-current="page"], .links a[aria-current="page"], .drawer a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 1.5px; text-underline-offset: 6px; }

/* hero chips: small drawings of the three service lines */
.sheet i.ok { color: var(--ok); }
.site-mini { position: relative; display: grid; gap: 4px; align-content: start; height: 54px; border: 1px solid var(--hair); border-radius: 3px; padding: 0 6px 6px; background: var(--bg); }
.site-mini .sm-bar { display: block; height: 9px; margin: 0 -6px 3px; border-bottom: 1px solid var(--hair); }
.site-mini .sm-h { display: block; height: 6px; width: 62%; background: var(--ink); border-radius: 1px; opacity: .8; }
.site-mini .sm-l { display: block; height: 3px; width: 86%; background: var(--hair); border-radius: 1px; }
.site-mini .sm-l.s { width: 64%; }
.site-mini .sm-btn { display: block; height: 8px; width: 30px; background: var(--line); border-radius: 2px; margin-top: 2px; }
@media (min-width: 900px) { .site-mini { width: 112px; flex: none; } }
.chip p b { overflow-wrap: anywhere; }

/* who cards: the back can carry two links */
.back-links { display: flex; flex-wrap: wrap; gap: 0 24px; }

/* the three service lines (home) */
.step .tlink { align-self: flex-start; margin-top: 4px; }
.spec dd { min-width: 0; }

/* proof */
.proof .c1 { margin-top: 72px; }
@media (min-width: 900px) { .proof .c1 { margin-top: 120px; } }
.film-note { display: grid; gap: 8px; align-content: start; }
.film-note .note { padding-top: 0; }
.two-lines { color: var(--ink2); }
.two-lines .tlink { min-height: 0; color: var(--ink); }
.shots2 { display: grid; gap: 20px; align-content: start; }
.sum { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--hair2); }
.sum div { display: grid; grid-template-rows: 1fr auto; align-items: start; gap: 2px; padding: 12px 14px; border-right: 1px solid var(--hair2); }
.sum div:last-child { border-right: 0; }
.sum span { font-family: var(--mono); font-size: 12px; color: var(--ink2); }
.sum b { font-size: 26px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.ui-list.fix li { justify-content: flex-start; }
/* Status badges in one list share one width and one column: the list is a grid and each row
   a subgrid, so the column is as wide as its widest badge. */
.ui-list.status, .ui-list.fix:has(> li > .pill) { display: grid; column-gap: 12px; }
.ui-list.status { grid-template-columns: minmax(0, 1fr) auto; }
.ui-list.fix:has(> li > .pill) { grid-template-columns: auto minmax(0, 1fr); }
.ui-list.status > li, .ui-list.fix:has(> li > .pill) > li { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; }
.ui-list.status > li > .pill, .ui-list.fix > li > .pill { justify-self: stretch; text-align: center; }
/* Status badges in a table column share the widest badge's width: the cell shrinks to its
   widest badge and every badge fills the cell. */
.tbl td:has(> .pill) { width: 1%; }
.tbl td > .pill { display: block; text-align: center; }
.fix .t { min-width: 0; }
.box { flex: none; width: 15px; height: 15px; border: 1.5px solid var(--track); border-radius: 3px; position: relative; }
.box.done { background: var(--line); border-color: var(--line); }
.box.done::after { content: ""; position: absolute; left: 4px; top: 1px; width: 4px; height: 8px; border: solid var(--bg); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.box.now { border-color: var(--accent); }
.ui-list.sched { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; column-gap: 12px; }
.ui-list.sched li { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; gap: 4px 12px; }
.sched .day { font-family: var(--mono); font-size: 12px; color: var(--ink2); padding-top: 2px; }
.sched .mut { grid-column: 2; font-size: 13px; }
.sched .pill { grid-column: 3; grid-row: 1 / span 2; align-self: center; justify-self: stretch; text-align: center; }
.cp { display: grid; gap: 1px; background: var(--hair2); }
.cp li { display: grid; grid-template-columns: 52px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 12px; padding: 14px; background: var(--surface); }
.cp b { font-weight: 600; }
.cp .mut { grid-column: 2; font-size: 13px; }
.cp-ico { grid-row: 1 / span 2; align-self: center; width: 44px; height: 32px; border: 1.5px solid var(--line); border-radius: 4px; position: relative; }
.cp-ico.srv i { position: absolute; left: 6px; right: 14px; height: 6px; border: 1px solid var(--line); border-radius: 1px; }
.cp-ico.srv i:first-child { top: 5px; }
.cp-ico.srv i:last-child { top: 17px; }
.cp-ico.disk { border-radius: 50% / 34%; }
.cp-ico.off { border-style: dashed; border-color: var(--accent); }
@media (min-width: 600px) {
  .cp { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cp li { grid-template-columns: 1fr; grid-template-rows: auto; row-gap: 4px; }
  .cp-ico { grid-row: auto; margin-bottom: 8px; }
  .cp .mut { grid-column: 1; }
}

/* how we work: three steps by default, four on the software page, and a plain list where there is no line */
@media (min-width: 900px) {
  .runs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .runs.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.runs .price { margin-top: 4px; }
.runs.plain li { padding-top: 16px; border-top: 1.5px solid var(--line); }

/* lists of the three lines (about, contact), and the price spec on the websites page */
.lines3 { display: grid; margin-top: 48px; }
.lines3 li { position: relative; display: grid; gap: 8px; padding: 26px 0; border-top: 1px solid var(--hair); justify-items: start; }
.lines3 li .wp { top: 34px; }
.lines3 .ref { color: var(--line); font-weight: 500; }
.lines3 p { max-width: 36em; }
@media (min-width: 900px) { .lines3 { margin-top: 72px; } .lines3 li { padding: 30px 0; } .lines3 li .wp { top: 40px; } }
.kinds li { border-top: 1px solid var(--hair); }
.kinds .eg .tlink { min-height: 0; color: var(--ink); }
.spec-wide { margin-top: 24px; max-width: 40em; }
.more-row { margin-top: 24px; }
.more-row .tlink { min-height: 0; }
.every-ui .body2 { margin-top: 8px; }

/* contact: the trunk ends in the box around "Choose a time" right away */
.hero-contact .cta-act { margin-top: 36px; }
.cta-act .small { margin-top: 14px; }
.hero-soft .soft-lead .mail-row { margin-top: 8px; }

/* footer */
.foot-brand { display: grid; gap: 10px; }
.foot-line { font-size: 15px; color: var(--ink2); }
.title-block dd a { color: inherit; text-decoration: none; overflow-wrap: anywhere; }
@media (hover: hover) and (pointer: fine) { .title-block dd a:hover { text-decoration: underline; text-underline-offset: 4px; } }
@media (max-width: 599px) {
  .title-block { grid-template-columns: 1fr; }
  .title-block div, .title-block div:nth-child(2n) { border-right: 0; }
  .title-block div:nth-last-child(-n+2) { border-bottom: 1px solid var(--hair); }
  .title-block div:last-child { border-bottom: 0; }
}

/* pages without the line: 404 and privacy */
.hero-page, .prose { padding: 56px 0 120px; }
.hero-page .lead { margin-top: 28px; }
.hero-page .acts { margin-top: 32px; }
.prose .wrap { max-width: 880px; }
.prose h1 { margin-bottom: 20px; }
.prose h2 { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.15; letter-spacing: -.02em; font-weight: 700; margin: 44px 0 12px; }
.prose p { max-width: 40em; margin-top: 12px; }
.prose a, .hero-page .mail-row a { text-underline-offset: 4px; text-decoration-color: var(--track); }
@media (hover: hover) and (pointer: fine) { .prose a:hover { color: var(--accent); } }
@media (min-width: 900px) { .hero-page, .prose { padding: 96px 0 168px; } }

/* the chips are product fragments, but their A/B/C label sits on the border and must not be clipped */
.chip[data-ui] { overflow: visible; }

.case .shot, .case .shots2 { align-self: start; }
@media (min-width: 900px) { .title-block { grid-template-columns: 1.3fr 1.7fr .6fr .6fr; max-width: 920px; } }
@media (max-width: 899px) { .flip { min-height: 0; } .face { gap: 12px; padding-bottom: 12px; } }
@media (max-width: 599px) { .ui-top .crumb { display: none; } }
.cta-act .wp:first-child { top: 30px; }
.menu:not([open]) .drawer { display: none; }
/* the hero drawing needs about 700px: between 900 and 1199px it takes the full width under the copy */
@media (min-width: 900px) and (max-width: 1199px) { .hero-copy { grid-column: 1 / 9; } .fig { grid-column: 1 / -1; } }
/* the branch labels: less room for the curve on a narrow desktop, and never one word alone on a line */
.branches li span { text-wrap: balance; }
@media (min-width: 900px) and (max-width: 1279px) { .branches li { padding-right: 64px; } .branches li .wp.d { right: 44px; } }
/* the email line and the buttons must fit a 320px phone on one line */
.mail-row { font-size: 16px; }
@media (max-width: 419px) { .mail-row { font-size: 14px; } }
.btn { white-space: nowrap; }
@media (max-width: 379px) { .btn { padding-inline: 18px; } .btn-end { padding-inline: 20px; font-size: 17px; } }
.stage .ui-row { flex-wrap: nowrap; }
.stage .ui-row > span:first-child { min-width: 0; }
.btns span, .b1, .b2 { white-space: nowrap; }
/* a link inside a sentence stays inline, so the full stop after it never wraps on its own */
p > .tlink { display: inline; }

/* Phones: sections sit closer, so a short section does not leave a near-empty screen between two others. */
@media (max-width: 599px) { .sec { padding-block: 72px; } .pg-soft .close { padding-top: 80px; } }

/* The three service lines share one set of rows (subgrid), so the label, title, offer, text, terms and
   link of each column start on the same line as their neighbours, whatever the text length. */
@media (min-width: 900px) {
  @supports (grid-template-rows: subgrid) {
    .steps { grid-template-rows: repeat(6, auto); row-gap: 10px; }
    .step { display: grid; grid-row: 1 / span 6; grid-template-rows: subgrid; gap: 0; row-gap: 10px; }
    .step .spec { align-self: start; }
    .step .tlink { align-self: start; justify-self: start; }
  }
}


/* The three service columns step down on purpose, 72 px each (three cells of the sheet grid), so
   they read as a sequence. Each column moves as a whole (transform), so inside it the label, title,
   offer, text, terms and link keep the shared rows, and every column sits exactly one step below
   the one before. The space under the row grows by the two steps, so the join below stays clear. */
@media (min-width: 900px) {
  .steps { --step: 72px; padding-bottom: calc(2 * var(--step)); }
  .st2 { transform: translateY(var(--step)); }
  .st3 { transform: translateY(calc(2 * var(--step))); }
}

/* The handover checklist on the About page is a real checklist: each box can be ticked. */
.checks label { display: flex; align-items: center; gap: 12px; min-height: 24px; cursor: pointer; }
.checks input.box { appearance: none; -webkit-appearance: none; margin: 0; cursor: pointer; background: transparent; transition: background-color .2s var(--ease), border-color .2s var(--ease); }
@media (hover: hover) and (pointer: fine) { .checks input.box:hover { border-color: var(--line); } }
.checks input.box:checked { background: var(--line); border-color: var(--line); }
.checks input.box:checked::after { content: ""; position: absolute; left: 4px; top: 1px; width: 4px; height: 8px; border: solid var(--bg); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }

/* Panel review 2026-11-14. The first screen shows at once: a fade on the h1 and the lead delayed the
   largest paint by about 0.9 s on a phone. Reveals further down the page stay. */
.js h1.rise, .js h1.rise ~ .rise, .js .hero .rise { opacity: 1; transform: none; transition: none; }
/* Email links that stand alone get a 44 px tap height; the negative margin keeps the line height. */
.mail-row a, .title-block dd a { display: inline-block; padding-block: 13px; margin-block: -13px; }
/* Google Analytics choice (site/ga.js): a bar fixed to the bottom of the screen, on the page
   surface with one hairline above it. Its text and buttons start on the left and right edges of
   the page content (.wrap, plus the trunk-line lane on phones and tablets), so the bar lines up with the sections under it. Two equal buttons:
   "Don't allow" is as easy as "Allow". Hidden until ga.js asks. */
.ga-ask { position: fixed; inset: auto 0 0 0; z-index: 60; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 16px calc(max(0px, (100% - 1440px) / 2) + var(--g)) 16px calc(max(0px, (100% - 1440px) / 2) + var(--g) + var(--lane)); background: var(--surface); color: var(--ink); border-top: 1px solid var(--line); font-size: 16px; line-height: 1.45; }
.ga-ask[hidden] { display: none; }
.ga-ask p { margin: 0; max-width: 64ch; }
.ga-ask a { color: inherit; }
.ga-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
/* when the bar wraps (phones), the two buttons share the full content width */
@media (max-width: 899px) { .ga-btns { flex: 1 1 100%; } }
.ga-ask .btn { min-height: 44px; min-width: 112px; padding-inline: 18px; font-size: 16px; }
body { padding-bottom: var(--ga-h, 0px); }
