@import url('https://fonts.googleapis.com/css2?family=DM+Mono:ital,wght@0,400;0,500;1,400&family=Playfair+Display:ital,wght@0,700;0,900;1,700&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&family=Poppins:wght@700;900&display=swap');

/* ─── TOKENS ─────────────────────────────────────────────── */
:root {
  --ink:       #0d0d0d;
  --paper:     #faf9f6;
  --rule:      #d8d5ce;
  --muted:     #7a7870;
  --accent:    #0d0d0d;
  --serif:     'Playfair Display', Georgia, serif;
  --sans:      'DM Sans', system-ui, sans-serif;
  --mono:      'DM Mono', 'Courier New', monospace;
  --col:       72px;
  --gutter:    20px;
  --max:       1380px;
}

[data-theme="dark"] {
  --ink:    #f0ede6;
  --paper:  #0f0e0c;
  --rule:   #2a2925;
  --muted:  #706e69;
  --accent: #f0ede6;
}

/* ─── RESET ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; border-radius: 0 !important; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background .25s, color .25s;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
nav ul, nav ol, nav li { list-style: none; margin: 0; padding: 0; }

/* ─── MASTHEAD ───────────────────────────────────────────── */
.masthead {
  border-bottom: 3px double var(--ink);
  padding: 0;
  position: sticky;
  top: 0;
  background: var(--paper);
  z-index: 200;
}

.masthead__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
  height: 60px;
  gap: 16px;
}

.masthead__kicker {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.masthead__wordmark {
  font-family: 'Poppins', var(--sans);
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1;
  white-space: nowrap;
}

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

.masthead__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-subscribe {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  padding: 7px 16px;
  background: var(--ink);
  color: var(--paper);
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.btn-subscribe:hover { background: var(--paper); color: var(--ink); }

.btn-theme {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .1em;
  border: 1px solid var(--rule);
  padding: 7px 12px;
  background: none;
  color: var(--muted);
  transition: color .15s, border-color .15s;
}
.btn-theme:hover { color: var(--ink); border-color: var(--ink); }

/* Nav strip — targets Ghost's native {{navigation}} output */
.masthead__nav {
  border-top: 1px solid var(--rule);
  overflow-x: auto;
  scrollbar-width: none;
}
.masthead__nav::-webkit-scrollbar { display: none; }

/* Ghost outputs: <ul class="nav"><li class="nav-home ..."><a href="...">Label</a></li></ul> */
.masthead__nav ul,
.masthead__nav .nav {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  list-style: none;
  margin: 0;
  padding: 0 calc(var(--gutter) - 12px);
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.masthead__nav li {
  list-style: none;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
}

.masthead__nav li a,
.masthead__nav a {
  display: block;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 10px 12px;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
  white-space: nowrap;
  text-decoration: none;
}

.masthead__nav li a:hover,
.masthead__nav li a.active,
.masthead__nav li.nav-current a {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

/* ─── PAGE WRAPPER ──────────────────────────────────────── */
.page {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ─── DATELINE BAR ──────────────────────────────────────── */
.dateline-bar {
  border-bottom: 1px solid var(--rule);
  padding: 8px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .08em;
  color: var(--muted);
}

/* ─── SECTION LABEL ─────────────────────────────────────── */
.section-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 24px 0 12px;
  border-top: 3px solid var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--rule);
}

/* ─── HERO GRID ─────────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: 1fr 320px;
  grid-template-rows: auto auto;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 0;
}

.hero__lead {
  grid-row: 1 / 3;
  border-right: 1px solid var(--rule);
  padding: 32px 32px 32px 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero__lead-image {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border: 1px solid var(--rule);
  margin-bottom: 20px;
  filter: grayscale(15%);
  transition: filter .3s;
}
.hero__lead:hover .hero__lead-image { filter: grayscale(0%); }

.hero__lead-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
  display: block;
}

.hero__lead-title {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.8rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.02em;
  margin-bottom: 14px;
  color: var(--ink);
}
.hero__lead-title a:hover { opacity: .75; }

.hero__lead-excerpt {
  font-size: .95rem;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 16px;
  max-width: 58ch;
}

.hero__lead-meta {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .08em;
  color: var(--muted);
}

/* Right column of hero */
.hero__secondary {
  padding: 24px 0 24px 24px;
  border-bottom: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero__tertiary {
  padding: 24px 0 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Small story in hero sidebar */
.story-sm {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  align-items: start;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--rule);
}
.story-sm:last-child { border-bottom: none; padding-bottom: 0; }

.story-sm__img {
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
  border: 1px solid var(--rule);
  filter: grayscale(20%);
  transition: filter .25s;
}
.story-sm:hover .story-sm__img { filter: grayscale(0%); }

.story-sm__tag {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 5px;
}

.story-sm__title {
  font-family: var(--serif);
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.01em;
  color: var(--ink);
}
.story-sm__title a:hover { opacity: .7; }

.story-sm__meta {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--muted);
  margin-top: 5px;
}

/* ─── TICKER ────────────────────────────────────────────── */
.ticker {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
  display: flex;
  align-items: center;
  height: 36px;
  margin: 0 calc(-1 * var(--gutter));
  padding: 0 var(--gutter);
}

.ticker__label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .2em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--paper);
  padding: 0 12px;
  height: 100%;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-left: calc(-1 * var(--gutter));
  margin-right: 20px;
}

.ticker__track {
  display: flex;
  gap: 48px;
  animation: ticker 25s linear infinite;
  white-space: nowrap;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.ticker__item {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--muted);
  flex-shrink: 0;
}
.ticker__item a { color: var(--ink); }
.ticker__item a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ─── THREE-COL GRID ────────────────────────────────────── */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--rule);
}

