@charset "UTF-8";

:root {
  color-scheme: light;
  --plum: #210b27;
  --ink: #27132b;
  --cream: #fff5df;
  --paper: #fff9ee;
  --lime: #cef453;
  --coral: #ff836e;
  --amber: #ffd37e;
  --type: "Bricolage Grotesque", "Segoe UI", sans-serif;
  font-family: var(--type);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--plum); color: var(--cream); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; }
[hidden] { display: none !important; }

.site-width {
  width: min(1240px, calc(100% - 96px));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 2;
  border-bottom: 1px solid #fff5df30;
}

.header-inner, .footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header-inner { min-height: 77px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.06rem;
  letter-spacing: -.035em;
}

.brand img {
  width: 36px;
  border-radius: 9px;
}

.nav-link, .site-footer a {
  font-size: .9rem;
  font-weight: 700;
  text-underline-offset: 5px;
}

.nav-link span, .site-footer a span { margin-inline-start: 5px; }
.nav-link:hover, .site-footer a:hover { color: var(--lime); }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 5px; }

.hero {
  overflow: hidden;
  background:
    radial-gradient(ellipse at 74% 41%, #4a183d 0%, transparent 53%),
    var(--plum);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.16fr);
  align-items: center;
  gap: clamp(30px, 5vw, 84px);
  min-height: 665px;
  padding-block: 44px 55px;
}

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

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 22px;
  padding: 8px 12px;
  border: 1px solid #fff5df55;
  border-radius: 200px;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.status-pill span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
}

.hero h1 { margin: 0 0 18px; }
.hero h1 img {
  width: min(116%, 575px);
  max-width: none;
  margin-inline-start: -8%;
}

.hero-line {
  margin: 0;
  max-width: 19ch;
  font-size: clamp(1.8rem, 3.15vw, 2.8rem);
  font-weight: 900;
  line-height: 1.07;
  letter-spacing: -.055em;
}

.hero-line em, .play-header h2 em { color: var(--lime); font-style: normal; }

.hero-description {
  max-width: 36ch;
  margin: 15px 0 27px;
  color: #f4e3ef;
  font-size: clamp(1rem, 1.34vw, 1.14rem);
  line-height: 1.54;
}

.music {
  display: flex;
  align-items: center;
  gap: 12px 19px;
  flex-wrap: wrap;
}

.music-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 51px;
  padding: 10px 16px;
  border: 2px solid var(--ink);
  border-radius: 10px;
  background: var(--lime);
  box-shadow: 3px 4px 0 var(--coral);
  color: var(--ink);
  font-size: .96rem;
  font-weight: 900;
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
}

.music-button:hover { transform: translateY(-2px); box-shadow: 3px 6px 0 var(--coral); }
.music-button:active { transform: translate(2px, 3px); box-shadow: 1px 1px 0 var(--coral); }

.play-symbol {
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 10px solid currentColor;
}

.pause-symbol {
  display: none;
  width: 10px;
  height: 12px;
  border-inline: 3px solid currentColor;
}

.music[data-active] .play-symbol { display: none; }
.music[data-active] .pause-symbol { display: block; }
.music[data-active] .music-button { background: var(--cream); }

