:root {
  --ogc-beige: var(--ogc-color-beige);
  --ogc-turquoise: var(--ogc-color-turquoise);
  --ogc-salmon: var(--ogc-color-salmon);
  --ogc-white: var(--ogc-card-bg);
  --ogc-muted: var(--ogc-muted-ink);
  --ogc-black: var(--ogc-ink);
  --site-content-width: 88rem;
  --site-reading-width: 64rem;
  --site-radius: 0.9rem;
  --site-chapter-overlay: rgba(255, 251, 244, 0.68);
  --site-chapter-artwork-shadow: drop-shadow(0 0 0.06rem rgba(23, 54, 58, 0.3)) drop-shadow(0 0.22rem 0.38rem rgba(70, 54, 40, 0.14));
  --site-map-chapter-bg: var(--ogc-menu-bg);
  --site-map-chapter-border: var(--ogc-control-border);
  --site-map-chapter-shadow: 0 0.22rem 0.55rem rgba(70, 54, 40, 0.12);
  --site-map-state-occupied: var(--ogc-color-turquoise);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 20rem;
  background: var(--ogc-page-bg);
}

body {
  display: flex;
  min-height: 100vh;
  margin: 0;
  flex-direction: column;
  background: var(--ogc-page-bg);
  color: var(--ogc-ink);
  font-family: var(--ogc-font-body);
  line-height: 1.5;
}

img,
svg,
iframe {
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-footer {
  background: var(--ogc-turquoise);
}

.page-content {
  width: 100%;
  margin-inline: auto;
  flex: 1 0 auto;
}

.display-title,
.display-subtitle {
  font-family: var(--ogc-font-display);
  font-weight: 400;
}

.display-title {
  margin: 1rem;
  font-size: 2.25rem;
  line-height: 2.5rem;
  text-align: center;
}

.display-subtitle {
  margin: 2rem 1rem;
  font-size: 1.5rem;
  line-height: 2rem;
  text-align: center;
}

.lead {
  font-family: var(--ogc-font-body);
  font-weight: 400;
}

.lead {
  margin: 2rem 1rem;
  font-size: 1.25rem;
  text-align: center;
}

.embed-grid {
  display: grid;
  gap: 0;
  padding: 1rem;
}

.embed-grid iframe {
  width: 100%;
  border: 0;
}

.article-submission {
  margin-block: 2rem;
}

.site-footer {
  color: var(--ogc-white);
}

.footer-content {
  display: grid;
  width: 100%;
  max-width: 80rem;
  margin-inline: auto;
  padding: 1rem;
  align-items: center;
  font-size: 0.875rem;
  text-align: center;
}

.footer-content span {
  padding: 0.25rem;
}

.footer-content a:hover,
.footer-content a:focus-visible {
  color: var(--ogc-salmon);
}

.about-page {
  min-height: 20rem;
}

.about-copy {
  margin: 2rem 5%;
  font-size: 1.25rem;
  font-weight: 400;
  text-align: center;
}

.shows-page {
  padding-top: 2rem;
}

.show-grid {
  display: grid;
  grid-template-columns: 1fr;
  padding: 1rem;
}

.show-card {
  padding: 0.5rem;
  border-bottom: 2px solid var(--ogc-turquoise);
  text-align: center;
}

.show-card h3,
.show-card h4,
.spotify-show h3,
.spotify-show h4 {
  margin: 2rem 0;
  width: 100%;
  font-family: var(--ogc-font-display);
  font-size: 1.5rem;
  font-weight: 400;
  text-align: center;
  text-decoration: underline;
}

.spotify-show a:hover h3,
.spotify-show a:focus-visible h3,
.spotify-show a:hover h4,
.spotify-show a:focus-visible h4 {
  color: var(--ogc-salmon);
}

.show-card img {
  display: block;
  width: 320px;
  margin: 1rem auto;
}

.spotify-show {
  width: min(32rem, calc(100% - 2rem));
  margin: 0 auto 2rem;
  text-align: center;
}

.spotify-show iframe {
  display: block;
  width: 100%;
  height: 80px;
  border: 0;
  border-radius: 0.75rem;
}

/* Functional detail-page layout migrated from the source application. */
.chapter-detail,
.show-detail {
  padding: 1rem;
}

.chapter-detail > h1,
.chapter-detail > h2,
.show-detail > h1 {
  margin: 1rem auto;
  font-family: "Norwester", Impact, sans-serif;
  font-weight: 400;
  text-align: center;
}

.chapters-page.chapter-detail > h1,
.show-detail > h1 {
  font-size: 2.25rem;
  line-height: 2.5rem;
}

.chapter-detail > h2,
.show-detail > h2 {
  max-width: 64rem;
  margin: 1rem auto;
  font-size: 1.25rem;
  line-height: 1.75rem;
  text-align: center;
}

.chapter-detail > img {
  display: block;
  max-height: 30rem;
  margin: 1rem auto;
  object-fit: contain;
}

.chapter-detail > p {
  max-width: 64rem;
  margin: 1rem auto;
  font-size: 1.125rem;
  line-height: 1.75rem;
  text-align: center;
}

.chapter-detail > p a:hover,
.chapter-detail > p a:focus-visible {
  color: var(--ogc-salmon);
}

.show-detail .flex {
  display: flex;
}

.show-detail .justify-center {
  justify-content: center;
}

.show-detail > .flex iframe {
  width: min(52.5rem, 100%);
  max-width: 100%;
  border: 0;
}

.show-detail > .grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding: 1rem;
}

