/* Seldon Solutions, the Spec Sheet system (pick 280 a, TG 15352).
   One stylesheet for every page. Visible words live in the markup, never here.
   Grammar: every page is a drawing sheet. Live is inked (solid), Services are dimensioned (dashed),
   the Lab is pencil (hatched). Red is the message path and nothing else that shouts. */

/* 0. Type, self-hosted (pick 297 a): no request leaves the site for a font.
   The latin subsets of the two variable families, as published under the SIL Open Font License 1.1
   (notices in fonts/LICENSE.txt). The site uses Archivo at weights 400 to 800 and widths 100 to 125,
   Azeret Mono at 400 to 600; each file carries its family's full axes, declared here as they are. */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(fonts/archivo-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Azeret Mono";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(fonts/azeret-mono-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* 1. Tokens */
:root {
  --paper: #F2F2EE;
  --sheet: #F7F7F4;
  --ink: #1C1F22;
  --graphite: #565C63;
  --line: #C9CCC6;
  --pencil: #767C83;
  --signal: #C8321F;
  --on-signal: #FFFFFF;
  --hatch: rgba(28, 31, 34, .07);
  --kalimba: #506579;
  --cambialeon: #4CBB17;
  --quiqsim: #E84D2A;
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "Azeret Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 72px;
  --measure: 68ch;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #15171A;
    --sheet: #1A1D21;
    --ink: #E7E8E4;
    --graphite: #A3A9AF;
    --line: #2E3237;
    --pencil: #8C9298;
    --signal: #FF6A5C;
    --on-signal: #15171A;
    --hatch: rgba(231, 232, 228, .06);
    color-scheme: dark;
  }
}

