:root {
  color-scheme: light;
  --ink: #111111;
  --muted: #666666;
  --paper: #f7f5f0;
  --white: #ffffff;
  --accent: #d8422f;
  --line: #dedbd3;
  --max: 1120px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a { color: inherit; }

.site-header,
.site-footer,
#app {
  width: min(calc(100% - 32px), var(--max));
  margin-inline: auto;
}

.site-header {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.brand {
  font-family: Georgia, serif;
  font-size: clamp(1.25rem, 3vw, 1.8rem);
  font-weight: 700;
  text-decoration: none;
}

nav { display: flex; gap: 20px; }
nav a { text-decoration: none; font-weight: 700; }
nav a:hover { color: var(--accent); }

#app { min-height: calc(100vh - 140px); padding: 64px 0; }

.hero { max-width: 760px; padding: clamp(28px, 7vw, 72px) 0; }
.eyebrow { color: var(--accent); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
h1 { margin: 10px 0 18px; font-family: Georgia, serif; font-size: clamp(2.6rem, 8vw, 5.75rem); line-height: .96; }
.lead { color: var(--muted); font-size: clamp(1.05rem, 2.2vw, 1.35rem); line-height: 1.6; }

.button {
  display: inline-block;
  margin-top: 18px;
  padding: 13px 19px;
  color: var(--white);
  background: var(--ink);
  border-radius: 4px;
  text-decoration: none;
  font-weight: 800;
}

.page-heading { margin-bottom: 32px; }
.page-heading h1 { font-size: clamp(2.3rem, 6vw, 4.5rem); }

.location-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 18px;
}

.location-card {
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.location-card h2 { margin: 0 0 8px; font-family: Georgia, serif; }
.location-card p { margin: 0 0 16px; color: var(--muted); }
.location-card a { color: var(--accent); font-weight: 800; }
.detail-list { padding: 24px; background: var(--white); border: 1px solid var(--line); }
.detail-list p { margin: 8px 0; }
.status { color: var(--muted); }
.error { color: #a52216; }
.site-footer { padding: 24px 0; border-top: 1px solid var(--line); color: var(--muted); }

@media (max-width: 520px) {
  .site-header { align-items: flex-start; flex-direction: column; padding: 18px 0; }
  #app { padding: 38px 0; }
}
