/* ══════════════════════════════════════════════════════════════════════════
   The Bobcat Club — Boca Blue & Gold theme
   ══════════════════════════════════════════════════════════════════════════ */

:root {
    --blue:         #0B2E6F;   /* Boca Bobcat royal blue */
    --blue-dark:    #071F4C;
    --blue-deep:    #04122E;
    --gold:         #F5A800;   /* athletic gold */
    --gold-light:   #FFC845;
    --gold-dark:    #C98A00;
    --white:        #ffffff;
    --off-white:    #f5f8fd;
    --text:         #04122E;
    --text-light:   #4a5578;
    --border:       #dbe3f2;

    --radius:       14px;
    --radius-sm:    8px;
    --shadow:       0 4px 16px rgba(4, 18, 46, 0.08);
    --shadow-lg:    0 14px 44px rgba(4, 18, 46, 0.16);
    --transition:   all 0.25s ease;

    --font-heading: 'Barlow Condensed', 'Arial Narrow', sans-serif;
    --font-body:    'Inter', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--white);
    line-height: 1.65;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold-dark); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* ── Typography ─────────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    color: var(--blue-deep);
    line-height: 1.05;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); margin-bottom: 1rem; }
h3 { font-size: 1.4rem; margin-bottom: 0.5rem; }
h4 { font-size: 1rem; letter-spacing: 0.15em; }

.section-tag {
    display: inline-block;
    font-family: var(--font-heading);
    background: var(--gold);
    color: var(--blue-deep);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.18em;
    padding: 0.35rem 1.1rem;
    border-radius: 3px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

/* ── Buttons ────────────────────────────────────────────────────────────── */
.btn-primary, .btn-secondary {
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 1rem;
    padding: 0.8rem 1.9rem;
    border-radius: 3px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background: var(--gold);
    color: var(--blue-deep);
    border-color: var(--gold);
}
.btn-primary:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    color: var(--blue-deep);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}
.btn-primary:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.7);
}
.btn-secondary:hover {
    background: var(--white);
    color: var(--blue-deep);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-large { padding: 1.05rem 2.6rem; font-size: 1.1rem; }

/* ── Header ─────────────────────────────────────────────────────────────── */
header {
    position: fixed;
    top: 0; left: 0; right: 0;
    background: rgba(4, 18, 46, 0.95);
    backdrop-filter: blur(8px);
    z-index: 1000;
    border-bottom: 3px solid var(--gold);
    transition: var(--transition);
}
header.scrolled { box-shadow: var(--shadow-lg); }
header.scrolled nav { padding-top: 0.6rem; padding-bottom: 0.6rem; }

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    transition: var(--transition);
}

.logo a {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--white);
}
.logo img { height: 46px; width: 46px; object-fit: contain; }
.logo .brand-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--white);
}
.logo .brand-name small {
    display: block;
    color: var(--gold);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    margin-top: 4px;
}

nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 1.6rem;
}
nav ul a {
    color: var(--white);
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 0.1em;
    font-weight: 500;
    position: relative;
}
nav ul a:not(.btn-primary):hover { color: var(--gold); }
nav ul a.active:not(.btn-primary) { color: var(--gold); }
nav ul a.active:not(.btn-primary)::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -8px;
    height: 2px;
    background: var(--gold);
}
nav .btn-primary { padding: 0.5rem 1.2rem; font-size: 0.9rem; }

.social-icons {
    display: inline-flex;
    gap: 0.5rem;
    align-items: center;
    list-style: none;
}
.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px; height: 34px;
    border-radius: 50%;
    background: var(--blue);
    color: var(--white);
    transition: var(--transition);
}
.social-icons a:hover {
    background: var(--gold);
    color: var(--blue-deep);
    transform: translateY(-2px);
}
.social-icons svg { width: 16px; height: 16px; fill: currentColor; }

