/* site.css - shelf-company-romania.com. The components of DESIGN.md section 5, one class family per renderer of scripts/build.mjs.
   Values come from tokens.css only (loaded first): no colour, size or radius is written out here. Mobile first; the
   breakpoints are 600, 900, 1100 (menu), 1200 (sidebar) and 1440. Part 1: base, buttons, header, sheet. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h-phone) + var(--space-4)); }
body { margin: 0; padding-top: var(--header-h-phone); font: var(--fw-regular) var(--fs-body)/var(--lh-body) var(--font-sans); color: var(--color-text); background: var(--color-ground); -webkit-font-smoothing: antialiased; }
main { display: block; }
img, svg, picture { max-width: 100%; }
img { height: auto; display: block; }
h1, h2, h3, h4 { margin: 0; font-weight: var(--fw-semibold); }
h1 { font-size: var(--fs-h1); line-height: var(--lh-h1); font-weight: var(--fw-bold); }
h2 { font-size: var(--fs-h2); line-height: var(--lh-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.3; }
h4 { font-size: var(--fs-body); }
p { margin: 0 0 var(--space-4); }
ul, ol { margin: 0 0 var(--space-4); padding-left: 1.25rem; }
a { color: var(--color-link); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--color-link-hover); }
strong, b { font-weight: var(--fw-semibold); }
code { font-size: 0.92em; }
p, li, td, th, dd, dt, h1, h2, h3, figcaption, summary { overflow-wrap: break-word; }
.wrap { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only, .hp { 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(--space-4); top: -4rem; z-index: 100; background: var(--color-surface); color: var(--color-text); padding: var(--space-3) var(--space-4); border-radius: var(--radius-btn); }
.skip:focus { top: var(--space-3); }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.site-header :focus-visible, .page-hero :focus-visible, .cta :focus-visible, .footer__bar :focus-visible, .consent :focus-visible, .sheet :focus-visible { outline-color: var(--color-focus); }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ---------- buttons: outline 10 px on navy, solid 10 px for an action on light, the pill only for submit and consent ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: 2.75rem; padding: 0 var(--space-5); border: 1px solid transparent; border-radius: var(--radius-btn); font: var(--fw-medium) var(--fs-body)/1.2 var(--font-sans); text-decoration: none; cursor: pointer; transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.btn svg { width: 1rem; height: 1rem; flex: none; }
.btn--fill { background: var(--color-link); color: var(--color-inverse-text); min-height: 3rem; }
.btn--fill:hover { background: var(--color-link-hover); color: var(--color-inverse-text); }
.btn--hero { border-color: var(--color-focus); color: var(--color-inverse-text); background: var(--c-btn-outline-dark); }
.btn--hero:hover, .btn--line-light:hover { background: var(--color-inverse-rule); color: var(--color-inverse-text); }
.btn--light { background: var(--color-surface); color: var(--color-text); min-height: 3rem; }
.btn--light:hover { background: var(--color-chip); color: var(--color-text); }
.btn--line-light { border-color: var(--color-inverse-text); color: var(--color-inverse-text); background: var(--c-btn-outline-dark); min-height: 3rem; }
.btn--line { border-color: var(--color-link); color: var(--color-link); background: var(--color-surface); }
.btn--line:hover { background: var(--color-link); color: var(--color-inverse-text); }
.btn--small { min-height: 2.25rem; padding: 0 var(--space-4); font-size: var(--fs-ui); }
.btn--nav { min-height: 2.75rem; font-size: var(--fs-ui); padding: 0 var(--space-4); }
.btn--submit { min-height: 3rem; padding: 0 var(--space-6); border-radius: var(--radius-pill); background: var(--color-link); color: var(--color-inverse-text); }
.btn--submit:hover { background: var(--color-link-hover); color: var(--color-inverse-text); }
.btn--submit[disabled] { opacity: 0.6; cursor: wait; }
.btn--block { width: 100%; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-5); margin: var(--space-5) 0 0; }
.textlink { display: inline-flex; align-items: center; gap: var(--space-1); font-weight: var(--fw-medium); text-decoration: none; }
.textlink:hover { text-decoration: underline; }
.textlink svg, .chev { width: 1rem; height: 1rem; flex: none; }
.textlink--light { color: var(--color-inverse-text); }
.textlink--light:hover { color: var(--color-inverse-text); }

/* ---------- header (fixed, 64 px phone, 88 px from 1100 px) ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h-phone); background: var(--c-header-bg); border-bottom: 1px solid var(--c-header-rule); color: var(--color-inverse-text); }
.site-header a { color: inherit; text-decoration: none; }
.navbar { display: flex; align-items: center; gap: var(--space-5); height: 100%; }
.brand { display: inline-flex; align-items: center; gap: 0.625rem; color: inherit; text-decoration: none; flex: none; }
.brand__mark { width: 2rem; height: 2rem; flex: none; }
.brand__word { display: flex; flex-direction: column; line-height: 1.1; }
.brand__word span:first-child { font-size: 1.0625rem; font-weight: var(--fw-bold); }
.brand__word span:last-child { font-size: var(--fs-ui); font-weight: var(--fw-regular); }
.nav { display: none; }
.navbar__end { margin-left: auto; display: flex; align-items: center; gap: var(--space-4); }
.navbar__tel, .btn--nav { display: none; }
.burger { display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0; background: none; border: 0; color: inherit; cursor: pointer; }
.burger__bars, .burger__bars::before, .burger__bars::after { display: block; width: 1.5rem; height: 2px; background: currentColor; border-radius: 2px; transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease); }
.burger__bars { position: relative; }
.burger__bars::before, .burger__bars::after { content: ""; position: absolute; left: 0; }
.burger__bars::before { top: -0.4375rem; }
.burger__bars::after { top: 0.4375rem; }
.burger[aria-expanded="true"] .burger__bars { background: transparent; }
.burger[aria-expanded="true"] .burger__bars::before { transform: translateY(0.4375rem) rotate(45deg); }
.burger[aria-expanded="true"] .burger__bars::after { transform: translateY(-0.4375rem) rotate(-45deg); }
.sheet { position: fixed; inset: var(--header-h-phone) 0 0 0; z-index: 49; overflow-y: auto; background: var(--color-inverse); color: var(--color-inverse-text); padding: var(--space-5) 0 var(--space-9); }
.sheet[hidden] { display: none; }
.sheet__group { margin-bottom: var(--space-6); }
.sheet__title { margin: 0 0 var(--space-2); font-size: var(--fs-ui); color: var(--color-inverse-muted); }
.sheet__sub { margin: var(--space-4) 0 var(--space-1); font-size: var(--fs-ui); color: var(--color-inverse-muted); }
.sheet ul { list-style: none; margin: 0; padding: 0; }
.sheet li a { display: block; padding: var(--space-2) 0; font-size: 1.125rem; font-weight: var(--fw-semibold); }
.sheet__contact { font-size: var(--fs-ui); color: var(--color-inverse-muted); }
.sheet__contact a { text-decoration: underline; }
@media (min-width: 1100px) {
  body { padding-top: var(--header-h); }
  html { scroll-padding-top: calc(var(--header-h) + var(--space-4)); }
  .site-header { height: var(--header-h); }
  .burger, .sheet { display: none; }
  .nav { display: block; margin-left: var(--space-3); }
  .nav > ul { display: flex; align-items: stretch; gap: var(--space-5); list-style: none; margin: 0; padding: 0; height: var(--header-h); }
  .nav__item { position: relative; display: flex; }
  .nav__link { display: inline-flex; align-items: center; gap: var(--space-1); height: 100%; padding: 0; background: none; border: 0; color: inherit; font: var(--fw-medium) var(--fs-body)/1 var(--font-sans); cursor: pointer; white-space: nowrap; }
  .nav__chev { width: 1.125rem; height: 1.125rem; transition: transform var(--dur) var(--ease); }
  .nav__btn[aria-expanded="true"] .nav__chev { transform: rotate(180deg); }
  .nav__panel { position: absolute; top: 100%; left: calc(var(--space-4) * -1); min-width: 17.5rem; padding: var(--space-4) var(--space-5); background: var(--color-surface); color: var(--color-text); border-radius: 0 0 var(--radius-card) var(--radius-card); box-shadow: var(--shadow-float); }
  .nav__panel[hidden] { display: none; }
  .nav__panel ul { list-style: none; margin: 0; padding: 0; }
  .nav__panel a { display: block; padding: var(--space-2) 0; font-size: var(--fs-ui); white-space: nowrap; }
  .nav__panel a:hover, .nav__panel a[aria-current="page"] { color: var(--color-accent-ink); }
  .nav__sub { margin: var(--space-3) 0 var(--space-1); padding-top: var(--space-3); border-top: 1px solid var(--color-rule); font-size: var(--fs-ui); font-weight: var(--fw-semibold); color: var(--color-text-2); }
  .btn--nav { display: inline-flex; }
}
@media (min-width: 1100px) and (hover: hover) { .nav__item:hover > .nav__panel[hidden] { display: block; } }
@media (min-width: 1360px) { .navbar__tel { display: inline; font-size: var(--fs-ui); } }

/* ---------- Part 2: heroes, breadcrumbs, figures band, the sidebar layout ---------- */
.page-hero { position: relative; background: var(--color-inverse); color: var(--color-inverse-text); overflow: hidden; }
.page-hero a:not(.btn):not(.textlink) { color: inherit; }
.page-hero__inner { position: relative; z-index: 1; padding-block: var(--space-6) var(--space-8); }
.crumbs { display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-2); margin: 0 0 var(--space-6); font-size: var(--fs-ui); color: var(--color-inverse-muted); }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: var(--color-inverse-text); text-decoration: underline; }
.crumbs span[aria-hidden] { color: var(--color-decor); }
.crumbs [aria-current] { color: var(--color-inverse-text); }
.page-hero h1 { color: var(--color-inverse-text); max-width: 35rem; margin-bottom: var(--space-4); }
.hero__update { margin: 0 0 var(--space-5); font-size: var(--fs-small); color: var(--color-inverse-muted); }
.hero__sub { max-width: 35rem; margin: 0 0 var(--space-4); font-size: var(--fs-body); color: var(--color-inverse-text); }
.hero__stat { margin: var(--space-4) 0; font-size: var(--fs-ui); color: var(--color-inverse-muted); }
.hero__facts { display: flex; flex-wrap: wrap; gap: var(--space-2); list-style: none; margin: var(--space-5) 0 0; padding: 0; }
.hero__facts li { display: inline-flex; align-items: center; gap: var(--space-2); padding: 0.375rem 0.875rem 0.375rem 0.75rem; border: 1px solid var(--color-inverse-rule); border-radius: var(--radius-pill); font-size: var(--fs-ui); color: var(--color-inverse-text); }
.hero__facts li::before { content: ""; flex: none; width: 0.375rem; height: 0.375rem; border-radius: 50%; background: var(--color-heritage); }
.hero__cap { position: relative; z-index: 1; max-width: var(--container); margin: 0 auto; padding: var(--space-2) var(--gutter) var(--space-4); font-size: var(--fs-small); color: var(--color-inverse-muted); }
/* service, shelf, form, utility with a photograph: navy band, the photograph opens on the right under the gradient */
.page-hero.has-photo { display: flex; flex-direction: column; }
.page-hero.has-photo .hero__media { order: 2; position: relative; aspect-ratio: 16 / 9; }
.page-hero.has-photo .page-hero__inner { order: 1; }
.page-hero.has-photo .hero__cap { order: 3; }
.hero__media picture, .hero__photo { display: block; width: 100%; height: 100%; }
.hero__photo { object-fit: cover; object-position: right center; }
.page-hero--guide .page-hero__inner { padding-bottom: var(--space-7); }
.page-hero--guide h1 { max-width: 52rem; }
.rule { display: block; width: 3.5rem; height: 3px; margin: var(--space-5) 0; background: var(--color-heritage); }
.byline { margin: 0; font-size: var(--fs-ui); color: var(--color-inverse-muted); }
.page-hero .byline a { color: var(--color-inverse-text); text-decoration: underline; }
.page-hero--utility .hero__sub, .page-hero--form .hero__sub { max-width: 44rem; }
/* utility and form pages without a photograph: a light tint band, so a short page is not mostly navy (layout-lint
   saturated-fill, 2026-10-24); the navy frame stays in the header and the footer bar */
