/* assets/css/site.css - stroomprijzen.nu, theme v1 (29-11-2026, "dagstrip")
   The day as a strip of hour tiles. Warm paper page, ink-blue header and hero, a lime "volt" accent; price levels in
   four colours that always come with words (the key under the strip, the figures in every tile), never colour alone.
   Headings and big figures in Big Shoulders Display (tall, condensed, like the numbers on a meter), text in Albert
   Sans. Deliberately unlike the sibling gasprijzen.eu (teal and amber, Inter-like sans) and benzineprijzen.info.
   Fonts self-hosted (OFL). Bump ?v= in _partials/head-assets.html after every change. */

@font-face { font-family: "Big Shoulders Display"; src: url("/assets/fonts/big-shoulders-display-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Albert Sans"; src: url("/assets/fonts/albert-sans-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --paper: #f6f3ec; --card: #fffdf8; --ink: #121a2b; --ink-2: #1c2740; --ink-3: #2a3758; --muted: #5d6576; --rule: #e2ddd1; --rule-2: #cfc8b8;
  --on-ink: #eef1f7; --on-ink-muted: #a5aec2;
  --volt: #c8f03c; --volt-ink: #4a6b00; --volt-soft: #f1fbd2;
  --lo: #138a72; --lo-soft: #dcf2ec; --mid: #c99a1c; --mid-soft: #f8efd6; --hi: #d4512b; --hi-soft: #fbe3da; --neg: #2a62d6; --neg-soft: #e1eafc;
  --head: "Big Shoulders Display", "Arial Narrow", system-ui, sans-serif; --sans: "Albert Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --s--1: .875rem; --s0: 1.0625rem; --s1: 1.25rem; --s2: 1.75rem; --s3: 2.6rem; --s4: 3.6rem;
  --radius: 14px; --wrap: 74rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 var(--s0)/1.6 var(--sans); }
img, svg { max-width: 100%; height: auto; }
a { color: var(--ink); text-decoration-color: var(--volt-ink); text-decoration-thickness: 2px; text-underline-offset: .2em; }
a:hover { color: var(--volt-ink); }
h1, h2, h3 { font-family: var(--head); line-height: 1.05; margin: 1.5em 0 .45em; letter-spacing: .005em; }
h1 { font-size: var(--s3); font-weight: 800; margin-top: .2em; text-transform: none; }
h2 { font-size: var(--s2); font-weight: 750; }
h3 { font-size: var(--s1); font-weight: 700; }
p, ul, ol, dl, table { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--volt); outline-offset: 2px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1rem; }
.skip { position: absolute; left: -999px; top: 0; background: var(--volt); color: var(--ink); padding: .6rem 1rem; z-index: 50; }
.skip:focus { left: 1rem; }
.muted { color: var(--muted); }
.lead { font-size: var(--s1); color: var(--muted); max-width: 44rem; }
.source { font-size: var(--s--1); color: var(--muted); }
.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
[hidden] { display: none !important; }

/* Header */
.site-header { background: var(--ink); color: var(--on-ink); }
.site-header__inner { max-width: var(--wrap); margin: 0 auto; padding: .7rem 1rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; position: relative; }
.brand { display: inline-flex; }
.brand__logo { height: 40px; width: auto; display: block; }
.menu-toggle { display: none; align-items: center; gap: .4rem; background: none; border: 1px solid var(--ink-3); border-radius: 8px; padding: .4rem .7rem; font: 600 var(--s--1) var(--sans); color: var(--on-ink); cursor: pointer; }
.menu-toggle svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; }
.menu-toggle__close { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__open { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__close { display: inline; }
.site-nav__list { list-style: none; display: flex; flex-wrap: wrap; gap: .15rem; margin: 0; padding: 0; }
.site-nav__link { display: block; padding: .45rem .7rem; border-radius: 6px; color: var(--on-ink); text-decoration: none; font-weight: 600; font-size: .97rem; }
.site-nav__link:hover, .site-nav__item.is-current .site-nav__link { background: var(--ink-2); color: var(--volt); }
@media (max-width: 54rem) {
  .js .menu-toggle { display: inline-flex; }
  .js .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--ink); border-top: 1px solid var(--ink-3); padding: .6rem 1rem 1rem; z-index: 1001; }
  .js .site-nav.is-open { display: block; }
  .js .site-nav__list { flex-direction: column; }
}
.dayline { background: var(--ink-2); color: var(--on-ink-muted); font-size: .82rem; }
.dayline__inner { max-width: var(--wrap); margin: 0 auto; padding: .35rem 1rem; display: flex; gap: 1.3rem; flex-wrap: wrap; }
.dayline b { color: var(--volt); font-weight: 650; }

