/* ─────────────────────────────────────────────
   VELOURA — design system
   Luxury nail studio · dark, gilded, cinematic
   (color system matched to the hero animation:
    warm black · deep red glow · rose-gold · champagne)
   ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:         #0E0807;   /* warm near-black page */
  --surface:    #170E0D;   /* card / alt section */
  --surface-2:  #1E1311;   /* elevated */
  --wine:       #260D11;   /* deep red feature bg */
  --cream:      #F4EAE0;   /* warm light text */
  --champ:      #E6BBA6;   /* light rose gold */
  --champ-soft: #F4DDD0;   /* lightest rose gold */
  --gold:       #C28A6B;   /* rose gold */
  --gold-soft:  #D6A186;   /* rose gold hover */
  --rose:       #D8A98A;   /* rose-gold */
  --red:        #B23A48;   /* accent red (from header) */
  --muted:      rgba(244,234,224,0.62);
  --dim:        rgba(244,234,224,0.40);
  --line:       rgba(244,234,224,0.12);
  --line-soft:  rgba(244,234,224,0.07);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --display: "Instrument Serif", Georgia, "Times New Roman", serif;
  --mono: "SF Mono", ui-monospace, "Cascadia Code", monospace;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg); color: var(--cream);
  font-family: var(--font); line-height: 1.5;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 84px; display: flex; align-items: center; gap: 28px;
  padding: 0 32px;
  background: transparent;
  transition: background .45s ease, backdrop-filter .45s ease, border-color .45s ease;
  border-bottom: 0.5px solid transparent;
}
nav.scrolled {
  background: rgba(14,8,7,0.72);
  backdrop-filter: saturate(150%) blur(18px);
  -webkit-backdrop-filter: saturate(150%) blur(18px);
  border-bottom: 0.5px solid var(--line);
}
.nav-logo {
  font-family: var(--display); font-size: 27px; font-weight: 400; letter-spacing: 0.22em;
  color: var(--champ); text-decoration: none; flex-shrink: 0;
  display: inline-flex; align-items: center; padding-left: 0.22em;
}
.nav-logo img { height: 54px; width: auto; display: block; }
.nav-links { list-style: none; display: flex; gap: 30px; margin-left: auto; }
.nav-links a {
  font-size: 13px; color: rgba(244,234,224,0.78); text-decoration: none; letter-spacing: 0.04em;
  transition: color .2s;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--champ); }
.nav-cta {
  flex-shrink: 0; font-size: 13px; font-weight: 600; letter-spacing: 0.02em;
  padding: 10px 22px; border-radius: 980px; text-decoration: none;
  background: var(--gold); color: #1a120b;
  transition: transform .2s, background .2s, box-shadow .2s;
}
.nav-cta:hover { background: var(--gold-soft); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(194,138,107,0.30); }
.nav-burger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 6px; margin-left: auto; }
.nav-burger span { width: 22px; height: 1.5px; background: var(--cream); display: block; }