.story-card {
  padding: 24px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
}
.story-card:nth-child(3n) { border-right: none; }

.story-card__img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border: 1px solid var(--rule);
  margin-bottom: 14px;
  filter: grayscale(20%);
  transition: filter .3s;
}
.story-card:hover .story-card__img { filter: grayscale(0%); }

.story-card__tag {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
  display: block;
}

.story-card__title {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.01em;
  margin-bottom: 10px;
  color: var(--ink);
}
.story-card__title a:hover { opacity: .7; }

.story-card__excerpt {
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 14px;
}

.story-card__meta {
  font-family: var(--mono);
  font-size: 9.5px;
  color: var(--muted);
  letter-spacing: .06em;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--rule);
}

/* ─── MAGAZINE ROW (big + list) ─────────────────────────── */
.mag-row {
  display: grid;
  grid-template-columns: 1fr 360px;
  border-top: 1px solid var(--rule);
  border-bottom: 2px solid var(--ink);
  margin-bottom: 48px;
}

.mag-row__feature {
  padding: 32px 32px 32px 0;
  border-right: 1px solid var(--rule);
}

.mag-row__feature-img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  border: 1px solid var(--rule);
  margin-bottom: 18px;
  filter: grayscale(10%);
  transition: filter .3s;
}
.mag-row__feature:hover .mag-row__feature-img { filter: grayscale(0%); }

.mag-row__feature-number {
  font-family: var(--serif);
  font-size: 5rem;
  font-weight: 900;
  line-height: 1;
  opacity: .07;
  letter-spacing: -.04em;
  margin-bottom: -20px;
}

.mag-row__feature-title {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.15;
  margin-bottom: 12px;
}
.mag-row__feature-title a:hover { opacity: .7; }

.mag-row__feature-excerpt {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.65;
  max-width: 55ch;
  margin-bottom: 14px;
}

.mag-row__list {
  padding: 24px 0 24px 28px;
  display: flex;
  flex-direction: column;
}

.list-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
}
.list-item:first-child { padding-top: 0; }
.list-item:last-child { border-bottom: none; }

