/*
 * 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: 3px 3px 0 var(--color-warm-black); }


/* ============================================================
   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: 3px 3px 0 var(--color-warm-black);
}
.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: 5px 5px 0 var(--color-warm-black); color: white; }

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

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

.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: 5px 5px 0 var(--color-warm-black); 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: 5px 5px 0 var(--color-warm-black); }

.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: 100;
  background: var(--color-warm-white);
  border-bottom: 4px solid var(--color-warm-black);
  height: 76px;
  box-sizing: border-box;
  transition: height 0.3s var(--ease-out);
}
.nav--scrolled { height: 58px; }
@media (max-width: 900px) { .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: 900px) { .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: 4px solid var(--color-warm-black);
  box-shadow: 0 8px 0 rgba(0, 0, 0, 0.12);
  z-index: 99;
  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: 3px 3px 0 var(--color-warm-black);
  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: 900px) { .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;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 98;
  background: var(--color-cream);
  border-bottom: 4px solid var(--color-warm-black);
  padding: var(--space-md) var(--container-gutter) var(--container-gutter);
  animation: navDrop 0.25s var(--ease-out) both;
}
.nav__mobile > * { position: relative; z-index: 1; }
.nav__mobile.is-open { display: block; }

@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: 901px) {
  .nav__mobile-trigger,
  .nav__mobile-sub { display: none; }
}

/* Show hamburger on mobile, hide desktop links */
@media (max-width: 900px) {
  .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;
  overflow: hidden;
  min-height: 85vh;
  display: flex;
  align-items: flex-end;
}
.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; }

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(to top, var(--color-blue-dark) 0%, rgba(0,77,117,0.7) 30%, transparent 65%);
}

.hero__content-wrap {
  position: relative;
  z-index: 4;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-gutter) var(--space-xl);
}
@media (min-width: 900px) { .hero__content-wrap { padding-bottom: var(--space-2xl); } }

.hero__content-panel {
  position: relative;
  background: white;
  color: var(--color-warm-black);
  border: 5px solid var(--color-warm-black);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-2xl);
  box-shadow: 8px 8px 0 var(--color-warm-black);
  max-width: 640px;
  transform: rotate(-1deg);
}
/* Speech bubble tail */
.hero__content-panel::after {
  content: '';
  position: absolute;
  top: -22px;
  left: 60px;
  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));
}

.hero__heading {
  font-size: var(--text-4xl);
  font-weight: var(--weight-black);
  line-height: 1.05;
  color: var(--color-warm-black);
  margin-bottom: var(--space-md);
}
@media (min-width: 900px) { .hero__heading { font-size: var(--text-5xl); } }
.hero__heading em { font-style: normal; color: var(--color-red); }

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

.hero__bottom-row { display: flex; align-items: center; gap: var(--space-xl); flex-wrap: wrap; }
.hero__actions    { display: flex; align-items: center; gap: var(--space-md); flex-wrap: wrap; }

