/* ===================== TOKENS ===================== */
:root {
  --navy:        #1c1a4d;
  --navy-soft:   #2b2960;
  --green:       #1f7a48;   /* brand banner green */
  --green-dark:  #196239;
  --green-bright:#4c9a3f;   /* "CHIP IN" green */
  --cream:       #faf6ec;
  --cream-2:     #f2ead9;
  --card:        #ffffff;
  --ink:         #26243f;
  --muted:       #605d78;
  --gold:        #c29a3f;
  --line:        #e7ddc9;

  --coral:  #e0574f;
  --orange: #d9823f;
  --teal:   #5fae9d;
  --yellow: #ecc95a;

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --wrap: 1120px;
  --radius: 16px;
  --shadow: 0 18px 40px -22px rgba(28, 26, 77, 0.35);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 82px; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap--narrow { max-width: 760px; }

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .01em;
  text-decoration: none;
  padding: .72em 1.5em;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease;
  line-height: 1;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.btn--green { background: var(--green); color: #fff; box-shadow: 0 10px 22px -12px rgba(31,122,72,.9); }
.btn--green:hover { background: var(--green-dark); }

.btn--cream { background: var(--cream); color: var(--green-dark); }
.btn--cream:hover { background: #fff; }

.btn--lg { font-size: 1.08rem; padding: .85em 1.9em; }
.btn--xl { font-size: 1.18rem; padding: .95em 2.3em; }

/* ===================== NAV ===================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 236, 0.92);
  backdrop-filter: saturate(150%) blur(10px);
  -webkit-backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--navy);
  font-family: var(--serif);
  font-weight: 700;
  margin-right: auto;
}
.nav__mark { width: 34px; height: 34px; }
.nav__wordmark { font-size: 1.18rem; letter-spacing: .01em; }
.nav__wordmark em { color: var(--green-bright); font-style: italic; }

.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: .95rem;
  padding: 6px 0;
  position: relative;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--green-bright);
  transition: width .2s ease;
}
.nav__links a:hover::after { width: 100%; }

.nav__actions { display: flex; align-items: center; gap: 12px; }
.nav__register { padding: .6em 1.3em; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav__toggle span {
  width: 24px; height: 2.5px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}

/* ===================== HERO ===================== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 120px 24px 90px;
}
.hero__media {
  position: absolute;
  inset: 0;
  background-image: url("images/hero-glynnscreek.jpg");
  background-size: cover;
  background-position: center 42%;
  transform: scale(1.02);
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20,54,40,.42) 0%, rgba(20,54,40,.30) 45%, rgba(24,44,34,.66) 100%),
    radial-gradient(120% 80% at 50% 30%, rgba(28,26,77,.10), rgba(28,26,77,.42));
}
.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  width: 100%;
  max-width: 760px;
}
.hero__card {
  background: #fffdf8;
  border-radius: 22px;
  padding: 30px 34px;
  box-shadow: 0 30px 60px -25px rgba(0,0,0,.6);
  width: 100%;
}
.hero__logo { width: 100%; height: auto; }
.hero__key {
  color: #fff;
  font-weight: 600;
  font-size: clamp(1rem, 2.4vw, 1.32rem);
  text-shadow: 0 2px 14px rgba(0,0,0,.55);
  letter-spacing: .01em;
}

/* ===================== SECTIONS ===================== */
.section { padding: clamp(64px, 9vw, 108px) 0; }
.section--tint { background: var(--cream-2); }

.section__head { text-align: center; max-width: 640px; margin: 0 auto clamp(36px, 5vw, 56px); }
.section__sub { color: var(--muted); margin-top: 10px; font-size: 1.05rem; }
.section__sub strong { color: var(--green); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .78rem;
  font-weight: 700;
  color: var(--green-bright);
  margin-bottom: 14px;
}
.h2 {
  font-family: var(--serif);
  font-weight: 800;
  color: var(--navy);
  font-size: clamp(1.9rem, 4.4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -.01em;
  text-wrap: balance;
}
.lede {
  font-size: clamp(1.1rem, 2.2vw, 1.32rem);
  color: var(--ink);
  margin-top: 22px;
  text-wrap: pretty;
}
.body { font-size: 1.08rem; color: var(--muted); margin-top: 20px; text-wrap: pretty; }

.about { text-align: center; }
.about .h2 { margin-top: 4px; }

/* ===================== DETAIL CARDS ===================== */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -24px rgba(28,26,77,.42); }
.card__icon {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: rgba(76,154,63,.12);
  color: var(--green);
  margin-bottom: 18px;
}
.card__title {
  font-family: var(--serif);
  font-weight: 700;
  color: var(--navy);
  font-size: 1.45rem;
  margin-bottom: 10px;
}
.card__lead { font-weight: 700; color: var(--ink); font-size: 1.1rem; }
.card__text { color: var(--muted); margin-top: 6px; }
.card__list { list-style: none; margin-top: 14px; display: grid; gap: 8px; }
.card__list li { color: var(--muted); display: flex; gap: 10px; align-items: baseline; }
.card__list li span {
  color: var(--green);
  font-weight: 700;
  min-width: 76px;
  font-variant-numeric: tabular-nums;
}
.card__link {
  display: inline-block;
  margin-top: 16px;
  color: var(--green);
  font-weight: 700;
  text-decoration: none;
  font-size: .95rem;
}
.card__link:hover { text-decoration: underline; }

/* ===================== INCLUDES ===================== */
.includes { text-align: center; }
.includes__grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-top: 8px;
}
.includes__grid li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 14px;
  font-weight: 600;
  color: var(--navy);
  box-shadow: var(--shadow);
}
.includes__ic {
  width: 50px; height: 50px;
  display: grid; place-items: center;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: rgba(31,122,72,.10);
  color: var(--green);
}
.includes__note {
  margin-top: 32px;
  color: var(--muted);
  font-size: 1.05rem;
  font-style: italic;
}

/* ===================== SPONSOR ===================== */
.sponsor__inner { text-align: center; }
.sponsor .btn { margin-top: 28px; }
.sponsor__contact {
  margin-top: 26px;
  color: var(--muted);
  font-size: 1rem;
}
.sponsor__contact a { color: var(--green); font-weight: 600; }

/* ===================== REGISTER BAND ===================== */
.register-band {
  background:
    linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  color: #fff;
  text-align: center;
  padding: clamp(60px, 8vw, 92px) 0;
}
.register-band__title {
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.1rem);
  line-height: 1.08;
  text-wrap: balance;
}
.register-band__sub {
  margin-top: 14px;
  font-size: clamp(1.02rem, 2.2vw, 1.25rem);
  color: rgba(255,255,255,.9);
}
.register-band .btn { margin-top: 30px; }

