/* =========================================================
   ANIMA HOUSE — design system
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght,SOFT@0,9..144,300..900,0..100;1,9..144,300..900,0..100&family=Instrument+Sans:ital,wght@0,400..700;1,400..700&family=Instrument+Serif:ital@0;1&display=swap');

:root {
  /* palette */
  --forest: #1f3a2d;
  --forest-deep: #16291f;
  --forest-soft: #2c4c3c;
  --terra: #c25a3b;
  --terra-deep: #9c4029;
  --saffron: #e0a93c;
  --saffron-soft: #f1c66a;
  --cream: #f2e9d8;
  --cream-warm: #ece1cc;
  --cream-deep: #e0d2b6;
  --sage: #b8c2a6;
  --sage-soft: #d4dbc7;
  --ink: #14130f;
  --ink-soft: #4a473d;
  --line: rgba(20, 19, 15, 0.14);
  --line-soft: rgba(20, 19, 15, 0.08);

  /* type */
  --display: "Fraunces", "Times New Roman", serif;
  --body: "Instrument Sans", "Helvetica Neue", sans-serif;
  --italic: "Instrument Serif", "Times New Roman", serif;

  /* layout */
  --maxw: 1440px;
  --gutter: clamp(20px, 4vw, 56px);
  --pad-y: clamp(34px, 4.6vw, 72px);

  /* motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in: cubic-bezier(0.55, 0, 0.45, 1);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  font-family: var(--body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* clip (not hidden) so the body does not become a scroll container.
     hidden forces overflow-y to compute to auto, which breaks position: sticky
     on the concept detail copy column. clip still prevents horizontal scroll. */
  overflow-x: clip;
}

/* grain overlay — subtle paper texture */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.5;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.08 0 0 0 0 0.07 0 0 0 0 0.06 0 0 0 0.6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: 220px 220px;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }

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

/* =========================================================
   TYPOGRAPHY
   ========================================================= */

.display {
  font-family: var(--display);
  font-weight: 360;
  line-height: 0.92;
  letter-spacing: -0.025em;
  font-variation-settings: "opsz" 144, "SOFT" 30;
}

.eyebrow {
  font-family: var(--body);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--body);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-soft);
}
.kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.italic-accent {
  font-family: var(--italic);
  font-style: italic;
  font-weight: 400;
}

h1, h2, h3, h4 { font-family: var(--display); font-weight: 360; line-height: 1; }

.h-xxl { font-size: clamp(56px, 11vw, 180px); }
.h-xl  { font-size: clamp(44px, 8vw, 124px); }
.h-l   { font-size: clamp(36px, 5.5vw, 84px); }
.h-m   { font-size: clamp(28px, 3.6vw, 56px); }
.h-s   { font-size: clamp(22px, 2.2vw, 36px); }

.lede {
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.45;
  max-width: 60ch;
  color: var(--ink-soft);
}

/* =========================================================
   LAYOUT PRIMITIVES
   ========================================================= */

.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding-top: var(--pad-y); padding-bottom: var(--pad-y); }
.divider { height: 1px; background: var(--line); width: 100%; }

/* =========================================================
   HEADER + NAV DRAWER
   ========================================================= */

.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.4s var(--ease), color 0.4s var(--ease), padding 0.4s var(--ease), transform 0.7s var(--ease), opacity 0.35s var(--ease);
  color: var(--cream);
}
.header.is-solid {
  background: var(--cream);
  color: var(--ink);
  padding-top: 16px;
  padding-bottom: 16px;
  box-shadow: 0 1px 0 var(--line-soft);
}
.header.is-light { color: var(--ink); }

/* Home starts without the fixed header; it appears once the visitor begins scrolling. */
body.is-home .header {
  transform: translateY(-120%);
  opacity: 0;
  pointer-events: none;
  border-top: 0;
}
body.is-home .header.is-solid {
  transform: none;
  opacity: 1;
  pointer-events: auto;
}
body.is-home .header:not(.is-solid) .header-logo {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}

.menu-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--body);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
}
.menu-toggle .bars {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  width: 22px;
}
.menu-toggle .bars span {
  display: block;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.3s var(--ease);
}
.menu-toggle .bars span:nth-child(1) { width: 22px; }
.menu-toggle .bars span:nth-child(2) { width: 14px; }
.menu-toggle:hover .bars span:nth-child(2) { width: 22px; }

.header-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
}
.header-logo img {
  display: block;
  height: clamp(48px, 5.2vw, 72px);
  width: auto;
  transition: height 0.4s var(--ease), opacity 0.3s var(--ease);
}
.header.is-solid .header-logo img,
.header.is-light .header-logo img { height: clamp(40px, 3.3vw, 52px); }
.header-logo .logo-dark { display: none; }
.header.is-solid .header-logo .logo-light { display: none; }
.header.is-solid .header-logo .logo-dark { display: block; }
.header.is-light .header-logo .logo-light { display: none; }
.header.is-light .header-logo .logo-dark { display: block; }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-family: var(--body);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: 999px;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-primary { background: var(--ink); color: var(--cream); }
.btn-primary:hover { background: var(--terra); }
.btn-outline { border-color: currentColor; background: transparent; color: inherit; }
.btn-outline:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.btn-terra { background: var(--terra); color: var(--cream); }
.btn-terra:hover { background: var(--terra-deep); }
.btn-cream { background: var(--cream); color: var(--ink); }
.btn-cream:hover { background: var(--ink); color: var(--cream); }
.btn-ghost { padding-left: 0; padding-right: 0; }
.btn-ghost::after {
  content: "→";
  margin-left: 8px;
  transition: transform 0.3s var(--ease);
}
.btn-ghost:hover::after { transform: translateX(6px); }

/* NAV DRAWER */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--forest);
  color: var(--cream);
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-100%);
  transition: transform 0.6s var(--ease), visibility 0s linear 0.6s;
  display: flex;
  flex-direction: column;
}
.drawer.is-open {
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
  transition-delay: 0s;
}

.drawer-head {
  padding: 22px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(242, 233, 216, 0.14);
}
.drawer-close {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--body);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.drawer-close .x {
  display: inline-block;
  width: 18px; height: 18px;
  position: relative;
}
.drawer-close .x::before,
.drawer-close .x::after {
  content: "";
  position: absolute;
  inset: 50% 0 50% 0;
  height: 1.5px;
  background: currentColor;
}
.drawer-close .x::before { transform: rotate(45deg); }
.drawer-close .x::after  { transform: rotate(-45deg); }

.drawer-body {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: clamp(40px, 8vw, 96px) var(--gutter);
  gap: 60px;
  align-content: start;
}
.drawer-nav {
  column-count: 2;
  column-gap: 56px;
}
.drawer-nav li {
  break-inside: avoid;
  margin-bottom: clamp(14px, 1.5vw, 22px);
}
.drawer-nav a {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 16px;
  align-items: baseline;
  font-family: var(--display);
  font-size: clamp(26px, 3.4vw, 44px);
  font-weight: 360;
  line-height: 1.05;
  letter-spacing: -0.015em;
  font-variation-settings: "opsz" 144, "SOFT" 40;
  transition: color 0.3s var(--ease), padding-left 0.3s var(--ease);
}
.drawer-nav a:hover { color: var(--saffron); padding-left: 8px; }
.drawer-nav a .num {
  font-family: var(--body);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--sage);
  font-weight: 500;
}

.drawer-side {
  display: flex;
  flex-direction: column;
  gap: 36px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--sage-soft);
  max-width: 380px;
}
.drawer-side h4 {
  font-family: var(--body);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 10px;
}
.drawer-foot {
  padding: 22px var(--gutter);
  border-top: 1px solid rgba(242, 233, 216, 0.14);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage-soft);
}
.drawer-foot a:hover { color: var(--saffron); }

