/* H.O.B. Ltd. One stylesheet: nothing imported, no external requests, no inline styles anywhere (the CSP forbids them).
 *
 * Colours: every text/background pair and every border a person needs to see is checked by tests/test_hob_site.py against the hex
 * values in :root, so change a colour here and the test says whether it still passes WCAG AA (text 4.5:1, borders and focus 3:1).
 * --rule is the one deliberately faint colour: it only draws decorative dividers, never the edge of something you must find.
 */

@font-face {
  font-family: "Schibsted Grotesk";
  src: url("../fonts/schibsted-grotesk.e3b56e9051.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Martian Mono";
  src: url("../fonts/martian-mono.68af56c335.woff2") format("woff2");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-italic-display.85bcf2e6e0.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --bg: #0A162E;
  --panel: #0F1D38;
  --rule: #2F3D58;
  --edge: #6F7FA0;
  --text: #F5F3EF;
  --muted: #B3BED2;
  --straw: #F2C36A;
  --straw-hover: #F7D88E;
  --error: #F98A74;
  --paper: #F1EEE6;
  --paper-ink: #0A162E;
  --paper-muted: #43506B;
  --paper-accent: #9A4222;
  --paper-edge: #6C778C;
  --placeholder: #8895AF;
  --sans: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Martian Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --pad: clamp(18px, 3.4vw, 56px);
  --max: 1360px;   /* the widest the content, the header and the footer ever get; backgrounds still run edge to edge */
  --focus: var(--straw);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 0.18em; }
a:hover { color: var(--straw); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
h1, h2, h3, p, ul, ol, figure, address, dl { margin: 0; }
ul, ol { padding: 0; list-style: none; }
address { font-style: normal; }
input::placeholder, textarea::placeholder { color: var(--placeholder); opacity: 1; }

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; padding: 12px 18px; background: var(--straw); color: var(--bg); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; color: var(--bg); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.mono { font-family: var(--mono); }
.icon { flex: none; vertical-align: -0.12em; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }
.stack { display: flex; flex-direction: column; gap: clamp(20px, 2.4vw, 36px); }

/* ---- type ---- */
.eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--straw); line-height: 1.5; }
.display { font-weight: 600; font-size: clamp(40px, 5.7vw, 96px); line-height: 0.98; letter-spacing: -0.04em; text-wrap: balance; }
.display--medium { font-size: clamp(34px, 4.4vw, 68px); line-height: 1.02; }
.display--huge { font-size: clamp(64px, 11vw, 176px); line-height: 0.9; padding-top: 0.1em; }
.display--serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.03em; }
.display__em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--straw); letter-spacing: -0.03em; }
.lead { max-width: 52ch; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.55; color: var(--muted); text-wrap: pretty; }
.h2 { font-weight: 600; font-size: clamp(30px, 3.8vw, 60px); line-height: 1; letter-spacing: -0.035em; text-wrap: balance; }
.h2--small { font-size: clamp(24px, 2.6vw, 38px); letter-spacing: -0.03em; }
.h3 { font-weight: 600; font-size: 22px; line-height: 1.2; letter-spacing: -0.02em; }
.note { max-width: 62ch; font-size: 14px; line-height: 1.55; color: var(--muted); }
.prose { display: flex; flex-direction: column; gap: 18px; max-width: 62ch; color: var(--muted); }
.prose .h3 { color: var(--text); margin-top: 8px; }
.prose--legal { max-width: 70ch; }
.prose--legal p, .bullets li { line-height: 1.65; }
.prose a { color: var(--text); }
.band--paper .prose a { color: var(--paper-ink); }
.bullets { display: flex; flex-direction: column; gap: 10px; padding-left: 1.2em; list-style: disc; }
.bullets strong { color: var(--text); font-weight: 600; }

