/* Fonts
   Body: Avenir Next (avenir/font.woff2, regular). Bold weight from fonts/.
   Headings: Noto Serif Bold (Google Fonts), falling back to the local
   Noto Serif Medium in fonts/nsm.woff2. */

/* Licence notice for avenir/font.woff2 (from MyFonts; keep with the font). */
/**
 * @license
 * MyFonts Webfont Build ID 4374997, 2022-02-18T01:44:13-0500
 * 
 * The fonts listed in this notice are subject to the End User License
 * Agreement(s) entered into by the website owner. All other parties are 
 * explicitly restricted from using the Licensed Webfonts(s).
 * 
 * You may obtain a valid license at the URLs below.
 * 
 * Webfont: AvenirNextLTPro-Regular by Linotype
 * URL: https://www.myfonts.com/fonts/linotype/avenir-next-pro/pro-regular/
 * Copyright: Copyright &amp;#x00A9; 2004 - 2017 Monotype GmbH. All rights reserved.
 * 
 * 
 * 
 * © 2022 MyFonts Inc
*/

@font-face {
    font-family: 'Avenir Next';
    src: url('avenir/font.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Avenir Next';
    src: url('fonts/avenirnextforasuna-bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Noto Serif Local';
    src: url('fonts/nsm.woff2') format('woff2');
    font-weight: 500 700;
    font-style: normal;
    font-display: swap;
}

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

:root {
    --black: #000000;
    --white: #ffffff;
    --red: #df1621;
    --text-muted: rgba(255, 255, 255, 0.72);
    --rule: rgba(255, 255, 255, 0.22);
    --max-width: 1240px;
    --gutter: 40px;
    --radius: 6px;

    --font-body: 'Avenir Next', 'AvenirNextLTPro-Regular', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    --font-heading: 'Noto Serif', 'Noto Serif Local', Georgia, 'Times New Roman', serif;

    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.55;
    color: var(--white);
    background: var(--black);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
}

a {
    color: inherit;
    text-decoration: none;
}

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

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

button {
    font: inherit;
    color: inherit;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
}

:focus-visible {
    outline: 2px solid var(--red);
    outline-offset: 4px;
}

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

/* Animated underline, shared by nav links and dropdown links.
   A red line grows from the left on hover / focus / open. */

.nav-link,
.dropdown-links a,
.dropdown-heading a,
.dropdown-more,
.text-link,
.footer-col a,
.footer-legal a {
    background-image: linear-gradient(var(--red), var(--red));
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: 0% 2px;
    transition: background-size 0.35s var(--ease), color 0.2s;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link[aria-current="page"],
.nav-item.is-open > .nav-link,
.dropdown-links a:hover,
.dropdown-links a:focus-visible,
.dropdown-heading a:hover,
.dropdown-heading a:focus-visible,
.dropdown-more:hover,
.dropdown-more:focus-visible,
.text-link:hover,
.text-link:focus-visible,
.footer-col a:hover,
.footer-col a:focus-visible,
.footer-legal a:hover,
.footer-legal a:focus-visible {
    background-size: 100% 2px;
}

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--black);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 20px var(--gutter);
}

.brand {
    display: block;
    flex-shrink: 0;
}

/* The wordmark is 584.51 x 203.82; 72px tall gives ~206px wide. */
.wordmark {
    display: block;
    width: 206px;
    height: 72px;
    fill: var(--white);
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 44px;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    font-size: 18px;
    color: var(--white);
}

.chevron {
    width: 11px;
    height: 8px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    opacity: 0.7;
    transition: transform 0.3s var(--ease);
}

.nav-item.is-open .chevron {
    transform: rotate(180deg);
}

.menu-toggle {
    display: none;
}

/* Dropdown panels (desktop) */

.dropdown {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--black);
    border-bottom: 1px solid var(--rule);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s var(--ease), transform 0.3s var(--ease), visibility 0s linear 0.3s;
}

