/* Harmony — personal yoga brand + theme palettes */
:root,
[data-theme="ocean"] {
  --navy: #1e3a5f;
  --navy-soft: #2c4a6e;
  --blue: #3d6b9a;
  --blue-mid: #5b8ab8;
  --blue-soft: #7ba3c9;
  --teal: #6b9bb8;
  --teal-btn: #5a9ab8;
  --teal-btn-hover: #4a8aa8;
  --cream: #faf8f4;
  --cream-2: #f5f1ea;
  --sand: #e8e0d4;
  --gold: #b8a070;
  --gold-soft: #c9b896;
  --text: #2a3a4a;
  --muted: #6b7c8a;
  --white: #ffffff;
  --shadow: 0 8px 32px rgba(30, 58, 95, 0.08);
  --radius: 1.25rem;
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Georgia", "Times New Roman", serif;
  --nav-h: 4.5rem;
  --max: 72rem;
  --swatch-1: #1e3a5f;
  --swatch-2: #5a9ab8;
  --swatch-3: #faf8f4;
}

/* Sage — soft green yoga studio */
[data-theme="sage"] {
  --navy: #2f4a3c;
  --navy-soft: #3d5c4b;
  --blue: #4a7c59;
  --blue-mid: #5f9a72;
  --blue-soft: #8fbc9a;
  --teal: #6a9e7c;
  --teal-btn: #4f8a63;
  --teal-btn-hover: #3f7352;
  --cream: #f7f8f4;
  --cream-2: #eef2ea;
  --sand: #dde5d6;
  --gold: #9a8b5c;
  --gold-soft: #b5a875;
  --text: #2a3a32;
  --muted: #5f7266;
  --shadow: 0 8px 32px rgba(47, 74, 60, 0.1);
  --swatch-1: #2f4a3c;
  --swatch-2: #5f9a72;
  --swatch-3: #f7f8f4;
}

/* Rose — soft feminine */
[data-theme="rose"] {
  --navy: #5c3d4a;
  --navy-soft: #6e4d5a;
  --blue: #9a6b7a;
  --blue-mid: #b88494;
  --blue-soft: #d4a8b4;
  --teal: #c48b9a;
  --teal-btn: #b07084;
  --teal-btn-hover: #965f71;
  --cream: #fdf8f7;
  --cream-2: #f8efed;
  --sand: #eddcd8;
  --gold: #c4a06e;
  --gold-soft: #d4b88a;
  --text: #3d2e34;
  --muted: #7a656c;
  --shadow: 0 8px 32px rgba(92, 61, 74, 0.1);
  --swatch-1: #5c3d4a;
  --swatch-2: #b88494;
  --swatch-3: #fdf8f7;
}

/* Sand — warm earth */
[data-theme="sand"] {
  --navy: #4a3b2f;
  --navy-soft: #5c4b3c;
  --blue: #8a6b4a;
  --blue-mid: #a8845c;
  --blue-soft: #c4a882;
  --teal: #b8926a;
  --teal-btn: #a67c52;
  --teal-btn-hover: #8d6844;
  --cream: #faf6f0;
  --cream-2: #f3ebe0;
  --sand: #e6d8c4;
  --gold: #b8945c;
  --gold-soft: #cbb07a;
  --text: #3a3028;
  --muted: #6e6256;
  --shadow: 0 8px 32px rgba(74, 59, 47, 0.1);
  --swatch-1: #4a3b2f;
  --swatch-2: #a8845c;
  --swatch-3: #faf6f0;
}

/* Dusk — soft purple */
[data-theme="dusk"] {
  --navy: #3d3558;
  --navy-soft: #4d4568;
  --blue: #6b5b8f;
  --blue-mid: #8574a8;
  --blue-soft: #a898c4;
  --teal: #8f7eb0;
  --teal-btn: #7a68a0;
  --teal-btn-hover: #66568a;
  --cream: #f8f6fb;
  --cream-2: #f0ecf6;
  --sand: #e0d8ec;
  --gold: #b89a6e;
  --gold-soft: #cbb08a;
  --text: #322e3d;
  --muted: #6a6478;
  --shadow: 0 8px 32px rgba(61, 53, 88, 0.1);
  --swatch-1: #3d3558;
  --swatch-2: #8574a8;
  --swatch-3: #f8f6fb;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: clip;
}
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  max-width: 100%;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
  width: min(100% - 2rem, var(--max));
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: 0;
  box-sizing: border-box;
}
@media (max-width: 480px) {
  .container { width: min(100% - 1.75rem, var(--max)); }
}
@media (min-width: 768px) {
  .container { width: min(100% - 3rem, var(--max)); }
}

/* —— Sticky chrome (demo bar + header) —— */
.site-chrome {
  position: sticky;
  top: 0;
  z-index: 200;
}

