/* ============================================================
   BCPS — Human editorial design system
   Warm · spacious · credible · approachable
   ============================================================ */

:root {
  --teal: #008080;
  --teal-dark: #006b6b;
  --teal-light: #17BEBB;
  --teal-soft: rgba(0, 128, 128, 0.08);
  --crimson: #DC143C;
  --crimson-dark: #b81032;
  --navy: #000080;
  --grey: #6E6E6E;
  --grey-warm: #5c5c58;
  --beige: #FAF9F5;
  --beige-deep: #F4F1EB;
  --banana: #F4D35E;
  --beans: #6F432A;
  --ink: #1a1a18;
  --ink-soft: #3d3d3a;
  --bg-white: #FFFFFF;
  --bg-warm: #FAFAF8;
  --bg-soft: #F7F7F5;
  --bg-muted: #F3F4F4;
  --border: #E5E7EB;
  --border-light: #ECECEC;
  --border-warm: #ddd9d0;
  --shadow-soft: 0 4px 24px rgba(26, 26, 24, 0.06);
  --shadow-warm: 0 12px 40px rgba(111, 67, 42, 0.08);
  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 18px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-lift: 0 14px 40px rgba(0, 64, 64, 0.1);
  --shadow-glass: 0 8px 32px rgba(0, 40, 40, 0.12);
  --site-container: 1300px;
  --site-padding-x: clamp(1rem, 2.5vw, 1.25rem);
  --header-height: 64px;
  --sticky-offset: calc(var(--header-height) + 1rem);
}

@media (min-width: 1024px) {
  :root {
    --header-height: 72px;
    --sticky-offset: calc(var(--header-height) + 1rem);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: 'Lato', sans-serif;
  -webkit-font-smoothing: antialiased;
  color: var(--ink-soft);
  background-color: var(--bg-white);
  background-image:
    radial-gradient(ellipse 90% 55% at 50% -15%, rgba(0, 128, 128, 0.05), transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 50%, rgba(245, 240, 230, 0.45), transparent),
    radial-gradient(ellipse 40% 35% at 0% 80%, rgba(23, 190, 187, 0.04), transparent);
  line-height: 1.65;
  overflow-x: clip;
  min-width: 0;
}

main {
  position: relative;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

img,
video {
  height: auto;
}

html { scroll-behavior: smooth; }

/* Warm paper texture on select sections */
.texture-warm {
  background-color: var(--bg-warm);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
}

.texture-beige {
  background-color: var(--beige);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
}

/* Site container — 1300px content band (+ horizontal padding) */
.max-w-7xl {
  max-width: min(calc(var(--site-container) + 2 * var(--site-padding-x)), 100%) !important;
  width: 100%;
  margin-inline: auto;
  padding-left: var(--site-padding-x);
  padding-right: var(--site-padding-x);
}

#main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  width: 100%;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--teal);
  transition: box-shadow 0.4s var(--ease-out);
}

body:not([data-page="home"]) {
  padding-top: var(--header-height);
}

#main-header.header-scrolled {
  box-shadow: var(--shadow-soft);
}

/* Home: transparent header over hero */
body[data-page="home"] #main-header.header-over-hero {
  transition: background 0.35s var(--ease-out), border-color 0.35s, box-shadow 0.35s;
}

body[data-page="home"] #main-header.header-over-hero.is-at-top {
  background: transparent;
  border-bottom-color: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

body[data-page="home"] #main-header.header-over-hero.is-at-top .utility-bar {
  background: rgba(0, 32, 32, 0.5);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.8);
}

body[data-page="home"] #main-header.header-over-hero.is-at-top .utility-bar a {
  color: rgba(255, 255, 255, 0.75);
}

body[data-page="home"] #main-header.header-over-hero.is-at-top .utility-bar a:hover {
  color: #fff;
}

body[data-page="home"] #main-header.header-over-hero.is-at-top .site-logo--header {
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.25));
}

body[data-page="home"] #main-header.header-over-hero.is-at-top .nav-link {
  color: rgba(255, 255, 255, 0.9);
}

body[data-page="home"] #main-header.header-over-hero.is-at-top .nav-link:hover,
body[data-page="home"] #main-header.header-over-hero.is-at-top .nav-link.active {
  color: var(--teal-light);
}

body[data-page="home"] #main-header.header-over-hero.is-at-top a.group .font-bold {
  color: #fff;
}

body[data-page="home"] #main-header.header-over-hero.is-at-top a.group .font-light,
body[data-page="home"] #main-header.header-over-hero.is-at-top a.group .text-gray-500 {
  color: rgba(255, 255, 255, 0.65);
}

body[data-page="home"] #main-header.header-over-hero.is-at-top a.group:hover .font-bold {
  color: var(--teal-light);
}

body[data-page="home"] #main-header.header-over-hero.is-at-top .header-icon-btn {
  color: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.25);
}

body[data-page="home"] #main-header.header-over-hero.is-at-top .header-icon-btn:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
}

body[data-page="home"] #main-header.header-over-hero.is-at-top .btn-header-login {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

body[data-page="home"] #main-header.header-over-hero.is-at-top .btn-header-login:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

body[data-page="home"] #main-header.header-over-hero.is-at-top .btn-accent {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.header-icon-btn {
  padding: 0.625rem;
  color: var(--grey);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: transparent;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.header-icon-btn:hover {
  color: var(--teal);
  border-color: var(--teal);
  background: var(--teal-soft);
}

.btn-header-login {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--teal);
  border: 1.5px solid var(--teal);
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-header-login:hover {
  background: var(--teal-soft);
}

/* Hero mobile event strip */
.hero-event-mobile {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-top: 1.5rem;
  padding: 0.875rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  text-decoration: none;
  transition: background 0.3s, border-color 0.3s, transform 0.3s var(--ease-out), box-shadow 0.3s;
}

.hero-event-mobile:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.32);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.hero-event-mobile__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal-light);
  flex-shrink: 0;
  animation: heroLivePulse 2.2s ease-in-out infinite;
}

.hero-event-mobile__text {
  flex: 1;
  font-size: 0.75rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
}

.hero-event-mobile__text strong {
  color: var(--banana);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.625rem;
  display: block;
  margin-bottom: 0.125rem;
}

.hero-event-mobile__arrow {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  flex-shrink: 0;
}

.utility-bar {
  background: var(--beige);
  border-bottom: 1px solid var(--border-warm);
  font-size: 0.8125rem;
  color: var(--beans);
}

.utility-bar a {
  color: var(--grey-warm);
  transition: color 0.2s;
}

.utility-bar a:hover { color: var(--teal); }