.nav-item.is-open .dropdown {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 0.25s var(--ease), transform 0.3s var(--ease), visibility 0s;
}

.dropdown-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 44px var(--gutter) 56px;
}

.dropdown-eyebrow,
.eyebrow {
    margin: 0 0 24px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--red);
}

.dropdown-grid {
    display: grid;
    gap: 64px;
}

.dropdown-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 0;
}

.dropdown-grid.cols-4 {
    grid-template-columns: repeat(4, 1fr);
    column-gap: 40px;
    row-gap: 0;
}

/* Share rows across columns so the heading rules line up even when one
   heading wraps onto two lines. */
.dropdown-col {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 3;
    align-content: start;
}

.dropdown-col > .dropdown-heading {
    align-self: end;
}

.dropdown-col > :not(.dropdown-heading) {
    align-self: start;
    justify-self: start;
}

/* Column heading with a rule underneath. The grey rule is static; a red
   rule draws over it from left to right each time the panel opens. */
.dropdown-heading {
    position: relative;
    margin: 0 0 22px;
    padding-bottom: 16px;
    font-size: 24px;
    line-height: 1.25;
    border-bottom: 1px solid var(--rule);
}

.dropdown-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 2px;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s var(--ease);
}

.nav-item.is-open .dropdown-heading::after {
    transform: scaleX(1);
    transition: transform 0.7s var(--ease) 0.1s;
}

.nav-item.is-open .dropdown-col:nth-child(2) .dropdown-heading::after { transition-delay: 0.2s; }
.nav-item.is-open .dropdown-col:nth-child(3) .dropdown-heading::after { transition-delay: 0.3s; }

/* The heading link has its own underline, so hide it here to avoid doubling up. */
.dropdown-heading a {
    background-image: none;
}

.dropdown-heading a:hover {
    color: var(--red);
}

.dropdown-links {
    display: grid;
    gap: 18px;
}

.dropdown-links a {
    font-size: 17px;
    color: var(--text-muted);
    padding-bottom: 2px;
}

.dropdown-links a:hover,
.dropdown-links a:focus-visible {
    color: var(--white);
}

.dropdown-desc {
    margin: 0 0 18px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-muted);
}

.dropdown-more {
    display: inline-block;
    font-size: 15px;
    font-weight: 700;
    padding-bottom: 2px;
}

.dropdown-footer {
    margin-top: 48px;
    padding-top: 28px;
    border-top: 1px solid var(--rule);
    text-align: center;
}

.all-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--red);
}

.all-link .arrow {
    transition: transform 0.3s var(--ease);
}

.all-link:hover .arrow,
.all-link:focus-visible .arrow {
    transform: translateX(6px);
}

/* Hero */

.hero {
    max-width: 900px;
    margin: 0 auto;
    padding: 88px var(--gutter) 88px;
    text-align: center;
}

.hero-title {
    margin: 0 0 28px;
    font-size: clamp(36px, 5.5vw, 64px);
    line-height: 1.12;
    letter-spacing: -0.01em;
}

.hero-mission {
    max-width: 620px;
    margin: 0 auto 40px;
    font-size: 19px;
    line-height: 1.65;
    color: var(--text-muted);
}

.btn-primary {
    display: inline-block;
    padding: 14px 26px;
    font-size: 15px;
    font-weight: 700;
    color: var(--white);
    background: var(--red);
    border-radius: var(--radius);
    transition: background 0.2s;
}

.btn-primary:hover {
    background: #b9111a;
}

/* Section headings */

.section-title {
    position: relative;
    margin: 0 0 28px;
    padding-bottom: 20px;
    font-size: clamp(28px, 3.6vw, 42px);
    line-height: 1.2;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 64px;
    height: 2px;
    background: var(--red);
}

.section-title.center {
    text-align: center;
}

.section-title.center::after {
    left: 50%;
    transform: translateX(-50%);
}