/* =========================================================
   HERO (Home)
   ========================================================= */

.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
}
.hero-carousel { position: absolute; inset: 0; }
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s var(--ease);
  background-size: cover;
  background-position: center;
}
.hero-slide.is-active { opacity: 1; }
.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,19,15,0.35) 0%, rgba(20,19,15,0.15) 40%, rgba(20,19,15,0.6) 100%);
}

.hero-mark {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 var(--gutter);
}
.hero-wordmark {
  font-family: var(--display);
  font-weight: 320;
  font-size: clamp(72px, 14vw, 220px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  font-variation-settings: "opsz" 144, "SOFT" 80;
}
.hero-wordmark .ah-house { font-style: italic; font-family: var(--italic); font-weight: 400; display: block; margin-top: -0.05em; }
.hero-logo-img {
  display: block;
  width: clamp(240px, 36vw, 560px);
  max-width: min(560px, 82vw);
  height: auto;
  margin-inline: auto;
}
.hero-tag {
  margin-top: 28px;
  font-family: var(--body);
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}
.hero-tag .sep { display: inline-block; width: 4px; height: 4px; background: var(--terra); border-radius: 50%; margin: 0 14px; vertical-align: middle; }

.hero-foot {
  position: absolute;
  left: 0; right: 0; bottom: 90px;
  z-index: 3;
  padding: 0 var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  color: var(--cream);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hero-foot .definition {
  max-width: 280px;
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: 0.04em;
  text-transform: none;
  opacity: 0.85;
}
.hero-foot .definition em { font-family: var(--italic); font-style: italic; }
.hero-foot .scroll-cue {
  display: flex;
  align-items: center;
  gap: 10px;
  animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
.hero-foot .scroll-cue .line { width: 28px; height: 1px; background: var(--cream); }
.hero-foot .indicators { display: flex; gap: 8px; }
.hero-foot .indicators span {
  width: 24px; height: 1px; background: rgba(242, 233, 216, 0.3); transition: background 0.3s var(--ease);
}
.hero-foot .indicators span.is-active { background: var(--cream); }

/* =========================================================
   HERO CTA (subtle button below the centered logo)
   ========================================================= */

.hero-cta {
  margin-top: clamp(22px, 3vw, 36px);
  display: flex;
  justify-content: center;
}
.hero-cta-btn {
  padding: 14px 26px;
  font-size: 12px;
  letter-spacing: 0.18em;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  background: rgba(242, 233, 216, 0.92);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.hero-cta-btn:hover {
  background: var(--cream);
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.25);
}

/* =========================================================
   INTRO PACK BANNER
   ========================================================= */

.intro-pack-band {
  position: relative;
  background: var(--terra);
  color: var(--cream);
  padding: clamp(52px, 7vw, 86px) var(--gutter);
  overflow: hidden;
  text-align: center;
}
.intro-pack-band::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(circle at 15% 25%, rgba(224, 169, 60, 0.22), transparent 45%),
    radial-gradient(circle at 85% 75%, rgba(31, 58, 45, 0.25), transparent 45%);
  pointer-events: none;
}
.intro-pack-deco {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(420px, 60vw, 760px);
  height: clamp(420px, 60vw, 760px);
  border: 1px solid rgba(242, 233, 216, 0.14);
  border-radius: 50%;
  pointer-events: none;
}
.intro-pack-deco::after {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(242, 233, 216, 0.08);
  border-radius: 50%;
}
.intro-pack-inner {
  position: relative;
  z-index: 2;
}
.intro-pack-heading {
  font-size: clamp(56px, 10vw, 140px);
  font-weight: 360;
  line-height: 0.92;
  letter-spacing: -0.035em;
  font-variation-settings: "opsz" 144, "SOFT" 80;
  margin-top: 20px;
  color: var(--cream);
}
.intro-pack-lede {
  color: rgba(242, 233, 216, 0.92);
  margin: 28px auto 0;
  max-width: 56ch;
  font-size: clamp(17px, 1.4vw, 20px);
}

/* =========================================================
   MARQUEE
   ========================================================= */
.marquee {
  background: var(--forest);
  color: var(--cream);
  padding: 22px 0;
  overflow: hidden;
  border-top: 1px solid rgba(242,233,216,0.06);
  border-bottom: 1px solid rgba(242,233,216,0.06);
}
.marquee-track {
  display: flex;
  gap: 56px;
  animation: marquee 38s linear infinite;
  width: max-content;
}
.marquee span {
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 360;
  font-variation-settings: "opsz" 144, "SOFT" 40;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 56px;
  white-space: nowrap;
}
.marquee span::after {
  content: "✦";
  font-size: 0.5em;
  color: var(--saffron);
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* =========================================================
   INTRO / TWO-COL EDITORIAL
   ========================================================= */

.editorial {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.editorial-left { position: sticky; top: 120px; }
.editorial p + p { margin-top: 1.2em; }

/* =========================================================
   CONCEPTS GRID
   ========================================================= */

.concepts-head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 72px);
}

.concepts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.concept-card {
  position: relative;
  background: var(--cream);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: var(--cream);
  transition: transform 0.6s var(--ease);
}
.concept-card .bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 1.2s var(--ease), filter 0.6s var(--ease);
}
.concept-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,19,15,0.0) 35%, rgba(20,19,15,0.75) 100%);
  transition: opacity 0.4s var(--ease);
}
.concept-card:hover .bg { transform: scale(1.06); }
.concept-card .body { position: relative; z-index: 2; }
.concept-card .num {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 2;
  font-family: var(--body);
  font-size: 11px;
  letter-spacing: 0.22em;
  font-weight: 500;
  color: var(--cream);
  opacity: 0.85;
}
.concept-card h3 {
  font-size: clamp(28px, 2.4vw, 38px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 144, "SOFT" 50;
}
.concept-card .meta {
  margin-top: 10px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.85;
}
.concept-card .arrow {
  position: absolute;
  top: 24px; right: 24px;
  z-index: 2;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(242,233,216,0.4);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.concept-card:hover .arrow { background: var(--terra); border-color: var(--terra); }

.see-all {
  text-align: center;
  margin-top: clamp(40px, 5vw, 72px);
}

/* =========================================================
   AMENITIES
   ========================================================= */

.amenities {
  background: var(--cream-warm);
}
.amenities-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.amenity {
  background: var(--cream-warm);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 240px;
  transition: background 0.4s var(--ease);
}
.amenity:hover { background: var(--cream); }
.amenity .icon {
  width: 44px; height: 44px;
  color: var(--terra);
}
.amenity h4 {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 360;
  letter-spacing: -0.01em;
  font-variation-settings: "opsz" 144, "SOFT" 30;
}
.amenity p { color: var(--ink-soft); font-size: 15px; line-height: 1.55; }

/* =========================================================
   INSTRUCTORS BAND
   ========================================================= */

.instructors {
  background: var(--forest);
  color: var(--cream);
}
.instructors-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.instructors-head .h-l { color: var(--cream); }

.instructors-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 1.5vw, 20px);
}
@media (max-width: 1024px) {
  .instructors-rail { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .instructors-rail { grid-template-columns: repeat(2, 1fr); }
}

.instructor-card {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--forest-deep);
}
.instructor-card .photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  filter: grayscale(20%);
  transition: transform 1s var(--ease), filter 0.6s var(--ease);
}
.instructor-card:hover .photo { transform: scale(1.04); filter: grayscale(0%); }
.instructor-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(22,41,31,0.95) 100%);
}
.instructor-card .tag {
  position: absolute;
  left: 20px;
  bottom: 20px;
  z-index: 2;
  background: var(--saffron);
  color: var(--ink);
  font-family: var(--body);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 4px;
}
.instructor-card .name {
  position: absolute;
  left: 20px;
  bottom: 56px;
  z-index: 2;
  font-family: var(--display);
  font-size: 26px;
  font-weight: 360;
  color: var(--cream);
}

