/*! (c) Copyright 2026 Brinkhoff Consulting GmbH. Alle Rechte vorbehalten. Diese Website wurde NC Coffee Roastery GmbH zur Nutzung am 29.10.2026 erstmals zur Verfügung gestellt. */
.sheet {
  max-width: 480px;
  margin: 0 auto;
  padding: calc(env(safe-area-inset-top) + 16px) 14px calc(env(safe-area-inset-bottom) + 16px);
}

#stage {
  position: relative;
  min-height: calc(100dvh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  border: 1.5px solid var(--ink);
  padding: 28px 18px 24px;
  display: flex;
  flex-direction: column;
}

.has-hero #stage {
  --gap: min(56%, 214px);
  margin-top: 74px;
  border-top-color: transparent;
}
.has-hero #stage::before,
.has-hero #stage::after {
  content: "";
  position: absolute;
  pointer-events: none;
}
.has-hero #stage::before {
  top: -1.5px;
  left: -1.5px;
  right: -1.5px;
  height: 1.5px;
  background: linear-gradient(to right,
    var(--ink) 0 calc(50% - var(--gap) / 2),
    transparent calc(50% - var(--gap) / 2) calc(50% + var(--gap) / 2),
    var(--ink) calc(50% + var(--gap) / 2) 100%);
}
.has-hero #stage::after {
  top: -4.5px;
  left: calc(50% - var(--gap) / 2 - 4px);
  width: calc(var(--gap) + 8px);
  height: 7.5px;
  background:
    radial-gradient(circle 3.2px at 4px 50%, var(--ink) 92%, transparent) left / 8px 100% no-repeat,
    radial-gradient(circle 3.2px at 4px 50%, var(--ink) 92%, transparent) right / 8px 100% no-repeat;
  animation: rise .8s var(--ease-out) .5s both;
}

.hero-illu {
  position: relative;
  width: min(62%, 230px);
  margin: -112px auto 6px;
  animation: drop-in 1s var(--ease-spring) both;
}
.hero-illu img {
  position: relative;
  width: 100%;
  animation: float 7s ease-in-out 1s infinite;
}

.top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 26px;
}
.top .logo { width: 132px; }

.steps {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.steps__bars { display: flex; gap: 5px; }
.steps__bars i {
  width: 22px;
  height: 4px;
  border-radius: 2px;
  background: var(--ink-12);
  transition: background-color .4s, width .5s var(--ease-spring);
}
.steps__bars i.on { background: var(--ink); width: 34px; }

.h1 {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(38px, 11.5vw, 54px);
  line-height: 1.02;
  letter-spacing: -.01em;
  color: var(--white);
  text-align: center;
  text-wrap: balance;
}
.h2 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(30px, 8.6vw, 38px);
  line-height: 1.08;
  color: var(--white);
  text-align: center;
  text-wrap: balance;
}
.lead {
  margin: 0 auto 26px;
  max-width: 30ch;
  font-size: 18px;
  line-height: 1.45;
  text-align: center;
  text-wrap: pretty;
}
.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.small { font-size: 14px; line-height: 1.45; color: var(--ink-70); }

body[data-kind="sticker"] [data-k="flyer"],
body[data-kind="flyer"] [data-k="sticker"] { display: none; }