.page-hero--utility:not(.has-photo), .page-hero--form:not(.has-photo) { background: var(--color-tint); color: var(--color-text); border-bottom: 1px solid var(--color-rule); }
.page-hero--utility:not(.has-photo) h1, .page-hero--form:not(.has-photo) h1 { color: var(--color-text); }
.page-hero--utility:not(.has-photo) .crumbs, .page-hero--form:not(.has-photo) .crumbs { color: var(--color-text-2); }
.page-hero--utility:not(.has-photo) .crumbs [aria-current], .page-hero--form:not(.has-photo) .crumbs [aria-current],
.page-hero--utility:not(.has-photo) .crumbs a:hover, .page-hero--form:not(.has-photo) .crumbs a:hover { color: var(--color-text); }
.page-hero--utility:not(.has-photo) .hero__sub, .page-hero--form:not(.has-photo) .hero__sub,
.page-hero--utility:not(.has-photo) .hero__update, .page-hero--form:not(.has-photo) .hero__update { color: var(--color-text-2); }
.page-hero--utility:not(.has-photo) .hero__facts li, .page-hero--form:not(.has-photo) .hero__facts li { color: var(--color-text); border-color: var(--color-border); }
.page-hero--utility:not(.has-photo) .btn--hero, .page-hero--form:not(.has-photo) .btn--hero { border-color: var(--color-accent); color: var(--color-accent-ink); }
.page-hero--utility:not(.has-photo) .btn--hero:hover, .page-hero--form:not(.has-photo) .btn--hero:hover { background: var(--color-chip); color: var(--color-accent-ink); }
.page-hero--utility:not(.has-photo) .textlink--light, .page-hero--form:not(.has-photo) .textlink--light { color: var(--color-link); }
/* home: the variant's service-hero pattern (owner 2026-10-24): the offer left on navy, the home photograph right, a larger H1 */
.page-hero--home { background: var(--color-inverse); }
.kicker { display: block; margin: 0 0 var(--space-5); font-size: var(--fs-ui); color: var(--color-inverse-muted); }
.kicker::before { content: ""; display: inline-block; width: 0.4375rem; height: 0.4375rem; margin-right: var(--space-2); vertical-align: middle; border-radius: 50%; background: var(--color-heritage); }
.page-hero--home h1 { max-width: 18ch; font-size: var(--fs-h1-home); line-height: 1.15; margin-bottom: var(--space-5); text-wrap: balance; }
.page-hero--home .hero__sub { max-width: 45rem; font-size: var(--fs-lead); line-height: 1.5; color: var(--color-inverse-muted); }
.page-hero--home .hero__facts { margin-top: var(--space-4); }
.actions--home { gap: var(--space-4); margin-top: var(--space-6); }
.page-hero--home .btn--light { min-height: 3rem; }
.home-top { display: block; }
.sec--figures { background: var(--color-surface); border-bottom: 1px solid var(--color-rule); padding-block: var(--space-7); }
.figures__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6) var(--space-4); list-style: none; margin: 0; padding: 0; text-align: center; }
.figures__list li { display: flex; flex-direction: column; align-items: center; gap: var(--space-1); }
.figures__value { font-size: clamp(2rem, 1.4rem + 2vw, var(--fs-figure)); font-weight: var(--fw-bold); line-height: 1; color: var(--color-text); }
.figures__label { max-width: 16rem; font-size: var(--fs-ui); line-height: 1.43; color: var(--color-text); }
.figures__src { font-size: var(--fs-small); color: var(--color-text-2); }
.photo--home { margin: var(--space-8) 0 0; max-width: none; }
.photo--home img { aspect-ratio: 21 / 9; }
.photo--home figcaption { max-width: var(--measure); }
@media (min-width: 600px) {
  .page-hero__inner { padding-block: var(--space-7) var(--space-9); }
  .page-hero.has-photo .page-hero__inner { padding-bottom: var(--space-7); }
  .figures__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .page-hero--home.has-photo, .page-hero--home.has-photo .page-hero__inner { min-height: 38.75rem; }
  .page-hero--home.has-photo .hero__copy { max-width: 40rem; }
  .page-hero.has-photo { display: block; min-height: 32.5rem; }
  .page-hero.has-photo .hero__media { position: absolute; inset: 0; aspect-ratio: auto; }
  .page-hero.has-photo .hero__media::after { content: ""; position: absolute; inset: 0; background: var(--c-hero-gradient); }
  .page-hero.has-photo .page-hero__inner { min-height: 32.5rem; display: flex; align-items: center; padding-block: var(--space-8); }
  .page-hero.has-photo .hero__copy { max-width: 35rem; }
  .page-hero.has-photo .hero__cap { position: absolute; right: var(--gutter); bottom: var(--space-4); z-index: 2; max-width: 22.5rem; padding: var(--space-2) var(--space-3); margin: 0; text-align: right; border-radius: var(--radius-btn); background: color-mix(in oklch, var(--color-inverse-deep) 70%, transparent); color: var(--color-inverse-text); }
}

