:root {
  --bg: #fdf8f1;
  --ink: #2b2a33;
  --muted: #5d5b68;
  --brand: #2f6f6a;
  --card-radius: 22px;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
}
a:focus-visible { outline: 4px solid #1b4fd8; outline-offset: 3px; }
.site-header {
  padding: 2rem 1.25rem 1.5rem;
  text-align: center;
  background: linear-gradient(135deg, #ffe7c2, #ffd3d9 55%, #d5ecf0);
}
.site-header h1 { margin: 0 0 .4rem; font-size: clamp(1.8rem, 6vw, 2.8rem); line-height: 1.15; }
.site-header p { margin: 0 auto; max-width: 36rem; color: var(--muted); font-size: 1.05rem; }
main { max-width: 1000px; margin: 0 auto; padding: 1.5rem 1.25rem 2rem; }
main h2 { font-size: 1.4rem; margin: 0 0 1rem; }
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; list-style: none; padding: 0; margin: 0; }
.card {
  display: flex; flex-direction: column; height: 100%;
  background: #fff; border-radius: var(--card-radius);
  text-decoration: none; color: inherit; overflow: hidden;
  box-shadow: 0 2px 10px rgba(40, 30, 60, .1);
  transition: transform .15s, box-shadow .15s;
}
.card:hover, .card:focus-visible { transform: translateY(-4px); box-shadow: 0 8px 22px rgba(40, 30, 60, .18); }
.card svg { display: block; width: 100%; height: auto; }
.card-body { padding: 1rem 1.25rem 1.4rem; }
.card h3 { margin: 0 0 .35rem; font-size: 1.3rem; }
.card p { margin: 0 0 .6rem; color: var(--muted); }
.badge {
  display: inline-block; background: #fff1d6; color: #5a3b00;
  font-weight: 600; font-size: .95rem; padding: .25rem .7rem; border-radius: 999px;
}
.more { display: block; margin-top: .8rem; font-weight: 700; color: var(--brand); }
.site-footer { text-align: center; padding: 1.5rem 1rem 2rem; color: var(--muted); font-size: .95rem; }
.back { color: var(--brand); font-weight: 700; }
.ballet-layout { display: grid; gap: 1.5rem; grid-template-columns: 1fr; align-items: start; }
.poster-link { color: inherit; text-decoration: none; display: block; }
.poster { width: 100%; max-width: 480px; height: auto; display: block; margin: 0 auto; border-radius: var(--card-radius); box-shadow: 0 2px 10px rgba(40, 30, 60, .15); }
.poster-link .more { text-align: center; }
.yoga-figure { margin: 0; }
.yoga-figure a { display: block; }
.yoga-figure figcaption { text-align: center; color: var(--muted); margin-top: .6rem; }
.ballet-layout h3 { margin: 0 0 .6rem; }
.ballet-layout p { margin: 0; }
.positions { margin: 0; padding-left: 1.4rem; font-size: 1.1rem; }
.positions li { margin-bottom: .9rem; }
.info-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; list-style: none; padding: 0; margin: 0 0 2rem; }
.info-box { background: #fff; border-radius: 18px; padding: 1rem 1.25rem; box-shadow: 0 2px 10px rgba(40, 30, 60, .1); }
.info-box h3 { margin: 0 0 .3rem; font-size: 1.1rem; }
.info-box p { margin: 0; color: var(--muted); }
.gallery { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); list-style: none; padding: 0; margin: 0; }
.gallery img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 14px; display: block; }
.gallery:not(:empty) + .empty-note { display: none; }
.empty-note { background: #fff; border: 2px dashed #d9c9b4; border-radius: 18px; padding: 1.5rem; text-align: center; color: var(--muted); }
@media (min-width: 560px) { .info-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 800px) { .ballet-layout { grid-template-columns: 1fr 1fr; } }
@media (min-width: 640px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (prefers-reduced-motion: reduce) { .card { transition: none; } }
