/* System tokens (Nov 2026). Extends Design System V2; the V2 values in ../tokens.css stay authoritative.
   Only additions and the few corrections the redesign needs live here. */
@layer tokens {
:root {
    /* Deep surfaces for the cinematic bands */
    --c-night: #0E1820;
    --c-glow: #E3A552;                 /* Saffron lifted: AA for small text on Indigo and night */
    --c-on-deep-soft: #DCE2E5;         /* long paragraphs on Indigo */
    --c-line-on-deep: color-mix(in srgb, var(--c-on-deep) 18%, transparent);
    --c-scrim-0: color-mix(in srgb, var(--c-night) 0%, transparent);
    --c-scrim-40: color-mix(in srgb, var(--c-night) 40%, transparent);
    --c-scrim-70: color-mix(in srgb, var(--c-night) 70%, transparent);
    --c-scrim-92: color-mix(in srgb, var(--c-night) 92%, transparent);

    /* Route system (C). Route red is for route lines and stations only. */
    --c-route-soft: color-mix(in srgb, var(--c-route) 22%, var(--c-canvas));

    /* Type floor: nothing under 12px, meta 14px, card and footer text 15px, body 17/18px */
    --fs-label: 0.8125rem;
    --fs-meta: 0.9375rem;
    --fs-small: 0.875rem;
    --fs-body: 1.0625rem;
    --fs-cinema: clamp(2.75rem, 1.2rem + 7.2vw, 8.5rem);
    --fs-entity: clamp(2.5rem, 1.3rem + 5.2vw, 6.25rem);
    --fs-band: clamp(2.25rem, 1.3rem + 4vw, 5rem);
    --fs-hub: clamp(2.375rem, 1.5rem + 3.2vw, 4.75rem);
    --track-label: 0.1em;

    /* Map basemap (read by morocco-map.js): warm parchment land, Atlantic water, saffron-tinted dunes, pale roads
       and slate labels, so the homepage map reads as a crafted chart rather than a grey default. Hex only: the
       script mixes them. */
    --c-map-land: #F1E8D6;
    --c-map-water: #A8C2CE;
    --c-map-sand: #E8CB98;
    --c-map-road: #FFFDF8;
    --c-map-label: #4A5560;

    /* Rhythm */
    --band-y: clamp(4.5rem, 2.5rem + 8vw, 9.5rem);
    --gutter-bleed: clamp(1.25rem, 5vw, 5rem);

    /* Motion: one language */
    --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
    --dur-press: 100ms;
    --dur-settle: 1400ms;
}
@media (min-width: 1024px) { :root { --fs-body: 1.125rem; } }
}
