@import url("https://fonts.googleapis.com/css2?family=Caveat:wght@500;600&display=swap");

/* =========================================================
   Community Outreach — editorial layout (co-*)
   Brand: ink #363587 · marigold #f5c307
   ========================================================= */

body.co-page{
  background:#faf9f6;
}

.co-page .co-hero,
.co-page .co-together,
.co-page .co-giving,
.co-page .co-cta{
  position:relative;
  overflow:visible;
  scroll-margin-top:96px;
}

.co-copy h1,
.co-copy h2,
.co-together-head h2,
.co-cta-copy h2,
.co-card h3{
  margin:0 0 14px;
  color:rgb(52, 50, 114);
  font-family:Helvetica, Arial, sans-serif;
  font-weight:700;
  line-height:1.15;
  letter-spacing:-.015em;
}
.co-copy h1{
  font-size:clamp(2.2rem, 4.8vw, 3.6rem) !important;
}
.co-lead{
  margin:0 0 18px !important;
  color:var(--marigold) !important;
  font-family:Helvetica, Arial, sans-serif !important;
  font-size:clamp(1.35rem, 2.4vw, 1.85rem) !important;
  font-weight:700 !important;
  line-height:1.2 !important;
}
.co-copy h2,
.co-together-head h2,
.co-cta-copy h2{
  font-size:clamp(1.8rem, 3.2vw, 2.55rem) !important;
}
.co-copy p,
.co-together-head p,
.co-card p,
.co-cta-copy p{
  margin:0 0 12px;
  color:rgb(33, 37, 41);
  line-height:1.7;
}
.co-copy p:last-child,
.co-card p:last-child{ margin-bottom:0; }

.co-script{
  margin:22px 0 0;
  color:rgb(52, 50, 114);
  font-family:"Caveat", "Segoe Script", cursive;
  font-size:clamp(1.45rem, 2.2vw, 1.95rem) !important;
  font-weight:600 !important;
  line-height:1.25 !important;
  letter-spacing:.01em;
  transform:rotate(-3deg);
  background-image:linear-gradient(var(--marigold), var(--marigold));
  background-repeat:no-repeat;
  background-position:8px 100%;
  background-size:72% 7px;
  width:fit-content;
}

.co-split{
  display:grid;
  grid-template-columns:minmax(0, 1.05fr) minmax(0, .95fr);
  gap:clamp(28px, 4.5vw, 64px);
  align-items:center;
}
.co-split-media-first .co-media{ order:1; }
.co-split-media-first .co-copy{ order:2; }
.co-copy,
.co-media{ min-width:0; }

.co-blob,
.co-frame{
  position:relative;
  margin:0;
}
.co-blob,
.co-frame{
  overflow:hidden;
  background:#eceaf5;
  box-shadow:14px 14px 0 var(--marigold);
}
.co-blob{
  max-width:520px;
  margin-left:auto;
}
.co-blob img,
.co-frame img{
  width:100%;
  height:auto;
  object-fit:contain;
  object-position:center center;
  display:block;
}
.co-photo-card{
  position:absolute;
  left:18px;
  bottom:18px;
  z-index:1;
  margin:0;
  max-width:10.5rem;
  padding:14px 16px;
  background:#fff;
  color:rgb(52, 50, 114);
  font-family:Helvetica, Arial, sans-serif;
  font-size:1.02rem;
  font-weight:700;
  line-height:1.25;
  letter-spacing:-.02em;
  box-shadow:0 10px 24px -14px rgba(54, 53, 135, .4);
}

