/*
Theme Name:  HYP 2026
Theme URI:   https://www.goodlookinkids.com
Description: Dark-first WordPress theme for Hot Yoga & Pilates — Tailwind + design token system
Version:     2.2
Author:      Good Lookin Kids Inc.
Author URI:  https://www.goodlookinkids.com
Tags:        tailwind, gutenberg, dark, custom
Text Domain: hyp-2026
*/

/* ==========================================================================
   IMPORTS
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&display=swap');

@import 'tokens.css';
@import 'theme.css';

/* ==========================================================================
   BASE RESET
   ========================================================================== */

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

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-body-md-size);
  line-height: var(--leading-normal);
  color: var(--color-text-primary);
  background-color: var(--color-bg-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
  -ms-interpolation-mode: bicubic;
}

/* ==========================================================================
   ACCESSIBILITY
   ========================================================================== */

.skip-to-content-link {
  position: absolute;
  top: 0.625rem;
  left: 0.625rem;
  z-index: 9999;
  display: block;
  padding: 0.625rem 1.25rem;
  background: var(--color-bg-subtle);
  color: var(--color-text-primary);
  font-family: var(--font-label);
  font-weight: var(--font-weight-semibold);
  font-size: var(--text-label-md-size);
  text-align: center;
  box-shadow: var(--elevation-3);
  transform: translateY(-200%);
  transition: transform 0.3s ease;
  text-decoration: none;
}

.skip-to-content-link:focus {
  transform: translateY(0%);
}

:focus-visible {
  outline: 2px solid var(--color-brand-gold-500);
  outline-offset: 3px;
}

:focus:not(:focus-visible) {
  outline: none;
}

/* ==========================================================================
   STRUCTURE
   ========================================================================== */

#wrapper,
.wrapper {
  overflow-x: hidden;
}

#wrapper:focus,
.wrapper:focus {
  outline: none;
}

.inner {
  width: 100%;
  max-width: 71.25rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (min-width: 1280px) {
  .inner {
    padding-left: 0;
    padding-right: 0;
  }
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-semibold);
  line-height: var(--leading-tight);
  color: var(--color-text-primary);
}

.heading--2xl {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-semibold);
  font-size: var(--text-heading-2xl-size);
  line-height: var(--text-heading-2xl-line-height);
  letter-spacing: var(--tracking-tighter);
  color: var(--color-text-primary);
}

.heading--xl {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-semibold);
  font-size: var(--text-heading-xl-size);
  line-height: var(--text-heading-xl-line-height);
  letter-spacing: var(--tracking-tight);
  color: var(--color-text-primary);
}

.heading--lg {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-semibold);
  font-size: var(--text-heading-lg-size);
  line-height: var(--text-heading-lg-line-height);
  letter-spacing: var(--tracking-tight);
  color: var(--color-text-primary);
}

.heading--md {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-semibold);
  font-size: var(--text-heading-md-size);
  line-height: var(--text-heading-md-line-height);
  letter-spacing: var(--tracking-tight);
  color: var(--color-text-primary);
}

.heading--sm {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-semibold);
  font-size: var(--text-heading-sm-size);
  line-height: var(--text-heading-sm-line-height);
  letter-spacing: var(--tracking-normal);
  color: var(--color-text-primary);
}

.heading--xs {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-medium);
  font-size: var(--text-heading-xs-size);
  line-height: var(--text-heading-xs-line-height);
  letter-spacing: var(--tracking-normal);
  color: var(--color-text-primary);
}

.heading--italic {
  font-style: italic;
  color: var(--color-text-secondary);
}

.body--xl {
  font-family: var(--font-body);
  font-weight: var(--font-weight-regular);
  font-size: var(--text-body-xl-size);
  line-height: var(--leading-normal);
  letter-spacing: var(--tracking-normal);
}

.body--lg {
  font-family: var(--font-body);
  font-weight: var(--font-weight-regular);
  font-size: var(--text-body-lg-size);
  line-height: var(--leading-normal);
  letter-spacing: var(--tracking-normal);
}

.body--md {
  font-family: var(--font-body);
  font-weight: var(--font-weight-regular);
  font-size: var(--text-body-md-size);
  line-height: var(--leading-normal);
  letter-spacing: var(--tracking-normal);
}

.body--sm {
  font-family: var(--font-body);
  font-weight: var(--font-weight-regular);
  font-size: var(--text-body-sm-size);
  line-height: var(--leading-normal);
  letter-spacing: var(--tracking-normal);
}


.label--md {
  font-family: var(--font-label);
  font-weight: var(--font-weight-medium);
  font-size: var(--text-label-md-size);
  line-height: 1.25rem;
  letter-spacing: var(--tracking-normal);
}

.label--sm {
  font-family: var(--font-label);
  font-weight: var(--font-weight-medium);
  font-size: var(--text-label-sm-size);
  line-height: 1rem;
  letter-spacing: var(--tracking-normal);
}

p {
  font-family: var(--font-body);
  color: var(--color-text-secondary);
  margin-bottom: 1.25rem;
}

p:last-child {
  margin-bottom: 0;
}

a,
.link {
  color: var(--color-text-link);
  text-decoration: underline;
  transition: color 0.2s ease;
}

a:hover,
a:focus,
.link:hover,
.link:focus {
  color: var(--color-text-link-hover);
}

blockquote {
  border-left: 2px solid var(--color-border-brand);
  padding-left: var(--gap-md);
  font-family: var(--font-heading);
  font-style: italic;
  color: var(--color-text-secondary);
}

hr {
  border: none;
  border-top: 1px solid var(--color-border-default);
  margin: var(--gap-lg) 0;
}

::selection {
  background: var(--color-brand-gold-500);
  color: var(--color-neutral-900);
}

/* ==========================================================================
   RESPONSIVE TYPOGRAPHY SCALE
   ========================================================================== */

:root {
  /* --- Mobile --- */
  --text-heading-2xl-size:        2.25rem;
  --text-heading-2xl-line-height: 2.75rem;
  --text-heading-xl-size:         var(--space-xl);
  --text-heading-xl-line-height:  2.5rem;
  --text-heading-lg-size:         1.75rem;
  --text-heading-lg-line-height:  2.25rem;
  --text-heading-md-size:         1.25rem;
  --text-heading-md-line-height:  1.75rem;
  --text-heading-sm-size:         var(--space-md);
  --text-heading-sm-line-height:  var(--space-lg);
  --text-heading-xs-size:         var(--space-md);
  --text-heading-xs-line-height:  var(--space-lg);
  --text-body-xl-size:            var(--space-md);
  --text-body-xl-line-height:     var(--space-lg);
  --text-body-lg-size:            var(--space-md);
  --text-body-lg-line-height:     var(--space-lg);
  --text-body-md-size:            0.875rem;
  --text-body-md-line-height:     1.25rem;
  --text-body-sm-size:            0.875rem;
  --text-body-sm-line-height:     1.25rem;
  --text-label-lg-size:           0.875rem;
  --text-label-md-size:           0.75rem;
  --text-label-sm-size:           0.625rem;
  --text-caption-size:            0.625rem;
  --text-caption-line-height:     0.875rem;
  --text-accent-lg-size:          var(--space-2xl);
  --text-accent-md-size:          var(--space-xl);
  --text-accent-sm-size:          var(--space-md);
}

