/*
Theme Name: HOPEinGA
Theme URI: https://staging.hopeinga.com
Author: HOPEinGA
Description: Custom theme for the HOPEinGA website. Structured content is edited with Advanced Custom Fields.
Version: 1.0.0
Requires at least: 4.9
Text Domain: hopeinga
*/

:root {
  --cream: #fdf7ef;
  --sand: #f0eae2;
  --navy: #1d5983;
  --gold: #fec501;
  --ink: #1a1a1a;
  --muted: #3d3d3d;
  --white: #ffffff;
  --shadow: 0 2px 8px rgba(110, 109, 109, 0.22);
  --header-h: 112px;
  --header-offset: 152px;
  --radius-pill: 999px;
  --content: 1200px;
  --font: "Instrument Sans", "Source Sans 3", "Segoe UI", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  padding-top: var(--header-offset);
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font);
  font-size: 20px;
  line-height: 1.45;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font-family: inherit; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -40px;
  background: var(--navy);
  color: #fff;
  padding: 8px 12px;
  z-index: 100;
}
.skip-link:focus { top: 8px; }
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 24px 40px 16px;
  background: var(--cream);
}

.nav-bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 28px;
  max-width: 1782px;
  margin: 0 auto;
  min-height: var(--header-h);
  padding: 16px 28px 16px 24px;
  background: var(--white);
  border-radius: 76px;
  box-shadow: -1px 2px 4px rgba(110, 109, 109, 0.25);
}

.logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}
.logo img { height: 63px; width: auto; }

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  margin-left: auto;
}
.nav-link,
.mega__trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--navy);
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  background: none;
  border: 0;
  padding: 8px 0;
  cursor: pointer;
  white-space: nowrap;
}
.nav-link,
.mega__trigger {
  position: relative;
}
.nav-link::before,
.mega__trigger::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 200ms ease;
  pointer-events: none;
}
.nav-link:hover::before,
.nav-link:focus-visible::before,
.mega:hover .mega__trigger::before,
.mega:focus-within .mega__trigger::before,
.mega.is-open .mega__trigger::before,
.nav-link[aria-current="page"]::before {
  transform: scaleX(1);
}
.nav-link:focus-visible,
.mega__trigger:focus-visible,
.mega__panel a:focus-visible,
.nav-close:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
}
.caret {
  width: 8px;
  height: 8px;
  border-right: 1.5px solid var(--navy);
  border-bottom: 1.5px solid var(--navy);
  transform: rotate(45deg) translateY(-2px);
  flex: 0 0 auto;
}
.mega { position: static; }
.mega__panel {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 24px;
  right: 24px;
  z-index: 40;
  padding: 28px 32px 20px;
  background: var(--white);
  border-radius: 28px;
  box-shadow: 0 16px 40px rgba(110, 109, 109, 0.18);
}
.mega__panel::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -28px;
  height: 28px;
}
.mega:focus-within .mega__panel,
.mega.is-open .mega__panel { display: block; }
@media (min-width: 1101px) {
  .mega { position: static; }
  .mega__trigger { position: relative; }
  .mega__trigger::after {
    content: "";
    position: absolute;
    z-index: 35;
    left: 0;
    right: 0;
    top: 100%;
    height: 72px;
  }
  .mega__panel {
    left: 24px;
    right: 24px;
    width: auto;
    min-width: 0;
  }
  .mega__grid {
    grid-template-columns: repeat(3, minmax(220px, 1fr));
    gap: 12px 40px;
  }
  .mega__label,
  .mega__panel a {
    white-space: normal;
    word-break: normal;
    overflow-wrap: normal;
  }
}
.mega__summary {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 16px;
  font-style: italic;
}
.mega__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px 32px;
}
.mega__label {
  margin: 0 0 8px;
  padding: 0 12px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.mega__panel ul { list-style: none; margin: 0; padding: 0; }
.mega__panel a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: 12px;
  color: var(--navy);
  font-size: 16px;
  line-height: 1.35;
  overflow-wrap: normal;
  word-break: normal;
}
.mega__panel a:hover,
.mega__panel a:focus { background: var(--sand); }
.mega__panel a[aria-current="page"] { background: var(--sand); }
.mobile-menu-bar,
.mobile-home { display: none; }
.primary-nav .nav-contact { display: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 49px;
  padding: 10px 22px;
  border-radius: 24.5px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn--gold {
  background: var(--gold);
  color: var(--white);
  border-radius: 59px;
  min-width: 176px;
}
.btn--navy { background: var(--navy); color: var(--white); min-width: 176px; }
.btn--ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
  min-width: 176px;
}
.btn--gold:hover { filter: brightness(0.97); }
.btn--navy:hover { background: #16486b; }
.btn--ghost:hover { background: rgba(29, 89, 131, 0.06); }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--sand);
  cursor: pointer;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy);
  position: relative;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.hero {
  position: relative;
  height: min(970px, 82vh);
  min-height: 520px;
  overflow: hidden;
  color: var(--white);
}
.hero:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.9);
  outline-offset: -8px;
}
.hero__slides { position: absolute; inset: 0; }
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}
.hero__slide.is-active { opacity: 1; visibility: visible; }
.hero__media,
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__media { position: absolute; inset: 0; display: block; color: inherit; }
@media (max-width: 1100px) {
  .hero__media img { object-position: center center; }
}
.hero__content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 64px 24px 64px;
  pointer-events: none;
}
.hero__titles {
  position: relative;
  width: min(920px, 100%);
  min-height: calc(0.95 * clamp(46px, 5vw, 73px) + 0.95 * clamp(42px, 4.6vw, 69px));
}
.hero__title {
  position: absolute;
  inset: 0;
  margin: 0;
  font-weight: 700;
  font-size: clamp(42px, 4.6vw, 69px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}
.hero__title.is-active { opacity: 1; visibility: visible; }
.hero__title em {
  display: block;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(46px, 5vw, 73px);
}
.hero__title a { color: inherit; text-decoration: none; pointer-events: auto; }
.hero__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 28px;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 0;
  pointer-events: auto;
}
.hero__dot {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
}
.hero__dot.is-active { background: #fff; }

.section { padding: 88px 24px 0; }
.section__inner { max-width: var(--content); margin: 0 auto; }

.kicker {
  margin: 0 auto 18px;
  text-align: center;
  font-style: italic;
  font-weight: 400;
  font-size: 20px;
  letter-spacing: 0.01em;
}
.kicker::after {
  content: "";
  display: block;
  width: 108px;
  height: 1px;
  margin: 10px auto 0;
  background: var(--ink);
}
.kicker--left { text-align: left; margin-left: 0; }
.kicker--left::after { margin-left: 0; }

.intro {
  display: grid;
  grid-template-columns: minmax(240px, 460px) minmax(280px, 1fr);
  gap: 56px;
  align-items: center;
}
.intro__title {
  margin: 0 0 36px;
  text-align: center;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 400;
  line-height: 1.25;
  grid-column: 1 / -1;
}
.intro__photo {
  width: min(100%, 460px);
  aspect-ratio: 1 / 0.96;
  object-fit: cover;
  border-radius: 280px;
  justify-self: center;
}
.intro__text { font-size: 20px; line-height: 1.45; }
.intro__text p { margin: 0 0 16px; }

.programs { padding-top: 96px; padding-bottom: 96px; }
.program {
  position: sticky;
  top: calc(var(--header-offset) + 22px + var(--i, 0) * 52px);
  z-index: calc(var(--i, 0) + 1);
  margin: 36px auto 72px;
  max-width: var(--content);
}
.program__tab {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 2;
  display: block;
  width: max-content;
  max-width: min(380px, 78%);
  margin: 0;
  padding: 9px 22px 10px;
  border-radius: 14px 14px 0 0;
  background: var(--sand);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.program__card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 210px;
  gap: 28px;
  align-items: center;
  padding: 36px 52px 30px;
  background: var(--sand);
  border-radius: 250px;
}
.program__card::after {
  content: "";
  position: absolute;
  left: 64px;
  right: 292px;
  bottom: 16px;
  z-index: 0;
  height: 40px;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(92, 74, 58, 0.62) 1.25px, transparent 1.55px);
  background-size: 14px 13px;
  background-position: left bottom;
  -webkit-mask-image: linear-gradient(to top, #000 78%, transparent), linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to top, #000 78%, transparent), linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-composite: intersect;
}
.program__copy {
  position: relative;
  z-index: 1;
  padding-left: 36px;
}
.program__photo { position: relative; z-index: 1; }
.program__title {
  margin: 0 0 10px;
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 400;
  line-height: 1.2;
}
.program__text { margin: 0 0 16px; font-size: 16px; line-height: 1.4; }
.program__card .btn {
  min-height: 42px;
  min-width: 0;
  padding: 8px 18px;
  font-size: 15px;
}
.program__photo {
  width: 210px;
  height: 210px;
  object-fit: cover;
  border-radius: 50%;
  justify-self: end;
}

.organism { padding-bottom: 20px; overflow: hidden; }
.filmstrip {
  display: flex;
  gap: 14px;
  height: min(498px, 56vw);
  min-height: 320px;
}
.filmstrip__card {
  position: relative;
  flex: 0.72 1 0;
  min-width: 72px;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 48px;
  overflow: hidden;
  background: #e7dfd4;
  cursor: pointer;
  transition: flex 0.45s ease;
}
.filmstrip__card.is-active { flex: 4.8 1 0; }
.filmstrip__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  display: block;
  pointer-events: none;
}
@media (hover: hover) and (min-width: 1101px) {
  .filmstrip:hover .filmstrip__card { flex: 0.72 1 0; }
  .filmstrip:hover .filmstrip__card:hover,
  .filmstrip:hover .filmstrip__card:focus-visible { flex: 4.8 1 0; }
}
.filmstrip__card:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.organism__copy { max-width: 520px; margin-top: 28px; position: relative; z-index: 1; }
.organism__copy h2 {
  margin: 0 0 8px;
  font-size: 40px;
  font-weight: 600;
}
.organism__copy p { margin: 0; font-size: 20px; line-height: 1.4; }

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
  margin-top: 28px;
  align-items: stretch;
}
.news-card { display: flex; flex-direction: column; height: 100%; text-align: center; min-width: 0; }
.news-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 4px;
}
.news-card h3 {
  margin: 16px 0 18px;
  min-height: 2.6em;
  font-size: 18px;
  font-style: italic;
  font-weight: 400;
  line-height: 1.3;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
.news-card__actions { display: flex; gap: 10px; justify-content: center; flex-wrap: nowrap; margin-top: auto; }
.news-card .btn { min-width: 0; flex: 1 1 0; white-space: nowrap; padding-left: 8px; padding-right: 8px; }
.news-more { margin: 28px 0 0; text-align: center; }

.site-footer { padding: 72px 24px 0; }
.footer-panel {
  max-width: 100%;
  background: var(--white);
  border-radius: 101px 101px 0 0;
  box-shadow: 0 -3px 4px rgba(104, 104, 104, 0.25);
  padding: 48px 64px 28px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: flex-start;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-nav a {
  color: var(--navy);
  font-size: 16px;
  font-weight: 500;
}
.footer-logo { height: 92px; width: auto; }
.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 36px;
  margin-top: 36px;
  align-items: flex-start;
  color: var(--ink);
  font-style: italic;
  font-size: 18px;
  line-height: 1.22;
}
.footer-contact {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
}
.footer-contact .footer-icon { display: block; flex: 0 0 auto; }
.footer-contact--phone .footer-icon { width: 29px; height: 29px; margin-top: 1px; }
.footer-contact--address .footer-icon { width: 30px; height: 37px; }
.footer-contact a { color: inherit; }
.footer-contact a:hover { color: var(--navy); }
.footer-address-sub {
  display: block;
  font-size: 16px;
  line-height: 22px;
}
.copyright {
  margin: 22px 0 0;
  max-width: 1085px;
  text-align: left;
  font-style: italic;
  font-size: 16px;
  line-height: 1.35;
}

.page-wrap, .single-wrap { padding: 24px 24px 80px; }
.page-head, .single-head { max-width: 860px; margin: 12px auto 28px; text-align: center; }
.page-head h1, .single-head h1 {
  margin: 0;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 500;
  line-height: 1.2;
}
.page-head h1::after, .single-head h1::after {
  content: "";
  display: block;
  width: 120px;
  height: 1px;
  margin: 16px auto 0;
  background: var(--ink);
}
.page-content, .single-content {
  max-width: 860px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.6;
}
.page-content img, .single-content img { max-width: 100%; height: auto; border-radius: 16px; margin: 16px 0; }
.page-content a, .single-content a { color: var(--navy); text-decoration: underline; }
.page-content a.btn, .single-content a.btn, .news-card a.btn { color: inherit; text-decoration: none; }
.page-content a.btn--navy, .single-content a.btn--navy, .news-card a.btn--navy { color: var(--white); }
.page-content h2, .single-content h2 {
  margin: 1.6em 0 0.45em;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.25;
}
.page-content p, .single-content p { margin: 0 0 1em; }
.page-content ul, .single-content ul, .page-content ol, .single-content ol { margin: 0 0 1em; padding-left: 1.25em; }
.page-content li, .single-content li { margin: 0 0 0.45em; }
.page-content h2, .page-content h3, .single-content h2, .single-content h3 { overflow-wrap: anywhere; }
.map-embed iframe { width: 100%; height: 420px; border: 0; border-radius: 16px; }
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
  width: 100%;
  margin-top: 6px;
  padding: 12px 14px;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  background: #f5f5f5;
  font: inherit;
}
.wpcf7 input[type="submit"] {
  margin-top: 12px;
  border: 0;
  cursor: pointer;
}
.paging { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin: 36px 0; }
.paging .page-numbers {
  display: inline-flex;
  min-width: 40px;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-radius: 20px;
  color: var(--navy);
}
.paging .page-numbers.current { background: var(--navy); color: var(--white); }

