/* ========================================
   CONTEMPORARY DANCE METHOD — Design Tokens & Styles
   Premium Boutique Direction: Warm Elegance
   ======================================== */

/* --- Fonts --- */
/* Cormorant Garamond for display/headings (luxury, editorial serif) */
/* Switzer for body (clean, refined sans-serif) */

/* --- Type Scale (Fluid) --- */
:root {
  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem  + 0.35vw, 1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem    + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1.2rem  + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);
  --text-3xl:  clamp(2.5rem,   1rem    + 4vw,    5rem);
  --text-hero: clamp(3rem,     0.5rem  + 7vw,    8rem);

  /* Spacing (4px base) */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Fonts */
  --font-display: 'Cormorant Garamond', 'Georgia', serif;
  --font-body: 'Switzer', 'Helvetica Neue', sans-serif;

  /* Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.5rem;
  --radius-xl: 0.75rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* Content widths */
  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;
  --content-full: 100%;
}

/* --- Color Palette: Warm Elegance --- */
:root, [data-theme="light"] {
  /* Surfaces — warm ivory/cream */
  --color-bg:             #faf8f5;
  --color-surface:        #f5f1ec;
  --color-surface-2:      #eee9e2;
  --color-surface-offset: #f0ebe4;
  --color-divider:        #ddd6cc;
  --color-border:         #d1c9bd;

  /* Text — warm charcoal, not pure black */
  --color-text:           #2c2623;
  --color-text-muted:     #7a706a;
  --color-text-faint:     #b5ada6;
  --color-text-inverse:   #faf8f5;

  /* Accent — muted rose gold */
  --color-accent:         #b08968;
  --color-accent-hover:   #96714f;
  --color-accent-active:  #7c5b3d;
  --color-accent-light:   #d4bfa8;

  /* CTA — warm charcoal (premium feel) */
  --color-cta:            #2c2623;
  --color-cta-hover:      #433a35;
  --color-cta-text:       #faf8f5;

  /* Shadows */
  --shadow-sm: 0 1px 2px oklch(0.3 0.02 60 / 0.06);
  --shadow-md: 0 4px 12px oklch(0.3 0.02 60 / 0.08);
  --shadow-lg: 0 12px 32px oklch(0.3 0.02 60 / 0.12);
}

/* Dark mode */
[data-theme="dark"] {
  --color-bg:             #1a1715;
  --color-surface:        #211e1b;
  --color-surface-2:      #2a2622;
  --color-surface-offset: #252220;
  --color-divider:        #3a3530;
  --color-border:         #4a4440;

  --color-text:           #e8e2dc;
  --color-text-muted:     #9a918a;
  --color-text-faint:     #5a5450;
  --color-text-inverse:   #1a1715;

  --color-accent:         #c9a07a;
  --color-accent-hover:   #ddb894;
  --color-accent-active:  #b08968;
  --color-accent-light:   #4a3d30;

  --color-cta:            #e8e2dc;
  --color-cta-hover:      #d4ccc4;
  --color-cta-text:       #1a1715;

  --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.2);
  --shadow-md: 0 4px 12px oklch(0 0 0 / 0.3);
  --shadow-lg: 0 12px 32px oklch(0 0 0 / 0.4);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg:             #1a1715;
    --color-surface:        #211e1b;
    --color-surface-2:      #2a2622;
    --color-surface-offset: #252220;
    --color-divider:        #3a3530;
    --color-border:         #4a4440;
    --color-text:           #e8e2dc;
    --color-text-muted:     #9a918a;
    --color-text-faint:     #5a5450;
    --color-text-inverse:   #1a1715;
    --color-accent:         #c9a07a;
    --color-accent-hover:   #ddb894;
    --color-accent-active:  #b08968;
    --color-accent-light:   #4a3d30;
    --color-cta:            #e8e2dc;
    --color-cta-hover:      #d4ccc4;
    --color-cta-text:       #1a1715;
    --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.2);
    --shadow-md: 0 4px 12px oklch(0 0 0 / 0.3);
    --shadow-lg: 0 12px 32px oklch(0 0 0 / 0.4);
  }
}

/* ========================================
   GLOBAL COMPONENT STYLES
   ======================================== */

