/* Happy Place Yoga — daylight design system
   Linen ground · Spruce ink · Moss support · Honey sun accent */

:root {
  --linen: #FBF7F0;
  --sand: #F0E7D8;
  --sand-deep: #E6D9C4;
  --spruce: #2C3B33;
  --spruce-soft: #44554B;
  --moss: #5F7360;
  --honey: #D9A441;
  --honey-deep: #C08F2F;
  --white: #FFFFFF;
  --danger: #A65B4B;
  --ring: rgba(217, 164, 65, 0.45);

  --font-display: "Young Serif", "Iowan Old Style", Georgia, serif;
  --font-body: "Nunito Sans", "Avenir Next", "Segoe UI", sans-serif;

  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 10px 30px rgba(44, 59, 51, 0.08);
  --wrap: 1120px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--linen);
  color: var(--spruce);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.12;
  color: var(--spruce);
  text-wrap: balance;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.6rem, 6.5vw, 4.4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
a { color: var(--spruce); }
img, svg { max-width: 100%; }

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 200;
  background: var(--spruce); color: var(--linen);
  padding: 10px 18px; border-radius: 999px; text-decoration: none;
}
.skip-link:focus { left: 8px; }

.eyebrow {
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--moss); margin: 0 0 0.9em;
}
.eyebrow-light { color: var(--honey); }
.accent { color: var(--honey-deep); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 800; font-size: 0.98rem;
  padding: 12px 22px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; text-decoration: none; line-height: 1.25; text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; }
.btn-primary { background: var(--spruce); color: var(--linen); }
.btn-primary:hover { background: var(--spruce-soft); }
.btn-primary[disabled] { opacity: 0.5; cursor: not-allowed; transform: none; }
/* 3D golden call-to-action */
.btn-cta {
  background: linear-gradient(180deg, #EFC468 0%, var(--honey) 55%, var(--honey-deep) 100%);
  color: var(--spruce);
  border: none;
  box-shadow: 0 4px 0 0 #9A7223, 0 10px 18px rgba(192, 143, 47, 0.35);
}
.btn-cta:hover {
  transform: translateY(-2px);
  background: linear-gradient(180deg, #F3CC79 0%, #E2B053 55%, var(--honey-deep) 100%);
  box-shadow: 0 6px 0 0 #9A7223, 0 14px 24px rgba(192, 143, 47, 0.45);
}
.btn-cta:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 0 #9A7223, 0 4px 10px rgba(192, 143, 47, 0.3);
}
.btn-ghost { background: transparent; color: var(--spruce); border-color: var(--spruce); }
.btn-ghost:hover { background: rgba(44, 59, 51, 0.06); }
.btn-honey { background: var(--honey); color: var(--spruce); }
.btn-honey:hover { background: #E2B053; }
.btn-light { background: var(--linen); color: var(--spruce); }
.btn-lg { padding: 15px 28px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.linklike {
  background: none; border: none; padding: 0; font: inherit; font-weight: 700;
  color: var(--moss); text-decoration: underline; cursor: pointer;
}
.linklike:focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; gap: 28px;
  padding: 14px clamp(18px, 4vw, 44px);
  background: rgba(251, 247, 240, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--sand-deep);
}
.wordmark { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--spruce); }
.mark { width: 34px; height: 34px; }
.wordmark-text { font-family: var(--font-display); font-size: 1.18rem; white-space: nowrap; }
.wordmark-text em { font-style: normal; color: var(--honey-deep); }
.site-nav { display: flex; gap: 22px; margin-left: auto; }
.site-nav a {
  text-decoration: none; font-weight: 700; font-size: 0.95rem; color: var(--spruce-soft);
  padding: 4px 2px; border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--spruce); border-bottom-color: var(--honey); }
