/* ==================================================================
   Anniversary Surprise — style.css
   1. Tokens        4. Lock          7. Hero        10. Canvas / audio
   2. Reset         5. Reveal        8. Letter      11. Responsive
   3. Screens       6. Envelope      9. Wish        12. Reduced motion
   ================================================================== */

/* ---------- 1. Tokens -------------------------------------------- */
:root {
  /* anniversary palette — deep red backdrop, gold/cream accents */
  --plum-deep:  #4A0404;   /* page background - deep burgundy */
  --plum:       #8B0000;   /* envelope body, headings on cream - dark red */
  --plum-dark:  #660000;   /* envelope flap, second title line - deeper red */
  --lilac:      #C9A2E8;   /* keypad, cake tier */
  --teal:       #35C2A8;   /* accent */
  --coral:      #FF7A6B;   /* ribbon, candle stripes, accent */
  --cream:      #F6EEDC;   /* card and letter paper */
  --gold:       #F2B441;   /* wax seal, eyebrow, accents on dark */
  --ink:        #2E2340;   /* letter body text */
  --night:      #0B0714;   /* wish screen */

  --flame-core: #FFF6C9;
  --flame-mid:  #FFC24B;
  --flame-tip:  #FF7A59;

  --script: "Great Vibes", "Snell Roundhand", cursive;
  --hand:   "Caveat", "Segoe Script", cursive;
  --ui:     "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --pad: clamp(1.25rem, 4vw, 3rem);
  --ease-spring: cubic-bezier(.2, .8, .25, 1);
}

/* ---------- 2. Reset --------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--ui);
  color: var(--cream);
  background: var(--plum-deep);
  transition: background-color .9s ease;
  overflow-x: hidden;
}

body[data-screen="wish"]              { background: var(--night); }
body[data-screen="wish"].celebrate    { background: var(--plum); }
body[data-screen="hero"]              { background: var(--ink); }

img { max-width: 100%; display: block; }

/* author `display` rules would otherwise out-rank the UA's [hidden] rule */
[hidden] { display: none !important; }

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  border: 0;
  background: none;
}

:focus-visible {
  outline: 3px solid var(--cream);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ---------- 3. Screens ------------------------------------------- */
#stage { position: relative; }

.screen {
  display: none;
  min-height: 100dvh;
  padding: var(--pad);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 3vw, 2rem);
}

.screen.is-active { display: flex; }

/* ---------- 4. Lock ---------------------------------------------- */
.lock-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.75rem, 5vw, 4.5rem);
  align-items: center;
  justify-items: center;
  width: 100%;
  max-width: 880px;
}

/* --- polaroid --- */
.polaroid {
  position: relative;
  margin: 0;
  padding: 14px 14px 56px;
  background: #fff;
  border-radius: 2px;
  transform: rotate(-4deg);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .38);
  width: min(300px, 68vw);
}

.polaroid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #e7ded0 repeating-linear-gradient(
    135deg, rgba(0,0,0,.035) 0 12px, transparent 12px 24px);
}

.polaroid figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 12px;
  text-align: center;
  font-family: var(--script);
  font-size: 1.5rem;
  line-height: 1;
  /* plum, not gold — gold on the white polaroid frame is barely 2:1 */
  color: var(--plum);
}

/* decorative ribbon bow, top-left corner */
.bow {
  position: absolute;
  top: -14px; left: -14px;
  width: 46px; height: 46px;
  z-index: 2;
}
.bow::before, .bow::after {
  content: "";
  position: absolute;
  top: 12px;
  width: 22px; height: 20px;
  background: var(--coral);
  box-shadow: inset 0 0 6px rgba(0, 0, 0, .18);
}
.bow::before { left: 0;  border-radius: 60% 20% 60% 20%; transform: rotate(-14deg); }
.bow::after  { left: 17px; border-radius: 20% 60% 20% 60%; transform: rotate(14deg); }

/* --- panel --- */
.lock-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
}

.lock-glyph { width: 34px; height: 34px; color: var(--cream); opacity: .9; }

.label {
  margin: 0;
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .22em;
  opacity: .82;
}

.dots { display: flex; gap: 12px; }

.dot {
  width: 26px; height: 32px;
  border: 1.5px solid rgba(246, 238, 220, .45);
  border-radius: 5px;
  background: rgba(0, 0, 0, .12);
  transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
}

.dot.filled {
  background: var(--cream);
  border-color: var(--cream);
  transform: translateY(-2px);
}