/* On the dark header and footer, use a translucent chip instead of solid blue */
header .social-icons a,
footer .social-icons a {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}
header .social-icons a:hover,
footer .social-icons a:hover {
    background: var(--gold);
    color: var(--blue-deep);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    z-index: 1002;
}
.menu-toggle span {
    display: block;
    width: 24px;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}
.menu-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.nav-overlay.active { opacity: 1; }

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero {
    background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue) 65%, var(--blue-dark) 100%);
    color: var(--white);
    padding: 11rem 0 6rem;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 18%, rgba(245, 168, 0, 0.16) 0%, transparent 42%),
        radial-gradient(circle at 88% 82%, rgba(245, 168, 0, 0.10) 0%, transparent 50%);
    pointer-events: none;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--gold) 0%, var(--gold-dark) 100%);
}
.hero .container {
    position: relative;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 3rem;
    align-items: center;
}
.hero-content h1 { color: var(--white); }
.hero-content h1 span { display: block; color: var(--gold); }
.hero-content p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 1.5rem 0 2rem;
    max-width: 540px;
}
.cta-group { display: flex; flex-wrap: wrap; gap: 1rem; }

/* The hero mark stands in for a photo — the site ships before there are any.
   Capped at 200px on purpose: the source logo is only 103px square, and past
   roughly 2x the mascot's black linework goes visibly soft. Raise this the day
   a higher-resolution logo lands. */
.hero-mark {
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-mark img {
    width: min(200px, 55vw);
    height: auto;
    filter: drop-shadow(0 14px 32px rgba(0, 0, 0, 0.4));
}
.hero-image img {
    max-height: 420px;
    border-radius: var(--radius);
    border: 3px solid var(--gold);
    box-shadow: var(--shadow-lg);
    object-fit: cover;
}

/* ── Motto ribbon ───────────────────────────────────────────────────────── */
.motto {
    background: var(--gold);
    color: var(--blue-deep);
    padding: 0.9rem 0;
    text-align: center;
    font-family: var(--font-heading);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 1rem;
}
.motto span { margin: 0 0.9rem; }

/* ── Mission / About ────────────────────────────────────────────────────── */
.mission { padding: 5rem 0; background: var(--off-white); }
.mission-flex {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}
.mission-text p {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 1.25rem;
}
.mission-visual img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    border: 3px solid var(--gold);
}

/* Pull-quote panel used where a photo would otherwise sit */
.mission-panel {
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
    color: var(--white);
    border-radius: var(--radius);
    padding: 2.75rem 2.25rem;
    box-shadow: var(--shadow-lg);
    border-left: 6px solid var(--gold);
}
.mission-panel h3 { color: var(--gold); font-size: 1.15rem; letter-spacing: 0.15em; }
.mission-panel ul { list-style: none; margin-top: 1.25rem; }
.mission-panel li {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.98rem;
    color: rgba(255, 255, 255, 0.88);
}
.mission-panel li:last-child { border-bottom: none; }
.mission-panel li::before {
    content: '';
    flex: 0 0 auto;
    width: 9px; height: 9px;
    margin-top: 0.55rem;
    background: var(--gold);
    transform: rotate(45deg);
}

