/* ==========================================================================
   Lunaya Studios — design system
   Earthy, calm, glassy. Rounded and friendly.
   ========================================================================== */

:root {
  /* palette */
  --sand: #ede6da;
  --sand-deep: #e3d9c8;
  --cream: #f7f3ea;
  --clay: #a97c5b;
  --clay-soft: #c9a384;
  --brown: #4f4234;
  --ink: #332b22;
  --sage: #8a9b7c;
  --olive: #5f6f52;
  --moss: #3e4a36;
  --moss-deep: #2e3828;
  --white-40: rgba(255, 255, 255, 0.4);
  --white-55: rgba(255, 255, 255, 0.55);

  /* type */
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Outfit", -apple-system, "Helvetica Neue", sans-serif;

  /* shape */
  --r-sm: 14px;
  --r-md: 22px;
  --r-lg: 30px;
  --r-arch: 999px 999px 30px 30px;

  --nav-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--sand);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--sage); color: var(--cream); }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: inherit; }

/* grain overlay */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2000;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- typography ---------- */

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 480;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--brown);
}

.display-xl { font-size: clamp(2.9rem, 7.4vw, 6.2rem); }
.display-lg { font-size: clamp(2.2rem, 4.6vw, 3.9rem); }
.display-md { font-size: clamp(1.6rem, 3vw, 2.4rem); }

em, .accent-italic {
  font-style: italic;
  font-weight: 380;
  color: var(--olive);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--clay);
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--clay);
}

.lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: rgba(51, 43, 34, 0.78); }
.muted { color: rgba(51, 43, 34, 0.62); }

/* ---------- layout ---------- */

.container {
  width: 100%;
  max-width: 1200px;
  padding-inline: 32px;
  margin-inline: auto;
}

.section { padding: clamp(72px, 10vw, 140px) 0; }
.section-head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head p { margin-top: 16px; }

/* ---------- buttons (glassy) ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease), background 0.35s, box-shadow 0.35s, border-color 0.35s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 16px; height: 16px; transition: transform 0.35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn-glass {
  background: var(--white-40);
  border-color: rgba(255, 255, 255, 0.65);
  color: var(--brown);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 28px rgba(79, 66, 52, 0.1);
}
.btn-glass:hover {
  background: var(--white-55);
  box-shadow: 0 14px 34px rgba(79, 66, 52, 0.16);
}

.btn-glass-dark {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--cream);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.btn-glass-dark:hover { background: rgba(255, 255, 255, 0.2); }

.btn-solid {
  background: var(--moss);
  color: var(--cream);
  border-color: var(--moss);
  box-shadow: 0 10px 26px rgba(62, 74, 54, 0.28);
}
.btn-solid:hover { background: var(--moss-deep); box-shadow: 0 16px 34px rgba(62, 74, 54, 0.34); }

.btn-danger-solid {
  background: #b8643f; color: var(--cream); border-color: #b8643f;
  box-shadow: 0 10px 26px rgba(184, 100, 63, 0.26);
}
.btn-danger-solid:hover { background: #a4552f; box-shadow: 0 16px 34px rgba(184, 100, 63, 0.32); }

.btn-sm { padding: 11px 22px; font-size: 0.88rem; }
.btn-lg { padding: 18px 38px; font-size: 1rem; }
.btn-block { width: 100%; }

.btn[disabled] {
  opacity: 0.45;
  pointer-events: none;
}

/* ---------- navigation ---------- */

.nav-wrap {
  position: fixed;
  top: 18px;
  left: 0;
  right: 0;
  z-index: 1000;
  pointer-events: none;
}
.nav {
  pointer-events: auto;
  width: min(1240px, calc(100% - 32px));
  margin-inline: auto;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px 0 28px;
  border-radius: 999px;
  background: rgba(247, 243, 234, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 12px 40px rgba(79, 66, 52, 0.12);
  transition: box-shadow 0.4s;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-size: 1.42rem;
  font-weight: 520;
  color: var(--brown);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.nav-logo .logo-mark {
  width: 34px;
  height: 34px;
  flex: none;
}
.nav-logo .logo-mark-img { object-fit: contain; display: block; }
.nav-logo .nav-logo-img { height: 38px; width: auto; display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}
.nav-links a {
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 450;
  color: rgba(51, 43, 34, 0.78);
  transition: background 0.3s, color 0.3s;
}
.nav-links a:hover { background: rgba(138, 155, 124, 0.16); color: var(--moss); }
.nav-links a.active { background: rgba(138, 155, 124, 0.22); color: var(--moss); font-weight: 540; }

.nav-actions { display: flex; align-items: center; gap: 10px; }

.nav-burger {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(79, 66, 52, 0.2);
  background: var(--white-40);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-burger span {
  width: 18px;
  height: 1.6px;
  background: var(--brown);
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.3s;
}

/* mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 990;
  background: rgba(237, 230, 218, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 32px 48px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s, visibility 0.4s;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu a.mm-link {
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 2.8rem);
  color: var(--brown);
  padding: 10px 0;
  border-bottom: 1px solid rgba(79, 66, 52, 0.12);
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.5s var(--ease), opacity 0.5s;
}
.mobile-menu.open a.mm-link { transform: translateY(0); opacity: 1; }
.mobile-menu.open a.mm-link:nth-child(2) { transition-delay: 0.05s; }
.mobile-menu.open a.mm-link:nth-child(3) { transition-delay: 0.1s; }
.mobile-menu.open a.mm-link:nth-child(4) { transition-delay: 0.15s; }
.mobile-menu.open a.mm-link:nth-child(5) { transition-delay: 0.2s; }
.mobile-menu .mm-actions { margin-top: 36px; display: flex; flex-direction: column; gap: 12px; }

body.menu-locked { overflow: hidden; }
body.menu-locked .nav-burger span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
body.menu-locked .nav-burger span:nth-child(2) { opacity: 0; }
body.menu-locked .nav-burger span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 60px) 0 60px;
  overflow: hidden;
}

/* faded cover photo behind the hero — kept very subtle (low opacity) and
   soft-faded at the edges, so the text and the wireframe rings stay visible. */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: url("/assets/images/cover.jpg") center / cover no-repeat;
  opacity: 0.18;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 78%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 78%, transparent);
}

.hero-bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  pointer-events: none;
}
.hero-bg-blob.b1 { width: 540px; height: 540px; background: var(--clay-soft); top: -140px; right: -120px; }
.hero-bg-blob.b2 { width: 460px; height: 460px; background: var(--sage); bottom: -160px; left: -140px; opacity: 0.4; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-copy .eyebrow { margin-bottom: 26px; }
.hero-copy h1 { margin-bottom: 28px; }
.hero-copy .lead { max-width: 480px; margin-bottom: 40px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: clamp(28px, 4vw, 56px);
  margin-top: clamp(44px, 6vh, 72px);
}
.hero-stats .stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 480;
  color: var(--brown);
}
.hero-stats .stat span { font-size: 0.86rem; color: rgba(51, 43, 34, 0.6); }