.show-detail > .grid iframe {
  width: 100%;
  border: 0;
}

.video-grid {
  display: grid;
  gap: 2rem;
  padding: 1rem 2rem;
}

.video-grid iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

/* Chapter page utilities retained from the source layout. */
.chapters-page .text-center {
  text-align: center;
}

.chapters-page .text-4xl,
.chapters-page .text-3xl,
.chapters-page article h2,
.chapters-page .text-xl,
.chapters-page a h2 {
  font-family: var(--ogc-font-display);
  font-weight: 400;
}

.chapters-page .text-4xl {
  font-size: 2.25rem;
  line-height: 2.5rem;
}

.chapters-page .text-3xl {
  font-size: 1.875rem;
  line-height: 2.25rem;
}

.chapters-page .text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}

.chapters-page .text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.chapters-page .text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.chapters-page .underline {
  text-decoration: underline;
}

.chapters-page a:hover h2,
.chapters-page a:focus-visible h2 {
  color: var(--ogc-salmon);
}

.chapters-page .my-4 {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.chapters-page .my-8 {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.chapters-page .mt-12 {
  margin-top: 3rem;
}

.chapters-page .mb-4 {
  margin-bottom: 1rem;
}

.chapters-page .mb-8 {
  margin-bottom: 2rem;
}

.chapters-page .mx-16 {
  margin-right: 4rem;
  margin-left: 4rem;
  font-family: var(--ogc-font-body);
  font-weight: 400;
}

.chapters-page .grid {
  display: grid;
}

.chapters-page .grid-cols-1 {
  grid-template-columns: 1fr;
}

.chapters-page .p-2 {
  padding: 0.5rem;
}

.chapters-page .p-4 {
  padding: 1rem;
}

.chapters-page .border-t-2 {
  border-top: 2px solid var(--ogc-turquoise);
}

.chapters-page .border-t-4 {
  border-top: 4px solid var(--ogc-turquoise);
}

.chapters-page .border-b-2 {
  border-bottom: 2px solid var(--ogc-turquoise);
}

.chapters-page .border-b-4 {
  border-bottom: 4px solid var(--ogc-turquoise);
}

.chapters-page .block {
  display: block;
}

.chapters-page .mx-auto {
  margin-right: auto;
  margin-left: auto;
}

.chapters-page img {
  max-height: 22rem;
  object-fit: contain;
}

.chapters-page .flex {
  display: flex;
}

.chapters-page .items-center {
  align-items: center;
}

.chapters-page .justify-center {
  justify-content: center;
}

.chapters-page .relative {
  position: relative;
}

.chapters-page .h-3\/4,
.chapters-page .w-3\/4 {
  width: 75%;
}

.chapter-bg-virginia,
.chapter-bg-new-england,
.chapter-bg-alabama,
.chapter-bg-florida {
  background-position: center;
  background-size: cover;
  background-color: rgba(255, 255, 255, 0.5);
  background-blend-mode: overlay;
}

.chapter-bg-virginia {
  background-image: url("/assets/media/virginia-bg.jpg");
}

.chapter-bg-new-england {
  background-image: url("/assets/media/new-england-bg.jpg");
  background-position: top;
}

.chapter-bg-alabama {
  background-image: url("/assets/media/alabama-bg.jpg");
  background-position: top;
}

.chapter-bg-florida {
  background-image: url("/assets/media/florida-bg.jpg");
}

/* Chapter map */
.map-results {
  display: block;
  max-width: 52rem;
  margin-inline: auto;
  padding: 0 1rem;
}

.map-result {
  text-align: center;
}

.map-result[hidden] {
  display: none;
}

.map-result h2 {
  margin: 0;
  font-family: var(--ogc-font-display);
  font-size: 1.25rem;
  font-weight: 400;
}

.map-chapter-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.map-chapter-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ogc-turquoise);
  font-family: var(--ogc-font-body);
  text-decoration: underline;
  text-align: left;
}

