/* ═══════════════════════════════════════════════
   VAVIEN CREATIVE — SHARED STYLESHEET
═══════════════════════════════════════════════ */

/* ── SCROLLBAR ─────────────────────────────── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: transparent; transition: background .4s; }
html.is-scrolling::-webkit-scrollbar-thumb { background: #dddb00; }
html { scrollbar-width: auto; scrollbar-color: transparent transparent; }
html.is-scrolling { scrollbar-color: #dddb00 transparent; }

/* ── THEME TOKENS ──────────────────────────── */
:root {
  --yellow:  #dddb00;
  --font-d:  'Bebas Neue', sans-serif;
  --font-b:  'Space Grotesk', sans-serif;
  --nav-h:   80px;

  /* DARK (default) */
  --bg:                #1a1814;
  --bg-alt:            #211f1b;
  --bg-card:           #2a2824;
  --bg-card2:          #242220;
  --fg:                #f0ede8;
  --muted:             #8a8680;
  --muted2:            #5a5652;
  --border-c:          #333028;
  --nav-solid-bg:      rgba(26,24,20,.97);
  --nav-always-bg:     linear-gradient(to bottom, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 100%);
  --nav-link-col:      var(--yellow);
  --nav-link-scroll-col: var(--yellow);
  --scrollbar-bg:      #1a1814;
  --mob-bg:            #1a1814;
  --mob-fg:            #f0ede8;
  --strong-c:          #f5f5f0;
  --copy-c:            rgba(255,255,255,.2);
  --year-c:            rgba(221,219,0,.07);
  --tri-c1:            rgba(221,219,0,.18);
  --tri-c2:            rgba(221,219,0,.32);
  --tri-c3:            rgba(221,219,0,.50);
  --tri-dot:           rgba(221,219,0,.60);
  --theme-transition:  background .35s ease, color .35s ease, border-color .35s ease;
}

/* Dark mode override kept for compatibility */
html[data-theme="dark"] {
  --bg:                #1a1814;
  --bg-alt:            #211f1b;
  --bg-card:           #2a2824;
  --bg-card2:          #242220;
  --fg:                #f0ede8;
  --muted:             #8a8680;
  --muted2:            #5a5652;
  --border-c:          #333028;
  --nav-solid-bg:      rgba(26,24,20,.97);
  --nav-always-bg:     linear-gradient(to bottom, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 100%);
  --nav-link-col:      var(--yellow);
  --nav-link-scroll-col: var(--yellow);
  --scrollbar-bg:      #1a1814;
  --mob-bg:            #1a1814;
  --mob-fg:            #f0ede8;
  --strong-c:          #f5f5f0;
  --copy-c:            rgba(255,255,255,.2);
  --year-c:            rgba(221,219,0,.07);
  --tri-c1:            rgba(221,219,0,.18);
  --tri-c2:            rgba(221,219,0,.32);
  --tri-c3:            rgba(221,219,0,.50);
  --tri-dot:           rgba(221,219,0,.60);
}

/* Subpages: nav always solid (no video hero) */
html[data-subpage] .nav {
  background: var(--nav-solid-bg) !important;
  border-bottom: 1px solid var(--border-c) !important;
}

/* ── RESET & BASE ──────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--fg);
  font-family: var(--font-b); font-size: 16px; line-height: 1.6;
  overflow-x: hidden;
  transition: var(--theme-transition);
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; font-family: var(--font-b); }
::selection { background: var(--yellow); color: #111; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--scrollbar-bg); }
::-webkit-scrollbar-thumb { background: var(--yellow); }

/* ── NAV ENTRANCE (removed) ─────────────────── */

/* ── NAV ───────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px;
  background: var(--nav-always-bg);
  transition: background .4s ease;
}
.nav.scrolled {
  background: var(--nav-solid-bg);
  border-bottom: 1px solid var(--border-c);
  backdrop-filter: blur(12px);
}
.nav-logo img { height: 36px; width: auto; transition: opacity .2s; }
.nav-logo:hover img { opacity: .8; }
/* Nav links always hidden — hamburger only */
.nav-links { display: none; }

/* Theme toggle hidden — dark mode only */
.theme-toggle { display: none; }

