/* ============================================
   La House of Pulse — Brand Stylesheet
   Colors: Blush, Coral, Orange, Terracotta,
           Ochre, Ivory, Beige, Teal
   Fonts: Mont Light, Cervanttis
   ============================================ */

/* --- Font Faces --- */
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@600;700&family=Montserrat:wght@300;400;500;600&display=swap');

:root {
  --blush: #cfa796;
  --coral: #d68872;
  --orange: #cc7446;
  --terracotta: #ac552c;
  --ochre: #b78745;
  --ivory: #cfb98d;
  --beige: #dabfa9;
  --teal: #204e49;
  --white: #ffffff;
  --off-white: #faf7f4;
  --dark: #2c2c2c;
  --font-main: 'Montserrat', sans-serif;
  --font-script: 'Cervanttis', cursive;
  --font-hand: 'Caveat', cursive;
}

/* --- Reset --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

::selection {
  background: var(--coral);
  color: var(--white);
}

::-moz-selection {
  background: var(--coral);
  color: var(--white);
}

body {
  font-family: var(--font-main);
  font-weight: 300;
  color: var(--dark);
  background-color: var(--off-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

/* In-content text links (inside paragraphs) — visible, on-brand.
   Low specificity (0,0,3) so nav/footer/contact-info links keep their styles. */
main p a {
  color: var(--terracotta);
  text-decoration: underline;
  text-underline-offset: 0.15em;
  text-decoration-thickness: 1px;
}
main p a:hover {
  color: var(--coral);
}
/* On dark backgrounds (teal sections, page headers) use a light link colour */
.page-header p a,
.section-teal p a {
  color: #fff;
}
.page-header p a:hover,
.section-teal p a:hover {
  color: var(--blush);
}

ul { list-style: none; }

h1, h2, h3, h4 {
  font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
}

h1 { font-size: clamp(1.8rem, 4vw, 3rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); }

.script {
  font-family: var(--font-script);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  margin-top: 10px;
}

/* --- Header --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(250, 247, 244, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(207, 167, 150, 0.2);
  transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(32, 78, 73, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.4rem 3%;
  max-width: 1500px;
  margin: 0 auto;
  position: relative;
}

/* Center logo */
.logo {
  flex: 0 0 auto;
  margin: 0 5rem;
}

.logo img {
  height: 90px;
  width: auto;
}

/* Left + right nav share same link styles */
.nav-left,
.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
}

.nav-left {
  justify-content: flex-end;
}

.nav-right {
  justify-content: flex-start;
}

.nav-left a,
.nav-right a {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  padding: 0.5rem 0.65rem;
  position: relative;
  font-weight: 400;
  white-space: nowrap;
}

.nav-left a::after,
.nav-right a::after {
  content: '';
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%) scale(0);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--coral);
  transition: transform 0.3s ease;
}

.nav-left a:hover::after,
.nav-left a.active::after,
.nav-right a:hover::after,
.nav-right a.active::after {
  transform: translateX(-50%) scale(1);
}

.nav-left a:hover,
.nav-right a:hover {
  color: var(--coral);
}

.nav-left a.active,
.nav-right a.active {
  color: var(--coral);
}

/* --- Dropdown navigation --- */
.nav-item.has-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.dropdown-trigger .caret {
  font-size: 0.6em;
  opacity: 0.6;
  margin-left: 0.15em;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: max-content;
  background: #faf7f4;
  border: 1px solid rgba(207, 167, 150, 0.25);
  border-radius: 10px;
  box-shadow: 0 14px 34px rgba(32, 78, 73, 0.14);
  padding: 0.45rem 0.4rem;
  display: grid;
  grid-template-columns: repeat(2, max-content);
  column-gap: 0.4rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  z-index: 1100;
  isolation: isolate;
  will-change: opacity, transform;
}

/* invisible hover bridge so the menu stays open across the gap */
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.nav-item.has-dropdown:hover .dropdown-menu,
.nav-item.has-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
  display: block;
  white-space: nowrap;
  padding: 0.45rem 0.9rem !important;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  border-radius: 6px;
}

.dropdown-menu a::after { display: none !important; }

/* Last dropdown item (See the schedule / Voir le planning) — emphasised, full width */
.dropdown-menu a:last-child {
  font-weight: 700;
  grid-column: 1 / -1;
  margin-top: 0.25rem;
  border-top: 1px solid rgba(207, 167, 150, 0.25);
  padding-top: 0.6rem !important;
}

.dropdown-menu a:hover {
  color: var(--coral);
  background: rgba(207, 167, 150, 0.10);
}

/* Mobile-only nav (hidden on desktop) */
.main-nav {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.main-nav a {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  padding: 0.5rem 0.7rem;
  position: relative;
  font-weight: 400;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--coral);
  transition: width 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 60%;
}

.main-nav a:hover {
  color: var(--terracotta);
}

/* Single Language Flag */
.lang-flag {
  display: inline-flex;
  align-items: center;
  transition: transform 0.2s ease, opacity 0.2s ease;
  opacity: 0.85;
}

.lang-flag:hover {
  transform: scale(1.1);
  opacity: 1;
}

.flag-img {
  width: 26px;
  height: 18px;
  border-radius: 3px;
  border: 1px solid rgba(0,0,0,0.12);
  object-fit: cover;
  display: block;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Desktop: flag inside nav-right, hide mobile flag */
.lang-flag--desktop {
  margin-left: 0.6rem;
}
/* No hover/active dot on the flag link */
.nav-left .lang-flag::after,
.nav-right .lang-flag::after { display: none !important; }

.lang-flag--mobile {
  display: none;
}

/* Footer flag */
.site-footer .flag-img {
  border-color: rgba(255,255,255,0.25);
}

/* Desktop: hide mobile nav drawer and CTA */
.nav-wrapper {
  display: none;
}

.mobile-cta {
  display: none;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--teal);
  transition: all 0.3s ease;
}

.hamburger.active span {
  background: #fff;            /* white X over the drawer's dark hero image */
}
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  /* Fill exactly the viewport beneath the fixed site header.
     --header-h is measured at runtime via JS so it tracks the real header height
     across breakpoints. Falls back to a sensible default if JS hasn't run yet.
     dvh override accounts for mobile browser chrome (collapsing URL bar). */
  height: calc(100vh  - var(--header-h, 130px));
  height: calc(100dvh - var(--header-h, 130px));
  min-height: calc(100dvh - var(--header-h, 130px));
  margin-top: var(--header-h, 130px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img,
.hero-bg picture {
  width: 100%;
  height: 100%;
}

.hero-bg picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(32, 78, 73, 0.4) 0%,
    rgba(32, 78, 73, 0.6) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  padding: 2rem;
}

.hero-content .hero-logo {
  height: 120px;
  width: auto;
  margin: 0 auto 1.5rem;
}

.hero-content h1 {
  color: var(--white);
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  letter-spacing: 0.3em;
  margin-bottom: 0.5rem;
  font-weight: 300;
}

.hero-tagline {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--beige);
  letter-spacing: 0.1em;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.btn {
  display: inline-block;
  padding: 0.9rem 2.5rem;
  font-family: var(--font-main);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--coral);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--terracotta);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(172, 85, 44, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--teal);
}

.btn-outline-dark {
  background: transparent;
  color: var(--teal);
  border: 1px solid var(--teal);
}

.btn-outline-dark:hover {
  background: var(--teal);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-teal {
  background: var(--teal);
  color: var(--white);
}

.btn-teal:hover {
  background: #1a3f3b;
  transform: translateY(-2px);
}

/* --- Stats Bar --- */
.stats-bar {
  background: var(--teal);
  padding: 3rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
  color: var(--white);
}

.stat-item .stat-number {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  letter-spacing: 0.05em;
  line-height: 1;
  color: var(--coral);
}

.stat-item .stat-label {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: 0.5rem;
  opacity: 0.9;
}

/* --- Section Styles --- */
.section {
  padding: 5rem 0;
  position: relative;
}

/* Soft separator shadow at the top of each section (after the previous one) */
.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 22px;
  background: linear-gradient(to bottom, rgba(32, 78, 73, 0.09), rgba(32, 78, 73, 0));
  pointer-events: none;
  z-index: 2;
}

.section-light {
  background: var(--off-white);
}

.section-beige {
  background: var(--beige);
  background: linear-gradient(135deg, rgba(218,191,169,0.3) 0%, rgba(207,185,141,0.2) 100%);
}

.section-teal {
  background: var(--teal);
  color: var(--white);
}