/* ── Impact / where the money goes ──────────────────────────────────────── */
.services { padding: 5rem 0; background: var(--white); }
.section-head { text-align: center; margin-bottom: 3rem; }
.section-head p {
    color: var(--text-light);
    max-width: 640px;
    margin: 0.75rem auto 0;
}
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}
.service-card {
    padding: 2rem 1.6rem;
    background: var(--white);
    border-radius: var(--radius);
    border-top: 4px solid var(--gold);
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-card .icon { font-size: 2.2rem; margin-bottom: 0.9rem; line-height: 1; }
.service-card h3 { color: var(--blue); }
.service-card p { color: var(--text-light); font-size: 0.95rem; }
.service-card.donate-card {
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
    color: var(--white);
}
.service-card.donate-card h3 { color: var(--gold); }
.service-card.donate-card p { color: rgba(255, 255, 255, 0.85); }
.service-card.donate-card .btn-primary { margin-top: auto; }

/* ── Calendar ───────────────────────────────────────────────────────────── */
.events-section { padding: 5rem 0; background: var(--off-white); }
.calendar-wrapper { text-align: center; }
.calendar-wrapper > p {
    color: var(--text-light);
    max-width: 620px;
    margin: 0 auto 2rem;
}
#calendar {
    max-width: 960px;
    margin: 0 auto;
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: left;
}
.fc-toolbar-title { font-family: var(--font-heading) !important; color: var(--blue) !important; text-transform: uppercase; }
.fc-button-primary {
    background: var(--blue) !important;
    border-color: var(--blue) !important;
    font-family: var(--font-heading) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    font-size: 0.9rem !important;
}
.fc-button-primary:hover { background: var(--blue-dark) !important; border-color: var(--blue-dark) !important; }
.fc-button-active { background: var(--gold-dark) !important; border-color: var(--gold-dark) !important; color: var(--blue-deep) !important; }
.fc-daygrid-event { border-radius: 3px; padding: 2px 6px; font-size: 0.85rem; }
.calendar-empty {
    max-width: 960px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    color: var(--text-light);
    background: var(--white);
    border: 2px dashed var(--border);
    border-radius: var(--radius);
}

/* ── CTA band ───────────────────────────────────────────────────────────── */
.signup-cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue) 100%);
    color: var(--white);
    text-align: center;
}
.signup-cta h2 { color: var(--white); }
.signup-cta p {
    color: rgba(255, 255, 255, 0.85);
    max-width: 620px;
    margin: 0 auto 2rem;
    font-size: 1.08rem;
}

/* ── Form pages (donate / contact) ──────────────────────────────────────── */
body.signup-page { padding-top: 92px; }
.signup-hero { padding: 3.5rem 0 5rem; background: var(--off-white); }
.signup-box {
    background: var(--white);
    color: var(--text);
    padding: 3rem;
    border-radius: var(--radius);
    max-width: 660px;
    margin: 0 auto;
    box-shadow: var(--shadow-lg);
    border-top: 6px solid var(--gold);
}
.signup-box h2 { color: var(--blue-deep); }
.signup-box > p { color: var(--text-light); }
.signup-box .small { font-size: 0.85rem; color: var(--text-light); }

.signup-form { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.75rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-row.single { grid-template-columns: 1fr; }
.signup-form input,
.signup-form select,
.signup-form textarea {
    width: 100%;
    padding: 0.85rem 1.1rem;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--border);
    font-family: inherit;
    font-size: 0.95rem;
    background: #fafcff;
    color: var(--text);
    transition: var(--transition);
}
.signup-form input:focus,
.signup-form select:focus,
.signup-form textarea:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(11, 46, 111, 0.15);
    background: var(--white);
}
.signup-form textarea { min-height: 110px; resize: vertical; }

.form-message {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-sm);
    margin-top: 1rem;
    font-size: 0.95rem;
    display: none;
}
.form-message.success {
    display: block;
    background: #e7f7ec;
    color: #0f5132;
    border-left: 4px solid #198754;
}
.form-message.error {
    display: block;
    background: #fde7ea;
    color: #842029;
    border-left: 4px solid #dc3545;
}
.form-message h3 { color: inherit; margin-bottom: 0.5rem; }

/* Donation presets */
.donation-presets {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    margin: 0.5rem 0 0.5rem;
}
.preset-btn {
    padding: 0.85rem 0.5rem;
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--blue);
    cursor: pointer;
    transition: var(--transition);
}
.preset-btn:hover { border-color: var(--blue); }
.preset-btn.active {
    background: var(--blue);
    color: var(--gold);
    border-color: var(--blue);
}

