/* ==========================================================================
   Run Anon — Official Club Landing Page Stylesheet
   Club Colour: Red (#E31818) & Carbon Black (#111114)
   Crumlin, County Antrim, Northern Ireland · Est. 2015 · Never Give Up
   ========================================================================== */

:root {
    --red-50: #fff1f1;
    --red-100: #ffe1e1;
    --red-200: #ffc5c5;
    --red-500: #ef2323;
    --red-600: #dc1414;
    --red-700: #b80d0d;
    --red-800: #930d0d;
    --red-900: #6b0b0b;

    --ink-950: #0e0e11;
    --ink-900: #16161b;
    --ink-800: #222229;
    --ink-700: #383842;
    --ink-600: #52525e;
    --ink-500: #6f6f7e;
    --ink-300: #d4d4dc;
    --ink-200: #e7e7ee;
    --ink-100: #f3f3f7;
    --surface: #fafafa;
    --white: #ffffff;

    --cat-training: #dc1414;
    --cat-parkrun: #16a34a;
    --cat-race: #d97706;
    --cat-social: #2563eb;
    --cat-other: #52525e;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --shadow-sm: 0 2px 8px rgba(14, 14, 17, 0.06);
    --shadow-md: 0 10px 30px rgba(14, 14, 17, 0.10);
    --shadow-lg: 0 20px 50px rgba(14, 14, 17, 0.18);
    --shadow-red: 0 10px 28px rgba(220, 20, 20, 0.30);

    --font-display: 'Barlow Condensed', 'Oswald', 'Arial Narrow', Impact, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--ink-900);
    background-color: var(--surface);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: var(--red-600);
    text-decoration: none;
    transition: color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}

a:hover {
    color: var(--red-700);
}

.container {
    width: min(1220px, 92%);
    margin-inline: auto;
}

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

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.78rem 1.4rem;
    border-radius: 999px;
    border: 2px solid transparent;
    cursor: pointer;
    text-decoration: none;
    line-height: 1.1;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-primary {
    background: var(--red-600);
    color: var(--white);
    box-shadow: var(--shadow-red);
}

.btn-primary:hover {
    background: var(--red-700);
    color: var(--white);
    transform: translateY(-1px);
}

.btn-dark {
    background: var(--ink-950);
    color: var(--white);
}

.btn-dark:hover {
    background: var(--ink-800);
    color: var(--white);
    transform: translateY(-1px);
}

.btn-outline-light {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.45);
    color: var(--white);
}

.btn-outline-light:hover {
    background: var(--white);
    border-color: var(--white);
    color: var(--ink-950);
}

.btn-outline-red {
    background: transparent;
    border-color: var(--red-600);
    color: var(--red-600);
}

.btn-outline-red:hover {
    background: var(--red-600);
    color: var(--white);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

/* ---------- Navigation ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(14, 14, 17, 0.96);
    backdrop-filter: blur(10px);
    border-bottom: 3px solid var(--red-600);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: 74px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--white);
}

.brand:hover {
    color: var(--white);
}

.brand-logo {
    height: 46px;
    width: auto;
    border-radius: 8px;
    border: 2px solid var(--red-500);
    box-shadow: 0 2px 10px rgba(239, 35, 35, 0.35);
    background: #ff1a1a;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.brand-name {
    font-family: var(--font-display);
    font-size: 1.65rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--white);
}

.brand-sub {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--red-200);
    font-weight: 600;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: #e4e4ec;
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.nav-links a:hover {
    color: var(--red-500);
}

.nav-toggle {
    display: none;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--white);
    border-radius: 8px;
    padding: 0.45rem 0.65rem;
    cursor: pointer;
    font-size: 1.25rem;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 82% 24%, rgba(239, 35, 35, 0.38), transparent 48%),
        linear-gradient(125deg, var(--ink-950) 0%, #1c0809 52%, var(--red-800) 100%);
    color: var(--white);
    padding: 4.5rem 0 5.5rem;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        -55deg,
        rgba(255, 255, 255, 0.03) 0,
        rgba(255, 255, 255, 0.03) 2px,
        transparent 2px,
        transparent 24px
    );
    pointer-events: none;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.25fr 0.85fr;
    gap: 3rem;
    align-items: center;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: rgba(220, 20, 20, 0.25);
    border: 1px solid rgba(255, 197, 197, 0.35);
    color: var(--red-100);
    padding: 0.38rem 0.95rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.hero-eyebrow .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--red-500);
    box-shadow: 0 0 0 4px rgba(239, 35, 35, 0.35);
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(3rem, 6.2vw, 5.1rem);
    line-height: 0.95;
    margin: 0 0 1rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    font-weight: 800;
}

.hero h1 span {
    color: var(--red-500);
}

.hero-motto {
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 2.5vw, 1.9rem);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--red-200);
    margin: 0 0 1.15rem;
    font-weight: 700;
}

.hero-lead {
    font-size: 1.08rem;
    color: #e4e4ec;
    max-width: 60ch;
    margin: 0 0 1.75rem;
}

.hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-bottom: 2rem;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.16);
    padding: 0.48rem 0.9rem;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--white);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

.hero-card {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.04));
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(8px);
}

.hero-logo-wrap {
    background: #ff1919;
    border-radius: var(--radius-md);
    padding: 0.9rem;
    display: inline-block;
    border: 3px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
    margin-bottom: 1.35rem;
}

.hero-logo-wrap img {
    width: 240px;
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}

.hero-card-quote {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0 0 0.35rem;
    color: var(--white);
}

.hero-card-caption {
    font-size: 0.92rem;
    color: var(--red-100);
    margin: 0;
}

/* ---------- Quick Facts Strip ---------- */
.facts-strip {
    margin-top: -2.4rem;
    position: relative;
    z-index: 10;
    padding-bottom: 1rem;
}

.facts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.15rem;
}