.dots.shake { animation: shake .5s ease; }

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%      { transform: translateX(-9px); }
  40%      { transform: translateX(9px); }
  60%      { transform: translateX(-6px); }
  80%      { transform: translateX(3px); }
}

.keypad {
  display: grid;
  grid-template-columns: repeat(3, 62px);
  gap: 16px;
  transition: opacity .4s ease;
}

.keypad.fade-out { opacity: 0; pointer-events: none; }

.key {
  width: 62px; height: 62px;
  border-radius: 50%;
  background: var(--lilac);
  color: #33204F;
  font-size: 1.4rem;
  font-weight: 500;
  display: grid;
  place-items: center;
  transition: transform .12s ease, filter .12s ease;
  -webkit-tap-highlight-color: transparent;
}

.key:hover  { filter: brightness(1.07); }
.key:active { transform: scale(.9); filter: brightness(.94); }
.key.is-dot { color: #33204F; opacity: .85; }

.hint {
  margin: .25rem 0 0;
  max-width: 26ch;
  text-align: center;
  font-family: var(--hand);
  font-size: 1.2rem;
  color: var(--gold);
  opacity: 0;
  transition: opacity .6s ease;
}
.hint.show { opacity: 1; }

/* ---------- 5. Reveal -------------------------------------------- */
#reveal { cursor: pointer; }

.reveal-code {
  margin: 0;
  font-size: clamp(2.4rem, 9vw, 5rem);
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--cream);
  text-align: center;
  opacity: 0;
  transform: scale(.6);
}

#reveal.is-active .reveal-code {
  animation: spring-in .6s var(--ease-spring) forwards;
}

@keyframes spring-in {
  to { opacity: 1; transform: scale(1); }
}

/* ---------- 6. Envelope ------------------------------------------ */
.env-card {
  width: min(460px, 100%);
  padding: clamp(1.75rem, 5vw, 2.75rem) clamp(1.25rem, 4vw, 2rem) clamp(1.5rem, 4vw, 2.25rem);
  background: var(--cream);
  border-radius: 4px;
  box-shadow: 0 26px 60px rgba(0, 0, 0, .4);
  text-align: center;
  animation: bob 6s ease-in-out infinite;
}

@keyframes bob {
  0%, 100% { transform: translateY(-8px); }
  50%      { transform: translateY(8px); }
}

.env-title {
  margin: 0 0 clamp(1.25rem, 4vw, 2rem);
  font-family: var(--script);
  font-weight: 400;
  color: var(--plum);
  line-height: 1.05;
}
.env-title .line-1 { display: block; font-size: clamp(2rem, 7vw, 2.9rem); }
.env-title .line-2 { display: block; font-size: clamp(2.4rem, 9vw, 3.6rem); color: var(--plum-dark); }

.envelope {
  position: relative;
  width: min(230px, 62vw);
  aspect-ratio: 3 / 2;
  margin: 0 auto;
  perspective: 900px;
}

.env-body {
  position: absolute;
  inset: 0;
  background: var(--plum);
  border-radius: 3px;
  box-shadow: 0 12px 26px rgba(0, 0, 0, .28), inset 0 0 0 1px rgba(0, 0, 0, .08);
  /* the two lower creases */
  background-image:
    linear-gradient(to bottom right, transparent 49.4%, rgba(0,0,0,.12) 49.6% 50.4%, transparent 50.6%),
    linear-gradient(to bottom left,  transparent 49.4%, rgba(0,0,0,.12) 49.6% 50.4%, transparent 50.6%);
  z-index: 3;
}

.flap {
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 0;
  border-left: calc(min(230px, 62vw) / 2) solid transparent;
  border-right: calc(min(230px, 62vw) / 2) solid transparent;
  border-top: calc(min(230px, 62vw) / 3) solid var(--plum-dark);
  transform-origin: top center;
  transform: rotateX(0deg);
  transition: transform .7s cubic-bezier(.34, 1.3, .44, 1);
  z-index: 4;
}

.envelope.open .flap { transform: rotateX(180deg); z-index: 1; }

.seal {
  position: absolute;
  top: calc(min(230px, 62vw) / 3);
  left: 50%;
  width: 46px; height: 46px;
  margin: -23px 0 0 -23px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #F9D68F, var(--gold) 62%, #B07C1E);
  box-shadow: inset 0 -3px 6px rgba(0,0,0,.35), inset 0 3px 6px rgba(255,255,255,.35), 0 4px 10px rgba(0,0,0,.35);
  color: #6B4A15;
  font-size: 1.1rem;
  display: grid;
  place-items: center;
  z-index: 6;
  transition: transform .2s ease;
}
.seal:hover  { transform: scale(1.07); }
.seal:active { transform: scale(.94); }
.envelope.open .seal { opacity: 0; transition: opacity .4s ease .1s; pointer-events: none; }