.dba-notice {
    background: #eef3fc;
    color: var(--text);
    padding: 1rem 1.25rem;
    border-radius: var(--radius-sm);
    border-left: 4px solid var(--blue);
    font-size: 0.88rem;
    line-height: 1.6;
    margin: 1.5rem 0;
}
.dba-notice strong { color: var(--blue-deep); }

.secure-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    font-size: 0.82rem;
    color: var(--text-light);
}
.secure-note svg { width: 14px; height: 14px; fill: currentColor; flex: 0 0 auto; }

/* ── Gallery ────────────────────────────────────────────────────────────── */
.gallery-header { text-align: center; margin-bottom: 3rem; }
.gallery-header p {
    color: var(--text-light);
    max-width: 640px;
    margin: 0.75rem auto 0;
}
.gallery-section { margin-bottom: 4rem; }
.gallery-section-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--gold);
    display: inline-block;
}
/* Masonry via multi-column rather than a fixed-ratio grid. The team photos are
   all portrait; a 4:3 tile with object-fit:cover was cropping ~44% of their
   height and decapitating people. Columns let every photo show whole at its own
   aspect ratio, so portrait and landscape can be mixed freely from here on. */
.gallery-grid {
    columns: 260px;
    column-gap: 1rem;
}
.gallery-item {
    display: block;
    margin: 0 0 1rem;
    break-inside: avoid;
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    background: var(--off-white);
}
.gallery-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.gallery-item img {
    width: 100%;
    height: auto;
    transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-empty {
    text-align: center;
    padding: 3.5rem 1.5rem;
    color: var(--text-light);
    background: var(--off-white);
    border-radius: var(--radius);
    border: 2px dashed var(--border);
    column-span: all;
}
.gallery-empty h3 { color: var(--blue); margin-bottom: 0.5rem; }

/* ── Sponsorship page ───────────────────────────────────────────────────── */
.sponsor-intro {
    background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue) 100%);
    color: var(--white);
    padding: 3.5rem 0 3rem;
    border-bottom: 6px solid var(--gold);
}
.sponsor-intro h1 { color: var(--white); font-size: clamp(2.2rem, 5vw, 3.6rem); }
.sponsor-intro h1 span { display: block; color: var(--gold); }
.sponsor-intro .lead {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    max-width: 680px;
    margin-top: 1.25rem;
}

.packet-link { margin-top: 1.5rem; }
.packet-link a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1.5px solid var(--gold);
    color: var(--gold);
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.95rem;
    padding: 0.6rem 1.2rem;
    border-radius: 3px;
    transition: var(--transition);
}
.packet-link a:hover { background: var(--gold); color: var(--blue-deep); }
.packet-link a svg { width: 17px; height: 17px; fill: currentColor; flex: 0 0 auto; }
.packet-link span {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.tiers-section { padding: 4rem 0 3rem; background: var(--off-white); }

.tier-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.25rem;
    align-items: stretch;
}
.tier-card {
    background: var(--white);
    border-radius: var(--radius);
    border-top: 5px solid var(--border);
    box-shadow: var(--shadow);
    padding: 1.75rem 1.4rem;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition);
}
.tier-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.tier-card h3 { color: var(--blue); font-size: 1.35rem; }
.tier-card .tier-price {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--blue-deep);
    line-height: 1;
    margin: 0.35rem 0 1.1rem;
}
.tier-card.featured { border-top-color: var(--gold); }
.tier-card.championship {
    border-top-color: var(--gold);
    background: linear-gradient(160deg, var(--blue) 0%, var(--blue-dark) 100%);
    color: var(--white);
}
.tier-card.championship h3,
.tier-card.championship .tier-price { color: var(--gold); }
.tier-card.championship .tier-benefits li { color: rgba(255, 255, 255, 0.9); }
.tier-card.championship .tier-note { color: rgba(255, 255, 255, 0.7); }

.tier-flag {
    position: absolute;
    top: -12px; right: 14px;
    background: var(--gold);
    color: var(--blue-deep);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 0.25rem 0.7rem;
    border-radius: 3px;
}