/* --------------------------------------------------------------------------
   md — Tablet
   -------------------------------------------------------------------------- */
@media (min-width: 768px) {
  :root {
    --text-heading-2xl-size:        var(--space-2xl);
    --text-heading-2xl-line-height: 3.5rem;
    --text-heading-xl-size:         2.25rem;
    --text-heading-xl-line-height:  2.75rem;
    --text-heading-lg-size:         var(--space-xl);
    --text-heading-lg-line-height:  2.5rem;
    --text-heading-md-size:         var(--space-lg);
    --text-heading-md-line-height:  var(--space-xl);
    --text-heading-sm-size:         1.25rem;
    --text-heading-sm-line-height:  1.75rem;
    --text-heading-xs-size:         var(--space-md);
    --text-heading-xs-line-height:  var(--space-lg);
    --text-body-xl-size:            var(--space-md);
    --text-body-xl-line-height:     var(--space-lg);
    --text-body-lg-size:            var(--space-md);
    --text-body-lg-line-height:     var(--space-lg);
    --text-body-md-size:            var(--space-md);
    --text-body-md-line-height:     var(--space-lg);
    --text-body-sm-size:            0.875rem;
    --text-body-sm-line-height:     1.25rem;
    --text-label-lg-size:           var(--space-md);
    --text-label-md-size:           0.875rem;
    --text-label-sm-size:           0.75rem;
    --text-caption-size:            0.625rem;
    --text-caption-line-height:     var(--space-md);
    --text-accent-lg-size:          var(--space-3xl);
    --text-accent-md-size:          2.5rem;
    --text-accent-sm-size:          var(--space-lg);
  }
}

/* --------------------------------------------------------------------------
   lg — Laptop
   -------------------------------------------------------------------------- */
@media (min-width: 1024px) {
  :root {
    --text-heading-2xl-size:        3.75rem;
    --text-heading-2xl-line-height: 4.25rem;
    --text-heading-xl-size:         2.75rem;
    --text-heading-xl-line-height:  var(--space-2xl);
    --text-heading-lg-size:         2.25rem;
    --text-heading-lg-line-height:  2.75rem;
    --text-heading-md-size:         1.75rem;
    --text-heading-md-line-height:  2.25rem;
    --text-heading-sm-size:         1.25rem;
    --text-heading-sm-line-height:  1.75rem;
    --text-heading-xs-size:         var(--space-md);
    --text-heading-xs-line-height:  var(--space-lg);
    --text-body-xl-size:            var(--space-lg);
    --text-body-xl-line-height:     1.75rem;
    --text-body-lg-size:            1.25rem;
    --text-body-lg-line-height:     var(--space-xl);
    --text-body-md-size:            var(--space-md);
    --text-body-md-line-height:     var(--space-lg);
    --text-body-sm-size:            0.875rem;
    --text-body-sm-line-height:     1.25rem;
    --text-label-lg-size:           var(--space-md);
    --text-label-md-size:           0.875rem;
    --text-label-sm-size:           0.75rem;
    --text-caption-size:            0.75rem;
    --text-caption-line-height:     var(--space-md);
    --text-accent-lg-size:          5rem;
    --text-accent-md-size:          var(--space-2xl);
    --text-accent-sm-size:          var(--space-xl);
  }
}

/* --------------------------------------------------------------------------
   xl — Desktop
   -------------------------------------------------------------------------- */
@media (min-width: 1280px) {
  :root {
    --text-heading-2xl-size:        var(--space-3xl);
    --text-heading-2xl-line-height: 4.5rem;
    --text-heading-xl-size:         2.75rem;
    --text-heading-xl-line-height:  var(--space-2xl);
    --text-heading-lg-size:         2.5rem;
    --text-heading-lg-line-height:  var(--space-2xl);
    --text-heading-md-size:         var(--space-xl);
    --text-heading-md-line-height:  2.5rem;
    --text-heading-sm-size:         var(--space-lg);
    --text-heading-sm-line-height:  var(--space-xl);
    --text-heading-xs-size:         1.25rem;
    --text-heading-xs-line-height:  1.75rem;
    --text-body-xl-size:            var(--space-lg);
    --text-body-xl-line-height:     2.25rem;
    --text-body-lg-size:            1.25rem;
    --text-body-lg-line-height:     var(--space-xl);
    --text-body-md-size:            var(--space-md);
    --text-body-md-line-height:     var(--space-lg);
    --text-body-sm-size:            0.875rem;
    --text-body-sm-line-height:     1.25rem;
    --text-label-lg-size:           var(--space-md);
    --text-label-md-size:           0.875rem;
    --text-label-sm-size:           0.75rem;
    --text-caption-size:            0.75rem;
    --text-caption-line-height:     var(--space-md);
    --text-accent-lg-size:          5rem;
    --text-accent-md-size:          var(--space-2xl);
    --text-accent-sm-size:          var(--space-xl);
  }
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sizing-2);
  font-family: var(--font-label);
  font-weight: var(--font-weight-medium);
  font-size: var(--text-label-md-size);
  line-height: 1.25rem;
  letter-spacing: var(--tracking-normal);
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}

.btn--sm {
  height: 2.25rem;
  padding: var(--sizing-2) var(--sizing-4);
}

.btn--md {
  height: 2.75rem;
  padding: var(--sizing-3) var(--sizing-4);
  padding-left: var(--sizing-6);
}

.btn--lg {
  height: 3rem;
  padding: var(--sizing-3) var(--sizing-6);
}

.btn:not(.btn--sm):not(.btn--lg):not(.btn--tertiary) {
  height: 2.75rem;
  padding: var(--sizing-3) var(--sizing-4);
  padding-left: var(--sizing-6);
}

.btn--primary {
  background-color: var(--btn-primary-bg);
  border-color:     var(--btn-primary-border);
  color:            var(--btn-primary-text);
  border-radius:    var(--btn-primary-radius);
  box-shadow:       var(--btn-primary-shadow);
}

.btn--primary:hover {
  background-color: var(--btn-primary-bg-hover);
  border-color:     var(--btn-primary-border-hover);
  color:            var(--btn-primary-text-hover);
}

.btn--primary:active {
  background-color: var(--btn-primary-bg-active);
  border-color:     var(--btn-primary-border-active);
  color:            var(--btn-primary-text-active);
}

