/* =========================================================
   London City Brass: site CSS (Total CMS 3)
   File: public/assets/css/lcb-site.css, loaded by layouts/default.twig.

   Moved from RapidWeaver Project Settings › Code on 12 Nov 2026.
   Foundation 6 is gone, so section 0 now does what Site Styles
   and the theme used to do: colours, fonts, base type, buttons.

   Rules of the house
   - Colours live once, in section 0 (:root). Everything else
     uses var(--primary) etc., so the band template recolours
     in one place.
   - Breakpoints: 40em = 640px (phone/tablet), 64em = 1024px (desktop).
   - Mobile-first: base rules first, media queries last.
   - Square corners. Pills only where a design says so.

   Contents
    0. Tokens and base (was Site Styles + Foundation)
    1. Background bands
    2. Spacing and widths
    3. Header: top bar, phone title bar, dropdown, strap
    4. Buttons
    5. Footer (skyline sunrise + slim bar)
    6. Page headline; 6b–6k Home sections
    7. Jump tabs
    8. Videos feed
    9. Year / section heads
   10. Gallery grid
   11. Image protection
   12. Back to top
   13. Home: shared left edge
   14. Gallery lightbox
   15. What's on page, plain pages
   ========================================================= */

/* ---------- 0. Tokens and base ----------
   Values copied from the RapidWeaver Site Styles export
   (files/stacks_page_page0.css, 11 Nov 2026). */
:root {
  --primary: #b13262; /* raspberry: buttons, strap, brand fields */
  --primary-dark: #931444; /* raspberry hover (Site Styles' calculated shade) */
  --primary-contrast: #ffffff;
  --secondary: #c8a04e; /* brass */
  --secondary-dark: #aa8230;
  --secondary-contrast: #1f2630;
  --white: #ffffff;
  --light-gray: #f4efe8; /* stone */
  --medium-gray: #c9c1b6; /* warm grey */
  --dark-gray: #2f4249; /* slate */
  --black: #1f2630; /* bandstand black */
  --brass-light: #efe2c2; /* brass tint bands */

  --text-color: #1f2630;
  --header-color: #1f2630;
  --subheader-color: #2f4249;
  --link-color: #8c1f4b; /* raspberry-deep, 7.6:1 on stone */
  --link-color-hover: #8e2850;

  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-heading: "Young Serif", Georgia, serif;
  --site-width: 75rem; /* 1200px */
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--light-gray);
  color: var(--text-color);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
::selection {
  background: var(--primary);
  color: var(--primary-contrast);
}
img,
video {
  max-width: 100%;
  height: auto;
}
figure {
  margin: 0;
}
p {
  margin: 0 0 1rem;
}
ul,
ol {
  margin: 0 0 1rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 0.5rem;
  font-family: var(--font-heading);
  font-weight: 400;
  font-synthesis: none; /* Young Serif has one weight: never fake bold */
  line-height: 1.2;
  color: var(--header-color);
}
h1 {
  font-size: 1.5rem;
}
h2 {
  font-size: 1.25rem;
}
h3 {
  font-size: 1.1875rem;
}
h4 {
  font-size: 1.125rem;
}
h5 {
  font-size: 1.0625rem;
}
h6 {
  font-size: 1rem;
}
@media (min-width: 40em) {
  h1 {
    font-size: 3rem;
  }
  h2 {
    font-size: 2.5rem;
  }
  h3 {
    font-size: 1.9375rem;
  }
  h4 {
    font-size: 1.5625rem;
  }
  h5 {
    font-size: 1.25rem;
  }
}
.font-heading {
  font-family: var(--font-heading);
  font-weight: 400;
}
.font-body {
  font-family: var(--font-body);
}

/* Links are underlined site-wide (WCAG 1.4.1); buttons and nav drop it */
a {
  color: var(--link-color);
  text-decoration: underline;
  text-underline-offset: 0.12em;
}
a:hover {
  color: var(--link-color-hover);
  text-decoration: none;
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--secondary);
  outline-offset: 2px;
}

/* "alt": text and links on dark bands (was Site Styles' Alt colours) */
.alt {
  --text-color: var(--light-gray);
  --header-color: var(--white);
  --subheader-color: var(--light-gray);
  --link-color: var(--secondary);
  --link-color-hover: var(--white);
  color: var(--text-color);
}

/* Skip link: hidden until a keyboard user tabs to it */
.skip-link {
  position: absolute;
  left: 0.5rem;
  top: -4rem;
  z-index: 100;
  padding: 0.6rem 0.9rem;
  background: var(--black);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus {
  top: 0.5rem;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- 1. Background bands ----------
   Put on any wrapper as a class.   On dark bands add "alt" too (switches text and links to the
   Alt colours), e.g. "bg-slate alt" or "bg-black alt pad-y". */
.bg-stone {
  background: var(--light-gray);
} /* stone  #F4EFE8 */
.bg-slate {
  background: var(--dark-gray);
} /* slate  #2F4249 */
.bg-black {
  background: var(--black);
} /* bandstand black #1F2630 */

/* ---------- 2. Spacing and widths ---------- */
.pad-y {
  padding-top: 3rem;
  padding-bottom: 3rem;
} /* whole band, not per cell */
.width-md {
  max-width: 64rem;
  margin-inline: auto;
} /* about 1024px: focused pages */
.site-width {
  max-width: var(--site-width);
  margin-inline: auto;
  padding-inline: 0.625rem;
} /* was Foundation's grid-container */
@media (min-width: 40em) {
  .site-width {
    padding-inline: 0.9375rem;
  }
}
@media (max-width: 64.9375em) {
  .width-md {
    padding-inline: 1rem;
  }
} /* keep content off the screen edge */
.measure {
  max-width: 40rem;
  margin-inline: auto;
} /* about 65 characters: paragraphs */

/* ---------- 2b. Gaps between home sections ---------- */
.home-section + .home-section {
  margin-top: 0;
}
.section-gap {
  margin-top: 1.75rem;
}
@media (min-width: 40em) {
  .section-gap {
    margin-top: 2.5rem;
  }
}

/* ---------- 3. Header (tabloid) ----------
   Markup: builder/partials/header.twig. Phone shows .title-bar and a
   black panel menu (opened by lcb.js); 640px+ shows .top-bar only. */

.site-header {
  background: var(--light-gray);
}

/* 3a. Desktop top bar: content lines up with the 64rem page width,
       the 6px rule runs full width */
.top-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding: 1.25rem max(1rem, calc((100% - 64rem) / 2)) 0.75rem;
  border-bottom: 6px solid var(--black);
}
.top-logo {
  display: block;
  width: 200px;
  height: auto;
}
/* "Est. 2019": small caps beside the wordmark (desktop) and under the name (phone) */
.top-brand {
  display: flex;
  align-items: flex-end;
  gap: 0.2rem;
  text-decoration: none;
}
.top-brand .est {
  font: 700 0.6875rem/1 var(--font-body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dark-gray);
  white-space: nowrap;
  padding-bottom: 3px;
}
.tb-est {
  display: block;
  margin-top: 0.3rem;
  font: 600 0.625rem/1 var(--font-body);
  letter-spacing: 0.14em;
  color: var(--secondary);
}

.menu {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}
.menu li {
  position: relative;
}
.menu a {
  display: block;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.7rem 0.75rem;
  line-height: 1;
  color: var(--black);
  background: transparent;
  text-decoration: none;
}
.menu a:hover {
  color: var(--primary-dark);
}
.menu > .is-active > a {
  background: var(--black);
  color: var(--white);
}

/* Dropdown (About › Gallery): CSS only, opens on hover and keyboard focus */
.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 20;
  min-width: 12rem;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--white);
  border: 4px solid var(--black);
}
.menu li:hover > .submenu,
.menu li:focus-within > .submenu {
  display: block;
}
.submenu a {
  padding: 0.7rem 0.9rem;
}
.submenu a:hover,
.submenu .is-active > a {
  background: var(--black);
  color: var(--white);
}

/* "What's on": square raspberry block, caps */
.top-bar-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}
.whats-on {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0;
}

/* 3b. Phone title bar: skyline stands on the strap, name beside it,
       MENU + burger right */
.title-bar {
  display: none;
  justify-content: space-between;
  align-items: flex-end;
  padding: 0.6rem 1rem 0;
  background: var(--black);
}
.tb-brand {
  display: flex;
  align-items: flex-end;
  gap: 0.6rem;
  color: var(--white);
  text-decoration: none;
}
.tb-brand:hover {
  color: var(--white);
}
.tb-brand img {
  display: block;
  width: 7rem;
  height: auto;
  margin-bottom: -1px;
}
.tb-brand span {
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 1.0625rem;
  line-height: 1.05;
  padding-bottom: 0.55rem;
}
.menu-icon {
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
  margin: 0 0 0.6rem;
  padding: 0 0.25rem;
  background: none;
  border: 0;
  color: var(--white);
  cursor: pointer;
  font: 700 0.8125rem/1 var(--font-body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.burger,
.burger::before,
.burger::after {
  display: block;
  width: 1.4rem;
  height: 3px;
  background: currentColor;
}
.burger {
  position: relative;
}
.burger::before,
.burger::after {
  content: "";
  position: absolute;
  left: 0;
}
.burger::before {
  top: -7px;
}
.burger::after {
  top: 7px;
}
.menu-icon[aria-expanded="true"] .burger {
  background: transparent;
}
.menu-icon[aria-expanded="true"] .burger::before {
  top: 0;
  transform: rotate(45deg);
}
.menu-icon[aria-expanded="true"] .burger::after {
  top: 0;
  transform: rotate(-45deg);
}

/* 3c. Phone only: the open menu is a black panel */
@media (max-width: 39.9375em) {
  .title-bar {
    display: flex;
  }
  .top-bar {
    display: none;
    background: var(--black);
    padding: 0 1rem 1.5rem;
    border-bottom: 0;
  }
  .top-bar.is-open {
    display: block;
  }
  .no-js .top-bar {
    display: block;
  } /* no script: menu simply shows */
  .top-bar-left {
    display: none;
  }
  .menu {
    display: block;
  }
  .menu a {
    color: var(--white);
    font-size: 1.25rem;
    padding: 0.9rem 0;
    border-bottom: 2px solid var(--dark-gray);
  }
  .menu a:hover {
    color: var(--secondary);
  }
  .menu > .is-active > a,
  .submenu .is-active > a {
    background: var(--white);
    color: var(--black);
    padding-inline: 0.6rem;
  }
  .submenu {
    display: block;
    position: static;
    min-width: 0;
    background: transparent;
    border: 0;
    padding-left: 1rem;
  }
  .top-bar-right {
    display: block;
  }
  .whats-on {
    display: block;
    margin-top: 1.25rem;
    font-size: 1.125rem;
  }
}

/* 3d. Raspberry strap under the header rule (next gig from the CMS) */
.strap {
  background: var(--primary);
  color: var(--white);
}
.strap-in {
  max-width: 64rem;
  margin: 0 auto;
  padding: 0.6rem 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.75rem;
  font-weight: 600;
  font-size: 0.9375rem;
}
.strap-tag {
  background: var(--white);
  color: var(--primary-dark);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 2px 8px;
}
.strap-link {
  color: var(--white);
  text-decoration: none;
}
.strap-link:hover {
  color: var(--white);
  text-decoration: underline;
}

/* ---------- 4. Buttons ----------
   Square raspberry blocks (Global Radius 0). Links are underlined
   site-wide; buttons are obviously buttons, so they drop it. */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.85rem 1.1rem;
  background: var(--primary);
  color: var(--primary-contrast);
  border: 0;
  border-radius: 0;
  font: 700 1rem/1 var(--font-body);
  text-decoration: none;
  cursor: pointer;
}
.button:hover,
.button:focus-visible {
  background: var(--primary-dark);
  color: var(--primary-contrast);
}

/* ---------- 5. Footer ----------
   Big skyline rising over the black bar as you scroll, then one   slim line. --rise runs 0 to 1 (set by the script in the skyline
   stack) and defaults to 1, so without JS the skyline is in place. */
.footer-skyline {
  padding: 3.5rem 1rem 0;
  line-height: 0;
  overflow: hidden; /* the black bar is the horizon: hide what's below it */
}
.footer-skyline img {
  display: block;
  width: 100%;
  max-width: 600px;
  height: auto;
  margin: 0 auto -1px; /* hides any hairline seam at the horizon */
  transform: translateY(calc((1 - var(--rise, 1)) * 100%));
} /* Slim black bar: copyright left, icons + Privacy Policy right */
.footer-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin: 0;
  padding: 1.75rem 0 2.25rem;
  font-size: 0.875rem;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
}
.footer-icon {
  text-decoration: none;
  display: inline-flex;
}
.footer-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  fill: currentColor;
}
/* "Powered by Total CMS": small boxed credit, last in the links row.
   Uses the bar's link colour (brass), flips to white on hover. */
.tcms-badge {
  display: inline-flex;
  align-items: center;
  min-height: 1.75rem; /* 28px: clears WCAG 2.2's 24px target size */
  padding: 0.2rem 0.6rem;
  border: 1px solid currentColor;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  opacity: 0.8;
}
.tcms-badge:hover,
.tcms-badge:focus-visible {
  opacity: 1;
  text-decoration: none;
}

/* ---------- 6. Page headline (matches the artboard) ----------
   <div class="tab-wrap"><div class="tab-text">     <h1 class="tab-head font-heading"><span>Title</span></h1>     <p class="deck">One line.</p></div>   <img class="tab-landmark" …></div>   Flex row: landmark stands on the thick rule at the right and   wraps under the text on a phone. */
.tab-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0 1rem;
  border-bottom: 6px solid var(--black);
  padding-top: 2.5rem; /* room so the tilted box isn't clipped */
}
.tab-text {
  flex: 1 1 20rem;
  min-width: 0;
}
.tab-head {
  margin: 0;
  line-height: 1;
  color: var(--white);
  font-family: "Young Serif", Georgia, serif;
  font-weight: 400;
  font-synthesis: none;
  text-transform: uppercase;
  font-size: clamp(2.4rem, 8.4vw, 6.75rem);
  transform: rotate(-2deg);
  transform-origin: left bottom;
}
.tab-head span {
  display: inline-block;
  background: var(--primary);
  padding: 0.14em 0.16em 0.1em;
}
.deck {
  display: inline-block;
  max-width: 40rem;
  margin: 0.6rem 0 1rem;
  padding: 0.5rem 0.8rem;
  background: var(--black);
  color: var(--white);
  font-weight: 600;
  transform: rotate(-2deg);
  transform-origin: left bottom;
} /* Size by HEIGHT only. A max-width or fixed width letterboxes the   cropped SVG and brings the base slab back. */
.tab-landmark {
  display: block;
  flex: none;
  height: clamp(56px, 9vw, 120px);
  width: auto;
  margin: 0 0 0 auto; /* was 0 0 -1px auto */
}

/* ---------- 6b. Home hero (tabloid) ---------- */
.hero {
  position: relative;
  border-bottom: 6px solid var(--black);
} /* Headline sits over the photo and drifts DOWN as you scroll (--py runs 0 to 1, set on .hero) */
.hero-head {
  position: relative;
  z-index: 2;
  padding: 1.5rem 1rem 0;
  max-width: 64rem;
  margin: 0 auto;
  margin-bottom: calc(-1 * clamp(90px, 10vw, 150px));
  transform: translateY(calc(var(--py, 0) * -260px)); /* positive = down */
  will-change: transform;
}
.hero-title {
  margin: 0;
  line-height: 1;
  font-family: "Young Serif", Georgia, serif;
  font-weight: 400;
  font-synthesis: none;
  text-transform: uppercase;
  color: var(--white);
  font-size: clamp(2.6rem, 9vw, 7rem);
}
.hero-title span {
  display: inline-block;
  background: var(--primary);
  padding: 0.12em 0.18em 0.08em;
  margin-bottom: 0.12em;
  transform: rotate(-2deg);
  transform-origin: left bottom;
}
.hero-deck {
  display: inline-block;
  max-width: 40rem;
  margin: 1rem 0 0;
  padding: 0.6rem 0.9rem;
  background: var(--black);
  color: var(--white);
  font-weight: 600;
  transform: rotate(-2deg);
  transform-origin: left bottom;
} /* Photo is taller than its box and drifts UP behind the headline; overflow hides the spare height */
.hero-photo {
  position: relative;
  margin-top: 0;
}
.hero-photo img {
  display: block;
  width: 100%;
  height: clamp(260px, 56vw, 560px);
  object-fit: cover;
}
.hero-caption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem 1.5rem;
  margin: 0;
  padding: 0.9rem 1.25rem;
  background: var(--primary);
  color: var(--white);
  font-size: 0.9375rem;
}
.hero-caption a {
  color: var(--white);
  font-weight: 700;
  text-underline-offset: 3px;
  white-space: nowrap;
}
.hero-caption a::after {
  content: " \2192"; /* → */
}
.hero-tag {
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 800;
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-right: 0.75rem;
  vertical-align: -0.1em;
}
.hero-badge {
  position: absolute;
  top: calc(6% - 40px);
  right: 4%;
  width: clamp(96px, 14vw, 150px);
  aspect-ratio: 1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--secondary);
  color: var(--black);
  font-family: "Young Serif", Georgia, serif;
  font-size: clamp(0.8rem, 1.6vw, 1rem);
  line-height: 1.2;
  text-transform: uppercase;
  padding: 1rem;
  transform: rotate(8deg);
}
@media (prefers-reduced-motion: reduce) {
  .hero-head,
  .hero-photo img {
    transform: none;
  }
}
/* Up to 768px: keep the deck clear of the French Open badge */
@media (max-width: 47.9375em) {
  .hero-deck {
    max-width: 58%;
    font-size: 0.9375rem;
  }
  .hero-badge {
    width: 92px;
    top: 10px;
    right: 10px;
    font-size: 0.7rem;
    padding: 0.6rem;
    transform: rotate(-8deg);
  }
}

