/* ── HIDE BROWSER VIDEO OVERLAY CONTROLS (PiP, translate, etc.) ── */
video::-webkit-media-controls-overlay-play-button { display: none !important; }
video::-webkit-media-controls-panel { display: none !important; }
video::-webkit-media-controls { display: none !important; }
video::--internal-media-controls-button-panel { display: none !important; }

:root {
  /* Light and only faintly warm. The previous #f3e9d3 / #f8f0dd pair sat at
     ~89% lightness with a 32-point red-to-blue gap, which reads as gold; these
     lift to ~96% and close that gap to 11, so the surfaces stay warm without
     going yellow. */
  --cream: #faf6ef;
  --linen: #fdfaf5;
  --warmgrey: #e9e3db;
  --taupe: #B5A89A;
  --greige: #9f948e;
  --espresso: #3f3632;
  --gold: #C9A96E;
  /* Beige, not pink. #f1ded8 had blue sitting level with green, which is
     what made it read rose; blue now drops below green so it lands warm
     neutral. Drives the homepage tile icons, the booking step dots and
     calendar hover, and the team cards - so it is changed here rather than
     per page, to stop those going pink while the price list goes beige. */
  --blush: #ebe2d6;
  --white: #ffffffd7;
  /* --linen as a raw RGB triplet, for rgba() fades that must dissolve into
     the linen card background (see the hero photo gradient in home.css).
     Keep in sync with --linen above and in the dark theme below. */
  --linen-rgb: 253, 250, 245;
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Jost', sans-serif;
  --transition: 0.3s ease;
}

/* The site is light-only — there is no dark theme. It previously followed
   the device's prefers-color-scheme, so anyone browsing with their phone in
   dark mode was served a near-black palette instead of the cream one. */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  scroll-padding-top: 70px;
}

@media (max-width: 900px) {
  html {
    /* navbar ~52px + subnav ~34px = ~86px */
    scroll-padding-top: 92px;
  }
}

body {
  background: var(--cream);
  color: var(--espresso);
  font-family: var(--font-body);
  font-weight: 300;
  overflow-x: hidden;
  /* Short pages used to leave the footer stranded mid-screen with empty
     cream below it. This pins it to the bottom of the viewport without
     making it fixed - it still scrolls away normally on a long page. */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
body > main { flex: 1 0 auto; }
body > footer { flex-shrink: 0; }

/* ── SHARED APP-PAGE UTILITIES ── */
.container {
  max-width: 1080px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
}

.page-header {
  padding: 5.5rem 1.5rem 1.25rem;
  text-align: center;
}
.page-header .section-eyebrow,
.page-header .section-title {
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 900px) {
  .page-header { padding: 7rem 2rem 1.5rem; }
}

/* ───── PRELOADER ───── */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--espresso);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.pre-logo {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 7vw, 3rem);
  font-weight: 300;
  color: var(--cream);
  letter-spacing: clamp(0.08em, 2vw, 0.25em);
  white-space: nowrap;
  opacity: 0;
  animation: fadeUp 1s 0.3s forwards;
  text-align: center;
  padding: 0 1rem;
}

.pre-line {
  width: 0;
  height: 1px;
  background: var(--taupe);
  animation: expand 1.2s 0.8s forwards;
}

.pre-sub {
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.4em;
  color: var(--taupe);
  text-transform: uppercase;
  opacity: 0;
  animation: fadeUp 0.8s 1.4s forwards;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ── SCROLL REVEAL ANIMATIONS ── */
.reveal,
.reveal-left {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-left {
  transform: translateX(-28px);
}
.reveal.visible,
.reveal-left.visible {
  opacity: 1;
  transform: translateY(0) translateX(0);
}


@keyframes expand {
  from {
    width: 0;
  }

  to {
    width: 120px;
  }
}

/* ───── NAV ───── */
/* Anchor-jump targets (nav/footer links to #team, #gallery, #reviews,
   #location, #faq) need clearance for the fixed nav above them - otherwise
   the heading scrolls to right under the bar and looks like it's missing. */
#team, #gallery, #reviews, #location, #faq {
  scroll-margin-top: 90px;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9500;
  padding: 1rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.4s ease, padding var(--transition), box-shadow var(--transition), border-color 0.4s ease;
  /* App-style pages have a cream background from the very top (no full-bleed
     dark hero to sit transparently over), so the nav is solid from the start;
     .scrolled just tightens the padding/shadow further once you scroll. */
  background: rgba(250,248,245,0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--warmgrey);
  box-shadow: 0 2px 20px rgba(44,36,32,0.06);
}
nav.scrolled {
  background: rgba(250,248,245,0.97) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border-bottom: 1px solid var(--warmgrey) !important;
  box-shadow: 0 2px 20px rgba(44,36,32,0.06) !important;
}

/* Scrolled nav - tighter */
nav.scrolled {
  padding: 0.7rem 4rem;
  box-shadow: 0 4px 24px rgba(44,36,32,0.1);
}

/* Ensure Logo and Links adapt */
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--espresso);
  text-decoration: none;
  transition: color var(--transition);
  white-space: nowrap;
}

/* ── NAV WORDMARK (replaces .nav-logo on the new app-style pages) ── */
.nav-wordmark {
  /* True center regardless of how wide the hamburger vs. lang/bell controls
     are - space-between alone drifts it toward whichever side is narrower. */
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  line-height: 1.1;
  white-space: nowrap;
}
.nav-wordmark-main {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--espresso);
  text-transform: uppercase;
}
.nav-wordmark-sub {
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-body);
  font-size: 0.55rem;
  font-weight: 400;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-top: 0.15rem;
}
.nav-wordmark-sub::before,
.nav-wordmark-sub::after {
  content: '';
  width: 14px;
  height: 1px;
  background: var(--taupe);
}

/* The inline link row is retired in favor of the hamburger menu at every
   width - kept as a plain list (not display:none) so its <a> tags stay
   real, crawlable links for SEO even though they're visually hidden. */
.nav-links {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.nav-links a {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--greige);
  text-decoration: none;
  position: relative;
  transition: color var(--transition);
}
.nav-links a.nav-active,
.mobile-menu a.nav-active {
  color: var(--taupe);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--taupe);
  transition: width 0.4s ease;
}

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

.nav-controls {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.toggle-btn {
  background: none;
  border: 1px solid var(--warmgrey);
  border-radius: 50%;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--greige);
  cursor: pointer;
  transition: all var(--transition);
  flex-shrink: 0;
}

.toggle-btn .theme-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.toggle-btn:hover {
  background: var(--taupe);
  border-color: var(--taupe);
  color: #fff;
  transform: rotate(15deg);
}

.lang-toggle {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--greige);
  font-family: var(--font-body);
  white-space: nowrap;
}

/* ── NAV BELL ── */
.nav-bell {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--warmgrey);
  color: var(--greige);
  text-decoration: none;
  transition: all var(--transition);
  flex-shrink: 0;
}
.nav-bell:hover {
  background: var(--taupe);
  border-color: var(--taupe);
  color: #fff;
}
.nav-bell-dot {
  position: absolute;
  top: 5px;
  right: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e07a3f;
  border: 1.5px solid var(--cream);
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--espresso);
  transition: all 0.3s;
}

/* Compact anchored dropdown (below the hamburger) instead of a full-screen
   takeover - same cream/espresso/taupe theme as the rest of the site. */
.mobile-menu {
  display: none;
  position: fixed;
  top: 4.2rem;
  left: 1rem;
  width: 240px;
  max-width: calc(100vw - 2rem);
  background: var(--linen);
  border: 1px solid var(--warmgrey);
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(44,36,32,0.18);
  z-index: 9001;
  flex-direction: column;
  padding: 0.5rem;
  gap: 0.15rem;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.75rem;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--espresso);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: background 0.2s ease, color 0.2s ease;
}

.mobile-menu a:hover {
  background: var(--linen);
  color: var(--taupe);
}
.mobile-menu a i {
  width: 1.1rem;
  text-align: center;
  color: var(--taupe);
  font-size: 0.85rem;
  flex-shrink: 0;
}

.mobile-menu .close-menu {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--blush);
  border: none;
  color: var(--espresso);
  font-size: 0.7rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
  z-index: 9002;
}
.mobile-menu .close-menu:hover {
  background: var(--taupe);
  color: #fff;
  transform: rotate(90deg);
}

