@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Space+Grotesk:wght@400;500;700&display=swap');

:root {
    --bg: #f5efe3;
    --bg-strong: #efe5d2;
    --ink: #1a2233;
    --muted: #5e6572;
    --panel: rgba(255, 252, 246, 0.82);
    --panel-strong: #fffaf1;
    --line: rgba(26, 34, 51, 0.12);
    --shadow: 0 22px 40px rgba(29, 37, 51, 0.10);
    --accent: #c2410c;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Space Grotesk", "Segoe UI", sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(194, 65, 12, 0.18), transparent 32%),
        radial-gradient(circle at top right, rgba(29, 78, 216, 0.14), transparent 30%),
        linear-gradient(180deg, #f7f1e6 0%, #efe5d2 100%);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.2) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.16) 1px, transparent 1px);
    background-size: 28px 28px;
    opacity: 0.36;
}

.site-shell {
    position: relative;
    max-width: 1220px;
    margin: 0 auto;
    padding: 32px 20px 64px;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.95fr);
    gap: 24px;
    align-items: stretch;
}

.hero-copy,
.hero-panel,
.summary-card,
.sport-card,
.note-card {
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    backdrop-filter: blur(8px);
}

.hero-copy {
    padding: 34px;
    border-radius: 28px;
    background: linear-gradient(140deg, rgba(255, 250, 241, 0.92), rgba(255, 247, 234, 0.72));
}

.eyebrow,
.section-kicker,
.note-label,
.hero-panel-label,
.summary-label,
.sport-status,
.sport-slug {
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 700;
}

.eyebrow,
.section-kicker,
.note-label,
.hero-panel-label {
    color: var(--accent);
    margin: 0 0 10px;
}

.hero h1,
.section-head h2,
.sport-card h3,
.note-card h3 {
    margin: 0;
}

.hero h1,
.section-head h2 {
    font-family: "Instrument Serif", Georgia, serif;
    font-weight: 400;
    letter-spacing: -0.03em;
}

.hero h1 {
    font-size: clamp(2.8rem, 7vw, 5.2rem);
    line-height: 0.95;
    max-width: 10ch;
}

.hero-text,
.section-copy,
.sport-summary,
.note-card p,
.hero-points li,
.sport-tagline {
    color: var(--muted);
    line-height: 1.65;
}

.hero-text {
    margin: 20px 0 0;
    max-width: 58ch;
    font-size: 1.02rem;
}

.hero-panel {
    padding: 28px;
    border-radius: 28px;
    color: #f8fafc;
    background:
        radial-gradient(circle at top, rgba(249, 115, 22, 0.30), transparent 42%),
        linear-gradient(180deg, #12203a 0%, #0f172a 100%);
}

.hero-panel-label {
    color: #fdba74;
}

.hero-points {
    margin: 0;
    padding-left: 20px;
    display: grid;
    gap: 14px;
}

.summary-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 22px 0 42px;
}

.summary-card {
    padding: 22px 24px;
    border-radius: 22px;
    background: var(--panel);
}

.summary-value {
    display: block;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1;
}

.summary-label {
    display: inline-block;
    margin-top: 8px;
    color: var(--muted);
}

.section-head {
    margin-bottom: 18px;
}

.section-head h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1;
}

.section-copy {
    max-width: 64ch;
    margin: 10px 0 0;
}

.sports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
}

.sport-card {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    padding: 22px;
    background:
        radial-gradient(circle at top right, color-mix(in srgb, var(--sport-accent) 20%, transparent), transparent 28%),
        linear-gradient(180deg, rgba(255, 251, 244, 0.98), rgba(255, 246, 234, 0.90));
}

.sport-card::after {
    content: "";
    position: absolute;
    inset: auto -40px -60px auto;
    width: 180px;
    height: 180px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--sport-accent) 14%, white);
    opacity: 0.85;
}

.sport-card > * {
    position: relative;
    z-index: 1;
}

.sport-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.sport-status {
    color: var(--sport-accent);
}

.sport-slug {
    color: color-mix(in srgb, var(--sport-surface) 70%, white);
}

.sport-card h3 {
    margin-top: 10px;
    font-size: 1.7rem;
}

.sport-tagline {
    margin: 10px 0 0;
    font-weight: 500;
}

.sport-summary {
    margin: 10px 0 0;
}

.page-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.page-chip {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    text-decoration: none;
    color: var(--ink);
    border: 1px solid color-mix(in srgb, var(--sport-accent) 30%, var(--line));
    background: rgba(255, 255, 255, 0.72);
    font-size: 0.88rem;
    font-weight: 700;
}

.page-chip-muted {
    color: var(--muted);
}

.sport-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 999px;
    text-decoration: none;
    color: #fffaf5;
    background: linear-gradient(135deg, var(--sport-surface), color-mix(in srgb, var(--sport-accent) 48%, var(--sport-surface)));
    font-weight: 700;
}

.sport-card-loading,
.sport-card-empty {
    background: rgba(255, 251, 244, 0.85);
}

.notes-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 26px;
}

.note-card {
    padding: 22px;
    border-radius: 22px;
    background: var(--panel-strong);
}

.note-card h3 {
    margin-top: 10px;
    font-size: 1.2rem;
}

.note-card p {
    margin: 10px 0 0;
}

@media (max-width: 980px) {
    .hero,
    .notes-grid,
    .summary-strip {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        max-width: none;
    }
}

@media (max-width: 640px) {
    .site-shell {
        padding: 20px 14px 48px;
    }

    .hero-copy,
    .hero-panel,
    .summary-card,
    .sport-card,
    .note-card {
        border-radius: 20px;
    }

    .hero-copy,
    .hero-panel,
    .sport-card,
    .note-card {
        padding: 20px;
    }
}
