/* site.css - liechtenstein-company.com. Components of DESIGN.md section 7, on the tokens of tokens.css (never a raw
   value where a token exists). Desktop first; breakpoints 1199 (menu to burger), 1024, 767, 440 (DESIGN.md section 3). */

/* ---------- reset and base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { font-family: var(--f-text); font-weight: var(--fw-text); font-size: var(--fs-text); line-height: var(--lh-text); color: var(--c-text); background: var(--c-bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--c-brand); text-decoration: none; transition: color var(--t-colour) var(--ease), background-color var(--t-colour) var(--ease); }
a:hover { color: var(--c-secondary); }
main a:not([class]) { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: color-mix(in oklab, currentColor 40%, transparent); }
:focus-visible { outline: 2px solid var(--c-focus); outline-offset: 2px; border-radius: 3px; }
button { font: inherit; cursor: pointer; }
sup { font-size: 0.7em; line-height: 0; }
strong { font-weight: var(--fw-strong); }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; border: 0 !important; }
.skip { position: absolute; left: var(--s-3); top: -60px; z-index: 100; background: var(--c-brand); color: var(--c-on-band); padding: var(--s-2) var(--s-3); border-radius: var(--r-btn); }
.skip:focus { top: var(--s-3); color: var(--c-on-band); }
.wrap { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.icon { width: 20px; height: 20px; flex: none; }

/* ---------- type (DESIGN.md 2): one family, headings at 700, no capitals, no tracking ---------- */
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: var(--fw-head); color: var(--c-text-strong); letter-spacing: 0; text-transform: none; overflow-wrap: break-word; }
h1 { font-size: var(--fs-h1); line-height: var(--lh-h1); }
h2 { font-size: var(--fs-h2); line-height: var(--lh-h2); }
h3 { font-size: var(--fs-ui); line-height: 1.35; font-weight: 600; }
h4 { font-size: 1.0625rem; line-height: 1.4; }
.sub-h { font-size: var(--fs-h3); line-height: var(--lh-h3); margin: var(--s-6) 0 var(--s-4); }
p + p { margin-top: var(--s-3); }
.prose { max-width: 820px; }
.prose p + p, .prose p + ul, .prose ul + p { margin-top: var(--s-3); }
.prose ul:not(.checklist):not([class]), .prose ol:not(.steps):not([class]) { padding-left: 1.2em; margin-top: var(--s-3); }
.trust__text ul:not([class]) { padding-left: 1.2em; }   /* the office list: bullets inside the gutter (QA 2026-11-01, contact at 390) */
.prose li + li { margin-top: var(--s-1); }
code { font-size: 0.92em; background: var(--c-mist); padding: 2px 7px; border-radius: 4px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
blockquote { border-left: 3px solid var(--c-secondary); padding: var(--s-2) var(--s-4); background: var(--c-mist); border-radius: 0 var(--r-btn) var(--r-btn) 0; margin-top: var(--s-4); }

/* ---------- buttons (DESIGN.md 7.3): 52 px, radius 4, label 15 px at 700; primary blue, secondary a blue outline ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2); min-height: var(--btn-h); padding: var(--btn-pad); border: 0; border-radius: var(--r-btn); font-family: var(--f-text); font-size: var(--btn-fs); font-weight: 700; line-height: 1; text-align: center; text-decoration: none; transition: background-color var(--t-colour) var(--ease), color var(--t-colour) var(--ease); }
.btn--primary { background: var(--c-accent); color: var(--c-on-band); }
.btn--primary:hover { background: var(--c-accent-hover); color: var(--c-on-band); }
.btn--soft { background: transparent; color: var(--c-brand); box-shadow: inset 0 0 0 1px var(--c-brand); }
.btn--soft:hover { background: var(--c-bg); color: var(--c-accent-hover); box-shadow: inset 0 0 0 1px var(--c-accent-hover); }
.btn--ghost { background: transparent; color: var(--c-on-band); box-shadow: inset 0 0 0 1px var(--c-on-band-muted); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.12); color: var(--c-on-band); }
.btn--block { width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-5); }
.textlink { display: inline-flex; align-items: center; gap: 6px; color: var(--c-brand); }
.textlink .icon--arrow { width: 16px; height: 16px; transition: transform var(--t-colour) var(--ease); }
.textlink:hover .icon--arrow { transform: translateX(3px); }
.linklike { background: none; border: 0; color: inherit; text-decoration: underline; text-underline-offset: 3px; padding: 0; font-size: inherit; }
.cta .actions .linklike { display: inline-flex; align-items: center; min-height: var(--btn-h); padding: var(--btn-pad); border-radius: var(--r-btn); box-shadow: inset 0 0 0 1px currentColor; font-weight: 700; text-decoration: none; }   /* the consent button in a band reads as a button, not a text link */

/* ---------- header (DESIGN.md 7.1): a 40 px utility strip on the ground, an 80 px white bar with the brand, the menus and the
   one blue button; static, the faint blue shadow under it (variant A: 120 px in all) ---------- */
.site-header { position: relative; z-index: 40; background: var(--c-bg); box-shadow: var(--shadow-soft); }
.header__util { background: var(--c-surface); border-bottom: 1px solid var(--c-line); font-size: var(--fs-micro); color: var(--c-muted); }
.header__util .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); min-height: var(--header-top-h); }
.header__util p { display: inline-flex; align-items: center; gap: 8px; }
.header__util .icon { width: 15px; height: 15px; color: var(--c-brand); }
.util__links { display: flex; align-items: center; gap: var(--s-5); }
.util__links a { display: inline-flex; align-items: center; gap: 6px; color: var(--c-text); }
.util__links a:hover { color: var(--c-brand); }
.header__main { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); min-height: var(--header-nav-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--c-text-strong); flex: none; }
.brand:hover { color: var(--c-text-strong); }
.brand__mark { width: 40px; height: 40px; }
.brand__word { display: flex; flex-direction: column; font-family: var(--f-display); font-size: 1.125rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.1; }
.brand__word small { font-size: 0.625rem; font-weight: 700; letter-spacing: 0.32em; color: var(--c-brand); margin-top: 3px; }
.nav { flex: 1; display: flex; justify-content: center; }
.nav__list { list-style: none; display: flex; align-items: stretch; gap: 2px; min-height: var(--header-nav-h); }
.nav__item { position: relative; display: flex; }
.nav__link { display: inline-flex; align-items: center; gap: 6px; padding: 0 10px; background: none; border: 0; color: var(--c-text-strong); font-size: var(--fs-small); font-weight: 500; white-space: nowrap; box-shadow: inset 0 -2px 0 transparent; transition: color var(--t-colour) var(--ease), box-shadow var(--t-colour) var(--ease); }
.nav__link[aria-current="page"], .nav__btn[data-current] { color: var(--c-brand); box-shadow: inset 0 -2px 0 var(--c-gold); }
.nav__link:hover { color: var(--c-brand); }
.icon--chev { width: 14px; height: 14px; transition: transform var(--t-colour) var(--ease); }
.nav__btn[aria-expanded="true"] .icon--chev { transform: rotate(180deg); }
/* the panel touches its trigger (top: 100%; the gap is its own padding), opens on hover and on a click */
.nav__panel { position: absolute; top: 100%; left: 0; min-width: 290px; visibility: hidden; opacity: 0; transition: opacity var(--t-colour) var(--ease), visibility var(--t-colour); z-index: 50; }
.nav__panel ul { list-style: none; background: var(--c-bg); border: 1px solid var(--c-line); border-top: 2px solid var(--c-brand); border-radius: 0 0 var(--r-card) var(--r-card); box-shadow: var(--shadow-lift); padding: var(--s-2); }
.nav__panel a { display: block; padding: 10px var(--s-3); border-radius: var(--r-btn); color: var(--c-text); font-size: var(--fs-small); }
.nav__panel a:hover, .nav__panel a[aria-current="page"] { background: var(--c-surface); color: var(--c-brand); }
@media (hover: hover) { .nav__item--menu:hover .nav__panel { visibility: visible; opacity: 1; } }
.nav__item--menu:focus-within .nav__panel, .nav__btn[aria-expanded="true"] + .nav__panel { visibility: visible; opacity: 1; }
.header__cta { flex: none; }
.burger { display: none; width: 46px; height: 46px; border: 1px solid var(--c-line-strong); border-radius: var(--r-btn); background: var(--c-bg); align-items: center; justify-content: center; flex: none; }
.burger__bars, .burger__bars::before, .burger__bars::after { display: block; width: 20px; height: 2px; background: var(--c-brand); border-radius: 2px; position: relative; transition: transform var(--t-colour) var(--ease), background-color var(--t-colour) var(--ease); }
.burger__bars::before, .burger__bars::after { content: ""; position: absolute; left: 0; }
.burger__bars::before { top: -6px; } .burger__bars::after { top: 6px; }
.burger[aria-expanded="true"] .burger__bars { background: transparent; }
.burger[aria-expanded="true"] .burger__bars::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__bars::after { transform: translateY(-6px) rotate(-45deg); }
.drawer { position: absolute; left: 0; right: 0; top: 100%; background: var(--c-bg); border-top: 1px solid var(--c-line); box-shadow: var(--shadow-lift); padding: var(--s-4) 0 var(--s-6); max-height: calc(100vh - 80px); overflow-y: auto; }
.drawer__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5); }
.drawer__title { font-weight: 700; color: var(--c-text-strong); margin-bottom: var(--s-2); }
.drawer ul { list-style: none; }
.drawer li a { display: block; padding: 6px 0; color: var(--c-text); }
.drawer__contact { margin: var(--s-5) 0 var(--s-3); font-size: var(--fs-small); }