.nav-cta { flex-shrink: 0; }
.nav-toggle {
  display: none; margin-left: auto; background: none; border: none; cursor: pointer;
  width: 44px; height: 44px; border-radius: 12px; padding: 10px;
}
.nav-toggle span { display: block; height: 3px; background: var(--spruce); border-radius: 2px; margin: 5px 0; }
.mobile-nav[hidden] { display: none; }
.mobile-nav {
  position: sticky; top: 71px; z-index: 99;
  display: flex; flex-direction: column; gap: 4px;
  background: var(--linen); border-bottom: 1px solid var(--sand-deep);
  padding: 12px clamp(18px, 4vw, 44px) 20px;
}
.mobile-nav a { text-decoration: none; font-weight: 700; padding: 10px 4px; }
.mobile-nav .btn { margin-top: 8px; }

@media (max-width: 900px) {
  .site-nav, .nav-cta { display: none; }
  .nav-toggle { display: block; }
}

/* ---------- hero ---------- */
.hero {
  display: grid; grid-template-columns: 1.15fr 0.85fr; align-items: center;
  gap: clamp(24px, 5vw, 72px);
  max-width: var(--wrap); margin: 0 auto;
  padding: clamp(40px, 7vw, 96px) clamp(18px, 4vw, 44px) clamp(30px, 5vw, 70px);
}
.hero-copy .lede { font-size: 1.15rem; max-width: 34em; color: var(--spruce-soft); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 22px; }
.hero-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; }
.hero-chips li {
  background: var(--sand); border-radius: 999px; padding: 7px 15px;
  font-size: 0.85rem; font-weight: 700; color: var(--spruce-soft);
}
.hero-art { text-align: center; }
.hero-art svg { width: min(100%, 380px); }
.hero-note { margin-top: 14px; color: var(--spruce-soft); font-size: 0.95rem; }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .hero-art svg { width: min(70%, 300px); }
}

.photo-band {
  max-width: var(--wrap); margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 44px);
}
.photo-band img {
  display: block; width: 100%; height: auto;
  border-radius: var(--radius-lg);
}

/* ---------- sections ---------- */
.section {
  max-width: var(--wrap); margin: 0 auto;
  padding: clamp(48px, 7vw, 96px) clamp(18px, 4vw, 44px);
}
.section-band {
  max-width: none;
  background: var(--sand);
}
.section-band > * { max-width: var(--wrap); margin-left: auto; margin-right: auto; }
.section-head { max-width: 46em; margin-bottom: clamp(28px, 4vw, 48px); }
.section-intro { color: var(--spruce-soft); font-size: 1.05rem; }

/* ---------- class cards ---------- */
.class-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 3vw, 32px); }
@media (max-width: 820px) { .class-grid { grid-template-columns: 1fr; } }
.class-card {
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.class-card-top { padding: 28px 30px 22px; }
.class-card-top--beginners { background: var(--spruce); }
.class-card-top--beginners h3, .class-card-top--beginners .class-when { color: var(--linen); }
.class-card-top--flow { background: var(--honey); }
.class-card-top--flow h3, .class-card-top--flow .class-when { color: var(--spruce); }
.class-card-top h3 { font-size: 1.7rem; margin-bottom: 0.35em; }
.class-when { margin: 0; font-size: 0.98rem; }
.class-tag {
  display: inline-block; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em;
  text-transform: uppercase; padding: 5px 12px; border-radius: 999px; margin-bottom: 14px;
}
.class-card-top--beginners .class-tag { background: rgba(251, 247, 240, 0.18); color: var(--linen); }
.class-card-top--flow .class-tag { background: rgba(44, 59, 51, 0.12); color: var(--spruce); }
.class-card-body { padding: 26px 30px 30px; display: flex; flex-direction: column; flex: 1; }
.class-points { margin: 0 0 22px; padding-left: 20px; color: var(--spruce-soft); }
.class-points li { margin-bottom: 6px; }
.class-foot {
  margin-top: auto; display: flex; align-items: center; justify-content: space-between;
  gap: 14px; flex-wrap: wrap;
}
.price-chip {
  background: var(--sand); padding: 8px 14px; border-radius: 999px;
  font-weight: 800; font-size: 0.88rem;
}

/* ---------- price strip ---------- */
.price-strip { background: var(--spruce); color: var(--linen); }
.price-strip-inner {
  max-width: var(--wrap); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
  padding: 34px clamp(18px, 4vw, 44px);
  font-size: 0.98rem;
}
.price-strip strong { color: var(--honey); }
@media (max-width: 820px) { .price-strip-inner { grid-template-columns: 1fr; gap: 14px; } }

/* ---------- booking layout ---------- */
.booking-layout {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(18px, 3vw, 32px);
  align-items: start;
}
@media (max-width: 920px) { .booking-layout { grid-template-columns: 1fr; } }
.card {
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); padding: clamp(20px, 3vw, 30px);
}

