:root {
  --paper: #fbf8f2;
  --warm-paper: #f7efe6;
  --mist: #eef2ea;
  --sage: #77836d;
  --sage-dark: #56644e;
  --sage-soft: #d7dece;
  --clay: #b98266;
  --peach: #f0d6c4;
  --ink: #272a22;
  --muted: #6f7266;
  --line: rgba(83, 83, 70, 0.16);
  --shadow: 0 18px 45px rgba(60, 53, 42, 0.11);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", "Avenir Next", Helvetica, Arial, sans-serif;
  --container: 980px;
  --wide-container: 1120px;
  --header-h: 71px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 18px);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.modal-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

.section-pad {
  padding: 64px 0;
}

.centered {
  text-align: center;
}

.centered-title {
  margin: 6px auto 32px;
  text-align: center;
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 500;
  line-height: 1.05;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  color: var(--clay);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

.section-label.centered {
  justify-content: center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: grid;
  grid-template-columns: minmax(210px, 1fr) auto minmax(136px, 1fr);
  align-items: center;
  gap: clamp(16px, 2.2vw, 32px);
  padding: 0 clamp(28px, 4vw, 58px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(47, 42, 35, 0.07);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
}

.brand-orb {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 45% 45%, rgba(255, 255, 255, 0.72), transparent 36%),
    linear-gradient(135deg, #b99975, #e2ceb4 46%, #a88c6e);
  filter: blur(0.4px);
  opacity: 0.95;
}

.brand-copy {
  display: grid;
  gap: 2px;
  opacity: 0.92;
  user-select: none;
}

.brand-copy span {
  font-family: var(--serif);
  font-size: 23px;
  line-height: 1;
}

.brand-copy small {
  font-size: 9px;
  color: var(--muted);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
  justify-content: center;
  white-space: nowrap;
}

.nav-link {
  position: relative;
  padding: 26px 0 24px;
  color: #292b25;
  font-size: 13px;
  font-weight: 500;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 19px;
  width: 0;
  height: 1px;
  background: var(--clay);
  transform: translateX(-50%);
  transition: width 180ms ease;
}

.nav-link:hover::after,
.nav-link.is-active::after {
  width: 100%;
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

.header-cta {
  justify-self: end;
  min-width: 103px;
  color: #fff;
  background: var(--sage);
  box-shadow: 0 8px 20px rgba(92, 103, 80, 0.16);
}

.btn-primary {
  color: #fff;
  background: var(--sage);
  box-shadow: 0 12px 25px rgba(88, 100, 78, 0.16);
}

.btn-light {
  color: var(--sage-dark);
  background: #fff;
  box-shadow: 0 12px 25px rgba(45, 36, 28, 0.16);
}

.btn-small {
  min-height: 33px;
  padding: 0 24px;
  font-size: 11px;
}

.btn-form {
  min-height: 36px;
  padding: 0 22px;
}

.header-cta:hover,
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(76, 70, 56, 0.18);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  justify-self: end;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}

.menu-toggle span {
  width: 17px;
  height: 2px;
  border-radius: 10px;
  background: var(--sage-dark);
}

.hero {
  position: relative;
  width: min(var(--wide-container), calc(100% - 48px));
  min-height: 376px;
  margin: 0 auto;
  overflow: hidden;
  isolation: isolate;
  border-radius: 0 0 8px 8px;
  background:
    linear-gradient(90deg, rgba(251, 248, 242, 0.99) 0%, rgba(251, 248, 242, 0.96) 36%, rgba(251, 248, 242, 0.64) 50%, rgba(251, 248, 242, 0.08) 71%, rgba(251, 248, 242, 0) 100%),
    #f5efe5;
}

.hero::after {
  content: "";
  position: absolute;
  left: -5%;
  right: -5%;
  bottom: -65px;
  height: 92px;
  z-index: 2;
  background: var(--paper);
  border-radius: 50% 50% 0 0 / 80% 80% 0 0;
}

.hero-photo {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(850px, 72%);
  z-index: -1;
  background-image: url("assets/hero-yoga.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center right;
}

.hero-left {
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
  width: 210px;
  height: 100%;
  object-fit: cover;
  opacity: 0.58;
  -webkit-mask-image: linear-gradient(90deg, #000 68%, transparent);
  mask-image: linear-gradient(90deg, #000 68%, transparent);
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(430px, calc(100% - 48px));
  margin-left: clamp(48px, 8vw, 98px);
  padding-top: 70px;
}

.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: 68px;
  font-weight: 500;
  line-height: 0.98;
}

.hero p {
  max-width: 320px;
  margin: 18px 0 24px;
  color: #3d4138;
  font-size: 17px;
  line-height: 1.45;
}

.philosophy {
  position: relative;
  padding-top: 54px;
  padding-bottom: 58px;
  background:
    radial-gradient(circle at 86% 11%, rgba(230, 214, 196, 0.28), transparent 28%),
    var(--paper);
}

.philosophy-grid {
  display: grid;
  grid-template-columns: minmax(285px, 0.86fr) minmax(0, 1.14fr);
  gap: 58px;
  align-items: center;
}

.intro-copy h2 {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 500;
  line-height: 1.06;
}

.intro-copy p:not(.section-label) {
  max-width: 440px;
  margin: 0 0 18px;
  color: #3d4038;
  font-size: 13px;
  line-height: 1.62;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--sage-dark);
  font-size: 12px;
  font-weight: 600;
  transition: color 180ms ease, transform 180ms ease;
}

.text-link::after {
  content: "→";
  font-size: 17px;
  line-height: 1;
}

.text-link:hover {
  color: var(--clay);
  transform: translateX(3px);
}

.mini-leaf,
.mini-lotus {
  width: 24px;
  height: 24px;
  opacity: 0.75;
}

.mini-leaf {
  background:
    radial-gradient(ellipse at 80% 30%, transparent 46%, #c6ab98 48%, transparent 52%),
    radial-gradient(ellipse at 30% 78%, transparent 46%, #c6ab98 48%, transparent 52%);
  transform: rotate(-25deg);
}

.mini-lotus {
  position: relative;
}

.mini-lotus::before,
.mini-lotus::after {
  content: "";
  position: absolute;
  inset: 7px 2px 2px;
  border: 1px solid #c6ab98;
  border-top: 0;
  border-radius: 0 0 50% 50%;
  transform: rotate(-22deg);
}

.mini-lotus::after {
  transform: rotate(22deg);
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
  gap: 0;
}

.pillar-card {
  position: relative;
  min-height: 168px;
  padding: 6px 24px 0;
  text-align: center;
}

.pillar-card + .pillar-card {
  border-left: 1px solid rgba(111, 104, 91, 0.28);
}

.pillar-icon {
  display: grid;
  place-items: center;
  width: 82px;
  height: 70px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: rgba(228, 212, 199, 0.64);
}

.pillar-card-muted .pillar-icon {
  color: #fff;
  background: rgba(119, 131, 109, 0.65);
}

.pillar-card-warm .pillar-icon {
  background: rgba(232, 193, 172, 0.72);
}

.pillar-icon svg {
  width: 36px;
  height: 36px;
  color: #8f9784;
}

.pillar-card-muted svg {
  color: rgba(255, 255, 255, 0.86);
}

.pillar-card-warm svg {
  color: #b98266;
}

.pillar-icon path,
.line-icon path,
.line-icon circle,
.contact-icon path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pillar-card h3 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
}

.pillar-card p {
  margin: 0 auto;
  max-width: 175px;
  color: #33382f;
  font-size: 12px;
  line-height: 1.48;
}

.retreats {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, #eff3eb 0%, #eef2ea 72%, #f6f4ed 100%);
}

.retreats.section-pad {
  padding-top: 54px;
  padding-bottom: 58px;
}

.retreats .section-label {
  margin-bottom: 2px;
}

.retreats .centered-title {
  margin-top: 0;
  margin-bottom: 30px;
  font-size: 36px;
}

.retreat-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.retreat-card {
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 38px rgba(75, 83, 67, 0.08);
  transition: transform 190ms ease, box-shadow 190ms ease;
}

.retreat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 45px rgba(75, 83, 67, 0.15);
}

.retreat-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 226 / 112;
  object-fit: cover;
}

.retreat-card div {
  padding: 16px 18px 18px;
}

.retreat-card h3 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.12;
}

.retreat-card p {
  min-height: 64px;
  margin: 0 0 12px;
  color: #42463b;
  font-size: 12px;
  line-height: 1.48;
}

.action-row {
  margin-top: 28px;
}

.retreat-leaf {
  position: absolute;
  right: 18px;
  bottom: 24px;
  width: 152px;
  color: rgba(125, 137, 112, 0.28);
}

.retreat-leaf path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.classes {
  background: #fffdfa;
}

.classes.section-pad {
  padding-top: 62px;
  padding-bottom: 62px;
}

.classes-grid {
  display: grid;
  grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.58fr);
  gap: 48px;
  align-items: start;
}

