:root {
  --green-950: #15372e;
  --green-900: #1d493c;
  --green-700: #2f6a57;
  --green-100: #e2eee7;
  --clay: #bd6846;
  --clay-dark: #91472d;
  --gold: #e7c56f;
  --stone-950: #182226;
  --stone-700: #566268;
  --stone-300: #cbd2d0;
  --stone-200: #dfe4e2;
  --stone-100: #f1f4f2;
  --white: #ffffff;
  --content: 1160px;
  --radius: 6px;
  --shadow: 0 18px 50px rgba(17, 42, 34, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--stone-950);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

body,
button,
input,
select {
  font-size: 16px;
}

a {
  color: inherit;
}

button,
select,
input {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  min-height: 80px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 14px max(28px, calc((100vw - var(--content)) / 2));
  color: var(--white);
  transition: background-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(21, 55, 46, 0.97);
  box-shadow: 0 8px 24px rgba(10, 28, 23, 0.18);
}

.brand {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 50%;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
  letter-spacing: 0;
}

.brand strong {
  font-size: 1rem;
}

.brand small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.76rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.89rem;
  font-weight: 750;
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--gold);
  outline: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: var(--radius);
  place-content: center;
  gap: 5px;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--white);
}

.hero {
  position: relative;
  display: grid;
  min-height: min(82vh, 820px);
  overflow: hidden;
  align-items: end;
  color: var(--white);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("/assets/banjsice-hero-placeholder.png");
  background-position: center 48%;
  background-size: cover;
  transform: scale(1.01);
}

.hero-overlay {
  background: linear-gradient(90deg, rgba(11, 34, 28, 0.84) 0%, rgba(11, 34, 28, 0.5) 54%, rgba(11, 34, 28, 0.16) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(var(--content), calc(100% - 56px));
  margin: 0 auto;
  padding: 150px 0 80px;
}

.eyebrow,
.section-kicker {
  margin: 0;
  color: var(--clay-dark);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow {
  color: var(--gold);
}

.hero h1 {
  max-width: 780px;
  margin: 14px 0 18px;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.65rem, 5.7vw, 5rem);
  font-weight: 700;
  line-height: 1.02;
}

.hero-copy {
  max-width: 690px;
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.16rem;
}

.section {
  padding: 88px 0;
  scroll-margin-top: 76px;
}

.section-light {
  background: var(--stone-100);
}

.section-accent {
  background: #edf3ef;
}

.section-inner {
  width: min(var(--content), calc(100% - 48px));
  margin: 0 auto;
}

.two-column,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 72px;
  align-items: start;
}

h2,
h3,
p {
  overflow-wrap: anywhere;
}

h2,
h3 {
  margin: 0;
  color: var(--stone-950);
  line-height: 1.18;
}

h2 {
  max-width: 780px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.45rem;
}

h3 {
  font-size: 1.14rem;
}

.lead-block p,
.section-heading p,
.contact-layout p {
  color: var(--stone-700);
}

.lead-block p {
  margin: 0 0 18px;
  font-size: 1.04rem;
}

.section-heading {
  display: grid;
  max-width: 780px;
  gap: 12px;
  margin-bottom: 34px;
}

.section-heading.compact {
  margin-bottom: 28px;
}

.section-heading p {
  margin: 0;
  font-size: 1.04rem;
}

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

.feature-card,
.event-card,
.contact-card {
  border: 1px solid var(--stone-200);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 28px rgba(24, 34, 38, 0.06);
}

.feature-card {
  min-height: 280px;
  padding: 28px;
}

.feature-number {
  display: inline-block;
  margin-bottom: 34px;
  color: var(--clay-dark);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.feature-card p,
.event-card p {
  margin: 12px 0 0;
  color: var(--stone-700);
}

.filter-bar {
  display: flex;
  align-items: end;
  gap: 16px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--stone-300);
  padding-bottom: 24px;
}

.filter-field {
  color: var(--stone-700);
  font-size: 0.88rem;
  font-weight: 800;
}

.filter-field {
  display: grid;
  gap: 6px;
}

select {
  min-width: 130px;
  min-height: 46px;
  border: 1px solid var(--stone-300);
  border-radius: var(--radius);
  padding: 8px 36px 8px 12px;
  background: var(--white);
  color: var(--stone-950);
  font-weight: 700;
}

select:focus-visible,
.button:focus-visible,
.nav-toggle:focus-visible {
  outline: 3px solid rgba(47, 106, 87, 0.26);
  outline-offset: 2px;
}

.status-filter {
  display: flex;
  min-width: 0;
  margin: 0;
  border: 0;
  padding: 0;
}

