:root {
  --paper: #f7f4ee;
  --paper-deep: #efe9dd;
  --ink: #1b1a17;
  --ink-soft: #45413a;
  --muted: #8d8475;
  --rule: rgba(27, 26, 23, 0.16);
  --rule-faint: rgba(27, 26, 23, 0.09);
  --accent: #7c2b39;
  --accent-soft: #a9737b;
  --measure: 35rem;

  --display: "Bodoni Moda", "Didot", "Bodoni 72", "Times New Roman", serif;
  --text: "Newsreader", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.205rem;
  line-height: 1.75;
  font-weight: 400;
  font-optical-sizing: auto;
  font-variant-numeric: oldstyle-nums proportional-nums;
  hanging-punctuation: first last;
  text-wrap: pretty;
}

::selection {
  background: var(--accent);
  color: var(--paper);
}

a { color: inherit; }

.wrap {
  width: 100%;
  max-width: 56rem;
  margin: 0 auto;
  padding: 0 1.6rem;
}

.wrap-narrow {
  width: 100%;
  max-width: var(--measure);
  margin: 0 auto;
  padding: 0 1.6rem;
}

/* ---------- Masthead ---------- */
.site-header {
  text-align: center;
  padding: 2.4rem 1.6rem 0;
  border-bottom: 1px solid var(--rule);
}

.brand {
  display: inline-block;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.1rem, 8vw, 3rem);
  letter-spacing: 0.01em;
  line-height: 1;
  color: var(--ink);
}

.brand-accent { color: var(--accent); font-style: italic; }

.masthead-tag {
  font-family: var(--text);
  font-style: italic;
  font-size: 0.96rem;
  color: var(--muted);
  letter-spacing: 0.01em;
  margin: 0.55rem 0 0;
}

.site-nav {
  margin-top: 1.5rem;
  padding: 0.95rem 0 1.05rem;
  border-top: 1px solid var(--rule-faint);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  font-family: var(--display);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.site-nav a:hover { color: var(--accent); border-color: var(--accent-soft); }
.nav-sep { color: var(--accent-soft); }

/* ---------- Shared editorial bits ---------- */
.eyebrow,
.hero-kicker {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 1.2rem;
}

.byline {
  font-family: var(--display);
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin: 0;
  font-variant-numeric: lining-nums;
}

.byline .by { font-style: italic; text-transform: none; letter-spacing: 0.04em; font-size: 0.82rem; }
.byline .dot { margin: 0 0.6rem; color: var(--accent-soft); }

.section-label {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.26em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  margin: 0 0 2.4rem;
}

.section-label::before,
.section-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--rule);
}

/* ---------- Hero ---------- */
.hero {
  text-align: center;
  padding: 4.5rem 0 3.2rem;
}

.hero-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.9rem, 9vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 0 auto 1.6rem;
  max-width: 14ch;
  text-wrap: balance;
}

.hero-lede {
  font-size: 1.3rem;
  line-height: 1.62;
  color: var(--ink-soft);
  max-width: 36ch;
  margin: 0 auto;
}

/* ---------- Featured ---------- */
.featured { padding: 0 0 3.5rem; }

.featured-card {
  display: block;
  text-decoration: none;
  color: inherit;
  text-align: center;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 3.2rem 0;
}

.featured-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.1rem, 6vw, 3.4rem);
  line-height: 1.06;
  letter-spacing: -0.005em;
  margin: 0 auto 0.7rem;
  max-width: 18ch;
  text-wrap: balance;
  transition: color 0.2s ease;
}

.featured-card:hover .featured-title { color: var(--accent); }

.featured-subtitle {
  font-family: var(--text);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--ink-soft);
  margin: 0 auto 1.4rem;
  max-width: 32ch;
}

.featured-excerpt {
  font-size: 1.18rem;
  color: var(--ink-soft);
  max-width: 48ch;
  margin: 0 auto 1.6rem;
}

/* ---------- Archive ---------- */
.archive { padding: 1rem 0 5rem; }

