/* Laney's Typing Adventure marketing site
   Palette drawn from the game: candy pastels, mint hills, gold frames. */

:root {
  --ink: #2a2454;
  --ink-soft: #4e4878;
  --cream: #fffdf7;
  --cream-2: #fff6e4;
  --paper: #fffaf0;
  --gold: #f5c542;
  --gold-deep: #e0a51a;
  --gold-shadow: #c98412;
  --mint: #7ed9a8;
  --mint-deep: #4fb87a;
  --hill: #62c98a;
  --hill-2: #8ee0b0;
  --sky-top: #c9b6f4;
  --sky-mid: #f4b8d4;
  --sky-bot: #ffe8a8;
  --pink: #f08ab8;
  --pink-deep: #e05690;
  --blue: #6eb8e8;
  --blue-deep: #3a92c8;
  --green: #6ed08a;
  --green-deep: #3aaa62;
  --lavender: #b49ae8;
  --coral: #f07858;
  --white: #ffffff;
  --stroke: rgba(42, 36, 84, 0.12);
  --shadow: 0 16px 40px rgba(42, 36, 84, 0.14);
  --font-display: "Baloo 2", "Nunito", system-ui, sans-serif;
  --font-body: "Nunito", "Trebuchet MS", system-ui, sans-serif;
  --radius: 1.5rem;
  --radius-sm: 0.9rem;
  --max: 72rem;
  --nav-h: 4.4rem;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 0.75rem);
}

