/* =========================================================
   POPATLAS — stylesheet v3 (pop-art)
   Rechtstreeks van de cover geleend: de zware stacked
   POP/ATLAS-typografie, het rode gitaarkoffertje met stickers,
   en een speelsere, striptekening-achtige uitvoering
   (dikke zwarte lijnen, harde schaduwen, halftone-stippen).
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --paper: #faf8f3;
  --paper-alt: #f1e9d8;
  --ink: #15130f;
  --ink-soft: #5b564a;
  --case: #d14b2e;
  --case-dark: #a83a22;
  --sun: #f2b705;
  --sun-dark: #d6a200;
  --sea: #2b4a63;
  --sky: #4f8fd0;
  --sand: #e9d9ad;

  --font-display: 'Archivo Black', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius: 12px;
  --radius-sm: 8px;
  --edge: 3px solid var(--ink);
}

* { box-sizing: border-box; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--sea); }
a:focus-visible, button:focus-visible, select:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 2px;
}

.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Halftone-stippen als printtextuur, als overlay op donkere/kleurvlakken */
.halftone {
  position: relative;
  isolation: isolate;
}
.halftone::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(currentColor 1.4px, transparent 1.6px);
  background-size: 13px 13px;
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
}
.halftone > * { position: relative; z-index: 1; }

/* ---------- Header ---------- */
header.site {
  border-bottom: var(--edge);
  position: sticky;
  top: 0;
  background: var(--paper);
  z-index: 20;
}
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}
.brand {
  display: flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--ink);
}
.brand .pop {
  color: var(--case);
  -webkit-text-stroke: 0.5px var(--ink);
}
.site-nav nav a {
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--ink);
  margin-left: 26px;
}
.site-nav nav a:hover { color: var(--case); }

