:root {
  --milk: #fbf7ef;
  --paper: #fffdf8;
  --sage: #526c55;
  --sage-dark: #263b2e;
  --clay: #b8654d;
  --terracotta: #d79778;
  --ink: #23231f;
  --muted: #6d6a60;
  --line: rgba(38, 59, 46, 0.16);
  --shadow: 0 24px 70px rgba(32, 41, 34, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--milk);
  color: var(--ink);
  font-family: Manrope, Arial, sans-serif;
  line-height: 1.55;
}

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

.site-header {
  position: fixed;
  inset: 18px 24px auto;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 8px;
  background: rgba(251, 247, 239, 0.82);
  box-shadow: 0 12px 40px rgba(20, 26, 21, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--sage-dark);
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--sage-dark);
  color: var(--milk);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 20px;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.nav a:hover,
.header-action:hover {
  color: var(--sage-dark);
}

.header-action {
  padding: 10px 16px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--clay);
  font-size: 14px;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 94vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 128px 7vw 88px;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(251, 247, 239, 0.98) 0%, rgba(251, 247, 239, 0.82) 36%, rgba(251, 247, 239, 0.18) 72%),
    linear-gradient(0deg, rgba(35, 35, 31, 0.12), rgba(35, 35, 31, 0.02));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(680px, 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--clay);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.02;
  color: var(--sage-dark);
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(48px, 7vw, 96px);
}

h2 {
  margin-bottom: 0;
  font-size: clamp(36px, 5vw, 68px);
}

h3 {
  color: var(--sage-dark);
  font-size: 24px;
  line-height: 1.18;
}

.lead {
  max-width: 610px;
  margin-bottom: 34px;
  color: #4b4b43;
  font-size: clamp(18px, 2.1vw, 24px);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.button.primary {
  background: var(--sage-dark);
  color: #fff;
  box-shadow: 0 12px 28px rgba(38, 59, 46, 0.24);
}

.button.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.74);
  color: var(--sage-dark);
}

.quick-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.quick-facts article {
  min-height: 132px;
  padding: 28px 7vw;
  background: var(--paper);
}

.quick-facts strong {
  display: block;
  color: var(--sage-dark);
  font-size: 24px;
  line-height: 1.2;
}

.quick-facts span {
  color: var(--muted);
}

.section,
.studio-band,
.contact-band {
  padding: 96px 7vw;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 36px;
  align-items: end;
  margin-bottom: 38px;
}

.intro {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1fr);
  gap: 64px;
  align-items: center;
}

.intro > p {
  color: #4c4b43;
  font-size: 20px;
}

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

.direction-card {
  min-height: 280px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 14px 40px rgba(43, 55, 44, 0.05);
}

.direction-card.feature {
  grid-column: span 2;
  background: var(--sage-dark);
  color: rgba(255, 255, 255, 0.78);
}

.direction-card.feature h3,
.direction-card.feature span {
  color: #fff;
}

.direction-card span {
  display: block;
  margin-bottom: 40px;
  color: var(--clay);
  font-weight: 800;
}

.direction-card p {
  margin-bottom: 0;
  color: inherit;
}

.studio-band {
  display: grid;
  grid-template-columns: minmax(300px, 0.86fr) minmax(320px, 1fr);
  gap: 70px;
  align-items: center;
  background: var(--sage);
  color: rgba(255, 255, 255, 0.78);
}

.studio-band h2,
.studio-band .eyebrow {
  color: #fff;
}

.studio-copy p:last-child {
  max-width: 640px;
  font-size: 19px;
}

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

.ritual-list div {
  min-height: 150px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.ritual-list b,
.ritual-list span {
  display: block;
}

.ritual-list b {
  margin-bottom: 10px;
  color: #fff;
  font-size: 24px;
}

.location-grid,
.price-grid,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.location-card,
.price-card,
details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.location-card {
  min-height: 250px;
  padding: 34px;
}

.location-card p {
  color: var(--clay);
  font-size: 20px;
  font-weight: 800;
}

.location-card span {
  display: block;
  max-width: 470px;
  margin-bottom: 28px;
  color: var(--muted);
}

.location-card a {
  color: var(--sage-dark);
  font-weight: 800;
}

.schedule-section {
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.74), rgba(251, 247, 239, 0)),
    var(--milk);
}

.schedule-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.75fr);
  gap: 22px;
  align-items: start;
}

.schedule-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 18px 50px rgba(43, 55, 44, 0.08);
}

.schedule-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--sage), var(--terracotta));
}

.schedule-card.accent::before {
  background: linear-gradient(90deg, var(--clay), var(--sage));
}