/* the little card that slides up out of the pocket */
.env-letter {
  position: absolute;
  left: 8%;
  bottom: 6%;
  width: 84%;
  height: 78%;
  padding: 14px 12px;
  background: var(--cream);
  border-radius: 2px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .3);
  transform: translateY(0);
  transition: transform .5s var(--ease-spring);
  z-index: 2;
}
.env-letter span {
  display: block;
  height: 5px;
  margin-bottom: 9px;
  border-radius: 3px;
  background: rgba(46, 35, 64, .18);
}
.env-letter span:nth-child(2) { width: 78%; }
.env-letter span:nth-child(3) { width: 88%; }
.env-letter span:nth-child(4) { width: 54%; }

.envelope.slide .env-letter { transform: translateY(-64%); }

.env-note {
  margin: clamp(1.25rem, 4vw, 1.9rem) 0 0;
  font-size: .78rem;
  letter-spacing: .1em;
  color: rgba(46, 35, 64, .62);
}

/* ---------- 7. Hero ---------------------------------------------- */
#hero {
  background:
    linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.55)),
    var(--hero-img, linear-gradient(160deg, #55338C, #241A3C)) center / cover no-repeat;
  text-align: center;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(.75rem, 2.5vw, 1.35rem);
  max-width: 34ch;
}

.eyebrow {
  margin: 0;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero-title {
  margin: 0;
  font-family: var(--script);
  font-weight: 400;
  font-size: clamp(2.6rem, 8vw, 5rem);
  line-height: 1.06;
  color: var(--cream);
  text-shadow: 0 4px 22px rgba(0, 0, 0, .45);
}

.hero-lines {
  font-family: var(--hand);
  font-size: clamp(1.15rem, 3.4vw, 1.5rem);
  line-height: 1.5;
  opacity: .85;
}

.ghost-btn {
  margin-top: .5rem;
  padding: .8rem 1.9rem;
  border: 1.5px solid var(--cream);
  border-radius: 999px;
  background: transparent;
  color: var(--cream);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  transition: background-color .25s ease, color .25s ease;
}
.ghost-btn:hover { background: var(--cream); color: var(--plum-deep); }

/* staggered rise-in */
.rise { opacity: 0; transform: translateY(16px); }

#hero.is-active .rise { animation: rise-in .7s var(--ease-spring) forwards; }
#hero.is-active .rise:nth-child(1) { animation-delay: .05s; }
#hero.is-active .rise:nth-child(2) { animation-delay: .17s; }
#hero.is-active .rise:nth-child(3) { animation-delay: .29s; }
#hero.is-active .rise:nth-child(4) { animation-delay: .41s; }

@keyframes rise-in {
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- 8. Letter -------------------------------------------- */
#letter { justify-content: flex-start; padding-top: clamp(2rem, 6vw, 4rem); }

.letter-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  width: 100%;
  max-width: 1000px;
}

.paper {
  position: relative;
  padding: clamp(2.25rem, 6vw, 3.25rem) clamp(1.5rem, 5vw, 3rem);
  background: var(--cream);
  color: var(--ink);
  box-shadow: 0 22px 50px rgba(0, 0, 0, .35);
}

/* torn top and bottom edges */
.paper::before, .paper::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 12px;
  background:
    repeating-conic-gradient(from -45deg at 50% 0,
      var(--cream) 0 25%, transparent 0 50%) 0 0 / 22px 24px;
}
.paper::before { top: -11px; transform: scaleY(-1); }
.paper::after  { bottom: -11px; }

/* little doodled party balloons down both margins — an oval body drawn by
   ::before, a curling string by ::after. Each .dN sets its own `color`, so
   the pair reads as one balloon in one ink. */
.doodle {
  position: absolute;
  width: 22px; height: 42px;
  opacity: .5;
  pointer-events: none;
}
.doodle::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 22px; height: 27px;
  background: currentColor;
  border-radius: 50% 50% 46% 46% / 55% 55% 45% 45%;
}
.doodle::after {
  content: "";
  position: absolute;
  top: 26px; left: 9px;
  width: 8px; height: 15px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  border-radius: 0 0 0 9px;
}

