:root {
  --bg: #FAFAF8;
  --ink: #1B1B18;
  --muted: #6E6D66;
  --line: #E4E2DA;
  --accent: #2B4C5C;
  --accent-tint: #E9EFF1;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius: 6px;
  --max: 760px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

header.hero {
  padding: 96px 0 64px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 48px;
  justify-content: space-between;
}

.hero-photo {
  flex: none;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--accent-tint);
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 18px;
}

h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 4.5vw, 40px);
  line-height: 1.2;
  margin: 0 0 20px;
  max-width: 20ch;
}

.lede {
  font-size: 17px;
  color: var(--muted);
  max-width: 48ch;
  margin: 0;
}

.back-home {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--accent);
  text-decoration: none;
  margin-top: 24px;
}

.back-home:hover { text-decoration: underline; }

section.group {
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
}

section.group:last-of-type {
  border-bottom: none;
}

h2.label {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 28px;
  font-weight: 500;
}

/* Explore: list of destinations */
.destinations {
  display: flex;
  flex-direction: column;
}

.destination {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
  transition: opacity 0.15s ease;
}

.destination:first-child { border-top: none; }

.destination:hover .destination-name { color: var(--accent); }

.destination-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 20px;
  transition: color 0.15s ease;
}

.destination-desc {
  color: var(--muted);
  font-size: 14px;
  flex: 1;
  max-width: 34ch;
}

.destination-go {
  color: var(--muted);
  font-size: 14px;
  white-space: nowrap;
}

/* Play: game cards with real thumbnails */
.games {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.game {
  text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.game:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.game-thumb {
  aspect-ratio: 16 / 10;
  width: 100%;
  display: block;
  object-fit: cover;
  background: var(--accent-tint);
}

.game-info {
  padding: 14px 16px 18px;
}

.game-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  margin: 0 0 4px;
}

.game-tag {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

footer {
  padding: 40px 0 64px;
}

footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 13px;
  color: var(--muted);
}

footer a { text-decoration: none; }
footer a:hover { color: var(--accent); }

@media (max-width: 560px) {
  header.hero {
    padding: 64px 0 40px;
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 24px;
  }
  .hero-photo { width: 96px; height: 96px; }
  .destination { flex-direction: column; gap: 4px; }
  .destination-desc { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
