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

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f4f6f8;
    color: #17202a;
    line-height: 1.5;
}

.container {
    width: min(1100px, 92%);
    margin: 0 auto;
}

.hero {
    background: #111827;
    color: white;
    padding: 60px 0;
}

.eyebrow {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 12px;
}

.subtitle {
    max-width: 700px;
    color: #d1d5db;
    font-size: 1.05rem;
}

.event-meta {
    max-width: 760px;
    margin-top: 14px;
    color: #cbd5e1;
    font-size: 0.95rem;
}

main {
    padding: 35px 0 60px;
}

.card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 24px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.04);
}

.card h2,
.card h3 {
    margin-bottom: 20px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

label {
    font-weight: 600;
    font-size: 0.9rem;
}

input,
select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 1rem;
    background: white;
}

input:focus,
select:focus {
    outline: 2px solid #93c5fd;
    border-color: #2563eb;
}

button {
    border: none;
    border-radius: 8px;
    padding: 13px 22px;
    background: #2563eb;
    color: white;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
}

button:hover {
    background: #1d4ed8;
}

button:disabled {
    opacity: 0.6;
    cursor: wait;
}

.status {
    margin-top: 15px;
    font-size: 0.9rem;
}

.note {
    margin-top: 14px;
    color: #475569;
    font-size: 0.88rem;
}

.results h2 {
    margin-bottom: 20px;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 24px;
}

.metric-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
}

.metric-card span {
    display: block;
    color: #64748b;
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.metric-card strong {
    font-size: 1.4rem;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 12px 0;
    border-bottom: 1px solid #e5e7eb;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    color: #64748b;
}

.parking-option {
    padding: 16px 0;
    border-bottom: 1px solid #e5e7eb;
}

.parking-option:last-child {
    border-bottom: none;
}

.parking-option h4 {
    margin-bottom: 8px;
}

.journey-map {
    width: 100%;
    height: 420px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    margin-bottom: 10px;
}

.route-table {
    width: 100%;
    border-collapse: collapse;
}

.route-table th,
.route-table td {
    text-align: left;
    padding: 10px 8px;
    border-bottom: 1px solid #e5e7eb;
    font-size: 0.95rem;
}

.route-table th {
    color: #64748b;
    font-weight: 600;
}

.summary-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.live-status-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: #475569;
}

.live-pill {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    background: #e2e8f0;
    color: #0f172a;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.event-results {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

.event-card {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 16px 18px;
    background: #f8fafc;
}

.event-card.selected {
    border-color: #2563eb;
    background: #eff6ff;
}

.event-card h3 {
    margin-bottom: 6px;
    font-size: 1.05rem;
}

.event-card p {
    color: #475569;
    margin-bottom: 4px;
}

.event-card .event-date {
    color: #334155;
    font-weight: 600;
    margin-bottom: 12px;
}

.event-card button {
    padding: 10px 16px;
    font-size: 0.92rem;
}

.event-card button[aria-pressed="true"] {
    background: #1e3a8a;
}

.fictional-tag {
    display: inline-block;
    margin-top: 4px;
    margin-bottom: 10px;
    color: #9a3412;
    font-size: 0.85rem;
    font-weight: 700;
}

.selected-event-banner {
    margin-bottom: 20px;
    padding: 14px 16px;
    border-radius: 8px;
    background: #f1f5f9;
    color: #334155;
}

.selected-event-banner strong {
    display: block;
    margin-bottom: 4px;
    color: #0f172a;
}

.hidden {
    display: none;
}

footer {
    background: #111827;
    color: #9ca3af;
    padding: 25px 0;
    font-size: 0.85rem;
}

@media (max-width: 800px) {

    .form-grid,
    .summary-split {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 500px) {

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

    .hero {
        padding: 40px 0;
    }

    .card {
        padding: 20px;
    }
}