.section-teal h2,
.section-teal h3 {
  color: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header .divider {
  width: 60px;
  height: 2px;
  background: var(--coral);
  margin: 0 auto;
}

.section-header p {
  color: var(--teal);
  opacity: 0.7;
  max-width: 600px;
  margin: 1rem auto 0;
  font-size: 0.95rem;
}

/* --- Classes Grid --- */
.classes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

/* ─── Horizontal-scroll variant for the 5-up Signature Practices ────
   Desktop: 3 cards visible per viewport, rest reachable via horizontal scroll.
   Mobile: ~1 card per viewport, swipe sideways.
   Uses scroll-snap so each swipe locks onto a card edge. */
.classes-grid--five {
  display: flex;
  align-items: stretch;     /* every card fills the height of the tallest */
  gap: 1.25rem;
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0.4rem 1rem 1rem;
  margin: 0 -1rem;
  grid-template-columns: none;
  scroll-padding-inline: 1rem;
  scroll-behavior: smooth;
  /* Hide native scrollbar — chevrons + wheel + drag handle navigation */
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.classes-grid--five::-webkit-scrollbar { display: none; height: 0; width: 0; }

/* ─── Carousel shell (wraps the track + arrow buttons) ──────────── */
.carousel {
  position: relative;
}
/* Soft edge fades hint there's more content out of view.
   top/bottom inset matches the track's own padding (0.4rem top, 1rem bottom)
   so the fade height aligns exactly with the visible cards, never extending
   below the card edge into the empty section gutter. */
.carousel::before,
.carousel::after {
  content: '';
  position: absolute;
  top: 0.4rem;
  bottom: 1rem;
  width: 80px;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.carousel::before {
  left: 0;
  background: linear-gradient(90deg, var(--beige, #f0e6d8) 0%, transparent 100%);
}
.carousel::after {
  right: 0;
  background: linear-gradient(-90deg, var(--beige, #f0e6d8) 0%, transparent 100%);
}
.carousel[data-can-prev="true"]::before { opacity: 1; }
.carousel[data-can-next="true"]::after  { opacity: 1; }

/* Chevron arrow buttons */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%) scale(0.85);
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--teal, #204e49);
  border: 1px solid rgba(7, 31, 27, 0.08);
  border-radius: 50%;
  box-shadow: 0 6px 18px -6px rgba(7, 31, 27, 0.18);
  cursor: pointer;
  z-index: 3;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1),
              background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, visibility 0.3s;
}
.carousel-arrow:hover {
  background: var(--accent-luxe, #c9826f);
  color: #fff;
  box-shadow: 0 10px 24px -6px rgba(201, 130, 111, 0.45);
}
.carousel-arrow:focus-visible {
  outline: 2px solid var(--accent-luxe, #c9826f);
  outline-offset: 3px;
}
.carousel-arrow svg { width: 20px; height: 20px; }

.carousel-arrow--prev { left: -22px; }
.carousel-arrow--next { right: -22px; }

.carousel[data-can-prev="true"] .carousel-arrow--prev,
.carousel[data-can-next="true"] .carousel-arrow--next {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) scale(1);
}

/* Mobile / narrow: hide arrows entirely — swipe handles navigation, edge fades
   already hint at more content. Avoids the chevron sitting on top of the card. */
@media (max-width: 900px) {
  .carousel-arrow { display: none !important; }
  .carousel::before,
  .carousel::after { width: 44px; }
}
@media (hover: none) {
  /* Touch devices: same idea — swipe is the natural interaction */
  .carousel-arrow { display: none !important; }
}

/* Hide arrows when no horizontal scroll is available (single screen of cards) */
.carousel[data-no-overflow="true"] .carousel-arrow { display: none; }
.carousel[data-no-overflow="true"]::before,
.carousel[data-no-overflow="true"]::after { display: none; }
.classes-grid--five > .class-card {
  flex: 0 0 calc((100% - (1.25rem * 2)) / 3); /* desktop: 3 visible */
  min-width: 0;
  scroll-snap-align: start;
}
@media (max-width: 768px) {
  /* Mobile: break the carousel out of the container so the gradient fades
     and the swipeable area reach the viewport edges. Cards still start a
     comfortable distance from the edge thanks to the track's inner padding. */
  .carousel {
    margin-left:  calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }
  .classes-grid--five {
    padding-left: 5vw;
    padding-right: 5vw;
    margin: 0;
    gap: 0.9rem;
  }
  .classes-grid--five > .class-card {
    flex: 0 0 82%;                  /* ~1 visible card with peek of next */
  }
  /* Widen the edge fades a touch on mobile so they're visually present */
  .carousel::before,
  .carousel::after { width: 64px; }
}

.class-card {
  background: var(--white);
  padding: 2.5rem 2rem;
  text-align: center;
  border-bottom: none;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* height handled by flex stretch on the track parent */
}
/* Refined coral accent — inset gradient line bounded to the card width,
   tapers to transparent at both ends so it sits cleanly even when next to
   the carousel's edge fade. */
.class-card::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--coral, #d68872) 20%,
    var(--coral, #d68872) 80%,
    transparent 100%);
  transform-origin: center;
  transition: opacity 0.3s ease;
}
.class-card:hover::after { opacity: 0.85; }

.class-card .class-icon { margin-bottom: 0.2rem; }
.class-card h3 { min-height: 2.4em; display: flex; align-items: center; justify-content: center; }

.class-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(32, 78, 73, 0.1);
}

.class-card h3 {
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
}

.class-card p {
  font-size: 0.9rem;
  color: var(--dark);
  opacity: 0.7;
}

.class-card .class-icon {
  margin-bottom: 1rem;
  color: var(--coral);
  line-height: 0;
}

.class-card .class-icon svg {
  width: 42px;
  height: 42px;
}

/* Global SVG icon sizing */
svg {
  flex-shrink: 0;
}

/* --- CTA Cards --- */
.cta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.cta-card {
  position: relative;
  height: 350px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  box-shadow: 0 0 28px rgba(32, 78, 73, 0.22);
}

.cta-card img,
.cta-card picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.cta-card picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.cta-card:hover img {
  transform: scale(1.05);
}

.cta-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(32,78,73,0.85) 0%, rgba(32,78,73,0.1) 60%);
  z-index: 1;
}

.cta-card-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
  color: var(--white);
  width: 100%;
}

.cta-card-content h3 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.cta-card-content .btn {
  font-size: 0.7rem;
  padding: 0.6rem 1.5rem;
}

/* --- Benefits Section --- */
.benefits-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.benefit-item {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}

.benefit-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: var(--coral);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.benefit-icon svg {
  width: 22px;
  height: 22px;
}

.benefit-item h3 {
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
  color: var(--coral);
  font-weight: 500;
}

.benefit-item p {
  font-size: 0.85rem;
  opacity: 0.7;
}

/* Exactly 4 items → balanced 2×2 grid (instead of an orphaned 3+1) */
@media (min-width: 700px) {
  .benefits-list:has(> .benefit-item:nth-child(4):last-child) {
    grid-template-columns: repeat(2, 1fr);
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    column-gap: 3rem;
  }
}

/* --- Two Column Layout --- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.two-col.reverse {
  direction: rtl;
}

.two-col.reverse > * {
  direction: ltr;
}

.two-col-img {
  overflow: hidden;
  box-shadow: 0 0 28px rgba(32, 78, 73, 0.22);
}

.two-col-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: 500px;
}

.two-col-text h2 {
  margin-bottom: 1.5rem;
}

.two-col-text p {
  margin-bottom: 1rem;
  font-size: 0.95rem;
  opacity: 0.85;
}

/* --- Schedule Table --- */
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  overflow: hidden;
}

.schedule-table thead {
  background: var(--teal);
  color: var(--white);
}

