/* ==========================================================================
   Guadalupe County Fair & PRCA Rodeo — design system
   Palette derived from the association's existing seal: forest green, gold,
   saddle brown, cream.
   ========================================================================== */

:root {
  /* Greens lifted from the Association's own original stylesheet:
     #174b2b, #145214 and #1d6a1d. */
  --green-950: #08200f;
  --green-900: #10331d;
  --green-800: #174b2b;
  --green-700: #145214;
  --green-600: #1d6a1d;
  --green-200: #c6dac6;
  --green-100: #dfeddf;

  --gold-600: #8a6209;
  --gold-500: #c8961a;
  --gold-400: #e6b444;
  --gold-300: #f4cd6d;

  /* Pale green wash that replaces the old sand/beige fills */
  --wash: #e6f1e6;

  --bg: #f2f8f2;
  --bg-alt: #e2eee2;
  --paper: #ffffff;

  --ink: #16211a;
  --ink-soft: #3d4a41;
  --ink-faint: #63706a;
  --line: #cfdfcf;
  --line-strong: #b3cbb3;

  --rodeo-red: #9c2a1f;

  /* Type */
  --font-display: "Bitter", ui-serif, Georgia, "Times New Roman", serif;
  --font-body: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;

  /* Space + shape */
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(8, 32, 15, .06), 0 2px 8px rgba(8, 32, 15, .06);
  --shadow-md: 0 4px 12px rgba(8, 32, 15, .10), 0 12px 28px rgba(8, 32, 15, .10);
  --shadow-lg: 0 10px 24px rgba(8, 32, 15, .14), 0 24px 60px rgba(8, 32, 15, .16);
  --wrap: 1200px;
  --wrap-narrow: 780px;
  --header-h: 72px;
}

/* --------------------------------------------------------------- reset --- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.1vw, 1.45rem); }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
a { color: var(--green-700); text-underline-offset: .18em; }
a:hover { color: var(--gold-600); }
ul, ol { padding-left: 1.25em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 200;
  background: var(--green-900); color: #fff; padding: .7rem 1.1rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm); font-weight: 600;
}
.skip-link:focus { top: 0; color: #fff; }

/* -------------------------------------------------------------- layout --- */
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2.5rem, var(--wrap-narrow)); margin-inline: auto; }
section { padding-block: clamp(2.75rem, 6vw, 4.5rem); }
.section-head { max-width: 62ch; margin-bottom: 2rem; }
.section-head p { color: var(--ink-soft); font-size: 1.1rem; margin-bottom: 0; }
.eyebrow {
  display: inline-block; font-family: var(--font-body); font-weight: 700;
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-600); margin-bottom: .5rem;
}
.band-green { background: var(--green-900); color: var(--bg); }
.band-green h2, .band-green h3 { color: #fff; }
.band-green a { color: var(--gold-300); }
.band-green .eyebrow { color: var(--gold-400); }
.band-green .section-head p { color: #cfd9cd; }
.band-cream { background: var(--bg-alt); }
.band-paper { background: var(--paper); }

/* --------------------------------------------------------------- buttons - */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem;
  padding: .8rem 1.5rem; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: transform .12s ease, background .15s ease, color .15s ease, border-color .15s ease;
  line-height: 1.2; text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--gold-400); color: var(--green-950); border-color: var(--gold-400); }
