/* ================================
   TOKENS + BASE
================================ */

:root{
  --bg: #f7faf8;
  --surface: #ffffff;
  --border: rgba(15, 23, 42, 0.10);
  --shadow: 0 1px 2px rgba(0,0,0,0.06), 0 8px 24px rgba(0,0,0,0.06);

  --text-strong: #111827;
  --text: rgba(17,24,39,0.82);
  --text-soft: rgba(17,24,39,0.62);
  --text-body: rgba(17,24,39,0.82);

  --purple: #6f2dbd;
  --purple-dark: #52208f;
  --teal: #60c7c4;

  /* Home hero crop (home page) */
  --hero-crop-y: 60%;
}

*{ box-sizing: border-box; }

body{
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3{
  margin: 0;
  font-weight: 600;            /* was 800 */
  letter-spacing: -0.02em;
  color: var(--text-strong);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* Stop forcing weird text sizes everywhere */
p, li{
  font-size: 1rem;
  line-height: 1.65;
}

a:focus-visible, button:focus-visible{
  outline: 3px solid rgba(96,199,196,0.55);
  outline-offset: 3px;
  border-radius: 10px;
}

/* ================================
   HEADER / NAV (used everywhere)
================================ */

.header{
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(247,250,248,0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: transform 0.30s ease;
}

/* used by site.js */
.header.header--hidden{
  transform: translateY(-100%);
}

.header-inner{
  max-width: 1120px;
  margin: 0 auto;
  padding: 4px 20px; /* tighter */
}

.header-inner--new{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px; /* slightly tighter */
  padding: 0; /* IMPORTANT: stop double padding */
}




.brand{
  /* kept because you have class="brand brand--row" */
  text-decoration: none;
}

.brand--row{
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 2px;
}

.logo{
  height: 85px;
  width: auto;
  padding-top: 1px;
  display: block;
}

.brand-title{
  /* present in HTML (even if empty) */
  display: inline-block;
}

.brand-title--new{
  display: grid;
  gap: 2px;
  font-weight: 700;
  font-size: 15px;
  color: var(--text-strong);
  letter-spacing: -0.01em;
  line-height: 1.15;
  text-align: left;
}

.nav{
  display: flex;
  align-items: center;
}

.nav--new{
  gap: 4px;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-top: 0px;
}

.nav--new a{
  position: relative;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  color: rgba(17,24,39,0.78);
  padding: 4px 18px;
  border-radius: 10px;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav--new a:hover{
  background: rgba(111,45,189,0.08);
  color: var(--purple-dark);
}

.nav--new a.active{
  background: transparent;
  color: var(--purple-dark);
}

.nav--new a.active::after{
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: -6px;
  height: 2px;
  border-radius: 2px;
  background: rgba(111,45,189,0.7);
}

@media (max-width: 820px){
  .header-inner--new{
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
  }
  .nav--new{
    justify-content: flex-start;
    width: 100%;
  }
  .header{
    position: static;     /* stops sticky */
    top: auto;
  }
    /* just in case it ever gets stuck hidden */
  .header.header--hidden{
    transform: none;
  }

}

@media (min-width: 821px){
  .nav--new{
    flex-wrap: nowrap;
    white-space: nowrap;
    gap: 2px;
  }
  .nav--new a{
    padding: 4px 14px; /* slightly less */
  }
}





/* ================================
   STANDARD PAGE LAYOUT
================================ */

.page{
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 20px;
}

.page-title{ margin: 0 0 12px; }

.page-lead{
  max-width: 70ch;
  margin: 0 0 24px;
  color: var(--text-soft);
}

/* contact + apprenticeships use this */
.page-hero .page-title{
  margin-bottom: 8px;
  color: var(--purple-dark);
}

.page-hero .page-intro{
  margin-top: 0;
  color: var(--text-soft);
  max-width: 60ch;
}

/* ================================
   BUTTONS
================================ */

.btn-primary{
  display: inline-block;
  padding: 11px 18px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 12.5px;
  transition: transform 0.2s ease;
}

.btn-primary:hover{ transform: translateY(-2px); }

.btn-ghost{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border-radius: 12px;
  background: transparent;
  color: var(--purple-dark);
  text-decoration: none;
  font-weight: 800;
  font-size: 12.5px;
  border: 1px solid rgba(111,45,189,0.18);
  box-shadow: 0 6px 16px rgba(0,0,0,0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  
}

.btn-ghost:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.10);
  border-color: rgba(111,45,189,0.40);
}

/* ================================
   HOME HERO (hero--photo only)
================================ */

/* ================================
   HOME HERO (split, calm, local)
================================ */

.hero.hero--split{
  background: var(--bg);
  padding: 34px 20px;
  margin: 0 0 34px;
  border-top: 1px solid rgba(15,23,42,0.10);
  border-bottom: 1px solid rgba(15,23,42,0.10);
}

.hero-inner--split{
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 22px;
  align-items: center;
}

.hero-copy--plain{
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  border-radius: 16px;
  padding: 22px 22px;
  max-width: none;
}

.hero-copy--plain .hero-kicker{
  color: rgba(17,24,39,0.70);
}

.hero-copy--plain h1{
  color: var(--text-strong);
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.08;
  margin: 0;
}

.hero-copy--plain .hero-subtext{
  color: var(--text);
  margin-top: 12px;
  max-width: 60ch;
}

.hero-actions{
  display: flex;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}

/* Right side image */
.hero-media{
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  border-radius: 16px;
  overflow: hidden;

  width: 100%;
  min-width: 0;          /* stops grid overflow weirdness */
}

.hero-img{
  width: 100%;
  height: clamp(220px, 32vw, 420px);
  object-fit: cover;
  object-position: center;
  display: block;
}


.hero-inner--split > *{
  min-width: 0;
}




.hero-caption{
  padding: 8px 12px;
  font-size: 12.5px;
  color: var(--text-soft);
  border-top: 1px solid rgba(15,23,42,0.08);
  background: rgba(255,255,255,0.85);
}

.hero-caption a{
  color: var(--purple-dark);
  text-decoration: none;
  border-bottom: 1px solid rgba(111,45,189,0.18);
  padding-bottom: 1px;
}

.hero-caption a:hover{
  border-bottom-color: rgba(111,45,189,0.50);
}


/* Mobile */
@media (max-width: 900px){
  .hero-inner--split{
    grid-template-columns: 1fr;
  }
  .hero-img{
    height: 240px;
  }
}

/* ================================
   HOME CONTENT SECTIONS
================================ */

.home-content{
  max-width: 1120px;
  margin: 30px auto 0;
  padding: 0 20px;
  color: var(--text-body);
}

.home-section{
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  border-radius: 16px;
  padding: 26px 24px; /* was 34px 30px */
  margin-bottom: 30px;
  text-align: left;
  display: grid;
  gap: 14px;
  
}

.home-section p{
  max-width: 75ch;
  margin: 0;
  line-height: 1.65;
  color: var(--text);
}

.home-section li{
  line-height: 1.65;
  color: var(--text);
}

.home-section h2{
  font-size: 22px;
}

.home-section ul{
  margin: 10px 0 0 20px;
  padding: 0;
}

.home-section li{ padding: 5px 0; }

.card-intro{
  font-style: italic;
  color: var(--text-soft);
}

.section-subtitle{
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: rgba(17,24,39,0.78);
}

.section-subtitle2{
  margin-top: 10px;
  padding-top: 14px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: rgba(17,24,39,0.78);
}

/* ================================
   HOME – OUR SERVICES
================================ */

.home-services-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 16px;
  align-items: start;
}

.home-service-card{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.06);
}

.home-service-card h3{
  font-size: 15px;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
  color: var(--text-strong);
}

.home-service-lead,
.home-service-text{
  margin: 0 0 10px;
  color: var(--text-body);
  line-height: 1.5;
  font-size: 15px;
}

.home-service-list{
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
}

.home-service-list li{
  padding: 0;
  line-height: 1.5;
  font-size: 15px;
  color: var(--text-body);
}

.home-service-list--cols{
  column-count: 2;
  column-gap: 18px;
}

.home-service-list--cols li{
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  margin-bottom: 6px;
}

.home-service-note{
  margin: 12px 0 0;
  color: var(--text-soft);
  font-size: 14px;
}

@media (max-width: 900px){
  .home-services-grid{ grid-template-columns: 1fr; }
  .home-service-list--cols{ column-count: 1; }
}

/* Community Planning logo */
.community-logo{
  background: transparent;
  box-shadow: none;
  padding: 0;
  border-radius: 10px;
  max-width: 220px;
  margin: 10px 0 14px;
  height: auto;
  width: 100%;
}

.community-logo:hover{ opacity: 0.92; }

/* Membership CTA */
.membership-cta{
  text-align: center;
  background: var(--surface);
  border: 1px solid rgba(111,45,189,0.18);
  box-shadow: var(--shadow);
  border-radius: 16px;
  margin-top: 44px;
  margin-left: auto;
  margin-right: auto;
  max-width: 560px;
}

.membership-cta p{
  max-width: 650px;
  margin: 10px auto 22px;
}

@media (max-width: 900px){
  .membership-cta{ max-width: 100%; }
}

/* ================================
   SERVICES PAGE
================================ */

.features-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.feature-card{
  background: rgba(255,255,255,0.78);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px 22px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
  transition: box-shadow 0.2s ease;
  color: var(--text-body);
}

.feature-card h3{
  font-size: 15px;
  line-height: 1.35;
  margin: 0 0 8px;
  color: var(--text-strong);
}

.feature-card:hover{ box-shadow: 0 10px 28px rgba(0,0,0,0.10); }

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

.clean-list{
  margin: 10px 0 0 20px;
  padding: 0;
}

.clean-list li{ padding: 6px 0; }

.clean-list.tight{ margin-left: 18px; }

.service-split{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 14px;
}

.service-card{
  background: rgba(255,255,255,0.60);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.04);
}