.site-logo {
  display: block;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.site-logo--header {
  height: 48px;
  max-width: 130px;
}

@media (min-width: 640px) {
  .site-logo--header {
    height: 52px;
    max-width: 140px;
  }
}

@media (min-width: 1024px) {
  .site-logo--header {
    height: 56px;
    max-width: 150px;
  }
}

.site-logo--footer {
  height: 64px;
  max-width: 160px;
}

@media (min-width: 1024px) {
  .site-logo--footer {
    height: 72px;
    max-width: 180px;
  }
}

.nav-link {
  position: relative;
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--ink-soft);
  padding: 0.5rem 0.5rem;
  white-space: nowrap;
  transition: color 0.25s;
}

@media (min-width: 1280px) {
  .nav-link {
    font-size: 0.875rem;
    padding: 0.5rem 0.65rem;
  }
}

@media (min-width: 1400px) {
  .nav-link {
    font-size: 0.9375rem;
    padding: 0.5rem 0.75rem;
  }
}

@media (min-width: 1536px) {
  .nav-link {
    padding: 0.5rem 0.875rem;
  }
}

.nav-link:hover,
.nav-link.active { color: var(--teal); }

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0.65rem;
  right: 0.65rem;
  height: 2px;
  background: var(--teal);
  border-radius: 1px;
  opacity: 0.7;
}

.header-nav-links {
  flex: 1;
  justify-content: center;
  min-width: 0;
  flex-wrap: nowrap;
}

#main-header nav > .flex {
  gap: 0.75rem;
}

@media (min-width: 1280px) {
  #main-header nav > .flex {
    gap: 1rem;
  }
}

.nav-dropdown {
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.28s var(--ease-out);
  box-shadow: var(--shadow-warm);
  border: 1px solid var(--border-light);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  border-top: 2px solid var(--teal);
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: block;
  padding: 0.7rem 1.25rem;
  font-size: 0.875rem;
  color: var(--grey);
  border-left: 2px solid transparent;
  transition: all 0.2s;
}

.dropdown-link:hover {
  color: var(--teal);
  background: var(--bg-warm);
  border-left-color: var(--crimson);
}

.dropdown-heading {
  display: block;
  padding: 0.5rem 1.25rem 0.2rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey);
}

.dropdown-link--divider {
  margin-top: 0.35rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-warm);
}

.mobile-menu {
  transform: translateX(100%);
  transition: transform 0.35s var(--ease-out);
}

.mobile-menu.open { transform: translateX(0); }

.mobile-overlay {
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.mobile-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* ---- Buttons — soft, approachable ---- */
.btn-primary {
  background: var(--teal);
  color: white;
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
  border-radius: var(--radius-sm);
  transition: background 0.25s, box-shadow 0.25s, transform 0.25s var(--ease-out);
  box-shadow: 0 2px 8px rgba(0, 128, 128, 0.2);
}

.btn-primary:hover {
  background: var(--teal-dark);
  box-shadow: 0 6px 20px rgba(0, 128, 128, 0.28);
  transform: translateY(-2px);
}

.btn-accent {
  background: var(--crimson);
  color: white;
  font-weight: 700;
  font-size: 0.9375rem;
  border-radius: var(--radius-sm);
  transition: background 0.25s, box-shadow 0.25s, transform 0.25s var(--ease-out);
  box-shadow: 0 2px 8px rgba(220, 20, 60, 0.2);
}

.btn-accent:hover {
  background: var(--crimson-dark);
  box-shadow: 0 6px 20px rgba(220, 20, 60, 0.28);
  transform: translateY(-2px);
}

.btn-outline {
  border: 1.5px solid var(--teal);
  color: var(--teal);
  font-weight: 700;
  font-size: 0.9375rem;
  border-radius: var(--radius-sm);
  transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.25s var(--ease-out), box-shadow 0.25s;
  background: transparent;
}

.btn-outline:hover {
  background: var(--teal-soft);
  border-color: var(--teal-dark);
  color: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 128, 128, 0.12);
}

.btn-ghost {
  color: var(--teal);
  font-weight: 700;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.2s, gap 0.2s;
}

.btn-ghost::after {
  content: '→';
  transition: transform 0.2s;
}

.btn-ghost:hover {
  color: var(--crimson);
}

.btn-ghost:hover::after {
  transform: translateX(3px);
}

/* Event featured card */
.event-featured {
  display: grid;
  grid-template-columns: 1fr;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: box-shadow 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}

.event-featured:hover {
  box-shadow: var(--shadow-lift);
  transform: translateY(-3px);
}

.event-featured__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 200px;
  transition: transform 0.6s var(--ease-out);
}

.event-featured:hover .event-featured__image img {
  transform: scale(1.04);
}

@media (min-width: 640px) {
  .event-featured { grid-template-columns: 240px 1fr; }
}

@media (min-width: 1024px) {
  .event-featured { grid-template-columns: 280px 1fr; }
}

.event-featured__image {
  min-height: 200px;
  overflow: hidden;
}

.event-featured__body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 1024px) {
  .event-featured__body { padding: 2rem 2.25rem; }
}

.event-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Events calendar sidebar */
.calendar-sidebar {
  position: relative;
  background: rgba(250, 250, 248, 0.95) !important;
  border-radius: var(--radius-lg) !important;
  box-shadow: var(--shadow-soft);
  transition: box-shadow 0.35s var(--ease-out), transform 0.35s var(--ease-out);
  overflow: hidden;
}

.calendar-sidebar:hover {
  box-shadow: var(--shadow-lift);
  transform: translateY(-3px);
}

.hero-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-soft);
  transition: box-shadow 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}

.hero-image-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, transparent 55%, rgba(0, 64, 64, 0.12) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-image-wrap img {
  transition: transform 0.65s var(--ease-out);
}

.hero-image-wrap:hover {
  box-shadow: var(--shadow-lift);
  transform: translateY(-3px);
}

.hero-image-wrap:hover img {
  transform: scale(1.04);
}

.section-pad {
  padding: 4.5rem 0;
}

@media (min-width: 1024px) {
  .section-pad { padding: 5.5rem 0; }
}

.section-divider {
  height: 1px;
  background: var(--border-light);
  margin: 0;
  border: none;
}

/* ---- Typography — sections & content ---- */
.section-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  display: block;
  margin-bottom: 0.625rem;
}

.section-label::before {
  display: none;
}

.section-label.centered {
  text-align: center;
}