/* ───── HERO ───── */
#hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(44, 36, 32, 0.4) 0%, rgba(44, 36, 32, 0.2) 50%, rgba(44, 36, 32, 0.7) 100%);
}

.hero-content {
  position: relative;
  text-align: center;
  color: var(--cream);
  padding: 0 2rem;
}

.hero-eyebrow {
  font-size: 0.65rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 1s 2s forwards;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 9rem);
  font-weight: 300;
  line-height: 0.92;
  letter-spacing: 0.02em;
  margin-bottom: 0.3rem;
  opacity: 0;
  animation: fadeUp 1s 2.2s forwards;
}

.hero-title em {
  font-style: italic;
  color: var(--taupe);
}

.hero-sub {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3vw, 2.2rem);
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0.15em;
  color: var(--warmgrey);
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp 1s 2.4s forwards;
}

.hero-cta {
  display: inline-flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  animation: fadeUp 1s 2.6s forwards;
}

.btn-primary {
  padding: 1rem 2.5rem;
  background: var(--taupe);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.4s ease;
}

.btn-primary:hover {
  background: var(--espresso);
}

.btn-outline {
  padding: 1rem 2.5rem;
  background: transparent;
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50px;
  transition: all 0.4s ease;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--cream);
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.55rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  animation: bounce 2s infinite 3s;
}

.hero-scroll::after {
  content: '';
  width: 1px;
  height: 28px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
}

@media (max-width: 599px) {
  .hero-scroll {
    bottom: 1.2rem;
    font-size: 0.5rem;
    letter-spacing: 0.2em;
  }
  .hero-scroll::after {
    height: 20px;
  }
}

@keyframes bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

/* ───── SECTION BASE ───── */
section {
  padding: 7rem 4rem;
  background: var(--cream);
}

.section-eyebrow {
  font-size: 0.6rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--espresso);
}

.section-title em {
  font-style: italic;
  color: var(--taupe);
}

.divider {
  width: 60px;
  height: 1px;
  background: var(--taupe);
  margin: 1.5rem 0;
}

/* ───── STATS ───── */
#stats {
  background: var(--espresso);
  padding: 5rem 4rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 300;
  color: var(--cream);
  line-height: 1;
}

.stat-suffix {
  font-style: italic;
  color: var(--taupe);
}

.stat-label {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--greige);
  margin-top: 0.5rem;
}

/* ───── SERVICES ───── */
#services-ribbon {
  background: var(--white);
  padding: 3rem 0;
  overflow: hidden;
  border-top: 1px solid var(--warmgrey);
  border-bottom: 1px solid var(--warmgrey);
}

.ribbon-track {
  display: flex;
  align-items: center;
  width: max-content;
  /* This prevents items from wrapping */
  animation: scroll-services 30s linear infinite;
}

.ribbon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 280px;
  /* Gives every service the same 'hitbox' */
  flex-shrink: 0;
  text-align: center;
}

.ribbon-cat {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--taupe);
  margin-bottom: 0.5rem;
}

.ribbon-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--espresso);
}

.ribbon-sep {
  width: 60px;
  /* Space between the star and the items */
  text-align: center;
  color: var(--taupe);
  opacity: 0.5;
  flex-shrink: 0;
}

@keyframes scroll-services {
  from {
    transform: translateX(0);
  }

  to {
    /* This resets perfectly because Set 2 is exactly behind Set 1 */
    transform: translateX(-50%);
  }
}

/* Mobile Fix */
@media (max-width: 768px) {
  .ribbon-item {
    width: 200px;
  }

  .ribbon-name {
    font-size: 1.2rem;
  }
}

/* ───── BEFORE & AFTER ───── */
#transformation-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px 10px;
}

.slider-container {
  position: relative;
  width: 100%;
  max-width: 480px;
  /* Instagram portrait width */
  aspect-ratio: 4/5;
  /* Instagram portrait ratio */
  overflow: hidden;
  border-radius: 12px;
  cursor: ew-resize;
  user-select: none;
  touch-action: none;
  box-shadow: 0 20px 60px rgba(44, 36, 32, 0.18);
}

.img-after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.before-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  width: 50%;
}

.before-wrap img {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 200%;
  /* overridden by JS */
  object-fit: cover;
}

.label {
  position: absolute;
  top: 16px;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 18px;
  color: #fff;
  z-index: 5;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.label-before {
  left: 16px;
}

.label-after {
  right: 16px;
}

.handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 44px;
  height: 100%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.handle-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: rgba(255, 255, 255, 0.9);
  transform: translateX(-50%);
}

.handle-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.arrows {
  font-size: 13px;
  font-weight: 600;
  color: #555;
}

/* Responsive Grid Logic */
/* ── Gallery Category Cards ── */
/* ══════════════════════════════════════════════════════
   GALLERY - CATEGORY CARDS
   4:5 ratio · blurred cover look · no interactions
   Desktop: 2 cols · Tablet: 2 cols · Mobile: 2→1 cols
   ══════════════════════════════════════════════════════ */

/* ═══════════════════════════
   GALLERY
═══════════════════════════ */
#gallery {
  padding-left: clamp(16px, 4vw, 60px);
  padding-right: clamp(16px, 4vw, 60px);
  /* The generic section bottom-padding (up to 8rem at desktop-large) plus
     .gallery-grid's own bottom padding stacked into a dead gap before
     "Visit the Studio" - same fix as the other section seams. */
  padding-bottom: 3rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding: 10px 0 48px;
  max-width: 860px;
  margin: 0 auto;
}

/* Desktop: 4 across (all 8 categories fill exactly 2 clean rows) with a
   shorter, less portrait-heavy card - the 4:5 ratio read as a lot of
   scrolling once there was room for more columns. */
@media (min-width: 1000px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    max-width: 1300px;
    gap: 20px;
  }
  .gallery-cat-img-wrap {
    aspect-ratio: 4 / 3;
  }
}

/* Last card alone: center it */
.gallery-cat-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  max-width: calc(50% - 7px);
  justify-self: center;
  width: 100%;
}

.gallery-cat-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 4px 24px rgba(44, 36, 32, 0.12);
  transition: box-shadow 0.3s ease;
  -webkit-tap-highlight-color: transparent;
}

.gallery-cat-card:hover {
  box-shadow: 0 8px 36px rgba(44, 36, 32, 0.22);
}

/* Image wrapper — 4:5 ratio */
.gallery-cat-img-wrap {
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  display: block;
}

/* Image — blurred by default, unblurs on hover */
.gallery-cat-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: blur(3px) brightness(0.72);
  transform: scale(1.07);
  transition: filter 0.4s ease, transform 0.4s ease;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.gallery-cat-card:hover .gallery-cat-img-wrap img,
.gallery-cat-card:focus .gallery-cat-img-wrap img,
.gallery-cat-card.touched .gallery-cat-img-wrap img {
  filter: blur(0px) brightness(0.88);
  transform: scale(1.04);
}

/* Label at bottom */
.gallery-cat-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  padding: 48px 12px 22px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-style: italic;
  font-weight: 300;
  color: #fff;
  letter-spacing: 0.07em;
  background: linear-gradient(
    to top,
    rgba(28, 20, 16, 0.82) 0%,
    rgba(28, 20, 16, 0.28) 55%,
    transparent 100%
  );
  pointer-events: none;
  cursor: pointer;
}

/* Instagram link inside label */
.gallery-ig-link {
  pointer-events: auto;
  display: inline-flex;
  vertical-align: middle;
  margin-left: 8px;
}

/* Tablet */
@media (max-width: 899px) {
  .gallery-grid {
    gap: 12px;
    padding: 8px 0 36px;
    max-width: 680px;
  }
  .gallery-cat-card:last-child:nth-child(odd) {
    max-width: calc(50% - 6px);
  }
  .gallery-cat-label {
    font-size: 1.4rem;
  }
}

/* Mobile */
@media (max-width: 599px) {
  #gallery {
    padding-left: 12px;
    padding-right: 12px;
  }
  .gallery-grid {
    gap: 10px;
    padding: 6px 0 28px;
    max-width: 100%;
  }
  .gallery-cat-card:last-child:nth-child(odd) {
    max-width: calc(50% - 5px);
  }
  .gallery-cat-label {
    font-size: 1.2rem;
    padding: 36px 8px 16px;
  }
  .gallery-cat-card {
    border-radius: 14px;
  }
}

