/* =========================================
   HOUSE SHEGER — LUXURY CINEMATIC CSS
   Apple · Rolls Royce · Dior · Awwwards
   ========================================= */

/* --- TOKENS --- */
:root {
  --bg: #050505;
  --bg-2: #0d0d0d;
  --bg-3: #101010;
  --ink: #f5f1e8;
  --muted: #8E8E8E;
  --gold: #D4AF37;
  --gold-dim: rgba(212,175,55,.15);
  --gold-glow: rgba(212,175,55,.35);
  --line: rgba(255,255,255,.08);
  --glass: rgba(255,255,255,.04);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', system-ui, sans-serif;
  --ease-luxury: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  scroll-behavior: auto; /* Lenis handles this */
}

body { overflow-x: hidden; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; border: none; background: none; cursor: pointer; }

.serif { font-family: var(--serif); font-weight: 300; letter-spacing: -.01em; }

.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 48px;
}

@media(max-width: 768px) { .wrap { padding: 0 24px; } }

/* --- LOADER --- */
#loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  transition: opacity .6s var(--ease-luxury), visibility .6s;
}

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

.loader-logo {
  font-family: var(--serif);
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 300;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.loader-logo em {
  color: var(--gold);
  font-style: italic;
}

.loader-bar {
  width: 200px;
  height: 1px;
  background: rgba(255,255,255,.1);
  position: relative;
  overflow: hidden;
}

.loader-bar span {
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  animation: loaderFill 1.8s var(--ease-luxury) forwards;
}

@keyframes loaderFill {
  to { transform: scaleX(1); }
}

/* --- NAV --- */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 48px;
  transition: padding .5s var(--ease-luxury), background .5s, border-color .5s;
  border-bottom: 1px solid transparent;
}

#nav.scrolled {
  padding: 16px 48px;
  background: rgba(5,5,5,.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-color: var(--line);
}

.nav-logo {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 300;
  letter-spacing: .01em;
  color: var(--ink);
  transition: color .3s;
}

.nav-logo em { color: var(--gold); font-style: italic; }
.nav-logo:hover { color: var(--gold); }

.nav-links {
  display: flex;
  gap: 36px;
  opacity: 0;
  transition: opacity .5s;
}

#nav.scrolled .nav-links { opacity: 1; }

.nav-links a {
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .3s;
  position: relative;
}

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

.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  padding: 10px 24px;
  border: 1px solid rgba(212,175,55,.4);
  border-radius: 100px;
  color: var(--gold);
  transition: all .35s var(--ease-luxury);
}

.nav-cta:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #000;
}

.nav-admin {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-left: 6px;
  color: var(--muted);
  border: 1px solid transparent;
  border-radius: 50%;
  transition: all .35s var(--ease-luxury);
  opacity: .55;
}

.nav-admin svg { width: 16px; height: 16px; }

.nav-admin:hover {
  color: var(--gold);
  border-color: var(--line);
  opacity: 1;
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.nav-burger span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--ink);
  transition: all .3s;
}

.mm-admin {
  margin-top: 8px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted) !important;
  font-size: 12px !important;
  letter-spacing: .1em;
  text-transform: uppercase;
}

@media(max-width: 960px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-admin { display: none; }
  .nav-burger { display: flex; }
}

@media(max-width: 768px) {
  #nav { padding: 20px 24px; }
  #nav.scrolled { padding: 14px 24px; }
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 990;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  transform: translateY(-100%);
  transition: transform .6s var(--ease-luxury);
}

.mobile-menu.open { transform: translateY(0); }

.mm-link {
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 300;
  color: var(--ink);
  letter-spacing: -.01em;
  transition: color .3s;
}

.mm-link:hover, .mm-link.gold { color: var(--gold); }

/* --- HERO --- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 680px;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  animation: heroScale 18s var(--ease-luxury) forwards;
}

@keyframes heroScale {
  to { transform: scale(1.0); }
}

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

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom,
      rgba(5,5,5,.5) 0%,
      rgba(5,5,5,.1) 30%,
      rgba(5,5,5,.2) 60%,
      rgba(5,5,5,.95) 100%),
    radial-gradient(ellipse at 70% 50%, transparent 30%, rgba(5,5,5,.7) 100%);
}

/* Particles */
.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-particles span {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0;
  box-shadow: 0 0 6px var(--gold);
  animation: particleFloat linear infinite;
}

