:root {
  --article-accent: #1b1712;
  --article-link: var(--article-accent);
  --article-ink: #1b1712;
  --article-paper: #f6f1e9;
  --page-pad: 32px;
}

* { box-sizing: border-box; }
html { background: #1b1712; }
html, body { margin: 0; padding: 0; }

body {
  font-family: 'Inter', sans-serif;
  background-color: #fff;
  color: var(--article-ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Paper texture overlay — lightened for reading contrast */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url('../../paper-texture.jpeg');
  background-size: cover;
  background-position: center;
  opacity: 0.16;
  mix-blend-mode: multiply;
}

/* Subtle grain noise */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.78' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 300px 300px;
  opacity: 0.025;
}

.article {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
  padding: 120px var(--page-pad) 120px;
}

/* ── Header ── */
.article__header {
  margin-bottom: 56px;
  position: relative;
}

.article__eyebrow-row {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}

.article__eyebrow {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--article-ink);
  padding: 8px 18px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 36' preserveAspectRatio='none'><path d='M 17 3.5 C 9 4 4 9 3.5 16.5 C 3 24.5 9.5 32 17.5 32 L 92 32.5 L 184 31.5 C 192 31.5 196.5 26 196 16 C 195.5 9 191 4 183.5 4 L 92 3.5 L 17 3.5 Z' fill='none' stroke='%231b1712' stroke-opacity='0.55' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

.article__accent-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--article-accent);
  display: inline-block;
  opacity: 0.9;
}

.article__title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(2.4rem, 5.5vw, 3.75rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.06;
  color: var(--article-ink);
  margin: 0 0 28px;
  max-width: 780px;
}

.article__subtitle {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  line-height: 1.4;
  letter-spacing: -0.015em;
  color: var(--article-ink);
  opacity: 0.92;
  margin: 0;
  max-width: 720px;
}

.article__rule {
  border: none;
  border-top: 1px solid rgba(27, 23, 18, 0.14);
  margin: 48px 0 56px;
}

/* ── Figure ── */
.article__figure {
  margin: 0 0 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.article__figure-frame {
  display: inline-block;
  padding: 10px;
  background: #fff;
  border: 1px solid rgba(27, 23, 18, 0.12);
  box-shadow: 0 14px 28px -18px rgba(27, 23, 18, 0.35), 0 2px 6px rgba(27, 23, 18, 0.06);
  transform: rotate(-0.4deg);
  max-width: 100%;
}
.article__figure--tall .article__figure-frame { max-width: 520px; }
.article__figure--wide .article__figure-frame { max-width: 720px; }
.article__figure img {
  display: block;
  width: 100%;
  height: auto;
}
.article__caption {
  font-family: 'Kalam', cursive;
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.45;
  color: var(--article-ink);
  opacity: 0.82;
  text-align: center;
  margin: 8px 0 0;
  max-width: 620px;
}

/* ── Body prose ── */
.article__body {
  font-family: 'Inter', sans-serif;
  font-size: 1.1875rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--article-ink);
}
.article__body p {
  margin: 0 0 1.25em;
}
.article__body p + p { margin-top: 0; }
.article__body p:last-child { margin-bottom: 0; }

.article__body a {
  color: var(--article-link);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-decoration-style: solid;
  text-underline-offset: 3px;
  word-break: break-word;
  transition: background 0.15s ease;
}
.article__body a:hover,
.article__body a:focus-visible {
  background: rgba(27, 23, 18, 0.08);
  outline: 2px solid transparent;
}
.article__body a:focus-visible {
  outline-color: var(--article-link);
  outline-offset: 2px;
  border-radius: 2px;
}

.article__body ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5em;
}
.article__body ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
}
.article__body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 14px;
  height: 2px;
  background: var(--article-ink);
  opacity: 0.85;
  border-radius: 2px;
  transform: rotate(-2deg);
}

.article__body em {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-weight: 400;
}

.article__body strong {
  font-weight: 500;
  color: var(--article-ink);
  opacity: 1;
}

/* ── Pull quote style paragraph (optional) ── */
.article__body .article__pull {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.5rem, 2.6vw, 1.95rem);
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--article-ink);
  margin: 44px 0;
  padding-left: 24px;
  border-left: 3px solid var(--article-accent);
}

/* ── Bottom rule ── */
.article__end {
  margin-top: 64px;
  text-align: center;
  font-family: 'Kalam', cursive;
  font-size: 1.1rem;
  color: var(--article-ink);
  opacity: 0.5;
  letter-spacing: 0.2em;
}

/* ── Responsive ── */
@media (max-width: 720px) {
  .article { padding: 72px 24px 80px; }
  .article__title { font-size: 2.25rem; }
  .article__subtitle { font-size: 1.2rem; }
  .article__body { font-size: 1.125rem; line-height: 1.7; }
  .article__caption { font-size: 1rem; }
  .article__rule { margin: 36px 0 40px; }
  .article__figure { margin-bottom: 40px; }
  .article__figure--tall .article__figure-frame,
  .article__figure--wide .article__figure-frame { max-width: 100%; }
}
