/* ============================================================================
   Hidden Mickeys at Disney World — the "spot the Mickey" hunt + the SEO body.
   Built on the site's Nightfall tokens (--paper, --ink, --gold, --rule).
   The hero is a WebGL find-it game (hidden-mickeys.js) that lazy-loads into the
   canvas as pure enhancement; the field-guide cards and every location below are
   server-rendered, so the page teaches everything with no JS and no WebGL.
   Namespaced hm- so it never collides with other guides.
   ========================================================================== */

:root {
  --hm-gold:      var(--gold);
  --hm-gold-soft: oklch(84% 0.13 86 / 0.16);
  --hm-find:      oklch(80% 0.16 150);          /* "found him" glow */
}

.hm { max-width: 1080px; margin: 0 auto; padding: 0 var(--space-md); }

/* ── Hero ─────────────────────────────────────────────────────────────── */
.hm-hero { max-width: 900px; margin: 0 auto; text-align: center; padding-top: var(--space-xl); }
.hm-kicker { font-family: var(--label); font-size: 13px; letter-spacing: 0.04em; color: var(--gold); margin-bottom: var(--space-md); }
.hm-title {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(34px, 6vw, 62px); line-height: 1.02; letter-spacing: -0.02em;
  color: var(--ink); margin: 0 0 var(--space-md); text-wrap: balance;
}
.hm-standfirst { font-size: clamp(17px, 2.2vw, 20px); line-height: 1.5; color: var(--ink-soft); max-width: 60ch; margin: 0 auto var(--space-xl); text-wrap: pretty; }

/* ── The hunt ─────────────────────────────────────────────────────────── */
.hm-hunt {
  background: linear-gradient(180deg, var(--paper-2), color-mix(in oklab, var(--paper-2) 60%, var(--paper)));
  border: 1px solid var(--rule); border-radius: 22px; padding: var(--space-lg);
  margin-bottom: var(--space-2xl); box-shadow: 0 30px 80px -40px oklch(0% 0 0 / 0.7);
}
.hm-hunt-stage {
  position: relative; border-radius: 16px; overflow: hidden;
  aspect-ratio: 16 / 9; min-height: 260px; border: 1px solid var(--hair);
  background: radial-gradient(120% 100% at 50% 0%, oklch(34% 0.07 285 / 0.9), oklch(15% 0.03 277));
  cursor: crosshair;
}
.hm-hunt-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hm-hunt-hud {
  position: absolute; top: 0; left: 0; right: 0; display: flex; justify-content: space-between;
  padding: 12px 16px; font-family: var(--label); font-size: 13px; letter-spacing: 0.02em; z-index: 2;
  background: linear-gradient(180deg, oklch(12% 0.03 277 / 0.85), transparent);
}
.hm-hunt-scene { color: var(--ink-soft); }
.hm-hunt-score { color: var(--gold); font-weight: 700; }
.hm-hunt-readout {
  position: absolute; left: 0; right: 0; bottom: 0; min-height: 56px;
  display: flex; align-items: center; justify-content: center; padding: 12px 18px; text-align: center;
  font-family: var(--label); font-size: clamp(14px, 2vw, 17px); color: var(--ink-soft); z-index: 2;
  background: linear-gradient(0deg, oklch(12% 0.03 277 / 0.92), transparent);
}
.hm-hunt-readout .hm-hunt-prompt { color: var(--muted); }
.hm-hunt-readout.is-found { color: var(--hm-find); font-weight: 600; }
.hm-hunt-readout b { color: var(--gold); }
.hm-hunt-controls { display: flex; gap: 10px; justify-content: center; margin-top: var(--space-md); }
.hm-btn {
  font-family: var(--label); font-size: 14px; font-weight: 600; cursor: pointer;
  padding: 9px 18px; border-radius: 999px; border: 1px solid var(--gold);
  background: var(--hm-gold-soft); color: var(--gold);
  transition: transform .12s ease, background .12s ease;
}
.hm-btn:hover { transform: translateY(-1px); background: oklch(84% 0.13 86 / 0.26); }
.hm-btn-ghost { background: transparent; border-color: var(--rule); color: var(--ink-soft); }
.hm-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ── Body prose ───────────────────────────────────────────────────────── */
.hm-body { max-width: 720px; margin: 0 auto; }
.hm-body p { font-size: 18px; line-height: 1.66; color: var(--ink-soft); margin: 0 0 var(--space-lg); }
.hm-lede { font-size: 21px !important; line-height: 1.55 !important; color: var(--ink) !important; }
.hm-lede::first-letter { font-family: var(--display); font-weight: 800; float: left; font-size: 3.1em; line-height: 0.78; padding: 6px 10px 0 0; color: var(--gold); }
.hm-body h2 { font-family: var(--display); font-weight: 800; font-size: clamp(24px, 3.4vw, 32px); color: var(--ink); letter-spacing: -0.01em; line-height: 1.12; margin: var(--space-2xl) 0 var(--space-md); text-wrap: balance; }
.hm-body strong { color: var(--ink); font-weight: 700; }
.hm-close { font-size: 19px !important; color: var(--ink) !important; border-top: 1px solid var(--hair); padding-top: var(--space-xl); }

