@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Roboto+Condensed:wght@700;900&family=Roboto:ital,wght@0,300;0,400;0,500;0,700;0,900;1,400&display=swap");

/* ==========================================================================
   Bowfishing Association of America — "Rugged & Outdoors" design system
   Dark, photo-led, night-on-the-water. Brand palette preserved:
     red #ee272e · navy #1e2c39 · charcoal #0d0d0d · white #fff · logo blue #1f4e79
   Display: Roboto Condensed (900) · UI/labels: Oswald · Body: Roboto
   ========================================================================== */

:root {
  /* Brand */
  --red: #ee272e;
  --red-dark: #c8202a;
  --red-bright: #ff5a60;
  --navy: #1e2c39;
  --navy-deep: #14202b;
  --blue: #1f4e79;
  --charcoal: #0d0d0d;

  /* Dark surfaces */
  --bg: #0d0d0d;
  --bg-alt: #131d27;
  --surface: #17222d;
  --surface-2: #1d2a36;
  --field-bg: #0f1922;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .18);

  /* Text on dark */
  --text: #c2cbd4;
  --text-strong: #f1f5f8;
  --text-muted: #8794a1;

  /* Aliases kept so page-local styles that reference them adapt to dark */
  --white: #ffffff;
  --off-white: var(--bg-alt);
  --gray-100: var(--line);
  --gray-300: var(--line-2);
  --gray-500: var(--text-muted);
  --gray-700: #9aa6b2;
  --ink: var(--text);

  /* Semantic */
  --bg-page: var(--bg);
  --accent: var(--red);

  /* Type */
  --font: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: "Roboto Condensed", "Oswald", Impact, sans-serif;
  --ui: "Oswald", "Roboto Condensed", sans-serif;

  /* Layout */
  --maxw: 1200px;
  --radius: 6px;
  --radius-sm: 4px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, .4);
  --shadow: 0 16px 40px rgba(0, 0, 0, .5);
  --shadow-lg: 0 30px 70px rgba(0, 0, 0, .6);
  --ease: cubic-bezier(.16, .84, .44, 1);

  /* Angled cut used on primary CTAs */
  --cut: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red-bright); text-decoration: none; transition: color .18s var(--ease); }
a:hover { color: #fff; }

h1, h2, h3, h4 { color: var(--text-strong); margin: 0 0 .5em; }
h1, h2 {
  font-family: var(--display); font-weight: 900;
  text-transform: uppercase; line-height: .98; letter-spacing: -.005em;
}
h1 { font-size: clamp(2.6rem, 6vw, 5rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-family: var(--ui); font-weight: 600; text-transform: uppercase; letter-spacing: .015em; line-height: 1.1; font-size: 1.3rem; }
h4 { font-family: var(--ui); font-weight: 600; }
p { margin: 0 0 1.1em; }
strong { color: var(--text-strong); }
ul, ol { margin: 0 0 1.1em; padding-left: 1.2em; }
li { margin-bottom: .4em; }
.muted { color: var(--text-muted); }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.section { padding: clamp(56px, 9vw, 110px) 0; }
.section--alt { background: var(--bg-alt); }
.section--navy { background: var(--navy-deep); }
.center { text-align: center; }
.lead { font-size: 1.22rem; color: var(--text-muted); max-width: 64ch; }
.center .lead { margin-inline: auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--ui); font-size: .92rem; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--red-bright); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--red); display: inline-block; }
.center .eyebrow::before { display: none; }
.divider-bar { width: 60px; height: 3px; background: var(--red); margin: 0 0 1.5rem; }
.center .divider-bar { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--ui); font-weight: 600; font-size: 1rem; letter-spacing: .05em; text-transform: uppercase;
  padding: .95em 2em; border: 1px solid transparent;
  cursor: pointer; transition: transform .15s var(--ease), background .2s, color .2s, box-shadow .2s, border-color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--red); color: #fff; clip-path: var(--cut); box-shadow: 0 10px 24px rgba(238, 39, 46, .3); }
