/* ==========================================================================
   Rival Volt
   Tokens, base, layout, components, pages. Mobile first.
   Breakpoints: 40rem (640) · 48rem (768) · 60rem (960) · 75rem (1200)
   ========================================================================== */

/* ---- Fonts (self-hosted, latin subset, variable) ---------------------- */

@font-face {
    font-family: 'Saira';
    font-style: italic;
    font-weight: 100 900;
    font-stretch: 50% 125%;
    font-display: swap;
    src: url("../fonts/saira-italic-latin-EWuai5M.woff2") format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Saira';
    font-style: normal;
    font-weight: 100 900;
    font-stretch: 50% 125%;
    font-display: swap;
    src: url("../fonts/saira-latin-7fMUeyD.woff2") format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Instrument Sans';
    font-style: normal;
    font-weight: 400 700;
    font-stretch: 75% 100%;
    font-display: swap;
    src: url("../fonts/instrument-sans-latin-D83MZbi.woff2") format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Instrument Sans';
    font-style: italic;
    font-weight: 400 700;
    font-stretch: 75% 100%;
    font-display: swap;
    src: url("../fonts/instrument-sans-italic-latin-IQOgBzd.woff2") format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---- Tokens ----------------------------------------------------------- */

@property --quiz-c {
    syntax: '<color>';
    inherits: true;
    initial-value: #1f66f0;
}

:root {
    /* Colour: the can's world. Deep navy, Volt blue, chrome and eye-glow. */
    --ink-0: #020a1c;            /* page */
    --ink-1: #05122e;            /* raised surface */
    --ink-2: #0a1d45;            /* highest surface */
    --line: rgb(148 172 222 / 0.16);
    --line-strong: rgb(148 172 222 / 0.34);
    --volt: #1f66f0;             /* the VOLT in the wordmark */
    --volt-bright: #4c8dff;
    --eye: #d8e8ff;              /* the mascot's eyes */
    --text: #e9eef7;
    --muted: #9eadca;
    --chrome: linear-gradient(180deg, #ffffff 6%, #e8ecf2 34%, #aab2c0 49%, #7c8597 53%, #c9cfd9 70%, #ffffff 98%);

    /* Type */
    --font-display: 'Saira', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
    --font-body: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --step--1: 0.875rem;                                   /* 14 */
    --step-0: clamp(1.0625rem, 1.02rem + 0.15vw, 1.125rem); /* 17 → 18 */
    --step-1: clamp(1.1875rem, 1.1rem + 0.35vw, 1.3125rem); /* 19 → 21 */
    --step-2: clamp(1.3125rem, 1.15rem + 0.6vw, 1.5rem);    /* 21 → 24 */
    --step-3: clamp(1.625rem, 1.3rem + 1.3vw, 2.25rem);     /* 26 → 36 */
    --step-4: clamp(2.25rem, 1.5rem + 3vw, 3.75rem);        /* 36 → 60 */
    --step-5: clamp(2.5rem, 1.4rem + 4.6vw, 4.5rem);        /* 40 → 72 */

    /* Space & shape */
    --gutter: clamp(1rem, 4vw, 3rem);
    --wrap: 80rem;
    --header-h: 4.5rem;
    --section: clamp(4rem, 8vw, 7rem);
    --cut: clamp(1.25rem, 3vw, 2.5rem);   /* chamfer size, from the cut corners of the wordmark */
    --skew: -14deg;                        /* slant of buttons and chips, from the italic wordmark */
    --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ---- Base ------------------------------------------------------------- */

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

html {
    background: var(--ink-0);
    color: var(--text);
    font-family: var(--font-body);
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-padding-top: calc(var(--header-h) + 1rem);
    color-scheme: dark;
}

@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
}

body {
    margin: 0;
    font-size: var(--step-0);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: clip;
}

body.no-scroll { overflow: hidden; }

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

h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.15; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
figure { margin: 0; }

a { color: inherit; }

:focus-visible {
    outline: 2px solid var(--eye);
    outline-offset: 3px;
    border-radius: 2px;
}

::selection { background: var(--volt); color: #fff; }

main:focus { outline: none; }

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

.skip-link {
    position: absolute;
    left: var(--gutter);
    top: 0.75rem;
    z-index: 200;
    padding: 0.75rem 1.25rem;
    background: var(--volt);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transform: translateY(-200%);
    transition: transform 0.2s;
}
.skip-link:focus-visible { transform: none; }

/* ---- Layout ----------------------------------------------------------- */

.wrap {
    width: min(100% - 2 * var(--gutter), var(--wrap));
    margin-inline: auto;
}

.section { padding-block: var(--section); }
.section--flush-top { padding-top: 0; }
.page-note { padding-bottom: var(--section); color: var(--muted); font-size: var(--step--1); }

.section-head { max-width: 46rem; }
.section-head p { color: var(--muted); font-size: var(--step-1); margin-top: 1.25rem; max-width: 40ch; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center p { margin-inline: auto; }

.section-head--split {
    display: grid;
    gap: 1.5rem 4rem;
    max-width: none;
    align-items: end;
}
.section-head--top { align-items: start; }
.section-head--split p { margin-top: 0; }
.section-head--split p + p { margin-top: 1rem; }

@media (min-width: 60rem) {
    .section-head--split { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
}

/* ---- Type ------------------------------------------------------------- */

/* Display type echoes the wordmark: heavy, slanted, upper case. */
.display {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 800;
    font-stretch: 88%;
    text-transform: uppercase;
    line-height: 0.9;
    letter-spacing: -0.005em;
    text-wrap: balance;
}

.h2 { font-size: var(--step-5); }

/* Chrome fill, like the silver RIVAL on the can. Each line gets its own highlight. */
.chrome {
    background-image: var(--chrome);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    padding-inline-end: 0.12em;
    margin-inline-end: -0.12em;
}

@media (forced-colors: active) {
    .chrome { background: none; color: CanvasText; }
}

.lede {
    font-size: var(--step-2);
    line-height: 1.4;
    font-weight: 500;
    color: var(--text);
}

.text-link {
    font-weight: 600;
    color: var(--text);
    text-decoration: underline;
    text-decoration-color: var(--volt-bright);
    text-decoration-thickness: 2px;
    text-underline-offset: 0.35em;
    transition: color 0.2s, text-decoration-color 0.2s;
}
.text-link:hover { color: var(--eye); text-decoration-color: var(--eye); }

/* ---- Buttons & chips -------------------------------------------------- */

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.875rem 1.5rem;
    margin-top: 2rem;
    padding-inline: 0.5rem; /* room for the slanted edges */
}

.btn {
    --btn-bg: var(--volt);
    --btn-line: var(--volt);
    position: relative;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.25rem;
    padding: 0.8rem 1.75rem;
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 700;
    font-stretch: 100%;
    font-size: 1.0625rem;
    letter-spacing: 0.01em;
    line-height: 1.1;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--btn-bg);
    border: 1.5px solid var(--btn-line);
    border-radius: 3px;
    transform: skewX(var(--skew));
    transition: background-color 0.2s, border-color 0.2s, box-shadow 0.3s;
}

.btn:hover::before {
    --btn-bg: var(--volt-bright);
    --btn-line: var(--volt-bright);
    box-shadow: 0 12px 40px -10px rgb(76 141 255 / 0.75);
}

.btn--ghost { --btn-bg: transparent; --btn-line: var(--line-strong); }
.btn--ghost:hover::before { --btn-bg: rgb(255 255 255 / 0.05); --btn-line: var(--text); box-shadow: none; }

.btn:focus-visible { outline: none; }
.btn:focus-visible::before { outline: 2px solid var(--eye); outline-offset: 3px; }

/* ---- Chamfered frames (the brand's cut corner) ----------------------- */

.chamfer {
    overflow: hidden;
    clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut)));
}
.chamfer--alt {
    clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
}
.chamfer img { width: 100%; }