.service-card h3{
  margin: 0 0 10px;
  color: var(--text-strong);
}

.small-note{
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-soft);
}

.small-note-price{
  margin: 10px 0 0;
  font-size: 20px;
  line-height: 1.55;
  color: var(--text-soft);
}


.service-contact{
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(0,0,0,0.06);
}

.service-contact a{
  color: var(--purple-dark);
  text-decoration: none;
  border-bottom: 1px solid rgba(111,45,189,0.18);
  padding-bottom: 2px;
}

.service-contact a:hover{
  border-bottom-color: rgba(111,45,189,0.50);
}

/* Friends Call */
.friends-call{ overflow: hidden; }

.friends-call__grid{
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 22px;
  align-items: start;
}

.friends-call__media img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}

.btn-row{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 14px 0 16px;
}

.friends-call__box{
  margin-top: 12px;
  padding: 16px;
  border-radius: 14px;
  background: rgba(239,233,255,0.55);
  border: 1px solid rgba(111,45,189,0.10);
}

.friends-call__box h3{
  margin: 0 0 8px;
  color: var(--text-strong);
}

.friends-call__box p{ margin: 0 0 12px; }

/* Volunteer Friendly Award */
.vfa-grid{
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 22px;
  align-items: start;
}

.vfa-aside{
  background: rgba(255,255,255,0.60);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.05);
}

