/*
 * 21 Young Hearts — Shared Components
 * Every component used across 2+ pages/templates lives here.
 * Page-specific variants live in their own page-*.css file.
 *
 * Table of contents
 * ─────────────────
 *  1. Badges
 *  2. Buttons
 *  3. Arrow links
 *  4. Nav (desktop + hamburger toggle)
 *  5. Mega nav (desktop dropdown)
 *  6. Mobile nav (accordion)
 *  7. Hero
 *  8. Stats strip
 *  9. Mission panels
 * 10. Featured-in marquee
 * 11. Info bar
 * 12. Who We Are cards
 * 13. Events
 * 14. What We Offer cards
 * 15. People cards
 * 16. Support section
 * 17. Testimonials
 * 18. Blog cards
 * 19. Instagram grid
 * 20. Partners
 * 21. Footer
 * 22. Comic-book scroll animations
 * 23. Trainee stories
 * 24. Banner
 * ─────────────────────────────────────────────────────────────────
 */


/* ============================================================
   1. BADGES
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-family: var(--font-body);
  font-weight: var(--weight-bold);
  font-size: var(--text-base);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  transform: rotate(var(--badge-rotate, -3deg));
  box-shadow: var(--shadow-sm);
}
.badge--yellow { background: var(--color-yellow); color: var(--color-warm-black); }
.badge--red    { background: var(--color-red);    color: white; }
.badge--blue   { background: var(--color-blue);   color: white; }
.badge--white  { background: white; color: var(--color-warm-black); border: 2px solid var(--color-grey-light); }
.badge--lg     { padding: 8px 20px; }
.badge--outlined { border: 3px solid var(--color-warm-black); box-shadow: var(--shadow-comic-sm); }


/* ============================================================
   2. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--weight-bold);
  line-height: 1;
  padding: 14px 28px;
  border: 3px solid var(--color-warm-black);
  border-radius: var(--radius-full);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--duration-normal) var(--ease-out);
  box-shadow: var(--shadow-comic-sm);
}
.btn:active {
  transform: translateY(2px);
  box-shadow: 1px 1px 0 var(--color-warm-black);
}
.btn:focus-visible { outline: none; box-shadow: var(--focus-ring); }

.btn--primary { background: var(--color-blue); color: white; }
.btn--primary:hover { background: var(--color-blue-dark); transform: translateY(-2px); box-shadow: var(--shadow-comic); color: white; }

.btn--secondary { background: var(--color-red); color: white; }
.btn--secondary:hover { background: var(--color-red-dark); transform: translateY(-2px); box-shadow: var(--shadow-comic); color: white; }

.btn--ghost { background: transparent; color: var(--color-blue); }
.btn--ghost:hover { background: var(--color-blue); color: white; transform: translateY(-2px); box-shadow: var(--shadow-comic); }

.btn--ghost-white { background: transparent; color: white; border-color: white; box-shadow: 3px 3px 0 rgba(255,255,255,0.3); }
.btn--ghost-white:hover { background: white; color: var(--color-warm-black); transform: translateY(-2px); box-shadow: 5px 5px 0 rgba(0,0,0,0.2); }

.btn--white-solid { background: white; color: var(--color-blue-dark); border-color: white; box-shadow: 3px 3px 0 rgba(0,0,0,0.15); }
.btn--white-solid:hover { background: var(--color-blue-light); transform: translateY(-2px); box-shadow: 5px 5px 0 rgba(0,0,0,0.2); color: var(--color-blue-dark); }

.btn--dark { background: var(--color-warm-black); color: white; }
.btn--dark:hover { background: var(--color-grey-dark); transform: translateY(-2px); box-shadow: var(--shadow-comic); color: white; }

.btn--yellow { background: var(--color-yellow); color: var(--color-warm-black); }
.btn--yellow:hover { background: var(--color-yellow-dark); color: var(--color-warm-black); transform: translateY(-2px); box-shadow: var(--shadow-comic); }

.btn--small { font-size: var(--text-base); padding: 10px 20px; }
.btn--large { font-size: var(--text-md); padding: 18px 36px; }


/* ============================================================
   3. ARROW LINKS
   ============================================================ */
.arrow-link {
  font-size: var(--text-base);
  font-weight: var(--weight-bold);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  transition: gap var(--duration-normal) var(--ease-bounce),
              color var(--duration-fast) var(--ease-out);
}
.arrow-link span {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
}
.arrow-link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--duration-normal) var(--ease-bounce);
}
.arrow-link:hover { gap: var(--space-sm); filter: brightness(0.75); }
.arrow-link:hover svg { transform: translateX(4px); }


/* ============================================================
   4. NAV — sticky top bar
   ============================================================ */
/* WordPress admin bar offset — keeps sticky nav + fixed mega nav below the bar */
.admin-bar .nav  { top: var(--wp-admin--admin-bar--height, 32px); }
.admin-bar .mega-nav { top: calc(var(--wp-admin--admin-bar--height, 32px) + 76px); }

.nav {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  background: var(--color-warm-white);
  border-bottom: var(--border-comic);
  height: 76px;
  box-sizing: border-box;
  transition: height 0.3s var(--ease-out);
}
.nav--scrolled { height: 58px; }
@media (max-width: 1100px) { .nav--scrolled { height: 62px; } }

.nav__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: var(--space-md);
}

.nav__brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.nav__brand img {
  height: 44px;
  width: auto;
  transition: transform var(--duration-normal) var(--ease-bounce), height 0.3s var(--ease-out);
}
.nav__brand:hover img { transform: scale(1.05); }
.nav--scrolled .nav__brand img { height: 32px; }
@media (max-width: 1100px) { .nav--scrolled .nav__brand img { height: 36px; } }

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  flex: 1;
  justify-content: center;
}

.nav__link {
  display: block;
  padding: 6px 13px;
  font-size: var(--text-base);
  font-weight: var(--weight-bold);
  font-family: var(--font-body);
  color: var(--color-warm-black);
  text-decoration: none;
  white-space: nowrap;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  transition: all var(--duration-fast) var(--ease-bounce);
}
/* Slight per-item tilt for character */
.nav__links li:nth-child(1) { --link-rotate: -2deg; }
.nav__links li:nth-child(2) { --link-rotate: 1.5deg; }
.nav__links li:nth-child(3) { --link-rotate: -1deg; }
.nav__links li:nth-child(4) { --link-rotate: 2.5deg; }
.nav__links li:nth-child(5) { --link-rotate: -2.5deg; }
.nav__links li:nth-child(6) { --link-rotate: 1deg; }

.nav__link:hover {
  color: white;
  background: var(--color-blue);
  border-color: var(--color-warm-black);
  box-shadow: 2px 2px 0 var(--color-warm-black);
  transform: rotate(var(--link-rotate, -1.5deg)) translateY(-1px);
}
.nav__link:focus-visible { outline: none; box-shadow: var(--focus-ring); }

/* Active state */
.nav__link--active {
  color: white !important;
  background: var(--color-blue) !important;
  border-color: var(--color-warm-black) !important;
  box-shadow: 2px 2px 0 var(--color-warm-black) !important;
  transform: rotate(-1.5deg);
}

.nav__cta { margin-left: var(--space-sm); flex-shrink: 0; }

/* Hamburger toggle */
.nav__toggle {
  display: none;
  background: var(--color-blue);
  cursor: pointer;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: white;
  border: 3px solid var(--color-warm-black);
  border-radius: var(--radius-md);
  box-shadow: 2px 2px 0 var(--color-warm-black);
  transition: all var(--duration-fast) var(--ease-bounce);
  flex-shrink: 0;
}
.nav__toggle:hover { transform: rotate(-8deg) scale(1.08); }
.nav__toggle[aria-expanded="true"] { background: var(--color-red); }
.nav__toggle svg { width: 20px; height: 20px; stroke-width: 2.5; display: block; }

/* Lucide icon sizing */
.nav__link svg { width: 13px; height: 13px; vertical-align: middle; margin-left: 3px; margin-top: -1px; stroke-width: 2.5; }
.nav__mobile-cta svg { width: 15px; height: 15px; vertical-align: middle; fill: currentColor; stroke: none; }


/* ============================================================
   5. MEGA NAV — desktop dropdown
   ============================================================ */
.nav__mega-trigger {
  appearance: none;
  -webkit-appearance: none;
  background: none;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--weight-bold);
  color: var(--color-warm-black);
  text-align: left;
  line-height: inherit;
  padding: 6px 13px;
  border-radius: var(--radius-sm);
  transition: all var(--duration-fast) var(--ease-bounce);
}
.nav__mega-trigger:hover {
  color: white;
  background: var(--color-blue);
  border-color: var(--color-warm-black);
  box-shadow: 2px 2px 0 var(--color-warm-black);
  transform: rotate(-1deg) translateY(-1px);
}
.nav__mega-trigger i[data-lucide="chevron-down"] {
  transition: transform var(--duration-fast) var(--ease-out);
  display: inline-block;
}
.nav__mega-trigger[aria-expanded="true"] i[data-lucide="chevron-down"] {
  transform: rotate(180deg);
}

.mega-nav {
  position: fixed;
  top: 76px; /* nav height */
  left: 0;
  right: 0;
  background: white;
  border-bottom: var(--border-comic);
  box-shadow: 0 8px 0 rgba(0, 0, 0, 0.12);
  z-index: var(--z-mega-nav);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: top 0.3s var(--ease-out),
              opacity 0.2s var(--ease-out),
              transform 0.25s var(--ease-bounce),
              visibility 0s linear 0.25s;
}
.mega-nav.is-open {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  transition: opacity 0.2s var(--ease-out),
              transform 0.25s var(--ease-bounce),
              visibility 0s linear 0s;
}

.mega-nav > .container {
  padding-top: var(--space-xl);
  padding-bottom: var(--space-lg);
}

.mega-nav__columns {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}
.mega-nav__col {
  padding: 0 var(--space-2xl);
}
.mega-nav__col:first-child { padding-left: 0; }
.mega-nav__col:last-child  { padding-right: 0; }
.mega-nav__col + .mega-nav__col {
  border-left: 2px solid var(--color-grey-light);
}

.mega-nav__col-label {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-grey-dark);
  margin-bottom: var(--space-md);
}

.mega-nav__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--color-warm-black);
  border: 2px solid transparent;
  box-shadow: none;
  transition: border-color var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out),
              transform var(--duration-fast) var(--ease-bounce);
  margin-bottom: 4px;
}
.mega-nav__item:hover {
  border-color: var(--color-warm-black);
  box-shadow: var(--shadow-comic-sm);
  transform: translate(-2px, -2px);
}
.mega-nav__item:has(.mega-nav__item-icon--blue):hover   { background: rgba(1, 99, 154, 0.08); }
.mega-nav__item:has(.mega-nav__item-icon--red):hover    { background: rgba(226, 70, 38, 0.08); }
.mega-nav__item:has(.mega-nav__item-icon--yellow):hover { background: rgba(252, 243, 75, 0.35); }
.mega-nav__item:focus-visible {
  outline: none;
  border-color: var(--color-blue);
  box-shadow: 3px 3px 0 var(--color-blue);
  transform: translate(-2px, -2px);
}

.mega-nav__item-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border: 2px solid var(--color-warm-black);
  border-radius: var(--radius-md);
  box-shadow: 2px 2px 0 var(--color-warm-black);
  display: flex;
  align-items: center;
  justify-content: center;
}
.mega-nav__item-icon svg { width: 18px; height: 18px; stroke-width: 2; }
.mega-nav__item-icon--blue   { background: var(--color-blue);   color: white; }
.mega-nav__item-icon--red    { background: var(--color-red);    color: white; }
.mega-nav__item-icon--yellow { background: var(--color-yellow); color: var(--color-warm-black); }

.mega-nav__item-text { display: flex; flex-direction: column; gap: 3px; padding-top: 2px; }
.mega-nav__item-title {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: var(--weight-bold);
  color: var(--color-warm-black);
  line-height: 1.2;
}
.mega-nav__item-desc {
  font-size: var(--text-base);
  font-weight: var(--weight-medium);
  color: var(--color-grey-dark);
  line-height: var(--leading-relaxed);
}

.mega-nav__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  padding-top: var(--space-md);
  margin-top: var(--space-md);
  border-top: 2px solid var(--color-grey-light);
}
.mega-nav__status        { display: flex; align-items: center; gap: 10px; }
.mega-nav__status-text   { display: flex; flex-direction: column; gap: 1px; }
.mega-nav__status-label  { font-size: var(--text-base); font-weight: var(--weight-bold); color: var(--color-warm-black); line-height: 1.2; }
.mega-nav__status-hours  { font-size: var(--text-sm); font-weight: var(--weight-medium); color: var(--color-grey-dark); }
.mega-nav__open-dot          { width: 9px; height: 9px; border-radius: 50%; background: var(--color-success); flex-shrink: 0; animation: pulse 2s infinite; }
.mega-nav__open-dot--warning { background: var(--color-warning); }
.mega-nav__open-dot--closed  { background: var(--color-red); animation: none; }
.mega-nav__contact { white-space: nowrap; color: var(--color-blue); flex-shrink: 0; }

@media (max-width: 1100px) { .mega-nav { display: none; } }

/* ── Open Status Badge (shortcode: [yh_open_status]) ──────────────────────── */
.open-status-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	vertical-align: middle;
}
.open-status-badge__dot {
	display: inline-block;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--color-success);
	flex-shrink: 0;
	animation: pulse 2s infinite;
}
.open-status-badge__dot--warning { background: var(--color-warning); }
.open-status-badge__dot--closed  { background: var(--color-red); animation: none; }
.open-status-badge__label {
	font-weight: var(--weight-semibold);
	white-space: nowrap;
}
.open-status-badge__hours {
	white-space: nowrap;
	opacity: 0.75;
}
.open-status-badge__hours::before {
	content: '\00B7';
	margin-right: 6px;
}


/* ============================================================
   6. MOBILE NAV
   ============================================================ */
.nav__mobile {
  display: none;
  /* Fixed (not absolute) so it shares the same positioning model as the
   * backdrop — a fixed backdrop would otherwise paint above an absolutely
   * positioned menu on mobile browsers. Anchored just below the nav bar. */
  position: fixed;
  top: var(--nav-h, 76px);
  left: 0;
  right: 0;
  z-index: 98;
  background: var(--color-cream);
  border-bottom: var(--border-comic);
  padding: var(--space-md) var(--container-gutter) var(--container-gutter);
  animation: navDrop 0.25s var(--ease-out) both;
  /* A long menu scrolls within itself; the body is locked while it's open. */
  max-height: calc(100dvh - var(--nav-h, 76px));
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.nav__mobile > * { position: relative; z-index: 1; }
.nav__mobile.is-open { display: block; }

/* Backdrop behind the open mobile/tablet menu. Sits below the nav (z 100) and
 * menu panel (z 98) but above the page, dimming whatever the menu doesn't cover. */
.nav__backdrop {
  position: fixed;
  inset: 0;
  top: var(--nav-h, 76px);
  z-index: 97;
  background: rgba(45, 36, 32, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--duration-normal) var(--ease-out), visibility var(--duration-normal);
}
.nav__backdrop.is-open { opacity: 1; visibility: visible; }
@media (min-width: 1100px) { .nav__backdrop { display: none; } }

/* While the mobile menu is open the page is scroll-locked (overflow:hidden on
 * <html>), which would break the sticky nav — pin it so it stays visible.
 * `top` is set inline by nav.js to account for the WP admin bar. */
.nav--menu-open { position: fixed; left: 0; right: 0; }

/* Scroll lock (shared by mobile menu + lightbox). overflow:hidden stops
 * wheel/keyboard scroll and retains the scroll offset (so the sticky nav and
 * its dropdown menu stay put); a non-passive touchmove guard in nav.js blocks
 * background touch-scrolling on iOS, where overflow:hidden alone is ignored. */
html.yh-scroll-locked,
html.yh-scroll-locked body {
  overflow: hidden;
}

@keyframes navDrop {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.nav__mobile-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
}
.nav__mobile-link {
  display: block;
  padding: var(--space-sm) var(--space-md);
  font-size: var(--text-md);
  font-weight: var(--weight-bold);
  font-family: var(--font-body);
  color: var(--color-warm-black);
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  transition: all var(--duration-fast) var(--ease-bounce);
}
.nav__mobile-link:hover {
  background: var(--color-blue);
  color: white;
  border-color: var(--color-warm-black);
  box-shadow: 2px 2px 0 var(--color-warm-black);
  transform: translateX(5px);
}

.nav__mobile-divider {
  height: 2px;
  background: var(--color-grey-light);
  border: none;
  margin: var(--space-xs) 0 var(--space-sm);
}
.nav__mobile-cta { width: 100%; text-align: center; justify-content: center; }

/* Mobile accordion trigger */
.nav__mobile-trigger {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: var(--text-md);
  font-weight: var(--weight-bold);
  color: var(--color-warm-black);
  text-align: left;
  padding: var(--space-sm) var(--space-md);
  transition: all var(--duration-fast) var(--ease-bounce);
}
.nav__mobile-trigger:hover {
  background: var(--color-blue);
  color: white;
  border-color: var(--color-warm-black);
  box-shadow: 2px 2px 0 var(--color-warm-black);
  transform: translateX(5px);
}
.nav__mobile-trigger[aria-expanded="true"] {
  background: var(--color-blue-light);
  color: var(--color-blue);
  border-color: var(--color-warm-black);
}
.nav__mobile-trigger svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform var(--duration-fast) var(--ease-out);
}
.nav__mobile-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }

/* Sub-list accordion */
.nav__mobile-sub {
  list-style: none;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding-left: var(--space-md);
  padding-top: 0;
}
.nav__mobile-sub.is-open { max-height: 500px; padding-top: var(--space-xs); }

.nav__mobile-sub-link {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-sm) var(--space-md);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--weight-bold);
  color: var(--color-warm-black);
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  transition: all var(--duration-fast) var(--ease-bounce);
}
.nav__mobile-sub-link:hover {
  background: var(--color-blue);
  color: white;
  border-color: var(--color-warm-black);
  box-shadow: 2px 2px 0 var(--color-warm-black);
  transform: translateX(5px);
}

.nav__mobile-sub-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border: 2px solid var(--color-warm-black);
  border-radius: var(--radius-md);
  box-shadow: 2px 2px 0 var(--color-warm-black);
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav__mobile-sub-icon svg { width: 14px; height: 14px; stroke-width: 2; }
.nav__mobile-sub-icon--blue   { background: var(--color-blue);   color: white; }
.nav__mobile-sub-icon--red    { background: var(--color-red);    color: white; }
.nav__mobile-sub-icon--yellow { background: var(--color-yellow); color: var(--color-warm-black); }

@media (min-width: 1101px) {
  .nav__mobile-trigger,
  .nav__mobile-sub { display: none; }
}

/* Show hamburger on mobile, hide desktop links */
@media (max-width: 1100px) {
  .nav__links  { display: none; }
  .nav__cta    { display: none; }
  .nav__toggle { display: flex; }
}


/* ============================================================
   7. HERO
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--color-blue-dark);
}

.hero__frame {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
}

/* ── Background media ──────────────────────────────────── */
.hero__video-bg { position: absolute; inset: 0; z-index: 0; }
.hero__video-bg video,
.hero__video-bg img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; }

/* ── Overlay: diagonal dark gradient, left-heavy ──────── */
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    108deg,
    rgba(0, 28, 48, 0.94) 0%,
    rgba(0, 28, 48, 0.82) 35%,
    rgba(0, 28, 48, 0.30) 65%,
    rgba(0, 28, 48, 0.15) 100%
  );
}

/* ── Yellow accent strip at the base of the hero ─────── */
.hero__accent-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--color-yellow);
  z-index: 6;
}

/* ── Content layout ────────────────────────────────────── */
.hero__content-wrap {
  position: relative;
  z-index: 4;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: calc(76px + var(--space-3xl)) var(--container-gutter) var(--space-3xl);
}

.hero__content {
  position: relative;
  max-width: 580px;
  padding-left: var(--space-xl);
}
.hero__content::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--color-yellow);
  transform: scaleY(0);
  transform-origin: bottom;
  animation: heroLineGrow 0.7s var(--ease-out) 0.1s both;
}

/* ── Heading ───────────────────────────────────────────── */
.hero__heading {
  font-size: var(--text-5xl);
  font-weight: var(--weight-black);
  line-height: 1.08;
  color: #fff;
  margin-bottom: var(--space-lg);
  animation: heroFadeUp 0.65s var(--ease-out) 0.15s both;
}
@media (min-width: 1100px) { .hero__heading { font-size: var(--text-5xl); } }
.hero__heading em { font-style: normal; color: var(--color-red); }

/* ── Body copy ─────────────────────────────────────────── */
.hero__text {
  font-size: var(--text-md);
  color: rgba(255, 255, 255, 0.85);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-xl);
  max-width: 48ch;
  animation: heroFadeUp 0.65s var(--ease-out) 0.35s both;
}

/* ── CTA row ───────────────────────────────────────────── */
.hero__actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  animation: heroFadeUp 0.65s var(--ease-out) 0.55s both;
}

/* Arrow link override for dark hero context */
.hero .arrow-link { color: #fff; }
.hero .arrow-link:hover { color: var(--color-yellow); }

/* ── Reviews pill ──────────────────────────────────────── */
.hero__reviews {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
  padding: 7px 16px;
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  background: var(--color-yellow);
  color: var(--color-warm-black);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  animation: heroFadeUp 0.65s var(--ease-out) 0.7s both;
}
.hero__reviews--link {
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--duration-normal) var(--ease-out), box-shadow var(--duration-normal) var(--ease-out);
}
.hero__reviews--link:hover,
.hero__reviews--link:focus-visible {
  transform: translate(-2px, -2px);
  box-shadow: 3px 3px 0 var(--color-warm-black);
}
.hero__stars { color: var(--color-warm-black); display: inline-flex; align-items: center; gap: 2px; }
.hero__stars svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  stroke: none;
  transition: transform var(--duration-normal) var(--ease-bounce);
}
.hero__reviews:hover .hero__stars svg { animation: starBounce 0.4s var(--ease-bounce) both; }
.hero__reviews:hover .hero__stars svg:nth-child(1) { animation-delay: 0s; }
.hero__reviews:hover .hero__stars svg:nth-child(2) { animation-delay: 0.06s; }
.hero__reviews:hover .hero__stars svg:nth-child(3) { animation-delay: 0.12s; }
.hero__reviews:hover .hero__stars svg:nth-child(4) { animation-delay: 0.18s; }
.hero__reviews:hover .hero__stars svg:nth-child(5) { animation-delay: 0.24s; }

/* ── Keyframes ─────────────────────────────────────────── */
@keyframes starBounce {
  0%   { transform: scale(0) rotate(-30deg); }
  60%  { transform: scale(1.3) rotate(5deg); }
  100% { transform: scale(1) rotate(0deg); }
}