/* ---------- breadcrumb (clause 14): on white, under the header, before the band ---------- */
.crumbs { font-size: var(--fs-small); color: var(--c-text); padding: 12px 0 14px; }
.crumbs a { color: var(--c-brand); }
.crumbs__sep { margin: 0 8px; color: var(--c-muted); }

/* ---------- the page hero (DESIGN.md 7.2): on the ground, dark type, check rows, the photograph on an offset pale-blue block;
   home adds the places collage and the facts strip ---------- */
.band { position: relative; background: var(--c-surface); color: var(--c-text); padding: 56px 0 64px; }
.band h1 { max-width: 760px; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: var(--fs-micro); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-gold-ink); margin-bottom: var(--s-4); }
.kicker::before { content: ""; width: 28px; height: 2px; background: var(--c-gold); }
.band__inner { position: relative; z-index: 1; }
.band .hero__lead { font-size: 1.1875rem; line-height: 1.6; color: var(--c-text); max-width: 640px; margin-top: var(--s-4); }
.band .hero__note { font-size: var(--fs-small); color: var(--c-muted); max-width: 640px; margin-top: var(--s-3); }
.band .hero__meta { margin-top: var(--s-3); font-size: var(--fs-small); color: var(--c-muted); }
/* a guide's short answer (templates/structure/guide.md element 2): a white card on the ground, under the byline */
.short-answer { max-width: 720px; margin-top: var(--s-4); padding: var(--s-4) var(--s-5); border: 1px solid var(--c-line); border-left: 3px solid var(--c-brand); border-radius: var(--r-card); background: var(--c-bg); color: var(--c-text); }
.short-answer__label { font-size: var(--fs-micro); font-weight: 700; color: var(--c-brand); margin-bottom: 4px; }
.short-answer__label + p { margin-top: 0; }
.band__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 56px; align-items: center; }
.band__grid--text { grid-template-columns: minmax(0, 1fr); }
.band__media { position: relative; margin: 0 0 28px 28px; }
.band__media::before { content: ""; position: absolute; left: -28px; top: 28px; bottom: -28px; width: 72%; background: var(--c-soft-hover); border-radius: var(--r-card); }
.band__media picture, .band__media img, .band__media .ph { position: relative; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-card); }
/* the hero facts as check rows (variant A's green ticks), two columns */
.chips { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: 10px var(--s-6); margin-top: var(--s-5); }
.chips li { position: relative; padding-left: 30px; font-size: var(--fs-small); font-weight: 500; line-height: 1.45; color: var(--c-text-strong); }
.chips li::before { content: ""; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: var(--c-check) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.2l3 3 6-6.4' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
.band .actions { margin-top: var(--s-6); }
.contents { position: relative; z-index: 1; margin-top: 56px; padding: var(--s-5) var(--s-5) var(--s-4); background: var(--c-bg); border: 1px solid var(--c-line); border-radius: var(--r-card); }
.contents__title { font-weight: 700; font-size: var(--fs-small); color: var(--c-text-strong); margin-bottom: var(--s-2); }
.contents ol { list-style: none; columns: 3; column-gap: var(--s-6); }
.contents li { break-inside: avoid; padding: 4px 0; }
.contents a { display: inline-flex; align-items: flex-start; gap: 10px; color: var(--c-text); font-size: var(--fs-small); }
.contents a:hover { color: var(--c-brand); }
.icon--contents { width: 16px; height: 16px; margin-top: 3px; color: var(--c-brand); }
.page-hero--plain { padding: var(--s-6) 0; background: var(--c-surface); }
/* home: the text column beside the places collage */
.band--home { padding: 64px 0 72px; }
.band--home h1 { max-width: 620px; }
.home-hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: center; }
.collage { position: relative; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 12px; height: 520px; margin: 24px 24px 24px 0; }
.collage::before, .collage::after { content: ""; position: absolute; z-index: 0; background: var(--c-soft-hover); border-radius: var(--r-card); }
.collage::before { left: -24px; top: -24px; width: 46%; height: 52%; }
.collage::after { right: -24px; bottom: -24px; width: 34%; height: 58%; background: var(--c-soft); }
.collage__tile { position: relative; z-index: 1; margin: 0; overflow: hidden; border-radius: var(--r-card); background: var(--c-soft); }
.collage__tile--main { grid-row: 1 / 4; }
.collage__tile picture, .collage__tile img, .collage__tile .ph { width: 100%; height: 100%; object-fit: cover; border-radius: 0; min-height: 0; }
.collage__tab { position: absolute; left: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; background: var(--c-bg); border-radius: var(--r-card); font-size: var(--fs-micro); font-weight: 700; color: var(--c-text-strong); box-shadow: var(--shadow-soft); }
.collage__tab::before { content: ""; width: 3px; height: 12px; background: var(--c-gold); }
/* the facts strip: four figures from the drafts, white, a gold rule on top (in place of the reference's press row) */
.sec--facts { background: var(--c-surface); padding: 0 0 72px; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--c-bg); border: 1px solid var(--c-line); border-top: 3px solid var(--c-gold); border-radius: var(--r-card); box-shadow: var(--shadow-soft); }
.facts__item { padding: var(--s-5) var(--s-5) 22px; }
.facts__item + .facts__item { border-left: 1px solid var(--c-line); }
.facts__n { display: block; font-family: var(--f-display); font-size: 1.75rem; font-weight: 700; line-height: 1.15; color: var(--c-text-strong); }
.facts__l { display: block; margin-top: 6px; font-size: var(--fs-small); line-height: 1.45; color: var(--c-text); }
.facts__src { display: block; margin-top: 6px; font-size: var(--fs-micro); color: var(--c-muted); }

/* ---------- sections and grounds (clause 1) ---------- */
.sec { padding: var(--section-y) 0; }
.tone--white { background: var(--c-bg); }
.tone--surface { background: var(--c-surface); }
.section__head { margin-bottom: var(--s-5); max-width: 900px; }
.section__lead { max-width: 820px; margin-bottom: var(--s-5); }
.section__lead p + p { margin-top: var(--s-2); }
.section__cont { margin-top: var(--s-6); }
.after-grid { margin-top: var(--s-5); max-width: 820px; }
.callout { background: var(--c-mist); border-radius: var(--r-btn); padding: var(--s-3) var(--s-4); }
.callout--strong { font-weight: var(--fw-strong); color: var(--c-brand); }