/* Very small phones */
@media (max-width: 359px) {
  .gallery-grid {
    gap: 8px;
  }
  .gallery-cat-card:last-child:nth-child(odd) {
    max-width: calc(50% - 4px);
    grid-column: auto;
    justify-self: auto;
  }
}

/* ════════════════════════════════════════════════
   LIGHTBOX
   Full-page, cream bg, title top-left,
   3-col 4:5 portrait grid, close top-right
════════════════════════════════════════════════ */

/* Overlay — dark backdrop, centers the modal */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  z-index: 9600;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
  padding: 24px 16px;
}
.lightbox-overlay.active {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

/* Box — centered modal */
.lightbox-box {
  width: 100%;
  max-width: 720px;
  max-height: 88vh;
  overflow-y: auto;
  padding: 28px 20px 32px;
  box-sizing: border-box;
  background: var(--cream, #faf8f5);
  border-radius: 20px;
  position: relative;
  margin: auto;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

/* Close button — inside modal top-right */
.lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #2c2420;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9700;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  transition: background 0.2s;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.lightbox-close:hover {
  background: var(--taupe, #B5A89A);
}

/* Title — italic serif top-left */
.lightbox-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-style: italic;
  font-weight: 300;
  color: var(--espresso, #3f3632);
  letter-spacing: 0.02em;
  margin: 0 0 16px 0;
  padding-right: 50px;
  display: block;
}

/* ── 3-column grid ── */
.lightbox-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  width: 100%;
  box-sizing: border-box;
}

/* ── Every cell — 4:5 portrait, bulletproof padding trick ── */
.lightbox-grid .media-wrap,
.lightbox-grid .video-wrap {
  position: relative !important;
  width: 100% !important;
  padding-bottom: 125% !important; /* 4:5 ratio */
  height: 0 !important;
  overflow: hidden !important;
  border-radius: 8px !important;
  background: #1a1715 !important;
  display: block !important;
  box-sizing: border-box !important;
}

/* ── All media fills its cell absolutely ── */
.lightbox-grid .media-wrap img,
.lightbox-grid .video-wrap video {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  pointer-events: none !important;
  border-radius: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
.lightbox-grid .media-wrap img {
  object-position: center top !important;
}
.lightbox-grid .video-wrap video {
  object-position: center !important;
  transform: translateZ(0);
  will-change: transform;
}

/* ── Shimmer ── */
.video-shimmer {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    90deg,
    #1a1715 0%,
    #2d2824 40%,
    #3a3330 50%,
    #2d2824 60%,
    #1a1715 100%
  );
  background-size: 200% 100%;
  animation: videoShimmer 1.6s ease-in-out infinite;
  pointer-events: none;
  transition: opacity 0.3s ease;
  border-radius: 8px;
}
@keyframes videoShimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── Tablet (600–899px) — 3 cols, slightly smaller gap ── */
@media (max-width: 899px) {
  .lightbox-box { padding: 28px 12px 48px; }
  .lightbox-title { font-size: 1.5rem; }
  .lightbox-grid { gap: 5px; }
}

/* ── Mobile (up to 599px) — 2 cols ── */
@media (max-width: 599px) {
  .lightbox-box { padding: 24px 10px 40px; }
  .lightbox-title { font-size: 1.3rem; margin-bottom: 12px; }
  .lightbox-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
  }
  .lightbox-close {
    width: 34px;
    height: 34px;
    top: 10px;
    right: 10px;
    font-size: 0.85rem;
  }
}

/* ── Very small phones (up to 360px) — 2 cols ── */
@media (max-width: 360px) {
  .lightbox-grid { gap: 3px; }
  .lightbox-title { font-size: 1.1rem; }
  .lightbox-box { padding: 20px 8px 36px; }
}

/* ── Landscape phones — 3 cols ── */
@media (max-width: 900px) and (orientation: landscape) and (max-height: 500px) {
  .lightbox-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
  }
  .lightbox-title { font-size: 1.1rem; }
  .lightbox-box { padding: 20px 10px 32px; }
}

/* Animation States */
.hidden {
  display: none;
}

.fade-in {
  animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ───── BRANDS ───── */
#brands {
  background: var(--espresso);
  padding: 3rem 0;
  overflow: hidden;
}

.brands-track {
  display: flex;
  gap: 5rem;
  align-items: center;
  white-space: nowrap;
  animation: scroll-brands 10s linear infinite;
}

.brands-track:hover {
  animation-play-state: paused;
}

.brand-item {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  color: var(--greige);
  text-transform: uppercase;
  flex-shrink: 0;
}

.brand-sep {
  color: var(--taupe);
  flex-shrink: 0;
}

@keyframes scroll-brands {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ───── BEHIND THE CHAIR ───── */
#behind-chair {
  padding: 5rem 0 4rem;
  background: var(--linen);
  overflow: hidden;
}
#behind-chair .section-title,
#behind-chair .section-eyebrow,
#behind-chair .divider {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
#behind-chair .divider { display: block; }

.behind-chair-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 1.5rem 2rem 2rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
}
.behind-chair-track:active { cursor: grabbing; }
.behind-chair-track::-webkit-scrollbar { height: 4px; }
.behind-chair-track::-webkit-scrollbar-track { background: var(--warmgrey); border-radius: 4px; }
.behind-chair-track::-webkit-scrollbar-thumb { background: var(--taupe); border-radius: 4px; }

.behind-chair-card {
  flex: 0 0 240px;
  scroll-snap-align: start;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 9/16;
  background: var(--espresso);
  position: relative;
}
.behind-chair-card video,
.behind-chair-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.behind-chair-empty {
  padding: 3rem;
  color: var(--greige);
  font-size: 0.85rem;
  text-align: center;
  width: 100%;
}

@media (max-width: 600px) {
  .behind-chair-card { flex: 0 0 180px; }
  #behind-chair { padding: 3rem 0 2rem; }
}

/* ───── TEAM SECTION ───── */
#team {
  background: var(--cream);
  padding: 8rem 0;
  text-align: center;
  /* Centers the Eyebrow, Title, and Divider */
}

/* ─── Titles & Headers ─── */
.section-eyebrow {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 1rem;
  text-align: center;
}

.section-title {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--espresso);
  margin: 0 auto 1.5rem;
  text-align: center;
}

.section-title em {
  font-style: italic;
  font-family: inherit;
}

.divider {
  width: 60px;
  height: 1px;
  background: var(--taupe);
  margin: 0 auto 4rem;
  /* margin: 0 auto centers the divider */
}

/* ─── Team Grid Layout ─── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  padding: 0 2rem;
}

.team-card {
  text-align: center;
  position: relative;
}

.team-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 8px;
}

.team-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.5s ease;
}

.team-card:hover .team-img-wrap img {
  transform: scale(1.05);
}

.team-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(44,36,32,0.7) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}

.team-card:hover .team-overlay {
  opacity: 1;
}

.team-socials {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  gap: 0.5rem;
}

.team-card:hover .team-socials {
  opacity: 1;
}

.team-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--espresso);
  margin-top: 0.8rem;
}

.team-role {
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-top: 0.2rem;
}

.team-bio {
  font-size: 0.75rem;
  color: var(--greige);
  line-height: 1.5;
  margin-top: 0.5rem;
  padding: 0 0.3rem;
}
/* ─── Responsive (Mobile) ─── */
@media (max-width: 600px) {
  #team {
    padding: 4rem 0;
  }

  .section-title {
    font-size: 2rem;
  }

  /* Team — Mobile: 2 columns */
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 0.8rem;
    padding: 0 1rem;
  }

  .team-card:last-child:nth-child(odd) {
    grid-column: auto;
    max-width: 100%;
  }

  .team-name {
    font-size: 1.1rem;
  }

  .team-role {
    font-size: 0.6rem;
    letter-spacing: 0.15em;
  }

  .team-bio {
    font-size: 0.75rem;
    max-width: 100%;
  }

  .team-img-wrap {
    margin-bottom: 0.8rem;
  }
}

/* ───── TESTIMONIALS ───── */
#testimonials {
  background: var(--linen);
}
.reviews-scroll {
  display: flex;
  gap: 1.2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 1.5rem 0.5rem 2rem;
  margin-top: 2rem;
  scrollbar-width: none;
}

.reviews-scroll::-webkit-scrollbar {
  display: none;
}

.review-card {
  flex: 0 0 300px;
  scroll-snap-align: start;
  background: var(--cream);
  border: 1px solid var(--warmgrey);
  border-radius: 8px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(181,168,154,0.2);
}

