:root {
  --paper: #fffaf2;
  --ink: #10264a;
  --muted: #596270;
  --pink: #e85a95;
  --coral: #f28b4b;
  --gold: #f5bd42;
  --mint: #76c8aa;
  --teal: #149a91;
  --sky: #3aaaca;
  --purple: #8a66b5;
  --soft-pink: #f9d5e3;
  --soft-mint: #d9f3ea;
  --white: #fffefb;
  --line: rgba(16, 38, 74, 0.14);
  --shadow: 0 24px 58px rgba(55, 35, 88, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(232, 90, 149, 0.13), transparent 25%),
    radial-gradient(circle at 88% 3%, rgba(20, 154, 145, 0.13), transparent 22%),
    linear-gradient(180deg, #fffdf7, var(--paper));
  font-family: "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.top-strip {
  display: flex;
  justify-content: center;
  gap: 26px;
  flex-wrap: wrap;
  padding: 10px clamp(16px, 5vw, 64px);
  color: var(--white);
  background: var(--ink);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 8px clamp(18px, 5vw, 64px);
  background: rgba(255, 250, 242, 0.92);
  border-bottom: 2px dashed rgba(138, 102, 181, 0.25);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  width: clamp(146px, 19vw, 220px);
  height: auto;
  display: block;
  filter: drop-shadow(0 8px 12px rgba(16, 38, 74, 0.1));
}

nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

nav a {
  text-decoration: none;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(290px, 0.95fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(48px, 7vw, 94px) clamp(18px, 6vw, 86px);
  overflow: hidden;
}

.bunting {
  position: absolute;
  top: 4px;
  left: 9%;
  right: 9%;
  height: 76px;
  pointer-events: none;
}

.bunting::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  border-top: 3px solid rgba(16, 38, 74, 0.16);
  transform: rotate(2deg);
}

.bunting span {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 62px;
  margin-right: clamp(6px, 3vw, 38px);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  opacity: 0.86;
}

.bunting span:nth-child(1) { background: var(--purple); transform: rotate(8deg); }
.bunting span:nth-child(2) { background: var(--pink); transform: rotate(-7deg); }
.bunting span:nth-child(3) { background: var(--coral); transform: rotate(5deg); }
.bunting span:nth-child(4) { background: var(--mint); transform: rotate(-3deg); }
.bunting span:nth-child(5) { background: var(--sky); transform: rotate(7deg); }
.bunting span:nth-child(6) { background: var(--gold); transform: rotate(-6deg); }
.bunting span:nth-child(7) { background: var(--teal); transform: rotate(9deg); }

.hero-copy {
  min-width: 0;
  padding-top: 42px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--pink);
  font-size: 13px;
  font-weight: 1000;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

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

h1 {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: clamp(46px, 7vw, 92px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(30px, 4.4vw, 58px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  letter-spacing: 0;
}

.lead {
  max-width: 660px;
  color: var(--muted);
  font-size: clamp(19px, 2.1vw, 27px);
}

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

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  color: var(--white);
  font-weight: 1000;
  text-decoration: none;
  box-shadow: 0 7px 0 rgba(16, 38, 74, 0.12);
}

.button-pink { background: var(--pink); }
.button-teal { background: var(--teal); }
.button-navy { background: var(--ink); }

.hero-art {
  position: relative;
  min-height: 430px;
  display: grid;
  align-content: end;
  justify-items: center;
  padding: 42px 24px 34px;
  background:
    radial-gradient(circle at 18% 20%, rgba(232, 90, 149, 0.22), transparent 22%),
    radial-gradient(circle at 88% 18%, rgba(20, 154, 145, 0.22), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(255, 250, 242, 0.52));
  border: 4px solid rgba(138, 102, 181, 0.24);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.hero-art::before,
.hero-art::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  opacity: 0.78;
}

.hero-art::before {
  width: 210px;
  height: 34px;
  left: 28px;
  top: 66px;
  background: rgba(249, 213, 227, 0.9);
  transform: rotate(-8deg);
}

.hero-art::after {
  width: 245px;
  height: 36px;
  right: 18px;
  bottom: 98px;
  background: rgba(217, 243, 234, 0.95);
  transform: rotate(4deg);
}

.art-heart {
  position: absolute;
  color: var(--pink);
  font-size: 72px;
  font-weight: 1000;
  line-height: 1;
}

.heart-one {
  top: 84px;
  left: 54px;
  transform: rotate(-13deg);
}

.heart-two {
  right: 46px;
  bottom: 58px;
  color: var(--teal);
  transform: rotate(12deg);
}

.clothing-box {
  position: relative;
  width: min(320px, 86%);
  height: 190px;
  margin-bottom: 22px;
  background: #d89d62;
  border: 4px solid #a76f3a;
  border-radius: 10px 10px 22px 22px;
  box-shadow: 0 16px 0 rgba(167, 111, 58, 0.18);
}

.clothing-box::before,
.clothing-box::after {
  content: "";
  position: absolute;
  top: -38px;
  width: 52%;
  height: 82px;
  background: #e8ba7f;
  border: 4px solid #a76f3a;
  z-index: 2;
}

.clothing-box::before {
  left: -18px;
  transform: rotate(-12deg);
  transform-origin: right bottom;
}

.clothing-box::after {
  right: -18px;
  transform: rotate(12deg);
  transform-origin: left bottom;
}

.shirt {
  position: absolute;
  top: -48px;
  width: 86px;
  height: 62px;
  border-radius: 18px 18px 12px 12px;
  border: 4px solid rgba(16, 38, 74, 0.18);
  z-index: 1;
}

.shirt::before {
  content: "";
  position: absolute;
  top: -16px;
  left: 23px;
  width: 34px;
  height: 24px;
  border-radius: 0 0 999px 999px;
  background: var(--paper);
  border: 3px solid rgba(16, 38, 74, 0.12);
}

.shirt.pink { left: 38px; background: var(--pink); transform: rotate(-11deg); }
.shirt.mint { left: 100px; background: var(--mint); transform: rotate(7deg); }
.shirt.gold { right: 88px; background: var(--gold); transform: rotate(-4deg); }
.shirt.purple { right: 28px; background: var(--purple); transform: rotate(10deg); }

.hero-art p {
  position: relative;
  z-index: 3;
  margin: 0;
  padding: 10px 20px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  border: 3px dashed rgba(232, 90, 149, 0.42);
  border-radius: 999px;
  font-family: "Segoe Print", "Comic Sans MS", cursive;
  font-size: 25px;
  font-weight: 900;
  text-align: center;
}

.three-up,
.events,
.programs,
.church,
.contact {
  padding: clamp(48px, 7vw, 84px) clamp(18px, 6vw, 86px);
}

.three-up {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding-top: 0;
}

.three-up article {
  min-height: 310px;
  padding: clamp(26px, 4vw, 42px);
  background: rgba(255, 254, 251, 0.78);
  border-top: 4px solid var(--teal);
}

.three-up article:nth-child(2) {
  border-color: var(--pink);
  background: rgba(249, 213, 227, 0.28);
}

.three-up article:nth-child(3) {
  border-color: var(--gold);
  background: rgba(217, 243, 234, 0.34);
}

.three-up h2 {
  font-size: clamp(25px, 3vw, 39px);
}

.three-up p,
.section-heading p,
.program-grid p,
.help-band p,
.church-copy p,
.contact-card p {
  color: var(--muted);
  font-size: 18px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 4vw, 42px);
}

.event-card {
  position: relative;
  min-width: 0;
  padding: clamp(28px, 5vw, 48px);
  background: var(--white);
  border: 4px solid currentColor;
  border-radius: 26px;
  box-shadow: 0 18px 0 rgba(16, 38, 74, 0.08);
}

.event-card.purple { color: var(--purple); }
.event-card.teal { color: var(--teal); }

.icon {
  position: absolute;
  top: -34px;
  left: 34px;
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  color: var(--white);
  background: currentColor;
  border-radius: 50%;
  border: 7px solid var(--paper);
  font-size: 42px;
}

.day {
  display: inline-block;
  margin: 8px 0 18px;
  padding: 8px 14px;
  color: var(--white);
  background: currentColor;
  border-radius: 4px;
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 1000;
  line-height: 1;
  text-transform: uppercase;
}

.time {
  margin-bottom: 8px;
  color: currentColor;
  font-size: clamp(54px, 7vw, 84px);
  font-weight: 1000;
  line-height: 0.95;
  border-bottom: 8px dotted currentColor;
}

.event-card h3 {
  margin-bottom: 4px;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1;
  text-transform: uppercase;
}

.event-card p:last-child {
  margin-bottom: 0;
  color: #111;
  font-size: clamp(20px, 2.5vw, 29px);
  font-weight: 800;
  line-height: 1.18;
}

.programs {
  background: rgba(255, 255, 255, 0.56);
  border-block: 1px solid var(--line);
}

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

.program-grid article {
  min-width: 0;
  padding: 26px;
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 12px 28px rgba(55, 35, 88, 0.08);
}

.program-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  margin-bottom: 18px;
  color: var(--white);
  background: var(--teal);
  border-radius: 50%;
  font-size: 28px;
  font-weight: 1000;
}