/* calendar */
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.cal-head h3 { margin: 0; font-size: 1.3rem; }
.cal-nav {
  width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--sand-deep);
  background: var(--white); font-size: 1.1rem; cursor: pointer; color: var(--spruce);
}
.cal-nav:hover:not([disabled]) { border-color: var(--spruce); }
.cal-nav[disabled] { opacity: 0.35; cursor: default; }
.cal-nav:focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-dow {
  text-align: center; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em;
  color: var(--moss); text-transform: uppercase; padding: 6px 0;
}
.cal-cell {
  min-height: 58px; border-radius: 12px; padding: 5px;
  font-size: 0.8rem; color: var(--spruce-soft);
  display: flex; flex-direction: column; align-items: stretch; gap: 3px;
  background: var(--linen);
}
.cal-cell.is-empty { background: transparent; }
.cal-cell .daynum { font-weight: 700; font-size: 0.75rem; padding-left: 3px; }
.cal-cell.is-past { opacity: 0.45; }
.session-pill {
  border: none; border-radius: 8px; padding: 4px 6px; font-family: var(--font-body);
  font-size: 0.72rem; font-weight: 800; line-height: 1.25; cursor: pointer;
  text-align: left; width: 100%;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.session-pill:hover:not([disabled]) { transform: scale(1.04); box-shadow: 0 3px 10px rgba(44,59,51,0.18); }
.session-pill:focus-visible { outline: 3px solid var(--ring); outline-offset: 1px; }
.session-pill--beginners { background: var(--spruce); color: var(--linen); }
.session-pill--flow { background: var(--honey); color: var(--spruce); }
.session-pill.is-selected { box-shadow: 0 0 0 3px var(--white), 0 0 0 6px var(--moss); }
.session-pill .pill-meta { display: block; font-weight: 600; font-size: 0.66rem; opacity: 0.85; }
.session-pill.is-full { background: var(--sand-deep); color: var(--spruce-soft); cursor: not-allowed; }
.session-pill.is-low .pill-meta { color: inherit; }
.cal-legend {
  display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 16px;
  font-size: 0.82rem; font-weight: 700; color: var(--spruce-soft);
}
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; }
.dot-beginners { background: var(--spruce); }
.dot-flow { background: var(--honey); }
.cal-select-label { display: block; margin: 18px 0 6px; font-weight: 700; font-size: 0.9rem; }

