:root {
    --ro-blue: #002b7f;
    --ro-yellow: #fcd116;
    --ro-red: #ce1126;
    --ink: #08111f;
    --muted: #5a6575;
    --paper: #f8fafc;
    --glass-bg: linear-gradient(180deg, rgba(220, 231, 251, 0.58), rgba(160, 181, 221, 0.38));
    --glass-bg-strong: linear-gradient(180deg, rgba(230, 238, 255, 0.7), rgba(173, 192, 229, 0.48));
    --glass-shell-bg: linear-gradient(180deg, rgba(10, 30, 74, 0.24), rgba(8, 24, 61, 0.16));
    --glass-border: rgba(211, 224, 249, 0.5);
    --shadow: 0 18px 70px rgba(2, 12, 27, 0.18);
    --glass-blur: 18px;
    --edge-gutter: clamp(0.25rem, 0.75vw, 0.65rem);
}

* {
    box-sizing: border-box;
}

html {
    background: #eef4fb;
}

body {
    position: relative;
    isolation: isolate;
    min-height: 100vh;
    margin: 0;
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: transparent;
}

body::before {
    position: fixed;
    inset: 0;
    z-index: -1;
    content: "";
    background: url("../img/banner2.webp") center / cover no-repeat;
    pointer-events: none;
    transform: translateZ(0);
}

main {
    overflow: hidden;
}

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

a {
    color: inherit;
}

.site-header {
    position: fixed;
    inset: 1rem 0 auto;
    z-index: 50;
    pointer-events: none;
    background: transparent;
}

.site-header nav {
    position: relative;
    width: 100%;
    max-width: none;
    padding-left: var(--edge-gutter);
    padding-right: var(--edge-gutter);
    pointer-events: none;
}

.menu-lockup {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0.68rem;
    border: 1px solid var(--glass-border);
    border-radius: 1.15rem;
    background: var(--glass-bg-strong);
    box-shadow: 0 10px 34px rgba(15, 23, 42, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.34);
    backdrop-filter: blur(calc(var(--glass-blur) + 4px)) saturate(1.22);
    -webkit-backdrop-filter: blur(calc(var(--glass-blur) + 4px)) saturate(1.22);
    pointer-events: auto;
}

.home-link {
    text-decoration: none;
}

.home-link:focus-visible {
    border-radius: 0.45rem;
    outline: 2px solid rgba(0, 43, 127, 0.34);
    outline-offset: 0.2rem;
}

.primary-menu {
    display: flex;
    position: absolute;
    top: calc(100% + 0.55rem);
    right: auto;
    left: var(--edge-gutter);
    width: min(18rem, calc(100vw - 2rem));
    flex-direction: column;
    gap: 0.35rem;
    padding: 0.56rem;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    border-radius: 1.22rem;
    background: var(--glass-bg-strong);
    box-shadow: 0 20px 70px rgba(15, 23, 42, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.34);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-0.8rem) scale(0.94);
    transform-origin: top left;
    visibility: hidden;
    backdrop-filter: blur(calc(var(--glass-blur) + 6px)) saturate(1.24);
    -webkit-backdrop-filter: blur(calc(var(--glass-blur) + 6px)) saturate(1.24);
    transition:
        opacity 260ms ease,
        transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
        visibility 0s linear 260ms;
}

.primary-menu.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    visibility: visible;
    transition-delay: 0s, 0s, 0s;
}

.primary-menu a {
    position: relative;
    overflow: hidden;
    border-radius: 0.7rem;
    padding: 0.78rem 0.9rem 0.78rem 1.15rem;
    color: #1d2939;
    font-size: 0.92rem;
    font-weight: 800;
    text-decoration: none;
    opacity: 0;
    transform: translateX(-1.4rem);
}

.primary-menu a::before {
    position: absolute;
    inset: 0 auto 0 0;
    width: 0.32rem;
    content: "";
    background: var(--ro-blue);
}

.primary-menu a:nth-child(3n + 2)::before {
    background: var(--ro-yellow);
}

.primary-menu a:nth-child(3n)::before {
    background: var(--ro-red);
}

.primary-menu a:hover,
.primary-menu a:focus-visible {
    background: rgba(0, 43, 127, 0.08);
    outline: none;
}