.section-title {
  font-size: clamp(1.625rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.section-title em,
.text-accent-italic {
  font-style: italic;
  font-weight: 400;
  color: var(--teal);
}

.section-intro {
  color: var(--grey-warm);
  line-height: 1.8;
  font-size: 1.0625rem;
  max-width: 38rem;
}

.page-section-anchor {
  scroll-margin-top: var(--sticky-offset);
}

.lead-text {
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--grey-warm);
}

.pull-quote {
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 300;
  line-height: 1.6;
  color: var(--beans);
  border-left: 3px solid var(--crimson);
  padding-left: 1.25rem;
  margin: 1.5rem 0;
}

.image-caption {
  font-size: 0.75rem;
  color: var(--grey);
  font-style: italic;
  margin-top: 0.75rem;
  line-height: 1.5;
}

/* ---- Hero (home — per sitemap doc) ---- */
.hero-doc {
  position: relative;
  min-height: clamp(520px, 88vh, 760px);
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  margin-top: calc(-1 * var(--header-height));
  padding-top: var(--header-height);
}

.hero-doc__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-doc__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.hero-doc__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    115deg,
    rgba(0, 36, 36, 0.93) 0%,
    rgba(0, 64, 64, 0.78) 48%,
    rgba(0, 80, 80, 0.5) 100%
  );
}

.hero-doc__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: min(calc(var(--site-container) + 2 * var(--site-padding-x)), 100%);
  margin: 0 auto;
  padding: 4.5rem var(--site-padding-x) 5rem;
}

@media (min-width: 640px) {
  .hero-doc__inner { padding-top: 5.5rem; padding-bottom: 6rem; }
}

@media (min-width: 1024px) {
  .hero-doc__inner { padding-top: 6.5rem; padding-bottom: 7rem; }
}

.hero-doc__brand {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.hero-doc__logo-mark {
  width: 72px;
  height: 72px;
  background: var(--teal);
  color: #fff;
  font-weight: 700;
  font-size: 1.125rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  position: relative;
}

.hero-doc__logo-mark::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--crimson);
}

@media (min-width: 640px) {
  .hero-doc__logo-mark {
    width: 88px;
    height: 88px;
    font-size: 1.35rem;
  }
}

.hero-doc__brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.hero-doc__brand-name {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
}

.hero-doc__brand-sub {
  font-size: clamp(0.875rem, 1.8vw, 1.05rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.3;
}

.hero-doc__tagline {
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
  max-width: 28rem;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.hero-doc__intro {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
  max-width: 32rem;
  margin-bottom: 2rem;
}

.hero-doc__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  max-width: 42rem;
}

.hero-doc__btn {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  backdrop-filter: blur(4px);
}

.hero-doc__btn:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.hero-doc__social {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.75rem 0.4rem 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-sm);
}

.hero-doc__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: rgba(255, 255, 255, 0.85);
  border-radius: 2px;
  transition: color 0.2s, background 0.2s;
}

.hero-doc__social-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.hero-doc__social-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin-left: 0.25rem;
  white-space: nowrap;
}

/* ---- Hero banner (legacy — home only) ---- */
.hero-banner {
  position: relative;
  min-height: clamp(680px, 92vh, 900px);
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  margin-top: calc(-1 * var(--header-height));
  padding-top: var(--header-height);
}

.hero-banner__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-banner__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(3%);
  transition: opacity 2s ease, visibility 2s ease, transform 2.4s ease;
  will-change: opacity, transform;
}

.hero-banner__slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  z-index: 1;
}

.hero-banner__slide.is-exiting {
  opacity: 0;
  transform: translateX(-3%);
  z-index: 0;
}

.hero-banner__slide img {
  width: 115%;
  height: 115%;
  max-width: none;
  margin: -7.5%;
  object-fit: cover;
  object-position: center 32%;
  transform: scale(1.05);
  will-change: transform;
}

.hero-banner__slide.is-active img {
  animation: heroKenBurns1 16s ease-out forwards;
}

.hero-banner__slide.is-active[data-ken-burns="2"] img {
  animation-name: heroKenBurns2;
}

.hero-banner__slide.is-active[data-ken-burns="3"] img {
  animation-name: heroKenBurns3;
}

@keyframes heroKenBurns1 {
  from { transform: scale(1.05) translate(0, 0); }
  to { transform: scale(1.18) translate(-2.5%, -1.5%); }
}

@keyframes heroKenBurns2 {
  from { transform: scale(1.08) translate(2%, 0.5%); }
  to { transform: scale(1.2) translate(-2%, -2%); }
}

@keyframes heroKenBurns3 {
  from { transform: scale(1.06) translate(-1.5%, 1%); }
  to { transform: scale(1.16) translate(2%, -1%); }
}

.hero-banner__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    105deg,
    rgba(0, 40, 40, 0.94) 0%,
    rgba(0, 64, 64, 0.82) 42%,
    rgba(0, 80, 80, 0.55) 100%
  );
}

.hero-banner__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: min(calc(var(--site-container) + 2 * var(--site-padding-x)), 100%);
  margin: 0 auto;
  padding: 5rem var(--site-padding-x) 6rem;
}

@media (min-width: 640px) {
  .hero-banner__inner { padding-top: 6rem; padding-bottom: 7rem; }
}

@media (min-width: 1024px) {
  .hero-banner__inner { padding-top: 7rem; padding-bottom: 8rem; }
}

.hero-banner__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: end;
}

@media (min-width: 1024px) {
  .hero-banner__grid {
    grid-template-columns: 1fr 380px;
    gap: 4rem;
    align-items: center;
  }
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid rgba(23, 190, 187, 0.45);
}

.hero-title {
  font-size: clamp(2.125rem, 4.8vw, 3.125rem);
  font-weight: 700;
  line-height: 1.12;
  color: #fff;
  letter-spacing: -0.025em;
  margin-bottom: 1.25rem;
  max-width: 16rem;
}

@media (min-width: 640px) {
  .hero-title { max-width: 22rem; }
}

@media (min-width: 1024px) {
  .hero-title { max-width: 26rem; }
}

.hero-lead {
  font-size: clamp(1rem, 1.8vw, 1.125rem);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.88);
  max-width: 36rem;
  margin-bottom: 2rem;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-highlight {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  backdrop-filter: blur(8px);
}

/* Hero — next event card */
@keyframes heroEventEnter {
  from {
    opacity: 0;
    transform: translateX(32px) translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateX(0) translateY(0);
  }
}

@keyframes heroEventItemUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroLivePulse {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(23, 190, 187, 0.55);
  }
  50% {
    opacity: 0.75;
    box-shadow: 0 0 0 5px rgba(23, 190, 187, 0);
  }
}

.hero-event-card {
  position: relative;
  display: none;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
  animation: heroEventEnter 0.85s var(--ease-out) 0.4s both;
  transition: transform 0.4s var(--ease-out), background 0.4s, border-color 0.4s, box-shadow 0.4s;
}

.hero-event-card:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.32);
  transform: translateY(-4px);
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.28);
}

@media (min-width: 1024px) {
  .hero-event-card {
    display: flex;
  }
}

