/* Paper-led "playbill" overlay — warmer am-dram aesthetic.
   Loaded after site.css to override key surfaces and add paper textures. */

/* Page baseline = warm cream paper */
.tfas-page { background: var(--tfas-paper-50); }

/* ===== PAPER POSTER (type-set, hand-printed feel) ===== */
.paper-poster {
  position: relative;
  aspect-ratio: 3 / 4;
  background:
    radial-gradient(ellipse at 25% 0%, rgba(255,255,255,0.6), transparent 55%),
    linear-gradient(180deg, var(--tfas-paper-100) 0%, var(--tfas-paper-200) 100%);
  border: 1px solid var(--tfas-paper-300);
  border-radius: 4px;
  box-shadow: 0 2px 0 var(--tfas-paper-300), 0 18px 32px -12px rgba(28,26,22,0.18);
  padding: 36px 28px;
  display: flex; flex-direction: column; justify-content: space-between;
  overflow: hidden;
  font-family: var(--font-serif);
  color: var(--tfas-paper-700);
}
/* paper grain */
.paper-poster::before {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(0,0,0,0.04) 1px, transparent 1.6px),
    radial-gradient(circle at 70% 65%, rgba(0,0,0,0.035) 1px, transparent 1.6px),
    radial-gradient(circle at 40% 80%, rgba(0,0,0,0.03) 1px, transparent 1.6px);
  background-size: 5px 5px, 7px 7px, 11px 11px;
  mix-blend-mode: multiply;
  opacity: 0.7;
}
/* corner staple */
.paper-poster::after {
  content: ""; position: absolute;
  top: 12px; left: 50%; transform: translateX(-50%);
  width: 18px; height: 4px; border-radius: 1px;
  background: var(--tfas-paper-400);
  box-shadow: 0 1px 1px rgba(0,0,0,0.15);
}
.paper-poster__rule {
  border: 0; border-top: 1px solid var(--tfas-paper-400);
  margin: 14px 0;
}
.paper-poster__top {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-family: var(--font-sans);
  font-size: 11px; font-weight: 700;
  color: var(--tfas-paper-600);
  margin-top: 6px;
}
.paper-poster__pres {
  text-align: center;
  font-style: italic;
  font-size: 16px;
  color: var(--tfas-paper-600);
}
.paper-poster__title {
  font-family: var(--font-display);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 0.95;
  color: var(--tfas-velvet-700);
  margin: 8px 0;
}
.paper-poster__title.blue { color: var(--tfas-blue-700); }
.paper-poster__sub {
  text-align: center;
  font-style: italic;
  font-size: 18px;
  color: var(--tfas-paper-600);
}
.paper-poster__byline {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-family: var(--font-sans);
  font-size: 11px; font-weight: 700;
  color: var(--tfas-paper-600);
}
.paper-poster__foot {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--tfas-paper-500);
  letter-spacing: 0.08em;
}
/* dashed marquee placeholder area */
.paper-poster--placeholder .paper-poster__title {
  border: 2px dashed var(--tfas-paper-400);
  border-radius: 4px;
  padding: 22px 12px;
  color: var(--tfas-paper-500);
  font-size: 36px;
}

/* ===== MASKING TAPE & ROSETTE ===== */
.tape {
  position: absolute;
  width: 110px; height: 26px;
  background: rgba(232, 158, 22, 0.55);
  background-image:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.18) 0 8px, transparent 8px 16px);
  box-shadow: 0 1px 1px rgba(0,0,0,0.08);
  transform: rotate(-4deg);
  pointer-events: none;
}
.tape--blue { background: rgba(45, 133, 238, 0.45); }
.tape--velvet { background: rgba(154, 33, 60, 0.45); }
.tape--tl { top: -10px; left: -18px; transform: rotate(-8deg); }
.tape--tr { top: -10px; right: -18px; transform: rotate(6deg); }
.tape--bl { bottom: -10px; left: 24px; transform: rotate(4deg); }

.rosette {
  width: 96px; height: 96px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px;
  background: radial-gradient(circle, var(--tfas-amber-300) 30%, var(--tfas-amber-400) 31%, var(--tfas-amber-400) 60%, var(--tfas-amber-500) 61%);
  color: var(--tfas-stage-800);
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 13px;
  text-align: center;
  line-height: 1;
  box-shadow: 0 6px 12px rgba(28,26,22,0.12);
  position: relative;
  transform: rotate(-6deg);
}
.rosette::before {
  content: "";
  position: absolute; inset: -8px;
  border-radius: 999px;
  background: conic-gradient(from 0deg,
    var(--tfas-amber-400) 0 22.5deg, transparent 22.5deg 45deg,
    var(--tfas-amber-400) 45deg 67.5deg, transparent 67.5deg 90deg,
    var(--tfas-amber-400) 90deg 112.5deg, transparent 112.5deg 135deg,
    var(--tfas-amber-400) 135deg 157.5deg, transparent 157.5deg 180deg,
    var(--tfas-amber-400) 180deg 202.5deg, transparent 202.5deg 225deg,
    var(--tfas-amber-400) 225deg 247.5deg, transparent 247.5deg 270deg,
    var(--tfas-amber-400) 270deg 292.5deg, transparent 292.5deg 315deg,
    var(--tfas-amber-400) 315deg 337.5deg, transparent 337.5deg 360deg);
  z-index: -1;
  filter: blur(0.4px);
}
.rosette__ribbon {
  position: absolute; bottom: -32px; left: 50%; transform: translateX(-50%) rotate(-6deg);
  display: flex; gap: 4px;
}
.rosette__ribbon i {
  display: block; width: 18px; height: 36px;
  background: var(--tfas-velvet-500);
  clip-path: polygon(0 0, 100% 0, 100% 80%, 50% 100%, 0 80%);
}
.rosette__ribbon i:last-child { background: var(--tfas-velvet-300); }