.btn--primary:focus-visible {
  background-color: var(--btn-primary-bg-focus);
  border-color:     var(--btn-primary-border-focus);
  color:            var(--btn-primary-text-focus);
  outline: 2px solid var(--btn-primary-border-focus);
  outline-offset: 3px;
}

.btn--primary:disabled,
.btn--primary[aria-disabled="true"] {
  background-color: var(--btn-primary-bg-disabled);
  border-color:     var(--btn-primary-border-disabled);
  color:            var(--btn-primary-text-disabled);
  pointer-events: none;
  cursor: not-allowed;
}

.btn--secondary {
  background-color: var(--btn-secondary-bg);
  border-color:     var(--btn-secondary-border);
  color:            var(--btn-secondary-text);
  border-radius:    var(--btn-secondary-radius);
}

.btn--secondary:hover {
  background-color: var(--btn-secondary-bg-hover);
  border-color:     var(--btn-secondary-border-hover);
  color:            var(--btn-secondary-text-hover);
}

.btn--secondary:active {
  background-color: var(--btn-secondary-bg-active);
  border-color:     var(--btn-secondary-border-active);
  color:            var(--btn-secondary-text-active);
}

.btn--secondary:focus-visible {
  background-color: var(--btn-secondary-bg-focus);
  border-color:     var(--btn-secondary-border-focus);
  color:            var(--btn-secondary-text-focus);
  outline: 2px solid var(--btn-secondary-border-focus);
  outline-offset: 3px;
}

.btn--secondary:disabled,
.btn--secondary[aria-disabled="true"] {
  background-color: var(--btn-secondary-bg-disabled);
  border-color:     var(--btn-secondary-border-disabled);
  color:            var(--btn-secondary-text-disabled);
  pointer-events: none;
  cursor: not-allowed;
}

.btn.btn--tertiary {
  background-color: var(--btn-tertiary-bg);
  border-color:     var(--btn-tertiary-border);
  color:            var(--btn-tertiary-text);
  border-radius:    var(--btn-tertiary-radius);
  padding:          0;
  height:           auto;
  min-height:       0;
  box-shadow:       none;
}

.btn.btn--tertiary:hover,
.btn.btn--tertiary:focus {
  background-color: var(--btn-tertiary-bg-hover);
  border-color:     var(--btn-tertiary-border-hover);
  color:            var(--btn-tertiary-text-hover);
  text-decoration:  none;
}

.btn.btn--tertiary:active {
  background-color: var(--btn-tertiary-bg-active);
  border-color:     var(--btn-tertiary-border-active);
  color:            var(--btn-tertiary-text-active);
}

.btn.btn--tertiary:focus-visible {
  outline:        2px solid var(--btn-tertiary-border-focus);
  outline-offset: 3px;
  color:          var(--btn-tertiary-text-focus);
}

.btn.btn--tertiary:disabled,
.btn.btn--tertiary[aria-disabled="true"] {
  background-color: var(--btn-tertiary-bg-disabled);
  border-color:     var(--btn-tertiary-border-disabled);
  color:            var(--btn-tertiary-text-disabled);
  pointer-events:   none;
  cursor:           not-allowed;
}

.btn__icon {
  flex-shrink: 0;
  width:  1rem;
  height: 1rem;
  color: inherit;
}

/* ==========================================================================
   PILLS / BADGES
   ========================================================================== */

.pill {
  display: inline-flex;
  align-items: center;
  gap: var(--gap-xxs);
  padding: var(--padding-xxs) var(--padding-xs);
  border-radius: var(--pill-radius);
  font-family: var(--font-label);
  font-weight: var(--font-weight-medium);
  font-size: var(--text-label-sm-size);
  line-height: 1rem;
  text-transform: uppercase;
  background-color: var(--pill-bg);
  color: var(--pill-text);
}

.pill--brand {
  background-color: var(--pill-brand-bg);
  color: var(--pill-brand-text);
}

/* ==========================================================================
   HEADER SHELL
   ========================================================================== */

.header {
  background-color: var(--nav-bg);
  border-bottom: 1px solid var(--color-border-default);
}

/* ==========================================================================
   NAVIGATION — Desktop
   ========================================================================== */

.nav__list {
  display: flex;
  align-items: flex-start;
  gap: var(--gap-md);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__item {
  position: relative;
  display: flex;
  align-items: center;
}

.nav__link {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--gap-xxs);
  text-decoration: none;
  cursor: pointer;
  position: relative;
  padding: 0;
  overflow: visible;
}

.nav__label {
  display: block;
  font-family: var(--font-label);
  font-weight: var(--font-weight-medium);
  font-size: var(--text-label-md-size);
  line-height: 1.25rem;
  letter-spacing: var(--tracking-normal);
  text-transform: uppercase;
  color: var(--nav-text);
  white-space: nowrap;
  transition: color 0.2s ease;
}

.nav__underline {
  display: block;
  height: 2px;
  width: 0;
  background-color: var(--nav-active-line);
  transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: -2px;
}

.nav__dropdown::before {
  background-color: rgba(23, 23, 23, 0.92);
}