.ticket-wrap {
  position: relative;
  filter: drop-shadow(0 18px 22px rgba(33, 32, 31, .28)) drop-shadow(0 2px 3px rgba(33, 32, 31, .18));
}
.ticket__top,
.ticket__bottom {
  position: relative;
  background: var(--white);
  padding: 22px 20px;
}
.ticket__top {
  border-radius: var(--radius) var(--radius) 0 0;
  padding-bottom: 20px;
  -webkit-mask:
    radial-gradient(circle 13px at 0 100%, #0000 96%, #000) left / 51% 100% no-repeat,
    radial-gradient(circle 13px at 100% 100%, #0000 96%, #000) right / 51% 100% no-repeat;
  mask:
    radial-gradient(circle 13px at 0 100%, #0000 96%, #000) left / 51% 100% no-repeat,
    radial-gradient(circle 13px at 100% 100%, #0000 96%, #000) right / 51% 100% no-repeat;
}
.ticket__bottom {
  border-radius: 0 0 var(--radius) var(--radius);
  padding-top: 20px;
  -webkit-mask:
    radial-gradient(circle 13px at 0 0, #0000 96%, #000) left / 51% 100% no-repeat,
    radial-gradient(circle 13px at 100% 0, #0000 96%, #000) right / 51% 100% no-repeat;
  mask:
    radial-gradient(circle 13px at 0 0, #0000 96%, #000) left / 51% 100% no-repeat,
    radial-gradient(circle 13px at 100% 0, #0000 96%, #000) right / 51% 100% no-repeat;
}
.ticket__bottom::before {
  content: "";
  position: absolute;
  top: 0;
  left: 22px;
  right: 22px;
  border-top: 2px dashed var(--ink-12);
}

.plaque {
  --foil: linear-gradient(100deg, #e4d9ca 0 34%, #fff8ee 44%, #c9b79f 51%, #f3eadf 57%, #e4d9ca 66% 100%);
  background: var(--ink) url("../img/guilloche.svg") 0 50% / 240px 120px repeat;
  color: #efe6da;
  padding: 30px 24px 30px;
  overflow: hidden;
  isolation: isolate;
  animation: guilloche 80s linear infinite;
}
.plaque::before {
  content: "";
  position: absolute;
  inset: 9px 9px 17px;
  border: 1px solid rgba(202, 195, 185, .42);
  border-radius: 12px;
  pointer-events: none;
}
.plaque::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 246, 230, .13) 49%, transparent 60%);
  transform: translateX(-110%);
  pointer-events: none;
  animation: glint 7s ease-in-out 1.5s infinite;
}
.plaque__inner { position: relative; z-index: 2; }

.plaque__eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: rgba(239, 230, 218, .78);
}
.plaque__eyebrow::before,
.plaque__eyebrow::after {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  animation: rule-in .9s var(--ease-out) .35s both;
}
.plaque__eyebrow::before { transform-origin: right; }
.plaque__eyebrow::after { transform-origin: left; }

.amount {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 132px;
  line-height: .8;
}
.amount .num,
.amount .cur {
  display: inline-block;
  color: transparent;
  background: var(--foil);
  background-size: 300% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  animation: foil 7s ease-in-out 1.5s infinite;
}
.amount .num { animation: value-in 1.2s var(--ease-out) .4s both, foil 7s ease-in-out 1.5s infinite; }
.amount .cur {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 46px;
  margin-top: 10px;
  animation: cur-in .9s var(--ease-spring) .95s both, foil 7s ease-in-out 1.5s infinite;
}
.amount-sub {
  margin: 16px 0 0;
  font-size: 16px;
  text-align: center;
  color: rgba(239, 230, 218, .8);
}
.ticket-label {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-align: center;
  color: var(--ink-70);
}

.ways {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.way {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px 8px;
  border-radius: 12px;
  background: rgba(181, 165, 148, .16);
  text-align: center;
}
.way .icon { width: 28px; height: 28px; margin-bottom: 2px; }
.way b { font-size: 16px; }
.way span { font-size: 13px; line-height: 1.3; color: var(--ink-70); }

.arrow {
  position: absolute;
  z-index: 3;
  top: -64px;
  right: 6px;
  width: 26px;
  transform: rotate(-24deg);
  animation: arrow-in .9s var(--ease-out) 1.1s both;
}

.section { margin-top: 30px; }
.section > .eyebrow { display: block; margin-bottom: 14px; text-align: center; }

.how { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.how li { display: grid; grid-template-columns: 38px 1fr; gap: 12px; align-items: start; }
.how .num {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-weight: 800;
}
.how b { display: block; font-size: 17px; }
.how span { font-size: 15px; color: var(--ink-70); }

.terms { margin: 0; padding: 0; list-style: none; font-size: 14px; line-height: 1.45; }
.terms li { padding-left: 18px; position: relative; margin-bottom: 6px; }
.terms li::before { content: "–"; position: absolute; left: 0; }

.cta-bar {
  position: sticky;
  bottom: calc(env(safe-area-inset-bottom) + 12px);
  z-index: 5;
  margin-top: 28px;
}
.cta-bar .btn { box-shadow: 0 12px 26px -10px rgba(33, 32, 31, .55); }

.foot {
  margin-top: auto;
  padding-top: 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}
.foot .logo { width: 170px; }
.foot nav { display: flex; gap: 20px; }
.foot nav a,
.foot button.linkish { display: inline-flex; align-items: center; min-height: 44px; }
.foot button.linkish { background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: 13px; }

.consent .link-btn { display: inline; min-height: 0; font-size: inherit; }

.form { display: grid; gap: 16px; }
.field-label { font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }

.input {
  width: 100%;
  min-height: 60px;
  padding: 0 16px;
  border: 1.5px solid var(--ink);
  border-radius: 10px;
  background: rgba(255, 255, 255, .92);
  font-size: 22px;
  transition: box-shadow .2s, border-color .2s;
}
.input:focus { outline: none; box-shadow: 0 0 0 4px rgba(33, 32, 31, .16); }

.secret-input {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .32em;
  font-weight: 700;
  font-size: 26px;
}

.secret-hint {
  display: grid;
  justify-items: center;
  gap: 2px;
  margin: 4px auto 6px;
  padding: 14px 22px;
  border: 1.5px dashed var(--ink);
  border-radius: 10px;
  width: max-content;
}
.secret-hint b { font-weight: 800; font-stretch: 80%; letter-spacing: .04em; font-size: 18px; }
.secret-hint span { letter-spacing: .3em; }

.phone {
  display: flex;
  align-items: stretch;
  border: 1.5px solid var(--ink);
  border-radius: 10px;
  background: rgba(255, 255, 255, .92);
  overflow: hidden;
  transition: box-shadow .2s;
}
.phone:focus-within { box-shadow: 0 0 0 4px rgba(33, 32, 31, .16); }
.phone__cc {
  display: grid;
  place-items: center;
  padding: 0 14px;
  border-right: 1.5px solid var(--ink-12);
  font-size: 20px;
  font-weight: 700;
}
.phone .input { border: 0; border-radius: 0; background: transparent; box-shadow: none; letter-spacing: .04em; }

.consent {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 12px;
  align-items: start;
  font-size: 14px;
  line-height: 1.45;
  cursor: pointer;
}
.consent input {
  appearance: none;
  -webkit-appearance: none;
  width: 26px;
  height: 26px;
  margin: 0;
  border: 1.5px solid var(--ink);
  border-radius: 6px;
  background: rgba(255, 255, 255, .92) center / 16px no-repeat;
  cursor: pointer;
  transition: background-color .2s, transform .2s var(--ease-spring);
}
.consent input:checked {
  background-color: var(--ink);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3L13 4.5' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  transform: scale(1.06);
}
.consent input:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }

.msg {
  min-height: 1.4em;
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
}
.msg:empty { min-height: 0; }

.shake { animation: shake .45s cubic-bezier(.36, .07, .19, .97) both; }

.ok-check {
  width: 64px;
  height: 64px;
  margin: 6px auto 0;
  color: var(--ink);
}
.ok-check circle, .ok-check path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ok-check circle { stroke-dasharray: 160; stroke-dashoffset: 160; animation: draw .55s var(--ease-out) forwards; }
.ok-check path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .35s var(--ease-out) .35s forwards; }

.otp { position: relative; height: 66px; }
.otp__input {
  position: absolute;
  inset: 0;
  width: 100%;
  border: 0;
  background: transparent;
  color: transparent;
  caret-color: transparent;
  font-size: 16px;
  outline: none;
  z-index: 2;
}
.otp__boxes {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  height: 100%;
  pointer-events: none;
}
.otp__boxes span {
  display: grid;
  place-items: center;
  border: 1.5px solid var(--ink);
  border-radius: 10px;
  background: rgba(255, 255, 255, .92);
  font-size: 30px;
  font-weight: 800;
  transition: transform .2s var(--ease-spring), box-shadow .2s;
}
.otp__boxes span.filled { animation: pop .25s var(--ease-spring); }
.otp:focus-within .otp__boxes span.active { box-shadow: 0 0 0 4px rgba(33, 32, 31, .16); }
.otp:focus-within .otp__boxes span.active::after {
  content: "";
  width: 2px;
  height: 30px;
  background: var(--ink);
  animation: blink 1s steps(1) infinite;
}

.suggest {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .85);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-size: 15px;
  cursor: pointer;
  box-shadow: 0 6px 16px -8px rgba(33, 32, 31, .5);
  animation: rise .5s var(--ease-spring) both;
}
.suggest b { letter-spacing: .12em; }

.row-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }

.sms {
  position: fixed;
  top: calc(env(safe-area-inset-top) + 8px);
  left: 50%;
  z-index: 50;
  width: min(420px, calc(100% - 16px));
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  padding: 12px 14px;
  border: 0;
  border-radius: 20px;
  background: rgba(246, 244, 241, .82);
  -webkit-backdrop-filter: blur(22px) saturate(1.6);
  backdrop-filter: blur(22px) saturate(1.6);
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .35);
  color: #111;
  text-align: left;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  cursor: pointer;
  transform: translate(-50%, calc(-100% - 30px));
  transition: transform .6s var(--ease-spring);
}
.sms.in { transform: translate(-50%, 0); }
.sms[hidden] { display: none; }
.sms__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #34c759;
  display: grid;
  place-items: center;
}
.sms__icon svg { width: 24px; height: 24px; }
.sms__meta { display: flex; justify-content: space-between; font-size: 12px; color: #6b6b6b; }
.sms__from { display: block; font-weight: 600; font-size: 15px; }
.sms__text { display: block; font-size: 15px; line-height: 1.35; word-break: break-word; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(181, 165, 148, .22);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
}
.pill .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #2f7d4a;
  animation: live 1.8s ease-out infinite;
}
.pill.is-done .dot { background: var(--ink); animation: none; }
.pill-row { display: flex; justify-content: center; margin-top: 14px; }
.plaque .pill-row { position: relative; z-index: 2; margin-top: 18px; }
.plaque .pill { background: rgba(239, 230, 218, .1); color: #efe6da; }
.plaque .pill.is-done .dot { background: #efe6da; }

.seg {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 4px;
  border-radius: 12px;
  background: rgba(181, 165, 148, .22);
  margin-bottom: 18px;
}
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  border-radius: 9px;
}
.seg label .icon { width: 20px; height: 20px; }
.seg input:focus-visible + label { outline: 2px solid var(--ink); outline-offset: -2px; }
.seg__ind {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 4px);
  border-radius: 9px;
  background: var(--white);
  box-shadow: 0 2px 8px rgba(33, 32, 31, .18);
  transition: transform .5s var(--ease-spring);
}
.seg:has(#way-online:checked) .seg__ind { transform: translateX(100%); }

.panel { display: grid; justify-items: center; gap: 12px; text-align: center; }
.panel[hidden] { display: none; }
.panel.enter { animation: rise .45s var(--ease-out) both; }

.qr {
  width: min(240px, 72vw);
  aspect-ratio: 1;
  padding: 6px;
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 0 0 1.5px var(--ink-12);
  transition: opacity .6s, filter .6s;
}
.qr svg { width: 100%; height: 100%; }

.code {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: .12em;
  font-variant-numeric: tabular-nums;
}
.code--big {
  font-size: clamp(22px, 7vw, 28px);
  padding: 14px 16px;
  border: 1.5px dashed var(--ink);
  border-radius: 10px;
  width: 100%;
  transition: opacity .6s, filter .6s;
}

.voucher-note { margin-top: 22px; text-align: center; }

.stamp {
  position: absolute;
  top: 46%;
  left: 50%;
  z-index: 4;
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 12px 22px 10px;
  border: 4px solid var(--ink);
  border-radius: 10px;
  box-shadow: inset 0 0 0 3px var(--white), inset 0 0 0 5px var(--ink);
  color: var(--ink);
  background: rgba(255, 255, 255, .55);
  text-transform: uppercase;
  pointer-events: none;
  filter: url(#ink-rough);
  transform: translate(-50%, -50%) rotate(-11deg);
  animation: stamp .55s var(--ease-out) both;
}
.stamp b { font-size: 34px; font-weight: 900; font-stretch: 85%; letter-spacing: .14em; line-height: 1; }
.stamp span { font-size: 12px; font-weight: 700; letter-spacing: .14em; }
.stamp.static { animation: none; }

.is-redeemed .qr,
.is-redeemed .code--big { opacity: .16; filter: grayscale(1) blur(1.5px); }
.is-redeemed .seg { opacity: .4; pointer-events: none; }
.is-redeemed .copy-row,
.is-redeemed .shop-link { visibility: hidden; }
.thud { animation: thud .5s var(--ease-out) .18s; }

.burst { position: fixed; left: 50%; top: 42%; z-index: 40; pointer-events: none; }
.burst svg {
  position: absolute;
  width: 14px;
  height: 20px;
  margin: -10px 0 0 -7px;
  color: var(--ink);
  animation: fly 1.4s var(--ease-out) forwards;
}

.dummy {
  position: fixed;
  top: calc(env(safe-area-inset-top) + 6px);
  right: 6px;
  z-index: 60;
  font-size: 13px;
}
.dummy summary {
  list-style: none;
  padding: 5px 10px;
  font-size: 11px;
  border-radius: 999px;
  background: var(--draft);
  color: #fff;
  font-weight: 700;
  letter-spacing: .06em;
  cursor: pointer;
  box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .45);
}
.dummy summary::-webkit-details-marker { display: none; }
.dummy__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  display: grid;
  gap: 2px;
  min-width: 230px;
  padding: 8px;
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, .45);
}
.dummy__menu a, .dummy__menu label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
}
.dummy__menu a:hover, .dummy__menu label:hover { background: rgba(181, 165, 148, .2); }

