/* ============================================================
   Velouré — Shared brand design system
   Used by every page (home, shop, blog, policy, etc.)
   ============================================================ */

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

:root {
  /* Dark — for cinematic sections (hero, collection, CTA) */
  --bg: #070a18;
  --bg-2: #0c1024;
  --plum: #172040;
  --violet: #3d4f8a;
  --lilac: #a6b3d8;
  --ink: #efe6f5;
  --muted: #9b85b3;

  /* Light — for editorial sections (statement, story, difference, blog content) */
  --cream: #f6efe2;
  --cream-2: #ede4d2;
  --cream-3: #e2d6bf;
  --ink-dark: #172040;
  --muted-dark: #6e5b85;
  --soft-lilac: #ddc8ef;

  /* Brand gold (works on both light + dark) */
  --gold: #b08842;
  --gold-bright: #d4af6f;
  --gold-deep: #8a6a32;

  --border: rgba(212, 175, 111, 0.18);
  --border-soft: rgba(212, 175, 111, 0.1);
  --border-dark: rgba(23, 32, 64, 0.15);
}

html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .serif {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  letter-spacing: 0.005em;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; }
.gold {
  background: linear-gradient(180deg, var(--gold-bright), var(--gold), var(--gold-deep));
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- Brand mark (sparkle) ---------- */
.star {
  display: inline-block;
  width: 1em; height: 1em;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold), var(--gold-deep));
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 2c.6 4.6 2.4 6.4 7 7-4.6.6-6.4 2.4-7 7-.6-4.6-2.4-6.4-7-7 4.6-.6 6.4-2.4 7-7z'/></svg>") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 2c.6 4.6 2.4 6.4 7 7-4.6.6-6.4 2.4-7 7-.6-4.6-2.4-6.4-7-7 4.6-.6 6.4-2.4 7-7z'/></svg>") center/contain no-repeat;
}

/* ---------- Cursor + progress ---------- */
.cursor-dot {
  position: fixed; top: 0; left: 0;
  width: 10px; height: 10px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  mix-blend-mode: difference;
  transform: translate(-50%, -50%);
  transition: width .25s, height .25s;
  z-index: 9999;
}
.cursor-dot.grow { width: 60px; height: 60px; }
.scroll-progress {
  position: fixed; top: 0; left: 0;
  height: 2px; width: 0;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-bright));
  z-index: 9998;
  transition: width .1s linear;
}

