/* ============================================================
   WAEL · Motion & polish layer (Bebas Neue + Barlow)
   Injected on every page. Only additive utilities & animations.
   ============================================================ */

:root { --gold-glow: 0 0 40px rgba(201,169,97,0.35); }

/* ---------- Scissor cursor ---------- */
@media (hover: hover) and (pointer: fine) {
  html, body {
    cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 24 24' fill='none' stroke='%23c9a961' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><circle cx='6' cy='6' r='3' fill='%231a1510'/><circle cx='6' cy='18' r='3' fill='%231a1510'/><path d='M8.12 8.12 20 20'/><path d='M14 14l6 6'/><path d='M8.12 15.88 20 4'/></svg>") 16 16, auto;
  }
  a, button, .btn, .nav-cta, [role="button"], input[type="submit"], .service-card, .gallery-tab, label {
    cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='36' height='36' viewBox='0 0 24 24' fill='none' stroke='%23c9a961' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='6' cy='6' r='3' fill='%23c9a961' fill-opacity='0.25'/><circle cx='6' cy='18' r='3' fill='%23c9a961' fill-opacity='0.25'/><path d='M8.12 8.12 20 20'/><path d='M14 14l6 6'/><path d='M8.12 15.88 20 4'/></svg>") 18 18, pointer;
  }
}

/* Bebas is display only — bump body weight a touch for legibility */
body { font-feature-settings: "ss01","liga"; }

/* Uppercase punch for Bebas headings */
h1, h2, h3, .btn, .nav-cta, .logo, .eyebrow, .gallery-tab,
.service-card h3, .stat .n, footer .logo, .pl-logo {
  font-family: 'Playfair Display', serif !important;
  letter-spacing: 0.02em;
}
.btn, .gallery-tab { letter-spacing: 0.12em; font-size: 15px; }
.service-card h3 { letter-spacing: 0.04em; }

/* Body typography */
body, p, li, a, input, textarea, select, button { font-family: 'Inter', system-ui, sans-serif; }

/* ---------- Custom cursor spotlight ---------- */
.wael-spot {
  position: fixed; pointer-events: none; z-index: 998;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201,169,97,0.10) 0%, transparent 60%);
  transform: translate(-50%, -50%);
  transition: opacity 0.4s ease;
  mix-blend-mode: screen;
  will-change: transform;
}

/* ---------- Marquee gold ticker ---------- */
.wael-marquee {
  overflow: hidden; background: #0d0d0d; color: #c9a961;
  border-top: 1px solid rgba(201,169,97,0.25);
  border-bottom: 1px solid rgba(201,169,97,0.25);
  padding: 18px 0;
}
.wael-marquee-track {
  display: flex; gap: 60px;
  animation: waelMarquee 38s linear infinite;
  width: max-content;
  font-family: 'Playfair Display', serif;
  font-size: 22px; letter-spacing: 0.25em; text-transform: uppercase;
  white-space: nowrap;
}
.wael-marquee-track span::after {
  content: '✦'; margin-left: 60px; color: rgba(201,169,97,0.4);
}
@keyframes waelMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- Magnetic buttons + gold shimmer ---------- */
.btn { position: relative; overflow: hidden; will-change: transform; }
.btn::before {
  content: ''; position: absolute; top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.7s ease;
  pointer-events: none;
}
.btn:hover::before { left: 130%; }
.btn-primary:hover { box-shadow: var(--gold-glow); transform: translateY(-2px); }

/* ---------- Service card tilt + gold border sweep ---------- */
.service-card {
  position: relative; transform-style: preserve-3d;
  transition: transform 0.5s cubic-bezier(0.22,1,0.36,1), background 0.3s;
}
.service-card::after {
  content: ''; position: absolute; inset: 0;
  border: 1px solid transparent;
  background: linear-gradient(120deg, transparent 40%, rgba(201,169,97,0.6) 50%, transparent 60%) border-box;
  -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity 0.5s ease;
  pointer-events: none;
}
.service-card:hover::after { opacity: 1; }
.service-card:hover .price { text-shadow: 0 0 24px rgba(201,169,97,0.5); }
.service-card .price { transition: text-shadow 0.4s ease, transform 0.4s ease; display: inline-block; }
.service-card:hover .price { transform: translateY(-2px); }

/* ---------- USP items ---------- */
.usp-item .check { transition: transform 0.5s cubic-bezier(0.22,1,0.36,1), background 0.3s; }
.usp-item:hover .check { transform: rotate(360deg); background: rgba(201,169,97,0.15); }

/* ---------- Gallery zoom-in tilt on hover ---------- */
.gallery-item { transition: transform 0.5s cubic-bezier(0.22,1,0.36,1), box-shadow 0.4s ease !important; }
.gallery-item:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -20px rgba(0,0,0,0.5); }