.status-filter legend {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.status-filter label {
  position: relative;
  cursor: pointer;
}

.status-filter input {
  position: absolute;
  opacity: 0;
}

.status-filter span {
  display: grid;
  min-height: 46px;
  place-items: center;
  border: 1px solid var(--stone-300);
  border-right-width: 0;
  padding: 8px 15px;
  background: var(--white);
  color: var(--stone-700);
  font-size: 0.86rem;
  font-weight: 800;
}

.status-filter label:first-of-type span {
  border-radius: var(--radius) 0 0 var(--radius);
}

.status-filter label:last-of-type span {
  border-right-width: 1px;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.status-filter input:checked + span {
  border-color: var(--green-900);
  background: var(--green-900);
  color: var(--white);
}

.status-filter input:focus-visible + span {
  outline: 3px solid rgba(47, 106, 87, 0.26);
  outline-offset: 2px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 10px 17px;
  font-weight: 850;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}

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

.button-secondary {
  border-color: var(--green-700);
  background: var(--white);
  color: var(--green-700);
}

.button:hover {
  filter: brightness(0.94);
}

.event-list {
  display: grid;
  gap: 14px;
}

.event-results {
  transition: opacity 140ms ease;
}

.event-results[aria-busy="true"] {
  opacity: 0.5;
}

.filter-bar.is-loading {
  cursor: progress;
}

.event-card {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding: 24px;
}

.event-card time {
  display: grid;
  min-height: 92px;
  place-items: center;
  border-radius: var(--radius);
  background: var(--green-900);
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 800;
  text-align: center;
}

.event-card time span {
  display: block;
  font-size: 2rem;
  line-height: 1;
}

.event-content {
  min-width: 0;
}

.event-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.event-status {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 0.74rem;
  font-weight: 850;
}

.event-status.is-past {
  background: #e8ece9;
  color: var(--stone-700);
}

.event-status.is-upcoming {
  background: var(--green-100);
  color: var(--green-700);
}

.event-card .event-location {
  margin-top: 8px;
  color: var(--green-700);
  font-size: 0.9rem;
  font-weight: 800;
}

.event-gallery-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--clay-dark);
  font-size: 0.9rem;
  font-weight: 850;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.event-gallery-link:hover,
.event-gallery-link:focus-visible {
  color: var(--green-700);
  outline: none;
}

.empty-state {
  border-left: 4px solid var(--green-700);
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.75);
}

.empty-state p {
  margin: 6px 0 0;
  color: var(--stone-700);
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 28px;
  color: var(--stone-700);
  font-size: 0.9rem;
  font-weight: 750;
}

.pagination a {
  color: var(--green-700);
  font-weight: 850;
}

.gallery-carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--green-950);
  box-shadow: var(--shadow);
}

.gallery-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.gallery-slide {
  position: absolute;
  inset: 0;
  margin: 0;
}

.gallery-slide[hidden] {
  display: none;
}

.gallery-slide.is-active {
  animation: gallery-fade 320ms ease;
}

.gallery-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-control {
  position: absolute;
  z-index: 2;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  background: rgba(21, 55, 46, 0.78);
  color: var(--white);
  font: inherit;
  line-height: 1;
  cursor: pointer;
}

.gallery-control:hover,
.gallery-control:focus-visible {
  background: var(--green-950);
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.gallery-previous,
.gallery-next {
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
}

.gallery-previous {
  left: 18px;
}

.gallery-next {
  right: 18px;
}

.gallery-playback {
  right: 18px;
  bottom: 18px;
  font-size: 0.78rem;
}

.gallery-counter {
  position: absolute;
  z-index: 2;
  top: 18px;
  right: 18px;
  margin: 0;
  border-radius: 999px;
  padding: 5px 10px;
  background: rgba(21, 55, 46, 0.78);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 850;
}

@keyframes gallery-fade {
  from {
    opacity: 0.35;
  }

  to {
    opacity: 1;
  }
}

.contact-layout p {
  margin: 16px 0 0;
}

.contact-card {
  display: grid;
  gap: 10px;
  padding: 28px;
  color: var(--stone-700);
  font-style: normal;
}

.contact-card strong {
  color: var(--stone-950);
  font-size: 1.08rem;
}

.contact-card a {
  color: var(--green-700);
  font-weight: 800;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px max(24px, calc((100vw - var(--content)) / 2));
  background: var(--stone-950);
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.88rem;
}

.site-footer p {
  margin: 0;
}

.site-footer div {
  display: flex;
  gap: 22px;
}

.site-footer a {
  color: var(--white);
  font-weight: 800;
}

@media (max-width: 900px) {
  .site-header {
    padding: 14px 24px;
  }

  .nav-toggle {
    display: grid;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    right: 24px;
    left: 24px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    border-radius: var(--radius);
    padding: 10px;
    background: var(--green-900);
    box-shadow: var(--shadow);
  }

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

  .main-nav a {
    padding: 10px 12px;
  }

  .hero {
    min-height: 78vh;
  }

  .hero-content {
    padding-bottom: 64px;
  }

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

  .feature-grid,
  .two-column,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 68px 0;
  }

  .two-column,
  .contact-layout {
    gap: 28px;
  }

  h2 {
    font-size: 2.1rem;
  }

  .feature-card {
    min-height: 0;
  }

  .feature-number {
    margin-bottom: 20px;
  }

  .filter-bar {
    flex-wrap: wrap;
  }
}

@media (max-width: 620px) {
  .brand small {
    display: none;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .hero {
    min-height: 76vh;
  }

  .hero-content,
  .section-inner {
    width: min(var(--content), calc(100% - 32px));
  }

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

  .hero-copy {
    font-size: 1.02rem;
  }

  h2 {
    font-size: 1.84rem;
  }

  .filter-bar {
    align-items: stretch;
  }

  .filter-field,
  .filter-bar > .button,
  .status-filter {
    width: 100%;
  }

  .filter-field select {
    width: 100%;
  }

  .status-filter label {
    flex: 1 1 0;
    min-width: 0;
  }

  .status-filter span {
    padding: 8px 7px;
    font-size: 0.78rem;
  }

  .event-card {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .event-card time {
    min-height: 74px;
  }

  .event-heading {
    flex-direction: column;
    gap: 10px;
  }

  .gallery-stage {
    aspect-ratio: 4 / 3;
  }

  .gallery-control {
    width: 40px;
    height: 40px;
  }

  .gallery-previous {
    left: 12px;
  }

  .gallery-next,
  .gallery-playback {
    right: 12px;
  }

  .gallery-playback {
    bottom: 12px;
  }

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

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

  .gallery-slide.is-active {
    animation: none;
  }
}
