:root {
    --navy: #102a43;
    --navy-deep: #0b1f33;
    --blue: #176b87;
    --teal: #dff3f1;
    --gold: #f4b942;
    --ink: #172b3a;
    --muted: #526575;
    --surface: #ffffff;
    --surface-soft: #f3f7f8;
    --border: #d6e0e5;
    --shadow: 0 12px 30px rgba(16, 42, 67, .09);
    --radius: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: #fff;
    font-family: 'DM Sans', Arial, sans-serif;
    line-height: 1.6;
}
img { display: block; max-width: 100%; }
a { color: var(--blue); }
a:focus-visible, button:focus-visible {
    outline: 3px solid #a45b00;
    outline-offset: 4px;
}
.skip-link {
    position: absolute;
    top: -60px;
    left: 1rem;
    z-index: 1000;
    padding: .75rem 1rem;
    color: #fff;
    background: var(--navy);
    border-radius: 0 0 8px 8px;
}
.skip-link:focus { top: 0; }

.site-header {
    min-height: 82px;
    padding: .8rem clamp(1rem, 5vw, 4.5rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    background: #fff;
    border-bottom: 1px solid var(--border);
    position: relative;
    z-index: 5;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    color: var(--navy);
    text-decoration: none;
    line-height: 1.15;
}
.brand img { width: 48px; height: 48px; }
.brand span { display: grid; }
.brand strong { font: 800 1.15rem 'Manrope', sans-serif; }
.brand small { color: var(--muted); font-size: .76rem; }
.primary-navigation { display: flex; align-items: center; gap: .35rem; }
.primary-navigation a {
    padding: .65rem .9rem;
    color: var(--navy);
    text-decoration: none;
    font-weight: 700;
    border-radius: 8px;
}
.primary-navigation a:hover,
.primary-navigation a.active { color: #fff; background: var(--navy); }
.menu-toggle {
    display: none;
    width: 44px;
    height: 42px;
    padding: 9px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
}
.menu-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: var(--navy);
}

.hero {
    position: relative;
    min-height: 410px;
    overflow: hidden;
    background: var(--navy);
}
.hero > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(7, 25, 43, .88), rgba(7, 25, 43, .52) 55%, rgba(7, 25, 43, .08));
}
.hero-content {
    position: relative;
    z-index: 1;
    width: min(1100px, 90%);
    min-height: 410px;
    margin: 0 auto;
    padding: 4rem 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    color: #fff;
}
.eyebrow {
    margin: 0 0 .35rem;
    color: #9fe3df;
    text-transform: uppercase;
    letter-spacing: .13em;
    font-size: .76rem;
    font-weight: 800;
}
.hero h1 {
    max-width: 680px;
    margin: .2rem 0 .8rem;
    font: 800 clamp(2.2rem, 5vw, 4.2rem)/1.08 'Manrope', sans-serif;
    letter-spacing: -.04em;
}
.hero-content > p:not(.eyebrow) { max-width: 530px; margin: 0 0 1.5rem; font-size: 1.05rem; color: #f0f6f8; }
.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 48px;
    padding: .8rem 1.25rem;
    border-radius: 9px;
    text-decoration: none;
    font-weight: 800;
}
.button-primary { color: #142b3b; background: var(--gold); }
.button-primary:hover { background: #ffd16e; }

.page-content { width: min(1100px, 90%); margin: 0 auto; }
section:not(.hero) { padding: 3.2rem 0; }
.section-heading { margin-bottom: 1.35rem; }
.section-heading h2 {
    margin: 0;
    color: var(--navy);
    font: 800 clamp(1.65rem, 3vw, 2.25rem)/1.2 'Manrope', sans-serif;
}
.section-heading > p:last-child:not(.eyebrow) { margin: .45rem 0 0; color: var(--muted); }
.events-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.event-card {
    display: flex;
    gap: 1rem;
    padding: 1.2rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.event-date {
    flex: 0 0 58px;
    height: 65px;
    display: grid;
    align-content: center;
    justify-items: center;
    color: var(--navy);
    background: var(--teal);
    border-radius: 10px;
    line-height: 1.1;
}
.event-date strong { font: 800 1.55rem 'Manrope', sans-serif; }
.event-date span { font-size: .7rem; font-weight: 800; letter-spacing: .08em; }
.event-card h3 { margin: 0 0 .45rem; color: var(--navy); font: 700 1.03rem 'Manrope', sans-serif; }
.event-card p { margin: 0 0 .55rem; color: var(--muted); font-size: .9rem; }
.event-card .event-meta { margin: .6rem 0 0; color: var(--blue); font-size: .8rem; font-weight: 700; }

.weather-section { background: var(--surface-soft); }
.weather-panel {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 1.5rem;
    padding: 1.5rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.current-weather {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-height: 130px;
}
.weather-icon { width: 88px; height: 88px; object-fit: contain; }
.current-temp { margin: 0; color: var(--navy); font: 800 2.6rem 'Manrope', sans-serif; line-height: 1.1; }
.weather-description { margin: .3rem 0; color: var(--muted); text-transform: capitalize; }
.weather-location { margin: 0; color: var(--muted); font-size: .82rem; }
.forecast-area { padding-left: 1.4rem; border-left: 1px solid var(--border); }
.forecast-area h3 { margin: 0 0 .8rem; color: var(--navy); font: 700 1rem 'Manrope', sans-serif; }
.forecast-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; }
.forecast-day {
    padding: .75rem .45rem;
    text-align: center;
    background: var(--surface-soft);
    border-radius: 10px;
}
.forecast-day h4 { margin: 0; color: var(--navy); font-size: .82rem; }
.forecast-day img { width: 48px; height: 48px; margin: .1rem auto; }
.forecast-day p { margin: .1rem 0; color: var(--ink); font-weight: 800; }
.forecast-day small { color: var(--muted); text-transform: capitalize; }
.loading-message, .status-message { color: var(--muted); }
.status-message { margin: .7rem 0 0; font-size: .9rem; }

.spotlight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.spotlight-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.4rem;
    text-align: center;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.spotlight-card img { width: 104px; height: 76px; object-fit: contain; margin-bottom: .7rem; }
.spotlight-card h3 { margin: .2rem 0; color: var(--navy); font: 800 1.08rem 'Manrope', sans-serif; }
.membership {
    display: inline-block;
    margin: .3rem 0 .65rem;
    padding: .2rem .65rem;
    color: #493100;
    background: #ffedbd;
    border-radius: 99px;
    font-size: .72rem;
    font-weight: 800;
}
.spotlight-card p { margin: .2rem 0; color: var(--muted); font-size: .87rem; overflow-wrap: anywhere; }
.spotlight-card a { margin-top: .45rem; font-weight: 700; }

.site-footer { padding: 2.2rem clamp(1rem, 5vw, 4.5rem) 1rem; color: #eaf1f5; background: var(--navy-deep); }
.footer-main {
    width: min(1100px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.3fr 1fr .8fr;
    gap: 2rem;
    align-items: start;
}
.footer-brand { color: #fff; font: 800 1.05rem 'Manrope', sans-serif; text-decoration: none; }
.footer-main p, .footer-main address { margin: .5rem 0 0; color: #d1dce4; font-size: .9rem; font-style: normal; }
.footer-links { display: grid; gap: .45rem; }
.footer-links a { color: #eaf1f5; font-size: .9rem; }
.footer-bottom {
    width: min(1100px, 100%);
    margin: 1.8rem auto 0;
    padding-top: 1rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .4rem 1rem;
    border-top: 1px solid #40576a;
}
.footer-bottom p { margin: 0; color: #d1dce4; font-size: .78rem; }

@media (max-width: 430px) {
    .brand img { width: 42px; height: 42px; }
    .brand strong { font-size: 1rem; }
    .brand small { font-size: .68rem; }
    .hero, .hero-content { min-height: 350px; }
    .hero h1 { font-size: 2.15rem; }
    .page-content { width: min(92%, 1100px); }
    section:not(.hero) { padding: 2.4rem 0; }
    .event-card { padding: 1rem; }
    .weather-panel { padding: 1rem; }
    .current-weather { gap: .55rem; }
    .weather-icon { width: 70px; height: 70px; }
    .current-temp { font-size: 2.15rem; }
    .forecast-grid { gap: .35rem; }
    .forecast-day { padding: .65rem .25rem; }
    .forecast-day small { font-size: .68rem; }
    .footer-main { grid-template-columns: 1fr; gap: 1.2rem; }
    .footer-main > div:first-child { grid-column: auto; }
    .footer-bottom { flex-direction: column; }
}