/* Hero: the day */
.hero { background: var(--ink); color: var(--on-ink); border-bottom: 6px solid var(--volt); }
.hero__inner { max-width: var(--wrap); margin: 0 auto; padding: 1.6rem 1rem 2rem; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 2rem; align-items: start; }
.hero--slim .hero__inner { padding-bottom: 1.6rem; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, var(--s4)); }
.hero h2 { color: #fff; }
.hero a { color: var(--on-ink); }
.hero .crumbs, .hero .crumbs a { color: var(--on-ink-muted); }
.hero__lead { font-size: var(--s1); color: var(--on-ink); max-width: 36rem; }
.kicker { display: inline-block; font: 700 .8rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--volt); margin-bottom: .6rem; }
.now { display: inline-grid; grid-template-columns: auto; gap: .1rem; background: var(--ink-2); border: 1px solid var(--ink-3); border-left: 6px solid var(--volt); border-radius: 10px; padding: .6rem 1rem .7rem; margin: 0 0 1rem; }
.now__label { font-size: var(--s--1); color: var(--on-ink-muted); }
.now__fig { font: 800 3rem/1 var(--head); color: #fff; }
.now__fig small { font: 600 1rem var(--sans); color: var(--on-ink-muted); margin-left: .35rem; }
.now__note { font-size: var(--s--1); color: var(--on-ink); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; margin: 0; }
.stats div { background: var(--ink-2); border-radius: 10px; padding: .55rem .7rem; }
.stats dt { font-size: .8rem; color: var(--on-ink-muted); }
.stats dd { margin: 0; font: 800 1.7rem/1.1 var(--head); color: #fff; }
.stats small { display: block; font: 500 .8rem var(--sans); color: var(--on-ink-muted); }

/* The strip: 24 (or 23/25, or 96 quarter) tiles of the day */
.strip__h { font-size: var(--s1); margin: .2rem 0 .6rem; }
.strip { list-style: none; margin: 0 0 .6rem; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; }
.strip__cell { border-radius: 6px; padding: .35rem .4rem .4rem; display: flex; flex-direction: column; gap: .05rem; color: var(--ink); background: var(--mid-soft); border-top: 5px solid var(--mid); }
.strip__cell--lo { background: var(--lo-soft); border-top-color: var(--lo); }
.strip__cell--hi { background: var(--hi-soft); border-top-color: var(--hi); }
.strip__cell--neg { background: var(--neg-soft); border-top-color: var(--neg); }
.strip__t { font-size: .74rem; color: var(--muted); }
.strip__v { font: 800 1.25rem/1 var(--head); }
.strip__cell.is-now { outline: 3px solid var(--volt); outline-offset: 1px; }
.strip__cell.is-past { background: transparent; color: var(--on-ink-muted); }
.strip__cell.is-past .strip__t { color: var(--on-ink-muted); }
.strip__key { display: flex; flex-wrap: wrap; gap: .4rem 1rem; font-size: .8rem; color: var(--on-ink-muted); margin: 0; }
.key::before { content: ""; display: inline-block; width: .8em; height: .8em; border-radius: 3px; margin-right: .35em; vertical-align: -.05em; background: var(--mid); }
.key--lo::before { background: var(--lo); } .key--hi::before { background: var(--hi); } .key--neg::before { background: var(--neg); }

/* Story line under the hero */
.story { font: 600 var(--s1)/1.45 var(--sans); margin: 1.4rem 0 0; max-width: 52rem; padding-left: .9rem; border-left: 5px solid var(--volt); }
.story:empty { display: none; }
.story--neg { border-left-color: var(--neg); }

/* Sections and cards */
.section { margin: 2.2rem 0; }
.grid { display: grid; gap: 1rem; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); padding: 1.2rem 1.25rem; }
.card--ink { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.card--ink a { color: var(--on-ink); }
.card--ink .card__h { color: #fff; }
.card__h { margin-top: 0; }
.more { font-weight: 650; }
.more::after { content: " \2192"; }
.btn { display: inline-block; background: var(--volt); color: var(--ink); padding: .55rem 1rem; border-radius: 8px; font-weight: 700; text-decoration: none; }
.btn:hover { color: var(--ink); filter: brightness(.95); }

/* The hours table with bars */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--card); }
table.hours, table.data { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; margin: 0; }
.hours th, .hours td, .data th, .data td { padding: .38rem .7rem; border-bottom: 1px solid var(--rule); text-align: left; }
.hours thead th, .data thead th { font-size: .8rem; color: var(--muted); font-weight: 600; background: var(--paper); }
.hours tbody th, .data tbody th { font-weight: 600; white-space: nowrap; }
.hours tr:last-child th, .hours tr:last-child td, .data tr:last-child th, .data tr:last-child td { border-bottom: 0; }
.hours__barcol { width: 55%; }
.bar { display: block; height: 14px; border-radius: 4px; background: var(--mid); min-width: 4px; }
.bar--lo { background: var(--lo); } .bar--hi { background: var(--hi); } .bar--neg { background: var(--neg); }
.hours td.num { font-weight: 650; }
.hours td.num.muted { font-weight: 400; }
.hours__row.is-now { background: var(--volt-soft); }
.hours__row.is-now th::after { content: " nu"; font-size: .75rem; color: var(--volt-ink); font-weight: 700; }
.hours__row.is-past { color: var(--muted); }

/* Cheapest blocks */
.blocks { list-style: none; margin: 0 0 1rem; padding: 0; }
.blocks li { display: grid; grid-template-columns: 4.5rem 1fr auto; gap: .6rem; padding: .45rem 0; border-bottom: 1px dashed var(--rule-2); align-items: baseline; }
.card--ink .blocks li { border-bottom-color: var(--ink-3); }
.blocks__k { font-size: var(--s--1); color: var(--muted); }
.card--ink .blocks__k { color: var(--on-ink-muted); }
.blocks__t { font: 800 1.35rem/1 var(--head); }
.blocks__a { font-weight: 700; white-space: nowrap; }

/* Price build-up */
.build__part { background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); padding: 1rem; position: relative; }
.build__part h3 { margin: .3rem 0 .4rem; }
.build__part p { margin: 0; font-size: .97rem; }
.build__n { display: inline-grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--ink); color: var(--volt); font: 800 1.1rem var(--head); }