@keyframes heroFadeUp {
  0%   { opacity: 0; transform: translateY(28px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes heroLineGrow {
  0%   { transform: scaleY(0); }
  100% { transform: scaleY(1); }
}

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 1100px) {
  .hero__frame { min-height: 72vh; align-items: flex-end; }
  .hero__content-wrap { padding: 76px var(--container-gutter) var(--space-2xl); }
  .hero__content { padding-left: var(--space-lg); }
  .hero__content::before { width: 3px; }
  .hero__heading { font-size: var(--text-4xl); }
  .hero__overlay {
    background: linear-gradient(
      to top,
      rgba(0, 28, 48, 0.97) 0%,
      rgba(0, 28, 48, 0.80) 40%,
      rgba(0, 28, 48, 0.35) 100%
    );
  }
}
@media (max-width: 600px) {
  .hero__frame { min-height: 78vh; }
  .hero__heading { font-size: var(--text-3xl); }
  .hero__text { font-size: var(--text-base); }
  .hero__content { padding-left: 0; }
  .hero__content::before { display: none; }
}


/* ============================================================
   8. MID HERO — image strip + overlapping callout panel
   ============================================================ */

.mid-hero { position: relative; padding-bottom: var(--space-lg); }
.mid-hero--bottom-padding { padding-bottom: var(--space-2xl); }
@media (min-width: 600px) { .mid-hero--bottom-padding { padding-bottom: var(--space-3xl); } }
@media (min-width: 1100px) { .mid-hero--bottom-padding { padding-bottom: var(--space-4xl); } }

/* Full-bleed background image */
.mid-hero__image-wrap {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 400px;
  max-height: 520px;
  overflow: hidden;
}
.mid-hero__image-wrap img { width: 100%; height: 100%; object-fit: cover; }
.mid-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,77,117,0.85) 0%, rgba(0,77,117,0.35) 40%, transparent 70%);
}

/* Callout panel — overlaps image, comic-book style */
.mid-hero__panel {
  position: relative;
  z-index: 2;
  background: white;
  border: 5px solid var(--color-warm-black);
  border-radius: var(--radius-lg);
  padding: var(--box-pad);
  box-shadow: var(--shadow-comic-lg);
  margin-top: -160px;
  transform: rotate(-0.8deg);
}

/* Speech-bubble tail pointing up at the image */
.mid-hero__panel::after {
  content: '';
  position: absolute;
  top: -22px;
  left: 50px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 14px 22px 14px;
  border-color: transparent transparent white transparent;
  filter: drop-shadow(0 -5px 0 var(--color-warm-black));
}

/* Two-column grid: text left, media right */
.mid-hero__panel-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: center;
}

@media (min-width: 1100px) {
  .mid-hero__panel-grid { grid-template-columns: 1fr 1fr; gap: var(--space-2xl); }
}

.mid-hero__heading {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: var(--weight-black);
  line-height: 1.08;
  color: var(--color-warm-black);
  margin-bottom: var(--space-md);
  letter-spacing: -0.02em;
}

@media (min-width: 1100px) { .mid-hero__heading { font-size: var(--text-5xl); } }

.mid-hero__heading em { font-style: normal; color: var(--color-blue); }

.mid-hero__body {
  font-size: var(--text-base);
  color: var(--color-warm-black);
  line-height: var(--leading-relaxed);
  max-width: 55ch;
  margin-top: var(--space-sm);
}

/* Media call-out (video or photo) */
.mid-hero__media {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 3px solid var(--color-warm-black);
  box-shadow: 4px 4px 0 var(--color-warm-black);
}

.mid-hero__media img,
.mid-hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: auto;
}

/* Mobile */
@media (max-width: 600px) {
  .mid-hero__panel {
    margin-top: -33vh;
    box-shadow: var(--shadow-comic);
    transform: rotate(-0.5deg);
  }
  .mid-hero__image-wrap { height: 55vh; min-height: 280px; }
  .mid-hero__heading { font-size: var(--text-3xl); }
}


/* ── Mid-Hero Video Controls ──────────────────────────────────────────────── */
/* On-brand play/pause + progress + fullscreen bar, matching people-card style */

.mid-hero__media--has-video { position: relative; }
.mid-hero__media--has-video video { position: relative; z-index: 1; }

/* ── Large centred play button (paused state) ─────────────────────────────── */
.mid-hero__play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 3px solid var(--color-warm-black);
  background: var(--color-yellow);
  color: var(--color-warm-black);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
  box-shadow: var(--shadow-comic-sm);
  transition: opacity 0.3s var(--ease-out),
              background var(--duration-fast) var(--ease-out),
              transform var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out);
}
.mid-hero__play-btn:focus-visible {
  outline: 3px solid var(--color-blue);
  outline-offset: 4px;
}
.mid-hero__play-btn:hover {
  transform: translate(-50%, -52%) translateY(-2px);
  background: var(--color-yellow-dark);
  box-shadow: var(--shadow-comic);
}

/* Playing state — button repositions to bottom-left inside controls area */
.mid-hero__media--has-video.is-playing .mid-hero__play-btn {
  top: auto;
  left: var(--space-sm);
  bottom: var(--space-xs);
  transform: none;
  width: 36px;
  height: 36px;
  background: var(--color-blue);
  color: white;
  border-width: 2px;
  box-shadow: 2px 2px 0 var(--color-warm-black);
}
.mid-hero__media--has-video.is-playing .mid-hero__play-btn:hover {
  transform: translateY(-2px);
  background: var(--color-blue-dark);
  box-shadow: var(--shadow-comic-sm);
}

/* Icon sizing — fill for solid icons (play/pause), stroke for outline (fs) */
.mid-hero__play-icon,
.mid-hero__pause-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  fill: currentColor;
  stroke: none;
}
.mid-hero__play-icon { margin-left: 3px; }

.mid-hero__media--has-video.is-playing .mid-hero__play-icon,
.mid-hero__media--has-video.is-playing .mid-hero__pause-icon {
  width: 18px;
  height: 18px;
}
.mid-hero__media--has-video.is-playing .mid-hero__play-icon { margin-left: 2px; }

/* Icon toggle */
.mid-hero__play-btn .mid-hero__pause-icon { display: none; }
.mid-hero__media--has-video.is-playing .mid-hero__play-btn .mid-hero__play-icon  { display: none; }
.mid-hero__media--has-video.is-playing .mid-hero__play-btn .mid-hero__pause-icon { display: block; }

/* ── Controls bar (visible only while playing) ────────────────────────────── */
.mid-hero__video-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-xs) var(--space-sm) var(--space-xs) calc(var(--space-sm) + 36px + var(--space-sm));
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 100%);
  z-index: 3;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
  pointer-events: none;
}
.mid-hero__media--has-video.is-playing .mid-hero__video-controls {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Auto-hide controls + play btn when mouse idle / leaves frame */
.mid-hero__media--has-video.is-playing.controls-hidden .mid-hero__video-controls,
.mid-hero__media--has-video.is-playing.controls-hidden .mid-hero__play-btn {
  opacity: 0;
  pointer-events: none;
}
.mid-hero__media--has-video.is-playing { cursor: pointer; }
.mid-hero__media--has-video.is-playing.controls-hidden { cursor: none; }

/* ── Progress bar ─────────────────────────────────────────────────────────── */
.mid-hero__progress-wrap { flex: 1; padding: var(--space-xs) 0; }
.mid-hero__progress-wrap:focus-visible {
  outline: 3px solid white;
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

.mid-hero__progress-track {
  position: relative;
  width: 100%;
  height: 6px;
  background: rgba(255,255,255,0.3);
  border-radius: 3px;
  cursor: pointer;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.15);
}
.mid-hero__progress-track:hover { height: 10px; }

.mid-hero__progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: var(--color-yellow);
  border-radius: 3px;
  transition: width 0.1s linear;
}

/* ── Fullscreen button ────────────────────────────────────────────────────── */
.mid-hero__fullscreen-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--color-warm-black);
  background: white;
  color: var(--color-warm-black);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 2px 2px 0 var(--color-warm-black);
  transition: background var(--duration-fast) var(--ease-out),
              transform var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out);
}
.mid-hero__fullscreen-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-comic-sm);
  background: var(--color-cream);
}
.mid-hero__fullscreen-btn:focus-visible {
  outline: 3px solid var(--color-blue);
  outline-offset: 4px;
}

.mid-hero__fs-expand,
.mid-hero__fs-shrink {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Toggle expand/shrink icons */
.mid-hero__fullscreen-btn .mid-hero__fs-shrink { display: none; }
.mid-hero__media--has-video.is-fullscreen .mid-hero__fullscreen-btn .mid-hero__fs-expand { display: none; }
.mid-hero__media--has-video.is-fullscreen .mid-hero__fullscreen-btn .mid-hero__fs-shrink { display: block; }

/* ── Fullscreen overrides ─────────────────────────────────────────────────── */
.mid-hero__media--has-video.is-fullscreen {
  border-radius: 0;
  border: none;
  box-shadow: none;
  background: black;
}
.mid-hero__media--has-video.is-fullscreen video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ── Mobile tweaks ────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .mid-hero__play-btn {
    width: 56px;
    height: 56px;
  }
  .mid-hero__play-icon,
  .mid-hero__pause-icon {
    width: 20px;
    height: 20px;
  }
  .mid-hero__video-controls {
    padding: var(--space-xs);
    padding-left: calc(var(--space-xs) + 32px + var(--space-xs));
    gap: var(--space-xs);
  }
  .mid-hero__media--has-video.is-playing .mid-hero__play-btn {
    width: 32px;
    height: 32px;
    left: var(--space-xs);
    bottom: var(--space-xs);
  }
  .mid-hero__fullscreen-btn {
    width: 32px;
    height: 32px;
  }
  .mid-hero__media--has-video.is-playing .mid-hero__play-icon,
  .mid-hero__media--has-video.is-playing .mid-hero__pause-icon {
    width: 14px;
    height: 14px;
  }
  .mid-hero__fs-expand,
  .mid-hero__fs-shrink {
    width: 14px;
    height: 14px;
  }
}


/* ============================================================
   9. STATS STRIP
   ============================================================ */
.stats { background: white; padding: var(--space-2xl) 0; position: relative; }
@media (min-width: 600px) { .stats { padding: var(--space-3xl) 0; } }
@media (min-width: 1100px) { .stats { padding: var(--space-4xl) 0; } }
.stats--no-top-padding    { padding-top: 0 !important; }
.stats--no-bottom-padding { padding-bottom: 0 !important; }

.stats__grid { display: grid; grid-template-columns: repeat(var(--stat-count, 4), 1fr); gap: var(--space-lg); }

.stats__item {
  text-align: center;
  padding: var(--box-pad);
  border: var(--border-comic);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-comic);
  position: relative;
  overflow: hidden;
  transition: transform var(--duration-normal) var(--ease-bounce);
}
.stats__item.is-visible:hover { transform: scale(1.05) translateY(-4px); }
.stats__item--blue   { background: var(--color-blue);   color: white; }
.stats__item--red    { background: var(--color-red);    color: white; }
.stats__item--cream  { background: var(--color-cream);  color: var(--color-warm-black); }
.stats__item--yellow { background: var(--color-yellow); color: var(--color-warm-black); }

.stats__number { font-family: var(--font-display); font-size: var(--text-4xl); font-weight: var(--weight-black); line-height: 1; margin-bottom: var(--space-sm); }
.stats__label  { font-size: var(--text-base); font-weight: var(--weight-semibold); }

@media (max-width: 1100px) { .stats__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 1100px) and (min-width: 601px) {
  .stats__number { font-size: var(--text-3xl); }   /* a fair bit smaller on tablet/small desktop */
}
@media (max-width: 600px) {
  .stats__number { font-size: var(--text-2xl); }
  .stats__label  { line-height: 1.25; }
}


/* ============================================================
   9. MISSION PANELS
   ============================================================ */
.mission {
  position: relative;
  overflow: hidden;
  padding: var(--space-2xl) 0;
}
@media (min-width: 600px) { .mission { padding: var(--space-3xl) 0; } }
@media (min-width: 1100px) { .mission { padding: var(--space-4xl) 0; } }

.mission .container { position: relative; z-index: 1; }

.mission__panels {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-lg);
  grid-template-rows: auto auto;
}

.mission__panel-main {
  grid-row: 1 / 3;
  position: relative;
  border: 5px solid var(--color-warm-black);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transform: rotate(-1.5deg);
  box-shadow: var(--shadow-comic-lg);
  min-height: 500px;
  /* Safari: force border-radius clipping on composited children */
  -webkit-mask-image: -webkit-radial-gradient(white, black);
}
.mission__panel-main .splide { position: absolute; inset: 0; }
.mission__panel-main .splide__track,
.mission__panel-main .splide__list { height: 100%; }
.mission__panel-main .splide__slide { position: relative; }
.mission__panel-main .splide__slide img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
/* Crossfade */
.mission__panel-main .splide__slide { opacity: 0; transition: opacity 1s var(--ease-out); }
.mission__panel-main .splide__slide.is-active { opacity: 1; }

.mission__dots {
  position: absolute;
  bottom: var(--space-lg);
  right: var(--space-lg);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 6px;
}
.mission__dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.5);
  border: 2px solid var(--color-warm-black);
  cursor: pointer;
  padding: 0;
  position: relative;
  overflow: hidden;
  transition: width var(--duration-normal) var(--ease-bounce),
              background var(--duration-normal) var(--ease-out);
}
.mission__dot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--color-red);
  transform: scaleX(0);
  transform-origin: left;
}
.mission__dot.is-active { width: 36px; background: white; }
.mission__dot.is-active::after { animation: dotFill 3s linear forwards; }
@keyframes dotFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.mission__speech {
  position: absolute;
  bottom: var(--space-xl);
  left: var(--space-xl);
  z-index: 2;
  background: white;
  border: 3px solid var(--color-warm-black);
  border-radius: var(--radius-xl);
  padding: var(--space-md) var(--space-lg);
  max-width: 280px;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  color: var(--color-warm-black);
  line-height: 1.3;
  transform: rotate(1deg);
}
.mission__speech::after {
  content: '';
  position: absolute;
  bottom: -16px;
  left: 40px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 16px 12px 0 12px;
  border-color: white transparent transparent transparent;
  filter: drop-shadow(0 3px 0 var(--color-warm-black));
}
.mission__speech em { font-style: normal; color: var(--color-red); }

.mission__panel-text {
  background: white;
  border: 5px solid var(--color-warm-black);
  border-radius: var(--radius-lg);
  padding: var(--box-pad);
  transform: rotate(1deg);
  box-shadow: 6px 6px 0 var(--color-warm-black);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.mission .eyebrow { color: var(--color-red); font-size: var(--text-base); margin-bottom: var(--space-sm); }

.mission__heading {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: var(--weight-black);
  line-height: 1.08;
  color: var(--color-warm-black);
  margin-bottom: var(--space-md);
}
@media (min-width: 1100px) { .mission__heading { font-size: var(--text-4xl); } }
.mission__heading em { font-style: normal; color: var(--color-blue); }

.mission__body {
  font-size: var(--text-base);
  color: var(--color-warm-black);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-lg);
}
.mission__actions { display: flex; gap: var(--space-md); flex-wrap: wrap; }

.mission__panel-action {
  background: var(--color-blue);
  border: 5px solid var(--color-warm-black);
  border-radius: var(--radius-lg);
  padding: var(--box-pad);
  transform: rotate(-0.5deg);
  box-shadow: 6px 6px 0 var(--color-warm-black);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-md);
  position: relative;
  overflow: hidden;
}
.mission__panel-action::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -20%;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
}
.mission__action-heading {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: var(--weight-black);
  line-height: 1.15;
  position: relative;
  z-index: 1;
}
.mission__action-text {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.9);
  line-height: var(--leading-relaxed);
  position: relative;
  z-index: 1;
}

@media (max-width: 1100px) {
  .mission__panels { grid-template-columns: 1fr; grid-template-rows: auto auto auto; }
  /* Once stacked, the gallery is full-width — give it a 16/10 frame instead of
   * a fixed pixel height. min-height:0 lets the ratio win over the base 500px. */
  .mission__panel-main { grid-row: auto; aspect-ratio: 16 / 10; min-height: 0; transform: rotate(-0.5deg); }
  .mission__panel-text { transform: rotate(0.5deg); }
  .mission__panel-action { transform: rotate(-0.3deg); }
}


/* ============================================================
   10. FEATURED-IN MARQUEE
   ============================================================ */
.featured-in { padding: var(--space-lg) 0; }
.featured-in--pad-top    { padding-top: var(--space-2xl); }
.featured-in--pad-bottom { padding-bottom: var(--space-2xl); }
@media (min-width: 600px) {
  .featured-in--pad-top    { padding-top: var(--space-3xl); }
  .featured-in--pad-bottom { padding-bottom: var(--space-3xl); }
}
@media (min-width: 1100px) {
  .featured-in--pad-top    { padding-top: var(--space-4xl); }
  .featured-in--pad-bottom { padding-bottom: var(--space-4xl); }
}
.featured-in__inner {
  display: flex;
  align-items: center;
  overflow: hidden;
  border: var(--border-comic);
  border-radius: var(--radius-lg);
  padding: var(--space-md) 0;
  box-shadow: 4px 4px 0 var(--color-warm-black);
  background: white;
  transform: rotate(-0.3deg);
}
.featured-in__label {
  font-size: var(--text-base);
  font-weight: var(--weight-bold);
  color: var(--color-blue);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 0 var(--space-xl);
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}
.featured-in__marquee {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  position: relative;
}
.featured-in__marquee::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 60px;
  background: linear-gradient(to right, white, transparent);
  z-index: 1;
  pointer-events: none;
}
.featured-in__logo { display: flex; align-items: center; justify-content: center; opacity: 0.5; transition: opacity var(--duration-normal) var(--ease-out); }
.featured-in__logo:hover { opacity: 1; }
.featured-in__marquee .splide__slide { display: flex; align-items: center; justify-content: center; }
.featured-in__logo img { height: 32px; width: auto; display: block; filter: brightness(0); object-fit: contain; }

/* Mobile: stack the label above the scrolling logos. */
@media (max-width: 600px) {
  .featured-in__inner { flex-direction: column; align-items: stretch; }
  .featured-in__label {
    padding: 0 var(--space-md) var(--space-sm);
    text-align: center;
    white-space: normal;
  }
  .featured-in__marquee { width: 100%; }
}


/* ============================================================
   11. INFO BAR
   ============================================================ */
.info-bar { padding: var(--space-xl) 0; }
.info-bar__inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: var(--space-xl);
  align-items: start;
  background: var(--color-blue);
  color: white;
  border: var(--border-comic);
  border-radius: var(--radius-lg);
  padding: var(--box-pad);
  box-shadow: 6px 6px 0 var(--color-warm-black);
  transform: rotate(0.3deg);
  position: relative;
  overflow: hidden;
}
.info-bar__label { font-size: var(--text-base); font-weight: var(--weight-bold); color: rgba(255,255,255,0.85); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: var(--space-xs); position: relative; z-index: 1; }
.info-bar__status { display: flex; align-items: center; gap: var(--space-sm); position: relative; z-index: 1; }
.info-bar__dot             { width: 10px; height: 10px; border-radius: 50%; background: var(--color-success); animation: pulse 2s infinite; }
.info-bar__dot--warning    { background: var(--color-warning); }
.info-bar__dot--closed     { background: var(--color-red); animation: none; }
.info-bar__open { font-weight: var(--weight-bold); font-size: var(--text-base); }
.info-bar__until { font-size: var(--text-base); color: rgba(255,255,255,0.85); margin-top: var(--space-xs); }
.info-bar__hours { font-size: var(--text-base); line-height: 2; position: relative; z-index: 1; }
.info-bar__hours-day  { font-weight: var(--weight-medium); }
.info-bar__hours-time { font-weight: var(--weight-bold); margin-left: var(--space-sm); }
.info-bar__address { font-size: var(--text-base); font-weight: var(--weight-medium); line-height: var(--leading-relaxed); position: relative; z-index: 1; }
.info-bar__ctas { display: flex; flex-direction: column; gap: var(--space-md); position: relative; z-index: 1; }

/* Accordion — Opening Hours + Find Us collapse on mobile, always visible on desktop */
.info-bar__accordion { position: relative; z-index: 1; }

@media (min-width: 601px) {
  .info-bar__accordion > summary { pointer-events: none; cursor: default; list-style: none; }
  .info-bar__accordion > summary::-webkit-details-marker { display: none; }
  .info-bar__accordion > summary::marker { display: none; }
}

@media (max-width: 600px) {
  .info-bar__accordion > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    list-style: none;
    user-select: none;
    -webkit-user-select: none;
    margin-bottom: 0;
  }
  .info-bar__accordion > summary::-webkit-details-marker { display: none; }
  .info-bar__accordion > summary::marker { display: none; }
  .info-bar__accordion > summary::after {
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    border-right: 2px solid rgba(255,255,255,0.75);
    border-bottom: 2px solid rgba(255,255,255,0.75);
    transform: rotate(45deg);
    transition: transform 0.2s ease;
    flex-shrink: 0;
    margin-left: var(--space-sm);
    margin-bottom: 2px;
  }
  .info-bar__accordion[open] > summary::after { transform: rotate(-135deg); margin-bottom: -2px; }
  .info-bar__accordion > *:not(summary) { padding-top: var(--space-sm); }
}

@media (max-width: 1100px) { .info-bar__inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px)  { .info-bar__inner { grid-template-columns: 1fr; } }

@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }


/* ============================================================
   12. WHO WE ARE CARDS / HIGHLIGHT FEATURE CARDS
   ============================================================ */
.who-we-are { overflow: hidden; position: relative; }
.who-we-are--blue-bg { background: var(--color-blue-light); }
.who-we-are__header { display: flex; flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--space-xl); margin-bottom: var(--space-xl); }
.who-we-are__header-text { flex: 1; min-width: 0; }
/* Kill the base.css margin-bottom on section-heading inside the header so flex gap controls spacing */
.who-we-are__header .section-heading { margin-bottom: 0; }
/* Prevent the CTA label from breaking mid-word; the whole link wraps as a unit instead */
.who-we-are__header .arrow-link { white-space: nowrap; flex-shrink: 0; }
.who-we-are__cards  { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-xl); }

.who-card {
  border: var(--border-comic);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: white;
  box-shadow: var(--shadow-comic);
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
  text-decoration: none;
  color: inherit;
  display: block;
}
.who-card.is-visible:hover { transform: translateY(-6px); box-shadow: var(--shadow-comic-lg); transition-delay: 0s; }
.who-card:focus-visible { outline: 3px solid var(--color-blue); outline-offset: 3px; }
.who-card__image { aspect-ratio: 16/10; background: var(--color-blue-light); overflow: hidden; position: relative; }
.who-card__number {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 3px solid var(--color-warm-black);
  box-shadow: 2px 2px 0 var(--color-warm-black);
  background: var(--card-accent, var(--color-blue));
  color: var(--card-number-color, white);
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: var(--weight-bold);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.who-we-are--no-numbers .who-card__number { display: none; }
.who-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--duration-slow) var(--ease-out); }
.who-card:hover .who-card__image img { transform: scale(1.05); transition-delay: 0s; }
.who-card__body { padding: var(--box-pad); background: white; border-top: 5px solid var(--card-accent, var(--color-blue)); }
.who-card__title { font-family: var(--font-display); font-size: var(--text-lg); font-weight: var(--weight-bold); color: var(--color-warm-black); }
.who-card__text  { font-size: var(--text-base); color: var(--color-warm-black); line-height: var(--leading-relaxed); margin-top: var(--space-sm); }
.who-card__text span { display: block; }