@keyframes particleFloat {
  0% { transform: translateY(110vh) translateX(var(--tx, 0px)); opacity: 0; }
  10% { opacity: .6; }
  90% { opacity: .3; }
  100% { transform: translateY(-20px) translateX(calc(var(--tx, 0px) + var(--drift, 20px))); opacity: 0; }
}

/* Hero Content */
.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 8vw;
  padding-top: 80px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeSlide .8s 2s var(--ease-luxury) forwards;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold);
  animation: dotPulse 2s infinite;
}

@keyframes dotPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: .7; }
}

.hero-title {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 36px;
}

.ht-line {
  overflow: hidden;
  display: block;
  line-height: 1;
}

.ht-line span {
  display: block;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(72px, 12vw, 180px);
  letter-spacing: -.03em;
  color: var(--ink);
  transform: translateY(110%);
  animation: titleReveal .9s var(--ease-luxury) forwards;
}

.ht-line:nth-child(1) span { animation-delay: 1.8s; }
.ht-line:nth-child(2) span { animation-delay: 1.95s; }
.ht-line:nth-child(3) span { animation-delay: 2.1s; }

.ht-line.italic span { font-style: italic; color: var(--gold); }
.ht-line.serif-thin span { font-size: clamp(36px, 5.5vw, 80px); color: var(--muted); font-weight: 300; letter-spacing: .08em; text-transform: uppercase; font-style: normal; font-family: var(--sans); }

@keyframes titleReveal {
  to { transform: translateY(0); }
}

.hero-sub {
  font-size: clamp(14px, 1.6vw, 18px);
  font-weight: 300;
  color: rgba(245,241,232,.6);
  line-height: 1.8;
  margin-bottom: 44px;
  max-width: 440px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeSlide .8s 2.4s var(--ease-luxury) forwards;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeSlide .8s 2.6s var(--ease-luxury) forwards;
}

@keyframes fadeSlide {
  to { opacity: 1; transform: translateY(0); }
}

/* Luxury Button */
.btn-luxury {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 38px;
  border-radius: 100px;
  background: var(--gold);
  color: #000;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 500;
  overflow: hidden;
  transition: color .3s, transform .4s var(--ease-luxury), box-shadow .4s;
  box-shadow: 0 0 40px rgba(212,175,55,.3);
}

.btn-liquid {
  position: absolute;
  inset: 0;
  background: #000;
  border-radius: 100px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease-luxury);
}

.btn-luxury:hover .btn-liquid { transform: scaleX(1); }
.btn-luxury:hover { color: var(--gold); box-shadow: 0 0 60px rgba(212,175,55,.5); transform: translateY(-2px); }

.btn-text { position: relative; z-index: 1; }
.btn-arrow { position: relative; z-index: 1; transition: transform .3s; }
.btn-luxury:hover .btn-arrow { transform: translateX(4px); }

.btn-ghost {
  font-size: 12px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(245,241,232,.6);
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,.15);
  transition: color .3s, border-color .3s;
}

.btn-ghost:hover { color: var(--ink); border-color: var(--gold); }

/* Mute button */
.mute-btn {
  position: absolute;
  bottom: 40px;
  right: 40px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--line);
  color: var(--muted);
  display: grid;
  place-items: center;
  transition: all .3s;
  backdrop-filter: blur(10px);
  z-index: 10;
}

.mute-btn:hover { background: rgba(255,255,255,.1); color: var(--ink); }

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
  animation: fadeSlide .6s 3.2s forwards;
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 1.5s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: .4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

.scroll-indicator span {
  font-size: 9px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--muted);
}

/* --- MARQUEE --- */
.marquee-strip {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 18px 0;
  white-space: nowrap;
}

.marquee-track {
  display: inline-flex;
  gap: 0;
  animation: marqueeRun 30s linear infinite;
}

.marquee-track span {
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0 24px;
}

.marquee-track span.dot {
  color: var(--gold);
  padding: 0;
}

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

/* --- STATEMENT --- */
.statement {
  padding: 140px 0;
  position: relative;
  overflow: hidden;
}

.statement::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,175,55,.06), transparent 70%);
  pointer-events: none;
}

.statement-text {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 300;
  line-height: 1.3;
  text-align: center;
  color: var(--ink);
  letter-spacing: -.01em;
}