.map-chapter-link img {
  width: 5rem;
  height: 5rem;
  flex: 0 0 5rem;
  object-fit: contain;
}

.map-chapter-link:hover,
.map-chapter-link:focus-visible {
  color: var(--ogc-salmon);
}

.usa-map {
  display: block;
  width: 100%;
  height: auto;
  margin-inline: auto;
}

.map-state {
  cursor: pointer;
  outline: none;
}

.map-state path {
  stroke: var(--ogc-salmon);
  transition: fill 0.3s, stroke 0.3s;
}

.map-state.has-chapters path {
  fill: var(--site-map-state-occupied);
}

.map-state.no-chapters path {
  fill: var(--ogc-beige);
}

.map-state:hover path,
.map-state:focus-visible path,
.map-state.selected path {
  fill: var(--ogc-salmon);
  stroke: var(--ogc-turquoise);
  stroke-width: 2;
}

.map-state text {
  fill: #333;
  font-size: 12px;
  font-weight: 600;
  pointer-events: none;
  text-anchor: middle;
  dominant-baseline: middle;
  user-select: none;
}

@media (min-width: 40rem) {
  .embed-grid--two,
  .show-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .video-grid--standard > iframe:last-child:nth-child(odd) {
    width: calc(50% - 0.625rem);
    grid-column: 1 / -1;
    justify-self: center;
  }

  .embed-grid--three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }

  .show-detail > .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-submission {
    margin-block: 4rem;
  }

  .footer-content {
    display: flex;
    justify-content: space-between;
  }

  .about-copy {
    margin-inline: 20%;
  }

  .show-card:nth-child(odd) {
    border-right: 2px solid var(--ogc-turquoise);
  }

  .show-card:nth-child(even) {
    border-left: 2px solid var(--ogc-turquoise);
  }

  .chapters-page .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .chapters-page .md\:border-r-2 {
    border-right: 2px solid var(--ogc-turquoise);
  }

  .chapters-page .md\:border-l-2 {
    border-left: 2px solid var(--ogc-turquoise);
  }

  .chapters-page .md\:border-t-2 {
    border-top: 2px solid var(--ogc-turquoise);
  }

  .chapters-page .md\:border-b-4 {
    border-bottom: 4px solid var(--ogc-turquoise);
  }

  .chapters-page .md\:border-b-0 {
    border-bottom: 0;
  }
}

@media (min-width: 64rem) {
  .embed-grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .show-detail > .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 80rem) {
  .lead {
    margin-right: 16rem;
    margin-left: 16rem;
  }
}

/* Theme-backed application polish. Shared colors, typography, focus treatment,
   and dark mode come from the pinned jamestown-ogc-web-theme stylesheet. */

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 0.9rem;
  border-radius: 0.4rem;
  background: var(--ogc-button-bg);
  color: var(--ogc-button-ink) !important;
  font-weight: 700;
  transform: translateY(-200%);
  transition: transform 120ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  background: var(--ogc-menu-bg);
}

.footer-content a:focus-visible,
.show-card a:focus-visible,
.spotify-show a:focus-visible,
.chapters-page a:focus-visible,
.map-result a:focus-visible {
  outline: 2px solid var(--ogc-link);
  outline-offset: 3px;
}

.page-content {
  max-width: var(--site-content-width);
  padding: 2.25rem clamp(1rem, 3vw, 2.5rem) 4rem;
}

