/* SLFSSF — colours carried over from the existing site and logo. */
:root {
  --navy: #0c447e;
  --blue: #0085de;
  --blue-text: #006bb3;      /* blue darkened for AA body-size text on white */
  --ink: #10263d;
  --muted: #6b7280;
  --line: #d3e0eb;
  --tide: #eaf3fa;
  --paper: #ffffff;

  --sans: "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --heading: #111827;
  --fs-small: 1rem;      /* 16px: dates, captions, labels, footer */
  --fs-tag: .875rem;     /* 14px: pills and tags only */

  --wrap: 1180px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section: clamp(3.5rem, 8vw, 6.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--muted);
  font: 400 1.125rem/1.6 var(--sans);   /* 18/28.8 */
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-text); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--navy); }
button, input, select, textarea { font: inherit; }
strong, b { font-weight: 600; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

/* One type system: headings are the display stack at 900, body is Segoe UI 400. */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 900;
  letter-spacing: -.02em;
  color: var(--heading);
  margin: 0 0 .6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 6vw, 3.75rem); line-height: .95; }   /* 60/57 */
h2 { font-size: clamp(2rem, 3.6vw, 2.5rem); line-height: 1.1; }     /* 40/44 */
h3 { font-size: 1.5rem; line-height: 1.25; letter-spacing: -.01em; } /* 24/30 */
h4 { font-size: 1.25rem; line-height: 1.4; letter-spacing: 0; }     /* 20/28 */
p { margin: 0 0 1.1em; }
.lede { font-size: 1.25rem; line-height: 1.6; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: var(--fs-small); line-height: 1.5; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.prose { max-width: 68ch; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: .45em; }

.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: .6rem 1rem; z-index: 10; }
.skip:focus { left: 0; }

/* Masthead */
.masthead { border-bottom: 1px solid var(--line); background: var(--paper); position: relative; z-index: 5; }
.masthead__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 84px; }
.brand { display: flex; align-items: center; gap: .85rem; text-decoration: none; color: var(--navy); }
.brand img { width: 84px; }
.brand__name { font-family: var(--display); font-size: 1rem; line-height: 1.2; font-weight: 900; letter-spacing: -.01em; color: var(--heading); }
.nav ul { list-style: none; display: flex; gap: .25rem; margin: 0; padding: 0; }
.nav a {
  display: block; padding: .5rem .8rem; color: var(--ink); text-decoration: none;
  font-weight: 600; font-size: var(--fs-small); line-height: 1.5; border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--blue-text); }
.nav a[aria-current="page"] { color: var(--navy); border-bottom-color: var(--blue); }
.nav-toggle { display: none; }

@media (max-width: 900px) {
  .nav-toggle {
    display: block; font: 600 var(--fs-small)/1.5 var(--sans); color: var(--navy);
    background: none; border: 1px solid var(--line); border-radius: 4px; padding: .5rem .9rem; cursor: pointer;
  }
  .nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--line); display: none; }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; padding: .5rem var(--gutter) 1rem; }
  .nav a { padding: .8rem 0; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"] { border-bottom-color: var(--line); color: var(--blue-text); }
  .brand img { width: 64px; }
}