/* —— Demo notice bar —— */
.demo-bar {
  background: linear-gradient(90deg, #1e3a5f 0%, #2c4a6e 50%, #3d3558 100%);
  color: #fff;
  font-size: 0.78rem;
  line-height: 1.35;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
[data-theme="sage"] .demo-bar {
  background: linear-gradient(90deg, #2f4a3c 0%, #3d5c4b 100%);
}
[data-theme="rose"] .demo-bar {
  background: linear-gradient(90deg, #5c3d4a 0%, #6e4d5a 100%);
}
[data-theme="sand"] .demo-bar {
  background: linear-gradient(90deg, #4a3b2f 0%, #5c4b3c 100%);
}
[data-theme="dusk"] .demo-bar {
  background: linear-gradient(90deg, #3d3558 0%, #4d4568 100%);
}
.demo-bar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.75rem;
  padding: 0.55rem 0;
  min-width: 0;
}
.demo-bar__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.45rem;
  border-radius: 0.3rem;
  background: rgba(255, 255, 255, 0.18);
  font-weight: 800;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  flex-shrink: 0;
}
.demo-bar__text {
  margin: 0;
  flex: 1 1 12rem;
  min-width: 0;
  opacity: 0.95;
}
.demo-bar__variants {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}
.demo-bar__var {
  display: inline-flex;
  align-items: center;
  min-height: 1.55rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.92);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
a.demo-bar__var:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}
.demo-bar__var.is-current {
  background: rgba(255, 255, 255, 0.22);
  border-color: transparent;
  color: #fff;
  cursor: default;
}
.demo-bar__link {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
  flex-shrink: 0;
  opacity: 0.95;
}
.demo-bar__link:hover { opacity: 1; }

/* —— Cookie consent banner —— */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 300;
  padding: 0.85rem max(0.75rem, env(safe-area-inset-right)) calc(0.85rem + env(safe-area-inset-bottom)) max(0.75rem, env(safe-area-inset-left));
  pointer-events: none;
}
.cookie-banner[hidden] { display: none !important; }
.cookie-banner__panel {
  pointer-events: auto;
  max-width: min(40rem, 100%);
  margin: 0 auto;
  background: var(--white);
  color: var(--text);
  border-radius: 1rem;
  box-shadow: 0 12px 40px rgba(30, 58, 95, 0.22);
  border: 1px solid rgba(30, 58, 95, 0.1);
  padding: 1rem 1.1rem 1.1rem;
  display: grid;
  gap: 0.85rem;
}
@media (min-width: 720px) {
  .cookie-banner__panel {
    max-width: min(48rem, 100%);
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 1.25rem;
    padding: 1.15rem 1.35rem;
  }
}
.cookie-banner__title {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
}
.cookie-banner__text {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.45;
}
.cookie-banner__links {
  margin: 0.45rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-size: 0.8rem;
}
.cookie-banner__links a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: stretch;
}
.cookie-banner__actions .btn,
.cookie-banner__actions .btn-outline {
  flex: 1 1 auto;
  min-width: 7.5rem;
  justify-content: center;
  font-size: 0.85rem;
  padding: 0.65rem 1rem;
}
@media (min-width: 720px) {
  .cookie-banner__actions {
    flex-direction: column;
    min-width: 10.5rem;
  }
  .cookie-banner__actions .btn,
  .cookie-banner__actions .btn-outline {
    width: 100%;
  }
}

/* —— Legal pages —— */
.legal-page {
  background: var(--cream);
  padding-bottom: 3rem;
}
.legal-doc {
  max-width: 42rem;
  min-width: 0;
}
.legal-doc h2 {
  margin: 1.75rem 0 0.55rem;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--navy);
}
.legal-doc h2:first-of-type { margin-top: 0.5rem; }
.legal-doc p,
.legal-doc li {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}
.legal-doc p { margin: 0 0 0.85rem; }
.legal-doc ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}
.legal-doc li { margin-bottom: 0.35rem; }
.legal-doc a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-meta {
  margin: 0 0 1.25rem;
  font-size: 0.82rem;
  color: var(--muted);
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-top: 0.35rem;
}
.footer-bottom {
  flex-direction: column;
  align-items: flex-start;
}
@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    align-items: center;
  }
}
.footer-bottom__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.1rem;
}

/* —— Header —— */
.site-header {
  background: rgba(250, 248, 244, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(30, 58, 95, 0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--nav-h);
  padding-block: 0.5rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}
.brand-mark {
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  color: var(--blue-mid);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; justify-content: center; }
.brand-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--navy);
}
.brand-tag {
  display: none; /* tagline removed per brand request */
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.15rem 1.35rem;
  flex: 1;
  justify-content: center;
}
.nav-desktop a {
  font-size: 0.9rem;
  color: var(--navy-soft);
  font-weight: 500;
  padding: 0.35rem 0;
  position: relative;
  white-space: nowrap;
}
.nav-desktop a:hover,
.nav-desktop a.is-active { color: var(--blue-mid); }
.nav-desktop a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--blue-mid);
  border-radius: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.btn:active { transform: scale(0.98); }
.btn-primary {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: var(--white);
  /* solid fill — no animated gradient (avoids "second circle" tear on pill buttons) */
  background-color: var(--teal-btn);
  background-image: none;
  box-shadow: 0 4px 14px rgba(90, 154, 184, 0.35);
}
.btn-primary:hover {
  background-color: var(--teal-btn-hover);
  filter: brightness(1.05);
}
/* Single clean shine sweep; fully leaves the button before the next loop */
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 55%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  border-radius: inherit;
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(255, 255, 255, 0) 35%,
    rgba(255, 255, 255, 0.42) 50%,
    rgba(255, 255, 255, 0) 65%,
    transparent 100%
  );
  transform: translate3d(-160%, 0, 0) skewX(-16deg);
  opacity: 0;
  animation: btn-shine-sweep 3.4s cubic-bezier(0.45, 0, 0.2, 1) infinite;
  will-change: transform, opacity;
}
@keyframes btn-shine-sweep {
  /* pause: no flash when looping */
  0%, 8% {
    transform: translate3d(-160%, 0, 0) skewX(-16deg);
    opacity: 0;
  }
  12% { opacity: 1; }
  38% {
    transform: translate3d(220%, 0, 0) skewX(-16deg);
    opacity: 1;
  }
  42%, 100% {
    transform: translate3d(220%, 0, 0) skewX(-16deg);
    opacity: 0;
  }
}
/* Book CTA only on desktop header — hidden on mobile */
.btn-header { display: none; }
.btn-sm { padding: 0.55rem 1.1rem; font-size: 0.85rem; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}

/* —— Language dropdown —— */
.lang-dropdown {
  position: relative;
  z-index: 30;
}
.lang-dropdown__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.35rem;
  padding: 0.35rem 0.65rem 0.35rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(30, 58, 95, 0.12);
  background: var(--white);
  color: var(--navy);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(30, 58, 95, 0.06);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.lang-dropdown__toggle:hover,