/* =========================================================
   TESTIMONIALS
   ========================================================= */

.testimonials {
  background: var(--cream-warm);
}
.test-head { margin-bottom: clamp(28px, 4vw, 48px); }
.test-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.testimonial {
  background: var(--cream-warm);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-height: 280px;
}
.testimonial h5 {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 360;
  font-variation-settings: "opsz" 144, "SOFT" 40;
}
.testimonial p { font-size: 15px; line-height: 1.6; color: var(--ink-soft); flex: 1; }
.testimonial .by {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.testimonial .by::before {
  content: "★★★★★";
  color: var(--terra);
  letter-spacing: 0.1em;
  font-size: 12px;
}

/* =========================================================
   CTA BAND
   ========================================================= */

.cta {
  background: var(--terra);
  color: var(--cream);
  text-align: center;
  padding: clamp(52px, 7vw, 90px) var(--gutter);
}
.cta h2 { font-size: clamp(48px, 8vw, 140px); letter-spacing: -0.03em; font-variation-settings: "opsz" 144, "SOFT" 60; }
.cta h2 em { font-family: var(--italic); font-style: italic; font-weight: 400; }
.cta .lede { color: rgba(242, 233, 216, 0.85); margin: 24px auto 32px; }
.cta .actions { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* =========================================================
   GALLERY (self-scrolling photo banner / marquee)
   ========================================================= */

.gallery-section {
  position: relative;
  padding: clamp(30px, 4vw, 56px) 0;
  background: var(--cream);
  overflow: hidden;
}
.gallery-marquee {
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%);
}
.gallery-track {
  display: flex;
  gap: clamp(12px, 1.4vw, 20px);
  width: max-content;
  animation: gallery-scroll 75s linear infinite;
}
.gallery-track:hover { animation-play-state: paused; }

.gallery-item {
  flex: 0 0 clamp(280px, 32vw, 460px);
  aspect-ratio: 3 / 2;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  filter: saturate(0.95);
  transition: filter 0.6s var(--ease), transform 0.6s var(--ease);
}
.gallery-item:hover { filter: saturate(1.08); transform: scale(1.02); }
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(20,19,15,0.15) 100%);
  pointer-events: none;
}

@keyframes gallery-scroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-track { animation: none; }
}

@media (max-width: 720px) {
  .gallery-item { flex: 0 0 78vw; }
  .gallery-track { animation-duration: 50s; }
}

/* =========================================================
   EVENTS PREVIEW (home)
   ========================================================= */

.events-preview { background: var(--cream-warm); }
.events-preview-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: clamp(22px, 3vw, 40px);
}
.events-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2vw, 32px);
}
.event-card {
  display: flex;
  flex-direction: column;
  background: var(--cream);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -16px rgba(20,19,15,0.12);
}
.event-card-img {
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s var(--ease);
}
.event-card:hover .event-card-img { transform: scale(1.04); }
.event-card-body {
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.event-card-date {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.event-card h3 {
  font-family: var(--display);
  font-size: clamp(22px, 1.8vw, 28px);
  font-weight: 360;
  line-height: 1.05;
  letter-spacing: -0.015em;
  font-variation-settings: "opsz" 144, "SOFT" 40;
}
.event-card-desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
  flex: 1;
}
.event-card-meta {
  font-family: var(--italic);
  font-style: italic;
  font-size: 14px;
  color: var(--terra);
  margin-top: 4px;
}

@media (max-width: 900px) {
  .events-preview-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   FAQ PREVIEW (home)
   ========================================================= */

.faq-preview-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}

@media (max-width: 720px) {
  .faq-preview-head { flex-direction: column; align-items: flex-start; }
}

/* =========================================================
   APP SECTION (home — like the old site, but cleaner)
   ========================================================= */

.app-band {
  background: var(--forest);
  color: var(--cream);
  padding: clamp(52px, 7vw, 86px) var(--gutter);
  position: relative;
  overflow: hidden;
}
.app-band::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto auto;
  width: 60vw; height: 60vw;
  background: radial-gradient(closest-side, rgba(224,169,60,0.18), transparent 70%);
  pointer-events: none;
}
.app-band .wrap { max-width: var(--maxw); margin: 0 auto; position: relative; }
.app-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(48px, 7vw, 96px);
  align-items: center;
}
.app-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.app-phone {
  position: relative;
  width: min(280px, 70vw);
  aspect-ratio: 9 / 19;
  background: var(--ink);
  border-radius: 42px;
  padding: 14px;
  box-shadow:
    0 40px 80px -20px rgba(0,0,0,0.55),
    inset 0 0 0 1.5px rgba(242,233,216,0.08);
  transform: rotate(-3deg);
  transition: transform 0.6s var(--ease);
}
.app-band:hover .app-phone { transform: rotate(0deg); }
.app-phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 30px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.app-phone-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,19,15,0.05) 0%, rgba(31,58,45,0.6) 70%, var(--forest) 100%);
}
.app-phone-notch {
  position: absolute;
  top: 22px; left: 50%; transform: translateX(-50%);
  width: 90px; height: 26px;
  background: var(--ink);
  border-radius: 999px;
  z-index: 2;
}
.app-phone-mark {
  position: absolute;
  bottom: 38px; left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: 60%;
}
.app-phone-mark img { width: 100%; display: block; }
.app-phone-shadow {
  position: absolute;
  bottom: -30px; left: 50%;
  transform: translateX(-50%);
  width: 70%; height: 30px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0,0,0,0.5), transparent 70%);
  filter: blur(8px);
}

.app-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px 14px 18px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--cream);
  border: 1px solid rgba(242,233,216,0.18);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.app-btn:hover { background: var(--cream); color: var(--ink); transform: translateY(-2px); }
.app-btn svg { flex: 0 0 22px; }
.app-btn span { display: flex; flex-direction: column; text-align: left; line-height: 1.1; }
.app-btn small { font-family: var(--body); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.7; }
.app-btn strong {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 360;
  letter-spacing: -0.01em;
  font-variation-settings: "opsz" 144, "SOFT" 30;
}

@media (max-width: 900px) {
  .app-grid { grid-template-columns: 1fr; text-align: left; }
  .app-visual { order: 2; }
  .app-phone { transform: rotate(0); }
}

/* =========================================================
   FOOTER
   ========================================================= */