/* Cans are rendered on black. Lighten lets the page colour replace the black. */
.blend {
    mix-blend-mode: lighten;
    -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 70%, transparent 100%);
    mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 70%, transparent 100%);
}

/* ---- Header ----------------------------------------------------------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid transparent;
    transition: background-color 0.3s, border-color 0.3s;
}

.site-header[data-scrolled] {
    background: rgb(2 10 28 / 0.8);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    backdrop-filter: blur(16px) saturate(140%);
    border-bottom-color: var(--line);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    height: var(--header-h);
}

.lockup {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}
.lockup__mascot { width: 2.4rem; height: auto; transition: filter 0.3s; }
.lockup__wordmark { width: auto; height: 2.2rem; }
.lockup:hover .lockup__mascot { filter: drop-shadow(0 0 10px rgb(76 141 255 / 0.7)); }

.menu-toggle {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    min-height: 2.75rem;
    padding: 0.5rem 0.25rem 0.5rem 0.75rem;
    border: 0;
    background: none;
    color: var(--text);
    font: 600 0.9375rem/1 var(--font-body);
    cursor: pointer;
}

.menu-toggle__icon,
.menu-toggle__icon span {
    position: relative;
    display: block;
    width: 1.5rem;
    height: 2px;
}
.menu-toggle__icon span { background: currentColor; transition: background-color 0.2s; }
.menu-toggle__icon span::before,
.menu-toggle__icon span::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: currentColor;
    transition: transform 0.3s var(--ease-out);
}
.menu-toggle__icon span::before { transform: translateY(-6px); }
.menu-toggle__icon span::after { transform: translateY(6px); }
.menu-toggle[aria-expanded='true'] .menu-toggle__icon span { background: transparent; }
.menu-toggle[aria-expanded='true'] .menu-toggle__icon span::before { transform: rotate(45deg); }
.menu-toggle[aria-expanded='true'] .menu-toggle__icon span::after { transform: rotate(-45deg); }

/* Small screens: full-screen menu */
.site-nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: calc(var(--header-h) + 1rem) var(--gutter) 3rem;
    background:
        radial-gradient(ellipse 80% 50% at 100% 100%, rgb(31 102 240 / 0.25), transparent 70%),
        var(--ink-0);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s, visibility 0s linear 0.25s;
}

.site-header[data-menu-open] {
    background: var(--ink-0);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}
.site-header[data-menu-open] .site-nav {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.25s;
}

.site-nav__list {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-nav__link {
    display: inline-block;
    padding-block: 0.25rem;
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 800;
    font-stretch: 88%;
    font-size: clamp(2.25rem, 9vw, 3.5rem);
    line-height: 1;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--muted);
    transition: color 0.2s;
}
.site-nav__link:hover,
.site-nav__link[aria-current] { color: var(--text); }

@media (min-width: 60rem) {
    .menu-toggle { display: none; }

    .site-nav {
        position: static;
        display: block;
        padding: 0;
        background: none;
        opacity: 1;
        visibility: visible;
        transition: none;
    }

    .site-nav__list { flex-direction: row; gap: clamp(1.25rem, 2.4vw, 2.5rem); }

    .site-nav__link {
        position: relative;
        padding-block: 0.5rem;
        font-family: var(--font-body);
        font-style: normal;
        font-weight: 500;
        font-stretch: 100%;
        font-size: 0.9375rem;
        text-transform: none;
    }

    .site-nav__link[aria-current]::after {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 3px;
        background: var(--volt);
        transform: skewX(-24deg);
    }
}

