/* ==========================================================================
   Wales-Genesee Lions Club — Design System
   Brand: Lions Blue #003595 · Lions Gold #FFC72C
   Mobile-first, accessible, performance-minded.
   ========================================================================== */

:root {
  /* Brand */
  --blue: #003595;
  --blue-700: #002a77;
  --blue-900: #001b4d;
  --gold: #ffc72c;
  --gold-600: #e6a700;
  --red: #b81c1d;

  /* Current-site palette */
  --yellow: #f4cf23;
  --yellow-600: #e0bb10;
  --accent: #3f59e5;

  /* Neutrals */
  --ink: #14213d;
  --body: #33415c;
  --muted: #5b6b87;
  --line: #e4e9f2;
  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --bg-blue-soft: #eef3fb;

  /* System */
  --radius: 9px;
  --radius-sm: 6px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 3px rgba(16, 33, 71, .08), 0 1px 2px rgba(16, 33, 71, .06);
  --shadow: 0 10px 30px rgba(16, 33, 71, .10);
  --shadow-lg: 0 24px 60px rgba(16, 33, 71, .16);
  --container: 1180px;
  --space: clamp(3.5rem, 7vw, 6.5rem);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --serif: "Bitter", Georgia, "Times New Roman", serif;
}

/* Reset / base ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* Contain the off-canvas mobile menu so it can't create horizontal scroll.
     'clip' (not 'hidden') keeps the sticky header working. */
  overflow-x: clip;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--ink);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.25rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--blue);
  color: #fff;
  padding: .75rem 1.25rem;
  z-index: 200;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