.vfa-badge{
  display: grid;
  place-items: center;
  text-decoration: none;
}

.vfa-badge img{
  width: 100%;
  max-width: 260px;
  height: auto;
  display: block;
  border-radius: 14px;
  background: #fff;
  padding: 12px;
  box-shadow: 0 10px 22px rgba(0,0,0,0.06);
}

.vfa-actions{
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.vfa-body h2{ margin-top: 0; }

.vfa-lists{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 14px;
}

.vfa-list-card{
  background: rgba(255,255,255,0.60);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.04);
}

.vfa-list-card h3{
  margin: 0 0 10px;
  color: var(--text-strong);
}

@media (max-width: 900px){
  .service-split{ grid-template-columns: 1fr; }
  .friends-call__grid{ grid-template-columns: 1fr; }
  .vfa-grid{ grid-template-columns: 1fr; }
  .vfa-badge img{ max-width: 240px; }
  .vfa-lists{ grid-template-columns: 1fr; }
}

/* ================================
   PARTNERS PAGE
================================ */

/* ================================
   PARTNERS (CLEAN REWRITE)
================================ */

.partners-section{
  margin-top: 26px;
  padding: 28px 26px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.partners-head{
  text-align: center;
  margin-bottom: 18px;
}

.partners-title{
  margin: 0 0 8px;
}

.partners-lead{
  margin: 0 auto;
  max-width: 70ch;
  color: var(--text-soft);
}

/* Grid */
.partners-grid{
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

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

@media (max-width: 520px){
  .partners-grid{ grid-template-columns: 1fr; }
}

/* Card */
.partner-card{
  display: block;
  text-decoration: none;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 10px 22px rgba(0,0,0,0.06);
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

/* The “logo stage” that makes everything look consistent */
.partner-card .partner-logo{
  height: 150px;               /* consistent stage height */
  padding: 22px 26px;          /* consistent breathing room */
  display: grid;
  place-items: center;
  background: #fff;
}

/* Logo itself */
.partner-card .partner-logo img{
  width: 100%;
  height: 100%;
  object-fit: contain;

  /* clamp perceived size */
  max-width: 260px;
  max-height: 90px;

  opacity: 0.95;
  filter: saturate(0.98) contrast(1.02);
  transition: transform 180ms ease, opacity 180ms ease, filter 180ms ease;
}

/* Hover */
.partner-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(0,0,0,0.10);
  border-color: rgba(111,45,189,0.22);
}

.partner-card:hover .partner-logo img{
  transform: scale(1.035);
  opacity: 1;
  filter: saturate(1.05) contrast(1.05);
}

/* Focus (keyboard accessibility) */
.partner-card:focus-visible{
  outline: 3px solid rgba(96,199,196,0.55);
  outline-offset: 4px;
}


/* Optional: slightly tighter stage on small phones */
@media (max-width: 380px){
  .partner-card .partner-logo{
    height: 140px;
    padding: 18px 20px;
  }
  .partner-card .partner-logo img{
    max-height: 84px;
  }
}


/* Base class (recommended) */
.partner-card .partner-logo img.partner-img{
  width: auto;
  height: auto;
  max-width: 260px;
  max-height: 90px;
  object-fit: contain;
}

/* SCP is airy + thin, so it needs an optical boost */
.partner-card .partner-logo img.partner-img--scp{
  max-width: 340px;     /* let it fill the stage more */
  max-height: 120px;    /* give it more vertical presence */
  transform: scale(1.2);
  transform-origin: center;
}




/* ================================
   ABOUT PAGE
================================ */

.about-page{ display: block; }

.about-hero{
  margin: 44px auto 24px;
  padding: 28px 24px;
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.05);
  background: var(--surface);
}

.about-hero__copy .page-title{
  margin: 0 0 10px;
  color: var(--purple-dark);
}

.about-hero__copy .page-lead{
  margin: 0;
  max-width: 75ch;
  color: var(--text-soft);
}

.about-hero__stats{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.about-stat{
  background: rgba(255,255,255,0.70);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.05);
}

.about-stat__label{
  margin: 0 0 6px;
  font-size: 13px;
  color: var(--text-soft);
}

.about-stat__value{
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  color: var(--text-strong);
}

.about-shell{
  display: grid;
  grid-template-columns: 1.45fr 0.85fr;
  gap: 18px;
  margin-top: 18px;
  align-items: start;
}

.about-panel{
  background: var(--surface);
  border-radius: 18px;
  padding: 26px 22px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.about-panel__head h2{ margin: 0 0 10px; }

.about-panel__head .card-intro{
  margin: 0;
  color: var(--text-soft);
  line-height: 1.6;
}

.about-blocks{
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.about-block{
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.04);
}

.about-block p{
  margin: 0;
  line-height: 1.65;
  color: var(--text-body);
}

.about-rail{ display: grid; gap: 14px; }

.about-card{
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 18px;
  padding: 18px 16px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.05);
}

.about-card__title{
  margin: 0 0 12px;
  color: var(--text-strong);
}

.about-timeline{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.about-timeline__item{
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 10px;
  align-items: start;
}

.about-timeline__dot{
  width: 10px;
  height: 10px;
  margin-top: 7px;
  border-radius: 999px;
  background: rgba(111,45,189,0.65);
  box-shadow: 0 0 0 4px rgba(111,45,189,0.12);
}

.about-timeline__year{
  margin: 0;
  font-weight: 900;
  color: var(--purple-dark);
}

.about-timeline__text{
  margin: 2px 0 0;
  color: var(--text-body);
  line-height: 1.55;
}

.about-details{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.about-details__row{
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 10px;
  align-items: start;
  padding: 12px;
  border-radius: 14px;
  background: rgba(255,255,255,0.75);
  border: 1px solid rgba(0,0,0,0.06);
}

.about-details__label{
  font-size: 13px;
  font-weight: 900;
  color: var(--text-strong);
  opacity: 0.85;
}

.about-details__value{
  color: var(--text-body);
  line-height: 1.55;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.about-link{
  color: var(--purple-dark);
  text-decoration: none;
  border-bottom: 1px solid rgba(111,45,189,0.18);
  padding-bottom: 2px;
  width: fit-content;
}

.about-link:hover{
  border-bottom-color: rgba(111,45,189,0.50);
}

@media (max-width: 900px){
  .about-shell{ grid-template-columns: 1fr; }
  .about-hero__stats{ grid-template-columns: 1fr; }
  .about-details__row{ grid-template-columns: 1fr; }
}

/* ================================
   VOLUNTEERING PAGE
================================ */

.volunteering-page{
  max-width: 1000px;
  margin: 28px auto;
  padding: 0 20px;
}

.vol-hero{
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  align-items: stretch;
  margin-bottom: 26px;
}

.vol-hero__copy{
  background: linear-gradient(135deg, rgba(96,199,196,0.14), rgba(239,233,255,0.55));
  border-radius: 18px;
  padding: 22px 20px;
  box-shadow: 0 10px 26px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.05);
}

.vol-hero__title{
  margin: 0 0 10px;
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.vol-hero__lead{
  margin: 0 0 16px;
  color: var(--text-body);
  line-height: 1.65;
  max-width: 65ch;
  font-size: 15px;
}

.vol-hero__actions{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 10px 0 14px;
}

.vol-hero__note{
  margin: 0;
  color: var(--text-soft);
  line-height: 1.6;
}

.vol-hero__note a{
  color: var(--purple-dark);
  text-decoration: none;
  border-bottom: 1px solid rgba(111,45,189,0.18);
}

.vol-hero__note a:hover{
  border-bottom-color: rgba(111,45,189,0.50);
}

/* Wordcloud banner */
.vol-hero__banner{
  position: relative;
  min-height: 220px;
  border-radius: 18px;
  overflow: hidden;
  background: url("../images/volunteeringCircles.png") center/cover no-repeat;
}

/* kill the film overlay completely */
.vol-hero__banner::after{ display: none; }



/* On small screens, use CONTAIN so words don’t get chopped */
@media (max-width: 900px){
  .vol-hero__banner{
    min-height: 280px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
  }
}


.vol-find__grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 16px;
  align-items: start;
}

.vol-card{
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.05);
}

.vol-card--alt{
  background: linear-gradient(180deg, #f5f0ff, #efe9ff);
}

.vol-card__head h3{
  margin: 0 0 8px;
  font-size: 16px;
  color: var(--text-strong);
}

.vol-card__head p{
  margin: 0 0 1px;
  color: var(--text-body);
  line-height: 1.6;
}

.vol-card__actions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 6px 0 14px;
  margin-right: 50%;
  margin-left: 50%;
}
/*
.vol-embed{
  border-radius: 14px;
  overflow: visible;
  border: 0;
  background: transparent;
  padding: 0;
  display: grid;
  justify-items: stretch;
  width: 100%;
}
*/

.vol-embed .fb-page{
  width: 100%;
  max-width: none;
  display: block;
}

.vol-tip{
  margin-top: 12px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(255,255,255,0.65);
  border: 1px solid rgba(0,0,0,0.06);
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.55;
}

.vol-why__grid{
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
  align-items: start;
  margin-top: 10px;
}

.vol-list-card{
  background: rgba(255,255,255,0.75);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.05);
}

.vol-list-card h3{
  margin: 0 0 10px;
  color: var(--text-strong);
  font-size: 15px;
}

.vol-list{
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
}

.vol-list li{
  padding: 0;
  color: var(--text-body);
  line-height: 1.5;
}

.vol-support{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.vol-support__item{
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 14px;
  padding: 14px;
  color: var(--text-body);
  line-height: 1.55;
  box-shadow: 0 8px 18px rgba(0,0,0,0.04);
}

.vol-bottom__grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: stretch;
  margin-top: 6px;
}

.vol-bottom__card{
  background: rgba(255,255,255,0.75);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.05);
}