.btn-primary:hover { background: var(--gold-300); border-color: var(--gold-300); color: var(--green-950); }
.btn-green { background: var(--green-700); color: #fff; border-color: var(--green-700); }
.btn-green:hover { background: var(--green-800); color: #fff; }
.btn-ghost { background: transparent; color: var(--green-800); border-color: var(--green-800); }
.btn-ghost:hover { background: var(--green-800); color: #fff; }
.btn-ghost-light { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost-light:hover { background: #fff; color: var(--green-900); border-color: #fff; }
.btn-sm { padding: .5rem 1.05rem; font-size: .9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* --------------------------------------------------------------- header -- */
.topbar {
  background: var(--green-950); color: var(--gold-300);
  font-size: .82rem; letter-spacing: .04em;
}
.topbar .wrap { display: flex; flex-wrap: wrap; gap: .35rem 1.5rem; align-items: center; justify-content: center; padding: .45rem 0; text-align: center; }
.topbar strong { color: #fff; font-weight: 700; }
.topbar a { color: var(--gold-300); text-decoration: none; }
.topbar a:hover { color: #fff; text-decoration: underline; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.97); backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--line); box-shadow: 0 1px 0 rgba(8,32,15,.04);
}
.site-header .wrap { display: flex; align-items: center; gap: 1rem; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--green-900); flex: 0 0 auto; }
.brand img { width: 46px; height: 46px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.06; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; letter-spacing: -.01em; }
.brand-sub { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-600); font-weight: 700; }

.nav { margin-left: auto; display: flex; align-items: center; gap: .15rem; }
.nav > ul { display: flex; list-style: none; margin: 0; padding: 0; gap: .1rem; }
.nav-item { position: relative; }
.nav-link {
  display: flex; align-items: center; gap: .3rem; background: none; border: 0;
  font: inherit; font-weight: 600; font-size: .95rem; color: var(--ink);
  padding: .6rem .7rem; border-radius: var(--radius-sm); cursor: pointer; text-decoration: none;
}
.nav-link:hover { background: var(--green-100); color: var(--green-900); }
.nav-item[data-active="true"] > .nav-link { color: var(--green-800); box-shadow: inset 0 -3px 0 var(--gold-400); border-radius: var(--radius-sm) var(--radius-sm) 0 0; }
.nav-link .caret { width: .55em; transition: transform .15s ease; opacity: .55; }
.nav-item.open .caret { transform: rotate(180deg); }
.nav-panel {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 250px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-md); padding: .5rem; list-style: none; margin: 0;
  display: none;
}
.nav-item.open .nav-panel { display: block; }
.nav-panel a { display: block; padding: .55rem .7rem; border-radius: var(--radius-sm); text-decoration: none; color: var(--ink); font-weight: 600; font-size: .93rem; }
.nav-panel a:hover { background: var(--green-100); color: var(--green-900); }
.nav-panel .panel-note { display: block; font-weight: 400; font-size: .8rem; color: var(--ink-faint); }
.header-cta { margin-left: .6rem; flex: 0 0 auto; }
.nav .mobile-cta { display: none; }

.nav-toggle {
  display: none; margin-left: auto; background: var(--green-800); color: #fff;
  border: 0; border-radius: var(--radius-sm); padding: .6rem .85rem; font: inherit;
  font-weight: 700; font-size: .9rem; cursor: pointer; align-items: center; gap: .5rem;
}
.nav-toggle .bars { display: inline-block; width: 18px; height: 2px; background: currentColor; position: relative; }
.nav-toggle .bars::before, .nav-toggle .bars::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor; }
.nav-toggle .bars::before { top: -6px; }
.nav-toggle .bars::after { top: 6px; }

@media (max-width: 1080px) {
  .site-header { background: #fff; }
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  /* Anchored to the header itself, so it always lands directly beneath it
     whether or not the top strip has scrolled away. */
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; margin: 0;
    background: var(--bg); flex-direction: column; align-items: stretch;
    padding: 1rem 1.25rem 2rem; max-height: 78vh; overflow-y: auto; display: none;
    border-top: 1px solid var(--line); box-shadow: var(--shadow-lg);
  }
  .nav.open { display: flex; }
  .nav > ul { flex-direction: column; gap: 0; }
  .nav-item { border-bottom: 1px solid var(--line); }
  .nav-link { width: 100%; justify-content: space-between; padding: .95rem .25rem; font-size: 1.05rem; }
  .nav-panel { position: static; display: none; box-shadow: none; border: 0; background: transparent; padding: 0 0 .75rem .25rem; min-width: 0; }
  .nav-item.open .nav-panel { display: block; }
  .nav-panel a { padding: .55rem .5rem; }
  .nav .mobile-cta { margin-top: 1.25rem; display: grid; gap: .6rem; }
}

/* ----------------------------------------------------------------- hero -- */
.hero { position: relative; color: #fff; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 32%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(8,32,15,.62) 0%, rgba(8,32,15,.48) 42%, rgba(8,32,15,.92) 100%),
    linear-gradient(90deg, rgba(8,32,15,.75) 0%, rgba(8,32,15,.15) 62%);
}
.hero .wrap { padding-block: clamp(3rem, 9vw, 6.5rem); }
.hero-inner { max-width: 46rem; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .55rem; background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.32); backdrop-filter: blur(4px);
  padding: .4rem .95rem; border-radius: 999px; font-size: .8rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--gold-300); margin-bottom: 1.1rem;
}
.hero h1 { color: #fff; text-shadow: 0 2px 24px rgba(0,0,0,.35); margin-bottom: .35rem; }
.hero h1 .line-sm { display: block; font-size: .44em; letter-spacing: .04em; color: var(--gold-300); text-transform: uppercase; margin-bottom: .35rem; }
.hero-dates { font-size: clamp(1.05rem, 2.2vw, 1.35rem); font-weight: 600; color: var(--gold-300); margin-bottom: .35rem; }
.hero-lede { font-size: 1.1rem; color: #e8eee6; max-width: 40rem; margin-bottom: 1.6rem; }
.hero .btn-row { margin-bottom: 2rem; }

/* countdown */
.countdown { display: flex; gap: .6rem; flex-wrap: wrap; }
.countdown li {
  list-style: none; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.24);
  backdrop-filter: blur(4px); border-radius: var(--radius); padding: .65rem 1rem; min-width: 5.1rem; text-align: center;
}
.countdown .num { display: block; font-family: var(--font-display); font-size: 1.75rem; font-weight: 700; color: #fff; line-height: 1; }
.countdown .lbl { display: block; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-300); margin-top: .3rem; }
.countdown-note { margin: .85rem 0 0; font-size: .9rem; color: #cfd9cd; }

/* ------------------------------------------------------- quick-access ---- */
.quicknav { background: var(--green-800); }
.quicknav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; grid-template-columns: repeat(6, 1fr); background: rgba(255,255,255,.14); }
.quicknav a {
  display: flex; flex-direction: column; align-items: center; gap: .45rem; justify-content: center;
  background: var(--green-800); color: #fff; text-decoration: none; padding: 1.15rem .6rem;
  font-weight: 700; font-size: .92rem; text-align: center; transition: background .15s ease;
}
.quicknav a:hover { background: var(--green-700); color: var(--gold-300); }
.quicknav svg { width: 26px; height: 26px; stroke: var(--gold-400); fill: none; stroke-width: 1.7; }
@media (max-width: 900px) { .quicknav ul { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 460px) { .quicknav ul { grid-template-columns: repeat(2, 1fr); } .quicknav a { font-size: .85rem; padding: .95rem .4rem; } }

/* ---------------------------------------------------------------- cards -- */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 950px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
  transition: transform .16s ease, box-shadow .16s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card-media { aspect-ratio: 16 / 10; background: var(--green-100); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 1.25rem 1.35rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin-bottom: .4rem; }
.card-body p { color: var(--ink-soft); font-size: .98rem; margin-bottom: 1rem; }
.card-body .card-link { margin-top: auto; font-weight: 700; text-decoration: none; color: var(--green-700); }
.card-body .card-link::after { content: " →"; }
.card-body .card-link:hover { color: var(--gold-600); }
.tag {
  display: inline-block; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  background: var(--wash); color: var(--gold-600); padding: .25rem .6rem; border-radius: 999px; margin-bottom: .6rem;
}
.tag-green { background: var(--green-100); color: var(--green-800); }
.tag-red { background: #f8e3e0; color: var(--rodeo-red); }

/* Flat info panel */
.panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.6rem 1.75rem; box-shadow: var(--shadow-sm);
}
.panel > :last-child { margin-bottom: 0; }
.panel-gold { border-color: var(--gold-400); background: linear-gradient(180deg, var(--wash), #fff 60%); }
.panel h3 { margin-top: 0; }
.panel-list { list-style: none; padding: 0; margin: 0; }
.panel-list li { padding: .6rem 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.panel-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.panel-list .k { font-weight: 700; }
.panel-list .v { color: var(--ink-soft); text-align: right; }

/* stat strip */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.stat { text-align: center; }
.stat .n { font-family: var(--font-display); font-size: clamp(2rem, 4.5vw, 2.9rem); font-weight: 700; color: var(--gold-300); line-height: 1; }
.band-cream .stat .n, .band-paper .stat .n { color: var(--green-700); }
.stat .l { font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; margin-top: .4rem; opacity: .9; }
@media (max-width: 620px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ------------------------------------------------------------- schedule -- */
.day-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.day-tab {
  font: inherit; font-weight: 700; font-size: .92rem; cursor: pointer;
  background: #fff; border: 1px solid var(--line); color: var(--ink);
  padding: .55rem 1.05rem; border-radius: 999px; line-height: 1.25;
}
.day-tab .dow { display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); font-weight: 700; }
.day-tab[aria-selected="true"] { background: var(--green-800); border-color: var(--green-800); color: #fff; }
.day-tab[aria-selected="true"] .dow { color: var(--gold-300); }

.filter-row { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; margin-bottom: 1.5rem; }
.filter-row .flabel { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); margin-right: .35rem; }
.chip {
  font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer;
  background: #fff; border: 1px solid var(--line); color: var(--ink-soft);
  padding: .35rem .85rem; border-radius: 999px;
}
.chip[aria-pressed="true"] { background: var(--gold-400); border-color: var(--gold-400); color: var(--green-950); font-weight: 700; }

.sched { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.sched li {
  display: grid; grid-template-columns: 8.5rem 1fr auto; gap: 1rem 1.5rem; align-items: baseline;
  padding: 1rem .25rem; border-bottom: 1px solid var(--line);
}
.sched .time { font-weight: 700; color: var(--green-800); font-variant-numeric: tabular-nums; }
.sched .what { min-width: 0; }
.sched .what strong { display: block; font-family: var(--font-display); font-size: 1.08rem; }
.sched .what .where { color: var(--ink-faint); font-size: .92rem; }
.sched .cat { font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-600); white-space: nowrap; }
.sched li[hidden] { display: none; }
.sched .empty { display: block; padding: 2rem 0; color: var(--ink-faint); font-style: italic; }
.sched .empty[hidden] { display: none; }
@media (max-width: 700px) {
  .sched li { grid-template-columns: 1fr; gap: .2rem; padding: .95rem .25rem; }
  .sched .cat { order: -1; }
}

/* ---------------------------------------------------------------- table -- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: .98rem; }
caption { text-align: left; padding: 1rem 1.15rem .25rem; font-weight: 700; font-family: var(--font-display); font-size: 1.15rem; }
th, td { text-align: left; padding: .8rem 1.15rem; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--green-800); color: #fff; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; border-bottom: 0; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) { background: #f4faf4; }
td.price { font-weight: 700; color: var(--green-800); white-space: nowrap; }
.free { color: var(--rodeo-red); font-weight: 800; }

/* ----------------------------------------------------------- accordion --- */
.acc { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.acc + .acc { margin-top: .75rem; }
.acc > summary {
  cursor: pointer; list-style: none; padding: 1rem 1.25rem; font-weight: 700;
  font-family: var(--font-display); font-size: 1.1rem; display: flex; justify-content: space-between; gap: 1rem; align-items: center;
}
.acc > summary::-webkit-details-marker { display: none; }
.acc > summary::after { content: "+"; font-size: 1.5rem; color: var(--gold-600); line-height: 1; font-family: var(--font-body); }
.acc[open] > summary::after { content: "–"; }
.acc > summary:hover { background: var(--bg); }
.acc-body { padding: 0 1.25rem 1.25rem; }
.acc-body > :last-child { margin-bottom: 0; }

/* --------------------------------------------------------- page header --- */
.page-hero { background: var(--green-900); color: #fff; position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(244,205,109,.22) 1px, transparent 0);
  background-size: 26px 26px; opacity: .5;
}
.page-hero .wrap { position: relative; padding-block: clamp(2.25rem, 5vw, 3.75rem); }
.page-hero h1 { color: #fff; margin-bottom: .4rem; }
.page-hero p { color: #cfd9cd; font-size: 1.1rem; max-width: 58ch; margin-bottom: 0; }
.breadcrumb { font-size: .85rem; color: var(--gold-300); margin-bottom: .9rem; }
.breadcrumb a { color: var(--gold-300); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; color: #fff; }

/* ------------------------------------------------------------ contacts --- */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.contact-list li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.15rem; }
.contact-list .role { font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-600); }
.contact-list .name { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.contact-list a { font-weight: 600; text-decoration: none; }

/* ------------------------------------------------------------ sponsors --- */
.sponsor-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1rem; align-items: center; }
.sponsor-grid .sp {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1rem; display: grid; place-items: center; min-height: 96px;
}
.sponsor-grid img { max-height: 68px; width: auto; object-fit: contain; }
.sponsor-names { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0; }
.sponsor-names li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .4rem 1rem; font-weight: 600; font-size: .95rem; }
.band-green .sponsor-names li { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.22); color: #fff; }

/* ------------------------------------------------------------- gallery --- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .85rem; }
.gallery img { border-radius: var(--radius); aspect-ratio: 3/2; object-fit: cover; width: 100%; box-shadow: var(--shadow-sm); }

/* -------------------------------------------------------------- people --- */
.people { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1.25rem; }
.person { text-align: center; }
.person img { border-radius: var(--radius-lg); aspect-ratio: 4/5; object-fit: cover; width: 100%; box-shadow: var(--shadow-sm); margin-bottom: .7rem; }
.person .pname { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.person .ptitle { font-size: .88rem; color: var(--ink-faint); }

/* ------------------------------------------------------------- feature --- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 860px) { .split, .split.reverse { grid-template-columns: 1fr; } .split.reverse > :first-child { order: 0; } }
.split img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); width: 100%; }

.callout {
  border-left: 5px solid var(--gold-400); background: var(--wash);
  padding: 1.1rem 1.35rem; border-radius: 0 var(--radius) var(--radius) 0; margin: 1.5rem 0;
}
.callout > :last-child { margin-bottom: 0; }
.callout strong { color: var(--gold-600); }
.callout-red { border-left-color: var(--rodeo-red); background: #fbeae7; }
.callout-red strong { color: var(--rodeo-red); }

.deadline-strip {
  display: flex; flex-wrap: wrap; gap: 1rem; list-style: none; padding: 0; margin: 0 0 2rem;
}
.deadline-strip li {
  flex: 1 1 200px; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--gold-400);
  border-radius: var(--radius); padding: .95rem 1.1rem;
}
.deadline-strip .d-when { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--green-800); }
.deadline-strip .d-what { font-size: .9rem; color: var(--ink-soft); }

/* -------------------------------------------------------------- signup --- */
.signup { display: flex; gap: .6rem; flex-wrap: wrap; max-width: 30rem; }
.signup input {
  flex: 1 1 15rem; font: inherit; padding: .78rem 1rem; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.1); color: #fff;
}
.signup input::placeholder { color: #b9c6b7; }
.signup input:focus { background: #fff; color: var(--ink); }

/* -------------------------------------------------------------- footer --- */
.site-footer { background: var(--green-950); color: #c9d4c6; padding-block: 3rem 1.5rem; font-size: .95rem; }
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; font-family: var(--font-body); margin-bottom: .9rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.site-footer a { color: #c9d4c6; text-decoration: none; }
.site-footer a:hover { color: var(--gold-300); text-decoration: underline; }
.footer-brand img { width: 76px; margin-bottom: .9rem; }
.footer-brand .fb-name { font-family: var(--font-display); color: #fff; font-size: 1.15rem; font-weight: 700; line-height: 1.2; margin-bottom: .6rem; }
.footer-social { display: flex; gap: .6rem; margin-top: 1rem; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); display: grid; place-items: center; }
.footer-social a:hover { background: var(--gold-400); border-color: var(--gold-400); }
.footer-social svg { width: 18px; height: 18px; fill: currentColor; }
.footer-social a:hover svg { fill: var(--green-950); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.14); margin-top: 2.5rem; padding-top: 1.25rem;
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; font-size: .85rem; color: #93a291;
}

/* ------------------------------------------------------------ utilities -- */
.lede { font-size: 1.15rem; color: var(--ink-soft); }
.center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 2rem; } .mb-2 { margin-bottom: 2rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.two-col { columns: 2; column-gap: 2.5rem; }
@media (max-width: 620px) { .two-col { columns: 1; } }
.rule-list { padding-left: 1.15em; }
.rule-list li { margin-bottom: .45rem; }
.pill-note { display: inline-block; background: var(--green-100); color: var(--green-800); font-weight: 700; font-size: .85rem; padding: .3rem .8rem; border-radius: 999px; }

/* ============================================================== forms ==== */
.form-wrap { max-width: 52rem; }
.fieldset {
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff;
  padding: 1.5rem 1.6rem; margin: 0 0 1.5rem;
}
.fieldset > legend {
  font-family: var(--font-display); font-weight: 700; font-size: 1.15rem;
  padding: 0 .6rem; margin-left: -.6rem; color: var(--green-800);
}
.fieldset .hint { color: var(--ink-faint); font-size: .92rem; margin: -.25rem 0 1.1rem; }

.field-grid { display: grid; gap: 1rem 1.25rem; grid-template-columns: repeat(2, 1fr); }
.field-grid.one { grid-template-columns: 1fr; }
.field-grid.three { grid-template-columns: 2fr 1fr 1fr; }
@media (max-width: 640px) { .field-grid, .field-grid.three { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: .35rem; min-width: 0; }
.field > label { font-weight: 700; font-size: .93rem; }
.field .req { color: var(--rodeo-red); }
.field small { color: var(--ink-faint); font-size: .84rem; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; padding: .62rem .8rem; border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong); background: #fff; color: var(--ink); width: 100%;
}
.field textarea { min-height: 6.5rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--green-600); box-shadow: 0 0 0 3px rgba(47,122,68,.16); outline: none;
}
/* :user-invalid only matches after the visitor has interacted with the field.
   The old :invalid:not(:placeholder-shown) fired on load for any required input
   that had no placeholder attribute, so First/Last name rendered pre-errored. */
.field input:user-invalid,
.field select:user-invalid,
.field textarea:user-invalid { border-color: var(--rodeo-red); }

.radio-row, .check-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.radio-row label, .check-row label {
  display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; font-size: .95rem;
  background: #fff; border: 1px solid var(--line-strong); border-radius: 999px;
  padding: .45rem .95rem; cursor: pointer;
}
.radio-row label:hover, .check-row label:hover { border-color: var(--green-600); background: #fff; }
.radio-row input, .check-row input { accent-color: var(--green-700); margin: 0; }
.radio-row label:has(input:checked), .check-row label:has(input:checked) {
  background: var(--green-100); border-color: var(--green-700); color: var(--green-900);
}

/* volunteer shift picker */
.shift-day { border-top: 1px solid var(--line); padding: 1rem 0 .4rem; }
.shift-day:first-of-type { border-top: 0; }
.shift-day > h4 {
  font-family: var(--font-body); font-size: .82rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--gold-600); margin-bottom: .6rem;
}
.shift-day .dayname { font-family: var(--font-display); font-size: 1.05rem; color: var(--ink); text-transform: none; letter-spacing: 0; }

.form-actions {
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: center;
  padding-top: .5rem;
}
.form-note { font-size: .9rem; color: var(--ink-faint); }
.form-status {
  border-radius: var(--radius); padding: .9rem 1.15rem; margin: 1rem 0 0; font-weight: 600;
  display: none;
}
.form-status[data-state="error"] { display: block; background: #fbeae7; color: #7d2118; border: 1px solid #e5b8b1; }
.form-status[data-state="ok"] { display: block; background: #e4f0e4; color: #1a4a29; border: 1px solid #a9cdae; }
.form-status[data-state="working"] { display: block; background: var(--wash); color: var(--gold-600); border: 1px solid var(--gold-400); }
.cf-turnstile { margin: .5rem 0 1rem; }

/* ============================================================== admin ==== */
.admin-bar {
  display: flex; flex-wrap: wrap; gap: .6rem; align-items: end;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1rem 1.15rem; margin-bottom: 1.5rem;
}
.admin-bar .field { flex: 0 1 12rem; }
.admin-stats { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.5rem; }
.admin-stats .s {
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--gold-400);
  border-radius: var(--radius-sm); padding: .6rem 1rem; font-size: .92rem;
}
.admin-stats .s b { font-family: var(--font-display); font-size: 1.3rem; display: block; color: var(--green-800); }
.sub-row td { vertical-align: top; }
.sub-row .who { font-weight: 700; }
.sub-row .meta { color: var(--ink-faint); font-size: .88rem; }
.status-pill {
  font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  padding: .2rem .55rem; border-radius: 999px; white-space: nowrap;
}
.status-new { background: var(--wash); color: var(--gold-600); }
.status-confirmed { background: #e4f0e4; color: var(--green-800); }
.status-declined { background: #f8e3e0; color: var(--rodeo-red); }
.status-archived { background: #e7ece8; color: var(--ink-faint); }
.detail-pre {
  background: #f1f7f1; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: .8rem; font-size: .82rem; white-space: pre-wrap; word-break: break-word;
  max-height: 16rem; overflow: auto; font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.coverage-grid { display: grid; gap: .5rem; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.coverage-grid .c {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: .6rem .85rem; font-size: .9rem; display: flex; justify-content: space-between; gap: .75rem;
}
.coverage-grid .c b { color: var(--green-800); }
.coverage-grid .c.thin { border-left: 4px solid var(--rodeo-red); }
