:root {
  --coral-pink: #ff4f7a;
  --teal: #18b2b0;
  --violet: #8a3cf6;

  --warm-orange: #ff9a2e;
  --soft-turquoise: #4ed2c9;
  --lavender: #cfa8ff;

  --charcoal: #22262a;
  --slate: #6b7378;
  --off-white: #f7f7f9;
  --light-gray: #e6e9eb;

  --success: #28c76f;
  --warning: #ffd166;
  --error: #ff5c5c;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --shadow-1: 0 10px 30px rgba(34, 38, 42, 0.08);
  --shadow-2: 0 20px 55px rgba(34, 38, 42, 0.16);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Outfit", sans-serif;
  color: var(--charcoal);
  background: radial-gradient(circle at 15% 10%, rgba(207, 168, 255, 0.35), transparent 35%),
    radial-gradient(circle at 85% 20%, rgba(78, 210, 201, 0.25), transparent 42%),
    var(--off-white);
  line-height: 1.55;
}

h1,
h2,
h3 {
  font-family: "Source Serif 4", serif;
  line-height: 1.15;
  margin: 0;
}

p {
  margin: 0;
}

a {
  color: var(--teal);
  text-decoration: none;
  touch-action: manipulation;
}

a:hover {
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #0b1014;
  outline-offset: 3px;
}

button {
  touch-action: manipulation;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  z-index: 250;
  background: #ffffff;
  color: #0b1014;
  border: 2px solid #0b1014;
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
  font-weight: 700;
}

