:root {
  --ink: #151515;
  --paper: #f8efe0;
  --card: #fffaf0;
  --red: #c92a2a;
  --gold: #d89c28;
  --muted: #625b50;
  --line: rgba(21, 21, 21, 0.14);
  --shadow: 8px 8px 0 #151515;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(21, 21, 21, 0.06) 0 1px, transparent 1px 100%),
    linear-gradient(0deg, rgba(21, 21, 21, 0.05) 0 1px, transparent 1px 100%),
    radial-gradient(circle at 20% 10%, rgba(216, 156, 40, 0.22), transparent 24rem),
    var(--paper);
  background-size: 42px 42px, 42px 42px, auto, auto;
}

.page {
  width: min(960px, calc(100% - 28px));
  min-height: 100vh;
  margin: 0 auto;
  padding: clamp(36px, 8vw, 84px) 0;
  display: grid;
  align-content: center;
  gap: 32px;
}

.note,
.reveal {
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.88);
  box-shadow: var(--shadow);
}

.note {
  padding: clamp(28px, 6vw, 58px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h2,
p {
  overflow-wrap: anywhere;
}

h1,
h2 {
  margin: 0;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(3.4rem, 11vw, 7.5rem);
  line-height: 0.86;
}

h1 span {
  display: block;
  white-space: nowrap;
}

h2 {
  font-size: clamp(4.2rem, 16vw, 10rem);
  line-height: 0.82;
  text-transform: uppercase;
}

.note p,
.punch p:last-child {
  max-width: 60ch;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.32rem);
  font-weight: 750;
  line-height: 1.45;
}

.note p:first-of-type {
  margin-top: 26px;
}

button {
  min-height: 50px;
  margin-top: 18px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  padding: 0 22px;
  background: var(--red);
  color: white;
  font: inherit;
  font-size: 1rem;
  font-weight: 950;
  cursor: pointer;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform 140ms ease, box-shadow 140ms ease;
}

button:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink);
}

button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.reveal {
  display: none;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 330px);
  gap: clamp(22px, 5vw, 46px);
  align-items: center;
  padding: clamp(24px, 5vw, 46px);
  background: #151515;
  color: var(--card);
}

.page.revealed .reveal {
  display: grid;
  animation: revealIn 240ms ease-out both;
}

.reveal .eyebrow,
.punch p:last-child {
  color: #ffd8d8;
}

.punch p:last-child {
  margin: 18px 0 0;
}

figure {
  margin: 0;
  justify-self: center;
  width: min(100%, 320px);
  transform: rotate(2deg);
}

img {
  display: block;
  width: 100%;
  height: auto;
  border: 2px solid var(--card);
  border-radius: 8px;
  background: #ddd;
  box-shadow: 6px 6px 0 var(--red);
}

figcaption {
  width: fit-content;
  max-width: 100%;
  margin: -18px auto 0;
  position: relative;
  border: 2px solid var(--ink);
  border-radius: 8px;
  padding: 9px 12px;
  background: var(--card);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 950;
  text-align: center;
  text-transform: uppercase;
}

@keyframes revealIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 720px) {
  .page {
    align-content: start;
  }

  h1 {
    font-size: clamp(2.95rem, 13vw, 5.2rem);
  }

  .reveal {
    grid-template-columns: 1fr;
  }

  button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
