/* Noodle Lantern Night: marketing site. Night sky, warm lantern glow, paper-lantern buttons.
   Fonts: Grandstander 800/900 + Quicksand 600/700 (self-hosted @fontsource woff2, SIL OFL 1.1, see /fonts/OFL-*.txt).
   Asset URLs carry ?v=<hash> (tools/site_hash.sh). */

@font-face { font-family: 'Grandstander'; font-style: normal; font-weight: 800; font-display: swap;
  src: url(/fonts/grandstander-latin-800-normal.woff2?v=a17701ea) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Grandstander'; font-style: normal; font-weight: 800; font-display: swap;
  src: url(/fonts/grandstander-latin-ext-800-normal.woff2?v=2a449605) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Grandstander'; font-style: normal; font-weight: 900; font-display: swap;
  src: url(/fonts/grandstander-latin-900-normal.woff2?v=47bdcf1c) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Grandstander'; font-style: normal; font-weight: 900; font-display: swap;
  src: url(/fonts/grandstander-latin-ext-900-normal.woff2?v=241ba8d6) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Quicksand'; font-style: normal; font-weight: 600; font-display: swap;
  src: url(/fonts/quicksand-latin-600-normal.woff2?v=d7b2a752) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Quicksand'; font-style: normal; font-weight: 600; font-display: swap;
  src: url(/fonts/quicksand-latin-ext-600-normal.woff2?v=b856cc43) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Quicksand'; font-style: normal; font-weight: 700; font-display: swap;
  src: url(/fonts/quicksand-latin-700-normal.woff2?v=00bfba44) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Quicksand'; font-style: normal; font-weight: 700; font-display: swap;
  src: url(/fonts/quicksand-latin-ext-700-normal.woff2?v=7add3c83) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

:root {
  --amber: #FFB627; --gold: #FFD36E; --indigo: #2B2D6E; --night: #12132B; --ink: #1A1840; --dusk: #4A3F8F;
  --cream: #FFF3D6; --red: #E8574A; --mint: #8EF0C4; --pink: #FF9EC7; --star: #A8C8FF;
  --muted: #C9C6EA;
  --display: 'Grandstander', 'Trebuchet MS', 'Arial Rounded MT Bold', system-ui, sans-serif;
  --body: 'Quicksand', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --gutter: clamp(16px, 4.2vw, 36px);
  --radius: 24px;
  --glass: linear-gradient(180deg, rgba(48, 50, 120, .86), rgba(31, 32, 84, .9));
  --string: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='34' viewBox='0 0 320 34'%3E%3Cdefs%3E%3CradialGradient id='g'%3E%3Cstop offset='0' stop-color='%23FFB627' stop-opacity='.55'/%3E%3Cstop offset='1' stop-color='%23FFB627' stop-opacity='0'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cpath d='M0 4Q40 15 80 4T160 4T240 4T320 4' fill='none' stroke='%23FFF3D6' stroke-opacity='.55' stroke-width='1.4'/%3E%3Cg%3E%3Ccircle cx='40' cy='20' r='13' fill='url(%23g)'/%3E%3Cpath d='M40 9.5v3' stroke='%23FFF3D6' stroke-opacity='.6'/%3E%3Crect x='36.5' y='12' width='7' height='2.2' rx='1' fill='%231A1840'/%3E%3Cellipse cx='40' cy='20' rx='6.5' ry='6.8' fill='%23FFB627'/%3E%3Cellipse cx='40' cy='20' rx='3' ry='6.8' fill='none' stroke='%231A1840' stroke-opacity='.25'/%3E%3Crect x='37' y='26.2' width='6' height='2' rx='1' fill='%231A1840'/%3E%3C/g%3E%3Cg%3E%3Ccircle cx='120' cy='20' r='13' fill='url(%23g)'/%3E%3Cpath d='M120 9.5v3' stroke='%23FFF3D6' stroke-opacity='.6'/%3E%3Crect x='116.5' y='12' width='7' height='2.2' rx='1' fill='%231A1840'/%3E%3Cellipse cx='120' cy='20' rx='6.5' ry='6.8' fill='%23E8574A'/%3E%3Cellipse cx='120' cy='20' rx='3' ry='6.8' fill='none' stroke='%231A1840' stroke-opacity='.25'/%3E%3Crect x='117' y='26.2' width='6' height='2' rx='1' fill='%231A1840'/%3E%3C/g%3E%3Cg%3E%3Ccircle cx='200' cy='20' r='13' fill='url(%23g)'/%3E%3Cpath d='M200 9.5v3' stroke='%23FFF3D6' stroke-opacity='.6'/%3E%3Crect x='196.5' y='12' width='7' height='2.2' rx='1' fill='%231A1840'/%3E%3Cellipse cx='200' cy='20' rx='6.5' ry='6.8' fill='%238EF0C4'/%3E%3Cellipse cx='200' cy='20' rx='3' ry='6.8' fill='none' stroke='%231A1840' stroke-opacity='.25'/%3E%3Crect x='197' y='26.2' width='6' height='2' rx='1' fill='%231A1840'/%3E%3C/g%3E%3Cg%3E%3Ccircle cx='280' cy='20' r='13' fill='url(%23g)'/%3E%3Cpath d='M280 9.5v3' stroke='%23FFF3D6' stroke-opacity='.6'/%3E%3Crect x='276.5' y='12' width='7' height='2.2' rx='1' fill='%231A1840'/%3E%3Cellipse cx='280' cy='20' rx='6.5' ry='6.8' fill='%23FF9EC7'/%3E%3Cellipse cx='280' cy='20' rx='3' ry='6.8' fill='none' stroke='%231A1840' stroke-opacity='.25'/%3E%3Crect x='277' y='26.2' width='6' height='2' rx='1' fill='%231A1840'/%3E%3C/g%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--night); color-scheme: dark; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; position: relative; overflow-x: hidden;
  font: 600 1.0625rem/1.6 var(--body); color: var(--cream);
  /* the page is one night: dusk at the top, deep night in the middle, dawn at the very bottom */
  background: linear-gradient(180deg, #2B2D6E 0, #22235C 640px, #181942 1300px, var(--night) 2100px,
    var(--night) calc(100% - 1500px), #1B1B46 calc(100% - 900px), #352F72 calc(100% - 330px), #5B4590 calc(100% - 110px), #8C5A8E 100%);
}
body::before { /* stars over the top of the page */
  content: ""; position: absolute; inset: 0 0 auto; height: 1500px; pointer-events: none; z-index: 0;
  background:
    radial-gradient(1.6px 1.6px at 12% 18%, rgba(255,243,214,.95), transparent 70%),
    radial-gradient(1.2px 1.2px at 27% 7%, rgba(168,200,255,.9), transparent 70%),
    radial-gradient(1.8px 1.8px at 41% 26%, rgba(255,243,214,.85), transparent 70%),
    radial-gradient(1.1px 1.1px at 58% 12%, rgba(255,243,214,.9), transparent 70%),
    radial-gradient(1.5px 1.5px at 71% 30%, rgba(168,200,255,.85), transparent 70%),
    radial-gradient(1.2px 1.2px at 86% 9%, rgba(255,243,214,.9), transparent 70%),
    radial-gradient(1.7px 1.7px at 94% 36%, rgba(255,243,214,.8), transparent 70%),
    radial-gradient(1px 1px at 6% 44%, rgba(255,243,214,.8), transparent 70%),
    radial-gradient(1.3px 1.3px at 33% 52%, rgba(168,200,255,.75), transparent 70%),
    radial-gradient(1.1px 1.1px at 64% 58%, rgba(255,243,214,.7), transparent 70%),
    radial-gradient(1.4px 1.4px at 80% 66%, rgba(255,243,214,.6), transparent 70%),
    radial-gradient(1px 1px at 19% 74%, rgba(168,200,255,.55), transparent 70%);
  background-size: 520px 420px;
  -webkit-mask-image: linear-gradient(180deg, #000 40%, transparent);
          mask-image: linear-gradient(180deg, #000 40%, transparent);
}
img { max-width: 100%; height: auto; }
a { color: var(--gold); text-underline-offset: .18em; text-decoration-thickness: 1.5px; }
a:hover { color: var(--cream); }
:focus-visible { outline: 3px solid var(--cream); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); font-weight: 900; line-height: 1.08; margin: 0; letter-spacing: .005em; text-wrap: balance; }
p { margin: 0 0 .9em; }
.wrap { width: min(1180px, 100% - 2 * var(--gutter)); margin-inline: auto; position: relative; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 16px; border-radius: 12px; background: var(--cream); color: var(--ink); font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
main, .foot, .bar { position: relative; z-index: 1; }

/* ---------- drifting fireflies (decorative, fixed behind the content) ---------- */
.fireflies { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.fireflies i {
  position: absolute; left: var(--x); top: var(--y); width: 6px; height: 6px; border-radius: 50%;
  background: #FFF0B8; box-shadow: 0 0 6px 2px rgba(255, 196, 70, .9), 0 0 20px 7px rgba(255, 182, 39, .32);
  opacity: .75; will-change: transform, opacity;
}
.fireflies i.m { background: #E6FFF4; box-shadow: 0 0 6px 2px rgba(142,240,196,.85), 0 0 18px 6px rgba(142,240,196,.28); }
.fireflies i.p { background: #FFE6F1; box-shadow: 0 0 6px 2px rgba(255,158,199,.85), 0 0 18px 6px rgba(255,158,199,.28); }
.fireflies i:nth-child(1)  { --x: 8%;  --y: 22%; }
.fireflies i:nth-child(2)  { --x: 22%; --y: 70%; }
.fireflies i:nth-child(3)  { --x: 35%; --y: 38%; }
.fireflies i:nth-child(4)  { --x: 48%; --y: 84%; }
.fireflies i:nth-child(5)  { --x: 61%; --y: 16%; }
.fireflies i:nth-child(6)  { --x: 74%; --y: 56%; }
.fireflies i:nth-child(7)  { --x: 88%; --y: 30%; }
.fireflies i:nth-child(8)  { --x: 93%; --y: 78%; }
.fireflies i:nth-child(9)  { --x: 15%; --y: 48%; }
.fireflies i:nth-child(10) { --x: 55%; --y: 62%; }
.fireflies i:nth-child(11) { --x: 80%; --y: 92%; }
.fireflies i:nth-child(12) { --x: 4%;  --y: 90%; }
@media (prefers-reduced-motion: no-preference) {
  .fireflies i { animation: drift-a 19s ease-in-out infinite alternate, blink 3.4s ease-in-out infinite; }
  .fireflies i:nth-child(3n+2) { animation-name: drift-b, blink; animation-duration: 23s, 4.1s; }
  .fireflies i:nth-child(3n)   { animation-name: drift-c, blink; animation-duration: 27s, 2.9s; }
  .fireflies i:nth-child(2)  { animation-delay: -6s, -1s; }
  .fireflies i:nth-child(4)  { animation-delay: -11s, -2s; }
  .fireflies i:nth-child(5)  { animation-delay: -3s, -.5s; }
  .fireflies i:nth-child(7)  { animation-delay: -14s, -1.6s; }
  .fireflies i:nth-child(8)  { animation-delay: -8s, -2.4s; }
  .fireflies i:nth-child(10) { animation-delay: -17s, -.8s; }
  .fireflies i:nth-child(11) { animation-delay: -5s, -1.9s; }
}
@keyframes drift-a { 0% { transform: translate(0, 0); } 35% { transform: translate(60px, -40px); } 70% { transform: translate(110px, 20px); } 100% { transform: translate(40px, 70px); } }
@keyframes drift-b { 0% { transform: translate(0, 0); } 40% { transform: translate(-70px, 30px); } 75% { transform: translate(-30px, -60px); } 100% { transform: translate(-100px, -20px); } }
@keyframes drift-c { 0% { transform: translate(0, 0); } 30% { transform: translate(40px, 60px); } 65% { transform: translate(-50px, 90px); } 100% { transform: translate(-20px, 20px); } }
@keyframes blink { 0%, 100% { opacity: .15; } 45%, 60% { opacity: .95; } }

/* ---------- buttons: paper lanterns ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 48px;
  padding: .74em 1.5em .7em; border: 0; border-radius: 999px; cursor: pointer;
  font: 900 1.1rem/1 var(--display); letter-spacing: .01em; text-decoration: none; color: var(--indigo);
  background:
    repeating-linear-gradient(90deg, rgba(150, 80, 0, 0) 0 17px, rgba(150, 80, 0, .14) 17px 18.5px),
    radial-gradient(140% 125% at 50% 12%, #FFF7DE 0%, #FFE08A 24%, #FFB627 58%, #F28E1C 100%);
  box-shadow: inset 0 2px 1px rgba(255, 255, 255, .8), inset 0 -6px 12px rgba(214, 90, 30, .42),
    0 0 0 2.5px var(--ink), 0 4px 0 2.5px var(--ink), 0 0 26px 6px rgba(255, 182, 39, .42);
  text-shadow: 0 1px 0 rgba(255, 247, 222, .75);
  transition: transform .12s ease, filter .12s ease, box-shadow .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn svg { width: 1em; height: 1em; fill: currentColor; flex: none; }
.btn:hover { color: var(--indigo); filter: brightness(1.05); box-shadow: inset 0 2px 1px rgba(255,255,255,.8), inset 0 -6px 12px rgba(214,90,30,.42), 0 0 0 2.5px var(--ink), 0 4px 0 2.5px var(--ink), 0 0 40px 12px rgba(255,182,39,.55); }
.btn:active { transform: translateY(3px); filter: brightness(.86) saturate(.9);
  box-shadow: inset 0 2px 1px rgba(255,255,255,.55), inset 0 -3px 8px rgba(214,90,30,.35), 0 0 0 2.5px var(--ink), 0 1px 0 2.5px var(--ink), 0 0 12px 2px rgba(255,182,39,.28); }
.btn:focus-visible { outline: 3px solid var(--cream); outline-offset: 6px; border-radius: 999px; }
.btn-lg { font-size: clamp(1.15rem, 1rem + .6vw, 1.35rem); padding: .82em 1.7em .78em; min-height: 56px; }
.btn-sm { font-size: .98rem; min-height: 44px; padding: .55em 1.05em .5em; }
.btn-glass {
  color: var(--cream); text-shadow: none;
  background: linear-gradient(180deg, rgba(74, 63, 143, .55), rgba(43, 45, 110, .7));
  box-shadow: inset 0 0 0 2px var(--amber), inset 0 1px 0 3px rgba(255, 243, 214, .08), 0 0 18px 2px rgba(255, 182, 39, .2);
}
.btn-glass:hover { color: var(--cream); filter: none; background: linear-gradient(180deg, rgba(90, 76, 168, .6), rgba(52, 54, 130, .75));
  box-shadow: inset 0 0 0 2px var(--gold), 0 0 26px 6px rgba(255, 182, 39, .3); }
.btn-glass:active { filter: brightness(.85); box-shadow: inset 0 0 0 2px var(--amber), 0 0 8px rgba(255, 182, 39, .2); }

/* ---------- header ---------- */
.bar { position: sticky; top: 0; z-index: 20; background: rgba(18, 19, 43, .78); -webkit-backdrop-filter: blur(10px) saturate(1.2); backdrop-filter: blur(10px) saturate(1.2);
  border-bottom: 1px solid rgba(255, 182, 39, .22); box-shadow: 0 1px 18px rgba(255, 182, 39, .08); }
.bar-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--cream); text-decoration: none; font: 900 1.12rem/1 var(--display); }
.brand img { width: 38px; height: 38px; border-radius: 11px; box-shadow: 0 0 0 2px var(--ink), 0 0 14px rgba(255, 182, 39, .45); }
.brand:hover { color: var(--gold); }
.bar nav { display: flex; align-items: center; gap: 4px; }
.bar nav a:not(.btn) { display: none; padding: 8px 12px; border-radius: 999px; color: var(--cream); text-decoration: none; font-weight: 700; font-size: .98rem; }
.bar nav a:not(.btn):hover { background: rgba(255, 182, 39, .12); color: var(--gold); }
@media (min-width: 900px) { .bar nav a:not(.btn) { display: inline-block; } .bar nav .btn { margin-left: 8px; } }

/* ---------- hero ---------- */
.hero { position: relative; padding-bottom: clamp(40px, 6vw, 80px); }
.garland { position: absolute; inset: 0 0 auto; height: max(100px, 12.5vw); pointer-events: none; z-index: 3; }
.garland svg { display: block; width: 100%; height: 100%; }
.garland .sw { transform-box: fill-box; transform-origin: 50% 0; }
@media (prefers-reduced-motion: no-preference) {
  .garland .sw { animation: sway 3.6s ease-in-out infinite alternate; }
  .garland .sw.s2 { animation-duration: 4.3s; animation-delay: -1.2s; }
  .garland .sw.s3 { animation-duration: 3.1s; animation-delay: -2.1s; }
}
@keyframes sway { from { transform: rotate(-5deg); } to { transform: rotate(5deg); } }
.moon { display: none; }
.hero-grid { display: grid; grid-template-areas: "stack" "copy"; }
.hero-title, .hero-art { grid-area: stack; }
.hero-art {
  position: relative; margin: 0 calc(-1 * var(--gutter)); height: min(177.78vw, 1000px); overflow: hidden;
  background: radial-gradient(60% 40% at 50% 62%, rgba(255, 182, 39, .5), rgba(255, 182, 39, 0) 70%), linear-gradient(180deg, #232560, #1A1B4A 60%, #12132B);
}
.hero-art img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.hero-art::after { content: ""; position: absolute; inset: auto 0 0; height: 30%; background: linear-gradient(180deg, rgba(18,19,43,0), rgba(24,25,66,.85) 75%, #1E1F55); }
.hero-title { position: relative; z-index: 2; align-self: start; text-align: center; padding: 74px 8px 0; }
.title { color: var(--cream); text-shadow: 0 0 22px rgba(255, 182, 39, .55), 0 3px 0 var(--ink), 0 6px 18px rgba(10, 10, 30, .55); }
.title .t-small { display: block; font: 800 clamp(1.35rem, 5.4vw, 2rem)/1 var(--display); color: var(--gold); letter-spacing: .04em; margin-bottom: .1em; }
.title .t-big { display: block; font: 900 clamp(2.6rem, 12.4vw, 5.4rem)/.92 var(--display); }
.title .t-big span { color: var(--amber); }
.hero-copy { grid-area: copy; position: relative; z-index: 2; text-align: center; margin-top: -36px; }
.tagline { display: inline-block; margin: 0 0 14px; padding: .35em 1em .32em; font: 900 clamp(1.25rem, 4.8vw, 1.7rem)/1.15 var(--display); color: var(--ink);
  background: linear-gradient(180deg, #FFF3D6, #FFE3A1); border-radius: 999px; box-shadow: 0 0 0 2.5px var(--ink), 0 0 30px 6px rgba(255, 182, 39, .35); transform: rotate(-1.5deg); }
.hero-lead { max-width: 34em; margin: 0 auto 22px; font-size: 1.08rem; color: #EDE6FF; }
.cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 16px; }
.store-chip { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 7px 18px 7px 14px; border-radius: 16px; color: var(--cream);
  background: rgba(43, 45, 110, .6); box-shadow: inset 0 0 0 1.5px rgba(168, 200, 255, .38); line-height: 1.1; }
.store-chip svg { width: 24px; height: 24px; fill: var(--cream); }
.store-chip small { display: block; font-size: .72rem; font-weight: 700; color: var(--mint); text-transform: uppercase; letter-spacing: .08em; }
.store-chip b { font: 800 1.05rem/1.1 var(--display); }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; list-style: none; padding: 0; margin: 20px 0 0; }
.chips li { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px 4px; border-radius: 999px; font-size: .9rem; font-weight: 700; color: var(--cream);
  background: rgba(18, 19, 43, .5); box-shadow: inset 0 0 0 1px rgba(142, 240, 196, .35); }
.chips li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 8px var(--mint); }

@media (min-width: 900px) {
  .hero { padding-top: 40px; }
  .moon { display: block; position: absolute; right: 7%; top: 120px; width: 92px; height: 92px; border-radius: 50%; z-index: 0;
    background: radial-gradient(circle at 34% 38%, rgba(230, 212, 170, .7) 0 9%, transparent 10%), radial-gradient(circle at 64% 62%, rgba(230, 212, 170, .6) 0 7%, transparent 8%),
      radial-gradient(circle at 60% 28%, rgba(230, 212, 170, .5) 0 5%, transparent 6%), radial-gradient(circle at 40% 40%, #FFFBEF, #FFF3D6 60%, #F3DFB2);
    box-shadow: 0 0 40px 10px rgba(255, 243, 214, .22), 0 0 120px 40px rgba(168, 200, 255, .12); }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(320px, 430px); grid-template-areas: "title art" "copy art"; column-gap: clamp(32px, 5vw, 80px); align-items: center; padding-top: 70px; }
  .hero-title { grid-area: title; align-self: end; text-align: left; padding: 0; }
  .title .t-big { font-size: clamp(3.6rem, 6.4vw, 5.8rem); }
  .hero-copy { grid-area: copy; align-self: start; text-align: left; margin-top: 18px; }
  .hero-lead { margin-left: 0; font-size: 1.15rem; }
  .cta, .chips { justify-content: flex-start; }
  .hero-art { grid-area: art; margin: 0; height: auto; aspect-ratio: 9 / 15; border-radius: 215px 215px 32px 32px;
    box-shadow: 0 0 0 3px var(--ink), 0 0 0 7px rgba(255, 182, 39, .85), 0 0 0 10px var(--ink), 0 0 70px 14px rgba(255, 182, 39, .32), 0 30px 60px rgba(5, 6, 20, .55); }
  .hero-art img { object-position: 50% 92%; }
  .hero-art::after { display: none; }
}

/* ---------- sections ---------- */
.sec { position: relative; padding: clamp(48px, 6.5vw, 88px) 0; }
.sec-head { text-align: center; max-width: 760px; margin: 0 auto clamp(28px, 4vw, 44px); }
.kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 10px; font: 700 .82rem/1 var(--body); text-transform: uppercase; letter-spacing: .16em; color: var(--amber); }
.kicker::before, .kicker::after { content: ""; width: 22px; height: 1.5px; background: linear-gradient(90deg, transparent, var(--amber)); }
.kicker::after { transform: scaleX(-1); }
.sec-head h2 { font-size: clamp(2rem, 1.3rem + 3.4vw, 3.3rem); color: var(--cream); text-shadow: 0 0 26px rgba(255, 182, 39, .38), 0 3px 0 var(--ink); }
.sec-head p { margin-top: 14px; font-size: 1.08rem; color: #E6E0FA; }
.sheet { position: relative; background: var(--glass); border-radius: var(--radius); border: 1px solid rgba(168, 200, 255, .16);
  box-shadow: 0 22px 44px rgba(5, 6, 20, .42), inset 0 1px 0 rgba(255, 243, 214, .07); }
.sheet.strung { padding-top: 26px; margin-top: 18px; }
.strung::before { content: ""; position: absolute; left: 18px; right: 18px; top: -5px; height: 34px; background: var(--string) repeat-x 50% 0 / 320px 34px; pointer-events: none; z-index: 2; }

/* ---------- glow demo ---------- */
.demo-grid { display: grid; gap: 22px; align-items: center; }
@media (min-width: 900px) { .demo-grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 40px; } }
.gd { padding: 30px 14px 14px; }
.gd-stage { position: relative; aspect-ratio: 1 / 1; border-radius: 18px; overflow: hidden; touch-action: manipulation; user-select: none; -webkit-user-select: none;
  background: #18301F url(/img/ground-meadow.webp?v=afe0b928) 0 0 / 160px 160px; box-shadow: inset 0 0 0 2px rgba(26, 24, 64, .9); cursor: pointer; }
@media (min-width: 600px) { .gd-stage { aspect-ratio: 4 / 3; } }
.gd-world, .gd-top { position: absolute; inset: 0; }
.gd-dark { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle calc(var(--r, 160) * 1px) at 50% 50%, rgba(12, 12, 32, 0) 0%, rgba(12, 12, 32, 0) 62%, rgba(12, 12, 32, .72) 84%, rgba(9, 9, 26, .97) 100%); }
.gd-wick { position: absolute; left: 50%; top: 50%; width: 21%; aspect-ratio: 1; transform: translate(-50%, -54%); pointer-events: none; z-index: 3; }
.gd-wick img { width: 100%; height: 100%; display: block; filter: drop-shadow(0 0 14px rgba(255, 182, 39, .55)); }
.gd-wick.hit { animation: hit .42s ease; }
@keyframes hit { 0%, 100% { translate: 0 0; } 20% { translate: -7px 0; } 40% { translate: 6px 0; } 60% { translate: -4px 0; } 80% { translate: 3px 0; } }
.gd-wick .orbit { position: absolute; inset: -38%; border-radius: 50%; }
.gd-wick .orbit i { position: absolute; left: 50%; top: 0; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px 3px var(--c); }
.gd-wick .orbit i:nth-child(2) { top: auto; bottom: 0; }
@media (prefers-reduced-motion: no-preference) { .gd-wick .orbit { animation: spin 5s linear infinite; } .gd-wick .orbit.o2 { animation-duration: 7.5s; animation-direction: reverse; inset: -60%; } }
@keyframes spin { to { transform: rotate(360deg); } }
.murk { position: absolute; left: 0; top: 0; width: 13%; aspect-ratio: 1; pointer-events: none; will-change: transform; }
.murk img { width: 100%; height: 100%; display: block; }
.eyes { position: absolute; left: 0; top: 0; width: 13%; aspect-ratio: 1; z-index: 2; pointer-events: none; will-change: transform, opacity; }
.eyes i { position: absolute; border-radius: 50%; background: #FFF6B8; box-shadow: 0 0 8px 2px rgba(255, 238, 140, .75); }
.ember { position: absolute; left: 0; top: 0; width: 46px; height: 46px; margin: -23px 0 0 -23px; padding: 0; border: 0; border-radius: 50%; cursor: pointer; z-index: 4;
  background: radial-gradient(circle at 50% 55%, #FFF2C2 0 14%, #FFB627 32%, #E8574A 56%, rgba(232, 87, 74, 0) 72%); -webkit-tap-highlight-color: transparent; }
.ember::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 182, 39, .38), rgba(255, 182, 39, 0) 70%); }
@media (prefers-reduced-motion: no-preference) { .ember { animation: flicker 1.1s ease-in-out infinite alternate; } }
@keyframes flicker { from { scale: .9; filter: brightness(.95); } to { scale: 1.08; filter: brightness(1.15); } }
.ember.fly { transition: left .38s ease-in, top .38s ease-in, opacity .38s ease-in, scale .38s ease-in; opacity: .2; scale: .4; pointer-events: none; }
.pop { position: absolute; z-index: 5; pointer-events: none; font: 900 1.25rem/1 var(--display); transform: translate(-50%, -50%); animation: rise .9s ease-out forwards; text-shadow: 0 2px 0 var(--ink); }
.pop.up { color: var(--gold); } .pop.down { color: #FF8C80; }
@keyframes rise { from { opacity: 1; translate: 0 0; } to { opacity: 0; translate: 0 -42px; } }
.petal { position: absolute; z-index: 2; width: 9px; height: 7px; border-radius: 60% 40% 60% 40%; pointer-events: none; animation: petal .8s ease-out forwards; }
@keyframes petal { from { opacity: 1; transform: translate(0, 0) rotate(0); } to { opacity: 0; transform: translate(var(--dx), var(--dy)) rotate(200deg); } }
.gd-msg { position: absolute; inset: 0; z-index: 6; display: grid; place-content: center; gap: 12px; padding: 20px; text-align: center; background: rgba(9, 9, 26, .72); }
.gd-msg[hidden] { display: none; }
.gd-msg p { margin: 0; font: 800 1.3rem/1.25 var(--display); max-width: 18em; }
.gd-hud { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; padding: 14px 4px 2px; }
.meter { flex: 1 1 200px; display: flex; align-items: center; gap: 10px; font-weight: 700; }
.meter-bar { flex: 1; height: 16px; border-radius: 999px; background: rgba(9, 9, 26, .7); box-shadow: inset 0 0 0 1.5px rgba(255, 182, 39, .5); overflow: hidden; }
.meter-bar span { display: block; height: 100%; width: calc(var(--g, 100) * 1%); border-radius: inherit; background: linear-gradient(90deg, #E8574A, #FFB627 55%, #FFE08A); box-shadow: 0 0 12px rgba(255, 182, 39, .7); transition: width .3s ease; }
.meter output { min-width: 3.2em; text-align: right; font-variant-numeric: tabular-nums; color: var(--gold); }
.gd-btns { display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 10px; flex: 1 1 320px; }
.gd-btns .btn-sm { padding-left: .55em; padding-right: .55em; white-space: nowrap; }
@media (max-width: 420px) { .gd-btns .btn-sm { font-size: .9rem; } }
.disc-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; cursor: pointer; color: var(--amber);
  background: radial-gradient(circle at 50% 35%, #34367E, #1E1F55 70%); box-shadow: 0 0 0 2px var(--ink), 0 0 0 4px rgba(255, 182, 39, .55), 0 0 16px 3px rgba(255, 182, 39, .3); transition: transform .12s, filter .12s; }
.disc-btn svg { width: 18px; height: 18px; fill: currentColor; }
.disc-btn:hover { filter: brightness(1.2); }
.disc-btn:active { transform: translateY(2px); filter: brightness(.85); }
.disc-btn:focus-visible { outline-offset: 4px; border-radius: 50%; }
.disc-btn .i-play, .disc-btn[aria-pressed="true"] .i-pause { display: none; }
.disc-btn[aria-pressed="true"] .i-play { display: block; }
.demo-copy h3 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); margin-bottom: 12px; color: var(--gold); }
.demo-copy ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.demo-copy li { position: relative; padding-left: 34px; }
.demo-copy li::before { content: ""; position: absolute; left: 4px; top: .35em; width: 16px; height: 16px; border-radius: 50%; background: radial-gradient(circle, #FFF2C2 0 20%, var(--amber) 45%, rgba(255, 182, 39, 0) 72%); box-shadow: 0 0 10px rgba(255, 182, 39, .7); }
.demo-copy li.m::before { background: radial-gradient(circle at 50% 45%, #FFF6B8 0 12%, #2A1F48 14% 62%, rgba(42, 31, 72, 0) 64%); box-shadow: 0 0 0 1.5px #6E5BB8; }
.demo-copy li.e::before { background: radial-gradient(circle, #FFF2C2 0 14%, #FFB627 32%, #E8574A 56%, rgba(232, 87, 74, 0) 72%); }
.demo-copy b { color: var(--cream); }

/* ---------- Wick + friend fireflies ---------- */
.wick-card { display: grid; gap: 20px; padding: 44px 22px 24px; align-items: center; }
@media (min-width: 820px) { .wick-card { grid-template-columns: 300px 1fr; padding: 50px 40px 36px; gap: 40px; } }
.wick-main { position: relative; justify-self: center; width: min(300px, 74vw); }
.wick-main::before { content: ""; position: absolute; inset: 6%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 182, 39, .5), rgba(255, 182, 39, 0) 68%); }
.wick-main img { position: relative; display: block; width: 100%; }
@media (prefers-reduced-motion: no-preference) { .wick-main img { animation: bob 3.2s ease-in-out infinite alternate; } }
@keyframes bob { from { transform: translateY(-5px); } to { transform: translateY(6px); } }
.wick-card h3 { font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.4rem); color: var(--gold); margin-bottom: 10px; }
.moods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; list-style: none; padding: 0; margin: 18px 0 0; }
.moods li { text-align: center; font-size: .92rem; font-weight: 700; color: var(--muted); }
.moods img { display: block; width: 100%; max-width: 132px; margin: 0 auto 4px; }
.moods b { display: block; color: var(--cream); font-family: var(--display); font-weight: 800; font-size: 1.02rem; }
.friends-h { text-align: center; font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.1rem); margin: clamp(44px, 6vw, 64px) 0 8px; color: var(--cream); }
.friends-lead { text-align: center; max-width: 44em; margin: 0 auto 26px; color: #E6E0FA; }
.ff-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 248px), 1fr)); gap: 12px; list-style: none; padding: 0; margin: 0; }
.ff-card { display: grid; grid-template-columns: 52px 1fr; gap: 8px 12px; align-items: center; padding: 14px 16px 14px; border-radius: 20px;
  background: linear-gradient(180deg, rgba(43, 45, 110, .7), rgba(31, 32, 84, .76)); box-shadow: inset 0 0 0 1px rgba(168, 200, 255, .14), inset 0 3px 0 -1px color-mix(in srgb, var(--c) 55%, transparent); }
.ff-card h4 { margin: 0; font: 900 1.25rem/1.1 var(--display); color: var(--c); }
.ff-card p { grid-column: 1 / -1; margin: 0; font-size: .95rem; line-height: 1.45; color: #E9E4FB; }
.ff-card .evo { grid-column: 1 / -1; align-self: end; margin-top: 2px; padding-top: 9px; border-top: 1px dashed rgba(168, 200, 255, .22); font-size: .86rem; color: var(--muted); }
.ff-card .evo b { color: var(--cream); }
.ff { position: relative; width: 52px; height: 44px; }
.ff::before { /* four small wings */ content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 11px 8px at 13px 13px, rgba(255, 243, 214, .85) 0 70%, rgba(255, 243, 214, 0) 100%), radial-gradient(ellipse 11px 8px at 39px 13px, rgba(255, 243, 214, .85) 0 70%, rgba(255, 243, 214, 0) 100%),
    radial-gradient(ellipse 8px 6px at 12px 27px, rgba(255, 243, 214, .6) 0 70%, rgba(255, 243, 214, 0) 100%), radial-gradient(ellipse 8px 6px at 40px 27px, rgba(255, 243, 214, .6) 0 70%, rgba(255, 243, 214, 0) 100%); }
.ff::after { /* glowing body */ content: ""; position: absolute; left: 14px; top: 10px; width: 24px; height: 24px; border-radius: 50%;
  background: radial-gradient(circle at 38% 34%, #FFFFFF 0 16%, var(--c) 52%, color-mix(in srgb, var(--c) 70%, #1A1840) 100%);
  box-shadow: 0 0 0 2px var(--ink), 0 0 14px 4px color-mix(in srgb, var(--c) 70%, transparent), 0 0 30px 10px color-mix(in srgb, var(--c) 28%, transparent); }
@media (prefers-reduced-motion: no-preference) { .ff { animation: hover 2.4s ease-in-out infinite alternate; } .ff-card:nth-child(2n) .ff { animation-delay: -1.1s; } .ff-card:nth-child(3n) .ff { animation-delay: -.6s; } }
@keyframes hover { from { transform: translateY(-3px); } to { transform: translateY(3px); } }
.levelup { display: grid; gap: 22px; align-items: center; margin-top: 40px; padding: 46px 24px 26px; }
@media (min-width: 820px) { .levelup { grid-template-columns: 1fr 320px; padding: 48px 40px 32px; } }
.levelup h3 { font-size: 1.5rem; color: var(--gold); margin-bottom: 8px; }
.levelup p { margin: 0 0 .6em; }
.fan { position: relative; height: 180px; width: 300px; justify-self: center; }
.fan > span { position: absolute; left: 50%; bottom: 0; width: 98px; height: 140px; margin-left: -49px; border-radius: 14px; transform-origin: 50% 120%;
  display: grid; place-items: center; padding: 10px; text-align: center; font: 800 .86rem/1.15 var(--display); color: var(--ink);
  background: linear-gradient(180deg, #FFF3D6, #FFE0A0); box-shadow: 0 0 0 2.5px var(--ink), 0 10px 24px rgba(5, 6, 20, .5), 0 0 24px rgba(255, 182, 39, .3); }
.fan > span:nth-child(1) { transform: translateX(-74px) rotate(-14deg); }
.fan > span:nth-child(2) { transform: translateY(-14px); z-index: 1; background: linear-gradient(180deg, #FFF8E6, #FFD36E); }
.fan > span:nth-child(3) { transform: translateX(74px) rotate(14deg); }
.fan i { display: block; width: 26px; height: 26px; margin: 0 auto 8px; border-radius: 50%; background: radial-gradient(circle at 38% 34%, #fff 0 16%, var(--c) 55%); box-shadow: 0 0 0 2px var(--ink), 0 0 12px var(--c); }

@media (max-width: 559px) {
  .ff-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .ff-card { grid-template-columns: 44px 1fr; padding: 12px 12px 12px; gap: 6px 6px; }
  .ff { transform: scale(.8); transform-origin: 0 50%; }
  .ff-card h4 { font-size: 1.1rem; }
  .ff-card p { font-size: .88rem; }
  .ff-card .evo { font-size: .8rem; }
}

/* ---------- zones ---------- */
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); max-width: 760px; margin: 0 auto 36px; padding: 0; list-style: none; position: relative; text-align: center; font-size: .86rem; color: var(--muted); }
.timeline::before { content: ""; position: absolute; left: 10%; right: 10%; top: 13px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, #4A3F8F, #2B2D6E 30%, #2B2D6E 70%, #FF9EC7 92%, #FFB627); }
.timeline li { position: relative; padding-top: 34px; }
.timeline li::before { content: ""; position: absolute; left: 50%; top: 5px; width: 20px; height: 20px; margin-left: -10px; border-radius: 50%; background: var(--indigo); box-shadow: 0 0 0 3px var(--ink), inset 0 0 0 3px var(--star); }
.timeline li.bm::before { background: #2A1F48; box-shadow: 0 0 0 3px var(--ink), inset 0 0 0 3px #9B7BFF, 0 0 12px rgba(155, 123, 255, .6); }
.timeline li.bs::before { background: var(--red); box-shadow: 0 0 0 3px var(--ink), 0 0 14px rgba(232, 87, 74, .7); }
.timeline li.tl-dawn::before { background: var(--amber); box-shadow: 0 0 0 3px var(--ink), 0 0 18px 4px rgba(255, 182, 39, .8); }
.timeline b { display: block; font: 900 1.05rem/1.1 var(--display); color: var(--cream); }
.zones { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 30px 22px; list-style: none; padding: 0; margin: 0; }
.zone { display: flex; flex-direction: column; overflow: visible; }
.zone-art { position: relative; margin: 0 12px; border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 9; box-shadow: 0 0 0 2px var(--ink), 0 10px 22px rgba(5, 6, 20, .4);
  background: radial-gradient(50% 60% at 50% 70%, rgba(255, 182, 39, .35), transparent 70%), linear-gradient(180deg, #2B2D6E, #1A1B4A); }
.zone-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.zone-n { position: absolute; left: 10px; top: 10px; padding: 5px 10px 4px; border-radius: 999px; font: 800 .82rem/1 var(--display); color: var(--ink); background: var(--cream); box-shadow: 0 0 0 2px var(--ink); }
.zone-body { padding: 16px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.zone-body h3 { font-size: 1.45rem; color: var(--gold); }
.zone-body p { margin: 0; color: #E6E0FA; font-size: .97rem; }
.zone-meta { display: grid; gap: 6px; margin: 8px 0 0; font-size: .92rem; }
.zone-meta div { display: flex; gap: 8px; align-items: baseline; }
.zone-meta dt { flex: none; min-width: 5.6em; font-weight: 700; color: var(--muted); }
.zone-meta dd { margin: 0; color: var(--cream); font-weight: 700; }
.zone-meta .boss dd { color: #FFB3AA; }

/* ---------- the Murk ---------- */
.murk-sec { background: radial-gradient(60% 28% at 50% 32%, rgba(74, 63, 143, .3), rgba(74, 63, 143, 0) 100%); }
.peek { position: absolute; width: 34px; height: 14px; pointer-events: none; }
.peek::before, .peek::after { content: ""; position: absolute; top: 0; width: 12px; height: 14px; border-radius: 50%; background: #FFF6B8; box-shadow: 0 0 10px 2px rgba(255, 238, 140, .6); }
.peek::before { left: 0; } .peek::after { right: 0; }
.peek.p1 { left: 4%; top: 120px; } .peek.p2 { right: 6%; top: 46%; transform: scale(.8); } .peek.p3 { left: 9%; bottom: 14%; transform: scale(.7); }
@media (prefers-reduced-motion: no-preference) { .peek::before, .peek::after { animation: peekblink 5s infinite; } .peek.p2::before, .peek.p2::after { animation-delay: -2s; } .peek.p3::before, .peek.p3::after { animation-delay: -3.4s; } }
@keyframes peekblink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
.murk-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; list-style: none; padding: 0; margin: 0; }
@media (min-width: 700px) { .murk-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.murk-grid li { position: relative; text-align: center; padding: 12px 12px 16px; border-radius: 20px; background: radial-gradient(80% 60% at 50% 38%, rgba(155, 123, 255, .22), rgba(155, 123, 255, 0) 70%), rgba(26, 24, 64, .55); box-shadow: inset 0 0 0 1px rgba(155, 123, 255, .22); }
.murk-grid img { display: block; width: 78%; max-width: 180px; margin: 0 auto 4px; }
.murk-grid b { display: block; font: 900 1.12rem/1.15 var(--display); color: var(--cream); }
.murk-grid span { display: block; margin-top: 4px; font-size: .9rem; line-height: 1.4; color: var(--muted); }
.murk-grid li.big { background: radial-gradient(80% 60% at 50% 38%, rgba(232, 87, 74, .22), rgba(232, 87, 74, 0) 70%), rgba(26, 24, 64, .6); box-shadow: inset 0 0 0 1.5px rgba(255, 179, 170, .4); }
.bosses-h { text-align: center; font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.9rem); margin: clamp(40px, 6vw, 60px) 0 20px; color: var(--cream); }
.bosses { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; list-style: none; padding: 0; margin: 0; }
@media (min-width: 640px) { .bosses { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1040px) { .bosses { grid-template-columns: repeat(6, 1fr); } }
.bosses li { text-align: center; }
.bosses .disc { position: relative; display: block; margin: 0 auto 8px; width: min(170px, 100%); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, rgba(155, 123, 255, .35), rgba(43, 45, 110, .5) 60%, rgba(18, 19, 43, .6)); box-shadow: inset 0 0 0 2px rgba(155, 123, 255, .35), 0 0 30px rgba(155, 123, 255, .15); }
.bosses img { position: absolute; inset: 4%; width: 92%; height: 92%; }
.bosses b { display: block; font: 900 1.05rem/1.15 var(--display); color: #FFC9C2; }
.bosses small { display: block; font-size: .84rem; color: var(--muted); font-weight: 700; margin-top: 2px; }
.petals-note { max-width: 40em; margin: 30px auto 0; text-align: center; color: #E6E0FA; }

/* ---------- friend lanterns (cameos) ---------- */
.lanterns { display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px 14px; list-style: none; padding: 30px 0 0; margin: 0; position: relative; }
@media (min-width: 720px) { .lanterns { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1060px) { .lanterns { grid-template-columns: repeat(5, 1fr); gap: 40px 18px; } }
.lantern { position: relative; text-align: center; }
.lantern a.lamp { display: block; position: relative; margin: 0 auto; width: min(170px, 100%); text-decoration: none; color: inherit; border-radius: 40% 40% 34% 34%; }
.lamp::before { /* the thread */ content: ""; position: absolute; left: 50%; top: -32px; width: 2px; height: 32px; margin-left: -1px; background: rgba(255, 243, 214, .5); }
.lamp-body { position: relative; display: block; aspect-ratio: 1 / 1.08; border-radius: 46% 46% 40% 40% / 50% 50% 44% 44%;
  background: repeating-linear-gradient(180deg, transparent 0 15%, rgba(26, 24, 64, .16) 15% 16.2%),
    radial-gradient(circle at 50% 46%, color-mix(in srgb, var(--lc) 35%, #FFF3D6) 0%, var(--lc) 52%, color-mix(in srgb, var(--lc) 60%, #1A1840) 100%);
  box-shadow: 0 0 0 2.5px var(--ink), 0 0 44px 10px color-mix(in srgb, var(--lc) 55%, transparent);
  transition: filter .5s ease, box-shadow .5s ease; }
.lamp-body::before, .lamp-body::after { content: ""; position: absolute; left: 30%; right: 30%; height: 9%; border-radius: 4px; background: var(--ink); }
.lamp-body::before { top: -5%; } .lamp-body::after { bottom: -5%; }
.lamp-body img { position: absolute; left: 9%; top: 9%; width: 82%; height: 82%; transition: filter .5s ease, transform .4s ease; }
.lamp .tassel { position: absolute; left: 50%; bottom: -22px; width: 4px; height: 18px; margin-left: -2px; border-radius: 0 0 3px 3px; background: var(--red); }
.lantern.unlit .lamp-body { filter: saturate(.25) brightness(.5); box-shadow: 0 0 0 2.5px var(--ink); }
.lantern.unlit .lamp-body img { filter: brightness(.55); }
.lantern:hover .lamp-body, .lantern:focus-within .lamp-body { filter: none; box-shadow: 0 0 0 2.5px var(--ink), 0 0 60px 18px color-mix(in srgb, var(--lc) 65%, transparent); }
.lantern:hover .lamp-body img, .lantern:focus-within .lamp-body img { filter: none; transform: translateY(-3px) scale(1.04); }
.lantern h3 { margin: 30px 0 2px; font-size: 1.2rem; color: var(--cream); }
.lantern .quote { margin: 4px 0 6px; font-size: .9rem; line-height: 1.4; color: var(--gold); font-style: normal; }
.lantern .from { display: inline-flex; align-items: center; gap: 7px; font-size: .86rem; font-weight: 700; color: var(--muted); text-decoration: none; }
.lantern .from img { width: 24px; height: 24px; border-radius: 7px; }
.lantern .from:hover { color: var(--cream); text-decoration: underline; }

/* ---------- ways to play ---------- */
.modes { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 34px 20px; list-style: none; padding: 0; margin: 0; }
.mode { padding: 44px 22px 22px; }
.mode h3 { display: flex; align-items: center; gap: 10px; font-size: 1.4rem; color: var(--gold); margin-bottom: 8px; }
.mode h3 svg { width: 30px; height: 30px; flex: none; }
.mode p { margin: 0 0 .6em; color: #E9E4FB; }
.mode .tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 10px 0 0; }
.mode .tags li { padding: 3px 10px 2px; border-radius: 999px; font-size: .84rem; font-weight: 700; color: var(--cream); background: rgba(18, 19, 43, .55); box-shadow: inset 0 0 0 1px rgba(255, 182, 39, .35); }
.mode.wide { grid-column: 1 / -1; }
.flies { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 12px; list-style: none; padding: 0; margin: 14px 0 0; }
.flies li { text-align: center; font-size: .86rem; color: var(--muted); font-weight: 700; }
.flies img { display: block; width: 100%; max-width: 130px; margin: 0 auto; filter: drop-shadow(0 0 14px color-mix(in srgb, var(--c) 55%, transparent)); }
.flies b { display: block; font: 900 1.1rem/1.1 var(--display); color: var(--c); }
.langs span { white-space: nowrap; }

/* ---------- fair for kids ---------- */
.fair { max-width: 920px; margin: 0 auto; padding: 52px clamp(20px, 4vw, 44px) 30px; text-align: center; background: linear-gradient(180deg, rgba(43, 45, 110, .9), rgba(36, 34, 92, .92)); }
.fair h2 { font-size: clamp(1.8rem, 1.3rem + 2.4vw, 2.6rem); color: var(--cream); text-shadow: 0 0 22px rgba(142, 240, 196, .3); margin-bottom: 18px; }
.ticks { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 10px; list-style: none; padding: 0; margin: 0 0 20px; text-align: left; }
.ticks li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: rgba(18, 19, 43, .5); font-weight: 700; }
.ticks li::before { content: ""; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 12.5l3.6 3.6 7.4-8' fill='none' stroke='%231A1840' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; box-shadow: 0 0 10px rgba(142, 240, 196, .55); }
.fair p { margin: 0; color: #E6E0FA; }

/* ---------- studio + more games ---------- */
.studio-card { display: grid; gap: 18px; align-items: center; padding: 48px 24px 26px; }
@media (min-width: 760px) { .studio-card { grid-template-columns: 128px 1fr auto; padding: 52px 36px 34px; gap: 28px; } }
.studio-card > img { width: 112px; height: 112px; border-radius: 26px; background: var(--cream); padding: 6px; box-shadow: 0 0 0 2.5px var(--ink), 0 0 24px rgba(255, 182, 39, .3); }
.studio-card h2 { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.1rem); color: var(--cream); margin-bottom: 8px; }
.studio-card p { margin: 0 0 .4em; color: #E6E0FA; }
.studio-links { display: flex; flex-wrap: wrap; gap: 10px; }
.mg-h { text-align: center; font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.9rem); margin: clamp(48px, 6vw, 68px) 0 20px; color: var(--cream); }
.mg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 10px; list-style: none; padding: 0; margin: 0; }
.mg { display: flex; align-items: center; gap: 12px; min-height: 72px; padding: 8px 14px 8px 8px; border-radius: 18px; text-decoration: none; color: var(--cream);
  background: rgba(43, 45, 110, .55); box-shadow: inset 0 0 0 1px rgba(168, 200, 255, .14); transition: background .2s, box-shadow .2s; }
.mg:hover { color: var(--cream); background: rgba(74, 63, 143, .6); box-shadow: inset 0 0 0 1.5px var(--amber), 0 0 18px rgba(255, 182, 39, .2); }
.mg img { width: 56px; height: 56px; border-radius: 14px; flex: none; }
.mg b { display: block; font: 800 1.02rem/1.2 var(--display); }
.mg small { display: block; font-size: .86rem; color: var(--muted); font-weight: 700; }
.mg.new { box-shadow: inset 0 0 0 1.5px rgba(142, 240, 196, .5); }

@media (max-width: 559px) {
  .mg-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .mg { gap: 8px; min-height: 64px; padding: 6px 8px 6px 6px; border-radius: 14px; }
  .mg img { width: 44px; height: 44px; border-radius: 11px; }
  .mg b { font-size: .88rem; line-height: 1.15; }
  .mg small { font-size: .74rem; line-height: 1.2; margin-top: 2px; }
}

/* ---------- footer: dawn ---------- */
.foot { padding: 60px 0 0; overflow: hidden; }
.foot-in { display: grid; gap: 16px; justify-items: center; text-align: center; padding-bottom: 26px; }
.foot-studio { display: inline-flex; align-items: center; gap: 10px; color: var(--cream); text-decoration: none; font: 800 1.05rem/1.2 var(--display); }
.foot-studio img { width: 40px; height: 40px; border-radius: 10px; background: var(--cream); padding: 3px; }
.foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; }
.foot nav a { color: var(--cream); font-weight: 700; }
.foot nav a:hover { color: var(--gold); }
.copy { margin: 0; font-size: .88rem; color: #F2E6F5; }
.dawn { position: relative; height: 120px; margin-top: 0; pointer-events: none; overflow: hidden; }
.dawn::before { content: ""; position: absolute; left: 50%; bottom: -150px; width: 300px; height: 300px; margin-left: -150px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 231, 168, .95) 0 26%, rgba(255, 182, 39, .8) 38%, rgba(255, 158, 199, .35) 52%, rgba(255, 158, 199, 0) 70%); }
.dawn::after { content: ""; position: absolute; inset: auto 0 0; height: 44px;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 44' preserveAspectRatio='none'%3E%3Cpath d='M0 44V26C120 6 260 4 400 20s300 22 420 4 260-24 380 0V44z'/%3E%3C/svg%3E") 0 0 / 100% 100%;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 44' preserveAspectRatio='none'%3E%3Cpath d='M0 44V26C120 6 260 4 400 20s300 22 420 4 260-24 380 0V44z'/%3E%3C/svg%3E") 0 0 / 100% 100%; background: #241D45; }

/* ---------- docs pages (privacy, support, 404) ---------- */
.doc { width: min(820px, 100% - 2 * var(--gutter)); margin: 0 auto; padding: clamp(36px, 6vw, 70px) 0 30px; }
.doc > h1 { text-align: center; font-size: clamp(2.1rem, 1.4rem + 3vw, 3.2rem); margin-bottom: 30px; color: var(--cream); text-shadow: 0 0 26px rgba(255, 182, 39, .4), 0 3px 0 var(--ink); }
.doc-page { padding: 50px clamp(20px, 4.5vw, 48px) 32px; }
.doc-page h2 { font-size: 1.45rem; color: var(--gold); margin: 1.6em 0 .5em; }
.doc-page h2:first-child { margin-top: 0; }
.doc-page ul { padding-left: 1.2em; margin: 0 0 .9em; }
.doc-page li { margin: .3em 0; }
.doc-page b { color: var(--cream); }
.meta { color: var(--mint); font-weight: 700; }
.summary { padding: 14px 18px; border-radius: 14px; background: rgba(18, 19, 43, .55); box-shadow: inset 0 0 0 1.5px rgba(142, 240, 196, .4); }
.faq details { border-radius: 16px; background: rgba(18, 19, 43, .45); box-shadow: inset 0 0 0 1px rgba(168, 200, 255, .14); margin: 0 0 10px; }
.faq summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; font: 800 1.1rem/1.3 var(--display); color: var(--cream); border-radius: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 3px solid var(--amber); border-bottom: 3px solid var(--amber); transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq details > :not(summary) { margin-left: 18px; margin-right: 18px; }
.faq details > :last-child { padding-bottom: 14px; margin-bottom: 0; }
.contact-btn { margin-top: 8px; }
.lost .doc-page { text-align: center; }
.lost .doc-page img { display: block; width: min(260px, 70%); margin: -10px auto 10px; filter: drop-shadow(0 0 20px rgba(255, 182, 39, .4)); }
.lost .btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 18px; }