.footer {
  background: var(--forest-deep);
  color: var(--cream);
  padding: clamp(48px, 6vw, 76px) var(--gutter) 30px;
}
.footer-inner { max-width: var(--maxw); margin: 0 auto; }
.footer-top {
  display: grid;
  grid-template-columns: minmax(320px, 1.45fr) repeat(3, minmax(150px, .72fr));
  gap: clamp(34px, 5vw, 80px);
  padding-bottom: clamp(38px, 5vw, 56px);
  border-bottom: 1px solid rgba(242, 233, 216, 0.12);
  align-items: start;
}
.footer-brand h3 {
  font-family: var(--display);
  font-size: clamp(44px, 5vw, 72px);
  font-weight: 320;
  line-height: 0.92;
  letter-spacing: -0.03em;
  font-variation-settings: "opsz" 144, "SOFT" 80;
}
.footer-brand h3 em { font-family: var(--italic); font-style: italic; font-weight: 400; }
.footer-brand img {
  display: block;
  height: clamp(52px, 4.8vw, 74px);
  width: auto;
  margin-bottom: clamp(18px, 2.4vw, 28px);
}
.footer-pronunciation {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 7px 12px;
  margin-top: 4px;
  color: var(--cream);
}
.footer-pronunciation .footer-wordmark {
  font-family: var(--display);
  font-size: clamp(34px, 3.2vw, 50px);
  font-weight: 360;
  line-height: 0.95;
  letter-spacing: -0.03em;
  font-variation-settings: "opsz" 144, "SOFT" 60;
}
.footer-pronunciation .footer-phonetic-name {
  font-family: var(--display);
  font-size: clamp(24px, 2.5vw, 38px);
  font-weight: 520;
  line-height: 1;
  letter-spacing: 0.06em;
}
.footer-brand .definition {
  margin-top: clamp(14px, 1.8vw, 22px);
  font-size: clamp(17px, 1.55vw, 24px);
  line-height: 1.42;
  max-width: 510px;
  color: rgba(242, 233, 216, 0.82);
}
.footer-brand .definition em,
.footer-brand .definition .phonetic {
  font-family: var(--body);
  font-style: normal;
  color: var(--cream);
  white-space: nowrap;
}
.footer-brand .footer-note {
  margin-top: 14px;
  max-width: 420px;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(242, 233, 216, 0.58);
}
.footer-col h4 {
  font-family: var(--body);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 18px;
  color: var(--saffron);
}
.footer-col ul li { margin-bottom: 10px; font-size: 15px; }
.footer-col a { color: rgba(242, 233, 216, 0.8); transition: color 0.2s var(--ease); }
.footer-col a:hover { color: var(--cream); }
.footer-col p { font-size: 15px; color: rgba(242, 233, 216, 0.7); line-height: 1.6; }
.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(242, 233, 216, 0.55);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom .legal { display: flex; gap: 24px; }
.footer-bottom .legal a:hover { color: var(--saffron); }

/* =========================================================
   PAGE HERO (non-home)
   ========================================================= */

.page-hero {
  padding: clamp(104px, 13vw, 172px) var(--gutter) clamp(38px, 5vw, 64px);
  background: var(--cream);
  position: relative;
}
.page-hero .inner { max-width: var(--maxw); margin: 0 auto; }
.page-hero .crumb {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 24px;
  color: var(--ink-soft);
}
.page-hero .crumb .num {
  display: inline-block;
  font-family: var(--body);
  font-weight: 500;
}
.page-hero h1 {
  font-size: clamp(56px, 10vw, 160px);
  line-height: 0.9;
  letter-spacing: -0.035em;
  font-variation-settings: "opsz" 144, "SOFT" 60;
  max-width: 14ch;
}
.page-hero h1 em { font-family: var(--italic); font-style: italic; font-weight: 400; }
.page-hero .lede { margin-top: 32px; max-width: 56ch; font-size: clamp(17px, 1.4vw, 20px); }

/* =========================================================
   PAGE: INSTRUCTORS
   ========================================================= */

.instructor-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.instructor-grid .instructor-card { aspect-ratio: 3 / 4; flex: none; background: var(--forest-deep); }

/* =========================================================
   PAGE: CONCEPTS (detail / overview)
   ========================================================= */

.concept-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2vw, 32px);
}
.concepts-overview-section {
  padding-top: clamp(44px, 6vw, 88px);
}
.concept-overview-card {
  background: var(--cream-warm);
  color: inherit;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}
.concept-overview-card .img {
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  transition: transform 1s var(--ease);
}
.concept-overview-card:hover .img { transform: scale(1.04); }
.concept-overview-card .body { padding: 28px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.concept-overview-card .meta-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.concept-overview-card h3 {
  font-size: clamp(28px, 2.4vw, 38px);
  line-height: 0.95;
  letter-spacing: -0.015em;
  font-variation-settings: "opsz" 144, "SOFT" 40;
}
.concept-overview-card p { font-size: 14px; color: var(--ink-soft); line-height: 1.55; }
.concept-overview-card .link { margin-top: auto; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--terra); }
.concept-overview-card .link::after { content: " →"; }
.concept-overview-card:focus-visible {
  outline: 2px solid var(--terra);
  outline-offset: 4px;
}

.concept-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}

/* Media (image carousel + numbered grid + variations) scrolls on the left.
   The copy block pins on the right via position: sticky. The order swap puts
   the media in the first (left) grid cell even though it comes second in the DOM,
   so the heading still appears first when the layout stacks on mobile. */
.concept-detail-copy {
  position: sticky;
  top: 118px;
  align-self: start;
  order: 2;
}

.concept-detail-media {
  display: grid;
  gap: 24px;
  order: 1;
}

/* The display title uses a tight line-height (0.92) for a compact look, which
   lets descenders (the p in Deepen, the g in Align) drop below the line box and
   overlap the subtitle underneath. Reserve a little space under the title to
   clear the deepest descenders. em-based so it scales with the clamp font size. */
.concept-detail-copy .display {
  padding-bottom: 0.16em;
}

/* =========================================================
   PAGE: MEMBERSHIPS
   ========================================================= */

.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2vw, 32px);
}
.tier {
  position: relative;
  padding: 40px 32px 32px;
  background: var(--cream);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: background 0.4s var(--ease), color 0.4s var(--ease), transform 0.4s var(--ease);
  min-height: 420px;
}
.tier:hover { background: var(--forest); color: var(--cream); transform: translateY(-4px); }
.tier:hover .tier-num, .tier:hover .lede, .tier:hover li { color: rgba(242, 233, 216, 0.8); }
.tier .tier-num {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.tier h3 {
  font-family: var(--display);
  font-size: clamp(34px, 3vw, 48px);
  font-weight: 360;
  line-height: 0.95;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 144, "SOFT" 50;
}
.tier .price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--display);
  font-size: 56px;
  font-weight: 360;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 144, "SOFT" 30;
}
.tier .price small { font-family: var(--body); font-size: 13px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.7; }
.tier ul { display: flex; flex-direction: column; gap: 10px; font-size: 14px; line-height: 1.5; }
.tier li { display: flex; gap: 10px; }
.tier li::before { content: "·"; color: var(--terra); }
.tier:hover li::before { color: var(--saffron); }
.tier .btn { margin-top: auto; }
.tier.is-featured { background: var(--forest); color: var(--cream); }
.tier.is-featured .tier-num { color: var(--saffron); }
.tier.is-featured li::before { color: var(--saffron); }
.tier.is-featured:hover { background: var(--forest-deep); }
.tier .badge {
  position: absolute;
  top: -14px; right: 24px;
  background: var(--saffron);
  color: var(--ink);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
}

/* drop-in packs */
.packs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.pack {
  background: var(--cream);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: background 0.3s var(--ease);
}
.pack:hover { background: var(--cream-warm); }
.pack .num { font-size: 11px; letter-spacing: 0.22em; color: var(--ink-soft); }
.pack h4 { font-family: var(--display); font-size: 32px; font-weight: 360; line-height: 1; letter-spacing: -0.015em; }
.pack .price { font-family: var(--display); font-size: 24px; font-weight: 360; color: var(--terra); }
.pack p { font-size: 13px; color: var(--ink-soft); line-height: 1.5; }

/* =========================================================
   PAGE: SCHEDULE
   ========================================================= */