.primary-menu.is-open a {
    animation: menuFlyIn 380ms cubic-bezier(0.22, 1, 0.36, 1) 180ms both;
}

.primary-menu.is-open a:nth-child(2) {
    animation-delay: 220ms;
}

.primary-menu.is-open a:nth-child(3) {
    animation-delay: 260ms;
}

.primary-menu.is-open a:nth-child(4) {
    animation-delay: 300ms;
}

.primary-menu.is-open a:nth-child(5) {
    animation-delay: 340ms;
}

.primary-menu.is-open a:nth-child(6) {
    animation-delay: 380ms;
}

.nav-toggle {
    position: relative;
    display: inline-block;
    width: 2.7rem;
    height: 2.7rem;
    padding: 0.42rem;
    overflow: hidden;
    border: 0;
    border-radius: 0.7rem;
    background: transparent;
    box-shadow: none;
    pointer-events: auto;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1), background 260ms ease, box-shadow 260ms ease;
}

.nav-toggle span:not(.sr-only) {
    display: block;
    position: absolute;
    left: 50%;
    height: 3px;
    border-radius: 999px;
    background: var(--ro-blue);
    transform-origin: center;
    transition:
        transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
        top 420ms cubic-bezier(0.22, 1, 0.36, 1),
        left 420ms cubic-bezier(0.22, 1, 0.36, 1),
        width 300ms cubic-bezier(0.22, 1, 0.36, 1),
        height 360ms cubic-bezier(0.22, 1, 0.36, 1),
        opacity 180ms ease,
        border-radius 260ms ease,
        background-color 220ms ease;
}

.nav-toggle span:not(.sr-only):nth-of-type(2) {
    top: 0.82rem;
    width: 1.35rem;
    transform: translate(-50%, -50%);
}

.nav-toggle span:not(.sr-only):nth-of-type(3) {
    top: 1.35rem;
    width: 1rem;
    transform: translate(-50%, -50%);
}

.nav-toggle span:not(.sr-only):nth-of-type(4) {
    top: 1.88rem;
    width: 1.2rem;
    transform: translate(-50%, -50%);
}

.nav-toggle span:not(.sr-only):nth-of-type(3) {
    background: var(--ro-yellow);
}

.nav-toggle span:not(.sr-only):nth-of-type(4) {
    background: var(--ro-red);
}

.nav-toggle.is-open {
    transform: scale(0.98);
    background: rgba(219, 229, 248, 0.38);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.nav-toggle.is-open span:not(.sr-only) {
    top: 50%;
    width: 0.62rem;
    height: 1.9rem;
    opacity: 1;
    transform: translate(-50%, -50%);
}

.nav-toggle.is-open span:not(.sr-only):nth-of-type(2) {
    left: calc(50% - 0.62rem);
    border-radius: 0.18rem 0 0 0.18rem;
}

.nav-toggle.is-open span:not(.sr-only):nth-of-type(3) {
    left: 50%;
    border-radius: 0;
}

.nav-toggle.is-open span:not(.sr-only):nth-of-type(4) {
    left: calc(50% + 0.62rem);
    border-radius: 0 0.18rem 0.18rem 0;
}

.hero-section {
    position: relative;
    overflow: hidden;
    background: transparent;
    color: white;
}

.hero-copy {
    position: relative;
    z-index: 1;
}

.hero-copy h1,
.section-intro h2,
.section-heading-row h2,
.contact-card h2 {
    margin: 0;
    max-width: 12ch;
    font-size: clamp(2.45rem, 8vw, 5.7rem);
    line-height: 0.96;
    font-weight: 950;
    letter-spacing: 0;
}

.hero-lede {
    max-width: 42rem;
    margin: 1.3rem 0 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    line-height: 1.7;
}

.eyebrow {
    margin: 0 0 0.75rem;
    color: var(--ro-red);
    font-size: 0.75rem;
    font-weight: 950;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-section .eyebrow {
    color: var(--ro-yellow);
}

.section-intro>.eyebrow,
.section-heading-row .eyebrow,
.contact-card>div>.eyebrow {
    display: inline-flex;
    width: fit-content;
    min-height: 2.35rem;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 1.05rem;
    border: 1px solid rgba(211, 224, 249, 0.58);
    border-radius: 0.8rem;
    padding: 0.52rem 0.78rem;
    color: white;
    background: linear-gradient(180deg, rgba(10, 43, 113, 0.84), rgba(5, 26, 76, 0.68));
    box-shadow: 0 18px 38px rgba(0, 20, 72, 0.16);
    backdrop-filter: blur(calc(var(--glass-blur) - 4px)) saturate(1.16);
    -webkit-backdrop-filter: blur(calc(var(--glass-blur) - 4px)) saturate(1.16);
}

.section-intro>.eyebrow::before,
.section-heading-row .eyebrow::before,
.contact-card>div>.eyebrow::before {
    display: block;
    width: 1.55rem;
    height: 0.82rem;
    flex: 0 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.36);
    border-radius: 0.2rem;
    background: linear-gradient(90deg, var(--ro-blue) 0 33.33%, var(--ro-yellow) 33.33% 66.66%, var(--ro-red) 66.66% 100%);
    content: "";
}

.content-glass {
    background: var(--glass-shell-bg);
    backdrop-filter: blur(calc(var(--glass-blur) - 2px)) saturate(1.16);
    -webkit-backdrop-filter: blur(calc(var(--glass-blur) - 2px)) saturate(1.16);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.7rem;
}

.button {
    display: inline-flex;
    min-height: 2.8rem;
    align-items: center;
    justify-content: center;
    border-radius: 0.8rem;
    padding: 0.8rem 1.1rem;
    font-size: 0.92rem;
    font-weight: 900;
    text-decoration: none;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-1px);
    outline: none;
}