.statement-text em {
  color: var(--gold);
  font-style: italic;
}

/* --- SECTION LABELS --- */
.section-label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.label-line {
  display: block;
  width: 40px;
  height: 1px;
  background: var(--gold);
}

.section-label span:last-child {
  font-size: 10px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
}

.section-title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 300;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 60px;
}

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

/* --- BARBERS --- */
.barbers {
  padding: 120px 0 0;
}

.barbers > .wrap { margin-bottom: 60px; }

.barbers-cinematic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.barber-panel {
  position: relative;
  height: 70vh;
  min-height: 500px;
  overflow: hidden;
  cursor: pointer;
}

.bp-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.bp-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transform: scale(1.06);
  transition: transform 1.4s var(--ease-luxury);
  filter: grayscale(20%);
}

.barber-panel:hover .bp-img {
  transform: scale(1);
  filter: grayscale(0%);
}

.bp-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5,5,5,.95) 0%, rgba(5,5,5,.2) 60%, transparent 100%);
  transition: opacity .5s;
}

.bp-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 36px;
  z-index: 2;
}

.bp-role {
  font-size: 10px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.bp-name {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 300;
  color: var(--ink);
  margin-bottom: 6px;
}

.bp-spec {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 20px;
}

.bp-years {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 24px;
}

.bp-num {
  font-family: var(--serif);
  font-size: 48px;
  color: var(--gold);
  line-height: 1;
  font-weight: 300;
}

.bp-years small {
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

.bp-btn {
  display: inline-block;
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid rgba(212,175,55,.3);
  padding-bottom: 4px;
  opacity: 0;
  transform: translateY(10px);
  transition: all .4s var(--ease-luxury);
}

.barber-panel:hover .bp-btn {
  opacity: 1;
  transform: translateY(0);
}

.bp-btn:hover { border-color: var(--gold); }

@media(max-width: 900px) {
  .barbers-cinematic {
    grid-template-columns: 1fr;
  }
  .barber-panel { height: 60vh; }
}



/* --- RESERVE --- */
.reserve {
  padding: 160px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.reserve-bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(120px, 20vw, 300px);
  font-weight: 300;
  color: rgba(255,255,255,.02);
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: -.03em;
  user-select: none;
}

.reserve-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.reserve .section-label { justify-content: center; }
.reserve .section-title { margin-bottom: 20px; }

.reserve-desc {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 48px;
}

.reserve-btn {
  font-size: 13px;
  padding: 20px 56px;
  box-shadow: 0 0 80px rgba(212,175,55,.2);
}

.reserve-note {
  margin-top: 28px;
  font-size: 13px;
  color: var(--muted);
}

.reserve-note a {
  color: var(--gold);
  border-bottom: 1px solid rgba(212,175,55,.3);
  padding-bottom: 2px;
  transition: border-color .3s;
}

.reserve-note a:hover { border-color: var(--gold); }



/* --- TESTIMONIALS --- */
.testimonials {
  padding: 140px 0;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 8px;
  cursor: grab;
}

.testimonial-track:active { cursor: grabbing; }
.testimonial-track::-webkit-scrollbar { display: none; }

.testimonial-card {
  flex: 0 0 min(400px, 85vw);
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 40px;
  scroll-snap-align: start;
  transition: border-color .4s, background .4s;
  backdrop-filter: blur(10px);
}

.testimonial-card:hover {
  border-color: rgba(212,175,55,.2);
  background: rgba(212,175,55,.02);
}

.tc-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 24px;
}

.tc-stars span {
  color: var(--gold);
  font-size: 16px;
  opacity: 0;
  transform: scale(.5);
  animation: starPop .3s var(--ease-spring) forwards;
}

.tc-stars span:nth-child(1) { animation-delay: .1s; }
.tc-stars span:nth-child(2) { animation-delay: .15s; }
.tc-stars span:nth-child(3) { animation-delay: .2s; }
.tc-stars span:nth-child(4) { animation-delay: .25s; }
.tc-stars span:nth-child(5) { animation-delay: .3s; }

@keyframes starPop {
  to { opacity: 1; transform: scale(1); }
}

.tc-quote {
  font-size: 20px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--ink);
  margin-bottom: 32px;
  font-style: italic;
}

.tc-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.tc-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold-dim);
  border: 1px solid rgba(212,175,55,.2);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: .05em;
  flex-shrink: 0;
}

