/* ===========================================================================
   Huw Edwards Training
   Research impact and policy engagement training for university researchers.
   The register of a select committee report: a title page with a contents
   table, numbered parts and numbered plates, set in Source Serif and Public
   Sans with a single Commons green.
   =========================================================================== */
@font-face { font-family: 'SourceSerif'; font-style: normal; font-weight: 300 700; font-display: swap; src: url('fonts/source-serif.woff2') format('woff2'); }
@font-face { font-family: 'PublicSans'; font-style: normal; font-weight: 300 700; font-display: swap; src: url('fonts/public-sans.woff2') format('woff2'); }

:root {
  --paper:   #F8F7F3;
  --card:    #FFFFFF;
  --ink:     #14171A;
  --slate:   #5A6068;
  --faint:   #6B7079;   /* 4.6:1 on paper */
  --rule:    #DFDCD3;
  --rule-2:  #ECEAE3;
  --green:   #0B5C3B;   /* Commons green, muted for text use */
  --green-br:#137A50;
  --green-bg:#EDF3EF;
  --band:    #14171A;   /* the dark bands stay dark in both themes */
  --band-ink:#F8F7F3;
  --band-green:#4FBF8B;
  --sans: 'PublicSans', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --serif: 'SourceSerif', ui-serif, Georgia, 'Times New Roman', serif;
  --shell: min(1240px, 100% - 2 * var(--gutter));
  --gutter: clamp(1.1rem, 4vw, 4rem);
  --s--1: clamp(0.76rem, 0.74rem + 0.1vw, 0.82rem);
  --s-0:  clamp(1rem, 0.96rem + 0.2vw, 1.12rem);
  --s-1:  clamp(1.15rem, 1.05rem + 0.45vw, 1.45rem);
  --s-2:  clamp(1.45rem, 1.2rem + 1.1vw, 2.2rem);
  --s-3:  clamp(1.9rem, 1.5rem + 2vw, 3.1rem);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --sticky-top: 6.5rem;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #14161A; --card: #1B1E23; --ink: #EDEDE8;
    --slate: #A3A9B1; --faint: #8E949D;
    --rule: #2A2E34; --rule-2: #21242A;
    --green: #4FBF8B; --green-br: #3FA875; --green-bg: #12241C;
    --band: #0B0C0E; --band-ink: #EDEDE8;
  }
}
:root[data-theme="dark"] {
  --paper: #14161A; --card: #1B1E23; --ink: #EDEDE8;
  --slate: #A3A9B1; --faint: #8E949D;
  --rule: #2A2E34; --rule-2: #21242A;
  --green: #4FBF8B; --green-br: #3FA875; --green-bg: #12241C;
  --band: #0B0C0E; --band-ink: #EDEDE8;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; interpolate-size: allow-keywords; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--serif); font-size: var(--s-0); line-height: 1.62;
  font-weight: 400; font-synthesis: none; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.12; letter-spacing: -0.018em; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
::selection { background: var(--green-br); color: #fff; }
:focus-visible { outline: 2px solid var(--green-br); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; z-index: 200; background: var(--ink); color: var(--paper); padding: .8rem 1.3rem; }
.skip:focus { left: 1rem; top: 1rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.shell { width: var(--shell); margin-inline: auto; }

/* ---------- the label register: order paper / committee report ---------- */
main { counter-reset: part plate; }
.label {
  font-family: var(--sans); font-size: var(--s--1);
  letter-spacing: 0.15em; text-transform: uppercase; font-weight: 600;
  color: var(--green); margin: 0;
}
.label--quiet { color: var(--slate); font-weight: 500; }
.rule-label { display: flex; align-items: center; gap: .9rem; margin: 0 0 1.4rem; }
.rule-label::after { content: ''; flex: 1; height: 2px; background: currentColor; opacity: .25; }
/* every part is numbered, as in a report; the contents table uses the same numbers */
.section__head .rule-label::before { counter-increment: part; content: counter(part); font-weight: 700; letter-spacing: .08em; padding-right: .2rem; }
.lede { font-size: var(--s-1); line-height: 1.55; color: var(--slate); max-width: 52ch; }
.prose { max-width: 68ch; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.8rem 0 0; }

/* ---------- header ---------- */
.masthead { position: sticky; top: 0; z-index: 100; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 2px solid var(--ink); }
.masthead__inner { width: var(--shell); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; padding: .85rem 0; }
.masthead a { text-decoration: none; }
.wordmark { font-family: var(--sans); font-weight: 700; font-size: var(--s-0); letter-spacing: -0.01em; line-height: 1.15; }
.wordmark { white-space: nowrap; }
.wordmark__hon { font-size: .72em; letter-spacing: .1em; color: var(--green); font-weight: 700; }
.wordmark__sub { display: block; font-weight: 400; font-size: .78em; letter-spacing: .16em; text-transform: uppercase; color: var(--slate); margin-top: .18em; }
@media (max-width: 560px) { .wordmark__sub { display: none; } }
.nav { display: flex; align-items: center; gap: clamp(.9rem, 2vw, 1.9rem); font-family: var(--sans); }
.nav__links { display: contents; }
.nav__links a {
  font-size: var(--s--1); letter-spacing: .06em; text-transform: uppercase; font-weight: 600; color: var(--slate);
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .35em;
  text-decoration-color: transparent; transition: color .25s var(--ease), text-decoration-color .25s var(--ease);
}
.nav__links a:hover { color: var(--green); text-decoration-color: var(--green); }
.nav a.btn, .nav a.btn:hover { color: #fff; }
@media (max-width: 900px) { .nav__links { display: none; } }
/* phones: a contents menu that needs no JavaScript */
.menu { position: relative; display: none; }
@media (max-width: 900px) { .menu { display: block; } }
.menu summary { list-style: none; cursor: pointer; font-size: var(--s--1); letter-spacing: .08em; text-transform: uppercase; font-weight: 700; padding: .6rem .2rem; color: var(--ink); }
.menu summary::-webkit-details-marker { display: none; }
.menu summary::after { content: ''; display: inline-block; width: 7px; height: 7px; margin-left: .45rem; border-right: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: translateY(-3px) rotate(45deg); }
.menu[open] summary::after { transform: translateY(1px) rotate(-135deg); }
.menu ol { position: absolute; right: 0; top: calc(100% + .6rem); min-width: 15rem; margin: 0; padding: .4rem 0; list-style: none; background: var(--card); border: 1px solid var(--rule); border-top: 2px solid var(--ink); box-shadow: 0 12px 30px rgba(0,0,0,.12); counter-reset: m; }
.menu li { counter-increment: m; }
.menu li a { display: flex; gap: .8rem; padding: .7rem 1.1rem; font-size: var(--s-0); color: var(--ink); }
.menu li a::before { content: counter(m); color: var(--green); font-weight: 700; font-size: var(--s--1); padding-top: .15em; }

/* masthead tightens as the page scrolls, where supported */
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .masthead__inner { animation: masthead-tighten linear both; animation-timeline: scroll(root); animation-range: 0 240px; }
    @keyframes masthead-tighten { to { padding-block: .5rem; } }
  }
}

.btn {
  display: inline-flex; align-items: center; gap: .55rem; font-family: var(--sans);
  padding: .7rem 1.25rem; font-size: var(--s--1); letter-spacing: .06em;
  text-transform: uppercase; font-weight: 700; text-decoration: none;
  color: #fff; background: var(--green); border: 2px solid var(--green); border-radius: 2px;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
/* In dark mode the accent lightens, so white button text loses contrast. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .btn:not(.btn--ghost), :root:not([data-theme="light"]) .nav a.btn { color: #10221A; }
  :root:not([data-theme="light"]) .btn:not(.btn--ghost):hover { color: var(--paper); background: var(--ink); border-color: var(--ink); }
}
:root[data-theme="dark"] .btn:not(.btn--ghost), :root[data-theme="dark"] .nav a.btn { color: #10221A; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }

/* ---------- hero: the report's title page ---------- */
.hero { padding: clamp(1.8rem, 4vw, 3.4rem) 0 clamp(2.6rem, 5vw, 4.5rem); }
.hero__labels { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem 1.5rem; border-bottom: 1px solid var(--rule); padding-bottom: .8rem; margin-bottom: clamp(1.8rem, 4.5vw, 3.2rem); }
.hero h1 { font-size: clamp(2.6rem, 2rem + 4.2vw, 5.6rem); line-height: 1.02; letter-spacing: -0.035em; max-width: 14ch; margin-bottom: clamp(1.2rem, 2.5vw, 1.8rem); }
.hero h1 .l { display: block; }
.hero h1 em { font-style: normal; color: var(--green); }
.hero__top { display: grid; gap: clamp(1.2rem, 3vw, 2.4rem); }
@media (min-width: 980px) { .hero__top { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; } .hero__top h1 { margin-bottom: 0; } }
.hero__lede { max-width: 46ch; color: var(--slate); margin-bottom: 0; }
.hero__cta { margin-top: 1.6rem; }
.hero__cover { display: grid; gap: clamp(2rem, 4vw, 4rem); border-top: 2px solid var(--ink); padding-top: 1.5rem; margin-top: clamp(2.4rem, 5vw, 3.6rem); }
@media (min-width: 920px) { .hero__cover { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; } }
.contents ol { list-style: none; margin: .8rem 0 0; padding: 0; border-top: 1px solid var(--rule-2); }
.contents a { display: grid; grid-template-columns: 2.4ch 1fr auto; align-items: baseline; gap: .9rem; padding: .78rem 0; border-bottom: 1px solid var(--rule-2); text-decoration: none; }
.contents .n { font: 700 var(--s--1)/1 var(--sans); color: var(--green); letter-spacing: .08em; }
.contents .t { font-size: var(--s-1); line-height: 1.3; background: radial-gradient(circle, var(--rule) 1px, transparent 1.5px) 0 82% / 6px 6px repeat-x; }
.contents .t span { background: var(--paper); padding-right: .45rem; transition: color .25s var(--ease); }
.contents .r { font: 400 var(--s--1)/1.3 var(--sans); color: var(--slate); white-space: nowrap; }
.contents a:hover .t span { color: var(--green); }
@media (max-width: 600px) { .contents .t { background: none; } .contents a { gap: .7rem; } }

/* hero entrance: CSS only, the photograph never animates (it is the LCP) */
@media (prefers-reduced-motion: no-preference) {
  .hero h1 .l, .hero__lede, .hero__cta, .contents li { animation: rise .6s var(--ease) both; }
  .hero h1 .l:nth-child(2) { animation-delay: 80ms; }
  .hero__lede { animation-delay: 160ms; }
  .hero__cta { animation-delay: 220ms; }
  .contents li:nth-child(1) { animation-delay: 300ms; } .contents li:nth-child(2) { animation-delay: 340ms; }
  .contents li:nth-child(3) { animation-delay: 380ms; } .contents li:nth-child(4) { animation-delay: 420ms; }
  .contents li:nth-child(5) { animation-delay: 460ms; } .contents li:nth-child(6) { animation-delay: 500ms; }
}
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- plates: photographs directed, flush and numbered ---------- */
.plate { margin: 0; border-top: 2px solid var(--ink); padding-top: .9rem; }
.plate img { width: 100%; aspect-ratio: var(--r, 3/2); object-fit: cover; object-position: var(--pos, 50% 45%); background: var(--rule-2); }
.plate figcaption { font-family: var(--sans); font-size: var(--s--1); line-height: 1.5; color: var(--slate); margin-top: .7rem; padding-top: .55rem; border-top: 1px solid var(--rule); }
.plate figcaption::before { counter-increment: plate; content: 'Plate ' counter(plate); display: block; color: var(--faint); letter-spacing: .14em; text-transform: uppercase; font-size: .86em; margin-bottom: .15rem; }
.plate figcaption b { display: block; color: var(--green); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .92em; margin-bottom: .2rem; }
.plate--portrait { max-width: 420px; }
.hero__cover .plate { border-top: 0; padding-top: .25rem; }

/* ---------- ledger ---------- */
.ledger { background: var(--band); color: var(--band-ink); }
.ledger__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.4rem, 3vw, 2.4rem); padding: clamp(1.8rem, 4vw, 2.8rem) 0; }
@media (min-width: 720px) { .ledger__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stat b { display: block; font-size: clamp(1.9rem, 1.3rem + 2.2vw, 3rem); line-height: 1; letter-spacing: -.03em; font-weight: 600; }
.stat span { display: block; min-height: 2.9em; margin-top: .55rem; font-family: var(--sans); font-size: var(--s--1); letter-spacing: .1em; text-transform: uppercase; opacity: .78; line-height: 1.4; }

/* ---------- sections and the asymmetric split ---------- */
.section { padding: clamp(3.2rem, 7vw, 6rem) 0; }
.section--tint { background: var(--green-bg); border-block: 1px solid var(--rule); }
.section__head { max-width: 60ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section__head h2 { font-size: var(--s-3); margin-bottom: .9rem; }
.section__head--flush { margin-bottom: 0; }
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(1.8rem, 4vw, 3.6rem); align-items: start; }
@media (min-width: 920px) {
  .split { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .split--rev { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .sticky { position: sticky; top: var(--sticky-top); align-self: start; }
}

/* ---------- impact in practice: set like a column of Hansard ---------- */
.profile { background: var(--card); border: 1px solid var(--rule); padding: clamp(1.1rem, 2.5vw, 1.6rem); }
.profile p:last-child { margin: .5rem 0 0; font-size: var(--s-1); line-height: 1.45; }
.sidenote { margin-top: 1.4rem; color: var(--slate); }
.hansard { list-style: none; margin: 0; padding: 0; counter-reset: step; border-top: 2px solid var(--ink); }
.hansard li { counter-increment: step; display: grid; grid-template-columns: 2.6rem minmax(0, 1fr); gap: .15rem 1rem; padding: 1rem 0; border-bottom: 1px solid var(--rule); }
.hansard li::before { content: counter(step); grid-row: span 2; font: 700 var(--s--1)/1 var(--sans); color: var(--green); letter-spacing: .08em; padding-top: .45em; }
.hansard .what { grid-column: 2; line-height: 1.45; }
.hansard .where { grid-column: 2; font: 600 var(--s--1)/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--slate); }
@media (min-width: 720px) {
  .hansard li { grid-template-columns: 2.6rem minmax(0, 1fr) 10rem; }
  .hansard li::before { grid-row: auto; }
  .hansard .where { grid-column: 3; text-align: right; padding-top: .35em; }
}
.hansard li:last-child { border-bottom: 2px solid var(--ink); }
.hansard li:last-child .what { font-size: var(--s-2); line-height: 1.2; font-weight: 600; letter-spacing: -.015em; }
.hansard li:last-child .where { color: var(--green); }

/* ---------- the approach: four numbered principles ---------- */
.themes { margin-bottom: clamp(2.4rem, 5vw, 3.6rem); }
.themes ol { list-style: none; margin: .9rem 0 0; padding: 0; display: grid; gap: clamp(1rem, 2.5vw, 1.6rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); counter-reset: theme; }
.themes li { counter-increment: theme; border-top: 2px solid var(--green); padding-top: .9rem; font-size: var(--s-1); line-height: 1.4; }
.themes li::before { content: '0' counter(theme); display: block; font-family: var(--sans); font-size: var(--s--1); font-weight: 700; letter-spacing: .12em; color: var(--green); margin-bottom: .4rem; }

/* ---------- the curriculum: an order-paper listing, numbered 2.1 to 2.4 ---------- */
.curriculum { display: grid; border-top: 2px solid var(--ink); counter-reset: module; }
.module { counter-increment: module; border-bottom: 1px solid var(--rule); padding: 1.5rem 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: .8rem; }
@media (min-width: 820px) { .module { grid-template-columns: 11rem minmax(0, 1fr); gap: 2rem; } }
.module__no { font-family: var(--sans); font-size: var(--s--1); letter-spacing: .12em; text-transform: uppercase; color: var(--green); font-weight: 700; margin: 0; }
.module__no::before { content: counter(part) '.' counter(module); padding-right: .6rem; }
.module h3 { font-size: var(--s-2); margin: .3rem 0 0; }
.module ul { list-style: none; margin: 0; padding: 0; }
.module li { padding: .32rem 0 .32rem 1.1rem; position: relative; color: var(--slate); font-size: .97em; }
.module li::before { content: ''; position: absolute; left: 0; top: .82em; width: 5px; height: 5px; background: var(--green-br); }

/* ---------- experience: two tracks, Parliament and University ---------- */
.tracks { width: 100%; border-collapse: collapse; border-top: 2px solid var(--ink); font-size: .97em; }
.tracks thead th { font: 700 var(--s--1)/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--slate); text-align: left; padding: .8rem 1rem .8rem 0; border-bottom: 1px solid var(--rule); }
.tracks tbody th { font: 700 var(--s--1)/1.4 var(--sans); letter-spacing: .08em; color: var(--green); text-align: left; vertical-align: top; padding: 1.1rem 1rem 1.1rem 0; white-space: nowrap; }
.tracks td { vertical-align: top; padding: 1.1rem 1rem 1.1rem 0; color: var(--slate); line-height: 1.5; width: 42%; }
.tracks tbody tr { border-bottom: 1px solid var(--rule); }
.tracks td strong { display: block; color: var(--ink); font-weight: 600; margin-bottom: .2rem; }
.tracks tr.both td { width: auto; }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: .5rem; vertical-align: .05em; }
.dot--parl { background: var(--green); }
.dot--uni { background: var(--slate); }
.tracks td strong::before { content: ''; display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: .5rem; vertical-align: .05em; }
.tracks td.parl strong::before { background: var(--green); }
.tracks td.uni strong::before { background: var(--slate); }
.tracks tr.both td strong::before { background: var(--ink); }
@media (max-width: 700px) {
  .tracks, .tracks tbody, .tracks tr, .tracks th, .tracks td { display: block; width: auto; }
  .tracks thead { display: none; }
  .tracks tbody tr { padding: 1rem 0; }
  .tracks tbody th, .tracks td { padding: 0; }
  .tracks td:empty { display: none; }
  .tracks td::before { content: attr(data-label); display: block; font: 600 var(--s--1)/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin: .25rem 0 .35rem; }
}

/* ---------- recent courses: a directed 12-column plate grid ---------- */
.gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(1.4rem, 3vw, 2.2rem) clamp(1rem, 2.5vw, 1.8rem); }
.gallery .plate { grid-column: span 12; }
.gallery .portrait { grid-column: span 6; }
@media (min-width: 720px) {
  .gallery .g7 { grid-column: span 7; }
  .gallery .g5 { grid-column: span 5; }
  .gallery .g12 { grid-column: span 12; }
  .gallery .g7 img, .gallery .g5 img { aspect-ratio: auto; height: clamp(16rem, 30vw, 25rem); }
  .gallery .wide img { aspect-ratio: 21/9; }
}