.hero__reviews {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 6px 14px;
  font-size: var(--text-base);
  font-weight: var(--weight-bold);
  background: var(--color-yellow);
  color: var(--color-warm-black);
  border: 3px solid var(--color-warm-black);
  border-radius: var(--radius-full);
}
.hero__stars { color: var(--color-warm-black); display: inline-flex; align-items: center; gap: 2px; }
.hero__stars svg { width: 16px; height: 16px; 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 starBounce {
  0%   { transform: scale(0) rotate(-30deg); }
  60%  { transform: scale(1.3) rotate(5deg); }
  100% { transform: scale(1) rotate(0deg); }
}

.hero__badge {
  position: absolute;
  z-index: 5;
  animation: floatBadge 4s ease-in-out infinite;
}
.hero__badge--1 { top: 12%; right: 10%; --badge-rotate: -6deg; animation-delay: 0s; }
.hero__badge--2 { top: 50%; right: 6%;  --badge-rotate: 4deg;  animation-delay: 1.5s; }
.hero__badge--3 { top: 18%; right: 26%; --badge-rotate: -2deg; animation-delay: 0.8s; }

@keyframes floatBadge {
  0%, 100% { transform: translateY(0) rotate(var(--badge-rotate, -3deg)); }
  50%       { transform: translateY(-8px) rotate(var(--badge-rotate, -3deg)); }
}

/* Hero responsive */
@media (max-width: 900px) {
  .hero__heading { font-size: var(--text-3xl); }
  .hero__frame { min-height: 65vh; }
  .hero__badge { display: none; }
  .hero__content-panel { padding: var(--space-lg); transform: rotate(-0.5deg); }
}
@media (max-width: 600px) {
  .hero__frame { min-height: 55vh; }
  .hero__heading { font-size: var(--text-2xl); }
  .hero__content-panel { padding: var(--space-lg); box-shadow: 5px 5px 0 var(--color-warm-black); }
  .hero__content-panel::after { left: 30px; }
}

/* Hero panel slam-in animation on load */
.hero .comic-reveal { animation: heroSlam 0.7s var(--ease-bounce) 0.3s both; }
@keyframes heroSlam {
  0%   { opacity: 0; transform: scale(0.8) rotate(-4deg); }
  100% { opacity: 1; transform: scale(1) rotate(-1deg); }
}


/* ============================================================
   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: 900px) { .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(--space-xl) var(--space-2xl);
  box-shadow: 8px 8px 0 var(--color-warm-black);
  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: 900px) {
  .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: 900px) { .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 {
    padding: var(--space-lg);
    margin-top: -33vh;
    box-shadow: 5px 5px 0 var(--color-warm-black);
    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: 3px 3px 0 var(--color-warm-black);
  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: 5px 5px 0 var(--color-warm-black);
}

/* 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: 3px 3px 0 var(--color-warm-black);
}

/* 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-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: 3px 3px 0 var(--color-warm-black);
  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: 900px) { .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(4, 1fr); gap: var(--space-lg); }

.stats__item {
  text-align: center;
  padding: var(--space-lg) var(--space-xl);
  border: 4px solid var(--color-warm-black);
  border-radius: var(--radius-lg);
  box-shadow: 5px 5px 0 var(--color-warm-black);
  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: 900px) { .stats__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
  .stats__number { font-size: var(--text-3xl); }
  .stats__item   { padding: var(--space-md) var(--space-lg); }
}


/* ============================================================
   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: 900px) { .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: 8px 8px 0 var(--color-warm-black);
  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(--space-xl) var(--space-2xl);
  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: 900px) { .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(--space-xl) var(--space-2xl);
  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: 900px) {
  .mission__panels { grid-template-columns: 1fr; grid-template-rows: auto auto auto; }
  .mission__panel-main { grid-row: auto; min-height: 350px; transform: rotate(-0.5deg); }
  .mission__panel-text { transform: rotate(0.5deg); }
  .mission__panel-action { transform: rotate(-0.3deg); }
}
@media (max-width: 600px) {
  .mission__panel-text   { padding: var(--space-lg); }
  .mission__panel-action { padding: var(--space-lg); }
  .mission__panel-main   { min-height: 260px; }
}


/* ============================================================
   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: 900px) {
  .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: 4px solid var(--color-warm-black);
  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; }


/* ============================================================
   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: 4px solid var(--color-warm-black);
  border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-xl);
  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: 900px) { .info-bar__inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px)  { .info-bar__inner { grid-template-columns: 1fr; padding: var(--space-md) var(--space-lg); } }

@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: 4px solid var(--color-warm-black);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: white;
  box-shadow: 5px 5px 0 var(--color-warm-black);
  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: 8px 8px 0 var(--color-warm-black); 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(--space-lg); 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; }

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

@media (max-width: 900px) {
  .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-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: 3px 3px 0 var(--color-warm-black);
}
.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; }
.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: 4px solid var(--color-warm-black);
  border-radius: var(--radius-lg);
  box-shadow: 5px 5px 0 var(--color-warm-black);
  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;
}

/* Body pre-constrained to hover width — title never reflows on expand */
.event-card__body  {
  padding: var(--space-lg);
  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: 4px solid var(--color-warm-black);
  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: 900px) { .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: 4px solid var(--color-warm-black);
  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;
}
.events__regular-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.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-time {
  font-size: var(--text-base);
  color: var(--color-warm-black);
  opacity: 0.65;
}
.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: 900px) and (min-width: 601px) {
  .events__regular-item { flex: 1 1 calc(33.333% - 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;
  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: 3px 3px 0 var(--color-warm-black);
  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: 9000;
  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: 4px solid var(--color-warm-black);
  border-radius: var(--radius-lg);
  box-shadow: 8px 8px 0 var(--color-warm-black);
  width: 100%;
  max-width: 480px;
  overflow: hidden;
}

.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);
}
.re-modal__day-badge {
  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 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.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-yellow);
  border: 2px solid var(--color-warm-black);
  border-radius: var(--radius-sm);
  padding: 2px 10px;
}
.re-modal__time {
  font-size: var(--text-base);
  font-weight: var(--weight-medium);
  color: var(--color-warm-black);
}
.re-modal__desc {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--color-warm-black);
  margin: 0;
}
.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);
}
.re-modal__footer .arrow-link { color: var(--color-warm-black); }

