/* Tour Diary — minimal Substack-shape */
@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:opsz,wght@8..60,400;8..60,500;8..60,600;8..60,700&family=Inter:wght@400;500;600&display=swap');

:root {
  --ink: #1a1a1a;
  --paper: #fafaf7;
  --muted: #6b6b6b;
  --rule: #e4e4e0;
  --link: #1a1a1a;
  --link-underline: #c4c4bc;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 18px; }

body {
  font-family: 'Source Serif 4', Georgia, serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  padding: 4rem 1.5rem 6rem;
}

.wrap {
  max-width: 640px;
  margin: 0 auto;
}

/* Masthead */
.masthead {
  border-bottom: 1px solid var(--rule);
  padding-bottom: 1.5rem;
  margin-bottom: 3rem;
}

.masthead h1 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 600;
  font-size: 1.75rem;
  letter-spacing: -0.01em;
  margin-bottom: 0.25rem;
}

.masthead h1 a {
  color: var(--ink);
  text-decoration: none;
}

.masthead .tagline {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.85rem;
  color: var(--muted);
  font-style: normal;
}

/* Post list (index page) */
.post-list {
  list-style: none;
}

.post-list li {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--rule);
}

.post-list li:last-child {
  border-bottom: none;
}

.post-list .date {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.8rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.post-list h2 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 600;
  font-size: 1.4rem;
  letter-spacing: -0.01em;
  margin-bottom: 0.6rem;
  line-height: 1.25;
}

.post-list h2 a {
  color: var(--ink);
  text-decoration: none;
}

.post-list h2 a:hover {
  text-decoration: underline;
  text-decoration-color: var(--link-underline);
  text-underline-offset: 4px;
}

.post-list .lede {
  color: #333;
  font-size: 1rem;
  line-height: 1.55;
}

/* Article (post page) */
article {
  /* spacing handled by children */
}

article header {
  margin-bottom: 2.5rem;
}

article .date {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.8rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

article h1 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 600;
  font-size: 2rem;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

article p {
  margin-bottom: 1.35rem;
  font-size: 1.05rem;
}

article p:first-of-type::first-letter {
  /* opt out of drop-cap — looks fussy */
}

article hr {
  border: none;
  border-top: 1px solid var(--rule);
  margin: 3rem 0 2rem;
}

article a {
  color: var(--link);
  text-decoration: underline;
  text-decoration-color: var(--link-underline);
  text-underline-offset: 3px;
}

/* Footer nav (back to index, etc.) */
.post-nav {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
}

.post-nav a {
  color: var(--muted);
  text-decoration: none;
}

.post-nav a:hover {
  color: var(--ink);
}

/* The Particulars — editorial fact-card */
.particulars {
  margin-top: 3.5rem;
  padding: 2rem 1.75rem 1.5rem;
  background: linear-gradient(to bottom, #f4f3ed, #f0efe8);
  border: 1px solid #d8d7cd;
  border-radius: 3px;
  font-family: 'Inter', system-ui, sans-serif;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}

.particulars-eyebrow {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8a8a82;
  text-align: center;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.particulars-eyebrow::before,
.particulars-eyebrow::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #d8d7cd;
}

.particulars-section {
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid #dedcd0;
}

.particulars-section:last-of-type {
  border-bottom: none;
  margin-bottom: 0.5rem;
  padding-bottom: 0;
}

.particulars-address {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
  letter-spacing: -0.005em;
  margin-bottom: 0.3rem;
}

.particulars-address-meta {
  font-size: 0.8rem;
  color: #6b6b62;
  line-height: 1.5;
  font-feature-settings: "tnum" 1;
}

.particulars dl {
  display: grid;
  grid-template-columns: 7.25rem 1fr;
  gap: 0.55rem 1.5rem;
  font-size: 0.88rem;
  line-height: 1.5;
  margin: 0;
}

.particulars dt {
  color: #8a8a82;
  font-weight: 500;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  align-self: baseline;
  padding-top: 0.1rem;
}

.particulars dd {
  color: var(--ink);
  font-weight: 500;
  margin: 0;
}

.particulars dd code {
  background: rgba(0,0,0,0.05);
  padding: 0.08rem 0.4rem;
  border-radius: 3px;
  font-size: 0.82rem;
  font-family: 'SF Mono', Menlo, monospace;
  font-weight: 400;
}

.particulars dd em {
  font-style: normal;
  color: #6b6b62;
}

.particulars-verified {
  text-align: center;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8a8a82;
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid #dedcd0;
}

@media (max-width: 600px) {
  .particulars {
    padding: 1.5rem 1.25rem 1.25rem;
  }
  .particulars dl {
    grid-template-columns: 6rem 1fr;
    gap: 0.5rem 0.85rem;
    font-size: 0.85rem;
  }
  .particulars dt {
    font-size: 0.68rem;
  }
  .particulars-address {
    font-size: 1.05rem;
  }
}

/* About box at the bottom */
.about-box {
  margin-top: 4rem;
  padding: 1.5rem;
  background: #f0f0eb;
  border-radius: 4px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
}

.about-box strong {
  color: var(--ink);
}

/* Small screens */
@media (max-width: 600px) {
  body { padding: 2rem 1rem 4rem; }
  html { font-size: 17px; }
  article h1 { font-size: 1.7rem; }
}
