/* ============================================================
   we are yoga — base styles
   ============================================================ */

:root {
  /* Palette — anchored to the logo's warm cream */
  --bg:        #FFFFFF;       /* white */
  --bg-2:      #EBE4D7;       /* deeper cream */
  --bg-soft:   #FAFAF7;       /* near-white */
  --ink:       #1A1A1A;       /* near-black */
  --ink-2:     #2B2A28;
  --mute:      #8A8478;       /* warm grey */
  --line:      #1A1A1A22;     /* hairline */
  --sage:      #6B7355;       /* sage accent */
  --terracotta:#B8643A;       /* warm accent (rare) */
  --rebel:     #C8FF3A;       /* acid lime — disruptive accent */

  /* Type */
  --sans: "Geist", "Hanken Grotesk", -apple-system, BlinkMacSystemFont, sans-serif;
  --serif: "Instrument Serif", "Cormorant Garamond", Georgia, serif;
  --mono: "Geist Mono", "JetBrains Mono", ui-monospace, monospace;

  /* Spacing rhythm */
  --gutter: clamp(40px, 9vw, 180px);
  --section: clamp(80px, 12vw, 180px);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scrollbar-gutter: stable; }
body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.45;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  letter-spacing: -0.005em;
  overflow-x: hidden;
}
::selection { background: var(--rebel); color: var(--ink); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
[hidden] { display: none !important; }

/* ---------- Type scale ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
}
.display {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(48px, 9vw, 144px);
  line-height: 0.92;
  letter-spacing: -0.035em;
}
.h1 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(36px, 5.4vw, 84px);
  line-height: 0.96;
  letter-spacing: -0.03em;
}
.h2 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1.02;
  letter-spacing: -0.025em;
}
.h3 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.15;
  letter-spacing: -0.015em;
}
.lede {
  font-size: clamp(17px, 1.4vw, 22px);
  line-height: 1.4;
  color: var(--ink-2);
  max-width: none;
  letter-spacing: -0.008em;
}
.body { font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.italic-serif {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
}

/* ---------- Layout primitives ---------- */
.page {
  min-height: 100vh;
  padding: 0 var(--gutter);
}
.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
}
.section { padding: var(--section) 0; scroll-margin-top: 220px; }
.rule { height: 1px; background: var(--line); width: 100%; }

/* ---------- Language switch (inside topbar) ---------- */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: lowercase;
  margin: 0;
}
.lang-switch .lang {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: transparent;
  color: var(--mute);
  border: 1px solid var(--line);
  transition: all .2s;
  line-height: 1;
}
.lang-switch .lang:hover { color: var(--ink); border-color: var(--ink); }
.lang-switch .lang.active {
  background: var(--rebel);
  color: var(--ink);
  border-color: var(--rebel);
}
.lang-switch .lang-sep { display: none; }

/* ---------- Top bar ---------- */
.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(190px, 1fr) auto minmax(190px, 1fr);
  align-items: center;
  column-gap: clamp(24px, 4vw, 72px);
  padding: 34px clamp(24px, 4vw, 72px) 32px;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg) 85%, transparent);
  pointer-events: none;
}
.topbar > * { pointer-events: auto; }
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  margin-left: 0;
  flex-direction: column;
  font-family: var(--sans);
  font-style: normal;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.05;
  letter-spacing: -0.03em;
  background: var(--ink);
  color: var(--bg);
  width: 140px;
  height: 140px;
  border-radius: 50%;
  text-align: center;
}
.brand-mark span {
  display: block;
  position: relative;
}
.brand-mark .dot {
  position: absolute;
  left: 100%;
  bottom: 4px;
  width: 4px;
  height: 4px;
  background: var(--rebel);
  margin-left: 3px;
}
.nav {
  display: flex;
  gap: clamp(12px, 1.3vw, 22px);
  justify-self: center;
  align-items: center;
}
.nav a {
  font-size: 13px;
  font-weight: 450;
  color: var(--ink);
  letter-spacing: -0.005em;
  position: relative;
  padding: 4px 0;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transition: right .35s cubic-bezier(.2,.7,.2,1);
}
.nav a:hover::after { right: 0; }
.nav a.active::after { right: 0; }
.nav a.cta-pill { color: var(--bg); font-size: 13px; font-weight: 500; padding: 9px 16px 9px 18px; }
.nav a.cta-pill:hover { color: var(--ink); }
.nav a.cta-pill::after { display: none; }
.nav a.lang::after { display: none; }