.btn--primary:hover { background: var(--red-dark); color: #fff; }
.btn--ghost { background: rgba(255, 255, 255, .06); color: #fff; border-color: var(--line-2); }
.btn--ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn--navy { background: var(--navy); color: #fff; border-color: var(--line-2); }
.btn--navy:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn--outline { background: transparent; color: var(--text-strong); border-color: var(--line-2); }
.btn--outline:hover { background: var(--red); color: #fff; border-color: var(--red); }
.btn--lg { font-size: 1.1rem; padding: 1.1em 2.4em; }

/* ==========================================================================
   Header / Nav
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 14, 18, .92); backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 78px; }
.nav__brand { display: flex; align-items: center; gap: .7rem; color: var(--text-strong); }
.nav__brand img { width: 46px; height: 46px; }
.nav__brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.nav__brand-text strong { font-family: var(--ui); font-weight: 700; font-size: 1rem; text-transform: uppercase; letter-spacing: .02em; color: #fff; }
.nav__brand-text span { font-size: .64rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--red-bright); }
.nav__menu { display: flex; align-items: center; gap: .1rem; list-style: none; margin: 0; padding: 0; }
.nav__menu > li { position: relative; flex: 0 0 auto; }
.nav__link {
  display: inline-flex; align-items: center; gap: .3em; white-space: nowrap;
  padding: .55em .7em; border-radius: 4px;
  font-family: var(--ui); font-size: .9rem; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--text);
}
.nav__link:hover, .nav__link[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .06); }
.nav__cta { margin-left: .4rem; }

/* Dropdown */
.nav__sub {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 240px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  box-shadow: var(--shadow); padding: 8px; list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .16s var(--ease), transform .16s var(--ease), visibility .16s;
}
.nav__menu > li:hover > .nav__sub,
.nav__menu > li:focus-within > .nav__sub { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__sub a { display: block; padding: .6em .8em; border-radius: 4px; font-family: var(--ui); font-size: .88rem; font-weight: 500; text-transform: uppercase; letter-spacing: .03em; color: var(--text); }
.nav__sub a:hover { background: rgba(255, 255, 255, .06); color: var(--red-bright); }
.nav__caret { font-size: .6rem; opacity: .6; }

/* Mobile toggle */
.nav__toggle { display: none; background: none; border: 0; cursor: pointer; width: 44px; height: 44px; padding: 0; color: #fff; }
.nav__toggle svg { width: 26px; height: 26px; }

@media (max-width: 1180px) {
  .nav__toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav__menu {
    position: fixed; inset: 78px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy-deep); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); padding: 12px 16px 22px;
    max-height: calc(100vh - 78px); overflow-y: auto;
    transform: translateY(-12px); opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  }
  .nav__menu.is-open { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
  .nav__link { padding: .85em .6em; font-size: 1.05rem; }
  .nav__sub {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; border-left: 2px solid var(--line);
    margin: 0 0 .4rem .8rem; padding: 0 0 0 .4rem; border-radius: 0; background: transparent;
    display: none; /* collapsed until its parent section is tapped (accordion) */
  }
  .nav__menu > li.is-open-sub > .nav__sub { display: block; }
  .nav__caret { transition: transform .18s var(--ease); }
  .nav__menu > li.is-open-sub > .nav__link .nav__caret { transform: rotate(180deg); }
  .nav__cta { margin: .6rem 0 0; }
  .nav__cta .btn { width: 100%; }
}

/* ==========================================================================
   Page hero (interior pages)
   ========================================================================== */
.page-hero {
  position: relative; overflow: hidden; color: #fff;
  padding: clamp(72px, 11vw, 132px) 0 clamp(56px, 8vw, 88px);
  background:
    linear-gradient(180deg, rgba(7, 12, 16, .68), rgba(7, 12, 16, .9)),
    url("../images/hero-water.png"),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 70%, #0a1218 100%);
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 28px);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; max-width: 18ch; }
.page-hero p { color: #cdd6df; max-width: 60ch; font-size: 1.2rem; }
.breadcrumb { font-family: var(--ui); font-size: .82rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: #8ba0b0; margin-bottom: 1.2rem; }
.breadcrumb a { color: #cdd6df; }
.breadcrumb a:hover { color: #fff; }

/* ==========================================================================
   Home hero (index)
   ========================================================================== */
.hero { position: relative; overflow: hidden; color: #fff; background: var(--charcoal); }
.hero__media { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8, 12, 16, .45) 0%, rgba(8, 12, 16, .2) 35%, rgba(8, 12, 16, .92) 100%);
}
.hero__inner { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: flex-end; min-height: 660px; padding: clamp(56px, 9vw, 110px) 0 clamp(48px, 6vw, 72px); }
.hero h1 { color: #fff; max-width: 16ch; text-shadow: 0 2px 30px rgba(0, 0, 0, .5); }
.hero .accent { color: var(--red-bright); }
.hero p { color: #cdd6df; font-size: 1.25rem; max-width: 56ch; margin: 0 0 1.8rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero__badge {
  display: inline-flex; align-items: center; gap: .5rem; margin-bottom: 1.3rem;
  background: rgba(255, 255, 255, .08); border: 1px solid var(--line-2);
  padding: .5em .95em; font-family: var(--ui); font-size: .8rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
}
.hero__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 4px rgba(74, 222, 128, .2); }

.hero__stats { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--red); }
.hero__stat { padding: 1.9rem 1rem; text-align: center; border-right: 1px solid rgba(255, 255, 255, .18); }
.hero__stat:last-child { border-right: 0; }
.hero__stat b { display: block; font-family: var(--display); font-size: 2.8rem; font-weight: 900; color: #fff; line-height: 1; }
.hero__stat span { font-family: var(--ui); font-size: .82rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .85); }

@media (max-width: 860px) {
  .hero__inner { min-height: 520px; }
  .hero__cta { gap: .7rem; }
}

/* ==========================================================================
   Cards & grids
   ========================================================================== */
.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: 900px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.9rem; box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-2); }
.card h3 { color: var(--text-strong); margin-bottom: .5rem; }
.card p { color: var(--text-muted); }
.card p:last-child { margin-bottom: 0; }
.card__icon {
  width: 54px; height: 54px; display: grid; place-items: center;
  background: linear-gradient(150deg, var(--red), var(--red-dark)); color: #fff; margin-bottom: 1.2rem;
  clip-path: var(--cut);
}
.card__icon svg { width: 28px; height: 28px; }
.card--link { display: block; color: inherit; }
.card--link:hover { color: inherit; border-color: var(--red); }
.card__more { display: inline-flex; align-items: center; gap: .35em; font-family: var(--ui); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; font-size: .85rem; color: var(--red-bright); margin-top: .8rem; }
.card--link:hover .card__more { gap: .65em; }

/* Feature row (image + text) */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.feature--reverse .feature__media { order: 2; }
.feature__media {
  position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .03) 0 14px, transparent 14px 28px),
    linear-gradient(150deg, var(--navy), var(--navy-deep));
  min-height: 300px; display: grid; place-items: center; color: #fff; padding: 2rem;
  border: 1px solid var(--line);
}
.feature__media img { border-radius: var(--radius-sm); }
@media (max-width: 800px) { .feature { grid-template-columns: 1fr; } .feature--reverse .feature__media { order: 0; } }

/* ==========================================================================
   Membership / pricing
   ========================================================================== */
.tiers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.8rem; max-width: 820px; margin-inline: auto; }
@media (max-width: 700px) { .tiers { grid-template-columns: 1fr; } }
.tier {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 2.2rem; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.tier--featured { border: 1px solid var(--red); box-shadow: 0 0 0 1px rgba(238, 39, 46, .4), var(--shadow); }
.tier__flag {
  position: absolute; top: -13px; right: 24px; background: var(--red); color: #fff;
  font-family: var(--ui); font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  padding: .4em .9em; clip-path: var(--cut);
}
.tier__name { font-family: var(--ui); font-size: .9rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); }
.tier__price { font-family: var(--display); font-size: 3.2rem; font-weight: 900; color: #fff; margin: .2rem 0 0; line-height: 1; }
.tier__price span { font-family: var(--font); font-size: 1rem; font-weight: 700; color: var(--text-muted); }
.tier__list { list-style: none; padding: 0; margin: 1.4rem 0; flex: 1; }
.tier__list li { display: flex; gap: .6em; align-items: flex-start; margin-bottom: .7em; font-size: .98rem; color: var(--text); }
.tier__list li::before {
  content: "✓"; color: var(--red-bright); font-weight: 900; flex: 0 0 auto;
  width: 22px; height: 22px; border-radius: 50%; background: rgba(238, 39, 46, .14);
  display: grid; place-items: center; font-size: .75rem; margin-top: .15em;
}
.tier .btn { width: 100%; }

/* ==========================================================================
   Sponsors
   ========================================================================== */
.sponsors { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.sponsor {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 1rem 1.6rem; font-family: var(--ui); font-weight: 600; text-transform: uppercase; letter-spacing: .04em;
  color: var(--text-strong); box-shadow: var(--shadow-sm);
}

/* People / officers */
.people { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
@media (max-width: 760px) { .people { grid-template-columns: 1fr; } }
.person { text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 2.2rem 1.4rem; box-shadow: var(--shadow-sm); }
.person__avatar {
  position: relative; overflow: hidden;
  width: 86px; height: 86px; border-radius: 50%; margin: 0 auto 1.1rem;
  background: linear-gradient(150deg, var(--blue), var(--navy)); color: #fff;
  display: grid; place-items: center; font-family: var(--display); font-size: 1.9rem; font-weight: 900;
  border: 2px solid var(--line-2);
}
.person__role { font-family: var(--ui); color: var(--red-bright); font-weight: 600; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; }
.person h3 { margin: .3rem 0 0; color: var(--text-strong); }
/* Officer headshots fill the ring exactly (absolute inset = definite box, so any
   aspect ratio crops to the circle instead of stretching into an oval). */
.person__avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }

/* CTA band */
.cta-band {
  position: relative; overflow: hidden; text-align: center; color: #fff;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
}
.cta-band::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .06) 0 2px, transparent 2px 26px);
}
.cta-band .container { position: relative; z-index: 1; }
/* Dark variant (home page) — keeps the red World Championship panel the only
   red block; a faint red diagonal texture + the red CTA button carry the brand. */