/* ---- Footer ----------------------------------------------------------- */

.site-footer {
    position: relative;
    padding-block: clamp(3rem, 7vw, 5rem) 2rem;
    border-top: 1px solid var(--line);
    background: var(--ink-0);
    color: var(--muted);
    font-size: 0.9375rem;
}

.site-footer__brand {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem 3rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--line);
}

.site-footer__lockup { display: inline-flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.site-footer__mascot { width: 3.75rem; height: auto; }
.site-footer__lockup img { width: auto; height: 3.4rem; }

.site-footer__line {
    margin: 0;
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 700;
    font-stretch: 92%;
    font-size: var(--step-2);
    color: var(--text);
}

.site-footer__columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
    gap: 2.5rem 2rem;
    padding-block: 2.5rem;
}

.site-footer__heading {
    margin: 0 0 0.875rem;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text);
}

.site-footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.5rem; }
.site-footer a { color: var(--muted); text-decoration: none; transition: color 0.2s; }
.site-footer a:hover { color: var(--text); }
.site-footer__col p { max-width: 36ch; }

@media (min-width: 60rem) {
    .site-footer__columns { grid-template-columns: 1fr 1fr 1fr 2fr; }
    .site-footer__col--wide { grid-column: -2 / -1; }
}

.site-footer__legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.5rem 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
    font-size: 0.8125rem;
}
.site-footer__legal p { margin: 0; }

/* ==========================================================================
   Home
   ========================================================================== */

/* ---- Hero ------------------------------------------------------------- */

.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding-top: clamp(1.5rem, 5vw, 4rem);
    padding-bottom: clamp(1rem, 3vw, 2rem);
    background:
        radial-gradient(ellipse 65% 45% at 50% 100%, rgb(31 102 240 / 0.22), transparent 70%),
        radial-gradient(ellipse 50% 50% at 0% 0%, rgb(31 102 240 / 0.1), transparent 70%),
        var(--ink-0);
}

.hero__top {
    display: grid;
    gap: 1.5rem 4rem;
    align-items: end;
}

.hero__title {
    font-size: clamp(3rem, 0.6rem + 11vw, 10.5rem);
    font-weight: 900;
    font-stretch: 100%;
    line-height: 0.84;
}

.hero__lede {
    max-width: 30ch;
    font-size: var(--step-1);
    line-height: 1.5;
    color: var(--text);
}

@media (min-width: 60rem) {
    .hero__top { grid-template-columns: minmax(0, 1.7fr) minmax(17rem, 1fr); }
    .hero__aside { padding-bottom: 0.75rem; }
}

/* ---- Lineup: the eight cans, which power on in sequence --------------- */

.lineup { margin-top: clamp(1.5rem, 4vw, 3rem); }

.lineup__track {
    display: flex;
    justify-content: center;
    margin: 0 auto;
    padding: 1.25rem var(--gutter) 0;
    max-width: calc(1600px + 2 * var(--gutter));
    list-style: none;
}

.lineup__item {
    flex: 1 1 0;
    min-width: 0;
    max-width: 200px;
}

.lineup__can {
    position: relative;
    display: block;
    text-decoration: none;
    mix-blend-mode: lighten;
    transition: transform 0.45s var(--ease-out), filter 0.35s;
}

.lineup__img {
    width: 100%;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent), linear-gradient(180deg, #000 80%, transparent 99%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent), linear-gradient(180deg, #000 80%, transparent 99%);
    mask-composite: intersect;
}

/* A pool of the flavour's colour on the floor, brighter on hover */
.lineup__can::after {
    content: '';
    position: absolute;
    left: -10%;
    right: -10%;
    bottom: 1.75rem;
    height: 22%;
    background: radial-gradient(50% 50% at 50% 70%, var(--c), transparent 80%);
    mix-blend-mode: screen;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s;
}

.lineup__name {
    display: block;
    margin-top: 0.4rem;
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 700;
    font-stretch: 90%;
    font-size: clamp(0.75rem, 0.5rem + 0.5vw, 0.9375rem);
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
    color: var(--muted);
    transition: color 0.25s;
}

.lineup__can:hover,
.lineup__can:focus-visible { transform: translateY(-12px); }
.lineup__can:hover::after,
.lineup__can:focus-visible::after { opacity: 0.85; }
.lineup__can:hover .lineup__name,
.lineup__can:focus-visible .lineup__name { color: var(--text); }
.lineup__can:focus-visible { outline-offset: 6px; }

.lineup__track:has(.lineup__can:hover, .lineup__can:focus-visible) .lineup__can:not(:hover, :focus-visible) {
    filter: brightness(0.42) saturate(0.6);
}

@keyframes power-on {
    0%, 30% { filter: brightness(0.05) saturate(0.3); }
    37% { filter: brightness(1.7) saturate(1.3); }
    45% { filter: brightness(0.4) saturate(0.8); }
    58%, 100% { filter: brightness(1) saturate(1); }
}

@media (prefers-reduced-motion: no-preference) {
    .hero .lineup__can {
        animation: power-on 1.1s var(--ease-out) backwards;
        animation-delay: calc(var(--i) * 0.11s + 0.15s);
    }
}

/* Small screens: the lineup becomes a swipeable shelf */
@media (max-width: 47.99rem) {
    .lineup__track {
        justify-content: flex-start;
        gap: 0.25rem;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: var(--gutter);
        scrollbar-width: none;
        background: var(--ink-0);
    }
    .lineup__track::-webkit-scrollbar { display: none; }
    .lineup__item { flex: 0 0 8.5rem; max-width: none; scroll-snap-align: start; }
    .lineup__item:last-child { padding-right: var(--gutter); flex-basis: calc(8.5rem + var(--gutter)); }
    .lineup__name { font-size: 0.875rem; }
}