/* ---- bands (page sections) ---- */
.band { padding: clamp(48px, 6.4vw, 112px) var(--pad); }
.band > .container { padding-inline: 0; }
.band--tight { padding-block: clamp(32px, 4vw, 64px); }
.band--rule { padding: 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.band--rule > .figures { max-width: calc(var(--max) + 2 * var(--pad)); margin-inline: auto; }
.band--panel { background: var(--panel); border-top: 1px solid var(--rule); }
.band--paper { --focus: var(--paper-ink); background: var(--paper); color: var(--paper-ink); }
.band--paper a:hover { color: var(--paper-accent); }
.band--paper .eyebrow { color: var(--paper-accent); }
.band--paper .lead, .band--paper .note, .band--paper .prose, .band--paper .section-head__aside { color: var(--paper-muted); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 64px; }
.section-head > div { display: flex; flex-direction: column; gap: 18px; flex: 1 1 420px; }
.section-head--narrow > div { flex-basis: 640px; }
.section-head__aside { flex: 1 1 320px; max-width: 46ch; color: var(--muted); line-height: 1.55; font-size: 16px; }

.page-hero { padding: clamp(48px, 6.4vw, 112px) var(--pad) clamp(40px, 5vw, 88px); border-bottom: 1px solid var(--rule); }
.page-hero > .container { padding-inline: 0; }
.page-hero--short { padding-bottom: clamp(32px, 4vw, 64px); }
.page-hero__grid { display: grid; gap: 28px clamp(32px, 6vw, 112px); align-items: end; }
.page-hero__grid > div { display: flex; flex-direction: column; align-items: flex-start; gap: clamp(20px, 2vw, 32px); }
.page-hero--about { background: var(--panel); }
@media (min-width: 960px) { .page-hero__grid { grid-template-columns: 7fr 5fr; } }

.split { display: grid; gap: 28px clamp(32px, 6vw, 112px); align-items: start; }
.split__head { display: flex; flex-direction: column; gap: 18px; }
@media (min-width: 960px) { .split { grid-template-columns: 5fr 7fr; } .split--top { grid-template-columns: 1fr 1fr; } }

/* ---- links and buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 54px; padding: 0 24px; border: 1px solid transparent; border-radius: 2px;
  font: inherit; font-size: 17px; font-weight: 600; text-decoration: none; cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s; }
.btn:active { transform: scale(0.98); }
.btn--primary { background: var(--straw); color: var(--bg); }
.btn--primary:hover { background: var(--straw-hover); color: var(--bg); }
.btn--secondary { border-color: var(--edge); background: transparent; color: var(--text); font-weight: 500; }   /* transparent: a <button> would otherwise get the browser's light grey */
.btn--secondary:hover { border-color: var(--straw); color: var(--straw); }
.btn--small { min-height: 44px; padding: 0 16px; font-size: 15px; }
.btn--big { min-height: 60px; padding: 0 32px; }
.btn[disabled] { opacity: 0.7; cursor: progress; }
.textlink { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--edge); align-self: flex-start; }
.textlink:hover { border-color: var(--straw); }
.textlink--paper { border-color: var(--paper-edge); }
.band--paper .textlink:hover { border-color: var(--paper-accent); }
.phone { font-family: var(--mono); font-size: 14px; text-decoration: none; letter-spacing: 0; }
.phone--big { font-size: clamp(20px, 2.2vw, 28px); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.actions__or { color: var(--muted); font-size: 15px; }

/* ---- header ---- */
.site-header { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; padding: 14px max(var(--pad), calc((100% - var(--max)) / 2)); border-bottom: 1px solid var(--rule); background: var(--bg); }
.logo { display: flex; align-items: center; gap: 14px; text-decoration: none; min-height: 44px; }
.logo__mark { font-weight: 800; font-size: 24px; line-height: 1; letter-spacing: -0.03em; }
.logo__tag { display: none; font-family: var(--mono); font-size: 9.5px; line-height: 1.35; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.nav--wide { display: none; }
.nav ul { display: flex; gap: clamp(18px, 2.2vw, 36px); }
.nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font-size: 15px; font-weight: 500; text-decoration: none; white-space: nowrap; transition: color 0.15s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--straw); }
.nav__group { position: relative; }
.nav summary { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--muted); font-size: 15px; font-weight: 500; white-space: nowrap; cursor: pointer; list-style: none; transition: color 0.15s; }
.nav summary::-webkit-details-marker { display: none; }
.nav summary::after { content: ""; width: 6px; height: 6px; margin-top: -4px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg); transition: transform 0.15s, margin 0.15s; }
.nav details[open] > summary, .nav summary:hover { color: var(--text); }
.nav details[open] > summary::after { margin-top: 3px; transform: rotate(-135deg); }
.nav__drop--current > summary { color: var(--text); box-shadow: inset 0 -2px 0 var(--straw); }
.nav .nav__sub { position: absolute; top: 100%; left: -16px; z-index: 40; display: block; min-width: 248px; padding: 8px; background: var(--panel); border: 1px solid var(--edge); border-radius: 2px; }
.nav .nav__sub a { display: flex; width: 100%; padding: 0 16px; font-size: 15px; box-shadow: none; }
.nav .nav__sub a:hover, .nav .nav__sub a[aria-current="page"] { background: var(--bg); color: var(--text); }
.nav .nav__sub a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--straw); }
.site-header__actions { display: flex; align-items: center; gap: 14px; }
.phone--header { display: none; }