html.re-modal-open,
html.re-modal-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); }
}

/* ============================================================
   14. WHAT WE OFFER CARDS
   ============================================================ */
.offer { background: var(--color-blue); color: white; position: relative; overflow: hidden; }
.offer .container  { position: relative; z-index: 1; }
.offer .eyebrow    { color: var(--color-yellow); }
.offer .section-heading { color: white; }
.offer__intro   { text-align: center; max-width: 50ch; margin: 0 auto var(--space-2xl); }
.offer__subtitle { font-size: var(--text-md); color: rgba(255,255,255,0.8); line-height: var(--leading-relaxed); }
.offer__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-lg); }

.offer-card {
  background: white;
  color: var(--color-warm-black);
  border: 4px solid var(--color-warm-black);
  border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  box-shadow: 5px 5px 0 rgba(0,0,0,0.3);
  transition: all var(--duration-normal) var(--ease-out);
}
.offer-card.is-visible:hover { transform: translateY(-6px); box-shadow: 8px 8px 0 rgba(0,0,0,0.3); }
.offer-card__icon { width: 48px; height: 48px; border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; }
.offer-card__icon svg { width: 24px; height: 24px; transition: transform var(--duration-normal) var(--ease-bounce); }
.offer-card:hover .offer-card__icon svg { transform: translateY(-3px) rotate(-6deg) scale(1.1); }
.offer-card:nth-child(1) .offer-card__icon { background: var(--color-blue-light);   color: var(--color-blue); }
.offer-card:nth-child(2) .offer-card__icon { background: var(--color-yellow-light); color: var(--color-yellow-dark); }
.offer-card:nth-child(3) .offer-card__icon { background: var(--color-red-light);    color: var(--color-red); }
.offer-card:nth-child(4) .offer-card__icon { background: var(--color-blue-light);   color: var(--color-blue); }
.offer-card__title { font-family: var(--font-display); font-size: var(--text-lg); font-weight: var(--weight-bold); color: var(--color-warm-black); }
.offer-card__text  { font-size: var(--text-base); color: var(--color-warm-black); line-height: var(--leading-relaxed); flex: 1; }
.offer-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);
}
.offer-card__link span { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 2px; }
.offer-card__link svg  { width: 16px; height: 16px; transition: transform var(--duration-normal) var(--ease-bounce); }
.offer-card__link:hover { gap: var(--space-sm); color: var(--color-blue-dark); }
.offer-card__link:hover svg { transform: translateX(4px); }

