/* ===================== TOKENS ===================== */
:root {
  --accent: #5b8cff;       /* electric blue */
  --accent-2: #2dd4ff;     /* cyan */
  --green: #1fc99a;        /* fresh teal-green */
  --radius: 18px;
  --radius-lg: 28px;
  --maxw: 1180px;
  --ease: cubic-bezier(.16,1,.3,1);
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-sans: "Inter", system-ui, -apple-system, sans-serif;
}

/* DARK (default) */
[data-theme="dark"] {
  --bg: #0b0c10;
  --bg-2: #121319;
  --surface: rgba(255,255,255,.04);
  --surface-2: rgba(255,255,255,.06);
  --border: rgba(255,255,255,.09);
  --text: #eef1f7;
  --muted: #8e93a3;
  --hero-overlay: linear-gradient(180deg, rgba(11,12,16,.42) 0%, rgba(11,12,16,.72) 55%, var(--bg) 100%);
  --grain-opacity: .05;
  --shadow: 0 30px 80px -30px rgba(0,0,0,.85);
}

/* LIGHT / WHITE */
[data-theme="light"] {
  --bg: #f5f7fb;
  --bg-2: #ffffff;
  --surface: rgba(15,20,35,.03);
  --surface-2: rgba(15,20,35,.05);
  --border: rgba(15,20,35,.1);
  --text: #11151f;
  --muted: #5f6678;
  --hero-overlay: linear-gradient(180deg, rgba(245,247,251,.3) 0%, rgba(245,247,251,.68) 55%, var(--bg) 100%);
  --grain-opacity: .03;
  --shadow: 0 30px 70px -34px rgba(20,40,90,.3);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background .5s var(--ease), color .5s var(--ease);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--accent); color: #fff; }

/* ===================== SCROLL PROGRESS ===================== */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  z-index: 200; transition: width .1s linear;
}

