/* Shared by the map and every generated page. Keep header geometry here;
   style.css supplies only the map's absolute overlay position. */
:root { --header-height: 68px; }

.site-header {
  --header-bg: rgba(25,28,24,.95);
  --header-edge: rgba(212,203,182,.24);
  --header-shadow: inset 0 1px 0 rgba(238,233,220,.04), 0 4px 18px rgba(0,0,0,.3);
  --header-text: #eee9dc;
  --header-dim: #bab9aa;
  --header-accent: #bac594;
  --header-ink: 238,233,220;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 28px;
  width: 100%;
  height: var(--header-height);
  padding: 10px 20px;
  border: 0;
  border-bottom: 1px solid var(--header-edge);
  background: var(--header-bg);
  color: var(--header-text);
  box-shadow: var(--header-shadow);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif;
  font-size: 14px;
  font-weight: 450;
  line-height: 1.3;
  letter-spacing: -.012em;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
}

.theme-light .site-header {
  --header-bg: rgba(238,233,220,.96);
  --header-edge: rgba(48,55,40,.2);
  --header-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 4px 18px rgba(0,0,0,.18);
  --header-text: #292f25;
  --header-dim: #59604e;
  --header-accent: #4d5d35;
  --header-ink: 41,47,37;
}

.site-header, .site-header * { box-sizing: border-box; margin: 0; }
.site-header a { text-decoration: none; touch-action: manipulation; }
.site-header a:focus-visible { outline: 3px solid var(--header-accent); outline-offset: 3px; }
.site-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 10px;
  padding: 0;
  color: var(--header-text);
  white-space: nowrap;
}
.site-brand:hover { color: var(--header-text); }
.site-brand img { display: block; flex: none; width: 38px; height: 38px; max-width: none; }
.site-brand-wordmark { display: block; padding: 0; font-size: 22px; line-height: 1.1; font-weight: 700; letter-spacing: -.03em; }
.site-brand-wordmark > span { display: block; padding: 0; font-size: 10px; line-height: 1.5; text-transform: uppercase; letter-spacing: .14em; color: var(--header-dim); }
.site-nav { display: flex; align-items: center; gap: 4px; padding: 0; }
.site-nav a, .feedback-link { display: block; color: var(--header-dim); font-size: 13px; font-weight: 550; line-height: 1.3; padding: 10px 12px; border: 0; border-radius: 6px; white-space: nowrap; }
.site-nav a:hover, .feedback-link:hover { background: rgba(var(--header-ink),.08); color: var(--header-text); }
.site-nav a[aria-current="page"] { color: var(--header-accent); background: rgba(89,100,71,.17); }
.feedback-link { margin-left: auto; }

.skip-link { position: fixed; z-index: 1200; top: -80px; left: 12px; padding: 12px; background: #eee9dc; color: #191c18; font: 450 14px/1.3 Inter, sans-serif; }
.skip-link:hover { color: #191c18; }
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

@media (max-width: 720px) {
  :root { --header-height: 106px; }
  .site-header { flex-wrap: wrap; gap: 2px 10px; padding: 8px 12px; align-content: center; }
  .site-brand-wordmark { font-size: 20px; }
  .site-brand img { width: 34px; height: 34px; }
  .site-nav { order: 3; flex-basis: 100%; justify-content: space-between; }
  .site-nav a { padding: 9px 10px; font-size: 12px; }
  .feedback-link { padding: 10px 4px; font-size: 12px; }
}

@media print {
  .site-header, .skip-link { display: none; }
}