/* ---------- FAQ ---------- */
.faq { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; padding: 1.2rem 2.6rem 1.2rem 0; position: relative; font-size: var(--s-1); font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: .4rem; top: 50%; width: 11px; height: 11px; border-right: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: translateY(-70%) rotate(45deg); transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq__a { padding: 0 min(10%, 4rem) 1.4rem 0; max-width: 70ch; color: var(--slate); }
.faq__a p:last-child { margin-bottom: 0; }
@supports selector(::details-content) {
  @media (prefers-reduced-motion: no-preference) {
    .faq details::details-content { block-size: 0; overflow: hidden; transition: block-size .3s var(--ease), content-visibility .3s allow-discrete; }
    .faq details[open]::details-content { block-size: auto; }
  }
}

/* ---------- closing + footer ---------- */
.closing { background: var(--band); color: var(--band-ink); padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.closing .label { color: var(--band-green); }
.closing h2 { max-width: 20ch; }
.closing .lede { color: color-mix(in srgb, var(--band-ink) 80%, transparent); }
.closing .btn:not(.btn--ghost) { color: #fff; }
.closing .btn--ghost { color: var(--band-ink); border-color: var(--band-ink); }
.closing .btn--ghost:hover { background: var(--band-ink); color: var(--band); }
.closing .btn:not(.btn--ghost):hover { background: var(--band-ink); border-color: var(--band-ink); color: var(--band); }
.footer { border-top: 1px solid var(--rule); padding: clamp(2.5rem, 5vw, 4rem) 0 2rem; font-family: var(--sans); font-size: var(--s--1); }
.footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: clamp(1.6rem, 4vw, 3rem); padding-bottom: 2rem; border-bottom: 1px solid var(--rule); }
.footer h3 { font-size: var(--s--1); letter-spacing: .15em; text-transform: uppercase; color: var(--green); margin-bottom: .9rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer a { text-decoration: none; color: var(--slate); }
.footer a:hover { color: var(--ink); }
.footer address { font-style: normal; line-height: 1.85; color: var(--slate); }
.footer__base { padding-top: 1.6rem; display: flex; flex-wrap: wrap; gap: .7rem 2rem; justify-content: space-between; color: var(--faint); }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .75s var(--ease), transform .75s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- print: the page reads as the report it imitates ---------- */
@media print {
  @page { margin: 18mm; }
  html { font-size: 10.5pt; }
  body, .section--tint, .ledger, .closing { background: #fff !important; color: #000 !important; }
  .masthead, .btn, .actions, .menu, .skip { display: none !important; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
  .hero h1 .l, .hero__lede, .contents li { animation: none !important; }
  .sticky { position: static !important; }
  .section { padding: 1.4rem 0; }
  .ledger__grid { padding: 1rem 0; border-block: 1px solid #000; }
  .closing .lede, .closing .label { color: #000 !important; }
  .module, .plate, .hansard li, .tracks tr, .faq details { break-inside: avoid; }
  a { text-decoration: none; }
}