/* Linked card — arrow badge in top-right corner */
.who-card--linked .who-card__link-badge {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: 32px;
  height: 32px;
  background: white;
  border: 2px solid var(--color-warm-black);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background var(--duration-fast) var(--ease-out), transform var(--duration-fast) var(--ease-out);
}
.who-card--linked .who-card__link-badge svg { width: 14px; height: 14px; stroke: var(--color-warm-black); transition: stroke var(--duration-fast) var(--ease-out); }
.who-card--linked.is-visible:hover .who-card__link-badge { background: var(--card-accent, var(--color-blue)); transform: scale(1.1); transition-delay: 0s; }
.who-card--linked.is-visible:hover .who-card__link-badge svg { stroke: white; transition-delay: 0s; }

/* Hover reveal: mouse/trackpad users on larger screens only.
   (pointer: fine) excludes touch-only devices (coarse pointer) even if they
   somehow report hover: hover, ensuring text is always visible on touch screens. */
@media (hover: hover) and (pointer: fine) and (min-width: 601px) {
  .who-card__image { aspect-ratio: 4/5; }
  .who-card__body  { position: absolute; bottom: 0; left: 0; right: 0; transition: transform var(--duration-normal) var(--ease-out); }
  .who-card__text  { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--duration-normal) var(--ease-out), margin var(--duration-normal) var(--ease-out); margin-top: 0; }
  .who-card__text span { overflow: hidden; }
  .who-card:hover .who-card__text { grid-template-rows: 1fr; margin-top: var(--space-sm); }
}

/* ── Highlight Feature Cards — Splide desktop grid override ─────────────── */
.hfc-slider .splide__track { overflow: visible !important; }
.hfc-slider .splide__list {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 30%), 1fr));
  gap: var(--space-xl);
}
.hfc-slider .splide__slide { list-style: none; width: auto !important; }

/* Equal-height cards: each grid cell stretches (default), and the card fills
 * it so a longer card sets the height for the whole row. The body flexes to
 * absorb the difference. (Mobile reinforces this in the media query below.) */
.hfc-slider .splide__slide { display: flex; }
.hfc-slider .splide__slide > .who-card { flex: 1; display: flex; flex-direction: column; }
.hfc-slider .splide__slide > .who-card .who-card__body { flex: 1; }

/* Swipe hint — hidden on desktop, shown on mobile */
.hfc-swipe-hint { display: none; }

@media (max-width: 1100px) {
  .who-we-are__cards { grid-template-columns: 1fr 1fr; }
  .hfc-slider .splide__list { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 600px) {
  /* overflow-x: clip prevents horizontal scroll without creating a scroll container
     (unlike overflow: hidden which breaks position: sticky). overflow-y: visible
     lets card box-shadows bleed above and below the section. */
  .who-we-are { overflow-x: clip; overflow-y: visible; }
  .who-we-are__cards { grid-template-columns: 1fr; }
  /* Stack header vertically on mobile; arrow link drops below heading */
  .who-we-are__header { flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: var(--space-sm); }
  /* Break slider out of .container padding so it spans the full viewport width. */
  .hfc-slider {
    margin-left: calc(-1 * var(--container-gutter));
    margin-right: calc(-1 * var(--container-gutter));
  }
  /* overflow-x: clip clips offscreen slides; overflow-y: visible preserves shadows */
  .hfc-slider .splide__track { overflow-x: clip !important; overflow-y: visible !important; }
  .hfc-slider .splide__list { display: flex !important; grid-template-columns: none; gap: 0; align-items: stretch !important; }
  .hfc-slider .splide__slide { flex-shrink: 0; width: calc(91% - 1.5rem) !important; display: flex !important; flex-direction: column; }
  /* Stretch card to fill slide height so all cards match the tallest */
  .hfc-slider .splide__slide .who-card { flex: 1; display: flex; flex-direction: column; }
  .hfc-slider .splide__slide .who-card__body { flex: 1; }
  /* Disable entrance animations inside the carousel — offscreen cards start at
     opacity: 0 which makes the peeking next card invisible until the observer fires.
     The swipe itself is the reveal; reset all animation classes to their end state. */
  .hfc-slider .comic-slam-left,
  .hfc-slider .comic-slam-right,
  .hfc-slider .comic-drop,
  .hfc-slider .comic-pop,
  .hfc-slider .comic-reveal {
    opacity: 1;
    transform: rotate(var(--card-rotate, 0deg));
    transition: none;
  }
  /* Swipe hint */
  .hfc-swipe-hint {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    justify-content: center;
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: var(--weight-bold);
    color: var(--color-grey-dark);
    margin-top: var(--space-md);
  }
  .hfc-swipe-hint svg { width: 16px; height: 16px; stroke: var(--color-grey-dark); }
}


/* ============================================================
   13. EVENTS
   ============================================================ */
.events { background: var(--color-blue-light); position: relative; overflow: hidden; }
.events .container { position: relative; z-index: 1; }
.events .eyebrow { color: var(--color-red); }
.events__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}
.events__header-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.events__nav {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-shrink: 0;
  align-self: flex-end;
}

@media (max-width: 600px) {
  .events__header { flex-wrap: wrap; gap: var(--space-md); }
  .events__header-text { order: 1; width: 100%; }
  .events__nav { order: 3; margin-top: var(--space-sm); }
  .events__featured { order: 4; }
}
.events__nav-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 3px solid var(--color-warm-black);
  background: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-warm-black);
  transition: all var(--duration-fast) var(--ease-out);
  box-shadow: var(--shadow-comic-sm);
}
.events__nav-btn:hover:not(:disabled) { background: var(--color-red); color: white; }
.events__nav-btn:disabled { opacity: 0.35; cursor: default; }

.events__featured { margin-bottom: var(--space-lg); }
.events__featured .splide { overflow: hidden; padding: 8px 16px 16px; margin: 0 -16px; }
/* Mobile: match the breakout to the tighter container gutter so the carousel track
   meets the viewport edge exactly (cards stay aligned to the container content edge). */
@media (max-width: 600px) {
  .events__featured .splide { padding: 8px var(--container-gutter) 16px; margin: 0 calc(-1 * var(--container-gutter)); }
}
.events__featured .splide__track { overflow: visible; }
.events__featured .splide__list  { display: flex; align-items: stretch; }
.events__featured .splide__slide { display: flex; }
.events__featured .event-card    { flex: 1; }

/* Date column resting/hover widths — shared between date and body */
.event-card { --date-w: 110px; --date-hover-w: 155px; }

.event-card {
  display: flex;
  overflow: hidden;
  background: white;
  text-decoration: none;
  color: var(--color-warm-black);
  border: var(--border-comic);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-comic);
  cursor: pointer;
}

@media (hover: hover) and (pointer: fine) {
  .event-card:hover .event-card__date { width: var(--date-hover-w); min-width: var(--date-hover-w); }
  .event-card--has-img:hover .event-card__date::before { opacity: 1; }
  .event-card:hover .event-card__cta  { gap: var(--space-sm); }
  .event-card:hover .event-card__cta svg { transform: translateX(4px); }
}

.event-card__date {
  position: relative;
  overflow: hidden;
  background-color: var(--color-red);
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg) var(--space-xl);
  width: var(--date-w);
  min-width: var(--date-w);
  flex-shrink: 0;
  transition: width 0.4s var(--ease-out), min-width 0.4s var(--ease-out);
}

/* Image layer — fades in over the red on hover */
.event-card--has-img .event-card__date::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(0,0,0,0.42), rgba(0,0,0,0.42)), var(--event-img);
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
}

/* Day/month sit above the image layer */
.event-card__day   {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: var(--weight-black);
  line-height: 1;
  position: relative;
  z-index: 1;
}
.event-card__month {
  font-size: var(--text-base);
  margin-top: var(--space-xs);
  position: relative;
  z-index: 1;
}

/* Range modifier: "14–16 / MAR" or "31–1 / AUG–SEP" — shrink day, keep month natural size */
.event-card__date--range {
  padding-left: var(--space-sm);
  padding-right: var(--space-sm);
}
.event-card__date--range .event-card__day {
  font-size: var(--text-lg);
  white-space: nowrap;
}
.event-card__date--range .event-card__month {
  white-space: nowrap;
}

/* Body pre-constrained to hover width — title never reflows on expand */
.event-card__body  {
  padding: var(--box-pad);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-xs);
  min-width: 0;
  max-width: calc(100% - var(--date-hover-w));
  flex: 1;
}
.event-card__title { font-family: var(--font-display); font-size: var(--text-lg); font-weight: var(--weight-bold); line-height: var(--leading-tight); }
.event-card__meta  { font-size: var(--text-base); color: var(--color-warm-black); font-weight: var(--weight-regular); }
.event-card__cta   { font-size: var(--text-base); font-weight: var(--weight-bold); color: var(--color-red); display: inline-flex; align-items: center; gap: var(--space-xs); transition: gap var(--duration-normal) var(--ease-bounce); }
.event-card__cta span { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 2px; }
.event-card__cta svg { width: 16px; height: 16px; transition: transform var(--duration-normal) var(--ease-bounce); }

.events__weekly {
  background: white;
  border: var(--border-comic);
  border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-xl);
  box-shadow: 4px 4px 0 var(--color-warm-black);
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
  flex-wrap: wrap;
}
.events__weekly-heading { font-family: var(--font-display); font-size: var(--text-lg); font-weight: var(--weight-bold); }
.events__weekly-item { font-size: var(--text-base); font-weight: var(--weight-regular); color: var(--color-warm-black); }
.events__weekly-item strong { color: var(--color-red); font-weight: var(--weight-bold); }

@media (max-width: 1100px) { .events__weekly { flex-direction: column; align-items: flex-start; gap: var(--space-md); } }


.events__header .section-heading { margin-bottom: 0; }
.events__about-link { display: inline-flex; margin-top: var(--space-sm); }

.events__empty { font-size: var(--text-base); color: var(--color-warm-black); opacity: 0.6; padding: var(--space-xl) 0; }

/* Regular events bar */
.events__regular {
  background: white;
  border: var(--border-comic);
  border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-xl);
  box-shadow: 4px 4px 0 var(--color-warm-black);
}
.events__regular-label {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-warm-black);
  margin-bottom: var(--space-md);
}
.events__regular-list {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}
.events__regular-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--color-warm-white);
  border: 2px solid var(--color-warm-black);
  border-radius: var(--radius-md);
  padding: var(--space-sm) var(--space-md);
  flex: 1 1 180px;
  min-width: 0;
}
.events__regular-day {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: var(--weight-bold);
  background: var(--color-red);
  color: white;
  border: 2px solid var(--color-warm-black);
  border-radius: var(--radius-sm);
  padding: 3px 8px;
  white-space: nowrap;
  flex-shrink: 0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
/* Day badge always shows the short form (Mon/Tue/Wed) at every breakpoint;
 * the full name stays in the DOM, visually hidden, so screen readers announce it. */
.events__regular-day-short { display: inline; }
.events__regular-day-full {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.events__regular-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.events__regular-body .re-starting-badge { margin-top: 5px; align-self: flex-start; }
.events__regular-name {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
  overflow-wrap: break-word;
}
.events__regular-meta {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  flex-wrap: wrap;
}
.events__regular-cadence,
.events__regular-time {
  font-size: var(--text-base);
  color: var(--color-warm-black);
  opacity: 0.65;
}
.events__regular-meta-sep {
  font-size: var(--text-base);
  color: var(--color-warm-black);
  opacity: 0.4;
}
.events__regular-venue {
  font-size: var(--text-base);
  color: var(--color-red);
  font-weight: var(--weight-bold);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
}
a.events__regular-venue:hover { color: var(--color-blue); }

@media (max-width: 1100px) and (min-width: 601px) {
  .events__regular-item { flex: 1 1 calc(50% - var(--space-md)); }
}
@media (max-width: 600px) {
  .events__regular-item { flex: 1 1 100%; }
  .events__regular { padding: var(--space-md) var(--space-lg); }
}


/* Regular event card — clickable button reset */
button.events__regular-item {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  font-size: inherit;
  /* Safari/iOS render <button> text in the default system blue unless an
   * explicit colour is set — pin it so .events__regular-name stays black. */
  color: var(--color-warm-black);
  -webkit-text-fill-color: currentColor;
  transition: transform var(--duration-fast) var(--ease-out), box-shadow var(--duration-fast) var(--ease-out), border-color var(--duration-fast) var(--ease-out);
}
button.events__regular-item:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-comic-sm);
  border-color: var(--color-warm-black);
}
button.events__regular-item:focus-visible {
  outline: 3px solid var(--color-blue);
  outline-offset: 2px;
}

/* ── Regular event modal ──────────────────────────────────────────────────── */
.re-modal {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
}
.re-modal[hidden] { display: none; }

.re-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(45, 36, 32, 0.55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.re-modal__panel {
  position: relative;
  z-index: 1;
  background: white;
  border: var(--border-comic);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-comic-lg);
  width: 100%;
  max-width: 640px;
  max-height: calc(100dvh - var(--space-md) * 2);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.re-modal__header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-lg) var(--space-xl);
  border-bottom: 3px solid var(--color-warm-black);
  background: var(--color-warm-white);
  position: sticky;
  top: 0;
  z-index: 3;
}
.re-modal__day-badge {
  font-size: var(--text-base);
  font-weight: var(--weight-bold);
  background: var(--color-red);
  color: white;
  border: 2px solid var(--color-warm-black);
  border-radius: var(--radius-sm);
  padding: 2px 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.re-modal__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
  flex: 1;
  margin: 0;
}
.re-modal__close {
  appearance: none;
  -webkit-appearance: none;
  background: none;
  border: 2px solid var(--color-warm-black);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  color: var(--color-warm-black);
  transition: background var(--duration-fast) var(--ease-out), color var(--duration-fast) var(--ease-out);
}
.re-modal__close:hover { background: var(--color-warm-black); color: white; }
.re-modal__close:focus-visible { outline: 3px solid var(--color-blue); outline-offset: 2px; }
.re-modal__close svg { width: 16px; height: 16px; pointer-events: none; }

.re-modal__body {
  padding: var(--space-lg) var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
.re-modal__schedule {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
}
.re-modal__cadence {
  font-size: var(--text-base);
  font-weight: var(--weight-bold);
  background: var(--color-blue);
  color: white;
  border: 2px solid var(--color-warm-black);
  border-radius: var(--radius-sm);
  padding: 2px 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.re-modal__time {
  font-size: var(--text-base);
  font-weight: var(--weight-bold);
  background: white;
  color: var(--color-warm-black);
  border: 2px solid var(--color-warm-black);
  border-radius: var(--radius-sm);
  padding: 2px 10px;
}
.re-modal__desc {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--color-warm-black);
  margin: 0;
}
.re-modal__desc > p:first-child { margin-top: 0; }
.re-modal__desc > p:last-child  { margin-bottom: 0; }
.re-modal__desc ul,
.re-modal__desc ol { padding-left: 1.25em; margin: 0.5em 0; }
.re-modal__desc li { margin-bottom: 0.25em; }
.re-modal__venue {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--text-base);
  font-weight: var(--weight-medium);
}
.re-modal__venue svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--color-red); }
.re-modal__venue a { color: var(--color-red); font-weight: var(--weight-bold); text-decoration: underline; text-underline-offset: 3px; }
.re-modal__venue a:hover { color: var(--color-blue); }

.re-modal__footer {
  padding: var(--space-lg) var(--space-xl);
  border-top: 3px solid var(--color-warm-black);
  background: var(--color-warm-white);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-md);
}
.re-modal__footer .arrow-link { color: var(--color-warm-black); }
.re-modal__booking[hidden] { display: none; }
.re-modal__booking svg { width: 16px; height: 16px; flex-shrink: 0; }

html.re-modal-open,
html.re-modal-open body,
html.ts-lightbox-open,
html.ts-lightbox-open body { overflow: hidden; }

@media (max-width: 600px) {
  .re-modal__header { padding: var(--space-md) var(--space-lg); gap: var(--space-sm); }
  .re-modal__body   { padding: var(--space-md) var(--space-lg); }
  .re-modal__footer { padding: var(--space-md) var(--space-lg); }
}

/* ── Starting-date modal row ─────────────────────────────────────────────── */
.re-modal__starting-date {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 2px 10px;
  background: var(--color-yellow);
  border: 2px solid var(--color-warm-black);
  border-radius: var(--radius-sm);
  font-size: var(--text-base);
  font-weight: var(--weight-bold);
  color: var(--color-warm-black);
  flex-shrink: 0;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.re-modal__starting-date[hidden] { display: none; }
.re-modal__starting-date svg { width: 14px; height: 14px; flex-shrink: 0; color: var(--color-warm-black); }

/* ── Modal gallery strip ─────────────────────────────────────────────────── */
.re-modal__gallery {
  position: relative;
  height: 240px;
  border-bottom: 3px solid var(--color-warm-black);
  overflow: hidden;
}
.re-modal__gallery[hidden] { display: none; }

.re-modal__gallery-slider,
.re-modal__gallery .splide,
.re-modal__gallery .splide__track,
.re-modal__gallery .splide__list { height: 100%; }

.re-modal__gallery .splide__slide { position: relative; }

.re-modal__gallery .splide__slide {
  height: 100%;
}

.re-modal__gallery .splide__slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: auto;
}

.re-modal__gallery::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 72px;
  background: linear-gradient(to top, rgba(45,36,32,0.5), transparent);
  pointer-events: none;
  z-index: 1;
}

.re-modal__gallery-dots {
  position: absolute;
  bottom: var(--space-sm);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}

.re-modal__gallery-dot {
  appearance: none;
  -webkit-appearance: none;
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.5);
  border: 2px solid var(--color-warm-black);
  padding: 0;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: width var(--duration-normal) var(--ease-bounce),
              background var(--duration-normal) var(--ease-out);
}
.re-modal__gallery-dot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--color-red);
  transform: scaleX(0);
  transform-origin: left;
}
.re-modal__gallery-dot.is-active { width: 36px; background: white; }
.re-modal__gallery-dot.is-active::after { animation: dotFill 3.5s linear forwards; }

@media (max-width: 600px) {
  .re-modal__gallery { height: 190px; }
}

/* ── Starting-date badge (card + slider item) ────────────────────────────── */
.re-starting-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: var(--color-yellow);
  color: var(--color-warm-black);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 2px solid var(--color-warm-black);
  border-radius: 999px;
  line-height: 1.4;
  white-space: nowrap;
  font-family: var(--font-body);
}
.re-starting-badge svg { width: 12px; height: 12px; flex-shrink: 0; }

/* Section 14 "What We Offer Cards" (.offer / .offer-card) removed — it was a
   static-design carryover with zero references in any template or script. */

/* ============================================================
   15. PEOPLE CARDS
   ============================================================ */
.people { position: relative; overflow: hidden; }
.people__header  { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: var(--space-xl); }
.people .eyebrow { color: var(--color-red); }
.people__carousel { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-xl); }

.people-card {
  border: var(--border-comic);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: white;
  box-shadow: var(--shadow-comic);
  transition: all var(--duration-normal) var(--ease-out);
}
.people-card.is-visible:hover { transform: translateY(-6px); box-shadow: var(--shadow-comic-lg); }
.people-card__media { aspect-ratio: 3/4; background: var(--color-blue-light); position: relative; overflow: hidden; }
.people-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--duration-slow) var(--ease-out); }
.people-card:hover .people-card__media img { transform: scale(1.05); }
.people-card__info { padding: var(--space-lg); }
.people-card:nth-child(1) .people-card__info { border-top: 5px solid var(--color-red); }
.people-card:nth-child(2) .people-card__info { border-top: 5px solid var(--color-blue); }
.people-card:nth-child(3) .people-card__info { border-top: 5px solid var(--color-yellow); }
.people-card__name { font-family: var(--font-display); font-size: var(--text-md); font-weight: var(--weight-bold); }

.people__nav { display: flex; gap: var(--space-sm); }
.people__nav-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 3px solid var(--color-warm-black);
  background: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-warm-black);
  transition: all var(--duration-fast) var(--ease-out);
  box-shadow: var(--shadow-comic-sm);
}
.people__nav-btn:hover { background: var(--color-blue); color: white; }
.people__badge { position: absolute; top: 0; right: var(--space-3xl); }

@media (max-width: 1100px) { .people__carousel { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) {
  .people__carousel { grid-template-columns: 1fr; }
  .people__badge { display: none; }
  .people__header { flex-direction: column; align-items: flex-start; gap: var(--space-md); }
}


/* ============================================================
   16. TESTIMONIALS
   ============================================================ */
.testimonials { overflow-x: clip; overflow-y: visible; position: relative; }
.testimonials__header { text-align: center; margin-bottom: var(--space-xl); }
.testimonials .eyebrow { color: var(--color-red); }
/* Splide track — let card shadows and rotations overflow visibly */
.tm-slider .splide__track { overflow: visible !important; }

/* 3-colour cycle keyed on slide position, not card nth-child */
.testimonials .splide__slide:nth-child(3n+1) .testimonial-card { background: var(--color-blue-light); }
.testimonials .splide__slide:nth-child(3n+2) .testimonial-card { background: var(--color-cream); }
.testimonials .splide__slide:nth-child(3n)   .testimonial-card { background: var(--color-red-light); }

.testimonial-card {
  border: var(--border-comic);
  border-radius: var(--radius-xl);
  padding: var(--box-pad);
  box-shadow: var(--shadow-comic);
  transition: transform var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out);
  position: relative;
  height: 100%;
  box-sizing: border-box;
}
.testimonial-card.is-visible:hover { transform: translateY(-4px) rotate(0deg); box-shadow: var(--shadow-comic-lg); }
/* Speech bubble tail — outer (border colour) */
.testimonial-card::after {
  content: '';
  position: absolute;
  bottom: -14px;
  left: 30px;
  width: 0; height: 0;
  border-style: solid;
  border-width: 14px 10px 0 10px;
  border-color: var(--color-warm-black) transparent transparent transparent;
}
/* Speech bubble tail — inner (matches card bg) */
.testimonial-card::before {
  content: '';
  position: absolute;
  bottom: -9px;
  left: 32px;
  z-index: 1;
  width: 0; height: 0;
  border-style: solid;
  border-width: 10px 8px 0 8px;
}
.testimonials .splide__slide:nth-child(3n+1) .testimonial-card::before { border-color: var(--color-blue-light) transparent transparent transparent; }
.testimonials .splide__slide:nth-child(3n+2) .testimonial-card::before { border-color: var(--color-cream)      transparent transparent transparent; }
.testimonials .splide__slide:nth-child(3n)   .testimonial-card::before { border-color: var(--color-red-light)  transparent transparent transparent; }

.testimonial-card__stars  { color: var(--color-yellow-dark); margin-bottom: var(--space-md); display: flex; gap: 3px; }
.testimonial-card__stars svg { width: 16px; height: 16px; fill: currentColor; stroke: none; }
.testimonial-card__quote  {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: var(--weight-bold);
  line-height: 1.4;
  color: var(--color-warm-black);
  margin: 0 0 var(--space-lg);
}
.testimonial-card__author { font-size: var(--text-base); color: var(--color-warm-black); font-weight: var(--weight-semibold); }
.testimonial-card__role   { display: block; font-size: var(--text-sm); font-weight: var(--weight-medium); opacity: 0.65; margin-top: 2px; }

