:root {
  --paper: #f3eee2;
  --ink: #1b1a17;
  --ink-soft: #55504a;
  --accent: #b5452f;
  --rule: #1b1a17;
  --display: "GFS Didot", "Didot", "Bodoni 72", Georgia, serif;
  --text: "Literata", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.6;
}

a { color: inherit; }
a:hover { color: var(--accent); }

.paper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 16px 3rem;
}

/* ---------- top strip ---------- */
.strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .25rem 1rem;
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--rule);
  padding-bottom: .4rem;
}
.as-written { text-transform: none; letter-spacing: normal; }
.lang-select {
  font: inherit;
  letter-spacing: inherit;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: 0;
  padding: .05rem .3rem;
  cursor: pointer;
}

/* ---------- masthead ---------- */
.masthead { padding: 1.4rem 0 .6rem; }

.title {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .18em;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.4rem, 7vw, 5rem);
  line-height: 1;
  letter-spacing: .02em;
  white-space: nowrap;
}
.title img { width: .95em; height: .95em; }
.title a { text-decoration: none; color: inherit; display: contents; }
.title--small { font-size: clamp(2rem, 6vw, 3.4rem); }

.tagline {
  text-align: center;
  font-style: italic;
  margin: .4rem 0 0;
  font-size: 1rem;
}

.double-rule { border: 0; border-top: 4px double var(--rule); margin: .6rem 0 0; }

/* ---------- nav ---------- */
.sections {
  border-bottom: 1px solid var(--rule);
}
.sections ul {
  list-style: none;
  margin: 0;
  padding: .45rem 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .2rem 1.4rem;
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.sections a { text-decoration: none; }

/* ---------- front page grid ---------- */
.front {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 0 2rem;
  margin-top: 1.5rem;
}
.front > aside { border-left: 1px solid var(--rule); padding-left: 2rem; }

.kicker {
  color: var(--accent);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin: 0 0 .3rem;
}
.headline {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  line-height: 1.08;
  margin: 0 0 .6rem;
}
.headline a { text-decoration: none; }
.dek { font-size: 1.12rem; font-style: italic; color: var(--ink-soft); margin: 0 0 .8rem; }
.byline {
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: .3rem 0;
  margin: 0 0 1rem;
}

.columns { column-count: 2; column-gap: 2rem; column-rule: 1px solid #cfc7b6; }
.columns p { margin: 0 0 .8rem; }
.columns > p:first-of-type::first-letter,
.article-body > p:first-of-type::first-letter {
  float: left;
  font-family: var(--display);
  font-size: 3.6em;
  line-height: .85;
  padding: .06em .08em 0 0;
}
.more { font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }

.box-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.5rem;
  margin: 0 0 .5rem;
  border-bottom: 2px solid var(--rule);
}
.menu {
  border: 3px double var(--rule);
  padding: 1rem 1.2rem 1.1rem;
}
.menu .box-title { text-align: center; border-bottom: 1px solid var(--rule); padding-bottom: .3rem; margin-bottom: .7rem; }
.menu ul { margin: 0; padding-left: 1.3rem; list-style: disc; }
.menu li { font-size: .95rem; padding: .15rem 0; }

.photo { margin: 0; }
.photo img { display: block; width: 100%; height: auto; }
.photo figcaption { margin-top: .4rem; font-size: .85rem; font-style: italic; color: var(--ink-soft); }

/* article page: photo floats left, text wraps around it */
.article-body { display: flow-root; }
.article-body .photo { float: left; width: 55%; margin: .35rem 1.5rem 1rem 0; }
.front .article-body .photo { width: 50%; }

/* ---------- older articles ---------- */
.archive { margin-top: 2.5rem; border-top: 4px double var(--rule); padding-top: 1rem; }
.archive ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); gap: 1.2rem 2rem; }
.archive h3 { font-family: var(--display); font-weight: 400; font-size: 1.4rem; line-height: 1.15; margin: 0 0 .3rem; }
.archive h3 a { text-decoration: none; }
.archive .dek { font-size: .95rem; margin: 0; }

/* ---------- article page ---------- */
.article { max-width: 46rem; margin: 2rem auto 0; }
.article .headline { font-size: clamp(2rem, 5vw, 3.2rem); }
.article-body p { margin: 0 0 1rem; }
.article-body blockquote {
  margin: 1.5rem 0;
  padding: .2rem 0 .2rem 1rem;
  border-left: 3px solid var(--accent);
  font-family: var(--display);
  font-size: 1.4rem;
  line-height: 1.3;
}
.back { display: inline-block; margin-top: 2rem; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; }

/* ---------- footer ---------- */
.colophon {
  margin-top: 2.5rem;
  border-top: 4px double var(--rule);
  padding-top: .8rem;
  text-align: center;
  font-size: .8rem;
  color: var(--ink-soft);
}

/* ---------- narrow screens ---------- */
@media (max-width: 820px) {
  .front { grid-template-columns: 1fr; }
  .front > aside { border-left: 0; padding-left: 0; order: -1; margin: 0 0 1.5rem; }
  .columns { column-count: 1; }
}
@media (max-width: 600px) {
  .article-body .photo, .front .article-body .photo { float: none; width: auto; margin: 1.2rem 0; }
}
@media (max-width: 480px) {
  .title { flex-direction: column; white-space: normal; gap: .1em; }
  .title img { order: -1; width: 1.6em; height: 1.6em; margin-bottom: .1em; }
}
