/* Gameolade, the studio website. Plain CSS, no build step: the generator adds each game's colour
   (.g-<slug> { --accent }) and each picture's focal point after this file, and gives the fonts
   names with their content's hash.
   Fonts: Bricolage Grotesque (The Bricolage Grotesque Project Authors) and Inter (The Inter
   Project Authors), both under the SIL Open Font License 1.1 (openfontlicense.org). */

@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(fonts/bricolage-latin.a79fdb52d4.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(fonts/bricolage-latin-ext.776f6dcaf0.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(fonts/inter-latin.3100e775e8.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(fonts/inter-latin-ext.34b9c504ca.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: dark;
  --bg: #0a0910;
  --bg-2: #0e0c15;
  --panel: #13111b;
  --panel-2: #1a1724;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #f7f4ec;
  --text-2: #cdc8d4;
  --text-3: #918c9d;
  --lemon: #ffd43b;
  --lemon-2: #ffb21c;
  --accent: var(--lemon);
  --accent-ink: #1d1604;
  --r-s: 12px;
  --r: 22px;
  --r-l: 34px;
  --max: 1240px;
  --pad: clamp(18px, 4.6vw, 48px);
  --header: 74px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --display: 'Bricolage Grotesque', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --body: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
/* hidden stays hidden, whatever display a component sets (the news filter relies on it) */
[hidden] {
  display: none !important;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 16px);
  background: var(--bg);
}
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.65 var(--body);
  font-feature-settings: 'cv11', 'ss01', 'ss03';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body.menu-open {
  overflow: hidden;
}
img,
svg,
video,
picture {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
}
h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.06;
  font-variation-settings: 'opsz' 96;
  text-wrap: balance;
}
p {
  margin: 0;
  text-wrap: pretty;
}
::selection {
  background: var(--lemon);
  color: #1d1604;
}
:focus-visible {
  outline: 2px solid var(--lemon);
  outline-offset: 3px;
  border-radius: 8px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 12px;
  background: var(--lemon);
  color: #1d1604;
  font-weight: 600;
  transition: top 0.2s;
}
.skip:focus {
  top: 12px;
}
.wrap {
  width: min(100% - 2 * var(--pad), var(--max));
  margin-inline: auto;
}
.wrap-narrow {
  width: min(100% - 2 * var(--pad), 820px);
  margin-inline: auto;
}

/* ---------- type ---------- */

.display-xl {
  font-size: clamp(2.9rem, 1.2rem + 6.6vw, 7.4rem);
  line-height: 0.94;
  letter-spacing: -0.04em;
  font-weight: 800;
}
.display-l {
  font-size: clamp(2.4rem, 1.35rem + 4vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 800;
}
.display-m {
  font-size: clamp(1.9rem, 1.25rem + 2.4vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 800;
}
.display-s {
  font-size: clamp(1.35rem, 1.1rem + 0.9vw, 1.85rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.lead {
  font-size: clamp(1.08rem, 0.98rem + 0.5vw, 1.375rem);
  line-height: 1.55;
  color: var(--text-2);
  max-width: 62ch;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  font: 600 0.78rem/1 var(--body);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
}
.eyebrow::before {
  content: '';
  width: 0.55em;
  height: 0.55em;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 16px var(--accent);
}
.muted {
  color: var(--text-3);
}

/* ---------- buttons, chips ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: 600 1rem/1 var(--body);
  letter-spacing: -0.005em;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform 0.3s var(--ease),
    background-color 0.3s,
    border-color 0.3s,
    box-shadow 0.3s,
    color 0.3s;
}
.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}
.btn .arrow {
  transition: transform 0.3s var(--ease);
}
.btn:hover .arrow {
  transform: translateX(3px);
}
.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 12px 34px -12px color-mix(in srgb, var(--accent) 75%, transparent);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px -14px color-mix(in srgb, var(--accent) 85%, transparent);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--line-2);
  color: var(--text);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.13);
  transform: translateY(-2px);
}
/* an app store's button: its mark, a small line and the store's name, dark like the stores' own */
.btn-store {
  gap: 10px;
  padding: 0 22px 0 18px;
  border-radius: 14px;
  background: #050407;
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
  text-align: left;
}
.btn-store:hover {
  border-color: rgba(255, 255, 255, 0.55);
  transform: translateY(-2px);
}
.btn-store svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}
.btn-store span {
  display: grid;
  gap: 3px;
  font: 700 1.06rem/1 var(--display);
  letter-spacing: -0.01em;
}
.btn-store small {
  font: 500 0.66rem/1 var(--body);
  letter-spacing: 0.02em;
  opacity: 0.8;
}
.btn-small {
  min-height: 42px;
  padding: 0 18px;
  font-size: 0.93rem;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 30px;
  padding: 0 13px;
  border-radius: 999px;
  font: 600 0.78rem/1 var(--body);
  letter-spacing: 0.02em;
  color: color-mix(in srgb, var(--accent) 72%, white);
  background: color-mix(in srgb, var(--accent) 15%, rgba(10, 9, 16, 0.55));
  border: 1px solid color-mix(in srgb, var(--accent) 34%, transparent);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  white-space: nowrap;
}
.chip .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}
.chip.is-playable .dot {
  box-shadow: 0 0 0 0 currentColor;
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 color-mix(in srgb, currentColor 60%, transparent);
  }
  70% {
    box-shadow: 0 0 0 8px transparent;
  }
  100% {
    box-shadow: 0 0 0 0 transparent;
  }
}
.chip-plain {
  color: var(--text-2);
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--line-2);
}
.platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  color: var(--text-3);
  font-size: 0.88rem;
}
.platforms span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.platforms svg {
  width: 17px;
  height: 17px;
}
.platforms svg.mark {
  width: 15px;
  height: 15px;
  fill: currentColor;
}
.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  cursor: pointer;
  transition:
    background-color 0.25s,
    opacity 0.25s,
    transform 0.25s var(--ease);
}
.icon-btn:hover {
  background: rgba(255, 255, 255, 0.14);
}
.icon-btn:disabled {
  opacity: 0.35;
  cursor: default;
}
.icon-btn svg {
  width: 20px;
  height: 20px;
}

