:root {
  --ink: #17201b;
  --muted: #587176;
  --paper: #fbf8ef;
  --white: #ffffff;
  --green: #0f7f83;
  --green-dark: #06444c;
  --orange: #08777b;
  --gold: #f3bd46;
  --coral: #e6654f;
  --coral-text: #b8432e; /* darker coral for small label text: >=4.5:1 on #fbf8ef/#ffffff/#fffdf7/#f4efe1 */
  --line: rgba(23, 32, 27, 0.14);
  --shadow: 0 24px 70px rgba(6, 68, 76, 0.18);
  --shadow-soft: 0 18px 44px rgba(6, 68, 76, 0.12);
  --surface: #fffdf7;
  --teal: #0b8d92;
  /* rendered fixed-header height = 32px padding + logo-height (clamp(66,5.4vw,88)) */
  --header-h: clamp(98px, calc(5.4vw + 32px), 120px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: clamp(24px, 3vw, 42px);
}

body {
  margin: 0;
  font-family: Poppins, Arial, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 253, 247, 0.68), rgba(251, 248, 239, 0) 520px),
    var(--paper);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 54px) 16px clamp(18px, 6vw, 86px);
  color: var(--white);
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  transform: translateY(0);
  opacity: 1;
  transition:
    transform 220ms ease,
    opacity 220ms ease,
    background 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--white);
  border-bottom: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.site-header.is-hidden {
  transform: translateY(-110%);
  opacity: 0;
  pointer-events: none;
}

.site-header.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: auto;
  margin-left: 0;
}

/* Logo is height-driven so the header height stays predictable regardless of viewport;
   aspect-ratio reserves the intrinsic box (343×480) before load to avoid CLS. */
.brand img {
  width: clamp(270px, 32vw, 440px);
  height: clamp(66px, 5.4vw, 88px);
  object-fit: contain;
  object-position: left center;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
  font-size: 0.9rem;
  font-weight: 600;
}

.site-nav a {
  position: relative;
  opacity: 0.9;
  transition: opacity 150ms ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 150ms ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  opacity: 1;
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 0;
  color: inherit;
  background: transparent;
  place-items: center;
  padding: 9px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 3px 0;
  background: currentColor;
  border-radius: 999px;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(220px, 0.5fr);
  align-items: center;
  gap: clamp(22px, 4vw, 58px);
  padding: calc(var(--header-h) + clamp(24px, 5vw, 58px)) clamp(18px, 6vw, 86px) clamp(32px, 5vw, 58px);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
  background: var(--green-dark);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

.hero::before {
  inset: -10px;
  background: url('assets/img/herobackground.png') center / cover;
  transform: scale(1.02);
}

.hero::after {
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 28, 32, 0.52) 0%, rgba(3, 28, 32, 0.24) 46%, rgba(3, 28, 32, 0.08) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.16) 0%, transparent 42%, rgba(0, 0, 0, 0.2) 100%);
}

.hero__shade {
  display: none;
}

.hero__content {
  position: relative;
  z-index: 1;
}

.hero__content {
  max-width: 820px;
  transform: none;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.38);
}

/* T4: above 1280px ease the upward pull to 0 by 1440 so the wide-desktop headline
   clears the taller fixed logo; a strict no-op at <=1280px (preserves 768/1280). */
@media (min-width: 1281px) {
  .hero__content {
    transform: none;
  }
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--coral-text);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.kit-section .eyebrow {
  color: var(--coral);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 840px;
  margin-bottom: 16px;
  font-size: clamp(2.7rem, 5.8vw, 5.9rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero h1 {
  font-size: clamp(2rem, 4.1vw, 4.2rem);
  line-height: 1.02;
  text-shadow:
    0 3px 8px rgba(0, 0, 0, 0.92),
    0 10px 24px rgba(0, 0, 0, 0.82),
    0 24px 52px rgba(0, 0, 0, 0.72),
    0 36px 74px rgba(3, 28, 32, 0.62);
}

.hero h1 span {
  display: inline;
}

h2 {
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  font-size: 1.1rem;
  line-height: 1.2;
}

.hero__text {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(0.94rem, 1.2vw, 1.04rem);
  line-height: 1.58;
  text-shadow:
    0 3px 8px rgba(0, 0, 0, 0.92),
    0 10px 24px rgba(0, 0, 0, 0.82),
    0 24px 52px rgba(0, 0, 0, 0.72),
    0 36px 74px rgba(3, 28, 32, 0.62);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero .hero__actions {
  opacity: 0;
  transform: translateY(15px);
  animation: hero-cta-in 0.6s 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes hero-cta-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 50px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 22px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(6, 68, 76, 0.1);
  transition: transform 150ms ease, background 150ms ease, color 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(6, 68, 76, 0.16);
}

[hidden] {
  display: none !important;
}

.is-hidden {
  display: none !important;
}

.button--primary {
  border-color: rgba(255, 255, 255, 0.18);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.26) 0%, transparent 28%),
    linear-gradient(135deg, #0b8d92 0%, #08777b 48%, #053842 100%);
  color: var(--white);
  box-shadow:
    0 16px 34px rgba(6, 68, 76, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.26);
}

.button--primary:hover {
  box-shadow:
    0 22px 44px rgba(6, 68, 76, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.button--primary::before {
  content: "";
  position: absolute;
  top: -70%;
  bottom: -70%;
  left: -55%;
  width: 38%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.65), transparent);
  transform: translateX(-120%) rotate(18deg);
  animation: button-streak 2.8s ease-in-out infinite;
  pointer-events: none;
}

.button--primary:hover::before {
  animation-duration: 1.2s;
}

@keyframes button-streak {
  from {
    transform: translateX(-120%) rotate(18deg);
  }

  to {
    transform: translateX(420%) rotate(18deg);
  }
}

.hero-cta {
  min-width: 196px;
  min-height: 48px;
  border: 0;
  border-radius: 4px;
  padding: 8px 22px;
  color: #152027;
  background:
    linear-gradient(115deg, #ffffff 0%, #effafa 20%, #9fcfd0 48%, #d9f3f3 72%, #ffffff 100%);
  background-size: 360% 360%;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none;
  text-shadow: none;
  isolation: isolate;
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.3),
    0 0 26px rgba(11, 141, 146, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
  animation:
    hero-cta-color-shift 4.8s ease-in-out infinite,
    hero-cta-pulse 2.6s ease-in-out infinite;
  transition:
    transform 0.25s cubic-bezier(0.2, 1.3, 0.3, 1),
    filter 0.2s ease,
    box-shadow 0.3s ease,
    letter-spacing 0.2s ease;
}

.hero-cta::before {
  display: none;
}

.hero-cta::after {
  content: "";
  position: absolute;
  top: -42%;
  bottom: -42%;
  left: -65%;
  width: 42%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), rgba(205, 244, 244, 0.98), transparent);
  opacity: 0.78;
  transform: skewX(-18deg);
  animation: hero-cta-streak 2.4s ease-in-out infinite;
  pointer-events: none;
}

.hero-cta:hover {
  transform: translateY(-4px) scale(1.035);
  filter: brightness(1.05);
  letter-spacing: 0.025em;
  box-shadow:
    0 24px 54px rgba(0, 0, 0, 0.34),
    0 0 38px rgba(11, 141, 146, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

.hero-cta:hover::after {
  animation-duration: 1.05s;
}

.hero-cta:active {
  transform: translateY(0) scale(0.98);
}

.hero-cta .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(196, 240, 240, 0.56);
  transform: scale(0);
  animation: ripple-out 0.6s ease-out forwards;
  pointer-events: none;
}

@keyframes hero-cta-color-shift {
  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

@keyframes hero-cta-pulse {
  0%,
  100% {
    box-shadow:
      0 18px 44px rgba(0, 0, 0, 0.3),
      0 0 22px rgba(11, 141, 146, 0.26),
      inset 0 1px 0 rgba(255, 255, 255, 0.82);
  }

  50% {
    box-shadow:
      0 22px 54px rgba(0, 0, 0, 0.34),
      0 0 42px rgba(11, 141, 146, 0.44),
      inset 0 1px 0 rgba(255, 255, 255, 0.9);
  }
}

@keyframes hero-cta-streak {
  0% {
    left: -65%;
    opacity: 0;
  }

  28% {
    opacity: 0.95;
  }

  56% {
    left: 118%;
    opacity: 0;
  }

  100% {
    left: 118%;
    opacity: 0;
  }
}

@keyframes ripple-out {
  to {
    opacity: 0;
    transform: scale(4);
  }
}

.button--secondary {
  border-color: rgba(255, 255, 255, 0.54);
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: none;
  backdrop-filter: blur(10px);
}

.section {
  padding: clamp(54px, 7vw, 92px) clamp(18px, 6vw, 86px);
}

.section--intro {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, 560px) minmax(300px, 600px);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 18%, rgba(8, 119, 123, 0.16), transparent 32%),
    radial-gradient(circle at 96% 86%, rgba(8, 119, 123, 0.09), transparent 30%),
    linear-gradient(135deg, rgba(255, 253, 247, 0.96), rgba(244, 239, 225, 0.78)),
    var(--paper);
}

.section--intro::before {
  content: "";
  position: absolute;
  inset: clamp(18px, 4vw, 54px);
  border: 1px solid rgba(6, 68, 76, 0.08);
  border-radius: 8px;
  pointer-events: none;
}

.section--intro > * {
  position: relative;
}

.section__heading h2,
.impact-copy h2 {
  margin-bottom: 0;
}

.join-section h2 {
  margin-bottom: clamp(14px, 2.5vw, 22px);
}

.intro-copy {
  position: relative;
  max-width: 620px;
  border-left: 4px solid rgba(8, 119, 123, 0.34);
  padding: clamp(18px, 3vw, 32px) 0 clamp(18px, 3vw, 32px) clamp(22px, 4vw, 38px);
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.78;
}

.intro-copy h2 {
  max-width: 560px;
  margin: 0 0 clamp(18px, 3vw, 28px);
  color: var(--green-dark);
  font-size: clamp(2rem, 3.8vw, 4rem);
  line-height: 1.04;
}

.intro-copy p {
  margin-bottom: 20px;
}

.intro-copy p:last-child {
  margin-bottom: 0;
}

.intro-copy strong {
  color: var(--green-dark);
}

.intro-handbook {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(180px, 0.52fr);
  gap: clamp(16px, 2.6vw, 28px);
  align-items: center;
  margin-top: clamp(26px, 4vw, 42px);
  border-top: 1px solid rgba(6, 68, 76, 0.12);
  padding-top: clamp(22px, 3vw, 34px);
}

.intro-handbook h3 {
  margin: 0 0 10px;
  color: var(--green-dark);
  font-size: clamp(1.18rem, 1.8vw, 1.55rem);
  line-height: 1.18;
}

.intro-handbook p {
  max-width: 420px;
  margin-bottom: 18px;
  font-size: 0.96rem;
  line-height: 1.62;
}

.intro-handbook .button {
  min-height: 42px;
  padding-inline: 18px;
  font-size: 0.92rem;
}

.intro-handbook .intro-handbook__preview {
  justify-self: end;
  width: min(100%, 190px);
  min-height: 260px;
  max-height: 300px;
  box-shadow:
    0 18px 44px rgba(6, 68, 76, 0.18),
    0 0 0 6px rgba(255, 255, 255, 0.54);
}

.hadith-card {
  position: relative;
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(6, 68, 76, 0.12);
  border-radius: 8px;
  max-width: 520px;
  margin: 0 auto;
  padding: clamp(34px, 4.4vw, 58px) clamp(28px, 4vw, 48px) clamp(30px, 4vw, 48px);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.98), rgba(255, 253, 247, 0.92)),
    var(--surface);
  box-shadow: 0 24px 60px rgba(6, 68, 76, 0.14);
}

.hadith-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 127, 131, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(15, 127, 131, 0.05) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(135deg, black, transparent 70%);
  opacity: 0.48;
  pointer-events: none;
}

.hadith-card::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(8, 119, 123, 0.12);
  border-radius: 6px;
  pointer-events: none;
}

.hadith-card > * {
  position: relative;
}

.hadith-heading {
  width: fit-content;
  max-width: 100%;
  margin-bottom: 0;
  border-bottom: 2px solid rgba(8, 119, 123, 0.22);
  padding-bottom: 10px;
  color: var(--green-dark);
  font-size: clamp(1.28rem, 2vw, 1.75rem);
  line-height: 1.16;
}

.hadith-arabic {
  margin: clamp(28px, 4vw, 44px) 0 clamp(26px, 4vw, 36px);
  color: var(--teal);
  font-family: "IBM Plex Sans Arabic", "Noto Sans Arabic", Tahoma, Arial, sans-serif;
  font-size: clamp(2.15rem, 4.1vw, 3.85rem);
  font-weight: 600;
  line-height: 1.54;
  text-align: center;
}

