/* Yogavibe, page-specific & section CSS */

/* ============ NAV ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: 18px 0;
  transition: background 220ms, border-color 220ms, padding 220ms;
  border-bottom: 1px solid transparent;
}
.nav[data-scrolled="true"] {
  background: oklch(from var(--bg) l c h / 0.88);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
  padding: 12px 0;
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
}
.nav-logo {
  display: inline-flex; align-items: center; gap: 10px;
  cursor: pointer;
}
.logo-mark {
  display: inline-block;
  flex-shrink: 0;
  background-color: currentColor;
  -webkit-mask: url("images/yogavibe-logo.svg") center / contain no-repeat;
          mask: url("images/yogavibe-logo.svg") center / contain no-repeat;
}
.nav-wordmark {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.nav-list {
  display: flex; gap: 36px;
  list-style: none;
  justify-self: center;
}
.nav-list a {
  font-size: 13px;
  letter-spacing: 0.04em;
  cursor: pointer;
  color: var(--ink-soft);
  transition: color 180ms;
  position: relative;
  padding: 4px 0;
}
.nav-list a:hover, .nav-list a[data-active="true"] { color: var(--ink); }
.nav-list a[data-active="true"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px; background: var(--accent);
}
.nav-right {
  display: flex; align-items: center; gap: 20px; justify-self: end; white-space: nowrap;
}
.nav-loc {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0;
}
.nav-loc .dot {
  width: 6px; height: 6px; border-radius: 999px;
  background: var(--accent-2);
  box-shadow: 0 0 0 3px oklch(from var(--accent-2) l c h / 0.2);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  50% { box-shadow: 0 0 0 6px oklch(from var(--accent-2) l c h / 0); }
}
@media (max-width: 1260px) {
  .nav-loc { display: none; }
}
/* ============ HAMBURGER ============ */
.nav-hamburger {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: transparent; border: none; padding: 0;
  cursor: pointer;
  justify-self: end;
  color: var(--ink);
  -webkit-tap-highlight-color: transparent;
}
@media (max-width: 980px) {
  .nav-list { display: none; }
  .nav-inner { grid-template-columns: 1fr auto; }
  .nav-hamburger { display: inline-flex; }
}
.nav-hamburger-bars {
  position: relative;
  width: 22px; height: 14px;
  display: inline-block;
}
.nav-hamburger-bars span {
  position: absolute; left: 0; right: 0;
  height: 1.5px; background: currentColor;
  transition: transform 240ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 180ms, top 240ms;
}
.nav-hamburger-bars span:nth-child(1) { top: 0; }
.nav-hamburger-bars span:nth-child(2) { top: 6px; }
.nav-hamburger-bars span:nth-child(3) { top: 12px; }
.nav-hamburger-bars[data-open="true"] span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.nav-hamburger-bars[data-open="true"] span:nth-child(2) { opacity: 0; }
.nav-hamburger-bars[data-open="true"] span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

/* ============ MOBILE DRAWER ============ */
.mobile-drawer {
  position: fixed; inset: 0;
  z-index: 60;
  pointer-events: none;
  visibility: hidden;
}
.mobile-drawer[data-open="true"] {
  pointer-events: auto;
  visibility: visible;
}
.mobile-drawer-scrim {
  position: absolute; inset: 0;
  background: oklch(from var(--ink) l c h / 0.4);
  opacity: 0;
  transition: opacity 280ms ease;
}
.mobile-drawer[data-open="true"] .mobile-drawer-scrim { opacity: 1; }
.mobile-drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(86vw, 380px);
  background: var(--bg);
  padding: 96px 32px 40px;
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: -10px 0 40px oklch(from var(--ink) l c h / 0.08);
  overflow-y: auto;
}
.mobile-drawer[data-open="true"] .mobile-drawer-panel { transform: translateX(0); }
.mobile-drawer-list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex; flex-direction: column;
  gap: 4px;
}
.mobile-drawer-list a {
  display: block;
  padding: 14px 0;
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1.1;
  color: var(--ink);
  cursor: pointer;
  border-bottom: 1px solid var(--line);
  transition: color 180ms;
}
.mobile-drawer-list a[data-active="true"] {
  color: var(--accent);
}
.mobile-drawer-list a:active { color: var(--accent); }
.mobile-drawer-foot {
  margin-top: auto;
  padding-top: 32px;
  display: flex; flex-direction: column;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}