/* ---------- service and guide pages: the content column and the sticky "On this page" sidebar from 1200 px ---------- */
.layout { padding-block: var(--space-8) 0; }
.layout__main { min-width: 0; }
.layout__main .wrap { max-width: none; padding-inline: 0; }
.layout__main > .photo--lead { margin-top: 0; max-width: none; }
.layout__main > .sec:first-child, .layout__main > .toc-inline + .sec { padding-top: 0; }
.toc { display: none; }
.toc-inline { margin: 0 0 var(--space-6); border: 1px solid var(--color-rule); border-radius: var(--radius-card); background: var(--color-tint); }
.toc-inline__btn { position: relative; display: block; width: 100%; padding: var(--space-4) 3rem var(--space-4) var(--space-5); background: none; border: 0; color: var(--color-text); font: var(--fw-semibold) var(--fs-body)/1.3 var(--font-sans); text-align: left; cursor: pointer; }
.toc-inline__btn::after { content: ""; position: absolute; right: var(--space-5); top: 50%; width: 0.5rem; height: 0.5rem; margin-top: -0.375rem; border: solid var(--color-accent); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform var(--dur) var(--ease); }
.toc-inline__btn[aria-expanded="true"]::after { margin-top: -0.125rem; transform: rotate(-135deg); }
.toc-inline ul { list-style: none; margin: 0; padding: 0 var(--space-5) var(--space-4); }
.toc-inline [hidden] { display: none; }
.toc-inline a { display: block; padding: var(--space-2) 0; font-size: var(--fs-ui); color: var(--color-text-2); text-decoration: none; }
.toc-inline a:hover { color: var(--color-accent-ink); }
.answer { margin: 0 0 var(--space-5); padding: var(--space-5); max-width: var(--measure); background: var(--color-tint); border-left: 4px solid var(--color-accent); border-radius: 0 var(--radius-input) var(--radius-input) 0; }
.answer__label { margin: 0 0 var(--space-2); font-size: var(--fs-ui); font-weight: var(--fw-semibold); color: var(--color-accent-ink); }
.answer p:last-child { margin-bottom: 0; }
.lead { max-width: var(--measure); font-size: var(--fs-lead); line-height: 1.5; }
@media (min-width: 1200px) {
  .layout { display: grid; grid-template-columns: minmax(0, 1fr) var(--sidebar); gap: var(--space-9); align-items: start; padding-block-start: var(--space-9); }
  .layout__main { max-width: var(--content); }
  .toc-inline { display: none; }
  .toc { display: block; position: sticky; top: calc(var(--header-h) + var(--space-5)); max-height: calc(100vh - var(--header-h) - var(--space-7)); overflow-y: auto; }
  .toc__title { margin: 0 0 var(--space-3); font-size: var(--fs-body); font-weight: var(--fw-semibold); }
  .toc__box ul { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--color-rule); }
  .toc__box a { display: block; margin-left: -1px; padding: var(--space-2) 0 var(--space-2) var(--space-4); border-left: 2px solid transparent; font-size: var(--fs-ui); line-height: 1.35; color: var(--color-text-2); text-decoration: none; }
  .toc__box a:hover { color: var(--color-accent-ink); }
  .toc__box a[aria-current="true"] { color: var(--color-accent-ink); border-left-color: var(--color-accent); font-weight: var(--fw-medium); }
  .toc__cta { margin-top: var(--space-5); padding: var(--space-5); background: var(--color-surface); border-radius: var(--radius-card); box-shadow: var(--shadow-card); }
  .toc__cta p { margin-bottom: var(--space-4); font-weight: var(--fw-medium); }
}

