:root {
  --display-size: 56px;
  --display-line: 64px;
  --heading-size: 32px;
  --heading-line: 40px;
  --body-size: 16px;
  --body-line: 24px;
  --gutter: 48px;
  --page-width: min(1248px, calc(100% - 2 * var(--gutter)));
  --section-space: 80px;
  --column-gap: 32px;
  --row-gap: 40px;
  --text-gap: 8px;
  --inset-rule: inset 0 1px var(--line);
}
body,
.mast nav > ul > li > a,
.mast nav a,
.mobile-menu,
.button,
.audience p,
.services p,
.value-grid p,
.voice-grid blockquote,
.voice-grid figcaption,
.arrow-link,
.footer,
.footer h3,
.footer summary {
  font-size: var(--body-size);
  line-height: var(--body-line);
}
.hero h1 {
  font-size: var(--display-size);
  line-height: var(--display-line);
  letter-spacing: -.046em;
}
.partner-band > p,
.content h2,
.audience h3,
.services h3,
.value-grid h3,
.resources-grid h3 {
  font-size: var(--heading-size);
  line-height: var(--heading-line);
  letter-spacing: -.026em;
}
.mast {
  width: var(--page-width);
  min-height: 88px;
  padding-inline: 0;
  gap: var(--column-gap);
}
.mast nav > ul { gap: 24px; }
.mast nav > ul > li > a,
.mast nav a,
.mobile-menu { min-height: 44px; display: flex; align-items: center; }
.submenu-toggle { width: 32px; height: 48px; }
.dropdown a { padding: 8px 16px; }
.mobile-menu { display: none; }
.hero {
  width: var(--page-width);
  min-height: 576px;
  border-radius: 24px;
}
.hero-text { padding: 48px 8px 64px var(--gutter); }
.hero .actions { margin-top: 32px; }
.actions { margin-top: 24px; gap: 12px; }
.button {
  padding: 12px 20px;
  min-height: 48px;
  border: 0;
  box-shadow: inset 0 0 0 1px var(--violet);
}
.button.secondary { box-shadow: inset 0 0 0 1px #a292bb; }
.motion { bottom: 16px; right: 16px; min-width: 48px; min-height: 48px; }

.content { width: var(--page-width); }
main {
  display: flex;
  flex-direction: column;
  gap: var(--section-space);
  padding-bottom: var(--section-space);
}
main > section[class] { margin-block: 0; }
main > section.partner-band { margin-block-start: calc(-1 * var(--section-space)); }
main > section.services { margin-block-start: calc(40px - var(--section-space)); }
.partner-band { width: var(--page-width); margin-inline: auto; padding: 32px 0 0; }
.partners {
  margin-bottom: 32px;
  gap: 16px 24px;
  grid-auto-rows: 40px;
}
.partners img { max-height: 32px; }
.partner-band > p { max-width: 736px; }
.section-intro { margin-bottom: 40px; }
.section-intro p { margin-top: 16px; max-width: 58ch; }
main > .audiences {
  border-top: 0;
  box-shadow: var(--inset-rule);
  padding-top: 56px;
}
.audience-grid,
.value-grid,
.voice-grid,
.resources-grid {
  gap: var(--row-gap) var(--column-gap);
}
.audience, .value-grid article { container-type: inline-size; }
.audience img, .value-grid img { border-radius: 16px; }
.audience img { height: round(nearest, calc(100cqw / 1.65), 8px); }
.value-grid img { height: round(nearest, calc(100cqw / 1.78), 8px); }
.audience:hover img { transform: none; }
.audience:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
.audience > div, .value-grid article > div {
  padding: 16px 0 24px;
  border: 0;
  box-shadow: inset 0 -1px var(--line);
}
.audience > div { padding-inline-end: 56px; }
.audience h3 { margin-bottom: var(--text-gap); }
.audience span { right: 0; top: 16px; bottom: auto; width: 40px; height: 40px; }
.savings, .eligibility {
  gap: 24px var(--column-gap);
  border-radius: 24px;
  padding: var(--gutter);
  align-items: center;
}
.savings p, .eligibility p { margin-top: var(--text-gap); max-width: 58ch; }

.services { gap: 24px var(--column-gap); }
.services article,
.voice-grid figure,
.resources-grid article {
  padding: 16px 0 0;
  border: 0;
  box-shadow: var(--inset-rule);
}
.services p, .value-grid p { margin-top: var(--text-gap); max-width: 60ch; }
.testimonials { padding: 64px 0; }
.voice-grid figure { justify-content: flex-start; gap: 16px; }
.voice-grid blockquote { max-width: 62ch; }
.resources-head { margin-bottom: 24px; }
.resources-grid article { min-height: 128px; gap: 16px; }
.resources-grid h3 { text-wrap: pretty; }

.final-cta { border-radius: 24px; }
.final-cta > div { padding: var(--gutter); align-self: center; }
.final-cta > img { min-height: 0; }
.footer {
  padding-block: 48px 24px;
  background: var(--wash);
  color: var(--muted);
  box-shadow: inset 0 1px var(--line);
}
.foot-grid {
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, .8fr);
  gap: 32px var(--column-gap);
}
.foot-group { display: grid; align-content: start; gap: 24px; min-width: 0; }
.footer h3, .foot-end summary {
  font-weight: 750;
  color: var(--plum);
}
.footer h3 { margin: 0 0 8px; }
.footer li { margin: 0; }
.foot-group ul { display: grid; gap: 4px; }
.foot-group li a, .foot-end li a { display: block; padding-block: 4px; }
.foot-about p { max-width: 30ch; margin: 16px 0; }
.foot-association img { width: min(100%, 136px); }
.social { gap: 8px; }
.social a { padding: 8px; border-radius: 50%; }
.social a:first-child { margin-inline-start: -8px; }
.social img { width: 24px; }
.foot-end {
  display: block;
  border: 0;
  box-shadow: var(--inset-rule);
  margin-top: 32px;
  padding-top: 8px;
}
.foot-end summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0;
  min-height: 48px;
}
.foot-end summary::-webkit-details-marker { display: none; }
.foot-end summary::after {
  content: "";
  width: 8px;
  height: 8px;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: translateY(-2px) rotate(45deg);
  margin-inline-end: 4px;
}
.foot-end details[open] summary::after { transform: translateY(2px) rotate(225deg); }
.foot-end ul { gap: 0 var(--column-gap); margin-top: 8px; }
@media (min-width: 901px) {
  .services article {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 2;
    row-gap: var(--text-gap);
  }
  .services article p { margin-top: 0; }
}
@media (max-width: 1152px) {
  :root { --display-size: 48px; --display-line: 56px; --gutter: 32px; --section-space: 64px; --column-gap: 24px; }
  .mast nav > ul { gap: 16px; }
  .hero { min-height: 512px; }
}
@media (max-width: 1099px) {
  .mast { min-height: 72px; }
  .hero { min-height: 0; container-type: inline-size; }
  .hero-copy { border-radius: 0; }
  .hero-visual { height: round(nearest, min(calc(100cqw / 1.96), 448px), 8px); aspect-ratio: auto; }
  .hero-text { padding: 40px var(--gutter) 32px; }
}
@media (max-width: 900px) {
  .mobile-menu { display: flex; padding: 0 8px; }
  .mast nav {
    display: none;
    position: absolute;
    top: 100%;
    inset-inline: 0;
    background: white;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 8px;
    box-shadow: 0 8px 24px #35215516;
  }
  .mast nav.open { display: block; }
  .mast nav > ul { display: block; }
  .mast nav > ul > li { min-height: 48px; flex-wrap: wrap; padding: 0 8px; justify-content: space-between; }
  .dropdown { position: static; width: 100%; min-width: 0; box-shadow: none; border: 0; background: var(--wash); }
  .services, .resources-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  :root {
    --display-size: 40px;
    --display-line: 48px;
    --heading-size: 24px;
    --heading-line: 32px;
    --gutter: 24px;
    --section-space: 48px;
    --row-gap: 32px;
  }
  .mast { min-height: 72px; }
  .hero { border-radius: 16px; }
  .hero-text { padding: 28px var(--gutter) 24px; }
  .hero .actions { margin-top: 24px; }
  .hero-visual { height: round(nearest, calc(100cqw / 1.28), 8px); }
  .motion { bottom: 8px; right: 8px; }
  .partner-band { padding-top: 24px; }
  .partners { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 24px; grid-auto-rows: 32px; }
  .partners img { max-height: 24px; }
  main > .audiences { padding-top: 32px; }
  .section-intro { margin-bottom: 24px; }
  .audience-grid, .value-grid, .voice-grid, .services, .resources-grid, .final-cta { grid-template-columns: 1fr; }
  .audience > div, .value-grid article > div { padding-bottom: 16px; }
  .savings, .eligibility { align-items: flex-start; flex-direction: column; }
  main > section.services { margin-block-start: calc(32px - var(--section-space)); }
  .testimonials { padding: 40px 0; }
  .resources-grid article { min-height: 0; }
  .final-cta { container-type: inline-size; }
  .final-cta > img { height: round(nearest, min(calc(100cqw / 1.65), 248px), 8px); max-height: none; }
}
@media (max-width: 450px) {
  :root { --display-size: 32px; --display-line: 40px; --gutter: 16px; }
  .button { padding-inline: 12px; }
  .hero .actions { gap: 8px; }
}