.menu summary { list-style: none; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; min-width: 44px; padding: 0 12px; border: 1px solid var(--edge); border-radius: 2px; cursor: pointer; font-size: 15px; font-weight: 600; }
.menu summary::-webkit-details-marker { display: none; }
.menu__icon { position: relative; width: 18px; height: 12px; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; }
.menu__icon::after { content: ""; position: absolute; left: 0; right: 0; top: 3px; border-top: 2px solid currentColor; }
.menu[open] summary { border-color: var(--straw); color: var(--straw); }
.menu__panel { position: absolute; left: 0; right: 0; top: 100%; z-index: 30; padding: 8px var(--pad) 24px; background: var(--bg); border-bottom: 1px solid var(--rule); }
.menu__panel ul { display: flex; flex-direction: column; }
.menu__panel a { display: block; padding: 16px 0; border-bottom: 1px solid var(--rule); font-size: 26px; font-weight: 600; letter-spacing: -0.02em; text-decoration: none; }
.menu__panel a[aria-current="page"] { color: var(--straw); }
.menu__group-label { margin: 0; padding: 18px 0 4px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.menu__group ul { padding-left: 14px; border-left: 2px solid var(--rule); }
.menu__group a { font-size: 22px; padding: 12px 0; }
.menu__panel .menu__phone { border-bottom: 0; padding-top: 20px; color: var(--straw); font-family: var(--mono); font-size: 14px; font-weight: 400; letter-spacing: 0; }
/* The logo, five menu items, the phone number and the quote button need about 950 px (measured 14 Oct): the full bar starts at 1000 px, below that the Menu button. */
@media (min-width: 1000px) {
  .nav--wide { display: block; }
  .menu { display: none; }
  .phone--header { display: inline; }
  .logo__tag { display: block; }
}

/* ---- footer ---- */
.site-footer { border-top: 1px solid var(--rule); padding: 36px var(--pad) 48px; background: var(--bg); }
.site-footer__inner { max-width: var(--max); margin-inline: auto; display: flex; flex-direction: column; gap: 16px; font-size: 14px; color: var(--muted); }
.site-footer__trust { max-width: 80ch; }
.site-footer__nav ul { display: flex; flex-wrap: wrap; gap: 0 22px; }
.site-footer__nav a { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer a { text-underline-offset: 0.2em; }

/* ---- home: hero and envelope ---- */
.hero { padding: clamp(40px, 5.6vw, 112px) var(--pad) clamp(48px, 6vw, 112px); }
.hero__grid { display: grid; gap: clamp(36px, 5vw, 88px); align-items: center; padding-inline: 0; }
.hero__text { display: flex; flex-direction: column; align-items: flex-start; gap: clamp(22px, 2.4vw, 36px); min-width: 0; }
.hero__contact { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; font-size: 14px; color: var(--muted); }
.hero__contact .phone { color: var(--text); font-size: 13px; }
@media (min-width: 960px) { .hero__grid { grid-template-columns: 6fr 5fr; } }

.envelope { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.envelope figcaption { font-family: var(--mono); font-size: 10px; line-height: 1.6; letter-spacing: 0.02em; color: var(--muted); text-align: center; max-width: 46ch; margin-inline: auto; }
.envelope__art { position: relative; width: 100%; max-width: 580px; aspect-ratio: 1 / 1; margin-inline: auto; }
.envelope__art > span { position: absolute; }
.envelope__square { inset: 11%; border: 1px solid var(--edge); }
.envelope__turn { inset: 11%; border: 1px solid var(--straw); border-radius: 50%; }
.envelope__ticks { inset: 11%; border-radius: 50%; opacity: 0.6;
  background: repeating-conic-gradient(var(--straw) 0deg 0.5deg, transparent 0.5deg 6deg);
  -webkit-mask: radial-gradient(closest-side, transparent calc(100% - 12px), #000 calc(100% - 11px));
  mask: radial-gradient(closest-side, transparent calc(100% - 12px), #000 calc(100% - 11px)); }
.envelope__inner { inset: 30%; border: 1px dashed var(--edge); border-radius: 50%; }
.envelope__axis--h { left: 4%; right: 4%; top: 50%; border-top: 1px dashed var(--edge); }
.envelope__axis--v { top: 4%; bottom: 4%; left: 50%; border-left: 1px dashed var(--edge); }
.envelope__centre { left: 50%; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border: 1px solid var(--text); border-radius: 50%; }
.envelope__dim { left: 11%; right: 11%; top: 3%; display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 10px; color: var(--muted); }
.envelope__dim i { width: 1px; height: 10px; background: var(--muted); }
.envelope__dim b { flex: 1; height: 1px; background: var(--edge); }
.envelope__label { font-family: var(--mono); font-size: 10px; line-height: 1.4; color: var(--muted); }
.envelope__label--turn { left: 54%; top: 15.5%; padding: 2px 6px; font-size: 11px; color: var(--straw); background: var(--bg); }
.envelope__label--mill { right: 12.5%; bottom: 12.5%; text-align: right; }
.envelope__label--weight { left: 52%; top: 52.5%; color: var(--text); }
@media (prefers-reduced-motion: no-preference) {
  .envelope__ticks { animation: spin 120s linear infinite; }
  @keyframes spin { to { transform: rotate(360deg); } }
}

/* ---- at a glance ---- */
.figures { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--rule); }
.figures li { display: flex; flex-direction: column; gap: 6px; padding: 22px var(--pad); background: var(--bg); }
.figures li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.figures__num { font-family: var(--mono); font-weight: 300; font-size: clamp(28px, 3.2vw, 52px); line-height: 1; letter-spacing: -0.04em; color: var(--text); }
.figures__label { font-size: 13px; line-height: 1.4; color: var(--muted); }
@media (min-width: 900px) { .figures { grid-template-columns: repeat(5, 1fr); } .figures li:last-child:nth-child(odd) { grid-column: auto; } }
.band--paper .figures { background: var(--paper-edge); }
.container .figures { margin-top: 8px; border: 1px solid var(--rule); }

/* ---- the part check ---- */
.fit { background: var(--panel); }
.fit__inner { display: flex; flex-direction: column; gap: clamp(28px, 3.6vw, 56px); padding-inline: 0 !important; }
.fit__app { display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.fit__form, .fit__result { background: var(--bg); padding: clamp(20px, 2.6vw, 40px); min-width: 0; }
.fit__form { display: flex; flex-direction: column; gap: 26px; }
.fit__result { display: flex; flex-direction: column; gap: 24px; }
@media (min-width: 960px) { .fit__app { grid-template-columns: 4fr 7fr; } }
.fit__switches { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; }
.seg { display: flex; gap: 3px; margin: 0; padding: 3px; border: 1px solid var(--edge); border-radius: 3px; min-width: 0; }
.seg__opt { position: relative; display: block; }
.seg__opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.seg__opt span { display: flex; align-items: center; justify-content: center; min-height: 40px; min-width: 48px; padding: 0 16px; border-radius: 2px; font-size: 15px; font-weight: 600; color: var(--muted); transition: background 0.2s, color 0.2s; }
.seg--mono .seg__opt span { padding: 0 12px; font-family: var(--mono); font-size: 12px; font-weight: 400; }
.seg__opt input:checked + span { background: var(--straw); color: var(--bg); }
.seg__opt input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.seg__opt:hover input:not(:checked) + span { color: var(--text); }
.fit__group { display: flex; flex-direction: column; gap: 26px; }
.fit__hint { font-size: 13px; line-height: 1.5; color: var(--muted); }

.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label, .field__label { font-size: 14px; font-weight: 500; color: var(--muted); }
.req { font-weight: 400; color: var(--muted); }
.field__row { display: flex; align-items: baseline; gap: 12px; border-bottom: 1px solid var(--edge); }
.field__row:focus-within { border-bottom-color: var(--straw); box-shadow: 0 1px 0 0 var(--straw); }
.field--big input { flex: 1; min-width: 0; padding: 6px 0 10px; border: 0; background: transparent; color: var(--text); font-family: var(--mono); font-size: clamp(24px, 2.2vw, 32px); font-weight: 400; outline: none; }
.field--big input[aria-invalid="true"] { color: var(--error); }
.field__unit { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.field__error { font-size: 13px; line-height: 1.4; color: var(--error); }

.verdict { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 20px; }
.verdict__count { font-family: var(--mono); font-weight: 300; font-size: clamp(48px, 5.2vw, 84px); line-height: 0.9; letter-spacing: -0.04em; color: var(--straw); }
.verdict__text { flex: 1 1 220px; font-size: clamp(19px, 1.6vw, 24px); font-weight: 500; line-height: 1.25; letter-spacing: -0.015em; text-wrap: balance; }
[data-tone="prompt"] .verdict__text { color: var(--muted); }
[data-tone="talk"] .verdict__count { color: var(--error); }
.fit__note { max-width: 56ch; padding: 12px 16px; border-left: 2px solid var(--straw); background: var(--panel); font-size: 15px; line-height: 1.45; color: var(--text); }
[data-fit-notes]:empty { display: none; }

.machines { display: flex; flex-direction: column; border-top: 1px solid var(--rule); }
.machine { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; gap: 8px 20px; padding: 13px 0; border-bottom: 1px solid var(--rule); }
.machine__head { display: flex; align-items: center; gap: 12px; }
.machine__dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--edge); transition: background 0.25s; }
.machine__names { display: flex; flex-direction: column; gap: 3px; }
.machine__name { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.machine__spec { font-family: var(--mono); font-size: 10.5px; color: var(--muted); }
.machine__bars { display: flex; flex-direction: column; gap: 6px; }
.bar { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 10px; color: var(--muted); }
.bar__label { width: 18px; }
.bar__track { position: relative; flex: 1; height: 3px; overflow: hidden; background: var(--rule); }
.bar__fill { position: absolute; left: 0; top: 0; bottom: 0; background: var(--straw); transition: width 0.35s cubic-bezier(0.2, 0.7, 0.1, 1), background 0.25s; }
.bar__fill--over { background: var(--error); }
.bar__pct { width: 44px; text-align: right; }
.machine__status { font-size: 13px; color: var(--muted); }
.machine--fits .machine__dot { background: var(--straw); }
.machine--fits .machine__status { color: var(--text); }
.machine--beyond .machine__name { color: var(--muted); font-weight: 500; }
.machine--beyond .bar__fill { opacity: 0.55; }
@media (min-width: 720px) { .machine { grid-template-columns: minmax(170px, 1fr) minmax(200px, 2fr) 150px; } .machine__status { text-align: right; } }
.fit__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding-top: 8px; }
.fit__or { color: var(--muted); font-size: 15px; }
.fit__fallback { display: flex; flex-direction: column; gap: 18px; max-width: 62ch; color: var(--muted); }

/* ---- photos ---- */
.photos { display: grid; gap: clamp(16px, 2vw, 28px); }
@media (min-width: 720px) { .photos { grid-template-columns: repeat(2, 1fr); } .photos--three { grid-template-columns: repeat(3, 1fr); } }
.photo { display: flex; flex-direction: column; gap: 10px; }
.photo__zoom { position: relative; display: block; cursor: zoom-in; }
.photo__zoom::after { content: ""; position: absolute; right: 10px; bottom: 10px; width: 36px; height: 36px; pointer-events: none;
  border: 1px solid var(--edge); border-radius: 2px;
  background:
    linear-gradient(var(--text), var(--text)) center / 14px 2px no-repeat,
    linear-gradient(var(--text), var(--text)) center / 2px 14px no-repeat,
    color-mix(in srgb, var(--bg) 80%, transparent); }
.photo__zoom:hover::after { border-color: var(--straw); }
.photo__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--panel); }
.photos--four { grid-template-columns: 1fr; }
@media (min-width: 720px) { .photos--four { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1240px) { .photos--four { grid-template-columns: repeat(4, 1fr); } }
/* five photographs: three across, then two wider ones (the last two get half the row each) */
.photos--five { grid-template-columns: 1fr; }
@media (min-width: 720px) { .photos--five { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1240px) { .photos--five { grid-template-columns: repeat(6, 1fr); } .photos--five > * { grid-column: span 2; } .photos--five > :nth-child(n+4) { grid-column: span 3; } }

/* the full-screen viewer (lightbox.js builds it the first time a photo is opened) */
.lightbox { box-sizing: border-box; width: 100vw; max-width: 100vw; height: 100vh; height: 100dvh; max-height: 100dvh; margin: 0; padding: 0; border: 0; background: var(--bg); color: var(--text); }
.lightbox::backdrop { background: var(--bg); }
.lightbox__stage { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 12px; height: 100%; padding: 14px var(--pad) 16px; }
.lightbox__close { justify-self: end; }
.lightbox__figure { display: grid; place-items: center; min-width: 0; min-height: 0; }
.lightbox__img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.lightbox__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; }
.lightbox__step { flex: none; }
.lightbox__caption { display: flex; flex: 1 1 auto; flex-wrap: wrap; justify-content: center; gap: 4px 16px; text-align: center; font-family: var(--mono); font-size: 11px; line-height: 1.5; color: var(--muted); }
.lightbox__count { color: var(--straw); }
html.lightbox-open { overflow: hidden; }
@media (max-width: 560px) { .lightbox__bar { flex-wrap: wrap; } .lightbox__caption { order: -1; flex-basis: 100%; } .lightbox__step { flex: 1 1 0; } }
.photo__caption { font-family: var(--mono); font-size: 10.5px; line-height: 1.5; color: var(--muted); }
.band--paper .photo__caption { color: var(--paper-muted); }

/* ---- pillars, story, timeline ---- */
.pillars { display: grid; gap: 1px; background: var(--paper-edge); border: 1px solid var(--paper-edge); }
.pillars li { display: flex; flex-direction: column; gap: 10px; padding: 26px 24px 30px; background: var(--paper); }
.pillars__no { font-family: var(--mono); font-size: 12px; color: var(--paper-accent); }
.pillars__h { font-weight: 600; font-size: 22px; line-height: 1.15; letter-spacing: -0.02em; }
.pillars p { color: var(--paper-muted); font-size: 16px; }
@media (min-width: 720px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .pillars { grid-template-columns: repeat(4, 1fr); } }

.story__grid { display: grid; gap: 28px clamp(32px, 6vw, 112px); align-items: end; }
@media (min-width: 960px) { .story__grid { grid-template-columns: 5fr 7fr; } }
.story__list { display: flex; flex-direction: column; gap: 22px; }
.story .display--serif { font-size: clamp(56px, 9vw, 140px); }
.timeline { display: flex; flex-direction: column; border-top: 1px solid var(--rule); }
.timeline li { display: grid; grid-template-columns: 92px 1fr; gap: 6px 20px; padding: 20px 0; border-bottom: 1px solid var(--rule); color: var(--muted); }
.timeline__when { font-family: var(--mono); font-size: 14px; color: var(--straw); }
.timeline li > span:last-child { color: var(--text); max-width: 62ch; }
.timeline--compact li { padding: 14px 0; font-size: 16px; }
.band--paper .timeline { border-color: var(--paper-edge); }
@media (min-width: 720px) { .timeline li { grid-template-columns: 140px 1fr; } }

/* ---- people, cards, tables ---- */
.people { display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.people li { display: flex; flex-direction: column; gap: 4px; padding: 20px 24px; background: var(--bg); }
.band--panel .people li { background: var(--panel); }
.people__name { font-weight: 600; font-size: 20px; letter-spacing: -0.015em; }
.people__role { font-family: var(--mono); font-size: 12px; color: var(--muted); }
@media (min-width: 720px) { .people:not(.people--stacked) { grid-template-columns: repeat(3, 1fr); } }

.cards { display: grid; gap: 1px; background: var(--paper-edge); border: 1px solid var(--paper-edge); }
.cards li { display: flex; flex-direction: column; gap: 8px; padding: 22px 24px 26px; background: var(--paper); }
.cards h3 { font-weight: 600; font-size: 20px; letter-spacing: -0.015em; }
.cards p { color: var(--paper-muted); font-size: 16px; }
@media (min-width: 720px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .cards { grid-template-columns: repeat(4, 1fr); } }

.table-wrap { overflow-x: auto; border: 1px solid var(--rule); }
.table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; }
.table th, .table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--rule); vertical-align: baseline; }
.table thead th { font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); background: var(--panel); }
.table tbody th { font-weight: 600; }
.table .num { font-family: var(--mono); font-size: 13px; white-space: nowrap; }
.table tbody tr:last-child > * { border-bottom: 0; }

.callout { display: flex; flex-direction: column; gap: 10px; padding: 20px 24px; border: 1px solid var(--edge); background: var(--panel); }
.callout--wide { padding: 28px clamp(22px, 3vw, 40px); gap: 14px; }
.callout__text { font-family: var(--mono); font-size: 15px; color: var(--text); }
.cta-band { padding-block: clamp(36px, 4.6vw, 72px); }
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; padding-inline: 0; }
.contact-strip { padding-block: clamp(36px, 4.6vw, 72px); }
.contact-strip__grid { display: grid; gap: 28px 32px; align-items: start; padding-inline: 0; }
.contact-strip__grid > div { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.contact-strip__label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.contact-strip address { font-size: 15px; line-height: 1.55; }
@media (min-width: 720px) { .contact-strip__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .contact-strip__grid { grid-template-columns: 1.2fr 1fr 1.3fr 1fr; } }
.contact-grid { display: grid; gap: 40px clamp(32px, 5vw, 80px); padding-inline: 0; }
.address { font-size: 20px; line-height: 1.5; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---- request a quote ---- */
.rfq-layout { display: grid; gap: clamp(32px, 4vw, 72px); padding-inline: 0; align-items: start; }
@media (min-width: 1000px) { .rfq-layout { grid-template-columns: minmax(0, 7fr) minmax(280px, 3fr); } }
.rfq { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.fieldset { display: flex; flex-direction: column; gap: 20px; margin: 0; padding: clamp(20px, 2.4vw, 32px); border: 1px solid var(--rule); min-width: 0; }
.fieldset legend { padding: 0 10px; margin-left: -10px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--straw); }
.grid-2 { display: grid; gap: 20px; }
@media (min-width: 720px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
.rfq .field input[type="text"], .rfq .field input[type="email"], .rfq .field input[type="tel"], .rfq textarea, .rfq select {
  width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--edge); border-radius: 2px; background: var(--bg); color: var(--text); font: inherit; font-size: 17px; }
.rfq textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.rfq select { cursor: pointer; }
.band--panel .rfq .field input[type="text"], .band--panel .rfq .field input[type="email"], .band--panel .rfq .field input[type="tel"], .band--panel .rfq textarea, .band--panel .rfq select { background: var(--bg); }
.textlinks { display: flex; flex-wrap: wrap; gap: 4px 28px; }
.rfq input.mono { font-family: var(--mono); font-size: 15px; }
.rfq .field input:focus, .rfq textarea:focus, .rfq select:focus, .rfq input[type="file"]:focus { outline: 2px solid var(--straw); outline-offset: 1px; border-color: var(--straw); }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; display: block; }
.choice input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.choice span { display: flex; align-items: center; min-height: 48px; padding: 0 20px; border: 1px solid var(--edge); border-radius: 2px; font-size: 16px; font-weight: 500; color: var(--muted); transition: background 0.2s, color 0.2s, border-color 0.2s; }
.choice input:checked + span { border-color: var(--straw); background: var(--straw); color: var(--bg); font-weight: 600; }
.choice input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 3px; }
.upload { display: flex; flex-direction: column; gap: 12px; }
.upload__label { font-size: 14px; font-weight: 500; color: var(--muted); }
.rfq input[type="file"] { width: 100%; padding: 14px; border: 1px dashed var(--edge); border-radius: 2px; background: var(--bg); color: var(--text); font: inherit; font-size: 15px; }
.rfq input[type="file"]::file-selector-button { margin-right: 14px; padding: 10px 16px; border: 1px solid var(--edge); border-radius: 2px; background: var(--panel); color: var(--text); font: inherit; font-weight: 600; cursor: pointer; }
.upload__hint { font-size: 13px; color: var(--muted); }
.files { display: flex; flex-direction: column; border-top: 1px solid var(--rule); }
.files li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: 15px; word-break: break-word; }
.files__size { font-family: var(--mono); font-size: 12px; color: var(--muted); white-space: nowrap; }
.rfq-aside { display: flex; flex-direction: column; gap: 32px; }
.steps { display: flex; flex-direction: column; gap: 12px; margin-top: 14px; padding-left: 0; counter-reset: step; color: var(--muted); }
.steps li { position: relative; padding-left: 38px; counter-increment: step; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 26px; height: 26px; display: grid; place-items: center; border: 1px solid var(--edge); border-radius: 50%; font-family: var(--mono); font-size: 12px; color: var(--straw); }
.aside-contact { display: flex; flex-direction: column; gap: 8px; padding: 20px 24px; border: 1px solid var(--rule); font-size: 15px; color: var(--muted); }
.aside-contact .phone { color: var(--text); font-size: 15px; word-break: break-all; }

