.dance-hero { --dance-stage: #141414; background: var(--dance-stage); color: var(--light-ink); }
.dance-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  grid-template-rows: 1fr 1fr;
  grid-template-areas: 'intro video' 'actions video';
  align-items: start;
  gap: 1.1rem clamp(1rem, 5vw, 5rem);
  padding-block: clamp(2.5rem, 5vw, 5rem);
}
.dance-hero-intro { grid-area: intro; align-self: end; position: relative; z-index: 1; }
.dance-hero h1 { font-size: clamp(2.25rem, 5.1vw, 5.4rem); line-height: .96; letter-spacing: -.045em; }
.dance-hero h1 span { display: block; white-space: nowrap; }
.dance-hero-description { margin-top: .5rem; color: var(--light-muted); font-size: clamp(.88rem, 1.65vw, 1.1rem); line-height: 1.45; }
.dance-deck { margin-top: .9rem; font-size: clamp(1.11rem, 1.8vw, 1.44rem); font-weight: 750; line-height: 1.27; }
.dance-hero-actions { grid-area: actions; display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.3rem; margin-top: .7rem; }
.dance-hero-actions .button { justify-content: center; border-radius: .6rem; }
.class-schedule-link { display: inline-flex; align-items: center; gap: .48rem; min-height: 2.75rem; font-weight: 750; }
.class-schedule-link:hover { color: #f3cab9; }
.dance-hero :focus-visible, .dance-promo :focus-visible, .dance-schedule :focus-visible { outline-color: var(--light-ink); }
.dance-visual {
  grid-area: video;
  align-self: center;
  justify-self: end;
  position: relative;
  width: min(100%, 34rem, 68svh);
}
.dance-visual > .logo { position: absolute; z-index: 2; top: 1rem; left: 1rem; width: clamp(5.3rem, 10vw, 8rem); padding: .52rem .6rem; }
.dance-visual > .logo::before { inset: .52rem .6rem; }
.dance-shot { position: relative; overflow: hidden; border-radius: .45rem; background: var(--dance-stage); }
.dance-shot video { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: contain; pointer-events: none; }
.adult-dance-hero .dance-hero-description { max-width: 36ch; }
.adult-dance-hero .dance-shot::before { content: ""; position: absolute; inset: 0 0 auto; height: 6rem; background: linear-gradient(rgb(20 20 20 / .62), transparent); pointer-events: none; }

.dance-program, .dance-schedule-layout, .dance-trial-layout, .dance-promo-layout {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(1.5rem, 5vw, 5rem);
}
.dance-program h2, .dance-schedule h2, .dance-trial h2, .dance-promo h2 {
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  letter-spacing: -.035em;
  text-wrap: balance;
}
.dance-program-intro p, .dance-visit p { color: var(--quiet); margin-top: .72rem; }
.dance-steps { margin: 0; padding: 0; list-style: none; }
.dance-steps li { padding-block: 1rem; border-top: 1px solid var(--line); }
.dance-steps li:last-child { border-bottom: 1px solid var(--line); }
.dance-steps h3, .dance-form-panel h3 { font-size: clamp(1.1rem, 2.2vw, 1.62rem); letter-spacing: -.02em; }
.dance-steps p { margin-top: .38rem; color: var(--quiet); }
.dance-schedule { background: #211f1f; color: var(--light-ink); scroll-margin-top: 1rem; }
.dance-schedule-layout { padding-block: clamp(2.5rem, 5vw, 4.4rem); }
.dance-schedule p { margin-top: .72rem; }
.dance-schedule :is(p, time) { color: var(--light-muted); }
.dance-schedule-list ul { margin: 0; padding: 0; list-style: none; }
.dance-schedule-list li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; border-bottom: 1px solid var(--line-dark); padding-block: 1rem; }
.dance-schedule-list li:first-child { border-top: 1px solid var(--line-dark); }
.dance-schedule-list li strong { display: block; }
.dance-schedule-list li strong::first-letter { text-transform: uppercase; }
.dance-schedule-list time { display: block; font-variant-numeric: tabular-nums; }
.dance-schedule-list time span { white-space: nowrap; }
.dance-schedule-list .button { min-height: 2.85rem; color: var(--light-ink); border-color: var(--light-muted); }
.dance-schedule-list .button:hover { background: var(--light-ink); color: var(--ink); }
.dance-schedule-list button:disabled { opacity: .58; }
.dance-schedule-list [data-class-retry]:not([hidden]) { margin-top: .75rem; }

.dance-trial { background: var(--dust); scroll-margin-top: 1rem; }
.dance-visit a { display: inline-block; margin-top: 1.3rem; color: var(--red-ink); }
.dance-visit .dance-room { margin-top: .25rem; }
.dance-form-panel { background: var(--paper); border-radius: .9rem; }
.dance-form-panel .form-consents { margin-block: .55rem 1rem; }
.dance-form-panel h3:focus { outline-offset: 3px; }
.dance-payment-terms { margin-top: .65rem; color: var(--quiet); font-size: .85rem; }
.dance-payment-terms a { color: var(--red-ink); }
.dance-promo { background: #1d3831; color: var(--light-ink); }
.dance-promo-layout { align-items: center; padding-block: clamp(1.75rem, 4.5vw, 3.2rem); }
.dance-promo h2 { font-size: clamp(1.72rem, 3.5vw, 2.7rem); }
.dance-promo .membership-promo-terms { max-width: 44ch; color: #f0dfc8; margin-top: .65rem; }
.dance-promo .button { justify-self: start; }

.photo-hero .dance-shot img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 70%; filter: grayscale(1); }
.photo-hero.strength-hero .dance-shot img { object-position: center 12%; }
.photo-hero .dance-shot::before { content: ""; position: absolute; z-index: 1; inset: 0 0 auto; height: 7rem; background: linear-gradient(rgb(20 20 20 / .74), transparent); pointer-events: none; }
.photo-hero h1 span { white-space: normal; }
.membership-hero .membership-promo-terms { max-width: 46ch; margin-top: .8rem; color: var(--light-muted); }
.dance-form-panel .request-confirmation .button { margin-top: .85rem; }

@media (max-width: 760px) {
  .dance-hero-layout { grid-template: 'video' 'intro' 'actions' / minmax(0, 1fr); gap: 0; padding: 0 0 1.8rem; }
  .dance-hero-intro, .dance-hero-actions { padding-inline: var(--pad); }
  .dance-hero-intro { margin-top: -.5rem; }
  .dance-hero h1 { font-size: clamp(2.35rem, 11vw, 4.4rem); }
  .dance-deck { margin-top: .55rem; font-size: clamp(.96rem, 4vw, 1.25rem); }
  .dance-hero-description { margin-top: .35rem; }
  .dance-hero-actions { margin-top: 1.15rem; gap: .35rem .85rem; }
  .dance-hero-actions .button { padding-inline: .9rem; font-size: .94rem; }
  .class-schedule-link { font-size: .875rem; }
  .dance-visual { width: 100%; }
  .dance-visual > .logo { left: calc(var(--pad) - .55rem); top: .75rem; width: 6rem; }
  .dance-shot { border-radius: 0; }
  .dance-shot video { height: min(118vw, 57svh, 31rem); object-fit: cover; object-position: center 57%; }
  .adult-dance-hero .dance-shot::before { content: none; }
  .photo-hero .dance-shot img { height: min(108vw, 52svh, 29rem); object-position: center 67%; }
  .dance-shot::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgb(21 24 25 / .68), transparent 18%, transparent 82%, var(--dance-stage));
    pointer-events: none;
  }
  .dance-program, .dance-schedule-layout, .dance-trial-layout, .dance-promo-layout { grid-template-columns: minmax(0, 1fr); }
}