.skip-link:focus-visible {
  top: 0.75rem;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

/* ── Header utility row ─────────────────────────────────── */
.header-utility {
  background: rgba(20, 23, 26, 0.98);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.utility-wrap {
  display: flex;
  justify-content: flex-end;
  gap: 1.4rem;
  padding: 0.3rem 0;
}

.utility-wrap a {
  color: rgba(220, 225, 228, 0.75);
  font-size: 0.8rem;
  text-decoration: none;
  font-weight: 500;
}

.utility-wrap a:hover {
  color: #fff;
  text-decoration: none;
}

@media (max-width: 700px) {
  .header-utility {
    display: none;
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(17, 21, 26, 0.98);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
}

.nav-wrap {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}

.brand {
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

.brand:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
  border-radius: 6px;
}

/* Keep nav brand text-first until a dedicated icon-only mark is available */
.brand-mark,
.brand-logo,
.brand-slogan {
  display: none;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: flex-end;
  flex-wrap: nowrap;
}

.nav-links,
.nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.nav-links a,
.nav-actions a {
  color: #f3f6f8;
  font-weight: 500;
  font-size: 0.9rem;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  padding: 0.58rem 0.72rem;
  border-radius: 999px;
  border: 1px solid transparent;
}

.nav-links a:hover,
.nav-actions a:hover {
  text-decoration: none;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.nav-links a:focus-visible,
.nav-actions a:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 2px;
}

.nav-links a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.nav-actions .nav-referral {
  border-color: rgba(255, 255, 255, 0.35);
}

.main-nav .nav-consult {
  background: #0fc7bf;
  border-color: #0fc7bf;
  color: #0b1014;
  font-weight: 700;
}

.main-nav .nav-contact {
  border-color: rgba(255, 255, 255, 0.42);
  color: #ffffff;
  font-weight: 700;
}

.main-nav .nav-donate {
  background: #f2cb98;
  border-color: #f2cb98;
  color: #0d1e2e;
  font-weight: 800;
}

.mobile-menu-toggle {
  display: none;
}

/* Keep desktop nav in one row */
@media (max-width: 1320px) {
  .main-nav {
    gap: 0.6rem;
  }

  .nav-links a,
  .nav-actions a {
    font-size: 0.88rem;
    padding: 0.54rem 0.64rem;
  }

  .nav-actions {
    gap: 0.45rem;
  }
}

.hero {
  position: relative;
  min-height: 77vh;
  display: grid;
  align-items: center;
  overflow: clip;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  background: linear-gradient(20deg, rgba(34, 38, 42, 0.15), rgba(34, 38, 42, 0.15)),
    url("Images/linkedin-sales-solutions-1LyBcHrH4J8-unsplash.jpg") center 22% / cover no-repeat;
  transform: scale(1.03);
}

.hero-overlay {
  background: linear-gradient(120deg, rgba(34, 38, 42, 0.82) 20%, rgba(34, 38, 42, 0.34) 72%);
}

.hero-content {
  position: relative;
  color: #fff;
  display: grid;
  gap: 1.2rem;
  padding: 4rem 0 4.5rem;
  max-width: 700px;
  animation: rise-in 0.72s ease-out both;
}

.eyebrow {
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--teal);
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
}

.hero-subhead {
  font-size: clamp(1rem, 2.6vw, 1.22rem);
  color: #e6e9eb;
}

.hero-clarity {
  max-width: 65ch;
  color: #f1f4f6;
  font-size: 0.98rem;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.68rem 1.1rem;
  font-weight: 700;
  border: 2px solid transparent;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
  box-shadow: var(--shadow-1);
}

@media (hover: none), (pointer: coarse) {
  .btn:hover,
  .role-card:hover,
  .flyer-trigger:hover img,
  .nav-links a:hover,
  .nav-actions a:hover {
    transform: none;
    box-shadow: none;
    text-decoration: none;
    filter: none;
  }
}

.btn-primary {
  background: var(--coral-pink);
  color: #fff;
}

.btn-secondary {
  background: var(--teal);
  color: #fff;
}

.btn-tertiary {
  background: var(--violet);
  color: #fff;
}

.trust-list {
  list-style: none;
  padding: 0;
  margin: 0.2rem 0 0;
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.trust-list li {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 0.35rem 0.68rem;
  border-radius: 999px;
  font-size: 0.85rem;
}

.trust-band {
  background: #fff;
  border-top: 1px solid var(--light-gray);
  border-bottom: 1px solid var(--light-gray);
}

.trust-band-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: 1.3rem 0;
}

.trust-band-grid article {
  background: var(--off-white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-sm);
  padding: 1rem;
}

.trust-logo {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 0.5rem;
  border: 1px solid var(--light-gray);
  background: #fff;
}

.trust-visuals {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.5rem;
}

.trust-badge,
.trust-team-thumb {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--light-gray);
  background: #fff;
}

.trust-band-grid h2 {
  font-size: 1rem;
  margin-bottom: 0.45rem;
}

.trust-band-grid p {
  color: var(--slate);
  font-size: 0.95rem;
}

.section {
  padding: 4rem 0;
}

@supports (content-visibility: auto) {
  main .section {
    content-visibility: auto;
    contain-intrinsic-size: 1px 860px;
  }

  main .hero,
  main .trust-band {
    content-visibility: visible;
    contain-intrinsic-size: auto;
  }
}

.gallery {
  padding-top: 3rem;
}

.gallery-note {
  color: var(--slate);
  font-size: 0.94rem;
}

.image-mosaic {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 160px;
}

.mosaic-item {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--light-gray);
  box-shadow: var(--shadow-1);
}

.mosaic-item.large {
  grid-column: span 2;
  grid-row: span 2;
}

.mosaic-item.wide {
  grid-column: span 2;
}

.mosaic-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-head {
  margin-bottom: 1.4rem;
  display: grid;
  gap: 0.4rem;
}

.section-head h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.section-head.row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  flex-wrap: wrap;
}

