:root {
  color-scheme: dark;
  --ink: #fff7e8;
  --muted: #d6c3a3;
  --line: rgba(255, 247, 232, 0.28);
  --shadow: rgba(12, 10, 8, 0.72);
  --accent: #c49a56;
  --wine: #4b1722;
  --teal: #12343a;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #0f1112;
}

body {
  min-height: 100vh;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(14, 13, 12, 0.88), rgba(28, 16, 14, 0.54) 46%, rgba(10, 28, 31, 0.32)),
    image-set(url("/assets/pushkin-desk.png") 1x);
  background-size: cover;
  background-position: center;
}

body::before {
  position: fixed;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(8, 8, 8, 0.22), rgba(8, 8, 8, 0.62)),
    radial-gradient(circle at 28% 36%, rgba(196, 154, 86, 0.16), transparent 32%);
}

.page-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
}

.poem-stage {
  width: min(1180px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  padding: clamp(28px, 6vw, 72px);
  display: grid;
  grid-template-columns: minmax(280px, 670px) minmax(170px, 1fr);
  align-items: end;
  gap: clamp(24px, 5vw, 72px);
}

.poem-copy {
  max-width: 670px;
  padding: clamp(18px, 3vw, 34px) 0;
  text-shadow: 0 18px 48px var(--shadow);
}

.eyebrow,
.year {
  margin: 0;
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 12px 0 8px;
  font-size: clamp(3rem, 8vw, 7.6rem);
  line-height: 0.9;
  font-weight: 500;
}

.year {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.year::after {
  width: 72px;
  height: 1px;
  content: "";
  background: var(--line);
}

.poem {
  margin-top: clamp(26px, 4vw, 44px);
  padding-left: clamp(16px, 3vw, 28px);
  border-left: 1px solid var(--accent);
  font-size: clamp(1.18rem, 2.15vw, 1.74rem);
  line-height: 1.72;
}

.poem p {
  margin: 0;
}

.poem p + p {
  margin-top: 1.25em;
}

.note {
  justify-self: end;
  align-self: end;
  width: min(230px, 100%);
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  font-family: Arial, Helvetica, sans-serif;
  color: var(--muted);
  text-shadow: 0 12px 30px var(--shadow);
}

.note span,
.note strong {
  display: block;
}

.note span {
  font-size: 0.78rem;
  text-transform: uppercase;
}

.note strong {
  margin-top: 8px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 600;
}

@media (max-width: 780px) {
  body {
    background-position: 61% center;
  }

  .poem-stage {
    grid-template-columns: 1fr;
    align-content: end;
    padding: 28px 22px;
  }

  .poem-copy {
    padding-top: 18vh;
  }

  h1 {
    font-size: clamp(3.2rem, 18vw, 5.5rem);
  }

  .poem {
    font-size: clamp(1.05rem, 4.6vw, 1.34rem);
    line-height: 1.65;
  }

  .note {
    justify-self: start;
  }
}