/* Disable entrance animations inside the carousel — off-screen slides start at
   opacity:0 which makes the peeking cards invisible until the observer fires. */
.tm-slider .comic-slam-left,
.tm-slider .comic-slam-right,
.tm-slider .comic-drop,
.tm-slider .comic-pop {
  opacity: 1;
  transform: rotate(var(--card-rotate, 0deg));
  transition: none;
}



/* ============================================================
   18. BLOG CARDS
   ============================================================ */
.blog { overflow: hidden; position: relative; }
.blog__header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: var(--space-xl); }
.blog__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-xl); }

.blog-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background: white;
  border: var(--border-comic);
  border-radius: var(--radius-lg);
  box-shadow: 4px 4px 0 var(--color-warm-black);
  overflow: hidden;
  transition: transform var(--duration-normal) var(--ease-bounce),
              box-shadow var(--duration-normal) var(--ease-bounce);
}

@media (hover: hover) and (pointer: fine) {
  .blog-card:hover {
    transform: translate(-3px, -3px);
    box-shadow: 7px 7px 0 var(--color-warm-black);
  }
}

.blog-card:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring), 4px 4px 0 var(--color-warm-black);
}

.blog-card__img-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--color-cream);
  overflow: hidden;
  flex-shrink: 0;
}

.blog-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: auto;
  transition: transform var(--duration-slow) var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .blog-card:hover .blog-card__img { transform: scale(1.04); }
}

.blog-card__img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-cream);
  color: var(--color-grey-mid);
}

.blog-card__img-placeholder svg { width: 40px; height: 40px; }

.blog-card__cat-badge {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  color: white;
  background: var(--color-red);
  border: 2px solid var(--color-warm-black);
  border-radius: var(--radius-full);
  padding: 3px 10px;
  white-space: nowrap;
  box-shadow: 2px 2px 0 var(--color-warm-black);
  margin-bottom: var(--space-sm);
}

.blog-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: var(--box-pad);
  border-top: 3px solid var(--color-warm-black);
}

.blog-card__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
  color: var(--color-warm-black);
  margin-bottom: var(--space-sm);
  letter-spacing: -0.01em;
}

.blog-card__summary {
  font-size: var(--text-base);
  font-weight: var(--weight-medium);
  color: var(--color-warm-black);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-md);
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card__date {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-grey-dark);
  margin-top: auto;
  padding-top: var(--space-md);
  border-top: 2px solid var(--color-grey-light);
}

@media (max-width: 600px) {
}

@media (max-width: 1100px) { .blog__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px)  { .blog__grid { grid-template-columns: 1fr; } }


/* Section 19 "Instagram Grid" (.insta) removed — it was a static-design
   carryover with zero references in any template or script. */


/* ============================================================
   20. PARTNERS
   ============================================================ */
.partners__header   { text-align: center; margin-bottom: var(--space-xl); }
.partners__subtitle { font-size: var(--text-base); color: var(--color-warm-black); max-width: 50ch; margin: 0 auto; }
.partners__grid     { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-lg); max-width: 1000px; margin: 0 auto; }
.partner-logo {
  border: 3px solid var(--color-warm-black);
  border-radius: var(--radius-lg);
  aspect-ratio: 3/1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-base);
  font-weight: var(--weight-bold);
  color: var(--color-grey-dark);
  background: white;
  box-shadow: var(--shadow-comic-sm);
  transition: all var(--duration-fast) var(--ease-out);
}
.partner-logo:hover { transform: translateY(-3px) rotate(-1deg); box-shadow: var(--shadow-comic); }

@media (max-width: 1100px) { .partners__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px)  { .partners__grid { grid-template-columns: 1fr 1fr; } }


/* ============================================================
   21. FOOTER
   ============================================================ */
.footer { background: var(--color-blue); color: white; position: relative; }
.footer__top {
  padding: var(--space-3xl) 0;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-3xl);
  align-items: end;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer__logo    { height: 40px; width: auto; filter: brightness(0) invert(1); margin-bottom: var(--space-md); }
.footer__tagline { font-family: var(--font-display); font-size: var(--text-3xl); font-weight: var(--weight-bold); line-height: var(--leading-tight); }
.footer__tagline em { font-style: normal; color: var(--color-yellow); }
.footer__social { display: flex; align-items: center; gap: var(--space-md); justify-self: end; }
.footer__social-icon {
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all var(--duration-fast) var(--ease-out);
}
.footer__social-icon svg { width: 20px; height: 20px; }
.footer__social-icon:hover        { background: var(--color-red); }
.footer__social-icon:focus-visible { outline: 2px solid var(--color-yellow); outline-offset: 3px; background: var(--color-red); }
.footer__social-handle { font-size: var(--text-base); font-weight: var(--weight-medium); color: var(--color-grey-light); }

.footer__columns {
  padding: var(--space-2xl) 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.5fr;
  gap: var(--space-2xl);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer__col-title { font-family: var(--font-display); font-size: var(--text-md); font-weight: var(--weight-bold); color: white; letter-spacing: 0.02em; margin-bottom: var(--space-md); }
.footer__address   { font-style: normal; font-size: var(--text-base); color: rgba(255,255,255,0.85); line-height: var(--leading-relaxed); margin-bottom: var(--space-md); }
.footer__col-links { list-style: none; display: flex; flex-direction: column; gap: var(--space-sm); }
.footer__col-link  { font-size: var(--text-base); font-weight: var(--weight-medium); color: rgba(255,255,255,0.75); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; text-decoration-thickness: 1.5px; display: inline-block; transition: color var(--duration-fast) var(--ease-out), text-decoration-color var(--duration-fast) var(--ease-out), transform var(--duration-fast) var(--ease-out); }
.footer__col-link:hover  { color: white; text-decoration-color: var(--color-yellow); transform: translateX(4px); }
.footer__col-link:focus-visible { outline: 2px solid var(--color-yellow); outline-offset: 3px; border-radius: 2px; color: white; text-decoration-color: var(--color-yellow); }

.footer__get-directions { display: inline-flex; align-items: center; gap: 6px; font-size: var(--text-base); font-weight: var(--weight-semibold); color: white; text-decoration: none; transition: color var(--duration-fast) var(--ease-out), transform var(--duration-fast) var(--ease-out); }
.footer__get-directions svg { flex-shrink: 0; width: 14px; height: 14px; }
.footer__get-directions:hover        { color: var(--color-yellow); transform: translateX(4px); }
.footer__get-directions:focus-visible { outline: 2px solid var(--color-yellow); outline-offset: 3px; border-radius: 2px; color: var(--color-yellow); }

.footer__hygiene-badge {
  display: block;
  width: 100%;
  max-width: 200px;
  height: auto;
  aspect-ratio: 1079 / 601;
  object-fit: contain;
  border-radius: 4px;
}
.footer__hygiene-badge-link {
  display: inline-block;
  border-radius: 4px;
  transition: opacity var(--duration-fast) var(--ease-out), transform var(--duration-fast) var(--ease-out);
}
.footer__hygiene-badge-link:hover        { opacity: 0.85; transform: translateY(-2px); }
.footer__hygiene-badge-link:focus-visible { outline: 2px solid var(--color-yellow); outline-offset: 4px; border-radius: 4px; }

/* Desktop: badge sits inside the Visit Us accordion body */
.footer__hygiene-wrap--desktop { margin-top: var(--space-lg); }
.footer__hygiene-wrap--mobile  { display: none; }

@media (max-width: 1100px) {
  .footer__hygiene-wrap--desktop { display: none; }
  .footer__hygiene-wrap--mobile  {
    display: block;
    padding: var(--space-lg) 0 var(--space-md);
    border-top: 1px solid rgba(255,255,255,0.08);
  }
}

.footer__hours-status { display: flex; align-items: center; gap: var(--space-sm); margin-bottom: var(--space-sm); }
.footer__hours-dot             { width: 8px; height: 8px; border-radius: 50%; background: var(--color-success); animation: pulse 2s infinite; }
.footer__hours-dot--warning    { background: var(--color-warning); }
.footer__hours-dot--closed     { background: var(--color-red); animation: none; }
.footer__hours-open   { font-size: var(--text-base); font-weight: var(--weight-bold); }
.footer__hours-divider { border: none; border-top: 1px solid rgba(255,255,255,0.08); margin: var(--space-md) 0; }
.footer__hours-list    { font-size: var(--text-base); font-weight: var(--weight-medium); color: rgba(255,255,255,0.85); line-height: 2; }
.footer__menu-btn      { margin-top: var(--space-lg); }

/* Shared disclaimer line — sits below opening hours in all contexts */
.hours-disclaimer {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  opacity: 0.6;
  margin-top: var(--space-sm);
  line-height: 1.5;
}

.footer__bottom {
  padding: var(--space-lg) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-base);
  color: var(--color-grey-light);
}
.footer__legal-links { display: flex; gap: var(--space-xl); }
.footer__legal-link  { font-size: var(--text-base); color: var(--color-grey-light); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; text-decoration-thickness: 1px; transition: color var(--duration-fast) var(--ease-out), text-decoration-color var(--duration-fast) var(--ease-out); }
.footer__legal-link:hover        { color: white; text-decoration-color: rgba(255,255,255,0.35); }
.footer__legal-link:focus-visible { outline: 2px solid var(--color-yellow); outline-offset: 3px; border-radius: 2px; color: white; }

.made-by { padding: var(--space-sm) 0; font-size: var(--text-base); color: rgba(255,255,255,0.4); background: rgba(0,0,0,0.1); }
.made-by__link { color: rgba(255,255,255,0.5); text-decoration: none; transition: color var(--duration-fast) var(--ease-out); }
.made-by__link:hover        { color: white; }
.made-by__link:focus-visible { outline: 2px solid var(--color-yellow); outline-offset: 3px; border-radius: 2px; color: white; }

@media (max-width: 1100px) {
  .footer__top { grid-template-columns: 1fr; }
  .footer__social { justify-self: start; }
  .footer__columns { grid-template-columns: 1fr 1fr; }
}
/* Footer link-column accordion — button resets (all breakpoints) */
.footer__col-toggle  { background: none; border: none; padding: 0; cursor: pointer; color: inherit; text-align: left; width: 100%; display: flex; justify-content: space-between; align-items: center; }
.footer__col-toggle:focus-visible { outline: 2px solid var(--color-yellow); outline-offset: 3px; border-radius: 2px; }
.footer__col-chevron { display: none; }

@media (max-width: 600px) {
  .footer__columns { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: var(--space-md); text-align: left; }
  .footer__legal-links { flex-wrap: wrap; justify-content: flex-start; gap: var(--space-md); }

  /* Accordion behaviour */
  .footer__col-chevron { display: block; width: 18px; height: 18px; flex-shrink: 0; transition: transform var(--duration-fast) var(--ease-out); }
  .footer__col-toggle[aria-expanded="true"] .footer__col-chevron { transform: rotate(180deg); }
  .footer__link-col .footer__col-links,
  .footer__link-col .footer__col-body { display: none; }
  .footer__link-col.is-open .footer__col-links { display: flex; gap: var(--space-xs); }
  .footer__link-col.is-open .footer__col-body { display: block; }
  .footer__link-col .footer__col-title { margin-bottom: 0; padding-bottom: var(--space-sm); border-bottom: 1px solid rgba(255,255,255,0.08); font-size: var(--text-base); }
  .footer__link-col.is-open .footer__col-title { border-bottom-color: transparent; }
  .footer__link-col.is-open .footer__col-links,
  .footer__link-col.is-open .footer__col-body { padding-top: var(--space-xs); }
  .footer__col-link { font-size: var(--text-sm); }
  .footer__col-links { gap: var(--space-xs); }
  .footer__address { font-size: var(--text-sm); }
  .footer__hours-list { font-size: var(--text-sm); line-height: 1.8; }
  .footer__hours-open { font-size: var(--text-sm); }
  .footer__get-directions { font-size: var(--text-sm); }
}


/* ============================================================
   22. COMIC-BOOK SCROLL ANIMATIONS
   ============================================================ */

/* Base hidden state — IntersectionObserver adds .is-visible */
.comic-reveal {
  opacity: 0;
  transform: scale(0.85) rotate(-3deg);
  transition: all 0.6s var(--ease-bounce);
}
.comic-reveal.is-visible {
  opacity: 1;
  transform: scale(1) rotate(-1deg);
}

.comic-slam-left {
  opacity: 0;
  transform: translateX(-80px) rotate(-5deg);
  transition: all 0.5s var(--ease-bounce);
}
.comic-slam-left.is-visible {
  opacity: 1;
  transform: translateX(0) rotate(var(--card-rotate, 0deg));
}

.comic-slam-right {
  opacity: 0;
  transform: translateX(80px) rotate(5deg);
  transition: all 0.5s var(--ease-bounce);
}
.comic-slam-right.is-visible {
  opacity: 1;
  transform: translateX(0) rotate(var(--card-rotate, 0deg));
}

.comic-pop {
  opacity: 0;
  transform: scale(0) rotate(-8deg);
  transition: all 0.5s var(--ease-bounce);
}
.comic-pop.is-visible {
  opacity: 1;
  transform: scale(1) rotate(var(--card-rotate, 0deg));
}

.comic-drop {
  opacity: 0;
  transform: translateY(-60px) rotate(3deg);
  transition: all 0.5s var(--ease-bounce);
}
.comic-drop.is-visible {
  opacity: 1;
  transform: translateY(0) rotate(var(--card-rotate, 0deg));
}

.comic-heading {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-bounce);
}
.comic-heading.is-visible { opacity: 1; transform: translateX(0); }

.comic-eyebrow {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-bounce);
}
.comic-eyebrow.is-visible { opacity: 1; transform: translateY(0); }

/* Stagger delay helpers — scoped to pre-visible state only so the delay
   doesn't bleed into hover transitions once the entrance animation has fired. */
.stagger-1:not(.is-visible) { transition-delay: 0s; }
.stagger-2:not(.is-visible) { transition-delay: 0.1s; }
.stagger-3:not(.is-visible) { transition-delay: 0.2s; }
.stagger-4:not(.is-visible) { transition-delay: 0.3s; }

/* Reduced motion — skip all animations */
@media (prefers-reduced-motion: reduce) {
  .comic-reveal,
  .comic-slam-left,
  .comic-slam-right,
  .comic-pop,
  .comic-drop,
  .comic-heading,
  .comic-eyebrow {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
}


/* ============================================================
   23. TRAINEE STORIES — 9:16 portrait video cards
   ============================================================ */
.people { position: relative; overflow: hidden; }

/* ── Background variants ─────────────────────────────────────── */
.people--white      { background: transparent; }
.people--light_blue { background: var(--color-blue-light); }
.people--blue       { background: var(--color-blue); }

/* On dark backgrounds, lift the heading + eyebrow onto the blue */
.people--blue .people__header-text .section-heading { color: var(--color-warm-white); }
.people--blue .people__header-text .eyebrow         { color: var(--color-yellow); }
.people--blue .people__header-text .arrow-link      { color: var(--color-warm-white); }

.people__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}
.people__header-text { flex: 1; min-width: 0; }
/* Suppress base.css margin so flex gap controls spacing */
.people__header-text .section-heading { margin-bottom: 0; }
.people .eyebrow { color: var(--color-red); }

/* Prev/next nav buttons — mirrors events slider style */
.people__nav { display: flex; gap: var(--space-sm); }
.people__nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 3px solid var(--color-warm-black);
  background: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-warm-black);
  transition: all var(--duration-fast) var(--ease-out);
  box-shadow: var(--shadow-comic-sm);
}
.people__nav-btn:hover { background: var(--color-blue); color: white; }
.people__nav-btn:disabled { opacity: 0.4; cursor: default; box-shadow: none; }

/* Decorative badge top-right of section */
.people__badge { position: absolute; top: 0; right: var(--space-3xl); pointer-events: none; }

/* Splide track — let cards overflow so shadows and rotations are fully visible */
.ts-slider .splide__track { overflow: visible !important; }

/* Full-bleed slider — break out of the .container so the carousel strip
   spans 100vw. The header above (and badge) stay inside the container. */
.people .ts-slider {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

/* ── People Card — 9:16 portrait ─────────────────────────────────────────── */
.people-card {
  aspect-ratio: 9 / 16;
  position: relative;
  overflow: hidden;
  border: var(--border-comic);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-comic);
  background: var(--color-blue-light);
  transition: transform var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out);
  display: block;
}
.people-card.is-visible:hover {
  transform: translateY(-6px) rotate(0deg);
  box-shadow: var(--shadow-comic-lg);
  transition-delay: 0s;
}
/* Suppress lift while video is playing */
.people-card.is-playing.is-visible:hover { transform: rotate(0deg); }

/* Media area fills entire card */
.people-card__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  aspect-ratio: auto; /* override the 3/4 ratio set in the legacy people-card rule above */
  background: var(--color-blue-light);
}
.people-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--duration-slow) var(--ease-out);
}
.people-card:hover .people-card__media img { transform: scale(1.05); }

/* Video overlay — fades in over the image on play */
.people-card__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-out);
}
.people-card.is-playing .people-card__video { opacity: 1; }

/* Name bar — overlaid at bottom, slides away on play */
.people-card__info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2; /* sits above the resting fullscreen button, which is tucked behind it */
  padding: var(--space-md) var(--space-lg);
  background: white;
  border-top: 5px solid var(--card-accent, var(--color-blue));
  transition: opacity var(--duration-normal) var(--ease-out),
              transform var(--duration-normal) var(--ease-out);
}
.people-card.is-playing .people-card__info {
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
}
.people-card__name {
  font-family: var(--font-display);
  font-size: var(--text-md);
  font-weight: var(--weight-bold);
  color: var(--color-warm-black);
  margin: 0;
}

/* ── Play / pause button — in-frame, accessible, keyboard navigable ─────── */
/* On brand: yellow fill + warm-black border (mirrors badge/stamp aesthetic).
   Hidden by default; revealed on card hover, :focus-visible, or touch. */
.people-card__play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 3px solid var(--color-warm-black);
  background: var(--color-yellow);
  color: var(--color-warm-black);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: var(--shadow-comic-sm);
  transition: opacity 0.3s var(--ease-out),
              background var(--duration-fast) var(--ease-out),
              transform var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out);
}
.people-card__play-btn:focus-visible {
  outline: 3px solid var(--color-blue);
  outline-offset: 4px;
}

/* Pointer cursor on the whole card (desktop) */
@media (hover: hover) and (pointer: fine) {
  .people-card--has-video { cursor: pointer; }
}

/* Play button: always visible when not playing */
.people-card--has-video .people-card__play-btn {
  opacity: 1;
  pointer-events: auto;
}

/* Button hover: lift + expand shadow — matches .btn--yellow pattern */
.people-card__play-btn:hover {
  transform: translate(-50%, -52%) translateY(-2px);
  background: var(--color-yellow-dark);
  box-shadow: var(--shadow-comic);
}

/* Playing: switch button to blue (pause state) */
.people-card.is-playing .people-card__play-btn {
  background: var(--color-blue);
  color: white;
}
/* Pause + fullscreen controls hide after cursor leaves / on touch dismiss —
   JS adds .pause-btn-hidden (350ms desktop, ~1.4s after start on touch). */
.people-card.pause-btn-hidden .people-card__play-btn,
.people-card.pause-btn-hidden .people-card__fs-btn {
  opacity: 0;
  pointer-events: none;
}
/* Pause button hover: matches .btn--primary pattern */
.people-card.is-playing .people-card__play-btn:hover {
  background: var(--color-blue-dark);
  transform: translate(-50%, -52%) translateY(-2px);
  box-shadow: var(--shadow-comic);
}

/* Lucide icon sizing — no display:block here so hide rules aren't overridden.
   After lucide.createIcons() the <i> is replaced with <svg>, class is preserved. */
.people-card__play-icon,
.people-card__pause-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  fill: currentColor;
  stroke: none;
}
/* Optical nudge: play triangle is visually left-heavy in its viewBox */
.people-card__play-icon { margin-left: 2px; }

/* Icon switching — specificity (0,2,1) beats the sizing rule (0,1,0) */
.people-card__play-btn .people-card__pause-icon { display: none; }
.people-card.is-playing .people-card__play-btn .people-card__play-icon  { display: none; }
.people-card.is-playing .people-card__play-btn .people-card__pause-icon { display: block; }

/* ── Fullscreen button — tucked behind the name bar, revealed on play ─────── */
/* At rest it hides behind the white info bar (z-index:1 < info's 2). On play the
   info bar slides away and reveals it; on desktop it also pops up on hover/focus. */
.people-card__fs-btn {
  position: absolute;
  right: var(--space-sm);
  bottom: var(--space-sm);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--color-warm-black);
  background: white;
  color: var(--color-warm-black);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  box-shadow: var(--shadow-comic-sm);
  transition: opacity 0.25s var(--ease-out),
              background var(--duration-fast) var(--ease-out),
              transform var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out);
}
.people-card__fs-btn svg { width: 18px; height: 18px; pointer-events: none; }

/* Only revealed while the clip is playing (the name bar has slid away).
   :focus-visible keeps it reachable for keyboard users. */
.people-card.is-playing .people-card__fs-btn,
.people-card__fs-btn:focus-visible {
  opacity: 1;
  pointer-events: auto;
  z-index: 3;
}
.people-card__fs-btn:hover {
  background: var(--color-yellow);
  transform: translateY(-2px);
  box-shadow: var(--shadow-comic);
}
.people-card__fs-btn:focus-visible {
  outline: 3px solid var(--color-blue);
  outline-offset: 3px;
}

/* ── Video lightbox — shared element appended to <body> ───────────────────── */
.ts-lightbox {
  position: fixed;
  inset: 0;
  z-index: var(--z-lightbox);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
}
.ts-lightbox[hidden] { display: none; }

.ts-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(45, 36, 32, 0.78);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: tsLightboxFade 0.25s var(--ease-out);
}

.ts-lightbox__stage {
  position: relative;
  z-index: 1;
  height: min(86dvh, 760px);
  aspect-ratio: 9 / 16;
  max-width: calc(100vw - var(--space-lg) * 2);
  animation: tsLightboxPop 0.3s var(--ease-out);
}

.ts-lightbox__video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: var(--color-warm-black);
  border: var(--border-comic);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-comic-lg);
}

.ts-lightbox__close {
  position: absolute;
  top: -18px;
  right: -18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 3px solid var(--color-warm-black);
  background: var(--color-yellow);
  color: var(--color-warm-black);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  box-shadow: var(--shadow-comic-sm);
  transition: background var(--duration-fast) var(--ease-out),
              transform var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out);
}
.ts-lightbox__close:hover {
  background: var(--color-yellow-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-comic);
}
.ts-lightbox__close:focus-visible { outline: 3px solid white; outline-offset: 3px; }
.ts-lightbox__close svg { width: 20px; height: 20px; pointer-events: none; }

@media (max-width: 600px) {
  .ts-lightbox__close { top: -14px; right: -10px; width: 40px; height: 40px; }
}