.sched-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.sched-filters { display: flex; gap: 6px; flex-wrap: wrap; }
.chip {
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: all 0.3s var(--ease);
  cursor: pointer;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-active { background: var(--ink); color: var(--cream); border-color: var(--ink); }

.sched-day {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}
.sched-day:last-child { border-bottom: none; }
.sched-day-head h3 {
  font-size: clamp(40px, 4vw, 60px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  font-variation-settings: "opsz" 144, "SOFT" 40;
}
.sched-day-head .date { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-soft); margin-top: 8px; }

.sched-classes { display: flex; flex-direction: column; gap: 1px; background: var(--line); border-top: 1px solid var(--line); }
.sched-class {
  display: grid;
  grid-template-columns: 100px 1fr 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 22px 4px;
  background: var(--cream);
  transition: background 0.3s var(--ease);
}
.sched-class:hover { background: var(--cream-warm); }
.sched-class .time {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 360;
  letter-spacing: -0.015em;
}
.sched-class .class-name { font-family: var(--display); font-size: clamp(20px, 1.5vw, 26px); font-weight: 360; }
.sched-class .who { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
.sched-class .who em { font-family: var(--italic); font-style: italic; text-transform: none; letter-spacing: 0; color: var(--terra); font-size: 14px; }

/* =========================================================
   PAGE: EVENTS
   ========================================================= */

.event {
  display: grid;
  grid-template-columns: 200px 1.6fr 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.4s var(--ease);
}
.event:hover { padding-left: 16px; background: linear-gradient(90deg, var(--cream-warm), transparent); }
.event .date-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.event .date-block .day { font-family: var(--display); font-size: 56px; font-weight: 360; line-height: 0.9; letter-spacing: -0.025em; }
.event .date-block .month { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; }
.event h3 {
  font-family: var(--display);
  font-size: clamp(26px, 2.6vw, 38px);
  font-weight: 360;
  line-height: 1;
  letter-spacing: -0.015em;
  font-variation-settings: "opsz" 144, "SOFT" 40;
}
.event .who { font-size: 13px; color: var(--ink-soft); margin-top: 8px; }
.event .meta { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); line-height: 1.8; }
.event .meta em { font-family: var(--italic); font-style: italic; text-transform: none; letter-spacing: 0; color: var(--terra); }

/* =========================================================
   PAGE: CORPORATE / STUDIO RENTAL / TT split layout
   ========================================================= */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
}
.split-text { padding: clamp(60px, 8vw, 120px); display: flex; flex-direction: column; gap: 28px; justify-content: center; }
.split-img { background-size: cover; background-position: center; min-height: 480px; }

.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.feature {
  background: var(--cream);
  padding: 32px;
  display: flex;
  gap: 20px;
}
.feature .num {
  font-family: var(--display);
  font-size: 32px;
  font-weight: 360;
  color: var(--terra);
  letter-spacing: -0.02em;
  flex: 0 0 56px;
}
.feature h4 { font-family: var(--display); font-size: 22px; font-weight: 360; margin-bottom: 6px; }
.feature p { font-size: 14px; color: var(--ink-soft); line-height: 1.55; }

/* =========================================================
   PAGE: CONTACT
   ========================================================= */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 5vw, 80px);
  margin-top: clamp(28px, 5vw, 64px);
}
.contact-info { display: flex; flex-direction: column; gap: 36px; }
.contact-info .block h4 {
  font-family: var(--body);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 10px;
}
.contact-info .block p, .contact-info .block a { font-size: 18px; line-height: 1.45; }
.contact-info .block em { font-family: var(--italic); font-style: italic; }
.map-frame {
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  border: 1px solid var(--line);
  background-image: linear-gradient(135deg, var(--sage), var(--sage-soft));
  position: relative;
  overflow: hidden;
}
.map-frame .pin {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -100%);
  width: 24px; height: 24px;
  background: var(--terra);
  border-radius: 50% 50% 50% 0;
  rotate: -45deg;
  box-shadow: 0 12px 24px rgba(20,19,15,0.25);
}
.map-frame::after {
  content: "393H Kerkstraat · 1017HX Amsterdam";
  position: absolute;
  bottom: 24px; left: 24px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background: var(--cream);
  padding: 8px 14px;
  border-radius: 4px;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.22);
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-family: var(--body);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.field input, .field textarea, .field select {
  font-family: var(--body);
  font-size: 16px;
  padding: 14px 0;
  border: none;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  width: 100%;
  outline: none;
  transition: border-color 0.3s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--terra); }
.field textarea { resize: vertical; min-height: 100px; }
.form-status {
  margin-bottom: 20px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: var(--cream-warm);
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.45;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.rental-booking-form .field-row-three { grid-template-columns: 1fr 1fr 1fr; }

.contact-faq-head {
  margin-bottom: clamp(46px, 6vw, 92px);
}

.contact-faq-title {
  margin-top: 20px;
  max-width: min(100%, 15.5ch);
  line-height: 1.02;
}

.contact-faq-title .italic-accent {
  display: inline-block;
  line-height: 1;
}

.contact-faq-filters {
  position: relative;
  z-index: 1;
  margin-bottom: 24px;
}

.faq {
  border-top: 1px solid var(--line);
}
.faq details {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-family: var(--display);
  font-size: clamp(20px, 1.6vw, 24px);
  font-weight: 360;
  letter-spacing: -0.01em;
  font-variation-settings: "opsz" 144, "SOFT" 40;
  transition: color 0.3s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--body);
  font-size: 24px;
  font-weight: 300;
  transition: transform 0.3s var(--ease);
  color: var(--terra);
}
.faq details[open] summary { color: var(--terra); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding-top: 16px; font-size: 15px; line-height: 1.65; color: var(--ink-soft); max-width: 70ch; }

/* =========================================================
   IMAGE BLOCKS / FULL-BLEED
   ========================================================= */
.bleed-img {
  height: clamp(360px, 50vw, 640px);
  background-size: cover;
  background-position: center;
  position: relative;
}
.bleed-img.caption::after {
  content: attr(data-caption);
  position: absolute;
  bottom: 20px; left: 20px;
  background: var(--cream);
  color: var(--ink);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 6px 12px;
}

/* Concept detail image carousel (image cycles, copy stays static) */
.concept-media-carousel {
  position: relative;
  overflow: hidden;
}
.concept-media-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s var(--ease);
  background-size: cover;
  background-position: center;
}
.concept-media-slide.is-active { opacity: 1; }
.concept-media-dots {
  position: absolute;
  bottom: 16px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 8px;
  z-index: 2;
}
.concept-media-dots span {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(242,233,216,0.55);
  transition: background 0.3s var(--ease);
}
.concept-media-dots span.is-active { background: var(--cream); }

/* =========================================================
   SCROLL REVEAL
   ========================================================= */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* =========================================================
   RESPONSIVE
   ========================================================= */

/* Client feedback pass, built on the Netlify version */
.concepts-home-head {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(280px, .8fr);
  gap: clamp(22px, 4vw, 54px);
  align-items: end;
}

.concepts-home-copy {
  display: grid;
  gap: 16px;
  color: var(--ink-soft);
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.55;
}

.concepts-home-copy .btn {
  justify-self: start;
  margin-top: 8px;
}

.concepts-grid-even {
  margin-top: clamp(28px, 4vw, 50px);
  grid-template-columns: repeat(3, 1fr);
  width: min(calc(100% - (var(--gutter) * 2)), 1180px);
  margin-left: auto;
  margin-right: auto;
}

.concepts-grid-even .concept-card {
  aspect-ratio: 4 / 3.45;
  min-height: clamp(230px, 24vw, 340px);
  padding: clamp(18px, 2vw, 22px);
}