.stars {
  color: var(--taupe);
  font-size: 0.85rem;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
}

.review-text {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-style: italic;
  color: var(--espresso);
  line-height: 1.6;
  flex: 1;
}

.review-footer {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--warmgrey);
}

.review-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--taupe), var(--espresso));
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1rem;
  flex-shrink: 0;
}

.review-author {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--espresso);
  font-weight: 500;
}

.review-date {
  font-size: 0.58rem;
  color: var(--taupe);
  margin-top: 0.1rem;
}
/* ───── HOURS & MAP ───── */
#location {
  background: var(--cream);
  /* Gallery's own bottom padding plus the generic section top/bottom padding
     (up to 8rem at desktop-large) stacked into dead gaps on both sides of
     this section - same fix as the Team/Gallery/FAQ seams. */
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.location-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: stretch;
}

.hours-list {
  margin-top: 2rem;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--warmgrey);
  font-size: 0.85rem;
}

.hours-day {
  color: var(--espresso);
}

.hours-time {
  color: var(--greige);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: 50px;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: 1.5rem;
}
.status-badge::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

.status-open {
  background: rgba(90, 140, 90, 0.1);
  color: #5a8c5a;
  border: 1px solid rgba(90, 140, 90, 0.3);
}
.status-open::before { animation: statusPulse 1.8s ease-in-out infinite; }
@keyframes statusPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.5); }
}

.status-closed {
  background: rgba(180, 80, 80, 0.1);
  color: #b45050;
  border: 1px solid rgba(180, 80, 80, 0.3);
}

.map-frame {
  width: 100%;
  height: 320px;
  border: none;
  filter: grayscale(20%)contrast(1.05);
  border: 1px solid var(--warmgrey);
}

/* ───── FAQ ───── */
#faq {
  background: var(--linen);
}

.faq-list {
  margin-top: 3rem;
  max-width: 800px;
}

.faq-item {
  border-bottom: 1px solid var(--warmgrey);
}

.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.5rem 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--espresso);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s;
}

.faq-q:hover {
  color: var(--taupe);
}

.faq-q .faq-icon {
  font-size: 0.8rem;
  color: var(--taupe);
  transition: transform 0.4s;
}

.faq-q.open .faq-icon {
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.faq-a p {
  padding: 0 0 1.5rem;
  font-size: 0.9rem;
  color: var(--greige);
  line-height: 1.8;
}

/* ───── CHATBOT — MODERN REDESIGN ───── */

.chat-bubble {
  position: fixed;
  bottom: 1.5rem;
  right: 1rem;
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--espresso), #6b5448);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9800;
  box-shadow: 0 8px 30px rgba(44, 36, 32, 0.45);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.chat-bubble:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 14px 40px rgba(44, 36, 32, 0.5);
}

.chat-bubble svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}

.chat-window {
  position: fixed;
  bottom: 7rem;
  right: 2rem;
  width: 400px;
  background: var(--cream);
  border: none;
  border-radius: 24px;
  z-index: 9800;
  box-shadow:
    0 24px 80px rgba(44, 36, 32, 0.22),
    0 4px 16px rgba(44, 36, 32, 0.1);
  display: none;
  flex-direction: column;
  max-height: 580px;
  overflow: hidden;
  transform-origin: bottom right;
  animation: chatOpen 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes chatOpen {
  from { opacity: 0; transform: scale(0.85) translateY(12px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.chat-window.open {
  display: flex;
}

/* Header */
.chat-header {
  background: linear-gradient(135deg, var(--espresso) 0%, #5c4840 100%);
  padding: 1.4rem 1.6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.chat-header::before {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 100px;
  height: 100px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}

.chat-header::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 20px;
  width: 60px;
  height: 60px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
}

.chat-header-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
  z-index: 1;
}

.chat-header-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--taupe), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.chat-header-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.chat-header-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: #fff;
  line-height: 1;
}

.chat-header-sub {
  font-size: 0.62rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.12em;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.chat-header-sub::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6ee88a;
  box-shadow: 0 0 6px #6ee88a;
}

.chat-close {
  background: rgba(255,255,255,0.1);
  border: none;
  color: rgba(255,255,255,0.8);
  cursor: pointer;
  font-size: 1rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  position: relative;
  z-index: 1;
}

.chat-close:hover {
  background: rgba(255,255,255,0.2);
  color: #fff;
}

/* Messages */
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1.4rem 1.4rem 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  scrollbar-width: thin;
  scrollbar-color: var(--warmgrey) transparent;
}

.chat-messages::-webkit-scrollbar {
  width: 4px;
}
.chat-messages::-webkit-scrollbar-thumb {
  background: var(--warmgrey);
  border-radius: 4px;
}

.chat-msg {
  max-width: 82%;
  padding: 0.75rem 1.1rem;
  font-size: 0.83rem;
  line-height: 1.65;
  white-space: pre-line;
  word-break: break-word;
}

.chat-msg.bot {
  background: var(--linen);
  color: var(--espresso);
  align-self: flex-start;
  border-radius: 20px 20px 20px 4px;
  border: 1px solid var(--warmgrey);
  box-shadow: 0 2px 8px rgba(44,36,32,0.06);
}

.chat-msg.user {
  background: linear-gradient(135deg, var(--espresso), #5c4840);
  color: #fff;
  align-self: flex-end;
  border-radius: 20px 20px 4px 20px;
  box-shadow: 0 3px 12px rgba(44,36,32,0.2);
}

/* Typing indicator */
.chat-typing {
  display: flex;
  gap: 5px;
  align-items: center;
  padding: 0.75rem 1.1rem !important;
}

.chat-typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--taupe);
  animation: chatBounce 1.2s infinite;
}

.chat-typing span:nth-child(2) {
  animation-delay: 0.2s;
}

.chat-typing span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes chatBounce {
  0%, 80%, 100% { transform: translateY(0); }
  40%           { transform: translateY(-6px); }
}

/* Suggestion chips */
.chat-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0.8rem 1.4rem 0.6rem;
  flex-shrink: 0;
}

.chat-sug {
  padding: 0.38rem 0.85rem;
  background: none;
  border: 1px solid var(--warmgrey);
  border-radius: 20px;
  color: var(--greige);
  font-family: var(--font-body);
  font-size: 0.68rem;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.chat-sug:hover {
  background: var(--espresso);
  border-color: var(--espresso);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(44,36,32,0.15);
}

/* Input area */
.chat-input-area {
  display: flex;
  align-items: center;
  border-top: 1px solid var(--warmgrey);
  padding: 0.6rem 0.8rem 0.6rem 1.2rem;
  flex-shrink: 0;
  gap: 0.5rem;
  background: var(--cream);
  box-sizing: border-box;
  width: 100%;
  overflow: hidden;
}

.chat-input {
  flex: 1;
  min-width: 0;
  padding: 0.55rem 0;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--espresso);
  outline: none;
}

.chat-input::placeholder {
  color: var(--taupe);
}

.chat-send {
  padding: 0;
  width: 36px;
  height: 36px;
  min-width: 36px;
  background: linear-gradient(135deg, var(--espresso), #6b5448);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: #fff;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(44,36,32,0.25);
}

.chat-send:hover {
  transform: scale(1.08);
  box-shadow: 0 5px 16px rgba(44,36,32,0.35);
}
.chat-send svg {
  width: 16px;
  height: 16px;
  fill: #fff;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════
   FULL RESPONSIVE SYSTEM - All screens: phone, tablet, desktop
   ═══════════════════════════════════════════════════════════════ */

/* ── DESKTOP LARGE (1200px+) ── */
@media (min-width: 1200px) {
  section {
    padding: 8rem 6rem;
  }

  #stats {
    padding: 5rem 6rem;
  }
}

/* ── TABLET LANDSCAPE / SMALL DESKTOP (900px–1199px) ── */
@media (max-width: 1100px) {
  nav {
    padding: 1rem 2.5rem;
  }

  nav.scrolled {
    padding: 0.8rem 2.5rem;
    background: rgba(250,248,245,0.97) !important;
    border-bottom: 1px solid var(--warmgrey) !important;
  }

  section {
    padding: 6rem 3rem;
  }

  #stats {
    padding: 4rem 3rem;
    grid-template-columns: repeat(4, 1fr);
  }

  .footer-top {
    gap: 2rem;
  }
}