.card-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid.four-up {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card-grid.three-up {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card,
.action-tile,
.help-item,
.highlight-panel {
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--light-gray);
  box-shadow: var(--shadow-1);
}

.card,
.action-tile,
.help-item {
  padding: 1.2rem;
  display: grid;
  gap: 0.7rem;
}

.help-thumb {
  width: 100%;
  height: 150px;
  object-fit: cover;
  object-position: center 24%;
  border-radius: 12px;
  border: 1px solid var(--light-gray);
}

.help-thumb-focus-top {
  object-position: center 18%;
}

.card h3,
.action-tile h3,
.help-item h3 {
  font-size: 1.2rem;
}

.card p,
.action-tile p,
.help-item p,
.why p,
.forms p {
  color: var(--slate);
}

.programs .card:nth-child(1) {
  border-top: 5px solid var(--coral-pink);
}

.programs .card:nth-child(2) {
  border-top: 5px solid var(--teal);
}

.programs .card:nth-child(3) {
  border-top: 5px solid var(--violet);
}

.programs .card:nth-child(4) {
  border-top: 5px solid var(--warm-orange);
}

.programs .card:nth-child(5) {
  border-top: 5px solid var(--soft-turquoise);
}

.programs .card:nth-child(6) {
  background: var(--violet);
  border: none;
  color: #fff;
}

.programs .card:nth-child(6) h3,
.programs .card:nth-child(6) p {
  color: #fff;
}

.two-col {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1rem;
}

.unity {
  padding-top: 3rem;
}

.unity-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1rem;
}

.unity-copy {
  display: grid;
  gap: 0.9rem;
}

.unity-copy .compliance-note {
  color: #1a2c3d;
  background: #f4ede1;
  border-left: 4px solid #0d6d70;
  border-radius: 10px;
  padding: 0.85rem 0.95rem;
}

.unity-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.unity-images img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--light-gray);
  box-shadow: var(--shadow-1);
}

.team {
  background: linear-gradient(160deg, rgba(255, 154, 46, 0.08), rgba(78, 210, 201, 0.08));
}

.team-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.team-card {
  align-content: start;
}

.team-card img {
  width: 100%;
  max-width: 220px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--light-gray);
}

.team-summary {
  gap: 1rem;
}

.team-trust-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--charcoal);
}

.team-grid.compact {
  margin-top: 1rem;
}

.team-placeholder {
  width: 100%;
  max-width: 220px;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  border-radius: var(--radius-md);
  border: 1px dashed var(--light-gray);
  background: var(--off-white);
  color: var(--slate);
  font-size: 2rem;
  font-weight: 700;
}

.highlight-panel {
  padding: 1.3rem;
  background: linear-gradient(160deg, rgba(207, 168, 255, 0.28), rgba(78, 210, 201, 0.2), #fff);
}

.highlight-panel h3 {
  margin-bottom: 0.55rem;
}

.highlight-panel ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--charcoal);
}

.help-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.icon {
  width: 2.2rem;
  height: 2.2rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 1.1rem;
  color: #fff;
  background: linear-gradient(140deg, var(--coral-pink), var(--violet));
}

.workshops {
  background: linear-gradient(145deg, rgba(255, 154, 46, 0.1), rgba(78, 210, 201, 0.1));
}

.workshop-card .tag {
  display: inline-flex;
  width: fit-content;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: #fff;
  background: var(--violet);
  border-radius: 999px;
  padding: 0.24rem 0.55rem;
}

.event-thumb {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--light-gray);
}

.workshop-card .meta {
  color: var(--charcoal);
  font-weight: 600;
}

.empty-workshops {
  color: var(--slate);
  margin-top: 0.8rem;
}

.event-image-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.event-image-row figure {
  margin: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--light-gray);
  box-shadow: var(--shadow-1);
  background: #fff;
}

.flyer-trigger {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #fff;
  cursor: pointer;
  overflow: hidden;
}

.flyer-preview {
  border-radius: 12px;
  border: 1px solid rgba(13, 30, 46, 0.12);
  box-shadow: 0 12px 28px rgba(13, 30, 46, 0.08);
}

.event-card .event-flyer {
  height: 210px;
  object-fit: cover;
}

.flyer-trigger img {
  display: block;
  width: 100%;
  height: 340px;
  object-fit: contain;
  background: #fff;
  transition: transform 220ms ease, filter 220ms ease;
}

.flyer-trigger:hover img,
.flyer-trigger:focus-visible img {
  transform: scale(1.02);
  filter: blur(1.5px) saturate(1.05);
}

