/* Pressure Wash Panic: the game's sticker world. Cream ground, ink outlines,
   water blue, sun yellow and the worker's orange. Fonts are the game's own. */
@font-face { font-family: "Lilita One"; font-weight: 400; font-display: swap; src: url(fonts/lilita-one-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Lilita One"; font-weight: 400; font-display: swap; src: url(fonts/lilita-one-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Nunito"; font-weight: 600 800; 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+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Nunito"; font-weight: 600 800; 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+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --ink: #1b1530;
  --ground: #fff8e8;
  --ground-2: #eaf8ff;
  --paper: #fffdf6;
  --muted: #5d5670;
  --water: #3fd4ff;
  --blue: #1f8bff;
  --sun: #ffd21f;
  --orange: #ff7a1a;
  --grass: #35c94a;
  --pink: #ff5fa2;
  --display: "Lilita One", "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;
  --body: "Nunito", ui-rounded, system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 22px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 700 17px/1.55 var(--body); -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 400; letter-spacing: 0.3px; text-wrap: balance; }
p { margin: 0; }
a { color: var(--blue); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
kbd { font: 800 0.8em var(--body); background: var(--paper); border: 2px solid var(--ink); border-bottom-width: 4px; border-radius: 7px; padding: 0 6px; white-space: nowrap; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.wrap.narrow { width: min(760px, 100% - 32px); }
.center { text-align: center; justify-items: center; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 50; background: var(--sun); color: var(--ink); padding: 8px 12px; border: 3px solid var(--ink); border-radius: 12px; }
.skip:focus { left: 8px; }

/* ---------- sticker language ---------- */
.sticker-title {
  font-size: clamp(34px, 6vw, 60px); line-height: 1; color: var(--sun);
  -webkit-text-stroke: 5px var(--ink); paint-order: stroke fill; text-shadow: 0 5px 0 var(--ink);
}
.sticker-title.water { color: var(--water); }
.sticker-title.big { font-size: clamp(38px, 7vw, 72px); }
.kicker { font: 800 14px/1 var(--body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange); }
.kicker.light { color: var(--sun); }
.sticker-card { background: var(--paper); border: 4px solid var(--ink); border-radius: var(--radius); box-shadow: 0 6px 0 var(--ink); }
.frame { margin: 0; background: var(--paper); border: 5px solid var(--ink); border-radius: 26px; box-shadow: 0 8px 0 var(--ink); overflow: hidden; }
.frame img, .frame video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.tilt-l { rotate: -1.2deg; }
.tilt-r { rotate: 1.2deg; }

/* ---------- top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 18px;
  padding: 8px max(16px, calc((100% - 1120px) / 2)); background: var(--ground); border-bottom: 4px solid var(--ink);
}
.topbar-logo img { height: 50px; width: auto; }
.topbar nav { display: flex; gap: 18px; margin-left: auto; }
.topbar nav a { color: var(--ink); text-decoration: none; font-weight: 800; }
.topbar nav a:hover { color: var(--blue); }
.btn-mini {
  font: 800 16px/1 var(--body); color: var(--ink); text-decoration: none; background: var(--sun);
  border: 3px solid var(--ink); border-radius: 14px; padding: 10px 14px; box-shadow: 0 4px 0 var(--ink);
}
.btn-mini:hover { translate: 0 -1px; box-shadow: 0 5px 0 var(--ink); }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; min-height: min(86vh, 860px); display: grid; align-items: end; overflow: hidden; border-bottom: 5px solid var(--ink); }
.hero-art, .hero-art img { position: absolute; inset: 0; width: 100%; height: 100%; }
/* The art is decoration: it must never sit over (and swallow clicks on) the buttons. */
.hero-art { pointer-events: none; }
.hero-inner { position: relative; z-index: 1; }
.hero-art img { object-fit: cover; object-position: 60% 40%; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(27 21 48 / 0) 38%, rgb(27 21 48 / 0.55) 78%, rgb(27 21 48 / 0.75) 100%); }
.hero-inner { width: min(1120px, 100% - 32px); margin: 0 auto; padding: 40px 0 44px; display: grid; gap: 18px; justify-items: start; }
.hero-top, .hero-bottom { display: grid; gap: 18px; justify-items: start; }
.hero-logo { width: min(520px, 78vw); filter: drop-shadow(0 8px 0 rgb(27 21 48 / 0.35)); }
.hero h1 { line-height: 0; }
.hero-tag { font: 400 clamp(24px, 3.6vw, 36px)/1.1 var(--display); color: #fff; -webkit-text-stroke: 5px var(--ink); paint-order: stroke fill; text-shadow: 0 4px 0 var(--ink); }
.hero-tag span { color: var(--sun); }

.platforms { display: flex; flex-wrap: wrap; gap: 14px; }
.play-btn {
  display: inline-flex; align-items: center; gap: 12px; min-width: 230px; padding: 12px 18px 12px 12px;
  color: var(--ink); text-decoration: none; background: var(--paper);
  border: 4px solid var(--ink); border-radius: 20px; box-shadow: 0 7px 0 var(--ink);
  transition: translate 90ms, box-shadow 90ms;
}
.play-btn:hover { translate: 0 -2px; box-shadow: 0 9px 0 var(--ink); }
.play-btn:active { translate: 0 4px; box-shadow: 0 3px 0 var(--ink); }
.play-icon { flex: none; display: grid; place-items: center; width: 50px; height: 50px; border: 3px solid var(--ink); border-radius: 14px; background: var(--sun); }
.play-btn[data-platform="crazygames"] .play-icon { background: var(--water); }
.play-btn[data-platform="wavedash"] .play-icon { background: var(--pink); }
.play-icon svg { width: 30px; height: 30px; fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.play-icon svg circle { fill: var(--ink); stroke: none; }
.play-text { display: grid; font: 400 24px/1 var(--display); letter-spacing: 0.3px; }
.play-text small { font: 800 13px/1.3 var(--body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font: 800 14px/1 var(--body); color: var(--ink); background: rgb(255 253 246 / 0.92); border: 3px solid var(--ink); border-radius: 999px; padding: 7px 12px; }

/* ---------- bands & features ---------- */
.band { padding: 72px 0; }
.trailer { background: var(--ground-2); border-bottom: 5px solid var(--ink); }
.trailer .wrap { display: grid; gap: 22px; justify-items: center; text-align: center; }
.trailer .frame { width: min(960px, 100%); }
.caption { color: var(--muted); font-size: 15px; }

.feature { padding: 80px 0; }
.feature.alt { background: var(--ground-2); border-block: 5px solid var(--ink); }
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split.reverse > .frame { order: 2; }
.copy { display: grid; gap: 14px; align-content: start; }
.copy p { color: var(--muted); font-size: 18px; max-width: 58ch; }
.copy p strong { color: var(--ink); }

.sticker-row { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.sticker-row li { display: grid; justify-items: center; gap: 4px; width: 68px; font-size: 13px; color: var(--muted); }
.sticker-row img { width: 60px; height: 60px; object-fit: contain; filter: drop-shadow(0 3px 0 rgb(27 21 48 / 0.25)); transition: rotate 120ms; }
.sticker-row li:hover img { rotate: -8deg; }

.jobs { list-style: none; margin: 36px 0 44px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.job { display: grid; grid-template-columns: 72px 1fr; gap: 14px; padding: 16px; align-items: start; }
.job img { width: 72px; height: 72px; object-fit: contain; }
.job h3 { font-size: 24px; margin: 6px 0 4px; }
.job p { color: var(--muted); font-size: 15px; line-height: 1.45; }
.tier { display: inline-block; font: 800 12px/1 var(--body); letter-spacing: 0.08em; text-transform: uppercase; border: 2.5px solid var(--ink); border-radius: 999px; padding: 5px 9px; }
.tier.easy { background: #bff3c6; }
.tier.moderate { background: #fff0a6; }
.tier.hard { background: #ffc3a3; }
.tier.street { background: #cdeeff; }
.frame.wide { width: min(880px, 100%); margin-inline: auto; }

.gallery-band { background: var(--ground); }
.gallery-band .wrap { display: grid; gap: 26px; }
.gallery { list-style: none; margin: 0; padding: 6px 4px 18px; display: grid; grid-auto-flow: column; grid-auto-columns: min(440px, 82%); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; }
.gallery li { scroll-snap-align: start; }
.gallery a { display: block; border: 4px solid var(--ink); border-radius: 20px; overflow: hidden; box-shadow: 0 6px 0 var(--ink); }
.gallery img { aspect-ratio: 16 / 9; object-fit: cover; transition: scale 200ms; }
.gallery a:hover img { scale: 1.03; }

.controls { margin-top: 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.controls .sticker-card { padding: 18px 20px; display: grid; gap: 8px; }
.controls h3 { font-size: 24px; }
.controls p { color: var(--muted); font-size: 16px; line-height: 1.8; }

.ink { background: var(--ink); color: var(--paper); }
.made { display: grid; gap: 16px; max-width: 760px; }
.made p { color: #ded8ee; font-size: 19px; }
.made .links { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.made .links a { color: var(--water); font-weight: 800; }
.made .sticker-title { -webkit-text-stroke-color: #000; text-shadow: 0 5px 0 #000; }

.press { margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.facts { margin: 0; padding: 10px 20px; display: grid; }
.facts div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 10px 0; border-bottom: 2px dashed #e1d8c3; }
.facts div:last-child { border-bottom: 0; }
.facts dt { color: var(--muted); font-size: 15px; }
.facts dd { margin: 0; }
.downloads { padding: 18px 20px; display: grid; gap: 10px; }
.downloads h3 { font-size: 24px; }
.downloads ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.downloads a { display: grid; padding: 10px 12px; border: 3px solid var(--ink); border-radius: 14px; color: var(--ink); text-decoration: none; background: #fff; }
.downloads a:hover { background: #fff6c9; }
.downloads small { color: var(--muted); font-size: 13px; }

.faq { margin-top: 28px; display: grid; gap: 14px; }
.faq details { padding: 14px 18px; }
.faq summary { cursor: pointer; font: 400 22px/1.2 var(--display); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; font-family: var(--body); font-weight: 800; }
.faq details[open] summary::after { content: "–"; }
.faq summary::-webkit-details-marker { display: none; }
.faq p { margin-top: 8px; color: var(--muted); }

.final { padding: 88px 0 96px; background: radial-gradient(900px 400px at 50% 0%, #fff0a6, transparent 70%), var(--ground); }
.final .wrap { display: grid; gap: 30px; justify-items: center; }
.final .platforms { justify-content: center; }

.footer { background: var(--ink); color: #cfc8e0; padding: 28px 0; font-size: 15px; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.footer a { color: var(--water); }
.footer .small { font-size: 13px; }

/* ---------- press kit page (/press) ---------- */
.btn-mini.big { display: inline-grid; justify-items: start; font-size: 19px; padding: 14px 18px; border-width: 4px; border-radius: 16px; box-shadow: 0 6px 0 var(--ink); }
.btn-mini small { font: 700 13px/1.2 var(--body); color: var(--muted); }
.text-link { color: var(--ink); font-weight: 800; }
.press-hero { padding: 56px 0 40px; border-bottom: 5px solid var(--ink); background: radial-gradient(900px 400px at 20% 0%, #fff0a6, transparent 70%), var(--ground); }
.press-hero .wrap { display: grid; gap: 16px; justify-items: start; }
.press-hero .lede { font-size: 19px; color: var(--muted); max-width: 60ch; }
.press-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.press-page .press { margin-top: 0; }
.press-page .facts { margin-top: 6px; }
.copy-block { padding: 16px 18px; display: grid; gap: 8px; }
.copy-block h3, .copy-block summary { font: 400 20px/1.2 var(--display); }
.copy-block summary { cursor: pointer; }
.copy-block p { color: var(--ink); font-size: 16px; }
.kit { display: grid; gap: 14px; }
.kit-heading { font-size: 26px; margin-top: 22px; }
.kit-heading small { font: 800 14px var(--body); color: var(--muted); margin-left: 8px; }
.kit-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.kit-grid.videos { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.kit-item { display: grid; gap: 8px; padding: 10px; background: var(--paper); border: 4px solid var(--ink); border-radius: 18px; box-shadow: 0 5px 0 var(--ink); color: var(--ink); text-decoration: none; font-size: 14px; }
a.kit-item:hover { background: #fff6c9; }
.kit-item img, .kit-item video { width: 100%; max-height: 260px; object-fit: contain; border-radius: 10px; background: #efe7d2; }
.kit-item.checker img { background: conic-gradient(#e9e2cf 25%, #fbf7ec 0 50%, #e9e2cf 0 75%, #fbf7ec 0) 0 0 / 20px 20px; }
.kit-item > a { color: var(--ink); font-weight: 800; }
.center-actions { display: flex; justify-content: center; margin-top: 20px; }

/* ---------- small screens ---------- */
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split.reverse > .frame { order: 0; }
  .press { grid-template-columns: 1fr; }
}
@media (max-width: 699px) {
  .topbar nav { display: none; }
  .topbar .btn-mini { margin-left: auto; }
  .topbar-logo img { height: 42px; }
  /* Phones: the tall key art has sky on top (logo) and the worker mid-frame, so the
     buttons move below the art instead of covering him. */
  .hero { display: block; min-height: 0; border-bottom: 0; }
  .hero-art { position: relative; display: block; aspect-ratio: 9 / 14.5; }
  .hero-art img { object-position: 50% 12%; }
  .hero::after { background: linear-gradient(180deg, rgb(27 21 48 / 0.25) 0%, rgb(27 21 48 / 0) 30%); bottom: auto; height: 60%; }
  .hero-inner { width: auto; padding: 0; gap: 0; }
  .hero-top { position: absolute; top: 14px; left: 16px; right: 16px; justify-items: center; gap: 8px; }
  .hero-logo { width: min(320px, 84vw); }
  .hero-tag { text-align: center; font-size: 20px; -webkit-text-stroke-width: 4px; }
  .hero-bottom { justify-items: stretch; padding: 20px 16px 26px; background: var(--ink); border-bottom: 5px solid var(--ink); }
  .hero-bottom .play-btn { box-shadow: 0 6px 0 #000; }
  .platforms { flex-direction: column; }
  .play-btn { min-width: 0; width: 100%; }
  .chips { justify-content: center; }
  .band, .feature { padding: 56px 0; }
  .facts div { grid-template-columns: 96px 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .play-btn, .gallery img, .sticker-row img { transition: none; }
}