/* --- Navigation --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: oklch(from var(--color-bg) l c h / 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid oklch(from var(--color-text) l c h / 0.06);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.site-header--scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: var(--space-4) var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--color-text);
}

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

.logo-text {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  line-height: 1.2;
}

.logo-text span {
  display: block;
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-weight: 400;
  text-transform: none;
}

.nav-desktop {
  display: none;
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
    align-items: center;
    gap: var(--space-6);
  }
}

.nav-desktop a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
  padding: var(--space-2) 0;
  position: relative;
  white-space: nowrap;
}

.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-accent);
  transition: width 0.3s var(--ease-out);
}

.nav-desktop a:hover {
  color: var(--color-text);
}

.nav-desktop a:hover::after {
  width: 100%;
}

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

.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
  padding: var(--space-2) 0;
  cursor: pointer;
  white-space: nowrap;
}

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

.nav-dropdown-trigger svg {
  width: 12px;
  height: 12px;
  transition: transform 0.2s var(--ease-out);
}

.nav-dropdown:hover .nav-dropdown-trigger svg {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding-top: var(--space-2);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s var(--ease-out), visibility 0.2s;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
}

.nav-dropdown-menu-inner {
  background: var(--color-bg);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-2);
  min-width: 220px;
  box-shadow: var(--shadow-lg);
}

.nav-dropdown-menu a {
  display: block;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  text-transform: none;
  letter-spacing: 0.02em;
  font-weight: 400;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.nav-dropdown-menu a:hover {
  background: var(--color-surface);
  color: var(--color-text);
}

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

/* Nav CTA button — higher specificity to override .nav-desktop a */
.nav-desktop a.nav-cta {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.625rem 1.75rem;
  background: var(--color-cta);
  color: var(--color-cta-text) !important;
  text-decoration: none;
  border-radius: var(--radius-full);
  white-space: nowrap;
  transition: background var(--transition-interactive), transform var(--transition-interactive);
}

.nav-desktop a.nav-cta::after {
  display: none;
}

.nav-desktop a.nav-cta:hover {
  background: var(--color-cta-hover);
  color: var(--color-cta-text) !important;
  transform: translateY(-1px);
}

.nav-desktop a.nav-cta:active {
  transform: translateY(0);
}

/* Mobile nav toggle */
.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--color-text);
}

@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }
}

.nav-toggle svg {
  width: 24px;
  height: 24px;
}

/* Mobile nav overlay */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--color-bg);
  display: flex;
  flex-direction: column;
  padding: var(--space-6);
  transform: translateX(100%);
  transition: transform 0.4s var(--ease-out);
}

.mobile-nav.active {
  transform: translateX(0);
}

.mobile-nav-header {
  display: flex;
  justify-content: flex-end;
  margin-bottom: var(--space-12);
}

.mobile-nav-close {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.mobile-nav-links a {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--color-text);
  text-decoration: none;
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--color-divider);
}

.mobile-nav-links a:hover {
  color: var(--color-accent);
}

.mobile-nav-sub {
  padding-left: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mobile-nav-sub a {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  border-bottom: 1px solid var(--color-divider);
  padding: var(--space-3) 0;
}

.mobile-nav-cta {
  margin-top: auto;
  display: block;
  text-align: center;
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: var(--space-4) var(--space-6);
  background: var(--color-cta);
  color: var(--color-cta-text);
  text-decoration: none;
  border-radius: var(--radius-full);
}

/* Theme toggle */
.theme-toggle {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  border-radius: var(--radius-full);
  transition: color var(--transition-interactive), background var(--transition-interactive);
}

.theme-toggle:hover {
  color: var(--color-text);
  background: var(--color-surface);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

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

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 90%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  /* Bottom gradient for text legibility */
  background:
    linear-gradient(
      to top,
      oklch(from var(--color-bg) l c h / 0.97) 0%,
      oklch(from var(--color-bg) l c h / 0.82) 30%,
      oklch(from var(--color-bg) l c h / 0.5) 55%,
      oklch(from var(--color-bg) l c h / 0.2) 75%,
      transparent 85%
    ),
    /* Top gradient: covers the dark studio ceiling */
    linear-gradient(
      to bottom,
      var(--color-bg) 0%,
      oklch(from var(--color-bg) l c h / 0.95) 10%,
      oklch(from var(--color-bg) l c h / 0.7) 22%,
      oklch(from var(--color-bg) l c h / 0.35) 36%,
      transparent 50%
    );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--content-wide);
  width: 100%;
  margin: 0 auto;
  padding: var(--space-8) var(--space-6) var(--space-12);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: var(--space-6);
}