.list-item__num {
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 900;
  line-height: 1;
  opacity: .18;
  flex-shrink: 0;
  width: 28px;
  letter-spacing: -.03em;
}

.list-item__body { flex: 1; }

.list-item__tag {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 4px;
}

.list-item__title {
  font-family: var(--serif);
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
}
.list-item__title a:hover { opacity: .7; }

.list-item__meta {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--muted);
  margin-top: 4px;
}

/* ─── OPINION BAND ──────────────────────────────────────── */
.opinion-band {
  background: var(--ink);
  color: var(--paper);
  margin: 0 calc(-1 * var(--gutter));
  padding: 40px var(--gutter);
  margin-bottom: 48px;
}

.opinion-band .section-label {
  color: rgba(255,255,255,.45);
  border-top-color: rgba(255,255,255,.2);
}
.opinion-band .section-label::after { background: rgba(255,255,255,.15); }

.opinion-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.opinion-card {
  padding: 28px;
  border-right: 1px solid rgba(255,255,255,.1);
}
.opinion-card:last-child { border-right: none; }

.opinion-card__author {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.opinion-card__avatar {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,.2);
  flex-shrink: 0;
}

.opinion-card__avatar-placeholder {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 12px;
  color: rgba(255,255,255,.6);
  flex-shrink: 0;
}

.opinion-card__name {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  display: block;
}

.opinion-card__title {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.01em;
  color: var(--paper);
  margin-bottom: 10px;
}
.opinion-card__title a:hover { opacity: .75; }

.opinion-card__excerpt {
  font-size: .85rem;
  color: rgba(255,255,255,.55);
  line-height: 1.6;
}

/* ─── DATA SNAPSHOT ─────────────────────────────────────── */
.data-snapshot {
  border: 1px solid var(--rule);
  padding: 32px;
  margin-bottom: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 0;
}

.data-stat {
  padding: 0 24px;
  border-right: 1px solid var(--rule);
}
.data-stat:first-child { padding-left: 0; }
.data-stat:last-child  { border-right: none; }

.data-stat__label {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.data-stat__value {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1;
  margin-bottom: 4px;
  color: var(--ink);
}

.data-stat__delta {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
}

/* ─── FEATURED ROW (full-width horizontal) ───────────────── */
.featured-strip {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--rule);
  margin-bottom: 48px;
}

.featured-item {
  display: grid;
  grid-template-columns: 200px 1fr auto;
  align-items: start;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
  transition: background .15s;
}
.featured-item:hover { background: color-mix(in srgb, var(--ink) 3%, var(--paper)); }
.featured-item:last-child { border-bottom: none; }

.featured-item__img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border: 1px solid var(--rule);
  filter: grayscale(20%);
  transition: filter .25s;
}
.featured-item:hover .featured-item__img { filter: grayscale(0%); }

.featured-item__tag {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
  display: block;
}

.featured-item__title {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.01em;
  color: var(--ink);
  margin-bottom: 6px;
}
.featured-item__title a:hover { opacity: .7; }

.featured-item__excerpt {
  font-size: .85rem;
  color: var(--muted);
  line-height: 1.55;
  max-width: 60ch;
}

.featured-item__meta {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--muted);
  text-align: right;
  white-space: nowrap;
}

/* ─── NEWSLETTER BLOCK ──────────────────────────────────── */
.newsletter-block {
  border: 1px solid var(--ink);
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 32px;
  align-items: center;
  margin-bottom: 48px;
}

.newsletter-block__eyebrow {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.newsletter-block__title {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.2;
  margin-bottom: 10px;
}

.newsletter-block__copy {
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.6;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.newsletter-form input[type="email"] {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--rule);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 12px;
  outline: none;
  transition: border-color .15s;
}
.newsletter-form input[type="email"]:focus { border-color: var(--ink); }
.newsletter-form input::placeholder { color: var(--muted); }

.newsletter-form button {
  padding: 11px 20px;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .15em;
  text-transform: uppercase;
  transition: background .15s, color .15s;
}
.newsletter-form button:hover { background: var(--paper); color: var(--ink); }

/* ─── PAGINATION ─────────────────────────────────────────── */
.pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 0;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--rule);
  margin-bottom: 48px;
}