/* hero visual — arch with moon motif */
.hero-visual { position: relative; }
.hero-arch {
  position: relative;
  border-radius: var(--r-arch);
  aspect-ratio: 4 / 5.1;
  background: linear-gradient(168deg, #d9c6ad 0%, var(--clay-soft) 38%, #8f9b7e 100%);
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(79, 66, 52, 0.22);
}
.hero-arch .moon-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-arch .hero-scene {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.hero-float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 22px 14px 14px;
  border-radius: 999px;
  background: rgba(247, 243, 234, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 16px 40px rgba(79, 66, 52, 0.18);
}
.hero-float-card .ic {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 999px;
  background: var(--moss);
  display: grid;
  place-items: center;
}
.hero-float-card .ic svg { width: 20px; height: 20px; stroke: var(--cream); }
.hero-float-card strong { display: block; font-size: 0.92rem; color: var(--brown); line-height: 1.3; }
.hero-float-card span { font-size: 0.78rem; color: rgba(51, 43, 34, 0.6); }
/* rotating class-type messages around the arch window */
.float-msgs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
}
.hero-float-card.fm {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s var(--ease), visibility 0.9s;
  animation: fmBob 7s ease-in-out infinite alternate;
}
.hero-float-card.fm.on { opacity: 1; visibility: visible; }
.hero-float-card .fm-text {
  display: inline-block;
  font-size: 0.95rem;
  color: var(--brown);
  font-weight: 540;
  padding-right: 8px;
  white-space: nowrap;
}
.fm-1 { top: 34px; left: -13%; }
.fm-2 { top: 13%; right: -11%; animation-delay: -1.6s; }
.fm-3 { top: 44%; left: -17%; animation-delay: -3.1s; }
.fm-4 { top: 57%; right: -14%; animation-delay: -4.4s; }
.fm-5 { bottom: 3%; left: -9%; animation-delay: -5.8s; }
@keyframes fmBob {
  from { transform: translateY(-6px); }
  to { transform: translateY(8px); }
}

/* breathing controls under the window, bottom right */
.breathe-controls {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  position: relative;
  z-index: 5;
}
.btn-icon {
  width: 54px;
  height: 54px;
  padding: 0;
  justify-content: center;
}
.btn-icon svg { width: 20px; height: 20px; }
.btn-icon:hover svg { transform: none; }

/* ---------- marquee ---------- */

.marquee {
  background: var(--moss);
  color: var(--cream);
  padding: 22px 0;
  overflow: hidden;
}
.marquee-track {
  display: flex;
  gap: 48px;
  width: max-content;
  will-change: transform;
}
.marquee-track span {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 420;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 48px;
}
.marquee-track span::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sage);
}

/* ---------- philosophy ---------- */

.philosophy { background: var(--cream); border-radius: clamp(28px, 4vw, 56px); }
.philo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
}
.philo-statement {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.7rem);
  font-weight: 440;
  line-height: 1.28;
  color: var(--brown);
}
.philo-statement .hl {
  font-style: italic;
  color: var(--olive);
}
.philo-body {
  margin-top: 22px;
  font-size: 1.02rem;
  line-height: 1.75;
  color: rgba(51, 43, 34, 0.72);
  max-width: 38ch;
}
.philo-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.philo-imgs .pi {
  border-radius: var(--r-arch);
  aspect-ratio: 3 / 4;
  position: relative;
  overflow: hidden;
}
.philo-imgs .pi:nth-child(2) { margin-top: 44px; }
.pi-1 { background: linear-gradient(165deg, #cdb89a, var(--clay)); }
.pi-2 { background: linear-gradient(165deg, #a9b598, var(--olive)); }
.pi svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pi img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- the space gallery ---------- */

.space-gallery {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 24px;
}
.sg-item {
  position: relative;
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: linear-gradient(165deg, #d9c6ad, var(--clay-soft));
  box-shadow: 0 30px 60px rgba(79, 66, 52, 0.14);
  aspect-ratio: 4 / 3;
}
.sg-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s var(--ease);
}
.sg-item:hover img { transform: scale(1.04); }
.sg-item figcaption {
  position: absolute;
  left: 22px;
  bottom: 18px;
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 14px rgba(46, 56, 40, 0.55);
}
.sg-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(46, 40, 32, 0.42) 0%, rgba(46, 40, 32, 0) 42%);
  pointer-events: none;
}

/* studio feature points */
.studio-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 56px);
  margin-top: clamp(40px, 5vw, 64px);
}
.sf-item .sf-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(169, 124, 91, 0.12);
  color: var(--clay);
  margin-bottom: 18px;
}
.sf-item .sf-icon svg { width: 24px; height: 24px; }
.sf-item h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 480;
  color: var(--brown);
  margin-bottom: 8px;
}
.sf-item p { font-size: 0.95rem; color: rgba(51, 43, 34, 0.68); line-height: 1.65; }

.philo-points { margin-top: 40px; display: grid; gap: 0; }
.philo-point {
  display: flex;
  gap: 18px;
  padding: 20px 0;
  border-top: 1px solid rgba(79, 66, 52, 0.12);
  align-items: flex-start;
}
.philo-point .num {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--clay);
  font-size: 1.1rem;
  flex: none;
  width: 40px;
}
.philo-point strong { display: block; color: var(--brown); font-weight: 540; margin-bottom: 2px; }
.philo-point p { font-size: 0.94rem; color: rgba(51, 43, 34, 0.66); }

/* ---------- class cards ---------- */

