/* ==========================================================================
   Convertill — Denoirs Services Limited
   Cool near-white ground, one deep green, General Sans 500/600.
   The identity is the OUTLINE: every panel, cell, row, card and input is a
   1px-bordered rectangle at 4px radius. There is not a single box-shadow in
   this file, and every figure, amount, reference and timestamp is set in
   monospace — Convertill is the one site in the set where mono is load-bearing,
   the wordmark and the menu control included.
   Composition is left-aligned throughout, with the artefact run full width
   underneath the hero rather than beside it.
   No imagery of any kind and no decorative gradients — the only two uses of
   the linear- form are the hero's 1px rule grid and the mask that fades it.
   Every contrast pair below is measured and passes.
   ========================================================================== */

:root {
  --white:    oklch(100% 0 0);
  --paper:    oklch(98.5% 0.004 150);  /* #F8FBF9  page ground */
  --paper-2:  oklch(96.0% 0.006 150);  /* #EFF3F0  alternating band, table heads */
  --line:     oklch(86.5% 0.012 150);  /* #CDD5CE  hairline, internal dividers */
  --line-2:   oklch(63.0% 0.016 150);  /* #838C84  panel outline — the signature, 3.33:1 on paper */
  --line-s:   oklch(61.5% 0.016 150);  /* #7E8880  inputs, 3.5:1 on white */

  --ink:      oklch(20.0% 0.020 160);  /* #0E1913  17.3:1 on paper */
  --ink-2:    oklch(41.0% 0.016 160);  /* #434D47   8.4:1 */
  --ink-3:    oklch(52.0% 0.014 160);  /* #626C66   5.2:1 */

  --green:    oklch(44.0% 0.107 155);  /* #046337   7.1:1 on paper */
  --green-d:  oklch(35.0% 0.085 155);  /* #024726  hover, and the CTA band */
  --green-t:  oklch(95.0% 0.028 155);  /* #E1F4E6  wash; green on it = 6.4:1 */
  --on-green: oklch(99.0% 0.004 150);  /* 7.2:1 on green, 10.6:1 on green-d */
  --on-ink-2: oklch(78.0% 0.014 150);  /* 9.1:1 on the dark footer */
  --on-ink-3: oklch(66.0% 0.016 150);  /* 5.8:1 on the dark footer */

  /* the brand mark's two inks, so one copy of the SVG serves both grounds.
     Light ground (--paper): edge 3.33:1, chevron 7.09:1.
     .logo__m--inv re-points both for the --ink footer. */
  --mark-edge: var(--line-2);          /* #838C84  the hairline cell */
  --mark-fg:   var(--green);           /* #046337  the chevron */

  --font: 'General Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --mono: ui-monospace, 'SFMono-Regular', Menlo, Consolas, 'Liberation Mono', monospace;

  --fs-h1:   clamp(2.375rem, 1.55rem + 2.85vw, 3.75rem);
  --fs-h2:   clamp(1.625rem, 1.32rem + 1.35vw, 2.25rem);
  --fs-h3:   1.0625rem;
  --fs-lead: clamp(1.0625rem, 1.01rem + 0.32vw, 1.1875rem);
  --fs-body: 1rem;
  --fs-sm:   0.9375rem;
  --fs-xs:   0.8125rem;
  --fs-lab:  0.6875rem;                /* mono register labels */

  --sp:     clamp(3.25rem, 6vw, 5.75rem);
  --gutter: clamp(1.15rem, 3.4vw, 2.75rem);
  --max:    1200px;

  --r: 4px;                            /* the only radius in the system */
  --ease: cubic-bezier(0.3, 0.8, 0.35, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5.5rem; overflow-x: clip; }
body {
  font-family: var(--font); font-size: var(--fs-body); line-height: 1.7;
  font-weight: 400; color: var(--ink-2); background: var(--paper);
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
svg { display: block; max-width: 100%; }
button, input, textarea { font: inherit; color: inherit; }
a { color: inherit; }
ul, ol { padding: 0; list-style: none; }
table { border-collapse: collapse; width: 100%; }

/* ---------- type: 600 display, tight, always left ---------------------- */
h1, h2, h3, h4 { color: var(--ink); font-weight: 600; line-height: 1.2; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: var(--fs-h1); line-height: 1.04; letter-spacing: -0.032em; }
h2 { font-size: var(--fs-h2); line-height: 1.1;  letter-spacing: -0.026em; }
h3 { font-size: var(--fs-h3); line-height: 1.4;  letter-spacing: -0.012em; }
h1 em, h2 em { font-style: normal; color: var(--green); }
p { text-wrap: pretty; }
.lead { font-size: var(--fs-lead); line-height: 1.62; color: var(--ink-2); max-width: 58ch; }
.prose { max-width: 70ch; }
.prose p + p { margin-top: 1.1em; }
.prose > h3 { margin: 1.9em 0 0.5em; }
.prose > h3:first-child { margin-top: 0; }
.prose a { color: var(--green); font-weight: 500; text-underline-offset: 3px; }
.prose b { color: var(--ink); font-weight: 600; }

/* mono micro-label with a 1px leader: the register voice, used everywhere */
.lab {
  display: block; font-family: var(--mono); font-size: var(--fs-lab);
  font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-3);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--mono); font-size: var(--fs-lab); font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--green);
}
.eyebrow::before { content: ''; width: 1.75rem; height: 1px; background: var(--green); flex: none; }
.num { font-family: var(--mono); font-size: var(--fs-lab); font-weight: 500; letter-spacing: 0.1em; color: var(--green); }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.sec { padding-block: var(--sp); }
.band { background: var(--paper-2); border-block: 1px solid var(--line); }

