/* Public organization website. Application styles and backend behavior are separate. */
.mp-shell { --mp-rule: #d5d4cd; }
.mp-container { width: min(1120px, calc(100% - 80px)); margin-inline: auto; }
.mp-header { border-bottom: 1px solid var(--mp-rule); }
.mp-header-inner { display: flex; align-items: center; gap: 36px; min-height: 112px; }
.mp-logo { display: inline-flex; flex: 0 0 auto; padding: 12px; margin-left: -12px; }
.mp-logo img { display: block; width: 205px; height: auto; }
.mp-nav { display: flex; gap: 30px; margin-left: auto; align-items: center; font-size: 15px; }
.mp-nav a { display: inline-flex; align-items: center; min-height: 44px; }
.mp-nav a { white-space: nowrap; }
.mp-nav .mp-account-link { min-width: 98px; justify-content: center; padding-inline: 13px; border: 1px solid var(--mp-rule); border-radius: 4px; font-weight: 600; }
.mp-nav .mp-account-link:hover { border-color: var(--gold-text); }
.mp-nav a:hover, .mp-nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--gold-text); text-underline-offset: 7px; text-decoration-thickness: 2px; }
.mp-button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; border: 1px solid var(--navy); border-radius: 3px; padding: 11px 19px; color: #fff; background: var(--navy); font-size: 15px; line-height: 1.4; font-weight: 600; text-decoration: none!important; }
.mp-button:hover { color: var(--navy); background: var(--paper); }
.mp-header-action { white-space: nowrap; font-size: 14px; }
.mp-link { display: inline-block; width: fit-content; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; font-weight: 500; }
.mp-link:hover, .mp-prose a:not(.mp-button):hover, .mp-email:hover { color: var(--gold-text); }
.mp-email { display: inline-block; overflow-wrap: anywhere; text-decoration: underline; text-underline-offset: 4px; }
.mp-editorial h1 { font-size: clamp(32px, 3.65vw, 49px); line-height: 1.2; letter-spacing: -.025em; font-weight: 600; max-width: 990px; text-wrap: pretty; }
.mp-editorial h2 { font-size: clamp(25px, 2.5vw, 32px); line-height: 1.25; letter-spacing: -.02em; font-weight: 600; }
.mp-editorial h3 { font-size: 22px; line-height: 1.35; letter-spacing: -.015em; font-weight: 600; }
.mp-editorial main { font-size: 17px; line-height: 1.7; }
.mp-kicker { color: var(--gold-text); font-size: 13px; font-weight: 600; line-height: 1.5; margin-bottom: 17px; }
.mp-intro { padding-block: 64px 66px; }
.mp-intro .mp-lead { max-width: 690px; }
.mp-lead { max-width: 750px; font-size: 21px; line-height: 1.65; margin-top: 24px; color: var(--muted); }
.mp-intro-detail { color: var(--muted); margin-top: 18px; }
.mp-page-intro { padding-block: 54px; }
.mp-page-intro > .mp-link { margin-top: 22px; }
.mp-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; margin-top: 30px; }
.mp-section { padding-block: 48px; border-top: 1px solid var(--mp-rule); position: relative; }
.mp-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 28px; }
.mp-section-heading .mp-kicker { margin-bottom: 9px; }
.mp-section-heading > a { font-size: 15px; }
.mp-split { display: grid; grid-template-columns: minmax(210px, 1fr) minmax(0, 2fr); gap: 64px; }
.mp-split > div:first-child > .mp-link { margin-top: 20px; font-size: 15px; }
.mp-social-definition .mp-prose > p:first-child { font-size: 21px; line-height: 1.65; border-left: 2px solid var(--gold); padding-left: 22px; }
.mp-impact-section { margin-bottom: 48px; border: 1px solid #ded9ce; background: #fffcf7; scroll-margin-top: 24px; }
.mp-impact-header { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; align-items: center; padding: 36px 40px; background: var(--navy); color: #fff; border-top: 3px solid var(--gold); }
.mp-impact-header h2 { max-width: 15ch; }
.mp-impact-header p { max-width: 58ch; color: #e1e5e9; font-size: 17px; line-height: 1.65; }
.mp-impact-nav { display: flex; flex-wrap: wrap; gap: 4px 28px; padding: 10px 40px; border-bottom: 1px solid #ded9ce; }
.mp-impact-nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--gold-text); font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 5px; }
.mp-impact-nav a:hover { color: var(--navy); }
.mp-impact-group { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: 44px; margin-inline: 40px; padding-block: 36px; scroll-margin-top: 24px; }
.mp-impact-group + .mp-impact-group { border-top: 1px solid #ded9ce; }
.mp-impact-group h3 { font-size: 25px; line-height: 1.25; font-weight: 600; max-width: 14ch; }
.mp-project-examples { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 36px; margin: 0; }
.mp-project-examples dt { font-size: 18px; font-weight: 600; line-height: 1.4; }
.mp-project-examples dd { margin: 9px 0 0; color: var(--muted); max-width: 62ch; font-size: 16px; line-height: 1.7; }
.mp-impact-note { margin-inline: 40px; padding-block: 22px; border-top: 1px solid #ded9ce; color: var(--muted); font-size: 14px; }
.mp-events-context { max-width: 720px; margin-bottom: 24px; }
.mp-events { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; border-top: 2px solid var(--gold); padding-top: 28px; }
.mp-event-card, .mp-event-registration { min-width: 0; container-type: inline-size; }
.mp-event-card:only-child { grid-column: 1 / -1; width: 100%; max-width: 600px; justify-self: center; }
.mp-event-card .mp-actions { margin-top: 14px; gap: 16px 24px; font-size: 15px; }
.mp-event-entry { margin-bottom: 24px; padding: 20px; background: #fffcf7; border: 1px solid var(--mp-rule); border-left: 3px solid var(--gold); border-radius: 4px; }
.mp-event-entry .mp-button { gap: 16px; }
.mp-event-detail-layout > .mp-event-entry { grid-column: 1 / -1; margin-bottom: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.mp-event-detail-layout > .mp-event-entry p { margin: 0; }
.mp-event-entry p, .mp-prose .mp-event-entry p { margin: 12px 0 0; font-size: 13px; line-height: 1.6; color: var(--muted); }
/* Luma controls the iframe layout. Fit its native registration card without an inner scrollbar. */
.mp-luma-embed { display: block; width: 100%; max-width: 600px; height: 880px; border: 1px solid var(--mp-rule); border-radius: 4px; background: #fff; }
@container (min-width: 350px) { .mp-luma-embed { height: 890px; } }
@container (min-width: 380px) { .mp-luma-embed { height: 920px; } }
@container (min-width: 462px) { .mp-luma-embed { height: 860px; } }
@container (min-width: 482px) { .mp-luma-embed { height: 820px; } }
.mp-event-detail-layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; align-items: start; }
.mp-event-registration { min-width: 0; scroll-margin-top: 24px; }
.mp-people { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px 36px; margin: 0; }
.mp-people dt { font-weight: 600; font-size: 19px; }
.mp-people dd { margin: 4px 0 0; color: var(--muted); font-size: 15px; }
.mp-prose > * + * { margin-top: 18px; }
.mp-prose p { max-width: 65ch; }
.mp-prose a:not(.mp-button) { text-decoration: underline; text-underline-offset: 4px; }
.mp-note { font-size: 14px; color: var(--muted); margin-top: 18px; }
.mp-note a { text-decoration: underline; text-underline-offset: 3px; }
.mp-contact-section { background: #fff; border-top: 1px solid var(--mp-rule); padding-block: 48px; }
.mp-contact-section .mp-prose > p:first-child { font-size: 20px; }
.mp-anchor { display: block; height: 0; scroll-margin-top: 28px; }
.mp-work-entry { padding-block: 44px; border-top: 1px solid var(--mp-rule); }
.mp-work-entry:first-child { border-top: 2px solid var(--gold); }
.mp-date { font-size: 18px; font-weight: 500; }
.mp-prizes { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; margin: 25px 0; padding-block: 18px; border-block: 1px solid var(--mp-rule); }
.mp-prizes dt { font-size: 14px; color: var(--muted); }
.mp-prizes dd { margin: 4px 0 0; font-size: 24px; font-weight: 600; }
.mp-link-list { margin: 20px 0 0; padding-left: 20px; }
.mp-link-list li + li { margin-top: 10px; }
.mp-facts { margin: 0; }
.mp-facts > div { display: grid; grid-template-columns: 150px minmax(0,1fr); gap: 16px; padding-block: 15px; border-bottom: 1px solid var(--mp-rule); }
.mp-facts > div:first-child { padding-top: 0; }
.mp-facts dt { font-size: 15px; color: var(--muted); }
.mp-facts dd { margin: 0; }
.mp-footer { padding-block: 40px 20px; background: var(--navy); color: #fff; }
.mp-footer-main { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 38px; }
.mp-footer .mp-logo img { width: 180px; }
.mp-footer .mp-logo { margin-block: -12px 8px; }
.mp-footer p { font-size: 13px; color: var(--dark-muted); }
.mp-footer-identity > p + p { margin-top: 4px; }
.mp-footer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 18px; align-content: start; font-size: 13px; }
.mp-footer-nav a { padding-block: 5px; }
.mp-footer-contact p { color: #fff; font-size: 14px; margin-bottom: 10px; }
.mp-footer-contact a { font-size: 13px; overflow-wrap: anywhere; text-decoration: underline; text-underline-offset: 4px; }
.mp-footer a:hover { color: var(--chevron); }
.mp-footer :focus-visible { outline-color: var(--chevron); }
.mp-footer .mp-copyright { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--dark-line); font-size: 12px; }

/* Keep the public gallery useful while removing the oversized marketing treatment. */
.mp-shell.projects-page .project-hero { display: block; padding-block: 48px 32px; }
.mp-shell.projects-page .project-hero h1 { font-size: clamp(34px,4vw,49px); line-height: 1.2; }
.mp-shell.projects-page .project-hero .eyebrow { display: none; }
.mp-shell.projects-page .project-lead { max-width: 720px; font-size: 19px; }
.mp-shell.projects-page .directory-top h2 { font-size: 29px; }
.mp-shell.projects-page .directory-top .eyebrow { display: none; }
.mp-shell.projects-page .project-invitation { padding-block: 38px; }
.mp-shell.projects-page .invitation-layout h2 { font-size: 29px; }
.mp-shell.projects-page .project-state .state-mark { display: none; }
.mp-shell.projects-page .project-state h3 { font-size: 23px; }
.mp-shell.projects-page .project-state { background: transparent; border: 1px solid var(--mp-rule); min-height: 0; }

@media (max-width: 1000px) {
  .mp-impact-header { gap: 28px; padding: 30px; }
  .mp-impact-group { grid-template-columns: 1fr; gap: 24px; margin-inline: 30px; }
  .mp-impact-group h3 { max-width: none; }
  .mp-impact-nav { padding-inline: 30px; gap: 4px 22px; }
  .mp-impact-note { margin-inline: 30px; }
  .mp-header-inner { gap: 22px; }
  .mp-logo img { width: 175px; }
  .mp-nav { gap: 22px; }
  .mp-footer-main { grid-template-columns: 1fr 1fr; }
  .mp-footer-contact { grid-column: 2; }
  .mp-split { gap: 38px; }
}
@media (max-width: 760px) {
  .mp-container { width: calc(100% - 40px); }
  .mp-header-inner { flex-wrap: wrap; justify-content: space-between; min-height: 0; gap: 0 16px; padding-block: 9px 0; }
  .mp-logo img { width: 160px; }
  .mp-header-action { padding: 10px 13px; font-size: 13px; min-height: 44px; }
  .mp-nav { order: 3; width: 100%; justify-content: space-between; margin: 0; gap: 22px; border-top: 1px solid var(--mp-rule); font-size: 14px; }
  .mp-nav a { min-height: 48px; }
  .mp-intro { padding-block: 38px 42px; }
  .mp-lead { font-size: 19px; margin-top: 20px; }
  .mp-page-intro { padding-block: 36px; }
  .mp-section, .mp-contact-section { padding-block: 34px; }
  .mp-section-heading { display: block; margin-bottom: 22px; }
  .mp-section-heading > a { margin-top: 14px; }
  .mp-events { grid-template-columns: 1fr; gap: 36px; }
  .mp-event-detail-layout { grid-template-columns: 1fr; gap: 28px; }
  .mp-split { grid-template-columns: 1fr; gap: 24px; }
  .mp-social-definition .mp-prose > p:first-child { font-size: 19px; padding-left: 18px; }
  .mp-impact-section { margin-bottom: 34px; }
  .mp-impact-header { grid-template-columns: 1fr; gap: 16px; padding: 26px 22px; }
  .mp-impact-header h2 { max-width: none; }
  .mp-impact-header p { font-size: 16px; }
  .mp-impact-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 8px 22px; gap: 4px 20px; }
  .mp-impact-nav a { font-size: 13px; }
  .mp-impact-group { gap: 24px; margin-inline: 22px; padding-block: 30px; }
  .mp-impact-group h3 { font-size: 25px; }
  .mp-project-examples { grid-template-columns: 1fr; gap: 22px; }
  .mp-impact-note { margin-inline: 22px; }
  .mp-people { gap: 24px; }
  .mp-work-entry { padding-block: 30px; }
  .mp-work-entry .mp-kicker { margin-bottom: 8px; }
  .mp-prizes { gap: 12px; }
  .mp-facts > div { grid-template-columns: 115px minmax(0,1fr); gap: 14px; }
  .mp-footer-main { gap: 24px; }
  .mp-footer-nav { grid-template-columns: 1fr; }
  .mp-footer-contact { grid-column: 1/-1; }
  .mp-shell.projects-page .project-hero { padding-block: 34px 24px; }
}
@media (max-width: 380px) {
  .mp-container { width: calc(100% - 32px); }
  .mp-logo img { width: 137px; }
  .mp-header-inner { column-gap: 12px; }
  .mp-header-action { padding-inline: 10px; font-size: 12px; }
  .mp-people { grid-template-columns: 1fr; gap: 21px; }
  .mp-facts > div { grid-template-columns: 1fr; gap: 4px; }
  .mp-footer-main { grid-template-columns: 1fr; }
  .mp-footer-nav { grid-template-columns: 1fr 1fr; }
  .mp-prizes { gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mp-shell *, .mp-shell *::before, .mp-shell *::after { animation: none!important; transition: none!important; }
}

/* Keep all four navigation links visible without crowding the brand or support action. */
@media (max-width: 900px) {
  .mp-header-inner { flex-wrap: wrap; justify-content: space-between; min-height: 0; gap: 0 16px; padding-block: 9px 0; }
  .mp-nav { order: 3; width: 100%; justify-content: space-between; margin: 0; gap: 12px; padding-block: 8px; border-top: 1px solid var(--mp-rule); font-size: 14px; }
  .mp-nav a { min-height: 44px; }
  .mp-nav .mp-account-link { min-width: 92px; }
}
@media (max-width: 380px) {
  .mp-nav { gap: 8px; font-size: 13px; }
  .mp-nav .mp-account-link { min-width: 86px; padding-inline: 10px; }
  .mp-event-entry { padding: 16px; }
  .mp-event-entry .mp-button { width: 100%; }
}
