:root {
  --bg: #fffaeb;
  --surface: #ffffff;
  --text: #2a2210;
  --muted: #6b5f3c;
  --accent: #b27500;
  --accent-2: #4a4a3a;
  --border: #efdfa8;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #17130a;
    --surface: #221c0e;
    --text: #f6ecd0;
    --muted: #c4b78a;
    --accent: #f2b52e;
    --accent-2: #8a7f4c;
    --border: #3d3418;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 Georgia, "Times New Roman", serif;
}
.site-header {
  position: sticky; top: 0; z-index: 10;
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem;
  justify-content: space-between; align-items: center;
  padding: .75rem 1rem;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  font-family: system-ui, sans-serif;
}
.brand { font-weight: 700; font-size: 1.2rem; color: var(--accent); text-decoration: none; }
nav { display: flex; flex-wrap: wrap; gap: 1rem; }
nav a { color: var(--muted); text-decoration: none; font-size: .95rem; }
nav a:hover { color: var(--accent); }
main { max-width: 960px; margin: 0 auto; padding: 0 1rem; }
section { padding: 3rem 0 1rem; }
h1, h2 { line-height: 1.15; }
h2 { font-size: 2rem; margin: 0 0 .25rem; color: var(--accent); }
.lead { color: var(--muted); margin-top: 0; }
.hero { padding: 5rem 0 3rem; }
.hero h1 { font-size: clamp(2.5rem, 8vw, 4.5rem); margin: 0 0 1rem; }
.hero h1 span { color: var(--accent); font-style: italic; }
.hero p { max-width: 36rem; font-size: 1.15rem; }
.btn {
  display: inline-block; border: 0; cursor: pointer;
  background: var(--accent); color: #fff;
  padding: .7rem 1.3rem; border-radius: 999px;
  font: 600 1rem system-ui, sans-serif; text-decoration: none;
}
.btn:hover { filter: brightness(1.1); }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0; }
.chip {
  border: 1px solid var(--border); background: var(--surface); color: var(--text);
  padding: .35rem .9rem; border-radius: 999px; cursor: pointer;
  font: .9rem system-ui, sans-serif;
}
.chip.active { background: var(--accent-2); color: #fff; border-color: var(--accent-2); }
.grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 1.1rem;
}
.card .dot { width: 2.2rem; height: 1.4rem; border-radius: 50%; margin-bottom: .6rem; border: 1px solid rgba(0,0,0,.2); }
.card h3 { margin: 0 0 .3rem; }
.card p { margin: 0 0 .6rem; font-size: .95rem; color: var(--muted); }
.tag { font: .75rem system-ui, sans-serif; color: var(--accent-2); margin-right: .5rem; }
.bars { display: grid; gap: .8rem; margin: 1.2rem 0; }
.bar { font-family: system-ui, sans-serif; font-size: .9rem; }
.bar-label { display: flex; justify-content: space-between; margin-bottom: .2rem; }
.track { background: var(--border); border-radius: 999px; height: 12px; overflow: hidden; }
.fill { height: 100%; width: 0; background: var(--accent-2); border-radius: 999px; transition: width .9s ease; }
.note { color: var(--muted); font-style: italic; }
.steps { padding-left: 1.3rem; }
.steps li { margin-bottom: .7rem; }
details { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: .7rem 1rem; margin: .6rem 0; }
summary { cursor: pointer; font-weight: 600; }
.timeline { list-style: none; padding: 0 0 0 1.2rem; border-left: 3px solid var(--accent); }
.timeline li { margin-bottom: 1.1rem; }
.timeline time { display: block; font: 700 .85rem system-ui, sans-serif; color: var(--accent); }
.fact {
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  padding: 1.5rem; font-size: 1.2rem; margin-bottom: 1rem; min-height: 5.5rem;
}
.dancers { display: flex; flex-wrap: wrap; gap: .4rem .9rem; margin-top: 2.5rem; font-size: 2.4rem; line-height: 1; }
.dancer { display: inline-block; animation: dance 1.1s ease-in-out infinite; animation-delay: calc(var(--i) * -0.14s); transform-origin: 50% 100%; }
.dancer:nth-child(even) { animation-duration: 1.4s; }
@keyframes dance {
  0%, 100% { transform: translateY(0) rotate(-10deg); }
  25% { transform: translateY(-16px) rotate(8deg); }
  50% { transform: translateY(0) rotate(-4deg) scaleX(1.12) scaleY(.9); }
  75% { transform: translateY(-9px) rotate(12deg); }
}
footer { text-align: center; padding: 3rem 1rem; color: var(--muted); font-family: system-ui, sans-serif; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .fill { transition: none; } .dancer { animation: none; } }
.btn { color: #1a1405; }
.chip.active { color: #fff; }
@media (prefers-color-scheme: dark) { .chip.active { color: #17130a; background: var(--accent); border-color: var(--accent); } }
.dance-figure { margin: 2rem 0 0; text-align: center; }
.dance-figure img { max-width: 100%; height: auto; }