/* section head: label, rule to the right edge, then the heading */
.shead { margin-bottom: clamp(1.75rem, 3.2vw, 2.5rem); }
.shead__t { display: flex; align-items: center; gap: 1rem; min-height: 1rem; padding-bottom: 0.85rem; border-bottom: 1px solid var(--line-2); }
.shead__t .lab { white-space: nowrap; }
.shead__t i { margin-left: auto; font-style: normal; font-family: var(--mono); font-size: var(--fs-lab); color: var(--ink-3); letter-spacing: 0.1em; }
.shead h2 { margin-top: 1.1rem; max-width: 34ch; }
.shead p { margin-top: 0.8rem; }

.skip {
  position: absolute; left: var(--gutter); top: 0.5rem; z-index: 200;
  transform: translateY(-250%); background: var(--ink); color: var(--on-green);
  padding: 0.6rem 1rem; font-size: var(--fs-sm); font-weight: 500;
  text-decoration: none; border-radius: var(--r); transition: transform 0.2s var(--ease);
}
.skip:focus-visible { transform: translateY(0); }
:where(a, button, summary, input, textarea, [tabindex]):focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.vh { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- buttons: rectangles, 1px, never rounded past 4px ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.7rem 1.15rem; border: 1px solid var(--green); border-radius: var(--r);
  background: var(--green); color: var(--on-green);
  font-size: var(--fs-sm); font-weight: 500; letter-spacing: -0.005em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.btn:hover { background: var(--green-d); border-color: var(--green-d); }
.btn--out { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--out:hover { background: var(--white); border-color: var(--ink); }
.btn--inv { background: transparent; color: var(--on-green); border-color: var(--on-green); }
.btn--inv:hover { background: var(--on-green); color: var(--green-d); border-color: var(--on-green); }
.btn svg { flex: none; }
.tlink {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-family: var(--mono); font-size: var(--fs-xs); font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--green); text-decoration: none;
}
.tlink:hover { text-decoration: underline; text-underline-offset: 4px; }
.tlink svg { transition: transform 0.25s var(--ease); }
.tlink:hover svg, a:hover .tlink svg { transform: translateX(3px); }

/* ---------- header: a mono numbered index, not a centred menu ----------
   Logo sits left; the nav is pushed hard right against the CTA and set in
   monospace uppercase with a green numeric prefix, so the menu reads as the
   contents list of the same engineering register the rest of the site is
   drawn from. Solutions drops a full-width bordered register panel that
   spans the content width — same panel / panel__hd / hairline-row grammar as
   every Fig. on the site. No shadow, no rounded card, 4px corners only.     */
.hdr { position: sticky; top: 0; z-index: 100; background: var(--paper); border-bottom: 1px solid var(--line-2); }
.hdr__in { position: relative; display: flex; align-items: center; gap: clamp(0.85rem, 2.2vw, 1.75rem); min-height: 66px; }
/* the lockup. 0.3rem of flex gap plus the mark's own 8/64 of right padding
   (3.4px at this size) reads as a ~8px optical gap, just under 0.5em of the
   wordmark. align-items:center is enough: with line-height 1 the cap band of
   the mono wordmark centres within 0.1px of its own line box, so the mark needs
   no optical nudge. */
.logo { display: inline-flex; align-items: center; gap: 0.3rem; text-decoration: none; }
/* wordmark: "Convertill" in Space Grotesk 700 (chosen 2026-10-09 over the
   mono caps), one colour, one weight, no accent split. The cell mark is
   unchanged; only the type beside it moved. */
.logo__w {
  font-family: 'Space Grotesk', var(--font);
  font-size: 1.25rem; font-weight: 700; letter-spacing: -0.03em;
  color: var(--ink); line-height: 1;
}
/* CO1 "register cell" mark — geometry in _src/build.mjs, sized here.
   27px is 1.588x the 17px wordmark: it puts the cell's visible square (48/64 of
   the box = 20.25px) at 1.70x the wordmark's cap height (~11.9px), which is
   where a bordered tile stops competing with a 17px word and starts containing
   it. Sizing the box to the cap band rather than the font-size is the whole
   point — matched to the font-size the cell would read a third larger. */
.logo__m { flex: none; width: 1.6875rem; height: 1.6875rem; }
/* the footer ground is --ink, where --line-2 and --green both change character:
   the green chevron drops to 2.44:1 and fails. Re-point the two custom
   properties the SVG already reads — no second copy of the mark.
   --on-ink-3 #8C958D edge 5.83:1, --green-t #E1F4E6 chevron 15.67:1 on --ink. */
.logo__m--inv { --mark-edge: var(--on-ink-3); --mark-fg: var(--green-t); }

/* nav: pushed right, full header height so the register panel is contiguous */
.nav { display: none; margin-left: auto; align-self: stretch; }
.nav__l { display: flex; align-items: stretch; height: 100%; gap: 0; }
.nav__it { display: flex; align-items: stretch; }
/* every item fills the full 66px bar, so the hit area is the bar height and
   the active rule lands on the header hairline like the tab of a bound file */
.nav__a {
  position: relative; display: flex; align-items: center; gap: 0.45rem;
  height: 100%; padding: 0 clamp(0.5rem, 0.85vw, 0.8rem);
  font-family: var(--mono); font-size: 0.9375rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-2); text-decoration: none;
  transition: color 0.16s var(--ease);
}
.nav__a::after {
  content: ''; position: absolute; inset: auto 0.5rem 0; height: 2px;
  background: transparent; transition: background-color 0.16s var(--ease);
}
.nav__n { font-variant-numeric: tabular-nums; color: var(--green); }
/* The item fills the full bar height, so a 2px outset ring would paint from
   -4px to +70px — clipped off-viewport at the top and across the hairline at the
   bottom. Inset it so the whole indicator is visible. */