.classes .intro-copy h2 {
  margin-bottom: 14px;
  font-size: 34px;
}

.classes .intro-copy p:not(.section-label) {
  margin-bottom: 16px;
  font-size: 13px;
  line-height: 1.58;
}

.schedule {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: stretch;
  overflow: hidden;
  border-radius: 8px;
  background: #fbf5ed;
  border: 1px solid rgba(222, 209, 194, 0.68);
}

.day-column {
  position: relative;
  min-height: 164px;
  padding: 14px 10px 28px;
  text-align: center;
  background: rgba(255, 255, 255, 0.4);
}

.day-column + .day-column {
  border-left: 4px solid #fff;
}

.day-column h3 {
  margin: 0 0 12px;
  color: var(--clay);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.class-slot {
  display: grid;
  gap: 2px;
  margin-bottom: 12px;
  color: #34382f;
  font-size: 11px;
  line-height: 1.24;
}

.class-slot time {
  color: #848475;
  font-weight: 500;
}

.class-slot strong {
  font-size: 11px;
  font-weight: 800;
}

.class-slot span {
  font-family: var(--serif);
  font-size: 12px;
  font-style: italic;
}

.muted-slot {
  margin-top: 10px;
  color: var(--clay);
}

.slot-icon {
  position: absolute;
  left: 50%;
  bottom: 7px;
  color: rgba(185, 130, 102, 0.58);
  font-size: 18px;
  transform: translateX(-50%);
}

.schedule-note {
  grid-column: 1 / -1;
  margin: 0;
  padding: 10px 14px;
  color: #b98266;
  font-size: 11px;
  background: #fff7ef;
  border-top: 1px solid rgba(222, 209, 194, 0.68);
}

.testimonials {
  padding: 52px 0 48px;
  background:
    radial-gradient(circle at 9% 10%, rgba(247, 233, 216, 0.85), transparent 34%),
    linear-gradient(90deg, #fbefe4 0%, #fff7ef 46%, #f9ecdf 100%);
}

.testimonial-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: center;
}

.testimonial {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 14px;
  align-items: center;
  opacity: 0.72;
  transition: opacity 180ms ease, transform 180ms ease;
}

.testimonial.is-active {
  opacity: 1;
  transform: translateY(-2px);
}

.testimonial img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial blockquote {
  margin: 0 0 5px;
  font-family: var(--serif);
  font-size: 15px;
  font-style: italic;
  font-weight: 500;
  line-height: 1.24;
}

.testimonial cite {
  grid-column: 2;
  color: #4e5148;
  font-size: 12px;
  font-style: normal;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 18px;
}

.dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 1px solid rgba(90, 95, 82, 0.45);
  border-radius: 50%;
  background: transparent;
}

