/* ==========================================================================
   HYPPE GAMES — one stylesheet, no dependencies, no webfonts.
   Palette bridges both games: Hornfall navy/azure/gold + BLOCKSHOT voxel
   green/cyan/ember. Dark arcade, built to load before you finish blinking.
   ========================================================================== */

:root {
  /* surfaces */
  --ink-0: #070a12;
  --ink-1: #0b0f1c;
  --ink-2: #0f1424;
  --ink-3: #141b30;
  --ink-4: #1c2440;
  --line: rgba(158, 178, 220, 0.14);
  --line-soft: rgba(158, 178, 220, 0.08);

  /* type */
  --fg: #eef1f8;
  --fg-dim: #a4b0cd;
  --fg-mute: #7d89a8;

  /* accents */
  --azure: #7ec8e3;
  --azure-deep: #4a9bc4;
  --gold: #ffd166;
  --gold-deep: #e0a83c;
  --voxel: #7dff8a;
  --cyan: #6ee7ff;
  --ember: #f2a65a;
  --ember-deep: #e07a5f;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.55);

  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink-0);
  color: var(--fg);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Ambient light: azure from the north, ember from the south. Fixed so it
   never scrolls with the content and never repaints on scroll. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(70% 55% at 12% -8%, rgba(126, 200, 227, 0.16), transparent 60%),
    radial-gradient(60% 50% at 96% 8%, rgba(255, 209, 102, 0.1), transparent 62%),
    radial-gradient(90% 60% at 50% 108%, rgba(125, 255, 138, 0.07), transparent 60%),
    linear-gradient(180deg, var(--ink-1), var(--ink-0) 55%);
}

img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--azure);
  text-decoration-color: rgba(126, 200, 227, 0.35);
  text-underline-offset: 3px;
}
a:hover {
  text-decoration-color: currentColor;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- layout ---------- */

.wrap {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: clamp(18px, 5vw, 36px);
}
.wrap--narrow {
  max-width: 760px;
}

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 99;
  background: var(--gold);
  color: #16110a;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 800;
}

/* ---------- type ---------- */

h1,
h2,
h3,
h4 {
  margin: 0 0 0.5em;
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 850;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.3rem, 7.2vw, 4.2rem);
}
h2 {
  font-size: clamp(1.65rem, 4.2vw, 2.5rem);
}
h3 {
  font-size: clamp(1.15rem, 2.4vw, 1.4rem);
  letter-spacing: -0.01em;
}
p {
  margin: 0 0 1.1em;
}
p:last-child {
  margin-bottom: 0;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-mute);
  margin: 0 0 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.65em;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: linear-gradient(90deg, var(--azure), transparent);
  flex: none;
}

.lede {
  font-size: clamp(1.02rem, 2.1vw, 1.2rem);
  color: var(--fg-dim);
  max-width: 60ch;
}

.dim {
  color: var(--fg-dim);
}
.tiny {
  font-size: 0.85rem;
  color: var(--fg-mute);
}
.mono {
  font-family: var(--mono);
  font-size: 0.92em;
  color: var(--fg);
  background: rgba(158, 178, 220, 0.1);
  border-radius: 5px;
  padding: 1px 6px;
  word-break: break-all;
}

/* ---------- header ---------- */

