:root {
  --ink: #1a1230;
  --muted: #5c516e;
  --paper: #fff6ea;
  --card: #fffdf8;
  --line: #1a1230;
  --hot: #ff2e7e;
  --orange: #ff7a00;
  --teal: #00a89a;
  --blue: #3d5afe;
  --yellow: #ffe14a;
  --violet: #7a4dff;
  --shadow: 6px 6px 0 var(--ink);
  --font: "Outfit", "Avenir Next", sans-serif;
  --display: "Sora", "Outfit", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.55;
  background:
    radial-gradient(circle at 8% 12%, #ffe14a 0 9rem, transparent 9.2rem),
    radial-gradient(circle at 96% 0, #ff2e7e 0 8rem, transparent 8.2rem),
    radial-gradient(circle at 100% 40%, #3d5afe 0 7rem, transparent 7.2rem),
    linear-gradient(180deg, #fff6ea 0, #fff 28rem);
  min-height: 100vh;
}
img { max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; letter-spacing: -0.04em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); margin: 0.15em 0; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 0; }
p { margin: 0.4rem 0 0; }
a { color: inherit; }
.sr, .hp {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.wrap { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; }
.narrow { width: min(820px, calc(100% - 2rem)); }
.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--yellow);
  color: var(--ink);
  padding: 0.5rem 0.8rem;
  z-index: 20;
}
.skip-link:focus { top: 0.6rem; }

#site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 246, 234, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 3px solid var(--ink);
}
.bar {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.75rem 0;
}
.brand, .foot-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}
.brand-copy { display: flex; flex-direction: column; }
.brand-name, .foot-logo { font-family: var(--display); font-weight: 750; font-size: 1.35rem; }
.brand-small { font-size: 0.78rem; color: var(--muted); }
.finder { display: flex; flex: 1; min-width: 0; }
.finder input, .lookup input, .lookup select, .lookup textarea {
  width: 100%;
  border: 3px solid var(--ink);
  background: #fff;
  border-radius: 999px;
  padding: 0.7rem 1rem;
}
.lookup textarea, .lookup select { border-radius: 16px; }
.finder button, .lookup button, .nav-toggle, #shot-close {
  border: 3px solid var(--ink);
  background: var(--yellow);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.65rem 1rem;
  font-weight: 750;
  box-shadow: 3px 3px 0 var(--ink);
  cursor: pointer;
}
.finder button { margin-left: 0.45rem; }
.nav-toggle { display: none; }
.menu ul {
  display: flex;
  gap: 0.45rem;
  list-style: none;
  padding: 0 0 0.8rem;
  margin: 0;
  flex-wrap: wrap;
}
.nav-link {
  display: inline-block;
  text-decoration: none;
  font-weight: 750;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 2px solid transparent;
}
.nav-link.is-current, .nav-link:hover { background: var(--ink); color: #fff; }

.hero { padding: 1.4rem 0 0.4rem; }
.hero-grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 1.5rem; align-items: center; }
.kicker {
  display: inline-block;
  margin: 0;
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--teal);
  color: #fff;
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
}
.dek { font-size: 1.15rem; max-width: 42rem; }
.band-head { display: flex; gap: 0.7rem; align-items: end; justify-content: space-between; flex-wrap: wrap; }
.hero-actions { display: flex; gap: 0.7rem; flex-wrap: wrap; margin-top: 0.8rem; }
.hero-actions a, .band-head > a, .pkg-hero .btn, .hero-actions .btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 750;
  border: 3px solid var(--ink);
  border-radius: 999px;
  padding: 0.7rem 1rem;
  box-shadow: var(--shadow);
  background: var(--hot);
  color: #fff;
}
.hero-actions a:last-child, .pkg-hero .btn-ink { background: var(--ink); }
.band-head > a { background: var(--yellow); color: var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.hero-stats { display: flex; gap: 0.7rem; list-style: none; padding: 0; margin: 1rem 0 0; }
.hero-stats a {
  display: block;
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 18px;
  min-width: 6.2rem;
  padding: 0.55rem 0.7rem;
  box-shadow: 4px 4px 0 var(--blue);
  text-decoration: none;
}
.hero-stats a:hover { transform: translate(-2px, -2px); }
.hero-stats strong { display: block; font-family: var(--display); font-size: 1.5rem; }
.hero-stats span { color: var(--muted); font-size: 0.85rem; }
.hero-stage {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
  align-self: start;
}
.hero-stage a {
  display: grid;
  gap: 0.35rem;
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 22px;
  padding: 0.55rem;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: var(--ink);
  font-weight: 750;
  font-size: 0.82rem;
  line-height: 1.2;
}
.hero-stage a:nth-child(3n + 2) { background: #fff6cc; }
.hero-stage a:nth-child(3n) { background: #e7fff8; }
.hero-stage .icon { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 16px; display: block; }

.band { padding: 1.3rem 0 0.4rem; }
.band-paper { padding-top: 1.6rem; }
.band-head { margin-bottom: 0.9rem; }
.band-head p, .split-chips h3 { color: var(--muted); }
.split-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.45rem; list-style: none; padding: 0; margin: 0.4rem 0 1rem; }
.chips a {
  display: inline-block;
  text-decoration: none;
  font-weight: 750;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
}
.chips li:nth-child(4n + 1) a { background: var(--yellow); }
.chips li:nth-child(4n + 2) a { background: #d9fff8; }
.chips li:nth-child(4n + 3) a { background: #ffe0ef; }
.chips li:nth-child(4n) a { background: #e4e7ff; }

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.85rem; }
.card {
  background: var(--card);
  border: 3px solid var(--ink);
  border-radius: 22px;
  box-shadow: 5px 5px 0 var(--tone, var(--hot));
  min-height: 100%;
}
.card a {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 0.7rem;
  padding: 0.75rem;
  text-decoration: none;
  align-items: center;
  min-height: 100%;
  color: inherit;
}
.card-copy { min-width: 0; }
.card-icon .icon, .icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  object-fit: cover;
  background: #fff;
  border: 2px solid var(--ink);
}
.icon-fallback {
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 750;
  background: var(--yellow);
}
.card-title { display: block; font-weight: 750; overflow-wrap: anywhere; }
.card-meta, .fine, .store-note { display: block; color: var(--muted); font-size: 0.88rem; }
.kicker { margin-bottom: 0.25rem; }
.empty { padding: 1rem; background: #fff; border: 3px dashed var(--ink); border-radius: 16px; }

.pager { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 1rem 0 0.4rem; }
.page-link {
  display: inline-grid;
  place-items: center;
  min-width: 2.4rem;
  text-decoration: none;
  font-weight: 750;
  border: 2px solid var(--ink);
  border-radius: 12px;
  padding: 0.35rem 0.55rem;
  background: #fff;
}
.page-link.is-current { background: var(--ink); color: #fff; }

.crumbs { font-size: 0.92rem; color: var(--muted); margin-bottom: 0.6rem; }
.crumbs a { color: var(--ink); font-weight: 750; }
.pkg-hero { padding: 1.2rem 0 0.2rem; }
.pkg-top { display: grid; grid-template-columns: 120px 1fr; gap: 1rem; align-items: start; }
.pkg-icon, .pkg-top .icon { width: 120px; height: 120px; border-radius: 28px; }
.pkg-facts { display: flex; flex-wrap: wrap; gap: 0.45rem; list-style: none; padding: 0; margin: 0.8rem 0; }
.pkg-facts li {
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 14px;
  padding: 0.35rem 0.6rem;
}
.pkg-facts span { display: block; color: var(--muted); font-size: 0.75rem; }
.by a { font-weight: 750; }
.shots {
  display: flex;
  gap: 0.9rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.15rem 0.15rem 0.7rem;
}
.shot {
  flex: 0 0 168px;
  width: 168px;
  padding: 0;
  border: 3px solid var(--ink);
  border-radius: 28px;
  background: #1a1230;
  cursor: pointer;
  box-shadow: 4px 4px 0 var(--tone, var(--orange));
  overflow: hidden;
  scroll-snap-align: start;
}
.shot img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: contain;
  background: #1a1230;
}
.faq-item, .person, .callout, .versions li {
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 16px;
  padding: 0.7rem 0.9rem;
  margin: 0.55rem 0;
}
.faq-item summary { cursor: pointer; font-weight: 750; }
.prose h2 { margin-top: 1.3rem; }
.prose ul, .prose ol { padding-left: 1.2rem; }
.team { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; }
.spec-layout { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 1rem; }
.specs { display: grid; gap: 0.45rem; margin: 0.8rem 0 0; }
.specs div {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 0.5rem;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 12px;
  padding: 0.4rem 0.6rem;
}
.specs dt { color: var(--muted); }
.specs dd { margin: 0; font-weight: 750; }
.versions { list-style: none; padding: 0; }
.versions li { display: flex; justify-content: space-between; gap: 1rem; }
.lookup, .stack { display: grid; gap: 0.45rem; margin: 1rem 0; }
.captcha { min-height: 78px; }
.lookup button { justify-self: start; }
.callout { background: #d9fff8; }
.callout.warn { background: #ffe0ef; }
#shot-dialog {
  border: 3px solid var(--ink);
  border-radius: 28px;
  padding: 0.7rem;
  max-width: min(420px, 94vw);
  background: #1a1230;
}
#shot-dialog img { max-height: 78vh; width: auto; max-width: 100%; display: block; margin: 0.45rem auto 0; border-radius: 18px; }
#shot-dialog::backdrop { background: rgba(26, 18, 48, 0.72); }

#site-footer {
  margin-top: 2rem;
  background: var(--ink);
  color: #fff6ea;
  padding: 1.6rem 0 1rem;
}
#site-footer h2 { font-size: 1rem; }
.foot-grid { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 1rem; }
.foot-grid ul { list-style: none; padding: 0; margin: 0.4rem 0 0; }
.foot-grid a { text-decoration: none; }
.foot-grid a:hover { color: var(--yellow); }
.legal-line { margin-top: 1rem; color: #d9cfe6; font-size: 0.85rem; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

@media (max-width: 980px) {
  .hero-grid, .split-chips, .spec-layout, .foot-grid, .team { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-toggle { display: inline-block; }
  .menu { display: none; }
  .menu.is-open { display: block; }
  .bar { flex-wrap: wrap; }
  .finder { width: 100%; order: 3; }
  .grid, .hero-stage { grid-template-columns: 1fr 1fr; }
  .pkg-top { grid-template-columns: 1fr; }
  .specs div { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .stage-tile { transform: none; }
}