/* Buttons */
.btn {
  display: inline-block; padding: .8rem 1.35rem; border-radius: 3px;
  font: 600 var(--fs-small)/1.5 var(--sans); text-decoration: none; border: 2px solid var(--blue);
  background: var(--blue); color: #fff;
}
.btn:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn--ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn--line { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--line:hover { background: var(--navy); color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

/* Home hero: the photo is the statement; type sits on a navy field that bleeds from it. */
.hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 40%; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(12,68,126,.94) 0%, rgba(12,68,126,.82) 38%, rgba(12,68,126,.15) 72%, rgba(12,68,126,0) 100%);
}
.hero__body { position: relative; z-index: 1; padding-block: clamp(5rem, 14vw, 10rem) clamp(4rem, 10vw, 7rem); max-width: 40rem; }
.hero h1 { color: #fff; margin-bottom: .45em; }
.hero p { color: rgba(255,255,255,.9); max-width: 34rem; }
@media (max-width: 700px) {
  .hero::after { background: linear-gradient(0deg, rgba(12,68,126,.96) 0%, rgba(12,68,126,.85) 55%, rgba(12,68,126,.35) 100%); }
}

/* Inner page header */
.page-head { background: var(--tide); padding-block: clamp(3rem, 7vw, 5rem) clamp(2.25rem, 5vw, 3.5rem); border-bottom: 1px solid var(--line); }
.page-head h1 { max-width: 20ch; }
.page-head .lede { max-width: 56ch; margin-bottom: 0; }
.crumb { font-size: var(--fs-small); line-height: 1.5; margin-bottom: 1rem; }
.crumb a { color: var(--muted); }

/* Sections */
.section { padding-block: var(--section); }
.section--tide { background: var(--tide); }
.section--navy { background: var(--navy); color: #fff; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--navy a { color: #fff; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem 2rem; flex-wrap: wrap; margin-bottom: 2.25rem; }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; max-width: 46ch; color: var(--muted); }

.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.split--even { grid-template-columns: 1fr 1fr; align-items: center; }
.split > * { min-width: 0; }
@media (max-width: 860px) { .split, .split--even { grid-template-columns: 1fr; } }

.figure { margin: 0; }
.figure img { border-radius: 3px; width: 100%; }
.figure figcaption { font-size: var(--fs-small); line-height: 1.5; color: var(--muted); margin-top: .6rem; }

/* Four areas of work: a ruled list rather than icon cards */
.areas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 2rem; border-top: 2px solid var(--navy); }
.areas > div { padding-top: 1.25rem; }
.areas p { margin: 0; }
@media (max-width: 960px) { .areas { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 560px) { .areas { grid-template-columns: 1fr; } }

/* Feature (project highlight) */
.feature { display: grid; grid-template-columns: 7fr 5fr; background: var(--paper); border: 1px solid var(--line); }
.feature img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.feature__body { padding: clamp(1.75rem, 4vw, 3rem); }
.feature__meta { font-size: var(--fs-small); line-height: 1.5; }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } .feature img { min-height: 0; aspect-ratio: 16/10; } }

/* Tile grid for events/programmes */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 2rem 1.75rem; }
.tile { text-decoration: none; color: inherit; }
.tile img { aspect-ratio: 4/3; object-fit: cover; width: 100%; border-radius: 3px; margin-bottom: .9rem; }
.tile h3 { margin-bottom: .3em; }
a.tile:hover h3 { color: var(--blue-text); text-decoration: underline; text-underline-offset: .18em; }
.tile p { margin: 0; }

/* Publication / press rows */
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 5.5rem 1fr auto; gap: .5rem 1.75rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.row__year { font-family: var(--display); font-weight: 900; font-size: 1.5rem; color: var(--heading); line-height: 1.25; }
.row h3 { margin-bottom: .3em; }
.row__meta { font-size: var(--fs-small); line-height: 1.5; margin-bottom: .5em; }
.row__summary { margin: 0; max-width: 70ch; }
.row__links { display: flex; flex-direction: column; gap: .4rem; align-items: flex-start; font-weight: 600; font-size: var(--fs-small); line-height: 1.5; white-space: nowrap; }
.tag { display: inline-block; font-size: var(--fs-tag); line-height: 1.5; font-weight: 600; color: var(--navy); background: var(--tide); border-radius: 2px; padding: .1rem .45rem; margin-right: .35rem; }
@media (max-width: 720px) {
  .row { grid-template-columns: 1fr; }
  .row__links { flex-direction: row; gap: 1.25rem; }
}

.filters { display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: end; margin-bottom: 1.75rem; }
.filters label { display: flex; flex-direction: column; gap: .3rem; font-size: var(--fs-small); line-height: 1.5; font-weight: 600; color: var(--muted); }
.filters input, .filters select {
  font: 400 var(--fs-small)/1.5 var(--sans); color: var(--ink); padding: .6rem .75rem; min-width: 14rem;
  border: 1px solid #a9bccd; border-radius: 3px; background: #fff;
}
.filters output { margin-left: auto; font-size: var(--fs-small); line-height: 1.5; }
.empty { padding: 2rem 0; color: var(--muted); }

