/* =========================================================
   Digital Alpaca: neo-brutalist landing page
   ========================================================= */

/* ---------- Palette: "Electric Fleece" ----------
   --bg / --bg-alt : page backgrounds
   --surface       : cards
   --ink           : borders, shadows, main text
   --on-color      : text on the bright accent colors (always dark)
   --line          : outline color for illustrations/toasts (always dark)
   --c1..--c4      : accents (all bright enough for dark text)
*/
:root {
  --bg: #F2F2EE;
  --bg-alt: #E3E3DC;
  --surface: #FFFFFF;
  --ink: #0D0D0D;
  --on-color: #0D0D0D;
  --line: #0D0D0D;
  --c1: #FFE135; /* yellow */
  --c2: #FF6BB5; /* hot pink */
  --c3: #5C8DFF; /* electric blue */
  --c4: #3CF0A6; /* mint */
}

:root {
  --font-display: "Archivo Black", "Arial Black", Impact, sans-serif;
  --font-body: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Space Mono", ui-monospace, Consolas, monospace;

  --bw: 3px;                         /* border width */
  --border: var(--bw) solid var(--ink);
  --shadow-sm: 3px 3px 0 var(--ink);
  --shadow: 6px 6px 0 var(--ink);
  --shadow-lg: 10px 10px 0 var(--ink);
  --radius: 14px;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1180px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  transition: background-color .3s, color .3s;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 4px; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.05; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(2.2rem, 5.5vw, 4rem); text-transform: uppercase; }
h3 { font-size: 1.45rem; }
h4 { font-size: 1rem; text-transform: uppercase; letter-spacing: .04em; margin-top: 1.4em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px dashed var(--c3); outline-offset: 3px; }
::selection { background: var(--c1); color: var(--on-color); }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 860px; }
.mono { font-family: var(--font-mono); }
.small { font-size: .85rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--c1); color: var(--on-color); padding: 8px 14px; border: var(--border); }
.skip-link:focus { left: 8px; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--surface);
  --btn-fg: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .75em 1.25em;
  font: 700 1rem/1 var(--font-body);
  text-transform: uppercase; letter-spacing: .03em;
  text-decoration: none;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease;
  white-space: nowrap;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); text-decoration: none; }
.btn:active { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--ink); }
.btn--c1 { --btn-bg: var(--c1); --btn-fg: var(--on-color); }
.btn--surface { --btn-bg: var(--surface); --btn-fg: var(--ink); }
.btn--ink { --btn-bg: var(--ink); --btn-fg: var(--bg); }
.btn--big { font-size: 1.1rem; padding: .95em 1.5em; box-shadow: var(--shadow); }
.btn--big:hover { box-shadow: 8px 8px 0 var(--ink); }
.btn--small { font-size: .85rem; padding: .55em .9em; }
.btn.is-disabled { opacity: .6; cursor: not-allowed; box-shadow: none; border-style: dashed; }
.btn.is-disabled:hover, .btn.is-disabled:active { transform: none; box-shadow: none; }

/* ---------- Stickers ---------- */
.sticker {
  display: inline-block;
  padding: .35em .8em;
  font: 700 .8rem/1.2 var(--font-mono);
  text-transform: uppercase; letter-spacing: .05em;
  color: var(--on-color);
  background: var(--c1);
  border: var(--border);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.sticker--c2 { background: var(--c2); }
.sticker--c3 { background: var(--c3); }
.sticker--c4 { background: var(--c4); }
.tilt-l { transform: rotate(-3deg); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
  border-bottom: var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); text-transform: uppercase; line-height: .95; font-size: 1.05rem; }