.lang-dropdown.is-open .lang-dropdown__toggle {
  border-color: var(--teal-btn);
  box-shadow: 0 2px 10px rgba(30, 58, 95, 0.1);
}
.lang-dropdown__code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.7rem;
  padding: 0.15rem 0.35rem;
  border-radius: 999px;
  background: rgba(30, 58, 95, 0.08);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.lang-dropdown__name {
  max-width: 5.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lang-dropdown__chev {
  flex-shrink: 0;
  opacity: 0.7;
  transition: transform 0.15s;
}
.lang-dropdown.is-open .lang-dropdown__chev {
  transform: rotate(180deg);
}
.lang-dropdown__menu {
  position: absolute;
  top: calc(100% + 0.35rem);
  right: 0;
  min-width: 10.5rem;
  margin: 0;
  padding: 0.35rem;
  list-style: none;
  background: var(--white);
  border: 1px solid rgba(30, 58, 95, 0.1);
  border-radius: 0.85rem;
  box-shadow: 0 12px 32px rgba(30, 58, 95, 0.14);
}
.lang-dropdown__menu[hidden] {
  display: none !important;
}
.lang-dropdown__option {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  padding: 0.55rem 0.65rem;
  border: 0;
  border-radius: 0.6rem;
  background: transparent;
  color: var(--navy);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 500;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.12s;
}
a.lang-dropdown__option { color: var(--navy); }
.lang-dropdown__option:hover {
  background: rgba(30, 58, 95, 0.06);
}
.lang-dropdown__option.is-active {
  background: rgba(90, 154, 184, 0.14);
  font-weight: 700;
}
.lang-dropdown__opt-code {
  display: inline-flex;
  min-width: 1.7rem;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.lang-dropdown__option.is-active .lang-dropdown__opt-code {
  color: var(--teal-btn);
}
@media (max-width: 420px) {
  .lang-dropdown__name { display: none; }
  .lang-dropdown__toggle { padding-inline: 0.45rem; }
}

.menu-btn {
  width: 2.5rem;
  height: 2.5rem;
  min-width: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.7rem;
  border: 1px solid rgba(30, 58, 95, 0.14);
  color: var(--navy);
  background: var(--white);
  flex-shrink: 0;
  padding: 0;
  box-shadow: 0 1px 4px rgba(30, 58, 95, 0.06);
  transition: background 0.15s, border-color 0.15s;
}
.menu-btn:hover {
  border-color: var(--teal-btn);
  background: var(--cream);
}
.menu-btn[aria-expanded="true"] {
  border-color: var(--teal-btn);
  background: rgba(90, 154, 184, 0.12);
}
.menu-btn__bars {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 1.1rem;
}
.menu-btn__bars span {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.2s, opacity 0.2s;
}
.menu-btn[aria-expanded="true"] .menu-btn__bars span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.menu-btn[aria-expanded="true"] .menu-btn__bars span:nth-child(2) {
  opacity: 0;
}
.menu-btn[aria-expanded="true"] .menu-btn__bars span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 959px) {
  .header-inner {
    gap: 0.45rem;
    min-height: 3.4rem;
    padding-block: 0.4rem;
  }
  .brand { gap: 0.45rem; min-width: 0; }
  .brand-mark { width: 2.1rem; height: 2.1rem; }
  .brand-text { min-width: 0; }
  .brand-name { font-size: 1.05rem; }
  .brand-tag {
    font-size: 0.55rem;
    max-width: 8.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .lang-dropdown__toggle {
    min-height: 2.5rem;
    padding: 0.3rem 0.45rem;
  }
}

@media (min-width: 960px) {
  .nav-desktop { display: flex; }
  .btn-header { display: inline-flex; }
  .menu-btn { display: none; }
}

/* Mobile drawer */
.nav-mobile {
  display: none;
  border-top: 1px solid rgba(30, 58, 95, 0.08);
  background: var(--cream);
  padding: 0.35rem 0 1.35rem;
}
.nav-mobile.is-open { display: block; }
.nav-mobile__link {
  display: block;
  padding: 0.9rem 0.1rem;
  border-bottom: 1px solid rgba(30, 58, 95, 0.07);
  color: var(--navy);
  font-weight: 500;
  font-size: 0.98rem;
}
.nav-mobile__link:hover,
.nav-mobile__link.is-active {
  color: var(--teal-btn);
}
@media (max-width: 360px) {
  .brand-tag { display: none; }
}

/* —— Hero (responsive, no float card) —— */
.hero {
  position: relative;
  min-height: min(78vh, 38rem);
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    var(--hero-img, url("../img/hero.jpg")) center / cover no-repeat;
}
.hero--v2 .hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(250, 248, 244, 0.95) 0%, rgba(250, 248, 244, 0.86) 42%, rgba(232, 242, 248, 0.4) 68%, rgba(255, 255, 255, 0.1) 100%),
    linear-gradient(to top, rgba(250, 248, 244, 0.55) 0%, transparent 38%);
  pointer-events: none;
}
.hero .container {
  position: relative;
  z-index: 1;
  /* keep side gutters from .container — never force width:100% */
  padding-block: 2.75rem 3.25rem;
  box-sizing: border-box;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: min(36rem, 100%);
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}
.hero-inner h1,
.hero-inner p,
.hero-actions,
.hero-pills {
  max-width: 100%;
}
.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 6vw, 3.2rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--navy);
  letter-spacing: -0.015em;
  overflow-wrap: anywhere;
}
.hero-line { display: block; }
.hero-line--accent {
  color: var(--blue-mid);
  font-style: italic;
  font-weight: 500;
}
.hero-lead {
  margin: 0 0 0.65rem;
  font-size: clamp(0.92rem, 2.4vw, 1.06rem);
  color: var(--text);
  max-width: 30rem;
  line-height: 1.6;
}
.hero-sub {
  margin: 0 0 1.35rem;
  font-size: 0.95rem;
  color: var(--gold);
  font-style: italic;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.2rem;
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 650;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.78);
  border: 1.5px solid rgba(30, 58, 95, 0.14);
  box-shadow: 0 4px 14px rgba(30, 58, 95, 0.06);
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
  text-decoration: none;
}
.btn-ghost:hover {
  background: var(--white);
  border-color: var(--teal-btn);
  transform: translateY(-1px);
}
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.hero-pills li {
  padding: 0.32rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 650;
  color: var(--navy-soft);
  background: rgba(250, 248, 244, 0.88);
  border: 1px solid rgba(30, 58, 95, 0.08);
}
@media (min-width: 768px) {
  .hero {
    min-height: min(82vh, 42rem);
  }
  .hero .container {
    padding-block: 3.75rem 4.25rem;
  }
}
@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .btn,
  .hero-actions .btn-ghost {
    width: 100%;
  }
}