/* ── TABLET PORTRAIT (600px–899px) ── */
@media (max-width: 900px) {
  nav {
    padding: 0.5rem 1.2rem;
  }
  nav.scrolled {
    padding: 0.3rem 1.2rem;
    background: rgba(250,248,245,0.97) !important;
    backdrop-filter: blur(16px) !important;
    border-bottom: 1px solid var(--warmgrey) !important;
    box-shadow: 0 2px 20px rgba(44,36,32,0.06) !important;
  }

  .nav-links {
    display: none;
  }

  /* Keep ALL nav-controls visible on tablet */
  .nav-controls {
    display: flex;
    gap: 0.5rem;
    align-items: center;
  }

  .nav-controls .lang-toggle,
  .nav-controls .toggle-btn {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  /* General sections — push below navbar + subnav (~86px total) */
  section {
    padding: 5rem 2rem;
    padding-top: 6rem;
  }

  #stats {
    padding: 3rem 2rem;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  /* Team — iPad: 3 columns */
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
    padding: 0 1.5rem;
  }

  /* Before/After slider — slightly smaller on tablet */
  .slider-container {
    max-width: 380px;
  }

  /* Location */
  .location-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .map-frame {
    height: 320px;
  }

  /* Testimonials */
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Footer */
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

/* ── MOBILE (up to 599px) ── */
@media (max-width: 599px) {

  /* Nav */
  nav {
    padding: 0.45rem 1rem;
  }

  nav.scrolled {
    padding: 0.25rem 1rem;
    background: rgba(250,248,245,0.97) !important;
    backdrop-filter: blur(16px) !important;
    border-bottom: 1px solid var(--warmgrey) !important;
    box-shadow: 0 2px 20px rgba(44,36,32,0.06) !important;
  }

  .nav-links {
    display: none;
  }

  /* Keep nav-controls — Book Now + toggles on mobile */
  .nav-controls {
    display: flex !important;
    gap: 0.4rem;
    align-items: center;
  }

  /* Absolute viewport-centering works on wide screens where there's slack on
     both sides, but on a phone the wordmark is wider than the gap left by the
     hamburger and the lang/bell controls, so it ran straight over "NO | EN".
     Put it back in the flex flow here - it then centers in whatever space is
     actually free and can never overlap its neighbours. */
  .nav-wordmark {
    position: static;
    transform: none;
    flex: 1 1 auto;
    min-width: 0;
  }
}

/* Below ~400px even the freed-up space is narrower than the wordmark's
   natural width, so step the type down rather than let it crowd the bell. */
@media (max-width: 400px) {
  .nav-wordmark-main { font-size: 0.98rem; letter-spacing: 0.08em; }
  .nav-wordmark-sub { font-size: 0.48rem; letter-spacing: 0.3em; }
  .nav-wordmark-sub::before,
  .nav-wordmark-sub::after { width: 10px; }

  /* Show lang/theme toggles on mobile */
  .nav-controls .lang-toggle,
  .nav-controls .toggle-btn {
    display: flex !important;
    font-size: 0.65rem;
    padding: 0.3rem 0.5rem;
  }

  /* Keep Book Now text visible */
  .btn-book-now span {
    display: inline !important;
    font-size: 0.7rem;
  }

  .btn-book-now {
    padding: 0.45rem 0.7rem !important;
    font-size: 0.75rem;
  }

  .hamburger {
    display: flex;
  }

  /* Hero */
  #hero {
    height: 100svh;
  }

  .hero-content {
    padding-top: 5rem; /* push content below navbar + subnav */
  }

  .hero-title {
    font-size: clamp(3.2rem, 14vw, 6rem);
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .btn-primary,
  .btn-outline {
    width: 100%;
    max-width: 260px;
    text-align: center;
  }

  /* Stats */
  #stats {
    padding: 3rem 1.5rem;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .stat-number {
    font-size: clamp(2.5rem, 10vw, 4rem);
  }

  /* General sections */
  section {
    padding: 4rem 1.2rem;
    padding-top: 5.5rem;
  }

  .section-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  /* Before/After slider */
  #transformation-section {
    padding: 40px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .slider-container {
    position: relative;
    width: 100%;
    max-width: 420px;
    /* Instagram style width */
    aspect-ratio: 4/5;
    /* Instagram portrait ratio */
    overflow: hidden;
    border-radius: 14px;
  }

  /* Brands */
  #brands {
    padding: 2rem 0;
  }

  /* Testimonials */
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .review-card {
    padding: 1.8rem;
  }

  /* Social */
  #social {
    padding: 3rem 1.2rem;
  }

  .social-links {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  /* Location */
  .location-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .map-frame {
    height: 260px;
  }

  /* FAQ */
  #faq {
    padding: 4rem 1.2rem;
  }

  .faq-q {
    font-size: 1rem;
  }

  /* Footer */
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  footer {
    padding: 3rem 1.5rem 1.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
    font-size: 0.65rem;
  }

  /* Chatbot — compact on phones */
  .chat-bubble {
    width: 44px;
    height: 44px;
    bottom: 1.5rem;
    right: 1rem;
  }
  .chat-bubble svg { width: 20px; height: 20px; }
  .chat-window {
    width: calc(100vw - 1.5rem);
    right: 0.75rem;
    left: 0.75rem;
    bottom: 5rem;
    top: auto;
    max-height: 70vh;
    height: auto;
    border-radius: 20px;
  }
}

/* ── VERY SMALL PHONES (up to 390px — iPhone X/11/12/13 mini) ── */
@media (max-width: 390px) {
  .hero-title {
    font-size: clamp(2.6rem, 13vw, 3.2rem);
  }

  .hero-content {
    padding: 0 1rem;
    padding-top: 4rem;
  }

  .hero-cta {
    gap: 0.6rem;
  }

  .hero-cta .btn-book-now {
    font-size: 0.68rem !important;
    padding: 0.65rem 1.2rem !important;
  }

  .hero-cta .btn-outline {
    font-size: 0.62rem !important;
    padding: 0.65rem 1.4rem !important;
  }

  .hero-scroll {
    bottom: 0.8rem;
    font-size: 0.48rem;
  }

  .hero-scroll::after {
    height: 16px;
  }

  .team-name {
    font-size: 0.95rem;
  }

  .team-role {
    font-size: 0.55rem;
  }

  #stats {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* ───── BACK TO TOP ───── */
#back-top {
  position: fixed;
  bottom: 1.5rem;
  left: 1rem;
  width: 40px;
  height: 40px;
  background: var(--espresso);
  color: var(--cream);
  border: none;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  z-index: 9500;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s ease, background 0.3s;
  box-shadow: 0 4px 16px rgba(44,36,32,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}

#back-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#back-top:hover {
  background: var(--taupe);
}

@media (max-width: 599px) {
  #back-top {
    left: 1rem;
    bottom: 1.5rem;
    width: 36px;
    height: 36px;
    font-size: 0.85rem;
  }
}

/* ───── BOOK NOW BUTTON ───── */
.btn-book-now {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: linear-gradient(135deg, #ba9f93ac, #52433978);
  color: #fff !important;
  padding: 0.5rem 1.1rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
  box-shadow: 0 2px 12px rgba(71, 53, 34, 0.35);
}

.btn-book-now:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(71, 53, 34, 0.5);
}

.btn-book-now i {
  font-size: 0.95rem;
}

/* Hero CTA variant — slightly larger */
.hero-cta .btn-book-now {
  padding: 1rem 2.5rem;
  font-size: 0.78rem;
  border-radius: 4px;
}

@media (max-width: 599px) {
  .hero-cta .btn-book-now {
    width: 100%;
    max-width: 260px;
    justify-content: center;
  }
}

/* ───── SOCIAL SECTION (buttons only, no grid) ───── */
#social {
  background: var(--linen);
}

#social .section-eyebrow {
  color: var(--taupe);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  justify-content: center;
  margin-top: 2rem;
}

.social-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.8rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
  /* Solid espresso pill — fully visible */
  border: 1px solid transparent;
  background: var(--espresso);
  color: var(--cream) !important;
}

.social-link-btn:hover {
  transform: translateY(-3px);
  background: var(--taupe);
  box-shadow: 0 8px 22px rgba(0,0,0,0.2);
}

.social-link-btn i {
  font-size: 1rem;
}