/* Intro */

.intro {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 72px;
    align-items: center;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--gutter) 96px;
}

.intro-text p {
    margin: 0;
    font-size: 18px;
    line-height: 1.75;
    color: var(--text-muted);
}

.intro-image img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius);
}

/* Programs */

.programs-section {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--gutter) 96px;
    text-align: center;
}

.programs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
    text-align: left;
}

.program-card {
    position: relative;
    /* Subgrid keeps titles, copy and links aligned across cards even when a title wraps. */
    display: grid;
    grid-row: span 4;
    grid-template-rows: subgrid;
    row-gap: 0;
    justify-items: start;
    padding: 36px 32px 32px;
    border: 1px solid var(--rule);
    border-radius: var(--radius);
    scroll-margin-top: 140px;
    transition: border-color 0.3s;
}

.program-card::before {
    content: '';
    position: absolute;
    left: -1px;
    right: -1px;
    top: -1px;
    height: 3px;
    background: var(--red);
    border-radius: var(--radius) var(--radius) 0 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--ease);
}

.program-card:hover {
    border-color: rgba(255, 255, 255, 0.4);
}

.program-card:hover::before,
.program-card:focus-within::before {
    transform: scaleX(1);
}

.program-num {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--red);
}

.program-card h3 {
    margin: 16px 0 14px;
    font-size: 24px;
    line-height: 1.25;
}

.program-card p {
    flex: 1;
    margin: 0 0 28px;
    font-size: 16px;
    line-height: 1.65;
    color: var(--text-muted);
}

.text-link {
    align-self: flex-start;
    font-size: 15px;
    font-weight: 700;
    padding-bottom: 2px;
}

/* Fund */

.fund {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 var(--gutter) 104px;
    text-align: center;
    scroll-margin-top: 140px;
}

.fund-description {
    margin: 0;
    font-size: 18px;
    line-height: 1.75;
    color: var(--text-muted);
}

/* Footer */

.site-footer {
    border-top: 1px solid var(--rule);
}

.footer-inner {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 64px;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 72px var(--gutter) 56px;
}

.footer-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

.footer-heading {
    margin: 0 0 22px;
    padding-bottom: 14px;
    font-size: 20px;
    border-bottom: 1px solid var(--rule);
}

.footer-col ul {
    display: grid;
    gap: 14px;
}

.footer-col a {
    font-size: 16px;
    color: var(--text-muted);
    padding-bottom: 2px;
}

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

.social {
    display: flex;
    gap: 14px;
    margin-top: 26px;
}

.social a {
    background: none;
    transition: transform 0.2s var(--ease);
}

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

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 32px;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 24px var(--gutter) 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    color: var(--text-muted);
}

.footer-bottom p {
    margin: 0;
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 28px;
}

.footer-legal a {
    padding-bottom: 2px;
}

/* ==========================================================================
   Program page template (programs/*.html)
   ========================================================================== */

.program-hero {
    position: relative;
    height: clamp(260px, 42vw, 560px);
    overflow: hidden;
    background: #111;
}

.program-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Subtle fade so the image settles into the black page below. */
.program-hero::after {
    content: '';
    position: absolute;
    inset: auto 0 0 0;
    height: 30%;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.55));
    pointer-events: none;
}

.program-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    column-gap: 96px;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 28px var(--gutter) 96px;
}

.breadcrumb {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 64px;
    font-size: 15px;
    color: var(--text-muted);
}

.breadcrumb a {
    background-image: linear-gradient(var(--red), var(--red));
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: 0% 1px;
    transition: background-size 0.35s var(--ease), color 0.2s;
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
    color: var(--white);
    background-size: 100% 1px;
}

.breadcrumb [aria-current] {
    color: var(--white);
}

/* "On this page" sidebar */

.toc {
    align-self: start;
    position: sticky;
    top: 144px;
}