/* ---------- Part 3: sections ---------- */
.sec { padding-block: calc(var(--section-gap) / 2); }
.section__head { margin-bottom: var(--space-5); }
.section__head h2 { max-width: 52rem; }
.section__lead { max-width: var(--measure); margin-bottom: var(--space-5); }
.section__lead > :last-child { margin-bottom: 0; }
.section__cont { margin-top: var(--space-6); }
.sec > .wrap > p, .prose { max-width: var(--measure); }
.prose > :last-child, .faq__a > :last-child { margin-bottom: 0; }
.prose h3, .section__cont h3, .sec h3[id] { margin: var(--space-6) 0 var(--space-3); }
.callout { max-width: var(--measure); margin: 0 0 var(--space-4); padding: var(--space-4); background: var(--color-tint); border-left: 4px solid var(--color-accent); border-radius: 0 var(--radius-input) var(--radius-input) 0; }
.callout--strong { font-weight: var(--fw-semibold); }
.list-title { margin: var(--space-6) 0 var(--space-2); font-weight: var(--fw-semibold); }
.table-note { max-width: var(--measure); font-size: var(--fs-ui); color: var(--color-text-2); }
.facts, .contact-dl { margin: 0 0 var(--space-4); }
.facts > div, .contact-dl > div { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: var(--space-3); padding: var(--space-2) 0; border-bottom: 1px solid var(--color-rule); }
.facts dt, .contact-dl dt { font-size: var(--fs-ui); font-weight: var(--fw-medium); color: var(--color-text-2); }
.facts dd, .contact-dl dd { margin: 0; }
blockquote { margin: 0 0 var(--space-4); padding-left: var(--space-4); border-left: 4px solid var(--color-rule); max-width: var(--measure); }
.after-grid { margin-top: var(--space-5); max-width: var(--measure); }
.after-grid:has(figure.infographic), .after-grid:has(.table-scroll) { max-width: none; }

/* cards: rows (service "what is included": bold title, one text, hairlines, no box) and boxed (home, utility, team) */
.cards { display: grid; gap: 0 var(--space-9); }
.cards--rows .card { padding: var(--space-5) 0; border-top: 1px solid var(--color-rule); }
.cards--rows .card:last-child { border-bottom: 1px solid var(--color-rule); }
.cards--rows .card h3, .card--guide h3 { margin: 0 0 var(--space-2); font-size: var(--fs-body); font-weight: var(--fw-semibold); }
.cards--rows .card p:last-child { margin-bottom: 0; }
.cards--boxed { gap: var(--space-5); }
.cards--boxed .card { padding: var(--space-5); background: var(--color-surface); border-radius: var(--radius-card); box-shadow: var(--shadow-card); min-width: 0; }
.cards--boxed .card h3 { margin: 0 0 var(--space-3); font-size: var(--fs-h3); }
.cards--boxed .card p:last-child { margin-bottom: 0; }
.card a { overflow-wrap: anywhere; }
.card__meta { margin: 0 0 var(--space-2); font-size: var(--fs-small); color: var(--color-text-2); }
.card--guide { display: flex; flex-direction: column; align-items: flex-start; }
.card--guide .btn { margin-top: auto; }
.card h3 a { text-decoration: none; color: var(--color-text); }
.card h3 a:hover { color: var(--color-accent-ink); text-decoration: underline; }
.card__audience { font-size: var(--fs-h3); }
.chev-links, .related-list, .related-links__list { list-style: none; margin: 0 0 var(--space-5); padding: 0; max-width: var(--measure); }
.chev-links li, .related-list li { border-bottom: 1px solid var(--color-rule); }
.chev-links li:first-child, .related-list li:first-child { border-top: 1px solid var(--color-rule); }
.chev-link { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding: var(--space-4) 0; color: var(--color-text); text-decoration: none; font-weight: var(--fw-medium); }
.chev-link:hover { color: var(--color-accent-ink); }
.chev-circle { display: inline-grid; place-items: center; flex: none; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--color-tint); color: var(--color-accent); }
.chev-circle svg { width: 0.875rem; height: 0.875rem; }
.related-list li > p { margin: 0 0 var(--space-3); color: var(--color-text-2); font-size: var(--fs-ui); }
.related-list .chev-link { padding-bottom: var(--space-2); }
.guide-list { max-width: none; }

/* steps: a numeral (light, accent, a short amber underline), the title with its tag, the text */
.steps { list-style: none; margin: 0 0 var(--space-5); padding: 0; max-width: var(--content); }
.step { display: grid; grid-template-columns: 3.5rem minmax(0, 1fr); gap: 0 var(--space-4); padding: var(--space-5) 0; border-top: 1px solid var(--color-rule); }
.step:last-child { border-bottom: 1px solid var(--color-rule); }
.step__n { position: relative; align-self: start; padding-bottom: var(--space-3); font-size: var(--fs-step); font-weight: var(--fw-light); line-height: 1; color: var(--c-step-numeral); }
.step__n::after { content: ""; position: absolute; left: 0; bottom: 0; width: 1.5rem; height: 3px; background: var(--color-heritage); }
.step h3 { margin: 0 0 var(--space-2); font-size: 1.125rem; font-weight: var(--fw-semibold); }
.step__body > :last-child { margin-bottom: 0; }
.step__terms { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-3); }
.term { display: inline-flex; gap: var(--space-2); padding: 0.125rem 0.625rem; border: 1px solid var(--color-border); border-radius: var(--radius-pill); font-size: var(--fs-ui); color: var(--color-text-2); }
.term b { color: var(--color-accent-ink); font-weight: var(--fw-medium); }
.tag { display: inline-block; margin-left: var(--space-2); padding: 0.0625rem 0.625rem; border: 1px solid; border-radius: var(--radius-pill); font-size: var(--fs-small); font-weight: var(--fw-medium); line-height: 1.5; vertical-align: middle; white-space: normal; }
.tag--law { border-color: var(--color-accent); background: var(--color-chip); color: var(--color-accent-ink); }
.tag--draft { border-style: dashed; border-color: var(--color-heritage-ink); color: var(--color-heritage-ink); }

