/* ---------- Design tokens ---------- */
:root {
  --cream: #f4efe5;
  --cream-tint: #ebe0cf;
  --paper: #f0e9db;
  --ink: #251f1a;
  --ink-soft: #5c5248;
  --line: #ddd0b9;
  --gold: #c1863f;
  --gold-dark: #9c6b30;
  --charcoal-deep: #1b1613;
  --gold-tint: #f2e2c5;
  --bronze: #8a5a34;
  --radius: 14px;
  --shadow: 0 12px 30px -14px rgba(27, 20, 14, 0.28);
  --container: 1140px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

h1, h2, h3 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; color: var(--ink-soft); }

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

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

ul { margin: 0; padding: 0; list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: #fff;
  padding: 10px 16px;
  z-index: 1000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus {
  left: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border: 1.5px solid transparent;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--gold);
  color: #fff;
}
.btn-primary:hover { background: var(--gold-dark); }

.btn-outline {
  background: transparent;
  border-color: var(--gold);
  color: var(--gold);
}
.btn-outline:hover { background: var(--gold-tint); }

.btn-outline-light {
  border-color: rgba(255,255,255,0.55);
  color: #fff;
}
.btn-outline-light:hover { background: rgba(255,255,255,0.1); }

.btn-lg {
  padding: 14px 30px;
  font-size: 1rem;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 239, 229, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  padding-bottom: 10px;
  gap: 20px;
}

.brand-logo {
  height: 54px;
  width: auto;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(37, 31, 26, 0.16);
}

.main-nav ul {
  display: flex;
  gap: 28px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.2s ease;
}
.nav-link:hover::after { width: 100%; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 88px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.55;
}
.hero-bg svg {
  width: 100%;
  height: 100%;
}
.hero-bg polyline {
  fill: var(--gold-tint);
  stroke: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.hero-inner {
  max-width: 620px;
}

.hero-slideshow {
  position: relative;
  aspect-ratio: 4 / 5;
  max-width: 420px;
  width: 100%;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}
.hero-slide.is-active {
  opacity: 1;
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-slide-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.hero-slide-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.hero-slide-dot.is-active {
  background: #fff;
  transform: scale(1.3);
}

.eyebrow, .section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 14px;
}

.hero-sub {
  font-size: 1.1rem;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 10px;
}

/* ---------- Sections ---------- */
.section {
  padding: 88px 0;
}
.section-tint {
  background: var(--cream-tint);
}
.section-dark {
  background: var(--charcoal-deep);
  color: #fff;
}
.section-dark p { color: rgba(255,255,255,0.78); }
.section-dark h1,
.section-dark h2,
.section-dark h3 { color: #fff; }

.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-lead {
  max-width: 620px;
  margin-top: -8px;
  margin-bottom: 48px;
}
.section-lead-light { color: rgba(255,255,255,0.78); }
.section-eyebrow-light { color: #eeddb8; }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 56px;
  align-items: center;
}

.about-points {
  margin-top: 24px;
  display: grid;
  gap: 14px;
}
.about-points li {
  padding-left: 26px;
  position: relative;
  color: var(--ink-soft);
}
.about-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bronze);
}

.about-card {
  background: var(--gold);
  color: #fff;
  border-radius: var(--radius);
  padding: 44px 36px;
  box-shadow: var(--shadow);
}
.about-card-label {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 600;
  color: #eeddb8;
  margin-bottom: 14px;
}
.about-card p {
  font-family: "Fraunces", serif;
  font-size: 1.4rem;
  color: #fff;
  margin: 0;
  line-height: 1.4;
}

/* Classes */
.class-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.class-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.class-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.class-card h3 { margin-bottom: 10px; }
.class-card p { margin: 0; font-size: 0.95rem; }

/* Schedule */
.schedule-table {
  display: grid;
  gap: 2px;
  background: var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}