/* ---------- header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header);
  border-bottom: 1px solid transparent;
  transition:
    background-color 0.35s,
    border-color 0.35s,
    -webkit-backdrop-filter 0.35s,
    backdrop-filter 0.35s;
}
.site-header.is-solid,
body.menu-open .site-header {
  background: rgba(10, 9, 16, 0.74);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  border-bottom-color: var(--line);
}
.site-header .wrap {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
  padding: 6px 0;
}
.brand img {
  height: 27px;
  width: auto;
}
.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav a:not(.btn) {
  position: relative;
  padding: 10px 15px;
  border-radius: 999px;
  color: var(--text-2);
  font-weight: 500;
  font-size: 0.96rem;
  transition:
    color 0.2s,
    background-color 0.2s;
}
.nav a:not(.btn):hover,
.nav a[aria-current='page'] {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
}
.nav .btn {
  margin-left: 10px;
}
.menu-btn {
  display: none;
  margin-left: auto;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  place-items: center;
}
.menu-btn svg {
  width: 22px;
  height: 22px;
}
.menu-btn .close {
  display: none;
}
.menu-btn[aria-expanded='true'] .open {
  display: none;
}
.menu-btn[aria-expanded='true'] .close {
  display: block;
}
@media (max-width: 820px) {
  .menu-btn {
    display: inline-grid;
  }
  .js .nav {
    position: fixed;
    inset: var(--header) 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 14px var(--pad) 28px;
    background: rgba(10, 9, 16, 0.97);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition:
      opacity 0.3s var(--ease),
      transform 0.3s var(--ease),
      visibility 0.3s;
  }
  .js .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .js .nav a:not(.btn) {
    font-size: 1.2rem;
    padding: 15px 14px;
    border-radius: 14px;
  }
  .js .nav .btn {
    margin: 12px 0 0;
  }
  html:not(.js) .nav {
    display: none;
  }
  html:not(.js) .menu-btn {
    display: none;
  }
}

/* ---------- sections ---------- */

main {
  display: block;
}
.section {
  position: relative;
  padding-block: clamp(76px, 10vw, 150px);
}
.section-tight {
  padding-block: clamp(48px, 6vw, 90px);
}
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 20px 32px;
  margin-bottom: clamp(32px, 4.5vw, 60px);
}
.section-head .text {
  display: grid;
  gap: 18px;
  max-width: 760px;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--text);
  padding: 8px 0;
}
.link-arrow svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s var(--ease);
}
.link-arrow:hover svg {
  transform: translateX(4px);
}
.glow {
  position: absolute;
  z-index: -1;
  width: min(900px, 120vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 16%, transparent), transparent 62%);
  pointer-events: none;
}

