:root {
  --bg: #f8f7f3;
  --text: #1a1a1a;
  --muted: #6b6b6b;
  --line: #e1dfd7;
  --maxw: 860px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background-color: var(--bg);
  background-image: url('assets/paper.png');
  background-size: 400px 400px;
  background-attachment: fixed;
  color: var(--text);
  font-family: "Avenir Next LT Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, Cantarell, "Helvetica Neue", Arial, serif;
  line-height: 1.8;
  font-size: 18px;
}
header.cover {
  min-height: 82vh;
  display: grid;
  place-items: center;
  position: relative;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
header.cover::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 40%, rgba(255,255,255,0.7), rgba(248,247,243,0.9));
}
.cover-inner { text-align: center; padding: 4rem 1rem; position: relative; z-index: 1; animation: fadeIn 900ms ease both; }
.cover h1 { font-size: clamp(36px, 7vw, 70px); margin: 0; letter-spacing: 0.5px; }
.cover h2 { font-size: clamp(16px, 2.5vw, 22px); margin: 0.75rem 0 2rem; color: var(--muted); font-weight: 500; }
.enter-btn {
  display: inline-block; padding: 0.8rem 1.3rem; border: 1px solid var(--line); border-radius: 999px;
  text-decoration: none; color: var(--text); background: rgba(255,255,255,0.6);
}
.enter-btn:hover { background: rgba(255,255,255,0.85); }
.container { max-width: var(--maxw); margin: 2rem auto; padding: 0 1rem 6rem; }
.story-title { font-size: 24px; line-height: 1.4; margin: 2.5rem 0 1rem; font-weight: 700; }
.story-body p { margin: 0 0 1rem; }
.story-body p.spacer { height: 0.6rem; margin: 0; }
.divider { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
.divider-illus { display: block; width: 200px; margin: 1.2rem auto; opacity: 0.92; }
.footer { border-top: 1px solid var(--line); background: rgba(255,255,255,0.6); }
.footer-inner { max-width: var(--maxw); margin: 0 auto; padding: 1rem; display: flex; gap: 1rem; align-items: center; justify-content: space-between; color: #7b7b7b; font-size: 14px; }
.footer .to-top { text-decoration: none; color: #8a8a8a; border: 1px solid var(--line); padding: 0.25rem 0.5rem; border-radius: 6px; }
.footer .to-top:hover { background: rgba(255,255,255,0.65); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