/* Layout helpers ---------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 2rem);
}
.section { padding-block: var(--space); }
.section--soft { background: var(--bg-soft); }
.section--blue {
  background: linear-gradient(160deg, var(--blue) 0%, var(--blue-900) 100%);
  color: #dce6f7;
}
.section--blue h2, .section--blue h3 { color: #fff; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: .85rem;
}
.section--blue .eyebrow { color: var(--gold); }

.section-head { max-width: 640px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.1rem; margin-top: .65rem; }
.section--blue .section-head p { color: #b9c8e6; }

.lead { font-size: 1.2rem; color: var(--body); }

/* Buttons ----------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  padding: .95rem 1.5rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--gold { background: var(--gold); color: var(--blue-900); box-shadow: var(--shadow-sm); }
.btn--gold:hover { background: var(--gold-600); }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-700); }
.btn--ghost { background: transparent; border-color: currentColor; color: var(--blue); }
.btn--ghost:hover { background: var(--blue); color: #fff; }
.btn--white { background: #fff; color: var(--blue); }
.btn--outline-white { background: transparent; border-color: rgba(255,255,255,.6); color: #fff; }
.btn--outline-white:hover { background: #fff; color: var(--blue); }
.btn--lg { padding: 1.1rem 1.9rem; font-size: 1.05rem; }

/* On the yellow heroes, recolor the white/gold buttons for contrast. */
.hero .btn--gold, .page-hero .btn--gold { background: var(--blue); color: #fff; }
.hero .btn--gold:hover, .page-hero .btn--gold:hover { background: var(--blue-700); }
.hero .btn--outline-white, .page-hero .btn--outline-white {
  background: transparent; border-color: rgba(0,27,77,.35); color: var(--blue-900);
}
.hero .btn--outline-white:hover, .page-hero .btn--outline-white:hover {
  background: var(--blue); border-color: var(--blue); color: #fff;
}

/* Header / Nav ------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar {
  background: var(--blue-900);
  color: #cdd9f0;
  font-size: .85rem;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-block: .5rem;
}
.topbar a { color: #fff; }
.topbar__meta { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.topbar__meta span { display: inline-flex; align-items: center; gap: .4rem; }
.topbar__motto { font-weight: 700; letter-spacing: .12em; color: var(--gold); text-transform: uppercase; }
@media (max-width: 720px) { .topbar { display: none; } }

/* Inline icons (Lucide set, via Icones.js.org) */
.ico {
  width: 1em; height: 1em; flex: none;
  display: inline-block; vertical-align: -0.14em;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
.ico--ext { width: .82em; height: .82em; vertical-align: baseline; margin-left: .15em; }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: .7rem;
}
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand img { width: 64px; height: 64px; object-fit: contain; }
.brand__text strong {
  display: block;
  font-family: var(--serif);
  color: var(--blue);
  font-size: 1.12rem;
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.brand__text small { color: var(--muted); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }

.nav__links { display: flex; align-items: center; gap: .25rem; list-style: none; padding: 0; margin-left: auto; margin-right: 1.25rem; }
.nav__links > li { position: relative; }
.nav__links a {
  display: block;
  padding: .6rem .8rem;
  color: var(--ink);
  font-weight: 600;
  font-size: .96rem;
  border-radius: 8px;
}
.nav__links a:hover { background: var(--bg-blue-soft); color: var(--blue); text-decoration: none; }
.nav__links a[aria-current="page"] { color: var(--blue); }
.nav__links a[aria-current="page"]::after {
  content: ""; display: block; height: 3px; border-radius: 3px;
  background: var(--gold); margin-top: 3px;
}

/* Dropdown */
.has-sub > a::after { content: " ▾"; font-size: .7em; color: var(--muted); }
.subnav {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 230px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: .4rem;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s;
}
.has-sub:hover .subnav,
.has-sub:focus-within .subnav { opacity: 1; visibility: visible; transform: translateY(0); }
.subnav a { padding: .55rem .7rem; font-size: .92rem; border-radius: 7px; }

.nav__cta { display: flex; align-items: center; gap: .6rem; }
.nav__toggle {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  content: ""; display: block; width: 22px; height: 2px; background: var(--ink);
  position: relative; transition: transform .2s ease, opacity .2s ease;
}
.nav__toggle span::before { position: absolute; top: -7px; }
.nav__toggle span::after { position: absolute; top: 7px; }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav__toggle { display: inline-flex; }
  .nav__links {
    position: fixed;
    top: 0;
    right: 0;
    left: auto;
    height: 100vh;
    height: 100dvh;
    margin: 0;
    width: min(86vw, 360px);
    flex-direction: column;
    align-items: stretch;
    gap: .15rem;
    background: #fff;
    padding: 5rem 1.25rem 2rem;
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform .25s ease;
    overflow-y: auto;
    z-index: 90;
  }
  .nav__links.is-open { transform: translateX(0); }
  .nav__links a { padding: .8rem .9rem; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .subnav {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; padding: 0 0 .4rem 1rem;
  }
  .has-sub > a::after { content: ""; }
  .nav-backdrop {
    position: fixed; inset: 0; background: rgba(16,33,71,.45);
    opacity: 0; visibility: hidden; transition: opacity .2s ease; z-index: 80;
  }
  .nav-backdrop.is-open { opacity: 1; visibility: visible; }
}

/* Hero -------------------------------------------------------------------- */
.hero {
  position: relative;
  background: linear-gradient(155deg, var(--yellow) 0%, var(--yellow-600) 100%);
  color: var(--ink);
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(255,255,255,.35), transparent 60%),
    radial-gradient(600px 400px at 0% 110%, rgba(0,53,149,.10), transparent 60%);
  pointer-events: none;
}
.hero .container {
  position: relative;
  padding-block: clamp(3.5rem, 8vw, 6rem);
}
.hero h1 { color: var(--ink); max-width: 14ch; }
.hero--logo .hero__text { position: relative; max-width: 600px; }
.hero__art {
  position: absolute; z-index: 0; margin: 0; pointer-events: none;
  top: 50%; right: clamp(.5rem, 3vw, 3rem);
  transform: translateY(-50%);
  width: min(61.3%, 800px);
}
.hero__art img {
  display: block; width: 100%; height: auto;
  filter: drop-shadow(0 18px 30px rgba(60,40,0,.18));
}
@media (max-width: 900px) {
  .hero__art {
    position: static; transform: none; width: min(80%, 460px);
    margin: 2rem auto 2.5rem; right: auto;
  }
  .hero--logo .hero__text { max-width: none; }
}
.hero p { color: #3a3320; font-size: 1.2rem; max-width: 48ch; margin-top: 1.1rem; }
.hero__badge {
  display: inline-flex; align-items: center; gap: .55rem;
  background: rgba(0,27,77,.10);
  border: 1px solid rgba(0,27,77,.18);
  color: var(--blue-900); font-weight: 600; font-size: .85rem;
  padding: .4rem .9rem; border-radius: 999px; margin-bottom: 1.25rem;
}
.hero__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.9rem; }
.hero__stats { display: flex; gap: 2rem; margin-top: 2.5rem; flex-wrap: wrap; }
.hero__stats div strong {
  display: block; font-family: var(--serif); font-size: 2rem; color: var(--blue); line-height: 1;
}
.hero__stats div span { font-size: .85rem; color: #6b5e2e; }

/* Cards ------------------------------------------------------------------- */
.grid { display: grid; gap: 1.4rem; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 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: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease;
  height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cdd9ef; }
.card__icon {
  width: 52px; height: 52px; border-radius: 13px;
  display: grid; place-items: center;
  background: var(--bg-blue-soft); color: var(--blue);
  margin-bottom: 1rem;
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--muted); font-size: .98rem; }

.cause { text-align: left; }
.cause .card__icon { background: linear-gradient(135deg, var(--blue), var(--blue-700)); color: var(--gold); }

/* Steps ------------------------------------------------------------------- */
.steps { counter-reset: step; }
.step__num {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--gold); color: var(--blue-900);
  font-family: var(--serif); font-weight: 700; font-size: 1.25rem;
  display: grid; place-items: center; margin-bottom: 1rem;
}