.pagination__btn {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  border: 1px solid var(--rule);
  padding: 9px 20px;
  background: none;
  color: var(--ink);
  transition: background .15s, color .15s, border-color .15s;
  display: inline-block;
}
.pagination__btn:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.pagination__info {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: .08em;
}

/* ─── ARTICLE ────────────────────────────────────────────── */
.article-wrap {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 0;
  align-items: start;
  margin-top: 32px;
}

.article {
  padding-right: 48px;
  border-right: 1px solid var(--rule);
}

.article__label {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.article__title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -.03em;
  margin-bottom: 20px;
}

.article__deck {
  font-size: 1.15rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--muted);
  border-left: 3px solid var(--ink);
  padding-left: 18px;
  margin-bottom: 24px;
  max-width: 60ch;
}

.article__byline {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin-bottom: 28px;
}

.article__avatar {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border: 1px solid var(--rule);
  flex-shrink: 0;
}

.article__avatar-init {
  width: 40px;
  height: 40px;
  background: var(--ink);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 13px;
  flex-shrink: 0;
}

.article__author-name {
  font-weight: 500;
  font-size: .875rem;
  display: block;
}

.article__author-meta {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: .05em;
}

.article__feature-image {
  width: 100%;
  border: 1px solid var(--rule);
  margin-bottom: 12px;
  filter: grayscale(10%);
}

.article__caption {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 32px;
  letter-spacing: .04em;
}

/* Body copy */
.article__body {
  font-size: 1.0625rem;
  line-height: 1.8;
  font-weight: 300;
}

.article__body > * + * { margin-top: 1.5em; }

.article__body h2 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -.02em;
  margin-top: 2.5em;
  margin-bottom: .5em;
  padding-top: .75em;
  border-top: 1px solid var(--rule);
}

.article__body h3 {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -.01em;
  margin-top: 2em;
  margin-bottom: .4em;
}

.article__body p { max-width: 68ch; }

.article__body a {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--rule);
}
.article__body a:hover { text-decoration-color: var(--ink); }

.article__body blockquote {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-style: italic;
  font-weight: 700;
  border-top: 3px solid var(--ink);
  border-bottom: 1px solid var(--rule);
  padding: 20px 0;
  margin: 2em 0;
  line-height: 1.4;
  letter-spacing: -.01em;
  color: var(--ink);
}

.article__body code {
  font-family: var(--mono);
  font-size: .875em;
  background: color-mix(in srgb, var(--ink) 6%, var(--paper));
  border: 1px solid var(--rule);
  padding: .1em .35em;
}

.article__body pre {
  background: color-mix(in srgb, var(--ink) 6%, var(--paper));
  border: 1px solid var(--rule);
  padding: 20px;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: .85rem;
  line-height: 1.6;
  margin: 2em 0;
}
.article__body pre code { background: none; border: none; padding: 0; }

.article__body ul { padding-left: 1.5em; }
.article__body ol { padding-left: 1.5em; }
.article__body li { margin-bottom: .4em; max-width: 65ch; }

.article__body img {
  width: 100%;
  border: 1px solid var(--rule);
  margin: 2em 0;
}

.article__body figure { margin: 2em 0; }
.article__body figcaption {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
  margin-top: 8px;
  letter-spacing: .04em;
}

.article__body table {
  width: 100%;
  border-collapse: collapse;
  font-size: .875rem;
  margin: 2em 0;
}
.article__body th,
.article__body td {
  border: 1px solid var(--rule);
  padding: 9px 14px;
  text-align: left;
}
.article__body th {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: color-mix(in srgb, var(--ink) 5%, var(--paper));
  font-weight: 500;
}