/* Press clippings */
.clips { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 2rem; }
.clip { border: 1px solid var(--line); padding: 1.25rem; display: flex; flex-direction: column; background: #fff; }
.clip__outlet { font-weight: 600; font-size: var(--fs-small); line-height: 1.5; color: var(--blue-text); margin-bottom: .4rem; }
.clip__img { margin: -1.25rem -1.25rem 1.25rem; border-bottom: 1px solid var(--line); aspect-ratio: 16/9; object-fit: cover; object-position: top; width: calc(100% + 2.5rem); max-width: none; }
.clip__link { margin-top: auto; font-weight: 600; font-size: var(--fs-small); line-height: 1.5; }

/* Committee */
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 3rem 2rem; }
.person img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 3px; background: var(--tide); margin-bottom: 1rem; }
.person h3 { margin-bottom: .2em; }
.person__role { font-size: var(--fs-small); line-height: 1.5; font-weight: 600; color: var(--blue-text); margin-bottom: .35rem; }
.person__aff { font-size: var(--fs-small); line-height: 1.5; margin-bottom: .8rem; }
.person details summary { cursor: pointer; font-size: var(--fs-small); line-height: 1.5; font-weight: 600; color: var(--blue-text); }
.person details[open] summary { margin-bottom: .75rem; }

/* Timeline (real sequences only) */
.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 1.75rem 1.75rem; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: .45rem; width: 12px; height: 12px; border-radius: 50%; background: var(--paper); border: 2px solid var(--blue); }
.timeline time { display: block; font-weight: 600; color: var(--blue-text); font-size: var(--fs-small); line-height: 1.5; }
.timeline h3 { margin: .15rem 0 .3rem; }
.timeline p { margin: 0; }

/* Agenda table */
.agenda { width: 100%; border-collapse: collapse; }
.agenda caption { text-align: left; font-family: var(--display); font-weight: 900; font-size: 1.5rem; line-height: 1.25; color: var(--heading); padding-bottom: .6rem; }
.agenda th, .agenda td { text-align: left; vertical-align: top; padding: .8rem .75rem .8rem 0; border-bottom: 1px solid var(--line); }
.agenda th { width: 9.5rem; font-size: var(--fs-small); line-height: 1.5; font-weight: 600; color: var(--heading); white-space: nowrap; }
.agenda td span { display: block; font-size: var(--fs-small); line-height: 1.5; margin-top: .2rem; }

.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: .75rem; }
.gallery figure { margin: 0; grid-column: span 4; }
.gallery figure.wide { grid-column: span 8; }
.gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; border-radius: 2px; }
.gallery figure.wide img { aspect-ratio: auto; height: 100%; }
@media (max-width: 720px) { .gallery figure, .gallery figure.wide { grid-column: span 12; } }

.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem 2rem; margin: 0; }
.facts dt { font-weight: 600; color: var(--heading); }
.facts dd { margin: 0; color: var(--muted); }
@media (max-width: 560px) { .facts { grid-template-columns: 1fr; } }

/* Partners: ruled grid of equal cells, every logo named */
.partners-wrap { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.partners__intro h2 { margin-bottom: .5em; }
.partners__intro p { color: var(--muted); max-width: 30ch; margin: 0; }
.partners {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 4px solid var(--navy); border-left: 1px solid var(--line);
}
.partner {
  display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 1.1rem;
  padding: 2rem 1.25rem 1.5rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  text-align: center;
}
.partner__logo { height: 92px; display: flex; align-items: center; justify-content: center; }
.partner__logo img { max-height: 92px; max-width: 150px; width: auto; height: auto; }
.partner__name { margin: 0; font-size: var(--fs-small); line-height: 1.5; font-weight: 600; color: var(--heading); max-width: 24ch; }
@media (max-width: 960px) { .partners-wrap { grid-template-columns: 1fr; } .partners__intro p { max-width: 50ch; } }
@media (max-width: 600px) { .partners { grid-template-columns: 1fr 1fr; } .partner__logo { height: 72px; } .partner__logo img { max-height: 72px; max-width: 110px; } }

/* Contact */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.75rem; }
.contact-list h2 { font-size: 1.25rem; line-height: 1.4; margin-bottom: .3rem; }
.contact-list p, .contact-list address { font-style: normal; margin: 0; }

