:root {
  --ground: #221c18;
  --paper: #f4efe6;
  --paper-2: #ebe3d4;
  --ink: #241c16;
  --muted: #6e6256;
  --line: #ddcfbc;
  --brass: #8d6b3e;
  --brick: #9d3b2c;
  --max: 1080px;
  color-scheme: light;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Outfit", "Avenir Next", sans-serif;
  font-size: 1.05rem;
  line-height: 1.5;
}

a { color: inherit; }

img { max-width: 100%; height: auto; }

.mast {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.25rem;
  background: var(--ground);
  color: #f3eadf;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 650;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.navline { display: flex; gap: 1.1rem; }

.navline a {
  color: #f3eadf;
  text-decoration: none;
  font-weight: 500;
}

.navline a[aria-current="page"] { color: #e4c48a; }

main {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.5rem 0 3rem;
}

.hero { margin-bottom: 2rem; }

.hero.narrow { max-width: 40rem; }

h1, h2, h3, .gate-title {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin: 0.2rem 0 0.8rem; }

h2 { font-size: 1.45rem; margin: 0 0 0.6rem; }

h3 {
  margin: 1.1rem 0 0.35rem;
  font-size: 0.95rem;
  color: var(--brass);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.kicker {
  margin: 0;
  color: var(--brass);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lede { font-size: 1.15rem; max-width: 38rem; color: var(--ink); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  margin-top: 1.4rem;
}

.path {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem 1.05rem 1.1rem;
  background: var(--paper-2);
  text-decoration: none;
  border-bottom: 3px solid var(--brick);
}

.path strong {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.7rem;
  font-weight: 560;
}

.path-kicker {
  color: var(--brass);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cityroll, .places, .people, .meet-index, .facts {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cityroll {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 0 1.4rem;
}

.cityroll li {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.6rem;
  align-items: baseline;
  padding: 0.38rem 0;
  border-bottom: 1px solid var(--line);
}

.cityroll a { text-decoration-thickness: 1px; text-underline-offset: 0.15em; }

.count {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  font-size: 0.92rem;
}

.sublink, .area { color: var(--muted); font-size: 0.92rem; }

.meet-index {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 0.75rem;
}

.meet-index a {
  display: flex;
  flex-direction: column;
  min-height: 9rem;
  padding: 0.9rem;
  background: var(--paper-2);
  text-decoration: none;
}

.meet-index strong {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.7rem;
  font-weight: 560;
}

.meet-index em {
  margin-top: auto;
  font-style: normal;
  color: var(--brick);
  font-weight: 600;
}

.people {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0.7rem;
}

.person {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  padding: 0.75rem;
  background: #fffdf8;
  border: 1px solid var(--line);
  text-decoration: none;
}

.person strong {
  display: block;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 560;
}

.person em { font-style: normal; color: var(--muted); }

.line { display: block; color: var(--ink); margin-top: 0.15rem; }

.medallion {
  flex: 0 0 auto;
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--swatch, var(--brick));
  color: #f7f1e8;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 650;
}

.medallion.large { width: 5.2rem; height: 5.2rem; font-size: 1.6rem; margin-bottom: 0.8rem; }

.profile { max-width: 40rem; }

.profile h1 { margin-top: 0.3rem; }

.age { color: var(--muted); margin-top: 0; }

.crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 1rem;
}

.crumb span::before, .crumb a + a::before, .crumb a + span::before { content: "/"; margin-right: 0.5rem; color: var(--line); }

.kindbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.9rem;
  margin: 0 0 1.2rem;
}

.kindbar a { color: var(--muted); text-decoration: none; font-weight: 500; }

.kindbar a[aria-current="page"] {
  color: var(--ink);
  box-shadow: inset 0 -2px 0 var(--brick);
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.9fr);
  gap: 1rem;
  align-items: start;
}

.place {
  display: flex;
  flex-direction: column;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.place strong {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.28rem;
  font-weight: 560;
}

.atlas {
  height: 70vh;
  min-height: 320px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  position: sticky;
  top: 0.8rem;
}

.atlas.single { height: 320px; position: static; margin: 1rem 0 1.5rem; }

.venue-sheet { max-width: 42rem; }

.address { color: var(--muted); }

.facts { display: flex; gap: 1rem; padding: 0; }

.shot { margin: 1rem 0; }

.shot img { display: block; width: 100%; max-height: 460px; object-fit: cover; background: var(--paper-2); }

.shot figcaption, .fineprint { color: var(--muted); font-size: 0.9rem; }

.textlink { color: var(--brick); font-weight: 600; }

.prose { max-width: 40rem; }

.prose h1 { font-size: clamp(2rem, 4vw, 3rem); }

code {
  font-family: ui-monospace, monospace;
  font-size: 0.92em;
  background: var(--paper-2);
  padding: 0.05em 0.3em;
}

.colophon {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.2rem 0 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.colophon p { margin: 0; max-width: 38rem; }

.colophon nav { display: flex; gap: 1rem; }

.colophon a { color: var(--ink); }

.gate {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 1.2rem;
  background: rgba(34, 28, 24, 0.94);
}

.gatecard, .age-form {
  width: min(32rem, 100%);
  background: var(--paper);
  color: var(--ink);
  padding: 1.4rem 1.3rem 1.3rem;
}

.gate-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin: 0.25rem 0 0.7rem;
}

button, .leave {
  font: inherit;
}

button {
  background: var(--brick);
  color: #f8f1e8;
  border: 0;
  padding: 0.7rem 1rem;
  cursor: pointer;
  font-weight: 600;
}

.leave { margin-left: 1rem; color: var(--muted); }

.gate-actions, .age-form { margin-top: 0.6rem; }

.leaflet-container { font-family: "Outfit", sans-serif; height: 100%; width: 100%; background: #e7e0d4; }

@media (max-width: 800px) {
  .split, .layout { grid-template-columns: 1fr; }
  .atlas { position: static; height: 320px; order: -1; }
  .mast { align-items: flex-start; }
}