.hero-event-card__shine {
  position: absolute;
  top: 0;
  left: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
  transform: translateX(-120%) skewX(-12deg);
  pointer-events: none;
}

.hero-event-card:hover .hero-event-card__shine {
  animation: heroEventShine 0.9s var(--ease-out);
}

@keyframes heroEventShine {
  to { transform: translateX(280%) skewX(-12deg); }
}

@keyframes cardShine {
  from { transform: translateX(-130%) skewX(-14deg); }
  to { transform: translateX(280%) skewX(-14deg); }
}

.hero-event-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.125rem;
  animation: heroEventItemUp 0.65s var(--ease-out) 0.55s both;
}

.hero-event-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--banana);
}

.hero-event-card__live {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal-light);
  flex-shrink: 0;
  animation: heroLivePulse 2.2s ease-in-out infinite;
}

.hero-event-card__date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  padding: 0.375rem 0.625rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  text-align: center;
  line-height: 1.1;
}

.hero-event-card__month {
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.hero-event-card__day {
  font-size: 1.375rem;
  font-weight: 700;
  color: #fff;
}

.hero-event-card__title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  margin: 0 0 1rem;
  animation: heroEventItemUp 0.65s var(--ease-out) 0.7s both;
}

.hero-event-card__details {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  animation: heroEventItemUp 0.65s var(--ease-out) 0.85s both;
}

.hero-event-card__details li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.4;
}

.hero-event-card__icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: var(--teal-light);
  opacity: 0.9;
}

.hero-event-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: auto;
  transition: gap 0.25s, color 0.2s;
  animation: heroEventItemUp 0.65s var(--ease-out) 1s both;
}

.hero-event-card__link:hover {
  color: var(--teal-light);
  gap: 0.75rem;
}

.hero-event-card__arrow {
  width: 18px;
  height: 18px;
  transition: transform 0.25s var(--ease-out);
}

.hero-event-card__link:hover .hero-event-card__arrow {
  transform: translateX(3px);
}

@media (prefers-reduced-motion: reduce) {
  .hero-event-card,
  .hero-event-card__top,
  .hero-event-card__title,
  .hero-event-card__details,
  .hero-event-card__link,
  .hero-event-card__live,
  .hero-event-card__shine {
    animation: none !important;
  }

  .hero-banner__slide {
    transform: none !important;
    transition: opacity 0.5s ease, visibility 0.5s ease;
  }

  .hero-banner__slide.is-exiting {
    transform: none !important;
  }

  .hero-banner__slide img,
  .hero-banner__slide.is-active img {
    width: 100%;
    height: 100%;
    margin: 0;
    animation: none !important;
    transform: none !important;
  }
}

.hero-highlight__label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--banana);
  margin-bottom: 0.75rem;
}

.hero-highlight__title {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

.hero-highlight__meta {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--teal-dark);
  background: #fff;
  border-radius: var(--radius-sm);
  transition: background 0.2s, transform 0.2s;
}

.btn-hero-primary:hover {
  background: var(--bg-warm);
  transform: translateY(-1px);
}

.btn-hero-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #fff;
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s, background 0.2s;
}

.btn-hero-outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.btn-hero-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  transition: gap 0.2s;
}

.btn-hero-link::after { content: '→'; }

.btn-hero-link:hover { gap: 0.55rem; }

/* ---- Page content sections (all pages) ---- */
.page-section {
  padding: 4.5rem 0;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.page-section > .max-w-7xl {
  position: relative;
  z-index: 1;
}

.page-section:not(.page-section--muted):not(.page-section--beige) {
  background: var(--bg-white);
}

/* Section patterns & animations → assets/css/section-patterns.css */

@media (min-width: 1024px) {
  .page-section { padding: 5.5rem 0; }
}

.page-section--muted {
  background: linear-gradient(180deg, var(--bg-warm) 0%, #f5f6f5 100%);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.page-section--beige {
  background: var(--beige);
  border-top: 1px solid var(--border-warm);
  border-bottom: 1px solid var(--border-warm);
}

/* Muted / beige — no pseudo overlays */
.page-section--muted::before,
.page-section--muted::after,
.page-section--beige::before,
.page-section--beige::after {
  display: none;
}

.section-header {
  margin-bottom: 2.5rem;
}

@media (min-width: 1024px) {
  .section-header { margin-bottom: 3rem; }
}

.section-header--row {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .section-header--row {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
  }
}

.section-header--center {
  text-align: center;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

.section-eyebrow {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.625rem;
}

.section-heading {
  font-size: clamp(1.625rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.section-description {
  margin-top: 0.75rem;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--grey);
  max-width: 36rem;
}

.section-header--center .section-description {
  margin-left: auto;
  margin-right: auto;
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--teal);
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 0.2s, gap 0.2s;
}

.section-link::after {
  content: '→';
  transition: transform 0.2s;
}

.section-link:hover {
  color: var(--crimson);
}

.section-link:hover::after {
  transform: translateX(3px);
}

/* Media block (about, research) */
.media-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .media-block {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.media-block__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-soft);
  transition: box-shadow 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}

.media-block__image:hover {
  box-shadow: var(--shadow-lift);
  transform: translateY(-3px);
}

.media-block__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.65s var(--ease-out);
}

.media-block__image:hover img {
  transform: scale(1.04);
}

/* Icon cards grid */
.icon-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .icon-card-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .icon-card-grid { grid-template-columns: repeat(4, 1fr); }
}

.icon-card {
  position: relative;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  overflow: hidden;
  transition: border-color 0.35s, box-shadow 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}

.icon-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 42%;
  height: 100%;
  background: linear-gradient(105deg, transparent 15%, rgba(255, 255, 255, 0.55) 50%, transparent 85%);
  transform: translateX(-130%) skewX(-14deg);
  pointer-events: none;
  z-index: 1;
  opacity: 0;
}

.icon-card:hover {
  border-color: rgba(0, 128, 128, 0.35);
  box-shadow: var(--shadow-lift);
  transform: translateY(-4px);
}

.icon-card:hover::after {
  opacity: 1;
  animation: cardShine 0.9s var(--ease-out);
}

.icon-card__icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--teal-soft);
  color: var(--teal);
  border-radius: var(--radius-md);
  margin-bottom: 1.125rem;
  transition: background 0.3s, transform 0.3s var(--ease-out);
}

.icon-card:hover .icon-card__icon {
  background: rgba(0, 128, 128, 0.14);
  transform: scale(1.05);
}

.icon-card__icon svg {
  width: 20px;
  height: 20px;
}

.icon-card__title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.icon-card__text {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--grey);
}

/* Membership row */
.membership-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .membership-grid { grid-template-columns: repeat(3, 1fr); }
}

