:root {
  color-scheme: dark;
  --ink: #f6efe3;
  --muted: #c7bca7;
  --line: rgba(246, 239, 227, 0.24);
  --panel: rgba(18, 24, 22, 0.72);
  --accent: #d9aa5c;
  --deep: #111815;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

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

.page-shell {
  min-height: 100vh;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding: clamp(24px, 5vw, 72px);
  overflow: hidden;
}

.hero__image,
.hero__shade {
  position: absolute;
  inset: 0;
}

.hero__image {
  background-image: url("./public/hero-writing-desk.png");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.hero__shade {
  background:
    linear-gradient(90deg, rgba(7, 12, 10, 0.94) 0%, rgba(7, 12, 10, 0.74) 42%, rgba(7, 12, 10, 0.12) 100%),
    linear-gradient(0deg, rgba(7, 12, 10, 0.8) 0%, rgba(7, 12, 10, 0.1) 50%, rgba(7, 12, 10, 0.62) 100%);
}

.poem-panel {
  position: relative;
  width: min(620px, 100%);
  padding: clamp(22px, 4vw, 46px);
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(10px);
}

.eyebrow,
.year {
  margin: 0;
  color: var(--muted);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 12px 0 4px;
  font-size: clamp(2.7rem, 8vw, 6.5rem);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: 0;
}

.year {
  color: var(--accent);
}

.poem {
  margin-top: clamp(28px, 5vw, 44px);
  padding-top: clamp(24px, 4vw, 34px);
  border-top: 1px solid var(--line);
  font-size: clamp(1.18rem, 2.1vw, 1.7rem);
  line-height: 1.55;
}

.poem p {
  margin: 0 0 1.05em;
}

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

@media (max-width: 720px) {
  .hero {
    align-items: end;
    padding: 18px;
  }

  .hero__shade {
    background:
      linear-gradient(0deg, rgba(7, 12, 10, 0.96) 0%, rgba(7, 12, 10, 0.72) 58%, rgba(7, 12, 10, 0.18) 100%),
      linear-gradient(90deg, rgba(7, 12, 10, 0.78) 0%, rgba(7, 12, 10, 0.1) 100%);
  }

  .poem-panel {
    padding: 22px;
  }
}