/* ---------- the home page's hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  /* one column the width of the screen: the game tabs scroll inside it instead of widening it */
  grid-template-columns: minmax(0, 1fr);
  align-content: end;
  min-height: min(100svh, 1040px);
  min-height: max(640px, min(100svh, 1040px));
  padding-top: calc(var(--header) + 40px);
  overflow: hidden;
}
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s var(--ease);
}
.hero-slide.is-active {
  opacity: 1;
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.07);
  transition: transform 9s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.hero-slide.is-active img {
  transform: scale(1);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 9, 16, 0.94) 0%, rgba(10, 9, 16, 0.78) 30%, rgba(10, 9, 16, 0.25) 62%, rgba(10, 9, 16, 0.1) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(10, 9, 16, 0.72) 20%, rgba(10, 9, 16, 0) 48%),
    linear-gradient(180deg, rgba(10, 9, 16, 0.75) 0%, rgba(10, 9, 16, 0) 22%);
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-content {
  display: grid;
  gap: 26px;
  max-width: 780px;
  padding-bottom: clamp(36px, 5vw, 60px);
}
.hero h1 {
  font-size: clamp(3rem, 1.3rem + 6.4vw, 7rem);
  line-height: 0.93;
  letter-spacing: -0.042em;
  font-weight: 800;
}
.hero h1 .accent {
  background: linear-gradient(100deg, #fff0a8 0%, var(--lemon) 35%, var(--lemon-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .lead {
  max-width: 560px;
}
.hero-bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: clamp(20px, 3vw, 34px);
}
.hero-tabs {
  flex: 1;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr));
  gap: 12px;
}
.cols-1 { --n: 1; }
.cols-2 { --n: 2; }
.cols-3 { --n: 3; }
.cols-4 { --n: 4; }
.cols-5 { --n: 5; }
.cols-6 { --n: 6; }
.hero-tab {
  position: relative;
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
  padding: 11px 14px 11px 11px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(14, 12, 21, 0.5);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  color: var(--text-2);
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transition:
    background-color 0.35s,
    border-color 0.35s,
    color 0.35s,
    transform 0.35s var(--ease);
}
.hero-tab:hover {
  background: rgba(255, 255, 255, 0.09);
}
.hero-tab[aria-selected='true'] {
  background: rgba(255, 255, 255, 0.11);
  border-color: var(--line-2);
  color: var(--text);
}
.hero-tab img {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  flex: none;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45);
}
.hero-tab .t {
  display: grid;
  min-width: 0;
}
.hero-tab strong {
  font: 700 1rem/1.25 var(--display);
  letter-spacing: -0.01em;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hero-tab small {
  font-size: 0.8rem;
  color: var(--text-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hero-tab .bar {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
}
.hero-tab[aria-selected='true'] .bar {
  transform: scaleX(1);
}
.is-playing .hero-tab[aria-selected='true'] .bar {
  transform: scaleX(0);
  animation: progress var(--slide, 7s) linear forwards;
}
.is-paused .hero-tab[aria-selected='true'] .bar {
  animation-play-state: paused;
}
@keyframes progress {
  to {
    transform: scaleX(1);
  }
}
.hero-pause {
  align-self: center;
}
.hero-pause .play {
  display: none;
}
.is-paused .hero-pause .play {
  display: block;
}
.is-paused .hero-pause .pause {
  display: none;
}
html:not(.js) .hero-pause,
.hero-bar.single .hero-pause {
  display: none;
}
.hero-captions {
  position: absolute;
  right: 0;
  bottom: calc(100% + 18px);
  text-align: right;
}
.hero-caption {
  display: none;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-2);
}
.hero-caption.is-active {
  display: inline-flex;
}
.hero-caption a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text);
  font-weight: 600;
}
.hero-caption svg {
  width: 16px;
  height: 16px;
}
@media (max-width: 900px) {
  .hero-tabs {
    grid-template-columns: repeat(var(--n, 4), minmax(168px, 1fr));
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    margin-left: calc(-1 * var(--pad));
    padding-left: var(--pad);
    scroll-padding-inline: var(--pad);
  }
  .hero-tabs::-webkit-scrollbar {
    display: none;
  }
  .hero-tab {
    scroll-snap-align: start;
  }
  .hero-captions {
    display: none;
  }
}
@media (max-width: 700px), (max-width: 1100px) and (orientation: portrait) {
  /* on a phone (or a tablet held upright) the words span the screen and sit low: the picture fills the top, lifted so its
     focal point (--fy, from the game's "where to look") stays above them, and fades out below */
  .hero-slide {
    top: min(0%, calc(20% - var(--fy, 0.5) * 66%));
    bottom: auto;
    height: 66%;
    -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent);
    mask-image: linear-gradient(180deg, #000 55%, transparent);
  }
  .hero::before {
    background:
      linear-gradient(0deg, var(--bg) 30%, rgba(10, 9, 16, 0.8) 46%, rgba(10, 9, 16, 0.42) 62%, rgba(10, 9, 16, 0.08) 82%, rgba(10, 9, 16, 0) 100%),
      linear-gradient(180deg, rgba(10, 9, 16, 0.7) 0%, rgba(10, 9, 16, 0) 16%);
  }
}
@media (max-width: 560px) {
  .hero-tab img {
    width: 40px;
    height: 40px;
  }
  .hero-tab small {
    display: none;
  }
}