/* 2. Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--display); font-variation-settings: "wdth" 100; font-size: 16px; line-height: 1.5;
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px));
}
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }
.wrap { max-width: 1200px; margin: 0 auto; }
.label { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 10; background: var(--ink); color: var(--sheet); padding: 10px 14px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 8px; }

/* 3. Header and the mark */
header.top { display: flex; align-items: center; justify-content: space-between; gap: 8px 24px; padding-block: 14px; flex-wrap: wrap; }
.mark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); min-height: 44px; }
.mark svg { width: 30px; height: 30px; flex: none; }
.mark .bars { fill: var(--ink); }
.mark .datum { fill: var(--signal); }
.mark b { font-weight: 800; font-size: 20px; font-variation-settings: "wdth" 125; letter-spacing: -.01em; }
.mark span { color: var(--graphite); font-size: 17px; }
nav.main { display: flex; gap: 4px 22px; align-items: center; flex-wrap: wrap; }
nav.main a { text-decoration: none; color: var(--graphite); padding-block: 10px; }
nav.main a:hover { color: var(--ink); }
.lang { display: inline-flex; align-items: center; gap: 2px; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.lang a, .lang span { padding: 10px 5px; text-decoration: none; color: var(--graphite); }
.lang [aria-current] { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.lang i { font-style: normal; color: var(--pencil); }

/* 4. The sheet (the drawing frame every page opens with) */
.sheet { position: relative; background: var(--sheet); border: 1.5px solid var(--ink); padding: 34px; }
.sheet::before { content: ""; position: absolute; inset: 8px; border: 1px solid var(--line); pointer-events: none; }
.zones { position: absolute; left: 0; right: 0; top: -1px; display: grid; grid-template-columns: repeat(6, 1fr); pointer-events: none; }
.zones span { font-family: var(--mono); font-size: 10px; color: var(--pencil); text-align: center; border-left: 1px solid var(--line); line-height: 9px; }
.zones span:first-child { border-left: 0; }
.rows { position: absolute; top: 0; bottom: 0; left: 0; width: 8px; display: grid; grid-template-rows: repeat(4, 1fr); pointer-events: none; }
.rows span { font-family: var(--mono); font-size: 9px; color: var(--pencil); display: grid; place-items: center; border-top: 1px solid var(--line); line-height: 1; }
.rows span:first-child { border-top: 0; }
.kicker { color: var(--signal); margin: 0; }

.titleblock { display: grid; grid-template-columns: 1.4fr 1.6fr 1fr 1.2fr; border: 1.5px solid var(--ink); background: var(--sheet); position: relative; }
.titleblock div { padding: 8px 12px; border-left: 1px solid var(--ink); display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.titleblock div:first-child { border-left: 0; }
.titleblock .label { color: var(--graphite); font-size: 10px; }
.titleblock strong { font-weight: 600; font-variation-settings: "wdth" 112; font-size: 15px; line-height: 1.3; }

/* 5. Actions */
.actions { display: flex; gap: 14px 22px; align-items: center; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px; background: var(--ink); color: var(--sheet); text-decoration: none; font-weight: 600; font-variation-settings: "wdth" 112; border: 1.5px solid var(--ink); transition: background .2s ease, color .2s ease, border-color .2s ease; }
.btn:hover { background: var(--signal); border-color: var(--signal); color: var(--on-signal); }
.quiet { color: var(--graphite); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; padding-block: 12px; }
.quiet:hover { color: var(--ink); }

/* 6. Home hero */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 32px; }
.hero .copy { position: relative; display: flex; flex-direction: column; gap: 22px; padding-top: 8px; }
.hero h1 { margin: 0; font-weight: 750; font-variation-settings: "wdth" 125; font-size: clamp(40px, 6.1vw, 82px); line-height: .94; letter-spacing: -.025em; text-wrap: balance; }
.lede { margin: 0; max-width: 38ch; font-size: 19px; line-height: 1.45; text-wrap: pretty; }
.hero .titleblock { grid-column: 1 / -1; margin-top: 4px; }

/* the drawing */
.drawing { position: relative; min-width: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.drawing svg { width: 100%; height: auto; display: block; overflow: visible; }
.drawing .v { display: none; max-width: 420px; margin-inline: auto; }
.drawing figcaption { color: var(--graphite); }
.drawing .box { fill: var(--sheet); stroke: var(--ink); stroke-width: 1.5; }
.drawing .box.end { stroke-width: 2.5; }
.drawing .boxtext { font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .06em; fill: var(--ink); }
.drawing .sub { font-family: var(--mono); font-size: 9.5px; letter-spacing: .03em; fill: var(--graphite); }
.drawing .path { fill: none; stroke: var(--signal); stroke-width: 2; }
.drawing .head { fill: var(--signal); }
.drawing .loop { fill: none; stroke: var(--ink); stroke-width: 1.25; stroke-dasharray: 6 5; }
.drawing .leader { stroke: var(--graphite); stroke-width: 1; fill: none; }
.drawing .balloon { fill: var(--sheet); stroke: var(--ink); stroke-width: 1.25; }
.drawing .bnum { font-family: var(--mono); font-size: 11px; font-weight: 600; fill: var(--ink); text-anchor: middle; dominant-baseline: central; }
.drawing .dim { stroke: var(--pencil); stroke-width: .8; fill: none; }
.drawing .grid { stroke: var(--line); stroke-width: .5; }
@media (prefers-reduced-motion: no-preference) {
  .drawing .path { stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 1.6s cubic-bezier(.6, 0, .2, 1) .2s forwards; }
  .drawing .head { opacity: 0; animation: appear .3s ease 1.6s forwards; }
  .drawing .loop { animation: loop 2.4s linear 1.8s 1; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes appear { to { opacity: 1; } }
@keyframes loop { from { stroke-dashoffset: 44; } to { stroke-dashoffset: 0; } }

.notes { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 6px 18px; margin: 0; padding: 0; list-style: none; }
.notes li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; font-size: 13.5px; line-height: 1.35; }
.notes li i, .balloon-n { font-style: normal; font-family: var(--mono); font-size: 11px; font-weight: 600; width: 20px; height: 20px; border: 1.25px solid var(--ink); border-radius: 50%; display: grid; place-items: center; flex: none; }
.notes b { font-weight: 650; }

/* 7. The tab strip and the three card families */
.work { margin-top: 48px; scroll-margin-top: 12px; }
.tablist { display: flex; border-bottom: 1.5px solid var(--ink); overflow-x: auto; scrollbar-width: none; }
.tablist[hidden] { display: none; }
.tab { appearance: none; background: none; border: 0; border-bottom: 3px solid transparent; margin: 0 22px -1.5px 0; padding: 14px 22px 12px 0; color: var(--graphite); font: inherit; font-weight: 650; font-variation-settings: "wdth" 120; font-size: 22px; cursor: pointer; display: flex; gap: 10px; align-items: baseline; white-space: nowrap; min-height: 48px; }
.tab .label { font-weight: 500; }
.tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--signal); }
.tab:hover { color: var(--ink); }
.panel { padding-block: 22px 8px; }
.panel > h2 { margin: 18px 0 6px; font-size: 22px; font-weight: 650; font-variation-settings: "wdth" 120; }
.js .panel > h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: 0; }
.panel > p { margin: 0 0 22px; color: var(--graphite); max-width: 72ch; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.cards.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { position: relative; padding: 18px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.card h3 { margin: 0; font-size: 24px; font-weight: 700; font-variation-settings: "wdth" 118; letter-spacing: -.01em; display: flex; align-items: center; gap: 10px; }
.card .by { margin: -8px 0 0; font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--graphite); }
.chip { width: 12px; height: 12px; display: inline-block; flex: none; }
.state { align-self: flex-start; font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 3px 7px; }
.card dl { margin: 0; display: grid; grid-template-columns: 74px 1fr; gap: 8px 12px; font-size: 14.5px; line-height: 1.4; }
.card dt { font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--graphite); padding-top: 3px; }
.card dd { margin: 0; min-width: 0; }
.card .go { margin-top: auto; font-family: var(--mono); font-size: 12px; letter-spacing: .04em; padding-block: 8px 0; align-self: flex-start; }
/* Live: an inked part drawing */
.card.live { background: var(--sheet); border: 1.5px solid var(--ink); }
.card.live .state { color: var(--signal); border: 1.5px solid var(--signal); }
/* Services: dimensioned, drawn to the client's spec */
.card.svc { border: 1px dashed var(--graphite); background: transparent; margin-top: 14px; }
.card.svc .dimline { position: absolute; left: -1px; right: -1px; top: -16px; height: 9px; border-left: 1px solid var(--pencil); border-right: 1px solid var(--pencil); pointer-events: none; }
.card.svc .dimline::before { content: ""; position: absolute; left: 0; right: 0; top: 4px; border-top: 1px solid var(--pencil); }
.card.svc .dimline span { position: absolute; left: 50%; top: 0; transform: translateX(-50%); background: var(--paper); padding: 0 8px; font-family: var(--mono); font-size: 9.5px; line-height: 9px; letter-spacing: .1em; text-transform: uppercase; color: var(--graphite); white-space: nowrap; }
.card.svc .state { color: var(--ink); border: 1px solid var(--ink); }
/* Lab: pencil, hatched, not live */
.card.lab { border: 1px solid var(--pencil); background: repeating-linear-gradient(135deg, var(--hatch) 0 1px, transparent 1px 9px); color: var(--graphite); }
.card.lab h3 { color: var(--graphite); font-weight: 600; }
.card.lab .state { color: var(--graphite); border: 1px solid var(--pencil); background: var(--paper); }
.card.lab p { margin: 0; font-size: 14.5px; line-height: 1.45; }

/* 8. Home sections after the tabs */
.band { margin-top: 72px; }
.band-head { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 0 18px; align-items: baseline; border-top: 1.5px solid var(--ink); padding-top: 14px; margin-bottom: 26px; }
.band-head .num { font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--signal); letter-spacing: .06em; }
.band-head h2 { margin: 0; font-size: clamp(28px, 3.4vw, 42px); font-weight: 720; font-variation-settings: "wdth" 122; letter-spacing: -.015em; line-height: 1.05; }
.band-head p { grid-column: 2; margin: 10px 0 0; color: var(--graphite); max-width: 64ch; }
.qualities { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border-left: 1px solid var(--line); }
.qualities li { padding: 4px 18px 6px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.qualities h3 { margin: 0; font-size: 18px; font-weight: 680; font-variation-settings: "wdth" 115; display: flex; gap: 10px; align-items: center; line-height: 1.2; }
.qualities p { margin: 0; font-size: 15px; line-height: 1.45; color: var(--ink); }
.band .more { display: inline-block; margin-top: 20px; font-family: var(--mono); font-size: 12px; letter-spacing: .04em; padding-block: 8px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: none; }
.steps li { border: 1px dashed var(--graphite); padding: 18px; display: flex; flex-direction: column; gap: 8px; position: relative; }
.steps .n { font-family: var(--mono); font-size: 34px; font-weight: 500; line-height: 1; color: var(--signal); letter-spacing: -.02em; }
.steps h3 { margin: 4px 0 0; font-size: 21px; font-weight: 700; font-variation-settings: "wdth" 118; }
.steps p { margin: 0; color: var(--ink); }
.dwglist { width: 100%; border-collapse: collapse; border: 1.5px solid var(--ink); background: var(--sheet); font-size: 15px; }
.dwglist th, .dwglist td { text-align: left; padding: 11px 14px; border-top: 1px solid var(--line); vertical-align: baseline; }
.dwglist thead th { border-top: 0; border-bottom: 1.5px solid var(--ink); font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--graphite); }
.dwglist td.no { font-family: var(--mono); font-size: 12px; color: var(--graphite); width: 64px; white-space: nowrap; }
.dwglist td.t a { font-weight: 650; font-variation-settings: "wdth" 112; text-decoration: none; }
.dwglist td.t a:hover { text-decoration: underline; }
.dwglist td.d { color: var(--graphite); }

