/* ── FONTS ── */
@font-face {
  font-family: 'Lazy Dog';
  src: url('./assets/lazy_dog.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ── TOKENS ── */
:root {
  --bg:           #fef5ec;
  --bg-alt:       #ffefd8;
  --bg-card:      #fffaf5;
  --bg-sage:      #a9a95f;
  --bg-gold:      #f6dfa4;
  --text:         #251e01;
  --text-mid:     #72340b;
  --text-soft:    #8f6f60;
  --rose:         #904a40;
  --rose-dk:      #72340b;
  --coral:        #d37164;
  --salmon:       #e19c73;
  --peach:        #e09e7c;
  --blush:        #f1c4a7;
  --baby-pink:    #f7d4be;
  --cream:        #fee5bd;
  --milk-foam:    #ffefd8;
  --peridot:      #98ab7e;
  --oak:          #6c7340;
  --pine:         #575a3f;
  --spruce:       #304126;
  --eucalyptus:   #bdc0ab;
  --jade:         #c9cdb2;
  --bronze:       #9b7e56;
  --clay:         #be805b;
  --terracotta:   #8a4f31;
  --hot-coco:     #8f6f60;
  --milk-choc:    #855a47;
  --dark-choc:    #361414;
  --olive:        #a9a95f;
  --thyme:        #d8c583;

  --shadow:       0 4px 24px rgba(144, 74, 64, 0.10);
  --shadow-lg:    0 10px 48px rgba(144, 74, 64, 0.16);
  --r-card:       20px;
  --r-pill:       999px;
  --r-arch:       999px 999px 20px 20px;

  --ff-display:   'Lazy Dog', 'Playfair Display', Georgia, serif;
  --ff-body:      'Nunito', system-ui, sans-serif;
  --ff-accent:    'Dancing Script', cursive;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; background: var(--bg); }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--ff-body);
  line-height: 1.72;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rose); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--rose-dk); }