@keyframes tsLightboxFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes tsLightboxPop {
  from { opacity: 0; transform: scale(0.92) rotate(-1deg); }
  to   { opacity: 1; transform: scale(1) rotate(0); }
}
@media (prefers-reduced-motion: reduce) {
  .ts-lightbox__backdrop,
  .ts-lightbox__stage { animation: none; }
}

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .people__header { flex-direction: column; align-items: flex-start; gap: var(--space-md); }
  .people__badge  { display: none; }
}

@media (max-width: 600px) {
  /* overflow-x: clip prevents horizontal scroll without breaking position:sticky */
  .people { overflow-x: clip; overflow-y: visible; }

  /* Disable entrance animations inside the carousel — offscreen cards start at
     opacity:0 which makes the peeking next card invisible until the observer fires. */
  .ts-slider .comic-slam-left,
  .ts-slider .comic-slam-right,
  .ts-slider .comic-drop,
  .ts-slider .comic-pop {
    opacity: 1;
    transform: rotate(var(--card-rotate, 0deg));
    transition: none;
  }
}


/* ============================================================
   24. BANNER
   ─ Flexible feature section: eyebrow + heading + body + CTAs + icon cards.
   ─ Four backgrounds (blue / red / blue-light / white).
   ─ Two layouts (centre / left).
   ─ Up to 4 icon cards; auto-fills row regardless of count.
   ============================================================ */

/* ── Base section ─────────────────────────────────────────────────────────── */
.banner {
  position: relative;
  overflow: hidden;
}
.banner .container { position: relative; z-index: 1; }

/* ── Background colours ───────────────────────────────────────────────────── */
.banner--blue       { background: var(--color-blue);       color: white; }
.banner--red        { background: var(--color-red);        color: white; }
.banner--blue-light { background: var(--color-blue-light); color: var(--color-warm-black); }
.banner--white      { background: white;                   color: var(--color-warm-black); }

/* ── Heading colours on dark bgs ──────────────────────────────────────────── */
.banner--blue .section-heading,
.banner--red  .section-heading { color: white; }

/* ── White-solid button override on light-blue background ────────────────── */
/* btn--white-solid normally has white border (for dark bgs); swap to warm-black here */
.banner--blue-light .btn--white-solid {
  border-color: var(--color-warm-black);
  box-shadow: var(--shadow-comic-sm);
}
.banner--blue-light .btn--white-solid:hover {
  box-shadow: var(--shadow-comic);
}

/* ── Eyebrow colours ──────────────────────────────────────────────────────── */
.banner--blue       .eyebrow { color: var(--color-yellow); }
.banner--red        .eyebrow { color: rgba(255,255,255,0.85); }
.banner--blue-light .eyebrow,
.banner--white      .eyebrow { color: var(--color-blue); }

/* ── Centre layout — intro block ─────────────────────────────────────────── */
.banner--centre .banner__intro {
  text-align: center;
  max-width: 850px;
  margin: 0 auto var(--space-2xl);
}

.banner--centre .banner__body {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  opacity: 0.9;
  margin-bottom: var(--space-lg);
}

.banner--blue  .banner__body,
.banner--red   .banner__body { color: rgba(255,255,255,0.85); }

.banner--centre .banner__ctas {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--space-lg);
}

/* ── Left layout — two-column inner ─────────────────────────────────────────
   Text column left, 2×2 card grid right. Stacks on ≤900px.             ── */
.banner--left .banner__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

.banner--left .banner__text { }

.banner--left .banner__body {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-lg);
}

.banner--blue.banner--left  .banner__body,
.banner--red.banner--left   .banner__body { color: rgba(255,255,255,0.85); }

.banner--left .banner__ctas {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-top: var(--space-lg);
}

.banner--left .banner__cards-col { align-self: center; }

/* ── Card grid ────────────────────────────────────────────────────────────── */
.banner__grid {
  display: grid;
  gap: var(--space-lg);
}

/* Centre layout: count-driven columns so cards always fill the row */
.banner--centre .banner__grid--count-1 { grid-template-columns: 1fr; }
.banner--centre .banner__grid--count-2 { grid-template-columns: repeat(2, 1fr); }
.banner--centre .banner__grid--count-3 { grid-template-columns: repeat(3, 1fr); }
.banner--centre .banner__grid--count-4 { grid-template-columns: repeat(4, 1fr); }

/* Left layout: always 2-col inside the right column */
.banner--left .banner__grid { grid-template-columns: repeat(2, 1fr); }
.banner--left .banner__grid--count-1 { grid-template-columns: 1fr; }

/* ── Card ─────────────────────────────────────────────────────────────────── */
.banner-card {
  background: white;
  color: var(--color-warm-black);
  border-radius: var(--radius-lg);
  padding: var(--box-pad);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  transition: transform var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out);
}
a.banner-card { text-decoration: none; cursor: pointer; }

/* Card borders — dark backgrounds (offer-card style: semi-transparent shadow) */
.banner--blue .banner-card,
.banner--red  .banner-card {
  border: var(--border-comic);
  box-shadow: 5px 5px 0 rgba(0,0,0,0.3);
}

/* Card borders — light backgrounds (event-card style: solid shadow) */
.banner--blue-light .banner-card,
.banner--white      .banner-card {
  border: var(--border-comic);
  box-shadow: var(--shadow-comic);
}

/* Hover lift — only when animated in */
@media (hover: hover) and (pointer: fine) {
  .banner-card.is-visible:hover {
    transform: translateY(-6px) rotate(0deg);
    box-shadow: 8px 8px 0 rgba(0,0,0,0.3);
  }
  .banner--blue-light .banner-card.is-visible:hover,
  .banner--white      .banner-card.is-visible:hover {
    box-shadow: var(--shadow-comic-lg);
  }
}

/* ── Card icon ────────────────────────────────────────────────────────────── */
.banner-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.banner-card__icon svg {
  width: 24px;
  height: 24px;
  transition: transform var(--duration-normal) var(--ease-bounce);
}
.banner-card:hover .banner-card__icon svg {
  transform: translateY(-3px) rotate(-6deg) scale(1.1);
}

/* Icon colour variants */
.banner-card__icon--blue   { background: var(--color-blue-light);   color: var(--color-blue); }
.banner-card__icon--yellow { background: var(--color-yellow-light); color: var(--color-yellow-dark); }
.banner-card__icon--red    { background: var(--color-red-light);    color: var(--color-red); }

/* ── Card text ────────────────────────────────────────────────────────────── */
.banner-card__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  color: var(--color-warm-black);
  line-height: var(--leading-tight);
}
.banner-card__text {
  font-size: var(--text-base);
  color: var(--color-warm-black);
  line-height: var(--leading-relaxed);
  flex: 1;
}

/* ── Card link ────────────────────────────────────────────────────────────── */
.banner-card__link {
  font-size: var(--text-base);
  font-weight: var(--weight-bold);
  color: var(--color-blue);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  margin-top: auto;
  transition: gap var(--duration-normal) var(--ease-bounce),
              color var(--duration-fast) var(--ease-out);
}
.banner-card__link span {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
}
.banner-card__link svg { width: 16px; height: 16px; transition: transform var(--duration-normal) var(--ease-bounce); }
.banner-card__link:hover { gap: var(--space-sm); color: var(--color-blue-dark); }
.banner-card__link:hover svg { transform: translateX(4px); }

/* ── Responsive — tablet (≤900px) ───────────────────────────────────────── */
@media (max-width: 1100px) {
  /* Left layout: stack text above cards */
  .banner--left .banner__inner {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  /* Centre: keep body/ctas centred; left: keep them left-aligned (no override needed) */

  /* Centre layout: collapse 3-col and 4-col to 2-col */
  .banner--centre .banner__grid--count-3,
  .banner--centre .banner__grid--count-4 { grid-template-columns: repeat(2, 1fr); }

  /* Orphan: with 3 cards in a 2-col grid, last card spans full width */
  .banner--centre .banner__grid--count-3 .banner-card:last-child { grid-column: 1 / -1; }

  /* Left layout on tablet: still 2-col cards (same as desktop right column) */
  .banner--left .banner__grid { grid-template-columns: repeat(2, 1fr); }
  .banner--left .banner__grid--count-1 { grid-template-columns: 1fr; }
}

/* ── Responsive — mobile (≤600px) ───────────────────────────────────────── */
@media (max-width: 600px) {
  /* All grids collapse to 1-col, cards fill full width */
  .banner--centre .banner__grid,
  .banner--left   .banner__grid {
    grid-template-columns: 1fr;
  }
  /* Reset orphan span — not needed at 1-col */
  .banner--centre .banner__grid--count-3 .banner-card:last-child {
    grid-column: auto;
  }

  .banner__grid { gap: var(--space-md); }
}


/* ============================================================
   PARTNER LOGOS
   ============================================================ */

.partner-logos {
  padding: var(--space-3xl) 0;
}

.partner-logos--bg-blue  { background: var(--color-blue-light); }
.partner-logos--bg-white { background: #fff; }

/* ── Optional header ─────────────────────────────────────── */
.partner-logos__header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.partner-logos .eyebrow { color: var(--color-red); }

.partner-logos__heading {
  font-size: clamp(var(--text-2xl), 3.5vw, var(--text-4xl));
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
  color: var(--color-warm-black);
  margin: var(--space-sm) 0 0;
}

.partner-logos__heading em {
  font-style: normal;
  color: var(--color-red);
}

/* ── Grid ───────────────────────────────────────────────── */
.partner-logos__grid {
  display: grid;
  grid-template-columns: repeat(var(--pl-cols, 4), 1fr);
  gap: var(--space-lg);
  list-style: none;
  margin: 0;
  padding: 0;
}

/* ── Grid item — stretches to row height ────────────────── */
.partner-logos__item {
  display: flex;
}

/* ── Card ───────────────────────────────────────────────── */
.partner-logos__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-lg) var(--space-xl);
  width: 100%;
  height: 100%;
  background: #fff;
  border: var(--border-comic);
  border-radius: var(--radius-lg);
  box-shadow: 4px 4px 0 var(--color-warm-black);
  text-decoration: none;
  color: var(--color-warm-black);
  position: relative;
  transition:
    transform var(--duration-fast) var(--ease-out),
    box-shadow var(--duration-fast) var(--ease-out);
}

a.partner-logos__card:hover,
a.partner-logos__card:focus-visible {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--color-warm-black);
  outline: none;
}

a.partner-logos__card:focus-visible {
  box-shadow: 6px 6px 0 var(--color-warm-black), var(--focus-ring);
}

/* ── Logo image wrapper ─────────────────────────────────── */
.partner-logos__logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 80px;
  flex-shrink: 0;
}

.partner-logos__logo-wrap img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* ── Company name ───────────────────────────────────────── */
.partner-logos__name {
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  text-align: center;
  color: var(--color-warm-black);
  line-height: var(--leading-tight);
}

/* ── External link icon ─────────────────────────────────── */
.partner-logos__visit {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: var(--color-grey-mid);
  opacity: 0;
  transition: opacity var(--duration-fast) var(--ease-out);
}

a.partner-logos__card:hover .partner-logos__visit,
a.partner-logos__card:focus-visible .partner-logos__visit {
  opacity: 1;
}

.partner-logos__visit svg {
  width: 14px;
  height: 14px;
  stroke-width: 2.5;
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1100px) {
  .partner-logos__grid {
    grid-template-columns: repeat(var(--pl-cols-md, 2), 1fr);
  }
}

@media (max-width: 600px) {
  .partner-logos__grid {
    grid-template-columns: repeat(var(--pl-cols-sm, 2), 1fr);
    gap: var(--space-md);
  }

  .partner-logos__card {
    padding: var(--space-md) var(--space-lg);
  }

  .partner-logos__logo-wrap {
    height: 60px;
  }
}


/* ============================================================
   TWO BLOCK — INFORMATION WITH IMAGES
   Flexible two-column panel: text + images/events
   ============================================================ */

.two-block-info {
  position: relative;
  overflow: hidden;
  padding: var(--space-2xl) 0;
}
@media (min-width: 600px) { .two-block-info { padding: var(--space-3xl) 0; } }
@media (min-width: 1100px) { .two-block-info { padding: var(--space-4xl) 0; } }

.two-block-info .container { position: relative; z-index: 1; }

/* ── Background variants ─────────────────────────────────────── */
.two-block-info--white { background: transparent; }
.two-block-info--light_blue { background: var(--color-blue-light); }
.two-block-info--blue { background: var(--color-blue); }

/* Dark bg: text panel adjustments */
.two-block-info--blue .two-block-info__text {
  background: white;
}

/* ── Panels grid ─────────────────────────────────────────────── */
.two-block-info__panels {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--space-lg);
  align-items: stretch;
}

/* Image-left variant: swap visual column order */
.two-block-info--image-left .two-block-info__panels {
  grid-template-columns: 1.1fr 0.9fr;
}
.two-block-info--image-left .two-block-info__text { order: 2; }
.two-block-info--image-left .two-block-info__media,
.two-block-info--image-left .two-block-info__events { order: 1; }

/* ── Text panel ──────────────────────────────────────────────── */
.two-block-info__text {
  background: white;
  border: 5px solid var(--color-warm-black);
  border-radius: var(--radius-lg);
  padding: var(--box-pad);
  box-shadow: 6px 6px 0 var(--color-warm-black);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.two-block-info .eyebrow {
  color: var(--color-red);
  font-size: var(--text-base);
  margin-bottom: var(--space-sm);
}

.two-block-info__heading {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: var(--weight-black);
  line-height: 1.08;
  color: var(--color-warm-black);
  margin-bottom: var(--space-md);
}
@media (min-width: 1100px) { .two-block-info__heading { font-size: var(--text-4xl); } }
.two-block-info__heading em { font-style: normal; color: var(--color-blue); }

.two-block-info__body {
  font-size: var(--text-base);
  color: var(--color-warm-black);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-lg);
  max-width: 55ch;
}

.two-block-info__actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* ── Bullet list ─────────────────────────────────────────────── */
.two-block-info__list {
  list-style: none;
  margin-bottom: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.two-block-info__list li {
  font-size: var(--text-base);
  color: var(--color-warm-black);
  line-height: var(--leading-relaxed);
  padding-left: var(--space-lg);
  position: relative;
}
.two-block-info__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--color-warm-black);
}

/* Bullet colour variants */
.two-block-info__list--blue li::before { background: var(--color-blue); }
.two-block-info__list--yellow li::before { background: var(--color-yellow); }
.two-block-info__list--red li::before { background: var(--color-red); }

/* ── Opening hours table ─────��─────────────────────────���─────── */
.two-block-info__hours {
  margin-bottom: var(--space-xl);
}
.two-block-info__hours-status {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  margin-bottom: var(--space-sm);
  font-size: var(--text-base);
  font-weight: var(--weight-bold);
  color: var(--color-warm-black);
}
.two-block-info__hours-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.two-block-info__hours-dot.dot--open { background: #22c55e; }
.two-block-info__hours-dot.dot--closed { background: var(--color-red); }
.two-block-info__hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--color-grey-light);
  max-width: 360px;
}
.two-block-info__hours-row:last-child { border-bottom: none; }
.two-block-info__hours-day {
  font-size: var(--text-base);
  color: var(--color-warm-black);
  font-weight: var(--weight-medium);
}
.two-block-info__hours-time {
  font-size: var(--text-base);
  color: var(--color-warm-black);
  font-weight: var(--weight-bold);
}

/* ── Accordion ───────────────────────────────────────────────── */
.two-block-info__accordion {
  margin-top: var(--space-md);
  margin-bottom: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: 0;
}
.two-block-info__accordion-item {
  border-bottom: 2px solid var(--color-grey-light);
}
.two-block-info__accordion-item:first-child {
  border-top: 2px solid var(--color-grey-light);
}
.two-block-info__accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--space-md) 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: var(--weight-bold);
  color: var(--color-warm-black);
  text-align: left;
  transition: color var(--duration-fast) var(--ease-out);
}
.two-block-info__accordion-trigger:hover { color: var(--color-blue); }
.two-block-info__accordion-trigger:focus-visible {
  outline: 2px solid var(--color-blue);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}
.two-block-info__accordion-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform var(--duration-slow) var(--ease-out);
}
.two-block-info__accordion-trigger[aria-expanded="true"] .two-block-info__accordion-icon {
  transform: rotate(180deg);
}
.two-block-info__accordion-panel {
  overflow: hidden;
  transition: max-height var(--duration-slow) var(--ease-out),
              opacity var(--duration-base) var(--ease-out);
  max-height: 0;
  opacity: 0;
}
.two-block-info__accordion-panel[hidden] {
  display: block;
  max-height: 0;
  opacity: 0;
}
.two-block-info__accordion-panel.is-open {
  max-height: 500px;
  opacity: 1;
}
.two-block-info__accordion-content {
  padding: 0 0 var(--space-md) 0;
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--color-warm-black);
}

/* ── Media panel (image / gallery) ───────────────────────────── */
.two-block-info__media {
  position: relative;
  border: 5px solid var(--color-warm-black);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-comic-lg);
  min-height: 500px;
}

/* Splide inside media panel */
.two-block-info__media .splide { position: absolute; inset: 0; }
.two-block-info__media .splide__track,
.two-block-info__media .splide__list { height: 100%; }
.two-block-info__media .splide__slide { position: relative; }
.two-block-info__media .splide__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
/* Crossfade */
.two-block-info__media .splide__slide { opacity: 0; transition: opacity 1s var(--ease-out); }
.two-block-info__media .splide__slide.is-active { opacity: 1; }

/* Custom dots */
.two-block-info__dots {
  position: absolute;
  bottom: var(--space-lg);
  right: var(--space-lg);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 6px;
}
.two-block-info__dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.5);
  border: 2px solid var(--color-warm-black);
  cursor: pointer;
  padding: 0;
  position: relative;
  overflow: hidden;
  transition: width var(--duration-normal) var(--ease-bounce),
              background var(--duration-normal) var(--ease-out);
}
.two-block-info__dot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--color-red);
  transform: scaleX(0);
  transform-origin: left;
}
.two-block-info__dot.is-active { width: 36px; background: white; }
.two-block-info__dot.is-active::after { animation: dotFill 3s linear forwards; }

/* ── No-events overlay (on image panel) ──────────────────────── */
.two-block-info__no-events {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  background: rgba(0, 0, 0, 0.55);
}
.two-block-info__no-events-text {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: var(--weight-black);
  color: white;
  text-align: center;
}

/* ── Events stack column ─────────────────────────────────────── */
.two-block-info__events {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  min-width: 0;
  /* Room for card borders + offset shadows (5px border + 5px shadow) */
  padding: 4px 10px 10px 4px;
}
.two-block-info__events .event-card { width: 100%; }
.two-block-info__events-cta { text-align: center; }

/* Splide wrapper: always allow overflow for card shadows */
.two-block-info__events-splide.splide,
.two-block-info__events-splide .splide__track {
  overflow: visible;
}

/* Desktop/tablet (min 901px): Splide destroyed — cards stack vertically */
@media (min-width: 1101px) {
  .two-block-info__events-splide .splide__list {
    flex-direction: column !important;
  }
  .two-block-info__events-splide .splide__slide {
    width: 100% !important;
    margin: 0 0 var(--space-md) 0 !important;
  }
  .two-block-info__events-splide .splide__slide:last-child {
    margin-bottom: 0 !important;
  }
  .two-block-info__events-splide .splide__pagination {
    display: none;
  }
}

/* Mobile: equal-height slides — all cards match the tallest */
@media (max-width: 1100px) {
  .two-block-info__events-splide .splide__list { align-items: stretch; }
  .two-block-info__events-splide .splide__slide { display: flex; height: auto !important; }
  .two-block-info__events-splide .splide__slide .event-card { flex: 1; width: 100%; }
}

/* Mobile: Splide pagination dots */
.two-block-info__events-splide .splide__pagination {
  bottom: auto;
  padding: var(--space-sm) 0 0;
  gap: 6px;
}
.two-block-info__events-splide .splide__pagination__page {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background: var(--color-grey-light);
  border: 2px solid var(--color-warm-black);
  opacity: 1;
  transition: width var(--duration-normal) var(--ease-bounce),
              background var(--duration-normal) var(--ease-out);
}
.two-block-info__events-splide .splide__pagination__page.is-active {
  background: var(--color-red);
  width: 24px;
}

/* ── Responsive ─────────��────────────────────────────────────── */
@media (max-width: 1100px) {
  .two-block-info__panels {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  /* Image always first on mobile; events always below text */
  .two-block-info__text { grid-row: auto; order: 2; transform: rotate(0.5deg); }
  .two-block-info__media { grid-row: auto; order: 1; min-height: 350px; transform: rotate(-0.5deg); }
  .two-block-info__events { grid-row: auto; order: 2; }

  /* When events are shown, text comes first */
  .two-block-info:has(.two-block-info__events) .two-block-info__text { order: 1; }

  /* No-events fallback: image+overlay below text on mobile */
  .two-block-info__media--no-events { order: 3; }
  .two-block-info:has(.two-block-info__media--no-events) .two-block-info__text { order: 1; }

  /* Image-left: same mobile order (image first) */
  .two-block-info--image-left .two-block-info__panels {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .two-block-info__media { min-height: 260px; }
}


/* ============================================================
   FULL WIDTH INTERACTIVE VIDEO  (story-video)
   ============================================================ */
.story-video {
  position: relative;
  width: 100%;
  height: 85vh;
  min-height: 500px;
  overflow: hidden;
}

/* ── Player wrapper — shrinks to 16:9 centred on play ─────── */
.story-video__player {
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  transition: width 0.6s var(--ease-out),
              height 0.6s var(--ease-out),
              border-radius 0.6s var(--ease-out),
              box-shadow 0.6s var(--ease-out);
}
.story-video.is-playing .story-video__player {
  /* Force 16:9, centred, capped at 1100px wide */
  width: min(calc(100% - var(--space-3xl) * 2), 1100px);
  height: min(calc((100vw - var(--space-3xl) * 2) * 9 / 16), 618.75px);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  overflow: hidden;
}

/* ── Background video ─────────────────────────────────────── */
.story-video__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Gradient overlay (separate div for fade control) ─────── */
.story-video__gradient {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.15) 60%, transparent 100%);
  pointer-events: none;
  transition: opacity var(--duration-slow) var(--ease-out);
}
.story-video__gradient.is-hidden {
  opacity: 0;
}

/* ── Overlay (contains callout) ───────────────────────────── */
.story-video__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  max-width: var(--max-width);
  margin: 0 auto;
  left: 0;
  right: 0;
  padding: var(--space-3xl) var(--container-gutter);
  background: none;
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}
.story-video__overlay.is-hidden {
  opacity: 0;
  transform: translateY(40px);
  pointer-events: none;
}

/* ── Callout card ─────────────────────────────────────────── */
.story-video__callout {
  background: white;
  border: 5px solid var(--color-warm-black);
  border-radius: var(--radius-lg);
  padding: var(--box-pad);
  box-shadow: var(--shadow-comic-lg);
  max-width: 560px;
  transform: rotate(-0.5deg);
}
.story-video__callout .eyebrow {
  font-size: var(--text-base);
  margin-bottom: var(--space-sm);
}
.story-video__heading {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: var(--weight-black);
  color: var(--color-warm-black);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
}
.story-video__heading em {
  font-style: normal;
  color: var(--color-blue);
}
.story-video__body {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--color-warm-black);
  margin-bottom: var(--space-lg);
}
.story-video__body:last-of-type {
  margin-bottom: 0;
}