/* ---- Spec diagram ----------------------------------------------------- */

.spec { position: relative; isolation: isolate; background: var(--ink-0); }

.spec__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem 1.5rem;
    align-items: center;
    margin-top: clamp(2.5rem, 6vw, 4rem);
}

.spec__can {
    position: relative;
    grid-column: 1 / -1;
    order: -1;
    justify-self: center;
    width: min(100%, 26rem);
}
.spec__can::before {
    content: '';
    position: absolute;
    inset: 18% 22%;
    z-index: -1;
    background: radial-gradient(closest-side, rgb(31 102 240 / 0.45), transparent);
    filter: blur(40px);
}
.spec__img {
    width: 100%;
    mix-blend-mode: lighten;
    -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 66%, transparent 100%);
    mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 66%, transparent 100%);
}

.spec__facts { display: grid; gap: 2.5rem; margin: 0; }

.spec__fact { position: relative; }
.spec__figure {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 800;
    font-stretch: 92%;
    font-size: var(--step-4);
    line-height: 1;
}
.spec__fact dd { margin: 0.6rem 0 0; color: var(--muted); max-width: 24ch; }
.spec__fact dd strong { color: var(--text); font-weight: 600; }

.spec__more { margin-top: clamp(2.5rem, 5vw, 3.5rem); text-align: center; }

@media (min-width: 60rem) {
    .spec__grid { grid-template-columns: minmax(0, 1fr) minmax(20rem, 30rem) minmax(0, 1fr); gap: 0 clamp(2rem, 5vw, 5rem); }
    .spec__can { grid-column: auto; order: 0; width: 100%; }
    .spec__facts { gap: 6rem; }
    .spec__facts--left { text-align: right; }
    .spec__facts--left dd { margin-left: auto; }

    /* Leader lines from each figure towards the can */
    .spec__fact::before,
    .spec__fact::after { content: ''; position: absolute; top: calc(var(--step-4) * 0.55); }
    .spec__fact::after { width: clamp(2rem, 4vw, 4.5rem); height: 1px; }
    .spec__fact::before {
        width: 7px; height: 7px;
        margin-top: -3px;
        border-radius: 50%;
        background: var(--eye);
        box-shadow: 0 0 10px 2px var(--volt-bright);
    }
    .spec__facts--left .spec__fact::after { left: calc(100% + 1.25rem); background: linear-gradient(90deg, var(--line-strong), var(--volt-bright)); }
    .spec__facts--left .spec__fact::before { left: calc(100% + 1.25rem + clamp(2rem, 4vw, 4.5rem)); }
    .spec__facts--right .spec__fact::after { right: calc(100% + 1.25rem); background: linear-gradient(270deg, var(--line-strong), var(--volt-bright)); }
    .spec__facts--right .spec__fact::before { right: calc(100% + 1.25rem + clamp(2rem, 4vw, 4.5rem)); }
}

/* ---- Rivalry ---------------------------------------------------------- */

.rivalry__grid { display: grid; gap: 2.5rem; align-items: center; }
.rivalry__media { max-width: 34rem; }
.rivalry__copy p:not(.lede) { color: var(--muted); max-width: 50ch; }
.rivalry__copy .h2 { margin-bottom: 1.75rem; }

@media (min-width: 60rem) {
    .rivalry__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(3rem, 7vw, 7rem); }
}

/* ---- Moments ---------------------------------------------------------- */

.moments {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: flex-end;
    min-height: clamp(30rem, 62vw, 46rem);
    overflow: hidden;
}

.moments__img {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 65% 40%;
}

.moments::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, var(--ink-0) 0%, rgb(2 10 28 / 0) 22%),
        linear-gradient(0deg, var(--ink-0) 0%, rgb(2 10 28 / 0.75) 28%, rgb(2 10 28 / 0) 62%),
        linear-gradient(90deg, rgb(2 10 28 / 0.7), rgb(2 10 28 / 0) 55%);
}

.moments__copy { padding-block: clamp(3rem, 8vw, 6rem); }
.moments__copy p { max-width: 36ch; margin-top: 1.25rem; font-size: var(--step-1); }

/* ---- Find your rival -------------------------------------------------- */

.quiz {
    isolation: isolate;
    background:
        radial-gradient(ellipse 55% 70% at 85% 60%, color-mix(in srgb, var(--quiz-c) 26%, transparent), transparent 70%),
        var(--ink-1);
    transition: --quiz-c 0.7s;
}

.quiz__grid { display: grid; gap: 2.5rem; }
.quiz__intro p { margin-top: 1.25rem; color: var(--muted); font-size: var(--step-1); max-width: 34ch; }

@media (min-width: 60rem) {
    .quiz__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(3rem, 6vw, 6rem); }
}

.quiz__question { margin: 0 0 2rem; padding: 0; border: 0; min-width: 0; }
.quiz__legend { margin-bottom: 1rem; padding: 0; font-size: var(--step-1); font-weight: 600; }

.choices {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.125rem;
    padding-inline: 0.4rem;
}

.choice { position: relative; display: inline-flex; }
.choice input {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    cursor: pointer;
}
.choice span {
    position: relative;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
    padding: 0.55rem 1.25rem;
    font-weight: 500;
    pointer-events: none;
}
.choice span::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    border: 1.5px solid var(--line-strong);
    border-radius: 3px;
    transform: skewX(var(--skew));
    transition: background-color 0.2s, border-color 0.2s;
}
.choice:hover span::before { border-color: var(--text); }
.choice input:checked + span::before { background: var(--volt); border-color: var(--volt); }
.choice input:focus-visible + span::before { outline: 2px solid var(--eye); outline-offset: 3px; }

