/* =========================================================
   MAISON NOIRE — SOFT EDITORIAL LUXURY
   style.css — All CSS variables driven by config.js
   ========================================================= */

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

:root {
  --primary:      #1A1A1A;
  --accent:       #C4748A;
  --bg:           #FAF8F5;
  --text:         #1A1A1A;
  --surface:      #F0ECE5;
  --muted:        #8A8580;
  --border:       rgba(0,0,0,0.09);
  --heading-font: 'Cormorant', Georgia, serif;
  --body-font:    'Jost', sans-serif;
  --max-w:        1380px;
  --pad:          clamp(20px, 6vw, 100px);
  --section-py:   clamp(72px, 10vw, 140px);
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  font-family: var(--body-font);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.85;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: var(--body-font); }

/* Hide scrollbar on snap containers */
.snap-scroll::-webkit-scrollbar { display: none; }
.snap-scroll { -ms-overflow-style: none; scrollbar-width: none; }

/* =========================================================
   CUSTOM CURSOR
   ========================================================= */
#cursor-outer,
#cursor-inner {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 99999;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.2s ease, height 0.2s ease,
              opacity 0.2s ease, border-radius 0.2s ease,
              background 0.2s ease;
  will-change: transform;
}

#cursor-outer {
  width: 32px; height: 32px;
  border: 1px solid var(--accent);
  opacity: 0.5;
  display: flex; align-items: center; justify-content: center;
}

#cursor-inner {
  width: 6px; height: 6px;
  background: var(--accent);
}

/* cursor states */
.cursor-hover #cursor-outer  { width: 48px; height: 48px; opacity: 0.8; }
.cursor-hover #cursor-inner  { width: 4px;  height: 4px;  }

.cursor-gallery #cursor-outer {
  width: 64px; height: 64px;
  background: rgba(196,116,138,0.15);
  border-color: var(--accent);
  opacity: 1;
  font-family: var(--body-font);
  font-size: 8px;
  letter-spacing: 0.14em;
  color: var(--accent);
  font-weight: 400;
}
.cursor-gallery #cursor-inner { opacity: 0; }

.cursor-book #cursor-outer {
  width: 80px; height: 32px;
  border-radius: 9999px;
  background: var(--accent);
  border-color: var(--accent);
  opacity: 1;
  font-family: var(--body-font);
  font-size: 8px;
  letter-spacing: 0.14em;
  color: #fff;
  font-weight: 500;
  display: flex; align-items: center; justify-content: center;
}
.cursor-book #cursor-inner { opacity: 0; }

/* cursor label text */
#cursor-outer .cursor-label {
  font-size: 8px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 400;
  pointer-events: none;
  white-space: nowrap;
}

/* =========================================================
   FLOATING BOOK BUTTON
   ========================================================= */
#float-book {
  position: fixed;
  z-index: 9999;
  background: var(--accent);
  color: #fff;
  font-family: var(--body-font);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: opacity 0.4s ease, transform 0.4s ease, box-shadow 0.2s;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

/* Desktop float button */
@media (min-width: 769px) {
  #float-book {
    bottom: 32px; right: 32px;
    height: 52px;
    padding: 0 28px;
    border-radius: var(--float-radius, 9999px);
    box-shadow: 0 4px 24px rgba(0,0,0,0.18);
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
  }
  #float-book.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  #float-book:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.24);
  }
}

/* Mobile float bar */
@media (max-width: 768px) {
  #float-book {
    bottom: 0; left: 0; right: 0;
    width: 100%;
    height: 64px;
    border-radius: 0;
    font-size: 13px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.12);
  }
  body { padding-bottom: 64px; }
}

/* =========================================================
   NAV
   ========================================================= */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease;
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
}

#nav.scrolled {
  /* Glassmorphism — semi-transparent bg + blur */
  background: rgba(250, 248, 245, 0.80);
  border-bottom-color: rgba(0,0,0,0.08);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 17px;
  letter-spacing: 0.06em;
  color: var(--text);
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: clamp(20px, 3vw, 44px);
  list-style: none;
}

.nav-links a {
  font-family: var(--body-font);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
  opacity: 0.75;
  transition: opacity 0.2s;
}
.nav-links a:hover { opacity: 1; }