.fact-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 1.35rem 1.4rem;
    border-top: 4px solid var(--red-600);
    box-shadow: var(--shadow-md);
}

.fact-label {
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--red-600);
    font-weight: 800;
    margin-bottom: 0.35rem;
}

.fact-value {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--ink-950);
    line-height: 1.15;
    margin-bottom: 0.25rem;
}

.fact-detail {
    font-size: 0.87rem;
    color: var(--ink-600);
    margin: 0;
}

/* ---------- Sections ---------- */
.section {
    padding: 4.5rem 0;
}

.section-alt {
    background: var(--white);
    border-top: 1px solid var(--ink-200);
    border-bottom: 1px solid var(--ink-200);
}

.section-dark {
    background: linear-gradient(135deg, var(--ink-950) 0%, #1d090a 100%);
    color: var(--white);
}

.section-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.25rem;
    margin-bottom: 2.25rem;
}

.section-kicker {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--red-600);
    margin-bottom: 0.4rem;
}

.section-dark .section-kicker {
    color: var(--red-200);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1.05;
    margin: 0;
}

.section-subtitle {
    margin: 0.55rem 0 0;
    color: var(--ink-600);
    max-width: 62ch;
}

.section-dark .section-subtitle {
    color: #d4d4df;
}

/* ---------- Legacy / Aidan O'Neill Tribute ---------- */
.legacy-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2.5rem;
    align-items: stretch;
}

.legacy-copy p {
    color: var(--ink-700);
    font-size: 1.03rem;
    margin: 0 0 1.15rem;
}

.legacy-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

.legacy-box {
    background: var(--red-50);
    border: 1px solid var(--red-200);
    border-radius: var(--radius-md);
    padding: 1.1rem 1.2rem;
}

.legacy-box strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.35rem;
    text-transform: uppercase;
    color: var(--red-700);
    margin-bottom: 0.2rem;
}

.legacy-box span {
    font-size: 0.9rem;
    color: var(--ink-700);
}

.tribute-card {
    background: linear-gradient(155deg, var(--ink-950) 0%, #24090b 65%, var(--red-800) 100%);
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.4rem 2.2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(239, 35, 35, 0.4);
}

.tribute-card::after {
    content: '2015';
    position: absolute;
    right: -12px;
    bottom: -28px;
    font-family: var(--font-display);
    font-size: 8.5rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.06);
    line-height: 1;
    pointer-events: none;
}

.tribute-badge {
    display: inline-flex;
    align-self: flex-start;
    background: var(--red-600);
    color: var(--white);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    margin-bottom: 1.4rem;
}

