:root {
  --paper: #f6ecd8;
  --ink: #2a1c12;
  --muted: #6d5340;
  --line: #e0cba8;
  --clay: #c24d2c;
  --moss: #3f5c45;
  --card: #fff8ec;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body { background: var(--paper); color: var(--ink); }

body {
  font-family: Outfit, ui-sans-serif, system-ui, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--clay); }
img { display: block; max-width: 100%; height: auto; }

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--ink);
  color: var(--paper);
  padding: 8px 12px;
  z-index: 10;
}
.skip:focus { left: 8px; }

.page { width: min(1140px, calc(100% - 48px)); margin: 0 auto; }

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding: 26px 0 18px;
}

.mark {
  font-family: Fraunces, Georgia, serif;
  font-size: 30px;
  font-weight: 620;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 20px;
  font-size: 14px;
  color: var(--muted);
  justify-content: flex-end;
}

.site-nav a.current { color: var(--ink); border-bottom: 1px solid var(--clay); }
.site-nav a:focus-visible,
.mark:focus-visible,
.prose a:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 3px;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  padding: 28px 0 64px;
  align-items: end;
}

.hero h1 {
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(48px, 6vw, 74px);
  line-height: 0.95;
  font-weight: 620;
  letter-spacing: -0.03em;
}

.hero h1 em { font-style: italic; font-weight: 500; color: var(--clay); }
.hero p { margin-top: 18px; font-size: 19px; color: var(--muted); max-width: 28rem; }

.pills { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; }
.pill {
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 13px;
}

.hero-photo { position: relative; }
.hero-photo img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: 50% 40%;
  border-radius: 6px 48px 6px 6px;
  filter: saturate(0.9) contrast(1.05);
}

.caption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: var(--card);
  padding: 8px 12px;
  font-size: 12px;
  border: 1px solid var(--line);
}

.band {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 36px;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 36px;
  margin-bottom: 56px;
  align-items: center;
}

.portrait {
  width: 180px;
  height: 180px;
  object-fit: cover;
  object-position: 50% 20%;
  border: 8px solid #fff;
  box-shadow: 4px 6px 0 rgba(42, 28, 18, 0.12);
  transform: rotate(-2deg);
}

.band h2 {
  font-family: Fraunces, Georgia, serif;
  font-size: 34px;
  font-weight: 620;
  margin-bottom: 12px;
}

.band p { color: var(--muted); margin-bottom: 12px; }
.band p:last-child { margin-bottom: 0; }

.chapters {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding-bottom: 72px;
}

.chapter {
  background: #efe3c8;
  padding: 28px;
  border-radius: 16px;
  min-height: 230px;
}

.chapter.wide { grid-column: 1 / -1; background: var(--moss); color: #f6ecd8; }
.chapter.wide p { color: #d7e3d4; }
.chapter.wide a { color: #f6ecd8; text-decoration: underline; }

.label {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: var(--clay);
  font-weight: 600;
}

.chapter.wide .label { color: #f0c36a; }

.chapter h3 {
  font-family: Fraunces, Georgia, serif;
  font-size: 28px;
  margin-bottom: 10px;
}

.chapter p { color: var(--muted); }
.chapter a { color: var(--clay); }

.prose {
  max-width: 42rem;
  padding: 28px 0 88px;
}

.prose .kicker {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clay);
  font-weight: 600;
  margin-bottom: 12px;
}

.prose h1 {
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(36px, 6vw, 52px);
  font-weight: 620;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 22px;
}

.prose h2 {
  font-family: Fraunces, Georgia, serif;
  font-size: 28px;
  font-weight: 620;
  margin: 36px 0 12px;
}

.prose h3 {
  font-family: Fraunces, Georgia, serif;
  font-size: 22px;
  margin: 28px 0 10px;
}

.prose p,
.prose li { color: var(--muted); margin-bottom: 1em; }
.prose ul,
.prose ol { padding-left: 1.2em; margin-bottom: 1.2em; }
.prose a { color: var(--clay); text-decoration: underline; text-underline-offset: 3px; }
.prose img { border-radius: 12px; margin: 8px 0 20px; }

.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 20px 0 32px;
}

.gallery figure { margin: 0; }
.gallery img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
}

.gallery figcaption {
  font-size: 13px;
  color: var(--muted);
  margin-top: 6px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 22px 0 40px;
  color: var(--muted);
  font-size: 14px;
  border-top: 1px dashed var(--line);
}

.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--clay); }

@media (max-width: 800px) {
  .page { width: calc(100% - 32px); }
  .site-header { flex-direction: column; align-items: flex-start; gap: 12px; }
  .site-nav { justify-content: flex-start; }
  .hero, .band, .chapters, .gallery { grid-template-columns: 1fr; }
  .hero { padding-top: 12px; }
  .hero h1 { font-size: 40px; }
  .hero-photo img { height: 180px; }
  .portrait { width: 140px; height: 140px; }
}