.membership-card {
  position: relative;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border-light);
  border-top: 3px solid var(--teal);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  transition: box-shadow 0.35s var(--ease-out), transform 0.35s var(--ease-out), border-color 0.3s;
}

.membership-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 42%;
  height: 100%;
  background: linear-gradient(105deg, transparent 15%, rgba(255, 255, 255, 0.5) 50%, transparent 85%);
  transform: translateX(-130%) skewX(-14deg);
  pointer-events: none;
  z-index: 1;
  opacity: 0;
}

.membership-card:hover {
  box-shadow: var(--shadow-lift);
  transform: translateY(-4px);
  border-color: rgba(0, 128, 128, 0.2);
}

.membership-card:hover::after {
  opacity: 1;
  animation: cardShine 0.9s var(--ease-out);
}

.membership-card__title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.75rem;
}

.membership-card__text {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--grey);
  flex: 1;
  margin-bottom: 1.5rem;
}

/* News grid — equal cards */
.news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .news-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .news-grid { grid-template-columns: repeat(3, 1fr); }
}

.news-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: box-shadow 0.35s var(--ease-out), transform 0.35s var(--ease-out), border-color 0.3s;
}

.news-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 42%;
  height: 100%;
  background: linear-gradient(105deg, transparent 15%, rgba(255, 255, 255, 0.45) 50%, transparent 85%);
  transform: translateX(-130%) skewX(-14deg);
  pointer-events: none;
  z-index: 2;
  opacity: 0;
}

.news-card:hover {
  box-shadow: var(--shadow-lift);
  transform: translateY(-4px);
  border-color: rgba(0, 128, 128, 0.2);
}

.news-card:hover::after {
  opacity: 1;
  animation: cardShine 0.9s var(--ease-out);
}

.news-card__image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.news-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease-out);
}

.news-card:hover .news-card__image img {
  transform: scale(1.06);
}

.news-card__body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-card__meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.875rem;
}

.news-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: 0.625rem;
}

.news-card__excerpt {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--grey);
  flex: 1;
  margin-bottom: 1rem;
}

.news-card__link {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--teal);
}

.news-card__link:hover { color: var(--crimson); }

/* Feature band (strategic services) */
.feature-band {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  background: #fff;
  box-shadow: var(--shadow-soft);
  transition: box-shadow 0.4s var(--ease-out), transform 0.4s var(--ease-out), border-color 0.3s;
}

.feature-band:hover {
  box-shadow: var(--shadow-lift);
  transform: translateY(-4px);
  border-color: rgba(0, 128, 128, 0.2);
}

.feature-band__visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}

.feature-band:hover .feature-band__visual img {
  transform: scale(1.04);
}

.feature-band__visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(0,40,40,0.18) 100%);
  z-index: 1;
  pointer-events: none;
}

@media (min-width: 1024px) {
  .feature-band { grid-template-columns: 1.05fr 1fr; }
}

.feature-band__visual {
  position: relative;
  min-height: 280px;
  overflow: hidden;
}

.feature-band__content {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 1024px) {
  .feature-band__content { padding: 3rem; }
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
}

.feature-list li {
  position: relative;
  padding-left: 1.125rem;
  font-size: 0.9375rem;
  color: var(--grey-warm);
  line-height: 1.65;
  margin-bottom: 0.5rem;
}

.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal);
}

.feature-list--crimson li::before {
  background: var(--crimson);
}

/* Newsletter block */
.newsletter-block {
  position: relative;
  background: var(--beige);
  border-top: 1px solid var(--border-warm);
  padding: 4rem 0;
  overflow: hidden;
}

/* Newsletter — plain section, no bg shapes */
.newsletter-block::before,
.newsletter-block::after {
  display: none;
}

.newsletter-block > .max-w-7xl {
  position: relative;
  z-index: 1;
}

.newsletter-block__inner {
  max-width: 36rem;
  margin: 0 auto;
  text-align: center;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

@media (min-width: 480px) {
  .newsletter-form { flex-direction: row; }
}

.newsletter-form input {
  flex: 1;
  padding: 0.875rem 1rem;
  font-size: 0.9375rem;
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-sm);
  background: #fff;
}

/* ---- Cards ---- */
.card-editorial {
  position: relative;
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  transition: border-color 0.35s, box-shadow 0.35s var(--ease-out), transform 0.35s var(--ease-out);
  overflow: hidden;
}

.card-editorial::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 42%;
  height: 100%;
  background: linear-gradient(105deg, transparent 15%, rgba(255, 255, 255, 0.4) 50%, transparent 85%);
  transform: translateX(-130%) skewX(-14deg);
  pointer-events: none;
  z-index: 2;
  opacity: 0;
}

.card-editorial:hover {
  border-color: rgba(0, 128, 128, 0.22);
  box-shadow: var(--shadow-lift);
  transform: translateY(-4px);
}

.card-editorial:hover::after {
  opacity: 1;
  animation: cardShine 0.9s var(--ease-out);
}

.card-editorial .card-img {
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.card-editorial .card-img img {
  transition: transform 0.65s var(--ease-out);
}

.card-editorial:hover .card-img img {
  transform: scale(1.05);
}

.card-featured {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: white;
  border: 1px solid var(--border-light);
  transition: box-shadow 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}

.card-featured:hover {
  box-shadow: var(--shadow-lift);
  transform: translateY(-3px);
}

.card-soft {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: background 0.3s, box-shadow 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}

.card-soft:hover {
  background: #fff;
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
}

.tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s;
}

.tag:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.tag-teal { background: var(--teal-soft); color: var(--teal); }
.tag-crimson { background: rgba(220,20,60,0.08); color: var(--crimson); }
.tag-navy { background: rgba(0,0,128,0.06); color: var(--navy); }
.tag-beige { background: var(--beige-deep); color: var(--beans); }

/* Event date */
.event-date {
  background: var(--teal);
  color: white;
  text-align: center;
  padding: 0.875rem 0.75rem;
  min-width: 76px;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

.event-date .month {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.9;
}

.event-date .day {
  font-size: 1.625rem;
  font-weight: 700;
  line-height: 1.1;
}

.event-list-item {
  position: relative;
  display: flex;
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}

.event-list-item:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow-lift);
  transform: translateY(-3px);
}

/* Service list — editorial, not grid boxes */
.service-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.service-list-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--border-light);
  transition: padding-left 0.25s;
}

@media (min-width: 640px) {
  .service-list-item {
    grid-template-columns: 140px 1fr;
    gap: 2rem;
    align-items: start;
  }
}

.service-list-item:first-child { padding-top: 0; }
.service-list-item:last-child { border-bottom: none; }

.service-list-item:hover {
  padding-left: 0.5rem;
}

.service-list-item .service-name {
  font-weight: 700;
  color: var(--ink);
  font-size: 1rem;
}