.nav-book-btn {
  background: var(--accent);
  color: #fff;
  font-family: var(--body-font);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0 24px;
  height: 40px;
  border: none;
  border-radius: 0;
  display: flex; align-items: center;
  text-decoration: none;
  transition: opacity 0.2s;
}
.nav-book-btn:hover { opacity: 0.85; }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px; height: 44px;
  background: none; border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-hamburger span {
  display: block;
  width: 24px; height: 1px;
  background: var(--text);
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav Overlay */
#mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 10vw, 80px) var(--pad);
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
#mobile-nav.open { transform: translateX(0); }

.mobile-nav-close {
  position: absolute;
  top: 20px; right: 20px;
  width: 44px; height: 44px;
  background: none; border: none;
  font-size: 28px;
  color: var(--text);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}

.mobile-nav-links {
  list-style: none;
  margin-bottom: 48px;
}

.mobile-nav-links li {
  border-bottom: 1px solid var(--border);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

#mobile-nav.open .mobile-nav-links li {
  opacity: 1;
  transform: translateY(0);
}
#mobile-nav.open .mobile-nav-links li:nth-child(1) { transition-delay: 0.08s; }
#mobile-nav.open .mobile-nav-links li:nth-child(2) { transition-delay: 0.13s; }
#mobile-nav.open .mobile-nav-links li:nth-child(3) { transition-delay: 0.18s; }
#mobile-nav.open .mobile-nav-links li:nth-child(4) { transition-delay: 0.23s; }
#mobile-nav.open .mobile-nav-links li:nth-child(5) { transition-delay: 0.28s; }

.mobile-nav-links a {
  font-family: var(--heading-font);
  font-style: italic;
  font-size: clamp(38px, 8vw, 52px);
  font-weight: 400;
  color: var(--text);
  display: block;
  padding: 16px 0;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.mobile-nav-links a:hover { color: var(--accent); }

.mobile-nav-phone {
  font-family: var(--body-font);
  font-weight: 400;
  font-size: 18px;
  color: var(--accent);
  display: block;
  margin-bottom: 12px;
}

.mobile-nav-social {
  font-family: var(--body-font);
  font-weight: 300;
  font-size: 13px;
  color: var(--muted);
  display: flex; gap: 20px;
}
.mobile-nav-social a { color: var(--muted); transition: color 0.2s; }
.mobile-nav-social a:hover { color: var(--text); }

@media (max-width: 768px) {
  .nav-links, .nav-book-btn { display: none; }
  .nav-hamburger { display: flex; }
}

/* =========================================================
   HERO
   ========================================================= */
#hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  overflow: hidden;
}

/* Desktop: asymmetric split */
.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 55%;
  padding: 88px 0 60px 8vw;
  padding-right: 5vw;
}

.hero-image-panel {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 50%;
  overflow: hidden;
}

.hero-image-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(250,248,245,0.55) 0%, rgba(250,248,245,0.15) 28%, transparent 52%);
  z-index: 1;
}

.hero-bg {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  will-change: transform;
}

/* Grain overlay */
.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.03;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.hero-eyebrow {
  font-family: var(--body-font);
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
  opacity: 0;
}

.hero-name-wrap {
  overflow: hidden;
  margin-bottom: 16px;
}

.hero-name {
  font-family: var(--heading-font);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(52px, 9vw, 130px);
  letter-spacing: 0.04em;
  line-height: 0.95;
  color: var(--text);
  display: block;
}

/* Splitting.js character spans */
.hero-name .char {
  display: inline-block;
  transform: translateY(110%);
}

.hero-rule {
  width: 60px; height: 1px;
  background: var(--border);
  margin: 24px 0;
  opacity: 0;
  transform-origin: left;
}