.display-title,
.chapters-page .text-4xl {
  margin: 0 auto 1rem;
  color: var(--ogc-scope-ink);
  font-size: clamp(2.35rem, 1.7rem + 3vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: 0.01em;
}

.display-subtitle {
  max-width: 56rem;
  margin: 1.25rem auto 2rem;
  color: var(--ogc-ink);
  font-size: clamp(1.35rem, 1.05rem + 1vw, 2rem);
  line-height: 1.25;
}

.lead {
  color: var(--ogc-muted-ink);
  line-height: 1.55;
}

.lead {
  max-width: var(--site-reading-width);
  margin: 2rem auto;
}

.embed-grid {
  gap: 1.25rem;
  padding: 1rem 0;
}

.embed-grid iframe,
.video-grid iframe,
.spotify-show iframe {
  border: 1px solid var(--ogc-card-border);
  border-radius: var(--site-radius);
  background: var(--ogc-card-bg);
  box-shadow: 0 0.65rem 1.8rem var(--ogc-card-shadow);
}

.article-submission {
  display: grid;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--ogc-card-border);
  border-radius: var(--site-radius);
  background: var(--ogc-card-bg);
  box-shadow: 0 0.65rem 1.8rem var(--ogc-card-shadow);
  color: var(--ogc-ink);
  gap: 0.75rem;
}

.article-submission h2 {
  margin: 0;
  color: var(--ogc-scope-ink);
  font-size: clamp(1.45rem, 1.2rem + 0.7vw, 2rem);
}

.article-submission p {
  max-width: none;
  margin: 0;
  color: var(--ogc-muted-ink);
  line-height: 1.7;
}

.home-page {
  width: 100%;
  max-width: none;
  padding: 0;
}

.home-hero {
  display: block;
  overflow: hidden;
  border-bottom: 1px solid var(--ogc-card-border);
  background: var(--ogc-page-bg);
}

.home-hero-masthead {
  display: grid;
  min-height: clamp(17rem, 30vw, 21rem);
  padding: clamp(2.5rem, 6vw, 4rem);
  place-items: center;
  border-bottom: 1px solid var(--ogc-card-border);
}

.home-hero-portraits {
  display: grid;
  height: clamp(32rem, 62svh, 44rem);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: #14272a;
}

.home-hero-portrait {
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border-right: 1px solid rgba(232, 216, 203, 0.38);
  background: #14272a;
}

.home-hero-portrait:last-child {
  border-right: 0;
}

.home-hero-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.06) brightness(0.92);
  transform: scale(1.015);
}

.home-hero-portrait--washington img {
  object-position: 47% 30%;
}

.home-hero-portrait--adams img {
  object-position: 50% 28%;
}

.home-hero-portrait--jefferson img,
.home-hero-portrait--madison img {
  object-position: 50% 28%;
}

.home-hero-mark {
  display: block;
  width: clamp(15rem, 22vw, 21rem);
}

.home-hero-mark img {
  display: block;
  width: 100%;
  height: auto;
}

.home-mission {
  max-width: 76rem;
  margin-inline: auto;
  padding: clamp(4.5rem, 9vw, 8rem) clamp(1.25rem, 5vw, 4rem);
  text-align: center;
  scroll-margin-top: 5rem;
}

.section-eyebrow {
  margin: 0 0 1rem;
  color: var(--ogc-link);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.home-mission h2 {
  max-width: 24ch;
  margin: 0 auto 1.5rem;
  color: var(--ogc-scope-ink);
  font-size: clamp(2rem, 1.45rem + 2.1vw, 3.75rem);
  line-height: 1.08;
}

.home-mission > p:not(.section-eyebrow) {
  max-width: 68ch;
  margin: 0 auto;
  color: var(--ogc-muted-ink);
  font-size: clamp(1.08rem, 1rem + 0.35vw, 1.3rem);
  line-height: 1.75;
}

.home-actions {
  display: flex;
  margin-top: 2.25rem;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
}

.home-action {
  display: inline-flex;
  min-height: 3rem;
  padding: 0.78rem 1.15rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ogc-control-border);
  border-radius: 0.65rem;
  background: var(--ogc-card-bg);
  color: var(--ogc-ink);
  font-weight: 800;
  text-decoration: none;
  transition: background 120ms ease, border-color 120ms ease, color 120ms ease, transform 120ms ease;
}

.home-action--primary {
  border-color: var(--ogc-scope-ink);
  background: var(--ogc-scope-ink);
  color: var(--ogc-page-bg) !important;
}

.home-action:hover,
.home-action:focus-visible {
  border-color: var(--ogc-link);
  background: var(--ogc-surface-hover);
  color: var(--ogc-ink);
  transform: translateY(-2px);
}

.home-action--primary:hover,
.home-action--primary:focus-visible {
  border-color: var(--ogc-link);
  background: var(--ogc-link);
  color: var(--ogc-page-bg) !important;
}