.quiz__outcome {
    min-height: 13rem;
    padding-top: 2rem;
    border-top: 1px solid var(--line);
}
.quiz__empty { color: var(--muted); }

.quiz-result {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1rem clamp(1.25rem, 4vw, 2.5rem);
    align-items: center;
}
.quiz-result[hidden] { display: none; }
.quiz-result__can img { width: clamp(5.5rem, 14vw, 8rem); mix-blend-mode: lighten; }
.quiz-result__kicker { margin: 0; color: var(--muted); font-weight: 500; }
.quiz-result__name { margin: 0.25rem 0 0.5rem; font-size: var(--step-4); }
.quiz-result .btn { margin-top: 1.25rem; margin-left: 0.4rem; }

@media (prefers-reduced-motion: no-preference) {
    .quiz-result:not([hidden]) .quiz-result__can { animation: can-in 0.6s var(--ease-out); }
    .quiz-result:not([hidden]) .quiz-result__copy { animation: fade-in 0.5s 0.1s var(--ease-out) backwards; }
}

@keyframes can-in {
    from { opacity: 0; transform: translateY(1.5rem) rotate(-6deg); }
}
@keyframes fade-in {
    from { opacity: 0; transform: translateX(-0.75rem); }
}

.quiz__fallback { color: var(--muted); }

/* ---- Gear teaser ------------------------------------------------------ */

.gear-teaser__grid {
    display: grid;
    gap: 1.25rem;
    margin-top: clamp(2.5rem, 5vw, 3.5rem);
}
.gear-teaser__grid img { aspect-ratio: 3 / 2; object-fit: cover; }

@media (min-width: 48rem) {
    .gear-teaser__grid { grid-template-columns: 1fr 1fr; }
}

/* ---- Launch sign-off -------------------------------------------------- */

.launch {
    position: relative;
    overflow: hidden;
    padding-block: clamp(4.5rem, 11vw, 9rem);
    text-align: center;
    background:
        radial-gradient(ellipse 45% 55% at 50% 35%, rgb(31 102 240 / 0.2), transparent 70%),
        var(--ink-0);
}
.launch__inner { display: flex; flex-direction: column; align-items: center; }
.launch__mascot {
    width: clamp(11rem, 26vw, 18rem);
    filter: drop-shadow(0 30px 70px rgb(31 102 240 / 0.45));
}
.launch__title { margin-top: clamp(2rem, 4vw, 3rem); font-size: clamp(3rem, 1.2rem + 7vw, 7rem); font-weight: 900; }
.launch p { max-width: 38ch; margin-top: 1.25rem; color: var(--muted); font-size: var(--step-1); }

/* ==========================================================================
   Inner pages
   ========================================================================== */

.page-hero {
    padding-block: clamp(2.5rem, 7vw, 6rem) clamp(2.5rem, 6vw, 4.5rem);
    background: radial-gradient(ellipse 60% 90% at 10% 0%, rgb(31 102 240 / 0.16), transparent 70%);
}

.page-hero__title {
    max-width: 13ch;
    font-size: clamp(3rem, 1.2rem + 7vw, 7.5rem);
    font-weight: 900;
    font-stretch: 95%;
    line-height: 0.86;
}

.page-hero__lede {
    max-width: 44ch;
    margin-top: clamp(1.5rem, 3vw, 2.25rem);
    font-size: var(--step-2);
    line-height: 1.45;
    color: var(--muted);
}

.breadcrumbs { margin-bottom: 1.5rem; font-size: var(--step--1); color: var(--muted); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li + li::before { content: '/'; margin-right: 0.5rem; opacity: 0.6; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--text); }

/* ---- Flavour grid ----------------------------------------------------- */

.flavour-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

@media (min-width: 48rem) {
    .flavour-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
}

.flavour-tile {
    --cut: 1.5rem;
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    padding: 1.75rem 1rem 1.75rem;
    text-align: center;
    text-decoration: none;
    background:
        radial-gradient(ellipse 75% 40% at 50% 70%, color-mix(in srgb, var(--c) 34%, transparent), transparent 70%),
        linear-gradient(180deg, var(--ink-1), var(--ink-0));
    clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%);
    transition: background-color 0.3s;
}

.flavour-tile img {
    width: min(100%, 10.5rem);
    mix-blend-mode: lighten;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent), linear-gradient(180deg, #000 82%, transparent);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent), linear-gradient(180deg, #000 82%, transparent);
    mask-composite: intersect;
    transition: transform 0.45s var(--ease-out);
}

.flavour-tile__name {
    margin-top: 1rem;
    font-size: var(--step-3);
    line-height: 0.95;
}

.flavour-tile__bar {
    display: block;
    width: 2.5rem;
    height: 4px;
    margin: 0.875rem auto;
    background: linear-gradient(90deg, var(--c), var(--c2));
    transform: skewX(-24deg);
    transition: width 0.35s var(--ease-out);
}

.flavour-tile__tagline { margin: 0; color: var(--muted); font-size: 0.9375rem; line-height: 1.45; max-width: 22ch; }

.flavour-tile:hover img,
.flavour-tile:focus-visible img { transform: translateY(-10px); }
.flavour-tile:hover .flavour-tile__bar,
.flavour-tile:focus-visible .flavour-tile__bar { width: 4.5rem; }
.flavour-tile:focus-visible { outline-offset: -3px; }