@media (max-width: 900px) { .offer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .offer-card  { padding: var(--space-md) var(--space-lg); } }
@media (max-width: 600px)  { .offer__grid { grid-template-columns: 1fr; } }


/* ============================================================
   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: 4px solid var(--color-warm-black);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: white;
  box-shadow: 5px 5px 0 var(--color-warm-black);
  transition: all var(--duration-normal) var(--ease-out);
}
.people-card.is-visible:hover { transform: translateY(-6px); box-shadow: 8px 8px 0 var(--color-warm-black); }
.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: 3px 3px 0 var(--color-warm-black);
}
.people__nav-btn:hover { background: var(--color-blue); color: white; }
.people__badge { position: absolute; top: 0; right: var(--space-3xl); }

@media (max-width: 900px) { .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. SUPPORT SECTION
   ============================================================ */
.support { background: var(--color-red); color: white; position: relative; overflow: hidden; }
.support .container { position: relative; z-index: 1; }
.support .eyebrow   { color: rgba(255,255,255,0.9); }
.support .section-heading { color: white; }
.support__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3xl); align-items: start; }
.support__body { font-size: var(--text-md); color: rgba(255,255,255,0.9); line-height: var(--leading-relaxed); margin-bottom: var(--space-xl); }
.support__actions { display: flex; gap: var(--space-md); flex-wrap: wrap; }
.support__cards { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); }

.support-card {
  background: white;
  color: var(--color-warm-black);
  border: 3px solid var(--color-warm-black);
  border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-xl);
  box-shadow: 4px 4px 0 var(--color-warm-black);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  transition: all var(--duration-normal) var(--ease-out);
}
.support-card.is-visible:hover { transform: translateY(-4px); box-shadow: 7px 7px 0 var(--color-warm-black); }
.support-card__icon { font-size: 1.75rem; display: flex; }
.support-card__icon svg { width: 28px; height: 28px; transition: transform var(--duration-normal) var(--ease-bounce); }
.support-card:hover .support-card__icon svg { transform: translateY(-3px) rotate(-6deg) scale(1.1); }
.support-card__title { font-family: var(--font-display); font-size: var(--text-base); font-weight: var(--weight-bold); color: var(--color-warm-black); }
.support-card__text  { font-size: var(--text-base); color: var(--color-warm-black); line-height: var(--leading-relaxed); }

@media (max-width: 900px) { .support__grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .support__cards { grid-template-columns: 1fr; }
  .support-card   { padding: var(--space-md) var(--space-lg); }
}