.cta-band--dark { background: linear-gradient(160deg, var(--bg-alt), var(--bg)); }
.cta-band--dark::after { background: repeating-linear-gradient(135deg, rgba(238, 39, 46, .06) 0 2px, transparent 2px 26px); }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .92); max-width: 56ch; margin-inline: auto; font-size: 1.2rem; }

/* Contact / generic form */
.form { max-width: 640px; margin-inline: auto; display: grid; gap: 1.2rem; }
.field { display: grid; gap: .4rem; }
.field label { font-family: var(--ui); font-weight: 500; font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; color: var(--text-strong); }
.field input, .field textarea {
  font-family: inherit; font-size: 1rem; padding: .85em 1em; border: 1px solid var(--line-2);
  border-radius: var(--radius-sm); background: var(--field-bg); color: var(--text-strong);
  transition: border-color .15s, box-shadow .15s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-muted); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(238, 39, 46, .2); }
.field textarea { min-height: 150px; resize: vertical; }
.form__note { font-size: .9rem; color: var(--text-muted); }

/* Prose blocks */
.prose { max-width: 72ch; }
.prose h2 { margin-top: 2rem; }
.prose h3 { margin-top: 1.8rem; }
.prose p, .prose li { color: var(--text); }

/* Notice / coming soon */
.notice {
  background: var(--surface); border: 1px dashed var(--line-2); border-radius: var(--radius);
  padding: 2.6rem; text-align: center; max-width: 660px; margin-inline: auto;
}
.notice .tag { display: inline-block; background: rgba(238, 39, 46, .14); color: var(--red-bright); font-family: var(--ui); font-weight: 600; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; padding: .45em .95em; margin-bottom: 1.1rem; clip-path: var(--cut); }
.notice p { color: var(--text-muted); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: #060606; color: #97a2ad; padding: clamp(56px, 8vw, 84px) 0 2rem; border-top: 1px solid var(--line); }
.footer__grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 2.6rem; }
@media (max-width: 820px) { .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 480px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__brand { display: flex; align-items: center; gap: .7rem; margin-bottom: 1.1rem; }
.footer__brand img { width: 52px; height: 52px; }
.footer__brand strong { color: #fff; font-family: var(--ui); font-weight: 700; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .02em; display: block; line-height: 1.2; }
.footer__brand span { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--red-bright); }
.site-footer h4 { color: #fff; font-family: var(--ui); font-weight: 600; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1.1rem; }
.footer__links { list-style: none; padding: 0; margin: 0; }
.footer__links li { margin-bottom: .55em; }
.footer__links a { color: #97a2ad; font-size: .94rem; }
.footer__links a:hover { color: #fff; }
.footer__social { display: flex; gap: .6rem; margin-top: 1.2rem; }
.footer__social a {
  width: 42px; height: 42px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .07); color: #fff; transition: background .2s, transform .2s; clip-path: var(--cut);
}
.footer__social a:hover { background: var(--red); transform: translateY(-2px); }
.footer__social svg { width: 20px; height: 20px; }
.footer__bottom {
  margin-top: 2.8rem; padding-top: 1.6rem; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: .85rem; color: #69737d;
}
.footer__bottom a { color: #97a2ad; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* Utilities */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.stack > * + * { margin-top: 1.1rem; }

/* ==========================================================================
   Feature components — ported onto the "Rugged & Outdoors" dark base.
   Same class names/markup as the light theme; only colors re-mapped:
     card/modal #fff backgrounds  → var(--surface)
     navy heading text            → var(--text-strong)
     light borders (#cfd6dd etc.) → var(--line) / var(--line-2)
     muted fallback gray          → var(--text-muted)
   Logo tiles stay light so brand logos read against the dark page.
   ========================================================================== */

/* Shared form label (markup uses <label class="field"><span>…</span>) */
.field > span { font-family: var(--ui); font-weight: 500; font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; color: var(--text-strong); }

/* Home — World Championship split (flyer | red panel); stacks on mobile */
.worlds-split { display: grid; grid-template-columns: 1fr 1fr; }
@media (max-width: 820px) { .worlds-split { grid-template-columns: 1fr; } }

/* App showcase — floating device screenshots (Red Zone Maps page). Without
   these, the phone <img>s render at natural size and blow out the page height. */
.feature__media--app { padding: 2.4rem 1.5rem; min-height: 480px; overflow: hidden; position: relative; }
.appshow { position: relative; width: 100%; height: 100%; display: grid; place-items: center; }
.appshow__glow {
  position: absolute; width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, rgba(238,39,46,.55), rgba(238,39,46,0) 65%);
  filter: blur(6px); z-index: 0;
}
.appshow__phone {
  position: relative; border-radius: 24px; box-shadow: 0 24px 55px rgba(0,0,0,.5);
  border: 1px solid rgba(255,255,255,.08);
}
.appshow__phone--front { height: 420px; z-index: 2; animation: appfloat 6s ease-in-out infinite; }
.appshow__phone--back {
  position: absolute; height: 350px; z-index: 1; opacity: .92;
  transform: translate(-46%, -3%) rotate(-9deg); animation: appfloat-back 6s ease-in-out infinite .8s;
}
.appshow__badge {
  position: absolute; bottom: 6px; right: 2%; z-index: 3;
  display: flex; align-items: center; gap: .6rem;
  background: rgba(255,255,255,.97); border-radius: 14px; padding: .5rem .75rem;
  box-shadow: 0 14px 34px rgba(0,0,0,.34);
}
.appshow__badge img { width: 44px; height: 44px; border-radius: 11px; }
.appshow__badge strong { display: block; color: var(--navy); font-size: .92rem; line-height: 1.15; }
.appshow__badge span { font-size: .74rem; color: #5a6470; font-weight: 700; }
.appshow__pill {
  position: absolute; top: 10px; left: 4%; z-index: 3;
  background: var(--red); color: #fff; font-weight: 800; font-size: .76rem;
  letter-spacing: .04em; padding: .4em .9em; border-radius: 999px;
  box-shadow: 0 8px 20px rgba(238,39,46,.4); transform: rotate(-4deg);
}
@keyframes appfloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes appfloat-back {
  0%, 100% { transform: translate(-46%, -3%) rotate(-9deg); }
  50% { transform: translate(-46%, calc(-3% - 12px)) rotate(-9deg); }
}
@media (max-width: 800px) { .appshow__phone--front { height: 360px; } .appshow__phone--back { height: 300px; } }
@media (prefers-reduced-motion: reduce) { .appshow__phone { animation: none !important; } }

/* ── Store / storefront ───────────────────────────────────────── */
.store-banner { background: rgba(238,39,46,.1); border: 1px solid rgba(238,39,46,.28); color: var(--text-strong); border-radius: var(--radius-sm); padding: .8rem 1.1rem; font-weight: 600; margin-bottom: 1.6rem; }
.store-banner a { color: var(--red-bright); font-weight: 800; }
.store-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.6rem; }
.product { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; }
.product:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.product__img { aspect-ratio: 1; background: var(--surface-2); }
.product__img img { width: 100%; height: 100%; object-fit: cover; }
.product__noimg { width: 100%; height: 100%; display: grid; place-items: center; color: var(--text-muted); font-size: .9rem; }
.product__body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.product__name { margin: 0; font-size: 1.1rem; color: var(--text-strong); }
.product__price { font-weight: 900; color: var(--red-bright); font-size: 1.15rem; }
.product__desc { margin: 0; color: var(--text-muted); font-size: .9rem; line-height: 1.5; }
.product__size { display: grid; gap: .3rem; font-size: .82rem; font-weight: 700; color: var(--text); }
.product__size select { font: inherit; font-size: .95rem; padding: .5em .7em; border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: var(--field-bg); color: var(--text-strong); }
.product__buy { margin-top: auto; justify-content: center; }
.store-empty { text-align: center; padding: 2rem 0; grid-column: 1 / -1; }

/* ── Hall of Fame ─────────────────────────────────────────────── */
.hof-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 1.6rem; }
.hof { display: flex; flex-direction: column; gap: .95rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem; box-shadow: var(--shadow-sm); }
.hof__head { display: flex; align-items: center; gap: 1.1rem; }
.hof__id { min-width: 0; }
.hof__avatar { flex: 0 0 auto; width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: 1.4rem; color: #fff; background: linear-gradient(150deg, var(--red), var(--red-dark)); }
.hof__avatar--photo { object-fit: cover; object-position: top center; }
.hof__name { margin: 0 0 .2rem; font-size: 1.25rem; color: var(--text-strong); }
.hof__loc { font-size: .9rem; font-weight: 700; color: var(--text-muted); }
.hof__bio { margin: 0; font-size: .98rem; line-height: 1.55; color: var(--text); }
@media (max-width: 480px) { .hof-grid { grid-template-columns: 1fr; } }
.hof--clickable { cursor: pointer; transition: transform .15s, box-shadow .15s, border-color .15s; }
.hof--clickable:hover, .hof--clickable:focus-visible { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-2); outline: none; }
.hof__more { display: inline-block; margin-top: auto; font-size: .85rem; font-weight: 800; color: var(--red-bright); }

/* Hall of Fame detail modal */
.hofd-overlay { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.7); display: grid; place-items: center; padding: 1.2rem; animation: hofd-fade .18s ease; }
@keyframes hofd-fade { from { opacity: 0; } to { opacity: 1; } }
.hofd { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); max-width: 620px; width: 100%; max-height: 90vh; overflow-y: auto; box-shadow: var(--shadow-lg); }
.hofd__close { position: absolute; top: .7rem; right: .9rem; background: none; border: 0; font-size: 2rem; line-height: 1; color: var(--text-muted); cursor: pointer; }
.hofd__close:hover { color: var(--text-strong); }
.hofd__head { display: flex; gap: 1.2rem; align-items: center; padding: 1.8rem 1.8rem 1.2rem; border-bottom: 1px solid var(--line); }
.hofd__avatar { flex: 0 0 auto; width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: 1.7rem; color: #fff; background: linear-gradient(150deg, var(--red), var(--red-dark)); }
.hofd__name { margin: 0; color: var(--text-strong); }
.hofd__loc { font-size: .92rem; font-weight: 700; color: var(--text-muted); margin-top: .2rem; }
.hofd__tag { display: inline-block; margin-top: .5rem; font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--red-bright); background: rgba(238,39,46,.14); padding: .3em .7em; border-radius: 999px; }
.hofd__body { padding: 1.4rem 1.8rem 1.9rem; }
.hofd__qa { margin-bottom: 1.1rem; }
.hofd__q { font-weight: 800; color: var(--text-strong); margin-bottom: .15rem; }
.hofd__a { color: var(--text); line-height: 1.55; }
.hofd__para { margin: 0 0 1rem; line-height: 1.65; color: var(--text); }
@media (max-width: 520px) { .hofd__head { flex-direction: column; text-align: center; } }