/* Footer */
.footer { background: var(--ink); color: rgba(255,255,255,.82); padding-top: 3.5rem; font-size: var(--fs-small); line-height: 1.5; }
.footer a { color: #fff; }
.footer h2 { font-size: 1.25rem; line-height: 1.4; color: #fff; margin-bottom: .75rem; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: .35rem; }
.footer address { font-style: normal; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 2.5rem; }
.footer__about img { width: 72px; background: #fff; border-radius: 3px; padding: 4px; margin-bottom: 1rem; }
.footer__about p { max-width: 38ch; }
.footer__base { border-top: 1px solid rgba(255,255,255,.14); padding-block: 1.25rem; }
.footer__base p { margin: 0; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
@media print { .masthead, .footer, .filters { display: none; } }

.section--navy .facts dt { color: #fff; }
.section--navy .facts dd { color: rgba(255,255,255,.8); }

/* Home: what we do — navy band, intro left, four linked strands right */
.work { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.work__intro h2 { margin-bottom: .5em; }
.work__intro p { color: rgba(255,255,255,.85); max-width: 22ch; margin: 0; }
.work__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.18); }
.section--navy a.work__item {
  display: flex; flex-direction: column; padding: 2rem 1.9rem 1.75rem;
  background: var(--navy); color: #fff; text-decoration: none;
  border-top: 4px solid var(--blue); transition: background-color .15s;
}
.section--navy a.work__item:hover { background: #0a3a6c; }
.work__item h3 { margin-bottom: .5em; }
.work__item p { color: rgba(255,255,255,.82); margin-bottom: 1.5rem; }
.work__link { margin-top: auto; font-weight: 600; font-size: var(--fs-small); line-height: 1.5; color: #fff; text-decoration: underline; text-decoration-color: var(--blue); text-decoration-thickness: 2px; text-underline-offset: .3em; }
.work__item:hover .work__link { text-decoration-color: #fff; }
@media (max-width: 960px) { .work { grid-template-columns: 1fr; } .work__intro p { max-width: 40ch; } }
@media (max-width: 600px) { .work__grid { grid-template-columns: 1fr; } }

/* ---------- About page ---------- */
.page-hero { background: var(--tide); padding-block: clamp(3rem, 7vw, 5.5rem); }
.page-hero__grid { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.page-hero .lede { margin: 0; max-width: 38ch; }
.page-hero__img { margin: 0; }
.page-hero__img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 6px; box-shadow: 18px 18px 0 var(--blue); }

.ab-figures { border-bottom: 1px solid var(--line); padding-block: 2.75rem 1.75rem; }
.ab-figures__row { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; }
.ab-figures__row > div { padding: .25rem 1.5rem; border-left: 1px solid var(--line); }
.ab-figures__row > div:first-child { border-left: 0; padding-left: 0; }
.ab-figures dt { font-family: var(--display); font-weight: 900; font-size: clamp(2rem, 3.6vw, 2.5rem); line-height: 1.1; letter-spacing: -.02em; color: var(--heading); }
.ab-figures dd { margin: .35rem 0 0; font-size: var(--fs-small); line-height: 1.5; }
.ab-figures__note { margin: 1.5rem 0 0; font-size: var(--fs-small); line-height: 1.5; }

.ab-why { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 7vw, 6rem); align-items: center; }
.ab-why p { max-width: 58ch; }
.ab-quote { margin: 0; padding: 2.25rem 2.5rem; background: var(--navy); color: #fff; border-radius: 6px; }
.ab-quote p { font-size: 1.5rem; line-height: 1.5; margin-bottom: 1.25rem; }
.ab-quote p::before { content: "“"; display: block; font-family: var(--display); font-weight: 900; font-size: 3.5rem; line-height: .6; color: var(--blue); margin-bottom: .5rem; }
.ab-quote footer { font-size: var(--fs-small); line-height: 1.5; color: rgba(255,255,255,.75); }

.ab-aims { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.ab-aims article { background: #fff; padding: 2rem 1.75rem; border-radius: 6px; border-top: 4px solid var(--blue); }
.ab-aims ul { margin: 0; padding: 0; list-style: none; }
.ab-aims li { position: relative; padding-left: 1.2rem; margin-bottom: .7rem; }
.ab-aims li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }

.ab-how { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.ab-how__img { margin: 0; }
.ab-how__img img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 6px; }
.ab-how__item { padding: 1.25rem 0; border-top: 1px solid rgba(255,255,255,.2); }
.ab-how__item h3 { margin-bottom: .35em; }
.ab-how__item p { margin: 0; color: rgba(255,255,255,.82); }

.ab-ssf { display: flex; justify-content: space-between; align-items: center; gap: 2rem 4rem; padding: clamp(2rem, 4vw, 3rem); border: 1px solid var(--line); border-left: 6px solid var(--navy); border-radius: 6px; }
.ab-ssf p { margin: 0; max-width: 70ch; }
.ab-ssf .btn { flex-shrink: 0; }

.ab-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.5rem; position: relative; }
.ab-steps::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: #b8cfe2; }
.ab-steps li { position: relative; padding-top: 2rem; }
.ab-steps li::before { content: ""; position: absolute; left: 0; top: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px var(--tide); }
.ab-steps time { font-weight: 600; font-size: var(--fs-small); line-height: 1.5; color: var(--blue-text); }
.ab-steps h3 { font-size: 1.25rem; line-height: 1.4; margin: .3rem 0 .35rem; }
.ab-steps p { margin: 0; font-size: var(--fs-small); line-height: 1.5; }

.ab-cta { text-align: center; }
.ab-cta .actions { justify-content: center; margin-top: 1rem; }

@media (max-width: 960px) {
  .page-hero__grid, .ab-why, .ab-how { grid-template-columns: 1fr; }
  .page-hero__img img { box-shadow: 10px 10px 0 var(--blue); }
  .ab-figures__row { grid-template-columns: 1fr 1fr; row-gap: 1.75rem; }
  .ab-figures__row > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .ab-aims { grid-template-columns: 1fr; }
  .ab-how__img img { aspect-ratio: 16/10; }
  .ab-ssf { flex-direction: column; align-items: flex-start; }
  .ab-steps { grid-template-columns: 1fr; gap: 0; padding-left: 2rem; }
  .ab-steps::before { left: 7px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .ab-steps li { padding: 0 0 1.75rem; }
  .ab-steps li::before { left: -2rem; top: .15rem; }
}

/* ---------- Programmes page ---------- */
.jump { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.75rem; }
.jump a { padding: .45rem .95rem; border: 1px solid #b8cfe2; border-radius: 999px; background: #fff; color: var(--navy); font-size: var(--fs-small); line-height: 1.5; font-weight: 600; text-decoration: none; }
.jump a:hover { border-color: var(--blue); color: var(--blue-text); }
.pill { display: inline-block; margin: 0 0 1rem; padding: .2rem .7rem; border-radius: 999px; background: var(--tide); color: var(--navy); font-size: var(--fs-tag); line-height: 1.5; font-weight: 600; }

.pg-project { display: grid; grid-template-columns: 7fr 5fr; border-radius: 8px; overflow: hidden; background: #fff; box-shadow: 0 1px 2px rgba(12,68,126,.08), 0 12px 32px -12px rgba(12,68,126,.25); }
.pg-project__img { display: block; overflow: hidden; }
.pg-project__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.pg-project:hover .pg-project__img img { transform: scale(1.03); }
.pg-project__body { padding: clamp(1.75rem, 4vw, 3rem); }
.pg-project h3 { font-size: clamp(2rem, 3.6vw, 2.5rem); line-height: 1.1; letter-spacing: -.02em; }
.pg-project h3 a { color: inherit; text-decoration: none; }
.pg-project h3 a:hover { color: var(--blue-text); }
.pg-project__facts { margin: 1.5rem 0 1.75rem; display: grid; gap: .6rem; }
.pg-project__facts div { display: grid; grid-template-columns: 6rem 1fr; gap: 1rem; padding-bottom: .6rem; border-bottom: 1px solid var(--line); font-size: var(--fs-small); line-height: 1.5; }
.pg-project__facts dt { font-weight: 600; color: var(--heading); }
.pg-project__facts dd { margin: 0; color: var(--muted); }

.pg-platforms { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.pg-platforms__intro p { color: rgba(255,255,255,.82); }
.pg-platforms__intro img { margin-top: 2rem; width: 100%; max-width: 300px; border-radius: 6px; }
.pg-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.pg-list li { display: grid; grid-template-columns: 7rem 1fr auto; gap: 1.5rem; align-items: start; padding: 1.4rem 1.5rem; border-radius: 6px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.pg-list li:hover { background: rgba(255,255,255,.1); }
.pg-list time { font-weight: 600; font-size: var(--fs-small); line-height: 1.5; color: #7cc4f5; padding-top: .2rem; }
.pg-list h3 { margin-bottom: .35em; }
.pg-list p { margin: 0; color: rgba(255,255,255,.78); }
.pg-list__tag { font-size: var(--fs-tag); line-height: 1.5; font-weight: 600; padding: .2rem .65rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.35); white-space: nowrap; }

.pg-places { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.pg-places figure { position: relative; margin: 0; border-radius: 8px; overflow: hidden; aspect-ratio: 3/4; }
.pg-places img { width: 100%; height: 100%; object-fit: cover; }
.pg-places figcaption { position: absolute; inset: auto 0 0 0; padding: 4rem 1.25rem 1.25rem; color: rgba(255,255,255,.88); font-size: var(--fs-small); line-height: 1.5; background: linear-gradient(0deg, rgba(8,40,76,.95) 0%, rgba(8,40,76,.75) 55%, rgba(8,40,76,0) 100%); }
.pg-places figcaption span { display: inline-block; margin-bottom: .5rem; padding: .1rem .6rem; border-radius: 999px; background: var(--blue); color: #fff; font-size: var(--fs-tag); line-height: 1.5; font-weight: 600; }
.pg-places figcaption strong { display: block; font-family: var(--display); font-weight: 900; font-size: 1.5rem; line-height: 1.25; letter-spacing: -.01em; color: #fff; margin-bottom: .2rem; }

.pg-cta { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem 3rem; padding: clamp(2rem, 4vw, 3rem); border-radius: 8px; background: #fff; border-left: 6px solid var(--blue); }
.pg-cta p { margin: 0; color: var(--muted); max-width: 60ch; }
.pg-cta .btn { flex-shrink: 0; }

@media (max-width: 960px) {
  .pg-project, .pg-platforms { grid-template-columns: 1fr; }
  .pg-project__img img { aspect-ratio: 16/10; }
  .pg-platforms__intro img { display: none; }
  .pg-places { grid-template-columns: 1fr 1fr; }
  .pg-cta { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  .pg-list li { grid-template-columns: 1fr; gap: .5rem; }
  .pg-list__tag { justify-self: start; }
  .pg-places { grid-template-columns: 1fr; }
  .pg-places figure { aspect-ratio: 4/3; }
}
@media (prefers-reduced-motion: reduce) { .pg-project__img img { transition: none; } }

/* Scroll-to-top button */
.to-top {
  position: fixed; right: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem); z-index: 20;
  width: 48px; height: 48px; display: grid; place-items: center;
  border: 2px solid #fff; border-radius: 50%; background: var(--navy); color: #fff; cursor: pointer;
  box-shadow: 0 6px 18px -6px rgba(12,68,126,.55);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s, transform .2s, visibility .2s, background-color .15s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--blue); }
@media (prefers-reduced-motion: reduce) { .to-top { transition: none; } }
@media print { .to-top { display: none; } }
