:root {
    /* NHCDO's focused digital palette: deep navy, maroon and warm neutrals. */
    --navy-950: #07062b;
    --navy-900: #0b0a37;
    --navy-800: #151344;
    --navy-700: #242157;
    --navy-500: #4f4b7a;
    --navy-soft: #aaa8c4;
    --maroon-700: #4b0406;
    --maroon-600: #590103;
    --maroon-500: #7a1518;
    --cream-100: #fbfaf6;
    --cream-200: #f4f0e8;
    --cream-300: #e5ded2;
    --paper: #fffefa;
    --ink: #17191f;
    --muted: #58636e;
    --line: #d9d8d2;
    --danger: #a22626;
    --success: #29265f;
    --shadow-sm: 0 10px 30px rgba(20, 20, 63, 0.08);
    --shadow-lg: 0 30px 80px rgba(11, 10, 55, 0.17);
    --radius-sm: 0.65rem;
    --radius-md: 1rem;
    --radius-lg: 1.65rem;
    --radius-xl: 2.4rem;
    --shell: min(1180px, calc(100vw - 3rem));
    --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
}

:root[data-theme="dark"] {
    color-scheme: dark;
    --cream-100: #111218;
    --cream-200: #17181f;
    --cream-300: #2a2b35;
    --paper: #0e0f14;
    --ink: #f4f1eb;
    --muted: #b6b4c0;
    --line: #30313c;
    --danger: #df7777;
    --success: #aaa8c4;
    --shadow-sm: 0 10px 30px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.36);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 6.5rem;
}

