:root {
    --navy-950: #04294f;
    --navy-900: #073b73;
    --navy-800: #0b4c8c;
    --blue-600: #176fc1;
    --blue-100: #dceefe;
    --blue-050: #f2f8fd;
    --teal-700: #087d82;
    --teal-500: #1da0a4;
    --teal-100: #d7f0ef;
    --ink: #102a43;
    --muted: #526b82;
    --paper: #fffdf9;
    --white: #ffffff;
    --line: rgba(7, 59, 115, 0.14);
    --shadow-soft: 0 22px 60px rgba(4, 41, 79, 0.16);
    --display-font: Georgia, "Times New Roman", serif;
    --body-font: "Trebuchet MS", "Gill Sans", sans-serif;
    --content-width: 1260px;
    --header-height: 76px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100svh;
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: var(--body-font);
    font-size: 1rem;
    line-height: 1.5;
    text-rendering: optimizeLegibility;
}

img,
svg {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.18em;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    color: var(--navy-950);
    font-family: var(--display-font);
    font-weight: 600;
    line-height: 1.05;
    text-wrap: balance;
}

:focus-visible {
    outline: 3px solid var(--teal-500);
    outline-offset: 4px;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 0 !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
}

.skip-link {
    position: fixed;
    z-index: 100;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.65rem 0.9rem;
    border-radius: 0.5rem;
    color: var(--white);
    background: var(--navy-950);
    transform: translateY(-180%);
    transition: transform 160ms ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.header-inner,
.footer-inner,
.home-shell,
.goal-shell,
.page-shell {
    width: min(calc(100% - 3rem), var(--content-width));
    margin-inline: auto;
}

.site-header {
    position: relative;
    z-index: 50;
    height: var(--header-height);
    border-bottom: 1px solid var(--line);
    background: rgba(255, 253, 249, 0.95);
    backdrop-filter: blur(18px);
}

.header-inner {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--navy-900);
    text-decoration: none;
}

.brand-mark {
    display: block;
    width: 48px;
    height: 48px;
    overflow: hidden;
    border-radius: 50%;
    background: var(--white);
}

.brand-mark img {
    width: 82px;
    max-width: none;
    height: 82px;
    transform: translate(-17px, -2px);
}

.brand-name {
    font-size: 0.94rem;
    font-weight: 700;
    letter-spacing: 0.17em;
    line-height: 1.12;
    text-transform: uppercase;
}

.brand-name small {
    display: block;
    margin-top: 0.2rem;
    color: var(--blue-600);
    font-size: 0.64rem;
    letter-spacing: 0.27em;
}

.header-actions {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: clamp(0.7rem, 1.6vw, 1.4rem);
}

.language-selector {
    display: flex;
    min-width: 0;
    padding: 0.28rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    align-items: center;
    gap: 0.3rem;
    background: rgba(242, 248, 253, 0.9);
}

.language-selector select {
    width: clamp(118px, 11vw, 154px);
    min-width: 0;
    height: 34px;
    padding: 0 1.6rem 0 0.65rem;
    border: 0;
    color: var(--navy-950);
    background: transparent;
    font: inherit;
    font-size: 0.72rem;
    font-weight: 700;
    cursor: pointer;
}

.language-selector button {
    min-height: 34px;
    padding: 0.35rem 0.65rem;
    border: 0;
    border-radius: 999px;
    color: var(--white);
    background: var(--teal-700);
    font: inherit;
    font-size: 0.68rem;
    font-weight: 800;
    cursor: pointer;
}

.language-selector button:hover {
    background: var(--navy-900);
}

.apply-symbol {
    display: none;
    font-size: 1rem;
    line-height: 1;
}

.desktop-navigation {
    display: flex;
    align-items: center;
    gap: clamp(0.65rem, 1.15vw, 1.15rem);
}

.desktop-navigation a {
    color: var(--navy-950);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-decoration: none;
    text-transform: uppercase;
}

.desktop-navigation a[aria-current="page"] {
    text-decoration: underline;
    text-decoration-color: var(--teal-500);
    text-decoration-thickness: 0.16em;
    text-underline-offset: 0.48em;
}

