/* Splashwick site: a storybook-pixel look in the game's palette (warm timber,
   sunny yellow, ocean blue, bobber red, navy outlines). System fonts only, no
   third-party requests. */
:root {
  --navy: #0f1d3d;
  --navy-2: #1b2d5c;
  --ocean: #2f86d6;
  --ocean-dk: #1b5ca8;
  --foam: #d4f0fb;
  --sky: #8fd3f4;
  --cream: #fff6e2;
  --paper: #fffaf0;
  --sand: #f3e2b8;
  --sun: #ffd23f;
  --sun-dk: #e89a1a;
  --red: #e2382e;
  --red-dk: #a5252a;
  --timber: #7a4a24;
  --timber-dk: #4c2d14;
  --ink: #1d2540;
  --ink-soft: #4a5370;
  --font-pixel: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--font-body); line-height: 1.6; font-size: 1.05rem; overflow-x: hidden; }
img { max-width: 100%; height: auto; }
a { color: var(--ocean-dk); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--sun); color: var(--navy); padding: 8px 14px; z-index: 50; border: 3px solid var(--navy); }
.skip:focus { left: 8px; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }

/* top bar */
header.top { position: sticky; top: 0; z-index: 30; background: var(--navy); border-bottom: 4px solid var(--sun); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; padding-top: 8px; padding-bottom: 8px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--sun); text-decoration: none; font-family: var(--font-pixel); font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.brand img { width: 34px; height: 34px; image-rendering: pixelated; }
header.top nav { display: flex; align-items: center; gap: 4px; }
header.top nav a { color: var(--foam); text-decoration: none; font-family: var(--font-pixel); font-size: 0.8rem; font-weight: 700; text-transform: uppercase; padding: 8px 9px; }
header.top nav a:hover { color: var(--sun); }
header.top nav a.btn { color: var(--navy); }
@media (max-width: 640px) { header.top nav a.opt { display: none; } }