.hero-badge::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--color-accent);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 400;
  color: var(--color-text);
  line-height: 1.05;
  margin-bottom: var(--space-6);
  max-width: 14ch;
  text-shadow: 0 1px 20px oklch(from var(--color-bg) l c h / 0.5);
}

.hero-subtitle {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 48ch;
  line-height: 1.7;
  margin-bottom: var(--space-8);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius-full);
  transition: all var(--transition-interactive);
  min-height: 48px;
}

.btn-primary {
  background: var(--color-cta);
  color: var(--color-cta-text);
}

.btn-primary:hover {
  background: var(--color-cta-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: none;
}

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

.btn-secondary:hover {
  border-color: var(--color-text);
  transform: translateY(-1px);
}

.btn-secondary:active {
  transform: translateY(0);
}

/* --- Section Styles --- */
.section {
  padding: clamp(var(--space-12), 8vw, var(--space-24)) var(--space-6);
}

.section-inner {
  max-width: var(--content-wide);
  margin: 0 auto;
}

.section-narrow {
  max-width: var(--content-default);
  margin: 0 auto;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

.section-label::before {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--color-accent);
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: var(--space-6);
}

.section-subtitle {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 56ch;
  line-height: 1.7;
}

/* --- Intro / About strip --- */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  align-items: center;
}

@media (min-width: 768px) {
  .intro-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
  }
}

.intro-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.intro-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5;
}

/* --- Services Cards --- */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-8);
    max-width: 860px;
    margin: 0 auto;
  }
}

.service-card {
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: var(--color-text);
  transition: transform var(--transition-interactive), box-shadow var(--transition-interactive);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.service-card-image {
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

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

.service-card-content {
  padding: var(--space-6) var(--space-6) var(--space-8);
}

.service-card-content h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 400;
  margin-bottom: var(--space-3);
}

.service-card-content p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-4);
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.service-card-link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s var(--ease-out);
}

.service-card:hover .service-card-link svg {
  transform: translateX(4px);
}

/* --- Trust Signals / Social Proof --- */
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8);
  align-items: center;
  justify-content: center;
  padding: var(--space-10) var(--space-6);
  border-top: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--color-text-muted);
}

.trust-item img {
  height: 40px;
  width: auto;
}

.trust-stars {
  display: flex;
  gap: 2px;
  color: var(--color-accent);
}

.trust-stars svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.trust-text {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text);
}

.trust-subtext {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* --- Testimonial Cards --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
  }
}

.testimonial-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  border: 1px solid var(--color-divider);
  transition: transform var(--transition-interactive), box-shadow var(--transition-interactive);
}

.testimonial-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  color: var(--color-accent);
}

.testimonial-stars svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.testimonial-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  flex: 1;
  font-style: normal;
}

.testimonial-card footer {
  margin-top: auto;
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-divider);
}

.testimonial-card cite {
  display: block;
  font-style: normal;
  font-weight: 500;
  font-size: var(--text-sm);
  color: var(--color-text);
}

.testimonial-card footer span {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

/* --- Reviews Widget (Local Impacts) — for testimonials page --- */
.reviews-widget {
  max-width: var(--content-wide);
  margin: 0 auto;
}

/* --- Why Choose Section --- */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-10);
  }
}

.feature-item {
  display: flex;
  gap: var(--space-5);
}

.feature-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  color: var(--color-accent);
}

.feature-item h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 500;
  margin-bottom: var(--space-2);
}

.feature-item p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* --- CTA Section --- */
.cta-section {
  background: var(--color-surface);
  text-align: center;
}

.cta-section .section-title {
  max-width: 18ch;
  margin-left: auto;
  margin-right: auto;
}

.cta-section .section-subtitle {
  max-width: 48ch;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--space-8);
}

.cta-section .section-label {
  justify-content: center;
}

.cta-section .section-label::before {
  display: none;
}

/* --- Contact Form --- */
.contact-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  max-width: 520px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .contact-form {
    grid-template-columns: 1fr 1fr;
  }
  .contact-form .form-group--full {
    grid-column: 1 / -1;
  }
}

