/* ideactum.com: Ida's games and stories, made by lantern light.
   Night colours, lantern gold, warm paper for her own pages. */
:root {
  --ink: #120c08;
  --night: #0c0f17;
  --night-2: #141925;
  --night-3: #1c2231;
  --paper: #f3e8d5;
  --paper-2: #e6d7bc;
  --paper-ink: #2b231c;
  --cream: #fff6e6;
  --text: #ebe1cf;
  --muted: #b3a48b;
  --gold: #e8c27a;
  --glow: #f6cf7d;
  --ember: #c98a3a;
  --ribbon: #6f93c9;
  --line: rgba(232, 194, 122, 0.28);
  --display: "Cormorant Garamond", "Palatino Linotype", "Book Antiqua", Palatino, serif;
  --serif: "EB Garamond", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --max: 1160px;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--night);
  color: var(--text);
  font-family: var(--serif);
  font-size: 1.16rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--glow); }
:focus-visible { outline: 2px solid var(--glow); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.1; color: var(--cream); margin: 0 0 0.5em; letter-spacing: 0.005em; }
h1 { font-size: clamp(2.6rem, 6.2vw, 4.9rem); }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); }
h3 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); }
p { margin: 0 0 1em; }
.wrap { width: min(var(--max), 100% - 40px); margin-inline: auto; }
.kicker { font-family: var(--serif); font-size: 0.86rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.9rem; display: inline-flex; align-items: center; gap: 0.6em; }
.kicker::before { content: ""; width: 26px; height: 1px; background: currentColor; opacity: 0.7; }
.lead { font-size: clamp(1.18rem, 1.9vw, 1.38rem); color: var(--text); max-width: 34em; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: var(--ink); padding: 8px 14px; border-radius: 8px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.55em;
  padding: 0.72em 1.35em; border-radius: 999px;
  font-family: var(--serif); font-size: 1.05rem; font-weight: 500; text-decoration: none;
  border: 1px solid var(--gold); color: var(--ink); background: linear-gradient(180deg, #f3d48f, #e1b25f);
  box-shadow: 0 0 0 0 rgba(246, 207, 125, 0.0), 0 8px 24px rgba(201, 138, 58, 0.25);
  transition: transform 0.2s ease, box-shadow 0.3s ease, background 0.3s ease;
  cursor: pointer;
}
.btn:hover { color: var(--ink); transform: translateY(-1px); box-shadow: 0 0 26px 2px rgba(246, 207, 125, 0.45), 0 10px 26px rgba(201, 138, 58, 0.3); }
.btn.ghost { background: rgba(18, 12, 8, 0.35); color: var(--cream); border-color: rgba(232, 194, 122, 0.55); box-shadow: none; }
.btn.ghost:hover { background: rgba(232, 194, 122, 0.12); color: var(--cream); }
.btn svg { width: 1.1em; height: 1.1em; }
.btns { display: flex; flex-wrap: wrap; gap: 0.8rem; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(12, 15, 23, 0.72);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(232, 194, 122, 0.14);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 0.55rem; text-decoration: none; color: var(--cream); font-family: var(--display); font-size: 1.75rem; font-weight: 600; letter-spacing: 0.02em; }
.brand:hover { color: var(--cream); }
.brand svg { width: 26px; height: 32px; filter: drop-shadow(0 0 6px rgba(246, 207, 125, 0.55)); }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a { color: var(--text); text-decoration: none; font-size: 1.04rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--glow); }
.nav .yt { display: inline-flex; align-items: center; gap: 0.45em; padding: 0.38em 0.95em; border: 1px solid var(--line); border-radius: 999px; }
.nav .yt svg { width: 1.1em; height: 1.1em; color: #e6584a; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); color: var(--cream); border-radius: 10px; padding: 6px 10px; font: inherit; cursor: pointer; }
@media (max-width: 860px) {
  .menu-btn { display: inline-block; }
  .nav { position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: rgba(12, 15, 23, 0.97); border-bottom: 1px solid var(--line); padding: 6px 20px 14px; display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 4px; border-bottom: 1px solid rgba(232, 194, 122, 0.1); }
  .nav .yt { border: none; padding: 12px 4px; }
}

/* ---------- hero: the attic at night ---------- */
.hero { position: relative; min-height: min(92vh, 860px); display: grid; align-items: end; overflow: hidden; isolation: isolate; }
.hero-art { position: absolute; inset: 0; z-index: -3; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 40%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(90deg, rgba(12, 9, 6, 0.94) 0%, rgba(12, 9, 6, 0.82) 34%, rgba(12, 9, 6, 0.25) 62%, rgba(12, 9, 6, 0.05) 100%),
    linear-gradient(0deg, var(--night) 0%, rgba(12, 15, 23, 0) 28%); }
.hero canvas.motes { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-content { padding: clamp(110px, 18vh, 200px) 0 clamp(70px, 11vh, 120px); }
.hero h1 { max-width: 11.5em; text-shadow: 0 2px 30px rgba(0, 0, 0, 0.6); }
.hero h1 em { font-style: italic; color: var(--glow); }
.hero .lead { margin-bottom: 1.8rem; text-shadow: 0 1px 14px rgba(0, 0, 0, 0.8); }
/* the lantern in the picture: it glows, and it answers a touch */
.lantern-spot {
  position: absolute; z-index: 1; left: var(--lx, 81.6%); top: var(--ly, 40%);
  width: clamp(90px, 9vw, 150px); aspect-ratio: 1; transform: translate(-50%, -50%);
  border: 0; border-radius: 50%; background: radial-gradient(circle, rgba(255, 214, 128, 0.42) 0%, rgba(255, 190, 90, 0.16) 38%, rgba(255, 180, 80, 0) 70%);
  mix-blend-mode: screen; cursor: pointer; animation: breathe 4.8s ease-in-out infinite;
}
.lantern-spot:hover { animation-duration: 1.6s; }
.lantern-hint { position: absolute; z-index: 1; left: var(--lx, 81.6%); top: calc(var(--ly, 40%) + clamp(64px, 8.4vw, 130px)); transform: translateX(-50%); font-style: italic; font-size: 0.92rem; color: rgba(255, 238, 205, 0.82); white-space: nowrap; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.9); pointer-events: none; opacity: 0; animation: hint 9s 2.5s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { opacity: 0.75; transform: translate(-50%, -50%) scale(0.94); } 50% { opacity: 1; transform: translate(-50%, -50%) scale(1.08); } }
@keyframes hint { 0%, 100% { opacity: 0; } 12%, 40% { opacity: 1; } 55% { opacity: 0; } }
@media (max-width: 860px) {
  .hero { min-height: 0; align-items: end; }
  .hero-art { height: 58vw; min-height: 300px; }
  .hero-art img { object-position: 78% 35%; }
  .hero::before { background: linear-gradient(0deg, var(--night) 0%, var(--night) 34%, rgba(12, 15, 23, 0.55) 55%, rgba(12, 15, 23, 0.1) 100%); }
  .hero-content { padding-top: clamp(220px, 50vw, 380px); }
}

/* ---------- sections ---------- */
section { position: relative; }
.section { padding: clamp(70px, 10vw, 130px) 0; }
.section-head { max-width: 46em; margin-bottom: clamp(28px, 4vw, 48px); }
.stitch { height: 14px; border: 0; margin: 0; background:
  repeating-linear-gradient(90deg, var(--gold) 0 14px, transparent 14px 24px) center / 100% 2px no-repeat; opacity: 0.45; }
.stitch.wrap { width: min(var(--max), 100% - 40px); }

/* the game, in the making */
.game-feature { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.game-feature .art { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.game-feature .art img.title { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.game-feature .art img.logo { position: absolute; left: 50%; top: 8%; width: 58%; transform: translateX(-50%); filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.5)); }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 1.4rem; padding: 0; list-style: none; }
.chips li { font-size: 0.92rem; padding: 0.28em 0.85em; border-radius: 999px; border: 1px solid var(--line); color: var(--text); background: rgba(232, 194, 122, 0.06); }
.chips li.live { border-color: rgba(246, 207, 125, 0.7); color: var(--glow); }
.chips li.live::before { content: "●"; font-size: 0.7em; margin-right: 0.45em; animation: pulse 2s ease-in-out infinite; display: inline-block; }
@keyframes pulse { 50% { opacity: 0.3; } }
@media (max-width: 860px) { .game-feature { grid-template-columns: 1fr; } }

/* hold it up to the light: the cloth's face, and its back under the lantern */
.reveal { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; box-shadow: var(--shadow); border: 1px solid var(--line); cursor: none; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.reveal img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.reveal .back { -webkit-mask-image: radial-gradient(circle var(--r, 120px) at var(--x, 50%) var(--y, 50%), #000 0, #000 calc(var(--r, 120px) * 0.72), transparent 100%);
  mask-image: radial-gradient(circle var(--r, 120px) at var(--x, 50%) var(--y, 50%), #000 0, #000 calc(var(--r, 120px) * 0.72), transparent 100%); }
.reveal .ring { position: absolute; left: var(--x, 50%); top: var(--y, 50%); width: calc(var(--r, 120px) * 2); height: calc(var(--r, 120px) * 2); transform: translate(-50%, -50%); border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(246, 207, 125, 0.55), 0 0 40px 8px rgba(246, 207, 125, 0.35), inset 0 0 40px rgba(246, 207, 125, 0.25); pointer-events: none; }
.reveal .label { position: absolute; left: 14px; bottom: 12px; font-size: 0.9rem; color: var(--cream); background: rgba(12, 9, 6, 0.6); border: 1px solid var(--line); padding: 0.25em 0.8em; border-radius: 999px; pointer-events: none; }
.reveal-caption { margin-top: 0.9rem; font-style: italic; color: var(--muted); font-size: 1rem; }

/* ---------- the Lantern Logs ---------- */
.logs { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: clamp(18px, 2.4vw, 28px); }
.log { background: linear-gradient(180deg, var(--night-2), var(--night-3)); border: 1px solid rgba(232, 194, 122, 0.16); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease; }
.log:hover { transform: translateY(-3px); border-color: rgba(232, 194, 122, 0.45); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), 0 0 30px rgba(246, 207, 125, 0.08); }
.player { position: relative; aspect-ratio: 16 / 9; background: #000; }
.player button { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.player img { width: 100%; height: 100%; object-fit: cover; }
.player .play { position: absolute; left: 50%; top: 50%; width: 68px; height: 68px; transform: translate(-50%, -50%); border-radius: 50%; display: grid; place-items: center; background: rgba(12, 9, 6, 0.62); border: 1px solid rgba(246, 207, 125, 0.75); box-shadow: 0 0 30px rgba(246, 207, 125, 0.35); transition: transform 0.2s ease, background 0.2s ease; }
.player button:hover .play { transform: translate(-50%, -50%) scale(1.08); background: rgba(201, 138, 58, 0.75); }
.player .play svg { width: 26px; height: 26px; margin-left: 4px; color: var(--cream); }
.player .len { position: absolute; right: 10px; bottom: 10px; font-size: 0.82rem; background: rgba(0, 0, 0, 0.72); color: #fff; padding: 1px 8px; border-radius: 6px; font-family: system-ui, sans-serif; }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.log .body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 0.35rem; flex: 1; }
.log .num { font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.log h3 { font-size: 1.55rem; margin: 0; }
.log p { margin: 0.3rem 0 0; font-size: 1.02rem; color: var(--text); }
.log .meta { margin-top: auto; padding-top: 0.6rem; font-size: 0.9rem; color: var(--muted); display: flex; justify-content: space-between; gap: 1rem; }
.log .meta a { color: var(--muted); }
.logs-more { margin-top: clamp(26px, 3.5vw, 40px); }

/* ---------- stories ---------- */
.story-card { display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: linear-gradient(135deg, #1b1712, #12100d); box-shadow: var(--shadow); }
.story-card img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
.story-card .text { padding: clamp(24px, 4vw, 48px); align-self: center; }
.coming { margin-top: clamp(20px, 3vw, 32px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.coming div { border: 1px dashed rgba(232, 194, 122, 0.35); border-radius: 14px; padding: 16px 18px; color: var(--text); font-size: 1.02rem; }
.coming b { display: block; font-family: var(--display); font-size: 1.35rem; color: var(--cream); font-weight: 600; }
@media (max-width: 860px) { .story-card { grid-template-columns: 1fr; } .coming { grid-template-columns: 1fr; } }

/* ---------- paper pages: Ida's own ---------- */
.paper { background: var(--paper); color: var(--paper-ink); background-image: radial-gradient(rgba(120, 90, 50, 0.05) 1px, transparent 1px), radial-gradient(rgba(120, 90, 50, 0.04) 1px, transparent 1px); background-size: 22px 22px, 31px 31px; }
.paper h2, .paper h3 { color: #22190f; }
.paper .kicker { color: #8a5e22; }
.paper a { color: #8a4f12; }
.about { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.portrait { position: relative; }
.portrait img { border-radius: 50%; aspect-ratio: 1; object-fit: cover; border: 6px solid #e9cf96; box-shadow: 0 0 0 1px rgba(80, 55, 20, 0.3), 0 24px 60px rgba(70, 45, 15, 0.35), 0 0 90px rgba(246, 207, 125, 0.45); }
.about p { font-size: 1.18rem; }
.about .quote { font-family: var(--display); font-style: italic; font-size: 1.6rem; color: #6b4614; margin: 1.2rem 0; padding-left: 1rem; border-left: 3px solid #d9b56c; }
.note { font-size: 0.98rem; color: #6c5a44; border-top: 1px dashed rgba(107, 70, 20, 0.35); padding-top: 1rem; margin-top: 1.4rem; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } .portrait { max-width: 340px; margin: 0 auto; } }

/* made in Myth Engine */
.myth-band { padding: 46px 0; background: linear-gradient(90deg, rgba(232, 194, 122, 0.06), rgba(232, 194, 122, 0.12), rgba(232, 194, 122, 0.06)); border-top: 1px solid rgba(232, 194, 122, 0.15); border-bottom: 1px solid rgba(232, 194, 122, 0.15); }
.myth-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; flex-wrap: wrap; }
.myth-band p { margin: 0; font-size: 1.25rem; color: var(--cream); }
.myth-band em { color: var(--glow); }

/* ---------- footer ---------- */
.site-footer { padding: 70px 0 48px; text-align: center; color: var(--muted); background: radial-gradient(ellipse at 50% 0%, rgba(246, 207, 125, 0.09), transparent 60%), var(--night); }
.site-footer .motto { font-family: var(--display); font-style: italic; font-size: clamp(1.7rem, 3.6vw, 2.5rem); color: var(--glow); margin-bottom: 1.4rem; text-shadow: 0 0 30px rgba(246, 207, 125, 0.3); }
.site-footer nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.6rem 1.6rem; margin-bottom: 1.4rem; }
.site-footer nav a { color: var(--text); text-decoration: none; }
.site-footer nav a:hover { color: var(--glow); }
.site-footer small { display: block; font-size: 0.92rem; line-height: 1.6; }

/* ---------- inner pages ---------- */
.page-hero { position: relative; padding: clamp(80px, 12vw, 150px) 0 clamp(40px, 6vw, 70px); overflow: hidden; isolation: isolate; }
.page-hero .bg { position: absolute; inset: 0; z-index: -2; }
.page-hero .bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, var(--night) 0%, rgba(12, 15, 23, 0.72) 45%, rgba(12, 15, 23, 0.35) 100%); }
.page-hero .logo { width: min(560px, 90%); filter: drop-shadow(0 10px 26px rgba(0, 0, 0, 0.6)); margin-bottom: 1.4rem; }
.crumb { font-size: 0.95rem; margin-bottom: 1rem; color: var(--muted); }
.crumb a { color: var(--muted); }
.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.2vw, 26px); }
.card { background: linear-gradient(180deg, var(--night-2), var(--night-3)); border: 1px solid rgba(232, 194, 122, 0.16); border-radius: var(--radius); padding: clamp(20px, 2.6vw, 30px); }
.card h3 { margin-bottom: 0.4rem; }
.card p { margin: 0; font-size: 1.05rem; }
.card .ico { width: 44px; height: 44px; color: var(--gold); margin-bottom: 0.8rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.bobbin-art { position: relative; display: grid; place-items: center; }
.bobbin-art::before { content: ""; position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(246, 207, 125, 0.32), rgba(246, 207, 125, 0) 68%); }
.bobbin-art img { position: relative; width: min(420px, 90%); animation: bob 5s ease-in-out infinite; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.45)); }
@keyframes bob { 50% { transform: translateY(-10px) rotate(-1.5deg); } }
.facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.7rem; }
.facts li { padding-left: 1.6rem; position: relative; }
.facts li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 0.62rem; height: 0.62rem; border-radius: 50%; background: radial-gradient(circle, var(--glow), var(--ember)); box-shadow: 0 0 10px rgba(246, 207, 125, 0.6); }
.status { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.2vw, 26px); }
.status .card h3 { display: flex; align-items: center; gap: 0.5em; }
@media (max-width: 860px) { .cols, .split, .status { grid-template-columns: 1fr; } }

/* ---------- the storybook ---------- */
.book { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: #0b0b0d; }
.book .pages { position: relative; aspect-ratio: 16 / 9; }
.book figure { position: absolute; inset: 0; margin: 0; opacity: 0; transform: scale(1.03); transition: opacity 0.9s ease, transform 6s ease; }
.book figure.on { opacity: 1; transform: scale(1); }
.book figure img { width: 100%; height: 100%; object-fit: cover; }
.book figcaption { position: absolute; left: 50%; bottom: 5%; transform: translateX(-50%); width: min(90%, 820px); text-align: center; font-family: var(--display); font-size: clamp(1.2rem, 2.6vw, 1.95rem); line-height: 1.3; color: var(--cream); background: rgba(12, 9, 6, 0.62); border: 1px solid rgba(232, 194, 122, 0.25); border-radius: 14px; padding: 0.55em 0.9em; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.8); }
.book .controls { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 14px 16px; background: var(--night-2); border-top: 1px solid rgba(232, 194, 122, 0.16); flex-wrap: wrap; }
.book .dots { display: flex; gap: 8px; }
.book .dots button { width: 11px; height: 11px; border-radius: 50%; border: 1px solid var(--gold); background: transparent; padding: 0; cursor: pointer; }
.book .dots button[aria-current="true"] { background: var(--gold); box-shadow: 0 0 10px rgba(246, 207, 125, 0.7); }
.book .nav-btns { display: flex; gap: 8px; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: rgba(232, 194, 122, 0.06); color: var(--cream); display: grid; place-items: center; cursor: pointer; }
.icon-btn:hover { background: rgba(232, 194, 122, 0.16); }
.icon-btn svg { width: 20px; height: 20px; }
.book .listen.on { background: linear-gradient(180deg, #f3d48f, #e1b25f); color: var(--ink); }

/* ---------- "It's Myth!" ---------- */
.myth-pop { position: fixed; z-index: 90; pointer-events: none; font-family: var(--display); font-style: italic; font-weight: 700; font-size: clamp(2.2rem, 5vw, 3.6rem); color: var(--glow); text-shadow: 0 0 22px rgba(246, 207, 125, 0.9), 0 0 60px rgba(246, 170, 80, 0.6); transform: translate(-50%, -50%); animation: mythpop 2.2s ease-out forwards; white-space: nowrap; }
@keyframes mythpop { 0% { opacity: 0; transform: translate(-50%, -30%) scale(0.6); } 18% { opacity: 1; transform: translate(-50%, -60%) scale(1.06); } 70% { opacity: 1; transform: translate(-50%, -85%) scale(1); } 100% { opacity: 0; transform: translate(-50%, -120%) scale(0.98); } }
.spark { position: fixed; z-index: 89; width: 6px; height: 6px; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, #fff7da, var(--glow) 45%, rgba(246, 207, 125, 0) 70%); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