@media (max-width: 1400px) {
  .primary-nav { gap: 14px; }
  .nav-link, .mega__trigger { font-size: 16px; }
  .nav-contact-desktop { min-width: 0; padding-inline: 16px; }
}

@media (max-width: 1100px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-contact-desktop { display: none; }
  .primary-nav {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 80;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    margin: 0;
    padding: 16px 16px 40px;
    background: var(--cream);
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav-bar.is-open .primary-nav { display: flex; }
  .mobile-menu-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
  }
  .mobile-menu-bar p {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: var(--navy);
  }
  .nav-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 0 16px;
    border: 0;
    border-radius: 22px;
    background: var(--navy);
    color: var(--white);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
  }
  .mobile-home,
  .nav-link,
  .mega__trigger {
    display: flex;
    width: 100%;
    min-height: 48px;
    justify-content: space-between;
    padding: 12px 4px;
    font-size: 18px;
    white-space: normal;
    text-align: left;
    border-bottom: 1px solid rgba(29, 89, 131, 0.12);
  }
  .nav-link::before,
  .mega__trigger::before { content: none; }
  .mobile-home { display: flex; }
  .mega:hover .mega__panel,
  .mega:focus-within .mega__panel { display: none; }
  .mega.is-open .mega__panel { display: block; }
  .mega.is-open .caret { transform: rotate(225deg) translateY(-2px); }
  .mega__panel {
    position: static;
    padding: 4px 0 8px;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
  }
  .mega__panel::before { display: none; }
  .mega__summary { margin: 8px 4px 12px; }
  .mega__grid { grid-template-columns: 1fr; gap: 16px; }
  .mega__label { padding: 0 4px; }
  .primary-nav .nav-contact {
    display: inline-flex;
    width: 100%;
    margin-top: 20px;
  }
  body.menu-open { overflow: hidden; }
  .program { position: relative; top: auto; z-index: auto; margin: 40px auto 0; }
  .program__tab { font-size: 15px; padding: 7px 14px 8px; max-width: min(280px, 88%); }
  .program__card, .intro { grid-template-columns: 1fr; border-radius: 40px; text-align: left; }
  .program__card { padding: 28px 22px 24px; }
  .program__copy { padding-left: 6px; }
  .program__card::after { left: 20px; right: 20px; bottom: 196px; height: 36px; }
  .program__photo { width: 168px; height: 168px; justify-self: center; }
  .hero__dots { bottom: 18px; }
  .news-grid { grid-template-columns: 1fr; }
    .filmstrip { display: flex; height: 320px; min-height: 0; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
    .filmstrip::-webkit-scrollbar { display: none; }
    .filmstrip__card,
    .filmstrip:hover .filmstrip__card,
    .filmstrip__card.is-active { flex: 0 0 78%; scroll-snap-align: center; }
  .footer-panel { border-radius: 40px 40px 0 0; padding: 32px 20px 20px; }
  .footer-top, .footer-meta { flex-direction: column; }
  :root { --header-offset: 108px; }
  .site-header { padding: 12px 12px 10px; }
  .nav-bar { gap: 12px; min-height: 76px; padding: 10px 12px 10px 14px; border-radius: 40px; }
  .logo img { height: 48px; }
  .hero { min-height: 0; height: auto; aspect-ratio: 16 / 9; }
  .hero__content { padding: 48px 20px 48px; }
  .hero__title, .hero__title em { font-size: 40px; }
  .section { padding-top: 48px; }
  .page-wrap, .single-wrap { padding: 12px 16px 64px; overflow-wrap: anywhere; }
  .page-content, .single-content { font-size: 17px; }
  .wpcf7 input[type="text"],
  .wpcf7 input[type="email"],
  .wpcf7 textarea { font-size: 16px; min-height: 48px; }
  .wpcf7 input[type="submit"] { min-height: 48px; width: 100%; }
  .footer-nav a { display: inline-flex; align-items: center; min-height: 44px; }
  .story__grid, .value-grid, .focus-grid, .split { grid-template-columns: 1fr; }
  .story__photo { width: min(280px, 78vw); }
  .member-sheet { margin-top: -48px; border-radius: 48px 48px 0 0; padding: 36px 16px 48px; }
  .member-row summary { font-size: 22px; min-height: 72px; }
  .member-hero { height: 240px; }
}