/* The core spec as a single strip */
.spec-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
    border-block: 1px solid var(--line);
}
.spec-strip > div { padding: 1.5rem 1.25rem; border-left: 1px solid var(--line); }
.spec-strip > div:nth-child(odd) { border-left: 0; }
.spec-strip > div:nth-child(n + 3) { border-top: 1px solid var(--line); }
.spec-strip dt {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 800;
    font-stretch: 92%;
    font-size: var(--step-3);
    line-height: 1;
}
.spec-strip dd { margin: 0.4rem 0 0; color: var(--muted); font-size: 0.9375rem; }

@media (min-width: 48rem) {
    .spec-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .spec-strip > div:nth-child(odd) { border-left: 1px solid var(--line); }
    .spec-strip > div:first-child { border-left: 0; padding-left: 0; }
    .spec-strip > div:nth-child(n + 3) { border-top: 0; }
}

.cta-band {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem 3rem;
}
.cta-band .h2 { font-size: var(--step-4); max-width: 18ch; }
.cta-band .actions { margin-top: 0; }

/* ---- Flavour detail --------------------------------------------------- */

.flavour-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding-block: clamp(1.5rem, 4vw, 3rem) clamp(3rem, 7vw, 5rem);
    background: var(--ink-0);
}

.flavour-hero__grid { display: grid; gap: 1rem 3rem; align-items: center; }

@media (min-width: 60rem) {
    .flavour-hero__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
}

.flavour-hero__name {
    font-size: clamp(3.25rem, 1rem + 8.5vw, 8.5rem);
    font-weight: 900;
    font-stretch: 95%;
    line-height: 0.84;
}

.flavour-hero__bar {
    display: block;
    width: 6rem;
    height: 6px;
    margin-block: 1.75rem 1.5rem;
    background: linear-gradient(90deg, var(--c), var(--c2));
    transform: skewX(-24deg);
    box-shadow: 0 0 24px color-mix(in srgb, var(--c) 70%, transparent);
}

.flavour-hero__tagline { font-size: var(--step-2); font-weight: 600; line-height: 1.35; }
.flavour-hero__description { max-width: 46ch; color: var(--muted); }

.flavour-hero__can {
    position: relative;
    display: flex;
    justify-content: center;
    order: -1;
}

/* The flavour glow sits behind the can and fades out inside its own box, so it never clips. */
.flavour-hero__can::before {
    content: '';
    position: absolute;
    inset: -4% -45%;
    z-index: -1;
    background:
        radial-gradient(closest-side at 50% 40%, color-mix(in srgb, var(--c2) 26%, transparent), transparent),
        radial-gradient(closest-side at 50% 62%, color-mix(in srgb, var(--c) 46%, transparent), transparent);
}

.flavour-hero__can img { width: auto; }
.flavour-hero__can .is-cut {
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent), linear-gradient(180deg, #000 82%, transparent);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent), linear-gradient(180deg, #000 82%, transparent);
    mask-composite: intersect;
}
.flavour-hero__can .is-studio { height: clamp(22rem, 64vh, 42rem); }
.flavour-hero__can .is-cut { height: clamp(19rem, 56vh, 33.3rem); margin-block: 1rem; }

@media (min-width: 60rem) {
    .flavour-hero__can { order: 0; }
}

.notes { margin-top: 2rem; }
.notes h2 { font-size: var(--step--1); font-weight: 600; color: var(--muted); margin-bottom: 0.75rem; }
.notes ul { display: flex; flex-wrap: wrap; gap: 0.625rem 1rem; margin: 0; padding: 0 0.4rem; list-style: none; }
.notes li { position: relative; isolation: isolate; padding: 0.4rem 1rem; font-weight: 500; font-size: 0.9375rem; }
.notes li::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    border: 1.5px solid color-mix(in srgb, var(--c) 70%, white 10%);
    background: color-mix(in srgb, var(--c) 14%, transparent);
    border-radius: 3px;
    transform: skewX(var(--skew));
}

.flavour-hero .spec-strip { margin-top: 2.25rem; }
@media (min-width: 48rem) {
    .flavour-hero .spec-strip { border-bottom: 0; }
}

.flavour-moment {
    padding-block: clamp(3rem, 7vw, 5.5rem);
    border-bottom: 1px solid var(--line);
}
.flavour-moment p:first-child { color: var(--muted); font-weight: 600; margin-bottom: 0.75rem; }
.flavour-moment .display { font-size: var(--step-5); max-width: 20ch; }

.flavour-pager {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid var(--line);
}

.flavour-pager a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-block: 1.5rem;
    text-decoration: none;
}
.flavour-pager a + a { justify-content: flex-end; text-align: right; border-left: 1px solid var(--line); }
.flavour-pager img { width: auto; height: 6rem; mix-blend-mode: lighten; transition: transform 0.35s var(--ease-out); }
.flavour-pager small { display: block; color: var(--muted); font-size: var(--step--1); }
.flavour-pager strong {
    display: block;
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 800;
    font-stretch: 90%;
    font-size: var(--step-2);
    text-transform: uppercase;
    line-height: 1.05;
}
.flavour-pager a:hover img { transform: translateY(-6px); }
.flavour-pager a:first-child:hover img { transform: translateX(-4px) translateY(-6px); }

.range-strip { padding-block: var(--section); }
.range-strip h2 { font-size: var(--step-4); margin-bottom: 2rem; }
.range-strip .lineup { margin-top: 0; }
.range-strip .lineup__track { justify-content: flex-start; padding-inline: 0; max-width: none; background: none; }
.range-strip .lineup__item { max-width: 150px; }

