:root {
  --maroon: #611b24;
  --maroon-dark: #3f0f16;
  --gold: #c9a24d;
  --gold-light: #e8d5a3;
  --cream: #fbf5e9;
  --cream-deep: #f3e8d3;
  --ink: #2a1712;
  --ink-soft: #5a4438;
  --radius: 14px;
  --shadow: 0 18px 40px -20px rgba(63, 15, 22, 0.45);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Poppins", "Segoe UI", system-ui, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Playfair Display", Georgia, serif;
  color: var(--maroon-dark);
  margin: 0 0 0.5em;
  line-height: 1.2;
}

p { margin: 0 0 1em; }

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Announcement ticker ---------- */
.ticker {
  background: var(--gold);
  color: var(--maroon-dark);
  overflow: hidden;
  white-space: nowrap;
  border-bottom: 1px solid rgba(63, 15, 22, 0.15);
}

.ticker-track {
  display: inline-flex;
  width: max-content;
  padding: 10px 0;
  animation: ticker-scroll 26s linear infinite;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  padding-right: 72px;
}

.ticker-item em { font-style: italic; }

.ticker-item a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ticker-item a:hover { color: var(--maroon); }

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.ticker:hover .ticker-track {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
  .ticker { overflow-x: auto; }
}

/* ---------- Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 245, 233, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--cream-deep);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  max-width: 1140px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--gold);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-family: "Playfair Display", serif;
  font-size: 1.05rem;
  color: var(--maroon-dark);
}

.brand-text span {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 28px;
  font-size: 0.92rem;
  font-weight: 500;
}

.nav-links a {
  color: var(--ink-soft);
  transition: color 0.2s ease;
}

.nav-links a:hover { color: var(--maroon); }

.nav-cta {
  background: var(--maroon);
  color: var(--cream) !important;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
}

.nav-cta:hover { background: var(--maroon-dark); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--maroon-dark);
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--maroon-dark), var(--maroon) 60%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 15% 20%, rgba(201,162,77,0.18), transparent 40%),
                     radial-gradient(circle at 85% 80%, rgba(201,162,77,0.14), transparent 45%);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
  padding: 90px 24px 70px;
  max-width: 1140px;
  margin: 0 auto;
}

.eyebrow {
  display: inline-block;
  color: var(--gold-light);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 18px;
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  margin-bottom: 18px;
}

.hero h1 em {
  color: var(--gold-light);
  font-style: italic;
}

.hero p.lead {
  color: rgba(255,255,255,0.85);
  font-size: 1.08rem;
  max-width: 46ch;
  margin-bottom: 30px;
}

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-gold {
  background: var(--gold);
  color: var(--maroon-dark);
}
.btn-gold:hover { background: var(--gold-light); }

.btn-outline {
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

.hero-media {
  position: relative;
}

.hero-media .frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 6px solid rgba(255,255,255,0.12);
}

.hero-media .badge {
  position: absolute;
  bottom: -22px;
  left: -22px;
  background: var(--cream);
  color: var(--maroon-dark);
  padding: 14px 18px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-size: 0.85rem;
  font-weight: 600;
  max-width: 200px;
}

.hero-media .badge strong {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: 1.3rem;
  color: var(--maroon);
}

/* ---------- Section basics ---------- */
section { padding: 90px 0; }

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 50px;
}

.section-head .eyebrow { color: var(--maroon); }

.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }

.section-head p { color: var(--ink-soft); }

/* ---------- About ---------- */
.about {
  background: #fff;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
}

.about-media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}

.about-media::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 6px solid var(--cream-deep);
  border-radius: var(--radius);
  pointer-events: none;
}

.stat-row {
  display: flex;
  gap: 30px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.stat strong {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  color: var(--maroon);
}

.stat span {
  font-size: 0.8rem;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ---------- Dance forms ---------- */
.forms {
  background: var(--cream-deep);
}

.forms-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.form-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--gold);
}

.form-card .glyph {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--maroon);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Playfair Display", serif;
  font-size: 1.4rem;
  margin-bottom: 18px;
}

.form-card h3 { margin-bottom: 10px; }

.form-card p { color: var(--ink-soft); margin: 0; }

/* ---------- Programs ---------- */
.programs { background: #fff; }

.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.program-card {
  padding: 28px 26px;
  border-radius: var(--radius);
  background: var(--cream);
  border: 1px solid var(--cream-deep);
}

.program-card h4 {
  font-family: "Poppins", sans-serif;
  font-size: 1.05rem;
  color: var(--maroon);
  margin-bottom: 8px;
}

.program-card p { color: var(--ink-soft); font-size: 0.95rem; margin: 0; }

/* ---------- Gallery ---------- */
.gallery { background: var(--maroon-dark); }

.gallery .section-head h2, .gallery .section-head .eyebrow { color: var(--gold-light); }
.gallery .section-head p { color: rgba(255,255,255,0.75); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img { transform: scale(1.06); }

.gallery-item.cta {
  background: linear-gradient(160deg, var(--maroon), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
}

.gallery-item.cta a {
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
}

.gallery-item .caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 16px;
  background: linear-gradient(0deg, rgba(0,0,0,0.65), transparent);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
}

/* ---------- Connect / socials ---------- */
.connect { background: var(--cream); }

.connect-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.social-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease;
}

.social-card:hover { transform: translateY(-4px); }

.social-card .icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream-deep);
  color: var(--maroon);
  font-size: 1.4rem;
}

.social-card strong { display: block; font-size: 1.1rem; color: var(--maroon-dark); margin-bottom: 4px; }
.social-card span { color: var(--ink-soft); font-size: 0.85rem; }

/* ---------- Contact ---------- */
.contact {
  background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
  color: #fff;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.contact h2 { color: #fff; }

.contact p { color: rgba(255,255,255,0.8); }

.contact-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius);
  padding: 34px;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.contact-row:last-child { border-bottom: none; }

.contact-row .icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--maroon-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--maroon-dark);
  color: rgba(255,255,255,0.7);
  padding: 34px 0;
  font-size: 0.85rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-inner a { color: var(--gold-light); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .hero-inner { grid-template-columns: 1fr; padding-top: 60px; }
  .hero-media { order: -1; max-width: 340px; margin: 0 auto; }
  .about-grid { grid-template-columns: 1fr; }
  .forms-grid { grid-template-columns: 1fr; }
  .programs-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .connect-grid { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }
}
