/* ==========================================================================
   Beekeepers Association of the Ozarks
   site.css — single stylesheet for the whole site
   Palette sampled from the club logo, the Bee School flyer and the swarm list.
   ========================================================================== */

:root {
  /* Colour ---------------------------------------------------------------- */
  --honey:        #FAB337;   /* logo hexagon fill */
  --honey-light:  #FDD98C;
  --amber:        #FFA300;   /* Bee School flyer orange */
  --amber-deep:   #D97E00;   /* darkened for AA text on cream */
  --charcoal:     #1A1520;   /* logo outline / lettering */
  --charcoal-2:   #2E2731;
  --sage:         #7D8633;   /* swarm-list header green */
  --sage-light:   #E7EBD2;
  --cream:        #FDF6E9;
  --paper:        #FFFFFF;
  --ink:          #241E28;
  --muted:        #6B6270;
  --line:         #E6DCC9;
  --alert:        #A32E13;

  /* Type ------------------------------------------------------------------ */
  --display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --body:    "Barlow", "Segoe UI", system-ui, -apple-system, sans-serif;
  --data:    "Barlow Semi Condensed", "Barlow", system-ui, sans-serif;

  /* Space ----------------------------------------------------------------- */
  --wrap: 1140px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --radius: 4px;

  --hex: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

/* Reset -------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--amber-deep); }
a:hover { color: var(--charcoal); }

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
}

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

/* Type scale --------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: .005em;
  color: var(--charcoal);
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.4rem, 6vw, 4rem); text-transform: uppercase; }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2.6vw, 1.6rem); }
h4 { font-size: 1.15rem; }
p  { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-family: var(--data);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--amber-deep);
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  margin: 0 0 .75rem;
}
.eyebrow::before {
  content: "";
  margin-top: .32em;
  width: 11px; height: 12px;
  background: var(--honey);
  clip-path: var(--hex);
  flex: none;
}
.lede { font-size: 1.15rem; color: var(--charcoal-2); }

/* Layout ------------------------------------------------------------------- */
.wrap { width: min(var(--wrap), 100% - (var(--gutter) * 2)); margin-inline: auto; }
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section--paper { background: var(--paper); }
.section--sage  { background: var(--sage-light); }
.section--dark  { background: var(--charcoal); color: #EDE7DC; }
.section--dark h2, .section--dark h3 { color: var(--honey); }
.section--dark .eyebrow { color: var(--honey); }
.section--dark a { color: var(--honey); }
/* ...but a link styled as a button keeps its own colours. `.section--dark a` is
   more specific than `.btn--primary`, which otherwise leaves honey text on an
   amber button. */
.section--dark .btn--primary { color: var(--charcoal); }
.section--dark .btn--dark { color: var(--honey); }
.section--dark .btn--ghost { color: #EDE7DC; }
.section--dark .btn--ghost:hover { background: var(--honey); color: var(--charcoal); }

.grid { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.split { display: grid; gap: clamp(2rem, 5vw, 4rem); grid-template-columns: 1fr; }
/* grid/flex items default to min-width:auto, which lets wide children blow the
   column out past the container. Force them to be allowed to shrink. */
.split > *, .grid > * { min-width: 0; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1.25fr .75fr; align-items: start; }
  .split--even { grid-template-columns: 1fr 1fr; align-items: center; }
}

/* Skip link ---------------------------------------------------------------- */
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--charcoal); color: var(--honey);
  padding: .75rem 1.25rem; font-weight: 600;
}
.skip:focus { left: .5rem; top: .5rem; }

/* Utility bar -------------------------------------------------------------- */
.utility {
  background: var(--charcoal);
  color: #D9D2C6;
  font-family: var(--data);
  font-size: .9rem;
}
.utility .wrap {
  display: flex; flex-wrap: wrap; gap: .35rem 1.5rem;
  align-items: center; justify-content: center;
  padding: .5rem 0;
  text-align: center;
}
.utility a { color: var(--honey); text-decoration: none; font-weight: 600; }
.utility a:hover { color: var(--paper); text-decoration: underline; }
.utility span { display: inline-flex; align-items: center; gap: .4rem; }

/* Masthead ----------------------------------------------------------------- */
.masthead {
  background: var(--paper);
  border-bottom: 3px solid var(--honey);
  position: sticky; top: 0; z-index: 100;
}
.masthead .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: .7rem 0;
}
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; }
.brand img { width: 58px; height: auto; flex: none; }
.brand b {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: 1.35rem; line-height: 1; color: var(--charcoal); display: block;
  letter-spacing: .01em;
}
.brand small {
  font-family: var(--data); font-size: .72rem; letter-spacing: .17em;
  text-transform: uppercase; color: var(--muted); display: block; margin-top: .2rem;
}