.home-portals {
  padding: clamp(3rem, 6vw, 5rem) clamp(1.25rem, 4vw, 3rem);
  border-top: 1px solid var(--ogc-card-border);
  background: var(--ogc-surface-subtle);
}

.home-portals > h2 {
  margin: 0 0 2rem;
  color: var(--ogc-scope-ink);
  font-family: var(--ogc-font-display);
  font-size: clamp(1.8rem, 1.45rem + 1.2vw, 2.75rem);
  text-align: center;
  text-transform: uppercase;
}

.home-portal-grid {
  display: grid;
  max-width: var(--site-content-width);
  margin-inline: auto;
  gap: 1rem;
}

.home-portal {
  display: flex;
  min-height: 11rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  align-items: flex-start;
  flex-direction: column;
  justify-content: flex-start;
  border: 1px solid var(--ogc-card-border);
  border-radius: var(--site-radius);
  background: var(--ogc-card-bg);
  box-shadow: 0 0.65rem 1.8rem var(--ogc-card-shadow);
  color: var(--ogc-ink);
  text-align: left;
  text-decoration: none;
  transition: border-color 120ms ease, transform 120ms ease;
}

.home-portal span {
  color: var(--ogc-scope-ink);
  font-family: var(--ogc-font-display);
  font-size: clamp(1.7rem, 1.45rem + 0.8vw, 2.35rem);
  line-height: 1;
  text-transform: uppercase;
}

.home-portal small {
  margin-top: 0.75rem;
  color: var(--ogc-muted-ink);
  font-size: 0.98rem;
  line-height: 1.5;
}

.home-portal:hover,
.home-portal:focus-visible {
  border-color: var(--ogc-link);
  transform: translateY(-3px);
}

.shows-page {
  padding-top: 2.25rem;
}

.show-grid {
  gap: 1rem;
  padding: 1rem 0;
}

.show-card {
  padding: 0;
  border: 0 !important;
  background: transparent;
  box-shadow: none;
  text-align: left;
}

.show-card > a {
  display: flex;
  height: 100%;
  padding: 1.25rem;
  align-items: flex-start;
  flex-direction: column;
  border: 1px solid var(--ogc-card-border);
  border-radius: var(--site-radius);
  background: var(--ogc-card-bg);
  box-shadow: 0 0.65rem 1.8rem var(--ogc-card-shadow);
  color: var(--ogc-ink);
  text-decoration: none;
  transition: border-color 120ms ease, transform 120ms ease;
}

.show-card > a:hover,
.show-card > a:focus-visible {
  border-color: var(--ogc-link);
  transform: translateY(-3px);
}

.show-card h3,
.show-card h4,
.spotify-show h3,
.spotify-show h4 {
  margin: 0.5rem 0 1.25rem;
  width: 100%;
  color: var(--ogc-ink);
  font-family: var(--ogc-font-display);
  font-weight: 400;
  text-align: center;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.show-card img {
  margin: 0 auto;
  border-radius: 0.65rem;
}

.spotify-show {
  padding: 1.25rem;
  border: 1px solid var(--ogc-card-border);
  border-radius: var(--site-radius);
  background: var(--ogc-card-bg);
  box-shadow: 0 0.65rem 1.8rem var(--ogc-card-shadow);
}

.spotify-show > a {
  display: block;
  color: var(--ogc-ink);
  text-decoration: none;
}

.spotify-show iframe {
  height: 80px;
}

.video-grid {
  gap: 1.25rem;
  padding: 1rem 0;
}

.about-page {
  display: grid;
  min-height: min(65vh, 42rem);
  place-content: center;
}

.about-page .display-subtitle,
.about-copy {
  width: min(58rem, 100%);
  margin-right: auto;
  margin-left: auto;
}

.about-copy {
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--ogc-card-border);
  border-radius: var(--site-radius);
  background: var(--ogc-card-bg);
  box-shadow: 0 0.65rem 1.8rem var(--ogc-card-shadow);
  color: var(--ogc-muted-ink);
  font-family: var(--ogc-font-body);
  font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.3rem);
  line-height: 1.65;
}

.chapters-page > h2,
.chapters-page > a > h2 {
  color: var(--ogc-ink);
}

.chapters-page > .founding-intro {
  max-width: 62ch;
  margin: 1.25rem auto 2.5rem;
  color: var(--ogc-muted-ink);
  font-family: var(--ogc-font-body);
  font-size: clamp(1rem, 0.94rem + 0.25vw, 1.15rem);
  font-weight: 400;
  hyphens: auto;
  line-height: 1.7;
  text-align: justify;
  text-wrap: pretty;
}