/* 9. Inner pages */
.pagehead { display: grid; gap: 18px; }
.pagehead h1 { margin: 0; font-weight: 750; font-variation-settings: "wdth" 125; font-size: clamp(36px, 5.2vw, 68px); line-height: .98; letter-spacing: -.022em; text-wrap: balance; }
.pagehead .lede { max-width: 52ch; font-size: 20px; }
.pagehead .titleblock { margin-top: 6px; }
.doc { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 48px; margin-top: 44px; }
.doc-index { position: sticky; top: 16px; align-self: start; border-top: 1.5px solid var(--ink); padding-top: 12px; }
.doc-index .label { color: var(--graphite); margin: 0 0 8px; }
.doc-index ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.doc-index a { display: grid; grid-template-columns: 28px 1fr; text-decoration: none; color: var(--graphite); font-size: 14.5px; padding-block: 6px; }
.doc-index a:hover { color: var(--ink); }
.doc-index a span { font-family: var(--mono); font-size: 11px; padding-top: 2px; color: var(--pencil); }
.prose { min-width: 0; max-width: 760px; }
.prose section { border-top: 1.5px solid var(--ink); padding-top: 14px; margin-bottom: 44px; scroll-margin-top: 12px; }
.prose h2 { margin: 0 0 18px; font-size: clamp(24px, 2.6vw, 32px); font-weight: 720; font-variation-settings: "wdth" 120; letter-spacing: -.01em; line-height: 1.1; display: grid; grid-template-columns: 44px 1fr; align-items: baseline; }
.prose h2 .num { font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--signal); letter-spacing: .06em; }
.prose h3 { margin: 26px 0 8px; font-size: 18px; font-weight: 680; font-variation-settings: "wdth" 112; }
.prose p, .prose li, .prose dd { font-size: 17px; line-height: 1.6; max-width: var(--measure); }
.prose p { margin: 0 0 14px; }
.prose ul { margin: 0 0 16px; padding: 0; list-style: none; display: grid; gap: 10px; }
.prose ul > li { position: relative; padding-left: 22px; }
.prose ul > li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border: 1.25px solid var(--ink); }
.prose strong { font-weight: 650; }
.prose .pull { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.3; font-weight: 600; font-variation-settings: "wdth" 110; max-width: 34ch; margin: 0 0 14px; }
.facts { margin: 0; display: grid; grid-template-columns: 170px minmax(0, 1fr); border-top: 1px solid var(--line); }
.facts dt, .facts dd { padding: 12px 0; border-bottom: 1px solid var(--line); margin: 0; }
.facts dt { font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--graphite); padding-top: 16px; padding-right: 12px; }
.gennotes { border: 1px dashed var(--graphite); padding: 18px 20px 6px; background: transparent; }
.gennotes ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; counter-reset: gn; }
.gennotes li { display: grid; grid-template-columns: 34px 1fr; counter-increment: gn; }
.gennotes li::before { content: counter(gn, decimal-leading-zero); font-family: var(--mono); font-size: 11px; font-weight: 600; color: var(--graphite); padding-top: 5px; }
.callout { border: 1.5px solid var(--ink); background: var(--sheet); padding: 18px 20px; display: grid; gap: 12px; justify-items: start; }
.callout p { margin: 0; }