@media (max-width: 47.99rem) {
    .range-strip .lineup__track { margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
    .range-strip .lineup__item { flex-basis: 7rem; }
    .range-strip .lineup__item:last-child { flex-basis: calc(7rem + var(--gutter)); }
}

/* ---- Inside the can --------------------------------------------------- */

.fact-rows { border-top: 1px solid var(--line); }

.fact-row {
    display: grid;
    gap: 0.75rem 3rem;
    padding-block: clamp(2rem, 5vw, 3.25rem);
    border-bottom: 1px solid var(--line);
}

.fact-row__term {
    font-size: var(--step-5);
    font-weight: 900;
    text-transform: none; /* keeps units as 0g and 120mg */
}
.fact-row__body h3 { font-size: var(--step-2); margin-bottom: 0.75rem; }
.fact-row__body p { color: var(--muted); max-width: 56ch; }

@media (min-width: 60rem) {
    .fact-row { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: baseline; }
}

.compare {
    display: grid;
    gap: 1rem;
    margin: 2.5rem 0 0;
}

.compare > div {
    --cut: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 1.5rem;
    background: var(--ink-1);
    clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%);
}

.compare dt { color: var(--muted); font-size: 0.9375rem; order: 2; }
.compare dd {
    margin: 0;
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 800;
    font-stretch: 92%;
    font-size: var(--step-4);
    line-height: 1;
}
.compare .is-us { background: linear-gradient(160deg, var(--volt), #123c9c); }
.compare .is-us dt { color: var(--text); font-weight: 600; }

@media (min-width: 48rem) {
    .compare { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.source { margin-top: 1rem; font-size: var(--step--1); color: var(--muted); }

.notice {
    --cut: 1.75rem;
    display: grid;
    gap: 1.5rem 3rem;
    padding: clamp(1.75rem, 5vw, 3.5rem);
    background:
        radial-gradient(ellipse 60% 80% at 100% 0%, rgb(31 102 240 / 0.2), transparent 70%),
        var(--ink-1);
    clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut)));
}
.notice h2 { font-size: var(--step-4); }
.notice ul { margin: 0; padding-left: 1.1em; display: grid; gap: 0.75rem; color: var(--muted); }
.notice li::marker { color: var(--volt-bright); }
.notice strong { color: var(--text); }

@media (min-width: 60rem) {
    .notice { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
}

/* ---- Story ------------------------------------------------------------ */

.story-intro { display: grid; gap: 1.5rem 4rem; }
.story-intro p { color: var(--muted); max-width: 58ch; }
.story-intro .lede { color: var(--text); }

@media (min-width: 60rem) {
    .story-intro { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

.pillars {
    display: grid;
    gap: 1.25rem;
    margin: clamp(2.5rem, 5vw, 3.5rem) 0 0;
    padding: 0;
    list-style: none;
}

.pillars li {
    position: relative;
    padding: 2rem 1.75rem 2rem;
    background: var(--ink-1);
    clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%);
}
.pillars li::before {
    content: '';
    display: block;
    width: 2.75rem;
    height: 4px;
    margin-bottom: 1.5rem;
    background: var(--volt);
    transform: skewX(-24deg);
}
.pillars h3 { font-size: var(--step-3); margin-bottom: 0.75rem; }
.pillars p { color: var(--muted); }

@media (min-width: 48rem) {
    .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.mascot-feature {
    display: grid;
    gap: 2.5rem 5rem;
    align-items: center;
}
.mascot-feature__art {
    position: relative;
    justify-self: center;
    width: min(100%, 24rem);
}
.mascot-feature__art::before {
    content: '';
    position: absolute;
    inset: 10%;
    z-index: -1;
    background: radial-gradient(closest-side, rgb(31 102 240 / 0.4), transparent);
    filter: blur(30px);
}
.mascot-feature p { color: var(--muted); max-width: 50ch; }
.mascot-feature .h2 { margin-bottom: 1.5rem; }

@media (min-width: 60rem) {
    .mascot-feature { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
}

.wide-photo { margin-top: var(--section); }
.wide-photo img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; object-position: 60% 50%; }
.wide-photo figcaption { margin-top: 0.75rem; color: var(--muted); font-size: var(--step--1); }

/* ---- Gear ------------------------------------------------------------- */

.gear-gallery { display: grid; gap: 1.25rem; }
.gear-gallery figure { display: flex; flex-direction: column; }
.gear-gallery img { flex: 1; object-fit: cover; }
.gear-gallery figcaption { margin-top: 0.875rem; color: var(--muted); font-size: 0.9375rem; }

@media (min-width: 60rem) {
    .gear-gallery { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); grid-template-rows: auto auto; }
    .gear-gallery__tall { grid-row: span 2; }
    .gear-gallery__tall .chamfer { height: 100%; }
    .gear-gallery__tall img { height: 100%; }
    .gear-gallery figure:not(.gear-gallery__tall) img { aspect-ratio: 16 / 9; }
}

.gear-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.125rem;
    margin: 2rem 0 0;
    padding: 0 0.4rem;
    list-style: none;
}
.gear-list li { position: relative; isolation: isolate; padding: 0.5rem 1.25rem; font-weight: 500; }
.gear-list li::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    border: 1.5px solid var(--line-strong);
    border-radius: 3px;
    transform: skewX(var(--skew));
}

/* ---- FAQ -------------------------------------------------------------- */

.faq { max-width: 52rem; border-top: 1px solid var(--line); }
.faq__group + .faq__group { margin-top: clamp(3rem, 6vw, 4.5rem); }
.faq__group > h2 { font-size: var(--step-3); padding-block: 2rem 1rem; }

.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
    position: relative;
    display: block;
    padding: 1.4rem 3rem 1.4rem 0;
    font-size: var(--step-1);
    font-weight: 600;
    line-height: 1.35;
    cursor: pointer;
    list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before,
.faq summary::after {
    content: '';
    position: absolute;
    right: 0.5rem;
    top: 50%;
    width: 1rem;
    height: 2px;
    background: var(--volt-bright);
    transition: transform 0.3s var(--ease-out);
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq summary:hover { color: var(--eye); }
.faq__answer { padding-bottom: 1.75rem; color: var(--muted); max-width: 62ch; }
.faq__answer a { color: var(--text); text-decoration-color: var(--volt-bright); text-underline-offset: 0.25em; }

/* ---- Legal / prose ---------------------------------------------------- */

.prose { max-width: 44rem; color: var(--muted); }
.prose h2 { margin: 2.75rem 0 1rem; font-size: var(--step-2); color: var(--text); }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; margin: 0 0 1em; display: grid; gap: 0.4rem; }
.prose li::marker { color: var(--volt-bright); }
.prose strong { color: var(--text); font-weight: 600; }
.prose a { color: var(--text); text-decoration-color: var(--volt-bright); text-underline-offset: 0.25em; }
.prose a:hover { color: var(--eye); }
.prose__updated { font-size: var(--step--1); margin-bottom: 2.5rem; }

/* ---- Gallery ---------------------------------------------------------- */

/* Masonry columns keep every image at its natural shape; nothing is cropped. */
.gallery__grid { columns: 1; column-gap: 1.25rem; }

@media (min-width: 40rem) {
    .gallery__grid { columns: 2; }
}
@media (min-width: 60rem) {
    .gallery__grid { columns: 3; }
}

.gallery__featured { margin-bottom: 1.25rem; }

.gallery__item {
    break-inside: avoid;
    margin: 0 0 clamp(1.5rem, 3vw, 2rem);
}
.gallery__item figcaption { margin-top: 0.75rem; color: var(--muted); font-size: 0.9375rem; max-width: 52ch; }

.gallery__link { display: block; text-decoration: none; cursor: zoom-in; }
.gallery__link:focus-visible { outline-offset: 4px; }

/* The chamfer sits on an inner frame so the link's focus ring isn't clipped. */
.gallery__frame {
    --cut: clamp(1rem, 2.4vw, 1.75rem);
    display: block;
    overflow: hidden;
    background: var(--ink-1);
    clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut)));
}
.gallery__frame img { width: 100%; transition: transform 0.6s var(--ease-out), filter 0.3s; }
.gallery__link:hover .gallery__frame img { transform: scale(1.035); filter: brightness(1.08); }

