/* ==========================================================================
   Try-out look "series" of the company site (Site:Look = series): the look of the LinkedIn series images - dark warm graphite, a heavy sans headline with a
   muted first part and a yellow accent word, a spaced mono kicker, thin warm-grey rules, the ladder rung as the one illustration. Loaded after iv.css; only
   tokens and a few typographic rules change, so the layout and the components stay the same. Always dark (set data-theme via Site:BrandVariant = dark).
   ========================================================================== */

:root[data-look="series"] {
    --font-heading: "Segoe UI Variable Display", "Segoe UI", Inter, system-ui, -apple-system, sans-serif;
    --heading-tracking: -.03em;
    --h1-size: clamp(2.3rem, 1.4rem + 4vw, 4.2rem);
}

:root[data-look="series"]:not([data-theme="light"]) {
    --bg: #1c1917;
    --bg-alt: #1c1917;
    --surface: #25211e;
    --surface-2: #211d1a;
    --text: #cfc8c0;
    --text-strong: #f6f2ea;
    --muted: #8e857c;
    --border: #2f2a26;
    --border-strong: #4a443e;
    --hero-from: #1c1917;
    --hero-to: #1c1917;
    --header-bg: rgba(28, 25, 23, .92);
    --footer-bg: #1c1917;
    --footer-text: #8e857c;
    --ill-bg: #1c1917;
    --ill-panel: #1c1917;
    --ill-line: #6f655c;
    --ill-mute: #6f655c;
}

[data-look="series"] body { background: var(--bg); }

/* headings: heavy, tight, big */
[data-look="series"] h1,
[data-look="series"] h2,
[data-look="series"] h3 { font-weight: 800; line-height: 1.04; }
[data-look="series"] h2 { font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3rem); }
[data-look="series"] h3 { font-size: 1.35rem; line-height: 1.15; }

/* the accent word of a headline: <span class="hl">; the muted part: <span class="dim"> */
[data-look="series"] h1 .hl, [data-look="series"] h2 .hl { color: var(--btn-bg); }
[data-look="series"] h1 .dim, [data-look="series"] h2 .dim { color: var(--muted); }

/* the kicker: yellow, mono, spaced, like "REEKS . 1 / 9" */
[data-look="series"] .eyebrow {
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: .8rem;
    letter-spacing: .28em;
    color: #ffc400;
    margin-bottom: 1.1rem;
}
[data-look="series"] .lead { font-size: 1.3rem; line-height: 1.5; color: var(--muted); max-width: 38rem; }

/* hero: generous space, no gradient, a thin rule under it */
[data-look="series"] .hero { padding-block: clamp(3rem, 2rem + 6vw, 7rem) clamp(2.5rem, 1.5rem + 4vw, 5rem); border-bottom: 1px solid var(--border); }
[data-look="series"] .hero-note { font-family: var(--font-mono); font-size: .85rem; color: var(--muted); letter-spacing: .04em; }

/* quiet cards: hairline instead of shadow, mono small print */
[data-look="series"] .card { background: transparent; border: 1px solid var(--border); box-shadow: none; border-radius: 6px; }
[data-look="series"] .card:hover { border-color: #ffc400; }
[data-look="series"] .site-header { border-bottom: 1px solid var(--border); }
[data-look="series"] .site-footer { border-top: 1px solid var(--border); }
[data-look="series"] .btn-primary { font-weight: 700; border-radius: 4px; }
[data-look="series"] .btn-ghost { border-color: var(--border-strong); }

/* running text: a calmer size next to the big headlines */
[data-look="series"] .prose, [data-look="series"] main p, [data-look="series"] main li { font-size: 1.05rem; line-height: 1.65; }
[data-look="series"] .prose h2, [data-look="series"] .page-hero + * h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); }
[data-look="series"] .page-hero { border-bottom: 1px solid var(--border); }

/* light variant (Portal:BrandVariant = light): warm paper with the same typography and the yellow kept for buttons and marks */
:root[data-look="series"][data-theme="light"] {
    --bg: #f6f2ea;
    --bg-alt: #f6f2ea;
    --surface: #fbf8f2;
    --surface-2: #f1ece2;
    --text: #3a342f;
    --text-strong: #1c1917;
    --muted: #7a7068;
    --border: #e0d9cc;
    --border-strong: #c9c0b0;
    --hero-from: #f6f2ea;
    --hero-to: #f6f2ea;
    --header-bg: rgba(246, 242, 234, .92);
    --footer-bg: #1c1917;
    --footer-text: #a8a29e;
    --ill-line: #6f655c;
}
[data-look="series"][data-theme="light"] .eyebrow { color: #8a6a00; }
[data-look="series"][data-theme="light"] h1 .hl, [data-look="series"][data-theme="light"] h2 .hl { color: #c79300; }
[data-look="series"][data-theme="light"] .card:hover { border-color: #c79300; }

/* footer: the column titles stay small mono kickers (the big h2 rule must not reach them) */
[data-look="series"] .footer-title { font-family: var(--font-mono); font-size: .75rem; font-weight: 600; line-height: 1.3; letter-spacing: .2em; margin: 0 0 .8rem; color: #ffc400; }
[data-look="series"] .site-footer li { font-size: .9rem; line-height: 1.5; }