.schedule-card-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
  margin-bottom: 8px;
}

.schedule-card-head h3 {
  margin-bottom: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 38px;
}

.schedule-card-head > span {
  flex: 0 0 auto;
  padding: 8px 12px;
  border-radius: 999px;
  background: #f0eadf;
  color: var(--sage-dark);
  font-size: 13px;
  font-weight: 800;
}

.schedule-label {
  margin-bottom: 4px;
  color: var(--clay);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.schedule-address {
  margin-bottom: 24px;
  color: var(--muted);
  font-weight: 700;
}

.schedule-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.schedule-range {
  min-height: 38px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--sage-dark);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
}

.schedule-range.is-active {
  border-color: var(--sage-dark);
  background: var(--sage-dark);
  color: #fff;
}

.schedule-list {
  display: grid;
  gap: 12px;
}

.schedule-loading {
  padding: 22px;
  border: 1px dashed rgba(38, 59, 46, 0.22);
  border-radius: 8px;
  background: #fbf8f1;
  color: var(--muted);
  font-weight: 800;
}

.schedule-loading.error {
  color: var(--clay);
}

.day-line {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 18px;
  padding: 16px;
  border: 1px solid rgba(38, 59, 46, 0.1);
  border-radius: 8px;
  background: #fbf8f1;
}

.day-line b {
  color: var(--sage-dark);
}

.classes {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 10px;
}

.class-block {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 12px;
  align-items: start;
  min-height: 104px;
  padding: 14px;
  border: 1px solid rgba(38, 59, 46, 0.12);
  border-left: 4px solid var(--sage);
  border-radius: 8px;
  background: #fff;
  color: #4c4b43;
}

.class-block time {
  grid-row: span 3;
  min-width: 78px;
  padding: 8px 9px;
  border-radius: 8px;
  background: #f4eadf;
  color: var(--clay);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  white-space: nowrap;
}

.class-block strong,
.class-block small,
.class-block em {
  display: block;
}

.class-block strong {
  color: var(--sage-dark);
  font-size: 16px;
  line-height: 1.2;
}

.class-block small {
  width: fit-content;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(82, 108, 85, 0.1);
  color: var(--sage-dark);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.class-block em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  line-height: 1.35;
}

.class-block a,
.class-block button {
  grid-column: 2;
  width: fit-content;
  margin-top: 2px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--clay);
  font-size: 13px;
  font-family: inherit;
  font-weight: 900;
  cursor: pointer;
}

.class-block button:disabled {
  color: var(--muted);
  cursor: not-allowed;
}

.class-block.evening {
  border-left-color: var(--clay);
}

.class-block.dance {
  border-left-color: var(--terracotta);
}

.schedule-list.compact .day-line {
  grid-template-columns: 1fr;
}

.schedule-list.compact .classes {
  grid-template-columns: 1fr;
}

.schedule-note {
  margin-top: 18px;
  padding: 20px;
  border-radius: 8px;
  background: var(--sage-dark);
  color: rgba(255, 255, 255, 0.74);
}

.schedule-note b,
.schedule-note span {
  display: block;
}

.schedule-note b {
  margin-bottom: 8px;
  color: #fff;
  font-size: 20px;
}

.schedule-summary > p:not(.schedule-label) {
  color: var(--muted);
}

.price-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.price-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  min-height: 230px;
  padding: 26px;
}

.price-card.trial {
  background: var(--clay);
  color: #fff;
  box-shadow: var(--shadow);
}

.price-card.trial h3,
.price-card.trial p {
  color: #fff;
}

.price-card.trial .button.primary {
  margin-top: 20px;
  background: #fff;
  color: var(--clay);
  box-shadow: none;
}

.price-card p {
  color: var(--muted);
  font-weight: 800;
}

.price-card h3 {
  margin-bottom: 12px;
  font-size: 34px;
}

.price-card span {
  display: block;
  color: inherit;
}