/* —— Section common —— */
.section {
  padding: 3.5rem 0 3.75rem;
}
.section-head {
  text-align: center;
  margin-bottom: 2.25rem;
}
.section-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--gold-soft);
  font-size: 0.75rem;
  margin-bottom: 0.5rem;
  letter-spacing: 0.2em;
}
.section-ornament::before,
.section-ornament::after {
  content: "";
  width: 2rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-soft), transparent);
}
.section-head h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  color: var(--navy);
  font-weight: 600;
}
.section-head p {
  margin: 0 auto;
  max-width: 32rem;
  color: var(--muted);
  font-size: 0.98rem;
}

/* —— Services —— */
.services {
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%);
}
.services-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem 1.6rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(30, 58, 95, 0.05);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.2s, box-shadow 0.2s;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(30, 58, 95, 0.1);
}
.service-icon {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.15rem;
}
.service-icon svg { width: 2.4rem; height: 2.4rem; }
.service-icon--astro { background: #e4eef7; color: #5b8ab8; }
.service-icon--nature { background: #e8f0e6; color: #6b8f6a; }
.service-icon--yoga { background: #f3ebe0; color: #b8956a; }
.service-card h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--navy);
  font-weight: 600;
}
.service-divider {
  width: 1.5rem;
  height: 2px;
  background: var(--gold-soft);
  margin: 0.35rem 0 0.75rem;
  border-radius: 2px;
}
.service-card p {
  margin: 0 0 1.15rem;
  color: var(--muted);
  font-size: 0.92rem;
  flex: 1;
}
.service-link {
  color: var(--blue-mid);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.service-link:hover { color: var(--navy); }

/* —— Trust bar —— */
.trust {
  padding: 1.75rem 0 2.5rem;
  background: var(--cream-2);
}
.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 1rem;
}
@media (min-width: 800px) {
  .trust-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.35rem;
  padding: 0.5rem;
}
.trust-item svg {
  width: 1.65rem;
  height: 1.65rem;
  color: var(--blue-soft);
  margin-bottom: 0.25rem;
}
.trust-item strong {
  font-size: 0.88rem;
  color: var(--navy);
  font-weight: 600;
}
.trust-item span {
  font-size: 0.78rem;
  color: var(--muted);
}

/* —— About —— */
.about {
  background: var(--white);
}
.about-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 860px) {
  .about-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
  }
}
.about-copy h2 {
  margin: 0 0 1rem;
  font-family: var(--font-serif);
  font-size: clamp(1.65rem, 3.5vw, 2.1rem);
  color: var(--navy);
}
.about-copy p {
  margin: 0 0 1rem;
  color: var(--muted);
}
.about-list {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}
.about-list li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  color: var(--text);
}
.about-list li::before {
  content: "✦";
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.about-visual {
  border-radius: calc(var(--radius) + 0.25rem);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
  background:
    linear-gradient(160deg, rgba(91, 138, 184, 0.22), rgba(250, 248, 244, 0.35)),
    url("../img/hero.jpg") 60% center / cover no-repeat;
  min-height: 14rem;
}

/* —— Approach —— */
.approach {
  background: linear-gradient(180deg, #eef4f8 0%, var(--cream) 100%);
}
.steps {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 720px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}
.step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid rgba(30, 58, 95, 0.06);
}
.step-num {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #e4eef7;
  color: var(--blue);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 0.85rem;
}
.step h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  color: var(--navy);
}
.step p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* —— Resources / CTA band —— */
.cta-band {
  background: linear-gradient(120deg, var(--navy) 0%, #2a5080 55%, #3d6b9a 100%);
  color: var(--white);
  text-align: center;
  padding: 3.25rem 0;
}
.cta-band h2 {
  margin: 0 0 0.65rem;
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 600;
}
.cta-band p {
  margin: 0 auto 1.5rem;
  max-width: 28rem;
  opacity: 0.88;
  font-size: 0.98rem;
}
.cta-band .btn-primary {
  background: var(--white);
  background-image: none;
  color: var(--navy);
  box-shadow: none;
  filter: none;
}
.cta-band .btn-primary::after {
  display: none; /* no shine on light CTA */
}
.cta-band .btn-primary:hover {
  background: var(--cream);
  filter: none;
}

/* —— Page hero (inner pages) —— */
.page-hero {
  background:
    linear-gradient(135deg, rgba(250, 248, 244, 0.97) 0%, rgba(238, 244, 248, 0.95) 100%);
  border-bottom: 1px solid rgba(30, 58, 95, 0.06);
  padding: 2rem 0 1.75rem;
}
.page-hero__inner {
  max-width: 40rem;
  min-width: 0;
}
.page-hero__kicker {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-btn);
}
.page-hero h1 {
  margin: 0 0 0.65rem;
  font-family: var(--font-serif);
  font-size: clamp(1.65rem, 5vw, 2.35rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.2;
  overflow-wrap: anywhere;
}
.page-hero__lead {
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.92rem, 2.5vw, 1.02rem);
  line-height: 1.55;
}
@media (min-width: 768px) {
  .page-hero { padding: 2.75rem 0 2.25rem; }
}

/* —— Contact page —— */
.contact,
.contact-page {
  background: var(--cream);
}
.contact-page {
  padding-top: 1.75rem;
  padding-bottom: 3rem;
}
.contact-layout {
  display: grid;
  gap: 1.25rem;
  align-items: start;
  min-width: 0;
  width: 100%;
}
@media (min-width: 900px) {
  .contact-layout {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
    gap: 1.75rem 2rem;
  }
}
.contact-info {
  min-width: 0;
}
.contact-info__title,
.contact-form__title {
  margin: 0 0 1rem;
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 3.5vw, 1.55rem);
  font-weight: 600;
  color: var(--navy);
}
.contact-meta {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
  min-width: 0;
}
@media (min-width: 520px) and (max-width: 899px) {
  .contact-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.contact-meta__item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.92rem;
  min-width: 0;
  padding: 0.9rem 1rem;
  background: var(--white);
  border-radius: 0.9rem;
  border: 1px solid rgba(30, 58, 95, 0.07);
  box-shadow: 0 4px 16px rgba(30, 58, 95, 0.04);
}
.contact-meta__item > div {
  min-width: 0;
  flex: 1;
}
.contact-meta strong {
  display: block;
  color: var(--navy);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.2rem;
}
.contact-meta span,
.contact-meta__link {
  display: block;
  color: var(--muted);
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.4;
}
.contact-meta__link {
  color: var(--blue);
  font-weight: 500;
  text-decoration: none;
}
.contact-meta__link:hover {
  color: var(--navy);
  text-decoration: underline;
}
.contact-meta svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--teal-btn);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.contact-form {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.15rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(30, 58, 95, 0.06);
  min-width: 0;
  width: 100%;
  max-width: 100%;
}
.contact-form__anchor {
  position: absolute;
  top: -5rem;
  left: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}
