﻿/* ============================================================
   Pangal e-sports — design system
   Near-black arena, electric cyan accent, gold for trophies.
   Shares the type and rhythm language of the main site.
   ============================================================ */

:root {
    --void-900: #05070a;
    --void-800: #0a0e14;
    --void-700: #11161f;
    --void-600: #1a212c;

    --cyan-400: #00d1ff;
    --cyan-300: #5ce4ff;
    --gold-400: #dfbb45;

    --paper: #f2f5f8;
    --ash: #9aa7b5;
    --ash-dim: #6b7887;

    --line: rgba(255, 255, 255, 0.09);
    --line-strong: rgba(255, 255, 255, 0.18);

    --sans: 'Inter', system-ui, sans-serif;

    --gutter: clamp(1.25rem, 4vw, 2.5rem);
    --section-y: clamp(4.5rem, 11vw, 8.5rem);
    --shell: 78rem;

    --ease: cubic-bezier(0.23, 1, 0.32, 1);
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);

    --glow-cyan: 0 0 40px rgba(0, 209, 255, 0.28);
    --shadow-card: 0 4px 16px rgba(0, 0, 0, 0.5), 0 24px 60px rgba(0, 0, 0, 0.55);
}

*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 5rem;
}

body {
    font-family: var(--sans);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--paper);
    background: var(--void-900);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img,
video { display: block; max-width: 100%; height: auto; }

h1, h2, h3, h4 {
    font-family: var(--sans);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.035em;
    text-transform: uppercase;
}

p { text-wrap: pretty; }

a { color: inherit; }

:focus-visible {
    outline: 2px solid var(--cyan-400);
    outline-offset: 3px;
}

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--void-900); }
::-webkit-scrollbar-thumb {
    background: var(--void-600);
    border-radius: 99px;
    border: 3px solid var(--void-900);
}
::-webkit-scrollbar-thumb:hover { background: var(--ash-dim); }

/* ============================================================
   layout
   ============================================================ */

.shell {
    width: 100%;
    max-width: var(--shell);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); position: relative; }
.section--raised { background: var(--void-800); }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--cyan-400);
}

.eyebrow::before {
    content: '';
    width: 1.75rem;
    height: 2px;
    background: currentColor;
}

