/* Foundation identity. Restrict the saturated orange to accents and large surfaces. */
:root {
  --brand-blue: #104d73;
  --brand-orange: #f25c05;
  --ink: #142b3a;
  --body: #41535e;
  --muted: #536671;
  --deep-blue: #0a304b;
  --paper: #fff;
  --soft: #f3f6f7;
  --line: #cbd6dc;
  --display: Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  --gutter: clamp(20px, 4.8vw, 78px);
  --container: 1380px;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}
* { box-sizing: border-box; }
body, figure, dl, dd { margin: 0; }
html { scroll-padding-top: calc(var(--masthead-height, 87px) + 12px); }
a { color: var(--brand-blue); text-decoration-thickness: 1px; text-underline-offset: 4px; }
button { color: inherit; font: inherit; cursor: pointer; }
button, a { touch-action: manipulation; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid #b94700; outline-offset: 4px; }
[hidden] { display: none !important; }
img { max-width: 100%; }
.container { width: min(calc(100% - var(--gutter) * 2), var(--container)); margin-inline: auto; }
h1, h2, h3, h4, p { margin: 0; }
h2, h3, h4 { text-wrap: balance; }
h2 { font: 500 clamp(2.3rem, 3.5vw, 3.7rem)/1.05 var(--display); letter-spacing: -.047em; }
h3 { font-weight: 640; line-height: 1.22; }
.sr, .skip-link { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { top: 8px; left: 8px; z-index: 20; padding: 10px 16px; width: auto; height: auto; clip-path: none; background: white; }
.site-header { position: sticky; top: 0; z-index: 10; box-shadow: 0 1px 0 rgb(16 77 115 / .15); background: var(--paper); border-top: 4px solid var(--brand-blue); }
.masthead { min-height: 83px; display: flex; align-items: center; justify-content: space-between; gap: clamp(9px, 1.7vw, 29px); }
.masthead__brand { display: inline-flex; flex-shrink: 0; }
.masthead__logo { display: block; width: clamp(132px, 11vw, 166px); height: auto; }
.masthead__nav { display: flex; align-items: center; gap: clamp(10px, 1.45vw, 26px); }
.masthead__nav a { color: var(--ink); font-size: clamp(.75rem, .96vw, .91rem); line-height: 1.35; font-weight: 580; white-space: nowrap; text-decoration: none; }
.masthead__nav a:hover, .masthead__nav a:focus-visible { color: var(--brand-blue); text-decoration: underline; text-decoration-color: var(--brand-orange); text-underline-offset: 6px; }
.masthead__toggle { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line); background: white; border-radius: 2px; min-height: 40px; padding: 6px 12px; font-weight: 600; }
.masthead__toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; white-space: nowrap; min-height: 45px; padding: 11px 18px; border-radius: 2px; font-size: .875rem; font-weight: 650; line-height: 1.35; text-decoration: none; transition: background .2s ease, transform .2s ease; }
.button span { display: inline-block; font-size: 1.05em; transition: transform .2s ease; }
.button:hover span { transform: translate(2px,-2px); }
.button--header { background: var(--brand-blue); color: #fff; font-size: clamp(.75rem, .92vw, .875rem); }
.button--header:hover { background: var(--deep-blue); }
.button--primary { color: #1d170f; background: var(--brand-orange); }
.button--primary:hover { background: #ff792d; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--deep-blue); color: #fff; }
.hero__text { align-self: center; max-width: 810px; padding: clamp(38px,4.3vw,74px) clamp(32px,4.6vw,82px) clamp(44px,4.5vw,76px) max(var(--gutter), calc((100vw - var(--container)) / 2)); }
.hero__location, .section-kicker { display: flex; align-items: center; gap: 10px; font-size: .69rem; line-height: 1.4; font-weight: 720; letter-spacing: .13em; text-transform: uppercase; }
.hero__location { color: #f4f7fa; }
.hero__location > span:not(.hero__rule) { color: #bcd1df; }
.hero__rule { width: 27px; height: 2px; background: var(--brand-orange); }
.hero h1 { margin-block: 21px 17px; font: 500 clamp(3.5rem,5.4vw,6.0rem)/.98 var(--display); letter-spacing: -.054em; }
.hero h1 em { font-weight: inherit; }
.hero__statement { max-width: 30em; color: #fff; font-size: clamp(1.05rem,1.45vw,1.45rem); font-weight: 500; line-height: 1.42; }
.hero__intro { margin: 12px 0 24px; color: #d3e0e9; max-width: 49ch; font-size: .97rem; line-height: 1.58; }
.hero__down { display: inline-flex; align-items: center; gap: 7px; margin: 10px 0 10px 15px; text-decoration: none; color: white; font-size: .825rem; font-weight: 580; }
.hero__down:hover { text-decoration: underline; }
.hero__photograph { position: relative; overflow: hidden; min-height: 100%; }
.hero__photograph::before { content: ""; position: absolute; top: 0; left: 0; z-index: 1; width: 5px; height: 61px; background: var(--brand-orange); }
.hero__photograph img { display: block; width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: center 45%; }
.hero__photograph figcaption { position: absolute; right: 12px; bottom: 12px; padding: 3px 8px; color: #fff; background: rgb(15 30 38 / .82); font-size: .65rem; letter-spacing: .03em; }
.edition-notice { border-left: 3px solid var(--brand-orange); padding: 8px 12px; margin-block: 12px; font-size: .88rem; }
.programme-section { padding-block: clamp(48px,5vw,86px); }
.programme-section--tinted { background: var(--soft); }
.section-heading { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px,8vw,130px); align-items: end; margin-bottom: 30px; }
.section-heading > p { color: var(--body); font-size: clamp(.95rem,1.17vw,1.1rem); line-height: 1.6; max-width: 60ch; }
.section-kicker { display: block; margin-bottom: 11px; color: var(--brand-blue); }
.section-kicker::before { content: ""; display: inline-block; vertical-align: middle; width: 25px; height: 2px; background: var(--brand-orange); margin-right: 10px; }
.institution-network { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); align-items: start; border-block: 1px solid var(--line); }
.institution { min-width: 0; padding-block: 16px; }
.institution summary { padding: 0 15px; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; align-content: start; gap: 5px 4px; color: var(--ink); list-style: none; border-left: 1px solid var(--line); cursor: pointer; }
.institution:first-child summary { border-left: none; padding-left: 0; }
.institution summary::-webkit-details-marker, .public-record > summary::-webkit-details-marker { display: none; }
.institution summary b { grid-column: 1; grid-row: 1; display: block; font: 500 clamp(2.2rem,3.25vw,3.7rem)/1.03 var(--display); color: var(--brand-blue); font-variant-numeric: tabular-nums; letter-spacing: -.055em; }
.institution summary > span:not(.expand) { grid-column: 1/-1; grid-row: 2; font-size: .91rem; line-height: 1.4; font-weight: 590; }
.institution .expand { grid-column: 2; grid-row: 1; align-self: center; font-weight: 400; color: var(--brand-blue); font-size: 1rem; }
.institution summary:hover > span:not(.expand) { text-decoration: underline; text-decoration-color: var(--brand-orange); }
.institution[open] .expand { transform: rotate(45deg); }
.institution-body { margin-top: 13px; padding: 0 12px; color: var(--body); font-size: .88rem; }
.institution-body a { display: inline-block; margin-top: 8px; }
.section-note { margin-top: 12px; color: var(--muted); font-size: .83rem; }
.public-record { border-bottom: 1px solid var(--line); }
.public-record > summary, .public-record__content details > summary { display: flex; justify-content: space-between; align-items: center; min-height: 48px; gap: 15px; list-style: none; cursor: pointer; font-weight: 590; }
.public-record > summary::after { content: "+"; color: var(--brand-blue); font-size: 1.3rem; font-weight: 450; }
.public-record[open] > summary::after { content: "−"; }
.section-note + .public-record { margin-top: 16px; }
.public-record__content { padding: 8px 0 19px; max-width: 900px; color: var(--body); }
.public-record__content details > summary { display: list-item; min-height: auto; padding-block: 7px; list-style: revert; }
.public-record__content details p { margin-block: 3px 12px; }
.financial-record .row { display: flex; align-items: start; justify-content: space-between; gap: 18px; padding-block: 7px; border-top: 1px solid var(--line); }
.financial-record dd { font-weight: 600; text-align: right; }
.status { display: inline-block; margin-left: 8px; padding: 1px 7px; font-weight: 500; font-size: .75rem; color: var(--brand-blue); background: #e5edf1; }
.category-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.category-filter button { padding: 8px 14px; min-height: 40px; border: 1px solid #8b9fa9; border-radius: 2px; color: var(--ink); background: transparent; font-size: .875rem; font-weight: 560; }
.category-filter button[aria-pressed="true"] { background: var(--brand-blue); color: #fff; border-color: var(--brand-blue); }
.category-list { border-top: 2px solid var(--brand-blue); }
.category-list .card { display: grid; grid-template-columns: 24px 1fr 1.45fr; align-items: center; gap: 16px; padding: 14px 3px; border-bottom: 1px solid var(--line); }
.category-list .glyph { width: 23px; height: 23px; color: var(--brand-blue); }
.category-list h3 { color: var(--ink); font-size: 1rem; }
.category-list p { color: var(--body); font-size: .92rem; }
.category-list strong { min-width: 144px; text-align: right; font-size: .9rem; font-weight: 640; font-variant-numeric: tabular-nums; }
.measurement { margin-block: 37px 22px; }
.measurement h3 { font: 500 clamp(1.6rem,2.3vw,2.2rem)/1.12 var(--display); }
.measurement__list { margin-top: 18px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.measurement__list > div { border-top: 2px solid var(--brand-blue); padding-block: 13px; }
.measurement dt { margin-bottom: 8px; font-weight: 630; }
.measurement dd { color: var(--body); font-size: .94rem; }
.partnership-routes { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; margin-bottom: 16px; }
.package { border-top: 2px solid var(--brand-orange); padding-block: 16px; }
.package h3 { font: 500 clamp(1.35rem,1.85vw,1.75rem)/1.2 var(--display); letter-spacing: -.03em; }
.package p { color: var(--body); margin-top: 9px; }
#partners img { max-width: 120px; height: auto; }
.contact { background: var(--deep-blue); color: white; }
.contact__inner { display: grid; grid-template-columns: 1.12fr .88fr; align-items: center; gap: 9%; padding-block: clamp(40px,5.0vw,76px); }
.contact .section-kicker, .contact a:not(.button) { color: white; }
.contact h2 { max-width: 20ch; }
.contact__action p { color: #dbe7ed; margin-bottom: 17px; }
.contact__email { display: block; width: fit-content; margin-top: 12px; font-size: .89rem; }
.site-footer { display: flex; justify-content: space-between; gap: 20px; padding-block: 23px; font-size: .85rem; color: var(--body); }
.site-footer a { white-space: nowrap; font-weight: 600; }
@keyframes hero-arrive { from { opacity: .84; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes section-arrive { from { opacity: .82; transform: translateY(9px); } to { opacity: 1; transform: none; } }
@keyframes nav-arrive { from { opacity: .85; transform: translateY(-5px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .hero__text { animation: hero-arrive .65s ease-out both; }
  .programme-reveal { animation: section-arrive .45s ease-out; }
}
@media (max-width: 1100px) {
  .masthead { min-height: 67px; flex-wrap: wrap; gap: 10px 15px; padding-block: 10px; }
  .masthead__logo { width: 129px; }
  .masthead__toggle { margin-left: auto; }
  .masthead__nav { order: 4; width: 100%; flex-wrap: wrap; justify-content: flex-start; padding: 8px 0; gap: 12px 20px; }
  .enhanced .masthead__nav:not(.open) { display: none; }
  .masthead__nav.open { animation: nav-arrive .19s ease-out; }
  .masthead__nav a { font-size: .91rem; padding: 4px 0; }
  .button--header { font-size: .78rem; min-height: 40px; }
  .hero__text { padding-right: 22px; }
  .hero__down { margin-left: 9px; font-size: .75rem; }
  .institution-network { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .institution:nth-child(n+4) { border-top: 1px solid var(--line); }
  .institution:nth-child(4) summary { border-left: none; padding-left: 0; }
}
@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; }
  .hero__text { padding: 34px var(--gutter) 28px; }
  .hero__intro { margin: 10px 0 16px; }
  .hero__photograph { min-height: 0; aspect-ratio: 2.4; }
  .hero__photograph img { object-position: center 39%; }
  .hero h1 { margin: 14px 0; }
  .hero__down { font-size: .82rem; margin-left: 11px; }
  .hero__location, .section-kicker { font-size: .64rem; }
  .hero__statement { max-width: 35ch; }
  .section-heading, .contact__inner { grid-template-columns: 1fr; gap: 14px; }
  .section-heading { margin-bottom: 20px; }
  .category-list .card { grid-template-columns: 23px 1fr; gap: 5px 9px; }
  .category-list .card p { grid-column: 2 / -1; }
  .category-list .card strong { grid-column: 3; grid-row: 1; min-width: 0; }
  .measurement__list, .partnership-routes { grid-template-columns: 1fr; gap: 5px; }
  .contact__inner { gap: 20px; }
  .site-footer { display: grid; gap: 6px; }
}
@media (max-width: 520px) {
  .masthead { gap: 7px 9px; }
  .masthead__logo { width: 94px; }
  .masthead__toggle { min-height: 37px; font-size: .76rem; padding-inline: 7px; gap: 4px; }
  .masthead__toggle svg { width: 14px; }
  .button--header { padding: 8px 10px; font-size: .7rem; gap: 4px; min-height: 37px; }
  .hero__photograph { aspect-ratio: 1.95; }
  .institution-network { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .institution { padding-block: 11px; }
  .institution:nth-child(n+3) { border-top: 1px solid var(--line); }
  .institution:nth-child(4) summary { border-left: 1px solid var(--line); padding-left: 15px; }
  .institution:nth-child(odd) summary { border-left: none; padding-left: 0; }
  .institution-body { padding-inline: 4px; }
  .category-list .card { grid-template-columns: 22px 1fr; }
  .category-list .card strong { grid-column: 2; grid-row: auto; text-align: left; }
  .financial-record .row { flex-wrap: wrap; gap: 3px 10px; }
}
@media (max-width: 370px) {
  .masthead__logo { width: 77px; }
  .masthead__toggle { padding-inline: 5px; }
  .button--header { padding-inline: 7px; }
  .hero__down { display: flex; width: fit-content; margin: 15px 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Interaction feedback stays brief and is omitted for reduced-motion readers. */
@media (prefers-reduced-motion: no-preference) {
  .masthead__nav a { position: relative; }
  .masthead__nav a::after {
    content: ""; position: absolute; inset: auto 0 -4px; height: 2px;
    background: var(--brand-orange); transform: scaleX(0); transform-origin: left;
    transition: transform .18s ease-out;
  }
  .masthead__nav a:is(:hover, :focus-visible) { text-decoration: none; }
  .masthead__nav a:is(:hover, :focus-visible)::after { transform: scaleX(1); }
  .link-arrow, .institution .expand { transition: transform .18s ease-out; }
  .button:is(:hover, :focus-visible) .link-arrow { transform: translate(2px, -2px); }
  .category-filter button { transition: background-color .16s ease, color .16s ease, border-color .16s ease; }
  .category-filter button:active, .button:active { transform: translateY(1px); }
  .institution[open] .institution-body, .public-record[open] > .public-record__content,
  .category-list .card { animation: control-enter .18s ease-out; }
  @keyframes control-enter {
    from { opacity: .7; transform: translateY(3px); }
    to { opacity: 1; transform: none; }
  }
}
@media (max-width: 1100px) {
  .site-header { max-height: 82vh; overflow-y: auto; }
}

/* Programme equipment cards */
.category-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.5vw, 24px);
  border: 0;
}
.category-list .card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: clamp(22px, 2.7vw, 42px) 22px;
  background: white;
  border: 1px solid var(--line);
  text-align: center;
}
.category-list .glyph, .story-measurement .programme-symbol {
  box-sizing: border-box;
  width: 56px; height: 56px; padding: 10px;
  border: 1px solid currentColor; border-radius: 8px;
  color: var(--brand-blue); fill: none; stroke: currentColor;
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.category-list h3 { font-size: clamp(1rem, 1.45vw, 1.33rem); }
.category-list .card p { max-width: 39ch; }
.category-list .card:nth-child(3n + 2) { background: var(--brand-blue); border-color: var(--brand-blue); }
.category-list .card:nth-child(3n + 2) h3 { color: white; }
.category-list .card:nth-child(3n + 2) p { color: #e4eff6; }
.category-list .card:nth-child(3n + 2) .glyph { color: #ffac72; }
@media (max-width: 880px) { .category-list { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 560px) { .category-list { grid-template-columns: 1fr; } }