.concepts-grid-even .concept-card h3 {
  font-size: clamp(26px, 2vw, 34px);
}

.concepts-grid-even .concept-card .num {
  top: clamp(18px, 2vw, 22px);
  left: clamp(18px, 2vw, 22px);
}

.concepts-grid-even .concept-card .arrow {
  top: clamp(18px, 2vw, 22px);
  right: clamp(18px, 2vw, 22px);
  width: 34px;
  height: 34px;
}

.concept-card .hover-copy {
  max-height: 0;
  margin-top: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(8px);
  transition: max-height .32s var(--ease), opacity .32s var(--ease), transform .32s var(--ease), margin-top .32s var(--ease);
}

.concept-card:hover .hover-copy,
.concept-card:focus-visible .hover-copy {
  max-height: 150px;
  margin-top: 12px;
  opacity: 1;
  transform: none;
}

.instructor-roster-section {
  padding-top: clamp(26px, 3.8vw, 52px) !important;
  padding-bottom: clamp(30px, 4vw, 56px) !important;
  background: var(--cream-warm);
}

.instructor-roster-top {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  padding-bottom: clamp(18px, 2.4vw, 30px);
}

.roster-hint {
  margin-top: 10px;
  color: var(--ink-soft);
  font-family: var(--italic);
  font-style: italic;
  font-size: 16px;
}

.instructor-roster-section .instructor-grid {
  display: flex;
  gap: 1px;
  grid-template-columns: none;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 16px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}

.instructor-roster-section .instructor-card {
  flex: 0 0 clamp(250px, 19vw, 360px);
  min-height: clamp(360px, 34vw, 520px);
  scroll-snap-align: start;
  opacity: 1;
  transform: none;
}

.instructor-roster-section .instructor-card .name {
  font-size: clamp(30px, 2.8vw, 48px);
  bottom: 68px;
  left: 26px;
}

.instructor-roster-section .instructor-card .tag {
  left: 26px;
  right: 22px;
  bottom: 26px;
  width: fit-content;
  max-width: calc(100% - 48px);
  line-height: 1.35;
}

.instructor-detail-section .instructor-page-bio {
  border-top: 0;
}

.instructor-detail-hero {
  color: var(--cream);
}

.instructor-detail-hero .crumb,
.instructor-detail-hero .lede {
  color: rgba(242,233,216,.86);
}

.instructor-detail-hero.is-soft-photo {
  color: var(--ink);
}

.instructor-detail-hero.is-soft-photo .crumb,
.instructor-detail-hero.is-soft-photo .lede {
  color: rgba(20, 19, 15, 0.68);
}

.instructor-detail-hero.is-soft-photo .instructor-hero-words {
  color: var(--ink);
  text-shadow: 0 1px 18px rgba(242, 233, 216, 0.55);
}

.instructor-hero-words {
  display: block;
  max-width: min(520px, 100%);
  margin-top: 22px;
  padding: 0;
  background: transparent;
  color: var(--cream);
  font-family: var(--italic);
  font-size: clamp(22px, 2.4vw, 34px);
  font-style: italic;
  line-height: 1.12;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.52);
}

.instructor-detail-section .instructor-page-bio .photo-block {
  min-height: clamp(420px, 54vw, 680px);
}

.instructor-detail-section .three-words {
  display: block;
  margin-bottom: 20px;
  padding: 0;
  background: transparent;
  color: var(--terra);
  font-family: var(--italic);
  font-size: clamp(19px, 1.7vw, 28px);
  line-height: 1.2;
}

.page-hero .instructor-teacher-cta {
  padding: 9px 14px;
  min-height: 38px;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
  background: rgba(242, 233, 216, 0.28);
  border-color: rgba(20, 19, 15, 0.22);
}

.page-hero .instructor-teacher-cta:hover,
.page-hero .instructor-teacher-cta:focus-visible {
  color: var(--ink);
  background: var(--saffron);
  border-color: var(--saffron);
}

.instructor-detail-section .instructor-page-bio .links a[href="teacher-training"] {
  align-self: flex-start;
  display: inline-flex;
  justify-content: flex-start;
  align-items: center;
  gap: 16px;
  width: auto;
  margin-top: 14px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  background: rgba(242, 233, 216, 0.42);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.instructor-detail-section .instructor-page-bio .links a[href="teacher-training"] .label {
  font-size: 9px;
  letter-spacing: 0.16em;
}

.instructor-detail-section .instructor-page-bio .links a[href="teacher-training"] span {
  display: inline;
  padding: 0;
  border: 0;
}

.instructor-detail-section .instructor-page-bio .links a[href="teacher-training"] span:last-child {
  font-size: 11px;
}

.instructor-detail-section .instructor-page-bio .links a[href="teacher-training"]:hover,
.instructor-detail-section .instructor-page-bio .links a[href="teacher-training"]:focus-visible {
  color: var(--ink);
  background: var(--cream);
  border-color: rgba(20, 19, 15, 0.32);
}

.instructor-detail-section .instructor-page-bio .links a[href*="backoffice.bsport.io"],
.instructor-detail-section .instructor-page-bio .links a[href="schedule"] {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  width: 100%;
  margin-top: 16px;
  padding: 15px 18px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  box-shadow: 0 16px 34px rgba(20, 19, 15, 0.14);
}

.instructor-detail-section .instructor-page-bio .links a[href*="backoffice.bsport.io"] span,
.instructor-detail-section .instructor-page-bio .links a[href="schedule"] span {
  display: inline;
  padding: 0;
  border: 0;
}

.instructor-detail-section .instructor-page-bio .links a[href*="backoffice.bsport.io"] .label,
.instructor-detail-section .instructor-page-bio .links a[href="schedule"] .label {
  color: var(--saffron);
}

.instructor-detail-section .instructor-page-bio .links a[href*="backoffice.bsport.io"]:hover,
.instructor-detail-section .instructor-page-bio .links a[href*="backoffice.bsport.io"]:focus-visible,
.instructor-detail-section .instructor-page-bio .links a[href="schedule"]:hover,
.instructor-detail-section .instructor-page-bio .links a[href="schedule"]:focus-visible {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--cream);
}

.personal-schedule {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  margin-top: clamp(26px, 4vw, 50px);
  padding: clamp(26px, 4vw, 44px);
  background: var(--forest);
  color: var(--cream);
}

.personal-schedule .lede {
  color: rgba(242,233,216,.78);
}

.studio-tagline {
  margin-top: 18px;
  color: var(--terra);
}

.bsport-widget-shell {
  width: 100%;
  min-height: 680px;
  border: 1px solid var(--line);
  background: var(--cream);
  color: var(--ink);
  overflow: hidden;
  position: relative;
}

.bsport-widget-shell [id^="bsport-widget"] {
  min-height: inherit;
  position: relative;
  z-index: 1;
}

@media (min-width: 1100px) {
  .bsport-widget-shell .bs-marketplace-filters__list {
    display: grid !important;
    grid-template-columns: minmax(260px, 1fr) repeat(5, max-content) !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 18px !important;
    flex-wrap: nowrap !important;
    width: min(100%, 1600px) !important;
    margin-inline: auto !important;
  }

  .bsport-widget-shell .bs-calendar-search__container {
    width: 100% !important;
    max-width: 420px !important;
    margin: 0 !important;
  }

  .bsport-widget-shell .bs-calendar-search__input {
    width: 100% !important;
  }

  .bsport-widget-shell .bs-marketplace-filter {
    width: auto !important;
    min-width: 0 !important;
    height: 64px !important;
    margin: 0 !important;
    padding-inline: 24px !important;
  }
}