html:focus-within { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(1.05rem, 0.98rem + 0.35vw, 1.175rem);
  line-height: 1.55;
  background: var(--cream);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

:focus-visible {
  outline: 3px solid var(--gold-deep);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  z-index: 100;
  background: var(--ink);
  color: var(--cream);
  padding: 0.6rem 1rem;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
}
.skip:focus { top: 0.75rem; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

.wrap {
  width: min(100% - 1.75rem, var(--max));
  margin-inline: auto;
}

/* ---------- Letter tiles ---------- */
.tile {
  display: inline-grid;
  place-items: center;
  width: 1.15em;
  height: 1.15em;
  border-radius: 50%;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1;
  box-shadow:
    inset 0 -0.12em 0 rgba(42, 36, 84, 0.18),
    inset 0 0.1em 0 rgba(255, 255, 255, 0.28),
    0 0.12em 0 rgba(42, 36, 84, 0.12);
  text-shadow: 0 1px 0 rgba(42, 36, 84, 0.15);
  user-select: none;
}
.tile-gold  { background: radial-gradient(circle at 35% 30%, #ffe066, #e8a51a 70%); }
.tile-blue  { background: radial-gradient(circle at 35% 30%, #9ad4f5, #3a92c8 70%); }
.tile-pink  { background: radial-gradient(circle at 35% 30%, #f7b3d0, #e05690 70%); }
.tile-green { background: radial-gradient(circle at 35% 30%, #a8efc0, #3aaa62 70%); }
.tile-lav   { background: radial-gradient(circle at 35% 30%, #d4c2ff, #7b62d0 70%); }

.tiles {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.16em;
  justify-content: flex-start;
  font-size: clamp(1.45rem, 4.2vw, 2.65rem);
  font-size: clamp(1.45rem, 8.2cqi, 2.65rem);
}
.tile { flex: 0 0 auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 4px solid #fff;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(2px); }

.btn-play {
  color: var(--ink);
  background: linear-gradient(#ffe66a, var(--gold));
  box-shadow:
    0 6px 0 var(--gold-shadow),
    0 12px 24px rgba(201, 132, 18, 0.35);
}
.btn-play:hover { filter: brightness(1.04); }
.btn-play:active { box-shadow: 0 2px 0 var(--gold-shadow), 0 6px 12px rgba(201, 132, 18, 0.3); }

.btn-ghost {
  color: var(--ink);
  background: rgba(255, 253, 247, 0.86);
  box-shadow: 0 5px 0 rgba(42, 36, 84, 0.12);
}
.btn-ghost:active { box-shadow: 0 2px 0 rgba(42, 36, 84, 0.12); }

.btn-sm { padding: 0.45rem 0.95rem; font-size: 1rem; border-width: 3px; }

.play-icon {
  width: 1.15em; height: 1.15em;
  background: var(--ink);
  color: var(--gold);
  border-radius: 50%;
  display: grid; place-items: center;
  flex: 0 0 auto;
}
.play-icon svg { width: 0.55em; height: 0.55em; margin-left: 0.08em; }

/* ---------- Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(255, 253, 247, 0.78);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 3px solid rgba(245, 197, 66, 0.55);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: min(100% - 1.25rem, var(--max));
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--ink);
  margin-right: auto;
}
.brand-mark {
  width: 2.15rem; height: 2.15rem;
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
  font-size: 1.15rem;
  background: radial-gradient(circle at 35% 30%, #ffe066, #e8a51a 70%);
  box-shadow: inset 0 -3px 0 rgba(42,36,84,0.15), 0 3px 0 rgba(201,132,18,0.45);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-weight: 800;
  font-size: 0.95rem;
}
.nav-links a {
  text-decoration: none;
  color: var(--ink-soft);
}
.nav-links a:hover { color: var(--ink); }
.nav-toggle {
  display: none;
  border: 3px solid #fff;
  background: var(--gold);
  border-radius: 0.7rem;
  padding: 0.35rem 0.55rem;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--ink);
  box-shadow: 0 3px 0 var(--gold-shadow);
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  padding: 2.2rem 0 0;
  background:
    radial-gradient(circle at 88% 12%, #ffe066 0 5.5rem, transparent 5.6rem),
    linear-gradient(180deg, var(--sky-top) 0%, var(--sky-mid) 42%, var(--sky-bot) 78%, #c8f0d4 100%);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, #fff 1.1px, transparent 1.2px),
    radial-gradient(circle, rgba(255,255,255,0.7) 1px, transparent 1.2px);
  background-size: 92px 92px, 130px 130px;
  background-position: 12px 18px, 60px 70px;
  opacity: 0.85;
  pointer-events: none;
  z-index: -1;
}

.cloud {
  position: absolute;
  background: rgba(255,255,255,0.78);
  border-radius: 999px;
  filter: blur(0.2px);
  pointer-events: none;
  z-index: -1;
  animation: drift 28s linear infinite;
}
.cloud::before, .cloud::after {
  content: "";
  position: absolute;
  background: inherit;
  border-radius: 50%;
}
.cloud-a { width: 120px; height: 38px; top: 12%; left: 6%; }
.cloud-a::before { width: 52px; height: 52px; top: -28px; left: 18px; }
.cloud-a::after  { width: 70px; height: 44px; top: -18px; left: 48px; }
.cloud-b { width: 90px; height: 30px; top: 22%; right: 8%; animation-duration: 36s; animation-delay: -8s; }
.cloud-b::before { width: 40px; height: 40px; top: -22px; left: 14px; }
.cloud-b::after  { width: 50px; height: 34px; top: -14px; left: 36px; }
.cloud-c { width: 70px; height: 24px; top: 8%; left: 46%; animation-duration: 40s; animation-delay: -18s; opacity: 0.7; }
.cloud-c::before { width: 32px; height: 32px; top: -16px; left: 10px; }
.cloud-c::after  { width: 40px; height: 26px; top: -10px; left: 28px; }

@keyframes drift {
  from { transform: translateX(0); }
  50%  { transform: translateX(18px); }
  to   { transform: translateX(0); }
}


.hero-copy { container-type: inline-size; }
.hero-copy h1 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.32em;
  margin: 0;
}
.hero-copy .logo-pill { margin-bottom: 0.15rem; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.4rem;
  align-items: center;
  padding-bottom: 1.5rem;
}

.logo-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.05em;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 1.4rem + 2.2vw, 3.1rem);
  line-height: 1;
  padding: 0.22em 0.7em 0.28em;
  border-radius: 999px;
  border: 5px solid #fff;
  box-shadow: 0 6px 0 rgba(201, 132, 18, 0.45);
  margin-bottom: 0.85rem;
}
.cursor {
  display: inline-block;
  width: 0.12em;
  height: 0.82em;
  background: var(--ink);
  margin-left: 0.08em;
  border-radius: 1px;
  animation: blink 1.05s steps(1) infinite;
  transform: translateY(0.04em);
}
@keyframes blink { 50% { opacity: 0; } }

.tagline {
  margin: 0.85rem 0 1.15rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.85rem);
  font-weight: 700;
  color: #3d4a8c;
  letter-spacing: -0.01em;
}
.lede {
  margin: 0 0 1.35rem;
  max-width: 36rem;
  color: var(--ink-soft);
  font-size: 1.08rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 1rem;
}
.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.chip {
  background: rgba(255,253,247,0.8);
  border: 2px solid rgba(255,255,255,0.9);
  border-radius: 999px;
  padding: 0.22rem 0.7rem;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--ink-soft);
}

.frame {
  background: var(--paper);
  border: 5px solid var(--gold);
  border-radius: 1.6rem;
  box-shadow:
    0 10px 0 var(--gold-deep),
    0 22px 40px rgba(42, 36, 84, 0.16);
  overflow: hidden;
  transform: rotate(-1.4deg);
}
.frame img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.frame-caption {
  margin: 0;
  padding: 0.55rem 0.9rem 0.7rem;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--ink-soft);
  background: var(--cream-2);
  text-align: center;
}

.hero-hills { display: block; width: 100%; height: 110px; margin-bottom: -1px; }
.road {
  height: 16px;
  background: #2a2454;
  position: relative;
}
.road::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 3px;
  transform: translateY(-50%);
  background: repeating-linear-gradient(90deg, var(--gold) 0 22px, transparent 22px 40px);
}

/* ---------- Proof bar ---------- */
.proof {
  background: var(--ink);
  color: #efe8ff;
  padding: 0.85rem 0;
}
.proof ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 1.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-weight: 800;
  font-size: 0.95rem;
}
.proof li { display: flex; align-items: center; gap: 0.4rem; }
.proof .dot {
  width: 0.55rem; height: 0.55rem; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(245,197,66,0.25);
}

/* ---------- Sections ---------- */
.section { padding: 4.2rem 0; }
.section-cream { background: var(--cream); }
.section-mint {
  background:
    radial-gradient(circle at 10% 20%, rgba(255,255,255,0.55), transparent 28%),
    linear-gradient(180deg, #d8f8e6, #c3f0d6);
}
.section-sky {
  background: linear-gradient(180deg, #efe6ff, #fde3f0 55%, #fff3d0);
}
.section-ink {
  background: linear-gradient(180deg, #3a3270, #2a2454);
  color: #f7f1ff;
}

.kicker {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #3d4a8c;
  background: rgba(255,255,255,0.7);
  border-radius: 999px;
  padding: 0.2rem 0.75rem;
  margin-bottom: 0.55rem;
}
.section-ink .kicker {
  background: rgba(255,255,255,0.12);
  color: var(--gold);
}
.headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.85rem, 1.3rem + 2vw, 2.85rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 0.7rem;
}
.subhead {
  margin: 0 0 2rem;
  max-width: 38rem;
  color: var(--ink-soft);
  font-size: 1.08rem;
}
.section-ink .subhead { color: #d9d0f4; }

/* ---------- Story ---------- */
.story-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.4rem;
  align-items: center;
}
.story-card {
  background: var(--paper);
  border: 4px solid #fff;
  border-radius: var(--radius);
  padding: 1.6rem 1.7rem 1.7rem;
  box-shadow: var(--shadow);
}
.story-card p { margin: 0 0 1rem; }
.story-card p:last-child { margin-bottom: 0; }
.story-frame { transform: rotate(1.6deg); }

/* ---------- How it plays ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.step {
  background: var(--paper);
  border: 4px solid #fff;
  border-radius: var(--radius);
  padding: 1.2rem 1.15rem 1.3rem;
  box-shadow: 0 10px 24px rgba(42,36,84,0.08);
  min-height: 100%;
}
.step h3 {
  font-family: var(--font-display);
  font-size: 1.28rem;
  margin: 0.55rem 0 0.4rem;
  line-height: 1.15;
}
.step p { margin: 0; color: var(--ink-soft); font-size: 0.98rem; }
.hud-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.6rem;
}
.hud-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #fff;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-weight: 800;
  font-size: 0.88rem;
  border: 2px solid rgba(42,36,84,0.08);
}

.diff {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin-top: 1.8rem;
}
.diff-card {
  text-align: center;
  background: #fff;
  border-radius: var(--radius);
  padding: 1.1rem 0.9rem 1.2rem;
  border: 4px solid #fff;
  box-shadow: 0 8px 0 rgba(42,36,84,0.08);
}
.diff-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 0.2rem;
}
.diff-card p { margin: 0; color: var(--ink-soft); font-size: 0.92rem; }
.diff-new { box-shadow: 0 8px 0 var(--green-deep); }
.diff-ready { box-shadow: 0 8px 0 var(--blue-deep); }
.diff-expert { box-shadow: 0 8px 0 var(--pink-deep); }

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  grid-template-rows: auto auto;
  gap: 0.9rem;
}
.shot {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 8px 0 rgba(42,36,84,0.1), 0 16px 28px rgba(42,36,84,0.1);
  border: 4px solid #fff;
  text-align: left;
  color: inherit;
  display: flex;
  flex-direction: column;
  width: 100%;
  font: inherit;
}
.shot:hover { transform: translateY(-3px); }
.shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.shot figcaption {
  padding: 0.55rem 0.8rem 0.7rem;
  font-size: 0.88rem;
  font-weight: 800;
  background: var(--paper);
}
.shot-lg { grid-row: 1 / span 2; }
.shot-lg img { aspect-ratio: auto; height: 100%; object-fit: cover; }

/* lightbox */
.lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(1100px, 96vw);
}
.lightbox::backdrop { background: rgba(42, 36, 84, 0.72); }
.lightbox-inner {
  background: var(--paper);
  border: 5px solid var(--gold);
  border-radius: 1.4rem;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}
.lightbox img { width: 100%; max-height: 78vh; object-fit: contain; background: #1e1a38; }
.lightbox-bar {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.7rem 0.9rem;
}
.lightbox-bar p { margin: 0; font-weight: 800; flex: 1; }
.lb-btn {
  border: 0;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 800;
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  cursor: pointer;
}

/* ---------- Worlds ---------- */
.worlds {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
}
.world {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.15rem 1rem 1.2rem;
  border: 4px solid #fff;
  box-shadow: 0 10px 22px rgba(42,36,84,0.08);
  min-height: 100%;
}
.world-num {
  display: inline-grid;
  place-items: center;
  width: 2.2rem; height: 2.2rem;
  border-radius: 50%;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  margin-bottom: 0.55rem;
  box-shadow: inset 0 -3px 0 rgba(42,36,84,0.16);
}
.world h3 {
  font-family: var(--font-display);
  font-size: 1.18rem;
  margin: 0 0 0.3rem;
  line-height: 1.15;
}
.world p { margin: 0; color: var(--ink-soft); font-size: 0.92rem; }
.world-icon { font-size: 1.45rem; display: block; margin-bottom: 0.25rem; }

.w1 .world-num { background: var(--green-deep); }
.w2 .world-num { background: #7b62d0; }
.w3 .world-num { background: var(--blue-deep); }
.w4 .world-num { background: var(--gold-shadow); }
.w5 .world-num { background: var(--coral); }
.w6 .world-num { background: #5c4ea8; }
.w7 .world-num { background: var(--pink-deep); }
.w8 .world-num { background: #d4a017; }

.map-frame { margin-top: 1.6rem; transform: none; }

/* ---------- Coming soon ---------- */
.stores {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  max-width: 40rem;
}
.store {
  background: rgba(255,255,255,0.08);
  border: 3px dashed rgba(245,197,66,0.55);
  border-radius: var(--radius);
  padding: 1.2rem 1.2rem 1.3rem;
}
.store strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
}
.soon-pill {
  display: inline-block;
  margin-top: 0.45rem;
  background: var(--gold);
  color: var(--ink);
  font-weight: 800;
  font-size: 0.82rem;
  border-radius: 999px;
  padding: 0.18rem 0.65rem;
}
.final-cta { margin-top: 1.8rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: #1e1a38;
  color: #d9d0f4;
  padding: 2.2rem 0 1.6rem;
  font-size: 0.95rem;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  align-items: flex-start;
}
.site-footer a { color: #fff; font-weight: 800; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.tiny { color: #9d94c4; margin: 0.35rem 0 0; font-size: 0.88rem; }

/* ---------- 404 ---------- */
.page-404 {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
  background: linear-gradient(180deg, var(--sky-top), var(--sky-mid) 50%, var(--sky-bot));
  text-align: center;
}
.page-404 .box {
  background: var(--paper);
  border: 5px solid var(--gold);
  border-radius: 1.6rem;
  padding: 2rem 1.6rem;
  max-width: 32rem;
  box-shadow: 0 10px 0 var(--gold-deep);
}

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cloud, .cursor { animation: none; }
  .btn, .shot { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .story-grid { grid-template-columns: 1fr; }
  .frame, .story-frame { transform: none; }
  .steps { grid-template-columns: 1fr 1fr; }
  .worlds { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .shot-lg { grid-row: auto; }
  .shot-lg img { aspect-ratio: 16 / 10; height: auto; }
  .nav-links a.nav-cta { display: none; }
}

@media (max-width: 720px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--cream);
    border-bottom: 3px solid var(--gold);
    flex-direction: column;
    padding: 0.8rem 1.1rem 1rem;
    gap: 0.55rem;
    box-shadow: var(--shadow);
  }
  .nav-links.is-open { display: flex; }
  .nav-links a.nav-cta { display: inline-flex; width: fit-content; }
  .diff { grid-template-columns: 1fr; }
  .stores { grid-template-columns: 1fr; }
  .hero { padding-top: 1.4rem; }
  .section { padding: 3.1rem 0; }
}

@media (max-width: 560px) {
  .steps, .worlds, .gallery { grid-template-columns: 1fr; }
  .logo-pill { font-size: 1.7rem; border-width: 4px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
}

/* floating hero tiles */
.float-tile {
  position: absolute;
  font-size: 1.55rem;
  opacity: 0.88;
  z-index: 0;
  animation: bob 5.5s ease-in-out infinite;
  pointer-events: none;
}
.ft-a { top: 14%; right: 42%; left: auto; transform: rotate(-12deg); animation-delay: -1s; }
.ft-b { top: 62%; right: 48%; left: auto; font-size: 1.2rem; animation-delay: -2.2s; }
.ft-c { top: 7%; right: 22%; left: auto; font-size: 1.05rem; transform: rotate(14deg); animation-delay: -3s; }
.ft-d { top: 34%; right: 3%; left: auto; font-size: 1.35rem; transform: rotate(8deg); animation-delay: -0.6s; }
@keyframes bob {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}
@media (max-width: 720px) {
  .float-tile { display: none; }
}

.step, .world, .diff-card {
  transition: transform 0.15s ease;
}
.step:hover, .world:hover {
  transform: translateY(-4px);
}

.gallery {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto;
}
.shot {
  display: flex;
  flex-direction: column;
}
.shot button {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  width: 100%;
  color: inherit;
}
.shot button img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.shot-lg { grid-row: auto; }
.shot-lg img { aspect-ratio: 16 / 10; height: auto; }

.world {
  border-top: 8px solid var(--gold);
}
.w1 { border-top-color: var(--green-deep); }
.w2 { border-top-color: #7b62d0; }
.w3 { border-top-color: var(--blue-deep); }
.w4 { border-top-color: var(--gold-shadow); }
.w5 { border-top-color: var(--coral); }
.w6 { border-top-color: #5c4ea8; }
.w7 { border-top-color: var(--pink-deep); }
.w8 { border-top-color: #d4a017; }

@media (prefers-reduced-motion: reduce) {
  .float-tile, .step, .world { animation: none; transition: none; }
}
