:root {
  --paper: #fbfaf5;
  --ink: #121110;
  --ink-2: #4b4842;
  --ink-3: #85817a;
  --rule: #121110;
  --hair: #d9d5ca;
  --red: #c8200e;
  --red-wash: #fdeae5;
  --display: "Abril Fatface", "Didot", "Bodoni MT", Georgia, serif;
  --body: Newsreader, Georgia, "Times New Roman", serif;
  --label: "Archivo Narrow", "Arial Narrow", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16.5px/1.42 var(--body);
}
h1, h2, h3, h4, p, ul { margin: 0; padding: 0; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

.paper { max-width: 1240px; margin: 0 auto; padding: 18px 36px 72px; }

/* ---------- masthead ---------- */

.masthead { text-align: center; }
.masthead h1 {
  font: 400 clamp(38px, 6.6vw, 74px)/1 var(--display);
  letter-spacing: -.005em;
  padding-bottom: 12px;
  border-bottom: 3px double var(--rule);
}
.dateline {
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: center;
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px solid var(--rule);
}
.date-text { font: 700 19px/1.2 var(--label); letter-spacing: .01em; }
.date-sub { font: 500 13.5px/1.3 var(--label); color: var(--ink-2); min-height: 18px; }
.date-sub strong { color: var(--red); font-weight: 700; }
.arrow {
  width: 44px;
  height: 44px;
  justify-self: center;
  border: 1px solid var(--rule);
  border-radius: 50%;
  background: transparent;
  font: 500 19px/1 var(--label);
  cursor: pointer;
  transition: background .12s, color .12s;
}
.arrow:hover:not(:disabled) { background: var(--ink); color: var(--paper); }
.arrow:disabled { border-color: var(--hair); color: var(--hair); cursor: default; }

/* ---------- layout ---------- */

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 0 32px;
  padding-top: 20px;
}
.rail { border-left: 1px solid var(--hair); padding-left: 32px; }

/* ---------- cards: newspaper columns ---------- */

.cards { columns: 2; column-gap: 32px; column-rule: 1px solid var(--hair); }
.card {
  break-inside: avoid;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--hair);
  overflow-wrap: anywhere;
}
.card h3 { font: 400 27px/1.1 var(--display); margin-bottom: 7px; }
.part + .part { margin-top: 7px; }
.card h4, .blocker h4 {
  font: 700 11.5px/1.3 var(--label);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.part p, .blocker p { white-space: pre-wrap; }
.blocker {
  margin-top: 10px;
  padding: 9px 12px 10px;
  background: var(--red);
  color: #fff;
}
.card .blocker h4 { color: #fff; opacity: .88; }
.blocker p { font-weight: 500; }

.empty { break-inside: avoid; padding: 26px 0; color: var(--ink-2); column-span: all; }
.empty-title { font: 400 30px/1.15 var(--display); color: var(--ink); margin-bottom: 6px; }
.text-link {
  border: 0;
  padding: 0;
  background: none;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.empty .text-link { margin-top: 8px; }

/* ---------- composer ---------- */

.composer h2, .missing h2 {
  font: 700 12.5px/1.3 var(--label);
  letter-spacing: .1em;
  text-transform: uppercase;
  padding-bottom: 7px;
  margin-bottom: 11px;
  border-bottom: 2px solid var(--rule);
}
#post-form { display: grid; gap: 11px; }
#post-form h2 { margin-bottom: 0; }
.composer label { display: grid; gap: 3px; font: 600 14px/1.3 var(--label); }
.hint { font-weight: 500; color: var(--ink-3); }
.composer input, .composer textarea {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--ink-3);
  border-radius: 0;
  background: #fff;
  font: 400 16px/1.35 var(--body);
  resize: vertical;
}
.composer input:focus, .composer textarea:focus { outline: 2px solid var(--ink); outline-offset: -1px; }
.posting-as { font: 500 14px/1.3 var(--label); color: var(--ink-2); }
.posting-as strong { color: var(--ink); }
.composer-note { font-style: italic; margin-bottom: 9px; }
.form-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.form-error {
  padding: 8px 11px;
  background: var(--red-wash);
  color: #8f1608;
  font: 600 14px/1.35 var(--label);
}
.btn {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--ink);
  color: var(--paper);
  font: 700 14.5px/1 var(--label);
  letter-spacing: .02em;
  cursor: pointer;
}
.btn:hover { background: #33302b; }
.btn:disabled { opacity: .55; cursor: default; }
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); }

/* ---------- who hasn't posted ---------- */

.missing { margin-top: 24px; }
.missing ul { list-style: none; }
.missing li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px solid var(--hair);
}
.missing-name { font-weight: 500; overflow-wrap: anywhere; }
.missing-last { flex: none; font: 500 12.5px/1 var(--label); color: var(--ink-3); }
.missing-none { display: block !important; font-style: italic; color: var(--ink-2); border: 0 !important; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  max-width: calc(100vw - 32px);
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
  font: 600 14px/1.3 var(--label);
}
.toast a { color: inherit; }

/* ---------- smaller screens ---------- */

@media (max-width: 900px) {
  .paper { padding: 14px 16px 76px; }
  .layout { display: flex; flex-direction: column; padding-top: 14px; }
  .rail { display: contents; }
  .composer { order: 1; padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--rule); }
  .composer > .btn { width: 100%; }
  main { order: 2; }
  .missing { order: 3; margin-top: 4px; }
  .cards { columns: 1; }
  .dateline { grid-template-columns: 44px 1fr 44px; }
  .date-text { font-size: 16.5px; }
  .masthead h1 { padding-bottom: 8px; }
}