.nav-right { display: flex; align-items: center; gap: 16px; }
.nav-toggle { display: flex; flex-direction: column; gap: 6px; background: none; border: none; padding: 6px; }
.nav-toggle span { display: block; width: 28px; height: 2px; background: #ffffff; transition: transform .3s, opacity .3s, background .2s; }
.nav-toggle:hover span { background: var(--yellow); }

/* Full-page overlay nav */
.mobile-nav {
  position: fixed; inset: 0;
  background: var(--mob-bg); z-index: 200;
  display: flex;
  flex-direction: column; align-items: flex-start; justify-content: center;
  padding: 0 8vw;
  clip-path: circle(0% at calc(100% - 44px) 44px);
  visibility: hidden;
  pointer-events: none;
  transition: clip-path .75s cubic-bezier(0.22, 1, 0.36, 1), visibility .75s, background .35s;
}
.mobile-nav.open {
  clip-path: circle(150% at calc(100% - 44px) 44px);
  visibility: visible;
  pointer-events: all;
}

/* Menu item base state (hidden/closing) */
.mobile-nav a {
  font-family: var(--font-d);
  font-size: clamp(36px, 6.5vw, 86px);
  letter-spacing: 2px;
  color: transparent;
  -webkit-text-stroke: 0.8px var(--mob-fg);
  line-height: 1;
  padding: 7px 0;
  display: block;
  opacity: 0;
  transform: translateX(-36px);
  transition: opacity .2s ease, transform .2s ease, color .2s, -webkit-text-stroke-color .2s;
}

/* Staggered open animation */
.mobile-nav.open a:nth-of-type(1) { transition: opacity .5s ease .06s, transform .5s cubic-bezier(.22,1,.36,1) .06s, color .2s, -webkit-text-stroke-color .2s; }
.mobile-nav.open a:nth-of-type(2) { transition: opacity .5s ease .13s, transform .5s cubic-bezier(.22,1,.36,1) .13s, color .2s, -webkit-text-stroke-color .2s; }
.mobile-nav.open a:nth-of-type(3) { transition: opacity .5s ease .20s, transform .5s cubic-bezier(.22,1,.36,1) .20s, color .2s, -webkit-text-stroke-color .2s; }
.mobile-nav.open a:nth-of-type(4) { transition: opacity .5s ease .27s, transform .5s cubic-bezier(.22,1,.36,1) .27s, color .2s, -webkit-text-stroke-color .2s; }
.mobile-nav.open a:nth-of-type(5) { transition: opacity .5s ease .34s, transform .5s cubic-bezier(.22,1,.36,1) .34s, color .2s, -webkit-text-stroke-color .2s; }
.mobile-nav.open a:nth-of-type(6) { transition: opacity .5s ease .41s, transform .5s cubic-bezier(.22,1,.36,1) .41s, color .2s, -webkit-text-stroke-color .2s; }
.mobile-nav.open a:nth-of-type(7) { transition: opacity .5s ease .48s, transform .5s cubic-bezier(.22,1,.36,1) .48s, color .2s, -webkit-text-stroke-color .2s; }

.mobile-nav.open a {
  opacity: 1;
  transform: translateX(0);
}
.mobile-nav.open a:hover { color: var(--yellow); -webkit-text-stroke-color: var(--yellow); transform: translateX(12px); }

.mob-nav-footer {
  position: absolute; bottom: 40px; right: 48px;
  display: flex; flex-direction: column; align-items: flex-end; gap: 0;
  opacity: 0; transition: opacity .4s ease .5s;
}
.mobile-nav.open .mob-nav-footer { opacity: 1; }
.mob-nav-logo { height: 24px; width: auto; margin-bottom: 12px; }
.mob-nav-contact { display: flex; flex-direction: column; align-items: flex-end; gap: 0; }
.mob-nav-contact a, .mob-nav-contact span {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-b); font-size: 13px; font-weight: 400; letter-spacing: 0;
  color: var(--mob-fg); text-decoration: none; transition: color .2s;
}
.mob-nav-contact a:hover { color: var(--yellow); }
.mob-nav-contact svg { color: var(--yellow); flex-shrink: 0; }

/* Close button */
.mobile-nav-close {
  position: absolute; top: 28px; right: 36px;
  background: none; border: none;
  color: var(--mob-fg); cursor: pointer;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity .3s ease .45s, color .2s;
}
.mobile-nav.open .mobile-nav-close { opacity: 1; }