.topbar-right {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 3px;
}
.clock {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--mute);
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.clock .pulse {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--sage);
  box-shadow: 0 0 0 0 var(--sage);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(107,115,85,.5); }
  70%  { box-shadow: 0 0 0 8px rgba(107,115,85,0); }
  100% { box-shadow: 0 0 0 0 rgba(107,115,85,0); }
}
.cta-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px 9px 18px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: background .25s, color .25s, transform .25s;
}
.cta-pill:hover { background: transparent; color: var(--ink); }
.cta-pill .arrow {
  width: 14px; height: 14px;
  transition: transform .3s cubic-bezier(.2,.7,.2,1);
}
.cta-pill:hover .arrow { transform: translateX(3px); }

.cta-pill.ghost { background: transparent; color: var(--ink); }
.cta-pill.ghost:hover { background: var(--ink); color: var(--bg); }

.price-card .cta-pill {
  margin-top: auto;
  align-self: flex-start;
}

/* ---------- Hero ---------- */
.hero {
  min-height: calc(100vh - 280px);
  display: grid;
  grid-template-rows: auto 1fr auto;
  position: relative;
  padding-top: 0;
}
.hero-title-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  padding-top: 8px;
  margin-bottom: clamp(40px, 6vw, 80px);
}
.hero-title {
  grid-column: 1 / -1;
  text-align: center;
  font-size: clamp(46px, 8.5vw, 138px);
}
.hero-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 56vh;
}
.hero-side-text {
  position: absolute;
  left: 0;
  bottom: 8%;
  max-width: 180px;
  text-align: left;
}
.hero-side-text p { margin: 0; }
.hero-figure-wrap {
  width: clamp(280px, 42vw, 560px);
  aspect-ratio: 1 / 1;
  position: relative;
}
.hero-figure-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--line);
}
.hero-figure-ring.r2 { inset: -8%; opacity: .55; }
.hero-figure-ring.r3 { inset: -18%; opacity: .25; }
.hero-figure-ring.spin {
  animation: spin 60s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.hero-figure-ring .tick {
  position: absolute;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--mute);
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hero-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: end;
  padding-bottom: 28px;
}
.hero-meta .left  { text-align: left; }
.hero-meta .right { text-align: right; }
.hero-meta p { margin: 0; max-width: 28ch; }
.hero-meta .right p { margin-left: auto; }

/* ---------- Promo banner (boxed, no fill) ---------- */
.promo-banner {
  background: transparent;
  color: var(--ink);
  margin-top: 84px;
  padding: 24px var(--gutter) 8px;
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
}
.promo-banner .container {
  padding: clamp(16px, 2.4vw, 28px) clamp(24px, 4vw, 56px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 1320px;
}
.promo-banner h2 {
  font-size: clamp(20px, 3.2vw, 48px);
  font-weight: 500;
  white-space: nowrap;
  letter-spacing: -0.03em;
  line-height: 0.98;
  margin: 0;
}
.promo-banner h2 .price-unit {
  font-family: "Hanken Grotesk", var(--sans);
  font-size: 0.32em;
  letter-spacing: -0.005em;
  font-weight: 400;
  vertical-align: middle;
  margin-left: 8px;
  color: var(--mute);
}
.promo-banner h2 .sep {
  display: inline-block;
  margin: 0 0.25em;
  font-weight: 300;
  opacity: 0.4;
}
.promo-banner p {
  font-size: clamp(13px, 1.1vw, 16px);
  margin: 0;
  max-width: 60ch;
  line-height: 1.4;
  color: var(--ink-2);
}
.promo-banner .italic { font-family: "Hanken Grotesk", var(--sans); font-style: normal; font-weight: 500; }
.promo-banner .promo-highlight {
  background: var(--rebel);
  color: var(--ink);
  padding: 0.05em 0.28em 0.12em;
  display: inline-block;
  line-height: 1;
}
.promo-banner--highlight {
  text-align: center;
  margin-top: clamp(120px, 12.5vw, 195px);
}
.promo-banner--highlight .container {
  background: var(--rebel);
  color: var(--ink);
  border-radius: 18px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: auto;
  max-width: min(720px, calc(100% - var(--gutter)));
  padding: clamp(14px, 1.8vw, 22px) clamp(20px, 2.2vw, 32px);
  text-align: center;
}
.promo-banner--highlight h2,
.promo-banner--highlight p { color: var(--ink); }
.promo-banner--highlight h2 .price-unit,
.promo-banner--highlight h2 .sep { color: var(--ink); opacity: 0.7; }

/* ---------- Marquee ---------- */
.marquee {
  display: flex;
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding: 18px 0;
  gap: 48px;
  white-space: nowrap;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.marquee-track {
  display: flex;
  gap: 48px;
  animation: marquee 21s linear infinite;
  flex-shrink: 0;
}
.marquee span {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(22px, 2.4vw, 34px);
  color: var(--ink);
  letter-spacing: -0.01em;
}
.marquee .dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ink);
  align-self: center;
  margin-inline: 24px;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- Section header ---------- */
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: clamp(24px, 4vw, 80px);
  align-items: start;
  margin-bottom: clamp(40px, 6vw, 80px);
}
#clases .section-head {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
}
#clases .section-head > div:last-child {
  margin-top: 60px !important;
}
#clases .section-head .lede {
  max-width: none;
}
.section-head .id {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
}
.section-head .num-rebel { color: var(--rebel); font-weight: 500; }