.tier-benefits { list-style: none; margin-bottom: 1rem; }
.tier-benefits li {
    position: relative;
    padding: 0.4rem 0 0.4rem 1.6rem;
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.5;
}
.tier-benefits li::before {
    position: absolute;
    left: 0; top: 0.4rem;
    font-weight: 700;
}
.tier-benefits li.yes::before { content: '✓'; color: #198754; }
.tier-benefits li.no::before  { content: '—'; color: #b6bfd0; }
.tier-benefits li.no { color: #b6bfd0; }
.tier-card.championship .tier-benefits li.yes::before { color: var(--gold); }

.tier-note {
    margin-top: auto;
    padding-top: 0.75rem;
    font-size: 0.85rem;
    color: var(--text-light);
    border-top: 1px solid var(--border);
}
.tier-card.championship .tier-note { border-top-color: rgba(255, 255, 255, 0.15); }

/* Specialty package — deliberately set apart from the ladder grid, because it
   competes on a different axis and shouldn't read as "between White and Blue". */
.specialty-block { margin-top: 1.5rem; }
.tier-card.specialty {
    border-top-color: var(--gold);
    border-left: 5px solid var(--gold);
    max-width: 100%;
}
.tier-card.specialty .tier-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 0 1.5rem;
}
.tier-card.specialty .tier-price { color: var(--blue); }
.or-inkind {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-light);
    letter-spacing: 0;
}
.tier-flag.alt { background: var(--blue); color: var(--gold); }

.tier-fineprint {
    margin-top: 2rem;
    font-size: 0.88rem;
    color: var(--text-light);
    max-width: 780px;
}

/* Radio cards for tier + payment method */
.choice-set { border: none; margin-top: 0.5rem; }
.choice-set legend {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.95rem;
    color: var(--blue-deep);
    margin-bottom: 0.6rem;
    padding: 0;
}
.choice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.6rem;
}
.choice-grid.three { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.choice {
    position: relative;
    display: block;
    cursor: pointer;
}
/* Visually hidden but still focusable, so keyboard users get a focus ring */
.choice input {
    position: absolute;
    opacity: 0;
    width: 1px; height: 1px;
}
.choice span {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.8rem 0.9rem;
    background: #fafcff;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    height: 100%;
}
.choice span strong {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    letter-spacing: 0.03em;
    color: var(--blue-deep);
    text-transform: uppercase;
}
.choice span em {
    font-style: normal;
    font-size: 0.85rem;
    color: var(--text-light);
}
.choice:hover span { border-color: var(--blue); }
.choice input:checked + span {
    border-color: var(--blue);
    background: #eef3fc;
    box-shadow: 0 0 0 3px rgba(11, 46, 111, 0.12);
}
.choice input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.choice input:checked + span strong { color: var(--blue); }

.method-note {
    display: none;
    margin-top: 0.25rem;
    padding: 0.85rem 1.1rem;
    background: #eef3fc;
    border-left: 4px solid var(--blue);
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--text);
}
.method-note.show { display: block; }

.legal-section { padding: 0 0 4rem; background: var(--off-white); }
.legal-section .dba-notice { max-width: 880px; margin: 0 auto; }

