/* Section colour roles ("One Ink"): each section is printed in a single ink on paper
   tinted with that ink; every chrome colour is a lightness step of one seed hue.
   Values are generated by demos/design-batches/build.py (batch A). Chrome only:
   content colours (per-event timeline colours, map tiles and markers) are untouched.
   Pages opt in with <body data-page="..."> and consume --t-* roles; the header and
   footer components pick the same roles up and fall back to their defaults elsewhere. */

body[data-page="timeline"] {               /* seed hue 265, indigo */
    --t-paper: #eff4fd; --t-surface: #f9fbff; --t-wash: #dfeaff; --t-line: #c9d6f1; --t-control: #92a5cb;
    --t-ink: #17233f; --t-muted: #50638c;
    --t-accent: #3054ae; --t-accent-deep: #214092; --t-accent-soft: #cfdefd; --t-on-accent: #f8fafe;
    --t-hero: #325ac2; --t-second: #2a4482;
    --t-shadow: rgba(23, 35, 63, 0.14); --t-backdrop: rgba(23, 35, 63, 0.72);
}

body[data-page="restaurants"] {            /* seed hue 35, paprika */
    --t-paper: #fdf0ed; --t-surface: #fffaf8; --t-wash: #ffe2db; --t-line: #efcdc4; --t-control: #c7988b;
    --t-ink: #3a1911; --t-muted: #865448;
    --t-accent: #9d3013; --t-accent-deep: #821e00; --t-accent-soft: #fed3c7; --t-on-accent: #fdf9f8;
    --t-hero: #af2f09; --t-second: #772c1a;
    --t-shadow: rgba(58, 25, 17, 0.14); --t-backdrop: rgba(58, 25, 17, 0.72);
}

body[data-page="trips"] {                  /* sea-green trip notebook */
    --t-paper:#f3f7f4; --t-surface:#fcfdfb; --t-wash:#e4eee8; --t-line:#ceded5; --t-control:#97b2a4;
    --t-ink:#203f35; --t-muted:#536f62;
    --t-accent:#29654f; --t-accent-deep:#174b38; --t-accent-soft:#d5e8dc; --t-on-accent:#ffffff;
    --t-hero:#29654f; --t-second:#476b5c; --t-shadow:rgba(32,63,53,.12); --t-backdrop:rgba(32,63,53,.75);
}

/* System states, shared by every section */
body[data-page] {
    --t-danger: #b02a2d; --t-danger-ink: #790d14;
    --t-warn-bg: #ffeecd; --t-warn-ink: #6b4305; --t-warn-line: #e2bf76;
}

/* The site's base tokens (style.css) follow the section roles */
body[data-page] {
    --bg-dark: var(--t-paper); --bg-light: var(--t-surface); --bg-section: var(--t-wash);
    --text-primary: var(--t-ink); --text-secondary: var(--t-muted);
    --accent-cool: var(--t-accent); --accent-warm: var(--t-second); --accent-purple: var(--t-hero);
    --code-bg: var(--t-wash); --border-subtle: var(--t-line); --shadow-soft: var(--t-shadow);
    --t-header: color-mix(in srgb, var(--t-paper) 94%, transparent);
    --t-header-scrolled: color-mix(in srgb, var(--t-surface) 95%, transparent);
}