/* ── MARQUEE ───────────────────────────────── */
.marquee-strip { background: var(--yellow); overflow: hidden; padding: 14px 0; border-top: 2px solid #c9c700; border-bottom: 2px solid #c9c700; }
.marquee-track { display: flex; width: max-content; animation: marqueeScroll 24s linear infinite; }
.marquee-item { display: flex; align-items: center; gap: 20px; padding: 0 28px; white-space: nowrap; font-family: var(--font-d); font-size: 19px; letter-spacing: 3px; color: #111; text-transform: uppercase; }
.marquee-dot { width: 5px; height: 5px; background: #111; border-radius: 50%; flex-shrink: 0; }
@keyframes marqueeScroll { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* ── PAGE HERO (subpages) ──────────────────── */
.page-hero {
  padding: calc(var(--nav-h) + 80px) 48px 80px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border-c);
}
.page-hero .container { max-width: 1280px; margin: 0 auto; }
.page-hero-label {
  font-size: 11px; font-weight: 600; letter-spacing: 4px;
  text-transform: uppercase; color: var(--yellow); margin-bottom: 20px;
  display: flex; align-items: center; gap: 12px;
}
.page-hero-label::before { content: ''; display: inline-block; width: 28px; height: 2px; background: var(--yellow); }
.page-hero-title { font-family: var(--font-d); font-size: clamp(56px, 8vw, 120px); line-height: .9; letter-spacing: 1px; text-transform: uppercase; }
.page-hero-title em { font-style: normal; color: var(--yellow); }
.page-hero-sub { font-size: 16px; font-weight: 300; color: var(--muted); line-height: 1.8; max-width: 560px; margin-top: 28px; }

/* ── SHARED SECTION STYLES ─────────────────── */
section { padding: 120px 48px; transition: background .35s ease; }
.container { max-width: 1280px; margin: 0 auto; }
.section-label {
  font-size: 11px; font-weight: 600; letter-spacing: 4px;
  text-transform: uppercase; color: var(--yellow); margin-bottom: 20px;
  display: flex; align-items: center; gap: 12px;
}
.section-label::before { content: ''; display: inline-block; width: 28px; height: 2px; background: var(--yellow); }
.section-title { font-family: var(--font-d); font-size: clamp(48px, 6.5vw, 90px); line-height: .93; letter-spacing: 1px; text-transform: uppercase; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(48px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .10s; } .reveal-delay-2 { transition-delay: .20s; }
.reveal-delay-3 { transition-delay: .30s; } .reveal-delay-4 { transition-delay: .40s; }
.reveal-delay-5 { transition-delay: .50s; } .reveal-delay-6 { transition-delay: .60s; }
.reveal-delay-7 { transition-delay: .70s; } .reveal-delay-8 { transition-delay: .80s; }

/* Buttons */
.btn-outline {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1.5px solid var(--yellow); color: var(--yellow);
  padding: 13px 30px; font-size: 11px; font-weight: 600;
  letter-spacing: 2.5px; text-transform: uppercase;
  transition: background .2s, color .2s;
}
.btn-outline:hover { background: var(--yellow); color: #111; }
.btn-outline svg { transition: transform .2s; }
.btn-outline:hover svg { transform: translateX(4px); }

/* Hover cards (shared) */
.hover-card {
  background: var(--bg-card); border: 1px solid var(--border-c);
  position: relative; overflow: hidden; cursor: pointer; transition: border-color .25s;
}
.hover-card::before {
  content: ''; position: absolute; inset: 0;
  background: var(--yellow); transform: translateY(100%);
  transition: transform .35s cubic-bezier(.77,0,.175,1); z-index: 0;
}
.hover-card:hover::before { transform: translateY(0); }
.hover-card:hover { border-color: var(--yellow); }
.hover-card-inner { position: relative; z-index: 1; }

/* Filter buttons */
.filter-btn {
  background: none; border: 1px solid var(--border-c); color: var(--muted);
  padding: 9px 22px; font-size: 11px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; transition: all .2s; cursor: pointer;
}
.filter-btn:hover, .filter-btn.active { background: var(--yellow); border-color: var(--yellow); color: #111; }

/* ── FOOTER ────────────────────────────────── */
footer { background: var(--bg); border-top: 1px solid var(--border-c); padding: 80px 48px 40px; transition: background .35s; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 72px; padding-bottom: 72px; border-bottom: 1px solid var(--border-c); }
.footer-logo-img { height: 40px; width: auto; margin-bottom: 20px; }
.footer-desc { font-size: 13px; font-weight: 300; color: var(--muted); line-height: 1.85; max-width: 260px; }
.footer-col-title { font-size: 10px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--yellow); margin-bottom: 22px; }
.footer-links { display: flex; flex-direction: column; gap: 11px; list-style: none; }
.footer-links a { font-size: 13px; font-weight: 300; color: var(--muted); transition: color .2s; display: flex; align-items: center; gap: 8px; }
.footer-links a:hover { color: var(--fg); }
.footer-links a svg { flex-shrink: 0; opacity: .6; }
.footer-tel-btn { display: inline-flex; align-items: center; gap: 10px; background: var(--yellow); color: #111 !important; font-family: var(--font-d); font-size: 15px; letter-spacing: 1px; padding: 12px 18px; margin-top: 8px; transition: opacity .2s !important; width: fit-content; }
.footer-tel-btn:hover { opacity: .85 !important; color: #111 !important; }
.footer-tel-btn svg { opacity: 1 !important; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.footer-copy { font-size: 11px; color: var(--copy-c); letter-spacing: 1px; }
.footer-copy span { color: var(--yellow); }

/* ── CURSOR GLOW ───────────────────────────── */
.cursor-glow { position: fixed; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(221,219,0,.18) 0%, rgba(221,219,0,.06) 40%, transparent 70%); pointer-events: none; z-index: 9999; transform: translate(-50%,-50%); transition: left .08s ease, top .08s ease; }

/* ── RESPONSIVE ────────────────────────────── */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  section { padding: 80px 24px; }
  .page-hero { padding: calc(var(--nav-h) + 48px) 24px 60px; }
  footer { padding: 60px 24px 32px; }
  .nav { padding: 0 24px; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .mobile-nav a { -webkit-text-stroke: .7px #dddb00; }
}


/* ── PAGE TRANSITION ────────────────────────── */
#pageTransition {
  position: fixed;
  inset: 0;
  background: #dddb00;
  z-index: 9999;
  pointer-events: none;
  clip-path: circle(0% at 50% 50%);
}