.button-primary {
    border: 1px solid rgba(252, 209, 22, 0.72);
    color: #151000;
    background: rgba(252, 209, 22, 0.68);
    box-shadow: 0 16px 34px rgba(252, 209, 22, 0.18);
    backdrop-filter: blur(11px);
    -webkit-backdrop-filter: blur(11px);
}

.button-secondary,
.button-compact {
    border: 1px solid rgba(255, 255, 255, 0.42);
    color: white;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(11px);
    -webkit-backdrop-filter: blur(11px);
}

.button-compact {
    border-color: rgba(0, 43, 127, 0.18);
    color: var(--ro-blue);
    background: var(--glass-bg);
}

.glass-panel {
    border: 1px solid var(--glass-border);
    border-radius: 1.2rem;
    background: var(--glass-bg);
    box-shadow: var(--shadow);
    backdrop-filter: blur(var(--glass-blur)) saturate(1.18);
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(1.18);
}

.event-date,
.event-details dt {
    display: block;
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.section-band {
    min-height: 78vh;
    padding: clamp(5.5rem, 9vw, 8rem) 0;
    scroll-margin-top: 6rem;
}

.section-band-alt {
    background: transparent;
}

.section-grid {
    display: grid;
    gap: clamp(2rem, 5vw, 4rem);
}

.section-intro h2,
.section-heading-row h2,
.contact-card h2 {
    max-width: 15ch;
    color: var(--ink);
    font-size: clamp(2rem, 5vw, 3.8rem);
}

.section-intro p:not(.eyebrow) {
    max-width: 33rem;
    margin-top: 1rem;
    color: var(--muted);
    line-height: 1.75;
}

.content-panel,
.event-card,
.archive-panel,
.magazine-feature,
.document-group,
.contact-card {
    padding: clamp(1.35rem, 4vw, 2.6rem);
}

.content-panel p,
.event-card p,
.past-event p,
.magazine-feature p,
.contact-card p {
    color: #344054;
    line-height: 1.75;
}

.document-list {
    display: grid;
    gap: 0.75rem;
    margin-top: 1.35rem;
}

.document-link,
.archive-list a,
.email-link {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    border: 1px solid rgba(0, 43, 127, 0.14);
    border-radius: 0.8rem;
    padding: 0.85rem 1rem;
    color: var(--ro-blue);
    font-weight: 900;
    text-decoration: none;
    background: var(--glass-bg);
    backdrop-filter: blur(calc(var(--glass-blur) - 6px)) saturate(1.16);
    -webkit-backdrop-filter: blur(calc(var(--glass-blur) - 6px)) saturate(1.16);
}

.document-link::after,
.archive-list a::after {
    color: var(--ro-red);
    content: "PDF placeholder";
    font-size: 0.7rem;
    font-weight: 950;
    text-transform: uppercase;
}

.section-heading-row {
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
    justify-content: space-between;
    margin-bottom: clamp(1.75rem, 4vw, 3rem);
}

.event-grid,
.documents-grid {
    display: grid;
    gap: clamp(1.1rem, 3vw, 1.75rem);
}

.event-card h3,
.past-event h3,
.magazine-feature h3,
.archive-panel h3,
.document-group h3,
.mission-list h3 {
    margin: 0 0 0.8rem;
    font-size: clamp(1.35rem, 3vw, 2rem);
    font-weight: 950;
    letter-spacing: 0;
}

.event-date {
    margin-bottom: 0.75rem;
    color: var(--ro-red);
}

.event-details {
    display: grid;
    gap: 0.75rem;
    margin: 1rem 0;
}

.event-details div {
    border-left: 3px solid var(--ro-yellow);
    padding-left: 0.8rem;
}

.event-details dd {
    margin: 0.15rem 0 0;
    color: #344054;
}

.past-event {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
    padding: clamp(1.15rem, 3vw, 2rem);
}

.mission-list {
    margin-top: 1.5rem;
}

.mission-list ul,
.document-group ul {
    margin: 0;
    padding-left: 1.2rem;
    color: #344054;
    line-height: 1.7;
}

.values-row {
    display: grid;
    gap: 0.7rem;
    margin-top: 1.5rem;
}

.values-row span {
    border-radius: 0.85rem;
    padding: 0.85rem;
    color: var(--ro-blue);
    font-weight: 900;
    background: rgba(0, 43, 127, 0.08);
}

.calendar-shell {
    overflow: hidden;
    padding: 0.5rem;
}

.calendar-shell iframe {
    width: 100%;
    height: min(72vh, 42rem);
    min-height: 30rem;
    border: 0;
    border-radius: 0.9rem;
    background: white;
}

.magazine-layout {
    display: grid;
    gap: 1rem;
}

.archive-year+.archive-year {
    margin-top: 1.25rem;
}

.archive-year h4 {
    margin: 0 0 0.65rem;
    color: var(--ro-red);
    font-size: 1rem;
    font-weight: 950;
}

.archive-list {
    display: grid;
    gap: 0.6rem;
}

.document-group li+li {
    margin-top: 0.35rem;
}

.contact-section {
    padding-bottom: 3rem;
}

.contact-card {
    display: grid;
    gap: 1.25rem;
    align-items: center;
}

.email-link {
    width: fit-content;
    color: white;
    border-color: rgba(255, 255, 255, 0.32);
    background: linear-gradient(180deg, rgba(18, 49, 118, 0.78), rgba(10, 30, 80, 0.68));
}

.site-footer {
    padding: 2rem 1rem;
    color: white;
    text-align: center;
    background: var(--ro-blue);
}

.site-footer p {
    margin: 0;
    font-weight: 800;
}

@keyframes menuFlyIn {
    0% {
        opacity: 0;
        transform: translateX(-1.1rem) scale(0.96);
    }

    65% {
        opacity: 1;
        transform: translateX(0.18rem) scale(1.01);
    }

    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes menuDropDown {
    0% {
        opacity: 0;
        transform: translateY(-0.8rem) scale(0.94);
    }

    62% {
        opacity: 1;
        transform: translateY(0.16rem) scale(1.01);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

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

@media (min-width: 768px) {
    .section-grid {
        grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
        align-items: start;
    }

    .section-heading-row,
    .past-event,
    .contact-card {
        grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
        align-items: end;
    }

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

    .event-featured {
        grid-row: span 2;
    }

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

    .magazine-layout {
        grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
    }

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

@media (max-width: 460px) {
    .hero-copy h1 {
        font-size: 2.35rem;
    }

    .document-link,
    .archive-list a {
        align-items: flex-start;
        flex-direction: column;
    }
}