/* Navigation --------------------------------------------------------------- */
.nav-toggle {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--charcoal); color: var(--honey);
  border: 0; border-radius: var(--radius);
  font-family: var(--data); font-size: .95rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  padding: .6rem .9rem; cursor: pointer;
}
.nav-toggle svg { width: 18px; height: 18px; }

nav.main ul { list-style: none; margin: 0; padding: 0; }
nav.main > ul { display: flex; align-items: center; gap: .25rem; }
nav.main a, nav.main .subtoggle {
  display: block; padding: .55rem .58rem; white-space: nowrap;
  font-family: var(--data); font-weight: 600; font-size: .93rem;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--charcoal); text-decoration: none;
  background: none; border: 0; cursor: pointer; font-family: var(--data);
  border-bottom: 3px solid transparent;
}
nav.main a:hover, nav.main .subtoggle:hover { color: var(--amber-deep); border-bottom-color: var(--honey); }
nav.main a[aria-current="page"] { color: var(--amber-deep); border-bottom-color: var(--amber); }
nav.main li.has-sub { position: relative; }
nav.main .subtoggle::after { content: " ▾"; font-size: .8em; }
nav.main .sub {
  position: absolute; top: 100%; left: 0; min-width: 250px;
  background: var(--paper); border: 1px solid var(--line);
  border-top: 3px solid var(--honey);
  box-shadow: 0 14px 30px rgba(26,21,32,.16);
  padding: .35rem; display: none; z-index: 20;
}
nav.main li.has-sub.open > .sub { display: block; }
nav.main .sub a { border-bottom: 0; padding: .5rem .7rem; text-transform: none; letter-spacing: .02em; font-size: 1rem; white-space: normal; }
nav.main .sub a:hover { background: var(--cream); }

.nav-cta {
  background: var(--amber); color: var(--charcoal) !important;
  border-radius: var(--radius); border-bottom: 3px solid var(--amber-deep) !important;
  margin-left: .5rem;
}
.nav-cta:hover { background: var(--honey); }

@media (max-width: 1119px) {
  .nav-toggle { display: inline-flex; }
  nav.main {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper); border-bottom: 4px solid var(--honey);
    box-shadow: 0 18px 30px rgba(26,21,32,.18);
    padding: .5rem var(--gutter) 1.25rem;
    max-height: calc(100vh - 120px); overflow-y: auto;
  }
  nav.main.open { display: block; }
  nav.main > ul { flex-direction: column; align-items: stretch; gap: 0; }
  nav.main > ul > li { border-bottom: 1px solid var(--line); }
  nav.main a, nav.main .subtoggle { padding: .85rem .25rem; width: 100%; text-align: left; border-bottom: 0; }
  nav.main .sub { position: static; display: none; border: 0; box-shadow: none; padding: 0 0 .5rem .9rem; border-left: 3px solid var(--honey); margin-bottom: .5rem; }
  .nav-cta { margin: .75rem 0 0; text-align: center !important; }
}
@media (min-width: 1120px) {
  .nav-toggle { display: none; }
  nav.main { display: block !important; }
}

