:root {
  --bg: #0f1020;
  --surface: #ffffff;
  --surface-soft: #f7f4fb;
  --text: #151524;
  --muted: #646477;
  --primary: #ef3f8f;
  --primary-dark: #c8236c;
  --accent: #35d0ba;
  --radius: 28px;
  --shadow: 0 24px 70px rgba(15, 16, 32, 0.16);
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

img,
iframe {
  max-width: 100%;
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin-inline: auto;
}

.section {
  padding-block: clamp(72px, 9vw, 130px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1,
h2,
h3 {
  color: inherit;
}

.hero {
  min-height: 760px;
  display: flex;
  align-items: center;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(15, 16, 32, 0.88), rgba(239, 63, 143, 0.62)),
    url("dance.jpg") center / cover no-repeat;
}

.hero__inner {
  max-width: 940px;
  padding-block: 120px;
}

.hero h1 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(3rem, 7vw, 6.8rem);
  line-height: 0.94;
  letter-spacing: -0.04em;
}

.hero__intro {
  max-width: 650px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 800;
  white-space: nowrap;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button--primary {
  color: #fff;
  background: var(--primary);
  box-shadow: 0 16px 38px rgba(239, 63, 143, 0.32);
}

.button--primary:hover,
.button--primary:focus-visible {
  background: var(--primary-dark);
}

.button--light {
  color: var(--text);
  background: #fff;
}

.hero__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 760px;
  margin-top: 54px;
}

.hero__cards article {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
}

.hero__cards strong,
.hero__cards span {
  display: block;
}

.hero__cards span {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.78);
}

.quick-links {
  background: var(--bg);
}

.quick-links__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  padding-block: 16px;
}

.quick-links a {
  color: #fff;
  padding: 10px 14px;
  border-radius: 999px;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.08);
}

.quick-links a:hover,
.quick-links a:focus-visible {
  background: rgba(255, 255, 255, 0.16);
}

.feature-photo {
  padding-top: clamp(36px, 6vw, 72px);
  padding-bottom: 0;
  background: var(--surface);
}

.feature-photo__frame {
  width: 100%;
  height: clamp(260px, 46vw, 550px);
  border-radius: var(--radius);
  overflow: hidden;

}

.feature-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.intro {
  background: var(--surface);
}

.intro__grid,
.video__grid,
.location__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 6vw, 76px);
  align-items: center;
}

.intro h2,
.section-heading h2,
.video h2,
.parties h2,
.price-panel h2 {
  margin: 0;
  font-size: clamp(2.1rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.prose p,
.video p,
.parties p,
.price-panel p,
.section-heading p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.classes {
  background: var(--surface-soft);
}

.soon-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: clamp(36px, 6vw, 72px);
}

.soon-grid img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 14px 44px rgba(15, 16, 32, 0.1);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 36px;
}

.class-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.class-card {
  position: relative;
  min-height: 210px;
  padding: 24px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 14px 50px rgba(15, 16, 32, 0.08);
  overflow: hidden;
}

.class-card::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  opacity: 0.18;
}

.class-card span {
  display: inline-flex;
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--primary-dark);
  background: rgba(239, 63, 143, 0.1);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.class-card h3 {
  margin: 38px 0 8px;
  font-size: 1.45rem;
  line-height: 1.1;
}

.class-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.price-panel {
  padding-block: 60px;
  background: var(--bg);
}

.price-panel__inner {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  padding: clamp(28px, 5vw, 54px);
  border-radius: var(--radius);
  color: #fff;
  background:
    radial-gradient(circle at top left, rgba(239, 63, 143, 0.35), transparent 34%),
    linear-gradient(135deg, #1d1e3b, #101121);
}

.price-panel__inner p {
  color: rgba(255, 255, 255, 0.76);
}

.embed {
  position: relative;
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
}

.embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.parties {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(239, 63, 143, 0.92), rgba(53, 208, 186, 0.82)),
    url("parties.jpg") center / cover no-repeat;
}

.parties__card {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  padding: clamp(28px, 5vw, 58px);
  border-radius: var(--radius);
  background: rgba(15, 16, 32, 0.68);
  backdrop-filter: blur(18px);
}

.parties__card .button {
  flex-shrink: 0;
}

.parties .eyebrow,
.parties p {
  color: rgba(255, 255, 255, 0.82);
}

.location {
  background: #fff;
}

.location__grid {
  grid-template-columns: minmax(0, 1.55fr) minmax(240px, 0.7fr);
  align-items: center;
}