/* Planner */
.planner { background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: var(--radius); padding: 1.1rem 1.2rem; display: grid; gap: .45rem; }
.planner__h { margin: 0 0 .3rem; font-size: var(--s2); }
.planner label { font-size: var(--s--1); color: var(--on-ink-muted); }
.planner select, .planner input { font: 500 1rem var(--sans); padding: .55rem .6rem; border-radius: 8px; border: 1px solid var(--ink-3); background: var(--paper); color: var(--ink); width: 100%; }
.planner__custom { display: grid; gap: .45rem; }
.planner__out { margin-top: .5rem; }
.plan-best { font: 800 2.4rem/1 var(--head); color: var(--volt); margin: .2rem 0 .3rem; }
.plan-line { margin: .15rem 0; }
.plan-line b { color: #fff; }

/* Text pages */
.page-head { margin: 1rem 0 .5rem; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 19rem; gap: 2rem; align-items: start; margin-bottom: 2rem; }
.prose { max-width: 44rem; }
.prose h2 { margin-top: 1.6em; }
.prose table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.prose th, .prose td { padding: .4rem .6rem; border-bottom: 1px solid var(--rule); text-align: left; }
.prose thead th { font-size: .85rem; color: var(--muted); }
.prose .callout { background: var(--volt-soft); border-left: 5px solid var(--volt-ink); padding: .8rem 1rem; border-radius: 0 10px 10px 0; }
.aside-card { background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); padding: 1rem 1.1rem; margin-bottom: 1rem; }
.aside-card--ink { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.aside-card--ink b { color: var(--volt); }
.aside-card__head { font: 800 1.3rem/1 var(--head); margin: 0 0 .5rem; }
.aside-links { list-style: none; margin: 0; padding: 0; }
.aside-links li { padding: .3rem 0; border-bottom: 1px solid var(--rule); }
.aside-links li:last-child { border-bottom: 0; }
.faq details { border-bottom: 1px solid var(--rule); padding: .65rem 0; }
.faq summary { font-weight: 650; cursor: pointer; }
.faq details p { margin: .5rem 0 0; }

/* Footer */
.site-footer { background: var(--ink); color: var(--on-ink-muted); margin-top: 3rem; border-top: 6px solid var(--volt); }
.site-footer__inner { max-width: var(--wrap); margin: 0 auto; padding: 2rem 1rem 1rem; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; }
.site-footer__logo { height: 36px; width: auto; margin-bottom: .8rem; }
.site-footer a { color: var(--on-ink); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: .2rem 0; }
.site-footer__head { font: 800 1.15rem var(--head); color: #fff; margin: 0 0 .5rem; }
.site-footer__small { max-width: var(--wrap); margin: 0 auto; padding: 1rem; font-size: .8rem; border-top: 1px solid var(--ink-3); }

@media (max-width: 54rem) {
  .hero__inner { grid-template-columns: minmax(0, 1fr); gap: 1.2rem; }
  .grid--2, .grid--4 { grid-template-columns: minmax(0, 1fr); }
  .layout { grid-template-columns: minmax(0, 1fr); }
  .site-footer__inner { grid-template-columns: minmax(0, 1fr); gap: 1.2rem; }
}
@media (max-width: 30rem) {
  .dayline__inner { gap: .2rem 1rem; }
  .dayline__inner span:nth-child(3) { display: none; }
  .strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .stats dd { font-size: 1.4rem; }
  .hours__barcol { width: 40%; }
  .hours th, .hours td { padding: .35rem .45rem; }
}

/* page bodies (29-11): numbered steps, supplier list, light button */
.prose ol.steps { list-style: none; counter-reset: st; padding-left: 0; }
.prose ol.steps li { counter-increment: st; position: relative; padding-left: 2.6rem; margin: 0 0 .8rem; }
.prose ol.steps li::before { content: counter(st); position: absolute; left: 0; top: .05rem; display: grid; place-items: center; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--ink); color: var(--volt); font: 800 1rem var(--head); }
.prose ul.providers { list-style: none; padding: 0; margin: 1rem 0; display: grid; gap: .5rem; }
.prose ul.providers li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem 1rem; background: var(--card); border: 1px solid var(--rule); border-radius: 10px; padding: .7rem 1rem; }
.prose ul.providers a { font-weight: 700; }
.btn--light { background: var(--card); border: 1px solid var(--rule-2); cursor: pointer; font: inherit; font-weight: 700; }
.prose .data tbody th { white-space: normal; min-width: 6.5rem; vertical-align: top; }
.prose .data td { min-width: 7rem; vertical-align: top; }
.prose .data td.num { min-width: 0; }