/* Event cards ------------------------------------------------------------- */
.event {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); height: 100%;
  transition: transform .18s ease, box-shadow .2s ease;
}
.event:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.event__media { aspect-ratio: 16 / 10; overflow: hidden; position: relative; }
.event__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.event:hover .event__media img { transform: scale(1.05); }
.event__date {
  position: absolute; top: .85rem; left: .85rem;
  background: #fff; border-radius: 10px; text-align: center;
  padding: .35rem .6rem; box-shadow: var(--shadow-sm); line-height: 1;
}
.event__date strong { display: block; font-family: var(--serif); font-size: 1.3rem; color: var(--blue); }
.event__date span { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--red); font-weight: 700; }
.event__body { padding: 1.3rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.event__meta { font-size: .85rem; color: var(--muted); display: flex; gap: 1rem; flex-wrap: wrap; }
.event__meta span { display: inline-flex; align-items: center; gap: .35rem; }
.feature-event__when { display: inline-flex; align-items: center; flex-wrap: wrap; gap: .35rem; }
.event__price { margin-top: auto; font-weight: 700; color: var(--blue); }
.event__body h3 a { color: inherit; text-decoration: none; }
.event__body h3 a:hover { color: var(--blue); }
.event__link {
  display: inline-flex; align-items: center; gap: .25rem;
  margin-top: .6rem; font-weight: 700; font-size: .92rem;
  color: var(--blue); text-decoration: none;
}
.event__link .ico { width: 18px; height: 18px; transition: transform .15s ease; }
.event__link:hover .ico { transform: translateX(3px); }

/* Past events — compact & de-emphasized ----------------------------------- */
.events-past { padding-top: 0; }
.events-past .section-head { margin-bottom: 1.4rem; }
.event--past { box-shadow: var(--shadow-sm); }
.event--past .event__media { aspect-ratio: 16 / 9; }
.event--past .event__media img { filter: grayscale(.35); }
.event--past .event__date { background: var(--muted); }
.event--past .event__date strong { color: #fff; font-size: 1rem; }
.event--past .event__date span { color: #fff; opacity: .85; font-size: .62rem; }
.event--past .event__body { padding: .9rem 1rem; gap: .35rem; }
.event--past .event__body h3 { font-size: 1.02rem; line-height: 1.25; }
.event--past .event__meta { font-size: .78rem; gap: .65rem; }
.event--past .event__price { font-size: .85rem; }
.event--past .event__note { font-size: .85rem; color: var(--muted); margin: 0; }

/* Event detail — key facts card ------------------------------------------- */
.event-facts {
  list-style: none; margin: 1.4rem 0 1.6rem; padding: 1.4rem 1.5rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); display: grid; gap: 1.05rem;
}
.event-facts li { display: flex; gap: .9rem; align-items: flex-start; }
.event-facts .ico {
  flex: 0 0 40px; height: 40px; width: 40px; padding: .55rem;
  background: var(--blue); color: var(--gold); border-radius: 12px;
}
.event-facts__label {
  display: block; font-size: .72rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--blue); margin-bottom: .15rem;
}
.event-facts__val { margin: 0; color: var(--ink); font-weight: 500; line-height: 1.45; }
.event-facts__val a { color: var(--blue); font-weight: 600; }

/* Split feature ----------------------------------------------------------- */
.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.split--reverse .split__media { order: -1; }
.split__media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.split__media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
}

.tick-list { list-style: none; padding: 0; margin: 1.25rem 0; display: grid; gap: .7rem; }
.tick-list li { display: flex; gap: .7rem; align-items: flex-start; }
.tick-list li::before {
  content: "✓"; flex: 0 0 24px; height: 24px; margin-top: 2px;
  background: var(--blue); color: var(--gold); border-radius: 50%;
  display: grid; place-items: center; font-size: .8rem; font-weight: 700;
}