.toc-title {
    display: inline-block;
    margin: 0 0 22px;
    padding-bottom: 4px;
    font-size: 20px;
    color: var(--red);
    border-bottom: 2px solid var(--red);
}

.toc-list {
    display: grid;
    gap: 16px;
}

.toc-list a {
    position: relative;
    display: inline;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-muted);
    background-image: linear-gradient(var(--red), var(--red));
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: 0% 1.5px;
    transition: background-size 0.4s var(--ease), color 0.2s;
}

.toc-list a:hover,
.toc-list a:focus-visible {
    color: var(--white);
    background-size: 100% 1.5px;
}

.toc-list a.is-active {
    color: var(--red);
    background-size: 100% 1.5px;
}

/* Small italic note at the bottom of a page (e.g. Our Approach). */
.program-content .entity-note {
    margin: 32px 0 0;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 760px;
    font-size: 14px;
    font-style: italic;
    line-height: 1.7;
    color: var(--text-muted);
}

/* Main column */

.program-content > section {
    scroll-margin-top: 140px;
    padding-bottom: 60px;
}

.program-title {
    margin: 0 0 32px;
    font-size: clamp(36px, 5vw, 60px);
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.program-lede {
    margin: 0;
    font-size: clamp(19px, 2vw, 23px);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.88);
}

.program-content h2 {
    margin: 0 0 24px;
    font-size: clamp(28px, 3.2vw, 38px);
    line-height: 1.2;
}

.program-content p {
    margin: 0 0 20px;
    font-size: 18px;
    line-height: 1.65;
    color: var(--text-muted);
}

.program-content .text-link {
    display: inline-block;
    margin-top: 12px;
    font-size: 18px;
    font-weight: 400;
    color: var(--white);
    background-size: 100% 1.5px;
    background-image: linear-gradient(rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.35)),
                      linear-gradient(var(--red), var(--red));
    background-size: 100% 1.5px, 0% 1.5px;
    background-position: 0 100%, 0 100%;
}

.program-content .text-link:hover,
.program-content .text-link:focus-visible {
    background-size: 100% 1.5px, 100% 1.5px;
}

.see-all {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0 12px;
    margin-top: 24px;
    padding-top: 40px;
    font-size: clamp(24px, 3vw, 36px);
    line-height: 1.3;
    color: var(--white);
}

.see-all strong {
    font-family: var(--font-heading);
    color: var(--red);
}

.see-all .arrow {
    display: inline-block;
    transition: transform 0.3s var(--ease);
}

.see-all:hover .arrow,
.see-all:focus-visible .arrow {
    transform: translateX(8px);
}

/* ==========================================================================
   Profile page (about/founder.html): portrait + name, then the biography
   ========================================================================== */

.profile-page {
    max-width: 1000px;
    margin: 0 auto;
    padding: 72px var(--gutter) 104px;
}

.profile-header {
    display: grid;
    grid-template-columns: 340px minmax(0, 1fr);
    gap: 48px;
    align-items: center;
    margin-bottom: 64px;
}

.profile-photo {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: var(--radius);
}

.profile-name {
    position: relative;
    margin: 0 0 24px;
    padding-bottom: 24px;
    font-size: clamp(40px, 5.5vw, 64px);
    line-height: 1.1;
    letter-spacing: -0.01em;
}

/* Red rule that draws in under the name when the page loads. */
.profile-name::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 64px;
    height: 2px;
    background: var(--red);
    transform-origin: left;
    animation: rule-in 0.9s var(--ease) 0.2s both;
}