/* ---------- Sparkles ---------- */
.sparkles {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
.sparkle {
  position: absolute;
  width: 14px; height: 14px;
  animation: float linear infinite;
}
.sparkle svg { width: 100%; height: 100%; }
@keyframes float {
  0%   { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10%  { opacity: 0.55; }
  90%  { opacity: 0.45; }
  100% { transform: translateY(-10vh) rotate(360deg); opacity: 0; }
}

/* ---------- Navigation ---------- */
nav.topnav {
  position: fixed; top: 0; left: 0; right: 0;
  padding: 22px 40px;
  display: flex; justify-content: space-between; align-items: center;
  z-index: 100;
  transition: all .4s ease;
}
nav.topnav.scrolled {
  padding: 14px 40px;
  background: rgba(7, 10, 24, 0.78);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}
nav.topnav.solid {
  background: rgba(7, 10, 24, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-style: italic;
  letter-spacing: 0.04em;
}
.brand .star { width: 22px; height: 22px; }
.brand .word {
  background: linear-gradient(180deg, var(--gold-bright), var(--gold), var(--gold-deep));
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}
.navlinks {
  display: flex; align-items: center; gap: 6px;
  background: rgba(12, 16, 36, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  padding: 8px;
  border-radius: 100px;
}
.navlinks a {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 100px;
  transition: all .3s ease;
  color: var(--ink);
}
.navlinks a:hover { background: rgba(212, 175, 111, 0.12); color: var(--gold-bright); }
.navlinks a.active { background: rgba(212, 175, 111, 0.18); color: var(--gold-bright); }

/* ---------- Hamburger ---------- */
.hamburger {
  display: none;
  width: 44px; height: 44px;
  background: rgba(12, 16, 36, 0.6);
  border: 1px solid var(--border);
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
  position: relative;
  z-index: 110;
  align-items: center;
  justify-content: center;
}
.hamburger span {
  position: absolute;
  left: 12px; right: 12px;
  height: 1.4px;
  background: var(--gold-bright);
  border-radius: 2px;
  transition: transform .4s cubic-bezier(0.22,1,0.36,1), opacity .3s ease, top .4s cubic-bezier(0.22,1,0.36,1);
}
.hamburger span:nth-child(1) { top: 15px; }
.hamburger span:nth-child(2) { top: 21px; }
.hamburger span:nth-child(3) { top: 27px; }
.hamburger.open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* Mobile menu — full-screen overlay slide down */
@media (max-width: 900px) {
  /* Every page gets the SAME solid blurred header on mobile, regardless of whether the
     desktop variant starts transparent. This keeps the home page consistent with the rest. */
  nav.topnav {
    background: rgba(7, 10, 24, 0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border);
    padding: 14px 20px;
  }
  .hamburger { display: flex; }
  nav.topnav .btn { display: none; }       /* hide the desktop Buy Now button; it lives inside the menu */
  .navlinks {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 100vh; width: 100%;
    background: rgba(7, 10, 24, 0.97);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    padding: 110px 30px 60px;
    gap: 4px;
    border-radius: 0;
    border: none;
    transform: translateY(-100%);
    opacity: 0;
    transition: transform .5s cubic-bezier(0.22,1,0.36,1), opacity .4s ease;
    pointer-events: none;
    align-items: stretch;
    justify-content: flex-start;
    z-index: 105;
  }
  .navlinks.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .navlinks a {
    font-size: 16px;
    letter-spacing: 0.2em;
    padding: 22px 20px;
    border-bottom: 1px solid rgba(212, 175, 111, 0.1);
    border-radius: 0;
    text-align: left;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .5s ease, transform .5s cubic-bezier(0.22,1,0.36,1);
  }
  .navlinks.open a {
    opacity: 1;
    transform: translateY(0);
  }
  .navlinks.open a:nth-child(1) { transition-delay: 0.1s; }
  .navlinks.open a:nth-child(2) { transition-delay: 0.16s; }
  .navlinks.open a:nth-child(3) { transition-delay: 0.22s; }
  .navlinks.open a:nth-child(4) { transition-delay: 0.28s; }
  .navlinks.open a:nth-child(5) { transition-delay: 0.34s; }
  .navlinks.open a:nth-child(6) { transition-delay: 0.40s; }
  .navlinks .menu-cta {
    margin-top: 24px;
    border: 1px solid var(--gold);
    border-radius: 100px;
    padding: 18px 28px;
    text-align: center;
    color: var(--gold-bright);
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 17px;
    letter-spacing: 0;
    text-transform: none;
  }
  body.menu-open { overflow: hidden; }
}

/* Hide the cursor-dot on touch devices */
@media (pointer: coarse) {
  .cursor-dot { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 32px;
  border: 1px solid var(--gold);
  border-radius: 100px;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 18px;
  color: var(--gold-bright);
  transition: all .4s ease;
  background: rgba(212, 175, 111, 0.06);
  backdrop-filter: blur(8px);
  cursor: pointer;
}
.btn:hover {
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  color: #1a0a2a;
  border-color: var(--gold-bright);
  box-shadow: 0 12px 40px rgba(212, 175, 111, 0.3);
}
.btn .arrow { transition: transform .3s ease; }
.btn:hover .arrow { transform: translateX(4px); }
.btn-solid {
  background: linear-gradient(180deg, var(--gold-bright), var(--gold-deep));
  color: #1a0a2a;
  border-color: var(--gold);
  box-shadow: 0 8px 28px rgba(212, 175, 111, 0.25);
}
.btn-solid:hover {
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  transform: translateY(-2px);
}
.btn-sm { font-size: 14px; padding: 10px 22px; }

/* ---------- Reveal utility ---------- */
.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 1.1s cubic-bezier(0.22, 1, 0.36, 1),
              transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .15s; }
.delay-2 { transition-delay: .3s; }
.delay-3 { transition-delay: .45s; }

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  padding: 22px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(12, 16, 36, 0.6);
  white-space: nowrap;
  position: relative;
  z-index: 5;
}
.marquee-track {
  display: inline-flex; align-items: center; gap: 36px;
  animation: marquee 30s linear infinite;
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink);
}
.marquee-track .star { width: 14px; height: 14px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Page headers ---------- */
.page-header {
  padding: 140px 60px 70px;
  text-align: center;
  position: relative;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(61, 79, 138, 0.5), transparent 60%),
    linear-gradient(180deg, var(--bg-2), var(--bg));
}
.page-header .eyebrow {
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.page-header h1 {
  font-size: clamp(40px, 6vw, 90px);
  line-height: 0.95;
  font-style: italic;
  margin-bottom: 24px;
}
.page-header h1 em {
  background: linear-gradient(180deg, var(--gold-bright), var(--gold-deep));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.page-header .sub {
  color: var(--muted);
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto;
}

/* ---------- Footer (shared) ---------- */
footer {
  background: linear-gradient(180deg, var(--bg-2), #060309);
  padding: 80px 60px 0;
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  max-width: 1400px;
  margin: 0 auto;
  padding-bottom: 80px;
  border-bottom: 1px solid var(--border-soft);
}
.footer-grid h4 {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  font-family: 'Inter', sans-serif;
}
.footer-grid p, .footer-grid a {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}
.footer-grid a:hover { color: var(--gold-bright); }
.footer-brand .brand { font-size: 32px; margin-bottom: 20px; }
.footer-brand p { max-width: 320px; color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.socials { display: flex; gap: 14px; }
.socials a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 111, 0.3);
  display: flex; align-items: center; justify-content: center;
  transition: all .3s;
  color: var(--gold);
}
.socials a:hover { background: var(--gold); color: var(--plum); border-color: var(--gold-bright); }
.socials svg { width: 16px; height: 16px; }
.copy {
  max-width: 1400px;
  margin: 32px auto 0;
  padding: 0 0 24px;
  display: flex; justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.05em;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-mark {
  text-align: center;
  padding: 40px 0 0;
  overflow: hidden;
}
.footer-mark .big {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(80px, 22vw, 360px);
  line-height: 0.9;
  background: linear-gradient(180deg, var(--gold-bright) 0%, var(--gold) 40%, var(--gold-deep) 70%, transparent 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
  will-change: transform;
}

/* ---------- Legal / prose pages ---------- */
.legal-prose {
  max-width: 760px;
  margin: 0 auto;
  padding: 80px 60px 120px;
  font-size: 16px;
  line-height: 1.85;
  color: rgba(239, 230, 245, 0.85);
}
.legal-prose .updated {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-soft);
}
.legal-prose h2 {
  font-size: 32px;
  font-style: italic;
  color: var(--gold-bright);
  margin: 50px 0 18px;
}
.legal-prose h3 {
  font-size: 20px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  color: var(--ink);
  margin: 28px 0 12px;
}
.legal-prose p { margin-bottom: 18px; }
.legal-prose ul, .legal-prose ol { margin: 0 0 18px 22px; }
.legal-prose li { margin-bottom: 8px; }
.legal-prose a { color: var(--gold-bright); border-bottom: 1px solid var(--gold-deep); }
.legal-prose a:hover { color: var(--gold); }
.legal-prose .contact-block {
  margin-top: 50px;
  padding: 24px;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  background: rgba(12, 16, 36, 0.5);
}
@media (max-width: 900px) {
  .legal-prose { padding: 60px 20px 80px; font-size: 15px; }
  .legal-prose h2 { font-size: 26px; }
}

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed; bottom: 24px; left: 24px; right: 24px;
  max-width: 720px; margin: 0 auto;
  background: rgba(12, 16, 36, 0.92);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px 24px;
  z-index: 200;
  display: none;
  align-items: center; gap: 20px;
  font-size: 13px;
  color: var(--ink);
}
.cookie-banner.show { display: flex; }
.cookie-banner p { flex: 1; color: var(--muted); }
.cookie-banner a { color: var(--gold-bright); text-decoration: underline; }
.cookie-banner button {
  background: linear-gradient(180deg, var(--gold-bright), var(--gold-deep));
  color: #1a0a2a;
  border: none;
  padding: 10px 22px;
  border-radius: 100px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  nav.topnav { padding: 16px 20px; }
  .navlinks { display: none; }
  .page-header { padding: 140px 20px 60px; }
  footer { padding: 60px 20px 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; padding-bottom: 50px; }
  .copy { flex-direction: column; }
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; flex-direction: column; align-items: stretch; text-align: center; }
}


/* ============================================================
   Editorial luxury refinement — toned-down per client direction
   - Sparkles & cursor trail removed (felt fantasy-magical)
   - Tighter section spacing, more editorial
   ============================================================ */
.sparkles, #sparkles { display: none !important; }
.cursor-dot { display: none !important; }