.hadith-translation {
  position: relative;
  max-width: 430px;
  margin: 0 auto 14px;
  border: 1px solid rgba(8, 119, 123, 0.12);
  border-radius: 8px;
  padding: 18px clamp(18px, 3vw, 26px);
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(243, 189, 70, 0.16), rgba(11, 141, 146, 0.08)),
    rgba(255, 255, 255, 0.64);
  font-size: clamp(0.98rem, 1.25vw, 1.12rem);
  font-weight: 800;
  line-height: 1.58;
  text-align: center;
  box-shadow:
    0 14px 34px rgba(6, 68, 76, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.hadith-translation::before,
.hadith-translation::after {
  position: absolute;
  color: rgba(8, 119, 123, 0.32);
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1;
}

.hadith-translation::before {
  content: "\201C";
  top: 10px;
  left: 12px;
}

.hadith-translation::after {
  content: "\201D";
  right: 12px;
  bottom: 6px;
}

.hadith-source {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 auto;
  color: var(--green-dark);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-align: center;
}

.hadith-source::before,
.hadith-source::after {
  content: "";
  width: 30px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(8, 119, 123, 0.38));
}

.hadith-source::after {
  background: linear-gradient(90deg, rgba(8, 119, 123, 0.38), transparent);
}

.value-band {
  display: grid;
  gap: clamp(20px, 3vw, 32px);
  padding: clamp(44px, 6vw, 76px) clamp(18px, 6vw, 86px);
  border-block: 1px solid rgba(6, 68, 76, 0.1);
  background:
    linear-gradient(180deg, #fffdf7, #f4efe1);
}

.value-band__heading {
  text-align: center;
}

.value-band__heading h2 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--green-dark);
  font-size: clamp(2rem, 4.2vw, 4.2rem);
  line-height: 1.02;
}

.value-band__heading h2::after {
  display: none;
}

.value-band__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  max-width: 1180px;
  margin: 0 auto;
}

.value-band article {
  display: grid;
  align-content: start;
  min-height: 200px;
  padding: clamp(20px, 2.7vw, 30px);
  border: 1px solid rgba(6, 68, 76, 0.14);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 18px 46px rgba(6, 68, 76, 0.08);
  text-align: left;
  transition: transform 150ms ease, box-shadow 150ms ease, border-color 150ms ease;
}

.value-band article:hover {
  border-color: rgba(6, 68, 76, 0.24);
  box-shadow: var(--shadow-soft);
  transform: translateY(-4px);
}

.value-band article:nth-child(2) {
  background: #f2fbf6;
}

.value-band article:nth-child(3) {
  background: #fff5f2;
}

.value-band article:nth-child(4) {
  background: #eef9fa;
}

.value-band span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: clamp(20px, 3vw, 34px);
  border-radius: 999px;
  color: var(--surface);
  background: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 800;
}

.value-band h3 {
  margin-bottom: 12px;
  color: var(--green-dark);
  font-size: clamp(1.18rem, 1.6vw, 1.45rem);
}

.value-band p {
  max-width: none;
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.55;
}

.pickup-card h3 {
  margin-bottom: 10px;
}

.pickup-card p,
.join-section p,
.impact-copy p {
  color: var(--muted);
  line-height: 1.7;
}

.section--schedule {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(320px, 1fr);
  gap: clamp(34px, 7vw, 90px);
  background: #f4efe1;
}

.schedule-list {
  display: grid;
  gap: 14px;
}

.pickup-card {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 14px 36px rgba(23, 32, 27, 0.06);
}

.pickup-card time {
  display: grid;
  place-items: center;
  min-height: 66px;
  border-radius: 8px;
  color: var(--green-dark);
  background: var(--gold);
  font-weight: 800;
}

.pickup-card p {
  margin-bottom: 0;
}

.pickup-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 110px;
  min-height: 42px;
  border-radius: 8px;
  padding: 0 16px;
  white-space: nowrap;
  color: var(--white);
  background: var(--green);
  font-weight: 800;
}

.impact-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1fr);
  gap: clamp(34px, 7vw, 86px);
  align-items: center;
  padding: clamp(54px, 7vw, 92px) clamp(18px, 6vw, 86px);
  overflow: hidden;
  background:
    linear-gradient(145deg, #053842, var(--green-dark) 58%, #0b8d92);
  color: var(--white);
}

.impact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(90deg, black, transparent 70%);
  pointer-events: none;
}

.impact-section > * {
  position: relative;
}

.impact-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(310px, 36vw, 480px);
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(160deg, rgba(8, 119, 123, 0.92), rgba(15, 127, 131, 0.72)),
    url('assets/img/hero-banner.jpg') center / cover;
  box-shadow: var(--shadow);
}

.impact-visual::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(6, 68, 76, 0.18);
  border-radius: 8px;
}

.impact-visual img {
  position: relative;
  width: min(76%, 380px);
  filter: drop-shadow(0 24px 24px rgba(0, 0, 0, 0.18));
}

.impact-copy p {
  color: rgba(255, 255, 255, 0.74);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 36px;
}

.stats div {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(10px);
}

.stats strong {
  display: block;
  color: var(--orange);
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
}

.stats span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
}

.join-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 0.72fr);
  gap: clamp(34px, 7vw, 90px);
  align-items: start;
  padding: clamp(54px, 7vw, 92px) clamp(18px, 6vw, 86px);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 245, 242, 0.88), transparent 46%),
    linear-gradient(180deg, var(--paper), #fffdf7);
}

.join-section > div:first-child {
  position: sticky;
  top: calc(var(--header-h) + 26px);
}

.join-section h2 {
  max-width: 720px;
  color: var(--green-dark);
}

.join-section p {
  max-width: 620px;
  font-size: clamp(1rem, 1.4vw, 1.14rem);
}

.join-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.join-highlights span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  border: 1px solid rgba(15, 127, 131, 0.18);
  border-radius: 8px;
  padding: 0 13px;
  color: var(--green-dark);
  background: rgba(255, 255, 255, 0.64);
  font-size: 0.84rem;
  font-weight: 800;
}

.join-section .tally-embed {
  border: 1px solid rgba(6, 68, 76, 0.12);
  border-radius: 8px;
  padding: clamp(12px, 2vw, 18px);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-soft);
}

.join-section .tally-embed iframe {
  border: 0;
  box-shadow: none;
}

.section-kicker {
  display: grid;
  gap: 14px;
  max-width: 780px;
  margin: 0 auto clamp(24px, 4vw, 40px);
  text-align: center;
}

.section-kicker h2 {
  margin-bottom: 0;
  color: var(--green-dark);
}

.section-kicker p {
  max-width: 680px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.14rem);
  line-height: 1.72;
}

.path-section,
.steps-section,
.resources-section,
.recent-impact-section,
.footer-cta-section {
  padding: clamp(50px, 7vw, 88px) clamp(18px, 6vw, 86px);
}

.path-section {
  background:
    linear-gradient(135deg, rgba(11, 141, 146, 0.08), rgba(243, 189, 70, 0.1) 46%, rgba(255, 253, 247, 0.95)),
    linear-gradient(180deg, var(--surface), #f4efe1);
}

.path-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
  max-width: 1240px;
  margin: 0 auto;
}

.path-card,
.step-flow article,
.resource-grid article {
  display: grid;
  align-content: start;
  min-height: 218px;
  border: 1px solid rgba(6, 68, 76, 0.13);
  border-radius: 8px;
  padding: clamp(20px, 2.7vw, 30px);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 46px rgba(6, 68, 76, 0.08);
}

.path-card {
  --card-accent: #0b8d92;
  --card-accent-soft: rgba(11, 141, 146, 0.12);
  position: relative;
  grid-template-rows: auto auto 1fr auto;
  min-height: clamp(300px, 28vw, 358px);
  overflow: hidden;
  border-color: rgba(6, 68, 76, 0.1);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 253, 247, 0.86) 62%, var(--card-accent-soft) 100%);
  box-shadow:
    0 24px 60px rgba(6, 68, 76, 0.11),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
  color: inherit;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.path-card:nth-child(1) {
  --card-accent: #b98252;
  --card-accent-soft: rgba(185, 130, 82, 0.15);
}

.path-card:nth-child(2) {
  --card-accent: #0b8d92;
  --card-accent-soft: rgba(11, 141, 146, 0.14);
}

.path-card:nth-child(3) {
  --card-accent: #536bb1;
  --card-accent-soft: rgba(83, 107, 177, 0.13);
}

.path-card:nth-child(4) {
  --card-accent: #2d8ac5;
  --card-accent-soft: rgba(45, 138, 197, 0.13);
}

.path-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--card-accent), rgba(255, 255, 255, 0.4));
}

.path-card::after {
  content: "";
  position: absolute;
  inset: 4px 0 auto;
  height: 86px;
  background: linear-gradient(180deg, var(--card-accent-soft), transparent);
  pointer-events: none;
}

.path-card > * {
  position: relative;
  z-index: 1;
}

.path-card:hover,
.path-card:focus-visible {
  border-color: color-mix(in srgb, var(--card-accent) 38%, rgba(6, 68, 76, 0.16));
  box-shadow:
    0 30px 72px rgba(6, 68, 76, 0.16),
    0 0 0 1px var(--card-accent-soft),
    inset 0 1px 0 rgba(255, 255, 255, 0.94);
  transform: translateY(-6px);
}

.path-card:focus-visible {
  outline: 3px solid rgba(8, 119, 123, 0.5);
  outline-offset: 4px;
}

.path-card__icon,
.resource-grid article > span {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: clamp(22px, 3vw, 34px);
  border-radius: 8px;
  color: var(--surface);
  background: var(--green-dark);
  font-size: 0.86rem;
  font-weight: 800;
}

.path-card__icon {
  width: clamp(86px, 6vw, 110px);
  height: clamp(76px, 6vw, 104px);
  padding: 0;
  border-radius: 0;
  background: transparent;
  filter: drop-shadow(0 18px 22px rgba(6, 68, 76, 0.12));
}

.path-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.path-card h3,
.step-flow h3,
.resource-grid h3 {
  margin-bottom: 12px;
  color: var(--green-dark);
  font-size: clamp(1.16rem, 1.55vw, 1.45rem);
}

.path-card h3 {
  font-size: clamp(1.28rem, 1.8vw, 1.7rem);
  line-height: 1.15;
  letter-spacing: 0;
}

.path-card p,
.step-flow p,
.resource-grid p,
.campaign-feature p {
  color: var(--muted);
  line-height: 1.65;
}

.path-card p {
  max-width: 26ch;
  margin-bottom: 20px;
  font-size: clamp(0.98rem, 1.25vw, 1.08rem);
}

.path-card__cta,
.step-flow a,
.resource-grid a {
  align-self: end;
  margin-top: 22px;
  color: var(--green-dark);
  font-weight: 800;
}

.path-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  padding: 0 18px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent 34%),
    linear-gradient(135deg, #0b8d92, #08777b);
  box-shadow:
    0 14px 28px rgba(6, 68, 76, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: transform 150ms ease, box-shadow 150ms ease, filter 150ms ease;
}

.path-card__cta--soon {
  border-color: rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent 34%),
    linear-gradient(135deg, #17201b, #06444c);
  box-shadow:
    0 14px 28px rgba(3, 28, 32, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.path-card:hover .path-card__cta,
.path-card:focus-visible .path-card__cta {
  transform: translateY(-2px);
  filter: brightness(1.04);
  box-shadow:
    0 18px 34px rgba(6, 68, 76, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.step-flow a::after,
.resource-grid a::after {
  content: " ->";
}

.is-placeholder {
  color: var(--coral-text) !important;
}

.is-placeholder::after {
  content: " (placeholder)" !important;
}

.steps-section {
  background: var(--paper);
}

.step-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 28px);
  max-width: 1080px;
  margin: 0 auto;
}

.step-flow article {
  position: relative;
  min-height: 240px;
}

.step-flow article:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: calc(clamp(16px, 3vw, 28px) / -2 - 12px);
  width: 24px;
  height: 2px;
  border-radius: 999px;
  background: rgba(15, 127, 131, 0.36);
}

.step-flow article > span {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 28px;
  border-radius: 8px;
  color: var(--white);
  background: var(--orange);
  font-size: 1.4rem;
  font-weight: 800;
}

.impact-copy--wide {
  grid-column: 1 / -1;
  max-width: 1180px;
  margin: 0 auto;
  text-align: center;
}

.impact-copy--wide p {
  max-width: 620px;
  margin: 18px auto 0;
}

.stats--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat-placeholder {
  color: var(--gold) !important;
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.campaign-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(300px, 0.62fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: center;
  padding: clamp(54px, 7vw, 92px) clamp(18px, 6vw, 86px);
  background:
    linear-gradient(135deg, rgba(255, 245, 242, 0.86), transparent 48%),
    var(--surface);
}

.campaign-feature h2 {
  max-width: 760px;
  color: var(--green-dark);
}

.campaign-feature__copy p {
  max-width: 640px;
  font-size: clamp(1rem, 1.45vw, 1.16rem);
}

.campaign-feature__copy .button {
  margin-top: 16px;
}

.campaign-feature__panel {
  display: grid;
  gap: 14px;
  border: 1px dashed rgba(6, 68, 76, 0.34);
  border-radius: 8px;
  padding: clamp(22px, 4vw, 34px);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-soft);
}

.campaign-feature__panel span,
.impact-story span {
  color: var(--coral-text);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.campaign-feature__panel strong {
  color: var(--green-dark);
  font-size: clamp(1.3rem, 2.1vw, 2rem);
  line-height: 1.2;
}

.resources-section {
  background:
    linear-gradient(180deg, #f4efe1, var(--surface));
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1080px;
  margin: 0 auto;
}

.recent-impact-section {
  background: var(--paper);
}

.impact-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) repeat(2, minmax(0, 0.72fr));
  grid-template-areas:
    "photo map map"
    "photo quote detail";
  gap: 16px;
  max-width: 1120px;
  margin: 0 auto;
}

.impact-story {
  position: relative;
  display: grid;
  align-content: end;
  min-height: 220px;
  border: 1px solid rgba(6, 68, 76, 0.14);
  border-radius: 8px;
  padding: clamp(20px, 3vw, 32px);
  overflow: hidden;
  background: var(--green-dark);
  color: var(--white);
  box-shadow: var(--shadow-soft);
}

.impact-story::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 68, 76, 0.08), rgba(4, 47, 53, 0.82));
  pointer-events: none;
}

