/* netherlandic.com — single global stylesheet. Keep < 12 KB. */
:root {
  --bg: #ffffff;
  --bg-alt: #f7f5f2;
  --text: #1f2328;
  --muted: #57606a;
  --accent: #c2410c;      /* Dutch orange, darkened for AA contrast */
  --accent-soft: #fff1e7;
  --border: #e3e0db;
  --link: #0b5394;
  --max: 46rem;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14161a;
    --bg-alt: #1c1f24;
    --text: #e6e3de;
    --muted: #9aa4b1;
    --accent: #f28c48;
    --accent-soft: #2a1f17;
    --border: #2e3238;
    --link: #7db3e8;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}
h1, h2, h3 { line-height: 1.25; text-wrap: balance; }
h1 { font-size: 1.9rem; margin: 0 0 .5rem; }
h2 { font-size: 1.4rem; margin: 2.2rem 0 .6rem; }
h3 { font-size: 1.15rem; margin: 1.6rem 0 .4rem; }
p, ul, ol { margin: 0 0 1rem; }
a { color: var(--link); text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
strong { font-weight: 650; }
code, .nl {
  font-family: inherit;
  font-style: italic;
}

/* Header + nav */
.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.site-header .inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: .8rem 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .4rem 1.4rem;
}
.logo {
  font-weight: 750;
  font-size: 1.15rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -.01em;
}
.logo span { color: var(--accent); }
.site-nav { display: flex; flex-wrap: wrap; gap: .1rem .9rem; }
.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: .93rem;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--accent); }

/* Layout */
main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.6rem 1rem 3rem;
}
.lede { font-size: 1.12rem; color: var(--muted); margin-bottom: 1.4rem; }
.breadcrumb {
  font-size: .85rem;
  color: var(--muted);
  margin: 0 0 1.2rem;
}
.breadcrumb a { color: var(--muted); }

/* Hero (homepage) */
.hero { padding: 1.2rem 0 .4rem; }
.hero h1 { font-size: 2.3rem; }
.hero .lede { max-width: 38rem; }
.cta {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: .55rem 1.1rem;
  border-radius: 6px;
}
.cta:hover { filter: brightness(1.08); }

/* Card grid for hub links */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr));
  gap: .8rem;
  padding: 0;
  margin: 1rem 0 1.4rem;
  list-style: none;
}
.grid li { margin: 0; }
.grid a {
  display: block;
  height: 100%;
  padding: .8rem .95rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-alt);
  text-decoration: none;
  color: var(--text);
}
.grid a:hover { border-color: var(--accent); }
.grid strong { display: block; color: var(--accent); margin-bottom: .15rem; }
.grid small { color: var(--muted); line-height: 1.4; display: block; }

/* Inline link lists (hub pages) */
.linklist { columns: 2; column-gap: 2rem; padding-left: 1.2rem; }
@media (max-width: 540px) { .linklist { columns: 1; } }
.linklist li { margin-bottom: .3rem; break-inside: avoid; }

/* Tables */
table {
  border-collapse: collapse;
  width: 100%;
  margin: 1rem 0 1.4rem;
  font-size: .97rem;
}
th, td {
  text-align: left;
  padding: .45rem .6rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
th { background: var(--bg-alt); font-weight: 650; }
.tablewrap { overflow-x: auto; }

/* Callout */
.note {
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  padding: .7rem 1rem;
  border-radius: 0 6px 6px 0;
  margin: 1rem 0 1.4rem;
}
.note p:last-child { margin-bottom: 0; }

/* Map (where-is-dutch-spoken) */
.map-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  max-height: 70vh;
  margin: 1rem 0 1.4rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-alt);
}
#map { position: absolute; inset: 0; }
.map-load {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  width: 100%;
  border: 0;
  background: var(--bg-alt);
  color: var(--text);
  font: inherit;
  cursor: pointer;
}
.map-load strong { color: var(--accent); font-size: 1.1rem; }
.map-load small { color: var(--muted); }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
  margin-top: 2rem;
}
.site-footer .inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.6rem 1rem 2rem;
  font-size: .9rem;
  color: var(--muted);
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem 1.1rem;
  margin-bottom: 1rem;
}
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--accent); }