.vol-bottom__cta{
  background: linear-gradient(135deg, rgba(96,199,196,0.14), rgba(239,233,255,0.55));
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.06);
}

.vol-bottom__cta p{
  color: var(--text-body);
  line-height: 1.6;
}

.vol-bottom__actions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.va-preview{
  max-width: 520px;
  display: block;
  margin: 12px auto 14px;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  transition: transform 0.18s ease;
  text-decoration: none;
}

.va-preview img{

  display: block;
    height: 130px;        /* adjust: 130–170 works */
  width: 100%;
  object-fit: contain;
  padding: 14px 18px;


}

.va-preview:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.10);
}

@media (max-width: 900px){
  .vol-hero{ grid-template-columns: 1fr; }
  .vol-find__grid{ grid-template-columns: 1fr; }
  .vol-why__grid{ grid-template-columns: 1fr; }
  .vol-support{ grid-template-columns: 1fr; }
  .vol-bottom__grid{ grid-template-columns: 1fr; }
}

/* Volunteering: Facebook embed polish */
.vol-card__head{
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
}

.vol-embed{
  padding: 12px;
}
/*
.fb-iframe{
  width: 100%;
  max-width: none;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 12px;
  background: #fff;
  display: block;
}
*/


/* Always show a decent fallback, not a dead blank box */
.vol-embed__fallback{
  margin: 10px 0 0;
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.5;
  text-align: center;
  max-width: 50ch;
}