@media (max-width: 599px) {
  .social-links {
    flex-direction: column;
    align-items: center;
  }

  .social-link-btn {
    width: 100%;
    max-width: 240px;
    justify-content: center;
  }
}

/* ───── FOOTER RESPONSIVE ───── */
footer {
  background: var(--espresso);
  padding: 2.5rem 2.5rem 1.25rem;
}

.footer-top {
  max-width: 1400px;
  margin: 0 auto 1.25rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--cream);
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.footer-tagline {
  font-size: 0.74rem;
  color: var(--greige);
  line-height: 1.5;
}

.footer-col-title {
  font-size: 0.58rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 0.6rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-links a {
  font-size: 0.74rem;
  color: var(--greige);
  text-decoration: none;
  transition: color 0.3s;
}

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

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  border-top: 1px solid var(--warmgrey);
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.65rem;
  color: var(--greige);
  letter-spacing: 0.06em;
}

@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .footer-top > div:first-child {
    grid-column: 1 / -1;
  }
  footer {
    padding: 2rem 1.5rem 1rem;
  }
}

@media (max-width: 599px) {
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  .footer-top > div:first-child {
    grid-column: 1 / -1;
  }
  footer {
    padding: 1.75rem 1.25rem 1rem;
  }
  .footer-bottom {
    flex-wrap: wrap;
    gap: 0.4rem;
    font-size: 0.6rem;
  }
}

/* ───── TEAM SOCIAL ICON ───── */
.team-social-link {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}

.team-social-link:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.8);
  transform: scale(1.1);
}

.team-social-link i {
  font-size: 1rem;
  color: rgba(255,255,255,0.9);
}
/* ── NAV ALWAYS VISIBLE — landscape phones ── */
@media (max-height: 500px) and (orientation: landscape) {
  nav {
    padding: 0.45rem 1.2rem !important;
    position: fixed !important;
    top: 0; left: 0; right: 0;
    z-index: 999 !important;
    min-height: 48px;
  }
  .nav-wordmark-main { font-size: 0.95rem !important; }
  .nav-wordmark-sub { font-size: 0.48rem !important; }
  .nav-links { display: none !important; }
  .hamburger { display: flex !important; }
  .nav-controls { gap: 0.3rem !important; }
  .toggle-btn  { font-size: 0.65rem !important; padding: 0.18rem 0.45rem !important; }
  .lang-toggle { font-size: 0.6rem !important; }
}
/* ───── SCROLL PROGRESS BAR ───── */
#scroll-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, #B5A89A 0%, #C9A96E 60%, #d6bfa4 100%);
  border-radius: 0 2px 2px 0;
  transition: width 0.08s linear;
  pointer-events: none;
  z-index: 101;
  will-change: width;
}

/* Hide on hero (before user scrolls — only show once nav is scrolled) */
nav:not(.scrolled) #scroll-progress {
  opacity: 0;
}

nav.scrolled #scroll-progress {
  opacity: 1;
  transition: width 0.08s linear, opacity 0.3s ease;
}

/* ═══════════════════════════════════════════════════
   NEW FEATURES - Fully responsive, bigger, polished
   ═══════════════════════════════════════════════════ */

/* ── HERO TIME GREETING ── */
.hero-time-greeting {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  font-weight: 300;
  font-style: italic;
  color: rgba(250,248,245,0.65);
  letter-spacing: 0.1em;
  margin: 0.2rem 0 1.5rem;
  opacity: 0;
  animation: fadeUp 1s 2.5s forwards;
}