/* ── Field-guide find cards ───────────────────────────────────────────── */
.hm-finds { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-md); margin: var(--space-lg) 0 var(--space-xl); }
.hm-find { background: var(--paper-2); border: 1px solid var(--rule); border-radius: 16px; padding: var(--space-lg); border-left: 3px solid var(--gold); }
.hm-find--pro { border-left-color: var(--red); }
.hm-find--medium { border-left-color: var(--gold-deep); }
.hm-find-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.hm-find-park { font-family: var(--label); font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.hm-find-level { font-family: var(--label); font-size: 12px; font-weight: 700; color: var(--gold); }
.hm-find--pro .hm-find-level { color: var(--red); }
.hm-find-ride { font-family: var(--display); font-weight: 800; font-size: 19px; color: var(--ink); margin: 0 0 8px; line-height: 1.15; }
.hm-find-where { font-size: 16px; line-height: 1.5; color: var(--ink-soft); margin: 0 0 10px; }
.hm-find-forms { font-size: 15px; line-height: 1.5; color: var(--muted); margin: 0; }
.hm-find-forms strong { color: var(--ink-soft); }

/* ── FAQ ──────────────────────────────────────────────────────────────── */
.hm-faq { display: grid; gap: 8px; margin-bottom: var(--space-xl); }
.hm-faq-item { border: 1px solid var(--hair); border-radius: 12px; background: var(--paper-2); overflow: hidden; }
.hm-faq-item summary { cursor: pointer; list-style: none; padding: 16px 18px; font-family: var(--label); font-weight: 600; font-size: 17px; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.hm-faq-item summary::-webkit-details-marker { display: none; }
.hm-faq-item summary::after { content: "+"; color: var(--gold); font-size: 22px; line-height: 1; transition: transform .2s ease; }
.hm-faq-item[open] summary::after { transform: rotate(45deg); }
.hm-faq-item p { margin: 0; padding: 0 18px 18px; font-size: 16px; line-height: 1.6; color: var(--ink-soft); }

/* ── Related ──────────────────────────────────────────────────────────── */
.hm-related { border-top: 1px solid var(--hair); margin-top: var(--space-2xl); padding-top: var(--space-lg); }
.hm-related h2 { font-family: var(--display); font-size: 20px; color: var(--ink); margin: 0 0 var(--space-sm); }
.hm-related ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.hm-related a { color: var(--blue); font-size: 17px; text-decoration: none; }
.hm-related a:hover { text-decoration: underline; }

@media (max-width: 680px) {
  .hm-finds { grid-template-columns: 1fr; }
  .hm-hunt-stage { aspect-ratio: 4 / 3; }
}
@media (prefers-reduced-motion: reduce) {
  .hm-btn { transition: none; }
}
