/* Three rows share one screen. The open row grows to 80 % of the stage and the other two
   keep a strip each, so every product stays in sight. Each row carries its own world;
   no web fonts, because the page promises to load nothing from third parties. */
:root {
  --ink: #0e1113; --head: 60px;
  --sans: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;
  --serif: Georgia, "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--ink); }
body { color: #e8eee9; font: 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
/* Scoped to body on purpose: <html lang="en"> matches a bare [lang="en"] and the whole
   page went blank for every English visitor (2026-10-10). */
body [lang="en"] { display: none; }
html[data-lang="en"] body [lang="de"] { display: none; }
html[data-lang="en"] body [lang="en"] { display: revert; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header stays on screen while the footer scrolls in. */
.top { position: sticky; top: 0; z-index: 50; height: var(--head); display: flex; align-items: center; gap: 20px; padding: 0 24px;
  background: rgba(14, 17, 19, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid #1d2326; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 19px; }
.brand img { width: 30px; filter: drop-shadow(0 0 10px rgba(47, 191, 99, .55)); }
.lang { margin-left: auto; display: flex; padding: 3px; border: 1px solid #3a4447; border-radius: 999px; }
.lang button { font: 700 12px var(--sans); letter-spacing: .06em; color: #9fb0a6; background: transparent; border: 0; border-radius: 999px; padding: 5px 11px; cursor: pointer; transition: background-color .2s, color .2s; }
.lang button[aria-pressed="true"] { background: #e8eee9; color: var(--ink); }
.lang button:not([aria-pressed="true"]):hover { color: #e8eee9; }

/* Stage and rows */
.stage { height: calc(100svh - var(--head)); min-height: 540px; display: flex; flex-direction: column; }
.row {
  --bg: #111; --fg: #fff; --muted: #aaa; --accent: #2fbf63; --btn-fg: #111;
  position: relative; isolation: isolate; overflow: hidden; flex: 1 1 0; min-height: 0;
  background: var(--bg); color: var(--fg);
  transition: flex-grow .55s var(--ease);
  display: flex; flex-direction: column;
}
.stage.has-open .row { flex-grow: 1; }
.stage.has-open .row.open { flex-grow: 8; }

/* The bar is the whole row while nothing is open, the header of the open row, and a
   strip with only kind and name for the two rows that make room. */
.bar { flex: none; position: relative; display: flex; align-items: center; gap: 24px; padding: 0 28px; height: 100%; transition: height .55s var(--ease); }
.row.open .bar { height: 104px; }
.ident { min-width: 0; max-width: min(46%, 620px); }
.kind { margin: 0 0 6px; text-transform: uppercase; letter-spacing: .16em; font-size: 12px; font-weight: 700; color: var(--accent); }
.bar h2 { margin: 0; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.1; font-weight: 850; display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.lede, .tag { margin: 0; overflow: hidden; transition: opacity .35s ease, max-height .5s var(--ease), margin .5s var(--ease); }
.lede { max-height: 8em; margin-top: 12px; color: var(--muted); font-size: 16px; line-height: 1.5;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.tag { max-height: 3em; margin-top: 12px; font-size: 13px; font-weight: 700; letter-spacing: .02em; color: var(--fg); opacity: .85; }
.stage.has-open .lede, .stage.has-open .tag { opacity: 0; max-height: 0; margin-top: 0; }
.stage.has-open .row:not(.open) .kind { margin-bottom: 2px; }

/* Expand symbol: a ring with a chevron that turns over when the row opens. */
.toggle {
  margin-left: auto; flex: none; width: 46px; height: 46px; border-radius: 50%; cursor: pointer; position: relative;
  background: color-mix(in srgb, var(--bg) 70%, transparent); border: 2px solid color-mix(in srgb, var(--fg) 45%, transparent); color: var(--fg);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: border-color .3s, background-color .3s;
}
.toggle::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 11px;
  border-right: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor;
  transform: translate(-50%, -70%) rotate(45deg); transition: transform .45s var(--ease);
}
.row.open .toggle::before { transform: translate(-50%, -25%) rotate(225deg); }
.row:hover .toggle, .toggle:focus-visible { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 22%, var(--bg)); }

/* Peek: pictures on the right that melt into the row's own colour, and into each other. */
.peek { position: absolute; z-index: -1; top: 0; right: 0; bottom: 0; width: 60%; display: flex; justify-content: flex-end; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 42%); mask-image: linear-gradient(90deg, transparent, #000 42%);
  transition: opacity .5s ease; }
.peek img { height: 100%; width: 40%; object-fit: cover; margin-left: -8%; flex: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 24%, #000 76%, transparent); mask-image: linear-gradient(90deg, transparent, #000 24%, #000 76%, transparent);
  transition: transform 1.6s var(--ease); }
.peek img:last-child { -webkit-mask-image: linear-gradient(90deg, transparent, #000 24%); mask-image: linear-gradient(90deg, transparent, #000 24%); }
.row:hover .peek img { transform: scale(1.04); }
.row.open .peek { opacity: 0; }
.stage.has-open .row:not(.open) .peek { opacity: .55; }

/* Aurora shows phones rising out of the bottom edge instead of a strip. */
.peek.fan { width: 52%; display: block; }
.peek.fan img { position: absolute; width: auto; height: 150%; top: 16%; margin: 0; border-radius: 26px; border: 6px solid #0f0f1e; object-fit: cover;
  -webkit-mask-image: none; mask-image: none; box-shadow: 0 24px 50px -18px rgba(0, 0, 0, .8); }
.peek.fan img:nth-child(1) { right: 40%; transform: rotate(-9deg); top: 26%; opacity: .8; }
.peek.fan img:nth-child(2) { right: 20%; transform: rotate(-2deg); top: 18%; }
.peek.fan img:nth-child(3) { right: 2%; transform: rotate(7deg); top: 24%; opacity: .9; }
.row:hover .peek.fan img { transform: translateY(-8px) rotate(var(--r, 0deg)); }
.peek.fan img:nth-child(1) { --r: -9deg; } .peek.fan img:nth-child(2) { --r: -2deg; } .peek.fan img:nth-child(3) { --r: 7deg; }

.more {
  flex: 1 1 auto; min-height: 0; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 48px; align-items: center; padding: 0 28px 28px;
  opacity: 0; transform: translateY(16px); transition: opacity .35s ease, transform .45s ease; pointer-events: none;
}
.row.open .more { opacity: 1; transform: none; transition-delay: .2s; pointer-events: auto; }
.copy p { margin: 0 0 14px; max-width: 34em; }
.facts { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 8px; }
.facts li { display: flex; gap: 12px; align-items: baseline; }
.facts li::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 2px; background: var(--accent); transform: rotate(45deg); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px !important; }
.btn { display: inline-block; text-decoration: none; font-weight: 700; padding: 12px 20px; border-radius: 999px;
  background: var(--accent); color: var(--btn-fg); border: 2px solid var(--accent); transition: transform .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -10px var(--accent); }
.btn.ghost { background: transparent; color: var(--fg); border-color: color-mix(in srgb, var(--fg) 35%, transparent); }
.media { margin: 0; position: relative; height: 100%; min-height: 0; display: grid; place-items: center; }

/* Hex Tower Boogie: cardboard and ink */
.htb { --bg: #f2e6c9; --fg: #1d3a32; --muted: #4f5d48; --accent: #e5652f; --btn-fg: #fff8ec; color-scheme: light; }
.htb .wordmark { height: 56px; width: auto; transition: height .45s ease; }
.stage.has-open .row.htb:not(.open) .wordmark { height: 34px; }
.paper { position: relative; background: #fffaf0; padding: 10px; border-radius: 6px; box-shadow: 0 2px 0 #d9c9a3, 0 24px 48px -24px rgba(29, 58, 50, .55); transform: rotate(-1.5deg); max-width: 92%; }
.paper::before { content: ""; position: absolute; top: -9px; left: 50%; width: 84px; height: 20px; transform: translateX(-50%) rotate(-3deg); background: rgba(242, 181, 58, .75); }
.paper.small { position: absolute; width: 44%; right: 0; bottom: 4%; transform: rotate(3deg); }
.htb .media { place-items: start center; padding-top: 8px; }

/* Aurora: calm night, rainbow light */
.aurora { --bg: #1a1a2e; --fg: #fff8f0; --muted: #c4bfd6; --accent: #7dd3a0; --btn-fg: #1a1a2e; }
.aurora .glow { position: absolute; right: -10%; top: -40%; width: 60vmax; height: 60vmax; z-index: -2; border-radius: 50%;
  background: conic-gradient(from 0deg, #ff4d6d, #ffb347, #ffe66d, #7dd3a0, #5aa9e6, #9d84b7, #ff4d6d);
  filter: blur(90px); opacity: .18; animation: spin 40s linear infinite; pointer-events: none; transition: opacity .6s; }
.aurora.open .glow { opacity: .26; }
@keyframes spin { to { transform: rotate(1turn); } }
.aurora-logo { width: 40px; }
.aurora::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, #ff4d6d, #ffb347, #ffe66d, #7dd3a0, #5aa9e6, #9d84b7); }
.phones { place-items: stretch; }
.phone { position: absolute; height: 92%; width: auto; top: 4%; left: 18%; border-radius: 24px; border: 7px solid #0f0f1e; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7); z-index: 2; }
.phone.back { left: 48%; top: 8%; transform: rotate(5deg); z-index: 1; opacity: .92; }
.cham { position: absolute; width: 104px; left: 2%; bottom: 4%; z-index: 3; border-radius: 50%; animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px) rotate(-4deg); } }

/* Book: night sky and ember */
.book { --bg: #070912; --fg: #efe6d6; --muted: #cdbb9c; --accent: #f39a3c; --btn-fg: #160c02; }
.book .stars { position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(1px 1px at 12% 18%, #fff 50%, transparent), radial-gradient(1px 1px at 28% 72%, #fff 50%, transparent),
    radial-gradient(1.5px 1.5px at 44% 34%, #ffe9c2 50%, transparent), radial-gradient(1px 1px at 63% 12%, #fff 50%, transparent),
    radial-gradient(1px 1px at 78% 58%, #fff 50%, transparent), radial-gradient(1.5px 1.5px at 88% 26%, #fff 50%, transparent),
    radial-gradient(1px 1px at 8% 88%, #fff 50%, transparent), radial-gradient(1px 1px at 52% 90%, #fff 50%, transparent),
    radial-gradient(1px 1px at 36% 8%, #fff 50%, transparent), radial-gradient(1px 1px at 94% 80%, #ffe9c2 50%, transparent),
    radial-gradient(ellipse at 70% 120%, rgba(243, 154, 60, .3), transparent 60%);
  animation: twinkle 7s ease-in-out infinite alternate; }
@keyframes twinkle { to { opacity: .6; } }
.book h2 { font-family: var(--serif); font-weight: 700; }
.book .peek img { object-position: center 30%; }
.book .lede { -webkit-line-clamp: 4; }
.tagline { display: block; margin-bottom: 4px; font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--accent); }
.cover { height: 100%; max-height: 520px; width: auto; border-radius: 4px; box-shadow: 0 0 0 1px rgba(255, 210, 122, .15), 0 30px 80px -20px rgba(243, 154, 60, .55); transform: perspective(900px) rotateY(-8deg); transition: transform .6s ease; }
.cover:hover { transform: perspective(900px) rotateY(0); }

/* Book: a listening sample of chapter 1, the text following the voice. */
.media.listen { display: flex; align-items: center; gap: 28px; }
.listen .cover { flex: none; height: auto; width: clamp(140px, 34%, 240px); max-height: none; }
.player { flex: 1 1 auto; min-width: 0; max-width: 560px; align-self: stretch; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.player-kicker { margin: 0; text-transform: uppercase; letter-spacing: .16em; font-size: 12px; font-weight: 700; color: var(--accent); }
.player-sub { margin: 0; color: var(--muted); font-size: 14px; }
.player-controls { display: flex; align-items: center; gap: 14px; margin: 4px 0 2px; }
.listen-start { position: relative; flex: none; width: 54px; height: 54px; padding: 0; border: 0; background: none; cursor: pointer; }
.listen-start .play { width: 54px; height: 54px; }
.listen-start .play::before { border-left-width: 17px; border-top-width: 10px; border-bottom-width: 10px; border-left-color: var(--btn-fg); }
.listen-start[aria-pressed="true"] .play::before { left: 50%; border: 0; width: 16px; height: 18px;
  border-left: 5px solid var(--btn-fg); border-right: 5px solid var(--btn-fg); }
.listen-start:hover .play { transform: translate(-50%, -50%) scale(1.08); }
.track { flex: 1 1 auto; height: 4px; border-radius: 4px; background: rgba(239, 230, 214, .15); overflow: hidden; }
.track-fill { height: 100%; width: 0; background: var(--accent); }
.track-time { flex: none; font-size: 13px; font-variant-numeric: tabular-nums; color: var(--muted); }
.passages { position: relative; flex: 0 1 auto; min-height: 0; height: 230px; max-height: 46%; font-family: var(--serif); font-size: 16px; line-height: 1.55; color: var(--fg);
  -webkit-mask-image: linear-gradient(#000 78%, transparent); mask-image: linear-gradient(#000 78%, transparent); }
.passage { position: absolute; inset: 0; opacity: 0; transform: translateY(10px); transition: opacity .7s ease, transform .7s ease; pointer-events: none; }
.passage.on { opacity: 1; transform: none; }
.passage p { margin: 0 0 8px; }
.passage .amber { color: #f59e0b; } .passage .green { color: #22c55e; } .passage .red { color: #ef4444; } .passage .grey { color: #9ca3af; }
.player-more { font-size: 14px; font-weight: 700; color: var(--accent); text-decoration: none; }
.player-more:hover { text-decoration: underline; }

/* Footer */
.foot { text-align: center; padding: 18px 20px 22px; color: #9fb0a6; font-size: 14px; }
.foot p { margin: 4px 0; }
.foot strong { color: #e8eee9; }
.foot .quiet { opacity: .65; font-size: 12px; }

/* The trailer is the front picture of the game's row, and its video when the row opens. */
.peek .trailer-tile { position: relative; flex: none; height: 100%; width: 54%; margin-left: -12%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 22%); mask-image: linear-gradient(90deg, transparent, #000 22%); }
.peek .trailer-tile img { width: 100%; margin: 0; -webkit-mask-image: none; mask-image: none; }
.play { position: absolute; left: 50%; top: 50%; width: 68px; height: 68px; transform: translate(-50%, -50%); border-radius: 50%;
  background: var(--accent); box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .55), 0 0 0 6px color-mix(in srgb, var(--accent) 30%, transparent);
  transition: transform .3s var(--ease); }
.play::before { content: ""; position: absolute; left: 54%; top: 50%; transform: translate(-50%, -50%);
  border-left: 22px solid #fff8ec; border-top: 13px solid transparent; border-bottom: 13px solid transparent; }
.trailer-tile .play { left: 58%; }
.play-label { position: absolute; left: 58%; top: calc(50% + 50px); transform: translateX(-50%); white-space: nowrap;
  font-size: 13px; font-weight: 800; letter-spacing: .04em; color: #fff8ec; text-shadow: 0 1px 8px rgba(0, 0, 0, .7); }
.row:hover .trailer-tile .play { transform: translate(-50%, -50%) scale(1.08); }
.stage.has-open .row:not(.open) .play, .stage.has-open .row:not(.open) .play-label { display: none; }
.media:has(.video) { container-type: size; place-items: center; align-content: center; padding-top: 0; }
.paper.video { width: min(100cqw - 24px, (100cqh - 64px) * 16 / 9); max-width: none; transform: rotate(-1deg); }
.video-start { display: block; position: relative; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.video-start img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.video-start:hover .play, .video-start:focus-visible .play { transform: translate(-50%, -50%) scale(1.08); }
.paper.video iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }
.video-note { margin-top: 14px; font-size: 12px; color: var(--muted); text-align: center; }

/* Short screens: the lede keeps two lines, the tag goes. */
@media (max-height: 760px) {
  .lede { -webkit-line-clamp: 2; margin-top: 8px; }
  .tag { display: none; }
  .htb .wordmark { height: 46px; }
}

@media (max-width: 900px) {
  .top { padding: 0 16px; gap: 12px; }
  .bar { gap: 14px; padding: 0 16px; }
  .ident { max-width: none; flex: 1 1 auto; }
  .lede { font-size: 15px; -webkit-line-clamp: 3; }
  .tag { display: none; }
  .peek { width: 100%; opacity: .42; -webkit-mask-image: linear-gradient(90deg, transparent 15%, #000 85%); mask-image: linear-gradient(90deg, transparent 15%, #000 85%); }
  .peek img { width: 55%; }
  .peek.fan { width: 70%; }
  .htb .peek { opacity: .3; }
  .htb .wordmark { height: 40px; }
  .stage.has-open .row.htb:not(.open) .wordmark { height: 28px; }
  .row.open .bar { height: 76px; }
  /* A column of fixed blocks, not a grid: grid tracks inside this scroll box were sized to
     the box and the listening sample slid over the book's buttons (2026-10-10). */
  .more { display: flex; flex-direction: column; gap: 18px; padding: 0 16px 18px; overflow-y: auto; font-size: 16px; }
  .more > * { flex: none; }
  .media { height: 220px; }
  .media:has(.video) { height: auto; container-type: normal; }
  .paper.video { width: 100%; }
  .media.listen { height: auto; align-items: flex-start; gap: 16px; }
  .listen .cover { width: 92px; }
  .passages { height: 190px; max-height: none; font-size: 15px; }
  .peek .trailer-tile { width: 80%; }
  .peek .play, .play-label { display: none; }
  .cover { max-height: 220px; }
  .phone { left: 22%; } .phone.back { left: 52%; }
  .cham { width: 72px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}