/* Forms ------------------------------------------------------------------- */
.form {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.2rem); box-shadow: var(--shadow);
  display: grid; gap: 1.1rem;
}
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 480px) { .form__grid { grid-template-columns: 1fr; } }
.form__row { display: grid; gap: .4rem; }
.form label { font-weight: 600; font-size: .9rem; color: var(--ink); }
.form input, .form select, .form textarea {
  font-family: var(--font); font-size: 1rem; color: var(--ink);
  padding: .8rem .95rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: var(--bg-soft); transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
  width: 100%;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--blue); background: #fff;
  box-shadow: 0 0 0 3px rgba(0,53,149,.12);
}
.form textarea { resize: vertical; min-height: 110px; }
.form .btn { justify-content: center; }
.form__note { font-size: .82rem; color: var(--muted); text-align: center; margin: 0; }

/* Featured event ---------------------------------------------------------- */
.feature-event {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow);
}
.feature-event__media { position: relative; min-height: 320px; }
.feature-event__media img { width: 100%; height: 100%; object-fit: cover; }
.feature-event__flag {
  position: absolute; top: 1rem; left: 1rem;
  background: var(--gold); color: var(--blue-900); font-weight: 700;
  font-size: .8rem; letter-spacing: .06em; text-transform: uppercase;
  padding: .4rem .9rem; border-radius: 999px;
}
.feature-event__body { padding: clamp(1.6rem, 4vw, 2.8rem); display: flex; flex-direction: column; justify-content: center; }
.feature-event__when { color: var(--blue); font-weight: 600; font-size: .95rem; margin: .2rem 0 1rem; }
@media (max-width: 820px) {
  .feature-event { grid-template-columns: 1fr; }
  .feature-event__media { min-height: 0; aspect-ratio: 16/9; }
}

/* Program cards (image + text row) --------------------------------------- */
.program {
  display: grid; grid-template-columns: 200px 1fr; gap: 0;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .2s ease;
}
.program:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.program__media { overflow: hidden; }
.program__media img { width: 100%; height: 100%; object-fit: cover; min-height: 160px; }
.program__body { padding: 1.4rem 1.5rem; display: flex; flex-direction: column; justify-content: center; }
.program__body h3 { margin-bottom: .45rem; display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.program__body p { color: var(--muted); font-size: .98rem; }
@media (max-width: 560px) { .program { grid-template-columns: 1fr; } .program__media img { aspect-ratio: 16/9; min-height: 0; } }

.tag {
  font-family: var(--font); font-size: .65rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; padding: .25rem .55rem;
  border-radius: 999px; white-space: nowrap;
}
.tag--new { background: var(--gold); color: var(--blue-900); }

/* Stats ------------------------------------------------------------------- */
.stat strong {
  display: block; font-family: var(--serif); font-size: clamp(2.2rem, 5vw, 3rem);
  color: var(--gold); line-height: 1;
}
.stat span { font-size: .92rem; color: #b9c8e6; }

/* FAQ --------------------------------------------------------------------- */
.faq { max-width: 760px; margin-inline: auto; display: grid; gap: .8rem; }
.faq__item {
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; overflow: hidden; box-shadow: var(--shadow-sm);
}
.faq__item summary {
  cursor: pointer; list-style: none; padding: 1.1rem 1.3rem;
  font-family: var(--serif); font-weight: 700; color: var(--ink); font-size: 1.08rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; font-family: var(--font); font-weight: 400; font-size: 1.6rem;
  color: var(--blue); line-height: 1; transition: transform .2s ease;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item[open] summary { color: var(--blue); }
.faq__answer { padding: 0 1.3rem 1.2rem; }
.faq__answer p { color: var(--body); margin: 0; }

/* Officer cards ----------------------------------------------------------- */
.officer {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform .18s ease, box-shadow .2s ease;
  height: 100%;
}
.officer:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.officer__photo {
  aspect-ratio: 4 / 3;
  background: var(--bg-blue-soft);
  overflow: hidden;
  border-bottom: 4px solid var(--gold);
}
.officer__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.officer__body { padding: 1.2rem 1.25rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.officer__name { margin: 0; }
.officer__role {
  font-weight: 700; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--blue); margin: 0;
}
.officer__body p:not(.officer__role) { color: var(--muted); font-size: .96rem; margin: 0; }
.officer__contact {
  margin-top: auto; padding-top: .6rem; font-weight: 600; font-size: .92rem;
  word-break: break-word; display: inline-flex; align-items: center; gap: .4rem;
}
.officer__contact::before { content: "✉"; color: var(--gold-600); }

/* Officer spotlight (featured) */
.officer-spotlight {
  display: grid; grid-template-columns: minmax(0, 340px) 1fr;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow);
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
.officer-spotlight__photo {
  position: relative; background: var(--bg-blue-soft);
  border-right: 4px solid var(--gold); min-height: 320px;
}
.officer-spotlight__photo img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
}
.officer-spotlight__body {
  padding: clamp(1.6rem, 4vw, 2.8rem); align-self: center;
  display: flex; flex-direction: column; gap: .7rem;
}
.officer-spotlight__badge {
  align-self: flex-start; background: var(--gold); color: var(--blue);
  font-weight: 800; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase;
  padding: .3rem .75rem; border-radius: 999px;
}
.officer-spotlight__name { margin: 0; font-size: clamp(1.6rem, 3.5vw, 2.1rem); }
.officer-spotlight .officer__role { font-size: .95rem; }
.officer-spotlight__bio { color: var(--muted); margin: 0; max-width: 62ch; }
.officer-spotlight .officer__contact { margin-top: .3rem; }
@media (max-width: 720px) {
  .officer-spotlight { grid-template-columns: 1fr; }
  .officer-spotlight__photo {
    border-right: 0; border-bottom: 4px solid var(--gold);
    aspect-ratio: 4 / 3; min-height: 0;
  }
}

/* Timeline ---------------------------------------------------------------- */
.timeline { list-style: none; padding: 0; max-width: 760px; margin-inline: auto; }
.timeline__item { display: grid; grid-template-columns: 72px 1fr; gap: 2.25rem; padding-block: 1.2rem; position: relative; }
.timeline__item::before {
  content: ""; position: absolute; left: 88px; top: 0; bottom: 0;
  width: 2px; background: var(--line);
}
.timeline__item:first-child::before { top: 1.5rem; }
.timeline__item:last-child::before { bottom: auto; height: 1.5rem; }
.timeline__year {
  font-family: var(--serif); font-weight: 700; color: var(--blue);
  font-size: 1.05rem; text-align: right; padding-top: .15rem;
}
.timeline__body { position: relative; }
.timeline__body::before {
  content: ""; position: absolute; left: -27px; top: 7px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--gold); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--blue);
}
.timeline__body h3 { margin-bottom: .35rem; }
.timeline__body p { color: var(--muted); }
@media (max-width: 560px) {
  .timeline__item { grid-template-columns: 1fr; gap: .25rem; padding-left: 28px; }
  .timeline__item::before { left: 5px; }
  .timeline__year { text-align: left; }
  .timeline__body::before { left: -28px; }
}