@supports (backdrop-filter: blur(10px)) or (-webkit-backdrop-filter: blur(10px)) {
  .nav__dropdown::before {
    background-color: var(--color-bg-glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
}

.nav__link:hover .nav__label,
.nav__link:focus-visible .nav__label {
  color: var(--nav-text-hover);
}

.nav__link:hover .nav__underline,
.nav__link:focus-visible .nav__underline {
  width: 100%;
}

.nav__item.is-active > .nav__link .nav__label {
  color: var(--nav-text);
}

.nav__item.is-active > .nav__link .nav__underline {
  width: 100%;
}

.nav__link:focus-visible {
  outline: 2px solid var(--color-border-brand);
  outline-offset: 4px;
  border-radius: 1px;
}

/* ==========================================================================
   DROPDOWN PANEL
   ========================================================================== */

.nav__dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 163px;
  list-style: none;
  margin: 0;
  padding: 8px 0 0 0;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition:
    opacity   0.2s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav__dropdown::before {
  content: '';
  display: block;
  position: absolute;
  top: 8px;
  left: 0;
  right: 0;
  bottom: 0;
  border: 1px solid var(--color-border-default);
  z-index: -1;
}

.nav__sub-item {
  padding: 0 var(--padding-sm);
}

.nav__sub-item:first-child {
  padding-top: var(--padding-sm);
}

.nav__sub-item:last-child {
  padding-bottom: var(--padding-sm);
}

.nav__dropdown .nav__sub-item + .nav__sub-item {
  margin-top: var(--gap-xs);
}

.nav__item.has-dropdown:hover .nav__dropdown,
.nav__item.has-dropdown:focus-within .nav__dropdown,
.nav__item.has-dropdown.is-open .nav__dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav__dropdown[aria-hidden="false"] {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav__sub-link {
  display: flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
}

.nav__sub-chevron {
  flex-shrink: 0;
  color: var(--color-text-brand);
  opacity: 0;
  transform: translateX(-4px);
  transition:
    opacity   0.18s ease,
    transform 0.18s ease;
}

.nav__sub-item.is-active > .nav__sub-link .nav__sub-chevron,
.nav__sub-link:hover .nav__sub-chevron,
.nav__sub-link:focus-visible .nav__sub-chevron {
  opacity: 1;
  transform: translateX(0);
}

.nav__sub-label {
  font-family: var(--font-label);
  font-weight: var(--font-weight-medium);
  font-size: var(--text-label-sm-size);
  line-height: 1rem;
  letter-spacing: var(--tracking-normal);
  text-transform: uppercase;
  color: var(--nav-text);
  transition: color 0.18s ease;
}

.nav__sub-item.is-active > .nav__sub-link .nav__sub-label {
  color: var(--color-text-brand);
}

.nav__sub-link:hover .nav__sub-label,
.nav__sub-link:focus-visible .nav__sub-label {
  color: var(--color-text-brand);
}

.nav__sub-link:focus-visible {
  outline: 2px solid var(--color-border-brand);
  outline-offset: 2px;
}

/* ==========================================================================
   HEADER HAMBURGER (mobile)
   ========================================================================== */

.header__hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger-line {
  display: block;
  width: 1.5rem;
  height: 1.5px;
  background-color: var(--color-neutral-50);
  border-radius: 1px;
  transform-origin: center;
  transition:
    transform  0.3s cubic-bezier(0.4, 0, 0.2, 1),
    opacity    0.3s ease,
    width      0.3s ease;
}

.header__hamburger[aria-expanded="true"] .hamburger-line:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.header__hamburger[aria-expanded="true"] .hamburger-line:nth-child(2) {
  opacity: 0;
  width: 0;
}
.header__hamburger[aria-expanded="true"] .hamburger-line:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ==========================================================================
   MOBILE NAVIGATION
   ========================================================================== */

.header__mobile-nav {
  border-top: 1px solid var(--color-border-default);
  background-color: var(--nav-bg);
  overflow: hidden;
}

.header__mobile-nav[hidden] {
  display: none;
}

.mobile-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-nav__item {
  border-bottom: 1px solid var(--color-border-subtle);
}

.mobile-nav__item:last-child {
  border-bottom: none;
}

.mobile-nav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  min-height: 3.25rem;
  text-decoration: none;
  width: 100%;
}

.mobile-nav__item.has-dropdown > .mobile-nav__link {
  cursor: pointer;
}

.mobile-nav__label {
  font-family: var(--font-label);
  font-weight: var(--font-weight-medium);
  font-size: var(--text-label-lg-size);
  line-height: 1.5rem;
  letter-spacing: var(--tracking-normal);
  text-transform: uppercase;
  color: var(--nav-text);
  transition: color 0.2s ease;
}

.mobile-nav__item.is-active > .mobile-nav__link .mobile-nav__label,
.mobile-nav__link:hover .mobile-nav__label {
  color: var(--nav-active-line);
}

.mobile-nav__toggle {
  background: none;
  border: none;
  padding: 0;
  margin-left: var(--gap-xs);
  cursor: pointer;
  color: var(--nav-text);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
  flex-shrink: 0;
  min-width: 2rem;
  min-height: 2rem;
}

.mobile-nav__toggle:hover,
.mobile-nav__item.is-open > .mobile-nav__link .mobile-nav__toggle {
  color: var(--nav-active-line);
}

.mobile-nav__chevron {
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav__item.is-open > .mobile-nav__link .mobile-nav__chevron {
  transform: rotate(180deg);
}

.mobile-nav__sub-menu {
  list-style: none;
  margin: 0;
  padding: 0 0 0 var(--padding-sm);     /* NO bottom padding here — it sits outside max-height clip */
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav__item.is-open > .mobile-nav__sub-menu {
  max-height: 500px;
}

.mobile-nav__sub-item {
  border: none;
}

.mobile-nav__sub-item:last-child {
  padding-bottom: 0.5rem;
}

.mobile-nav__sub-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0.5rem 0;
  text-decoration: none;
}

.mobile-nav__sub-link span {
  font-family: var(--font-label);
  font-weight: var(--font-weight-medium);
  font-size: var(--text-label-lg-size);
  line-height: 1.25rem;
  text-transform: uppercase;
  color: var(--nav-text);
  transition: color 0.18s ease;
}

.mobile-nav__sub-item.is-active > .mobile-nav__sub-link span,
.mobile-nav__sub-link:hover span {
  color: var(--nav-active-line);
}

.mobile-nav__cta {
  border-top: 1px solid var(--color-border-default);
}

/* ==========================================================================
   CARDS
   ========================================================================== */

.card {
  background-color: var(--card-bg);
  border: 0.5px solid var(--card-border);
  border-radius: var(--card-radius);
  padding: var(--gap-md);
  box-shadow: var(--elevation-3);
}

.card--feature {
  border-radius: var(--card-feature-radius);
  padding: var(--gap-md);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

/* ==========================================================================
   GLASS PANELS
   ========================================================================== */

.glass {
  background-color: var(--color-bg-glass);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid var(--color-border-default);
}

/* ==========================================================================
   SECTIONS
   ========================================================================== */

.section {
  padding-top: var(--padding-3xl);
  padding-bottom: var(--padding-3xl);
}

.section--lg {
  padding-top: var(--padding-3xl);
  padding-bottom: var(--padding-3xl);
}

.section--md {
  padding-top: var(--padding-2xl);
  padding-bottom: var(--padding-2xl);
}

.section--sm {
  padding-top: var(--padding-xl);
  padding-bottom: var(--padding-xl);
}

.section--bordered {
  border-top: 1px solid var(--color-border-default);
  border-bottom: 1px solid var(--color-border-default);
}

.section--book {
  border-bottom: 1px solid var(--color-border-default);
  padding-top: var(--padding-3xl);
  padding-bottom: var(--padding-3xl);
}

.section--locations {
  padding-top: var(--padding-3xl);
  padding-bottom: var(--padding-3xl);
}

.section--reviews {
  background-color: var(--color-bg-subtle);
  padding-top: var(--padding-2xl);
  padding-bottom: var(--padding-2xl);
}

/* ==========================================================================
   WORDPRESS BLOCKS — Gutenberg
   ========================================================================== */

.entry-content > * + * {
  margin-top: var(--gap-md);
}

.entry-content a {
  text-decoration: underline;
}

.entry-content .wp-block-group > * + *,
.entry-content .wp-block-column > * + * {
  margin-top: var(--gap-sm);
}

.entry-content > h1 + *,
.entry-content > h2 + *,
.entry-content > h3 + *,
.entry-content > h4 + *,
.entry-content > h5 + *,
.entry-content > h6 + *,
.entry-content > [class*="heading--"] + * {
  margin-top: var(--gap-xs);
}

.alignleft  { float: left;  margin-right: 1.5em; margin-bottom: 1em; }
.alignright { float: right; margin-left: 1.5em;  margin-bottom: 1em; }
.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.entry-content > * {
  margin-left: auto;
  margin-right: auto;
  max-width: 750px;
}

.entry-content > .alignwide  { max-width: 1200px; }
.entry-content > .alignfull  { max-width: 100%; margin-left: 0; margin-right: 0; }

.entry-content ul,
.entry-content ol {
  margin: 1em auto 1.5em 2em;
  list-style-position: outside;
}

.entry-content ul li { list-style-type: disc; }
.entry-content ol li { list-style-type: decimal; }

.entry-content li {
  margin-bottom: 0.375rem;
  color: var(--color-text-secondary);
}

.entry-content ul ul,
.entry-content ol ol,
.entry-content ul ol,
.entry-content ol ul {
  margin-top: 0.5em;
  margin-bottom: 0;
  margin-left: 1.5em;
}

.wp-caption { max-width: 100%; margin-bottom: 1.5em; }
.wp-caption-text {
  text-align: center;
  font-size: var(--text-body-sm-size);
  color: var(--color-text-muted);
  margin-top: 0.5em;
}

.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--sizing-3) var(--sizing-6);
  font-family: var(--font-label);
  font-size: var(--text-label-md-size);
  font-weight: var(--font-weight-medium);
  line-height: 1.25rem;
  letter-spacing: var(--tracking-normal);
  text-transform: uppercase;
  border-radius: var(--btn-primary-radius);
  transition: all 0.2s ease;
  cursor: pointer;
  text-decoration: none;
}

.wp-block-button:not(.is-style-outline):not(.is-style-ghost) .wp-block-button__link {
  background-color: var(--btn-primary-bg);
  border: 2px solid var(--btn-primary-border);
  color: var(--btn-primary-text);
}

.wp-block-button:not(.is-style-outline):not(.is-style-ghost) .wp-block-button__link:hover {
  background-color: var(--btn-primary-bg-hover);
  border-color: var(--btn-primary-border-hover);
}

.wp-block-button.is-style-outline .wp-block-button__link {
  background-color: var(--btn-secondary-bg);
  border: 2px solid var(--btn-secondary-border);
  color: var(--btn-secondary-text);
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
  background-color: var(--btn-secondary-bg-hover);
  border-color: var(--btn-secondary-border-hover);
  color: var(--btn-secondary-text-hover);
}

.wp-block-button.is-style-ghost .wp-block-button__link {
  background-color: transparent;
  border: 2px solid transparent;
  color: var(--btn-tertiary-text);
  padding-left: 0;
  padding-right: 0;
  box-shadow: none;
}

.wp-block-button.is-style-ghost .wp-block-button__link:hover {
  color: var(--btn-tertiary-text-hover);
  text-decoration: underline;
}

.wp-block-separator {
  border: none;
  border-top: 1px solid var(--color-border-default);
  margin: var(--padding-3xl) auto;
  max-width: 100px;
}

.wp-block-quote {
  border-left: 2px solid var(--color-border-brand);
  padding: var(--gap-sm) var(--gap-md);
  margin: var(--gap-lg) auto;
}

.wp-block-quote p {
  font-family: var(--font-heading);
  font-size: var(--text-body-lg-size);
  font-style: italic;
  color: var(--color-text-secondary);
}

.wp-block-quote cite {
  display: block;
  font-size: var(--text-body-sm-size);
  color: var(--color-text-muted);
  margin-top: var(--gap-xs);
}

.wp-block-embed.type-video > .wp-block-embed__wrapper,
.wp-block-embed-vimeo > .wp-block-embed__wrapper,
.wp-block-embed-youtube > .wp-block-embed__wrapper {
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 56.25%;
}

.wp-block-embed.type-video > .wp-block-embed__wrapper > iframe,
.wp-block-embed-vimeo > .wp-block-embed__wrapper > iframe,
.wp-block-embed-youtube > .wp-block-embed__wrapper > iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.wp-block-table { display: block; overflow-x: auto; }

.wp-block-table table {
  border-collapse: collapse;
  width: 100%;
}

.wp-block-table td,
.wp-block-table th {
  padding: 0.5em;
  border: 1px solid var(--color-border-default);
  color: var(--color-text-primary);
}

/* ==========================================================================
   FORMS — Base Styles
   ========================================================================== */

label {
  font-family: var(--font-label);
  font-size: var(--text-label-md-size);
  font-weight: var(--font-weight-medium);
  color: var(--input-label);
  display: block;
  margin-bottom: 0.375rem;
}

input[type=text],
input[type=password],
input[type=email],
input[type=tel],
input[type=search],
input[type=url],
textarea,
select {
  width: 100%;
  background-color: var(--input-bg);
  color: var(--input-text);
  border: 1px solid var(--input-border);
  border-radius: var(--input-radius);
  font-family: var(--font-body);
  font-size: var(--text-body-md-size);
  line-height: var(--leading-normal);
  padding: 0.6875rem 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}

input[type=text]:focus,
input[type=password]:focus,
input[type=email]:focus,
input[type=tel]:focus,
input[type=search]:focus,
input[type=url]:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--input-border-focus);
  box-shadow: 0 0 0 3px rgba(198, 160, 126, 0.20);
}