/* ── LANG DETECT BANNER ── */
.lang-banner {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--espresso);
  color: var(--cream);
  padding: 1rem 1.8rem;
  border-radius: 60px;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  z-index: 9600;
  box-shadow: 0 12px 40px rgba(44,36,32,0.45);
  white-space: nowrap;
  animation: slideUpFade 0.5s ease;
  max-width: calc(100vw - 2rem);
}
@keyframes slideUpFade {
  from { opacity: 0; transform: translateX(-50%) translateY(20px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.lang-banner-text {
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  color: rgba(250,248,245,0.85);
}
.lang-banner-btns { display: flex; gap: 0.5rem; }
.lang-banner-btn {
  padding: 0.35rem 0.9rem;
  border-radius: 20px;
  border: 1px solid rgba(181,168,154,0.4);
  background: transparent;
  color: #B5A89A;
  font-size: 0.72rem;
  font-family: var(--font-body);
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: all 0.2s;
  text-transform: uppercase;
}
.lang-banner-btn.active,
.lang-banner-btn:hover {
  background: #B5A89A;
  border-color: #B5A89A;
  color: var(--espresso);
}
.lang-banner-close {
  background: none;
  border: none;
  color: rgba(250,248,245,0.35);
  cursor: pointer;
  font-size: 0.85rem;
  padding: 0;
  transition: color 0.2s;
  flex-shrink: 0;
}
.lang-banner-close:hover { color: rgba(250,248,245,0.8); }
@media (max-width: 599px) {
  .lang-banner {
    flex-wrap: wrap;
    justify-content: center;
    border-radius: 20px;
    padding: 1rem 1.2rem;
    bottom: 1rem;
    gap: 0.8rem;
  }
  .lang-banner-text { font-size: 0.78rem; text-align: center; }
}

/* ── HAIR TIP FLOAT CARD ── */
.tip-float {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  width: 360px;
  background: var(--espresso);
  border-radius: 22px;
  z-index: 9400;
  box-shadow: 0 20px 60px rgba(44,36,32,0.55);
  border: 1px solid rgba(201,169,110,0.18);
  display: none;
}
.tip-float.is-showing {
  animation: tipSlideIn 0.4s cubic-bezier(0.34,1.2,0.64,1) forwards;
}
.tip-float-inner { padding: 1.6rem 1.8rem; }
.tip-float-top {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
}
.tip-float-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(201,169,110,0.12);
  border: 1px solid rgba(201,169,110,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #C9A96E;
  font-size: 1rem;
  flex-shrink: 0;
}
.tip-float-info { flex: 1; }
.tip-float-title {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #C9A96E;
  font-weight: 500;
}
.tip-float-sub {
  font-size: 0.6rem;
  color: rgba(181,168,154,0.45);
  letter-spacing: 0.08em;
  margin-top: 2px;
}
.tip-float-close {
  background: rgba(255,255,255,0.07);
  border: none;
  color: rgba(181,168,154,0.5);
  cursor: pointer;
  font-size: 0.75rem;
  padding: 0;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.tip-float-close:hover {
  background: rgba(255,255,255,0.15);
  color: rgba(181,168,154,0.9);
}
.tip-float-body {
  font-size: 0.9rem;
  color: rgba(250,248,245,0.78);
  line-height: 1.7;
  font-family: var(--font-display);
  font-style: italic;
}
@media (max-width: 599px) {
  .tip-float {
    left: 1rem;
    right: 1rem;
    width: auto;
    bottom: 1rem;
  }
}
@media (min-width: 600px) and (max-width: 1024px) {
  .tip-float { left: 1.5rem; width: 340px; }
}


/* ── VISIT COUNTER ── */
.visit-counter {
  position: fixed;
  top: 5rem;
  right: 1.5rem;
  background: var(--espresso);
  border-radius: 22px;
  padding: 1.4rem 1.6rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  z-index: 9400;
  box-shadow: 0 16px 50px rgba(44,36,32,0.45);
  max-width: 300px;
  border: 1px solid rgba(201,169,110,0.18);
}
.visit-counter.is-showing {
  animation: counterSlideIn 0.4s cubic-bezier(0.34,1.2,0.64,1) forwards;
}
.visit-counter-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(201,169,110,0.18), rgba(201,169,110,0.05));
  border: 1px solid rgba(201,169,110,0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.visit-counter-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 300;
  color: #C9A96E;
  line-height: 1;
}
.visit-counter-word {
  font-size: 0.5rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(201,169,110,0.45);
  margin-top: 1px;
}
.visit-counter-text { flex: 1; min-width: 0; }
.visit-counter-title {
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(250,248,245,0.92);
  letter-spacing: 0.03em;
}
.visit-counter-sub {
  font-size: 0.74rem;
  color: rgba(181,168,154,0.55);
  margin-top: 3px;
  line-height: 1.4;
}
.visit-counter-close {
  background: rgba(255,255,255,0.07);
  border: none;
  color: rgba(181,168,154,0.35);
  cursor: pointer;
  font-size: 0.7rem;
  padding: 0;
  align-self: flex-start;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
}
.visit-counter-close:hover {
  background: rgba(255,255,255,0.15);
  color: rgba(181,168,154,0.8);
}
@media (max-width: 599px) {
  .visit-counter {
    top: 4.5rem;
    right: 1rem;
    left: 1rem;
    max-width: none;
    padding: 1.2rem 1.4rem;
  }
}

/* ── BLACK CARD SECTION ── */
#black-card-section {
  background: var(--espresso);
  padding: 8rem 4rem;
  text-align: center;
}
#black-card-section .section-title { color: var(--cream); }
#black-card-section .section-eyebrow { color: #B5A89A; }
#black-card-section .divider { background: rgba(181,168,154,0.4); margin: 1.5rem auto 1rem; }
.bc-section-sub {
  font-size: 0.88rem;
  color: rgba(181,168,154,0.65);
  letter-spacing: 0.04em;
  line-height: 1.8;
  max-width: 480px;
  margin: 0 auto 3.5rem;
}
.bc-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}
.bc-card {
  width: 380px;
  height: 220px;
  border-radius: 22px;
  background: linear-gradient(135deg, #5a4a42 0%, #6b5a50 45%, #5e4e44 100%);
  border: 1px solid rgba(201,169,110,0.22);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px 28px;
  cursor: default;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.4s, transform 0.15s ease-out;
  box-shadow: 0 24px 70px rgba(0,0,0,0.55), 0 0 0 1px rgba(201,169,110,0.08);
  will-change: transform;
}
.bc-card::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 60%;
  height: 160%;
  background: radial-gradient(ellipse, rgba(201,169,110,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.bc-shine {
  position: absolute;
  top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
  transition: left 0.8s ease;
  pointer-events: none;
}
.bc-card:hover .bc-shine { left: 160%; }
.bc-top-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.bc-logo-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: rgba(225, 222, 218, 0.88);
  letter-spacing: 0.18em;
}
.bc-chip-el {
  width: 36px; height: 27px;
  border-radius: 6px;
  border: 1px solid rgba(201,169,110,0.3);
  background: linear-gradient(135deg, rgba(201,169,110,0.18), rgba(201,169,110,0.04));
}
.bc-dots-row {
  display: flex;
  gap: 6px;
  align-items: center;
}
.bc-visit-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(201,169,110,0.15);
  border: 1px solid rgba(201,169,110,0.25);
  transition: background 0.4s, transform 0.3s;
}
.bc-visit-dot.filled {
  background: #C9A96E;
  box-shadow: 0 0 6px rgba(201,169,110,0.4);
  transform: scale(1.1);
}
.bc-mid-num {
  font-family: 'Courier New', monospace;
  font-size: 0.82rem;
  color: rgba(201,169,110,0.35);
  letter-spacing: 0.22em;
}
.bc-bot-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.bc-holder-name {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(250,248,245,0.5);
  font-family: var(--font-body);
}
.bc-tier-badge {
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #C9A96E;
  background: rgba(201,169,110,0.08);
  padding: 4px 12px;
  border-radius: 14px;
  border: 1px solid rgba(201,169,110,0.22);
  font-family: var(--font-body);
}
.bc-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: 380px;
}
.bc-hint {
  font-size: 0.76rem;
  color: rgba(181,168,154,0.45);
  letter-spacing: 0.05em;
  line-height: 1.5;
}
.bc-name-input {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(181,168,154,0.18);
  border-radius: 12px;
  padding: 0.85rem 1.2rem;
  font-size: 0.88rem;
  color: rgba(250,248,245,0.82);
  font-family: var(--font-display);
  letter-spacing: 0.12em;
  outline: none;
  text-align: center;
  transition: border-color 0.25s, background 0.25s;
}
.bc-name-input::placeholder { color: rgba(181,168,154,0.2); }
.bc-name-input:focus {
  border-color: rgba(201,169,110,0.38);
  background: rgba(255,255,255,0.06);
}
.bc-tier-info {
  font-size: 0.68rem;
  color: rgba(181,168,154,0.38);
  letter-spacing: 0.08em;
  min-height: 1rem;
}
.bc-checkin-btn {
  margin-top: 1.2rem;
  padding: 0.6rem 1.4rem;
  background: transparent;
  border: 1px solid rgba(181,168,154,0.4);
  color: var(--taupe, #9e9386);
  font-family: inherit;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.bc-checkin-btn:hover {
  background: rgba(181,168,154,0.12);
  border-color: rgba(181,168,154,0.7);
  color: #c1a8a8;
}
@media (max-width: 599px) {
  #black-card-section { padding: 5rem 1.5rem; }
  .bc-card { width: 100%; max-width: 340px; height: 200px; padding: 22px; }
  .bc-controls { width: 100%; max-width: 340px; }
}
@media (min-width: 600px) and (max-width: 1024px) {
  #black-card-section { padding: 6rem 3rem; }
  .bc-card { width: 360px; }
  .bc-controls { width: 360px; }
}

/* ── STYLE QUIZ ── */
#style-quiz {
  background: var(--cream);
  padding: 8rem 4rem;
  text-align: center;
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
#style-quiz .section-eyebrow { display: block; }
#style-quiz .section-title { margin-bottom: 0; }
#style-quiz .divider { margin: 1.5rem auto 2.5rem; }
.quiz-wrap {
  max-width: 680px;
  width: 100%;
  margin: 0 auto;
}
.quiz-step { width: 100%; }
.quiz-q {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 300;
  font-style: italic;
  color: var(--espresso);
  margin-bottom: 2.5rem;
  letter-spacing: 0.03em;
  line-height: 1.4;
}
.quiz-opts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.quiz-opt {
  padding: 1.3rem 1rem;
  border: 1px solid var(--warmgrey);
  border-radius: 14px;
  background: var(--cream);
  font-size: 0.85rem;
  color: var(--greige);
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.25s;
  font-family: var(--font-body);
  text-align: center;
  line-height: 1.4;
}
.quiz-opt:hover {
  border-color: var(--taupe);
  color: var(--espresso);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(181,168,154,0.2);
  background: var(--linen);
}
.quiz-result-wrap {
  padding: 3rem 3.5rem;
  background: var(--espresso);
  border-radius: 24px;
  animation: fadeUp 0.5s ease;
  text-align: center;
}
.quiz-result-icon {
  font-size: 2.5rem;
  color: #C9A96E;
  margin-bottom: 1.2rem;
}
.quiz-result-service {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 300;
  font-style: italic;
  color: var(--cream);
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}
.quiz-result-desc {
  font-size: 0.88rem;
  color: rgba(181,168,154,0.75);
  line-height: 1.8;
  margin-bottom: 2rem;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}
.quiz-book-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #B5A89A, #9f8a7a);
  color: #fff;
  padding: 0.9rem 2.2rem;
  border-radius: 50px;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  margin-right: 0.8rem;
  font-family: var(--font-body);
}
.quiz-book-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(181,168,154,0.4);
}
.quiz-restart-btn {
  background: none;
  border: 1px solid rgba(181,168,154,0.28);
  color: rgba(181,168,154,0.55);
  padding: 0.9rem 1.8rem;
  border-radius: 50px;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-body);
}
.quiz-restart-btn:hover {
  border-color: rgba(181,168,154,0.6);
  color: rgba(181,168,154,0.9);
}
@media (max-width: 767px) {
  #style-quiz { padding: 5rem 1.5rem; min-height: auto; }
  .quiz-opts { grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
  .quiz-opt { padding: 1.1rem 0.8rem; font-size: 0.8rem; }
  .quiz-result-wrap { padding: 2rem 1.5rem; }
  .quiz-book-btn, .quiz-restart-btn {
    display: block;
    margin: 0.5rem auto;
    text-align: center;
    max-width: 240px;
  }
  .quiz-book-btn { margin-right: auto; }
}
@media (max-width: 480px) {
  .quiz-opts { grid-template-columns: 1fr 1fr; }
}

/* ── POPUP TABLET RESPONSIVE (iPad 600–1024px) ── */
@media (min-width: 600px) and (max-width: 1024px) {
  .visit-counter {
    max-width: 280px;
    right: 1.5rem;
  }
}

/* ── MOBILE MENU CONTROLS (bottom of dropdown) ── */
.mobile-menu-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.4rem;
  padding-top: 0.6rem;
  border-top: 1px solid var(--warmgrey);
  flex-wrap: wrap;
  justify-content: center;
}
.mobile-menu-controls .lang-toggle {
  color: var(--greige) !important;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  border: 1px solid var(--warmgrey) !important;
  padding: 0.4rem 0.9rem;
  border-radius: 20px;
  background: transparent !important;
  cursor: pointer;
  font-family: var(--font-body);
  transition: all 0.2s;
}
.mobile-menu-controls .lang-toggle:hover {
  color: var(--espresso) !important;
  border-color: var(--taupe) !important;
}
.mobile-menu-book {
  font-size: 0.75rem !important;
  padding: 0.6rem 1.4rem !important;
}