@keyframes rule-in {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

.profile-role {
    margin: 0;
    font-size: 19px;
    line-height: 1.6;
    color: var(--text-muted);
}

.profile-body p {
    margin: 0 0 28px;
    font-size: 19px;
    line-height: 1.9;
    color: var(--text-muted);
}

.profile-body .profile-lede {
    font-size: clamp(20px, 2.2vw, 23px);
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

/* ==========================================================================
   About page (about/index.html): short banner, alternating bands,
   founder feature
   ========================================================================== */

/* Footer column heading that is also a link keeps the heading look. */
.footer-heading a {
    font-size: inherit;
    color: inherit;
}

.program-hero.is-short {
    height: clamp(150px, 15vw, 240px);
}

.has-bands {
    padding-top: 0;
    padding-bottom: 0;
}

.has-bands .toc {
    z-index: 1;
    margin-top: 64px;
}

.has-bands .program-content > section {
    padding: 64px 0;
}

/* Full-width background behind a section, without breaking the grid. */
.band-alt {
    background: var(--band);
    box-shadow: 0 0 0 100vmax var(--band);
    clip-path: inset(0 -100vmax);
}

:root {
    --band: #101010;
}

.feature {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px;
    align-items: center;
}

.feature-photo {
    display: block;
    width: 100%;
    aspect-ratio: 5 / 6;
    object-fit: cover;
    border-radius: var(--radius);
}

.program-content .feature-name {
    margin: 0 0 24px;
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.2;
}

.feature-quote {
    margin: 0 0 28px;
    font-size: 20px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.88);
}

.feature-social {
    margin: 0 0 28px;
}

/* 404 page */

.not-found {
    padding-top: 160px;
    padding-bottom: 180px;
}

.not-found-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 20px 32px;
}

.not-found-actions .text-link {
    align-self: center;
}

/* ==========================================================================
   Contact page (contact/index.html)
   ========================================================================== */

.contact-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 72px var(--gutter) 96px;
}

.contact-intro {
    max-width: 880px;
    margin-bottom: 56px;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 64px;
    align-items: start;
}

.contact-info p,
.contact-address {
    margin: 0 0 32px;
    font-size: 19px;
    line-height: 1.8;
    color: var(--text-muted);
}

.contact-address {
    font-style: normal;
    color: var(--white);
}

.contact-form .field {
    margin-bottom: 26px;
}

.contact-form label {
    display: block;
    margin-bottom: 10px;
    font-size: 16px;
    color: var(--white);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    display: block;
    width: 100%;
    padding: 14px 16px;
    font: inherit;
    font-size: 17px;
    color: var(--white);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: var(--radius);
    transition: border-color 0.2s;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.contact-form input:hover,
.contact-form select:hover,
.contact-form textarea:hover {
    border-color: rgba(255, 255, 255, 0.6);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--red);
    box-shadow: 0 0 0 1px var(--red);
}

.contact-form textarea {
    min-height: 200px;
    resize: vertical;
}

.select-wrap {
    position: relative;
}

.contact-form select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 48px;
    cursor: pointer;
}

/* Dark list in browsers that style the open dropdown. */
.contact-form option {
    color: var(--white);
    background: #111;
}

.select-wrap .chevron {
    position: absolute;
    right: 18px;
    top: 50%;
    margin-top: -4px;
    pointer-events: none;
}

.form-note {
    margin: 0 0 28px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-muted);
}

.form-note .text-link,
.contact-info .text-link {
    font-size: inherit;
    font-weight: 400;
    color: var(--white);
}