/* ---------- game cards ---------- */

.games-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.2vw, 30px);
}
@media (max-width: 880px) {
  .games-grid {
    grid-template-columns: 1fr;
  }
}
.game-card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  border-radius: var(--r-l);
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  transition:
    transform 0.6s var(--ease),
    border-color 0.5s,
    box-shadow 0.6s var(--ease);
}
.game-card:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--accent) 45%, transparent);
  box-shadow: 0 34px 90px -34px color-mix(in srgb, var(--accent) 50%, transparent);
}
.game-card .art {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--panel-2);
}
.game-card .art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease);
}
.game-card:hover .art img {
  transform: scale(1.055);
}
.game-card .art::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(19, 17, 27, 0) 46%, rgba(19, 17, 27, 0.92) 100%);
}
.game-card .art .chip {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 1;
}
.game-card .body {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  padding: 0 clamp(22px, 2.6vw, 34px) clamp(24px, 2.8vw, 34px);
  margin-top: -46px;
}
.game-card .icon {
  width: 76px;
  height: 76px;
  border-radius: 22px;
  box-shadow:
    0 14px 32px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.09);
}
.game-card .title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
}
.game-card h3 {
  font-size: clamp(1.7rem, 1.25rem + 1.1vw, 2.3rem);
  letter-spacing: -0.03em;
}
.game-card h3 a::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
}
.game-card .genre {
  color: var(--text-3);
  font-size: 0.95rem;
}
.game-card p.summary {
  color: var(--text-2);
}
.game-card .foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 6px;
}
.game-card .more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: color-mix(in srgb, var(--accent) 80%, white);
}
.game-card .more svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s var(--ease);
}
.game-card:hover .more svg {
  transform: translateX(4px);
}

/* the smaller cards ("more games") */
.mini-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}
.mini-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px;
  border-radius: var(--r);
  background: var(--panel);
  border: 1px solid var(--line);
  transition:
    border-color 0.35s,
    transform 0.4s var(--ease),
    background-color 0.35s;
}
.mini-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--accent) 45%, transparent);
  background: var(--panel-2);
}
.mini-card img {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  flex: none;
}
.mini-card strong {
  display: block;
  font: 700 1.15rem/1.2 var(--display);
  letter-spacing: -0.015em;
}
.mini-card span {
  color: var(--text-3);
  font-size: 0.9rem;
}
.mini-card a::after {
  content: '';
  position: absolute;
  inset: 0;
}

/* ---------- the studio ---------- */

.studio-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: start;
}
@media (max-width: 900px) {
  .studio-grid {
    grid-template-columns: 1fr;
  }
}
.studio-text {
  display: grid;
  gap: 24px;
}
.studio-text .rich p + p {
  margin-top: 1em;
}
.studio-text .rich {
  color: var(--text-2);
  font-size: 1.1rem;
}
.points {
  display: grid;
  gap: 14px;
}
.point {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 18px;
  padding: 24px;
  border-radius: var(--r);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.018));
  border: 1px solid var(--line);
}
.point .ic {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 15px;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 13%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
}
.point .ic svg {
  width: 23px;
  height: 23px;
}
.point h3 {
  font-size: 1.22rem;
  letter-spacing: -0.015em;
  line-height: 1.25;
  margin-bottom: 6px;
}
.point p {
  color: var(--text-2);
  font-size: 0.98rem;
}

