.site-nav,
.site-nav * { box-sizing: border-box; }

html { overflow-x: clip; }
body { min-width: 0; overflow-x: hidden; overflow-wrap: anywhere; }
main, header, section, footer { min-width: 0; }
img, video, iframe { max-width: 100%; }
input, select, textarea, button { max-width: 100%; }

.site-footer,
.site-footer * { box-sizing: border-box; }

.site-footer {
    display: block;
    width: 100%;
    margin: 0;
    padding: clamp(3rem, 6vw, 5.5rem) clamp(1.1rem, 5vw, 4rem) 1.5rem;
    border-top: 1px solid rgba(181, 160, 100, 0.28);
    background: #0a0a0a;
    color: #f5f0e1;
    text-align: left;
}

.site-footer__inner {
    width: min(100%, 1320px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(260px, 1.75fr) repeat(3, minmax(150px, 1fr));
    gap: clamp(2rem, 5vw, 4.5rem);
}

.site-footer__brand-link {
    width: fit-content;
    display: flex;
    align-items: center;
    gap: 0.9rem;
    color: #f5f0e1 !important;
    font: 700 1.35rem 'Oswald', sans-serif;
    letter-spacing: 0.04em;
    text-decoration: none;
    text-transform: uppercase;
}

.site-footer__logo {
    width: 76px;
    height: 76px;
    object-fit: cover;
    border: 2px solid #b5a064;
    border-radius: 50%;
}

.site-footer__brand > p {
    max-width: 390px;
    margin: 1.25rem 0 0;
    color: rgba(245, 240, 225, 0.65);
    font-size: 0.92rem;
    line-height: 1.7;
}

.site-footer__social {
    margin-top: 1.35rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.site-footer__social > span {
    color: #d4c68a;
    font-size: 0.69rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.site-footer__social-links { display: flex; align-items: center; gap: 0.55rem; }

.site-footer__social-links a {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(181, 160, 100, 0.45);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    color: #f5f0e1 !important;
    text-decoration: none;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.site-footer__social-links a:hover,
.site-footer__social-links a:focus-visible {
    border-color: #d4c68a;
    background: #b5a064;
    color: #0a0a0a !important;
    transform: translateY(-2px);
}

.site-footer__social-links svg { width: 21px; height: 21px; fill: currentColor; }
.site-footer__social-links rect,
.site-footer__social-links circle { fill: none; stroke: currentColor; stroke-width: 1.8; }
.site-footer__social-links .social-dot { fill: currentColor; stroke: none; }

.site-footer__contact {
    max-width: 390px;
    margin-top: 1.4rem;
    padding: 1rem 1.1rem;
    display: grid;
    gap: 0.4rem;
    border: 1px solid rgba(181, 160, 100, 0.3);
    background: rgba(255, 255, 255, 0.04);
}

.site-footer__contact span,
.site-footer__column h2 {
    color: #d4c68a;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.site-footer__contact span { font-size: 0.69rem; }

.site-footer__contact a {
    width: fit-content;
    color: #f5f0e1 !important;
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.45;
    text-decoration: none;
}

.site-footer__contact a:hover,
.site-footer__contact a:focus-visible { color: #d4c68a !important; }

.site-footer__column h2 {
    margin: 0 0 1.25rem;
    font: 700 1rem 'Oswald', sans-serif;
    line-height: 1.2;
}

.site-footer__column ul {
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.75rem;
    list-style: none;
}

.site-footer__column li { margin: 0; }

.site-footer__column a {
    color: rgba(245, 240, 225, 0.67) !important;
    font-size: 0.88rem;
    line-height: 1.45;
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-footer__column a:hover,
.site-footer__column a:focus-visible { color: #f5f0e1 !important; }

.site-footer__bottom {
    width: min(100%, 1320px);
    margin: 3rem auto 0;
    padding-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    border-top: 1px solid rgba(181, 160, 100, 0.2);
}

.site-footer__bottom p {
    margin: 0;
    color: rgba(245, 240, 225, 0.48);
    font-size: 0.78rem;
}

.site-footer__bottom a {
    flex: 0 0 auto;
    color: #d4c68a !important;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-decoration: none;
    text-transform: uppercase;
}

@media (max-width: 960px) {
    .site-footer__inner { grid-template-columns: 1.5fr 1fr 1fr; }
    .site-footer__brand { grid-column: 1 / -1; }
    .site-footer__brand > p,
    .site-footer__contact { max-width: 580px; }
}

@media (max-width: 640px) {
    .site-footer { padding-bottom: 1.25rem; }
    .site-footer__inner { grid-template-columns: 1fr; gap: 2rem; }
    .site-footer__brand { grid-column: auto; }
    .site-footer__logo { width: 64px; height: 64px; }
    .site-footer__social { align-items: flex-start; flex-direction: column; gap: 0.65rem; }
    .site-footer__social-links a { width: 48px; height: 48px; }
    .site-footer__column {
        padding-top: 1.5rem;
        border-top: 1px solid rgba(181, 160, 100, 0.16);
    }
    .site-footer__column h2 { margin-bottom: 0.9rem; }
    .site-footer__bottom {
        margin-top: 2.25rem;
        align-items: flex-start;
        flex-direction: column;
    }
}

body h1, body h2, body h3, body h4 {
    max-width: 100%;
    line-height: 1.02;
    overflow-wrap: break-word;
    text-wrap: balance;
}

body p, body li, body a, body button, body label, body strong, body small {
    overflow-wrap: break-word;
}

.section-heading > *, .hero-inner > *, .event-hero-inner > *, .program-card > *, .info-card > * {
    min-width: 0;
}

@media (max-width: 640px) {
    body h1, body h2, body h3 { line-height: 1.06; }
    .eyebrow, .mission-label { letter-spacing: .14em; }
}

.skip-link {
    position: fixed;
    z-index: 10000;
    top: 0.5rem;
    left: 0.5rem;
    padding: 0.8rem 1rem;
    background: #ffffff;
    color: #000000;
    font-weight: 800;
    transform: translateY(-150%);
}

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

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

#main-content:focus { outline: none !important; }

.form-status:empty { display: none; }
.form-status {
    grid-column: 1 / -1;
    padding: 0.8rem 1rem;
    border-left: 4px solid #a5281b;
    background: #fff1ef;
    color: #67170f;
    font-weight: 700;
}

[aria-invalid="true"] {
    border-color: #a5281b !important;
    box-shadow: 0 0 0 2px rgba(165, 40, 27, 0.2);
}

.site-nav {
    position: fixed !important;
    z-index: 9000 !important;
    inset: 0 0 auto 0;
    min-height: 76px;
    padding: 0.6rem clamp(1rem, 4vw, 4rem) !important;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: rgba(10, 10, 10, 0.76) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    color: #f5f0e1;
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    transition: min-height 0.3s ease, padding 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.site-nav[data-scrolled="true"] {
    min-height: 64px;
    padding-top: 0.35rem !important;
    padding-bottom: 0.35rem !important;
    background: rgba(10, 10, 10, 0.9) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.22);
}

.site-nav__brand img { transition: width 0.3s ease, height 0.3s ease; }
.site-nav[data-scrolled="true"] .site-nav__brand img { width: 46px !important; height: 46px !important; }

.site-nav__brand {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: #f5f0e1;
    text-decoration: none;
    font-size: 0.98rem;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.1;
}

.site-nav__brand img {
    width: 54px !important;
    height: 54px !important;
    object-fit: cover;
    border: 2px solid #b5a064;
    border-radius: 50%;
}

.site-nav__links {
    display: flex;
    align-items: center;
    gap: clamp(0.8rem, 2vw, 2rem);
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-nav__links a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    color: #f5f0e1 !important;
    text-decoration: none;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.site-nav__links a[aria-current="page"] { color: #d4c68a !important; }

.site-nav__more { position: relative; }

.site-nav__more-toggle {
    min-height: 44px;
    padding: 0.65rem 0;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border: 0;
    background: transparent;
    color: #f5f0e1;
    cursor: pointer;
    font: 700 0.76rem 'DM Sans', sans-serif;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.site-nav__more-toggle[data-current="true"] { color: #d4c68a; }

.site-nav__more-toggle span {
    width: 7px;
    height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    transition: transform 0.25s ease;
}

.site-nav__more[data-open="true"] .site-nav__more-toggle span,
.site-nav__more:hover .site-nav__more-toggle span {
    transform: translateY(2px) rotate(225deg);
}

.site-nav__more-menu {
    position: absolute;
    z-index: 20;
    top: calc(100% + 0.45rem);
    right: 0;
    width: min(320px, 84vw);
    margin: 0;
    padding: 0.45rem;
    display: grid;
    gap: 0.15rem;
    list-style: none;
    border: 1px solid rgba(245,240,225,.18);
    border-top: 3px solid #b5a064;
    background: rgba(10,10,10,.96);
    box-shadow: 0 18px 45px rgba(0,0,0,.36);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transform-origin: top right;
    transition: opacity .22s ease, transform .22s ease, visibility .22s;
}

.site-nav__more[data-open="true"] .site-nav__more-menu,
.site-nav__more:hover .site-nav__more-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.site-nav__more-menu a {
    min-height: 0;
    padding: 0.75rem 0.8rem !important;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    border: 1px solid transparent;
    background: transparent;
    transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.site-nav__more-menu a:hover,
.site-nav__more-menu a:focus-visible {
    border-color: rgba(181,160,100,.55);
    background: rgba(181,160,100,.13);
    transform: translateX(2px);
}

.site-nav__more-menu strong { color: #f5f0e1; font-size: .8rem; }
.site-nav__more-menu small {
    margin-top: .18rem;
    color: rgba(245,240,225,.66);
    font-size: .68rem;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.3;
    text-transform: none;
}

.site-nav__tools { display: flex; align-items: center; gap: 0.45rem; }

.site-nav__tool,
.site-nav__toggle {
    min-width: 44px;
    min-height: 44px;
    border: 1px solid rgba(245, 240, 225, 0.42);
    background: rgba(10, 10, 10, 0.55);
    color: #f5f0e1;
    cursor: pointer;
    font: 700 0.76rem 'DM Sans', sans-serif;
}

.site-nav__tool[aria-pressed="true"] {
    border-color: #ffd84d;
    background: #ffd84d;
    color: #000;
}

.site-nav__tool {
    padding: 0.55rem 0.7rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.site-nav__tool-icon {
    font-size: 0.9rem;
    line-height: 1;
    letter-spacing: -0.08em;
}

.site-nav__tool-label { white-space: nowrap; }

.site-nav__contrast-icon {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    border: 2px solid currentColor;
    border-radius: 50%;
    background: linear-gradient(90deg, currentColor 50%, transparent 50%);
}

.site-nav__toggle {
    display: none;
    padding: 0.65rem 0.8rem;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.site-nav__cta {
    padding: 0.85rem 1rem;
    background: #b5a064;
    color: #0a0a0a !important;
    text-decoration: none;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.site-nav__cta::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 25%, rgba(255,255,255,.38) 48%, transparent 70%);
    transform: translateX(-130%);
    transition: transform 0.65s ease;
}

.site-nav__cta:hover::after { transform: translateX(130%); }

:focus-visible {
    outline: 3px solid #ffd84d !important;
    outline-offset: 4px !important;
}

html.large-text { font-size: 118%; }

html.high-contrast body { background: #000 !important; color: #fff !important; }
html.high-contrast body *:not(img):not(svg):not(path) {
    background-image: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
}
html.high-contrast body *::before,
html.high-contrast body *::after {
    background-color: transparent !important;
    background-image: none !important;
}
html.high-contrast .site-nav { background: #000 !important; border-color: #fff; }
html.high-contrast header { background: #000 !important; color: #fff !important; }
html.high-contrast main,
html.high-contrast section,
html.high-contrast article,
html.high-contrast footer { background-color: #000 !important; color: #fff !important; border-color: #fff !important; }
html.high-contrast main div,
html.high-contrast header div,
html.high-contrast footer div { background-color: #000 !important; border-color: #fff !important; }
html.high-contrast [class*="card"],
html.high-contrast [class*="panel"],
html.high-contrast [class*="strip"],
html.high-contrast [class*="item"],
html.high-contrast [class*="menu"],
html.high-contrast .form,
html.high-contrast .filters,
html.high-contrast details,
html.high-contrast summary { background: #000 !important; color: #fff !important; border-color: #fff !important; }
html.high-contrast body * { color: #fff !important; }
html.high-contrast a,
html.high-contrast a * { color: #ffd84d !important; text-decoration: underline !important; }
html.high-contrast .site-nav__cta,
html.high-contrast .site-nav__cta *,
html.high-contrast .mobile-book,
html.high-contrast .mobile-book * { background: #ffd84d !important; color: #000 !important; }
html.high-contrast button,
html.high-contrast input,
html.high-contrast select,
html.high-contrast textarea { background: #000 !important; color: #fff !important; border-color: #fff !important; }
html.high-contrast button[aria-pressed="true"],
html.high-contrast button[aria-pressed="true"] *,
html.high-contrast .site-nav__tool[aria-pressed="true"],
html.high-contrast .site-nav__tool[aria-pressed="true"] * { background-color: #ffd84d !important; color: #000 !important; border-color: #000 !important; }
html.high-contrast input::placeholder,
html.high-contrast textarea::placeholder { color: #fff !important; opacity: 1; }
html.high-contrast svg,
html.high-contrast path { color: currentColor !important; stroke: currentColor !important; }
html.high-contrast .site-nav__contrast-icon {
    background: linear-gradient(90deg, currentColor 50%, transparent 50%) !important;
}
html.high-contrast img { border-color: #fff !important; }
html.high-contrast :focus-visible { outline-color: #00ffff !important; }

@media (max-width: 1180px) {
    .site-nav { min-height: 70px; }
    .site-nav__brand span { display: none; }
    .site-nav__brand img { width: 50px !important; height: 50px !important; }
    .site-nav__tool-label { display: none; }
    .site-nav__tool { justify-content: center; padding: 0.5rem; }
    .site-nav__toggle { display: block !important; }
    .site-nav__cta { display: none; }
    .site-nav__links {
        position: absolute;
        top: calc(100% + 1px);
        left: 0;
        right: 0;
        display: none !important;
        align-items: stretch;
        gap: 0;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        background: rgba(10, 10, 10, 0.98);
        border-bottom: 2px solid #b5a064;
    }
    .site-nav[data-open="true"] .site-nav__links { display: block !important; }
    .site-nav__links li { border-bottom: 1px solid rgba(245, 240, 225, 0.12); }
    .site-nav__links a { display: block; padding: 1rem 1.25rem; font-size: 0.86rem; }
    .site-nav__links a:active { background: rgba(181,160,100,.2); }
    .site-nav__more { border-bottom: 0 !important; }
    .site-nav__more-toggle { display: none; }
    .site-nav__more-menu {
        position: static;
        width: auto;
        padding: 0;
        display: block;
        border: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
    }
    .site-nav__more-menu li { border-bottom: 1px solid rgba(245, 240, 225, 0.12); }
    .site-nav__more-menu a {
        min-height: 0;
        padding: 1rem 1.25rem !important;
        display: block !important;
        border: 0;
        background: transparent;
        transform: none !important;
    }
    .site-nav__more-menu small { display: none; }
}

@media (max-width: 640px) {
    .site-nav {
        min-height: 64px;
        padding: 0.4rem 0.75rem !important;
        gap: 0.5rem;
    }
    .site-nav__brand img,
    .site-nav[data-scrolled="true"] .site-nav__brand img {
        width: 44px !important;
        height: 44px !important;
    }
    .site-nav__tools { gap: 0.3rem; }
    .site-nav__tool,
    .site-nav__toggle {
        min-width: 42px;
        min-height: 42px;
    }
    .site-nav__toggle {
        padding: 0.55rem 0.65rem;
        font-size: 0.72rem;
    }
    .site-nav__links {
        max-height: calc(100dvh - 64px);
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
