:root {
  --green-900: #102a1e;
  --green-800: #183d2c;
  --green-700: #24523c;
  --green-100: #e7efe8;
  --cream: #f7f3e8;
  --white: #fffdf7;
  --gold: #d2a64c;
  --ink: #17221d;
  --muted: #5f6b64;
  --line: rgba(23, 34, 29, 0.16);
  --shadow: 0 18px 45px rgba(16, 42, 30, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Source Sans 3", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6;
}

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

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-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 4vw, 56px);
  color: var(--white);
  background: rgba(16, 42, 30, 0.94);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.14);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 700;
}

.brand-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  flex: 0 0 auto;
}

.brand-text {
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  font-size: 16px;
  font-weight: 600;
}

.site-nav a {
  position: relative;
  text-decoration: none;
  opacity: 0.86;
  padding-bottom: 3px;
  transition: opacity 160ms ease, color 160ms ease;
}

.site-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
  transition: width 220ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  opacity: 1;
  color: var(--gold);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid rgba(255, 253, 247, 0.28);
  border-radius: 8px;
  background: transparent;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--white);
}

.hero {
  position: relative;
  min-height: 86vh;
  display: grid;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
  color: var(--white);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(16, 42, 30, 0.9), rgba(16, 42, 30, 0.46) 54%, rgba(16, 42, 30, 0.12)),
    url("images/hero.jpg") center / cover,
    linear-gradient(135deg, var(--green-900), var(--green-700));
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 40%;
  background: linear-gradient(0deg, rgba(16, 42, 30, 0.82), transparent);
}

.hero-content {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding: 120px 0 84px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Libre Baskerville", Georgia, serif;
  line-height: 1.12;
}

h1 {
  max-width: 720px;
  font-size: clamp(46px, 7vw, 92px);
}

h2 {
  font-size: clamp(30px, 4vw, 54px);
}

h3 {
  font-size: 24px;
}

.hero-content h1 {
  text-shadow: 0 2px 32px rgba(0, 0, 0, 0.5);
}

.hero-content p:not(.eyebrow) {
  max-width: 620px;
  margin: 22px 0 0;
  font-size: 22px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: rgba(255, 253, 247, 0.7);
  font-size: 18px;
  text-decoration: none;
  border: 1px solid rgba(255, 253, 247, 0.32);
  border-radius: 50%;
  transition: color 200ms ease, border-color 200ms ease;
  animation: bounce-hint 2.4s ease-in-out infinite;
}

.scroll-hint:hover {
  color: var(--white);
  border-color: rgba(255, 253, 247, 0.7);
}

@keyframes bounce-hint {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.7; }
  50% { transform: translateX(-50%) translateY(8px); opacity: 1; }
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.button-primary {
  color: var(--green-900);
  background: var(--gold);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #e2bb66;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(210, 166, 76, 0.4);
}

.button-secondary {
  color: var(--white);
  border: 1px solid rgba(255, 253, 247, 0.64);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(255, 253, 247, 0.12);
}

.section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 86px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading h2 {
  position: relative;
  padding-bottom: 22px;
}

.section-heading h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 44px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
}

.intro-grid,
.location-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.intro p {
  margin-top: 0;
}

.club-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
  box-shadow: var(--shadow);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.club-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 64px rgba(16, 42, 30, 0.22);
}

.club-card dl,
.club-card dd {
  margin: 0;
}

.club-card div + div {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.club-card dt {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.club-card dd {
  margin-top: 3px;
  font-weight: 700;
}

.history {
  width: 100%;
  max-width: none;
  padding-inline: max(20px, calc((100vw - 1120px) / 2));
  background: var(--green-900);
  color: var(--white);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 253, 247, 0.22);
  border: 1px solid rgba(255, 253, 247, 0.22);
}

.timeline article {
  padding: 30px 30px 30px 27px;
  background: var(--green-900);
  border-left: 3px solid var(--gold);
  transition: background-color 200ms ease;
}

.timeline article:hover {
  background: var(--green-800);
}

.timeline span {
  color: var(--gold);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.timeline p {
  color: rgba(255, 253, 247, 0.76);
}

.gallery-band {
  background: var(--cream);
}

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

.gallery-grid figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--green-100);
  box-shadow: 0 10px 26px rgba(16, 42, 30, 0.1);
  cursor: pointer;
}

.gallery-grid img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 420ms ease;
  background:
    linear-gradient(135deg, rgba(16, 42, 30, 0.18), rgba(210, 166, 76, 0.3)),
    var(--green-100);
}

.gallery-grid figure:hover img,
.gallery-grid figure:focus-within img {
  transform: scale(1.06);
}

.gallery-grid figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px 14px 14px;
  background: linear-gradient(to top, rgba(16, 42, 30, 0.88), transparent);
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 280ms ease, transform 280ms ease;
}