/* ---------- news ---------- */

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.2vw, 28px);
}
@media (max-width: 1000px) {
  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
}
@media (min-width: 641px) {
  /* two cards share the row instead of leaving a gap */
  .news-grid[data-rest='2'] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.news-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  transition:
    transform 0.5s var(--ease),
    border-color 0.4s,
    box-shadow 0.5s var(--ease);
}
.news-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--accent) 40%, transparent);
  box-shadow: 0 28px 70px -36px color-mix(in srgb, var(--accent) 55%, transparent);
}
.news-card .cover {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--panel-2);
}
.news-card .cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.news-card:hover .cover img {
  transform: scale(1.05);
}
.cover-art {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background:
    radial-gradient(90% 120% at 15% 10%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 60%),
    radial-gradient(80% 100% at 100% 100%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 60%),
    var(--panel-2);
}
.cover-art img {
  width: 30% !important;
  height: auto !important;
  max-width: 140px;
  border-radius: 24%;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
}
.cover-art img.mark {
  border-radius: 0;
  box-shadow: none;
}
.news-card .body {
  display: grid;
  align-content: start;
  gap: 11px;
  padding: 22px 24px 26px;
  flex: 1;
}
.news-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  color: var(--text-3);
  font-size: 0.87rem;
}
.news-meta .tag {
  color: color-mix(in srgb, var(--accent) 75%, white);
  font-weight: 600;
}
.news-card h3 {
  font-size: 1.32rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.news-card h3 a::after {
  content: '';
  position: absolute;
  inset: 0;
}
.news-card p {
  color: var(--text-2);
  font-size: 0.97rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card.is-lead {
  grid-column: 1 / -1;
  flex-direction: row;
}
.news-card.is-lead .cover {
  flex: 1.3;
  aspect-ratio: auto;
  min-height: 340px;
}
.news-card.is-lead .body {
  flex: 1;
  align-content: center;
  padding: clamp(26px, 4vw, 52px);
  gap: 16px;
}
.news-card.is-lead h3 {
  font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.6rem);
  line-height: 1.06;
}
.news-card.is-lead p {
  -webkit-line-clamp: 5;
  line-clamp: 5;
  font-size: 1.05rem;
}
@media (max-width: 800px) {
  .news-card.is-lead {
    flex-direction: column;
  }
  .news-card.is-lead .cover {
    aspect-ratio: 16 / 9;
    min-height: 0;
  }
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
}
.filter {
  height: 40px;
  padding: 0 17px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--text-2);
  font: 500 0.93rem/1 var(--body);
  cursor: pointer;
  transition:
    background-color 0.25s,
    color 0.25s,
    border-color 0.25s;
}
.filter:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.3);
}
.filter[aria-pressed='true'] {
  background: var(--text);
  border-color: var(--text);
  color: var(--bg);
}
html:not(.js) .filters {
  display: none;
}
.empty {
  padding: 48px;
  border-radius: var(--r);
  border: 1px dashed var(--line-2);
  color: var(--text-3);
  text-align: center;
}

/* ---------- contact band ---------- */

.cta-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto;
  align-items: center;
  gap: 28px 40px;
  padding: clamp(34px, 6vw, 84px);
  border-radius: var(--r-l);
  border: 1px solid var(--line);
  background:
    radial-gradient(110% 140% at 0% 0%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 52%),
    radial-gradient(90% 120% at 100% 100%, rgba(255, 128, 48, 0.14), transparent 58%),
    var(--panel);
}
.cta-band .text {
  display: grid;
  gap: 16px;
}
.cta-band .slice {
  position: absolute;
  z-index: -1;
  right: -70px;
  top: -90px;
  width: clamp(220px, 28vw, 380px);
  opacity: 0.16;
  transform: rotate(16deg);
  pointer-events: none;
}
@media (max-width: 760px) {
  .cta-band {
    grid-template-columns: 1fr;
  }
}

/* ---------- footer ---------- */

.site-footer {
  margin-top: clamp(40px, 7vw, 110px);
  padding: clamp(56px, 7vw, 92px) 0 34px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.012), rgba(255, 255, 255, 0.025));
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) repeat(3, minmax(0, 1fr));
  gap: 36px;
}
@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}
.footer-brand img {
  height: 30px;
  width: auto;
}
.footer-brand p {
  margin-top: 18px;
  max-width: 36ch;
  color: var(--text-3);
  font-size: 0.96rem;
}
.footer-col h2 {
  margin-bottom: 14px;
  font: 600 0.78rem/1 var(--body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
}
.footer-col a {
  display: block;
  width: fit-content;
  padding: 6px 0;
  color: var(--text-2);
  transition: color 0.2s;
}
.footer-col a:hover {
  color: var(--text);
}
.social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}
.social a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  color: var(--text-2);
  transition:
    color 0.2s,
    background-color 0.2s,
    transform 0.3s var(--ease);
}
.social a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}
.social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 56px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  color: var(--text-3);
  font-size: 0.88rem;
}