h1, h2, h3 { font-family: var(--ff-display); line-height: 1.18; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 4.5vw, 3.8rem); font-weight: 700; }
h2 { font-size: calc(clamp(1.7rem, 3vw, 2.6rem) + 10px); font-weight: 600; color: #72360c; }
h3 { font-size: clamp(1.1rem, 1.8vw, 1.4rem); font-weight: 600; color: #72360c; }
p  { max-width: 62ch; }

/* ── NAV ── */
.nav-wrap {
  position: fixed; top: 16px; left: 50%; transform: translateX(-50%);
  z-index: 200; width: 94%; max-width: 1220px;
}
.nav {
  position: relative;
  background: rgba(255, 239, 216, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-lg);
  padding: 0 150px 0 26px;
  height: 64px;
  -webkit-mask-image: radial-gradient(circle 54px at 50% 100%, transparent 99%, #000 100%);
  mask-image: radial-gradient(circle 54px at 50% 100%, transparent 99%, #000 100%);
}

.nav-badge {
  position: absolute; bottom: -20px; left: 50%; transform: translateX(-50%);
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--bg-card); border: 4px solid var(--bg);
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; z-index: 300;
}
.nav-badge img { width: 100%; height: 100%; object-fit: cover; }

/* ── NAV LOGO EASTER EGG ── */
.coin-burst {
  position: absolute; bottom: -20px; left: 50%; transform: translateX(-50%);
  width: 58px; height: 58px; pointer-events: none; z-index: 250;
}
.coin-pop {
  position: absolute; top: 50%; left: 50%; width: 33px; height: 33px;
  margin: -16.5px 0 0 -16.5px; border-radius: 50%;
  animation: coin-pop 2s ease-out forwards;
}
@keyframes coin-pop {
  0%   { transform: translate(-50%, -50%) scale(0); opacity: 0; }
  5%   { opacity: 1; }
  10%  { transform: translate(calc(-50% + var(--tx)), calc(-50% + var(--ty))) scale(1); opacity: 1; }
  85%  { transform: translate(calc(-50% + var(--tx)), calc(-50% + var(--ty))) scale(1); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .coin-pop { animation: none; display: none; }
}

.nav-links {
  position: absolute; top: 50%; transform: translate(-50%, -50%);
  display: flex; align-items: center; gap: 18px; list-style: none;
}
.nav-links:first-of-type { left: 25%; }
.nav-links:last-of-type { left: 75%; }
.nav-links a {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.01em;
  color: var(--text-soft); white-space: nowrap;
}
.nav-links a:hover { color: var(--rose); }
.nav-links a.active { color: var(--rose); font-weight: 800; }

.nav-actions {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  display: flex; align-items: center; gap: 10px;
}

.btn-alert {
  position: relative;
  background: var(--rose); color: #fff;
  padding: 9px 18px; border-radius: var(--r-pill);
  font-weight: 800; font-size: 0.82rem; font-family: var(--ff-body);
  border: none; cursor: pointer; display: inline-block;
  box-shadow: 0 4px 18px rgba(144, 74, 64, 0.3);
  transition: transform 0.15s, box-shadow 0.2s;
}
.btn-alert:hover { color: #fff; transform: translateY(-2px); }

/* ── BUTTONS ── */
.btn-rose {
  background: #a9a95f; color: var(--cream);
  padding: 11px 28px; border-radius: var(--r-pill);
  font-weight: 800; font-size: 0.95rem; font-family: var(--ff-body);
  border: 8px solid #6d752d; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
  box-shadow: 0 4px 18px rgba(144, 74, 64, 0.28);
  transition: background 0.2s, box-shadow 0.2s;
  text-decoration: none;
  animation: btn-breathe 2.1s ease-in-out infinite;
  transform-origin: center;
}
.btn-rose:hover {
  background: #969650; color: var(--cream);
  box-shadow: 0 8px 28px rgba(144, 74, 64, 0.36);
}
@keyframes btn-breathe {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.05); }
}
@media (prefers-reduced-motion: reduce) {
  .btn-rose { animation: none; }
}

.btn-text-link {
  font-weight: 800; font-size: 0.95rem; color: var(--text-mid);
  text-decoration: underline; text-underline-offset: 4px;
  display: inline-flex; align-items: center;
}
.btn-text-link:hover { color: var(--rose); }

/* ── WAVES ── */
.wave { width: 100%; overflow: hidden; line-height: 0; margin: -1px 0 -3px; position: relative; z-index: 1; }
.wave svg { display: block; width: 100%; }
/* Thin backstop strip in the next section's color, covering any
   subpixel rendering gap right at the seam. Set --seam-color inline
   per divider to match whatever section follows it. */
.wave::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 5px;
  background: var(--seam-color, transparent);
}

/* ── SHARED SECTION ── */
.section-inner { max-width: 1160px; margin: 0 auto; padding: 90px 5%; position: relative; z-index: 6; }
.learn .section-inner { max-width: 1230px; }
.section-inner.centered { text-align: center; }
.section-inner.centered h2 { margin: 0 auto; }
.section-inner.centered > p { margin-left: auto; margin-right: auto; }

.section-label {
  font-family: var(--ff-accent); font-size: 1.1rem;
  color: var(--coral); display: flex; align-items: center;
  gap: 10px; margin-bottom: 10px;
}
.section-inner.centered .section-label { justify-content: center; }

/* ── PAGE BANNER (for sub-pages) ── */
.page-banner {
  padding: 150px 6% 70px; text-align: center; background: var(--bg-alt);
}
.page-banner h1 { color: var(--dark-choc); margin-bottom: 10px; }
.page-banner p { color: var(--text-soft); max-width: 56ch; margin: 0 auto; }

/* ── CARD GRIDS (icon badges / chips) ── */
.card-grid {
  display: grid; gap: 10px; margin-top: 44px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.badge-card {
  border-radius: 22px; padding: 26px 20px;
  box-shadow: var(--shadow); transition: transform 0.2s, box-shadow 0.2s;
}
.badge-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.badge-card.c-rose  { background: #fee6c0; border: 8px solid #fed491; }
.badge-card.c-gold  { background: #d48d63; border: 8px solid #996647; }
.badge-card.c-sage  { background: var(--bg-sage); border: 8px solid #7a7a44; }
.badge-card.c-cream { background: #98a48c; border: 8px solid #6d7665; }

.badge-icon {
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,0.65); display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 12px;
}
.badge-title { font-family: var(--ff-display); font-weight: 700; font-size: 1.1rem; color: #72360c; margin-bottom: 6px; }
.badge-desc { font-size: 0.86rem; color: var(--text-mid); max-width: none; line-height: 1.5; }
.badge-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.badge-tags span {
  display: inline-block; width: fit-content; white-space: nowrap;
  background: rgba(255,255,255,0.65); border-radius: var(--r-pill);
  padding: 4px 11px; font-size: 0.72rem; font-weight: 700; color: var(--text-mid);
}

.level-tag {
  display: inline-block; background: #9b5b36; color: #fff;
  border-radius: var(--r-pill); padding: 4px 13px; font-size: 0.72rem; font-weight: 800;
  margin-bottom: 12px;
}

/* ── STEP / ARCH CARDS ── */
.step-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px; margin-top: 48px;
}
.step-card {
  border-radius: 26px; padding: 0 0 26px; overflow: hidden;
  box-shadow: var(--shadow); transition: transform 0.2s, box-shadow 0.2s;
}
.step-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.step-card.c-terracotta { background: var(--blush); }
.step-card.c-gold       { background: var(--bg-gold); }
.step-card.c-sage       { background: var(--jade); }
.step-card.c-cream      { background: var(--bg-card); }

.step-top {
  height: 88px; display: flex; align-items: center; justify-content: center;
  margin: 18px 18px 0; border-radius: var(--r-arch);
  background: rgba(255,255,255,0.55);
  font-size: 2rem;
}
.step-card h3 { color: var(--rose-dk); margin: 18px 22px 8px; font-size: 1.02rem; }
.step-card p { font-size: 0.89rem; color: var(--text-mid); max-width: none; margin: 0 22px; }

/* ── PROSE (home details) ── */
.prose-block { max-width: 680px; margin: 0 auto; text-align: center; }
.prose-lede {
  font-family: var(--ff-display); font-style: italic;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem); color: var(--rose);
  line-height: 1.5; margin: 0 auto 32px; max-width: 900px;
  text-align: center;
}
.prose-body {
  font-size: 1.04rem; color: var(--text-mid); line-height: 1.9;
  max-width: none; text-align: left;
}
.prose-body + .prose-body { margin-top: 20px; }

/* ── HOME HERO BANNER ── */
.home-hero {
  position: relative; padding-top: 0; margin-top: -50px;
  overflow: hidden;
}
.home-wave-strip {
  position: absolute; left: 0; right: 0; bottom: -1px; z-index: 2;
  line-height: 0; pointer-events: none;
}
.home-wave-strip svg { display: block; width: 100%; }
.home-banner {
  width: 100%; height: clamp(440px, 78vw, 880px); object-fit: cover;
  object-position: center 22%;
  cursor: pointer;
}
.home-hero-cta {
  position: absolute; left: 0; right: 0; bottom: 20px;
  display: flex; justify-content: center; z-index: 3;
}

/* ── CREATOR ── */
.creator-grid {
  display: grid; grid-template-columns: 320px 1fr;
  gap: 56px; align-items: start; margin-top: 48px;
}
.creator-copy h2 { margin-bottom: 20px; }
.creator-photo-wrap { position: relative; }
.creator-photo {
  position: relative; z-index: 2;
  width: 100%; max-width: 320px;
  aspect-ratio: 1 / 1.1; object-fit: cover; object-position: top;
  border-radius: var(--r-arch);
  border: 8px solid var(--blush); box-shadow: var(--shadow-lg);
}
.creator-photo-2 {
  position: absolute; z-index: 1;
  top: 68%; left: -62%; width: 115%; height: 78%;
  object-fit: cover; object-position: center 35%;
  border-radius: 8px;
  border: calc(8px / 1.4875) solid var(--salmon); box-shadow: var(--shadow-lg);
  transform: scale(1.4875); transform-origin: top right;
}
@media (max-width: 960px) {
  .creator-photo-2 {
    position: static; width: 100%; max-width: 400px; height: auto;
    aspect-ratio: 16 / 10; margin: 16px auto 0;
  }
}
.creator-blob { position: absolute; bottom: -24px; right: -24px; width: 90px; height: 90px; border-radius: 50%; background: var(--peridot); opacity: 0.22; z-index: -1; }
.creator-copy .eyebrow { font-family: var(--ff-accent); font-size: 1.2rem; color: var(--coral); display: block; margin-bottom: 4px; }
.creator-copy p { font-size: 1rem; color: var(--text-soft); line-height: 1.88; margin-bottom: 18px; }
.creator-copy p:last-child { margin-bottom: 0; }
.creator-copy em { color: var(--rose); font-style: italic; font-weight: 700; }

/* ── ALERT ME FORM ── */
.alert-band { background: linear-gradient(140deg, var(--rose) 0%, var(--terracotta) 100%); }
.alert-inner { max-width: 1100px; margin: 0 auto; padding: 90px 5%; position: relative; z-index: 6; }
.alert-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.alert-copy { text-align: left; }
.alert-inner .eyebrow { color: var(--blush); font-family: var(--ff-accent); font-size: 1.2rem; display: block; margin-bottom: 12px; }
.alert-inner h2 { color: #fff; margin-bottom: 14px; }
.alert-inner p.lede { color: rgba(255,255,255,0.82); margin: 0; font-size: 1.02rem; max-width: none; }

.alert-form { display: flex; flex-direction: column; gap: 12px; text-align: left; }
.form-row { display: flex; gap: 12px; flex-wrap: wrap; }
.form-row > * { flex: 1; min-width: 180px; }
.alert-field label {
  display: block; font-size: 0.78rem; font-weight: 800; color: rgba(255,255,255,0.85);
  margin-bottom: 6px;
}
.alert-input, .alert-select {
  width: 100%; padding: 13px 18px; border-radius: var(--r-pill);
  border: none; font-family: var(--ff-body); font-size: 0.94rem;
  background: rgba(255,255,255,0.94); color: var(--dark-choc); outline: none;
}
.alert-input:focus, .alert-select:focus { box-shadow: 0 0 0 3px rgba(255,255,255,0.35); }
.alert-input::placeholder { color: #b8a090; }

.btn-white {
  background: #fff; color: var(--rose);
  padding: 14px 22px; border-radius: var(--r-pill);
  font-weight: 800; font-size: 0.95rem; font-family: var(--ff-body);
  border: none; cursor: pointer; white-space: nowrap; margin-top: 6px;
  transition: transform 0.15s, box-shadow 0.2s;
}
.btn-white:hover { transform: scale(1.03); box-shadow: 0 4px 16px rgba(0,0,0,0.15); }
.alert-thanks { display: none; color: #fff; font-size: 1.05rem; font-weight: 700; margin-top: 12px; }

/* ── PRICING ── */
.pricing-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px; margin-top: 48px;
}
.price-card {
  background: var(--bg-card); border-radius: 24px; padding: 30px 26px;
  box-shadow: var(--shadow); border: 2px solid transparent;
  display: flex; flex-direction: column; gap: 10px;
}
.price-card.available { border-color: var(--coral); box-shadow: var(--shadow-lg); }
.price-card.locked { opacity: 0.55; }
.price-card.locked .price-val,
.price-card.locked .price-name { text-decoration: line-through; }
.price-badge {
  align-self: flex-start; background: var(--coral); color: #fff;
  font-size: 0.7rem; font-weight: 800; padding: 4px 12px; border-radius: var(--r-pill);
}
.price-badge.soon { background: var(--blush); color: var(--rose-dk); }
.price-name { font-weight: 800; font-size: 1.1rem; color: #72360c; }
.price-val { font-family: var(--ff-display); font-size: 2rem; font-weight: 700; color: var(--rose); }
.price-desc { font-size: 0.87rem; color: var(--text-soft); max-width: none; }

.price-contact {
  background: var(--dark-choc); color: rgba(254,245,236,0.85); border-radius: 24px;
  padding: 30px 30px; margin-top: 24px;
}
.price-contact h3 { color: var(--thyme); margin-bottom: 10px; }
.price-contact p { color: rgba(254,245,236,0.72); max-width: none; }
.price-contact a { color: var(--coral); font-weight: 800; text-decoration: underline; }

.price-guarantee {
  margin-top: 28px; padding: 20px 24px; border-radius: 16px;
  background: var(--bg-gold); font-size: 0.86rem; color: var(--text-mid); max-width: none;
}

/* ── FAQ ── */
.faq-grid { display: grid; grid-template-columns: 220px 1fr; gap: 48px; margin-top: 48px; align-items: start; }
.faq-cats { display: flex; flex-direction: column; gap: 8px; }
.faq-cat {
  padding: 12px 18px; border-radius: var(--r-pill); font-size: 0.85rem; font-weight: 800;
  color: var(--text-mid); background: var(--cream);
  border: none; font-family: var(--ff-body); cursor: pointer; text-align: left;
  transition: background 0.2s, color 0.2s;
}
.faq-cat:hover { background: #fff; }
.faq-cat.active { background: var(--dark-choc); color: #fff; }
.faq-cat.active:hover { background: var(--dark-choc); }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--bg-card); border-radius: 18px; padding: 4px 22px; box-shadow: var(--shadow); }
.faq-item summary {
  padding: 16px 0; cursor: pointer; font-weight: 800; font-size: 0.96rem;
  color: #72360c; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.3rem; color: var(--coral); flex-shrink: 0; transition: transform 0.2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { font-size: 0.88rem; color: var(--text-soft); padding-bottom: 18px; max-width: none; }

/* ── CAFE PAGE ── */
.cafe-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-top: 40px; overflow: visible; }
.cafe-hero img { max-width: 640px; width: 640px; margin: 0; }
.cafe-copy p { color: var(--rose); font-size: 1rem; line-height: 1.85; margin-top: 16px; max-width: none; }

/* ── FOOTER ── */
footer { background: var(--dark-choc); padding: 72px 7% 0; }
.footer-top { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 14px; }
.footer-logo { height: 100px; }
.footer-name { font-family: var(--ff-display); font-style: italic; font-size: 1.9rem; color: #d48d63; max-width: 460px; line-height: 1.3; display: block; }
.footer-blurb { font-size: 0.86rem; color: rgba(254,245,236,0.5); max-width: 30ch; }
.footer-col h5 { font-family: var(--ff-display); font-size: calc(1rem + 15px); font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: #ffefd8; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a, .footer-col span { font-size: 0.87rem; color: rgba(254,245,236,0.72); }
.footer-col a:hover { color: var(--coral); }
.footer-bottom { border-top: 1px solid rgba(254,245,236,0.1); max-width: 1160px; margin: 0 auto; padding: 22px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-copy { font-size: 0.8rem; color: var(--hot-coco); opacity: 0.6; }

/* ── SCROLL REVEAL ── */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .creator-grid { grid-template-columns: 1fr; }
  .creator-photo, .creator-photo-2 { max-width: 300px; }
  .creator-blob { display: none; }
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .cafe-hero { grid-template-columns: 1fr; text-align: center; }
  .cafe-hero img { width: 100%; max-width: 420px; margin: 0 auto; }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-cats { flex-direction: row; flex-wrap: wrap; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .alert-grid { grid-template-columns: 1fr; gap: 32px; }
  .alert-copy { text-align: center; }
}
@media (max-width: 600px) {
  .section-inner { padding: 64px 5%; }
  .page-banner { padding-top: 120px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-row { flex-direction: column; }
  .footer-top { grid-template-columns: 1fr; }
}

/* Shrinks from 100% at 1700px+ viewport down to 50% right at the
   1300px display cutoff, so the elements take up less room (and
   overlap text less) the narrower the window gets. */
:root {
  --decor-scale: clamp(0.3, calc(0.3 + ((100vw - 1300px) / 500px) * 0.7), 1);
}

/* ── DECORATIVE COINS ── */
.coin-decor {
  position: absolute; pointer-events: auto; cursor: pointer; z-index: 2;
  display: none;
  transform: rotate(var(--r, 0deg)) scale(var(--decor-scale, 1));
}
@media (min-width: 1300px) {
  .coin-decor { display: block; }
}

/* ── DECORATIVE OBJECTS (cat, coffee, etc) ── */
.object-decor {
  position: absolute; pointer-events: auto; cursor: pointer; z-index: 2;
  display: none;
  transform: rotate(var(--r, 0deg)) scale(var(--decor-scale, 1));
}
@media (min-width: 1300px) {
  .object-decor { display: block; }
}

/* click squish */
.coin-decor.squish, .object-decor.squish {
  animation: decor-squish 0.6s ease-in-out 2;
}
@keyframes decor-squish {
  0%, 100% { transform: rotate(var(--r, 0deg)) scale(var(--decor-scale, 1)) scale(1, 1); }
  20%      { transform: rotate(var(--r, 0deg)) scale(var(--decor-scale, 1)) scale(1.18, 0.8); }
  40%      { transform: rotate(var(--r, 0deg)) scale(var(--decor-scale, 1)) scale(0.85, 1.18); }
  60%      { transform: rotate(var(--r, 0deg)) scale(var(--decor-scale, 1)) scale(1.1, 0.9); }
  80%      { transform: rotate(var(--r, 0deg)) scale(var(--decor-scale, 1)) scale(0.95, 1.05); }
}
@media (prefers-reduced-motion: reduce) {
  .coin-decor.squish, .object-decor.squish { animation: none; }
}

/* ── GOLD COIN CURSOR ── */
html.coin-cursor-active * { cursor: none !important; }

#customCursor {
  position: fixed; top: 0; left: 0; width: 39px; height: 39px;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  will-change: transform;
  opacity: 0; transition: opacity 0.15s ease;
}
.cursor-trail {
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9998;
  width: 27px; height: 27px; border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: cursor-trail-fade 1.1s ease-out forwards;
}
@keyframes cursor-trail-fade {
  0%   { opacity: 0.75; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(0.25); }
}