/* ===================== FOOTER ===================== */
.footer { background: var(--navy); color: #d8d6e8; }
.footer__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding-top: clamp(52px, 7vw, 76px);
  padding-bottom: 44px;
}
.footer__logo {
  width: 240px;
  max-width: 100%;
  background: #fff;
  padding: 16px 20px;
  border-radius: 12px;
  height: auto;
}
.footer__mission {
  margin-top: 22px;
  font-size: 1rem;
  line-height: 1.7;
  color: #bcb9d4;
  max-width: 460px;
  font-style: italic;
}
.footer__h {
  font-family: var(--serif);
  color: #fff;
  font-size: 1.35rem;
  margin-bottom: 12px;
}
.footer__contact p { margin-bottom: 16px; color: #c7c5de; }
.footer__contact a { color: #8fd6a8; font-weight: 600; text-decoration: none; }
.footer__contact a:hover { text-decoration: underline; }
.footer__org { font-size: .96rem; color: #a9a6c6; }

.footer__bar {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 20px 24px;
  max-width: var(--wrap);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: .9rem;
  color: #9d9abc;
}
.footer__reg { color: #8fd6a8; font-weight: 700; text-decoration: none; }
.footer__reg:hover { text-decoration: underline; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 900px) {
  .cards { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .includes__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 720px) {
  html { scroll-padding-top: 70px; }

  .nav__links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 18px;
    box-shadow: 0 20px 30px -18px rgba(0,0,0,.35);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: max-height .28s ease, opacity .2s ease, padding .2s ease;
  }
  .nav--open .nav__links {
    max-height: 320px;
    opacity: 1;
    pointer-events: auto;
    padding: 12px 24px 20px;
  }
  .nav__links a { width: 100%; padding: 10px 0; font-size: 1.02rem; }
  .nav__links a::after { display: none; }

  .nav__toggle { display: flex; }
  .nav--open .nav__toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav--open .nav__toggle span:nth-child(2) { opacity: 0; }
  .nav--open .nav__toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

  .nav__wordmark { font-size: 1.02rem; }

  .hero { min-height: 88vh; padding-top: 96px; }
  .hero__media { background-image: url("images/hero-glynnscreek-960.jpg"); }
  .hero__card { padding: 22px 22px; }
  .includes__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 420px) {
  .includes__grid { grid-template-columns: 1fr; max-width: 280px; margin: 8px auto 0; }
  .nav__wordmark { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