.site-head {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(7, 10, 18, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.site-head .wrap {
  display: flex;
  align-items: center;
  gap: 14px 22px;
  flex-wrap: wrap;
  min-height: 62px;
  padding-block: 10px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: var(--fg);
  text-decoration: none;
  font-size: 1rem;
  margin-right: auto;
}
/* four quadrants, same mark as the favicon */
.brand .mark {
  width: 22px;
  height: 22px;
  flex: none;
  border-radius: 5px;
  background-image: linear-gradient(var(--azure), var(--azure)),
    linear-gradient(var(--gold), var(--gold)), linear-gradient(var(--voxel), var(--voxel)),
    linear-gradient(var(--ember), var(--ember));
  background-size: 50% 50%;
  background-position: 0 0, 100% 0, 0 100%, 100% 100%;
  background-repeat: no-repeat;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16), 0 4px 14px rgba(126, 200, 227, 0.25);
}
.brand b {
  color: var(--fg);
}
.brand span {
  color: var(--fg-mute);
  font-weight: 700;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.site-nav a {
  color: var(--fg-dim);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 7px 11px;
  border-radius: 8px;
  white-space: nowrap;
}
.site-nav a:hover {
  color: var(--fg);
  background: rgba(158, 178, 220, 0.08);
}
.site-nav a[aria-current="page"] {
  color: var(--fg);
  background: rgba(158, 178, 220, 0.1);
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  font: inherit;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-decoration: none;
  padding: 14px 24px;
  border-radius: 12px;
  border: 1px solid var(--line);
  color: var(--fg);
  background: rgba(158, 178, 220, 0.07);
  transition: transform 0.12s ease, box-shadow 0.2s ease, background 0.2s ease;
  min-height: 48px;
}
.btn:hover {
  transform: translateY(-2px);
  background: rgba(158, 178, 220, 0.13);
}
.btn:active {
  transform: translateY(0);
}

.btn--play {
  font-size: 1.05rem;
  padding: 16px 30px;
  border: 0;
  color: #0b1018;
  background: linear-gradient(135deg, var(--azure) 0%, #a8d8ea 45%, var(--gold) 100%);
  box-shadow: 0 10px 30px rgba(126, 200, 227, 0.28);
}
.btn--play:hover {
  box-shadow: 0 16px 40px rgba(126, 200, 227, 0.4);
}

.btn--voxel {
  background: linear-gradient(135deg, var(--voxel) 0%, var(--cyan) 55%, var(--ember) 100%);
  box-shadow: 0 10px 30px rgba(125, 255, 138, 0.24);
}
.btn--voxel:hover {
  box-shadow: 0 16px 40px rgba(125, 255, 138, 0.34);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding: clamp(56px, 11vw, 112px) 0 clamp(40px, 7vw, 72px);
  overflow: hidden;
}

/* Arcade horizon: a perspective grid that fades out before it can distract. */
.hero::after {
  content: "";
  position: absolute;
  left: -25%;
  right: -25%;
  bottom: -10px;
  height: 300px;
  pointer-events: none;
  background-image: linear-gradient(rgba(126, 200, 227, 0.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 200, 227, 0.35) 1px, transparent 1px);
  background-size: 62px 62px;
  transform: perspective(320px) rotateX(72deg);
  transform-origin: bottom center;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 55%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 55%, transparent);
  opacity: 0.35;
}

.hero .wrap {
  position: relative;
  z-index: 1;
}

.hero h1 {
  margin-bottom: 0.35em;
}
.hero h1 .l2 {
  display: block;
  background: linear-gradient(100deg, var(--azure), var(--gold) 55%, var(--voxel));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .lede {
  font-size: clamp(1.05rem, 2.3vw, 1.28rem);
  margin-bottom: 1.9em;
}

/* stat strip */
.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin: 34px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--line-soft);
  list-style: none;
}
.stats li {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
.stats b {
  color: var(--fg);
  font-weight: 800;
}

/* ---------- section ---------- */

.section {
  padding: clamp(46px, 8vw, 88px) 0;
}
.section--tight {
  padding: clamp(34px, 5vw, 56px) 0;
}
.section-head {
  max-width: 62ch;
  margin-bottom: clamp(26px, 4vw, 44px);
}

/* ---------- game cards ---------- */

.games {
  display: grid;
  gap: clamp(26px, 4vw, 40px);
}

.game-card {
  position: relative;
  display: grid;
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--ink-2), var(--ink-1) 70%);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.game-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--azure), var(--gold));
}
.game-card--blockshot::before {
  background: linear-gradient(90deg, var(--voxel), var(--cyan) 55%, var(--ember));
}

@media (min-width: 900px) {
  .game-card {
    grid-template-columns: 1.05fr 1fr;
  }
  .game-card--blockshot .card-art {
    order: -1;
  }
}

.card-body h3 {
  font-size: clamp(1.9rem, 4.5vw, 2.6rem);
  letter-spacing: -0.03em;
  margin-bottom: 0.15em;
}
.card-hook {
  color: var(--gold);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 1em;
}
.game-card--blockshot .card-hook {
  color: var(--voxel);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
}
.tags li {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--fg-dim);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
}

.bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  display: grid;
  gap: 12px;
}
.bullets li {
  position: relative;
  padding-left: 30px;
  color: var(--fg-dim);
  line-height: 1.5;
}
.bullets li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.55em;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--azure);
  box-shadow: 0 0 12px rgba(126, 200, 227, 0.7);
}
.bullets li strong {
  color: var(--fg);
  font-weight: 800;
}
.game-card--blockshot .bullets li::before,
.bullets--voxel li::before {
  background: var(--voxel);
  box-shadow: 0 0 12px rgba(125, 255, 138, 0.6);
}

/* ---------- CSS art (no screenshots, no image requests) ---------- */

.card-art {
  position: relative;
  aspect-ratio: 16 / 11;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  isolation: isolate;
}

/* — Hornfall: a seeded island floating in a cold sky — */
.art-hornfall {
  background:
    radial-gradient(85% 70% at 50% 115%, rgba(126, 200, 227, 0.22), transparent 60%),
    radial-gradient(60% 50% at 78% 12%, rgba(255, 209, 102, 0.16), transparent 65%),
    linear-gradient(180deg, #101838 0%, #0c1024 60%, #090c1a 100%);
  perspective: 900px;
}
.art-hornfall .stars {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(1.5px 1.5px at 18% 22%, rgba(255, 255, 255, 0.55), transparent),
    radial-gradient(1.5px 1.5px at 72% 16%, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(1.5px 1.5px at 44% 9%, rgba(255, 255, 255, 0.35), transparent),
    radial-gradient(1.5px 1.5px at 88% 32%, rgba(255, 255, 255, 0.3), transparent),
    radial-gradient(1.5px 1.5px at 10% 44%, rgba(255, 255, 255, 0.25), transparent);
}
.art-hornfall .float {
  position: absolute;
  left: 50%;
  top: 52%;
  width: 74%;
  aspect-ratio: 1;
  translate: -50% -50%;
  transform-style: preserve-3d;
  /* stacked solid drop-shadows = the rock underside of a floating island */
  filter: drop-shadow(0 5px 0 #24304a) drop-shadow(0 10px 0 #1b2439)
    drop-shadow(0 16px 0 #141b2c) drop-shadow(0 34px 26px rgba(0, 0, 0, 0.6));
  animation: bob 9s ease-in-out infinite;
}
.art-hornfall .isle {
  position: absolute;
  inset: 0;
  /* faceted coastline — a low-poly island, not a dinner plate */
  clip-path: polygon(
    50% 0%,
    74% 5%,
    92% 22%,
    100% 48%,
    93% 72%,
    72% 92%,
    46% 100%,
    22% 93%,
    5% 74%,
    0% 46%,
    9% 21%,
    26% 6%
  );
  transform: rotateX(58deg) rotateZ(42deg);
  transform-style: preserve-3d;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 28%, #4e7a4a 0 8%, transparent 9%),
    radial-gradient(circle at 22% 46%, #436b42 0 6%, transparent 7%),
    radial-gradient(circle at 38% 60%, #4e7a4a 0 5%, transparent 6%),
    radial-gradient(circle at 70% 70%, #436b42 0 7%, transparent 8%),
    radial-gradient(circle at 80% 44%, #4e7a4a 0 5%, transparent 6%),
    linear-gradient(140deg, #6f9257 0%, #5c8050 45%, #4a6a45 100%);
}
.art-hornfall .river {
  position: absolute;
  left: -12%;
  top: 42%;
  width: 124%;
  height: 15%;
  border-radius: 50%;
  transform: rotate(-14deg);
  background: linear-gradient(180deg, #a8d8ea, #4a9bc4 55%, #2f6f96);
  box-shadow: 0 0 18px rgba(126, 200, 227, 0.55);
}
.art-hornfall .ford {
  position: absolute;
  left: 47%;
  top: 41%;
  width: 8%;
  height: 15%;
  transform: rotate(-14deg);
  background: linear-gradient(180deg, #caa870, #9d7f4f);
  border-radius: 2px;
}
.art-hornfall .keep {
  position: absolute;
  width: 8%;
  height: 26%;
  bottom: 50%;
  transform-origin: bottom center;
  transform: translateZ(1px) rotateX(-58deg);
  clip-path: polygon(0 18%, 18% 0, 82% 0, 100% 18%, 100% 100%, 0 100%);
  background: linear-gradient(180deg, #a8d8ea, #4a9bc4);
  box-shadow: 0 0 22px rgba(126, 200, 227, 0.6);
}
.art-hornfall .keep--gold {
  background: linear-gradient(180deg, #ffe1a0, #e0a83c);
  box-shadow: 0 0 22px rgba(255, 209, 102, 0.55);
}
.art-hornfall .keep--a {
  left: 25%;
  bottom: 53%;
}
.art-hornfall .keep--b {
  left: 67%;
  bottom: 45%;
}
.art-hornfall .march {
  position: absolute;
  width: 3.4%;
  height: 3.4%;
  border-radius: 50%;
  top: 47%;
  background: var(--azure);
  box-shadow: 0 0 10px rgba(126, 200, 227, 0.9);
  animation: march 6s linear infinite;
}
.art-hornfall .march--gold {
  background: var(--gold);
  box-shadow: 0 0 10px rgba(255, 209, 102, 0.9);
  animation-name: march-back;
  animation-delay: 1.4s;
}
.art-hornfall .horn {
  position: absolute;
  right: 12px;
  top: 12px;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  color: var(--gold);
  border: 1px solid rgba(255, 209, 102, 0.35);
  background: rgba(11, 15, 28, 0.6);
  border-radius: 999px;
  padding: 3px 9px;
  animation: pulse 3.2s ease-in-out infinite;
}

@keyframes bob {
  0%,
  100% {
    translate: -50% -52%;
  }
  50% {
    translate: -50% -45%;
  }
}
@keyframes march {
  0% {
    left: 26%;
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  88% {
    opacity: 1;
  }
  100% {
    left: 68%;
    opacity: 0;
  }
}
@keyframes march-back {
  0% {
    left: 70%;
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  88% {
    opacity: 1;
  }
  100% {
    left: 30%;
    opacity: 0;
  }
}
@keyframes pulse {
  0%,
  100% {
    opacity: 0.55;
  }
  50% {
    opacity: 1;
  }
}

/* — BLOCKSHOT: an isometric voxel stack mid-demolition — */
.art-blockshot {
  background:
    radial-gradient(70% 60% at 50% 110%, rgba(125, 255, 138, 0.18), transparent 62%),
    radial-gradient(55% 45% at 82% 8%, rgba(242, 166, 90, 0.2), transparent 65%),
    linear-gradient(180deg, #0d1420 0%, #0a0f18 60%, #080b12 100%);
}
.art-blockshot .scene {
  position: absolute;
  inset: 0;
  animation: bob-slow 11s ease-in-out infinite;
}
/* single-element isometric cube: hexagon clip + 3-stop conic = 3 faces */
.cube {
  position: absolute;
  width: 16%;
  aspect-ratio: 1 / 1.16;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: conic-gradient(
    from -30deg at 50% 50%,
    var(--f-top, #7dff8a) 0 120deg,
    var(--f-right, #3f8f4b) 0 240deg,
    var(--f-left, #2c6a37) 0
  );
  /* drop-shadow follows the clip path, so stacked cubes keep a visible seam */
  filter: drop-shadow(0 2px 0 rgba(0, 0, 0, 0.45)) drop-shadow(-2px 0 0 rgba(0, 0, 0, 0.28));
}
.cube--grass {
  --f-top: #8ce49a;
  --f-right: #3f8f4b;
  --f-left: #2c6a37;
}
.cube--stone {
  --f-top: #9fb0c0;
  --f-right: #5b6b7c;
  --f-left: #3f4c5a;
}
.cube--gold {
  --f-top: #ffe08a;
  --f-right: #d09a2c;
  --f-left: #9c7020;
}
.cube--cyan {
  --f-top: #a8f2ff;
  --f-right: #3aa6c4;
  --f-left: #23708a;
}
.cube--ember {
  --f-top: #ffc48a;
  --f-right: #d1703c;
  --f-left: #96482a;
}
/* isometric grid: left = 36 + 8(u-v), top = 24 + 6.8(u+v); a stack is -13.5 top.
   DOM order is the painter's algorithm — furthest tile first. */
.c-00 {
  left: 36%;
  top: 30%;
}
.c-10 {
  left: 44%;
  top: 36.8%;
}
.c-01 {
  left: 28%;
  top: 36.8%;
}
.c-up {
  left: 44%;
  top: 23.3%;
}
.c-20 {
  left: 52%;
  top: 43.6%;
}
.c-11 {
  left: 36%;
  top: 43.6%;
}
.c-21 {
  left: 44%;
  top: 50.4%;
}
/* chips: blown-out blocks, clear of the stack so they read as debris */
.c-x1 {
  left: 70%;
  top: 20%;
  width: 9%;
}
.c-x2 {
  left: 79%;
  top: 33%;
  width: 7%;
}
.c-x3 {
  left: 17%;
  top: 16%;
  width: 6%;
}
.art-blockshot .chip {
  animation: chip 2.8s ease-in-out infinite;
  opacity: 0.95;
}
.art-blockshot .chip--b {
  animation-delay: 0.5s;
}
.art-blockshot .chip--c {
  animation-delay: 1.1s;
}
.art-blockshot .cross {
  position: absolute;
  left: 52%;
  top: 39%;
  width: 34px;
  height: 34px;
  translate: -50% -50%;
  animation: bloom 2.8s ease-in-out infinite;
}
.art-blockshot .cross i {
  position: absolute;
  background: rgba(255, 255, 255, 0.9);
}
.art-blockshot .cross i:nth-child(1) {
  left: 50%;
  top: 0;
  width: 2px;
  height: 10px;
  margin-left: -1px;
}
.art-blockshot .cross i:nth-child(2) {
  left: 50%;
  bottom: 0;
  width: 2px;
  height: 10px;
  margin-left: -1px;
}
.art-blockshot .cross i:nth-child(3) {
  top: 50%;
  left: 0;
  height: 2px;
  width: 10px;
  margin-top: -1px;
}
.art-blockshot .cross i:nth-child(4) {
  top: 50%;
  right: 0;
  height: 2px;
  width: 10px;
  margin-top: -1px;
}
.art-blockshot .ladder {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: flex;
  gap: 4px;
}
.art-blockshot .ladder i {
  width: 9px;
  height: 5px;
  border-radius: 1px;
  background: rgba(158, 178, 220, 0.25);
}
.art-blockshot .ladder i.on {
  background: var(--voxel);
  box-shadow: 0 0 8px rgba(125, 255, 138, 0.7);
}
.art-blockshot .ladder i.gold {
  background: var(--gold);
  box-shadow: 0 0 10px rgba(255, 209, 102, 0.9);
  animation: pulse 1.6s ease-in-out infinite;
}
.art-blockshot .tagline {
  position: absolute;
  right: 12px;
  top: 12px;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  color: var(--voxel);
  border: 1px solid rgba(125, 255, 138, 0.3);
  background: rgba(8, 12, 18, 0.6);
  border-radius: 999px;
  padding: 3px 9px;
}

@keyframes bob-slow {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}
@keyframes chip {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
    opacity: 0.9;
  }
  45% {
    transform: translate(6px, -16px) rotate(9deg);
    opacity: 0.35;
  }
}
@keyframes bloom {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.75;
  }
  8% {
    transform: scale(1.35);
    opacity: 1;
  }
}

/* ---------- feature grids ---------- */

.grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.tile {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: linear-gradient(160deg, rgba(20, 27, 48, 0.9), rgba(11, 15, 28, 0.9));
}
.tile h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4em;
}
.tile p {
  color: var(--fg-dim);
  font-size: 0.95rem;
  margin: 0;
}
.tile .num {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--azure);
  display: block;
  margin-bottom: 10px;
}
.tile--voxel .num {
  color: var(--voxel);
}

/* ---------- prose (legal + long form) ---------- */

.prose {
  max-width: 72ch;
}
.prose h2 {
  font-size: clamp(1.3rem, 3vw, 1.6rem);
  margin-top: 2.2em;
  padding-top: 0.2em;
}
.prose h2:first-child {
  margin-top: 0;
}
.prose h3 {
  font-size: 1.08rem;
  margin-top: 1.7em;
}
.prose p,
.prose li {
  color: var(--fg-dim);
}
.prose ul,
.prose ol {
  padding-left: 1.25em;
  margin: 0 0 1.2em;
}
.prose li {
  margin-bottom: 0.5em;
}
.prose strong {
  color: var(--fg);
}

.callout {
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-sm);
  background: rgba(20, 27, 48, 0.6);
  padding: 18px 20px;
  margin: 0 0 2em;
}
.callout p {
  margin: 0;
  color: var(--fg-dim);
}
.callout strong {
  color: var(--gold);
}

/* FAQ / details */
.faq {
  display: grid;
  gap: 10px;
}
details {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(15, 20, 36, 0.7);
  padding: 0 18px;
}
details[open] {
  background: rgba(20, 27, 48, 0.8);
}
summary {
  cursor: pointer;
  font-weight: 800;
  padding: 15px 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}
summary::-webkit-details-marker {
  display: none;
}
summary::after {
  content: "+";
  color: var(--azure);
  font-weight: 700;
  font-size: 1.3em;
  line-height: 1;
  flex: none;
}
details[open] summary::after {
  content: "\2212";
}
details > p,
details > ul {
  color: var(--fg-dim);
  margin: 0 0 16px;
  font-size: 0.96rem;
}

/* steps */
.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}
.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 52px;
  color: var(--fg-dim);
  min-height: 34px;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.9rem;
  color: #0b1018;
  background: linear-gradient(140deg, var(--azure), var(--gold));
}
.steps--voxel li::before {
  background: linear-gradient(140deg, var(--voxel), var(--cyan));
}
.steps li strong {
  color: var(--fg);
}

/* ---------- game page hero ---------- */

.game-hero {
  padding: clamp(34px, 6vw, 66px) 0 clamp(26px, 4vw, 44px);
}
.game-hero .card-art {
  margin-top: clamp(24px, 4vw, 36px);
  max-width: 640px;
  aspect-ratio: 16 / 10;
}
.game-hero h1 {
  font-size: clamp(2.6rem, 9vw, 5rem);
  letter-spacing: -0.04em;
}
.game-hero .title-azure {
  background: linear-gradient(100deg, var(--azure), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.game-hero .title-voxel {
  background: linear-gradient(100deg, var(--voxel), var(--cyan) 60%, var(--ember));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* sticky-ish bottom CTA band */
.cta-band {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 40px);
  background: linear-gradient(140deg, var(--ink-3), var(--ink-1));
  box-shadow: var(--shadow);
  text-align: center;
}
.cta-band h2 {
  margin-bottom: 0.4em;
}
.cta-band p {
  color: var(--fg-dim);
  max-width: 52ch;
  margin-inline: auto;
}
.cta-band .btn-row {
  justify-content: center;
  margin-top: 22px;
}

/* ---------- footer ---------- */

.site-foot {
  border-top: 1px solid var(--line-soft);
  padding: 40px 0 56px;
  margin-top: clamp(40px, 7vw, 80px);
  background: rgba(7, 10, 18, 0.6);
}
.foot-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 22px 40px;
  justify-content: space-between;
  align-items: flex-start;
}
.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.foot-links a {
  color: var(--fg-dim);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
}
.foot-links a:hover {
  color: var(--fg);
}
.foot-note {
  color: var(--fg-mute);
  font-size: 0.85rem;
  margin: 22px 0 0;
  max-width: 62ch;
}

/* ---------- 404 ---------- */

.notfound {
  min-height: 64vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 60px 0;
}
.notfound .code {
  font-family: var(--mono);
  font-size: clamp(4rem, 20vw, 9rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  background: linear-gradient(120deg, var(--azure), var(--gold) 55%, var(--voxel));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0 0 0.1em;
}

/* ---------- motion opt-out ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .art-hornfall .float {
    translate: -50% -50%;
  }
}

/* ---------- small screens ---------- */

@media (max-width: 430px) {
  body {
    font-size: 16px;
  }
  /* keep the header on one line at 360px — no toggle, no JS.
     The mark plus HYPPE is enough up there; the full lockup is in the footer. */
  .site-head .wrap {
    gap: 8px;
  }
  .site-head .brand {
    font-size: 0.95rem;
    gap: 8px;
  }
  .site-head .brand span:not(.mark) {
    display: none;
  }
  .site-nav {
    gap: 2px;
  }
  .site-nav a {
    font-size: 0.82rem;
    padding: 6px 8px;
  }
  .btn {
    width: 100%;
  }
  .btn-row {
    gap: 10px;
  }
  .stats {
    gap: 8px 18px;
  }
}