.dot.is-active {
  background: var(--sage);
  border-color: var(--sage);
}

.care-cta {
  background:
    linear-gradient(90deg, rgba(104, 82, 54, 0.7), rgba(128, 95, 58, 0.82) 48%, rgba(90, 72, 45, 0.32)),
    url("assets/cta-candle.png") right center / auto 100% no-repeat,
    #8c724c;
  color: #fff;
}

.care-inner {
  min-height: 142px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.care-cta h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 500;
  line-height: 1.08;
}

.care-cta p {
  max-width: 480px;
  margin: 8px 0 0;
  font-size: 15px;
  font-weight: 600;
}

.contact-strip {
  padding: 34px 0;
  background: #fffdfa;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 42px;
  align-items: center;
}

.newsletter {
  display: grid;
  grid-template-columns: 50px minmax(180px, 0.72fr) minmax(220px, 1fr);
  gap: 16px;
  align-items: center;
}

.contact-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: #8b8c80;
  background: #f3eadf;
}

.contact-icon svg {
  width: 26px;
  height: 26px;
}

.newsletter h2 {
  margin: 0 0 4px;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
}

.newsletter p {
  margin: 0;
  color: #5b5f52;
  font-size: 12px;
  line-height: 1.45;
}

.newsletter-form {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}