/* ---------- cards (DESIGN.md 7.5): white, a 1 px hairline, 4 px corners, no shadow until hover; a square pale-blue icon ---------- */
.cards { display: grid; gap: var(--s-4); }
.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
/* five and seven cards: the last row is stretched to the full width, never an empty slot (pilot review 2026-11-01) */
@media (min-width: 1025px) {   /* 3 + 2 and 4 + 3 rows; below this the spans would outrank the 2- and 1-column resets */
  .cards--5 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .cards--5 > * { grid-column: span 2; }
  .cards--5 > :nth-child(n+4) { grid-column: span 3; }
  .cards--7 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .cards--7 > * { grid-column: span 3; }
  .cards--7 > :nth-child(n+5) { grid-column: span 4; }
}
.cards--1 { grid-template-columns: minmax(0, var(--container-text)); }
.card { background: var(--card-bg); border: 1px solid var(--c-line); border-radius: var(--r-card); padding: var(--card-pad); display: flex; flex-direction: column; gap: var(--s-2); transition: box-shadow var(--t-colour) var(--ease), border-color var(--t-colour) var(--ease); }
.card:hover { border-color: var(--c-line-strong); box-shadow: var(--shadow-lift); }
.card h3 { font-size: var(--fs-ui); font-weight: 700; }
.card h3 a { color: var(--c-brand); text-decoration: none; }   /* a linked title reads as a link before the hover */
.card h3 a:hover { color: var(--c-accent-hover); text-decoration: underline; text-underline-offset: 3px; }
.card p { font-size: var(--fs-small); line-height: 1.6; }
.card p + p { margin-top: 0; }
.card__icon { width: 44px; height: 44px; border-radius: var(--r-card); background: var(--c-soft); color: var(--c-brand); display: inline-flex; align-items: center; justify-content: center; margin-bottom: var(--s-2); }
.card__icon .icon { width: 22px; height: 22px; }
.card__icon--mono { width: 52px; height: 52px; background: var(--c-brand); color: var(--c-on-band); font-size: var(--fs-small); font-weight: 700; letter-spacing: 0.04em; }
.card--problem .card__icon { background: var(--c-gold-mist); color: var(--c-gold-ink); }
.card__links { margin-top: auto; padding-top: var(--s-2); }
.card--link { gap: var(--s-2); }
.card__kicker { font-size: var(--fs-micro); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--c-gold-ink); }
.card > ul { list-style: none; padding-top: var(--s-2); display: grid; gap: 2px; }

/* related services: link rows under hairlines (a list, not a fourth card grid) */
.related-rows { list-style: none; border-top: 1px solid var(--c-line); }
.related-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-2) var(--s-6); align-items: baseline; padding: var(--s-4) 0; border-bottom: 1px solid var(--c-line); }
.related-row__head { display: flex; flex-direction: column; gap: var(--s-1); }
.related-row__kind { font-size: var(--fs-micro); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--c-gold-ink); }
.related-row__title { font-size: var(--fs-ui); font-weight: var(--fw-strong); line-height: 1.4; }
.related-row__title a { color: var(--c-brand); }
.related-row__title a:hover { color: var(--c-accent-hover); text-decoration: underline; text-underline-offset: 3px; }
.related-row__text { font-size: var(--fs-small); line-height: 1.6; }
@media (max-width: 767px) { .related-row { grid-template-columns: minmax(0, 1fr); } }
.card > ul a { display: inline; font-size: var(--fs-small); font-weight: 600; text-decoration: none; } /* inline, not flex: a wrapped flex label fills the row and pushes the arrow to the card edge (D-20) */
.card > ul a::after { content: "\00a0\2192"; font-weight: 400; } /* no-break space glues the arrow to the last word */
.card > ul a:hover { text-decoration: underline; }
.card__go { margin-top: auto; padding-top: var(--s-2); font-size: var(--fs-small); font-weight: 600; }

/* ---------- split: a photograph beside the text or the grid, sides alternating ---------- */
.split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s-6); align-items: start; }
.split--flip { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.split--flip .split__media { order: -1; }
.split__media { position: sticky; top: var(--s-4); }
.split .section__lead { max-width: none; }
.split--head { align-items: center; margin-bottom: var(--s-6); }
.split--head .split__media { position: static; }
.split--head .section__lead { margin-bottom: 0; }
.split .cards--2 { gap: var(--s-3); }
.split .card { padding: 24px; }

/* ---------- photographs ---------- */
.photo { margin: 0; }
.photo img, .photo .ph { width: 100%; border-radius: var(--r-card); object-fit: cover; }
.photo figcaption, .infographic figcaption, .infographic-image figcaption { font-size: var(--fs-small); color: var(--c-muted); margin-top: var(--s-2); }
.ph { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: var(--s-4); background: repeating-linear-gradient(135deg, var(--c-surface) 0 14px, var(--c-mist) 14px 28px); color: var(--c-brand); border-radius: var(--r-card); box-shadow: inset 0 0 0 1px var(--c-line); min-height: 160px; }
.ph__tag { align-self: flex-start; font-size: var(--fs-micro); text-transform: uppercase; letter-spacing: 0.06em; background: var(--c-bg); border-radius: var(--r-pill); padding: 3px 10px; color: var(--c-muted); }
.ph__alt { font-size: var(--fs-small); line-height: 1.4; max-width: 34ch; }

/* ---------- steps (clause 19): numerals in pale-blue discs, an actor tag ---------- */
.steps { list-style: none; display: grid; gap: var(--s-4) var(--s-6); counter-reset: none; }
.steps--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.steps--2 > :last-child:nth-child(odd) { grid-column: 1 / -1; }   /* an odd last step closes the list across both columns */
.steps--1 { grid-template-columns: minmax(0, 1fr); }
.step { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: var(--s-4); align-items: start; padding: var(--s-4) 0; border-top: 1px dashed var(--c-line-strong); }
.step__n { width: 46px; height: 46px; border-radius: var(--r-card); background: var(--c-bg); box-shadow: inset 0 0 0 1px var(--c-line-strong); color: var(--c-brand); display: inline-flex; align-items: center; justify-content: center; font-size: var(--fs-ui); font-weight: var(--fw-head); }
.step h3 { margin-bottom: var(--s-2); }
.actor { display: inline-flex; align-items: center; gap: 6px; margin-top: var(--s-2); font-size: var(--fs-small); color: var(--c-brand); background: var(--c-mist); border-radius: var(--r-pill); padding: 4px 12px 4px 8px; }
.icon--actor { width: 16px; height: 16px; color: var(--c-secondary); }
.step__terms { display: flex; flex-wrap: wrap; gap: var(--s-1); margin-top: var(--s-2); }
.term { font-size: var(--fs-micro); background: var(--c-soft); color: var(--c-brand); border-radius: var(--r-pill); padding: 3px 10px; }

/* ---------- checklist (clause 20) ---------- */
.checklist { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3) var(--s-6); max-width: 1000px; }
.checklist--1 { grid-template-columns: minmax(0, 1fr); margin-top: var(--s-4); }
.checklist li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: var(--s-3); align-items: start; }
.icon--check { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--c-check); color: var(--c-on-band); stroke-width: 2.2; }

/* ---------- tables (clause 18): inside .table-scroll, the head on the faint blue ---------- */
.table-scroll { position: relative; overflow-x: auto; border-radius: var(--r-card); box-shadow: inset 0 0 0 1px var(--c-line); background: var(--c-bg); -webkit-overflow-scrolling: touch; }
.data-table { width: 100%; border-collapse: collapse; font-size: var(--fs-small); line-height: 1.5; }
.data-table caption { caption-side: bottom; text-align: left; padding: var(--s-3) var(--s-4); color: var(--c-muted); font-size: var(--fs-micro); border-top: 1px solid var(--c-line); }
.data-table th, .data-table td { text-align: left; vertical-align: top; padding: 14px var(--s-4); border-bottom: 1px solid var(--c-line); }
.data-table thead th { background: var(--c-mist); color: var(--c-brand); font-weight: var(--fw-strong); border-bottom: 0; }
.data-table tbody th { font-weight: var(--fw-strong); color: var(--c-text); min-width: 160px; }
.data-table tbody tr:last-child th, .data-table tbody tr:last-child td { border-bottom: 0; }
.data-table .col--tight { white-space: nowrap; width: 1%; }
.data-table code { white-space: normal; overflow-wrap: anywhere; line-height: 1.7; }
.data-table td, .data-table th { overflow-wrap: break-word; }
.table-caption, .table-note { font-size: var(--fs-small); color: var(--c-muted); margin-top: var(--s-3); max-width: 900px; }
.sec--table .section__lead + .table-scroll { margin-top: 0; }
/* running text beside a table keeps the reading measure of .prose; the table alone takes the container (layout-lint block-edge-spread, 2026-11-01) */
.sec > .wrap > :is(p, ul, ol):not(.callout), .sec > .wrap > :is(.table-caption, .table-note) { max-width: 820px; }

