/**
 * theme.css — R&M brand tokens ("Mesh & Cream Bands").
 *
 * Cream bands for reading, red-mesh bands for conviction, amber as the accent.
 * Required by tools/tools/check_standard.py: --color-primary, --color-bg,
 * --color-text, --font-heading, --font-body.
 */

@font-face { font-family: "Bitter"; font-style: normal; font-weight: 100 900; font-display: swap;
    src: url("../fonts/bitter-latin.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: "Bitter"; font-style: normal; font-weight: 100 900; font-display: swap;
    src: url("../fonts/bitter-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Bitter"; font-style: italic; font-weight: 100 900; font-display: swap;
    src: url("../fonts/bitter-italic-latin.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: "Public Sans"; font-style: normal; font-weight: 400 800; font-display: swap;
    src: url("../fonts/public-sans-latin.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: "Public Sans"; font-style: normal; font-weight: 400 800; font-display: swap;
    src: url("../fonts/public-sans-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Public Sans"; font-style: italic; font-weight: 400 800; font-display: swap;
    src: url("../fonts/public-sans-italic-latin.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; }

:root {
    /* Brand */
    --red:        #9E1B22;   /* logo red: actions, italic headline line on cream */
    --red-deep:   #7A1218;   /* hover / pressed */
    --red-mesh:   #8E1820;   /* the jersey-mesh band ground */
    --amber:      #E2A63B;   /* accent on red; offset block behind photos */
    --amber-soft: #F3D39A;   /* amber hover */
    --blush:      #F6DADC;   /* secondary text on red (7:1) */

    /* Neutrals */
    --cream:      #FBF4E6;   /* reading bands */
    --cream-2:    #F4EAD4;   /* alternate cream band, footer */
    --white:      #FFFFFF;   /* cards, article body */
    --ink:        #26262A;   /* text */
    --soft:       #5A544A;   /* secondary text on cream (6.8:1) */
    --line:       #E6D9BE;   /* hairlines on cream */
    --field:      #CDBF9F;   /* input borders */

    /* Standard token names (check_standard.py) */
    --color-primary: var(--red);
    --color-bg:      var(--cream);
    --color-text:    var(--ink);

    /* Type */
    --font-heading: "Bitter", Georgia, serif;
    --font-body:    "Public Sans", "Segoe UI", system-ui, sans-serif;

    /* Space & shape */
    --frame:  76rem;
    --gutter: clamp(1.25rem, 4vw, 2rem);
    --band:   clamp(3.5rem, 7vw, 5rem);
    --radius: 14px;
    --radius-sm: 8px;
    --lift:   0 1px 2px rgb(60 30 10 / .08), 0 14px 28px -16px rgb(60 30 10 / .38);
    --lift-lg: 0 24px 40px -22px rgb(40 10 10 / .55);
    --ease-out: cubic-bezier(.16, 1, .3, 1);
}