/* 10. Legal pages: the verbatim text in a restyled frame */
.legalnote { margin: 0 0 22px; color: var(--graphite); font-size: 14.5px; line-height: 1.45; }
.legal-doc { margin-top: 18px; grid-template-columns: 220px minmax(0, 1fr); }
.legal-doc .doc-index .kicker { margin: 0 0 8px; color: var(--signal); }
.doc-index a[aria-current="page"] { color: var(--ink); font-weight: 650; }
.doc-index a[aria-current="page"] span { color: var(--signal); }
.legal { background: var(--sheet); border: 1.5px solid var(--ink); padding: 34px clamp(18px, 4vw, 56px) 40px; position: relative; max-width: 940px; min-width: 0; }
.legal > .titleblock { margin-top: 30px; }
.legal::before { content: ""; position: absolute; inset: 8px; border: 1px solid var(--line); pointer-events: none; }
.legal h1 { margin: 6px 0 6px; font-weight: 750; font-variation-settings: "wdth" 122; font-size: clamp(30px, 4vw, 46px); line-height: 1.02; letter-spacing: -.018em; }
.legal .meta { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--graphite); margin: 0 0 28px; }
.legal h2 { margin: 36px 0 10px; font-size: 21px; font-weight: 700; font-variation-settings: "wdth" 115; line-height: 1.2; scroll-margin-top: 12px; }
.legal h3 { margin: 22px 0 8px; font-size: 16px; font-weight: 680; }
.legal p, .legal li { font-size: 16px; line-height: 1.65; max-width: 72ch; }
.legal p { margin: 0 0 14px; }
.legal ul, .legal ol { margin: 0 0 14px; padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal strong { font-weight: 650; }
.legal a { overflow-wrap: anywhere; }
.legal .highlight-box { border-left: 3px solid var(--signal); background: var(--paper); padding: 14px 18px; margin: 0 0 22px; font-size: 15.5px; line-height: 1.6; }
.legal .toc { border: 1px solid var(--line); background: var(--paper); padding: 16px 20px 8px; margin: 0 0 8px; }
.legal .toc h2 { margin: 0 0 8px; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--graphite); }
.legal .toc a { text-decoration: none; }
.legal .toc a:hover { text-decoration: underline; }
.legal table { width: 100%; border-collapse: collapse; margin: 16px 0 18px; font-size: 14px; table-layout: fixed; }
.legal th, .legal td { border: 1px solid var(--line); padding: 9px 10px; text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.legal th { font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--graphite); background: var(--paper); }
.legal code { font-family: var(--mono); font-size: 12.5px; background: var(--paper); border: 1px solid var(--line); padding: 1px 4px; }