.tc-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}

.tc-title {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 36px;
}

.td-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  transition: all .3s;
  cursor: pointer;
}

.td-dot.active {
  background: var(--gold);
  width: 20px;
  border-radius: 3px;
}

/* --- LOCATION --- */
.location {
  padding: 140px 0;
  border-top: 1px solid var(--line);
}

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

.location-desc {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 40px;
  margin-top: -20px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  color: var(--muted);
}

.contact-row svg { color: var(--gold); flex-shrink: 0; }
.contact-row a { color: var(--muted); transition: color .3s; }
.contact-row a:hover { color: var(--gold); }

.social-row {
  display: flex;
  gap: 12px;
}

.social-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--muted);
  transition: all .35s var(--ease-luxury);
}

.social-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-dim);
  transform: translateY(-3px);
}

.map-frame {
  position: relative;
  display: block;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4/3;
  transition: border-color .3s;
}

.map-frame:hover { border-color: rgba(212,175,55,.4); }

.map-frame iframe {
  width: 100%;
  height: 100%;
  filter: grayscale(1) invert(1) brightness(.8);
  border: none;
}

.map-frame-cta {
  position: absolute;
  bottom: 14px;
  left: 14px;
  padding: 9px 16px;
  background: rgba(5,5,5,.85);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(212,175,55,.4);
  border-radius: 100px;
  color: var(--gold);
  font-size: 11.5px;
  letter-spacing: .04em;
  white-space: nowrap;
}

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

/* --- FOOTER --- */
.footer {
  border-top: 1px solid var(--line);
  padding: 80px 48px 48px;
  text-align: center;
}

.footer-top {
  margin-bottom: 60px;
}

.footer-logo {
  font-size: clamp(48px, 7vw, 90px);
  font-weight: 300;
  color: var(--ink);
  letter-spacing: -.02em;
  margin-bottom: 16px;
  display: block;
}

.footer-logo em { color: var(--gold); font-style: italic; }

.footer-tagline {
  font-size: 14px;
  color: var(--muted);
  letter-spacing: .05em;
}

.footer-divider {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 48px;
  opacity: .4;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom p {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .08em;
}

.footer-links {
  display: flex;
  gap: 28px;
}

.footer-links a {
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .3s;
}

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

@media(max-width: 768px) {
  .footer { padding: 60px 24px 40px; }
  .footer-bottom { justify-content: center; text-align: center; }
}

/* --- CUSTOM CURSOR --- */
.cursor-dot {
  position: fixed;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: transform .1s, background .3s, width .3s, height .3s;
  mix-blend-mode: difference;
}

.cursor-ring {
  position: fixed;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(212,175,55,.5);
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition: width .4s var(--ease-luxury), height .4s var(--ease-luxury), border-color .3s, opacity .3s;
}

.cursor-ring.hover {
  width: 60px;
  height: 60px;
  border-color: var(--gold);
}

@media(hover:none) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* --- SCROLL REVEAL (fallback without GSAP) --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s var(--ease-luxury), transform .8s var(--ease-luxury);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

.d1 { transition-delay: .1s; }
.d2 { transition-delay: .22s; }
.d3 { transition-delay: .34s; }

/* --- WORD REVEAL ANIMATION (for statement) --- */
.word-reveal .word {
  display: inline-block;
  overflow: hidden;
}

.word-reveal .word-inner {
  display: inline-block;
  transform: translateY(100%);
  transition: transform .7s var(--ease-luxury);
}

.word-reveal.in .word-inner { transform: translateY(0); }


/* --- TRACKER MODAL --- */
.tracker-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.tracker-modal[hidden] {
  display: none !important;
}

.tracker-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.75);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.5s ease;
}
.tracker-modal.visible .tracker-modal-backdrop {
  opacity: 1;
}

.tracker-modal-card {
  position: relative;
  width: 100%;
  max-width: 480px;
  background: rgba(10,10,10,0.95);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
  z-index: 2;
  transform: translateY(30px) scale(0.95);
  opacity: 0;
  transition: transform 0.5s var(--ease-luxury), opacity 0.5s ease;
  box-shadow: 0 40px 100px rgba(0,0,0,.8);
}
.tracker-modal.visible .tracker-modal-card {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.tracker-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: background .25s, color .25s;
}
.tracker-modal-close:hover {
  background: rgba(212,175,55,.15);
  color: var(--gold);
}