/* CTA band ---------------------------------------------------------------- */
.cta-band {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-900) 100%);
  color: #fff; border-radius: var(--radius-lg); padding: clamp(2.2rem, 5vw, 3.6rem);
  text-align: center; position: relative; overflow: hidden;
}
.cta-band::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(600px 300px at 90% 10%, rgba(255,199,44,.25), transparent 60%);
}
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band > p { color: #cdd9f0; max-width: 52ch; margin: .8rem auto 1.7rem; }
.cta-band .section-head p { color: #cdd9f0; }
.cta-band .hero__cta { justify-content: center; }
.cta-band .steps { margin-top: 2rem; text-align: left; }

/* Mission statement ------------------------------------------------------- */
.mission-statement {
  position: relative;
  max-width: 60rem;
  margin-inline: auto;
  text-align: center;
  background: linear-gradient(160deg, #fff 0%, #f6f8fc 100%);
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: clamp(2.2rem, 5vw, 3.6rem);
  box-shadow: var(--shadow-sm);
}
.mission-statement .eyebrow { justify-content: center; }
.mission-statement blockquote {
  margin: 1rem 0 0;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.5rem, 3.4vw, 2.4rem);
  line-height: 1.22;
  color: var(--blue-900);
}
.mission-statement blockquote::before { content: "\201C"; color: var(--gold); }
.mission-statement blockquote::after { content: "\201D"; color: var(--gold); }
.mission-statement p {
  margin: 1.2rem auto 0;
  max-width: 52ch;
  color: #3f4a5c;
  font-size: 1.08rem;
}

/* Schedule tag / chip ----------------------------------------------------- */
.tag {
  display: inline-block;
  font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--blue-900);
  background: rgba(0,53,149,.08);
  border: 1px solid rgba(0,53,149,.14);
  padding: .28rem .62rem; border-radius: 999px;
  margin-bottom: .75rem;
}
.tag--gold { color: #7a5b00; background: rgba(255,199,44,.18); border-color: rgba(230,167,0,.35); }

/* Footer ------------------------------------------------------------------ */
.site-footer { background: var(--blue-900); color: #aebdd4; }
.site-footer a { color: #d7e1f3; }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2rem;
  padding-block: clamp(2.5rem, 5vw, 4rem);
}
.footer-brand img { width: 76px; height: 76px; object-fit: contain; margin-bottom: .9rem; }
.footer-brand__home { display: inline-block; text-decoration: none; }
.footer-brand__home:hover strong { color: var(--gold); }
.footer-brand strong { color: #fff; font-family: var(--serif); font-size: 1.2rem; display: block; }
.footer-brand p { color: #93a4c7; font-size: .92rem; margin-top: .6rem; max-width: 32ch; }
.footer-col h4 { color: #fff; font-family: var(--font); font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-col ul { list-style: none; padding: 0; display: grid; gap: .55rem; }
.footer-col a { color: #aebdd4; font-size: .95rem; }
.footer-col a:hover { color: #fff; }
.footer-col a[href="https://www.lionsclubs.org/"],
.footer-col a[href="https://wilions.org/"] { color: var(--gold); }
.footer-col a[href="https://www.lionsclubs.org/"]:hover,
.footer-col a[href="https://wilions.org/"]:hover { color: var(--gold-600); }
.footer-contact p { color: #aebdd4; font-size: .95rem; margin-bottom: .6rem; }
.footer-contact strong { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-block: 1.3rem; display: flex; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap; font-size: .85rem; color: #8295bb;
}
.footer-bottom p:last-child { color: var(--gold); font-weight: 700; letter-spacing: .08em; }
.social { display: flex; gap: .6rem; margin-top: 1rem; }
.social a {
  width: 38px; height: 38px; border-radius: 9px; display: grid; place-items: center;
  background: rgba(255,255,255,.08); color: #fff;
}
.social a:hover { background: var(--gold); color: var(--blue-900); }
.social svg { width: 18px; height: 18px; }
/* Footer credit mark (Tao Designs) */
.credit-mark { display: inline-flex; align-items: center; vertical-align: middle; line-height: 0; margin-left: .35rem; }
.credit-mark svg { width: 13px; height: 13px; fill: none; stroke: #f47b20; stroke-width: 2.2; }
.credit-mark:hover { text-decoration: none; }
.credit-mark:hover svg { stroke: #f47b20; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Bar hours card ---------------------------------------------------------- */
.hours-card {
  margin-top: 1.75rem; padding: 1.5rem 1.75rem;
  background: #fff; border: 1px solid #e6eaf2;
  border-left: 4px solid var(--gold);
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.hours-card h3 { margin: 0 0 .9rem; font-size: 1.15rem; }
.hours { list-style: none; margin: 0; padding: 0; }
.hours li {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: .5rem 0; border-bottom: 1px solid #eef1f7;
}
.hours li:last-child { border-bottom: 0; }
.hours li span:first-child { font-weight: 600; color: var(--ink); }
.hours li span:last-child { color: #4a5568; }
.hours__closed { color: #9aa5b5 !important; font-style: italic; }
.hours__note { margin: 1rem 0 0; font-size: .85rem; color: #6b7280; }

/* Page hero (interior) ---------------------------------------------------- */
.page-hero {
  background: linear-gradient(155deg, var(--yellow) 0%, var(--yellow-600) 100%);
  color: var(--ink); padding-block: clamp(2.8rem, 6vw, 4.5rem);
  position: relative; overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(700px 360px at 90% -20%, rgba(255,255,255,.35), transparent 60%);
}
.page-hero .container { position: relative; }
.page-hero h1 { color: var(--ink); }

/* Tiled Lions-logo hero background (brick pattern, behind yellow overlay) */
.page-hero--logo,
.hero--logo {
  background-color: var(--yellow);
  background-image: url("../assets/img/lions-logo-brick.png");
  background-repeat: repeat;
  background-size: 156px auto;
  background-position: center top;
  background-attachment: fixed;
}
.page-hero--logo::before,
.hero--logo::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(155deg, rgba(244,207,35,.88) 0%, rgba(224,187,16,.92) 100%);
}
.page-hero--logo > .container,
.hero--logo > .container { position: relative; z-index: 1; }
/* Home page: lighten the logo tiles by 15% (white wash over the tile layer only) */
.hero--logo {
  background-image:
    linear-gradient(rgba(255,255,255,.15), rgba(255,255,255,.15)),
    url("../assets/img/lions-logo-brick.png");
  background-repeat: no-repeat, repeat;
  background-size: auto, 156px auto;
  background-attachment: fixed, fixed;
}

.page-hero p { color: #3a3320; font-size: 1.15rem; max-width: 60ch; margin-top: .8rem; }
.breadcrumb { font-size: .85rem; color: #6b5e2e; margin-bottom: 1rem; }
.breadcrumb a { color: var(--blue); }
.breadcrumb [aria-current] { color: var(--blue-900); font-weight: 600; }

/* Contact ----------------------------------------------------------------- */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: 1.4rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-list__icon {
  flex: 0 0 44px; height: 44px; display: grid; place-items: center;
  background: var(--blue); color: var(--gold); border-radius: 12px;
}
.contact-list__icon svg { width: 22px; height: 22px; }
.contact-list h3 { margin: 0 0 .2rem; font-size: 1.05rem; }
.contact-list p { margin: 0; color: var(--muted); }
.contact-list a { color: var(--blue); font-weight: 600; }
.map-embed {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow);
  line-height: 0;
}
.map-embed iframe { display: block; width: 100%; }

/* Gallery ----------------------------------------------------------------- */
.gallery__filter {
  display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center;
  margin-bottom: 2rem;
}
.gallery__chip {
  font: inherit; font-weight: 600; font-size: .9rem; cursor: pointer;
  padding: .5rem 1.1rem; border-radius: 999px;
  background: #fff; color: var(--blue); border: 1px solid var(--line);
  transition: background .15s, color .15s, border-color .15s;
}
.gallery__chip:hover { border-color: var(--blue); }
.gallery__chip.is-active { background: var(--blue); color: #fff; border-color: var(--blue); }

.gallery {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-flow: dense;
}
.gallery__item { margin: 0; }
.gallery__item--wide { grid-column: span 2; }
.gallery__item--tall { grid-row: span 2; }
.gallery__open {
  display: block; width: 100%; height: 100%; padding: 0; border: 0; cursor: pointer;
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: var(--blue); box-shadow: var(--shadow);
}
.gallery__open img {
  display: block; width: 100%; height: 100%; object-fit: cover;
  aspect-ratio: 4/3; transition: transform .4s ease;
}
.gallery__item--tall .gallery__open img { aspect-ratio: 3/4; }
.gallery__open:hover img { transform: scale(1.05); }
.gallery__open:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.gallery__open figcaption {
  position: absolute; inset: auto 0 0 0; text-align: left;
  padding: 1.6rem .9rem .8rem; color: #fff; font-weight: 700; font-size: .95rem;
  background: linear-gradient(to top, rgba(0,21,58,.85), transparent);
}
.gallery__tag {
  display: inline-block; margin-bottom: .35rem; padding: .12rem .55rem;
  font-size: .68rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
  color: var(--blue); background: var(--gold); border-radius: 999px;
}
.gallery__item.is-hidden { display: none; }
.gallery__more {
  margin-top: 2rem; text-align: center; color: var(--muted); font-size: 1rem;
}
@media (max-width: 720px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery__item--wide { grid-column: span 2; }
  .gallery__item--tall { grid-row: span 1; }
  .gallery__item--tall .gallery__open img { aspect-ratio: 4/3; }
}
@media (max-width: 420px) {
  .gallery { grid-template-columns: 1fr; }
  .gallery__item--wide { grid-column: span 1; }
}

/* Lightbox ---------------------------------------------------------------- */
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-items: center; padding: clamp(1rem, 4vw, 3rem);
  background: rgba(0,15,40,.92);
}
.lightbox[hidden] { display: none; }
.lightbox__inner { margin: 0; max-width: min(1000px, 92vw); text-align: center; }
.lightbox__img {
  max-width: 100%; max-height: 78vh; border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.lightbox__caption { color: #e7eefb; margin-top: 1rem; font-size: 1rem; max-width: 70ch; }
.lightbox__close {
  position: absolute; top: 1.2rem; right: 1.4rem;
  width: 48px; height: 48px; border: 0; border-radius: 50%; cursor: pointer;
  font-size: 1.8rem; line-height: 1; color: var(--blue); background: var(--gold);
}
.lightbox__close:hover { background: #ffd24d; }
.lightbox__close:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

/* Calendar ---------------------------------------------------------------- */
.cal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
}
.cal {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.cal__toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem 1.25rem;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-900) 100%);
  color: #fff;
}
.cal__title { font-family: var(--serif); font-size: 1.3rem; line-height: 1; color: #fff; }
.cal__nav { display: flex; gap: .5rem; }
.cal__btn {
  width: 40px; height: 40px; flex: none; cursor: pointer;
  border: 1px solid rgba(255,255,255,.3); border-radius: 10px;
  background: rgba(255,255,255,.12); color: #fff; font-size: 1.2rem; line-height: 1;
  display: grid; place-items: center;
}
.cal__btn:hover { background: rgba(255,255,255,.24); }
.cal__btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.cal__dow {
  padding: .6rem .4rem; text-align: center;
  font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted); background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}
.cal__cell {
  min-height: 92px; padding: .4rem;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column; gap: .3rem;
}
.cal__cell:nth-child(7n) { border-right: 0; }
.cal__cell--blank { background: var(--bg-soft); }
.cal__daynum {
  font-size: .8rem; font-weight: 600; color: var(--muted);
  width: 1.7rem; height: 1.7rem; display: grid; place-items: center;
}
.cal__cell--today .cal__daynum {
  background: var(--blue); color: #fff; border-radius: 50%;
}
.cal__event {
  display: block; width: 100%; text-align: left; cursor: pointer;
  border: 0; border-left: 3px solid var(--muted);
  background: var(--bg-soft); color: var(--ink);
  font-size: .72rem; font-weight: 600; line-height: 1.2;
  padding: .25rem .4rem; border-radius: 5px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cal__event:hover { filter: brightness(.97); }
.cal__event:focus-visible { outline: 2px solid var(--blue); outline-offset: 1px; }
.cal__event--breakfast { border-left-color: var(--gold-600); background: #fff6df; }
.cal__event--show { border-left-color: var(--red); background: #fdeaea; }
.cal__event--meeting { border-left-color: var(--blue); background: var(--bg-blue-soft); }
.cal__event--league { border-left-color: #2f8a5b; background: #e8f5ee; }

.cal__legend { display: flex; flex-wrap: wrap; gap: .9rem 1.4rem; margin-top: 1.1rem; }
.cal__legend span { display: inline-flex; align-items: center; gap: .45rem; font-size: .82rem; color: var(--body); }
.cal__swatch { width: 14px; height: 14px; border-radius: 4px; }
.cal__swatch--breakfast { background: var(--gold-600); }
.cal__swatch--show { background: var(--red); }
.cal__swatch--meeting { background: var(--blue); }
.cal__swatch--league { background: #2f8a5b; }

.cal-side { display: grid; gap: 1.25rem; }
.cal-panel {
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
  padding: 1.4rem;
}
.cal-panel h3 { font-size: 1.1rem; margin-bottom: .9rem; }
.cal-agenda { display: grid; gap: 1rem; }
.cal-agenda__empty { color: var(--muted); font-size: .95rem; }
.cal-agenda__item { display: grid; grid-template-columns: 56px 1fr; gap: .9rem; align-items: start; }
.cal-agenda__date {
  text-align: center; border-radius: 10px; overflow: hidden;
  border: 1px solid var(--line); background: var(--bg-soft);
}
.cal-agenda__date strong { display: block; background: var(--blue); color: #fff; font-size: 1.1rem; padding: .15rem 0; }
.cal-agenda__date span { display: block; font-size: .68rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding: .15rem 0; }
.cal-agenda__title { font-weight: 700; color: var(--ink); }
.cal-agenda__meta { font-size: .85rem; color: var(--muted); margin-top: .15rem; }
.cal-agenda__gcal {
  display: inline-flex; align-items: center; gap: .35rem; margin-top: .5rem;
  font-size: .8rem; font-weight: 600; color: var(--blue);
}
.cal-agenda__gcal:hover { text-decoration: underline; }
.cal-recurring { list-style: none; display: grid; gap: .9rem; }
.cal-recurring li { display: grid; grid-template-columns: auto 1fr; gap: .7rem; align-items: start; font-size: .92rem; }
.cal-recurring .dot { width: 10px; height: 10px; border-radius: 50%; margin-top: .4rem; }
.cal-recurring strong { display: block; color: var(--ink); }
.cal-recurring span { color: var(--muted); }

@media (max-width: 900px) {
  .cal-layout { grid-template-columns: 1fr; }
  .cal__cell { min-height: 64px; }
}
@media (max-width: 560px) {
  .cal__cell { min-height: 52px; padding: .25rem; }
  .cal__event { font-size: 0; padding: 0; height: 6px; border-radius: 3px; border-left: 0; }
  .cal__dow { font-size: .6rem; }
}

/* Utilities --------------------------------------------------------------- */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