.section-head { margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.section-head--center {
    text-align: center;
    max-width: 46rem;
    margin-inline: auto;
}

.section-head h2 {
    font-size: clamp(2.25rem, 7vw, 4.5rem);
    margin-top: 1rem;
}

.section-head p {
    margin-top: 1.25rem;
    font-size: 1.0625rem;
    color: var(--ash);
    max-width: 40rem;
}

.section-head--center p { margin-inline: auto; }

.slash {
    display: block;
    width: 4.5rem;
    height: 3px;
    margin-top: 1.5rem;
    background: var(--cyan-400);
}

.section-head--center .slash { margin-inline: auto; }

/* ============================================================
   buttons
   ============================================================ */

.btn {
    --btn-bg: var(--cyan-400);
    --btn-fg: #04121a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 1rem 2rem;
    font-size: 0.8125rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--btn-fg);
    background: var(--btn-bg);
    border: 1px solid transparent;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.35s var(--ease), background-color 0.3s ease,
                color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn--ghost {
    --btn-bg: transparent;
    --btn-fg: var(--paper);
    border-color: var(--line-strong);
}
.btn--ghost:hover {
    --btn-bg: var(--paper);
    --btn-fg: #000;
    border-color: var(--paper);
}

.btn--sm { padding: 0.7rem 1.25rem; font-size: 0.6875rem; }

/* ============================================================
   nav
   ============================================================ */

.nav {
    position: fixed;
    inset: 0 0 auto;
    z-index: 70;
    background: rgba(5, 7, 10, 0.82);
    backdrop-filter: blur(18px) saturate(1.3);
    -webkit-backdrop-filter: blur(18px) saturate(1.3);
    border-bottom: 1px solid var(--line);
    transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

.nav.is-stuck {
    background: rgba(5, 7, 10, 0.96);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: 5rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.brand img {
    width: 2.75rem;
    height: 2.75rem;
    object-fit: contain;
    border-radius: 0.75rem;
    transition: transform 0.5s var(--ease);
}

.brand:hover img { transform: rotate(-8deg); }

.brand span {
    font-family: var(--sans);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    text-transform: uppercase;
}

.brand b { color: var(--cyan-400); font-weight: 800; }

.nav__links { display: none; }

@media (min-width: 62rem) {
    .nav__links {
        display: flex;
        align-items: center;
        gap: 2.25rem;
    }
}

.nav__links a {
    position: relative;
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ash);
    text-decoration: none;
    padding-block: 0.4rem;
    transition: color 0.3s ease;
}

.nav__links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: var(--cyan-400);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s var(--ease);
}

.nav__links a:hover,
.nav__links a.active { color: var(--paper); }
.nav__links a:hover::after,
.nav__links a.active::after { transform: scaleX(1); transform-origin: left; }

.social { display: flex; gap: 0.5rem; }

.social a {
    display: grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    border: 1px solid var(--line-strong);
    color: var(--ash);
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease,
                border-color 0.3s ease, transform 0.35s var(--ease);
}

.social a:hover {
    background: var(--cyan-400);
    border-color: var(--cyan-400);
    color: #04121a;
    transform: translateY(-2px);
}

.social svg { width: 1rem; height: 1rem; fill: currentColor; }

/* ============================================================
   burger + mobile drawer
   ============================================================ */

.nav-toggle {
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    flex: 0 0 auto;
    padding: 0;
    background: transparent;
    border: 1px solid var(--line-strong);
    border-radius: 0.75rem;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.nav-toggle:hover { background: rgba(255, 255, 255, 0.06); }

.nav-toggle__bar,
.nav-toggle__bar::before,
.nav-toggle__bar::after {
    display: block;
    width: 1.125rem;
    height: 2px;
    background: var(--paper);
    border-radius: 2px;
    transition: transform 0.4s var(--ease), opacity 0.25s ease, background-color 0.25s ease;
}

.nav-toggle__bar::before,
.nav-toggle__bar::after {
    content: '';
    position: relative;
    top: -0.375rem;
}

.nav-toggle__bar::after { top: 0.375rem; }

.nav-toggle[aria-expanded='true'] .nav-toggle__bar { background: transparent; }
.nav-toggle[aria-expanded='true'] .nav-toggle__bar::before { transform: translateY(0.375rem) rotate(45deg); }
.nav-toggle[aria-expanded='true'] .nav-toggle__bar::after { transform: translateY(-0.375rem) rotate(-45deg); }

.nav-drawer {
    padding: 0.5rem var(--gutter) 1.25rem;
    background: var(--void-800);
    border-top: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    animation: drawer-in 0.35s var(--ease-out-expo);
}

@keyframes drawer-in {
    from { opacity: 0; transform: translateY(-0.75rem); }
    to { opacity: 1; transform: translateY(0); }
}

.nav-drawer a {
    display: flex;
    align-items: center;
    min-height: 3.25rem;
    padding-inline: 0.25rem;
    font-size: 0.8125rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ash);
    text-decoration: none;
    border-bottom: 1px solid var(--line);
    transition: color 0.25s ease, padding-left 0.35s var(--ease);
}

.nav-drawer a:hover,
.nav-drawer a:focus-visible {
    color: var(--cyan-400);
    padding-left: 0.6rem;
}

.nav-drawer a:last-child { border-bottom: none; }

@media (min-width: 62rem) {
    .nav-toggle,
    .nav-drawer { display: none; }
}

/* ============================================================
   hero
   ============================================================ */

.hero {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 100svh;
    padding-top: 6rem;
    overflow: hidden;
    isolation: isolate;
}

.hero__bg {
    position: absolute;
    inset: -6%;
    z-index: -2;
    width: 112%;
    height: 112%;
    object-fit: cover;
    opacity: 0.28;
    filter: blur(3px) saturate(0.7) brightness(0.55);
    will-change: transform;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    /* Flat scrim only. The cyan radial bloom on top of it was a template tell;
       the depth comes from the blurred still behind it. */
    background: linear-gradient(180deg, rgba(5, 7, 10, 0.55) 0%, rgba(5, 7, 10, 0.9) 70%, #05070a 100%);
}

.hero__inner { text-align: center; max-width: 60rem; }

.hero__eyebrow {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--cyan-400);
    opacity: 0;
    animation: rise 0.9s var(--ease-out-expo) 0.1s forwards;
}

.hero__title {
    /* 8rem (128px) forced the wordmark to break awkwardly and read as a
       template. 5.5rem still fills the hero without shouting. */
    font-size: clamp(2.25rem, 7.5vw, 5.5rem);
    margin-block: 1.5rem;
    opacity: 0;
    animation: rise 0.9s var(--ease-out-expo) 0.25s forwards;
}

.hero__title em {
    font-style: normal;
    color: transparent;
    background: linear-gradient(100deg, var(--cyan-300), var(--cyan-400) 45%, #ffffff);
    -webkit-background-clip: text;
    background-clip: text;
    filter: drop-shadow(0 0 22px rgba(0, 209, 255, 0.45));
}

.hero__desc {
    font-size: clamp(1rem, 2.2vw, 1.25rem);
    line-height: 1.65;
    color: var(--ash);
    max-width: 40rem;
    margin-inline: auto;
    opacity: 0;
    animation: rise 0.9s var(--ease-out-expo) 0.4s forwards;
}

.hero__desc strong { color: var(--paper); }

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 2.75rem;
    opacity: 0;
    animation: rise 0.9s var(--ease-out-expo) 0.55s forwards;
}

@keyframes rise {
    from { opacity: 0; transform: translateY(2rem); }
    to { opacity: 1; transform: translateY(0); }
}

.hero__ticker {
    position: absolute;
    bottom: 1.75rem;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    font-size: 0.625rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ash-dim);
}

