:root {
  --bg: #f7f4ec;
  --ink: #1b2430;
  --muted: #5c5a52;
  --line: #d6d0c2;
  --red: #b8860b;
  --header: #12263a;
  --header-h: 70px;
  --max: 1040px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: Karla, "Segoe UI", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.wrap {
  width: min(var(--max), calc(100% - 32px));
  margin-inline: auto;
}

.kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
}

.muted {
  color: var(--muted);
}

.masthead-bar {
  background: #ece6cc;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}

.masthead-bar-inner {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--header);
  color: #fff;
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
  line-height: 1;
}

.logo em {
  font-style: normal;
  color: var(--red);
}

.site-footer .logo {
  color: var(--ink);
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav a {
  font-size: 14px;
  font-weight: 600;
  color: #d0d0d0;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: #fff;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 36px;
  border: 1px solid #444;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  margin: 4px auto;
  background: #fff;
}

.featured {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  padding: 28px 0 32px;
  border-bottom: 3px solid var(--ink);
}

.featured-art {
  overflow: hidden;
  background: #222;
}

.featured-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 2 / 1;
  max-height: 420px;
}

.featured-copy .kicker {
  margin-bottom: 10px;
}

.featured-copy h1 {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 12px;
}

.featured-copy h1 a:hover {
  color: var(--red);
}

.dek {
  font-size: 17px;
  color: var(--muted);
  margin-bottom: 16px;
}

.byline {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-size: 13px;
  color: var(--muted);
}

.byline strong {
  color: var(--ink);
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 0 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
}

.section-head h2 {
  font-family: Karla, sans-serif;
  font-size: 22px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.feed {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 28px;
  padding-bottom: 48px;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: inherit;
}

.card:hover h3 {
  color: var(--red);
}

.card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #e8e8e8;
}

.card h3 {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
}

.card p {
  font-size: 14px;
  color: var(--muted);
}

.card-meta {
  font-size: 12px;
  color: var(--muted);
}

.newsletter {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
  margin-bottom: 8px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  align-items: center;
}

.newsletter h2 {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 26px;
  margin: 4px 0 6px;
}

.newsletter form {
  display: flex;
  gap: 8px;
}

.newsletter input {
  flex: 1;
  min-width: 0;
  height: 44px;
  border: 1px solid var(--ink);
  padding: 0 12px;
  background: #fff;
}

.newsletter button {
  height: 44px;
  padding: 0 16px;
  border: 0;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.newsletter button:hover {
  background: #8f6a08;
}

.form-note {
  display: none;
  margin-top: 8px;
  font-size: 13px;
  color: var(--red);
}

.form-note.is-visible {
  display: block;
}

.site-footer {
  background: #ece6cc;
  border-top: 3px solid var(--ink);
  padding: 36px 0 22px;
  margin-top: 8px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
  padding-bottom: 28px;
}

.footer-brand p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  max-width: 38ch;
}

.footer-col h3 {
  font-family: Karla, sans-serif;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.footer-col a,
.footer-col p {
  display: block;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 7px;
}

.footer-col a:hover {
  color: var(--ink);
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 14px;
  font-size: 12px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.article-page {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto 56px;
}

.crumbs {
  padding: 18px 0 8px;
  font-size: 13px;
  color: var(--muted);
}

.crumbs a:hover {
  color: var(--ink);
}

.story-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 40px;
  align-items: start;
}

.article-hero h1 {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(30px, 4.4vw, 44px);
  font-weight: 700;
  line-height: 1.18;
  margin: 8px 0 12px;
}

.hero-photo {
  margin: 18px 0 8px;
}

.hero-photo img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.caption {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 18px;
}

.share-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.share-row span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: 4px;
  align-self: center;
}

.share-row a {
  font-size: 12px;
  font-weight: 700;
  border: 1px solid var(--line);
  padding: 6px 10px;
}

.share-row a:hover {
  border-color: var(--ink);
}

.article-body {
  font-size: 18px;
  line-height: 1.72;
}

.article-body p,
.article-body ul,
.article-body ol {
  margin-bottom: 18px;
}

.article-body h2 {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 26px;
  margin: 32px 0 12px;
}

.article-body a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-body ul,
.article-body ol {
  padding-left: 22px;
}

.article-body li {
  margin-bottom: 8px;
}

.article-body > p:first-of-type::first-letter {
  float: left;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 4.4rem;
  line-height: 0.78;
  padding: 6px 10px 0 0;
  font-weight: 700;
}

.pull {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 26px;
  font-style: italic;
  line-height: 1.3;
  border-left: 4px solid var(--red);
  padding: 4px 0 4px 18px;
  margin: 28px 0;
}

.inline-figure {
  margin: 28px 0;
}

.inline-figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.facts {
  background: #f6f6f6;
  border-top: 3px solid var(--ink);
  padding: 18px 20px;
  margin: 28px 0;
}