.mobile-drawer-foot a {
  color: var(--ink-soft);
  text-decoration: none;
}
.mobile-drawer-foot a:hover { color: var(--ink); }
@media (min-width: 981px) {
  .mobile-drawer { display: none; }
}

/* ============ HERO SPLIT ============ */
.hero { position: relative; padding-top: 140px; padding-bottom: var(--section); overflow: hidden; }
.hero-split-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: end;
  min-height: 80vh;
}
.hero-split-left { padding-bottom: 24px; }
.hero-split-right {
  position: relative;
  height: 80vh;
  min-height: 600px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 2fr 1fr;
  gap: 16px;
}
.hero-img-tall {
  grid-row: 1 / 3;
  grid-column: 2;
}
.hero-img-tall :is(.placeholder, .photo) { height: 100%; min-height: 0; }
.hero-img-wide {
  grid-row: 2;
  grid-column: 1;
}
.hero-img-wide :is(.placeholder, .photo) { height: 100%; min-height: 0; }
.hero-stamp {
  grid-row: 1; grid-column: 1;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.stamp-ring { position: relative; width: 200px; height: 200px; color: var(--ink); }
.stamp-svg {
  width: 100%; height: 100%;
  animation: spin 32s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.stamp-center {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.hero-meta {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 48px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
  max-width: 540px;
}
.hero-meta-val {
  font-family: var(--font-display);
  font-size: 22px;
  margin-top: 4px;
}
@media (max-width: 900px) {
  .hero-split-grid { grid-template-columns: 1fr; }
  .hero-split-right { height: 70vh; }
}

/* HERO EDITORIAL */
.hero-editorial { padding-top: 120px; }
.hero-edit-img {
  margin-top: 56px;
  height: 60vh;
  min-height: 480px;
}
.hero-edit-img :is(.placeholder, .photo) { height: 100%; }
.hero-edit-meta {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 32px;
  align-items: end;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

/* HERO FULL-BLEED */
.hero-fullbleed {
  padding: 0;
  height: 100vh;
  min-height: 720px;
  position: relative;
  display: flex;
  align-items: flex-end;
}
.hero-fb-img {
  position: absolute; inset: 0;
}
.hero-fb-img :is(.placeholder, .photo) { position: absolute; inset: 0; height: 100%; width: 100%; border: 0; }
.hero-fb-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  border: 0;
  display: block;
}
.hero-fb-tag {
  position: absolute;
  top: 32px; right: 32px;
  z-index: 3;
  color: oklch(from var(--bg) l c h / 0.85);
  letter-spacing: 0.18em;
  text-shadow: 0 1px 8px oklch(0 0 0 / 0.4);
  pointer-events: none;
}
.hero-fb-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to top, oklch(0 0 0 / 0.5) 0%, oklch(0 0 0 / 0.1) 50%, oklch(0 0 0 / 0.3) 100%);
  pointer-events: none;
}
.hero-fb-content {
  position: relative;
  padding-bottom: 96px;
  color: var(--bg);
}

/* ============ INTRO ============ */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
}
.intro-text {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 48px);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.005em;
  color: var(--ink);
  text-wrap: pretty;
}
.intro-text em { font-style: italic; color: var(--accent); }
.intro-sig { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
@media (max-width: 800px) { .intro-grid { grid-template-columns: 1fr; gap: 24px; } }

/* ============ FEATURED RETREAT ============ */
.featured-meta-stack {
  display: flex; gap: 48px;
  border-left: 1px solid var(--line);
  padding-left: 32px;
}
.featured-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.825fr 0.825fr;
  grid-template-rows: auto auto;
  gap: 24px;
  min-width: 0;
}
.featured-grid > * { min-width: 0; }
.featured-img-main {
  grid-row: 1 / 3;
  grid-column: 1;
  overflow: hidden;
}
.featured-img-main :is(.placeholder, .photo) { height: 100%; min-height: 400px; }
.featured-img-secondary { grid-row: 1; grid-column: 2; overflow: hidden; }
.featured-img-tertiary { grid-row: 1; grid-column: 3; overflow: hidden; }
.featured-img-secondary :is(.placeholder, .photo), .featured-img-tertiary :is(.placeholder, .photo) { min-height: 200px; }
.featured-text {
  grid-row: 2;
  grid-column: 2 / 4;
  padding: 24px 0 0 0;
  min-width: 0;
  overflow-wrap: anywhere;
}
.featured-list {
  list-style: none;
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.featured-list li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 20px;
  align-items: baseline;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-soft);
}
@media (max-width: 1100px) {
  .featured-grid { grid-template-columns: 1fr 1fr; }
  .featured-img-main { grid-row: 1; grid-column: 1 / 3; }
  .featured-img-main :is(.placeholder, .photo) { min-height: 420px; }
  .featured-img-secondary { grid-row: 2; grid-column: 1; }
  .featured-img-tertiary { grid-row: 2; grid-column: 2; }
  .featured-text { grid-row: 3; grid-column: 1 / 3; }
}

