/* Auschwitz Education Institute — coming soon */

* { box-sizing: border-box; }

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

body {
  min-height: 100vh;
  background: #ece6d8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  padding: 24px;
}

.stage {
  width: 100%;
  max-width: 1100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.paper-wrap {
  position: relative;
  width: 100%;
  max-width: 1000px;
  aspect-ratio: 895 / 760; /* matches paper-v4.jpg */
  filter: drop-shadow(0 18px 30px rgba(60, 40, 20, 0.25));
}

.paper-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

/* =========================================================
   TYPEWRITER TEXT — period-correct (Special Elite emulates
   a worn 1930s/40s mechanical typewriter ribbon impression)
   ========================================================= */
.typewriter {
  position: absolute;
  left: 0;
  right: 0;
  /* Place text in the cleared band below the logo.
     paper-v4 is 895×760; the cleared region is ~y=525..700 (69%..92%) */
  top: 71%;
  text-align: center;
  font-family: "Special Elite", "Courier Prime", "Courier New", monospace;
  color: #1a140e;
  letter-spacing: 0.02em;
  /* Subtle, uneven ink-impression effect */
  text-shadow:
    0.4px 0 0 rgba(26, 20, 14, 0.55),
    -0.4px 0 0 rgba(26, 20, 14, 0.55),
    0 0.4px 0 rgba(26, 20, 14, 0.45);
  filter: contrast(1.05);
  /* Mix-blend makes the text sit ON the paper like ink */
  mix-blend-mode: multiply;
  padding: 0 6%;
}

.typewriter p {
  margin: 0;
  line-height: 1.45;
}

.line1 {
  /* Scales with paper width — roughly 28px at 1000px wide */
  font-size: clamp(14px, 2.8cqi, 32px);
  font-size: clamp(14px, 2.8vw, 30px);
  margin-bottom: clamp(8px, 1.4vw, 18px);
}

.line2 {
  font-size: clamp(13px, 2.4vw, 26px);
}

.line2 a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: opacity 0.2s ease;
}

.line2 a:hover {
  opacity: 0.6;
}

@media (max-width: 640px) {
  body { padding: 12px; }
  .typewriter { top: 70%; padding: 0 4%; }
}
