/* Honey Bun Games: site styles. No framework, no build step. */

@font-face {
  font-family: "Nickname";
  src: url("../fonts/nickname.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Dosis";
  src: url("../fonts/dosis-var.woff2") format("woff2-variations"), url("../fonts/dosis-var.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-var.woff2") format("woff2-variations"), url("../fonts/montserrat-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --honey: #efa332;
  --honey-hi: #ffc35c;
  --honey-lo: #c77d16;
  --cream: #fff6e6;
  --paper: #fbf5ec;
  --paper-2: #f4eadb;
  --ink: #1d1424;
  --ink-2: #3a2d42;
  --ink-soft: #6b5d72;
  --berry: #e00076;
  --berry-hi: #ff3d9a;
  --berry-lo: #9c0054;
  --wine: #791f60;
  --wine-lo: #3c0b31;
  --night: #120a1f;
  --night-2: #1d1033;
  --line: rgba(29, 20, 36, .12);

  /* Love at First Bite UI palette */
  --lb-plum: #230424;
  --lb-navy: #0d0523;
  --lb-purple: #351d5c;
  --lb-bgplum: #30023b;
  --lb-magenta: #791f60;
  --lb-dpurple: #55257a;
  --lb-pink: #ff7dbc;
  --lb-lilac: #ca96ff;
  --lb-hot: #ff007a;
  --lb-cool: #00d1ff;
  --lb-white: #f3ecf6;
  --lb-gray: #e4dce8;
  --lb-text: #212121;

  --display: "Nickname", "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;
  --body: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --gutter: clamp(1rem, 4vw, 2.5rem);
  --maxw: 1200px;
  --radius: 22px;
  --radius-lg: 30px;
  --bounce: cubic-bezier(.34, 1.56, .64, 1);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --header-h: 76px;

  --torn-top: polygon(0 60%, 6% 22%, 13% 52%, 21% 14%, 30% 46%, 38% 8%, 47% 40%, 55% 16%, 64% 56%, 72% 22%, 81% 46%, 90% 10%, 100% 38%, 100% 100%, 0 100%);
  --torn-bot: polygon(0 0, 100% 0, 100% 52%, 92% 84%, 83% 50%, 74% 90%, 65% 58%, 57% 92%, 48% 62%, 39% 88%, 30% 50%, 21% 86%, 12% 56%, 5% 82%, 0 60%);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: clamp(1rem, .95rem + .25vw, 1.125rem);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
main { overflow-x: hidden; }
@supports (overflow: clip) { main { overflow-x: clip; } }
img, picture, svg, video { display: block; max-width: 100%; }
[hidden] { display: none !important; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
strong { font-weight: 700; }
::selection { background: var(--honey); color: var(--ink); }
:focus-visible { outline: 3px solid var(--berry); outline-offset: 3px; border-radius: 8px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }
.i--sm { width: .95em; height: .95em; }
.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-link {
  position: fixed; left: 1rem; top: -4rem; z-index: 200;
  background: var(--ink); color: #fff; padding: .7rem 1rem; border-radius: 12px; text-decoration: none; font-weight: 700;
  transition: top .2s;
}
.skip-link:focus { top: 1rem; }

.container { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }

.display {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: -.01em;
  line-height: .9;
  font-size: clamp(2.8rem, 1.6rem + 5vw, 5.6rem);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-weight: 800; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--berry);
  margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: currentColor; }
.eyebrow--honey { color: var(--honey); }
.lead { font-size: clamp(1.1rem, 1rem + .45vw, 1.35rem); line-height: 1.55; color: var(--ink); font-weight: 500; }

/* ---------- Buttons ---------- */
.btn {
  --b-bg: var(--honey); --b-fg: var(--ink); --b-edge: var(--honey-lo); --b-glow: rgba(239, 163, 50, .45);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 54px; padding: .85em 1.6em;
  border: 0; border-radius: 999px;
  background: var(--b-bg); color: var(--b-fg);
  font-family: var(--display); font-size: 1.15rem; letter-spacing: .02em; text-transform: uppercase; line-height: 1;
  text-decoration: none; white-space: nowrap;
  box-shadow: 0 5px 0 var(--b-edge), 0 14px 28px -10px var(--b-glow);
  transform: translateY(0);
  translate: var(--mag-x, 0) var(--mag-y, 0);
  transition: transform .25s var(--bounce), box-shadow .25s var(--bounce), background-color .2s, translate .35s var(--bounce);
  -webkit-tap-highlight-color: transparent;
}
.btn::after { /* glossy highlight */
  content: ""; position: absolute; inset: 3px 12% auto; height: 40%; border-radius: 999px;
  background: linear-gradient(rgba(255, 255, 255, .45), rgba(255, 255, 255, 0)); pointer-events: none;
}
.btn:hover { transform: translateY(-3px) rotate(-1.2deg) scale(1.03); box-shadow: 0 8px 0 var(--b-edge), 0 20px 34px -10px var(--b-glow); }
.btn:active { transform: translateY(4px) scale(.98); box-shadow: 0 1px 0 var(--b-edge), 0 6px 14px -8px var(--b-glow); transition-duration: .08s; }
.btn .i { width: 1.25em; height: 1.25em; }
.btn--sm { min-height: 42px; padding: .6em 1.15em; font-size: 1rem; box-shadow: 0 4px 0 var(--b-edge), 0 10px 20px -10px var(--b-glow); }
.btn--love { --b-bg: var(--berry); --b-fg: #fff; --b-edge: var(--berry-lo); --b-glow: rgba(224, 0, 118, .55); }
.btn--glass {
  --b-bg: rgba(255, 255, 255, .14); --b-fg: #fff; --b-edge: rgba(0, 0, 0, .25); --b-glow: rgba(0, 0, 0, .3);
  backdrop-filter: blur(10px) saturate(1.4); -webkit-backdrop-filter: blur(10px) saturate(1.4);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .45), 0 5px 0 var(--b-edge), 0 14px 28px -10px var(--b-glow);
}
.btn--glass:hover { --b-bg: rgba(255, 255, 255, .24); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .7), 0 8px 0 var(--b-edge), 0 20px 34px -10px var(--b-glow); }
.btn--glass::after { opacity: .35; }
/* Two-line call-to-action buttons: Steam, trailer, demo */
.btn--steam, .btn--trailer, .btn--demo { min-height: 60px; padding: .55rem 1.5rem .55rem .6rem; gap: .75rem; isolation: isolate; }
.btn__stack { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; line-height: 1; text-align: left; }
.btn__stack small { font-family: var(--body); font-size: .62rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; opacity: .85; }
.btn__stack b { font-weight: 400; font-size: 1.4rem; letter-spacing: .02em; }
.btn__badge, .btn__disc {
  position: relative; display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%;
  transition: transform .45s var(--bounce);
}
.btn__badge .i { width: 24px; height: 24px; }
.btn:hover .btn__badge { transform: rotate(-14deg) scale(1.08); }

.btn--steam {
  --b-bg: linear-gradient(135deg, #ff3d9a 0%, var(--berry) 45%, #b8005f 100%);
  --b-fg: #fff; --b-edge: #7d0044; --b-glow: rgba(224, 0, 118, .6);
}
.btn--steam .btn__badge { background: #fff; color: #1b2838; box-shadow: 0 3px 0 rgba(125, 0, 68, .5); }
.btn--steam { overflow: hidden; }
.btn--steam::before { /* light sweep (transform only, so it stays on the compositor) */
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 40%; z-index: -1;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .45) 50%, transparent);
  transform: translateX(-120%) skewX(-12deg);
  animation: sheen 4.5s ease-in-out 1.5s infinite;
}
@keyframes sheen { 0%, 60% { transform: translateX(-120%) skewX(-12deg); } 100% { transform: translateX(300%) skewX(-12deg); } }

.btn--trailer {
  --b-bg: rgba(255, 255, 255, .12); --b-fg: #fff; --b-edge: rgba(0, 0, 0, .28); --b-glow: rgba(0, 0, 0, .3);
  backdrop-filter: blur(10px) saturate(1.4); -webkit-backdrop-filter: blur(10px) saturate(1.4);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .45), 0 5px 0 var(--b-edge), 0 14px 28px -10px var(--b-glow);
}
.btn--trailer:hover { --b-bg: rgba(255, 255, 255, .2); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .75), 0 8px 0 var(--b-edge), 0 20px 34px -10px var(--b-glow); }
.btn--trailer::after { opacity: .3; }
.btn__disc { background: linear-gradient(145deg, #fff, #ffe3f0); color: var(--berry); box-shadow: 0 4px 12px -2px rgba(224, 0, 118, .55); }
.btn__disc .i { width: 20px; height: 20px; margin-left: 3px; }
.btn__disc::before, .btn__disc::after { /* pulsing rings */
  content: ""; position: absolute; inset: -2px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .75);
  animation: ring 2.4s var(--ease-out) infinite;
}
.btn__disc::after { animation-delay: 1.2s; }
@keyframes ring { from { transform: scale(1); opacity: .9; } to { transform: scale(1.7); opacity: 0; } }
.btn--trailer:hover .btn__disc { transform: scale(1.12); }

.btn--demo { --b-bg: linear-gradient(135deg, var(--honey-hi), var(--honey) 60%); --b-fg: var(--ink); --b-edge: var(--honey-lo); --b-glow: rgba(239, 163, 50, .5); }
.btn--demo .btn__badge { background: var(--ink); color: var(--honey); }

.link-arrow {
  display: inline-flex; align-items: center; gap: .45em;
  padding: 0; border: 0; background: none;
  font-weight: 700; font-size: .95rem; text-decoration: none; color: var(--honey);
}
.link-arrow .i { transition: transform .3s var(--bounce); }
.link-arrow:hover .i { transform: translateX(4px) scale(1.15); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  transition: background-color .35s, box-shadow .35s, transform .4s var(--ease-out);
}
.site-header::before { /* glass panel, faded in once scrolled */
  content: ""; position: absolute; inset: 0;
  background: rgba(251, 245, 236, .82);
  backdrop-filter: blur(14px) saturate(1.6); -webkit-backdrop-filter: blur(14px) saturate(1.6);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -18px rgba(29, 20, 36, .35);
  opacity: 0; transition: opacity .35s;
}
.site-header.is-scrolled::before { opacity: 1; }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__inner {
  position: relative; height: 100%;
  width: min(100% - 2 * var(--gutter), 1360px); margin-inline: auto;
  display: flex; align-items: center; gap: 1.5rem;
}
.brand {
  position: relative; align-self: flex-start; margin-top: 10px;
  width: 52px; transition: transform .45s var(--bounce), width .35s var(--ease-out);
  filter: drop-shadow(0 6px 10px rgba(60, 11, 49, .35));
}
.brand:hover { transform: rotate(-6deg) scale(1.06); }
.site-header.is-scrolled .brand { width: 36px; margin-top: 8px; }
.site-header.is-scrolled .brand img { /* stacked logo is tall: show just the buns once compact */
  height: 58px; object-fit: cover; object-position: top;
}

.nav { margin-left: auto; }
.nav__links { display: flex; gap: .3rem; }
.nav__links a {
  position: relative; display: inline-flex; align-items: center; gap: .3em;
  padding: .5rem .9rem; border-radius: 999px;
  font-family: var(--display); text-transform: uppercase; font-size: 1.05rem; letter-spacing: .03em; text-decoration: none;
  color: #fff; transition: color .3s, background-color .3s, transform .3s var(--bounce);
}
.nav__links a:hover { background: rgba(255, 255, 255, .16); transform: translateY(-2px); }
.nav__links a.is-current::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%;
  background: var(--honey);
}
.site-header.is-scrolled .nav__links a { color: var(--ink); }
.site-header.is-scrolled .nav__links a:hover { background: rgba(239, 163, 50, .2); }