/* checklist: a blue check in a tint disc, one column (two columns read as a card grid to layout-lint) */
.checklist { list-style: none; margin: 0 0 var(--space-4); padding: 0; display: grid; gap: var(--space-3) var(--space-8); max-width: var(--content); }
.checklist li { position: relative; padding-left: 2.25rem; min-height: 1.5rem; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 0; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--color-tint); }
.checklist li::after { content: ""; position: absolute; left: 0.5625rem; top: 0.3125rem; width: 0.375rem; height: 0.6875rem; border: solid var(--color-accent); border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* tables: hairlines, quiet head, zebra, generous cells; below 600 px each row stacks as a card from its data-labels */
.table-scroll { overflow-x: auto; margin: 0 0 var(--space-5); -webkit-overflow-scrolling: touch; }
.table-scroll:focus-visible { outline-offset: -2px; }
.data-table { width: 100%; border-collapse: collapse; font-size: var(--fs-ui); line-height: 1.43; }
.data-table caption { caption-side: top; padding: 0 0 var(--space-3); text-align: left; color: var(--color-text-2); }
.table-caption { margin: 0 0 var(--space-3); font-size: var(--fs-ui); color: var(--color-text-2); }
.data-table th { padding: var(--space-cell); text-align: left; font-weight: var(--fw-medium); color: var(--c-table-head); border-bottom: 1px solid var(--color-border); vertical-align: bottom; }
.data-table td, .data-table tbody th { padding: var(--space-cell); border-bottom: 1px solid var(--color-rule); vertical-align: top; }
.data-table tbody th { color: var(--color-text); }
.data-table tbody tr:nth-child(even) { background: var(--c-table-zebra); }
.data-table td:first-child, .data-table tbody th { font-weight: var(--fw-medium); }
.col--tight { white-space: nowrap; width: 1%; }
.shelf-updated { margin: 0 0 var(--space-3); font-size: var(--fs-small); color: var(--color-text-2); }
.shelf-table td, .shelf-table tbody th { vertical-align: middle; }
.shelf-table tbody th, .shelf-table td[data-label="Price"], .shelf-table td[data-label="Registered"] { white-space: nowrap; }
.chip { display: inline-flex; align-items: center; gap: var(--space-2); padding: 0.125rem 0.75rem; border-radius: var(--radius-pill); font-size: var(--fs-ui); font-weight: var(--fw-medium); background: var(--color-chip); color: var(--color-accent-ink); }
.chip--available::before { content: ""; width: 0.375rem; height: 0.375rem; border-radius: 50%; background: var(--color-heritage); }
.chip--reserved { background: var(--color-tint); color: var(--color-text-2); border: 1px solid var(--color-rule); }
.shelf { margin-bottom: var(--space-4); }
@media (max-width: 599px) {
  .data-table, .data-table tbody, .data-table tr, .data-table td, .data-table tbody th, .data-table caption { display: block; }
  .data-table thead { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
  .data-table tbody tr, .data-table tbody tr:nth-child(even) { margin-bottom: var(--space-3); padding: var(--space-3) var(--space-4); background: var(--color-surface); border: 1px solid var(--color-rule); border-radius: var(--radius-input); }
  .data-table td, .data-table tbody th { padding: var(--space-2) 0; border-bottom: 0; }
  .data-table tbody th { font-size: var(--fs-body); font-weight: var(--fw-semibold); }
  .data-table td[data-label]:not([data-label=""])::before { content: attr(data-label); display: block; font-size: var(--fs-small); font-weight: var(--fw-medium); color: var(--color-text-2); }
  .col--tight { white-space: normal; width: auto; }
  .table-scroll { overflow-x: visible; }
}

/* faq: details rows, a plus that turns into a minus */
.faq { max-width: var(--content); border-top: 1px solid var(--color-rule); }
.faq details { border-bottom: 1px solid var(--color-rule); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding: var(--space-4) 0; font-size: 1.125rem; font-weight: var(--fw-medium); line-height: 1.35; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq__icon { position: relative; flex: none; width: 1.5rem; height: 1.5rem; color: var(--color-accent); }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; background: currentColor; transition: transform var(--dur) var(--ease); }
.faq__icon::before { width: 0.875rem; height: 2px; margin: -1px 0 0 -0.4375rem; }
.faq__icon::after { width: 2px; height: 0.875rem; margin: -0.4375rem 0 0 -1px; }
.faq details[open] .faq__icon::after { transform: scaleY(0); }
.faq__a { max-width: var(--measure); padding: 0 var(--space-7) var(--space-5) 0; }

/* cta-band: a navy panel, the line left and the outline button right */
.cta { display: flex; flex-direction: column; gap: var(--space-5); padding: var(--space-6) var(--space-5); border-radius: var(--radius-panel); background: var(--c-cta-bg); color: var(--color-inverse-text); }
.cta h2, .cta__title { margin: 0 0 var(--space-2); max-width: 40rem; font-size: 1.375rem; font-weight: var(--fw-semibold); line-height: 1.3; color: var(--color-inverse-text); }
.cta p { max-width: 40rem; margin: 0 0 var(--space-2); color: var(--color-inverse-muted); }
.cta a:not(.btn) { color: var(--color-inverse-text); }
.cta .actions { margin: 0; }
/* on form and utility pages the CTA panel is light too (short pages, layout-lint saturated-fill, 2026-10-24) */
body[data-page-type="form"] .cta, body[data-page-type="utility"] .cta { background: var(--color-tint); color: var(--color-text); border: 1px solid var(--color-rule); }
body[data-page-type="form"] .cta h2, body[data-page-type="form"] .cta__title, body[data-page-type="utility"] .cta h2, body[data-page-type="utility"] .cta__title { color: var(--color-text); }
body[data-page-type="form"] .cta p, body[data-page-type="utility"] .cta p { color: var(--color-text-2); }
body[data-page-type="form"] .cta a:not(.btn), body[data-page-type="utility"] .cta a:not(.btn) { color: var(--color-link); }
body[data-page-type="form"] .cta .btn--line-light, body[data-page-type="utility"] .cta .btn--line-light { border-color: var(--color-accent); color: var(--color-accent-ink); }
body[data-page-type="form"] .cta .btn--line-light:hover, body[data-page-type="utility"] .cta .btn--line-light:hover { background: var(--color-chip); }
@media (min-width: 900px) {
  .cta { flex-direction: row; align-items: center; justify-content: space-between; padding: var(--space-7); }
  .cta .actions { flex: none; justify-content: flex-end; }
  .step { grid-template-columns: 5.5rem minmax(0, 1fr); }
  .cards--rows.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* boxed card columns: 1 on phones, 2 from 600, 3 from 1100 where the section asked for three */
@media (min-width: 600px) { .cards--boxed.cards--2, .cards--boxed.cards--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .cards--boxed.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .layout__main .cards--boxed.cards--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- forms: "Get in touch" (contacts left, the form right), 56 px fields, a pill submit ---------- */
.touchgrid { display: grid; gap: var(--space-6); align-items: start; }
.touch { padding: var(--space-5); background: var(--color-tint); border-radius: var(--radius-card); }
.touch__title { display: flex; align-items: center; gap: var(--space-3); margin: 0 0 var(--space-4); font-size: var(--fs-h3); }
.touch__title .pin { width: 1.5rem; height: 1.5rem; flex: none; color: var(--color-accent); }
.contact-dl a { overflow-wrap: anywhere; }
.formcard { padding: var(--space-5); background: var(--color-surface); border: 1px solid var(--color-rule); border-radius: var(--radius-card); min-width: 0; }
.formcard--solo { max-width: 45rem; }
.fields { display: grid; gap: var(--space-5); }
.field { min-width: 0; }
.field label, .field legend { display: block; margin: 0 0 var(--space-2); padding: 0; font-size: var(--fs-ui); font-weight: var(--fw-medium); }
.field[hidden] { display: none; }
.req { color: var(--color-error); }
.field input:not([type="checkbox"]):not([type="radio"]), .field select, .field textarea { display: block; width: 100%; height: 3.5rem; padding: 0 var(--space-4); border: 1px solid var(--color-border); border-radius: var(--radius-input); background: var(--color-ground); color: var(--color-text); font: inherit; }
.field select { appearance: none; padding-right: 2.5rem; background-image: linear-gradient(45deg, transparent 50%, var(--color-text-2) 50%), linear-gradient(135deg, var(--color-text-2) 50%, transparent 50%); background-position: calc(100% - 1.375rem) 1.5rem, calc(100% - 1rem) 1.5rem; background-size: 0.375rem 0.375rem; background-repeat: no-repeat; }
.field textarea { height: auto; min-height: 8.75rem; padding: var(--space-4); resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 1px; border-color: var(--color-accent); }
.field__help { margin: var(--space-2) 0 0; font-size: var(--fs-small); color: var(--color-text-2); }
fieldset.field { border: 0; padding: 0; margin: 0; }
.radios { display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-6); }
.field--check label, .radios label { display: flex; align-items: flex-start; gap: var(--space-3); margin: 0; font-weight: var(--fw-regular); font-size: var(--fs-body); }
.field--check input, .radios input { flex: none; width: 1.25rem; height: 1.25rem; margin: 0.125rem 0 0; accent-color: var(--color-accent); }
.form__heading { margin: var(--space-4) 0 0; padding-top: var(--space-5); border-top: 1px solid var(--color-rule); font-size: var(--fs-body); font-weight: var(--fw-semibold); }
.fields > .form__heading:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.form__note, .form__refnote { margin: calc(var(--space-3) * -1) 0 0; font-size: var(--fs-ui); color: var(--color-text-2); }
.form__refnote[hidden] { display: none; }
.cf-turnstile { margin: var(--space-5) 0 0; min-height: 0; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4) var(--space-5); margin-top: var(--space-5); }
.form__notice { flex: 1 1 14rem; margin: 0; font-size: var(--fs-ui); color: var(--color-text-2); }
.form__status { min-height: 1.5rem; margin: var(--space-4) 0 0; font-size: var(--fs-ui); }
.form__status.is-ok { color: var(--color-success); }
.form__status.is-error { color: var(--color-error); }
.form__after { margin-top: var(--space-5); font-size: var(--fs-ui); color: var(--color-text-2); }
@media (min-width: 600px) {
  .formcard { padding: var(--space-6); }
  .formcard--solo .fields, .touchgrid .fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field--full { grid-column: 1 / -1; }
}
@media (min-width: 900px) { .touchgrid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-8); } }

