
:root {
  --bg: #f8d8e5;
  --bg-rgb: 248, 216, 229;
  --ink: #171417;
  --muted: #746670;
  --line: rgba(23, 20, 23, 0.18);
  --soft-line: rgba(23, 20, 23, 0.09);
  --panel: #fbe9f0;
  --panel-2: #f6cedc;
  --accent: #f2c2d3;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

.topbar {
  height: 58px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 0 18px;
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(var(--bg-rgb), 0.92);
  backdrop-filter: blur(14px);
}
.brand {
  display: inline-flex;
  align-items: center;
  height: 28px;
}
.brand img {
  height: 26px;
  width: auto;
  display: block;
  object-fit: contain;
}
.section-mark,
.nav,
.label,
.eyebrow,
.index-head,
.story-counter,
.photo-credit,
.footer,
.search-label,
.quick-filters {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 10px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.section-mark { color: var(--muted); }
.nav { justify-self: end; display: flex; gap: 18px; }
.nav a:hover { opacity: .55; }

.search-zone {
  padding: 24px 18px 16px;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 16px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.14), rgba(255,255,255,0));
}
.intro {
  display: grid;
  grid-template-columns: minmax(0, 820px) 1fr;
  gap: 30px;
  align-items: end;
}
.intro h1 {
  margin: 0;
  max-width: 860px;
  font-size: clamp(34px, 4vw, 64px);
  line-height: .94;
  letter-spacing: -.06em;
  font-weight: 500;
}
.intro p {
  margin: 0;
  max-width: 420px;
  color: var(--muted);
  line-height: 1.45;
  justify-self: end;
}
.search-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.search {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: end;
  border-bottom: 1px solid var(--ink);
  min-height: 54px;
  gap: 14px;
}
.search-label {
  color: var(--muted);
  padding-bottom: 10px;
}
.search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: clamp(20px, 2vw, 30px);
  letter-spacing: -.04em;
  padding: 8px 0 8px;
}
.search input::placeholder { color: #ad9da7; opacity: 1; }
.search-arrow {
  font-size: 28px;
  font-weight: 300;
  padding-bottom: 6px;
}
.quick-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
}
.quick-filters button,
.empty-state button {
  border: 0;
  padding: 0;
  background: none;
  text-transform: uppercase;
  cursor: pointer;
  border-bottom: 1px solid transparent;
}
.quick-filters button:hover { border-color: var(--ink); }

.atlas-shell {
  min-height: calc(100vh - 58px);
  display: grid;
  grid-template-columns: minmax(360px, 39%) 1fr;
  border-bottom: 1px solid var(--line);
}
.index-panel {
  border-right: 1px solid var(--line);
  min-width: 0;
  background: rgba(255,255,255,0.1);
}
.index-head {
  height: 34px;
  padding: 0 18px;
  display: grid;
  grid-template-columns: 1fr 130px 60px;
  align-items: center;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}