.newsletter-form input {
  width: 100%;
  height: 40px;
  padding: 0 16px;
  border: 1px solid #d7cabd;
  border-radius: 8px;
  color: var(--ink);
  background: #fffdfa;
  font-size: 13px;
  outline: none;
  transition: border 160ms ease, box-shadow 160ms ease;
}

.newsletter-form input:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(119, 131, 109, 0.16);
}

.form-message {
  grid-column: 1 / -1;
  min-height: 16px;
  margin: -4px 0 0;
  color: var(--sage-dark);
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 0;
  padding-left: 18px;
  border-left: 1px solid rgba(117, 110, 98, 0.25);
  font-style: normal;
}

.contact-item {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 10px;
  align-items: start;
  transition: transform 180ms ease, color 180ms ease;
}

.contact-item:hover {
  color: var(--sage-dark);
  transform: translateY(-2px);
}

.line-icon {
  width: 32px;
  height: 32px;
  color: #8b8c80;
}

.line-icon svg {
  width: 32px;
  height: 32px;
}

.contact-item strong {
  display: block;
  margin-bottom: 2px;
  font-size: 11px;
  font-weight: 800;
}

.contact-item span:last-child {
  color: #4d5147;
  font-size: 11px;
  line-height: 1.35;
}

.site-footer {
  background: #f5f1ea;
  border-top: 1px solid rgba(70, 65, 55, 0.08);
}

.contact-strip .container,
.site-footer .container {
  width: min(1060px, calc(100% - 48px));
}

.footer-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.8fr 0.8fr 0.8fr 1fr;
  gap: 44px;
  padding: 34px 0 28px;
}