.hero-tagline {
  font-family: var(--body-font);
  font-weight: 300;
  font-size: 17px;
  color: var(--muted);
  max-width: 380px;
  line-height: 1.85;
  margin-bottom: 36px;
  opacity: 0;
  transform: translateY(20px);
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 16px;
  opacity: 0;
  transform: translateY(20px);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  font-family: var(--body-font);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  height: 52px;
  padding: 0 36px;
  border: none;
  border-radius: 0;
  transition: opacity 0.2s, box-shadow 0.2s;
  align-self: flex-start;
  white-space: nowrap;
}
.btn-primary:hover {
  opacity: 0.88;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.hero-phone {
  font-family: var(--body-font);
  font-weight: 300;
  font-size: 15px;
  color: var(--muted);
}
.hero-phone a {
  color: var(--accent);
  transition: opacity 0.2s;
}
.hero-phone a:hover { opacity: 0.75; }

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 3;
}
.hero-scroll-line {
  width: 1px;
  height: 60px;
  background: var(--accent);
  transform-origin: top;
  animation: scrollPulse 1.8s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%   { transform: scaleY(0); opacity: 0; }
  30%  { opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}
.hero-scroll-label {
  font-family: var(--body-font);
  font-weight: 400;
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Mobile hero */
@media (max-width: 768px) {
  #hero {
    flex-direction: column;
    min-height: auto;
  }
  .hero-image-panel {
    position: relative;
    width: 100%;
    height: 55vw;
    min-height: 260px;
  }
  .hero-image-panel::before {
    background: linear-gradient(to bottom, transparent 60%, var(--bg) 100%);
  }
  .hero-content {
    width: 100%;
    padding: 32px 24px 48px;
  }
  .hero-name {
    font-size: clamp(48px, 22vw, 80px);
  }
  .btn-primary {
    width: 100%;
    height: 56px;
    font-size: 12px;
  }
  .hero-scroll { display: none; }
}

/* =========================================================
   MARQUEE
   ========================================================= */
#marquee {
  height: 56px;
  overflow: hidden;
  display: flex;
  align-items: center;
  position: relative;
}

.marquee-inner {
  display: flex;
  white-space: nowrap;
  animation: marqueeScroll 48s linear infinite;
  will-change: transform;
}

.marquee-inner:hover { animation-play-state: paused; }

.marquee-track {
  display: flex;
  gap: 0;
  flex-shrink: 0;
}

.marquee-item {
  font-family: var(--body-font);
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0 32px;
  display: inline-block;
  white-space: nowrap;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* =========================================================
   SECTION COMMON
   ========================================================= */
.section {
  padding: var(--section-py) var(--pad);
}

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

.section-eyebrow {
  font-family: var(--body-font);
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-eyebrow::before {
  content: '';
  display: block;
  width: 32px; height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}

.section-heading {
  font-family: var(--heading-font);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: var(--text);
  margin-bottom: 24px;
}

/* word-split spans */
.section-heading .word {
  display: inline-block;
  overflow: hidden;
  padding-bottom: 0.05em;
}
.section-heading .word-inner {
  display: inline-block;
}

/* =========================================================
   SERVICES
   ========================================================= */
#services {
  background: var(--bg);
}

.services-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(48px, 6vw, 100px);
  align-items: start;
}

.services-sticky {
  position: sticky;
  top: 100px;
}

.services-intro {
  font-family: var(--body-font);
  font-weight: 300;
  font-size: 16px;
  color: var(--muted);
  line-height: 1.85;
  max-width: 360px;
  margin-top: 20px;
}

.services-menu-link {
  display: inline-block;
  margin-top: 28px;
  font-family: var(--body-font);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
  transition: opacity 0.2s;
}
.services-menu-link:hover { opacity: 0.7; }

.services-categories {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.service-category-name {
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: 0.02em;
  color: var(--text);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 4px;
}

.service-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  gap: 16px;
  position: relative;
  transition: background 0.2s;
}
.service-item::before {
  content: '';
  position: absolute;
  left: -16px;
  top: 0; bottom: 0;
  width: 3px;
  background: var(--accent);
  opacity: 0;
  transition: opacity 0.2s;
}
.service-item:hover::before { opacity: 1; }
.service-item:hover { background: rgba(196,116,138,0.03); }

.service-name-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.service-item-name {
  font-family: var(--body-font);
  font-weight: 300;
  font-size: 15px;
  color: var(--text);
}

.popular-badge {
  font-family: var(--body-font);
  font-weight: 400;
  font-size: 8px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(196,116,138,0.12);
  padding: 3px 8px;
  white-space: nowrap;
}

.service-price {
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 17px;
  color: var(--text);
  white-space: nowrap;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .services-layout {
    grid-template-columns: 1fr;
  }
  .services-sticky {
    position: static;
  }
  .service-category-name {
    border-left: 3px solid var(--accent);
    padding-left: 12px;
    border-bottom: none;
    border-bottom: 1px solid var(--border);
  }
}

/* =========================================================
   GALLERY
   ========================================================= */
#gallery { background: var(--bg); }

.gallery-header {
  display: flex;
  flex-direction: column;
  margin-bottom: 48px;
}