body {
    margin: 0;
    min-width: 320px;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 1rem;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

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

button,
input,
select,
textarea {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

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

[hidden] {
    display: none !important;
}

.no-js .form-submit {
    display: none;
}

.shell {
    width: var(--shell);
    margin-inline: auto;
}

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

.skip-link {
    position: fixed;
    z-index: 1000;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    background: var(--paper);
    color: var(--navy-950);
    font-weight: 800;
    transform: translateY(-160%);
    transition: transform 160ms ease;
}

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

.site-header {
    position: sticky;
    z-index: 100;
    top: 0;
    border-bottom: 1px solid rgba(11, 10, 55, 0.1);
    background: rgba(255, 253, 248, 0.94);
    backdrop-filter: blur(18px);
}

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

.header-controls {
    display: flex;
    order: 3;
    align-items: center;
    gap: 0.65rem;
}

.brand-link {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 0.7rem;
    border-radius: 0.7rem;
    text-decoration: none;
}

.brand-link .brand-symbol {
    width: 3.15rem;
    flex: 0 0 auto;
}

.brand-symbol-light {
    display: none;
}

.brand-type {
    display: grid;
    color: var(--navy-900);
    line-height: 1;
}

.brand-type strong {
    font-family: var(--sans);
    font-size: 1.24rem;
    font-weight: 900;
    letter-spacing: 0.095em;
}

.brand-type span {
    max-width: 11.5rem;
    margin-top: 0.25rem;
    color: var(--muted);
    font-size: 0.56rem;
    font-weight: 800;
    letter-spacing: 0.095em;
    line-height: 1.32;
    text-transform: uppercase;
}

.theme-toggle {
    display: inline-grid;
    width: 2.75rem;
    height: 2.75rem;
    flex: 0 0 auto;
    place-items: center;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: transparent;
    color: var(--navy-900);
    cursor: pointer;
    transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
}

.theme-toggle:hover {
    border-color: var(--maroon-600);
    background: var(--cream-200);
    color: var(--maroon-600);
    transform: translateY(-1px);
}

.theme-icon {
    width: 1.18rem;
    height: 1.18rem;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.theme-icon-moon {
    fill: currentColor;
    stroke: none;
}

.theme-icon-sun {
    display: none;
}

.site-navigation {
    display: flex;
    order: 2;
    align-items: center;
    gap: 1.55rem;
}

.site-navigation a {
    position: relative;
    color: #333244;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
}

.site-navigation > a:not(.nav-action)::after {
    position: absolute;
    right: 0;
    bottom: -0.45rem;
    left: 0;
    height: 2px;
    background: var(--maroon-600);
    content: "";
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 180ms ease;
}

.site-navigation > a:hover::after,
.site-navigation > a[aria-current="page"]::after {
    transform: scaleX(1);
    transform-origin: left;
}

.site-navigation .nav-action {
    min-height: 2.75rem;
    padding: 0.62rem 1.1rem;
    border: 1px solid var(--maroon-600);
    border-radius: 999px;
    background: var(--maroon-600);
    color: #fff;
    line-height: 1.35;
    transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.site-navigation .nav-action:hover {
    background: var(--maroon-700);
    border-color: var(--maroon-700);
    transform: translateY(-1px);
}

.site-navigation .nav-action-secondary {
    margin-left: 0.2rem;
    background: transparent;
    color: var(--navy-900);
}

.site-navigation .nav-action-secondary:hover {
    background: var(--navy-900);
    border-color: var(--navy-900);
    color: #fff;
}

.menu-button {
    display: none;
    min-height: 2.75rem;
    align-items: center;
    gap: 0.65rem;
    padding: 0.55rem 0.8rem;
    border: 1px solid var(--navy-900);
    border-radius: 999px;
    background: transparent;
    color: var(--navy-900);
    cursor: pointer;
    font-size: 0.84rem;
    font-weight: 800;
}

.menu-button-lines,
.menu-button-lines::before,
.menu-button-lines::after {
    display: block;
    width: 1.15rem;
    height: 2px;
    border-radius: 4px;
    background: currentColor;
    content: "";
    transition: transform 160ms ease, opacity 160ms ease;
}

.menu-button-lines {
    position: relative;
}

.menu-button-lines::before {
    position: absolute;
    top: -0.35rem;
}

.menu-button-lines::after {
    position: absolute;
    top: 0.35rem;
}

.menu-button[aria-expanded="true"] .menu-button-lines {
    background: transparent;
}

.menu-button[aria-expanded="true"] .menu-button-lines::before {
    top: 0;
    transform: rotate(45deg);
}

.menu-button[aria-expanded="true"] .menu-button-lines::after {
    top: 0;
    transform: rotate(-45deg);
}

.hero {
    position: relative;
    overflow: hidden;
    padding: clamp(3.8rem, 7vw, 7.5rem) 0 clamp(4.5rem, 8vw, 8rem);
    background:
        radial-gradient(circle at 8% 12%, rgba(223, 167, 46, 0.19), transparent 24rem),
        linear-gradient(135deg, var(--cream-100), #fffdf8 62%);
}

.hero::before {
    position: absolute;
    top: 8%;
    left: -8rem;
    width: 18rem;
    height: 18rem;
    border: 1px solid rgba(11, 10, 55, 0.09);
    border-radius: 50%;
    content: "";
}

.hero-grid {
    position: relative;
    display: grid;
    align-items: center;
    grid-template-columns: minmax(0, 0.9fr) minmax(30rem, 1.1fr);
    gap: clamp(2.5rem, 5vw, 5.5rem);
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin: 0 0 1.35rem;
    color: var(--maroon-700);
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    line-height: 1.4;
    text-transform: uppercase;
}

.eyebrow > span {
    width: 2rem;
    height: 2px;
    background: currentColor;
}

.eyebrow-light {
    color: var(--navy-soft);
}

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

h1,
h2 {
    font-family: var(--serif);
    font-weight: 650;
    letter-spacing: -0.035em;
    line-height: 1.02;
}

h1 em,
h2 em {
    color: var(--maroon-600);
    font-weight: inherit;
}

.hero h1 {
    max-width: 11ch;
    margin-bottom: 1.55rem;
    font-size: clamp(3.05rem, 5.4vw, 5.6rem);
}

.hero-intro {
    max-width: 36rem;
    margin-bottom: 2rem;
    color: var(--muted);
    font-size: clamp(1.05rem, 1.5vw, 1.2rem);
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.85rem;
}

.button {
    display: inline-flex;
    min-height: 3.25rem;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.8rem 1.35rem;
    border: 1px solid transparent;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 800;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

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

.button-primary {
    border-color: var(--maroon-600);
    background: var(--maroon-600);
    color: #fff;
}

.button-primary:hover {
    border-color: var(--maroon-700);
    background: var(--maroon-700);
}

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

.button-quiet:hover {
    border-color: var(--navy-900);
}

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

.button-light:hover {
    background: #fff;
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem 1.3rem;
    padding: 0;
    margin: 2rem 0 0;
    color: var(--navy-700);
    font-size: 0.82rem;
    font-weight: 750;
    list-style: none;
}

.hero-points li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-points li::before {
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: var(--navy-500);
    content: "";
}

.hero-visual {
    position: relative;
    min-width: 0;
}

.hero-image-wrap {
    overflow: hidden;
    min-height: 34rem;
    border-radius: 8rem 1.8rem 8rem 1.8rem;
    box-shadow: var(--shadow-lg);
}

.hero-image-wrap picture,
.hero-image-wrap img {
    display: block;
    width: 100%;
    height: 34rem;
    object-fit: cover;
    object-position: 64% center;
}

.hero-visual::before {
    position: absolute;
    z-index: -1;
    top: -1.5rem;
    right: -1.5rem;
    width: 9rem;
    height: 9rem;
    border-radius: 50%;
    background: var(--navy-500);
    content: "";
}

.hero-card {
    position: absolute;
    bottom: -2rem;
    left: -2.2rem;
    display: flex;
    width: min(22rem, calc(100% - 2rem));
    align-items: center;
    gap: 1rem;
    padding: 1.15rem 1.25rem;
    border: 1px solid rgba(11, 10, 55, 0.1);
    border-radius: var(--radius-lg);
    background: rgba(255, 253, 248, 0.96);
    box-shadow: var(--shadow-sm);
}

.hero-card img {
    flex: 0 0 auto;
}

.hero-card p {
    margin: 0;
    line-height: 1.4;
}

.hero-card strong,
.hero-card span {
    display: block;
}

.hero-card strong {
    color: var(--navy-900);
    font-family: var(--serif);
    font-size: 1.06rem;
}

.hero-card span {
    margin-top: 0.18rem;
    color: var(--muted);
    font-size: 0.78rem;
}

.marquee {
    padding: 1rem 0;
    background: var(--maroon-600);
    color: #fff;
}

.marquee-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(1rem, 3vw, 2.5rem);
    font-size: 0.77rem;
    font-weight: 850;
    letter-spacing: 0.11em;
    text-align: center;
    text-transform: uppercase;
}

.marquee-list i {
    width: 0.38rem;
    height: 0.38rem;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--navy-soft);
}

.section {
    padding: clamp(5rem, 9vw, 9rem) 0;
}

.split-layout {
    display: grid;
    grid-template-columns: minmax(15rem, 0.72fr) minmax(0, 1.28fr);
    gap: clamp(3rem, 8vw, 8rem);
}

.sticky-heading {
    align-self: start;
}

.section-heading h2,
.process-intro h2,
.contact-copy h2 {
    margin-bottom: 0;
    font-size: clamp(2.6rem, 4.8vw, 4.7rem);
}

.section-heading h2 {
    max-width: 10ch;
}

.prose-large > p {
    max-width: 42rem;
    color: #454454;
    font-family: var(--serif);
    font-size: clamp(1.35rem, 2.3vw, 2rem);
    line-height: 1.45;
}

.prose-large > p + p {
    margin-top: 1.4rem;
}

.values-grid {
    display: grid;
    margin-top: 3rem;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.values-grid article {
    padding-top: 1.1rem;
    border-top: 2px solid var(--cream-300);
}

.value-number,
.program-index {
    color: var(--maroon-600);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.values-grid h3 {
    margin: 0.65rem 0 0.45rem;
    color: var(--navy-900);
    font-family: var(--serif);
    font-size: 1.15rem;
}

.values-grid p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.6;
}

.programs-section {
    overflow: hidden;
    background: var(--navy-950);
    color: #fff;
}

.programs-section h2 em {
    color: var(--navy-soft);
}

.section-heading-row {
    display: grid;
    align-items: end;
    margin-bottom: 3.5rem;
    grid-template-columns: 1fr minmax(18rem, 0.65fr);
    gap: 3rem;
}

.section-heading-row > p {
    max-width: 35rem;
    margin: 0 0 0.4rem;
    color: #c8c8d6;
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.program-card {
    position: relative;
    display: flex;
    min-height: 22rem;
    flex-direction: column;
    padding: 1.4rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.035);
    transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.program-card:hover {
    border-color: rgba(240, 204, 120, 0.48);
    background: rgba(255, 255, 255, 0.065);
    transform: translateY(-3px);
}

.program-card-featured {
    background: var(--cream-100);
    color: var(--ink);
}

.program-card-featured:hover {
    background: #fff;
}

.program-icon {
    display: grid;
    width: 4.4rem;
    height: 4.4rem;
    place-items: center;
    margin: 2.2rem 0 auto;
    border: 1px solid currentColor;
    border-radius: 50%;
    color: var(--navy-soft);
    font-family: var(--serif);
    font-size: 1.4rem;
    font-style: italic;
}

.program-card-featured .program-icon {
    color: var(--navy-800);
}

.program-icon-seed::before,
.program-icon-thread::before,
.program-icon-rise::before,
.program-icon-care::before {
    display: block;
    width: 1.9rem;
    height: 1.9rem;
    border: 2px solid currentColor;
    content: "";
}

.program-icon-seed::before {
    border-radius: 100% 0 100% 0;
    transform: rotate(-28deg);
}

.program-icon-thread::before {
    border-radius: 50%;
    box-shadow: inset 0 0 0 0.35rem transparent;
    clip-path: polygon(0 0, 100% 0, 100% 42%, 44% 42%, 44% 100%, 0 100%);
}

.program-icon-rise::before {
    border-width: 0 2px 2px 0;
    transform: rotate(-45deg);
}

.program-icon-care::before {
    border-radius: 1rem 1rem 0.35rem 0.35rem;
    transform: rotate(45deg);
}

.program-card h3 {
    margin: 1.4rem 0 0.7rem;
    font-family: var(--serif);
    font-size: 1.5rem;
    line-height: 1.15;
}

.program-card p {
    color: #c4c3d2;
    font-size: 0.92rem;
}

.program-card-featured p {
    color: var(--muted);
}

.program-card a {
    margin-top: auto;
    color: var(--navy-soft);
    font-size: 0.84rem;
    font-weight: 800;
}

.program-card-featured a {
    color: var(--maroon-700);
}

.program-card-callout {
    justify-content: flex-end;
    border-color: var(--maroon-500);
    background: var(--maroon-600);
}

.program-card-callout:hover {
    border-color: var(--navy-soft);
    background: var(--maroon-700);
}

.program-card-callout .program-index,
.program-card-callout p,
.program-card-callout a {
    color: #fff;
}

.program-card-callout .program-index {
    position: absolute;
    top: 1.4rem;
}

.process-section {
    background: var(--cream-100);
}

.process-intro {
    display: grid;
    align-items: end;
    margin-bottom: 4rem;
    grid-template-columns: 0.45fr 1fr;
    gap: 4rem;
}

.process-intro .eyebrow {
    margin-bottom: 0.6rem;
}

.process-intro h2 {
    max-width: 12ch;
}

.process-list {
    padding: 0;
    margin: 0;
    border-top: 1px solid var(--cream-300);
    list-style: none;
}

.process-list li {
    display: grid;
    align-items: start;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--cream-300);
    grid-template-columns: 0.2fr 0.8fr;
    gap: 2rem;
}

.process-list > li > span {
    display: grid;
    width: 2.4rem;
    height: 2.4rem;
    place-items: center;
    border: 1px solid var(--navy-700);
    border-radius: 50%;
    color: var(--navy-700);
    font-size: 0.8rem;
    font-weight: 900;
}

.process-list div {
    display: grid;
    grid-template-columns: 0.35fr 0.65fr;
    gap: 2rem;
}

.process-list h3 {
    margin: 0;
    color: var(--navy-900);
    font-family: var(--serif);
    font-size: 1.4rem;
}

.process-list p {
    max-width: 34rem;
    margin: 0;
    color: var(--muted);
}

.participation-section {
    position: relative;
    overflow: hidden;
    background: var(--maroon-600);
    color: #fff;
}

.participation-section::before {
    position: absolute;
    top: -9rem;
    right: -8rem;
    width: 27rem;
    height: 27rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    box-shadow: 0 0 0 5rem rgba(255, 255, 255, 0.025), 0 0 0 10rem rgba(255, 255, 255, 0.02);
    content: "";
}

.participation-grid {
    position: relative;
    display: grid;
    align-items: center;
    grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.9fr);
    gap: clamp(4rem, 9vw, 9rem);
}

.participation-copy h2 {
    max-width: 10ch;
    margin-bottom: 1.4rem;
    font-size: clamp(2.8rem, 5vw, 5rem);
}

.participation-copy h2 em {
    color: var(--navy-soft);
}

.participation-copy > p:not(.eyebrow) {
    max-width: 42rem;
    color: #fee9df;
}

.participation-copy .button {
    margin-top: 1rem;
}

.participation-grid blockquote {
    padding: 2rem;
    margin: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.45);
    border-bottom: 1px solid rgba(255, 255, 255, 0.45);
}

.participation-grid blockquote p {
    margin-bottom: 1.2rem;
    font-family: var(--serif);
    font-size: clamp(1.5rem, 2.8vw, 2.3rem);
    font-style: italic;
    line-height: 1.35;
}

.participation-grid blockquote footer {
    color: #fee9df;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.contact-section {
    background: var(--paper);
}

.contact-grid {
    display: grid;
    align-items: start;
    grid-template-columns: minmax(18rem, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(3rem, 8vw, 7rem);
}

.contact-copy {
    position: sticky;
    top: 8rem;
}

.contact-copy h2 {
    max-width: 10ch;
    margin-bottom: 1.4rem;
}

.contact-copy > p:not(.eyebrow) {
    max-width: 32rem;
    color: var(--muted);
}

.contact-details {
    display: grid;
    gap: 0.28rem;
    padding: 1rem 1.1rem;
    margin-top: 1.35rem;
    border-left: 3px solid var(--navy-500);
    background: var(--cream-100);
    color: var(--muted);
    font-size: 0.86rem;
    font-style: normal;
    line-height: 1.5;
}

.contact-details strong {
    color: var(--navy-900);
}

.contact-details b {
    color: var(--ink);
    font-weight: 800;
}

.contact-details a {
    width: fit-content;
    color: var(--navy-800);
    font-weight: 800;
}

.contact-location {
    overflow: hidden;
    margin-top: 1.35rem;
    border: 1px solid var(--cream-300);
    border-radius: var(--radius-md);
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.contact-map {
    min-height: 14.5rem;
    background: var(--cream-200);
}

.contact-map iframe {
    display: block;
    width: 100%;
    height: 14.5rem;
    border: 0;
}

.contact-location-body {
    display: grid;
    gap: 1rem;
    padding: 1.1rem;
}

.contact-location-copy {
    display: grid;
    gap: 0.22rem;
}

.contact-location-kicker {
    color: var(--maroon-700);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.contact-location-copy h3 {
    margin: 0;
    color: var(--navy-900);
    font-family: var(--serif);
    font-size: 1.35rem;
}

.contact-location-copy p {
    margin: 0;
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.5;
}

.contact-location-link {
    display: inline-flex;
    width: fit-content;
    min-height: 2.75rem;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.65rem 0.9rem;
    border: 1px solid var(--navy-900);
    border-radius: 999px;
    color: var(--navy-900);
    font-size: 0.78rem;
    font-weight: 850;
    text-decoration: none;
    transition: border-color 150ms ease, background 150ms ease, color 150ms ease;
}

.contact-location-link:hover {
    border-color: var(--maroon-700);
    background: var(--maroon-700);
    color: #fff;
}

.contact-location-link svg {
    width: 1rem;
    height: 1rem;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.contact-prompt {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.1rem;
    margin-top: 2rem;
    border: 1px solid var(--cream-300);
    border-radius: var(--radius-md);
    background: var(--cream-100);
}

.contact-prompt img {
    flex: 0 0 auto;
}

.contact-prompt p {
    margin: 0;
    line-height: 1.45;
}

.contact-prompt strong,
.contact-prompt span,
.contact-prompt a {
    display: block;
}

.contact-prompt span {
    margin: 0.2rem 0 0.5rem;
    color: var(--muted);
    font-size: 0.82rem;
}

.contact-prompt a {
    color: var(--maroon-700);
    font-size: 0.82rem;
    font-weight: 850;
}

.public-form {
    min-width: 0;
}

.contact-form {
    padding: clamp(1.4rem, 4vw, 2.7rem);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.form-heading {
    padding-bottom: 1.7rem;
    margin-bottom: 1.6rem;
    border-bottom: 1px solid var(--line);
}

.form-kicker {
    margin-bottom: 0.25rem;
    color: var(--maroon-700);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.form-heading h3 {
    margin: 0 0 0.2rem;
    color: var(--navy-900);
    font-family: var(--serif);
    font-size: 2rem;
}

.form-heading > p:last-child {
    margin: 0;
    color: var(--muted);
    font-size: 0.82rem;
}

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

.form-grid-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.field,
.field-group {
    min-width: 0;
    margin-bottom: 1.2rem;
}

.form-note {
    align-self: start;
    min-width: 0;
    padding: 0.9rem 1rem;
    margin-bottom: 1.2rem;
    border-left: 3px solid var(--navy-500);
    background: rgba(255, 255, 255, 0.62);
    color: var(--muted);
    font-size: 0.78rem;
    line-height: 1.55;
}

.form-note strong,
.form-note span {
    display: block;
}

.form-note strong {
    margin-bottom: 0.2rem;
    color: var(--navy-900);
}

.field label,
.field-label {
    display: block;
    margin-bottom: 0.42rem;
    color: #303041;
    font-size: 0.82rem;
    font-weight: 800;
}

.optional {
    margin-left: 0.25rem;
    color: #747483;
    font-size: 0.7rem;
    font-weight: 650;
}

.field input:not([type="checkbox"]),
.field select,
.field textarea {
    width: 100%;
    border: 1px solid #cccbd4;
    border-radius: 0.7rem;
    background: #fff;
    color: var(--ink);
    transition: border-color 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.field input:not([type="checkbox"]),
.field select {
    min-height: 3.15rem;
    padding: 0.68rem 0.78rem;
}

.field textarea {
    min-height: 8.5rem;
    padding: 0.78rem;
    resize: vertical;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
    border-color: #9391a4;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--navy-700);
    box-shadow: 0 0 0 3px rgba(41, 38, 95, 0.14);
    outline: none;
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
    border-color: var(--danger);
    background: #fffafa;
}

.field select:disabled,
.field input:disabled,
.field textarea:disabled {
    cursor: not-allowed;
    background: #f0eff4;
    color: #777684;
    opacity: 1;
}

.newhope-select {
    position: relative;
    width: 100%;
}

.field .newhope-select__native {
    position: absolute !important;
    width: 1px !important;
    min-height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    border: 0 !important;
    white-space: nowrap !important;
}

.newhope-select__trigger {
    display: flex;
    width: 100%;
    min-height: 3.15rem;
    align-items: center;
    justify-content: space-between;
    gap: 0.9rem;
    padding: 0.68rem 0.82rem;
    border: 1px solid #cccbd4;
    border-radius: 0.7rem;
    background: #fff;
    color: var(--ink);
    font: inherit;
    line-height: 1.35;
    text-align: left;
    transition: border-color 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.newhope-select__trigger:hover:not(:disabled) {
    border-color: #9391a4;
}

.newhope-select__trigger:focus-visible,
.newhope-select[data-open="true"] .newhope-select__trigger {
    border-color: var(--navy-700);
    box-shadow: 0 0 0 3px rgba(41, 38, 95, 0.14);
    outline: none;
}

.newhope-select__trigger[aria-invalid="true"] {
    border-color: var(--danger);
    background: #fffafa;
}

.newhope-select__trigger:disabled {
    cursor: not-allowed;
    background: #f0eff4;
    color: #777684;
}

.newhope-select__value {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.newhope-select__value.is-placeholder {
    color: #6d6c79;
}

.newhope-select__chevron {
    width: 0.56rem;
    height: 0.56rem;
    flex: 0 0 auto;
    margin: -0.24rem 0.18rem 0 0;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 150ms ease, margin 150ms ease;
}

.newhope-select[data-open="true"] .newhope-select__chevron {
    margin-top: 0.22rem;
    transform: rotate(225deg);
}

.newhope-select__menu {
    position: absolute;
    z-index: 90;
    top: calc(100% + 0.42rem);
    right: 0;
    left: 0;
    max-height: min(19rem, 45vh);
    padding: 0.38rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 1px solid rgba(41, 38, 95, 0.34);
    border-radius: 0.82rem;
    background: #fffef9;
    box-shadow: 0 1.2rem 2.8rem rgba(11, 10, 55, 0.18), 0 0.2rem 0.7rem rgba(11, 10, 55, 0.1);
    scrollbar-color: var(--navy-500) #f0eff4;
    scrollbar-width: thin;
}

.newhope-select[data-placement="top"] .newhope-select__menu {
    top: auto;
    bottom: calc(100% + 0.42rem);
}

.newhope-select__menu[hidden] {
    display: none;
}

.newhope-select__option {
    position: relative;
    display: flex;
    min-height: 2.7rem;
    align-items: center;
    padding: 0.62rem 2.35rem 0.62rem 0.72rem;
    border-radius: 0.58rem;
    color: #2d2c3f;
    cursor: pointer;
    line-height: 1.35;
}

.newhope-select__option.is-active {
    background: #eeedf4;
    color: var(--navy-900);
}

.newhope-select__option.is-selected {
    background: var(--navy-800);
    color: #fff;
    font-weight: 750;
}

.newhope-select__option.is-selected::after {
    position: absolute;
    right: 0.82rem;
    width: 0.48rem;
    height: 0.82rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    content: "";
    transform: rotate(45deg) translateY(-0.08rem);
}

.newhope-select__option.is-placeholder:not(.is-selected) {
    color: #6d6c79;
}

.newhope-select__option.is-disabled {
    color: #9593a1;
    cursor: not-allowed;
}

@media (forced-colors: active) {
    .newhope-select__trigger,
    .newhope-select__menu,
    .newhope-select__option {
        forced-color-adjust: auto;
    }
}

.field-help,
.field-error,
.field-meta {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.74rem;
    line-height: 1.45;
}

.field-help,
.field-meta {
    color: #6d6c79;
}

.field-error {
    min-height: 1.05rem;
    color: var(--danger);
    font-weight: 700;
}

.field-meta {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.field-meta span:last-child {
    flex: 0 0 auto;
}

.consent-field label {
    display: grid;
    align-items: start;
    grid-template-columns: 1.25rem 1fr;
    gap: 0.65rem;
    cursor: pointer;
    font-weight: 650;
    line-height: 1.55;
}

.consent-field input,
.choice-grid input {
    width: 1.12rem;
    height: 1.12rem;
    margin: 0.17rem 0 0;
    accent-color: var(--maroon-600);
}

.field-trap {
    position: fixed;
    top: -10000px;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-submit {
    width: 100%;
    border: 0;
}

.form-submit:disabled {
    cursor: not-allowed;
    background: #7e7c8d;
    transform: none;
}

.form-alert,
.form-result,
.options-status {
    padding: 0.9rem 1rem;
    margin-bottom: 1.25rem;
    border-radius: var(--radius-sm);
    font-size: 0.86rem;
    line-height: 1.5;
}

.form-alert-error {
    border: 1px solid #e4b6b1;
    background: #fff2f0;
    color: #7f211f;
}

.form-result {
    border: 1px solid #b6b3cf;
    background: #f1f0f7;
    color: #242157;
}

.form-result strong,
.form-result span {
    display: block;
}

.form-result span {
    margin-top: 0.25rem;
}

.options-status {
    border: 1px solid var(--cream-300);
    background: var(--cream-100);
    color: var(--navy-800);
}

.options-status[data-state="error"] {
    border-color: #e4b6b1;
    background: #fff2f0;
    color: #7f211f;
}

.form-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(4.5rem, 9vw, 8rem) 0;
    background: var(--navy-950);
    color: #fff;
}

.form-hero::before,
.form-hero::after {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    content: "";
}

.form-hero::before {
    top: -8rem;
    right: -5rem;
    width: 25rem;
    height: 25rem;
}

.form-hero::after {
    right: 8rem;
    bottom: -13rem;
    width: 22rem;
    height: 22rem;
}

.form-hero-course {
    background: linear-gradient(120deg, var(--navy-950), #23205f);
}

.form-hero-volunteer {
    background: linear-gradient(120deg, #350305, var(--maroon-600));
}

.form-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    align-items: end;
    grid-template-columns: minmax(0, 1.15fr) minmax(19rem, 0.85fr);
    gap: clamp(3rem, 8vw, 8rem);
}

.form-hero h1 {
    max-width: 10ch;
    margin: 0;
    font-size: clamp(3.2rem, 6.8vw, 6.5rem);
}

.form-hero h1 em {
    color: var(--navy-soft);
}

.form-hero-note {
    padding-left: 1.5rem;
    border-left: 2px solid var(--navy-500);
}

.form-hero-note > p {
    color: #e4e3ed;
    font-size: 1.05rem;
}

.form-hero-volunteer .form-hero-note > p {
    color: #ffe9e0;
}

.form-hero-note ul {
    padding: 0;
    margin: 1.3rem 0 0;
    list-style: none;
}

.form-hero-note li {
    position: relative;
    padding: 0.45rem 0 0.45rem 1.4rem;
    color: #fff;
    font-size: 0.86rem;
}

.form-hero-note li::before {
    position: absolute;
    top: 0.95rem;
    left: 0;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: var(--navy-500);
    content: "";
}

.application-section {
    background: var(--cream-100);
}

.application-layout {
    display: grid;
    align-items: start;
    grid-template-columns: minmax(16rem, 0.62fr) minmax(0, 1.38fr);
    gap: clamp(2.5rem, 7vw, 7rem);
}

.application-aside {
    position: sticky;
    top: 7.5rem;
}

.application-aside h2 {
    margin-bottom: 1.2rem;
    color: var(--navy-900);
    font-family: var(--serif);
    font-size: clamp(2rem, 3.4vw, 3rem);
    line-height: 1.12;
}

.application-aside > p:not(.eyebrow) {
    color: var(--muted);
}

.aside-steps {
    padding: 0;
    margin: 2rem 0;
    border-top: 1px solid var(--cream-300);
    list-style: none;
}

.aside-steps li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--cream-300);
    color: var(--navy-800);
    font-size: 0.86rem;
    font-weight: 750;
}

.aside-steps span {
    display: grid;
    width: 1.7rem;
    height: 1.7rem;
    place-items: center;
    border-radius: 50%;
    background: var(--navy-900);
    color: #fff;
    font-size: 0.7rem;
}

.privacy-note {
    padding: 1rem;
    border-left: 3px solid var(--navy-500);
    background: rgba(255, 255, 255, 0.6);
}

.privacy-note strong {
    color: var(--navy-900);
    font-family: var(--serif);
    font-size: 1rem;
}

.privacy-note p {
    margin: 0.25rem 0 0;
    color: var(--muted);
    font-size: 0.8rem;
}

.application-form {
    padding: clamp(1.25rem, 4vw, 3rem);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.application-form fieldset {
    min-width: 0;
    padding: 0;
    margin: 0 0 2.6rem;
    border: 0;
}

.application-form fieldset + fieldset {
    padding-top: 2.5rem;
    border-top: 1px solid var(--line);
}

.application-form legend {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 0.8rem;
    padding: 0;
    margin-bottom: 1.5rem;
    color: var(--navy-900);
    font-family: var(--serif);
    font-size: 1.45rem;
    font-weight: 700;
}

.application-form legend span {
    color: var(--maroon-600);
    font-family: var(--sans);
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.fieldset-intro {
    margin: -0.75rem 0 1.25rem;
    color: var(--muted);
    font-size: 0.86rem;
}

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

.choice-grid label {
    display: flex;
    min-height: 3.3rem;
    align-items: center;
    gap: 0.7rem;
    padding: 0.65rem 0.8rem;
    margin: 0;
    border: 1px solid #cccbd4;
    border-radius: 0.7rem;
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 700;
    transition: border-color 150ms ease, background 150ms ease;
}

.choice-grid label:has(input:checked) {
    border-color: var(--navy-700);
    background: #f0eff6;
}

.password-control {
    position: relative;
}

.password-control input {
    padding-right: 4.5rem !important;
}

.password-control button {
    position: absolute;
    top: 50%;
    right: 0.5rem;
    min-width: 3.4rem;
    min-height: 2.15rem;
    padding: 0.25rem 0.5rem;
    border: 0;
    border-radius: 0.5rem;
    background: var(--cream-200);
    color: var(--navy-800);
    cursor: pointer;
    font-size: 0.72rem;
    font-weight: 800;
    transform: translateY(-50%);
}

.submit-note {
    margin: 0.8rem 0 0;
    color: var(--muted);
    font-size: 0.74rem;
    text-align: center;
}

.form-privacy-link {
    margin: 0.35rem 0 0;
    color: var(--muted);
    font-size: 0.76rem;
    line-height: 1.5;
}

.form-privacy-link a {
    color: var(--navy-800);
    font-weight: 800;
}

.site-footer {
    padding-top: 4.5rem;
    background: #0b0a37;
    color: #dce4ed;
}

.footer-grid {
    display: grid;
    padding-bottom: 3.5rem;
    grid-template-columns: 1.5fr 0.6fr 0.7fr 0.9fr;
    gap: 2.5rem;
}

.footer-brand .brand-link {
    width: max-content;
    max-width: 100%;
}

.footer-brand .brand-symbol {
    width: 3.65rem;
}

.brand-link-light .brand-type {
    color: #fff;
}

.brand-link-light .brand-type strong {
    color: #fff;
}

.brand-link-light .brand-type span {
    color: #c8c8d6;
}

.footer-brand p,
.footer-note p {
    max-width: 20rem;
    margin: 1rem 0 0;
    color: #aab8c7;
    font-size: 0.84rem;
}

.footer-heading {
    margin: 0 0 1rem;
    color: #fff;
    font-family: var(--sans);
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.footer-links {
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer-links li + li {
    margin-top: 0.55rem;
}

.footer-links a {
    color: #c7d2de;
    font-size: 0.86rem;
    text-decoration: none;
}

.footer-links a:hover,
.footer-links a[aria-current="page"] {
    color: var(--navy-soft);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    padding: 1.4rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #96a7b8;
    font-size: 0.74rem;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom a {
    color: #c7d2de;
    font-weight: 750;
}

.footer-bottom a:hover,
.footer-bottom a[aria-current="page"] {
    color: #fff;
}

.error-page {
    display: grid;
    min-height: 65vh;
    place-items: center;
    padding: 5rem 0;
    background: var(--cream-100);
}

.error-card {
    max-width: 40rem;
    padding: 3rem;
    border: 1px solid var(--cream-300);
    border-radius: var(--radius-xl);
    background: #fff;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.error-card img {
    margin: 0 auto 1rem;
}

.error-code {
    margin-bottom: 0.2rem;
    color: var(--maroon-600);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.16em;
}

.error-card h1 {
    margin-bottom: 1rem;
    font-size: clamp(2.5rem, 5vw, 4rem);
}

.error-card > p:not(.error-code) {
    color: var(--muted);
}

.error-card .button {
    margin-top: 1rem;
}

.privacy-section {
    background: var(--cream-100);
}

.privacy-layout {
    display: grid;
    align-items: start;
    grid-template-columns: minmax(17rem, 0.65fr) minmax(0, 1.35fr);
    gap: clamp(2.5rem, 7vw, 6.5rem);
}

.privacy-summary {
    position: sticky;
    top: 7.5rem;
}

.privacy-summary h2 {
    margin-bottom: 1.2rem;
    color: var(--navy-900);
    font-family: var(--serif);
    font-size: clamp(2rem, 3.4vw, 3rem);
    line-height: 1.12;
}

.privacy-summary > p:not(.eyebrow) {
    color: var(--muted);
}

.privacy-summary dl {
    display: grid;
    gap: 0;
    margin: 2rem 0 0;
    border-top: 1px solid var(--line);
}

.privacy-summary dl div {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
}

.privacy-summary dt {
    color: var(--maroon-600);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.privacy-summary dd {
    margin: 0.25rem 0 0;
    color: var(--ink);
    font-size: 0.88rem;
    line-height: 1.55;
}

.privacy-summary a,
.privacy-content a {
    color: var(--navy-800);
    font-weight: 800;
}

.privacy-content {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.privacy-content section {
    padding: clamp(1.4rem, 4vw, 2.6rem);
}

.privacy-content section + section {
    border-top: 1px solid var(--line);
}

.privacy-content h2 {
    margin-bottom: 0.8rem;
    color: var(--navy-900);
    font-size: clamp(1.45rem, 2.5vw, 2rem);
}

.privacy-content p {
    margin: 0;
    color: var(--muted);
}

.privacy-content p + p {
    margin-top: 0.8rem;
}

.privacy-content .privacy-contact {
    border-top-color: #dac2c0;
    background: #fbf3f1;
}

/* Dark mode uses neutral charcoal surfaces; brand colours remain accents. */
:root[data-theme="dark"] body {
    background: var(--paper);
}

:root[data-theme="dark"] .site-header {
    border-bottom-color: #292a33;
    background: rgba(14, 15, 20, 0.94);
}

:root[data-theme="dark"] .brand-symbol-color,
:root[data-theme="dark"] .theme-icon-moon {
    display: none;
}

:root[data-theme="dark"] .brand-symbol-light,
:root[data-theme="dark"] .theme-icon-sun {
    display: block;
}

:root[data-theme="dark"] .brand-type,
:root[data-theme="dark"] .brand-type strong,
:root[data-theme="dark"] .site-navigation a,
:root[data-theme="dark"] .menu-button,
:root[data-theme="dark"] .theme-toggle {
    color: #f4f1eb;
}

:root[data-theme="dark"] .brand-type span {
    color: #b6b4c0;
}

:root[data-theme="dark"] .eyebrow:not(.eyebrow-light),
:root[data-theme="dark"] .hero h1 em,
:root[data-theme="dark"] .program-index,
:root[data-theme="dark"] .form-kicker,
:root[data-theme="dark"] .application-form legend span,
:root[data-theme="dark"] .contact-details a,
:root[data-theme="dark"] .contact-prompt a {
    color: #d98a90;
}

:root[data-theme="dark"] .contact-details a:hover {
    color: #f1c9c9;
}

:root[data-theme="dark"] .hero-points {
    color: #c8c6d3;
}

:root[data-theme="dark"] .hero-points li::before {
    background: #b8575e;
}

:root[data-theme="dark"] .button-quiet {
    border-color: #3b3c47;
    color: #f4f1eb;
}

:root[data-theme="dark"] .button-quiet:hover {
    border-color: #8d3b42;
}

:root[data-theme="dark"] .theme-toggle {
    border-color: #353640;
    background: #17181f;
}

:root[data-theme="dark"] .theme-toggle:hover {
    border-color: #8d3b42;
    background: #20212a;
    color: #f1c9c9;
}

:root[data-theme="dark"] .hero {
    background:
        radial-gradient(circle at 8% 12%, rgba(89, 1, 3, 0.18), transparent 24rem),
        linear-gradient(135deg, #111218, #0e0f14 62%);
}

:root[data-theme="dark"] .hero-card,
:root[data-theme="dark"] .contact-form,
:root[data-theme="dark"] .contact-location,
:root[data-theme="dark"] .application-form,
:root[data-theme="dark"] .error-card {
    background: #17181f;
}

:root[data-theme="dark"] .hero-card {
    border-color: #30313c;
}

:root[data-theme="dark"] .hero-card strong,
:root[data-theme="dark"] .values-grid h3,
:root[data-theme="dark"] .process-list h3,
:root[data-theme="dark"] .contact-details strong,
:root[data-theme="dark"] .contact-location-copy h3,
:root[data-theme="dark"] .form-heading h3,
:root[data-theme="dark"] .form-note strong,
:root[data-theme="dark"] .application-aside h2,
:root[data-theme="dark"] .privacy-note strong,
:root[data-theme="dark"] .application-form legend {
    color: #f4f1eb;
}

:root[data-theme="dark"] .privacy-summary h2,
:root[data-theme="dark"] .privacy-content h2 {
    color: #f4f1eb;
}

:root[data-theme="dark"] .prose-large > p,
:root[data-theme="dark"] .field label,
:root[data-theme="dark"] .field-label {
    color: #d9d6df;
}

:root[data-theme="dark"] .programs-section {
    background: #13141a;
}

:root[data-theme="dark"] .program-card {
    border-color: #30313c;
    background: #191a21;
}

:root[data-theme="dark"] .program-card:hover {
    border-color: #575461;
    background: #20212a;
}

:root[data-theme="dark"] .program-card-featured {
    background: #20212a;
    color: var(--ink);
}

:root[data-theme="dark"] .program-card-featured:hover {
    background: #262730;
}

:root[data-theme="dark"] .program-card-callout,
:root[data-theme="dark"] .program-card-callout:hover {
    border-color: #7a272b;
    background: #590103;
}

:root[data-theme="dark"] .contact-details,
:root[data-theme="dark"] .contact-prompt,
:root[data-theme="dark"] .process-section,
:root[data-theme="dark"] .application-section,
:root[data-theme="dark"] .options-status,
:root[data-theme="dark"] .password-control button {
    background: #111218;
}

:root[data-theme="dark"] .aside-steps {
    border-top-color: #30313c;
}

:root[data-theme="dark"] .aside-steps li {
    border-bottom-color: #30313c;
    color: #d9d6df;
}

:root[data-theme="dark"] .aside-steps span {
    background: #590103;
    color: #fff;
}

:root[data-theme="dark"] .options-status {
    border-color: #3b3c47;
    color: #d9d6df;
}

:root[data-theme="dark"] .password-control button {
    color: #f4f1eb;
}

:root[data-theme="dark"] .field-help,
:root[data-theme="dark"] .field-meta,
:root[data-theme="dark"] .newhope-select__value.is-placeholder {
    color: #b6b4c0;
}

:root[data-theme="dark"] .form-privacy-link {
    color: #b6b4c0;
}

:root[data-theme="dark"] .form-privacy-link a,
:root[data-theme="dark"] .privacy-summary a,
:root[data-theme="dark"] .privacy-content a {
    color: #e5b5b8;
}

:root[data-theme="dark"] .contact-location {
    border-color: #30313c;
}

:root[data-theme="dark"] .contact-map {
    background: #20212a;
}

:root[data-theme="dark"] .contact-location-kicker {
    color: #d98a90;
}

:root[data-theme="dark"] .contact-location-copy p {
    color: #b6b4c0;
}

:root[data-theme="dark"] .contact-location-link {
    border-color: #56545f;
    color: #f4f1eb;
}

:root[data-theme="dark"] .contact-location-link:hover {
    border-color: #8d3b42;
    background: #590103;
    color: #fff;
}

:root[data-theme="dark"] .form-note,
:root[data-theme="dark"] .privacy-note {
    background: #20212a;
}

:root[data-theme="dark"] .field input:not([type="checkbox"]),
:root[data-theme="dark"] .field select,
:root[data-theme="dark"] .field textarea,
:root[data-theme="dark"] .newhope-select__trigger {
    border-color: #3b3c47;
    background: #111218;
    color: #f4f1eb;
}

:root[data-theme="dark"] .field input:hover,
:root[data-theme="dark"] .field select:hover,
:root[data-theme="dark"] .field textarea:hover,
:root[data-theme="dark"] .newhope-select__trigger:hover:not(:disabled) {
    border-color: #686672;
}

:root[data-theme="dark"] .field input[aria-invalid="true"],
:root[data-theme="dark"] .field select[aria-invalid="true"],
:root[data-theme="dark"] .field textarea[aria-invalid="true"],
:root[data-theme="dark"] .newhope-select__trigger[aria-invalid="true"] {
    border-color: #b8575e;
    background: #281518;
}

:root[data-theme="dark"] .field input:disabled,
:root[data-theme="dark"] .field select:disabled,
:root[data-theme="dark"] .field textarea:disabled,
:root[data-theme="dark"] .newhope-select__trigger:disabled {
    background: #20212a;
    color: #aaa8b4;
}

:root[data-theme="dark"] .newhope-select__menu {
    border-color: #41424d;
    background: #1a1b22;
    box-shadow: 0 1.2rem 2.8rem rgba(0, 0, 0, 0.42), 0 0.2rem 0.7rem rgba(0, 0, 0, 0.28);
    scrollbar-color: #686672 #20212a;
}

:root[data-theme="dark"] .newhope-select__option {
    color: #dedbe4;
}

:root[data-theme="dark"] .newhope-select__option.is-active {
    background: #282933;
    color: #fff;
}

:root[data-theme="dark"] .newhope-select__option.is-selected {
    background: #590103;
    color: #fff;
}

:root[data-theme="dark"] .choice-grid label {
    border-color: #3b3c47;
    background: #15161c;
}

:root[data-theme="dark"] .choice-grid label:has(input:checked) {
    border-color: #8d3b42;
    background: #24171b;
}

:root[data-theme="dark"] .form-alert-error,
:root[data-theme="dark"] .options-status[data-state="error"] {
    border-color: #70383d;
    background: #281518;
    color: #f0b9bd;
}

:root[data-theme="dark"] .form-result {
    border-color: #484653;
    background: #20212a;
    color: #e8e5ed;
}

:root[data-theme="dark"] .site-footer {
    border-top: 1px solid #282933;
    background: #101116;
}

:root[data-theme="dark"] .privacy-content {
    background: #17181f;
}

:root[data-theme="dark"] .privacy-content .privacy-contact {
    border-top-color: #4a3135;
    background: #20171a;
}

:root[data-theme="dark"] .error-page {
    background: #0e0f14;
}

:root[data-theme="dark"] .button-light {
    background: #f4f1eb;
    color: #0e0f14;
}

:root[data-theme="dark"] .button-light:hover {
    background: #fff;
}

@media (max-width: 1080px) {
    :root {
        --shell: min(100% - 2.5rem, 960px);
    }

    .site-navigation {
        gap: 1rem;
    }

    .site-navigation a {
        font-size: 0.82rem;
    }

    .hero-grid {
        grid-template-columns: 0.92fr 1.08fr;
        gap: 2.5rem;
    }

    .hero-image-wrap,
    .hero-image-wrap picture,
    .hero-image-wrap img {
        height: 30rem;
        min-height: 30rem;
    }

    .program-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1.2fr repeat(3, 0.7fr);
    }
}

@media (max-width: 880px) {
    .site-header {
        background: var(--paper);
        backdrop-filter: none;
    }

    .header-inner {
        gap: 1rem;
    }

    .menu-button {
        display: inline-flex;
    }

    .site-navigation {
        position: fixed;
        z-index: 99;
        top: 5.2rem;
        right: 0;
        bottom: 0;
        left: 0;
        display: none;
        overflow-y: auto;
        align-items: stretch;
        flex-direction: column;
        gap: 0;
        padding: 1.4rem max(1.25rem, calc((100vw - var(--shell)) / 2));
        background: var(--paper);
    }

    .site-navigation[data-open="true"] {
        display: flex;
    }

    .site-navigation > a {
        padding: 1rem 0;
        border-bottom: 1px solid var(--line);
        font-family: var(--serif);
        font-size: 1.4rem;
    }

    .site-navigation > a:not(.nav-action)::after {
        display: none;
    }

    .site-navigation .nav-action {
        min-height: 3.25rem;
        justify-content: center;
        padding: 0.8rem 1rem;
        margin-top: 1rem;
        border-bottom: 1px solid var(--navy-900);
        font-family: var(--sans);
        font-size: 0.9rem;
    }

    .site-navigation .nav-action-secondary {
        margin-left: 0;
    }

    .hero-grid,
    .split-layout,
    .contact-grid,
    .application-layout {
        grid-template-columns: 1fr;
    }

    .hero-copy {
        max-width: 42rem;
    }

    .hero-visual {
        width: min(100%, 44rem);
        margin-left: auto;
    }

    .sticky-heading,
    .contact-copy,
    .application-aside {
        position: static;
    }

    .section-heading-row,
    .process-intro,
    .participation-grid,
    .form-hero-grid {
        grid-template-columns: 1fr;
    }

    .section-heading-row,
    .process-intro {
        gap: 1.8rem;
    }

    .process-list li {
        grid-template-columns: 3.5rem 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .application-layout {
        gap: 3rem;
    }

    .privacy-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .privacy-summary {
        position: static;
    }

    .application-aside {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem 2.5rem;
    }

    .application-aside .eyebrow,
    .application-aside h2 {
        grid-column: 1 / -1;
    }

    .application-aside > p:not(.eyebrow) {
        align-self: start;
    }

    .aside-steps {
        margin-top: 0;
    }

    .privacy-note {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    :root {
        --shell: calc(100% - 2rem);
    }

    html {
        scroll-padding-top: 5.5rem;
    }

    .header-inner {
        min-height: 4.7rem;
    }

    .site-navigation {
        top: 4.68rem;
    }

    .brand-link .brand-symbol {
        width: 2.65rem;
    }

    .brand-type strong {
        font-size: 1.08rem;
    }

    .brand-type span {
        display: none;
    }

    .header-controls {
        gap: 0.45rem;
    }

    .theme-toggle {
        width: 2.6rem;
        height: 2.6rem;
    }

    .hero {
        padding-top: 3.5rem;
    }

    .hero h1 {
        font-size: clamp(2.8rem, 14vw, 4.2rem);
    }

    .button-row {
        align-items: stretch;
        flex-direction: column;
    }

    .button-row .button {
        width: 100%;
    }

    .hero-image-wrap,
    .hero-image-wrap picture,
    .hero-image-wrap img {
        height: 24rem;
        min-height: 24rem;
    }

    .hero-image-wrap {
        border-radius: 4rem 1.2rem 4rem 1.2rem;
    }

    .hero-image-wrap img {
        object-position: 69% center;
    }

    .hero-card {
        position: relative;
        bottom: auto;
        left: auto;
        width: calc(100% - 1.5rem);
        margin: -2rem auto 0;
    }

    .marquee-list {
        overflow: hidden;
        justify-content: flex-start;
        gap: 0.8rem;
        white-space: nowrap;
    }

    .marquee-list span:nth-of-type(n + 3),
    .marquee-list i:nth-of-type(n + 2) {
        display: none;
    }

    .values-grid,
    .program-grid,
    .form-grid,
    .form-grid-three,
    .choice-grid,
    .footer-grid,
    .application-aside {
        grid-template-columns: 1fr;
    }

    .values-grid {
        margin-top: 2rem;
    }

    .program-card {
        min-height: 19rem;
    }

    .process-list li {
        gap: 0.65rem;
        grid-template-columns: 2.9rem 1fr;
    }

    .process-list div {
        grid-template-columns: 1fr;
        gap: 0.35rem;
    }

    .participation-grid {
        gap: 3rem;
    }

    .participation-grid blockquote {
        padding-inline: 0;
    }

    .contact-form,
    .application-form {
        padding: 1.2rem;
        border-radius: 1.25rem;
    }

    .contact-map,
    .contact-map iframe {
        min-height: 13rem;
        height: 13rem;
    }

    .form-hero-note {
        padding-left: 1rem;
    }

    .application-aside .eyebrow,
    .application-aside h2,
    .privacy-note {
        grid-column: auto;
    }

    .field-meta {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.15rem;
    }

    .footer-grid {
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.4rem;
    }

    .error-card {
        padding: 2rem 1.2rem;
    }
}

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

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

@media (forced-colors: active) {
    .eyebrow > span,
    .hero-points li::before,
    .form-hero-note li::before,
    .marquee-list i {
        background: CanvasText;
    }

    .program-icon-seed::before,
    .program-icon-thread::before,
    .program-icon-rise::before,
    .program-icon-care::before {
        border-color: CanvasText;
    }
}