.index-head span:last-child { text-align: right; }
.place-list { display: flex; flex-direction: column; }
.place-row {
  width: 100%;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 130px;
  align-items: start;
  gap: 0;
  padding: 13px 18px 14px;
  border: 0;
  border-bottom: 1px solid var(--soft-line);
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.place-row:hover,
.place-row.is-active {
  background: var(--ink);
  color: #fff4f8;
}
.place-number { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: 10px; margin-top: 3px; opacity: .7; }
.place-primary { min-width: 0; padding-right: 18px; }
.place-name {
  display: block;
  font-size: clamp(18px, 1.7vw, 27px);
  line-height: 1;
  letter-spacing: -.045em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.place-location {
  display: block;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 9px;
  text-transform: uppercase;
  margin-top: 6px;
  opacity: .68;
  letter-spacing: .03em;
}
.place-system {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 9px;
  text-transform: uppercase;
  line-height: 1.3;
  letter-spacing: .03em;
  margin-top: 3px;
}
.empty-state { padding: 44px 18px; color: var(--muted); }
.empty-state p { font-size: 24px; letter-spacing: -.04em; color: var(--ink); }

.story-panel {
  min-width: 0;
  position: sticky;
  top: 58px;
  align-self: start;
  height: calc(100vh - 58px);
  overflow: auto;
  background: var(--panel);
}
.story-media-wrap {
  position: relative;
  height: min(60vh, 650px);
  min-height: 360px;
  overflow: hidden;
  background: var(--panel-2);
}
.story-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: opacity .18s ease, transform .5s ease;
}
.story-panel.is-changing .story-image { opacity: .25; transform: scale(1.012); }
.story-counter,
.photo-credit {
  position: absolute;
  top: 10px;
  background: rgba(249,237,242,.9);
  padding: 4px 6px;
}
.story-counter { left: 10px; }
.photo-credit { right: 10px; max-width: 58%; text-align: right; }
.story-copy { padding: 18px 18px 28px; }
.story-title-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: start;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.eyebrow { margin: 0 0 7px; color: var(--muted); }
.story-title-row h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 60px);
  line-height: .92;
  letter-spacing: -.06em;
  font-weight: 500;
}
.visit-link {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 10px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  margin-top: 2px;
}
.visit-link:hover { opacity: .45; }
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  padding: 18px 0 22px;
  border-bottom: 1px solid var(--line);
}
.label { display: block; margin: 0 0 9px; color: var(--muted); }
.body-copy {
  margin: 0;
  max-width: 48ch;
  font-size: 14px;
  line-height: 1.52;
  letter-spacing: -.012em;
}
.story-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 14px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .025em;
}
.story-meta > div { display: flex; flex-direction: column; gap: 4px; }
.story-meta .label { margin: 0; }

.about-section {
  min-height: 34vh;
  display: grid;
  grid-template-columns: 1fr minmax(280px, 560px);
  align-content: center;
  gap: 48px;
  padding: 48px 18px;
  border-bottom: 1px solid var(--line);
}
.about-kicker {
  margin: 2px 0 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 10px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
}
.about-copy {
  margin: 0;
  justify-self: end;
  max-width: 560px;
  font-size: 15px;
  line-height: 1.45;
  letter-spacing: -.012em;
  font-weight: 400;
}

.footer {
  min-height: 120px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  padding: 18px;
  color: var(--muted);
}
.footer p { margin: 0; max-width: 450px; }

@media (max-width: 1100px) {
  .intro { grid-template-columns: 1fr; gap: 10px; }
  .intro p { justify-self: start; max-width: 560px; }
}

@media (max-width: 900px) {
  .atlas-shell { display: block; }
  .index-panel { border-right: 0; }
  .story-panel {
    position: relative;
    top: auto;
    height: auto;
    border-top: 1px solid var(--line);
  }
  .story-media-wrap { height: 62vw; min-height: 300px; max-height: 540px; }
}

@media (max-width: 620px) {
  .about-section { grid-template-columns: 1fr; min-height: 28vh; padding: 34px 14px; gap: 22px; }
  .about-copy { justify-self: stretch; max-width: none; font-size: 14px; line-height: 1.5; }
  .topbar { grid-template-columns: 1fr auto; height: 54px; }
  .section-mark { display: none; }
  .brand img { height: 22px; }
  .search-zone { padding: 18px 14px 14px; row-gap: 16px; }
  .intro h1 { font-size: 38px; }
  .intro p { font-size: 13px; }
  .search input { font-size: 22px; }
  .quick-filters { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
  .quick-filters button { flex: 0 0 auto; }
  .index-head { grid-template-columns: 1fr 86px 45px; padding: 0 14px; }
  .place-row { grid-template-columns: 27px minmax(0,1fr) 86px; padding: 11px 14px 12px; }
  .place-name { font-size: 21px; }
  .place-primary { padding-right: 8px; }
  .story-copy { padding: 16px 14px 24px; }
  .story-title-row h2 { font-size: 42px; }
  .story-grid { grid-template-columns: 1fr; gap: 22px; }
  .story-meta { grid-template-columns: 1fr 1fr; }
  .footer { flex-direction: column; align-items: flex-start; min-height: 110px; padding: 16px 14px; }
}