.volunteering-page{
  margin: 30px auto;
}

.home-section.vol-find{
  padding-top: 28px;
}


/* ===== Volunteering page: de-AI the look (no gradients) ===== */

/* Make cards feel consistent with your home-section (solid surfaces) */
.vol-hero__copy,
.vol-card,
.vol-list-card,
.vol-bottom__cta,
.vol-bottom__card{
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 10px 24px rgba(0,0,0,0.06);
}

/* Remove the purple gradient-only look on the Academy card */
.vol-card--alt{
  background: rgba(255,255,255,0.88);
}

/* If you still want a “hint” of brand colour, do it as a border accent not a background */
.vol-card--alt{
  border-left: 4px solid rgba(111,45,189,0.35);
}



.va-preview img{
  height: 180px;
  object-fit: contain;
  background: #fff;
}


/* --- Volunteering: layout the two cards properly --- */
.vol-find__grid{
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 16px;
  margin-top: 16px;
  align-items: start;
}

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

/* --- Facebook embed: make it fill the card --- */
/* Facebook embed: responsive */
.fb-embed{
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: rgba(0,0,0,0.03);
  height: 520px; /* desktop default */
}

.fb-embed iframe{
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* tweak height on smaller screens */
@media (max-width: 900px){
  .fb-embed{ height: 620px; }
}
@media (max-width: 520px){
  .fb-embed{ height: 560px; }
}


/* --- Fix the broken actions layout (REMOVE your 50% margins) --- */
.vol-card__actions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 10px 0 0;
}