.flyer-overlay {
  position: absolute;
  inset: auto 1rem 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: rgba(34, 38, 42, 0.86);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 220ms ease, transform 220ms ease;
  pointer-events: none;
}

.flyer-trigger:hover .flyer-overlay,
.flyer-trigger:focus-visible .flyer-overlay {
  opacity: 1;
  transform: translateY(0);
}

.flyer-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
}

.flyer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 20, 23, 0.72);
  backdrop-filter: blur(8px);
}

.flyer-dialog {
  position: relative;
  z-index: 1;
  width: min(920px, calc(100% - 1.5rem));
  margin: 4vh auto;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2);
  padding: 1rem;
  display: grid;
  gap: 0.9rem;
}

.flyer-close {
  justify-self: end;
  width: 2.2rem;
  height: 2.2rem;
  border: 0;
  border-radius: 50%;
  background: var(--off-white);
  color: var(--charcoal);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.flyer-modal-eyebrow {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--teal);
}

.flyer-dialog h2 {
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.flyer-dialog img {
  width: 100%;
  max-height: 68vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  border: 1px solid var(--light-gray);
  background: #fff;
}

.flyer-modal-caption {
  color: var(--slate);
}

.flyer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.flyer-modal[hidden] {
  display: none;
}

.flyer-modal-open {
  overflow: hidden;
}

.event-image-row img {
  width: 100%;
  height: 340px;
  object-fit: contain;
  background: #fff;
}

.pathways {
  background: linear-gradient(145deg, rgba(207, 168, 255, 0.16), rgba(255, 154, 46, 0.12));
}

.pathways .card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pathways .card:last-child {
  grid-column: span 2;
}

/* ── Who We Serve ─────────────────────────────────────────────── */
.section-lead {
  color: var(--slate);
  font-size: 1rem;
  margin-top: 0.3rem;
  max-width: 640px;
}

.roles-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 0.5rem;
}

.role-card {
  display: grid;
  gap: 0.75rem;
  padding: 1.4rem;
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--light-gray);
  box-shadow: var(--shadow-1);
  text-decoration: none;
  color: var(--charcoal);
  align-content: start;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.role-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-2);
  border-color: var(--teal);
  text-decoration: none;
}

.role-card:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  text-decoration: none;
}

.role-card h3 {
  font-size: 1.1rem;
  color: var(--charcoal);
}

.role-thumb {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--light-gray);
}

.role-card p {
  color: var(--slate);
  font-size: 0.94rem;
}

.role-icon {
  width: 2.8rem;
  height: 2.8rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 1.3rem;
  background: linear-gradient(140deg, var(--coral-pink), var(--violet));
}

.roles-grid .role-card:nth-child(1) .role-icon {
  background: linear-gradient(140deg, var(--teal), var(--soft-turquoise));
}
.roles-grid .role-card:nth-child(2) .role-icon {
  background: linear-gradient(140deg, var(--violet), var(--lavender));
}
.roles-grid .role-card:nth-child(3) .role-icon {
  background: linear-gradient(140deg, var(--coral-pink), var(--warm-orange));
}
.roles-grid .role-card:nth-child(4) .role-icon {
  background: linear-gradient(140deg, var(--warm-orange), var(--teal));
}

.role-cta {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--teal);
  margin-top: 0.25rem;
}

.role-cta::after {
  content: " →";
}

/* Card 3: multi-CTA container */
.role-card-multi {
  cursor: default;
}

.role-card-multi:hover {
  transform: none;
  box-shadow: var(--shadow-1);
  border-color: var(--light-gray);
}

.role-cta-group {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.role-cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--coral-pink);
  color: #fff;
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  width: fit-content;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.role-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-1);
  text-decoration: none;
  color: #fff;
}

.role-cta-primary:focus-visible {
  outline: 3px solid var(--coral-pink);
  outline-offset: 3px;
}

.role-cta-secondary {
  font-size: 0.86rem;
  color: var(--teal);
  font-weight: 600;
  text-decoration: underline;
}

.role-cta-secondary:hover {
  color: var(--charcoal);
}

