:root {
  color-scheme: light;
  --ink: #1b2430;
  --muted: #59616d;
  --paper: #f7f2e8;
  --paper-strong: #fffaf0;
  --line: rgba(37, 47, 63, 0.16);
  --accent: #9b4b2d;
  --accent-dark: #64301f;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
}

a {
  color: inherit;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero__image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(247, 242, 232, 0.94), rgba(247, 242, 232, 0.58) 42%, rgba(247, 242, 232, 0.08) 74%),
    linear-gradient(0deg, rgba(27, 36, 48, 0.14), rgba(255, 255, 255, 0.02) 48%);
}

.hero__content {
  width: min(880px, calc(100% - 40px));
  margin: 0 auto;
  padding: 88px 0 92px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent-dark);
  font: 700 0.82rem/1.2 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3.8rem, 10vw, 8.8rem);
  line-height: 0.86;
  letter-spacing: 0;
  font-weight: 400;
}

.lead {
  max-width: 560px;
  margin: 30px 0 0;
  font-size: clamp(1.25rem, 2.8vw, 2rem);
  line-height: 1.45;
}

.hero__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 34px;
  padding: 0 22px;
  border: 1px solid rgba(100, 48, 31, 0.45);
  background: rgba(255, 250, 240, 0.62);
  color: var(--accent-dark);
  border-radius: 999px;
  font: 700 0.95rem/1 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-decoration: none;
  backdrop-filter: blur(10px);
}

.poem-section {
  padding: clamp(42px, 8vw, 96px) 20px;
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0.88), rgba(247, 242, 232, 1)),
    var(--paper);
}

.poem-shell {
  width: min(1040px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(170px, 0.32fr) minmax(0, 0.68fr);
  gap: clamp(28px, 6vw, 88px);
  align-items: start;
}

.poem-meta {
  position: sticky;
  top: 28px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font: 0.95rem/1.55 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.poem-meta p {
  margin: 0 0 12px;
}

.poem {
  padding: clamp(28px, 6vw, 64px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.72);
  box-shadow: 0 30px 80px rgba(70, 61, 47, 0.12);
}

.poem h2 {
  margin: 0 0 32px;
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  line-height: 0.95;
  letter-spacing: 0;
  font-weight: 400;
}

.poem p {
  margin: 0 0 30px;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.75;
}

.poem p:last-child {
  margin-bottom: 0;
}

@media (max-width: 760px) {
  .hero {
    min-height: 88vh;
  }

  .hero__veil {
    background:
      linear-gradient(180deg, rgba(247, 242, 232, 0.78), rgba(247, 242, 232, 0.92) 72%, rgba(247, 242, 232, 0.98)),
      linear-gradient(0deg, rgba(27, 36, 48, 0.1), rgba(255, 255, 255, 0.02));
  }

  .hero__content {
    padding: 72px 0 54px;
  }

  .poem-shell {
    grid-template-columns: 1fr;
  }

  .poem-meta {
    position: static;
  }

  .poem {
    padding: 28px 20px;
  }
}
