:root {
  --purple: #32135a;
  --purple-deep: #21103d;
  --purple-dark: #16072b;
  --gold: #d7a928;
  --gold-light: #efcf66;
  --ink: #261f2f;
  --muted: #655d6b;
  --offwhite: #faf8fc;
  --line: #e7e0ea;
  --max: 1160px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.6;
}
a {
  color: inherit;
}
a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}
.container {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
}
.skip-link {
  position: absolute;
  top: -80px;
  left: 16px;
  z-index: 99;
  background: white;
  padding: 10px;
}
.skip-link:focus {
  top: 12px;
}
.header {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.wordmark {
  display: block;
  width: 260px;
  height: auto;
}
.navigation {
  display: flex;
  align-items: center;
  gap: 30px;
}
.navigation a {
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--purple-deep);
}
.navigation a:hover {
  color: #6c3595;
}
.navigation .nav-cta > a {
  background: var(--gold);
  padding: 12px 20px;
  border-radius: 5px;
}
.navigation .nav-cta > a:hover {
  color: var(--purple-deep);
  background: var(--gold-light);
}
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(105deg, #32135a 0%, #50217d 57%, #805999 100%);
  color: #fff;
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      135deg,
      transparent 0 55%,
      rgba(255, 255, 255, 0.07) 55.2% 55.5%,
      transparent 55.7%
    ),
    linear-gradient(
      132deg,
      transparent 0 73%,
      rgba(215, 169, 40, 0.13) 73.2% 73.5%,
      transparent 73.7%
    ),
    radial-gradient(
      circle at 84% 22%,
      rgba(255, 255, 255, 0.13),
      transparent 36%
    );
  z-index: -1;
}
.hero-inner {
  min-height: 490px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 60px;
  padding-block: 66px;
}
.eyebrow {
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #a47708;
  margin: 0 0 14px;
}
.hero .eyebrow,
.purple-section .eyebrow {
  color: var(--gold-light);
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: clamp(2.125rem, 3.5vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  max-width: 680px;
  margin-bottom: 22px;
}
.hero-copy > p:not(.eyebrow) {
  font-size: 1.1rem;
  max-width: 600px;
  color: #eee4f4;
  margin: 0 0 28px;
}
.gold-line {
  width: 52px;
  height: 4px;
  background: var(--gold);
  border-radius: 4px;
  margin-bottom: 22px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 21px;
  border-radius: 5px;
  font-weight: 800;
  font-size: 0.93rem;
  text-decoration: none;
  text-align: center;
  transition: background 0.2s ease;
}
.wp-block-button.gold .wp-block-button__link {
  background: var(--gold);
  color: var(--purple-dark);
}
.wp-block-button.gold .wp-block-button__link:hover {
  background: var(--gold-light);
}
.wp-block-button.outline .wp-block-button__link {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: white;
}
.wp-block-button.outline .wp-block-button__link:hover {
  background: rgba(255, 255, 255, 0.12);
}
.photo-frame {
  margin: 0;
  position: relative;
  aspect-ratio: 4/3;
  min-height: 260px;
  border-radius: 18px;
  background: linear-gradient(
    140deg,
    rgba(255, 255, 255, 0.16),
    rgba(25, 7, 48, 0.42)
  );
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 26px 55px rgba(21, 8, 38, 0.18);
  display: grid;
  place-content: center;
  text-align: center;
  padding: 32px;
}
.photo-frame:before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px dashed rgba(255, 255, 255, 0.32);
  border-radius: 11px;
}
.photo-frame svg {
  width: 48px;
  height: 48px;
  margin: 0 auto 14px;
  opacity: 0.9;
}
.photo-frame strong {
  font-size: 1.02rem;
  display: block;
  position: relative;
}
.photo-frame span {
  color: #e6dceb;
  font-size: 0.82rem;
  position: relative;
}
.photo-frame figcaption {
  position: absolute;
  bottom: -28px;
  right: 0;
  font-size: 0.78rem;
  color: #eee1f5;
}
.stats {
  background: var(--purple-deep);
  color: white;
}
.stats-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.stat {
  padding: 27px 18px 28px 0;
  position: relative;
}
.stat:not(:last-child):after {
  content: "";
  position: absolute;
  right: 25px;
  top: 25%;
  height: 50%;
  width: 1px;
  background: rgba(255, 255, 255, 0.22);
}
.stat strong {
  display: block;
  font-size: clamp(1.8rem, 3.1vw, 2.35rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.stat span {
  display: block;
  font-size: 0.87rem;
  color: #d9cae5;
  margin-top: 6px;
}
.section {
  padding: 76px 0;
}
.section h2 {
  font-size: clamp(1.9rem, 2.8vw, 2.375rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--purple-deep);
  margin-bottom: 20px;
}
.section p {
  color: var(--muted);
}
.intro-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 84px;
  align-items: start;
}
.intro-grid .lead {
  font-size: 1.17rem;
  color: var(--ink);
}
.pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 26px;
}
.pillar {
  border-left: 3px solid var(--gold);
  padding: 4px 0 4px 19px;
}
.pillar h3 {
  font-size: 1.05rem;
  color: var(--purple-deep);
  margin-bottom: 6px;
}
.pillar p {
  font-size: 0.94rem;
  margin-bottom: 0;
}
.purple-section {
  background: var(--purple);
  color: white;
}
.purple-section h2 {
  color: white;
}
.purple-section p {
  color: #e4d8ed;
}
.campaign-label {
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
  color: var(--gold-light) !important;
  margin-bottom: 15px;
}
.get-involved {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.cta-panel {
  background: #fff;
  color: var(--ink);
  padding: 35px;
  border-radius: 15px;
  box-shadow: 0 16px 40px rgba(16, 5, 30, 0.12);
}
.cta-panel h3 {
  color: var(--purple-deep);
  font-size: 1.6rem;
  line-height: 1.2;
  margin-bottom: 14px;
}
.cta-panel p {
  color: var(--muted);
}
.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.contact-links .wp-block-button__link {
  background: var(--gold);
  color: var(--purple-dark);
}
.contact-links .wp-block-button__link:hover {
  background: var(--gold-light);
}
.contact-links .wp-block-button__link.secondary {
  border: 1px solid var(--purple);
  background: white;
  color: var(--purple);
}
.contact-links .wp-block-button__link.secondary:hover {
  background: #f4eff7;
}
.note {
  font-size: 0.84rem;
}
.footer {
  background: var(--purple-dark);
  color: #ded3e6;
  padding: 45px 0 26px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: start;
}
.footer strong {
  color: white;
}
.footer p {
  font-size: 0.88rem;
  max-width: 530px;
  margin: 9px 0;
}
.footer a {
  color: white;
}
.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  margin-top: 28px;
  padding-top: 18px;
  font-size: 0.8rem;
  color: #c9bad5;
}
@media (max-width: 850px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-block: 60px 80px;
  }
  .photo-frame {
    max-width: 650px;
    width: 100%;
    aspect-ratio: 16/9;
  }
  .intro-grid,
  .get-involved {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .navigation {
    gap: 16px;
  }
}
@media (max-width: 580px) {
  .container {
    width: min(calc(100% - 32px), var(--max));
  }
  .header-inner {
    min-height: 78px;
    flex-wrap: wrap;
    padding: 14px 0;
  }
  .wordmark {
    width: 220px;
  }
  .navigation {
    gap: 12px;
    flex-wrap: wrap;
  }
  .navigation a {
    font-size: 0.84rem;
  }
  .navigation .nav-cta > a {
    padding: 9px 12px;
  }
  .hero-inner {
    padding-block: 48px 65px;
  }
  .photo-frame {
    min-height: 230px;
  }
  .stats-inner {
    grid-template-columns: 1fr;
  }
  .stat {
    padding: 18px 0;
  }
  .stat:not(:last-child):after {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 1px;
  }
  .section {
    padding: 65px 0;
  }
  .pillars {
    grid-template-columns: 1fr;
  }
  .cta-panel {
    padding: 26px;
  }
  .footer-inner {
    display: block;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}

/* Scholar photo and Giving Tuesday embed */
.photo-frame {
  padding: 0;
  overflow: hidden;
  display: block;
  background: #21103d;
}
.photo-frame:before {
  display: none;
}
.photo-frame img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  object-position: center;
}
.donation-embed {
  min-height: 450px;
  width: 100%;
}
.donation-embed iframe {
  display: block;
}
.cta-panel .note a {
  color: var(--purple);
  font-weight: 700;
}
@media (max-width: 850px) {
  .photo-frame img {
    aspect-ratio: 16/9;
  }
}