.vol-card__actions--center{
  justify-content: center;
}

/* --- Make the academy preview bigger and nicer --- */
.va-preview{
  max-width: 640px;   /* bigger than your 520 */
  margin: 14px auto 12px;
}

.va-preview img{
  height: 220px;      /* bigger logo */
  width: 100%;
  object-fit: contain;
  padding: 18px 22px;
  background: #fff;
}

/* --- Make the button wider + less tall + not cramped --- */
.btn-primary--wide{
  padding: 10px 22px;
  font-size: 13px;
  line-height: 1.2;
  border-radius: 12px;
  min-width: 240px;
  justify-content: center;
  white-space: nowrap;
}










/* ================================
   CONTACT PAGE
================================ */

.contact-grid{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
}

.contact-list{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}

.contact-item{
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(0,0,0,0.06);
}

.contact-label{
  font-weight: 700;
  color: var(--text-strong);
  opacity: 0.85;
}

.contact-text{
  color: var(--text-body);
  line-height: 1.55;
}

.contact-link{
  color: var(--purple-dark);
  text-decoration: none;
  border-bottom: 1px solid rgba(111,45,189,0.18);
  padding-bottom: 2px;
  width: fit-content;
}

.contact-link:hover{
  border-bottom-color: rgba(111,45,189,0.50);
}

.stack{ display: grid; gap: 22px; }

.map-embed iframe{
  width: 100%;
  height: 420px;
  border: 0;
}

.contact-image{
  width: 100%;
  border-radius: 14px;
  max-height: 260px;
  object-fit: cover;
}

.contact-card .card-title{ margin: 0 0 14px; }
.map-card .card-title,
.image-card .card-title{ margin: 0 0 12px; }

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


/* ================================
   CONTACT FORM
================================ */

.form-card .card-title{ margin: 0 0 8px; }

.form-note{
  margin: 0 0 14px;
  color: var(--text-soft);
  line-height: 1.55;
}

