/* The 2026 Season page. Rides on styles.css for colours and buttons. */

.season-page { background: var(--carbon); }

.s-back {
    position: fixed; top: 14px; left: 14px; z-index: 60;
    background: rgba(13,11,24,.82); border: 1px solid var(--line); color: var(--text);
    padding: 8px 15px; border-radius: 999px; text-decoration: none;
    font-size: .88rem; font-weight: 700; backdrop-filter: blur(7px);
}
.s-back:hover { border-color: var(--yellow); color: var(--yellow); }

/* ---------------------------------------------------------------- hero */
.s-hero {
    position: relative; min-height: 86vh; display: flex; align-items: center;
    justify-content: center; text-align: center; overflow: hidden; padding: 90px 20px 70px;
}
.s-hero-bg {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
    opacity: .38; filter: saturate(1.15);
}
.s-hero::after {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at center, rgba(13,11,24,.52) 0%, rgba(13,11,24,.93) 72%);
}
.s-hero-in { position: relative; z-index: 2; max-width: 820px; }
.s-eyebrow {
    color: var(--yellow); font-weight: 800; letter-spacing: 2.4px; font-size: .76rem;
    text-transform: uppercase; margin-bottom: 18px;
}
.s-year {
    font-family: 'Orbitron', 'Bahnschrift', sans-serif; font-weight: 900;
    font-size: clamp(5.5rem, 22vw, 13rem); line-height: .84; color: var(--banner-purple);
    -webkit-text-stroke: .026em #fff; paint-order: stroke fill; letter-spacing: .05em;
    text-shadow: 0 .05em .09em rgba(0,0,0,.6);
}
.s-title {
    font-family: 'Racing Sans One', cursive; font-size: clamp(1.9rem, 7vw, 4rem);
    color: var(--banner-red); -webkit-text-stroke: .035em var(--banner-yellow);
    paint-order: stroke fill; letter-spacing: .055em; margin: 6px 0 22px;
    text-transform: uppercase;
}
.s-lede { color: var(--text); font-size: 1.06rem; line-height: 1.75; max-width: 640px; margin: 0 auto; }
.s-scroll {
    display: inline-block; margin-top: 30px; color: var(--yellow); text-decoration: none;
    font-weight: 700; letter-spacing: 1px; border-bottom: 2px solid rgba(255,212,0,.4);
    padding-bottom: 3px;
}
.s-scroll:hover { border-color: var(--yellow); }

/* --------------------------------------------------------------- shared */
.s-h2 {
    font-family: 'Orbitron', 'Bahnschrift', sans-serif; font-weight: 900;
    text-align: center; color: var(--banner-red);
    -webkit-text-stroke: .04em var(--banner-yellow); paint-order: stroke fill;
    letter-spacing: .08em; text-transform: uppercase;
    font-size: clamp(1.4rem, 4.4vw, 2.3rem); margin: 0 0 34px;
    text-shadow: .04em .055em 0 rgba(0,0,0,.9);
}
.s-stats, .s-standings, .s-timeline, .s-thanks, .s-wall {
    max-width: 1080px; margin: 0 auto; padding: 62px 20px;
}

/* --------------------------------------------------------------- numbers */
.s-stats-in {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px;
}
.s-stat {
    background: var(--carbon-2); border: 1px solid var(--line); border-radius: 14px;
    padding: 24px 16px; text-align: center;
}
.s-stat-n {
    display: block; font-family: 'Orbitron', sans-serif; font-weight: 900;
    font-size: 2.7rem; color: var(--yellow); line-height: 1;
}
.s-stat-l { display: block; margin-top: 9px; font-weight: 700; color: var(--text); letter-spacing: .4px; }
.s-stat-s { display: block; margin-top: 4px; font-size: .85rem; color: var(--muted); }

/* ------------------------------------------------------------- standings */
.s-moment { margin: 0 auto 30px; max-width: 620px; text-align: center; }
.s-moment .s-shot { border-color: rgba(255,212,0,.45); border-width: 2px; }
.s-moment .s-shot img { aspect-ratio: auto; }
.s-moment figcaption { margin-top: 12px; color: var(--muted); font-size: .92rem; line-height: 1.6; }

.s-stand-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.s-stand {
    background: var(--carbon-2); border: 1px solid var(--line); border-left: 4px solid var(--purple);
    border-radius: 12px; padding: 18px 20px;
}
.s-stand--gold { border-left-color: var(--yellow); background: rgba(255,212,0,.07); }
.s-pos {
    display: block; font-family: 'Orbitron', sans-serif; font-weight: 900;
    font-size: 1.9rem; color: var(--yellow);
}
.s-stand--gold .s-pos { font-size: 2.3rem; }
.s-who { display: block; margin-top: 4px; font-weight: 700; color: var(--text); }
.s-note { display: block; margin-top: 2px; font-size: .85rem; color: var(--muted); }