input::placeholder,
textarea::placeholder {
  color: var(--input-placeholder);
}

textarea {
  resize: vertical;
  min-height: 9rem;
}

input[type=submit],
input[type=button],
button[type=submit] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  border: 2px solid var(--btn-primary-border);
  border-radius: var(--btn-primary-radius);
  font-family: var(--font-label);
  font-size: var(--text-label-md-size);
  font-weight: var(--font-weight-medium);
  letter-spacing: var(--tracking-normal);
  text-transform: uppercase;
  padding: var(--sizing-3) var(--sizing-6);
  height: 2.75rem;
  cursor: pointer;
  transition: all 0.2s ease;
  -webkit-appearance: none;
}

input[type=submit]:hover,
input[type=button]:hover,
button[type=submit]:hover {
  background-color: var(--btn-primary-bg-hover);
  border-color: var(--btn-primary-border-hover);
}

.gform_wrapper span.gfield_required,
.gform_wrapper .gfield_required { color: var(--color-status-alert); }
.gform_wrapper .gform_footer,
.gform_wrapper .gform_page_footer { text-align: right; padding-top: var(--gap-lg); }
.validation_message { color: var(--color-status-alert); font-size: var(--text-body-sm-size); }

/* ==========================================================================
   PAGINATION
   ========================================================================== */