/* ── POPUP ENTRY ANIMATIONS (class-triggered, won't retrigger on lang change) ── */
@keyframes tipSlideIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes counterSlideIn {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}
/* ── MOBILE SUB-NAV ── */
.mobile-bottom-nav {
  display: none;
}

@media (max-width: 900px) {
  .mobile-bottom-nav {
    display: flex !important;
    position: fixed;
    left: 0;
    right: 0;
    z-index: 9399;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid transparent;
    box-shadow: none;
    justify-content: space-around;
    align-items: center;
    padding: 0;
    height: 32px;
    transition: background 0.35s ease, backdrop-filter 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  }

  .mobile-bottom-nav.subnav-scrolled {
    background: rgba(18, 13, 10, 0.82) !important;
    backdrop-filter: blur(18px) !important;
    -webkit-backdrop-filter: blur(18px) !important;
    border-bottom: 1px solid rgba(255,255,255,0.06) !important;
    box-shadow: 0 2px 14px rgba(0,0,0,0.45) !important;
  }

  .mob-nav-item {
    flex: 1;
    text-align: center;
    text-decoration: none;
    color: rgba(255,255,255,0.75) !important;
    font-family: var(--font-body);
    font-size: 0.58rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding: 0.3rem 0.1rem;
    transition: color 0.2s;
    white-space: nowrap;
    line-height: 32px;
  }

  .mob-nav-item:hover,
  .mob-nav-item.active {
    color: #C9A96E !important;
  }
}

/* ── PREVENT iOS ZOOM ON ALL INPUTS ── */
input, textarea, select {
  font-size: 16px !important;
}

/* ── TEAM GRID: 3 per row on desktop, trailing pair centered ──
   Uses a 6-column base (each card spans 2) so a leftover pair from an
   odd team size (e.g. 5 = 3 + 2) can be shifted to sit exactly centered
   instead of hugging the left edge of an empty row. */
@media (min-width: 901px) {
  .team-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  .team-card {
    grid-column: span 2;
  }
  .team-card:nth-child(3n+1):nth-last-child(2) {
    grid-column: 2 / 4;
  }
  .team-card:nth-child(3n+1):nth-last-child(2) ~ .team-card {
    grid-column: 4 / 6;
  }
}

/* ── TEAM GRID: phone fix ──
   An earlier, later-in-cascade tablet rule (max-width: 900px) was
   overriding this file's own max-width:600px rule on real phones,
   forcing 3 cramped columns instead of 2. Reasserted last so it wins,
   and the leftover single card (odd team size) is centered instead of
   sitting flush left next to empty space. */
@media (max-width: 600px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .team-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    max-width: calc(50% - 0.4rem);
  }
}

/* ── GDPR COOKIE BANNER (now a site-wide partial, previously index-only inline) ── */
#cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 99999;
  background: rgba(28, 22, 18, 0.97); backdrop-filter: blur(12px);
  border-top: 1px solid rgba(181,168,154,0.25);
  padding: 1.4rem 2rem; display: flex; align-items: center;
  justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
  transform: translateY(100%); transition: transform 0.45s cubic-bezier(0.22,1,0.36,1);
  font-family: var(--font-body);
}
#cookie-banner.visible { transform: translateY(0); }
/* Slid out of sight is not the same as gone. Without this the banner stays a
   fixed, hit-testable layer across the bottom of every page: it swallows
   clicks meant for whatever is under it, and screen readers still announce a
   dialog nobody can see. */
#cookie-banner:not(.visible) {
  pointer-events: none;
  visibility: hidden;
  transition: transform 0.45s cubic-bezier(0.22,1,0.36,1), visibility 0s linear 0.45s;
}

/* The banner sits above everything at z-index 99999, so anything else pinned
   to the bottom of the screen is buried under it until a choice is made. Lift
   them by its height rather than hiding them - a Continue button that
   disappears when a cookie notice appears looks broken. */
body.cookie-banner-open #back-top.visible {
  transform: translateY(calc(-1 * var(--cookie-banner-h, 0px) - 0.6rem));
}
body.cookie-banner-open .wizard-sticky-bar {
  bottom: calc(var(--cookie-banner-h, 0px));
}
.cookie-text { flex: 1; min-width: 220px; font-size: 0.8rem; font-weight: 300; color: rgba(255,255,255,0.72); line-height: 1.7; }
.cookie-text strong { color: #fff; font-weight: 500; display: block; margin-bottom: 0.3rem; font-size: 0.85rem; }
.cookie-text a { color: var(--taupe); text-decoration: underline; text-underline-offset: 2px; }
.cookie-btns { display: flex; gap: 0.75rem; flex-shrink: 0; flex-wrap: wrap; }
.cookie-btn-accept, .cookie-btn-decline {
  padding: 0.6rem 1.5rem; border-radius: 50px; font-family: var(--font-body);
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.10em; text-transform: uppercase;
  cursor: pointer; white-space: nowrap; transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  background: transparent;
  color: rgba(255,255,255,0.9);
  border: 1px solid rgba(255,255,255,0.55);
}
.cookie-btn-accept:hover, .cookie-btn-decline:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.35); background: rgba(255,255,255,0.08); }
#manageCookiesFooter {
  background: none; border: none; font-family: var(--font-body);
  font-size: inherit; color: inherit; cursor: pointer; text-decoration: underline;
  text-underline-offset: 2px; padding: 0;
}
#manageCookiesFooter:hover { color: var(--taupe); }
.map-blocked {
  width: 100%; min-height: 340px; background: rgba(44,36,32,0.06); border-radius: 16px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1rem; border: 1px dashed rgba(181,168,154,0.4);
  font-family: var(--font-body); text-align: center; padding: 2rem;
}
.map-blocked p { font-size: 0.82rem; color: var(--greige); line-height: 1.7; max-width: 280px; }
.map-blocked-title { font-family: var(--font-display); font-size: 1.2rem; color: var(--espresso); }
.map-enable-btn {
  padding: 0.55rem 1.4rem; background: linear-gradient(135deg, var(--taupe), var(--espresso));
  color: #fff; border: none; border-radius: 50px; font-family: var(--font-body);
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  cursor: pointer; transition: transform 0.2s;
}
.map-enable-btn:hover { transform: translateY(-2px); }
@media (max-width: 600px) {
  /* Stack outright on phones. Side by side, .cookie-text's 220px floor plus
     two nowrap buttons had a min-content width wider than the screen, which
     pushed the whole document to ~420px and made every page scroll sideways. */
  #cookie-banner {
    padding: 0.95rem 1rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
  /* It was taking 46% of a phone screen. A consent notice has to be readable,
     not dominant - the detail belongs in the privacy policy it links to. */
  .cookie-text { min-width: 0; font-size: 0.74rem; line-height: 1.55; }
  .cookie-text strong { font-size: 0.8rem; margin-bottom: 0.15rem; }
  .cookie-btns { gap: 0.5rem; }
  .cookie-btns button { flex: 1; padding: 0.62rem 1rem; }
  .cookie-btns { width: auto; }
  .cookie-btn-accept, .cookie-btn-decline {
    flex: 1 1 0;
    min-width: 0;
    padding: 0.6rem 1rem;
    text-align: center;
  }
}
/* ── THE TOUCH REVEAL HAS TO OUTRUN ITS OWN PAUSE ──
   On a phone the tap clears the blur and opens the gallery half a second
   later. The unblur transition is 0.4s, which would leave the cover sharp for
   about a tenth of a second - technically revealed, not actually seen. So the
   touch reveal is instant: the whole half second is spent looking at a clear
   picture rather than watching it arrive. Hover keeps the slower, softer 0.4s
   fade, because there is no deadline there. */
.gallery-cat-card.touched .gallery-cat-img-wrap img {
  transition: none;
}