.contact-form{
  display: grid;
  gap: 14px;
}

.form-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field{
  display: grid;
  gap: 6px;
}

.field label{
  font-weight: 700;
  color: var(--text-strong);
  opacity: 0.9;
  font-size: 14px;
}

.field input,
.field textarea{
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.10);
  background: rgba(255,255,255,0.75);
  color: var(--text-body);
  font: inherit;
  outline: none;
}

.field textarea{
  resize: vertical;
  min-height: 140px;
}

.field input:focus,
.field textarea:focus{
  border-color: rgba(111,45,189,0.45);
  box-shadow: 0 0 0 4px rgba(111,45,189,0.10);
}

.check{
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--text-body);
  line-height: 1.45;
}

.check input{
  margin-top: 3px;
}

.form-actions{
  display: grid;
  gap: 10px;
}

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.10);
  background: #fff;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
}

.btn--primary{
  background: var(--purple-dark);
  color: #fff;
  border-color: rgba(0,0,0,0.08);
}

.btn--primary:hover{
  filter: brightness(1.05);
}

.form-small{
  margin: 0;
  color: var(--text-soft);
  font-size: 13px;
}

/* accessibility helper */
.sr-only{
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

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






/* ================================
   FOOTER (new footer only)
================================ */

.footer--new,
.footer--new *{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.footer--new{
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 34px 20px;
  opacity: 1;
  box-shadow: none;
  text-align: left;
  font-weight: 400;
}

.footer-inner{
  max-width: 1120px;
  margin: 0 auto;
}

.footer-top{
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  align-items: start;
}

.footer-mark{
  height: 54px;
  width: auto;
  display: block;
}

.footer-tagline{
  margin: 10px 0 0;
  color: var(--text-soft);
  line-height: 1.6;
}

.footer-cols{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.footer-h{
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(17,24,39,0.78);
}

.footer-p{
  margin: 0 0 10px;
  color: var(--text);
  line-height: 1.65;
}

.footer-list{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.footer-a{
  color: rgba(17,24,39,0.78);
  text-decoration: none;
  border-bottom: 1px solid rgba(111,45,189,0.18);
  padding-bottom: 2px;
  width: fit-content;
}

.footer-a:hover{
  color: var(--purple-dark);
  border-bottom-color: rgba(111,45,189,0.50);
}

.footer-logos{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.footer-logos--new{
  margin: 22px 0 10px;
  gap: 22px;
  justify-content: flex-start;
}

.footer-logo-link{
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-logo-link--icon .footer-logo{
  height: 56px;
  max-width: 90px;
}

.footer-logo{
  height: 82px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  padding: 0;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.footer-logo:hover{
  transform: scale(1.03);
  opacity: 0.92;
}

.footer-bottom{
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-small{
  margin: 0;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.6;
}

@media (max-width: 900px){
  .footer-top{ grid-template-columns: 1fr; }
  .footer-cols{ grid-template-columns: 1fr; }
  .footer-bottom{ justify-content: flex-start; }
}


/* ================================
   404 PAGE
================================ */

.notfound{
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Top kicker */
.notfound-kicker{
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--text-soft);
  text-align: center;

  /* visual-centering fix for letter-spacing */
  text-indent: 0.10em;
}

/* Main heading */
.notfound-title{
  margin: 0;
  color: var(--purple-dark);
  font-size: clamp(30px, 3.2vw, 46px);
}

/* Intro text */
.notfound-lead{
  margin: 6px auto 0;
  max-width: 62ch;
  color: var(--text-soft);
  line-height: 1.7;
}

/* Button row */
.notfound-actions{
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 18px;
}

/* Links section */
.notfound-links{
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.notfound-links p{
  margin: 0;
  color: var(--text);
  line-height: 1.7;
}

.notfound-links ul{
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: grid;
  gap: 10px;
}

/* Optional: soft pill feel for links */
.notfound-links a{
  display: inline-block;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(111,45,189,0.06);
  border: 1px solid rgba(111,45,189,0.14);
  text-decoration: none;
}

.notfound-links a:hover{
  background: rgba(111,45,189,0.10);
  border-color: rgba(111,45,189,0.28);
}


/* ================================
   MEMBERSHIP PAGE
================================ */

.membership-page .page-hero{
  margin-bottom: 22px;
}

.member-hero__actions{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 12px 0 10px;
}

.member-wordcloud{
  margin-top: 14px;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 10px 24px rgba(0,0,0,0.06);
  background: url("../images/vgs-wordcloud.png") center/cover no-repeat;
  min-height: 340px;
}

/* On smaller screens, contain so text doesn’t get chopped */
@media (max-width: 900px){
  .member-wordcloud{
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    min-height: 220px;
  }
}

/* Optional: on wide screens, 3 columns is fine.
   On smaller screens your existing media query already stacks features-grid to 1 column */
.member-features{
  margin-top: 16px;
}





.membership-page .page-hero{
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  border-radius: 18px;
  padding: 26px 24px;
  margin: 28px 0 22px;
}

.membership-page .page-hero .page-title{
  color: var(--purple-dark);
  margin-bottom: 8px;
}

.membership-page .page-hero .page-intro{
  margin: 0;
  max-width: 70ch;
  color: var(--text-soft);
  line-height: 1.65;
}

.small-note-price{
  margin: 10px 0 0;
  color: var(--text-soft);
  font-size: 14px;
}

.small-note-price strong{
  color: var(--text-strong);
}

.membership-cta .small-note a{
  color: var(--purple-dark);
  text-decoration: none;
  border-bottom: 1px solid rgba(111,45,189,0.18);
  padding-bottom: 2px;
}

.membership-cta .small-note a:hover{
  border-bottom-color: rgba(111,45,189,0.50);
}





/*


###############################################
#####################################
RESIZING FONTS
#####################
#######################################################


*/


/* Kicker text shouldn’t be 800 */
.hero-kicker,
.notfound-kicker{
  font-weight: 500;
  font-size: 20px;
}

/* Buttons don’t need to be 800 */
.btn-primary,
.btn-ghost{
  font-weight: 600;
}

/* These look like headings but you made them 800 */
.section-subtitle,
.section-subtitle2{
  font-weight: 600;
}

/* Footer headings at 900 is aggressive */
.footer-h{
  font-weight: 700;
}

/* Labels don’t need to be bold-bold */
.contact-label{
  font-weight: 600;
}

/* These are chunky for no reason */
.about-stat__value{
  font-weight: 700;
}
.about-timeline__year{
  font-weight: 700;
}
.about-details__label{
  font-weight: 700;
}

.hero.hero--photo h1{
  font-weight: 600;      /* or 500 if you want it calmer */
  letter-spacing: -0.03em;
}





/* ================================
   COOKIE BANNER (no inline anything)
================================ */
.cookie-banner{
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  max-width: 980px;
  margin: 0 auto;
  display: none;
}

.cookie-banner.is-visible{ display: block; }

.cookie-banner__inner{
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;

  padding: 14px 14px;
  border-radius: 16px;

  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.cookie-banner__text{
  flex: 1;
  min-width: 240px;
}

.cookie-banner__title{
  margin: 0 0 4px;
  font-weight: 700;
  color: var(--text-strong);
}

.cookie-banner__desc{
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.35;
}

.cookie-banner__actions{
  display: flex;
  gap: 10px;
}

/* If your site already has .btn styles, these are safe and minimal */
.cookie-btn{
  appearance: none;
  border: 0;
  cursor: pointer;
  border-radius: 12px;
  padding: 10px 12px;
  font: inherit;
}

.cookie-btn--ghost{
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

.cookie-btn--primary{
  background: var(--purple);
  color: #fff;
}


/* Placeholder content */
.embed__placeholder{
  display: grid;
  place-items: center;
  height: 100%;
  padding: 22px;
  text-align: center;
}

.embed__placeholder h3{ margin: 0 0 6px; }
.embed__placeholder p{ margin: 0; color: var(--text-soft); max-width: 60ch; }

/* Map */
.map-embed{
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: rgba(0,0,0,0.03);
  min-height: 420px;
  height: 420px;
}

.map-embed iframe{
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Facebook */
.fb-embed{
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: rgba(0,0,0,0.03);
  height: 700px;
}

.fb-embed iframe{
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}


/*contact form*/
.form-alert{
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
  color: var(--text);
  font-weight: 600;
}

.form-alert--success{
  border-color: rgba(16, 185, 129, 0.35);
  background: rgba(16, 185, 129, 0.08);
}

.form-alert--error{
  border-color: rgba(239, 68, 68, 0.35);
  background: rgba(239, 68, 68, 0.08);
}