/* ---------- Classes table ---------- */
.classes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}
.class-row {
  display: grid;
  grid-template-columns: 64px 1.4fr 1fr 1fr 120px 44px;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
  transition: background .3s;
  cursor: pointer;
}
.class-row:hover { background: rgba(26,26,26,0.025); }
.class-row .idx {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--mute);
}
.class-row .name { font-size: clamp(20px, 2vw, 30px); font-weight: 500; letter-spacing: -0.02em; }
.class-row .level { color: var(--mute); font-size: 14px; }
.class-row .time  { font-family: var(--mono); font-size: 13px; color: var(--ink-2); }
.class-row .seats {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--sage);
  text-transform: uppercase;
}
.class-row .seats.full { color: var(--terracotta); }
.class-row .arrow {
  width: 18px; height: 18px;
  transition: transform .35s;
}
.class-row:hover .arrow { transform: translateX(6px) rotate(-45deg); }

/* ---------- Photo gallery ---------- */
.gallery {
  display: grid;
  gap: clamp(10px, 1.2vw, 18px);
}
.gallery.bento {
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 14vw;
}
.gallery.bento .photo:nth-child(1) { grid-column: span 3; grid-row: span 2; }
.gallery.bento .photo:nth-child(2) { grid-column: span 3; grid-row: span 1; }
.gallery.bento .photo:nth-child(3) { grid-column: span 2; grid-row: span 1; }
.gallery.bento .photo:nth-child(4) { grid-column: span 1; grid-row: span 2; }
.gallery.bento .photo:nth-child(5) { grid-column: span 2; grid-row: span 1; }
.gallery.bento .photo:nth-child(6) { grid-column: span 2; grid-row: span 1; }
.gallery.bento .photo:nth-child(7) { grid-column: span 3; grid-row: span 1; }

.gallery.uniform {
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 18vw;
}
.gallery.uniform .photo { grid-column: span 1; grid-row: span 1; }

.gallery.masonry {
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 8vw;
}
.gallery.masonry .photo:nth-child(1) { grid-column: span 1; grid-row: span 3; }
.gallery.masonry .photo:nth-child(2) { grid-column: span 1; grid-row: span 2; }
.gallery.masonry .photo:nth-child(3) { grid-column: span 1; grid-row: span 4; }
.gallery.masonry .photo:nth-child(4) { grid-column: span 1; grid-row: span 3; }
.gallery.masonry .photo:nth-child(5) { grid-column: span 1; grid-row: span 4; }
.gallery.masonry .photo:nth-child(6) { grid-column: span 1; grid-row: span 3; }
.gallery.masonry .photo:nth-child(7) { grid-column: span 1; grid-row: span 2; }
.gallery.masonry .photo:nth-child(8) { grid-column: span 1; grid-row: span 3; }

.photo {
  position: relative;
  background: var(--bg-2);
  overflow: hidden;
  border-radius: 2px;
  cursor: pointer;
}
.photo .placeholder {
  position: absolute; inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute);
  transition: opacity .3s;
}
.photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px dashed transparent;
  border-color: var(--line);
  pointer-events: none;
  transition: opacity .3s;
}
.photo:hover::after { opacity: .5; }
.photo .caption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--bg);
  padding: 4px 8px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .3s, transform .3s;
}
.photo:hover .caption { opacity: 1; transform: translateY(0); }
.photo .num {
  position: absolute;
  top: 12px; right: 14px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--mute);
  letter-spacing: 0.12em;
}

