@font-face {
  font-family: "Rebond";
  src: url("/fonts/ESRebondGrotesque-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Rebond";
  src: url("/fonts/ESRebondGrotesque-Semibold.woff2") format("woff2");
  font-weight: 600 900;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("/fonts/Fraunces-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("/fonts/figtree-normal.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("/fonts/instrument-serif-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("/fonts/instrument-serif-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #fcf7ed;
  --card: #fffdf9;
  --ink: #1a1a1a;
  --muted: #625860;
  --line: #dfd2d9;
  --pink: #ff30cc;
  --pink-text: #ad087d;
  --focus: #8b065f;
  --gold: #d9b97a;
  font-family: "Rebond", Arial, sans-serif;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.55;
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}
h1:focus {
  outline: none;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: clamp(3.25rem, 6.8vw, 5.75rem);
  line-height: 1.03;
  font-weight: 600;
  letter-spacing: -0.055em;
  margin-bottom: 24px;
}
h1 em {
  color: #df10a8;
  font-style: normal;
}
h2 {
  font-size: 1.8rem;
  line-height: 1.15;
  letter-spacing: -0.035em;
  font-weight: 600;
  margin-bottom: 16px;
}
p {
  margin-bottom: 20px;
}
.site-header {
  min-height: 102px;
  max-width: 1440px;
  margin: auto;
  padding: 28px 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}
.wordmark {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.wordmark img {
  display: block;
  width: 112px;
  height: auto;
}
.header-label,
.eyebrow,
.step-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
}
.header-label {
  color: var(--muted);
}
main {
  max-width: 1280px;
  margin: auto;
  padding: 36px 6% 80px;
}
.welcome {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 7%;
  align-items: center;
  min-height: 596px;
}
.welcome > *,
.claim-layout > * {
  min-width: 0;
}
.intro {
  padding-block: 36px;
}
.eyebrow {
  margin-bottom: 25px;
  color: var(--pink-text);
}
.lede {
  font-size: 20px;
  line-height: 1.6;
}
.intro .lede {
  font-family: "Fraunces", Georgia, serif;
  max-width: 400px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 36px;
}
.entry-card {
  width: 100%;
  max-width: 490px;
  justify-self: end;
  background: #fff1fa;
  border-color: #edc3de;
}
.entry-card h2 {
  font-size: 2rem;
}
.entry-card > p {
  max-width: 330px;
}
.step-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  color: var(--muted);
}
.step-number {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 10px;
  letter-spacing: 0;
}
form > label,
fieldset > label,
.field-grid label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin: 18px 0 7px;
}
input:not([type="checkbox"]),
select,
textarea {
  width: 100%;
  min-width: 0;
  min-height: 52px;
  border: 1px solid #93858c;
  border-radius: 8px;
  background: #fffdf9;
  color: var(--ink);
  padding: 12px 14px;
  font-size: 16px;
  transition: border-color 0.15s;
}
input:hover,
select:hover,
textarea:hover {
  border-color: var(--ink);
}
input::placeholder {
  color: var(--muted);
}
#code {
  font-size: 20px;
  letter-spacing: 1px;
  font-family: ui-monospace, monospace;
  text-transform: uppercase;
  min-height: 60px;
}
.field-hint,
.fine-print,
.privacy-note {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}
.field-hint {
  margin: 8px 0 16px;
}
.privacy-note {
  text-align: center;
  font-size: 12px;
  margin: 16px 0 0;
}
.button {
  border: 1px solid transparent;
  background: var(--pink);
  color: #281421;
  border-radius: 999px;
  min-height: 54px;
  width: 100%;
  padding: 14px 24px;
  font-weight: 600;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  transition: background 0.15s;
}
.button:hover:not(:disabled) {
  background: #f20abb;
}
.button span {
  font-size: 22px;
  line-height: 1;
}
.challenge {
  margin: 22px 0 16px;
  min-height: 66px;
  max-width: 100%;
}
.message:empty {
  display: none;
}
.message {
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 14px;
  margin: 16px 0;
}
.error {
  background: #fff0ed;
  color: #8a2c23;
  border: 1px solid #dba89b;
}
.test-banner {
  padding: 9px 14px;
  margin-bottom: 28px;
  border: 1px solid #cbbc9c;
  border-radius: 6px;
  background: #f4eddb;
  color: #58492b;
  font-size: 12px;
}
.golden {
  --paper: #161314;
  --card: #f4f3f0;
  --ink: #f4f3f0;
  --muted: #b5ada5;
  --line: #3a3335;
  --focus: #e9559c;
  font-family: "Figtree", Arial, sans-serif;
}
.golden h1,
.golden h2 {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.035em;
}
.golden h1 em {
  color: var(--gold);
  font-style: italic;
}
.golden .eyebrow,
.golden .step-label {
  font-family: ui-monospace, monospace;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 1.7px;
  color: var(--muted);
}
.claim-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 7%;
  align-items: start;
}
.claim-intro {
  padding-top: 26px;
}
.claim-intro h1 {
  font-size: clamp(4rem, 7.2vw, 6.15rem);
  line-height: 0.98;
}
.claim-intro .lede {
  font-size: 22px;
  color: var(--gold);
}
.claim-intro > p:not(.eyebrow) {
  max-width: 365px;
}
.prize-hero {
  margin: 32px 0;
}
.prize-hero img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
}
.claim-card {
  --ink: #161314;
  --muted: #625d58;
  --line: #d9d3cb;
  --focus: #ad087d;
  color: var(--ink);
  border-color: var(--line);
  border-radius: 12px;
}
.claim-card h2 {
  font-size: 42px;
}
.claim-card > p {
  font-size: 15px;
}
.golden .button {
  background: var(--gold);
  color: #211a0e;
  border-radius: 8px;
}
.golden .button:hover:not(:disabled) {
  background: #e9cd95;
}
.claim-card fieldset {
  border: 0;
  border-top: 1px solid var(--line);
  padding: 22px 0 6px;
  margin: 30px 0 12px;
  min-width: 0;
}
.claim-card legend {
  font-weight: 600;
  font-size: 16px;
  padding: 0 12px 0 0;
}
.optional {
  font-weight: 400;
  color: var(--muted);
  font-size: 12px;
}
.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.checkbox-label {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px !important;
  font-weight: 400 !important;
  margin: 18px 0 !important;
  cursor: pointer;
}
input[type="checkbox"] {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  accent-color: #9b155f;
  margin: 2px 0 0;
}
.text-button {
  background: none;
  border: 0;
  text-decoration: underline;
  text-underline-offset: 4px;
  min-height: 44px;
  padding: 10px;
  color: var(--ink);
  font-size: 14px;
}
.success-card {
  max-width: 760px;
  margin: 10px auto 0;
  text-align: center;
  padding: 42px 48px;
  background: transparent;
  border: 0;
}
.success-card h1 {
  font-size: clamp(4.4rem, 7vw, 6.3rem);
  line-height: 0.98;
}
.success-symbol {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  margin: 0 auto 24px;
  font-size: 26px;
  color: var(--gold);
}
.success-card .lede {
  color: var(--gold);
  margin-bottom: 12px;
}
.success-card > p:not(.lede, .eyebrow, .reference) {
  color: var(--muted);
}
.reference {
  background: #211d1e;
  border: 1px solid var(--line);
  padding: 18px;
  margin: 28px 0;
  font-size: 12px;
  border-radius: 8px;
  overflow-wrap: anywhere;
}
.reference strong {
  display: block;
  margin-top: 8px;
  font-family: ui-monospace, monospace;
  font-weight: 500;
  color: var(--gold);
}
.share-note {
  border-block: 1px solid var(--line);
  margin: 28px 0;
  padding: 28px 0 10px;
}
.share-note h2 {
  font-size: 36px;
}
.share-note strong {
  white-space: nowrap;
}
footer {
  max-width: 1440px;
  margin: auto;
  padding: 28px 6%;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
}
footer .wordmark img {
  width: 90px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.terms {
  max-width: 790px;
  padding-top: 64px;
}
.terms h1 {
  font-size: 4.5rem;
}
.terms h2 {
  font-size: 2.5rem;
  color: var(--gold);
  margin-top: 36px;
}
.terms li {
  margin-bottom: 12px;
}
.admin-main {
  max-width: 1120px;
}
.login-card {
  max-width: 460px;
  margin: 40px auto;
  background: #fff1fa;
}
.login-card h1 {
  font-size: 2.75rem;
}
.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.admin-header h1 {
  font-size: 3.5rem;
}
.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.admin-actions .button {
  width: auto;
}
.redemption {
  margin: 28px 0;
}
.redemption .badge {
  margin-bottom: 12px;
}
.redemption h2 {
  font-size: 1.4rem;
  overflow-wrap: anywhere;
}
.details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 30px;
  overflow-wrap: anywhere;
}
dt {
  font-size: 12px;
  color: var(--muted);
}
dd {
  margin: 0 0 12px;
  white-space: pre-line;
}
.badge {
  display: inline-block;
  border: 1px solid #deacca;
  background: #fff1fa;
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.record-form {
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.record-form label {
  display: block;
  font-size: 14px;
  margin: 12px 0 6px;
}
.record-form .button {
  margin-top: 16px;
  width: auto;
}
.record-form textarea {
  resize: vertical;
}
.loading {
  color: var(--muted);
}
.ticket-photo {
  display: block;
  max-width: 100%;
  max-height: 600px;
  object-fit: contain;
  margin: 16px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.photo-review {
  margin-bottom: 24px;
}
input[type="file"] {
  font-size: 13px;
  max-width: 100%;
  padding: 10px 8px;
}
input[type="file"]::file-selector-button {
  font: inherit;
  padding: 8px;
  border: 1px solid #93858c;
  border-radius: 4px;
  margin-right: 8px;
  background: #eae6e0;
  color: #161314;
  cursor: pointer;
}
/* Landing: entrance, swapping word, sparkles, ticket card and the reveal. */
body {
  overflow-x: clip;
}
.welcome {
  position: relative;
}
.rise {
  display: inline-block;
  animation: rise 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
h1 .rise:nth-of-type(2) {
  animation-delay: 0.08s;
}
.lede.rise {
  display: block;
  animation-delay: 0.18s;
}
.peek-steps.rise {
  display: flex;
  animation-delay: 0.28s;
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}
.word-swap {
  display: inline-block;
  position: relative;
}
.swap-word {
  display: inline-block;
}
.swap-word.out {
  animation: word-out 0.28s ease-in forwards;
}
.swap-word.in {
  animation: word-in 0.42s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes word-out {
  to {
    opacity: 0;
    transform: translateY(-0.35em);
  }
}
@keyframes word-in {
  from {
    opacity: 0;
    transform: translateY(0.35em);
  }
}
.peek-steps {
  list-style: none;
  padding: 0;
  margin: 40px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.peek-steps li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  font-size: 14px;
  font-weight: 600;
}
.peek-steps li span {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--pink);
  color: #281421;
  font-size: 12px;
}
.sparkles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.sparkles span {
  position: absolute;
  color: var(--pink);
  pointer-events: none;
  animation: twinkle 3.2s ease-in-out infinite;
}
.sparkles span:nth-child(1) {
  top: 2%;
  left: 44%;
  font-size: 22px;
}
.sparkles span:nth-child(2) {
  top: 18%;
  left: 92%;
  font-size: 14px;
  animation-delay: -0.6s;
}
.sparkles span:nth-child(3) {
  top: 58%;
  left: 47%;
  font-size: 30px;
  animation-delay: -1.3s;
}
.sparkles span:nth-child(4) {
  top: 88%;
  left: 8%;
  font-size: 16px;
  animation-delay: -2s;
}
.sparkles span:nth-child(5) {
  top: 6%;
  left: 2%;
  font-size: 12px;
  animation-delay: -2.6s;
}
.sparkles span:nth-child(6) {
  top: 96%;
  left: 62%;
  font-size: 20px;
  animation-delay: -0.9s;
}
.sparkles span:nth-child(7) {
  top: 40%;
  left: 99%;
  font-size: 26px;
  animation-delay: -1.8s;
}
@keyframes twinkle {
  0%,
  100% {
    opacity: 0.15;
    transform: scale(0.6);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}
.ticket-wrap {
  justify-self: end;
  width: 100%;
  max-width: 490px;
  animation:
    float 6s ease-in-out infinite,
    rise 0.9s 0.2s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
@keyframes float {
  50% {
    transform: translateY(-8px);
  }
}
.ticket {
  position: relative;
  max-width: none;
  box-shadow: 0 24px 60px -28px rgba(173, 8, 125, 0.45);
}
.ticket-stub {
  position: relative;
  margin: -36px -36px 30px;
  padding: 18px 28px;
  border-radius: 15px 15px 0 0;
  background: var(--pink);
  color: #281421;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  overflow: hidden;
  border-bottom: 2px dashed rgba(40, 20, 33, 0.35);
}
.ticket-stub::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    transparent 30%,
    rgba(255, 255, 255, 0.55) 50%,
    transparent 70%
  );
  transform: translateX(-100%);
  animation: sheen 4.5s ease-in-out 1.2s infinite;
}
@keyframes sheen {
  40%,
  100% {
    transform: translateX(100%);
  }
}
/* The Nancy circular N logo, taken from Nancy_Logo_Circular_Pink.svg. */
.ticket-n {
  display: block;
  width: 38px;
  height: 38px;
}
.ticket-n-disc {
  fill: #281421;
}
.ticket-n-mark {
  fill: var(--pink);
}
.ticket::before,
.ticket::after {
  content: "";
  position: absolute;
  top: 58px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--paper);
  z-index: 1;
}
.ticket::before {
  left: -14px;
  box-shadow: inset -1px 0 0 #edc3de;
}
.ticket::after {
  right: -14px;
  box-shadow: inset 1px 0 0 #edc3de;
}
.reveal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #f4f3f0;
  background: radial-gradient(circle at 50% 38%, #2b2317 0%, #0d0b0c 72%);
  animation: rv-in 0.35s ease both;
  transition: opacity 0.45s ease;
}
.reveal.rv-out {
  opacity: 0;
}
@keyframes rv-in {
  from {
    opacity: 0;
  }
}
.rv-skip {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  border: 1px solid #3a3335;
  border-radius: 999px;
  background: transparent;
  color: #b5ada5;
  padding: 8px 16px;
  font-size: 13px;
}
.rv-skip:hover {
  color: #f4f3f0;
}
.rv-stage {
  position: relative;
  z-index: 2;
  width: min(92vw, 760px);
  display: grid;
  grid-template-areas: "wait" "visual" "title" "claim";
  justify-items: center;
  text-align: center;
}
.rv-wait {
  grid-area: wait;
  margin: 0 0 14px;
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-size: 30px;
  color: var(--gold);
  opacity: 0;
  transition: opacity 0.4s;
}
.s-ticket .rv-wait {
  opacity: 1;
}
.rv-ticket,
.s-burst .rv-wait {
  opacity: 0;
}
.rv-ticket-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1.43% / 2.86%;
  box-shadow: 0 0 0 rgba(255, 214, 130, 0);
}
/* The ticket trembles harder and glows brighter until it bursts. */
.s-shake .rv-ticket-img {
  animation: rv-charge 1.1s cubic-bezier(0.5, 0, 0.9, 0.4) forwards;
}
@keyframes rv-charge {
  0% {
    transform: none;
    filter: brightness(1);
  }
  10% {
    transform: translateX(-2px);
  }
  20% {
    transform: translateX(2px);
  }
  30% {
    transform: translateX(-3px) translateY(1px);
  }
  40% {
    transform: translateX(4px);
  }
  50% {
    transform: translateX(-5px) translateY(-1px);
  }
  60% {
    transform: translateX(6px) translateY(1px);
  }
  70% {
    transform: translateX(-7px);
  }
  80% {
    transform: translateX(8px) translateY(-1px);
  }
  90% {
    transform: translateX(-8px) translateY(1px);
  }
  100% {
    transform: scale(1.04);
    filter: brightness(1.7) saturate(1.2);
    box-shadow:
      0 0 60px 20px rgba(255, 220, 140, 0.75),
      0 0 160px 60px rgba(255, 200, 110, 0.45);
  }
}
.s-burst .rv-ticket {
  opacity: 0;
  transform: scale(1.12);
  transition:
    opacity 0.25s ease-out,
    transform 0.3s ease-out;
}
/* Full-screen burst of light from the ticket, then it clears to the LEM. */
.rv-flash {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(
    circle at 50% 42%,
    #ffffff 0%,
    #fffaf0 22%,
    #ffeec4 40%,
    rgba(255, 222, 150, 0.85) 58%,
    rgba(255, 205, 120, 0) 78%
  );
  transform: scale(0.15);
}
.s-burst .rv-flash {
  animation: rv-flash 1.6s cubic-bezier(0.2, 0.7, 0.3, 1) forwards;
}
@keyframes rv-flash {
  0% {
    opacity: 1;
    transform: scale(0.15);
  }
  18% {
    opacity: 1;
    transform: scale(2.6);
  }
  35% {
    opacity: 1;
    transform: scale(3.2);
  }
  100% {
    opacity: 0;
    transform: scale(3.6);
  }
}
.rv-ticket,
.rv-lem {
  grid-area: visual;
}
.rv-ticket {
  position: relative;
  align-self: center;
  width: min(80vw, 460px);
  aspect-ratio: 2 / 1;
  opacity: 0;
  transform: scale(0.9);
  transition:
    opacity 0.5s,
    transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.s-ticket .rv-ticket {
  opacity: 1;
  transform: none;
}
.s-lem .rv-ticket {
  opacity: 0;
}
.rv-lem {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  transform: translateY(70px);
  transition:
    opacity 0.9s,
    transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.s-lem .rv-lem {
  opacity: 1;
  transform: none;
}
.rv-glow {
  position: absolute;
  top: -10%;
  left: 50%;
  width: min(90vw, 560px);
  aspect-ratio: 1;
  translate: -50% 0;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(232, 196, 120, 0.45),
    transparent 62%
  );
  animation: rv-pulse 3s ease-in-out infinite;
}
@keyframes rv-pulse {
  50% {
    opacity: 0.55;
    transform: scale(1.08);
  }
}
.rv-body {
  position: relative;
  display: block;
  line-height: 0;
}
.rv-lem-img,
.rv-lem-mirror {
  position: relative;
  display: block;
  height: min(32svh, 320px);
  width: auto;
}
.rv-shine {
  position: absolute;
  inset: 0;
  -webkit-mask: url("/images/golden-lem-cutout.webp") center / 100% 100%
    no-repeat;
  mask: url("/images/golden-lem-cutout.webp") center / 100% 100% no-repeat;
  background: linear-gradient(
      100deg,
      transparent 35%,
      rgba(255, 250, 225, 0.85) 50%,
      transparent 65%
    )
    no-repeat;
  background-size: 300% 100%;
  background-position: 120% 0;
  mix-blend-mode: overlay;
}
.s-lem .rv-shine {
  animation: rv-shine 2.6s 0.6s ease-in-out infinite;
}
@keyframes rv-shine {
  60%,
  100% {
    background-position: -20% 0;
  }
}
.rv-lem-mirror {
  transform: scaleY(-1);
  opacity: 0.3;
  margin-bottom: calc(min(32svh, 320px) * -0.62);
  -webkit-mask-image: linear-gradient(to top, #000, transparent 38%);
  mask-image: linear-gradient(to top, #000, transparent 38%);
}
.rv-title {
  grid-area: title;
  margin: 12px 0 28px;
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  font-size: clamp(3rem, 9vw, 6.4rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: #f4f3f0;
}
.rv-title em {
  font-style: italic;
  color: var(--gold);
}
.rv-title span {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.35em) scale(0.92);
  transition:
    opacity 0.5s,
    transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1.4);
}
.s-title .rv-title span {
  opacity: 1;
  transform: none;
}
.rv-title > span:nth-child(2) {
  transition-delay: 0.2s;
}
.rv-title em span:nth-child(1) {
  transition-delay: 0.45s;
}
.rv-title em span:nth-child(2) {
  transition-delay: 0.75s;
  transform-origin: 30% 70%;
  transform: scale(1.5);
}
.s-title .rv-title em span:nth-child(2) {
  transform: none;
  text-shadow: 0 0 28px rgba(232, 196, 120, 0.6);
}
.rv-claim {
  grid-area: claim;
  max-width: 300px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition:
    opacity 0.5s,
    transform 0.5s;
}
.s-claim .rv-claim {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}
.rv-calm * {
  transition: none !important;
  animation: none !important;
}
.rv-calm .rv-ticket {
  display: none;
}
.story-button {
  max-width: 320px;
  margin-top: 8px;
}
.gold-ticket {
  position: relative;
  display: block;
  max-width: 440px;
  margin: 36px 0 0;
  border-radius: 1.43% / 2.86%;
  overflow: hidden;
  box-shadow:
    0 26px 50px -24px rgba(217, 185, 122, 0.45),
    0 2px 6px rgba(0, 0, 0, 0.5);
  animation:
    rise 0.8s 0.24s cubic-bezier(0.2, 0.8, 0.2, 1) both,
    float 6s 1s ease-in-out infinite;
}
.gold-ticket img {
  display: block;
  width: 100%;
  height: auto;
}
/* Light sweeping across metallic card. */
.gold-ticket::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(255, 244, 210, 0.15) 40%,
    rgba(255, 250, 230, 0.75) 48%,
    rgba(255, 236, 170, 0.35) 53%,
    transparent 62%
  );
  mix-blend-mode: overlay;
  transform: translateX(-120%);
  animation: gold-sweep 4.8s ease-in-out 1.4s infinite;
}
.gold-ticket::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(
    120% 160% at 20% 0%,
    rgba(255, 248, 225, 0.25),
    transparent 55%
  );
  mix-blend-mode: soft-light;
  animation: gold-glow 4.8s ease-in-out 1.4s infinite;
}
@keyframes gold-sweep {
  55%,
  100% {
    transform: translateX(120%);
  }
}
@keyframes gold-glow {
  0%,
  100% {
    opacity: 0.5;
  }
  30% {
    opacity: 1;
  }
}
.gold-ticket + .peek-steps {
  margin-top: 28px;
}
/* Landing in the same charcoal and gold look as the claim page. */
.golden .wordmark img {
  filter: brightness(0) invert(1);
}
.golden .intro .lede {
  font-family: inherit;
  font-size: 22px;
  color: var(--gold);
}
.golden .welcome h1 {
  font-size: clamp(4rem, 7.2vw, 6.15rem);
  line-height: 0.98;
}
.golden .sparkles span {
  color: var(--gold);
}
.golden .peek-steps li {
  background: transparent;
  color: var(--ink);
  font-weight: 400;
}
.golden .peek-steps li span {
  background: var(--gold);
  color: #161314;
}
.golden .entry-card {
  --ink: #161314;
  --muted: #625d58;
  --line: #d9d3cb;
  --focus: #ad087d;
  background: var(--card);
  color: var(--ink);
  border-color: var(--line);
  border-radius: 12px;
  box-shadow: 0 30px 70px -30px rgba(217, 185, 122, 0.35);
}
.golden .entry-card h2 {
  font-size: 42px;
}
.golden .ticket-stub {
  background: var(--gold);
  color: #161314;
  border-radius: 11px 11px 0 0;
  border-bottom-color: rgba(22, 19, 20, 0.35);
}
.golden .ticket-n-disc {
  fill: #161314;
}
.golden .ticket-n-mark {
  fill: var(--gold);
}
.golden .ticket::before,
.golden .ticket::after {
  background: #161314;
  box-shadow: none;
}
@media (max-width: 760px) {
  .ticket-wrap {
    max-width: none;
  }
  .ticket-stub {
    margin: -28px -20px 26px;
    padding: 14px 20px;
    border-radius: 11px 11px 0 0;
    font-size: 10px;
    letter-spacing: 1.5px;
  }
  .ticket::before,
  .ticket::after {
    top: 50px;
  }
  .peek-steps.rise {
    display: none;
  }
  .sparkles span:nth-child(n + 5) {
    display: none;
  }
}
@media (max-width: 380px) {
  .ticket-stub {
    margin-inline: -12px;
  }
}
@media (max-width: 760px) {
  .site-header {
    min-height: 82px;
    padding: 20px 24px;
  }
  .wordmark img {
    width: 95px;
  }
  .header-label {
    font-size: 9px;
    letter-spacing: 1px;
    max-width: 145px;
    text-align: right;
  }
  main {
    padding: 24px 24px 56px;
  }
  .test-banner {
    font-size: 11px;
    margin-bottom: 28px;
  }
  .welcome,
  .claim-layout {
    grid-template-columns: 1fr;
    gap: 32px;
    min-height: 0;
  }
  .intro {
    padding: 4px 0 0;
  }
  h1 {
    font-size: clamp(2.8rem, 13.6vw, 4.8rem);
  }
  .eyebrow {
    font-size: 10px;
    letter-spacing: 1.3px;
    margin-bottom: 20px;
  }
  .lede {
    font-size: 18px;
  }
  .intro .lede {
    margin-bottom: 0;
  }
  .entry-card {
    max-width: none;
  }
  .card,
  .claim-card {
    padding: 28px 20px;
    border-radius: 12px;
  }
  .entry-card h2 {
    font-size: 1.7rem;
  }
  .entry-card > p {
    font-size: 15px;
  }
  .step-label {
    margin-bottom: 22px;
  }
  .claim-intro {
    padding: 0;
  }
  .claim-intro h1 {
    font-size: clamp(3.75rem, 16.4vw, 5.8rem);
  }
  .claim-intro .lede {
    font-size: 20px;
  }
  .claim-intro > p:not(.eyebrow) {
    max-width: none;
  }
  .claim-intro .fine-print {
    margin-bottom: 0;
  }
  .prize-hero {
    margin: 28px 0;
  }
  .claim-card h2 {
    font-size: 38px;
  }
  .success-card {
    padding: 12px 0;
  }
  .success-card h1 {
    font-size: clamp(3.8rem, 17vw, 5.8rem);
  }
  .success-card .eyebrow {
    font-size: 9px;
  }
  .share-note h2 {
    font-size: 32px;
  }
  .share-note strong {
    white-space: normal;
  }
  .field-grid,
  .details-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  footer {
    padding: 24px;
    flex-wrap: wrap;
    gap: 16px;
  }
  footer > span:nth-child(2) {
    display: none;
  }
  .login-card {
    margin: 20px auto;
  }
  .admin-header h1 {
    font-size: 2.6rem;
  }
  .admin-actions {
    gap: 8px;
    margin-bottom: 20px;
  }
  .terms h1 {
    font-size: 3.4rem;
  }
}
@media (max-width: 380px) {
  main {
    padding-inline: 8px;
  }
  .card {
    padding-inline: 12px;
  }
  .challenge {
    /* Turnstile's flexible widget has a 300px minimum width. */
    margin-inline: -12px;
    width: calc(100% + 24px);
    max-width: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