.site-header__end { display: flex; align-items: center; gap: 1rem; }
.socials { display: flex; align-items: center; gap: .35rem; }
.socials a {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  color: #fff; text-decoration: none;
  transition: transform .35s var(--bounce), background-color .25s, color .25s;
}
.socials a:hover { transform: translateY(-3px) rotate(-8deg) scale(1.12); background: var(--honey); color: var(--ink); }
.site-header.is-scrolled .socials a { color: var(--ink); }

.menu-toggle {
  display: none; position: relative; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%;
  background: var(--honey); color: var(--ink);
  box-shadow: 0 4px 0 var(--honey-lo);
  transition: transform .3s var(--bounce);
}
.menu-toggle:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--honey-lo); }
.menu-toggle__bars { position: absolute; inset: 0; display: grid; place-content: center; gap: 5px; }
.menu-toggle__bars span { display: block; width: 20px; height: 2.5px; border-radius: 2px; background: currentColor; transition: transform .35s var(--bounce), opacity .2s; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  display: flex; flex-direction: column; justify-content: center; gap: 2rem;
  padding: calc(var(--header-h) + 1rem) var(--gutter) 2.5rem;
  background:
    radial-gradient(120% 60% at 100% 0%, rgba(224, 0, 118, .45), transparent 60%),
    radial-gradient(100% 60% at 0% 100%, rgba(239, 163, 50, .35), transparent 60%),
    var(--wine-lo);
  color: #fff;
  clip-path: circle(0 at calc(100% - 44px) 38px);
  transition: clip-path .6s var(--ease-out);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu.is-open { clip-path: circle(150% at calc(100% - 44px) 38px); }
.mobile-menu__links a {
  display: block; padding: .2rem 0;
  font-family: var(--display); text-transform: uppercase; text-decoration: none;
  font-size: clamp(2.6rem, 12vw, 4rem); line-height: 1.05;
  opacity: 0; transform: translateY(24px) rotate(-3deg);
  transition: opacity .4s, transform .6s var(--bounce), color .2s;
}
.mobile-menu__links a:hover { color: var(--honey); }
.mobile-menu.is-open .mobile-menu__links a { opacity: 1; transform: none; }
.mobile-menu.is-open li:nth-child(1) a { transition-delay: .12s; }
.mobile-menu.is-open li:nth-child(2) a { transition-delay: .17s; }
.mobile-menu.is-open li:nth-child(3) a { transition-delay: .22s; }
.mobile-menu.is-open li:nth-child(4) a { transition-delay: .27s; }
.mobile-menu .btn { align-self: flex-start; }
.socials--menu a { width: 52px; height: 52px; background: rgba(255, 255, 255, .1); }
.socials--menu .i { width: 1.4em; height: 1.4em; }
html.menu-open { overflow: hidden; }
html.menu-open .site-header::before { opacity: 0; }
html.menu-open .brand { width: 52px; }

/* ---------- Hero ---------- */
.hero {
  --mx: 0; --my: 0; --sy: 0;
  /* The bottom edge runs along the honey band's centre line (the band is rotated -2deg,
     so its centre drops tan(2deg) * 50vw = 1.746vw at the left edge and rises as much at
     the right). --band-c is how far above the hero's box bottom the band's centre sits. */
  --band-c: 1.3rem;
  position: relative; z-index: 1; isolation: isolate; overflow: visible;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--band-c) - 1.746vw), 0 calc(100% - var(--band-c) + 1.746vw));
  min-height: max(640px, 100vh); min-height: max(640px, 100svh);
  display: grid; place-items: center;
  padding: calc(var(--header-h) + 2rem) var(--gutter) clamp(9rem, 22vh, 13rem);
  color: #fff;
  background: var(--wine);
}
.hero__sky {
  position: absolute; inset: 0 0 -4rem; z-index: -3;
  background:
    radial-gradient(60% 55% at 50% 42%, rgba(255, 61, 154, .55), transparent 70%),
    radial-gradient(90% 70% at 50% 110%, rgba(60, 11, 49, .9), transparent 70%),
    linear-gradient(180deg, #5a1548 0%, var(--wine) 45%, #6a1a55 100%);
}
.hero__sky::after { /* film grain */
  content: ""; position: absolute; inset: 0; opacity: .14; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero__hearts {
  position: absolute; z-index: -2; left: -5%; top: -6%; width: 110%; height: 112%;
  transform: translate3d(calc(var(--mx) * -14px), calc(var(--my) * -10px + var(--sy) * .25px), 0);
  will-change: transform;
}
.hero__hearts img { width: 100%; height: 100%; object-fit: cover; opacity: .9; animation: hearts-drift 18s ease-in-out infinite alternate; }
@keyframes hearts-drift { to { transform: translateY(-2.5%) scale(1.04); } }

.hero__phone {
  --pw: clamp(240px, 31vw, 540px);
  position: absolute; z-index: -1; bottom: -14%;
  width: var(--pw);
  pointer-events: none;
  will-change: transform;
}
.hero__phone picture { display: block; animation: phone-in 1.1s var(--bounce) both; }
.hero__phone img { width: 100%; animation: bob 6s ease-in-out infinite; filter: drop-shadow(0 30px 40px rgba(30, 4, 26, .45)); }
.hero__phone--vampire {
  left: max(-7vw, calc(50% - 340px - var(--pw)));
  transform: translate3d(calc(var(--mx) * 22px), calc(var(--my) * 14px + var(--sy) * -.12px), 0) rotate(-6deg);
}
.hero__phone--human {
  right: max(-7vw, calc(50% - 340px - var(--pw)));
  transform: translate3d(calc(var(--mx) * 30px), calc(var(--my) * 18px + var(--sy) * -.18px), 0) rotate(6deg);
}
.hero__phone--human picture { animation-delay: .12s; }
.hero__phone--human img { animation-delay: -3s; animation-duration: 7s; }
@keyframes phone-in { from { transform: translateY(40%) rotate(var(--r, 0deg)); opacity: 0; } }
.hero__phone--vampire { --r: -8deg; }
.hero__phone--human { --r: 8deg; }
@keyframes bob { 50% { transform: translateY(-14px) rotate(.6deg); } }

.hero__content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  width: min(100%, 640px);
}
.hero__content::before { /* soft scrim keeps copy legible over the art */
  content: ""; position: absolute; inset: -12% -18%; z-index: -1;
  background: radial-gradient(closest-side, rgba(60, 11, 49, .62), rgba(60, 11, 49, 0));
  pointer-events: none;
}
.hero__title { display: flex; flex-direction: column; align-items: center; font-size: 1rem; font-weight: 400; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .45rem .95rem .45rem .5rem; border-radius: 999px;
  background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-family: var(--body); font-weight: 700; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
  animation: rise .8s var(--ease-out) both;
}
.hero__eyebrow img { width: 26px; height: auto; animation: wiggle 3.2s ease-in-out infinite; }
@keyframes wiggle { 0%, 70%, 100% { transform: rotate(0); } 78% { transform: rotate(-12deg); } 86% { transform: rotate(9deg); } 93% { transform: rotate(-4deg); } }
.hero__logo {
  display: block; width: min(560px, 88vw); margin: .5rem 0 .25rem;
  filter: drop-shadow(0 18px 30px rgba(60, 11, 49, .55));
  animation: logo-pop 1s var(--bounce) .1s both;
}
.hero__logo img { width: 100%; transition: transform .5s var(--bounce); }
.hero__logo:hover img { transform: rotate(-2deg) scale(1.03); }
@keyframes logo-pop { from { transform: scale(.7) rotate(-6deg); } }
.hero__lede {
  max-width: 34em; margin-top: .5rem;
  font-size: clamp(1rem, .95rem + .35vw, 1.2rem); line-height: 1.55; color: rgba(255, 255, 255, .92);
  text-shadow: 0 2px 16px rgba(60, 11, 49, .6);
  animation: rise .8s var(--ease-out) .25s both;
}
.hero__lede strong { color: #fff; font-weight: 800; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 1.1rem; margin-top: 1.75rem; animation: rise .8s var(--ease-out) .35s both; }
.hero__demo {
  display: inline-flex; align-items: center; gap: .55em; margin-top: 1.3rem;
  padding: .35rem .9rem .35rem .4rem; border-radius: 999px;
  font-weight: 600; font-size: .9rem; color: rgba(255, 255, 255, .88); text-decoration: none;
  background: rgba(29, 20, 36, .28); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18);
  animation: rise .8s var(--ease-out) .45s both;
  transition: color .2s, background-color .2s, box-shadow .2s;
}
.hero__demo strong { color: var(--honey-hi); font-weight: 800; }
.hero__demo-icon {
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--honey); color: var(--ink); transition: transform .4s var(--bounce);
}
.hero__demo-icon .i { width: 16px; height: 16px; }
.hero__demo:hover { color: #fff; background: rgba(29, 20, 36, .45); box-shadow: inset 0 0 0 1px rgba(239, 163, 50, .7); }
.hero__demo:hover .hero__demo-icon { transform: rotate(-12deg) scale(1.12); }
.hero__demo-arrow { transition: transform .3s var(--bounce); }
.hero__demo:hover .hero__demo-arrow { transform: translateX(4px); }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

.hero__scroll {
  position: absolute; z-index: 3; left: 50%; bottom: clamp(4.2rem, 9vh, 5.5rem);
  width: 28px; height: 44px; margin-left: -14px; border-radius: 16px;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .7);
}
.hero__scroll span { position: absolute; left: 50%; top: 9px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: scroll-dot 1.8s ease-in-out infinite; }
@keyframes scroll-dot { 0% { opacity: 0; transform: translateY(-4px); } 40% { opacity: 1; } 80%, 100% { opacity: 0; transform: translateY(14px); } }