.nav__a:focus-visible { outline-offset: -2px; }
.nav__a:hover { color: var(--ink); }
.nav__a:hover::after { background: var(--ink); }
.nav__a[aria-current] { color: var(--green); }
.nav__a[aria-current]::after { background: var(--green); }
.nav__a svg { color: var(--ink-3); transition: transform 0.2s var(--ease); }
.nav__it--has:hover .nav__a svg, .nav__it--has:focus-within .nav__a svg { transform: rotate(180deg); }

/* the full-width bordered register panel */
.nreg {
  position: absolute; top: 100%; left: var(--gutter); right: var(--gutter); z-index: 5;
  opacity: 0; visibility: hidden;
  transition: opacity 0.18s var(--ease), visibility 0.18s;
}
.nav__it--has:hover .nreg, .nav__it--has:focus-within .nreg { opacity: 1; visibility: visible; }
/* data-shut is the force-closed state. Equal specificity to the :hover rule above,
   so it must stay AFTER it to win. Escape sets it; a fresh pointer entry or a
   fresh focus from outside clears it. WCAG 1.4.13 "Dismissible". */
.nav__it--has[data-shut='true'] .nreg { opacity: 0; visibility: hidden; }
.nreg__p { margin-top: -1px; border-radius: 0 0 var(--r) var(--r); }
.nreg .panel__hd b { text-transform: uppercase; letter-spacing: 0.12em; }
.nreg__b { display: grid; }
.nreg__rows { display: grid; }
.nreg__r {
  display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); gap: 0.1rem 0.85rem;
  padding: 0.6rem 0.9rem; border-bottom: 1px solid var(--line);
  text-decoration: none; color: inherit;
  transition: background-color 0.16s var(--ease);
}
.nreg__rows .nreg__r:last-child { border-bottom: 0; }
.nreg__r:hover { background: var(--green-t); }
.nreg__n { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.1em; color: var(--green); font-variant-numeric: tabular-nums; }
.nreg__t { font-size: var(--fs-sm); font-weight: 500; color: var(--ink); letter-spacing: -0.01em; }
.nreg__r:hover .nreg__t { color: var(--green-d); }
.nreg__r[aria-current='page'] { background: var(--green-t); }
.nreg__r[aria-current='page'] .nreg__t { color: var(--green-d); }
.mnav__s[aria-current='page'] .mnav__st { color: var(--green-d); }
.ix a[aria-current='page'] { color: var(--green); font-weight: 500; }
.nreg__s { grid-column: 2; font-family: var(--mono); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
/* one register across the whole width now the index column is gone: the NN,
   the title and the scope share a baseline and span the full panel, with the
   scope pinned to the right edge the way every other figure on this site is. */
@media (min-width: 780px) {
  .nreg__r {
    grid-template-columns: 3.25rem minmax(0, 1fr) auto;
    column-gap: clamp(1rem, 2.4vw, 2.25rem);
    align-items: baseline; padding: 0.8rem 1.15rem;
  }
  .nreg__s { grid-column: auto; text-align: right; }
}
.ixh {
  font-family: var(--mono); font-size: var(--fs-lab); font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3);
  padding-bottom: 0.5rem; border-bottom: 1px solid var(--line);
}
.ix { display: grid; }
.ix li { border-bottom: 1px solid var(--line); }
.ix li:last-child { border-bottom: 0; }
.ix a { display: block; padding: 0.45rem 0; font-size: var(--fs-xs); color: var(--ink-2); text-decoration: none; }
.ix a:hover { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }

.hdr__cta { display: none; }
/* the menu control is a bordered square carrying the word itself, set in the
   same mono uppercase as every label here. No bars, no pill, no shadow. */
.hmenu {
  margin-left: auto; min-width: 4.75rem; min-height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 0.7rem; background: transparent;
  border: 1px solid var(--line-2); border-radius: var(--r);
  font-family: var(--mono); font-size: var(--fs-xs); font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink);
  cursor: pointer;
  transition: border-color 0.16s var(--ease), background-color 0.16s var(--ease);
}
.hmenu:hover { border-color: var(--ink); }
.hmenu[aria-expanded='true'] { border-color: var(--ink); background: var(--paper-2); }