/* ── App store badges ─────────────────────────────────────────── */
.store-badges { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-top: 1.4rem; }
.store-badges a { display: inline-flex; transition: transform .12s, opacity .2s; }
.store-badges a:hover { transform: translateY(-2px); opacity: .9; }
.store-badge { display: block; width: auto; height: 50px; }

/* ── Account action page (password reset / set password) ──────── */
.auth { min-height: 100vh; display: grid; place-items: center; padding: 2rem;
  background: radial-gradient(900px 500px at 80% -10%, rgba(238,39,46,.22), transparent 60%), linear-gradient(160deg, var(--bg), var(--bg-alt)); }
.auth__card { width: 100%; max-width: 420px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 2.6rem 2.4rem; text-align: center; }
.auth__card > img { margin: 0 auto .5rem; }
.auth__org { font-weight: 800; color: var(--text-strong); margin-bottom: 1.4rem; }
.auth__title { font-size: 1.5rem; margin: 0 0 .4rem; }
.auth__field { display: grid; gap: .35rem; text-align: left; margin-top: 1rem; }
.auth__field > span { font-weight: 700; font-size: .85rem; color: var(--text); }
.auth__field input { font: inherit; font-size: 1rem; padding: .75em .9em; border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: var(--field-bg); color: var(--text-strong); }
.auth__field input:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(238,39,46,.2); }
.auth__btn { width: 100%; justify-content: center; margin-top: 1.4rem; }
.auth__err { background: rgba(238,39,46,.12); color: var(--red-bright); border: 1px solid rgba(238,39,46,.3); border-radius: var(--radius-sm); padding: .65em .8em; font-size: .88rem; font-weight: 600; margin: 1rem 0 0; text-align: left; }
.auth__check { width: 56px; height: 56px; margin: 0 auto 1rem; border-radius: 50%; background: rgba(74,222,128,.14); color: #4ade80; font-size: 1.8rem; font-weight: 900; display: grid; place-items: center; }

/* ── Homepage: real sponsor logos, all visible at once ──── */
/* Centered flex wrap (not a grid) so a partial last row centers instead of
   hanging left. No white card — just the logo with rounded corners, like the
   Worlds Sponsors treatment. Tiles use a FIXED height (not aspect-ratio) so
   the img max-height resolves and every logo is truly contained. */
.sponsor-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.4rem 1.6rem; }
.sponsor-logo { display: flex; align-items: center; justify-content: center; width: 200px; height: 84px; transition: transform .15s var(--ease); }
.sponsor-logo:hover { transform: translateY(-3px); }
.sponsor-logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 10px; }
/* Phones: two logos per row instead of a 13-row single column. */
@media (max-width: 560px) { .sponsor-logo { width: calc(50% - .8rem); height: 66px; } }

