﻿/*
Theme Name: MEGA Workout
Theme URI: https://themegaworkout.com
Author: MEGA Workout
Author URI: https://themegaworkout.com
Description: Custom WordPress theme for MEGA Workout — Lagree, Mat Pilates & Tramp Cardio studios in Raleigh & Cary, NC.
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mega-workout
Tags: fitness, boutique-studio, custom-menu, custom-logo
*/

/* ===== GOOGLE FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&family=Bebas+Neue&family=Comfortaa:wght@400;700&display=swap');

/* ===== CSS VARIABLES ===== */
:root {
  /* Colors - Per MEGA Brand Style Guide */
  --emerald: #00C389;        /* MEGA Emerald - Pantone 3395 C */
  --emerald-light: #E6F9F2;  /* Light tint for backgrounds */
  --emerald-dark: #009B6A;   /* Dark tint for hover states */
  --lime: #58F095;           /* Lime - secondary accent */
  --lime-light: #EAFCE8;     /* Light tint for accents */
  --blue: #00A3E0;           /* MEGA Blue - Pantone 299 C */
  --blue-light: #E5F5FC;     /* Light blue tint */
  --pink: #F4A6D7;           /* MEGA Pink - Pantone 230 C */
  --pink-light: #FDF0F7;     /* Light pink tint */

  /* Legacy aliases */
  --teal: #58F095;
  --teal-light: #EAFCE8;

  /* Neutral colors */
  --black: #222223;          /* Pantone Neutral Black */
  --white: #FFFFFF;
  --gray-50: #FAFAFA;
  --gray-100: #F5F5F5;
  --gray-200: #E5E5E5;
  --gray-400: #A3A3A3;
  --gray-600: #525252;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
}

/* ===== RESET & BASE STYLES ===== */
html {
  scroll-behavior: smooth;
}

/* Skip link — visible only when focused */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100000;
  padding: 12px 20px;
  background: var(--emerald);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  border-radius: 0 0 4px 0;
}
.skip-link:focus {
  left: 0;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', -apple-system, sans-serif;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  min-width: 320px;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== NAV ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
/*  padding: 0 20px;*/
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 20px;
  margin-right: auto;
}

.nav-logo img {
  height: 41px;
  width: auto;
  display: block;
}

.nav-logo-text {
  font-family: 'Comfortaa', sans-serif;
  font-weight: 700;
  font-size: 32px;
  letter-spacing: 2px;
  text-transform: lowercase;
  color: var(--emerald);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 28px;
  padding-right: 16px;
}

.nav-links > a,
.nav-links .nav-more-group > a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--gray-600);
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-links > a:hover,
.nav-links > a.active,
.nav-links .nav-more-group > a:hover,
.nav-links .nav-more-group > a.active {
  color: var(--emerald);
}

/* ===== DROPDOWN ===== */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--gray-600);
  transition: color 0.2s;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.nav-dropdown-trigger:hover {
  color: var(--emerald);
}

.nav-chevron {
  transition: transform 0.2s;
  flex-shrink: 0;
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: white;
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  min-width: 120px;
  padding: 6px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  z-index: 200;
}

.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  background: white;
  border-left: 1px solid rgba(0, 0, 0, 0.06);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.nav-dropdown-item {
  display: block;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--gray-600) !important;
  transition: color 0.15s, background 0.15s;
  border-radius: 6px;
  white-space: nowrap;
}

.nav-dropdown-item:hover {
  color: var(--emerald) !important;
  background: rgba(0, 195, 137, 0.07);
}

/* Dropdowns controlled entirely by JS (.open class) */
.nav-dropdown.open .nav-dropdown-menu {
  display: block;
}

.nav-dropdown.open .nav-chevron {
  transform: rotate(180deg);
}

.nav-dropdown.open .nav-dropdown-trigger {
  color: var(--emerald);
}

.nav-cta {
  background: #F4A6D7;
  color: white !important;
  padding: 11px 26px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  margin-left: 4px;
}

.nav-cta:hover {
  background: #e87ec0;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(244, 166, 215, 0.45);
}

/* Inline CTA — visible while the condensed/mobile nav is active */
.nav-cta-inline {
  display: none;
  margin-left: auto;
  margin-right: 12px;
}

/* ===== MOBILE MENU BUTTON ===== */
.mobile-menu-btn {
  display: flex;
  background: none;
  border: none;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  margin-right: 14px;
  padding: 10px;
  gap: 5px;
  flex-direction: column;
  align-items: flex-end;
  box-shadow: none;
}

.mobile-menu-btn:focus,
.mobile-menu-btn:focus-visible {
  outline: none;
  box-shadow: none;
}

.mobile-menu-btn span {
  display: block;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: all 0.25s ease;
  width: 24px;
}

/* ===== BUTTONS ===== */
.btn-primary {
  background: var(--emerald);
  color: white;
  padding: 16px 36px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.25s;
  display: inline-block;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--emerald-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 195, 137, 0.4);
}

.btn-outline {
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 14px 36px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.25s;
  display: inline-block;
  background: transparent;
  cursor: pointer;
}

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

.btn-white {
  background: white;
  color: var(--emerald);
  padding: 16px 40px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: inline-block;
  transition: all 0.25s;
  border: none;
  cursor: pointer;
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
  background: white;
  color: var(--emerald);
  border: 2px solid var(--emerald);
  padding: 14px 32px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.25s;
  display: inline-block;
  cursor: pointer;
}

.btn-secondary:hover {
  background: var(--emerald-light);
}

/* ===== PROMO BAR ===== */
.promo-bar {
  display: block;
  background: var(--black);
  color: white;
  text-align: center;
  padding: 10px 24px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.promo-bar:hover,
.promo-bar:focus-visible {
  background: var(--teal);
  color: var(--black);
}

.promo-bar span {
  color: var(--teal);
  transition: color 0.2s ease;
}

.promo-bar:hover span,
.promo-bar:focus-visible span,
.promo-bar:hover .promo-bar-grippy,
.promo-bar:focus-visible .promo-bar-grippy {
  color: var(--black);
}

.promo-bar-dash {
  display: none;
}

.promo-bar .promo-bar-grippy {
  display: block;
  color: white;
}

/* ===== PAGE HERO ===== */
.page-hero {
  padding: 140px 0 80px;
  background: var(--black);
  color: white;
  position: relative;
  overflow: hidden;
}

.page-hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.07;
  background-image:
    linear-gradient(135deg, var(--emerald) 25%, transparent 25%),
    linear-gradient(225deg, var(--emerald) 25%, transparent 25%);
  background-size: 40px 20px;
  background-position: top center
}

.page-hero-content {
  position: relative;
  z-index: 2;
}

.page-hero .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.48);
  margin-bottom: 20px;
}

.page-hero .breadcrumb a {
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.2s ease;
}

.page-hero .breadcrumb a:hover {
  color: var(--teal);
}

.page-hero .crumb-sep {
  color: rgba(255, 255, 255, 0.2);
}

.page-hero .badge {
  display: inline-block;
  background: rgba(0, 195, 137, 0.15);
  color: var(--emerald);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
  border: 1px solid rgba(0, 195, 137, 0.3);
}

.page-hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 1px;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.1;
  max-width: 650px;
  margin-bottom: 20px;
  text-wrap: pretty;
}

.page-hero .subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.65);
  max-width: 550px;
  line-height: 1.7;
  text-wrap: pretty;
}

.page-hero .subtitle br {
  display: none;
}

/* ===== CLASS HEROES ===== */
.page-hero.class-hero {
  --hero-accent: var(--emerald);
  --hero-accent-rgb: 0, 195, 137;
  padding: 84px 0 68px;
  background:
    radial-gradient(circle at top right, rgba(var(--hero-accent-rgb), 0.16), transparent 34%),
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.06), transparent 20%),
    linear-gradient(145deg, #17191c 0%, #202428 52%, #15181b 100%);
}

.page-hero.class-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 28%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.18), transparent 42%);
  pointer-events: none;
}

.page-hero.class-hero .page-hero-pattern {
  opacity: 1;
  background-image:
    linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0%, rgba(255, 255, 255, 0) 42%),
    radial-gradient(circle at 78% 24%, rgba(var(--hero-accent-rgb), 0.18), transparent 20%),
    radial-gradient(circle at 18% 78%, rgba(var(--hero-accent-rgb), 0.10), transparent 26%);
  background-size: cover;
  background-position: center;
}

.class-hero-shell {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 28px;
}

.page-hero.class-hero .page-hero-content,
.class-hero-panel {
  position: relative;
  z-index: 2;
}

.page-hero.class-hero .page-hero-content {
  max-width: none;
}

.page-hero.class-hero .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.48);
}

.page-hero.class-hero .breadcrumb a {
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.2s ease;
}

.page-hero.class-hero .breadcrumb a:hover {
  color: var(--hero-accent);
}

.page-hero.class-hero .crumb-sep {
  color: rgba(255, 255, 255, 0.2);
}

.class-hero-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.page-hero.class-hero .badge {
  margin-bottom: 0;
  padding: 0;
  background: none;
  color: var(--hero-accent);
  border: 0;
  box-shadow: none;
}

.class-hero-note {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.class-hero-note::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--hero-accent);
  flex-shrink: 0;
  align-self: center;
  transform: translateY(-1px);
}

.page-hero.class-hero h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(54px, 17vw, 98px);
  line-height: 0.9;
  letter-spacing: 1.5px;
  text-shadow: 0 16px 36px rgba(0, 0, 0, 0.24);
}

.page-hero.class-hero .subtitle {
  max-width: 640px;
  margin-bottom: 30px;
  font-size: clamp(18px, 4vw, 22px);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
}

.class-hero-actions {
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  gap: 10px;
  margin-bottom: 0;
}

.class-hero-actions a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding-left: 28px;
  padding-right: 28px;
  letter-spacing: 0.8px;
  text-align: center;
}

@media (min-width: 640px) {
  .class-hero-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
  }

  .class-hero-actions a {
    display: inline-block;
    width: auto;
    min-width: unset;
    padding-left: 36px;
    padding-right: 36px;
    letter-spacing: 1px;
  }

  .class-hero-actions a:last-child {
    grid-column: unset;
  }
}

.page-hero.class-hero .btn-primary {
  background: var(--hero-accent);
  box-shadow: 0 18px 36px rgba(var(--hero-accent-rgb), 0.18);
}

.page-hero.class-hero .btn-primary:hover {
  background: var(--hero-accent);
  box-shadow: 0 20px 40px rgba(var(--hero-accent-rgb), 0.32);
}

.page-hero.class-hero .btn-outline {
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.07);
  color: white;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.page-hero.class-hero .btn-outline:hover {
  border-color: rgba(var(--hero-accent-rgb), 0.45);
  background: rgba(var(--hero-accent-rgb), 0.14);
  color: white;
}

.class-hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.class-hero-highlights li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: rgba(255, 255, 255, 0.7);
}

.class-hero-highlights li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--hero-accent);
}

.class-hero-panel {
  overflow: hidden;
  padding: 28px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.class-hero-panel-label,
.class-hero-panel-title,
.class-hero-panel-copy,
.class-hero-stats,
.class-hero-panel-footer {
  position: relative;
  z-index: 1;
}

.class-hero-panel-label {
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--hero-accent);
}

.class-hero-panel-title {
  margin-bottom: 12px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 32px;
  letter-spacing: 1px;
  line-height: 0.95;
  color: white;
}

.class-hero-panel-copy {
  margin-bottom: 22px;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.76);
}