/* ─── HERO (wheel-lock scrub · no overlay; footage shows clean) ─── */
.hero-wrap { height: 100svh; position: relative; overflow: hidden; background: #140909; }
.hero-sticky { position: absolute; inset: 0; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #140909; }
.hero-poster-overlay { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; pointer-events: none; opacity: 1; transition: opacity .35s linear; }
.hero-progress { position: absolute; bottom: 0; left: 0; height: 2px; width: 0%; z-index: 10;
  background: linear-gradient(90deg, transparent, var(--champ), transparent); transition: width .06s linear; }
.hero-content {
  position: relative; z-index: 5; text-align: center; padding: 0 24px; max-width: 920px;
  display: flex; flex-direction: column; align-items: center;
  transition: opacity .05s, transform .05s;
  text-shadow: 0 2px 30px rgba(0,0,0,0.5);
}
.eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 0.30em; text-transform: uppercase; color: var(--gold); }
.hero-content .eyebrow { color: var(--champ); }
.hero-content h1 {
  font-family: var(--display); font-size: clamp(54px, 10vw, 138px); font-weight: 400; letter-spacing: -0.005em; line-height: 0.96;
  margin: 20px 0 0; color: #fff;
}
.hero-content h1 em { font-style: italic; color: var(--champ); }
.hero-content .lead { font-size: clamp(16px, 2.2vw, 21px); color: rgba(255,255,255,0.78); max-width: 540px; margin: 22px auto 0; }
.hero-cta-row { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 36px; }

/* ─── BUTTONS ─── */
.btn { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600;
  padding: 14px 30px; border-radius: 980px; text-decoration: none; transition: all .22s; cursor: pointer; border: none; white-space: nowrap; letter-spacing: 0.01em; }
.btn-fill { background: var(--gold); color: #1a120b; }
.btn-fill:hover { background: var(--gold-soft); transform: translateY(-1px); box-shadow: 0 12px 30px rgba(194,138,107,0.30); }
.btn-ghost { background: transparent; color: var(--champ); border: 1px solid rgba(230,187,166,0.45); }
.btn-ghost:hover { background: var(--gold); border-color: var(--gold); color: #1a120b; transform: translateY(-1px); }

/* ─── SECTIONS ─── */
.section { padding: clamp(84px, 13vh, 168px) 24px; position: relative; }
.section--sand { background: var(--surface); }
.section--wine { background:
  radial-gradient(120% 120% at 50% 0%, rgba(178,58,72,0.16), transparent 60%), var(--wine); }
.wrap { max-width: 1120px; margin: 0 auto; }
.measure { max-width: 700px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.display { font-family: var(--display); font-size: clamp(38px, 6vw, 86px); font-weight: 400; letter-spacing: -0.005em; line-height: 1.0; color: var(--cream); }
.display em { font-style: italic; color: var(--champ); }
.lead { font-size: clamp(16px, 1.6vw, 20px); line-height: 1.7; color: var(--muted); }
.section-head { margin-bottom: 56px; }

/* feature row: text + media */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.feature.reverse .feature-media { order: -1; }
.feature-copy h2 { margin: 14px 0 18px; }
.feature-copy .lead { margin-bottom: 26px; }

/* The Veloura — centered single-column layout */
#the-veloura .feature { grid-template-columns: 1fr; gap: 44px; }
#the-veloura .feature-copy { display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 720px; margin: 0 auto; }
#the-veloura .feature-media { width: 100%; max-width: 760px; margin: 0 auto; }

.media {
  position: relative; aspect-ratio: 4/5; border-radius: 22px; overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 18%, rgba(216,169,138,0.30), transparent 60%),
    linear-gradient(155deg, #2A1714 0%, #150C0B 100%);
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
.media.wide { aspect-ratio: 16/10; }
.feature-media .media { aspect-ratio: 3 / 2; }
.media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media-tag { position: absolute; left: 18px; bottom: 16px; z-index: 2; font-family: var(--mono);
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.62); }

/* service / gallery cards */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.tri { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: var(--surface-2); border: 0.5px solid var(--line); border-radius: 22px; overflow: hidden;
  display: flex; flex-direction: column; transition: border-color .25s, transform .25s, box-shadow .25s;
}
.card:hover { border-color: rgba(194,138,107,0.5); transform: translateY(-4px); box-shadow: 0 24px 60px rgba(0,0,0,0.5); }
.card .media { border-radius: 0; box-shadow: none; aspect-ratio: 4/3; }
.card-body { padding: 28px 30px 32px; }
.card-body .price { float: right; font-family: var(--display); font-size: 24px; color: var(--gold); }
.card-body h3 { font-size: 21px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 8px; color: var(--cream); }
.card-body p { font-size: 14.5px; color: var(--muted); line-height: 1.6; }

/* gallery grid */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery .media { aspect-ratio: 4/3; border-radius: 16px; }

/* facts row */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line);
  border: 0.5px solid var(--line); border-radius: 20px; overflow: hidden; }
.fact { background: var(--surface); padding: 44px 28px; text-align: center; }
.fact-n { font-family: var(--display); font-size: clamp(40px,5vw,64px); font-weight: 400; letter-spacing: -0.01em; color: var(--champ); display: block; line-height: 1; }
.fact-l { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-top: 12px; }

/* booking CTA */
.book-inner { background:
    radial-gradient(120% 130% at 50% 0%, rgba(178,58,72,0.18), transparent 60%),
    var(--surface-2);
  border: 0.5px solid var(--line); border-radius: 28px; padding: clamp(56px,8vw,96px) 32px; text-align: center;
  box-shadow: 0 40px 90px rgba(0,0,0,0.45); }

/* ─── REVEAL ─── */
.reveal { opacity: 0; transform: translateY(18px); will-change: opacity, transform;
  transition: opacity 1.1s cubic-bezier(.22,.61,.36,1), transform 1.1s cubic-bezier(.22,.61,.36,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .12s; } .reveal.d2 { transition-delay: .24s; } .reveal.d3 { transition-delay: .36s; }
.media img.imgfade, .prod-img img.imgfade { opacity: 0; transition: opacity .7s ease; }
.media img.imgfade.loaded, .prod-img img.imgfade.loaded { opacity: 1; }

/* ─── BRAND FOOTER ─── */
.site-footer { background: var(--surface); border-top: 0.5px solid var(--line); padding: 72px 32px 40px; }
.foot-grid { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.foot-brand .nav-logo img { height: 104px; }
.foot-brand p { color: var(--muted); font-size: 13.5px; margin-top: 16px; max-width: 280px; line-height: 1.6; }
.foot-col h4 { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); margin-bottom: 16px; }
.foot-col a { display: block; color: var(--muted); text-decoration: none; font-size: 14px; margin-bottom: 11px; transition: color .2s; }
.foot-col a:hover { color: var(--champ); }
.foot-copy { max-width: 1120px; margin: 48px auto 0; padding-top: 22px; border-top: 0.5px solid var(--line);
  font-size: 12px; color: var(--dim); text-align: center; }

/* ─── PUBLICOVER MEDIA CREDIT ─── */
.pm-credit { background: #0a0505; border-top: 0.5px solid var(--line); padding: 26px 28px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.pm-credit .back-link { font-size: 12px; letter-spacing: 0.06em; color: rgba(255,255,255,0.95); text-decoration: none; transition: color .2s; }
.pm-credit .back-link:hover { color: #fff; }
.pm-credit .pm-logo-link { display: flex; align-items: center; justify-content: center; }
.pm-credit .pm-logo-link img { height: 44px; width: auto; filter: brightness(0) invert(1); opacity: 0.95; }
.pm-credit > div:last-child { text-align: right; }

/* ─── MOBILE MENU (overlay) ─── */
.mobile-menu { position: fixed; inset: 0; z-index: 300; background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  transform: translateY(-100%); opacity: 0; visibility: hidden;
  transition: transform .42s cubic-bezier(.16,1,.3,1), opacity .42s ease, visibility .42s; }
.mobile-menu.open { transform: translateY(0); opacity: 1; visibility: visible; }
.mobile-menu a { font-family: var(--display); font-size: 34px; font-weight: 400; letter-spacing: -0.01em; color: var(--cream); text-decoration: none; padding: 11px; }
.mobile-menu a:hover { color: var(--champ); }
.mobile-menu .mm-cta { font-family: var(--font); margin-top: 20px; font-size: 15px; font-weight: 600; padding: 13px 30px; border-radius: 980px; background: var(--gold); color: #1a120b; }
.mobile-menu-close { position: absolute; top: 20px; right: 24px; background: none; border: none; color: var(--cream); font-size: 34px; line-height: 1; cursor: pointer; }

/* ─── RESPONSIVE ─── */
@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .feature { grid-template-columns: 1fr; gap: 32px; }
  .feature.reverse .feature-media { order: 0; }
  .duo, .tri { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .facts { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: repeat(3, 1fr); gap: 30px 18px; text-align: center; justify-items: center; }
  .foot-brand { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; }
  .foot-brand p { max-width: 420px; }
}
@media (max-width: 480px) {
  .foot-grid { grid-template-columns: 1fr; gap: 32px; }
  .gallery { grid-template-columns: 1fr; }
}

/* ─── ACCESSIBILITY: reduced motion ─── */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