/* ============================================================
   team photo
   ============================================================ */

.photo-frame {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    border: 1px solid var(--line-strong);
    box-shadow: var(--shadow-card), var(--glow-cyan);
}

.photo-frame img {
    width: 100%;
    transition: transform 1.2s var(--ease-out-expo);
}

.photo-frame:hover img { transform: scale(1.04); }

.photo-frame figcaption {
    position: absolute;
    inset: auto 0 0;
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    padding: 2.5rem 1.5rem 1.5rem;
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--paper);
    background: linear-gradient(transparent, rgba(5, 7, 10, 0.92));
}

.photo-frame figcaption span::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-right: 0.6rem;
    border-radius: 50%;
    background: var(--cyan-400);
    vertical-align: middle;
}

/* ============================================================
   roster bento
   ============================================================ */

.roster {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 58rem) {
    .roster {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: minmax(0, auto);
    }
}

.player {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 26rem;
    padding: 1.75rem;
    overflow: hidden;
    background: linear-gradient(180deg, var(--void-700), var(--void-800));
    border: 1px solid var(--line);
    transition: transform 0.55s var(--ease), border-color 0.4s ease,
                box-shadow 0.4s ease;
}

.player:hover {
    transform: translateY(-6px);
    border-color: var(--cyan-400);
    box-shadow: var(--shadow-card), 0 0 40px rgba(0, 209, 255, 0.18);
}

.player--captain { min-height: 34rem; }

@media (min-width: 58rem) {
    .player--captain { grid-column: span 2; min-height: 36rem; }
    .player--note { min-height: auto; }
}

/* Hover lift: a flat cyan wash rather than a neon bloom. The radial glow
   behind every portrait was the main "generated esports template" tell. */
.player__glow {
    position: absolute;
    inset: auto 0 0 0;
    width: 100%;
    height: 55%;
    background: linear-gradient(180deg, transparent, rgba(0, 209, 255, 0.16));
    opacity: 0;
    transition: opacity 0.4s var(--ease);
    pointer-events: none;
}

.player:hover .player__glow { opacity: 1; }

.player__portrait {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    max-height: 88%;
    width: auto;
    max-width: 100%;
    z-index: 1;
    filter: drop-shadow(0 24px 34px rgba(0, 0, 0, 0.85));
    transition: transform 0.6s var(--ease-out-expo);
    pointer-events: none;
}