.class-hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin-top: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.class-hero-stat {
  min-height: auto;
  padding: 18px 0 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.class-hero-stat:nth-child(-n+2) {
  border-top: 0;
}

.class-hero-stat:nth-child(odd) {
  padding-right: 20px;
}

.class-hero-stats--three .class-hero-stat:last-child {
  grid-column: 1 / -1;
  padding-left: 0;
  padding-right: 0;
  border-left: 0;
}

.class-hero-stat:nth-child(even) {
  padding-left: 20px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

@media (min-width: 720px) and (max-width: 899px) {
  .class-hero-stats--three {
    grid-template-columns: minmax(140px, 0.8fr) minmax(220px, 1.25fr) minmax(170px, 0.95fr);
  }

  .class-hero-stats--three .class-hero-stat {
    border-top: 0;
  }

  .class-hero-stats--three .class-hero-stat:nth-child(odd) {
    padding-right: 20px;
  }

  .class-hero-stats--three .class-hero-stat:nth-child(2),
  .class-hero-stats--three .class-hero-stat:nth-child(3) {
    padding-left: 20px;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
  }

  .class-hero-stats--three .class-hero-stat:last-child {
    grid-column: auto;
    padding-right: 0;
    padding-left: 20px;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
  }
}

.class-hero-stat-label {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.46);
}

.class-hero-stat-value {
  display: block;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  color: white;
}

.class-hero-panel-footer {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
}

.class-hero-panel-footer strong {
  color: white;
}

.class-hero--lagree {
  --hero-accent: var(--blue);
  --hero-accent-rgb: 0, 163, 224;
}

.class-hero--mat {
  --hero-accent: var(--pink);
  --hero-accent-rgb: 244, 166, 215;
}

.class-hero--tramp {
  --hero-accent: var(--lime);
  --hero-accent-rgb: 88, 240, 149;
}

/* ===== Soft class-hero aesthetic (Lagree, Tramp, Mat) ===== */
.class-hero--lagree,
.class-hero--tramp,
.class-hero--mat {
  --soft-bg: #c2eba5;
  --soft-overlay: 30, 70, 0;
  --soft-accent: #2db35a;
  --soft-accent-hover: #1f8e44;
  --soft-pattern-rotate: 173deg;
  --soft-pattern-sat: 1.0;
  --soft-panel-bg: linear-gradient(180deg, rgba(250, 254, 245, 0.95), rgba(244, 251, 232, 0.92));
}

.page-hero.class-hero.class-hero--lagree,
.page-hero.class-hero.class-hero--tramp,
.page-hero.class-hero.class-hero--mat {
  background:
    radial-gradient(ellipse at 50% 50%, rgba(255, 255, 255, 0.12) 0%, transparent 60%),
    var(--soft-bg);
}

.page-hero.class-hero.class-hero--lagree::before,
.page-hero.class-hero.class-hero--tramp::before,
.page-hero.class-hero.class-hero--mat::before {
  background: linear-gradient(180deg, rgba(var(--soft-overlay), 0.06) 0%, rgba(var(--soft-overlay), 0.18) 100%);
}

.page-hero.class-hero.class-hero--lagree .page-hero-pattern,
.page-hero.class-hero.class-hero--tramp .page-hero-pattern,
.page-hero.class-hero.class-hero--mat .page-hero-pattern {
  opacity: 1;
  background-image: url('images/mega_pattern_repeat_strip.png');
  background-size: 100% auto;
  background-repeat: repeat-y;
  background-position: center top;
  background-color: transparent;
  filter: hue-rotate(var(--soft-pattern-rotate)) saturate(var(--soft-pattern-sat));
}

.page-hero.class-hero.class-hero--lagree .breadcrumb,
.page-hero.class-hero.class-hero--tramp .breadcrumb,
.page-hero.class-hero.class-hero--mat .breadcrumb {
  color: rgba(255, 255, 255, 0.78);
}

.page-hero.class-hero.class-hero--lagree .breadcrumb a,
.page-hero.class-hero.class-hero--tramp .breadcrumb a,
.page-hero.class-hero.class-hero--mat .breadcrumb a {
  color: #fff;
}

.page-hero.class-hero.class-hero--lagree .crumb-sep,
.page-hero.class-hero.class-hero--tramp .crumb-sep,
.page-hero.class-hero.class-hero--mat .crumb-sep {
  color: rgba(255, 255, 255, 0.55);
}

.page-hero.class-hero.class-hero--lagree .badge,
.page-hero.class-hero.class-hero--tramp .badge,
.page-hero.class-hero.class-hero--mat .badge {
  color: #fff;
}

.page-hero.class-hero.class-hero--lagree .class-hero-note,
.page-hero.class-hero.class-hero--tramp .class-hero-note,
.page-hero.class-hero.class-hero--mat .class-hero-note {
  color: rgba(255, 255, 255, 0.95);
}

.page-hero.class-hero.class-hero--lagree .class-hero-note::before,
.page-hero.class-hero.class-hero--tramp .class-hero-note::before,
.page-hero.class-hero.class-hero--mat .class-hero-note::before {
  background: #fff;
}

.page-hero.class-hero.class-hero--lagree h1,
.page-hero.class-hero.class-hero--tramp h1,
.page-hero.class-hero.class-hero--mat h1 {
  color: #fff;
  text-shadow: 0 2px 14px rgba(var(--soft-overlay), 0.22);
}

.page-hero.class-hero.class-hero--lagree .subtitle,
.page-hero.class-hero.class-hero--tramp .subtitle,
.page-hero.class-hero.class-hero--mat .subtitle {
  color: #fff;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(var(--soft-overlay), 0.25);
}

.page-hero.class-hero.class-hero--lagree .btn-primary,
.page-hero.class-hero.class-hero--tramp .btn-primary,
.page-hero.class-hero.class-hero--mat .btn-primary {
  background: #fff;
  color: var(--soft-accent);
  box-shadow: 0 10px 24px rgba(var(--soft-overlay), 0.18);
}

.page-hero.class-hero.class-hero--lagree .btn-primary:hover,
.page-hero.class-hero.class-hero--tramp .btn-primary:hover,
.page-hero.class-hero.class-hero--mat .btn-primary:hover {
  background: #fff;
  color: var(--soft-accent-hover);
  box-shadow: 0 14px 30px rgba(var(--soft-overlay), 0.28);
}

.page-hero.class-hero.class-hero--lagree .btn-outline,
.page-hero.class-hero.class-hero--tramp .btn-outline,
.page-hero.class-hero.class-hero--mat .btn-outline {
  border-color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.page-hero.class-hero.class-hero--lagree .btn-outline:hover,
.page-hero.class-hero.class-hero--tramp .btn-outline:hover,
.page-hero.class-hero.class-hero--mat .btn-outline:hover {
  border-color: #fff;
  background: #fff;
  color: var(--soft-accent);
}

.page-hero.class-hero.class-hero--lagree .class-hero-panel,
.page-hero.class-hero.class-hero--tramp .class-hero-panel,
.page-hero.class-hero.class-hero--mat .class-hero-panel {
  background: var(--soft-panel-bg);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 16px 36px rgba(var(--soft-overlay), 0.14);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.page-hero.class-hero.class-hero--lagree .class-hero-panel-label,
.page-hero.class-hero.class-hero--tramp .class-hero-panel-label,
.page-hero.class-hero.class-hero--mat .class-hero-panel-label {
  color: var(--soft-accent);
}

.page-hero.class-hero.class-hero--lagree .class-hero-panel-title,
.page-hero.class-hero.class-hero--tramp .class-hero-panel-title,
.page-hero.class-hero.class-hero--mat .class-hero-panel-title {
  color: var(--black);
}

.page-hero.class-hero.class-hero--lagree .class-hero-panel-copy,
.page-hero.class-hero.class-hero--tramp .class-hero-panel-copy,
.page-hero.class-hero.class-hero--mat .class-hero-panel-copy {
  color: rgba(34, 34, 35, 0.78);
}

.page-hero.class-hero.class-hero--lagree .class-hero-stats,
.page-hero.class-hero.class-hero--tramp .class-hero-stats,
.page-hero.class-hero.class-hero--mat .class-hero-stats {
  border-top-color: rgba(0, 0, 0, 0.10);
}

.page-hero.class-hero.class-hero--lagree .class-hero-stat,
.page-hero.class-hero.class-hero--tramp .class-hero-stat,
.page-hero.class-hero.class-hero--mat .class-hero-stat {
  border-top-color: rgba(0, 0, 0, 0.08);
}

.page-hero.class-hero.class-hero--lagree .class-hero-stat:nth-child(even),
.page-hero.class-hero.class-hero--tramp .class-hero-stat:nth-child(even),
.page-hero.class-hero.class-hero--mat .class-hero-stat:nth-child(even) {
  border-left-color: rgba(0, 0, 0, 0.08);
}

.page-hero.class-hero.class-hero--lagree .class-hero-stat-label,
.page-hero.class-hero.class-hero--tramp .class-hero-stat-label,
.page-hero.class-hero.class-hero--mat .class-hero-stat-label {
  color: rgba(34, 34, 35, 0.55);
}

.page-hero.class-hero.class-hero--lagree .class-hero-stat-value,
.page-hero.class-hero.class-hero--tramp .class-hero-stat-value,
.page-hero.class-hero.class-hero--mat .class-hero-stat-value {
  color: var(--black);
}

.page-hero.class-hero.class-hero--lagree .class-hero-panel-footer,
.page-hero.class-hero.class-hero--tramp .class-hero-panel-footer,
.page-hero.class-hero.class-hero--mat .class-hero-panel-footer {
  border-top-color: rgba(0, 0, 0, 0.1);
  color: rgba(34, 34, 35, 0.78);
}

.page-hero.class-hero.class-hero--lagree .class-hero-panel-footer strong,
.page-hero.class-hero.class-hero--tramp .class-hero-panel-footer strong,
.page-hero.class-hero.class-hero--mat .class-hero-panel-footer strong {
  color: var(--black);
}

/* ===== HERO (Homepage) ===== */
.hero {
  position: relative;
  height: auto;
  min-height: 620px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: #f2a4d2;
  background-image: url('images/mega_pattern_repeat_strip.png');
  background-size: 100% auto;
  background-repeat: repeat-y;
  background-position: center top;
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

/* Brand-emerald scrim: green-tinted wash + soft left fade, keeps white text legible */
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 150, 103, 0.50) 0%, rgba(0, 150, 103, 0.10) 65%, transparent 70%),
    radial-gradient(ellipse at 50% 45%, rgba(2, 58, 43, 0.12) 0%, rgba(2, 58, 43, 0.54) 75%),
    linear-gradient(180deg, rgba(2, 58, 43, 0.28) 0%, rgba(2, 58, 43, 0.46) 100%);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(255, 255, 255, 0.10) 0%, transparent 60%),
    linear-gradient(180deg, rgba(120, 35, 90, 0.10) 0%, rgba(120, 35, 90, 0.18) 100%);
  pointer-events: none;
}

/* Honor reduced-motion: drop the video, fall back to the poster still */
@media (prefers-reduced-motion: reduce) {
  .hero-video {
    display: none;
  }
  .hero-bg {
    background-color: #1a0a16;
    background-image: url('video/hero-poster.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px;
  width: 100%;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  color: var(--teal);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero h1 {
  font-family: 'Inter', system-ui, sans-serif;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  line-height: 1.4;
  margin: 0 0 18px;
}

.hero-tagline {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 1px;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.05;
  color: white;
  margin: 0 0 20px;
}

.hero-tagline em,
.hero h1 em {
  font-style: normal;
  color: #fff;
}

.hero-sub {
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  line-height: 1.6;
  max-width: 460px;
  margin: 0 auto 36px;
  text-shadow: 0 1px 2px rgba(107, 31, 74, 0.25);
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}

.hero .btn-primary {
  background: #fff;
  color: var(--emerald);
}

.hero .btn-primary:hover {
  background: #fff;
  color: var(--emerald-dark);
  box-shadow: 0 8px 24px rgba(107, 31, 74, 0.18);
}

.hero .btn-outline {
  border-color: #fff;
  color: #fff;
}

.hero .btn-outline:hover {
  border-color: #fff;
  color: var(--emerald);
  background: #fff;
}

/* ===== SECTION LABELS & TITLES ===== */
.section-label {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--emerald);
  margin-bottom: 12px;
  text-wrap: pretty;
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 1px;
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.1;
  text-wrap: pretty;
}

.section-subtitle {
  font-size: 17px;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 24px;
  text-wrap: pretty;
}

.section-desc {
  font-size: 17px;
  color: var(--gray-600);
  max-width: 560px;
  line-height: 1.7;
  margin: 0 auto 40px;
  text-wrap: pretty;
}

.body-text {
  font-size: 16px;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 20px;
  text-wrap: pretty;
  max-width: 32ch;
}

/* ===== FORMAT CARDS (Homepage) ===== */
.formats {
  padding: 72px 0;
  background: var(--gray-100);
  text-align: center;
}

.format-grid {
  display: grid;
  grid-templatecolumns: 1fr;
  gap: 28px;
}

.format-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s;
  cursor: pointer;
  border: 2px solid transparent;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
}

.format-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  border-color: var(--emerald);
}

.format-img {
  height: 380px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.format-card:hover .format-img img {
  transform: scale(1.04);
}

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

.format-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--emerald);
  color: var(--white);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  z-index: 1;
}

.format-body {
  padding: 32px 28px 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.format-body h3 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--black);
  letter-spacing: -0.3px;
}

.format-body p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.65;
  margin-bottom: 20px;
  flex: 1;
  text-wrap: pretty;
}

.format-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
}

.format-tag {
  background: var(--gray-100);
  color: var(--gray-600);
  font-size: 10px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  border: 1px solid var(--gray-200);
}

.format-link {
  display: inline-block;
  text-align: center;
  background: var(--emerald);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin: 0 auto;
  min-width: 180px;
  padding: 13px 20px;
  border-radius: 100px;
  transition: background 0.2s;
  transition: gap 0.2s;
}



.format-card:hover .format-link {
  background: var(--emerald-dark);
}

/* ===== BENEFITS GRID ===== */
.benefits {
  padding: 80px 0;
  background: var(--gray-50);
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 48px;
}

.benefit-card {
  background: white;
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  transition: all 0.3s;
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.benefit-icon {
  width: 56px;
  height: 56px;
  background: var(--emerald-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 24px;
}

.benefit-card h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 8px;
}

.benefit-card p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.6;
  text-wrap: pretty;
  max-width: 28ch;
  margin-inline: auto;
}

/* ===== FEATURES SECTION ===== */
.features-section {
  padding: 80px 0;
  background: var(--emerald-light);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 48px;
}

.feature-card {
  background: var(--gray-50);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  transition: all 0.3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: var(--emerald-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 24px;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.6;
  text-wrap: pretty;
}

/* ===== EXPECT SECTION ===== */
.expect {
  padding: 80px 0;
  background: var(--pink-light);
}

.expect-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 48px;
}

.expect-step {
  text-align: center;
  padding: 24px;
  text-wrap: pretty;
}

.expect-num {
  width: 48px;
  height: 48px;
  background: var(--teal);
  color: var(--black);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 900;
  margin: 0 auto 16px;
}

.expect-step h3 {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 8px;
}

.expect-step p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.6;
  text-wrap: pretty;
}

/* ===== VIDEO MODAL TRIGGER ===== */
.machine-video-trigger {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0 200px; /* shift center above the caption overlay */
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.machine-video-trigger:hover {
  background: rgba(0,0,0,0.15);
}

.play-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  color: #222;
  padding-left: 3px; /* optical offset for play triangle */
  transition: transform 0.2s, background 0.2s;
}

.machine-video-trigger:hover .play-circle {
  transform: scale(1.08);
  background: #fff;
}

/* ===== VIDEO MODAL ===== */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.video-modal[hidden] {
  display: none;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.85);
}

.video-modal-box {
  position: relative;
  width: 100%;
  max-width: 860px;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}

.video-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  z-index: 1;
  background: rgba(0,0,0,0.5);
  border: none;
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.video-modal-close:hover {
  background: rgba(0,0,0,0.8);
}

.video-modal-player {
  display: block;
  width: 100%;
  height: auto;
}

/* ===== WHAT SECTION ===== */
.what-section {
  padding: 48px 0 56px;
}

.what-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

.what-section-lagree,
.what-section-tramp {
  padding: 64px 0 72px;
  background:
    radial-gradient(circle at top left, rgba(88, 240, 149, 0.18), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f7fbf9 100%);
    text-wrap: pretty;
}

.what-section-mat {
  padding: 64px 0 72px;
  background:
    radial-gradient(circle at top left, rgba(244, 166, 215, 0.15), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #fdf7fb 100%);
}

.what-grid-lagree,
.what-grid-tramp,
.what-grid-mat {
  gap: 40px;
  align-items: start;
}

.what-copy {
  position: relative;
}

.what-lead {
  max-width: 24ch;
  margin: 0 0 24px;
  font-size: clamp(24px, 4vw, 30px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-wrap: pretty;
}

.what-prose {
  display: grid;
  gap: 18px;
}

.what-section-lagree .body-text,
.what-section-tramp .body-text,
.what-section-mat .body-text {
  max-width: 60ch;
  margin-bottom: 0;
}

/* ===== MACHINE VISUAL ===== */
.machine-visual {
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  margin: 0;
  min-height: 360px;
  background: var(--black);
  box-shadow: 0 24px 60px rgba(17, 17, 17, 0.14);
}

.machine-visual-lagree,
.machine-visual-tramp,
.machine-visual-mat {
  min-height: 560px;
  border-radius: 32px;
  isolation: isolate;
  box-shadow: 0 28px 70px rgba(17, 17, 17, 0.18);
}

.machine-visual-lagree.machine-visual--sm,
.machine-visual-tramp.machine-visual--sm,
.machine-visual-mat.machine-visual--sm {
  min-height: 380px;
  max-width: 420px;
}

.machine-visual-lagree::after,
.machine-visual-tramp::after,
.machine-visual-mat::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 17, 17, 0.04) 6%, rgba(17, 17, 17, 0.18) 52%, rgba(17, 17, 17, 0.56) 100%);
  z-index: 1;
}

