:root {
  --paper: #f3ead6;
  --ink: #14110c;
  --muted: #5c564a;
  --rule: #1a1712;
  --kicker: #8a1a1a;
  --desk: #1c1914;
  --flash-ok: #1f4d2a;
  --flash-err: #8a1a1a;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--desk);
  background-image:
    radial-gradient(ellipse at top, #2a241c 0%, #1c1914 55%, #12100c 100%);
  color: var(--ink);
  font-family: "Source Serif 4", "Times New Roman", Times, serif;
  font-size: 18px;
  line-height: 1.45;
}

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

.desk { padding: 28px 12px 48px; }
.sheet {
  max-width: 1080px;
  margin: 0 auto;
  background: var(--paper);
  background-image:
    linear-gradient(180deg, rgba(255,255,255,.18), transparent 120px),
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(80,60,30,.015) 3px);
  box-shadow:
    0 0 0 1px rgba(0,0,0,.35),
    0 18px 50px rgba(0,0,0,.45);
  padding: 0 0 48px;
}
main { padding: 0 42px; }
.colophon { margin-left: 42px; margin-right: 42px; }
.flash { margin-left: 42px; margin-right: 42px; }

.masthead { text-align: center; padding: 18px 42px 0; }
.mast-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px 18px;
  margin: 0 0 8px;
}
.ear {
  margin: 0;
  text-align: left;
  min-width: 0;
  font-family: "Libre Franklin", sans-serif;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
}
.flag {
  border-top: 3px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: 6px 0 10px;
}
.wordmark { text-decoration: none; color: inherit; display: block; }
.wordmark:hover { color: inherit; }
.w1 {
  display: block;
  font-family: "Playfair Display", "Times New Roman", serif;
  font-weight: 900;
  font-size: clamp(2.6rem, 9vw, 5.6rem);
  letter-spacing: .04em;
  line-height: .9;
  text-transform: uppercase;
}
.w2 {
  display: block;
  margin-top: .15em;
  font-family: "Libre Franklin", sans-serif;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .62em;
  text-transform: uppercase;
}
.flag { position: relative; }
.flag::after {
  content: "";
  display: block;
  border-top: 3px solid var(--ink);
  margin-top: 10px;
}
.dateline {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .35rem .7rem;
  padding: 8px 0 10px;
  font-family: "Libre Franklin", sans-serif;
  font-size: 12px;
  letter-spacing: .04em;
  border-bottom: 1px solid var(--ink);
}
.dateline .quote { font-style: italic; font-family: "Source Serif 4", serif; letter-spacing: 0; }
.memberbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 22px;
  background: #14110c;
  color: #f3ead6;
  font-family: "Libre Franklin", sans-serif;
}
.memberbar-brand { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
.memberbar-mark {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #c4a574;
}
.memberbar-note { font-size: 12px; color: #9a917f; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.memberbar-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .2rem 1rem;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.memberbar-nav a { color: #f3ead6; text-decoration: none; }
.memberbar-nav a:hover { color: #c4a574; }
.memberbar-who {
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: none;
  color: #c4a574;
}
.member-login {
  display: flex;
  align-items: center;
  gap: 6px;
}
.member-login input {
  width: 160px;
  background: #1e1a14;
  color: #f3ead6;
  border: 1px solid #3a342a;
  padding: .4rem .55rem;
  font: 13px "Libre Franklin", sans-serif;
}
.member-login input:focus { outline: 1px solid #c4a574; border-color: #c4a574; }
.member-login button {
  background: #c4a574;
  color: #14110c;
  border: 0;
  padding: .42rem .8rem;
  font: 700 11px/1 "Libre Franklin", sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
}
.member-login button:hover { filter: brightness(1.08); }
.member-login-link {
  display: none;
  color: #14110c;
  background: #c4a574;
  text-decoration: none;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: .42rem .8rem;
}
.member-login-link:hover { color: #14110c; filter: brightness(1.08); }
.nav-form { display: inline; }
.nav-form button {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  cursor: pointer;
  color: inherit;
}
.nav-form button:hover { color: #c4a574; }

.ticker {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: stretch;
  margin: 0 -42px;
  background: #14110c;
  color: #f3ead6;
  min-height: 38px;
  overflow: hidden;
}
.ticker-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  background: var(--kicker);
  color: #fff;
  font-family: "Libre Franklin", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  white-space: nowrap;
  z-index: 1;
}
.ticker-live {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 0 rgba(255,255,255,.7);
  animation: livepulse 1.6s ease-out infinite;
}
.ticker-track {
  overflow: hidden;
  display: flex;
  align-items: center;
  mask-image: linear-gradient(90deg, transparent, #000 18px, #000 calc(100% - 24px), transparent);
}
.ticker-run {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: ticker 42s linear infinite;
}
.ticker:hover .ticker-run { animation-play-state: paused; }
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  padding: 0 1.6rem;
  font-family: "Libre Franklin", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
  text-decoration: none;
  color: #f3ead6;
  white-space: nowrap;
}
.ticker-item:hover { color: #fff; }
.ticker-item::after {
  content: "◆";
  color: var(--kicker);
  font-size: 9px;
  margin-left: 1.6rem;
}
.ticker-type {
  color: #c4a574;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes livepulse {
  0% { box-shadow: 0 0 0 0 rgba(255,255,255,.55); }
  70% { box-shadow: 0 0 0 8px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}

.paper-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: .2rem 1.8rem;
  padding: 12px 0 14px;
  margin: 0 0 18px;
  border-bottom: 3px double var(--ink);
  font-family: "Libre Franklin", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.paper-nav a { text-decoration: none; }
.paper-nav a[aria-current="page"] { color: var(--kicker); }
.style-switch {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: 3px;
  padding: 3px;
  border: 1px solid var(--ink);
  background: var(--paper);
}
.style-switch-label {
  padding: 0 8px 0 8px;
  font-size: 10px;
  letter-spacing: .16em;
  color: var(--muted);
}
.style-btn {
  display: inline-flex;
  align-items: center;
  border: 0;
  background: transparent;
  color: inherit;
  font: 700 10px/1 "Libre Franklin", sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 7px 11px;
  cursor: pointer;
}
.style-btn.is-on {
  background: var(--ink);
  color: var(--paper);
}
.style-btn:hover:not(.is-on) { color: var(--kicker); }
.style-swatch {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 7px;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.4);
}
.style-swatch-classic {
  background: #f3ead6;
  box-shadow: inset 0 0 0 1px #14110c;
}
.style-swatch-future {
  background: #071018;
  box-shadow: inset 0 0 0 1px #1de4ff, 0 0 6px rgba(29, 228, 255, .45);
}

.satire-banner {
  margin: 0 0 22px;
  padding: 6px 0;
  text-align: center;
  font-family: "Libre Franklin", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--kicker);
  border-top: 1px solid var(--kicker);
  border-bottom: 1px solid var(--kicker);
}

.kicker {
  margin: 0 0 6px;
  font-family: "Libre Franklin", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--kicker);
}
.hed {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  line-height: 1.08;
  margin: 0 0 .35em;
  letter-spacing: -0.015em;
}
.hed a { text-decoration: none; }
.byline {
  font-family: "Libre Franklin", sans-serif;
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 1em;
}
.dek { margin: .6em 0 0; }
.cont {
  font-family: "Libre Franklin", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}

.front {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(220px, .8fr);
  gap: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--ink);
  margin-bottom: 28px;
}
.lead .hed { font-size: clamp(2rem, 4.4vw, 3.15rem); }
.lead-media, .photo, .yt { margin: 12px 0 8px; }
.photo img, .story-photo img {
  display: block;
  width: 100%;
  height: auto;
  filter: grayscale(1) contrast(1.08);
}
.yt {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  background: #111;
}
.yt iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.index h2 {
  margin: 0 0 12px;
  font-family: "Libre Franklin", sans-serif;
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 6px;
}
.index ol { list-style: none; margin: 0; padding: 0; }
.index li { border-bottom: 1px dotted var(--muted); }
.index a {
  display: grid;
  grid-template-columns: 1.6em 1fr;
  gap: .5rem;
  padding: 8px 0;
  text-decoration: none;
}
.index .n { font-family: "Playfair Display", serif; font-weight: 700; color: var(--kicker); }
.index .t { font-size: 15px; line-height: 1.25; }

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 26px;
}
.card {
  padding-top: 4px;
  border-top: 1px solid var(--ink);
}
.card .hed { font-size: 1.35rem; }
.card .dek { font-size: 16px; }

.story { max-width: 42rem; margin: 0 auto; }
.story .hed { font-size: clamp(2.1rem, 5vw, 3.2rem); }
.story-photo { margin: 0 0 1.4rem; }
.story-photo figcaption {
  font-family: "Libre Franklin", sans-serif;
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
}
.story-body p {
  margin: 0 0 1em;
  font-size: 1.05rem;
  line-height: 1.6;
}
.story-body p:first-of-type::first-letter {
  float: left;
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 4.4rem;
  line-height: .75;
  padding: .08em .1em 0 0;
}
.story-end {
  margin-top: 1.5rem;
  font-family: "Libre Franklin", sans-serif;
  font-size: 12px;
  letter-spacing: .08em;
}
.back { margin-top: 2rem; font-family: "Libre Franklin", sans-serif; font-size: 13px; }

.narrow { max-width: 36rem; margin: 0 auto; }
.form { display: grid; gap: 14px; margin-top: 1.2rem; }
.form label {
  display: grid;
  gap: 6px;
  font-family: "Libre Franklin", sans-serif;
  font-size: 13px;
  font-weight: 600;
}
.form input[type="text"],
.form input[type="password"],
.form input[type="email"],
.form input[type="url"],
.form input[type="file"],
.form textarea,
.form select {
  font: 16px/1.4 "Source Serif 4", serif;
  padding: .55rem .7rem;
  border: 1px solid var(--ink);
  background: #fffaf0;
  color: var(--ink);
  width: 100%;
}
.types {
  border: 1px solid var(--ink);
  display: flex;
  gap: 1.2rem;
  padding: 10px 14px;
  font-family: "Libre Franklin", sans-serif;
  font-size: 13px;
}
.types legend { padding: 0 6px; letter-spacing: .12em; text-transform: uppercase; font-size: 11px; }
.types label { display: flex; gap: .4rem; align-items: center; font-weight: 600; }
.btn, button.btn {
  display: inline-block;
  background: var(--ink);
  color: var(--paper);
  border: 0;
  padding: .7rem 1.1rem;
  font-family: "Libre Franklin", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}
.btn:hover { background: var(--kicker); color: #fff; }

.flash {
  font-family: "Libre Franklin", sans-serif;
  font-size: 14px;
  padding: 10px 12px;
  margin: 0 0 16px;
  border: 1px solid currentColor;
}
.flash.ok { color: var(--flash-ok); }
.flash.err { color: var(--flash-err); }

.mine { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.mine li {
  display: grid;
  gap: 2px;
  padding: 10px 0;
  border-top: 1px dotted var(--muted);
  font-size: 16px;
}
.mine time { font-family: "Libre Franklin", sans-serif; font-size: 12px; color: var(--muted); }
.subhed {
  margin: 2.4rem 0 .4rem;
  font-family: "Playfair Display", serif;
  font-size: 1.4rem;
}

.colophon {
  margin-top: 48px;
  padding-top: 16px;
  border-top: 3px double var(--ink);
  font-size: 14px;
  color: var(--muted);
}
.colophon a { color: inherit; }
.foot-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .35rem .7rem;
  font-family: "Libre Franklin", sans-serif;
  font-size: 12px;
  letter-spacing: .04em;
}
.views {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  letter-spacing: .06em;
}
.empty-paper { text-align: center; padding: 3rem 0; }

@media (max-width: 860px) {
  .front, .grid { grid-template-columns: 1fr; }
  .desk { padding: 0; }
  body { background: var(--paper); }
  .sheet { box-shadow: none; }
  .masthead { padding: 14px 16px 0; }
  .mast-top { flex-direction: column; align-items: center; }
  .ear { text-align: center; }
  main { padding: 0 16px; }
  .colophon, .flash { margin-left: 16px; margin-right: 16px; }
  .ticker { margin: 0 -16px; }
  .memberbar { padding: 10px 16px; flex-wrap: wrap; }
  .memberbar-note { display: none; }
  .member-login { display: none; }
  .member-login-link { display: inline-flex; }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-run { animation: none; }
  .ticker-live { animation: none; }
}
@media print {
  .desk, body { background: #fff; }
  .memberbar, .ticker, .paper-nav, .style-switch, .colophon, .satire-banner { display: none; }
  .sheet { box-shadow: none; max-width: none; }
}