/* -------------------------------------------------------------- timeline */
.s-timeline { position: relative; }
.s-day {
    position: relative; background: var(--carbon-2); border: 1px solid var(--line);
    border-radius: 16px; padding: 26px 28px; margin-bottom: 26px;
}
.s-day--finale { border-color: rgba(255,212,0,.5); box-shadow: 0 12px 40px rgba(0,0,0,.45); }
.s-day-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 8px; }
.s-chip {
    background: var(--purple); color: #fff; font-family: 'Orbitron', sans-serif; font-weight: 700;
    font-size: .82rem; letter-spacing: 1px; padding: 5px 13px; border-radius: 999px;
    text-transform: uppercase; white-space: nowrap;
}
.s-day--finale .s-chip { background: var(--yellow); color: #140f27; }
.s-where { color: var(--muted); font-size: .9rem; }
.s-day-title { color: var(--yellow); font-size: 1.32rem; line-height: 1.35; margin: 0 0 18px; }

.s-shots { display: grid; gap: 10px; margin-bottom: 18px; }
.s-shots--many { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.s-shots--one { grid-template-columns: 1fr; max-width: 680px; }
.s-shot, .s-tile {
    padding: 0; border: 1px solid var(--line); background: #0b0813; border-radius: 10px;
    overflow: hidden; cursor: zoom-in; display: block; width: 100%;
    transition: border-color .18s ease, transform .18s ease;
}
.s-shot img, .s-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.s-shot img { aspect-ratio: 4 / 3; }
.s-shot:hover, .s-tile:hover, .s-shot:focus-visible, .s-tile:focus-visible {
    border-color: var(--yellow); transform: translateY(-2px); outline: none;
}

.s-lines { list-style: none; padding: 0; margin: 0 0 16px; }
.s-lines li {
    color: var(--text); line-height: 1.65; padding: 9px 0 9px 2px;
    border-bottom: 1px solid rgba(255,255,255,.055);
}
.s-lines li:last-child { border-bottom: 0; }
.s-recap { color: var(--muted); line-height: 1.8; margin: 12px 0 0; }

/* ---------------------------------------------------------------- thanks */
.s-thanks { text-align: center; }
.s-thanks p { color: var(--text); line-height: 1.85; max-width: 760px; margin: 0 auto 16px; }
.s-thanks-cta { margin-top: 26px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ------------------------------------------------------------------ wall */
.s-wall-sub { text-align: center; color: var(--muted); margin: -20px auto 30px; max-width: 620px; line-height: 1.7; }
.s-mosaic { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 8px; }
.s-tile img { aspect-ratio: 1 / 1; }

/* ------------------------------------------------------------- lightbox */
.s-lightbox {
    position: fixed; inset: 0; z-index: 200; background: rgba(6,4,13,.95);
    display: flex; align-items: center; justify-content: center; flex-direction: column;
    padding: 56px 18px 70px;
}
.s-lightbox[hidden] { display: none; }
.s-lightbox img { max-width: 100%; max-height: 82vh; border-radius: 8px; object-fit: contain; }
.s-lb-cap {
    color: var(--text); margin-top: 14px; text-align: center; font-size: .95rem;
    max-width: 760px; line-height: 1.6;
}
.s-lb-close, .s-lb-nav {
    position: absolute; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.26);
    color: #fff; cursor: pointer; border-radius: 50%; line-height: 1;
    display: flex; align-items: center; justify-content: center;
}
.s-lb-close { top: 14px; right: 16px; width: 44px; height: 44px; font-size: 1.7rem; }
.s-lb-nav { top: 50%; transform: translateY(-50%); width: 50px; height: 50px; font-size: 2.1rem; }
.s-lb-prev { left: 12px; }
.s-lb-next { right: 12px; }
.s-lb-close:hover, .s-lb-nav:hover { background: var(--yellow); color: #140f27; border-color: var(--yellow); }

@media (max-width: 680px) {
    .s-day { padding: 20px 17px; }
    .s-stats, .s-standings, .s-timeline, .s-thanks, .s-wall { padding: 44px 16px; }
    .s-mosaic { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 6px; }
    .s-lb-nav { width: 42px; height: 42px; font-size: 1.7rem; }
}
@media (prefers-reduced-motion: reduce) {
    .s-shot, .s-tile { transition: none; }
    .s-shot:hover, .s-tile:hover { transform: none; }
}
