/* ===========================================================================
   Chrome — the blue band, logo, navigation, search, footer.
   Sections 4, 7 and 10: logo, navigation and search return on every page.
   =========================================================================== */

/* --- The band (section 4). Not sticky. --- */
.band {
  background: var(--surface-band);
  padding-bottom: var(--sp-4);
}

.band-inner { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* --- Under construction notice --- */
.construction {
  border-bottom: 1px solid var(--rule-on-band);
}
.construction-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 10px var(--gutter);
  display: flex;
  gap: 10px;
  align-items: baseline;
  font-size: var(--fs-meta);
  color: var(--on-brand-soft);
}
.construction strong { color: var(--on-brand); font-weight: 600; }

/* --- Logo (section 4): a 36x72 ribbon against the top edge --- */
.topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--sp-2);
}

.logo { display: flex; gap: 16px; align-items: flex-start; text-decoration: none; }
.logo:hover { color: inherit; }
.logo-lint {
  width: 36px;
  height: 72px;
  background: var(--on-brand);
  flex-shrink: 0;
}
.logo-text {
  padding-top: 40px;
  font-size: var(--fs-small);
  line-height: 1.2;
  color: var(--on-brand);
  font-weight: 500;
}

/* --- Navigation --- */
.nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 42px;
  font-weight: 500;
}
.nav-item {
  background: none;
  border: 0;
  padding: 10px 0;
  color: var(--on-brand);
  border-bottom: 2px solid transparent;
  min-height: 44px;
}
.nav-item:hover { color: var(--on-brand); border-bottom-color: var(--rule-on-band); }
.nav-item.active { border-bottom-color: var(--on-brand); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--rule-on-band);
  color: var(--on-brand);
  padding: 10px 14px;
  gap: 10px;
  align-items: center;
  min-height: 44px;
  margin-top: 36px;
  font-weight: 500;
}

.nav-panel { display: contents; }

/* --- Hero --- */
.hero {
  max-width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: var(--sp-4);
  padding: 44px var(--gutter) 0;
  align-items: center;
}
.hero-glyph {
  display: block;
  width: min(100%, 300px);
  aspect-ratio: 1 / 1;
  color: var(--on-brand);
}
.hero-caption {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 150px;
  max-width: 420px;
}
.hero-caption-kind { font-size: 14px; color: var(--on-brand-soft); }
.hero-caption-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--on-brand);
  text-decoration: none;
}
.hero-caption-title:hover { color: var(--on-brand); text-decoration: underline; }
.hero-caption-short { font-size: var(--fs-small); line-height: 1.5; color: var(--on-brand-soft); }
.hero-intro { font-size: var(--fs-intro); line-height: 1.6; color: var(--on-brand-soft); margin: var(--sp-2) 0 0; }

/* --- Kerncijfers (section 7) --- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
  gap: var(--sp-1);
  border-top: 1px solid var(--rule);
  padding-top: 14px;
  margin-top: var(--sp-3);
}
.stat-n { font-size: var(--fs-stat); font-weight: 600; line-height: 1; }
.stat-l { font-size: var(--fs-meta); color: var(--text-soft); }

/* --- Search (section 7) --- */
.search {
  max-width: var(--wrap);
  margin: 40px auto 0;
  padding: 0 var(--gutter);
  position: relative;
}
.search-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--field-bg);
  padding: 0 10px 0 24px;
  border-radius: var(--radius-pill);
}
.search-icon { color: var(--field-placeholder); flex-shrink: 0; }
.search-input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  padding: 22px 0;
  font: inherit;
  font-size: var(--fs-search);
  color: var(--field-text);
  background: transparent;
}
.search-submit {
  background: var(--surface-brand);
  color: var(--on-brand);
  border: 0;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  min-height: 44px;
  flex-shrink: 0;
}
.search-submit:hover { background: var(--surface-brand-hover); }

.search-panel {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  top: calc(100% + 8px);
  z-index: 40;
  background: var(--surface-panel);
  border-radius: var(--radius-panel);
  max-height: 360px;
  overflow: auto;
  color: var(--text);
}
.search-count {
  padding: 12px 24px;
  font-size: var(--fs-meta);
  color: var(--text-meta);
}
.search-group {
  padding: 8px 24px 4px;
  font-size: var(--fs-meta);
  font-weight: 600;
  color: var(--text-meta);
  border-top: 1px solid var(--surface-tile-hover);
}
.search-row {
  display: flex;
  gap: var(--sp-1);
  align-items: center;
  padding: 10px 24px;
  border-top: 1px solid var(--surface-tile-hover);
  text-decoration: none;
  color: var(--accent-hover);
  width: 100%;
  background: none;
  border-left: 0; border-right: 0; border-bottom: 0;
  text-align: left;
  min-height: 44px;
}
.search-row:hover, .search-row.active { background: var(--surface-tile-hover); }
.search-row .glyph { width: 28px; height: 28px; }
.search-row-title { font-weight: 600; font-size: var(--fs-small); }
.search-row-sub { font-size: var(--fs-meta); color: var(--text-meta); }

/* --- Suggestiebox --- */
.suggestie-blok {
  flex: 0 1 260px;
  min-width: 0;
  text-align: center;
  border: 1px solid var(--rule);
  padding: var(--sp-2);
}
.suggestie-blok h4 {
  font-size: var(--fs-meta);
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-meta);
  margin-bottom: 10px;
}
.suggestie-tekst { font-size: var(--fs-meta); line-height: 1.5; color: var(--text-soft); margin: 0 0 14px; }
.suggestie-knop { display: block; text-align: center; }

/* --- Footer --- */
.site-footer {
  margin-top: var(--sp-4);
  background: var(--surface-band);
  padding: var(--sp-4) 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: var(--sp-3);
}
.site-footer h4 { font-size: var(--fs-small); margin-bottom: var(--sp-1); color: var(--on-brand); }
.site-footer p, .site-footer li { font-size: var(--fs-meta); color: var(--on-brand-soft); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: 6px 0; }
.site-footer a { color: var(--on-brand); }
.site-footer a:hover { text-decoration: underline; color: var(--on-brand); }

/* --- Narrow screens --- */
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0;
    padding-top: var(--sp-2);
  }
  .nav.open { display: flex; }
  .nav-item {
    width: 100%;
    text-align: left;
    padding: 12px 0;
    border-bottom: 1px solid var(--rule-on-band);
  }
  .nav-item.active { border-bottom-color: var(--on-brand); }
  .topbar { flex-wrap: wrap; }
}

@media (max-width: 520px) {
  .search-bar { padding-left: 16px; gap: 10px; }
  .search-input { font-size: var(--fs-intro); padding: 16px 0; }
  .search-submit { padding: 11px 16px; }
  .hero { padding-top: var(--sp-3); }
  .hero-caption { min-height: 0; }
  .logo-lint { width: 28px; height: 56px; }
  .logo-text { padding-top: 28px; }
}