.service-list-item .service-desc {
  font-size: 0.9375rem;
  color: var(--grey-warm);
  line-height: 1.7;
}

/* Membership cards */
.join-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 1px solid var(--border-warm);
  position: relative;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}

.join-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 1.5rem;
  right: 1.5rem;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--teal-light));
  border-radius: 0 0 2px 2px;
}

.join-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-warm);
}

.join-card .join-for {
  font-size: 0.8125rem;
  font-style: italic;
  color: var(--grey);
  margin-bottom: 0.5rem;
}

/* CTA blocks (inner pages) */
.cta-block {
  position: relative;
  padding: 2rem;
  background: white;
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-md);
  transition: box-shadow 0.3s;
}

.cta-block:hover {
  box-shadow: var(--shadow-soft);
}

.cta-block-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--beige);
  border-radius: var(--radius-sm);
  color: var(--teal);
  margin-bottom: 1.25rem;
}

/* Stats — research impact panel */
.stats-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--teal);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  max-width: 22rem;
  transition: box-shadow 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}

.stats-panel:hover {
  box-shadow: var(--shadow-lift);
  transform: translateY(-3px);
}

@media (min-width: 1024px) {
  .stats-panel {
    max-width: none;
    margin-left: auto;
  }
}

@media (min-width: 400px) {
  .stats-panel {
    flex-direction: row;
    align-items: stretch;
  }
}

.stats-panel__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  min-width: 0;
}

.stats-panel__divider {
  flex-shrink: 0;
  height: 1px;
  background: var(--border-light);
}

@media (min-width: 400px) {
  .stats-panel__divider {
    width: 1px;
    height: auto;
    align-self: stretch;
  }
}

.stats-panel__value {
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.stats-panel__num {
  font-size: clamp(2.5rem, 5vw, 3.25rem);
  font-weight: 700;
  color: var(--teal);
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.stats-panel__suffix {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--teal-light);
  line-height: 1;
  margin-left: 0.125rem;
  margin-top: 0.35rem;
}

.stats-panel__label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey);
  margin: 0;
  text-align: center;
  line-height: 1.4;
}

.stats-panel--compact {
  max-width: none;
  margin-left: 0;
}

.stats-panel--compact .stats-panel__item {
  padding: 1.25rem 1rem;
}

.stats-panel--compact .stats-panel__num {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
}

/* Legacy stat blocks */
.stat-block {
  background: white;
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--border-light);
  text-align: center;
  transition: border-color 0.25s;
}

.stat-block:hover {
  border-color: var(--teal);
}

.stat-number {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--teal);
  line-height: 1;
  letter-spacing: -0.03em;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--grey);
  margin-top: 0.5rem;
  line-height: 1.4;
}

/* Mission band */
.mission-band {
  background: var(--beige);
  border-top: 1px solid var(--border-warm);
  border-bottom: 1px solid var(--border-warm);
}

/* Service panel */
.service-panel {
  position: relative;
  background: rgba(255, 255, 255, 0.95);
  border-left: 3px solid var(--teal);
  padding: 1.5rem 1.75rem;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  overflow: hidden;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}

.service-panel:hover {
  border-left-color: var(--crimson);
  background: var(--bg-warm);
  box-shadow: var(--shadow-soft);
  transform: translateX(4px);
}

.member-card img {
  border-radius: var(--radius-md);
  filter: grayscale(20%);
  transition: filter 0.4s, transform 0.5s var(--ease-out);
}

.member-card {
  transition: box-shadow 0.35s var(--ease-out), transform 0.35s var(--ease-out), border-color 0.3s;
}

.member-card:hover {
  box-shadow: var(--shadow-lift);
  transform: translateY(-3px);
}

.member-card:hover img {
  filter: grayscale(0%);
  transform: scale(1.03);
}

.member-card .aspect-square,
.member-card [class*="overflow-hidden"] {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

/* Page hero */
.page-hero {
  background:
    radial-gradient(ellipse 220px 220px at -30px 105%, rgba(245, 240, 230, 0.85), transparent),
    radial-gradient(ellipse 180px 180px at 95% 20%, rgba(0, 128, 128, 0.05), transparent),
    linear-gradient(165deg, var(--bg-warm) 0%, #f3f5f4 50%, var(--bg-warm) 100%);
  border-bottom: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
}

.page-hero > .max-w-7xl {
  position: relative;
  z-index: 1;
}

.page-hero::before,
.page-hero::after {
  display: none;
}

.breadcrumb a {
  color: var(--grey);
  font-size: 0.8125rem;
  transition: color 0.15s;
}

.breadcrumb a:hover { color: var(--teal); }

/* Split feature */
.split-feature {
  display: grid;
  grid-template-columns: 1fr;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
}

@media (min-width: 1024px) {
  .split-feature { grid-template-columns: 1fr 1fr; }
}

.split-feature-image {
  position: relative;
  min-height: 280px;
}

.split-feature-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-feature-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,26,24,0.35) 0%, transparent 60%);
}

.split-feature-body {
  padding: 2.5rem;
  background: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 1024px) {
  .split-feature-body { padding: 3rem; }
}

/* Newsletter band — use .newsletter-block (see above) */

/* Partners & Supporters — condensed strip */
.partners-condensed {
  position: relative;
  padding: 1.75rem 0;
  background: linear-gradient(180deg, var(--bg-warm) 0%, #f6f7f6 100%);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
}

.partners-condensed::before,
.partners-condensed::after {
  display: none;
}

.partners-condensed .max-w-7xl {
  position: relative;
  z-index: 1;
}

.partners-condensed__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

@media (min-width: 768px) {
  .partners-condensed__inner {
    flex-direction: row;
    align-items: center;
    gap: 2rem;
  }
}

.partners-condensed__label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  white-space: nowrap;
  margin: 0;
  flex-shrink: 0;
}

.partners-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
}

@media (min-width: 768px) {
  .partners-row {
    flex: 1;
    justify-content: flex-end;
  }
}

.partner-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 0.875rem;
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--grey);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  text-decoration: none;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: border-color 0.25s, color 0.25s, transform 0.25s var(--ease-out), box-shadow 0.25s;
}

.partner-chip:hover {
  border-color: var(--teal);
  color: var(--teal);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 128, 128, 0.1);
}

/* Legacy partner strip (resources/other pages) */
.partners-strip {
  background: var(--bg-soft);
  border-top: 1px solid var(--border-light);
}

.partner-logo {
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 0.6875rem;
  color: #a8a8a4;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: border-color 0.25s, color 0.25s, background 0.25s, transform 0.25s var(--ease-out), box-shadow 0.25s;
  padding: 0 0.5rem;
  text-align: center;
  line-height: 1.2;
}