.impact-story img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.impact-story img {
  object-fit: cover;
}

.impact-story > div {
  position: relative;
  z-index: 1;
}

.impact-story strong {
  display: block;
  max-width: 520px;
  color: var(--white);
  font-size: clamp(1.25rem, 2vw, 2rem);
  line-height: 1.22;
}

.impact-story span {
  color: var(--orange);
  margin-bottom: 10px;
}

.impact-story--photo {
  grid-area: photo;
  min-height: 420px;
}

.impact-story--map {
  grid-area: map;
}

.impact-story--quote {
  grid-area: quote;
}

.impact-story--detail {
  grid-area: detail;
}

.footer-cta-section {
  display: grid;
  place-items: center;
  text-align: center;
  background:
    linear-gradient(145deg, #053842, var(--green-dark) 64%, #0b8d92);
  color: var(--white);
}

.footer-cta-section > div {
  max-width: 780px;
}

.footer-cta-section h2 {
  color: var(--white);
}

.footer-cta-section .eyebrow {
  color: var(--orange);
}

.join-form {
  display: grid;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(18px, 4vw, 30px);
  background: var(--white);
  box-shadow: var(--shadow);
}

.join-form label {
  display: grid;
  gap: 8px;
  color: var(--green-dark);
  font-size: 0.9rem;
  font-weight: 800;
}

.join-form input,
.join-form select,
.join-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fffdf7;
  outline: 0;
  resize: vertical;
}

.join-form input:focus,
.join-form select:focus,
.join-form textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(15, 127, 131, 0.12);
}

.join-form .button {
  width: 100%;
  border: 0;
}

.home-message-section {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(320px, 0.72fr);
  gap: clamp(28px, 6vw, 82px);
  align-items: start;
  padding: clamp(62px, 8vw, 108px) clamp(18px, 6vw, 86px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(3, 47, 55, 0.96), rgba(6, 68, 76, 0.94) 56%, rgba(11, 141, 146, 0.88)),
    var(--green-dark);
}

.home-message-copy {
  max-width: 620px;
}

.home-message-copy h2 {
  margin-bottom: 18px;
  color: var(--white);
  font-size: clamp(2.1rem, 4vw, 4.5rem);
  line-height: 1.02;
}

.home-message-copy p {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.45vw, 1.18rem);
  line-height: 1.72;
}

.home-message-form {
  display: grid;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: clamp(18px, 3vw, 30px);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.22);
}

.home-message-form label {
  display: grid;
  gap: 8px;
  color: var(--green-dark);
  font-size: 0.88rem;
  font-weight: 800;
}

.home-message-form input,
.home-message-form textarea {
  width: 100%;
  border: 1px solid rgba(6, 68, 76, 0.16);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fffdf7;
  outline: 0;
}

.home-message-form textarea {
  resize: vertical;
}

.home-message-form input:focus,
.home-message-form textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(11, 141, 146, 0.12);
}

.home-message-form .button {
  width: 100%;
  border: 0;
}

.form-honey {
  position: absolute;
  left: -10000px;
  width: 1px !important;
  height: 1px !important;
  opacity: 0;
  pointer-events: none;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(18px, 6vw, 86px);
  color: rgba(255, 255, 255, 0.78);
  background: linear-gradient(135deg, #053842, var(--green-dark) 58%, #08777b);
}

.site-footer img {
  width: min(210px, 52vw);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 860px) {
  .nav-toggle {
    display: grid;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 14px;
    right: 14px;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 8px;
    color: var(--white);
    background: rgba(0, 0, 0, 0.78);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(16px);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    padding: 14px;
  }

  .site-nav a::after {
    display: none;
  }

  .hero,
  .section--intro,
  .home-message-section,
  .section--schedule,
  .impact-section,
  .join-section {
    grid-template-columns: 1fr;
  }

  .section--intro {
    gap: 34px;
  }

  .intro-copy {
    max-width: 680px;
    border-top: 4px solid rgba(8, 119, 123, 0.34);
    border-left: 0;
    padding: 28px 0 0;
  }

  .intro-handbook {
    max-width: 680px;
  }

  .hero {
    min-height: 100svh;
    /* T4: clear the fixed-header box at mobile so the full H1 (both lines) and the
       topmost accent overlap render below the header; no upward translate (below). */
    padding-top: calc(var(--header-h) + 20px);
    padding-bottom: 28px;
  }

  .hero::before {
    background-position: 58% center;
  }

  .hero__content {
    transform: translateY(0);
  }

  .path-grid,
  .resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .step-flow,
  .campaign-feature {
    grid-template-columns: 1fr;
  }

  .step-flow article {
    min-height: auto;
  }

  .step-flow article:not(:last-child)::after {
    top: auto;
    right: auto;
    left: 26px;
    bottom: -18px;
    width: 2px;
    height: 20px;
  }

  .campaign-feature__panel {
    max-width: 560px;
  }

  .group-next__grid {
    grid-template-columns: 1fr;
  }

  .impact-story-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "photo"
      "map"
      "quote"
      "detail";
  }

  .impact-story--photo {
    min-height: 380px;
  }

  .value-band__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .value-band article {
    min-height: 180px;
  }

  .join-section > div:first-child {
    position: static;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .stats--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: clamp(2.25rem, 11vw, 3.35rem);
  }

  h2 {
    font-size: clamp(1.85rem, 9vw, 2.65rem);
  }

  .hero {
    min-height: 100svh;
    align-items: end;
    padding-top: calc(var(--header-h) + 42px);
    padding-right: 28px;
    padding-left: 28px;
    padding-bottom: clamp(54px, 14vw, 86px);
  }

  .hero::before {
    background-position: 58% center;
    transform: scale(1.12);
  }

  .hero::after {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(3, 28, 32, 0.32) 42%, rgba(0, 0, 0, 0.5) 100%),
      linear-gradient(90deg, rgba(3, 28, 32, 0.48), rgba(3, 28, 32, 0.14));
  }

  .hero__content {
    align-self: end;
    max-width: 19rem;
  }

  .hero h1 {
    margin-bottom: 24px;
    font-size: clamp(2rem, 10vw, 3rem);
    line-height: 1.09;
  }

  .hero h1 span {
    display: block;
  }

  .hero__text {
    max-width: 18rem;
    font-size: clamp(0.82rem, 3.6vw, 0.94rem);
    line-height: 1.52;
  }

  .hero__text {
    font-size: 0;
  }

  .hero__text::before {
    content: "Helping Muslim communities organise local litter picks.";
    font-size: clamp(0.9rem, 4vw, 1rem);
    line-height: 1.55;
  }

  .hero__actions {
    margin-top: 32px;
  }

  .hero__actions,
  .button {
    width: 100%;
  }

  .hero-cta {
    min-height: 56px;
    border-radius: 10px;
    box-shadow:
      0 20px 42px rgba(0, 0, 0, 0.36),
      0 0 28px rgba(11, 141, 146, 0.32),
      inset 0 1px 0 rgba(255, 255, 255, 0.82);
  }

  .section,
  .path-section,
  .home-message-section,
  .group-hero,
  .group-next,
  .steps-section,
  .resources-section,
  .recent-impact-section,
  .footer-cta-section,
  .campaign-feature,
  .value-band,
  .impact-section,
  .join-section {
    padding-right: 16px;
    padding-left: 16px;
  }

  .hadith-card {
    padding: 30px 22px 24px;
  }

  .intro-handbook {
    grid-template-columns: 1fr;
  }

  .intro-handbook .intro-handbook__preview {
    justify-self: stretch;
    width: min(100%, 320px);
    min-height: 360px;
    max-height: 420px;
  }

  .hadith-card::after {
    inset: 10px;
  }

  .hadith-heading {
    font-size: 1.2rem;
  }

  .hadith-arabic {
    margin-top: 24px;
    margin-bottom: 24px;
    font-size: clamp(1.65rem, 10vw, 2.4rem);
    line-height: 1.56;
  }

  .value-band__grid {
    grid-template-columns: 1fr;
  }

  .path-grid,
  .group-next__grid,
  .resource-grid,
  .stats--four {
    grid-template-columns: 1fr;
  }

  .path-card,
  .step-flow article,
  .resource-grid article {
    min-height: auto;
  }

  .section-kicker {
    text-align: left;
  }

  .section-kicker p {
    margin-left: 0;
    margin-right: 0;
  }

  .impact-copy--wide {
    text-align: left;
  }

  .impact-copy--wide p {
    margin-left: 0;
    margin-right: 0;
  }

  .impact-story--photo {
    min-height: 240px;
  }

  .value-band article {
    min-height: auto;
  }

  .pickup-card {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .pickup-card time {
    width: 84px;
  }

  .pickup-card a {
    width: 100%;
  }

  .impact-visual {
    min-height: 260px;
  }

  .stats div {
    padding: 18px;
  }

  .join-highlights {
    display: grid;
  }

  .join-highlights span {
    justify-content: center;
  }
}

.button--dark {
  color: var(--white);
  background: var(--green-dark);
}

.button--outline {
  border-color: var(--green);
  color: var(--green-dark);
  background: transparent;
}

.group-page {
  background: var(--paper);
}

.group-hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  padding: calc(var(--header-h) + clamp(34px, 7vw, 88px)) clamp(18px, 6vw, 86px) clamp(44px, 7vw, 86px);
  color: var(--white);
  background: var(--green-dark);
}

.group-hero::before,
.group-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.group-hero::before {
  background: url("assets/img/mosque.jpg") center / cover;
  transform: scale(1.02);
}

.group-hero--volunteers::before {
  background-image: url("assets/img/IMG_4272.png");
}

.group-hero--isocs::before {
  background-image: url("assets/img/universityisoc.jpg");
}

.group-hero--organisation::before {
  background-image: url("assets/img/Organisation.jpg");
}

.group-hero::after {
  background:
    linear-gradient(90deg, rgba(3, 28, 32, 0.62) 0%, rgba(3, 28, 32, 0.34) 48%, rgba(3, 28, 32, 0.14) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.28));
}

.group-hero__content {
  display: grid;
  justify-items: start;
  max-width: 820px;
  text-shadow:
    0 3px 8px rgba(0, 0, 0, 0.92),
    0 10px 24px rgba(0, 0, 0, 0.82),
    0 24px 52px rgba(0, 0, 0, 0.72),
    0 36px 74px rgba(3, 28, 32, 0.62);
}

.group-hero__icon {
  width: clamp(76px, 10vw, 128px);
  height: clamp(76px, 10vw, 128px);
  margin-bottom: clamp(18px, 3vw, 30px);
  object-fit: contain;
  filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.28));
}

.group-hero h1 {
  max-width: 760px;
  margin-bottom: 18px;
  color: var(--white);
  font-size: clamp(3rem, 7vw, 7rem);
  line-height: 0.94;
}

.group-hero--mosques h1,
.group-hero--volunteers h1,
.group-hero--isocs h1,
.group-hero--organisation h1 {
  font-size: clamp(2rem, 4.1vw, 4.2rem);
  line-height: 1.02;
}

.group-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 1.8vw, 1.28rem);
  line-height: 1.7;
}

.group-next {
  display: grid;
  gap: clamp(28px, 5vw, 52px);
  padding: clamp(58px, 8vw, 104px) clamp(18px, 6vw, 86px);
  background:
    linear-gradient(180deg, rgba(255, 253, 247, 0.96), rgba(244, 239, 225, 0.82)),
    var(--paper);
}

.group-next__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: clamp(14px, 2vw, 20px);
  max-width: 1180px;
  margin: 0 auto;
}

.group-next__grid article {
  display: grid;
  align-content: start;
  min-height: 220px;
  border: 1px solid rgba(6, 68, 76, 0.13);
  border-radius: 8px;
  padding: clamp(20px, 3vw, 30px);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 46px rgba(6, 68, 76, 0.08);
}

.group-next__grid span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 24px;
  border-radius: 8px;
  color: var(--white);
  background: var(--orange);
  font-weight: 800;
}

.group-next__grid h3 {
  margin-bottom: 12px;
  color: var(--green-dark);
  font-size: clamp(1.16rem, 1.55vw, 1.45rem);
}

.group-next__grid p {
  color: var(--muted);
  line-height: 1.65;
}