.brand-mark {
  display: grid; place-items: center;
  width: 42px; height: 42px; flex: none;
  font: 400 1rem/1 var(--font-display);
  background: var(--c1); color: var(--on-color);
  border: var(--border); border-radius: 10px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s;
}
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.08); }
.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav a:not(.btn) { font-weight: 700; text-decoration: none; padding: .45em .75em; border: var(--bw) solid transparent; border-radius: 8px; }
.site-nav a:not(.btn):hover { border-color: var(--ink); background: var(--surface); box-shadow: var(--shadow-sm); }
.site-nav .btn { margin-left: 8px; }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 7vw, 90px) 0 clamp(50px, 7vw, 100px); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: clamp(24px, 4vw, 60px); }
.hero-title {
  font-size: clamp(2.8rem, 7.6vw, 6.2rem);
  text-transform: uppercase;
  margin: .45em 0 .35em;
}
.hero-title .hl {
  display: inline-block;
  margin-top: .12em;
  padding: .02em .18em .08em;
  background: var(--c2);
  color: var(--on-color);
  border: var(--border);
  box-shadow: var(--shadow);
  transform: rotate(-1.5deg);
}
.lead { font-size: clamp(1.08rem, 1.6vw, 1.3rem); max-width: 36em; }
.lead em { font-style: normal; background: linear-gradient(transparent 60%, var(--c1) 60%); color: inherit; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

.hero-art { display: flex; justify-content: center; }
.alpaca-stage { position: relative; width: min(100%, 420px); aspect-ratio: 300 / 362; }
.alpaca-blob {
  position: absolute; inset: 10% -4% 0 -4%;
  background: var(--c1);
  border: var(--border);
  border-radius: 46% 54% 38% 62% / 52% 40% 60% 48%;
  box-shadow: var(--shadow-lg);
  animation: blob 12s ease-in-out infinite alternate;
}
@keyframes blob {
  50% { border-radius: 60% 40% 55% 45% / 40% 58% 42% 60%; }
  100% { border-radius: 40% 60% 45% 55% / 55% 45% 55% 45%; }
}
/* PLACEHOLDER mascot: replace with the real alpaca */
.mascot-placeholder {
  position: absolute; inset: 10% -4% 0 -4%; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .4em; padding: 6% 10%;
  text-align: center;
  color: var(--on-color);
}
.mascot-q {
  flex: none;
  display: grid; place-items: center;
  width: 1.5em; height: 1.5em;
  font: 400 clamp(2.8rem, 6vw, 5rem)/1 var(--font-display);
  background: var(--surface); color: var(--ink);
  border: var(--border); border-radius: 50%;
  box-shadow: var(--shadow);
  animation: wobble 2.4s ease-in-out infinite;
}
.mascot-title { margin: .4em 0 0; font: 400 clamp(1.2rem, 2.2vw, 1.8rem)/1.05 var(--font-display); text-transform: uppercase; }
.dots i { font-style: normal; animation: dot 1.4s infinite; }
.dots i:nth-child(2) { animation-delay: .2s; }
.dots i:nth-child(3) { animation-delay: .4s; }
@keyframes dot { 0%, 60%, 100% { opacity: 1; } 30% { opacity: .15; } }
.sticker--float { position: absolute; z-index: 3; pointer-events: none; }
.sticker--float.s1 { top: 8%; right: -6%; transform: rotate(8deg); }
.sticker--float.s2 { bottom: -3%; left: -6%; transform: rotate(-7deg); }

/* ---------- Marquee ---------- */
.marquee {
  background: var(--ink);
  color: var(--c1);
  border-block: var(--border);
  overflow: hidden;
  transform: rotate(-1.2deg);
  margin: 0 -20px;
}
.marquee-track {
  display: flex; gap: 28px; width: max-content;
  padding: 14px 0;
  font: 400 1.3rem/1 var(--font-display);
  text-transform: uppercase;
  white-space: nowrap;
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(70px, 10vw, 130px) 0; }
.section--alt { background: var(--bg-alt); border-block: var(--border); }
.section--ink { background: var(--ink); color: var(--bg); }
.section--ink .kicker { background: var(--bg); color: var(--ink); }
.section-head { margin-bottom: clamp(32px, 5vw, 56px); max-width: 760px; }
.kicker {
  display: inline-block;
  font: 700 .85rem/1 var(--font-mono);
  text-transform: uppercase; letter-spacing: .08em;
  padding: .5em .8em;
  background: var(--ink); color: var(--bg);
  border-radius: 6px;
  margin-bottom: 1.1em;
}
.section-lead { font-size: 1.2rem; }
.qmarks { display: inline-block; color: var(--c2); -webkit-text-stroke: 2px var(--ink); paint-order: stroke fill; animation: wobble 2.4s ease-in-out infinite; }
@keyframes wobble { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg) translateY(-4px); } }