@media (max-width: 1050px) {
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-about { max-width: 36ch; }
}
@media (max-width: 680px) {
  .footer { padding-block: 32px 16px; }
  .foot-about { grid-column: 1 / -1; }
  .foot-association { grid-column: 1 / -1; }
  .foot-grid { column-gap: 16px; }
  .foot-end { margin-top: 24px; }
  .foot-end ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

a[aria-disabled="true"] {
  cursor: default;
  text-decoration: none;
}
a.button[aria-disabled="true"] { opacity: .62; }
a.button[aria-disabled="true"]:hover { background: var(--violet); }
a.button.secondary[aria-disabled="true"]:hover { background: #fffcf9b8; color: #472d62; }
.audience[aria-disabled="true"]:hover h3 { text-decoration: none; }

@media (min-width: 901px) {
  .mast nav { position: relative; }
  .mast nav .group { position: static; }
  .mast nav .group:has(.submenu-toggle[aria-expanded="true"]) > a {
    color: var(--violet);
    text-decoration: underline;
    text-underline-offset: 6px;
  }
  .mast .dropdown {
    top: 100%;
    inset-inline: 0;
    z-index: 2;
    padding: 12px !important;
    background: linear-gradient(135deg, #fff 15%, #fbf6fc);
    border-radius: 16px;
    box-shadow: 0 20px 45px #35215526, 0 3px 8px #3521550e;
  }
  .mast .dropdown:not([hidden]) {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
  }
  .mast .dropdown a {
    justify-content: space-between;
    gap: 12px;
    min-height: 48px;
    font-size: 14px;
  }
  .mast .dropdown a::after {
    content: "";
    width: 6px;
    height: 6px;
    flex: none;
    border-right: 1px solid var(--violet);
    border-top: 1px solid var(--violet);
    transform: rotate(45deg);
  }
  .mast .dropdown a:is(:hover, :focus-visible) {
    background: #efe6f7;
    text-decoration: none;
  }
}
@media (min-width: 901px) and (prefers-reduced-motion: no-preference) {
  .mast .dropdown:not([hidden]) { animation: dropdown-reveal 160ms ease-out; }
  @keyframes dropdown-reveal { from { opacity: 0; clip-path: inset(0 0 12% 0 round 16px); } }
}

.original-card-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 16px;
  background: var(--wash);
}
.original-article-image {
  width: min(100%, 900px);
  height: auto;
  margin-block: 32px;
  border-radius: 18px;
}
.team-directory {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 0;
  list-style: none;
  gap: 32px var(--column-gap);
  margin: 24px 0 48px;
}
.team-directory li { min-width: 0; }
.team-directory picture { display: block; margin-bottom: 14px; }
.team-directory img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 14px;
  background: #eae5ef;
}
.team-directory h3 { font: 565 22px/1.2 var(--editorial); letter-spacing: -.016em; color: var(--plum); }
.team-directory li > p { margin-top: 5px; font-size: 14px; }
@media (max-width: 900px) {
  .team-directory { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .team-directory { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-directory h3 { font-size: 19px; }
}