/* ---------- 6c. Home: What's on (tabloid) ---------- */
.whats-on h2 {
  margin: 0;
}
.sec-title {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0 1rem;
  border-bottom: 6px solid var(--black);
}
.sec-title h2 {
  display: inline-block;
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: "Young Serif", Georgia, serif;
  font-weight: 400;
  font-synthesis: none;
  text-transform: uppercase;
  font-size: clamp(1.75rem, 4.6vw, 3rem);
  line-height: 1;
  padding: 0.2em 0.45em 0.14em;
}
.sec-landmark {
  display: block;
  flex: none;
  height: clamp(56px, 9vw, 110px);
  width: auto;
  margin: 0 0 0 auto;
}
.gigs {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
}
.gig {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 0;
  border-bottom: 2px solid var(--black);
}
.gig:first-child {
  border-top: 2px solid var(--black);
}
.gig-date {
  flex: none;
  width: 4.25rem;
  padding: 0.5rem 0;
  background: var(--primary);
  color: var(--white);
  text-align: center;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.gig-day {
  font-family: "Young Serif", Georgia, serif;
  font-size: 2rem;
}
.gig-month {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.gig-body {
  min-width: 0;
}
.gig-tag {
  display: inline-block;
  margin: 0 0 0.3rem;
  padding: 0.2em 0.55em;
  background: var(--secondary);
  color: var(--black);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.gig-title {
  margin: 0;
  font-family: "Young Serif", Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.375rem, 3vw, 1.75rem);
  line-height: 1.15;
}
.gig-meta {
  margin: 0.25rem 0 0;
  font-size: 0.9375rem;
}
.more {
  margin: 1.25rem 0 0;
  font-weight: 700;
}

/* ---------- 6d. Home: Be a Friend (raspberry band) ---------- */
body .bg-raspberry {
  background: var(--primary);
}
.friend-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  max-width: 64rem;
  margin: 0 auto;
  padding: 0 1rem;
}
.friend-tag {
  display: inline-block;
  margin: 0 0 0.75rem;
  padding: 4px 10px;
  background: var(--white);
  color: var(--primary-dark);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
body .friend-head {
  margin: 0;
  color: var(--white);
  font-family: "Young Serif", Georgia, serif;
  font-weight: 400;
  font-synthesis: none;
  text-transform: uppercase;
  font-size: clamp(2.6rem, 7vw, 5rem);
  line-height: 1;
}
.friend-pitch {
  margin: 0.75rem 0 0;
  max-width: 32rem;
  color: var(--white);
  font-size: 1.125rem;
  font-weight: 600;
}
.friend-btn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.9rem 1.5rem;
  background: var(--black);
  color: var(--white);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
}
.friend-btn:hover,
.friend-btn:focus-visible {
  background: var(--white);
  color: var(--black);
}

/* ---------- 6e. Home: Google review strip ---------- */
.review-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  max-width: 64rem;
  margin: 0 auto;
  padding: 0 1rem;
}
.review-wrap > div {
  flex: 1 1 18rem;
  min-width: 0;
} /* text column shrinks, then wraps */
body .review-head {
  margin: 0;
  color: var(--black);
  font-family: "Young Serif", Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.1;
}
.review-sub {
  margin: 0.4rem 0 0;
  font-size: 0.9375rem;
}
.review-btn {
  flex: none; /* the button never shrinks */
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.8rem 1.25rem;
  background: var(--secondary);
  color: var(--black);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
}
.review-btn:hover,
.review-btn:focus-visible {
  background: var(--black);
  color: var(--white);
}

/* ---------- 6f. Home: Hear us first (brass band) ---------- */
body .bg-brass {
  background: var(--secondary);
}
.hear-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
  max-width: 64rem;
  margin: 0 auto;
  padding: 0 1rem;
}
.hear-media {
  flex: 1 1 22rem;
  min-width: 0;
}
.hear-text {
  flex: 1 1 16rem;
  min-width: 0;
}
.hear-poster {
  position: relative;
  display: block;
  overflow: hidden;
  border: 4px solid var(--black);
  text-decoration: none;
  line-height: 0;
}
.hear-poster img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center 40%;
}
.hear-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 4.5rem;
  height: 4.5rem;
  background: var(--primary);
}
.hear-play::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 55%;
  transform: translate(-50%, -50%);
  border-left: 1.25rem solid var(--white);
  border-top: 0.8rem solid transparent;
  border-bottom: 0.8rem solid transparent;
}
body .hear-head {
  margin: 0;
  color: var(--black);
  font-family: "Young Serif", Georgia, serif;
  font-weight: 400;
  font-synthesis: none;
  text-transform: uppercase;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1;
}
.hear-pitch {
  margin: 0.75rem 0 0;
  font-size: 1.125rem;
  font-weight: 600;
}
.hear-btn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 1rem;
  padding: 0.8rem 1.25rem;
  background: var(--black);
  color: var(--white);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
}
.hear-btn:hover,
.hear-btn:focus-visible {
  background: var(--primary);
  color: var(--white);
}

/* ---------- 6g. Home: The Band Room (lead story) ---------- */
.room-allnews {
  display: block;
  text-align: right;
}
.room-wrap {
  display: grid;
  gap: 2rem;
  margin-top: 1rem;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 64em) {
  .room-wrap {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  }
}
.room-photo {
  aspect-ratio: 4 / 3;
  background: #e6dccb;
  color: var(--dark-gray);
  display: flex;
  align-items: flex-end;
  padding: 0.75rem;
  font-size: 0.8125rem;
  border: 4px solid var(--black);
}
.room-title {
  margin: 1rem 0 0;
  color: var(--black);
  font-family: "Young Serif", Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.1;
}
.room-deck {
  margin: 0.5rem 0 0;
  font-size: 1.0625rem;
}
.room-tag {
  display: inline-block;
  margin: 0 0 0.75rem;
  padding: 0.2em 0.55em;
  background: var(--secondary);
  color: var(--black);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.room-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: room;
}
.room-list li {
  counter-increment: room;
  position: relative;
  padding: 0.85rem 0 0.85rem 2.25rem;
  border-top: 2px solid var(--black);
  font-family: "Young Serif", Georgia, serif;
  font-size: 1.25rem;
  line-height: 1.25;
}
.room-list li:last-child {
  border-bottom: 2px solid var(--black);
}
.room-list li::before {
  content: counter(room);
  position: absolute;
  left: 0;
  top: 0.7rem;
  font-family: "Young Serif", Georgia, serif;
  font-size: 1.75rem;
  color: var(--primary);
}
.room-list a {
  color: var(--black);
  text-decoration: none;
}
.room-list a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* ---------- 6h. Home: On the stands this week (slate panel) ---------- */
.stands {
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: var(--dark-gray);
  color: var(--white);
}
body .stands-head {
  margin: 0;
  color: var(--white);
  font-family: "Young Serif", Georgia, serif;
  font-weight: 400;
  font-synthesis: none;
  text-transform: uppercase;
  font-size: clamp(1.25rem, 2.4vw, 1.625rem);
  line-height: 1.1;
}
body .stands-list {
  margin: 0.75rem 0 0;
  padding-left: 1.25rem;
  font-weight: 600;
  color: var(--white);
}
body .stands-list li {
  margin: 0.25rem 0;
  color: var(--white);
}
body .stands-note {
  margin: 0.9rem 0 0;
  font-size: 0.875rem;
  color: var(--light-gray);
}

/* ---------- 6i. Home: Wednesday night (slate band) ---------- */
.wed-wrap {
  max-width: 64rem;
  margin: 0 auto;
  padding: 0 1rem;
  color: var(--white);
}
.wed-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.5rem 1.5rem;
}
.wed-landmark {
  display: block;
  height: clamp(60px, 9vw, 96px);
  width: auto;
  flex: none;
}
body .wed-head h2 {
  margin: 0;
  color: var(--white);
  font-family: "Young Serif", Georgia, serif;
  font-weight: 400;
  font-synthesis: none;
  text-transform: uppercase;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1;
}
.wed-times {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 1rem 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 1rem;
  border-top: 2px solid var(--dark-gray);
}
@media (min-width: 40em) {
  .wed-times {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.wed-time {
  display: block;
  font-family: "Young Serif", Georgia, serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1;
  color: var(--secondary);
}
.wed-label {
  display: block;
  margin-top: 0.3rem;
  font-weight: 600;
  color: var(--white);
}
.wed-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  margin-top: 1.5rem;
  padding-bottom: 0.5rem;
}
.wed-banner {
  margin: 0.5rem 0.75rem 0.75rem;
  padding: 0.5rem 0.8rem;
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
  transform: rotate(-2deg);
}
.wed-link {
  color: var(--white);
  font-weight: 700;
}

/* ---------- 6j. Home: Follow the band (brass-light band) ---------- */
body .bg-brass-light {
  background: var(--brass-light);
}
.follow-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  max-width: 64rem;
  margin: 0 auto;
  padding: 0 1rem;
}
.follow-wrap > div:first-child {
  flex: 1 1 18rem;
  min-width: 0;
}
body .follow-head {
  margin: 0;
  color: var(--black);
  font-family: "Young Serif", Georgia, serif;
  font-weight: 400;
  font-synthesis: none;
  text-transform: uppercase;
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  line-height: 1;
}
.follow-sub {
  margin: 0.6rem 0 0;
  font-size: 1.0625rem;
  font-weight: 600;
}
.follow-links {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}
.follow-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: "Young Serif", Georgia, serif;
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  color: var(--black);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.follow-links a:hover,
.follow-links a:focus-visible {
  color: var(--primary-dark);
}

/* ---------- 6k. Home: Play brass? line ---------- */
.play-line {
  max-width: 64rem;
  margin: 0 auto;
  padding: 0 1rem;
  font-size: 1rem;
  font-weight: 600;
}
.play-line a {
  color: var(--primary-dark);
  font-weight: 700;
}

/* ---------- 7. Jump tabs ---------- */
.jump {
  display: flex;
  flex-wrap: wrap;
  margin: 0 0 1.5rem;
}
.jump a {
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--black);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  margin: 0 6px 6px 0;
}
.jump a:hover,
.jump a:focus-visible {
  background: var(--black);
  color: var(--white);
}

/* ---------- 8. Videos feed (/videos-feed/) ----------
   videos.css loads later, hence the "body" prefix. */ /* Recolour via the feed's own variables */
body .lcbv,
body .lcbv-box {
  --lcbv-green: var(--primary, #b13262); /* badges, arrows, tabs: raspberry */
  --lcbv-hover: var(--primary-dark, #8c1f4b); /* hover: darker raspberry */
  --lcbv-frame: #fff; /* thumbnail frame */
}
body .lcbv-caption a {
  color: var(--secondary, #c8a04e);
} /* lightbox links on near-black */ /* Space between sections */
body .lcbv-section {
  margin: 0 0 2.5rem;
  scroll-margin-top: 1rem;
}
@media (min-width: 40em) {
  body .lcbv-section {
    margin-bottom: 3rem;
  }
}
@media (min-width: 64em) {
  body .lcbv-section {
    margin-bottom: 4rem;
  }
} /* Section head: black box on a 4px rule (the heading is an h4) */
body .lcbv .lcbv-head {
  border-bottom: 4px solid var(--black);
}
body .lcbv .lcbv-head h4 {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: "Young Serif", Georgia, serif;
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(1.125rem, 2.2vw, 1.5rem);
  line-height: 1.1;
  padding: 0.3em 0.65em 0.22em;
} /* Cards: flat, square, thick black frame, no shadow */
body .lcbv-card {
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
}
body .lcbv-thumb,
body .lcbv-frame {
  border: 4px solid var(--black);
  border-radius: 0;
  box-shadow: none;
}
body .lcbv-card .lcbv-caption {
  font-family: "Young Serif", Georgia, serif;
  font-weight: 400;
}

/* ---------- 9. Year / section heads (Gallery, Watch, Newsletter) ----------
   Default head is black. Optional classes on a Container:   tone-raspberry (raspberry head) or tone-brass (brass head + brass-tint band). */
body .sec-head {
  border-bottom: 4px solid var(--black);
  margin: 0 0 1rem;
  scroll-margin-top: 1rem;
}
body .sec-head h2 {
  display: inline-block;
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: "Young Serif", Georgia, serif;
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(1.125rem, 2.2vw, 1.5rem);
  line-height: 1.1;
  padding: 0.3em 0.65em 0.22em;
}
body .year {
  margin: 0 0 3rem;
  scroll-margin-top: 1rem;
}
@media (min-width: 40em) {
  body .year {
    margin-bottom: 4rem;
  }
}
@media (min-width: 64em) {
  body .year {
    margin-bottom: 5rem;
  }
} /* Optional highlights */
body .year.tone-raspberry .sec-head h2 {
  background: var(--primary);
}
body .year.tone-brass {
  background: var(--brass-light);
  padding: 1.25rem;
} /* brass tint, visibly different from the stone page */
body .year.tone-brass .sec-head h2 {
  background: var(--secondary);
  color: var(--black);
}
@media (min-width: 40em) {
  body .year.tone-brass {
    padding: 1.5rem;
  }
}
@media (min-width: 64em) {
  body .year.tone-brass {
    padding: 2rem;
  }
}

/* ---------- 9b. Video section heads (Watch page) ----------
   Tone by playlist id, matching config.php. */
body .lcbv-section#videos_singalongs .lcbv-head h4 {
  background: var(--primary);
  color: var(--white);
}
body .lcbv-section#videos_christmas {
  background: var(--brass-light);
  padding: 1.25rem;
}
body .lcbv-section#videos_christmas .lcbv-head h4 {
  background: var(--secondary);
  color: var(--black);
}
@media (min-width: 40em) {
  body .lcbv-section#videos_christmas {
    padding: 1.5rem;
  }
}
@media (min-width: 64em) {
  body .lcbv-section#videos_christmas {
    padding: 2rem;
  }
}

/* ---------- 9c. Play badge per playlist (matches each thumbnail's title block) ----------
   Own variables (--pl-*) so the feed's "Show all" button and links are not recoloured. */
body .lcbv-badge {
  background: var(--pl-btn, var(--primary));
  color: var(--pl-tri, #fff);
  box-shadow: 0 0 0 3px var(--pl-ring, #fff);
}
body .lcbv-play:hover .lcbv-badge,
body .lcbv-play:focus-visible .lcbv-badge { background: var(--pl-hover, var(--primary-dark)); }
body #videos_christmas  { --pl-btn: #1F2630; --pl-hover: #2F4249; --pl-tri: #fff;    --pl-ring: #fff; }
body #videos_singalongs { --pl-btn: #fff;    --pl-hover: #F4EFE8; --pl-tri: #B13262; --pl-ring: #1F2630; }
body #videos_proper     { --pl-btn: #B13262; --pl-hover: #8C1F4B; --pl-tri: #fff;    --pl-ring: #fff; }
body #videos_behind     { --pl-btn: #B13262; --pl-hover: #8C1F4B; --pl-tri: #fff;    --pl-ring: #fff; }
body #videos_world      { --pl-btn: #C8A04E; --pl-hover: #EFE2C2; --pl-tri: #1F2630; --pl-ring: #1F2630; }
body #videos_lump       { --pl-btn: #F4EFE8; --pl-hover: #fff;    --pl-tri: #2F4249; --pl-ring: #1F2630; }

/* "Show all N …" button: one readable style for every section */
body .lcbv .lcbv-expand {
  margin-top: 1rem; padding: .55rem 1.2rem; min-height: 44px;
  border: 2px solid var(--black); border-radius: 999px;
  background: transparent; color: var(--black);
  font-weight: 700; font-size: .8125rem; letter-spacing: .06em; text-transform: uppercase;
}
body .lcbv .lcbv-expand:hover,
body .lcbv .lcbv-expand:focus-visible { background: var(--black); color: var(--white); }

/* Playlist jump links: six even chips with each playlist's colour */
.playlist-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .5rem;
  margin: 1.75rem 0 0;
}
@media (min-width: 40em) { .playlist-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem .75rem; } }
.playlist-nav a {
  display: flex; align-items: center; gap: .6rem;
  min-height: 44px; padding: .5rem .75rem;
  border: 2px solid var(--black); background: var(--white); color: var(--black);
  font-weight: 700; font-size: .8125rem; letter-spacing: .05em; text-transform: uppercase;
  text-decoration: none; line-height: 1.2;
}
.playlist-nav a:hover, .playlist-nav a:focus-visible { background: var(--black); color: var(--white); }
.pl-swatch { flex: none; width: 1rem; height: 1rem; border: 2px solid var(--black); }
.playlist-nav a:hover .pl-swatch, .playlist-nav a:focus-visible .pl-swatch { border-color: var(--white); }
.pl-christmas  { background: #C8A04E; }
.pl-singalongs { background: #B13262; }
.pl-proper     { background: #1F2630; }
.pl-world      { background: #4F5A24; }
.pl-lump       { background: #2F4249; }
.pl-behind     { background: #D6DEEE; }

/* ---------- 9d. Watch: featured march ---------- */
.feature-march {
  display: grid;
  gap: 1.25rem 2rem;
  align-items: center;
  margin: 1.5rem 0 2.5rem;
  padding: 1.25rem;
  background: var(--black);
  color: var(--white);
}
@media (min-width: 48em) {
  .feature-march { grid-template-columns: 3fr 2fr; padding: 1.75rem; }
}
.feature-thumb { position: relative; display: block; line-height: 0; border: 4px solid var(--secondary); }
.feature-thumb img { display: block; width: 100%; height: auto; transition: transform 150ms ease; }
.feature-badge {
  position: absolute; left: 4%; bottom: 7%;
  width: clamp(48px, 7vw, 72px); aspect-ratio: 1; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--primary); color: var(--white);
  box-shadow: 0 0 0 3px var(--white);
  transition: transform 150ms ease, background-color 150ms ease;
}
.feature-badge svg { width: 42%; height: 42%; margin-left: 6%; }
.feature-thumb:hover .feature-badge, .feature-thumb:focus-visible .feature-badge { transform: scale(1.12); background: var(--primary-dark); }
.feature-thumb:focus-visible { outline: 3px solid var(--secondary); outline-offset: 3px; }
.feature-tag {
  display: inline-block; margin: 0 0 .75rem; padding: .3em .6em;
  background: var(--secondary); color: var(--black);
  font-weight: 700; font-size: .8125rem; letter-spacing: .1em; text-transform: uppercase;
}
.feature-march h2 {
  margin: 0; color: var(--white);
  font-family: var(--font-heading); font-weight: 400; text-transform: uppercase;
  font-size: clamp(1.75rem, 4vw, 2.75rem); line-height: 1.05;
}
.feature-credit { margin: .4rem 0 .9rem; color: var(--brass-light); font-weight: 600; }
.feature-march p { max-width: 32rem; margin: 0 0 .75rem; font-size: 1rem; line-height: 1.55; }
.feature-text :first-child { margin-top: 0; }
.feature-lead {
  margin: 0 0 .75rem !important;
  font-weight: 700;
  color: var(--white);
}
.feature-march strong { color: var(--secondary); font-weight: 700; }
.feature-march em { font-style: normal; font-weight: 700; color: var(--white); }
.feature-btn { margin: .5rem 0 0; }
@media (prefers-reduced-motion: reduce) { .feature-badge, .feature-thumb img { transition: none; } }

/* ---------- 10. Gallery grid ----------
   Our own markup now (builder/pages/gallery.twig), so no more
   !important fights with a stack. 2 phone / 4 tablet / 5 desktop. */
.lcb-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.lcb-gallery a {
  display: block;
  line-height: 0;
}
.lcb-gallery img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 4px solid var(--black);
}
.year-empty {
  margin: 0;
  font-weight: 600;
  color: var(--dark-gray);
}
@media (min-width: 40em) {
  .lcb-gallery {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
  }
}
@media (min-width: 64em) {
  .lcb-gallery {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

/* ---------- 11. Image protection (gallery and lightbox) ----------
   Deterrent only: stops casual drag-out and long-press save on phones.
   The lightbox shows a 1600px copy, never the original file. */
.lcb-gallery img,
#lcb-lb img {
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

/* ---------- 12. Back to top ----------
   Floating square button, shown by the script after 800px of scroll.   Named lcb-up on purpose: content blockers hide anything called   .to-top or .back-to-top. */
.lcb-up {
  position: fixed;
  z-index: 50;
  right: 1rem;
  bottom: max(1rem, env(safe-area-inset-bottom));
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  background: var(--black);
  color: var(--white);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}
.lcb-up[hidden] {
  display: none;
}
.lcb-up:hover,
.lcb-up:focus-visible {
  background: var(--primary);
  color: var(--white);
}
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* ---------- 13. Home: shared left edge ----------
   Every inner Container on Home is 64rem, centred, with 1rem gutters.   The section wrappers drop their own width and padding so nothing is doubled. */
.home-inner {
  max-width: 64rem;
  margin-inline: auto;
  padding-inline: 1rem;
}
.home-inner > * {
  max-width: none;
}
.friend-wrap,
.review-wrap,
.hear-wrap,
.room-wrap,
.wed-wrap,
.follow-wrap,
.play-line {
  max-width: none;
  margin: 0;
  padding: 0;
}

/* ---------- 14. Gallery lightbox (native <dialog>, built by lcb-lightbox.js) ---------- */
#lcb-lb {
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  color: var(--white);
}
#lcb-lb[open] {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}
#lcb-lb::backdrop {
  background: rgba(0, 0, 0, 0.92);
}
#lcb-lb img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(92vw, 1100px);
  max-height: 78vh;
  border: 4px solid var(--white);
  background: var(--black);
}
#lcb-lb .lb-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
#lcb-lb .lb-count {
  min-width: 4.5rem;
  text-align: center;
  font-weight: 600;
}
#lcb-lb button {
  min-width: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0 0.9rem;
  background: var(--primary);
  color: var(--white);
  border: 0;
  border-radius: 0;
  font: 700 1.5rem/1 var(--font-body);
  cursor: pointer;
}
#lcb-lb button:hover,
#lcb-lb button:focus-visible {
  background: var(--primary-dark);
}
#lcb-lb .lb-close {
  position: fixed;
  top: 0.75rem;
  right: 0.75rem;
}
html:has(#lcb-lb[open]) {
  overflow: hidden;
}