.form-submit {
    border: 0;
    cursor: pointer;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ==========================================================================
   Search button and panel (built in js/site.js)
   ========================================================================== */

.search-icon {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
}

/* Desktop shows just the icon; the word "Search" appears in the phone menu. */
.search-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* Drops down full-width under the header, like the menus. */
.search-panel {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 55;
    background: var(--black);
    border-bottom: 1px solid var(--rule);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

.search-panel[hidden] {
    display: none;
}

.search-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 56px var(--gutter) 64px;
}

/* Search box: plain text on black with a magnifier button on the right. */
.search-form {
    display: flex;
    align-items: center;
    gap: 16px;
}

.search-input {
    flex: 1;
    min-width: 0;
    padding: 6px 0;
    font-family: var(--font-body);
    font-size: clamp(22px, 2.6vw, 30px);
    color: var(--white);
    background: transparent;
    border: 0;
    border-radius: 0;
    caret-color: var(--white);
}

.search-input::placeholder {
    font-style: italic;
    color: rgba(255, 255, 255, 0.4);
}

.search-input:focus {
    outline: none;
}

.search-submit {
    display: flex;
    padding: 6px;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.2s;
}

.search-submit:hover,
.search-submit:focus-visible {
    color: var(--red);
}

.search-submit .search-icon {
    width: 24px;
    height: 24px;
    stroke-width: 1.6;
}

/* Quick links, shown while the box is empty. */
.search-quick {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.search-quick[hidden] {
    display: none;
}

.search-quick-label {
    margin: 0;
    font-size: 19px;
    font-weight: 700;
}

.search-quick-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(3, auto);
    grid-auto-flow: column;
    gap: 26px 48px;
}

.search-quick-links a {
    font-size: 19px;
    padding-bottom: 3px;
    background-image: linear-gradient(var(--red), var(--red));
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: 100% 1.5px;
    transition: color 0.2s;
}

.search-quick-links a:hover,
.search-quick-links a:focus-visible {
    color: var(--red);
}

/* Hide the browser's own clear button (it can't be colored to match). */
.search-input::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
}

.search-status {
    min-height: 1em;
    margin: 28px 0 8px;
    font-size: 14px;
    color: var(--text-muted);
}

.search-status .text-link {
    font-weight: 400;
    color: var(--white);
}

.search-results {
    max-height: min(60vh, 560px);
    overflow-y: auto;
}

.search-result {
    display: block;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.search-result-section {
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--red);
}

.search-result-title {
    display: block;
    margin-bottom: 6px;
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--white);
}

.search-result:hover .search-result-title,
.search-result:focus-visible .search-result-title {
    text-decoration: underline;
    text-decoration-color: var(--red);
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.search-result-snippet {
    display: block;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-muted);
}

.search-results mark {
    color: var(--white);
    background: none;
    box-shadow: inset 0 -2px 0 var(--red);
}

/* ==========================================================================
   Translate button and panel (built in js/site.js)
   ========================================================================== */

.translate-item {
    position: relative;
}

.translate-icon {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

/* Small language code shown on the icon once a language is chosen (e.g. "ES"). */
.translate-badge {
    margin-left: -4px;
    padding: 2px 5px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.04em;
    color: var(--white);
    background: var(--red);
    border-radius: 3px;
}

.translate-badge[hidden] {
    display: none;
}

/* Desktop shows just the icon; the word "Translate" appears in the phone menu. */
.translate-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.translate-panel {
    position: absolute;
    right: 0;
    top: calc(100% + 22px);
    z-index: 60;
    width: 300px;
    padding: 22px 22px 18px;
    background: #0d0d0d;
    border: 1px solid var(--rule);
    border-top: 2px solid var(--red);
    border-radius: var(--radius);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.6);
}

.translate-panel[hidden] {
    display: none;
}

.translate-title {
    margin: 0 0 14px;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
}

.translate-status {
    display: block;
    padding: 12px 0;
    font-size: 15px;
    color: var(--text-muted);
}

/* Google's language picker, restyled to match the site */
.translate-widget .goog-te-gadget {
    font-family: var(--font-body) !important;
    font-size: 12px !important;
    color: rgba(255, 255, 255, 0.5) !important;
}

.translate-widget .goog-te-gadget a {
    color: rgba(255, 255, 255, 0.5) !important;
}

.translate-widget .goog-te-combo {
    display: block;
    width: 100%;
    margin: 0 0 10px !important;
    padding: 12px 14px;
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--white);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: var(--radius);
    cursor: pointer;
}

.translate-widget .goog-te-combo:focus {
    outline: none;
    border-color: var(--red);
    box-shadow: 0 0 0 1px var(--red);
}