/* ===================== NAV ===================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(16px, 4vw, 48px);
  transition: background .4s var(--ease), padding .4s var(--ease), border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--border);
  padding-top: 12px; padding-bottom: 12px;
}
.brand { display: flex; align-items: center; gap: 9px; font-family: var(--font-display); font-weight: 700; font-size: 1.32rem; letter-spacing: -.02em; }
.brand-mark { font-size: 1.35rem; }
.brand-name .dot { color: var(--accent); }

.nav-links { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.nav-links a { font-size: .94rem; font-weight: 500; color: var(--muted); transition: color .25s; position: relative; }
.nav-links a:hover { color: var(--text); }
.nav-links a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; bottom: -5px; height: 2px; width: 0;
  background: var(--accent); transition: width .3s var(--ease);
}
.nav-links a:not(.nav-cta):hover::after { width: 100%; }
.nav-cta {
  background: var(--text); color: var(--bg) !important;
  padding: 9px 18px; border-radius: 100px; font-weight: 600;
  transition: transform .25s var(--ease), opacity .25s;
}
.nav-cta:hover { transform: translateY(-2px); opacity: .9; }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.theme-toggle {
  width: 42px; height: 42px; border-radius: 50%; cursor: pointer;
  background: var(--surface); border: 1px solid var(--border); color: var(--text);
  font-size: 1.05rem; display: grid; place-items: center;
  transition: transform .4s var(--ease), background .3s;
}
.theme-toggle:hover { transform: rotate(20deg) scale(1.08); }
.theme-toggle .ic-sun { display: none; }
[data-theme="light"] .theme-toggle .ic-sun { display: block; }
[data-theme="light"] .theme-toggle .ic-moon { display: none; }

.hamburger { display: none; flex-direction: column; gap: 5px; width: 42px; height: 42px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); cursor: pointer; align-items: center; justify-content: center; }
.hamburger span { width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s var(--ease); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===================== HERO ===================== */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 120px clamp(16px,4vw,48px) 80px; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  /* Split hero: men's fresh fade (left) + braids (right) — "for him & for her" */
  background-image:
    linear-gradient(90deg, transparent calc(50% - 1px), rgba(255,255,255,.22) 50%, transparent calc(50% + 1px)),
    var(--hero-overlay),
    url("https://images.unsplash.com/photo-1648389824823-483ec5ca228a?auto=format&fit=crop&w=900&q=80"),
    url("https://images.unsplash.com/photo-1702236240794-58dc4c6895e5?auto=format&fit=crop&w=900&q=80");
  background-position: center, center, left center, right center;
  background-size: cover, cover, 50% 100%, 50% 100%;
  background-repeat: no-repeat;
  transform: scale(1.05); animation: slowZoom 20s ease-in-out infinite alternate;
}
@media (max-width: 560px) {
  /* On narrow phones, stack the two images top/bottom so both stay recognisable */
  .hero-bg {
    background-position: center, center, center top, center bottom;
    background-size: cover, cover, 100% 50%, 100% 50%;
    background-image:
      linear-gradient(180deg, transparent calc(50% - 1px), rgba(255,255,255,.22) 50%, transparent calc(50% + 1px)),
      var(--hero-overlay),
      url("https://images.unsplash.com/photo-1648389824823-483ec5ca228a?auto=format&fit=crop&w=700&q=80"),
      url("https://images.unsplash.com/photo-1702236240794-58dc4c6895e5?auto=format&fit=crop&w=700&q=80");
  }
}
@keyframes slowZoom { to { transform: scale(1.16) translateY(-10px); } }
.hero-grain { position: absolute; inset: 0; z-index: -1; opacity: var(--grain-opacity); pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

.hero-inner { max-width: var(--maxw); margin: 0 auto; width: 100%; }
.live-pill {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--surface-2); border: 1px solid var(--border);
  padding: 8px 16px; border-radius: 100px; font-size: .85rem; font-weight: 600;
  backdrop-filter: blur(10px); margin-bottom: 26px;
  animation: fadeUp .8s var(--ease) both;
}
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 var(--green); animation: pulse 2s infinite; }
.live-dot.sm { width: 7px; height: 7px; }
.live-pill.closed .live-dot { background: #e8584f; box-shadow: 0 0 0 0 #e8584f; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, currentColor 60%, transparent); } 70% { box-shadow: 0 0 0 10px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

.hero-title {
  font-family: var(--font-display); font-weight: 700; letter-spacing: -.03em; line-height: 1;
  font-size: clamp(2.6rem, 8vw, 5.4rem); margin-bottom: 22px;
  animation: fadeUp .8s var(--ease) .1s both;
}
.hero-title .hl { background: linear-gradient(120deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { max-width: 560px; color: var(--text); opacity: .82; font-size: clamp(1rem, 2.4vw, 1.18rem); margin-bottom: 34px; animation: fadeUp .8s var(--ease) .2s both; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 48px; animation: fadeUp .8s var(--ease) .3s both; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 26px; border-radius: 100px; font-weight: 600; font-size: 1rem; cursor: pointer; border: 1px solid transparent; transition: transform .3s var(--ease), box-shadow .3s, background .3s; }
.btn-primary { background: linear-gradient(120deg, var(--accent), var(--accent-2)); color: #04101f; box-shadow: 0 14px 40px -12px var(--accent); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 20px 50px -12px var(--accent); }
.btn-ghost { background: var(--surface-2); border-color: var(--border); color: var(--text); backdrop-filter: blur(10px); }
.btn-ghost:hover { transform: translateY(-3px); background: var(--surface); }
.btn.full { width: 100%; justify-content: center; }

.hero-meta { display: flex; align-items: center; gap: clamp(14px,3vw,30px); flex-wrap: wrap; animation: fadeUp .8s var(--ease) .4s both; }
.meta-item { display: flex; flex-direction: column; }
.meta-item strong { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; }
.meta-item span { font-size: .8rem; color: var(--muted); }
.meta-divider { width: 1px; height: 34px; background: var(--border); }

.scroll-hint { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid var(--border); border-radius: 100px; display: grid; place-items: start center; padding-top: 8px; }
.scroll-hint span { width: 4px; height: 8px; border-radius: 4px; background: var(--accent); animation: scrolly 1.6s infinite; }
@keyframes scrolly { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 80% { opacity: 0; transform: translateY(12px); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* ===================== MARQUEE ===================== */
.marquee { background: linear-gradient(90deg, var(--accent), var(--accent-2)); color: #04101f; overflow: hidden; padding: 14px 0; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.marquee-track { display: flex; gap: 26px; white-space: nowrap; width: max-content; animation: scrollx 28s linear infinite; }
.marquee-track span { letter-spacing: -.01em; }
@keyframes scrollx { to { transform: translateX(-50%); } }

/* ===================== SECTIONS ===================== */
.section { max-width: var(--maxw); margin: 0 auto; padding: clamp(64px, 10vw, 120px) clamp(16px,4vw,48px); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto clamp(36px, 6vw, 60px); }
.eyebrow { display: inline-flex; align-items: center; gap: 7px; color: var(--accent); font-weight: 700; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.section-head h2 { font-family: var(--font-display); font-weight: 700; letter-spacing: -.025em; line-height: 1.05; font-size: clamp(1.9rem, 5vw, 3.1rem); margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* reveal */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ===================== SERVICES GRID ===================== */
.menu-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 40px; }
.tab { padding: 10px 20px; border-radius: 100px; background: var(--surface); border: 1px solid var(--border); color: var(--muted); font-weight: 600; font-size: .92rem; cursor: pointer; transition: .3s var(--ease); }
.tab:hover { color: var(--text); }
.tab.active { background: var(--text); color: var(--bg); border-color: var(--text); }

.menu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 20px; }
.dish { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s, border-color .3s; display: flex; flex-direction: column; }
.dish:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--accent) 40%, var(--border)); }
.dish-img { aspect-ratio: 16/11; overflow: hidden; position: relative; }
.dish-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.dish:hover .dish-img img { transform: scale(1.08); }
.dish-tag { position: absolute; top: 12px; left: 12px; background: color-mix(in srgb, var(--bg) 70%, transparent); backdrop-filter: blur(8px); padding: 5px 12px; border-radius: 100px; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.dish-tag.hot { color: var(--accent-2); }
.dish-tag.veg { color: var(--green); }
.dish-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.dish-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.dish-name { font-family: var(--font-display); font-weight: 600; font-size: 1.18rem; }
.dish-price { font-weight: 700; color: var(--accent); white-space: nowrap; }
.dish-desc { color: var(--muted); font-size: .9rem; flex: 1; }
.dish-add { margin-top: 10px; align-self: flex-start; background: var(--surface-2); border: 1px solid var(--border); color: var(--text); padding: 8px 16px; border-radius: 100px; font-weight: 600; font-size: .85rem; cursor: pointer; transition: .25s var(--ease); }
.dish-add:hover { background: var(--accent); color: #04101f; border-color: var(--accent); }

/* ===================== STORY ===================== */
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 70px); align-items: center; }
.story-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.story-media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.story-badge { position: absolute; bottom: 18px; left: 18px; background: color-mix(in srgb, var(--bg) 75%, transparent); backdrop-filter: blur(10px); border: 1px solid var(--border); padding: 9px 16px; border-radius: 100px; font-weight: 600; font-size: .85rem; }
.story-text h2 { font-family: var(--font-display); font-weight: 700; letter-spacing: -.025em; font-size: clamp(1.8rem, 4.5vw, 2.8rem); line-height: 1.05; margin-bottom: 18px; }
.story-text p { color: var(--muted); margin-bottom: 16px; }
.story-stats { display: flex; gap: 30px; margin-top: 28px; }
.story-stats strong { display: block; font-family: var(--font-display); font-size: 1.9rem; font-weight: 700; color: var(--accent); }
.story-stats span { color: var(--muted); font-size: .85rem; }

/* ===================== LIVE ===================== */
.live-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 22px; }
.live-stats { display: grid; grid-template-rows: repeat(3,1fr); gap: 16px; }
.lstat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; justify-content: center; }
.lstat-num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.2rem,5vw,3rem); line-height: 1; background: linear-gradient(120deg,var(--accent),var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lstat-label { color: var(--muted); font-size: .9rem; margin-top: 6px; }
.live-feed { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; }
.feed-head { display: flex; align-items: center; gap: 9px; font-weight: 700; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.feed-list { list-style: none; display: flex; flex-direction: column; gap: 2px; max-height: 320px; overflow: hidden; }
.feed-item { display: flex; align-items: center; gap: 12px; padding: 11px 4px; border-bottom: 1px dashed var(--border); animation: feedIn .5s var(--ease) both; }
.feed-item:last-child { border-bottom: none; }
@keyframes feedIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.feed-emoji { font-size: 1.3rem; width: 38px; height: 38px; display: grid; place-items: center; background: var(--surface-2); border-radius: 12px; flex-shrink: 0; }
.feed-text { font-size: .92rem; flex: 1; }
.feed-text b { font-weight: 600; }
.feed-time { font-size: .78rem; color: var(--muted); white-space: nowrap; }

/* ===================== BOOK ===================== */
.order-card { background: linear-gradient(135deg, var(--surface-2), var(--surface)); border: 1px solid var(--border); border-radius: var(--radius-lg); display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; box-shadow: var(--shadow); }
.order-left { padding: clamp(28px, 5vw, 50px); }
.order-left h2 { font-family: var(--font-display); font-weight: 700; letter-spacing: -.02em; font-size: clamp(1.8rem,4vw,2.6rem); margin-bottom: 14px; }
.order-left > p { color: var(--muted); margin-bottom: 24px; }
.order-perks { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.order-perks li { font-size: .96rem; }
.order-contact { display: flex; flex-wrap: wrap; gap: 12px; }
.contact-chip { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 100px; background: var(--surface); border: 1px solid var(--border); font-weight: 600; font-size: .9rem; transition: .25s var(--ease); }
.contact-chip:hover { transform: translateY(-2px); border-color: var(--accent); }
.contact-chip.wa:hover { border-color: var(--green); }

.order-form { padding: clamp(28px, 5vw, 50px); background: var(--bg-2); display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { font-size: .85rem; font-weight: 600; color: var(--muted); }
.field input, .field select, .field textarea { font-family: inherit; font-size: .98rem; padding: 13px 15px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); color: var(--text); transition: border-color .25s, background .25s; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: var(--surface-2); }
.field input::placeholder, .field textarea::placeholder { color: color-mix(in srgb, var(--muted) 75%, transparent); }
.form-note { text-align: center; font-weight: 600; color: var(--green); font-size: .95rem; margin-top: 4px; }
.field textarea.flash { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 25%, transparent); animation: flashPulse .6s var(--ease); }
@keyframes flashPulse { 0% { transform: scale(1); } 50% { transform: scale(1.01); } 100% { transform: scale(1); } }

/* ===================== VISIT ===================== */
.visit-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 26px; align-items: stretch; }
.visit-info { display: flex; flex-direction: column; gap: 8px; justify-content: center; }
.vrow { display: flex; gap: 16px; padding: 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); transition: .3s var(--ease); }
.vrow:hover { border-color: color-mix(in srgb, var(--accent) 40%, var(--border)); transform: translateX(4px); }
.vrow span { font-size: 1.5rem; }
.vrow strong { display: block; font-family: var(--font-display); font-size: 1.1rem; margin-bottom: 4px; }
.vrow p { color: var(--muted); font-size: .92rem; }
.visit-map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); min-height: 320px; }
.visit-map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; filter: grayscale(.2); }
[data-theme="dark"] .visit-map iframe { filter: grayscale(.4) invert(.92) hue-rotate(180deg) brightness(.95); }