.footer-grid h2 {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.footer-grid a:not(.brand) {
  display: block;
  width: fit-content;
  margin-bottom: 5px;
  color: #3e4139;
  font-size: 12px;
  transition: color 160ms ease, transform 160ms ease;
}

.footer-grid a:hover {
  color: var(--clay);
  transform: translateX(2px);
}

.footer-brand p {
  max-width: 280px;
  margin: 12px 0 0;
  color: #55594d;
  font-size: 12px;
  line-height: 1.48;
}

.socials div {
  display: flex;
  gap: 9px;
}

.social-link {
  display: grid !important;
  place-items: center;
  width: 27px !important;
  height: 27px;
  margin: 0 !important;
  border: 1px solid rgba(70, 72, 63, 0.38);
  border-radius: 50%;
  font-size: 13px !important;
  font-weight: 700;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  color: #44483e;
  border-top: 1px solid rgba(70, 65, 55, 0.08);
  font-size: 11px;
}

.site-footer .brand-orb {
  width: 34px;
  height: 34px;
}

.site-footer .brand-copy span {
  font-size: 19px;
}

.site-footer .brand-copy small {
  font-size: 8px;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom a {
  transition: color 160ms ease;
}

.footer-bottom a:hover {
  color: var(--clay);
}

.footer-bottom span {
  margin: 0 14px;
  color: #8c8f83;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 100;
  max-width: calc(100% - 40px);
  padding: 13px 18px;
  border-radius: 999px;
  color: #fff;
  background: rgba(54, 61, 49, 0.94);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.18);
  font-size: 13px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

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

.modal.is-open {
  display: grid;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(37, 37, 31, 0.42);
  backdrop-filter: blur(5px);
}

.modal-panel {
  position: relative;
  width: min(520px, 100%);
  max-height: calc(100dvh - 44px);
  overflow: auto;
  padding: 33px;
  border-radius: 8px;
  background: #fffdfa;
  box-shadow: 0 26px 80px rgba(35, 32, 27, 0.25);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: #fff;
  font-size: 22px;
  line-height: 1;
}

.modal-panel h2 {
  margin: 0 0 22px;
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 500;
  line-height: 1.05;
}

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

.booking-form label {
  display: grid;
  gap: 6px;
  color: #4d5147;
  font-size: 12px;
  font-weight: 800;
}

.booking-form label span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
}

.booking-form input,
.booking-form textarea {
  width: 100%;
  border: 1px solid #d8cbbf;
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  font-size: 13px;
  outline: none;
}

.booking-form input {
  height: 42px;
  padding: 0 14px;
}

.booking-form textarea {
  resize: vertical;
  min-height: 104px;
  padding: 12px 14px;
}

.booking-form input:focus,
.booking-form textarea:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(119, 131, 109, 0.16);
}

@media (max-width: 1030px) {
  .site-header {
    padding: 0 26px;
    grid-template-columns: minmax(174px, 1fr) auto auto;
  }

  .primary-nav {
    gap: 18px;
  }

  .hero-content {
    margin-left: 58px;
  }

  .contact-grid,
  .newsletter {
    grid-template-columns: 1fr;
  }

  .newsletter {
    grid-template-columns: 58px 1fr;
  }

  .newsletter-form {
    grid-column: 1 / -1;
  }

  .contact-info {
    padding-left: 0;
    border-left: 0;
  }
}