.facts h3 {
  font-family: Karla, sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 14px;
  margin-bottom: 10px;
}

.facts p {
  font-size: 15px;
  margin: 0 0 8px;
}

.author-box {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  align-items: start;
  margin: 32px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.author-avatar {
  width: 56px;
  height: 56px;
  background: #222;
  color: #fff;
  display: grid;
  place-items: center;
  font-family: Karla, sans-serif;
  font-size: 18px;
}

.author-box h3 {
  font-size: 16px;
  margin-bottom: 4px;
}

.author-box p {
  font-size: 14px;
  color: var(--muted);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.tags a {
  font-size: 12px;
  font-weight: 700;
  border: 1px solid var(--line);
  padding: 4px 8px;
}

.mention,
.rail-box {
  border: 1px solid var(--line);
  padding: 16px;
  margin-bottom: 18px;
}

.mention h2,
.rail-box h2 {
  font-family: Karla, sans-serif;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.mention p,
.rail-box p,
.rail-box a {
  font-size: 14px;
  color: var(--muted);
}

.mention a {
  color: var(--red);
  font-weight: 700;
}

.rail-box a {
  display: block;
  color: var(--ink);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 16px;
  margin: 10px 0 0;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.rail-box a:hover {
  color: var(--red);
}

.related {
  margin-top: 40px;
  padding-top: 8px;
  border-top: 3px solid var(--ink);
}

.related h2 {
  font-family: Karla, sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 16px;
  margin: 16px 0 16px;
}

.related-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 18px;
}

.gone {
  width: min(680px, calc(100% - 32px));
  margin: 64px auto 80px;
  text-align: center;
}

.gone .code {
  font-family: Karla, sans-serif;
  font-size: 64px;
  letter-spacing: 0.08em;
  color: var(--red);
}

.gone h1 {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 32px;
  margin: 8px 0 14px;
}

.gone .story-name {
  font-style: italic;
}

.gone a.btn {
  display: inline-block;
  margin-top: 22px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  padding: 10px 16px;
}

.page-copy {
  width: min(720px, calc(100% - 32px));
  margin: 36px auto 72px;
}

.page-copy h1 {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 40px;
  margin: 8px 0 18px;
}

.page-copy p,
.page-copy li {
  margin-bottom: 14px;
  font-size: 17px;
}

.page-copy h2 {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 22px;
  margin: 26px 0 10px;
}

.page-copy a {
  color: var(--red);
}

@media (max-width: 900px) {
  .featured,
  .newsletter,
  .footer-grid,
  .story-layout,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .feed {
    grid-template-columns: 1fr 1fr;
  }

  .story-rail {
    order: 2;
  }
}

@media (max-width: 720px) {
  .menu-toggle {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--header);
    padding: 8px 16px 18px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .nav.is-open {
    display: flex;
  }

  .feed,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .newsletter form {
    flex-direction: column;
  }
}

.social {
  display: flex;
  gap: 12px;
  align-items: center;
}
.social a {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.nav-cta {
  padding: 7px 12px !important;
  font-weight: 700 !important;
}
.cat-bar {
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
}
.cat-bar .wrap {
  display: flex;
  gap: 18px;
  padding: 8px 0;
  overflow-x: auto;
}
.footer-social {
  display: flex;
  gap: 14px;
  margin-top: 12px;
}
.paywall {
  width: min(680px, calc(100% - 32px));
  margin: 36px auto 80px;
}
.paywall-preview {
  position: relative;
  margin-top: 22px;
}
.paywall-fade p {
  filter: blur(5px);
  user-select: none;
  pointer-events: none;
  color: var(--muted);
}
.paywall-card {
  position: relative;
  margin-top: -80px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 28px 24px 24px;
  text-align: center;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}
.paywall-card h2 {
  font-size: 24px;
  margin: 8px 0 8px;
}
.paywall-card button {
  margin-top: 14px;
  height: 44px;
  padding: 0 18px;
  border: 0;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
.paywall-card .muted { margin-top: 10px; font-size: 13px; }

.site-header {
  position: static;
  background: var(--bg);
  color: var(--ink);
  border-bottom: 0;
  padding-top: 8px;
}
.header-inner {
  height: auto;
  flex-direction: column;
  gap: 0;
}
.logo {
  font-size: 40px;
  padding: 8px 0 4px;
}
.nav {
  width: 100%;
  justify-content: center;
  border-top: 3px double var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: 10px 0;
  gap: 28px;
}
.nav a { color: var(--ink); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--red); }
.menu-toggle { border-color: var(--line); position: absolute; right: 16px; top: 18px; }
.menu-toggle span { background: var(--ink); }
.site-header { position: relative; }
.nav-cta { background: var(--header); color: #fff !important; }
@media (max-width: 720px) {
  .nav {
    background: var(--bg);
    top: auto;
  }
}
