:root {
    --navy: #08265f;
    --navy-deep: #061d4a;
    --blue: #0756b5;
    --blue-bright: #1873db;
    --sky: #eaf3ff;
    --sky-soft: #f4f8ff;
    --red: #e52d32;
    --red-dark: #c41c21;
    --red-soft: #fff2f2;
    --ink: #10264c;
    --muted: #586a86;
    --white: #ffffff;
    --line: #d9e4f5;
    --shadow: 0 18px 48px #08265f18;
    --radius: 22px;
    --max: 1160px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 85px;
}

body {
    position: relative;
    font-family: Inter, Arial, sans-serif;
    color: var(--ink);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Live animated blue / white / red background across pages */
.live-bg {
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    overflow: hidden;
    background:
        radial-gradient(circle at 14% 20%, #0756b514 0, transparent 42%),
        radial-gradient(circle at 86% 26%, #e52d3212 0, transparent 40%),
        radial-gradient(circle at 50% 82%, #08265f10 0, transparent 48%);
}

.live-bg::before {
    content: "";
    position: absolute;
    width: 480px;
    height: 480px;
    left: -120px;
    top: 14%;
    border-radius: 50%;
    background: radial-gradient(circle, #0756b51e, transparent 70%);
    filter: blur(24px);
    animation: liveOrbA 15s ease-in-out infinite alternate;
}

.live-bg::after {
    content: "";
    position: absolute;
    width: 440px;
    height: 440px;
    right: -110px;
    bottom: 10%;
    border-radius: 50%;
    background: radial-gradient(circle, #e52d321a, transparent 70%);
    filter: blur(26px);
    animation: liveOrbB 17s ease-in-out infinite alternate;
}

@keyframes liveOrbA {
    0% {
        transform: translate(0, 0) scale(1);
    }
    100% {
        transform: translate(75px, 50px) scale(1.12);
    }
}

@keyframes liveOrbB {
    0% {
        transform: translate(0, 0) scale(1);
    }
    100% {
        transform: translate(-70px, -45px) scale(1.1);
    }
}

body.subpage {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.blog-canvas {
    position: relative;
    z-index: 1;
    flex: 1;
    width: 100%;
    min-height: 62vh;
    background: transparent;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

.container {
    width: min(var(--max), calc(100% - 38px));
    margin: auto;
}

.topline {
    background: var(--navy-deep);
    color: var(--white);
    font-size: .8rem;
    padding: 8px 0;
    border-bottom: 2px solid var(--red);
}

.topline .container {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.topline b {
    color: var(--white);
    background: var(--red);
    padding: 2px 8px;
    border-radius: 4px;
    letter-spacing: .08em;
    font-size: .72rem;
}

header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #fffffff2;
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--line);
}

nav {
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    color: var(--navy);
    font-weight: 1000;
    line-height: 1.05;
}

.brand-mark {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 3px solid var(--blue);
    display: grid;
    place-items: center;
    color: var(--red);
    background: var(--white);
    font-size: 1.05rem;
    font-weight: 1000;
    box-shadow: inset 0 0 0 3px #dceeff;
}

.brand small {
    display: block;
    font-size: .61rem;
    letter-spacing: .11em;
    color: var(--muted);
    margin-top: 5px;
}

.links {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: .86rem;
    font-weight: 800;
    color: var(--navy);
}

.links a:hover,
.links a.active {
    color: var(--red);
}

.links a.active {
    position: relative;
}

.links a.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    height: 2.5px;
    border-radius: 2px;
    background: var(--red);
}

.nav-cta,
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 999px;
    padding: 13px 22px;
    font-weight: 900;
    cursor: pointer;
    transition: .25s;
}

.nav-cta,
.primary {
    background: var(--red);
    color: var(--white) !important;
    box-shadow: 0 8px 22px #e52d3245;
}

.nav-cta:hover,
.primary:hover {
    background: var(--red-dark);
}

.btn:hover,
.nav-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 28px #08265f28;
}

.menu {
    display: none;
    background: var(--navy);
    color: var(--white);
    border: 0;
    border-radius: 12px;
    width: 44px;
    height: 44px;
    font-size: 1.25rem;
    cursor: pointer;
}

.hero {
    position: relative;
    overflow: hidden;
    color: var(--white);
    background:
        radial-gradient(circle at 85% 20%, #1d7ae0 0, transparent 36%),
        radial-gradient(circle at 15% 85%, #e52d3233 0, transparent 38%),
        linear-gradient(120deg, #061d4a, #08265f 55%, #0756b5);
    background-size: 140% 140%;
    animation: heroShift 14s ease-in-out infinite alternate;
    padding: 82px 0 76px;
}

@keyframes heroShift {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 100% 50%;
    }
}

.hero:before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(#ffffff18 1px, transparent 1px);
    background-size: 22px 22px;
    pointer-events: none;
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    align-items: center;
    gap: 45px;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff18;
    border: 1px solid #ffffff45;
    border-left: 4px solid var(--red);
    border-radius: 999px;
    padding: 8px 15px;
    color: var(--white);
    font-size: .75rem;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.hero h1 {
    font-size: clamp(2.7rem, 6vw, 5.5rem);
    line-height: .98;
    letter-spacing: -.055em;
    margin: 23px 0;
    color: var(--white);
}

.hero h1 span {
    color: var(--white);
    display: block;
    text-decoration: underline;
    text-decoration-color: var(--red);
    text-decoration-thickness: 6px;
    text-underline-offset: 8px;
}

.hero p {
    max-width: 610px;
    color: #e4efff;
    font-size: 1.06rem;
}

.actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.secondary {
    border: 1.5px solid #ffffff85;
    background: #ffffff14;
    color: var(--white);
}

.secondary:hover {
    background: var(--white);
    color: var(--navy);
}

.hero-meta {
    margin-top: 30px;
    color: #d7e8ff;
    font-size: .87rem;
}

.hero-art {
    min-height: 410px;
    border-radius: 32px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #05245b20, #05245b65), url('https://images.unsplash.com/photo-1461896836934-ffe607ba8211?auto=format&fit=crop&w=1100&q=85') center/cover;
    box-shadow: 0 28px 65px #00183c66;
    transform: rotate(1.5deg);
    border: 5px solid #ffffff40;
}

.art-label {
    position: absolute;
    left: 18px;
    bottom: 18px;
    background: var(--red);
    color: var(--white);
    padding: 14px 18px;
    border-radius: 15px;
    font-weight: 1000;
    box-shadow: var(--shadow);
}

.floating {
    position: absolute;
    right: -7px;
    top: 20px;
    background: var(--white);
    color: var(--navy);
    border-top: 4px solid var(--red);
    padding: 15px 19px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    font-weight: 950;
    animation: bob 4s ease-in-out infinite;
}

.floating small {
    display: block;
    color: var(--muted);
    font-size: .7rem;
}

@keyframes bob {
    50% {
        transform: translateY(-10px);
    }
}

.quick {
    background: #fffffff2;
    border-bottom: 1px solid var(--line);
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 25px 0;
}

.quick-item {
    padding: 8px 20px;
    border-right: 1px solid var(--line);
}

.quick-item:first-child {
    padding-left: 0;
}

.quick-item:last-child {
    border: 0;
}

.quick-item b {
    display: block;
    font-size: 1.65rem;
    color: var(--blue);
    line-height: 1.2;
}

.quick-item:nth-child(odd) b {
    color: var(--red);
}

.quick-item span {
    font-size: .8rem;
    color: var(--muted);
    font-weight: 750;
}

section {
    padding: 82px 0;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 25px;
    margin-bottom: 32px;
}

.eyebrow {
    color: var(--red);
    font-size: .75rem;
    letter-spacing: .16em;
    font-weight: 1000;
    text-transform: uppercase;
    margin-bottom: 9px;
}

.vol-eyebrow {
    color: var(--white);
    background: var(--red);
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.15rem);
    line-height: 1.08;
    letter-spacing: -.045em;
    color: var(--navy);
}

.section-head p {
    max-width: 460px;
    color: var(--muted);
}

.about {
    background: #f4f8ffdd;
}

.about-grid {
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    gap: 55px;
    align-items: center;
}

.about-photo {
    min-height: 440px;
    border-radius: 28px;
    background: linear-gradient(180deg, #061e5010, #061e5060), url('https://images.unsplash.com/photo-1526676037777-05a232554f77?auto=format&fit=crop&w=1000&q=85') center/cover;
    position: relative;
    box-shadow: var(--shadow);
    border: 4px solid var(--white);
}

.year-stamp {
    position: absolute;
    right: -15px;
    bottom: 24px;
    background: var(--red);
    color: var(--white);
    border-radius: 18px;
    padding: 17px 22px;
    font-weight: 1000;
    box-shadow: var(--shadow);
}

.about-copy p {
    color: var(--muted);
    margin: 17px 0;
}

.ticks {
    list-style: none;
    display: grid;
    gap: 12px;
    margin: 22px 0;
}

.ticks li {
    font-weight: 750;
    display: flex;
    gap: 10px;
    color: var(--navy);
}

.ticks li:before {
    content: "✓";
    background: var(--blue);
    color: var(--white);
    border-radius: 50%;
    width: 23px;
    height: 23px;
    flex: 0 0 23px;
    text-align: center;
    font-weight: 1000;
}

.sports-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 17px;
}

.sport {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 24px;
    transition: .3s;
    box-shadow: 0 5px 18px #08265f08;
}

.sport:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow);
    border-color: var(--red);
}

.sport .ico {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    background: var(--sky);
    border-radius: 15px;
    font-size: 1.55rem;
    margin-bottom: 16px;
}

.sport h3 {
    color: var(--navy);
    margin-bottom: 6px;
}

.sport p {
    color: var(--muted);
    font-size: .9rem;
}

.volunteer {
    background: linear-gradient(120deg, var(--navy-deep), var(--blue));
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.volunteer:after {
    content: "SFA";
    position: absolute;
    right: 2%;
    top: 4%;
    font-size: 15rem;
    font-weight: 1000;
    color: #ffffff09;
    line-height: 1;
    pointer-events: none;
}

.volunteer h2 {
    color: var(--white);
}

.volunteer .section-head p {
    color: #d6e7ff;
}

.vol-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 20px;
}

.vol-card {
    background: #ffffff12;
    border: 1px solid #ffffff32;
    border-radius: 22px;
    padding: 27px;
    backdrop-filter: blur(8px);
}

.vol-card h3 {
    font-size: 1.35rem;
    color: var(--white);
    margin-bottom: 15px;
    border-left: 4px solid var(--red);
    padding-left: 10px;
}

.vol-card ul {
    list-style: none;
    display: grid;
    gap: 11px;
}

.vol-card li {
    display: flex;
    gap: 10px;
    color: #edf5ff;
}

.vol-card li:before {
    content: "✓";
    color: var(--red);
    background: var(--white);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    display: grid;
    place-items: center;
    font-size: .75rem;
    font-weight: 1000;
}

.notice {
    background: var(--white);
    color: var(--navy);
    border-top: 5px solid var(--red);
    border-radius: 22px;
    padding: 25px;
    box-shadow: var(--shadow);
}

.notice h3 {
    color: var(--red);
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.notice p {
    margin: 10px 0;
    color: #30456a;
}

.notice strong {
    color: var(--red);
}

.vol-cta {
    margin-top: 20px;
}

.values {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.value {
    background: var(--white);
    border: 1px solid var(--line);
    border-top: 4px solid var(--blue);
    border-radius: 18px;
    padding: 22px;
}

.value:nth-child(even) {
    border-top-color: var(--red);
}

.value b {
    font-size: 1.7rem;
    color: var(--red);
    display: block;
}

.value strong {
    color: var(--navy);
}

.value p {
    font-size: .86rem;
    color: var(--muted);
    margin-top: 6px;
}

.gallery {
    background: #f4f8ffdd;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr .8fr;
    grid-template-rows: 180px 180px;
    gap: 13px;
}

.photo {
    border-radius: 18px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    border: 2px solid var(--white);
    box-shadow: 0 8px 20px #08265f12;
}

.photo:after {
    content: "";
    position: absolute;
    inset: 45% 0 0;
    background: linear-gradient(transparent, #061d4ac8);
}

.photo span {
    position: absolute;
    z-index: 1;
    bottom: 14px;
    left: 16px;
    color: var(--white);
    font-weight: 900;
    border-left: 3px solid var(--red);
    padding-left: 8px;
}

.photo:first-child {
    grid-row: span 2;
    background-image: url('https://images.unsplash.com/photo-1579952363873-27f3bade9f55?auto=format&fit=crop&w=900&q=85');
}

.photo:nth-child(2) {
    background-image: url('https://images.unsplash.com/photo-1519861531473-9200262188bf?auto=format&fit=crop&w=800&q=85');
}

.photo:nth-child(3) {
    background-image: url('https://images.unsplash.com/photo-1531415074968-036ba1b575da?auto=format&fit=crop&w=800&q=85');
}

.photo:nth-child(4) {
    background-image: url('https://images.unsplash.com/photo-1546483875-ad9014c88eba?auto=format&fit=crop&w=800&q=85');
}

.photo:nth-child(5) {
    background-image: url('https://images.unsplash.com/photo-1517836357463-d25dfeac3438?auto=format&fit=crop&w=800&q=85');
}

.faq {
    max-width: 820px;
    margin: auto;
}

details {
    background: var(--white);
    border: 1px solid var(--line);
    padding: 18px 21px;
    border-radius: 15px;
    margin: 10px 0;
}

details[open] {
    border-color: var(--blue);
}

summary {
    cursor: pointer;
    list-style: none;
    font-weight: 900;
    color: var(--navy);
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

summary::-webkit-details-marker {
    display: none;
}

summary:after {
    content: "+";
    font-size: 1.25rem;
    color: var(--red);
    font-weight: 1000;
}

details[open] summary:after {
    content: "−";
}

details p {
    padding-top: 12px;
    color: var(--muted);
}

.contact {
    background: #f4f8ffdd;
}

.contact-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 25px;
}

.contact-panel {
    background: var(--navy);
    color: var(--white);
    border-radius: 22px;
    padding: 28px;
    border-top: 5px solid var(--red);
}

.contact-panel h3 {
    font-size: 1.4rem;
    color: var(--white);
}

.contact-panel p {
    color: #d8e8ff;
    margin: 8px 0 18px;
}

.contact-line {
    border-top: 1px solid #ffffff2b;
    padding: 14px 0;
    color: #e9f3ff;
}

.contact-line b {
    color: var(--white);
    text-transform: uppercase;
    font-size: .78rem;
    letter-spacing: .06em;
}

.contact-form {
    background: var(--white);
    border-radius: 22px;
    padding: 28px;
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.field {
    display: grid;
    gap: 6px;
    margin-bottom: 12px;
}

.field.full {
    grid-column: 1/-1;
}

label {
    font-size: .8rem;
    font-weight: 850;
    color: #30476e;
}

input,
select,
textarea {
    width: 100%;
    padding: 13px;
    border: 1px solid #d6e2f1;
    border-radius: 11px;
    background: var(--white);
    outline: none;
    color: var(--ink);
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px #0756b520;
}

textarea {
    min-height: 105px;
    resize: vertical;
}

.small-note {
    font-size: .75rem;
    color: var(--muted);
    margin-top: 12px;
}

footer {
    background: var(--navy-deep);
    color: var(--white);
    padding: 32px 0;
    border-top: 4px solid var(--red);
}

.foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.foot b {
    color: var(--white);
}

.foot small {
    color: #c5d7f2;
}

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .7s, transform .7s;
}

.reveal.show {
    opacity: 1;
    transform: none;
}

.to-top {
    position: fixed;
    right: 19px;
    bottom: 19px;
    width: 45px;
    height: 45px;
    border: 2px solid var(--white);
    border-radius: 50%;
    background: var(--red);
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 1000;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    cursor: pointer;
    transition: .25s;
    z-index: 40;
}

.to-top:hover {
    background: var(--navy);
}

.to-top.show {
    opacity: 1;
    pointer-events: auto;
}

@media(max-width:960px) {
    .links {
        gap: 12px;
        font-size: .82rem;
    }

    .hero-grid {
        gap: 25px;
    }

    .sports-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .values {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        gap: 30px;
    }
}

@media(max-width:768px) {
    .container {
        width: calc(100% - 30px);
    }

    .topline .container {
        justify-content: center;
        text-align: center;
    }

    nav {
        height: 68px;
    }

    .menu {
        display: block;
    }

    .links {
        display: none;
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 15px 22px 22px;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        border-bottom: 2px solid var(--red);
        box-shadow: var(--shadow);
    }

    .links.open {
        display: flex;
    }

    .links a {
        padding: 12px 3px;
        border-bottom: 1px solid var(--line);
    }

    .links a.active::after {
        display: none;
    }

    .links .nav-cta {
        margin-top: 12px;
        border-bottom: 0;
    }

    .hero {
        padding: 60px 0;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-art {
        min-height: 300px;
        margin: 8px 5px;
    }

    .floating {
        right: -4px;
    }

    .quick-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 13px;
    }

    .quick-item {
        padding: 8px 0;
        border: 0;
    }

    section {
        padding: 62px 0;
    }

    .section-head {
        display: block;
    }

    .section-head p {
        margin-top: 12px;
    }

    .about-grid,
    .vol-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .about-photo {
        min-height: 310px;
        order: 2;
    }

    .sports-grid {
        grid-template-columns: 1fr 1fr;
    }

    .values {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 170px 145px 145px;
    }

    .photo:first-child {
        grid-row: span 2;
    }

    .photo:last-child {
        display: none;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .field.full {
        grid-column: auto;
    }
}

@media(max-width:420px) {
    .sports-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .values {
        grid-template-columns: 1fr 1fr;
    }
}

@media(prefers-reduced-motion:reduce) {
    *,
    *:before,
    *:after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}