/* the ready-made list (R11): nine columns, one card per row on a phone; Checks is four labelled flags */
.shelf-updated { font-size: var(--fs-small); color: var(--c-muted); margin-bottom: var(--s-3); }
.shelf-table tbody th { min-width: 0; white-space: nowrap; }
.shelf-table td, .shelf-table th { vertical-align: middle; }
.shelf-table th, .shelf-table td { padding: 12px 12px; }
.shelf-checks { list-style: none; display: grid; grid-template-columns: repeat(2, max-content); gap: 2px var(--s-4); font-size: var(--fs-micro); line-height: 1.4; }
.shelf-checks li { display: flex; gap: 6px; white-space: nowrap; color: var(--c-muted); }
.shelf-checks b { color: var(--c-brand); font-weight: var(--fw-strong); }
.shelf-status { display: inline-block; padding: 2px 10px; border-radius: var(--r-pill); background: var(--c-soft); color: var(--c-brand); font-size: var(--fs-micro); font-weight: var(--fw-strong); }
.shelf-status--reserved { background: var(--c-surface); color: var(--c-muted); }
.btn--sm { min-height: 36px; padding: 6px 16px; font-size: var(--fs-small); }

/* ---------- link cards (a branded anchor with its line) ---------- */
.linkcard { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px var(--s-4); align-items: center; margin-top: var(--s-4); padding: var(--s-4) var(--s-5); background: var(--c-bg); border-radius: var(--r-card); border: 1px solid var(--c-line); color: var(--c-text); max-width: 900px; text-decoration: none; }
.linkcard__t { color: var(--c-brand); font-weight: var(--fw-strong); font-size: 1.0625rem; }
.linkcard__d { grid-column: 1; font-size: var(--fs-small); }
.linkcard__go { grid-column: 2; grid-row: 1 / span 2; width: 46px; height: 46px; border-radius: var(--r-pill); background: var(--c-soft); color: var(--c-brand); display: inline-flex; align-items: center; justify-content: center; transition: background-color var(--t-colour) var(--ease); }
.linkcard:hover { color: var(--c-text); }
.linkcard:hover .linkcard__go { background: var(--c-soft-hover); }

/* ---------- infographics (RULE-INFOGRAPHICS; DESIGN.md section 7.12): real text, tokens only, desktop row to phone column ---------- */
.infographic { margin: var(--s-6) 0 0; background: var(--c-bg); border-radius: var(--r-card); box-shadow: var(--shadow-soft); padding: var(--s-5); }
.ig__title { font-size: var(--fs-ui); font-weight: var(--fw-head); color: var(--c-brand); margin-bottom: var(--s-4); }
.ig__foot { font-size: var(--fs-micro); color: var(--c-muted); margin-top: var(--s-3); }
.ig-lanes { display: grid; grid-template-columns: 150px repeat(var(--steps), minmax(0, 1fr)); grid-template-rows: auto repeat(var(--lanes), minmax(64px, auto)); gap: 8px; }
.ig-lanes__bg { grid-column: 1 / -1; grid-row: var(--row); background: var(--c-mist); border-radius: var(--r-btn); }
.ig-lanes__bg:nth-of-type(4n+3) { background: var(--c-surface); }
.ig-lanes__lane { grid-column: 1; grid-row: var(--row); align-self: center; padding: 0 var(--s-3); font-size: var(--fs-small); font-weight: var(--fw-strong); color: var(--c-brand); z-index: 1; }
.ig-lanes__step { grid-column: var(--col); grid-row: 1; display: flex; flex-direction: column; gap: 4px; padding: 0 4px var(--s-2); }
.ig-lanes__n { width: 30px; height: 30px; border-radius: var(--r-pill); background: var(--c-brand); color: var(--c-on-band); display: inline-flex; align-items: center; justify-content: center; font-size: var(--fs-small); }
.ig-lanes__st { font-size: var(--fs-micro); font-weight: var(--fw-strong); color: var(--c-text); line-height: 1.3; }
.ig-node { grid-column: var(--col); grid-row: var(--row) / span var(--span); z-index: 1; margin: 8px 3px; padding: 10px 8px; min-width: 0; overflow-wrap: break-word; background: var(--c-bg); border-radius: var(--r-btn); box-shadow: 0 0 0 1px var(--c-soft-hover); font-size: var(--fs-micro); line-height: 1.35; display: flex; flex-direction: column; gap: 4px; }
.ig-node__lane { display: none; }
.ig-node__t { color: var(--c-text); }
.ig-node__term { display: inline-flex; gap: 4px; align-items: flex-start; color: var(--c-accent-ink); font-weight: var(--fw-strong); }
.icon--term { width: 14px; height: 14px; margin-top: 1px; }
.ig-node--term { box-shadow: 0 0 0 1px var(--c-soft-hover), inset 3px 0 0 var(--c-accent); }
.ig-lanes__key { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--s-2) var(--s-4); margin-top: var(--s-4); font-size: var(--fs-small); }
.ig-lanes__key li { display: grid; grid-template-columns: 16px auto minmax(0, 1fr); gap: 8px; align-items: baseline; }
.ig-lanes__key .icon--term { color: var(--c-accent-ink); align-self: start; margin-top: 3px; }
.ig-lanes__key b { color: var(--c-accent-ink); white-space: nowrap; }
.ig-figures { list-style: none; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: var(--s-3); }
.ig-figures li { display: flex; flex-direction: column; gap: 6px; padding: var(--s-4); border-radius: var(--r-card); background: var(--c-mist); }
.ig-figures__v { font-size: 1.625rem; line-height: 1.2; font-weight: var(--fw-head); color: var(--c-brand); }
.ig-figures__l { font-size: var(--fs-small); color: var(--c-text); }
.ig-figures__flag { align-self: flex-start; font-size: var(--fs-micro); color: var(--c-accent-ink); background: var(--c-bg); border-radius: var(--r-pill); padding: 2px 10px; }
.ig-figures__s, .ig-track__s { font-size: var(--fs-micro); color: var(--c-muted); margin-top: auto; }
.ig-timeline { display: grid; gap: var(--s-5); }
.ig-track__label { font-weight: var(--fw-strong); color: var(--c-brand); font-size: var(--fs-small); margin-bottom: var(--s-3); }
.ig-track__axis { position: relative; height: 34px; margin: 0 18px var(--s-3); }
.ig-track__axis::before { content: ""; position: absolute; left: 0; right: 0; top: 16px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--c-soft), var(--c-secondary)); }
.ig-track__zero, .ig-track__max { position: absolute; top: -2px; font-size: var(--fs-micro); color: var(--c-muted); transform: translateX(-50%); }
.ig-track__zero { left: 0; } .ig-track__max { left: 100%; }
.ig-track__mark { --at: 0%; position: absolute; left: var(--at); top: 4px; transform: translateX(-50%); }
.ig-track__mark b { display: inline-flex; width: 28px; height: 28px; border-radius: var(--r-pill); background: var(--c-brand); color: var(--c-on-band); align-items: center; justify-content: center; font-size: var(--fs-micro); font-weight: var(--fw-strong); box-shadow: 0 0 0 4px var(--c-bg); }
.ig-track__list { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--s-3); }
.ig-track__list li { display: flex; flex-direction: column; gap: 4px; padding: var(--s-3) var(--s-4); background: var(--c-mist); border-radius: var(--r-btn); position: relative; padding-left: 52px; }
.ig-track__list li::before { content: attr(value); position: absolute; left: 14px; top: 14px; width: 26px; height: 26px; border-radius: var(--r-pill); background: var(--c-brand); color: var(--c-on-band); font-size: var(--fs-micro); display: flex; align-items: center; justify-content: center; }
.ig-track__v { font-weight: var(--fw-strong); color: var(--c-brand); font-size: var(--fs-small); }
.ig-track__t { font-size: var(--fs-small); }
.ig-track__note { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 4px var(--s-2); align-items: start; font-size: var(--fs-small); line-height: 1.45; color: var(--c-brand); background: var(--c-soft); border-radius: var(--r-btn); padding: 12px 16px; justify-self: stretch; }
.ig-track__note .icon--term { width: 16px; height: 16px; margin-top: 3px; }
.ig-track__note .ig-track__s { grid-column: 2; margin-top: 0; }
.infographic p, .infographic li { overflow-wrap: break-word; }
/* the paragraph and list spacing of the copy (p + p, li + li, also under .prose) stops at the figure's own boxes */
.infographic :is(.ig-process, .ig-cmp, .ig-tree, .ig-flow) :is(p, li) { margin-top: 0; }