dialog.sheet-dialog {
  width: min(480px, 100%);
  max-height: 86dvh;
  margin: auto auto 0;
  padding: 26px 22px calc(env(safe-area-inset-bottom) + 22px);
  border: 0;
  border-radius: 22px 22px 0 0;
  background: #f4efe8;
  color: var(--ink);
  font-size: 15px;
}
dialog.sheet-dialog[open] { animation: sheet-up .45s var(--ease-out); }
dialog.sheet-dialog::backdrop { background: rgba(33, 32, 31, .45); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
dialog.sheet-dialog h2 { font-family: var(--serif); font-weight: 700; font-size: 28px; margin: 0 0 12px; }
dialog.sheet-dialog h3 { font-size: 15px; margin: 18px 0 4px; letter-spacing: .04em; text-transform: uppercase; }
dialog.sheet-dialog p { margin: 0 0 8px; }
dialog.sheet-dialog { overflow-y: auto; overscroll-behavior: contain; }
.sheet-x {
  position: sticky;
  top: 0;
  float: right;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: -12px -8px 0 8px;
  border: 0;
  border-radius: 50%;
  background: rgba(33, 32, 31, .08);
  color: var(--ink);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}
.sheet-x:focus { outline: none; }
.sheet-x:focus-visible { box-shadow: 0 0 0 2px var(--ink); }

.reveal { animation: rise .7s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 80ms + 60ms); }
.enter { animation: rise .45s var(--ease-out) both; }

