/* ============================================================
   Little Elm Veterans Committee — shared styles
   Palette (taken from the committee emblem):
     --forest    #1F3A2E  deep pine green (primary / brand)
     --forest-2  #16291F  darker green, for depth
     --green     #7D9583  sage, secondary accent
     --gold      #B8913A  gold accent
     --gold-l    #DDBD74  lighter gold, for text/hover on dark
     --paper     #F5F3EE  warm neutral background
     --card      #FFFFFF  card surfaces
     --ink       #1F2420  primary text
     --muted     #5B635D  secondary text
     --line      #DDD9CE  hairline borders
   Type:
     Headlines: "Source Serif 4"   Body/UI: "Public Sans"
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:opsz,wght@8..60,400;8..60,600;8..60,700&family=Public+Sans:wght@400;500;600;700&display=swap');

:root {
  --forest: #1F3A2E;
  --forest-2: #16291F;
  --green: #7D9583;
  --gold: #B8913A;
  --gold-l: #DDBD74;
  --paper: #F5F3EE;
  --card: #FFFFFF;
  --ink: #1F2420;
  --muted: #5B635D;
  --line: #DDD9CE;
  --on-dark: #EDF0EA;
  --on-dark-2: #C9D3CA;
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 90px; } /* keep anchored sections clear of the sticky header */

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Public Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 600;
  color: var(--forest-2);
  margin: 0 0 0.5em;
  line-height: 1.15;
}

h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; max-width: 62ch; }

a { color: var(--forest); }

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

address { font-style: normal; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}
@media (max-width: 560px) { .container { padding: 0 16px; } }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--forest);
  color: #fff;
  padding: 10px 16px;
  z-index: 200;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Header ---------- */
.site-header {
  background: var(--forest);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 3px solid var(--gold);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
}
.brand img {
  height: 52px;
  width: 52px;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.85);
}
.brand-text {
  font-family: 'Source Serif 4', serif;
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.2;
}
.brand-text span {
  display: block;
  font-family: 'Public Sans', sans-serif;
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  color: var(--gold-l);
}

nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
}
nav.main-nav a {
  color: var(--on-dark);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.96rem;
  padding: 10px 13px;
  border-radius: 3px;
  transition: background 0.15s ease, color 0.15s ease;
}
nav.main-nav a:hover,
nav.main-nav a:focus-visible {
  background: rgba(255,255,255,0.1);
  color: #fff;
}
nav.main-nav a[aria-current="page"] {
  color: #fff;
  border-bottom: 2px solid var(--gold);
  border-radius: 0;
}
nav.main-nav a.nav-donate {
  background: var(--gold);
  color: #1A1405;
  font-weight: 600;
}
nav.main-nav a.nav-donate:hover { background: var(--gold-l); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 4px;
  color: #fff;
  padding: 8px 10px;
  font-size: 0.9rem;
  cursor: pointer;
}

