:root {
  --background: #f9faf7;
  --surface: #eaf0ec;
  --ink: #173d3d;
  --muted: #536765;
  --line: #d8e1dc;
  --link: #175e63;
  --rescue: #bf3424;
  --display: "Manrope", sans-serif;
  --body: "Source Sans 3", sans-serif;
  color-scheme: light;
  scrollbar-color: #68717c #f3f4f6;
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.65;
}

::selection {
  background: #c8d9ff;
  color: var(--ink);
}

a {
  color: var(--link);
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

a:hover {
  text-decoration-thickness: 2px;
}

button,
input,
select {
  font: inherit;
}

button,
a,
input,
select,
summary {
  -webkit-tap-highlight-color: transparent;
}

button,
summary {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--link);
  outline-offset: 5px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  flex: none;
  vertical-align: middle;
}

h1,
h2,
h3,
p,
figure {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(48px, 6.8vw, 92px);
}

h2 {
  font-size: clamp(28px, 3vw, 40px);
}

h3 {
  font-size: 23px;
}

p {
  max-width: 72ch;
}

.page-width,
.site-header,
.rescue-inner,
.site-footer {
  width: min(1280px, calc(100% - 96px));
  margin-inline: auto;
}

.site-header {
  min-height: 104px;
  display: flex;
  align-items: center;
  gap: 30px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-right: auto;
  color: var(--ink);
  text-decoration: none;
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.brand > span {
  font-family: var(--display);
  font-size: 30px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.brand small {
  display: block;
  margin-top: 2px;
  font-family: var(--body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 25px;
}

.site-header nav a {
  padding-block: 8px;
  border-bottom: 2px solid transparent;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.site-header nav a:hover,
.site-header nav a[aria-current="page"] {
  border-color: var(--ink);
}

.language {
  padding: 6px 0 6px 22px;
  border-left: 1px solid var(--line);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.menu-toggle {
  display: none;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 20;
  padding: 12px 24px;
  background: var(--ink);
  color: #ffffff;
}

.skip-link:focus {
  top: 12px;
}

.rescue-banner {
  background: var(--rescue);
  color: #ffffff;
}

.rescue-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-block: 23px;
}

.rescue-name {
  font-family: var(--display);
  font-size: 21px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.rescue-message {
  flex: 1;
}

.rescue-message h2 {
  font-size: 21px;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.rescue-message p {
  margin-top: 4px;
  font-size: 15px;
}

.rescue-message p a {
  color: #ffffff;
  white-space: nowrap;
}

.rescue-phone {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 19px;
  background: #ffffff;
  color: var(--rescue);
  font-size: 19px;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
}

.rescue-banner :focus-visible {
  outline-color: #ffffff;
}

.rescue-phone:focus-visible {
  outline-offset: 6px;
}

.home-intro {
  padding: 52px 44px 48px;
  color: #ffffff;
  align-self: center;
}

.home-intro h1 {
  max-width: 10ch;
  margin: 24px 0;
  font-size: clamp(48px, 5.6vw, 78px);
  font-weight: 600;
  line-height: 1.07;
}

.home-summary {
  display: block;
}

.hero-statement {
  max-width: 30ch;
  font-size: 22px;
  line-height: 1.5;
  font-weight: 400;
}

.home-summary > div > p {
  max-width: 45ch;
  margin-top: 22px;
  color: #c3d5d0;
  font-size: 16px;
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
  font-size: 15px;
  font-weight: 600;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  padding: 11px 18px;
  background: var(--ink);
  color: #ffffff;
  text-decoration: none;
}

.button:hover {
  background: #343d48;
}

.underlined {
  color: var(--ink);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  min-height: 570px;
  object-fit: cover;
  object-position: 50% 50%;
}

.hero-photo figcaption {
  position: absolute;
  inset: auto 20px 18px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 12px;
  background: #102e2ed9;
  color: #ffffff;
  font-size: 12px;
}

.topics {
  padding-top: 85px;
  padding-bottom: 65px;
}

.topics > h2 {
  margin-bottom: 36px;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.topic {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}

.topic-image img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  transition: transform 250ms ease;
}

.topic:last-child .topic-image img {
  object-fit: contain;
  padding: 38px;
  background: var(--surface);
}

.topic h3 {
  margin-bottom: 12px;
  font-size: 21px;
  line-height: 1.35;
}

.topic h3 a {
  color: var(--ink);
  text-decoration: none;
}

.topic h3 a:hover {
  text-decoration: underline;
}

.topic h3 svg {
  width: 17px;
  height: 17px;
  margin-left: 8px;
}

.topic p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.film-strip {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 44px;
  padding: 44px;
  border-radius: 8px;
  background: var(--ink);
  color: #ffffff;
}

.film-strip h2 {
  margin: 14px 0 20px;
  font-size: 36px;
}

.film-strip a {
  display: inline-block;
  margin-top: 24px;
  color: #ffffff;
}

.references {
  padding-top: 70px;
  padding-bottom: 70px;
}

.references > h2,
.reference-section > h2 {
  margin-bottom: 25px;
}

.reference {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 40px;
  padding: 27px 0;
  border-top: 1px solid var(--line);
}

.reference-meta {
  font-size: 15px;
  font-weight: 600;
}

.reference-meta span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
}

.reference h3 {
  max-width: 54ch;
  font-size: 22px;
  line-height: 1.4;
}

.reference h3 a {
  color: var(--ink);
  text-decoration: none;
}

.reference h3 a:hover {
  text-decoration: underline;
}

.reference svg {
  width: 18px;
  height: 18px;
  margin-left: 7px;
}

.reference p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 16px;
}

.site-footer {
  padding: 45px 0 24px;
  border-top: 1px solid var(--line);
  font-size: 15px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 0.5fr;
  gap: 40px;
}

.footer-brand {
  color: var(--ink);
  font-family: var(--display);
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.footer-top p {
  margin-top: 8px;
  color: var(--muted);
}

.site-footer address {
  font-style: normal;
  color: var(--muted);
}

.site-footer nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 38px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumbs a {
  color: inherit;
}

.page-heading {
  padding-top: 28px;
  padding-bottom: 48px;
}

.page-heading h1 {
  font-size: clamp(42px, 5vw, 68px);
}

.page-heading > p {
  max-width: 58ch;
  margin-top: 18px;
  color: var(--muted);
  font-size: 21px;
}

.reference-section {
  margin-bottom: 50px;
}

.reference-section > h2 {
  font-size: 24px;
}

.reference-section .reference {
  padding-block: 20px;
}

.reference-section .reference h3 {
  font-size: 20px;
}

.bibliography {
  padding-bottom: 75px;
}

.archive-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding-top: 35px;
  border-top: 2px solid var(--ink);
}

.archive-heading h2 {
  font-size: 32px;
}

.entry-count {
  color: var(--muted);
  font-size: 15px;
  white-space: nowrap;
}

.archive-tools {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 190px auto;
  align-items: end;
  gap: 15px;
  margin-top: 26px;
  margin-bottom: 20px;
  padding: 22px 25px 10px;
  background: var(--surface);
}

.archive-tools label {
  display: block;
  margin-bottom: 7px;
  font-size: 14px;
  font-weight: 600;
}

.archive-tools input,
.archive-tools select {
  width: 100%;
  height: 46px;
  padding: 10px 13px;
  border: 1px solid #9ba3ad;
  border-radius: 0;
  background: #ffffff;
  color: var(--ink);
  font-size: 17px;
  caret-color: var(--ink);
}

.archive-tools input::placeholder {
  color: #656d77;
}

.reset-button {
  min-height: 46px;
  padding: 10px 15px;
  border: 1px solid #9ba3ad;
  background: #ffffff;
  color: var(--ink);
  font-size: 15px;
}

.reset-button:hover {
  border-color: var(--ink);
}

#search-status {
  grid-column: 1 / -1;
  min-height: 22px;
  color: var(--muted);
  font-size: 13px;
}

.publication-year {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 40px;
  padding-top: 28px;
}

.publication-year > h2 {
  position: sticky;
  top: 24px;
  align-self: start;
  padding-top: 25px;
  border-top: 1px solid var(--ink);
  font-size: 38px;
  font-variant-numeric: tabular-nums;
  scroll-margin-top: 30px;
}

.year-entries {
  min-width: 0;
}

.publication {
  padding: 26px 0 30px;
  border-top: 1px solid var(--line);
  overflow-wrap: anywhere;
}

.publication h3 {
  max-width: 62ch;
  margin-bottom: 12px;
  font-size: 22px;
  font-weight: 650;
  line-height: 1.45;
  letter-spacing: -0.015em;
  text-wrap: pretty;
}

.publication h3 a {
  color: var(--ink);
  text-decoration: none;
}

.publication h3 a:hover {
  color: var(--link);
  text-decoration: underline;
}

.publication-authors {
  max-width: 85ch;
  margin-bottom: 7px;
  color: #3f4650;
  font-size: 16px;
  line-height: 1.55;
}

.publication-citation {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.publication-doi {
  margin-top: 7px;
  font-size: 14px;
}

.publication-note {
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
}

.publication-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-top: 15px;
  font-size: 15px;
  font-weight: 600;
}

.publication-links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.publication-links svg {
  width: 16px;
  height: 16px;
}

.publication-details {
  max-width: 80ch;
  margin-top: 17px;
  color: var(--muted);
  font-size: 14px;
}

.publication-details summary {
  width: fit-content;
  padding-block: 4px;
}

.publication-details p {
  margin-top: 12px;
  padding: 16px 20px;
  background: var(--surface);
  font-size: 14px;
  line-height: 1.8;
}

.no-results {
  padding-block: 40px;
}

.reading-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  align-items: start;
  gap: 64px;
  padding-bottom: 80px;
}

.section-nav {
  position: sticky;
  top: 25px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px 0;
  border-top: 2px solid var(--ink);
}

.section-nav h2 {
  margin-bottom: 5px;
  font-size: 15px;
  letter-spacing: 0;
}

.section-nav a {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
  text-decoration: none;
}

.article-content {
  width: 100%;
  min-width: 0;
  margin-inline: auto;
  overflow-wrap: anywhere;
}

.article-content p {
  max-width: none;
  margin-bottom: 24px;
}

.article-content h2 {
  margin: 54px 0 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 30px;
  letter-spacing: -0.02em;
  scroll-margin-top: 30px;
}

.article-content h2:first-child {
  margin-top: 0;
}

.article-content h3 {
  margin: 30px 0 18px;
  font-size: 23px;
}

.article-content strong {
  font-weight: 600;
}

.article-content img {
  width: auto;
  max-height: 620px;
  margin: 24px 0;
  object-fit: contain;
}

.article-content ul,
.article-content ol {
  padding-left: 24px;
}

.article-content li {
  margin-bottom: 12px;
}

.article-content article + article {
  padding-top: 30px;
  margin-top: 40px;
  border-top: 1px solid var(--line);
}

.source-gallery {
  margin-block: 30px;
}

.gallery-row,
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  align-items: start;
  gap: 20px;
  margin-bottom: 24px;
}

.gallery-cell {
  min-width: 0;
  font-size: 16px;
  line-height: 1.55;
}

.gallery-cell img,
.photo-grid img {
  width: 100%;
  height: 190px;
  margin: 0 0 12px;
  object-fit: cover;
  border-radius: 4px;
}

.gallery-cell p {
  margin-bottom: 8px;
}

.gallery-row.single {
  display: block;
}

.source-context {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.archive-source {
  text-decoration-style: dotted;
}

[hidden] {
  display: none !important;
}

@media (max-width: 1100px) {
  .site-header {
    gap: 22px;
  }

  .site-header nav {
    gap: 17px;
  }

  .rescue-inner {
    gap: 22px;
  }

  .rescue-name {
    font-size: 19px;
  }

  .rescue-message h2 {
    font-size: 18px;
  }

  .rescue-phone {
    font-size: 17px;
  }

  .topic {
    grid-template-columns: 125px minmax(0, 1fr);
    gap: 20px;
  }

  .topic-image img {
    width: 125px;
  }

  .reading-layout {
    gap: 40px;
  }

  .section-nav {
    flex-basis: 175px;
  }
}

@media (max-width: 850px) {
  .page-width,
  .site-header,
  .rescue-inner,
  .site-footer {
    width: calc(100% - 40px);
  }

  .site-header {
    min-height: 90px;
    flex-wrap: wrap;
    gap: 20px;
  }

  .brand > span {
    font-size: 27px;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    border: 0;
    background: none;
    color: var(--ink);
    font-size: 15px;
  }

  .site-header nav {
    order: 4;
    width: 100%;
    flex-wrap: wrap;
    gap: 6px 22px;
    padding-bottom: 20px;
  }

  .js .site-header nav {
    display: none;
  }

  .js .site-header nav.is-open {
    display: flex;
  }

  .language {
    padding-left: 17px;
  }

  .rescue-inner {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr);
    gap: 15px 20px;
    padding-block: 20px;
  }

  .rescue-name {
    font-size: 19px;
  }

  .rescue-message h2 {
    font-size: 18px;
  }

  .rescue-message p {
    font-size: 14px;
  }

  .rescue-phone {
    grid-column: 2;
    justify-self: start;
    padding: 10px 15px;
  }

  .home-intro {
    padding-top: 40px;
  }

  .home-intro h1 {
    font-size: 64px;
    margin-bottom: 25px;
  }

  .home-summary {
    gap: 30px;
  }

  .hero-statement {
    font-size: 26px;
  }

  .home-summary > div > p {
    font-size: 17px;
  }

  .hero-photo img {
    height: 360px;
  }

  .topics {
    padding-top: 55px;
  }

  .topic-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .topic {
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 25px;
  }

  .topic-image img {
    width: 180px;
    height: 140px;
  }

  .reference {
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 25px;
  }

  .reading-layout {
    display: block;
  }

  .section-nav {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px 22px;
    margin-bottom: 30px;
  }

  .section-nav h2 {
    width: 100%;
  }

  .article-content {
    width: 100%;
  }

  .publication-year {
    grid-template-columns: 90px minmax(0, 1fr);
    gap: 25px;
  }

  .publication-year > h2 {
    font-size: 30px;
  }

  .publication h3 {
    font-size: 21px;
  }

  .archive-tools {
    grid-template-columns: minmax(180px, 1fr) 150px;
  }

  .reset-button {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 17px;
  }

  .brand {
    gap: 9px;
  }

  .brand small {
    font-size: 11px;
  }

  .site-header {
    gap: 15px;
  }

  .rescue-inner {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .rescue-name {
    font-size: 17px;
  }

  .rescue-name br {
    display: none;
  }

  .rescue-name br::after {
    content: " ";
  }

  .rescue-message h2 {
    font-size: 20px;
  }

  .rescue-message p a {
    display: block;
    width: fit-content;
  }

  .rescue-phone {
    grid-column: auto;
    padding: 9px 14px;
    font-size: 18px;
  }

  .home-intro h1 {
    font-size: 52px;
    line-height: 1.08;
  }

  .home-summary {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .hero-statement {
    font-size: 25px;
  }

  .hero-links {
    gap: 16px;
    font-size: 15px;
  }

  .hero-photo img {
    height: 270px;
    object-position: 60% center;
  }

  .hero-photo figcaption {
    font-size: 12px;
    gap: 15px;
  }

  .hero-photo figcaption span {
    max-width: 58%;
    text-align: right;
  }

  .topic {
    grid-template-columns: 105px minmax(0, 1fr);
    gap: 18px;
  }

  .topic-image img {
    width: 105px;
    height: 105px;
  }

  .topic h3 {
    font-size: 20px;
  }

  .topic p {
    font-size: 15px;
  }

  .film-strip {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
    padding: 25px;
  }

  .film-strip h2 {
    font-size: 26px;
  }

  .reference {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .reference h3 {
    font-size: 21px;
  }

  .reference-meta {
    font-size: 14px;
  }

  .reference-meta span {
    font-size: 12px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .site-footer nav {
    flex-direction: row;
    gap: 20px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    margin-top: 25px;
  }

  .page-heading {
    padding-bottom: 35px;
  }

  .page-heading h1 {
    font-size: 44px;
    overflow-wrap: anywhere;
  }

  .page-heading > p {
    font-size: 19px;
  }

  .archive-heading h2 {
    font-size: 27px;
  }

  .archive-tools {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .reset-button {
    width: 100%;
  }

  .publication-year {
    display: block;
    padding-top: 25px;
  }

  .publication-year > h2 {
    position: static;
    margin-bottom: 18px;
    padding-top: 20px;
    font-size: 32px;
  }

  .publication {
    padding-block: 22px 28px;
  }

  .publication h3 {
    font-size: 21px;
  }

  .publication-details p {
    padding: 14px;
  }

  .article-content h2 {
    font-size: 26px;
  }

  .gallery-row,
  .photo-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }
}

@media print {
  .site-header,
  .site-footer,
  .rescue-banner,
  .section-nav,
  .archive-tools,
  .breadcrumbs {
    display: none;
  }

  .page-width {
    width: 100%;
  }

  .publication-year,
  .reading-layout {
    display: block;
  }

  .publication {
    break-inside: avoid;
  }
}

.topic-copy {
  padding: 24px;
}

/* Photography and article layouts */
.eyebrow {
  font-family: var(--display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
}
.home-hero {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  margin-top: 32px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--ink);
}
.home-intro .eyebrow {
  color: #b6d2c9;
}
.home-intro .button {
  background: #efc4ac;
  color: #173d3d;
}
.home-intro .underlined {
  color: #ffffff;
}
.hero-photo {
  position: relative;
  min-width: 0;
}
.topic-image {
  overflow: hidden;
}
.topic:hover .topic-image img {
  transform: scale(1.025);
}
.article-masthead {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  margin: 28px 0 60px;
  overflow: hidden;
  background: var(--surface);
  border-radius: 8px;
}
.masthead-copy {
  padding: 48px;
  align-self: center;
}
.article-masthead h1 {
  margin: 22px 0;
  font-size: clamp(38px, 4.3vw, 60px);
  line-height: 1.12;
}
.masthead-intro {
  font-size: 21px;
  line-height: 1.55;
  color: var(--muted);
}
.article-masthead figure {
  position: relative;
  min-width: 0;
}
.article-masthead img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}
.article-masthead figcaption {
  position: absolute;
  bottom: 14px;
  right: 14px;
  padding: 4px 10px;
  background: #173d3deb;
  color: white;
  font-size: 12px;
}
.gallery-cell figcaption {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}
.gallery-cell > h3 {
  margin-top: 0;
  font-size: 20px;
}
.gallery-cell:has(> h3) {
  padding: 22px;
  background: var(--surface);
  border-radius: 6px;
}
.gallery-cell:has(a[href$=".pdf"]) img {
  object-fit: contain;
  background: white;
}
.gallery-row:has(img[src*="logo"]),
.gallery-row:has(img[src*="cepf"]) {
  align-items: center;
  padding: 22px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.gallery-row:has(img[src*="logo"]) img,
.gallery-row:has(img[src*="cepf"]) img {
  height: 90px;
  object-fit: contain;
}
.video-feature {
  margin: 32px 0 44px;
  padding: 16px;
  background: var(--surface);
  border-radius: 6px;
}
.video-feature iframe,
.film-strip iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
  border-radius: 4px;
  background: #0d2425;
}
.video-feature figcaption {
  padding: 12px 4px 0;
  font-size: 14px;
}
.film-intro > p:not(.eyebrow) {
  color: #d1dfd9;
  font-size: 17px;
}
.section-nav h2:not(:first-child) {
  margin-top: 25px;
}
.section-nav a:hover {
  color: var(--link);
  text-decoration: underline;
}
.reading-layout:not(:has(.section-nav)) {
  display: block;
  width: 100%;
  max-width: none;
}
.site-footer {
  margin-top: 25px;
}
@media (max-width: 1000px) {
  .home-hero {
    grid-template-columns: 1fr 1fr;
  }
  .home-intro {
    padding: 32px;
  }
  .home-intro h1 {
    font-size: 52px;
  }
  .topic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .masthead-copy {
    padding: 30px;
  }
  .reading-layout {
    gap: 32px;
    grid-template-columns: 180px minmax(0, 1fr);
  }
  .film-strip {
    padding: 30px;
    gap: 28px;
  }
}
@media (max-width: 700px) {
  .home-hero,
  .article-masthead,
  .film-strip {
    grid-template-columns: 1fr;
  }
  .home-hero {
    margin-top: 20px;
  }
  .home-intro {
    padding: 30px 24px;
  }
  .home-intro h1 {
    font-size: 52px;
  }
  .hero-photo img {
    min-height: 0;
    height: 300px;
  }
  .hero-photo figcaption {
    inset: auto 10px 10px;
    font-size: 10px;
  }
  .topic-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .topic {
    display: flex;
    padding-top: 0;
  }
  .topic-image img {
    width: 100%;
    height: 210px;
  }
  .article-masthead {
    margin-bottom: 30px;
  }
  .article-masthead img {
    min-height: 0;
    height: 240px;
  }
  .masthead-copy {
    padding: 28px 24px;
  }
  .article-masthead h1 {
    font-size: 38px;
  }
  .masthead-intro {
    font-size: 19px;
  }
  .reading-layout {
    display: block;
  }
  .section-nav {
    position: static;
    margin-bottom: 32px;
  }
  .article-content h2 {
    font-size: 27px;
  }
  .gallery-row,
  .photo-grid {
    grid-template-columns: 1fr;
  }
  .gallery-cell img,
  .photo-grid img {
    height: auto;
    max-height: none;
  }
  .gallery-row:has(img[src*="logo"]),
  .gallery-row:has(img[src*="cepf"]) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .video-feature {
    padding: 10px;
  }
  .film-strip {
    padding: 25px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .topic-image img {
    transition: none;
  }
}

/* Shared article edges: prose and media use the same content column. */
.article-content > article > p,
.article-content > article > h2,
.article-content > article > h3,
.article-content > article > ul,
.article-content > article > ol {
  max-width: none;
}
.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: start;
  gap: 64px;
  text-align: left;
}
.contact-details section + section {
  margin-top: 48px;
}
.contact-details h2 {
  margin: 0 0 18px;
}
.contact-details address {
  margin-bottom: 20px;
  font-style: normal;
}
.contact-email {
  font-size: 24px;
}
.contact-phone {
  margin-top: 18px;
}
.article-content .contact-image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  margin: 0;
  object-fit: contain;
}
@media (max-width: 700px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* Visitor information and booking */
.masthead-booking {
  margin-top: 28px;
}
.booking-button {
  background: #efc4ac;
  color: #173d3d;
  font-weight: 700;
  padding: 15px 22px;
}
.booking-button:hover {
  background: #e5b398;
}
.booking-provider {
  margin-top: 10px;
  font-size: 14px;
  color: var(--muted);
}
.visit-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 0 28px;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}
.visit-facts > div {
  padding: 24px;
  background: var(--surface);
}
.visit-facts dt {
  font-size: 14px;
  color: var(--muted);
}
.visit-facts dd {
  margin: 6px 0 0;
  font-size: 21px;
  font-weight: 600;
}
.article-content .admission-list {
  padding: 0;
  list-style: none;
}
.admission-list li {
  display: grid;
  grid-template-columns: 125px minmax(0, 1fr);
  gap: 20px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.booking-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 40px 0 24px;
  padding: 32px;
  border-radius: 6px;
  background: var(--ink);
  color: #ffffff;
}
.article-content .booking-panel h2 {
  margin: 0 0 16px;
  padding: 0;
  border: 0;
}
.article-content .booking-panel p {
  margin-bottom: 8px;
}
.booking-panel p a {
  color: #ffffff;
}
@media (min-width: 851px) and (max-width: 1300px) {
  .site-header {
    flex-wrap: wrap;
    padding-block: 18px;
    gap: 14px 24px;
  }
  .site-header nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }
}
@media (max-width: 560px) {
  .visit-facts {
    grid-template-columns: 1fr;
  }
  .admission-list li {
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 14px;
  }
  .booking-panel {
    padding: 24px;
  }
}

/* Homepage invitation to the SOS Proteus Info Centre */
.home-visit {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: stretch;
  gap: 0;
  margin-top: 56px;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}
.home-visit-copy {
  padding: 36px;
}
.home-visit-photo {
  position: relative;
  min-width: 0;
  align-self: stretch;
}
.home-visit-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}
.home-visit-photo figcaption {
  position: absolute;
  inset: auto 20px 18px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 12px;
  background: #102e2ed9;
  color: #ffffff;
  font-size: 12px;
}
.home-visit-copy h2 {
  margin: 14px 0;
  font-size: clamp(30px, 3.2vw, 44px);
}
.home-visit-location {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 16px;
}
.home-visit-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 24px;
  font-size: 16px;
  font-weight: 600;
}
@media (max-width: 850px) {
  .home-visit {
    gap: 0;
  }
  .home-visit-copy {
    padding: 28px;
  }
}
@media (max-width: 700px) {
  .home-visit {
    grid-template-columns: 1fr;
    margin-top: 28px;
    gap: 0;
  }
  .home-visit-copy {
    grid-row: 1;
    padding: 24px;
  }
  .home-visit-photo img {
    height: auto;
    object-fit: initial;
  }
  .home-visit-photo figcaption {
    inset-inline: 12px;
    bottom: 12px;
  }
}

