:root {
  --sea: #183d3a;
  --sea-dark: #092724;
  --red: #b8322a;
  --parchment: #f5efe3;
  --paper: #fffaf2;
  --ink: #202020;
  --muted: #68645b;
  --brass: #c59a4a;
  --line: rgba(32, 32, 32, 0.14);
}

body {
  margin: 0;
  background: var(--parchment);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

h1,
h2,
h3,
h4,
.brand-copy,
.footer-brand {
  font-family: "Playfair Display", Georgia, serif;
  letter-spacing: 0;
}

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

.site-header {
  background: var(--sea);
  border-bottom: 1px solid rgba(255, 250, 242, 0.14);
}

.navbar .container-xl {
  min-height: 72px;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--brass);
  color: var(--brass);
  font-weight: 700;
  font-size: 0.85rem;
}

.brand-copy {
  color: var(--paper);
  font-size: 1.35rem;
  text-transform: lowercase;
}

.navbar-nav .nav-link {
  color: var(--paper);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  padding-inline: 0.8rem;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--red);
}

.navbar-toggler {
  background: var(--red);
  border-color: var(--brass);
  color: var(--paper);
}

.contact-strip {
  background: var(--sea);
  color: rgba(255, 250, 242, 0.86);
  padding: 0.7rem 0;
  font-size: 0.88rem;
  border-bottom: 1px solid rgba(197, 154, 74, 0.32);
}

.home-hero,
.page-hero--image {
  position: relative;
  min-height: 72vh;
  overflow: hidden;
  display: grid;
  align-items: center;
}

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

.home-hero__overlay,
.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(9, 39, 36, 0.92), rgba(9, 39, 36, 0.62));
}

.home-hero__content,
.page-hero--image .container-xl {
  position: relative;
  z-index: 1;
  color: var(--paper);
  padding-block: clamp(5rem, 11vw, 9rem);
}

.home-hero h1,
.page-hero h1 {
  max-width: 780px;
  font-size: clamp(2.75rem, 6vw, 5.7rem);
  line-height: 1.02;
  margin-bottom: 1.4rem;
}

.home-hero .lead,
.page-hero .lead {
  max-width: 680px;
  color: rgba(255, 250, 242, 0.86);
}

.eyebrow {
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.location-band {
  background: var(--sea);
  color: var(--paper);
  padding: 1.35rem 0;
}

.location-band span {
  display: block;
  border-left: 3px solid var(--brass);
  padding-left: 1rem;
  min-height: 28px;
}

.page-hero {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: clamp(3rem, 7vw, 6rem) 0;
}

.page-hero--dark,
.page-hero--compact {
  background: var(--sea);
  color: var(--paper);
}

.page-hero--compact {
  padding: clamp(2.5rem, 5vw, 4.5rem) 0;
}

.content-section {
  padding: clamp(3rem, 7vw, 6rem) 0;
}

.content-panel,
.article-shell {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(32, 32, 32, 0.08);
}

.content-panel {
  padding: clamp(1.25rem, 3.5vw, 3rem);
}

.content-panel--wide,
.article-shell {
  max-width: 920px;
  margin-inline: auto;
}

.article-shell {
  padding: clamp(1.5rem, 4vw, 4rem);
}

.feature-image {
  border: 1px solid rgba(197, 154, 74, 0.45);
  border-radius: 8px;
  overflow: hidden;
  min-height: 420px;
  background: var(--sea);
}

.feature-image img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.site-prose {
  font-size: 1.03rem;
  line-height: 1.72;
}

.site-prose > * + * {
  margin-top: 1rem;
}

.site-prose h2,
.site-prose h3,
.site-prose h4 {
  margin-top: 2rem;
  color: var(--sea);
}

.site-prose a,
.site-category-meta a,
.site-block--paragraph a,
.content-panel a,
.article-shell a {
  color: var(--red);
  text-decoration: underline;
  text-decoration-color: rgba(184, 50, 42, 0.34);
  text-underline-offset: 0.18em;
}

.site-prose a:hover,
.content-panel a:hover,
.article-shell a:hover {
  color: var(--sea);
  text-decoration-color: var(--sea);
}

.site-prose ul,
.site-prose ol {
  padding-left: 1.2rem;
}

.content-media {
  margin: 1.5rem 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.content-media img {
  display: block;
  width: 100%;
}

.content-media figcaption,
.gallery-card figcaption {
  padding: 0.7rem 0.85rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.content-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.gallery-card {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.event-list-card,
.event-card,
.item-card {
  border: 1px solid rgba(24, 61, 58, 0.18);
  border-radius: 8px;
  background: var(--paper);
}

.event-list-card .card-img-top {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.event-list-card time,
.event-card time,
.content-date {
  display: inline-block;
  color: var(--brass);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.event-card {
  padding: 1.25rem;
}

.event-card h2 {
  font-size: 1.35rem;
}

.breadcrumb-wrap {
  padding-top: 1rem;
}

.breadcrumb a {
  color: var(--sea);
}

.toc {
  border-left: 3px solid var(--brass);
  padding-left: 1rem;
  margin: 1.5rem 0;
}

.article-main-image {
  width: 100%;
  border-radius: 8px;
  margin: 1.5rem 0;
}

.content-table {
  background: var(--paper);
}

.site-footer {
  background: var(--sea);
  color: rgba(255, 250, 242, 0.76);
  padding: 4rem 0;
}

.footer-brand {
  color: var(--paper);
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.footer-links a,
.social-list a {
  display: inline-block;
  color: rgba(255, 250, 242, 0.82);
  text-decoration: none;
  margin-bottom: 0.6rem;
}

.footer-links a:hover,
.social-list a:hover {
  color: var(--brass);
}

.social-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

@media (max-width: 991.98px) {
  .offcanvas {
    background: var(--sea-dark);
  }

  .home-hero,
  .page-hero--image {
    min-height: 64vh;
  }

  .contact-strip {
    font-size: 0.82rem;
  }
}

@media (max-width: 575.98px) {
  .brand-copy {
    font-size: 1.08rem;
  }

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

  .content-panel,
  .article-shell {
    padding: 1.1rem;
  }
}