.machine-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.machine-visual-lagree .machine-image,
.machine-visual-tramp .machine-image,
.machine-visual-mat .machine-image {
  position: absolute;
  inset: 0;
  min-height: 100%;
}

.machine-caption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  padding: 20px 22px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(17, 17, 17, 0.0) 0%, rgba(17, 17, 17, 0.4) 100%);
  backdrop-filter: blur(8px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
  z-index: 3;
  max-width: 460px;

}

.machine-label {
  background: var(--teal);
  color: var(--black);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
  display: inline-flex;
}

.machine-title {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 1px;
  font-size: 32px;
  color: white;
  margin-bottom: 8px;
}

.machine-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.82);
  max-width: 420px;
  line-height: 1.6;
  text-wrap: pretty;
  margin: 0;
}

.heated-callout {
  background: rgba(0, 195, 137, 0.10);
  border: 1px solid rgba(0, 195, 137, 0.25);
  border-radius: 14px;
  padding: 18px 20px;
  margin-top: 20px;
  font-size: 14px;
  color: var(--black);
  line-height: 1.6;
}

/* ===== LOCATIONS ===== */
.locations {
  padding: 50px 0;
  background: var(--black);
  color: white;
  text-align: center;
}

.locations .section-label {
  color: var(--teal);
}

.locations .section-title {
  color: white;
}

.locations .section-desc {
  color: rgba(255, 255, 255, 0.6);
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  margin: 0 auto;
  max-width: 760px;
  align-items: stretch;
}

.location-card {
  position: relative;
  border-radius: 20px;
  padding: 0;
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: left;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 400px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.location-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.6);
}

.location-card-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 28px 32px 32px;
  margin-top: auto;
}

.location-name {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.0;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.location-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 11px 5px 9px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
}

.location-status.open {
  background: rgba(88, 240, 149, 0.18);
  color: var(--teal);
  border: 1px solid rgba(88, 240, 149, 0.35);
}

.location-status.open::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  animation: location-pulse 2s infinite;
}

@keyframes location-pulse {
  0% { box-shadow: 0 0 0 0 rgba(88, 240, 149, 0.6); }
  70% { box-shadow: 0 0 0 6px rgba(88, 240, 149, 0); }
  100% { box-shadow: 0 0 0 0 rgba(88, 240, 149, 0); }
}

.location-address {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

.location-hours {
  display: inline-flex;
  flex-direction: column;
  gap: 10px;
  margin: 28px auto 32px;
  padding: 22px 28px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  align-self: center;
}

.location-hours-row {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.9);
  text-align: left;
}

.location-hours-row span:first-child {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  min-width: 90px;
  flex-shrink: 0;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 13px;
  align-self: center;
}

.location-hours-row span:last-child {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.location-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 14px;
  transition: gap 0.2s;
}

.location-card:hover .location-cta {
  gap: 12px;
}

.location-cta-arrow {
  display: inline-block;
  font-size: 18px;
  line-height: 1;
  transition: transform 0.25s;
}

.location-card:hover .location-cta-arrow {
  transform: translateX(4px);
}

/* ===== FIRST TIMER ===== */
.first-timer {
  padding: 50px 0;
  background: linear-gradient(135deg, var(--emerald-light) 0%, #FFF 50%, var(--teal-light) 100%);
}

.first-timer .container {
  max-width: 900px;
}

.ft-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.ft-content {
  max-width: 380px;
  margin: 0 auto;
}

.ft-content .section-label {
  color: var(--emerald);
}

.ft-price {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 24px 0;
}

.ft-price-amount {
  font-size: 56px;
  font-weight: 900;
  color: var(--emerald);
  line-height: 0.95;
}

.ft-price-detail {
  font-size: 16px;
  color: var(--gray-600);
  line-height: 1.35;
  max-width: 26ch;
  padding-top: 10px;
  text-wrap: balance;
}

.ft-perks {
  list-style: none;
  margin: 24px 0 36px;
}

.ft-perks li {
  padding: 10px 0;
  font-size: 15px;
  color: var(--gray-600);
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--gray-200);
}

.ft-perks li:last-child {
  border-bottom: none;
}

.ft-check {
  width: 24px;
  height: 24px;
  background: var(--teal-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  font-size: 14px;
  flex-shrink: 0;
}

.ft-visual {
  background: var(--black);
  border-radius: 24px;
  padding: 48px;
  color: white;
  text-align: center;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  max-width: 400px;
  margin: 0 auto;
}

.ft-visual-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 15px,
    var(--emerald) 15px,
    var(--emerald) 17px
  );
}

.ft-visual-content {
  position: relative;
  z-index: 2;
}

.ft-visual h3 {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 1px;
  font-size: 36px;
  margin-bottom: 12px;
}

.ft-visual p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 15px;
  margin-bottom: 32px;
  text-wrap: pretty;
}

.ft-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0 auto;
  text-align: left;
  width: 100%;
  max-width: 300px;
}

.ft-step {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ft-step-num {
  width: 32px;
  height: 32px;
  background: var(--emerald);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  flex-shrink: 0;
}

.ft-step-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  text-wrap: pretty;
}

/* ===== SOCIAL PROOF ===== */
.social-proof {
  padding: 50px 0;
  background: var(--gray-50);
}

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 25px;
}

.review-card {
  background: white;
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.review-stars {
  color: #F59E0B;
  font-size: 16px;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.review-text {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 16px;
  font-style: italic;
}

.review-author {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.review-source {
  font-size: 12px;
  color: var(--gray-400);
  margin-top: 2px;
}

.reviews-aggregate {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
  margin-bottom: 32px;
  justify-content: center;
}

.reviews-aggregate-stars {
  color: #F59E0B;
  font-size: 20px;
  letter-spacing: 2px;
  line-height: 1;
}

.reviews-aggregate-score {
  font-size: 20px;
  font-weight: 800;
  color: var(--black);
}

.reviews-aggregate-count {
  font-size: 14px;
  color: var(--gray-600);
}

.reviews-aggregate-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--emerald);
  letter-spacing: 0.3px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.reviews-aggregate-link:hover {
  color: var(--emerald-dark);
}

/* ===== APP DOWNLOAD SECTION ===== */
.app-section {
  padding: 60px 0;
  background: var(--white);
  overflow: hidden;
}

.app-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: center;
  max-width: 720px;
  margin: 0 auto;  
}

.app-content {
  max-width: 385px;
}

.app-icon-wrap {
  margin-bottom: 20px;
}

.app-icon-img {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
}

.app-headline {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 54px;
  line-height: 1;
  letter-spacing: 1px;
  color: var(--black);
  margin: 8px 0 20px;
}

.app-desc {
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-600);
  max-width: 400px;
  margin: 0 auto 24px;
  text-wrap: pretty;
}

.app-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 auto 32px;
}

.app-stars {
  color: #FFB800;
  font-size: 18px;
  letter-spacing: 2px;
}

.app-rating-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-600);
}

.app-store-btn {
  display: inline-block;
  transition: opacity 0.2s, transform 0.2s;
}

.app-store-btn svg {
  display: block;
  height: 48px;
  width: auto;
}

.app-store-btn:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

.app-screenshots {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.app-screen-main {
  width: 100%;
  max-width: 260px;
  display: block;
  border-radius: 0;
  filter: drop-shadow(0 16px 40px rgba(0, 0, 0, 0.16));
}

@media (max-width: 700px) {
  .app-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .app-screenshots {
    display: none;
  }

  .app-section {
    padding: 48px 0;
  }
  
  .app-rating {
    justify-content: center;
  }  

  .app-content {
    max-width: 100%;
    text-align: center;
  }

  .app-rating {
    justify-content: center;
  }

  .app-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .app-screenshots {
    justify-content: center;
  }

  .app-headline {
    font-size: 42px;
  }

  .app-screen-main {
    max-width: 240px;
  }
}

/* ===== CTA SECTION & BAND ===== */
.cta-section,
.cta-band {
  padding: 50px 0;
  background: var(--emerald);
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.cta-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 20px,
    white 20px,
    white 22px
  );
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-two-col {
  --cta-max-width: 1000px;
  max-width: var(--cta-max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 0 20px;
  flex-direction: column;
  text-align: center;
}

.cta-two-col.cta-w-700  { --cta-max-width: 700px; }
.cta-two-col.cta-w-750  { --cta-max-width: 750px; }
.cta-two-col.cta-w-800  { --cta-max-width: 800px; }
.cta-two-col.cta-w-820  { --cta-max-width: 820px; }
.cta-two-col.cta-w-900  { --cta-max-width: 900px; }
.cta-two-col.cta-w-1100 { --cta-max-width: 1100px; }
.cta-two-col.cta-w-1200 { --cta-max-width: 1200px; }
.cta-two-col.cta-w-full { --cta-max-width: none; }

.cta-two-col .cta-text {
  text-align: center;
}

.cta-two-col .cta-text {
/*  text-align: left;*/
}

.cta-two-col .cta-text h2 {
  margin-bottom: 6px;
}

.cta-two-col .cta-text p {
  margin-bottom: 0;
/*  text-align: left;*/
  text-wrap: pretty;
}

.cta-two-col .cta-action {
  flex-shrink: 0;
}

.cta-section h2,
.cta-band h2 {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 1px;
  font-size: 48px;
  line-height: 48px;
  margin-bottom: 16px;
  text-align: center;
}

.cta-section p,
.cta-band p {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 36px;
  text-align: center;
  text-wrap: pretty;
}

/* ===== FAQ ===== */
.faq {
  padding: 80px 0;
  background: var(--pink-light);
}

.faq-list {
  max-width: 700px;
  margin: 48px auto 0;
}

.faq-item {
  background: white;
  border: 1px solid rgba(34, 34, 35, 0.08);
  border-radius: 16px;
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.faq-q {
  width: 100%;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  text-align: left;
  color: var(--black);
  background: transparent;
  border: 0;
  appearance: none;
  font-family: inherit;
  line-height: 1.4;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.faq-q:hover {
  background: var(--gray-50);
}

.faq-q:focus-visible {
  outline: none;
  background: var(--gray-50);
  box-shadow: inset 0 0 0 2px rgba(0, 195, 137, 0.28);
}

.faq-a {
  display: none;
  padding: 18px 24px 20px;
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.7;
  text-wrap: pretty;
}

.faq-item.open .faq-a {
  display: block;
  border-top: 1px solid rgba(34, 34, 35, 0.08);
}

.faq-toggle {
  font-size: 20px;
  color: var(--emerald);
  font-weight: 500;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--emerald-light);
  transition: background 0.2s ease, color 0.2s ease;
}

.faq-item.open .faq-toggle {
  background: var(--emerald);
  color: var(--white);
}

.faq--format .faq-item:hover,
.faq--format .faq-item:focus-within {
  transform: translateY(-1px);
  border-color: rgba(0, 195, 137, 0.22);
  box-shadow: 0 10px 22px rgba(0, 195, 137, 0.1);
}

.faq--format .faq-item:hover .faq-toggle,
.faq--format .faq-item:focus-within .faq-toggle {
  background: rgba(0, 195, 137, 0.18);
  color: var(--emerald-dark);
}

.faq--format .faq-item.open:hover .faq-toggle,
.faq--format .faq-item.open:focus-within .faq-toggle {
  background: var(--emerald);
  color: var(--white);
}

.faq--format .faq-item.open {
  border-color: rgba(0, 195, 137, 0.3);
  box-shadow: 0 12px 28px rgba(0, 195, 137, 0.12);
}

.faq--format .faq-item.open .faq-q {
  background: linear-gradient(180deg, #fbfffd 0%, #f3fcf8 100%);
  color: var(--emerald-dark);
}

.faq--format .faq-item.open .faq-a {
  background: var(--white);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--black);
  color: white;
  padding: 30px 0 50px;
}

.footer .nav-logo {
  padding: 0;
  margin-right: 0;
  margin-bottom: 0;
}

.footer .nav-logo img {
  height: 72px;
  width: auto;
}

.footer h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  transition: all 0.2s;
}

.footer-social a:hover {
  background: var(--emerald);
  color: white;
}

.footer-hub {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding-bottom: 28px;
}

.footer-brand .nav-logo {
  padding: 0;
  margin-right: 0;
}

.footer-tagline {
  max-width: 32ch;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.62);
}

.footer-sections {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  text-align: center;
}

/* On the base 2-col grid, More (3rd) and Contact (4th) each take a full-width row */
.footer-sections .footer-section:nth-child(n+3) {
  grid-column: 1 / -1;
}

.footer-section {
  padding: 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.footer-section h4 {
  margin-bottom: 12px;
  letter-spacing: 2.6px;
}


.footer-resource-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.footer-resource-list a {
  font-size: 16px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.2s ease;
}

.footer-resource-list a:hover {
  color: #fff;
}

/* More: 2-column grid when its section spans full width (mobile/tablet). */
.footer-resource-list.more {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
  justify-items: center;
  max-width: 360px;
  margin: 0 auto;
}

.contact-section h4 {
/*  display: inline;*/
}
.footer-section h4 em {
  display: none;
  font-style: normal;
}
.footer-resource-list.contact {
/*  display: inline;*/
}

.footer-resource-list.contact a {
  font-size: 14px;
}

.footer-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 24px 0 8px;
  margin-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.footer-meta .footer-social {
  justify-content: center;
  gap: 12px;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 13px;
  line-height: 1;
}
.footer-legal a {
  padding: 4px 14px;
  color: rgba(255, 255, 255, 0.62);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-legal a:hover {
  color: white;
}
.footer-legal a:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-copy {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.42);
  line-height: 1.45;
}

/* Compact footer (location & format pages with footer-inner) */
.footer-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 48px 0 24px;
  gap: 20px;
  text-align: center;
}

.footer-links-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-row a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s;
}

.footer-links-row a:hover {
  color: var(--emerald);
}