/* ---------- 15. What's on page, plain pages ---------- */
.month {
  margin: 0 0 2.5rem;
}
@media (min-width: 40em) {
  .month {
    margin-bottom: 3.5rem;
  }
}
.gigs--full {
  margin-top: 0;
}
.gigs--full .gig:first-child {
  border-top: 0;
}
.gig {
  scroll-margin-top: 1rem;
}
.gig:target .gig-title {
  background: var(--brass-light);
}
.gig-summary {
  margin: 0.5rem 0 0;
  max-width: 40rem;
}
.gig-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  margin: 0.5rem 0 0;
  font-size: 0.9375rem;
}
.gig-links span {
  color: var(--dark-gray);
}
.gigs-empty {
  margin: 1.25rem 0 0;
  font-weight: 600;
}
.page-body {
  max-width: 40rem;
  padding-top: 2rem;
  font-size: 1.0625rem;
}

/* ---------- 16. Band Room (Home teaser, index, post) ---------- */
.room-lead-link { display: block; color: var(--black); text-decoration: none; }
.room-lead-link:hover .room-title { text-decoration: underline; text-decoration-thickness: 2px; }
.room-photo-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 4px solid var(--black);
}
.room-photo--empty { align-items: center; justify-content: center; font-family: var(--font-heading); font-size: 1.5rem; text-transform: uppercase; }
.room-date { margin: 0.5rem 0 0; font-size: 0.875rem; font-weight: 600; color: var(--dark-gray); }
.stands-for { margin: 0.4rem 0 0; color: var(--secondary); font-weight: 700; font-size: 0.9375rem; }

.room-index { display: grid; gap: 2rem; margin-top: 1.5rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 64em) { .room-index { grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); } }
.room-side .stands { margin-top: 0; }
.post-list { list-style: none; margin: 0; padding: 0; }
.post-row { padding: 1.1rem 0; border-bottom: 2px solid var(--black); }
.post-row:first-child { border-top: 2px solid var(--black); }
.post-date { margin: 0 0 0.25rem; font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--primary-dark); }
.post-title { margin: 0; font-size: clamp(1.375rem, 3vw, 1.75rem); line-height: 1.15; }
.post-title a { color: var(--black); text-decoration: none; }
.post-title a:hover { text-decoration: underline; }
.post-deck { margin: 0.4rem 0 0; }
.pager { display: flex; gap: 1.5rem; align-items: center; margin-top: 1.5rem; font-weight: 700; }
.post-back { margin: 0; font-weight: 700; }
.post-body { max-width: 40rem; padding-top: 2rem; font-size: 1.0625rem; }
.post-body img { height: auto; }
.post-gallery { max-width: none; margin-top: 1.5rem; }

/* Wednesday detail lines (restored) */
.wed-detail {
  display: block;
  margin-top: .5rem;
  font-size: .95rem;
  line-height: 1.45;
  opacity: .85;
}

/* Hero map: OpenStreetMap, styled in gold, sits behind the hero photo (tablet and up) */
.hero-map {
  display: none;
}
@media (min-width: 40em) {
  .hero-map {
    display: block;
    position: absolute;
    top: calc(1.5rem + clamp(2.6rem, 9vw, 7rem) * 1.2 - min(280px, 26vw) - 60px);
    right: 0;
    width: min(560px, 50%);
    aspect-ratio: 1 / 1;
    z-index: 0;
    overflow: hidden;
    color: var(--white);
    text-decoration: none;
  }
  .hero-map-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .32;
    -webkit-mask-image: radial-gradient(ellipse at center, #000 40%, transparent 78%);
    mask-image: radial-gradient(ellipse at center, #000 40%, transparent 78%);
  }
  .hero-map-pin {
    position: absolute;
    top: calc(50% + 10px);
    left: calc(50% - 5px);
    width: 18px;
    height: 18px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: var(--primary);
    border: 3px solid var(--white);
  }
  .hero > .hero-photo {
    z-index: 1;
  }
  .hero-map:focus-visible {
    outline: 2px solid var(--black);
    outline-offset: 4px;
  }
}
.hero-credit {
  display: none;
}
@media (min-width: 40em) {
  .hero-credit {
    display: block;
    position: absolute;
    top: -1.1rem;
    right: 0;
    font-size: .62rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--secondary-contrast);
    background: var(--secondary);
    padding: .25rem .5rem;
    text-decoration: none;
    z-index: 2;
  }
}

/* Let clicks on the empty part of the headline block reach the map behind it */
@media (min-width: 40em) {
  .hero-head { pointer-events: none; }
}

/* ---------- 17. Join: Pull up a chair ----------
   Open seats come from the Open seats record; olive = open, outline = full. */
.page-join {
  --open: #56622a; /* olive: open seat, 7:1 with white */
  --open-light: #d4d9a6;
}
.join-hero-wrap {
  display: grid;
  gap: 2rem;
  align-items: center;
  padding-top: 1.5rem;
}
@media (min-width: 52em) {
  .join-hero-wrap {
    grid-template-columns: 1.15fr 1fr;
  }
}
.join-title {
  font-size: clamp(3rem, 10vw, 6.25rem);
}
.join-title span + br + span {
  margin-top: 0.08em;
}
.join-lede {
  max-width: 34rem;
  margin: 1.75rem 0 1.5rem;
  font-size: 1.125rem;
}
.join-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}
.join-textlink {
  font-weight: 700;
}
.join-photo {
  background: var(--white);
  padding: 0.6rem;
  box-shadow: 0 0.4rem 1.2rem rgb(31 38 48 / 0.15);
  transform: rotate(2deg);
}
.join-photo img {
  display: block;
  width: 100%;
}

/* Why players stay: three numbered reasons beside On the stands */
.why-wrap {
  display: grid;
  gap: 1.5rem 2rem;
  margin-top: 1.5rem;
}
@media (min-width: 52em) {
  .why-wrap {
    grid-template-columns: 3fr 1.1fr;
    align-items: start;
  }
}
.why-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
  counter-reset: why;
}
@media (min-width: 40em) {
  .why-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.why-list li {
  position: relative;
  padding-left: 2.6rem;
  counter-increment: why;
}
.why-list li::before {
  content: counter(why);
  position: absolute;
  left: 0;
  top: -0.2rem;
  font-family: var(--font-heading);
  font-size: 3rem;
  line-height: 1;
  color: var(--primary);
}
.why-head {
  font-size: 1.375rem;
  line-height: 1.1;
}
.why-list p {
  margin: 0;
  font-size: 0.9375rem;
}
.why-stands .stands {
  margin-top: 0;
}

/* Who we're looking for: the seat grid */
.seats-title {
  justify-content: space-between;
}
.seat-key {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin: 0 0 0.5rem;
  padding: 0;
  font-size: 0.875rem;
  font-weight: 600;
}
.seat-key li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.seat-swatch {
  width: 0.9rem;
  height: 0.9rem;
  border: 2px solid var(--black);
}
.seat-swatch--open {
  background: var(--open);
  border-color: var(--open);
}
.seats-intro {
  margin: 1rem 0 1.5rem;
  color: var(--dark-gray);
}
.seats-wrap {
  display: grid;
  gap: 2rem;
}
@media (min-width: 52em) {
  .seats-wrap {
    grid-template-columns: 1fr 17.5rem;
    align-items: start;
  }
}
.seat-section + .seat-section {
  margin-top: 1.5rem;
}
.seat-section-head {
  margin: 0 0 0.6rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.seat-row {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
}
.seat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 44px;
  padding: 0.5rem 0.8rem;
  border: 2px solid var(--black);
  background: var(--white);
  color: var(--black);
  font: inherit;
  text-align: left;
}
.seat-name {
  font-weight: 700;
  font-size: 0.9375rem;
  line-height: 1.2;
}
.seat-state {
  font-size: 0.75rem;
  color: var(--dark-gray);
}
.seat:not(.seat--open) {
  border-color: var(--medium-gray);
  color: var(--dark-gray);
}
.seat:not(.seat--open) .seat-name {
  font-weight: 600;
}
.seat--open {
  background: var(--open);
  border-color: var(--open);
  color: var(--white);
  cursor: pointer;
}
.seat--open .seat-state {
  color: var(--white);
}
.seat--open:hover,
.seat--open:focus-visible {
  background: #46511f;
}
.seat--open.is-picked {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}

/* The slate panel beside the grid, then the visitors' note */
.seat-panel {
  padding: 1.25rem;
  background: var(--dark-gray);
  color: var(--white);
}
.seat-panel p {
  color: var(--white);
  font-size: 0.9375rem;
}
.seat-panel-landmark {
  display: block;
  height: 64px;
  width: auto;
  margin-bottom: 0.75rem;
}
.seat-panel-tag {
  display: inline-block;
  margin: 0 0 0.5rem;
  padding: 0.15rem 0.45rem;
  background: var(--open-light);
  color: var(--black) !important;
  font-size: 0.75rem !important;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
body .seat-panel-head {
  margin: 0 0 0.5rem;
  color: var(--white);
  font-size: 2rem;
}
.seat-panel-btn {
  width: 100%;
}
.visit-panel {
  margin-top: 1rem;
  padding: 1.1rem 1.25rem;
  background: var(--brass-light);
  border-left: 6px solid var(--secondary);
}
.visit-head {
  font-size: 1.375rem;
}
.visit-panel p {
  font-size: 0.9375rem;
}
.visit-link {
  font-weight: 700;
}

/* Say hello: brass band with the form in a white box */
.join-hello {
  margin-top: 0;
}
.hello-wrap {
  display: grid;
  gap: 2rem;
}
@media (min-width: 52em) {
  .hello-wrap {
    grid-template-columns: 1fr 1.5fr;
    align-items: start;
  }
}
.hello-head {
  margin: 0 0 1rem;
  font-size: clamp(3rem, 7vw, 4.5rem);
  line-height: 0.95;
  text-transform: uppercase;
}
.hello-pitch {
  font-size: 1.125rem;
  font-weight: 700;
}
.hello-address {
  font-size: 0.875rem;
}
.hello-form {
  padding: 1.25rem;
  background: var(--white);
  border: 6px solid var(--black);
}
.hello-grid {
  display: grid;
  gap: 0 1rem;
}
@media (min-width: 40em) {
  .hello-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hello-cell--wide {
    grid-column: 1 / -1;
  }
}
.hello-form label {
  font-weight: 700;
  font-size: 0.875rem;
}
.hello-form input:not([type="hidden"]),
.hello-form select,
.hello-form textarea {
  width: 100%;
  min-height: 44px;
  border: 2px solid var(--black);
  border-radius: 0;
  background: var(--white);
  font: inherit;
}
.hello-form textarea {
  min-height: 7rem;
}
.hello-form input:focus-visible,
.hello-form select:focus-visible,
.hello-form textarea:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 1px;
}
.hello-form button[type="submit"],
.hello-form .save {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 0;
  background: var(--primary);
  color: var(--white);
  font: 700 1rem/1 var(--font-body);
  cursor: pointer;
}
.hello-form button[type="submit"]:hover,
.hello-form .save:hover {
  background: var(--primary-dark);
}
/* Total CMS form chrome we don't want on a public form: grid areas from the
   schema, icon boxes, admin help text and the select clear (×) button */
.hello-form .totalform.formgrid {
  display: block;
}
.hello-form .form-field {
  grid-area: auto !important;
  margin: 0 0 1rem;
}
.hello-form .form-group {
  display: block;
  position: relative;
}
.hello-form .form-group-icon,
.hello-form .form-field > .help,
.hello-form .select-clear-button {
  display: none !important;
}
.hello-form label {
  display: block;
  margin-bottom: 0.3rem;
}
.hello-form input:not([type="hidden"]),
.hello-form select {
  padding: 0.5rem 0.7rem;
}
.hello-form textarea {
  padding: 0.6rem 0.7rem;
}
.hello-form .form-inline-fields {
  margin-top: 0.5rem;
}
.hello-form .cms-save::before {
  display: none; /* Total CMS's save icon (loads without its mask here) */
}
.hello-form select {
  appearance: none;
  padding-right: 2.2rem;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231f2630' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 0.8rem center;
}
body .hello-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231f2630' stroke-width='2'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 0.8rem center !important;
}

/* Header and strap stay above the hero map, so menu clicks never land on the map link */
.site-header, .strap { position: relative; z-index: 10; }

/* Join: live OpenStreetMap under the Say hello text */
.hello-map {
  margin-top: 1.5rem;
  aspect-ratio: 4 / 3;
  border: 6px solid var(--black);
  background: var(--white);
}
.hello-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.hello-map-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin: 0.6rem 0 0;
  font-size: 0.875rem;
}
.hello-map-links a {
  color: var(--black);
  font-weight: 700;
}
.hello-map-links .hello-map-credit {
  font-size: 0.75rem;
  font-weight: 600;
}

/* ---------- 18. Friends: Be a Friend ----------
   Reuses the Join hero, numbered list and form styles (section 17). */
.friend-price {
  font-weight: 600;
}
.friend-price strong {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 2rem;
  color: var(--primary);
  margin-right: 0.25rem;
}
.friends-list {
  margin-top: 1.5rem;
}
.gift-aid {
  margin: 0.5rem 0 1rem;
  padding: 1rem;
  background: var(--brass-light);
  border-left: 6px solid var(--secondary);
  font-size: 0.875rem;
}
.gift-aid p {
  margin: 0 0 0.75rem;
}
.gift-aid .form-field {
  margin-bottom: 0.75rem;
}
.gift-aid input[type="radio"] {
  width: auto !important;
  min-height: 0 !important;
  accent-color: var(--primary);
}
.gift-aid .radio-field label,
.gift-aid .radio-field .form-group label {
  font-weight: 600;
}
.gift-aid-note {
  margin: 0 !important;
  font-size: 0.8125rem;
  color: var(--dark-gray);
}
.form-privacy {
  margin: 0.75rem 0 0;
  font-size: 0.8125rem;
}

/* ---------- 19. Book the band ----------
   Reuses the Join hero, numbered list and form styles (section 17). */
.sizes {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
}
.size {
  padding: 1.1rem 1.2rem 1.25rem;
  background: var(--white);
  border: 2px solid var(--black);
}
.size-count {
  display: block;
  font-family: var(--font-heading);
  font-size: 3rem;
  line-height: 1;
  color: var(--primary);
}
.size-name {
  margin: 0.3rem 0 0.4rem;
  font-size: 1.375rem;
}
.size p {
  margin: 0;
  font-size: 0.9375rem;
}
.sizes-note {
  margin: 0.75rem 0 0;
  font-size: 0.8125rem;
  color: var(--dark-gray);
}
.book-know {
  padding-top: 0;
}
.book-know .why-list {
  margin-top: 1.5rem;
}
.book-fee-flag {
  display: inline-block;
  margin: -0.5rem 0 1.5rem;
  padding: 0.35rem 0.7rem;
  background: var(--black);
  color: var(--white);
  font-weight: 700;
  transform: rotate(-1.5deg);
}

/* What's on: "Want the band at your event?" line under the diary */
.book-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  margin: 2.5rem 0 0;
  padding: 1rem 1.25rem;
  border-top: 6px solid var(--black);
  background: var(--brass-light);
  font-family: var(--font-heading);
  font-size: 1.375rem;
}
.book-cta a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.6rem 1rem;
  background: var(--primary);
  color: var(--white);
  font: 700 1rem/1 var(--font-body);
  text-decoration: none;
}
.book-cta a:hover,
.book-cta a:focus-visible {
  background: var(--primary-dark);
}