.co-hero{
  padding:48px 0 28px;
  background:#fff;
}
.co-hero::after{
  content:"";
  position:absolute;
  right:4%;
  top:18%;
  width:90px;
  height:110px;
  background:
    radial-gradient(ellipse 42% 55% at 30% 40%, #7fb35a 0 70%, transparent 71%),
    radial-gradient(ellipse 38% 50% at 68% 48%, #5e9844 0 70%, transparent 71%);
  opacity:.28;
  pointer-events:none;
}

.co-together{
  padding:28px 0 20px;
  background:#fff;
}
.co-together-head{
  max-width:46rem;
  margin:0 auto 32px;
  text-align:center;
}
.co-together-head p{ margin:0 auto; max-width:40rem; }
.co-cards{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:18px;
  align-items:stretch;
}
.co-card{
  display:flex;
  flex-direction:column;
  min-width:0;
  overflow:hidden;
  border-radius:22px;
}
.co-card-mint{ background:#e8f6ee; }
.co-card-peach{ background:#f8efe3; }
.co-card-lilac{ background:#efeaf8; }
.co-card-sage{ background:#e7f3ea; }
.co-card-photo{
  position:relative;
  margin:14px 14px 0;
  overflow:hidden;
  border-radius:16px;
  background:#dfe8e2;
}
.co-card-media{
  margin:14px 14px 0;
  overflow:hidden;
  border-radius:16px;
  background:#1c1b4a;
}
.co-card-photo img{
  width:100%;
  height:168px;
  object-fit:cover;
  object-position:center 30%;
  display:block;
}
.co-video{
  overflow:hidden;
  background:#1c1b4a;
}
.co-video iframe{
  display:block;
  width:100%;
  aspect-ratio:16 / 9;
  height:auto;
  border:0;
}
.co-card-script{
  position:absolute;
  left:12px;
  bottom:12px;
  margin:0;
  color:#fff;
  font-family:"Caveat", "Segoe Script", cursive;
  font-size:1.45rem;
  font-weight:600;
  line-height:1.1;
  text-shadow:0 2px 10px rgba(0,0,0,.35);
}
.co-card-body{
  display:flex;
  flex-direction:column;
  flex:1;
  padding:16px 18px 20px;
}
.co-card h3{
  margin:0 0 8px;
  font-size:1.05rem !important;
}
.co-card p{
  margin:0 0 10px;
  font-size:.86rem !important;
  line-height:1.55 !important;
}

.co-giving{
  padding:48px 0;
  background:#f7f4ee;
}
.co-giving .co-split{
  grid-template-columns:minmax(0, .85fr) minmax(0, 1.15fr);
  align-items:center;
  gap:clamp(24px, 3.5vw, 48px);
}
.co-giving .co-media{
  max-width:300px;
  width:100%;
  margin-inline:auto;
  justify-self:center;
}
.co-giving .co-frame{
  box-shadow:10px 10px 0 var(--marigold);
}
.co-giving .co-frame img{
  max-height:280px;
  width:auto;
  max-width:100%;
  margin:0 auto;
  display:block;
}
.co-giving .co-photo-card{
  background:var(--marigold);
}

.co-cta{
  padding:0;
  background:rgb(52, 50, 114);
  overflow:hidden;
}
.co-cta-leaves{
  position:absolute;
  inset:auto 0 52px auto;
  width:180px;
  height:160px;
  background:
    radial-gradient(ellipse 40% 55% at 30% 45%, rgba(127,179,90,.35) 0 70%, transparent 71%),
    radial-gradient(ellipse 36% 50% at 70% 52%, rgba(94,152,68,.28) 0 70%, transparent 71%);
  pointer-events:none;
}
.co-cta-panel{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:minmax(0, 1.2fr) auto;
  gap:clamp(20px, 3vw, 40px);
  align-items:center;
  padding:48px 0 36px;
}
.co-cta-copy h2,
.co-cta-copy p{
  color:#fff;
}
.co-cta-copy h2{ margin:0 0 8px; }
.co-cta-copy p{
  margin:0;
  font-size:1.05rem !important;
  opacity:.92;
}
.co-cta-actions{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:flex-end;
  gap:12px;
}
.co-cta-ghost{
  color:rgb(52, 50, 114);
  background:#fff;
  border:1.5px solid #fff;
}
.co-cta-ghost:hover{
  background:rgba(255,255,255,.88);
  transform:translateY(-3px);
}
.co-values{
  position:relative;
  z-index:1;
  background:#f4efe4;
}
.co-values ul{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:12px;
  list-style:none;
  margin:0;
  padding:18px 0;
}
.co-values li{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  margin:0;
  color:rgb(52, 50, 114);
  font-family:Helvetica, Arial, sans-serif;
  font-size:.92rem;
  font-weight:700;
  text-align:center;
}
.co-values span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:34px;
  height:34px;
  border-radius:50%;
  background:rgba(54, 53, 135, .08);
  color:rgb(52, 50, 114);
  font-size:.85rem;
}

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

@media (max-width:980px){
  .co-split,
  .co-cta-panel,
  .co-values ul{
    grid-template-columns:1fr;
    gap:28px;
  }
  .co-hero .co-media{ order:2; }
  .co-hero .co-copy{ order:1; }
  .co-blob{ margin-left:0; max-width:360px; }
  .co-split-media-first .co-media{ order:2; }
  .co-split-media-first .co-copy{ order:1; }
  .co-cta-actions{ justify-content:flex-start; }
  .co-values ul{ grid-template-columns:1fr 1fr; }
}

@media (max-width:640px){
  .co-hero,
  .co-giving{ padding:30px 0; }
  .co-cards,
  .co-values ul{ grid-template-columns:1fr; }
  .co-cta-panel{ padding:36px 0 28px; }
  .co-cta-actions{ flex-wrap:wrap; }
  .co-photo-card{ font-size:.95rem; max-width:10rem; }
}