/* ---------- mobile: a full-width bordered accordion register ----------- */
.draw { position: fixed; inset: 67px 0 0; z-index: 99; background: var(--paper); padding: 1rem var(--gutter) 3rem; overflow-y: auto; display: none; }
.draw[data-open='true'] { display: block; }
.mnav__l { display: grid; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--white); overflow: hidden; }
.mnav__it { border-bottom: 1px solid var(--line); }
.mnav__it:last-child { border-bottom: 0; }
.mnav__row { display: flex; align-items: stretch; }
.mnav__a { display: flex; align-items: center; gap: 0.75rem; flex: 1 1 auto; min-width: 0; padding: 0.85rem 0.9rem; text-decoration: none; }
.mnav__n { flex: none; font-family: var(--mono); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.1em; color: var(--green); font-variant-numeric: tabular-nums; }
.mnav__t { font-family: var(--mono); font-size: 1.0625rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); }
.mnav__a[aria-current] .mnav__t { color: var(--green); }
.mnav__x { flex: none; width: 3.25rem; display: grid; place-items: center; background: transparent; border: 0; border-left: 1px solid var(--line); border-radius: 0; color: var(--ink-2); cursor: pointer; }
.mnav__x svg { transition: transform 0.2s var(--ease); }
.mnav__x[aria-expanded='true'] svg { transform: rotate(180deg); }
.mnav__p { display: grid; border-top: 1px solid var(--line); background: var(--paper-2); }
.mnav__p[hidden] { display: none; }
.mnav__s { display: grid; grid-template-columns: 1.9rem minmax(0, 1fr); gap: 0.1rem 0.6rem; padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--line); text-decoration: none; }
.mnav__p .mnav__s:last-child { border-bottom: 0; }
.mnav__st { font-size: var(--fs-sm); font-weight: 500; color: var(--ink); letter-spacing: -0.01em; }
.mnav__s:hover .mnav__st { color: var(--green-d); }
.mnav__sc { grid-column: 2; font-family: var(--mono); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.mnav__ix { margin-top: 0.9rem; padding: 0.7rem 0.9rem 0.85rem; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--white); }
.draw__cta { margin-top: 1.1rem; }
@media (min-width: 1060px) {
  .nav { display: flex; align-items: stretch; } .hdr__cta { display: inline-flex; }
  .hmenu { display: none; } .draw { display: none !important; }
}

/* ---------- hero: LEFT aligned, artefact full width beneath ----------- */
.hero { position: relative; background: var(--paper); padding-block: clamp(2.75rem, 5.5vw, 4.75rem) 0; }
/* 1px rule grid — line drawing, not decoration; faded out with a mask */
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, oklch(0% 0 0 / 0.55), transparent 62%);
  -webkit-mask-image: linear-gradient(to bottom, oklch(0% 0 0 / 0.55), transparent 62%);
}
.hero__in { position: relative; max-width: 46rem; }
.hero h1 { margin-top: 1.15rem; }
.hero .lead { margin-top: 1.1rem; }
.hero__acts { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.75rem; }
.hero__fig { position: relative; margin-top: clamp(2.25rem, 4.5vw, 3.5rem); padding-bottom: var(--sp); }

/* ---------- figures: everything is a captioned drawing ---------------- */
.fig { display: block; }
.fig__cap {
  display: flex; align-items: center; gap: 0.7rem; margin-bottom: 0.7rem;
  font-family: var(--mono); font-size: var(--fs-lab); font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3);
}
.fig__cap b { color: var(--green); font-weight: 500; }
.fig__cap::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.panel { border: 1px solid var(--line-2); border-radius: var(--r); background: var(--white); }
.panel__hd {
  display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap;
  padding: 0.65rem 0.9rem; border-bottom: 1px solid var(--line); background: var(--paper-2);
}
.panel__hd b { font-family: var(--mono); font-size: var(--fs-xs); font-weight: 500; letter-spacing: 0.06em; color: var(--ink); }
.pill {
  margin-left: auto; font-family: var(--mono); font-size: var(--fs-lab); letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--green); background: var(--green-t);
  border: 1px solid var(--green); border-radius: 2px; padding: 0.1rem 0.4rem; white-space: nowrap;
}
.pill--flat { color: var(--ink-2); background: var(--white); border-color: var(--line-2); margin-left: 0; }