/* 11. Footer: the drawing list, the legal sheets, the contact block (once per page) */
footer.site { margin-top: 88px; border-top: 1.5px solid var(--ink); padding-block: 34px 40px; font-size: 14.5px; }
footer.site .foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 28px 32px; margin-top: 40px; }
footer.site .label { color: var(--graphite); margin: 0 0 10px; font-size: 10px; }
footer.site ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
footer.site ul a { text-decoration: none; color: var(--ink); display: inline-block; padding-block: 5px; }
footer.site ul a:hover { text-decoration: underline; }
footer.site ul a[aria-current="page"] { font-weight: 650; text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: 2px; text-underline-offset: 4px; }
footer.site .tag { margin: 12px 0 0; color: var(--graphite); max-width: 30ch; }
footer.site .foot-meta { margin-top: 28px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; border-top: 1px solid var(--line); padding-top: 14px; color: var(--graphite); }
/* the contact block (pick 287 b): the company name and the form */
.contact-sheet { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 30px 48px; scroll-margin-top: 12px; }
.contact-intro { display: flex; flex-direction: column; gap: 10px; }
.contact-intro .kicker { margin: 0; }
.contact-intro h2 { margin: 0; font-size: clamp(26px, 3vw, 38px); font-weight: 720; font-variation-settings: "wdth" 122; letter-spacing: -.015em; line-height: 1.05; }
.contact-intro p:last-child { margin: 0; color: var(--graphite); max-width: 40ch; font-size: 16px; line-height: 1.5; }
.contact-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 18px; align-content: start; position: relative; }
.contact-form .wide { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--graphite); }
.field input, .field textarea { font: inherit; font-size: 16px; line-height: 1.4; color: var(--ink); background: var(--paper); border: 1.5px solid var(--ink); border-radius: 0; padding: 11px 12px; width: 100%; min-height: 48px; }
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; }
.hp { position: absolute !important; left: -10000px !important; top: auto; width: 1px; height: 1px; overflow: hidden; }
.consent { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 14.5px; line-height: 1.45; }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--signal); }
.form-actions { display: flex; align-items: center; gap: 12px 20px; flex-wrap: wrap; }
button.btn { cursor: pointer; font: inherit; font-weight: 600; font-variation-settings: "wdth" 112; }
button.btn:disabled { opacity: .55; cursor: progress; }
.form-status { margin: 0; font-size: 14.5px; color: var(--graphite); }
.contact-form.sent .form-status { color: var(--ink); font-weight: 600; }
.cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards.five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.sentpage { min-height: 320px; display: grid; gap: 18px; align-content: start; }