/* kept inside the paper's own padding — out on --plum-deep these would sink
   into the background — and tight to the edge, because at the narrow end of
   the padding clamp there is only ~24px of margin to sit in */
.d1 { top: 6%;  left: 4px;   color: var(--plum);  transform: rotate(-14deg) scale(.85); }
.d2 { top: 33%; left: 4px;   color: var(--coral); transform: rotate(9deg)   scale(.7); }
.d3 { top: 72%; left: 4px;   color: var(--teal);  transform: rotate(-5deg)  scale(.95); }
.d4 { top: 6%;  right: 4px;  color: var(--coral); transform: rotate(17deg)  scale(.7); }
.d5 { top: 33%; right: 4px;  color: var(--teal);  transform: rotate(-8deg)  scale(.95); }
.d6 { top: 72%; right: 4px;  color: var(--plum);  transform: rotate(6deg)   scale(.8); }

.paper-head { text-align: center; margin-bottom: clamp(1.25rem, 4vw, 2rem); }

.paper-eyebrow {
  margin: 0;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: rgba(46, 35, 64, .6);
}

.paper-script {
  margin: 0;
  font-family: var(--script);
  font-size: clamp(2.6rem, 8vw, 3.6rem);
  line-height: 1;
  color: var(--plum);
}

.paper-body { font-family: var(--hand); font-size: 1.15rem; line-height: 1.9; }
.paper-body p { margin: 0 0 1.15em; }
.paper-body p:last-child { margin-bottom: 0; }

.signoff {
  margin: clamp(1.5rem, 4vw, 2.25rem) 0 0;
  text-align: right;
  font-family: var(--script);
  font-size: clamp(1.8rem, 5vw, 2.4rem);
  line-height: 1;
  color: var(--plum);
}

.strip { display: flex; flex-direction: column; gap: 12px; }

.strip img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 6px solid #fff;
  box-shadow: 0 12px 26px rgba(0, 0, 0, .32);
  background: #e7ded0;
}
.strip img:nth-child(odd)  { transform: rotate(-1.5deg); }
.strip img:nth-child(even) { transform: rotate(1.5deg); }

.tap-line {
  margin: clamp(2rem, 5vw, 3rem) 0 clamp(1rem, 3vw, 2rem);
  padding: .5rem 1rem;
  font-family: var(--hand);
  font-size: 1.25rem;
  color: var(--cream);
  opacity: .8;
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: .45; }
  50%      { opacity: 1; }
}

/* ---------- 9. Wish ---------------------------------------------- */
.wish-title {
  margin: 0;
  font-family: var(--script);
  font-weight: 400;
  font-size: clamp(2.2rem, 7vw, 3.4rem);
  color: var(--cream);
}

/* the candles are absolutely positioned above the cake and sit outside the
   flow, so the top padding is what keeps them from running into the title */
.cake-wrap { position: relative; display: grid; place-items: center; padding: 5.5rem 0 0; }

.glow {
  position: absolute;
  top: -6%;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(255, 194, 75, .38) 0%, rgba(255, 194, 75, .1) 42%, transparent 68%);
  transition: opacity 1s ease;
  pointer-events: none;
}
.glow.out { opacity: 0; }

.cake { position: relative; width: min(280px, 78vw); }

.tier {
  position: relative;
  margin: 0 auto;
  border-radius: 8px 8px 6px 6px;
  box-shadow: inset 0 -8px 16px rgba(0, 0, 0, .12);
}

/* scalloped frosting drip along the top of each tier */
.tier::before {
  content: "";
  position: absolute;
  top: -9px; left: 0; right: 0;
  height: 18px;
  background:
    radial-gradient(circle at 11px 0, currentColor 10px, transparent 10.5px) 0 0 / 22px 18px repeat-x;
}

.tier-top {
  width: 68%;
  height: 62px;
  background: var(--cream);
  color: var(--cream);
}

.tier-bottom {
  width: 100%;
  height: 86px;
  background: var(--lilac);
  color: var(--lilac);
  margin-top: 2px;
}

.plate {
  width: 116%;
  height: 12px;
  /* wider than its container, so `auto` margins collapse to 0 and it would
     hang off the right — pull it back by half the overhang instead */
  margin: 4px 0 0 -8%;
  border-radius: 0 0 40% 40% / 0 0 100% 100%;
  background: rgba(246, 238, 220, .28);
}