/* Buttons ------------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--data); font-weight: 600; font-size: 1rem;
  letter-spacing: .09em; text-transform: uppercase;
  padding: .8rem 1.5rem; border-radius: var(--radius);
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  max-width: 100%; text-align: center; overflow-wrap: anywhere;
  transition: transform .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--amber); color: var(--charcoal); border-color: var(--amber); }
.btn--primary:hover { background: var(--honey); color: var(--charcoal); }
.btn--dark { background: var(--charcoal); color: var(--honey); border-color: var(--charcoal); }
.btn--dark:hover { background: var(--charcoal-2); color: var(--honey); }
.btn--ghost { background: transparent; color: var(--charcoal); border-color: var(--charcoal); }
.btn--ghost:hover { background: var(--charcoal); color: var(--honey); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

/* Hero + carousel ---------------------------------------------------------- */
.hero { background: var(--charcoal); color: #EDE7DC; position: relative; overflow: hidden; }
.hero .wrap { position: relative; z-index: 2; padding: clamp(2.5rem, 6vw, 4rem) 0; }
.hero h1 { color: var(--paper); margin-bottom: .35em; }
.hero h1 em { font-style: normal; color: var(--honey); display: block; }
.hero p { color: #CFC7BA; max-width: 46ch; font-size: 1.1rem; }
.hero .eyebrow { color: var(--honey); }

.carousel { position: relative; margin-top: 2rem; }
.carousel__viewport {
  position: relative; overflow: hidden;
  border: 4px solid var(--honey); border-radius: var(--radius);
  aspect-ratio: 16 / 8;
  background: var(--charcoal-2);
}
.carousel__slide {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity .7s ease;
  pointer-events: none;
}
.carousel__slide.is-active { opacity: 1; pointer-events: auto; }
.carousel__slide img { width: 100%; height: 100%; object-fit: cover; }
.carousel__caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, rgba(26,21,32,.92), rgba(26,21,32,0));
  color: var(--paper);
  font-family: var(--data); font-size: clamp(1rem, 2.2vw, 1.3rem); font-weight: 600;
  padding: 3rem 1.25rem 1rem;
}
.carousel__btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border: 0; cursor: pointer;
  background: rgba(26,21,32,.7); color: var(--honey);
  font-size: 1.5rem; line-height: 1; display: grid; place-items: center;
  border-radius: 50%;
}
.carousel__btn:hover { background: var(--charcoal); }
.carousel__btn--prev { left: .75rem; }
.carousel__btn--next { right: .75rem; }
.carousel__dots { display: flex; gap: .5rem; justify-content: center; margin-top: .9rem; }
.carousel__dots button {
  width: 13px; height: 14px; padding: 0; border: 0; cursor: pointer;
  background: rgba(250,179,55,.35); clip-path: var(--hex);
}
.carousel__dots button[aria-current="true"] { background: var(--honey); }

/* Page header (interior pages) --------------------------------------------- */
.pagehead {
  background: var(--charcoal);
  color: #EDE7DC;
  padding: clamp(2.25rem, 5vw, 3.5rem) 0;
  border-bottom: 5px solid var(--honey);
}
.pagehead h1 { color: var(--paper); margin-bottom: .25em; }
.pagehead p { color: #CFC7BA; max-width: 60ch; margin: 0; }
.breadcrumb {
  font-family: var(--data); font-size: .85rem; letter-spacing: .1em;
  text-transform: uppercase; color: #9A9189; margin: 0 0 .75rem;
}
.breadcrumb a { color: var(--honey); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* Cards -------------------------------------------------------------------- */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 4px solid var(--honey);
  padding: 1.5rem;
  border-radius: var(--radius);
}
/* Equal-height cards only where they sit side by side in a grid. Applying
   height:100% to every card makes stacked cards each claim the full column
   height, so they overlap whatever follows. */
.grid > .card, .grid > .card--link { height: 100%; }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.card--link { text-decoration: none; color: inherit; display: block; transition: transform .18s ease, box-shadow .18s ease; }
.card--link:hover { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(26,21,32,.12); color: inherit; }
.card__more { font-family: var(--data); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--amber-deep); font-size: .9rem; }

.hexphoto {
  clip-path: var(--hex);
  background: var(--honey);
  aspect-ratio: 1 / 1.1;
  width: 100%;
}
.hexphoto img { width: 100%; height: 100%; object-fit: cover; }