/* process: numbered steps in a row, a rail between the discs; a vertical rail below 1025 px */
.ig-process { list-style: none; display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: var(--s-4) var(--s-3); }
.ig-step { position: relative; display: flex; flex-direction: column; gap: var(--s-2); min-width: 0; }
.ig-step::before { content: ""; position: absolute; top: 16px; left: 36px; right: calc(-1 * var(--s-3)); height: 2px; background: var(--c-soft-hover); }
.ig-step--end::before { display: none; }
@media (min-width: 1025px) {
  .ig-process--7 > .ig-step { grid-column: span 3; }
  .ig-process--7 > .ig-step:nth-child(n+5) { grid-column: span 4; }
}
.ig-step__n { position: relative; z-index: 1; flex: none; width: 34px; height: 34px; border-radius: var(--r-pill); background: var(--c-brand); color: var(--c-on-band); display: inline-flex; align-items: center; justify-content: center; font-size: var(--fs-small); font-weight: var(--fw-strong); }
.ig-step__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; padding: var(--s-3); border-radius: var(--r-btn); background: var(--c-bg); box-shadow: 0 0 0 1px var(--c-soft-hover); }
.ig-step__body--term { box-shadow: 0 0 0 1px var(--c-soft-hover), inset 3px 0 0 var(--c-accent); }
.ig-step__t { font-size: var(--fs-small); font-weight: var(--fw-strong); color: var(--c-brand); line-height: 1.35; }
.ig-step__x { font-size: var(--fs-small); line-height: 1.4; }
.ig-step__actor { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; padding: 3px 10px 3px 6px; border-radius: var(--r-pill); background: var(--c-mist); color: var(--c-brand); font-size: var(--fs-micro); line-height: 1.35; }
.ig-step__term { display: flex; gap: 6px; align-items: flex-start; margin-top: auto; font-size: var(--fs-micro); font-weight: var(--fw-strong); line-height: 1.4; color: var(--c-accent-ink); }

/* comparison: named columns by rows, the row name in a faint-blue cell, an optional highlighted row */
.ig-cmp { display: grid; gap: 6px; }
.ig-cmp__head, .ig-cmp__row { display: grid; grid-template-columns: minmax(110px, 0.6fr) repeat(var(--n), minmax(0, 1fr)); gap: 6px; }
.ig-cmp--nolabel .ig-cmp__head, .ig-cmp--nolabel .ig-cmp__row { grid-template-columns: repeat(var(--n), minmax(0, 1fr)); }
.ig-cmp__rows { list-style: none; display: grid; gap: 6px; }
.ig-cmp__col { display: flex; flex-direction: column; gap: 2px; padding: var(--s-3); border-radius: var(--r-btn); background: var(--c-brand); color: var(--c-on-band); font-size: var(--fs-small); font-weight: var(--fw-strong); line-height: 1.3; }
.ig-cmp__sub { font-weight: var(--fw-text); font-size: var(--fs-micro); color: var(--c-on-band-muted); }
.ig-cmp__label { display: flex; align-items: center; min-width: 0; overflow-wrap: break-word; padding: var(--s-3); border-radius: var(--r-btn); background: var(--c-mist); color: var(--c-brand); font-size: var(--fs-small); font-weight: var(--fw-strong); line-height: 1.35; }
.ig-cmp__cell { position: relative; min-width: 0; overflow-wrap: break-word; padding: var(--s-3); border-radius: var(--r-btn); background: var(--c-bg); box-shadow: 0 0 0 1px var(--c-soft-hover); font-size: var(--fs-small); line-height: 1.4; }
.ig-cmp__colname { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ig-cmp__row--hl .ig-cmp__label { background: var(--c-soft); box-shadow: inset 3px 0 0 var(--c-brand); }
.ig-cmp__row--hl .ig-cmp__cell { background: var(--c-soft); box-shadow: none; }

/* structure and flow: a root box, a stem and a bus, the children in a row (sub-items on a rail under each child; a flow branch is
   a condition chip, an arrow and an outcome box); stacked on a rail down the left below 901 px */
.ig-tree, .ig-flow { display: flex; flex-direction: column; align-items: center; }
.ig-box { display: flex; flex-direction: column; gap: 4px; min-width: 0; overflow-wrap: break-word; padding: var(--s-3) 10px; border-radius: var(--r-btn); background: var(--c-bg); box-shadow: 0 0 0 1px var(--c-soft-hover); font-size: var(--fs-small); line-height: 1.4; }
.ig-box__label { font-weight: var(--fw-strong); color: var(--c-brand); }
.ig-box__detail { font-size: var(--fs-micro); line-height: 1.4; }
.ig-box--root { position: relative; width: 100%; max-width: 480px; padding: var(--s-3) var(--s-4); border-radius: var(--r-card); background: var(--c-brand); box-shadow: none; text-align: center; }
.ig-box--root .ig-box__label { color: var(--c-on-band); font-size: 1.0625rem; }
.ig-box--root .ig-box__detail { color: var(--c-on-band-muted); }
.ig-box--root::after { content: ""; position: absolute; top: 100%; left: 50%; width: 2px; height: var(--s-5); margin-left: -1px; background: var(--c-soft-hover); }
.ig-kids { list-style: none; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 0 var(--s-3); width: 100%; margin-top: var(--s-5); }
.ig-kid { position: relative; display: flex; flex-direction: column; gap: var(--s-2); min-width: 0; padding-top: var(--s-5); }
.ig-kid::before { content: ""; position: absolute; top: 0; left: 50%; width: 2px; height: var(--s-5); margin-left: -1px; background: var(--c-soft-hover); }
.ig-kid::after { content: ""; position: absolute; top: 0; left: calc(var(--s-3) / -2); right: calc(var(--s-3) / -2); height: 2px; background: var(--c-soft-hover); }
.ig-kid:first-child::after { left: 50%; }
.ig-kid:last-child::after { right: 50%; }
.ig-kid:only-child::after { display: none; }
.ig-flow .ig-kid > .ig-box { flex: 1; }
/* tree: the first box of every branch takes the height of the tallest one, the sub-boxes start on one line (D-17) */
@media (min-width: 901px) {
  .ig-tree .ig-kids { grid-template-rows: auto auto; }
  .ig-tree .ig-kid { display: grid; grid-template-rows: subgrid; grid-row: span 2; row-gap: var(--s-3); align-content: start; }
  .ig-tree .ig-kid > .ig-box { height: 100%; }
}
@supports (grid-template-rows: subgrid) {   /* chips, arrows and outcomes line up across the branches */
  .ig-flow .ig-kids { grid-template-rows: auto auto 1fr; }
  .ig-flow .ig-kid { display: grid; grid-template-rows: subgrid; grid-row: span 3; gap: var(--s-2) 0; }
  .ig-flow .ig-chip { justify-self: stretch; align-self: stretch; display: flex; align-items: center; justify-content: center; }
  .ig-flow .ig-flow__arrow { justify-self: center; }
}
.ig-subs { list-style: none; display: grid; gap: var(--s-2); margin: 0 0 0 var(--s-3); padding-left: var(--s-3); border-left: 2px solid var(--c-soft-hover); }
.ig-sub { position: relative; }
.ig-sub::before { content: ""; position: absolute; top: 20px; left: calc(-1 * var(--s-3)); width: var(--s-3); height: 2px; background: var(--c-soft-hover); }
.ig-box--sub { background: var(--c-mist); box-shadow: none; }
.ig-chip { align-self: center; max-width: 100%; padding: 6px var(--s-3); border-radius: var(--r-card); background: var(--c-soft); color: var(--c-brand); font-size: var(--fs-small); font-weight: var(--fw-strong); line-height: 1.35; text-align: center; }
.ig-flow__arrow { align-self: center; display: flex; color: var(--c-secondary); }
.icon--flow { transform: rotate(90deg); }
.infographic-image { margin: var(--s-6) 0 0; }
.infographic-image img { width: 100%; border-radius: var(--r-card); box-shadow: var(--shadow-soft); background: var(--c-bg); }

/* ---------- vertical rhythm between stacked blocks (D-17): a figure, a table, a grid or a callout is never glued to its neighbour ---------- */
:is(.photo, .infographic, .infographic-image, .table-scroll, .cards, .steps, .checklist, .callout, .after-grid, .linkcard, .ig-wrap) + :is(.photo, .table-scroll, .cards, .steps, .checklist, .callout, .after-grid, .table-caption, .table-note, p, ul, ol) { margin-top: var(--s-5); }
:is(.table-scroll, .table-note, .table-caption, .cards, .steps, .photo, .infographic, .infographic-image, .callout, .ig-wrap, .checklist) + :is(h3, h4) { margin-top: var(--s-6); }
.split__main > .cards + .after-grid, .split__main > .table-scroll + .table-scroll { margin-top: var(--s-5); }
.split__media > * + * { margin-top: var(--s-4); }

/* ---------- CTA bands (DESIGN.md 7.9): a white hairline panel with a blue left rule inside the container; the page's last band is
   flat navy with the gold rule ---------- */
.sec--cta { padding: var(--s-7) 0; }
.cta { display: flex; align-items: center; justify-content: space-between; gap: var(--s-6); padding: var(--s-6) 48px; border-radius: var(--r-panel); background: var(--c-bg); border: 1px solid var(--c-line); border-left: 4px solid var(--c-brand); }
.cta h2 { font-size: 1.625rem; line-height: 1.3; }
.cta__text { max-width: 700px; }
.cta__text p { margin-top: var(--s-2); }
.cta .actions { margin-top: 0; flex: none; }
main .crumbs a, main .contents a { text-decoration: none; }
main .crumbs a:hover { text-decoration: underline; }
.cta--band { background: var(--c-band-from); border: 0; border-top: 3px solid var(--c-gold); color: var(--c-on-band-muted); }
.cta--band h2 { color: var(--c-on-band); }
.cta--band a:not(.btn) { color: var(--c-on-band); }
.cta--band .btn--primary { background: var(--c-bg); color: var(--c-brand); }
.cta--band .btn--primary:hover { background: var(--c-soft); color: var(--c-brand); }
.cta--band .btn--soft { box-shadow: inset 0 0 0 1px var(--c-on-band-muted); color: var(--c-on-band); background: transparent; }
.cta--band .btn--soft:hover { background: rgba(255, 255, 255, 0.1); color: var(--c-on-band); }
.cta-inline { margin-top: var(--s-4); padding: var(--s-4); border-radius: var(--r-card); background: var(--c-soft); }

/* ---------- FAQ (clause 23) ---------- */
.faq { display: grid; gap: var(--s-2); max-width: 980px; }
.faq details { background: var(--c-bg); border-radius: var(--r-btn); box-shadow: inset 0 0 0 1px var(--c-line); transition: box-shadow var(--t-colour) var(--ease); }
.faq details[open] { box-shadow: var(--shadow-soft); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); padding: 20px var(--s-5); cursor: pointer; font-size: 1.0625rem; font-weight: 600; color: var(--c-text-strong); }
.faq summary::-webkit-details-marker { display: none; }
.faq__icon { position: relative; flex: none; width: 32px; height: 32px; border-radius: var(--r-pill); background: var(--c-soft); }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--c-brand); transform: translate(-50%, -50%); transition: transform var(--t-colour) var(--ease); }
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__a { padding: 0 var(--s-5) var(--s-5); max-width: 860px; }