@media (min-width: 1500px) {
  .bsport-widget-shell .bs-marketplace-filters__list {
    gap: 22px !important;
  }

  .bsport-widget-shell .bs-marketplace-filter {
    padding-inline: 28px !important;
  }
}

@media (max-width: 720px) {
  .bsport-widget-shell .bs-marketplace-filters__list {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    align-items: stretch !important;
    justify-content: stretch !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    padding-inline: 12px !important;
    margin-inline: auto !important;
    flex-wrap: nowrap !important;
  }

  .bsport-widget-shell .bs-calendar-search__container {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
  }

  .bsport-widget-shell .bs-calendar-search__input__container,
  .bsport-widget-shell .bs-calendar-search__input {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .bsport-widget-shell .bs-marketplace-filter {
    width: 100% !important;
    min-width: 0 !important;
    height: 58px !important;
    margin: 0 !important;
    padding-inline: 16px !important;
  }

}

/* Smaller class-slot bubble text in the schedule calendar.
   Selector matches bsport's own .cleanslate chain plus the shell so it out-specifies their !important defaults. */
.bsport-widget-shell [id*="bsport-widget"] .cleanslate .bs-offer-list-item__content__offer__left__title {
  font-size: 15px !important;
  line-height: 1.25 !important;
}
.bsport-widget-shell [id*="bsport-widget"] .cleanslate .bs-offer-list-item__content__offer__left__coach {
  font-size: 13px !important;
}
.bsport-widget-shell [id*="bsport-widget"] .cleanslate .bs-offer-list-item__content__time__offer-hours__start-time,
.bsport-widget-shell [id*="bsport-widget"] .cleanslate .bs-offer-list-item__content__time__offer-hours__end-time {
  font-size: 12px !important;
}
.bsport-widget-shell [id*="bsport-widget"] .cleanslate .bs-book-button-card__inner__text {
  font-size: 12px !important;
}

.diversity-hero {
  background:
    linear-gradient(rgba(242,233,216,0.88), rgba(242,233,216,0.78)),
    url('../img/real/space-bg.jpg');
  background-size: cover;
  background-position: center;
}

.diversity-letter-section {
  padding-top: clamp(64px, 8vw, 112px);
}

.policy-content {
  max-width: 840px;
  margin: 0 auto;
  padding: clamp(30px, 5vw, 64px);
  border: 1px solid var(--line);
  background: var(--cream);
}

.policy-content h2 {
  font-size: clamp(38px, 5vw, 72px);
  line-height: 0.98;
  margin-top: 16px;
  margin-bottom: 30px;
  color: var(--ink);
}

.policy-content p,
.policy-content li {
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.78;
  color: var(--ink-soft);
}

.policy-content p + p {
  margin-top: 22px;
}

.policy-content ul {
  display: grid;
  gap: 12px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.policy-content li {
  position: relative;
  padding-left: 30px;
}

.policy-content li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--terra);
}

.letter-signoff {
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.terms-note-section {
  padding-top: 42px !important;
  padding-bottom: 72px !important;
}

.terms-note {
  text-align: center;
}

.terms-note a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid rgba(20, 19, 15, 0.22);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(242, 233, 216, 0.46);
  font-family: var(--italic);
  font-style: italic;
  font-size: clamp(18px, 1.7vw, 24px);
  line-height: 1.15;
  transition: background .22s var(--ease), border-color .22s var(--ease), color .22s var(--ease);
}

.terms-note a:hover,
.terms-note a:focus-visible {
  background: var(--saffron);
  border-color: var(--saffron);
  color: var(--ink);
}

.diversity-contact-band {
  background: var(--cream-warm);
  border-top: 1px solid var(--line);
}

.training-overview-stack {
  display: grid;
  gap: clamp(22px, 3vw, 36px);
}

.teacher-training-overview {
  padding-top: clamp(72px, 8vw, 128px);
}

.archive-hero .lede {
  max-width: 680px;
}

.rail-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.rail-actions-below {
  justify-content: flex-start;
  margin: 14px 0 16px;
}

.rail-btn {
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
  color: inherit;
  transition: background .22s var(--ease), color .22s var(--ease), border-color .22s var(--ease);
}

.rail-btn:hover,
.rail-btn:focus-visible {
  background: var(--saffron);
  border-color: var(--saffron);
  color: var(--ink);
}

.instructors-rail-scroll,
.events-preview-rail,
.test-grid[data-gallery] {
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 31vw);
  grid-template-columns: none;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  padding-bottom: 14px;
}

.instructors-rail-scroll .instructor-card,
.events-preview-rail .event-card,
.test-grid[data-gallery] .testimonial {
  scroll-snap-align: start;
}

.events-preview-rail {
  display: flex;
  gap: clamp(20px, 2vw, 32px);
}

.events-preview-rail .event-card {
  flex: 0 0 clamp(300px, 31vw, 440px);
}

.concepts-grid-even.concepts-home-rail {
  display: flex;
  grid-template-columns: none;
  gap: clamp(16px, 2vw, 28px);
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  padding-bottom: 14px;
}

.concepts-grid-even.concepts-home-rail .concept-card {
  flex: 0 0 clamp(240px, 30%, 320px);
  scroll-snap-align: start;
}

.event-row {
  display: grid;
  grid-template-columns: 200px 1.4fr 1fr auto;
  gap: 32px;
  align-items: start;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
}

.gallery-controls-hidden {
  display: none !important;
}

.rail-btn:disabled {
  opacity: 0.34;
  cursor: default;
  pointer-events: none;
}

.amenities-grid[style] {
  margin-top: clamp(28px, 4vw, 50px) !important;
}

.intro-pack-inner [style*="margin-top:36px"],
.app-buttons[style] {
  margin-top: 26px !important;
}

.app-copy .lede[style] {
  margin-top: 18px !important;
}

.team-marquee {
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 12px;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  cursor: grab;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.team-marquee.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}

.team-marquee.is-programmatic-scroll {
  scroll-snap-type: none;
}

.team-track {
  display: flex;
  gap: clamp(14px, 1.5vw, 22px);
  width: max-content;
}

.team-rail-actions {
  margin-top: 4px;
  color: var(--cream);
}

.team-track .instructor-card {
  flex: 0 0 clamp(220px, 22vw, 330px);
  scroll-snap-align: start;
}

@keyframes team-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - clamp(7px, .75vw, 11px))); }
}