.pagination {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
  margin: var(--padding-xl) 0;
}

.pagination li { display: inline; }

.pagination li a,
.pagination li.active a,
.pagination li.disabled span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.75rem;
  background-color: var(--color-bg-subtle);
  color: var(--color-text-primary);
  border: 1px solid var(--color-border-default);
  border-radius: var(--radius-none);
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: var(--text-label-md-size);
}

.pagination li a:hover {
  background-color: var(--color-bg-brand);
  color: var(--color-text-inverse);
  border-color: var(--color-bg-brand);
}

.pagination li.active a {
  background-color: var(--color-bg-brand);
  color: var(--color-text-inverse);
  border-color: var(--color-bg-brand);
}

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

.footer__social-link {
  transition: color 0.2s ease, opacity 0.2s ease;
}

.footer__social-link:hover {
  color: var(--color-text-brand);
  opacity: 0.85;
}

.footer__address p {
  color: inherit;
  margin-bottom: 0;
  line-height: inherit;
}

.footer__address a {
  color: var(--color-text-brand-alt);
  text-decoration: underline;
}

.footer__address a:hover {
  color: var(--color-text-brand);
}

/* ==========================================================================
   PRINT
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
  }

  a, a:visited { text-decoration: underline; }
  img          { max-width: 100% !important; }

  .header,
  .footer,
  nav          { display: none !important; }
}

/* ==========================================================================
   PAGE STYLES
   ========================================================================== */

.hero {
  border-bottom: 1px solid var(--color-border-default);
  padding-top: var(--padding-xl);
  padding-bottom: var(--padding-xl);
}

@media (min-width: 768px) {
  .hero {
    padding-top: var(--padding-2xl);
    padding-bottom: var(--padding-2xl);
  }
}

@media (min-width: 1024px) {
  .hero {
    padding-top: var(--padding-3xl);
    padding-bottom: var(--padding-3xl);
  }
}

.hero__bg img {
  object-fit: cover;
}

.hero__content {
  max-width: 40rem;
}

.hero__bg-img {
  left: 41%;
  width: 59%;
  object-fit: cover;
  object-position: center;
}

.hero__bg-img--left {
  left: 0;
  width: 59%;
  object-fit: cover;
  object-position: center;
}

.hero__gradient {
  background: linear-gradient(89deg, var(--color-bg-base) 47%, transparent 100%);
}

.hero__gradient--left {
  background: linear-gradient(269deg, var(--color-bg-base) 40%, transparent 100%);
}

.hero__entry-content .wp-block-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap-md);
  margin-top: 0;
}

.hero__entry-content .wp-block-button {
  margin: 0;
}

.hero__callout {
  display: flex;
  align-items: center;
  gap: var(--gap-sm);
  padding: var(--padding-sm);
  border-top: 1px solid var(--color-border-default);
  border-left: 1px solid var(--color-border-default);
  border-bottom: 1px solid var(--color-border-default);
  width: 80%;
  transition: box-shadow 0.2s ease;
}

.schedule__callout {
  display: flex;
  align-items: center;
  gap: var(--gap-sm);
  padding: var(--padding-sm);
  border-top: 1px solid var(--color-border-default);
  border-left: 1px solid var(--color-border-default);
  border-bottom: 1px solid var(--color-border-default);
  width: min(488px, calc(100% - 3rem));
  transition: box-shadow 0.2s ease;
}

.hero__callout:hover,
.schedule__callout:hover {
  box-shadow: var(--elevation-3);
}

.callout__img-wrap {
  width: 7.5rem;
  height: 7.5rem;
  overflow: hidden;
  border: 1px solid var(--color-border-default);
  flex-shrink: 0;
}

.callout__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.location-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--gap-xxs);
  background: var(--color-bg-subtle);
  border-radius: var(--radius-2xl);
  padding: var(--padding-xxs) var(--padding-xs);
}

.location-pill svg {
  color: var(--color-icon-primary);
  flex-shrink: 0;
}

/* ==========================================================================
   FEATURES GRID
   ========================================================================== */

.feature-card {
  gap: var(--gap-sm);
  padding: var(--padding-md);
  background: var(--color-bg-base);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.feature-card__icon {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-card__icon svg,
.feature-card__icon i {
  color: var(--color-icon-brand);
}

/* ==========================================================================
   REVIEW CARDS
   ========================================================================== */

.review-card {
  transition: box-shadow 0.2s ease;
}

.review-card:hover {
  box-shadow: var(--elevation-4);
}

.review-card .stars svg {
  width: 20px;
  height: 20px;
}

/* ==========================================================================
   LOCATION CARDS
   ========================================================================== */

li.location-card--home {
  display: grid;
  grid-template-columns: 96px 1fr;
  align-items: start;
  gap: var(--gap-md);
  padding: var(--padding-sm);
  background: var(--color-bg-subtle);
  box-shadow: var(--elevation-2);
}

.location-card--home__img {
  width: 96px;
  height: 96px;
  flex-shrink: 0;
  border: 1px solid var(--color-border-default);
  overflow: hidden;
}

.location-card--home__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.location-card--home__img-placeholder {
  width: 100%;
  height: 100%;
  background: var(--color-bg-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-border-default);
}

.location-card--home__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--gap-xs);
}

/* ==========================================================================
   LOCATION CARDS — base (shared / contact page)
   ========================================================================== */

.location-card {
  transition: box-shadow 0.2s ease;
}

.location-card:hover {
  box-shadow: var(--elevation-3);
}

.location-card__img {
  flex-shrink: 0;
}

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