/* Sponsors page — BAA / Worlds toggle */
.sp-tabs { display: flex; width: max-content; max-width: 100%; gap: .25rem; padding: .3rem; margin: 0 auto 2.2rem; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; }
.sp-tab { border: 0; background: transparent; font: inherit; font-weight: 700; font-size: .95rem; color: var(--text-muted); padding: .6rem 1.6rem; border-radius: 999px; cursor: pointer; white-space: nowrap; transition: background .15s var(--ease), color .15s var(--ease); }
.sp-tab:hover { color: var(--text-strong); }
.sp-tab.is-active { background: var(--surface-2); color: var(--red-bright); box-shadow: var(--shadow-sm); }
.sp-soon { text-align: center; padding: 3.5rem 1.5rem; background: var(--bg-alt); border: 1px dashed var(--line-2); border-radius: var(--radius); }

/* Officers page — State Reps grid + detail modal */
.rep-states { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .7rem; }
.rep-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .2rem; text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .9em .6em; font: inherit; cursor: pointer; box-shadow: var(--shadow-sm); transition: transform .15s var(--ease), border-color .15s, opacity .15s; }
.rep-tile:hover { transform: translateY(-2px); border-color: var(--red); }
.rep-tile__name { font-weight: 700; font-size: .95rem; color: var(--text-strong); }
.rep-tile__count { font-size: .74rem; font-weight: 700; color: var(--red-bright); text-transform: uppercase; letter-spacing: .03em; }
.rep-tile.is-empty { opacity: .5; }
.rep-tile.is-empty:hover { opacity: 1; }
.rep-tile.is-empty .rep-tile__count { color: var(--text-muted); }

