:root {
  --ink: #191815;
  --muted: #675f54;
  --paper: #fbfaf6;
  --panel: #ffffff;
  --line: #ded8cc;
  --red: #b42020;
  --gold: #c99b2e;
  --green: #245f4a;
  --charcoal: #25211d;
  --shadow: 0 16px 40px rgba(25, 24, 21, 0.12);
  color-scheme: light;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 0.75rem;
  z-index: 20;
  transform: translateY(-160%);
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 0.8rem;
  text-decoration: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 82px;
  padding: 0.85rem clamp(1rem, 4vw, 3rem);
  background: rgba(251, 250, 246, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0;
}

.brand img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--gold);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.nav-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0.65rem 0.9rem;
  border-radius: 6px;
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
}

.nav-link:hover,
.nav-link.is-active {
  background: var(--charcoal);
  color: #fff;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  padding: 0.65rem;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.home-hero {
  display: grid;
  min-height: calc(100vh - 82px);
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  align-items: stretch;
  background: var(--charcoal);
  color: #fff;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.5rem, 7vw, 7rem);
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--gold);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 880px;
  margin-bottom: 1rem;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.96;
  letter-spacing: 0;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

h3 {
  margin-bottom: 0.65rem;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  letter-spacing: 0;
}

.hero-copy p:not(.eyebrow) {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.2rem;
}

.button {
  display: inline-flex;
  width: fit-content;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 0.8rem 1.1rem;
  font-weight: 800;
  text-decoration: none;
}

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

.button-primary:hover {
  background: #8f1818;
}

.hero-media {
  min-height: 420px;
}

.hero-image,
.section-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mission-section,
.content-section,
.gallery-section,
.blog-list,
.recent-section,
.comments-section {
  padding: clamp(3rem, 7vw, 7rem) clamp(1rem, 5vw, 4rem);
}

.mission-section {
  display: grid;
  grid-template-columns: minmax(220px, 0.38fr) minmax(0, 0.62fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
  background: #fff;
}

.mission-section p,
.feature-band p,
.split-copy p,
.article-body p {
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
}

.section-heading span {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--red);
  font-weight: 800;
  text-transform: uppercase;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.48fr) minmax(0, 0.52fr);
  align-items: stretch;
  min-height: 620px;
}

.split-section.reverse {
  grid-template-columns: minmax(0, 0.52fr) minmax(320px, 0.48fr);
}

.split-media {
  min-height: 420px;
}

.split-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.5rem, 6vw, 6rem);
  background: var(--paper);
}

.split-section.reverse .split-copy {
  background: #fff;
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
  padding: clamp(3rem, 6vw, 6rem) clamp(1rem, 5vw, 4rem);
  background: var(--green);
  color: #fff;
}

.feature-band p {
  max-width: 900px;
  color: rgba(255, 255, 255, 0.86);
}

.contact-stack {
  display: grid;
  gap: 0.8rem;
}

.contact-stack a,
.footer-actions a {
  color: inherit;
  font-weight: 800;
}

.image-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  background: var(--charcoal);
}

.strip-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.page-hero {
  position: relative;
  display: grid;
  min-height: 460px;
  align-items: end;
  padding: clamp(3rem, 7vw, 7rem) clamp(1rem, 5vw, 4rem);
  overflow: hidden;
  background: var(--charcoal);
  color: #fff;
}

.page-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(25, 24, 21, 0.86), rgba(25, 24, 21, 0.28)),
    var(--hero-image) center / cover;
}

.page-hero > div {
  position: relative;
  max-width: 900px;
}

.page-hero.compact h1 {
  margin-bottom: 0;
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.event-card,
.post-card,
.comments-section,
.recent-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.event-poster {
  width: 100%;
  height: 100%;
  max-height: 620px;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
}

.gallery-grid {
  display: grid;
  grid-auto-flow: dense;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0.75rem;
}

.gallery-item {
  min-height: 180px;
  overflow: hidden;
  border-radius: 8px;
  background: #111;
}

.gallery-item.wide {
  grid-column: span 2;
  min-height: 260px;
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 180ms ease;
}

.gallery-item:hover .gallery-image {
  transform: scale(1.04);
}

.blog-header {
  padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 5vw, 4rem) 1rem;
}

.blog-header h1 {
  color: var(--ink);
}

.blog-list {
  display: grid;
  gap: 1.25rem;
  padding-top: 1.5rem;
}

.post-card {
  display: grid;
  grid-template-columns: minmax(240px, 0.38fr) minmax(0, 0.62fr);
  overflow: hidden;
}

.post-card-image {
  min-height: 260px;
  background: var(--charcoal);
}

.post-card-image img,
.recent-post img,
.article-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-card-body {
  padding: clamp(1.25rem, 3vw, 2.25rem);
}

.post-card h2 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2.6rem);
  line-height: 1.08;
}

.post-card h2 a {
  text-decoration: none;
}

.post-meta,
.post-stats,
.article-stats {
  color: var(--muted);
  font-size: 0.95rem;
}

.post-stats,
.article-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.article-layout {
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 4vw, 2rem);
}

.article-header h1 {
  color: var(--ink);
  font-size: clamp(2.4rem, 6vw, 5rem);
}

.breadcrumb {
  display: inline-flex;
  margin-bottom: 1rem;
  color: var(--red);
  font-weight: 800;
  text-decoration: none;
}

.article-image {
  max-height: 620px;
  margin: 2rem 0;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.article-body {
  max-width: 760px;
}

.recent-section {
  max-width: 1120px;
  margin: 0 auto clamp(2rem, 5vw, 4rem);
}

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

.recent-post {
  display: grid;
  grid-template-rows: 160px auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.recent-post span {
  padding: 1rem;
}

.comments-section {
  max-width: 920px;
  margin: 0 auto clamp(3rem, 6vw, 6rem);
}

.comments-section label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--muted);
}

.comments-section textarea {
  width: 100%;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.85rem;
  font: inherit;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem clamp(1rem, 5vw, 4rem);
  background: var(--charcoal);
  color: #fff;
}

.site-footer div {
  display: grid;
  gap: 0.35rem;
}

.footer-actions {
  justify-items: end;
}

.loading,
.error-state {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 2rem;
  text-align: center;
}

@media (max-width: 860px) {
  .site-header {
    min-height: 72px;
  }

  .brand span {
    max-width: 190px;
    line-height: 1.1;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1rem 1rem;
    background: #fff;
    border-bottom: 1px solid var(--line);
  }

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

  .nav-link {
    justify-content: center;
  }

  .home-hero,
  .mission-section,
  .split-section,
  .split-section.reverse,
  .feature-band,
  .post-card {
    grid-template-columns: 1fr;
  }

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

  .hero-copy {
    min-height: calc(82vh - 72px);
  }

  .hero-media {
    min-height: 320px;
  }

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

  .strip-image:first-child {
    grid-column: span 2;
  }

  .feature-band {
    align-items: start;
  }

  .contact-stack {
    justify-items: start;
  }

  .gallery-item.wide {
    grid-column: span 1;
  }

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

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

  .footer-actions {
    justify-items: start;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: 2.8rem;
  }

  h2 {
    font-size: 2rem;
  }

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

  .hero-copy,
  .split-copy,
  .mission-section,
  .content-section,
  .gallery-section,
  .blog-list,
  .recent-section,
  .comments-section {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