/* signature artefact: account -> Convertill -> account */
.flow__row { display: grid; gap: 0; padding: 0.9rem; }
.flow__node { border: 1px solid var(--line); border-radius: var(--r); padding: 0.8rem 0.85rem; background: var(--white); }
.flow__node b { display: block; margin-top: 0.35rem; font-size: var(--fs-sm); font-weight: 600; color: var(--ink); }
.flow__node .mono { display: block; margin-top: 0.2rem; font-size: var(--fs-xs); color: var(--ink-2); word-break: break-word; }
.flow__node--mid { border-color: var(--green); background: var(--green-t); }
.flow__node--mid .lab { color: var(--green); }
.flow__steps { display: flex; flex-wrap: wrap; gap: 0.3rem; margin-top: 0.55rem; }
.flow__steps li {
  font-family: var(--mono); font-size: var(--fs-lab); letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--green); border: 1px solid var(--green); border-radius: 2px; padding: 0.12rem 0.35rem; background: var(--white);
}
.flow__arm { display: grid; place-items: center; padding: 0.5rem 0; color: var(--line-2); }
.flow__arm svg { transform: rotate(90deg); }
.flow__arm::before, .flow__arm::after { content: ''; width: 1px; height: 8px; background: var(--line-2); }
.flow__ft { display: grid; gap: 0; border-top: 1px solid var(--line); }
.flow__ft > div { padding: 0.6rem 0.9rem; border-bottom: 1px solid var(--line); }
.flow__ft > div:last-child { border-bottom: 0; }
.flow__ft dt { font-family: var(--mono); font-size: var(--fs-lab); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.flow__ft dd { margin: 0.15rem 0 0; font-family: var(--mono); font-size: var(--fs-sm); font-variant-numeric: tabular-nums; color: var(--ink); }
@media (min-width: 860px) {
  .flow__row { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr); align-items: stretch; gap: 0; }
  .flow__arm { padding: 0 0.55rem; grid-auto-flow: column; }
  .flow__arm svg { transform: none; }
  .flow__arm::before, .flow__arm::after { width: 10px; height: 1px; }
  .flow__ft { grid-template-columns: repeat(4, 1fr); }
  .flow__ft > div { border-bottom: 0; border-left: 1px solid var(--line); }
  .flow__ft > div:first-child { border-left: 0; }
}