/* ---------- Hours list active-day highlight ---------- */
.hours-list li { transition: padding-left 0.35s ease, color 0.3s ease; }
.hours-list li:not(.closed):hover { padding-left: 14px; color: #c9a961; }
.hours-list li.today {
  position: relative; color: #c9a961; font-weight: 600;
}
.hours-list li.today::before {
  content: 'NU'; position: absolute; left: -46px; top: 50%; transform: translateY(-50%);
  font-family: 'Playfair Display', serif; font-size: 12px; letter-spacing: 0.2em;
  background: #c9a961; color: #1a1510; padding: 3px 8px; border-radius: 2px;
}

/* ---------- Nav slide-in on load ---------- */
nav { animation: waelNavIn 0.8s cubic-bezier(0.22,1,0.36,1) both; }
@keyframes waelNavIn {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
nav.scrolled { padding-top: 12px !important; padding-bottom: 12px !important; box-shadow: 0 10px 40px rgba(0,0,0,0.15); }
nav { transition: padding 0.35s ease, box-shadow 0.35s ease; }

/* Nav link underline */
nav a:not(.nav-cta) { position: relative; }
nav a:not(.nav-cta)::after {
  content: ''; position: absolute; left: 0; bottom: -6px;
  width: 100%; height: 1px; background: #c9a961;
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
}
nav a:not(.nav-cta):hover::after { transform: scaleX(1); transform-origin: left; }

/* Logo pulse ring */
.logo-wrap { position: relative; }
.logo-wrap::before {
  content: ''; position: absolute; left: -6px; top: 50%; transform: translateY(-50%);
  width: 54px; height: 54px; border-radius: 50%;
  border: 1px solid rgba(201,169,97,0.35);
  animation: waelPulse 2.6s ease-out infinite;
  pointer-events: none;
}
@keyframes waelPulse {
  0%   { transform: translateY(-50%) scale(0.85); opacity: 0.9; }
  70%  { transform: translateY(-50%) scale(1.35); opacity: 0; }
  100% { transform: translateY(-50%) scale(1.35); opacity: 0; }
}

/* Hero letter drop */
.hero h1 { text-shadow: 0 8px 30px rgba(0,0,0,0.4); }
.hero .eyebrow::before { animation: waelLine 1.4s ease-out both; }
@keyframes waelLine { from { width: 0; } to { width: 40px; } }

/* Floating gold specks in hero */
.hero { position: relative; overflow: hidden; }
.hero::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(201,169,97,0.15), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(201,169,97,0.12), transparent 45%);
  animation: waelFloat 14s ease-in-out infinite;
  pointer-events: none;
}
@keyframes waelFloat {
  0%,100% { transform: translate(0,0) scale(1); }
  50%     { transform: translate(-20px,10px) scale(1.05); }
}

/* Stat counter accent bar */
.stat { position: relative; padding-left: 14px; }
.stat::before {
  content: ''; position: absolute; left: 0; top: 8px; bottom: 8px; width: 2px;
  background: linear-gradient(180deg, #c9a961, transparent);
}

/* Section title accent flourish */
.section-title h2 { position: relative; display: inline-block; }
.section-title h2::after {
  content: ''; display: block; width: 60px; height: 2px;
  background: #c9a961; margin: 24px auto 0;
  transform: scaleX(0); transform-origin: center;
  transition: transform 0.8s cubic-bezier(0.22,1,0.36,1);
}
.section-title.in h2::after,
.reveal.in.section-title h2::after { transform: scaleX(1); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .wael-spot, .wael-marquee-track, nav, .logo-wrap::before, .hero::after,
  .service-card, .btn::before { animation: none !important; transition: none !important; }
}

/* Small-screen tweaks */
@media (max-width: 768px) {
  .wael-spot { display: none; }
  .wael-marquee-track { font-size: 16px; }
  .logo-wrap::before { display: none; }
}

/* ============ BARBER SECTION FX ============ */
/* Scoped to individual sections instead of a global overlay. */
.wael-fx-host { position: relative; isolation: isolate; }
.wael-bg-fx{
  position:absolute; inset:0; z-index:0; pointer-events:none; overflow:hidden;
  mix-blend-mode: screen;
  opacity:.75;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
}
.wael-fx-host > *:not(.wael-bg-fx){ position: relative; z-index: 1; }
.wael-bg-fx > *{ position:absolute; pointer-events:none; }

/* Subtle diagonal barber-pole shimmer, dark sections only */
.wael-bg-pole{
  inset:-10%;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(201,168,97,0.035) 0 14px,
    rgba(201,168,97,0)     14px 32px,
    rgba(220,60,60,0.022)  32px 46px,
    rgba(220,60,60,0)      46px 64px
  );
  animation: waelPole 60s linear infinite;
  opacity:.45;
}
@keyframes waelPole{
  from{ transform:translate3d(0,0,0); }
  to  { transform:translate3d(-64px,64px,0); }
}

/* Soft glows */
.wael-bg-glow{
  width:40vmax; height:40vmax; border-radius:50%;
  background:radial-gradient(closest-side, rgba(201,168,97,.12), rgba(201,168,97,0) 70%);
  filter: blur(40px);
  animation: waelSectionGlow 18s ease-in-out infinite;
}
.wael-bg-glow.g1{ top:-18vmax; left:-14vmax; }
.wael-bg-glow.g2{ bottom:-20vmax; right:-14vmax; animation-delay:-9s;
  background:radial-gradient(closest-side, rgba(220,60,60,.08), rgba(220,60,60,0) 70%); }
@keyframes waelSectionGlow{
  0%,100%{ transform:translate3d(0,0,0) scale(1);          opacity:.5; }
  50%    { transform:translate3d(2vmax,-1vmax,0) scale(1.06); opacity:.85; }
}

/* Floating tools drift within their section */
.wael-bg-tool{
  bottom:-60px; opacity:0; color:rgba(201,168,97,.28);
  animation: waelSectionFloat linear infinite;
  will-change: transform, opacity;
  filter: drop-shadow(0 0 6px rgba(201,168,97,.25));
}
.wael-bg-tool svg{ display:block; width:100%; height:100%; }
@keyframes waelSectionFloat{
  0%   { transform: translate3d(0,0,0) rotate(0deg);       opacity:0; }
  15%  { opacity:.7; }
  85%  { opacity:.7; }
  100% { transform: translate3d(2vw,-120%,0) rotate(240deg); opacity:0; }
}

@media (prefers-reduced-motion: reduce){
  .wael-bg-pole, .wael-bg-glow, .wael-bg-tool { animation: none !important; }
}

@media (max-width: 640px){
  .wael-bg-fx{ opacity:.5; }
}