@media (min-width: 600px) {
  .contact-form { padding: 1.65rem 1.85rem; }
}
.btn-block {
  width: 100%;
  justify-content: center;
}
.form-row {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
  min-width: 0;
}
.form-row--2 {
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .form-row--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.form-field {
  min-width: 0;
}
.form-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.35rem;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(30, 58, 95, 0.15);
  border-radius: 0.65rem;
  font: inherit;
  font-size: 16px; /* prevents iOS zoom */
  background: var(--cream);
  color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--teal-btn);
  box-shadow: 0 0 0 3px rgba(90, 154, 184, 0.2);
  background: var(--white);
}
.form-field textarea { min-height: 7rem; resize: vertical; }
.form-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b7c8a' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  padding-right: 2.25rem;
}

/* —— Map / directions / Google reviews —— */
.map-block {
  margin-top: 2.25rem;
  padding-top: 0.25rem;
  width: 100%;
  min-width: 0;
}
.map-block__head {
  margin-bottom: 1.1rem;
  max-width: 36rem;
}
.map-block__head h2 {
  margin: 0.35rem 0 0.5rem;
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 3.5vw, 1.75rem);
  color: var(--navy);
}
.map-block__head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.map-frame-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(30, 58, 95, 0.08);
  background: var(--sand);
  width: 100%;
  max-width: 100%;
  height: min(55vw, 22rem);
  min-height: 14rem;
  position: relative;
}
@media (min-width: 768px) {
  .map-frame-wrap {
    height: 22rem;
    min-height: 18rem;
  }
}
.map-frame {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  max-width: 100%;
}
.map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.15rem;
  justify-content: stretch;
}
@media (min-width: 560px) {
  .map-actions { justify-content: flex-start; }
}
.map-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  flex: 1 1 100%;
  min-width: 0;
  text-align: center;
}
@media (min-width: 560px) {
  .map-btn {
    flex: 0 1 auto;
    min-width: 12rem;
  }
}
.map-btn svg {
  flex-shrink: 0;
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  background: var(--white);
  color: var(--navy);
  border: 1.5px solid rgba(30, 58, 95, 0.18);
  box-shadow: 0 2px 10px rgba(30, 58, 95, 0.06);
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
.btn-outline:hover {
  background: var(--cream-2);
  border-color: var(--teal-btn);
  transform: translateY(-1px);
}
.map-btn--reviews:hover {
  border-color: #4285F4;
}
.form-note {
  margin: 0.75rem 0 0;
  font-size: 0.78rem;
  color: var(--muted);
}
.form-status {
  display: none;
  margin-top: 0.85rem;
  padding: 0.75rem 1rem;
  border-radius: 0.65rem;
  font-size: 0.9rem;
}
.form-status.is-ok {
  display: block;
  background: #e8f5e9;
  color: #2e7d32;
}
.form-status.is-err {
  display: block;
  background: #fdecea;
  color: #c62828;
}

/* —— Footer —— */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.78);
  padding: 2.5rem 0 1.5rem;
}
.footer-top {
  display: grid;
  gap: 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
@media (min-width: 720px) {
  .footer-top {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 2rem;
  }
}
.footer-brand__link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.65rem;
  text-decoration: none;
  color: inherit;
}
.footer-brand__link:hover .footer-brand__icon {
  color: var(--gold-soft);
  transform: scale(1.05);
}
.footer-brand__icon {
  width: 2.6rem;
  height: 2.6rem;
  flex-shrink: 0;
  color: var(--gold-soft);
  transition: color 0.2s, transform 0.2s;
}
.footer-brand .brand-name { color: var(--white); letter-spacing: 0.14em; }
.footer-brand .brand-tag { color: var(--gold-soft); }
.footer-brand p {
  margin: 0.85rem 0 0;
  font-size: 0.88rem;
  max-width: 18rem;
  line-height: 1.55;
}
.footer-col h4 {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
}
.footer-col a {
  display: block;
  font-size: 0.9rem;
  padding: 0.3rem 0;
  color: rgba(255, 255, 255, 0.72);
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.25rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  width: 100%;
}
.footer-bottom a { color: rgba(255, 255, 255, 0.65); }
.footer-bottom a:hover { color: var(--white); }