.program-grid article:nth-child(2) .program-icon { background: var(--pink); }
.program-grid article:nth-child(3) .program-icon { background: var(--purple); }
.program-grid article:nth-child(4) .program-icon { background: var(--gold); }

.program-grid h3 {
  margin-bottom: 8px;
  font-size: 25px;
}

.text-link {
  display: inline-block;
  color: var(--purple);
  font-size: 24px;
  font-weight: 1000;
  overflow-wrap: anywhere;
}

.help-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  margin: clamp(46px, 7vw, 84px) clamp(18px, 6vw, 86px);
  padding: clamp(30px, 5vw, 54px);
  background:
    linear-gradient(90deg, rgba(249, 213, 227, 0.88), rgba(217, 243, 234, 0.88)),
    var(--soft-pink);
  border-radius: 8px;
}

.help-band h2 {
  color: var(--pink);
}

.church {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(24px, 5vw, 64px);
}

.church-facts {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.church-facts div {
  padding: 20px;
  background: var(--white);
  border: 3px solid rgba(20, 154, 145, 0.26);
  border-radius: 16px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.church-facts span,
.contact-list span {
  display: block;
  margin-bottom: 5px;
  color: var(--teal);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
  gap: 28px;
  background: var(--ink);
  color: var(--white);
}

.contact .eyebrow {
  color: var(--gold);
}

.contact-card p {
  color: rgba(255, 255, 255, 0.78);
}

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

.contact-list a {
  min-width: 0;
  padding: 22px;
  background: rgba(255, 255, 255, 0.08);
  text-decoration: none;
  font-size: 18px;
  font-weight: 900;
  overflow-wrap: anywhere;
}

footer {
  padding: 24px clamp(18px, 6vw, 86px);
  background: #07162f;
  color: rgba(255, 255, 255, 0.76);
}

footer p {
  margin: 0;
}

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

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .three-up,
  .event-grid,
  .help-band,
  .church,
  .contact,
  .contact-list {
    grid-template-columns: 1fr;
  }

  .hero-art {
    transform: none;
  }

  .help-actions {
    margin-top: 0;
  }
}

@media (max-width: 560px) {
  .top-strip {
    justify-content: flex-start;
    gap: 8px;
    font-size: 11px;
  }

  nav {
    gap: 10px;
  }

  .brand img {
    width: 168px;
  }

  .bunting {
    left: 0;
    right: 0;
    width: 100%;
    transform: scale(0.62);
    transform-origin: top left;
  }

  .bunting span {
    margin-right: 7px;
  }

  .hero-copy {
    padding-top: 66px;
  }

  h1 {
    font-size: 44px;
  }

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

  .day {
    font-size: 22px;
  }

  .event-card p:last-child {
    font-size: 21px;
  }
}
