/* BAS customer pages: original cream, forest, blue and red brand palette. */
.modern-pages {
    --mp-paper: var(--brand-paper, #fff7e6);
    --mp-ink: var(--brand-ink, #1b2b20);
    --mp-blue: var(--brand-blue, #165579);
    --mp-red: var(--brand-red, #dc2027);
    --mp-muted: #5e6b62;
    --mp-line: #1b2b2026;
    background: var(--mp-paper);
    color: var(--mp-ink);
    color-scheme: light;
}
.modern-pages em {font-style: normal; color: var(--mp-blue)}
.modern-pages .eyebrow {font-size: 10px; line-height: 1.6; letter-spacing: .13em; color: var(--mp-blue); margin-bottom: 20px}
.modern-pages .button {background: var(--mp-blue); border-color: var(--mp-blue); color: #fff; border-radius: 10px; font-size: 12px}
.modern-pages .button:hover {background: #103f5a; border-color: #103f5a; color: #fff; transform: none}
.mp-hero {padding: 76px 0 0; border-bottom: 1px solid var(--mp-line)}
.mp-hero-grid {display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; align-items: center; padding-bottom: 60px}
.mp-hero-grid > * {min-width: 0}
.mp-hero-copy > .eyebrow {margin-bottom: 24px}
.mp-hero h1 {font-size: clamp(43px, 4.4vw, 62px); line-height: 1.08; letter-spacing: -.05em; font-weight: 650; color: var(--mp-ink); text-wrap: balance}
.mp-hero-description {font-size: 15px; line-height: 1.85; color: var(--mp-muted); margin: 26px 0 30px; max-width: 49ch}
.mp-hero .button-row {align-items: center; gap: 20px; margin: 0}
.mp-inline-link {display: inline-flex; align-items: center; gap: 14px; min-height: 44px; font-size: 12px; font-weight: 600; line-height: 1.5; color: var(--mp-blue); border-bottom: 1px solid #1655794d; padding: 5px 0}
.mp-inline-link > span {font-size: 21px; font-weight: 400; flex: none}
.mp-inline-link:hover {color: var(--mp-red); border-color: var(--mp-red)}
.mp-hero-media {margin: 0; background: #fffcf4; border: 1px solid var(--mp-line); border-radius: 12px; overflow: hidden; width: 100%}
.mp-hero-media img {width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; display: block}
.mp-hero-media figcaption {display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; font-size: 10px; line-height: 1.6; color: var(--mp-muted); padding: 13px 18px}
.mp-ai-label {font-weight: 600; color: var(--mp-blue); flex: none}
.mp-hero-summary {padding: 36px; background: #fffcf4; border: 1px solid var(--mp-line); border-radius: 12px}
.mp-hero-summary > .eyebrow {margin-bottom: 20px}
.mp-hero-summary h2 {font-size: clamp(29px, 2.8vw, 39px); line-height: 1.16; letter-spacing: -.04em; color: var(--mp-ink); margin: 0}
.mp-hero-summary dl {margin: 28px 0 20px}
.mp-hero-summary dl > div {padding: 15px 0; border-top: 1px solid var(--mp-line); display: grid; grid-template-columns: 115px minmax(0, 1fr); gap: 12px; font-size: 12px; line-height: 1.7}
.mp-hero-summary dl > div:last-child {border-bottom: 1px solid var(--mp-line)}
.mp-hero-summary dt {font-weight: 650; color: var(--mp-ink)}
.mp-hero-summary dd {margin: 0; color: var(--mp-muted)}
.mp-hero-summary > p:last-child {font-size: 12px; line-height: 1.8; color: var(--mp-muted)}
.mp-hero-foot {display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: center; border-top: 1px solid var(--mp-line); padding-top: 21px; padding-bottom: 21px; font-size: 10px; font-weight: 600; letter-spacing: .025em; color: var(--mp-muted)}
.mp-hero-foot > span:nth-child(2) {text-align: center}
.mp-hero-foot > span:last-child {text-align: right}
.mp-archive-section, .mp-partner-principles, .mp-partner-search-section, .mp-partner-request-section {padding: 88px 0}
.mp-section-heading {display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; align-items: end; margin-bottom: 36px}
.mp-section-heading > * {min-width: 0}
.mp-section-heading .eyebrow {margin-bottom: 18px}
.mp-section-heading h2 {font-size: clamp(33px, 3.2vw, 46px); line-height: 1.13; letter-spacing: -.045em; color: var(--mp-ink); text-wrap: balance}
.mp-section-heading h2 > span {color: var(--mp-blue)}
.mp-section-heading > p {font-size: 14px; color: var(--mp-muted); line-height: 1.85; max-width: 49ch}
.mp-filter-frame {display: flex; flex-wrap: wrap; align-items: center; gap: 18px; padding: 17px 0; border-top: 1px solid var(--mp-line); border-bottom: 1px solid var(--mp-line); margin-bottom: 28px}
.mp-filter-label {font-size: 11px; color: var(--mp-muted); font-weight: 600}
.modern-pages .filter-bar {margin: 0; gap: 8px}
.modern-pages .filter-button {font-size: 11px; padding: 9px 16px; min-height: 40px; border-color: var(--mp-line); border-radius: 6px; background: #fffcf4; color: var(--mp-ink)}
.modern-pages .filter-button:hover, .modern-pages .filter-button.active {background: var(--mp-blue); border-color: var(--mp-blue); color: #fff}
.modern-pages .projects-grid {grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch}
.modern-pages .project-card {border: 1px solid var(--mp-line); border-radius: 10px; background: #fffcf4; overflow: hidden; color: var(--mp-ink); min-width: 0; height: 100%; transition: border-color .18s, box-shadow .18s}
.modern-pages .project-card:hover {transform: none; border-color: var(--mp-blue); box-shadow: 0 5px 22px #1b2b200b}
.modern-pages .project-image, .modern-pages .project-image-placeholder {width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; flex: none}
.modern-pages .project-image-placeholder {background: #e9eddc; color: var(--mp-ink); font-size: 46px}
.modern-pages .project-body {display: flex; flex-direction: column; flex: 1; padding: 26px; min-width: 0}
.modern-pages .project-body small {color: var(--mp-blue); font-size: 9px; line-height: 1.6}
.modern-pages .project-body h3 {font-size: 25px; line-height: 1.2; letter-spacing: -.035em; color: var(--mp-ink); margin: 14px 0}
.modern-pages .project-body p {font-size: 13px; line-height: 1.85; color: var(--mp-muted); margin-bottom: 22px; overflow-wrap: anywhere; flex: 1}
.modern-pages .project-metrics {border-color: var(--mp-line); color: var(--mp-blue); font-size: 11px; flex-wrap: wrap; margin-top: auto}
.modern-pages .project-metrics:empty {display: none}
.modern-pages .empty-state {grid-column: 1 / -1; margin: 0; padding: 56px 28px; min-height: 175px; display: grid; place-items: center; border: 1px solid var(--mp-line); background: #fffcf4; border-radius: 10px; color: var(--mp-muted); font-size: 14px; line-height: 1.9; overflow-wrap: anywhere}
.mp-archive-note {color: var(--mp-muted); font-size: 11px; line-height: 1.8; margin-top: 24px; max-width: 84ch}
.mp-project-next {padding: 72px 0; background: var(--mp-ink); color: var(--mp-paper)}
.mp-next-grid {display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; align-items: center}
.mp-next-grid > * {min-width: 0}
.mp-next-grid .eyebrow {color: #a9c4cd}
.mp-next-grid h2 {font-size: clamp(34px, 3.3vw, 48px); line-height: 1.14; letter-spacing: -.04em; color: var(--mp-paper); text-wrap: balance}
.mp-next-grid p:not(.eyebrow) {font-size: 14px; line-height: 1.85; color: #c4cec3; margin-top: 24px; max-width: 50ch}
.mp-next-action {display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding-left: 36px}
.mp-next-action .button {min-width: 235px}
.mp-next-action .mp-inline-link {color: var(--mp-paper); border-color: #c4cec366}
.mp-next-action .mp-inline-link:hover {color: #fff; border-color: #fff}
.mp-partner-principles {background: #fffcf4}
.mp-principle-grid {display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch}
.mp-principle-grid article {display: flex; flex-direction: column; padding: 30px; min-width: 0; border: 1px solid var(--mp-line); border-radius: 10px; background: var(--mp-paper)}
.mp-principle-number {font-size: 9px; line-height: 1.6; letter-spacing: .1em; color: var(--mp-blue); font-weight: 650}
.mp-principle-grid h3 {font-size: 26px; line-height: 1.18; letter-spacing: -.035em; color: var(--mp-ink); margin: 28px 0 18px}
.mp-principle-grid p {font-size: 13px; line-height: 1.85; color: var(--mp-muted)}
.mp-partner-search-section {background: var(--mp-paper)}
.modern-pages .partners-panel {padding: 28px; border: 1px solid var(--mp-line); background: #fffcf4; border-radius: 10px; margin: 0}
.modern-pages .partner-search {gap: 16px; flex-wrap: nowrap; align-items: flex-end}
.modern-pages .partner-search > .field {min-width: 0; flex: 1}
.modern-pages .partner-search .field label {color: var(--mp-ink); font-size: 12px}
.modern-pages .partner-search input {background: #fff; border: 1px solid #1b2b203b; color: var(--mp-ink); border-radius: 6px; min-height: 54px; font-size: 14px}
.modern-pages .partner-search input::placeholder {color: #78837a}
.modern-pages .partner-search .button {min-height: 54px; flex: none}
.mp-results-heading {display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; margin: 16px 0 24px}
.mp-results-heading .field-note {color: var(--mp-muted); font-size: 11px}
.mp-results-heading .mp-inline-link {font-size: 11px; min-height: 36px}
.modern-pages .partners-list {grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 0; align-items: stretch}
.modern-pages .partner-card {display: flex; flex-direction: column; min-width: 0; overflow-wrap: anywhere; background: #fffcf4; border: 1px solid var(--mp-line); border-radius: 10px; padding: 28px}
.modern-pages .partner-card h3 {font-size: 25px; line-height: 1.2; letter-spacing: -.035em; color: var(--mp-ink); margin: 0 0 16px}
.modern-pages .partner-card p {font-size: 13px; line-height: 1.8; color: var(--mp-muted); flex: 1}
.modern-pages .partner-card a {font-size: 14px; line-height: 1.7; color: var(--mp-blue); margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--mp-line)}
.modern-pages .partner-card a:hover {color: var(--mp-red)}
.mp-partner-request-section {background: #edf0e5; border-top: 1px solid var(--mp-line)}
.modern-pages .partners-form-grid {grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; padding-top: 0; align-items: start}
.mp-request-intro {min-width: 0; padding-right: 28px}
.mp-request-intro h2 {font-size: clamp(36px, 3.5vw, 49px); line-height: 1.12; letter-spacing: -.045em; color: var(--mp-ink); text-wrap: balance}
.modern-pages .mp-request-intro > p:not(.eyebrow) {font-size: 14px; line-height: 1.9; color: var(--mp-muted); margin-top: 25px; max-width: 49ch}
.mp-request-steps {margin: 30px 0 24px}
.mp-request-steps > div {display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 14px; align-items: start; padding: 19px 0; border-top: 1px solid var(--mp-line)}
.mp-request-steps > div:last-child {border-bottom: 1px solid var(--mp-line)}
.mp-request-steps > div > span {font-size: 10px; line-height: 1.8; font-weight: 650; color: var(--mp-blue); padding-top: 2px}
.mp-request-steps p {font-size: 12px; line-height: 1.8; color: var(--mp-muted)}
.mp-request-steps b {display: block; font-size: 13px; font-weight: 650; color: var(--mp-ink); margin-bottom: 4px}
.modern-pages .mp-request-intro > .mp-required-note {font-size: 11px; margin: 0 0 16px}
.modern-pages .partners-form-grid > .form-card {background: #fffcf4; color: var(--mp-ink); border: 1px solid var(--mp-line); border-radius: 12px; padding: 32px; min-width: 0; color-scheme: light}
.mp-form-heading {display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 23px}
.mp-form-heading .eyebrow {font-size: 9px; margin: 0}
.mp-form-step {font-size: 8px; line-height: 1.6; letter-spacing: .06em; color: var(--mp-muted)}
.mp-form-divider {border-top: 1px solid var(--mp-line); padding-top: 25px; margin-top: 28px}
.modern-pages .partners-form-grid .form-grid {grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px}
.modern-pages .partners-form-grid .field {min-width: 0}
.modern-pages .partners-form-grid .field label {font-size: 11px; color: var(--mp-ink); font-weight: 600}
.modern-pages .partners-form-grid .field input, .modern-pages .partners-form-grid .field textarea {background: #fff; border: 1px solid #1b2b203b; color: var(--mp-ink); border-radius: 6px; min-height: 49px; padding: 13px; font-size: 13px; line-height: 1.4}
.modern-pages .partners-form-grid .field textarea {min-height: 135px; line-height: 1.8}
.modern-pages .partners-form-grid .field input::placeholder, .modern-pages .partners-form-grid .field textarea::placeholder {color: #7c877e}
.modern-pages .partner-search input:focus, .modern-pages .partners-form-grid .field input:focus, .modern-pages .partners-form-grid .field textarea:focus {border-color: var(--mp-blue); box-shadow: 0 0 0 1px var(--mp-blue)}
.modern-pages .partners-form-grid .consent {font-size: 11px; color: var(--mp-muted); margin: 24px 0; line-height: 1.85}
.modern-pages .partners-form-grid .consent a {color: var(--mp-blue)}
.modern-pages .partners-form-grid .consent input {accent-color: var(--mp-blue)}
.modern-pages .partners-form-grid .form-card > .button {min-height: 54px; width: 100%}
.modern-pages .partners-form-grid .form-status {background: #e8efdf; border-color: #9aae8c; color: #2d4523}
.modern-pages .partners-form-grid .form-status.error {background: #fff1ed; border-color: #d89a8b; color: #802c26}
.modern-pages .partners-form-grid .form-status.pending {background: #edf2f5; border-color: #a5bbc8; color: var(--mp-blue)}
/* The project dialog is inserted directly beneath body by the existing script. */
.modern-site .project-dialog {width: min(820px, calc(100% - 40px)); max-height: 90svh; border: 1px solid #1b2b2040; border-radius: 12px; background: var(--brand-paper, #fff7e6); color: var(--brand-ink, #1b2b20); box-shadow: 0 25px 90px #0b1e1559}
.modern-site .project-dialog::backdrop {background: #102018bf; backdrop-filter: blur(5px)}
.modern-site .project-dialog .dialog-close {border: 1px solid #fff7e699; background: #1b2b20e8; color: #fff7e6; border-radius: 50%; top: 16px; right: 16px; width: 42px; height: 42px}
.modern-site .project-dialog .dialog-close:hover {background: var(--brand-red, #dc2027)}
.modern-site .project-dialog .dialog-content {padding: 34px}
.modern-site .project-dialog .dialog-content .eyebrow {color: var(--brand-blue, #165579); font-size: 10px; letter-spacing: .1em; margin-bottom: 14px}
.modern-site .project-dialog .dialog-content h2 {font-size: 36px; line-height: 1.16; color: var(--brand-ink, #1b2b20); letter-spacing: -.04em; margin: 0 0 22px}
.modern-site .project-dialog .project-description {font-size: 14px; line-height: 1.9; color: #5e6b62; overflow-wrap: anywhere}
.modern-site .project-dialog .project-metrics {border-color: #1b2b2026; color: var(--brand-blue, #165579); font-size: 12px; margin-top: 24px; padding-top: 20px; flex-wrap: wrap}
.modern-site .project-dialog .project-metrics:empty {display: none}
.modern-site .project-dialog .dialog-image {width: 100%; aspect-ratio: 16 / 9; max-height: 390px; object-fit: cover}
.modern-site .project-dialog .project-image-placeholder {height: 230px; background: #e9eddc; color: #1b2b20; font-size: 60px}
.modern-site .project-dialog .button {background: var(--brand-blue, #165579); border-color: var(--brand-blue, #165579); color: #fff; border-radius: 10px; margin-top: 25px}
/* Legal pages share the same outside axes and readable content rhythm. */
.modern-site .legal-page.brand-legal {width: min(1200px, calc(100% - 48px)); margin: 52px auto 88px; padding: 0; grid-template-columns: 230px minmax(0, 1fr); gap: 40px; color: var(--brand-ink, #1b2b20)}
.brand-legal .legal-sidebar {top: 122px}
.brand-legal .legal-sidebar .eyebrow {font-size: 9px; letter-spacing: .1em; color: var(--brand-blue, #165579); margin-bottom: 22px}
.brand-legal .legal-sidebar nav {gap: 7px}
.brand-legal .legal-sidebar nav a {font-size: 12px; color: #5e6b62; border-radius: 6px; border-color: transparent; padding: 12px 14px; display: flex; justify-content: space-between; gap: 16px}
.brand-legal .legal-sidebar nav a[aria-current] {background: #edf0e5; color: var(--brand-blue, #165579); border-color: #1b2b2026; font-weight: 650}
.brand-legal .legal-sidebar nav a:hover {color: var(--brand-blue, #165579); background: #edf0e5}
.brand-legal .legal-sidebar .legal-contact {color: #5e6b62; border-color: #1b2b2026; padding: 22px 14px; font-size: 11px; line-height: 1.8}
.brand-legal .legal-sidebar .legal-contact a {color: var(--brand-blue, #165579); font-size: 12px}
.modern-site .brand-legal .legal-content {background: #fffcf4; border: 1px solid #1b2b2026; border-radius: 12px; padding: 40px; min-width: 0; max-width: none; width: 100%; margin: 0}
.modern-site .brand-legal .legal-content > .eyebrow {color: var(--brand-blue, #165579); font-size: 9px; letter-spacing: .1em; margin: 4px 0 14px}
.modern-site .brand-legal .back-link {color: var(--brand-blue, #165579); font-size: 11px; margin-bottom: 25px; text-decoration: none!important}
.modern-site .brand-legal .legal-content h1 {font-size: clamp(35px, 3.6vw, 48px); color: var(--brand-ink, #1b2b20); line-height: 1.14; letter-spacing: -.04em; margin: 0 0 30px; overflow-wrap: break-word}
.modern-site .brand-legal .legal-content h2 {font-size: 23px; color: var(--brand-ink, #1b2b20); line-height: 1.35; letter-spacing: -.025em; margin: 32px 0 14px}
.modern-site .brand-legal .legal-content h3 {font-size: 18px; color: var(--brand-ink, #1b2b20); line-height: 1.45; margin: 25px 0 12px}
.modern-site .brand-legal .legal-content p, .modern-site .brand-legal .legal-content li {color: #5e6b62; font-size: 14px; line-height: 1.9}
.modern-site .brand-legal .legal-content p {margin-bottom: 16px}
.modern-site .brand-legal .legal-content a:not(.button) {color: var(--brand-blue, #165579); text-decoration-thickness: 1px; text-underline-offset: 3px; overflow-wrap: anywhere}
.modern-site .brand-legal .legal-content strong {color: var(--brand-ink, #1b2b20)}
.modern-site .brand-legal .legal-content .legal-lead {font-size: 16px; color: var(--brand-ink, #1b2b20); line-height: 1.85}
.brand-legal .legal-notice {background: #fff1df; border: 1px solid #b881404f; padding: 18px 20px; border-radius: 8px; margin: 24px 0 30px}
.modern-site .brand-legal .legal-notice p {color: #6e4a20; font-size: 12px; margin: 0; line-height: 1.85}
.brand-legal .legal-index {gap: 8px; margin: 25px 0}
.brand-legal .legal-index a {border-color: #1b2b2026; border-radius: 6px; background: #f7f3e8; font-size: 10px!important; padding: 8px 12px}
.brand-legal .legal-meta {border-color: #1b2b2026; color: #5e6b62; font-size: 10px; margin-top: 32px; padding-top: 20px}
@media (max-width: 1100px) {
    .mp-hero {padding-top: 60px}
    .mp-hero-grid, .mp-section-heading, .mp-next-grid, .modern-pages .partners-form-grid {gap: 32px}
    .mp-hero h1 {font-size: 47px}
    .mp-hero-description {font-size: 14px}
    .mp-hero-summary {padding: 28px}
    .mp-hero-summary h2 {font-size: 32px}
    .mp-hero-summary dl > div {grid-template-columns: 100px minmax(0, 1fr); font-size: 11px}
    .mp-hero .button-row {gap: 14px}
    .mp-hero .button {font-size: 11px; padding: 14px 18px; gap: 16px}
    .mp-hero .mp-inline-link {font-size: 11px}
    .mp-principle-grid article, .modern-pages .project-body, .modern-pages .partner-card {padding: 24px}
    .mp-principle-grid h3 {font-size: 23px}
    .mp-request-intro {padding-right: 0}
    .modern-pages .partners-form-grid > .form-card {padding: 26px}
    .mp-next-action {padding-left: 16px}
}
@media (max-width: 900px) {
    .mp-hero h1 {font-size: 42px}
    .mp-hero-grid {gap: 24px; padding-bottom: 44px}
    .mp-hero-summary {padding: 24px}
    .mp-hero-summary h2 {font-size: 28px}
    .mp-hero-summary dl > div {grid-template-columns: minmax(0, 1fr); gap: 3px; padding: 12px 0}
    .mp-hero-copy > .eyebrow {font-size: 8px; letter-spacing: .1em}
    .mp-hero-description {font-size: 13px; margin: 23px 0}
    .mp-hero-foot {font-size: 9px; gap: 16px}
    .mp-archive-section, .mp-partner-principles, .mp-partner-search-section, .mp-partner-request-section {padding: 68px 0}
    .mp-section-heading {gap: 24px}
    .mp-section-heading h2 {font-size: 35px}
    .mp-section-heading > p {font-size: 13px}
    .modern-pages .projects-grid, .modern-pages .partners-list {grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px}
    .mp-principle-grid {gap: 16px}
    .mp-principle-grid article {padding: 22px}
    .mp-principle-grid h3 {font-size: 23px; margin-top: 24px}
    .mp-principle-grid p {font-size: 12px}
    .modern-pages .partners-form-grid {grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px}
    .mp-request-intro h2 {font-size: 38px}
    .modern-pages .mp-request-intro > p:not(.eyebrow) {font-size: 13px}
    .modern-pages .partners-form-grid > .form-card {padding: 24px}
    .mp-form-step {display: none}
    .modern-site .legal-page.brand-legal {display: block; margin-top: 32px; margin-bottom: 68px}
    .brand-legal .legal-sidebar {position: static; margin-bottom: 24px}
    .brand-legal .legal-sidebar .eyebrow, .brand-legal .legal-sidebar .legal-contact {display: none}
    .brand-legal .legal-sidebar nav {flex-direction: row; gap: 7px; overflow: auto; padding-bottom: 4px}
    .brand-legal .legal-sidebar nav a {flex: none; padding: 10px 14px; font-size: 11px}
    .modern-site .brand-legal .legal-content {padding: 34px}
}
@media (max-width: 700px) {
    .mp-hero {padding-top: 44px}
    .mp-hero-grid, .mp-section-heading, .mp-next-grid, .modern-pages .partners-form-grid {grid-template-columns: minmax(0, 1fr); gap: 32px}
    .mp-hero-grid {padding-bottom: 32px}
    .mp-hero h1 {font-size: clamp(36px, 8.5vw, 53px); line-height: 1.12}
    .mp-hero-copy > .eyebrow {font-size: 9px; letter-spacing: .1em; margin-bottom: 20px}
    .mp-hero-description {font-size: 14px; margin: 23px 0 25px; max-width: 49ch}
    .mp-hero .button-row {gap: 14px 20px}
    .mp-hero .button {font-size: 12px; min-height: 51px; padding: 14px 18px}
    .mp-hero .mp-inline-link {font-size: 12px}
    .mp-hero-summary {padding: 28px 24px}
    .mp-hero-summary h2 {font-size: 31px}
    .mp-hero-summary dl > div {grid-template-columns: 105px minmax(0, 1fr); gap: 12px; padding: 15px 0; font-size: 12px}
    .mp-hero-media figcaption {padding: 12px 16px; font-size: 10px}
    .mp-hero-foot {font-size: 8px; line-height: 1.7; gap: 12px; padding-top: 18px; padding-bottom: 18px}
    .mp-archive-section, .mp-partner-principles, .mp-partner-search-section, .mp-partner-request-section {padding: 56px 0}
    .mp-section-heading {gap: 20px; margin-bottom: 28px; align-items: start}
    .mp-section-heading h2 {font-size: 35px}
    .mp-section-heading > p {font-size: 14px; max-width: none}
    .mp-section-heading .eyebrow {font-size: 9px; margin-bottom: 16px}
    .mp-filter-frame {gap: 12px; padding: 16px 0; margin-bottom: 24px}
    .mp-filter-label {font-size: 10px}
    .modern-pages .filter-button {font-size: 10px; padding: 8px 13px; min-height: 38px}
    .modern-pages .projects-grid, .modern-pages .partners-list, .mp-principle-grid {grid-template-columns: minmax(0, 1fr); gap: 18px}
    .modern-pages .project-body, .modern-pages .partner-card {padding: 25px}
    .modern-pages .empty-state {font-size: 13px; padding: 40px 24px; min-height: 165px}
    .mp-archive-note {font-size: 11px; margin-top: 20px}
    .mp-project-next {padding: 56px 0}
    .mp-next-grid h2 {font-size: 36px}
    .mp-next-grid p:not(.eyebrow) {font-size: 14px; margin-top: 22px}
    .mp-next-action {padding-left: 0; gap: 17px}
    .mp-next-action .button {min-width: 235px}
    .mp-principle-grid article {padding: 27px}
    .mp-principle-grid h3 {font-size: 27px; margin: 24px 0 17px}
    .mp-principle-grid p {font-size: 14px}
    .modern-pages .partners-panel {padding: 23px}
    .modern-pages .partner-search {flex-direction: column; align-items: stretch; gap: 16px}
    .modern-pages .partner-search > .field {flex-basis: auto; flex: auto}
    .modern-pages .partner-search .field label {font-size: 11px}
    .modern-pages .partner-search input {font-size: 16px; min-height: 51px}
    .modern-pages .partner-search .button {width: 100%; min-height: 51px}
    .mp-results-heading {align-items: flex-start; gap: 12px; margin: 17px 0 22px}
    .mp-results-heading .mp-inline-link {font-size: 11px; min-height: 32px}
    .mp-request-intro h2 {font-size: 39px}
    .modern-pages .mp-request-intro > p:not(.eyebrow) {font-size: 14px; max-width: none; margin-top: 23px}
    .mp-request-steps {margin: 28px 0 24px}
    .mp-request-steps p {font-size: 12px}
    .modern-pages .partners-form-grid > .form-card {padding: 27px 23px}
    .modern-pages .partners-form-grid .form-grid {gap: 18px 14px}
    .modern-pages .partners-form-grid .field input, .modern-pages .partners-form-grid .field textarea {font-size: 16px; min-height: 48px; padding: 12px}
    .modern-pages .partners-form-grid .consent {font-size: 11px}
    .modern-site .project-dialog {width: calc(100% - 24px); max-height: 92svh; border-radius: 10px}
    .modern-site .project-dialog .dialog-content {padding: 28px 24px}
    .modern-site .project-dialog .dialog-content h2 {font-size: 29px}
    .modern-site .project-dialog .project-description {font-size: 13px}
    .modern-site .project-dialog .dialog-image {aspect-ratio: 4 / 3}
    .modern-site .legal-page.brand-legal {margin: 28px auto 56px}
    .modern-site .brand-legal .legal-content {padding: 28px 23px; border-radius: 10px}
    .modern-site .brand-legal .legal-content h1 {font-size: 36px; margin-bottom: 26px}
    .modern-site .brand-legal .legal-content h2 {font-size: 22px}
    .modern-site .brand-legal .legal-content p, .modern-site .brand-legal .legal-content li {font-size: 13px; line-height: 1.9}
    .modern-site .brand-legal .legal-content .legal-lead {font-size: 15px}
    .brand-legal .legal-notice {padding: 17px; margin: 22px 0 26px}
    .brand-legal .legal-meta {flex-direction: column; gap: 8px; font-size: 9px}
}
@media (max-width: 600px) {
    .modern-site .legal-page.brand-legal {width: calc(100% - 40px)}
}
@media (max-width: 390px) {
    .mp-hero-copy > .eyebrow {font-size: 8px; letter-spacing: .065em}
    .mp-hero h1 {font-size: 35px}
    .mp-hero-foot {font-size: 7px; gap: 10px}
    .mp-hero-summary dl > div {grid-template-columns: minmax(0, 1fr); gap: 3px}
    .mp-hero-summary {padding: 25px 22px}
    .mp-section-heading h2 {font-size: 33px}
    .mp-request-intro h2 {font-size: 35px}
    .modern-pages .partners-form-grid .form-grid {grid-template-columns: minmax(0, 1fr)}
    .modern-pages .partners-form-grid .span-two {grid-column: auto}
    .modern-pages .partners-form-grid > .form-card {padding: 25px 20px}
    .modern-site .brand-legal .legal-content {padding: 25px 20px}
    .modern-site .brand-legal .legal-content h1 {font-size: 32px}
}
@media (prefers-reduced-motion: reduce) {
    .modern-pages *, .project-dialog * {transition: none!important}
}