/* ---------- trust: the persona cards (initials until the owner's portraits), the practice note, the authorship line ---------- */
.trust { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s-6); align-items: start; }
.trust__text { max-width: 760px; }
.trust--solo { grid-template-columns: minmax(0, 1fr); }
.trust__aside { padding-top: var(--s-7); }
.trust__aside .photo { margin: 0; }
.trust__wide { grid-column: 1 / -1; }
.trust__wide > * + * { margin-top: var(--s-6); }
.people { list-style: none; display: grid; gap: var(--s-3); }
.person { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: var(--s-4); align-items: center; background: var(--c-bg); border-radius: var(--r-card); border: 1px solid var(--c-line); padding: var(--s-4); }
.person__mono { width: 64px; height: 64px; border-radius: var(--r-pill); background: var(--c-brand); color: var(--c-on-band); display: inline-flex; align-items: center; justify-content: center; font-size: var(--fs-ui); font-weight: var(--fw-head); }
.person__name { font-size: 1.0625rem; font-weight: var(--fw-strong); }
.person__name a { color: var(--c-brand); text-decoration: none; }
.person__role { font-size: var(--fs-small); color: var(--c-muted); margin-top: 2px !important; }
.practice { margin-top: var(--s-4); background: var(--c-mist); border-radius: var(--r-card); padding: var(--s-4) var(--s-5); }
.practice__label { font-size: var(--fs-micro); text-transform: uppercase; letter-spacing: 0.06em; color: var(--c-muted); margin-bottom: 4px; }
.byline { margin-top: var(--s-4); font-size: var(--fs-small); color: var(--c-muted); }

/* ---------- forms (clause 26; archetype staged card, DESIGN.md section 10) ---------- */
.formsplit { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-6); align-items: start; }
.formsplit__side .photo { margin-top: var(--s-4); }
.form-contacts { list-style: none; margin-top: var(--s-5); display: grid; gap: var(--s-2); font-size: var(--fs-small); }
.form-contacts li { display: flex; gap: var(--s-2); align-items: flex-start; }
.form-contacts .icon { color: var(--c-secondary); margin-top: 2px; }
.formcard { background: var(--c-bg); border: 1px solid var(--c-line); border-radius: var(--r-card); box-shadow: var(--shadow-soft); padding: var(--s-6); }
.form__stages { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-bottom: var(--s-5); font-size: var(--fs-micro); color: var(--c-muted); }
.form__stages li { display: flex; flex-direction: column; gap: 6px; padding-top: 10px; border-top: 4px solid var(--c-soft); }
.form__stages li[aria-current] { border-top-color: var(--c-gold); color: var(--c-brand); font-weight: var(--fw-strong); }
.form__stages span { font-weight: var(--fw-strong); }
.fields { display: grid; gap: var(--s-4); }
.field label, .field legend { display: block; font-size: var(--fs-small); color: var(--c-text); margin-bottom: 6px; }
.field input:not([type="checkbox"]):not([type="radio"]), .field select, .field textarea { width: 100%; min-height: var(--field-h); padding: var(--field-pad); border: 1px solid var(--c-line); border-radius: var(--r-field); background: var(--field-bg); color: var(--c-text); font: inherit; font-size: var(--fs-small); transition: box-shadow var(--t-colour) var(--ease); }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; box-shadow: 0 0 0 2px var(--c-secondary); }
.field__help { font-size: var(--fs-micro); color: var(--c-muted); margin-top: 4px; }
.field--check label { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: var(--s-2); align-items: start; font-size: var(--fs-small); }
.field--check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--c-brand); }
.req { color: var(--c-accent-ink); }
.hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.cf-turnstile { margin: var(--s-4) 0 0; min-height: 0; }
.form .btn--block { margin-top: var(--s-4); }
.form__status { font-size: var(--fs-small); margin-top: var(--s-2); min-height: 1.5em; }
.form__status.is-error { color: var(--c-accent-ink); }
.form__status.is-ok { color: var(--c-brand); }
.formcard--solo { max-width: 720px; margin-inline: auto; }
.form__notice { font-size: var(--fs-small); color: var(--c-muted); margin-top: var(--s-3); }
.form__after { margin-top: var(--s-4); font-size: var(--fs-small); color: var(--c-muted); }
.form__heading { font-size: var(--fs-ui); line-height: 1.3; margin-top: var(--s-2); padding-top: var(--s-5); border-top: 1px solid var(--c-line); }
.fields > .form__heading:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.form__note { font-size: var(--fs-small); color: var(--c-muted); }
.form__ref { padding: var(--s-2) var(--s-3); border-radius: var(--r-field); background: var(--c-mist); color: var(--c-brand); font-size: var(--fs-small); }
.field--radio { border: 0; min-width: 0; }
.field--radio legend { padding: 0; }
.radio-row { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); }
.field--radio label { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: var(--fs-small); }
.field--radio input { width: 18px; height: 18px; accent-color: var(--c-brand); }
.field__affix { display: flex; align-items: center; gap: var(--s-2); }
.field__affix input { flex: 1; min-width: 0; }
.field__suffix { font-size: var(--fs-small); color: var(--c-muted); }
.contact-dl { display: grid; gap: var(--s-2); }
.contact-dl div { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: var(--s-3); }
.contact-dl dt { color: var(--c-muted); }