.group-card-button {
  align-self: end;
  justify-self: start;
  margin-top: 20px;
}

.group-next__cta {
  justify-self: center;
  margin-top: clamp(4px, 1vw, 12px);
}

.mosque-help-summary {
  position: relative;
  overflow: hidden;
  padding: clamp(36px, 5vw, 68px) clamp(18px, 6vw, 86px) clamp(30px, 4vw, 52px);
  background:
    linear-gradient(90deg, rgba(15, 127, 131, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(15, 127, 131, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 253, 247, 0.98), rgba(251, 248, 239, 0.92)),
    var(--surface);
  background-size: 38px 38px, 38px 38px, auto, auto;
}

.mosque-help-summary::before {
  content: "";
  position: absolute;
  inset: clamp(18px, 4vw, 54px);
  border: 1px solid rgba(6, 68, 76, 0.08);
  border-radius: 8px;
  pointer-events: none;
}

.mosque-help-summary > * {
  position: relative;
}

.mosque-help-summary__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 22px);
  width: min(100%, 1240px);
  margin: 0 auto;
}

.mosque-help-card {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: center;
  min-height: 250px;
  overflow: hidden;
  border: 1px solid rgba(6, 68, 76, 0.12);
  border-radius: 8px;
  padding: clamp(22px, 2.6vw, 32px);
  text-align: center;
  background:
    radial-gradient(circle at 85% 12%, rgba(8, 119, 123, 0.13), transparent 28%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.94), rgba(255, 253, 247, 0.82));
  box-shadow:
    0 18px 44px rgba(6, 68, 76, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

.mosque-help-card::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(8, 119, 123, 0.09);
  border-radius: 6px;
  pointer-events: none;
}

.mosque-help-card img {
  width: clamp(110px, 8vw, 148px);
  height: clamp(110px, 8vw, 148px);
  margin-bottom: clamp(18px, 2vw, 26px);
  object-fit: contain;
  filter: drop-shadow(0 14px 20px rgba(6, 68, 76, 0.16));
}

.mosque-help-card h3 {
  margin: 0;
  color: var(--green-dark);
  font-size: clamp(1.04rem, 1.34vw, 1.24rem);
  line-height: 1.25;
}

.mosque-process {
  position: relative;
  overflow: hidden;
}

.mosque-help-summary + .mosque-process {
  padding-top: clamp(34px, 4.5vw, 58px);
}

.mosque-process::before {
  content: "";
  position: absolute;
  inset: clamp(18px, 4vw, 54px);
  border: 1px solid rgba(6, 68, 76, 0.08);
  border-radius: 8px;
  pointer-events: none;
}

.mosque-process > * {
  position: relative;
}

.mosque-process__steps {
  display: grid;
  gap: clamp(22px, 3vw, 34px);
  width: min(100%, 980px);
  margin: 0 auto;
  align-items: start;
}

.mosque-process__card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 0.46fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 34px);
  align-items: center;
  min-height: 0;
  border: 1px solid rgba(6, 68, 76, 0.13);
  border-radius: 8px;
  padding: clamp(22px, 3vw, 32px);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 46px rgba(6, 68, 76, 0.08);
}

.mosque-process--patterned .mosque-process__steps {
  width: min(100%, 1040px);
  gap: clamp(24px, 3.2vw, 38px);
}

.mosque-process--patterned .mosque-process__card {
  overflow: hidden;
  grid-template-columns: 1fr;
  border-color: rgba(6, 68, 76, 0.12);
  padding: clamp(24px, 3.4vw, 38px);
  background:
    linear-gradient(90deg, rgba(15, 127, 131, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(15, 127, 131, 0.055) 1px, transparent 1px),
    radial-gradient(circle at 12% 16%, rgba(8, 119, 123, 0.12), transparent 28%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.96), rgba(255, 253, 247, 0.9)),
    var(--surface);
  background-size: 34px 34px, 34px 34px, auto, auto, auto;
  box-shadow:
    0 22px 58px rgba(6, 68, 76, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.mosque-process--patterned .mosque-process__card::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(8, 119, 123, 0.1);
  border-radius: 6px;
  pointer-events: none;
}

.mosque-process--patterned .mosque-process__card > * {
  position: relative;
  z-index: 1;
}

.mosque-process--patterned .mosque-process__card:not(:last-child)::after {
  left: clamp(40px, 5vw, 62px);
}

.mosque-process--patterned .mosque-process__copy {
  max-width: 760px;
}

.mosque-process__card--guide {
  grid-template-columns: minmax(0, 0.78fr) minmax(220px, 0.42fr);
  align-items: center;
}

.mosque-process--patterned .mosque-process__card--guide {
  grid-template-columns: minmax(0, 0.76fr) minmax(220px, 0.42fr);
}

.mosque-process__guide-preview {
  justify-self: end;
  width: min(100%, 240px);
  aspect-ratio: 0.78;
  min-height: 0;
  max-height: 310px;
  border-radius: 8px;
  box-shadow:
    0 22px 54px rgba(6, 68, 76, 0.18),
    0 0 0 6px rgba(255, 255, 255, 0.56);
}

.mosque-process__media {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: clamp(180px, 18vw, 250px);
  margin: 0;
  border-radius: 8px;
  background: var(--green-dark);
}

.mosque-process__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(3, 28, 32, 0.04), rgba(3, 28, 32, 0.32)),
    linear-gradient(90deg, rgba(8, 119, 123, 0.16), transparent 58%);
  pointer-events: none;
}

.mosque-process__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mosque-process__media--wide {
  height: clamp(210px, 20vw, 280px);
}

.mosque-process__card:not(:last-child)::after {
  content: "";
  position: absolute;
  left: clamp(34px, 4.5vw, 54px);
  bottom: calc(clamp(22px, 3vw, 34px) * -1);
  width: 2px;
  height: clamp(22px, 3vw, 34px);
  background: linear-gradient(180deg, rgba(8, 119, 123, 0.28), rgba(8, 119, 123, 0.72));
}

.mosque-process__copy {
  display: grid;
  align-content: center;
}

.mosque-process__number {
  display: inline-grid;
  place-items: center;
  width: fit-content;
  min-height: 34px;
  margin-bottom: 24px;
  border-radius: 8px;
  padding: 0 14px;
  color: var(--white);
  background: var(--orange);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  box-shadow: 0 10px 22px rgba(8, 119, 123, 0.22);
}

.mosque-process__card h3 {
  margin-bottom: 12px;
  color: var(--green-dark);
  font-size: clamp(1.18rem, 1.7vw, 1.58rem);
}

.mosque-process__card p {
  color: var(--muted);
  line-height: 1.65;
}

.mosque-process__link {
  justify-self: start;
  margin-top: 24px;
  border-bottom: 2px solid rgba(8, 119, 123, 0.42);
  color: var(--green-dark);
  font-weight: 800;
}

.mosque-process__button {
  justify-self: start;
  margin-top: 24px;
}

.mosque-process__card--form {
  align-items: start;
  gap: clamp(12px, 1.8vw, 20px);
  padding-top: clamp(20px, 2.8vw, 30px);
}

.mosque-process__card--form .mosque-process__copy {
  align-content: start;
}

.mosque-process__card--form .mosque-process__copy p {
  margin-bottom: 0;
  font-weight: 700;
}

.mosque-carousel-form {
  --mosque-form-offset: 0%;
  --mosque-form-progress: 25%;
  --mosque-form-active-height: auto;
  display: grid;
  gap: 22px;
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(6, 68, 76, 0.14);
  border-radius: 8px;
  padding: clamp(20px, 2.8vw, 32px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(244, 252, 250, 0.84)),
    radial-gradient(circle at 96% 0%, rgba(8, 119, 123, 0.16), transparent 34%),
    rgba(255, 255, 255, 0.88);
  box-shadow:
    0 22px 58px rgba(6, 68, 76, 0.13),
    0 2px 10px rgba(6, 68, 76, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.mosque-carousel-form__top {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.mosque-carousel-form__top p {
  margin: 0;
  border: 0;
  border-radius: 0;
  padding: 0;
  color: var(--green-dark);
  background: transparent;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  box-shadow: none;
}

.mosque-carousel-form__progress {
  overflow: hidden;
  height: 9px;
  border-radius: 999px;
  background: rgba(6, 68, 76, 0.09);
  box-shadow: inset 0 1px 2px rgba(6, 68, 76, 0.08);
}

.mosque-carousel-form__progress span {
  display: block;
  width: var(--mosque-form-progress);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--orange), var(--teal));
  transition: width 280ms ease;
}

.mosque-carousel-form__viewport {
  overflow: hidden;
  height: var(--mosque-form-active-height);
  transition: height 220ms ease;
}

.mosque-carousel-form__track {
  display: flex;
  transform: translateX(var(--mosque-form-offset));
  transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.mosque-carousel-form__slide {
  display: grid;
  align-content: start;
  flex: 0 0 100%;
  min-height: 0;
  padding: 4px;
}

.mosque-carousel-form__slide[aria-hidden="true"] {
  visibility: hidden;
  height: 0;
  min-height: 0;
  overflow: hidden;
}

.mosque-carousel-form__field,
.mosque-carousel-form__fieldset {
  display: grid;
  gap: 15px;
  position: relative;
  min-width: 0;
  border: 0;
  margin: 0;
  padding: 0;
}

.mosque-carousel-form__field > span,
.mosque-carousel-form__fieldset legend {
  margin-bottom: 4px;
  color: var(--green-dark);
  font-size: clamp(1.28rem, 2.2vw, 1.9rem);
  font-weight: 800;
  line-height: 1.12;
}

.mosque-carousel-form__field small {
  max-width: 32rem;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.mosque-carousel-form input[type="text"],
.mosque-carousel-form input[type="tel"],
.mosque-carousel-form select,
.mosque-carousel-form textarea {
  width: 100%;
  min-height: 56px;
  border: 1px solid rgba(6, 68, 76, 0.16);
  border-radius: 8px;
  padding: 0 16px;
  color: var(--green-dark);
  background: rgba(255, 255, 255, 0.96);
  box-shadow:
    0 10px 24px rgba(6, 68, 76, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.mosque-carousel-form textarea {
  min-height: 150px;
  padding: 14px 16px;
  resize: vertical;
  line-height: 1.5;
}

.mosque-carousel-form input[type="text"]:focus,
.mosque-carousel-form input[type="tel"]:focus,
.mosque-carousel-form textarea:focus,
.mosque-carousel-form select:focus,
.mosque-option-card:focus-within {
  border-color: rgba(8, 119, 123, 0.62);
  box-shadow:
    0 0 0 4px rgba(8, 119, 123, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.94);
}

.mosque-carousel-form input[aria-invalid="true"],
.mosque-carousel-form textarea[aria-invalid="true"],
.mosque-carousel-form select[aria-invalid="true"] {
  border-color: rgba(184, 67, 46, 0.8);
  box-shadow: 0 0 0 4px rgba(184, 67, 46, 0.1);
}

.mosque-name-hint {
  display: block;
  margin-top: -4px;
  border-left: 3px solid rgba(8, 119, 123, 0.34);
  border-radius: 4px;
  padding: 8px 10px;
  color: #46585d;
  background: rgba(236, 249, 246, 0.62);
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.45;
}

.mosque-name-suggestions {
  z-index: 20;
  overflow: hidden;
  max-height: min(320px, 48vh);
  margin-top: -6px;
  overflow-y: auto;
  border: 1px solid rgba(12, 24, 28, 0.12);
  border-radius: 8px;
  color: #101819;
  background: #fff;
  box-shadow:
    0 22px 48px rgba(10, 24, 28, 0.18),
    0 2px 8px rgba(10, 24, 28, 0.08);
}

.mosque-name-suggestions[hidden] {
  display: none;
}

.mosque-name-suggestions__item {
  display: grid;
  gap: 3px;
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(12, 24, 28, 0.08);
  padding: 12px 14px;
  color: #101819;
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition: background 140ms ease, color 140ms ease;
}

.mosque-name-suggestions__item:last-child {
  border-bottom: 0;
}

.mosque-name-suggestions__item:hover,
.mosque-name-suggestions__item:focus {
  color: #061f24;
  background: #f4fbfa;
  outline: none;
}

.mosque-name-suggestions__item span {
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.25;
}

.mosque-name-suggestions__item small {
  color: #46585d;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.35;
}

.mosque-address-match {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(8, 119, 123, 0.16);
  border-radius: 8px;
  padding: 14px;
  color: var(--green-dark);
  background:
    linear-gradient(135deg, rgba(8, 119, 123, 0.08), rgba(255, 255, 255, 0.88)),
    rgba(255, 255, 255, 0.78);
}

.mosque-address-match[hidden] {
  display: none;
}

.mosque-address-match p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.45;
}

.mosque-address-match__select {
  display: grid;
  gap: 8px;
}

.mosque-address-match__select[hidden] {
  display: none;
}

.mosque-address-match__select span {
  color: var(--green-dark);
  font-size: 0.86rem;
  font-weight: 800;
}

.mosque-option-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  border: 1px solid rgba(6, 68, 76, 0.13);
  border-radius: 8px;
  padding: 16px;
  color: var(--green-dark);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(249, 253, 251, 0.82)),
    rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 28px rgba(6, 68, 76, 0.07);
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.mosque-option-card:hover {
  transform: translateY(-2px);
  border-color: rgba(8, 119, 123, 0.32);
  box-shadow: 0 16px 34px rgba(6, 68, 76, 0.1);
}

.mosque-option-card.is-selected {
  border-color: rgba(8, 119, 123, 0.68);
  background:
    linear-gradient(135deg, rgba(8, 119, 123, 0.16), rgba(255, 255, 255, 0.92)),
    rgba(255, 255, 255, 0.9);
  box-shadow:
    0 16px 34px rgba(6, 68, 76, 0.12),
    0 0 0 3px rgba(8, 119, 123, 0.08);
}

.mosque-option-card input {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--orange);
}

.mosque-option-card span {
  display: grid;
  gap: 4px;
  font-weight: 800;
  line-height: 1.32;
}

.mosque-option-card small {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
}

.mosque-carousel-form__error {
  min-height: 1.4em;
  margin: 0;
  color: var(--coral-text);
  font-size: 0.88rem;
  font-weight: 700;
}

.mosque-carousel-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
}

.mosque-carousel-form__actions .button {
  min-width: 132px;
}

.mosque-carousel-form__actions .button.is-hidden {
  display: none !important;
}

.mosque-carousel-form__actions .button--primary,
.mosque-carousel-form__success .button--primary {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.28) 0%, transparent 30%),
    linear-gradient(135deg, #0b9fa4 0%, #08777b 52%, #045761 100%);
  box-shadow:
    0 18px 38px rgba(6, 68, 76, 0.26),
    0 0 28px rgba(11, 141, 146, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.mosque-carousel-form__actions .button--primary:hover,
.mosque-carousel-form__success .button--primary:hover {
  box-shadow:
    0 24px 48px rgba(6, 68, 76, 0.32),
    0 0 34px rgba(11, 141, 146, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

.mosque-carousel-form__actions .button--secondary {
  border-color: rgba(6, 68, 76, 0.18);
  color: var(--green-dark);
  background: rgba(255, 255, 255, 0.68);
}

.mosque-carousel-form__success {
  border: 1px solid rgba(8, 119, 123, 0.22);
  border-radius: 8px;
  padding: 20px;
  color: var(--green-dark);
  background:
    radial-gradient(circle at top right, rgba(8, 119, 123, 0.14), transparent 32%),
    rgba(236, 249, 246, 0.9);
  box-shadow: 0 18px 38px rgba(6, 68, 76, 0.1);
}

.mosque-carousel-form__success strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.08rem;
}

.mosque-carousel-form__success p {
  margin: 0;
}

.mosque-carousel-form__guide {
  justify-self: start;
  margin-top: 16px;
}

.mosque-carousel-form.is-complete .mosque-carousel-form__top,
.mosque-carousel-form.is-complete .mosque-carousel-form__viewport,
.mosque-carousel-form.is-complete .mosque-carousel-form__error,
.mosque-carousel-form.is-complete .mosque-carousel-form__actions {
  display: none;
}

.mosque-process__card--support {
  grid-template-columns: minmax(240px, 0.44fr) minmax(0, 1fr);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.92), rgba(255, 253, 247, 0.9)),
    var(--surface);
}

.mosque-process--patterned .mosque-process__card--support {
  grid-template-columns: 1fr;
}

.mosque-process__card--support .mosque-process__media {
  grid-row: 1 / span 2;
  align-self: stretch;
  height: auto;
  min-height: clamp(300px, 32vw, 420px);
}

.mosque-process__card--support > .mosque-process__support-head,
.mosque-process__card--support > .mosque-support-grid {
  grid-column: 2;
}

.mosque-process--patterned .mosque-process__card--support > .mosque-process__support-head,
.mosque-process--patterned .mosque-process__card--support > .mosque-support-grid {
  grid-column: auto;
}

.mosque-process__support-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(14px, 2vw, 22px);
  align-items: start;
  margin-bottom: clamp(12px, 1.6vw, 18px);
}

