/* ==========================================================================
   Veterans: The Gathering — site styles
   Theme: dark mode. Scandinavian calm + US armed forces, in the VTG logo colors.
   Gold = the visitor's main action. Red = Donate and the headline accent only.
   ========================================================================== */

:root {
  /* Surfaces, darkest to lightest */
  --ink: #0f0e0d;          /* header, footer */
  --bg: #161513;           /* page */
  --bg-2: #1d1b19;         /* alternate sections, page headers */
  --surface: #242220;      /* cards */
  --surface-2: #2d2a27;    /* inner panels, hover */
  --border: #3a3632;

  /* Text */
  --heading: #ffffff;
  --text: #e6e1d7;
  --muted: #a9a399;

  /* Logo colors */
  --gold: #fdca02;
  --gold-2: #ffd633;
  --red: #e0303f;          /* logo red, lifted slightly for contrast on dark */
  --red-2: #d62839;        /* logo red (button fill) */
  --red-3: #b81f2e;

  --font-display: "Big Shoulders Display", "Oswald", "Arial Narrow", sans-serif;
  --font-stencil: "Saira Stencil One", "Big Shoulders Display", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 6px;
  --radius-lg: 10px;
  --shadow: 0 10px 28px rgba(0, 0, 0, .35);
  --wrap: 1120px;
  --header-h: 72px;
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--text); text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: .2em; }
a:hover { color: var(--gold); }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.02; margin: 0 0 .5em; color: var(--heading); }
h1 { font-family: var(--font-stencil); font-size: clamp(2.4rem, 5.4vw, 4.4rem); font-weight: 400; line-height: 1.05; text-transform: uppercase; }
h2 { font-size: clamp(2rem, 3.6vw, 2.75rem); font-weight: 800; text-transform: uppercase; letter-spacing: .01em; }
h3 { font-size: 1.5rem; font-weight: 700; line-height: 1.1; }
h2.center { text-align: center; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 3px; }
::selection { background: var(--gold); color: var(--ink); }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 200; background: var(--gold); color: var(--ink); padding: .75rem 1rem; border-radius: 4px; font-weight: 700; }
.skip-link:focus { top: 1rem; }
.lede { font-size: clamp(1.125rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 46ch; }
.lede-dark { color: var(--text); }

/* Knot-line divider */
.braid { height: 16px; max-width: 200px; margin: 0 0 2.5rem; background: url("../img/braid.svg") repeat-x center / 40px 16px; }
.braid.center { margin-inline: auto; }

.text-link { font-weight: 600; text-decoration: none; white-space: nowrap; }
.text-link i { color: var(--gold); margin-left: .25rem; transition: transform .15s; }
.text-link:hover i { transform: translateX(3px); }
.aside-link { margin: 2rem 0 0; color: var(--muted); }
.aside-link a { font-weight: 600; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--gold); --fg: var(--ink); --bd: var(--gold);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .8rem 1.35rem; min-height: 48px;
  font: 700 .9375rem/1 var(--font-body); letter-spacing: .04em; text-transform: uppercase; text-decoration: none;
  color: var(--fg); background: var(--bg); border: 2px solid var(--bd); border-radius: 4px;
  cursor: pointer; transition: transform .15s ease, background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover { color: var(--fg); transform: translateY(-1px); }
.btn-primary:hover { --bg: var(--gold-2); --bd: var(--gold-2); }
.btn-red { --bg: var(--red-2); --fg: #fff; --bd: var(--red-2); }
.btn-red:hover { --bg: var(--red-3); --bd: var(--red-3); }
.btn-outline, .btn-ghost { --bg: transparent; --fg: var(--text); --bd: #5a554f; }
.btn-outline:hover, .btn-ghost:hover { --bd: var(--text); --fg: #fff; }
.btn-sm { padding: .5rem .9rem; min-height: 38px; font-size: .8125rem; }
.btn-lg { padding: 1rem 1.6rem; font-size: 1rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- Announcement (home only) ---------- */
.announce { background: var(--bg-2); color: var(--text); font-size: .9rem; font-weight: 500; text-align: center; padding: .5rem 1rem; border-bottom: 1px solid var(--border); }
.announce a { font-weight: 700; color: var(--gold); text-decoration: none; }
.announce a:hover { text-decoration: underline; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--ink); border-bottom: 2px solid var(--gold); }
.header-inner { display: flex; align-items: center; justify-content: center; gap: 1rem; height: var(--header-h); }
.nav { display: flex; align-items: center; gap: .15rem; }
.nav a:not(.btn) {
  color: var(--text); text-decoration: none; font-weight: 600; font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase;
  padding: .6rem .85rem; transition: color .15s;
}
.nav a:not(.btn):hover { color: #fff; }
.nav a[aria-current="page"] { color: var(--gold); box-shadow: inset 0 -2px 0 var(--gold); }
.nav .btn { margin-left: .75rem; }
.nav-toggle-label { display: none; }
.nav-toggle { display: none; align-items: center; justify-content: center; width: 48px; height: 48px; border: 0; border-radius: 6px; background: transparent; color: #fff; cursor: pointer; }
.nav-toggle svg { width: 26px; height: 26px; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-open { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: .25rem;
    padding: 1rem 1.25rem 1.5rem; background: var(--ink); border-bottom: 2px solid var(--gold);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .nav-open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav a:not(.btn) { padding: .9rem 1rem; font-size: .9375rem; }
  .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--gold); }
  .nav .btn { margin: .5rem 0 0; min-height: 48px; }
  .header-inner { justify-content: flex-end; }
}

/* ---------- Home hero: the logo is the centerpiece ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden; text-align: center;
  background:
    radial-gradient(60% 55% at 50% 30%, rgba(253, 202, 2, .10), transparent 70%),
    radial-gradient(45% 45% at 50% 70%, rgba(214, 40, 57, .08), transparent 70%),
    var(--bg);
  padding-bottom: clamp(90px, 12vw, 170px);
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: clamp(90px, 13vw, 190px); z-index: -1;
  background: url("../img/ridges-hero.svg") bottom / 100% 100% no-repeat;
}
.hero-content { padding-top: clamp(2.5rem, 6vw, 4.5rem); display: flex; flex-direction: column; align-items: center; }
.hero-logo { width: min(100%, 760px); height: auto; margin-bottom: clamp(1.5rem, 3vw, 2.25rem); filter: drop-shadow(0 18px 40px rgba(0,0,0,.55)); }
.hero h1 { font-size: clamp(1.6rem, 3.4vw, 2.6rem); margin-bottom: .9rem; }
.hero h1 .accent { color: var(--red); }
.hero .lede { margin: 0 auto 1.75rem; color: var(--text); }
.hero-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.5rem; margin-top: 1.5rem; color: var(--muted); font-size: .9375rem; font-weight: 600; }
.hero-badges span { display: inline-flex; align-items: center; gap: .4rem; }
.hero-badges i { color: var(--gold); }
@media (max-width: 860px) {
  .hero-content { padding-top: 2rem; }
  .hero h1 .accent { display: block; }
}

/* ---------- Inner page hero (compact) ---------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  color: var(--text);
  padding-block: clamp(2.5rem, 6vw, 4rem) clamp(4rem, 8vw, 6rem);
}
.page-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(50px, 7vw, 100px); z-index: -1;
  background: url("../img/ridges-dark.svg") bottom / 100% 100% no-repeat;
}
.page-hero h1 { font-size: clamp(1.9rem, 4.4vw, 3.25rem); margin-bottom: .3em; }
.page-hero .lede { margin: 0; }
.page-hero .btn-row { margin-top: 1.5rem; }
.page-hero-tall { min-height: 50vh; display: grid; align-items: center; }
.crumbs { font-size: .875rem; color: var(--muted); margin-bottom: .75rem; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: #fff; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.section-tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
/* Camo texture breaks up the darker bands */
.camo, .section-dark, .page-hero { background-color: var(--bg-2); background-image: url("../img/camo.svg"); background-size: 480px 480px; }
.section-dark { border-block: 1px solid var(--border); }
.section-head-row { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem 1.5rem; flex-wrap: wrap; margin-bottom: 1.75rem; }
.section-head-row h2 { margin: 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 4.5rem); align-items: center; }
.split.top { align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
@media (max-width: 860px) { .grid-3 { grid-template-columns: 1fr; } }
.photo { border-radius: var(--radius-lg); width: 100%; height: auto; }

/* ---------- Cards ---------- */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2rem); }
.card-dark { border-top: 3px solid var(--gold); }

/* First-night steps */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.step { counter-increment: step; padding: 1.5rem; border-top: 3px solid var(--gold); background: var(--surface); border-radius: 0 0 var(--radius) var(--radius); }
.step::before { content: "0" counter(step); display: block; font: 400 2rem/1 var(--font-stencil); color: var(--gold); margin-bottom: .75rem; }
.step h3 { margin-bottom: .3rem; }
.step p { margin: 0; color: var(--muted); }

/* ---------- Locations ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.75rem; }
.chip {
  border: 1.5px solid var(--border); background: var(--surface); color: var(--text);
  padding: .5rem 1rem; border-radius: 999px; font: 600 .9375rem/1 var(--font-body); cursor: pointer; min-height: 42px;
}
.chip:hover { border-color: var(--muted); }
.chip[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.chip .count { opacity: .6; margin-left: .35rem; font-weight: 500; }

.loc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.25rem; }
.loc-card {
  display: flex; flex-direction: column; gap: .9rem;
  background: var(--surface); border: 1px solid var(--border); border-top: 3px solid var(--gold); border-radius: var(--radius-lg); padding: 1.5rem;
  transition: box-shadow .2s ease;
}
.loc-card:hover { box-shadow: var(--shadow); }
.loc-card.is-target { box-shadow: 0 0 0 3px var(--gold), var(--shadow); }
.loc-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.loc-city { font-family: var(--font-display); font-size: 1.75rem; font-weight: 800; line-height: 1; margin: 0; }
.loc-venue { color: var(--muted); font-size: .9375rem; margin-top: .3rem; }
.state-tag { flex-shrink: 0; font: 700 .75rem/1 var(--font-body); letter-spacing: .08em; background: var(--ink); color: var(--gold); padding: .4rem .5rem; border-radius: 4px; }
.loc-when strong { display: block; color: #fff; }
.loc-when span { color: var(--muted); }
.loc-addr { color: var(--muted); font-size: .9375rem; line-height: 1.5; margin: 0; }
.loc-addr em { display: block; font-size: .875rem; }
.loc-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: auto; padding-top: .25rem; }
.badge { display: inline-block; font-size: .8125rem; font-weight: 600; padding: .2rem .55rem; border-radius: 999px; background: var(--surface-2); color: var(--text); margin-right: .35rem; }
.badge-new { background: rgba(253, 202, 2, .15); color: var(--gold); }
.empty { color: var(--muted); }

/* Home: compact list, each tile links to its own card */
.loc-compact { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: .75rem; }
.loc-compact a {
  display: block; text-decoration: none; color: inherit;
  background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--gold); border-radius: var(--radius); padding: .9rem 1.1rem;
  transition: background-color .15s, transform .15s;
}
.loc-compact a:hover { background: var(--surface-2); transform: translateY(-2px); color: inherit; }
.loc-compact strong { display: block; color: #fff; font-size: 1.0625rem; }
.loc-compact .meta { display: block; color: var(--muted); font-size: .875rem; line-height: 1.4; }
.loc-compact .when { display: block; color: var(--gold); font-size: .875rem; font-weight: 600; margin-top: .3rem; }

/* ---------- Press ---------- */
.press { list-style: none; margin: 0; padding: 0; display: grid; max-width: 820px; }
.press li { padding: 1.25rem 0; border-top: 1px solid var(--border); }
.press li:last-child { border-bottom: 1px solid var(--border); }
.press .outlet { display: block; font-size: .875rem; font-weight: 600; color: var(--muted); margin-bottom: .2rem; }
.press .headline { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; line-height: 1.15; text-decoration: none; color: #fff; }
.press .headline:hover { color: var(--gold); }
.press .also { display: block; margin-top: .3rem; font-size: .875rem; color: var(--muted); }

/* ---------- Donate band ---------- */
.donate-band {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--red-2); border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.25rem);
  display: grid; grid-template-columns: 1fr auto; gap: 1.5rem 2rem; align-items: center;
}
.donate-band h2 { margin-bottom: .4rem; }
.donate-band p { margin: 0; color: var(--muted); max-width: 52ch; }
.donate-band .tax-note { margin-top: .6rem; font-size: .875rem; }
.donate-band .btn { padding: 1rem 2rem; font-size: 1rem; }
@media (max-width: 700px) { .donate-band { grid-template-columns: 1fr; } .donate-band .btn { justify-self: start; } }

/* ---------- Merch ---------- */
.merch-media { border-radius: var(--radius-lg); overflow: hidden; background: #000; }
.merch-media img { width: 100%; height: auto; }
.h1-sm { font-size: clamp(2rem, 4vw, 3rem); }

/* ---------- People ---------- */
.people { display: grid; gap: 2.5rem; }
.person { display: grid; grid-template-columns: 112px 1fr; gap: 1.25rem; align-items: start; }
.person-photo, .person-initials { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--gold); }
.person-initials { display: grid; place-items: center; background: var(--surface-2); color: var(--gold); font: 400 2rem/1 var(--font-stencil); }
.person h3 { margin-bottom: .1rem; }
.person .role { color: var(--gold); font-size: .875rem; font-weight: 600; margin-bottom: .6rem; }
.person p { color: var(--muted); margin: 0; max-width: 62ch; }
.person-lead { grid-template-columns: 168px 1fr; gap: 2rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--border); }
.person-lead .person-photo, .person-lead .person-initials { width: 168px; height: 168px; font-size: 3rem; }
.person-lead h3 { font-size: 2.25rem; }
.person-lead p { font-size: 1.125rem; color: var(--text); }
.board { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
@media (max-width: 1060px) { .board { grid-template-columns: repeat(2, 1fr); } }
.board .person { grid-template-columns: 1fr; align-content: start; }
@media (max-width: 860px) {
  .board { grid-template-columns: 1fr; }
  .board .person { grid-template-columns: 88px 1fr; }
  .board .person-photo, .board .person-initials { width: 88px; height: 88px; }
  .person-lead { grid-template-columns: 1fr; }
  .person-lead .person-photo, .person-lead .person-initials { width: 120px; height: 120px; }
}

.facts { margin: 0; }
.facts div { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--border); }
.facts div:last-child { border-bottom: 0; }
.facts dt { color: var(--muted); font-size: .9375rem; }
.facts dd { margin: 0; color: #fff; font-weight: 600; }
.facts-light { margin: 1.5rem 0 1.75rem; }
@media (max-width: 480px) { .facts div { grid-template-columns: 1fr; gap: .1rem; } }

/* ---------- Footer ---------- */
.crisis { background: var(--bg-2); color: var(--text); font-size: .9375rem; padding: .9rem 0; border-top: 2px solid var(--gold); }
.crisis .wrap { display: flex; align-items: center; gap: .75rem; }
.crisis strong { color: #fff; }
.crisis a { color: var(--gold); font-weight: 700; }
.crisis i { color: var(--gold); }

.site-footer { background: var(--ink); color: var(--muted); font-size: .9375rem; padding-top: 3rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.3fr; gap: 2.5rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
.footer-brand img { height: 52px; width: auto; }
.site-footer h4 { color: #fff; font: 600 .9375rem var(--font-body); margin: 0 0 .75rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.site-footer a { color: var(--text); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.social { display: flex; gap: .5rem; margin-top: 1.25rem; }
.social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--border); color: #fff; }
.social a:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.friend { display: flex; align-items: center; gap: .6rem; margin-top: 1rem; }
.friend img { width: 40px; height: auto; }
.footer-bottom { margin-top: 2.5rem; padding: 1.25rem 0; border-top: 1px solid var(--border); display: flex; justify-content: space-between; gap: .5rem 1rem; flex-wrap: wrap; font-size: .8125rem; }
address { font-style: normal; }

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

/* ---------- FAQ page ---------- */
.faq-page { max-width: 820px; }
.faq-group + .faq-group { margin-top: 3rem; }
.faq-group h2 { font-size: clamp(1.6rem, 2.6vw, 2rem); padding-bottom: .6rem; border-bottom: 2px solid var(--gold); margin-bottom: .5rem; }
.qa-list { margin: 0; }
.qa { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: .35rem 2rem; padding: 1.1rem 0; border-bottom: 1px solid var(--border); }
.qa dt { font-weight: 700; color: #fff; }
.qa dd { margin: 0; color: var(--muted); }
.qa dd a { color: var(--text); font-weight: 600; }
@media (max-width: 640px) { .qa { grid-template-columns: 1fr; } }