.rep-overlay { position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,.62); display: flex; align-items: center; justify-content: center; padding: 1.5rem; }
.rep-overlay[hidden] { display: none; }
.rep-modal { position: relative; width: 100%; max-width: 460px; max-height: 85vh; overflow: auto; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.8rem; }
.rep-modal__title { margin: 0 2rem .8rem 0; font-size: 1.5rem; }
.rep-modal__close { position: absolute; top: .6rem; right: .9rem; background: none; border: 0; color: var(--text-muted); font-size: 1.9rem; line-height: 1; cursor: pointer; }
.rep-modal__close:hover { color: var(--text-strong); }
.rep-card { border-top: 1px solid var(--line); padding: .9rem 0; }
.rep-card:first-of-type { border-top: 0; }
.rep-card__name { font-weight: 800; color: var(--text-strong); font-size: 1.05rem; margin-bottom: .3rem; }
.rep-card__row { display: flex; justify-content: space-between; gap: 1rem; padding: .22rem 0; font-size: .9rem; }
.rep-card__row span { color: var(--text-muted); }
.rep-card__row strong { color: var(--text-strong); font-weight: 600; text-align: right; word-break: break-word; }
.rep-card__row a { color: var(--red-bright); }
.rep-empty p { color: var(--text-muted); }
.rep-empty p strong { color: var(--text-strong); }
.rep-empty .btn { margin-top: .8rem; }
.sp-soon h3 { margin-bottom: .5rem; }
.worlds-group { text-align: center; font-size: 1.35rem; margin: 2.4rem 0 1.3rem; }
#worlds-view .worlds-group:first-child { margin-top: 0; }
#worlds-view .sponsor-wall { margin-bottom: .5rem; }
#worlds-view .sponsor-card { min-height: 200px; justify-content: center; }
#worlds-view .sponsor-card__logo,
#sponsor-wall .sponsor-card__logo { position: static; aspect-ratio: auto; height: auto; min-height: 120px; display: grid; place-items: center; overflow: visible; border-radius: 0; background: transparent; }
#worlds-view .sponsor-card__logo img,
#sponsor-wall .sponsor-card__logo img { position: static; inset: auto; width: auto; height: auto; max-width: 100%; max-height: 120px; border-radius: 12px; }
.sponsor-card--link { text-decoration: none; color: inherit; }
.sponsor-card--btn { font: inherit; text-align: center; cursor: pointer; color: inherit; }
.sponsor-card__name--solo { font-size: 1.08rem; }

/* Worlds sponsor info modal */
#worlds-view .sponsor-card--btn { width: 100%; }
.spm-overlay { position: fixed; inset: 0; z-index: 1000; background: rgba(0,0,0,.65); display: grid; place-items: center; padding: 1.5rem; animation: spm-fade .15s var(--ease); }
.spm-card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); max-width: 420px; width: 100%; padding: 2rem; text-align: center; }
.spm-close { position: absolute; top: .6rem; right: .8rem; border: 0; background: none; font-size: 1.8rem; line-height: 1; color: var(--text-muted); cursor: pointer; }
.spm-close:hover { color: var(--text-strong); }
.spm-logo { margin: 0 auto 1rem; display: grid; place-items: center; }
.spm-logo img { max-width: 200px; max-height: 124px; width: auto; height: auto; object-fit: contain; border-radius: 6px; }
.spm-name { margin: 0 0 .5rem; }
.spm-meta { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; align-items: center; margin-bottom: .9rem; }
.spm-type { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; padding: .25em .7em; border-radius: 999px; background: rgba(238,39,46,.14); color: var(--red-bright); }
.spm-loc { color: var(--text-muted); font-size: .95rem; }
.spm-desc { color: var(--text); margin: 0 0 1rem; }
.spm-years { font-size: .95rem; margin: 0 0 .9rem; }
.spm-phone { font-size: 1rem; margin: 0 0 1.2rem; }
.spm-phone a { color: var(--text); text-decoration: none; font-weight: 600; }
.spm-phone a:hover { color: var(--red-bright); }
.spm-socials { display: flex; justify-content: center; gap: .9rem; margin-top: 1.1rem; }
.spm-soc { display: inline-flex; line-height: 0; transition: transform .12s var(--ease); }
.spm-soc:hover { transform: translateY(-2px); }
@keyframes spm-fade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .spm-overlay { animation: none; } }

/* Sponsors page — card wall (logo tile + brand name) */
.sponsor-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.5rem; }
.sponsor-wall[hidden] { display: none; }
.sponsor-card { display: flex; flex-direction: column; align-items: center; gap: 1rem; padding: 1.5rem 1.25rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); text-decoration: none; transition: transform .15s var(--ease), box-shadow .15s var(--ease); }
.sponsor-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.sponsor-card__logo { position: relative; width: 100%; aspect-ratio: 17 / 5; overflow: hidden; border-radius: var(--radius-sm); background: #fff; }
.sponsor-card__logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.sponsor-card__name { font-weight: 700; font-size: 1.02rem; color: var(--text-strong); letter-spacing: .01em; text-align: center; }
.sponsor-card--cta { justify-content: center; border-style: dashed; border-color: var(--line-2); background: var(--bg-alt); }
.sponsor-card--cta:hover { border-color: var(--red); }
.sponsor-card__cta-mark { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--red); color: #fff; font-size: 1.6rem; font-weight: 300; line-height: 1; }

/* ── Homepage: "from the water" record gallery ────────────────── */
.record-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.rg-tile { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius-sm); background: #0d1b2a; box-shadow: var(--shadow-sm); }
.rg-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease), opacity .35s var(--ease); }
.rg-tile:hover img { transform: scale(1.07); }
.rg-tile__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.6rem .7rem .55rem; color: #fff; font-size: .78rem; font-weight: 800; letter-spacing: .02em; text-transform: capitalize; background: linear-gradient(to top, rgba(13,13,13,.82), transparent); opacity: 0; transition: opacity .2s var(--ease); }
.rg-tile:hover .rg-tile__cap { opacity: 1; }
@media (max-width: 560px) { .record-gallery { grid-template-columns: repeat(2, 1fr); } }