.player--captain .player__portrait { max-height: 84%; }

.player:hover .player__portrait {
    transform: translate(-50%, -1.5rem) scale(1.05);
}

.player__meta { position: relative; z-index: 2; }

.player__role {
    display: inline-block;
    padding: 0.3rem 0.75rem;
    margin-bottom: 0.85rem;
    font-size: 0.5625rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #04121a;
    background: var(--cyan-400);
    border-radius: 99px;
}

.player__role--ghost {
    color: var(--cyan-400);
    background: transparent;
    border: 1px solid var(--cyan-400);
}

.player__name {
    font-size: clamp(1.375rem, 3.5vw, 1.875rem);
}

.player--captain .player__name { font-size: clamp(1.75rem, 5vw, 2.75rem); }

.player__handle {
    margin-top: 0.4rem;
    font-size: 0.625rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--cyan-400);
}

.player__bio {
    margin-top: 0.85rem;
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--ash);
}

.player__socials {
    display: flex;
    gap: 0.5rem;
    margin-top: 1.15rem;
}

.player__socials a {
    display: grid;
    place-items: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    border: 1px solid var(--line-strong);
    color: var(--ash);
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.player__socials a:hover {
    background: var(--cyan-400);
    border-color: var(--cyan-400);
    color: #04121a;
}

.player__socials svg { width: 0.8125rem; height: 0.8125rem; fill: currentColor; }

.player--note {
    grid-column: span 1;
    justify-content: center;
    background: linear-gradient(135deg, rgba(201, 162, 39, 0.14), var(--void-800));
    border-color: rgba(223, 187, 69, 0.3);
    text-align: left;
}

@media (min-width: 58rem) {
    .player--note { grid-column: span 2; }
}

.player--note h3 {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    margin-bottom: 1.25rem;
    color: var(--gold-400);
}

.player--note p {
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--ash);
}

.player--note strong { color: var(--paper); }

.player--note .trophy {
    margin-top: 1.75rem;
    color: var(--cyan-400);
    opacity: 0.45;
    transition: transform 0.6s var(--ease-out-expo), opacity 0.4s ease;
}

.player--note .trophy svg {
    width: 3.5rem;
    height: 3.5rem;
}

.player--note:hover .trophy { transform: scale(1.15) rotate(-6deg); opacity: 0.9; }

/* ============================================================
   matches
   ============================================================ */

.fixtures { display: grid; gap: 0.85rem; }

.fixture {
    display: grid;
    gap: 1.25rem;
    align-items: center;
    padding: 1.5rem;
    background: var(--void-800);
    border: 1px solid var(--line);
    transition: transform 0.45s var(--ease), border-color 0.35s ease,
                background-color 0.35s ease;
}

.fixture:hover {
    transform: translateX(6px);
    border-color: var(--cyan-400);
    background: var(--void-700);
}

@media (min-width: 52rem) {
    .fixture {
        grid-template-columns: 1fr auto 1fr;
        gap: 2rem;
    }
    .fixture__side { text-align: center; }
}

.fixture__team {
    display: block;
    font-size: clamp(1.125rem, 3vw, 1.5rem);
}

.fixture__side--away { color: var(--ash); }

.fixture__status {
    padding: 0.45rem 1.1rem;
    font-size: 0.5625rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    text-align: center;
    color: var(--cyan-400);
    background: rgba(0, 209, 255, 0.1);
    border: 1px solid rgba(0, 209, 255, 0.3);
    border-radius: 99px;
    white-space: nowrap;
}

.fixture__status--muted {
    color: var(--ash-dim);
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--line);
}

/* ============================================================
   about + stats
   ============================================================ */

.about__grid {
    display: grid;
    gap: clamp(2.5rem, 7vw, 4.5rem);
    align-items: center;
}

@media (min-width: 58rem) {
    .about__grid { grid-template-columns: 1.15fr 0.85fr; }
}

.about__body p {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--ash);
    max-width: 40rem;
}