/* buttons */
.btn { display: inline-block; font-family: var(--font-pixel); font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; text-decoration: none; padding: 14px 26px; border: 4px solid var(--navy); background: var(--sun); color: var(--navy); box-shadow: 0 6px 0 var(--navy); transition: transform .08s ease, box-shadow .08s ease; }
.btn:hover { transform: translateY(3px); box-shadow: 0 3px 0 var(--navy); }
.btn.small { padding: 7px 14px; font-size: 0.8rem; border-width: 3px; box-shadow: 0 3px 0 #000; }
.btn.red { background: var(--red); color: #fff; }
.btn.ghost { background: var(--paper); }

/* hero */
.hero { position: relative; background: linear-gradient(var(--sky) 0, var(--foam) 78%, #fff 100%); border-bottom: 0; overflow: hidden; padding: 28px 0 0; }
.hero .wrap { position: relative; z-index: 2; display: grid; gap: 8px; text-align: center; justify-items: center; }
.hero-art { position: relative; width: min(280px, 72vw); }
.hero-art img { display: block; width: 100%; height: auto; image-rendering: pixelated; animation: bob 3.2s ease-in-out infinite; transform-origin: 50% 70%; }
.spark { position: absolute; width: 14px; height: 14px; background: #fff; box-shadow: 0 0 0 3px var(--sun); clip-path: polygon(40% 0, 60% 0, 60% 40%, 100% 40%, 100% 60%, 60% 60%, 60% 100%, 40% 100%, 40% 60%, 0 60%, 0 40%, 40% 40%); animation: twinkle 2.4s ease-in-out infinite; }
.spark.s1 { left: -12%; top: 12%; }
.spark.s2 { right: -10%; top: 4%; animation-delay: .8s; width: 18px; height: 18px; }
.spark.s3 { right: -16%; bottom: 36%; animation-delay: 1.5s; width: 10px; height: 10px; }
.hero h1 { margin: 6px 0 0; font-family: var(--font-pixel); font-weight: 800; text-transform: uppercase; font-size: clamp(1.5rem, 6.4vw, 2.6rem); line-height: 1.12; color: var(--navy); letter-spacing: 0.02em; text-shadow: 3px 3px 0 var(--sun); }
.hero p.sub { margin: 8px 0 0; max-width: 36rem; font-size: clamp(1.05rem, 3.4vw, 1.25rem); color: var(--ink); font-weight: 500; }
.hero .cta { margin: 18px 0 6px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.hero .soon { margin: 0 0 20px; font-family: var(--font-pixel); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ocean-dk); font-weight: 700; }
.waves { display: block; height: 56px; width: 100%; position: relative; z-index: 1; margin-top: -8px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='56' shape-rendering='crispEdges'%3E%3Crect width='64' height='56' fill='%232f86d6'/%3E%3Crect x='0' y='0' width='64' height='8' fill='%23fff'/%3E%3Crect x='0' y='8' width='16' height='8' fill='%23fff'/%3E%3Crect x='32' y='8' width='16' height='8' fill='%23fff'/%3E%3Crect x='16' y='8' width='16' height='8' fill='%23d4f0fb'/%3E%3Crect x='48' y='8' width='16' height='8' fill='%23d4f0fb'/%3E%3Crect x='0' y='16' width='64' height='8' fill='%23d4f0fb' opacity='.0'/%3E%3Crect x='8' y='32' width='8' height='8' fill='%238fd3f4'/%3E%3Crect x='40' y='40' width='8' height='8' fill='%238fd3f4'/%3E%3Crect x='0' y='48' width='64' height='8' fill='%231b5ca8'/%3E%3C/svg%3E") repeat-x 0 0 / 64px 56px;
  animation: drift 6s linear infinite; }
.waves.alt { background-color: var(--ocean); }

@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-1.5deg); } 50% { transform: translateY(-10px) rotate(1.5deg); } }
@keyframes twinkle { 0%, 100% { opacity: .15; transform: scale(.6); } 50% { opacity: 1; transform: scale(1.15); } }
@keyframes drift { to { background-position: 64px 0; } }
@media (min-width: 860px) {
  .hero { padding-top: 40px; }
  .hero .wrap { grid-template-columns: 340px 1fr; text-align: left; justify-items: start; align-items: center; column-gap: 40px; }
  .hero-art { grid-row: 1 / span 4; width: 320px; }
  .hero .cta { justify-content: flex-start; }
  .hero h1 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-art img, .spark, .waves { animation: none; }
  .spark { opacity: .8; }
  .btn { transition: none; }
}

/* sections */
section { padding: 56px 0; }
.eyebrow { font-family: var(--font-pixel); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); margin: 0 0 6px; }
h2 { font-family: var(--font-pixel); text-transform: uppercase; letter-spacing: 0.03em; color: var(--navy); font-size: clamp(1.4rem, 5.4vw, 2.1rem); line-height: 1.15; margin: 0 0 12px; text-shadow: 2px 2px 0 var(--sun); }
.lead { color: var(--ink-soft); max-width: 42rem; margin: 0 0 24px; font-size: 1.1rem; }
.split { display: grid; gap: 22px; align-items: center; }
@media (min-width: 820px) { .split { grid-template-columns: 1fr 1fr; gap: 40px; } .split.flip > :first-child { order: 2; } }
.split p { margin: 0 0 12px; }
.frame { border: 4px solid var(--navy); box-shadow: 6px 6px 0 var(--navy); background: var(--navy); margin: 0; }
.frame img { display: block; width: 100%; image-rendering: pixelated; }
.tags { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-family: var(--font-pixel); font-size: 0.78rem; font-weight: 700; text-transform: uppercase; background: var(--paper); border: 3px solid var(--navy); padding: 3px 9px; color: var(--navy); }

.band-sun { background: var(--sun); border-top: 4px solid var(--navy); border-bottom: 4px solid var(--navy); }
.band-sun h2 { text-shadow: 2px 2px 0 #fff; }
.band-sun .lead { color: var(--navy); }
.band-sea { background: var(--ocean-dk); color: #fff; border-top: 4px solid var(--navy); border-bottom: 4px solid var(--navy); }
.band-sea h2 { color: #fff; text-shadow: 2px 2px 0 var(--navy); }
.band-sea .lead, .band-sea p { color: #eaf7ff; }
.band-sea .eyebrow { color: var(--sun); }
.band-sand { background: var(--sand); border-top: 4px solid var(--timber); border-bottom: 4px solid var(--timber); }

.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.card { background: var(--paper); border: 4px solid var(--navy); box-shadow: 5px 5px 0 var(--navy); padding: 16px 18px 18px; color: var(--ink); }
.card h3 { margin: 0 0 6px; font-family: var(--font-pixel); text-transform: uppercase; font-size: 1rem; color: var(--navy); letter-spacing: 0.03em; }
.card p { margin: 0; font-size: 0.98rem; color: var(--ink-soft); }
.card .role { font-family: var(--font-pixel); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--red); margin: 0 0 8px; font-weight: 700; }
.card blockquote { margin: 0 0 10px; font-style: italic; color: var(--ink); border-left: 4px solid var(--sun); padding-left: 10px; }
.face { float: right; width: 44px; height: 44px; margin: 0 0 6px 10px; border: 3px solid var(--navy); display: grid; place-items: center; font-family: var(--font-pixel); font-weight: 800; font-size: 1.3rem; color: var(--navy); }
#worlds .grid { grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); }
.world h3 { color: #fff; }
.world { color: #fff; }
.world p { color: #fff; }
.world.w1 { background: var(--ocean-dk); }
.world.w2 { background: #3b6f9a; }
.world.w3 { background: #1a8f8a; }
.world.w4 { background: #5a3a78; }
.world h3 { text-shadow: 2px 2px 0 var(--navy); }
.world .role { color: var(--sun); }
.card.world p { color: #fff; }

/* gallery */
.shot-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); }
figure { margin: 0; }
.shot-grid figure img { display: block; width: 100%; height: auto; image-rendering: pixelated; background: var(--navy); border: 4px solid var(--navy); box-shadow: 5px 5px 0 var(--navy); }
figcaption { font-size: 0.92rem; color: var(--ink-soft); padding-top: 10px; }

/* faq */
.faq { max-width: 46rem; }
details { background: var(--paper); border: 4px solid var(--navy); box-shadow: 4px 4px 0 var(--navy); margin: 0 0 14px; }
summary { cursor: pointer; font-family: var(--font-pixel); font-weight: 800; text-transform: uppercase; font-size: 0.95rem; padding: 12px 16px; color: var(--navy); }
details[open] summary { background: var(--sun); }
details p { margin: 0; padding: 12px 16px 14px; color: var(--ink-soft); }

/* call to action */
.cta-band { text-align: center; }
.cta-band .mark { width: 72px; height: 72px; image-rendering: pixelated; margin: 0 auto 6px; display: block; animation: bob 3.2s ease-in-out infinite; }
.cta-band p { max-width: 34rem; margin: 0 auto 18px; }
@media (prefers-reduced-motion: reduce) { .cta-band .mark { animation: none; } }

footer { background: var(--navy); border-top: 4px solid var(--sun); padding: 34px 0 44px; text-align: center; font-size: 0.92rem; color: var(--foam); }
footer img.logo { display: block; height: 80px; width: auto; margin: 0 auto 12px; background: #fff; padding: 6px 12px; border-radius: 8px; }
footer a { color: var(--foam); }
footer p { margin: 6px 0; }
footer .links a { margin: 0 8px; white-space: nowrap; }

/* plain pages (privacy, press) */
main.doc { max-width: 740px; margin: 0 auto; padding: 44px 16px 72px; }
main.doc h1 { font-family: var(--font-pixel); text-transform: uppercase; letter-spacing: 0.03em; color: var(--navy); text-shadow: 3px 3px 0 var(--sun); font-size: clamp(1.7rem, 6vw, 2.4rem); margin: 0 0 6px; }
main.doc .updated { color: var(--ink-soft); font-size: 0.9rem; margin: 0 0 28px; }
main.doc h2 { font-size: 1.15rem; margin: 36px 0 10px; text-shadow: none; color: var(--red-dk); }
main.doc p, main.doc li { color: var(--ink); }
main.doc ul { padding-left: 22px; }
main.doc li { margin: 8px 0; }
.box { background: var(--paper); border: 4px solid var(--navy); box-shadow: 5px 5px 0 var(--navy); padding: 16px 20px; margin: 22px 0; }
.box p { margin: 0; }
code { font-family: var(--font-pixel); font-size: 0.9em; color: var(--red-dk); }
table.facts { width: 100%; border-collapse: collapse; background: var(--paper); border: 4px solid var(--navy); }
table.facts th, table.facts td { text-align: left; padding: 9px 12px; border-bottom: 2px solid var(--sand); vertical-align: top; }
table.facts th { width: 38%; font-family: var(--font-pixel); font-size: 0.8rem; text-transform: uppercase; color: var(--navy); }
.kit { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); padding: 0; list-style: none; }
.kit li { margin: 0; background: var(--paper); border: 4px solid var(--navy); box-shadow: 4px 4px 0 var(--navy); padding: 12px; text-align: center; }
.kit img { display: block; margin: 0 auto 8px; max-height: 120px; width: auto; background: #fff; border: 2px solid var(--sand); }
.kit a { font-family: var(--font-pixel); font-size: 0.8rem; font-weight: 700; word-break: break-word; }
