:root {
  color-scheme: light;
  --paper: #ece4d2;
  --paper-dark: #ddd2b9;
  --ink: #1b1710;
  --red: #a8271c;
  --desk: #2a2723;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  padding: 18px 16px 48px;
  background-color: var(--desk);
  background-image:
    radial-gradient(ellipse at 50% 0%, rgba(255, 245, 220, .10), transparent 65%);
  font-family: "Special Elite", "Courier New", monospace;
  color: var(--ink);
  overflow-x: hidden;
}

/* Grubby paper grain, generated rather than downloaded — keeps the page one request lighter. */
.sheet {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
  padding: 34px 22px 30px;
  background-color: var(--paper);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.22'/%3E%3C/svg%3E"),
    radial-gradient(circle at 18% 12%, rgba(150, 120, 60, .16), transparent 42%),
    radial-gradient(circle at 86% 74%, rgba(120, 95, 45, .14), transparent 38%);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .55);
  transform: rotate(-.35deg);
}

.sheet::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 70px rgba(90, 70, 30, .28);
}

/* --- Cut-out letters --- */
.w { display: inline-block; white-space: nowrap; }

.l {
  display: inline-block;
  font-family: var(--font);
  font-size: var(--sz);
  background: var(--bg);
  color: var(--fg);
  padding: .04em .11em;
  margin: 0 .012em;
  line-height: 1.04;
  transform: rotate(var(--rot)) translateY(var(--dy));
  clip-path: var(--clip);
  filter: drop-shadow(1px 2px 1px rgba(0, 0, 0, .38));
}

/* --- Headline stack --- */
.kicker {
  margin: 0 0 6px;
  font-size: clamp(.95rem, 4vw, 1.3rem);
  line-height: 1.7;
  transform: rotate(-1.8deg);
}

.headline {
  margin: 0;
  font-size: clamp(2.3rem, 12.5vw, 5rem);
  line-height: 1.32;
  font-weight: 400;
  word-break: break-word;
}

.subhead {
  margin: 10px 0 0;
  font-size: clamp(1.25rem, 6vw, 2.1rem);
  line-height: 1.45;
  transform: rotate(.7deg);
}

.stamp {
  display: inline-block;
  margin: 16px 0 4px;
  padding: 5px 12px;
  border: 3px solid var(--red);
  color: var(--red);
  font-size: clamp(.8rem, 3.4vw, 1rem);
  letter-spacing: .06em;
  transform: rotate(-2.6deg);
  opacity: .82;
}

/* --- Paper strips --- */
.strip {
  position: relative;
  margin: 26px 0;
  padding: 16px 16px 14px;
  background: rgba(255, 252, 243, .62);
  border: 1px solid rgba(90, 70, 35, .22);
  font-size: clamp(.95rem, 3.8vw, 1.05rem);
  line-height: 1.75;
}

.strip:nth-of-type(even) { transform: rotate(.45deg); }
.strip:nth-of-type(odd)  { transform: rotate(-.4deg); }

.strip.tape::before,
.strip.tape::after {
  content: "";
  position: absolute;
  top: -11px;
  width: 78px;
  height: 22px;
  background: rgba(226, 214, 170, .78);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .22);
}
.strip.tape::before { left: 14px;  transform: rotate(-4deg); }
.strip.tape::after  { right: 14px; transform: rotate(3deg); }

.strip p { margin: 0 0 10px; }
.strip p:last-child { margin-bottom: 0; }

.warn { color: var(--red); }

.sect {
  margin: 0 0 12px;
  font-size: clamp(1rem, 4.4vw, 1.35rem);
  line-height: 1.6;
}

.strip ol { margin: 0; padding-left: 1.3em; }
.strip li { margin-bottom: 8px; }

dl { margin: 0; }
dt { font-weight: 700; margin-top: 12px; }
dt:first-child { margin-top: 0; }
dd { margin: 2px 0 0; padding-left: 14px; border-left: 2px solid rgba(168, 39, 28, .35); }

.skreslone { color: var(--red); opacity: .75; }
.mutter { opacity: .62; font-size: .9em; }

/* --- Phase block --- */
.phase {
  margin: 30px 0;
  padding: 22px 16px;
  background: rgba(255, 253, 246, .72);
  border: 2px dashed rgba(168, 39, 28, .45);
  text-align: center;
}

.plabel {
  margin: 0 0 14px;
  font-size: clamp(1.1rem, 5.2vw, 1.7rem);
  line-height: 1.5;
}

.venue {
  margin: 0 0 10px;
  font-size: clamp(1.6rem, 8vw, 2.6rem);
  line-height: 1.4;
  word-break: break-word;
}

.address {
  margin: 0 0 14px;
  font-size: clamp(1.05rem, 4.6vw, 1.35rem);
  line-height: 1.6;
  font-weight: 700;
}

.hours {
  margin: 0 0 16px;
  font-size: clamp(1.2rem, 6vw, 1.9rem);
  line-height: 1.45;
}

.ptext { margin: 0 0 10px; font-size: clamp(.95rem, 3.8vw, 1.05rem); line-height: 1.7; }
.ptext:last-child { margin-bottom: 0; }
.ptext.big { font-size: clamp(1.05rem, 4.4vw, 1.25rem); }

.countdown {
  margin: 16px 0 12px;
  font-family: "Oswald", "Special Elite", monospace;
  font-size: clamp(2rem, 11vw, 3.4rem);
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--red);
}
.countdown.soon {
  font-size: clamp(1.1rem, 5vw, 1.6rem);
  letter-spacing: 0;
  text-transform: none;
}

.phase-birthday { border-color: rgba(20, 100, 60, .5); }

/* The reveal has to land on a clear page — the sales patter above it would undercut it. */
body.bday .strip,
body.bday .stamp,
body.bday footer .fine { display: none; }
body.bday .headline,
body.bday .subhead,
body.bday .kicker { opacity: .3; }
body.bday .phase { margin-top: 34px; padding: 30px 16px; }

/* --- Footer --- */
footer {
  margin-top: 34px;
  padding-top: 14px;
  border-top: 1px dashed rgba(90, 70, 35, .4);
  font-size: .82rem;
  line-height: 1.7;
  opacity: .72;
}
footer p { margin: 0 0 3px; }
.fine { font-size: .74rem; opacity: .8; }
.loop { letter-spacing: .3em; }

/* --- Phase-change flash --- */
body.flash .phase { animation: pop 1.5s ease-out; }

@keyframes pop {
  0%, 100% { background: rgba(255, 253, 246, .72); }
  18%      { background: rgba(255, 233, 150, .95); }
  46%      { background: rgba(255, 253, 246, .72); }
  64%      { background: rgba(255, 233, 150, .95); }
}

@media (prefers-reduced-motion: reduce) {
  body.flash .phase { animation: none; }
  .sheet, .strip, .stamp, .kicker, .subhead { transform: none; }
}

@media (max-width: 420px) {
  .sheet { padding: 24px 14px 24px; }
  .strip.tape::before, .strip.tape::after { width: 54px; }
}