/* ---------- related links (the cron's block), pills (clause 11) ---------- */
.interlinks { padding: var(--s-7) 0; }
.interlinks__h { font-size: var(--fs-h3); line-height: var(--lh-h3); margin-bottom: var(--s-4); }
.interlinks--inside { margin-top: var(--s-6); padding: 0; background: none; }
.interlinks__title { font-weight: var(--fw-strong); color: var(--c-brand); margin-bottom: var(--s-3); }
.interlinks__list { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s-2); }
.pill-link { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: var(--r-pill); background: var(--c-bg); border: 1px solid var(--c-line); color: var(--c-brand); font-size: var(--fs-small); }
.pill-link:hover { background: var(--c-soft-hover); color: var(--c-brand); }
.pill-link .icon--arrow { width: 14px; height: 14px; }

/* ---------- footer (DESIGN.md 7.13): white, slate text, the brand column and four link columns, the licensed-partner note ---------- */
.site-footer { background: var(--c-bg); color: var(--c-footer-text); border-top: 1px solid var(--c-line); padding: var(--s-7) 0 var(--s-5); font-size: var(--fs-small); }
.footer__grid { display: grid; grid-template-columns: 1.5fr repeat(4, minmax(0, 1fr)); gap: var(--s-6); }
.footer__h { font-weight: 700; color: var(--c-text-strong); margin-bottom: var(--s-3); }
.footer__col ul { list-style: none; display: grid; gap: 8px; }
.footer__col a { color: var(--c-footer-text); }
.footer__col a:hover { color: var(--c-brand); }
.footer__org p { margin-top: var(--s-3); }
.footer__tag { color: var(--c-gold-ink); font-weight: 600; }
.site-footer .brand, .site-footer .brand:hover { color: var(--c-text-strong); }
.brand--footer .brand__mark { width: 36px; height: 36px; }
.footer__note { margin-top: var(--s-6); padding-top: var(--s-4); border-top: 1px solid var(--c-line); color: var(--c-muted); }
.footer__legal { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); margin-top: var(--s-4); color: var(--c-muted); }
.footer__legal a { color: var(--c-footer-text); }

/* ---------- consent banner: a white card at the bottom left, two equal choices ---------- */
.consent { position: fixed; left: var(--s-4); bottom: var(--s-4); z-index: 90; max-width: 440px; background: var(--c-bg); border-radius: var(--r-card); box-shadow: var(--shadow-lift); padding: var(--s-5); font-size: var(--fs-small); }
.consent__title { font-weight: var(--fw-strong); color: var(--c-brand); font-size: 1rem; margin-bottom: var(--s-2); }
.consent__actions { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2); margin-top: var(--s-4); }

.map { margin: 0; }
.map iframe { width: 100%; height: 360px; border: 0; border-radius: var(--r-card); }
.map__placeholder { background: var(--c-mist); border-radius: var(--r-card); padding: var(--s-5); }