.story-list { list-style: none; margin: 0; padding: 0; }

.story-item { border-top: 1px solid var(--rule-faint); }
.story-item:first-child { border-top: 0; }

.story-item a {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 2.4rem 0;
}

.story-item-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.7rem, 4.5vw, 2.3rem);
  line-height: 1.1;
  letter-spacing: -0.005em;
  margin: 0 0 0.45rem;
  text-wrap: balance;
  transition: color 0.2s ease;
}

.story-item a:hover .story-item-title { color: var(--accent); }

.story-item-subtitle {
  font-style: italic;
  color: var(--ink-soft);
  font-size: 1.18rem;
  margin: 0 0 0.85rem;
}

.story-item-excerpt {
  color: var(--ink-soft);
  font-size: 1.1rem;
  max-width: 60ch;
  margin: 0 0 1.1rem;
}

.empty {
  font-style: italic;
  color: var(--muted);
  font-size: 1.2rem;
  text-align: center;
  padding: 3.5rem 0;
}

/* ---------- Story page ---------- */
.story { padding: 4.2rem 0 2rem; }

.story-header { text-align: center; margin-bottom: 3.2rem; }

.story-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.5rem, 7vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.012em;
  margin: 0.4rem auto 1.1rem;
  max-width: 16ch;
  text-wrap: balance;
}

.story-subtitle {
  font-family: var(--text);
  font-style: italic;
  font-size: 1.45rem;
  line-height: 1.4;
  color: var(--ink-soft);
  margin: 0 auto 1.7rem;
  max-width: 34ch;
}

.story-body {
  font-size: 1.235rem;
  line-height: 1.85;
}

.story-body p {
  margin: 0;
  text-indent: 1.4em;
}

.story-body p:first-of-type { text-indent: 0; }

.story-body p:first-of-type::first-letter {
  font-family: var(--display);
  float: left;
  font-size: 4.6rem;
  line-height: 0.72;
  font-weight: 500;
  padding: 0.4rem 0.55rem 0 0;
  color: var(--accent);
}

.story-body em { font-style: italic; }

.story-end { text-align: center; padding: 2.2rem 0 0; }

.end-mark {
  font-family: var(--display);
  color: var(--accent-soft);
  font-size: 1.5rem;
  margin: 0;
}

/* ---------- More ---------- */
.more {
  margin: 4.5rem auto 5.5rem;
  padding-top: 0;
}

.more-list { list-style: none; margin: 0; padding: 0; }
.more-list li { border-bottom: 1px solid var(--rule-faint); }
.more-list li:first-child { border-top: 1px solid var(--rule-faint); }

.more-list a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.2rem;
  text-decoration: none;
  color: inherit;
  padding: 1.25rem 0;
  transition: color 0.2s ease;
}

.more-list a:hover { color: var(--accent); }

.more-title { font-family: var(--display); font-size: 1.35rem; }

.more-meta {
  font-family: var(--display);
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: var(--muted);
  white-space: nowrap;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--rule);
  background: var(--paper-deep);
  margin-top: 2rem;
  padding: 3.2rem 0;
  text-align: center;
}

.footer-line {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.5rem;
  margin: 0 0 0.5rem;
}

.footer-fine {
  font-family: var(--display);
  text-transform: uppercase;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: var(--muted);
  margin: 0;
}

/* ---------- Reading refinements on wider screens ---------- */
@media (min-width: 42rem) {
  .story-body {
    text-align: justify;
    hyphens: auto;
  }
}

@media (max-width: 36rem) {
  body { font-size: 1.13rem; }
  .hero { padding: 3.2rem 0 2.4rem; }
  .featured-card { padding: 2.4rem 0; }
  .story { padding: 3rem 0 1.5rem; }
  .story-body { font-size: 1.16rem; line-height: 1.8; }
  .story-body p:first-of-type::first-letter { font-size: 3.8rem; }
  .site-nav { letter-spacing: 0.2em; }
}