/* ===== CARDS — slightly papery shadow + edge ===== */
.card.card--paper {
  background: #fff;
  border: 1px solid var(--tfas-paper-200);
  border-radius: 8px;
  box-shadow: 0 1px 0 var(--tfas-paper-200), 0 12px 24px -16px rgba(28,26,22,0.12);
  position: relative;
}
.card.card--paper::before {
  content: ""; position: absolute;
  top: -1px; left: 24px; right: 24px;
  height: 4px;
  background: repeating-linear-gradient(90deg, var(--tfas-paper-300) 0 6px, transparent 6px 12px);
}

/* ===== TICKET STUB ROW (decorative) ===== */
.stub {
  display: flex; align-items: stretch;
  background: #fff;
  border: 1px solid var(--tfas-paper-300);
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(28,26,22,0.05);
}
.stub::before, .stub::after {
  content: ""; position: absolute;
  width: 14px; height: 14px; border-radius: 999px;
  background: var(--tfas-paper-50);
  border: 1px solid var(--tfas-paper-300);
  top: 50%; transform: translateY(-50%);
}
.stub::before { left: -8px; }
.stub::after { right: 64px; }
.stub__body {
  flex: 1; padding: 14px 18px;
  border-right: 2px dashed var(--tfas-paper-300);
}
.stub__seat {
  width: 84px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 10px;
  color: var(--tfas-paper-500);
  letter-spacing: 0.08em; text-transform: uppercase;
}
.stub__seat b { font-family: var(--font-serif); font-size: 22px; color: var(--tfas-paper-700); }

/* ===== UNDERLINE SCRIBBLE on key words ===== */
.scribble {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 16' preserveAspectRatio='none'><path d='M3 9 C 30 2, 60 14, 90 7 S 150 13, 180 6 S 230 12, 237 8' stroke='%23e89e16' stroke-width='3' stroke-linecap='round' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 0.3em;
  padding-bottom: 0.18em;
}
.scribble--blue {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 16' preserveAspectRatio='none'><path d='M3 9 C 30 2, 60 14, 90 7 S 150 13, 180 6 S 230 12, 237 8' stroke='%232d85ee' stroke-width='3' stroke-linecap='round' fill='none'/></svg>");
}
.circled {
  position: relative;
  display: inline-block;
  padding: 0 6px;
}
.circled::before {
  content: "";
  position: absolute; inset: -6px -10px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 60' preserveAspectRatio='none'><path d='M 12 30 C 12 8, 100 4, 188 14 C 196 26, 192 50, 100 56 C 8 56, 4 38, 12 30' stroke='%23e89e16' stroke-width='3' stroke-linecap='round' fill='none'/></svg>") center/100% 100% no-repeat;
  z-index: -1;
}

/* ===== SECTION TINTS — papery, less stark ===== */
.section--paper { background: var(--tfas-paper-50); }
.section--cream { background: var(--tfas-paper-100); }

/* ===== HANDWRITTEN-FEELING NOTE ===== */
.note {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 18px;
  line-height: 1.5;
  color: var(--tfas-paper-700);
  background: #fffdf3;
  border: 1px solid var(--tfas-paper-200);
  padding: 22px 26px;
  border-radius: 4px;
  position: relative;
  box-shadow: 0 4px 0 var(--tfas-paper-200);
  transform: rotate(-0.6deg);
}

/* ===== Pre-launch ribbon — warmer ===== */
.ribbon {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  color: var(--tfas-velvet-700);
  text-transform: uppercase; letter-spacing: 0.12em;
  background: #fbe9ef;
  padding: 6px 14px;
  border-radius: 999px;
}
.ribbon::before {
  content: "●"; color: var(--tfas-velvet-500); font-size: 9px; animation: blink 1.6s infinite;
}

/* ===== Step number — papery, hand-stamped ===== */
.step__num {
  font-family: var(--font-display);
  text-transform: uppercase; letter-spacing: 0.05em;
  font-size: 64px; line-height: 1;
  color: var(--tfas-velvet-500);
  background: linear-gradient(180deg, var(--tfas-velvet-500), var(--tfas-velvet-700));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
  display: inline-block;
}

/* PAPER hero gradient (light, cream-led) */
.hero--paper {
  background:
    radial-gradient(ellipse at 80% 0%, rgba(45,133,238,0.10), transparent 55%),
    radial-gradient(ellipse at 0% 100%, rgba(232,158,22,0.14), transparent 55%),
    linear-gradient(180deg, var(--tfas-paper-50) 0%, var(--tfas-paper-100) 100%);
  color: var(--color-fg);
  padding: 96px 0 112px;
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--tfas-paper-200);
}
.hero--paper::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 14% 18%, rgba(0,0,0,0.025) 1px, transparent 1.5px),
    radial-gradient(circle at 78% 64%, rgba(0,0,0,0.02) 1px, transparent 1.5px);
  background-size: 7px 7px, 11px 11px;
  pointer-events: none;
  opacity: 0.6;
}
.hero--paper .display em { color: var(--tfas-velvet-700); }
.hero--paper .display { color: var(--color-brand); }

/* fix nav brand to brand color (override site.css) */
.tfas-page .nav__brand,
.tfas-page a.nav__brand { color: var(--color-brand) !important; }

/* Footer warmer */
.foot { background: var(--tfas-stage-700); }