@media (max-width: 820px) {
  :root {
    --header-h: 66px;
  }

  body {
    font-size: 13px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding: 0 18px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .header-cta {
    display: none;
  }

  .primary-nav {
    position: absolute;
    left: 14px;
    right: 14px;
    top: calc(100% + 8px);
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 10px;
    max-height: calc(100dvh - var(--header-h) - 24px);
    overflow: auto;
    border: 1px solid rgba(86, 100, 78, 0.13);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: var(--shadow);
  }

  .primary-nav.is-open {
    display: grid;
  }

  .nav-link {
    padding: 12px;
    border-radius: 8px;
    font-size: 12px;
    text-align: center;
  }

  .nav-link:hover {
    background: var(--mist);
  }

  .nav-link::after {
    display: none;
  }

  .hero {
    width: 100%;
    min-height: 546px;
    border-radius: 0;
    background: #f7f0e7;
  }

  .hero-photo {
    inset: auto 0 0;
    width: 100%;
    height: 342px;
    background-size: cover;
    background-position: 50% 100%;
  }

  .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(180deg, rgba(251, 248, 242, 0.98) 0%, rgba(251, 248, 242, 0.9) 40%, rgba(251, 248, 242, 0) 78%);
  }

  .hero-left {
    width: 120px;
    height: 190px;
    opacity: 0.48;
  }

  .hero-content {
    margin: 0 auto;
    padding-top: 46px;
    text-align: center;
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero p {
    margin-left: auto;
    margin-right: auto;
  }

  .section-pad {
    padding: 48px 0;
  }

  .philosophy {
    padding-top: 52px;
    padding-bottom: 48px;
  }

  .philosophy-grid,
  .classes-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .pillars,
  .retreat-grid,
  .testimonial-track,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .pillars {
    gap: 16px;
  }

  .pillar-card {
    display: grid;
    grid-template-columns: 84px 1fr;
    column-gap: 18px;
    min-height: 0;
    padding: 18px;
    text-align: left;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.46);
  }

  .pillar-card + .pillar-card {
    border-left: 1px solid var(--line);
  }

  .pillar-icon {
    grid-row: span 2;
    margin: 0;
  }

  .pillar-card p {
    margin: 0;
    max-width: none;
  }

  .retreats.section-pad,
  .classes.section-pad {
    padding-top: 50px;
    padding-bottom: 52px;
  }

  .schedule {
    grid-template-columns: repeat(3, 1fr);
  }

  .day-column {
    min-height: 152px;
  }

  .testimonial-track {
    gap: 18px;
  }

  .testimonial {
    display: none;
    max-width: 460px;
    margin: 0 auto;
  }

  .testimonial.is-active {
    display: grid;
  }

  .care-inner {
    min-height: 178px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 20px 0;
  }

  .care-cta h2 {
    font-size: 32px;
  }

  .contact-info {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .footer-grid {
    gap: 26px;
    padding-top: 28px;
    padding-bottom: 20px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    padding-bottom: 14px;
  }
}

@media (min-width: 641px) and (max-width: 820px) {
  .retreat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }

  .retreat-card img {
    height: auto;
  }

  .retreat-card div {
    padding: 12px;
  }

  .retreat-card h3 {
    font-size: 14px;
  }

  .retreat-card p {
    min-height: 82px;
    font-size: 10px;
    line-height: 1.35;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 36px, var(--container));
  }

  .brand-orb {
    width: 36px;
    height: 36px;
  }

  .brand-copy span {
    font-size: 19px;
  }

  .hero {
    min-height: 520px;
  }

  .hero h1 {
    font-size: 46px;
  }

  .hero p {
    font-size: 14px;
  }

  .hero-photo {
    height: 334px;
    background-position: 48% 100%;
  }

  .btn,
  .header-cta {
    max-width: 100%;
    padding-left: 22px;
    padding-right: 22px;
    text-align: center;
    white-space: normal;
    line-height: 1.18;
  }

  .intro-copy h2,
  .centered-title {
    font-size: 28px;
  }

  .intro-copy p:not(.section-label) {
    font-size: 11px;
    line-height: 1.55;
  }

  .text-link {
    font-size: 11px;
  }

  .retreat-grid {
    gap: 18px;
  }

  .retreat-card img {
    height: auto;
  }

  .retreat-card div {
    padding: 14px;
  }

  .retreat-card h3 {
    font-size: 19px;
  }

  .retreat-card p {
    min-height: 0;
    font-size: 12px;
    line-height: 1.45;
  }

  .classes .intro-copy h2 {
    font-size: 28px;
  }

  .classes .intro-copy p:not(.section-label) {
    font-size: 11px;
    line-height: 1.45;
  }

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

  .day-column {
    min-height: 148px;
    padding: 10px 8px 26px;
  }

  .class-slot {
    font-size: 10px;
    line-height: 1.18;
  }

  .class-slot strong {
    font-size: 10px;
  }

  .class-slot span {
    font-size: 11px;
  }

  .testimonial blockquote {
    font-size: 12px;
    line-height: 1.35;
  }

  .testimonial cite {
    font-size: 11px;
  }

  .care-inner {
    min-height: 198px;
    gap: 16px;
  }

  .care-cta h2 {
    max-width: 330px;
    font-size: 28px;
    line-height: 1.02;
  }

  .care-cta p {
    max-width: 310px;
    font-size: 12px;
    line-height: 1.4;
  }

  .care-inner .btn {
    min-height: 42px;
  }

  .newsletter {
    grid-template-columns: 48px 1fr;
    gap: 14px;
  }

  .contact-icon {
    width: 48px;
    height: 48px;
  }

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

  .contact-strip {
    padding: 18px 0;
  }

  .contact-info {
    gap: 16px;
  }

  .btn-form {
    width: 100%;
  }

  .modal-panel {
    max-height: calc(100dvh - 28px);
    padding: 28px 20px 24px;
  }

  .modal-panel h2 {
    font-size: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