.rental-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.rental-rate-card {
  background: var(--cream);
  padding: clamp(24px, 3vw, 34px);
  min-height: 250px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rental-rate-card.is-featured {
  background: var(--forest);
  color: var(--cream);
}

.rental-rate-card .rate-label {
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.rental-rate-card.is-featured .rate-label {
  color: var(--saffron);
}

.rental-rate-card h3 {
  font-family: var(--display);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 360;
  line-height: .95;
  letter-spacing: -.02em;
  font-variation-settings: "opsz" 144, "SOFT" 50;
}

.rental-rate-card .rate-price {
  margin-top: auto;
  font-family: var(--display);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 360;
  letter-spacing: -.025em;
  color: var(--terra);
}

.rental-rate-card.is-featured .rate-price {
  color: var(--saffron);
}

.rental-rate-card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
}

.rental-rate-card.is-featured p {
  color: rgba(242,233,216,.78);
}

.rental-rate-card .btn {
  margin-top: auto;
  align-self: flex-start;
}

@media (max-width: 1024px) {
  .concepts-grid { grid-template-columns: repeat(2, 1fr); }
  .concepts-grid-even { grid-template-columns: repeat(3, 1fr); }
  .concept-detail-layout { grid-template-columns: 1fr; }
  .concept-detail-copy { position: static; top: auto; order: 0; }
  .concept-detail-media { order: 0; }
  .amenities-grid { grid-template-columns: repeat(2, 1fr); }
  .instructor-grid { grid-template-columns: repeat(3, 1fr); }
  .concept-overview-grid { grid-template-columns: repeat(2, 1fr); }
  .tiers { grid-template-columns: 1fr; }
  .packs { grid-template-columns: repeat(2, 1fr); }
  .test-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .editorial { grid-template-columns: 1fr; }
  .editorial-left { position: static; }
  .split { grid-template-columns: 1fr; }
  .feature-list { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .concepts-head, .amenities-head, .instructors-head { grid-template-columns: 1fr; }
  .event { grid-template-columns: 120px 1fr; }
  .event .meta, .event .btn { grid-column: 2; }
  .event .date-block .day { font-size: 40px; }
  .sched-day { grid-template-columns: 1fr; gap: 16px; }
  .sched-class { grid-template-columns: 80px 1fr auto; gap: 16px; }
  .sched-class .who { grid-column: 1 / -1; padding-top: 4px; }
  .concepts-home-head,
  .personal-schedule {
    grid-template-columns: 1fr;
  }
  .instructor-roster-section .instructor-grid {
    grid-auto-columns: unset;
  }
  .instructor-roster-section .instructor-card {
    flex-basis: min(330px, 42vw);
  }
}

@media (max-width: 720px) {
  .concepts-grid { grid-template-columns: 1fr; }
  .event-row {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 24px 0;
  }
  .event-row > div:first-child {
    aspect-ratio: 16 / 10 !important;
    width: 100%;
  }
  .concepts-grid-even.concepts-home-rail .concept-card {
    flex: 0 0 78%;
  }
  .concepts-grid-even .concept-card {
    min-height: 190px;
    aspect-ratio: 16 / 10;
    padding: 18px;
  }
  .concepts-grid-even .concept-card h3 {
    font-size: clamp(26px, 9vw, 34px);
  }
  .concepts-grid-even .concept-card .num {
    left: 18px;
    top: 18px;
  }
  .concepts-grid-even .concept-card .arrow {
    right: 18px;
    top: 18px;
    width: 32px;
    height: 32px;
  }
  .amenities-grid { grid-template-columns: 1fr; }
  .instructor-grid { grid-template-columns: repeat(2, 1fr); }
  .concept-overview-grid { grid-template-columns: 1fr; }
  .packs { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .footer-pronunciation {
    display: grid;
    gap: 8px;
  }
  .footer-brand .definition {
    font-size: clamp(18px, 5.2vw, 24px);
    max-width: 30rem;
  }
  .drawer-body { grid-template-columns: 1fr; gap: 36px; padding: 100px var(--gutter) 60px; }
  .drawer-nav { column-count: 1; }
  .field-row, .rental-booking-form .field-row-three { grid-template-columns: 1fr; }
  .rental-booking-request { grid-template-columns: 1fr !important; gap: 28px !important; }
  .header-actions .btn-outline { display: none; }
  .header-actions .btn-primary {
    padding: 10px 13px;
    font-size: 9px;
    letter-spacing: 0.08em;
  }
  .header-logo { font-size: 18px; }
  .instructors-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .instructors-head .btn {
    max-width: 100%;
    white-space: normal;
    text-align: center;
  }
  .hero-mark {
    width: 100%;
    overflow: hidden;
  }
  .hero-logo-img {
    width: min(260px, 72vw);
  }
  .hero-cta {
    padding-inline: 14px;
  }
  .hero-cta-btn {
    max-width: 100%;
    white-space: normal;
    text-align: center;
    line-height: 1.25;
  }
  .hero-foot .definition { display: none; }
  .feature-list { grid-template-columns: 1fr; }
  .event {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    margin-bottom: 18px;
    padding: 18px !important;
    border: 1px solid var(--line) !important;
    background: var(--cream-warm);
  }
  .event > div:first-child {
    width: 100%;
  }
  .event .btn {
    justify-self: start;
  }
  .bsport-widget-shell {
    min-height: 620px;
  }
  .policy-content {
    padding: 28px 22px;
  }
  .concept-card .hover-copy {
    max-height: 150px;
    margin-top: 10px;
    opacity: 1;
    transform: none;
  }
  .instructor-roster-section .instructor-grid {
    grid-auto-columns: unset;
  }
  .instructor-roster-top {
    align-items: flex-start;
    flex-direction: column;
  }
  .instructor-roster-section .instructor-card {
    flex-basis: min(280px, 78vw);
    min-height: 380px;
  }
  .training-overview-stack > * {
    min-height: 420px !important;
    padding: 30px !important;
  }
  .instructors-rail-scroll,
  .events-preview-rail,
  .test-grid[data-gallery] {
    grid-auto-columns: minmax(240px, 78vw);
  }
  .events-preview-rail .event-card {
    flex-basis: min(300px, 78vw);
  }
  .team-track .instructor-card {
    flex-basis: min(250px, 76vw);
  }
  .instructors-head .rail-actions,
  .events-preview-head + .rail-actions,
  .team-rail-actions {
    width: 100%;
    justify-content: flex-start;
  }
  .rental-pricing-grid {
    grid-template-columns: 1fr;
  }
  .mship-grid,
  .mship-grid[style],
  .mship[style*="grid-template-columns"],
  [style*="grid-template-columns:1fr 1.2fr"],
  [style*="grid-template-columns:1.2fr 1fr"],
  [style*="grid-template-columns:1fr 1.4fr"],
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns:repeat(3"],
  [style*="grid-template-columns:repeat(5"] {
    grid-template-columns: 1fr !important;
  }
  [style*="position:sticky"] {
    position: static !important;
    top: auto !important;
  }
  ul[style*="grid-template-columns:1fr 1fr"] {
    gap: 8px !important;
  }
}

/* ---------- Reopening discount pop-up ---------- */
.promo-pop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(20, 18, 14, 0.55);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.32s ease, visibility 0.32s ease;
}
.promo-pop.is-open {
  opacity: 1;
  visibility: visible;
}
.promo-pop-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 44px 40px 36px;
  text-align: center;
  box-shadow: 0 30px 80px rgba(20, 18, 14, 0.28);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}
.promo-pop.is-open .promo-pop-card {
  transform: translateY(0) scale(1);
}
.promo-pop-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  padding: 0;
}
.promo-pop-close span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 1.5px;
  background: var(--ink-soft);
  transform-origin: center;
}
.promo-pop-close span:first-child { transform: translate(-50%, -50%) rotate(45deg); }
.promo-pop-close span:last-child { transform: translate(-50%, -50%) rotate(-45deg); }
.promo-pop-close:hover { background: var(--cream-warm); }
.promo-pop-kicker {
  color: var(--terra);
  margin: 0;
}
.promo-pop-title {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(26px, 5vw, 34px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 14px 0 0;
}
.promo-pop-lede {
  margin: 18px 0 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.promo-pop-list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.promo-pop-list li {
  font-family: var(--display);
  font-weight: 500;
  font-size: 17px;
}
.promo-pop-code {
  margin: 22px 0 0;
  padding: 14px;
  border: 1px dashed var(--terra);
  border-radius: 4px;
  background: var(--cream-warm);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.promo-pop-code span {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.promo-pop-code strong {
  font-family: var(--display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: 0.02em;
  color: var(--terra);
}
.promo-pop-cta {
  margin-top: 22px;
  width: 100%;
}
.promo-pop-fine {
  margin: 18px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-soft);
}
@media (max-width: 520px) {
  .promo-pop-card { padding: 40px 24px 30px; }
}