/* ── Callout "Play Video" button ──────────────────────────── */
.story-video__callout-play {
  margin-top: var(--space-lg);
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  cursor: pointer;
}
.story-video__callout-play svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  stroke: none;
  flex-shrink: 0;
}

/* ── Close button (top-right during playback) ─────────────── */
.story-video__close[hidden] {
  display: none !important;
}
.story-video__close {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  z-index: 5;
  background: white;
  border: 3px solid var(--color-warm-black);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 4px 4px 0 var(--color-warm-black);
  transition: transform var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out);
}
.story-video__close svg {
  width: 22px;
  height: 22px;
  color: var(--color-warm-black);
}
.story-video__close:hover {
  transform: translateY(-2px);
  box-shadow: 6px 6px 0 var(--color-warm-black);
}
.story-video__close:focus-visible {
  outline: 2px solid var(--color-blue);
  outline-offset: 2px;
}

/* ============================================================
   BRANDED VIDEO CONTROLS  (story-video — matches mid-hero)
   ============================================================ */

/* ── Play/pause button — two visual states ────────────────── */
/*    1. Centred yellow (paused / initial)                     */
/*    2. Small blue corner (actively playing)                  */
.story-video__play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 3px solid var(--color-warm-black);
  background: var(--color-yellow);
  color: var(--color-warm-black);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
  box-shadow: var(--shadow-comic-sm);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out),
              background var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out);
}

/* Playing & active — small blue corner button */
.story-video__player.is-active .story-video__play-btn {
  opacity: 1;
  pointer-events: auto;
  top: auto;
  left: var(--space-sm);
  bottom: var(--space-xs);
  transform: none;
  width: 36px;
  height: 36px;
  background: var(--color-blue);
  color: white;
  border-width: 2px;
  box-shadow: 2px 2px 0 var(--color-warm-black);
}
.story-video__player.is-active .story-video__play-btn:hover {
  transform: translateY(-2px);
  background: var(--color-blue-dark);
  box-shadow: var(--shadow-comic-sm);
}

/* Playing but paused — centred yellow play button */
.story-video.is-playing .story-video__play-btn {
  opacity: 1;
  pointer-events: auto;
}
.story-video__play-btn:hover {
  background: var(--color-yellow-dark);
  box-shadow: var(--shadow-comic);
}
.story-video__play-btn:focus-visible {
  outline: 3px solid var(--color-blue);
  outline-offset: 4px;
}

/* Icon states */
.story-video__play-icon,
.story-video__pause-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  fill: currentColor;
  stroke: none;
}
.story-video__play-icon { margin-left: 3px; }

.story-video__player.is-active .story-video__play-icon,
.story-video__player.is-active .story-video__pause-icon {
  width: 18px;
  height: 18px;
}
.story-video__player.is-active .story-video__play-icon { margin-left: 2px; }

/* Default: show play, hide pause */
.story-video__play-btn .story-video__pause-icon { display: none; }

/* When actively playing — show pause, hide play */
.story-video__player.is-active .story-video__play-btn .story-video__play-icon  { display: none; }
.story-video__player.is-active .story-video__play-btn .story-video__pause-icon { display: block; }

/* ── Control bar (bottom gradient strip) ──────────────────── */
.story-video__video-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-xs) var(--space-sm) var(--space-xs) calc(var(--space-sm) + 36px + var(--space-sm));
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 100%);
  z-index: 3;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
  pointer-events: none;
}

/* Bar visible only when actively playing */
.story-video__player.is-active .story-video__video-controls {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Auto-hide on idle */
.story-video__player.controls-hidden .story-video__video-controls,
.story-video__player.controls-hidden .story-video__play-btn {
  opacity: 0;
  pointer-events: none;
}

/* ── Progress bar ─────────────────────────────────────────── */
.story-video__progress-wrap {
  flex: 1;
  padding: var(--space-xs) 0;
}
.story-video__progress-wrap:focus-visible {
  outline: 3px solid white;
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}
.story-video__progress-track {
  position: relative;
  width: 100%;
  height: 6px;
  background: rgba(255,255,255,0.3);
  border-radius: 3px;
  cursor: pointer;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.15);
  transition: height var(--duration-fast) var(--ease-out);
}
.story-video__progress-track:hover { height: 10px; }
.story-video__progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: var(--color-yellow);
  border-radius: 3px;
  transition: width 0.1s linear;
}

/* ── Fullscreen button ────────────────────────────────────── */
.story-video__fullscreen-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--color-warm-black);
  background: white;
  color: var(--color-warm-black);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 2px 2px 0 var(--color-warm-black);
  transition: background var(--duration-fast) var(--ease-out),
              transform var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out);
}
.story-video__fullscreen-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-comic-sm);
  background: var(--color-cream);
}
.story-video__fullscreen-btn:focus-visible {
  outline: 3px solid var(--color-blue);
  outline-offset: 4px;
}
.story-video__fs-expand,
.story-video__fs-shrink {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.story-video__fullscreen-btn .story-video__fs-shrink { display: none; }
.story-video__player.is-fullscreen .story-video__fullscreen-btn .story-video__fs-expand { display: none; }
.story-video__player.is-fullscreen .story-video__fullscreen-btn .story-video__fs-shrink { display: block; }

/* ── Fullscreen overrides ─────────────────────────────────── */
.story-video__player.is-fullscreen {
  width: 100% !important;
  height: 100% !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: black;
}
.story-video__player.is-fullscreen .story-video__bg {
  object-fit: contain;
}

/* ── Responsive: tablet ───────────────────────────────────── */
@media (min-width: 600px) {
  .story-video__overlay {
    padding: var(--space-3xl) var(--space-2xl);
  }
}
@media (min-width: 1100px) {
  .story-video__heading { font-size: var(--text-4xl); }
  .story-video__overlay {
    padding: var(--space-3xl) var(--space-3xl);
  }
}
@media (max-width: 1100px) {
  .story-video {
    height: 70vh;
    min-height: 400px;
  }
  .story-video.is-playing .story-video__player {
    width: calc(100% - var(--space-xl) * 2);
    height: calc((100vw - var(--space-xl) * 2) * 9 / 16);
  }
  .story-video__callout {
    max-width: 100%;
  }
  .story-video__heading {
    font-size: var(--text-3xl);
    line-height: 1.08;
  }
}

/* ── Responsive: mobile redesign ──────────────────────────────
 * The video becomes a normal-flow 16:9 block with a centred (trainee-stories
 * style) play button that opens the native fullscreen player on tap. The text
 * lives in its own straightened box below the video, overlapping its bottom
 * edge slightly. */
@media (max-width: 600px) {
  .story-video {
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  .story-video__player {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  /* No dark overlay needed — the copy now sits in its own box below. */
  .story-video__gradient { display: none; }

  /* Centred yellow play button, always visible at rest. */
  .story-video__play-btn,
  .story-video.is-playing .story-video__play-btn {
    opacity: 1;
    pointer-events: auto;
    top: 50%;
    left: 50%;
    bottom: auto;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    background: var(--color-yellow);
    color: var(--color-warm-black);
    border-width: 3px;
    box-shadow: var(--shadow-comic-sm);
  }

  /* Straightened text box, in flow below the video, overlapping it slightly. */
  .story-video__overlay {
    position: static;
    inset: auto;
    display: block;
    max-width: none;
    padding: 0 var(--container-gutter) var(--space-2xl);
    transform: none;
    opacity: 1;
  }
  .story-video__callout {
    transform: none;
    max-width: 100%;
    position: relative;
    z-index: 3;
    margin-top: calc(-1 * var(--space-xl));   /* subtle overlap on the video's bottom */
  }
}

/* ── Responsive: mobile ───────────────────────────────────── */
@media (max-width: 600px) {
  .story-video {
    height: auto;
    min-height: unset;
  }
  .story-video__player {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 100%;
    height: 55vh;
    min-height: 280px;
  }
  .story-video.is-playing .story-video__player {
    width: calc(100% - var(--space-sm) * 2);
    height: calc((100vw - var(--space-sm) * 2) * 9 / 16);
    min-height: unset;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin: 0 auto;
  }
  .story-video__gradient {
    display: none;
  }
  .story-video__overlay {
    position: relative;
    z-index: 2;
    margin-top: -33vh;
    padding: var(--space-lg);
    transform: none;
  }
  .story-video__overlay.is-hidden {
    display: none;
  }
  .story-video__callout {
    transform: none;
  }
  .story-video__heading {
    font-size: var(--text-3xl);
  }
}


/* ============================================================
   BASIC HERO
   Split layout: text left, image right.
   Three bg variants: white (default) | blue | red.
   Text, eyebrow, and buttons adapt automatically.
   ============================================================ */

.hero-basic {
  padding: var(--space-2xl) 0;
  overflow: hidden;
}
@media (min-width: 600px) { .hero-basic { padding: var(--space-3xl) 0; } }
@media (min-width: 1100px) { .hero-basic { padding: var(--space-4xl) 0; } }

/* ── Colour variants ──────────────────────────────────────── */
.hero-basic--blue { background: var(--color-blue); }
.hero-basic--red  { background: var(--color-red); }

/* ── Grid ─────────────────────────────────────────────────── */
.hero-basic__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}
@media (min-width: 1100px) {
  .hero-basic__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
  }
}

/* ── Eyebrow ──────────────────────────────────────────────── */
.hero-basic__eyebrow { color: var(--color-red); }

.hero-basic--blue .hero-basic__eyebrow { color: var(--color-yellow); }
.hero-basic--red  .hero-basic__eyebrow { color: rgba(255, 255, 255, 0.85); }

/* ── Heading ──────────────────────────────────────────────── */
.hero-basic__heading {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: var(--weight-black);
  line-height: 1.08;
  color: var(--color-warm-black);
  margin-bottom: var(--space-md);
  letter-spacing: -0.02em;
}
@media (min-width: 1100px) {
  .hero-basic__heading { font-size: var(--text-5xl); }
}
@media (max-width: 600px) {
  .hero-basic__heading { font-size: var(--text-3xl); }
}

.hero-basic--blue .hero-basic__heading,
.hero-basic--red  .hero-basic__heading {
  color: #fff;
}

/* ── Body ─────────────────────────────────────────────────── */
.hero-basic__body {
  font-size: var(--text-base);
  color: var(--color-warm-black);
  line-height: var(--leading-relaxed);
  max-width: 50ch;
  margin-bottom: var(--space-lg);
}

.hero-basic--blue .hero-basic__body,
.hero-basic--red  .hero-basic__body {
  color: rgba(255, 255, 255, 0.9);
}

/* ── Actions ──────────────────────────────────────────────── */
.hero-basic__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  align-items: center;
}

/* ── Image ────────────────────────────────────────────────── */
.hero-basic__image {
  border: 5px solid var(--color-warm-black);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-comic-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  transform: rotate(1.2deg);
}
.hero-basic__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: auto;
}

/* On coloured backgrounds, keep the warm-black border but soften the
   shadow to semi-transparent — matching the banner component pattern. */
.hero-basic--blue .hero-basic__image,
.hero-basic--red  .hero-basic__image {
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.3);
}

/* ── Mobile ───────────────────────────────────────────────── */
@media (max-width: 1099px) {
  .hero-basic__image {
    transform: rotate(0.5deg);
    aspect-ratio: auto;
    max-height: 320px;
    width: 100%;
  }
}

/* Override comic-reveal rotation for the text block
   (layout container, not a tiltable card) */
.hero-basic__text.comic-reveal.is-visible {
  transform: scale(1) rotate(0deg);
}


/* ============================================================
   REGULAR EVENTS GRID
   Responsive card grid sourced from the Recurring Events
   options page. Cards open the shared .re-modal on click.
   ============================================================ */

.regular-events-grid { background: var(--color-blue-light); overflow: hidden; }

/* ── Section header ───────────────────────────────────────── */
.regular-events-grid__header {
  margin-bottom: var(--space-2xl);
}
.regular-events-grid__eyebrow {
  color: var(--color-red);
}
.regular-events-grid__heading {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: var(--weight-bold);
  line-height: 1.08;
  color: var(--color-warm-black);
  letter-spacing: -0.02em;
  margin-top: var(--space-xs);
}
@media (min-width: 1100px) {
  .regular-events-grid__heading { font-size: var(--text-4xl); }
}
@media (max-width: 600px) {
  .regular-events-grid__heading { font-size: var(--text-2xl); }
}

/* ── Grid ─────────────────────────────────────────────────── */
.regular-events-grid__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}
@media (min-width: 600px) {
  .regular-events-grid__grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1100px) {
  .regular-events-grid__grid { grid-template-columns: repeat(3, 1fr); }
}

/* ── Card ─────────────────────────────────────────────────── */
.regular-events-grid__card {
  display: flex;
  flex-direction: column;
  width: 100%;
  text-align: left;
  background: white;
  border: var(--border-comic);
  border-radius: var(--radius-lg);
  box-shadow: 4px 4px 0 var(--color-warm-black);
  padding: var(--box-pad);
  cursor: pointer;
  font-family: var(--font-body);
  color: var(--color-warm-black);
  transition: transform var(--duration-normal) var(--ease-bounce),
              box-shadow var(--duration-normal) var(--ease-bounce);
}
@media (hover: hover) and (pointer: fine) {
  .regular-events-grid__card:hover {
    transform: translate(-3px, -3px);
    box-shadow: 7px 7px 0 var(--color-warm-black);
  }
}
.regular-events-grid__card:focus-visible {
  outline: 3px solid var(--color-blue);
  outline-offset: 3px;
}

/* ── Card top (grows to fill available space) ─────────────── */
.regular-events-grid__card-top {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* ── Cadence chip (matches .community-links__card-chip) ──── */
.regular-events-grid__cadence {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-warm-black);
  background: var(--color-blue-light);
  border: 2px solid var(--color-warm-black);
  border-radius: 999px;
  padding: 4px 10px;
  line-height: 1.4;
  margin: 0 0 var(--space-xs);
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── Starting badge (card) ────────────────────────────────── */
.regular-events-grid__card-top .re-starting-badge {
  margin-bottom: var(--space-xs);
  align-self: flex-start;
}

/* ── Event name ───────────────────────────────────────────── */
.regular-events-grid__name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
  color: var(--color-warm-black);
  margin-bottom: var(--space-sm);
}
@media (max-width: 600px) {
  .regular-events-grid__name { font-size: var(--text-lg); }
}

/* ── "Find out more" CTA ──────────────────────────────────── */
.regular-events-grid__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  margin-top: auto;
  padding-top: var(--space-md);
  margin-bottom: var(--space-md);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  color: var(--color-red);
  transition: gap var(--duration-normal) var(--ease-bounce);
}
.regular-events-grid__cta span {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
}
.regular-events-grid__cta svg {
  width: 14px;
  height: 14px;
  transition: transform var(--duration-normal) var(--ease-bounce);
}
@media (hover: hover) and (pointer: fine) {
  .regular-events-grid__card:hover .regular-events-grid__cta { gap: var(--space-sm); }
  .regular-events-grid__card:hover .regular-events-grid__cta svg { transform: translateX(4px); }
}

/* ── Divider ──────────────────────────────────────────────── */
.regular-events-grid__divider {
  border: none;
  border-top: 1.5px solid var(--color-warm-black);
  opacity: 0.12;
  margin: 0 0 var(--space-md);
}

/* ── Meta row ─────────────────────────────────────────────── */
.regular-events-grid__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}
.regular-events-grid__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-warm-black);
}
.regular-events-grid__meta-item svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--color-red);
}


/* ============================================================
   COMMUNITY LINKS NOTICEBOARD
   ------------------------------------------------------------
   Partner organisations running drop-in surgeries at the cafe.
   Laid out as a noticeboard: full-width day banners with cards
   below in an auto-fit grid. Cards are vertical "posters" with
   a logo block on top and details below. Each card opens the
   shared .re-modal pattern (extended with .cl-modal).
   ============================================================ */

.community-links { overflow: hidden; }

/* ── Section header ───────────────────────────────────────── */
.community-links__header {
  margin-bottom: var(--space-2xl);
  max-width: 720px;
}
.community-links__eyebrow { color: var(--color-red); }
.community-links__heading {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: var(--weight-bold);
  line-height: 1.08;
  color: var(--color-warm-black);
  letter-spacing: -0.02em;
  margin-top: var(--space-xs);
}
@media (min-width: 1100px) {
  .community-links__heading { font-size: var(--text-4xl); }
}
@media (max-width: 600px) {
  .community-links__heading { font-size: var(--text-2xl); }
}
.community-links__body {
  margin-top: var(--space-md);
  font-size: var(--text-base);
  color: var(--color-warm-black);
  line-height: var(--leading-relaxed);
  max-width: 640px;
}

/* ── Board (stacks day accordions vertically) ─────────────── */
.community-links__board {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

/* ── Day accordion (native <details>/<summary>) ───────────── */
.community-links__day {
  /* No box around the day section itself — the banner IS the chrome. */
}
.community-links__day[open] .community-links__day-banner {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  box-shadow: 4px 0 0 var(--color-warm-black);
}
.community-links__day[open] .community-links__day-toggle svg {
  transform: rotate(180deg);
}

/* ── Day banner (acts as the <summary> trigger) ───────────── */
.community-links__day-banner {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-xl);
  background: var(--color-blue);
  color: white;
  border: var(--border-comic);
  border-radius: var(--radius-lg);
  box-shadow: 4px 4px 0 var(--color-warm-black);
  position: relative;
  cursor: pointer;
  list-style: none;          /* hide native disclosure marker (FF) */
  user-select: none;
  transition: box-shadow var(--duration-fast) var(--ease-out),
              transform var(--duration-fast) var(--ease-out);
}
.community-links__day-banner::-webkit-details-marker { display: none; }
@media (hover: hover) and (pointer: fine) {
  .community-links__day-banner:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--color-warm-black);
  }
}
.community-links__day-banner:focus-visible {
  outline: 3px solid var(--color-yellow);
  outline-offset: 3px;
}

.community-links__day-name {
  flex: 1;
  margin: 0;
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
  font-size: var(--text-2xl);
  line-height: 1;
  letter-spacing: -0.01em;
  color: white;
}
.community-links__day-toggle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: white;
  color: var(--color-warm-black);
  border: 2px solid var(--color-warm-black);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.community-links__day-toggle svg {
  width: 18px;
  height: 18px;
  transition: transform var(--duration-normal) var(--ease-bounce);
}
@media (max-width: 600px) {
  .community-links__day-banner {
    padding: var(--space-sm) var(--space-md);
  }
  .community-links__day-name { font-size: var(--text-xl); }
  .community-links__day-toggle { width: 28px; height: 28px; }
  .community-links__day-toggle svg { width: 16px; height: 16px; }
}

/* ── Expanded content panel ───────────────────────────────── */
.community-links__day[open] .community-links__grid {
  /* Cards sit in a "tray" connected to the banner. */
  margin-top: -4px; /* visually overlap the banner's bottom border */
  padding: var(--space-lg);
  background: white;
  border: var(--border-comic);
  border-top: 0;
  border-bottom-left-radius: var(--radius-lg);
  border-bottom-right-radius: var(--radius-lg);
  box-shadow: 4px 4px 0 var(--color-warm-black);
}

/* ── Card grid ────────────────────────────────────────────── */
.community-links__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-md);
}
.community-links__item { margin: 0; }

/* ── Card (compact, content-only — no logo block) ─────────── */
.community-links__card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-sm);
  width: 100%;
  height: 100%;
  min-height: 0;
  text-align: left;
  background: white;
  border: 3px solid var(--color-warm-black);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-comic-sm);
  padding: var(--space-md) var(--space-md) var(--space-lg);
  cursor: pointer;
  font-family: var(--font-body);
  color: var(--color-warm-black);
  overflow: hidden;
  transition: transform var(--duration-normal) var(--ease-bounce),
              box-shadow var(--duration-normal) var(--ease-bounce);
}
@media (hover: hover) and (pointer: fine) {
  .community-links__card:hover {
    transform: translate(-2px, -2px);
    box-shadow: var(--shadow-comic);
  }
  .community-links__card:hover .community-links__card-more svg {
    transform: translateX(4px);
  }
}
.community-links__card:focus-visible {
  outline: 3px solid var(--color-blue);
  outline-offset: 3px;
}

/* ── Card logo box (mirrors .local-org-row__icon on resources) ── */
.community-links__card-logo {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border: 2px solid var(--color-warm-black);
  border-radius: var(--radius-md);
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--color-warm-black);
  margin-top: var(--space-xs);
}
.community-links__card-logo:not(:has(img)) {
  background: var(--color-red);
  color: white;
}
.community-links__card-logo svg {
  width: 26px;
  height: 26px;
}
.community-links__card-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  aspect-ratio: auto;
}

/* ── Cadence chip ─────────────────────────────────────────── */
.community-links__card-chip {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-warm-black);
  background: var(--color-blue-light);
  border: 2px solid var(--color-warm-black);
  border-radius: 999px;
  padding: 4px 10px;
  margin-top: var(--space-xs);
  align-self: flex-start;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.community-links__card--dated .community-links__card-chip {
  background: rgba(226, 70, 38, 0.15);
  color: var(--color-red);
}

/* ── Card name ────────────────────────────────────────────── */
.community-links__card-name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  line-height: 1.18;
  color: var(--color-warm-black);
  margin: 0;
  overflow-wrap: break-word;
}

/* ── Time row ─────────────────────────────────────────────── */
.community-links__card-time {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-warm-black);
  opacity: 0.85;
}
.community-links__card-time svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: var(--color-red);
}

/* ── "Find out more" footer link ──────────────────────────── */
.community-links__card-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: var(--space-sm);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  color: var(--color-red);
  transition: gap var(--duration-normal) var(--ease-bounce);
}
.community-links__card-more span {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
}
.community-links__card-more svg {
  width: 14px;
  height: 14px;
  transition: transform var(--duration-normal) var(--ease-bounce);
}

/* ── Mobile tweaks ────────────────────────────────────────── */
@media (max-width: 600px) {
  .community-links__grid {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }
  .community-links__day[open] .community-links__grid {
    padding: var(--space-md);
  }
  .community-links__card {
    padding: var(--space-sm) var(--space-md) var(--space-md);
  }
}

/* ── Modal overrides (.cl-modal extends .re-modal) ────────── */
.cl-modal__title {
  font-size: var(--text-xl);
}

/* Header avatar — small square with comic-book border, sized inline
   with the title. Hidden entirely when the org has no logo. */
.cl-modal__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: white;
  border: 2px solid var(--color-warm-black);
  border-radius: var(--radius-md);
  flex-shrink: 0;
  overflow: hidden;
  box-sizing: border-box;
  padding: 8px;
}
.cl-modal__avatar[hidden] { display: none; }
.cl-modal__avatar img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
@media (max-width: 600px) {
  .cl-modal__avatar {
    width: 64px;
    height: 64px;
    padding: 6px;
  }
}

/* Recurring summary — clean labelled rows */
.cl-modal__summary {
  background: var(--color-warm-white);
  border: 3px solid var(--color-warm-black);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-comic-sm);
  padding: var(--space-md) var(--space-lg);
  /* Reserve room for the offset shadow so the box visually aligns
     with the description / venue text below — without these margins
     the 3px shadow spills past the body's right/bottom padding and
     reads as "shifted right". */
  margin-right: 3px;
  margin-bottom: 3px;
}
.cl-modal__summary[hidden] { display: none; }