/* ===== INTRO OFFER ===== */
.intro-offer {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--emerald-light) 0%, rgba(0, 195, 137, 0.08) 100%);
}

.intro-card {
  background: white;
  border: 2px solid var(--emerald);
  border-radius: 20px;
  padding: 48px;
  text-align: center;
  position: relative;
}

.intro-card .badge {
  display: inline-block;
  background: var(--emerald);
  color: white;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.intro-card .price {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 1px;
  font-size: 48px;
  font-weight: 700;
  color: var(--emerald);
  margin: 16px 0;
}

.intro-card .desc {
  font-size: 18px;
  color: var(--gray-600);
  margin: 24px 0;
  line-height: 1.6;
}

.intro-card .details {
  font-size: 15px;
  color: var(--gray-600);
  margin: 20px 0 32px;
}

.intro-card .details strong {
  color: var(--black);
}

/* ===== PRICING GRID ===== */
.pricing-section {
  padding: 80px 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}

.pricing-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s;
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
  border-color: var(--emerald);
}

.pricing-card.featured {
  border: 2px solid var(--emerald);
  background: rgba(0, 195, 137, 0.02);
}

.pricing-card.featured:hover {
  box-shadow: 0 12px 36px rgba(0, 195, 137, 0.3);
}

.pricing-card .badge,
.pack-card .badge,
.membership-box .badge {
  display: inline-block;
  background: var(--emerald);
  color: white;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 100px;
  margin-bottom: 16px;
  width: fit-content;
  white-space: nowrap;
}

.pricing-card h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 8px;
}

.pricing-card .price {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 1px;
  font-size: 36px;
  font-weight: 700;
  color: var(--emerald);
  margin: 12px 0;
}

.pricing-card .per-class {
  font-size: 13px;
  color: var(--gray-400);
  margin-bottom: 24px;
  font-weight: 600;
}

.pricing-card .classes-text {
  font-size: 14px;
  color: var(--gray-600);
  margin-bottom: 24px;
  border-bottom: 1px solid var(--gray-200);
  padding-bottom: 24px;
}

.pricing-card .btn-primary {
  margin-top: auto;
}

/* ===== MEMBERSHIP GRID ===== */
.membership-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 48px;
}

.membership-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s;
  position: relative;
}

.membership-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
  border-color: var(--teal);
}

.membership-card.featured {
  border: 2px solid var(--teal);
  background: rgba(88, 240, 149, 0.02);
}

.membership-card.featured:hover {
  box-shadow: 0 12px 36px rgba(88, 240, 149, 0.3);
}

.membership-card .badge {
  display: inline-block;
  background: var(--teal);
  color: var(--black);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
  width: fit-content;
}

.membership-card h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 8px;
}

.membership-card .price {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 1px;
  font-size: 40px;
  font-weight: 700;
  color: var(--teal);
  margin: 12px 0;
}

.membership-card .price-detail {
  font-size: 13px;
  color: var(--gray-400);
  margin-bottom: 24px;
  font-weight: 600;
}

.membership-card .benefits {
  list-style: none;
  margin: 24px 0;
  flex-grow: 1;
}

.membership-card .benefits li {
  font-size: 14px;
  color: var(--gray-600);
  margin-bottom: 12px;
  padding-left: 24px;
  position: relative;
}

.membership-card .benefits li:before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}

.membership-card .cta-group {
  margin-top: 24px;
  border-top: 1px solid var(--gray-200);
  padding-top: 24px;
}

.membership-card .btn-primary {
}

/* ===== COMPARISON TABLE ===== */
.comparison-section {
  padding: 80px 0;
  background: var(--gray-50);
}

.comparison-header {
  text-align: center;
  margin-bottom: 48px;
}

.comparison-tabs {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
}

.comparison-tab {
  padding: 12px 28px;
  border: 1px solid var(--gray-200);
  border-radius: 100px;
  background: white;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.2s;
}

.comparison-tab.active {
  background: var(--emerald);
  color: white;
  border-color: var(--emerald);
}

.comparison-table {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.comparison-row {
  display: grid;
  grid-template-columns: 1fr;
  border-bottom: 1px solid var(--gray-200);
}

.comparison-row:last-child {
  border-bottom: none;
}

.comparison-cell {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  font-size: 14px;
}

.comparison-row.header .comparison-cell {
  background: var(--black);
  color: white;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1px;
  padding: 16px 24px;
}

.comparison-cell.feature {
  font-weight: 600;
  color: var(--black);
}

.check {
  color: var(--teal);
  font-weight: 700;
  font-size: 18px;
}

.cross {
  color: var(--gray-200);
  font-weight: 700;
  font-size: 18px;
}

/* ===== ADD-ONS ===== */
.addons-section {
  padding: 80px 0;
}

.addons-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 48px;
}

.addon-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 40px 32px;
  text-align: center;
  transition: all 0.3s;
}

.addon-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border-color: var(--emerald);
}

.addon-icon {
  font-size: 40px;
  margin-bottom: 16px;
}

.addon-card h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 8px;
}

.addon-card .price {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 1px;
  font-size: 32px;
  font-weight: 700;
  color: var(--emerald);
  margin: 12px 0;
}

.addon-card p {
  font-size: 14px;
  color: var(--gray-600);
  margin-bottom: 20px;
  text-wrap: pretty;
}

.addon-card .btn-primary {
  width: 100%;
}

/* ===== STUDIO DETAILS (Location Pages) ===== */
.studio-details {
  padding: 40px 0;
  background: var(--gray-50);
}

.details-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}

.details-card {
  background: white;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.details-card h2 {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 1px;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 32px;
}

.detail-item {
  margin-bottom: 28px;
}

.detail-item:last-child {
  margin-bottom: 0;
}

.detail-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--emerald);
  margin-bottom: 8px;
}

.detail-value {
  font-size: 16px;
  color: var(--gray-600);
  line-height: 1.7;
}

.detail-value a {
  color: var(--emerald);
  font-weight: 600;
  transition: color 0.2s;
}

.detail-value a:hover {
  color: var(--emerald-dark);
}

.hours-list {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.8;
}

.map-container {
  background: white;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
}

.map-embed {
  width: 100%;
  margin-bottom: 20px;
  border-radius: 12px;
  overflow: hidden;
}

.map-embed iframe {
  display: block;
  width: 100%;
  min-height: 300px;
}

.map-details {
  text-align: center;
  padding: 0 16px 8px;
}

.map-icon {
  font-size: 56px;
  margin-bottom: 16px;
}

.map-label {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--black);
}

.map-address {
  font-size: 14px;
  color: var(--gray-600);
  margin-bottom: 24px;
  line-height: 1.6;
}

.btn-map {
  background: var(--emerald);
  color: white;
  padding: 12px 32px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: inline-block;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}

.btn-map:hover {
  background: var(--emerald-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 195, 137, 0.3);
}

/* ===== STUDIO GALLERY ===== */
.studio-gallery {
  padding: 80px 0;
  background: white;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.gallery-item {
  aspect-ratio: 1;
  border-radius: 16px;
  overflow: hidden;
  background: var(--gray-50);
}

.gallery-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--emerald-light) 0%, var(--teal-light) 100%);
}

.gallery-placeholder-icon {
  font-size: 48px;
  margin-bottom: 12px;
}

.gallery-placeholder-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-600);
  text-align: center;
  padding: 0 12px;
}

/* ===== CLASS FORMATS (Location Pages) ===== */
.class-formats {
  padding: 80px 0;
  background: var(--pink-light);
}

.formats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 48px;
}

.format-card {
  background: white;
  border-radius: 16px;
  padding: 16px;
  text-align: center;
  transition: all 0.3s;
  cursor: pointer;
}

.format-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.format-card.active {
  border: 2px solid var(--emerald);
  background: rgba(0, 195, 137, 0.02);
}

.format-icon {
  font-size: 40px;
  margin-bottom: 16px;
}

.format-card h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 8px;
}

.format-card p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.6;
  text-wrap: pretty;
}

.format-desc {
  color: var(--emerald);
  font-weight: 600;
  margin-bottom: 16px;
}

.format-details {
  font-size: 13px;
  color: var(--gray-600);
  margin-bottom: 20px;
  line-height: 1.6;
  padding: 16px 0;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

/* ===== AMENITIES ===== */
.amenities {
  padding: 80px 0;
  background: white;
}

.amenities-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 48px;
}

.amenity-item {
  text-align: center;
}

.amenity-icon {
  font-size: 44px;
  margin-bottom: 16px;
}

.amenity-item h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--black);
}

/* ===== NEIGHBORHOODS ===== */
.neighborhoods {
  padding: 80px 0;
  background: var(--gray-50);
}

.neighborhoods-content {
  text-align: center;
}

.neighborhoods-tags {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}

.neighborhood-tag {
  background: white;
  border: 1px solid var(--gray-200);
  color: var(--black);
  padding: 10px 24px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s;
  width: 100%;
}

.neighborhood-tag:hover {
  border-color: var(--emerald);
  color: var(--emerald);
}

/* ===== FIRST TIMER HERO OFFER ===== */
.hero-offer {
  background: white;
  border: 2px solid var(--emerald);
  border-radius: 12px;
  padding: 24px;
  margin: 32px 0;
  text-align: center;
}

.hero-offer-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--emerald);
  margin-bottom: 8px;
}

.hero-offer-price {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 1px;
  font-size: 48px;
  font-weight: 700;
  color: var(--emerald);
  margin: 8px 0;
}

.hero-offer-detail {
  font-size: 14px;
  color: var(--gray-600);
  margin-bottom: 4px;
}

/* ===== OFFER DETAILS ===== */
.offer-details {
  padding: 80px 0;
  background: white;
}

.offer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 48px;
}

.offer-item {
  text-align: center;
  padding: 24px;
}

.offer-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.offer-item h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--black);
}

.offer-item p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.6;
  text-wrap: pretty;
}

/* ===== TIMELINE (First Timer) ===== */
.timeline-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: 48px;
}

.timeline-item {
  padding: 32px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.timeline-phase {
  margin-top: 20px;
}

.timeline-phase-list {
  list-style: none;
}

.timeline-phase-item {
  font-size: 14px;
  color: var(--gray-600);
  margin-bottom: 12px;
  padding-left: 24px;
  position: relative;
  line-height: 1.6;
}

.timeline-phase-item:last-child {
  margin-bottom: 0;
}

.timeline-phase-item:before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--emerald);
  font-weight: 700;
}

/* ===== WEAR SECTION ===== */
.wear-section {
  padding: 80px 0;
  background: var(--gray-50);
}

.wear-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: 48px;
}

.wear-card {
  background: white;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.wear-card h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--black);
}

.wear-list {
  list-style: none;
}

.wear-item {
  font-size: 14px;
  color: var(--gray-600);
  margin-bottom: 16px;
  padding-left: 24px;
  position: relative;
  line-height: 1.6;
}

.wear-item:last-child {
  margin-bottom: 0;
}

.wear-item:before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--emerald);
  font-weight: 700;
}

/* ===== BLOG SECTION ===== */
.blog-section {
  padding: 80px 0;
  background: white;
}

.article-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 48px;
}

.article-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border-color: var(--emerald);
}

.article-card-image {
  width: 100%;
  height: 160px;
  background: linear-gradient(135deg, var(--emerald-light) 0%, var(--teal-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
}

.article-card-content {
  padding: 28px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.article-category {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--emerald);
  margin-bottom: 8px;
}

.article-card h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.3;
  color: var(--black);
}

.article-excerpt {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.article-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--gray-400);
  border-top: 1px solid var(--gray-200);
  padding-top: 16px;
}

.article-link {
  color: var(--emerald);
  font-weight: 700;
  transition: gap 0.2s;
}

.article-link:hover {
  text-decoration: underline;
}

/* ===== ARTICLE BODY (Blog Post) ===== */
.article-body {
  padding: 80px 0;
  background: white;
}

.article-content {
  max-width: 700px;
  margin: 0 auto;
}

.article-content h2 {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 1px;
  font-size: 32px;
  font-weight: 700;
  margin: 48px 0 20px;
  line-height: 1.2;
}

.article-content h2:first-child {
  margin-top: 0;
}

.article-content h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 32px 0 16px;
  color: var(--black);
}

.article-content p {
  font-size: 16px;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 20px;
  text-wrap: pretty;
}

.article-content ul,
.article-content ol {
  margin: 24px 0 24px 24px;
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.8;
}

.article-content li {
  margin-bottom: 12px;
}

.article-content a {
  color: var(--emerald);
  font-weight: 600;
  transition: color 0.2s;
}

.article-content a:hover {
  color: var(--emerald-dark);
}

.post-meta {
  display: flex;
  gap: 24px;
  margin-bottom: 24px;
  color: var(--gray-600);
  font-size: 14px;
}

.post-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.pull-quote {
  border-left: 4px solid var(--emerald);
  padding: 24px;
  margin: 32px 0;
  background: var(--emerald-light);
  border-radius: 4px;
  font-size: 18px;
  font-weight: 600;
  color: var(--emerald);
  font-style: italic;
  line-height: 1.6;
}

/* Remove backdrop-filter when mobile menu is open so position:fixed works correctly */
.nav.mobile-menu-open {
  backdrop-filter: none;
  background: white;
}

/* Hide floating book bar while the mobile menu is open */
body:has(.nav.mobile-menu-open) .mobile-book-bar {
  display: none !important;
}

/* Mobile-only: full-screen nav overlay */
@keyframes mobileNavIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.nav-links.nav-open {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  position: fixed;
  /* top set dynamically by JS to sit just below the nav bar; bottom:0 caps
     height to the viewport so overflow-y:auto can scroll long menus */
  left: 0;
  right: 0;
  bottom: 0;
  background: white;
  z-index: 99;
  overflow-y: auto;
  padding: 40px 40px 80px;
  gap: 0;
  animation: mobileNavIn 0.2s ease;
}

/* Main links: Pricing, Meet the Team, New Here? */
.nav-links.nav-open > a {
  font-size: 17px;
  letter-spacing: 1.5px;
  padding: 8px 0;
  color: var(--black);
  font-weight: 600;
}

.nav-links.nav-open > a:hover {
  color: var(--pink);
}

/* Dropdown sections: always expanded, no tap needed */
.nav-links.nav-open .nav-dropdown {
  width: 100%;
  text-align: center;
  margin: 0 0 20px;
}

/* Section label (Formats / Locations) */
.nav-links.nav-open .nav-dropdown-trigger {
  width: 100%;
  justify-content: center;
  gap: 0;
  font-size: 17px;
  letter-spacing: 1px;
  font-weight: 700;
  color: var(--emerald);
  pointer-events: none;
  padding: 0 0 4px;
}