body[data-kind="sticker"] .ticket-wrap.reveal {
  transform-origin: 50% 0;
  animation: peel 1.1s var(--ease-spring) .3s both;
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .scroll-in {
      animation: rise linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 28%;
    }
  }
}

#stage.is-leaving > * { animation: leave .22s var(--ease-out) forwards; pointer-events: none; }

@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
@keyframes drop-in { from { opacity: 0; transform: translateY(-28px) rotate(-8deg) scale(.92); } }
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-6px) rotate(1.5deg); }
}
@keyframes peel {
  from { opacity: 0; transform: perspective(900px) rotateX(-78deg) translateY(-24px); }
  60% { opacity: 1; }
}
@keyframes arrow-in { from { opacity: 0; transform: translate(10px, -14px) rotate(-30deg); } }
@keyframes shake {
  10%, 90% { transform: translateX(-2px); }
  20%, 80% { transform: translateX(4px); }
  30%, 50%, 70% { transform: translateX(-8px); }
  40%, 60% { transform: translateX(8px); }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { 50% { transform: scale(1.1); } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes live {
  0% { box-shadow: 0 0 0 0 rgba(47, 125, 74, .55); }
  100% { box-shadow: 0 0 0 10px rgba(47, 125, 74, 0); }
}
@keyframes stamp {
  0% { opacity: 0; transform: translate(-50%, -50%) rotate(-24deg) scale(2.6); }
  70% { opacity: 1; transform: translate(-50%, -50%) rotate(-9deg) scale(.94); }
  100% { opacity: 1; transform: translate(-50%, -50%) rotate(-11deg) scale(1); }
}
@keyframes thud {
  30% { transform: translateY(4px) scale(.99); }
  60% { transform: translateY(-2px); }
}
@keyframes fly {
  0% { opacity: 1; transform: translate(0, 0) rotate(0) scale(.3); }
  65% { opacity: 1; transform: translate(var(--dx), var(--dy)) rotate(var(--rot)) scale(1); }
  100% { opacity: 0; transform: translate(calc(var(--dx) * 1.15), calc(var(--dy) + 140px)) rotate(calc(var(--rot) * 1.4)) scale(.9); }
}
@keyframes sheet-up { from { transform: translateY(100%); } }
@keyframes leave { to { opacity: 0; transform: translateX(-24px); } }
@keyframes guilloche { to { background-position: 240px 50%; } }
@keyframes glint {
  0% { transform: translateX(-110%); }
  24%, 100% { transform: translateX(110%); }
}
@keyframes foil {
  0% { background-position: 100% 0; }
  26%, 100% { background-position: 0 0; }
}
@keyframes rule-in { from { opacity: 0; transform: scaleX(0); } }
@keyframes value-in { from { opacity: 0; transform: translateY(16px) scale(.92); filter: blur(12px); } }
@keyframes cur-in { from { opacity: 0; transform: translate(-12px, 8px) rotate(-14deg); } }