/* ---------- responsive ---------- */
@media (max-width: 1199px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
  .header__util { display: none; }
  .header__main { min-height: 72px; }
  .header__cta { display: none; }
  .home-hero { grid-template-columns: minmax(0, 1fr); }
  .contents ol { columns: 2; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__org { grid-column: 1 / -1; }
  /* touch targets (step 5, D-10): from the burger layout down, a link that stands alone and every control is at least 44 px tall;
     a link inside a sentence keeps its line (WCAG 2.5.8 inline exception). Fields are 16 px so iOS does not zoom on focus */
  .brand { min-height: 44px; }
  .crumbs { padding: 0; }
  .crumbs a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
  .drawer li a { display: flex; align-items: center; min-height: 44px; padding: 0; }
  .drawer__contact a { display: inline-flex; align-items: center; min-height: 44px; }
  .contents li { padding: 0; }
  .contents a { align-items: center; min-height: 44px; }
  .card h3 a, .card h4 a, .related-row__title a, .person__name a, .textlink, .pill-link, .btn--sm { display: inline-flex; align-items: center; min-height: 44px; }
  .footer__col ul { gap: 0; }
  .footer__col a, .drawer li a { display: flex; }
  .footer__legal a, .footer__legal .linklike, main .linklike { display: inline-flex; align-items: center; min-height: 44px; }
  .footer__col a { align-items: center; min-height: 44px; }
  .footer__col a + br { display: none; }   /* the link is already a 44px block: the line break would add an empty line */
  .card > ul a { display: inline-block; min-height: 44px; padding-block: 10px; } /* 44px target without flex, arrow stays after the text (D-20) */
  td > a,  .form-contacts a, td > a:only-child, th > a:only-child, .checklist li > span > a:only-child { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
  .footer__legal { gap: 0 var(--s-5); align-items: center; }
  .field input:not([type="checkbox"]):not([type="radio"]), .field select { min-height: 44px; font-size: 1rem; }
  .field textarea { font-size: 1rem; }
  .field--check label { grid-template-columns: 24px minmax(0, 1fr); align-items: center; min-height: 44px; }
  .field--radio label { min-height: 44px; }
  .field--check input, .field--radio input { width: 22px; height: 22px; margin-top: 0; }
}
@media (max-width: 1199px) {
  /* the shelf list turns into one card per company below the desktop width: nine columns do not fit 1024 px (D-17) */
  .shelf .table-scroll { overflow: visible; background: none; box-shadow: none; }
  .shelf-table { display: block; }
  .shelf-table tbody { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3); }
  .shelf-table thead { display: none; }
  .shelf-table tr { display: grid; grid-template-columns: minmax(0, 1fr); margin: 0; padding: var(--s-2) var(--s-4); border-radius: var(--r-card); background: var(--c-bg); box-shadow: var(--shadow-soft); }
  .shelf-table th[scope="row"], .shelf-table td { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); padding: 9px 0; border-bottom: 1px solid var(--c-line); text-align: right; }
  .shelf-table td::before, .shelf-table th[scope="row"]::before { content: attr(data-label); flex: none; text-align: left; font-weight: var(--fw-text); color: var(--c-muted); }
  .shelf-table th[scope="row"] { font-size: var(--fs-ui); color: var(--c-brand); }
  .shelf-table th[scope="row"]::before { font-size: var(--fs-small); }
  .shelf-table td[data-label="Request"] { border-bottom: 0; padding-bottom: var(--s-2); }
  .shelf-table td[data-label="Request"]::before { content: none; }
  .shelf-table td[data-label="Request"] .btn { width: 100%; }
  /* the checks list is wider than the card beside its label at 320 px: the label sits above it and the list takes the card's width */
  .shelf-table td[data-label="Checks"] { flex-direction: column; align-items: stretch; gap: var(--s-2); text-align: left; }
  .shelf-checks { grid-template-columns: minmax(0, 1fr); gap: 2px; width: 100%; }
  .shelf-checks li { justify-content: space-between; white-space: normal; }
}
@media (max-width: 767px) {
  .shelf-table tbody { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 1024px) {
  .cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards--5, .cards--7 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards--5 > :last-child, .cards--7 > :last-child { grid-column: 1 / -1; }
  .split, .split--flip, .trust, .formsplit, .band__grid { grid-template-columns: minmax(0, 1fr); }
  .split--flip .split__media { order: 0; }
  .trust__aside { padding-top: 0; }
  .split__media { position: static; }
  .band__media { margin: 0 0 28px 28px; max-width: 640px; }
  .collage { height: 460px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts__item:nth-child(3) { border-left: 0; }
  .facts__item:nth-child(n+3) { border-top: 1px solid var(--c-line); }
  .ig-figures { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ig-process { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .ig-step { flex-direction: row; gap: var(--s-3); padding-bottom: var(--s-4); }
  .ig-step::before, .ig-step--end::before { display: block; top: 36px; bottom: 0; left: 16px; right: auto; width: 2px; height: auto; }
  .ig-step:last-child { padding-bottom: 0; }
  .ig-step:last-child::before { display: none; }
  .cta { flex-direction: column; align-items: flex-start; }
  .drawer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1199px) {
  /* the swimlanes read as a list grouped by step below the desktop width: same nodes, the lane named on each */
  .ig-lanes { display: block; }
  .ig-lanes__bg, .ig-lanes__lane { display: none; }
  .ig-lanes__step { flex-direction: row; align-items: center; gap: var(--s-2); padding: var(--s-3) 0 6px; }
  .ig-lanes__st { font-size: var(--fs-small); }
  .ig-node { margin: 8px 0 8px 38px; font-size: var(--fs-small); }
  .ig-node__lane { display: block; font-weight: var(--fw-strong); color: var(--c-brand); font-size: var(--fs-micro); text-transform: uppercase; letter-spacing: 0.04em; }
}
@media (max-width: 900px) {
  /* structure and flow: the children stack on a rail down the left, each joined to it by a short arm */
  .ig-tree, .ig-flow { align-items: stretch; }
  .ig-box--root { max-width: none; text-align: left; }
  .ig-box--root::after { left: 18px; margin-left: 0; }
  .ig-kids { grid-template-columns: minmax(0, 1fr); width: auto; gap: var(--s-4); margin: var(--s-5) 0 0 18px; padding-left: var(--s-5); }
  .ig-kid { padding-top: 0; }
  .ig-kid::before { top: 20px; left: calc(-1 * var(--s-5)); width: var(--s-5); height: 2px; margin-left: 0; }
  .ig-kid::after, .ig-kid:first-child::after, .ig-kid:last-child::after, .ig-kid:only-child::after { display: block; top: 0; bottom: calc(-1 * var(--s-4)); left: calc(-1 * var(--s-5)); right: auto; width: 2px; height: auto; }
  .ig-kid:last-child::after, .ig-kid:only-child::after { bottom: auto; height: 21px; }
  .ig-chip, .ig-flow .ig-chip, .ig-flow__arrow, .ig-flow .ig-flow__arrow { align-self: start; justify-self: start; text-align: left; justify-content: flex-start; }
  .ig-flow .ig-kids { grid-template-rows: none; }
  .ig-flow .ig-kid { grid-row: auto; grid-template-rows: none; }
  .ig-flow__arrow { margin-left: var(--s-3); }
}
@media (max-width: 767px) {
  :root { --gutter: 16px; --section-y: var(--section-y-m); --fs-small: 1rem; --fs-micro: 0.875rem; } /* phone: running and secondary text 16 px, micro 14 px (step 5, D-10) */
  h1 { font-size: var(--fs-h1-m); line-height: 1.25; }
  h2 { font-size: var(--fs-h2-m); }
  .sub-h, .cta h2, .interlinks__h { font-size: var(--fs-h3-m); }
  .header__cta { display: none; }
  .brand__word { font-size: 1.25rem; }
  .brand__mark { width: 38px; height: 38px; }
  .band { padding: 48px 0 40px; }
  .band--home { padding: 56px 0 48px; }
  .band .hero__lead { font-size: 1.0625rem; }
  /* the offer and the red CTA stay in the first 844 px screen on every service page (step 6): tighter chip rhythm on a phone */
  .band .chips { gap: 6px; margin-top: var(--s-4); }
  .chips { grid-template-columns: minmax(0, 1fr); }
  .collage { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: 220px 110px; height: auto; margin: 16px 0 0; gap: 8px; }
  .collage__tile--main { grid-row: 1; grid-column: 1 / 4; }
  .collage::before { left: -8px; top: -8px; }
  .collage::after { right: -8px; bottom: -8px; }
  .collage__tab { left: 6px; bottom: 6px; padding: 4px 7px; font-size: 0.75rem; }
  .sec--facts { padding-bottom: 48px; }
  .facts__item { padding: var(--s-4); }
  .facts__n { font-size: 1.375rem; }
  .band__media { margin: 0 0 12px 12px; }
  .band__media::before { left: -12px; top: 12px; bottom: -12px; }
  .band .actions { margin-top: var(--s-4); }
  .contents ol { columns: 1; }
  .cards--2, .cards--3, .cards--4, .cards--5, .cards--7, .steps--2, .checklist { grid-template-columns: minmax(0, 1fr); }
  .card { padding: 22px; }
  .ig-figures { grid-template-columns: minmax(0, 1fr); }
  .infographic { padding: var(--s-4); }
  .table-scroll:has(> .data-table:not(.shelf-table)) { overflow: visible; }
  .data-table:not(.shelf-table), .data-table:not(.shelf-table) tbody, .data-table:not(.shelf-table) tr { display: block; }
  .data-table:not(.shelf-table) thead { display: none; }   /* every cell carries its column name (data-label) */
  .data-table:not(.shelf-table) tr { padding: var(--s-3) var(--s-4); border-bottom: 1px solid var(--c-line); }
  .data-table:not(.shelf-table) tbody tr:last-child { border-bottom: 0; }
  .data-table:not(.shelf-table) th[scope="row"], .data-table:not(.shelf-table) td { display: block; width: auto; min-width: 0; padding: 4px 0; border: 0; white-space: normal; }
  .data-table:not(.shelf-table) th[scope="row"] { font-size: var(--fs-ui); color: var(--c-brand); padding-bottom: var(--s-1); }
  .data-table:not(.shelf-table) td[data-label]::before { content: attr(data-label); display: block; font-size: var(--fs-micro); font-weight: var(--fw-strong); color: var(--c-muted); }
  .data-table:not(.shelf-table) caption { display: block; }
  .ig-cmp__head { display: none; }
  .ig-cmp__row, .ig-cmp--nolabel .ig-cmp__row { grid-template-columns: minmax(0, 1fr); gap: var(--s-2); }
  .ig-cmp__rows { gap: var(--s-4); }
  .ig-cmp__cell { display: grid; gap: 2px; }
  .ig-cmp__colname { position: static; width: auto; height: auto; margin: 0; overflow: visible; clip: auto; white-space: normal; font-weight: var(--fw-strong); color: var(--c-brand); font-size: var(--fs-micro); }
  .cta { padding: var(--s-5) var(--s-4); }
  .formcard { padding: var(--s-4); }
  .form__stages { grid-template-columns: minmax(0, 1fr); }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .drawer__grid { grid-template-columns: minmax(0, 1fr); }
  .faq summary { padding: 14px var(--s-4); font-size: 1rem; }
  .faq__a { padding: 0 var(--s-4) var(--s-4); }
  .contact-dl div { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .linkcard { padding: var(--s-4); }
  .consent { left: var(--s-2); right: var(--s-2); bottom: var(--s-2); max-width: none; }
}
@media (max-width: 440px) {
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .actions .btn { width: 100%; }
  .step { grid-template-columns: 40px minmax(0, 1fr); gap: var(--s-3); }
  .step__n { width: 40px; height: 40px; font-size: 1.0625rem; }
  .data-table th, .data-table td { padding: 12px 14px; }
  .data-table tbody th { min-width: 120px; }
}