/* Alert / swarm callout ---------------------------------------------------- */
.alert {
  background: var(--paper);
  border: 2px solid var(--alert);
  border-left-width: 10px;
  padding: 1.5rem;
  border-radius: var(--radius);
}
.alert h3 { color: var(--alert); }
.alert strong { color: var(--alert); }

.callout {
  background: var(--honey);
  color: var(--charcoal);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: var(--radius);
}
.callout h2, .callout h3 { color: var(--charcoal); }
.callout .btn--dark { border-color: var(--charcoal); }

/* Facts / meeting block ---------------------------------------------------- */
.factlist { list-style: none; margin: 0; padding: 0; }
.factlist li {
  display: grid; grid-template-columns: 1fr; gap: .1rem;
  padding: .8rem 0; border-bottom: 1px solid var(--line);
}
.factlist li:last-child { border-bottom: 0; }
.factlist dt, .factlist .k {
  font-family: var(--data); font-size: .8rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted);
}
.factlist .v { font-weight: 600; color: var(--charcoal); }

/* Ticked list -------------------------------------------------------------- */
.ticks { list-style: none; margin: 0 0 1.25rem; padding: 0; }
.ticks li { position: relative; padding-left: 2.1rem; margin-bottom: .7rem; }
.ticks li::before {
  content: "";
  position: absolute; left: 0; top: .35em;
  width: 15px; height: 17px;
  background: var(--amber);
  clip-path: var(--hex);
}

/* Accordion (FAQ) ---------------------------------------------------------- */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  display: flex; gap: 1rem; align-items: flex-start; justify-content: space-between;
  padding: 1.15rem .25rem;
  font-family: var(--display); font-weight: 600; font-size: 1.22rem; line-height: 1.25;
  color: var(--charcoal);
}
.faq__q:hover { color: var(--amber-deep); }
.faq__q .mark {
  flex: none; width: 26px; height: 26px; display: grid; place-items: center;
  background: var(--honey); color: var(--charcoal); font-family: var(--body);
  font-size: 1.1rem; font-weight: 700; line-height: 1;
  clip-path: var(--hex); transition: transform .2s ease;
}
.faq__q[aria-expanded="true"] .mark { transform: rotate(180deg); }
.faq__a { display: none; padding: 0 .25rem 1.4rem; max-width: 72ch; }
.faq__a.open { display: block; }
.faq__a a { word-break: break-word; }

/* Swarm table -------------------------------------------------------------- */
.filterbar {
  display: flex; flex-wrap: wrap; gap: .75rem; align-items: flex-end;
  background: var(--paper); border: 1px solid var(--line);
  border-top: 4px solid var(--sage);
  padding: 1.1rem; border-radius: var(--radius); margin-bottom: 1.5rem;
}
.field { display: flex; flex-direction: column; gap: .3rem; flex: 1 1 200px; }
.field label {
  font-family: var(--data); font-size: .78rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted); font-weight: 600;
}
.field input, .field select {
  font-family: var(--body); font-size: 1rem;
  padding: .6rem .7rem; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--cream); color: var(--ink);
}
.field input:focus, .field select:focus { border-color: var(--amber); background: var(--paper); }
.filterbar .count {
  font-family: var(--data); font-size: .9rem; color: var(--muted);
  flex: 0 0 auto; padding-bottom: .65rem;
}