/* Ghost card assets */
.kg-width-wide {
  margin-left: -48px;
  margin-right: -48px;
  width: calc(100% + 96px);
}
.kg-width-full {
  margin-left: calc(-1 * var(--gutter));
  margin-right: calc(-1 * var(--gutter));
  width: calc(100% + (2 * var(--gutter)));
}
.kg-card { margin: 2em 0; }
.kg-image-card img { width: 100%; border: 1px solid var(--rule); }
.kg-bookmark-card { border: 1px solid var(--rule); }
.kg-bookmark-card:hover { background: color-mix(in srgb, var(--ink) 3%, var(--paper)); }
.kg-bookmark-container { display: flex; text-decoration: none; color: var(--ink); padding: 16px; gap: 16px; align-items: center; }
.kg-bookmark-content { flex: 1; min-width: 0; }
.kg-bookmark-title { font-weight: 500; font-size: .9rem; margin-bottom: 4px; }
.kg-bookmark-description { font-size: .82rem; color: var(--muted); }
.kg-bookmark-metadata { font-family: var(--mono); font-size: 9.5px; color: var(--muted); margin-top: 6px; }
.kg-bookmark-thumbnail { width: 100px; height: 70px; object-fit: cover; flex-shrink: 0; border: 1px solid var(--rule); }
.kg-callout-card { display: flex; gap: 14px; padding: 16px 20px; background: color-mix(in srgb, var(--ink) 5%, var(--paper)); border-left: 3px solid var(--ink); margin: 2em 0; }
.kg-callout-emoji { font-size: 1.2rem; flex-shrink: 0; }
.kg-callout-text { font-size: .9rem; }

/* Tags in article */
.article__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}

.article__tag {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  border: 1px solid var(--rule);
  padding: 5px 10px;
  color: var(--muted);
  transition: all .15s;
}
.article__tag:hover { border-color: var(--ink); color: var(--ink); }

/* Share bar */
.share-bar {
  display: flex;
  gap: 8px;
  margin-top: 24px;
}

.share-btn {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  border: 1px solid var(--rule);
  padding: 7px 14px;
  color: var(--muted);
  transition: all .15s;
  display: inline-block;
}
.share-btn:hover { border-color: var(--ink); color: var(--ink); }

/* Author box */
.author-box {
  display: flex;
  gap: 20px;
  border: 1px solid var(--rule);
  padding: 24px;
  margin-top: 40px;
  align-items: flex-start;
}

.author-box__avatar {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border: 1px solid var(--rule);
  flex-shrink: 0;
}

.author-box__init {
  width: 72px;
  height: 72px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.author-box__name { font-weight: 500; font-size: .95rem; margin-bottom: 4px; }

.author-box__bio { font-size: .875rem; color: var(--muted); line-height: 1.55; margin-bottom: 10px; }

.author-box__link {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  border: 1px solid var(--rule);
  padding: 5px 12px;
  display: inline-block;
  color: var(--ink);
  transition: all .15s;
}
.author-box__link:hover { background: var(--ink); color: var(--paper); }

/* Comments */
.gh-comments { margin-top: 48px; }

/* Related */
.related {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}

.related__label {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}

.related__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--rule);
}

.related__item {
  padding: 16px;
  border-right: 1px solid var(--rule);
  display: block;
  color: var(--ink);
  transition: background .15s;
}
.related__item:last-child { border-right: none; }
.related__item:hover { background: color-mix(in srgb, var(--ink) 3%, var(--paper)); }

.related__item-date {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--muted);
  margin-bottom: 6px;
}

.related__item-title {
  font-family: var(--serif);
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.3;
}

/* Sidebar */
.article__sidebar {
  padding-left: 32px;
  position: sticky;
  top: 80px;
}

.sidebar-section {
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--rule);
}
.sidebar-section:last-child { border-bottom: none; }

.sidebar__label {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--ink);
}

.sidebar-story {
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
}
.sidebar-story:last-child { border-bottom: none; }

