:root {
  --bg: #0f0b0a;
  --panel: #161111;
  --text: #f5eedc;
  --muted: #d8c5b3;
  --accent: #d4ab78;
  --accent-strong: #f5c78a;
  --border: rgba(212, 171, 120, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: radial-gradient(circle at top left, rgba(212, 171, 120, 0.14), transparent 30%), linear-gradient(180deg, #121010 0%, #0f0b0a 100%);
  font-family: 'Montserrat', sans-serif;
}

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

.container {
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header,
.site-footer {
  padding: 1.5rem 0;
}

.header-inner,
.footer-inner,
.section-grid,
.contact-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(15, 11, 10, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-mark {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #d4ab78, #f5c78a);
  font-weight: 700;
  color: #111;
  font-size: 1.1rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.78rem;
  margin: 0 0 0.75rem;
  color: var(--muted);
}

.site-header h1,
.site-footer p,
.section-header h3,
.hero h2,
.about-section h3,
.services-section h3,
.contact-section h3 {
  margin: 0;
}

.site-header h1 {
  font-size: 1.2rem;
  letter-spacing: 0.15em;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}

.hero {
  padding: 4rem 0 5rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
}

.hero-copy h2 {
  font-size: clamp(2.6rem, 4vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.hero-copy p {
  max-width: 610px;
  line-height: 1.8;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.8rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, #d4ab78, #f5c78a);
  color: #111;
}

.btn-secondary {
  background: transparent;
  border-color: rgba(212, 171, 120, 0.35);
  color: var(--text);
}

.hero-visual {
  min-height: 420px;
  border-radius: 32px;
  background: radial-gradient(circle at top, rgba(212, 171, 120, 0.16), transparent 28%),
              linear-gradient(180deg, #221a18 0%, #110b0a 100%);
  position: relative;
  overflow: hidden;
}

.hero-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 25%, rgba(245, 199, 138, 0.16), transparent 25%),
                    radial-gradient(circle at 80% 70%, rgba(212, 171, 120, 0.12), transparent 20%);
}

.hero-visual::after {
  content: 'House of Choreo';
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  color: rgba(245, 238, 220, 0.15);
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.section {
  padding: 5rem 0;
}

.section-header {
  margin-bottom: 2rem;
}

.section-header h3,
.about-section h3,
.services-section h3,
.contact-section h3 {
  font-size: 2.4rem;
}

.about-section .section-grid,
.contact-section .contact-grid {
  gap: 3rem;
}

.about-cards {
  display: grid;
  gap: 1rem;
}

.card,
.service-card,
.gallery-card,
.contact-form {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 1.75rem;
}

.card h4,
.service-card h4 {
  margin: 0 0 0.75rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.service-card p {
  color: var(--muted);
  line-height: 1.8;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.gallery-card {
  min-height: 210px;
  display: grid;
  place-items: center;
  text-align: center;
  font-size: 1.1rem;
  letter-spacing: 0.03em;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
  align-items: start;
}

.team-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 320px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 1.75rem;
  text-align: center;
}

.team-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 1.25rem;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(212, 171, 120, 0.9), rgba(245, 199, 138, 0.6));
  color: #111;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.team-card h4 {
  margin: 0 0 0.35rem;
}

.team-role {
  margin: 0 0 0.75rem;
  color: var(--accent-strong);
  font-weight: 600;
}

.team-card p:last-child {
  color: var(--muted);
  line-height: 1.75;
  margin: 0 0 1rem;
}

.team-socials {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.team-socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-decoration: none;
  background: rgba(212, 171, 120, 0.16);
  color: var(--accent-strong);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.team-socials a:hover {
  transform: translateY(-2px);
  background: rgba(212, 171, 120, 0.28);
}

.contact-grid {
  align-items: stretch;
}

.contact-details {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.5rem;
  color: var(--muted);
}

.contact-form {
  display: grid;
  gap: 1.2rem;
}

.contact-form label {
  display: grid;
  gap: 0.5rem;
  color: var(--text);
}

.contact-form input,
.contact-form textarea {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
  border-radius: 18px;
  padding: 1rem 1rem;
  font: inherit;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(213, 181, 135, 0.7);
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-inner {
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .header-inner,
  .section-grid,
  .contact-grid {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 320px;
  }

  .service-grid,
  .gallery-grid,
  .about-cards,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    flex-wrap: wrap;
  }
}

@media (max-width: 600px) {
  .site-header,
  .site-footer,
  .hero,
  .section,
  .contact-form {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero-copy h2 {
    font-size: 2.4rem;
  }

  .logo-mark {
    width: 48px;
    height: 48px;
    font-size: 1rem;
  }
}

/* Interaction helpers */
.site-header.scrolled {
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
  background: linear-gradient(180deg, rgba(15,11,10,0.95), rgba(15,11,10,0.85));
  box-shadow: 0 6px 18px rgba(2,2,2,0.45);
}

/* Reveal animations */
.card,
.service-card,
.gallery-card,
.hero-copy,
.about-cards,
.contact-form,
.hero-visual {
  opacity: 0;
  transform: translateY(10px) scale(0.998);
  transition: opacity 520ms cubic-bezier(.2,.9,.2,1), transform 520ms cubic-bezier(.2,.9,.2,1);
}
.is-visible {
  opacity: 1 !important;
  transform: translateY(0) scale(1) !important;
}

.nav-links a.active {
  color: var(--accent-strong);
  text-decoration: underline;
}

/* Small toast for form feedback */
.form-toast {
  margin-top: 0.75rem;
  padding: 0.6rem 0.9rem;
  border-radius: 12px;
  background: rgba(212,171,120,0.12);
  color: var(--accent-strong);
  font-weight: 600;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 260ms ease, transform 260ms ease;
}
.form-toast.visible { opacity: 1; transform: translateY(0); }

/* Mobile menu toggle */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text);
  width: 48px;
  height: 48px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.mobile-menu-toggle .hamburger {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--muted);
  position: relative;
}
.mobile-menu-toggle .hamburger::before,
.mobile-menu-toggle .hamburger::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--muted);
}
.mobile-menu-toggle .hamburger::before { top: -7px; }
.mobile-menu-toggle .hamburger::after { bottom: -7px; }

@media (max-width: 900px) {
  .mobile-menu-toggle { display: inline-flex; }
  .nav-links { display: none; position: absolute; right: 1rem; top: 72px; background: rgba(17,11,10,0.95); padding: 1rem; border-radius: 12px; flex-direction: column; gap: 0.5rem; min-width: 160px; box-shadow: 0 8px 30px rgba(2,2,2,0.45); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.5rem 0.75rem; display: block; }
}

/* Hero bubbles animation */
.hero-visual { position: relative; overflow: hidden; --mx: 0; --my: 0; }
.hero-bubbles { position: absolute; inset: 0; pointer-events: none; }
.hero-bubbles span { position: absolute; border-radius: 50%; opacity: 0.12; background: radial-gradient(circle at 30% 30%, var(--accent-strong), var(--accent)); transform: translate3d(calc(var(--mx) * 10px), calc(var(--my) * 10px), 0); animation: float 9s ease-in-out infinite; }
.hero-bubbles span:nth-child(1) { width: 220px; height: 220px; left: -8%; top: 10%; animation-duration: 12s; }
.hero-bubbles span:nth-child(2) { width: 160px; height: 160px; right: 6%; top: 6%; animation-duration: 10s; animation-delay: 1s; }
.hero-bubbles span:nth-child(3) { width: 120px; height: 120px; left: 18%; bottom: 8%; animation-duration: 8s; animation-delay: 2s; }
.hero-bubbles span:nth-child(4) { width: 90px; height: 90px; right: 24%; bottom: 18%; animation-duration: 11s; animation-delay: 0.5s; }
.hero-bubbles span:nth-child(5) { width: 60px; height: 60px; left: 48%; top: 30%; animation-duration: 7s; animation-delay: 1.2s; }

@keyframes float {
  0% { transform: translate3d(calc(var(--mx) * 6px), calc(var(--my) * 6px), 0) translateY(0); }
  50% { transform: translate3d(calc(var(--mx) * -6px), calc(var(--my) * -6px), 0) translateY(-18px); }
  100% { transform: translate3d(calc(var(--mx) * 6px), calc(var(--my) * 6px), 0) translateY(0); }
}