.tribute-quote {
    font-family: var(--font-display);
    font-size: clamp(2.1rem, 3.6vw, 2.9rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.05;
    margin: 0 0 1rem;
    color: var(--white);
}

.tribute-text {
    color: #ebe7e8;
    font-size: 1rem;
    margin: 0 0 1.5rem;
    position: relative;
    z-index: 1;
}

.tribute-founder {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1rem;
    position: relative;
    z-index: 1;
}

.tribute-founder strong {
    display: block;
    font-size: 1.05rem;
    color: var(--white);
}

.tribute-founder span {
    font-size: 0.88rem;
    color: var(--red-200);
}

/* ---------- Alerts / DB Notice ---------- */
.alert {
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    font-size: 0.93rem;
    border: 1px solid transparent;
}

.alert-warning {
    background: #fffbeb;
    border-color: #fcd34d;
    color: #92400e;
}

.alert-success {
    background: #f0fdf4;
    border-color: #86efac;
    color: #166534;
}

.alert-error {
    background: var(--red-50);
    border-color: var(--red-200);
    color: var(--red-800);
}

.alert code {
    background: rgba(0, 0, 0, 0.07);
    padding: 0.12rem 0.4rem;
    border-radius: 4px;
    font-size: 0.86em;
}

/* ---------- Calendar Section ---------- */
.calendar-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.95rem;
    border-radius: 999px;
    border: 1px solid var(--ink-300);
    background: var(--white);
    color: var(--ink-700);
    font-size: 0.84rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.16s ease;
}

.filter-pill:hover {
    border-color: var(--red-600);
    color: var(--red-600);
}

.filter-pill.active {
    background: var(--red-600);
    border-color: var(--red-600);
    color: var(--white);
}

.cat-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.calendar-layout {
    display: grid;
    grid-template-columns: 1.55fr 0.85fr;
    gap: 1.75rem;
    align-items: start;
}

.calendar-card,
.upcoming-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--ink-200);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.calendar-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.15rem 1.4rem;
    background: var(--ink-950);
    color: var(--white);
    border-bottom: 3px solid var(--red-600);
}

.calendar-month-label {
    font-family: var(--font-display);
    font-size: 1.65rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin: 0;
}

.calendar-nav-controls {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.cal-nav-btn {
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    padding: 0.42rem 0.78rem;
    font-size: 0.86rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.16s ease;
}

.cal-nav-btn:hover {
    background: var(--red-600);
    border-color: var(--red-600);
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background: var(--ink-100);
    border-bottom: 1px solid var(--ink-200);
}

.calendar-weekdays div {
    text-align: center;
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ink-600);
    padding: 0.65rem 0.25rem;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}

.calendar-day {
    min-height: 112px;
    padding: 0.45rem;
    border-right: 1px solid var(--ink-200);
    border-bottom: 1px solid var(--ink-200);
    background: var(--white);
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    position: relative;
    transition: background-color 0.14s ease;
}

.calendar-day:nth-child(7n) {
    border-right: none;
}

.calendar-day.is-outside {
    background: #f8f8fb;
    color: var(--ink-500);
}

.calendar-day.is-today {
    background: var(--red-50);
}

.calendar-day-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.25rem;
}

.day-number {
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--ink-800);
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.calendar-day.is-outside .day-number {
    color: #a5a5b3;
}

.calendar-day.is-today .day-number {
    background: var(--red-600);
    color: var(--white);
}

.day-add-btn {
    opacity: 0;
    width: 22px;
    height: 22px;
    border-radius: 6px;
    border: 1px solid var(--ink-300);
    background: var(--white);
    color: var(--ink-700);
    font-size: 0.88rem;
    line-height: 1;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}

.calendar-day:hover .day-add-btn,
.day-add-btn:focus {
    opacity: 1;
}

.day-add-btn:hover {
    background: var(--red-600);
    border-color: var(--red-600);
    color: var(--white);
}

.cal-event-chip {
    display: block;
    width: 100%;
    text-align: left;
    border: none;
    border-left: 3px solid var(--cat-training);
    background: var(--red-50);
    color: var(--ink-900);
    border-radius: 6px;
    padding: 0.28rem 0.42rem;
    font-size: 0.74rem;
    line-height: 1.25;
    cursor: pointer;
    transition: transform 0.14s ease, box-shadow 0.14s ease;
    overflow: hidden;
}

.cal-event-chip:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.cal-event-chip .chip-time {
    font-weight: 800;
    margin-right: 0.25rem;
}