/* Heart burst particles (spawned by JS on click) */
.burst {
  position: fixed; z-index: 150; width: 18px; height: 18px; margin: -9px 0 0 -9px; pointer-events: none;
  color: var(--berry-hi);
  animation: burst .9s var(--ease-out) forwards;
}
.burst svg { width: 100%; height: 100%; fill: currentColor; }
@keyframes burst {
  0% { opacity: 1; transform: translate(0, 0) scale(.3) rotate(0); }
  100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(var(--s, 1)) rotate(var(--rot, 20deg)); }
}

/* ---------- Marquee ---------- */
.marquee {
  position: relative; z-index: 5;
  margin-top: -3.2rem; margin-inline: -2vw;
  padding: .9rem 0;
  background: var(--honey); color: var(--ink);
  transform: rotate(-2deg);
  box-shadow: 0 14px 30px -14px rgba(60, 11, 49, .5), inset 0 -4px 0 rgba(0, 0, 0, .08);
  overflow: hidden;
}
.marquee__track {
  display: flex; align-items: center; width: max-content;
  font-family: var(--display); text-transform: uppercase; font-size: clamp(1.2rem, 1rem + 1vw, 1.75rem); line-height: 1;
  white-space: nowrap;
  animation: marquee 32s linear infinite;
}
.marquee__group { display: flex; flex: none; align-items: center; gap: 1.5rem; padding-right: 1.5rem; }
.marquee__track .i { width: .9em; height: .9em; color: var(--berry); }
.marquee:hover .marquee__track { animation-play-state: paused; }
.js-marquee .marquee__track { animation: none; will-change: transform; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Studio ---------- */
.studio { --edge: var(--paper); position: relative; padding: clamp(5rem, 10vw, 8.5rem) 0 clamp(7rem, 12vw, 10rem); background: var(--paper); }
.studio__grid { display: grid; grid-template-columns: 5fr 6fr; align-items: center; gap: clamp(2rem, 6vw, 6rem); }
.studio__mascot { position: relative; justify-self: center; width: min(440px, 80vw); }
.studio__blob {
  position: absolute; inset: 6% 2% 0; z-index: 0;
  background: radial-gradient(circle at 35% 30%, var(--honey-hi), var(--honey) 55%, var(--honey-lo));
  opacity: .22;
  border-radius: 42% 58% 62% 38% / 45% 40% 60% 55%;
  animation: blob 12s ease-in-out infinite alternate;
}
@keyframes blob { to { transform: rotate(14deg) scale(1.06); } }
.studio__capy {
  position: relative; z-index: 1; width: 100%;
  filter: drop-shadow(0 26px 30px rgba(199, 125, 22, .35));
  animation: float 5.5s ease-in-out infinite;
  cursor: pointer; transform-origin: 50% 90%;
}
.studio__capy.is-booped { animation: boop .6s var(--bounce); }
@keyframes float { 50% { transform: translateY(-16px) rotate(-1.5deg); } }
@keyframes boop { 0% { transform: scale(1, 1); } 30% { transform: scale(1.12, .86); } 60% { transform: scale(.94, 1.08); } 100% { transform: scale(1, 1); } }
.studio__spark { position: absolute; z-index: 2; color: var(--berry); animation: twinkle 3s ease-in-out infinite; }
.studio__spark--1 { width: 34px; height: 34px; top: 4%; right: 6%; }
.studio__spark--2 { width: 26px; height: 26px; top: 40%; left: -2%; color: var(--honey); animation-delay: -1s; }
.studio__spark--3 { width: 20px; height: 20px; bottom: 10%; right: 0; animation-delay: -2s; }
@keyframes twinkle { 50% { transform: scale(.6) rotate(20deg); opacity: .5; } }
.studio__copy > * + * { margin-top: 1.1rem; }
.studio__copy p:not(.lead):not(.eyebrow) { color: var(--ink-2); max-width: 36em; }
.studio__copy p a {
  white-space: nowrap; font-weight: 700; color: var(--ink); text-decoration: none;
  background: linear-gradient(var(--honey), var(--honey)) 0 100% / 100% 3px no-repeat;
  transition: background-size .3s var(--ease-out), color .2s;
}
.studio__copy p a:hover { background-size: 100% 100%; }
.studio__title { display: flex; flex-direction: column; margin-top: 0; }
.studio__title > span:first-child { font-size: .5em; }
.studio__hbg {
  font-size: 1.65em; color: var(--honey);
  -webkit-text-stroke: 0;
  text-shadow: 0 .06em 0 var(--honey-lo), 0 .12em 0 rgba(29, 20, 36, .12);
}
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; margin-top: 2rem !important; }
.facts li {
  padding: 1rem 1.1rem; border-radius: 18px;
  background: #fff; box-shadow: 0 1px 0 var(--line), 0 18px 30px -24px rgba(29, 20, 36, .4);
  transition: transform .35s var(--bounce);
}
.facts li:hover { transform: translateY(-4px) rotate(-1deg); }
.facts__k { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.facts__v { display: block; margin-top: .2rem; font-weight: 700; line-height: 1.3; }

.team { margin-top: 1.6rem !important; }
.team__title { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: .6rem; }
.team__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.team__card {
  position: relative; display: flex; flex-direction: column; gap: .15rem; height: 100%;
  padding: .9rem 2.2rem .9rem 1rem; border-radius: 18px; text-decoration: none;
  background: var(--ink); color: #fff;
  box-shadow: 0 4px 0 var(--honey), 0 18px 30px -22px rgba(29, 20, 36, .7);
  transition: transform .4s var(--bounce), box-shadow .3s;
}
.team__card:hover { transform: translateY(-4px) rotate(-1.5deg); box-shadow: 0 7px 0 var(--honey), 0 24px 34px -22px rgba(29, 20, 36, .8); }
.team__role { font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--honey); }
.team__name { font-weight: 700; line-height: 1.25; }
.team__go { position: absolute; right: .9rem; top: .95rem; color: rgba(255, 255, 255, .55); transition: transform .3s var(--bounce), color .2s; }
.team__card:hover .team__go { color: var(--honey); transform: translate(2px, -2px); }