/* register tables — mono, ruled, right-aligned figures */
.tbl { font-size: var(--fs-xs); }
.tbl th {
  text-align: left; padding: 0.5rem 0.9rem; border-bottom: 1px solid var(--line);
  font-family: var(--mono); font-size: var(--fs-lab); font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); background: var(--paper-2);
}
.tbl td { padding: 0.58rem 0.9rem; border-bottom: 1px solid var(--line); color: var(--ink-2); font-family: var(--mono); font-variant-numeric: tabular-nums; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl td b { color: var(--ink); font-weight: 600; }
.tbl td.hi { color: var(--green); font-weight: 600; }
.tbl td.r, .tbl th.r { text-align: right; }
.tbl td .m { color: var(--ink); font-weight: 600; }

/* card record — a flat filled card and a flat outlined one, front-on */
.cards { display: grid; gap: 0.75rem; padding: 0.9rem; }
.cardart { border: 1px solid var(--green-d); border-radius: var(--r); background: var(--green-d); color: var(--on-green); padding: 0.9rem; }
.cardart--out { background: var(--white); border-color: var(--line-2); color: var(--ink); }
.cardart__top { display: flex; align-items: center; justify-content: space-between; }
.cardart__chip { width: 26px; height: 19px; border: 1px solid var(--on-green); border-radius: 2px; }
.cardart--out .cardart__chip { border-color: var(--line-2); }
.cardart__k { font-family: var(--mono); font-size: var(--fs-lab); letter-spacing: 0.12em; text-transform: uppercase; }
.cardart__num { margin-top: 1.15rem; font-family: var(--mono); font-size: 0.9375rem; letter-spacing: 0.06em; font-variant-numeric: tabular-nums; }
.cardart__row { display: flex; justify-content: space-between; gap: 1rem; margin-top: 0.6rem; font-family: var(--mono); font-size: var(--fs-lab); letter-spacing: 0.1em; text-transform: uppercase; }

/* key/value register — contact details, legal service-provider block */
.kv { display: grid; border-top: 1px solid var(--line); }
.kv > div { display: grid; gap: 0.15rem 1rem; padding: 0.65rem 0; border-bottom: 1px solid var(--line); }
@media (min-width: 560px) { .kv > div { grid-template-columns: minmax(0, 13rem) minmax(0, 1fr); align-items: baseline; } }
.kv dt { font-family: var(--mono); font-size: var(--fs-lab); font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.kv dd { margin: 0; font-size: var(--fs-sm); color: var(--ink); }
.kv dd a { color: var(--green); font-weight: 500; }

/* ---------- metric register: one bordered strip, mono figures --------- */
.metrics { display: grid; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--white); overflow: hidden; }
.metrics > div { padding: clamp(1.1rem, 2.4vw, 1.6rem); border-bottom: 1px solid var(--line); }
.metrics > div:last-child { border-bottom: 0; }
@media (min-width: 720px) {
  .metrics { grid-template-columns: repeat(3, 1fr); }
  .metrics > div { border-bottom: 0; border-left: 1px solid var(--line); }
  .metrics > div:first-child { border-left: 0; }
}
.metric__f { font-family: var(--mono); font-size: clamp(2rem, 1.4rem + 2.1vw, 2.875rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.metric__f i { font-style: normal; color: var(--green); }
.metric__l { margin-top: 0.6rem; font-family: var(--mono); font-size: var(--fs-lab); font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }

/* ---------- network register strip ------------------------------------ */
.nets { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; padding-block: 1.1rem; }
.nets__t { font-family: var(--mono); font-size: var(--fs-lab); font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); margin-right: 0.35rem; }
.nets__i { font-size: var(--fs-sm); font-weight: 500; color: var(--ink); border: 1px solid var(--line-2); border-radius: var(--r); padding: 0.28rem 0.7rem; background: var(--white); }

/* ---------- outlined cells: solutions, features, values -------------- */
.cells { display: grid; gap: clamp(0.85rem, 1.8vw, 1.15rem); }
@media (min-width: 700px)  { .cells { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .cells--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.cell {
  display: flex; flex-direction: column; padding: clamp(1.1rem, 2.2vw, 1.5rem);
  border: 1px solid var(--line-2); border-radius: var(--r); background: var(--white);
  text-decoration: none; color: inherit;
  transition: border-color 0.18s var(--ease), background-color 0.18s var(--ease);
}
a.cell:hover { border-color: var(--green); background: var(--green-t); }
.cell__n { display: flex; align-items: center; gap: 0.6rem; }
.cell__n::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.cell h3 { margin: 0.85rem 0 0.45rem; }
.cell p { font-size: var(--fs-sm); }
.cell__go { margin-top: auto; padding-top: 1.1rem; }

/* ---------- numbered register rows (Why choose us, jobs, links) ------- */
.reg { border-top: 1px solid var(--line-2); }
.reg__r { display: grid; gap: 0.35rem 1.5rem; padding: clamp(1.1rem, 2.2vw, 1.6rem) 0; border-bottom: 1px solid var(--line); }
.reg__r > .num { padding-top: 0.2rem; }
@media (min-width: 800px) { .reg__r { grid-template-columns: 4rem minmax(0, 1fr); } }
@media (min-width: 1000px) { .reg--wide .reg__r { grid-template-columns: 4rem minmax(0, 20rem) minmax(0, 1fr); align-items: start; } }
@media (min-width: 800px) { .reg--link .reg__r { grid-template-columns: 4rem minmax(0, 1fr) auto; align-items: start; } }
.reg__r h3 { margin-bottom: 0.3rem; }
.reg--wide .reg__r h3 { margin-bottom: 0; }
.reg__r p { font-size: var(--fs-sm); max-width: 68ch; }
.reg__r--link { text-decoration: none; color: inherit; transition: background-color 0.18s var(--ease); }
.reg__r--link:hover { background: var(--white); }
.reg__act { align-self: start; }
@media (min-width: 800px) { .reg--job .reg__r { grid-template-columns: 4rem minmax(0, 1fr) auto; align-items: start; } }
.reg__meta { font-family: var(--mono); font-size: var(--fs-lab); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); margin-top: 0.4rem; }

/* ---------- split: prose beside a drawing ---------------------------- */
.split { display: grid; gap: clamp(1.75rem, 3.6vw, 3rem); align-items: start; }
@media (min-width: 960px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .split--flip > :first-child { order: 2; }
  .split--narrow { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
  .split--doc { grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); }
}

/* ---------- page hero (inner pages) ---------------------------------- */
.phero { background: var(--white); border-bottom: 1px solid var(--line-2); padding-block: clamp(1.75rem, 3.6vw, 2.75rem); }
.crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; margin-bottom: 1rem; }
.crumb a, .crumb span { font-family: var(--mono); font-size: var(--fs-lab); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); text-decoration: none; }
.crumb a:hover { color: var(--green); }
.crumb i { color: var(--line-2); font-style: normal; }
.phero h1 { max-width: 30ch; font-size: clamp(2rem, 1.45rem + 1.9vw, 3rem); }
.phero .lead { margin-top: 0.85rem; }

/* ---------- form: 1px fields, mono field index ----------------------- */
.form { display: grid; gap: 0.9rem; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--white); padding: clamp(1.15rem, 2.5vw, 1.75rem); }
.form > h2 { font-size: var(--fs-h3); }
.fld { display: grid; gap: 0.3rem; }
.fld label { display: flex; align-items: baseline; gap: 0.45rem; font-size: var(--fs-sm); font-weight: 500; color: var(--ink); }
.fld label b { color: var(--green); font-weight: 500; }
.fld input, .fld textarea {
  width: 100%; padding: 0.65rem 0.75rem; background: var(--white);
  border: 1px solid var(--line-s); border-radius: var(--r);
  font-size: var(--fs-body); color: var(--ink); transition: border-color 0.16s var(--ease);
}
.fld textarea { min-height: 7.5rem; resize: vertical; line-height: 1.6; }
.fld input::placeholder, .fld textarea::placeholder { color: var(--ink-3); opacity: 1; }
.fld input:focus-visible, .fld textarea:focus-visible { border-color: var(--green); }
.fld__e { display: none; align-items: center; gap: 0.35rem; font-size: var(--fs-xs); font-weight: 500; color: var(--green-d); }
.fld[data-bad='true'] .fld__e { display: flex; }
.fld[data-bad='true'] input, .fld[data-bad='true'] textarea { border-color: var(--green-d); }
.form__ok { display: none; gap: 0.55rem; padding: 0.7rem 0.85rem; background: var(--green-t); border: 1px solid var(--green); border-radius: var(--r); font-size: var(--fs-sm); color: var(--ink); }
.form[data-sent='true'] .form__ok { display: flex; }
.form__n { font-size: var(--fs-xs); color: var(--ink-3); }
.form__n a { color: var(--green); font-weight: 500; }