/* ── Store checkout (PayPal) ──────────────────────────────────── */
.product__opts { display: flex; gap: .8rem; flex-wrap: wrap; margin: .2rem 0 .4rem; }
.product__field { display: grid; gap: .25rem; font-size: .78rem; font-weight: 700; color: var(--text); }
.product__field select, .product__field input { font: inherit; font-size: .95rem; padding: .5em .6em; border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: var(--field-bg); color: var(--text-strong); width: 96px; height: 42px; }
.product__pay { margin-top: auto; min-height: 46px; }
.product__msg { margin: .4rem 0 0; font-size: .9rem; font-weight: 700; }
.product__msg--ok { color: #4ade80; }
.product__msg--err { color: var(--red-bright); }

/* ── Store cart (add-to-cart → drawer → checkout) ─────────────── */
.product__add { margin-top: auto; width: 100%; justify-content: center; }

.cart-fab { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 60px; height: 60px; border-radius: 50%; border: 0; cursor: pointer; background: var(--red); color: #fff; box-shadow: 0 10px 26px rgba(238,39,46,.45); display: grid; place-items: center; transition: transform .15s var(--ease); }
.cart-fab:hover { transform: translateY(-3px); }
.cart-fab__badge { position: absolute; top: -4px; right: -4px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--navy); color: #fff; font-size: .72rem; font-weight: 800; display: grid; place-items: center; border: 2px solid var(--bg); }
.cart-fab__badge[hidden] { display: none; }

.cart-overlay { position: fixed; inset: 0; z-index: 120; background: rgba(0,0,0,.6); opacity: 0; visibility: hidden; transition: opacity .25s var(--ease), visibility .25s; }
.cart-drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 121; width: 400px; max-width: 92vw; background: var(--surface); box-shadow: var(--shadow-lg); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .28s var(--ease); }
body.cart-open .cart-overlay { opacity: 1; visibility: visible; }
body.cart-open .cart-drawer { transform: translateX(0); }
.cart-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 1.2rem 1.3rem; border-bottom: 1px solid var(--line); }
.cart-drawer__head h3 { margin: 0; }
.cart-drawer__close { background: none; border: 0; font-size: 1.9rem; line-height: 1; color: var(--text-muted); cursor: pointer; }
.cart-drawer__items { flex: 1; overflow-y: auto; padding: .6rem 1.3rem; }
.cart-empty { text-align: center; padding: 2.5rem 0; }
.cart-item { display: grid; grid-template-columns: 56px 1fr auto; gap: .8rem; align-items: center; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.cart-item img, .cart-item__noimg { width: 56px; height: 56px; border-radius: var(--radius-sm); object-fit: cover; background: var(--surface-2); }
.cart-item__body strong { color: var(--text-strong); font-size: .95rem; }
.cart-item__qty { display: flex; align-items: center; gap: .5rem; margin-top: .4rem; }
.cart-item__qty button { width: 26px; height: 26px; border: 1px solid var(--line-2); background: var(--field-bg); border-radius: 6px; cursor: pointer; font-weight: 800; color: var(--text-strong); line-height: 1; }
.cart-item__remove { width: auto !important; border: 0 !important; color: var(--red-bright) !important; font-weight: 700; font-size: .82rem; padding: 0 .2rem; }
.cart-item__price { font-weight: 800; color: var(--text-strong); white-space: nowrap; }
.cart-drawer__foot { padding: 1.1rem 1.3rem 1.4rem; border-top: 1px solid var(--line); }
.cart-total { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: .3rem; }
.cart-total strong { font-size: 1.5rem; color: var(--text-strong); }
.cart-note { margin: .2rem 0 .9rem; }
.cart-msg { margin: .7rem 0 0; font-weight: 700; font-size: .9rem; }
.cart-msg--ok { color: #4ade80; }
.cart-msg--err { color: var(--red-bright); }
.store-banner--test { background: rgba(124,58,237,.16); border-color: rgba(124,58,237,.4); color: #c4b5fd; }

/* Worlds registration — entry fee + PayPal */
.reg-fee { display: flex; align-items: baseline; justify-content: space-between; padding: .9rem 0; border-top: 1px solid var(--line); margin-top: .4rem; }
.reg-fee strong { font-size: 1.5rem; color: var(--text-strong); }
.reg-test { background: rgba(124,58,237,.16); color: #c4b5fd; border-radius: var(--radius-sm); padding: .5rem .8rem; font-size: .82rem; font-weight: 700; margin: 0 0 .8rem; text-align: center; }

/* Membership join modal */
.join-modal { position: fixed; inset: 0; z-index: 120; background: rgba(0,0,0,.65); display: grid; place-items: center; padding: 1.4rem; }
.join-modal[hidden] { display: none; }
.join-modal__card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); max-width: 440px; width: 100%; padding: 2rem 2rem 1.8rem; box-shadow: var(--shadow-lg); max-height: 92vh; overflow-y: auto; }
.join-modal__close { position: absolute; top: .6rem; right: .9rem; background: none; border: 0; font-size: 1.9rem; line-height: 1; color: var(--text-muted); cursor: pointer; }
.join-modal__tier { margin: 0 0 1rem; color: var(--text-strong); font-weight: 700; }
.join-modal .field { margin-top: .8rem; }
.join-modal .check { width: 54px; height: 54px; margin: 0 auto .6rem; border-radius: 50%; background: rgba(74,222,128,.14); color: #4ade80; font-size: 1.7rem; font-weight: 900; display: grid; place-items: center; }

/* Worlds registration — eligibility + bowfisher rows + member lookup */
.field select { font-family: inherit; font-size: 1rem; padding: .8em 1em; border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: var(--field-bg); color: var(--text-strong); width: 100%; }
.field select:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(238,39,46,.2); }
/* Uniform control height — inputs and selects match exactly (textareas excluded). */
.field input, .field select { height: 52px; }
.reg-eligible { background: rgba(31,78,121,.18); border: 1px solid rgba(31,78,121,.4); color: var(--text); border-radius: var(--radius-sm); padding: .8rem 1rem; font-size: .92rem; font-weight: 600; margin-bottom: 1.2rem; }
.bf-row { border-top: 1px solid var(--line); margin-top: 1.1rem; padding-top: 1rem; }
.bf-row__head { font-size: .8rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--red-bright); margin-bottom: .5rem; }
.bf-namewrap { position: relative; }
.bf-results { position: absolute; top: 100%; left: 0; right: 0; z-index: 20; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow); margin-top: 4px; max-height: 240px; overflow-y: auto; }
.bf-result { display: block; width: 100%; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--line); padding: .6rem .8rem; cursor: pointer; font: inherit; color: var(--text); }
.bf-result:hover { background: var(--surface-2); }
.bf-noresult { padding: .7rem .8rem; font-size: .86rem; color: var(--text-muted); }
/* Live member-number validation feedback (Worlds registration + submit record). */
.bf-check { font-size: .85rem; margin: .35rem 0 0; color: var(--text-muted); }
.member-ok { color: #4ade80; font-weight: 700; }
.member-bad { color: var(--red-bright); font-weight: 700; }

/* ── Accessibility (WCAG 2.1 AA) ──────────────────────────────── */
/* Skip-to-content link — visible only when focused (keyboard users). */
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 200; background: var(--red); color: #fff;
  padding: .7em 1.2em; border-radius: 0 0 8px 8px; font-weight: 800; transition: top .15s var(--ease); }