.desktop-navigation .nav-donate {
    padding: 0.68rem 1rem;
    border-radius: 999px;
    color: var(--white);
    background: var(--teal-700);
}

.desktop-navigation .nav-donate[aria-current="page"] {
    text-decoration-color: var(--white);
}

.mobile-navigation {
    display: none;
    position: relative;
}

.mobile-navigation summary {
    display: grid;
    width: 44px;
    height: 44px;
    padding: 11px;
    border: 1px solid var(--line);
    border-radius: 50%;
    place-content: center;
    gap: 4px;
    cursor: pointer;
    list-style: none;
}

.mobile-navigation summary::-webkit-details-marker {
    display: none;
}

.mobile-navigation summary span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--navy-900);
}

.mobile-navigation nav {
    position: absolute;
    top: calc(100% + 0.65rem);
    right: 0;
    display: grid;
    width: min(78vw, 270px);
    padding: 0.6rem;
    border: 1px solid var(--line);
    border-radius: 0.9rem;
    background: var(--white);
    box-shadow: var(--shadow-soft);
}

.mobile-navigation nav a {
    padding: 0.75rem 0.9rem;
    border-radius: 0.55rem;
    color: var(--navy-950);
    font-weight: 700;
    text-decoration: none;
}

.mobile-navigation nav a:hover {
    background: var(--blue-050);
}

.home-page {
    display: grid;
    height: 100svh;
    overflow: hidden;
    grid-template-rows: var(--header-height) minmax(0, 1fr) auto;
}

.home-stage {
    display: grid;
    min-height: 0;
    grid-template-rows: minmax(0, 1fr) auto;
}

.home-hero {
    position: relative;
    display: grid;
    min-height: 0;
    overflow: hidden;
    isolation: isolate;
}

.home-backdrop {
    position: absolute;
    z-index: -2;
    inset: 0;
    background-color: #e8f4fc;
    background-image: url("/images/ACFWebsite.png");
    background-position: right bottom;
    background-repeat: no-repeat;
    background-size: auto 100%;
}

.home-hero::after {
    position: absolute;
    z-index: -1;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255, 253, 249, 0.99) 0%, rgba(255, 253, 249, 0.97) 34%, rgba(255, 253, 249, 0.72) 48%, rgba(255, 253, 249, 0.08) 68%, transparent 100%),
        linear-gradient(0deg, rgba(4, 41, 79, 0.18), transparent 42%);
    content: "";
}

.home-shell {
    display: grid;
    min-height: 100%;
    padding-block: clamp(0.75rem, 2vh, 1.5rem);
    grid-template-columns: minmax(0, 640px) minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: clamp(0.55rem, 1.4vh, 0.9rem) 2rem;
    align-content: center;
    direction: ltr;
}

.home-story {
    max-width: 620px;
    grid-column: 1;
}

.eyebrow {
    margin-bottom: 0.55rem;
    color: var(--teal-700);
    font-size: 0.69rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.home-story h1 {
    margin-bottom: clamp(0.55rem, 1.3vh, 0.9rem);
    font-size: clamp(3.1rem, 4.7vw, 5.25rem);
    letter-spacing: -0.052em;
}

.home-intro {
    max-width: 560px;
    margin-bottom: clamp(0.55rem, 1.2vh, 0.8rem);
    color: #294963;
    font-size: clamp(1rem, 1.38vw, 1.2rem);
    line-height: 1.45;
}

.mission-callout {
    display: grid;
    max-width: 600px;
    padding: 0.6rem 0.8rem;
    border-left: 3px solid var(--teal-500);
    grid-template-columns: 88px 1fr;
    gap: 0.8rem;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(10px);
}

.mission-callout > span {
    color: var(--navy-900);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.mission-callout p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.4;
}

.access-panel {
    width: min(100%, 640px);
    padding: clamp(0.8rem, 1.5vw, 1rem);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(20px);
    grid-column: 1;
}

.access-heading {
    display: flex;
    margin-bottom: clamp(0.5rem, 1vh, 0.7rem);
    align-items: start;
    justify-content: space-between;
    gap: 1rem;
}

.access-heading h2 {
    margin-bottom: 0;
    font-size: clamp(1.65rem, 2.25vw, 2.25rem);
    letter-spacing: -0.035em;
}

.secure-note {
    max-width: 105px;
    padding-left: 0.7rem;
    border-left: 2px solid var(--teal-500);
    color: var(--muted);
    font-size: 0.61rem;
    font-weight: 700;
    line-height: 1.35;
    text-transform: uppercase;
}

.portal-choices {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
}

.portal-choice {
    display: grid;
    min-height: 126px;
    padding: 0.7rem;
    border: 1px solid var(--line);
    border-radius: 0.85rem;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.8rem;
    align-items: center;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.86);
    text-decoration: none;
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.portal-choice:hover {
    border-color: rgba(23, 111, 193, 0.38);
    box-shadow: 0 12px 28px rgba(4, 41, 79, 0.1);
    transform: translateY(-2px);
}

.choice-icon {
    display: grid;
    width: 43px;
    height: 43px;
    border-radius: 50%;
    color: var(--blue-600);
    background: var(--blue-100);
    place-items: center;
}

.provider-choice .choice-icon {
    color: var(--teal-700);
    background: var(--teal-100);
}

.choice-icon svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 3;
}