/* ===================== FOOTER ===================== */
.footer { border-top: 1px solid var(--border); background: var(--bg-2); padding: clamp(40px,7vw,70px) clamp(16px,4vw,48px) 30px; }
.footer-top { max-width: var(--maxw); margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.footer-top p { color: var(--muted); }
.socials { display: flex; gap: 22px; margin-top: 6px; }
.socials a { color: var(--muted); font-weight: 600; font-size: .9rem; transition: color .25s; }
.socials a:hover { color: var(--accent); }
.footer-bottom { max-width: var(--maxw); margin: 36px auto 0; padding-top: 24px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: .85rem; }
.to-top { background: var(--surface); border: 1px solid var(--border); color: var(--text); padding: 9px 16px; border-radius: 100px; font-weight: 600; cursor: pointer; transition: .25s var(--ease); }
.to-top:hover { background: var(--accent); color: #04101f; border-color: var(--accent); }

/* ===================== MOBILE ===================== */
@media (max-width: 860px) {
  .hamburger { display: flex; }
  .nav-links {
    position: fixed; inset: 0 0 0 auto; width: min(78vw, 320px);
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 26px;
    background: var(--bg-2); border-left: 1px solid var(--border);
    padding: 40px; transform: translateX(105%); transition: transform .45s var(--ease);
    box-shadow: var(--shadow);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1.3rem; color: var(--text); }
  .nav-cta { font-size: 1.1rem !important; }

  .story-grid, .live-grid, .order-card, .visit-grid { grid-template-columns: 1fr; }
  .order-card { border-radius: var(--radius); }
  .live-stats { grid-template-rows: none; grid-template-columns: repeat(3,1fr); gap: 10px; }
  .lstat { padding: 16px 12px; text-align: center; align-items: center; }
  .story-media img { aspect-ratio: 16/11; }
}
@media (max-width: 480px) {
  .live-stats { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .hero-meta { gap: 14px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
