/* Faul Studios — faulstudios.com
   Static site, no build step. Brand: Faul! blue, sticker yellow, navy ink. */

@font-face {
  font-family: 'Luckiest Guy'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../fonts/luckiest-guy-latin-ext.woff2) 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: 'Luckiest Guy'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../fonts/luckiest-guy-latin.woff2) 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: 'Nunito'; font-style: normal; font-weight: 200 1000; font-display: swap;
  src: url(../fonts/nunito-latin-ext.woff2) 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: 'Nunito'; font-style: normal; font-weight: 200 1000; font-display: swap;
  src: url(../fonts/nunito-latin.woff2) 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;
}

:root {
  --blue: #0047ab;
  --blue-stripe: #0040a0;
  --blue-light: #3b82f6;
  --navy: #071638;
  --navy-2: #0c1f4d;
  --yellow: #ffe400;
  --gold: #facc15;
  --cream: #fff8e6;
  --paper: #ffffff;
  --red: #ef4444;
  --green: #22c55e;
  --pink: #f9a8d4;
  --ink: #071638;
  --muted: #4b5675;
  --line: #e3e7f1;

  --display: 'Luckiest Guy', 'Nunito', system-ui, sans-serif;
  --body: 'Nunito', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --radius: 22px;
  --radius-sm: 14px;
  --border: 3px solid var(--ink);
  --shadow: 6px 6px 0 var(--ink);
  --shadow-sm: 4px 4px 0 var(--ink);
  --wrap: 1180px;
  --gutter: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }
.on-light :focus-visible, main :focus-visible { outline-color: var(--blue-light); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--yellow); color: var(--ink); font-weight: 900;
  padding: 10px 16px; border: var(--border); border-radius: 12px; text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 720px) { :root { --gutter: 28px; } }

/* ---------- type ---------- */
h1, h2, h3, .display {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: .02em;
  line-height: 1.02;
  text-transform: uppercase;
  margin: 0;
}
h1 { font-size: clamp(2.7rem, 7.4vw, 5.4rem); }
h2 { font-size: clamp(2.1rem, 4.8vw, 3.4rem); }
h3 { font-size: 1.55rem; line-height: 1.1; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.28rem); font-weight: 700; }
.muted { color: var(--muted); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 900; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase;
  padding: 7px 14px; border-radius: 999px;
  background: var(--paper); color: var(--ink); border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  margin-bottom: 18px;
}
.eyebrow .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 2px var(--ink); }