/* ---------- Teachers ---------- */
.teachers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 48px);
}
.teacher {
  display: flex;
  flex-direction: column;
  gap: 14px;
  cursor: pointer;
}
.teacher .portrait {
  aspect-ratio: 3 / 4;
  background: var(--bg-2);
  position: relative;
  overflow: hidden;
}
.teacher .portrait::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 50% at 50% 35%, rgba(26,26,26,.04), transparent 70%);
}
.teacher .portrait .placeholder {
  position: absolute; inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--mute);
  text-transform: uppercase;
}
.teacher .meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.teacher h3 { margin: 0; font-size: 22px; font-weight: 500; letter-spacing: -0.02em; }
.teacher .style {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--mute);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.teacher .bio {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.5;
  margin: 0;
  max-width: 32ch;
}

/* ---------- Pricing ---------- */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 1.4vw, 22px);
}
.price-card {
  border: 1px solid var(--line);
  padding: clamp(28px, 3vw, 48px);
  display: grid;
  grid-template-rows: auto auto auto auto auto 1fr auto;
  gap: 16px;
  background: var(--bg);
  position: relative;
  transition: background .3s;
}
.price-card.featured {
  background: #1B3DD8;
  color: var(--bg);
  border-color: #1B3DD8;
}
.price-card.featured::before {
  content: "• más popular";  position: absolute;
  top: -10px;
  left: 24px;
  background: var(--rebel);
  color: var(--ink);
  padding: 4px 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: 999px;
}
.price-card.no-pop::before { content: none; }
.price-card.featured .body,
.price-card.featured .price-meta { color: rgba(244,239,231,.7); }
.price-card .tier {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: -8px !important;
  line-height: 1 !important;
  display: block !important;
}
.price-card .amount {
  font-size: clamp(48px, 6vw, 84px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.9;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.price-card .amount sup {
  font-size: 0.35em;
  font-weight: 400;
  align-self: flex-start;
  margin-top: 0.6em;
}
.price-card .amount .per {
  font-size: 0.22em;
  letter-spacing: 0;
  font-weight: 400;
  color: var(--mute);
}
.price-card.featured .amount .per { color: rgba(244,239,231,.6); }
.price-card .amount-note {
  font-size: 15px;
  line-height: 1.55;
  letter-spacing: -0.008em;
  font-weight: 600;
  color: var(--ink-2);
  margin: 10px 0 0;
}
.price-card.featured .amount-note { color: rgba(244,239,231,.7); }
.price-card .online-note {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--mute);
  margin: 6px 0 0;
}
/* Plan Anual: keep online-note in one line */
.price-card:nth-child(3) .online-note {
  font-size: 10px;
  white-space: nowrap;
}
.price-card.featured .online-note { color: rgba(244,239,231,.62); }
.price-card .body {
  height: 52px;
  display: flex;
  align-items: center;
}
.price-card .features {
  list-style: none;
  margin: 0;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}
.price-card.featured .features { border-color: rgba(244,239,231,.2); }
.price-card .features li {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.price-card .features li::before {
  content: "+";
  font-family: var(--mono);
  color: var(--mute);
  font-size: 11px;
}
.price-card.featured .features li::before { color: rgba(244,239,231,.5); }

/* Plan Anual Plus: Button close to features */
.plan-anual-plus {
  grid-template-rows: auto auto auto auto auto auto auto !important;
  gap: 8px !important;
}
.plan-anual-plus .cta-pill {
  margin-top: 0 !important;
}

/* ---------- About / philosophy ---------- */
.philosophy {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: stretch;
}
.phil-image {
  margin: 0;
  position: relative;
  height: 100%;
  min-height: 420px;
  background: var(--bg-2);
  overflow: hidden;
}
.phil-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: saturate(0.95);
}
.phil-image::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--line);
  pointer-events: none;
}
.phil-text { display: flex; flex-direction: column; }
.philosophy .quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(28px, 3.6vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.philosophy .quote-attr {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
  margin-top: 24px;
  display: block;
}

/* ---------- Footer ---------- */
.footer {
  padding: clamp(60px, 8vw, 120px) var(--gutter) 32px;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 64px;
}
.footer-grid h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
  margin: 0 0 16px;
  font-weight: 400;
}
.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-grid a { font-size: 15px; }
.footer-grid a:hover { color: var(--mute); }
.footer-newsletter input {
  width: 100%;
  padding: 12px 0;
  border: none;
  border-bottom: 1px solid var(--ink);
  background: transparent;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  outline: none;
}
.footer-newsletter input::placeholder { color: var(--mute); }
.footer-newsletter button {
  margin-top: 12px;
  background: transparent;
  border: 1px solid var(--ink);
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink);
  transition: all .25s;
}
.footer-newsletter button:hover { background: var(--ink); color: var(--bg); }
.footer-bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
}
.footer-bottom .center { text-align: center; }
.footer-bottom .right  { text-align: right; }
.footer-mega {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(80px, 16vw, 280px);
  line-height: 0.85;
  letter-spacing: -0.05em;
  margin: 32px 0 0;
  text-align: center;
}