.role-cta-secondary:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 2px;
  border-radius: 2px;
}

@media (max-width: 980px) {
  .roles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .roles-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Hero reassurance line ──────────────────────────────── */
.hero-reassurance {
  font-size: 0.92rem;
  color: rgba(230, 233, 235, 0.82);
  font-style: italic;
  margin-top: -0.4rem;
}

/* ── Trust band CTA article ─────────────────────────────── */
.trust-band-cta {
  display: grid;
  gap: 0.6rem;
}

.trust-band-cta .btn {
  width: fit-content;
  margin-top: 0.25rem;
}

/* ── Past events reveal ──────────────────────────────────── */
.past-events-section {
  margin-top: 2rem;
  border-top: 1px solid var(--light-gray);
  padding-top: 1.5rem;
}

.past-events-heading {
  font-size: 1.15rem;
  margin-bottom: 1rem;
  color: var(--slate);
}

/* ── Recurring Workshop section ──────────────────────────── */
.recurring-workshop {
  background: linear-gradient(145deg, rgba(138, 60, 246, 0.07), rgba(78, 210, 201, 0.1));
}

.recurring-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--light-gray);
  box-shadow: var(--shadow-1);
  padding: 1.8rem;
  display: grid;
  gap: 1rem;
  max-width: 680px;
}

.tag-recurring {
  display: inline-flex;
  width: fit-content;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 800;
  color: #f6f1e7;
  background: #0a575a;
  border-radius: 999px;
  padding: 0.24rem 0.55rem;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
}

.card .tag-recurring,
.event-card .tag-recurring {
  color: #f6f1e7;
}

.recurring-highlight h3 {
  color: #102131;
}

.recurring-highlight p {
  color: #2c3f4f;
}

.recurring-highlight .meta,
.recurring-highlight .recurring-dates strong {
  color: #102131;
  font-weight: 700;
}

.recurring-dates {
  display: grid;
  gap: 0.3rem;
  background: var(--off-white);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1rem;
  border: 1px solid var(--light-gray);
}

.recurring-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ── Recordings / YouTube embed ──────────────────────────── */
.recordings {
  background: var(--charcoal);
  color: #fff;
}

.recordings .eyebrow {
  color: var(--soft-turquoise);
}

.recordings .section-head h2 {
  color: #fff;
}

.recordings .btn-tertiary {
  background: transparent;
  border-color: rgba(255,255,255,0.35);
  color: #fff;
}

.recordings .btn-tertiary:hover {
  background: rgba(255,255,255,0.1);
}

.video-playlist {
  margin-top: 0.5rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
}

.video-playlist iframe {
  display: block;
  width: 100%;
  height: 480px;
  border: 0;
}

@media (max-width: 700px) {
  .video-playlist iframe {
    height: 220px;
  }
}

.donate-band {
  padding-top: 0;
}

.action-tile {
  position: relative;
  overflow: clip;
}

.action-tile::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  right: -55px;
  bottom: -65px;
  opacity: 0.15;
}

.action-tile.volunteer::after {
  background: var(--teal);
}

.action-tile.partner::after {
  background: var(--violet);
}

.action-tile.donate::after {
  background: var(--coral-pink);
}

.forms-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: #fff;
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 1.35rem;
  box-shadow: var(--shadow-1);
}

.donate-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.resources-access {
  padding-top: 0;
}

.resources-wrap {
  background: linear-gradient(145deg, rgba(24, 178, 176, 0.12), rgba(255, 154, 46, 0.16), #fff);
  border-color: rgba(13, 30, 46, 0.16);
}

.donate-microcopy {
  width: 100%;
  font-size: 0.82rem;
  color: var(--slate);
  margin: 0.25rem 0 0;
}

.impact-photo {
  margin: 0 0 1rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--light-gray);
  box-shadow: var(--shadow-1);
}

.impact-photo img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: top;
  display: block;
}

.card-grid.two-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.site-footer {
  background: var(--charcoal);
  color: #fff;
  padding: 2.5rem 0;
}