.cl-modal__summary--recurring {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.cl-modal__summary-row {
  display: grid;
  grid-template-columns: 24px 96px 1fr;
  align-items: center;
  gap: var(--space-sm);
}
.cl-modal__summary-row[hidden] { display: none; }
.cl-modal__summary-row svg {
  width: 20px;
  height: 20px;
  color: var(--color-red);
  flex-shrink: 0;
}
.cl-modal__summary-label {
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-warm-black);
  opacity: 0.6;
}
.cl-modal__summary-value {
  font-size: var(--text-base);
  font-weight: var(--weight-bold);
  color: var(--color-warm-black);
  font-variant-numeric: tabular-nums;
}

/* Upcoming dates list (used by both schedule types) */
.cl-modal__summary--dates {
  padding: var(--space-md) var(--space-lg) var(--space-md);
}
.cl-modal__summary-title {
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-red);
  margin: 0 0 var(--space-sm);
}
.cl-modal__visits {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cl-modal__visit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  padding: var(--space-xs) 0;
  border-bottom: 1.5px dashed rgba(0, 0, 0, 0.15);
}
.cl-modal__visit:last-child { border-bottom: 0; }
.cl-modal__visit-date {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: var(--weight-bold);
  color: var(--color-warm-black);
  font-variant-numeric: tabular-nums;
}
.cl-modal__visit-time {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-warm-black);
  opacity: 0.75;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 600px) {
  .cl-modal__summary { padding: var(--space-sm) var(--space-md); }
  .cl-modal__summary-row {
    grid-template-columns: 22px 84px 1fr;
    gap: var(--space-xs);
  }
}

/* Modal attachment download link */
.cl-modal__download {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
  color: var(--color-warm-black);
  background: var(--color-warm-white);
  border: 2px solid var(--color-warm-black);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-comic-sm);
  padding: var(--space-sm) var(--space-md);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--weight-bold);
  align-self: flex-start;
  max-width: 100%;
  transition: transform var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out);
}
.cl-modal__download[hidden] { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cl-modal__download:hover {
    transform: translate(-2px, -2px);
    box-shadow: var(--shadow-comic);
  }
}
.cl-modal__download:focus-visible {
  outline: 3px solid var(--color-blue);
  outline-offset: 3px;
}
.cl-modal__download svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--color-red);
}
.cl-modal__download-label {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cl-modal__download-cue {
  color: var(--color-warm-black) !important;
  opacity: 0.6;
}


/* ============================================================
   25. EVENTS LIST
   ============================================================ */

/* Header */
.events-list__header { margin-bottom: var(--space-xl); }
.events-list__header .eyebrow { color: var(--color-red); }
.events-list__header .section-heading { margin-bottom: 0; }

/* List container */
.events-list__items {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

/* Row — the clickable <a> */
.events-list__row {
  display: flex;
  align-items: stretch;
  background: white;
  border: var(--border-comic);
  border-radius: var(--radius-lg);
  box-shadow: 4px 4px 0 var(--color-warm-black);
  text-decoration: none;
  color: var(--color-warm-black);
  overflow: hidden;
  transition: transform var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .events-list__row:hover {
    transform: translate(-2px, -2px);
    box-shadow: 7px 7px 0 var(--color-warm-black);
  }
  .events-list__row:hover .events-list__date {
    width: var(--date-hover-w);
    min-width: var(--date-hover-w);
  }
  .events-list__row--has-img:hover .events-list__date::before { opacity: 1; }
  .events-list__row:hover .events-list__cta {
    background: var(--color-blue-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-comic);
  }
}

/* Straight rows — override the -1deg resting rotation from comic-reveal */
.events-list__item.comic-reveal.is-visible {
  transform: scale(1) rotate(0deg);
}

/* Date column resting/hover widths */
.events-list__row { --date-w: 100px; --date-hover-w: 150px; }

/* Date column */
.events-list__date {
  position: relative;
  overflow: hidden;
  background: var(--color-red);
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg) var(--space-xl);
  width: var(--date-w);
  min-width: var(--date-w);
  flex-shrink: 0;
  transition: width 0.4s var(--ease-out), min-width 0.4s var(--ease-out);
}

/* Image layer — fades in over the red on hover */
.events-list__row--has-img .events-list__date::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(0,0,0,0.44), rgba(0,0,0,0.44)), var(--event-img);
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
}

.events-list__day {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: var(--weight-black);
  line-height: 1;
  position: relative;
  z-index: 1;
}

.events-list__month {
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 5px;
  position: relative;
  z-index: 1;
}

/* Range modifier: "14–16 / MAR" or "31–1 / AUG–SEP" — shrink day, keep month natural size */
.events-list__date--range {
  padding-left: var(--space-sm);
  padding-right: var(--space-sm);
}
.events-list__date--range .events-list__day {
  font-size: var(--text-lg);
  white-space: nowrap;
}
.events-list__date--range .events-list__month {
  white-space: nowrap;
}

/* Body */
.events-list__body {
  flex: 1;
  min-width: 0;
  padding: var(--box-pad);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-xs);
}

.events-list__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
}

.events-list__summary {
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--color-warm-black);
  opacity: 0.75;
}

.events-list__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-top: var(--space-xs);
}

.events-list__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-warm-black);
}

.events-list__meta-item svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--color-red);
}

/* Action column: price + CTA */
.events-list__action {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  border-left: 2px solid var(--color-grey-light);
  flex-shrink: 0;
  min-width: 170px;
}

/* Price badge — matches .community-links__card-chip base style */
.events-list__price {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-warm-black);
  border: 2px solid var(--color-warm-black);
  border-radius: 999px;
  padding: 4px 10px;
  line-height: 1.4;
  white-space: nowrap;
}

.events-list__price--free {
  background: var(--color-blue-light);
}

.events-list__price--paid {
  background: rgba(226, 70, 38, 0.15);
  color: var(--color-red);
}

/* Footer: optional view-all link */
.events-list__footer {
  margin-top: var(--space-xl);
  display: flex;
  justify-content: center;
}

/* Empty state */
.events-list__empty {
  font-size: var(--text-base);
  color: var(--color-warm-black);
  opacity: 0.6;
  padding: var(--space-xl) 0;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .events-list__date   { min-width: 84px; width: 84px; padding: var(--space-md); }
  .events-list__day    { font-size: var(--text-2xl); }
  .events-list__action { min-width: 140px; padding: var(--space-md) var(--space-lg); }
}

@media (max-width: 600px) {
  /* Wrap only the action bar — date + body stay side by side */
  .events-list__row { flex-wrap: wrap; }

  /* Lock date column at the expanded/hover width and show image immediately */
  .events-list__date {
    width: var(--date-hover-w);
    min-width: var(--date-hover-w);
    transition: none;
  }
  .events-list__row--has-img .events-list__date::before { opacity: 1; }


  /* Action bar wraps to full width below */
  .events-list__action {
    width: 100%;
    min-width: auto;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    border-left: none;
    border-top: 2px solid var(--color-grey-light);
    padding: var(--space-sm) var(--space-lg);
  }
}


/* ============================================================
   ALTERNATING STORY CARDS
   ============================================================
   A stack of image + text rows that alternate left/right.
   Odd rows (0, 2…): text left, image right.
   Even rows (1, 3…): image left, text right.

   "Touching corners" technique: the image panel's inner edge
   (the half facing the layout centre at x = 50%) has square
   corners (border-radius 0), while all outer-edge corners are
   rounded. Adjacent rows' images share the same square corners
   at the junction point, creating the visual of meeting at a
   single corner.
   ============================================================ */

.alt-story {
  padding: var(--space-2xl) 0;
}
@media (min-width: 600px) { .alt-story { padding: var(--space-3xl) 0; } }
@media (min-width: 1100px) { .alt-story { padding: var(--space-4xl) 0; } }

/* ── Row stack ─────────────────────────────────────────────── */
.alt-story__rows {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.alt-story__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
}

/* ── Image panel ────────────────────────────────────────────── */
.alt-story__image {
  position: relative;
  overflow: hidden;
  border: 5px solid var(--color-warm-black);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-comic-lg);
}

.alt-story__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: auto;
}

.alt-story__row--even .alt-story__image {
  order: -1;
  box-shadow: -var(--shadow-comic-lg);
}

/* ── Text panel ─────────────────────────────────────────────── */
.alt-story__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-2xl) var(--space-2xl) var(--space-2xl) 0;
}

/* Even rows: text is in the RIGHT column — swap padding side */
.alt-story__row--even .alt-story__text {
  padding: var(--space-2xl) 0 var(--space-2xl) var(--space-2xl);
}

/* ── Eyebrow — inherits base .eyebrow; just set colour ──────── */
.alt-story .eyebrow {
  color: var(--color-red);
}

/* ── Heading ────────────────────────────────────────────────── */
.alt-story__heading {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: var(--weight-black);
  line-height: 1.05;
  color: var(--color-warm-black);
  margin-bottom: var(--space-md);
}
@media (min-width: 1100px) { .alt-story__heading { font-size: var(--text-4xl); } }

/* ── Body ───────────────────────────────────────────────────── */
.alt-story__body {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--color-warm-black);
  margin-bottom: var(--space-lg);
}

/* ── Tags ───────────────────────────────────────────────────── */
.alt-story__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}

.alt-story__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: white;
  background: var(--color-blue);
  border: 2px solid var(--color-blue-dark);
  border-radius: var(--radius-full);
  box-shadow: 2px 2px 0 var(--color-blue-dark);
  white-space: nowrap;
}
.alt-story__tag svg { width: 13px; height: 13px; flex-shrink: 0; stroke-width: 2.5; }

/* ── Arrow link ─────────────────────────────────────────────── */
.alt-story__link {
  color: var(--color-blue);
  align-self: flex-start;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .alt-story__row {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  /* Reset image order — always renders below text at mobile */
  .alt-story__image,
  .alt-story__row--even .alt-story__image {
    order: 1;
    min-height: 300px;
    border-radius: var(--radius-lg);
    box-shadow: 6px 6px 0 var(--color-warm-black);
  }

  /* Reset padding for both row directions */
  .alt-story__text,
  .alt-story__row--even .alt-story__text {
    order: 0;
    padding: var(--space-xl) 0 var(--space-lg);
  }

  .alt-story__heading { font-size: var(--text-2xl); }
}

@media (max-width: 600px) {
  .alt-story__image,
  .alt-story__row--even .alt-story__image {
    min-height: 240px;
  }

  .alt-story__heading { font-size: var(--text-2xl); }
}

/* ══════════════════════════════════════════════════════════════════════════════
   Cafe Information Expanded
   Two-card layout: left (blue) = hours/contact/CTAs, right (white) = info + map
   ══════════════════════════════════════════════════════════════════════════════ */

/* ── Section header ──────────────────────────────────────────────────────── */
.cafe-info__header { margin-bottom: var(--space-xl); }

.cafe-info .eyebrow { color: var(--color-red); }

.cafe-info__heading {
  font-size: var(--text-3xl);
  font-weight: var(--weight-bold);
  color: var(--color-warm-black);
  line-height: var(--leading-tight);
  margin: var(--space-xs) 0 0;
}

/* ── Grid ────────────────────────────────────────────────────────────────── */
.cafe-info__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: stretch;
}

/* ── Card shell — matches info-bar__inner + mission__panel-action ────────── */
.cafe-info__card {
  border: var(--border-comic);
  box-shadow: 6px 6px 0 var(--color-warm-black);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}

.cafe-info__card-inner {
  padding: var(--box-pad);
  display: flex;
  flex-direction: column;
  flex: 1;
  position: relative;
  z-index: 1;
}

/* ── Left card — blue, matching mission__panel-action ────────────────────── */
.cafe-info__card--left {
  background: var(--color-blue);
  color: white;
  transform: rotate(var(--card-rotate, -0.5deg));
}


/* ── Right card — white ──────────────────────────────────────────────────── */
.cafe-info__card--right {
  background: #fff;
  color: var(--color-warm-black);
  transform: rotate(var(--card-rotate, 0.8deg));
}

/* ── Section blocks (hours / contact) ───────────────────────────────────── */
.cafe-info__section { margin-bottom: var(--space-xl); }

/* Section label — exact match to info-bar__label */
.cafe-info__label {
  font-size: var(--text-base);
  font-weight: var(--weight-bold);
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-xs);
}

/* Body text on blue — exact match to info-bar__address */
.cafe-info__body-text {
  font-size: var(--text-base);
  font-weight: var(--weight-medium);
  line-height: var(--leading-relaxed);
}

/* ── Hours — exact match to info-bar__hours ──────────────────────────────── */
.cafe-info__hours {
  font-size: var(--text-base);
  line-height: 2;
}

.cafe-info__hours-day  { font-weight: var(--weight-medium); }
.cafe-info__hours-time { font-weight: var(--weight-bold); margin-left: var(--space-sm); }
.cafe-info__hours-time--closed { font-weight: var(--weight-medium); opacity: 0.6; }

/* ── Divider ─────────────────────────────────────────────────────────────── */
.cafe-info__divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, .2);
  margin: 0 0 var(--space-xl);
}

/* ── Today section — matches info-bar Today column ──────────────────────── */
.cafe-info__today-status {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-xs);
}

.cafe-info__today-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-success);
  flex-shrink: 0;
  animation: pulse 2s infinite;
}

.cafe-info__today-dot--warning { background: var(--color-warning); }
.cafe-info__today-dot--closed  { background: var(--color-red); animation: none; }

.cafe-info__today-open {
  font-size: var(--text-base);
  font-weight: var(--weight-bold);
}

.cafe-info__today-hours {
  font-size: var(--text-base);
  font-weight: var(--weight-medium);
  color: rgba(255, 255, 255, 0.85);
  margin-top: var(--space-xs);
}

/* ── Contact list ────────────────────────────────────────────────────────── */
.cafe-info__contact-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.cafe-info__contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

.cafe-info__contact-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 3px;
  opacity: 0.75;
  stroke-width: 2;
}

.cafe-info__contact-link {
  color: white;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
  transition: color var(--duration-fast) var(--ease-out), text-decoration-color var(--duration-fast) var(--ease-out), transform var(--duration-fast) var(--ease-out);
  display: inline-block;
}

.cafe-info__contact-link:hover {
  color: white;
  text-decoration-color: var(--color-yellow);
  transform: translateX(4px);
}

/* ── CTA buttons — matching info-bar__ctas layout ────────────────────────── */
.cafe-info__btns {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: var(--space-xl);
}

/* ── Right card: info heading — matches mission__action-heading scale ─────── */
.cafe-info__info-heading {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: var(--weight-black);
  color: var(--color-warm-black);
  line-height: var(--leading-tight);
  margin: 0 0 var(--space-xl);
}

/* ── Bullet points — matches two-block-info__list exactly ────────────────── */
.cafe-info__points {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.cafe-info__point {
  font-size: var(--text-base);
  color: var(--color-warm-black);
  line-height: var(--leading-relaxed);
  padding-left: var(--space-lg);
  position: relative;
}

.cafe-info__point::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--color-warm-black);
  background: var(--color-yellow);
}

.cafe-info__point strong { font-weight: var(--weight-bold); }

/* ── Google Maps embed ───────────────────────────────────────────────────── */
.cafe-info__map {
  margin-top: auto;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 3px solid var(--color-warm-black);
  box-shadow: 4px 4px 0 var(--color-warm-black);
  flex-shrink: 0;
}

.cafe-info__map iframe {
  display: block;
  width: 100%;
  height: 240px;
  border: none;
}

/* Fallback when no embed URL set */
.cafe-info__map--link-only {
  background: var(--color-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
}

.cafe-info__map-cta {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--color-blue);
  font-weight: var(--weight-semibold);
  font-size: var(--text-md);
  text-decoration: none;
  transition: opacity var(--duration-fast) var(--ease-out);
}

.cafe-info__map-cta:hover { opacity: .7; }
.cafe-info__map-cta svg  { width: 22px; height: 22px; }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .cafe-info__grid { grid-template-columns: 1fr; }
  .cafe-info__heading { font-size: var(--text-2xl); }
  .cafe-info__card--left  { transform: rotate(-0.3deg); }
  .cafe-info__card--right { transform: rotate(0.4deg); }
}

@media (max-width: 600px) {
  .cafe-info__btns { flex-direction: column; }
  .cafe-info__btns .btn { width: 100%; justify-content: center; }
  .cafe-info__map iframe { height: 200px; }
}


/* ============================================================
   PJAX PAGE TRANSITIONS
   ============================================================ */

.site-main {
  transition: opacity 180ms ease-out;
}

.site-main.pjax-fade-out {
  opacity: 0;
}

.site-main.pjax-fade-in {
  opacity: 1;
  transition-duration: 220ms;
}

/* ── Mobile: straighten all off-axis cards and panels ───────────── */
@media (max-width: 600px) {
  [style*="--card-rotate"] { --card-rotate: 0deg !important; }
  .mission__panel-main,
  .mission__panel-text,
  .mission__panel-action { transform: rotate(0deg); }
  .mission__speech { transform: rotate(0deg); }
  .two-block-info__text,
  .two-block-info__media { transform: rotate(0deg); }
  .cafe-info__card--left,
  .cafe-info__card--right { transform: rotate(0deg); }
  .badge { --badge-rotate: 0deg; }
}

@media (prefers-reduced-motion: reduce) {
  .site-main {
    transition: none;
  }
}


/* ============================================================
   BUSINESS THANKS
   Flowing tag-cloud of business names that have supported 21YH.
   ============================================================ */

.business-thanks {
  padding: var(--space-3xl) 0 var(--space-4xl);
  overflow: hidden;
}

@media (min-width: 600px) { .business-thanks { padding: var(--space-4xl) 0; } }

.business-thanks .eyebrow { color: var(--color-red); }

/* ── Header ──────────────────────────────────────────────────── */
.business-thanks__header {
  text-align: center;
  max-width: 72ch;
  margin: 0 auto var(--space-2xl);
}

.business-thanks__heading {
  font-size: clamp(var(--text-2xl), 3.5vw, var(--text-4xl));
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
  letter-spacing: -0.02em;
  margin: var(--space-sm) 0 0;
}

.business-thanks__heading em {
  font-style: normal;
  color: var(--color-red);
}

.business-thanks__body {
  font-size: var(--text-base);
  color: var(--color-warm-black);
  line-height: var(--leading-relaxed);
  margin-top: var(--space-md);
}

/* ── Tag list ────────────────────────────────────────────────── */
.business-thanks__list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm) var(--space-md);
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

.business-thanks__item {
  display: flex;
}

/* ── Individual name tag ─────────────────────────────────────── */
.business-thanks__tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  background: white;
  border: 2px solid var(--color-warm-black);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  color: var(--color-warm-black);
  line-height: 1.3;
  transform: rotate(var(--card-rotate, 0deg));
  transition:
    transform var(--duration-fast) var(--ease-out),
    box-shadow var(--duration-fast) var(--ease-out);
  cursor: default;
  user-select: none;
}

.business-thanks__tag:hover {
  transform: rotate(var(--card-rotate, 0deg)) translate(-2px, -2px);
  box-shadow: var(--shadow-comic-sm);
}

/* ── Heart icon ──────────────────────────────────────────────── */
.business-thanks__heart {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 1;
}

.business-thanks__heart svg {
  width: 12px;
  height: 12px;
  fill: var(--color-red);
  stroke: var(--color-warm-black);
  stroke-width: 2.5;
}

/* ── Mobile ──────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .business-thanks__list {
    gap: var(--space-xs) var(--space-sm);
  }

  .business-thanks__tag {
    font-size: var(--text-xs);
    padding: 6px var(--space-md);
  }
}

/* ══════════════════════════════════════════════════════════════════════════════
   Team Grid
   ══════════════════════════════════════════════════════════════════════════════ */

/* ── Section ─────────────────────────────────────────────────────────────── */
.team-grid { overflow: hidden; }

/* ── Background variants ─────────────────────────────────────────────────── */
.team-grid--blue       { background: var(--color-blue);       color: white; }
.team-grid--red        { background: var(--color-red);        color: white; }
.team-grid--blue-light { background: var(--color-blue-light); color: var(--color-warm-black); }
.team-grid--white      { background: var(--color-warm-white); color: var(--color-warm-black); }

.team-grid--blue .team-grid__heading,
.team-grid--red  .team-grid__heading { color: white; }

.team-grid--blue       .team-grid__eyebrow { color: var(--color-yellow); }
.team-grid--red        .team-grid__eyebrow { color: rgba(255,255,255,0.85); }
.team-grid--blue-light .team-grid__eyebrow,
.team-grid--white      .team-grid__eyebrow { color: var(--color-blue); }

/* ── Section header ──────────────────────────────────────────────────────── */
.team-grid__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.team-grid__header-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.team-grid__heading {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: var(--weight-bold);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-top: var(--space-xs);
  margin-bottom: 0;
}
@media (min-width: 1100px) {
  .team-grid__heading { font-size: var(--text-4xl); }
}
@media (max-width: 600px) {
  .team-grid__heading { font-size: var(--text-2xl); }
  .team-grid__header  { flex-wrap: wrap; gap: var(--space-md); }
  .team-grid__header-text { order: 1; width: 100%; }
  .team-grid__nav     { order: 2; margin-top: var(--space-sm); }
}

/* ── Nav buttons ─────────────────────────────────────────────────────────── */
.team-grid__nav {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-shrink: 0;
  align-self: flex-end;
}

.team-grid__nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 3px solid var(--color-warm-black);
  background: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-warm-black);
  transition: all var(--duration-fast) var(--ease-out);
  box-shadow: var(--shadow-comic-sm);
}
.team-grid__nav-btn:hover:not(:disabled) { background: var(--color-red); color: white; }
.team-grid__nav-btn:disabled { opacity: 0.35; cursor: default; }

.team-grid--blue .team-grid__nav-btn,
.team-grid--red  .team-grid__nav-btn {
  border-color: white;
  background: transparent;
  color: white;
  box-shadow: 3px 3px 0 rgba(255,255,255,0.35);
}
.team-grid--blue .team-grid__nav-btn:hover:not(:disabled),
.team-grid--red  .team-grid__nav-btn:hover:not(:disabled) {
  background: white;
  color: var(--color-warm-black);
  border-color: white;
}

/* ── Splide track — allow card shadows to show ───────────────────────────── */
.team-grid .splide       { overflow: hidden; padding: 8px 16px 16px; margin: 0 -16px; }
/* Mobile: match the breakout to the tighter container gutter (see events carousel note). */
@media (max-width: 600px) {
  .team-grid .splide { padding: 8px var(--container-gutter) 16px; margin: 0 calc(-1 * var(--container-gutter)); }
}
.team-grid .splide__track { overflow: visible; }
.team-grid .splide__slide { display: flex; height: auto !important; }
.team-grid .splide__slide .team-grid__card { flex: 1; }