/* ---------- trust, people, the office and payee blocks ---------- */
.trust { display: grid; gap: var(--space-5); max-width: var(--content); }
.trust__text > :last-child { margin-bottom: 0; }
.trust > .section__head { margin-bottom: 0; }
.people { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-5); }
.person--row { display: flex; gap: var(--space-4); align-items: flex-start; }
.person__mono { display: grid; place-items: center; flex: none; width: 3.5rem; height: 3.5rem; border-radius: 50%; background: var(--color-chip); color: var(--color-accent-ink); font-weight: var(--fw-semibold); }
.person h3 { margin: 0; font-size: var(--fs-body); font-weight: var(--fw-semibold); }
.person h3 a { text-decoration: none; color: var(--color-text); }
.person h3 a:hover { text-decoration: underline; }
.person__role { margin: 0 0 var(--space-1); font-size: var(--fs-ui); color: var(--color-text-2); }
.person--row p:last-child { margin-bottom: 0; }
.person__head { display: flex; align-items: center; gap: var(--space-4); margin-bottom: var(--space-4); }
.person__head h3 { font-size: var(--fs-h3); }
.person__photo { width: 5rem; height: 5rem; border-radius: 50%; object-fit: cover; flex: none; }
.cards--people .person__head .person__role { margin: 0; }
.practice { padding: var(--space-5); border-radius: var(--radius-card); background: var(--color-tint); }
.practice__label { margin: 0 0 var(--space-2); font-size: var(--fs-ui); font-weight: var(--fw-semibold); color: var(--color-accent-ink); }
.practice p:last-child { margin-bottom: 0; }
.trust .byline { color: var(--color-text-2); }
.trust .byline a { color: var(--color-link); text-decoration: underline; }
.payee { max-width: 36rem; }
@media (min-width: 900px) { .people--two, .people--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- figures: photographs, infographics, the map ---------- */
figure { margin: 0 0 var(--space-5); }
figure.photo { max-width: 100%; }
/* home has no sidebar: an inline photograph is a full-width strip, never a half-width orphan (pilot review 2026-10-24) */
body[data-page-type="home"] figure.photo img, body[data-page-type="shelf"] figure.photo img { aspect-ratio: 21 / 8; }
body[data-page-type="home"] figure.photo figcaption, body[data-page-type="shelf"] figure.photo figcaption { max-width: var(--measure); }
.cards + figure, .cards + .photo, .steps + figure, .checklist + figure { margin-top: var(--space-6); }
figure.photo img { width: 100%; border-radius: var(--radius-media); aspect-ratio: 16 / 9; object-fit: cover; }
figcaption { margin-top: var(--space-2); font-size: var(--fs-ui); line-height: 1.43; color: var(--color-text-2); }
figure.infographic { padding: var(--space-5); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-card); }
figure.infographic > figcaption { margin-top: var(--space-4); }
figure.infographic-image img { width: 100%; border-radius: var(--radius-media); border: 1px solid var(--color-rule); }
figure.map { max-width: var(--content); }
.map__placeholder { padding: var(--space-5); background: var(--color-tint); border-radius: var(--radius-card); }
.map__addr { margin: 0 0 var(--space-2); font-weight: var(--fw-medium); }
.map__note { font-size: var(--fs-ui); color: var(--color-text-2); }
figure.map iframe { display: block; width: 100%; height: 22.5rem; border: 0; border-radius: var(--radius-card); }

