* { box-sizing: border-box; }

:root {
  /* All warm. A dark sun-baked earth ground, low-chroma yellow-earth panels
     and text, with straw gold as the lead accent and a deeper marigold
     second — nothing on the page is cool. */
  --bg: oklch(17% 0.028 74);
  --bg-deep: oklch(12% 0.022 70);
  --ink: oklch(96% 0.014 88);
  --ink-mid: oklch(88% 0.02 88 / 0.82);
  --ink-dim: oklch(83% 0.025 88 / 0.55);

  --gold: oklch(80% 0.14 82);
  --sky: oklch(73% 0.155 62);
  --cool: var(--sky);

  --panel: oklch(25% 0.03 84 / 0.68);
  --line: oklch(90% 0.04 86 / 0.16);
  --line-hover: oklch(85% 0.12 70 / 0.55);

  --sheen: linear-gradient(180deg, oklch(100% 0 0 / 0.14), oklch(100% 0 0 / 0) 46%);

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.5 var(--font);
}

body {
  display: flex;
  justify-content: center;
  padding: 64px 20px 40px;
}

/* Warm key light from the top, a marigold fill from the low corner, then a
   deep vignette. */
#vignette {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse at 50% 0%, oklch(80% 0.14 82 / 0.12) 0%, transparent 42%),
    radial-gradient(ellipse at 12% 100%, oklch(73% 0.155 58 / 0.14) 0%, transparent 48%),
    radial-gradient(ellipse at 50% 50%, transparent 38%, var(--bg-deep) 100%);
}

#hub {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 760px;
  text-align: center;
}

header {
  margin-bottom: 44px;
}

.eyebrow {
  display: block;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

h1 {
  margin: 10px 0 12px;
  font: 800 clamp(34px, 9vw, 52px)/1.1 var(--font);
  color: var(--ink);
  letter-spacing: -0.5px;
}

.subtitle {
  margin: 0 auto;
  max-width: 460px;
  color: var(--ink-mid);
  font-size: 16px;
}

.tiles {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.tile {
  --accent: var(--gold);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 280px;
  padding: 30px 24px 26px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background-color: var(--panel);
  background-image: var(--sheen);
  box-shadow:
    inset 0 1px 0 oklch(100% 0 0 / 0.08),
    0 12px 32px oklch(10% 0.02 40 / 0.4);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: border-color 0.25s ease, transform 0.22s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.25s ease;
}

/* A wash of the tile's own hue, revealed on hover. */
.tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, var(--accent) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.tile:hover {
  border-color: var(--line-hover);
  transform: translateY(-4px);
  box-shadow:
    inset 0 1px 0 oklch(100% 0 0 / 0.12),
    0 20px 44px oklch(10% 0.02 40 / 0.5),
    0 0 40px color-mix(in oklch, var(--accent) 30%, transparent);
}

.tile:hover::before { opacity: 0.16; }

.tile:active,
.tile.is-activating { transform: translateY(-1px) scale(0.985); }

.tile:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.tile > * { position: relative; z-index: 1; }

.tileArt {
  font-size: 40px;
  line-height: 1;
  margin-bottom: 14px;
  filter: drop-shadow(0 4px 10px color-mix(in oklch, var(--accent) 40%, transparent));
}

.tileName {
  font: 700 22px/1.3 var(--font);
  color: var(--ink);
  letter-spacing: -0.2px;
}

.tileDesc {
  margin-top: 10px;
  color: var(--ink-mid);
  font-size: 14px;
  line-height: 1.55;
}

.tilePlay {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1px;
}

.kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 19px;
  height: 19px;
  padding: 0 4px;
  border-radius: 5px;
  border: 1px solid oklch(100% 0 0 / 0.3);
  background: oklch(0% 0 0 / 0.32);
  color: oklch(97% 0.01 90);
  font: 700 11px/1 var(--font);
}

@media (hover: none) {
  .kbd { display: none; }
}

.more {
  margin-top: 40px;
  color: var(--ink-dim);
  font-size: 14px;
  font-style: italic;
}

/* Narrow phones: tighten the vertical rhythm so the tiles are reachable without
   a scroll, and let a single tile use the full width. */
@media (max-width: 420px) {
  body { padding: 40px 16px 32px; }
  header { margin-bottom: 32px; }
  .subtitle { font-size: 15px; }
  .tile { width: 100%; max-width: 340px; }
}

@media (prefers-reduced-motion: reduce) {
  .tile, .tile::before { transition: none; }
}