.skip-link:focus { top: 0; outline: 3px solid #fff; outline-offset: -3px; }

/* Clear, high-contrast focus ring for keyboard navigation (not on mouse click). */
a:focus-visible, button:focus-visible, select:focus-visible,
.btn:focus-visible, [tabindex]:focus-visible, summary:focus-visible {
  outline: 3px solid var(--red-bright); outline-offset: 3px; border-radius: 4px;
}

/* Respect "reduce motion" — kill animations/transitions for users who ask. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
}

/* Admin-controlled homepage promo banner (content/homePromo) — full-width strip
   directly under the site header. Hidden entirely when the admin turns it off. */
.home-promo {
  position: relative; overflow: visible;
  display: flex; align-items: center; gap: 1.3rem;
  padding: .7rem clamp(1rem, 4vw, 2.5rem);
  background: linear-gradient(100deg, var(--navy-deep, #0b1f3a), var(--navy, #12315c));
  border-bottom: 3px solid var(--red, #ee272e);
  color: #fff; text-decoration: none;
}
/* NB: no filter/opacity on .home-promo itself — it would clip the flyer, which
   intentionally overflows the banner. Hover feedback lives on the children. */
.home-promo:hover .home-promo__cta { filter: brightness(1.08); }
.home-promo:hover .home-promo__logo { transform: scale(1.03); }
/* The logo pops out of the strip — larger than the bar and poking downward,
   framed so a busy flyer stands out against the navy. */
.home-promo__logo {
  height: 122px; width: auto; flex: 0 0 auto;
  margin: -10px 0 -44px; z-index: 3; position: relative;
  border-radius: 10px; outline: 3px solid #fff; outline-offset: -1px;
  box-shadow: 0 12px 26px rgba(0,0,0,.5);
  transition: transform .18s ease;
}
.home-promo__text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.home-promo__text strong { font-size: clamp(1rem, 2.4vw, 1.2rem); font-weight: 800; }
.home-promo__text span { font-size: .9rem; color: #cdd6df; }
.home-promo__cta {
  margin-left: auto; flex: 0 0 auto; white-space: nowrap;
  background: var(--red, #ee272e); color: #fff; font-weight: 800;
  padding: .55em 1.2em; border-radius: 999px; font-size: .95rem;
}
@media (max-width: 620px) {
  .home-promo { flex-wrap: wrap; gap: .7rem .9rem; }
  /* stacked layout — contain the logo instead of breaking it out */
  .home-promo__logo { height: 96px; margin: .2rem 0; }
  .home-promo__cta { margin-left: 0; width: 100%; text-align: center; }
}

/* Same promo, reinforced on the Join page — a callout above the membership tiers. */
.join-promo {
  display: flex; align-items: center; gap: 1.1rem;
  max-width: 760px; margin: 0 auto 2.2rem;
  padding: 1rem 1.3rem;
  background: linear-gradient(100deg, var(--navy-deep, #0b1f3a), var(--navy, #12315c));
  border: 1px solid rgba(255,255,255,.12); border-left: 5px solid var(--red, #ee272e);
  border-radius: var(--radius, 14px); box-shadow: var(--shadow-sm, 0 2px 10px rgba(0,0,0,.12));
  color: #fff;
}
.join-promo__logo {
  height: 150px; width: auto; flex: 0 0 auto;
  border-radius: 10px; outline: 3px solid #fff; outline-offset: -1px;
  box-shadow: 0 8px 20px rgba(0,0,0,.4);
}
/* Both promo flyers are click-to-enlarge (see the lightbox below). */
.home-promo__logo, .join-promo__logo { cursor: zoom-in; }

/* Click-to-enlarge image overlay (any [data-lightbox] image) */
.lightbox {
  position: fixed; inset: 0; z-index: 1000; padding: 4vmin;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0, 0, 0, .85); cursor: zoom-out;
  animation: lb-fade .15s ease;
}
.lightbox__img { max-width: 92vw; max-height: 92vh; width: auto; height: auto; border-radius: 8px; box-shadow: 0 24px 70px rgba(0, 0, 0, .6); cursor: default; }
.lightbox__close {
  position: fixed; top: 16px; right: 20px; width: 46px; height: 46px;
  border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff;
  font-size: 1.9rem; line-height: 1; cursor: pointer; display: grid; place-items: center;
}
.lightbox__close:hover { background: rgba(255, 255, 255, .26); }
@keyframes lb-fade { from { opacity: 0; } to { opacity: 1; } }
.join-promo__text { display: flex; flex-direction: column; gap: .1rem; min-width: 0; }
.join-promo__text strong { font-size: clamp(1.05rem, 2.6vw, 1.3rem); font-weight: 800; }
.join-promo__text span { font-size: .92rem; color: #cdd6df; }
.join-promo__text em { font-size: .85rem; font-style: normal; font-weight: 700; color: #ff9a9d; margin-top: .25rem; }
@media (max-width: 560px) { .join-promo { flex-direction: column; text-align: center; } }