/* ---------- CTA band: the accent as a flat fill ---------------------- */
.cta { background: var(--green-d); color: var(--green-t); padding-block: clamp(2.5rem, 4.8vw, 3.75rem); }
.cta__in { display: grid; gap: 1.35rem clamp(1.5rem, 4vw, 3rem); align-items: center; }
@media (min-width: 900px) { .cta__in { grid-template-columns: minmax(0, 1fr) auto; } }
.cta h2 { color: var(--on-green); max-width: 30ch; }
.cta p { margin-top: 0.8rem; max-width: 56ch; font-size: var(--fs-sm); color: var(--green-t); }
.cta .lab { color: var(--on-ink-2); margin-bottom: 0.9rem; }

/* ---------- footer: dark ground, hairline columns -------------------- */
.ftr { background: var(--ink); color: var(--on-ink-2); padding-block: clamp(2.5rem, 4.8vw, 3.5rem) 0; }
.ftr__top { display: grid; gap: clamp(1.75rem, 3.6vw, 2.5rem); padding-bottom: clamp(1.75rem, 3.6vw, 2.5rem); }
@media (min-width: 880px) { .ftr__top { grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); } }
.ftr .logo__w { color: var(--on-green); }
.ftr__blurb { font-size: var(--fs-sm); max-width: 40ch; margin-top: 0.9rem; }
.ftr__legal { margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid var(--ink-2); font-size: var(--fs-xs); line-height: 1.8; color: var(--on-ink-3); }
.ftr__legal b { display: block; font-family: var(--mono); font-size: var(--fs-lab); font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-ink-2); margin-bottom: 0.35rem; }
.ftr__legal span { color: var(--on-ink-2); }
.ftr h2 { font-family: var(--mono); font-size: var(--fs-lab); font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-ink-2); margin-bottom: 0.9rem; padding-bottom: 0.55rem; border-bottom: 1px solid var(--ink-2); }
.ftr__l { display: grid; gap: 0.1rem; }
.ftr__l a { padding: 0.28rem 0; font-size: var(--fs-sm); color: var(--on-ink-2); text-decoration: none; width: fit-content; }
.ftr__l a:hover { color: var(--on-green); text-decoration: underline; text-underline-offset: 3px; }
.ftr__bot { display: flex; flex-wrap: wrap; gap: 0.4rem 1.5rem; align-items: center; padding-block: 1.15rem; border-top: 1px solid var(--ink-2); }
.ftr__cr { font-family: var(--mono); font-size: var(--fs-xs); color: var(--on-ink-3); }

/* ---------- legal documents ----------------------------------------- */
.doc__aside { border: 1px solid var(--line-2); border-radius: var(--r); background: var(--white); padding: clamp(1.1rem, 2.2vw, 1.45rem); }
@media (min-width: 960px) { .doc__aside { position: sticky; top: 5.5rem; } }
.doc__aside h2 { font-family: var(--mono); font-size: var(--fs-lab); font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); padding-bottom: 0.6rem; border-bottom: 1px solid var(--line); }
.toc { display: grid; }
.toc li { display: grid; grid-template-columns: 2.1rem minmax(0, 1fr); gap: 0.5rem; padding: 0.5rem 0; border-bottom: 1px solid var(--line); font-size: var(--fs-sm); color: var(--ink); }
.toc li:last-child { border-bottom: 0; }
.doc__sec { padding-block: clamp(1.5rem, 2.8vw, 2.1rem); border-top: 1px solid var(--line); }
.doc__sec:first-child { padding-top: 0; border-top: 0; }
.doc__sec > h2 { font-size: 1.25rem; margin-bottom: 0.85rem; }
.doc__sec .kv { margin: 1.1rem 0; }

/* ---------- reveal (opt-in via .js, fail-safe without it) ------------ */
.js [data-rv] { opacity: 0; transform: translateY(8px); }
.js [data-rv].in { opacity: 1; transform: none; transition: opacity 0.45s var(--ease), transform 0.5s var(--ease); transition-delay: calc(var(--d, 0) * 40ms); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  .js [data-rv] { opacity: 1 !important; transform: none !important; }
}
/* ---------- print ----------------------------------------------------
   A browser drops background fills when it prints, so every part of this site
   that depends on a painted ground arrives as near-white ink on white paper.
   That took the logo with it: the header was hidden outright, and the footer
   lockup that was left behind is the INVERSE one, drawn for the --ink ground.
   On white that mark measures 1.15:1 at the chevron (--green-t #E1F4E6) and
   1.02:1 at the wordmark (--on-green #FAFDFA) — an invisible logo on every
   printed sheet, and an invisible registered-entity block under it.

   So: keep the header, reduced to the lockup alone, and re-point the footer
   onto the light-ground inks rather than trusting a ground that will not
   print. Every ratio quoted below is measured against white #FFFFFF, which is
   what paper actually is; on the screen ground --paper #F8FBF9 each is about
   4% lower and still passes.                                             */