/* ---------- Cards ---------- */
.card {
  position: relative;
  background: var(--surface);
  color: var(--ink);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(20px, 3vw, 32px);
}
.card--c1, .card--c2, .card--c3, .card--c4 { color: var(--on-color); --ink-local: var(--on-color); }
.card--c1 { background: var(--c1); }
.card--c2 { background: var(--c2); }
.card--c3 { background: var(--c3); }
.card--c4 { background: var(--c4); }
.card-label {
  font: 700 .75rem/1 var(--font-mono);
  text-transform: uppercase; letter-spacing: .1em;
  opacity: .75;
  margin-bottom: .8em;
}

/* ---------- Game ---------- */
.game-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 36px); align-items: start; }
.recipe { transform: rotate(-1deg); background-image: repeating-linear-gradient(transparent 0 31px, color-mix(in srgb, var(--c3) 30%, transparent) 31px 32px); }
.recipe-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 1em 0 0; }
.recipe-meta div { border: var(--bw) solid var(--ink); border-radius: 10px; padding: .6em .8em; background: var(--surface); }
.recipe-meta dt { font: 700 .72rem/1 var(--font-mono); text-transform: uppercase; letter-spacing: .08em; opacity: .7; margin-bottom: .35em; }
.recipe-meta dd { margin: 0; font-weight: 700; }
.recipe-meta small { font-weight: 400; opacity: .7; }
.ingredients { list-style: none; padding: 0; margin: 0; }
.ingredients li { padding: .25em 0 .25em 1.6em; position: relative; }
.ingredients li::before { content: "✦"; position: absolute; left: 0; color: var(--c2); -webkit-text-stroke: 1px var(--ink); }

.redacted {
  position: relative;
  display: inline-block;
  color: transparent;
  background: var(--ink);
  border-radius: 3px;
  padding: 0 .3em;
  cursor: help;
  user-select: none;
}
.redacted::after {
  content: attr(data-reveal);
  position: absolute; inset: 0;
  display: grid; place-items: center;
  color: var(--bg);
  font: 700 .78rem/1 var(--font-mono);
  text-transform: uppercase;
  opacity: 0; transition: opacity .15s;
  white-space: nowrap;
}
.redacted:hover::after, .redacted:focus::after { opacity: 1; }

.game-side { display: grid; gap: clamp(20px, 3vw, 36px); }
.cooking { transform: rotate(1deg); }
.cooking-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.cooking-head .mono { font-size: 1.4rem; font-weight: 700; }
.progress { height: 34px; background: var(--surface); border: var(--bw) solid var(--on-color); border-radius: 999px; overflow: hidden; }
.progress-bar {
  height: 100%; width: 42%;
  background: repeating-linear-gradient(-45deg, var(--c2) 0 14px, var(--c3) 14px 28px);
  border-right: var(--bw) solid var(--on-color);
  background-size: 40px 40px;
  animation: stripes 1s linear infinite;
  transition: width 1.4s cubic-bezier(.5, -0.4, .5, 1.4);
}
@keyframes stripes { to { background-position: 40px 0; } }
.steps { list-style: none; padding: 0; margin: 1.1em 0 0; display: grid; gap: .3em; font-weight: 700; counter-reset: s; }
.steps li { counter-increment: s; display: flex; align-items: center; gap: .6em; opacity: .55; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 1.7em; height: 1.7em; border: var(--bw) solid var(--on-color); border-radius: 50%; font: 700 .8rem/1 var(--font-mono); background: var(--surface); color: var(--ink); }
.steps li.done { opacity: .8; text-decoration: line-through; text-decoration-thickness: 2px; }
.steps li.done::before { content: "✓"; }
.steps li.now { opacity: 1; }
.steps li.now::before { background: var(--c2); color: var(--on-color); }
.you-are-here { font: 700 .75rem/1 var(--font-mono); text-transform: uppercase; background: var(--on-color); color: var(--c1); padding: .35em .5em; border-radius: 4px; animation: nudge 1.2s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(-5px); } }