.gallery-grid figure:hover figcaption,
.gallery-grid figure:focus-within figcaption {
  opacity: 1;
  transform: translateY(0);
}

.memory-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: clamp(24px, 4vw, 44px);
  margin-top: 48px;
  align-items: start;
}

.carousel {
  min-width: 0;
}

.carousel-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.carousel-heading h3 {
  font-size: clamp(24px, 3vw, 36px);
}

.carousel-controls {
  display: inline-flex;
  gap: 10px;
}

.icon-button {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--white);
  background: var(--green-800);
  cursor: pointer;
  font-size: 20px;
  font-weight: 800;
  transition: background-color 160ms ease, transform 120ms ease;
}

.icon-button:active {
  transform: scale(0.93);
}

.icon-button:hover,
.icon-button:focus-visible {
  background: var(--green-700);
}

.carousel-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: var(--carousel-ratio, 1);
  min-height: clamp(280px, 38vw, 540px);
  max-height: 640px;
  border-radius: 8px;
  background: var(--green-900);
  box-shadow: var(--shadow);
  transition: aspect-ratio 220ms ease;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  display: grid;
  margin: 0;
  opacity: 0;
  transition: opacity 220ms ease;
  pointer-events: none;
}

.carousel-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: clamp(6px, 1.6vw, 16px);
  background: var(--green-900);
}

.carousel-slide figcaption {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  width: fit-content;
  max-width: calc(100% - 32px);
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--white);
  background: rgba(16, 42, 30, 0.86);
  font-weight: 700;
}

.carousel-status {
  align-self: center;
  justify-self: center;
  max-width: 280px;
  margin: 0;
  color: rgba(255, 253, 247, 0.72);
  text-align: center;
}

.carousel-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(16, 42, 30, 0.34);
  cursor: pointer;
  transition: background-color 200ms ease, transform 200ms ease;
}

.carousel-dot.is-active {
  background: var(--gold);
  transform: scale(1.35);
}

.document-card {
  min-height: 100%;
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.document-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 64px rgba(16, 42, 30, 0.22);
}

.document-card p:not(.eyebrow) {
  color: var(--muted);
}

.document-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.document-secondary {
  color: var(--green-800);
  border: 1px solid var(--line);
  background: transparent;
}

.document-secondary:hover,
.document-secondary:focus-visible {
  background: var(--green-100);
}

.document-note {
  margin: 22px 0 0;
  font-size: 15px;
}

.news-feed {
  margin-top: 20px;
}

.news-list {
  display: grid;
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.news-list li {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.news-list a {
  display: block;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.25;
  text-decoration: none;
}

.news-list a:hover,
.news-list a:focus-visible {
  color: var(--green-700);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.news-list time,
.news-status,
.news-source {
  font-size: 15px;
}

.news-list time {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-weight: 700;
}

.news-status {
  margin: 20px 0;
  color: var(--muted);
}

.news-source {
  display: inline-block;
  margin-top: 20px;
}

.location-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  align-items: center;
}

.map-wrap {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
}

.location-copy p {
  color: var(--muted);
}

.text-link {
  color: var(--green-700);
  font-weight: 800;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 56px clamp(20px, 4vw, 56px);
  color: var(--white);
  background: var(--green-800);
}

.contact div {
  max-width: 680px;
}

.contact p:not(.eyebrow) {
  margin-bottom: 0;
  color: rgba(255, 253, 247, 0.76);
}

.site-footer {
  padding: 24px 20px;
  color: rgba(255, 253, 247, 0.74);
  background: var(--green-900);
  text-align: center;
  font-size: 15px;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
  }

  .brand-text {
    white-space: normal;
  }

  .nav-toggle {
    display: block;
    flex: 0 0 auto;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid rgba(255, 253, 247, 0.2);
    border-radius: 8px;
    background: var(--green-900);
  }

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

  .site-nav a {
    padding: 12px;
  }

  .site-nav a::after {
    display: none;
  }

  .hero {
    min-height: 78vh;
  }

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

  .hero-content p:not(.eyebrow) {
    font-size: 19px;
  }

  .intro-grid,
  .location-grid,
  .timeline,
  .gallery-grid,
  .memory-grid {
    grid-template-columns: 1fr;
  }

  .carousel-heading {
    align-items: start;
    flex-direction: column;
  }

  .carousel-frame {
    min-height: 280px;
  }

  .section {
    padding: 64px 0;
  }

  .contact {
    display: block;
  }

  .contact .button {
    margin-top: 24px;
  }
}

@media (max-width: 520px) {
  body {
    font-size: 17px;
  }

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

  .button {
    width: 100%;
  }

  .map-wrap iframe {
    height: 340px;
  }
}
