/* Aged 1930s cartoon-ad finish */
:root {
  --ink: #241d16;
  --paper: #dcc38a;
  --paper-light: #ead8a7;
  --red: #a93425;
  --red-dark: #77231c;
  --teal: #346d67;
  --gold: #bd8430;
  --line: rgba(36, 29, 22, .34);
  --shadow: 8px 8px 0 rgba(36, 29, 22, .92);
}

body {
  position: relative;
  background-color: var(--paper-light);
  background-image:
    radial-gradient(circle at 11% 17%, rgba(91, 52, 20, .14) 0 1px, transparent 2px),
    radial-gradient(circle at 76% 39%, rgba(90, 47, 17, .11) 0 2px, transparent 3px),
    repeating-linear-gradient(7deg, rgba(50, 30, 16, .026) 0 1px, transparent 1px 4px),
    linear-gradient(93deg, transparent 0 68%, rgba(112, 64, 25, .045) 69%, transparent 71%);
  background-size: 29px 31px, 47px 53px, auto, 100% 100%;
  box-shadow: inset 0 0 130px rgba(74, 38, 13, .2);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 90;
  background:
    radial-gradient(ellipse at center, transparent 44%, rgba(47, 27, 14, .14) 100%),
    linear-gradient(90deg, rgba(55, 30, 12, .08), transparent 4%, transparent 96%, rgba(55, 30, 12, .08));
  mix-blend-mode: multiply;
}

.film-grain {
  position: fixed;
  inset: 0;
  z-index: 99;
  pointer-events: none;
  opacity: .16;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.ticker {
  background: #2b2118;
  color: var(--paper);
  font-family: "Rye", serif;
  font-weight: 400;
  letter-spacing: .11em;
  padding: 9px 0 8px;
  font-size: .76rem;
  border-bottom: 3px double var(--paper);
  box-shadow: 0 3px 0 var(--ink);
}

.ticker span { text-shadow: 1px 1px 0 #000; }
.prelaunch-alert {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  padding: 11px 20px;
  color: var(--paper-light);
  background: var(--red-dark);
  border-bottom: 4px double var(--ink);
  text-align: center;
  font-size: .88rem;
}
.prelaunch-alert strong { flex: 0 0 auto; font-family: "Rye", serif; letter-spacing: .06em; }
.prelaunch-alert span { font-weight: 700; }
.brand { font-family: "Rye", serif; text-shadow: 1px 1px 0 rgba(255, 255, 255, .28); }
.brand-mark { width: 42px; height: 42px; border: 3px double var(--ink); border-radius: 48% 52% 46% 54%; transform: rotate(-4deg); }
.nav { border-bottom: 4px double var(--ink); }
.nav a { font-family: "Rye", serif; font-size: .9rem; }
.eyebrow { font-family: "Rye", serif; font-weight: 400; letter-spacing: .12em; }
h1 { transform: rotate(-.55deg); text-shadow: 2px 2px 0 rgba(255, 255, 255, .25); }
h1 em { -webkit-text-stroke: 2px var(--ink); text-shadow: 5px 5px 0 var(--ink), 7px 7px 0 rgba(123, 63, 25, .22); }
h2 { filter: drop-shadow(1px 1px 0 rgba(255, 255, 255, .28)); }

.button {
  border-width: 3px;
  border-radius: 48% 52% 45% 55% / 10% 13% 8% 12%;
  font-family: "Rye", serif;
  font-size: .87rem;
  letter-spacing: .02em;
}

.contract-card,
.controls-card,
.result-card,
.tier,
.checklist {
  background-image: repeating-linear-gradient(0deg, rgba(39, 27, 17, .022) 0 1px, transparent 1px 3px);
  border-style: double;
  border-width: 4px;
}

.poster-frame {
  position: relative;
  padding: 15px;
  background: #d0b77f;
  border: 4px double var(--ink);
  box-shadow: 10px 11px 0 rgba(36, 29, 22, .9);
  filter: saturate(.82) sepia(.12);
}

.poster-frame::after {
  content: "";
  position: absolute;
  inset: 15px;
  pointer-events: none;
  box-shadow: inset 0 0 35px rgba(35, 20, 10, .28);
  background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(38, 27, 17, .028) 3px 4px);
  mix-blend-mode: multiply;
}

.poster-frame img { filter: contrast(1.05) saturate(.83) sepia(.15); }
.poster-frame figcaption { font-family: "Rye", serif; }
.section { border-top: 4px double var(--ink); }

.rewards,
.cta {
  position: relative;
  background-image:
    radial-gradient(rgba(9, 33, 31, .25) 1px, transparent 1px),
    repeating-linear-gradient(12deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 4px);
  background-size: 7px 7px, auto;
}

.rewards::before,
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 15px 28px rgba(24, 14, 8, .18), inset 0 -15px 28px rgba(24, 14, 8, .18);
}

.rank-seal {
  font-family: "Rye", serif;
  border-width: 5px;
  box-shadow: inset 0 0 0 4px rgba(234, 216, 167, .35), 2px 3px 0 rgba(36, 29, 22, .4);
}

.tier:nth-child(odd) { transform: rotate(-.35deg); }
.tier:nth-child(even) { transform: rotate(.35deg); }
.tier.featured { transform: translateY(-9px) rotate(-.7deg); }
.warning-stamp { font-family: "Rye", serif; border: 5px double var(--red); opacity: .92; }
.mechanics li > span { border: 4px double var(--paper); border-radius: 50%; font-family: "Rye", serif; transform: rotate(-4deg); }
.receipt-title, .proposal-note, .poster-frame figcaption { letter-spacing: .1em; }

.fair-rules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 34px;
}

.fair-rules article {
  padding: 20px;
  border: 3px double var(--ink);
  background: rgba(255, 255, 255, .16);
  box-shadow: 4px 4px 0 rgba(36, 29, 22, .84);
}

.fair-rules article:nth-child(2) { transform: rotate(.35deg); }
.fair-rules article:nth-child(3) { transform: rotate(-.35deg); }
.fair-rules b { display: block; margin-bottom: 8px; color: var(--red-dark); font-family: "Rye", serif; font-size: .86rem; letter-spacing: .05em; }
.fair-rules p { margin: 0; font-size: .92rem; }

@media (max-width: 900px) {
  .tier.featured { transform: rotate(-.7deg); }
  .fair-rules { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  body { box-shadow: inset 0 0 65px rgba(74, 38, 13, .16); }
  .film-grain { opacity: .12; }
  .poster-frame { box-shadow: 6px 7px 0 var(--ink); }
  .prelaunch-alert { display: block; padding: 12px 16px; font-size: .8rem; }
  .prelaunch-alert strong { display: block; margin-bottom: 4px; }
}