.cal-event-chip .chip-title {
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cal-event-chip.cat-training {
    border-left-color: var(--cat-training);
    background: #fff1f1;
}

.cal-event-chip.cat-parkrun {
    border-left-color: var(--cat-parkrun);
    background: #ecfdf5;
}

.cal-event-chip.cat-race {
    border-left-color: var(--cat-race);
    background: #fffbeb;
}

.cal-event-chip.cat-social {
    border-left-color: var(--cat-social);
    background: #eff6ff;
}

.cal-event-chip.cat-other {
    border-left-color: var(--cat-other);
    background: #f4f4f6;
}

/* Upcoming Sidebar */
.upcoming-header {
    padding: 1.15rem 1.35rem;
    background: var(--red-600);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.upcoming-header h3 {
    font-family: var(--font-display);
    font-size: 1.45rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0;
}

.upcoming-list {
    padding: 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-height: 620px;
    overflow-y: auto;
}

.upcoming-item {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 0.85rem;
    padding: 0.85rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--ink-200);
    background: var(--surface);
    transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.upcoming-item:hover {
    border-color: var(--red-200);
    box-shadow: var(--shadow-sm);
}

.date-badge {
    background: var(--ink-950);
    color: var(--white);
    border-radius: 10px;
    text-align: center;
    padding: 0.45rem 0.3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-self: start;
    border-top: 3px solid var(--red-600);
}

.date-badge .month {
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--red-200);
}

.date-badge .day {
    font-family: var(--font-display);
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1.05;
}

.date-badge .dow {
    font-size: 0.66rem;
    text-transform: uppercase;
    color: #c5c5d2;
}

.upcoming-meta {
    min-width: 0;
}

.upcoming-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.4rem;
    margin-bottom: 0.2rem;
}

.badge-cat {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.18rem 0.52rem;
    border-radius: 999px;
    color: var(--white);
}

.badge-cat.cat-training { background: var(--cat-training); }
.badge-cat.cat-parkrun  { background: var(--cat-parkrun); }
.badge-cat.cat-race     { background: var(--cat-race); }
.badge-cat.cat-social   { background: var(--cat-social); }
.badge-cat.cat-other    { background: var(--cat-other); }

.upcoming-time {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--ink-700);
}

.upcoming-title-btn {
    background: none;
    border: none;
    padding: 0;
    margin: 0 0 0.2rem;
    font-family: var(--font-body);
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--ink-950);
    text-align: left;
    cursor: pointer;
}

.upcoming-title-btn:hover {
    color: var(--red-600);
}

.upcoming-loc {
    font-size: 0.82rem;
    color: var(--ink-600);
    margin: 0 0 0.45rem;
}

.upcoming-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--red-600);
}

.upcoming-link:hover {
    text-decoration: underline;
}

.empty-state {
    text-align: center;
    padding: 2rem 1rem;
    color: var(--ink-600);
    font-size: 0.92rem;
}

/* ---------- Facebook / Community Section ---------- */
.community-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2.25rem;
    align-items: start;
}

.fb-embed-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--ink-200);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.fb-embed-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.35rem;
    background: var(--ink-950);
    color: var(--white);
    border-bottom: 3px solid var(--red-600);
}

.fb-embed-header strong {
    font-family: var(--font-display);
    font-size: 1.3rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.fb-iframe-wrap {
    display: flex;
    justify-content: center;
    background: #f0f2f5;
    padding: 1rem;
    min-height: 520px;
}

.fb-iframe-wrap iframe {
    width: 100%;
    max-width: 500px;
    height: 520px;
    border: none;
    overflow: hidden;
    border-radius: 10px;
    background: var(--white);
}

.fb-fallback-note {
    padding: 0.9rem 1.35rem;
    background: var(--red-50);
    border-top: 1px solid var(--red-100);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    font-size: 0.87rem;
    color: var(--ink-700);
}

.community-info-stack {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.info-panel {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--ink-200);
    padding: 1.65rem;
    box-shadow: var(--shadow-sm);
}

.info-panel.accent {
    border-left: 5px solid var(--red-600);
}

.info-panel h3 {
    font-family: var(--font-display);
    font-size: 1.55rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin: 0 0 0.6rem;
    color: var(--ink-950);
}

.info-panel p {
    margin: 0 0 1rem;
    color: var(--ink-700);
    font-size: 0.96rem;
}

.schedule-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.schedule-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 0.95rem;
    background: var(--surface);
    border-radius: var(--radius-sm);
    border: 1px solid var(--ink-200);
    font-size: 0.92rem;
}

.schedule-day {
    font-weight: 800;
    color: var(--red-700);
}