.mosque-process--patterned .mosque-process__support-head {
  max-width: 820px;
}

.mosque-process__support-head .mosque-process__number {
  margin-bottom: 0;
}

.mosque-process__support-head h3 {
  margin-bottom: 8px;
}

.mosque-process__support-head p {
  max-width: 620px;
}

.mosque-support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(210px, 1fr));
  gap: 12px;
}

.mosque-process--patterned .mosque-support-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.8vw, 18px);
}

.mosque-support-grid div {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(6, 68, 76, 0.1);
  border-radius: 8px;
  padding: clamp(16px, 2vw, 20px);
  background: rgba(255, 255, 255, 0.72);
}

.mosque-support-grid div:last-child {
  grid-column: 1 / -1;
}

.mosque-process--patterned .mosque-support-grid div:last-child {
  grid-column: auto;
}

.mosque-support-grid h4 {
  margin: 0;
  color: var(--green-dark);
  font-size: 1rem;
  line-height: 1.22;
}

.mosque-support-grid p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.58;
}

@media (max-width: 1120px) {
  .mosque-help-summary__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .group-next__grid {
    grid-template-columns: 1fr;
  }

  .mosque-help-summary__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mosque-help-card {
    min-height: 240px;
  }

  .mosque-process__steps {
    grid-template-columns: 1fr;
  }

  .mosque-process__card,
  .mosque-process__card--support {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .mosque-process__card--guide,
  .mosque-process--patterned .mosque-process__card--guide {
    grid-template-columns: 1fr;
  }

  .mosque-process__guide-preview {
    justify-self: start;
    width: min(100%, 320px);
  }

  .mosque-process--patterned .mosque-support-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mosque-process__media,
  .mosque-process__media--wide,
  .mosque-process__card--support .mosque-process__media {
    grid-row: auto;
    height: clamp(220px, 42vw, 320px);
    min-height: 0;
  }

  .mosque-process__card--support > .mosque-process__support-head,
  .mosque-process__card--support > .mosque-support-grid {
    grid-column: auto;
  }

  .mosque-process__card:not(:last-child)::after {
    top: auto;
    right: auto;
    left: 32px;
    bottom: -22px;
    width: 2px;
    height: 22px;
    background: linear-gradient(180deg, rgba(8, 119, 123, 0.28), rgba(8, 119, 123, 0.72));
    transform: none;
  }
}

@media (max-width: 560px) {
  .group-next,
  .mosque-help-summary {
    padding-right: 16px;
    padding-left: 16px;
  }

  .group-hero {
    padding-right: 28px;
    padding-left: 28px;
  }

  .group-hero--mosques {
    align-items: end;
    padding-top: calc(var(--header-h) + 42px);
    padding-bottom: clamp(54px, 14vw, 86px);
  }

  .group-hero--mosques::before {
    background-position: 42% center;
    transform: scale(1.12);
  }

  .group-hero--mosques::after {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, rgba(3, 28, 32, 0.34) 42%, rgba(0, 0, 0, 0.54) 100%),
      linear-gradient(90deg, rgba(3, 28, 32, 0.58), rgba(3, 28, 32, 0.18));
  }

  .group-hero--mosques .group-hero__content {
    align-self: end;
    max-width: 19rem;
  }

  .group-hero h1 {
    font-size: clamp(2.15rem, 12vw, 3.55rem);
  }

  .group-hero--mosques h1,
  .group-hero--volunteers h1,
  .group-hero--isocs h1,
  .group-hero--organisation h1 {
    margin-bottom: 24px;
    font-size: clamp(2.25rem, 13vw, 3.75rem);
    line-height: 1.02;
  }

  .group-hero p {
    font-size: clamp(0.88rem, 4vw, 1rem);
    line-height: 1.58;
  }

  .group-hero--mosques p {
    max-width: 18rem;
    font-size: 0;
  }

  .group-hero--mosques p::before {
    content: "Free resources, equipment and guidance to help your mosque organise local litter picks.";
    font-size: clamp(0.9rem, 4vw, 1rem);
    line-height: 1.55;
  }

  .group-hero--mosques .hero__actions {
    margin-top: 32px;
  }

  .group-next__grid {
    grid-template-columns: 1fr;
  }

  .mosque-help-summary__grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .mosque-help-card {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    justify-items: start;
    align-content: center;
    min-height: 0;
    padding: 12px 14px;
    text-align: left;
  }

  .mosque-help-card::before {
    inset: 6px;
  }

  .mosque-help-card img {
    width: 54px;
    height: 54px;
    margin: 0;
  }

  .mosque-help-card h3 {
    font-size: 0.98rem;
    line-height: 1.22;
  }

  .mosque-process__support-head,
  .mosque-support-grid {
    grid-template-columns: 1fr;
  }

  .mosque-carousel-form {
    gap: 16px;
    padding: 18px;
  }

  .mosque-carousel-form__top {
    grid-template-columns: 1fr;
  }

  .mosque-carousel-form__top p {
    justify-self: start;
  }

  .mosque-carousel-form__slide {
    min-height: 0;
    padding: 2px;
  }

  .mosque-carousel-form__field > span,
  .mosque-carousel-form__fieldset legend {
    font-size: clamp(1.18rem, 6vw, 1.45rem);
  }

  .mosque-carousel-form__actions {
    gap: 10px;
  }

  .mosque-carousel-form textarea {
    min-height: 130px;
  }

  .mosque-process__support-head {
    gap: 10px;
  }

  .mosque-process__guide-preview {
    width: min(100%, 280px);
    min-height: 0;
    max-height: 360px;
  }

  .mosque-process--patterned .mosque-support-grid {
    grid-template-columns: 1fr;
  }

  .mosque-process__media,
  .mosque-process__media--wide,
  .mosque-process__card--support .mosque-process__media {
    height: clamp(190px, 56vw, 280px);
  }

  .mosque-support-grid div:last-child {
    grid-column: auto;
  }
}

.subpage .site-header {
  color: var(--white);
}
.subpage main {
  animation: pagePanIn 680ms ease-out both;
}

[data-reveal] {
  --reveal-x: 0;
  --reveal-y: 20px;
  opacity: 0;
  transform: translate3d(var(--reveal-x), var(--reveal-y), 0);
  transition:
    opacity 820ms ease,
    transform 820ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

/* T7.2: hint the compositor only while the element is still hidden; JS adds
   .is-visible on reveal, which drops the hint and de-promotes the layer. */
[data-reveal]:not(.is-visible) {
  will-change: opacity, transform;
}

[data-reveal="left"] {
  --reveal-x: -34px;
  --reveal-y: 0;
}

[data-reveal="right"] {
  --reveal-x: 34px;
  --reveal-y: 0;
}

[data-reveal="up"] {
  --reveal-x: 0;
  --reveal-y: 26px;
}

[data-reveal="down"] {
  --reveal-x: 0;
  --reveal-y: -26px;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (max-width: 560px) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
    transition-delay: 0ms;
  }
}

@keyframes pagePanIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.campaign-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: center;
  min-height: 88vh;
  padding: 132px clamp(18px, 6vw, 86px) 58px;
  background: linear-gradient(180deg, #fffdf7, var(--paper));
}

.campaign-hero h1 {
  max-width: 820px;
  color: var(--green-dark);
  font-size: clamp(2.8rem, 6.5vw, 6.4rem);
}

.campaign-hero p {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.22rem);
  line-height: 1.72;
}

.campaign-hero .button--primary {
  color: var(--white);
}

.campaign-hero__logo {
  display: block;
  width: auto;
  max-width: min(160px, 42vw);
  height: auto;
  margin: 0 0 20px;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--line);
  background: var(--white);
}

.partner-grid article {
  min-height: 320px;
  padding: clamp(24px, 5vw, 52px);
  border-right: 1px solid var(--line);
}

.partner-grid article:last-child {
  border-right: 0;
}

.partner-grid span {
  display: inline-flex;
  margin-bottom: 26px;
  color: var(--coral-text);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.partner-grid h2 {
  margin-bottom: 18px;
  font-size: clamp(1.7rem, 3vw, 3rem);
}

.partner-grid p {
  color: var(--muted);
  line-height: 1.7;
}

.kit-section {
  display: grid;
  grid-template-columns: minmax(0, 0.68fr) minmax(320px, 1fr);
  gap: clamp(34px, 7vw, 90px);
  padding: clamp(72px, 10vw, 132px) clamp(18px, 6vw, 86px);
  background: var(--green-dark);
  color: var(--white);
}

.kit-section h2 {
  margin-bottom: 0;
}

.kit-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.kit-list article {
  display: grid;
  gap: 10px;
  min-height: 150px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.06);
}

.kit-list strong {
  color: var(--orange);
}

.kit-list span {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
}