.chapters-page > .grid {
  gap: 1rem;
  padding: 0;
}

.chapters-page > .grid > div {
  position: relative;
  overflow: hidden;
  padding: clamp(1rem, 2.5vw, 1.6rem);
  border: 1px solid var(--ogc-card-border) !important;
  border-radius: var(--site-radius);
  background-color: var(--ogc-card-bg);
  box-shadow: 0 0.65rem 1.8rem var(--ogc-card-shadow);
  text-align: center;
}

.chapters-page > .grid > div:has(> a:first-child[href^="/chapters/"]) {
  cursor: pointer;
}

.chapters-page > .grid > div > a:first-child[href^="/chapters/"]::after {
  position: absolute;
  z-index: 2;
  content: "";
  inset: 0;
}

.chapter-bg-virginia,
.chapter-bg-new-england,
.chapter-bg-alabama,
.chapter-bg-florida {
  background-color: var(--site-chapter-overlay) !important;
  background-blend-mode: overlay;
}

.chapters-page > .grid > div h2 {
  margin-top: 0.75rem;
  color: var(--ogc-ink);
  font-size: clamp(1.35rem, 1.1rem + 0.7vw, 1.8rem);
}

.chapters-page > .grid > div h3 {
  max-width: 60ch;
  margin-right: auto;
  margin-left: auto;
  color: var(--ogc-muted-ink);
  font-family: var(--ogc-font-body);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
}

.chapters-page > .grid > div p.text-center {
  max-width: 72ch;
  margin-right: auto;
  margin-left: auto;
  color: var(--ogc-ink);
  hyphens: auto;
  line-height: 1.65;
  text-align: justify;
  text-wrap: pretty;
}

.chapters-page > .grid img {
  padding: 0;
  border-radius: 0.65rem;
  background: transparent;
}

.chapters-page > .grid img,
.chapters-page.chapter-detail > img,
.map-chapter-link img {
  filter: var(--site-chapter-artwork-shadow);
}

.map-page {
  min-height: 70vh;
}

.map-results {
  padding: 0 0 1rem;
}

.map-result {
  padding: 0.85rem;
  border: 1px solid var(--ogc-card-border);
  border-radius: 0.65rem;
  background: var(--ogc-card-bg);
  box-shadow: 0 0.35rem 1rem var(--ogc-card-shadow);
}

.map-result h2 {
  color: var(--ogc-ink);
}

.map-chapter-link {
  padding: 0.65rem;
  border: 1px solid var(--site-map-chapter-border);
  border-radius: 0.6rem;
  background: var(--site-map-chapter-bg);
  box-shadow: var(--site-map-chapter-shadow);
  color: var(--ogc-link);
  text-decoration: none;
}