/* ============================================================
   17. 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: 4px solid var(--color-warm-black);
  border-radius: var(--radius-xl);
  padding: var(--space-lg) var(--space-xl);
  box-shadow: 5px 5px 0 var(--color-warm-black);
  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: 8px 8px 0 var(--color-warm-black); }
/* 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 {
  border: 4px solid var(--color-warm-black);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: white;
  box-shadow: 5px 5px 0 var(--color-warm-black);
  transition: all var(--duration-normal) var(--ease-out);
}
.blog-card.is-visible:hover { transform: translateY(-6px); box-shadow: 8px 8px 0 var(--color-warm-black); }
.blog-card__image { aspect-ratio: 16/10; background: var(--color-blue-light); overflow: hidden; }
.blog-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--duration-slow) var(--ease-out); }
.blog-card:hover .blog-card__image img { transform: scale(1.05); }
.blog-card__body { padding: var(--space-lg); }
.blog-card__tag {
  display: inline-block;
  font-size: var(--text-base);
  font-weight: var(--weight-bold);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-md);
  border: 2px solid var(--color-warm-black);
}
.blog-card:nth-child(1) .blog-card__tag { background: var(--color-yellow); }
.blog-card:nth-child(2) .blog-card__tag { background: var(--color-red);  color: white; border-color: var(--color-red-dark); }
.blog-card:nth-child(3) .blog-card__tag { background: var(--color-blue); color: white; border-color: var(--color-blue-dark); }
.blog-card__title   { font-family: var(--font-display); font-size: var(--text-md); font-weight: var(--weight-bold); line-height: var(--leading-tight); margin-bottom: var(--space-sm); }
.blog-card__excerpt { font-size: var(--text-base); color: var(--color-warm-black); line-height: var(--leading-relaxed); margin-bottom: var(--space-md); }
.blog-card__footer  { border-top: 2px solid var(--color-warm-black); padding-top: var(--space-md); display: flex; justify-content: space-between; align-items: center; }
.blog-card__date    { font-size: var(--text-base); color: var(--color-warm-black); font-weight: var(--weight-bold); }
.blog-card__read    { 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); transition: gap var(--duration-normal) var(--ease-bounce), color var(--duration-fast) var(--ease-out); }
.blog-card__read span { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 2px; }
.blog-card__read svg  { width: 16px; height: 16px; transition: transform var(--duration-normal) var(--ease-bounce); }
.blog-card__read:hover { gap: var(--space-sm); color: var(--color-blue-dark); }
.blog-card__read:hover svg { transform: translateX(4px); }

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


/* ============================================================
   19. INSTAGRAM GRID
   ============================================================ */
.insta { background: var(--color-blue-light); position: relative; }
.insta .container { position: relative; z-index: 1; }
.insta .eyebrow { color: var(--color-red); }
.insta__heading { font-family: var(--font-display); font-size: var(--text-4xl); font-weight: var(--weight-black); margin-bottom: var(--space-xl); }
.insta__heading em { font-style: normal; color: var(--color-red); }
.insta__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-md); }
.insta__item {
  aspect-ratio: 1/1;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  border: 4px solid var(--color-warm-black);
  border-radius: var(--radius-lg);
  box-shadow: 4px 4px 0 var(--color-warm-black);
  transition: all var(--duration-normal) var(--ease-out);
}
.insta__item:hover { transform: translateY(-4px) rotate(-1deg); box-shadow: 7px 7px 0 var(--color-warm-black); }
.insta__item img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 600px) {
  .insta__grid { grid-template-columns: repeat(2, 1fr); }
  .insta__heading { font-size: var(--text-3xl); }
}


/* ============================================================
   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: 3px 3px 0 var(--color-warm-black);
  transition: all var(--duration-fast) var(--ease-out);
}
.partner-logo:hover { transform: translateY(-3px) rotate(-1deg); box-shadow: 5px 5px 0 var(--color-warm-black); }

@media (max-width: 900px) { .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-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__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__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); }

.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); }

.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; }

@media (max-width: 900px) {
  .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-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; }
.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: 3px 3px 0 var(--color-warm-black);
}
.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; }

/* ── People Card — 9:16 portrait ─────────────────────────────────────────── */
.people-card {
  aspect-ratio: 9 / 16;
  position: relative;
  overflow: hidden;
  border: 4px solid var(--color-warm-black);
  border-radius: var(--radius-lg);
  box-shadow: 5px 5px 0 var(--color-warm-black);
  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: 8px 8px 0 var(--color-warm-black);
  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;
  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: 3px 3px 0 var(--color-warm-black);
  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: 5px 5px 0 var(--color-warm-black);
}

/* Playing: switch button to blue (pause state) */
.people-card.is-playing .people-card__play-btn {
  background: var(--color-blue);
  color: white;
}
/* Pause button hides 0.8s after cursor leaves — JS adds .pause-btn-hidden */
.people-card.pause-btn-hidden .people-card__play-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: 5px 5px 0 var(--color-warm-black);
}