.gallery-intro {
  font-family: var(--body-font);
  font-weight: 300;
  font-size: 16px;
  color: var(--muted);
  max-width: 480px;
  margin-top: 12px;
}

/* Desktop masonry */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 260px);
  gap: 12px;
}

.gallery-cell {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

/* Masonry layout */
.gallery-cell:nth-child(1) { grid-row: span 2; }
.gallery-cell:nth-child(4) { grid-row: span 2; }

.gallery-cell-bg {
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}
.gallery-cell:hover .gallery-cell-bg {
  transform: scale(1.04);
}

/* Curtain reveal overlay */
.gallery-cell::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--bg);
  z-index: 2;
  transform-origin: left;
  transform: scaleX(1);
}
.gallery-cell.revealed::before {
  transform: scaleX(0);
  transition: transform 0.7s cubic-bezier(0.77, 0, 0.175, 1);
}

/* Hover overlay */
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
}
.gallery-cell:hover .gallery-overlay { opacity: 1; }

.gallery-caption {
  transform: translateY(16px);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
}
.gallery-cell:hover .gallery-caption {
  transform: translateY(0);
  opacity: 1;
}

.gallery-caption-label {
  font-family: var(--body-font);
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 4px;
}

.gallery-caption-work {
  font-family: var(--heading-font);
  font-weight: 400;
  font-style: italic;
  font-size: 20px;
  color: #fff;
}

/* Mobile: horizontal snap */
.gallery-snap {
  display: none;
}

.gallery-footer {
  margin-top: 36px;
  text-align: center;
}
.gallery-insta-link {
  font-family: var(--body-font);
  font-weight: 300;
  font-size: 13px;
  color: var(--muted);
  transition: color 0.2s;
}
.gallery-insta-link:hover { color: var(--accent); }

@media (max-width: 768px) {
  .gallery-grid { display: none; }
  .gallery-snap {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 12px;
    padding-bottom: 4px;
    margin: 0 calc(-1 * var(--pad));
    padding-left: var(--pad);
  }
  .gallery-snap-card {
    flex: 0 0 85vw;
    height: 65vh;
    scroll-snap-align: start;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
  }
  .gallery-snap-card:last-child { margin-right: var(--pad); }
  .gallery-snap-card .gallery-cell-bg {
    width: 100%; height: 100%;
  }
  .gallery-snap-caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 16px;
    background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 100%);
    font-family: var(--body-font);
    font-weight: 300;
    font-size: 13px;
    color: #fff;
    letter-spacing: 0.04em;
  }
}

/* =========================================================
   TEAM
   ========================================================= */
#team { background: var(--bg); }

.team-grid {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 48px;
}

.team-card {
  flex: 0 1 280px;
  max-width: 300px;
  perspective: 800px;
  cursor: default;
}

.team-card-inner {
  transform-style: preserve-3d;
  transition: transform 0.1s linear;
}

.team-photo {
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--surface);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.team-card:hover .team-photo img { transform: scale(1.03); }

.team-info {
  padding: 16px 0;
}

.team-name {
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 18px;
  color: var(--text);
  margin-bottom: 4px;
  letter-spacing: 0.02em;
}