/* form */
.field { margin-bottom: 16px; }
.field label, .plan-field legend { display: block; font-weight: 800; font-size: 0.92rem; margin-bottom: 6px; }
.field label small { font-weight: 600; color: var(--moss); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.input {
  width: 100%; padding: 12px 14px; border-radius: 12px;
  border: 2px solid var(--sand-deep); background: var(--linen);
  font-family: var(--font-body); font-size: 1rem; color: var(--spruce);
}
.input:focus { outline: none; border-color: var(--honey); box-shadow: 0 0 0 3px var(--ring); }
textarea.input { resize: vertical; }
.plan-field { border: none; padding: 0; margin: 0 0 16px; }
.radio {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 12px 14px; border: 2px solid var(--sand-deep); border-radius: 12px;
  margin-bottom: 8px; cursor: pointer; background: var(--linen);
}
.radio:has(input:checked) { border-color: var(--moss); background: var(--white); }
.radio input { margin-top: 5px; accent-color: var(--moss); }
.radio small { color: var(--spruce-soft); font-weight: 600; }
.picked {
  border-radius: 14px; padding: 14px 16px; margin-bottom: 18px;
  background: var(--sand); font-size: 0.95rem; line-height: 1.55;
}
.picked[data-empty="true"] { border: 2px dashed var(--sand-deep); background: var(--linen); }
.picked strong { display: block; font-size: 1.02rem; }
.picked .picked-spots { font-weight: 800; color: var(--moss); }
.picked-list { list-style: none; margin: 8px 0 10px; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.picked-list li {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: var(--white); border-radius: 10px; padding: 8px 12px; font-size: 0.9rem;
}
.picked-list .picked-spots { font-style: normal; font-weight: 700; }
.picked-remove {
  border: none; background: var(--sand); color: var(--spruce);
  width: 28px; height: 28px; border-radius: 50%; font-size: 1.05rem;
  cursor: pointer; flex-shrink: 0; line-height: 1;
}
.picked-remove:hover { background: var(--sand-deep); }
.picked-remove:focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; }
.success-classes { padding-left: 20px; margin: 0 0 10px; }
.success-classes li { margin-bottom: 4px; }
.form-error {
  background: #F6E7E2; color: var(--danger); border-radius: 12px;
  padding: 12px 14px; font-weight: 700; font-size: 0.93rem;
}
.form-smallprint { font-size: 0.82rem; color: var(--spruce-soft); margin-top: 12px; margin-bottom: 0; }

/* success */
.success { text-align: left; }
.success-mark { width: 54px; height: 54px; margin-bottom: 10px; }
.success-list { padding-left: 20px; color: var(--spruce-soft); }
.success-list li { margin-bottom: 5px; }
.success-contact { font-size: 0.93rem; }

/* ---------- first visit steps ---------- */
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.5vw, 28px);
}
@media (max-width: 980px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: var(--linen); border-radius: var(--radius); padding: 24px;
}
.step h3 { font-size: 1.08rem; margin-bottom: 0.5em; }
.step p { margin: 0; font-size: 0.95rem; color: var(--spruce-soft); }

/* ---------- about ---------- */
.about-layout {
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(24px, 4vw, 48px);
  align-items: start;
}
@media (max-width: 920px) { .about-layout { grid-template-columns: 1fr; } }
.teacher-card {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--white); border-radius: var(--radius); padding: 20px;
  box-shadow: var(--shadow); margin-top: 26px;
}
.teacher-photo { flex-shrink: 0; width: 148px; }
.teacher-photo img {
  display: block; width: 100%; aspect-ratio: 1 / 1.2; object-fit: cover;
  object-position: 50% 22%; border-radius: 74px 74px 12px 12px;
  border: 2px solid var(--sand-deep);
}
@media (max-width: 560px) {
  .teacher-card { flex-direction: column; }
  .teacher-photo { width: 180px; }
}
.teacher-label { font-weight: 800; margin-bottom: 4px; }
.teacher-text { margin: 0; font-size: 0.93rem; color: var(--spruce-soft); }
.facts { margin: 18px 0 22px; }
.facts > div { display: grid; grid-template-columns: 82px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--sand); }
.facts dt { font-weight: 800; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--moss); }
.facts dd { margin: 0; font-size: 0.95rem; }

