:root {
  --paper: #fff8ef;
  --ink: #241b14;
  --muted: #6d6258;
  --accent: #b65f28;
  --accent-dark: #7d3717;
  --card: rgba(255, 252, 247, 0.94);
  --line: rgba(36, 27, 20, 0.16);
  --shadow: 0 24px 70px rgba(57, 39, 22, 0.18);
}

* { box-sizing: border-box; }

html {
  min-height: 100%;
  background:
    radial-gradient(circle at top left, rgba(182, 95, 40, 0.20), transparent 30rem),
    linear-gradient(135deg, #f8ead8 0%, #fff8ef 46%, #ead8c1 100%);
}

body {
  margin: 0;
  min-height: 100%;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", Times, serif;
  line-height: 1.55;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(36, 27, 20, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(36, 27, 20, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
}

.page-shell {
  width: min(100%, 1160px);
  margin: 0 auto;
  padding: 46px 20px;
}

.essay-card {
  position: relative;
  overflow: hidden;
  max-width: 960px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 64px);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.essay-card::after {
  content: "";
  position: absolute;
  top: -80px;
  right: -130px;
  width: 310px;
  height: 310px;
  border-radius: 999px;
  border: 1px solid rgba(182, 95, 40, 0.26);
  background: radial-gradient(circle, rgba(182, 95, 40, 0.10), transparent 63%);
}

.kicker {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin-bottom: 18px;
  color: var(--accent-dark);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 800px;
  font-size: clamp(2.35rem, 7vw, 5.4rem);
  line-height: 0.92;
  letter-spacing: -0.055em;
  font-weight: 500;
}

.dek {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 26px 0 0;
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(1.05rem, 2vw, 1.32rem);
  line-height: 1.45;
}

.hero-figure {
  position: relative;
  z-index: 1;
  margin: 34px 0 34px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(36, 27, 20, 0.18);
  box-shadow: 0 18px 54px rgba(57, 39, 22, 0.18);
  background: #ead8c1;
}

.hero-figure img,
.inline-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.body-copy {
  columns: 2 320px;
  column-gap: 46px;
  font-size: 1.02rem;
}

.body-copy p {
  break-inside: avoid;
  margin: 0 0 1.02rem;
}

.body-copy p:first-child::first-letter {
  float: left;
  padding: 0.04em 0.08em 0 0;
  color: var(--accent-dark);
  font-size: 4.35rem;
  line-height: 0.75;
}

.inline-figure {
  break-inside: avoid;
  display: inline-block;
  width: 100%;
  margin: 0 0 1.1rem;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(36, 27, 20, 0.16);
  background: rgba(255, 248, 239, 0.72);
}

.inline-figure figcaption {
  padding: 12px 14px 14px;
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  line-height: 1.35;
}

@media (max-width: 700px) {
  .page-shell { padding: 18px 12px; }
  .essay-card { border-radius: 20px; }
  .hero-figure { margin: 26px 0; border-radius: 18px; }
  .body-copy { columns: 1; font-size: 1rem; }
  .body-copy p:first-child::first-letter { font-size: 3.8rem; }
}

@media print {
  html, body { background: #fff; }
  body::before, .essay-card::after { display: none; }
  .page-shell { padding: 0; }
  .essay-card {
    max-width: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
  }
  .hero-figure, .inline-figure { box-shadow: none; }
}