/* ---------- 21. What's on: the band's own concerts on a brass-light band ----------
   Rows labelled "Our own concert" get the Follow-the-band tint, bled to the
   full width of the window (box-shadow + clip-path, so no horizontal scroll)
   while the text stays in the page column. What's on page only (.gigs--full). */
.gigs--full .gig--own,
.gigs--home .gig--own {
  position: relative;
  background: var(--brass-light);
  box-shadow: 0 0 0 100vmax var(--brass-light);
  clip-path: inset(0 -100vmax);
  padding: 1.5rem 0;
  margin: 0.75rem 0;
  border: 0;
}
.gigs--full .gig--own + .gig,
.gigs--home .gig--own + .gig {
  border-top: 2px solid var(--black);
}

/* ---------- 22. Editor manual (/editor/help) ---------- */
.ed-manual { background: var(--white); border-radius: 18px; padding: clamp(1.25rem, 4vw, 2.5rem); line-height: 1.6; }
.ed-manual h1 { font-family: var(--font-heading); font-weight: 400; font-size: clamp(2rem, 5vw, 2.75rem); line-height: 1.1; margin: 0 0 1rem; }
.ed-manual h2 { font-family: var(--font-heading); font-weight: 400; font-size: 1.7rem; margin: 2.5rem 0 .75rem; scroll-margin-top: 1rem; }
.ed-manual h3 { font-family: var(--font-heading); font-weight: 400; font-size: 1.3rem; margin: 1.75rem 0 .5rem; }
.ed-manual hr { border: 0; border-top: 2px solid #e7ded2; margin: 2rem 0; }
.ed-manual table { width: 100%; border-collapse: collapse; margin: 1rem 0; display: block; overflow-x: auto; }
.ed-manual th, .ed-manual td { text-align: left; vertical-align: top; padding: .55rem .75rem; border-bottom: 1px solid #e7ded2; }
.ed-manual th { background: var(--brass-light); }
.ed-manual code { background: #f4efe8; padding: .1em .35em; border-radius: 6px; font-size: .95em; }
.ed-manual li { margin: .25rem 0; }
/* ---------- 23. Home: countdown to our own concert (option B) ----------
   Black tile, brass number, on the right of the highlighted row.
   On the day it turns polo-red and says Tonight (17:00 or later) or Today.
   The words are sized to fit the tile at every width. */
.gigs--home .gig--own { align-items: center; }
.gigs--full .gig-countdown { align-self: center; }
.gig-countdown {
  margin: 0 0 0 auto;
  flex: none;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 8.5rem;
  max-width: 11rem;
  box-sizing: border-box;
  padding: 0.55rem 0.9rem 0.45rem;
  background: var(--black);
  color: var(--white);
  transform: rotate(2deg);
}
.gig-countdown-big {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  line-height: 1;
  color: var(--secondary);
}
.gig-countdown-small {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.2;
}
.gig-countdown--today {
  background: #b61e44;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
}
.gig-countdown--today .gig-countdown-big {
  color: var(--white);
  font-size: 1.75rem;
}
.gig-countdown--today .gig-countdown-small {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
@media (max-width: 560px) {
  .gigs--home .gig--own,
  .gigs--full .gig--own { flex-wrap: wrap; }
  .gig-countdown { margin: 0.25rem 0 0 calc(4.25rem + 1rem); }
}

/* ---------- 24. Carols: festive label, no highlight ---------- */
.gig--carols .gig-tag {
  background: #4f5a24;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
}
.gig-tag-icon { flex: none; fill: #ead7a6; width: 1.25em; height: 1.25em; margin: -0.15em 0; }
.gig-tickets { font-weight: 700; }

/* ==========================================================================
   20. Website editor (/editor). Laid out like the editor artboards, built
   from the site's own palette, fonts and spacing (no artboard code copied).
   ========================================================================== */
.is-editor { background: var(--light-gray); color: var(--black); font-family: var(--font-body); }
.ed-page { padding: 3rem 0 5.5rem; }
.ed-wrap { max-width: var(--site-width); margin: 0 auto; padding: 0 2rem; box-sizing: border-box; }
@media (max-width: 640px) { .ed-wrap { padding: 0 1rem; } .ed-page { padding-top: 2rem; } }

/* Top bar */
.ed-bar { background: var(--black); color: var(--light-gray); }
.ed-bar-in { max-width: var(--site-width); margin: 0 auto; padding: .9rem 2rem; box-sizing: border-box; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; }
.ed-bar-brand { display: inline-flex; align-items: center; gap: .75rem; color: var(--white); text-decoration: none; }
.ed-bar-disc { width: 2.5rem; height: 2.5rem; border-radius: 999px; background: var(--primary); color: var(--white); display: grid; place-items: center; font-family: var(--font-heading); font-size: 1rem; }
.ed-bar-title { font-family: var(--font-heading); font-size: 1.3rem; }
.ed-bar-nav { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.ed-pill { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1.25rem; border-radius: 999px; border: 1px solid #7a8996; color: var(--light-gray); font-weight: 600; text-decoration: none; }
.ed-pill:hover { color: var(--white); border-color: var(--white); }
.ed-pill.is-current { background: var(--secondary); border-color: var(--secondary); color: var(--black); font-weight: 700; }
.ed-pill--quiet { border-color: transparent; }
.ed-bar-out { color: var(--brass-light); font-weight: 600; margin-left: .5rem; }
.ed-bar-out:hover { color: var(--white); }
.ed-bar a:focus-visible { outline: 3px solid var(--brass-light); outline-offset: 3px; }

/* Headings */
.ed-back { margin: 0 0 1rem; font-weight: 600; }
.ed-back a, .ed-actions-extra a, .ed-manual a { color: var(--link-color, #8c1f4b); }
.ed-title { font-family: var(--font-heading); font-weight: 400; font-size: clamp(2.4rem, 5vw, 3rem); line-height: 1.05; color: var(--dark-gray); margin: 0 0 .6rem; }
.ed-deck { font-size: 1.1875rem; line-height: 1.55; margin: 0 0 2.5rem; max-width: 42rem; }
.ed-head { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: flex-end; justify-content: space-between; margin-bottom: 2.5rem; }
.ed-head .ed-deck { margin-bottom: 0; }
.ed-sub { font-family: var(--font-heading); font-weight: 400; font-size: 1.6rem; margin: 0 0 1rem; }

/* Buttons */
.ed-btn { display: inline-flex; align-items: center; min-height: 52px; padding: 0 1.5rem; border-radius: 999px; border: 1.5px solid #8a7e70; background: transparent; color: var(--black); font: 600 1.0625rem var(--font-body); text-decoration: none; cursor: pointer; }
.ed-btn:hover { border-color: var(--black); color: var(--black); }
.ed-btn--primary { min-height: 56px; padding: 0 1.75rem; border: 0; background: var(--primary); color: var(--white); font-size: 1.125rem; font-weight: 700; }
.ed-btn--primary:hover { background: var(--primary-dark); color: var(--white); }

/* Events list */
.ed-list { list-style: none; margin: 0 0 2.5rem; padding: 0; display: grid; gap: .75rem; }
.ed-row { display: flex; flex-wrap: wrap; gap: 1rem 1.25rem; align-items: center; background: var(--white); border-radius: 18px; padding: 1rem 1.25rem 1rem 1rem; }
.ed-row--past { opacity: .75; }
.ed-row--next { box-shadow: inset 0 0 0 3px var(--primary); }
.ed-date { width: 76px; height: 76px; flex: none; border-radius: 14px; background: var(--secondary); color: var(--black); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.1; }
.ed-date-dow, .ed-date-mon { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.ed-date-day { font-family: var(--font-heading); font-size: 1.8rem; line-height: 1; }
.ed-row-body { flex: 999 1 18rem; min-width: 0; }
.ed-row-body p, .ed-row-body h3 { margin: 0; }
.ed-row-tag { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #8c1f4b; margin-bottom: .2rem !important; }
.ed-row-title { font-family: var(--font-heading); font-weight: 400; font-size: 1.3rem; line-height: 1.2; }
.ed-row-meta { color: #5b6a70; margin-top: .2rem !important; }
.ed-row-actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.ed-row-actions .ed-btn { min-height: 44px; padding: 0 1.25rem; }
.ed-status { display: inline-flex; align-items: center; padding: .35rem .8rem; border-radius: 999px; font-size: .9rem; font-weight: 600; }
.ed-status--live { background: #4f5a24; color: var(--white); }
.ed-status--hidden { background: #e7ded2; color: var(--black); border: 1.5px dashed #8a7e70; }
.ed-status--next { background: var(--primary); color: var(--white); }
.ed-empty { background: var(--white); border-radius: 18px; padding: 1.25rem; }
.ed-past { margin-bottom: 2.5rem; }
.ed-find { margin: 0 0 2.5rem; }
.ed-find-label { display: block; font-weight: 700; margin-bottom: .5rem; }
.ed-find-input { width: 100%; max-width: 32rem; min-height: 56px; box-sizing: border-box; padding: .75rem 1.1rem; border: 1.5px solid #8a7e70; border-radius: 10px; background: var(--white); color: var(--black); font: 400 1.125rem/1.4 var(--font-body); }
.ed-find-input::placeholder { color: #8a7e70; opacity: 1; }
.ed-find-input:focus-visible { outline: 3px solid var(--dark-gray); outline-offset: 2px; }
.ed-find-status { margin: .5rem 0 0; min-height: 1.5em; color: #5b6a70; }
.ed-group[hidden], .ed-row[hidden], .ed-summary[hidden], .ed-help[hidden] { display: none !important; }
.ed-past summary { cursor: pointer; font-weight: 700; min-height: 44px; display: flex; align-items: center; margin-bottom: .75rem; }
.ed-help { background: #d6deee; border-radius: 18px; padding: 1.25rem 1.5rem; line-height: 1.55; margin: 0; }

/* Form layout: form column and preview column */
.ed-layout { display: flex; flex-wrap: wrap; gap: 2.25rem; align-items: flex-start; }
.ed-form { flex: 999 1 34rem; min-width: 0; }
.ed-preview { flex: 1 1 18rem; min-width: 0; display: grid; gap: 1.25rem; position: sticky; top: 1.5rem; }
@media (max-width: 900px) { .ed-preview { position: static; order: -1; } }

/* The CMS form follows the Mac's dark mode; the editor is a light page, so pin its colours */
.ed-form {
  color-scheme: light;
  --totalform-purewhite: 100% 0 0; --totalform-white: 100% 0 0; --totalform-nearwhite: 95.4% 0.011 76.6;
  --totalform-lightgray: 90.4% 0.019 75.3; --totalform-mediumgray: 60% 0.025 71.6; --totalform-gray: 51.4% 0.021 223.9;
  --totalform-darkgray: 36.6% 0.027 222.6; --totalform-nearblack: 26.6% 0.021 257.3; --totalform-black: 26.6% 0.021 257.3;
  --totalform-accent: 52.2% 0.167 1.9; --totalform-border-color: 60% 0.025 71.6; --totalform-label-color: 26.6% 0.021 257.3;
  --totalform-help-color: 51.4% 0.021 223.9; --totalform-text-color: 26.6% 0.021 257.3; --totalform-background: 100% 0 0;
  --totalform-radius: 10px;
}
.ed-form .totalform { display: flex; flex-direction: column; gap: 1.75rem; }

/* Step cards */
.ed-card { margin: 0; border: 0; min-width: 0; padding: 1.75rem; background: var(--white); border-radius: 18px; display: flex; flex-direction: column; gap: 1.4rem; box-sizing: border-box; }
.ed-card-title, .ed-form legend.ed-card-title { float: left; width: 100%; padding: 0; margin: 0; font-family: var(--font-heading); font-weight: 400; font-size: 1.75rem; line-height: 1.15; color: var(--dark-gray); }
.ed-card-title + * { clear: both; }
.ed-card-text { margin: .5rem 0 0; line-height: 1.5; }

/* Fields */
.ed-form .form-field { margin: 0 !important; }
.ed-form .form-field > label,
.ed-form .choice-field fieldset > legend { display: block; width: auto; margin: 0 0 .55rem; font: 700 1.0625rem/1.35 var(--font-body); color: var(--dark-gray); }
.ed-opt { font-weight: 500; color: #5b6a70; }
.ed-form .form-group { box-shadow: none !important; }
.ed-form .form-group-icon, .ed-form .select-clear-button { display: none !important; }
.ed-form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="file"]),
.ed-form textarea {
  width: 100%; min-height: 56px; box-sizing: border-box; padding: .75rem 1.1rem;
  border: 1.5px solid #8a7e70 !important; border-radius: 10px !important; background: var(--white);
  color: var(--black); font: 400 1.125rem/1.4 var(--font-body); box-shadow: none !important;
}
.ed-form textarea { min-height: 96px; }
.ed-form input::placeholder, .ed-form textarea::placeholder { color: #8a7e70; opacity: 1; }
.ed-form input:focus-visible, .ed-form textarea:focus-visible { outline: 3px solid var(--dark-gray); outline-offset: 2px; }
.ed-form .form-field > .help { display: flex; justify-content: space-between; gap: 1rem; width: auto; margin: .5rem 0 0; padding: 0; background: none; font: 400 .95rem/1.45 var(--font-body); color: #5b6a70; }
.ed-form .form-field > .help:empty { display: none !important; }
.ed-count { flex: none; }
.ed-count.is-long { color: #8c1f4b; font-weight: 700; }
.ed-hint { margin: 0; font-size: .95rem; color: #5b6a70; }
.ed-when { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
@media (max-width: 640px) { .ed-when { grid-template-columns: 1fr; } }
.ed-form.is-tba .ed-when .form-field:not(:first-child) { opacity: .45; }
.ed-narrow { max-width: 30rem; }

/* Label pills */
.ed-form .radio-field fieldset { display: flex; flex-wrap: wrap; gap: .6rem; }
.ed-form .radio-field fieldset > legend { flex-basis: 100%; }
.ed-form .radio-field .radio { overflow: visible; }
.ed-form .radio-field .radio-label {
  display: inline-flex; align-items: center; gap: .55rem; min-height: 52px; padding: 0 1.25rem;
  border: 1.5px solid #8a7e70; border-radius: 999px; background: var(--white);
  color: var(--dark-gray); font: 600 1.0625rem var(--font-body); white-space: nowrap; overflow: visible; cursor: pointer;
}
.ed-form .radio-field .radio input[type=radio] + .radio-label:before { width: .95rem; height: .95rem; margin: 0; background: transparent; border: 1.5px solid currentColor; box-shadow: none; }
.ed-form .radio-field .radio input[type=radio]:checked + .radio-label { background: var(--dark-gray); border-color: var(--dark-gray); color: var(--white); }
.ed-form .radio-field .radio input[type=radio]:checked + .radio-label:before { background: currentColor; box-shadow: inset 0 0 0 3px var(--dark-gray); }
.ed-form .radio-field .radio input[type=radio]:focus-visible + .radio-label { outline: 3px solid var(--dark-gray); outline-offset: 3px; }

/* Plain checkboxes (Times TBA, Yes show it) */
.ed-form label.ed-check { width: auto; line-height: 1.3; color: var(--black); display: inline-flex; align-items: center; gap: .75rem; min-height: 44px; font-weight: 600; font-size: 1.0625rem; cursor: pointer; }
.ed-form .ed-check input { width: 1.5rem; height: 1.5rem; margin: 0; accent-color: #4f5a24; }
.ed-form label.ed-check--show { font-weight: 700; flex: none; }
.ed-card--show { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.ed-draft, .ed-tba-note[hidden] { display: none !important; }

/* Photo drop zone */
.ed-form .image-field > .form-group { width: 100%; max-width: none; min-height: 140px; border: 2px dashed #8a7e70; border-radius: 18px; background: var(--light-gray); }
.ed-form .image-field > .form-group:has(.not-found)::after {
  content: "Drop a photo here, or choose one from your phone"; position: absolute; left: 0; right: 0; bottom: 1.4rem;
  text-align: center; font-weight: 600; color: var(--dark-gray); pointer-events: none;
}
.ed-form .image-field .dz-overlay {
  width: 30px; height: 30px; top: 40%; opacity: 1; background-color: var(--dark-gray);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Ccircle cx='9' cy='11' r='2'/%3E%3Cpath d='M21 17l-5-5-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Ccircle cx='9' cy='11' r='2'/%3E%3Cpath d='M21 17l-5-5-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
}
.ed-form .image-field > .form-group { position: relative; }
.ed-form .form-inline-fields a { font-weight: 600; color: #8c1f4b; }
.ed-form .form-inline-fields .ed-btn { min-height: 56px; }
.ed-form label.ed-check + .ed-tba-note + .ed-hint { margin-top: -.6rem; }

/* Buttons */
.ed-form .form-inline-fields { margin: 0; gap: 1rem; }
.ed-form .totalform .cms-button { border-radius: 999px; min-height: 56px; padding: 0 1.9rem; font: 700 1.125rem var(--font-body); }
.ed-form .totalform .cms-button:before { display: none; }
.ed-form .totalform .cms-save { background: var(--primary); border: 0; color: var(--white); }
.ed-form .totalform .cms-save:hover { background: var(--primary-dark); scale: 1; }
.ed-form .totalform .cms-delete { background: transparent; color: #8c1f4b; border: 1.5px solid #8c1f4b; font-weight: 600; }
.ed-form .totalform .cms-delete:hover { background: #8c1f4b; color: var(--white); scale: 1; }
.ed-actions-extra { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; margin: 1rem 0 0; font-weight: 600; }

/* Preview */
.ed-preview-label { margin: 0; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #8c1f4b; }
.ed-preview-card { margin: 0; padding: .35rem 1.25rem; background: var(--white); border: 2px solid var(--secondary); border-radius: 18px; overflow: hidden; }
.ed-preview-card .gig { border: 0 !important; margin: 0 !important; }
.ed-preview-card .gig--own { box-shadow: 0 0 0 100vmax var(--brass-light); clip-path: inset(-1rem -1.5rem); }
.ed-preview.is-hidden .ed-preview-card { opacity: .55; border-style: dashed; }
.ed-preview [hidden] { display: none !important; }
.ed-preview-note { margin: 0; background: #d6deee; border-radius: 18px; padding: 1.1rem 1.4rem; line-height: 1.55; }

/* ---------- 26. Private booking: listed, but clearly not open to the public ---------- */
.gig--private .gig-tag { background: var(--dark-gray); color: var(--white); }
.gig-private { margin: 0.15rem 0 0; font-size: 0.875rem; font-weight: 700; color: var(--dark-gray); }
.ed-form .choice-field fieldset > legend { padding: 0; }
.ed-form .choice-field fieldset { padding: 0; margin: 0; }
a.ed-status--live { text-decoration: none; }
a.ed-status--live:hover { background: #3c451b; color: var(--white); text-decoration: underline; }
a.ed-status--live:focus-visible { outline: 3px solid var(--dark-gray); outline-offset: 3px; }

/* ---------- 27. Label icons: Carols tree, Private booking padlock, Contest cup ---------- */
.gig--carols .gig-tag,
.gig--private .gig-tag,
.gig--contest .gig-tag { display: inline-flex; align-items: center; gap: 0.35em; }
.gig--private .gig-tag-icon { fill: var(--white); }
.gig--contest .gig-tag { background: var(--primary); color: var(--white); }
.gig--contest .gig-tag-icon { fill: var(--secondary); }
/* Label pills: compact enough for all five on one line in the form column; still wrap on phones */
.ed-form .radio-field fieldset { gap: .45rem; }
.ed-form .radio-field .radio-label { min-height: 46px; padding: 0 .85rem; gap: .45rem; font-size: 1rem; }
.ed-form .radio-field .radio input[type=radio] + .radio-label:before { width: .85rem; height: .85rem; }

/* ---------- 28. Our Members (/about/members): cards and profile pop-ups ---------- */
.mem-sec { margin-top: 3rem; }
.mem-grid { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr)); gap: 1.25rem 1rem; }
.mem-open {
  appearance: none; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; text-align: left;
  display: flex; flex-direction: column; gap: .2rem; color: var(--black); font: inherit;
}
.mem-photo { display: block; width: 100%; aspect-ratio: 1; height: auto; object-fit: cover; background: #e7ded2; margin-bottom: .5rem; }
.mem-photo--none { display: grid; place-items: center; font-family: var(--font-heading); font-size: 3rem; color: var(--white); background: var(--primary); }
/* Empty seat placeholder ("Your seat?") on Our Members */
.mem-card--empty .mem-open { text-decoration: none; }
.mem-card--empty .mem-photo { background: transparent; color: var(--primary); border: 3px dashed var(--primary); box-sizing: border-box; }
.mem-open .mem-photo { transition: transform .2s ease; }
.mem-open:hover .mem-photo, .mem-open:focus-visible .mem-photo { transform: rotate(-1.5deg) scale(1.02); }
.mem-open:focus-visible { outline: 3px solid var(--dark-gray); outline-offset: 4px; }
.mem-name { font-family: var(--font-heading); font-size: 1.35rem; line-height: 1.15; }
.mem-part { font-size: .9375rem; color: var(--dark-gray); }
.mem-role { display: inline-block; align-self: flex-start; margin: .2rem 0 0; padding: .15em .5em; background: var(--secondary); color: var(--black); font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.mem-committee { margin-top: 3rem; padding: 1.25rem 1.5rem; background: var(--brass-light); }
.mem-committee h2 { margin: 0 0 .75rem; font-family: var(--font-heading); font-weight: 400; font-size: 1.5rem; }
.mem-committee ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; }
.mem-committee li span { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.mem-committee p { margin: .9rem 0 0; font-weight: 700; }
.mem-link { appearance: none; border: 0; background: none; padding: 0; font: inherit; font-size: 1.05rem; color: var(--link-color, #8c1f4b); text-decoration: underline; cursor: pointer; }
/* Pop-up */
.mem-dialog { width: min(44rem, calc(100vw - 2rem)); max-height: calc(100dvh - 2rem); padding: 0; border: 0; background: var(--light-gray); color: var(--black); box-shadow: 0 20px 50px rgba(31,38,48,.3); }
.mem-dialog::backdrop { background: rgba(31,38,48,.6); }
.mem-dialog-in { padding: clamp(1.25rem, 4vw, 2.25rem); }
.mem-dialog-head { display: grid; grid-template-columns: minmax(7rem, 12rem) 1fr; gap: 1.25rem; align-items: end; margin-bottom: 1.25rem; padding-bottom: 1.25rem; border-bottom: 2px solid var(--black); }
.mem-dialog-head .mem-photo { margin: 0; }
.mem-dialog-name { margin: 0; font-family: var(--font-heading); font-weight: 400; font-size: clamp(2rem, 6vw, 2.75rem); line-height: 1; }
.mem-dialog-part { margin: .35rem 0 0; font-size: 1.05rem; }
.mem-q { margin: 1.25rem 0 .3rem; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #8c1f4b; }
.mem-a { margin: 0; line-height: 1.6; max-width: 38rem; }
.mem-a--none { font-style: italic; color: var(--dark-gray); }
.mem-close { position: sticky; top: .5rem; float: right; margin: .5rem .5rem 0 0; width: 44px; height: 44px; border: 0; border-radius: 999px; background: var(--black); color: var(--white); font-size: 1.6rem; line-height: 1; cursor: pointer; z-index: 1; }
.mem-close:focus-visible { outline: 3px solid var(--secondary); outline-offset: 2px; }
@media (max-width: 520px) { .mem-dialog-head { grid-template-columns: 7rem 1fr; } .mem-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- 29. About hub, Our MD, The charity ---------- */
.about-intro { margin-top: 1.5rem; font-size: 1.1875rem; }
.about-tiles { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 1rem; }
.about-tiles a { display: flex; flex-direction: column; gap: .4rem; height: 100%; box-sizing: border-box; padding: 1.25rem 1.4rem 1.4rem; background: var(--white); border-top: 6px solid var(--primary); color: var(--black); text-decoration: none; transition: transform .2s ease; }
.about-tiles a:hover, .about-tiles a:focus-visible { transform: rotate(-1deg); }
.about-tiles a:focus-visible { outline: 3px solid var(--dark-gray); outline-offset: 3px; }
.about-tile-title { font-family: var(--font-heading); font-size: 1.6rem; line-height: 1.1; }
.about-tile-text { line-height: 1.5; color: var(--dark-gray); }
.md-wrap { display: grid; grid-template-columns: minmax(12rem, 22rem) 1fr; gap: 2rem; align-items: start; margin-top: 2rem; }
@media (max-width: 640px) { .md-wrap { grid-template-columns: 1fr; } }
.md-photo { margin: 0; }
.md-photo .mem-photo { margin: 0; }
.md-photo figcaption { margin-top: .4rem; font-size: .8125rem; color: var(--dark-gray); }
.md-name { margin: 0; font-family: var(--font-heading); font-weight: 400; font-size: clamp(2rem, 5vw, 2.75rem); line-height: 1.05; }
.md-role { margin: .35rem 0 1rem; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #8c1f4b; }
.md-bio { line-height: 1.6; }
.md-results { font-weight: 700; }
.charity-lead { font-size: 1.1875rem; }
.page-body h2 { font-family: var(--font-heading); font-weight: 400; font-size: 1.6rem; margin: 2.25rem 0 .5rem; }
.charity-committee { list-style: none; margin: .75rem 0; padding: 0; display: grid; gap: .4rem; }
.charity-committee li span { display: inline-block; min-width: 7rem; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.charity-doc { font-weight: 700; }
.charity-reports { list-style: none; margin: .75rem 0 0; padding: 0; }
.charity-reports li { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; align-items: baseline; padding: .6rem 0; border-top: 2px solid var(--black); }
.charity-reports li:last-child { border-bottom: 2px solid var(--black); }
.charity-year { font-family: var(--font-heading); font-size: 1.4rem; min-width: 4rem; }

/* ---------- 30. Members editor ---------- */
.ed-mem-photo { width: 76px; flex: none; }
.ed-mem-photo .mem-photo { margin: 0; border-radius: 14px; font-size: 1.8rem; }
.ed-mem-preview { display: flex; flex-direction: column; gap: .2rem; max-width: 14rem; padding: 1rem; background: var(--light-gray); border: 2px solid var(--secondary); border-radius: 18px; }
.ed-mem-preview .mem-photo { margin-bottom: .5rem; }
.ed-mem-preview [hidden] { display: none !important; }
.ed-form .ed-id { display: none !important; }

/* ---------- 31. Home: Player of the day ---------- */
.potd-title { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: .5rem 1rem; }
.potd-deck { margin: 0 0 .6rem; font-weight: 600; }
.potd { margin-top: 1.75rem; display: grid; grid-template-columns: minmax(12rem, 21rem) 1fr; gap: 2.25rem; align-items: start; }
/* Top-aligned so opening the answer only grows downwards: the photo never moves. The padding sits the name roughly level with the photo's middle. */
@media (min-width: 641px) { .potd-text { padding-top: clamp(1.5rem, 6vw, 4.5rem); } }
@media (max-width: 640px) { .potd { grid-template-columns: 1fr; gap: 1.5rem; } .potd-photo { max-width: 18rem; } }
.potd-photo .mem-photo { margin: 0; transform: rotate(-1.5deg); box-shadow: 10px 10px 0 var(--secondary); }
.potd-name { margin: 0; font-family: var(--font-heading); font-size: clamp(2.2rem, 5vw, 2.6rem); line-height: 1; }
.potd-part { margin: .4rem 0 1.4rem; color: var(--dark-gray); }
.potd-ask summary {
  display: inline-flex; align-items: center; gap: .85rem; min-height: 52px; padding: .35rem .4rem .35rem 1.35rem; border-radius: 999px;
  background: var(--white); border: 2px solid var(--primary); color: #8c1f4b; font-weight: 700; font-size: 1.0625rem; cursor: pointer; list-style: none;
  transition: background-color .2s, color .2s, transform .2s;
  animation: potd-pulse 2.8s ease-out 1s infinite;
}
.potd-ask summary::-webkit-details-marker { display: none; }
.potd-ask summary:hover { background: #fbeef3; transform: translateY(-2px); }
.potd-ask summary:focus-visible { outline: 3px solid var(--dark-gray); outline-offset: 3px; }
/* The + disc says "open me"; it turns into a × when the answer is showing */
.potd-ask-icon { position: relative; flex: none; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--primary); transition: transform .25s ease, background-color .2s; }
.potd-ask-icon::before, .potd-ask-icon::after { content: ""; position: absolute; top: 50%; left: 50%; width: .95rem; height: 2.5px; border-radius: 2px; background: var(--white); transform: translate(-50%, -50%); }
.potd-ask-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.potd-ask summary:hover .potd-ask-icon { transform: rotate(90deg); }
.potd-ask[open] summary { background: var(--black); border-color: var(--black); color: var(--white); animation: none; transform: none; }
.potd-ask[open] .potd-ask-icon { background: var(--white); transform: rotate(45deg); }
.potd-ask[open] .potd-ask-icon::before, .potd-ask[open] .potd-ask-icon::after { background: var(--black); }
@keyframes potd-pulse {
  0% { box-shadow: 0 0 0 0 rgb(177 50 98 / .45); }
  70%, 100% { box-shadow: 0 0 0 14px rgb(177 50 98 / 0); }
}
@media (prefers-reduced-motion: reduce) { .potd-ask summary { animation: none; transition: none; } .potd-ask-icon { transition: none; } }
.potd-bubble { position: relative; margin-top: 1rem; max-width: 33rem; padding: 1.35rem 1.6rem 1.25rem; background: var(--white); border: 3px solid var(--black); box-shadow: 8px 8px 0 var(--secondary); }
.potd-bubble::before { content: ""; position: absolute; top: -13px; left: 2.25rem; width: 20px; height: 20px; background: var(--white); border-left: 3px solid var(--black); border-top: 3px solid var(--black); transform: rotate(45deg); }
.potd-label { margin: 0 0 .5rem; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #8c1f4b; }
.potd-answer { margin: 0 0 .9rem; font-family: var(--font-heading); font-size: clamp(1.3rem, 2.6vw, 1.6rem); line-height: 1.3; }
.potd-bubble a { font-weight: 700; }
.home-potd .more { margin-top: 1.75rem; }

/* ---------- 32. The charity: committee cards, documents; constitution page ---------- */
.charity-sec { margin-top: 3rem; }
.charity-title { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: .5rem 1rem; }
.charity-title p { margin: 0 0 .6rem; font-weight: 600; }
.com-grid { list-style: none; margin: 1.75rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 1.5rem; }
.com-card { display: flex; flex-direction: column; height: 100%; background: var(--white); color: var(--black); text-decoration: none; box-shadow: 6px 6px 0 var(--secondary); transition: transform .2s ease; }
.com-grid li:nth-child(odd) .com-card { transform: rotate(-.8deg); }
.com-grid li:nth-child(even) .com-card { transform: rotate(.7deg); }
.com-grid .com-card:hover, .com-grid .com-card:focus-visible { transform: rotate(0) translateY(-3px); color: var(--black); }
.com-card:focus-visible { outline: 3px solid var(--dark-gray); outline-offset: 4px; }
.com-photo { position: relative; display: block; }
.com-photo .mem-photo { margin: 0; aspect-ratio: 4 / 3; }
.com-role { position: absolute; left: 0; bottom: 0; background: var(--primary); color: var(--white); font-family: var(--font-heading); font-size: 1.35rem; line-height: 1; padding: .5rem .75rem .3rem; text-transform: uppercase; }
.com-body { display: flex; flex-direction: column; gap: .35rem; flex: 1; padding: 1rem 1.15rem 1.15rem; }
.com-name { font-family: var(--font-heading); font-size: 1.75rem; line-height: 1.05; }
.com-part { font-size: .9375rem; color: var(--dark-gray); }
.com-teaser { margin-top: .35rem; font-style: italic; line-height: 1.5; font-size: .9375rem; }
.com-more { margin-top: auto; padding-top: .6rem; font-weight: 700; color: #8c1f4b; }
.charity-docs { margin-top: 3.5rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); gap: 2rem; align-items: start; }
.charity-docs h2 { margin: 0 0 .5rem; font-family: var(--font-heading); font-weight: 400; font-size: 1.75rem; }
.charity-buttons { display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; align-items: center; font-weight: 700; }
.charity-btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 1.25rem; background: var(--black); color: var(--white); text-transform: uppercase; letter-spacing: .06em; font-size: .875rem; text-decoration: none; }
.charity-btn:hover, .charity-btn:focus-visible { background: var(--primary); color: var(--white); }
/* Constitution page */
.con { max-width: 46rem; }
.con-intro { font-size: 1.1rem; margin: 1.5rem 0 .5rem; }
.con-date { font-weight: 700; margin: 0 0 1.5rem; }
.con-contents { background: var(--white); padding: 1.25rem 1.5rem; scroll-margin-top: 1rem; }
.con-contents h2 { margin: 0 0 .75rem; font-family: var(--font-heading); font-weight: 400; font-size: 1.5rem; }
.con-contents ol { list-style: none; margin: 0; padding: 0; columns: 2 16rem; column-gap: 2rem; }
.con-contents li { break-inside: avoid; padding: .2rem 0; }
.con-contents a span { display: inline-block; min-width: 1.75rem; font-weight: 700; }
.con-sec { margin-top: 2.5rem; scroll-margin-top: 1rem; }
.con-sec h2 { margin: 0 0 .75rem; padding-bottom: .4rem; border-bottom: 2px solid var(--black); font-family: var(--font-heading); font-weight: 400; font-size: 1.5rem; }
.con-cl { margin: 0 0 .6rem; line-height: 1.6; scroll-margin-top: 1rem; }
.con-n { font-weight: 700; margin-right: .35rem; white-space: nowrap; }
.con-d2 { padding-left: 1.5rem; } .con-d3 { padding-left: 3rem; } .con-d4, .con-d5 { padding-left: 4.5rem; }
@media (max-width: 640px) { .con-d2 { padding-left: .75rem; } .con-d3 { padding-left: 1.5rem; } .con-d4, .con-d5 { padding-left: 2.25rem; } }
.con-cl:target { background: var(--brass-light); }
.con-top { margin: 1rem 0 0; font-size: .9rem; font-weight: 600; }
/* Committee cards as buttons on Our Members (they open the pop-up) */
button.com-card { appearance: none; width: 100%; border: 0; padding: 0; font: inherit; text-align: left; cursor: pointer; }
.mem-sec .charity-title { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: .5rem 1rem; }
.mem-sec .charity-title p { margin: 0 0 .5rem; font-weight: 700; }
/* Members editor: profiles at a glance */
.ed-summary { background: var(--white); border-radius: 18px; padding: 1.5rem 1.75rem; margin-bottom: 2.5rem; }
.ed-summary .ed-sub { margin-top: 0; }
.ed-stats { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: .75rem; }
.ed-stats li { background: var(--light-gray); border-radius: 14px; padding: .8rem 1rem; line-height: 1.3; }
.ed-stats strong { display: block; font-family: var(--font-heading); font-weight: 400; font-size: 2rem; line-height: 1; }
.ed-stats--todo { background: var(--brass-light) !important; }
.ed-summary-actions { display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: center; margin: 1rem 0 0; }
.ed-copied { font-weight: 600; color: #4f5a24; }
.ed-msg { width: 100%; box-sizing: border-box; margin-top: 1rem; padding: .9rem 1rem; border: 1.5px solid #8a7e70; border-radius: 10px; font: 400 .95rem/1.5 var(--font-body); color: var(--black); background: var(--light-gray); }

/* Band Room editor: list preview beside the post form */
.ed-post-preview { background: var(--white); border-radius: 14px; padding: 1rem 1.2rem; }
.ed-post-preview .post-date { margin: 0 0 .2rem; }
.ed-post-preview .post-title { margin: 0 0 .3rem; font-family: var(--font-heading); font-size: 1.35rem; line-height: 1.2; }
.ed-post-preview .post-deck { margin: 0; }

/* Gallery and On the stands editors */
.ed-gal-thumb { width: 80px; height: 80px; flex: none; border-radius: 14px; overflow: hidden; background: var(--brass-light, #EFE2C2); display: grid; place-items: center; font-family: var(--font-heading); font-size: 1.6rem; }
.ed-gal-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ed-form--wide { max-width: none; }
.ed-stands { display: flex; gap: 1rem; align-items: center; justify-content: space-between; }
.ed-stands .ed-btn { flex: none; }
.ed-preview .stands { margin: 0; }

/* Vacancies editor */
.ed-vac-group { border: 0; padding: 0; margin: 0 0 1.1rem; }
.ed-vac-head { font-weight: 700; margin-bottom: .45rem; padding: 0; }
.ed-vac-chairs { display: flex; flex-wrap: wrap; gap: .5rem; }
.ed-vac-chair { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .85rem; border: 1.5px solid #8a7e70; border-radius: 999px; background: var(--white); cursor: pointer; font-weight: 500; }
.ed-vac-chair:has(input:checked) { background: #4f5a24; border-color: #4f5a24; color: var(--white); }
.ed-vac-chair input { accent-color: #4f5a24; }
.ed-vac-extra-label { display: block; font-weight: 700; margin-bottom: .35rem; }
.ed-vac-extra { width: 100%; padding: .65rem .8rem; border: 1.5px solid #8a7e70; border-radius: 10px; font: inherit; background: var(--white); }
.ed-vac-summary { background: var(--white); border-radius: 14px; padding: 1rem 1.2rem; margin: 0 0 1rem; }

/* Editor bar: back to the public site */
.ed-bar-site { color: var(--brass-light); font-weight: 600; margin-left: .5rem; white-space: nowrap; }
.ed-bar-site::after { content: " →"; }
.ed-bar-site:hover { color: var(--white); }

/* Page not found: the broken trumpet, the tuba joke, ways out */
.nf { margin-top: 1.75rem; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 2.25rem; align-items: start; }
@media (max-width: 700px) { .nf { grid-template-columns: 1fr; gap: 1.75rem; } }
.nf-photo { margin: 0; }
.nf-photo img { display: block; width: 100%; height: auto; transform: rotate(-1.5deg); box-shadow: 10px 10px 0 var(--secondary); }
.nf-joke { margin: 0; font-family: var(--font-heading); font-size: clamp(1.4rem, 3vw, 1.75rem); line-height: 1.2; }
.nf-punch { margin: .35rem 0 1.25rem; font-family: var(--font-heading); font-size: clamp(1.4rem, 3vw, 1.75rem); line-height: 1.2; color: #8c1f4b; }
.nf-links { list-style: none; margin: .75rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.nf-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1.1rem; border: 2px solid var(--primary); border-radius: 999px; background: var(--white); color: #8c1f4b; font-weight: 700; text-decoration: none; }
.nf-links a:hover, .nf-links a:focus-visible { background: var(--primary); color: var(--white); }
.nf-links li:first-child a { background: var(--primary); color: var(--white); }
.nf-links li:first-child a:hover { background: var(--primary-dark); }

/* Header above the strap, so the About dropdown opens over it (both were z-index 10) */
.site-header { z-index: 30; }

/* Dropdown arrow beside About: says "there's more here", flips when the menu opens */
.menu-caret { display: inline-block; width: .5em; height: .5em; margin-left: .4em; border-right: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: translateY(-.2em) rotate(45deg); transition: transform .2s ease; }
.menu .has-submenu:hover .menu-caret,
.menu .has-submenu:focus-within .menu-caret { transform: translateY(.05em) rotate(-135deg); }
@media (max-width: 39.9375em) { .menu-caret { display: none; } }
@media (prefers-reduced-motion: reduce) { .menu-caret { transition: none; } }

/* Musical Directors: the committee cards with a brass strap (dark text: white on brass fails contrast) */
.com-grid--brass .com-role { background: var(--secondary); color: var(--black); }
.com-grid--brass .com-card { box-shadow: 6px 6px 0 var(--primary); }

/* Player of the day: "One of 41 players. Meet the band" sits under the part, above the question */
.potd-part { margin-bottom: .35rem; }
.potd-band { margin: 0 0 1.4rem; font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.potd-band a { color: #8c1f4b; text-decoration: none; border-bottom: 2px solid var(--secondary); padding-bottom: 1px; }
.potd-band a::after { content: " \2192"; }
.potd-band a:hover, .potd-band a:focus-visible { border-bottom-color: #8c1f4b; }
/* The MDs' cards are a size up from the committee's: two across, so "Asst. Musical Director" fits on one line */
.com-grid--brass { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 54rem; gap: 2rem; }
.com-grid--brass .com-role { font-size: 1.5rem; }
.com-grid--brass .com-name { font-size: 2.1rem; }
@media (max-width: 560px) { .com-grid--brass { grid-template-columns: 1fr; } }

/* Our Members: "Click a player to read their story" beside each section heading ("Tap" on touch screens) */
.mem-sec .charity-title .sec-hint { font-weight: 600; color: var(--dark-gray); font-size: .9375rem; }
.sec-hint::after { content: " \2193"; }
.hint-tap { display: none; }
@media (hover: none) { .hint-click { display: none; } .hint-tap { display: inline; } }

/* Editor home: This week + a tile per area */
.ed-jobs { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.ed-jobs li { display: flex; flex-wrap: wrap; gap: .25rem .9rem; align-items: baseline; justify-content: space-between; padding: .75rem 1rem; background: var(--brass-light); border-radius: 12px; line-height: 1.45; }
.ed-jobs a { font-weight: 700; white-space: nowrap; }
.ed-jobs a::after { content: " \2192"; }
.ed-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 1.25rem; }
.ed-tile { display: flex; flex-direction: column; background: var(--white); border-radius: 18px; padding: 1.4rem 1.5rem 1.5rem; }
.ed-tile-title { font-family: var(--font-heading); font-weight: 400; font-size: 1.6rem; margin: 0 0 .5rem; }
.ed-tile-text { margin: 0 0 1.25rem; line-height: 1.5; color: var(--dark-gray); }
.ed-tile-actions { margin: auto 0 0; display: flex; flex-wrap: wrap; gap: .75rem 1.1rem; align-items: center; }
.ed-tile-actions a:not(.ed-btn) { font-weight: 700; }
.ed-tile--help { background: var(--brass-light); }

/* ===== Band Room (from the "LCB Band Room ideas" canvas): front page, topic lists, year by year ===== */
.width-lg { max-width: 75rem; margin-inline: auto; padding-inline: 1rem; }

/* On the stands as a strap */
.stands-strap { background: var(--black); color: var(--light-gray); }
.stands-strap-in { max-width: 75rem; margin: 0 auto; padding: .7rem 1rem; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.1rem; font-size: .9375rem; }
.stands-strap-tag { background: var(--secondary); color: var(--black); font-weight: 700; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; padding: .3rem .5rem .25rem; }
.stands-strap-music { font-weight: 600; }
.stands-strap-for { color: var(--brass-light); }
.stands-strap-link { margin-left: auto; color: var(--brass-light); font-weight: 700; font-size: .875rem; }
.stands-strap-link::after { content: " \2192"; }
.stands-strap-link:hover, .stands-strap-link:focus-visible { color: var(--white); }

/* Topic tabs */
.br-tabs { display: flex; flex-wrap: wrap; gap: .25rem; margin: 1.25rem 0 0; padding-bottom: .75rem; border-bottom: 2px solid var(--black); }
.br-tabs a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1rem; font-weight: 700; font-size: .875rem; letter-spacing: .06em; text-transform: uppercase; color: var(--black); text-decoration: none; }
.br-tabs a:hover { color: #8c1f4b; }

/* Band Room: thinner Be a Friend strip, near the foot of the page, linking to the newsletters */
.br-friend { padding: 1.1rem 1rem; }
.br-friend-in { max-width: 64rem; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1.5rem; }
.br-friend-text { margin: 0; color: var(--white); font-weight: 600; font-size: 1rem; }
.br-friend .friend-btn { min-height: 40px; padding: .6rem 1.1rem; }
.br-tabs a[aria-current="page"] { background: var(--black); color: var(--white); }

/* Shared bits */
.br-kicker { margin: 0; display: flex; flex-wrap: wrap; gap: .4rem .6rem; align-items: center; }
.br-tag { display: inline-block; background: var(--secondary); color: var(--black); font-weight: 700; font-size: .75rem; line-height: 1; letter-spacing: .1em; text-transform: uppercase; padding: .35rem .45rem .3rem; }
.br-tag--writeups { background: var(--primary); color: var(--white); }
.br-tag--greg, .br-tag--dark { background: var(--black); color: var(--white); }
.br-meta { font-weight: 600; font-size: .875rem; line-height: 1.3; color: #5b6a70; }
body .sec-head.br-sec { margin-top: 4.5rem; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: .5rem 1rem; }
body .br-sec a { font-weight: 700; }
body .br-sec p { margin: 0 0 .5rem; }

/* Bylines */
.br-by { display: flex; align-items: center; gap: .65rem; }
.br-av { flex: none; width: 2.4rem; height: 2.4rem; }
.br-av .mem-photo { width: 100%; height: 100%; margin: 0; border-radius: 50%; font-size: 1.1rem; }
.br-by--l .br-av { width: 3.25rem; height: 3.25rem; }
.br-by--l .br-av .mem-photo { border: 3px solid var(--white); box-shadow: 0 0 0 2px var(--black); font-size: 1.4rem; }
.br-who { display: flex; flex-direction: column; line-height: 1.3; }
.br-who a { font-weight: 700; color: var(--black); }
.br-part { font-size: .875rem; font-weight: 600; color: #5b6a70; }

/* Picture or title tile, with a play mark for posts with video */
.br-card-pic, .br-row-pic, .br-lead-photo { position: relative; display: block; }
.br-card-pic img, .br-row-pic img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.br-tile { display: flex; align-items: flex-end; aspect-ratio: 3 / 2; background: var(--black); padding: 1.1rem; box-sizing: border-box; }
.br-tile span { font-family: var(--font-heading); font-size: 2rem; line-height: 1.02; color: var(--secondary); text-transform: uppercase; }
.br-tile--long span { font-size: 1.4rem; }
.br-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 3.25rem; height: 3.25rem; display: grid; place-items: center; background: var(--primary); color: var(--white); }
.br-badge { position: absolute; left: 0; bottom: 0; background: var(--black); color: var(--white); font-weight: 700; font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; padding: .5rem .75rem; }

/* Lead story */
.br-lead { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 2.5rem; align-items: center; margin-top: 2.75rem; }
.br-lead-photo { box-shadow: 10px 10px 0 var(--secondary); }
.br-lead-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.br-lead-text { display: flex; flex-direction: column; gap: 1rem; }
.br-lead-title { margin: 0; font-family: var(--font-heading); font-weight: 400; font-size: clamp(2rem, 4vw, 2.9rem); line-height: 1.05; }
.br-lead-title a { color: var(--black); text-decoration: none; }
.br-lead-title a:hover { text-decoration: underline; }
.br-lead-dek { margin: 0; font-size: 1.1875rem; line-height: 1.55; }
@media (max-width: 760px) { .br-lead { grid-template-columns: 1fr; gap: 1.75rem; } }

/* Story cards */
.br-cards { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 1.75rem; }
.br-card { background: var(--white); display: flex; flex-direction: column; }
.br-card-body { display: flex; flex-direction: column; gap: .6rem; flex: 1; padding: 1.1rem 1.25rem 1.35rem; }
.br-card-title { margin: 0; font-family: var(--font-heading); font-weight: 400; font-size: 1.55rem; line-height: 1.15; }
.br-card-title a { color: var(--black); text-decoration: none; }
.br-card-title a:hover { text-decoration: underline; }
.br-card-dek { margin: 0; line-height: 1.5; }
.br-card .br-by { margin-top: auto; padding-top: .5rem; }

/* Greg's series: a full-width brass band */
.br-series { margin-top: 4.5rem; background: var(--secondary); box-shadow: 0 0 0 100vmax var(--secondary); clip-path: inset(0 -100vmax); padding: 3rem 0; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2.5rem; align-items: center; }
.br-series h2 { margin: .75rem 0 0; font-family: var(--font-heading); font-weight: 400; font-size: clamp(1.8rem, 3.1vw, 2.4rem); line-height: 1.04; text-transform: uppercase; overflow-wrap: anywhere; }
.br-series-intro > p:first-child { margin: 0; }
.br-series-dek { margin: 1rem 0 1.25rem; font-size: 1.125rem; line-height: 1.5; }
.br-series .br-by--l .br-av .mem-photo { box-shadow: 0 0 0 2px var(--black); }
.br-series .br-part, .br-series .br-meta { color: var(--black); }
.br-series-latest { display: grid; grid-template-columns: 13.75rem minmax(0, 1fr); background: var(--black); color: var(--white); text-decoration: none; }
.br-series-latest img { display: block; width: 100%; height: 100%; min-height: 9.4rem; object-fit: cover; }
.br-series-latest-text { padding: 1.1rem 1.4rem; display: flex; flex-direction: column; justify-content: center; gap: .4rem; }
.br-series-kicker { color: var(--brass-light); font-weight: 700; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
.br-series-pick { font-family: var(--font-heading); font-size: 1.5rem; line-height: 1.15; }
.br-series-latest:hover .br-series-pick { text-decoration: underline; }
.br-series-nums { list-style: none; margin: .9rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.br-series-nums a { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; background: var(--white); color: var(--black); font-family: var(--font-heading); font-size: 1.05rem; text-decoration: none; }
.br-series-nums a:hover, .br-series-nums a:focus-visible { background: var(--black); color: var(--white); }
.br-series-note { margin: .6rem 0 0; font-size: .875rem; font-weight: 600; }
@media (max-width: 760px) { .br-series { grid-template-columns: 1fr; } .br-series-latest { grid-template-columns: 1fr; } }

/* Topic list rows (author first) */
.br-rows { list-style: none; margin: 0; padding: 0; }
.br-row { display: grid; grid-template-columns: 18.75rem minmax(0, 1fr); gap: 2.25rem; padding: 2.25rem 0; border-bottom: 2px solid var(--black); }
.br-row-body { display: flex; flex-direction: column; gap: .7rem; }
.br-row-title { margin: 0; font-family: var(--font-heading); font-weight: 400; font-size: clamp(1.6rem, 3vw, 2.1rem); line-height: 1.1; }
.br-row-title a { color: var(--black); text-decoration: none; }
.br-row-title a:hover { text-decoration: underline; }
.br-row-sub { margin: -.3rem 0 0; font-weight: 600; color: #5b6a70; }
.br-row-dek { margin: 0; font-size: 1.0625rem; line-height: 1.55; max-width: 38em; }
.br-count { margin: 1.5rem 0 0; font-weight: 600; }
@media (max-width: 700px) { .br-row { grid-template-columns: 1fr; gap: 1rem; } }

/* Year by year: the scrapbook */
.br-years { margin-top: 1rem; }
.br-yr { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 2rem; padding: 2rem 0; border-bottom: 2px solid var(--black); }
.br-yr-head { align-self: start; position: sticky; top: 1rem; }
.br-yr-num { margin: 0; font-family: var(--font-heading); font-weight: 400; font-size: 4.5rem; line-height: .9; color: var(--primary); }
.br-yr-head .br-meta { margin: .4rem 0 0; }
.br-yr-strip { list-style: none; margin: 0 0 1.25rem; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .6rem; }
.br-yr-strip li:nth-child(odd) img { transform: rotate(-1deg); }
.br-yr-strip li:nth-child(even) img { transform: rotate(.8deg); }
.br-yr-strip img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border: 4px solid var(--white); box-shadow: 3px 3px 0 var(--secondary); box-sizing: border-box; }
.br-yr-list { list-style: none; margin: 0; padding: 0; columns: 2 18rem; column-gap: 2.5rem; }
.br-yr-list li { break-inside: avoid; padding: .6rem 0; border-top: 1px solid #c9c1b6; display: flex; flex-direction: column; gap: .15rem; }
.br-yr-list a { font-weight: 600; color: var(--black); text-decoration: none; }
.br-yr-list a:hover { text-decoration: underline; color: #8c1f4b; }
.br-yr-tag { text-transform: uppercase; letter-spacing: .06em; font-size: .75rem; }
@media (max-width: 700px) { .br-yr { grid-template-columns: 1fr; gap: .75rem; } .br-yr-head { position: static; } .br-yr-num { font-size: 3.25rem; } .br-yr-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ed-pin { flex-basis: 100%; }

/* Form sent: thank-you panel shown after Join, Book and Friends forms (?sent=1) */
.hello-sent {
  background: var(--white);
  border-top: 6px solid var(--primary);
  border-radius: 0.75rem;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 0.75rem 2rem rgba(47, 66, 73, 0.15);
}
.hello-sent h3 { margin: 0.5rem 0; color: var(--primary); }
.hello-sent p { max-width: 32rem; margin-inline: auto; }
.hello-sent-tick {
  width: 3.5rem; height: 3.5rem; margin: 0 auto;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--secondary); color: var(--secondary-contrast);
  font-size: 1.75rem; font-weight: 700;
}
.hello-sent-again { font-weight: 600; }

/* Phone menu, tidied: About's pages sit in a compact two-column block under it,
   and See us live is a full-width button, so the open menu fits one screen. */
@media (max-width: 39.9375em) {
  .menu .has-submenu > a { border-bottom: 0; padding-bottom: 0.4rem; }
  .menu .has-submenu .menu-caret { display: none; }
  .submenu {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 1rem;
    padding: 0 0 0.75rem 0;
    border-bottom: 2px solid var(--dark-gray);
  }
  .submenu a {
    font-size: 1rem;
    padding: 0.45rem 0;
    border-bottom: 0;
    color: var(--light-gray);
  }
  /* Touch devices fire :hover on tap; the desktop hover rule would switch the
     grid to a single block list, moving every item. Keep the grid whatever the state. */
  .menu li:hover > .submenu,
  .menu li:focus-within > .submenu {
    display: grid;
  }
  .whats-on {
    width: 100%;
    text-align: center;
  }
}

/* Book us: raspberry in the desktop menu, so bookings stand out next to See us live */
@media (min-width: 40em) {
  .menu .menu-cta > a { color: var(--primary); }
  .menu .menu-cta > a:hover { color: var(--primary-dark); }
  .menu .menu-cta.is-active > a { color: var(--white); background: var(--primary); }
}

/* Join / Book / Friends titles: each line stays one strip. The size follows the text
   column (container units), so "the band" shrinks to fit instead of wrapping into a big block. */
.join-hero-text { container-type: inline-size; }
.join-title { font-size: clamp(2.4rem, 15cqi, 6.25rem); }
.join-title span { white-space: nowrap; }

/* ---------- Newsletters (/newsletters, Friends only) ---------- */
.nl-friends { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem; margin: 1.25rem 0 2rem; padding: 0.75rem 1rem; background: var(--brass-light); font-weight: 600; }
.nl-tag { background: var(--black); color: var(--white); padding: 0.25rem 0.6rem; font-size: 0.8125rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.nl-lead { display: grid; gap: 1.5rem; margin: 0 0 3rem; padding: 1.25rem; background: var(--white); border: 3px solid var(--black); box-shadow: 10px 10px 0 var(--secondary); }
.nl-lead-cover { display: block; line-height: 0; }
.nl-lead-cover img { width: 100%; height: auto; box-shadow: 0 0 0 1px var(--medium-gray); }
.nl-kicker { display: inline-block; background: var(--primary); color: var(--white); padding: 0.25rem 0.6rem; font-size: 0.8125rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; transform: rotate(-2deg); }
.nl-lead h2 { margin: 0.9rem 0 0.3rem; font-family: var(--font-heading); font-weight: 400; font-size: clamp(2rem, 6vw, 3.25rem); line-height: 1.02; text-transform: uppercase; }
.nl-season { margin: 0 0 1rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--dark-gray); }
.nl-inside { margin: 0 0 1.25rem; padding: 0; list-style: none; counter-reset: nl; border-top: 2px solid var(--black); }
.nl-inside li { counter-increment: nl; padding: 0.55rem 0; border-bottom: 1px solid var(--medium-gray); font-weight: 600; }
.nl-inside li::before { content: counter(nl, decimal-leading-zero); display: inline-block; min-width: 2rem; color: var(--primary); font-weight: 800; }
.nl-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; margin: 0; font-size: 0.875rem; color: var(--dark-gray); }
.button.nl-ghost { background: transparent; color: var(--black); box-shadow: inset 0 0 0 2px var(--black); }
.button.nl-ghost:hover, .button.nl-ghost:focus-visible { background: var(--black); color: var(--white); }
.nl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 1rem; margin: 0; padding: 0; list-style: none; }
.nl-cover { position: relative; display: block; padding: 6px; background: var(--white); box-shadow: 0 0 0 1px var(--medium-gray); line-height: 0; transition: transform 0.15s; }
.nl-cover img { width: 100%; height: auto; aspect-ratio: 600 / 849; object-fit: cover; }
.nl-cover:hover, .nl-cover:focus-visible { transform: rotate(-1.5deg) translateY(-3px); box-shadow: 0 0 0 2px var(--black), 6px 6px 0 var(--primary); }
.nl-pill { position: absolute; left: -6px; top: 14px; padding: 0.25rem 0.5rem; background: var(--black); color: var(--white); font-size: 0.75rem; font-weight: 800; line-height: 1.2; letter-spacing: 0.08em; text-transform: uppercase; }
.nl-card h3 { margin: 0.75rem 0 0.2rem; font-size: 1.05rem; font-weight: 800; line-height: 1.25; }
.nl-card h3 a { color: var(--black); text-decoration: none; }
.nl-card h3 a:hover { text-decoration: underline; }
.nl-card p { margin: 0; font-size: 0.875rem; color: var(--dark-gray); }
.nl-dl { font-weight: 700; }
@media (min-width: 40em) {
  .nl-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nl-lead { grid-template-columns: minmax(0, 18rem) 1fr; gap: 2rem; padding: 1.75rem; }
}
@media (min-width: 64em) {
  .nl-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) { .nl-cover { transition: none; } .nl-cover:hover, .nl-cover:focus-visible { transform: none; } }
.friend-already { margin: 0.75rem 0 0; font-weight: 600; }

/* ---------- Photo band (partials/photo-band.twig) ----------
   One of the old site's header photos, edge to edge, part way down a page.
   Desktop with a mouse: the photo is fixed and the page scrolls over it.
   Phones, tablets and "reduce motion": a still band (iOS ignores fixed backgrounds anyway). */
.photo-band {
  position: relative;
  margin: 0;
  height: clamp(15rem, 40vw, 30rem);
  border-block: 6px solid var(--black);
  background: var(--dark-gray);
  overflow: hidden;
}
.photo-band-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-repeat: no-repeat;
}
@media (hover: hover) and (pointer: fine) and (min-width: 64em) and (prefers-reduced-motion: no-preference) {
  .photo-band-img {
    background-attachment: fixed;
  }
}
/* The wrapper reopened after a band: don't stack its padding on a first child's own top margin */
.photo-band + .bg-stone > div > .book-cta:first-child,
.photo-band + .bg-stone > div > .sec-head.br-sec:first-child {
  margin-top: 0;
}

/* Band Room posts with several photos: spread through the text, no titles (blog.twig) */
.post-photo {
  margin: 2.25rem 0;
}
.post-photo a {
  display: block;
  line-height: 0;
  box-shadow: 10px 10px 0 var(--secondary);
}
.post-photo img {
  display: block;
  width: 100%;
  height: auto;
  border: 4px solid var(--black);
}
@media (min-width: 64em) {
  .post-photo {
    margin-right: -6rem;
  }
}

/* MD page: Brass Band Results frames (md.twig) */
.md-results-band {
  margin-top: 3rem;
}
.md-results-grid {
  display: grid;
  gap: 2.5rem;
  margin-top: 1.5rem;
}
@media (min-width: 64em) {
  .md-results-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.md-frame {
  margin: 0;
  position: relative;
}
.md-frame-tag {
  display: inline-block;
  margin: 0;
  padding: 0.25rem 0.6rem;
  background: var(--primary);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: rotate(-2deg);
  transform-origin: left bottom;
}
.md-frame-head {
  margin: 0.6rem 0 0.75rem;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(1.375rem, 3vw, 1.75rem);
  line-height: 1.15;
}
.md-frame-text {
  margin: 0.25rem 0 1.25rem;
  max-width: 32rem;
}
.md-frame-btn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.9rem 1.5rem;
  background: var(--black);
  color: var(--white);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  box-shadow: 8px 8px 0 var(--secondary);
}
.md-frame-btn:hover,
.md-frame-btn:focus-visible {
  background: var(--primary);
}
.md-frame figcaption {
  margin-top: 1rem;
  font-size: 0.9375rem;
  color: var(--dark-gray);
}
.md-frame figcaption a {
  font-weight: 700;
}

/* MD page: the band's contest results table, fed by Brass Band Results (md.twig) */
.md-band-results {
  margin-top: 3rem;
}
.md-results-scroll {
  border: 4px solid var(--black);
  background: var(--white);
  box-shadow: 10px 10px 0 var(--secondary);
}
.md-results-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}
.md-results-table th {
  position: sticky;
  top: 0;
  background: var(--black);
  color: var(--white);
  text-align: left;
  font-family: var(--font-heading);
  font-weight: 400;
  padding: 0.7rem 0.8rem;
}
.md-results-table td {
  padding: 0.6rem 0.8rem;
  border-top: 2px solid var(--black);
  vertical-align: top;
}
.md-results-table tbody tr:nth-child(even) {
  background: var(--light-gray);
}
.md-results-table a {
  font-weight: 700;
}
.md-attrib {
  margin: 1rem 0 0;
  font-size: 0.9375rem;
  color: var(--dark-gray);
}
.md-attrib a {
  font-weight: 700;
}

.md-results-table th:first-child,
.md-results-table td:first-child {
  white-space: nowrap;
}

.md-results-table th:last-child,
.md-results-table td:last-child {
  white-space: nowrap;
}

/* MD results table: top three placings, whole row in brass (gold), warm grey (silver), raspberry (bronze) */
.md-results-table tr.pos-1 td { background: var(--secondary); color: var(--black); font-weight: 700; }
.md-results-table tr.pos-2 td { background: var(--medium-gray); color: var(--black); font-weight: 700; }
.md-results-table tr.pos-3 td { background: var(--primary); color: var(--white); font-weight: 700; }
.md-results-table tr.pos-3 td a { color: var(--white); }

/* Home: the our-own-concert highlight sits in the same column as the rest of the page, not the full window (events page keeps the full-width band) */
.gigs--home .gig--own {
  box-shadow: none;
  clip-path: none;
}

/* Home: a little less air above The Band Room (the landmark makes the heading row taller, so the gap looked bigger) */
.home-band-room {
  padding-top: 2rem;
}

/* Cake rota name: a raspberry sticker */
.stands-sticker {
  display: inline-block;
  margin: 0 0.1rem;
  padding: 0.1rem 0.5rem 0.05rem;
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
  transform: rotate(-2deg);
  box-shadow: 3px 3px 0 var(--black);
}

/* ---------- 40. Our history (/about/history) ----------
   Timeline with a brass spine that fills as you scroll, a year rail that follows you,
   filter chips by kind, a podium for contests and a bar chart of officers.
   Colours per kind come from --gc on .g-* so chips, dots and labels match.
   Works without JavaScript: everything shows; .js adds the scroll effects. */
.hist .g-all       { --gc: var(--black); }
.hist .g-milestone { --gc: var(--primary); }
.hist .g-concert   { --gc: #2f6b8a; }
.hist .g-outdoor   { --gc: #3f7a3a; }
.hist .g-contest   { --gc: var(--secondary-dark); }
.hist .g-christmas { --gc: #a3302a; }
.hist .g-charity   { --gc: #6b4a8f; }
.hist .g-life      { --gc: var(--dark-gray); }

/* Hero */
.hist-lede { max-width: 44rem; margin: 1.5rem 0 0; font-size: clamp(1.05rem, 1.6vw, 1.2rem); line-height: 1.6; }
.hist-stats { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)); gap: 1rem; }
.hist-stats li { background: var(--white); border: 3px solid var(--black); padding: 0.9rem 1rem 1rem; box-shadow: 6px 6px 0 var(--secondary); }
.hist-stats li:nth-child(even) { box-shadow: 6px 6px 0 var(--primary); }
.hist-stats strong { display: block; font-family: var(--font-heading); font-weight: 400; font-size: clamp(2rem, 4.5vw, 2.75rem); line-height: 1; color: var(--black); font-variant-numeric: tabular-nums; }
.hist-stats span { display: block; margin-top: 0.35rem; font-size: 0.9rem; color: var(--dark-gray); line-height: 1.35; }

/* Filter chips */
.hist-filter { display: flex; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 0.5rem; margin: 1.5rem 0 0; position: sticky; top: 0; z-index: 5; padding: 0.6rem 0; background: var(--light-gray); }
.hist-chip { flex: none; display: inline-flex; align-items: center; gap: 0.45rem; font: inherit; font-size: 0.9rem; font-weight: 600; padding: 0.4rem 0.8rem; border: 2px solid var(--black); border-radius: 2rem; background: var(--white); color: var(--black); cursor: pointer; transition: background 0.15s, color 0.15s, transform 0.15s; }
.hist-chip i { width: 0.7rem; height: 0.7rem; border-radius: 50%; background: var(--gc); }
.hist-chip:hover { transform: translateY(-2px); }
.hist-chip.is-on { background: var(--black); color: var(--white); }
.hist-chip.is-on i { box-shadow: 0 0 0 2px var(--white); }

/* Layout: year rail + timeline */
.hist-grid { display: grid; gap: 1.5rem; margin-top: 1.5rem; }
.hist-grid > * { min-width: 0; }
.hist-rail ol { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.35rem; overflow-x: auto; scrollbar-width: none; }
.hist-rail a { display: block; padding: 0.3rem 0.6rem; font-weight: 700; font-size: 0.9rem; color: var(--dark-gray); text-decoration: none; white-space: nowrap; border-bottom: 3px solid transparent; font-variant-numeric: tabular-nums; }
.hist-rail a:hover { color: var(--primary); }
.hist-rail a[aria-current] { color: var(--black); border-bottom-color: var(--primary); }
@media (min-width: 56em) {
  .hist-filter { flex-wrap: wrap; overflow: visible; }
  .hist-year { scroll-margin-top: 7rem; }
  .hist-grid { grid-template-columns: 8.5rem minmax(0, 1fr); gap: 2rem; }
  .hist-rail { position: sticky; top: 4.5rem; align-self: start; }
  .hist-rail ol { flex-direction: column; gap: 0; border-left: 2px solid var(--medium-gray); }
  .hist-rail a { border-bottom: 0; border-left: 4px solid transparent; margin-left: -3px; padding: 0.35rem 0.75rem; transition: padding 0.2s, color 0.2s; }
  .hist-rail a[aria-current] { border-left-color: var(--primary); padding-left: 1.1rem; font-size: 1.05rem; }
}

/* The spine: grey track with a brass fill driven by --fill (0–1) */
.hist-line { position: relative; padding-left: 2.25rem; }
.hist-line::before, .hist-line::after { content: ""; position: absolute; left: 0.7rem; top: 0.5rem; width: 4px; border-radius: 2px; }
.hist-line::before { bottom: 0; background: var(--medium-gray); }
.hist-line::after { height: calc((100% - 0.5rem) * var(--fill, 1)); background: linear-gradient(var(--secondary), var(--primary)); box-shadow: 0 0 12px rgba(200, 160, 78, 0.6); }
@media (min-width: 40em) { .hist-line { padding-left: 3rem; } .hist-line::before, .hist-line::after { left: 1rem; } }

/* Years */
.hist-year { scroll-margin-top: 4.5rem; padding-bottom: 2rem; }
.hist-year.is-empty { display: none; }
.hist-yhead { position: relative; margin: 1.5rem 0 1rem; }
.hist-yhead h3 { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 1rem; }
.hist-num { font-family: var(--font-heading); font-weight: 400; font-size: clamp(3.5rem, 11vw, 6.5rem); line-height: 0.9; color: transparent; -webkit-text-stroke: 2px var(--black); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; background: linear-gradient(90deg, var(--secondary), var(--primary)) left / 0% 100% no-repeat; -webkit-background-clip: text; background-clip: text; transition: background-size 1s ease-out; }
.hist-yhead.in .hist-num { background-size: 100% 100%; }
.hist-num { padding: 0.05em 0.06em 0.24em; margin: -0.05em -0.06em -0.24em; } /* room for the 3, 5, 7 and 9 below the line, so the fill covers them */
.hist-tag { display: inline-block; background: var(--black); color: var(--white); font-family: var(--font-heading); font-weight: 400; text-transform: uppercase; font-size: clamp(1rem, 2.4vw, 1.35rem); padding: 0.25em 0.55em 0.18em; transform: rotate(-2deg); }
.hist-sum { margin: 0.6rem 0 0; max-width: 40rem; font-style: italic; color: var(--dark-gray); }
.hist-yhead::before { content: ""; position: absolute; left: -2.25rem; top: 1.6rem; width: 1.65rem; height: 1.65rem; margin-left: -0.15rem; border-radius: 50%; background: var(--black); border: 4px solid var(--secondary); box-sizing: border-box; }
@media (min-width: 40em) { .hist-yhead::before { left: -3rem; margin-left: 0.15rem; top: 2.4rem; } }

/* Events */
.hist-ev { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.hist-item { position: relative; }
.hist-dot { position: absolute; left: -1.85rem; top: 0.95rem; width: 0.85rem; height: 0.85rem; border-radius: 50%; background: var(--gc); box-shadow: 0 0 0 3px var(--light-gray); display: grid; place-items: center; font-size: 0.7rem; font-weight: 800; color: var(--white); }
@media (min-width: 40em) { .hist-dot { left: -2.35rem; } }
.hist-card { background: var(--white); border-left: 4px solid var(--gc); padding: 0.65rem 0.9rem; box-shadow: 0 1px 0 var(--medium-gray); }
.hist-meta { margin: 0 0 0.2rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.2rem 0.6rem; }
.hist-meta time { font-weight: 800; font-size: 0.85rem; color: var(--black); font-variant-numeric: tabular-nums; }
.hist-k { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gc); }
.hist-t { margin: 0; line-height: 1.5; }
.hist-more { margin: 0.5rem 0 0; font-weight: 700; }
.hist-more a::after { content: " →"; }

/* Key events: bigger, tilted card with a hard shadow; medal dots for contests */
.hist-item.is-key .hist-card { border: 3px solid var(--black); border-top: 8px solid var(--gc); padding: 1rem 1.15rem; box-shadow: 7px 7px 0 var(--gc); }
.hist-item.is-key .hist-t { font-size: 1.08rem; }
.hist-item.is-key .hist-dot { width: 1.4rem; height: 1.4rem; left: -2.1rem; top: 1rem; border: 3px solid var(--white); box-shadow: 0 0 0 3px var(--gc); }
@media (min-width: 40em) { .hist-item.is-key .hist-dot { left: -2.6rem; } .hist-item.is-key { margin: 0.6rem 0; } .hist-item.is-key:nth-child(odd) .hist-card { transform: rotate(-0.6deg); } .hist-item.is-key:nth-child(even) .hist-card { transform: rotate(0.5deg); } }
.hist-item.g-contest.is-key .hist-dot { width: 1.9rem; height: 1.9rem; left: -2.35rem; top: 0.8rem; font-size: 0.95rem; background: radial-gradient(circle at 35% 30%, #fff5d6, var(--secondary) 45%, var(--secondary-dark)); color: var(--black); }
@media (min-width: 40em) { .hist-item.g-contest.is-key .hist-dot { left: -2.85rem; } }

.hist-next { margin: 1rem 0 0; font-family: var(--font-heading); font-size: 1.3rem; }
.hist-next a { font-family: var(--font-body); font-size: 1rem; font-weight: 700; }

/* Scroll reveal (only when JS is on and motion is fine) */
.hist.js .hist-item, .hist.js .hist-podium li, .hist.js .hist-fix { opacity: 0; transform: translateY(18px); transition: opacity 0.5s ease-out, transform 0.5s ease-out; }
.hist.js .hist-item.in, .hist.js .hist-podium li.in, .hist.js .hist-fix.in { opacity: 1; transform: none; }
.hist.js .hist-item.is-key:not(.in) { transform: translateX(-24px) rotate(-2deg); }

/* Contest record: medals on a dark band */
.hist-contests { color: var(--white); }
.hist-dark-title { margin: 0; font-family: var(--font-heading); font-weight: 400; text-transform: uppercase; font-size: clamp(1.75rem, 4.6vw, 3rem); color: var(--white); }
.hist-dark-lede { margin: 0.4rem 0 1.75rem; color: var(--brass-light); font-style: italic; }
.hist-podium { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)); gap: 1rem; align-items: end; }
.hist-podium li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.25rem; padding: 1.2rem 0.75rem 1rem; border-top: 6px solid var(--medium-gray); background: rgba(255, 255, 255, 0.05); }
.hist-podium strong { font-family: var(--font-heading); font-weight: 400; font-size: 1.5rem; }
.hist-podium span:not(.hist-medal) { font-size: 0.9rem; color: var(--brass-light); }
.hist-podium small { font-size: 0.78rem; color: var(--medium-gray); }
.hist-medal { display: grid; place-items: center; width: 4rem; height: 4rem; border-radius: 50%; font-weight: 800; font-size: 1.15rem; color: var(--black); background: radial-gradient(circle at 35% 30%, #ffffff, #c9c1b6 55%, #8f877c); box-shadow: inset 0 0 0 4px rgba(0, 0, 0, 0.15), 0 4px 0 rgba(0, 0, 0, 0.35); margin-bottom: 0.4rem; }
.hist-podium .p1 { padding-top: 2.6rem; border-top-color: var(--secondary); }
.hist-podium .p1 .hist-medal { width: 5rem; height: 5rem; font-size: 1.4rem; background: radial-gradient(circle at 35% 30%, #fff5d6, #e2bf6a 45%, var(--secondary-dark)); }
.hist-podium .p2 { padding-top: 1.9rem; border-top-color: #c9c1b6; }
.hist-podium .p3 .hist-medal { background: radial-gradient(circle at 35% 30%, #ffe0c4, #c07a45 50%, #7d4a26); }
.hist-podium .p3 { border-top-color: #c07a45; }
.hist-podium .p0 { opacity: 0.6; }
.hist-podium .p0 .hist-medal, .hist-podium .p13 .hist-medal { background: transparent; color: var(--white); box-shadow: inset 0 0 0 3px var(--medium-gray); }
.hist.js .hist-podium li.p0.in { opacity: 0.6; }

/* Officers: a little Gantt chart, 2016 to now */
.hist-gantt { margin-top: 1.5rem; background: var(--white); border: 3px solid var(--black); padding: 1rem; overflow-x: auto; }
.hist-gantt > * { min-width: 40rem; }
.hist-gantt-scale, .hist-gantt-row { display: grid; grid-template-columns: 9rem minmax(32rem, 1fr); align-items: center; }
.hist-gantt-scale { position: relative; height: 1.4rem; font-size: 0.75rem; font-weight: 700; color: var(--dark-gray); font-variant-numeric: tabular-nums; }
.hist-gantt-scale span { position: absolute; left: calc(9rem + (100% - 9rem) * var(--x)); transform: translateX(-50%); }
.hist-gantt-row { padding: 0.5rem 0; border-top: 1px solid var(--medium-gray); }
.hist-gantt-role { margin: 0; font-family: var(--font-body); font-size: 0.85rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; }
.hist-gantt-track { position: relative; height: 2.2rem; margin: 0; background: repeating-linear-gradient(90deg, var(--light-gray) 0 1px, transparent 1px calc(100% / 10)); }
.hist-bar { position: absolute; top: 0.2rem; bottom: 0.2rem; left: var(--a); width: calc(var(--b) - var(--a)); display: flex; align-items: center; padding: 0 0.6rem; font-size: 0.85rem; font-weight: 700; white-space: nowrap; overflow: hidden; color: var(--white); background: var(--primary); border-radius: 0 1rem 1rem 0; }
.hist-bar.alt { background: var(--secondary); color: var(--black); }
.hist-bar.ongoing { border-radius: 0; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 4rem), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 4rem), transparent); }
.hist-note { margin: 1rem 0 0; max-width: 44rem; color: var(--dark-gray); }

/* Regular fixtures */
.hist-fix-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.hist-fix { background: var(--white); border-top: 8px solid var(--gc); padding: 1rem 1.1rem; }
.hist-fix h3 { margin: 0 0 0.5rem; font-family: var(--font-heading); font-weight: 400; font-size: 1.3rem; color: var(--gc); }
.hist-fix ul { margin: 0; padding-left: 1.1rem; }
.hist-fix li { margin: 0.2rem 0; }
.hist-cta { margin-top: 2.5rem; padding: 1.5rem; text-align: center; background: var(--black); color: var(--white); box-shadow: 10px 10px 0 var(--secondary); }
.hist-cta > p:first-child { margin: 0 0 1rem; font-family: var(--font-heading); font-size: clamp(1.4rem, 3vw, 2rem); }
.hist-cta-btns { margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; }
.hist-cta .button.hollow { background: transparent; color: var(--white); box-shadow: inset 0 0 0 2px var(--white); }
.hist-cta .button.hollow:hover { background: var(--white); color: var(--black); }

@media (prefers-reduced-motion: reduce) {
  .hist-num, .hist-chip, .hist-rail a { transition: none; }
  .hist-item.is-key .hist-card { transform: none !important; }
}
@media print {
  .hist-filter, .hist-rail, .hist-cta { display: none; }
  .hist .hist-item, .hist .hist-podium li, .hist .hist-fix { opacity: 1 !important; transform: none !important; }
}

/* ---------- 40b. Our history: stories from the CMS, and the editor's History pages ---------- */
.hist-t > p { margin: 0; }
.hist-t > p + p { margin-top: 0.5rem; }
.ed-hist-years { list-style: none; margin: 0.75rem 0 0; padding: 0; display: grid; gap: 0.35rem; }
.ed-hist-years li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.25rem 1rem; padding: 0.4rem 0; border-bottom: 1px solid var(--medium-gray); }
.ed-hist-years li.is-missing strong { color: var(--primary); }
.ed-hist-y { margin-top: 2rem; }
.ed-hist-dot { display: inline-block; width: 0.65rem; height: 0.65rem; border-radius: 50%; margin-right: 0.4rem; background: var(--gc, var(--dark-gray)); vertical-align: 0.05em; }
.ed-hist .g-milestone, .ed-hist-preview .g-milestone { --gc: var(--primary); }
.ed-hist .g-concert, .ed-hist-preview .g-concert { --gc: #2f6b8a; }
.ed-hist .g-outdoor, .ed-hist-preview .g-outdoor { --gc: #3f7a3a; }
.ed-hist .g-contest, .ed-hist-preview .g-contest { --gc: var(--secondary-dark); }
.ed-hist .g-christmas, .ed-hist-preview .g-christmas { --gc: #a3302a; }
.ed-hist .g-charity, .ed-hist-preview .g-charity { --gc: #6b4a8f; }
.ed-hist .g-life, .ed-hist-preview .g-life { --gc: var(--dark-gray); }
.ed-hist-from { border-left: 4px solid var(--secondary); }
.ed-hist-preview { position: relative; padding: 0.5rem 0 0.5rem 2.5rem; background: var(--light-gray); }
.ed-hist-preview .hist-item .hist-dot { left: -1.85rem; }
.ed-hist-preview .hist-item.is-key .hist-dot { left: -2.1rem; }
.ed-hist-preview .hist-item.is-key .hist-card { transform: rotate(-0.6deg); }
.ed-preview.is-hidden .ed-hist-preview { opacity: 0.45; }

/* ---------- 40c. Our history: the occasional photo, as a small tilted print on the right ----------
   Four looks take turns down the page: polaroid, taped-on, brass frame, raspberry shadow. */
.hist-photo { float: right; width: clamp(7.5rem, 30%, 12rem); margin: 0.1rem 0 0.6rem 1rem; padding: 0.4rem 0.4rem 0.5rem; background: var(--white); line-height: 0; position: relative; z-index: 1; box-shadow: 0 3px 10px rgba(31, 38, 48, 0.25); transform: rotate(3deg); transition: transform 0.25s ease; }
.hist-photo img { display: block; width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; }
.hist-photo figcaption { line-height: 1.2; margin-top: 0.35rem; font-family: var(--font-heading); font-size: 0.8rem; text-align: center; color: var(--dark-gray); }
.hist-photo--polaroid { padding-bottom: 0.4rem; }
.hist-photo--polaroid:not(:has(figcaption)) { padding-bottom: 1.4rem; }
.hist-photo--tape { transform: rotate(-3.5deg); }
.hist-photo--tape::before { content: ""; position: absolute; top: -0.6rem; left: 50%; width: 3.6rem; height: 1.2rem; margin-left: -1.8rem; background: rgba(239, 226, 194, 0.85); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15); transform: rotate(4deg); }
.hist-photo--brass { padding: 0.35rem; background: var(--secondary); box-shadow: inset 0 0 0 2px var(--black), 0 3px 8px rgba(31, 38, 48, 0.25); transform: rotate(2deg); }
.hist-photo--brass img { outline: 2px solid var(--black); }
.hist-photo--brass figcaption { color: var(--black); }
.hist-photo--raspberry { padding: 0; border: 3px solid var(--black); box-shadow: 6px 6px 0 var(--primary); transform: rotate(-2.5deg); }
.hist-photo--raspberry figcaption { margin: 0; padding: 0.3rem 0.4rem; background: var(--black); color: var(--white); }
.hist-card.has-photo::after { content: ""; display: block; clear: both; }
.hist-item.is-key .hist-card.has-photo .hist-photo { margin-top: -0.25rem; }
.hist-photo:hover { transform: rotate(0deg) scale(1.04); }
@media (max-width: 30em) { .hist-photo { width: 40%; margin-left: 0.75rem; } .hist-photo figcaption { font-size: 0.7rem; } }
@media (prefers-reduced-motion: reduce) { .hist-photo { transition: none; } .hist-photo:hover { transform: none; } }
.ed-hist-photo { margin-top: 1rem; padding-top: 1rem; border-top: 1px dashed var(--medium-gray); }

/* ---------- 40d. Our history: dots above the line; photos taped on over the card ----------
   The print sits on the card's top-right corner and hangs a little over the edges, like a
   photo taped on afterwards. The card keeps room on the right so no words go under it, and
   the overhang is small enough to land in the gaps and the empty right-hand corners next door. */
.hist-line::before, .hist-line::after { z-index: 0; }
.hist-dot, .hist-yhead::before { z-index: 2; }
.hist-item.has-photo { z-index: 3; }
.hist-item .hist-card.has-photo, .hist-item.is-key .hist-card.has-photo { position: relative; padding-right: calc(clamp(7.5rem, 30%, 12rem) + 1.25rem); min-height: 8rem; }
.hist-card.has-photo::after { content: none; }
.hist-card.has-photo .hist-photo { float: none; position: absolute; top: 0.6rem; right: -0.7rem; margin: 0; } /* low enough that the tape crosses the card edge */
.hist-photo::before, .hist-photo::after { content: ""; position: absolute; z-index: 2; width: 3.4rem; height: 1.1rem; background: rgba(239, 226, 194, 0.82); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.18); pointer-events: none; }
.hist-photo::after { display: none; }
.hist-photo--polaroid::before { top: -0.55rem; left: 50%; margin-left: -1.7rem; transform: rotate(-3deg); }
.hist-photo--tape::before { top: -0.5rem; left: -0.9rem; transform: rotate(-38deg); }
.hist-photo--tape::after { display: block; bottom: -0.35rem; right: -0.9rem; transform: rotate(-38deg); }
.hist-photo--brass::before { top: -0.45rem; right: -0.8rem; left: auto; transform: rotate(35deg); background: rgba(255, 255, 255, 0.7); }
.hist-photo--raspberry::before { top: -0.6rem; left: 1rem; transform: rotate(6deg); background: rgba(255, 255, 255, 0.75); }
.hist-photo--raspberry::after { display: block; top: -0.55rem; right: 0.6rem; transform: rotate(-8deg); background: rgba(255, 255, 255, 0.75); }
@media (max-width: 30em) {
  .hist-item .hist-card.has-photo, .hist-item.is-key .hist-card.has-photo { padding-right: calc(40% + 0.75rem); }
  .hist-card.has-photo .hist-photo { right: -0.4rem; }
}

/* Preview strip (beta only; switched by Home page Data `preview.on`) */
.preview-strip { background: var(--black); color: var(--white); font-size: 0.875rem; }
.preview-in { max-width: var(--site-width); margin: 0 auto; padding: 0.5rem 1.25rem; display: flex; flex-wrap: wrap; gap: 0.375rem 0.75rem; align-items: center; }
.preview-strip b { background: var(--secondary); color: var(--secondary-contrast); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.75rem; padding: 0.125rem 0.5rem; }
.preview-note { border-left: 4px solid var(--secondary); padding-left: 0.625rem; margin-top: 0.75rem; }

/* ---------- Band through the years (Gallery page, top) ----------
   One line-up photo per year (class_photos), newest first; opens in the Gallery lightbox. */
.lineups { margin: 0 0 3rem; }
.lineups-intro { margin: -0.25rem 0 1.25rem; max-width: 40rem; }
.lcb-gallery.lineups-grid { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
.lineups-grid figure { margin: 0; }
.lcb-gallery.lineups-grid { align-items: start; }
.lcb-gallery.lineups-grid img { aspect-ratio: auto; object-fit: contain; } /* uncropped: the whole band, whatever shape */
.lineups-grid figcaption { margin-top: 0.5rem; line-height: 1.4; }
.lineups-year { display: inline-block; background: var(--secondary); color: var(--secondary-contrast); font-family: var(--font-heading); font-size: 1.25rem; padding: 0 0.5rem; margin-right: 0.5rem; transform: rotate(-2deg); }
.lineups-place { font-weight: 700; }
.lineups-cap { display: block; margin-top: 0.25rem; }
.lineups-grid li:first-child .lineups-year { font-size: 1.5rem; }
@media (min-width: 40em) { .lcb-gallery.lineups-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .lineups-grid li:first-child { grid-column: 1 / -1; } }
@media (min-width: 64em) { .lcb-gallery.lineups-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Home caption: "Brass of 2026" ----------
   The tag reads "Class of 2026"; the "Cl" is struck through in brass marker and "Br" is
   graffitied above it, with a ^ where it goes. Everything is absolutely placed, so the
   raspberry strip keeps its usual padding and the "Br" spills up onto the photo.
   Screen readers hear "Brass of 2026" (visually-hidden text). Sizes are in em of the tag. */
.hero-tag--fix { position: relative; display: inline-block; }
.hero-tag--fix .fix { position: relative; display: inline-block; color: rgba(255, 255, 255, 0.6); }
.fix-strike { position: absolute; left: -0.06em; top: 0.12em; width: calc(100% + 0.08em); height: 0.95em; overflow: visible; pointer-events: none; } /* sized to the Cl only, so the a stays clear */
.fix-strike path { fill: none; stroke: var(--secondary); stroke-linecap: round; }
.fix-new, .fix-caret { position: absolute; font-family: 'Permanent Marker', 'Comic Sans MS', cursive; font-weight: 400; color: var(--secondary); line-height: 1; letter-spacing: 0; pointer-events: none; }
.fix-new { left: 0.02em; top: -0.8em; font-size: 0.87em; transform: rotate(-8deg); }
.fix-caret { left: 50%; top: 0.85em; font-size: 0.7em; transform: translateX(-50%); }

/* ---------- 40e. Our history: the City Band years before 2019, closed until opened ---------- */
.hist-roots { position: relative; margin: 1.5rem 0 2.5rem; }
.hist-roots > summary { list-style: none; cursor: pointer; position: relative; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.2rem 1rem; padding: 0.9rem 1.1rem; background: var(--brass-light); border: 2px dashed var(--secondary); }
.hist-roots > summary::-webkit-details-marker { display: none; }
.hist-roots > summary::before { content: ""; position: absolute; left: -2.25rem; top: 1.2rem; width: 1.15rem; height: 1.15rem; border-radius: 50%; background: var(--brass-light); border: 3px dashed var(--secondary); box-sizing: border-box; z-index: 2; }
@media (min-width: 40em) { .hist-roots > summary::before { left: -3rem; margin-left: 0.4rem; } }
.hist-roots > summary:hover { background: #f5ecd5; }
.hist-roots > summary:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }
.hist-roots-k { flex-basis: 100%; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dark-gray); }
.hist-roots-t { font-family: var(--font-heading); font-size: clamp(1.25rem, 3vw, 1.6rem); line-height: 1.15; }
.hist-roots-btn { margin-left: auto; font-weight: 700; color: var(--primary); white-space: nowrap; }
.hist-roots-btn::after { content: " +"; }
.hist-roots[open] .hist-roots-btn::after { content: " \2013"; }
.hist-roots-hide, .hist-roots[open] .hist-roots-show { display: none; }
.hist-roots[open] .hist-roots-hide { display: inline; }
.hist-roots[open] > summary { margin-bottom: 0.5rem; }
.hist-roots .hist-year:last-child { padding-bottom: 0.5rem; border-bottom: 2px dashed var(--secondary); }
@media print { .hist-roots > summary { display: none; } }

/* ---------- 40f. Our history: photos sit in the card, which grows to fit ----------
   The print floats to the right of the story and the card contains it, so a photo never
   hangs into the next entry, however short the story or however many photos in a row.
   No captions: the story says what the photo shows. */
.hist-item .hist-card.has-photo, .hist-item.is-key .hist-card.has-photo { display: flow-root; padding-right: 0.9rem; min-height: 0; }
.hist-item.is-key .hist-card.has-photo { padding-right: 1.15rem; }
.hist-card.has-photo .hist-photo { position: relative; float: right; top: auto; right: auto; margin: 0.35rem -0.35rem 0.5rem 1rem; }
.hist-photo--polaroid, .hist-photo--polaroid:not(:has(figcaption)) { padding-bottom: 1.1rem; }
@media (max-width: 30em) {
  .hist-item .hist-card.has-photo, .hist-item.is-key .hist-card.has-photo { padding-right: 0.9rem; }
  .hist-card.has-photo .hist-photo { margin: 0.3rem -0.2rem 0.4rem 0.75rem; }
}

/* ---------- 21b. Events page: a photo taped on beside the description ----------
   Uses the Our history print looks (.hist-photo--*). The print floats right in the event's
   text column and the row grows to fit it, so it never hangs into the next event. */
.gig-body { flex: 1 1 auto; }
.gig-body.has-photo { display: flow-root; }
.gig-photo.hist-photo { float: right; width: clamp(7.5rem, 32%, 12rem); margin: 0.45rem 0.1rem 0.5rem 1rem; }
@media (max-width: 30em) { .gig-photo.hist-photo { width: 42%; margin-left: 0.75rem; } }

/* ---------- 6b-2. Home: a stone ring round the brass badge, to lift it off the photo ---------- */
.hero-badge { box-shadow: 0 0 0 4px var(--light-gray), 0 6px 14px rgba(31, 38, 48, 0.35); }
@media (max-width: 47.9375em) { .hero-badge { box-shadow: 0 0 0 3px var(--light-gray), 0 4px 10px rgba(31, 38, 48, 0.35); } }
/* The badge wording fills the circle: the longest word (--fit, in letters, set by the template)
   sets the size, so any wording an editor types fits on its lines. */
.hero-badge { container-type: inline-size; padding: 0; }
.hero-badge-text { display: block; width: 80%; font-size: min(calc(62cqi / (var(--fit, 5) * 0.78)), 20cqi); line-height: 1.05; overflow-wrap: normal; }

/* ---------- 21c. Events: Charity label, purple with a brass charity ribbon (the Charity colour on Our history) ---------- */
.gig--charity .gig-tag { display: inline-flex; align-items: center; gap: 0.35em; background: #6b4a8f; color: var(--white); }
.gig--charity .gig-tag-icon { fill: var(--secondary); }
