/* Daniel Yomtobian — magazine feature series. 2026 refresh. */
:root {
  --paper: #f9f6f1;
  --panel: #f1ece3;
  --ink: #26201e;
  --muted: #6f6560;
  --oxblood: #7f1d2b;
  --oxblood-deep: #5f1420;
  --rule: #e5ddd0;
  --max: 960px;
  --narrow: 660px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #1d1817;
    --panel: #272020;
    --ink: #ece6e0;
    --muted: #a3978f;
    --oxblood: #d96c7c;
    --oxblood-deep: #c2455a;
    --rule: #383029;
  }
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--paper);
  color: var(--ink);
  font: 18px/1.72 "Instrument Sans", system-ui, sans-serif;
}
a { color: var(--oxblood); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.4rem; }

header.site { padding: 1rem 0; border-bottom: 2px solid var(--ink); }
header.site .wrap { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.wordmark { font-family: "Instrument Serif", Georgia, serif; font-size: 1.25rem; color: var(--ink); }
.wordmark i { color: var(--oxblood); }
.wordmark:hover { text-decoration: none; }
nav.top { display: flex; gap: 1rem; flex-wrap: wrap; font-size: 0.83rem; font-weight: 500; }
nav.top a { color: var(--muted); }
nav.top a:hover { color: var(--oxblood); text-decoration: none; }

.kicker {
  display: inline-block;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--oxblood);
}

/* Cover */
.cover { padding: 3.2rem 0 3rem; border-bottom: 1px solid var(--rule); }
.cover-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 2.6rem; align-items: center; }
.cover h1 {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  font-size: clamp(2.6rem, 8vw, 4.3rem);
  line-height: 1.0;
  margin: 0.6rem 0 1rem;
}
.cover h1 i { color: var(--oxblood); }
.cover-sub { color: var(--muted); max-width: 30em; }
.cover-art { width: 100%; height: auto; border-radius: 4px; box-shadow: 0 18px 50px rgba(38, 32, 30, 0.22); }
@media (max-width: 760px) { .cover-grid { grid-template-columns: 1fr; } }

main { padding: 2.8rem 0 3.4rem; }

.lede { max-width: var(--narrow); margin: 0 auto 3rem; font-size: 1.06rem; }
.lede p { margin-bottom: 1.15rem; }

/* Chapter list */
.chapters h2 {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 1.8rem;
}
.chap-list { list-style: none; display: grid; gap: 0; max-width: 820px; margin: 0 auto; }
.chap {
  display: grid;
  grid-template-columns: 4.5rem 1fr 230px;
  gap: 1.4rem;
  align-items: center;
  padding: 1.4rem 0.6rem;
  border-top: 1px solid var(--rule);
  color: var(--ink);
}
.chap:last-child { border-bottom: 1px solid var(--rule); }
.chap:hover { text-decoration: none; background: var(--panel); }
.chap-no {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-size: 2.4rem;
  color: var(--oxblood);
  text-align: center;
}
.chap h3 { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; font-size: 1.5rem; margin-bottom: 0.25rem; }
.chap:hover h3 { color: var(--oxblood); }
.chap p { font-size: 0.9rem; color: var(--muted); line-height: 1.55; }
.chap img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 4px; }
@media (max-width: 720px) {
  .chap { grid-template-columns: 3rem 1fr; }
  .chap img { display: none; }
}

/* Chapter pages */
article.feature { max-width: var(--narrow); margin: 0 auto; }
article.feature header { margin-bottom: 1.5rem; text-align: center; }
.chap-index {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--oxblood);
}
article.feature h1 {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  font-size: clamp(2.1rem, 6vw, 3.1rem);
  line-height: 1.05;
  margin: 0.4rem 0 0.6rem;
}
.rule-orn { border: 0; width: 90px; border-top: 2px solid var(--oxblood); margin: 0.9rem auto 0; }
.page-hero { display: block; width: 100%; height: auto; border-radius: 4px; box-shadow: 0 14px 40px rgba(38, 32, 30, 0.18); margin: 1.6rem 0 2rem; }
article.feature p { margin: 0 0 1.15rem; }
article.feature > p:first-of-type::first-letter,
.lede p:first-of-type::first-letter {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 3.4em;
  float: left;
  line-height: 0.78;
  padding: 0.1em 0.12em 0 0;
  color: var(--oxblood);
}
article.feature h2 {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  font-size: 1.55rem;
  margin: 2rem 0 0.7rem;
}
blockquote.pull {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-size: 1.45rem;
  line-height: 1.4;
  color: var(--oxblood);
  border-top: 2px solid var(--oxblood);
  border-bottom: 2px solid var(--oxblood);
  padding: 1.2rem 0.4rem;
  margin: 1.8rem 0;
  text-align: center;
}
blockquote.pull cite { display: block; font-family: "Instrument Sans", system-ui, sans-serif; font-style: normal; font-size: 0.8rem; color: var(--muted); margin-top: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; }

.blogroll dt { font-weight: 700; margin-top: 1.1rem; }
.blogroll dd { color: var(--muted); font-size: 0.95rem; margin-top: 0.15rem; }
.note { font-size: 0.88rem; font-style: italic; color: var(--muted); }

.pager {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 2px solid var(--ink);
  margin-top: 2.6rem;
  padding-top: 1.1rem;
  font-size: 0.88rem;
  font-weight: 700;
}

footer.site { border-top: 1px solid var(--rule); padding: 1.5rem 0 2rem; font-size: 0.8rem; color: var(--muted); }
footer.site .wrap { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

:focus-visible { outline: 2px solid var(--oxblood); outline-offset: 2px; border-radius: 3px; }