/* ---- certificates and dated facts ---- */
.certs { display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.certs li { display: flex; flex-direction: column; gap: 10px; padding: 24px clamp(20px, 2.4vw, 32px) 26px; background: var(--bg); }
.band--paper .certs { background: var(--paper-edge); border-color: var(--paper-edge); }
.band--paper .certs li { background: var(--paper); }
.certs__std { font-family: var(--mono); font-weight: 400; font-size: 20px; letter-spacing: -0.01em; color: var(--straw); }
.band--paper .certs__std { color: var(--paper-accent); }
.certs__scope { font-size: 14px; color: var(--muted); }
.band--paper .certs__scope { color: var(--paper-muted); }
@media (min-width: 900px) { .certs { grid-template-columns: repeat(2, 1fr); } }
.figures--six { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) { .figures--six { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .figures--six { grid-template-columns: repeat(6, 1fr); } }
.figures--six li:last-child:nth-child(odd) { grid-column: auto; }

/* ---- why-hob: reasons, steps, questions ---- */
.reasons { display: grid; gap: 1px; background: var(--paper-edge); border: 1px solid var(--paper-edge); counter-reset: reason; }
.reasons li { display: flex; flex-direction: column; gap: 8px; padding: 22px 24px 26px; background: var(--paper); counter-increment: reason; }
.reasons li::before { content: counter(reason, decimal-leading-zero); font-family: var(--mono); font-size: 12px; color: var(--paper-accent); }
.reasons h3 { font-weight: 600; font-size: 20px; line-height: 1.2; letter-spacing: -0.015em; }
.reasons p { color: var(--paper-muted); font-size: 16px; }
.reasons a { color: var(--paper-ink); }
@media (min-width: 720px) { .reasons { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .reasons { grid-template-columns: repeat(3, 1fr); } }
.steps--large { margin-top: 0; gap: 18px; }
.steps--large li { font-size: 17px; color: var(--muted); }
.steps--large strong { color: var(--text); font-weight: 600; }
.qa { display: flex; flex-direction: column; gap: 22px; max-width: 70ch; margin: 0; }
.qa dt { font-weight: 600; font-size: 19px; letter-spacing: -0.01em; }
.qa dd { margin: 6px 0 0; color: var(--paper-muted); }
.qa a { color: var(--paper-ink); }

/* ---- company details: a plain list of registered facts ---- */
.details { display: grid; margin: 0; max-width: 70ch; border-top: 1px solid var(--rule); }
.details > div { display: grid; gap: 4px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.details dt { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.details dd { margin: 0; }
@media (min-width: 640px) { .details > div { grid-template-columns: 200px 1fr; gap: 24px; } }

/* ---- plant hub: the two kinds of machine ---- */
.machine-groups { display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.machine-group { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: clamp(20px, 2.4vw, 32px); background: var(--bg); }
.machine-group p { color: var(--muted); }
.machine-group h3 a { text-decoration: none; }
.machine-group h3 a:hover { text-decoration: underline; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 6px 12px; border: 1px solid var(--edge); border-radius: 2px; font-family: var(--mono); font-size: 12px; color: var(--text); }
@media (min-width: 900px) { .machine-groups { grid-template-columns: repeat(2, 1fr); } }
.process-links { display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.process-links a { display: flex; flex-direction: column; gap: 6px; padding: 20px 24px; background: var(--bg); text-decoration: none; }
.process-links a:hover { background: var(--panel); }
.process-links__h { font-weight: 600; font-size: 22px; letter-spacing: -0.02em; }
.process-links__t { color: var(--muted); font-size: 15px; }
@media (min-width: 720px) { .process-links { grid-template-columns: repeat(2, 1fr); } }