/* ---------- Testimonials ---------- */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2vw, 32px);
}
.testimonial {
  padding: 28px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-height: 280px;
}
.testimonial .quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.18;
  letter-spacing: -0.01em;
}
.testimonial .who {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 13px;
  color: var(--mute);
}
.testimonial .who strong { color: var(--ink); font-weight: 500; }

/* ---------- Retreat cards ---------- */
.retreats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(14px, 1.6vw, 28px);
}
.retreat {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--bg-2);
  overflow: hidden;
  cursor: pointer;
}
.retreat .placeholder {
  position: absolute; inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--mute);
  text-transform: uppercase;
}
.retreat .label {
  position: absolute;
  inset: auto 0 0 0;
  padding: 22px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  color: var(--ink);
  background: linear-gradient(0deg, var(--bg) 30%, transparent);
}
.retreat .label h3 { margin: 0; font-size: clamp(20px, 2vw, 32px); font-weight: 500; letter-spacing: -0.02em; }
.retreat .label .when {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
}

/* ---------- Cursor ---------- */
.has-cursor, .has-cursor * { cursor: none !important; }
.cursor-ring {
  position: fixed;
  top: 0; left: 0;
  width: 64px; height: 64px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width .25s, height .25s, background .25s;
  display: grid;
  place-items: center;
  mix-blend-mode: difference;
  filter: invert(1);
}
.cursor-ring svg { width: 36px; height: 36px; opacity: .85; }
.cursor-ring.hover { width: 96px; height: 96px; background: var(--ink); }
.cursor-ring.hover svg { filter: invert(1); }
.cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 4px; height: 4px;
  background: var(--ink);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
}

/* Hide custom cursor on touch */
@media (hover: none) {
  .has-cursor, .has-cursor * { cursor: auto !important; }
  .cursor-ring, .cursor-dot { display: none; }
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav { display: none; }
  .hero-side-text { position: static; max-width: none; margin-top: 24px; }
  .hero-meta { grid-template-columns: 1fr; text-align: left !important; }
  .hero-meta .mid, .hero-meta .right { text-align: left; }
  .section-head { grid-template-columns: 1fr; }
  .class-row { grid-template-columns: 36px 1fr auto; gap: 12px; }
  .class-row .level, .class-row .time, .class-row .arrow { display: none; }
  .gallery.bento, .gallery.uniform, .gallery.masonry { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 40vw; }
  .gallery.bento .photo,
  .gallery.masonry .photo { grid-column: span 1 !important; grid-row: span 1 !important; }
  .teachers { grid-template-columns: repeat(2, 1fr); }
  .pricing { grid-template-columns: 1fr; }
  .pricing-sub { grid-template-columns: 1fr !important; }
  .philosophy { grid-template-columns: 1fr; }
  .testimonials { grid-template-columns: 1fr; }
  .retreats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- Fitco Modals ---------- */
.fitco-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.6);
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}
.fitco-modal-content {
  position: relative;
  background: var(--bg);
  border-radius: 12px;
  max-width: 600px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  padding: 32px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.fitco-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--bg);
  color: var(--ink);
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .2s;
  padding: 0;
}
.fitco-modal-close:hover {
  background: var(--rebel);
  border-color: var(--rebel);
  color: var(--ink);
}

@media (max-width: 760px) {
  .fitco-modal-content {
    padding: 20px;
    max-width: 100%;
  }
}