/* —— Theme picker (footer) —— */
.theme-picker {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 1.5rem 0 0;
  padding: 1.15rem 1.15rem 1.25rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
}
@media (min-width: 720px) {
  .theme-picker {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
  }
}
.theme-picker__text strong {
  display: block;
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  margin-bottom: 0.2rem;
}
.theme-picker__text span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
}
.theme-picker__swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.theme-swatch {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.7rem 0.4rem 0.45rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.15);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, transform 0.12s;
}
.theme-swatch:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.35);
}
.theme-swatch:active { transform: scale(0.97); }
.theme-swatch.is-active {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.15);
}
.theme-swatch__dot {
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.5);
  background:
    linear-gradient(135deg, var(--swatch-1) 0 50%, var(--swatch-2) 50% 100%);
  box-shadow: inset -4px -4px 0 0 var(--swatch-3);
}
.theme-swatch--ocean { --swatch-1: #1e3a5f; --swatch-2: #5a9ab8; --swatch-3: #faf8f4; }
.theme-swatch--sage { --swatch-1: #2f4a3c; --swatch-2: #5f9a72; --swatch-3: #f7f8f4; }
.theme-swatch--rose { --swatch-1: #5c3d4a; --swatch-2: #b88494; --swatch-3: #fdf8f7; }
.theme-swatch--sand { --swatch-1: #4a3b2f; --swatch-2: #a8845c; --swatch-3: #faf6f0; }
.theme-swatch--dusk { --swatch-1: #3d3558; --swatch-2: #8574a8; --swatch-3: #f8f6fb; }
.theme-swatch__name {
  white-space: nowrap;
}
@media (max-width: 420px) {
  .theme-swatch__name { display: none; }
  .theme-swatch { padding: 0.4rem; }
}

/* Tagline wave */
.tagline {
  text-align: center;
  padding: 1.5rem 1rem 2rem;
  color: var(--muted);
  font-size: 0.95rem;
  font-style: italic;
  background: linear-gradient(180deg, var(--cream-2) 0%, #e8f0f6 100%);
}
.tagline span { color: var(--gold); }

/* —— Sensei showcase card (home) —— */
.instructor {
  padding-top: 0.5rem;
  padding-bottom: 0.25rem;
  background:
    radial-gradient(ellipse 80% 60% at 10% 20%, rgba(90, 154, 184, 0.12), transparent 55%),
    radial-gradient(ellipse 70% 50% at 90% 80%, rgba(184, 160, 112, 0.1), transparent 50%),
    var(--cream);
}
.instructor-card {
  position: relative;
  display: grid;
  gap: 0;
  overflow: hidden;
  border-radius: calc(var(--radius) + 0.35rem);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.97) 0%, rgba(250, 248, 244, 0.92) 45%, rgba(238, 244, 248, 0.95) 100%);
  border: 1px solid rgba(30, 58, 95, 0.1);
  box-shadow:
    0 4px 8px rgba(30, 58, 95, 0.04),
    0 24px 56px rgba(30, 58, 95, 0.1);
  min-width: 0;
}
@media (min-width: 900px) {
  .instructor-card {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
    min-height: 28rem;
  }
}
.instructor-card__glow {
  position: absolute;
  inset: -20% auto auto -10%;
  width: 55%;
  height: 70%;
  background: radial-gradient(circle, rgba(90, 154, 184, 0.18), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.instructor-card__orbit {
  position: absolute;
  right: -4rem;
  bottom: -5rem;
  width: 16rem;
  height: 16rem;
  border-radius: 50%;
  border: 1px dashed rgba(184, 160, 112, 0.35);
  pointer-events: none;
  z-index: 0;
}
.instructor-card__orbit::after {
  content: "";
  position: absolute;
  inset: 1.75rem;
  border-radius: 50%;
  border: 1px solid rgba(90, 154, 184, 0.2);
}
.instructor-card__media,
.instructor-card__body {
  position: relative;
  z-index: 1;
  min-width: 0;
}
.instructor-card__media {
  padding: 1.25rem 1.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (min-width: 900px) {
  .instructor-card__media {
    padding: 1.5rem 0 1.5rem 1.5rem;
    gap: 1.15rem;
  }
}
.instructor-card__frame {
  position: relative;
  border-radius: 1.35rem;
  overflow: hidden;
  flex: 1;
  min-height: 16rem;
  box-shadow: 0 16px 40px rgba(30, 58, 95, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.55);
}
.instructor-card__photo {
  width: 100%;
  height: 100%;
  min-height: 16rem;
  background:
    linear-gradient(180deg, transparent 40%, rgba(15, 23, 42, 0.35) 100%),
    var(--instructor-img, url("../img/hero.jpg")) 55% 25% / cover no-repeat;
}
@media (min-width: 900px) {
  .instructor-card__photo,
  .instructor-card__frame {
    min-height: 100%;
  }
}
.instructor-card__badge {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(250, 248, 244, 0.92);
  color: var(--navy);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.2);
  border: 1px solid rgba(184, 160, 112, 0.45);
}
.instructor-card__badge svg {
  width: 1.65rem;
  height: 1.65rem;
}
.instructor-card__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  padding-bottom: 0.25rem;
}
@media (min-width: 900px) {
  .instructor-card__stats {
    padding-right: 0.25rem;
  }
}
.instructor-stat {
  text-align: center;
  padding: 0.7rem 0.35rem;
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(30, 58, 95, 0.07);
  min-width: 0;
}
.instructor-stat strong {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--navy);
  font-weight: 600;
  line-height: 1.2;
}
.instructor-stat span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.3;
}
.instructor-card__body {
  padding: 1.5rem 1.35rem 1.65rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (min-width: 900px) {
  .instructor-card__body {
    padding: 2.25rem 2.35rem 2.25rem 2rem;
  }
}
.instructor-card__kicker {
  margin: 0 0 0.4rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-btn);
}
.instructor-card__name {
  margin: 0 0 0.25rem;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.1;
  letter-spacing: 0.02em;
}
.instructor-card__role {
  margin: 0 0 1.15rem;
  font-size: 0.95rem;
  color: var(--gold);
  font-style: italic;
}
.instructor-card__quote {
  position: relative;
  margin: 0 0 1.1rem;
  padding: 1rem 1.1rem 1rem 1.25rem;
  border-radius: 1rem;
  background: linear-gradient(120deg, rgba(30, 58, 95, 0.06), rgba(90, 154, 184, 0.08));
  border-left: 3px solid var(--gold-soft);
}
.instructor-card__quote-mark {
  position: absolute;
  top: 0.15rem;
  left: 0.65rem;
  font-family: var(--font-serif);
  font-size: 2.5rem;
  line-height: 1;
  color: var(--gold-soft);
  opacity: 0.55;
}
.instructor-card__quote p {
  margin: 0;
  padding-left: 0.85rem;
  font-family: var(--font-serif);
  font-size: clamp(1.02rem, 2.2vw, 1.15rem);
  font-style: italic;
  color: var(--navy);
  line-height: 1.45;
}
.instructor-card__text {
  margin: 0 0 1.15rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
  max-width: 36rem;
}
.instructor-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
  margin: 0 0 1.4rem;
  padding: 0;
}
.instructor-card__tags li {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy-soft);
  background: rgba(30, 58, 95, 0.06);
  border: 1px solid rgba(30, 58, 95, 0.08);
}
.instructor-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.25rem;
}
.instructor-card__link {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.instructor-card__link:hover {
  color: var(--teal-btn);
  border-bottom-color: var(--teal-btn);
}
@media (max-width: 520px) {
  .instructor-card__stats {
    gap: 0.35rem;
  }
  .instructor-stat {
    padding: 0.55rem 0.25rem;
  }
  .instructor-stat span {
    font-size: 0.62rem;
  }
  .instructor-card__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .instructor-card__actions .btn {
    width: 100%;
    justify-content: center;
  }
  .instructor-card__link {
    text-align: center;
  }
}

/* —— Multi-page content —— */
.home-pages-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr;
}
@media (min-width: 560px) {
  .home-pages-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .home-pages-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.home-page-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.1rem 1.15rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid rgba(30, 58, 95, 0.08);
  box-shadow: var(--shadow);
  color: var(--navy);
  transition: transform 0.15s, border-color 0.15s;
  min-width: 0;
}
.home-page-card:hover {
  transform: translateY(-2px);
  border-color: var(--teal-btn);
}
.home-page-card__icon {
  width: 2.25rem;
  height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.65rem;
  background: rgba(90, 154, 184, 0.12);
  color: var(--teal-btn);
  flex-shrink: 0;
  font-size: 1rem;
}
.home-page-card__title {
  flex: 1;
  font-weight: 700;
  font-size: 0.98rem;
  min-width: 0;
}
.home-page-card__arrow {
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
}
.content-page { padding-bottom: 3rem; }
.content-layout {
  display: grid;
  gap: 1.75rem;
  align-items: start;
  min-width: 0;
}
@media (min-width: 860px) {
  .content-layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 2.5rem;
  }
}
.content-prose {
  min-width: 0;
  max-width: 40rem;
}
.content-prose--wide { max-width: 46rem; margin-inline: auto; }
.content-prose p {
  margin: 0 0 1rem;
  color: var(--muted);
  line-height: 1.65;
}
.content-visual {
  min-height: 16rem;
}
.info-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  .info-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.info-card {
  background: var(--white);
  border: 1px solid rgba(30, 58, 95, 0.08);
  border-radius: var(--radius);
  padding: 1.25rem 1.2rem;
  box-shadow: var(--shadow);
  min-width: 0;
}
.info-card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--navy);
}
.info-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}
.schedule-wrap {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid rgba(30, 58, 95, 0.08);
  background: var(--white);
  box-shadow: var(--shadow);
  -webkit-overflow-scrolling: touch;
}
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 32rem;
  font-size: 0.92rem;
}
.schedule-table th,
.schedule-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(30, 58, 95, 0.07);
}
.schedule-table th {
  background: rgba(30, 58, 95, 0.05);
  color: var(--navy);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}