.partner-logo:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: var(--teal-soft);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 128, 128, 0.1);
}

/* Footer */
.site-footer {
  background: var(--bg-white);
  border-top: 1px solid var(--border-warm);
}

.footer-main {
  position: relative;
  background: linear-gradient(180deg, var(--bg-warm) 0%, #f5f6f5 100%);
}

.footer-main::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--teal);
  z-index: 1;
}

.footer-main > .max-w-7xl {
  padding: clamp(3rem, 6vw, 4.5rem) 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem 2rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.35fr 0.85fr 0.85fr 1fr;
    gap: 2.5rem 3rem;
  }

  .footer-brand {
    grid-column: auto;
  }
}

.footer-brand-link {
  display: inline-flex;
  align-items: center;
  margin-bottom: 1.25rem;
  text-decoration: none;
}

.footer-tagline {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--grey);
  margin-bottom: 1.25rem;
  max-width: 24rem;
  font-weight: 400;
}

.footer-social-row {
  display: flex;
  gap: 0.5rem;
}

.footer-social {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  color: var(--grey);
  border-radius: var(--radius-sm);
  transition: color 0.25s, border-color 0.25s, background 0.25s, transform 0.25s var(--ease-out);
}

.footer-social:hover {
  background: var(--teal-soft);
  border-color: rgba(0, 128, 128, 0.25);
  color: var(--teal);
  transform: translateY(-2px);
}

.footer-cta {
  border-radius: var(--radius-sm);
}

.footer-col-title {
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.625rem;
}

.footer-links a {
  font-size: 0.9375rem;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--teal);
}

.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact li {
  margin-bottom: 1.125rem;
}

.footer-contact li:last-child {
  margin-bottom: 0;
}

.footer-contact__label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 0.35rem;
}

.footer-contact__text {
  display: block;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--ink-soft);
}

.footer-contact__link {
  display: inline-block;
  font-size: 0.875rem;
  color: var(--teal);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-contact__link:hover {
  color: var(--teal-dark);
  text-decoration: underline;
}

.footer-newsletter-desc {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--grey);
  margin-bottom: 1rem;
}

.footer-links--grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1rem;
}

@media (max-width: 639px) {
  .footer-links--grid {
    grid-template-columns: 1fr;
  }
}

.footer-newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-newsletter-input {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  border: 1px solid var(--border-warm);
  border-radius: var(--radius-sm);
  background: var(--bg-white);
  color: var(--ink-soft);
}

.footer-newsletter-input::placeholder {
  color: var(--grey);
}

.footer-newsletter-input:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 128, 128, 0.1);
}

.footer-newsletter-btn {
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  background: var(--teal);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.2s;
}

.footer-newsletter-btn:hover {
  background: var(--teal-dark);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.footer-bottom {
  background: var(--bg-white);
  border-top: 1px solid var(--border-light);
}

.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 0;
}

@media (min-width: 768px) {
  .footer-bottom-inner {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-copyright {
  font-size: 0.8125rem;
  color: var(--grey);
  margin: 0;
}

.footer-legal {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.footer-legal a {
  font-size: 0.8125rem;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 0.25rem 0.5rem;
  transition: color 0.15s;
}

.footer-legal a:hover {
  color: var(--teal);
}

.footer-legal-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--border-warm);
  margin: 0 0.25rem;
}

/* Page subnav — scrolls with page; main header stays sticky */
.page-subnav {
  background: white;
  border-bottom: 1px solid var(--border-light);
}

.page-subnav-inner {
  max-width: min(calc(var(--site-container) + 2 * var(--site-padding-x)), 100%);
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--site-padding-x);
  display: flex;
  gap: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.page-subnav-inner::-webkit-scrollbar { display: none; }

.page-subnav a {
  flex-shrink: 0;
  padding: 1rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--grey);
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
  white-space: nowrap;
}

.page-subnav a:hover,
.page-subnav a.active {
  color: var(--teal);
  border-bottom-color: var(--crimson);
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }

/* Prose */
.prose-bcps h2 {
  font-weight: 700;
  color: var(--ink);
  margin-top: 2rem;
  margin-bottom: 1rem;
  padding-left: 1rem;
  border-left: 3px solid var(--teal);
}

.prose-bcps p {
  color: var(--grey-warm);
  line-height: 1.85;
  margin-bottom: 1rem;
}

/* Single detail pages — news, event, resource */
.single-detail__back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 1.5rem;
}

.single-detail__back:hover {
  color: var(--teal-dark);
}

.single-detail__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  margin-bottom: 1.75rem;
}

.single-detail__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  margin-bottom: 1rem;
}

.single-detail__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: 1.25rem;
}

.single-detail__lead {
  font-size: 1.125rem;
  color: var(--grey-warm);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.single-detail__sidebar {
  position: sticky;
  top: var(--sticky-offset);
}

.single-facts {
  background: var(--bg-warm);
  border: 1px solid var(--border-light);
  border-top: 3px solid var(--teal);
  padding: 1.5rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.single-facts dl {
  margin: 0;
}

.single-facts dt {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--grey);
  margin-top: 1rem;
}

.single-facts dt:first-child {
  margin-top: 0;
}

.single-facts dd {
  font-size: 0.9375rem;
  color: var(--ink-soft);
  margin: 0.25rem 0 0;
}

.single-related {
  margin-top: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-light);
}

.single-related__title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--grey);
  margin-bottom: 1rem;
}

.single-related__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.single-related__list a {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ink-soft);
  line-height: 1.4;
}

.single-related__list a:hover {
  color: var(--teal);
}

.single-related__list time,
.single-related__list span {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--grey);
  margin-top: 0.2rem;
}

.prose-bcps ul {
  color: var(--grey-warm);
  line-height: 1.85;
  margin: 0 0 1rem 1.25rem;
  padding: 0;
}

.prose-bcps ul li {
  margin-bottom: 0.5rem;
}

/* Forms */
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--teal) !important;
  box-shadow: 0 0 0 3px rgba(0,128,128,0.1);
}

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.value-card {
  position: relative;
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  overflow: hidden;
  transition: border-color 0.35s, box-shadow 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--teal);
  transition: background 0.25s;
}

.value-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 42%;
  height: 100%;
  background: linear-gradient(105deg, transparent 15%, rgba(255, 255, 255, 0.45) 50%, transparent 85%);
  transform: translateX(-130%) skewX(-14deg);
  pointer-events: none;
  z-index: 1;
  opacity: 0;
}

.value-card:hover {
  border-color: rgba(0, 128, 128, 0.25);
  box-shadow: var(--shadow-lift);
  transform: translateY(-4px);
}

.value-card:hover::before { background: var(--crimson); }

.value-card:hover::after {
  opacity: 1;
  animation: cardShine 0.9s var(--ease-out);
}