@media (max-width: 900px) {
  nav.main-nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--forest-2);
    border-bottom: 3px solid var(--gold);
  }
  nav.main-nav.open { display: block; }
  nav.main-nav ul {
    flex-direction: column;
    padding: 8px 24px 18px;
  }
  nav.main-nav a { display: block; padding: 12px 4px; }
  nav.main-nav a.nav-donate { text-align: center; margin-top: 8px; }
  .nav-toggle { display: inline-block; }
}
@media (max-width: 420px) {
  .brand-text { font-size: 0.92rem; }
  .brand img { height: 42px; width: 42px; }
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(184,145,58,0.18), transparent 60%),
    var(--forest);
  color: var(--on-dark);
  padding: 84px 0 70px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -90px;
  width: 320px;
  height: 320px;
  border: 1px solid rgba(221,189,116,0.25);
  border-radius: 50%;
}
.hero .eyebrow {
  color: var(--gold-l);
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 14px;
}
.hero h1 { color: #fff; max-width: 18ch; }
.hero p.lede {
  font-size: 1.15rem;
  max-width: 56ch;
  color: var(--on-dark);
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

/* Home hero with the large emblem beside the headline */
.hero-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-emblem {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(221,189,116,0.6), 0 18px 40px rgba(0,0,0,0.35);
}
@media (max-width: 900px) {
  .hero-emblem { width: 220px; height: 220px; }
  .hero-grid { gap: 36px; }
}
@media (max-width: 700px) {
  .hero { padding: 48px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 28px; }
  .hero-emblem { width: 190px; height: 190px; }
  .hero h1, .hero p.lede { margin-left: auto; margin-right: auto; }
  .hero-grid .hero-actions { justify-content: center; }
}

.page-hero {
  background: var(--forest);
  color: var(--on-dark);
  padding: 56px 0 50px;
  border-bottom: 3px solid var(--gold);
}
.page-hero h1 { color: #fff; }
.page-hero p { color: var(--on-dark); font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 13px 26px;
  border-radius: 3px;
  border: 1.5px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.12s ease, background 0.15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: #1A1405; }
.btn-gold:hover { background: var(--gold-l); }
.btn-outline { border-color: rgba(255,255,255,0.55); color: #fff; }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn-forest { background: var(--forest); color: #fff; }
.btn-forest:hover { background: var(--forest-2); }

/* ---------- Sections ---------- */
section { padding: 64px 0; }
.section-head { max-width: 62ch; margin-bottom: 36px; }
.kicker {
  color: var(--gold);
  font-weight: 700;
  font-size: 0.85rem;
  display: block;
  margin-bottom: 8px;
}

.band-forest { background: var(--forest); color: var(--on-dark); }
.band-forest h2, .band-forest h3 { color: #fff; }
.band-forest p { color: var(--on-dark-2); }
.band-forest .kicker { color: var(--gold-l); }
.band-forest a:not(.btn) { color: var(--gold-l); }
/* White cards placed inside a dark band keep dark text */
.band-forest .card h3 { color: var(--forest-2); }
.band-forest .card p { color: var(--ink); }
.band-forest .card .event-meta { color: var(--muted); }
.band-forest .card a:not(.btn) { color: var(--forest); }

hr.rule {
  border: none;
  border-top: 1px solid var(--line);
  margin: 0;
}

/* ---------- Mission statement block ---------- */
.mission-block {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  align-items: start;
}
.mission-block .label {
  font-family: 'Source Serif 4', serif;
  font-size: 1rem;
  color: var(--gold);
  border-left: 3px solid var(--gold);
  padding-left: 14px;
}
.mission-block .statement {
  font-family: 'Source Serif 4', serif;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  color: var(--forest-2);
  line-height: 1.45;
  margin: 0;
}
@media (max-width: 700px) {
  .mission-block { grid-template-columns: 1fr; gap: 18px; }
}

/* ---------- Values row ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.value-card {
  background: var(--card);
  padding: 26px 22px;
}
.value-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.value-card p { font-size: 0.94rem; color: var(--muted); margin: 0; }

/* ---------- Cards / grids ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}
@media (max-width: 820px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .grid-3 { grid-template-columns: 1fr; }
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 26px;
}
.card p:last-child { margin-bottom: 0; }

.program-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 4px solid var(--green);
  border-radius: 4px;
  padding: 24px;
}
.program-card h3 { font-size: 1.15rem; }
.program-card p { font-size: 0.95rem; color: var(--muted); margin: 0; }

/* ---------- Officer cards ---------- */
.officer {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.officer .badge {
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--gold-l);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Source Serif 4', serif;
  font-weight: 700;
  font-size: 1.1rem;
}
.band-forest .officer .badge { background: rgba(255,255,255,0.1); }
.officer img.photo {
  flex: none;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 3px solid var(--gold-l);
}
.officer .badge.lg { width: 84px; height: 84px; font-size: 1.5rem; border: 3px solid var(--gold-l); }
.officer h3 { margin-bottom: 2px; font-size: 1.15rem; }
.officer .role {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.86rem;
  display: block;
}
.band-forest .officer .role { color: var(--gold-l); }
.officer p { font-size: 0.93rem; color: var(--muted); margin: 8px 0 0; }
.band-forest .officer p { color: var(--on-dark-2); }

/* ---------- Events ---------- */
.event-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 22px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.event-row:last-child { border-bottom: 1px solid var(--line); }
.event-date {
  font-family: 'Source Serif 4', serif;
  color: var(--forest);
}
.event-date .month { font-size: 0.85rem; color: var(--gold); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; display: block; }
.event-date .day { font-size: 2.1rem; font-weight: 700; display: block; line-height: 1.05; }
.event-date .dow { font-size: 0.82rem; color: var(--muted); font-family: 'Public Sans', sans-serif; }
.event-body h3 { margin-bottom: 4px; font-size: 1.2rem; }
.event-meta { font-size: 0.92rem; color: var(--muted); margin-bottom: 6px; }
.event-desc { font-size: 0.95rem; white-space: pre-line; margin: 0; }
@media (max-width: 560px) {
  .event-row { grid-template-columns: 64px 1fr; gap: 14px; }
  .event-date .day { font-size: 1.6rem; }
}
.events-status { color: var(--muted); font-size: 0.92rem; }
.calendar-links { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.calendar-links[hidden] { display: none; }

/* Home page "next up" list */
.next-up .event-row { grid-template-columns: 80px 1fr; padding: 16px 0; }
.next-up .event-date .day { font-size: 1.7rem; }

/* ---------- Board roster (names and titles only) ---------- */
.roster {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 64px;
  max-width: 760px;
}
@media (max-width: 560px) { .roster { grid-template-columns: 1fr; gap: 20px; } }
.roster dt {
  color: var(--gold-l);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.roster dd {
  margin: 0;
  font-family: 'Source Serif 4', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
}
.band-forest .roster-note { margin-top: 24px; font-size: 0.92rem; max-width: 80ch; }

/* ---------- Featured event (flyer + details) ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 380px) 1fr;
  gap: 48px;
  align-items: center;
}
.flyer {
  display: block;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 0 0 4px var(--gold-l), 0 18px 40px rgba(0,0,0,0.25);
  transition: transform 0.2s ease;
}
.flyer:hover { transform: translateY(-3px); }
.flyer img { width: 100%; height: auto; }
.feature .event-meta { font-size: 1rem; }
@media (max-width: 760px) {
  .feature-grid { grid-template-columns: 1fr; gap: 32px; }
  .flyer { max-width: 380px; margin: 0 auto; }
}

/* ---------- Event updates signup ---------- */
.signup-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 820px) { .signup-grid { grid-template-columns: 1fr; gap: 24px; } }
.signup-form {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(221,189,116,0.35);
  border-radius: 6px;
  padding: 26px;
}
.signup-form .field label { color: #fff; }
.signup-form .field input { border-color: transparent; }
.signup-form .opt { font-weight: 400; color: var(--on-dark-2); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.check {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  font-size: 0.86rem;
  color: var(--on-dark-2);
  margin: 4px 0 20px;
  cursor: pointer;
}
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--gold); }
.signup-form .fine-print { font-size: 0.8rem; color: var(--on-dark-2); margin: 14px 0 0; }

/* ---------- Checklists ---------- */
.checklist { list-style: none; padding: 0; margin: 0 0 1.4em; }
.checklist li {
  position: relative;
  padding: 10px 0 10px 32px;
  border-bottom: 1px solid rgba(255,255,255,0.14);
}
.checklist li::before {
  content: "\2605";
  position: absolute;
  left: 4px;
  top: 10px;
  color: var(--gold-l);
}
.checklist.dark li { border-bottom-color: var(--line); }
.checklist.dark li::before { color: var(--gold); }

/* ---------- Branch strip ---------- */
.branches {
  background: var(--forest-2);
  color: var(--on-dark);
  padding: 30px 0;
  border-top: 3px solid var(--gold);
  border-bottom: 3px solid var(--gold);
}
.branches .label {
  text-align: center;
  color: var(--gold-l);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 auto 16px;
}
.branch-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 0;
}
.branch-list li {
  font-family: 'Source Serif 4', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: #fff;
  text-align: center;
  padding: 0 22px;
  border-left: 1px solid rgba(221,189,116,0.35);
}
.branch-list li:first-child { border-left: none; }
.branch-list li span {
  display: block;
  font-family: 'Public Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--gold-l);
}
@media (max-width: 700px) {
  .branch-list li { flex: 0 0 33.33%; padding: 6px 8px; font-size: 1rem; border-left: none; }
}

/* ---------- Steps ---------- */
.steps { counter-reset: step; }
.step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.step:first-child { border-top: none; }
.step .num {
  counter-increment: step;
  font-family: 'Source Serif 4', serif;
  font-weight: 700;
  color: var(--gold);
  font-size: 1.3rem;
}
.step .num::before { content: counter(step); }
.step p { margin: 0; }

/* ---------- Forms ---------- */
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 6px;
  color: var(--forest-2);
}
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #C8C4B4;
  border-radius: 3px;
  font-family: inherit;
  font-size: 1rem;
  background: #fff;
  color: var(--ink);
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: 2px solid var(--forest);
  outline-offset: 1px;
}
.form-note { font-size: 0.87rem; color: var(--muted); }
.hidden-field { position: absolute; left: -9999px; }

/* ---------- Donate ---------- */
.donate-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 820px) { .donate-grid { grid-template-columns: 1fr; } }
.donate-card {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
  border-radius: 3px;
  padding: 24px;
}
.donate-card p { color: var(--ink); }
.band-forest .donate-card p { color: var(--ink); }
.band-forest .donate-card a:not(.btn) { color: var(--forest); }
.donate-card .amt {
  font-family: 'Source Serif 4', serif;
  font-size: 1.45rem;
  color: var(--forest);
  margin-bottom: 8px;
}
.donate-feature { margin-bottom: 26px; }

/* ---------- Sponsorship tiers ---------- */
.tiers { display: grid; gap: 14px; }
.tier {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 24px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--line);
  border-radius: 4px;
  padding: 18px 22px;
}
.tier.featured { border-left-color: var(--gold); background: #FBF7EC; }
.tier h3 { font-size: 1.1rem; margin: 0; }
.tier .price { font-family: 'Source Serif 4', serif; font-size: 1.5rem; font-weight: 700; color: var(--forest); text-align: right; }
.tier .tickets { font-size: 0.85rem; color: var(--muted); display: block; font-family: 'Public Sans', sans-serif; font-weight: 500; }
.tier ul { grid-column: 1 / -1; margin: 4px 0 0; padding-left: 20px; font-size: 0.93rem; color: var(--muted); }
.tier .pill { font-size: 0.72rem; font-weight: 700; color: var(--gold); margin-left: 8px; letter-spacing: 0.04em; font-family: 'Public Sans', sans-serif; }
.notice {
  background: #FBF7EC;
  border-left: 4px solid var(--gold);
  padding: 16px 20px;
  border-radius: 3px;
  margin-bottom: 22px;
}
.notice p { margin: 0; }

/* ---------- Nonprofit facts ---------- */
.facts { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 10px 24px; }
.facts dt { font-weight: 600; color: var(--forest-2); }
.facts dd { margin: 0; }
@media (max-width: 560px) {
  .facts { grid-template-columns: 1fr; gap: 2px; }
  .facts dd { margin-bottom: 10px; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--forest-2);
  color: var(--on-dark-2);
  padding: 48px 0 28px;
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
}
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 {
  color: #fff;
  font-size: 0.95rem;
  font-family: 'Public Sans', sans-serif;
  font-weight: 700;
  margin-bottom: 12px;
}
.site-footer p { margin-bottom: 10px; }
.site-footer a { color: var(--on-dark-2); text-decoration: none; }
.site-footer a:hover { color: var(--gold-l); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer .org-id { color: #fff; font-weight: 600; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.82rem;
  color: #9DAA9F;
}

/* ---------- Utility ---------- */
.tag {
  display: inline-block;
  background: rgba(184,145,58,0.16);
  color: var(--gold-l);
  border: 1px solid rgba(221,189,116,0.4);
  border-radius: 3px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 4px 10px;
  margin-bottom: 14px;
}
.center { text-align: center; }
.center p { margin-left: auto; margin-right: auto; }
.prose h2 { margin-top: 1.6em; font-size: 1.5rem; }
.prose p, .prose li { max-width: 70ch; }

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