.schedule-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1.4fr 1.6fr;
  background: #fff;
}
.schedule-head {
  background: var(--gold);
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}
.schedule-head div { padding: 16px 20px; }
.schedule-row > div {
  padding: 18px 20px;
  font-size: 0.95rem;
  color: var(--ink-soft);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.schedule-row .day {
  font-family: "Fraunces", serif;
  font-weight: 600;
  color: var(--ink);
  font-size: 1.05rem;
}
.schedule-row .time {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}
.schedule-row-off { background: var(--cream-tint); }
.off-day {
  grid-column: 2 / -1;
  font-style: italic;
  color: var(--ink-soft);
}
.single-session {
  grid-column: 2 / -1;
  color: var(--ink-soft);
}
.single-session .time { margin-bottom: 4px; }

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1080px;
  margin: 0 auto;
}
.price-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  position: relative;
}
.price-card-featured {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
  box-shadow: var(--shadow);
}
.price-card-featured h3,
.price-card-featured .price { color: #fff; }
.price-card-featured .price-note { color: #eeddb8; }
.price-card-featured .price-desc { color: rgba(255,255,255,0.82); }

.price-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bronze);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 16px;
  border-radius: 999px;
}
.price {
  font-family: "Fraunces", serif;
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--ink);
  margin: 12px 0 0;
}
.price-original {
  font-family: "Jost", sans-serif;
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: line-through;
  opacity: 0.7;
  margin-right: 10px;
}
.price-card-featured .price-original { color: rgba(255,255,255,0.65); }
.price-note {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: 16px;
}
.price-desc { font-size: 0.92rem; margin: 0; }
.price-card-btn { margin-top: 20px; }

.pricing-footnote {
  text-align: center;
  margin: 40px auto 0;
  font-size: 0.9rem;
  max-width: 520px;
}

/* Location */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.location-address {
  font-family: "Fraunces", serif;
  font-size: 1.2rem;
  color: var(--ink);
  margin-bottom: 24px;
}
.location-map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3.2;
}
.location-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Booking */
.booking-inner { max-width: 700px; }
.booking-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 8px;
}

.mindbody-widget-slot {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px;
  margin-top: 40px;
  color: var(--ink);
}

/* Standalone landing page (e.g. QR-code intro-offer page) */
.header-inner-center {
  justify-content: center;
}
.narrow-container {
  max-width: 620px;
}

.booking-contact {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.booking-contact h3 { margin-bottom: 10px; }
.booking-contact .section-lead-light {
  max-width: 480px;
  margin: 0 auto 24px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--charcoal-deep);
  color: rgba(255,255,255,0.85);
  padding-top: 64px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-logo {
  height: 46px;
  width: auto;
  border-radius: 8px;
  margin-bottom: 14px;
}
.footer-brand p { color: rgba(255,255,255,0.65); font-size: 0.9rem; }
.footer-links h4, .footer-contact h4 {
  color: #fff;
  font-family: "Fraunces", serif;
  font-size: 1rem;
  margin-bottom: 16px;
}
.footer-links ul, .footer-contact ul { display: grid; gap: 10px; }
.footer-links a, .footer-contact a {
  color: rgba(255,255,255,0.7);
  font-size: 0.92rem;
}
.footer-links a:hover, .footer-contact a:hover { color: #fff; }
.footer-contact li { font-size: 0.92rem; color: rgba(255,255,255,0.7); }

.footer-bottom {
  padding: 22px 0;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .about-grid, .location-grid, .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-slideshow { margin-top: 40px; }
  .class-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); max-width: 620px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .main-nav {
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .main-nav.is-open { max-height: 400px; }
  .main-nav ul {
    flex-direction: column;
    padding: 10px 24px 24px;
    gap: 4px;
  }
  .main-nav a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }
  .nav-toggle { display: flex; }
  .header-actions .btn-primary { display: none; }

  .class-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }

  .schedule-row { grid-template-columns: 1fr; }
  .schedule-head { display: none; }
  .schedule-row > div { padding: 10px 20px; }
  .schedule-row .day { padding-top: 18px; }
  .off-day { grid-column: auto; padding-bottom: 18px !important; }
  .single-session { grid-column: auto; padding-bottom: 18px !important; }
  .schedule-row > div::before {
    content: attr(data-label);
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 2px;
  }
  .schedule-row .day::before { content: none; }
}

@media (max-width: 500px) {
  .hero { padding: 64px 0 56px; }
  .section { padding: 64px 0; }
  .brand-logo { height: 42px; }
  .booking-actions { flex-direction: column; align-items: stretch; }
}