.hl { color: var(--yellow); -webkit-text-stroke: 2px var(--navy); paint-order: stroke fill; text-shadow: 3px 4px 0 var(--navy); }
.stroke {
  color: var(--paper);
  -webkit-text-stroke: 2px var(--navy); paint-order: stroke fill;
  text-shadow: 3px 4px 0 var(--navy);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 24px;
  font-family: var(--display); font-size: 1.2rem; letter-spacing: .04em; line-height: 1; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  background: var(--yellow); color: var(--ink);
  border: var(--border); border-radius: 16px; box-shadow: var(--shadow-sm);
  transition: transform .12s ease, box-shadow .12s ease, background-color .15s ease;
}
.btn:hover { transform: translate(-1px, -2px); box-shadow: 5px 6px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-white { background: var(--paper); }
.btn-blue { background: var(--blue-light); color: var(--paper); }
.btn-red { background: var(--red); color: var(--paper); }
.btn-green { background: var(--green); color: var(--paper); }
.btn-ghost { background: transparent; color: var(--paper); border-color: var(--paper); box-shadow: 4px 4px 0 rgba(7,22,56,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.1); box-shadow: 5px 6px 0 rgba(7,22,56,.55); }
.btn-sm { min-height: 42px; padding: 9px 16px; font-size: 1rem; border-radius: 12px; }
.btn[aria-disabled="true"] { cursor: default; opacity: .9; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- header ---------- */
/* Header floats over the striped hero every page starts with, and turns solid once scrolled. */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: transparent;
  transition: box-shadow .2s ease, background-color .2s ease;
}
.site-header.is-stuck, .site-header.nav-open { background: var(--blue); box-shadow: 0 3px 0 var(--navy); }
.site-header + main > section:first-child { margin-top: -84px; padding-top: calc(84px + clamp(36px, 6vw, 80px)); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 84px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.brand img { height: 60px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a:not(.btn) {
  display: inline-block; padding: 9px 14px; border-radius: 12px;
  color: var(--paper); text-decoration: none; font-weight: 900; font-size: .98rem; letter-spacing: .02em;
}
.nav-links a:not(.btn):hover { background: rgba(255,255,255,.12); }
.nav-links a[aria-current="page"]:not(.btn) { background: var(--navy); }
.nav-links .btn { margin-left: 8px; }
.nav-toggle {
  display: none; width: 48px; height: 48px; border-radius: 14px; cursor: pointer;
  background: var(--yellow); border: var(--border); box-shadow: 3px 3px 0 var(--ink);
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .i-close { display: none; }
.nav-open .nav-toggle .i-close { display: block; }
.nav-open .nav-toggle .i-menu { display: none; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute; left: var(--gutter); right: var(--gutter); top: 86px;
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 12px; background: var(--navy); border: var(--border); border-color: var(--navy);
    border-radius: 20px; box-shadow: 0 10px 0 rgba(7,22,56,.35);
    display: none;
  }
  .nav-open .nav-links { display: flex; }
  .nav-links a:not(.btn) { padding: 13px 16px; font-size: 1.1rem; }
  .nav-links a[aria-current="page"]:not(.btn) { background: rgba(255,255,255,.12); }
  .nav-links .btn { margin: 6px 0 0; }
  .brand img { height: 52px; }
}

/* ---------- striped blue surfaces ---------- */
.stripes {
  background-color: var(--blue);
  background-image: repeating-linear-gradient(135deg, var(--blue) 0 26px, var(--blue-stripe) 26px 52px);
  color: var(--paper);
}
.navy { background: var(--navy); color: var(--paper); }

.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
/* Two cream sections in a row would double the padding between them. */
.section:not(.stripes):not(.navy) + .section:not(.stripes):not(.navy) { padding-top: 0; }
.section.tight { padding-bottom: 0; }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { margin-top: 16px; }

/* wavy edge between sections */
.edge-bottom { position: relative; }
.edge-bottom::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 28px;
  background: var(--edge, var(--cream));
  -webkit-mask: radial-gradient(22px 16px at 50% 0, transparent 98%, #000) 0 0 / 44px 28px repeat-x;
  mask: radial-gradient(22px 16px at 50% 0, transparent 98%, #000) 0 0 / 44px 28px repeat-x;
}

/* ---------- hero ---------- */
.hero { padding: clamp(40px, 7vw, 90px) 0 clamp(80px, 10vw, 130px); overflow: hidden; }
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 40px; } }
.hero h1 { margin-bottom: 22px; }
.hero .lead { max-width: 560px; margin-bottom: 30px; color: #e6eeff; }
.hero-note { margin-top: 22px; font-weight: 800; font-size: .95rem; color: #cfe0ff; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.hero-note span { display: inline-flex; align-items: center; gap: 7px; }
.hero-note svg { width: 18px; height: 18px; color: var(--yellow); }

/* taboo card stack */
.card-stage { position: relative; width: min(100%, 420px); margin: 0 auto; aspect-ratio: 4 / 5; }
.tcard {
  position: absolute; inset: 6% 8%;
  background: var(--paper); color: var(--ink);
  border: 4px solid var(--ink); border-radius: 18px; box-shadow: 10px 10px 0 var(--ink);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 26px 20px;
}
.tcard.back-red { background: var(--red); transform: rotate(-9deg) translate(-6%, 2%); box-shadow: 8px 8px 0 var(--ink); }
.tcard.back-blue { background: var(--blue-light); transform: rotate(7deg) translate(6%, -1%); box-shadow: 8px 8px 0 var(--ink); }
.tcard.front { transform: rotate(-2deg); transition: transform .35s cubic-bezier(.2,.9,.3,1.3); }
.tcard.front.flip { transform: rotate(3deg) scale(.96); }
.tcard .word {
  font-family: var(--body); font-weight: 1000; font-size: clamp(1.9rem, 5.4vw, 2.6rem);
  letter-spacing: .02em; line-height: 1.05; padding-bottom: 16px; margin-bottom: 14px;
  border-bottom: 3px solid var(--line); width: 100%; word-break: break-word;
}
.tcard ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.tcard li { font-weight: 800; font-size: clamp(1.05rem, 2.6vw, 1.3rem); color: #4b5675; text-transform: uppercase; letter-spacing: .04em; }
.tcard .tag {
  position: absolute; top: -16px; left: 50%; transform: translateX(-50%) rotate(2deg);
  background: var(--yellow); border: 3px solid var(--ink); border-radius: 999px;
  padding: 3px 14px; font-weight: 900; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap;
}
.peek {
  position: absolute; width: 40%; right: -6%; bottom: -8%; z-index: 3;
  transform: rotate(8deg); filter: drop-shadow(5px 6px 0 rgba(7,22,56,.55));
  animation: bob 4.5s ease-in-out infinite;
}
.burst {
  position: absolute; z-index: 4; left: -2%; top: 2%;
  font-family: var(--display); font-size: clamp(1.6rem, 4vw, 2.2rem); color: var(--yellow);
  -webkit-text-stroke: 2px var(--navy); paint-order: stroke fill; text-shadow: 3px 3px 0 var(--navy);
  transform: rotate(-12deg);
  animation: pop 3.2s ease-in-out infinite;
}
@keyframes bob { 0%, 100% { transform: rotate(8deg) translateY(0); } 50% { transform: rotate(6deg) translateY(-10px); } }
@keyframes pop { 0%, 70%, 100% { transform: rotate(-12deg) scale(1); } 80% { transform: rotate(-8deg) scale(1.18); } }

/* ---------- ticker ---------- */
.ticker-wrap { overflow: hidden; position: relative; z-index: 2; margin-top: -34px; padding: 12px 0; }
.ticker {
  background: var(--yellow); border-top: var(--border); border-bottom: var(--border);
  overflow: hidden; white-space: nowrap;
  transform: rotate(-1.2deg); margin: 0 -10px; padding: 12px 0;
}
.ticker-track { display: inline-flex; gap: 0; animation: marquee 32s linear infinite; }
.ticker span {
  font-family: var(--display); font-size: clamp(1.3rem, 3vw, 1.9rem); letter-spacing: .05em; padding: 0 22px;
  display: inline-flex; align-items: center; gap: 44px;
}
.ticker span::after { content: "✦"; font-size: .8em; color: var(--blue); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- featured game ---------- */
.feature-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .feature-grid { grid-template-columns: .95fr 1.05fr; gap: 64px; } }
.game-logo { width: min(340px, 80%); margin-bottom: 18px; filter: drop-shadow(0 0 0 transparent); }
.tagline { font-weight: 1000; letter-spacing: .26em; text-transform: uppercase; font-size: .9rem; color: var(--blue); margin-bottom: 18px; }

.phones { position: relative; display: flex; justify-content: center; align-items: flex-end; min-height: 420px; padding: 20px 0 10px; }
.phone {
  width: min(46%, 250px); flex: none;
  border: 4px solid var(--ink); border-radius: 34px; overflow: hidden; background: var(--ink);
  box-shadow: 10px 10px 0 var(--ink); padding: 7px;
}
.phone img { border-radius: 26px; width: 100%; aspect-ratio: 9 / 20; object-fit: cover; object-position: top; }
.phones .phone:nth-child(1) { transform: rotate(-6deg) translate(14%, 14px); z-index: 1; }
.phones .phone:nth-child(2) { transform: rotate(4deg) translate(-12%, -18px); z-index: 2; }
.phones .sticker {
  position: absolute; z-index: 3; top: 4%; right: 4%;
  width: 98px; height: 98px; border-radius: 50%; display: grid; place-items: center; text-align: center;
  background: var(--red); color: var(--paper); border: var(--border); box-shadow: var(--shadow-sm);
  font-family: var(--display); font-size: 1.05rem; line-height: .95; transform: rotate(12deg);
}

.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 28px 0 32px; }
@media (min-width: 560px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stat {
  background: var(--paper); border: var(--border); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm);
  padding: 14px 12px; text-align: center;
}
.stat b { display: block; font-family: var(--display); font-weight: 400; font-size: 1.75rem; line-height: 1; color: var(--blue); }
.stat span { display: block; margin-top: 6px; font-weight: 900; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* ---------- mini game ---------- */
.play-grid { display: grid; gap: 44px; align-items: center; }
@media (min-width: 960px) { .play-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }
.play-grid .lead { color: #e6eeff; }
.rules { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.rules li { display: flex; gap: 14px; align-items: flex-start; font-weight: 700; color: #e6eeff; }
.rules b { color: var(--paper); }
.rules .n {
  flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: var(--yellow); color: var(--ink); border: 3px solid var(--ink); font-family: var(--display); font-size: 1.1rem; line-height: 1;
}

.game {
  background: var(--paper); color: var(--ink);
  border: 4px solid var(--ink); border-radius: 26px; box-shadow: 10px 10px 0 var(--ink);
  overflow: hidden; width: min(100%, 480px); margin: 0 auto;
}
.game-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 14px 18px; border-bottom: 3px solid var(--ink); background: #f6f8fd;
}
.score { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 1.5rem; line-height: 1; }
.score i { width: 20px; height: 20px; border-radius: 6px; border: 3px solid var(--ink); background: var(--green); display: inline-block; }
.timer {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-size: 1.5rem; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.timer svg { width: 26px; height: 26px; }
.timer.low { color: var(--red); }
.game-body { padding: 26px 22px 22px; }
.game .tcard { position: relative; inset: auto; min-height: 330px; box-shadow: 7px 7px 0 var(--ink); transform: rotate(-1deg); }
.game .tcard.flip { transform: rotate(1.5deg) scale(.97); }
.game .tcard.idle .word { border-bottom-color: transparent; }
.game-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 22px; }
.game-actions .btn { padding: 12px 6px; font-size: 1.05rem; min-height: 54px; }
.game-actions .btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: var(--shadow-sm); }
.game-start { width: 100%; margin-top: 22px; }
.game-log { margin: 16px 0 0; min-height: 1.6em; font-weight: 800; font-size: .95rem; color: var(--muted); text-align: center; }
.game-log .ok { color: #15803d; } .game-log .bad { color: #b91c1c; } .game-log .skip { color: #a16207; }

/* ---------- principles / cards ---------- */
.grid-4 { display: grid; gap: 22px; }
@media (min-width: 640px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.grid-3 { display: grid; gap: 22px; }
@media (min-width: 760px) { .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.grid-2 { display: grid; gap: 22px; }
@media (min-width: 760px) { .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.panel {
  background: var(--paper); border: var(--border); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 26px 24px;
}
.panel h3 { margin: 16px 0 10px; }
.panel p:last-child { margin-bottom: 0; }
.panel p { color: var(--muted); font-weight: 600; }
.icon-chip {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center;
  border: var(--border); box-shadow: 3px 3px 0 var(--ink); background: var(--yellow);
}
.icon-chip svg { width: 28px; height: 28px; }
.icon-chip.blue { background: var(--blue-light); color: var(--paper); }
.icon-chip.red { background: var(--red); color: var(--paper); }
.icon-chip.green { background: var(--green); color: var(--paper); }
.icon-chip.pink { background: var(--pink); }
.panel:nth-child(odd) { transform: rotate(-.6deg); }
.panel:nth-child(even) { transform: rotate(.6deg); }
.panel.flat { transform: none; }

/* ---------- crew band ---------- */
.crew { overflow: hidden; }
.crew-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .crew-grid { grid-template-columns: .9fr 1.1fr; gap: 56px; } }
.crew-img { filter: drop-shadow(8px 10px 0 rgba(7,22,56,.5)); }
.crew .lead { color: #e6eeff; }

/* ---------- contact band ---------- */
.cta-box {
  position: relative; overflow: hidden;
  background: var(--yellow); color: var(--ink);
  border: 4px solid var(--ink); border-radius: 30px; box-shadow: 12px 12px 0 var(--ink);
  padding: clamp(32px, 6vw, 64px);
  display: grid; gap: 30px; align-items: center;
}
@media (min-width: 860px) { .cta-box { grid-template-columns: 1fr auto; } }
.cta-box h2 { margin-bottom: 14px; }
.cta-box p { font-weight: 700; max-width: 560px; margin: 0; }
.cta-box p + p { margin-top: 18px; }
.cta-box > * { position: relative; z-index: 1; }
.cta-box .mail { font-weight: 1000; font-size: clamp(1.1rem, 2.4vw, 1.4rem); word-break: break-all; }
.cta-box > .cta-mascot { position: absolute; z-index: 0; width: 150px; right: -18px; bottom: -36px; opacity: .25; transform: rotate(-10deg); pointer-events: none; }
@media (min-width: 860px) {
  .cta-box { padding-right: 270px; }
  .cta-box > .cta-mascot { width: 210px; right: 36px; bottom: -70px; opacity: 1; transform: rotate(-6deg); }
}

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: #c9d4ef; padding: 64px 0 30px; font-size: .97rem; }
.footer-grid { display: grid; gap: 36px 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.footer-brand { grid-column: 1 / -1; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); } .footer-brand { grid-column: auto; } }
.footer-brand img { height: 74px; width: auto; margin-bottom: 16px; }
.footer-brand p { max-width: 320px; font-weight: 600; }
.site-footer h4 { margin: 0 0 12px; color: var(--paper); font-weight: 1000; letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: #c9d4ef; text-decoration: none; font-weight: 700; }
.site-footer a:hover { color: var(--yellow); text-decoration: underline; }
.footer-bottom {
  margin-top: 48px; padding-top: 22px; border-top: 2px solid rgba(255,255,255,.12);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-weight: 700; font-size: .88rem; color: #8f9cc0;
}

/* ---------- page hero (inner pages) ---------- */
.page-hero { padding: clamp(48px, 8vw, 96px) 0 clamp(80px, 10vw, 120px); }
.page-hero .lead { color: #e6eeff; max-width: 640px; margin-top: 20px; }
.page-hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .page-hero-grid { grid-template-columns: 1.2fr .8fr; } }
.page-hero .art { width: min(320px, 70%); margin: 0 auto; filter: drop-shadow(8px 10px 0 rgba(7,22,56,.5)); animation: bob 5s ease-in-out infinite; }

/* game page hero */
.game-hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .game-hero-grid { grid-template-columns: 1.15fr .85fr; } }
.game-hero .game-logo { width: min(440px, 88%); margin-bottom: 8px; }
.game-hero .tagline { color: var(--yellow); }
.game-hero .lead { color: #e6eeff; max-width: 580px; }
.game-hero .phone { width: min(78%, 300px); margin: 0 auto; transform: rotate(3deg); }

.platforms { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.store {
  display: inline-flex; align-items: center; gap: 12px; min-height: 58px; padding: 9px 18px 9px 14px;
  border-radius: 14px; border: 3px solid var(--ink); background: var(--ink); color: var(--paper);
  text-decoration: none; box-shadow: 4px 4px 0 rgba(7,22,56,.55);
}
.store svg { width: 28px; height: 28px; flex: none; }
.store small { display: block; font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; opacity: .75; line-height: 1.1; }
.store b { display: block; font-size: 1.12rem; font-weight: 1000; line-height: 1.15; }
.store.soon { background: rgba(7,22,56,.55); border-color: rgba(255,255,255,.35); cursor: default; }
.store.live { background: var(--yellow); color: var(--ink); border-color: var(--ink); box-shadow: 4px 4px 0 var(--ink); }
a.store:hover { transform: translate(-1px, -2px); }

/* steps */
.steps { counter-reset: s; display: grid; gap: 22px; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.step { position: relative; padding-top: 44px; }
.step::before {
  counter-increment: s; content: counter(s);
  position: absolute; top: -22px; left: 22px;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: var(--yellow); border: var(--border); box-shadow: 3px 3px 0 var(--ink);
  font-family: var(--display); font-size: 1.7rem; line-height: 1; padding-top: 4px;
}
.step h3 { margin-top: 0; }

/* modes */
.mode { overflow: hidden; padding: 0; display: flex; flex-direction: column; }
.mode .mode-art { background: #eaf2ff; border-bottom: var(--border); display: grid; place-items: center; padding: 20px; min-height: 240px; }
.mode.offline .mode-art { background: #fff4cc; padding: 0; align-items: end; }
.mode .mode-art img { max-height: 240px; width: auto; }
.mode.offline .mode-art img { max-height: none; width: 100%; }
.mode .mode-body { padding: 24px; }
.pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px;
  font-weight: 1000; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase;
  background: #dbeafe; color: #1d4ed8; border: 2px solid currentColor;
}
.pill svg { width: 16px; height: 16px; flex: none; }
.pill.amber { background: #fef3c7; color: #b45309; }
.mode h3 { font-size: 2rem; margin: 14px 0 8px; }

/* gallery */
.gallery {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(62%, 240px); gap: 22px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px 6px 26px; margin: 0 -6px;
  scrollbar-width: thin;
}
@media (min-width: 1040px) { .gallery { grid-auto-flow: row; grid-template-columns: repeat(5, minmax(0, 1fr)); overflow: visible; } }
.gallery figure { margin: 0; scroll-snap-align: center; }
.gallery .phone { width: 100%; box-shadow: 7px 7px 0 var(--ink); border-radius: 28px; padding: 5px; }
.gallery .phone img { border-radius: 22px; }
.gallery figcaption { text-align: center; font-weight: 900; margin-top: 14px; font-size: .95rem; }
.gallery figure:nth-child(odd) .phone { transform: rotate(-1.5deg); }
.gallery figure:nth-child(even) .phone { transform: rotate(1.5deg); }

/* languages */
.langs { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; margin: 0; padding: 0; }
.langs li {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--paper); border: var(--border); border-radius: 999px; box-shadow: 3px 3px 0 var(--ink);
  padding: 8px 18px 8px 8px; font-weight: 900;
}
.langs abbr {
  text-decoration: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: var(--blue); color: var(--paper); font-size: .78rem; letter-spacing: .04em;
}

/* faq */
.faq { display: grid; gap: 14px; max-width: 860px; }
.faq details {
  background: var(--paper); border: var(--border); border-radius: 18px; box-shadow: var(--shadow-sm);
}
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; position: relative;
  font-weight: 1000; font-size: 1.08rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; border-radius: 10px; border: 2px solid var(--ink); background: var(--yellow);
  display: grid; place-items: center; font-family: var(--display); font-size: 1.3rem; line-height: 1; padding-top: 3px;
}
.faq details[open] summary::after { content: "–"; background: var(--paper); }
.faq details > div { padding: 0 22px 18px; color: var(--muted); font-weight: 600; }
.faq details > div p:last-child { margin-bottom: 0; }

/* prose */
.prose { max-width: 760px; }
.prose h2 { margin: 48px 0 16px; font-size: clamp(1.8rem, 3.6vw, 2.4rem); }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { font-weight: 600; color: #26304d; }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--blue); font-weight: 800; }

/* fact sheet */
.facts { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--paper); border: var(--border); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.facts th, .facts td { text-align: left; padding: 14px 20px; vertical-align: top; border-bottom: 2px solid var(--line); }
.facts tr:last-child th, .facts tr:last-child td { border-bottom: 0; }
.facts th { width: 34%; font-weight: 1000; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); background: #f6f8fd; }
.facts td { font-weight: 700; }
.facts a { color: var(--blue); }
@media (max-width: 560px) {
  .facts th, .facts td { display: block; width: 100%; }
  .facts th { border-bottom: 0; padding-bottom: 4px; }
  .facts td { padding-top: 4px; }
}

.copy-block { position: relative; }
.copy-block p { padding-right: 0; }
.copy-btn { margin-top: 6px; }

.assets { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.asset { padding: 0; overflow: hidden; display: flex; flex-direction: column; transform: none !important; }
.asset .thumb { height: 190px; display: grid; place-items: center; padding: 18px; border-bottom: var(--border); background: #eef3ff; }
.asset .thumb.dark { background: var(--blue); }
.asset .thumb.checker {
  background-color: #fff;
  background-image: linear-gradient(45deg, #eef1f7 25%, transparent 25%), linear-gradient(-45deg, #eef1f7 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #eef1f7 75%), linear-gradient(-45deg, transparent 75%, #eef1f7 75%);
  background-size: 20px 20px; background-position: 0 0, 0 10px, 10px -10px, -10px 0;
}
.asset .thumb img { max-height: 154px; width: auto; max-width: 100%; }
.asset .thumb.tall { height: 300px; }
.asset .thumb.tall img { max-height: 264px; border-radius: 10px; border: 2px solid var(--ink); }
.asset .meta { padding: 14px 18px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.asset .meta b { font-weight: 1000; }
.asset .meta small { color: var(--muted); font-weight: 700; }
.asset .links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.asset .links a {
  font-weight: 900; font-size: .86rem; text-decoration: none; padding: 6px 12px; border-radius: 10px;
  border: 2px solid var(--ink); background: var(--yellow);
}
.asset .links a:hover { background: var(--gold); }

.kit {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
  margin-bottom: 30px;
}

/* 404 */
.lost { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 60px 0 90px; }
.lost img { width: min(240px, 60%); margin: 0 auto 26px; filter: drop-shadow(8px 10px 0 rgba(7,22,56,.5)); animation: bob 4.5s ease-in-out infinite; }
.lost h1 { margin-bottom: 16px; }
.lost .lead { color: #e6eeff; margin: 0 auto 30px; max-width: 520px; }
.lost .btn-row { justify-content: center; }

/* reveal on scroll (JS adds .reveal-ready to <html>) */
.reveal-ready [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1); }
.reveal-ready [data-reveal].in { opacity: 1; transform: none; }
.reveal-ready .panel[data-reveal].in:nth-child(odd) { transform: rotate(-.6deg); }
.reveal-ready .panel[data-reveal].in:nth-child(even) { transform: rotate(.6deg); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal-ready [data-reveal] { opacity: 1; transform: none; }
}

.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; }
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-l { margin-top: 40px; }
