html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.skip { position: absolute; left: 12px; top: -60px; background: var(--emas); color: #231a06; padding: 10px 14px; border-radius: 8px; z-index: 50; font-weight: 700; }
.skip:focus { top: 12px; }

.wrap, .site-head, .hero, .how, .dances, .faq, .site-foot > p { width: min(1160px, 100% - 32px); margin-inline: auto; }

/* ---------- Header ---------- */
.site-head { display: flex; align-items: center; gap: 24px; padding: 18px 0; }
.wordmark { font-family: var(--font-display); font-size: 1.5rem; color: var(--kapas); text-decoration: none; letter-spacing: -.01em; }
.wordmark span { font-family: var(--font-body); font-weight: 700; font-size: .8rem; color: var(--kain); background: var(--emas); border-radius: 4px; padding: 1px 5px; vertical-align: 4px; }
.site-head nav { display: flex; gap: 22px; margin-left: auto; }
.site-head nav a { color: var(--kabus); text-decoration: none; font-weight: 600; }
.site-head nav a:hover { color: var(--kapas); }
@media (max-width: 640px) { .site-head nav { display: none; } .site-head .lang-switch { margin-left: auto; } }

/* ---------- Hero ---------- */
.hero {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; align-items: center;
  padding: 40px 0 72px;
}
.hero h1 {
  font-family: var(--font-display); font-weight: 400; margin: 0 0 20px;
  font-size: clamp(2.5rem, 5.6vw, 4.6rem); line-height: 1.02; letter-spacing: -.02em; max-width: 13ch;
}
.lede { font-size: 1.1875rem; color: var(--kabus); max-width: 44ch; margin: 0 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* The stage: a card lying on a table with the keyed dancers standing on it — what the AR does. */
.stage { margin: 0; }
.stage-scene { position: relative; aspect-ratio: 1 / .86; perspective: 1100px; }
.stage-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 8px; }
.stage-floor {
  position: absolute; left: 6%; right: 6%; bottom: 4%;
  transform: rotateX(58deg); transform-origin: 50% 100%;
}
.stage-floor img {
  width: 100%; border-radius: 10px; border: 6px solid var(--kapas);
  box-shadow: 0 40px 60px -20px rgba(0,0,0,.7);
}
#stage-dancer { position: absolute; left: 0; right: 0; bottom: 13%; width: 100%; height: auto; aspect-ratio: 3 / 2; pointer-events: none; }
.stage figcaption {
  color: var(--kabus); font-size: .9375rem;
}
.stage figcaption b { color: var(--kapas); font-weight: 600; }
.stage-sound { flex: none; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 16px; gap: 24px; }
  .stage { max-width: 520px; width: 100%; justify-self: center; }
}

/* ---------- Sections ---------- */
section h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(2rem, 4vw, 2.75rem); line-height: 1.1; margin: 0 0 12px; }
.section-lede { color: var(--kabus); max-width: 60ch; margin: 0 0 32px; font-size: 1.0625rem; }
.how, .dances, .faq { padding: 72px 0 0; }

.steps { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: s; }
.steps li { counter-increment: s; border-top: 2px solid var(--kain-3); padding-top: 18px; }
.steps li::before {
  content: counter(s); display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--selendang); color: var(--kapas); font-weight: 700; margin-bottom: 14px;
}
.steps h3 { margin: 0 0 6px; font-size: 1.25rem; }
.steps p { margin: 0; color: var(--kabus); max-width: 36ch; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: 24px; } }

.qr { display: flex; gap: 22px; align-items: center; margin-top: 40px; padding: 20px; border: 1px solid var(--kain-3); border-radius: var(--radius-m); max-width: 560px; }
.qr-code { flex: none; width: 128px; height: 128px; background: #fff; padding: 8px; border-radius: 8px; }
.qr-code svg, .qr-code img { width: 100%; height: 100%; }
.qr h3 { margin: 0 0 4px; font-size: 1.125rem; }
.qr p { margin: 0; color: var(--kabus); }

/* ---------- Dance list ---------- */
.dance-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 40px 28px; }
.dance img { width: 100%; aspect-ratio: 1748 / 1240; object-fit: cover; border-radius: 8px; border: 4px solid var(--kapas); background: var(--kain-2); }
.dance .people { margin: 14px 0 0; color: var(--emas); font-weight: 600; font-size: .875rem; }
.dance h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; line-height: 1.15; margin: 2px 0 6px; }
.dance p.desc { margin: 0 0 14px; color: var(--kabus); font-size: .9688rem; }
.dance-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.dance-actions .btn { min-height: 44px; padding: .55em 1.05em; font-size: .9375rem; }
.dance[aria-current="true"] img { border-color: var(--emas); }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin-left: max(16px, (100% - 1160px) / 2); }
.faq details { border-bottom: 1px solid var(--kain-3); }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 600; font-size: 1.125rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--emas); font-size: 1.5rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 18px; color: var(--kabus); max-width: 64ch; }

.site-foot { margin-top: 96px; padding-bottom: 40px; }
.site-foot p { color: var(--kabus); font-size: .9375rem; margin-top: 20px; }

/* ---------- Card full-screen view ---------- */
.card-view { border: 0; padding: 0; background: #fff; width: 100vw; height: 100vh; max-width: none; max-height: none; }
.card-view[open] { display: grid; place-items: center; }
.card-view::backdrop { background: #fff; }
.card-view img { max-width: 94vw; max-height: 82vh; object-fit: contain; }
.card-view form { position: fixed; top: 16px; right: 16px; }