/* ── Sponsor wall (home page) ───────────────────────────────────────────── */
.sponsor-wall { padding: 4rem 0; background: var(--white); }
.sponsor-tier-group { margin-bottom: 2.5rem; text-align: center; }
.sponsor-tier-label {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 1.25rem;
    position: relative;
}
.sponsor-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1.5rem 2.5rem;
}
.sponsor-logos a, .sponsor-logos span { display: block; line-height: 0; }
.sponsor-logos img {
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.75;
    transition: var(--transition);
}
.sponsor-logos a:hover img { filter: none; opacity: 1; transform: scale(1.04); }
/* Logo size IS the benefit ladder — this is what a sponsor is buying */
.tier-championship .sponsor-logos img { max-height: 120px; max-width: 320px; filter: none; opacity: 1; }
.tier-gold         .sponsor-logos img { max-height: 84px;  max-width: 230px; }
.tier-blue         .sponsor-logos img { max-height: 62px;  max-width: 180px; }
.tier-white        .sponsor-logos img { max-height: 48px;  max-width: 150px; }
.tier-meal         .sponsor-logos img { max-height: 54px;  max-width: 165px; }
.tier-backer       .sponsor-logos img { max-height: 36px;  max-width: 120px; }
.sponsor-backer-names {
    font-size: 0.92rem;
    color: var(--text-light);
    max-width: 780px;
    margin: 0 auto;
    line-height: 1.9;
}
.sponsor-cta { text-align: center; margin-top: 2.5rem; }

/* ── Payment result pages ───────────────────────────────────────────────── */
.result-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
    background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue) 100%);
}
.result-card {
    background: var(--white);
    max-width: 560px;
    width: 100%;
    padding: 3rem 2.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    text-align: center;
    border-top: 6px solid var(--gold);
}
.result-card .result-icon { font-size: 3.5rem; line-height: 1; margin-bottom: 1rem; }
.result-card h1 { font-size: 2.2rem; margin-bottom: 0.75rem; }
.result-card p { color: var(--text-light); margin-bottom: 1rem; }
.result-card .actions { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; margin-top: 1.75rem; }
.result-card .actions .btn-secondary { color: var(--blue); border-color: var(--blue); }
.result-card .actions .btn-secondary:hover { background: var(--blue); color: var(--white); }

/* ── Footer ─────────────────────────────────────────────────────────────── */
footer {
    background: var(--blue-deep);
    color: rgba(255, 255, 255, 0.75);
    padding: 4rem 0 1.5rem;
    border-top: 4px solid var(--gold);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1.4fr;
    gap: 3rem;
    margin-bottom: 3rem;
}
.footer-brand .logo img { height: 70px; width: 70px; object-fit: contain; }
.footer-brand p { margin-top: 1rem; font-size: 0.9rem; color: rgba(255, 255, 255, 0.6); }
footer h4 { color: var(--gold); margin-bottom: 1rem; letter-spacing: 0.15em; }
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a { color: rgba(255, 255, 255, 0.75); font-size: 0.9rem; }
.footer-links a:hover { color: var(--gold); }
.footer-social p { font-size: 0.9rem; margin-bottom: 1rem; }
.footer-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.8;
}
.footer-bottom .legal { display: block; max-width: 620px; margin: 0.5rem auto 0; }

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
    .hero .container { grid-template-columns: 1fr; text-align: center; }
    .hero-content p { margin-left: auto; margin-right: auto; }
    .cta-group { justify-content: center; }
    .hero-mark { order: -1; margin-bottom: 1rem; }
    .hero-mark img { width: min(150px, 40vw); }
    .mission-flex { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 760px) {
    .menu-toggle { display: flex; }
    nav ul {
        position: fixed;
        top: 0; right: -100%;
        height: 100vh;
        width: 280px;
        max-width: 85vw;
        background: var(--blue-deep);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 6rem 2rem 2rem;
        gap: 1.5rem;
        transition: right 0.3s ease;
        z-index: 1001;
        box-shadow: -8px 0 32px rgba(0, 0, 0, 0.3);
        overflow-y: auto;
    }
    nav ul.active { right: 0; }
    nav ul a { font-size: 1.15rem; }
    .social-icons { margin-left: auto; margin-right: 1rem; }
    .nav-overlay.active { display: block; }
    .signup-box { padding: 2rem 1.4rem; }
    .form-row { grid-template-columns: 1fr; }
    .donation-presets { grid-template-columns: repeat(2, 1fr); }
    .hero { padding: 8.5rem 0 4rem; }
    .result-card { padding: 2.25rem 1.5rem; }
}