.nav-links.nav-open .nav-chevron {
  display: none;
}

/* Dropdown menu: always shown, static layout */
.nav-links.nav-open .nav-dropdown-menu {
  display: block !important;
  position: static;
  transform: none;
  box-shadow: none;
  border: none;
  border-radius: 0;
  background: transparent;
  padding: 0 0 4px;
  min-width: auto;
}

.nav-links.nav-open .nav-dropdown-menu::before {
  display: none;
}

/* Sub-items: Lagree, Tramp, Mat, Raleigh, Cary */
.nav-links.nav-open .nav-dropdown-item {
  display: block;
  text-align: center;
  padding: 6px 0;
  font-size: 17px;
  letter-spacing: 1px;
  font-weight: 600;
  color: var(--black) !important;
  border-radius: 0;
  background: transparent;
}

.nav-links.nav-open .nav-dropdown-item:hover {
  color: var(--pink) !important;
  background: transparent;
}

/* Divider before standalone links — now handled by .nav-more-group */

/* More label: always hidden except in the 700px+ mobile menu */
.nav-more-label {
  display: none;
}

/* Hidden in the top bar; only visible inside the open mobile menu */
.mobile-nav-only {
  display: none;
}

.nav-links.nav-open .mobile-nav-only {
  display: block;
}

/* On desktop, nav-more-group is an invisible passthrough —
   renders its links exactly as if they were direct .nav-links children */
.nav-more-group {
  display: contents;
  text-wrap: pretty;
}

/* More group on mobile: override display:contents, show as a column block */
.nav-links.nav-open .nav-more-group {
  width: 100%;
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(0,0,0,0.07);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-wrap: pretty;
}

.nav-links.nav-open .nav-more-group > a {
  font-size: 17px;
  letter-spacing: 1.5px;
  padding: 8px 0;
  color: var(--black);
  font-weight: 600;
}

.nav-links.nav-open .nav-more-group > a:hover {
  color: var(--pink);
}

/* Book a Class button */
.nav-links.nav-open .nav-cta {
  display: block;
  text-align: center;
  margin: 24px 0 0;
  margin-left: 0;
  padding: 14px 30px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1.5px;
  width: auto;
  max-width: 260px;
  border-top: none;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
  width: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (min-width: 450px) {
  .formats .section-desc {
    max-width: 400px;
  }
  .formats .section-desc br:first-of-type {
    display: none;
  }
  
  .format-card {
    padding: 32px;
  }
  
}
@media (min-width: 500px) {
  .hero h1 {
    font-size: 12px;
    letter-spacing: 3px;
  }
  .hero-tagline {
    font-size: 58px;
  }

  .hero-badge {
    font-size: 11px;
    letter-spacing: 3px;
  }
  .nav-cta-inline {
    display: inline-flex;
    padding: 10px 18px;
    font-size: 12px;
    letter-spacing: 0.8px;
  }
  
  /* Formats + Locations side by side */
  .nav-links.nav-open {
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
  }

  .nav-links.nav-open .nav-dropdown {
    width: 50%;
    margin-bottom: 20px;
  }

  /* Hide it when the mobile menu is open */
  .nav-links.nav-open .nav-cta {
        display: none;
  }
}

@media (min-width: 550px) {

  /* Format cards: photo left, content right */
  .format-card {
    flex-direction: row;
    padding: 16px;
    align-items: stretch;
    max-width: 720px;
    margin: 0 auto;
  }

  .format-card h3 {
    font-size: 24px;
  }
  
  .format-img {
    width: 220px;
    flex-shrink: 0;
    height: 100%;
    border-radius: 0;
  }

  .format-body {
    padding: 24px 0 24px 28px;
    align-items: flex-start;
    text-align: left;
  }

  .format-tags {
    justify-content: flex-start;
  }

  .format-link {
    margin: 0 12px 0 auto;
  }
  
  
  .footer-section.contact h4 {
    display: inline;
  }
  .footer-section h4 em {
    display: inline;
  }
  .footer-resource-list.contact {
    display: inline;
  }
  .footer-resource-list.contact a {
    margin-left: 10px;
  }
  
}

@media (min-width: 600px) {
  .promo-bar-dash {
    display: inline;
  }
  .promo-bar .promo-bar-grippy {
    display: inline;
  }

  .expect-steps {
    grid-template-columns: 1fr 1fr;
  }

  .benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

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

  .page-hero .subtitle br {
    display: block;
  }
}

@media (min-width: 700px) {
  .formats .section-desc {
      max-width: 660px;
  }
  
  /* Locations */
  .location-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Three-column mobile nav: Formats | Locations | More */
  .nav-links.nav-open {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 48px 48px 48px;
    gap: 0;
  }

  /* Each column takes exactly 1/3 */
  .nav-links.nav-open .nav-dropdown,
  .nav-links.nav-open .nav-more-group {
    flex: 0 0 33.333%;
    width: 33.333%;
    text-align: left;
    align-items: flex-start;
    border-top: none;
    padding-top: 0;
    margin-bottom: 0;
    text-wrap: pretty;
  }

  .nav-links.nav-open .nav-dropdown-trigger {
    justify-content: flex-start;
  }

  .nav-links.nav-open .nav-dropdown-item {
    text-align: left;
  }

  /* "More" label — match Formats/Locations heading exactly */
  .nav-links.nav-open .nav-more-label {
    display: block;
    font-size: 17px;
    letter-spacing: 1px;
    font-weight: 700;
    color: var(--emerald);
    padding: 0 0 4px;
    text-transform: uppercase;
  }

  .nav-links.nav-open .nav-more-group > a {
    text-align: left;
    font-size: 17px;
    letter-spacing: 1px;
    font-weight: 600;
    padding: 6px 0;
    color: var(--black);
    text-transform: uppercase;
  }

  .nav-links.nav-open .nav-more-group > a:hover {
    color: var(--pink);
  }

  /* Book a Class: force onto its own row below the columns */
  .nav-links.nav-open .nav-cta {
    flex: 0 0 100%;
    width: 100%;
    max-width: 420px;
    text-align: center;
    margin: 40px auto 0;
  }

  /* Hero */

  .hero-content {
    padding: 40px 24px;
  }

  .hero-tagline {
    font-size: 72px;
  }

  .hero-badge {
    font-size: 11px;
    letter-spacing: 3px;
  }

  .hero-actions {
    flex-direction: row;
    align-items: center;
  }

  .cta-two-col {
    flex-direction: row;
  /*  text-align: center;*/
  }

  .cta-two-col .cta-text {
    text-align: left;
  }


}

@media (min-width: 750px) { 
  /* Footer: grid — brand+meta stack left, sections span right */

  .insta-section .container {
    position: relative;
  }
  .insta-section .container:after {
    content: " ";
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: absolute;
    bottom: -50px;
    width: calc(100% - 40px);
  }
  .footer-hub {
    padding-top: 30px;
    display: grid;
    grid-template-columns: 280px 1fr;
    align-items: start;
    gap: 32px;
  }

  .footer-brand {
    align-items: center;
    text-align: center;
    border-bottom: none;
  }

  .footer-sections {
    padding-left: 0;
  }

  /* At tablet width sections sit in a 2x2 grid; remove the top borders that
     would otherwise show above the first row. */
  .footer-sections .footer-section:first-child,
  .footer-sections .footer-section:nth-child(2) {
    border-top: none;
  }

  /* Sub-footer: copyright left, legal center, social right. */
  .footer-meta {
    clear: both;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    text-align: left;
    padding: 22px 0;
    margin-top: 32px;
    gap: 16px 24px;
  }

  .footer-meta .footer-copy { order: 1; }
  .footer-meta .footer-legal { order: 2; }
  .footer-meta .footer-social { order: 3; }
  .expect-steps, .expect-grid {
      grid-template-columns: 1fr 1fr 1fr 1fr;
  }
  

  .footer-resource-list.more {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    max-width: 420px;
    margin: 0 auto;
  }
}

@media (min-width: 800px) {
  .footer-section.contact {
    width: calc(100% - 310px);
    float: right;
  }
}

@media (min-width: 900px) {
  /* Navigation */
  .nav-links {
    display: flex;
  }
  
  .nav-cta-inline {
    display: none;
  }
  
  .mobile-menu-btn {
    display: none;
  }

  /* Page Hero */
  .page-hero h1 {
    font-size: 60px;
  }
  .page-hero--centered h1 {
    font-size: 80px;
  }

  .page-hero.class-hero {
    padding: 80px 0 80px;
  }

  .class-hero-shell {
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 420px);
    align-items: end;
    gap: 48px;
    max-width: 1100px;
  }

  .class-hero-actions a {
    width: auto;
  }

  .class-hero-panel {
    justify-self: end;
    width: 100%;
  }

  /* Page Hero Actions */
  .page-hero-actions {
    flex-direction: row;
  }

  .page-hero-actions a {
    width: auto;
    justify-content: flex-start;
  }

  /* Format Cards — revert to vertical layout in 3-column grid */
  .format-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .format-card {
    flex-direction: column;
    align-items: stretch;
  }

  .format-img {
    width: 100%;
    height: 380px;
  }

  .format-body {
    padding: 32px 24px 32px;
    align-items: center;
    text-align: center;
  }

  .format-tags {
    justify-content: center;
  }

  .format-link {
    margin: 0 auto;
  }

  /* First Timer Grid */
  .ft-grid {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }

  /* Reviews Grid */
  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Benefits Grid */
  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Features Grid */
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Footer Inner */
  .footer-inner {
    flex-direction: row;
    gap: 0;
    text-align: left;
  }

  .footer-links-row {
    flex-direction: row;
    gap: 24px;
  }

  /* Pricing Grid */
  .pricing-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Membership Grid */
  .membership-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Add-ons Grid */
  .addons-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Comparison Table */
  .comparison-row {
    grid-template-columns: 200px 1fr 1fr;
  }

  .comparison-cell {
    padding: 20px 24px;
  }

  /* Details Grid — now handled at 800px below */

  /* Gallery Grid */
  .gallery-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  /* Formats Grid */
  .formats-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Amenities Grid */
  .amenities-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Neighborhoods Tags */
  .neighborhoods-tags {
    flex-direction: row;
  }

  .neighborhood-tag {
    width: auto;
  }

  /* Timeline */
  .timeline-container {
    grid-template-columns: repeat(3, 1fr);
  }

  .timeline-item {
    grid-template-columns: auto;
  }

  /* Wear Grid */
  .wear-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
  }

  /* Article Grid */
  .article-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }

  /* Offer Grid */
  .offer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }

  /* What Section Grid */
  .what-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
  }

  .what-grid-lagree,
  .what-grid-tramp,
  .what-grid-mat {
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 56px;
    align-items: center;
  }

  .machine-visual-lagree,
  .machine-visual-tramp,
  .machine-visual-mat {
    min-height: 640px;
  }
  .machine-visual-lagree.machine-visual--sm,
  .machine-visual-tramp.machine-visual--sm,
  .machine-visual-mat.machine-visual--sm {
    min-height: 440px;
  }
}

@media (min-width: 900px) and (max-width: 1100px) {
  .nav-links {
    gap: clamp(12px, 1.7vw, 20px);
  }
  .nav-links > a,
  .nav-links .nav-more-group > a,
  .nav-dropdown-trigger {
    font-size: clamp(10px, 1.15vw, 12px);
    letter-spacing: 0.6px;
  }
  .nav-links .nav-cta {
    margin-left: 0;
    padding: 10px 14px;
    font-size: 12px;
    letter-spacing: 0.8px;
  }
}

@media (min-width: 1050px) {

  .footer-hub {
    grid-template-columns: 320px 1fr;
    gap: 40px;
  }

  .footer-sections {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding-left: 0;
  }

  .footer-sections .footer-section {
    box-sizing: border-box;
    border-top: none;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0 20px;
  }

  .footer-sections .footer-section:first-child {
    border-left: none;
    padding-left: 0;
  }

  /* At desktop, More sits as a regular column — override the mobile full-width rule. */
  .footer-sections .footer-section:nth-child(3) {
    grid-column: auto;
  }

  /* Contact: its own full-width row below the Formats/Locations/More columns. */
  .footer-sections .footer-section:nth-child(4) {
    grid-column: 1 / -1;
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 26px 0 0;
    margin-top: 22px;
  }

  /* Contact items lay out horizontally so the wide row is used well. */
  .footer-sections .footer-section:nth-child(4) .footer-resource-list {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px 28px;
    max-width: none;
  }

  /* Restore More to a single-column stack inside its desktop column. */
  .footer-resource-list.more {
    display: flex;
    flex-direction: column;
    max-width: none;
    margin: 0;
  }

  .footer-section.contact {
    width: calc(100% - 360px);
    float: right;
  }

}

@media (min-width: 1200px) {
  .nav-links > a, .nav-links .nav-more-group > a, .nav-dropdown-trigger, .nav-dropdown-item {
    font-size: 15px;
    letter-spacing: 1px;
  }
  .nav-links {
    gap: 30px;
  }
  .format-card {
    padding: 32px;
  }
}

@media (max-width: 479px) {
  .what-lead {
    max-width: none;
  }

  .what-section-lagree,
  .what-section-tramp,
  .what-section-mat {
    padding: 52px 0 60px;
  }

  .machine-visual-lagree .machine-caption,
  .machine-visual-tramp .machine-caption,
  .machine-visual-mat .machine-caption {
    left: 18px;
    right: 18px;
    bottom: 18px;
    padding: 20px;
  }

  .class-hero-panel {
    padding: 24px 20px;
  }

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

  .class-hero-stat {
    padding-left: 0;
    padding-right: 0;
  }

  .class-hero-stat:nth-child(even) {
    padding-left: 0;
    border-left: 0;
  }

  .class-hero-stat:nth-child(-n+2) {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .class-hero-stat:first-child {
    border-top: 0;
  }
}



/* ===== INLINE STYLE REPLACEMENTS ===== */

/* Facebook Pixel noscript tracker */
.fb-pixel { display: none; }

/* Schedule page */
.page-hero--schedule { padding: 100px 0 48px; text-align: center; }
.page-hero--schedule h1 { margin-bottom: 10px; max-width: none; }
.page-hero--schedule .subtitle { max-width: none; }
.page-schedule { background: white; min-height: 600px;}
#mariana-schedule { max-width: 1200px; margin: 0 auto; position: relative; }

.schedule-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 24px;
  gap: 16px;
}