.price-card__meta {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.price-card__meta li {
  width: fit-content;
  max-width: 100%;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(82, 108, 85, 0.1);
  color: var(--sage-dark);
  font-size: 12px;
  font-weight: 900;
}

.price-card.trial .price-card__meta li {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.price-card .button {
  min-height: 42px;
  padding: 11px 16px;
  border: 0;
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
}

.price-card__actions {
  display: grid;
  gap: 8px;
}

.price-card__help {
  width: fit-content;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--clay);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
}

.price-card.trial .price-card__help {
  color: #fff;
  opacity: 0.9;
}

.price-loading {
  grid-column: 1 / -1;
  padding: 24px;
  border: 1px dashed rgba(38, 59, 46, 0.22);
  border-radius: 8px;
  background: var(--paper);
  color: var(--muted);
  font-weight: 800;
}

.price-loading--note {
  padding: 18px 20px;
  background: #fbf8f1;
  font-size: 14px;
}

.price-loading.error {
  color: var(--clay);
}

details {
  padding: 24px 26px;
}

summary {
  cursor: pointer;
  color: var(--sage-dark);
  font-size: 19px;
  font-weight: 800;
}

details p {
  margin: 16px 0 0;
  color: var(--muted);
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) auto;
  gap: 40px;
  align-items: center;
  background: #efe5d7;
}

.contact-band p:not(.eyebrow) {
  max-width: 680px;
  color: #4c4b43;
  font-size: 19px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 7vw;
  background: var(--sage-dark);
  color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav {
    display: none;
  }

  .quick-facts,
  .direction-grid,
  .price-grid,
  .schedule-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .intro,
  .studio-band,
  .contact-band {
    grid-template-columns: 1fr;
  }

  .direction-card.feature {
    grid-column: span 2;
  }
}

@media (max-width: 680px) {
  .site-header {
    inset: 10px 10px auto;
    padding: 10px;
  }

  .header-action {
    padding: 9px 12px;
  }

  .hero {
    min-height: 92vh;
    padding: 112px 22px 64px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(251, 247, 239, 0.98), rgba(251, 247, 239, 0.72)),
      linear-gradient(0deg, rgba(35, 35, 31, 0.12), rgba(35, 35, 31, 0.02));
  }

  h1 {
    font-size: 46px;
  }

  h2 {
    font-size: 38px;
  }

  .quick-facts,
  .direction-grid,
  .location-grid,
  .price-grid,
  .faq-grid,
  .ritual-list,
  .schedule-grid {
    grid-template-columns: 1fr;
  }

  .quick-facts article,
  .section,
  .studio-band,
  .contact-band {
    padding-left: 22px;
    padding-right: 22px;
  }

  .direction-card.feature {
    grid-column: span 1;
  }

  .section-heading {
    display: block;
  }

  .schedule-card {
    padding: 22px;
  }

  .schedule-card-head {
    display: block;
  }

  .schedule-card-head h3 {
    margin-bottom: 12px;
    font-size: 32px;
  }

  .day-line {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 14px;
  }

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

  .class-block {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .class-block time {
    width: fit-content;
    min-width: 0;
    text-align: left;
  }

  .class-block a {
    grid-column: 1;
  }

  .class-block button {
    grid-column: 1;
  }

  .footer {
    flex-direction: column;
  }
}

.modal-open {
  overflow: hidden;
}

.booking-modal[hidden] {
  display: none;
}

.booking-modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 22px;
}

.booking-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(21, 28, 23, 0.48);
  backdrop-filter: blur(8px);
}

.booking-modal__panel {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  max-height: min(760px, 92vh);
  overflow: auto;
  padding: 30px;
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.booking-modal__panel--wide {
  width: min(980px, 100%);
  height: min(820px, 92vh);
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 18px;
  padding: 24px;
}

.booking-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--sage-dark);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.booking-modal__panel h2 {
  margin-bottom: 12px;
  font-size: 38px;
}

.booking-modal__meta {
  margin-bottom: 20px;
  color: var(--muted);
  font-weight: 700;
}

.booking-form {
  display: grid;
  gap: 14px;
}

.booking-form label {
  display: grid;
  gap: 7px;
  color: var(--sage-dark);
  font-weight: 900;
}

.booking-form input,
.booking-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  padding: 12px 14px;
}

.booking-form textarea {
  resize: vertical;
}

.booking-consent {
  grid-template-columns: auto 1fr;
  align-items: start;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.booking-consent input {
  width: auto;
  margin-top: 4px;
}

.booking-form__status {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.booking-form__status.success {
  color: var(--sage);
}

.booking-form__status.error {
  color: var(--clay);
}

.membership-sale-modal__head {
  padding-right: 46px;
}

.membership-sale-modal__head h2 {
  margin-bottom: 0;
}

.membership-sale-frame {
  width: 100%;
  height: 100%;
  min-height: 560px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8f8f8;
}

@media (max-width: 680px) {
  .booking-modal {
    padding: 10px;
  }

  .booking-modal__panel--wide {
    height: 94vh;
    padding: 18px;
  }

  .membership-sale-modal__head {
    padding-right: 42px;
  }

  .membership-sale-frame {
    min-height: 620px;
  }
}