/* Conference archive: shared edges, uncropped photographs and readable schedules. */
.home-conference {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  margin-block: 72px;
  padding-block: 40px;
  border-block: 1px solid var(--ink, #173d3d);
}
.home-conference h2 {
  font-size: clamp(2rem, 3.5vw, 3.4rem);
  line-height: 1.12;
}
.home-conference figure {
  margin: 0;
}
.home-conference img {
  display: block;
  width: 100%;
  height: auto;
}
.home-conference figcaption {
  font-size: 0.85rem;
  margin-top: 8px;
}
.conference-home-date {
  margin-block: 24px;
}
.conference-feature {
  background: #173d3d;
  color: #f9faf7;
  padding: clamp(24px, 4vw, 40px);
  border-radius: 4px;
}
.conference-feature h3,
.conference-feature a {
  color: inherit;
}
.conference-feature a {
  font-weight: 700;
}
.conference-timeline > section {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 24px;
  padding-block: 24px;
  border-bottom: 1px solid #c5d0c9;
}
.conference-timeline .conference-year {
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
}
.conference-timeline h3 {
  margin-top: 0;
}
.archive-notice {
  padding: 20px 24px;
  background: #eaf0ec;
}
.conference-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-block: 32px;
}
.conference-stats > div {
  padding-block: 16px;
  border-top: 1px solid #a7bbb0;
}
.conference-stats dd {
  font-size: 2.8rem;
  font-weight: 700;
  margin: 0;
}
.conference-downloads {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-block: 28px;
}
.conference-downloads a {
  padding: 16px 20px;
  background: #173d3d;
  color: #fff;
  border-radius: 4px;
  font-weight: 700;
}
.conference-schedule {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
.conference-schedule section {
  border-top: 3px solid #173d3d;
}
.conference-schedule li {
  margin-bottom: 12px;
}
.conference-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}
.conference-gallery figure {
  margin: 0;
}
.conference-gallery img {
  width: 100%;
  height: auto;
  display: block;
}
.conference-video iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  display: block;
}
@media (max-width: 750px) {
  .home-conference,
  .conference-schedule {
    grid-template-columns: 1fr;
  }
  .conference-timeline > section {
    grid-template-columns: 72px 1fr;
    gap: 16px;
  }
  .conference-gallery {
    grid-template-columns: 1fr;
  }
  .conference-stats {
    gap: 12px;
  }
  .conference-stats dt {
    font-size: 0.9rem;
  }
}

.conference-masthead figure {
  align-self: center;
}
.conference-masthead img {
  height: auto;
  min-height: 0;
  object-fit: contain;
  display: block;
}
.conference-masthead figcaption {
  position: static;
  background: transparent;
  color: var(--muted);
  padding: 10px 16px;
  text-align: right;
}
.conference-masthead figcaption a {
  color: inherit;
}