.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
table.swarm { width: 100%; border-collapse: collapse; font-family: var(--data); min-width: 640px; }
table.swarm caption { text-align: left; padding: .9rem 1rem; font-size: .9rem; color: var(--muted); }
table.swarm th {
  background: var(--sage); color: #fff; text-align: left;
  font-size: .82rem; letter-spacing: .12em; text-transform: uppercase;
  padding: .75rem 1rem; font-weight: 600; white-space: nowrap;
}
table.swarm td { padding: .75rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
table.swarm tbody tr:nth-child(even) { background: #FBF7EF; }
table.swarm tbody tr:hover { background: var(--sage-light); }
table.swarm a { text-decoration: none; font-weight: 600; white-space: nowrap; }
table.swarm a:hover { text-decoration: underline; }
table.swarm .name { font-weight: 600; color: var(--charcoal); }
.noresults { padding: 2rem 1rem; text-align: center; color: var(--muted); }

/* Newsletter / archive list ------------------------------------------------ */
.archive { list-style: none; margin: 0; padding: 0; }
.archive li {
  display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: baseline;
  justify-content: space-between;
  padding: 1rem .25rem; border-bottom: 1px solid var(--line);
}
.archive .date { font-family: var(--data); color: var(--muted); font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; }

/* Officers ----------------------------------------------------------------- */
.officer { text-align: center; }
.officer .role {
  font-family: var(--data); font-size: .8rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--amber-deep); font-weight: 600;
}
.officer .who { font-family: var(--display); font-size: 1.5rem; font-weight: 700; color: var(--charcoal); line-height: 1.15; }

/* Gallery ------------------------------------------------------------------ */
.gallery { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.gallery img { border: 3px solid var(--paper); box-shadow: 0 6px 16px rgba(26,21,32,.12); width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* Editor note (content still to migrate) ----------------------------------- */
.todo {
  background: #FFF3D6; border: 1px dashed var(--amber-deep);
  padding: 1rem 1.25rem; border-radius: var(--radius);
  font-size: .95rem; color: #6A4A00;
}
.todo strong { color: #6A4A00; }

/* Footer ------------------------------------------------------------------- */
.footer {
  background: var(--charcoal);
  color: #C8C1B7;
  padding: clamp(2.5rem, 5vw, 4rem) 0 0;
  position: relative;
}
.footer::before {
  content: ""; display: block; height: 10px;
  background: repeating-linear-gradient(90deg, var(--honey) 0 26px, var(--charcoal) 26px 34px);
  position: absolute; top: 0; left: 0; right: 0;
}
.footer h4 {
  color: var(--honey); font-size: .95rem; letter-spacing: .16em;
  text-transform: uppercase; font-family: var(--data); margin-bottom: 1rem;
}
.footer a { color: #E4DDD1; text-decoration: none; }
.footer a:hover { color: var(--honey); text-decoration: underline; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: .5rem; }
.footer__grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.footer__brand img { width: 84px; margin-bottom: 1rem; }
.footer__legal {
  margin-top: 2.5rem; padding: 1.25rem 0; border-top: 1px solid rgba(255,255,255,.12);
  font-family: var(--data); font-size: .85rem; color: #8C857C;
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between;
}

/* Reveal on scroll --------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* Print -------------------------------------------------------------------- */
@media print {
  .utility, .masthead, .footer, .carousel__btn, .filterbar, .btn-row { display: none !important; }
  body { background: #fff; font-size: 12pt; }
  .pagehead { background: #fff; color: #000; border-bottom: 2px solid #000; }
  .pagehead h1, .pagehead p { color: #000; }
  table.swarm th { background: #ddd !important; color: #000 !important; }
  .faq__a { display: block !important; }
}

/* Gallery lightbox --------------------------------------------------------- */
.gallery a.lb {
  display: block; position: relative; cursor: zoom-in;
  border: 3px solid var(--paper);
  box-shadow: 0 6px 16px rgba(26,21,32,.12);
  transition: transform .18s ease, box-shadow .18s ease;
}
.gallery a.lb:hover, .gallery a.lb:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(26,21,32,.22);
}
.gallery a.lb img { border: 0; box-shadow: none; width: 100%; }
.gallery figure { margin: 0; }
.gallery figcaption {
  font-family: var(--data); font-weight: 600; font-size: .95rem;
  letter-spacing: .06em; text-align: center; margin-top: .6rem; color: var(--charcoal);
}
.gallery a.lb::after {
  content: "";
  position: absolute; right: .5rem; bottom: .5rem;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(26,21,32,.8) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FAB337' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5 21 21M10.5 7.5v6M7.5 10.5h6'/%3E%3C/svg%3E") center / 20px 20px no-repeat;
  opacity: 0; transition: opacity .18s ease;
}
.gallery a.lb:hover::after, .gallery a.lb:focus-visible::after { opacity: 1; }

/* Documents (flyers) show whole, never cropped */
.gallery--docs { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.gallery--docs img { aspect-ratio: 3 / 4; object-fit: contain; background: var(--paper); }

.lightbox {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(16,12,20,.985);
  display: none; flex-direction: column;
  align-items: center; justify-content: center;
  padding: clamp(1rem, 3vw, 2.5rem);
}
.lightbox[open], .lightbox.is-open { display: flex; }
.lightbox__img {
  max-width: min(1100px, 94vw); max-height: 78vh;
  width: auto; height: auto; object-fit: contain;
  background: var(--paper);
  border: 3px solid var(--honey);
  box-shadow: 0 24px 60px rgba(0,0,0,.6);
}
.lightbox__cap {
  color: #EDE7DC; font-family: var(--data); font-size: 1rem;
  margin: 1rem 0 0; text-align: center; max-width: 60ch;
}
.lightbox__count {
  color: #9A9189; font-family: var(--data); font-size: .85rem;
  letter-spacing: .14em; text-transform: uppercase; margin: .35rem 0 0;
}
.lightbox__btn {
  position: absolute; border: 0; cursor: pointer;
  background: rgba(250,179,55,.14); color: var(--honey);
  width: 52px; height: 52px; border-radius: 50%;
  font-size: 1.9rem; line-height: 1; display: grid; place-items: center;
}
.lightbox__btn:hover { background: var(--honey); color: var(--charcoal); }
.lightbox__btn--close { top: 1rem; right: 1rem; font-size: 1.5rem; }
.lightbox__btn--prev { left: clamp(.5rem, 2vw, 2rem); top: 50%; transform: translateY(-50%); }
.lightbox__btn--next { right: clamp(.5rem, 2vw, 2rem); top: 50%; transform: translateY(-50%); }
.lightbox__open { background: none; border: 0; }
body.lb-lock { overflow: hidden; }
body.lb-lock .masthead, body.lb-lock .utility { z-index: 1; }

@media (max-width: 620px) {
  .lightbox__img { max-height: 66vh; }
  .lightbox__btn { width: 44px; height: 44px; }
  .lightbox__btn--prev { left: .25rem; }
  .lightbox__btn--next { right: .25rem; }
}
@media print { .lightbox { display: none !important; } }

/* Horizontal pay block ----------------------------------------------------- */
.paybar {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: clamp(1.25rem, 3vw, 2.25rem);
  background: var(--honey); color: var(--charcoal);
  padding: clamp(1.25rem, 3vw, 2rem);
  border-radius: var(--radius);
}
.paybar__qr {
  flex: none; width: 148px; height: 148px;
  background: var(--paper); padding: 8px; border-radius: var(--radius);
}
.paybar__body { flex: 1 1 320px; min-width: 0; }
.paybar__body h3 { margin: 0 0 .3em; }
.paybar__body p { margin: 0 0 .4em; }
.paybar__body p:last-child { margin-bottom: 0; }
.paybar__actions {
  flex: 0 0 auto; display: flex; flex-direction: column; gap: .75rem;
}
.paybar__actions .btn { white-space: nowrap; }
.paybar .note { font-size: .95rem; }
/* keep link colour inside prose, but never repaint the buttons */
.paybar__body a { color: var(--charcoal); }
.paybar .btn--dark { background: var(--charcoal); color: var(--honey); border-color: var(--charcoal); }
.paybar .btn--dark:hover { background: var(--charcoal-2); color: var(--honey); }
.paybar .btn--ghost { border-color: var(--charcoal); color: var(--charcoal); background: transparent; }
.paybar .btn--ghost:hover { background: var(--charcoal); color: var(--honey); }

@media (max-width: 820px) {
  .paybar__actions { flex-direction: row; flex-wrap: wrap; width: 100%; }
}
@media (max-width: 560px) {
  .paybar { justify-content: center; text-align: center; }
  .paybar__actions { justify-content: center; }
}

/* PayPal trust strip inside the pay bar ------------------------------------ */
.paybar__paypal {
  display: flex; flex-direction: column; align-items: center; gap: .3rem;
  margin: .25rem 0 0; font-size: .78rem; color: var(--charcoal);
  opacity: .85; text-align: center;
}
.paybar__paypal img { display: block; }