/* ---------- a game's page ---------- */

.game-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: end;
  min-height: max(620px, min(94svh, 960px));
  padding: calc(var(--header) + 40px) 0 clamp(40px, 6vw, 80px);
  overflow: hidden;
}
.game-hero .bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.game-hero .bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: settle 2.4s var(--ease) both;
}
@keyframes settle {
  from {
    transform: scale(1.06);
    opacity: 0.4;
  }
  to {
    transform: none;
    opacity: 1;
  }
}
.game-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  /* the fade into the page comes first (on top), so the colour's glow never ends in a seam */
  background:
    linear-gradient(0deg, var(--bg) 0%, rgba(10, 9, 16, 0.55) 14%, rgba(10, 9, 16, 0) 38%),
    radial-gradient(80% 60% at 0% 78%, color-mix(in srgb, var(--accent) 20%, transparent), transparent 64%),
    linear-gradient(90deg, rgba(10, 9, 16, 0.86) 0%, rgba(10, 9, 16, 0.5) 32%, rgba(10, 9, 16, 0.04) 64%),
    linear-gradient(180deg, rgba(10, 9, 16, 0.65) 0%, rgba(10, 9, 16, 0) 22%);
}
@media (max-width: 700px), (max-width: 1100px) and (orientation: portrait) {
  .game-hero .bg {
    top: min(0%, calc(27% - var(--fy, 0.5) * 70%));
    bottom: auto;
    height: 70%;
    -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent);
    mask-image: linear-gradient(180deg, #000 55%, transparent);
  }
  .game-hero::before {
    background:
      linear-gradient(0deg, var(--bg) 30%, rgba(10, 9, 16, 0.84) 42%, rgba(10, 9, 16, 0.46) 58%, rgba(10, 9, 16, 0.1) 80%, rgba(10, 9, 16, 0) 100%),
      radial-gradient(100% 50% at 0% 80%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 70%),
      linear-gradient(180deg, rgba(10, 9, 16, 0.65) 0%, rgba(10, 9, 16, 0) 18%);
  }
}
.game-hero .head {
  display: grid;
  gap: 22px;
  max-width: 800px;
}
.game-hero .icon {
  width: 104px;
  height: 104px;
  border-radius: 28px;
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.1);
}
.game-hero .badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
}
.game-hero .tagline {
  font: 500 clamp(1.25rem, 1rem + 1.1vw, 1.85rem) / 1.3 var(--display);
  letter-spacing: -0.015em;
  color: var(--text-2);
  max-width: 34ch;
}
.game-hero .actions {
  margin-top: 6px;
}
.overview {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.85fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: start;
}
@media (max-width: 900px) {
  .overview {
    grid-template-columns: 1fr;
  }
}
.overview .eyebrow + .lead {
  margin-top: 20px;
}
.overview .lead {
  color: var(--text);
  font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.55rem);
  line-height: 1.5;
}
.overview .prose {
  margin-top: 26px;
}
.facts {
  position: sticky;
  top: calc(var(--header) + 24px);
  padding: 8px 26px;
  border-radius: var(--r);
  background: var(--panel);
  border: 1px solid var(--line);
}
.facts dl {
  margin: 0;
}
.facts div {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.facts div:last-child {
  border-bottom: 0;
}
.facts dt {
  color: var(--text-3);
  font-size: 0.92rem;
}
.facts dd {
  margin: 0;
  font-weight: 500;
}
.facts dd a {
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--accent) 60%, transparent);
  text-underline-offset: 3px;
}
.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 22px);
}
@media (max-width: 980px) {
  .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 620px) {
  .features {
    grid-template-columns: 1fr;
  }
}
.feature {
  position: relative;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: clamp(24px, 2.4vw, 32px);
  border-radius: var(--r);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
  overflow: hidden;
  transition:
    border-color 0.4s,
    transform 0.5s var(--ease);
}
.feature:hover {
  border-color: color-mix(in srgb, var(--accent) 38%, transparent);
  transform: translateY(-3px);
}
.feature::before {
  content: '';
  position: absolute;
  inset: -1px -1px auto auto;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 70%);
  pointer-events: none;
}
.feature .ic {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 6px;
  border-radius: 15px;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 26%, transparent);
}
.feature .ic svg {
  width: 24px;
  height: 24px;
}
.feature h3 {
  font-size: 1.3rem;
  letter-spacing: -0.018em;
  line-height: 1.2;
}
.feature p {
  color: var(--text-2);
  font-size: 0.99rem;
}

