/* Nick Makes Games: the studio pages (/games/) and Pull N Park (/pullnpark/).
   The nickburum.com "printed manual" bones (warm paper, heavy type, hard offset shadows) meet the studio logo:
   sunshine yellow, coral and ink, rounded toy shapes, a little wink. No scripts; motion is CSS only. */

@font-face { font-family: "Outfit"; font-weight: 500; font-display: swap; src: url("/games/fonts/outfit-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-weight: 700; font-display: swap; src: url("/games/fonts/outfit-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-weight: 800; font-display: swap; src: url("/games/fonts/outfit-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-weight: 200 800; font-stretch: 75% 100%; font-display: swap; src: url("/assets/fonts/bricolage-grotesque.woff2") format("woff2"); }
@font-face { font-family: "Titan One"; font-weight: 400; font-display: swap; src: url("/pullnpark/fonts/titan-one-latin-400-normal.woff2") format("woff2"); }

:root {
  color-scheme: light;
  --paper: #f1eadb;
  --paper-2: #e8dec8;
  --card: #fbf7ee;
  --ink: #15161d;
  --ink-2: #3f3b36;
  --ink-3: #66604f;
  --rule: #c9bc9f;
  --sun: #ffc933;
  --sun-2: #f5b400;
  --coral: #ff5a4f;
  --coral-ink: #c63a2f;
  --cream: #fff8ee;
  --teal: #139c9a;
  --teal-2: #0b6f78;
  --teal-ink: #0a5a61;
  --night: #16121d;
  --gold: #f2c14e;
  --parch: #efe0bd;
  --display: "Outfit", "Arial Rounded MT Bold", system-ui, sans-serif;
  --body: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1120px;
  --gutter: clamp(18px, 4.5vw, 44px);
  --r: 26px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--paper); color: var(--ink); font: 400 18px/1.6 var(--body); overflow-x: hidden;
  background-image: url("/games/img/grain.svg");
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-color: var(--coral); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.pnp-hero :focus-visible, .pnp-band :focus-visible { outline-color: var(--sun); }
.game.edi :focus-visible { outline-color: var(--gold); }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--cream); padding: 8px 14px; border-radius: 10px; z-index: 10; }
.skip:focus { left: 12px; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.02; letter-spacing: -.01em; margin: 0; }
p { margin: 0 0 1em; }
.lede { font-size: clamp(19px, 2.1vw, 22px); color: var(--ink-2); max-width: 36em; }
.kicker { font: 700 14px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }

/* top bar */
.bar { position: sticky; top: 0; z-index: 5; background: rgba(241, 234, 219, .92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 2px solid var(--ink); }
.bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; min-height: 44px; min-width: 44px; text-decoration: none; font: 800 18px/1 var(--display); }
.brand img { width: 34px; height: 34px; }
.bar nav { display: flex; gap: clamp(10px, 2.4vw, 26px); flex-wrap: wrap; justify-content: flex-end; }
.bar nav a { display: inline-flex; align-items: center; min-height: 44px; font: 700 15px/1 var(--display); text-decoration: none; padding: 3px 2px 0; border-bottom: 3px solid transparent; }
.bar nav a:hover, .bar nav a[aria-current="page"] { border-bottom-color: var(--coral); }

/* buttons: a print block with a hard offset shadow, rounded like a toy */
.btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 16px;
  font: 800 17px/1 var(--display); text-decoration: none; color: var(--cream); background: var(--ink); border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--coral); transition: transform .12s var(--ease), box-shadow .12s var(--ease);
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--coral); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--coral); }
.btn.ghost { background: var(--cream); color: var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.btn.ghost:hover { box-shadow: 6px 6px 0 var(--ink); }
.badge-soon {
  display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 20px; border-radius: 16px; border: 2px dashed var(--ink);
  font: 800 16px/1 var(--display); background: var(--cream);
}
.store img { height: 52px; width: auto; }

/* stamp: the site's inked stamp, in coral */
.stamp {
  display: inline-block; font: 800 14px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--coral-ink);
  border: 3px solid var(--coral-ink); border-radius: 10px; padding: 7px 11px 6px; transform: rotate(-4deg); background: var(--cream);
  -webkit-mask-image: url("/games/img/ink-mask.svg"); mask-image: url("/games/img/ink-mask.svg");
}
.stamp.gold { color: #7a5600; border-color: #9a6c00; }

/* ---- studio hero ------------------------------------------------------------------------------------------- */
.hero { padding: clamp(40px, 7vw, 86px) 0 clamp(36px, 6vw, 70px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(44px, 6vw, 80px); text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--coral-ink); }
.hero .lede { margin: 18px 0 28px; }
.hero .cta { display: flex; gap: 16px; flex-wrap: wrap; }

/* the animated studio logo: the face springs up toward you, the name glides in, the face winks (CSS only) */
/* the stage is split like the brand banner: Pull N Park teal on the left, Ediguard night on the right; the two
   game icons are tucked on its corners like cartridges and pop in after the wink */
.logo-wrap { position: relative; padding: 7% 6% 9% 7%; }
.logo-stage {
  position: relative; aspect-ratio: 1 / .94; border-radius: 40px; border: 2px solid var(--ink);
  background: linear-gradient(112deg, #0b6670 0 49.4%, var(--ink) 49.4% 50.6%, #2a2140 50.6%);
  box-shadow: 10px 10px 0 var(--sun); display: grid; place-items: center; overflow: hidden;
}
.logo-stage::before { content: ""; position: absolute; inset: 0; background: radial-gradient(55% 48% at 50% 40%, rgba(255, 201, 51, .22), transparent 72%); }
.nmg-logo { position: relative; width: 86%; margin-top: 1%; perspective: 700px; perspective-origin: 50% 40%; }
.logo-wrap .cart {
  position: absolute; z-index: 2; width: 27%; min-width: 60px; border-radius: 22%; border: 3px solid var(--ink); box-shadow: 6px 6px 0 var(--ink);
  background: var(--ink); transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
/* the image is rounded itself (not clipped by the cart) so the label can hang off the bottom edge at a readable size */
.logo-wrap .cart img { width: 100%; border-radius: 19%; }
.logo-wrap .cart.pnp { left: 0; top: 0; transform: rotate(-9deg); animation: cart-a .7s 2.55s both; }
.logo-wrap .cart.edi { right: 0; bottom: 0; transform: rotate(7deg); animation: cart-b .7s 2.75s both; }
.logo-wrap .cart.pnp:hover { transform: rotate(-6deg) translate(-2px, -3px); box-shadow: 8px 9px 0 var(--ink); }
.logo-wrap .cart.edi:hover { transform: rotate(4deg) translate(-2px, -3px); box-shadow: 8px 9px 0 var(--ink); }
.logo-wrap .cart .tag {
  position: absolute; left: 50%; bottom: -13px; transform: translateX(-50%); white-space: nowrap; font: 800 12px/1 var(--display);
  letter-spacing: .05em; text-transform: uppercase; background: var(--cream); color: var(--ink); border: 2px solid var(--ink); border-radius: 8px; padding: 4px 6px 3px;
}
@keyframes cart-a { 0% { opacity: 0; transform: rotate(-30deg) scale(.4); animation-timing-function: cubic-bezier(.3, 1.5, .5, 1); } 100% { opacity: 1; transform: rotate(-9deg); } }
@keyframes cart-b { 0% { opacity: 0; transform: rotate(28deg) scale(.4); animation-timing-function: cubic-bezier(.3, 1.5, .5, 1); } 100% { opacity: 1; transform: rotate(7deg); } }
.nmg-face-w { transform-origin: 50% 60%; animation: nick-pop 1.05s linear .25s both; }
.nmg-face-tilt { transform-origin: 50% 70%; animation: nick-tilt .9s 1.75s both; }
.nmg-name-w { animation: nick-name .62s .75s both; }
.nmg-wink { transform-box: fill-box; transform-origin: 50% 60%; animation: nick-wink .9s 1.75s both; }
.nmg-lid { opacity: 0; transform-box: fill-box; transform-origin: 50% 100%; animation: nick-lid .9s 1.75s both; }
.nmg-smile { transform-box: fill-box; transform-origin: 50% 0%; animation: nick-smile .9s 1.75s both; }
@keyframes nick-pop {
  0% { opacity: 0; transform: translateZ(-320px) rotateX(24deg) scale(.55); animation-timing-function: cubic-bezier(.2, .75, .35, 1); }
  38% { opacity: 1; transform: translateZ(70px) rotateX(-7deg) scale(1.07); animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  58% { transform: translateZ(-16px) rotateX(2.5deg) scale(.985); animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  75% { transform: translateZ(7px) rotateX(-1deg) scale(1.006); animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  89% { transform: translateZ(-2px) rotateX(.3deg) scale(.999); }
  100% { opacity: 1; transform: none; }
}
@keyframes nick-name { 0% { opacity: 0; transform: translateY(26px) scale(.96); animation-timing-function: cubic-bezier(.2, .8, .3, 1); } 70% { opacity: 1; transform: translateY(-3px) scale(1.005); } 100% { opacity: 1; transform: none; } }
@keyframes nick-tilt { 0% { transform: none; animation-timing-function: cubic-bezier(.3, 0, .2, 1); } 32%, 58% { transform: rotate(-5deg) scale(1.035) translateY(-4px); animation-timing-function: cubic-bezier(.3, 0, .25, 1); } 80% { transform: rotate(1.2deg) scale(.995); } 100% { transform: none; } }
@keyframes nick-wink { 0% { transform: none; opacity: 1; animation-timing-function: cubic-bezier(.55, 0, .75, .4); } 26% { transform: scale(1.12, .06); opacity: 1; } 28%, 60% { transform: scale(1.12, .06); opacity: 0; } 62% { transform: scale(1.12, .06); opacity: 1; animation-timing-function: cubic-bezier(.2, .9, .3, 1.25); } 100% { transform: none; opacity: 1; } }
@keyframes nick-lid { 0%, 24% { opacity: 0; transform: scale(.7, .4); } 30% { opacity: 1; transform: scale(1.05, 1.1); animation-timing-function: cubic-bezier(.3, 1.4, .5, 1); } 38%, 58% { opacity: 1; transform: none; } 64%, 100% { opacity: 0; transform: scale(.8, .5); } }
@keyframes nick-smile { 0% { transform: none; animation-timing-function: cubic-bezier(.3, 0, .2, 1); } 32%, 58% { transform: translateY(-10px) scale(1.08, 1.14); animation-timing-function: cubic-bezier(.3, 0, .25, 1.3); } 100% { transform: none; } }

/* ---- game cards: each game gets its own colors, like a box on the shelf ------------------------------------ */
.shelf { padding: clamp(30px, 6vw, 70px) 0; }
.shelf h2 { font-size: clamp(40px, 6vw, 72px); margin-bottom: 8px; }
.games { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(22px, 3.5vw, 40px); margin-top: 34px; }
.game {
  position: relative; display: flex; flex-direction: column; border: 2px solid var(--ink); border-radius: var(--r); overflow: hidden;
  box-shadow: 8px 8px 0 var(--ink); transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.game:hover { transform: translate(-3px, -3px); box-shadow: 11px 11px 0 var(--ink); }
.game .art { position: relative; aspect-ratio: 16 / 10; display: grid; place-items: center; overflow: hidden; }
.game .art:focus-visible { outline-offset: -6px; border-radius: 0; }
.game .body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.game h3 { font-size: clamp(28px, 3.2vw, 38px); }
.game p { margin: 0; }
.game .meta { font: 700 14px/1.3 var(--display); letter-spacing: .06em; text-transform: uppercase; opacity: .85; }
.game .actions { margin-top: auto; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; padding-top: 6px; }
.game .actions a:not(.btn) { display: inline-flex; align-items: center; min-height: 44px; }
.game .stamp { position: absolute; top: 16px; right: 16px; z-index: 2; }
.game.pnp { background: var(--cream); }
.game.pnp .art { background: linear-gradient(170deg, #5fe0d2, var(--teal) 55%, var(--teal-2)); }
.game.pnp .art img.icon { width: 46%; border-radius: 22%; box-shadow: 0 18px 30px -12px rgba(0, 40, 40, .55); transform: rotate(-4deg); }
.game.pnp .art img.shot { position: absolute; width: 27%; border-radius: 16px; border: 3px solid var(--ink); box-shadow: 0 14px 24px -10px rgba(0, 0, 0, .5); }
.game.pnp .art img.shot.a { left: 5%; bottom: -16%; transform: rotate(-9deg); }
.game.pnp .art img.shot.b { right: 5%; bottom: -16%; transform: rotate(8deg); }
.game.edi { background: var(--night); color: var(--parch); }
.game.edi .art { background: #120e18; }
.game.edi .art img { width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; }
.game.edi .btn { background: var(--gold); color: var(--night); border-color: var(--gold); box-shadow: 4px 4px 0 #8a5d10; }
.game.edi a:not(.btn) { color: var(--gold); text-decoration-color: var(--gold); }
.game.edi .stamp { color: var(--gold); border-color: var(--gold); background: var(--night); }

/* studio note */
.about { padding: clamp(30px, 6vw, 70px) 0; }
.about .card { background: var(--card); border: 2px solid var(--ink); border-radius: var(--r); padding: clamp(24px, 4vw, 44px); box-shadow: 8px 8px 0 var(--sun); display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 4vw, 40px); align-items: center; }
.about .polaroid { position: relative; margin: 8px 6px 0 0; width: clamp(150px, 17vw, 200px); background: #fff; padding: 9px 9px 12px; border: 2px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); transform: rotate(-4deg); }
.about .polaroid::before { content: ""; position: absolute; top: -13px; left: 50%; width: 84px; height: 24px; transform: translateX(-50%) rotate(3deg); background: rgba(255, 201, 51, .8); border-left: 1px dashed rgba(0, 0, 0, .15); border-right: 1px dashed rgba(0, 0, 0, .15); }
.about .polaroid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 22%; }
.about .polaroid figcaption { font: 800 13px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; text-align: center; margin-top: 10px; color: var(--ink-2); }
.about h2 { font-size: clamp(30px, 4vw, 46px); margin-bottom: 12px; }

/* footer */
.foot { border-top: 2px solid var(--ink); padding: 34px 0 44px; margin-top: 30px; font-size: 16px; color: var(--ink-2); }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 18px 34px; align-items: center; justify-content: space-between; }
.foot nav { display: flex; flex-wrap: wrap; gap: 0 22px; }
.foot-id { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; }
.foot .copy { margin: 0; font-size: 15px; color: var(--ink-3); }
.foot nav a { display: inline-flex; align-items: center; min-height: 44px; }
.foot .brand img { width: 28px; height: 28px; }

/* ---- Pull N Park game page ---------------------------------------------------------------------------------- */
.pnp-hero { background: linear-gradient(170deg, #0b787e, var(--teal-2) 55%, #08525a); color: var(--cream); border-bottom: 2px solid var(--ink); overflow: hidden; }
.pnp-hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(24px, 5vw, 60px); align-items: center; padding-top: clamp(40px, 7vw, 80px); padding-bottom: clamp(40px, 7vw, 80px); }
.pnp-hero .icon { width: 120px; border-radius: 27px; border: 3px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); margin-bottom: 22px; }
.pnp-title { font: 400 clamp(58px, 9vw, 112px)/.92 "Titan One", var(--display); color: var(--cream); text-shadow: 0 6px 0 #8f1e17, 4px 9px 0 rgba(0, 0, 0, .18); letter-spacing: .01em; }
.pnp-tag { font: 800 clamp(18px, 2.2vw, 24px)/1.2 var(--display); letter-spacing: .14em; text-transform: uppercase; margin: 16px 0 14px; }
.pnp-hero .lede { color: var(--cream); }
.pnp-hero .cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 26px; align-items: center; }
.pnp-hero .badge-soon { color: var(--ink); }
.phones { position: relative; height: clamp(380px, 46vw, 560px); }
.phones img { position: absolute; width: 46%; border-radius: 26px; border: 4px solid var(--ink); box-shadow: 10px 12px 0 rgba(10, 60, 66, .55); }
.phones img:nth-child(1) { left: 2%; top: 9%; transform: rotate(-7deg); z-index: 1; }
.phones img:nth-child(2) { right: -2%; top: -1%; transform: rotate(6deg); }
/* the hero gameplay video: a phone in front, one screenshot tilted behind it. Autoplays muted and looping. */
.phones--video img { width: 42%; left: 0; top: 12%; transform: rotate(-8deg); }
.phone-video { position: absolute; right: 2%; top: 0; z-index: 2; width: 54%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 28px; border: 4px solid var(--ink); background: var(--ink); box-shadow: 10px 12px 0 rgba(10, 60, 66, .55); transform: rotate(4deg); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; margin-top: 44px; counter-reset: s; align-items: start; }
.step { position: relative; background: var(--card); border: 2px solid var(--ink); border-radius: 18px; padding: 14px 14px 20px; box-shadow: 6px 6px 0 var(--teal); transform: rotate(-1.5deg); }
.step:nth-child(2) { box-shadow: 6px 6px 0 var(--coral); transform: rotate(1deg); margin-top: 22px; }
.step:nth-child(3) { box-shadow: 6px 6px 0 var(--sun); transform: rotate(-.5deg); margin-top: 8px; }
.step::before { content: ""; position: absolute; top: -13px; left: 50%; width: 90px; height: 24px; transform: translateX(-50%) rotate(-3deg); background: rgba(255, 201, 51, .78); border-left: 1px dashed rgba(0, 0, 0, .15); border-right: 1px dashed rgba(0, 0, 0, .15); }
.step:nth-child(2)::before { transform: translateX(-50%) rotate(2deg); background: rgba(95, 224, 210, .7); }
.step .crop { height: 150px; border-radius: 10px; border: 2px solid var(--ink); overflow: hidden; margin-bottom: 16px; background: #6b3d1f; }
.step .crop img { width: 100%; height: 100%; object-fit: cover; }
.step:nth-child(1) .crop img { object-position: 50% 57%; }
.step:nth-child(2) .crop img { object-position: 50% 61%; }
.step:nth-child(3) .crop img { object-position: 50% 47%; }
.step h3 { font-size: 26px; margin: 0 6px 8px; }
.step p { margin: 0 6px; }
.step h3::before { counter-increment: s; content: counter(s); display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--coral-ink); color: var(--cream); font-size: 20px; margin-right: 10px; vertical-align: 3px; }
.section { padding: clamp(36px, 6vw, 70px) 0; }
.section h2 { font-size: clamp(36px, 5.4vw, 62px); }
.gallery { display: flex; gap: 18px; overflow-x: auto; padding: 26px var(--gutter) 22px; margin-inline: calc(-1 * var(--gutter)); scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); -webkit-overflow-scrolling: touch; }
.gallery figure { margin: 0; flex: 0 0 clamp(150px, 40vw, 230px); scroll-snap-align: start; }
@media (min-width: 980px) {
  .gallery { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); overflow: visible; margin-inline: 0; padding: 26px 0 22px; }
}
.gallery img { width: 100%; border-radius: 20px; border: 3px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); }
.features { columns: 2 320px; column-gap: 40px; padding: 0; list-style: none; margin: 24px 0 0; }
.features li { break-inside: avoid; padding: 0 0 14px 36px; position: relative; }
.features li::before { content: ""; position: absolute; left: 0; top: 5px; width: 22px; height: 22px; border-radius: 7px; background: var(--sun); border: 2px solid var(--ink); }
/* a ticked box, so the list reads as done, not as a to-do */
.features li::after { content: ""; position: absolute; left: 6px; top: 10px; width: 11px; height: 6px; border-left: 3px solid var(--ink); border-bottom: 3px solid var(--ink); transform: rotate(-45deg); }
.features b { font-family: var(--display); }

/* ---- legal and support pages: a calm reading column ---------------------------------------------------------- */
.doc { padding: clamp(36px, 6vw, 64px) 0; }
.doc .wrap { max-width: 780px; }
.doc h1 { font-size: clamp(42px, 6vw, 68px); margin-bottom: 10px; }
.pnp-band { display: flex; align-items: center; gap: 16px; min-height: 100px; padding: 18px 22px; margin-bottom: 30px; border: 2px solid var(--ink); border-radius: 22px; box-shadow: 6px 6px 0 var(--ink); background: linear-gradient(170deg, #0b787e, var(--teal-2) 60%, #08525a); color: var(--cream); text-decoration: none; }
.pnp-band img { width: 56px; height: 56px; border-radius: 14px; border: 2px solid var(--ink); }
.pnp-band span { font: 400 clamp(30px, 5vw, 40px)/1 "Titan One", var(--display); text-shadow: 0 4px 0 #8f1e17; letter-spacing: .01em; }
.doc h2 { font-size: clamp(24px, 3vw, 30px); margin: 38px 0 10px; }
.doc ul { padding-left: 22px; }
.doc li { margin-bottom: 8px; }
.doc .updated { color: var(--ink-3); font-size: 16px; margin-bottom: 26px; }
.qa { background: var(--card); border: 2px solid var(--ink); border-radius: 20px; padding: 4px 22px; margin: 14px 0; box-shadow: 5px 5px 0 var(--teal); }
.qa summary { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font: 800 19px/1.3 var(--display); cursor: pointer; padding: 16px 0; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; flex: none; font-size: 24px; line-height: 1; color: var(--coral-ink); }
.qa[open] summary::after { content: "–"; }
.qa > div { padding: 0 0 16px; }
.contact { background: var(--sun); border: 2px solid var(--ink); border-radius: 22px; padding: 24px; box-shadow: 6px 6px 0 var(--ink); margin: 26px 0; }
.contact a { display: inline-flex; align-items: center; min-height: 44px; max-width: 100%; font: 800 clamp(18px, 2.4vw, 22px)/1.3 var(--display); overflow-wrap: anywhere; }

/* closing band on the game page: get the game, then the other game from the studio */
.outro-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 40px); align-items: stretch; }
.outro .get { display: flex; gap: clamp(18px, 3vw, 28px); align-items: flex-start; background: var(--sun); border: 2px solid var(--ink); border-radius: var(--r); padding: clamp(24px, 4vw, 40px); box-shadow: 8px 8px 0 var(--ink); }
.outro .get .icon { flex: none; width: clamp(72px, 9vw, 96px); border-radius: 22%; border: 3px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); transform: rotate(-4deg); }
.outro .get h2 { font-size: clamp(30px, 4vw, 46px); margin-bottom: 12px; }
.outro .get p { color: var(--ink); }
.outro .cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 6px; }
.outro .more { display: flex; flex-direction: column; gap: 14px; background: var(--night); color: var(--parch); border: 2px solid var(--ink); border-radius: var(--r); padding: clamp(22px, 3.5vw, 32px); box-shadow: 8px 8px 0 var(--gold); }
.outro .more .kicker { color: var(--gold); margin: 0; }
.outro .more-row { display: flex; align-items: center; gap: 16px; }
.outro .more-row img { width: 76px; flex: none; border-radius: 22%; border: 2px solid var(--gold); image-rendering: pixelated; }
.outro .more h3 { font-size: clamp(24px, 2.6vw, 30px); margin-top: 10px; }
.outro .more h3 a { text-decoration: none; }
.outro .more h3 a:hover { text-decoration: underline; text-decoration-color: var(--gold); }
.outro .more .stamp { color: var(--gold); border-color: var(--gold); background: var(--night); font-size: 12px; }
.outro .more p { margin: 0; }
.outro .more .actions { margin-top: auto; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; padding-top: 4px; }
.outro .more .actions a:not(.btn) { display: inline-flex; align-items: center; min-height: 44px; color: var(--gold); text-decoration-color: var(--gold); }
.outro .more .btn { background: var(--gold); color: var(--night); border-color: var(--gold); box-shadow: 4px 4px 0 #8a5d10; }
.outro .more :focus-visible { outline-color: var(--gold); }

/* reveal once, softly */
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise .8s var(--ease) both; }
  .rise.d1 { animation-delay: .08s; } .rise.d2 { animation-delay: .16s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .nmg-face-w, .nmg-face-tilt, .nmg-name-w, .nmg-wink, .nmg-lid, .nmg-smile, .rise, .logo-wrap .cart { animation: none !important; }
  .btn, .game, .logo-wrap .cart { transition: none; }
}

/* phones */
@media (max-width: 860px) {
  .hero .wrap, .pnp-hero .wrap, .games, .steps, .outro-grid { grid-template-columns: 1fr; }
  .logo-wrap { max-width: 480px; width: 100%; margin: 0 auto; }
  .steps { gap: 34px; max-width: 520px; }
  .step, .step:nth-child(2), .step:nth-child(3) { margin-top: 0; }
  .phones { height: clamp(360px, 92vw, 520px); max-width: 520px; width: 100%; margin: 0 auto; }
  .about .card { grid-template-columns: minmax(0, 1fr); text-align: left; }
  .about a[href^="mailto"] { overflow-wrap: anywhere; }
  .about .polaroid { width: 180px; margin: 10px 0 4px 4px; }
}
@media (max-width: 520px) {
  body { font-size: 17px; }
  .bar .wrap { min-height: 58px; }
  .bar .brand span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .btn, .badge-soon { min-height: 50px; padding: 0 18px; font-size: 16px; }
  .outro .get { flex-direction: column; }
}
@media (max-width: 380px) {
  .bar nav { gap: 12px; }
  .bar nav a { font-size: 14px; }
  .contact a { font-size: 16px; }
}