.owner-choice .choice-icon svg circle,
.owner-choice .choice-icon svg path {
    fill: currentColor;
    stroke: none;
}

.choice-copy {
    display: grid;
    min-width: 0;
}

.choice-kicker {
    color: var(--blue-600);
    font-size: 0.63rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.provider-choice .choice-kicker {
    color: var(--teal-700);
}

.choice-copy strong {
    color: var(--navy-950);
    font-family: var(--display-font);
    font-size: 1.04rem;
    line-height: 1.2;
}

.choice-description {
    margin-top: 0.12rem;
    color: var(--muted);
    font-size: 0.75rem;
    line-height: 1.3;
}

.choice-actions {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.4rem;
}

.choice-action {
    padding: 0.38rem 0.48rem;
    border: 1px solid rgba(7, 59, 115, 0.2);
    border-radius: 0.55rem;
    color: var(--navy-900);
    background: var(--white);
    font-size: 0.68rem;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
}

.choice-action-primary {
    border-color: var(--navy-900);
    color: var(--white);
    background: var(--navy-900);
}

.provider-choice .choice-action-primary {
    border-color: var(--teal-700);
    background: var(--teal-700);
}

.choice-action:hover {
    border-color: var(--blue-600);
    box-shadow: 0 6px 16px rgba(4, 41, 79, 0.12);
}

.access-boundary {
    margin: 0.55rem 0 0;
    padding-top: 0.5rem;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.68rem;
    line-height: 1.35;
}

.goal-strip {
    border-top: 1px solid rgba(7, 59, 115, 0.12);
    background:
        radial-gradient(circle at 90% 0%, rgba(29, 160, 164, 0.13), transparent 22rem),
        linear-gradient(100deg, #e8f3fc, #f7fbfd);
}

.goal-shell {
    display: grid;
    padding-block: 0.85rem;
    grid-template-columns: 180px repeat(4, minmax(0, 1fr));
    gap: 0;
    align-items: stretch;
}

.goal-intro {
    display: flex;
    padding-right: 1rem;
    flex-direction: column;
    justify-content: center;
}

.goal-intro h2 {
    margin-bottom: 0;
    font-size: 1.4rem;
}

.goal {
    display: grid;
    min-width: 0;
    padding: 0.2rem clamp(0.7rem, 1.4vw, 1.15rem);
    border-left: 1px solid rgba(7, 59, 115, 0.14);
    grid-template-columns: auto 1fr;
    gap: 0.55rem;
    align-items: start;
}

.goal-number {
    color: var(--blue-600);
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.goal h3 {
    margin-bottom: 0.28rem;
    font-size: clamp(0.92rem, 1.2vw, 1.08rem);
}

.goal p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: clamp(0.66rem, 0.72vw, 0.76rem);
    line-height: 1.32;
}

.site-footer {
    padding-block: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.72);
    background: #031f3c;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.2fr auto auto;
    gap: 2rem;
    align-items: center;
}

.footer-brand {
    display: grid;
}

.footer-brand strong {
    color: var(--white);
    font-family: var(--display-font);
    font-size: 1rem;
}

.footer-brand span,
.site-footer p,
.site-footer a {
    font-size: 0.72rem;
}

.site-footer nav {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.site-footer a {
    color: var(--white);
}

.site-footer p {
    margin-bottom: 0;
    text-align: right;
}

.content-page {
    overflow: hidden;
    background:
        linear-gradient(rgba(7, 59, 115, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(7, 59, 115, 0.025) 1px, transparent 1px),
        var(--paper);
    background-size: 48px 48px;
}

.page-hero {
    position: relative;
    min-height: clamp(390px, 52vw, 610px);
    overflow: hidden;
    color: var(--white);
    background: var(--navy-950);
    isolation: isolate;
}

.page-hero::before,
.page-hero::after {
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    content: "";
}

.page-hero::before {
    width: min(52vw, 720px);
    aspect-ratio: 1;
    top: -52%;
    right: -8%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow:
        0 0 0 70px rgba(255, 255, 255, 0.025),
        0 0 0 140px rgba(255, 255, 255, 0.02);
}

.page-hero::after {
    width: 320px;
    height: 320px;
    bottom: -220px;
    left: 16%;
    background: rgba(29, 160, 164, 0.28);
    filter: blur(3px);
}

.page-hero--about {
    background: linear-gradient(128deg, #04294f 0%, #073b73 57%, #087d82 140%);
}

.page-hero--work {
    background: linear-gradient(128deg, #062e55, #0b4c8c 64%, #176fc1);
}

.page-hero--research {
    background:
        radial-gradient(circle at 76% 44%, rgba(29, 160, 164, 0.42), transparent 13rem),
        linear-gradient(135deg, #031f3c, #073b73);
}

.page-hero--involved {
    background: linear-gradient(130deg, #083c5b, #087d82 70%, #1da0a4);
}

.page-hero--donate {
    background:
        linear-gradient(118deg, rgba(4, 41, 79, 0.98), rgba(7, 59, 115, 0.88)),
        url("/images/ACFWebsite.png") right center / auto 140% no-repeat;
}

.page-hero--contact {
    background: linear-gradient(135deg, #04294f 0%, #073b73 60%, #0b4c8c 100%);
}

.page-hero-grid {
    display: grid;
    min-height: inherit;
    padding-block: clamp(4rem, 9vw, 7.5rem);
    grid-template-columns: minmax(0, 760px) minmax(190px, 1fr);
    gap: clamp(2rem, 7vw, 7rem);
    align-items: center;
}

.page-hero-copy {
    max-width: 760px;
}

.page-hero .eyebrow {
    color: #88dedb;
}

.page-hero h1 {
    max-width: 820px;
    margin-bottom: 1.25rem;
    color: var(--white);
    font-size: clamp(3.2rem, 6.5vw, 6.4rem);
    letter-spacing: -0.055em;
}

.page-hero-copy > p:last-child {
    max-width: 680px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: clamp(1.05rem, 1.7vw, 1.35rem);
    line-height: 1.55;
}

.hero-statement {
    max-width: 330px;
    padding: 1.5rem 0 1.5rem 1.5rem;
    border-left: 1px solid rgba(255, 255, 255, 0.38);
}

.hero-statement span {
    display: block;
    margin-bottom: 0.8rem;
    color: #88dedb;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.2em;
}

.hero-statement p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.78);
    font-family: var(--display-font);
    font-size: clamp(1.1rem, 1.75vw, 1.45rem);
    line-height: 1.35;
}

.hero-index {
    align-self: end;
    justify-self: end;
    color: rgba(255, 255, 255, 0.48);
    font-family: var(--display-font);
    font-size: clamp(2rem, 5vw, 4.5rem);
}

.data-orbit {
    position: relative;
    width: min(25vw, 270px);
    aspect-ratio: 1;
    justify-self: center;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 50%;
}

.data-orbit::before,
.data-orbit::after {
    position: absolute;
    inset: 18%;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50%;
    content: "";
}

.data-orbit::after {
    inset: 38%;
    background: #88dedb;
    box-shadow: 0 0 42px rgba(136, 222, 219, 0.7);
}

.data-orbit span {
    position: absolute;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: var(--white);
}

.data-orbit span:nth-child(1) { top: 7%; left: 46%; }
.data-orbit span:nth-child(2) { right: 10%; bottom: 23%; }
.data-orbit span:nth-child(3) { bottom: 15%; left: 15%; }

.donate-mark {
    display: grid;
    width: min(24vw, 250px);
    aspect-ratio: 1;
    justify-self: center;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 36px rgba(255, 255, 255, 0.035);
    place-items: center;
}

.donate-mark span {
    font-family: var(--display-font);
    font-size: clamp(2rem, 4vw, 3.4rem);
}

.contact-lines {
    display: grid;
    width: min(28vw, 310px);
    justify-self: center;
    gap: 1rem;
    transform: rotate(-8deg);
}

.contact-lines span {
    height: 1px;
    background: rgba(255, 255, 255, 0.42);
}

.contact-lines span:nth-child(2) { width: 72%; margin-left: 28%; }
.contact-lines span:nth-child(3) { width: 48%; }

.page-section {
    padding-block: clamp(4rem, 8vw, 7rem);
}

.page-section--tint {
    border-block: 1px solid var(--line);
    background: linear-gradient(135deg, #edf7fc, #f9fcfc);
}

.editorial-split {
    display: grid;
    grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.28fr);
    gap: clamp(2rem, 7vw, 7rem);
    align-items: start;
}

.section-number {
    margin-bottom: 0.8rem;
    color: var(--teal-700);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.18em;
}

.editorial-split h2,
.section-heading h2,
.research-panels h2,
.notice-panel h2,
.contact-panel h2 {
    margin-bottom: 0;
    font-size: clamp(2.3rem, 4.2vw, 4.2rem);
    letter-spacing: -0.045em;
}

.section-lead {
    margin-bottom: 0;
    color: var(--muted);
    font-size: clamp(1.1rem, 1.9vw, 1.45rem);
    line-height: 1.65;
}

.section-heading {
    margin-bottom: 2rem;
}

.principle-grid,
.initiative-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 1.15rem;
    background: var(--line);
}

.principle-card,
.initiative-card {
    min-height: 245px;
    padding: clamp(1.25rem, 2.6vw, 2rem);
    background: rgba(255, 255, 255, 0.92);
}

.principle-card > span,
.initiative-card > span {
    display: block;
    margin-bottom: clamp(2rem, 6vw, 5rem);
    color: var(--blue-600);
    font-size: 0.65rem;
    font-weight: 800;
}

.principle-card h3,
.initiative-card h3,
.audience-grid h3 {
    margin-bottom: 0.65rem;
    font-size: clamp(1.4rem, 2vw, 1.8rem);
}

.principle-card p,
.initiative-card p,
.audience-grid article > p:not(.eyebrow),
.research-panels article > p:last-child {
    margin-bottom: 0;
    color: var(--muted);
    line-height: 1.6;
}

.initiative-grid {
    margin-top: clamp(2.5rem, 6vw, 5rem);
}

.initiative-card:nth-child(even) {
    background: var(--blue-050);
}

.research-panels {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border: 1px solid var(--line);
    border-radius: 1.25rem;
    background: var(--white);
    box-shadow: var(--shadow-soft);
}

.research-panels article {
    min-height: 360px;
    padding: clamp(2rem, 5vw, 4rem);
}

.research-panels h2 {
    margin-bottom: 1.5rem;
    font-size: clamp(2rem, 3.6vw, 3.4rem);
}

.research-boundary {
    border-left: 1px solid var(--line);
    background: linear-gradient(145deg, #f1f9fc, #e1f3f2);
}

.audience-grid {
    display: grid;
    margin-top: clamp(2.5rem, 6vw, 5rem);
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.audience-grid article {
    display: flex;
    min-height: 320px;
    padding: clamp(1.5rem, 3.5vw, 2.5rem);
    border: 1px solid var(--line);
    border-radius: 1.1rem;
    flex-direction: column;
    background: var(--white);
}

.audience-grid article:nth-child(2) {
    transform: translateY(1.5rem);
}

.audience-grid article > a {
    margin-top: auto;
    padding-top: 2rem;
    color: var(--navy-900);
    font-weight: 800;
}

.cta-band {
    display: flex;
    margin-block: 0 clamp(4rem, 8vw, 7rem);
    padding: clamp(2rem, 5vw, 4rem);
    border-radius: 1.25rem;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    color: var(--white);
    background: linear-gradient(125deg, var(--navy-950), var(--navy-800));
}

.cta-band--teal {
    background: linear-gradient(125deg, #07545d, var(--teal-700));
}

.cta-band .eyebrow {
    color: #88dedb;
}

.cta-band h2 {
    max-width: 760px;
    margin-bottom: 0;
    color: var(--white);
    font-size: clamp(2rem, 4vw, 3.8rem);
}

.button {
    display: inline-flex;
    min-height: 46px;
    padding: 0.75rem 1.2rem;
    border: 1px solid transparent;
    border-radius: 999px;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 180ms ease, background-color 180ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-light {
    color: var(--navy-950);
    background: var(--white);
}

.button-primary {
    color: var(--white);
    background: var(--navy-900);
}

.button-secondary {
    border-color: var(--navy-900);
    color: var(--navy-900);
    background: transparent;
}

.notice-panel,
.contact-panel {
    display: flex;
    margin-top: clamp(2.5rem, 6vw, 5rem);
    padding: clamp(2rem, 5vw, 4rem);
    border: 1px solid var(--line);
    border-radius: 1.25rem;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    background: linear-gradient(135deg, var(--white), var(--blue-050));
    box-shadow: var(--shadow-soft);
}

.notice-panel > div,
.contact-panel > div {
    max-width: 800px;
}

.notice-panel h2,
.contact-panel h2 {
    font-size: clamp(1.7rem, 3.2vw, 3rem);
    line-height: 1.2;
}

.home-page .site-footer {
    padding-block: 0.45rem;
}

.home-page .footer-brand span {
    display: none;
}

.utility-page {
    display: grid;
    min-height: calc(100svh - var(--header-height));
    padding: clamp(3rem, 8vw, 7rem) 1.5rem;
    background:
        radial-gradient(circle at 85% 5%, rgba(29, 160, 164, 0.16), transparent 24rem),
        linear-gradient(150deg, var(--blue-050), var(--paper));
    place-items: center;
}

.utility-card {
    width: min(100%, 760px);
    padding: clamp(2rem, 6vw, 4rem);
    border: 1px solid var(--line);
    border-radius: 1.25rem;
    background: var(--white);
    box-shadow: var(--shadow-soft);
}

.utility-card h1 {
    margin-bottom: 1.5rem;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
}

.utility-card > p:not(.eyebrow) {
    color: var(--muted);
    font-size: 1.05rem;
}

.prose-card {
    width: min(100%, 860px);
}

.prose-card .lead {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--line);
    font-size: 1.2rem;
}

.prose-card h2 {
    margin-top: 2.5rem;
    margin-bottom: 0.6rem;
    font-size: 1.65rem;
}

.text-link {
    display: inline-block;
    margin-top: 1.5rem;
    color: var(--navy-900);
    font-weight: 800;
    text-decoration: none;
}

.reveal {
    animation: reveal-up 580ms both cubic-bezier(0.22, 1, 0.36, 1);
}

.delay-one {
    animation-delay: 80ms;
}

.delay-two {
    animation-delay: 160ms;
}

.delay-three {
    animation-delay: 240ms;
}

@keyframes reveal-up {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1120px) {
    .desktop-navigation {
        display: none;
    }

    .mobile-navigation {
        display: block;
    }

    .home-shell {
        grid-template-columns: minmax(0, 590px) minmax(0, 1fr);
        column-gap: 1rem;
    }

    .home-story h1 {
        font-size: clamp(3rem, 5.6vw, 4.5rem);
    }

    .goal-shell {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .goal-intro {
        display: none;
    }
}

@media (max-width: 820px) {
    .header-inner,
    .footer-inner,
    .home-shell,
    .goal-shell {
        width: min(calc(100% - 1.5rem), var(--content-width));
    }

    .page-shell {
        width: min(calc(100% - 1.5rem), var(--content-width));
    }

    .page-hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .page-hero-copy {
        max-width: 680px;
    }

    .hero-statement,
    .hero-index,
    .data-orbit,
    .donate-mark,
    .contact-lines {
        display: none;
    }

    .principle-grid,
    .initiative-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .audience-grid {
        grid-template-columns: 1fr;
    }

    .audience-grid article {
        min-height: 240px;
    }

    .audience-grid article:nth-child(2) {
        transform: none;
    }

    .home-shell {
        grid-template-columns: minmax(0, 540px) minmax(0, 1fr);
        column-gap: 0.75rem;
    }

    .mission-callout {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }

    .choice-description {
        display: none;
    }
}

@media (max-width: 680px) {
    :root {
        --header-height: 64px;
    }

    .brand-mark {
        width: 40px;
        height: 40px;
    }

    .brand-mark img {
        width: 69px;
        height: 69px;
        transform: translate(-14px, -2px);
    }

    .brand-name {
        font-size: 0.75rem;
    }

    .brand-name small {
        font-size: 0.52rem;
    }

    .brand-name {
        display: none;
    }

    .header-actions {
        gap: 0.45rem;
    }

    .home-page .site-footer {
        display: none;
    }

    .home-stage {
        grid-template-rows: minmax(0, 1fr) auto;
    }

    .home-hero::after {
        background:
            linear-gradient(0deg, rgba(255, 253, 249, 0.99) 0%, rgba(255, 253, 249, 0.93) 76%, rgba(255, 253, 249, 0.58) 100%),
            linear-gradient(90deg, rgba(255, 253, 249, 0.5), transparent);
    }

    .home-backdrop {
        background-position: right bottom;
    }

    .home-shell {
        padding-block: 0.65rem;
        grid-template-columns: 1fr;
        gap: 0.65rem;
        align-content: center;
    }

    .eyebrow {
        margin-bottom: 0.25rem;
        font-size: 0.57rem;
    }

    .home-story h1 {
        margin-bottom: 0.35rem;
        font-size: clamp(2.15rem, 10.5vw, 3.25rem);
    }

    .home-intro {
        margin-bottom: 0.4rem;
        font-size: 0.76rem;
        line-height: 1.32;
    }

    .mission-callout {
        padding: 0.45rem 0.6rem;
        grid-template-columns: 74px 1fr;
        gap: 0.45rem;
    }

    .mission-callout > span,
    .mission-callout p {
        font-size: 0.62rem;
        line-height: 1.28;
    }

    .access-panel {
        padding: 0.65rem;
        border-radius: 0.9rem;
    }

    .access-heading {
        margin-bottom: 0.45rem;
    }

    .access-heading h2 {
        font-size: 1.5rem;
    }

    .secure-note {
        display: none;
    }

    .portal-choices {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.45rem;
    }

    .portal-choice {
        min-height: 120px;
        padding: 0.55rem;
        grid-template-columns: 1fr;
        gap: 0.3rem;
        align-content: start;
    }

    .choice-icon {
        width: 34px;
        height: 34px;
        grid-column: 1 / -1;
    }

    .choice-icon svg {
        width: 21px;
        height: 21px;
    }

    .choice-kicker {
        font-size: 0.52rem;
    }

    .choice-copy strong {
        font-size: 0.9rem;
    }

    .choice-actions {
        gap: 0.25rem;
    }

    .choice-action {
        padding: 0.3rem 0.22rem;
        font-size: 0.58rem;
    }

    .access-boundary {
        margin-top: 0.45rem;
        padding-top: 0.4rem;
        font-size: 0.58rem;
    }

    .goal-shell {
        padding-block: 0.45rem;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 0.45rem;
    }

    .page-hero {
        min-height: 420px;
    }

    .page-hero-grid {
        padding-block: 4rem;
    }

    .page-hero h1 {
        font-size: clamp(2.7rem, 13vw, 4.2rem);
    }

    .editorial-split,
    .research-panels {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .principle-grid,
    .initiative-grid {
        grid-template-columns: 1fr;
    }

    .principle-card,
    .initiative-card {
        min-height: 210px;
    }

    .principle-card > span,
    .initiative-card > span {
        margin-bottom: 2rem;
    }

    .research-panels article {
        min-height: 0;
    }

    .research-boundary {
        border-top: 1px solid var(--line);
        border-left: 0;
    }

    .cta-band,
    .notice-panel,
    .contact-panel {
        align-items: stretch;
        flex-direction: column;
    }

    .cta-band .button,
    .notice-panel .button,
    .contact-panel .button {
        width: 100%;
    }

    .goal {
        padding: 0 0.45rem;
    }

    .goal:nth-child(2),
    .goal:nth-child(4) {
        border-left: 0;
    }

    .goal h3 {
        margin-bottom: 0.12rem;
        font-size: 0.78rem;
    }

    .goal p {
        font-size: 0.56rem;
        line-height: 1.22;
    }

    .goal-number {
        font-size: 0.5rem;
    }

    .footer-inner {
        display: flex;
        justify-content: space-between;
        gap: 1rem;
    }

    .footer-brand,
    .site-footer p {
        display: none;
    }
}

@media (max-width: 420px) {
    .language-selector select {
        width: 132px;
    }

    .language-selector button {
        width: 34px;
        padding-inline: 0;
    }

    .apply-text {
        display: none;
    }

    .apply-symbol {
        display: inline;
    }
}

html[dir="rtl"] .home-story,
html[dir="rtl"] .access-panel {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] .mission-callout {
    border-right: 3px solid var(--teal-500);
    border-left: 0;
}

html[dir="rtl"] .choice-arrow,
html[dir="rtl"] .text-link span {
    transform: scaleX(-1);
}

html[dir="rtl"] .portal-choice:hover .choice-arrow {
    transform: scaleX(-1) translateX(4px);
}

html[dir="rtl"] .goal {
    border-right: 1px solid rgba(7, 59, 115, 0.14);
    border-left: 0;
}

html[dir="rtl"] .hero-statement,
html[dir="rtl"] .research-boundary {
    border-right: 1px solid rgba(255, 255, 255, 0.38);
    border-left: 0;
}

html[dir="rtl"] .research-boundary {
    border-right-color: var(--line);
}

html[dir="rtl"] .button span {
    transform: scaleX(-1);
}

@media (max-width: 680px) {
    html[dir="rtl"] .research-boundary {
        border-top: 1px solid var(--line);
        border-right: 0;
    }
}

@media (max-height: 720px) and (min-width: 681px) {
    .home-shell {
        padding-block: 0.65rem;
    }

    .home-story h1 {
        margin-bottom: 0.5rem;
        font-size: clamp(2.85rem, 5vw, 4.4rem);
    }

    .home-intro {
        margin-bottom: 0.55rem;
    }

    .access-panel {
        padding: 0.85rem;
    }

    .access-heading {
        margin-bottom: 0.5rem;
    }

    .portal-choice {
        min-height: 112px;
        padding: 0.6rem;
    }

    .access-boundary {
        margin-top: 0.5rem;
        padding-top: 0.45rem;
    }

    .goal-shell {
        padding-block: 0.55rem;
    }
}

@media (max-height: 720px) and (max-width: 680px) {
    .home-shell {
        gap: 0.4rem;
        padding-block: 0.35rem;
    }

    .home-story h1 {
        font-size: 2rem;
    }

    .home-intro {
        font-size: 0.68rem;
    }

    .mission-callout {
        padding-block: 0.3rem;
    }

    .portal-choice {
        min-height: 112px;
    }

    .goal-shell {
        row-gap: 0.25rem;
    }
}

@media (max-height: 560px) {
    .home-page {
        height: auto;
        min-height: 100svh;
        overflow: auto;
    }

    .home-stage {
        min-height: 560px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