/* the screenshots */
.gallery-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}
.gallery-nav {
  display: flex;
  gap: 10px;
}
html:not(.js) .gallery-nav {
  display: none;
}
.shots {
  display: flex;
  gap: clamp(14px, 1.8vw, 22px);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: max(var(--pad), (100vw - var(--max)) / 2);
  padding: 10px max(var(--pad), (100vw - var(--max)) / 2) 34px;
  scrollbar-width: none;
}
.shots::-webkit-scrollbar {
  display: none;
}
.shot {
  flex: none;
  width: clamp(220px, 23vw, 300px);
  scroll-snap-align: start;
  padding: 0;
  border: 0;
  border-radius: 28px;
  overflow: hidden;
  background: var(--panel-2);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 30px 60px -30px rgba(0, 0, 0, 0.85);
  cursor: zoom-in;
  transition: transform 0.5s var(--ease);
}
.shot.is-wide {
  width: clamp(300px, 52vw, 720px);
  border-radius: 22px;
}
.shot:hover {
  transform: translateY(-6px);
}
.shot img {
  width: 100%;
}

.lightbox {
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
}
.lightbox::backdrop {
  background: rgba(6, 5, 9, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.lightbox[open] {
  display: grid;
  place-items: center;
}
.lightbox figure {
  margin: 0;
  display: grid;
  justify-items: center;
  gap: 16px;
  padding: 70px 76px 40px;
}
.lightbox img {
  max-width: min(100%, 1400px);
  max-height: calc(100dvh - 170px);
  width: auto;
  height: auto;
  border-radius: 22px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.7);
}
.lightbox figcaption {
  max-width: 60ch;
  color: var(--text-2);
  text-align: center;
  font-size: 0.97rem;
}
.lightbox .close {
  position: fixed;
  top: 18px;
  right: 18px;
}
.lightbox .prev,
.lightbox .next {
  position: fixed;
  top: 50%;
  translate: 0 -50%;
}
.lightbox .prev {
  left: 18px;
}
.lightbox .next {
  right: 18px;
}
.lightbox .count {
  position: fixed;
  top: 28px;
  left: 50%;
  translate: -50% 0;
  color: var(--text-3);
  font-size: 0.9rem;
}
@media (max-width: 640px) {
  .lightbox figure {
    padding: 64px 12px 90px;
  }
  .lightbox .prev,
  .lightbox .next {
    top: auto;
    bottom: 22px;
    translate: none;
  }
  .lightbox .prev {
    left: calc(50% - 56px);
  }
  .lightbox .next {
    right: calc(50% - 56px);
  }
}

.play-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  justify-items: center;
  gap: 20px;
  padding: clamp(46px, 7vw, 96px) clamp(24px, 5vw, 64px);
  border-radius: var(--r-l);
  text-align: center;
  border: 1px solid var(--line);
  background: var(--panel);
}
.play-band .bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.play-band .bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}
.play-band::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 80% at 50% 100%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%),
    linear-gradient(180deg, rgba(19, 17, 27, 0.82), rgba(19, 17, 27, 0.92));
}
.play-band img.icon {
  width: 88px;
  height: 88px;
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
}
.play-band p {
  color: var(--text-2);
  max-width: 52ch;
}
.play-band .actions {
  justify-content: center;
}

/* ---------- articles and plain pages ---------- */