.about__body p + p { margin-top: 1.25rem; }

.stat-pair {
    display: grid;
    gap: 1rem;
    margin-top: 2.5rem;
}

@media (min-width: 34rem) {
    .stat-pair { grid-template-columns: repeat(2, 1fr); }
}

.stat {
    padding: 1.75rem 1.5rem;
    text-align: center;
    background: var(--void-700);
    border: 1px solid var(--line);
    transition: border-color 0.35s ease, transform 0.45s var(--ease);
}

.stat:hover { border-color: var(--cyan-400); transform: translateY(-3px); }

.stat__value {
    display: block;
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--cyan-400);
}

.stat__label {
    display: block;
    margin-top: 0.6rem;
    font-size: 0.5625rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ash-dim);
}

/* ============================================================
   memes
   ============================================================ */

.memes {
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 46rem) { .memes { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 68rem) { .memes { grid-template-columns: repeat(3, 1fr); } }

.meme {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    background: var(--void-800);
    border: 1px solid var(--line);
    transition: transform 0.5s var(--ease), border-color 0.4s ease,
                background-color 0.4s ease;
}

.meme:hover {
    transform: translateY(-6px);
    border-color: var(--cyan-400);
    background: var(--void-700);
}

.meme__frame {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 0.85rem;
    background: #000;
}

.meme__frame video { width: 100%; height: 100%; object-fit: cover; }

.meme__meta { padding: 1.25rem 0.5rem 0.5rem; text-align: center; }

.meme__meta h3 { font-size: 1.0625rem; }

.meme__meta p {
    margin-top: 0.5rem;
    font-size: 0.8125rem;
    font-style: italic;
    color: var(--ash-dim);
}

.meme--empty {
    align-items: center;
    justify-content: center;
    min-height: 18rem;
    border-style: dashed;
    border-color: var(--line-strong);
    color: var(--ash-dim);
    text-align: center;
}

.meme--empty .plus {
    font-size: 2.5rem;
    line-height: 1;
    margin-bottom: 1rem;
}

.meme--empty p {
    font-size: 0.625rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

/* ============================================================
   footer
   ============================================================ */

.site-footer {
    padding-block: clamp(3rem, 7vw, 4.5rem) 2rem;
    background: var(--void-800);
    border-top: 1px solid var(--line);
}

.footer__grid {
    display: grid;
    gap: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--line);
}

@media (min-width: 52rem) {
    .footer__grid { grid-template-columns: 1.6fr 1fr 1fr; }
}

.footer__brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    text-decoration: none;
}

.footer__brand img {
    width: 2.5rem;
    height: 2.5rem;
    object-fit: contain;
    border-radius: 0.6rem;
}

.footer__brand span {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    text-transform: uppercase;
}

.footer__brand b { color: var(--cyan-400); }

.footer__tagline {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--ash-dim);
    max-width: 26rem;
}

.footer__col h4 {
    font-size: 0.625rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    color: var(--cyan-400);
    margin-bottom: 1.15rem;
}

.footer__col ul { list-style: none; padding: 0; display: grid; gap: 0.7rem; }

.footer__col a {
    font-size: 0.875rem;
    color: var(--ash-dim);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer__col a:hover { color: var(--paper); }

.footer__base {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
    justify-content: space-between;
    padding-top: 2rem;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ash-dim);
}

/* ============================================================
   motion utils
   ============================================================ */

.reveal {
    opacity: 0;
    transform: translateY(2rem);
    transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
}

.reveal.active { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }

    .reveal { opacity: 1; transform: none; }
}

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

/* visible on focus, otherwise the skip link can never be seen */
.sr-only:focus-visible,
a.sr-only:focus {
    position: fixed;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 200;
    width: auto;
    height: auto;
    padding: 0.75rem 1.25rem;
    overflow: visible;
    clip: auto;
    clip-path: none;
    white-space: nowrap;
    font-size: 0.8125rem;
    font-weight: 800;
    color: #fff;
    background: var(--cyan-400);
    border-radius: 0 0 0.75rem 0.75rem;
    text-decoration: none;
}

[hidden] { display: none !important; }