@keyframes shimmer {
  0%   { background-position: -600px 0; }
  100% { background-position: 600px 0; }
}

.schedule-skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 600px 100%;
  animation: shimmer 1.4s infinite linear;
  border-radius: 6px;
}

.schedule-skeleton--logo    { width: 80px;  height: 80px; border-radius: 50%; }
.schedule-skeleton--heading { width: 240px; height: 32px; margin-top: 8px; }
.schedule-skeleton--subtext { width: 300px; height: 16px; }
.schedule-skeleton--select  { width: 320px; height: 48px; border-radius: 8px; margin: 8px 0 24px; }
.schedule-skeleton--row     { width: min(520px, 100%); height: 72px; border-radius: 8px; }

.location-toggle { display: flex; flex-direction: column; align-items: center; margin-top: 24px; gap: 12px; }
.location-toggle__label { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: rgba(255, 255, 255, 0.85); }
.location-toggle__inner { display: inline-flex; background: rgba(255, 255, 255, 0.15); border-radius: 100px; padding: 4px; gap: 4px; }
.location-toggle__btn { padding: 10px 28px; border-radius: 100px; font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255, 255, 255, 0.75); text-decoration: none; transition: all 0.2s; }
.location-toggle__btn:hover { color: white; background: rgba(255, 255, 255, 0.1); }
.location-toggle__btn.is-active { background: var(--emerald); color: white; box-shadow: 0 2px 10px rgba(0, 195, 137, 0.4); }

/* Generic page */
.page-content { padding: 60px 0; }
.prose-container { max-width: 800px; margin: 0 auto; }

/* Legal / policy prose */
.legal-prose { color: var(--gray-600); font-size: 16px; line-height: 1.75; }
.legal-prose h2 { font-size: 24px; font-weight: 800; color: var(--black); margin: 40px 0 14px; line-height: 1.25; }
.legal-prose h2:first-child { margin-top: 0; }
.legal-prose h3 { font-size: 18px; font-weight: 700; color: var(--black); margin: 28px 0 10px; }
.legal-prose p { margin: 0 0 16px; }
.legal-prose ul { margin: 0 0 20px; padding-left: 22px; }
.legal-prose li { margin-bottom: 8px; }
.legal-prose strong { color: var(--black); }
.legal-prose a { color: var(--emerald); text-decoration: underline; }
.legal-prose a:hover { color: var(--emerald-dark); }

/* Contact page */
.contact-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
.contact-form-col { min-width: 0; }
.contact-form-title { font-size: 24px; font-weight: 800; color: var(--black); margin: 0 0 20px; }
.contact-field { margin-bottom: 18px; display: flex; flex-direction: column; }
.contact-field label { font-size: 13px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; color: var(--black); margin-bottom: 6px; }
.contact-field input,
.contact-field textarea {
  font-family: inherit; font-size: 15px; color: var(--black);
  padding: 12px 14px; border: 1px solid var(--gray-200); border-radius: 8px;
  background: var(--white); transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-field input:focus,
.contact-field textarea:focus {
  outline: none; border-color: var(--emerald);
  box-shadow: 0 0 0 3px rgba(0, 195, 137, 0.15);
}
.contact-field textarea { resize: vertical; }
.contact-form .btn-primary { border: none; cursor: pointer; }
.contact-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-alert { padding: 14px 18px; border-radius: 8px; margin-bottom: 24px; font-size: 15px; line-height: 1.5; }
.contact-alert--ok { background: var(--emerald-light); color: var(--emerald-dark); }
.contact-alert--err { background: var(--pink-light); color: #b3306b; }
.contact-alert a { color: inherit; text-decoration: underline; }
.contact-info-col { display: flex; flex-direction: column; gap: 20px; }
.contact-card { background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: 12px; padding: 24px; }
.contact-card h3 { font-size: 16px; font-weight: 800; color: var(--black); margin: 0 0 10px; }
.contact-card-addr { font-size: 15px; color: var(--gray-600); line-height: 1.6; margin: 0 0 12px; }
.contact-card-link { font-size: 14px; font-weight: 700; color: var(--emerald); text-decoration: none; }
.contact-card-link:hover { color: var(--emerald-dark); }
.contact-card--reach p { margin: 0 0 8px; font-size: 15px; }
.contact-card--reach a { color: var(--emerald); text-decoration: none; }
.contact-card--reach a:hover { color: var(--emerald-dark); }
.contact-social { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 14px; }
.contact-social a { font-size: 13px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; color: var(--gray-600); text-decoration: none; }
.contact-social a:hover { color: var(--emerald); }

/* Mariana account embed */
.account-embed { padding: 40px 0 80px; }
.account-embed [data-mariana-integrations] { min-height: 600px; }

@media (max-width: 860px) {
  .contact-layout { grid-template-columns: 1fr; gap: 32px; }
}

/* Blog index */
.blog-listing { padding: 80px 0; }
.blog-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.blog-card { background: white; border-radius: 12px; overflow: hidden; border: 1px solid var(--gray-200); text-decoration: none; color: inherit; transition: all 0.3s; display: block; }
.blog-card-thumb { height: 200px; overflow: hidden; }
.blog-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: 24px; }
.blog-category { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--emerald); margin-bottom: 8px; }
.blog-card-title { font-size: 18px; font-weight: 800; line-height: 1.3; margin-bottom: 8px; }
.blog-card-excerpt { font-size: 14px; color: var(--gray-600); line-height: 1.6; margin-bottom: 12px; }
.blog-card-date { font-size: 12px; color: var(--gray-400); }
.pagination-wrap { margin-top: 48px; text-align: center; }
.no-posts { text-align: center; padding: 60px 0; }
.no-posts p { font-size: 18px; color: var(--gray-600);  text-wrap: pretty; }

/* Single post */
.page-hero .post-meta { display: flex; gap: 24px; margin-top: 16px; }
.page-hero--centered .post-meta { justify-content: center; }
.page-hero .post-meta-item { font-size: 14px; color: rgba(255, 255, 255, 0.5); }
.article-body { padding: 60px 0; }
.article-content { max-width: 720px; margin: 0 auto; font-size: 16px; line-height: 1.8; color: var(--gray-600); }
.related-section { padding: 60px 0; background: var(--gray-50); }
.section-header { text-align: center; margin-bottom: 36px; }
.card-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.related-card { background: white; border-radius: 12px; padding: 24px; border: 1px solid var(--gray-200); text-decoration: none; color: inherit; transition: all 0.3s; display: block; }
.related-card-category { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--emerald); margin-bottom: 8px; }
.related-card-title { font-size: 16px; font-weight: 700; line-height: 1.3; color: var(--black); }

/* Instagram section */
.insta-section { padding: 60px 0; background: var(--black); text-align: center; }
.insta-label { font-size: 12px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--teal); margin-bottom: 12px; }
.insta-heading { font-family: 'Bebas Neue', sans-serif; font-size: 36px; color: white; letter-spacing: 1px; margin-bottom: 24px; }
.insta-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; margin-bottom: 24px; }
.insta-item { aspect-ratio: 1; border-radius: 12px; overflow: hidden; }
.insta-item img { width: 100%; height: 100%; object-fit: cover; }
.insta-link { color: var(--teal); font-size: 14px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }

/* Team page */
.what-section-team { padding: 64px 0 72px; background: radial-gradient(circle at top left, rgba(0, 195, 137, 0.10), transparent 40%), white; }
.what-section-team .body-text { max-width: 60ch; margin-bottom: 0; }
.team-section { padding: 80px 0; background: #2d2535; }
.team-section .section-label { color: var(--pink); }
.team-section .section-title { color: var(--white); }
.team-about { padding: 80px 0; }
.team-about .container { max-width: 800px; }
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 8px; row-gap: 0px; margin-top: 40px; }
.team-card { transition: transform 0.2s; text-align: center; padding: 0 4px; }
.team-card:hover { transform: translateY(-4px); }
.team-card img { width: 100%; height: auto; display: block; }
/* Plain (unframed) uploads: crop to the oval and add the white frame in CSS.
   Geometry matched to the baked-in legacy frame: outer oval 317:400 (~0.79),
   spanning 98% of the image width, with a ~3% white ring and no drop shadow.
   The 12.4% top/bottom margin reproduces the transparent padding the legacy
   PNGs carry around their oval, so ovals and names line up across a row. */