.classes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.class-card {
  border-radius: var(--r-lg);
  background: var(--cream);
  border: 1px solid rgba(255, 255, 255, 0.7);
  overflow: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.5s;
  display: flex;
  flex-direction: column;
}
.class-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(79, 66, 52, 0.16);
}
.class-card .cc-visual {
  margin: 14px 14px 0;
  border-radius: var(--r-arch);
  aspect-ratio: 16 / 10.5;
  position: relative;
  overflow: hidden;
}
.class-card .cc-visual svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.cc-grad-1 { background: linear-gradient(160deg, #d9c6ad, var(--clay)); }
.cc-grad-2 { background: linear-gradient(160deg, #b9c4a8, var(--olive)); }
.cc-grad-3 { background: linear-gradient(160deg, #cbb9a4, #8a7a64); }
.cc-grad-4 { background: linear-gradient(160deg, #d8cdbd, var(--sage)); }
.cc-grad-5 { background: linear-gradient(160deg, #c5b49b, var(--moss)); }
.cc-grad-6 { background: linear-gradient(160deg, #ddd2bf, var(--clay-soft)); }

/* category colour families — one hue per category, a shade per class */
/* Flow — clay / terracotta */
.cc-flow-1 { background: linear-gradient(160deg, #e4d2bb, #c9a384); }
.cc-flow-2 { background: linear-gradient(160deg, #cca788, #a97c5b); }
.cc-flow-3 { background: linear-gradient(160deg, #a97c5b, #7c5638); }
/* Themed — olive / moss */
.cc-themed-1 { background: linear-gradient(160deg, #c2cdb1, #8a9b7c); }
.cc-themed-2 { background: linear-gradient(160deg, #9caa86, #6f8060); }
.cc-themed-3 { background: linear-gradient(160deg, #7b8d66, #5f6f52); }
.cc-themed-4 { background: linear-gradient(160deg, #56654a, #2e3828); }
/* Women's Wellness — warm honey / wheat */
.cc-womens-1 { background: linear-gradient(160deg, #e6d8b8, #d0bd8e); }
.cc-womens-2 { background: linear-gradient(160deg, #d2bd86, #b69e63); }
.cc-womens-3 { background: linear-gradient(160deg, #ad9255, #836b3c); }

.class-card .cc-body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.class-card .cc-tags { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.tag {
  font-size: 0.72rem;
  font-weight: 540;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(138, 155, 124, 0.18);
  color: var(--olive);
}
.tag.tag-clay { background: rgba(169, 124, 91, 0.16); color: var(--clay); }
.class-card h3 { font-size: 1.45rem; margin-bottom: 10px; }
.class-card .cc-desc { font-size: 0.95rem; color: rgba(51, 43, 34, 0.68); flex: 1; }
.class-card .cc-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(79, 66, 52, 0.1);
}
.cc-foot .meta { font-size: 0.85rem; color: rgba(51, 43, 34, 0.6); }

.intensity { display: flex; gap: 4px; align-items: center; }
.intensity i {
  width: 16px;
  height: 5px;
  border-radius: 3px;
  background: rgba(79, 66, 52, 0.14);
}
.intensity i.on { background: var(--clay); }

/* category cards (home page classes preview) */
.cat-card { text-decoration: none; color: inherit; }
.cat-card .cc-desc { flex: none; margin-bottom: 18px; }
.cat-list {
  list-style: none;
  margin: 0 0 6px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1;
}
.cat-list li {
  position: relative;
  padding-left: 22px;
  font-size: 0.95rem;
  color: var(--brown);
}
.cat-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.5em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1.5px solid var(--clay);
}
.cat-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 540;
  color: var(--olive);
}
.cat-link svg { width: 18px; height: 18px; transition: transform 0.4s var(--ease); }
.cat-card:hover .cat-link svg { transform: translateX(4px); }

/* ---------- steps (how it works) ---------- */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.step-card {
  background: var(--cream);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--r-lg);
  padding: 30px 26px;
  position: relative;
  transition: transform 0.45s var(--ease), box-shadow 0.45s;
}
.step-card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px rgba(79, 66, 52, 0.13); }
.step-card .step-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2.6rem;
  color: rgba(169, 124, 91, 0.4);
  line-height: 1;
  margin-bottom: 18px;
}
.step-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step-card p { font-size: 0.92rem; color: rgba(51, 43, 34, 0.66); }

/* ---------- dark band (schedule teaser) ---------- */

.dark-band {
  background: var(--moss);
  border-radius: clamp(28px, 4vw, 56px);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.dark-band h2, .dark-band h3 { color: var(--cream); }
.dark-band .eyebrow { color: var(--sage); }
.dark-band .eyebrow::before { background: var(--sage); }
.dark-band .lead { color: rgba(247, 243, 234, 0.72); }
.dark-band .band-inner {
  padding: clamp(64px, 8vw, 110px) clamp(28px, 6vw, 90px);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(36px, 5vw, 70px);
  align-items: center;
  position: relative;
  z-index: 1;
}
.dark-band .band-moon {
  position: absolute;
  right: -120px;
  top: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(201, 163, 132, 0.35), transparent 70%);
  pointer-events: none;
}

.mini-week {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--r-lg);
  padding: 26px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.mini-week .mw-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.92rem;
}
.mini-week .mw-row:last-child { border-bottom: none; }
.mini-week .mw-row .t { color: rgba(247, 243, 234, 0.6); font-size: 0.82rem; width: 64px; }
.mini-week .mw-row strong { font-weight: 500; flex: 1; }
.mini-week .mw-row .pill {
  font-size: 0.72rem;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(201, 163, 132, 0.22);
  color: #e3cdb8;
}

/* ---------- testimonials ---------- */

.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi-card {
  background: var(--cream);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--r-lg);
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.testi-card .quote-mark {
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 0.6;
  color: var(--clay-soft);
}
.testi-card p { font-size: 1rem; color: rgba(51, 43, 34, 0.78); flex: 1; }
.testi-card .who { display: flex; align-items: center; gap: 13px; }
.testi-card .who .av {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex: none;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--cream);
  font-size: 1.05rem;
}
.av-1 { background: var(--clay); }
.av-2 { background: var(--olive); }
.av-3 { background: var(--sage); }
.testi-card .who strong { display: block; font-size: 0.95rem; color: var(--brown); }
.testi-card .who span { font-size: 0.82rem; color: rgba(51, 43, 34, 0.55); }

/* ---------- CTA banner ---------- */

.cta-banner {
  background: linear-gradient(160deg, var(--clay-soft), var(--clay));
  border-radius: clamp(28px, 4vw, 56px);
  padding: clamp(64px, 9vw, 120px) clamp(28px, 6vw, 90px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  border: 1px solid rgba(247, 243, 234, 0.25);
  top: -300px;
  left: 50%;
  transform: translateX(-50%);
}
.cta-banner h2 { color: var(--cream); margin-bottom: 18px; position: relative; }
.cta-banner p { color: rgba(247, 243, 234, 0.85); max-width: 480px; margin: 0 auto 36px; position: relative; }
.cta-banner .btn { position: relative; }

/* ---------- footer ---------- */

footer {
  background: var(--moss-deep);
  color: rgba(247, 243, 234, 0.75);
  border-radius: clamp(28px, 4vw, 56px) clamp(28px, 4vw, 56px) 0 0;
  overflow: hidden;
}
.footer-inner { padding: clamp(56px, 7vw, 90px) 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(32px, 4vw, 60px);
  padding-bottom: clamp(40px, 5vw, 70px);
}
.footer-grid h4 {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 18px;
  font-weight: 540;
}
.footer-grid ul { list-style: none; display: grid; gap: 10px; }
.footer-grid a { font-size: 0.95rem; transition: color 0.3s; }
.footer-grid a:hover { color: var(--cream); }
.footer-brand p { font-size: 0.95rem; max-width: 280px; margin-top: 14px; }
.footer-brand .nav-logo { color: var(--cream); }

.footer-word {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 16vw, 13rem);
  font-weight: 460;
  line-height: 0.9;
  color: rgba(247, 243, 234, 0.1);
  text-align: center;
  letter-spacing: 0.01em;
  user-select: none;
  margin-bottom: -0.12em;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 22px 0 28px;
  border-top: 1px solid rgba(247, 243, 234, 0.12);
  font-size: 0.82rem;
  color: rgba(247, 243, 234, 0.5);
}

/* ---------- page hero (inner pages) ---------- */

.page-hero {
  padding: calc(var(--nav-h) + clamp(70px, 10vw, 120px)) 0 clamp(40px, 6vw, 70px);
  position: relative;
  overflow: hidden;
}
.page-hero .eyebrow { margin-bottom: 18px; }
.page-hero h1 { max-width: 100%; }
.page-hero .lead { max-width: none; margin-top: 20px; }

.footer-legal { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-legal a { color: rgba(247, 243, 234, 0.5); font-size: 0.95rem; }
.footer-legal a:hover { color: var(--cream); }
.footer-brand .footer-legal { margin-top: 18px; }

/* ---------- contact page ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.contact-cards { display: grid; gap: 18px; }
.contact-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 26px 28px;
  background: var(--cream);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--r-lg);
  transition: transform 0.5s var(--ease), box-shadow 0.5s;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px rgba(79, 66, 52, 0.12); }
.contact-card .cc-ic {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(169, 124, 91, 0.12);
  color: var(--clay);
}
.contact-card .cc-ic svg { width: 22px; height: 22px; }
.contact-card h3 {
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 600;
  margin-bottom: 6px;
}
.contact-card p, .contact-card a { color: var(--brown); font-size: 1rem; line-height: 1.55; }
.contact-card a:hover { color: var(--clay); }

.hours-panel {
  background: var(--moss);
  color: var(--cream);
  border-radius: var(--r-lg);
  padding: clamp(32px, 4vw, 48px);
}
.hours-panel h2 { font-family: var(--font-display); font-size: 1.7rem; font-weight: 460; margin-bottom: 22px; color: var(--cream); }
.hours-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid rgba(247, 243, 234, 0.14);
}
.hours-row:first-of-type { border-top: none; }
.hours-row .day { color: rgba(247, 243, 234, 0.85); }
.hours-row .time { color: var(--cream); font-weight: 500; }
.hours-panel .hp-note { margin-top: 24px; font-size: 0.9rem; color: rgba(247, 243, 234, 0.6); }
.hours-panel .hp-note a { color: #c9a384; }

/* ---------- legal / policy pages ---------- */

.legal-doc { max-width: 760px; }
.legal-section { padding: clamp(26px, 3.5vw, 40px) 0; border-top: 1px solid rgba(79, 66, 52, 0.12); }
.legal-section:first-of-type { border-top: none; padding-top: 0; }
.legal-section h2 {
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clay);
  font-weight: 600;
  margin-bottom: 14px;
}
.legal-section p { color: rgba(51, 43, 34, 0.78); margin-bottom: 12px; line-height: 1.75; }
.legal-section ul { margin: 0 0 12px; padding-left: 22px; color: rgba(51, 43, 34, 0.78); line-height: 1.7; }
.legal-section ul li { margin-bottom: 7px; }
.legal-section a { color: var(--olive); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- schedule / calendar ---------- */

.sched-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.week-nav { display: flex; align-items: center; gap: 14px; }
.week-nav .wk-btn {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(79, 66, 52, 0.18);
  background: var(--white-40);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  transition: background 0.3s, transform 0.3s;
}
.week-nav .wk-btn:hover { background: var(--white-55); transform: translateY(-2px); }
.week-nav .wk-btn svg { width: 16px; height: 16px; stroke: var(--brown); }
.week-label {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--brown);
  min-width: 210px;
  text-align: center;
}

.sched-filter { display: flex; gap: 8px; flex-wrap: wrap; }
.sched-filter button {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(79, 66, 52, 0.16);
  background: transparent;
  font-size: 0.85rem;
  font-weight: 480;
  color: rgba(51, 43, 34, 0.7);
  transition: all 0.3s;
}
.sched-filter button:hover { border-color: var(--olive); color: var(--olive); }
.sched-filter button.active { background: var(--moss); border-color: var(--moss); color: var(--cream); }

.calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 14px;
}
.cal-day { min-width: 0; }
.cal-day-head {
  text-align: center;
  padding: 14px 8px;
  border-radius: var(--r-md);
  background: var(--cream);
  border: 1px solid rgba(255, 255, 255, 0.7);
  margin-bottom: 12px;
}
.cal-day-head .dow {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(51, 43, 34, 0.55);
  font-weight: 540;
}
.cal-day-head .dom {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--brown);
  line-height: 1.2;
}
.cal-day.today .cal-day-head { background: var(--moss); border-color: var(--moss); }
.cal-day.today .cal-day-head .dow { color: rgba(247, 243, 234, 0.7); }
.cal-day.today .cal-day-head .dom { color: var(--cream); }

.cal-slots { display: grid; gap: 10px; }
.cal-slot {
  width: 100%;
  text-align: left;
  background: var(--cream);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--r-sm);
  padding: 13px 14px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s;
  position: relative;
}
.cal-slot:hover:not(:disabled) {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(79, 66, 52, 0.14);
  border-color: var(--sage);
}
.cal-slot .cs-time { font-size: 0.76rem; font-weight: 560; color: var(--clay); letter-spacing: 0.04em; }
.cal-slot .cs-name { display: block; font-weight: 540; font-size: 0.9rem; color: var(--brown); margin: 3px 0 4px; line-height: 1.3; }
.cal-slot .cs-meta { font-size: 0.76rem; color: rgba(51, 43, 34, 0.55); }
.cal-slot .cs-spots {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.7rem;
  font-weight: 540;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(138, 155, 124, 0.16);
  color: var(--olive);
}
.cal-slot .cs-spots.low { background: rgba(169, 124, 91, 0.16); color: var(--clay); }
.cal-slot:disabled { opacity: 0.45; cursor: default; }
.cal-slot.booked { border-color: var(--olive); background: rgba(138, 155, 124, 0.12); }
.cal-slot.booked .cs-spots { background: var(--moss); color: var(--cream); }
.cal-empty {
  font-size: 0.8rem;
  color: rgba(51, 43, 34, 0.4);
  text-align: center;
  padding: 18px 6px;
  border: 1px dashed rgba(79, 66, 52, 0.18);
  border-radius: var(--r-sm);
}

.powered-by {
  margin-top: 30px;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(51, 43, 34, 0.5);
}
.powered-by a { text-decoration: underline; text-underline-offset: 3px; }
.powered-by.packages-note { font-size: 1.05rem; color: rgba(51, 43, 34, 0.7); text-align: left; }

/* ---------- pricing ---------- */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}
.price-card {
  background: var(--cream);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--r-lg);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.45s var(--ease), box-shadow 0.45s;
}
.price-card:hover { transform: translateY(-8px); box-shadow: 0 28px 56px rgba(79, 66, 52, 0.15); }
.price-card.featured {
  background: var(--moss);
  color: rgba(247, 243, 234, 0.8);
}
.price-card.featured h3, .price-card.featured .price { color: var(--cream); }
.price-card .pc-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--clay);
  color: var(--cream);
  font-size: 0.7rem;
  font-weight: 560;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
  white-space: nowrap;
}
.price-card h3 { font-size: 1.3rem; margin-bottom: 6px; }
.price-card .pc-sub { font-size: 0.86rem; opacity: 0.65; margin-bottom: 22px; }
.price-card .price {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 480;
  color: var(--brown);
  line-height: 1;
  margin-bottom: 4px;
}
.price-card .price .per { font-size: 0.95rem; font-family: var(--font-body); opacity: 0.6; }
.price-card .pc-per-class { font-size: 0.82rem; opacity: 0.6; margin-bottom: 24px; }
.price-card ul { list-style: none; display: grid; gap: 11px; margin-bottom: 30px; flex: 1; }
.price-card ul li { display: flex; gap: 10px; font-size: 0.92rem; align-items: flex-start; }
.price-card ul li svg { width: 17px; height: 17px; flex: none; margin-top: 3px; stroke: var(--olive); }
.price-card.featured ul li svg { stroke: var(--sage); }

/* ---------- journal / blog ---------- */

.blog-state { text-align: center; color: rgba(51, 43, 34, 0.55); padding: 40px 0; font-size: 1.05rem; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--cream);
  border-radius: var(--r-md);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 16px 36px rgba(79, 66, 52, 0.08);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.blog-card:hover { transform: translateY(-6px); box-shadow: 0 26px 52px rgba(79, 66, 52, 0.15); }
.blog-card-cover { aspect-ratio: 16 / 10; overflow: hidden; background: var(--sand-deep); }
.blog-card-cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s var(--ease); }
.blog-card:hover .blog-card-cover img { transform: scale(1.04); }
.blog-card-cover--empty {
  background: linear-gradient(135deg, var(--sand) 0%, var(--clay-soft) 100%);
}
.blog-card-body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.blog-card-meta { font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--clay); margin-bottom: 12px; }
.blog-card-body h3 { font-family: var(--font-display); font-size: 1.45rem; font-weight: 460; line-height: 1.2; margin-bottom: 10px; }
.blog-card-body p { font-size: 0.95rem; color: rgba(51, 43, 34, 0.72); line-height: 1.55; margin-bottom: 18px; }
.blog-card-more { margin-top: auto; font-size: 0.9rem; font-weight: 500; color: var(--olive); }
.blog-card:hover .blog-card-more { text-decoration: underline; text-underline-offset: 3px; }
.blog-card-cat {
  align-self: flex-start; margin-bottom: 12px; padding: 3px 11px;
  font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--olive); background: rgba(62, 74, 54, 0.1); border-radius: 999px;
}

/* category filter bar on the journal list */
.blog-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.blog-filter-btn {
  appearance: none; cursor: pointer; font: inherit; font-size: 0.85rem;
  padding: 8px 18px; border-radius: 999px;
  border: 1px solid rgba(79, 66, 52, 0.18); background: var(--cream); color: var(--brown);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.blog-filter-btn:hover { border-color: var(--olive); color: var(--olive); }
.blog-filter-btn.active { background: var(--moss); border-color: var(--moss); color: var(--cream); }

/* ---------- single post ---------- */

.post { padding: calc(var(--nav-h) + 60px) 0 90px; }
.post-narrow { max-width: 760px; }
.post-back { display: inline-block; font-size: 0.9rem; color: var(--olive); text-decoration: none; margin-bottom: 28px; }
.post-back:hover { text-decoration: underline; text-underline-offset: 3px; }
.post-meta { display: block; font-size: 0.8rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--clay); }
.post-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; margin-bottom: 4px;
}
.post-share { display: inline-flex; align-items: center; gap: 8px; }
.share-btn {
  display: inline-grid; place-items: center; width: 38px; height: 38px; padding: 0;
  border-radius: 999px; border: 1px solid rgba(79, 66, 52, 0.16);
  background: var(--cream); color: var(--brown); cursor: pointer;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.share-btn:hover { color: var(--olive); border-color: var(--olive); transform: translateY(-1px); }
.share-btn svg { width: 17px; height: 17px; display: block; }
.share-btn.copied { color: var(--olive); border-color: var(--olive); }
@media (max-width: 540px) {
  .post-head { gap: 12px; }
  .post-share { width: 100%; }
}
.post-title { font-family: var(--font-display); font-size: clamp(2.2rem, 4.6vw, 3.4rem); font-weight: 420; line-height: 1.08; margin: 14px 0 18px; }
.post-lead { font-size: 1.2rem; line-height: 1.6; color: rgba(51, 43, 34, 0.78); margin-bottom: 34px; }
.post-cover { border-radius: var(--r-md); overflow: hidden; margin-bottom: 38px; background: var(--sand-deep); aspect-ratio: 16 / 9; }
.post-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }

.post-body { font-size: 1.08rem; line-height: 1.75; color: var(--ink); }
.post-body > * + * { margin-top: 1.1em; }
.post-body h1, .post-body h2 { font-family: var(--font-display); font-size: 1.7rem; font-weight: 460; margin-top: 1.8em; }
.post-body h3 { font-family: var(--font-display); font-size: 1.35rem; font-weight: 460; margin-top: 1.6em; }
.post-body a { color: var(--olive); text-decoration: underline; text-underline-offset: 3px; }
.post-body img { max-width: 100%; height: auto; border-radius: var(--r-sm); margin: 1.4em 0; }
.post-body blockquote {
  border-left: 3px solid var(--clay-soft);
  padding-left: 22px;
  font-style: italic;
  color: var(--brown);
}
.post-body ul, .post-body ol { padding-left: 1.3em; }
.post-body li + li { margin-top: 0.4em; }
.post-body code {
  background: var(--sand);
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 0.92em;
}
.post-foot { margin-top: 50px; padding-top: 30px; border-top: 1px solid rgba(79, 66, 52, 0.12); }

/* prev / next entry navigation */
.post-nav {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin-top: 44px; padding-top: 30px;
  border-top: 1px solid rgba(79, 66, 52, 0.12);
}
.post-nav-link {
  display: flex; flex-direction: column; gap: 6px;
  padding: 16px 18px; border-radius: var(--r-md);
  background: var(--cream); border: 1px solid rgba(79, 66, 52, 0.14);
  text-decoration: none; color: var(--ink);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.post-nav-link:hover { border-color: var(--olive); transform: translateY(-2px); }
.post-nav-link.next { text-align: right; }
.post-nav-dir { font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--clay); }
.post-nav-title { font-family: var(--font-display); font-size: 1.05rem; font-weight: 460; line-height: 1.25; }
.post-nav-link.disabled {
  opacity: 0.4; pointer-events: none; cursor: default;
  background: transparent;
}
@media (max-width: 540px) {
  .post-nav { grid-template-columns: 1fr; }
  .post-nav-link.next { text-align: left; }
}

/* admin topbar logo tag + section tabs */
.admin-tag {
  display: inline-block; margin-left: 10px; padding: 2px 9px;
  font-size: 0.68rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--olive); background: rgba(62, 74, 54, 0.1);
  border-radius: 999px; vertical-align: middle;
}
.admin-tabs {
  display: flex; gap: 6px; margin-bottom: 30px;
  border-bottom: 1px solid rgba(79, 66, 52, 0.12);
}
.admin-tab {
  appearance: none; background: none; border: none; cursor: pointer;
  font: inherit; font-size: 0.95rem; font-weight: 500; color: var(--clay);
  padding: 10px 4px; margin-bottom: -1px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.admin-tab + .admin-tab { margin-left: 18px; }
.admin-tab:hover { color: var(--brown); }
.admin-tab.active { color: var(--ink); border-bottom-color: var(--olive); }
.admin-settings-card {
  background: var(--cream); border: 1px solid rgba(79, 66, 52, 0.14);
  border-radius: var(--r-md); padding: 30px 26px;
  color: rgba(51, 43, 34, 0.7); font-size: 0.98rem; line-height: 1.6;
}

@media (max-width: 640px) {
  .blog-grid { grid-template-columns: 1fr; gap: 22px; }
}

/* ---------- admin CMS ---------- */

.admin-body { background: var(--sand); min-height: 100svh; }
.admin-topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 30px; background: var(--cream);
  border-bottom: 1px solid rgba(79, 66, 52, 0.1);
  position: sticky; top: 0; z-index: 20;
}
.admin-topbar .nav-logo { font-size: 1.05rem; }
.admin-topbar-actions { display: flex; gap: 12px; align-items: center; }
.admin-wrap { max-width: 920px; margin: 0 auto; padding: 40px 30px 80px; }
.admin-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; gap: 16px; flex-wrap: wrap; }
.admin-head h1 { font-family: var(--font-display); font-size: 2rem; font-weight: 440; }
.admin-back {
  appearance: none; background: none; border: 0; cursor: pointer; font: inherit;
  font-size: 0.9rem; color: var(--olive); padding: 0; margin-bottom: 18px;
}
.admin-back:hover { text-decoration: underline; text-underline-offset: 3px; }

.admin-login { display: grid; place-items: center; min-height: 100svh; padding: 30px; }
.admin-login-card {
  width: 100%; max-width: 400px; background: var(--cream);
  border-radius: var(--r-lg); padding: 40px 36px;
  box-shadow: 0 24px 60px rgba(79, 66, 52, 0.14);
}
.admin-login-card h1 { font-family: var(--font-display); font-size: 1.7rem; font-weight: 460; margin-bottom: 6px; }
.admin-login-card .sub { color: rgba(51, 43, 34, 0.6); font-size: 0.92rem; margin-bottom: 26px; }

.admin-list { display: grid; gap: 12px; }
.admin-row {
  display: flex; align-items: center; gap: 16px;
  background: var(--cream); border-radius: var(--r-md);
  padding: 18px 22px; box-shadow: 0 10px 26px rgba(79, 66, 52, 0.06);
}
.admin-row-main { flex: 1; min-width: 0; }
.admin-row-main h3 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 460; margin-bottom: 4px; }
.admin-row-meta {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
  font-size: 0.82rem; color: rgba(51, 43, 34, 0.55);
}
.admin-row-sep { color: rgba(51, 43, 34, 0.3); }
.admin-row-actions { display: flex; gap: 8px; flex: none; }

/* compact icon-only buttons (journal row actions + editor delete) */
.btn-icon-sm { width: 40px; height: 40px; padding: 0; justify-content: center; }
.btn-icon-sm svg { width: 17px; height: 17px; }
.btn-icon-sm:hover svg { transform: none; }
.btn-danger:hover { color: #b8643f; border-color: rgba(184, 100, 63, 0.45); }
.status-pill {
  display: inline-block; font-size: 0.72rem; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 999px; font-weight: 500;
}
.status-pill.published { background: rgba(138, 155, 124, 0.25); color: var(--olive); }
.status-pill.draft { background: rgba(169, 124, 91, 0.2); color: var(--clay); }

.admin-form { display: grid; gap: 22px; }
.admin-field { display: grid; gap: 8px; }
.admin-field label { font-size: 0.85rem; font-weight: 500; color: var(--brown); }
.admin-field input[type="text"],
.admin-field input[type="email"],
.admin-field input[type="password"],
.admin-field input[type="datetime-local"],
.admin-field textarea,
.admin-field select {
  width: 100%; padding: 12px 15px; font: inherit; font-size: 0.95rem;
  background: var(--cream); border: 1px solid rgba(79, 66, 52, 0.18);
  border-radius: var(--r-sm); color: var(--ink);
}
.admin-field textarea { resize: vertical; min-height: 80px; }
.admin-field input:focus, .admin-field textarea:focus, .admin-field select:focus {
  outline: none; border-color: var(--olive);
}
.admin-field .hint { font-size: 0.8rem; color: rgba(51, 43, 34, 0.5); }

/* character counter sitting inside the field, bottom-right */
.field-control { position: relative; }
.field-control textarea { padding-bottom: 24px; resize: none; }
.field-control .char-count {
  position: absolute; right: 12px; bottom: 9px;
  font-size: 0.72rem; color: rgba(51, 43, 34, 0.42);
  background: var(--cream); padding: 1px 5px; border-radius: 5px;
  pointer-events: none; font-variant-numeric: tabular-nums;
}

/* styled category combobox */
.combo { position: relative; }
.combo > input { padding-right: 42px; }
.combo-caret {
  position: absolute; top: 0; right: 0; height: 100%; width: 42px;
  display: grid; place-items: center; padding: 0;
  background: none; border: 0; cursor: pointer; color: var(--brown);
}
.combo-caret svg { width: 18px; height: 18px; transition: transform 0.2s var(--ease); }
.combo > input[aria-expanded="true"] + .combo-caret svg { transform: rotate(180deg); }
.combo-list {
  position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; right: 0;
  margin: 0; padding: 6px; list-style: none;
  display: flex; flex-direction: column; gap: 4px;
  background: var(--cream); border: 1px solid rgba(79, 66, 52, 0.18);
  border-radius: var(--r-sm); box-shadow: 0 16px 36px rgba(79, 66, 52, 0.16);
  max-height: 240px; overflow-y: auto;
}
.combo-option {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 9px 12px; border-radius: 9px; cursor: pointer;
  font-size: 0.92rem; color: var(--ink);
}
.combo-option:hover { background: var(--sand); }
.combo-option.is-selected { background: rgba(62, 74, 54, 0.12); color: var(--olive); font-weight: 500; }
.combo-count { font-size: 0.8rem; color: rgba(51, 43, 34, 0.4); font-variant-numeric: tabular-nums; }
.combo-option.is-selected .combo-count { color: rgba(62, 74, 54, 0.55); }
.combo-empty { padding: 9px 12px; font-size: 0.88rem; color: rgba(51, 43, 34, 0.5); }
.combo-sep { height: 1px; margin: 0 -6px; background: rgba(79, 66, 52, 0.14); }
.combo-add {
  padding: 9px 12px; border-radius: 9px; cursor: pointer;
  font-size: 0.9rem; color: var(--olive); font-weight: 500;
}
.combo-add:hover { background: rgba(62, 74, 54, 0.1); }

/* kebab menu next to the editor heading */
.entry-menu-wrap { position: relative; }
.entry-menu {
  position: absolute; z-index: 30; top: calc(100% + 8px); right: 0;
  min-width: 210px; padding: 6px; list-style: none;
  background: var(--cream); border: 1px solid rgba(79, 66, 52, 0.16);
  border-radius: var(--r-sm); box-shadow: 0 16px 36px rgba(79, 66, 52, 0.16);
}
.entry-menu-item {
  display: block; width: 100%; text-align: left; appearance: none; border: 0;
  background: none; font: inherit; font-size: 0.92rem; color: var(--ink);
  padding: 10px 12px; border-radius: 9px; cursor: pointer;
}
.entry-menu-item:hover { background: var(--sand); }

/* small admin modal dialog (centered, slides down on open) */
.modal-dialog {
  border: 0; padding: 0; background: transparent;
  max-width: 92vw; width: 440px;
  margin: auto; /* centre within the showModal viewport */
}
.modal-dialog[open] { animation: modal-drop 0.28s var(--ease); }
.modal-dialog::backdrop { background: rgba(33, 28, 22, 0.45); animation: modal-fade 0.28s ease; }
@keyframes modal-drop {
  from { opacity: 0; transform: translateY(-26px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes modal-fade { from { opacity: 0; } to { opacity: 1; } }
.modal-card {
  background: var(--cream); border-radius: var(--r-md); padding: 26px 26px 22px;
  box-shadow: 0 30px 70px rgba(33, 28, 22, 0.3);
}
.modal-title { font-family: var(--font-display); font-size: 1.3rem; font-weight: 460; margin-bottom: 18px; }
.modal-text { font-size: 0.95rem; line-height: 1.55; color: rgba(51, 43, 34, 0.75); }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; }
.modal-actions-spread { justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.modal-actions-right { display: flex; gap: 10px; }
#unsaved-dialog { width: min(520px, 92vw); }
.admin-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
.admin-cover-preview { margin-top: 10px; }
.admin-cover-preview img { max-width: 280px; width: 100%; border-radius: var(--r-sm); display: block; }
.admin-form-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.admin-form-actions .spacer { flex: 1; }

/* EasyMDE editor tuned to the studio palette. Toolbar and editor share one
   continuous border: the toolbar rounds the top, the editor rounds the bottom,
   and the toolbar's bottom edge is the divider between them (so the editor has
   no top border — otherwise the corners don't meet and the box looks cut off). */
.EasyMDEContainer .editor-toolbar {
  border: 1px solid rgba(79, 66, 52, 0.18);
  border-radius: var(--r-sm) var(--r-sm) 0 0;
}
.EasyMDEContainer .CodeMirror {
  border: 1px solid rgba(79, 66, 52, 0.18);
  border-top: 0;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  background: var(--cream); color: var(--ink); font-family: var(--font-body);
}
.editor-preview, .editor-preview-side { background: var(--sand); }

@media (max-width: 640px) {
  .admin-row-2 { grid-template-columns: 1fr; }
  .admin-wrap { padding: 28px 18px 60px; }
}

/* ---------- auth & forms ---------- */

.auth-wrap {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}
.auth-visual {
  position: relative;
  background: linear-gradient(170deg, #d9c6ad 0%, var(--clay-soft) 40%, var(--olive) 100%);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 56px;
}
.auth-visual .av-quote {
  position: relative;
  z-index: 2;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  color: var(--cream);
  line-height: 1.3;
  max-width: 420px;
}
.auth-visual .av-quote span { display: block; font-family: var(--font-body); font-size: 0.9rem; margin-top: 16px; opacity: 0.8; }
.auth-visual svg.av-art { position: absolute; inset: 0; width: 100%; height: 100%; }

.auth-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(90px, 12vh, 130px) clamp(24px, 5vw, 80px) 60px;
}
.auth-card { width: min(440px, 100%); }
.auth-card h1 { font-size: clamp(2rem, 3.4vw, 2.7rem); margin-bottom: 10px; }
.auth-card .lead { margin-bottom: 36px; font-size: 1rem; }
.auth-card form { display: grid; gap: 18px; }

.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 540;
  color: var(--brown);
  margin-bottom: 8px;
}
.field input, .field select {
  width: 100%;
  padding: 15px 20px;
  border-radius: 999px;
  border: 1px solid rgba(79, 66, 52, 0.18);
  background: var(--white-40);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--ink);
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}
.field input::placeholder { color: rgba(51, 43, 34, 0.4); }
.field input:focus, .field select:focus {
  border-color: var(--olive);
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 0 0 4px rgba(138, 155, 124, 0.18);
}
.field .err { color: #a4502f; font-size: 0.8rem; margin-top: 6px; display: none; }
.field.invalid input { border-color: #b8643f; }
.field.invalid .err { display: block; }

.auth-alt { text-align: center; margin-top: 26px; font-size: 0.92rem; color: rgba(51, 43, 34, 0.65); }
.auth-alt a { color: var(--olive); font-weight: 540; text-decoration: underline; text-underline-offset: 3px; }
.auth-back {
  position: absolute;
  top: 26px;
  left: 26px;
  z-index: 5;
}

/* ---------- account ---------- */

.account-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.55fr;
  gap: 28px;
  align-items: start;
}
.panel {
  background: var(--cream);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--r-lg);
  padding: 32px;
}
.panel h3 { font-size: 1.3rem; margin-bottom: 20px; }

.credit-hero {
  background: var(--moss);
  color: var(--cream);
  border-radius: var(--r-lg);
  padding: 34px 32px;
  position: relative;
  overflow: hidden;
  margin-bottom: 24px;
}
.credit-hero::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 1px solid rgba(247, 243, 234, 0.2);
  right: -70px;
  bottom: -90px;
}
.credit-hero .ch-label { font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sage); font-weight: 540; }
.credit-hero .ch-value {
  font-family: var(--font-display);
  font-size: 3.4rem;
  line-height: 1.1;
  margin: 8px 0 2px;
}
.credit-hero .ch-sub { font-size: 0.9rem; color: rgba(247, 243, 234, 0.65); }
.credit-hero .btn { margin-top: 22px; }

.booking-row {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(79, 66, 52, 0.1);
}
.booking-row:last-child { border-bottom: none; }
.booking-row .br-date {
  flex: none;
  width: 64px;
  height: 64px;
  border-radius: var(--r-sm);
  background: rgba(138, 155, 124, 0.16);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.booking-row .br-date .d { font-family: var(--font-display); font-size: 1.4rem; color: var(--moss); line-height: 1; }
.booking-row .br-date .m { font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--olive); font-weight: 560; }
.booking-row .br-info { flex: 1; min-width: 0; }
.booking-row .br-info strong { display: block; color: var(--brown); font-weight: 540; }
.booking-row .br-info span { font-size: 0.84rem; color: rgba(51, 43, 34, 0.6); }
.booking-row .br-cancel {
  flex: none;
  background: transparent;
  border: 1px solid rgba(79, 66, 52, 0.18);
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 0.82rem;
  color: rgba(51, 43, 34, 0.7);
  transition: all 0.3s;
}
.booking-row .br-cancel:hover { border-color: #b8643f; color: #a4502f; }

.empty-state {
  text-align: center;
  padding: 44px 20px;
  color: rgba(51, 43, 34, 0.55);
}
.empty-state .btn { margin-top: 18px; }

/* ---------- modal ---------- */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1500;
  background: rgba(51, 43, 34, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s, visibility 0.35s;
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal {
  width: min(480px, 100%);
  background: var(--cream);
  border-radius: var(--r-lg);
  padding: 38px 36px;
  transform: translateY(24px) scale(0.97);
  transition: transform 0.4s var(--ease);
  max-height: 86svh;
  overflow-y: auto;
}
.modal-overlay.open .modal { transform: translateY(0) scale(1); }
.modal h3 { font-size: 1.55rem; margin-bottom: 6px; }
.modal .m-sub { color: rgba(51, 43, 34, 0.65); font-size: 0.95rem; margin-bottom: 24px; }
.modal .m-rows { display: grid; gap: 0; margin-bottom: 26px; }
.modal .m-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(79, 66, 52, 0.1);
  font-size: 0.94rem;
}
.modal .m-row span { color: rgba(51, 43, 34, 0.6); }
.modal .m-row strong { font-weight: 540; color: var(--brown); text-align: right; }
.modal .m-actions { display: flex; gap: 12px; }
.modal .m-actions .btn { flex: 1; }

/* ---------- toast ---------- */

.toast-zone {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1800;
  display: grid;
  gap: 10px;
  width: min(420px, calc(100% - 40px));
}
.toast {
  display: flex;
  align-items: center;
  gap: 13px;
  background: rgba(46, 56, 40, 0.92);
  color: var(--cream);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 999px;
  padding: 15px 24px;
  font-size: 0.92rem;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.25);
  animation: toastIn 0.45s var(--ease);
}
.toast.warn { background: rgba(140, 84, 50, 0.94); }
.toast svg { width: 18px; height: 18px; flex: none; stroke: var(--sage); }
.toast.warn svg { stroke: #ecd1bb; }
@keyframes toastIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.toast.out { animation: toastOut 0.4s var(--ease) forwards; }
@keyframes toastOut {
  to { opacity: 0; transform: translateY(12px); }
}

/* ---------- classes page detail rows ---------- */

.cat-block { padding-top: clamp(40px, 6vw, 84px); scroll-margin-top: 90px; }
.cat-block:first-child { padding-top: 0; }
.cat-head { max-width: 640px; margin-bottom: 32px; }
.cat-head h2 { margin: 14px 0 16px; }
.cat-head .lead { font-size: 1.05rem; }

.class-detail {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(32px, 5vw, 70px);
  align-items: center;
  padding: clamp(40px, 6vw, 70px) 0;
  border-top: 1px solid rgba(79, 66, 52, 0.12);
}
.class-detail:first-of-type { border-top: none; }
.class-detail:nth-child(even) .cd-visual { order: 2; }
.cd-visual {
  border-radius: var(--r-arch);
  aspect-ratio: 4 / 4.4;
  position: relative;
  overflow: hidden;
}
.cd-visual svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.cd-body .cc-tags { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.cd-body h2 { margin-bottom: 16px; }
.cd-body .lead { margin-bottom: 22px; font-size: 1.05rem; }
.cd-facts { display: flex; gap: 28px; flex-wrap: wrap; margin-bottom: 28px; }
.cd-facts .fact strong { display: block; font-family: var(--font-display); font-size: 1.3rem; color: var(--brown); font-weight: 480; }
.cd-facts .fact span { font-size: 0.8rem; color: rgba(51, 43, 34, 0.55); }

/* ---------- guided breathing ---------- */

:root { --breath: 0; }

.breathe-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--sage);
  flex: none;
  animation: breatheDot 10s ease-in-out infinite;
}
@keyframes breatheDot {
  0%, 100% { transform: scale(0.7); opacity: 0.7; }
  50% { transform: scale(1.25); opacity: 1; }
}

/* page-wide wireframe rings, centered on the hero arch */
.rings-scene {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100% !important;
  height: 100% !important;
  display: block;
  pointer-events: none;
}

/* breathing cues, projected over the arch window */
.arch-cue {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.7s;
}
.arch-cue.show { opacity: 1; }
.arch-cue .ac-cue {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 420;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  color: var(--cream);
  text-shadow: 0 2px 28px rgba(46, 56, 40, 0.45);
  line-height: 1.25;
}
.arch-cue .ac-count {
  margin-top: 12px;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(247, 243, 234, 0.8);
  text-shadow: 0 1px 16px rgba(46, 56, 40, 0.45);
  max-width: 300px;
  line-height: 1.7;
}

/* the page itself breathes while a session runs */
body.breathing .nav,
body.breathing .hero-float-card {
  box-shadow: 0 12px 40px rgba(79, 66, 52, calc(0.12 + var(--breath) * 0.22));
}
body.breathing .hero-arch {
  box-shadow: 0 40px 80px rgba(79, 66, 52, 0.22),
    0 0 calc(30px + var(--breath) * 70px) rgba(201, 163, 132, calc(var(--breath) * 0.55));
}

/* ---------- reveal helpers ---------- */

[data-split] .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.14em;
  margin-bottom: -0.14em;
}
[data-split] .wi { display: inline-block; transform: translateY(118%); }
#hero-word { display: inline-block; }

[data-reveal] { opacity: 0; }
.no-js [data-reveal], .reveal-done[data-reveal] { opacity: 1; }

/* ==========================================================================
   responsive
   ========================================================================== */

@media (max-width: 1080px) {
  .classes-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: 1fr 1fr; }
  .calendar {
    grid-template-columns: repeat(7, minmax(225px, 1fr));
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 16px;
  }
  .cal-day { scroll-snap-align: start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-actions .btn { display: none; }
  .nav-burger { display: flex; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; margin-inline: auto; width: 100%; }
  .fm-1, .fm-3, .fm-5 { left: -6px; }
  .fm-2, .fm-4 { right: -6px; }

  .hero-copy { text-align: center; }
  .hero-copy .lead { margin-inline: auto; }
  .hero-ctas { justify-content: center; }

  .philo-grid { grid-template-columns: 1fr; }
  .space-gallery { grid-template-columns: 1fr; }
  .studio-features { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .dark-band .band-inner { grid-template-columns: 1fr; }
  .account-grid { grid-template-columns: 1fr; }

  .auth-wrap { grid-template-columns: 1fr; }
  .auth-visual { display: none; }

  .class-detail { grid-template-columns: 1fr; }
  .class-detail:nth-child(even) .cd-visual { order: 0; }
  .cd-visual { max-width: 420px; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .classes-grid, .steps-grid, .pricing-grid, .testi-grid { grid-template-columns: 1fr; }
  .hero { padding-top: calc(var(--nav-h) + 40px); }
  .hero-stats { flex-wrap: wrap; gap: 22px 32px; }
  .hero-ctas .btn { flex: 1; justify-content: center; }
  .hero-copy { text-align: left; }
  .hero-copy .lead { margin-inline: 0; }
  .hero-ctas { justify-content: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .modal { padding: 30px 24px; }
  .week-label { min-width: 0; font-size: 1.05rem; }
  .sched-bar { justify-content: center; }
  .booking-row { flex-wrap: wrap; }
  .booking-row .br-cancel { margin-left: 82px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}