.designed { background: var(--cream); }
.kicker--center { display: block; width: fit-content; margin-left: auto; margin-right: auto; text-align: center; }
.story, .values, .focus, .prose--wide { max-width: 1180px; margin: 0 auto; padding: 36px 24px 12px; }
.story__grid { display: grid; grid-template-columns: minmax(240px, 420px) 1fr; gap: 48px; align-items: center; margin-top: 28px; }
.story__photo { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; }
.story__copy p, .prose p, .split__copy p { margin: 0 0 16px; font-size: 18px; line-height: 1.55; }
.value-grid, .focus-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 28px; align-items: stretch; }
.value-card { min-height: 220px; padding: 28px 16px 22px; border: 1px solid var(--navy); display: flex; flex-direction: column; justify-content: space-between; gap: 24px; background: transparent; min-width: 0; }
.value-card h2, .focus-card h2 { margin: 0; color: var(--navy); font-size: 18px; line-height: 1.3; font-weight: 700; overflow-wrap: anywhere; }
.focus-card { display: flex; flex-direction: column; min-width: 0; background: transparent; padding: 0; min-height: 0; }
.focus-card h2 { min-height: 132px; padding: 16px 14px; background: var(--sand); border-radius: 0 36px 0 0; display: flex; align-items: flex-end; color: var(--ink); font-weight: 500; font-size: 16px; }
.focus-card__body { padding: 14px 2px 0; font-size: 15px; line-height: 1.5; }
.focus-card__body p { margin: 0 0 10px; }
.prose a, .focus-card__body a, .split__copy a { text-decoration: underline; }
.split__copy a { color: #fff; }
.prose, .prose--wide { max-width: 860px; }
.prose--wide { padding-bottom: 48px; }
.prose--wide h2, .split__copy h2 { margin: 0 0 16px; font-size: clamp(28px, 3vw, 42px); line-height: 1.2; font-weight: 500; }
.split { display: grid; grid-template-columns: 1fr 1fr; margin-top: 36px; }
.split img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; }
.split__copy { padding: 48px 40px; }
.split--navy .split__copy, .split--photo-left .split__copy { background: var(--navy); color: #fff; }
.split--navy .split__copy h2, .split--photo-left .split__copy h2 { color: #fff; }
.member-hero { height: min(420px, 48vw); background-size: cover; background-position: center; }
.member-sheet { position: relative; margin-top: -90px; background: var(--cream); border-radius: 160px 160px 0 0; padding: 72px 8vw 80px; }
.member-intro { max-width: 860px; margin: 18px 0 28px; font-size: 18px; line-height: 1.55; }
.member-list { max-width: 980px; }
.member-row { border-top: 1px solid var(--navy); }
.member-row:last-child { border-bottom: 1px solid var(--navy); }
.member-row summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 88px; cursor: pointer; color: var(--navy); font-size: clamp(22px, 2.4vw, 32px); font-weight: 700; }
.member-row summary::-webkit-details-marker { display: none; }
.member-arrow { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 50%; background: var(--navy); position: relative; }
.member-arrow::before { content: ""; position: absolute; left: 16px; top: 15px; width: 10px; height: 10px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }
.member-row[open] .member-arrow::before { transform: rotate(45deg); top: 13px; }
.member-bio { max-width: 720px; padding: 0 8px 20px; font-size: 17px; line-height: 1.55; }
.member-orgs { max-width: 980px; margin-top: 56px; }
.member-orgs__note { margin: 0 0 14px; color: var(--navy); font-size: 18px; font-weight: 500; line-height: 1.45; }
.member-orgs ul { margin: 0; padding-left: 1.25em; color: var(--ink); font-size: 17px; font-weight: 400; line-height: 1.5; }
.member-orgs li { margin: 0 0 8px; }

@media (min-width: 1101px) {
  .filmstrip { height: min(498px, 56vw); min-height: 320px; overflow: hidden; }
  .filmstrip__card,
  .filmstrip:hover .filmstrip__card,
  .filmstrip__card.is-active { flex: 0.72 1 0; width: auto; scroll-snap-align: none; }
  .filmstrip__card.is-active,
  .filmstrip:hover .filmstrip__card:hover,
  .filmstrip:hover .filmstrip__card:focus-visible { flex: 4.8 1 0; }
}

@media (max-width: 1100px) {
  .story__grid, .value-grid, .focus-grid, .split { grid-template-columns: 1fr; }
  .story__photo { width: min(280px, 78vw); margin: 0 auto; }
  .value-card { min-height: 0; }
  .split__copy { padding: 28px 20px 36px; }
  .member-sheet { margin-top: -48px; border-radius: 48px 48px 0 0; padding: 36px 16px 48px; }
  .member-row summary { font-size: 22px; min-height: 72px; }
  .member-orgs { margin-top: 40px; }
  .member-hero { height: 240px; }
  .filmstrip { display: flex; height: 320px; min-height: 0; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; }
  .filmstrip__card,
  .filmstrip:hover .filmstrip__card,
  .filmstrip__card.is-active,
  .filmstrip:hover .filmstrip__card:hover,
  .filmstrip:hover .filmstrip__card:focus-visible {
    flex: 0 0 78%;
    width: 78%;
    min-width: 0;
    scroll-snap-align: center;
  }
}

.partner-page, .committee { max-width: 1100px; margin: 0 auto; padding: 48px 24px 72px; }
.partner-list { margin-top: 28px; }
.partner-row { display: grid; grid-template-columns: 56px minmax(180px, 280px) minmax(0, 1fr); gap: 18px 28px; align-items: start; padding: 22px 0; border-top: 1px solid var(--navy); }
.partner-row:last-child { border-bottom: 1px solid var(--navy); }
.partner-row__index { color: var(--navy); font-size: 28px; font-weight: 500; line-height: 1.2; }
.partner-row h2 { margin: 0; font-size: clamp(22px, 2vw, 32px); font-weight: 500; line-height: 1.2; }
.partner-row p { margin: 0; max-width: 520px; font-size: 15px; line-height: 1.55; text-align: justify; }
.assembly ul { margin: 12px 0 0; padding-left: 22px; }
.assembly li { margin: 0 0 8px; font-size: 18px; line-height: 1.45; }
.committee__title { margin: 0 0 28px; font-size: clamp(32px, 4vw, 48px); font-weight: 500; line-height: 1.15; }
.committee__facts { margin: 8px 0 28px; padding-left: 22px; }
.committee__facts li { margin: 0 0 10px; font-size: 18px; line-height: 1.5; }
.committee__note { max-width: 760px; margin: 8px auto 28px; text-align: center; color: var(--navy); font-size: 20px; line-height: 1.45; }
.role-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin: 12px 0 48px; }
.role-card { aspect-ratio: 1; border-radius: 50%; background: var(--sand); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 28px; }
.role-card h2 { margin: 0 0 8px; color: var(--navy); font-size: 22px; font-weight: 700; }
.role-card p { margin: 0; font-size: 16px; line-height: 1.4; }
.role-card__meta { margin-top: 6px; color: var(--muted); }
.story__photo--soft { border-radius: 50%; }
.audience { max-width: 1180px; margin: 0 auto; padding: 12px 24px 24px; }
.audience h2, .train-cta p { margin: 0 0 18px; }
.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.audience-card { position: relative; min-height: 360px; overflow: hidden; border-radius: 8px; }
.audience-card img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.audience-card h3 { position: absolute; left: 16px; right: 16px; bottom: 18%; margin: 0; padding: 14px 10px; background: var(--navy); color: #fff; text-align: center; font-size: 16px; font-weight: 500; line-height: 1.3; }
.train-cta { margin: 36px 0 0; padding: 36px 24px; background: var(--navy); color: #fff; text-align: center; }
.prose a, .member-bio a { color: var(--navy); text-decoration: underline; }
.train-cta .btn { margin-top: 8px; }
.train-cta .btn--light { background: #fff; color: var(--navy); margin-left: 12px; }
.contact-title { margin: 0 0 28px; font-size: clamp(36px, 5vw, 64px); font-weight: 500; }
.contact-panel { display: grid; grid-template-columns: minmax(260px, 420px) 1fr; background: #fff; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); }
.contact-panel__info { background: var(--navy); color: #fff; padding: 36px 28px; }
.contact-panel__info h2, .contact-form h2 { margin: 0 0 18px; font-size: 28px; font-weight: 500; }
.contact-panel__info p { margin: 0 0 14px; font-size: 18px; line-height: 1.45; }
.contact-panel__info a { color: #fff; text-decoration: underline; }
.contact-form { padding: 36px 28px; }
.contact-form .wpcf7-form p { margin: 0 0 16px; }
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--navy);
  background: transparent;
  padding: 8px 0 10px;
  font: inherit;
  color: var(--ink);
}
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-form input[type="submit"] {
  background: var(--gold);
  color: #fff;
  border: 0;
  border-radius: 59px;
  min-height: 48px;
  padding: 0 28px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
}
.contact-map { width: min(1100px, calc(100% - 48px)); height: 450px; margin: 28px auto 48px; border-radius: 16px; overflow: hidden; }
.contact-map iframe { display: block; width: 100%; height: 450px; border: 0; }

@media (max-width: 1100px) {
  .partner-row, .role-grid, .audience-grid, .contact-panel { grid-template-columns: 1fr; }
  .partner-row { gap: 8px; }
  .role-card { aspect-ratio: auto; min-height: 180px; border-radius: 28px; }
  .audience-card { min-height: 240px; }
  .contact-map { width: calc(100% - 32px); }
}


@media (prefers-reduced-motion: reduce) {
  .program {
    position: relative;
    top: auto;
    z-index: auto;
  }
  .hero__slide,
  .hero__title { transition: none; }
}

.profile .story {
  max-width: 1180px;
  padding-top: 48px;
}
.profile .story__grid {
  grid-template-columns: minmax(240px, 420px) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
  margin-top: 0;
}
.profile .story__photo {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
}
.profile .story__copy .kicker {
  margin: 0 0 22px;
  text-align: left;
  font-style: normal;
  font-weight: 400;
  font-size: 20px;
  color: var(--ink);
}
.profile .story__copy .kicker::after,
.profile .focus > .kicker::after {
  width: 168px;
  height: 2px;
  margin: 8px 0 0;
  background: var(--gold);
}
.profile .story__copy p {
  font-size: 20px;
  line-height: 1.4;
}
.profile .focus {
  max-width: 1180px;
  padding-top: 56px;
}
.profile .focus > .kicker {
  display: block;
  width: fit-content;
  margin: 0 auto 28px;
  text-align: center;
  font-style: normal;
  font-weight: 400;
  font-size: 20px;
  color: var(--ink);
}
.profile .focus > .kicker::after {
  margin-left: auto;
  margin-right: auto;
}
.profile .focus-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 28px;
  align-items: start;
}
.profile .focus-card {
  --focus-pad-top: 28px;
  --focus-pad-x: 24px;
  --focus-pad-bottom: 22px;
  --focus-gap: 12px;
  --focus-icon: 110px;
  --focus-icon-open: 48px;
  --focus-open-top: 18px;
  padding: 0;
  background: var(--sand);
  border-radius: 0 63px 0 0;
}
.profile .focus-card__toggle {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: inherit;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.profile .focus-card__toggle:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: -8px;
}
.profile .focus-card__measure { display: grid; }
.profile .focus-card__measure-rest,
.profile .focus-card__measure-open {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  visibility: hidden;
  pointer-events: none;
}
.profile .focus-card__measure-rest {
  gap: var(--focus-gap);
  padding: var(--focus-pad-top) var(--focus-pad-x) var(--focus-pad-bottom);
}
.profile .focus-card__measure-open {
  gap: 10px;
  padding: var(--focus-open-top) var(--focus-pad-x) var(--focus-pad-bottom);
}
.profile .focus-card__measure-rest .focus-card__measure-icon {
  width: var(--focus-icon);
  height: var(--focus-icon);
}
.profile .focus-card__measure-open .focus-card__measure-icon {
  width: var(--focus-icon-open);
  height: var(--focus-icon-open);
}
.profile .focus-card__measure-title,
.profile .focus-card__measure-copy {
  display: block;
  width: 100%;
}
.profile .focus-card__measure-title,
.profile .focus-card__title {
  color: var(--ink);
  font-size: 25px;
  font-weight: 600;
  line-height: 1.25;
}
.profile .focus-card__measure-copy,
.profile .focus-card__points {
  color: var(--ink);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.35;
}
.profile .focus-card__measure-copy p,
.profile .focus-card__points p { margin: 0 0 8px; }
.profile .focus-card__measure-copy p:last-child,
.profile .focus-card__points p:last-child { margin-bottom: 0; }
.profile .focus-card__icon {
  position: absolute;
  top: var(--focus-pad-top);
  left: var(--focus-pad-x);
  width: var(--focus-icon);
  height: var(--focus-icon);
  max-width: none;
  object-fit: contain;
  transition: top 220ms ease, left 220ms ease, width 220ms ease, height 220ms ease;
}
.profile .focus-card__title,
.profile .focus-card__points {
  position: absolute;
  left: var(--focus-pad-x);
  right: var(--focus-pad-x);
  transition: opacity 220ms ease;
}
.profile .focus-card__title { bottom: var(--focus-pad-bottom); }
.profile .focus-card__points {
  top: calc(var(--focus-open-top) + var(--focus-icon-open) + 10px);
  bottom: var(--focus-pad-bottom);
  opacity: 0;
}
.profile .focus-card.is-open .focus-card__icon,
.profile .focus-card.is-preview .focus-card__icon {
  top: var(--focus-open-top);
  left: var(--focus-pad-x);
  width: var(--focus-icon-open);
  height: var(--focus-icon-open);
}
.profile .focus-card.is-open .focus-card__title,
.profile .focus-card.is-preview .focus-card__title { opacity: 0; }
.profile .focus-card.is-open .focus-card__points,
.profile .focus-card.is-preview .focus-card__points { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .profile .focus-card__icon,
  .profile .focus-card__title,
  .profile .focus-card__points { transition: none; }
}
.profile .prose--wide {
  max-width: 980px;
  padding: 72px 24px 24px;
}
.profile .prose--wide h2,
.profile .profile-board h2,
.profile .split__copy h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: -0.01em;
}
.profile .prose--wide h2 {
  margin: 0 0 28px;
  text-align: center;
  color: var(--ink);
}
.profile .prose--wide p,
.profile .profile-board p,
.profile .profile-board li,
.profile .split__copy p {
  font-size: 20px;
  line-height: 1.5;
}
.profile .prose--wide a { color: var(--navy); }
.profile .prose--wide ul,
.profile .profile-board ul {
  margin: 0;
  padding-left: 1.25em;
}
.profile .prose--wide li,
.profile .profile-board li { margin: 0 0 12px; }
.profile .split {
  grid-template-columns: minmax(280px, 0.92fr) minmax(280px, 1.08fr);
  margin-top: 48px;
}
.profile .split img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}
.profile .split__copy {
  padding: 56px 48px 56px 56px;
}
.profile .split__copy h2 { margin: 0 0 24px; }
.profile .split__copy,
.profile .split__copy p { color: #fff6f6; }
.profile .split__copy a { color: #fff; }
.profile .profile-board {
  max-width: 1000px;
  margin: 0 auto;
  padding: 72px 24px 88px;
}
.profile .profile-board h2 {
  margin: 0 0 24px;
  color: var(--ink);
}

@media (max-width: 1100px) {
  .profile .story { padding-top: 28px; }
  .profile .story__grid,
  .profile .split { grid-template-columns: 1fr; }
  .profile .story__grid { justify-items: center; }
  .profile .story__photo { width: min(280px, 78vw); }
  .profile .story__copy { width: 100%; }
  .profile .focus-grid { grid-template-columns: 1fr; }
  .profile .focus-card { border-radius: 0 40px 0 0; --focus-pad-top: 20px; --focus-pad-x: 18px; --focus-pad-bottom: 18px; --focus-icon: 84px; --focus-icon-open: 40px; --focus-open-top: 16px; }
  .profile .focus-card__measure-title,
  .profile .focus-card__title { font-size: 22px; }
  .profile .focus-card__measure-copy,
  .profile .focus-card__points { font-size: 17px; }
  .profile .split { margin-top: 36px; }
  .profile .split img { min-height: 240px; }
  .profile .split__copy { padding: 32px 20px 40px; }
  .profile .prose--wide,
  .profile .profile-board { padding-left: 20px; padding-right: 20px; }
}

.story__grid--solo { grid-template-columns: minmax(0, 860px); }
.audience-card--note { position: static; min-height: 0; overflow: visible; background: transparent; }
.audience-card--note .audience-card__frame { position: relative; min-height: 360px; overflow: hidden; border-radius: 8px; }
.audience-card__text { margin: 12px 0 0; color: var(--ink); font-size: 16px; line-height: 1.45; }
.program-open { max-width: 860px; margin: 0 auto; padding: 12px 24px 48px; }
.program-open h2 { margin: 36px 0 12px; color: var(--navy); font-size: clamp(26px, 3vw, 36px); font-weight: 500; line-height: 1.25; }
.program-open__body,
.program-apply { font-size: 18px; line-height: 1.55; }
.program-apply { max-width: 860px; margin: 8px auto 0; padding: 0 24px 8px; }
.program-apply a,
.sheet-register a:not(.btn),
.program-open__body a,
.sheet__desc a,
.sheet-more__body a { color: var(--navy); text-decoration: underline; }
.member-bio ul,
.program-open__body ul,
.sheet__desc ul,
.sheet-more__body ul { margin: 0 0 1em; padding-left: 1.25em; }
.member-bio li,
.program-open__body li { margin: 0 0 0.4em; }
.sheet-page { max-width: 1080px; margin: 0 auto; padding: 56px 32px 96px; }
.sheet-page h1 { max-width: 18em; margin: 0 0 28px; color: var(--navy); font-size: clamp(34px, 4vw, 52px); font-weight: 500; line-height: 1.15; }
.sheet__desc { max-width: 40rem; color: var(--ink); font-size: 18px; line-height: 1.65; }
.sheet-more { max-width: 42rem; }
.sheet-more__body { font-size: 18px; line-height: 1.6; }
.sheet__desc p,
.sheet-more__body p,
.program-open__body p { margin: 0 0 1em; }
.sheet__desc p:last-child,
.sheet-more__body p:last-child { margin-bottom: 0; }
.sheet-facts { display: grid; grid-template-columns: repeat(var(--sheet-cols, 5), minmax(0, 1fr)); gap: 28px 36px; margin: 40px 0 0; padding: 28px 0 32px; border-top: 1px solid rgba(29, 89, 131, 0.2); border-bottom: 1px solid rgba(29, 89, 131, 0.2); }
.sheet-facts div { min-width: 0; }
.sheet-facts dt { margin: 0 0 8px; color: var(--navy); font-size: 13px; font-weight: 600; letter-spacing: 0.03em; line-height: 1.35; }
.sheet-facts dd { margin: 0; color: var(--ink); font-size: 16px; line-height: 1.5; white-space: pre-line; overflow-wrap: anywhere; }
.sheet-more h2 { margin: 48px 0 14px; color: var(--navy); font-size: clamp(22px, 2.4vw, 30px); font-weight: 500; line-height: 1.25; }
.sheet-more__body li { margin: 0 0 0.85em; line-height: 1.5; }
.sheet-intro { display: grid; grid-template-columns: 480px minmax(0, 1fr); column-gap: 48px; align-items: start; }
.sheet-hero { margin: 0; }
.sheet-page .sheet-intro__title { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.sheet-intro .sheet__desc { max-width: none; }
.sheet-intro .sheet-facts { grid-template-columns: 1fr; gap: 20px; margin-top: 28px; }
.sheet-hero img,
.sheet-date img,
.sheet-close img { width: 100%; height: auto; display: block; }
.sheet-dates { display: flex; flex-direction: column; gap: 40px; margin: 8px 0 8px; }
.sheet-date { display: grid; grid-template-columns: minmax(260px, 440px) minmax(0, 1fr); gap: 28px 40px; align-items: center; }
.sheet-date__copy { font-size: 18px; line-height: 1.55; color: var(--ink); }
.sheet-date__copy p { margin: 0; }
.sheet-close { display: block; margin: 48px 0 12px; }
.sheet-register { margin: 44px 0 0; }
.sheet-register a.btn { text-decoration: none; }
.sheet-page .sheet-register a.btn--gold,
.sheet-page .sheet-register a.btn--navy { color: #fff; }

@media (max-width: 1100px) {
  .sheet-page { padding: 28px 16px 64px; }
  .sheet-intro { display: block; }
  .sheet-intro .sheet-hero { margin: 0 0 28px; }
  .sheet-facts { grid-template-columns: 1fr; gap: 22px; }
  .sheet-date { grid-template-columns: 1fr; gap: 16px; }
  .audience-card--note .audience-card__frame { min-height: 240px; }
  .program-open,
  .program-apply { padding-left: 16px; padding-right: 16px; }
}