.map-chapter-link span {
  color: inherit;
  font-family: var(--ogc-font-display);
  font-size: 1.05rem;
  line-height: 1.25;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.map-chapter-link:hover,
.map-chapter-link:focus-visible {
  border-color: var(--ogc-color-salmon);
}

.map-empty {
  margin: 0.65rem 0 0;
  color: var(--ogc-muted-ink);
}

.usa-map {
  padding: clamp(0.5rem, 2vw, 1.5rem);
  border: 1px solid var(--ogc-card-border);
  border-radius: var(--site-radius);
  background: var(--ogc-surface-1);
  box-shadow: 0 0.65rem 1.8rem var(--ogc-card-shadow);
}

.map-state.has-chapters path {
  fill: var(--site-map-state-occupied);
}

.map-state.no-chapters path {
  fill: var(--ogc-surface-3);
}

.map-state text {
  fill: var(--ogc-ink);
}

.map-state:hover path,
.map-state:focus-visible path,
.map-state.selected path {
  fill: var(--ogc-color-salmon);
  stroke: var(--ogc-color-salmon);
  stroke-width: 1;
}

.map-state:hover text,
.map-state:focus-visible text,
.map-state.selected text {
  fill: var(--ogc-danger-ink);
}

.site-footer {
  border-top: 1px solid var(--ogc-control-border);
  background: var(--ogc-surface-1);
  color: var(--ogc-muted-ink);
}

.footer-content {
  max-width: var(--site-content-width);
  gap: 0.5rem 1.25rem;
  padding: 1.25rem clamp(1rem, 3vw, 2.5rem);
}

.footer-content a {
  color: var(--ogc-link);
}

.footer-content a:hover,
.footer-content a:focus-visible,
.spotify-show a:hover h3,
.spotify-show a:focus-visible h3,
.spotify-show a:hover h4,
.spotify-show a:focus-visible h4,
.chapters-page a:hover h2,
.chapters-page a:focus-visible h2,
.map-result a:hover,
.map-result a:focus-visible {
  color: var(--ogc-color-salmon);
}

/* Shared editorial hierarchy for index pages. */

.page-intro,
.page-section-intro,
.chapter-program-header p {
  color: var(--ogc-muted-ink);
  font-family: var(--ogc-font-body);
  font-weight: 400;
  line-height: 1.7;
  text-align: center;
  text-wrap: pretty;
}

.page-intro {
  width: min(62ch, 100%);
  margin: 1.25rem auto 2.5rem;
  font-size: clamp(1rem, 0.94rem + 0.25vw, 1.15rem);
}

.page-section {
  margin: 3rem auto 0;
  padding-top: 3rem;
  border-top: 1px solid var(--ogc-control-border);
}

.page-section-header {
  width: min(68rem, 100%);
  margin: 0 auto 1.25rem;
  text-align: center;
}

.page-section-title,
.chapter-program-title {
  color: var(--ogc-scope-ink);
  font-family: var(--ogc-font-display);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.05;
  text-align: center;
  text-wrap: balance;
}

.page-section-title {
  margin: 0;
  font-size: clamp(1.9rem, 1.45rem + 1.7vw, 3rem);
}

.page-section-title::after {
  display: block;
  width: 4.5rem;
  height: 0.2rem;
  margin: 1rem auto 0;
  border-radius: 999px;
  background: var(--ogc-color-salmon);
  content: "";
}

.page-section-intro {
  width: min(62ch, 100%);
  margin: 1.25rem auto 0;
  font-size: clamp(1rem, 0.94rem + 0.25vw, 1.15rem);
}

.chapter-programs {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.chapter-program {
  min-width: 0;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--ogc-card-border);
  border-radius: var(--site-radius);
  background: var(--ogc-surface-1);
  box-shadow: 0 0.65rem 1.8rem var(--ogc-card-shadow);
}

.chapter-program-title {
  margin: 0;
  font-size: clamp(1.55rem, 1.25rem + 1vw, 2.2rem);
}

.chapter-program-header p {
  width: min(58ch, 100%);
  margin: 0.85rem auto 0;
}

.chapter-program .show-grid {
  margin-top: 0.75rem;
}

.chapter-program .spotify-show {
  width: min(36rem, 100%);
  margin: 1.75rem auto 0;
}

.event-meta {
  margin: 0 0 0.75rem;
  color: var(--ogc-color-salmon);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-align: center;
  text-transform: uppercase;
}

.event-resource {
  margin-top: 2.75rem;
  padding-top: 2rem;
  border-top: 1px solid var(--ogc-card-border);
}

.event-resource-title {
  margin: 0 auto 0.5rem;
  color: var(--ogc-ink);
  font-family: var(--ogc-font-body);
  font-size: clamp(1.15rem, 1rem + 0.5vw, 1.45rem);
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}

.map-intro {
  margin-bottom: 1.75rem;
}

/* Detail-page renovation. The migrated templates retain the source content;
   these semantic wrappers supply the deployment's theme-backed presentation. */

.chapter-detail,
.show-detail {
  min-height: 65vh;
}

.chapter-detail > h1,
.show-detail > h1 {
  max-width: 18ch;
  margin-bottom: 1.25rem;
  color: var(--ogc-scope-ink);
  font-family: var(--ogc-font-display);
  font-size: clamp(2.35rem, 1.7rem + 3vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: 0.01em;
  text-wrap: balance;
}

.chapters-page.chapter-detail > h2,
.show-detail > h2,
.chapters-page.chapter-detail > h3 {
  width: min(64rem, 100%);
  margin: 1.25rem auto 2rem;
  color: var(--ogc-muted-ink);
  font-family: var(--ogc-font-body);
  font-size: clamp(1.05rem, 0.94rem + 0.55vw, 1.4rem);
  font-weight: 400;
  line-height: 1.65;
  text-align: center;
  text-wrap: pretty;
}

.chapters-page.chapter-detail > h2:empty {
  display: none;
}

.chapters-page.chapter-detail > img {
  width: auto;
  max-width: min(32rem, 100%);
  max-height: 32rem;
  margin: 1.75rem auto 2.25rem;
  padding: 0;
  border: 0;
  border-radius: var(--site-radius);
  background: transparent;
  box-shadow: none;
}

.chapters-page.chapter-detail > p {
  width: min(68ch, 100%);
  margin: 1rem auto;
  color: var(--ogc-ink);
  font-size: clamp(1.02rem, 0.96rem + 0.22vw, 1.15rem);
  hyphens: auto;
  line-height: 1.75;
  text-align: justify;
  text-wrap: pretty;
}

.chapters-page.chapter-detail > p:first-of-type {
  margin-top: 2rem;
}

.chapters-page.chapter-detail > p:last-of-type {
  margin-bottom: 0;
}

.chapters-page.chapter-detail > p a {
  color: var(--ogc-link);
  font-weight: 700;
  text-underline-offset: 0.16em;
}

.chapter-detail > .grid {
  gap: 1rem;
  padding: 0;
}

.show-detail > h2 {
  max-width: 56rem;
}

.show-detail > .flex {
  width: min(58rem, 100%);
  margin: 0 auto;
  padding: clamp(0.5rem, 1.5vw, 0.85rem);
  border: 1px solid var(--ogc-card-border);
  border-radius: var(--site-radius);
  background: var(--ogc-card-bg);
  box-shadow: 0 0.65rem 1.8rem var(--ogc-card-shadow);
}

.show-detail > .flex iframe {
  display: block;
  border-radius: calc(var(--site-radius) - 0.3rem);
  background: var(--ogc-surface-3);
}

.show-detail > .flex iframe[src*="youtube.com"] {
  height: auto;
  aspect-ratio: 16 / 9;
}

.show-detail > .flex iframe[src*="open.spotify.com"] {
  height: 80px;
}

.show-detail > .grid {
  gap: 1rem;
  padding: 0;
}

.show-detail > .grid > div {
  min-width: 0;
  padding: 0.5rem;
  border: 1px solid var(--ogc-card-border);
  border-radius: var(--site-radius);
  background: var(--ogc-card-bg);
  box-shadow: 0 0.65rem 1.8rem var(--ogc-card-shadow);
}

.show-detail > .grid iframe {
  display: block;
  min-width: 0;
  border-radius: calc(var(--site-radius) - 0.35rem);
  background: var(--ogc-surface-3);
}

@media (prefers-color-scheme: dark) {
  :root {
    --site-chapter-overlay: rgba(10, 26, 29, 0.82);
    --site-chapter-artwork-shadow: drop-shadow(0 0.18rem 0.32rem rgba(10, 26, 29, 0.24));
    --site-map-chapter-bg: var(--ogc-surface-2);
    --site-map-chapter-border: var(--ogc-card-border);
    --site-map-chapter-shadow: none;
    --site-map-state-occupied: var(--ogc-card-bg);
  }

}

@media (min-width: 40rem) {
  .show-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .chapters-page > .grid.md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .chapter-detail > .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (min-width: 64rem) {
  .article-submission {
    align-items: start;
    grid-template-columns: minmax(12rem, 0.35fr) minmax(0, 1fr);
    gap: clamp(2rem, 4vw, 4rem);
  }

  .home-portal-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 39.99rem) {
  .page-content {
    padding-top: 1.75rem;
  }

  .embed-grid iframe {
    min-height: 34rem;
  }

  .chapters-page .mx-16 {
    margin-right: 0;
    margin-left: 0;
  }

  .chapters-page.chapter-detail > h1,
  .show-detail > h1 {
    font-size: clamp(2.2rem, 12vw, 3.4rem);
  }

  .show-detail > .grid iframe {
    min-height: 38rem;
  }

  .home-hero {
    min-height: 0;
  }

  .home-hero-masthead {
    min-height: 13rem;
    padding: 2rem 1.25rem;
  }

  .home-hero-portraits {
    height: clamp(30rem, 66svh, 38rem);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
  }

  .home-hero-portrait {
    border-right: 1px solid rgba(232, 216, 203, 0.38);
    border-bottom: 1px solid rgba(232, 216, 203, 0.38);
  }

  .home-hero-portrait:nth-child(even) {
    border-right: 0;
  }

  .home-hero-portrait:nth-child(n + 3) {
    border-bottom: 0;
  }

  .home-hero-mark {
    width: min(50vw, 12.5rem);
  }

  .home-mission {
    padding-block: 4.5rem;
  }

  .home-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .home-action {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
