@font-face {
  font-family: Inter;
  src: url("assets/inter-400.woff") format("woff");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("assets/inter-700.woff") format("woff");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("assets/inter-900.woff") format("woff");
  font-weight: 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #111713;
  --muted: #5f6b62;
  --line: #d9dfd7;
  --soft: #f6f7f3;
  --red: #c91424;
  --leaf: #4f8521;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: white; color: var(--ink); font: 15.5px/1.48 var(--font); }
h1, h2, h3, p, ul { margin: 0; }
h1, h2 { font-weight: 900; line-height: 1.15; }
h1 { font-size: clamp(25px, 2.65vw, 34px); }
h2 { font-size: 26px; }
h3 { font-size: 18px; font-weight: 700; line-height: 1.25; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid #0e5c7a;
  outline-offset: 3px;
}
.wrap { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
main section[id] { scroll-margin-top: 18px; }
.skip-link { position: fixed; left: 12px; top: 12px; z-index: 100; padding: 10px 15px; background: white; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.arrow { position: relative; display: inline-block; width: 1em; height: 1em; flex: none; vertical-align: -.1em; }
.arrow::before, .arrow::after { content: ""; position: absolute; }
.arrow::before { width: .39em; height: .39em; top: .28em; right: .06em; border-top: .09em solid; border-right: .09em solid; transform: rotate(45deg); }
.arrow::after { left: .04em; right: .07em; top: .46em; border-top: .09em solid; }
.arrow-external { transform: rotate(-45deg); }

.site-header { background: white; }
.masthead { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 10px; min-height: 118px; }
.brand { flex: 0 1 455px; }
.brand img { width: 100%; height: auto; }
.masthead-right { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.masthead-actions { display: flex; align-items: center; gap: 9px; }
.masthead-actions a { display: grid; place-items: center; min-width: 36px; min-height: 38px; }
.masthead-actions img { width: 36px; height: 36px; }
.masthead-actions .donate { margin-right: 5px; }
.masthead-actions .donate img { width: 155px; height: 40px; }
.network { display: flex; align-items: center; font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.network a + a { border-left: 1px solid; margin-left: 8px; padding-left: 8px; }
.network a:hover, .site-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }

.site-nav { position: relative; z-index: 20; background: black; color: white; }
.primary-menu { display: flex; align-items: stretch; justify-content: space-between; }
.primary-menu > a, .nav-menu > summary {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 13px;
  cursor: pointer;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}
.primary-menu > .home-link { min-width: 44px; padding: 0 7px; }
.home-icon { width: 25px; height: 25px; fill: currentColor; }
.nav-menu { position: relative; }
.nav-menu > summary { list-style: none; gap: 8px; }
.nav-menu > summary::-webkit-details-marker { display: none; }
.nav-menu > summary::after { content: ""; border: 4px solid transparent; border-top: 5px solid currentColor; border-bottom: 0; }
.nav-menu[open] > summary, .nav-menu > summary:hover { background: #242424; }
.primary-menu > .store-link { background: var(--leaf); margin-left: 4px; padding-inline: 19px; }
.dropdown { position: absolute; top: 100%; left: 0; display: grid; width: 290px; padding-block: 5px; color: var(--ink); background: white; border: 1px solid var(--line); box-shadow: 0 8px 20px #0002; }
.dropdown a { padding: 9px 13px; font-size: 14px; line-height: 1.3; }
.dropdown a:hover, .dropdown a:focus-visible { background: var(--soft); color: var(--red); }
.nav-menu:nth-last-of-type(-n+2) .dropdown { left: auto; right: 0; }
.nav-top { display: none; }

.programme-header { padding-top: 14px; }
.campaign-banner { display: block; }
.campaign-banner > img { width: 100%; height: auto; }
.campaign-mobile { display: none; }
.programme-band { margin-block: 14px 19px; background: #343434; color: white; border-block: 1px solid #343434; }
.programme-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 13px; }
.programme-band h1 { font-size: clamp(24px, 2.6vw, 32px); }
.programme-area-navigation { flex: none; }
.programme-menu { position: relative; }
.programme-menu > summary { display: flex; align-items: center; justify-content: space-between; gap: 17px; min-height: 44px; padding: 10px 14px; border: 1px solid #aeb8ac; background: white; color: var(--ink); cursor: pointer; list-style: none; font-size: 13px; font-weight: 700; }
.programme-menu > summary::-webkit-details-marker { display: none; }
.programme-menu > summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid; border-bottom: 2px solid; transform: rotate(45deg) translateY(-2px); }
.programme-menu[open] > summary { border-color: var(--red); }
.programme-links { position: absolute; z-index: 15; top: calc(100% + 5px); right: 0; display: grid; width: 440px; max-width: calc(100vw - 32px); padding-block: 5px; border: 1px solid var(--line); background: white; color: var(--ink); box-shadow: 0 8px 20px #0002; }
.programme-links a { padding: 12px 14px; font-size: 14px; line-height: 1.35; }
.programme-links a:hover, .programme-links a:focus-visible { color: var(--red); background: var(--soft); }
.section-heading { padding-bottom: 9px; border-bottom: 2px solid var(--ink); margin-bottom: 15px; }
.overview { padding-bottom: 25px; }
.overview-copy p + p { margin-top: 10px; }
.overview-copy p { font-size: 15.5px; line-height: 1.5; }

.two-rails { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr); gap: 30px; align-items: start; }
.two-rails > * { min-width: 0; }
.two-rails > :last-child { border-left: 1px solid var(--line); padding-left: 22px; }
.news-deck { align-items: stretch; padding-bottom: 25px; }
.news-rail { display: flex; flex-direction: column; gap: 23px; }
.latest-card { display: block; }
.latest-art { overflow: hidden; }
.latest-art img { width: 100%; height: 100%; object-fit: cover; }
.latest-feature .latest-art { aspect-ratio: 16 / 9; }
.latest-feature .latest-copy { padding-top: 10px; }
.label { display: block; font-size: 11px; line-height: 1.3; font-weight: 700; text-transform: uppercase; letter-spacing: .025em; color: var(--red); }
.latest-copy h3 { margin-top: 5px; }
.latest-feature h3 { font-size: 25px; font-weight: 900; line-height: 1.18; }
.latest-copy p { margin-top: 6px; font-size: 14px; line-height: 1.5; color: #37433a; }
.latest-updates { margin-top: 16px; border-top: 1px solid var(--line); }
.latest-update { padding-block: 13px; border-bottom: 1px solid var(--line); }
.latest-update .latest-card { display: grid; grid-template-columns: 138px 1fr; align-items: center; gap: 14px; }
.latest-update .latest-art { aspect-ratio: 1.66; }
.latest-update h3 { font-size: 18px; }
.latest-update p { font-size: 13px; margin-top: 4px; }

.events-panel { background: white; }
.past-label { display: inline-block; padding: 0 0 5px; font-size: 12px; }
.event-list { list-style: none; padding: 0; }
.event-list li { border-bottom: 1px solid var(--line); }
.event-list a { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 6px 12px; padding-block: 13px; }
.event-list time { grid-column: 1 / -1; font-size: 11.5px; font-weight: 700; color: var(--red); }
.event-list h3 { font-size: 16px; line-height: 1.3; }
.event-list .arrow { width: 12px; height: 12px; }
.text-link { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 700; line-height: 1.3; text-transform: uppercase; }
a.text-link { min-height: 38px; }
.events-more { display: flex; justify-content: flex-end; margin-top: 3px; }
.text-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.latest-card:hover h3, .event-list a:hover h3, .publication-card:hover h3, .dte-card:hover h3, .video-card:hover h3 { color: var(--red); }

.team-deck { display: flex; flex-direction: column; flex: 1; }
.team-grid { list-style: none; padding: 0; display: flex; flex-direction: column; justify-content: space-between; flex: 1; gap: 12px; }
.person { display: grid; grid-template-columns: 54px minmax(0, 1fr); align-items: center; gap: 12px; min-width: 0; }
.portrait { width: 54px; height: 54px; overflow: hidden; background: var(--soft); }
/* Each source portrait is cropped around its face, so every frame shows the complete face. */
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.person h3 { font-size: 14px; line-height: 1.25; }
.person p { margin-top: 4px; font-size: 11.5px; color: #505d53; line-height: 1.35; }

.resources-band { background: var(--soft); margin-bottom: 26px; }
.resources-deck { align-items: stretch; padding-block: 24px; }
.resources-deck > section { display: flex; flex-direction: column; }
.resources-deck .section-more { margin-top: auto; }
.publications-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.publications-grid article { padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.publication-card { display: grid; grid-template-columns: 101px minmax(0, 1fr); gap: 14px; align-items: start; height: 100%; }
.cover-frame { width: 101px; }
.cover-frame img { width: 100%; height: auto; }
.publication-copy { min-width: 0; }
.publication-copy h3 { font-size: 16.5px; line-height: 1.3; }
.publication-intro { margin-top: 8px; color: #505d53; font-size: 13px; line-height: 1.45; }
.section-more { display: flex; justify-content: flex-end; padding-top: 5px; }
.dte-grid { display: flex; flex-direction: column; justify-content: space-between; flex: 1; gap: 18px; }
.dte-grid article { padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.dte-card { display: grid; grid-template-columns: 86px minmax(0, 1fr); gap: 12px; align-items: start; }
.dte-art { aspect-ratio: 1.38; overflow: hidden; margin-top: 2px; }
.dte-art img { width: 100%; height: 100%; object-fit: cover; }
.dte-card .label { font-size: 10px; text-transform: none; letter-spacing: 0; line-height: 1.35; }
.dte-card h3 { font-size: 16px; line-height: 1.26; margin-top: 5px; }

.videos-deck { padding-bottom: 27px; }
.videos-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: start; gap: 27px; }
.video-art { position: relative; overflow: hidden; background: #111; aspect-ratio: 16 / 9; }
.video-art img { width: 100%; height: 100%; object-fit: cover; }
.video-feature h3 { font-size: 22px; font-weight: 900; line-height: 1.22; margin-top: 10px; }
.play-icon { display: grid; place-items: center; position: absolute; top: 50%; left: 50%; width: 55px; height: 55px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--red); }
.play-icon::after { content: ""; width: 0; height: 0; margin-left: 4px; border: 9px solid transparent; border-right: 0; border-left: 14px solid white; }
/* The narrower rail matches the height of the main 16:9 video image. */
.video-list { list-style: none; padding: 0; display: flex; flex-direction: column; justify-content: space-between; aspect-ratio: 10 / 9; }
.video-list li + li { padding-top: 13px; border-top: 1px solid var(--line); }
.video-row { display: grid; grid-template-columns: 39% minmax(0, 1fr); gap: 13px; align-items: center; }
.video-row h3 { font-size: 16.5px; line-height: 1.3; }
.video-row .play-icon { width: 33px; height: 33px; }
.video-row .play-icon::after { border-width: 6px 0 6px 9px; margin-left: 2px; }
.video-card:hover .play-icon { background: #a50e1c; }
.videos-deck .section-more { margin-top: 12px; border-top: 1px solid var(--line); }

/* Original CSE homepage footer. */
.site-footer { background: #f4f4f1; color: var(--muted); padding: 2rem 0; font-size: 16px; line-height: 1.5; }
.footer-inner { width: min(1180px, calc(100% - 48px)); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem; align-items: center; }
.site-footer .footer-links, .site-footer .social-links { display: flex; align-items: center; flex-wrap: wrap; gap: .9rem; }
.site-footer .footer-links { gap: 1.15rem; }
.site-footer .legal { display: flex; gap: 1rem 1.35rem; flex-wrap: wrap; margin-top: .8rem; }
.site-footer .social-dot { width: 28px; height: 28px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--ink); color: white; font-size: .7rem; font-weight: 900; text-transform: uppercase; }
.site-footer .social-dot svg { display: block; width: 15px; height: 15px; fill: currentColor; }
.site-footer .social-dot .instagram-icon { fill: none; stroke: currentColor; stroke-width: 2; }
.site-footer .social-dot .instagram-icon .instagram-dot { fill: currentColor; stroke: none; }
dialog { border: 0; padding: 0; width: min(880px, calc(100% - 28px)); max-height: 94dvh; background: white; color: var(--ink); }
dialog::backdrop { background: #000c; }
body:has(dialog[open]) { overflow: hidden; }
.video-dialog-header { display: flex; justify-content: space-between; align-items: center; padding: 9px 11px 9px 15px; gap: 12px; }
.video-dialog-header h2 { font-size: clamp(18px, 2vw, 24px); line-height: 1.2; }
.close-video { width: 44px; height: 44px; border: 0; color: var(--ink); background: var(--soft); font: 28px/1 Arial, sans-serif; cursor: pointer; }
.close-video:hover { background: var(--line); }
#video-player { aspect-ratio: 16 / 9; background: #111; }
#video-player iframe { width: 100%; height: 100%; border: 0; }
.video-source { margin-left: 15px; }

@media (max-width: 1050px) {
  .brand { flex-basis: 390px; }
  .network { font-size: 11px; }
  .network a + a { padding-left: 6px; margin-left: 6px; }
  .masthead { min-height: 105px; }
  .nav-top { display: flex; align-items: center; justify-content: space-between; min-height: 44px; }
  .nav-top > a, .menu-toggle { font-size: 12px; font-weight: 700; text-transform: uppercase; }
  .menu-toggle { display: flex; align-items: center; gap: 12px; min-width: 90px; min-height: 44px; justify-content: flex-end; padding: 0; background: none; border: 0; color: white; cursor: pointer; }
  .menu-icon { width: 18px; height: 14px; border-block: 2px solid; background: linear-gradient(white,white) center / 100% 2px no-repeat; }
  .primary-menu { display: none; flex-direction: column; width: 100%; }
  .site-nav.open .primary-menu { display: flex; }
  .primary-menu > .home-link { display: none; }
  .nav-menu { position: static; }
  .primary-menu > a, .nav-menu > summary { justify-content: space-between; padding: 12px 24px; border-top: 1px solid #ffffff30; }
  .dropdown, .nav-menu:nth-last-of-type(-n+2) .dropdown { position: static; width: 100%; border: 0; box-shadow: none; }
  .dropdown a { padding: 11px 24px; }
  .primary-menu > .store-link { margin-left: 0; padding-inline: 24px; }
  .two-rails { gap: 24px; }
  .two-rails > :last-child { padding-left: 18px; }
  .publications-grid { gap: 17px; }
  .publication-card { grid-template-columns: 85px minmax(0, 1fr); gap: 11px; }
  .cover-frame { width: 85px; }
  .publication-copy h3 { font-size: 15px; }
  .dte-card { grid-template-columns: 69px minmax(0, 1fr); gap: 10px; }
}
@media (max-width: 1000px) {
  .videos-grid { grid-template-columns: 1fr; gap: 19px; }
  .video-list { aspect-ratio: auto; justify-content: flex-start; gap: 13px; }
}
@media (max-width: 760px) {
  body { font-size: 15px; }
  .wrap, .footer-inner { width: calc(100% - 32px); }
  .masthead { min-height: 0; gap: 12px; padding-block: 11px; }
  .brand { flex: 1 1 auto; max-width: 340px; }
  .masthead-right { gap: 7px; }
  .masthead-actions { gap: 5px; }
  .masthead-actions a { min-width: 29px; min-height: 30px; }
  .masthead-actions img { width: 27px; height: 27px; }
  .masthead-actions .donate { margin-right: 0; }
  .masthead-actions .donate img { width: 112px; height: auto; }
  .network { flex-wrap: wrap; max-width: 260px; justify-content: flex-end; row-gap: 5px; font-size: 10px; }
  .programme-header { padding-top: 12px; }
  .programme-band-inner { flex-direction: column; align-items: stretch; gap: 12px; padding-block: 12px; }
  .programme-links { width: 100%; }
  h2 { font-size: 24px; }
  .section-heading { margin-bottom: 13px; padding-bottom: 8px; }
  .overview { padding-bottom: 23px; }
  .overview-copy p { font-size: 15px; line-height: 1.52; }
  .two-rails { grid-template-columns: 1fr; gap: 24px; }
  .two-rails > :last-child { padding-left: 0; border-left: 0; }
  .latest-feature h3 { font-size: 24px; }
  .latest-updates { margin-top: 14px; }
  .events-panel .label { padding-bottom: 2px; }
  .event-list a { padding-block: 12px; }
  .event-list h3 { font-size: 16px; }
  .team-deck { flex: none; }
  .team-grid { gap: 13px; }
  .person h3 { font-size: 14px; }
  .person p { font-size: 12px; }
  .publications-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 19px; }
  .publication-card { grid-template-columns: 90px minmax(0,1fr); }
  .cover-frame { width: 90px; }
  .publication-copy h3 { font-size: 16px; }
  .dte-card { grid-template-columns: 100px minmax(0, 1fr); gap: 14px; }
  .dte-card .label { font-size: 11px; }
  .dte-card h3 { font-size: 16px; }
  .dte-art { aspect-ratio: 1.5; }
  .video-feature h3 { font-size: 21px; }
  .video-row { grid-template-columns: 35% minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .footer-inner { display: flex; flex-direction: column; align-items: flex-start; }
}
@media (max-width: 520px) {
  .masthead { flex-wrap: wrap; gap: 9px; padding-block: 10px; }
  .brand { flex: 1 1 100%; max-width: 293px; }
  .masthead-right { flex: 1 1 100%; align-items: stretch; gap: 7px; }
  .masthead-actions { gap: 5px; justify-content: flex-end; }
  .masthead-actions .donate { margin-right: auto; }
  .network { display: grid; grid-template-columns: auto auto; max-width: none; justify-content: space-between; font-size: 11px; gap: 4px 12px; white-space: normal; }
  .network a + a { border: 0; margin-left: 0; padding-left: 0; }
  .masthead-actions img { width: 28px; height: 28px; }
  .masthead-actions .donate img { width: 109px; }
  .campaign-mobile { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; gap: 3px 10px; padding: 7px 9px; background: black; color: white; font-size: 10px; font-weight: 700; line-height: 1.3; }
  .campaign-mobile > span:last-child { white-space: nowrap; }
  .programme-band h1 { font-size: clamp(24px, 6.8vw, 30px); }
  .latest-feature h3 { font-size: 22px; }
  .latest-copy p { font-size: 14px; }
  .latest-update .latest-card { grid-template-columns: 105px minmax(0, 1fr); gap: 11px; }
  .latest-update h3 { font-size: 16px; }
  .latest-update .label { font-size: 10px; }
  .latest-update p { font-size: 12px; }
  .person { grid-template-columns: 48px minmax(0, 1fr); }
  .portrait { width: 48px; height: 48px; }
  .person h3 { font-size: 14px; }
  .publications-grid { grid-template-columns: 1fr; gap: 16px; }
  .publication-card { display: flow-root; }
  .cover-frame { float: left; width: 91px; margin: 0 15px 6px 0; }
  .publication-copy h3 { font-size: 17px; }
  .dte-card { grid-template-columns: 88px minmax(0, 1fr); gap: 12px; }
  .dte-card h3 { font-size: 15.5px; }
  .video-row { grid-template-columns: 36% minmax(0, 1fr); gap: 11px; }
  .video-row h3 { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