@media (max-width: 860px) {
  .campaign-hero,
  .partner-grid,
  .kit-section {
    grid-template-columns: 1fr;
  }

  .campaign-hero {
    min-height: auto;
    padding-top: 118px;
  }

  .partner-grid article {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .partner-grid article:last-child {
    border-bottom: 0;
  }

  .kit-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .campaign-hero .button--dark {
    width: 100%;
  }
}

.campaign-hero__video {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 520px;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(150deg, var(--green-dark), #0f7f83 58%, #042f35);
  box-shadow: var(--shadow);
}

@media (max-width: 860px) {
  .campaign-hero__video {
    min-height: 500px;
  }
}

@media (max-width: 560px) {
  .campaign-hero__video {
    min-height: 460px;
  }
}

.footer-brand {
  display: grid;
  gap: 10px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  padding: 0 14px;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 800;
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease;
}

.social-links a:hover {
  border-color: var(--orange);
  color: var(--white);
  background: var(--orange);
}

@media (max-width: 860px) {
  .social-links {
    justify-content: flex-start;
  }
}

.social-links a {
  flex-direction: column;
  gap: 7px;
  min-width: 92px;
  min-height: 74px;
  padding: 10px 14px;
}

.social-links svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-links svg rect,
.social-links svg path,
.social-links svg circle {
  vector-effect: non-scaling-stroke;
}

.social-links a:nth-child(2) svg,
.social-links a:nth-child(3) svg {
  fill: currentColor;
  stroke: none;
}

.social-links span {
  line-height: 1;
}

.footer-brand img {
  width: min(132px, 34vw);
}

.footer-brand {
  justify-items: center;
  text-align: center;
}

.poster-section {
  display: grid;
  place-items: center;
  padding: clamp(64px, 8vw, 112px) clamp(18px, 6vw, 86px);
  background: var(--green-dark);
}

.climate-poster {
  position: relative;
  width: min(100%, 760px);
  border: 8px solid #b86a3a;
  padding: clamp(18px, 4vw, 42px);
  overflow: hidden;
  color: #07556a;
  text-align: center;
  background:
    radial-gradient(circle at 22% 28%, rgba(242, 142, 166, 0.42), transparent 28%),
    radial-gradient(circle at 72% 18%, rgba(112, 207, 188, 0.42), transparent 28%),
    radial-gradient(circle at 80% 82%, rgba(116, 202, 223, 0.35), transparent 30%),
    linear-gradient(135deg, #fae1e7 0%, #fff1d9 45%, #dff1ec 100%);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.climate-poster::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 2px solid rgba(7, 85, 106, 0.18);
  pointer-events: none;
}

.poster-alert {
  position: absolute;
  top: 42px;
  left: clamp(18px, 4vw, 46px);
  z-index: 1;
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 8px;
  align-items: start;
  text-align: left;
}

.poster-alert svg {
  width: 30px;
  height: 30px;
  fill: #a92322;
  stroke: #6f1a1a;
  stroke-width: 1.2;
}

.poster-alert span {
  display: inline-block;
  padding: 6px 8px;
  color: #a92322;
  background: rgba(255, 255, 255, 0.88);
  font-size: clamp(0.82rem, 2.2vw, 1.28rem);
  font-weight: 800;
  line-height: 1.28;
  text-transform: uppercase;
}

.poster-logos {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: start;
  gap: clamp(18px, 7vw, 84px);
  margin-bottom: 24px;
}

.poster-logos img {
  width: clamp(92px, 18vw, 150px);
}

.mcaw-logo {
  display: grid;
  gap: 5px;
  min-width: clamp(112px, 20vw, 172px);
  padding: 12px 14px;
  color: #2ba678;
  background: rgba(255, 255, 255, 0.88);
  text-align: left;
}

.mcaw-logo strong {
  display: block;
  font-size: clamp(1rem, 2.8vw, 1.8rem);
  line-height: 0.86;
}

.mcaw-logo span {
  color: #07556a;
  font-size: clamp(0.38rem, 1vw, 0.58rem);
  font-weight: 800;
  text-transform: uppercase;
}

.climate-poster h2 {
  position: relative;
  z-index: 1;
  margin: 12px auto 18px;
  color: #07556a;
  font-size: clamp(2.2rem, 7vw, 4.2rem);
  line-height: 1.08;
}

.poster-kicker {
  position: relative;
  z-index: 1;
  margin-bottom: 20px;
  color: #a92322;
  font-size: clamp(1.28rem, 4vw, 2.35rem);
  font-weight: 800;
  line-height: 1.15;
}

.poster-date {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin: 0 auto 34px;
  padding: 8px 16px;
  color: var(--white);
  background: #07556a;
  font-size: clamp(1rem, 3vw, 1.72rem);
  font-weight: 800;
  line-height: 1.25;
}

.poster-date span {
  display: inline-block;
}

.poster-scenes {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: clamp(18px, 5vw, 42px);
  width: min(100%, 460px);
  margin: 0 auto 28px;
}

.poster-scene {
  position: relative;
  min-height: 170px;
  border: 4px solid #07556a;
  background: linear-gradient(#9ce1ff 0 62%, #6bc85e 62% 100%);
  overflow: hidden;
}

.poster-scene .sun {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ffe45d;
}

.poster-scene .cloud {
  position: absolute;
  top: 26px;
  right: 42px;
  width: 48px;
  height: 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
}

.poster-scene .person {
  position: absolute;
  left: 28px;
  bottom: 34px;
  width: 32px;
  height: 72px;
  border-radius: 18px 18px 4px 4px;
  background: #134b75;
}

.poster-scene--sisters .person::before {
  content: "";
  position: absolute;
  inset: 12px -10px -30px 8px;
  border-radius: 0 0 34px 34px;
  background: #f7f1ef;
  transform: skewX(-10deg);
}

.poster-scene--brothers .person {
  background: #7d8f91;
}

.poster-scene--brothers .person::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 6px;
  width: 22px;
  height: 10px;
  border-radius: 999px;
  background: #f2f0d6;
}

.poster-scene .grabber {
  position: absolute;
  left: 64px;
  bottom: 52px;
  width: 76px;
  height: 4px;
  background: #1a5368;
  transform: rotate(26deg);
  transform-origin: left center;
}

.poster-scene .litter {
  position: absolute;
  right: 26px;
  bottom: 28px;
  width: 30px;
  height: 22px;
  border-radius: 6px;
  background: repeating-linear-gradient(45deg, #ffcf39 0 5px, #e85c48 5px 10px, #ffffff 10px 15px);
}

.poster-scene .bin {
  position: absolute;
  right: 26px;
  bottom: 28px;
  width: 22px;
  height: 34px;
  border: 3px solid #07556a;
  border-top-width: 5px;
}

.poster-socials {
  position: relative;
  z-index: 1;
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-radius: 8px;
  padding: 8px 14px;
  color: var(--white);
  background: #07556a;
  font-size: clamp(0.68rem, 1.5vw, 0.86rem);
}

.poster-socials span {
  font-weight: 800;
}

.poster-socials strong,
.poster-socials em {
  font-style: normal;
  font-weight: 600;
}

@media (max-width: 640px) {
  .poster-alert {
    position: relative;
    top: auto;
    left: auto;
    width: max-content;
    max-width: 100%;
    margin-bottom: 18px;
  }

  .poster-logos {
    justify-content: flex-end;
  }

  .poster-scenes {
    grid-template-columns: 1fr;
    width: min(100%, 260px);
  }
}

.guide-section {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(280px, 0.58fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
  padding: clamp(72px, 10vw, 132px) clamp(18px, 6vw, 86px);
  background: #fffdf7;
}

.guide-section--home {
  position: relative;
  overflow: hidden;
  padding-block: clamp(56px, 8vw, 104px);
  background:
    linear-gradient(135deg, rgba(11, 141, 146, 0.08), rgba(243, 189, 70, 0.12) 52%, rgba(255, 253, 247, 0.92)),
    #fffdf7;
}

.guide-section--home::before {
  content: "";
  position: absolute;
  inset: 18px clamp(18px, 4vw, 54px);
  border: 1px solid rgba(6, 68, 76, 0.08);
  border-radius: 8px;
  pointer-events: none;
}

.guide-section--home > * {
  position: relative;
}

.guide-section--home .guide-preview {
  max-height: 590px;
  box-shadow:
    0 28px 70px rgba(6, 68, 76, 0.2),
    0 0 0 8px rgba(255, 255, 255, 0.54);
}

.guide-copy h2 {
  margin-bottom: 18px;
  color: var(--green-dark);
  font-size: clamp(2rem, 4vw, 4.1rem);
}

.guide-copy p {
  max-width: 620px;
  margin-bottom: 28px;
  color: var(--muted);
  line-height: 1.75;
}

.guide-preview {
  display: block;
  aspect-ratio: 0.78;
  max-height: 680px;
  min-height: 420px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--green-dark);
  box-shadow: var(--shadow);
}

.guide-preview object {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
}

.guide-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #ffffff;
}

.mosque-process__guide-preview {
  min-height: 0;
  max-height: 310px;
}

.mosque-process__guide-preview img {
  object-fit: cover;
  object-position: center;
}

.guide-preview span {
  display: grid;
  place-items: center;
  height: 100%;
  padding: 24px;
  color: var(--white);
  font-weight: 800;
  text-align: center;
}

@media (max-width: 860px) {
  .guide-section {
    grid-template-columns: 1fr;
  }

  .guide-preview {
    width: min(100%, 420px);
    margin: 0 auto;
  }
}

@media (max-width: 560px) {
  .guide-preview {
    min-height: 360px;
  }
}


.guide-copy strong {
  color: var(--green-dark);
  font-weight: 800;
}


@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .subpage main,
  .hero .hero__actions,
  [data-reveal],
  .guide-copy > * {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }

  .hero-cta,
  .hero-cta::after,
  .hero-cta .ripple,
  .button--primary::before {
    animation: none;
    transition: none;
  }

  .button:hover,
  .hero-cta:hover,
  .purebot-toggle:hover,
  .team-contact:hover {
    transform: none;
  }

  .hero-cta:hover {
    letter-spacing: 0.01em;
  }

  .hero-cta::after {
    display: none;
  }

  .purebot-panel {
    transition: none;
  }
}


.local-hero-video {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  background: var(--green-dark);
}

.local-hero-video:fullscreen {
  width: 100vw;
  height: 100vh;
  min-height: 0;
  object-fit: contain;
  background: #000;
}

.local-hero-video:-webkit-full-screen {
  width: 100vw;
  height: 100vh;
  min-height: 0;
  object-fit: contain;
  background: #000;
}

@media (max-width: 860px) {
  .local-hero-video {
    min-height: 500px;
  }
}

@media (max-width: 560px) {
  .local-hero-video {
    min-height: 460px;
  }
}

.partner-cta {
  display: grid;
  place-items: center;
  padding: 30px clamp(18px, 6vw, 86px) 56px;
  background: var(--white);
}

.purebot {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 60;
  font-family: Poppins, Arial, sans-serif;
}

.purebot-toggle {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  background: var(--orange);
  box-shadow: 0 18px 42px rgba(6, 68, 76, 0.28);
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.purebot-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 52px rgba(6, 68, 76, 0.34);
}

.purebot-toggle span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--white);
  background: var(--green-dark);
  font-size: 0.92rem;
  font-weight: 800;
}

.purebot-panel {
  position: absolute;
  right: 0;
  bottom: 78px;
  display: grid;
  grid-template-rows: auto minmax(180px, 1fr) auto auto;
  width: min(360px, calc(100vw - 32px));
  max-height: min(620px, calc(100vh - 120px));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 28px 80px rgba(6, 68, 76, 0.3);
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  transform-origin: bottom right;
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

.purebot.is-open .purebot-panel {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.purebot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  color: var(--white);
  background: var(--green-dark);
}

.purebot-header div {
  display: grid;
  gap: 3px;
}

.purebot-header strong {
  font-size: 1.1rem;
}

.purebot-header span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.84rem;
}

.purebot-header button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  color: var(--white);
  background: transparent;
  font-weight: 800;
  cursor: pointer;
}

.purebot-messages {
  display: grid;
  align-content: start;
  gap: 10px;
  overflow-y: auto;
  padding: 16px;
  background: #fffdf7;
}

.purebot-message {
  width: fit-content;
  max-width: 88%;
  margin: 0;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 0.9rem;
  line-height: 1.55;
}

.purebot-message--bot {
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
}

.purebot-message--user {
  justify-self: end;
  color: var(--white);
  background: var(--orange);
  font-weight: 700;
}

.purebot-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.purebot-prompts button,
.purebot-prompts a {
  border: 1px solid rgba(15, 127, 131, 0.22);
  border-radius: 8px;
  padding: 8px 10px;
  color: var(--green-dark);
  background: rgba(8, 119, 123, 0.16);
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.purebot-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 14px 16px 16px;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.purebot-form input {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  outline: 0;
}

.purebot-form input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(15, 127, 131, 0.12);
}

.purebot-form button {
  border: 0;
  border-radius: 8px;
  padding: 0 14px;
  color: var(--white);
  background: var(--orange);
  font-weight: 800;
  cursor: pointer;
}

@media (max-width: 560px) {
  .purebot {
    right: 12px;
    bottom: 12px;
  }

  .purebot-toggle {
    width: 58px;
    height: 58px;
  }

  .purebot-panel {
    bottom: 70px;
    max-height: calc(100vh - 92px);
  }
}

.purebot-toggle img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 4px 6px rgba(6, 68, 76, 0.2));
}

.purebot-toggle::after {
  content: "Ask me!";
  position: absolute;
  right: 74px;
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  min-width: max-content;
  border-radius: 8px;
  padding: 8px 10px;
  color: var(--white);
  background: var(--green-dark);
  font-size: 0.86rem;
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transition: opacity 150ms ease, transform 150ms ease;
  box-shadow: 0 12px 28px rgba(6, 68, 76, 0.22);
}