/* ============ RETREATS GRID ============ */
.retreats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 56px 32px;
}
.retreat-card { cursor: pointer; transition: transform 320ms; }
.retreat-card:hover { transform: translateY(-4px); }
.retreat-card-img { aspect-ratio: 4/3; margin-bottom: 24px; }
.retreat-card-img :is(.placeholder, .photo) { height: 100%; }
.retreat-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid;
  border-radius: 999px;
  padding: 4px 10px;
}
.retreat-card-foot {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 720px) { .retreats-grid { grid-template-columns: 1fr; } }

/* ============ DAY ============ */
.day-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
}
.day-quote {
  margin-top: 48px;
  padding: 32px;
  border: 1px solid var(--line);
  background: var(--bg-alt);
}
.day-schedule {
  display: flex; flex-direction: column;
}
.day-row {
  display: grid;
  grid-template-columns: 80px 1fr 24px;
  gap: 24px;
  align-items: baseline;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.day-time {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink);
  letter-spacing: 0.05em;
}
.day-label {
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.2;
}
.day-detail {
  margin-top: 4px;
  font-size: 14px;
  color: var(--ink-soft);
}
.day-dot {
  width: 8px; height: 8px; border-radius: 999px;
  background: var(--accent);
  opacity: 0.4;
  justify-self: end; align-self: center;
}
.day-row:hover .day-dot { opacity: 1; transform: scale(1.5); transition: all 220ms; }
@media (max-width: 800px) { .day-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ============ TESTIMONIALS ============ */
.testimonials .eyebrow::before { background: var(--accent-3); }
.testi-nav { display: flex; gap: 16px; }
.testi-dot {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: oklch(from var(--bg) l c h / 0.4);
  cursor: pointer;
  transition: color 200ms;
}
.testi-dot:hover, .testi-dot.active { color: var(--bg); }
.testi-stage { position: relative; min-height: 320px; }
.testi-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 700ms, transform 700ms;
  pointer-events: none;
}
.testi-slide.active { opacity: 1; transform: none; pointer-events: auto; }
.testi-stars {
  font-size: 14px;
  letter-spacing: 0.6em;
  color: var(--accent-3);
  margin-bottom: 24px;
}
.testi-quote {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(28px, 3.6vw, 52px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  max-width: 1100px;
  text-wrap: pretty;
}
.testi-attr {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid oklch(from var(--bg) l c h / 0.15);
  display: flex; justify-content: space-between; align-items: end;
}
.testi-name { font-family: var(--font-display); font-size: 22px; }

/* ============ ABOUT BLOCK ============ */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: start;
}
.about-creds {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
@media (max-width: 800px) { .about-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ============ WORKSHOPS ============ */
.workshops-list { display: flex; flex-direction: column; }
.workshop-row {
  display: grid;
  grid-template-columns: 140px 1fr auto 32px;
  gap: 32px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  align-items: center;
  cursor: pointer;
  transition: padding 240ms;
}
.workshop-row:hover { padding-left: 16px; }
.workshop-row:last-child { border-bottom: 1px solid var(--line); }
.workshop-arrow { color: var(--ink-soft); transition: color 200ms, transform 200ms; }
.workshop-row:hover .workshop-arrow { color: var(--accent); transform: translateX(4px); }
.workshop-tag { color: var(--ink-soft); }
@media (max-width: 720px) {
  .workshop-row { grid-template-columns: 100px 1fr 24px; gap: 16px; }
  .workshop-tag { display: none; }
}

/* ============ GALLERY ============ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  grid-auto-flow: dense;
  gap: 16px;
}
.gallery-item :is(.placeholder, .photo) { height: 100%; }
.gallery-tall { grid-row: span 2; }
.gallery-wide { grid-column: span 2; }
.gallery-square { grid-column: span 1; grid-row: span 1; }
@media (max-width: 800px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-wide { grid-column: span 2; }
}

/* ============ FAQ ============ */
.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
}
.faq-row {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  cursor: pointer;
  transition: padding 220ms;
}
.faq-row:last-child { border-bottom: 1px solid var(--line); }
.faq-row:hover { padding-left: 8px; }
.faq-q {
  display: grid;
  grid-template-columns: 32px 1fr 24px;
  gap: 20px;
  align-items: baseline;
}
.faq-q .h3 { font-size: 22px; line-height: 1.3; }
.faq-icon {
  font-size: 24px;
  color: var(--accent);
  font-family: var(--font-display);
  text-align: right;
}
.faq-a {
  margin-top: 16px;
  padding: 0 0 0 52px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 70ch;
}
@media (max-width: 800px) { .faq-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ============ NEWSLETTER ============ */
.newsletter-card {
  background: var(--bg-deep);
  color: var(--bg);
  padding: clamp(40px, 6vw, 96px);
  border-radius: 4px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.newsletter-card::before {
  content: "";
  position: absolute;
  right: -100px; top: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: oklch(from var(--accent) l c h / 0.15);
  filter: blur(80px);
  pointer-events: none;
}
.newsletter-card .eyebrow { color: oklch(from var(--bg) l c h / 0.6); }
.newsletter-card .eyebrow::before { background: var(--accent-3); }
.newsletter-text { color: var(--bg); }
.newsletter-form {
  position: relative;
  display: flex; flex-direction: column;
}
.newsletter-form input {
  width: 100%;
  padding: 18px 24px;
  background: transparent;
  color: var(--bg);
  border: 1px solid oklch(from var(--bg) l c h / 0.3);
  border-radius: 999px;
  font: inherit;
  font-size: 15px;
  margin-bottom: 12px;
  outline: none;
  transition: border-color 200ms;
}
.newsletter-form input:focus { border-color: var(--bg); }
.newsletter-form input::placeholder { color: oklch(from var(--bg) l c h / 0.4); }
.newsletter-form .btn-primary { background: var(--accent); border-color: var(--accent); color: var(--bg); justify-content: center; }
.newsletter-form .btn-primary:hover { background: var(--bg); color: var(--ink); border-color: var(--bg); }
.newsletter-form .caption { color: oklch(from var(--bg) l c h / 0.5); }
.newsletter-success { padding: 24px; background: oklch(from var(--bg) l c h / 0.05); border-radius: 4px; }
@media (max-width: 800px) { .newsletter-card { grid-template-columns: 1fr; gap: 32px; } }

/* ============ INSTAGRAM ============ */
.insta-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}
.insta-item {
  position: relative;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  overflow: hidden;
  min-width: 0;
}
.insta-media {
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background: var(--bg-alt);
}
.insta-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 480ms cubic-bezier(.2,.7,.2,1), filter 320ms;
  filter: saturate(0.95);
}
.insta-item:hover .insta-media img {
  transform: scale(1.04);
  filter: saturate(1.05);
}
.insta-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(4px);
  border-radius: 50%;
}
.insta-meta {
  padding: 12px 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 1px solid var(--line);
}
.insta-caption {
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.insta-date {
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.insta-skeleton {
  aspect-ratio: 9 / 16;
  background: linear-gradient(110deg, var(--bg-alt) 30%, rgba(0,0,0,0.04) 50%, var(--bg-alt) 70%);
  background-size: 200% 100%;
  animation: insta-shimmer 1.4s linear infinite;
  border: 1px solid var(--line);
}
@keyframes insta-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
@media (max-width: 1100px) { .insta-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .insta-grid { grid-template-columns: repeat(2, 1fr); } }

/* ============ FOOTER ============ */
.footer {
  background: var(--ink);
  color: var(--bg);
  padding: 100px 0 32px;
  margin-top: 80px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  padding-bottom: 80px;
  border-bottom: 1px solid oklch(from var(--bg) l c h / 0.15);
}
.footer-brand .h1 { color: var(--bg); }
.footer-brand .h1 em { color: var(--accent); }
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-self: end;
}
.footer-cols ul { list-style: none; margin-top: 16px; }
.footer-cols li { padding: 6px 0; }
.footer-cols a { color: oklch(from var(--bg) l c h / 0.7); font-size: 14px; transition: color 200ms; cursor: pointer; }
.footer-cols a:hover { color: var(--bg); }
.footer-cols .caption { color: oklch(from var(--bg) l c h / 0.4); }
.footer-bottom {
  display: flex; justify-content: space-between;
  margin-top: 32px;
  flex-wrap: wrap; gap: 16px;
}
.footer-bottom .caption { color: oklch(from var(--bg) l c h / 0.4); }
@media (max-width: 800px) {
  .footer-top { grid-template-columns: 1fr; gap: 48px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}

/* ============ RETREATS PAGE ============ */
.retreats-hero { padding-top: 180px; }
.retreats-filters {
  display: flex; gap: 20px; align-items: center;
  padding: 24px var(--gutter);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.filter-chips { display: flex; gap: 8px; flex: 1; flex-wrap: wrap; }
.chip {
  padding: 8px 16px;
  font-size: 12px;
  letter-spacing: 0.05em;
  border-radius: 999px;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: all 180ms;
}
.chip:hover { border-color: var(--ink); }
.chip.active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.retreats-list-page { display: flex; flex-direction: column; }
.retreat-row {
  display: grid;
  grid-template-columns: 280px 1fr auto;
  gap: 48px;
  padding: 40px 0;
  border-top: 1px solid var(--line);
  align-items: center;
  cursor: pointer;
  transition: padding 240ms;
}
.retreat-row:hover { padding-left: 16px; }
.retreat-row:last-child { border-bottom: 1px solid var(--line); }
.retreat-row-img :is(.placeholder, .photo) { aspect-ratio: 4/3; }
.retreat-row-tags {
  display: flex; gap: 16px; align-items: center;
  margin-top: 16px;
}
.dot-sep {
  width: 4px; height: 4px; border-radius: 999px;
  background: var(--ink-mute);
}
.retreat-row-tag { text-align: right; }
@media (max-width: 800px) {
  .retreat-row { grid-template-columns: 1fr; gap: 16px; }
}

/* ============ DETAIL PAGE ============ */
.detail-hero { padding-top: 100px; padding-bottom: 60px; }
.detail-hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: end;
  min-height: 80vh;
}
.back-link { cursor: pointer; display: inline-block; padding: 12px 0; min-height: 44px; }
.detail-hero-text .eyebrow { display: flex; }
.detail-hero-img :is(.placeholder, .photo) { aspect-ratio: 4/5; }
.detail-meta-row {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 48px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
  max-width: 700px;
}
.detail-tabs {
  display: flex;
  gap: 32px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.detail-tab {
  padding: 18px 0;
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--ink-soft);
  cursor: pointer;
  position: relative;
  transition: color 200ms;
}
.detail-tab:hover { color: var(--ink); }
.detail-tab.active { color: var(--ink); }
.detail-tab.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px;
  height: 2px; background: var(--accent);
}
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 80px;
  align-items: start;
}
.schedule-list { display: flex; flex-direction: column; }
.schedule-day {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
}
.schedule-day:last-child { border-bottom: 1px solid var(--line); }
.schedule-day ul { list-style: none; }
.schedule-day li {
  padding: 6px 0;
  font-size: 15px;
  color: var(--ink-soft);
  border-bottom: 1px dashed var(--line);
}
.schedule-day li:last-child { border-bottom: 0; }
.included-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 40px;
}
.included-item {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 16px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.place-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}
.place-grid :is(.placeholder, .photo) { aspect-ratio: 4/3; }
.teacher-content {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
  align-items: start;
}
.teacher-content :is(.placeholder, .photo) { aspect-ratio: 4/5; }