.schedule-table th {
  padding: 1rem;
  font-weight: 400;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.schedule-table td {
  padding: 0.8rem 1rem;
  text-align: center;
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(218,191,169,0.3);
}

.schedule-table tbody tr:hover {
  background: rgba(207,167,150,0.08);
}

/* Column widths — slimmer CLASS column (desktop/tablet) */
@media (min-width: 769px) {
  .schedule-table { table-layout: fixed; }
  .schedule-table th:nth-child(1), .schedule-table td:nth-child(1) { width: 17%; }
  .schedule-table th:nth-child(2), .schedule-table td:nth-child(2) { width: 25%; }
  .schedule-table th:nth-child(3), .schedule-table td:nth-child(3) { width: 24%; }
  .schedule-table th:nth-child(4), .schedule-table td:nth-child(4) { width: 34%; }
}

/* ===== Weekly schedule — card grid ===== */
.schedule-week {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
  margin-top: 1.5rem;
}

.sched-day {
  background: var(--off-white);
  border: 1px solid rgba(207, 167, 150, 0.22);
  border-radius: 14px;
  padding: 0.5rem 0.95rem 0.7rem;
  box-shadow: 0 6px 20px rgba(32, 78, 73, 0.06);
}

.sched-day-head {
  background: var(--teal);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.7rem;
  text-align: center;
  padding: 0.6rem;
  border-radius: 8px;
  margin: 0.4rem 0 0.2rem;
}

.sched-class {
  position: relative;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(207, 167, 150, 0.18);
}

.sched-class:last-child { border-bottom: none; }

.sched-top {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.25rem;
}

.sched-heat { display: inline-flex; color: var(--coral); flex: none; }
.sched-heat svg { width: 16px; height: 16px; }
.sched-class.is-cool .sched-heat { color: #3f7d86; }

.sched-time {
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.sched-class.is-cool .sched-time { color: #3f7d86; }

.sched-name {
  font-size: 0.9rem;
  color: var(--teal);
  margin: 0;
  line-height: 1.3;
  letter-spacing: 0.01em;
  font-weight: 600;
}

.sched-sub {
  color: var(--coral);
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.sched-temp {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--coral);
  opacity: 0.9;
}
.sched-class.is-cool .sched-temp { color: #3f7d86; }

.sched-teacher {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--coral);
}
.sched-class.is-cool .sched-teacher { color: #3f7d86; }

.sched-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.4rem;
}
.sched-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  line-height: 1;
  padding: 0.22rem 0.5rem;
  border-radius: 999px;
}
.sched-badge--pilates { background: var(--ochre); color: #2a2014; }
.sched-badge--infrared { background: var(--terracotta); color: #fff; }

.sched-class.is-infrared .sched-heat,
.sched-class.is-infrared .sched-time { color: var(--terracotta); }

.sched-new {
  position: absolute;
  top: 0.7rem;
  right: 0;
  background: var(--coral);
  color: #fff;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 0.14rem 0.42rem;
  border-radius: 5px;
  text-transform: uppercase;
}

.sched-day--sunday .sched-info {
  list-style: none;
  margin: 0.3rem 0 0;
  padding: 0;
}
.sched-day--sunday .sched-info li {
  padding: 0.62rem 0;
  border-bottom: 1px solid rgba(207, 167, 150, 0.18);
  font-size: 0.82rem;
  color: var(--teal);
  line-height: 1.4;
}
.sched-day--sunday .sched-info li:last-child { border-bottom: none; }

.sched-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 1.8rem;
  font-size: 0.8rem;
  color: var(--teal);
}
.sched-legend span { display: inline-flex; align-items: center; gap: 0.45rem; }
.sched-legend svg { width: 16px; height: 16px; }
.sched-legend .lg-hot { color: var(--coral); }
.sched-legend .lg-cool { color: #3f7d86; }

@media (max-width: 980px) { .schedule-week { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .schedule-week { grid-template-columns: 1fr; } }

.schedule-tag {
  display: inline-block;
  padding: 0.25rem 0.8rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.tag-bikram { background: rgba(214,136,114,0.15); color: var(--coral); }
.tag-pilates { background: rgba(214,136,114,0.15); color: var(--coral); }
.tag-yin { background: rgba(214,136,114,0.15); color: var(--coral); }
.tag-vinyasa { background: rgba(214,136,114,0.15); color: var(--coral); }

/* --- Rates / Pricing --- */
/* ─── Pricing cards: editorial luxury ─────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.75rem;
  align-items: stretch;
}

.pricing-card {
  position: relative;
  background: var(--off-white, #fbf6ee);
  border: 1px solid rgba(7, 31, 27, 0.07);
  border-radius: 6px;
  padding: 2.6rem 1.9rem 2.2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 2px rgba(7, 31, 27, 0.04),
              0 14px 32px -18px rgba(7, 31, 27, 0.10);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
              box-shadow 0.4s ease,
              border-color 0.4s ease;
}

.pricing-card:hover {
  transform: translateY(-5px);
  border-color: rgba(201, 130, 111, 0.32);
  box-shadow: 0 4px 10px rgba(7, 31, 27, 0.05),
              0 26px 50px -20px rgba(7, 31, 27, 0.18);
}

/* Featured plan — warm cream gradient + accent border + subtle lift */
.pricing-card.featured {
  background: linear-gradient(180deg,
    rgba(245, 233, 220, 0.55) 0%,
    rgba(245, 233, 220, 0.16) 50%,
    var(--off-white, #fbf6ee) 100%);
  border-color: rgba(201, 130, 111, 0.42);
  box-shadow: 0 4px 14px rgba(201, 130, 111, 0.06),
              0 26px 56px -22px rgba(201, 130, 111, 0.26);
}
.pricing-card.featured:not(:only-child) {
  transform: translateY(-6px);
}
.pricing-card.featured:not(:only-child):hover {
  transform: translateY(-10px);
}

/* "Most Popular" ribbon — only when featured sits alongside other plans.
   Language-aware label via :lang() (matches html[lang]). */
:lang(fr) .pricing-card.featured:not(:only-child)::before { content: "Le Plus Populaire"; }
.pricing-card.featured:not(:only-child)::before {
  content: "Most Popular";
  position: absolute;
  top: -0.72rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-luxe, #c9826f);
  color: #fff;
  font-family: var(--font-main, inherit);
  font-size: 0.6rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  padding: 0.42rem 1.3rem 0.38rem;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 6px 16px -6px rgba(201, 130, 111, 0.55);
}

/* Plan name — refined uppercase with tiny accent rule */
.pricing-card h3 {
  background: none;
  color: var(--teal, #204e49);
  font-family: var(--font-main, inherit);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.74rem;
  font-weight: 500;
  padding: 0 0 1.1rem;
  border-radius: 0;
  margin: 0 0 1.4rem;
  position: relative;
}
.pricing-card h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 1px;
  background: var(--accent-luxe, #c9826f);
  transition: width 0.4s ease;
}
.pricing-card:hover h3::after { width: 44px; }
.pricing-card.featured h3 { color: var(--accent-luxe, #c9826f); }
.pricing-card.featured h3::after { background: var(--teal, #204e49); width: 44px; }
.pricing-card.featured:hover h3::after { width: 60px; }

/* Price — large, confident, serif-light feel via Montserrat 200 */
.pricing-card .price {
  font-family: var(--font-main, inherit);
  font-size: clamp(2.7rem, 4.3vw, 3.4rem);
  font-weight: 300;
  color: var(--teal, #204e49);
  line-height: 1;
  margin: 0 0 0.55rem;
  letter-spacing: -0.01em;
}

.pricing-card .price-unit {
  font-family: var(--font-main, inherit);
  font-size: 0.72rem;
  color: var(--accent-luxe, #c9826f);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 1.6rem;
  font-weight: 500;
}

.pricing-card .price-details {
  list-style: none;
  margin: 0 0 1.8rem;
  padding: 0;
  font-size: 0.82rem;
  color: rgba(7, 31, 27, 0.66);
  line-height: 1.5;
}

.pricing-card .price-details li {
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(7, 31, 27, 0.06);
  letter-spacing: 0.02em;
}
.pricing-card .price-details li:last-child {
  border-bottom: none;
}

/* CTA: sits at the card bottom, editorial slim shape */
.pricing-card .btn {
  margin: auto auto 0;
  padding: 0.95rem 2.6rem;
  font-size: 0.7rem;
  letter-spacing: 0.26em;
}

@media (max-width: 540px) {
  .pricing-card { padding: 2.1rem 1.4rem 1.7rem; }
  .pricing-card .price { font-size: clamp(2.4rem, 9vw, 2.9rem); }
  .pricing-card.featured:not(:only-child) { transform: translateY(-3px); }
}

/* --- FAQ Accordion --- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(218,191,169,0.4);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.5rem 0;
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 400;
  color: var(--teal);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  letter-spacing: 0.05em;
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--coral);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-bottom: 1.5rem;
}

.faq-answer p {
  font-size: 0.9rem;
  opacity: 0.8;
  line-height: 1.8;
}

/* --- Contact Section --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.contact-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--coral);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

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

.contact-info-item h3 {
  font-size: 0.85rem;
  margin-bottom: 0.2rem;
}

.contact-info-item p,
.contact-info-item a {
  font-size: 0.9rem;
  opacity: 0.8;
}

.contact-info-item a:hover {
  color: var(--coral);
  opacity: 1;
}

/* Contact Split Layout — info left, map right */
.contact-split {
  display: flex;
  min-height: 600px;
}

.contact-split-info {
  flex: 0 0 45%;
  background: var(--off-white);
  display: flex;
  align-items: center;
}

.contact-split-inner {
  padding: 3rem 5% 3rem 8%;
  max-width: 550px;
}

.contact-split-inner h2 {
  margin-bottom: 2rem;
}

.contact-split-map {
  flex: 1;
  position: relative;
  min-height: 500px;
}

.contact-split-map .contact-map {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

.contact-split-map .map-pin {
  z-index: 3;
}

@media (max-width: 968px) {
  .contact-split {
    flex-direction: column;
  }

  .contact-split-info {
    flex: none;
  }

  .contact-split-inner {
    padding: 2rem 5%;
  }

  .contact-split-map {
    min-height: 400px;
  }
}

/* Branded Map */
.map-wrapper {
  position: relative;
  width: 100%;
  height: 380px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(32, 78, 73, 0.15);
}

.contact-map {
  width: 100%;
  height: 100%;
  border: none;
  filter: sepia(20%) saturate(60%) hue-rotate(120deg) brightness(1.05);
  transition: filter 0.4s ease;
}

.map-wrapper:hover .contact-map {
  filter: sepia(10%) saturate(70%) hue-rotate(120deg) brightness(1.08);
}

.map-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid var(--beige);
  border-radius: 4px;
  pointer-events: none;
  z-index: 2;
}

/* Heartbeat Pin */
.map-pin {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -100%);
  z-index: 3;
  pointer-events: none;
}

.map-pin svg {
  width: 40px;
  height: 40px;
  filter: drop-shadow(0 3px 6px rgba(172, 85, 44, 0.4));
  animation: heartbeat 1.5s ease-in-out infinite;
}

.map-pin-ring {
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 5px;
  background: rgba(32, 78, 73, 0.25);
  border-radius: 50%;
  animation: pinShadow 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
  0%, 100% {
    transform: translate(-50%, -100%) scale(1);
  }
  15% {
    transform: translate(-50%, -100%) scale(1.2);
  }
  30% {
    transform: translate(-50%, -100%) scale(1);
  }
  45% {
    transform: translate(-50%, -100%) scale(1.15);
  }
  60% {
    transform: translate(-50%, -100%) scale(1);
  }
}

@keyframes pinShadow {
  0%, 100% {
    transform: translateX(-50%) scale(1);
    opacity: 0.25;
  }
  15% {
    transform: translateX(-50%) scale(0.7);
    opacity: 0.4;
  }
  30% {
    transform: translateX(-50%) scale(1);
    opacity: 0.25;
  }
  45% {
    transform: translateX(-50%) scale(0.75);
    opacity: 0.35;
  }
  60% {
    transform: translateX(-50%) scale(1);
    opacity: 0.25;
  }
}

/* ─── Footer — editorial / luxury direction ────────────────────── */
.site-footer {
  background:
    radial-gradient(ellipse at 8% 0%,  rgba(245, 233, 220, 0.04) 0%, transparent 38%),
    radial-gradient(ellipse at 92% 100%, rgba(201, 130, 111, 0.06) 0%, transparent 42%),
    linear-gradient(180deg, #1d4c47 0%, #163b37 100%);
  color: rgba(255, 255, 255, 0.78);
  padding: 7.5rem 0 3rem;
  position: relative;
  font-family: var(--font-main, inherit);
}
/* A single tiny coral-cream rule centred at the very top — quiet entrance */
.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 1px;
  background: rgba(201, 130, 111, 0.55);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.25fr;
  gap: 5.5rem;
  margin-bottom: 5.5rem;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

/* ─── Eyebrow heading above every column ───────────────────────── */
.footer-eyebrow {
  font-family: var(--font-main, inherit);
  font-size: 0.62rem;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--coral, #d68872);
  margin: 0 0 1.6rem;
  font-weight: 600;
  position: relative;
  padding-bottom: 0.95rem;
}
.footer-eyebrow::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 1px;
  background: rgba(201, 130, 111, 0.5);
}

/* ─── Brand column ─────────────────────────────────────────────── */
.footer-wordmark {
  font-family: var(--font-main, inherit);
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  font-weight: 400;
  margin: 0 0 1.1rem;
  line-height: 1.15;
}

.footer-about {
  max-width: 34ch;
  font-size: 0.82rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.66);
  margin: 0 0 2rem;
  font-weight: 300;
}

.footer-social {
  display: flex;
  gap: 0.7rem;
  margin-top: 0;
}
.footer-social a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}
.footer-social a:hover {
  background: var(--coral, #d68872);
  border-color: var(--coral, #d68872);
  color: #fff;
  transform: translateY(-1px);
}
.footer-social svg { width: 16px; height: 16px; }

/* ─── Link lists in Explore / Resources / Visit ───────────────── */
.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-list li {
  margin: 0;
}
.footer-list li + li { margin-top: 0.95rem; }
.footer-list--compact li + li { margin-top: 0.55rem; }
.footer-list a {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  font-family: var(--font-main, inherit);
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: 0.02em;
  text-decoration: none;
  font-weight: 400;
  transition: color 0.22s ease, padding-left 0.22s ease;
  line-height: 1.5;
}
.footer-list a::after { display: none !important; }
.footer-list a:hover {
  color: var(--coral, #d68872);
  padding-left: 4px;
}
.footer-tag {
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
  font-weight: 500;
}

/* ─── Visit column extras: address + lang switch ──────────────── */
.footer-address {
  font-style: normal;
  margin: 0 0 1.6rem;
}
.footer-address a {
  font-size: 0.84rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  transition: color 0.22s ease;
}
.footer-address a:hover { color: var(--coral, #d68872); }

.footer-lang {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.6rem;
  padding: 0.5rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-main, inherit);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 500;
  transition: border-color 0.22s ease, color 0.22s ease, background 0.22s ease;
}
.footer-lang:hover {
  border-color: var(--coral, #d68872);
  color: var(--coral, #d68872);
  background: rgba(201, 130, 111, 0.08);
}
.footer-lang .flag-img {
  width: 18px;
  height: 12px;
  border-radius: 2px;
  border: none;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

/* ─── Mobile: stack cleanly with extra breath ─────────────────── */
@media (max-width: 968px) {
  .site-footer { padding: 5.5rem 0 2.5rem; }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem 3rem;
    margin-bottom: 3.5rem;
  }
  .footer-col--brand { grid-column: 1 / -1; }
  .footer-about { max-width: 50ch; }
}
@media (max-width: 540px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.8rem;
  }
  .footer-col--brand { grid-column: 1; }
  .footer-wordmark { font-size: 1.05rem; }
  .footer-eyebrow { margin-bottom: 1.2rem; padding-bottom: 0.75rem; }
}

/* ─── Footer bottom: legal · copyright · credits (3 stacked rows) ─── */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 0;
  padding-top: 2.8rem;
  text-align: center;
  display: grid;
  gap: 1.6rem;
}

/* Row 1 — Privacy · Terms · Cookie Preferences */
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.4rem 0.9rem;
}
.footer-legal a,
.footer-legal .footer-cookie-link {
  font-family: var(--font-main, inherit);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  padding: 0.2rem 0;
  border: none;
  background: none;
  cursor: pointer;
  transition: color 0.2s ease;
}
.footer-legal a:hover,
.footer-legal .footer-cookie-link:hover {
  color: var(--coral, #d68872);
  text-decoration: none;
}
.footer-sep {
  color: rgba(255, 255, 255, 0.28);
  font-size: 0.7rem;
  user-select: none;
}

/* Row 2 — Copyright */
.footer-copyright {
  font-size: 0.78rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
  margin: 0 auto;
  max-width: 720px;
  letter-spacing: 0.01em;
}

/* Row 3 — Credits trio */
.footer-credits {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 1rem;
  padding-top: 0.4rem;
}
.footer-credit-item {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s ease;
  opacity: 0.85;
}
.footer-credit-item:hover { opacity: 1; }
.footer-credit-item:hover .fc-name {
  color: var(--coral, #d68872);
}
.footer-credit-item .fc-label {
  font-family: var(--font-main, inherit);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.58rem;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 400;
}
.footer-credit-item .fc-name {
  font-family: var(--font-main, inherit);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  transition: color 0.2s ease;
}
.footer-credit-item .fc-accent { color: var(--ochre, #d6a85e); }

/* Inline cookie reopen link used inside policy pages */
.cookie-inline-link {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: var(--coral, #d68872);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
.cookie-inline-link:hover { color: var(--terracotta, #b9684f); }

@media (max-width: 640px) {
  .footer-bottom { gap: 1.1rem; padding-top: 2rem; }
  .footer-legal { gap: 0.3rem 0.65rem; }
  .footer-legal a,
  .footer-legal .footer-cookie-link { font-size: 0.66rem; letter-spacing: 0.16em; }
  .footer-credits { flex-direction: column; gap: 0.5rem; }
  .footer-credits .footer-sep { display: none; }
}

/* --- Page Header --- */
.breadcrumb-bar {
  background: var(--teal);
  padding: 1.25rem 0;        /* symmetric top/bottom inside the visible teal bar */
  margin-top: 8rem;          /* clearance below the fixed site header */
}
/* When reparented inside the page-header, sit at the bottom, transparent + centered */
.page-header .breadcrumb-bar {
  background: transparent;
  padding: 1.2rem 0 0;
  margin-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}
.breadcrumb { justify-content: center; }

.breadcrumb {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  line-height: 1;
}

.breadcrumb li { display: inline-flex; align-items: center; }
.breadcrumb a { color: rgba(255,255,255,0.7); text-transform: uppercase; }
.breadcrumb a:hover { color: var(--coral); }
.breadcrumb .bc-sep { color: rgba(255,255,255,0.4); }
.breadcrumb [aria-current="page"] { color: rgba(255,255,255,0.92); text-transform: uppercase; }

.page-header {
  padding: 12rem 0 1.3rem;
  text-align: center;
  background: linear-gradient(135deg, var(--teal) 0%, #1a3f3b 100%);
  color: var(--white);
  margin-top: 0;
}
/* When breadcrumb gets reparented inside, the outer .breadcrumb-bar sibling
   disappears — we need the page-header to provide the full top clearance
   that the standalone breadcrumb bar used to give. */

.page-header--hero {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 6.5rem 0;
}

.page-header--hero p {
  opacity: 0.92;
}

/* ===== Botanical / heat-wave brand accents (subtle, flyer-inspired) ===== */
.page-header:not(.page-header--hero),
.section-teal,
.site-footer {
  position: relative;
  overflow: hidden;
}

.page-header:not(.page-header--hero) > .container,
.section-teal > .container,
.site-footer > .container {
  position: relative;
  z-index: 1;
}

.page-header:not(.page-header--hero)::after,
.section-teal::before,
.site-footer::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

/* Leaf sprig — top-right of interior page headers */
.page-header:not(.page-header--hero)::after {
  top: -18px;
  right: -14px;
  width: 150px;
  height: 150px;
  background-image: url('/assets/img/deco-leaf.svg');
  opacity: 0.14;
}

/* Heat waves — bottom-left of teal feature/CTA sections */
.section-teal::before {
  left: -26px;
  bottom: -22px;
  width: 230px;
  height: 135px;
  background-image: url('/assets/img/deco-waves.svg');
  opacity: 0.09;
}

/* Leaf sprig — top-right of the footer */
.site-footer::after {
  top: 6px;
  right: -10px;
  width: 170px;
  height: 170px;
  background-image: url('/assets/img/deco-leaf.svg');
  opacity: 0.07;
  transform: scaleX(-1);
}

@media (max-width: 768px) {
  .page-header:not(.page-header--hero)::after,
  .section-teal::before,
  .site-footer::after {
    display: none;
  }
}

.page-header h1 {
  color: var(--white);
  font-size: clamp(1.45rem, 2.8vw, 2.1rem);
  letter-spacing: 0.07em;
  line-height: 1.25;
  max-width: 24ch;
  margin: 0 auto 0.4rem;
}

.page-header .divider {
  width: 44px;
  height: 2px;
  background: var(--coral);
  margin: 1rem auto 0.9rem;
}

.page-header p {
  opacity: 0.72;
  max-width: 520px;
  margin: 0 auto;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Small eyebrow label above the title (Journal / Lexique infrarouge…) */
.page-header .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.7rem;
  opacity: 0.55;
  margin-bottom: 1rem;
}

/* --- Access List --- */
.access-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.access-item {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  font-size: 0.9rem;
  line-height: 1.3;
}

.access-item .icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  color: var(--coral);
}

.access-item .icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

/* --- Notice Banner --- */
.notice-banner {
  background: linear-gradient(135deg, var(--coral) 0%, var(--terracotta) 100%);
  color: var(--white);
  text-align: center;
  padding: 1rem 2rem;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

/* --- Responsive --- */
@media (max-width: 968px) {
  .nav-left,
  .nav-right {
    display: none;
  }

  /* Show mobile flag on the left of logo */
  .lang-flag--mobile {
    display: inline-flex;
    position: absolute;
    left: 5%;
    top: 50%;
    transform: translateY(-50%);
  }

  .hamburger {
    display: flex;
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
  }

  .header-inner {
    justify-content: center;
  }

  .logo img {
    height: 70px;
  }

  .nav-wrapper {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    height: 100dvh;
    background: var(--off-white);
    padding: 5rem 2rem 2.5rem;
    transition: right 0.4s ease;
    box-shadow: -5px 0 20px rgba(0,0,0,0.1);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  .nav-wrapper.open {
    right: 0;
  }

  .main-nav {
    flex-direction: column;
    gap: 0;
    align-items: flex-start;
  }

  .main-nav a {
    font-size: 0.9rem;
    padding: 0.8rem 0;
    width: 100%;
    border-bottom: 1px solid rgba(218,191,169,0.2);
  }

  .main-nav a::after { display: none; }

  /* Dropdowns become static, expanded groups in the mobile drawer */
  .main-nav .nav-item.has-dropdown {
    display: block;
    width: 100%;
  }

  .main-nav .dropdown-trigger {
    pointer-events: none;
    opacity: 0.6;
    font-size: 0.72rem;
  }

  .main-nav .caret { display: none; }

  .main-nav .dropdown-menu,
  .main-nav .nav-item.has-dropdown:hover .dropdown-menu,
  .main-nav .nav-item.has-dropdown:focus-within .dropdown-menu {
    position: static;
    display: block;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    background: transparent;
    padding: 0 0 0 1rem;
    min-width: 0;
    width: 100%;
  }

  .main-nav .dropdown-menu a:last-child {
    border-top: none;
    margin-top: 0;
    padding-top: 0.7rem !important;
  }

  .main-nav .dropdown-menu a {
    padding: 0.7rem 0 !important;
    font-size: 0.82rem;
    white-space: normal;
    border-bottom: 1px solid rgba(218, 191, 169, 0.15);
  }

  .mobile-cta {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--beige);
  }

  .mobile-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: 100%;
    text-align: center;
  }

  .mobile-cta-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
  }

  .btn-outline-dark {
    background: transparent;
    color: var(--teal);
    border: 1.5px solid var(--teal);
    padding: 0.9rem 2.5rem;
    font-family: var(--font-main);
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .btn-outline-dark:hover {
    background: var(--teal);
    color: var(--white);
  }

  .two-col,
  .two-col.reverse {
    grid-template-columns: 1fr;
    gap: 2rem;
    direction: ltr;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

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

@media (max-width: 480px) {
  .hero-content h1 {
    letter-spacing: 0.15em;
  }

  .section {
    padding: 3rem 0;
  }

  .cta-card {
    height: 250px;
  }
}

/* --- Utility --- */
.text-center { text-align: center; }
.text-teal { color: var(--teal); }
.text-coral { color: var(--coral); }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

/* ============================================================
   Our Story — editorial brand page
   ============================================================ */
.story-hero {
  position: relative;
  min-height: 76vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background-size: cover;
  background-position: center;
}
.story-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,46,42,0.5) 0%, rgba(11,46,42,0.8) 100%);
}
.story-hero .container { position: relative; z-index: 1; }
.story-hero .story-eyebrow { color: rgba(255,255,255,0.85); }
.story-hero h1 {
  color: #fff;
  font-size: clamp(2.1rem, 5vw, 3.5rem);
  font-weight: 300;
  letter-spacing: 0.12em;
  line-height: 1.2;
  margin: 0 auto;
  max-width: 18ch;
}
.story-hero-sub {
  margin: 1.6rem auto 0;
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.7;
  opacity: 0.92;
  max-width: 36ch;
}
.pulse-rule { width: 56px; height: 1px; background: var(--coral); margin: 1.6rem auto; }
@media (max-width: 768px) { .story-hero { min-height: 64vh; } }

.story-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 0.72rem;
  color: var(--coral);
  text-align: center;
  margin-bottom: 1.1rem;
}
.story-wrap { max-width: 740px; margin: 0 auto; }
.story-h2 {
  text-align: center;
  font-weight: 300;
  letter-spacing: 0.1em;
  font-size: clamp(1.5rem, 3.2vw, 2.1rem);
  color: var(--teal);
  margin: 0 0 1.1rem;
  line-height: 1.3;
}
.story-divider { width: 48px; height: 2px; background: var(--coral); margin: 0 auto 2.2rem; }
.story-lead {
  font-size: 1.2rem;
  line-height: 1.85;
  color: var(--teal);
  text-align: center;
  font-weight: 300;
  margin: 0 auto 1.6rem;
}
.story-body p { line-height: 1.9; margin: 0 0 1.15rem; color: var(--dark); }
.story-body p:last-child { margin-bottom: 0; }

.story-quote {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  font-size: clamp(1.35rem, 3vw, 1.95rem);
  font-weight: 300;
  line-height: 1.5;
  color: var(--teal);
  letter-spacing: 0.01em;
}
.story-quote .accent { color: var(--coral); }
.story-quote-mark { width: 50px; height: 1px; background: var(--coral); margin: 0 auto 1.8rem; }

/* Teal-section text inversions */
.section-teal .story-h2,
.section-teal .story-lead,
.section-teal .story-quote { color: #fff; }
.section-teal .story-body p { color: rgba(255,255,255,0.88); }
.section-teal .story-eyebrow { color: var(--blush); }

/* Ritual sequence */
.ritual { max-width: 340px; margin: 2.5rem auto 0; padding: 0; list-style: none; }
.ritual li {
  text-align: center;
  padding: 1rem 0;
  font-size: 1.1rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #fff;
  font-weight: 400;
}
.ritual li + li { border-top: 1px solid rgba(255,255,255,0.18); }

/* Name / Pulse feature */
.pulse-word {
  text-align: center;
  font-size: clamp(3rem, 9vw, 5.5rem);
  letter-spacing: 0.32em;
  font-weight: 300;
  color: var(--coral);
  margin: 0 0 0.5rem;
  padding-left: 0.32em;
}
.pulse-meaning {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  font-size: 0.8rem;
  color: var(--teal);
  opacity: 0.7;
  margin-bottom: 2.4rem;
}

/* Founders / journey bands (full-width split) */
.story-band { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.story-band-img { background-size: cover; background-position: center; min-height: 440px; }
.story-band-text {
  background: var(--off-white);
  padding: 4.5rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.story-band-text.is-beige { background: var(--beige); }
.story-band-text .story-h2 { text-align: left; }
.story-band-text .story-divider { margin-left: 0; }
.story-band-text .story-eyebrow { text-align: left; }
.story-band-text .story-body p { color: var(--teal); }
@media (max-width: 860px) {
  .story-band { grid-template-columns: 1fr; }
  .story-band--reverse .story-band-img { order: -1; }
  .story-band-text { padding: 3rem 1.6rem; }
  .story-band-img { min-height: 300px; }
}

/* Differentiators */
.diff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 0.5rem; }
.diff-card {
  background: var(--off-white);
  border: 1px solid rgba(207,167,150,0.22);
  border-radius: 14px;
  padding: 2rem 1.7rem;
  box-shadow: 0 6px 20px rgba(32,78,73,0.06);
}
.diff-card h3 { color: var(--teal); font-size: 1rem; letter-spacing: 0.05em; margin: 0 0 0.7rem; }
.diff-card p { font-size: 0.9rem; line-height: 1.7; opacity: 0.82; margin: 0; }
@media (max-width: 900px) { .diff-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .diff-grid { grid-template-columns: 1fr; } }

/* First visit */
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.6rem; max-width: 880px; margin: 1rem auto 0; }
.visit-block h3 { color: var(--teal); font-size: 0.95rem; letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 0.7rem; }
.visit-block p { line-height: 1.8; margin: 0; opacity: 0.85; }
.visit-list { list-style: none; padding: 0; margin: 0.4rem 0 0; }
.visit-list li { padding: 0.4rem 0 0.4rem 1.7rem; position: relative; line-height: 1.6; opacity: 0.9; }
.visit-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 8px;
  height: 8px;
  border: 1.5px solid var(--coral);
  border-radius: 50%;
}
@media (max-width: 700px) { .visit-grid { grid-template-columns: 1fr; gap: 1.6rem; } }

/* ============================================================
   Class landing — spec-sheet layout (new classes)
   ============================================================ */
.classpage {
  background: var(--off-white);
  padding: 9rem 0 5rem;
}
.classpage-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 0;
  align-items: start;
}

/* Left — identity */
.cp-id { padding-right: 3.6rem; }
.cp-mark { display: inline-block; width: 56px; height: 56px; margin-bottom: 1.4rem; }
.cp-mark svg { width: 100%; height: 100%; }
.cp-badge {
  display: inline-block;
  background: var(--coral);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.66rem;
  font-weight: 600;
  padding: 0.4rem 0.95rem;
  border-radius: 3px 10px 3px 10px;
  margin-bottom: 1.1rem;
  transform: rotate(-2deg);
}
.cp-title {
  font-size: clamp(2.1rem, 4.4vw, 3.3rem);
  line-height: 1.04;
  letter-spacing: 0.02em;
  color: var(--teal);
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 0 0.7rem;
}
.cp-temp {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.82rem;
  color: var(--coral);
  margin: 0;
}
.cp-rule {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 1.6rem 0 1.8rem;
}
.cp-rule::before { content: ""; width: 46px; height: 2px; background: var(--coral); }
.cp-rule .cp-heart { width: 14px; height: 14px; color: var(--coral); }

/* Prominent time (flyer-style: big 24h + small 12h) */
.cp-time { display: flex; align-items: center; gap: 0.95rem; margin-bottom: 1.4rem; }
.cp-time-ic { color: var(--coral); flex: none; display: inline-flex; }
.cp-time-ic svg { width: 30px; height: 30px; }
.cp-time-main {
  display: block;
  font-size: 1.85rem;
  line-height: 1.05;
  font-weight: 600;
  color: var(--coral);
  letter-spacing: 0.01em;
}
.cp-time-sub {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
}

.cp-instructor { display: flex; align-items: center; gap: 0.95rem; margin-bottom: 1.4rem; }
.cp-instructor-ic { color: var(--teal); flex: none; display: inline-flex; }
.cp-instructor-ic svg { width: 26px; height: 26px; }
.cp-instructor-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.15rem;
}
.cp-instructor-name {
  display: block;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--coral);
  letter-spacing: 0.01em;
  text-decoration: none;
}
a.cp-instructor-name:hover { text-decoration: underline; }

.cp-facts { display: flex; flex-direction: column; gap: 1.1rem; }
.cp-fact { display: flex; align-items: center; gap: 0.9rem; }
.cp-fact-ic { color: var(--coral); flex: none; display: inline-flex; }
.cp-fact-ic svg { width: 26px; height: 26px; }
.cp-fact strong {
  display: block;
  color: var(--teal);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.cp-fact span {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.72rem;
  color: var(--dark);
  opacity: 0.6;
  margin-top: 0.15rem;
}

.cp-callout {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  background: rgba(214, 136, 114, 0.1);
  border: 1px solid rgba(214, 136, 114, 0.22);
  border-radius: 12px;
  padding: 1.1rem 1.2rem;
  margin-top: 1.8rem;
}
.cp-callout-ic { color: var(--coral); flex: none; }
.cp-callout-ic svg { width: 26px; height: 26px; }
.cp-callout strong {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  color: var(--coral);
  margin-bottom: 0.25rem;
}
.cp-callout p { margin: 0; font-size: 0.86rem; line-height: 1.55; color: var(--dark); opacity: 0.85; }

/* Right — body */
.cp-body {
  padding-left: 3.6rem;
  border-left: 1px solid rgba(207, 167, 150, 0.4);
}
.cp-intro {
  font-size: 1.06rem;
  line-height: 1.75;
  color: var(--teal);
  margin: 0 0 1.1rem;
  font-weight: 300;
}
.cp-hairline { height: 1px; background: rgba(207, 167, 150, 0.4); margin: 1.8rem 0; }

.cp-benefits { list-style: none; margin: 0; padding: 0; }
.cp-benefits li { display: flex; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid rgba(207, 167, 150, 0.2); }
.cp-benefits li:last-child { border-bottom: none; }
.cp-ben-ic {
  flex: none;
  width: 42px; height: 42px;
  border: 1.5px solid var(--coral);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--coral);
}
.cp-ben-ic svg { width: 20px; height: 20px; }
.cp-benefits li { transition: transform 0.2s ease; }
.cp-benefits li:hover { transform: translateX(4px); }
.cp-benefits li:hover .cp-ben-ic { background: var(--coral); color: #fff; }
.cp-ben-ic { transition: background 0.2s ease, color 0.2s ease; }
.cp-benefits h3 {
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0.25rem 0 0.3rem;
}
.cp-benefits p { margin: 0; font-size: 0.92rem; line-height: 1.65; color: var(--dark); opacity: 0.82; }

.cp-tagline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  text-align: center;
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: 1.7rem;
  line-height: 1.1;
  color: var(--coral);
  margin: 2.4rem 0 0;
}
.cp-tagline .cp-heart { width: 16px; height: 16px; flex: none; }
.cp-cta {
  margin-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}
.cp-cta .btn { margin: 0; }
@media (max-width: 540px) {
  .cp-cta { flex-direction: column; align-items: stretch; gap: 0.8rem; }
  .cp-cta .btn { width: 100%; text-align: center; }
}

@media (max-width: 820px) {
  .classpage { padding: 7rem 0 3.5rem; }
  .classpage-grid { grid-template-columns: 1fr; gap: 2.6rem; }
  .cp-id { padding-right: 0; }
  .cp-body { padding-left: 0; border-left: none; border-top: 1px solid rgba(207, 167, 150, 0.4); padding-top: 2.4rem; }
}

/* ============================================================
   Teacher (team) page — flyer-style
   ============================================================ */
.teacher { background: var(--off-white); padding: 8.5rem 0 0; }
.teacher-top {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.2rem;
  align-items: start;
}
.teacher-name {
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: clamp(3rem, 7vw, 5rem);
  line-height: 0.9;
  color: var(--coral);
  margin: 0;
}
.teacher-role {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal);
  font-weight: 600;
  font-size: 0.95rem;
  margin: 0.5rem 0 0;
}
.t-heart { width: 14px; height: 14px; color: var(--coral); flex: none; }
.teacher-rule { display: flex; align-items: center; gap: 0.5rem; margin: 1.3rem 0 1.6rem; }
.teacher-rule::before { content: ""; width: 46px; height: 2px; background: var(--coral); }
.teacher-bio p { line-height: 1.85; margin: 0; color: var(--dark); }
.teacher-sep { display: flex; align-items: center; justify-content: center; gap: 0.6rem; margin: 1.1rem 0; }
.teacher-sep::before, .teacher-sep::after { content: ""; height: 1px; width: 60px; background: rgba(207,167,150,0.45); }

.teacher-photo img { width: 100%; border-radius: 16px; display: block; }
.teacher-photo-ph {
  aspect-ratio: 4 / 5;
  background: var(--beige);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.teacher-photo-ph span {
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: 6rem;
  color: var(--off-white);
}

.teacher-attrs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 3rem 0 0;
  background: rgba(214, 136, 114, 0.1);
  border-radius: 14px;
  padding: 1.7rem 0.5rem;
}
.teacher-attr { text-align: center; padding: 0 1rem; }
.teacher-attr + .teacher-attr { border-left: 1px solid rgba(214, 136, 114, 0.28); }
.teacher-attr-ic { color: var(--coral); display: inline-flex; }
.teacher-attr-ic svg { width: 30px; height: 30px; }
.teacher-attr p {
  margin: 0.7rem 0 0;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: 0.7rem;
  line-height: 1.4;
  color: var(--teal);
}

.teacher-welcome { background: var(--teal); color: #fff; margin-top: 3rem; padding: 2.4rem 0; }
.teacher-welcome .container { display: flex; align-items: center; gap: 1.4rem; }
.teacher-welcome-mark { flex: none; width: 52px; height: 52px; }
.teacher-welcome-mark svg { width: 100%; height: 100%; }
.teacher-welcome p {
  margin: 0;
  font-size: clamp(1.05rem, 2.3vw, 1.45rem);
  font-weight: 300;
  line-height: 1.4;
}
.teacher-welcome .accent { color: var(--coral); }

@media (max-width: 860px) {
  .teacher { padding: 7rem 0 0; }
  .teacher-top { grid-template-columns: 1fr; gap: 2rem; }
  .teacher-photo { order: -1; max-width: 420px; }
  .teacher-attrs { grid-template-columns: 1fr 1fr; gap: 1.2rem 0; padding: 1.4rem 0.4rem; }
  .teacher-attr:nth-child(2) { border-left: 1px solid rgba(214,136,114,0.28); }
  .teacher-attr:nth-child(3) { border-left: none; }
}

/* Team index cards */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
.team-card {
  display: block;
  background: var(--off-white);
  border: 1px solid rgba(207,167,150,0.22);
  border-radius: 14px;
  padding: 1.8rem 1.5rem;
  text-align: center;
  box-shadow: 0 6px 20px rgba(32,78,73,0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.team-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(32,78,73,0.12); }
.team-card .team-mono {
  width: 72px; height: 72px; margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--beige);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-hand); font-weight: 700; font-size: 2.2rem; color: var(--off-white);
}
.team-card h3 { font-family: var(--font-hand); font-weight: 700; text-transform: none; letter-spacing: 0; font-size: 1.8rem; color: var(--coral); margin: 0; }
.team-card p { margin: 0.3rem 0 0; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.7rem; color: var(--teal); }

/* ─── Sticky mobile CTA → Book Online ───────────────────────────── */
.sticky-cta {
  display: none;
}
@media (max-width: 768px) {
  .sticky-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 950;
    padding: 1rem 1.2rem calc(1rem + env(safe-area-inset-bottom, 0px));
    background: var(--coral, #d68872);
    color: var(--white, #fff);
    text-decoration: none;
    border: none;
    border-radius: 0;
    font-family: var(--font-main, inherit);
    font-weight: 400;
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    box-shadow: 0 -10px 24px -12px rgba(32, 78, 73, 0.35);
    transition: background 0.3s ease, opacity 0.2s ease;
  }
  .sticky-cta:hover,
  .sticky-cta:focus-visible {
    background: var(--terracotta, #b9684f);
    color: var(--white, #fff);
    text-decoration: none;
  }
  .sticky-cta svg {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
  }
  /* Push page bottom up so footer content isn't hidden under the CTA */
  body {
    padding-bottom: calc(3.6rem + env(safe-area-inset-bottom, 0px));
  }
  /* Hide while the mobile drawer is open so it doesn't fight the menu */
  body:has(.nav-wrapper.open) .sticky-cta {
    opacity: 0;
    pointer-events: none;
  }
}

/* ─── Hero CTA pair (home) ──────────────────────────────────────── */
.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}
.hero-ctas .btn { margin: 0; }
@media (max-width: 640px) {
  .hero-ctas {
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
  }
  .hero-ctas .btn {
    width: min(280px, 100%);
    text-align: center;
  }
}

/* ─── Hero secondary text-link (under the CTA pair) ─────────────── */
.hero-textlink {
  display: inline-block;
  margin-top: 1.1rem;
  color: var(--white, #fff);
  font-family: var(--font-main, inherit);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.35rem 0.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  transition: color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.hero-textlink:hover,
.hero-textlink:focus-visible {
  color: var(--coral, #d68872);
  border-bottom-color: var(--coral, #d68872);
  transform: translateY(-1px);
}
@media (max-width: 640px) {
  .hero-textlink { margin-top: 1.4rem; font-size: 0.72rem; }
}

/* ─── Hero: editorial / luxury direction ────────────────────────── */
/* New brand tokens — added at :root for future site-wide adoption.
   For now only the editorial hero uses them; other components keep --coral. */
:root {
  --accent-luxe:        #c9826f;   /* slightly more muted than --coral */
  --accent-luxe-hover:  #b97060;
  --cream-luxe:         #f5e9dc;
  --dark-green-luxe:    #071f1b;
}

/* Branded multi-direction gradient — diagonal terracotta wash from upper-left,
   warm peach kiss top-right, deep brand green sinking from bottom.
   Reads as Riviera-dusk rather than flat fitness tint. */
.hero:has(.hero-content--editorial) .hero-overlay {
  background:
    /* Subtle warm cream/peach in the upper-right (sunset kiss) */
    radial-gradient(ellipse at 78% 14%,
      rgba(245, 233, 220, 0.22) 0%,
      rgba(245, 233, 220, 0.05) 32%,
      transparent 60%),
    /* Terracotta diagonal wash from upper-left */
    linear-gradient(135deg,
      rgba(201, 130, 111, 0.32) 0%,
      rgba(201, 130, 111, 0.08) 28%,
      transparent 55%),
    /* Brand deep green sinking from bottom */
    linear-gradient(to bottom,
      rgba(7, 31, 27, 0.08) 0%,
      rgba(7, 31, 27, 0.35) 65%,
      rgba(7, 31, 27, 0.6) 100%);
}

/* Cinematic brand filter on the hero image — controlled, not flat */
.hero:has(.hero-content--editorial) .hero-bg picture img,
.hero:has(.hero-content--editorial) .hero-bg img {
  filter: contrast(1.08) saturate(0.78) brightness(0.74);
}

/* Radial vignette behind the centered text — the contrast booster */
.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(circle at center,
    rgba(0, 0, 0, 0.45) 0%,
    rgba(0, 0, 0, 0.18) 36%,
    rgba(0, 0, 0, 0.55) 100%);
}

/* Composition: vertically centered in the hero frame */
.hero:has(.hero-content--editorial) {
  align-items: center;
  padding-top: 0;
}

.hero-content--editorial {
  max-width: 810px;
  margin-top: clamp(2rem, 8vh, 6rem);
}

/* ─── Editorial typography hierarchy ────────────────────────────── */
.hero-eyebrow {
  font-family: var(--font-main, inherit);
  font-size: 0.66rem;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 400;
  margin: 0 0 1.2rem;
}

.hero-content--editorial .hero-brand {
  font-family: var(--font-main);
  font-size: 58px;
  line-height: 1.04;
  font-weight: 400;
  letter-spacing: 7px;
  text-transform: uppercase;
  color: var(--white, #fff);
  margin: 0 0 1.4rem;
}

.hero-content--editorial .hero-tagline {
  font-family: var(--font-main, inherit);
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-luxe);
  font-weight: 300;
  margin: 0 0 1.1rem;
}

.hero-microcopy {
  max-width: 450px;
  margin: 0 auto 2.4rem;
  font-size: clamp(0.86rem, 1.05vw, 0.94rem);
  line-height: 1.75;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.82);
  font-style: italic;
}

/* ─── Editorial buttons: slim, sharp, wider ─────────────────────── */
.hero-ctas--editorial { gap: 1rem; }
.hero-ctas--editorial .btn {
  padding: 1.1rem 2.9rem;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  border-radius: 0;
  font-weight: 400;
  transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease, transform 0.25s ease;
}
.hero-ctas--editorial .btn-primary {
  background: var(--accent-luxe);
  color: var(--white, #fff);
}
.hero-ctas--editorial .btn-primary:hover {
  background: var(--accent-luxe-hover);
  transform: translateY(-1px);
}
.hero-ctas--editorial .btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.9);
  color: var(--white, #fff);
}
.hero-ctas--editorial .btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--cream-luxe);
  color: var(--cream-luxe);
  transform: translateY(-1px);
}

/* ─── Scroll cue: editorial text-link, animated underline (no arrow) — overrides earlier .hero-textlink */
.hero-content--editorial .hero-textlink {
  display: inline-block;
  margin-top: 1.8rem;
  color: var(--white, #fff);
  font-family: var(--font-main, inherit);
  font-size: 0.7rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  text-decoration: none;
  position: relative;
  padding: 0.45rem 0.45rem 0.4rem;
  border-bottom: none;
  transition: color 0.3s ease, transform 0.3s ease;
}
.hero-content--editorial .hero-textlink::after {
  content: '';
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: 0;
  height: 1px;
  background: var(--cream-luxe);
  transition: left 0.4s ease, right 0.4s ease, background 0.3s ease;
}
.hero-content--editorial .hero-textlink:hover,
.hero-content--editorial .hero-textlink:focus-visible {
  color: var(--cream-luxe);
  transform: none;
  border-bottom: none;
}
.hero-content--editorial .hero-textlink:hover::after,
.hero-content--editorial .hero-textlink:focus-visible::after {
  left: 0;
  right: 0;
}

/* ─── Mobile refinement ─────────────────────────────────────────── */
@media (max-width: 640px) {
  .hero:has(.hero-content--editorial) {
    padding-top: 0;
    align-items: center;
  }
  .hero-eyebrow { font-size: 0.6rem; letter-spacing: 0.4em; margin-bottom: 0.9rem; }
  .hero-content--editorial .hero-brand { font-size: clamp(2rem, 9vw, 2.8rem); letter-spacing: 0.05em; }
  .hero-content--editorial .hero-tagline { font-size: 0.78rem; letter-spacing: 0.15em; margin-bottom: 0.9rem; }
  .hero-microcopy { font-size: 0.83rem; max-width: 90vw; margin-bottom: 1.8rem; }
  .hero-ctas--editorial .btn { padding: 0.95rem 1.6rem; font-size: 0.66rem; letter-spacing: 0.22em; }
  .hero-content--editorial .hero-textlink { font-size: 0.66rem; letter-spacing: 0.3em; margin-top: 1.5rem; }
}

/* ─── Mega-menu (Classes dropdown with category columns) ────────── */
.dropdown-menu.dropdown-menu--mega {
  grid-template-columns: repeat(4, minmax(190px, 1fr));
  column-gap: 1.4rem;
  row-gap: 0;
  padding: 1.5rem 1.7rem;
  width: min(86vw, 920px);
  max-width: 92vw;
}

.dropdown-menu--mega .dropdown-col {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  padding: 0 0.3rem;
  min-width: 0;     /* let long items wrap inside this column instead of overflowing */
}

.dropdown-menu--mega .dropdown-col-title {
  font-family: var(--font-main, inherit);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--coral, #d68872);
  margin: 0 0 0.7rem;
  padding: 0 0.9rem 0.65rem;
  border-bottom: 1px solid rgba(207, 167, 150, 0.30);
  white-space: nowrap;
}

.dropdown-menu--mega a {
  font-size: 0.86rem;
  letter-spacing: 0.03em;
  text-transform: none;
  font-weight: 400;
  padding: 0.55rem 0.9rem !important;
  white-space: normal;
  line-height: 1.35;
  word-break: break-word;
}

.dropdown-menu--mega a:hover {
  background: rgba(207, 167, 150, 0.10);
  color: var(--coral, #d68872);
}

/* Footer "See the full schedule" link spans the whole bottom row */
.dropdown-menu--mega .dropdown-footer-link {
  grid-column: 1 / -1;
  margin-top: 0.85rem;
  padding: 0.95rem 1rem !important;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal, #204e49);
  background: rgba(207, 167, 150, 0.10);
  border-radius: 6px;
  border-top: 1px solid rgba(207, 167, 150, 0.18);
}
.dropdown-menu--mega .dropdown-footer-link:hover {
  background: rgba(207, 167, 150, 0.22);
  color: var(--accent-luxe, #c9826f);
}

/* Override the legacy "last-child = full-width emphasized" rule when in mega menu */
.dropdown-menu--mega a:last-child {
  font-weight: 700;
  grid-column: auto;
  margin-top: 0;
  border-top: none;
  padding-top: 0.4rem !important;
}
.dropdown-menu--mega .dropdown-footer-link:last-child {
  font-weight: 700;
  grid-column: 1 / -1;
  margin-top: 0.7rem;
  border-top: 1px solid rgba(207, 167, 150, 0.18);
  padding-top: 0.8rem !important;
}

/* Mobile: collapse into a vertical accordion-style list with section titles */
@media (max-width: 968px) {
  .main-nav .dropdown-menu--mega {
    display: block;
    padding: 0 0 0 1rem;
  }
  .main-nav .dropdown-menu--mega .dropdown-col {
    margin-top: 0.6rem;
  }
  .main-nav .dropdown-menu--mega .dropdown-col-title {
    font-size: 0.62rem;
    letter-spacing: 0.22em;
    padding: 0;
    border-bottom: none;
    margin: 0.6rem 0 0.2rem;
    opacity: 0.85;
  }
  .main-nav .dropdown-menu--mega a {
    font-size: 0.82rem;
    padding: 0.6rem 0 !important;
    white-space: normal;
    border-bottom: 1px solid rgba(218, 191, 169, 0.15);
  }
  .main-nav .dropdown-menu--mega .dropdown-footer-link {
    margin-top: 0.8rem;
    padding: 0.7rem 0 !important;
    text-align: left;
    background: transparent;
  }
}

/* ─── Mobile drawer: editorial direction (naxossailing-inspired) ──── */
@media (max-width: 968px) {
  /* Reset old paddings — editorial drawer manages its own internal spacing */
  .nav-wrapper {
    padding: 0;
    background: #fbf6ee;
    display: grid;
    grid-template-rows: 1fr auto;
    width: 100vw;
    max-width: 100vw;
    box-shadow: none;
  }

  /* Scrollable middle */
  .d-scroll {
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--coral, #d68872) transparent;
    padding-top: 0;
  }
  .d-scroll::-webkit-scrollbar { width: 4px; }
  .d-scroll::-webkit-scrollbar-thumb { background: var(--coral, #d68872); border-radius: 4px; }

  /* Editorial hero band */
  .d-hero {
    position: relative;
    isolation: isolate;
    color: #fff;
    overflow: hidden;
  }
  .d-hero-media { position: absolute; inset: 0; z-index: 0; }
  .d-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: contrast(1.06) saturate(0.78) brightness(0.7);
  }
  .d-hero-scrim {
    position: absolute; inset: 0;
    background:
      linear-gradient(135deg, rgba(201,130,111,0.18) 0%, transparent 40%),
      linear-gradient(180deg, rgba(7,31,27,0.28) 0%, rgba(7,31,27,0.70) 100%);
  }
  .d-hero-body {
    position: relative;
    z-index: 2;
    padding: 4.5rem 1.6rem 2rem;
    display: grid;
    gap: 0.7rem;
  }
  .d-hero .d-eyebrow {
    margin: 0;
    font-size: 0.6rem;
    letter-spacing: 0.42em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    font-weight: 400;
  }
  .d-hero-title {
    margin: 0;
    font-family: var(--font-main);
    font-size: 1.55rem;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #fff;
  }
  .d-hero-sub {
    margin: 0;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--cream-luxe, #f5e9dc);
    font-weight: 300;
    line-height: 1.5;
  }
  .d-cta-pair {
    display: grid;
    gap: 0.55rem;
    margin-top: 0.6rem;
  }
  .d-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    width: 100%;
    padding: 0.95rem 1.2rem;
    background: var(--accent-luxe, #c9826f);
    color: #fff;
    text-decoration: none;
    font-family: var(--font-main);
    font-size: 0.7rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    font-weight: 400;
    border-radius: 0;
    border: 1px solid var(--accent-luxe, #c9826f);
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  }
  .d-cta:hover, .d-cta:active {
    background: var(--accent-luxe-hover, #b97060);
    border-color: var(--accent-luxe-hover, #b97060);
    color: #fff;
  }
  .d-cta--outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.9);
  }
  .d-cta--outline:hover, .d-cta--outline:active {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--cream-luxe, #f5e9dc);
    color: var(--cream-luxe, #f5e9dc);
  }
  .d-cta svg { transition: transform 0.2s ease; }
  .d-cta:hover svg, .d-cta:active svg { transform: translateX(3px); }

  /* Sections */
  .nav-wrapper .d-section {
    padding: 1.25rem 1.6rem;
    border-bottom: 1px solid rgba(7,31,27,0.07);
  }
  .nav-wrapper .d-section:last-of-type { border-bottom: none; }
  .nav-wrapper .d-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin: 0 0 0.8rem;
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 0.62rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--coral, #d68872);
  }

  /* Editorial lists */
  .d-list { list-style: none; margin: 0; padding: 0; }
  .d-list li + li { border-top: 1px solid rgba(7,31,27,0.06); }
  .d-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.7rem;
    padding: 0.85rem 0;
    color: var(--teal, #204e49);
    font-family: var(--font-main);
    font-size: 0.95rem;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: color 0.18s ease, padding-left 0.18s ease;
    border-bottom: none;
    width: 100%;
  }
  .d-list a:hover, .d-list a:active { color: var(--accent-luxe, #c9826f); padding-left: 0.35rem; }
  .d-list a::after { display: none !important; }
  .d-list a svg {
    color: rgba(7,31,27,0.35);
    flex-shrink: 0;
    transition: transform 0.18s ease, color 0.18s ease;
  }
  .d-list a:hover svg, .d-list a:active svg { color: var(--accent-luxe, #c9826f); transform: translateX(3px); }
  .d-list .is-active {
    color: var(--accent-luxe, #c9826f);
    font-weight: 500;
    position: relative;
  }
  .d-list .is-active::before {
    content: '';
    position: absolute;
    left: -0.85rem;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--accent-luxe, #c9826f);
  }

  /* Full-schedule footer link */
  .d-foot-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.9rem 1rem;
    text-align: center;
    background: rgba(201,130,111,0.08);
    color: var(--accent-luxe, #c9826f);
    text-decoration: none;
    font-family: var(--font-main);
    font-size: 0.7rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    font-weight: 700;
    transition: background 0.18s ease;
  }
  .d-foot-link:hover, .d-foot-link:active { background: rgba(201,130,111,0.18); }

  /* Foot section with lang switcher + address */
  .d-foot {
    padding: 1.5rem 1.6rem 2rem;
    background: rgba(245,233,220,0.4);
    border-bottom: none;
  }
  .d-lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.85rem;
    border: 1px solid rgba(7,31,27,0.12);
    border-radius: 999px;
    color: var(--teal, #204e49);
    font-family: var(--font-main);
    font-size: 0.66rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 500;
    text-decoration: none;
    margin-bottom: 0.8rem;
  }
  .d-lang-switch .flag-img { width: 18px; height: 12px; object-fit: cover; border-radius: 2px; }
  .d-foot .d-foot-line {
    margin: 0;
    color: rgba(7,31,27,0.6);
    font-size: 0.75rem;
    line-height: 1.5;
  }

  /* Sticky bottom contact bar */
  .d-contact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
    border-top: 1px solid rgba(7,31,27,0.10);
    background: #fff;
    padding-bottom: env(safe-area-inset-bottom);
  }
  .d-contact a {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    padding: 0.85rem 0.4rem;
    color: var(--teal, #204e49);
    text-decoration: none;
    font-family: var(--font-main);
    font-size: 0.6rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    transition: color 0.18s ease, background 0.18s ease;
    min-height: 58px;
  }
  .d-contact a + a { border-left: 1px solid rgba(7,31,27,0.08); }
  .d-contact a:hover, .d-contact a:active {
    color: var(--accent-luxe, #c9826f);
    background: rgba(201,130,111,0.06);
  }
  .d-contact svg { color: rgba(7,31,27,0.5); }
  .d-contact a:hover svg, .d-contact a:active svg { color: var(--accent-luxe, #c9826f); }

  /* Hide the old .main-nav rendering — we replaced it with editorial sections */
  .nav-wrapper .main-nav { display: none; }

  /* Stagger entrance animation when drawer opens */
  .nav-wrapper .d-stagger {
    opacity: 0;
    transform: translateY(10px);
  }
  .nav-wrapper.open .d-stagger {
    animation: d-stagger-in 420ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
    animation-delay: calc(var(--i, 0) * 55ms + 80ms);
  }
  @keyframes d-stagger-in {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  @media (prefers-reduced-motion: reduce) {
    .nav-wrapper .d-stagger { opacity: 1; transform: none; animation: none !important; }
  }
}

/* ─── Hero scroll cue (editorial: label + line + falling dot) ───── */
.hero-scroll-cue {
  position: absolute;
  bottom: 1.8rem;
  left: 50%;
  z-index: 4;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  padding: 0.4rem 0.6rem;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  transition: color 0.3s ease;
}
.hero-scroll-cue:hover,
.hero-scroll-cue:focus-visible {
  color: var(--cream-luxe, #f5e9dc);
  text-decoration: none;
}

.hero-scroll-cue .cue-label {
  font-family: var(--font-main, inherit);
  font-size: 0.6rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  font-weight: 400;
  /* writing-mode: vertical-rl; */ /* could turn label sideways if desired */
}

.hero-scroll-cue .cue-line {
  position: relative;
  display: block;
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.22) 18%,
    rgba(255, 255, 255, 0.22) 100%);
  overflow: visible;
}

.hero-scroll-cue .cue-dot {
  position: absolute;
  top: 0;
  left: 50%;
  width: 6px;
  height: 6px;
  margin-left: -3px;
  margin-top: -3px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 6px currentColor;
  animation: hero-cue-fall 1.9s cubic-bezier(0.55, 0.05, 0.35, 1) infinite;
}

@keyframes hero-cue-fall {
  0%   { transform: translateY(-2px) scale(0.4); opacity: 0; }
  18%  { transform: translateY(2px)  scale(1);   opacity: 1; }
  78%  { transform: translateY(38px) scale(1);   opacity: 1; }
  100% { transform: translateY(46px) scale(0.4); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-scroll-cue .cue-dot {
    animation: none;
    top: 50%;
    transform: translateY(-50%);
  }
}

@media (max-width: 640px) {
  .hero-scroll-cue { bottom: 1.1rem; gap: 0.55rem; }
  .hero-scroll-cue .cue-label { font-size: 0.55rem; letter-spacing: 0.32em; }
  .hero-scroll-cue .cue-line { height: 36px; }
  @keyframes hero-cue-fall {
    0%   { transform: translateY(-2px) scale(0.4); opacity: 0; }
    18%  { transform: translateY(2px)  scale(1);   opacity: 1; }
    78%  { transform: translateY(30px) scale(1);   opacity: 1; }
    100% { transform: translateY(38px) scale(0.4); opacity: 0; }
  }
}

/* ─── Cookie consent banner ─────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 1.2rem;
  left: 1.2rem;
  z-index: 940;
  max-width: 360px;
  background: #fbf6ee;
  border: 1px solid rgba(207, 167, 150, 0.32);
  border-radius: 4px;
  box-shadow: 0 4px 14px rgba(7, 31, 27, 0.06),
              0 18px 40px -20px rgba(7, 31, 27, 0.30);
  animation: cookie-slide-in 0.42s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner.is-leaving {
  animation: cookie-slide-out 0.38s cubic-bezier(0.4, 0, 1, 1) forwards;
}
.cookie-banner-inner {
  padding: 1rem 1.2rem 0.95rem;
}
.cookie-eyebrow {
  font-family: var(--font-main, inherit);
  font-size: 0.6rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--coral, #d68872);
  margin: 0 0 0.4rem;
  font-weight: 700;
}
.cookie-msg {
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--teal, #204e49);
  margin: 0 0 0.85rem;
}
.cookie-actions {
  display: flex;
  gap: 0.55rem;
  margin-bottom: 0.7rem;
}
.cookie-btn {
  flex: 1;
  font: inherit;
  font-family: var(--font-main, inherit);
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.62rem 1rem;
  border-radius: 0;
  cursor: pointer;
  font-weight: 400;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.cookie-btn--primary {
  background: var(--accent-luxe, #c9826f);
  color: #fff;
  border: 1px solid var(--accent-luxe, #c9826f);
}
.cookie-btn--primary:hover {
  background: var(--accent-luxe-hover, #b97060);
  border-color: var(--accent-luxe-hover, #b97060);
}
.cookie-btn--ghost {
  background: transparent;
  color: var(--teal, #204e49);
  border: 1px solid rgba(7, 31, 27, 0.15);
}
.cookie-btn--ghost:hover {
  background: rgba(7, 31, 27, 0.04);
  border-color: rgba(7, 31, 27, 0.30);
}
.cookie-credit {
  font-size: 0.6rem;
  color: rgba(7, 31, 27, 0.45);
  margin: 0;
  letter-spacing: 0.02em;
  line-height: 1.5;
}
.cookie-credit a {
  color: rgba(7, 31, 27, 0.65);
  text-decoration: none;
  border-bottom: 1px solid rgba(7, 31, 27, 0.15);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.cookie-credit a:hover {
  color: var(--accent-luxe, #c9826f);
  border-color: var(--accent-luxe, #c9826f);
}

@keyframes cookie-slide-in {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes cookie-slide-out {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(18px); }
}

/* Mobile: sits above the sticky 'Book Online' CTA bar */
@media (max-width: 768px) {
  .cookie-banner {
    left: 0.8rem;
    right: 0.8rem;
    bottom: calc(4.6rem + env(safe-area-inset-bottom, 0px));
    max-width: none;
  }
  /* When on a page with no sticky CTA (home, schedule), pull the banner closer to the edge */
  body:has(.sticky-cta:not([style*="display: none"])) .cookie-banner {
    bottom: calc(4.6rem + env(safe-area-inset-bottom, 0px));
  }
}

/* ─── Pillars bar (Infrared / Heated / Well-being) ──────────────── */
.pillars {
  position: relative;
  background:
    linear-gradient(180deg, rgba(7,31,27,0.12) 0%, transparent 24%, transparent 76%, rgba(7,31,27,0.12) 100%),
    linear-gradient(135deg, #1f4d49 0%, #15403b 60%, #102f2c 100%);
  color: #fff;
  padding: 3.5rem 0;
  overflow: hidden;
}
/* Subtle texture line at top + bottom */
.pillars::before,
.pillars::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 1px;
  background: rgba(255,255,255,0.18);
}
.pillars::before { top: 0; }
.pillars::after  { bottom: 0; }

.pillars-grid {
  display: grid;
  grid-template-columns: 1fr 1px 1fr 1px 1fr;
  align-items: center;
  gap: 2.4rem;
  max-width: 1100px;
  margin: 0 auto;
}
/* The thin vertical hairlines between pillars */
.pillars-grid::before,
.pillars-grid::after {
  content: '';
  width: 1px;
  align-self: stretch;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(245, 233, 220, 0.22) 35%,
    rgba(245, 233, 220, 0.22) 65%,
    transparent 100%);
}
/* CSS-grid trick: keep the markup as just three .pillar children,
   then explicitly place them in columns 1, 3, 5 with the dividers as
   ::before/::after placed manually in cols 2 and 4. */
.pillars-grid {
  grid-template-columns: 1fr 1px 1fr 1px 1fr;
}
.pillars-grid > .pillar:nth-child(1) { grid-column: 1; }
.pillars-grid > .pillar:nth-child(2) { grid-column: 3; }
.pillars-grid > .pillar:nth-child(3) { grid-column: 5; }
.pillars-grid::before { grid-column: 2; grid-row: 1; }
.pillars-grid::after  { grid-column: 4; grid-row: 1; }

.pillar {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
}

.pillar-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--cream-luxe, #f5e9dc);
  margin-bottom: 0.4rem;
  transition: color 0.3s ease, transform 0.4s ease;
}
.pillar:hover .pillar-icon {
  color: var(--accent-luxe, #c9826f);
  transform: translateY(-2px);
}
.pillar-icon svg { width: 100%; height: 100%; }

.pillar-title {
  font-family: var(--font-main, inherit);
  font-size: 0.92rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin: 0;
  color: #fff;
  position: relative;
  padding-bottom: 0.7rem;
}
.pillar-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 1px;
  background: var(--accent-luxe, #c9826f);
  transition: width 0.4s ease;
}
.pillar:hover .pillar-title::after { width: 40px; }

.pillar-sub {
  font-family: var(--font-main, inherit);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: rgba(245, 233, 220, 0.75);
  margin: 0;
  font-weight: 300;
  font-style: italic;
  line-height: 1.55;
}

/* Tablet — narrow the gap, keep 3 columns */
@media (max-width: 900px) {
  .pillars-grid { gap: 1.4rem; }
  .pillar-title { font-size: 0.82rem; letter-spacing: 0.22em; }
  .pillar-sub   { font-size: 0.74rem; }
}

/* Mobile — stack vertically with horizontal hairlines instead of vertical */
@media (max-width: 640px) {
  .pillars { padding: 2.6rem 0; }
  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }
  .pillars-grid > .pillar:nth-child(1),
  .pillars-grid > .pillar:nth-child(2),
  .pillars-grid > .pillar:nth-child(3) { grid-column: 1; }
  .pillars-grid::before,
  .pillars-grid::after { display: none; }
  /* Add horizontal hairlines between stacked pillars */
  .pillar + .pillar {
    position: relative;
    padding-top: 1.8rem;
  }
  .pillar + .pillar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: rgba(245, 233, 220, 0.22);
  }
  .pillar-icon { width: 40px; height: 40px; }
}

/* ─── Cookie banner: settings view + toggles ────────────────────── */
.cookie-view[hidden] { display: none; }

/* "Customise preferences" subtle text link in compact view — full row width */
.cookie-link {
  display: block;
  width: 100%;
  background: none;
  border: none;
  padding: 0.6rem 0;
  margin: 0 0 0.7rem;
  font: inherit;
  font-family: var(--font-main, inherit);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
  color: var(--teal, #204e49);
  cursor: pointer;
  border-bottom: 1px solid rgba(7, 31, 27, 0.15);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.cookie-link:hover {
  color: var(--accent-luxe, #c9826f);
  border-color: var(--accent-luxe, #c9826f);
}

/* Back chevron in settings view */
.cookie-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: none;
  border: none;
  padding: 0.2rem 0;
  margin: 0 0 0.85rem;
  font: inherit;
  font-family: var(--font-main, inherit);
  font-size: 0.64rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(7, 31, 27, 0.55);
  cursor: pointer;
  transition: color 0.2s ease;
}
.cookie-back:hover { color: var(--teal, #204e49); }

.cookie-msg-small {
  font-size: 0.74rem;
  line-height: 1.55;
  color: rgba(7, 31, 27, 0.55);
  margin: 0 0 1rem;
}

/* Per-category list */
.cookie-cats {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 0.9rem;
}
.cookie-cat {
  background: rgba(7, 31, 27, 0.03);
  border: 1px solid rgba(7, 31, 27, 0.06);
  border-radius: 4px;
  padding: 0.7rem 0.85rem;
}
.cookie-cat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}
.cookie-cat-info { min-width: 0; }
.cookie-cat-info h4 {
  margin: 0 0 0.15rem;
  font-family: var(--font-main, inherit);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--teal, #204e49);
  text-transform: none;
}
.cookie-cat-info p {
  margin: 0;
  font-size: 0.7rem;
  line-height: 1.45;
  color: rgba(7, 31, 27, 0.55);
}

/* Toggle switch */
.cookie-toggle {
  position: relative;
  flex-shrink: 0;
  display: inline-block;
  width: 36px;
  height: 20px;
  cursor: pointer;
}
.cookie-toggle input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  margin: 0;
}
.cookie-toggle-track {
  position: absolute;
  inset: 0;
  background: rgba(7, 31, 27, 0.18);
  border-radius: 999px;
  transition: background 0.2s ease;
}
.cookie-toggle-track::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
}
.cookie-toggle input:checked + .cookie-toggle-track {
  background: var(--accent-luxe, #c9826f);
}
.cookie-toggle input:checked + .cookie-toggle-track::after {
  transform: translateX(16px);
}
.cookie-toggle input:focus-visible + .cookie-toggle-track {
  outline: 2px solid var(--accent-luxe, #c9826f);
  outline-offset: 2px;
}
/* Locked (essential) — always on, can't toggle */
.cookie-toggle--locked {
  cursor: not-allowed;
  pointer-events: none;
}
.cookie-toggle--locked .cookie-toggle-track {
  background: rgba(201, 130, 111, 0.5);
}
.cookie-toggle--locked .cookie-toggle-track::after {
  transform: translateX(16px);
  background: #fff;
  opacity: 0.92;
}

/* (Footer "Cookie preferences" link is styled via the .footer-legal block above) */

@media (max-width: 540px) {
  .cookie-banner { max-height: 80vh; overflow-y: auto; }
}