/* ---------- Hero ---------- */
.hero {
  padding-top: 52px;
  padding-bottom: 48px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: center;
}
@media (max-width: 840px) {
  .hero { grid-template-columns: 1fr; padding-top: 32px; }
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5vw, 3rem);
  line-height: 1.06;
  margin: 0 0 18px;
  color: var(--ink);
  text-transform: uppercase;
  overflow-wrap: break-word;
  hyphens: auto;
}
.hero h1 .accent { color: var(--case); }
.hero p.lede {
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 46ch;
  margin: 0 0 28px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ---------- Comic-style buttons ---------- */
.btn {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.95rem;
  padding: 15px 22px;
  border-radius: var(--radius-sm);
  border: var(--edge);
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #fff;
  color: var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.btn:active { transform: translate(4px, 4px); box-shadow: 0 0 0 var(--ink); }
.btn-sun { background: var(--sun); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-outline { background: var(--paper); }
.btn-text {
  background: none;
  border: none;
  color: var(--sea);
  font-weight: 800;
  padding: 6px 0;
  box-shadow: none;
}
.btn-text:hover { transform: none; text-decoration: underline; }
.btn:disabled { opacity: 0.5; cursor: progress; transform: none; }

/* ---------- Hero visual: gitaarkoffer-scene ---------- */
.hero-visual {
  position: relative;
  border: var(--edge);
  border-radius: 20px;
  overflow: hidden;
  height: 340px;
  background: linear-gradient(180deg, var(--sky) 0%, var(--sky) 42%, var(--sand) 42%, var(--sand) 100%);
  box-shadow: 7px 7px 0 var(--ink);
  color: var(--ink);
}
.hero-visual .sun-disc {
  position: absolute;
  top: 26px; right: 34px;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--sun);
  border: 3px solid var(--ink);
}
.cover-chip {
  position: absolute;
  top: 26px; left: 26px;
  background: var(--ink);
  color: #fff;
  border: 3px solid var(--ink);
  border-radius: 8px;
  padding: 10px 16px 12px;
  transform: rotate(-4deg);
  box-shadow: 5px 5px 0 var(--case);
  line-height: 0.92;
}
.cover-chip .pop {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: #fff;
}
.cover-chip .atlas {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--sun);
  margin-top: 2px;
}
.cover-chip .sub {
  display: block;
  font-family: var(--font-body);
  font-size: 0.55rem;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: #cfc9ba;
  margin-top: 6px;
  text-transform: uppercase;
}

.case-scene {
  position: absolute;
  bottom: -6px;
  right: -10px;
  width: 280px;
}

.sticker {
  position: absolute;
  font-family: var(--font-display);
  font-size: 0.58rem;
  color: var(--ink);
  background: var(--sun);
  padding: 7px 11px;
  border-radius: 50%;
  border: 2.5px solid var(--ink);
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 2px 2px 0 var(--ink);
}
.sticker.s1 { top: 96px; left: 18px; transform: rotate(-10deg); background: #fff; }
.sticker.s2 { top: 150px; left: -6px; transform: rotate(7deg); background: var(--sea); color: #fff; border-color: var(--ink); }
.sticker.s3 { top: 40px; left: 90px; transform: rotate(9deg); }
.sticker.s4 { top: 170px; left: 130px; transform: rotate(-6deg); background: var(--case); color: #fff; border-color: var(--ink); }
.sticker.pin { top: 4px; left: 46px; transform: rotate(-14deg); background: var(--case); color: #fff; border-color: var(--ink); font-size: 0.75rem; padding: 8px 10px; }

/* ---------- Section shell ---------- */
section { padding: 52px 0; }
.section-band { background: var(--paper-alt); }
.section-head {
  margin-bottom: 26px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  flex-wrap: wrap;
}
.section-head .badge {
  font-family: var(--font-display);
  font-size: 0.68rem;
  background: var(--sun);
  color: var(--ink);
  border: 2.5px solid var(--ink);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.05;
  transform: rotate(-6deg);
  box-shadow: 3px 3px 0 var(--ink);
  flex-shrink: 0;
}
.section-head-text h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin: 0 0 8px;
  text-transform: uppercase;
}
.section-head-text p {
  color: var(--ink-soft);
  margin: 0;
  max-width: 56ch;
}

/* ---------- Finder ---------- */
.finder-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
}
.finder-status {
  font-size: 0.92rem;
  color: var(--ink-soft);
  min-height: 1.4em;
  margin: 4px 0 18px;
}
.manual-picker { margin: 0 0 18px; display: none; gap: 10px; align-items: center; flex-wrap: wrap; }
.manual-picker.show { display: flex; }
.manual-picker select {
  font-family: var(--font-body);
  font-weight: 700;
  padding: 12px 14px;
  border: var(--edge);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
}

.nearby-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.nearby-row {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 16px;
  align-items: center;
  background: #fff;
  border: var(--edge);
  border-radius: var(--radius);
  padding: 14px 16px;
  text-decoration: none;
  color: inherit;
  box-shadow: 4px 4px 0 var(--ink);
  animation: row-in 0.35s ease both;
}
@keyframes row-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.nearby-swatch {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2.5px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #fff;
}
.nearby-main .plaats { font-weight: 800; font-size: 1.02rem; }
.nearby-main .meta { font-size: 0.86rem; color: var(--ink-soft); margin-top: 2px; }
.nearby-main .teaser { font-size: 0.88rem; color: var(--ink-soft); margin-top: 4px; }
.nearby-right {
  text-align: right;
  white-space: nowrap;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}
.nearby-distance {
  font-weight: 800;
  font-size: 0.85rem;
  background: var(--sun);
  border: 2px solid var(--ink);
  padding: 4px 10px;
  border-radius: 999px;
}
.nearby-more { text-align: center; margin-top: 22px; }
.tag-placeholder {
  display: inline-block;
  margin-top: 2px;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--case-dark);
}

/* ---------- Random verhaal ---------- */
.story-card {
  background: var(--ink);
  color: var(--paper);
  border-radius: 18px;
  border: var(--edge);
  padding: 34px;
  max-width: 640px;
  box-shadow: 7px 7px 0 var(--case);
}
.story-tag {
  display: inline-block;
  font-family: var(--font-display);
  background: var(--sun);
  color: var(--ink);
  font-size: 0.72rem;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 999px;
  border: 2.5px solid var(--ink);
  margin-bottom: 18px;
  transform: rotate(-3deg);
  box-shadow: 2px 2px 0 var(--paper);
}
.story-card h3 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  margin: 0 0 4px;
  text-transform: uppercase;
}
.story-card .story-meta {
  color: var(--sun);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 16px;
}
.story-card p.body-text {
  color: #e9e5da;
  font-size: 1rem;
  margin: 0 0 22px;
}
.story-card .story-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.story-card .btn-text { color: var(--sun); }
.fade-swap { transition: opacity 0.25s ease; }
.fade-swap.out { opacity: 0; }

/* ---------- Book section ---------- */
.book-section {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 760px) { .book-section { grid-template-columns: 1fr; } }
.book-cover-frame {
  border: var(--edge);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 7px 7px 0 var(--case);
  transform: rotate(-2deg);
  background: #fff;
}
.book-cover-img {
  width: 100%;
  display: block;
}
.book-section h2 {
  font-family: var(--font-display);
  font-size: 1.9rem;
  text-transform: uppercase;
  margin: 0 0 14px;
}

/* ---------- Media-optredens ---------- */
.media-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.media-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: var(--edge);
  border-radius: var(--radius-sm);
  padding: 14px;
  text-decoration: none;
  color: var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  width: 152px;
  text-align: center;
}
a.media-chip:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.media-chip.is-static { cursor: default; opacity: 0.92; }
.media-logo {
  width: 100%;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.media-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 6px;
}
.media-chip .media-name {
  font-family: var(--font-display);
  font-size: 0.78rem;
  text-transform: uppercase;
}
.media-chip .media-desc {
  font-size: 0.74rem;
  color: var(--ink-soft);
  line-height: 1.35;
}

/* ============================================================
   NIEUW: kaart-blok (Google Maps)
   ============================================================ */
.popatlas-map {
  position: relative;
  width: 100%;
  height: 520px;
  border: var(--edge);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 7px 7px 0 var(--ink);
}
@media (max-width: 700px) {
  .popatlas-map { height: 420px; border-radius: 14px; }
}
.map-info { font-family: 'Inter', sans-serif; max-width: 220px; }
.map-info .map-info-place {
  font-size: 0.72rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.03em; color: #a83a22; margin: 0 0 2px;
}
.map-info .map-info-title {
  font-family: 'Archivo Black', sans-serif; font-size: 0.95rem;
  text-transform: uppercase; margin: 0 0 6px; line-height: 1.15;
}
.map-info .map-info-text { font-size: 0.85rem; margin: 0 0 8px; color: #15130f; }
.map-info a { font-size: 0.8rem; font-weight: 700; }
.map-info .map-info-approx { font-size: 0.68rem; color: #a83a22; margin-top: 6px; }
/* ============================================================
   EINDE NIEUW: kaart-blok
   ============================================================ */

/* ---------- Footer ---------- */
footer.site {
  border-top: var(--edge);
  padding: 30px 0 50px;
  font-size: 0.85rem;
  color: var(--ink-soft);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;
}