.team-card--plain img { box-sizing: border-box; width: 98%; margin: 12.4% auto; aspect-ratio: 317 / 400; object-fit: cover; object-position: center; border-radius: 50%; background: #fff; border: 8px solid #fff; }
.team-card h3 { font-weight: 800; font-size: 15px; margin-top: -20px; margin-bottom: 4px; color: var(--white); }
.team-card p { color: rgba(255,255,255,0.55); font-size: 11px; text-transform: uppercase; font-weight: 600; letter-spacing: 0.5px; text-wrap: pretty; margin: 0; }
.team-join { padding: 80px 0; background: var(--gray-50); }
.team-join .container { max-width: 860px; }
.team-join-grid { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
.team-join-copy .section-label { margin-bottom: 12px; }
.team-join h2 { font-family: 'Bebas Neue', sans-serif; font-size: 36px; letter-spacing: 1px; margin-bottom: 16px; }
.team-join .body-text { max-width: 60ch; margin-bottom: 0; }
.team-join-action { flex-shrink: 0; }

/* Location pages — hero actions */
.page-hero-actions { display: flex; gap: 16px; margin-top: 32px; flex-wrap: wrap; }

/* Centered hero variant */
.page-hero--centered {
  padding: 70px 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(0, 195, 137, 0.12), transparent 70%),
    var(--black);
}
.page-hero--centered .page-hero-content { max-width: 800px; margin: 0 auto; text-align: center; }
.page-hero--centered .breadcrumb { margin-bottom: 16px; justify-content: center; }
.page-hero--centered h1 { max-width: none; margin-bottom: 20px; }
.page-hero--centered .subtitle { max-width: 580px; margin: 0 auto; font-size: 19px; }
.page-hero--centered .page-hero-actions { justify-content: center; margin-top: 32px; gap: 14px; }

/* Pricing page — hero category nav (pill chips) */
.pricing-hero-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 17px;
  letter-spacing: 1.8px;
}
.pricing-hero-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--black, #222223);
  text-decoration: none;
  text-transform: uppercase;
  /* Bebas Neue sits high in its line-box — nudge text down for true optical centering */
  padding: 16px 26px 12px;
  min-height: 44px;
  border-radius: 999px;
  background: var(--white, #fff);
  border: 1.5px solid var(--white, #fff);
  box-shadow: 0 2px 10px rgba(34, 34, 35, 0.10);
  line-height: 1;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.pricing-hero-nav a:hover,
.pricing-hero-nav a:focus-visible {
  background: var(--black, #222223);
  border-color: var(--black, #222223);
  color: var(--white, #fff);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(34, 34, 35, 0.22);
  outline: none;
}
.pricing-hero-nav-sep {
  display: none; /* separators not needed with pill chips */
}
@media (max-width: 600px) {
  .pricing-hero-nav { gap: 8px; font-size: 14px; letter-spacing: 1.4px; margin-top: 28px; }
  .pricing-hero-nav a { padding: 13px 18px 10px; min-height: 38px; }
}


/* Pricing page — pack card hover */
.pack-card { transition: transform 0.2s, box-shadow 0.2s; }
.pack-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.pack-card.featured:hover { box-shadow: 0 8px 24px rgba(0,195,137,0.15); }

/* Location pages — map section */
.map-section { padding: 0 0 80px; }
.map-frame { border-radius: 12px; overflow: hidden; margin-bottom: 14px; }
.map-frame iframe { border: 0; border-radius: 12px; display: block; width: 100%; }
.map-caption { text-align: center; }
.map-caption-title { display: none; }
.map-caption-address { display: none; }
.btn-primary--sm { font-size: 12px !important; padding: 12px 24px !important; }

/* Location pages — format card boxes (legacy) */
.format-card-list { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 48px; }
.format-card-box { background: white; border-radius: 16px; padding: 32px; text-align: center; }
.format-card-box .format-icon { font-size: 36px; margin-bottom: 16px; }
.format-card-box h3 { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.format-card-box p { text-wrap: pretty; font-size: 14px; color: var(--gray-600); line-height: 1.6; margin-bottom: 16px; }
.format-card-box a { color: var(--emerald); font-weight: 700; font-size: 14px; }

/* Photo-based format cards inside .format-grid reset the padding added by .class-formats rules */
.format-grid .format-card { padding: 0; text-align: left; }
.class-formats .section-header { margin-bottom: 48px; }

/* Location pages — amenity cells */
.amenity-cell { text-align: center; padding: 24px; }
.amenity-cell .amenity-icon { font-size: 32px; margin-bottom: 12px; }
.amenity-cell p { text-wrap: pretty; font-size: 14px; color: var(--gray-600); }

/* Location pages — neighborhoods */
.neighborhoods-simple { padding: 60px 0; background: var(--emerald-light); text-align: center; }
.neighborhoods-simple p { text-wrap: pretty; font-size: 16px; color: var(--gray-600); margin: 16px auto 0; max-width: 650px; }
.neighborhood-pills { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 24px; }
.neighborhood-pill { background: white; color: var(--emerald); font-size: 13px; font-weight: 700; padding: 8px 20px; border-radius: 100px; border: 1px solid rgba(0, 195, 137, 0.2); box-shadow: var(--shadow-sm); }
/* 480–899px: force 3 per row so 5 pills lands on 3+2, never 4+1 */
@media (min-width: 480px) and (max-width: 899px) {
  .neighborhood-pill { flex: 0 0 calc(33.33% - 8px); text-align: center; }
}
/* 900px+: all on one line */
@media (min-width: 900px) {
  .neighborhood-pills { flex-wrap: nowrap; }
}

/* Raleigh details card */
@media (min-width: 800px) {
  .details-grid {
    grid-template-columns: 2fr 3fr;
    gap: 36px;
    align-items: start;
  }
  .location-details-card { text-align: left; }
}

.location-details-card { background: var(--gray-50); border-radius: 16px; padding: 28px; text-align: center; }
.location-details-card h2 { font-size: 22px; font-weight: 800; margin-bottom: 16px; }
.detail-row { margin-bottom: 14px; }
.detail-row:last-child { margin-bottom: 0; }
.detail-row .detail-label { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--emerald); margin-bottom: 4px; }
.detail-row .detail-value { font-size: 15px; color: var(--gray-600); line-height: 1.5; }
.detail-row .detail-value a { color: var(--gray-600); }
.detail-row .detail-value a:hover { color: var(--emerald); text-decoration: underline; }
.hours-value { font-size: 14px; color: var(--gray-600); line-height: 1.7; }

/* Cary info cards */
.cary-details-grid { display: grid; grid-template-columns: 1fr; gap: 48px; }
.info-card { background: var(--gray-50); border-radius: 16px; padding: 36px; }
.info-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 24px; }
.info-row { margin-bottom: 20px; }
.info-row:last-child { margin-bottom: 0; }
.info-label { font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--emerald); display: block; margin-bottom: 6px; }
.info-value { font-size: 16px; color: var(--gray-600); line-height: 1.6; }
.info-value a { color: var(--gray-600); }
.info-sub { font-size: 14px; color: var(--gray-400); }
.info-footnote { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--gray-200); font-size: 14px; color: var(--gray-400); }
.info-divider { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--gray-200); }
.info-note { font-size: 14px; color: var(--gray-400); }

/* First Timer page */
.hero-offer-box { background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 16px; padding: 28px; margin-top: 32px; display: inline-block; }
.hero-offer-kicker { font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--teal); margin-bottom: 8px; }
.hero-offer-price { font-size: 48px; font-weight: 900; color: white; }
.hero-offer-desc { font-size: 15px; color: rgba(255, 255, 255, 0.7); margin-top: 4px; }
.hero-offer-note { font-size: 14px; color: rgba(255, 255, 255, 0.5); margin-top: 4px; }
.hero-offer-action { margin-top: 24px; }
.offer-section { padding: 80px 0; }
.offer-grid-3 { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 48px; }
.offer-card { background: var(--gray-50); border-radius: 16px; padding: 28px; text-align: center; }
.offer-card .offer-icon { font-size: 32px; margin-bottom: 12px; }
.offer-card h3 { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.offer-card p { text-wrap: pretty; font-size: 14px; color: var(--gray-600); line-height: 1.6; }
.expect-bg { padding: 80px 0; background: var(--pink-light); }
.expect-three-col { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 48px; counter-reset: expect-step; }
.expect-three-col > div { background: white; border: 1px solid rgba(34, 34, 35, 0.08); border-radius: 16px; padding: 32px 28px; box-shadow: var(--shadow-sm); text-align: center; position: relative; counter-increment: expect-step; }
.expect-three-col > div::before { content: counter(expect-step); position: absolute; top: -16px; left: 50%; transform: translateX(-50%); width: 32px; height: 32px; border-radius: 999px; background: var(--pink); color: white; font-size: 14px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.expect-phase-label { font-size: 14px; font-weight: 800; color: var(--pink); margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px; }
.expect-list { list-style: none; padding: 0; }
.expect-list li { padding: 12px 0; font-size: 15px; color: var(--gray-600); border-bottom: 1px solid var(--gray-200); text-wrap: pretty; line-height: 1.5; }
.expect-list li:last-child { border-bottom: none; padding-bottom: 0; }
.wear-padded { padding: 80px 0; background: var(--gray-50); }
.wear-two-col { display: grid; grid-template-columns: 1fr; gap: 32px; max-width: 560px; margin: 0 auto; }
.wear-box { background: white; border: 1px solid rgba(34, 34, 35, 0.08); border-radius: 16px; padding: 32px 36px; box-shadow: var(--shadow-sm); }
.wear-box h3 { font-size: 20px; font-weight: 800; margin-bottom: 20px; }
.wear-box-list { list-style: none; padding: 0; margin: 0; }
.wear-box-list li { display: flex; align-items: flex-start; gap: 14px; padding: 14px 0; font-size: 15px; color: var(--gray-600); border-bottom: 1px solid var(--gray-200); text-wrap: pretty; line-height: 1.5; }
.wear-box-list li::before { content: ""; flex-shrink: 0; width: 14px; height: 14px; margin-top: 4px; border-radius: 999px; background: var(--emerald-light); border: 2px solid var(--emerald); box-sizing: border-box; }
.wear-box-list li:first-child { padding-top: 0; }
.wear-box-list li:last-child { border-bottom: none; padding-bottom: 0; }

/* Per-page section background overrides
   These break up sequences where two adjacent sections would otherwise share a background.
   Mat: .expect(pink) → .faq(pink) → .social-proof(gray) — bump .faq to emerald-light
   Cary-landing: .wear-padded(gray) → .benefits(gray) → .social-proof(gray) — two gray-on-gray pairs */
.page-template-template-mat .faq { background: var(--emerald-light); }
.page-template-template-cary-landing .wear-padded { background: var(--pink-light); }
.page-template-template-cary-landing .social-proof { background: var(--emerald-light); }

/* Pricing page */
.intro-offer-section { padding: 60px 0; }
.intro-offer-box { background: linear-gradient(135deg, var(--emerald-light), var(--teal-light)); border-radius: 20px; padding: 48px; text-align: center; max-width: 500px; margin: 0 auto; }
.intro-offer-box h2 { font-size: 28px; font-weight: 800; margin: 12px 0 8px; }
.intro-offer-price { font-size: 48px; font-weight: 900; color: var(--emerald); }
.intro-offer-subtitle { font-size: 17px; color: var(--gray-600); margin: 8px 0; }
.intro-offer-note { font-size: 14px; color: var(--gray-400); }
.intro-offer-cta { margin-top: 24px; }
.packs-section { padding: 80px 0; }
.packs-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.pack-card { background: var(--gray-50); border-radius: 16px; padding: 32px; text-align: center; }
.pack-card.featured { background: white; border: 2px solid var(--emerald); position: relative; }
.pack-card h3 { font-size: 18px; font-weight: 800; margin-bottom: 12px; }
.pack-price { font-size: 36px; font-weight: 900; color: var(--emerald); }
.pack-per-class { font-size: 13px; color: var(--gray-400); margin: 4px 0 20px; }
.badge-float { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); }
.memberships-bg { padding: 80px 0; background: var(--gray-50); }
.memberships-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.membership-box { background: white; border-radius: 16px; padding: 36px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.membership-box.featured { border: 2px solid var(--emerald); position: relative; }
.membership-box h3 { font-size: 20px; font-weight: 800; margin-bottom: 12px; }
.membership-price { font-size: 36px; font-weight: 900; color: var(--emerald); }
.membership-per-class { font-size: 13px; color: var(--gray-400); margin-bottom: 20px; }
.membership-features { list-style: none; padding: 0; margin-bottom: 24px; text-align: left; width: 100%; flex-grow: 1; }
.membership-features li { padding: 6px 0; font-size: 14px; color: var(--gray-600); }
.compare-section { padding: 80px 0; }
.compare-wrap { max-width: 800px; margin: 0 auto; overflow-x: auto; }
.compare-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.compare-table thead tr { border-bottom: 2px solid var(--emerald); }
.compare-table th { padding: 12px 16px; font-weight: 800; text-align: left; }
.compare-table th:not(:first-child) { text-align: center; }
.compare-table td { padding: 12px 16px; }
.compare-table td:first-child { font-weight: 700; }
.compare-table td:not(:first-child) { text-align: center; color: var(--gray-600); }
.compare-table tr { border-bottom: 1px solid var(--gray-200); }
.compare-table tbody tr:last-child { border-bottom: none; }
.compare-check { color: var(--emerald); }
.compare-cross { color: var(--gray-400); }
.addons-bg { padding: 80px 0; background: var(--emerald-light); }
.addons-grid-3 { display: grid; grid-template-columns: 1fr; gap: 24px; }
.addon-box { background: white; border-radius: 16px; padding: 32px; text-align: center; }
.addon-box .addon-icon { font-size: 36px; margin-bottom: 12px; }
.addon-box h3 { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.addon-price { font-size: 28px; font-weight: 900; color: var(--emerald); margin-bottom: 8px; }
.addon-box p { text-wrap: pretty; font-size: 14px; color: var(--gray-600); line-height: 1.6; margin-bottom: 16px; }
.btn-full { width: 100%; text-align: center; display: block; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-white--outline { background: rgba(255, 255, 255, 0.2); color: white; border: 2px solid white; padding: 16px 40px; border-radius: 100px; font-size: 14px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; display: inline-block; transition: all 0.25s; }

/* ===== RESPONSIVE — new classes ===== */
@media (min-width: 768px) {
  .blog-grid { grid-template-columns: repeat(3, 1fr); }
  .card-grid { grid-template-columns: repeat(3, 1fr); }
  .team-grid { grid-template-columns: repeat(4, 1fr); }
  .team-join-grid { grid-template-columns: 1fr auto; gap: 60px; }
  .format-card-list { grid-template-columns: repeat(3, 1fr); }
  .offer-grid-3 { grid-template-columns: repeat(3, 1fr); }
  .expect-three-col { grid-template-columns: repeat(3, 1fr); }
  .wear-two-col { grid-template-columns: 1fr; }
  .packs-grid { grid-template-columns: repeat(3, 1fr); }
  .memberships-grid { grid-template-columns: repeat(3, 1fr); }
  .addons-grid-3 { grid-template-columns: repeat(3, 1fr); }
  .cary-details-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 500px) {
  .insta-grid { gap: 15px; grid-template-columns: repeat(4, 1fr); }
}

/* ===== MOBILE BOOK A CLASS BAR ===== */
.mobile-book-bar {
  display: none;
}

@media (max-width: 499px) {
  .location-card {
    min-height: 300px;
  }

  .location-card-body {
    padding: 24px 24px 24px;
  }

  .location-name {
    font-size: 28px;
  }

  .mobile-book-bar {
    display: block;
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 100;
    padding-bottom: env(safe-area-inset-bottom);
    transform: translateY(calc(100% + 24px));
    transition: transform 0.3s ease;
  }

  .mobile-book-bar.is-visible {
    transform: translateY(0);
  }

  .mobile-bar-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-radius: 999px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    max-width: 220px;
    margin: 0 auto;
  }

  .mobile-bar-book {
    background: linear-gradient(135deg, #ff5fae 0%, #f4a6d7 55%, #ff8fc8 100%);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 14px 32px rgba(150, 20, 90, 0.38), 0 0 0 0 rgba(255, 95, 174, 0.6);
    justify-content: space-between;
    animation: mobile-bar-pulse 2.4s ease-out infinite;
  }

  @keyframes mobile-bar-pulse {
    0% {
      box-shadow: 0 14px 32px rgba(150, 20, 90, 0.38), 0 0 0 0 rgba(255, 95, 174, 0.55);
    }
    100% {
      box-shadow: 0 14px 32px rgba(150, 20, 90, 0.38), 0 0 0 12px rgba(255, 95, 174, 0);
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .mobile-bar-book {
      animation: none;
    }
  }

  .mobile-bar-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
  }

  .mobile-bar-kicker {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.1;
    margin-bottom: 3px;
    white-space: nowrap;
  }

  .mobile-bar-title {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    line-height: 1;
    white-space: nowrap;
  }

  .mobile-bar-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
    font-size: 18px;
    line-height: 1;
    animation: mobile-bar-arrow-nudge 1.6s ease-in-out infinite;
  }

  @keyframes mobile-bar-arrow-nudge {
    0%, 60%, 100% { transform: translateX(0); }
    80% { transform: translateX(4px); }
  }

  @media (prefers-reduced-motion: reduce) {
    .mobile-bar-arrow {
      animation: none;
    }
  }

  .mobile-bar-book:hover {
    animation-play-state: paused;
    filter: brightness(1.08);
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(150, 20, 90, 0.45);
  }

  .mobile-bar-btn:hover .mobile-bar-arrow {
    background: rgba(255, 255, 255, 0.32);
  }

  /* Push page content up so the bar doesn't overlap the footer */
  body:has(.mobile-book-bar) footer.footer {
    padding-bottom: calc(100px + env(safe-area-inset-bottom));
  }
}

/* ===== MEGAFORMER SPECIAL SECTION ===== */
.megaformer-special {
  padding: 80px 0;
  background: var(--emerald-light);
}

.megaformer-special-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 48px;
}

.megaformer-special-item {
  background: white;
  border-radius: 16px;
  padding: 32px 32px 32px 36px;
  border-left: 4px solid var(--emerald);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.3s;
}

.megaformer-special-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.09);
}

.megaformer-special-item h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 10px;
  line-height: 1.3;
}

.megaformer-special-item p {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.7;
  margin: 0;
  text-wrap: pretty;
}

@media (min-width: 768px) {
  .megaformer-special-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
}

/* ===== TRAMP FORMATS SECTION ===== */
.formats-section {
  padding: 80px 0;
  background: var(--emerald-light);
}

.formats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 48px;
}

.formats-section .format-card {
  position: relative;
  background: var(--white);
  color: var(--black);
  border-radius: 20px;
  padding: 40px 36px 36px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-width: none;
  margin: 0;
  align-items: stretch;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.formats-section .format-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 195, 137, 0.18);
}

.formats-section .format-card-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 44px;
  letter-spacing: 1px;
  font-weight: 700;
  margin: 0 0 8px;
  line-height: 1;
  color: var(--black);
}

.format-card-meta {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0 0 20px;
  color: var(--emerald-dark);
}

.formats-section .format-card-desc {
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 28px;
  text-wrap: pretty;
  color: var(--gray-600);
}

.format-card-details {
  list-style: none;
  padding: 24px 0 0;
  margin: auto 0 0;
  width: 100%;
  border-top: 1px solid var(--gray-200);
}

.format-card-details li {
  font-size: 14px;
  padding: 7px 0 7px 24px;
  position: relative;
  line-height: 1.5;
  color: var(--gray-600);
}

.format-card-details li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 13px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
  padding: 80px 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 48px;
}

.testimonial-card {
  background: var(--gray-50);
  border-left: 4px solid var(--emerald);
  border-radius: 0 12px 12px 0;
  padding: 28px 28px 24px;
  margin: 0;
}

.testimonial-card p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--black);
  font-style: italic;
  margin-bottom: 14px;
  text-wrap: pretty;
}

.testimonial-card cite {
  font-size: 14px;
  font-weight: 700;
  font-style: normal;
  color: var(--emerald);
  letter-spacing: 0.5px;
}

/* ===== GIRL TALK SECTION ===== */
.girl-talk-section {
  padding: 80px 0;
  background: var(--emerald-light);
}

.girl-talk-inner {
  max-width: 760px;
  margin: 0 auto;
}

.girl-talk-question {
  font-size: 24px;
  font-weight: 800;
  color: var(--black);
  margin: 24px 0 20px;
  font-style: italic;
}