.purebot-toggle:hover::after,
.purebot-toggle:focus-visible::after {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

@media (max-width: 560px) {
  .purebot-toggle::after {
    right: 66px;
  }
}

.contact-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 320px);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
  /* T3: clear the fixed-header box (var(--header-h)) AND its 0 10px 30px drop-shadow
     so the "Contact us" eyebrow (topmost element, above the H1) sits fully below the
     opaque is-scrolled header at 1280/1440. */
  padding: calc(var(--header-h) + 40px) clamp(18px, 6vw, 86px) clamp(64px, 8vw, 110px);
  background: linear-gradient(180deg, #fffdf7, var(--paper));
}

.contact-hero h1 {
  color: var(--green-dark);
  font-size: clamp(3rem, 7vw, 7rem);
}

.contact-hero p {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.22rem);
  line-height: 1.75;
}

.contact-hero img {
  width: min(100%, 290px);
  justify-self: center;
  filter: drop-shadow(0 20px 28px rgba(6, 68, 76, 0.18));
}

.contact-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--line);
  background: var(--white);
}

.contact-options article {
  min-height: 300px;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: clamp(24px, 5vw, 52px);
  border-right: 1px solid var(--line);
}

.contact-options article:last-child {
  border-right: 0;
}

.contact-options span {
  color: var(--coral-text);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-options h2 {
  margin-bottom: 4px;
  color: var(--green-dark);
  font-size: clamp(1.6rem, 3vw, 2.8rem);
}

.contact-options p {
  color: var(--muted);
  line-height: 1.7;
}

.contact-options a {
  align-self: end;
  width: fit-content;
  border-bottom: 2px solid var(--orange);
  color: var(--green-dark);
  font-weight: 800;
}

.contact-form-section {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(320px, 0.72fr);
  gap: clamp(34px, 7vw, 90px);
  align-items: start;
  padding: clamp(72px, 10vw, 132px) clamp(18px, 6vw, 86px);
  background: #f4efe1;
}

.contact-form-section h2 {
  color: var(--green-dark);
}

.contact-form-section p {
  color: var(--muted);
  line-height: 1.75;
}

@media (max-width: 860px) {
  .contact-hero,
  .contact-form-section,
  .contact-options {
    grid-template-columns: 1fr;
  }

  .contact-hero {
    /* T3: raise mobile clearance so the eyebrow + full H1 clear the fixed header at 375/768 */
    padding-top: calc(var(--header-h) + 20px);
  }

  .contact-hero img {
    width: min(70vw, 240px);
  }

  .contact-options article {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .contact-options article:last-child {
    border-bottom: 0;
  }
}

.footer-legal {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 20px;
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 18px;
  margin-top: 4px;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
  font-weight: 800;
}

.footer-legal a:hover {
  color: var(--orange);
}

.legal-page {
  padding: clamp(136px, calc(11.2vw + 46px), 203px) clamp(18px, 6vw, 86px) clamp(72px, 10vw, 132px);
  background: linear-gradient(180deg, #fffdf7, var(--paper));
}

.legal-page h1 {
  max-width: 900px;
  color: var(--green-dark);
  font-size: clamp(3rem, 7vw, 7rem);
}

.legal-copy {
  display: grid;
  gap: 22px;
  max-width: 62ch; /* T8: ~60-70ch reading measure (was 860px ~100ch) */
  color: var(--muted);
  line-height: 1.75;
}

.legal-copy h2 {
  margin: 26px 0 0;
  color: var(--green-dark);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
}

.legal-copy p {
  margin: 0;
}

.footer-legal {
  flex: 1 0 100%;
}

.site-footer {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, max-content));
  justify-content: start;
  align-items: start;
  gap: clamp(22px, 4vw, 54px);
  padding: clamp(34px, 5vw, 58px) clamp(18px, 6vw, 86px) 24px;
  color: rgba(255, 255, 255, 0.78);
  background: linear-gradient(135deg, #053842, var(--green-dark) 58%, #08777b);
}

.footer-brand:empty {
  display: none;
}

.footer-brand {
  justify-items: start;
  text-align: left;
  gap: 12px;
}

.footer-brand img,
.site-footer .footer-brand img {
  width: min(180px, 44vw);
}

.footer-brand p,
.site-footer .footer-brand p {
  max-width: 220px;
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.45;
}

.footer-route-hint {
  margin-top: 10px;
  max-width: 260px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.84rem;
  font-weight: 500;
  line-height: 1.55;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-column h2 {
  margin: 0 0 4px;
  color: var(--orange);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.footer-column a {
  width: fit-content;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.94rem;
  font-weight: 700;
}

.footer-column a:hover {
  color: var(--white);
}

.site-footer .footer-legal {
  grid-column: auto;
  display: grid;
  flex: initial;
  justify-content: start;
  width: auto;
  border-top: 0;
  padding-top: 0;
  margin-top: 0;
}

.site-footer .social-links {
  display: grid;
  justify-content: start;
  gap: 10px;
}

.footer-social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.site-footer .social-links a {
  display: inline-flex;
  min-width: 0;
  min-height: auto;
  border: 0;
  border-radius: 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.76);
  background: transparent;
  font-size: 0.94rem;
  font-weight: 700;
}

.site-footer .social-links a:hover {
  color: var(--orange);
  background: transparent;
}

.site-footer .social-links svg,
.site-footer .social-links span {
  display: none;
}

.footer-trademark {
  grid-column: 1 / -1;
  justify-self: start;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.88rem;
  font-weight: 800;
}

.footer-trademark sup {
  font-size: 0.58em;
  vertical-align: super;
}

@media (max-width: 900px) {
  .site-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-brand,
  .footer-column,
  .site-footer .footer-legal,
  .site-footer .social-links {
    justify-items: start;
    text-align: left;
  }

  .footer-trademark {
    justify-self: start;
  }
}

.site-footer .footer-social-row a {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.78);
}

.site-footer .footer-social-row a:hover {
  color: var(--orange);
}

.site-footer .footer-social-row svg {
  display: block;
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-footer .footer-social-row a:nth-child(2) svg,
.site-footer .footer-social-row a:nth-child(3) svg {
  fill: currentColor;
  stroke: none;
}

.volunteer-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
  padding: clamp(132px, calc(11.2vw + 46px), 203px) clamp(18px, 6vw, 86px) clamp(54px, 7vw, 86px);
  background: linear-gradient(180deg, #fffdf7, #edf5e9);
}

.volunteer-hero h1 {
  max-width: 860px;
  color: var(--green-dark);
  font-size: clamp(2.7rem, 6vw, 5.8rem);
}

.volunteer-hero p {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  line-height: 1.72;
}

.volunteer-hero__badge {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(6, 68, 76, 0.16);
  border-radius: 8px;
  padding: clamp(22px, 4vw, 34px);
  color: var(--green-dark);
  background: var(--white);
  box-shadow: var(--shadow);
}

.volunteer-hero__badge span {
  color: var(--coral-text);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.volunteer-hero__badge strong {
  color: var(--green-dark);
  font-size: clamp(4rem, 9vw, 7.2rem);
  line-height: 0.9;
}

.volunteer-tracker {
  display: grid;
  grid-template-columns: minmax(300px, 0.52fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: start;
  padding: clamp(64px, 9vw, 112px) clamp(18px, 6vw, 86px);
  background: var(--paper);
}

.volunteer-form h2,
.volunteer-board h2 {
  color: var(--green-dark);
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.volunteer-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.volunteer-board {
  display: grid;
  gap: 18px;
}

.volunteer-board__head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
}

.volunteer-board__head .button {
  border-color: var(--green);
}

.volunteer-leader {
  grid-template-columns: 1fr;
}

.volunteer-leader p {
  justify-self: start;
}

.volunteer-table {
  display: grid;
  gap: 10px;
}

.volunteer-row {
  display: grid;
  grid-template-columns: minmax(190px, 1.2fr) minmax(84px, 0.45fr) minmax(84px, 0.45fr) minmax(84px, 0.45fr) minmax(92px, 0.5fr);
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.86);
}

.volunteer-row--head {
  color: var(--green-dark);
  background: transparent;
  border-color: transparent;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.volunteer-person {
  display: grid;
  gap: 4px;
}

.volunteer-person strong {
  color: var(--green-dark);
}

.volunteer-person small,
.volunteer-empty {
  color: var(--muted);
  line-height: 1.45;
}

.volunteer-points {
  display: grid;
  place-items: center;
  min-height: 44px;
  border-radius: 8px;
  color: var(--white);
  background: var(--orange);
  font-weight: 800;
}

.volunteer-row.is-leading {
  border-color: rgba(15, 127, 131, 0.55);
  box-shadow: 0 18px 42px rgba(15, 127, 131, 0.14);
}

.volunteer-empty {
  border: 1px dashed rgba(6, 68, 76, 0.22);
  border-radius: 8px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.62);
  text-align: center;
}

@media (max-width: 980px) {
  .volunteer-hero,
  .volunteer-tracker {
    grid-template-columns: 1fr;
  }

  .volunteer-hero__badge {
    width: min(100%, 420px);
  }
}

@media (max-width: 700px) {
  .volunteer-form__grid,
  .volunteer-board__head,
  .volunteer-row {
    grid-template-columns: 1fr;
  }

  .volunteer-row--head {
    display: none;
  }
}
.charity-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.48fr);
  gap: clamp(30px, 6vw, 78px);
  align-items: center;
  /* T3: top clearance = header height (11.2vw+28) + 18px, floored at the original
     132px so <=768 is unchanged and the growing fixed logo never overlaps the hero. */
  padding: clamp(132px, calc(11.2vw + 46px), 203px) clamp(18px, 6vw, 86px) clamp(58px, 8vw, 96px);
  background: linear-gradient(180deg, #fffdf7, #eef6ef);
}

.charity-hero h1,
.partnership-section h2,
.charity-form-section h2,
.isoc-partnership-section h2 {
  color: var(--green-dark);
}

.charity-hero h1 {
  max-width: 860px;
  font-size: clamp(2.8rem, 6vw, 5.9rem);
}

.charity-hero p,
.charity-form-section p,
.isoc-partnership-section p {
  max-width: 680px;
  color: var(--muted);
  line-height: 1.72;
}

.charity-logo-stack {
  display: grid;
  gap: 14px;
}

.partner-logo {
  display: grid;
  gap: 14px;
  min-height: 180px;
  border: 1px solid rgba(6, 68, 76, 0.16);
  border-radius: 8px;
  padding: 24px;
  color: var(--green-dark);
  background: var(--white);
  box-shadow: var(--shadow);
}

.partner-logo span,
.partnership-list span {
  color: var(--coral-text);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}
.partner-logo::before {
  content: "PS";
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  border-radius: 8px;
  color: var(--white);
  background: var(--green-dark);
  font-size: 1.35rem;
  font-weight: 800;
}

.partner-logo--relief::before,
.partner-logo--mcb::before,
.partner-logo--lse::before {
  content: none;
  display: none;
}

.partner-logo--relief img,
.partner-logo--mcb img,
.partner-logo--lse img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  justify-self: start;
}


.partner-logo strong {
  align-self: end;
  font-size: clamp(1.7rem, 3vw, 3rem);
  line-height: 1;
}

.partner-logo--relief {
  background: linear-gradient(145deg, #fffdf7, #dff1ec);
}

.partner-logo--mcb {
  background: linear-gradient(145deg, #fffdf7, #f3ead4);
}

.partner-logo--lse {
  width: min(100%, 360px);
  justify-self: end;
  text-align: center;
  background: var(--white);
}

.partnership-section,
.charity-form-section,
.isoc-partnership-section {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 74px);
  align-items: start;
  padding: clamp(68px, 9vw, 116px) clamp(18px, 6vw, 86px);
}

.partnership-section {
  background: var(--white);
}

.charity-form-section {
  background: var(--paper);
}

.isoc-partnership-section {
  align-items: center;
  border-top: 1px solid var(--line);
  background: #fffdf7;
}

.partnership-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.partnership-list article {
  display: grid;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(20px, 3vw, 30px);
  background: #fffdf7;
}

.partner-mark {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 8px;
  color: var(--white);
  background: var(--green-dark);
  font-size: 1.35rem;
  font-weight: 800;
}

.partner-mark--ir {
  background: #8f2430;
}

.partner-mark--mcb {
  background: #6b5a2f;
}

.partnership-list p {
  color: var(--muted);
  line-height: 1.65;
}

@media (max-width: 920px) {
  .charity-hero,
  .partnership-section,
  .charity-form-section,
  .isoc-partnership-section {
    grid-template-columns: 1fr;
  }

  .partner-logo--lse {
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .partnership-list {
    grid-template-columns: 1fr;
  }
}
.volunteer-network-section {
  display: grid;
  grid-template-columns: minmax(0, 0.55fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
  padding: clamp(68px, 9vw, 116px) clamp(18px, 6vw, 86px);
  background: #fffdf7;
}

.volunteer-network-section h2 {
  max-width: 720px;
  color: var(--green-dark);
  font-size: clamp(1.9rem, 3.6vw, 3.8rem);
}

.volunteer-network-section p {
  max-width: 620px;
  color: var(--muted);
  line-height: 1.72;
}

.tally-embed {
  display: grid;
  gap: 14px;
}

.tally-embed iframe {
  width: 100%;
  min-height: 720px;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.tally-embed .button {
  justify-self: start;
}

@media (max-width: 920px) {
  .volunteer-network-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .tally-embed iframe {
    min-height: 780px;
  }
}
.work-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr);
  gap: clamp(30px, 6vw, 78px);
  align-items: center;
  /* T3: clear the fixed-header box (var(--header-h)) AND its 0 10px 30px drop-shadow
     so the "Work with us" eyebrow (topmost element, above the H1) sits fully below the
     opaque is-scrolled header at 1280/1440. */
  padding: calc(var(--header-h) + 40px) clamp(18px, 6vw, 86px) clamp(58px, 8vw, 96px);
  background: linear-gradient(180deg, #fffdf7, #edf5e9);
}

.work-hero h1 {
  max-width: 860px;
  color: var(--green-dark);
  font-size: clamp(2.8rem, 6vw, 5.9rem);
}

.work-hero p,
.work-form-section p {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  line-height: 1.72;
}

.work-hero__panel {
  display: grid;
  gap: 16px;
  border: 1px solid rgba(6, 68, 76, 0.16);
  border-radius: 8px;
  padding: clamp(22px, 4vw, 34px);
  color: var(--green-dark);
  background: var(--white);
  box-shadow: var(--shadow);
}

.work-hero__panel span {
  color: var(--coral-text);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.work-hero__panel strong {
  max-width: 100%;
  color: var(--green-dark);
  font-size: clamp(2rem, 3.7vw, 3.8rem);
  line-height: 1.06;
}

/* T10: in the two-column panel (>920px) shrink the words so "Environment" fits the
   narrow column on one line; normal wrapping (above) prevents any mid-word split. */
@media (min-width: 921px) {
  .work-hero__panel strong {
    font-size: clamp(1.6rem, 2.5vw, 2.6rem);
  }
}

.work-form-section {
  display: grid;
  grid-template-columns: minmax(0, 0.55fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
  padding: clamp(68px, 9vw, 116px) clamp(18px, 6vw, 86px);
  background: var(--paper);
}

.work-form-section h2 {
  max-width: 720px;
  color: var(--green-dark);
  font-size: clamp(1.9rem, 3.6vw, 3.8rem);
}

.tally-embed--work iframe {
  min-height: 760px;
  background: var(--white);
}

/* T9: the transparent-background contact form reads on a light surface, not the
   dark-teal iframe fallback (matches the work form). */
.tally-embed--contact iframe {
  background: var(--white);
}

@media (max-width: 920px) {
  .work-hero,
  .work-form-section {
    grid-template-columns: 1fr;
  }

  .work-hero__panel {
    width: min(100%, 420px);
  }
}

@media (max-width: 560px) {
  .tally-embed--work iframe {
    min-height: 820px;
  }
}
.team-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 0.34fr);
  gap: clamp(30px, 6vw, 78px);
  align-items: center;
  padding: clamp(132px, calc(11.2vw + 46px), 203px) clamp(18px, 6vw, 86px) clamp(58px, 8vw, 96px);
  background: linear-gradient(180deg, #fffdf7, #edf5e9);
}

.team-hero h1 {
  max-width: 920px;
  color: var(--green-dark);
  font-size: clamp(2.8rem, 6vw, 5.9rem);
}

.team-hero p {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  line-height: 1.72;
}

.team-hero img {
  width: min(100%, 260px);
  aspect-ratio: 760 / 701; /* T7.3: reserve figure.png box before load (CLS) */
  height: auto;
  justify-self: center;
}

.team-section {
  display: grid;
  gap: clamp(28px, 5vw, 54px);
  padding: clamp(68px, 9vw, 116px) clamp(18px, 6vw, 86px);
  background: var(--white);
}

.team-section__head h2,
.team-cta h2 {
  color: var(--green-dark);
  font-size: clamp(2rem, 4vw, 4rem);
}

.team-cta h2 {
  margin: 0;
  line-height: 1.05;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.team-grid article {
  display: grid;
  gap: 14px;
  min-height: 300px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(20px, 3vw, 28px);
  background: #fffdf7;
}

.team-avatar {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  color: var(--white);
  background: var(--orange);
  font-weight: 800;
}

.team-grid span {
  color: var(--coral-text);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.team-grid h3 {
  color: var(--green-dark);
  font-size: clamp(1.35rem, 2.2vw, 2rem);
}

.team-grid p {
  color: var(--muted);
  line-height: 1.65;
}
.team-contact {
  position: relative;
  align-self: end;
  justify-self: start;
  border: 1px solid rgba(15, 127, 131, 0.22);
  border-radius: 8px;
  padding: 9px 12px;
  color: var(--green-dark);
  background: rgba(8, 119, 123, 0.18);
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 150ms ease, background 150ms ease;
}

.team-contact:hover {
  transform: translateY(-2px);
  color: var(--white);
  background: var(--orange);
}

/* T15: extend the touch target to >=44px tall without enlarging the visible pill
   or reflowing the card; the transparent strip is part of the link and clickable. */
.team-contact::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 44px;
  transform: translateY(-50%);
}


.team-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 18px clamp(18px, 4vw, 48px);
  padding: clamp(42px, 7vw, 76px) clamp(18px, 6vw, 86px);
  background: var(--paper);
}

.team-cta .button {
  flex-shrink: 0;
  align-self: center;
}

@media (max-width: 1050px) {
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .team-hero {
    grid-template-columns: 1fr;
  }

  .team-hero img {
    justify-self: start;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }
}

/* T3 (Phase 7): these three subpage heroes floored their mobile top padding at the
   base clamp min (132px), which is BELOW the ~137px rendered mobile header, so the
   eyebrow sat ~3-5px under the fixed header at 375/768 (hero-probe.json). Raise the
   mobile clearance with the same --header-h pattern as .contact-hero so the eyebrow
   clears with a small positive gap. <=860 covers 375 AND 768 (team's own 1-col
   breakpoint is 760); desktop (>860) keeps the unchanged base padding. */
@media (max-width: 860px) {
  .charity-hero,
  .team-hero,
  .volunteer-hero {
    padding-top: calc(var(--header-h) + 5px);
  }
}

/* Leader card (shared by volunteer & competition leaderboards) */
.leader-card {
  display: grid;
  gap: 6px;
  border: 1px solid rgba(15, 127, 131, 0.18);
  border-radius: 10px;
  padding: clamp(18px, 3vw, 28px);
  background: linear-gradient(135deg, #edf5e9, #fffdf7);
}

.leader-card span {
  color: var(--coral-text);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.leader-card strong {
  color: var(--green-dark);
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.leader-card p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.leader-card.is-celebrating {
  animation: celebrate-pulse 400ms ease;
}

@keyframes celebrate-pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.02); }
  100% { transform: scale(1); }
}

/* Leaderboard section (get-involved.html — single-column, read-only) */
.leaderboard-section {
  display: grid;
  gap: 22px;
  padding: clamp(64px, 9vw, 112px) clamp(18px, 6vw, 86px);
  background: var(--paper);
}

.leaderboard-section__head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  flex-wrap: wrap;
}

.leaderboard-section__head h2 {
  color: var(--green-dark);
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.volunteer-info-card {
  display: grid;
  gap: 6px;
  border: 1px solid rgba(6, 68, 76, 0.14);
  border-radius: 8px;
  padding: 14px 20px;
  background: var(--white);
}

.volunteer-info-card p {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

.volunteer-info-card strong {
  color: var(--green-dark);
}

/* Org + individual split layout */
.leaderboard-orgs,
.leaderboard-individuals {
  display: grid;
  gap: 14px;
}

.leaderboard-orgs h3,
.leaderboard-individuals h3 {
  color: var(--green-dark);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 800;
}

.org-row {
  display: grid;
  grid-template-columns: minmax(180px, 1.4fr) auto auto minmax(80px, 0.4fr);
  gap: 14px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.86);
}

.org-row.is-leading {
  border-color: rgba(15, 127, 131, 0.55);
  box-shadow: 0 12px 32px rgba(15, 127, 131, 0.1);
}

.org-row__name {
  display: grid;
  gap: 2px;
}

.org-row__name strong {
  color: var(--green-dark);
  font-size: 1rem;
}

.org-row__name small {
  color: var(--muted);
  font-size: 0.78rem;
}

.org-row__stat {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
}

.org-row__points {
  display: grid;
  place-items: center;
  min-height: 38px;
  border-radius: 8px;
  color: var(--white);
  background: var(--orange);
  font-size: 1rem;
  font-weight: 800;
  padding: 0 12px;
}

.org-empty {
  border: 1px dashed rgba(6, 68, 76, 0.22);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.62);
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 600px) {
  .org-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .org-row__points {
    justify-self: start;
    padding: 6px 18px;
  }
}

/* Admin page */
.admin-body {
  background: #f5f2ea;
}

.admin-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 14px;
  border-radius: 6px;
  background: var(--coral);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.admin-login {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: clamp(18px, 4vw, 48px);
}

.admin-login[hidden] {
  display: none;
}

.admin-dashboard[hidden] {
  display: none;
}

.admin-login__form {
  display: grid;
  gap: 18px;
  width: min(100%, 380px);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: clamp(28px, 5vw, 48px);
  background: var(--white);
  box-shadow: var(--shadow);
}

.admin-login__form h1 {
  color: var(--green-dark);
  font-size: 1.6rem;
}

.admin-login__form p {
  color: var(--muted);
  font-size: 0.9rem;
}

.admin-login__form label {
  display: grid;
  gap: 4px;
}

.admin-login__form label span {
  color: var(--green-dark);
  font-size: 0.82rem;
  font-weight: 700;
}

.admin-login__form input {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 0.95rem;
}

.admin-login__error {
  color: var(--coral-text);
  font-size: 0.85rem;
  font-weight: 600;
}

.admin-dashboard {
  padding: clamp(112px, calc(8vw + 48px), 160px) clamp(18px, 5vw, 64px) clamp(48px, 6vw, 96px);
  max-width: 1100px;
  margin: 0 auto;
}

.admin-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 36px;
}

.admin-topbar h1 {
  color: var(--green-dark);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
}

.admin-section {
  margin-bottom: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: clamp(22px, 4vw, 36px);
  background: var(--white);
}

.admin-section h2 {
  color: var(--green-dark);
  font-size: 1.3rem;
  margin-bottom: 18px;
}

.admin-section__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}

.admin-section__head h2 {
  margin-bottom: 0;
}

.admin-form {
  display: grid;
  gap: 16px;
}

.admin-form__row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  align-items: end;
}

.admin-form label {
  display: grid;
  gap: 4px;
}

.admin-form label span {
  color: var(--green-dark);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.admin-form input,
.admin-form textarea {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 0.92rem;
}

.admin-form textarea {
  resize: vertical;
}

.admin-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.admin-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 20px;
  background: rgba(15, 127, 131, 0.1);
  color: var(--green-dark);
  font-size: 0.82rem;
  font-weight: 700;
}

.admin-tag button {
  background: none;
  border: none;
  color: var(--coral-text);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0 2px;
  line-height: 1;
}

.admin-empty {
  border: 1px dashed rgba(6, 68, 76, 0.22);
  border-radius: 8px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.62);
  text-align: center;
  color: var(--muted);
}

.admin-hint {
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 14px;
}

.admin-entry {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 10px;
  background: rgba(255, 255, 255, 0.86);
}

.admin-entry__info {
  display: grid;
  gap: 4px;
}

.admin-entry__info strong {
  color: var(--green-dark);
  font-size: 0.95rem;
}

.admin-entry__info span {
  color: var(--muted);
  font-size: 0.82rem;
}

.admin-entry__info small {
  color: var(--muted);
  font-size: 0.78rem;
}

.admin-entry__info em {
  color: var(--muted);
  font-size: 0.8rem;
  font-style: italic;
}

.admin-entry__actions {
  display: flex;
  gap: 8px;
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  cursor: pointer;
  font-size: 0.9rem;
  transition: background 120ms ease, border-color 120ms ease;
}

.btn-icon:hover {
  border-color: var(--green);
  background: rgba(15, 127, 131, 0.06);
}

.btn-icon--delete:hover {
  border-color: var(--coral);
  background: rgba(230, 101, 79, 0.08);
  color: var(--coral-text);
}

.admin-row-actions {
  display: flex;
  justify-content: center;
}

@media (max-width: 700px) {
  .admin-form__row {
    grid-template-columns: 1fr;
  }

  .admin-entry {
    flex-direction: column;
    align-items: stretch;
  }
}

.coming-soon-message {
  position: fixed;
  left: 50%;
  bottom: clamp(22px, 5vw, 42px);
  z-index: 80;
  transform: translate(-50%, 18px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 14px 22px;
  color: var(--white);
  background: rgba(3, 28, 32, 0.92);
  box-shadow: 0 18px 44px rgba(3, 28, 32, 0.26);
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.coming-soon-message.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
}