@media (max-width: 767px) {
  .hero__callout {
    width: 100%;
  }

  .hero__bg-img {
    left: 0;
    width: 100%;
    opacity: 0.45;
  }

  .hero .hero__gradient {
    background: linear-gradient(
      180deg,
      transparent 0%,
      var(--color-bg-base) 75%
    );
  }

  .hero__entry-content .wp-block-buttons {
    flex-direction: column;
    gap: var(--gap-sm);
  }

  .hero__entry-content .wp-block-button,
  .hero__entry-content .wp-block-button__link {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .reviews-carousel {
    display: flex;
    flex-direction: column;
  }

  .reviews-carousel__controls {
    order: -1;
    display: flex;
    justify-content: flex-end;
    gap: var(--gap-xs);
    margin-bottom: var(--gap-sm);
    padding-bottom: 0;
  }

  .reviews-carousel__slides {
    padding-bottom: 0;
  }

  .teacher-card {
    height: 460px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .hero__callout {
    width: min(488px, 100%);
    margin-top: var(--gap-md);
  }
}

/* ==========================================================================
   MOBILE SECTION PADDING
   ========================================================================== */

@media (max-width: 767px) {
  :root {
    --padding-3xl: var(--padding-xl);
  }
}

/* ==========================================================================
   ACCORDION COMPONENT
   ========================================================================== */

.accordion-group {
  display: flex;
  flex-direction: column;
  gap: var(--accordion-gap);
  width: 100%;
  max-width: 47.5rem;
  margin-inline: auto;
}

details.accordion {
  background-color: var(--accordion-bg-default);
  border: 1px solid var(--accordion-border-default);
  width: 100%;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease;
}

details.accordion:hover {
  background-color: var(--accordion-bg-hover);
  border-color: var(--accordion-border-hover);
}

details.accordion[open] {
  background-color: var(--accordion-bg-active);
  border-color: var(--accordion-border-active);
}

summary.accordion__header {
  display: flex;
  align-items: center;
  gap: var(--accordion-padding-y);
  min-height: var(--accordion-header-height);
  padding: var(--accordion-padding-y) var(--accordion-padding-x);
  cursor: pointer;
  list-style: none;
  -webkit-appearance: none;
  outline: none;
}

summary.accordion__header::-webkit-details-marker {
  display: none;
}

summary.accordion__header:focus-visible {
  outline: 2px solid var(--color-brand-gold-500);
  outline-offset: -2px;
}

details.accordion:focus-within {
  border-color: var(--accordion-border-focus);
  background-color: var(--accordion-bg-focus);
}

.accordion__label {
  flex: 1;
  min-width: 0;
  font-family: var(--font-label);
  font-weight: var(--font-weight-medium);
  font-size: var(--text-label-md-size);
  line-height: 1.4286;
  letter-spacing: var(--tracking-normal);
  text-transform: uppercase;
  color: var(--accordion-text-default);
  word-break: break-word;
  transition: color 0.2s ease;
}

details.accordion:hover .accordion__label {
  color: var(--accordion-text-hover);
}

details.accordion[open] .accordion__label {
  color: var(--accordion-text-active);
}

details.accordion:focus-within .accordion__label {
  color: var(--accordion-text-focus);
}

.accordion__icon {
  flex-shrink: 0;
  width: var(--accordion-icon-size);
  height: var(--accordion-icon-size);
  position: relative;
  color: var(--accordion-text-default);
  transition: color 0.2s ease;
}

.accordion__icon::before,
.accordion__icon::after {
  content: '';
  position: absolute;
  inset-inline: 20%;
  top: 52%;
  height: 2px;
  background-color: currentColor;
  transform: translateY(-50%);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.accordion__icon::after {
  inset-inline: 48%;
  height: 60%;
  width: 2px;
  top: 24%;
  transform: none;
}

details.accordion[open] .accordion__icon::after {
  opacity: 0;
  transform: scaleY(0);
}

details.accordion:hover .accordion__icon,
details.accordion[open] .accordion__icon,
details.accordion:focus-within .accordion__icon {
  color: var(--accordion-text-hover);
}

.accordion__body {
  padding: 0 var(--accordion-padding-x) var(--accordion-padding-y);
  font-family: var(--font-body);
  font-weight: var(--font-weight-regular);
  font-size: var(--text-body-md-size);
  line-height: var(--leading-normal);
  letter-spacing: var(--tracking-normal);
  color: var(--accordion-text-body-default);
}

.accordion__body p,
.accordion__body ul,
.accordion__body ol {
  margin-bottom: var(--gap-xs);
}

.accordion__body p:last-child,
.accordion__body ul:last-child,
.accordion__body ol:last-child {
  margin-bottom: 0;
}

.accordion__body ul,
.accordion__body ol {
  padding-left: 1.5rem;
}

.accordion__body ul {
  list-style-type: disc;
}

.accordion__body ol {
  list-style-type: decimal;
}

.accordion__body ul ul,
.accordion__body ol ol,
.accordion__body ul ol,
.accordion__body ol ul {
  padding-left: 1.25rem;
  margin-top: 0.25rem;
  margin-bottom: 0;
}

.accordion__body li {
  margin-bottom: 0.25rem;
}

details.accordion[data-disabled] {
  background-color: var(--accordion-bg-disabled);
  border-color: var(--accordion-border-disabled);
  pointer-events: none;
}

details.accordion[data-disabled] .accordion__label {
  color: var(--accordion-text-disabled);
}

details.accordion[data-disabled] .accordion__icon {
  color: var(--accordion-text-disabled);
}

details.accordion[data-disabled] .accordion__body {
  color: var(--accordion-text-body-disabled);
}

.section--faq {
  background-color: var(--color-bg-base);
  padding: var(--padding-3xl) 0;
}

.section--faq .faq__heading {
  text-align: center;
  margin-bottom: var(--gap-lg);
}

/* ==========================================================================
   PRICING PAGE
   ========================================================================== */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-md);
  list-style: none;
  padding: 0;
  margin: 0;
}

@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

.pricing-card {
  display: flex;
  flex-direction: column;
  gap: var(--gap-md);
  padding: var(--padding-md);
  background: var(--color-bg-subtle);
  border: 1px solid var(--color-border-default);
  color: var(--color-text-primary);
}

.pricing-card--featured {
  background: var(--color-bg-base);
}

.pricing-card__top {
  display: flex;
  flex-direction: column;
  gap: var(--gap-xs);
  width: 100%;
}

.pricing-card__title {
  color: var(--color-text-primary);
  margin-bottom: 0;
}

.pricing-card__intro {
  color: var(--color-text-primary);
  margin-bottom: 0;
}

.pricing-card__price {
  display: flex;
  align-items: flex-end;
  gap: var(--gap-xxs);
}

.pricing-card__amount {
  color: var(--color-text-primary);
  white-space: nowrap;
}

.pricing-card__duration {
  color: var(--color-text-primary);
  line-height: var(--leading-normal);
  padding-bottom: 0.25rem;
}

.pricing-card .btn--secondary {
  width: 100%;
  justify-content: center;
}

.pricing-card__features {
  list-style: none;
  padding-left: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  color: var(--color-text-primary);
}

.pricing-card__features li {
  color: var(--color-text-primary);
  line-height: var(--leading-normal);
  display: flex;
  align-items: flex-start;
  gap: var(--gap-xs);
}

/* ==========================================================================
   CLASSES PAGE — Z-PATTERN GRID
   ========================================================================== */

.classes-zpattern__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.class-zitem {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-2xl);
  align-items: stretch;
}

.class-zitem--reversed .class-zitem__image-col {
  order: 2;
}

.class-zitem--reversed .class-zitem__content {
  order: 1;
}

.class-zitem__image-col {
  position: relative;
  min-height: 480px;
  overflow: hidden;
}