/* Refined mobile hero and navigation */
@media (max-width: 580px) {
  h1 {
    font-size: 2.125rem;
    line-height: 1.14;
  }
  .navigation {
    width: 100%;
  }
  .navigation a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 44px;
    padding: 10px 5px;
    border: 1px solid #d7cce4;
    border-radius: 5px;
    background: #f8f5fb;
    color: var(--purple-deep);
    font-size: 0.82rem;
    line-height: 1.2;
  }
  .navigation a:hover {
    background: #eee7f4;
    color: var(--purple-deep);
  }
  .navigation .nav-cta > a {
    padding: 10px 5px;
    border-color: var(--gold);
    background: var(--gold);
  }
  .navigation .nav-cta > a:hover {
    background: var(--gold-light);
  }
}

/* Launch supporting pages and shared navigation */
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main {
  flex: 1;
}
.navigation a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.page-hero {
  background: linear-gradient(105deg, var(--purple), #50217d);
  color: #fff;
  padding: 58px 0;
}
.page-hero h1 {
  margin-bottom: 12px;
}
.page-hero p {
  color: #eee4f4;
  font-size: 1.1rem;
  margin-bottom: 0;
}
.leadership-grid {
  list-style-type: "";
  padding: 0;
  margin: 0 0 42px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.leadership-grid:last-child {
  margin-bottom: 0;
}
.leadership-grid > .wp-block-group {
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  padding: 22px;
  background: var(--offwhite);
  border-radius: 5px;
}
.leadership-grid h3 {
  font-size: 1.1rem;
  color: var(--purple-deep);
  margin-bottom: 4px;
}
.leadership-grid p {
  margin: 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.contact-details {
  padding: 26px;
  background: var(--offwhite);
  border-left: 3px solid var(--gold);
}
.contact-details h2 {
  font-size: 1.3rem;
}
.contact-details address {
  font-style: normal;
  overflow-wrap: anywhere;
}
.contact-details a {
  color: var(--purple);
}
@media (max-width: 850px) {
  .leadership-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
@media (max-width: 580px) {
  .leadership-grid {
    grid-template-columns: 1fr;
  }
  .page-hero {
    padding: 40px 0;
  }
}

/* Giving Tuesday: align content and donation panel at the top. */
.get-involved {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas: "copy donate" "photo donate";
  grid-template-rows: auto 1fr;
  align-items: start;
  row-gap: 24px;
}
.campaign-copy {
  grid-area: copy;
}
.campaign-copy p {
  margin-bottom: 0;
}
.campaign-photo {
  grid-area: photo;
  margin: 0;
  min-width: 0;
}
.campaign-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}
.campaign-photo figcaption {
  font-size: 0.85rem;
  color: #e4d8ed;
  margin-top: 10px;
  line-height: 1.5;
}
.get-involved .cta-panel {
  grid-area: donate;
  min-width: 0;
}
.thermometer-frame {
  position: relative;
  width: 100%;
  height: 96px;
  overflow: hidden;
}
.campaign-thermometer {
  margin-bottom: 8px;
}
@media (max-width: 850px) {
  .get-involved {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "copy" "donate" "photo";
    grid-template-rows: auto;
    gap: 28px;
  }
  .thermometer-frame {
    height: 120px;
  }
}

/* Block wrappers and frontend styles shared with the editor. */
.wp-site-blocks {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.wp-site-blocks > .foundation-main {
  flex: 1;
}
.wp-block-buttons.actions {
  gap: 12px;
}
.header-inner .wordmark {
  margin: 0;
  flex-shrink: 0;
}
.wordmark img {
  display: block;
  width: 100%;
  height: auto;
}
.header-inner > .navigation {
  display: block;
}
.header-inner .navigation .wp-block-navigation__container {
  gap: 30px;
}
.navigation .current-menu-item > a {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.contact-details {
  overflow-wrap: anywhere;
}
.footer .footer-name {
  font-size: 1rem;
  margin-top: 0;
}
.thermometer-frame iframe,
.donation-fallback-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.donation-fallback-frame {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 450px;
}
@media (max-width: 850px) {
  .header-inner .navigation .wp-block-navigation__container {
    gap: 16px;
  }
}
@media (max-width: 580px) {
  .header-inner .navigation .wp-block-navigation__container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .header-inner .navigation .wp-block-navigation-item > a {
    width: 100%;
  }
}
.stat {
  margin: 0;
}
.campaign-photo img {
  aspect-ratio: 1116 / 723;
}
.campaign-photo figcaption {
  margin-bottom: 0;
}
.contact-details address p {
  color: inherit;
  margin-bottom: 0;
}

/* Native responsive navigation: compact header dropdown. */
@media (max-width: 768px) {
  .header-inner { position: relative; flex-wrap: nowrap; gap: 12px; }
  .header-inner .wordmark { width: min(220px, 72%); }
  .header-inner > .navigation { width: auto; margin-left: auto; }
  .navigation .wp-block-navigation__responsive-container-open {
    display: flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; color: var(--purple);
  }
  .navigation .wp-block-navigation__responsive-container:not(.is-menu-open) { display: none; }
  .navigation .wp-block-navigation__responsive-container.is-menu-open {
    position: absolute; inset: 100% 0 auto; z-index: 100;
    width: 100%; padding: 16px; background: white !important;
    color: var(--purple) !important; border: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(33,16,61,.15);
    overflow: auto; max-height: 75vh;
  }
  .navigation .wp-block-navigation__responsive-container-close {
    position: absolute; top: 0; right: 0; padding: 10px; color: var(--purple);
  }
  .navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
    padding-top: 44px; align-items: stretch;
  }
  .header-inner .navigation .wp-block-navigation__container {
    display: flex; flex-direction: column; align-items: stretch; gap: 8px; width: 100%;
  }
  .header-inner .navigation .wp-block-navigation-item { width: 100%; }
  .header-inner .navigation .wp-block-navigation-item > a {
    display: flex; justify-content: center; align-items: center; min-height: 44px;
    width: 100%; padding: 10px; border: 1px solid #d7cce4;
    border-radius: 5px; background: #f8f5fb; color: var(--purple-deep);
  }
  .header-inner .navigation .nav-cta > a { background: var(--gold); border-color: var(--gold); }
}

/* Mobile dropdown sizing: anchor to the header, not the toggle. */
@media (max-width: 768px) {
  .header-inner > .navigation { position: static; }
  .header-inner .navigation .wp-block-navigation__responsive-container-open {
    background: var(--gold); color: var(--purple-dark);
    border-radius: 5px; flex-shrink: 0;
  }
  .header-inner .navigation .wp-block-navigation__responsive-container-open svg {
    width: 26px; height: 26px;
  }
  .header-inner .navigation .wp-block-navigation__responsive-container.is-menu-open {
    position: absolute; top: 100%; left: 0; right: 0; bottom: auto;
    width: auto; min-width: 0; max-width: none;
    box-sizing: border-box; border-radius: 0 0 6px 6px;
  }
  .header-inner .navigation .wp-block-navigation__responsive-close,
  .header-inner .navigation .wp-block-navigation__responsive-dialog,
  .header-inner .navigation .wp-block-navigation__responsive-container-content {
    width: 100%; max-width: none; min-width: 0; box-sizing: border-box;
  }
  .header-inner .navigation .wp-block-navigation__responsive-dialog { position: relative; }
  .header-inner .navigation .wp-block-navigation__responsive-container-close {
    right: 0; top: 0; width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
  }
  .header-inner .navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
    display: flex; flex-direction: column; align-items: stretch; width: 100%;
  }
  .header-inner .navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
    width: 100%; min-width: 0;
  }
}

/* Mobile dropdown correction: anchor to header, not the toggle. */
@media (max-width: 768px) {
  .header { position: relative; z-index: 10; }
  .header-inner > .navigation { position: static; }
  .header-inner .navigation .wp-block-navigation__responsive-container.is-menu-open {
    position: absolute; inset: 100% 0 auto; width: 100%; max-width: none;
    box-sizing: border-box; min-width: 0;
  }
  .navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-close,
  .navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-dialog {
    width: 100%; max-width: none; position: static;
  }
  .header-inner .navigation .wp-block-navigation__responsive-container-open {
    background: var(--gold); color: var(--purple); border-radius: 5px;
    position: relative; flex-shrink: 0;
  }
  .header-inner .navigation .wp-block-navigation__responsive-container-open svg { display: none; }
  .header-inner .navigation .wp-block-navigation__responsive-container-open::before {
    content: ""; width: 24px; height: 3px; border-radius: 2px;
    background: currentColor; box-shadow: 0 -8px currentColor, 0 8px currentColor;
  }
  .header-inner .navigation .wp-block-navigation__responsive-container-open:focus-visible,
  .header-inner .navigation .wp-block-navigation__responsive-container-close:focus-visible {
    outline: 3px solid var(--purple); outline-offset: 3px;
  }
  .header-inner .navigation .wp-block-navigation__responsive-container-close { top: 8px; right: 8px; }
  .header-inner .navigation .wp-block-navigation__responsive-container-content,
  .header-inner .navigation .wp-block-navigation__container { width: 100%; align-items: stretch; }
}

/* Gold impact statistics for the campaign-first homepage. */
.stats {
  background: var(--gold);
  color: var(--purple-deep);
}
.stat span {
  color: var(--purple);
}
.stat:not(:last-child):after {
  background: rgba(33, 16, 61, 0.25);
}

/* Lavender Giving Tuesday campaign treatment. */
.purple-section {
  background: #d9cae5;
  color: var(--purple-deep);
}
.purple-section h2 {
  color: var(--purple-deep);
}
.purple-section p {
  color: var(--ink);
}
.campaign-photo figcaption {
  color: var(--muted);
}