.candles {
  position: absolute;
  bottom: 100%;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 22px;
  padding-bottom: 4px;
}

.candle {
  position: relative;
  width: 10px;
  height: 44px;
  border-radius: 3px;
  background: repeating-linear-gradient(
    -45deg, var(--cream) 0 5px, var(--coral) 5px 10px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, .3);
}

.wick {
  position: absolute;
  left: 50%; top: -5px;
  width: 2px; height: 6px;
  margin-left: -1px;
  background: #3A2A22;
  border-radius: 1px;
}

.flame {
  position: absolute;
  left: 50%; bottom: 100%;
  width: 13px; height: 22px;
  margin: 0 0 3px -6.5px;
  background: radial-gradient(circle at 50% 78%,
    var(--flame-core) 0 18%, var(--flame-mid) 45%,
    var(--flame-tip) 78%, transparent 100%);
  border-radius: 50% 50% 46% 46% / 68% 68% 32% 32%;
  transform-origin: 50% 100%;
  animation: flicker 1.15s ease-in-out infinite alternate;
  transition: transform .5s ease, opacity .5s ease;
}

@keyframes flicker {
  0%   { transform: scale(1)    translateX(0)     skewX(0deg);   opacity: .92; }
  35%  { transform: scale(1.08) translateX(.7px)  skewX(-3deg);  opacity: 1; }
  70%  { transform: scale(.95)  translateX(-.7px) skewX(3deg);   opacity: .96; }
  100% { transform: scale(1.05) translateX(.3px)  skewX(-1deg);  opacity: 1; }
}

.candle.out .flame {
  animation: none;
  transform: scale(0);
  opacity: 0;
}

.smoke {
  position: absolute;
  left: 50%; bottom: 100%;
  width: 6px; height: 6px;
  margin: 0 0 6px -3px;
  border-radius: 50%;
  background: rgba(230, 230, 230, .5);
  opacity: 0;
  pointer-events: none;
}
.candle.out .smoke { animation: wisp 1.6s ease-out forwards; }
.candle.out .smoke.s2 { animation-delay: .22s; }
.candle.out .smoke.s3 { animation-delay: .46s; }

@keyframes wisp {
  0%   { opacity: .55; transform: translate(0, 0) scale(.6); }
  60%  { opacity: .3;  transform: translate(7px, -30px) scale(1.5); }
  100% { opacity: 0;   transform: translate(-4px, -52px) scale(2.2); }
}

.wish-prompt {
  margin: 0;
  font-family: var(--hand);
  font-size: 1.2rem;
  opacity: .7;
  min-height: 1.6em;
  text-align: center;
  transition: opacity .5s ease;
}
.wish-prompt.gone { opacity: 0; }

.blow-btn { margin-top: 0; }

.relight {
  margin-top: .25rem;
  padding: .5rem 1rem;
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: .5;
  transition: opacity .25s ease;
}
.relight:hover { opacity: .9; }

/* ---------- 10. Canvas + audio pill ------------------------------ */
#fx {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 90;
  pointer-events: none;
}

.mute-pill {
  position: fixed;
  right: clamp(.9rem, 3vw, 1.5rem);
  bottom: clamp(.9rem, 3vw, 1.5rem);
  z-index: 100;
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .55rem .95rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, .42);
  backdrop-filter: blur(6px);
  color: var(--cream);
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: lowercase;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .3);
  transition: opacity .3s ease;
}
.mute-pill .note { font-size: .9rem; color: var(--gold); }
.mute-pill.muted { opacity: .45; }
.mute-pill.muted .note { color: rgba(246, 238, 220, .6); }

/* ---------- 11. Responsive --------------------------------------- */
@media (min-width: 900px) {
  .lock-grid   { grid-template-columns: 1fr 1fr; }
  .letter-grid { grid-template-columns: 1.4fr 1fr; align-items: start; }
  .polaroid    { width: min(330px, 100%); }
}

@media (max-width: 479px) {
  .keypad { grid-template-columns: repeat(3, 54px); gap: 13px; }
  .key    { width: 54px; height: 54px; font-size: 1.25rem; }
  .dot    { width: 22px; height: 28px; }
  .dots   { gap: 9px; }
  .candles { gap: 16px; }
}

/* ---------- 12. Reduced motion ----------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }

  .env-card { animation: none; transform: none; }
  .flame    { animation: none; }
  .tap-line { animation: none; opacity: .85; }
  .rise     { opacity: 1; transform: none; }
  .reveal-code { opacity: 1; transform: none; }
}
