:root {
  --bg: #f4f1eb;
  --surface: #ffffff;
  --surface-soft: #f9f7f2;
  --text: #1f2125;
  --muted: #61666f;
  --accent: #7f1d1d;
  --border: #ddd5ca;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Source Serif 4", Georgia, Cambria, "Times New Roman", serif;
  line-height: 1.65;
}

a {
  color: var(--accent);
}

.container {
  width: min(100%, 1100px);
  margin: 0 auto;
  padding: 1rem;
}

.header {
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, #f7f4ee 0%, #f1ece3 100%);
}

.title {
  margin: 0.4rem 0 0;
  font-size: clamp(1.45rem, 5vw, 2.2rem);
  line-height: 1.15;
}

.kicker {
  margin: 0.25rem 0 0;
  color: var(--accent);
  font-family: Inter, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.deck {
  color: var(--muted);
  margin: 0.65rem 0 0.55rem;
  font-size: 1.02rem;
}

.meta {
  margin: 0 0 0.15rem;
  color: var(--muted);
  font-family: Inter, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 0.86rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1rem;
  margin-top: 1rem;
  box-shadow: 0 1px 2px rgba(20, 20, 20, 0.04);
}

.card h2 {
  margin: 0;
  line-height: 1.25;
  font-family: Inter, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 1.08rem;
}

.photo-wrap {
  margin-top: 0.75rem;
}

.photo {
  width: 100%;
  height: auto;
  border-radius: 4px;
  border: 1px solid var(--border);
  display: block;
}

.photo-caption {
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 0.45rem;
}

.letter p {
  margin: 0.85rem 0;
  font-size: 1.03rem;
}

.letter ul,
.letter ol {
  padding-left: 1.2rem;
  margin: 0.75rem 0;
}

.letter li {
  margin: 0.45rem 0;
}

.people-list {
  margin: 0;
  padding-left: 1.1rem;
}

.actions {
  display: grid;
  gap: 0.65rem;
  font-family: Inter, Segoe UI, Roboto, Arial, sans-serif;
}

.button {
  display: inline-block;
  padding: 0.78rem 1rem;
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
}

.footer {
  color: var(--muted);
  font-family: Inter, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 0.85rem;
  margin: 1rem auto 2rem;
}

.layout {
  display: grid;
  gap: 1rem;
}

.story {
  min-width: 0;
}

.sidebar {
  min-width: 0;
}

@media (min-width: 768px) {
  .container {
    padding: 1.2rem;
  }

  .card {
    padding: 1.2rem;
  }

  .layout {
    grid-template-columns: minmax(0, 2.05fr) minmax(0, 1fr);
    align-items: start;
    gap: 1.2rem;
  }

  .sidebar {
    position: sticky;
    top: 1rem;
  }
}
