:root {
    --bg: #090a0d;
    --ink: #f3efe6;
    --muted: #9c968b;
    --line: rgba(243, 239, 230, 0.1);
    --card: rgba(18, 20, 26, 0.78);
    --card-solid: #12141a;
    --2025: #7dd3fc;
    --2022: #ffe55a;
    --2021: #9aa6ff;
    --2020: #ff9d7a;
}

* {
    box-sizing: border-box;
}

html {
    color-scheme: dark;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    position: relative;
    overflow-x: hidden;
    background: var(--bg);
    color: var(--ink);
    font-family: "IBM Plex Sans", sans-serif;
    line-height: 1.6;
}

.atmosphere {
    pointer-events: none;
    position: fixed;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(ellipse 70% 50% at 12% -10%, rgba(125, 211, 252, 0.16), transparent 55%),
        radial-gradient(ellipse 55% 40% at 95% 18%, rgba(154, 166, 255, 0.12), transparent 50%),
        radial-gradient(ellipse 50% 35% at 70% 105%, rgba(255, 229, 90, 0.07), transparent 50%),
        radial-gradient(ellipse 40% 30% at 8% 88%, rgba(255, 157, 122, 0.1), transparent 50%),
        linear-gradient(180deg, #0c0e13 0%, var(--bg) 38%, #08090c 100%);
}

.atmosphere::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.35;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 180px;
    mix-blend-mode: overlay;
}

a {
    color: inherit;
}

.skip-link {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 10;
    padding: 0.65rem 0.9rem;
    border-radius: 999px;
    background: var(--ink);
    color: var(--bg);
    font-weight: 500;
    text-decoration: none;
    transform: translateY(-160%);
}

.skip-link:focus {
    transform: none;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.page {
    position: relative;
    z-index: 1;
    width: min(42rem, calc(100% - 2.5rem));
    margin: 0 auto;
    padding: 5rem 0 4rem;
}

.hero {
    margin-bottom: 3.75rem;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0 0 1.35rem;
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.74rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}

.eyebrow a {
    text-decoration: none;
    color: var(--ink);
}

.eyebrow a:hover,
.eyebrow a:focus-visible {
    color: var(--2025);
}

h1 {
    margin: 0 0 1.15rem;
    max-width: 11em;
    font-family: "Fraunces", serif;
    font-size: clamp(2.35rem, 7vw, 3.55rem);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -0.038em;
}

.lede,
.year p,
footer p {
    margin: 0;
    color: var(--muted);
    font-size: 1.05rem;
}

.lede {
    max-width: 38ch;
}

.years {
    margin: 0;
    padding: 0;
    list-style: none;
    border-left: 1px solid var(--line);
}

.year {
    --glow: color-mix(in srgb, var(--dot) 22%, transparent);
    position: relative;
    padding: 0 0 1.65rem 1.65rem;
}

.year:last-child {
    padding-bottom: 0;
}

.year::before {
    content: "";
    position: absolute;
    top: 1.55rem;
    left: -0.32rem;
    width: 0.62rem;
    height: 0.62rem;
    border-radius: 50%;
    background: var(--bg);
    box-shadow:
        0 0 0 2px var(--dot),
        0 0 16px color-mix(in srgb, var(--dot) 55%, transparent);
}

.year-2025 {
    --dot: var(--2025);
}

.year-2022 {
    --dot: var(--2022);
}

.year-2021 {
    --dot: var(--2021);
}

.year-2020 {
    --dot: var(--2020);
}

.year article {
    position: relative;
    overflow: hidden;
    padding: 1.4rem 1.35rem 1.35rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 42%),
        var(--card);
    border: 1px solid var(--line);
    border-radius: 1.05rem;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(16px);
    isolation: isolate;
    transition:
        transform 0.28s ease,
        border-color 0.28s ease,
        box-shadow 0.28s ease;
}

.year article::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 2px;
    background: linear-gradient(180deg, var(--dot), transparent 80%);
    opacity: 0.85;
}

.year article::after {
    content: attr(data-year);
    position: absolute;
    top: -0.35rem;
    right: 0.7rem;
    z-index: -1;
    font-family: "Fraunces", serif;
    font-size: clamp(4.4rem, 16vw, 6.4rem);
    font-weight: 500;
    letter-spacing: -0.06em;
    line-height: 1;
    color: color-mix(in srgb, var(--dot) 14%, transparent);
    pointer-events: none;
}

.year-2025 article::after {
    content: "25";
}

.year-2022 article::after {
    content: "22";
}

.year-2021 article::after {
    content: "21";
}

.year-2020 article::after {
    content: "20";
}

.year article:hover,
.year article:focus-within {
    transform: translateY(-3px);
    border-color: color-mix(in srgb, var(--dot) 38%, var(--line));
    box-shadow:
        0 22px 48px rgba(0, 0, 0, 0.3),
        0 0 0 1px color-mix(in srgb, var(--dot) 18%, transparent),
        0 18px 50px var(--glow);
}

.year-meta {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin: 0 0 0.7rem;
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.74rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--dot);
}

.badge {
    padding: 0.16rem 0.5rem;
    border: 1px solid color-mix(in srgb, var(--dot) 55%, transparent);
    border-radius: 999px;
    background: color-mix(in srgb, var(--dot) 12%, transparent);
    font-size: 0.66rem;
    letter-spacing: 0.1em;
}

.year h3 {
    margin: 0 0 0.5rem;
    font-family: "Fraunces", serif;
    font-size: 1.55rem;
    font-weight: 500;
    letter-spacing: -0.025em;
}

.stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 1rem 0 1.2rem;
    padding: 0;
    list-style: none;
}

.stack li {
    padding: 0.22rem 0.58rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--ink);
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.7rem;
    letter-spacing: 0.02em;
}

.actions {
    margin: 0;
}

.actions a.primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 44px;
    padding: 0.58rem 0.95rem 0.58rem 1rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--dot) 16%, transparent);
    color: var(--ink);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    text-decoration: none;
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--dot) 42%, transparent);
    transition:
        background 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.actions a.primary span {
    transition: transform 0.2s ease;
}

.actions a.primary:hover,
.actions a.primary:focus-visible {
    background: color-mix(in srgb, var(--dot) 26%, transparent);
    box-shadow:
        inset 0 0 0 1px color-mix(in srgb, var(--dot) 70%, transparent),
        0 8px 22px var(--glow);
}

.actions a.primary:hover span,
.actions a.primary:focus-visible span {
    transform: translateX(3px);
}

.actions a.primary:focus-visible {
    outline: 2px solid var(--dot);
    outline-offset: 3px;
}

.missing {
    --dot: var(--2025);
}

.missing .actions {
    margin-top: 1.75rem;
}

footer {
    margin-top: 3.4rem;
    padding-top: 1.35rem;
    border-top: 1px solid var(--line);
}

footer p {
    font-size: 0.9rem;
}

footer a {
    color: var(--ink);
    text-underline-offset: 3px;
}

footer a:hover,
footer a:focus-visible {
    color: var(--2025);
}

@media (max-width: 40rem) {
    .page {
        width: min(42rem, calc(100% - 1.6rem));
        padding-top: 3.25rem;
    }

    .year {
        padding-left: 1.2rem;
    }

    .year article {
        padding: 1.2rem 1.1rem 1.15rem;
    }

    h1 {
        max-width: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .year article,
    .actions a.primary,
    .actions a.primary span {
        transition: none;
    }

    .year article:hover,
    .year article:focus-within {
        transform: none;
    }
}