/* ── Card (button) ───────────────────────────────────────────────────────── */
.team-grid__card {
  appearance: none;
  -webkit-appearance: none;
  display: flex;
  flex-direction: column;
  width: 100%;
  text-align: left;
  background: white;
  border: var(--border-comic);
  border-radius: var(--radius-lg);
  box-shadow: 4px 4px 0 var(--color-warm-black);
  overflow: hidden;
  cursor: pointer;
  font-family: var(--font-body);
  color: var(--color-warm-black);
  padding: 0;
  transition:
    transform var(--duration-normal) var(--ease-bounce),
    box-shadow var(--duration-normal) var(--ease-bounce);
}

@media (hover: hover) and (pointer: fine) {
  .team-grid__card:hover {
    transform: translate(-3px, -3px);
    box-shadow: 7px 7px 0 var(--color-warm-black);
  }
  .team-grid__card:hover .team-grid__card-cta     { gap: var(--space-sm); }
  .team-grid__card:hover .team-grid__card-cta svg { transform: translateX(4px); }
}

.team-grid__card:focus-visible {
  outline: 3px solid var(--color-blue);
  outline-offset: 3px;
}

/* ── Card image ──────────────────────────────────────────────────────────── */
.team-grid__card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--color-cream);
  overflow: hidden;
}

.team-grid__card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: auto;
  display: block;
  transition: transform var(--duration-slow) var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .team-grid__card:hover .team-grid__card-img {
    transform: scale(1.04);
  }
}

.team-grid__card-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.team-grid__card-placeholder svg {
  width: 56px;
  height: 56px;
  color: var(--color-grey-mid);
}

/* ── Card body ───────────────────────────────────────────────────────────── */
.team-grid__card-body {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-sm);
  padding: var(--space-lg) var(--space-xl) var(--space-lg);
  flex: 1;
}

.team-grid__card-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.team-grid__card-name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
  color: var(--color-warm-black);
  margin: 0;
}

.team-grid__card-role {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-blue);
  margin: 0;
  letter-spacing: 0.01em;
}

/* ── "View profile" affordance ───────────────────────────────────────────── */
.team-grid__card-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  flex-shrink: 0;
  font-size: var(--text-base);
  font-weight: var(--weight-bold);
  color: var(--color-red);
  white-space: nowrap;
  transition: gap var(--duration-normal) var(--ease-bounce);
}
.team-grid__card-cta span {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
}
.team-grid__card-cta svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform var(--duration-normal) var(--ease-bounce);
}

@media (max-width: 1100px) {
  .team-grid__card-body {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-md);
  }
}

/* ══════════════════════════════════════════════════════════════════════════════
   Team Modal
   ══════════════════════════════════════════════════════════════════════════════ */

.team-modal {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
}
.team-modal[hidden] { display: none; }

.team-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(45, 36, 32, 0.55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

/* ── Panel — side-by-side on desktop, stacked on mobile ─────────────────── */
.team-modal__panel {
  position: relative;
  z-index: 1;
  background: white;
  border: var(--border-comic);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-comic-lg);
  width: 100%;
  max-width: 720px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 300px 1fr;
  /* Cap the panel to the viewport so the content column can scroll inside it. */
  max-height: calc(100dvh - var(--space-2xl));
}

/* ── Close button ────────────────────────────────────────────────────────── */
.team-modal__close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  z-index: 2;
  appearance: none;
  -webkit-appearance: none;
  background: white;
  border: 2px solid var(--color-warm-black);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--color-warm-black);
  transition:
    background var(--duration-fast) var(--ease-out),
    color var(--duration-fast) var(--ease-out);
  flex-shrink: 0;
}
.team-modal__close:hover { background: var(--color-warm-black); color: white; }
.team-modal__close:focus-visible { outline: 3px solid var(--color-blue); outline-offset: 2px; }

/* ── Image column ────────────────────────────────────────────────────────── */
.team-modal__image-col {
  position: relative;
  background: var(--color-cream);
  overflow: hidden;
  /* Match the square (1:1) team-grid card image so the crop is consistent
   * between the on-page card and the modal. align-self:start keeps it square
   * rather than stretching to the (taller) content column's height. */
  aspect-ratio: 1 / 1;
  align-self: start;
}

.team-modal__image-col--hidden { display: none; }
.team-modal__image-col--hidden ~ .team-modal__content { grid-column: 1 / -1; }
.team-modal__image-col--hidden ~ .team-modal__content .team-modal__name-block { gap: var(--space-sm); }

.team-modal__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: auto;
  display: block;
}

.team-modal__image-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.team-modal__image-fallback[hidden] { display: none; }
.team-modal__image-fallback svg {
  width: 64px;
  height: 64px;
  color: var(--color-grey-mid);
}

/* ── Content column ──────────────────────────────────────────────────────── */
.team-modal__content {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  /* Fill the (viewport-capped) panel and scroll internally. min-height:0 lets
   * this grid item shrink below its content size so the scroll actually kicks in. */
  max-height: 100%;
  min-height: 0;
  padding: var(--space-2xl) var(--space-xl) var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.team-modal__name-block {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  padding-right: var(--space-2xl);
}

.team-modal__role-badge {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--color-yellow);
  border: 2px solid var(--color-warm-black);
  border-radius: var(--radius-sm);
  padding: 3px 10px;
  line-height: 1.4;
}
.team-modal__role-badge[hidden] { display: none; }

.team-modal__name {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
  color: var(--color-warm-black);
  letter-spacing: -0.01em;
  margin: 0;
}

.team-modal__bio-label {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--color-blue);
  margin: 0;
}
.team-modal__bio-label svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--color-red);
  stroke: var(--color-red);
  stroke-width: 2;
}
.team-modal__bio-label[hidden] { display: none; }
.team-modal__bio-label + .team-modal__bio { margin-top: calc(-1 * var(--space-md)); }

.team-modal__bio {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--color-warm-black);
  white-space: pre-line;
  margin: 0;
}
.team-modal__bio[hidden] { display: none; }

/* ── Fun fact ────────────────────────────────────────────────────────────── */
.team-modal__fact-wrap {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding-top: var(--space-md);
  border-top: 1.5px solid var(--color-grey-light);
}
.team-modal__fact-wrap[hidden] { display: none; }

.team-modal__facts-label {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--color-blue);
  margin: 0;
}
.team-modal__facts-label svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--color-yellow);
  fill: var(--color-yellow);
  stroke: var(--color-warm-black);
  stroke-width: 1.5;
}

.team-modal__fact {
  position: relative;
  padding-left: var(--space-lg);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  line-height: var(--leading-relaxed);
  color: var(--color-warm-black);
  margin: 0;
}
.team-modal__fact::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-red);
  border: 1.5px solid var(--color-warm-black);
}

html.team-modal-open,
html.team-modal-open body { overflow: hidden; }

/* ── Mobile ──────────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .team-modal { padding: var(--space-sm); }

  .team-modal__panel {
    grid-template-columns: 1fr;
    /* Image takes its square height; the content row flexes and scrolls. */
    grid-template-rows: auto minmax(0, 1fr);
    max-height: calc(100dvh - var(--space-md));
  }

  .team-modal__image-col {
    aspect-ratio: 1 / 1;   /* full-width square, matching the mobile card */
    min-height: 0;
    max-height: none;
  }

  .team-modal__content {
    max-height: none;
    padding: var(--space-lg);
  }

  .team-modal__name {
    font-size: var(--text-xl);
  }
}


/* ============================================================
   RICH TEXT — page builder prose block
   ============================================================ */

/* ── Width modifiers ─────────────────────────────────────────────────────── */

.rich-text__body {
  width: 100%;
}

.rich-text__body--narrow { max-width: 680px; }
.rich-text__body--normal { max-width: 820px; }
.rich-text__body--wide   { max-width: 1028px; }

/* ── Prose typography — mirrors .resource-body ───────────────────────────── */

.rich-text__body p {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--color-warm-black);
  margin-bottom: var(--space-md);
}

.rich-text__body p:last-child {
  margin-bottom: 0;
}

.rich-text__body h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
  letter-spacing: -0.01em;
  color: var(--color-warm-black);
  margin: var(--space-2xl) 0 var(--space-md);
}

.rich-text__body h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
  color: var(--color-warm-black);
  margin: var(--space-xl) 0 var(--space-sm);
}

.rich-text__body h4 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  color: var(--color-warm-black);
  margin: var(--space-lg) 0 var(--space-sm);
}

.rich-text__body h2:first-child,
.rich-text__body h3:first-child,
.rich-text__body h4:first-child {
  margin-top: 0;
}

.rich-text__body a {
  color: var(--color-blue);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1.5px;
}

.rich-text__body a:hover {
  color: var(--color-blue-dark);
}

.rich-text__body ul,
.rich-text__body ol {
  padding-left: var(--space-xl);
  margin-bottom: var(--space-md);
}

.rich-text__body li {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--color-warm-black);
  margin-bottom: var(--space-xs);
}

.rich-text__body strong,
.rich-text__body b {
  font-weight: var(--weight-bold);
}

.rich-text__body em,
.rich-text__body i {
  font-style: italic;
}

.rich-text__body blockquote {
  border-left: 4px solid var(--color-blue);
  padding: var(--space-md) 0 var(--space-md) var(--space-lg);
  margin: var(--space-xl) 0;
  color: var(--color-grey-dark);
  font-style: italic;
  font-size: var(--text-md);
  line-height: var(--leading-relaxed);
}

.rich-text__body img {
  width: 100%;
  height: auto;
  display: block;
  border: var(--border-comic);
  border-radius: var(--radius-md);
  box-shadow: 4px 4px 0 var(--color-warm-black);
  margin: var(--space-lg) 0;
}

.rich-text__body hr {
  border: none;
  border-top: 2px solid var(--color-grey-light);
  margin: var(--space-2xl) 0;
}

/* ════════════════════════════════════════════════════════════════════
   Photo Gallery Grid (page builder: photo_gallery_grid)
   ──────────────────────────────────────────────────────────────────── */

.pgg { position: relative; }

/* ── Background variants ─────────────────────────────────────────── */
.pgg--white      { background: transparent; }
.pgg--light_blue { background: var(--color-blue-light); }
.pgg--blue       { background: var(--color-blue); }

/* On dark backgrounds, lift the centred copy onto the blue */
.pgg--blue .pgg__heading { color: var(--color-warm-white); }
.pgg--blue .pgg__eyebrow { color: var(--color-yellow); }
.pgg--blue .pgg__body    { color: var(--color-warm-white); }

/* ── Centred header ─────────────────────────────────────────────── */
.pgg__header {
  text-align: center;
  max-width: 900px;
  margin: 0 auto var(--space-2xl);
}
@media (min-width: 1100px) {
  .pgg__header { margin-bottom: var(--space-3xl); }
}

.pgg__eyebrow { color: var(--color-red); }

.pgg__heading {
  font-size: var(--text-3xl);
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
  margin: 0 0 var(--space-md);
  color: var(--color-warm-black);
}
.pgg__heading em {
  font-style: italic;
  color: var(--color-red);
  font-weight: var(--weight-bold);
}
@media (min-width: 1100px) { .pgg__heading { font-size: var(--text-4xl); } }
@media (max-width: 600px) { .pgg__heading { font-size: var(--text-2xl); } }

.pgg__body {
  color: var(--color-warm-black);
  font-size: var(--text-md);
  line-height: var(--leading-relaxed);
}
.pgg__body p { margin: 0; }
.pgg__body p + p { margin-top: var(--space-md); }

/* ── Grid ────────────────────────────────────────────────────────── */
.pgg__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(var(--space-lg), 3vw, var(--space-2xl));
  grid-template-columns: 1fr;
}
@media (max-width: 599px)  { .pgg__grid { row-gap: var(--space-xl); } }
@media (min-width: 600px) { .pgg__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .pgg__grid { grid-template-columns: repeat(3, 1fr); } }

.pgg__item {
  margin: 0;
  opacity: 0;
  transform: translateY(18px) rotate(var(--pgg-tilt, 0deg));
  transition: opacity 480ms ease, transform 520ms cubic-bezier(0.2, 0.9, 0.3, 1.2);
}
.pgg__item.is-visible {
  opacity: 1;
  transform: translateY(0) rotate(var(--pgg-tilt, 0deg));
}
.pgg__item[hidden] {
  display: none;
}

/* ── Tile (the button wrapping the photo) ────────────────────────── */
.pgg__tile {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}
.pgg__tile:focus-visible { outline: none; }
.pgg__tile:focus-visible .pgg__frame {
  outline: 3px solid var(--color-yellow);
  outline-offset: 4px;
}

/* ── Photo frame ─────────────────────────────────────────────────── */
.pgg__frame {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  width: 100%;
  background: var(--color-cream);
  border: var(--border-comic);
  border-radius: var(--radius-md);
  box-shadow: 4px 4px 0 var(--color-warm-black);
  overflow: hidden;
  transition: transform 260ms cubic-bezier(0.2, 0.9, 0.3, 1.2),
              box-shadow 260ms ease;
}

.pgg__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  aspect-ratio: auto;
  transition: transform 600ms cubic-bezier(0.2, 0.9, 0.3, 1.2);
}

@media (hover: hover) and (pointer: fine) {
  .pgg__tile:hover .pgg__frame {
    transform: translate(-3px, -3px);
    box-shadow: 7px 7px 0 var(--color-warm-black);
  }
  .pgg__tile:hover .pgg__img {
    transform: scale(1.045);
  }
}

/* ── Caption badge — tilted sticky label ─────────────────────────── */
.pgg__caption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  max-width: calc(100% - 24px);
  z-index: 2;
  display: inline-block;
  padding: 7px 12px 6px;
  background: var(--color-warm-white);
  color: var(--color-warm-black);
  border: 2.5px solid var(--color-warm-black);
  border-radius: 6px;
  box-shadow: var(--shadow-comic-sm);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  line-height: 1.25;
  letter-spacing: 0.01em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transform-origin: 0 100%;
  transform: rotate(-3deg);
  transition: transform 260ms cubic-bezier(0.2, 0.9, 0.3, 1.2),
              box-shadow 260ms ease;
  pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
  .pgg__tile:hover .pgg__caption {
    transform: rotate(0deg) translate(-1px, -1px);
    box-shadow: 4px 4px 0 var(--color-warm-black);
  }
}

@media (max-width: 600px) {
  .pgg__caption {
    font-size: var(--text-xs);
    padding: 5px 10px;
    left: 10px;
    bottom: 10px;
  }
}

/* ── Load more button ────────────────────────────────────────────── */
.pgg__more {
  display: flex;
  justify-content: center;
  margin-top: var(--space-2xl);
}
@media (min-width: 1100px) { .pgg__more { margin-top: var(--space-3xl); } }

.pgg__load-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.pgg__load-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  padding: 2px 8px;
  background: var(--color-warm-black);
  color: var(--color-yellow);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  letter-spacing: 0.04em;
}

/* ════════════════════════════════════════════════════════════════════
   Lightbox
   ──────────────────────────────────────────────────────────────────── */

html.pgg-lock { overflow: hidden; }

.pgg__lightbox {
  position: fixed;
  inset: 0;
  z-index: var(--z-lightbox);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(var(--space-md), 4vw, var(--space-2xl));
  opacity: 0;
  visibility: hidden;
  transition: opacity 260ms ease, visibility 260ms ease;
}
.pgg__lightbox[hidden] { display: none; }
.pgg__lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.pgg__lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(45, 36, 32, 0.92); /* warm-black at 92% */
  cursor: zoom-out;
}

.pgg__lightbox-stage {
  position: relative;
  z-index: 2;
  width: min(960px, 100%);
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  transform: scale(0.96);
  transition: transform 320ms cubic-bezier(0.2, 0.9, 0.3, 1.2);
}
.pgg__lightbox.is-open .pgg__lightbox-stage { transform: scale(1); }

.pgg__lightbox-frame {
  position: relative;
  width: 100%;
  background: var(--color-warm-white);
  border: 5px solid var(--color-warm-black);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-comic-lg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

.pgg__lightbox-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(70vh, 720px);
  object-fit: contain;
  background: var(--color-cream);
  opacity: 0;
  transition: opacity 280ms ease;
}
.pgg__lightbox-img.is-loaded { opacity: 1; }

.pgg__lightbox-caption {
  margin-top: var(--space-lg);
  padding: var(--space-sm) var(--space-md);
  background: var(--color-warm-white);
  color: var(--color-warm-black);
  border: 2.5px solid var(--color-warm-black);
  border-radius: 6px;
  box-shadow: var(--shadow-comic-sm);
  font-family: var(--font-body);
  font-weight: var(--weight-bold);
  font-size: var(--text-md);
  text-align: center;
  max-width: 90%;
  transform: rotate(-1.5deg);
}

.pgg__lightbox-counter {
  margin: var(--space-md) 0 0;
  color: var(--color-warm-white);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.8;
}

/* Lightbox controls — circular comic buttons */
.pgg__lightbox-close,
.pgg__lightbox-nav {
  position: absolute;
  z-index: 3;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-warm-white);
  color: var(--color-warm-black);
  border: 3px solid var(--color-warm-black);
  border-radius: 50%;
  box-shadow: var(--shadow-comic-sm);
  cursor: pointer;
  padding: 0;
  transition: transform 200ms cubic-bezier(0.2, 0.9, 0.3, 1.2),
              box-shadow 200ms ease,
              background-color 200ms ease;
}
.pgg__lightbox-close:hover,
.pgg__lightbox-nav:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-comic);
  background: var(--color-yellow);
}
.pgg__lightbox-close:focus-visible,
.pgg__lightbox-nav:focus-visible {
  outline: 3px solid var(--color-yellow);
  outline-offset: 3px;
}

.pgg__lightbox-close {
  top: clamp(var(--space-md), 3vw, var(--space-xl));
  right: clamp(var(--space-md), 3vw, var(--space-xl));
}

.pgg__lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
}
.pgg__lightbox-nav:hover {
  transform: translateY(calc(-50% - 2px)) translateX(-2px);
}
.pgg__lightbox-nav--prev { left: clamp(var(--space-md), 3vw, var(--space-xl)); }
.pgg__lightbox-nav--next { right: clamp(var(--space-md), 3vw, var(--space-xl)); }

@media (max-width: 600px) {
  .pgg__lightbox-close,
  .pgg__lightbox-nav {
    width: 42px;
    height: 42px;
  }
  .pgg__lightbox-nav--prev { left: 8px; }
  .pgg__lightbox-nav--next { right: 8px; }
  .pgg__lightbox-close { top: 8px; right: 8px; }
  .pgg__lightbox-caption { font-size: var(--text-sm); }
}

@media (prefers-reduced-motion: reduce) {
  .pgg__item,
  .pgg__frame,
  .pgg__img,
  .pgg__caption,
  .pgg__lightbox,
  .pgg__lightbox-stage,
  .pgg__lightbox-img,
  .pgg__lightbox-close,
  .pgg__lightbox-nav { transition: none !important; }
}


/* ============================================================
   ARTICLE GRID — category-filtered blog post carousel
   ============================================================ */

/* ── Background variants ─────────────────────────────────────────────────────── */
.article-grid--blue       { background: var(--color-blue);       color: white; }
.article-grid--red        { background: var(--color-red);        color: white; }
.article-grid--blue-light { background: var(--color-blue-light); color: var(--color-warm-black); }
.article-grid--white      { background: white;                   color: var(--color-warm-black); }

.article-grid--blue .section-heading,
.article-grid--red  .section-heading { color: white; }

.article-grid--blue       .eyebrow { color: var(--color-yellow); }
.article-grid--red        .eyebrow { color: rgba(255,255,255,0.85); }
.article-grid--blue-light .eyebrow,
.article-grid--white      .eyebrow { color: var(--color-blue); }

/* ── Section header: eyebrow + heading left, nav arrows right ────────────────── */
.article-grid__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}
.article-grid__header-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.article-grid__header .section-heading { margin-bottom: 0; }
.article-grid__view-all { display: inline-flex; margin-top: var(--space-sm); }

/* Arrow link colour on dark backgrounds */
.article-grid--blue .article-grid__view-all,
.article-grid--red  .article-grid__view-all { color: white; }
.article-grid--blue .article-grid__view-all svg,
.article-grid--red  .article-grid__view-all svg { color: white; }

/* ── Custom nav arrows ───────────────────────────────────────────────────────── */
.article-grid__nav {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-shrink: 0;
  align-self: flex-end;
}
.article-grid__nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 3px solid var(--color-warm-black);
  background: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-warm-black);
  transition: all var(--duration-fast) var(--ease-out);
  box-shadow: var(--shadow-comic-sm);
}
.article-grid__nav-btn:hover:not(:disabled) { background: var(--color-red); color: white; }
.article-grid__nav-btn:disabled { opacity: 0.35; cursor: default; }

/* On coloured backgrounds the dark shadows would jar — use rgba */
.article-grid--blue .article-grid__nav-btn,
.article-grid--red  .article-grid__nav-btn {
  box-shadow: 3px 3px 0 rgba(0,0,0,0.25);
}

/* ── Splide track ────────────────────────────────────────────────────────────── */
.article-grid__track .splide { overflow: hidden; padding: 8px 16px 16px; margin: 0 -16px; }
/* Mobile: match the breakout to the tighter container gutter (see events carousel note). */
@media (max-width: 600px) {
  .article-grid__track .splide { padding: 8px var(--container-gutter) 16px; margin: 0 calc(-1 * var(--container-gutter)); }
}
.article-grid__track .splide__track { overflow: visible; }
.article-grid__track .splide__list  { display: flex; align-items: stretch; }
.article-grid__track .splide__slide { display: flex; }
.article-grid__track .blog-card     { flex: 1; }

/* ── Blog card shadow on coloured section backgrounds ────────────────────────── */
.article-grid--blue       .blog-card,
.article-grid--red        .blog-card,
.article-grid--blue-light .blog-card { box-shadow: 4px 4px 0 rgba(0,0,0,0.25); }

@media (hover: hover) and (pointer: fine) {
  .article-grid--blue       .blog-card:hover,
  .article-grid--red        .blog-card:hover,
  .article-grid--blue-light .blog-card:hover { box-shadow: 7px 7px 0 rgba(0,0,0,0.3); }
}

/* ── Empty state ─────────────────────────────────────────────────────────────── */
.article-grid__empty { font-size: var(--text-base); color: var(--color-warm-black); opacity: 0.6; padding: var(--space-xl) 0; }
.article-grid--blue .article-grid__empty,
.article-grid--red  .article-grid__empty { color: rgba(255,255,255,0.7); opacity: 1; }

/* ── Responsive ──────────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .article-grid__header     { flex-wrap: wrap; gap: var(--space-md); }
  .article-grid__header-text { order: 1; width: 100%; }
  .article-grid__nav        { order: 3; margin-top: var(--space-sm); }
  .article-grid__track      { order: 4; }
}

/* ── Tablet: smaller section headings (601–1100px) ──────────────────
 * On tablet the big section/component h2s drop to the compact size for a
 * clearer hierarchy. (Appended last so it wins over each heading's base
 * rule on the tablet band; desktop 4xl rules at ≥1100 are unaffected.) */
@media (max-width: 1100px) and (min-width: 601px) {
  .section-heading,
  .mission__heading,
  .two-block-info__heading,
  .story-video__heading,
  .regular-events-grid__heading,
  .community-links__heading,
  .alt-story__heading,
  .team-grid__heading,
  .pgg__heading {
    font-size: var(--text-2xl);
  }
}