/* Two-teacher layout, stacked vertically */
.teacher-pair { display: grid; grid-template-columns: 1fr; gap: 64px; }
.teacher-pair .teacher-card {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  align-items: start;
}
.teacher-pair .teacher-card :is(.placeholder, .photo) { aspect-ratio: 4/5; }
@media (max-width: 980px) {
  .teacher-pair .teacher-card { grid-template-columns: 1fr; gap: 24px; }
}

.detail-booking { position: sticky; top: 100px; }
.booking-card {
  background: var(--bg-alt);
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 4px;
}
.booking-price {
  display: flex; align-items: baseline; gap: 12px;
  margin-top: 12px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.booking-row {
  margin-top: 24px;
}
.booking-row .caption { margin-bottom: 8px; display: block; }
.booking-toggle {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4px;
  background: oklch(from var(--ink) l c h / 0.06);
  padding: 4px;
  border-radius: 999px;
}
.booking-toggle button {
  padding: 10px 12px;
  font-size: 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 200ms;
  color: var(--ink-soft);
}
.booking-toggle button.active {
  background: var(--ink);
  color: var(--bg);
}
.booking-stepper {
  display: flex; align-items: center;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  width: max-content;
}
.booking-stepper button {
  width: 40px; height: 40px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 18px;
  transition: background 200ms;
}
.booking-stepper button:hover { background: var(--ink); color: var(--bg); }
.booking-stepper span { padding: 0 8px; font-size: 14px; }
.booking-summary {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 8px;
  font-size: 13px;
  color: var(--ink-soft);
}
.booking-trust {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  text-align: center;
}
@media (max-width: 980px) {
  .detail-hero-inner, .detail-grid, .teacher-content { grid-template-columns: 1fr; gap: 32px; }
  .schedule-day { grid-template-columns: 1fr; gap: 8px; }
  .included-grid { grid-template-columns: 1fr; }
  .detail-booking { position: static; }
}

/* About page */
.about-page-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 800px) {
  .about-page-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ============ MOBILE FIXES (≤480px / phones) ============ */
@media (max-width: 600px) {
  /* Hide the hero coords tag on phones — it overlaps the nav. */
  .hero-fb-tag { display: none; }

  /* Stack the retreat-detail meta row 2-up on phones so dates don't wrap badly. */
  .detail-meta-row {
    grid-template-columns: 1fr 1fr;
    gap: 24px 32px;
    margin-top: 36px;
  }

  /* Filter row on retreats page: stack vertically, caption above chips,
     count below. Chips wrap into 1-2 rows naturally. */
  .retreats-filters {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 20px var(--gutter);
  }
  .filter-chips { flex: none; flex-wrap: wrap; gap: 8px; }
  .chip { padding: 10px 18px; font-size: 12px; }

  /* Custom-retreats stats row: 2 columns instead of 4. */
  .custom-stats { grid-template-columns: 1fr 1fr; gap: 32px 24px; }

  /* Enquiry-form group-type toggle — let buttons wrap naturally. */
  .enquiry-toggle { flex-wrap: wrap; }
  .enquiry-toggle button { flex: 1 1 calc(50% - 4px); }

  /* Booking card padding tighter on phones. */
  .booking-card { padding: 24px 20px; }
  .detail-booking { position: static; top: auto; }

  /* Hero typography: ensure lines don't overflow on very small phones. */
  .h-display { word-break: normal; overflow-wrap: break-word; }

  /* Footer columns stack to single column on phones. */
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* Tighter still for tiny phones (≤380px). */
@media (max-width: 380px) {
  .nav-wordmark { font-size: 20px; }
  .detail-meta-row { gap: 20px 24px; }
}