/* ---------- faqs ---------- */
.faq-list { max-width: 760px; }
.faq-list details {
  background: var(--white); border-radius: var(--radius); margin-bottom: 12px;
  box-shadow: var(--shadow); overflow: hidden;
}
.faq-list summary {
  cursor: pointer; font-weight: 800; font-size: 1.02rem;
  padding: 18px 22px; list-style: none; position: relative; padding-right: 52px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font-family: var(--font-display); font-size: 1.4rem; color: var(--honey-deep);
}
.faq-list details[open] summary::after { content: "\2013"; }
.faq-list summary:focus-visible { outline: 3px solid var(--ring); outline-offset: -3px; }
.faq-list details p { padding: 0 22px 20px; margin: 0; color: var(--spruce-soft); }

/* ---------- contact ---------- */
.contact-card {
  background: var(--spruce); color: var(--linen); border-radius: var(--radius-lg);
  padding: clamp(30px, 5vw, 56px);
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(24px, 4vw, 48px);
  align-items: center;
}
@media (max-width: 820px) { .contact-card { grid-template-columns: 1fr; } }
.contact-card h2 { color: var(--linen); }
.contact-card p { color: rgba(251, 247, 240, 0.85); }
.contact-actions { display: flex; flex-direction: column; gap: 12px; }
.contact-email { color: var(--honey); font-weight: 800; text-align: center; }

/* ---------- footer ---------- */
.site-footer { background: var(--linen); border-top: 1px solid var(--sand-deep); }
.footer-main {
  max-width: var(--wrap); margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(24px, 4vw, 48px);
  padding: clamp(36px, 5vw, 60px) clamp(18px, 4vw, 44px) 24px;
}
@media (max-width: 820px) { .footer-main { grid-template-columns: 1fr; gap: 20px; } }
.footer-brand .wordmark-text { font-size: 1.3rem; }
.footer-brand p { color: var(--spruce-soft); font-size: 0.92rem; margin-top: 10px; max-width: 30em; }
.footer-col h4 {
  font-family: var(--font-body); font-weight: 800; font-size: 0.78rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--moss); margin: 0 0 10px;
}
.footer-col p { font-size: 0.93rem; color: var(--spruce-soft); }
.footer-col a { color: var(--spruce); font-weight: 700; }
.footer-social a { color: var(--spruce); }
.footer-legal {
  max-width: var(--wrap); margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 44px) 30px;
  font-size: 0.8rem; color: var(--spruce-soft);
}

/* sticky mobile booking bar */
.sticky-cta { display: none; }
@media (max-width: 820px) {
  .sticky-cta {
    position: fixed; left: 0; right: 0; bottom: 0;
    z-index: 95;
    display: flex; align-items: center; justify-content: center;
    padding: 9px 16px calc(9px + env(safe-area-inset-bottom));
    border-radius: 0;
    font-family: var(--font-body); font-weight: 800; font-size: 0.95rem;
    text-decoration: none; color: var(--spruce);
    background: linear-gradient(180deg, #EFC468 0%, var(--honey) 60%, var(--honey-deep) 100%);
    box-shadow: 0 -4px 14px rgba(44, 59, 51, 0.18);
  }
  .sticky-cta:active { filter: brightness(0.96); }
  body { padding-bottom: 58px; }
}

/* selection toast */
.toast {
  position: fixed; left: 50%; transform: translateX(-50%);
  bottom: calc(24px + env(safe-area-inset-bottom));
  z-index: 96;
  background: var(--spruce); color: var(--linen);
  padding: 12px 22px; border-radius: 999px;
  font-weight: 800; font-size: 0.98rem;
  box-shadow: 0 10px 26px rgba(44, 59, 51, 0.35);
  pointer-events: none; white-space: nowrap;
}
.toast strong { color: var(--honey); }
@media (max-width: 820px) {
  .toast { bottom: calc(56px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: no-preference) {
  .toast { animation: toast-pop 0.25s ease; }
  @keyframes toast-pop {
    from { opacity: 0; transform: translateX(-50%) translateY(10px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
  }
}

/* gentle reveal */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy, .hero-art { animation: rise 0.7s ease both; }
  .hero-art { animation-delay: 0.12s; }
  @keyframes rise {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: none; }
  }
}