/* the infographic vocabulary (src/infographics): timeline nodes in bands, trees of tiles, legend terms, bars, hub, columns */
.ig { color: var(--c-ig-ink); }
.ig p, .ig li, .ig-leaf__v, .ig-leaf__c { overflow-wrap: anywhere; }
.ig-legend { display: flex; flex-wrap: wrap; gap: var(--space-2); margin: 0 0 var(--space-5); }
.ig-term { display: inline-flex; gap: var(--space-2); align-items: baseline; padding: 0.1875rem 0.625rem; border: 1px solid var(--color-border); border-radius: var(--radius-pill); font-size: var(--fs-small); line-height: 1.35; color: var(--color-text-2); background: var(--color-surface); }
.ig-term b { flex: none; font-weight: var(--fw-semibold); text-transform: lowercase; }
.ig-legend .ig-term { border-radius: var(--radius-btn); }
.ig-term--law { border-color: var(--c-ig-accent); background: var(--color-chip); color: var(--c-ig-ink); }
.ig-term--law b { color: var(--color-accent-ink); }
.ig-term--table { border-color: var(--c-ig-ink); color: var(--c-ig-ink); }
.ig-term--none { border-style: dashed; border-color: var(--color-heritage-ink); color: var(--color-text-2); }
.ig-term--none b { color: var(--color-heritage-ink); }
.ig-band__label { margin: var(--space-5) 0 var(--space-3); font-size: var(--fs-ui); font-weight: var(--fw-semibold); color: var(--color-accent-ink); }
.ig-nodes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-4); }
.ig-node { position: relative; min-width: 0; padding-left: 3.25rem; }
.ig-node__n { position: absolute; left: 0; top: 0; z-index: 1; display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border: 2px solid var(--c-ig-accent); border-radius: 50%; background: var(--color-surface); color: var(--color-accent-ink); font-weight: var(--fw-semibold); }
.ig-node:not(:last-child)::after { content: ""; position: absolute; left: 1.25rem; top: 2.5rem; bottom: calc(var(--space-4) * -1); width: 1px; background: var(--color-decor); }
.ig-node__title { margin: 0 0 var(--space-1); font-weight: var(--fw-semibold); line-height: 1.3; }
.ig-node__actor { margin: 0 0 var(--space-2); font-size: var(--fs-small); color: var(--color-text-2); }
.ig-terms { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); }
.ig-terms .ig-term { display: block; border-radius: var(--radius-btn); }
.ig-end { margin: var(--space-5) 0 0; text-align: right; }
.ig-note { margin: var(--space-4) 0 0; font-size: var(--fs-small); color: var(--color-text-2); }
.ig-tree { position: relative; }
.ig-tree__q { margin: 0 0 var(--space-5); font-size: 1.25rem; font-weight: var(--fw-semibold); text-align: center; }
.ig-roots { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-5); }
.ig-root { min-width: 0; padding-top: var(--space-3); border-top: 2px solid var(--c-ig-ink); }
.ig-root--optional { border-top-style: dashed; }
.ig-root__title { margin: 0; font-size: 1.125rem; font-weight: var(--fw-semibold); }
.ig-root__sub { margin: 0 0 var(--space-3); font-size: var(--fs-small); color: var(--color-text-2); }
.ig-leaves { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); }
.ig-leaf { display: flex; flex-wrap: wrap; align-items: flex-start; gap: var(--space-1) var(--space-3); padding: var(--space-3); border: 1px solid var(--color-border); border-radius: var(--radius-btn); background: var(--color-surface); }
.ig-leaf__v { flex: 1 1 8em; min-width: 0; font-weight: var(--fw-semibold); }
.ig-leaf__s { flex: 0 0 auto; padding: 0.125rem 0.5rem; border-radius: var(--radius-btn); font-size: var(--fs-small); font-weight: var(--fw-semibold); text-transform: lowercase; text-align: center; }
.ig-leaf__c { flex: 1 0 100%; font-size: var(--fs-small); line-height: 1.4; color: var(--color-text-2); }
.ig-leaf--open { border-color: var(--c-ig-accent); background: var(--c-ig-fill); }
.ig-leaf--open .ig-leaf__s { background: var(--c-ig-accent); color: var(--color-inverse-text); }
.ig-leaf--closed .ig-leaf__v { color: var(--color-text-2); text-decoration: line-through; text-decoration-thickness: 1px; }
.ig-leaf--closed .ig-leaf__s { border: 1px solid var(--color-border); color: var(--color-text-2); }
.ig-leaf--pending { border-style: dashed; border-color: var(--c-ig-law); }
.ig-side { margin: var(--space-5) 0 0; padding-top: var(--space-3); border-top: 1px dashed var(--color-border); font-size: var(--fs-ui); color: var(--color-text-2); }
.ig-side__v { font-weight: var(--fw-semibold); color: var(--c-ig-ink); }
.ig-bars { display: grid; gap: var(--space-3); }
.ig-bar { --v: 0; display: grid; gap: var(--space-1); }
.ig-bar__track { display: block; height: 0.5rem; border-radius: var(--radius-pill); background: var(--c-ig-fill); }
.ig-bar__fill { display: block; height: 100%; width: calc(var(--v) * 100%); border-radius: var(--radius-pill); background: var(--c-ig-accent); }
.ig-hub { display: grid; gap: var(--space-4); }
.ig-hub__centre { justify-self: center; max-width: 36ch; padding: var(--space-4) var(--space-5); border: 2px solid var(--c-ig-ink); border-radius: var(--radius-card); background: var(--color-surface); font-weight: var(--fw-semibold); text-align: center; }
.ig-cols { display: grid; gap: var(--space-4); grid-template-columns: minmax(0, 1fr); }
.ig-col { padding: var(--space-4); border: 1px solid var(--color-border); border-radius: var(--radius-card); background: var(--c-ig-fill); min-width: 0; }
.ig-col__title { margin: 0 0 var(--space-3); font-weight: var(--fw-semibold); }
.ig-tiles { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); grid-template-columns: minmax(0, 1fr); }
.ig-tile { padding: var(--space-4); border: 1px solid var(--color-border); border-radius: var(--radius-btn); background: var(--color-surface); min-width: 0; }
.ig-tile__title { margin: 0 0 var(--space-1); font-weight: var(--fw-semibold); }
.ig-law { display: inline-block; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--c-ig-law); }
@media (min-width: 600px) {
  .ig-roots--2, .ig-cols, .ig-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ig-nodes--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .ig-nodes { grid-template-columns: repeat(var(--ig-cols, 4), minmax(0, 1fr)); gap: var(--space-4); }
  .ig-nodes--3 { --ig-cols: 3; } .ig-nodes--4 { --ig-cols: 4; } .ig-nodes--5 { --ig-cols: 5; } .ig-nodes--6 { --ig-cols: 6; }
  .ig-node { padding-left: 0; }
  .ig-node__n { position: relative; margin-bottom: var(--space-3); }
  .ig-nodes--3 > .ig-node:nth-child(3n)::after, .ig-nodes--4 > .ig-node:nth-child(4n)::after, .ig-nodes--5 > .ig-node:nth-child(5n)::after, .ig-nodes--6 > .ig-node:nth-child(6n)::after { display: none; }
  .ig-node:not(:last-child)::after { left: 2.5rem; top: 1.25rem; bottom: auto; width: calc(100% - 2.5rem + var(--space-4)); height: 1px; }
  .ig-roots { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); }
  .ig-roots--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ig-roots--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ig-cols--3, .ig-tiles--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .ig-timeline--banded { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); column-gap: var(--space-5); align-items: start; }
  .ig-timeline--banded > .ig-legend, .ig-timeline--banded > .ig-note { grid-column: 1 / -1; }
  .ig-timeline--banded > .ig-band__label { grid-column: 1; margin: 0; padding-top: var(--space-4); border-top: 1px solid var(--color-rule); }
  .ig-timeline--banded > .ig-nodes { grid-column: 2; padding: var(--space-4) 0 var(--space-5); border-top: 1px solid var(--color-rule); }
  .ig-timeline--banded > .ig-legend + .ig-band__label, .ig-timeline--banded > .ig-legend + .ig-band__label + .ig-nodes { border-top: 0; }
}