.track { margin: 0; }
.track strong, .track span { display: block; }
.track strong { font-size: .91rem; }
.track span { margin-top: 3px; color: #e4cade; font-size: .78rem; }
.music-status { width: 100%; margin: 0; color: #ffd9cf; font-size: .86rem; }
.music-status:empty { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.music-fallback audio { max-width: 100%; }

.hero-art {
  position: relative;
  isolation: isolate;
  min-width: 0;
  aspect-ratio: 1.02;
  align-self: center;
}

.mascot-stage {
  position: absolute;
  inset: 5% 3% 3%;
  z-index: -2;
  overflow: hidden;
  border: 2px solid #ff9b8a;
  border-radius: 48% 48% 17% 17% / 50% 50% 14% 14%;
  background:
    radial-gradient(ellipse at 48% 43%, #ffc296 1%, #f78f81 47%, #d85669 83%);
  box-shadow: 9px 10px 0 #160a1d;
  transform: rotate(-4deg);
}

.hero-mascot {
  position: absolute;
  z-index: 1;
  inset: -1% auto auto 3%;
  width: 94%;
  height: auto;
  max-width: none;
  filter: drop-shadow(0 18px 13px #37132452);
  transform: rotate(-4deg);
}

.hunt-sticker {
  position: absolute;
  top: 6%;
  right: -2%;
  z-index: 2;
  margin: 0;
  padding: .62em .8em .65em;
  transform: rotate(10deg);
  border: 2px solid var(--ink);
  border-radius: 9px 12px 8px 12px;
  background: var(--lime);
  box-shadow: 4px 4px 0 var(--ink);
  color: var(--ink);
  font-size: clamp(.7rem, 1.45vw, 1.18rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -.04em;
  text-align: center;
  text-transform: uppercase;
}

.hunt-sticker strong { font-size: 1.27em; }

.stage-checker {
  position: absolute;
  inset: auto 6% 6% 5%;
  z-index: -1;
  height: 27%;
  border-radius: 0 0 32px 32px;
  background: repeating-conic-gradient(#58213a24 0% 25%, transparent 0% 50%) 0 / 58px 58px;
  mask-image: linear-gradient(transparent, #000 65%);
  transform: rotate(-4deg);
}

.play {
  padding: clamp(47px, 6vw, 78px) 0 clamp(52px, 6.5vw, 91px);
  border-top: 6px solid var(--lime);
  background: var(--cream);
  color: var(--ink);
}

.play-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px 32px;
  margin-bottom: 31px;
}

.play-header h2 {
  margin: 0;
  font-size: clamp(2.25rem, 5.3vw, 4.65rem);
  font-weight: 900;
  line-height: .98;
  letter-spacing: -.07em;
}

.play-header h2 em { color: #9b3252; }
.play-header p { max-width: 28ch; margin: 0; color: #4b3450; line-height: 1.5; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step {
  padding: clamp(17px, 2.35vw, 30px);
  border: 2px solid var(--ink);
  border-radius: 13px 17px 12px 15px;
  box-shadow: 4px 4px 0 var(--ink);
}

.step-hide { background: #e7f6b4; }
.step-sniff { background: #ffd6ca; }
.step-find { background: #ffebba; }
.step h3 { margin: 0 0 8px; font-size: clamp(1.3rem, 2.1vw, 1.8rem); font-weight: 900; letter-spacing: -.06em; }
.step p { margin: 0; max-width: 30ch; line-height: 1.45; }

.site-footer { padding: 28px 0; }
.site-footer p { margin: 0; font-size: .88rem; line-height: 1.65; color: #e8d5e5; }
.site-footer strong { color: var(--cream); }
.site-footer a { flex-shrink: 0; }

@media (max-width: 940px) {
  .site-width { width: calc(100% - 64px); }
  .hero-inner { min-height: 0; }
}

@media (max-width: 700px) {
  .site-width { width: calc(100% - 40px); }
  .header-inner { min-height: 65px; }
  .hero-inner { grid-template-columns: 1fr; gap: 23px; padding-block: 34px 32px; }
  .hero h1 { margin-bottom: 11px; }
  .hero h1 img { width: min(112%, 480px); margin-inline-start: -7%; }
  .status-pill { margin-bottom: 16px; }
  .hero-description { margin-bottom: 21px; }
  .hero-art { width: min(89%, 390px); margin: 0 auto; }
  .hunt-sticker { font-size: clamp(.76rem, 3.15vw, 1rem); }
  .play-header { flex-direction: column; align-items: start; margin-bottom: 23px; }
  .steps { grid-template-columns: 1fr; gap: 13px; }
}

@media (max-width: 420px) {
  .brand { gap: 8px; font-size: .96rem; }
  .brand img { width: 32px; }
  .nav-link { font-size: .79rem; }
  .header-inner, .footer-inner { gap: 12px; }
  .footer-inner { flex-direction: column; align-items: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