.rotate-180 { transform: rotate(180deg); }

.bordered-panel { border-radius: var(--radius-md); }

/* Doc-spec minimal footer */
.site-footer--doc .footer-doc {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
}

.footer-doc__inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
}

@media (min-width: 640px) {
  .footer-doc__inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-doc__copyright {
  font-size: 0.8125rem;
  line-height: 1.5;
  margin: 0;
}

.site-footer--doc .footer-legal a {
  color: rgba(255, 255, 255, 0.65);
}

.site-footer--doc .footer-legal a:hover {
  color: var(--teal-light);
}

.site-footer--doc .footer-legal-dot {
  background: rgba(255, 255, 255, 0.25);
}

/* Scroll to top */
.scroll-to-top {
  position: fixed;
  right: max(1rem, var(--site-padding-x));
  bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));
  z-index: 55;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 128, 128, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  box-shadow: 0 6px 24px rgba(0, 64, 64, 0.3);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s var(--ease-out), visibility 0.3s, transform 0.3s var(--ease-out), background 0.2s, box-shadow 0.25s;
}

.scroll-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top:hover {
  background: var(--teal-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(0, 64, 64, 0.35);
}

.scroll-to-top:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

.scroll-to-top__icon {
  width: 22px;
  height: 22px;
}

@media (prefers-reduced-motion: reduce) {
  .scroll-to-top {
    transition: opacity 0.2s, visibility 0.2s;
  }
}

/* ============================================================
   Responsive — all devices
   ============================================================ */

.page-hero {
  padding-left: 0;
  padding-right: 0;
}

.page-hero > .max-w-7xl {
  padding-top: clamp(2.75rem, 8vw, 5rem);
  padding-bottom: clamp(2.75rem, 8vw, 5rem);
}

.card-editorial,
.prose-bcps,
.bordered-panel {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.download-item {
  flex-wrap: wrap;
  gap: 0.75rem;
}

.download-item span.shrink-0 {
  margin-left: 0 !important;
}

.mobile-menu {
  padding-bottom: max(1rem, env(safe-area-inset-bottom, 0px));
  max-width: 100%;
}

#search-bar .max-w-7xl {
  padding-left: var(--site-padding-x);
  padding-right: var(--site-padding-x);
}

.newsletter-form input,
.newsletter-form .btn-primary {
  width: 100%;
  min-height: 44px;
}

@media (min-width: 480px) {
  .newsletter-form input {
    width: auto;
  }

  .newsletter-form .btn-primary {
    width: auto;
  }
}

.stats-panel {
  width: 100%;
}

@media (max-width: 1023px) {
  .sticky.top-28 {
    position: static !important;
    top: auto !important;
  }

  .single-detail__sidebar {
    position: static;
  }

  .feature-band__content {
    padding: 1.75rem var(--site-padding-x);
  }

  .feature-band__visual {
    min-height: 220px;
  }

  .event-featured__body {
    padding: 1.25rem;
  }

  .membership-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 640px) and (max-width: 1023px) {
  .membership-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .page-section {
    padding: 3.25rem 0;
  }

  .newsletter-block {
    padding: 3.25rem 0;
  }

  .hero-banner {
    min-height: clamp(580px, 92svh, 820px);
  }

  .hero-banner__inner {
    padding-top: 3.25rem;
    padding-bottom: 4rem;
  }

  .hero-title {
    max-width: 100%;
  }

  .hero-lead {
    max-width: 100%;
  }

  .hero-actions {
    width: 100%;
  }

  .btn-hero-primary,
  .btn-hero-outline {
    flex: 1 1 calc(50% - 0.375rem);
    justify-content: center;
    text-align: center;
    min-height: 44px;
  }

  .section-header--row .section-link {
    white-space: normal;
    align-self: flex-start;
  }

  .section-description,
  .section-intro {
    max-width: 100%;
  }

  .partners-condensed__inner {
    width: 100%;
  }

  .partners-row {
    justify-content: flex-start;
  }

  .partners-condensed__label {
    white-space: normal;
  }

  .page-subnav a {
    padding: 0.875rem 1rem;
    font-size: 0.8125rem;
  }

  .footer-legal {
    justify-content: center;
  }

  .footer-bottom-inner {
    text-align: center;
  }

  .icon-card-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 479px) {
  .btn-hero-primary,
  .btn-hero-outline {
    flex: 1 1 100%;
  }

  .site-logo--header {
    height: 44px;
    max-width: 120px;
  }

  .event-list-item {
    flex-direction: column;
  }

  .event-date {
    width: 100%;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem;
    min-width: 0;
  }

  .event-date .day {
    font-size: 1.25rem;
  }

  .news-card__body,
  .membership-card,
  .icon-card {
    padding: 1.25rem;
  }
}

@media (max-width: 359px) {
  :root {
    --site-padding-x: 0.75rem;
  }
}

/* Gallery & standalone editorial images */
.card-editorial.aspect-square {
  border-radius: var(--radius-lg);
  transition: box-shadow 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}

.card-editorial.aspect-square img {
  transition: transform 0.55s var(--ease-out);
}

.card-editorial.aspect-square:hover {
  box-shadow: var(--shadow-lift);
  transform: translateY(-3px);
}

.card-editorial.aspect-square:hover img {
  transform: scale(1.06);
}

/* Reduced motion — disable lift, shine, and zoom */
@media (prefers-reduced-motion: reduce) {
  .icon-card:hover,
  .value-card:hover,
  .membership-card:hover,
  .news-card:hover,
  .card-editorial:hover,
  .card-editorial.aspect-square:hover,
  .stats-panel:hover,
  .feature-band:hover,
  .event-list-item:hover,
  .event-featured:hover,
  .member-card:hover,
  .partner-chip:hover,
  .partner-logo:hover,
  .hero-image-wrap:hover,
  .media-block__image:hover,
  .calendar-sidebar:hover,
  .scroll-to-top:hover,
  .btn-primary:hover,
  .btn-accent:hover,
  .btn-outline:hover,
  .hero-event-card:hover,
  .hero-event-mobile:hover {
    transform: none !important;
  }

  .icon-card::after,
  .value-card::after,
  .membership-card::after,
  .news-card::after,
  .card-editorial::after {
    animation: none !important;
    opacity: 0 !important;
  }

  .icon-card:hover .icon-card__icon,
  .news-card:hover .news-card__image img,
  .card-editorial:hover .card-img img,
  .card-editorial.aspect-square:hover img,
  .feature-band:hover .feature-band__visual img,
  .event-featured:hover .event-featured__image img,
  .member-card:hover img,
  .hero-image-wrap:hover img,
  .media-block__image:hover img {
    transform: none !important;
  }

  .tag:hover {
    transform: none;
  }
}
