.page-hero {
  max-width: none;
  width: 100%;
  background: #000;
  color: #fff;
  padding: clamp(3rem, 6vw, 4.5rem) max(1.25rem, calc((100% - var(--max)) / 2)) clamp(2.2rem, 4vw, 3.2rem);
}

.page-hero h1,
.page-hero .eyebrow { color: #fff; max-width: 16ch; }

.page-hero .lead { color: rgba(255, 255, 255, 0.82); }

.page-hero .btn-secondary {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--space-6);
  align-items: start;
}

.panel {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.panel h2 { font-size: 1.25rem; }

.include-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.7rem; }
.include-list li {
  padding-left: 1.4rem;
  position: relative;
}
.include-list li::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--accent);
  position: absolute;
  left: 0;
  top: 0.5rem;
}

.project-card,
.book-card { overflow: hidden; }
.project-card h2,
.book-card h2 { font-size: 1.35rem; }
.project-card .media-frame,
.project-card .media-photo { min-height: 148px; margin: -1.25rem -1.25rem 1rem; border-radius: 0; }
.project-card .media-frame svg { width: 72px; height: 72px; }

.book-index {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--copper);
}

.article-list { display: grid; gap: 0.8rem; }
.article-list a {
  display: block;
  text-decoration: none;
  color: inherit;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: var(--space-6);
  align-items: start;
}

.osm-band {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding-top: clamp(2.5rem, 5vw, 4rem);
}

.osm-band-copy { margin-bottom: 1rem; }

.osm-map {
  position: relative;
  display: flex;
  flex: 1 1 auto;
  width: 100%;
  height: min(70vh, 36rem);
  background: #d7d3cb;
  border-top: 1px solid #3a3a3a;
  border-bottom: 1px solid #3a3a3a;
  overflow: hidden;
}

.osm-viewport {
  position: absolute;
  inset: 0;
  cursor: grab;
  touch-action: none;
}

.osm-viewport.is-drag { cursor: grabbing; }

.osm-viewport img {
  position: absolute;
  width: 256px;
  height: 256px;
  max-width: none;
  z-index: 0;
}

.osm-pin {
  position: absolute;
  transform: translate(-7px, -7px);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  pointer-events: none;
  z-index: 1;
}

.osm-pin i {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #111;
  border: 2px solid #fff;
  flex: 0 0 auto;
}

.osm-pin span {
  background: #111;
  color: #fff;
  font-size: 0.82rem;
  line-height: 1.2;
  padding: 0.12rem 0.35rem;
  white-space: nowrap;
}

.osm-zoom {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  display: grid;
  gap: 0.3rem;
  z-index: 2;
}

.osm-zoom button {
  width: 44px;
  height: 44px;
  border: 0;
  background: #111;
  color: #fff;
  font: inherit;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.osm-credit {
  position: absolute;
  right: 0.4rem;
  bottom: 0.3rem;
  margin: 0;
  z-index: 2;
  background: rgba(255, 255, 255, 0.88);
  padding: 0.1rem 0.35rem;
  font-size: 0.75rem;
}

.osm-credit a { color: #111; }

.success-panel h1 { font-size: var(--h2); }

.not-found {
  min-height: 60vh;
  display: grid;
  align-content: center;
  padding-block: var(--space-8);
}

@media (max-width: 860px) {
  .split, .contact-layout { grid-template-columns: 1fr; }
}
