:root {
  --ink: #172044;
  --muted: #4d5876;
  --pink: #d83c76;
  --pink-soft: #f27a9d;
  --teal: #168f94;
  --teal-dark: #0c7078;
  --gold: #d89818;
  --violet: #6550b2;
  --blue: #2f78bb;
  --green: #4f8f35;
  --paper: #ffffff;
  --cream: #fff8ed;
  --line: #e7edf4;
  --shadow: 0 18px 42px rgba(23, 32, 68, .13);
  --soft-shadow: 0 10px 28px rgba(23, 32, 68, .1);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Source Sans 3", sans-serif;
  color: var(--muted);
  background:
    radial-gradient(circle at 5% 18%, rgba(22, 143, 148, .12) 0 120px, transparent 121px),
    radial-gradient(circle at 96% 16%, rgba(216, 60, 118, .13) 0 190px, transparent 191px),
    #fff;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 14px 0 12px;
  background: rgba(255, 255, 255, .93);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(17, 26, 77, .07);
}

.nav {
  min-height: 110px;
  display: grid;
  grid-template-columns: minmax(240px, 320px) 1fr auto;
  align-items: center;
  gap: 26px;
}

.logo {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-width: 0;
  padding: 6px 0;
}

.logo img {
  width: 100%;
  max-width: 300px;
  height: auto;
  display: block;
}

.menu {
  display: flex;
  justify-content: center;
  gap: clamp(13px, 1.5vw, 24px);
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.menu a {
  position: relative;
  padding: 10px 0;
}

.menu a.active {
  color: var(--pink);
}

.menu a.active::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: 0;
  height: 2px;
  border-radius: 99px;
  background: var(--pink);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #ff5797, #ff2a7e);
  box-shadow: 0 13px 26px rgba(255, 47, 130, .24);
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

.button.dark {
  background: var(--ink);
  box-shadow: 0 13px 26px rgba(23, 32, 68, .18);
}

.button.outline {
  color: var(--teal-dark);
  background: #fff;
  border: 2px solid var(--teal);
  box-shadow: none;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 56px;
  border-bottom: 1px solid rgba(17, 26, 77, .08);
  background:
    linear-gradient(115deg, rgba(255, 248, 237, .92), rgba(255, 255, 255, .82)),
    url("hero-main.png") center right / min(58vw, 760px) auto no-repeat;
}

.page-hero::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -96px;
  width: 490px;
  height: 250px;
  border-radius: 0 0 260px 260px;
  border: 46px solid var(--pink-soft);
  border-top: 0;
  transform: rotate(-28deg);
  opacity: .65;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  font-family: "Fraunces", Georgia, serif;
  line-height: 1;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(3.2rem, 6vw, 5.5rem);
}

h2 {
  font-size: clamp(2rem, 3.4vw, 3.35rem);
}

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

p {
  margin: 0;
  line-height: 1.55;
}

.lead {
  max-width: 610px;
  margin-top: 18px;
  color: var(--ink);
  font-size: 19px;
  font-weight: 800;
}

.actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.section {
  padding: 58px 0;
  border-bottom: 1px solid rgba(17, 26, 77, .07);
  background: rgba(255, 255, 255, .86);
}

.section.alt {
  background: #f7fbfa;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 620px) minmax(260px, 1fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 28px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 13px;
  color: var(--pink);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.spark {
  width: 14px;
  height: 14px;
  background: var(--gold);
  clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 56%, 79% 92%, 50% 70%, 21% 92%, 32% 56%, 2% 35%, 39% 35%);
}

.summary {
  color: var(--muted);
  font-size: 16px;
  font-weight: 700;
}

.program-list {
  display: grid;
  gap: 22px;
}

.program-panel {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 26px;
  padding: 22px;
  border: 1px solid rgba(23, 32, 68, .11);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(23, 32, 68, .07);
}

.program-panel figure {
  min-height: 220px;
  margin: 0;
  overflow: hidden;
  border-radius: 10px;
}

.program-panel figure img,
.staff-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--cream);
  font-size: 12px;
  font-weight: 900;
}

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

.detail-card,
.role-card,
.staff-card,
.mission-card {
  padding: 18px;
  border: 1px solid rgba(23, 32, 68, .1);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 9px 24px rgba(23, 32, 68, .05);
}

.detail-card h3,
.role-card h3,
.staff-card h3,
.mission-card h3 {
  font-size: 1.05rem;
}

.detail-card ul,
.role-card ul,
.check-list {
  padding-left: 19px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

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

.schedule-card {
  padding: 20px;
  border-radius: 12px;
  color: #fff;
  background: var(--teal);
  box-shadow: var(--soft-shadow);
}

.schedule-card:nth-child(2) {
  background: var(--pink);
}

.schedule-card:nth-child(3) {
  background: var(--gold);
}

.schedule-card:nth-child(4) {
  background: var(--violet);
}

.schedule-card strong {
  display: block;
  margin-bottom: 6px;
  color: #fff;
  font-size: 1.6rem;
  font-family: "Fraunces", Georgia, serif;
  line-height: 1;
}

.role-grid,
.staff-grid,
.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.form-panel {
  padding: 24px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 15px 34px rgba(20, 28, 75, .13);
}

.form-panel p {
  margin: 10px 0 18px;
  font-weight: 700;
}

.site-form {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.site-form input,
.site-form select,
.site-form textarea {
  min-width: 0;
  border: 1px solid #e9edf5;
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fff;
  font-size: 13px;
  font-weight: 800;
  outline: 0;
}

.site-form textarea {
  grid-column: 1 / -1;
  min-height: 102px;
  resize: vertical;
}

.site-form button {
  grid-column: 1 / -1;
}

.hidden-field {
  display: none;
}

.staff-photo {
  height: 210px;
  margin: -18px -18px 16px;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
  background:
    linear-gradient(135deg, rgba(22, 143, 148, .2), rgba(216, 60, 118, .2)),
    var(--cream);
}

.staff-card .role {
  display: block;
  margin: 6px 0 10px;
  color: var(--pink);
  font-size: 13px;
  font-weight: 900;
}

.footer {
  background: #fff;
}

.footer-grid {
  min-height: 78px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  gap: 18px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
}

.footer-grid span {
  display: block;
  color: var(--muted);
  font-size: 11px;
}

.footer-socials {
  display: flex;
  gap: 8px;
  margin-top: 6px;
}

.footer-socials a {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: var(--violet);
}

.footer-socials a.instagram {
  background: linear-gradient(135deg, #f58529, #dd2a7b 50%, #8134af 75%, #515bd4);
}

.footer-socials a.facebook {
  background: #1877f2;
}

.footer-socials svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

@media (max-width: 980px) {
  .nav,
  .section-head,
  .program-panel {
    grid-template-columns: 1fr;
  }

  .menu {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .page-hero {
    background:
      linear-gradient(115deg, rgba(255, 248, 237, .96), rgba(255, 255, 255, .9)),
      url("hero-main.png") center bottom / cover no-repeat;
  }

  .detail-grid,
  .role-grid,
  .staff-grid,
  .mission-grid,
  .schedule-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .container {
    width: min(var(--max), calc(100% - 28px));
  }

  .nav {
    min-height: auto;
    padding: 16px 0;
  }

  .logo img {
    max-width: 224px;
  }

  .page-hero {
    padding: 48px 0 42px;
  }

  .detail-grid,
  .role-grid,
  .staff-grid,
  .mission-grid,
  .schedule-grid,
  .site-form,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