.sidebar-story__tag {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.sidebar-story__title {
  font-family: var(--serif);
  font-size: .875rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
}
.sidebar-story__title a:hover { opacity: .7; }

.sidebar-story__meta {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--muted);
  margin-top: 3px;
}

/* ─── ARCHIVE HEADER ─────────────────────────────────────── */
.archive-header {
  padding: 40px 0 32px;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 32px;
}

.archive-header__eyebrow {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.archive-header__title {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1;
  margin-bottom: 12px;
}

.archive-header__desc {
  font-size: .95rem;
  color: var(--muted);
  max-width: 60ch;
  line-height: 1.65;
  margin-bottom: 8px;
}

.archive-header__count {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
}

/* ─── ERROR PAGE ──────────────────────────────────────────── */
.error-page {
  padding: 80px 0;
  border-top: 3px solid var(--ink);
}

.error-page__code {
  font-family: var(--serif);
  font-size: 10rem;
  font-weight: 900;
  letter-spacing: -.06em;
  opacity: .06;
  line-height: 1;
  margin-bottom: -2rem;
}

.error-page__msg {
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -.03em;
  margin-bottom: 12px;
}

.error-page__desc { color: var(--muted); margin-bottom: 28px; }

.error-page__btn {
  display: inline-block;
  border: 1px solid var(--ink);
  padding: 10px 24px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink);
  transition: all .15s;
}
.error-page__btn:hover { background: var(--ink); color: var(--paper); }

/* ─── FOOTER ─────────────────────────────────────────────── */
.footer {
  border-top: 3px double var(--ink);
  margin-top: 64px;
  padding: 40px 0 32px;
}

.footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 24px;
}

.footer__brand { font-family: 'Poppins', var(--sans); font-size: 1.8rem; font-weight: 900; letter-spacing: -.03em; margin-bottom: 8px; }

.footer__tagline { font-size: .8rem; color: var(--muted); line-height: 1.55; max-width: 26ch; }

.footer__col-label {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--rule);
}

.footer__links { list-style: none; display: flex; flex-direction: column; gap: 8px; padding: 0; margin: 0; }

.footer__links li { list-style: none; padding: 0; margin: 0; }

.footer__links a {
  font-size: .85rem;
  color: var(--muted);
  transition: color .15s;
  text-decoration: none;
}
.footer__links a:hover { color: var(--ink); }

/* Footer nav — Ghost's {{navigation}} output inside .footer__nav */
.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__nav ul,
.footer__nav .nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__nav li { list-style: none; padding: 0; margin: 0; }

.footer__nav li a,
.footer__nav > a {
  font-size: .85rem;
  color: var(--muted);
  transition: color .15s;
  text-decoration: none;
}
.footer__nav li a:hover,
.footer__nav > a:hover { color: var(--ink); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 9.5px;
  color: var(--muted);
  letter-spacing: .06em;
}

/* ─── MEMBERS ─────────────────────────────────────────────── */
.members-page {
  max-width: 480px;
  margin: 64px auto;
  padding: 0 var(--gutter);
}

.members-page__eyebrow {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
  border-top: 3px solid var(--ink);
  padding-top: 14px;
}

.members-page__title {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -.03em;
  margin-bottom: 8px;
}

.members-page__desc {
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--rule);
}

.members-form { display: flex; flex-direction: column; gap: 12px; }

.members-form label {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 5px;
}

.members-form input {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--rule);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 12px;
  outline: none;
  transition: border-color .15s;
}
.members-form input:focus { border-color: var(--ink); }
.members-form input::placeholder { color: var(--muted); }

.members-form__submit {
  width: 100%;
  padding: 13px;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-top: 4px;
  transition: all .15s;
}
.members-form__submit:hover { background: var(--paper); color: var(--ink); }

.members-page__alt {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
  text-align: center;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
}

