:root {
  --red: #b8121d;
  --red-dark: #8f0d16;
  --black: #111111;
  --charcoal: #1d1f1f;
  --cream: #f4efe7;
  --cream-light: #faf7f1;
  --sand: #e8dfd2;
  --white: #ffffff;
  --muted: #6a6259;

  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;

  --max-width: 1440px;
  --content-width: 1320px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--black);
  background: var(--cream-light);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
}

a:hover,
a:focus {
  color: var(--red);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 1rem;
  z-index: 999;
  background: var(--black);
  color: var(--white);
  padding: 0.75rem 1rem;
}

.skip-link:focus {
  left: 1rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.9rem 1.4rem;
  border: 0;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.button:hover,
.button:focus {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--red);
  color: var(--white);
}

.button-primary:hover,
.button-primary:focus {
  background: var(--red-dark);
  color: var(--white);
}

.button-light {
  background: var(--white);
  color: var(--red);
}

.button-light:hover,
.button-light:focus {
  background: var(--black);
  color: var(--white);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--red-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.text-link:hover,
.text-link:focus {
  color: var(--black);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0 0 1.1rem;
  color: var(--red-dark);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::after {
  content: "";
  width: 48px;
  height: 2px;
  background: currentColor;
}

.eyebrow.centred {
  justify-content: center;
}

.red-rule {
  width: 60px;
  height: 4px;
  margin: 1.2rem 0 1.4rem;
  background: var(--red);
}

/* Header */

.site-header {
  position: relative;
  z-index: 10;
  background: var(--white);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.top-header {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 1.3rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo-link {
  display: inline-flex;
  align-items: center;
}

.site-logo {
  width: min(250px, 48vw);
  max-height: 86px;
  object-fit: contain;
}

.top-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.3rem;
}

.appointment-note {
  margin: 0;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.social-links,
.footer-social {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.social-links a,
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  min-height: 24px;
  font-weight: 800;
}

.main-nav {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.main-nav ul {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  list-style: none;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: clamp(1rem, 3vw, 3.2rem);
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 1rem 0;
  color: var(--black);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.main-nav a:hover,
.main-nav a:focus {
  color: var(--red);
}

.search-link {
  font-size: 1.35rem !important;
}

/* Hero */

.hero {
  position: relative;
  min-height: 590px;
  overflow: hidden;
  background: var(--black);
}

.hero-image {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.82) 0%,
      rgba(0, 0, 0, 0.62) 32%,
      rgba(0, 0, 0, 0.18) 70%,
      rgba(0, 0, 0, 0.12) 100%
    );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 7rem 1.5rem 5.5rem;
  color: var(--white);
}

.hero h1 {
  max-width: 680px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: 1.04;
  font-weight: 500;
}

.hero p {
  max-width: 520px;
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
}

.hero-button {
  margin-top: 2rem;
}

.hero-status {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.1rem !important;
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Feature grid */

.feature-grid {
  max-width: var(--content-width);
  margin: 1.2rem auto 0;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

.feature-card {
  min-height: 340px;
  background: var(--cream);
  overflow: hidden;
}

.image-card img,
.image-panel img,
.governance-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.text-card {
  padding: clamp(2rem, 3vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.text-card h2,
.story-panel h2,
.governance-section h2,
.support-band h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
}

.text-card h2 {
  font-size: clamp(2rem, 3vw, 3.1rem);
}

.text-card p:not(.eyebrow) {
  margin: 1.4rem 0 1.8rem;
  color: #34302d;
}

/* Story grid */

.story-grid {
  max-width: var(--content-width);
  margin: 1.2rem auto 0;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1.1fr 1.1fr 1fr;
  gap: 0;
}

.story-panel {
  min-height: 430px;
}

.text-panel {
  padding: clamp(2rem, 4vw, 3.6rem);
  background: var(--cream);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.story-panel h2 {
  max-width: 500px;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}

.story-panel p:not(.eyebrow) {
  max-width: 510px;
  margin: 1.4rem 0 2rem;
  color: #34302d;
}

.image-panel {
  overflow: hidden;
}

/* Governance */

.governance-section {
  max-width: var(--content-width);
  margin: 2rem auto 0;
  padding: 0 1.5rem 1.2rem;
  text-align: center;
}

.governance-section h2 {
  margin-bottom: 2rem;
  font-size: clamp(2rem, 3.8vw, 3.3rem);
}

.governance-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 1.1fr 0.9fr;
  gap: 1rem;
  text-align: left;
}

.governance-image,
.governance-card {
  min-height: 260px;
  background: var(--cream);
  overflow: hidden;
}

.governance-card {
  padding: clamp(1.8rem, 3vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.governance-card h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2vw, 2.1rem);
  font-weight: 500;
}

.governance-card p {
  margin: 1rem 0 1.5rem;
  color: #34302d;
}

/* Support band */

.support-band {
  margin-top: 1.2rem;
  padding: 2.4rem max(1.5rem, calc((100vw - var(--content-width)) / 2));
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  gap: 2rem;
  align-items: center;
  color: var(--white);
  background:
    linear-gradient(rgba(184, 18, 29, 0.95), rgba(184, 18, 29, 0.95)),
    var(--red);
}

.support-copy {
  padding-left: 1.5rem;
}

.support-copy h2 {
  font-size: clamp(2rem, 3vw, 3.1rem);
}

.support-copy p {
  max-width: 500px;
  margin: 0.8rem 0 1.5rem;
  font-weight: 600;
}

.support-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  text-align: center;
}

.support-values article {
  padding: 1rem;
}

.support-icon {
  margin-bottom: 0.7rem;
  font-size: 2.4rem;
  line-height: 1;
}

.support-values h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.15;
  font-weight: 500;
}

/* Footer */

.site-footer {
  color: var(--white);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.08), transparent 30%),
    var(--charcoal);
}

.footer-grid {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 3rem 1.5rem 2.5rem;
  display: grid;
  grid-template-columns: 1.8fr repeat(5, 1fr);
  gap: 2rem;
}

.footer-logo {
  width: 210px;
  max-width: 100%;
  margin-bottom: 1.5rem;
}

.footer-brand address {
  margin: 0 0 1rem;
  font-style: normal;
}

.footer-brand p {
  margin: 0 0 1rem;
}

.site-footer h2 {
  margin: 0 0 1rem;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li + li {
  margin-top: 0.55rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.88);
}

.site-footer a:hover,
.site-footer a:focus {
  color: var(--white);
  text-decoration: underline;
}

.footer-bottom {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 1.3rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom nav {
  display: flex;
  gap: 1.5rem;
}

/* Responsive */

@media (max-width: 1100px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .story-grid {
    grid-template-columns: 1fr;
  }

  .story-panel {
    min-height: auto;
  }

  .image-panel {
    min-height: 360px;
  }

  .governance-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .support-band {
    grid-template-columns: 1fr;
  }

  .support-copy {
    padding-left: 0;
  }

  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 850px) {
  .top-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .top-header-actions {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .main-nav ul {
    justify-content: flex-start;
    gap: 1rem 1.5rem;
    flex-wrap: wrap;
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
  }

  .main-nav a {
    padding: 0.35rem 0;
  }

  .hero {
    min-height: 520px;
  }

  .hero-content {
    padding-top: 5rem;
  }
}

@media (max-width: 700px) {
  body {
    font-size: 15px;
  }

  .feature-grid,
  .governance-grid,
  .support-values,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .governance-image,
  .governance-card {
    min-height: auto;
  }

  .image-card,
  .governance-image {
    min-height: 260px;
  }

  .text-card,
  .text-panel,
  .governance-card {
    padding: 2rem;
  }

  .support-band {
    padding: 2.2rem 1.5rem;
  }

  .support-values {
    gap: 0.5rem;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .appointment-note {
    white-space: normal;
  }

  .site-logo {
    width: 220px;
  }

  .hero h1 {
    font-size: 2.45rem;
  }

  .hero-overlay {
    background: rgba(0, 0, 0, 0.68);
  }

  .top-header-actions .button {
    width: 100%;
  }
}

/* =========================================================
   Interior / Visit Page Layout
   ========================================================= */

.page-hero {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background: var(--black);
}

.page-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.84) 0%,
      rgba(0, 0, 0, 0.62) 42%,
      rgba(0, 0, 0, 0.18) 100%
    );
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 7rem 1.5rem 6rem;
  color: var(--white);
}

.page-hero-content .eyebrow {
  color: var(--white);
}

.page-hero-content h1 {
  max-width: 820px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5vw, 5.2rem);
  line-height: 1.05;
  font-weight: 500;
}

.page-hero-content p:not(.eyebrow) {
  max-width: 680px;
  margin: 1.5rem 0 0;
  font-size: 1.08rem;
  font-weight: 600;
}


/* Main visit introduction */

.visit-intro {
  max-width: var(--content-width);
  margin: 1.2rem auto 0;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 1.2rem;
}

.visit-intro-copy,
.visit-info-card,
.visit-feature-card {
  background: var(--cream);
}

.visit-intro-copy {
  padding: clamp(2.4rem, 5vw, 4.5rem);
}

.visit-intro-copy h2,
.visit-steps-section h2,
.visit-feature-card h2,
.visit-request-band h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
}

.visit-intro-copy h2 {
  max-width: 820px;
  font-size: clamp(2.2rem, 4vw, 4rem);
}

.visit-intro-copy p:not(.eyebrow) {
  max-width: 850px;
  margin: 1.35rem 0;
  color: #34302d;
}

.visit-intro-copy .button {
  margin-top: 1rem;
}


/* Visit information card */

.visit-info-card {
  padding: clamp(2rem, 4vw, 3rem);
  border-left: 5px solid var(--red);
}

.visit-info-card h2 {
  margin: 0 0 1.5rem;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 500;
}

.visit-info-card dl {
  margin: 0;
}

.visit-info-card div {
  padding: 1rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.visit-info-card div:first-child {
  border-top: 0;
  padding-top: 0;
}

.visit-info-card dt {
  margin-bottom: 0.25rem;
  color: var(--red-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.visit-info-card dd {
  margin: 0;
  color: #34302d;
}

.visit-info-card a {
  color: var(--red-dark);
  font-weight: 700;
}


/* Visit steps */

.visit-steps-section {
  max-width: var(--content-width);
  margin: 2rem auto 0;
  padding: 0 1.5rem;
  text-align: center;
}

.visit-steps-section h2 {
  max-width: 840px;
  margin: 0 auto 2rem;
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.visit-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  text-align: left;
}

.visit-steps article {
  padding: clamp(2rem, 4vw, 3rem);
  background: var(--white);
  border-top: 5px solid var(--red);
}

.step-number {
  display: block;
  margin-bottom: 1.2rem;
  color: var(--red);
  font-family: var(--serif);
  font-size: 2.2rem;
  line-height: 1;
}

.visit-steps h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
  font-weight: 500;
  line-height: 1.15;
}

.visit-steps p {
  margin: 1rem 0 0;
  color: #34302d;
}


/* Types of visits */

.visit-feature-grid {
  max-width: var(--content-width);
  margin: 1.2rem auto 0;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.visit-feature-card {
  min-height: 330px;
  padding: clamp(2rem, 4vw, 3rem);
}

.visit-feature-card h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.visit-feature-card p:not(.eyebrow) {
  margin: 1.3rem 0 0;
  color: #34302d;
}


/* Final call-to-action */

.visit-request-band {
  max-width: var(--content-width);
  margin: 1.2rem auto;
  padding: clamp(2.4rem, 5vw, 4rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  color: var(--white);
  background: var(--red);
}

.visit-request-band .eyebrow {
  color: var(--white);
}

.visit-request-band h2 {
  max-width: 760px;
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.visit-request-band p:not(.eyebrow) {
  max-width: 760px;
  margin: 1rem 0 0;
  font-weight: 600;
}

.visit-request-band .button {
  flex: 0 0 auto;
}


/* Active navigation */

.main-nav a[aria-current="page"] {
  color: var(--red);
}


/* Responsive visit page */

@media (max-width: 1000px) {
  .visit-intro,
  .visit-steps,
  .visit-feature-grid {
    grid-template-columns: 1fr;
  }

  .visit-info-card {
    border-left: 0;
    border-top: 5px solid var(--red);
  }

  .visit-request-band {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 700px) {
  .page-hero {
    min-height: 430px;
  }

  .page-hero-content {
    padding: 4.5rem 1.5rem 4rem;
  }

  .visit-intro-copy,
  .visit-info-card,
  .visit-steps article,
  .visit-feature-card,
  .visit-request-band {
    padding: 2rem;
  }
}

@media (max-width: 480px) {
  .page-hero-content h1 {
    font-size: 2.45rem;
  }

  .page-hero-overlay {
    background: rgba(0, 0, 0, 0.68);
  }
}
.construction-banner {
  width: 100%;
  padding: 0.7rem 1rem;
  background: #ffd84d;
  color: #111111;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(0, 0, 0, 0.18);
  z-index: 9999;
}
/* =========================================================
   Search Page
   ========================================================= */

.search-page {
  background: var(--cream-light);
}

.search-page-inner {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 6rem) 1.5rem;
}

.search-page h1 {
  max-width: 920px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5vw, 5rem);
  line-height: 1.05;
  font-weight: 500;
}

.search-page > .search-page-inner > p:not(.eyebrow) {
  max-width: 760px;
  margin: 1.4rem 0 0;
  color: #34302d;
  font-size: 1.05rem;
}

.site-search-form {
  max-width: 920px;
  margin: 2.5rem 0 1.5rem;
  padding: 1rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.8rem;
  background: var(--cream);
  border-left: 5px solid var(--red);
}

.site-search-form input[type="search"] {
  width: 100%;
  min-height: 48px;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(0, 0, 0, 0.18);
  background: var(--white);
  color: var(--black);
  font: inherit;
}

.site-search-form input[type="search"]:focus {
  outline: 3px solid rgba(184, 18, 29, 0.25);
  border-color: var(--red);
}

.search-summary {
  margin: 1.5rem 0;
  color: var(--red-dark);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.search-results {
  max-width: 920px;
  display: grid;
  gap: 1rem;
}

.search-instruction,
.no-results,
.search-result-card {
  padding: clamp(1.6rem, 3vw, 2.4rem);
  background: var(--white);
}

.search-result-card {
  border-top: 5px solid var(--red);
}

.search-result-section {
  margin: 0 0 0.75rem;
  color: var(--red-dark);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.search-result-card h2,
.no-results h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.12;
  font-weight: 500;
}

.search-result-card h2 a:hover,
.search-result-card h2 a:focus {
  color: var(--red);
}

.search-result-card p:not(.search-result-section),
.no-results p {
  margin: 1rem 0 1.3rem;
  color: #34302d;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  white-space: nowrap;
  clip-path: inset(50%);
  border: 0;
  padding: 0;
}

@media (max-width: 700px) {
  .site-search-form {
    grid-template-columns: 1fr;
  }

  .site-search-form .button {
    width: 100%;
  }
}
/* =========================================================
   Projects & Partnerships — corrected layout
   ========================================================= */

.projects-section {
  max-width: var(--content-width);
  margin: 2rem auto 0;
  padding: 0 1.5rem 1.2rem;
  text-align: center;
}

.projects-section h2 {
  max-width: 920px;
  margin: 0 auto 2rem;
  font-family: var(--serif);
  font-size: clamp(2rem, 3.8vw, 3.3rem);
  font-weight: 500;
  line-height: 1.12;
}

.projects-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 1.1fr 0.9fr;
  gap: 1rem;
  text-align: left;
}

.projects-panel {
  min-height: 340px;
  background: var(--cream);
  overflow: hidden;
}

.projects-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.projects-card {
  padding: clamp(1.8rem, 3vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.projects-card h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.4vw, 2.3rem);
  font-weight: 500;
  line-height: 1.12;
}

.project-kicker {
  margin: 0.75rem 0 1rem;
  color: var(--red-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.projects-card p:not(.project-kicker) {
  margin: 0 0 1rem;
  color: #34302d;
}

.projects-card p:last-child {
  margin-bottom: 0;
}

.partnership-note {
  margin-top: 1rem;
  padding: clamp(2rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
  text-align: left;
  background: var(--white);
  border-left: 5px solid var(--red);
}

.partnership-note h3 {
  margin: 0 0 0.8rem;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  font-weight: 500;
  line-height: 1.12;
}

.partnership-note p {
  max-width: 850px;
  margin: 0;
  color: #34302d;
}

.partnership-note .button {
  white-space: nowrap;
}

/* =========================================================
   Black-and-white images with colour on hover — stronger fix
   ========================================================= */

.page-hero-image,
.image-card img,
.image-panel img,
.governance-image img,
.projects-image img {
  filter: grayscale(100%) saturate(0%) contrast(1.08) !important;
  transition:
    filter 0.45s ease,
    transform 0.45s ease;
}

.page-hero:hover .page-hero-image,
.image-card:hover img,
.image-panel:hover img,
.governance-image:hover img,
.projects-image:hover img {
  filter: grayscale(0%) saturate(100%) contrast(1) !important;
}

.image-card:hover img,
.image-panel:hover img,
.governance-image:hover img,
.projects-image:hover img {
  transform: scale(1.03);
}


/* Responsive correction for projects */
@media (max-width: 1100px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .partnership-note {
    grid-template-columns: 1fr;
  }

  .partnership-note .button {
    width: fit-content;
  }
}

@media (max-width: 700px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .projects-panel {
    min-height: auto;
  }

  .projects-image {
    min-height: 260px;
  }

  .projects-card,
  .partnership-note {
    padding: 2rem;
  }

  .partnership-note .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-hero-image,
  .image-card img,
  .image-panel img,
  .governance-image img,
  .projects-image img,
  .page-hero-overlay {
    transition: none;
  }

  .image-card:hover img,
  .image-panel:hover img,
  .governance-image:hover img,
  .projects-image:hover img {
    transform: none;
  }
}
/* =========================================================
   Contact Page
   ========================================================= */

.contact-intro {
  max-width: var(--content-width);
  margin: 1.2rem auto 0;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 1.2rem;
}

.contact-intro-copy,
.contact-info-card,
.contact-option-card,
.contact-map-card {
  background: var(--cream);
}

.contact-intro-copy {
  padding: clamp(2.4rem, 5vw, 4.5rem);
}

.contact-intro-copy h2,
.contact-options-section h2,
.contact-location-copy h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
}

.contact-intro-copy h2 {
  max-width: 860px;
  font-size: clamp(2.2rem, 4vw, 4rem);
}

.contact-intro-copy p:not(.eyebrow) {
  max-width: 850px;
  margin: 1.35rem 0;
  color: #34302d;
}

.contact-intro-copy .button {
  margin-top: 1rem;
}

.contact-info-card {
  padding: clamp(2rem, 4vw, 3rem);
  border-left: 5px solid var(--red);
}

.contact-info-card h2 {
  margin: 0 0 1.5rem;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 500;
}

.contact-info-card dl {
  margin: 0;
}

.contact-info-card div {
  padding: 1rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.contact-info-card div:first-child {
  border-top: 0;
  padding-top: 0;
}

.contact-info-card dt {
  margin-bottom: 0.25rem;
  color: var(--red-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-info-card dd {
  margin: 0;
  color: #34302d;
}

.contact-info-card a {
  color: var(--red-dark);
  font-weight: 700;
}

.contact-options-section {
  max-width: var(--content-width);
  margin: 2rem auto 0;
  padding: 0 1.5rem;
  text-align: center;
}

.contact-options-section h2 {
  max-width: 900px;
  margin: 0 auto 2rem;
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.contact-options-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  text-align: left;
}

.contact-option-card {
  min-height: 300px;
  padding: clamp(1.8rem, 3vw, 2.6rem);
  border-top: 5px solid var(--red);
}

.contact-option-card h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.4vw, 2.15rem);
  font-weight: 500;
  line-height: 1.12;
}

.contact-option-card p {
  margin: 1rem 0 1.5rem;
  color: #34302d;
}

.contact-location-section {
  max-width: var(--content-width);
  margin: 1.2rem auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 1.2rem;
}

.contact-location-copy {
  padding: clamp(2.4rem, 5vw, 4.5rem);
  background: var(--white);
  border-left: 5px solid var(--red);
}

.contact-location-copy h2 {
  max-width: 800px;
  font-size: clamp(2.2rem, 4vw, 4rem);
}

.contact-location-copy p:not(.eyebrow) {
  max-width: 850px;
  margin: 1.35rem 0 0;
  color: #34302d;
}

.contact-map-card {
  padding: clamp(2rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-map-card h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  font-weight: 500;
  line-height: 1.12;
}

.contact-map-card p {
  margin: 1rem 0 1.5rem;
  color: #34302d;
}

@media (max-width: 1100px) {
  .contact-options-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1000px) {
  .contact-intro,
  .contact-location-section {
    grid-template-columns: 1fr;
  }

  .contact-info-card {
    border-left: 0;
    border-top: 5px solid var(--red);
  }
}

@media (max-width: 700px) {
  .contact-options-grid {
    grid-template-columns: 1fr;
  }

  .contact-intro-copy,
  .contact-info-card,
  .contact-option-card,
  .contact-location-copy,
  .contact-map-card {
    padding: 2rem;
  }
}
.contact-location-copy h2 a {
  color: var(--red);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.12em;
}

.contact-location-copy h2 a:hover,
.contact-location-copy h2 a:focus {
  color: var(--red-dark);
}
/* =========================================================
   Collection Page
   ========================================================= */

.collection-intro {
  max-width: var(--content-width);
  margin: 1.2rem auto 0;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 1.2rem;
}

.collection-intro-copy,
.collection-notice-card,
.collection-category-card {
  background: var(--cream);
}

.collection-intro-copy {
  padding: clamp(2.4rem, 5vw, 4.5rem);
}

.collection-intro-copy h2,
.collection-categories-section h2,
.collection-development-band h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
}

.collection-intro-copy h2 {
  max-width: 860px;
  font-size: clamp(2.2rem, 4vw, 4rem);
}

.collection-intro-copy p:not(.eyebrow) {
  max-width: 850px;
  margin: 1.35rem 0;
  color: #34302d;
}

.collection-intro-copy .button {
  margin-top: 1rem;
}

.collection-notice-card {
  padding: clamp(2rem, 4vw, 3rem);
  border-left: 5px solid var(--red);
}

.collection-notice-card h2 {
  margin: 0 0 1rem;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 500;
  line-height: 1.12;
}

.collection-notice-card p {
  margin: 0 0 1.5rem;
  color: #34302d;
}

.collection-categories-section {
  max-width: var(--content-width);
  margin: 2rem auto 0;
  padding: 0 1.5rem;
  text-align: center;
}

.collection-categories-section h2 {
  max-width: 920px;
  margin: 0 auto 2rem;
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.collection-category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  text-align: left;
}

.collection-category-card {
  min-height: 280px;
  padding: clamp(1.8rem, 3vw, 2.6rem);
  border-top: 5px solid var(--red);
}

.collection-category-card h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.4vw, 2.15rem);
  font-weight: 500;
  line-height: 1.12;
}

.collection-category-card p {
  margin: 1rem 0 0;
  color: #34302d;
}

.collection-development-band {
  max-width: var(--content-width);
  margin: 1.2rem auto;
  padding: clamp(2.4rem, 5vw, 4rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  color: var(--white);
  background: var(--red);
}

.collection-development-band .eyebrow {
  color: var(--white);
}

.collection-development-band h2 {
  max-width: 760px;
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.collection-development-band p:not(.eyebrow) {
  max-width: 760px;
  margin: 1rem 0 0;
  font-weight: 600;
}

.collection-development-band .button {
  flex: 0 0 auto;
}

@media (max-width: 1100px) {
  .collection-category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1000px) {
  .collection-intro {
    grid-template-columns: 1fr;
  }

  .collection-notice-card {
    border-left: 0;
    border-top: 5px solid var(--red);
  }

  .collection-development-band {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 700px) {
  .collection-category-grid {
    grid-template-columns: 1fr;
  }

  .collection-intro-copy,
  .collection-notice-card,
  .collection-category-card,
  .collection-development-band {
    padding: 2rem;
  }
}
/* =========================================================
   Library & Archive Page
   ========================================================= */

.library-intro {
  max-width: var(--content-width);
  margin: 1.2rem auto 0;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 1.2rem;
}

.library-intro-copy,
.library-notice-card,
.library-category-card {
  background: var(--cream);
}

.library-intro-copy {
  padding: clamp(2.4rem, 5vw, 4.5rem);
}

.library-intro-copy h2,
.library-categories-section h2,
.library-development-band h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
}

.library-intro-copy h2 {
  max-width: 860px;
  font-size: clamp(2.2rem, 4vw, 4rem);
}

.library-intro-copy p:not(.eyebrow) {
  max-width: 850px;
  margin: 1.35rem 0;
  color: #34302d;
}

.library-intro-copy .button {
  margin-top: 1rem;
}

.library-notice-card {
  padding: clamp(2rem, 4vw, 3rem);
  border-left: 5px solid var(--red);
}

.library-notice-card h2 {
  margin: 0 0 1rem;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 500;
  line-height: 1.12;
}

.library-notice-card p {
  margin: 0 0 1.5rem;
  color: #34302d;
}

.library-categories-section {
  max-width: var(--content-width);
  margin: 2rem auto 0;
  padding: 0 1.5rem;
  text-align: center;
}

.library-categories-section h2 {
  max-width: 920px;
  margin: 0 auto 2rem;
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.library-category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  text-align: left;
}

.library-category-card {
  min-height: 280px;
  padding: clamp(1.8rem, 3vw, 2.6rem);
  border-top: 5px solid var(--red);
}

.library-category-card h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.4vw, 2.15rem);
  font-weight: 500;
  line-height: 1.12;
}

.library-category-card p {
  margin: 1rem 0 0;
  color: #34302d;
}

.library-development-band {
  max-width: var(--content-width);
  margin: 1.2rem auto;
  padding: clamp(2.4rem, 5vw, 4rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  color: var(--white);
  background: var(--red);
}

.library-development-band .eyebrow {
  color: var(--white);
}

.library-development-band h2 {
  max-width: 760px;
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.library-development-band p:not(.eyebrow) {
  max-width: 760px;
  margin: 1rem 0 0;
  font-weight: 600;
}

.library-development-band .button {
  flex: 0 0 auto;
}

@media (max-width: 1100px) {
  .library-category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1000px) {
  .library-intro {
    grid-template-columns: 1fr;
  }

  .library-notice-card {
    border-left: 0;
    border-top: 5px solid var(--red);
  }

  .library-development-band {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 700px) {
  .library-category-grid {
    grid-template-columns: 1fr;
  }

  .library-intro-copy,
  .library-notice-card,
  .library-category-card,
  .library-development-band {
    padding: 2rem;
  }
}
/* =========================================================
   Coming Soon / Simple Interior Pages
   ========================================================= */

.coming-soon-section {
  max-width: var(--content-width);
  margin: 1.2rem auto;
  padding: 0 1.5rem;
}

.coming-soon-card {
  max-width: 980px;
  padding: clamp(2.4rem, 5vw, 4.5rem);
  background: var(--cream);
  border-left: 5px solid var(--red);
}

.coming-soon-card h2 {
  max-width: 820px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: 500;
  line-height: 1.12;
}

.coming-soon-card p:not(.eyebrow) {
  max-width: 820px;
  margin: 1.35rem 0;
  color: #34302d;
}

.coming-soon-card .button {
  margin-top: 1rem;
}

@media (max-width: 700px) {
  .coming-soon-card {
    padding: 2rem;
  }
}
/* =========================================================
   People & Governance — three-card layout
   ========================================================= */

.governance-grid-three {
  grid-template-columns: repeat(3, 1fr);
}

.committee-list {
  margin: 0 0 1.5rem;
  padding-left: 1.1rem;
  color: #34302d;
}

.committee-list li + li {
  margin-top: 0.35rem;
}

@media (max-width: 900px) {
  .governance-grid-three {
    grid-template-columns: 1fr;
  }
}
/* =========================================================
   Board of Directors Page — expanded bios
   ========================================================= */

.board-section,
.ex-officio-section {
  max-width: var(--content-width);
  margin: 1.2rem auto 0;
  padding: 0 1.5rem;
}

.board-intro,
.ex-officio-intro {
  padding: clamp(2.4rem, 5vw, 4.5rem);
  background: var(--cream);
  border-left: 5px solid var(--red);
}

.board-intro h2,
.ex-officio-intro h2,
.board-contact-band h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
}

.board-intro h2,
.ex-officio-intro h2 {
  max-width: 860px;
  font-size: clamp(2.2rem, 4vw, 4rem);
}

.board-intro p:not(.eyebrow),
.ex-officio-intro p:not(.eyebrow) {
  max-width: 850px;
  margin: 1.35rem 0 0;
  color: #34302d;
}

.board-grid-bios,
.ex-officio-grid {
  margin-top: 1.2rem;
  display: grid;
  gap: 1.2rem;
}

.board-grid-bios {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ex-officio-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.board-member-card-bio {
  min-height: 360px;
  padding: clamp(1.8rem, 3vw, 2.6rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: var(--white);
  border-top: 5px solid var(--red);
}

.ex-officio-card {
  background: var(--cream);
}

.board-role {
  margin: 0 0 1.2rem;
  color: var(--red-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.board-member-card-bio h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 2.6vw, 2.5rem);
  font-weight: 500;
  line-height: 1.12;
}

.board-bio {
  margin: 1.35rem 0 0;
  color: #34302d;
}

.board-bio-empty {
  min-height: 6rem;
}

.board-bio-empty::before {
  content: "";
}

.board-contact-band {
  max-width: var(--content-width);
  margin: 1.2rem auto;
  padding: clamp(2.4rem, 5vw, 4rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  color: var(--white);
  background: var(--red);
}

.board-contact-band .eyebrow {
  color: var(--white);
}

.board-contact-band h2 {
  max-width: 820px;
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.board-contact-band p:not(.eyebrow) {
  max-width: 760px;
  margin: 1rem 0 0;
  font-weight: 600;
}

.board-contact-band .button {
  flex: 0 0 auto;
}

@media (max-width: 1100px) {
  .board-grid-bios {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ex-officio-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .board-contact-band {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 700px) {
  .board-grid-bios {
    grid-template-columns: 1fr;
  }

  .board-intro,
  .ex-officio-intro,
  .board-member-card-bio,
  .board-contact-band {
    padding: 2rem;
  }

  .board-member-card-bio {
    min-height: auto;
  }

  .board-bio-empty {
    min-height: 2rem;
  }
}
/* =========================================================
   Board Biography Modal
   ========================================================= */

.board-bio-preview {
  margin: 1.2rem 0 1.5rem;
  color: #34302d;
}

.board-member-card-bio .text-link {
  margin-top: auto;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-family: var(--sans);
  text-align: left;
}

.bio-modal[hidden] {
  display: none;
}

.bio-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.bio-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}

.bio-modal-window {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  max-height: min(760px, 90vh);
  overflow: auto;
  background: var(--cream-light);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  border-top: 6px solid var(--red);
}

.bio-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 0;
  background: var(--red);
  color: var(--white);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.bio-modal-close:hover,
.bio-modal-close:focus {
  background: var(--red-dark);
}

.bio-modal-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 0;
}

.bio-modal-image-wrap {
  min-height: 520px;
  background: var(--charcoal);
  overflow: hidden;
}

.bio-modal-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bio-modal-content {
  padding: clamp(2.4rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bio-modal-content h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 500;
  line-height: 1.1;
}

.bio-modal-content p:not(.board-role) {
  margin: 1.5rem 0 0;
  color: #34302d;
  font-size: 1rem;
  line-height: 1.7;
}

.modal-is-open {
  overflow: hidden;
}

@media (max-width: 800px) {
  .bio-modal-layout {
    grid-template-columns: 1fr;
  }

  .bio-modal-image-wrap {
    min-height: 280px;
  }

  .bio-modal-content {
    padding: 2rem;
  }
}
/* =========================================================
   About Page
   ========================================================= */

.about-navigation-section {
  max-width: var(--content-width);
  margin: 1.2rem auto 0;
  padding: 0 1.5rem;
}

.about-navigation-copy {
  padding: clamp(2.4rem, 5vw, 4.5rem);
  background: var(--cream);
  border-left: 5px solid var(--red);
}

.about-navigation-copy h2 {
  max-width: 900px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: 500;
  line-height: 1.12;
}

.about-navigation-copy p:not(.eyebrow) {
  max-width: 850px;
  margin: 1.35rem 0 0;
  color: #34302d;
}

.about-navigation-grid {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.about-navigation-card {
  min-height: 340px;
  padding: clamp(1.8rem, 3vw, 2.6rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: var(--white);
  border-top: 5px solid var(--red);
}

.about-navigation-card h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 2.6vw, 2.5rem);
  font-weight: 500;
  line-height: 1.12;
}

.about-navigation-card p {
  margin: 1.2rem 0 1.5rem;
  color: #34302d;
}

.about-navigation-card .button {
  margin-top: auto;
  width: fit-content;
}

@media (max-width: 1000px) {
  .about-navigation-grid {
    grid-template-columns: 1fr;
  }

  .about-navigation-card {
    min-height: auto;
  }
}

@media (max-width: 700px) {
  .about-navigation-copy,
  .about-navigation-card {
    padding: 2rem;
  }

  .about-navigation-card .button {
    width: 100%;
  }
}
/* =========================================================
   History Page
   ========================================================= */

.history-content-section {
  max-width: var(--content-width);
  margin: 1.2rem auto;
  padding: 0 1.5rem;
}

.history-article {
  display: grid;
  gap: 1.2rem;
}

.history-intro-card,
.history-text-block,
.history-source-note {
  padding: clamp(2.2rem, 5vw, 4rem);
  background: var(--cream);
}

.history-intro-card {
  border-left: 5px solid var(--red);
}

.history-intro-card h2,
.history-text-block h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
}

.history-intro-card h2 {
  max-width: 900px;
  font-size: clamp(2.2rem, 4vw, 4rem);
}

.history-text-block h2 {
  max-width: 860px;
  margin-bottom: 1.35rem;
  font-size: clamp(1.9rem, 3vw, 3rem);
}

.history-intro-card p:not(.eyebrow),
.history-text-block p {
  max-width: 900px;
  margin: 1.25rem 0 0;
  color: #34302d;
  font-size: 1.02rem;
  line-height: 1.8;
}

.history-text-block p:first-of-type {
  margin-top: 0;
}

.history-source-note {
  background: var(--white);
  border-left: 5px solid var(--red);
}

.history-source-note p {
  max-width: 900px;
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.7;
}

@media (max-width: 700px) {
  .history-intro-card,
  .history-text-block,
  .history-source-note {
    padding: 2rem;
  }
}
/* =========================================================
   MALTESE HISTORY — PERIOD PAGES
   ========================================================= */


/* ---------------------------------------------------------
   Period Hero
   --------------------------------------------------------- */

.period-hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--charcoal);
}

.period-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.period-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.86) 0%,
      rgba(0, 0, 0, 0.65) 44%,
      rgba(0, 0, 0, 0.15) 100%
    );
}

.period-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) 1.5rem;
  color: var(--white);
}

.period-hero-content .eyebrow {
  color: var(--white);
}

.period-hero-content h1 {
  max-width: 1000px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.5rem, 8vw, 7.5rem);
  font-weight: 500;
  line-height: 0.95;
}

.period-hero-content > p:not(.eyebrow) {
  max-width: 820px;
  margin: 1.5rem 0 0;
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  line-height: 1.65;
}


/* ---------------------------------------------------------
   Shared Historical Timeline
   --------------------------------------------------------- */

.malta-era-timeline {
  position: sticky;
  top: 0;
  z-index: 500;
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  background: var(--charcoal);
  border-bottom: 4px solid var(--red);
  color: var(--white);
}

.era-timeline-heading {
  padding: 1rem 1.3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--red);
}

.era-timeline-heading span {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
}

.era-timeline-heading small {
  margin-top: 0.15rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.era-timeline-scroll {
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: thin;
}

.era-timeline-track {
  position: relative;
  min-width: max-content;
  padding: 0 1rem;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(150px, 1fr);
}

.era-timeline-track::before {
  content: "";
  position: absolute;
  top: 31px;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background: rgba(255, 255, 255, 0.25);
}

.era-link {
  position: relative;
  min-width: 160px;
  padding: 1.05rem 0.9rem 0.9rem;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.era-marker {
  position: relative;
  z-index: 2;
  display: block;
  width: 12px;
  height: 12px;
  margin: 0 0 0.65rem;
  border: 2px solid var(--white);
  border-radius: 50%;
  background: var(--charcoal);
}

.era-link strong {
  display: block;
  font-family: var(--serif);
  font-size: 0.95rem;
  line-height: 1.1;
}

.era-link small {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.67rem;
  line-height: 1.2;
}

.era-link:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
}

.era-link.is-active {
  color: var(--white);
  background: var(--red-dark);
}

.era-link.is-active .era-marker {
  background: var(--white);
}


/* ---------------------------------------------------------
   Introduction
   --------------------------------------------------------- */

.period-intro {
  max-width: var(--content-width);
  margin: 1.2rem auto 0;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.55fr);
  gap: 1.2rem;
}

.period-intro-copy {
  padding: clamp(2.7rem, 5vw, 5rem);
  background: var(--cream);
}

.period-intro-copy h2 {
  max-width: 850px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.7rem, 5vw, 4.8rem);
  font-weight: 500;
  line-height: 1.03;
}

.period-intro-copy p {
  max-width: 900px;
  color: #34302d;
  line-height: 1.8;
}

.period-intro-copy p:not(.eyebrow) {
  margin: 1.3rem 0 0;
}

.period-intro-copy .period-lead {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  line-height: 1.55;
}

.period-facts {
  padding: clamp(2.2rem, 4vw, 3.2rem);
  background: var(--charcoal);
  color: var(--white);
}

.period-facts .eyebrow {
  color: var(--white);
}

.period-facts dl {
  margin: 1rem 0 0;
}

.period-facts dl > div {
  padding: 1.2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.period-facts dt {
  margin-bottom: 0.3rem;
  color: #d8cfc3;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.period-facts dd {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.45;
}


/* ---------------------------------------------------------
   Local Navigation
   --------------------------------------------------------- */

.period-local-nav {
  max-width: var(--content-width);
  margin: 1.2rem auto 0;
  padding: 1rem 1.5rem;
  display: flex;
  gap: 0.65rem;
  align-items: center;
  flex-wrap: wrap;
  background: var(--white);
  border-top: 1px solid var(--sand);
  border-bottom: 1px solid var(--sand);
}

.period-local-nav > span {
  margin-right: 0.5rem;
  color: var(--red-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.period-local-nav a {
  padding: 0.45rem 0.7rem;
  background: var(--cream);
  color: var(--black);
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none;
}

.period-local-nav a:hover,
.period-local-nav a:focus {
  background: var(--red);
  color: var(--white);
}


/* ---------------------------------------------------------
   Main Interpretive Sections
   --------------------------------------------------------- */

.period-section {
  max-width: var(--content-width);
  margin: 1.2rem auto 0;
  padding: clamp(2.7rem, 6vw, 5.5rem);
  background: var(--white);
}

.period-section-soft {
  background: var(--cream);
}

.period-section-dark {
  background: var(--charcoal);
  color: var(--white);
}

.period-section-heading {
  margin-bottom: 2rem;
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.section-number {
  margin: 0;
  color: var(--red);
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  line-height: 0.85;
}

.period-section-heading h2 {
  max-width: 1000px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4.5vw, 4.5rem);
  font-weight: 500;
  line-height: 1.05;
}

.period-prose {
  max-width: 900px;
  margin-left: 105px;
}

.period-prose p {
  margin: 0 0 1.35rem;
  color: #34302d;
  font-size: 1.03rem;
  line-height: 1.85;
}

.period-section-dark .period-prose p {
  color: rgba(255, 255, 255, 0.84);
}

.period-section-dark .eyebrow {
  color: #e8c7ca;
}


/* ---------------------------------------------------------
   Images + Captions
   --------------------------------------------------------- */

.period-media {
  max-width: 1050px;
  margin: 2.5rem 0 0 105px;
  overflow: hidden;
  background: var(--cream);
}

.period-media img {
  display: block;
  width: 100%;
  max-height: 680px;
  object-fit: cover;
  filter: grayscale(100%);
  transition:
    filter 0.4s ease,
    transform 0.4s ease;
}

.period-media:hover img {
  filter: grayscale(0%);
}

.period-media figcaption,
.period-model figcaption {
  padding: 1.15rem 1.3rem;
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.82rem;
  line-height: 1.6;
}

.period-media figcaption strong,
.period-model figcaption strong {
  color: var(--white);
}

.period-media-grid {
  margin: 2.5rem 0 0 105px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.period-media-grid .period-media {
  margin: 0;
}


/* ---------------------------------------------------------
   Sketchfab / 3D Models
   --------------------------------------------------------- */

.period-model {
  max-width: 1050px;
  margin: 2.5rem 0 0 105px;
  background: var(--charcoal);
}

.sketchfab-embed-wrapper {
  position: relative;
  width: 100%;
  padding-top: 62%;
  overflow: hidden;
  background: #000;
}

.sketchfab-embed-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}


/* ---------------------------------------------------------
   Interpretive Callout
   --------------------------------------------------------- */

.interpretive-note {
  max-width: 900px;
  margin: 2.5rem 0 0 105px;
  padding: 1.7rem 2rem;
  background: var(--white);
  border-left: 5px solid var(--red);
}

.interpretive-note strong {
  display: block;
  margin-bottom: 0.6rem;
  color: var(--red-dark);
  font-family: var(--serif);
  font-size: 1.3rem;
}

.interpretive-note p {
  margin: 0;
  color: #34302d;
  line-height: 1.75;
}

.interpretive-note-light {
  background: var(--cream);
}


/* ---------------------------------------------------------
   Chronology Table
   --------------------------------------------------------- */

.chronology-table-wrap {
  margin: 2.5rem 0 0 105px;
  overflow-x: auto;
}

.chronology-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  background: var(--white);
}

.chronology-table th,
.chronology-table td {
  padding: 1rem 1.1rem;
  border-bottom: 1px solid var(--sand);
  text-align: left;
  vertical-align: top;
}

.chronology-table th {
  background: var(--charcoal);
  color: var(--white);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.chronology-table td:first-child {
  color: var(--red-dark);
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
}


/* ---------------------------------------------------------
   Period Conclusion
   --------------------------------------------------------- */

.period-conclusion {
  max-width: var(--content-width);
  margin: 1.2rem auto 0;
  padding: clamp(3rem, 7vw, 6rem);
  background: var(--red);
  color: var(--white);
}

.period-conclusion > div {
  max-width: 1000px;
}

.period-conclusion .eyebrow {
  color: var(--white);
}

.period-conclusion h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 500;
  line-height: 1.02;
}

.period-conclusion p:not(.eyebrow) {
  max-width: 850px;
  margin: 1.3rem 0 0;
  font-size: 1.05rem;
  line-height: 1.8;
}


/* =========================================================
   Bibliography & Suggested Reading
   ========================================================= */

.history-reading-section {
  max-width: var(--content-width);
  margin: 1.2rem auto 0;
  padding: 0 1.5rem;
}

.history-reading-heading {
  padding: clamp(2.7rem, 5vw, 4.5rem);
  background: var(--cream);
  border-left: 5px solid var(--red);
}

.history-reading-heading h2 {
  max-width: 900px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.5rem, 4.5vw, 4.3rem);
  font-weight: 500;
  line-height: 1.05;
}

.history-reading-heading p:not(.eyebrow) {
  max-width: 820px;
  margin: 1.2rem 0 0;
  color: #34302d;
  line-height: 1.75;
}

.history-reading-layout {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.2rem;
}

.bibliography-panel,
.suggested-reading-panel {
  padding: clamp(2.2rem, 4vw, 3.5rem);
}

.bibliography-panel {
  background: var(--white);
}

.suggested-reading-panel {
  background: var(--charcoal);
  color: var(--white);
}

.reading-panel-heading {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--sand);
}

.suggested-reading-panel .reading-panel-heading {
  border-bottom-color: rgba(255, 255, 255, 0.18);
}

.reading-panel-number {
  color: var(--red);
  font-family: var(--serif);
  font-size: 2.6rem;
  line-height: 0.85;
}

.reading-panel-heading h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 500;
  line-height: 1.08;
}

.suggested-reading-panel .eyebrow {
  color: #e8c7ca;
}


/* Bibliography */

.bibliography-list {
  margin-top: 0;
}

.bibliography-entry {
  padding: 1.7rem 0;
  border-bottom: 1px solid var(--sand);
}

.bibliography-entry:last-child {
  border-bottom: 0;
}

.bibliography-author {
  margin: 0 0 0.45rem;
  color: var(--red-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.bibliography-citation {
  max-width: 760px;
  margin: 0;
  color: #34302d;
  font-size: 1rem;
  line-height: 1.75;
}

.bibliography-citation cite {
  font-family: var(--serif);
  font-size: 1.08em;
}


/* Suggested Reading Cards */

.suggested-reading-card {
  padding: 1.7rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.suggested-reading-card:last-child {
  border-bottom: 0;
}

.reading-type {
  margin: 0 0 0.55rem;
  color: #e8c7ca;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.suggested-reading-card h4 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 500;
  line-height: 1.15;
}

.reading-authors {
  margin: 0.55rem 0 1rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
  font-weight: 700;
}

.suggested-reading-card > p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
}


/* ---------------------------------------------------------
   Previous / Next Navigation
   --------------------------------------------------------- */

.period-next {
  max-width: var(--content-width);
  margin: 1.2rem auto;
  padding: clamp(2.5rem, 5vw, 4rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: var(--cream);
}

.period-next h2 {
  margin: 0.2rem 0 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 3.4rem);
  font-weight: 500;
}

.period-next-two {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  padding: 0;
  gap: 1px;
  background: var(--sand);
}

.period-previous-link,
.period-next-link {
  min-height: 180px;
  padding: clamp(2rem, 4vw, 3rem);
  display: flex;
  gap: 1rem;
  align-items: center;
  color: var(--black);
  background: var(--cream);
  text-decoration: none;
}

.period-next-link {
  justify-content: flex-end;
  text-align: right;
}

.period-previous-link small,
.period-next-link small {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--red-dark);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.period-previous-link strong,
.period-next-link strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
  font-weight: 500;
}

.period-previous-link:hover,
.period-next-link:hover {
  background: var(--red);
  color: var(--white);
}

.period-previous-link:hover small,
.period-next-link:hover small {
  color: var(--white);
}


/* ---------------------------------------------------------
   Responsive
   --------------------------------------------------------- */

@media (max-width: 1000px) {
  .period-intro {
    grid-template-columns: 1fr;
  }

  .malta-era-timeline {
    grid-template-columns: 1fr;
    position: relative;
  }

  .era-timeline-heading {
    display: none;
  }

  .period-prose,
  .period-media,
  .period-media-grid,
  .period-model,
  .interpretive-note,
  .chronology-table-wrap {
    margin-left: 0;
  }

  .history-reading-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 750px) {
  .period-hero {
    min-height: 520px;
  }

  .period-section {
    padding: 2rem;
  }

  .period-section-heading {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .section-number {
    font-size: 2rem;
  }

  .period-media-grid {
    grid-template-columns: 1fr;
  }

  .period-next {
    align-items: flex-start;
    flex-direction: column;
  }

  .period-next-two {
    grid-template-columns: 1fr;
  }

  .period-next-link {
    justify-content: flex-start;
    text-align: left;
  }

  .period-intro-copy,
  .period-facts {
    padding: 2rem;
  }

  .period-local-nav {
    align-items: stretch;
    flex-direction: column;
  }

  .period-local-nav > span {
    margin-bottom: 0.25rem;
  }

  .history-reading-heading,
  .bibliography-panel,
  .suggested-reading-panel {
    padding: 2rem;
  }

  .reading-panel-heading {
    grid-template-columns: 1fr;
  }

  .reading-panel-number {
    font-size: 2rem;
  }
}
/* =========================================================
   Prehistory Page — visual placeholders + bibliography-only
   Add this at the very bottom of style.css
   ========================================================= */

.period-media-placeholder {
  background: var(--cream);
}

.visual-placeholder {
  min-height: 360px;
  padding: clamp(2rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    linear-gradient(rgba(184, 18, 29, 0.035), rgba(184, 18, 29, 0.035)),
    var(--cream);
  border: 1px dashed rgba(184, 18, 29, 0.35);
}

.visual-placeholder span {
  margin-bottom: 0.8rem;
  color: var(--red-dark);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.visual-placeholder strong {
  max-width: 620px;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-weight: 500;
  line-height: 1.12;
}

.visual-placeholder small {
  max-width: 620px;
  margin-top: 0.8rem;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

.history-reading-layout.bibliography-only {
  grid-template-columns: 1fr;
}

.bibliography-only .bibliography-panel {
  width: 100%;
}

.bibliography-citation a {
  color: var(--red-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.bibliography-citation a:hover,
.bibliography-citation a:focus {
  color: var(--red);
}

@media (max-width: 750px) {
  .visual-placeholder {
    min-height: 260px;
    padding: 2rem;
  }
}
/* =========================================================
   Prehistory Page — visual placeholders + bibliography-only
   Add this at the very bottom of style.css
   ========================================================= */

.period-media-placeholder {
  background: var(--cream);
}

.visual-placeholder {
  min-height: 360px;
  padding: clamp(2rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    linear-gradient(rgba(184, 18, 29, 0.035), rgba(184, 18, 29, 0.035)),
    var(--cream);
  border: 1px dashed rgba(184, 18, 29, 0.35);
}

.visual-placeholder span {
  margin-bottom: 0.8rem;
  color: var(--red-dark);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.visual-placeholder strong {
  max-width: 620px;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-weight: 500;
  line-height: 1.12;
}

.visual-placeholder small {
  max-width: 620px;
  margin-top: 0.8rem;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

.history-reading-layout.bibliography-only {
  grid-template-columns: 1fr;
}

.bibliography-only .bibliography-panel {
  width: 100%;
}

.bibliography-citation a {
  color: var(--red-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.bibliography-citation a:hover,
.bibliography-citation a:focus {
  color: var(--red);
}

@media (max-width: 750px) {
  .visual-placeholder {
    min-height: 260px;
    padding: 2rem;
  }
}

/* =========================================================
   Period page author line
   Use on all Maltese-history period pages
   ========================================================= */

.period-author {
  margin: 0.7rem 0 1.35rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.period-author::before {
  content: "";
  display: inline-block;
  width: 2rem;
  height: 1px;
  margin-right: 0.7rem;
  vertical-align: middle;
  background: currentColor;
  opacity: 0.65;
}

@media (max-width: 700px) {
  .period-author {
    margin-bottom: 1.1rem;
  }
}
/* =========================================================
   Main Navigation Dropdowns
   ========================================================= */

.main-nav {
  position: relative;
  z-index: 3000;
}

.main-nav-list {
  position: relative;
}

.main-nav .nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle,
.nav-direct-link {
  height: 100%;
  padding: 1.15rem 1.3rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;

  border: 0;
  background: transparent;

  color: var(--black);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;

  cursor: pointer;
}

.nav-dropdown-toggle:hover,
.nav-dropdown-toggle:focus,
.nav-direct-link:hover,
.nav-direct-link:focus {
  color: var(--red);
}

.nav-chevron {
  position: relative;
  top: -1px;
  font-size: 0.9rem;
  transition: transform 0.2s ease;
}


/* ---------------------------------------------------------
   Dropdown Panel
   --------------------------------------------------------- */

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% - 1px);
  left: 0;

  width: min(390px, 90vw);
  padding: 0.6rem;

  display: none;

  background: var(--white);
  border-top: 4px solid var(--red);

  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.12),
    0 3px 8px rgba(0, 0, 0, 0.08);
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  display: block;
}

.nav-dropdown:hover .nav-chevron,
.nav-dropdown:focus-within .nav-chevron {
  transform: rotate(180deg);
}


/* ---------------------------------------------------------
   Dropdown Links
   --------------------------------------------------------- */

.nav-dropdown-menu a {
  padding: 1rem 1.1rem;

  display: block;

  color: var(--black);
  text-decoration: none;

  border-bottom: 1px solid var(--sand);
}

.nav-dropdown-menu a:last-child {
  border-bottom: 0;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus {
  background: var(--cream);
}

.nav-dropdown-menu strong {
  display: block;

  color: var(--black);
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.2;
}

.nav-dropdown-menu a:hover strong,
.nav-dropdown-menu a:focus strong {
  color: var(--red-dark);
}

.nav-dropdown-menu span {
  display: block;

  margin-top: 0.3rem;

  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.45;
  text-transform: none;
}


/* ---------------------------------------------------------
   Prevent dropdown from falling off right edge
   --------------------------------------------------------- */

.main-nav-list > li:nth-last-child(-n + 3) .nav-dropdown-menu {
  left: auto;
  right: 0;
}


/* ---------------------------------------------------------
   Current page
   --------------------------------------------------------- */

.nav-dropdown-menu a[aria-current="page"],
.nav-direct-link[aria-current="page"] {
  color: var(--red);
}

.nav-dropdown-menu a[aria-current="page"] {
  background: var(--cream);
  border-left: 4px solid var(--red);
}


/* ---------------------------------------------------------
   Mobile / Narrow Screens
   --------------------------------------------------------- */

@media (max-width: 900px) {

  .main-nav-list {
    align-items: stretch;
  }

  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown-toggle,
  .nav-direct-link {
    width: 100%;
    justify-content: space-between;
  }

  .nav-dropdown-menu {
    position: static;

    width: 100%;
    max-width: none;

    margin: 0;
    padding: 0.4rem 1rem 0.8rem;

    border-top: 0;
    box-shadow: none;

    background: var(--cream-light);
  }

  .nav-dropdown-menu a {
    padding: 0.9rem;
  }

  .main-nav-list > li:nth-last-child(-n + 3) .nav-dropdown-menu {
    left: auto;
    right: auto;
  }
}
/* =========================================================
   MCM MAIN NAVIGATION — DROPDOWN SYSTEM
   ========================================================= */

.site-header {
  position: relative;
  z-index: 5000;
  background: var(--white);
}

.main-nav {
  position: relative;
  z-index: 5000;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

/*
  IMPORTANT:
  This overrides the older .main-nav ul rule only for
  the top-level navigation list.
*/
.main-nav > .main-nav-list {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 1.5rem;

  display: flex;
  justify-content: flex-end;
  align-items: stretch;
  gap: clamp(1rem, 2.5vw, 2.8rem);

  list-style: none;
}


/* ---------------------------------------------------------
   Top-level items
   --------------------------------------------------------- */

.main-nav > .main-nav-list > li {
  position: relative;
  margin: 0;
  padding: 0;
}

.nav-dropdown-toggle,
.nav-direct-link,
.main-nav .search-link {
  appearance: none;
  -webkit-appearance: none;

  margin: 0;
  padding: 1.05rem 0;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.38rem;

  border: 0;
  border-radius: 0;
  outline: 0;

  background: transparent;

  color: var(--black);
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;

  cursor: pointer;
}

.nav-dropdown-toggle:hover,
.nav-dropdown-toggle:focus-visible,
.nav-direct-link:hover,
.nav-direct-link:focus-visible,
.main-nav .search-link:hover,
.main-nav .search-link:focus-visible {
  color: var(--red);
}

.nav-chevron {
  display: inline-block;
  font-size: 0.85rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

.nav-dropdown.is-open .nav-chevron,
.nav-dropdown:hover .nav-chevron,
.nav-dropdown:focus-within .nav-chevron {
  transform: rotate(180deg);
}


/* ---------------------------------------------------------
   Dropdown panel
   --------------------------------------------------------- */

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: -1.25rem;

  width: 330px;
  padding: 0.55rem;

  display: none;

  background: var(--white);
  border-top: 4px solid var(--red);

  box-shadow:
    0 18px 45px rgba(0, 0, 0, 0.15),
    0 4px 12px rgba(0, 0, 0, 0.08);

  z-index: 6000;
}


/*
  Open by hover, keyboard focus, or JavaScript click.
*/
.nav-dropdown:hover > .nav-dropdown-menu,
.nav-dropdown:focus-within > .nav-dropdown-menu,
.nav-dropdown.is-open > .nav-dropdown-menu {
  display: block;
}


/* ---------------------------------------------------------
   Dropdown links
   --------------------------------------------------------- */

.main-nav .nav-dropdown-menu a {
  width: 100%;
  padding: 0.95rem 1rem;

  display: block;

  color: var(--black);
  background: transparent;

  border-bottom: 1px solid rgba(0, 0, 0, 0.08);

  font-size: inherit;
  font-weight: inherit;
  letter-spacing: normal;
  line-height: normal;
  text-decoration: none;
  text-transform: none;
}

.main-nav .nav-dropdown-menu a:last-child {
  border-bottom: 0;
}

.main-nav .nav-dropdown-menu a:hover,
.main-nav .nav-dropdown-menu a:focus-visible {
  color: var(--black);
  background: var(--cream);
}

.nav-dropdown-menu strong {
  display: block;
  margin: 0;

  color: var(--black);
  font-family: var(--serif);
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.2;
}

.nav-dropdown-menu a:hover strong,
.nav-dropdown-menu a:focus-visible strong {
  color: var(--red-dark);
}

.nav-dropdown-menu a > span {
  display: block;
  margin-top: 0.28rem;

  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.45;
  text-transform: none;
}


/* ---------------------------------------------------------
   Active/current pages
   --------------------------------------------------------- */

.main-nav a[aria-current="page"] {
  color: var(--red);
}

.nav-dropdown-menu a[aria-current="page"] {
  padding-left: calc(1rem - 4px);
  background: var(--cream);
  border-left: 4px solid var(--red);
}


/* ---------------------------------------------------------
   Keep right-side dropdowns inside viewport
   --------------------------------------------------------- */

.main-nav-list > .nav-dropdown:nth-last-child(-n + 4)
  > .nav-dropdown-menu {
  left: auto;
  right: -1rem;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1050px) {

  .main-nav > .main-nav-list {
    gap: 1.3rem;
  }

  .nav-dropdown-toggle,
  .nav-direct-link {
    font-size: 0.76rem;
  }

  .nav-dropdown-menu {
    width: 300px;
  }
}


/* =========================================================
   SMALL SCREENS
   Temporary layout until hamburger menu is added
   ========================================================= */

@media (max-width: 850px) {

  /*
    Override the OLD responsive .main-nav ul rules.
  */

  .main-nav > .main-nav-list {
    width: 100%;
    padding: 0.6rem 1.25rem;

    justify-content: flex-start;
    align-items: center;

    flex-wrap: nowrap;
    gap: 1.4rem;

    overflow-x: auto;
    overflow-y: visible;

    scrollbar-width: thin;
  }

  .main-nav > .main-nav-list > li {
    flex: 0 0 auto;
  }

  .nav-dropdown-toggle,
  .nav-direct-link,
  .main-nav .search-link {
    width: auto;
    padding: 0.6rem 0;

    justify-content: flex-start;

    white-space: nowrap;
  }

  /*
    Still use floating dropdowns instead of expanding
    all content into the page.
  */

  .nav-dropdown-menu {
    position: fixed;
    top: auto;
    left: 1rem !important;
    right: 1rem !important;

    width: auto;
    max-width: none;

    margin-top: 0;

    max-height: 70vh;
    overflow-y: auto;
  }
}
/* =========================================================
   DONATING MATERIALS PAGE
   ========================================================= */


/* ---------------------------------------------------------
   Intro
   --------------------------------------------------------- */

.donations-intro {
  max-width: var(--content-width);
  margin: 1.2rem auto 0;
  padding: 0 1.5rem;

  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 1.2rem;
}

.donations-intro-copy {
  padding: clamp(2.5rem, 5vw, 4.5rem);
  background: var(--cream);
}

.donations-intro-copy h2 {
  max-width: 850px;
  margin: 0;

  font-family: var(--serif);
  font-size: clamp(2.3rem, 4.5vw, 4.2rem);
  font-weight: 500;
  line-height: 1.06;
}

.donations-intro-copy p {
  max-width: 850px;
  color: #34302d;
  line-height: 1.75;
}

.donations-intro-copy p:not(.eyebrow) {
  margin: 1.2rem 0 0;
}

.donations-lead {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.55 !important;
}

.donations-intro-copy .button {
  margin-top: 1.5rem;
}


.donations-important-note {
  padding: clamp(2rem, 4vw, 3.2rem);

  background: var(--charcoal);
  color: var(--white);
}

.donations-important-note .eyebrow {
  color: #e8c7ca;
}

.donations-important-note h2 {
  margin: 0;

  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  font-weight: 500;
  line-height: 1.1;
}

.donations-important-note p {
  margin: 1.1rem 0 0;

  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
}

.donations-important-note ul {
  margin: 1.4rem 0 0;
  padding-left: 1.2rem;
}

.donations-important-note li {
  margin: 0.65rem 0;

  color: rgba(255, 255, 255, 0.82);
  line-height: 1.55;
}


/* ---------------------------------------------------------
   Shared section heading
   --------------------------------------------------------- */

.donation-documents-section,
.donation-process-section,
.donation-collecting-section {
  max-width: var(--content-width);
  margin: 1.2rem auto 0;
  padding: clamp(2.5rem, 5vw, 4.5rem) 1.5rem;
}

.donation-section-heading {
  max-width: 950px;
  margin-bottom: 2rem;
}

.donation-section-heading h2 {
  margin: 0;

  font-family: var(--serif);
  font-size: clamp(2.3rem, 4.5vw, 4rem);
  font-weight: 500;
  line-height: 1.07;
}

.donation-section-heading p:not(.eyebrow) {
  max-width: 800px;
  margin: 1rem 0 0;

  color: #34302d;
  line-height: 1.7;
}


/* ---------------------------------------------------------
   PDF document cards
   --------------------------------------------------------- */

.donation-documents-section {
  background: var(--white);
}

.donation-document-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.donation-document-card {
  min-height: 510px;
  padding: clamp(2rem, 4vw, 3rem);

  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 1.4rem;

  background: var(--cream);
  border-top: 5px solid var(--red);
}

.donation-document-card-deed {
  background: var(--cream-light);
}

.donation-document-number {
  color: var(--red);

  font-family: var(--serif);
  font-size: 3.4rem;
  line-height: 0.9;
}

.donation-document-content {
  display: flex;
  flex-direction: column;
}

.document-type {
  margin: 0 0 0.6rem;

  color: var(--red-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.donation-document-content h3 {
  margin: 0;

  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 500;
  line-height: 1.1;
}

.donation-document-content > p:not(.document-type) {
  margin: 1rem 0 0;

  color: #34302d;
  line-height: 1.7;
}

.document-meta {
  margin-top: 1.3rem;

  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.document-meta span {
  padding: 0.35rem 0.55rem;

  background: var(--white);
  border: 1px solid var(--sand);

  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.document-warning {
  margin-top: 1.3rem;
  padding: 1rem 1.1rem;

  background: #f5dddd;
  border-left: 4px solid var(--red);
}

.document-warning strong {
  display: block;

  color: var(--red-dark);
}

.document-warning span {
  display: block;
  margin-top: 0.3rem;

  color: #34302d;
  font-size: 0.88rem;
  line-height: 1.5;
}

.document-actions {
  margin-top: auto;
  padding-top: 1.7rem;

  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.button-outline {
  border: 1px solid var(--red);
  background: transparent;
  color: var(--red-dark);
}

.button-outline:hover,
.button-outline:focus {
  background: var(--red);
  color: var(--white);
}


/* ---------------------------------------------------------
   Process
   --------------------------------------------------------- */

.donation-process-section {
  background: var(--cream-light);
}

.donation-process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;

  background: var(--sand);
  border: 1px solid var(--sand);
}

.donation-step {
  min-height: 300px;
  padding: clamp(1.7rem, 3vw, 2.5rem);

  background: var(--white);
}

.donation-step-number {
  display: block;
  margin-bottom: 1.3rem;

  color: var(--red);

  font-family: var(--serif);
  font-size: 2.5rem;
  line-height: 1;
}

.donation-step h3 {
  margin: 0;

  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.3vw, 2rem);
  font-weight: 500;
  line-height: 1.12;
}

.donation-step p {
  margin: 1rem 0 0;

  color: #34302d;
  line-height: 1.65;
}


/* ---------------------------------------------------------
   Collecting areas
   --------------------------------------------------------- */

.donation-collecting-section {
  background: var(--white);
}

.donation-collecting-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}

.donation-collecting-grid article {
  min-height: 260px;
  padding: 1.7rem;

  background: var(--cream);
  border-top: 4px solid var(--red);
}

.donation-collecting-grid h3 {
  margin: 0;

  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.15;
}

.donation-collecting-grid p {
  margin: 0.9rem 0 0;

  color: #34302d;
  font-size: 0.92rem;
  line-height: 1.65;
}


/* ---------------------------------------------------------
   Donor terms
   --------------------------------------------------------- */

.donor-terms-section {
  max-width: var(--content-width);
  margin: 1.2rem auto 0;
  padding: 0 1.5rem;

  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.2rem;
}

.donor-terms-copy {
  padding: clamp(2.5rem, 5vw, 4.5rem);

  background: var(--charcoal);
  color: var(--white);
}

.donor-terms-copy .eyebrow {
  color: #e8c7ca;
}

.donor-terms-copy h2 {
  margin: 0;

  font-family: var(--serif);
  font-size: clamp(2.3rem, 4vw, 3.8rem);
  font-weight: 500;
  line-height: 1.07;
}

.donor-terms-copy p:not(.eyebrow) {
  max-width: 800px;
  margin: 1.2rem 0 0;

  color: rgba(255, 255, 255, 0.82);
  line-height: 1.75;
}

.donor-terms-list {
  padding: clamp(2.2rem, 4vw, 3.2rem);

  background: var(--cream);
  border-left: 5px solid var(--red);
}

.donor-terms-list h3 {
  margin: 0;

  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 500;
}

.donor-terms-list ul {
  margin: 1.2rem 0 0;
  padding-left: 1.2rem;
}

.donor-terms-list li {
  margin: 0.75rem 0;

  color: #34302d;
  line-height: 1.6;
}


/* ---------------------------------------------------------
   Digital future feature
   --------------------------------------------------------- */

.donation-digital-section {
  max-width: var(--content-width);
  margin: 1.2rem auto 0;
  padding: clamp(2.5rem, 5vw, 4rem);

  background: var(--cream);
  border-left: 5px solid var(--red);
}

.donation-digital-section > div {
  max-width: 900px;
}

.donation-digital-section h2 {
  margin: 0;

  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 500;
  line-height: 1.08;
}

.donation-digital-section p:not(.eyebrow) {
  max-width: 800px;
  margin: 1rem 0 0;

  color: #34302d;
  line-height: 1.7;
}


/* ---------------------------------------------------------
   Contact CTA
   --------------------------------------------------------- */

.donation-contact-band {
  max-width: var(--content-width);
  margin: 1.2rem auto;
  padding: clamp(2.7rem, 6vw, 5rem);

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;

  background: var(--red);
  color: var(--white);
}

.donation-contact-band .eyebrow {
  color: var(--white);
}

.donation-contact-band h2 {
  margin: 0;

  font-family: var(--serif);
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  font-weight: 500;
  line-height: 1;
}

.donation-contact-band p:not(.eyebrow) {
  max-width: 760px;
  margin: 1rem 0 0;

  line-height: 1.7;
}

.donation-contact-band .button {
  flex: 0 0 auto;
}


/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1100px) {

  .donation-collecting-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .donation-process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}

@media (max-width: 950px) {

  .donations-intro,
  .donor-terms-section,
  .donation-document-grid {
    grid-template-columns: 1fr;
  }

  .donation-document-card {
    min-height: auto;
  }

  .donation-contact-band {
    align-items: flex-start;
    flex-direction: column;
  }

}

@media (max-width: 700px) {

  .donations-intro-copy,
  .donations-important-note,
  .donor-terms-copy,
  .donor-terms-list,
  .donation-digital-section,
  .donation-contact-band {
    padding: 2rem;
  }

  .donation-process-grid,
  .donation-collecting-grid {
    grid-template-columns: 1fr;
  }

  .donation-document-card {
    grid-template-columns: 1fr;
  }

  .donation-document-number {
    font-size: 2.5rem;
  }

  .document-actions {
    flex-direction: column;
  }

  .document-actions .button {
    width: 100%;
  }

}
/* =========================================================
   MALTESE HISTORY LANDING PAGE
   ========================================================= */


/* ---------------------------------------------------------
   Hero
   --------------------------------------------------------- */

.maltese-history-hero {
  padding: clamp(4.5rem, 10vw, 8rem) 1.5rem;

  background:
    linear-gradient(
      115deg,
      #111111 0%,
      #252525 62%,
      #8f0d16 160%
    );

  color: var(--white);
}

.maltese-history-hero-inner {
  max-width: var(--content-width);
  margin: 0 auto;
}

.maltese-history-hero .eyebrow {
  color: #e8c7ca;
}

.maltese-history-hero h1 {
  max-width: 1000px;
  margin: 0;

  font-family: var(--serif);
  font-size: clamp(4rem, 9vw, 8rem);
  font-weight: 500;
  line-height: 0.92;
}

.maltese-history-hero p:not(.eyebrow) {
  max-width: 820px;
  margin: 1.5rem 0 0;

  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  line-height: 1.65;
}


/* ---------------------------------------------------------
   Intro
   --------------------------------------------------------- */

.maltese-history-intro {
  max-width: var(--content-width);
  margin: 1.2rem auto 0;
  padding: clamp(3rem, 6vw, 5rem);

  background: var(--cream);
  border-left: 5px solid var(--red);
}

.maltese-history-intro > div {
  max-width: 1000px;
}

.maltese-history-intro h2 {
  max-width: 900px;
  margin: 0;

  font-family: var(--serif);
  font-size: clamp(2.7rem, 5vw, 4.7rem);
  font-weight: 500;
  line-height: 1.04;
}

.maltese-history-intro p:not(.eyebrow) {
  max-width: 900px;
  margin: 1.2rem 0 0;

  color: #34302d;
  line-height: 1.75;
}

.maltese-history-intro .maltese-history-lead {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.55;
}


/* ---------------------------------------------------------
   Periods
   --------------------------------------------------------- */

.history-periods-section {
  max-width: var(--content-width);
  margin: 1.2rem auto 0;
  padding: clamp(2.5rem, 5vw, 4.5rem) 1.5rem;
}

.history-periods-heading {
  max-width: 950px;
  margin-bottom: 2rem;
}

.history-periods-heading h2 {
  margin: 0;

  font-family: var(--serif);
  font-size: clamp(2.5rem, 4.5vw, 4.2rem);
  font-weight: 500;
  line-height: 1.06;
}


.history-period-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}


/* ---------------------------------------------------------
   Individual period card
   --------------------------------------------------------- */

.history-period-card {
  min-height: 410px;

  display: grid;
  grid-template-columns: 155px minmax(0, 1fr);

  overflow: hidden;

  background: var(--cream);
  border-top: 5px solid var(--red);
}

.history-period-date {
  padding: 2rem 1.3rem;

  display: flex;
  align-items: flex-end;

  background: var(--charcoal);
  color: var(--white);

  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1.2;
}

.history-period-copy {
  padding: clamp(2rem, 4vw, 3rem);

  display: flex;
  flex-direction: column;
}

.history-period-number {
  margin: 0 0 1rem;

  color: var(--red);

  font-family: var(--serif);
  font-size: 2.8rem;
  line-height: 0.9;
}

.history-period-copy h3 {
  margin: 0;

  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  font-weight: 500;
  line-height: 1.08;
}

.history-period-copy > p:not(.history-period-number) {
  margin: 1rem 0 1.5rem;

  color: #34302d;
  line-height: 1.7;
}

.history-period-copy .button {
  width: fit-content;
  margin-top: auto;
}


/* ---------------------------------------------------------
   Natural history standalone feature
   --------------------------------------------------------- */

.natural-history-feature {
  max-width: var(--content-width);
  margin: 1.2rem auto 0;

  display: grid;
  grid-template-columns: 0.42fr 1fr;

  background: var(--charcoal);
  color: var(--white);
}

.natural-history-feature-label {
  padding: clamp(2.5rem, 5vw, 4rem);

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  background:
    linear-gradient(
      150deg,
      var(--red-dark),
      var(--red)
    );
}

.natural-history-feature-label .eyebrow {
  color: var(--white);
}

.natural-history-feature-label > span {
  margin-top: 4rem;

  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
}


.natural-history-feature-copy {
  padding: clamp(3rem, 6vw, 5rem);
}

.natural-history-feature-copy h2 {
  max-width: 800px;
  margin: 0;

  font-family: var(--serif);
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 500;
  line-height: 1;
}

.natural-history-feature-copy p {
  max-width: 820px;
  margin: 1.2rem 0 0;

  color: rgba(255, 255, 255, 0.82);
  line-height: 1.75;
}

.natural-history-feature-copy .button {
  margin-top: 1.8rem;
}


/* ---------------------------------------------------------
   Interpretive note
   --------------------------------------------------------- */

.maltese-history-note {
  max-width: var(--content-width);
  margin: 1.2rem auto;
  padding: clamp(2.7rem, 5vw, 4.5rem);

  background: var(--white);
  border-left: 5px solid var(--red);
}

.maltese-history-note > div {
  max-width: 900px;
}

.maltese-history-note h2 {
  margin: 0;

  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  font-weight: 500;
  line-height: 1.07;
}

.maltese-history-note p:not(.eyebrow) {
  max-width: 820px;
  margin: 1.1rem 0 0;

  color: #34302d;
  line-height: 1.75;
}


/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1000px) {

  .history-period-grid {
    grid-template-columns: 1fr;
  }

  .natural-history-feature {
    grid-template-columns: 1fr;
  }

  .natural-history-feature-label > span {
    margin-top: 2rem;
  }

}

@media (max-width: 700px) {

  .maltese-history-hero {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .maltese-history-intro,
  .maltese-history-note {
    padding: 2rem;
  }

  .history-period-card {
    grid-template-columns: 1fr;
  }

  .history-period-date {
    min-height: auto;
    padding: 1rem 1.4rem;

    align-items: center;
  }

  .history-period-copy {
    padding: 2rem;
  }

  .history-period-copy .button {
    width: 100%;
  }

  .natural-history-feature-label,
  .natural-history-feature-copy {
    padding: 2rem;
  }

}
/* =========================================================
   EVENTS & PROGRAMMES
   ========================================================= */


/* ---------------------------------------------------------
   Featured / next event
   --------------------------------------------------------- */

.events-featured-section {
  max-width: var(--content-width);
  margin: 1.2rem auto 0;
  padding: 0 1.5rem;
}


#featured-event {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);

  background: var(--cream);
}


.featured-event-image {
  min-height: 480px;

  overflow: hidden;

  background: var(--charcoal);
}


.featured-event-image img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;
}


.featured-event-image-placeholder {
  display: grid;
  place-items: center;
}


.featured-event-image-placeholder span {
  color: rgba(255, 255, 255, 0.12);

  font-family: var(--serif);
  font-size: clamp(5rem, 12vw, 10rem);
  font-weight: 700;
}


.featured-event-copy {
  padding: clamp(2.5rem, 5vw, 5rem);

  display: flex;
  flex-direction: column;
  justify-content: center;
}


.event-category {
  margin: 0 0 0.6rem;

  color: var(--red-dark);

  font-size: 0.72rem;
  font-weight: 800;

  letter-spacing: 0.1em;

  text-transform: uppercase;
}


.featured-event-copy h2 {
  max-width: 800px;

  margin: 0;

  font-family: var(--serif);

  font-size: clamp(2.4rem, 5vw, 4.7rem);

  font-weight: 500;

  line-height: 1.03;
}


.featured-event-copy > p:not(.eyebrow):not(.event-category) {
  max-width: 780px;

  margin: 1.3rem 0 0;

  color: #34302d;

  line-height: 1.75;
}


.featured-event-meta {
  margin-top: 1.3rem;

  display: flex;
  flex-wrap: wrap;

  gap: 0.45rem;
}


.featured-event-meta span {
  padding: 0.45rem 0.65rem;

  background: var(--white);

  border: 1px solid var(--sand);

  color: #34302d;

  font-size: 0.75rem;

  font-weight: 700;
}


.featured-event-copy .button {
  width: fit-content;

  margin-top: 1.6rem;
}


/* ---------------------------------------------------------
   Section headings
   --------------------------------------------------------- */

.events-calendar-section,
.events-upcoming-section,
.events-past-section {
  max-width: var(--content-width);

  margin: 1.2rem auto 0;

  padding: clamp(2.7rem, 5vw, 4.5rem) 1.5rem;
}


.events-section-heading {
  max-width: 900px;

  margin-bottom: 2rem;
}


.events-section-heading h2 {
  margin: 0;

  font-family: var(--serif);

  font-size: clamp(2.4rem, 4.5vw, 4.2rem);

  font-weight: 500;

  line-height: 1.05;
}


.events-section-heading p:not(.eyebrow) {
  max-width: 750px;

  margin: 1rem 0 0;

  color: #34302d;

  line-height: 1.7;
}


/* ---------------------------------------------------------
   Calendar shell
   --------------------------------------------------------- */

.events-calendar-section {
  background: var(--cream-light);
}


.events-calendar-shell {
  overflow: hidden;

  border: 1px solid var(--sand);

  background: var(--white);
}


.events-calendar-toolbar {
  padding: 1.4rem;

  display: grid;

  grid-template-columns: 50px 1fr 50px;

  align-items: center;

  background: var(--charcoal);

  color: var(--white);
}


.events-calendar-toolbar h3 {
  margin: 0;

  text-align: center;

  font-family: var(--serif);

  font-size: clamp(1.5rem, 3vw, 2.3rem);

  font-weight: 500;
}


.calendar-navigation-button {
  width: 42px;
  height: 42px;

  border: 1px solid rgba(255, 255, 255, 0.3);

  background: transparent;

  color: var(--white);

  cursor: pointer;

  font-size: 1.2rem;
}


.calendar-navigation-button:hover,
.calendar-navigation-button:focus {
  background: var(--red);

  border-color: var(--red);
}


.events-calendar-weekdays {
  display: grid;

  grid-template-columns: repeat(7, 1fr);

  background: var(--red);

  color: var(--white);
}


.events-calendar-weekdays span {
  padding: 0.75rem 0.5rem;

  text-align: center;

  font-size: 0.68rem;

  font-weight: 800;

  letter-spacing: 0.08em;

  text-transform: uppercase;
}


.events-calendar-grid {
  display: grid;

  grid-template-columns: repeat(7, minmax(0, 1fr));
}


.events-calendar-day {
  min-height: 145px;

  padding: 0.7rem;

  position: relative;

  border-right: 1px solid var(--sand);
  border-bottom: 1px solid var(--sand);

  background: var(--white);
}


.events-calendar-day:nth-child(7n) {
  border-right: 0;
}


.events-calendar-day-empty {
  background: #f7f4ef;
}


.events-calendar-date {
  width: 30px;
  height: 30px;

  display: grid;
  place-items: center;

  font-family: var(--serif);

  font-size: 1rem;
}


.events-calendar-day.is-today
.events-calendar-date {
  border-radius: 50%;

  background: var(--charcoal);

  color: var(--white);
}


.events-calendar-day.has-events {
  background: #fbf2f2;
}


.calendar-event {
  width: 100%;

  margin-top: 0.4rem;

  padding: 0.5rem;

  border: 0;

  background: var(--red);

  color: var(--white);

  text-align: left;

  font-size: 0.7rem;

  font-weight: 700;

  line-height: 1.3;

  cursor: pointer;
}


.calendar-event:hover,
.calendar-event:focus {
  background: var(--red-dark);
}


/* ---------------------------------------------------------
   Upcoming / past event cards
   --------------------------------------------------------- */

.events-list {
  display: grid;

  gap: 1rem;
}


.events-list-card {
  min-height: 250px;

  display: grid;

  grid-template-columns: 170px minmax(0, 1fr);

  background: var(--cream);

  border-top: 4px solid var(--red);
}


.events-list-date {
  padding: 2rem;

  display: flex;
  flex-direction: column;

  align-items: center;
  justify-content: center;

  background: var(--charcoal);

  color: var(--white);

  text-align: center;
}


.events-list-date strong {
  font-family: var(--serif);

  font-size: 3.8rem;

  font-weight: 500;

  line-height: 0.9;
}


.events-list-date > span:not(.events-list-tbd) {
  margin-top: 0.5rem;

  font-size: 0.8rem;

  font-weight: 800;

  letter-spacing: 0.1em;

  text-transform: uppercase;
}


.events-list-date small {
  margin-top: 0.2rem;

  color: rgba(255, 255, 255, 0.7);
}


.events-list-tbd {
  font-family: var(--serif);

  font-size: 1.5rem;

  line-height: 1.15;
}


.events-list-copy {
  padding: clamp(1.8rem, 4vw, 3rem);
}


.events-list-copy h3 {
  margin: 0;

  font-family: var(--serif);

  font-size: clamp(1.7rem, 3vw, 2.7rem);

  font-weight: 500;

  line-height: 1.08;
}


.events-list-copy > p:not(.event-category) {
  max-width: 850px;

  margin: 1rem 0 0;

  color: #34302d;

  line-height: 1.7;
}


.events-list-meta {
  margin-top: 1rem;

  display: flex;

  flex-wrap: wrap;

  gap: 0.45rem;
}


.events-list-meta span {
  padding: 0.35rem 0.55rem;

  background: var(--white);

  border: 1px solid var(--sand);

  color: var(--muted);

  font-size: 0.7rem;

  font-weight: 700;
}


.events-list-copy .text-link {
  margin-top: 1.3rem;

  border: 0;

  background: transparent;

  cursor: pointer;

  padding: 0;
}


.events-past-section {
  background: var(--cream-light);
}


.events-list-past
.events-list-card {
  opacity: 0.82;
}


/* ---------------------------------------------------------
   Empty state
   --------------------------------------------------------- */

.events-empty-state {
  padding: 2rem;

  background: var(--cream);

  border-left: 4px solid var(--red);
}


.events-empty-state h2,
.events-empty-state p {
  margin-top: 0;
}


/* ---------------------------------------------------------
   Contact CTA
   --------------------------------------------------------- */

.events-contact-band {
  max-width: var(--content-width);

  margin: 1.2rem auto;

  padding: clamp(2.7rem, 6vw, 5rem);

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 2rem;

  background: var(--red);

  color: var(--white);
}


.events-contact-band .eyebrow {
  color: var(--white);
}


.events-contact-band h2 {
  margin: 0;

  font-family: var(--serif);

  font-size: clamp(2.5rem, 5vw, 4.3rem);

  font-weight: 500;

  line-height: 1;
}


.events-contact-band p:not(.eyebrow) {
  max-width: 800px;

  margin: 1rem 0 0;

  line-height: 1.7;
}


/* =========================================================
   EVENT MODAL
   ========================================================= */

body.event-modal-open {
  overflow: hidden;
}


.event-modal {
  position: fixed;

  inset: 0;

  z-index: 10000;

  display: none;

  padding: 2rem;

  align-items: center;

  justify-content: center;
}


.event-modal.is-open {
  display: flex;
}


.event-modal-backdrop {
  position: absolute;

  inset: 0;

  background: rgba(0, 0, 0, 0.78);

  backdrop-filter: blur(3px);
}


.event-modal-dialog {
  position: relative;

  z-index: 2;

  width: min(900px, 100%);

  max-height: 90vh;

  overflow-y: auto;

  background: var(--white);

  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.35);
}


.event-modal-close {
  position: absolute;

  top: 1rem;
  right: 1rem;

  z-index: 5;

  width: 44px;
  height: 44px;

  border: 0;

  background: var(--red);

  color: var(--white);

  font-size: 1.8rem;

  line-height: 1;

  cursor: pointer;
}


.event-modal-close:hover,
.event-modal-close:focus {
  background: var(--red-dark);
}


.event-modal-image {
  height: 380px;

  overflow: hidden;

  background: var(--charcoal);
}


.event-modal-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;
}


.event-modal-body {
  padding: clamp(2rem, 5vw, 4rem);
}


.event-modal-body h2 {
  max-width: 800px;

  margin: 0;

  font-family: var(--serif);

  font-size: clamp(2.2rem, 4.5vw, 4rem);

  font-weight: 500;

  line-height: 1.04;
}


.event-modal-details {
  margin: 1.7rem 0 0;

  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  border-top: 1px solid var(--sand);
}


.event-modal-details > div {
  padding: 1rem 0;

  border-bottom: 1px solid var(--sand);
}


.event-modal-details dt {
  margin-bottom: 0.25rem;

  color: var(--red-dark);

  font-size: 0.7rem;

  font-weight: 800;

  letter-spacing: 0.08em;

  text-transform: uppercase;
}


.event-modal-details dd {
  margin: 0;

  color: #34302d;

  line-height: 1.5;
}


.event-modal-description {
  margin-top: 1.7rem;
}


.event-modal-description p {
  max-width: 800px;

  color: #34302d;

  line-height: 1.75;
}


.event-modal-actions {
  margin-top: 2rem;

  display: flex;

  flex-wrap: wrap;

  gap: 0.7rem;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {

  #featured-event {
    grid-template-columns: 1fr;
  }


  .featured-event-image {
    min-height: 320px;
  }


  .events-calendar-shell {
    overflow-x: auto;
  }


  .events-calendar-weekdays,
  .events-calendar-grid {
    min-width: 780px;
  }


  .events-list-card {
    grid-template-columns: 130px minmax(0, 1fr);
  }


  .events-contact-band {
    align-items: flex-start;

    flex-direction: column;
  }

}


@media (max-width: 650px) {

  .events-featured-section {
    padding: 0;
  }


  .events-list-card {
    grid-template-columns: 1fr;
  }


  .events-list-date {
    padding: 1.2rem;

    flex-direction: row;

    gap: 0.5rem;
  }


  .events-list-date strong {
    font-size: 2rem;
  }


  .events-list-date > span:not(.events-list-tbd),
  .events-list-date small {
    margin: 0;
  }


  .event-modal {
    padding: 0.5rem;
  }


  .event-modal-details {
    grid-template-columns: 1fr;
  }


  .event-modal-actions {
    flex-direction: column;
  }


  .event-modal-actions .button {
    width: 100%;
  }

}
/* =========================================================
   HOME — EVENTS & DIGITAL DISCOVERY
   ========================================================= */

.home-discovery-section {
  max-width: var(--content-width);

  margin: 3.5rem auto 4rem;

  padding: 0 1.5rem;
}


/* ---------------------------------------------------------
   Primary events feature
   --------------------------------------------------------- */

.home-events-feature {
  display: grid;

  grid-template-columns:
    minmax(320px, 0.9fr)
    minmax(0, 1.1fr);

  min-height: 390px;

  overflow: hidden;

  background: var(--cream);
}


.home-events-image {
  min-height: 390px;

  overflow: hidden;
}


.home-events-image img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;

  filter:
    grayscale(100%)
    saturate(0%)
    contrast(1.08);

  transition:
    filter 0.45s ease,
    transform 0.45s ease;
}


.home-events-feature:hover
.home-events-image img {
  filter:
    grayscale(0%)
    saturate(100%)
    contrast(1);

  transform: scale(1.025);
}


.home-events-copy {
  padding: clamp(2.5rem, 5vw, 4.5rem);

  display: flex;
  flex-direction: column;

  justify-content: center;
}


.home-events-copy h2 {
  margin: 0;

  max-width: 680px;

  font-family: var(--serif);

  font-size:
    clamp(2.5rem, 5vw, 4.4rem);

  font-weight: 500;

  line-height: 1.02;
}


.home-events-copy p:not(.eyebrow) {
  max-width: 680px;

  margin: 1.2rem 0 0;

  color: #34302d;

  line-height: 1.7;
}


.home-events-copy .button {
  width: fit-content;

  margin-top: 1.6rem;
}


/* ---------------------------------------------------------
   Maltese History + Atlas
   --------------------------------------------------------- */

.home-digital-grid {
  margin-top: 1.2rem;

  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 1.2rem;
}


.home-digital-card {
  min-height: 260px;

  padding:
    clamp(2rem, 4vw, 3rem);

  background: var(--white);

  border-top:
    4px solid var(--red);
}


.home-digital-card h3 {
  margin: 0;

  max-width: 550px;

  font-family: var(--serif);

  font-size:
    clamp(1.8rem, 3vw, 2.7rem);

  font-weight: 500;

  line-height: 1.08;
}


.home-digital-card p:not(.eyebrow) {
  max-width: 650px;

  margin: 1rem 0 1.4rem;

  color: #34302d;

  line-height: 1.65;
}


/* ---------------------------------------------------------
   Give the next homepage section breathing room
   --------------------------------------------------------- */

.home-discovery-section + .story-grid {
  margin-top: 4rem;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {

  .home-events-feature {
    grid-template-columns: 1fr;
  }


  .home-events-image {
    min-height: 300px;
  }


  .home-digital-grid {
    grid-template-columns: 1fr;
  }

}


@media (max-width: 650px) {

  .home-discovery-section {
    margin-top: 2.5rem;
    margin-bottom: 3rem;

    padding: 0 1rem;
  }


  .home-events-copy,
  .home-digital-card {
    padding: 2rem;
  }


  .home-events-copy .button {
    width: 100%;
  }

}
/* =========================================================
   LEGAL PAGES
   Privacy Policy / Terms of Use
   ========================================================= */


/* ---------------------------------------------------------
   Hero
   --------------------------------------------------------- */

.legal-hero {
  padding:
    clamp(4.5rem, 9vw, 7.5rem)
    1.5rem;

  background:
    linear-gradient(
      115deg,
      var(--charcoal) 0%,
      #242424 65%,
      var(--red-dark) 165%
    );

  color: var(--white);
}


.legal-hero-inner {
  max-width: var(--content-width);
  margin: 0 auto;
}


.legal-hero .eyebrow {
  color: #e8c7ca;
}


.legal-hero h1 {
  max-width: 1000px;

  margin: 0;

  font-family: var(--serif);

  font-size:
    clamp(3.5rem, 8vw, 7rem);

  font-weight: 500;

  line-height: 0.95;
}


.legal-hero p:not(.eyebrow) {
  max-width: 800px;

  margin: 1.35rem 0 0;

  color:
    rgba(255, 255, 255, 0.84);

  font-size: 1.05rem;

  line-height: 1.7;
}


.legal-hero
.legal-effective-date {
  margin-top: 2rem;

  color:
    rgba(255, 255, 255, 0.6);

  font-size: 0.76rem;

  font-weight: 700;

  letter-spacing: 0.07em;

  text-transform: uppercase;
}


/* ---------------------------------------------------------
   Main layout
   --------------------------------------------------------- */

.legal-layout {
  max-width: var(--content-width);

  margin: 1.2rem auto 4rem;

  padding: 0 1.5rem;

  display: grid;

  grid-template-columns:
    minmax(230px, 0.28fr)
    minmax(0, 1fr);

  gap: 1.2rem;

  align-items: start;
}


/* ---------------------------------------------------------
   Table of contents
   --------------------------------------------------------- */

.legal-toc {
  position: sticky;

  top: 1.5rem;

  padding:
    2rem 1.7rem;

  background: var(--cream);
}


.legal-toc nav {
  margin-top: 1rem;

  display: flex;

  flex-direction: column;
}


.legal-toc nav a {
  padding:
    0.65rem 0;

  color: #34302d;

  border-bottom:
    1px solid var(--sand);

  font-size: 0.78rem;

  font-weight: 700;

  line-height: 1.35;

  text-decoration: none;
}


.legal-toc nav a:last-child {
  border-bottom: 0;
}


.legal-toc nav a:hover,
.legal-toc nav a:focus {
  color: var(--red);
}


/* ---------------------------------------------------------
   Main legal copy
   --------------------------------------------------------- */

.legal-content {
  background: var(--white);
}


.legal-content section {
  padding:
    clamp(2.5rem, 5vw, 4.5rem);

  scroll-margin-top: 2rem;

  border-bottom:
    1px solid var(--sand);
}


.legal-content section:nth-child(even) {
  background: var(--cream-light);
}


.legal-content section:last-child {
  border-bottom: 0;
}


.legal-section-number {
  margin:
    0 0 0.7rem;

  color: var(--red);

  font-family: var(--serif);

  font-size: 2.2rem;

  line-height: 1;
}


.legal-content h2 {
  max-width: 850px;

  margin: 0 0 1.4rem;

  font-family: var(--serif);

  font-size:
    clamp(2rem, 4vw, 3.5rem);

  font-weight: 500;

  line-height: 1.08;
}


.legal-content h3 {
  max-width: 800px;

  margin:
    2rem 0 0.75rem;

  font-family: var(--serif);

  font-size:
    clamp(1.3rem, 2.5vw, 1.8rem);

  font-weight: 500;
}


.legal-content p {
  max-width: 900px;

  margin:
    0 0 1.15rem;

  color: #34302d;

  line-height: 1.75;
}


.legal-content ul {
  max-width: 850px;

  margin:
    1rem 0 1.5rem;

  padding-left: 1.4rem;
}


.legal-content li {
  margin:
    0.55rem 0;

  color: #34302d;

  line-height: 1.6;
}


.legal-content a {
  color: var(--red-dark);

  font-weight: 700;

  text-decoration-thickness: 1px;

  text-underline-offset: 0.15em;
}


.legal-content a:hover,
.legal-content a:focus {
  color: var(--red);
}


/* ---------------------------------------------------------
   Highlight / notice
   --------------------------------------------------------- */

.legal-notice {
  max-width: 850px;

  margin-top: 2rem;

  padding:
    1.5rem 1.7rem;

  background: var(--cream);

  border-left:
    5px solid var(--red);
}


.legal-notice strong {
  display: block;

  margin-bottom: 0.45rem;

  font-family: var(--serif);

  font-size: 1.25rem;
}


.legal-notice p {
  margin: 0;
}


/* ---------------------------------------------------------
   Contact block
   --------------------------------------------------------- */

.legal-contact-card {
  max-width: 650px;

  margin-top: 1.5rem;

  padding:
    1.7rem;

  background: var(--cream);

  border-left:
    5px solid var(--red);

  color: #34302d;

  font-style: normal;

  line-height: 1.65;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 950px) {

  .legal-layout {
    grid-template-columns: 1fr;
  }


  .legal-toc {
    position: static;
  }


  .legal-toc nav {
    display: grid;

    grid-template-columns:
      repeat(2, minmax(0, 1fr));

    column-gap: 1.5rem;
  }

}


@media (max-width: 650px) {

  .legal-hero {
    padding:
      4rem 1.25rem;
  }


  .legal-layout {
    padding:
      0 1rem;
  }


  .legal-toc nav {
    grid-template-columns: 1fr;
  }


  .legal-content section {
    padding:
      2rem;
  }

}
/* =========================================================
   LEGAL PAGES
   Privacy Policy / Terms of Use
   ========================================================= */

.legal-hero {
  padding: clamp(4.5rem, 9vw, 7.5rem) 1.5rem;

  background:
    linear-gradient(
      115deg,
      var(--charcoal) 0%,
      #242424 65%,
      var(--red-dark) 165%
    );

  color: var(--white);
}

.legal-hero-inner {
  max-width: var(--content-width);
  margin: 0 auto;
}

.legal-hero .eyebrow {
  color: #e8c7ca;
}

.legal-hero h1 {
  max-width: 1000px;
  margin: 0;

  font-family: var(--serif);
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 500;
  line-height: 0.95;
}

.legal-hero p:not(.eyebrow) {
  max-width: 800px;
  margin: 1.35rem 0 0;

  color: rgba(255, 255, 255, 0.84);
  font-size: 1.05rem;
  line-height: 1.7;
}

.legal-hero .legal-effective-date {
  margin-top: 2rem;

  color: rgba(255, 255, 255, 0.6);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}


/* =========================================================
   MAIN LEGAL LAYOUT
   ========================================================= */

.legal-layout {
  max-width: var(--content-width);
  margin: 1.2rem auto 4rem;
  padding: 0 1.5rem;

  display: grid;
  grid-template-columns: minmax(240px, 0.28fr) minmax(0, 1fr);
  gap: 1.2rem;

  align-items: start;
}


/* =========================================================
   TABLE OF CONTENTS
   ========================================================= */

.legal-toc {
  position: sticky;
  top: 1.5rem;

  padding: 2rem 1.7rem;

  background: var(--cream);
  border-top: 4px solid var(--red);
}

.legal-toc nav {
  margin-top: 1rem;

  display: flex;
  flex-direction: column;
}

.legal-toc nav a {
  padding: 0.7rem 0;

  color: #34302d;

  border-bottom: 1px solid var(--sand);

  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.35;

  text-decoration: none;
}

.legal-toc nav a:last-child {
  border-bottom: 0;
}

.legal-toc nav a:hover,
.legal-toc nav a:focus {
  color: var(--red);
}


/* =========================================================
   LEGAL CONTENT
   ========================================================= */

.legal-content {
  min-width: 0;

  background: var(--white);
}

.legal-content section {
  padding: clamp(2.5rem, 5vw, 4.5rem);

  scroll-margin-top: 2rem;

  border-bottom: 1px solid var(--sand);
}

.legal-content section:nth-child(even) {
  background: var(--cream-light);
}

.legal-content section:last-child {
  border-bottom: 0;
}

.legal-section-number {
  margin: 0 0 0.7rem;

  color: var(--red);

  font-family: var(--serif);
  font-size: 2.2rem;
  line-height: 1;
}

.legal-content h2 {
  max-width: 850px;

  margin: 0 0 1.4rem;

  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 500;
  line-height: 1.08;
}

.legal-content h3 {
  max-width: 800px;

  margin: 2rem 0 0.75rem;

  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 500;
}

.legal-content p {
  max-width: 900px;

  margin: 0 0 1.15rem;

  color: #34302d;

  line-height: 1.75;
}

.legal-content ul {
  max-width: 850px;

  margin: 1rem 0 1.5rem;

  padding-left: 1.4rem;
}

.legal-content li {
  margin: 0.55rem 0;

  color: #34302d;

  line-height: 1.6;
}

.legal-content a {
  color: var(--red-dark);

  font-weight: 700;

  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

.legal-content a:hover,
.legal-content a:focus {
  color: var(--red);
}


/* =========================================================
   NOTICE BOX
   ========================================================= */

.legal-notice {
  max-width: 850px;

  margin-top: 2rem;
  padding: 1.5rem 1.7rem;

  background: var(--cream);

  border-left: 5px solid var(--red);
}

.legal-notice strong {
  display: block;

  margin-bottom: 0.45rem;

  font-family: var(--serif);
  font-size: 1.25rem;
}

.legal-notice p {
  margin: 0;
}


/* =========================================================
   CONTACT CARD
   ========================================================= */

.legal-contact-card {
  max-width: 650px;

  margin-top: 1.5rem;
  padding: 1.7rem;

  background: var(--cream);

  border-left: 5px solid var(--red);

  color: #34302d;

  font-style: normal;
  line-height: 1.65;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 950px) {

  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-toc {
    position: static;
  }

  .legal-toc nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1.5rem;
  }

}

@media (max-width: 650px) {

  .legal-hero {
    padding: 4rem 1.25rem;
  }

  .legal-layout {
    padding: 0 1rem;
  }

  .legal-toc nav {
    grid-template-columns: 1fr;
  }

  .legal-content section {
    padding: 2rem;
  }

}
/* =========================================================
   MOBILE NAVIGATION
   ========================================================= */


/* Hidden on desktop */
.mobile-menu-toggle {
  display: none;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 850px) {

  .main-nav {
    width: 100%;
    position: relative;

    background: var(--white);
  }


  /* -------------------------------------------------------
     Menu button
     ------------------------------------------------------- */

  .mobile-menu-toggle {
    width: 100%;

    padding: 1rem 1.5rem;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.08);

    background: var(--white);
    color: var(--black);

    font-family: var(--sans);
    font-size: 0.8rem;
    font-weight: 800;

    letter-spacing: 0.08em;

    text-transform: uppercase;

    cursor: pointer;
  }


  .mobile-menu-toggle:hover,
  .mobile-menu-toggle:focus-visible {
    color: var(--red);
  }


  .mobile-menu-icon {
    margin-right: 0.6rem;

    font-size: 1.25rem;
    line-height: 1;
  }


  /* -------------------------------------------------------
     Main menu is CLOSED by default
     ------------------------------------------------------- */

  .main-nav > .main-nav-list {
    width: 100%;

    margin: 0;
    padding: 0;

    display: none;

    flex-direction: column;
    align-items: stretch;

    gap: 0;

    overflow: visible;

    background: var(--white);

    border-top: 1px solid rgba(0, 0, 0, 0.08);
  }


  /* Opened by JavaScript */
  .main-nav.is-mobile-open > .main-nav-list {
    display: flex;
  }


  .main-nav > .main-nav-list > li {
    width: 100%;

    flex: none;

    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }


  /* -------------------------------------------------------
     Main navigation links/buttons
     ------------------------------------------------------- */

  .nav-dropdown-toggle,
  .nav-direct-link,
  .main-nav .search-link {
    width: 100%;

    padding: 1rem 1.5rem;

    display: flex;
    align-items: center;
    justify-content: space-between;

    color: var(--black);

    text-align: left;

    white-space: normal;
  }


  .main-nav .search-link {
    justify-content: flex-start;

    gap: 0.5rem;
  }


  /* -------------------------------------------------------
     Dropdown menus
     ------------------------------------------------------- */

  .nav-dropdown-menu {
    position: static !important;

    width: 100% !important;
    max-width: none;

    margin: 0;

    padding: 0;

    display: none !important;

    border-top: 0;

    box-shadow: none;

    background: var(--cream-light);
  }


  /* Only explicitly opened submenu displays */
  .nav-dropdown.is-open > .nav-dropdown-menu {
    display: block !important;
  }


  .main-nav .nav-dropdown-menu a {
    padding: 1rem 1.8rem;

    border-bottom: 1px solid var(--sand);
  }


  .main-nav .nav-dropdown-menu strong {
    font-size: 1rem;
  }


  .main-nav .nav-dropdown-menu a > span {
    margin-top: 0.25rem;

    font-size: 0.74rem;
    line-height: 1.45;
  }


  /* -------------------------------------------------------
     Chevron
     ------------------------------------------------------- */

  .nav-chevron {
    margin-left: auto;
  }


  .nav-dropdown.is-open .nav-chevron {
    transform: rotate(180deg);
  }

}
/* =========================================================
   ACCESSIBILITY PAGE
   ========================================================= */


/* ---------------------------------------------------------
   Intro
   --------------------------------------------------------- */

.accessibility-intro {
  max-width: var(--content-width);

  margin: 1.2rem auto 0;

  padding: 0 1.5rem;

  display: grid;

  grid-template-columns:
    minmax(0, 1.3fr)
    minmax(320px, 0.7fr);

  gap: 1.2rem;
}


.accessibility-intro-copy {
  padding:
    clamp(2.5rem, 5vw, 4.5rem);

  background: var(--cream);
}


.accessibility-intro-copy h2 {
  max-width: 850px;

  margin: 0;

  font-family: var(--serif);

  font-size:
    clamp(2.4rem, 4.5vw, 4.2rem);

  font-weight: 500;

  line-height: 1.05;
}


.accessibility-intro-copy p:not(.eyebrow) {
  max-width: 850px;

  margin: 1.2rem 0 0;

  color: #34302d;

  line-height: 1.75;
}


.accessibility-intro-copy .accessibility-lead {
  font-family: var(--serif);

  font-size:
    clamp(1.2rem, 2vw, 1.5rem);

  line-height: 1.55;
}


.accessibility-intro-copy .button {
  margin-top: 1.6rem;
}


/* ---------------------------------------------------------
   Contact / warning card
   --------------------------------------------------------- */

.accessibility-contact-card {
  padding:
    clamp(2.2rem, 4vw, 3.2rem);

  background: var(--charcoal);

  color: var(--white);
}


.accessibility-contact-card .eyebrow {
  color: #e8c7ca;
}


.accessibility-contact-card h2 {
  margin: 0;

  font-family: var(--serif);

  font-size:
    clamp(1.8rem, 3vw, 2.8rem);

  font-weight: 500;

  line-height: 1.08;
}


.accessibility-contact-card p:not(.eyebrow) {
  margin: 1.1rem 0 0;

  color:
    rgba(255, 255, 255, 0.8);

  line-height: 1.7;
}


/* ---------------------------------------------------------
   Building access
   --------------------------------------------------------- */

.accessibility-details-section,
.accessibility-support-section {
  max-width: var(--content-width);

  margin: 1.2rem auto 0;

  padding:
    clamp(2.7rem, 5vw, 4.5rem)
    1.5rem;
}


.accessibility-section-heading {
  max-width: 900px;

  margin-bottom: 2rem;
}


.accessibility-section-heading h2 {
  margin: 0;

  font-family: var(--serif);

  font-size:
    clamp(2.4rem, 4.5vw, 4rem);

  font-weight: 500;

  line-height: 1.05;
}


.accessibility-section-heading p:not(.eyebrow) {
  max-width: 800px;

  margin: 1rem 0 0;

  color: #34302d;

  line-height: 1.7;
}


.accessibility-details-grid {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 1.2rem;
}


.accessibility-detail-card {
  min-height: 320px;

  padding:
    clamp(1.8rem, 3vw, 2.6rem);

  background: var(--cream);

  border-top:
    5px solid var(--red);
}


.accessibility-number {
  display: block;

  margin-bottom: 1.3rem;

  color: var(--red);

  font-family: var(--serif);

  font-size: 2.7rem;

  line-height: 1;
}


.accessibility-detail-card h3 {
  margin: 0;

  font-family: var(--serif);

  font-size:
    clamp(1.5rem, 2.5vw, 2.1rem);

  font-weight: 500;

  line-height: 1.1;
}


.accessibility-detail-card p {
  margin: 1rem 0 0;

  color: #34302d;

  line-height: 1.7;
}


.accessibility-detail-important {
  background: var(--charcoal);

  color: var(--white);
}


.accessibility-detail-important h3 {
  color: var(--white);
}


.accessibility-detail-important p {
  color:
    rgba(255, 255, 255, 0.82);
}


.accessibility-detail-important strong {
  color: var(--white);
}


/* ---------------------------------------------------------
   Exhibition accessibility
   --------------------------------------------------------- */

.accessibility-development-section {
  max-width: var(--content-width);

  margin: 1.2rem auto 0;

  padding:
    clamp(3rem, 6vw, 5rem);

  background: var(--white);

  border-left:
    5px solid var(--red);
}


.accessibility-development-section > div {
  max-width: 950px;
}


.accessibility-development-section h2 {
  margin: 0;

  font-family: var(--serif);

  font-size:
    clamp(2.5rem, 5vw, 4.4rem);

  font-weight: 500;

  line-height: 1.04;
}


.accessibility-development-section p:not(.eyebrow) {
  max-width: 900px;

  margin: 1.2rem 0 0;

  color: #34302d;

  line-height: 1.75;
}


/* ---------------------------------------------------------
   Visitor support cards
   --------------------------------------------------------- */

.accessibility-support-section {
  background: var(--cream-light);
}


.accessibility-support-grid {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 1.2rem;
}


.accessibility-support-grid article {
  min-height: 230px;

  padding:
    clamp(1.8rem, 3vw, 2.5rem);

  background: var(--white);

  border-top:
    4px solid var(--red);
}


.accessibility-support-grid h3 {
  margin: 0;

  font-family: var(--serif);

  font-size:
    clamp(1.4rem, 2.3vw, 2rem);

  font-weight: 500;

  line-height: 1.1;
}


.accessibility-support-grid p {
  margin: 1rem 0 0;

  color: #34302d;

  line-height: 1.65;
}


/* ---------------------------------------------------------
   Contact CTA
   --------------------------------------------------------- */

.accessibility-contact-band {
  max-width: var(--content-width);

  margin: 1.2rem auto;

  padding:
    clamp(2.7rem, 6vw, 5rem);

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 2rem;

  background: var(--red);

  color: var(--white);
}


.accessibility-contact-band .eyebrow {
  color: var(--white);
}


.accessibility-contact-band h2 {
  margin: 0;

  font-family: var(--serif);

  font-size:
    clamp(2.5rem, 5vw, 4.3rem);

  font-weight: 500;

  line-height: 1;
}


.accessibility-contact-band p:not(.eyebrow) {
  max-width: 760px;

  margin: 1rem 0 0;

  line-height: 1.7;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 950px) {

  .accessibility-intro {
    grid-template-columns: 1fr;
  }


  .accessibility-details-grid,
  .accessibility-support-grid {
    grid-template-columns: 1fr;
  }


  .accessibility-detail-card {
    min-height: auto;
  }


  .accessibility-contact-band {
    align-items: flex-start;

    flex-direction: column;
  }

}


@media (max-width: 650px) {

  .accessibility-intro {
    padding: 0 1rem;
  }


  .accessibility-intro-copy,
  .accessibility-contact-card,
  .accessibility-development-section {
    padding: 2rem;
  }


  .accessibility-details-section,
  .accessibility-support-section {
    padding:
      2.5rem 1rem;
  }


  .accessibility-contact-band {
    padding: 2rem;
  }


  .accessibility-contact-band .button,
  .accessibility-intro-copy .button {
    width: 100%;
  }

}
/* =========================================================
   OUR LOCATION PAGE
   ========================================================= */


/* ---------------------------------------------------------
   Intro
   --------------------------------------------------------- */

.location-intro {
  max-width: var(--content-width);

  margin: 1.2rem auto 0;

  padding: 0 1.5rem;

  display: grid;

  grid-template-columns:
    minmax(0, 1.15fr)
    minmax(320px, 0.85fr);

  gap: 1.2rem;
}


.location-address-card {
  padding:
    clamp(2.5rem, 5vw, 4.5rem);

  background: var(--cream);
}


.location-address-card h2 {
  margin: 0;

  font-family: var(--serif);

  font-size:
    clamp(2.4rem, 4.5vw, 4.2rem);

  font-weight: 500;

  line-height: 1.05;
}


.location-address-card address {
  margin-top: 1.5rem;

  color: #34302d;

  font-family: var(--serif);

  font-size:
    clamp(1.25rem, 2.3vw, 1.7rem);

  font-style: normal;

  line-height: 1.5;
}


.location-address-card > p:not(.eyebrow) {
  max-width: 700px;

  margin: 1.4rem 0 0;

  color: #34302d;

  line-height: 1.7;
}


.location-actions {
  margin-top: 1.7rem;

  display: flex;

  flex-wrap: wrap;

  gap: 0.75rem;
}


/* ---------------------------------------------------------
   Visit card
   --------------------------------------------------------- */

.location-visit-card {
  padding:
    clamp(2.2rem, 4vw, 3.2rem);

  background: var(--charcoal);

  color: var(--white);
}


.location-visit-card .eyebrow {
  color: #e8c7ca;
}


.location-visit-card h2 {
  margin: 0;

  font-family: var(--serif);

  font-size:
    clamp(2rem, 3.6vw, 3.2rem);

  font-weight: 500;

  line-height: 1.05;
}


.location-visit-card > p:not(.eyebrow) {
  margin: 1.2rem 0 0;

  color:
    rgba(255, 255, 255, 0.78);

  line-height: 1.7;
}


.location-visit-card dl {
  margin:
    1.6rem 0 0;
}


.location-visit-card dl > div {
  padding:
    0.9rem 0;

  border-top:
    1px solid
    rgba(255, 255, 255, 0.15);
}


.location-visit-card dt {
  margin-bottom: 0.25rem;

  color: #e8c7ca;

  font-size: 0.68rem;

  font-weight: 800;

  letter-spacing: 0.09em;

  text-transform: uppercase;
}


.location-visit-card dd {
  margin: 0;

  color: var(--white);

  line-height: 1.5;
}


.location-visit-card a {
  color: var(--white);
}


/* ---------------------------------------------------------
   Map
   --------------------------------------------------------- */

.location-map-section {
  max-width: var(--content-width);

  margin: 1.2rem auto 0;

  padding:
    clamp(2.7rem, 5vw, 4.5rem)
    1.5rem;

  background: var(--cream-light);
}


.location-section-heading {
  max-width: 850px;

  margin-bottom: 2rem;
}


.location-section-heading h2 {
  margin: 0;

  font-family: var(--serif);

  font-size:
    clamp(2.4rem, 4.5vw, 4.2rem);

  font-weight: 500;

  line-height: 1.05;
}


.location-section-heading p:not(.eyebrow) {
  max-width: 750px;

  margin: 1rem 0 0;

  color: #34302d;

  line-height: 1.7;
}


.location-map-frame {
  width: 100%;

  min-height: 520px;

  overflow: hidden;

  background: var(--sand);

  border:
    1px solid var(--sand);
}


.location-map-frame iframe {
  width: 100%;

  height: 520px;

  display: block;

  border: 0;
}


/* =========================================================
   LAND & TREATY ACKNOWLEDGEMENT
   ========================================================= */

.land-acknowledgement-section {
  max-width: var(--content-width);

  margin: 1.2rem auto 0;

  padding:
    clamp(3rem, 6vw, 5rem)
    1.5rem;

  background: var(--white);
}


.land-acknowledgement-heading {
  max-width: 950px;

  margin-bottom: 2rem;
}


.land-acknowledgement-heading h2 {
  margin: 0;

  max-width: 900px;

  font-family: var(--serif);

  font-size:
    clamp(2.7rem, 5vw, 4.8rem);

  font-weight: 500;

  line-height: 1.03;
}


.land-acknowledgement-layout {
  display: grid;

  grid-template-columns:
    minmax(0, 1.35fr)
    minmax(300px, 0.65fr);

  gap: 1.2rem;

  align-items: stretch;
}


/* ---------------------------------------------------------
   Main acknowledgement copy
   --------------------------------------------------------- */

.land-acknowledgement-copy {
  padding:
    clamp(2.5rem, 5vw, 4rem);

  background: var(--cream);
}


.land-acknowledgement-copy p {
  max-width: 900px;

  margin:
    0 0 1.25rem;

  color: #34302d;

  line-height: 1.8;
}


.land-acknowledgement-copy p:last-child {
  margin-bottom: 0;
}


.land-acknowledgement-copy
.land-acknowledgement-lead {
  margin-bottom: 1.5rem;

  font-family: var(--serif);

  font-size:
    clamp(1.35rem, 2.4vw, 1.8rem);

  line-height: 1.55;
}


.land-acknowledgement-copy strong {
  color: var(--black);
}


/* ---------------------------------------------------------
   Treaty information card
   --------------------------------------------------------- */

.land-treaty-card {
  padding:
    clamp(2.2rem, 4vw, 3.2rem);

  background: var(--charcoal);

  color: var(--white);
}


.land-treaty-card .eyebrow {
  color: #e8c7ca;
}


.land-treaty-card dl {
  margin: 1rem 0 0;
}


.land-treaty-card dl > div {
  padding:
    1rem 0;

  border-top:
    1px solid
    rgba(255, 255, 255, 0.14);
}


.land-treaty-card dl > div:first-child {
  border-top: 0;
}


.land-treaty-card dt {
  margin-bottom: 0.3rem;

  color: #e8c7ca;

  font-size: 0.7rem;

  font-weight: 800;

  letter-spacing: 0.09em;

  text-transform: uppercase;
}


.land-treaty-card dd {
  margin: 0;

  color:
    rgba(255, 255, 255, 0.9);

  line-height: 1.55;
}


.land-resource-link {
  margin-top: 1.5rem;

  color: var(--white);
}


.land-resource-link:hover,
.land-resource-link:focus {
  color: #e8c7ca;
}


/* =========================================================
   RECONCILIATION & ACTION
   ========================================================= */

.reconciliation-section {
  max-width: var(--content-width);

  margin: 1.2rem auto 0;

  padding:
    clamp(3.5rem, 7vw, 5.5rem)
    1.5rem;

  background: var(--cream-light);
}


.reconciliation-intro {
  max-width: 1000px;

  margin-bottom: 2.5rem;
}


.reconciliation-intro h2 {
  margin: 0;

  max-width: 900px;

  font-family: var(--serif);

  font-size:
    clamp(2.7rem, 5vw, 4.6rem);

  font-weight: 500;

  line-height: 1.03;
}


.reconciliation-intro p:not(.eyebrow) {
  max-width: 900px;

  margin: 1.2rem 0 0;

  color: #34302d;

  line-height: 1.8;
}


/* ---------------------------------------------------------
   Commitments grid
   --------------------------------------------------------- */

.reconciliation-commitments {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 1px;

  background: var(--sand);

  border:
    1px solid var(--sand);
}


.reconciliation-commitments article {
  min-height: 320px;

  padding:
    clamp(1.8rem, 3vw, 2.5rem);

  background: var(--white);
}


.reconciliation-number {
  display: block;

  margin-bottom: 1.3rem;

  color: var(--red);

  font-family: var(--serif);

  font-size: 2.6rem;

  line-height: 1;
}


.reconciliation-commitments h3 {
  margin: 0;

  font-family: var(--serif);

  font-size:
    clamp(1.4rem, 2.4vw, 2rem);

  font-weight: 500;

  line-height: 1.1;
}


.reconciliation-commitments p {
  margin: 1rem 0 0;

  color: #34302d;

  line-height: 1.7;
}


/* ---------------------------------------------------------
   Closing commitment statement
   --------------------------------------------------------- */

.reconciliation-closing {
  margin-top: 1.2rem;

  padding:
    clamp(2.5rem, 5vw, 4rem);

  background: var(--charcoal);

  color: var(--white);
}


.reconciliation-closing p {
  max-width: 950px;

  margin:
    0 0 1.2rem;

  color:
    rgba(255, 255, 255, 0.86);

  font-family: var(--serif);

  font-size:
    clamp(1.2rem, 2vw, 1.5rem);

  line-height: 1.65;
}


.reconciliation-closing p:last-of-type {
  margin-bottom: 0;
}


.reconciliation-links {
  margin-top: 2rem;

  display: flex;

  flex-wrap: wrap;

  gap: 0.75rem;
}


.reconciliation-closing
.button-outline {
  border-color:
    rgba(255, 255, 255, 0.65);

  color: var(--white);
}


.reconciliation-closing
.button-outline:hover,
.reconciliation-closing
.button-outline:focus {
  border-color: var(--white);

  background: var(--white);

  color: var(--black);
}


/* =========================================================
   BEFORE YOU TRAVEL
   ========================================================= */

.location-planning-section {
  max-width: var(--content-width);

  margin: 1.2rem auto 0;

  padding: 0 1.5rem;

  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    minmax(340px, 0.9fr);

  gap: 1.2rem;
}


.location-planning-copy {
  padding:
    clamp(2.5rem, 5vw, 4.5rem);

  background: var(--white);

  border-left:
    5px solid var(--red);
}


.location-planning-copy h2 {
  max-width: 800px;

  margin: 0;

  font-family: var(--serif);

  font-size:
    clamp(2.3rem, 4.3vw, 4rem);

  font-weight: 500;

  line-height: 1.05;
}


.location-planning-copy p:not(.eyebrow) {
  max-width: 780px;

  margin: 1.2rem 0 0;

  color: #34302d;

  line-height: 1.75;
}


.location-planning-links {
  display: flex;

  flex-direction: column;

  gap: 1px;

  background: var(--sand);

  border:
    1px solid var(--sand);
}


.location-planning-link {
  min-height: 130px;

  padding: 1.5rem;

  display: grid;

  grid-template-columns:
    55px
    minmax(0, 1fr)
    auto;

  gap: 1rem;

  align-items: center;

  background: var(--cream);

  color: var(--black);

  text-decoration: none;
}


.location-planning-link:hover,
.location-planning-link:focus {
  background: var(--cream-light);
}


.location-link-number {
  color: var(--red);

  font-family: var(--serif);

  font-size: 1.8rem;
}


.location-planning-link strong {
  display: block;

  font-family: var(--serif);

  font-size: 1.35rem;

  font-weight: 500;
}


.location-planning-link div span {
  display: block;

  margin-top: 0.3rem;

  color: var(--muted);

  font-size: 0.85rem;

  line-height: 1.5;
}


/* =========================================================
   VISIT CTA
   ========================================================= */

.location-contact-band {
  max-width: var(--content-width);

  margin: 1.2rem auto;

  padding:
    clamp(2.7rem, 6vw, 5rem);

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 2rem;

  background: var(--red);

  color: var(--white);
}


.location-contact-band .eyebrow {
  color: var(--white);
}


.location-contact-band h2 {
  margin: 0;

  font-family: var(--serif);

  font-size:
    clamp(2.5rem, 5vw, 4.4rem);

  font-weight: 500;

  line-height: 1;
}


.location-contact-band p:not(.eyebrow) {
  max-width: 760px;

  margin: 1rem 0 0;

  line-height: 1.7;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1050px) {

  .reconciliation-commitments {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

}


@media (max-width: 950px) {

  .location-intro,
  .location-planning-section,
  .land-acknowledgement-layout {
    grid-template-columns: 1fr;
  }


  .location-map-frame,
  .location-map-frame iframe {
    min-height: 430px;

    height: 430px;
  }


  .location-contact-band {
    align-items: flex-start;

    flex-direction: column;
  }

}


@media (max-width: 700px) {

  .reconciliation-commitments {
    grid-template-columns: 1fr;
  }


  .reconciliation-commitments article {
    min-height: auto;
  }

}


@media (max-width: 650px) {

  .location-intro,
  .location-planning-section {
    padding:
      0 1rem;
  }


  .location-address-card,
  .location-visit-card,
  .location-planning-copy {
    padding: 2rem;
  }


  .location-actions {
    flex-direction: column;
  }


  .location-actions .button {
    width: 100%;
  }


  .location-map-section {
    padding:
      2.5rem 1rem;
  }


  .location-map-frame,
  .location-map-frame iframe {
    min-height: 360px;

    height: 360px;
  }


  .land-acknowledgement-section,
  .reconciliation-section {
    padding:
      2.5rem 1rem;
  }


  .land-acknowledgement-copy,
  .land-treaty-card,
  .reconciliation-closing {
    padding: 2rem;
  }


  .reconciliation-links {
    flex-direction: column;
  }


  .reconciliation-links .button {
    width: 100%;
  }


  .location-planning-link {
    grid-template-columns:
      42px
      minmax(0, 1fr)
      auto;

    padding: 1.25rem;
  }


  .location-contact-band {
    margin-top: 1rem;

    padding: 2rem;
  }


  .location-contact-band .button {
    width: 100%;
  }

}
/* =========================================================
   PREHISTORY PAGE — MEDIA LAYOUT REFINEMENT
   Add this at the VERY BOTTOM of style.css.
   Designed to keep figures aligned with the main reading column
   instead of stretching far beyond the prose.
   ========================================================= */


/* ---------------------------------------------------------
   Constrain all archaeological figures to a readable width
   --------------------------------------------------------- */

.period-section > .period-media-grid,
.period-section > .period-media,
.period-section > .period-model {
  width: min(100%, 900px);
  margin-left: auto;
  margin-right: auto;
}


/* Existing two-image groups */
.period-media-grid {
  margin-top: 2rem;

  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;

  align-items: start;
}


/* Prevent the normal figure margins from doubling inside grids */
.period-media-grid .period-media {
  width: 100%;
  margin: 0;
}


/* Single figures */
.period-media-single {
  margin-top: 2rem;
  margin-bottom: 0;
}


/* ---------------------------------------------------------
   Image treatment
   --------------------------------------------------------- */

.period-media {
  overflow: hidden;
}


.period-media img {
  width: 100%;
  height: auto;

  display: block;

  object-fit: contain;

  background: var(--white);
}


/* Keep unusually tall or large source figures from dominating */
.period-media-single img {
  max-height: 680px;
}


/* ---------------------------------------------------------
   Captions
   --------------------------------------------------------- */

.period-media figcaption {
  padding: 1rem 1.1rem;

  background: var(--cream-light);

  border-left: 3px solid var(--red);

  color: #4a4540;

  font-size: 0.82rem;
  line-height: 1.6;
}


.period-media figcaption strong {
  color: var(--black);
}


.period-media figcaption cite {
  font-style: italic;
}


/* Dark sections still receive a light caption panel for readability */
.period-section-dark .period-media figcaption {
  background: #f4efe7;
  color: #34302d;
}


/* ---------------------------------------------------------
   3D model alignment
   --------------------------------------------------------- */

.period-model {
  margin-top: 2rem;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 760px) {

  .period-media-grid {
    grid-template-columns: 1fr;
  }


  .period-section > .period-media-grid,
  .period-section > .period-media,
  .period-section > .period-model {
    width: 100%;
  }


  .period-media-single img {
    max-height: none;
  }


  .period-media figcaption {
    padding: 0.9rem 1rem;

    font-size: 0.8rem;
  }

}