.form-group label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-2);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  color: var(--color-text);
  transition: border-color var(--transition-interactive), box-shadow var(--transition-interactive);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px oklch(from var(--color-accent) l c h / 0.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  text-align: center;
  margin-top: var(--space-4);
}

@media (min-width: 640px) {
  .form-submit {
    grid-column: 1 / -1;
  }
}

/* --- Location Section --- */
.location-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: start;
}

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

.location-info h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 400;
  margin-bottom: var(--space-4);
}

.location-detail {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.location-detail svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--color-accent);
  margin-top: 2px;
}

.location-detail p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.location-detail a {
  color: var(--color-text);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--color-accent-light);
}

.location-detail a:hover {
  text-decoration-color: var(--color-accent);
}

/* --- Footer --- */
.site-footer {
  padding: var(--space-16) var(--space-6) var(--space-8);
  border-top: 1px solid var(--color-divider);
}

.footer-inner {
  max-width: var(--content-wide);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  margin-bottom: var(--space-12);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-8);
  }
}

.footer-brand p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  max-width: 32ch;
  line-height: 1.6;
  margin-top: var(--space-4);
}

.footer-col h4 {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

.footer-col a {
  display: block;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
  padding: var(--space-1) 0;
}

.footer-col a:hover {
  color: var(--color-text);
}

.footer-social {
  display: flex;
  gap: var(--space-4);
  margin-top: var(--space-4);
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--color-surface);
  color: var(--color-text-muted);
  transition: all var(--transition-interactive);
}

.footer-social a:hover {
  background: var(--color-surface-2);
  color: var(--color-text);
}

.footer-social svg {
  width: 18px;
  height: 18px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-divider);
}

.footer-bottom p,
.footer-bottom a {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

.footer-bottom a {
  text-decoration: none;
}

.footer-bottom a:hover {
  color: var(--color-text-muted);
}

/* --- Scroll Animations --- */
.fade-in {
  opacity: 1;
}

@supports (animation-timeline: scroll()) {
  .fade-in {
    opacity: 0;
    animation: reveal-fade linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 100%;
  }
}

@keyframes reveal-fade {
  to { opacity: 1; }
}

/* --- Private Lessons Hero Override --- */
/* Dark urban image — pull back the overlay to let the atmosphere show,
   keep text readable with a stronger bottom gradient. */
.hero--private-lessons .hero-overlay {
  background:
    linear-gradient(
      to top,
      oklch(from var(--color-bg) l c h / 0.97) 0%,
      oklch(from var(--color-bg) l c h / 0.88) 30%,
      oklch(from var(--color-bg) l c h / 0.6) 55%,
      oklch(from var(--color-bg) l c h / 0.25) 75%,
      transparent 90%
    ),
    linear-gradient(
      to bottom,
      oklch(from var(--color-bg) l c h / 0.5) 0%,
      oklch(from var(--color-bg) l c h / 0.3) 15%,
      transparent 35%
    );
}

.hero--private-lessons .hero-image img {
  object-position: center 40%;
}

/* --- Contemporary Hero Override --- */
/* hero-contemporary.jpg is a tall portrait (1200x1799);
   default center 55% pushes the focal point out of frame.
   Aim for the upper body / hands-framing-face area. */
.hero--contemporary .hero-image img {
  object-position: center 20%;
}

/* --- Teacher Card Image Override --- */
/* Jeanne & Laure photos are 600x900 portrait; the default
   3:2 aspect ratio crops below the chin. Use 4:5 instead. */
.teacher-card .service-card-image {
  aspect-ratio: 4 / 5;
}

/* --- FAQ Compact Sections --- */
/* Reduce vertical gap between FAQ categories so headings
   remain visible without excessive scrolling. */
.faq-section {
  padding-top: var(--space-10);
  padding-bottom: var(--space-10);
}

.faq-section + .faq-section {
  padding-top: var(--space-6);
}

/* --- Utility --- */
.text-center { text-align: center; }
.text-accent { color: var(--color-accent); }
.mt-2 { margin-top: var(--space-2); }
.mt-4 { margin-top: var(--space-4); }
.mt-8 { margin-top: var(--space-8); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-8 { margin-bottom: var(--space-8); }