.embed--map {
  aspect-ratio: 16 / 10;
}

.location__directions-video {
  width: min(100%, 340px);
  aspect-ratio: 9 / 16;
  justify-self: end;
}

.gallery {
  background: var(--surface-soft);
}

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

.gallery__grid img {
  display: block;
  width: 100%;
  height: 290px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 14px 44px rgba(15, 16, 32, 0.1);
}

.site-footer {
  color: #fff;
  background: var(--bg);
}

.site-footer__inner {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  padding-block: 34px;
}

.site-footer strong {
  display: block;
  font-size: 1.25rem;
}

.site-footer p {
  max-width: 680px;
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
}

.site-footer__contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer__contact a {
  color: #fff;
  font-weight: 800;
  text-decoration-color: rgba(255, 255, 255, 0.42);
  text-underline-offset: 4px;
}

.site-footer__contact a:hover,
.site-footer__contact a:focus-visible {
  text-decoration-color: #fff;
}

.waiver-page {
  min-height: 100vh;
  background: var(--surface-soft);
}

.waiver-hero {
  padding-block: clamp(72px, 9vw, 130px);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(15, 16, 32, 0.9), rgba(239, 63, 143, 0.68)),
    url("dance.jpg") center / cover no-repeat;
}

.waiver-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3rem, 7vw, 6.8rem);
  line-height: 0.94;
  letter-spacing: -0.04em;
}

.waiver-hero p:last-child {
  max-width: 660px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.15rem;
  line-height: 1.7;
}

.back-link {
  display: inline-flex;
  margin-bottom: 34px;
  color: #fff;
  font-weight: 800;
  text-decoration-color: rgba(255, 255, 255, 0.46);
  text-underline-offset: 4px;
}

.waiver-section {
  padding-block: clamp(48px, 7vw, 96px);
}

.waiver-form,
.form-message {
  max-width: 920px;
  padding: clamp(24px, 5vw, 48px);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.form-field--wide {
  grid-column: 1 / -1;
}

.waiver-form label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-weight: 800;
}

.waiver-form label[hidden] {
  display: none;
}

.waiver-form input,
.waiver-form select,
.waiver-form textarea {
  width: 100%;
  border: 1px solid rgba(15, 16, 32, 0.14);
  border-radius: 14px;
  padding: 14px 16px;
  color: var(--text);
  background: #fff;
  font: inherit;
}

.waiver-form textarea {
  resize: vertical;
}

.participant-type,
.photo-permission,
.waiver-statements {
  display: grid;
  gap: 14px;
  margin-block: 28px;
  padding: 22px;
  border-radius: 18px;
  background: var(--surface-soft);
}

.participant-type {
  margin-top: 0;
  border: 0;
}

.participant-type legend {
  margin-bottom: 14px;
  color: var(--text);
  font-weight: 800;
}

.photo-permission h2 {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.1;
}

.photo-permission p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.participant-type label,
.photo-permission label,
.waiver-statements label {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  font-weight: 700;
  line-height: 1.5;
}

.participant-type input,
.photo-permission input,
.waiver-statements input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
}

.website-field {
  position: absolute;
  left: -9999px;
}

.waiver-form .button {
  margin-top: 28px;
  border: 0;
  cursor: pointer;
}

.form-message {
  color: var(--text);
}

.form-message h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.form-message p,
.form-message li {
  color: var(--muted);
  line-height: 1.7;
}

.form-message--error {
  margin-bottom: 24px;
  border: 2px solid rgba(239, 63, 143, 0.26);
}

.form-message--success {
  border: 2px solid rgba(53, 208, 186, 0.28);
}

@media (max-width: 980px) {
  .class-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intro__grid,
  .video__grid,
  .location__grid {
    grid-template-columns: 1fr;
  }

  .location__directions-video {
    justify-self: start;
  }

  .price-panel__inner,
  .parties__card,
  .site-footer__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer__contact {
    align-items: flex-start;
  }
}

@media (max-width: 680px) {
  .hero {
    min-height: auto;
  }

  .hero__inner {
    padding-block: 86px;
  }

  .hero__cards,
  .class-grid,
  .soon-grid,
  .gallery__grid {
    grid-template-columns: 1fr;
  }

  .feature-photo__frame {
    height: auto;
  }

  .feature-photo img {
    height: auto;
    object-fit: contain;
  }

  .gallery__grid img {
    height: 240px;
  }

  .button {
    width: 100%;
  }

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