.page-head {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: calc(var(--header) + clamp(56px, 9vw, 130px)) 0 clamp(30px, 4.5vw, 60px);
}
.page-head .glow {
  top: -40%;
  left: -15%;
}
.page-head .text {
  display: grid;
  gap: 22px;
}
.back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  color: var(--text-3);
  font-weight: 500;
  transition: color 0.2s;
}
.back:hover {
  color: var(--text);
}
.back svg {
  width: 18px;
  height: 18px;
}
.article-cover {
  width: min(100% - 2 * var(--pad), 1120px);
  margin: 0 auto;
  border-radius: var(--r-l);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
}
.article-cover img {
  width: 100%;
}
.prose {
  color: var(--text-2);
  font-size: 1.1rem;
  line-height: 1.78;
}
.prose > * + * {
  margin-top: 1.15em;
}
.prose h2,
.prose h3,
.prose h4 {
  position: relative;
  color: var(--text);
  margin-top: 2.1em;
  line-height: 1.2;
}
.prose h2 {
  font-size: clamp(1.55rem, 1.3rem + 0.9vw, 2.05rem);
}
.prose h3 {
  font-size: 1.35rem;
}
.prose h2 + *,
.prose h3 + * {
  margin-top: 0.7em;
}
.prose .anchor {
  position: absolute;
  left: -1.1em;
  color: var(--text-3);
  opacity: 0;
  transition: opacity 0.2s;
}
.prose h2:hover .anchor,
.prose h3:hover .anchor {
  opacity: 1;
}
@media (max-width: 760px), (hover: none) {
  .prose .anchor {
    display: none;
  }
}
.prose strong {
  color: var(--text);
  font-weight: 600;
}
.prose a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  text-decoration-color: color-mix(in srgb, var(--accent) 70%, transparent);
  transition: text-decoration-color 0.2s;
}
.prose a:hover {
  text-decoration-color: var(--accent);
}
.prose ul,
.prose ol {
  padding-left: 1.3em;
}
.prose li + li {
  margin-top: 0.45em;
}
.prose li::marker {
  color: var(--accent);
}
.prose blockquote {
  margin: 1.8em 0;
  padding: 4px 0 4px 1.3em;
  border-left: 3px solid var(--accent);
  color: var(--text);
  font: 500 1.3rem/1.5 var(--display);
  letter-spacing: -0.01em;
}
.prose img,
.prose figure {
  margin-block: 1.8em;
}
.prose img {
  border-radius: var(--r);
}
.prose figure img {
  margin: 0;
}
.prose figcaption {
  margin-top: 10px;
  color: var(--text-3);
  font-size: 0.92rem;
  text-align: center;
}
.prose hr {
  border: 0;
  height: 1px;
  background: var(--line-2);
  margin-block: 2.4em;
}
.prose code {
  padding: 2px 7px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.9em;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.97rem;
}
.prose th,
.prose td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.prose th {
  color: var(--text);
}
.article-body {
  padding-top: clamp(36px, 5vw, 64px);
}
.share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  color: var(--text-3);
}
.share .label {
  margin-right: 6px;
  font-size: 0.92rem;
}

/* ---------- 404 ---------- */

.lost {
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: calc(var(--header) + 40px) var(--pad) 60px;
}
.lost .inner {
  display: grid;
  justify-items: center;
  gap: 22px;
}
.lost .slice {
  width: 140px;
  animation: spin 24s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.lost .actions {
  justify-content: center;
}

/* ---------- appearing as you scroll ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 1s var(--ease),
    transform 1s var(--ease);
}
.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}
.js [data-reveal].d1 {
  transition-delay: 0.08s;
}
.js [data-reveal].d2 {
  transition-delay: 0.16s;
}
.js [data-reveal].d3 {
  transition-delay: 0.24s;
}
.js [data-reveal].d4 {
  transition-delay: 0.32s;
}
.js [data-reveal].d5 {
  transition-delay: 0.4s;
}
.hero [data-rise] {
  animation: rise 1.1s var(--ease) both;
}
.hero [data-rise].d1 {
  animation-delay: 0.12s;
}
.hero [data-rise].d2 {
  animation-delay: 0.24s;
}
.hero [data-rise].d3 {
  animation-delay: 0.36s;
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .hero-slide img,
  .hero-slide.is-active img {
    transform: none;
  }
}

/* the games' colours and the pictures' focal points */
.g-dusk-delve{--accent:#f0a43c;--accent-ink:#14100a;--fy:0.6}
.g-fabled-waters{--accent:#4cc9f0;--accent-ink:#14100a;--fy:0.7}
.g-bonsai{--accent:#7fd38a;--accent-ink:#14100a;--fy:0.42}
.g-lab-diamond-tycoon{--accent:#c39bff;--accent-ink:#14100a;--fy:0.5}
.g-exit-liquidity{--accent:#e8b84a;--accent-ink:#14100a;--fy:0.5}
.f-b7fb7d24{object-position:45% 60%}
.f-afa385ed{object-position:78% 70%}
.f-5323d59c{object-position:80% 42%}
.f-f61dfa07{object-position:72% 50%}
.f-ec019525{object-position:24% 50%}