/* 12. Breakpoints */
@media (max-width: 1080px) {
  .qualities { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 22px; }
  .cards.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards.five { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  footer.site .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .sheet { padding: 26px 18px; }
  .hero { grid-template-columns: minmax(0, 1fr); }
  .zones, .rows { display: none; }
  .titleblock { grid-template-columns: 1fr 1fr; }
  .titleblock div:nth-child(3) { border-left: 0; }
  .titleblock div:nth-child(n+3) { border-top: 1px solid var(--ink); }
  .cards, .cards.four, .cards.two, .cards.five { grid-template-columns: minmax(0, 1fr); }
  .contact-sheet { grid-template-columns: minmax(0, 1fr); }
  .doc { grid-template-columns: minmax(0, 1fr); gap: 8px; margin-top: 32px; }
  .doc-index { position: static; }
  .doc-index ol { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
  .steps { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 639px) {
  .drawing .h { display: none; }
  .drawing .v { display: block; }
  .qualities { grid-template-columns: minmax(0, 1fr); border-left: 0; }
  .qualities li { border-right: 0; border-top: 1px solid var(--line); padding: 14px 0 0; }
  .band-head { grid-template-columns: minmax(0, 1fr); }
  .band-head .num { margin-bottom: 6px; }
  .band-head p { grid-column: 1; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .facts dt { border-bottom: 0; padding-bottom: 0; }
  .prose h2 { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  footer.site .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .contact-form { grid-template-columns: minmax(0, 1fr); }
  .dwglist td.d, .dwglist thead th:nth-child(3) { display: none; }
}
@media (max-width: 560px) {
  nav.main { gap: 0 14px; font-size: 15px; }
  .lede { font-size: 17px; }
  .pagehead .lede { font-size: 18px; }
  .tab { font-size: 18px; margin-right: 14px; padding-right: 6px; }
  .card dl { grid-template-columns: 64px 1fr; }
  .legal { padding-inline: 18px; }
  .legal table { display: block; overflow-x: auto; }
  .legal th { white-space: nowrap; }
  .legal th, .legal td { padding: 7px 8px; font-size: 12.5px; overflow-wrap: normal; }
}
/* 14. Site 1.1: the turning card in the hero, the general arrangement in the engine band.
   The card brings its own scoped style (every class ecard-); these rules only place it. */
.hero-card { margin: 0; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 16px; padding-top: 8px; }
.hero-card figcaption { color: var(--graphite); text-align: center; max-width: 400px; }
.engine-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 28px 40px; align-items: start; }
.engine-grid .engine-dwg { padding: 30px 28px 24px; }
.engine-grid .qualities { grid-template-columns: minmax(0, 1fr); border-left: 0; gap: 0; row-gap: 0; }
.engine-grid .qualities li { border-right: 0; border-top: 1px solid var(--line); padding: 14px 0 16px; }
.engine-grid .qualities li:first-child { border-top: 1.5px solid var(--ink); }
@media (max-width: 900px) {
  .engine-grid { grid-template-columns: minmax(0, 1fr); }
  .engine-grid .engine-dwg { padding: 24px 16px 18px; }
}
/* Below 720 px the card takes the column's width (above it, 400 px centred). */
@media (max-width: 719px) {
  .hero-card .ecard .ecard-btn { width: 100%; }
}

@media print {
  header.top nav, .tablist, .skip { display: none !important; }
  .panel[hidden] { display: block !important; }
  body { background: #fff; }
}

/* 13. Product chips: each product's own colour, a small mark only */
.chip-kalimba { background: var(--kalimba); }
.chip-cambialeon { background: var(--cambialeon); }
.chip-quiqsim { background: var(--quiqsim); }