.tracker-modal-head {
  font-size: 20px;
  color: var(--gold);
  margin-bottom: 24px;
  text-align: center;
}

.tracker-modal-body {
  max-height: 60vh;
  overflow-y: auto;
}
.tracker-modal-body::-webkit-scrollbar {
  width: 4px;
}
.tracker-modal-body::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,.1);
  border-radius: 4px;
}


/* --- 20S RESERVE POPUP --- */
.reserve-popup {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: rgba(10,10,10,0.9);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
  width: calc(100% - 48px);
  max-width: 380px;
  z-index: 1000;
  transform: translateY(150%) scale(0.9);
  opacity: 0;
  transition: transform 0.6s var(--ease-luxury), opacity 0.6s ease;
  pointer-events: none;
}
.reserve-popup.visible {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}
.popup-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 14px;
  cursor: pointer;
  transition: color 0.3s;
}
.popup-close:hover {
  color: #fff;
}
.popup-title {
  color: var(--gold);
  font-size: 20px;
  margin-bottom: 12px;
}
.popup-text {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 24px;
  line-height: 1.5;
}
.popup-btn {
  width: 100%;
}

/* ===========================================
   RESPONSIVE — FULL DEVICE COMPATIBILITY
   Mobile-first, tested 320px → 1440px+
   =========================================== */

/* ── Tablet landscape & small desktop (≤ 1024px) ── */
@media (max-width: 1024px) {
  #nav { padding: 22px 36px; }
  #nav.scrolled { padding: 14px 36px; }

  .hero-content { padding: 0 6vw; padding-top: 80px; }

  .barbers-cinematic {
    grid-template-columns: 1fr 1fr;
  }
  .barber-panel { height: 55vh; min-height: 400px; }

  .location-grid { gap: 48px; }

  .statement { padding: 100px 0; }
  .reserve  { padding: 120px 0; }
  .testimonials { padding: 100px 0; }
  .location { padding: 100px 0; }
}

/* ── Tablet portrait (≤ 900px) ── */
@media (max-width: 900px) {
  .barbers-cinematic {
    grid-template-columns: 1fr;
  }
  .barber-panel {
    height: 70vw;
    min-height: 320px;
  }
  /* Always show book button on touch devices */
  .bp-btn {
    opacity: 1;
    transform: translateY(0);
  }

  .location-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .map-frame { aspect-ratio: 16/9; }
}

/* ── Large mobile / small tablet (≤ 768px) ── */
@media (max-width: 768px) {
  /* Nav */
  #nav { padding: 18px 20px; }
  #nav.scrolled { padding: 12px 20px; }
  .nav-links { display: none; }
  .nav-cta  { display: none; }
  .nav-burger { display: flex; }

  /* Wrap */
  .wrap { padding: 0 20px; }

  /* Hero */
  .hero-content {
    padding: 0 20px;
    padding-top: 90px;
    justify-content: flex-end;
    padding-bottom: 80px;
  }
  .hero-eyebrow { margin-bottom: 20px; }
  .hero-title { margin-bottom: 20px; }
  .ht-line span {
    font-size: clamp(52px, 15vw, 100px);
  }
  .ht-line.serif-thin span {
    font-size: clamp(22px, 6vw, 40px);
  }
  .hero-sub {
    font-size: 14px;
    margin-bottom: 28px;
  }
  .hero-cta { gap: 18px; }
  .btn-luxury {
    padding: 15px 28px;
    font-size: 11px;
  }
  .mute-btn { bottom: 20px; right: 20px; }
  .scroll-indicator { display: none; }

  /* Statement */
  .statement { padding: 80px 0; }
  .statement-text { font-size: clamp(28px, 7vw, 48px); }

  /* Barbers */
  .barbers { padding: 80px 0 0; }
  .barbers > .wrap { margin-bottom: 36px; }
  .barber-panel { height: 85vw; min-height: 280px; }
  .bp-info { padding: 24px 20px; }
  .bp-num { font-size: 36px; }

  /* Reserve */
  .reserve { padding: 80px 0; }
  .reserve-bg-text { display: none; }
  .reserve-btn { padding: 16px 36px; font-size: 11px; }

  /* Testimonials */
  .testimonials { padding: 80px 0; }
  .testimonial-card { padding: 28px 24px; }
  .tc-quote { font-size: 17px; }

  /* Contact */
  .location { padding: 80px 0; }
  .location-desc { margin-top: 0; }
  .map-frame { aspect-ratio: 4/3; border-radius: 14px; }

  /* Section titles */
  .section-title { font-size: clamp(28px, 7vw, 48px); margin-bottom: 36px; }

  /* Footer */
  .footer { padding: 60px 20px 36px; }
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
  }
  .footer-links { flex-wrap: wrap; justify-content: center; gap: 20px; }
}