.team-role {
  font-family: var(--body-font);
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.team-bio {
  font-family: var(--body-font);
  font-weight: 300;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.team-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.team-tag {
  font-family: var(--body-font);
  font-weight: 400;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 4px 10px;
}

/* Mobile horizontal snap */
@media (max-width: 768px) {
  .team-grid {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    justify-content: flex-start;
    margin: 0 calc(-1 * var(--pad));
    padding-left: var(--pad);
    gap: 16px;
  }
  .team-card {
    flex: 0 0 75vw;
    max-width: 75vw;
    scroll-snap-align: start;
  }
  .team-card:last-child { margin-right: var(--pad); }
}

/* =========================================================
   REVIEWS
   ========================================================= */
#reviews {
  background: var(--surface);
  position: relative;
}

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

.review-card {
  background: var(--bg);
  padding: clamp(24px, 3vw, 40px);
  box-shadow: 0 2px 24px rgba(0,0,0,0.06);
}

.review-stars {
  color: var(--accent);
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.review-text {
  font-family: var(--heading-font);
  font-weight: 300;
  font-style: italic;
  font-size: 18px;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 20px;
}

.review-author {
  font-family: var(--body-font);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.review-source {
  font-family: var(--body-font);
  font-weight: 300;
  font-size: 10px;
  color: var(--muted);
  opacity: 0.6;
}

.reviews-summary {
  text-align: center;
  margin-top: 48px;
  font-family: var(--heading-font);
  font-weight: 400;
  font-size: 20px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

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

/* =========================================================
   PRICING
   ========================================================= */
#pricing { background: var(--bg); }

.pricing-intro-text {
  font-family: var(--body-font);
  font-weight: 300;
  font-size: 16px;
  color: var(--muted);
  margin-top: 12px;
  max-width: 520px;
}

.pricing-note {
  font-family: var(--body-font);
  font-weight: 300;
  font-size: 13px;
  font-style: italic;
  color: var(--muted);
  margin-top: 8px;
  margin-bottom: 48px;
  opacity: 0.7;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px 60px;
}

.pricing-category {
  display: flex;
  flex-direction: column;
}

.pricing-category-name {
  font-family: var(--body-font);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 4px;
}

.pricing-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  gap: 12px;
  position: relative;
  transition: background 0.2s;
  cursor: default;
}
.pricing-item::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 0; bottom: 0;
  width: 2px;
  background: var(--accent);
  opacity: 0;
  transition: opacity 0.2s;
}
.pricing-item:hover::before { opacity: 1; }
.pricing-item:hover { background: rgba(196,116,138,0.03); padding-left: 4px; }

.pricing-item-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.pricing-item-name {
  font-family: var(--body-font);
  font-weight: 300;
  font-size: 15px;
  color: var(--text);
}

.pricing-item-price {
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 16px;
  color: var(--text);
  white-space: nowrap;
  flex-shrink: 0;
}

.pricing-cta {
  text-align: center;
  margin-top: 56px;
}

.pricing-cta a {
  font-family: var(--body-font);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
  transition: opacity 0.2s;
}
.pricing-cta a:hover { opacity: 0.7; }

@media (max-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .pricing-category-name {
    border-left: 3px solid var(--accent);
    padding-left: 10px;
    border-bottom: 1px solid var(--border);
  }
  .pricing-item {
    gap: 8px;
  }
}

/* =========================================================
   CONTACT / BOOKING
   ========================================================= */
#contact { background: var(--bg); }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(48px, 6vw, 100px);
  align-items: start;
  margin-top: 48px;
}

.contact-heading {
  font-family: var(--heading-font);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.contact-subtext {
  font-family: var(--body-font);
  font-weight: 300;
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 28px;
  line-height: 1.8;
}

.contact-book-link {
  display: block;
  font-family: var(--heading-font);
  font-weight: 400;
  font-size: 24px;
  color: var(--accent);
  letter-spacing: 0.02em;
  margin-bottom: 28px;
  transition: opacity 0.2s;
}
.contact-book-link:hover { opacity: 0.7; }

.contact-divider {
  width: 100%; height: 1px;
  background: var(--border);
  margin: 28px 0;
}

.contact-label {
  font-family: var(--body-font);
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.contact-phone {
  font-family: var(--body-font);
  font-weight: 400;
  font-size: 16px;
  color: var(--accent);
  margin-bottom: 16px;
  min-height: 48px;
  display: flex; align-items: center;
}
.contact-phone a { color: var(--accent); }

.contact-email,
.contact-address {
  font-family: var(--body-font);
  font-weight: 300;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 8px;
}
.contact-email a { color: var(--muted); transition: color 0.2s; }
.contact-email a:hover { color: var(--text); }

/* Hours table */
.hours-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}
.hours-table tr td {
  font-family: var(--body-font);
  font-weight: 300;
  font-size: 14px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(0,0,0,0.04);
  color: var(--text);
}
.hours-table tr td:first-child {
  width: 50%;
  color: var(--muted);
}
.hours-table tr.is-today td {
  color: var(--accent);
  font-weight: 500;
}
.hours-table tr.closed td {
  font-style: italic;
  opacity: 0.5;
}

.contact-social {
  margin-top: 20px;
  display: flex; gap: 20px;
}
.contact-social a {
  font-family: var(--body-font);
  font-weight: 400;
  font-size: 13px;
  color: var(--muted);
  transition: color 0.2s;
}
.contact-social a:hover { color: var(--text); }

/* Contact Form */
.contact-form-heading {
  font-family: var(--body-font);
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
}

.form-field {
  margin-bottom: 28px;
}

.form-label {
  display: block;
  font-family: var(--body-font);
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  font-family: var(--body-font);
  font-weight: 300;
  font-size: 16px;
  color: var(--text);
  padding: 12px 0;
  outline: none;
  transition: border-color 0.2s;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-bottom-color: var(--accent);
}
.form-input, .form-select {
  height: 48px;
}
.form-textarea {
  min-height: 96px;
  resize: vertical;
}

.form-submit {
  width: 100%;
  height: 52px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 0;
  font-family: var(--body-font);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.2s;
  margin-top: 8px;
}
.form-submit:hover { opacity: 0.88; }

.form-privacy {
  text-align: center;
  font-family: var(--body-font);
  font-weight: 300;
  font-size: 11px;
  color: var(--muted);
  margin-top: 12px;
  opacity: 0.7;
}

/* Success state */
.form-success {
  display: none;
  text-align: center;
  padding: 48px 0;
}
.form-success.visible { display: block; }
.form-success-heading {
  font-family: var(--heading-font);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(40px, 6vw, 64px);
  color: var(--text);
  margin-bottom: 12px;
}
.form-success-msg {
  font-family: var(--body-font);
  font-weight: 300;
  font-size: 16px;
  color: var(--muted);
}

@media (max-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .form-submit {
    height: 56px;
  }
}

/* =========================================================
   CTA STRIP
   ========================================================= */
#cta-strip {
  background: var(--accent);
  clip-path: polygon(0 40px, 100% 0, 100% 100%, 0 100%);
  padding: clamp(80px, 10vw, 120px) var(--pad) clamp(60px, 8vw, 100px);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Grain on CTA */
#cta-strip::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.03;
  mix-blend-mode: overlay;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='grain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23grain)' opacity='1'/%3E%3C/svg%3E");
  background-size: 256px;
}

.cta-heading {
  font-family: var(--heading-font);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(32px, 5vw, 64px);
  color: #fff;
  line-height: 1.15;
  max-width: 800px;
  margin: 0 auto 36px;
  letter-spacing: 0.02em;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--accent);
  font-family: var(--body-font);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  height: 52px;
  padding: 0 40px;
  border: none;
  border-radius: 0;
  transition: opacity 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.btn-cta:hover {
  opacity: 0.92;
  box-shadow: 0 6px 28px rgba(0,0,0,0.15);
}

@media (max-width: 768px) {
  .btn-cta {
    width: 100%;
    height: 56px;
  }
}

/* =========================================================
   FOOTER
   ========================================================= */
#footer {
  background: #1A1A1A;
  padding: clamp(56px, 8vw, 100px) var(--pad) 0;
}