/* ---------- Torn paper edges ---------- */
.studio::before, .games::before, .contact::before, .site-footer::before {
  content: ""; position: absolute; left: 0; right: 0; top: -39px; height: 40px;
  background: var(--edge);
  clip-path: var(--torn-top);
  pointer-events: none;
}

/* ---------- Games ---------- */
.games {
  --edge: var(--night);
  position: relative; isolation: isolate;
  padding: clamp(4rem, 8vw, 6.5rem) 0 clamp(6rem, 10vw, 8.5rem);
  background:
    radial-gradient(50% 40% at 85% 10%, rgba(224, 0, 118, .28), transparent 70%),
    radial-gradient(45% 35% at 5% 55%, rgba(120, 70, 220, .28), transparent 70%),
    radial-gradient(50% 30% at 70% 100%, rgba(239, 163, 50, .14), transparent 70%),
    var(--night);
  color: #fff;
}
.games__stars {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .8;
  background-image:
    radial-gradient(1.5px 1.5px at 20px 30px, #fff, transparent),
    radial-gradient(1px 1px at 120px 80px, #fff, transparent),
    radial-gradient(1.5px 1.5px at 200px 160px, rgba(255, 220, 160, .9), transparent),
    radial-gradient(1px 1px at 60px 200px, #fff, transparent),
    radial-gradient(2px 2px at 260px 40px, rgba(255, 180, 220, .9), transparent),
    radial-gradient(1px 1px at 300px 240px, #fff, transparent);
  background-size: 320px 280px;
  animation: stars-twinkle 5s ease-in-out infinite alternate;
}
.games__stars::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(1px 1px at 40px 120px, #fff, transparent),
    radial-gradient(1.5px 1.5px at 170px 20px, #fff, transparent),
    radial-gradient(1px 1px at 230px 200px, rgba(255, 220, 160, .9), transparent);
  background-size: 260px 240px;
  animation: stars-twinkle 3.5s ease-in-out -2s infinite alternate;
}
@keyframes stars-twinkle { from { opacity: .45; } to { opacity: 1; } }
.section-head { text-align: center; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head .eyebrow { justify-content: center; }

.feature {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(1.75rem, 4vw, 3.5rem); align-items: center;
  padding: clamp(1rem, 2.5vw, 1.75rem);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 40px 80px -40px rgba(0, 0, 0, .7);
}
.feature__media { min-width: 0; }
.feature__frame, .card__media {
  --rx: 0deg; --ry: 0deg; --gx: 50%; --gy: 50%; --go: 0;
  position: relative; display: block; overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 16 / 9;
  background: var(--night-2);
  transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .5s var(--ease-out), box-shadow .5s;
  box-shadow: 0 30px 60px -30px rgba(224, 0, 118, .55), 0 0 0 1px rgba(255, 255, 255, .08);
}
.feature__frame.is-tilting, .card__media.is-tilting { transition: transform .1s linear, box-shadow .5s; }
.feature__frame > [data-gallery-main], .feature__frame > [data-gallery-main] img, .card__media picture, .card__media img { width: 100%; height: 100%; }
.feature__frame > [data-gallery-main] img, .card__media img { object-fit: cover; transition: transform .7s var(--ease-out), opacity .35s; }
.feature__frame:hover > [data-gallery-main] img, .card__media:hover img { transform: scale(1.05); }
.feature__frame > [data-gallery-main] img.is-swapping { opacity: 0; }
.feature__badge img { width: 100%; }
.card__media--top img { object-position: 50% 0; }
.feature__glare {
  position: absolute; inset: 0; pointer-events: none; opacity: var(--go); transition: opacity .4s;
  background: radial-gradient(circle at var(--gx) var(--gy), rgba(255, 255, 255, .38), rgba(255, 255, 255, 0) 55%);
  mix-blend-mode: soft-light;
}
.feature__badge {
  position: absolute; right: 4%; bottom: 6%; width: 22%; z-index: 1;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .45));
  transform: translateZ(40px) rotate(4deg);
  transition: transform .5s var(--bounce);
}
.feature__frame:hover .feature__badge { transform: translateY(-6px) rotate(-3deg) scale(1.08); }
.thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .6rem; margin-top: .8rem; }
.thumb {
  display: block; width: 100%; padding: 0; border: 0; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 9;
  background: var(--night-2); opacity: .55;
  box-shadow: 0 0 0 2px transparent;
  transition: opacity .25s, box-shadow .25s, transform .35s var(--bounce);
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover { opacity: .9; transform: translateY(-3px); }
.thumb.is-active { opacity: 1; box-shadow: 0 0 0 2px var(--honey); }

.feature__body > * + * { margin-top: 1rem; }
.feature__body p { color: rgba(255, 255, 255, .78); }
.tags { display: flex; flex-wrap: wrap; gap: .45rem; }
.tags li {
  padding: .3rem .75rem; border-radius: 999px;
  font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  background: rgba(224, 0, 118, .18); color: #ffb3d6; box-shadow: inset 0 0 0 1px rgba(255, 61, 154, .35);
}
.feature__title {
  font-family: var(--display); font-weight: 400; text-transform: uppercase; line-height: .95;
  font-size: clamp(2.3rem, 1.6rem + 2.6vw, 3.6rem);
  background: linear-gradient(100deg, #fff 20%, #ffb3d6 60%, var(--berry-hi));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.perks { display: grid; gap: .65rem; }
.perks li { display: flex; gap: .7rem; align-items: flex-start; font-size: .95rem; color: rgba(255, 255, 255, .78); line-height: 1.5; }
.perks strong { color: #fff; }
.perks .i { margin-top: .2em; color: var(--berry-hi); }
.platforms { display: flex; flex-wrap: wrap; gap: .4rem; }
.platforms span {
  font-size: .78rem; font-weight: 700; letter-spacing: .06em; padding: .2rem .6rem; border-radius: 8px;
  background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .85);
}
.feature__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; padding-top: .6rem; }
.feature__actions .btn--steam { grid-column: 1 / -1; }
.feature__actions .btn { font-size: 1.02rem; }

.games__sub {
  margin: clamp(3.5rem, 7vw, 5rem) 0 1.5rem;
  font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.3rem);
  display: flex; align-items: center; gap: 1rem;
}
.games__sub::after { content: ""; flex: 1; height: 2px; background: linear-gradient(90deg, rgba(255, 255, 255, .25), transparent); }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2rem); }
.card {
  display: flex; flex-direction: column;
  border-radius: var(--radius-lg); padding: .8rem;
  background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09);
  transition: background-color .3s, transform .45s var(--bounce);
}
.card:hover { background: rgba(255, 255, 255, .08); transform: translateY(-6px); }
.card__media { box-shadow: 0 24px 50px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .08); }
.card__ribbon {
  position: absolute; left: 12px; top: 12px; z-index: 1;
  display: inline-flex; align-items: center; gap: .4em;
  padding: .35rem .75rem; border-radius: 999px;
  background: var(--honey); color: var(--ink);
  font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  box-shadow: 0 3px 0 var(--honey-lo);
  transform: rotate(-3deg);
}
.card__body { padding: 1.1rem .6rem .5rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.card__meta { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.card__title { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); line-height: 1; }
.card__title a { text-decoration: none; transition: color .2s; }
.card__title a:hover { color: var(--honey); }
.card__body p:not(.card__meta) { color: rgba(255, 255, 255, .72); font-size: .95rem; }
.card__actions { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin-top: auto; padding-top: .4rem; }

/* ---------- Contact ---------- */
.contact {
  --edge: var(--paper);
  position: relative;
  padding: clamp(5rem, 9vw, 7.5rem) 0 clamp(7rem, 12vw, 10rem);
  background: var(--paper);
}
.contact__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.contact__copy > * + * { margin-top: 1.2rem; }
.contact__title { display: flex; flex-direction: column; }
.contact__title > span:last-child { color: var(--berry); }
.contact .lead { max-width: 30em; color: var(--ink-2); font-weight: 500; }

.mailcard {
  display: flex; align-items: stretch; gap: .5rem; max-width: 640px;
  margin-top: 2rem !important; padding: .5rem;
  border-radius: 26px; background: #fff;
  box-shadow: 0 0 0 2px var(--ink), 0 8px 0 var(--ink), 0 30px 40px -25px rgba(121, 31, 96, .5);
  transition: transform .35s var(--bounce), box-shadow .35s var(--bounce);
}
.mailcard:hover { transform: translateY(-3px) rotate(-.6deg); box-shadow: 0 0 0 2px var(--ink), 0 11px 0 var(--ink), 0 36px 44px -25px rgba(121, 31, 96, .55); }
.mailcard__link { flex: 1; min-width: 0; display: flex; align-items: center; gap: .9rem; padding: .55rem .6rem; border-radius: 20px; text-decoration: none; }
.mailcard__icon {
  display: grid; place-items: center; flex: none; width: 54px; height: 54px; border-radius: 16px;
  background: var(--berry); color: #fff;
  box-shadow: 0 4px 0 var(--berry-lo);
  transition: transform .4s var(--bounce);
}
.mailcard__icon .i { width: 26px; height: 26px; }
.mailcard__link:hover .mailcard__icon { transform: rotate(-10deg) scale(1.1); }
.mailcard__text { display: flex; flex-direction: column; min-width: 0; }
.mailcard__label { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.mailcard__addr {
  font-weight: 800; font-size: clamp(1rem, .8rem + .8vw, 1.2rem); color: var(--ink);
  overflow-wrap: anywhere; line-height: 1.3;
  background: linear-gradient(var(--honey), var(--honey)) 0 100% / 0 3px no-repeat;
  transition: background-size .4s var(--ease-out);
}
.mailcard__link:hover .mailcard__addr { background-size: 100% 3px; }
.mailcard__copy {
  flex: none; display: inline-flex; align-items: center; gap: .4rem;
  padding: 0 1.1rem; border: 0; border-radius: 20px;
  background: var(--paper-2); font-weight: 800; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em;
  transition: background-color .2s, transform .3s var(--bounce);
}
.mailcard__copy:hover { background: var(--honey); }
.mailcard__copy:active { transform: scale(.94); }
.mailcard__copy.is-copied { background: #2bb673; color: #fff; }

.social-tiles { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.5rem !important; }
.social-tiles a {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .7rem 1.1rem; border-radius: 999px;
  background: #fff; text-decoration: none; font-weight: 700; font-size: .95rem;
  box-shadow: 0 0 0 1.5px var(--line), 0 10px 20px -16px rgba(29, 20, 36, .5);
  transition: transform .35s var(--bounce), background-color .2s, color .2s, box-shadow .2s;
}
.social-tiles a:hover { transform: translateY(-4px) rotate(-2deg); background: var(--ink); color: #fff; box-shadow: 0 4px 0 var(--honey); }
.social-tiles .i { width: 1.25em; height: 1.25em; }

.contact__art { position: relative; justify-self: center; width: min(400px, 78vw); }
.contact__halo {
  position: absolute; inset: 8% -6% 4%; border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 0, 118, .35), rgba(224, 0, 118, 0) 65%);
  filter: blur(10px);
}
.contact__phone { position: relative; display: block; transform: rotate(5deg); }
.contact__phone img { width: 100%; animation: bob 6.5s ease-in-out infinite; filter: drop-shadow(0 30px 40px rgba(60, 11, 49, .35)); }
.bubble {
  position: absolute; z-index: 1;
  padding: .7rem 1rem; border-radius: 20px;
  font-weight: 700; font-size: .95rem; white-space: nowrap;
  box-shadow: 0 16px 30px -14px rgba(60, 11, 49, .45);
  display: inline-flex; align-items: center; gap: .4rem;
  animation: bubble-float 4s ease-in-out infinite;
}
.bubble--1 { left: -14%; top: 18%; background: #fff; color: var(--ink); border-bottom-left-radius: 6px; }
.bubble--2 { right: -8%; top: 46%; background: var(--berry); color: #fff; border-bottom-right-radius: 6px; animation-delay: -2s; }
.bubble--2 .i { width: 1em; height: 1em; animation: heartbeat 1.2s ease-in-out infinite; }
@keyframes bubble-float { 50% { transform: translateY(-10px) rotate(-1.5deg); } }
@keyframes heartbeat { 0%, 100% { transform: scale(1); } 20% { transform: scale(1.35); } 40% { transform: scale(.95); } 60% { transform: scale(1.2); } }

/* ---------- Footer ---------- */
.site-footer {
  --edge: var(--ink);
  position: relative; isolation: isolate; /* lets the peeking bun sit behind the torn edge */
  padding: clamp(3.5rem, 7vw, 5rem) 0 2rem;
  background: var(--ink); color: rgba(255, 255, 255, .78);
  font-size: .95rem;
}
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr auto; gap: 2.5rem; align-items: start; }
.site-footer__logo { display: inline-block; width: 150px; transition: transform .45s var(--bounce); }
.site-footer__logo:hover { transform: rotate(-4deg) scale(1.05); }
.site-footer__brand p { margin-top: 1rem; max-width: 22em; }
.site-footer__brand a { white-space: nowrap; text-decoration-color: var(--honey); text-underline-offset: 4px; transition: color .2s; }
.site-footer__brand a:hover { color: #fff; }
.site-footer__h { font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--honey); margin-bottom: .9rem; }
.site-footer__nav ul:not(.socials) { display: grid; gap: .45rem; }
.site-footer__nav a { text-decoration: none; transition: color .2s; overflow-wrap: anywhere; }
.site-footer__nav ul:not(.socials) a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--honey); text-underline-offset: 4px; }
.socials--footer { margin-top: 1rem; margin-left: -.5rem; }
.socials--footer a { color: #fff; }
.site-footer__game { display: block; width: 110px; transition: transform .45s var(--bounce); }
.site-footer__game:hover { transform: rotate(6deg) scale(1.08); }
.site-footer__base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .85rem; color: rgba(255, 255, 255, .55);
}
.site-footer__top { display: inline-flex; align-items: center; gap: .4em; text-decoration: none; font-weight: 700; color: rgba(255, 255, 255, .8); }
.site-footer__top .i { transform: rotate(-90deg); transition: transform .3s var(--bounce); }
.site-footer__top:hover .i { transform: rotate(-90deg) translateX(4px); }

/* ---------- Trailer dialog ---------- */
.trailer {
  width: min(1100px, 94vw); max-width: none; max-height: none; padding: 0; border: 0; overflow: visible;
  background: transparent; color: #fff;
}
.trailer::backdrop { background: rgba(18, 10, 31, .82); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.trailer[open] { animation: pop-in .45s var(--bounce); }
.trailer[open]::backdrop { animation: fade-in .3s ease; }
@keyframes pop-in { from { opacity: 0; transform: scale(.85) translateY(20px); } }
@keyframes fade-in { from { opacity: 0; } }
.trailer__inner { position: relative; }
.trailer__frame { aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: #000; box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .8); }
.trailer__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.trailer__close {
  position: absolute; right: -6px; top: -56px; width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: var(--honey); color: var(--ink); font-size: 1.8rem; line-height: 1;
  box-shadow: 0 4px 0 var(--honey-lo);
  transition: transform .3s var(--bounce);
}
.trailer__close:hover { transform: rotate(90deg) scale(1.08); }

/* ---------- Scroll progress ---------- */
.progress { position: fixed; inset: 0 0 auto; z-index: 120; height: 3px; pointer-events: none; }
.progress span {
  display: block; height: 100%; transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--honey), var(--lb-hot), var(--lb-lilac));
  box-shadow: 0 0 12px rgba(255, 0, 122, .6);
}

/* ---------- Split-letter headings ---------- */
.split .w { display: inline-block; white-space: nowrap; }
.split .ch { display: inline-block; transform-origin: 50% 90%; }
.js .split .ch {
  opacity: 0; transform: translateY(.55em) rotate(12deg) scale(.5);
  transition: opacity .35s ease calc(var(--i) * 28ms), transform .8s var(--bounce) calc(var(--i) * 28ms);
}
.js .split.is-in .ch { opacity: 1; transform: none; }
.split .ch.is-jelly { animation: jelly .6s var(--bounce); }
@keyframes jelly {
  0% { transform: scale(1, 1); }
  30% { transform: scale(1.25, .78) translateY(-.08em); }
  55% { transform: scale(.88, 1.14) translateY(-.16em) rotate(-6deg); }
  80% { transform: scale(1.05, .96); }
  100% { transform: scale(1, 1); }
}

/* ---------- Hero: rising hearts + pointer trail ---------- */
.hero__float { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.hero__float i {
  position: absolute; bottom: -40px; left: var(--x); width: var(--s); height: var(--s);
  background: var(--c, rgba(255, 125, 188, .55));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-7.5-4.6-9.6-9.3C.9 8.3 3 4.5 6.7 4.5c2.2 0 3.7 1.3 4.6 2.6.3.4 1 .4 1.3 0 .9-1.3 2.4-2.6 4.6-2.6 3.7 0 5.8 3.8 4.3 7.2C19.5 16.4 12 21 12 21Z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-7.5-4.6-9.6-9.3C.9 8.3 3 4.5 6.7 4.5c2.2 0 3.7 1.3 4.6 2.6.3.4 1 .4 1.3 0 .9-1.3 2.4-2.6 4.6-2.6 3.7 0 5.8 3.8 4.3 7.2C19.5 16.4 12 21 12 21Z'/%3E%3C/svg%3E") center / contain no-repeat;
  animation: rise-heart var(--d, 12s) linear var(--delay, 0s) infinite;
}
.hero__float i:nth-child(1) { --x: 8%; --s: 18px; --d: 13s; --delay: -2s; }
.hero__float i:nth-child(2) { --x: 18%; --s: 12px; --d: 10s; --delay: -7s; --c: rgba(239, 163, 50, .6); }
.hero__float i:nth-child(3) { --x: 29%; --s: 22px; --d: 15s; --delay: -11s; }
.hero__float i:nth-child(4) { --x: 41%; --s: 10px; --d: 9s; --delay: -4s; --c: rgba(202, 150, 255, .6); }
.hero__float i:nth-child(5) { --x: 52%; --s: 16px; --d: 12s; --delay: -9s; }
.hero__float i:nth-child(6) { --x: 63%; --s: 13px; --d: 11s; --delay: -1s; --c: rgba(239, 163, 50, .6); }
.hero__float i:nth-child(7) { --x: 72%; --s: 24px; --d: 16s; --delay: -6s; }
.hero__float i:nth-child(8) { --x: 81%; --s: 11px; --d: 10s; --delay: -13s; --c: rgba(202, 150, 255, .6); }
.hero__float i:nth-child(9) { --x: 90%; --s: 17px; --d: 14s; --delay: -3s; }
.hero__float i:nth-child(10) { --x: 96%; --s: 12px; --d: 12s; --delay: -8s; --c: rgba(239, 163, 50, .6); }
@keyframes rise-heart {
  0% { transform: translate(0, 0) rotate(-10deg); opacity: 0; }
  10% { opacity: 1; }
  50% { transform: translate(24px, -55vh) rotate(12deg); }
  90% { opacity: .9; }
  100% { transform: translate(-12px, -110vh) rotate(-8deg); opacity: 0; }
}
.trail {
  position: fixed; z-index: 140; width: 14px; height: 14px; margin: -7px 0 0 -7px; pointer-events: none;
  color: var(--lb-pink); animation: trail .9s var(--ease-out) forwards;
}
.trail svg { width: 100%; height: 100%; fill: currentColor; }
@keyframes trail { from { opacity: .95; transform: scale(.4); } to { opacity: 0; transform: translateY(-34px) scale(1.15) rotate(var(--rot, 15deg)); } }

/* ---------- Mini demo: swipe ---------- */
.swipe {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(6rem, 11vw, 9rem) 0 clamp(6rem, 10vw, 8rem);
  margin-top: -2.4rem;
  background: linear-gradient(180deg, var(--lb-purple), var(--lb-bgplum));
  color: #fff;
}
.swipe::before { /* heart wallpaper, like the game's backgrounds */
  content: ""; position: absolute; inset: -180px 0 0; z-index: -2; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90' viewBox='0 0 90 90'%3E%3Cpath fill='%23ff7dbc' d='M22 38s-10-6.1-12.8-12.4C7.2 21.1 10 16 15 16c2.9 0 4.9 1.7 6.1 3.5.4.5 1.3.5 1.7 0C24 17.7 26 16 29 16c5 0 7.7 5.1 5.7 9.6C32 31.9 22 38 22 38Z'/%3E%3Cpath fill='%23ca96ff' d='M66 80s-7.5-4.6-9.6-9.3c-1.5-3.4.6-7.2 4.3-7.2 2.2 0 3.7 1.3 4.6 2.6.3.4 1 .4 1.3 0 .9-1.3 2.4-2.6 4.6-2.6 3.7 0 5.8 3.8 4.3 7.2C73.5 75.4 66 80 66 80Z'/%3E%3C/svg%3E");
  background-size: 90px 90px;
  will-change: transform;
  animation: wallpaper 30s linear infinite;
}
@keyframes wallpaper { to { transform: translate3d(0, 180px, 0); } }
.swipe__glow {
  position: absolute; z-index: -1; right: 8%; top: 18%; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 0, 122, .32), rgba(255, 0, 122, .12) 40%, transparent 68%);
  animation: glow-pulse 6s ease-in-out infinite alternate;
}
@keyframes glow-pulse { to { transform: scale(1.15) translate(-20px, 20px); opacity: .7; } }
.swipe__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.eyebrow--pink { color: var(--lb-pink); }
.swipe__title { font-size: clamp(2.6rem, 1.5rem + 4.4vw, 5rem); }
.swipe .lead { color: rgba(255, 255, 255, .88); max-width: 30em; margin-top: 1.25rem; }
.swipe__how { display: grid; gap: .8rem; margin: 2rem 0 0; padding: 0; list-style: none; max-width: 30em; }
.swipe__how li { display: flex; gap: .9rem; align-items: center; color: rgba(255, 255, 255, .82); }
.swipe__how strong { color: #fff; }
.swipe__how em { font-style: normal; font-weight: 700; color: var(--lb-lilac); }
.swipe__num {
  position: relative; display: grid; place-items: center; flex: none; width: 38px; height: 51px;
  filter: drop-shadow(0 6px 10px rgba(120, 0, 20, .55));
  transition: transform .45s var(--bounce);
}
.swipe__num svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: url(#blood) #c40f2e; }
.swipe__num::before { /* glossy highlight */
  content: ""; position: absolute; z-index: 1; left: 18%; top: 42%; width: 6px; height: 12px; border-radius: 50%;
  background: rgba(255, 255, 255, .6); transform: rotate(18deg);
}
.swipe__num b { position: relative; z-index: 1; margin-top: 16px; font-family: var(--display); font-weight: 400; font-size: 1.3rem; color: #fff; text-shadow: 0 2px 0 rgba(90, 0, 15, .55); }
.swipe__num i { /* the drip */
  position: absolute; left: 50%; bottom: 2px; width: 6px; height: 8px; margin-left: -3px;
  border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%; background: #a50d27;
  opacity: 0; animation: drip-fall 3.6s cubic-bezier(.55, 0, .9, .5) infinite;
}
.swipe__how li:nth-child(1) .swipe__num { transform: rotate(-8deg); }
.swipe__how li:nth-child(2) .swipe__num { transform: rotate(6deg); }
.swipe__how li:nth-child(2) .swipe__num i { animation-delay: 1.2s; }
.swipe__how li:nth-child(3) .swipe__num { transform: rotate(-3deg); }
.swipe__how li:nth-child(3) .swipe__num i { animation-delay: 2.4s; }
.swipe__how li:hover .swipe__num { transform: scale(1.15) rotate(0); }
@keyframes drip-fall {
  0%, 55% { opacity: 0; transform: translateY(0) scaleY(.6); }
  62% { opacity: 1; transform: translateY(2px) scaleY(1.1); }
  100% { opacity: 0; transform: translateY(26px) scaleY(1.3); }
}
.swipe__note { margin-top: 1.5rem; font-size: .9rem; color: rgba(255, 255, 255, .6); }

.phone {
  position: relative;
  width: min(360px, 88vw);
  height: max(560px, min(720px, calc(min(360px, 88vw) * 2.05), calc(100vh - 110px)));
  height: max(560px, min(720px, calc(min(360px, 88vw) * 2.05), calc(100svh - 110px)));
  padding: 10px; border-radius: 52px;
  background: linear-gradient(145deg, #4a2a7a, #1c0d33);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .12), 0 50px 80px -30px rgba(0, 0, 0, .7), 0 0 90px -20px rgba(255, 0, 122, .55);
  transform: rotate(2.5deg);
  transition: transform .6s var(--bounce);
}
.phone:hover { transform: rotate(0); }
.phone::before { /* notch */
  content: ""; position: absolute; z-index: 5; left: 50%; top: 18px; width: 92px; height: 24px; margin-left: -46px;
  border-radius: 14px; background: #0d0523;
}
.phone__screen {
  position: relative; height: 100%; overflow: hidden; border-radius: 42px;
  display: flex; flex-direction: column;
  padding: 50px 16px 18px;
  background: linear-gradient(180deg, var(--lb-purple), var(--lb-bgplum));
  font-family: "Dosis", var(--body);
  user-select: none; -webkit-user-select: none;
}
.app-top { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .55rem .5rem; }
.app-night { font-weight: 700; font-size: 1.35rem; line-height: 1; }
.app-night b { font-size: 1.75rem; font-weight: 800; }
.app-home .i { width: 28px; height: 28px; }
.app-thirst { grid-column: 1 / -1; display: flex; align-items: center; gap: .45rem; }
.app-thirst__drop { width: 20px; height: 20px; color: var(--lb-hot); }
.app-thirst.is-pulse .app-thirst__drop { animation: heartbeat .9s ease-in-out; }
.app-thirst__bar {
  position: relative; flex: 1; height: 14px; border-radius: 99px; overflow: hidden;
  background: var(--lb-navy);
}
.app-thirst__bar span {
  position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(var(--t, .5));
  background: linear-gradient(90deg, var(--lb-cool), var(--lb-dpurple) 45%, var(--lb-hot));
  transition: transform .8s var(--bounce);
}
.app-thirst__bar::after { /* segment ticks */
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(90deg, transparent 0 calc(20% - 3px), var(--lb-navy) calc(20% - 3px) 20%);
}
.app-queue { grid-column: 1 / -1; display: flex; gap: 4px; }
.app-queue svg { width: 18px; height: 18px; fill: var(--lb-lilac); transition: fill .3s, transform .4s var(--bounce); }
.app-queue svg.is-done { fill: var(--lb-navy); transform: scale(.85); }

.deck { position: relative; flex: 1; margin: 14px 0 12px; outline: none; touch-action: pan-y; }
.deck:focus-visible { outline: 3px dashed var(--lb-pink); outline-offset: 4px; border-radius: 24px; }
.pcard {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: 24px; background: var(--lb-white); color: var(--lb-text);
  box-shadow: 0 18px 30px -16px rgba(0, 0, 0, .6);
  transform: translateY(calc(var(--depth, 0) * 12px)) scale(calc(1 - var(--depth, 0) * .05));
  transition: transform .45s var(--bounce), opacity .3s;
  cursor: grab; will-change: transform;
}
.pcard.is-dragging { transition: none; cursor: grabbing; }
.pcard.is-gone { pointer-events: none; }
.pcard__photo { flex: 1; min-height: 0; background: var(--lb-purple); }
.pcard__photo picture, .pcard__photo img { width: 100%; height: 100%; }
.pcard__photo img { object-fit: cover; object-position: 50% 20%; pointer-events: none; }
.pcard__info { padding: .8rem 1rem 1rem; background: var(--lb-white); }
.pcard__name { font-family: "Dosis", var(--body); font-weight: 800; font-size: 1.45rem; line-height: 1.05; color: var(--lb-magenta); }
.pcard__ish { font-size: .7em; font-weight: 600; opacity: .7; }
.pcard__pro { font-family: var(--body); font-size: .72rem; color: #555; margin-top: .1rem; }
.pcard__about { font-weight: 800; font-size: 1.1rem; color: var(--lb-magenta); margin-top: .35rem; line-height: 1.1; }
.pcard__bio { font-family: var(--body); font-size: .78rem; line-height: 1.45; color: var(--lb-text); margin-top: .15rem; }
.stamp {
  position: absolute; z-index: 2; top: 22px;
  padding: .35rem .9rem; border-radius: 99px;
  font-family: "Dosis", var(--body); font-weight: 800; font-size: 1.4rem; letter-spacing: .02em; text-transform: uppercase;
  opacity: 0; pointer-events: none;
  box-shadow: 0 8px 18px -8px rgba(0, 0, 0, .5);
}
.stamp--yum { left: 18px; transform: rotate(-12deg) scale(var(--sy, .6)); background: linear-gradient(180deg, #d9b3ff, var(--lb-lilac)); color: var(--lb-dpurple); }
.stamp--yuck { right: 18px; transform: rotate(12deg) scale(var(--sn, .6)); background: linear-gradient(180deg, #ffb0d6, var(--lb-pink)); color: var(--lb-magenta); }

.app-actions { display: flex; gap: .7rem; justify-content: center; }
.chip {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  min-height: 48px; padding: .45rem 1.1rem; border: 0; border-radius: 99px;
  font-family: "Dosis", var(--body); font-weight: 800; font-size: 1.25rem; text-transform: uppercase; text-decoration: none;
  transition: transform .3s var(--bounce), box-shadow .3s var(--bounce), filter .2s;
  -webkit-tap-highlight-color: transparent;
}
.chip .i { width: .8em; height: .8em; }
.chip--yum { background: linear-gradient(180deg, #dcb9ff, var(--lb-lilac)); color: var(--lb-dpurple); box-shadow: 0 5px 0 #8e5bd0; }
.chip--yuck { background: linear-gradient(180deg, #ffb6da, var(--lb-pink)); color: var(--lb-magenta); box-shadow: 0 5px 0 #c94d8b; }
.chip--steam { background: var(--lb-hot); color: #fff; box-shadow: 0 5px 0 #a3004e; }
.chip:hover { transform: translateY(-3px) scale(1.05) rotate(-2deg); filter: brightness(1.06); }
.chip:active, .chip.is-press { transform: translateY(4px) scale(.96); box-shadow: 0 1px 0 rgba(0, 0, 0, .3); transition-duration: .08s; }
.app-actions .chip { flex: 1; }

.app-result {
  position: absolute; inset: 0; z-index: 6;
  display: grid; place-items: center; padding: 22px;
  background: rgba(13, 5, 35, .6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  animation: fade-in .25s ease;
}
.app-result[hidden] { display: none; }
.app-result__card {
  position: relative; width: 100%; padding: 1.6rem 1.2rem 1.4rem; border-radius: 24px; text-align: center;
  background: var(--lb-magenta); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7), inset 0 0 0 2px rgba(255, 255, 255, .1);
  animation: result-pop .55s var(--bounce);
}
@keyframes result-pop { from { transform: scale(.6) rotate(-8deg); opacity: 0; } }
.app-result__fangs { width: 62%; margin: -.2rem auto .8rem; filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .35)); }
.app-result.is-chomp .app-result__fangs { animation: chomp .6s var(--bounce) 2; }
@keyframes chomp { 0%, 100% { transform: scaleY(1); } 40% { transform: scaleY(.55) translateY(10px); } 70% { transform: scaleY(1.12); } }
.app-result__kicker { font-size: 1rem; font-weight: 600; color: rgba(255, 255, 255, .8); }
.app-result__title { font-weight: 800; font-size: 1.85rem; line-height: 1.05; margin-top: .2rem; }
.app-result__sub { font-family: var(--body); font-size: .82rem; color: rgba(255, 255, 255, .78); margin-top: .7rem; }
.app-result__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-top: 1.2rem; }
.app-result__actions[hidden] { display: none; }
.app-result__actions .chip { font-size: 1.05rem; min-height: 44px; }
.drip {
  position: absolute; z-index: 7; top: -10px; width: 14px; height: 18px; pointer-events: none; color: var(--lb-hot);
  animation: drip 1.1s cubic-bezier(.5, 0, .9, .6) forwards;
}
.drip svg { width: 100%; height: 100%; fill: currentColor; }
@keyframes drip { from { transform: translateY(0) scale(.6); opacity: 1; } to { transform: translateY(var(--fall, 420px)) scale(1); opacity: 0; } }

/* ---------- Blaster Buds card: gameplay + stars ---------- */
.card--blaster .card__media { --bb-cyan: #2fe0ff; }
.card__clip {
  position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .5s;
}
.card__clip.is-playing { opacity: 1; }
.card__live {
  position: absolute; right: 12px; top: 12px; z-index: 2;
  display: inline-flex; align-items: center; gap: .4em; padding: .3rem .65rem; border-radius: 99px;
  background: rgba(13, 5, 35, .7); font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  opacity: 0; transform: translateY(-6px); transition: opacity .3s, transform .3s var(--bounce);
}
.card__live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #ff3d5a; animation: heartbeat 1.2s infinite; }
.card__media.is-playing .card__live { opacity: 1; transform: none; }
.card--blaster .card__ribbon { z-index: 2; }
.bb-stars { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.bb-stars i {
  position: absolute; width: 22px; height: 22px; background: var(--bb-cyan);
  clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  filter: drop-shadow(0 0 6px rgba(47, 224, 255, .9));
  opacity: 0; transform: scale(0) rotate(-90deg);
  transition: opacity .3s, transform .6s var(--bounce);
}
.bb-stars i:nth-child(1) { left: 8%; top: 62%; }
.bb-stars i:nth-child(2) { left: 22%; top: 14%; width: 14px; height: 14px; transition-delay: .05s; }
.bb-stars i:nth-child(3) { right: 10%; top: 58%; width: 28px; height: 28px; transition-delay: .1s; background: #ff7a6b; filter: drop-shadow(0 0 6px rgba(255, 122, 107, .9)); }
.bb-stars i:nth-child(4) { right: 26%; top: 10%; width: 16px; height: 16px; transition-delay: .15s; }
.bb-stars i:nth-child(5) { left: 48%; bottom: 8%; width: 12px; height: 12px; transition-delay: .2s; background: #ffd66b; }
.card--blaster:hover .bb-stars i, .card--blaster .card__media.is-playing .bb-stars i { opacity: 1; transform: scale(1) rotate(0); animation: star-spin 3s linear infinite; }
@keyframes star-spin { to { rotate: 360deg; } }

/* ---------- Contact: typing bubbles ---------- */
.bubble__dots { display: inline-flex; gap: 4px; padding: .2rem .1rem; }
.bubble__dots i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .5; animation: typing 1s ease-in-out infinite; }
.bubble__dots i:nth-child(2) { animation-delay: .15s; }
.bubble__dots i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .45; } 30% { transform: translateY(-5px); opacity: 1; } }
.bubble__msg { display: none; align-items: center; gap: .4rem; }
.bubble.is-typed .bubble__dots { display: none; }
.bubble.is-typed .bubble__msg { display: inline-flex; animation: rise .4s var(--bounce); }
.js .bubble { opacity: 0; scale: .6; transition: opacity .3s, scale .45s var(--bounce); }
.js .bubble.is-on { opacity: 1; scale: 1; }

/* ---------- Footer: peeking bun ---------- */
/* The wrapper ends exactly at the footer's top line and sits below the torn edge (z-index -1
   inside the footer's stacking context), so the bun rises from behind the paper. */
.peek {
  position: absolute; right: clamp(1.5rem, 12vw, 10rem); bottom: 100%; z-index: -1;
  width: 130px; height: 110px; overflow: hidden; pointer-events: none;
}
.peek img {
  position: absolute; left: 50%; bottom: 0; width: 96px; height: auto; margin-left: -48px;
  transform: translateY(110%) rotate(8deg);
  transition: transform .8s var(--bounce);
  filter: drop-shadow(0 -2px 0 #fff) drop-shadow(0 0 1px #fff);
  pointer-events: auto; cursor: pointer;
}
.peek.is-up img { transform: translateY(-36%) rotate(-4deg); }
.peek.is-up img:hover, .peek img.is-hop { transform: translateY(-62%) rotate(4deg); }

/* ---------- Games: occasional shooting star ---------- */
.games__stars::before {
  content: ""; position: absolute; left: 12%; top: 14%; width: 140px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), #fff);
  transform: rotate(-24deg) translateX(-200px); opacity: 0;
  animation: shoot 7s ease-in 2s infinite;
}
@keyframes shoot {
  0%, 82% { opacity: 0; transform: rotate(-24deg) translateX(-200px); }
  86% { opacity: 1; }
  100% { opacity: 0; transform: rotate(-24deg) translateX(900px); }
}

@media (max-width: 960px) {
  .swipe__grid { grid-template-columns: 1fr; justify-items: center; }
  .swipe__copy { justify-self: stretch; }
  .phone { transform: none; }
}
@media (max-width: 700px) {
  .swipe { padding-top: 5.5rem; }
  .peek { right: 1.25rem; }
}

/* ---------- Scroll reveal (only when JS is running) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .feature[data-reveal], .js .card[data-reveal] { transform: translateY(40px) scale(.97); }
.js .feature[data-reveal].is-in, .js .card[data-reveal].is-in { transform: none; }
.js .card[data-reveal].is-in:hover { transform: translateY(-6px); transition: background-color .3s, transform .45s var(--bounce); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .socials--header { display: none; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__game { display: none; }
}
@media (max-width: 960px) {
  .feature { grid-template-columns: 1fr; }
  .studio__grid, .contact__grid { grid-template-columns: 1fr; }
  .studio__mascot { width: min(300px, 64vw); }
  .contact__art { width: min(300px, 64vw); margin-top: 1rem; }
}
@media (max-width: 860px) {
  :root { --header-h: 68px; }
  .nav, .site-header__cta { display: none; }
  .menu-toggle { display: block; }
  .site-header__end { margin-left: auto; }
  .brand { width: 44px; }
}
@media (min-width: 701px) and (max-aspect-ratio: 4/5) {
  .hero { place-items: start center; padding-top: calc(var(--header-h) + 8vh); }
  .hero__phone { --pw: 46vw; width: 46vw; bottom: -8%; }
  .hero__logo { width: min(640px, 80vw); }
}
@media (max-width: 700px) {
  .hero {
    place-items: start center;
    padding-top: calc(var(--header-h) + 1.25rem);
    padding-bottom: clamp(15rem, 62vw, 19rem);
  }
  .hero__phone { width: 54vw; bottom: -6%; }
  .hero__phone--vampire { left: -10vw; }
  .hero__phone--human { right: -10vw; }
  .hero__content::before { inset: -6% -10% -10%; background: radial-gradient(closest-side, rgba(60, 11, 49, .7), rgba(60, 11, 49, 0)); }
  .hero__actions { flex-direction: column; align-items: stretch; width: min(100%, 340px); }
  .hero__scroll { display: none; }
  .cards { grid-template-columns: 1fr; }
  .facts, .team__list { grid-template-columns: 1fr; }
  .facts li { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
  .facts__v { margin-top: 0; text-align: right; }
  .feature { padding: .75rem; }
  .feature__actions .btn { justify-content: flex-start; }
  .feature__body { padding: 0 .4rem .6rem; }
  .mailcard { flex-direction: column; }
  .mailcard__copy { justify-content: center; min-height: 44px; }
  .mailcard__addr { font-size: min(1.05rem, 4vw); }
  .bubble { font-size: .85rem; }
  .bubble--1 { left: -6%; }
  .bubble--2 { right: -4%; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 480px) {
  .mailcard__icon { display: none; }
}
@media (max-width: 420px) {
  .feature__actions { grid-template-columns: 1fr; }
}
@media (max-width: 380px) {
  .btn { font-size: 1.02rem; padding-inline: 1.2em; }
}
@media (hover: none) {
  .btn:hover, .socials a:hover, .social-tiles a:hover, .card:hover, .facts li:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .hero__hearts, .hero__phone--vampire, .hero__phone--human { --mx: 0; --my: 0; --sy: 0; }
}