.members-page__alt a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ─── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr 260px; }
  .data-snapshot { grid-template-columns: 1fr 1fr; }
  .data-stat:nth-child(2) { border-right: none; }
  .data-stat:nth-child(3) { padding-left: 0; border-right: 1px solid var(--rule); padding-top: 20px; border-top: 1px solid var(--rule); }
  .data-stat:nth-child(4) { padding-top: 20px; border-right: none; border-top: 1px solid var(--rule); }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .article-wrap { grid-template-columns: 1fr; }
  .article { padding-right: 0; border-right: none; }
  .article__sidebar { padding-left: 0; position: static; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--rule); }
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero__lead { border-right: none; padding-right: 0; border-bottom: 1px solid var(--rule); }
  .hero__secondary { padding-left: 0; }
  .hero__tertiary { padding-left: 0; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .story-card:nth-child(3n) { border-right: 1px solid var(--rule); }
  .story-card:nth-child(2n) { border-right: none; }
  .mag-row { grid-template-columns: 1fr; }
  .mag-row__feature { border-right: none; padding-right: 0; }
  .mag-row__list { padding-left: 0; padding-top: 28px; border-top: 1px solid var(--rule); }
  .opinion-grid { grid-template-columns: 1fr; }
  .opinion-card { border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); }
  .opinion-card:last-child { border-bottom: none; }
  .newsletter-block { grid-template-columns: 1fr; gap: 20px; }
  .featured-item { grid-template-columns: 120px 1fr; }
  .featured-item__meta { display: none; }
}

@media (max-width: 640px) {
  .masthead__kicker { display: none; }
  .masthead__wordmark { font-size: 1.4rem; }
  .grid-3 { grid-template-columns: 1fr; }
  .story-card:nth-child(n) { border-right: none; }
  .data-snapshot { grid-template-columns: 1fr 1fr; padding: 20px; }
  .related__grid { grid-template-columns: 1fr; }
  .related__item { border-right: none; border-bottom: 1px solid var(--rule); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }
  .featured-item { grid-template-columns: 1fr; }
  .featured-item__img { display: none; }
  .article__title { font-size: 2rem; }
}

/* ─── SIMPLE FEED ────────────────────────────────────────── */

.story-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-block;
  margin-bottom: 8px;
  transition: color .15s;
}
.story-tag:hover { color: var(--ink); }

.story-meta {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: .05em;
}

/* Lead story */
.lead-story {
  padding: 32px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  border-bottom: 2px solid var(--ink);
}

.lead-story__img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border: 1px solid var(--rule);
  filter: grayscale(15%);
  transition: filter .3s;
  display: block;
}
.lead-story:hover .lead-story__img { filter: grayscale(0%); }

.lead-story__title {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.02em;
  margin-bottom: 14px;
  color: var(--ink);
}
.lead-story__title a:hover { opacity: .75; }

.lead-story__excerpt {
  font-size: .95rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 16px;
  max-width: 55ch;
}

.feed-divider { height: 1px; background: var(--rule); }

/* Regular feed rows */
.feed-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid var(--rule);
  transition: background .15s;
}
.feed-item:hover { background: color-mix(in srgb, var(--ink) 2%, var(--paper)); }

.feed-item__thumb {
  display: block;
  flex-shrink: 0;
}

.feed-item__thumb img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border: 1px solid var(--rule);
  filter: grayscale(20%);
  transition: filter .25s;
}
.feed-item:hover .feed-item__thumb img { filter: grayscale(0%); }

.feed-item__title {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.01em;
  margin-bottom: 8px;
  color: var(--ink);
}
.feed-item__title a:hover { opacity: .7; }

.feed-item__excerpt {
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 10px;
  max-width: 65ch;
}

@media (max-width: 760px) {
  .lead-story { grid-template-columns: 1fr; gap: 16px; }
  .feed-item { grid-template-columns: 120px 1fr; gap: 16px; }
}

@media (max-width: 480px) {
  .feed-item { grid-template-columns: 1fr; }
  .feed-item__thumb { display: none; }
}