/* ---- Lightbox --------------------------------------------------------- */

.lightbox {
    width: 100vw;
    height: 100dvh;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: clamp(4rem, 8vh, 5rem) clamp(1rem, 6vw, 6rem) clamp(1.5rem, 4vh, 2.5rem);
    border: 0;
    background: rgb(2 10 28 / 0.94);
    color: var(--text);
    overscroll-behavior: contain;
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop {
    background: rgb(2 10 28 / 0.6);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.lightbox__figure {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    max-width: 100%;
    max-height: 100%;
    margin: 0;
}

.lightbox__img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: calc(100dvh - 11rem);
    object-fit: contain;
    touch-action: pan-y;
    user-select: none;
}

@media (prefers-reduced-motion: no-preference) {
    .lightbox[open] .lightbox__img { animation: lightbox-in 0.35s var(--ease-out); }
}
@keyframes lightbox-in {
    from { opacity: 0; transform: scale(0.97); }
}

.lightbox__caption {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem 2rem;
    width: 100%;
    max-width: 48rem;
    color: var(--muted);
    font-size: 0.9375rem;
}
.lightbox__count { flex: none; font-variant-numeric: tabular-nums; }

.lightbox__btn,
.lightbox__close {
    position: fixed;
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    padding: 0;
    border: 0;
    background: none;
    color: var(--text);
    cursor: pointer;
    isolation: isolate;
}
.lightbox__btn::before,
.lightbox__close::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    border: 1.5px solid var(--line-strong);
    border-radius: 3px;
    background: rgb(2 10 28 / 0.6);
    transform: skewX(var(--skew));
    transition: background-color 0.2s, border-color 0.2s;
}
.lightbox__btn:hover::before,
.lightbox__close:hover::before { background: var(--volt); border-color: var(--volt); }
.lightbox__btn svg,
.lightbox__close svg { width: 1.25rem; height: 1.25rem; }

.lightbox__btn { top: 50%; translate: 0 -50%; }
.lightbox__btn--prev { left: clamp(0.75rem, 2vw, 1.75rem); }
.lightbox__btn--next { right: clamp(0.75rem, 2vw, 1.75rem); }
.lightbox__close { top: 1rem; right: clamp(0.75rem, 2vw, 1.75rem); }

/* On phones the arrows move to the bottom corners, clear of the image (swiping works too). */
@media (max-width: 47.99rem) {
    .lightbox { padding-bottom: 5rem; }
    .lightbox__img { max-height: calc(100dvh - 14rem); }
    .lightbox__btn { top: auto; bottom: 1rem; translate: none; }
}

/* ---- Error pages ------------------------------------------------------ */

.error-page {
    display: grid;
    place-items: center;
    min-height: calc(100svh - var(--header-h) - 12rem);
    padding-block: var(--section);
    text-align: center;
    background: radial-gradient(ellipse 45% 50% at 50% 35%, rgb(31 102 240 / 0.18), transparent 70%);
}
.error-page__mascot { width: clamp(8rem, 18vw, 12rem); margin: 0 auto 2.5rem; }
.error-page__title { font-size: clamp(2.75rem, 1rem + 6vw, 6rem); font-weight: 900; }
.error-page p { max-width: 40ch; margin: 1.25rem auto 0; color: var(--muted); font-size: var(--step-1); }
.error-page .actions { justify-content: center; }

/* ==========================================================================
   Reduced motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-delay: 0s !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
