/* noorderlichtalert.nl - theme v1 (23-11-2026). The whole page is the night sky: navy, aurora green to violet,
   starlight for the moon. Distinct from the other alert sites (they all sit on paper). Fonts: Sora (headings),
   Figtree (text), self-hosted, OFL. Bump ?v= in _partials/head-assets.html after a change. */

@font-face { font-family: "Sora"; src: url("/assets/fonts/sora-latin-wght-normal.woff2") format("woff2-variations"); font-weight: 100 800; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/assets/fonts/figtree-latin-wght-normal.woff2") format("woff2-variations"); font-weight: 300 900; font-display: swap; }

:root {
  --sky: #0b1530;
  --sky-deep: #070e22;
  --card: #111d3d;
  --card-2: #16244a;
  --line: #24345f;
  --text: #e8edfb;
  --muted: #a9b4d0;
  --aurora: #3ee8a4;
  --teal: #4fd6c8;
  --violet: #a98bff;
  --star: #f4e6a6;
  --link: #8ff0cc;
  --k0: #52618a;
  --k1: #4fd6c8;
  --k2: #3ee8a4;
  --k3: #c79bff;
  --head: "Sora", "Segoe UI", system-ui, sans-serif;
  --body: "Figtree", "Segoe UI", system-ui, sans-serif;
  --r: 14px;
  --r-sm: 8px;
  --wrap: 72rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  color: var(--text); font: 400 1.0625rem/1.6 var(--body);
  background-color: var(--sky);
  background-image: radial-gradient(120% 60% at 70% -10%, rgba(62, 232, 164, .13), transparent 60%),
                    radial-gradient(80% 50% at 10% 0%, rgba(169, 139, 255, .12), transparent 60%);
  background-repeat: no-repeat;
}
main { flex: 1 0 auto; }
img, svg { max-width: 100%; }
a { color: var(--link); text-underline-offset: .18em; }
a:hover { color: #fff; }
h1, h2, h3 { font-family: var(--head); line-height: 1.2; letter-spacing: -.01em; margin: 0 0 .6rem; }
h1 { font-size: clamp(1.7rem, 1.2rem + 2.2vw, 2.6rem); font-weight: 700; }
h2 { font-size: clamp(1.3rem, 1.1rem + .9vw, 1.7rem); font-weight: 650; }
h3 { font-size: 1.1rem; font-weight: 650; }
p { margin: 0 0 1rem; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 1rem; }
.muted { color: var(--muted); }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: 12px; top: 12px; z-index: 50; background: var(--text); color: var(--sky); padding: 10px 14px; border-radius: var(--r-sm); }
:focus-visible { outline: 3px solid var(--aurora); outline-offset: 2px; }

.fa-icon { width: 1.1em; height: 1.1em; vertical-align: -.16em; fill: currentColor; }
.fa-icon .fa-s { opacity: .45; }

/* buttons and chips */
.btn { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: .55rem 1.15rem; border: 0; border-radius: 999px;
  background: linear-gradient(100deg, var(--aurora), var(--teal)); color: #06231a; font: 700 1rem/1.2 var(--body); text-decoration: none; cursor: pointer; }
.btn:hover { color: #06231a; filter: brightness(1.08); }
.btn--ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn--ghost:hover { color: #fff; border-color: var(--teal); }
.btn--wide { width: 100%; justify-content: center; }
.chip { display: inline-block; padding: .12rem .6rem; border-radius: 999px; font: 700 .85rem/1.5 var(--body); text-decoration: none; white-space: nowrap; }
.chip.c0 { background: #1c2a52; color: var(--muted); }
.chip.c1 { background: #22406a; color: #cfe3ff; }
.chip.c2 { background: rgba(79, 214, 200, .2); color: var(--teal); box-shadow: inset 0 0 0 1px rgba(79, 214, 200, .5); }
.chip.c3 { background: var(--aurora); color: #06231a; }
a.chip:hover { filter: brightness(1.15); }

/* header */
.site-header { background: rgba(7, 14, 34, .72); border-bottom: 1px solid var(--line); }
.site-header__inner { max-width: var(--wrap); margin: 0 auto; padding: .7rem 1rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.brand { display: inline-flex; }
.brand__logo { display: block; height: 40px; width: auto; }
.menu-toggle { display: none; align-items: center; gap: .4rem; min-height: 44px; padding: 0 .9rem; background: transparent; color: var(--text);
  border: 1px solid var(--line); border-radius: 999px; font: 600 .95rem var(--body); cursor: pointer; }
.menu-toggle svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; 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; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem; }
.site-nav__link { display: inline-block; padding: .5rem .75rem; border-radius: 999px; color: var(--text); text-decoration: none; font-weight: 600; font-size: .97rem; }
.site-nav__link:hover, .site-nav__item.is-current .site-nav__link { background: var(--card-2); color: #fff; }
.indep { margin: 0; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.indep__inner { display: block; max-width: var(--wrap); margin: 0 auto; padding: .35rem 1rem; }
.js .menu-toggle { display: inline-flex; }
.js .site-nav { display: none; flex-basis: 100%; }
.js .site-nav.is-open { display: block; }
.js .site-nav.is-open .site-nav__list { flex-direction: column; padding-bottom: .5rem; }
@media (min-width: 52rem) {
  .js .menu-toggle { display: none; }
  .js .site-nav { display: block; flex-basis: auto; }
  .js .site-nav.is-open .site-nav__list { flex-direction: row; padding: 0; }
}

/* verdict + ladder */
.kicker { display: flex; align-items: center; gap: .45rem; margin: 0 0 .5rem; color: var(--aurora); font: 700 .85rem/1.3 var(--body); letter-spacing: .06em; text-transform: uppercase; }
.verdict { display: grid; gap: 1.5rem; padding: 2.2rem 0 1.5rem; }
.verdict__headline { font: 600 clamp(1.2rem, 1rem + 1vw, 1.55rem)/1.35 var(--head); color: #fff; margin-bottom: .8rem; }
.verdict__line { margin: 0 0 .3rem; font-size: 1.05rem; }
.verdict__updated { margin: .7rem 0 1.1rem; font-size: .9rem; color: var(--muted); }
.verdict__cta { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0; }
.best { list-style: none; margin: 0 0 .9rem; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.ladder { margin: 0; padding: 1.1rem 1.1rem .9rem; background: linear-gradient(180deg, rgba(169, 139, 255, .12), rgba(62, 232, 164, .06) 70%, transparent), var(--card);
  border: 1px solid var(--line); border-radius: var(--r); }
.ladder__head { font: 650 1rem var(--head); margin-bottom: .7rem; }
.ladder__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .3rem; }
.ladder__s { position: relative; display: grid; grid-template-columns: 4.6rem 1fr; gap: .6rem; align-items: center; padding: .4rem .6rem .4rem .75rem;
  border-radius: var(--r-sm); background: var(--sky-deep); font-size: .93rem; line-height: 1.35; }
.ladder__s::before { content: ""; position: absolute; left: 0; top: .35rem; bottom: .35rem; width: 4px; border-radius: 4px; background: var(--k0); }
.ladder__s.k1::before { background: var(--k1); }
.ladder__s.k2::before { background: var(--k2); }
.ladder__s.k3::before { background: var(--k3); }
.ladder__k { font: 700 .95rem var(--head); }
.ladder__s.is-tonight { background: var(--card-2); box-shadow: inset 0 0 0 1px var(--aurora); }
.ladder__tag { grid-column: 2; justify-self: start; font-size: .78rem; font-weight: 700; color: var(--aurora); text-transform: uppercase; letter-spacing: .05em; }
.ladder__note { margin: .7rem 0 0; font-size: .85rem; color: var(--muted); }
@media (min-width: 56rem) { .verdict { grid-template-columns: 1.35fr 1fr; align-items: start; padding-top: 3rem; } }

/* nights: the Kp strip */
.nights, .regions { margin: 1.5rem 0; padding: 1.2rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.nights__head h2, .regions h2 { display: flex; align-items: center; gap: .5rem; }
.strip-wrap { overflow-x: auto; padding-bottom: .3rem; }
.strip { list-style: none; margin: 0; padding: 1.6rem 0 0; min-width: 44rem; height: 16rem; display: flex; align-items: flex-end; gap: 3px; position: relative; }
.strip__b { flex: 1 1 0; min-width: 0; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; position: relative;
  background: linear-gradient(to top, transparent calc(2.6rem + (100% - 4.2rem) * 5 / 9 - 1px), rgba(79, 214, 200, .45) calc(2.6rem + (100% - 4.2rem) * 5 / 9 - 1px), rgba(79, 214, 200, .45) calc(2.6rem + (100% - 4.2rem) * 5 / 9), transparent calc(2.6rem + (100% - 4.2rem) * 5 / 9)),
              linear-gradient(to top, transparent calc(2.6rem + (100% - 4.2rem) * 6 / 9 - 1px), rgba(62, 232, 164, .45) calc(2.6rem + (100% - 4.2rem) * 6 / 9 - 1px), rgba(62, 232, 164, .45) calc(2.6rem + (100% - 4.2rem) * 6 / 9), transparent calc(2.6rem + (100% - 4.2rem) * 6 / 9)),
              linear-gradient(to top, transparent calc(2.6rem + (100% - 4.2rem) * 7 / 9 - 1px), rgba(199, 155, 255, .45) calc(2.6rem + (100% - 4.2rem) * 7 / 9 - 1px), rgba(199, 155, 255, .45) calc(2.6rem + (100% - 4.2rem) * 7 / 9), transparent calc(2.6rem + (100% - 4.2rem) * 7 / 9)); }
.strip__bar { order: 1; width: 100%; height: calc((100% - 4.2rem) * var(--h, 4) / 100); min-height: 3px; border-radius: 4px 4px 1px 1px; background: var(--k0); }
.strip__kp { order: 0; font-size: .72rem; font-weight: 700; color: var(--muted); line-height: 1.6rem; }
.strip__lab { order: 2; height: 2.6rem; font-size: .68rem; line-height: 1.15; color: var(--muted); text-align: center; writing-mode: vertical-rl; transform: rotate(180deg); padding-top: .3rem; }
.strip__b.k1 .strip__bar { background: var(--k1); }
.strip__b.k2 .strip__bar { background: var(--k2); }
.strip__b.k3 .strip__bar { background: var(--k3); }
.strip__b.k1 .strip__kp, .strip__b.k2 .strip__kp, .strip__b.k3 .strip__kp { color: #fff; }
.strip__b.is-verwacht .strip__bar { background-image: repeating-linear-gradient(135deg, rgba(11, 21, 48, .55) 0 3px, transparent 3px 7px); }
.strip__b[data-day="1"]::before { content: ""; position: absolute; left: -2px; top: 1.6rem; bottom: 2.6rem; border-left: 1px dashed var(--line); }
.strip__empty { color: var(--muted); }
.legend { display: flex; flex-wrap: wrap; gap: .4rem 1rem; align-items: center; margin: .8rem 0 0; font-size: .88rem; color: var(--muted); }
.legend__i::before { content: ""; display: inline-block; width: .8rem; height: .8rem; border-radius: 3px; margin-right: .35rem; vertical-align: -.08rem; background: var(--k0); }
.legend__i.k1::before { background: var(--k1); }
.legend__i.k2::before { background: var(--k2); }
.legend__i.k3::before { background: var(--k3); }

/* regions */
.regions__cols { display: grid; gap: 1.2rem; }
@media (min-width: 52rem) { .regions__cols { grid-template-columns: 1fr 1fr; } }
.rcol__head { font-size: 1rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: .4rem; }
.rlist { list-style: none; margin: 0; padding: 0; }
.r { display: grid; grid-template-columns: 1fr auto auto; grid-template-areas: "n chip mail" "meta meta meta"; gap: .15rem .6rem; align-items: center;
  padding: .55rem 0; border-bottom: 1px solid var(--line); scroll-margin-top: 1rem; }
.r:target { background: var(--card-2); border-radius: var(--r-sm); padding-left: .5rem; padding-right: .5rem; }
.r__n { grid-area: n; font-weight: 650; }
.r .chip { grid-area: chip; }
.r__meta { grid-area: meta; display: flex; flex-wrap: wrap; gap: .1rem .9rem; font-size: .85rem; color: var(--muted); }
.r__cloud::before { content: "bewolking "; }
.r__dark:not(:empty)::before { content: "donker "; }
.r__mail { grid-area: mail; min-height: 36px; padding: 0 .8rem; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--text);
  font: 600 .85rem var(--body); cursor: pointer; }
.r__mail:hover { border-color: var(--aurora); color: #fff; }
.regions__key { margin: .8rem 0 0; font-size: .85rem; color: var(--muted); }

/* the alert band */
.alert { margin: 2.5rem 0; padding: 2.4rem 0; scroll-margin-top: 1rem;
  background: linear-gradient(115deg, rgba(62, 232, 164, .16), rgba(79, 214, 200, .08) 40%, rgba(169, 139, 255, .16)), var(--sky-deep);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.alert__inner { max-width: var(--wrap); margin: 0 auto; padding: 0 1rem; display: grid; gap: 1.6rem; }
@media (min-width: 56rem) { .alert__inner { grid-template-columns: 1.1fr 1fr; align-items: start; } }
.alert__form, .alert__done { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 1.2rem; }
.alert__field { display: block; margin-bottom: .9rem; }
.alert__field > span, .alert__when legend { display: block; font-weight: 650; margin-bottom: .3rem; }
.alert__field select, .alert__field input { width: 100%; min-height: 46px; padding: .5rem .75rem; border-radius: var(--r-sm); border: 1px solid #3a4c80;
  background: var(--sky-deep); color: var(--text); font: 400 1rem var(--body); }
.alert__field select:focus, .alert__field input:focus { border-color: var(--aurora); }
.alert__when { border: 0; margin: 0 0 .9rem; padding: 0; }
.alert__radio { display: flex; align-items: center; gap: .5rem; min-height: 40px; cursor: pointer; }
.alert__radio input { width: 1.15rem; height: 1.15rem; accent-color: var(--aurora); }
.alert__hp { position: absolute; left: -5000px; }
.alert__area { font-size: .9rem; color: var(--muted); }
.alert__consent { margin: .8rem 0 0; font-size: .8rem; color: var(--muted); }
.alert__msg { margin: .8rem 0 0; font-weight: 650; }
.alert__msg.is-ok { color: var(--aurora); }
.alert__msg.is-err { color: #ffb4a8; }
.alert__done-title { font: 700 1.2rem var(--head); }
.alert__done-small { font-size: .85rem; color: var(--muted); }
.alert__example summary { cursor: pointer; font-weight: 650; color: var(--link); }
.mailx { margin-top: .7rem; padding: 1rem; background: #f6f8fd; color: #18213a; border-radius: var(--r-sm); font-size: .93rem; }
.mailx p { margin: 0 0 .6rem; }
.mailx__from { font-size: .8rem; color: #5a6584; }
.mailx__subject { font: 700 1.05rem var(--head); }
.mailx__cta { display: inline-block; padding: .35rem .9rem; border-radius: 999px; background: #0f9e6e; color: #fff; font-weight: 700; }
.mailx__small { font-size: .78rem; color: #5a6584; }

/* text pages */
.page-head { padding: 1.4rem 0 .4rem; }
.layout { display: grid; gap: 2rem; padding-bottom: 1rem; }
@media (min-width: 56rem) { .layout { grid-template-columns: minmax(0, 1fr) 19rem; } }
.prose { max-width: 44rem; }
.prose h2 { margin-top: 2rem; }
.prose h3 { margin-top: 1.5rem; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: .35rem; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 1rem 0 1.5rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: .45rem .6rem; border-bottom: 1px solid var(--line); }
.prose th { color: var(--muted); font-weight: 650; }
.prose blockquote { margin: 1rem 0; padding: .6rem 1rem; border-left: 3px solid var(--aurora); background: var(--card); border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.body { margin: 2rem auto 0; }
.aside-card { margin-bottom: 1rem; padding: 1.1rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.aside-card--glow { background: linear-gradient(160deg, rgba(62, 232, 164, .16), rgba(169, 139, 255, .12)), var(--card); }
.aside-card__kicker { display: flex; align-items: center; gap: .4rem; margin-bottom: .4rem; color: var(--aurora); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; }
.aside-card__head { font: 650 1.05rem/1.35 var(--head); color: #fff; }
.aside-card__small { font-size: .9rem; color: var(--muted); }
.aside-links { list-style: none; margin: 0; padding: 0; }
.aside-links li { border-bottom: 1px solid var(--line); }
.aside-links a { display: block; padding: .45rem 0; text-decoration: none; }
.aside-links a[aria-current] { color: #fff; font-weight: 650; }
.crumbs, nav[aria-label="Kruimelpad"] { font-size: .88rem; color: var(--muted); padding-top: 1rem; }
.crumbs ol, nav[aria-label="Kruimelpad"] ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .3rem; }
.disclosure-slot { font-size: .85rem; color: var(--muted); }

/* footer */
.site-footer { margin-top: 2rem; background: var(--sky-deep); border-top: 1px solid var(--line); font-size: .93rem; }
.site-footer__inner { max-width: var(--wrap); margin: 0 auto; padding: 2rem 1rem 1rem; display: grid; gap: 1.5rem; }
@media (min-width: 52rem) { .site-footer__inner { grid-template-columns: 2fr 1fr 1fr; } }
.site-footer__about { display: flex; gap: 1rem; align-items: flex-start; color: var(--muted); }
.site-footer__mark { flex: none; border-radius: 12px; }
.site-footer__head { font-weight: 700; margin-bottom: .4rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .3rem; }
.site-footer__small { max-width: var(--wrap); margin: 0 auto; padding: .8rem 1rem 1.6rem; font-size: .82rem; color: var(--muted); border-top: 1px solid var(--line); }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