/* ── Small mobile (≤ 480px) ── */
@media (max-width: 480px) {
  .ht-line span { font-size: clamp(44px, 16vw, 72px); }
  .ht-line.serif-thin span { font-size: clamp(18px, 6vw, 28px); }

  .hero-cta { flex-direction: column; align-items: flex-start; gap: 14px; }
  .btn-ghost { padding: 12px 0; }

  .loader-logo { font-size: clamp(28px, 10vw, 48px); }

  .barber-panel { height: 90vw; }

  .testimonial-card { flex: 0 0 90vw; padding: 24px 18px; }
  .tc-quote { font-size: 15px; }

  .reserve-btn { width: 100%; justify-content: center; }

  .social-row { gap: 10px; }
  .social-btn { width: 40px; height: 40px; }

  /* Mobile menu larger tap targets */
  .mm-link { font-size: 32px; }
}

/* ── Extra-small (≤ 360px) ── */
@media (max-width: 360px) {
  .ht-line span { font-size: 40px; }
  .hero-content { padding: 0 16px; padding-top: 80px; padding-bottom: 60px; }
  .barber-panel { height: 95vw; }
  .bp-name { font-size: 28px; }
}

/* ── Touch: disable hover-only effects for reliability ── */
@media (hover: none) {
  .barber-panel { transform: none !important; }
  .btn-luxury:hover { transform: none; }
  .social-btn:hover { transform: none; }

  /* Always show barber book btn on touch */
  .bp-btn {
    opacity: 1 !important;
    transform: translateY(0) !important;
  }
}

/* ── Prevent overflow on all sizes ── */
*, *::before, *::after { max-width: 100%; }
/* =========================================
   TRACK YOUR RESERVATION (homepage)
   ========================================= */

.tracker-bar {
  padding: 44px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.tracker-wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.tracker-label {
  font-size: 18px;
  font-weight: 400;
  color: var(--ink);
  white-space: nowrap;
}

.tracker-form {
  flex: 1;
  min-width: 260px;
  display: flex;
  gap: 10px;
}

.tracker-input {
  flex: 1;
  padding: 13px 18px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--line);
  border-radius: 100px;
  color: var(--ink);
  font-size: 13.5px;
  font-family: var(--sans);
  transition: border-color .3s var(--ease-luxury), background .3s;
}

.tracker-input:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(212,175,55,.05);
}

.tracker-input::placeholder { color: var(--muted); }

.tracker-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  background: var(--gold);
  color: #000;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: 100px;
  white-space: nowrap;
  cursor: pointer;
  transition: all .3s var(--ease-luxury);
}

.tracker-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 25px var(--gold-glow); }

.tracker-result {
  flex-basis: 100%;
  margin-top: 6px;
}

.tracker-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 16px 20px;
  background: rgba(255,255,255,.02);
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-top: 10px;
}

.tracker-card .tc-main { display: flex; flex-direction: column; gap: 3px; }
.tracker-card .tc-code { font-size: 13px; color: var(--gold); letter-spacing: .05em; }
.tracker-card .tc-meta { font-size: 12.5px; color: var(--muted); }

.tracker-status {
  font-size: 10.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  white-space: nowrap;
}
.tracker-status.pending_review { background: rgba(212,175,55,.12); color: var(--gold); }
.tracker-status.approved { background: rgba(70,180,110,.14); color: #6fd99a; }
.tracker-status.rejected { background: rgba(220,60,60,.12); color: #ff8a8a; }

.tracker-error {
  padding: 14px 20px;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 640px) {
  .tracker-wrap { flex-direction: column; align-items: stretch; }
  .tracker-label { text-align: center; }
  .tracker-form { flex-direction: column; }
  .tracker-btn { justify-content: center; }
}