.checklist ul { list-style: none; padding: 0; margin: 0 0 1.3em; }
.checklist li { padding: .3em 0 .3em 2.1em; position: relative; font-weight: 500; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .35em;
  width: 1.3em; height: 1.3em;
  border: var(--bw) solid var(--ink); border-radius: 5px;
  text-align: center;
  font: 700 .85rem/1.1em var(--font-body);
}
.checklist li.yes::before { content: "✓"; background: var(--c4); color: var(--on-color); }
.checklist li.no { opacity: .6; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(20px, 3vw, 36px); align-items: start; }
.char-top { display: flex; gap: 18px; align-items: center; margin-bottom: 1.3em; }
.char-portrait {
  flex: none; width: 104px; height: 120px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  background: var(--c4); color: var(--on-color);
  border: var(--border); border-radius: 12px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.char-portrait span { font: 400 3rem/1 var(--font-display); }
.char-portrait small { font: 700 .62rem/1.1 var(--font-mono); text-transform: uppercase; text-align: center; }
.char-top h3 { margin-bottom: .2em; }
.char-top p { margin: 0; }
.stats { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: .6em; }
.stats li { display: grid; grid-template-columns: 11em 1fr; align-items: center; gap: 12px; font-weight: 700; font-size: .95rem; }
.stat { height: 20px; border: var(--bw) solid var(--ink); border-radius: 4px; background: var(--bg-alt); overflow: hidden; }
.stat i { display: block; height: 100%; width: var(--v); background: var(--c3); border-right: var(--bw) solid var(--ink); }
.stat--max i { background: repeating-linear-gradient(90deg, var(--c1) 0 10px, var(--c2) 10px 20px); border-right: 0; }
.loot { display: flex; flex-direction: column; align-items: flex-start; gap: .5em; padding-top: 1.1em; border-top: var(--bw) dashed var(--ink); }

.loot .small + .sticker { margin-top: .5em; }
.about-side { display: grid; gap: clamp(20px, 3vw, 36px); }
.szczecin { transform: rotate(1deg); }
.szczecin a { font-weight: 700; }
.pin { margin: 0; font-weight: 700; }
.facts { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.fact {
  background: var(--surface);
  border: var(--border); border-radius: 12px;
  box-shadow: var(--shadow-sm);
  padding: .8em .7em;
  display: flex; flex-direction: column; gap: .2em;
  transition: transform .15s;
}
.fact:nth-child(odd) { transform: rotate(-1.5deg); }
.fact:nth-child(even) { transform: rotate(1.2deg); }
.fact:hover { transform: rotate(0) scale(1.05); }
.fact b { font: 400 2rem/1 var(--font-display); }
.fact span { font-size: .85rem; font-weight: 700; line-height: 1.2; }
.fact small { font-weight: 400; opacity: .7; }

.versus { margin-top: clamp(32px, 5vw, 56px); }
.table-wrap { overflow-x: auto; }
.versus table { width: 100%; border-collapse: separate; border-spacing: 0; border: var(--border); border-radius: 10px; overflow: hidden; margin-bottom: 1em; min-width: 460px; }
.versus th, .versus td { padding: .7em 1em; text-align: left; border-bottom: var(--bw) solid var(--ink); }
.versus tr:last-child th, .versus tr:last-child td { border-bottom: 0; }
.versus thead th { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; background: var(--ink); color: var(--bg); }
.versus tbody th { font-weight: 700; width: 34%; }
.versus td + td { border-left: var(--bw) solid var(--ink); }
.versus td.win { background: var(--c4); color: var(--on-color); font-weight: 700; border-left: var(--bw) solid var(--ink); }
.versus td.win::after { content: " ✓"; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 16px; }
.faq details {
  background: var(--surface);
  border: var(--border); border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .15s, transform .15s;
}
.faq details[open] { box-shadow: var(--shadow); transform: translate(-2px, -2px); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1em 3.2em 1em 1.2em;
  font-weight: 700; font-size: 1.1rem;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute; right: 1em; top: 50%;
  width: 1.6em; height: 1.6em; margin-top: -.8em;
  display: grid; place-items: center;
  font: 400 1.2rem/1 var(--font-display);
  background: var(--c1); color: var(--on-color);
  border: var(--bw) solid var(--ink); border-radius: 50%;
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--c2); }
.faq details p { padding: 0 1.2em 1.2em; margin: 0; }
.faq details p a { font-weight: 700; }

/* ---------- Join ---------- */
.join-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(20px, 3vw, 32px); align-items: stretch; }
.section--ink .card { border-color: var(--bg); box-shadow: 6px 6px 0 var(--bg); }
.section--ink .card .btn { border-color: var(--on-color); box-shadow: 3px 3px 0 var(--on-color); }
.section--ink .card .btn:hover { box-shadow: 5px 5px 0 var(--on-color); }
.section--ink .card .btn.is-disabled { box-shadow: none; }
.section--ink .card .btn--surface { --btn-bg: #FFFFFF; --btn-fg: #0D0D0D; }
.join-card { display: flex; flex-direction: column; align-items: flex-start; }
.join-card:nth-child(1) { transform: rotate(-1deg); }
.join-card:nth-child(2) { transform: rotate(1deg); }
.join-card:nth-child(3) { transform: rotate(-.5deg); }
.join-card p { flex: 1; }
.newsletter-form { display: flex; gap: 10px; width: 100%; flex-wrap: wrap; }
.newsletter-form input {
  flex: 1 1 220px; min-width: 0;
  padding: .8em 1em;
  font: 500 1rem/1 var(--font-body);
  color: #0D0D0D; background: #FFFFFF;
  border: var(--bw) solid var(--on-color); border-radius: 10px;
}
.newsletter-form input:focus { outline: 3px dashed var(--on-color); outline-offset: 2px; }
.newsletter-form .btn--ink { --btn-bg: var(--on-color); --btn-fg: var(--c1); }
.form-msg { min-height: 1.5em; margin: .8em 0 0; font-weight: 700; }
.form-msg:empty { display: none; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 60px); align-items: center; }
.contact-grid .section-head { margin-bottom: 0; }
.email-big {
  display: block;
  font: 400 clamp(1.15rem, 2.6vw, 1.75rem)/1.2 var(--font-display);
  word-break: break-all;
  text-decoration: none;
  margin-bottom: .9em;
}
.email-big:hover { color: var(--c3); -webkit-text-stroke: 1px var(--ink); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.contact-box hr { border: 0; border-top: var(--bw) dashed var(--ink); margin: 1.4em 0; }
.contact-box > p:last-child { margin: 0; }
#copy-msg { min-height: 1.4em; margin: .8em 0 0; font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer { background: var(--c1); color: var(--on-color); border-top: var(--border); padding: 40px 0; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 20px 40px; align-items: center; }
.footer-brand { display: flex; gap: 14px; align-items: center; }
.footer-brand .brand-mark { background: var(--surface); }
.footer-brand p { margin: 0; font-weight: 700; }
.footer-brand .small { font-weight: 400; }
.footer-links { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 0; font-weight: 700; }
.footer-fine { grid-column: 1 / -1; margin: 0; padding-top: 18px; border-top: var(--bw) dashed var(--on-color); opacity: .8; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; z-index: 200;
  left: 50%; bottom: 24px;
  max-width: calc(100vw - 32px);
  padding: .8em 1.2em;
  font-weight: 700;
  color: var(--on-color);
  background: var(--c1);
  border: var(--bw) solid var(--line); border-radius: 12px;
  box-shadow: 5px 5px 0 var(--line);
  transform: translate(-50%, calc(100% + 60px));
  visibility: hidden;
  transition: transform .25s cubic-bezier(.3, 1.6, .5, 1), visibility 0s .25s;
  pointer-events: none;
}
.toast.is-visible { transform: translate(-50%, 0); visibility: visible; transition-delay: 0s; }

/* ---------- Easter eggs ---------- */
.confetti {
  position: fixed; z-index: 250; top: -60px;
  border: 2px solid var(--ink);
  pointer-events: none;
  animation: fall linear forwards;
}
@keyframes fall { to { transform: translateY(calc(100vh + 240px)) rotate(var(--spin, 360deg)); } }
body.party { animation: party-bg 0.6s steps(1) 8; }
@keyframes party-bg { 0% { background: var(--c1); } 25% { background: var(--c2); } 50% { background: var(--c3); } 75% { background: var(--c4); } }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .alpaca-stage { width: min(78%, 340px); }
  .game-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .join-grid { grid-template-columns: 1fr; }
  .join-card { transform: none !important; }
}
@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    display: none; flex-direction: column; align-items: stretch;
    gap: 4px; padding: 12px var(--gutter) 18px;
    background: var(--bg); border-bottom: var(--border);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a:not(.btn) { padding: .7em .8em; }
  .site-nav .btn { margin: 8px 0 0; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .sticker--float.s1 { right: -4%; }
  .sticker--float.s2 { left: -4%; }
  .hero-actions .btn { width: 100%; }
  .recipe-meta { grid-template-columns: 1fr; }
  .stats li { grid-template-columns: 1fr; gap: 4px; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
}