.girl-talk-body p {
  font-size: 16px;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 16px;
  text-wrap: pretty;
}

.girl-talk-body strong {
  color: var(--black);
}

/* ===== RESPONSIVE: FORMATS / TESTIMONIALS / GIRL TALK ===== */
@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 900px) {
  .formats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

/* ===== LOCATION PAGE HEROES ===== */
.page-hero.class-hero.page-hero--raleigh {
  background:
    radial-gradient(circle at top right, rgba(0, 195, 137, 0.22), transparent 38%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.58) 0%, rgba(0, 0, 0, 0.72) 100%),
    url('images/raleigh.webp') center / cover no-repeat;
}

.page-hero.class-hero.page-hero--raleigh .page-hero-pattern {
  display: none;
}

.page-hero.class-hero.page-hero--cary {
  background:
    radial-gradient(circle at top right, rgba(0, 195, 137, 0.22), transparent 38%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.58) 0%, rgba(0, 0, 0, 0.72) 100%),
    url('images/cary.webp') center / cover no-repeat;
}

.page-hero.class-hero.page-hero--cary .page-hero-pattern {
  display: none;
}

/* Pink pattern hero variant — matches homepage */
.page-hero--pattern {
  background-color: #f2a4d2;
}
.page-hero--pattern .page-hero-pattern {
  opacity: 1;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(255,255,255,0.10) 0%, transparent 60%),
    linear-gradient(180deg, rgba(120,35,90,0.10) 0%, rgba(120,35,90,0.22) 100%),
    url('images/mega_pattern_repeat_strip.png') center top / 100% auto repeat-y;
  background-color: #f2a4d2;
}
/* Outline button on pink pattern background */
.page-hero--pattern .btn-outline {
  border-color: rgba(255,255,255,0.7);
  color: white;
}
.page-hero--pattern .btn-outline:hover {
  border-color: white;
  background: white;
  color: #4a1030;
}

/* Breadcrumb: dark text on pink for legibility */
.page-hero--pattern .breadcrumb {
  color: rgba(100,20,70,0.6);
}
.page-hero--pattern .breadcrumb a {
  color: rgba(100,20,70,0.85);
}
.page-hero--pattern .breadcrumb a:hover {
  color: #4a0f30;
}
.page-hero--pattern .crumb-sep {
  color: rgba(100,20,70,0.3);
}
/* Subtitle: dark on pink */
.page-hero--pattern .subtitle {
  color: rgba(80,15,55,0.85);
  text-shadow: none;
}
/* Location toggle: readable on pink */
.page-hero--pattern .location-toggle__inner {
  background: rgba(100,20,70,0.12);
}
.page-hero--pattern .location-toggle__btn {
  color: rgba(80,15,55,0.75);
}
.page-hero--pattern .location-toggle__btn:hover {
  color: rgba(80,15,55,0.95);
  background: rgba(100,20,70,0.1);
}
.page-hero--pattern .location-toggle__btn.is-active {
  background: #4a1030;
  color: #fff;
  box-shadow: 0 2px 10px rgba(74,16,48,0.35);
}

/* ─── Emerald pattern hero (New Here / First Timer page) ─────────────── */
.page-hero.class-hero.page-hero--emerald {
  background: #00C389;
}
.page-hero.class-hero.page-hero--emerald::before {
  display: none;
}
.page-hero.class-hero.page-hero--emerald .page-hero-pattern {
  opacity: 1;
  background-image:
    radial-gradient(ellipse at 65% 38%, rgba(255,255,255,0.22) 0%, transparent 55%),
    linear-gradient(135deg, rgba(255,255,255,0.16) 25%, transparent 25%),
    linear-gradient(225deg, rgba(255,255,255,0.16) 25%, transparent 25%);
  background-size: auto, 100px 50px, 100px 50px;
}
/* Kicker elements on bright emerald */
.page-hero.class-hero.page-hero--emerald .badge { color: #fff; }
.page-hero.class-hero.page-hero--emerald .class-hero-note { color: rgba(255,255,255,0.85); }
.page-hero.class-hero.page-hero--emerald .class-hero-note::before { background: rgba(255,255,255,0.75); }
/* Subtitle legibility on patterned emerald background */
.page-hero.class-hero.page-hero--emerald .subtitle {
  color: #fff;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 60, 40, 0.35);
}
/* Buttons */
.page-hero.class-hero.page-hero--emerald .btn-primary {
  background: #fff;
  color: #003d28;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.page-hero.class-hero.page-hero--emerald .btn-primary:hover {
  background: #f0fdf8;
  color: #002519;
  box-shadow: 0 12px 32px rgba(0,0,0,0.18);
}
.page-hero.class-hero.page-hero--emerald .btn-outline {
  border-color: rgba(255,255,255,0.7);
  color: white;
}
.page-hero.class-hero.page-hero--emerald .btn-outline:hover {
  background: white;
  border-color: white;
  color: #004d35;
}
/* Panel as white card */
.page-hero--emerald .class-hero-panel {
  background: rgba(255,255,255,0.95);
  border-color: rgba(255,255,255,0.5);
  box-shadow: 0 8px 28px rgba(0,60,40,0.12);
}
.page-hero--emerald .class-hero-panel-label { color: #009B6A; }
.page-hero--emerald .class-hero-panel-title { color: #003d28; }
.page-hero--emerald .class-hero-stats { border-top-color: rgba(0,60,40,0.12); }
.page-hero--emerald .class-hero-stat { border-top-color: rgba(0,60,40,0.10); }
.page-hero--emerald .class-hero-stat:nth-child(even) { border-left-color: rgba(0,60,40,0.10); }
.page-hero--emerald .class-hero-stat-label { color: rgba(0,50,30,0.55); }
.page-hero--emerald .class-hero-stat-value { color: #003d28; }

.btn-text-long { display: none; }
.btn-text-short { display: inline; }
@media (min-width: 400px) {
  .btn-text-long { display: inline; }
  .btn-text-short { display: none; }
}

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

/* Intro Offers - two-card grid */
.intro-offers-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 32px;
}
@media (min-width: 768px) {
  .intro-offers-grid { grid-template-columns: 1fr 1fr; }
}
.intro-offer-card {
  background: #fff;
  border-radius: 16px;
  padding: 36px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.07);
}
.intro-offer-card .section-label {
  margin-bottom: 12px;
}

/* Alternate section background for class cards */
.packs-section--alt {
  background: var(--pink-light);
}

/* 2-column grid variant */
.packs-grid--2 {
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .packs-grid--2 { grid-template-columns: repeat(2, 1fr); max-width: 700px; margin-left: auto; margin-right: auto; }
}

/* 3-column grid variant */
.packs-grid--3 {
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .packs-grid--3 { grid-template-columns: repeat(2, 1fr); }
  /* Lone third card: span full width then shrink to match sibling width and center */
  .packs-grid--3 > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: calc(50% - 12px);
    margin-left: auto;
    margin-right: auto;
  }
}
@media (min-width: 1024px) {
  .packs-grid--3 { grid-template-columns: repeat(3, 1fr); max-width: 1000px; margin-left: auto; margin-right: auto; }
  .packs-grid--3 > :last-child:nth-child(odd) {
    grid-column: auto;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }
}

/* 4-column grid variants */
.packs-grid--4 {
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .packs-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .packs-grid--4 { grid-template-columns: repeat(4, 1fr); }
}

.memberships-grid--4 {
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .memberships-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1200px) {
  .memberships-grid--4 { grid-template-columns: repeat(4, 1fr); }
}

/* Small note below pack grids */
.packs-note {
  text-align: center;
  color: var(--gray-400, #aaa);
  font-size: 13px;
  margin-top: 16px;
}

/* Commitment period tabs */
.commitment-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.commitment-tab {
  padding: 8px 24px;
  border-radius: 999px;
  border: 2px solid var(--pink, #e87bac);
  background: transparent;
  color: var(--pink, #e87bac);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.commitment-tab:hover,
.commitment-tab--active {
  background: var(--pink, #e87bac);
  color: #fff;
}

/* ===== Mariana embeds (per-location toggle) ===== */
.mariana-embed { display: none; }
html.loc-raleigh .mariana-embed--raleigh { display: block; }
html.loc-cary .mariana-embed--cary { display: block; }

.mt-pricing-placeholder {
  padding: 60px 20px;
  text-align: center;
  color: var(--gray-400);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
.mt-pricing-placeholder[hidden],
html.loc-raleigh .mt-pricing-placeholder,
html.loc-cary .mt-pricing-placeholder {
  display: none !important;
}

/* ===== Location Picker Modal ===== */
html.loc-picker-open,
html.loc-picker-open body {
  overflow: hidden;
}
.loc-picker {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.loc-picker[hidden] { display: none; }
.loc-picker-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(34, 34, 35, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.loc-picker-card {
  position: relative;
  background: #fff;
  border-radius: 24px;
  padding: 48px 40px 40px;
  max-width: 560px;
  width: 100%;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  animation: locPickerIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}
.loc-picker-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--emerald) 0%, var(--lime) 50%, var(--emerald) 100%);
}
@keyframes locPickerIn {
  from { opacity: 0; transform: translateY(20px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.loc-picker-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--emerald-dark);
  background: var(--emerald-light);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 18px;
}
.loc-picker-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 56px;
  line-height: 0.95;
  letter-spacing: 0.5px;
  margin: 0 0 14px;
  color: var(--black);
}
.loc-picker-sub {
  color: var(--gray-600);
  font-size: 15px;
  line-height: 1.5;
  max-width: 380px;
  margin: 0 auto 32px;
}
.loc-picker-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.loc-picker-option {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  padding: 22px;
  border: 2px solid var(--gray-200);
  border-radius: 16px;
  background: var(--white);
  color: var(--black);
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.loc-picker-option::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--emerald);
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 0;
}
.loc-picker-option > * { position: relative; z-index: 1; }
.loc-picker-option:hover,
.loc-picker-option:focus-visible {
  border-color: var(--emerald);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 195, 137, 0.28);
  color: #fff;
  outline: none;
}
.loc-picker-option:hover::before,
.loc-picker-option:focus-visible::before {
  transform: translateY(0);
}
.loc-picker-pin {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--emerald);
  transition: color 0.25s, transform 0.25s;
}
.loc-picker-option:hover .loc-picker-pin,
.loc-picker-option:focus-visible .loc-picker-pin {
  color: #fff;
  transform: scale(1.1);
}
.loc-picker-option-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 32px;
  letter-spacing: 1.5px;
  line-height: 1;
  flex: 1;
  text-align: left;
}
.loc-picker-option-arrow {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.25s, transform 0.25s;
}
.loc-picker-option:hover .loc-picker-option-arrow,
.loc-picker-option:focus-visible .loc-picker-option-arrow {
  opacity: 1;
  transform: translateX(0);
}
@media (max-width: 480px) {
  .loc-picker-card { padding: 36px 22px 26px; }
  .loc-picker-title { font-size: 42px; }
  .loc-picker-options { grid-template-columns: 1fr; }
  .loc-picker-option { padding: 18px 20px; }
  .loc-picker-option-name { font-size: 28px; }
}

/* ===== Current Location Indicator ===== */
.loc-current {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 98;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 100px;
  padding: 8px 8px 8px 16px;
  font-size: 13px;
  box-shadow: var(--shadow-md);
  width: fit-content;
}
.loc-current[hidden] { display: none; }
.loc-current-label { color: var(--gray-600); }
.loc-current-name { color: var(--black); }
.loc-current-change {
  background: var(--emerald);
  color: #fff;
  border: none;
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background 0.2s;
}
.loc-current-change:hover { background: var(--emerald-dark); }
@media (max-width: 480px) {
  .loc-current {
    bottom: 12px;
    right: 12px;
  }
}

/* ===== Studio Eyebrow (above Mariana embed dropdown) ===== */
.studio-eyebrow {
  display: block;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray-600);
  margin: 0 0 4px;
  position: absolute;
  padding: 0;
  top: 20px;
  left: 18px;
}
div.mariana-embed {
  position: relative;
}

/* Newsletter modal (opened from the "Join the List" footer link) */
.newsletter-modal {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.newsletter-modal[hidden] { display: none; }
.newsletter-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.75); }
.newsletter-modal-box {
  position: relative; width: 100%; max-width: 560px;
  max-height: calc(100vh - 40px); overflow-y: auto;
  background: var(--white); border-radius: 16px; padding: 44px 36px 36px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.newsletter-modal-close {
  position: absolute; top: 12px; right: 14px; z-index: 1;
  background: var(--gray-100); border: none; color: var(--black);
  font-size: 1.4rem; line-height: 1; width: 34px; height: 34px;
  border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.newsletter-modal-close:hover { background: var(--black); color: var(--white); }
.newsletter-modal .section-header { margin-bottom: 18px; }

/* Newsletter signup form (shared by modal + Cary landing) */
.mega-newsletter-inner { max-width: 640px; margin: 0 auto; }
.mega-newsletter-intro { margin: 0 0 32px; text-align: center; color: var(--gray-600); }
.mega-newsletter-form .form-row { display: flex; flex-wrap: wrap; gap: 18px; }
.mega-newsletter-form .form-row .form-group { flex: 1 1 200px; }
.mega-newsletter-form .form-group { margin-bottom: 18px; display: flex; flex-direction: column; }
.mega-newsletter-form label {
  font-size: 13px; font-weight: 700; letter-spacing: 0.5px;
  text-transform: uppercase; color: var(--black); margin-bottom: 6px;
}
.mega-newsletter-form .form-control {
  font-family: inherit; font-size: 15px; color: var(--black);
  padding: 12px 14px; border: 1px solid var(--gray-200); border-radius: 8px;
  background: var(--white); width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.mega-newsletter-form .form-control:focus {
  outline: none; border-color: var(--emerald);
  box-shadow: 0 0 0 3px rgba(0, 195, 137, 0.15);
}
.mega-newsletter-form .form-check {
  flex-direction: row; align-items: flex-start; gap: 10px; margin-bottom: 12px;
}
.mega-newsletter-form .form-check input { margin-top: 3px; flex: 0 0 auto; }
.mega-newsletter-form .form-check label {
  font-size: 13px; font-weight: 400; letter-spacing: 0;
  text-transform: none; color: var(--gray-600); margin-bottom: 0; line-height: 1.5;
}
.mega-newsletter-form .form-submit { margin-top: 8px; align-items: center; }
.mega-newsletter-form .btn-primary { border: none; cursor: pointer; }

@media (max-width: 600px) {
  .mega-newsletter-form .form-row { gap: 0; }
}