.schedule-table td { color: var(--text); }
.schedule-table tbody tr:last-child td { border-bottom: 0; }
.schedule-table tbody tr:hover td { background: rgba(90, 154, 184, 0.06); }
.schedule-note {
  margin: 1rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
  text-align: center;
}
@media (max-width: 640px) {
  .schedule-table { min-width: 0; }
  .schedule-table thead { display: none; }
  .schedule-table tr {
    display: block;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid rgba(30, 58, 95, 0.08);
  }
  .schedule-table td {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.25rem 0;
    border: 0;
  }
  .schedule-table td::before {
    content: attr(data-label);
    font-weight: 700;
    color: var(--navy);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }
}
.gallery-empty-note {
  margin: 0 0 1.25rem;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  background: rgba(90, 154, 184, 0.1);
  border: 1px solid rgba(90, 154, 184, 0.2);
  color: var(--muted);
  font-size: 0.9rem;
}
.gallery-empty-note a {
  color: var(--teal-btn);
  font-weight: 700;
  text-decoration: underline;
}
.photo-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 560px) {
  .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .photo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.photo-card {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(30, 58, 95, 0.08);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
  min-width: 0;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.photo-card:hover,
.photo-card:focus-visible {
  transform: translateY(-3px);
  border-color: var(--teal-btn);
  box-shadow: 0 14px 36px rgba(30, 58, 95, 0.14);
  outline: none;
}
.photo-card__img {
  display: block;
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-repeat: no-repeat;
  background-color: var(--sand);
  transition: transform 0.45s ease;
}
.photo-card:hover .photo-card__img {
  transform: scale(1.05);
}
.photo-card__zoom {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2.35rem;
  height: 2.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(250, 248, 244, 0.9);
  color: var(--navy);
  box-shadow: 0 4px 14px rgba(30, 58, 95, 0.15);
  opacity: 0.92;
  transition: transform 0.2s, background 0.2s;
}
.photo-card:hover .photo-card__zoom {
  transform: scale(1.08);
  background: var(--white);
}
.photo-card__cap {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 500;
}

/* —— Lightbox gallery —— */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(0.75rem, env(safe-area-inset-top)) max(0.75rem, env(safe-area-inset-right)) max(0.75rem, env(safe-area-inset-bottom)) max(0.75rem, env(safe-area-inset-left));
}
.lightbox[hidden] { display: none !important; }
.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 0;
  cursor: zoom-out;
}
.lightbox__stage {
  position: relative;
  z-index: 2;
  width: min(920px, 100%);
  max-height: min(90vh, 860px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  pointer-events: none;
}
.lightbox__frame {
  width: 100%;
  max-height: min(72vh, 700px);
  border-radius: 1.15rem;
  overflow: hidden;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.08);
  background: #0f172a;
  pointer-events: auto;
}
.lightbox__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  max-height: min(72vh, 700px);
  background: center / cover no-repeat #1e293b;
  transition: opacity 0.22s ease, transform 0.35s ease;
}
.lightbox.is-animating .lightbox__img {
  opacity: 0.55;
  transform: scale(0.985);
}
.lightbox__caption {
  margin: 0;
  color: #f8fafc;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
  pointer-events: none;
}
.lightbox__counter {
  margin: 0;
  color: rgba(248, 250, 252, 0.7);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  pointer-events: none;
}

/* Close X — elegant glass circle */
.lightbox__close {
  position: absolute;
  top: max(0.85rem, env(safe-area-inset-top));
  right: max(0.85rem, env(safe-area-inset-right));
  z-index: 5;
  width: 3rem;
  height: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s, background 0.2s, border-color 0.2s;
}
.lightbox__close:hover,
.lightbox__close:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.45);
  transform: scale(1.06);
  outline: none;
}
.lightbox__close-x {
  position: relative;
  width: 1.05rem;
  height: 1.05rem;
}
.lightbox__close-x::before,
.lightbox__close-x::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}
.lightbox__close-x::before { transform: translate(-50%, -50%) rotate(45deg); }
.lightbox__close-x::after { transform: translate(-50%, -50%) rotate(-45deg); }