@media print {
  /* interactive chrome and the CTA band have no job on paper */
  .draw, .cta, .nav, .hdr__cta, .hmenu, .skip { display: none !important; }
  body { background: var(--white); color: var(--ink-2); }

  /* the masthead: the lockup, a hairline rule, nothing else. Not sticky —
     a sticky box in paged media lands unpredictably.
     cell edge --line-2 #838C84 3.47:1 (non-text, needs 3:1),
     chevron   --green  #046337 7.38:1,
     wordmark  --ink    #0E1913 17.99:1.                                   */
  .hdr { position: static; background: var(--white); border-bottom: 1px solid var(--line-2); }
  .hdr__in { min-height: 0; padding-block: 0.55rem; }

  /* the footer prints on paper, not on --ink, so the inverse modifier is
     re-pointed back at the light-ground pair — same one copy of the SVG, a
     third ground. The rest of the block goes into ink at the same time, or
     the registered entity, company number and address print blank.
     mark edge --line-2 #838C84 3.47:1, chevron --green #046337 7.38:1,
     wordmark and headings --ink #0E1913 17.99:1,
     blurb and links --ink-2 #434D47 8.78:1,
     legal block and copyright --ink-3 #626C66 5.45:1,
     rules --line-2 #838C84 3.47:1.                                        */
  .ftr { background: var(--white); color: var(--ink-2); }
  .ftr .logo__m--inv { --mark-edge: var(--line-2); --mark-fg: var(--green); }
  .ftr .logo__w, .ftr h2, .ftr__legal b, .ftr__legal span { color: var(--ink); }
  .ftr__l a { color: var(--ink-2); }
  .ftr__legal, .ftr__cr { color: var(--ink-3); }
  .ftr h2, .ftr__legal, .ftr__bot { border-color: var(--line-2); }

  .panel, .cell, .form { break-inside: avoid; }
}

/* ---------- no-JS: .draw is display:none until JS sets state, so a phone had no
   navigation at all. Render it in-flow and hide the MENU button. ---------- */
html:not(.js) .hmenu { display: none; }
html:not(.js) .draw {
  display: block; position: static; inset: auto; height: auto; overflow: visible;
}
/* Accordion panels are [hidden] until JS; show them so the children are reachable. */
html:not(.js) .mnav__p[hidden] { display: grid; }
html:not(.js) .mnav__x { display: none; }


/* ================================================================== *
   2026-10-09: de-templating pass. The engineering-register chrome (mono
   capitals on every label, "Fig. NN" captions, numbered nav and section
   counters, the graph-paper hero) read as generated. The copy, the green,
   the hairlines and the transfer figure stay; the theatre goes. Written as
   overrides so the earlier rules remain readable above.
 * ================================================================== */
.hero::before { display: none; }
.nav__a, .mnav__a { font-family: var(--font); font-size: 0.9375rem; font-weight: 500; letter-spacing: 0; text-transform: none; }
.mnav__a { font-size: 1.0625rem; }
.nav__n, .mnav__n, .eyebrow, .metrics, .cell__n, .shead__t { display: none; }
.lab, .nets__t, .kv dt, .crumb a, .crumb span, .ftr h2 {
  font-family: var(--font); font-size: var(--fs-sm); font-weight: 600;
  letter-spacing: 0; text-transform: none;
}
.crumb a, .crumb span { font-weight: 500; }
.ftr h2 { color: var(--on-ink-2); }
.shead { border-top: 1px solid var(--line-2); padding-top: 1.1rem; }
.fig__cap { font-family: var(--font); font-size: var(--fs-sm); font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--ink-3); }
.fig__cap::after { display: none; }
.tlink { font-family: var(--font); font-size: var(--fs-sm); font-weight: 600; letter-spacing: 0; text-transform: none; }
.half { max-width: 38rem; }
.prose--wide { max-width: 44rem; }
.reg__r, .reg--wide .reg__r, .reg--link .reg__r, .reg--job .reg__r { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1000px) { .reg--wide .reg__r { grid-template-columns: minmax(0, 20rem) minmax(0, 1fr); } }
@media (min-width: 800px) { .reg--link .reg__r, .reg--job .reg__r { grid-template-columns: minmax(0, 1fr) auto; } }
.nreg__r { grid-template-columns: minmax(0, 1fr); }
.nreg .panel__hd b { font-family: var(--font); font-size: var(--fs-sm); font-weight: 600; letter-spacing: 0; text-transform: none; }
.tbl th { font-family: var(--font); font-size: var(--fs-sm); font-weight: 600; letter-spacing: 0; text-transform: none; }
.tbl td { font-family: var(--font); font-size: var(--fs-sm); }
.ftr__legal b, .ftr__cr, .ftr__bot, .ftr__bot * { font-family: var(--font); letter-spacing: 0; text-transform: none; }
.ftr__legal b { font-weight: 600; }
.fig--wide { margin-top: clamp(2rem, 4vw, 3rem); }

/* contact form, live send (2026-10-09): sending and error states for the fetch
   handler in site.js, and the no-JS fallback targets contact.php redirects to. */
.form__static { display: none; padding: 0.85rem 1rem; margin-bottom: 1rem; border: 1px solid currentColor; border-radius: 6px; font-size: 0.9rem; }
.form__static:target { display: block; }
.form__err { display: none; gap: 0.6rem; align-items: flex-start; padding: 0.85rem 1rem; margin-bottom: 1rem; border: 1px solid currentColor; border-radius: 6px; font-size: 0.9rem; }
.form[data-sent='error'] .form__err { display: flex; }
.form[data-sent='sending'] button[type='submit'] { opacity: 0.65; cursor: progress; }