.class-zitem__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.class-zitem__image-placeholder {
  position: absolute;
  inset: 0;
  background: var(--color-bg-subtle);
}

.class-zitem__content {
  display: flex;
  flex-direction: column;
  gap: var(--gap-sm);
  padding: var(--padding-2xl);
  justify-content: center;
}

.class-zitem__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap-sm);
  flex-wrap: wrap;
}

.class-zitem__title {
  margin-bottom: 0;
}

.class-zitem__duration {
  display: inline-flex;
  align-items: center;
  gap: var(--gap-xxs);
  background: var(--color-bg-subtle);
  border-radius: var(--radius-2xl);
  padding: var(--padding-xxs) var(--padding-xs);
  white-space: nowrap;
  flex-shrink: 0;
  color: var(--color-text-primary);
}

.class-zitem__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-xs) var(--gap-md);
  list-style: none;
  margin: 0;
  padding: 0;
}

.class-zitem__feature {
  display: flex;
  align-items: flex-start;
  gap: var(--gap-xs);
  color: var(--color-text-primary);
  margin: 0;
}

.class-zitem .btn--tertiary {
  align-self: flex-start;
}

.class-zitem__toggle {
  display: flex;
  flex-direction: column;
  gap: var(--gap-xs);
  border-bottom: 1px solid var(--color-border-default);
  padding-bottom: var(--padding-sm);
}

.class-zitem__toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--gap-xs);
  background: transparent;
  border: none;
  color: var(--color-text-secondary);
  cursor: pointer;
  padding: 0;
  text-align: left;
  transition: color 0.2s ease;
}

.class-zitem__toggle-btn:hover {
  color: var(--color-text-primary);
}

.class-zitem__toggle-btn[aria-expanded="true"] .class-zitem__toggle-icon {
  transform: rotate(180deg);
}

.class-zitem__toggle-icon {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.class-zitem__toggle-body {
  color: var(--color-text-secondary);
}

.class-zitem__toggle-body p {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .class-zitem {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .class-zitem--reversed .class-zitem__image-col {
    order: 0;
  }

  .class-zitem--reversed .class-zitem__content {
    order: 0;
  }

  .class-zitem__image-col {
    aspect-ratio: 16 / 9;
    min-height: unset;
    position: relative;
  }

  .class-zitem__image {
    position: absolute;
  }

  .class-zitem__content {
    padding: var(--padding-md) 0 var(--padding-xl) 0;
  }

  .class-zitem__features {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .class-zitem__features {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   TEACHERS PAGE
   ========================================================================== */

.teacher-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap-md);
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (max-width: 1024px) {
  .teacher-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 700px) {
  .teacher-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 420px) {
  .teacher-grid {
    grid-template-columns: 1fr;
  }
}

.teacher-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 480px;
  overflow: hidden;
}

.teacher-card__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  pointer-events: none;
}

.teacher-card__details {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--gap-xxs);
  padding: var(--padding-sm);
  min-height: 110px;
  width: 100%;
}

.teacher-card__details.glass {
  border: none;
}

.teacher-card__name {
  color: var(--color-text-primary);
  margin-bottom: 0;
}

.teacher-card__title {
  color: var(--color-text-primary);
  margin-bottom: 0;
}

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

.location-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-md);
  list-style: none;
  margin: 0;
  padding: 0;
}

.location-card {
  display: flex;
  flex-direction: column;
  gap: var(--gap-md);
  background: var(--color-bg-subtle);
  padding: var(--padding-md);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.location-card__map {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--color-border-default);
  overflow: hidden;
  background: var(--color-bg-base);
}

.location-card__map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.location-card__map-placeholder {
  position: absolute;
  inset: 0;
  background: var(--color-bg-subtle);
}

.location-card__body {
  display: flex;
  flex-direction: column;
  gap: var(--gap-sm);
}

.location-card__info {
  display: flex;
  flex-direction: column;
  gap: var(--gap-xs);
}

.location-card__heading-row {
  display: flex;
  align-items: center;
  gap: var(--gap-xs);
  flex-wrap: wrap;
}

.location-card__name {
  color: var(--color-text-primary);
  margin-bottom: 0;
}

.location-card__address {
  color: var(--color-text-primary);
  font-style: normal;
}

.location-card__details {
  color: var(--color-text-primary);
  margin-bottom: 0;
}

@media (max-width: 1024px) and (min-width: 641px) {
  .location-grid {
    grid-template-columns: 1fr;
  }

  .location-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap-md);
  }

  .location-card__map {
    aspect-ratio: auto;
    height: 100%;
    min-height: 260px;
  }
}

@media (max-width: 640px) {
  .location-grid {
    grid-template-columns: 1fr;
  }
}

.location-card .btn--tertiary {
  align-self: flex-start;
  justify-content: flex-start;
}

/* ==========================================================================
   VIDEO LIGHTBOX
   ========================================================================== */

.video-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--padding-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.video-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.video-lightbox__overlay {
  position: absolute;
  inset: 0;
  background-color: var(--color-black-500);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
}

.video-lightbox__container {
  position: relative;
  width: 100%;
  max-width: 900px;
  background-color: var(--color-bg-muted);
  border: 1px solid var(--color-border-default);
  z-index: 1;
  /* Entrance animation */
  transform: translateY(12px) scale(0.98);
  transition: transform 0.3s ease;
}

.video-lightbox.is-open .video-lightbox__container {
  transform: translateY(0) scale(1);
}

.video-lightbox__close {
  position: absolute;
  top: calc(-1 * var(--sizing-10));
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--sizing-10);
  height: var(--sizing-10);
  color: var(--color-text-primary);
  background: transparent;
  border: 1px solid var(--color-border-default);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
  z-index: 2;
}

.video-lightbox__close:hover {
  color: var(--color-text-brand);
  border-color: var(--color-border-brand);
}

.video-lightbox__close:focus-visible {
  outline: 2px solid var(--color-border-brand);
  outline-offset: 3px;
}

.hero__watch-video {
  display: inline-flex;
  align-items: center;
  gap: var(--gap-xs);
}

.hero__watch-video-icon {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.video-lightbox .video-js {
  font-family: var(--font-label);
}

.video-lightbox .vjs-control-bar {
  background-color: rgba(17, 19, 18, 0.85);
}

.video-lightbox .vjs-play-progress,
.video-lightbox .vjs-volume-level {
  background-color: var(--color-brand-gold-500);
}

.video-lightbox .vjs-big-play-button {
  border-color: var(--color-brand-gold-500);
  background-color: rgba(17, 19, 18, 0.6);
  border-radius: var(--radius-full, 9999px);
}

.video-lightbox .vjs-big-play-button:hover,
.video-lightbox .vjs-big-play-button:focus {
  background-color: var(--color-brand-gold-500);
}