.translate-widget .goog-te-combo option {
    color: var(--white);
    background: #111;
}

.translate-reset {
    margin-top: 14px;
    padding: 0 0 2px;
    font-size: 15px;
    color: var(--white);
    background-image: linear-gradient(var(--red), var(--red));
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: 100% 1.5px;
    cursor: pointer;
}

/* Hide the bar Google adds across the top of the page, the "original text"
   pop-ups, and the highlight on hover. The language picker above stays. */
.goog-te-banner-frame,
iframe.skiptranslate,
body > .skiptranslate,
#goog-gt-tt,
.goog-te-balloon-frame,
.VIpgJd-ZVi9od-ORHb-OEVmcd,
.VIpgJd-yAWNEb-L7lbkb {
    display: none !important;
}

body {
    top: 0 !important;
}

.goog-text-highlight {
    background: none !important;
    box-shadow: none !important;
}

/* Tablet and mobile: hamburger menu, dropdowns become accordions */

@media (max-width: 960px) {
    :root {
        --gutter: 24px;
    }

    .header-inner {
        padding-top: 14px;
        padding-bottom: 14px;
    }

    /* Keep the logo at the requested minimum size (192 x 67). */
    .wordmark {
        width: 192px;
        height: 67px;
    }

    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
    }

    .menu-toggle-bars,
    .menu-toggle-bars::before,
    .menu-toggle-bars::after {
        display: block;
        width: 24px;
        height: 2px;
        background: var(--white);
        transition: transform 0.3s var(--ease), background 0.2s;
    }

    .menu-toggle-bars {
        position: relative;
    }

    .menu-toggle-bars::before,
    .menu-toggle-bars::after {
        content: '';
        position: absolute;
        left: 0;
    }

    .menu-toggle-bars::before { top: -7px; }
    .menu-toggle-bars::after { top: 7px; }

    .nav-open .menu-toggle-bars { background: transparent; }
    .nav-open .menu-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
    .nav-open .menu-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

    .site-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        max-height: calc(100vh - 96px);
        overflow-y: auto;
        background: var(--black);
        border-bottom: 1px solid var(--rule);
        display: none;
    }

    .nav-open .site-nav {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px var(--gutter) 24px;
    }

    .nav-item {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-link {
        width: 100%;
        justify-content: space-between;
        padding: 18px 0;
        font-size: 20px;
        background-image: none;
    }

    .nav-item.is-open > .nav-link {
        color: var(--red);
    }

    .dropdown {
        position: static;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        border: 0;
        box-shadow: none;
        transition: none;
    }

    .nav-item.is-open .dropdown {
        display: block;
    }

    .dropdown-inner {
        padding: 4px 0 28px;
    }

    .dropdown-grid,
    .dropdown-grid.cols-3,
    .dropdown-grid.cols-4 {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .dropdown-col {
        display: block;
    }

    .dropdown-heading {
        font-size: 20px;
        margin-bottom: 16px;
        padding-bottom: 12px;
    }

    .dropdown-links {
        gap: 14px;
    }

    .dropdown-footer {
        margin-top: 32px;
        padding-top: 20px;
        text-align: left;
    }

    .all-link {
        font-size: 20px;
    }

    .hero {
        padding-top: 64px;
        padding-bottom: 64px;
    }

    .intro {
        grid-template-columns: 1fr;
        gap: 40px;
        padding-bottom: 72px;
    }

    .intro-image {
        order: -1;
    }

    .programs {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 48px;
    }

    .programs-section {
        padding-bottom: 72px;
    }

    .fund {
        padding-bottom: 80px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 48px;
        padding-top: 56px;
    }

    .program-layout {
        grid-template-columns: 1fr;
        padding-bottom: 72px;
    }

    .breadcrumb {
        margin-bottom: 40px;
    }

    .profile-page {
        padding-top: 56px;
        padding-bottom: 80px;
    }

    .profile-header {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-bottom: 56px;
    }

    .profile-photo {
        max-width: 320px;
    }

    .has-bands .toc {
        margin-top: 40px;
        margin-bottom: 0;
    }

    .has-bands .program-content > section {
        padding: 64px 0;
    }

    .feature {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .feature-photo {
        max-width: 360px;
    }

    .contact-inner {
        padding-top: 56px;
        padding-bottom: 72px;
    }

    .contact-intro {
        margin-bottom: 48px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* In the phone menu the search button is a full row, and results show inline. */
    .search-toggle {
        justify-content: flex-start;
        gap: 12px;
    }

    .search-label {
        position: static;
        width: auto;
        height: auto;
        overflow: visible;
        clip: auto;
    }

    .search-panel {
        position: static;
        border: 0;
        box-shadow: none;
    }

    .search-inner {
        padding: 4px 0 24px;
    }

    .search-input {
        font-size: 21px;
    }

    .search-quick {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 28px;
    }

    .search-quick-links {
        grid-template-columns: 1fr;
        grid-template-rows: none;
        grid-auto-flow: row;
        gap: 18px;
    }

    .search-results {
        max-height: none;
    }

    /* In the phone menu the translate button is a full row with a label. */
    .translate-toggle {
        justify-content: flex-start;
        gap: 12px;
    }

    .translate-label {
        position: static;
        width: auto;
        height: auto;
        overflow: visible;
        clip: auto;
    }

    .translate-panel {
        position: static;
        width: auto;
        margin: 0 0 20px;
        box-shadow: none;
    }

    /* On small screens the sidebar becomes a plain list above the content. */
    .toc {
        position: static;
        margin-bottom: 40px;
        padding: 24px;
        border: 1px solid var(--rule);
        border-radius: var(--radius);
    }

    .program-content > section {
        padding-bottom: 48px;
    }
}

@media (max-width: 640px) {
    .footer-cols {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        transition-delay: 0s !important;
        scroll-behavior: auto !important;
    }
}

/* ---------- Legal pages (Terms of Use, Privacy Policy) ----------
   Same layout as the program pages, without the photo. */

.legal-page .program-layout {
    padding-top: 72px;
}

/* Sixteen sections can outgrow the screen, so the sidebar scrolls. */
.legal-page .toc {
    max-height: calc(100vh - 176px);
    overflow-y: auto;
}

.legal-page .toc-list {
    gap: 12px;
}

.legal-header {
    padding-bottom: 40px;
}

.legal-header .program-title {
    margin-bottom: 16px;
}

.program-content .legal-effective {
    margin-bottom: 32px;
    font-size: 15px;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.6);
}

.legal-page .program-content > section {
    padding-bottom: 40px;
}

.legal-page .program-content h2 {
    margin-bottom: 20px;
    font-size: clamp(22px, 2.2vw, 28px);
}

.legal-num {
    display: block;
    margin-bottom: 8px;
    font-family: inherit;
    font-size: 13px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--red);
}

.legal-page .program-content p,
.legal-list {
    font-size: 17px;
}

/* All-caps legal paragraphs read better a little smaller. */
.program-content .legal-caps {
    font-size: 15px;
    letter-spacing: 0.01em;
}

.legal-mark {
    font-weight: 700;
    color: var(--white);
}

.legal-page .program-content strong {
    color: var(--white);
}

.legal-list {
    margin: 0 0 20px;
    padding-left: 22px;
    line-height: 1.65;
    color: var(--text-muted);
}

.legal-list li {
    margin-bottom: 8px;
}

.legal-page .program-content a {
    color: var(--white);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    overflow-wrap: anywhere;
}

.legal-page .program-content a:hover {
    color: var(--red);
}

@media (max-width: 960px) {
    .legal-page .program-layout {
        padding-top: 40px;
    }

    .legal-page .toc {
        max-height: none;
        overflow: visible;
    }
}
