/* Coming-soon page. Tokens and rules from DESIGN.md: newsprint, printer's black, oxblood, square rules. */
@font-face {
  font-family: 'Anton';
  src: url('/fonts/anton-latin-400-normal.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Newsreader';
  src: url('/fonts/newsreader-latin-wght-normal.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: 'Newsreader';
  src: url('/fonts/newsreader-latin-wght-italic.woff2') format('woff2');
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}

:root {
  --paper: #fbfaf6;
  --ink: #000000;
  --body: #2a2622;
  --accent: #8e1b22;
  --tint: #f5e6e2;
  --grey: #6b655d;
  --rule: #d8d2c6;
  --display: 'Anton', Impact, 'Arial Narrow', sans-serif;
  --text: 'Newsreader', Georgia, 'Times New Roman', serif;
  color-scheme: light;
}
/* Night edition */
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #1b1614;
    --ink: #ffffff;
    --body: #efe7de;
    --accent: #d2555c;
    --tint: #2a1d1c;
    --grey: #a39a91;
    --rule: #3a302c;
    color-scheme: dark;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0 auto;
  max-width: 1100px;
  padding: 16px 16px 32px;
  background: var(--paper);
  color: var(--body);
  font: 400 17px/1.55 var(--text);
}

.masthead {
  text-align: center;
}
.topline {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--grey);
}
.name {
  margin: 18px 0 4px;
  font: 400 clamp(44px, 11vw, 104px) / 0.95 var(--display);
  color: var(--ink);
  text-wrap: balance;
}
.dateline {
  margin: 0 0 14px;
  font-size: 15px;
  color: var(--grey);
}
nav {
  border-top: 1px solid var(--ink);
  border-bottom: 3px double var(--ink);
  overflow-x: auto;
}
nav ul {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin: 0;
  padding: 9px 4px;
  list-style: none;
  white-space: nowrap;
  font-size: 15px;
}

.front {
  display: grid;
  grid-template-columns: 2fr 1fr;
  margin-top: 28px;
}
.lead {
  padding-right: 32px;
  border-right: 1px solid var(--ink);
  max-width: 68ch;
}
.section {
  margin: 0 0 6px;
  color: var(--accent);
  font-weight: 600;
  font-size: 15px;
}
.lead h2 {
  margin: 0 0 14px;
  font: 400 clamp(30px, 5.6vw, 64px) / 1 var(--display);
  color: var(--ink);
  text-wrap: balance;
}
.standfirst {
  font-size: 21px;
  line-height: 1.4;
  font-style: italic;
}
.letters {
  margin-left: 32px;
  padding: 18px 20px 20px;
  background: var(--tint);
  align-self: start;
}
.letters h2 {
  margin: 0 0 10px;
  font: 400 26px/1.05 var(--display);
  color: var(--ink);
}
.letter {
  font-style: italic;
  font-size: 19px;
  line-height: 1.4;
  color: var(--ink);
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 40px;
  padding-top: 12px;
  border-top: 3px double var(--ink);
  font-size: 14px;
  color: var(--grey);
}
footer p {
  margin: 0;
}
footer strong {
  color: var(--body);
}

@media (max-width: 760px) {
  nav ul {
    justify-content: flex-start;
  }
  .front {
    grid-template-columns: 1fr;
  }
  .lead {
    padding-right: 0;
    border-right: 0;
  }
  .letters {
    margin: 24px 0 0;
  }
}