/* ---------- Coaches & Contact Section ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.contact-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-top: 4px solid var(--red-500);
    border-radius: var(--radius-lg);
    padding: 1.85rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-card h3 {
    font-family: var(--font-display);
    font-size: 1.65rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0 0 0.65rem;
    color: var(--white);
}

.contact-card p {
    color: #dedee8;
    margin: 0 0 1rem;
    font-size: 0.96rem;
}

.people-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.15rem;
}

.person-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(220, 20, 20, 0.25);
    border: 1px solid rgba(255, 197, 197, 0.35);
    color: var(--white);
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.92rem;
}

.fee-highlight {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin: 0.4rem 0 0.75rem;
}

.fee-highlight span {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--red-200);
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--ink-950);
    color: #c7c7d4;
    border-top: 4px solid var(--red-600);
    padding: 2.75rem 0 2rem;
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding-bottom: 1.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-brand img {
    height: 52px;
    border-radius: 8px;
    border: 2px solid var(--red-600);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
}

.footer-links a {
    color: #e4e4ec;
    font-size: 0.9rem;
    font-weight: 600;
}

.footer-links a:hover {
    color: var(--red-500);
}

.footer-bottom {
    padding-top: 1.25rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.75rem;
    font-size: 0.84rem;
    color: #9898a8;
}

/* ---------- Modals ---------- */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 14, 0.72);
    backdrop-filter: blur(4px);
    z-index: 500;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-backdrop.is-open {
    display: flex;
}

.modal-dialog {
    width: min(560px, 100%);
    max-height: 92vh;
    overflow-y: auto;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border-top: 5px solid var(--red-600);
    animation: modalIn 0.18s ease-out;
}

@keyframes modalIn {
    from { opacity: 0; transform: translateY(10px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid var(--ink-200);
}

.modal-title {
    font-family: var(--font-display);
    font-size: 1.6rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin: 0;
    color: var(--ink-950);
}

.modal-close {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--ink-200);
    background: var(--ink-100);
    color: var(--ink-800);
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
}

.modal-close:hover {
    background: var(--red-600);
    border-color: var(--red-600);
    color: var(--white);
}

.modal-body {
    padding: 1.4rem 1.5rem 1.6rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.form-group.full {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--ink-800);
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-body);
    font-size: 0.94rem;
    padding: 0.68rem 0.85rem;
    border: 1.5px solid var(--ink-300);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--ink-900);
    transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--red-600);
    box-shadow: 0 0 0 3px rgba(220, 20, 20, 0.14);
}

.form-hint {
    font-size: 0.77rem;
    color: var(--ink-500);
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-top: 1.35rem;
}

.detail-meta-list {
    display: grid;
    gap: 0.65rem;
    margin: 1rem 0 1.2rem;
    padding: 1rem;
    background: var(--surface);
    border-radius: var(--radius-md);
    border: 1px solid var(--ink-200);
}

.detail-meta-row {
    display: flex;
    gap: 0.6rem;
    font-size: 0.93rem;
}

.detail-meta-row strong {
    min-width: 82px;
    color: var(--ink-600);
}

.detail-desc {
    color: var(--ink-700);
    font-size: 0.96rem;
    margin: 0 0 1.35rem;
    white-space: pre-line;
}

/* Toast Notification */
.toast {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 600;
    background: var(--ink-950);
    color: var(--white);
    border-left: 4px solid var(--red-600);
    padding: 0.9rem 1.2rem;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    font-size: 0.9rem;
    font-weight: 600;
    transform: translateY(16px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.22s ease;
}

.toast.is-visible {
    transform: translateY(0);
    opacity: 1;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .hero-grid,
    .legacy-grid,
    .calendar-layout,
    .community-grid {
        grid-template-columns: 1fr;
    }

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

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

@media (max-width: 760px) {
    .nav-toggle {
        display: inline-flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 74px;
        left: 0;
        right: 0;
        background: var(--ink-950);
        flex-direction: column;
        align-items: stretch;
        padding: 1rem 1.5rem 1.4rem;
        border-bottom: 3px solid var(--red-600);
        gap: 0.85rem;
    }

    .nav-links.is-open {
        display: flex;
    }

    .facts-grid {
        grid-template-columns: 1fr;
    }

    .legacy-highlights,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .calendar-day {
        min-height: 78px;
        padding: 0.28rem;
    }

    .cal-event-chip {
        font-size: 0.67rem;
        padding: 0.2rem 0.28rem;
    }

    .calendar-nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
}