/* Prev / next arrows */
.lightbox__nav {
  position: absolute;
  top: 50%;
  z-index: 5;
  transform: translateY(-50%);
  width: 3.4rem;
  height: 3.4rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.06));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
}
.lightbox__nav svg {
  width: 2.35rem;
  height: 2.35rem;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}
.lightbox__nav--prev { left: max(0.65rem, env(safe-area-inset-left)); }
.lightbox__nav--next { right: max(0.65rem, env(safe-area-inset-right)); }
.lightbox__nav:hover,
.lightbox__nav:focus-visible {
  background: linear-gradient(145deg, rgba(34, 211, 238, 0.35), rgba(255, 255, 255, 0.12));
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 12px 36px rgba(34, 211, 238, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  outline: none;
}
.lightbox__nav:active {
  transform: translateY(-50%) scale(0.96);
}
@media (max-width: 640px) {
  .lightbox__nav {
    width: 2.85rem;
    height: 2.85rem;
    top: auto;
    bottom: max(1.1rem, env(safe-area-inset-bottom));
    transform: none;
  }
  .lightbox__nav:hover,
  .lightbox__nav:focus-visible,
  .lightbox__nav:active {
    transform: scale(1.06);
  }
  .lightbox__nav--prev { left: 18%; }
  .lightbox__nav--next { right: 18%; }
  .lightbox__stage {
    max-height: 85vh;
    padding-bottom: 3.5rem;
  }
  .lightbox__frame,
  .lightbox__img {
    max-height: min(58vh, 420px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .photo-card,
  .photo-card__img,
  .lightbox__img,
  .lightbox__nav,
  .lightbox__close {
    transition: none;
  }
}
@media (min-width: 960px) and (max-width: 1100px) {
  .nav-desktop { gap: 0.15rem 0.75rem; }
  .nav-desktop a { font-size: 0.82rem; }
}

/* —— Icon picker page —— */
.icons-page { padding-bottom: 4rem; }
.icon-preview-bar {
  display: grid;
  gap: 1.25rem;
  align-items: center;
  padding: 1.25rem 1.35rem;
  margin-bottom: 2.25rem;
  border-radius: calc(var(--radius) + 0.15rem);
  background: var(--white);
  border: 1px solid rgba(30, 58, 95, 0.1);
  box-shadow: var(--shadow);
  position: sticky;
  top: 5.5rem;
  z-index: 40;
}
@media (min-width: 800px) {
  .icon-preview-bar {
    grid-template-columns: auto 1fr auto;
    gap: 1.5rem;
  }
}
.icon-preview-bar__mark {
  width: 4.5rem;
  height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1.1rem;
  background: linear-gradient(145deg, rgba(90, 154, 184, 0.14), rgba(30, 58, 95, 0.06));
  color: var(--navy);
  border: 1px solid rgba(30, 58, 95, 0.1);
}
.icon-preview-bar__mark svg {
  width: 2.75rem;
  height: 2.75rem;
}
.icon-preview-bar__text strong {
  display: block;
  color: var(--navy);
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}
.icon-preview-bar__text p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.icon-preview-bar__text code {
  display: inline-block;
  margin-left: 0.4rem;
  padding: 0.15rem 0.45rem;
  border-radius: 0.4rem;
  background: rgba(30, 58, 95, 0.08);
  color: var(--teal-btn);
  font-size: 0.85rem;
  font-weight: 700;
}
.icon-preview-bar__hint {
  margin-top: 0.45rem !important;
  font-size: 0.8rem !important;
  opacity: 0.85;
}
.icon-preview-bar__sample {
  display: none;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  background: var(--cream);
  border: 1px solid rgba(30, 58, 95, 0.08);
  color: var(--navy);
}
@media (min-width: 800px) {
  .icon-preview-bar__sample { display: inline-flex; }
}
.icon-preview-bar__sample-icon {
  display: flex;
  color: var(--blue-mid);
}
.icon-preview-bar__sample-icon svg {
  width: 2.1rem;
  height: 2.1rem;
}
.icon-set {
  margin-bottom: 2.25rem;
}
.icon-set__head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.9rem;
}
.icon-set__head h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--navy);
}
.icon-set__count {
  display: inline-flex;
  min-width: 1.6rem;
  height: 1.6rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(90, 154, 184, 0.15);
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0 0.4rem;
}
.icon-set__grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 560px) {
  .icon-set__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 800px) {
  .icon-set__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .icon-set__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
.icon-pick {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 1rem 0.65rem 0.85rem;
  border-radius: 1rem;
  border: 1.5px solid rgba(30, 58, 95, 0.1);
  background: var(--white);
  box-shadow: 0 4px 16px rgba(30, 58, 95, 0.05);
  cursor: pointer;
  font: inherit;
  color: var(--navy);
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s, background 0.15s;
  min-width: 0;
}
.icon-pick:hover,
.icon-pick:focus-visible {
  border-color: var(--teal-btn);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(30, 58, 95, 0.1);
  outline: none;
}
.icon-pick.is-selected {
  border-color: var(--teal-btn);
  background: linear-gradient(165deg, rgba(90, 154, 184, 0.14), var(--white) 55%);
  box-shadow: 0 0 0 3px rgba(90, 154, 184, 0.2);
}
.icon-pick__svg {
  width: 3.25rem;
  height: 3.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-soft);
}
.icon-pick__svg svg {
  width: 100%;
  height: 100%;
}
.icon-pick__id {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: var(--teal-btn);
}
.icon-pick__label {
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
  line-height: 1.25;
}

/* Accessibility */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0.5rem;
  background: var(--navy);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  z-index: 200;
}
.skip-link:focus { left: 0.5rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .service-card:hover { transform: none; }
  .btn-primary {
    background-image: none;
    background-color: var(--teal-btn);
  }
  .btn-primary::after {
    animation: none !important;
    display: none;
  }
}