/* ---------- the related block (the cron's own markup: nav.related-links) and the interlinks fallback ---------- */
.related-links { max-width: var(--measure); margin: var(--space-5) 0 0; }
.related-links__title { margin: 0 0 var(--space-3); font-size: var(--fs-h3); font-weight: var(--fw-semibold); line-height: 1.3; }
.sec--interlinks .related-links__title { font-size: var(--fs-h2); line-height: var(--lh-h2); margin-bottom: var(--space-5); }
.related-links__list { margin: 0; border-top: 1px solid var(--color-rule); }
.related-links__list li { border-bottom: 1px solid var(--color-rule); }
.related-links__list a { position: relative; display: block; padding: var(--space-4) 2.5rem var(--space-4) 0; color: var(--color-text); text-decoration: none; font-weight: var(--fw-medium); }
.related-links__list a:hover { color: var(--color-accent-ink); }
.related-links__list a::after { content: ""; position: absolute; right: 0; top: 50%; width: 1.5rem; height: 1.5rem; margin-top: -0.75rem; border-radius: 50%; background: var(--color-tint); }
.related-links__list a::before { content: ""; position: absolute; right: 0.6875rem; top: 50%; z-index: 1; width: 0.4375rem; height: 0.4375rem; margin-top: -0.25rem; border: solid var(--color-accent); border-width: 2px 2px 0 0; transform: rotate(45deg); }
.sec--interlinks { padding-block: var(--space-8) 0; }
.layout__main > .sec--interlinks { padding-top: var(--space-6); }

/* ---------- footer: light ground, four link columns, then the navy bar ---------- */
.site-footer { margin-top: var(--section-gap); background: var(--c-footer-bg); border-top: 1px solid var(--color-rule); }
.footer__related { padding-block: var(--space-7); border-bottom: 1px solid var(--color-rule); }
.footer__related .related-links { max-width: none; margin: 0; }
.footer__related .related-links__title { font-size: var(--fs-h3); }
.footer__top { display: grid; gap: var(--space-7); padding-block: var(--space-8); }
.footer__col h2 { margin: 0 0 var(--space-3); font-size: var(--fs-body); font-weight: var(--fw-semibold); }
.footer__col ul { list-style: none; margin: 0; padding: 0; }
.footer__col li { margin: 0 0 var(--space-2); font-size: var(--fs-ui); }
.footer__col a { color: var(--color-text-2); text-decoration: none; }
.footer__col a:hover { color: var(--color-accent-ink); text-decoration: underline; }
.footer__org { font-size: var(--fs-ui); color: var(--color-text-2); }
.footer__org .brand { margin-bottom: var(--space-4); color: var(--color-inverse); }
.footer__org .brand:hover { color: var(--color-inverse); }
.footer__org p { margin: 0 0 var(--space-3); }
.footer__line { max-width: 20rem; }
.footer__org a { color: var(--color-text); }
.footer__note { padding-block: var(--space-4); border-top: 1px solid var(--color-rule); font-size: var(--fs-small); color: var(--color-text-2); }
.footer__note p { margin: 0; }
.footer__bar { background: var(--c-footer-bar); color: var(--color-inverse-muted); font-size: var(--fs-small); }
.footer__legal { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-5); min-height: 3.5rem; padding-block: var(--space-3); }
.footer__legal a, .footer__legal .linklike { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.footer__legal a:hover, .footer__legal .linklike:hover { color: var(--color-inverse-text); }
@media (min-width: 900px) { .footer__related .related-links__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-8); } }
@media (min-width: 600px) { .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer__org { grid-column: 1 / -1; } }
@media (min-width: 1100px) { .footer__top { grid-template-columns: 1.5fr repeat(4, minmax(0, 1fr)); gap: var(--space-6); } .footer__org { grid-column: auto; } }

/* ---------- consent banner: the indigo panel bottom right ---------- */
.consent { position: fixed; z-index: 60; right: var(--space-4); bottom: var(--space-4); left: var(--space-4); max-width: 35rem; margin-left: auto; padding: var(--space-5); background: var(--color-panel); color: var(--color-inverse-text); border-radius: var(--radius-panel); box-shadow: var(--shadow-float); }
.consent[hidden] { display: none; }
.consent h2 { margin: 0 0 var(--space-2); font-size: 1.25rem; font-weight: var(--fw-semibold); color: var(--color-inverse-text); }
.consent p { margin: 0 0 var(--space-4); font-size: var(--fs-ui); color: var(--color-inverse-muted); }
.consent__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); }
.consent .btn { border-radius: var(--radius-pill); min-height: 2.75rem; }
.consent .btn--fill { background: var(--color-link); }
.consent .btn--line { background: transparent; border-color: var(--color-inverse-text); color: var(--color-inverse-text); }
.consent .btn--line:hover { background: var(--color-inverse-rule); }
.consent__link { color: var(--color-inverse-text); font-size: var(--fs-ui); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- motion: hover and open transitions only; nothing moves under reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