@media (max-width: 768px) {
  #footer { padding-bottom: 80px; }
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(32px, 4vw, 60px);
  padding-bottom: 48px;
}

.footer-name {
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 22px;
  color: #fff;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}

.footer-tagline {
  font-family: var(--body-font);
  font-weight: 300;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 8px;
}

.footer-license {
  font-family: var(--body-font);
  font-weight: 300;
  font-size: 11px;
  color: rgba(255,255,255,0.25);
}

.footer-col-heading {
  font-family: var(--body-font);
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-family: var(--body-font);
  font-weight: 300;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.footer-links a:hover { color: #fff; }

.footer-address {
  font-family: var(--body-font);
  font-weight: 300;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 10px;
  line-height: 1.6;
}

.footer-phone {
  font-family: var(--body-font);
  font-weight: 400;
  font-size: 14px;
  color: var(--accent);
  display: block;
  margin-bottom: 6px;
}

.footer-email {
  font-family: var(--body-font);
  font-weight: 300;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  display: block;
  margin-bottom: 16px;
  transition: color 0.2s;
}
.footer-email:hover { color: rgba(255,255,255,0.7); }

.footer-social {
  display: flex;
  gap: 16px;
}
.footer-social a {
  font-family: var(--body-font);
  font-weight: 400;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.footer-social a:hover { color: #fff; }

.footer-bar {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.footer-bar span,
.footer-bar a {
  font-family: var(--body-font);
  font-weight: 300;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
}

@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* =========================================================
   SCROLL / ANIMATION HELPERS
   ========================================================= */
.gsap-hidden {
  opacity: 0;
}

.pricing-item-anim {
  opacity: 0;
  transform: translateX(-24px);
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  #cursor-outer, #cursor-inner { display: none !important; }
}

/* =========================================================
   UTILITY
   ========================================================= */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}

/* =========================================================
   THEME: NAILS — Soft Editorial (Cormorant + Jost)
   Default :root values already apply — these reinforce the
   italic headings that .theme-barber removes.
   ========================================================= */
.theme-nails .hero-name           { font-style: italic; }
.theme-nails .section-heading     { font-style: italic; }
.theme-nails .contact-heading     { font-style: italic; }
.theme-nails .mobile-nav-links a  { font-style: italic; }
.theme-nails .cta-heading         { font-style: italic; }
.theme-nails .contact-book-link   { font-family: var(--heading-font); font-size: 24px; }

/* =========================================================
   THEME: BARBER — Bold High-Contrast (Oswald + Inter)
   ========================================================= */

/* ── Variables ─────────────────────────────────────────── */
.theme-barber {
  --heading-font: 'Oswald', sans-serif;
  --body-font:    'Inter', sans-serif;
}

/* ── Nav glassmorphism tinted for barber bg ─────────────── */
.theme-barber #nav.scrolled {
  background: rgba(247, 246, 243, 0.88);
}

/* ── Hero name: uppercase slab, no italic ───────────────── */
.theme-barber .hero-name {
  font-style:     normal;
  font-weight:    600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size:      clamp(40px, 7vw, 100px);
}

/* ── Image panel: sharper gradient for dark imagery ──────── */
.theme-barber .hero-image-panel::before {
  background: linear-gradient(
    to right,
    rgba(247,246,243,0.60) 0%,
    rgba(247,246,243,0.18) 36%,
    transparent 58%
  );
}

/* ── Section headings: uppercase Oswald ─────────────────── */
.theme-barber .section-heading {
  font-style:     normal;
  font-weight:    600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ── Contact heading ─────────────────────────────────────── */
.theme-barber .contact-heading {
  font-style:     normal;
  font-weight:    600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ── CTA strip heading ────────────────────────────────────── */
.theme-barber .cta-heading {
  font-style:     normal;
  font-weight:    600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size:      clamp(26px, 3.8vw, 52px);
}

/* ── Nav logo: heavy uppercase ──────────────────────────── */
.theme-barber .nav-logo {
  font-family:    var(--heading-font);
  font-weight:    700;
  font-size:      15px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ── Mobile nav overlay links: bold, upright ─────────────── */
.theme-barber .mobile-nav-links a {
  font-family:    var(--heading-font);
  font-style:     normal;
  font-weight:    600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size:      clamp(32px, 7vw, 48px);
}

/* ── Service / pricing category names ───────────────────── */
.theme-barber .service-category-name,
.theme-barber .pricing-category-name {
  font-family:    var(--heading-font);
  font-weight:    500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size:      18px;
}

/* ── Prices: Oswald bold ─────────────────────────────────── */
.theme-barber .service-price,
.theme-barber .pricing-item-price {
  font-family: var(--heading-font);
  font-weight: 600;
  font-size:   15px;
  letter-spacing: 0.04em;
}

/* ── Team name ───────────────────────────────────────────── */
.theme-barber .team-name {
  font-family:    var(--heading-font);
  font-weight:    500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ── Footer name ─────────────────────────────────────────── */
.theme-barber .footer-name {
  font-family:    var(--heading-font);
  font-weight:    700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ── Review cards: Inter body, no italic ─────────────────── */
.theme-barber .review-text {
  font-family: var(--body-font);
  font-style:  normal;
  font-size:   15px;
  line-height: 1.7;
}

/* ── Booking link ────────────────────────────────────────── */
.theme-barber .contact-book-link {
  font-family:    var(--heading-font);
  font-weight:    600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size:      20px;
}

/* ── Eyebrow labels: slightly heavier ───────────────────── */
.theme-barber .section-eyebrow {
  font-weight:    500;
  letter-spacing: 0.3em;
}

/* ── Marquee text: bolder ticker ─────────────────────────── */
.theme-barber .marquee-item {
  font-weight:    500;
  letter-spacing: 0.28em;
}

/* ── Button: rect shape always for barber ───────────────── */
.theme-barber .btn-primary,
.theme-barber .btn-cta,
.theme-barber .nav-book-btn {
  border-radius: 0;
}

/* ── Mobile lead bar: always rect on barber ──────────────── */
.theme-barber #float-book {
  border-radius: 0;
  font-family:    var(--heading-font);
  font-weight:    600;
  letter-spacing: 0.14em;
}
