/* Hanguru Games. One stylesheet, no scripts.
   The whole site follows the logo: a smooth side, a pixel side and the gate between them. */

@font-face {
  font-family: "Hanguru Pixel";
  src: url("/assets/x/hanguru-pixel.dfca459c4e.woff") format("woff");
  font-display: swap;
}

:root {
  --orange: #ffa834;
  --orange-soft: #ffd9a0;
  --orange-pale: #ffe9c9;
  --navy: #1a1535;
  --navy-2: #241e4a;
  --navy-3: #332b66;
  --paper: #fff8ec;
  --paper-2: #fdeed6;
  --cream: #fbf4e6;
  --ink: #1a1535;
  --ink-2: #4f4a68;
  --on-dark: #fbf4e6;
  --on-dark-2: #bcb6d6;
  --night: #120e27;
  --wood: #1b110b;
  --wood-2: #2a1a10;
  --wood-3: #3d2718;
  --on-wood: #f6ead9;
  --on-wood-2: #cdb9a2;
  --sans: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --pixel: "Hanguru Pixel", ui-monospace, "Cascadia Mono", Menlo, Consolas, monospace;
  --gutter: clamp(20px, 5vw, 96px);
  --passage: polygon(0.00% 100.00%,0.00% 31.45%,0.11% 29.39%,0.43% 27.34%,0.96% 25.31%,1.70% 23.31%,2.65% 21.34%,3.81% 19.41%,5.16% 17.54%,6.70% 15.72%,8.43% 13.98%,10.33% 12.30%,12.41% 10.71%,14.64% 9.21%,17.03% 7.80%,19.56% 6.50%,22.22% 5.30%,25.00% 4.21%,27.89% 3.24%,30.87% 2.39%,33.93% 1.67%,37.06% 1.07%,40.25% 0.60%,43.47% 0.27%,46.73% 0.07%,50.00% 0.00%,75.00% 0.00%,75.00% 11.32%,87.14% 11.32%,87.14% 22.01%,100.00% 22.01%,100.00% 100.00%);
  --s: 6px;
  --stepped-r: polygon(0 0, calc(100% - var(--s) * 2) 0, calc(100% - var(--s) * 2) var(--s), calc(100% - var(--s)) var(--s),
    calc(100% - var(--s)) calc(var(--s) * 2), 100% calc(var(--s) * 2), 100% calc(100% - var(--s) * 2),
    calc(100% - var(--s)) calc(100% - var(--s) * 2), calc(100% - var(--s)) calc(100% - var(--s)),
    calc(100% - var(--s) * 2) calc(100% - var(--s)), calc(100% - var(--s) * 2) 100%, 0 100%);
  --stepped: polygon(0 calc(var(--s) * 2), var(--s) calc(var(--s) * 2), var(--s) var(--s), calc(var(--s) * 2) var(--s),
    calc(var(--s) * 2) 0, calc(100% - var(--s) * 2) 0, calc(100% - var(--s) * 2) var(--s), calc(100% - var(--s)) var(--s),
    calc(100% - var(--s)) calc(var(--s) * 2), 100% calc(var(--s) * 2), 100% calc(100% - var(--s) * 2),
    calc(100% - var(--s)) calc(100% - var(--s) * 2), calc(100% - var(--s)) calc(100% - var(--s)),
    calc(100% - var(--s) * 2) calc(100% - var(--s)), calc(100% - var(--s) * 2) 100%, calc(var(--s) * 2) 100%,
    calc(var(--s) * 2) calc(100% - var(--s)), var(--s) calc(100% - var(--s)), var(--s) calc(100% - var(--s) * 2),
    0 calc(100% - var(--s) * 2));
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--sans);
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.12; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, dl, dd, figure { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.vh {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.px {
  font-family: var(--pixel);
  font-weight: 400;
  font-synthesis: none;
  text-transform: uppercase;
  letter-spacing: 0;
  line-height: 1.3;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 20;
  padding: 10px 16px; background: var(--navy); color: var(--cream); border-radius: 8px;
}
.skip:focus { top: 12px; }
.muted { color: var(--ink-2); }

/* Buttons wear the logo: a round left end and a stepped right end. */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 24px 14px 26px;
  background: var(--orange);
  color: var(--navy);
  font-size: 20px;
  text-decoration: none;
  border-radius: 16px 0 0 16px;
  clip-path: var(--stepped-r);
  transition: background-color .15s;
}
.btn:hover { background: #ffbb5c; }
.btn:focus-visible { outline: 3px solid var(--navy); outline-offset: -7px; }
.btn--off { background: transparent; color: inherit; padding-left: 0; clip-path: none; opacity: .8; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.more { font-weight: 600; text-underline-offset: 4px; }
.chip { font-size: .9rem; opacity: .75; }

/* The header */
.lockup { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.lockup__mark { height: 46px; width: auto; }
.lockup__word { height: 34px; width: auto; }
.head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 20px var(--gutter);
  z-index: 5;
}
.nav { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 32px); }
.nav a { text-decoration: none; font-weight: 600; font-size: 1rem; }
.nav a:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.nav__lang { font-size: 20px !important; font-weight: 400 !important; }
.head--over {
  position: absolute; inset: 0 0 auto 0;
  color: var(--on-dark);
}
.head--over .mark__pixel { fill: var(--cream); }
.head--over .word { fill: var(--cream); }

/* The home page's first screen */
.hero { position: relative; }
.hero__scene { background: linear-gradient(90deg, var(--paper) 50%, var(--navy) 50%); height: clamp(250px, 62vw, 480px); overflow: clip; }
.scene { width: 100%; height: 100%; }
.hero__copy { display: grid; grid-template-columns: 1fr 1fr; }
.hero__half { padding: 36px var(--gutter) 44px; }
.hero__half--smooth { background: var(--paper); color: var(--ink); }
.hero__half--pixel { background: var(--navy); color: var(--on-dark); }
.hero__claim { font: 700 clamp(34px, 5.4vw, 52px)/1.04 var(--display); letter-spacing: -.02em; }
.hero__claim.px { font-family: var(--pixel); font-size: 30px; font-weight: 400; line-height: 1.25; letter-spacing: 0; }
.hero__text { margin-top: 14px; font-size: 1.05rem; line-height: 1.5; max-width: 26em; }
.hero__half--pixel .hero__text { color: var(--on-dark-2); }
.hero__link { display: inline-block; margin-top: 16px; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.hero__half--smooth .hero__link { font-family: var(--serif); letter-spacing: .14em; font-size: 1.12rem; }
.hero__half--pixel .hero__link { font-family: var(--pixel); text-transform: uppercase; font-size: 20px; }

@media (min-width: 620px) {
  .hero__claim.px { font-size: 40px; }
}

@media (max-width: 619px) {
  .hero__copy { grid-template-columns: 1fr; }
  .lockup__word { display: none; }
}

@media (min-width: 1100px) {
  .head--split {
    position: absolute; inset: 0 0 auto 0;
    color: var(--on-dark);
  }
  .hero {
    height: clamp(640px, 100svh, max(1000px, 62vw));
    background: linear-gradient(90deg, var(--paper) 50%, var(--navy) 50%);
    overflow: clip;
  }
  .hero__scene { position: absolute; inset: 0; height: auto; background: none; }
  .hero__copy { position: absolute; inset: 0; align-content: start; padding-top: clamp(112px, 20vh, 300px); }
  .hero__half { background: none; padding: 0 var(--gutter); }
  .hero__half--pixel { text-align: right; justify-items: end; display: grid; align-content: start; }
  .hero__claim { font-size: clamp(44px, 4.6vw, 124px); }
  .hero__claim.px { font-size: 40px; line-height: 1.2; }
  .hero__text { font-size: 1.15rem; max-width: 19em; margin-top: 20px; }
}
@media (min-width: 1240px) { .hero__claim.px { font-size: 50px; } }
@media (min-width: 1420px) { .hero__claim.px { font-size: 60px; } }
@media (min-width: 1700px) { .hero__claim.px { font-size: 70px; } }
@media (min-width: 2000px) { .hero__claim.px { font-size: 80px; } }
@media (min-width: 2400px) { .hero__claim.px { font-size: 100px; } .hero__text { font-size: 1.5rem; } .hero__half--pixel .hero__link { font-size: 30px; } .hero__half--smooth .hero__link { font-size: 1.5rem; } }

/* The scene's motion: slices find each other, stars blink in steps. */
.slice { transform: translateX(var(--dx)); animation: slide 16s cubic-bezier(.75, 0, .25, 1) infinite; animation-delay: calc(var(--i) * .1s); }
.s0 { --i: 0; --dx: 30px; }
.s1 { --i: 1; --dx: 40px; }
.s2 { --i: 2; --dx: -16px; }
.s3 { --i: 3; --dx: 58px; }
.s4 { --i: 4; --dx: -46px; }
.s5 { --i: 5; --dx: 22px; }
.s6 { --i: 6; --dx: -64px; }
.s7 { --i: 7; --dx: 34px; }
.s8 { --i: 8; --dx: -30px; }
.s9 { --i: 9; --dx: 12px; }
@keyframes slide {
  0%, 26% { transform: translateX(var(--dx)); }
  44%, 68% { transform: translateX(0); }
  88%, 100% { transform: translateX(var(--dx)); }
}
.star { animation: blink 3.6s steps(1, end) infinite; }
.mote { animation: drift 9s ease-in-out infinite; }
.t1 { animation-delay: -.6s; }
.t2 { animation-delay: -1.3s; }
.t3 { animation-delay: -2s; }
.t4 { animation-delay: -2.7s; }
.t5 { animation-delay: -3.3s; }
@keyframes blink { 0%, 62% { opacity: 1; } 63%, 100% { opacity: .22; } }
@keyframes drift { 50% { transform: translateY(-16px); } }

/* The games. The seam goes on down the page: puzzles on the left, pixels on the right. */
.games { display: grid; grid-template-columns: 1fr 1fr; scroll-margin-top: 24px; }
.games__half { padding: clamp(48px, 7vw, 112px) var(--gutter); display: grid; gap: clamp(28px, 4vw, 56px); align-content: start; justify-items: center; }
.games__half--smooth { background: var(--paper); color: var(--ink); --frame: var(--navy); }
.games__half--pixel { background: var(--navy); color: var(--on-dark); --frame: var(--cream); }
.side { width: min(100%, 560px); font-weight: 600; color: var(--ink-2); }
.side.px { font-size: 20px; color: var(--on-dark-2); }
.door { width: min(100%, 560px); }
.door__link { display: block; }
.door__frame {
  aspect-ratio: 140 / 159;
  padding: clamp(10px, 1.3vw, 18px);
  background: linear-gradient(90deg, var(--orange) 50%, var(--frame, var(--cream)) 50%);
  clip-path: var(--passage);
}
.door__window { height: 100%; clip-path: var(--passage); overflow: hidden; background: var(--night); }
.door__window img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.door__window img.is-pixelated { image-rendering: pixelated; }
.door__link:hover img { transform: scale(1.05); }
.door__body { margin-top: 26px; }
.door__genre { font-size: .95rem; opacity: .75; }
.door__title { margin: 4px 0 12px; font-size: clamp(30px, 3.6vw, 44px); font-weight: 400; }
.door__title a { text-decoration: none; }
.door__title a:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.door--smooth .door__title { font-family: var(--serif); letter-spacing: .14em; font-size: clamp(24px, 2.9vw, 36px); }
.door--pixel .door__title { font-family: var(--pixel); text-transform: uppercase; font-size: 40px; line-height: 1.15; }
.door__text { max-width: 34em; margin-bottom: 22px; }
.door--pixel .door__text { color: var(--on-dark-2); }

@media (max-width: 759px) {
  .games { grid-template-columns: 1fr; }
}

/* The studio */
.studio { background: var(--orange); color: var(--navy); padding: clamp(64px, 9vw, 140px) var(--gutter); scroll-margin-top: 24px; }
.studio__inner { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 104px); align-items: center; max-width: 1240px; margin-inline: auto; }
.studio__mark .mark { width: 100%; height: auto; }
.studio .mark__smooth { fill: var(--paper); }
.studio h2 { font: 800 clamp(38px, 5.6vw, 84px)/1.03 var(--display); letter-spacing: -.025em; margin-bottom: 26px; }
.studio p { font-size: clamp(1.05rem, 1.35vw, 1.28rem); max-width: 36em; }
.studio p + p { margin-top: 16px; }
.studio .btn:focus-visible, .studio a:focus-visible { outline-color: var(--navy); }
@media (max-width: 759px) {
  .studio__inner { grid-template-columns: 1fr; }
  .studio__mark { width: 150px; }
}

/* Press and contact */
.reach { background: var(--paper); padding: clamp(56px, 7vw, 104px) var(--gutter); }
.reach__inner { max-width: 1240px; margin-inline: auto; display: grid; gap: 48px; }
.reach__inner--two { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.reach h2 { font: 700 clamp(28px, 3vw, 40px)/1.1 var(--display); letter-spacing: -.015em; margin-bottom: 12px; }
.reach p { max-width: 34em; margin-bottom: 22px; color: var(--ink-2); }
.reach__mail { font-size: 1.25rem; font-weight: 600; text-underline-offset: 5px; }

/* The footer */
.foot { background: var(--navy); color: var(--on-dark); padding: 56px var(--gutter) 40px; }
.foot__inner { max-width: 1240px; margin-inline: auto; display: grid; grid-template-columns: 1fr auto; gap: 24px 48px; align-items: center; }
.foot .mark__pixel { fill: var(--cream); }
.foot .word { fill: var(--cream); }
.foot__links { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.foot__links a, .foot__social a { text-decoration: none; font-weight: 600; }
.foot__links a:hover, .foot__social a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot__social { display: flex; flex-wrap: wrap; gap: 8px 22px; grid-column: 1 / -1; }
.foot__legal { grid-column: 1 / -1; font-size: .9rem; color: var(--on-dark-2); }
@media (max-width: 619px) { .foot__inner { grid-template-columns: 1fr; } .foot .lockup__word { display: block; } }

/* A game's own page: each game keeps the look of its side of the gate. */
.world-pixel { --bg: var(--night); --card: var(--navy-2); --line: var(--navy-3); --text: var(--on-dark); --muted: var(--on-dark-2); background: var(--bg); color: var(--text); }
.world-smooth { --bg: var(--wood); --card: var(--wood-2); --line: var(--wood-3); --text: var(--on-wood); --muted: var(--on-wood-2); background: var(--bg); color: var(--text); }
.world-pixel h2, .world-pixel h3 { font-family: var(--pixel); font-weight: 400; font-synthesis: none; text-transform: uppercase; line-height: 1.25; }
.world-smooth h1, .world-smooth h2, .world-smooth h3 { font-family: var(--serif); font-weight: 400; letter-spacing: .03em; }
.game .door__frame { --frame: var(--cream); }

.ghero { position: relative; min-height: clamp(560px, 86svh, 860px); display: flex; align-items: flex-end; isolation: isolate; }
.ghero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.ghero__bg--left { object-position: left center; }
.ghero__bg--right { object-position: right center; }
@media (min-width: 2200px) { .world-pixel .ghero__bg { image-rendering: pixelated; } }
.ghero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, var(--bg) 2%, rgba(18, 14, 39, .62) 42%, rgba(18, 14, 39, .25) 74%, rgba(18, 14, 39, .72) 100%);
}
.ghero--plain::after { background: none; }
.ghero__inner { width: 100%; padding: 120px var(--gutter) clamp(40px, 5vw, 72px); max-width: 1432px; margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.ghero__text { max-width: 640px; }
.world-pixel .ghero__text { max-width: 520px; }
.ghero__genre { color: var(--muted); font-size: 1.02rem; }
.ghero__title { margin: 10px 0 18px; }
.ghero__title img { width: min(100%, 460px); }
.world-smooth .ghero__title { font-size: clamp(32px, 5vw, 64px); letter-spacing: .16em; line-height: 1.15; }
.ghero__short { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.5; margin-bottom: 26px; }
.ghero__art { width: min(100%, 460px); justify-self: center; }
.world-smooth .btn { --s: 5px; }
@media (min-width: 920px) {
  .ghero--plain .ghero__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 460px); }
}

.gintro, .gfeat, .gshots, .gfacts, .gother { max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); box-sizing: content-box; }
.gintro { padding-block: clamp(48px, 7vw, 96px) clamp(32px, 4vw, 56px); }
.gintro h2 { font-size: clamp(30px, 4.2vw, 50px); margin-bottom: 20px; }
.world-pixel .gintro h2 { font-size: 40px; }
.gintro p { font-size: clamp(1.12rem, 1.5vw, 1.35rem); line-height: 1.55; max-width: 38em; }
.gfeat { padding-block: 8px clamp(48px, 6vw, 88px); }
.gfeat__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 16px; }
.gfeat__item { background: var(--card); padding: 30px 30px 32px; }
.world-pixel .gfeat__item { --s: 8px; clip-path: var(--stepped); }
.world-smooth .gfeat__item { border-radius: 26px; }
.gfeat__item h3 { font-size: 20px; margin-bottom: 12px; line-height: 1.3; }
.world-smooth .gfeat__item h3 { font-size: 1.45rem; }
.gfeat__item p { color: var(--muted); }
@media (min-width: 1100px) {
  .gfeat__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gfeat__item:last-child:nth-child(3n+1) { grid-column: 1 / -1; }
  .gfeat__grid:has(> :nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gfeat__grid:has(> :nth-child(4):last-child) > .gfeat__item:last-child { grid-column: auto; }
}
.gshots { padding-bottom: clamp(48px, 6vw, 88px); }
.gshots h2 { font-size: 30px; margin-bottom: 22px; }
.gshots__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.gshots__item:first-child { grid-column: 1 / -1; }
.gshots__item { display: block; overflow: hidden; }
.world-pixel .gshots__item { --s: 8px; clip-path: var(--stepped); }
.world-smooth .gshots__item { border-radius: 22px; }
.gshots__item img { width: 100%; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.gshots__item:hover img { transform: scale(1.03); }
@media (max-width: 619px) { .gshots__grid { grid-template-columns: 1fr; } }
.gfacts { padding-bottom: clamp(48px, 6vw, 80px); display: grid; gap: 40px; }
.gfacts--two { grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
.gfacts h2 { font-size: 30px; margin-bottom: 20px; }
.world-pixel .gfacts h2 { font-size: 30px; }
.gfacts__list ul { list-style: none; display: grid; gap: 12px; }
.gfacts__list li { padding-left: 26px; position: relative; color: var(--muted); }
.gfacts__list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; background: var(--orange); }
.gfacts:not(.gfacts--two) .gfacts__box { max-width: 620px; }
.gfacts__box dl { display: grid; margin-bottom: 26px; }
.gfacts__box dl > div { display: flex; justify-content: space-between; gap: 24px; padding: 11px 0; border-top: 1px solid var(--line); }
.gfacts__box dt { color: var(--muted); }
.gfacts__box dd { text-align: right; font-weight: 600; }
.gother { padding-block: 8px 72px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 26px; }
.gother p { color: var(--muted); }
.gother a { font-weight: 600; text-underline-offset: 4px; }
.gother__all { margin-left: auto; }

/* Press and privacy */
.head--light { background: var(--paper); }
.plain { background: var(--paper); }
.prose-page { max-width: 1040px; margin-inline: auto; padding: clamp(32px, 5vw, 64px) var(--gutter) clamp(64px, 8vw, 112px); box-sizing: content-box; }
.prose-page--narrow { max-width: 680px; }
.prose-page h1 { font: 800 clamp(40px, 6vw, 76px)/1.05 var(--display); letter-spacing: -.025em; margin-bottom: 18px; }
.prose-page .lead { font-size: 1.22rem; line-height: 1.5; max-width: 34em; color: var(--ink-2); }
.prose-page section { margin-top: clamp(36px, 5vw, 60px); }
.prose-page h2 { font: 700 clamp(24px, 2.6vw, 32px)/1.15 var(--display); letter-spacing: -.012em; margin-bottom: 14px; }
.prose-page--narrow p { color: var(--ink-2); }
.dl-row, dl.plain > div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 11px 0; border-top: 1px solid var(--orange-soft); }
dl.plain dt { color: var(--ink-2); }
dl.plain dd { font-weight: 600; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.tile__pic { aspect-ratio: 1; display: grid; place-items: center; padding: 16%; border-radius: 22px; }
.tile__pic .mark { width: 100%; height: auto; }
.tile--light .tile__pic { background: var(--paper-2); }
.tile--dark .tile__pic { background: var(--navy); }
.tile--dark .mark__pixel { fill: var(--cream); }
.tile--white .tile__pic { background: #fff; padding: 6%; }
.tile figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 4px 0; font-weight: 600; }
.tile__files { display: inline-flex; gap: 12px; }
.tile__files a { font-size: .95rem; text-underline-offset: 3px; }
.swatches { display: flex; flex-wrap: wrap; gap: 16px; }
.swatch { flex: 1 1 220px; padding: 26px 26px 22px; border-radius: 22px; display: flex; justify-content: space-between; font-weight: 600; }
.swatch--orange { background: var(--orange); color: var(--navy); }
.swatch--navy { background: var(--navy); color: var(--on-dark); }
.swatch code { font: 400 1rem var(--sans); }
.pgames { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 36px; }
.pgame h3 { font: 700 1.5rem/1.2 var(--display); }
.pgame .muted { margin: 2px 0 10px; font-size: .96rem; }
.pgame .actions { margin-top: 18px; }

/* The locked door */
.nf { background: var(--navy); color: var(--on-dark); }
.nf__main { min-height: 100svh; display: grid; align-content: center; justify-items: center; gap: 12px; padding: 40px 24px; text-align: center; }
.nf__mark { width: 130px; }
.nf__mark .mark { width: 100%; height: auto; }
.nf .mark__pixel { fill: var(--cream); }
.nf h1 { font-size: 80px; font-weight: 400; color: var(--orange); }
.nf .actions { justify-content: center; margin-top: 18px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .slice { transform: translateX(0); }
}