.footer-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1.2rem;
  margin-bottom: 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-cta h2 {
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
}

.homepage-disclaimer {
  color: #1a2c3d;
  background: #f4ede1;
  border-left: 4px solid #0d6d70;
  border-radius: 10px;
  padding: 0.85rem 0.95rem;
}

.site-footer p,
.site-footer a {
  color: #dce1e4;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(200px, 1.7fr) minmax(180px, 1.25fr) repeat(3, minmax(110px, 0.85fr));
  gap: 1rem;
}

.footer-grid > div:nth-child(2) a[href^="mailto:"] {
  font-size: 0.92rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.footer-logo {
  width: 68px;
  height: 68px;
  object-fit: cover;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  margin-bottom: 0.65rem;
}

.footer-slogan {
  font-style: italic;
  margin-bottom: 0.4rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #dce1e4;
  text-decoration: none;
  transition: color 0.2s;
}

.social-link:hover {
  color: #fff;
}

.social-icon {
  flex-shrink: 0;
  vertical-align: middle;
}

/* Header social icons */
.header-social {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
}

.header-social a {
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.2s, opacity 0.2s;
  text-decoration: none;
}

.header-social a:hover {
  color: #fff;
  opacity: 1;
}

.footer-grid h2,
.footer-grid h3 {
  margin-bottom: 0.5rem;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .btn:hover,
  .role-card:hover,
  .flyer-trigger:hover img,
  .flyer-trigger:focus-visible img {
    transform: none;
    filter: none;
  }
}

@media (max-width: 980px) {
  .site-header {
    position: static;
    backdrop-filter: none;
  }

  .nav-wrap {
    padding: 0.8rem 0;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
  }

  .brand {
    margin-right: auto;
  }

  .mobile-menu-toggle {
    display: none;
  }

  .site-header.js-nav-enhanced .mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.28rem;
    flex-direction: column;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    cursor: pointer;
    margin-left: auto;
    position: relative;
  }

  .mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.16);
  }

  .mobile-menu-toggle:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 3px;
  }

  .mobile-menu-toggle-bar {
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 200ms ease, opacity 200ms ease;
  }

  .mobile-menu-toggle-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .site-header.js-nav-enhanced.nav-open .mobile-menu-toggle-bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .site-header.js-nav-enhanced.nav-open .mobile-menu-toggle-bar:nth-child(2) {
    opacity: 0;
  }

  .site-header.js-nav-enhanced.nav-open .mobile-menu-toggle-bar:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .main-nav {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
    gap: 0.5rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: max-height 260ms ease, opacity 180ms ease, transform 180ms ease;
  }

  .site-header.js-nav-enhanced.nav-open .main-nav {
    max-height: 85vh;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    padding-bottom: 0.5rem;
  }

  .nav-links,
  .nav-actions {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 0.35rem;
    flex-direction: column;
    align-items: stretch;
  }

  .nav-links a,
  .nav-actions a {
    font-size: 0.92rem;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    width: 100%;
    border-radius: 12px;
    padding: 0.62rem 0.86rem;
  }

  .site-header.js-nav-enhanced .nav-actions {
    order: -1;
    flex-direction: row;
    gap: 0.5rem;
  }

  .site-header.js-nav-enhanced .nav-actions a {
    flex: 1;
    justify-content: center;
  }

  .btn {
    min-height: 44px;
  }

  .site-footer a,
  .footer-grid .social-link,
  .utility-wrap a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
  }

  .card,
  .action-tile,
  .help-item,
  .highlight-panel,
  .mosaic-item,
  .event-image-row figure,
  .unity-images img {
    box-shadow: 0 6px 18px rgba(34, 38, 42, 0.08);
  }

  .hero-content,
  .hero-v2 .hero-content {
    animation: none;
  }

  .card-grid.four-up,
  .help-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .card-grid,
  .card-grid.three-up,
  .pathways .card-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .two-col {
    grid-template-columns: 1fr;
  }

  .flyer-dialog {
    margin: 1rem auto;
    width: min(920px, calc(100% - 1rem));
  }

  .forms-wrap {
    flex-direction: column;
    align-items: start;
  }

  .footer-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .image-mosaic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 190px;
  }

  .unity-grid,
  .event-image-row {
    grid-template-columns: 1fr;
  }

  .mosaic-item.large,
  .mosaic-item.wide,
  .pathways .card:last-child {
    grid-column: span 1;
    grid-row: span 1;
  }

  .unity-images {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .site-header {
    position: static;
  }

  .nav-wrap {
    padding: 0.8rem 0;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
  }

  .brand {
    margin-right: auto;
  }

  .mobile-menu-toggle {
    display: none;
  }

  .site-header.js-nav-enhanced .mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.28rem;
    flex-direction: column;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    cursor: pointer;
    margin-left: auto;
    position: relative;
  }

  .mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.16);
  }

  .mobile-menu-toggle:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 3px;
  }

  .mobile-menu-toggle-bar {
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 200ms ease, opacity 200ms ease;
  }

  .mobile-menu-toggle-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .site-header.js-nav-enhanced.nav-open .mobile-menu-toggle-bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .site-header.js-nav-enhanced.nav-open .mobile-menu-toggle-bar:nth-child(2) {
    opacity: 0;
  }

  .site-header.js-nav-enhanced.nav-open .mobile-menu-toggle-bar:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .site-header.js-nav-enhanced .main-nav {
    width: 100%;
    align-items: stretch;
    gap: 0.6rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: max-height 260ms ease, opacity 180ms ease, transform 180ms ease;
  }

  .site-header.js-nav-enhanced.nav-open .main-nav {
    max-height: 85vh;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    padding-bottom: 0.5rem;
  }

  .nav-links,
  .nav-actions {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 0.35rem;
    flex-direction: column;
    align-items: stretch;
  }

  .nav-links a,
  .nav-actions a {
    font-size: 0.86rem;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    width: 100%;
    border-radius: 12px;
  }

  .site-header.js-nav-enhanced .nav-actions {
    order: -1;
    flex-direction: row;
    gap: 0.5rem;
  }

  .site-header.js-nav-enhanced .nav-actions a {
    flex: 1;
    justify-content: center;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 3rem 0;
  }

  .hero-cta-row {
    width: 100%;
    gap: 0.65rem;
  }

  .hero-cta-row .btn {
    flex: 1 1 210px;
    min-height: 44px;
  }

  .card-grid.four-up,
  .card-grid,
  .card-grid.three-up,
  .card-grid.two-up,
  .help-grid,
  .pathways .card-grid,
  .unity-images,
  .image-mosaic,
  .roles-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .help-thumb,
  .event-thumb,
  .role-thumb {
    height: 160px;
  }

  .event-card .event-flyer {
    height: 190px;
  }

  .event-image-row img,
  .unity-images img {
    height: 200px;
  }

  .flyer-trigger img {
    height: 300px;
  }
}

/* ── Mobile sticky CTA bar ──────────────────────────────── */
.mobile-sticky-cta {
  /* shown/hidden via JS; always hidden above 700 px */
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 150;
  display: flex;
  gap: 0.6rem;
  padding: 0.75rem 1rem;
  padding-bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
  background: rgba(34, 38, 42, 0.97);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}

.mobile-sticky-cta .btn {
  flex: 1;
  font-size: 0.9rem;
  min-height: 44px;
  padding: 0.72rem 0.5rem;
  justify-content: center;
}

/* Remove hidden attribute styling so JS toggle works correctly */
.mobile-sticky-cta[hidden] {
  display: none !important;
}

@media (min-width: 701px) {
  .mobile-sticky-cta {
    display: none !important;
  }

  /* Remove extra body padding added for sticky bar on desktop */
  body {
    padding-bottom: 0 !important;
  }
}

@media (max-width: 700px) {
  .mobile-sticky-cta {
    display: flex;
  }

  body.sticky-bar-visible {
    /* prevent content from hiding under the sticky bar */
    padding-bottom: 76px;
  }

  .section {
    padding: 3rem 0;
  }
}