/* 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; }

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .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: 3px 3px 0 var(--color-warm-black);
}
.banner--blue-light .btn--white-solid:hover {
  box-shadow: 5px 5px 0 var(--color-warm-black);
}

/* ── 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(--space-lg) var(--space-xl);
  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: 4px solid var(--color-warm-black);
  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: 4px solid var(--color-warm-black);
  box-shadow: 5px 5px 0 var(--color-warm-black);
}

/* 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: 8px 8px 0 var(--color-warm-black);
  }
}

/* ── 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: 900px) {
  /* 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); }
  .banner-card  { padding: var(--space-md) var(--space-lg); }
}


/* ============================================================
   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__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: 4px solid var(--color-warm-black);
  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: 900px) {
  .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: 900px) { .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(--space-xl) var(--space-2xl);
  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: 900px) { .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: 8px 8px 0 var(--color-warm-black);
  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: 901px) {
  .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: 900px) {
  .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: 900px) {
  .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__text { padding: var(--space-lg); }
  .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(--space-xl) var(--space-2xl);
  box-shadow: 8px 8px 0 var(--color-warm-black);
  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: 3px 3px 0 var(--color-warm-black);
  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: 3px 3px 0 var(--color-warm-black);
}

/* 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: 5px 5px 0 var(--color-warm-black);
}
.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-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: 3px 3px 0 var(--color-warm-black);
  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: 900px) {
  .story-video__heading { font-size: var(--text-4xl); }
  .story-video__overlay {
    padding: var(--space-3xl) var(--space-3xl);
  }
}
@media (max-width: 900px) {
  .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%;
    padding: var(--space-lg);
  }
  .story-video__heading {
    font-size: var(--text-3xl);
    line-height: 1.08;
  }
}

/* ── 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: 900px) { .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: 900px) {
  .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: 900px) {
  .hero-basic__heading { font-size: var(--text-5xl); }
}

.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: 8px 8px 0 var(--color-warm-black);
  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: 899px) {
  .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: 900px) {
  .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: 900px) {
  .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: 4px solid var(--color-warm-black);
  border-radius: var(--radius-lg);
  box-shadow: 4px 4px 0 var(--color-warm-black);
  padding: var(--space-lg) var(--space-xl);
  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 label ────────────────────────────────────────── */
.regular-events-grid__cadence {
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-red);
  margin-bottom: var(--space-xs);
}

/* ── 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); }
}

/* ── Description ──────────────────────────────────────────── */
.regular-events-grid__desc {
  font-size: var(--text-base);
  font-weight: var(--weight-medium);
  color: var(--color-warm-black);
  line-height: var(--leading-relaxed);
  flex: 1;
  margin-bottom: var(--space-lg);
}

/* ── 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: var(--space-xs);
  font-size: var(--text-base);
  font-weight: var(--weight-regular);
  color: var(--color-warm-black);
}
.regular-events-grid__meta-item svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--color-blue);
}


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

/* Header */
.events-list__header { margin-bottom: var(--space-xl); }
.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: 4px solid var(--color-warm-black);
  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: 5px 5px 0 var(--color-warm-black);
  }
}

/* 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;
}

/* Body */
.events-list__body {
  flex: 1;
  min-width: 0;
  padding: var(--space-lg) var(--space-xl);
  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 */
.events-list__price {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  border: 1.5px solid currentColor;
  white-space: nowrap;
}

.events-list__price--free {
  color: var(--color-blue);
  background: rgba(1, 99, 154, 0.07);
}

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

/* 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: 900px) {
  .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; }

  .events-list__body { padding: var(--space-md); }

  /* 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: 900px) { .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: 8px 8px 0 var(--color-warm-black);
}

.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: -8px 8px 0 var(--color-warm-black);
}

/* ── 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: 900px) { .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: 900px) {
  .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__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: 4px solid var(--color-warm-black);
  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(--space-lg) var(--space-xl);
  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: rgba(255, 255, 255, 0.75);
  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: 900px) {
  .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__card-inner { padding: var(--space-md) var(--space-lg); }
  .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;
  }
}
