/* ============================================================
   Arden Perfumery — design tokens
   Luxury-editorial fragrance counter: palette pulled directly from
   the hero footage itself (bordeaux backdrop, gold bottle, ivory
   surface) so the site and the product footage read as one system.
   Generous whitespace, thin high-contrast serif, one gold accent.
   ============================================================ */
:root{
  --bg-light: #F7F1E8;
  --bg-dark: #4A1424;
  --bg-dark-deep: #300B16;
  --text-on-light: #241512;
  --text-on-dark: #F7F1E8;
  --gold: #C9A24B;
  --gold-deep: #A9843A;
  --wine: #7A2B3E;
  --line: rgba(36,21,18,0.14);
  --line-on-dark: rgba(247,241,232,0.22);

  --font-display: 'Bodoni Moda', Georgia, serif;
  --font-body: 'Jost', -apple-system, sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after{ box-sizing: border-box; }
html, body{ margin:0; overflow-x: hidden; }
body{
  background: var(--bg-light); color: var(--text-on-light);
  font-family: var(--font-body); font-weight:300; line-height:1.65; -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration: none; }
.wrap{ max-width: 1280px; margin:0 auto; padding: 0 32px; }

h1,h2{ font-family: var(--font-display); font-weight:400; font-style:italic; letter-spacing:0; margin:0; }
h3{ font-family: var(--font-display); font-weight:500; font-style:normal; margin:0; }

.section-label{
  font-family: var(--font-body); font-weight:500; font-size:0.76rem; letter-spacing:0.24em; text-transform:uppercase; color: var(--gold-deep);
  display:inline-block; margin-bottom: 18px;
}

/* Ornamental divider — thin rule with a centered diamond, a quiet
   luxury-packaging flourish reused as the site's one recurring motif */
.ornament{ display:flex; align-items:center; gap:14px; width:100%; max-width:220px; }
.ornament::before, .ornament::after{ content:''; flex:1; height:1px; background: currentColor; opacity:0.4; }
.ornament .diamond{ width:6px; height:6px; border:1px solid currentColor; transform: rotate(45deg); opacity:0.7; flex-shrink:0; }

a:focus-visible, button:focus-visible{ outline:2px solid var(--gold); outline-offset:3px; }
.skip-link{ position:absolute; left:-999px; top:0; background:var(--gold); color:var(--bg-dark-deep); padding:10px 16px; z-index:1000; font-weight:600; }
.skip-link:focus{ left:16px; top:16px; }

/* ---------- Buttons ---------- */
.btn{ display:inline-flex; align-items:center; gap:10px; font-family: var(--font-body); font-weight:500; font-size:0.86rem; letter-spacing:0.1em; text-transform:uppercase; padding:15px 30px; border:1px solid currentColor; cursor:pointer; transition: background-color 180ms var(--ease-out), color 180ms var(--ease-out); }
.btn-solid{ background: var(--gold); color: var(--bg-dark-deep); border-color: var(--gold); }
.btn-solid:hover{ background: var(--gold-deep); border-color: var(--gold-deep); }
.btn-line{ color: inherit; }
.btn-line:hover{ background: currentColor; color: var(--bg-light); }

/* ---------- Loader ---------- */
#loader{ position:fixed; inset:0; z-index:2000; background: var(--bg-dark-deep); color: var(--bg-light); display:flex; flex-direction:column; align-items:center; justify-content:center; gap:20px; transition: opacity 0.6s var(--ease-out), visibility 0.6s var(--ease-out); }
#loader.is-hidden{ opacity:0; visibility:hidden; pointer-events:none; }
.loader-brand{ font-family: var(--font-display); font-style:italic; font-size:2.2rem; letter-spacing:0.02em; }
#loader-bar{ width:220px; height:1px; background: var(--line-on-dark); }
#loader-bar-fill{ width:0%; height:100%; background: var(--gold); transition: width 0.2s linear; }
#loader-percent{ font-family: var(--font-body); font-size:0.76rem; letter-spacing:0.1em; color: var(--gold); }

/* ---------- Fixed header ---------- */
.site-header{ position:fixed; top:0; left:0; right:0; z-index:500; padding:26px 0; mix-blend-mode:difference; }
.site-header nav{ display:flex; align-items:center; justify-content:space-between; }
.logo{ font-family: var(--font-display); font-style:italic; font-size:1.5rem; color: var(--bg-light); letter-spacing:0.01em; }
.nav-links{ display:flex; gap:36px; }
.nav-links a{ font-family: var(--font-body); font-size:0.78rem; letter-spacing:0.14em; text-transform:uppercase; color: var(--bg-light); }
.nav-links a:hover{ color: var(--gold); }
.site-header .btn-line{ color: var(--bg-light); border-color: var(--bg-light); padding:11px 20px; font-size:0.74rem; }
.site-header .btn-line:hover{ background: var(--bg-light); color: var(--bg-dark-deep); }
.nav-toggle{ display:none; flex-direction:column; gap:5px; background:none; border:none; cursor:pointer; padding:6px; margin-left:8px; }
.nav-toggle span{ width:22px; height:1px; background: var(--bg-light); display:block; }

/* Mobile nav panel — body-level sibling, not nested in .site-header
   (whose fixed+z-index+mix-blend-mode forms its own stacking context
   that a nested panel can't reliably paint above). */
.mobile-nav-panel{ display:none; position:fixed; inset:0; z-index:800; background: var(--bg-dark-deep); padding:100px 32px 32px; flex-direction:column; }
.mobile-nav-panel.is-open{ display:flex; }
.mobile-nav-panel a{ color: var(--bg-light); font-family: var(--font-body); font-size:1rem; letter-spacing:0.1em; text-transform:uppercase; padding:18px 0; border-bottom:1px solid var(--line-on-dark); }
.mobile-nav-panel a:hover{ color: var(--gold); }

/* ---------- Hero (standalone, 100vh) ---------- */
.hero-standalone{ position:relative; z-index:10; height:100vh; background: var(--bg-dark-deep); color: var(--bg-light); display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; padding:0 6vw; }
.hero-heading{ font-size: clamp(2.6rem, 7vw, 5.6rem); line-height:1.08; font-weight:400; }
.hero-heading .word{ display:inline-block; overflow:hidden; }
.hero-tagline{ margin:26px 0 0; max-width:44ch; font-weight:300; font-size:1.08rem; color: rgba(247,241,232,0.75); }
.scroll-indicator{ position:absolute; bottom:40px; display:flex; flex-direction:column; align-items:center; gap:10px; font-size:0.7rem; letter-spacing:0.14em; text-transform:uppercase; color: rgba(247,241,232,0.55); }
.scroll-indicator svg{ width:14px; height:14px; animation: bob 1.8s ease-in-out infinite; }
@keyframes bob{ 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(5px); } }

/* ---------- Canvas ---------- */
.canvas-wrap{ position:fixed; inset:0; z-index:1; clip-path: circle(0% at 50% 50%); }
#canvas{ width:100%; height:100%; display:block; }

/* ---------- Text scrim (light touch — the footage's own bordeaux
   backdrop already coordinates with the palette, so this only needs
   to deepen the edges slightly for legibility, not fight the image) ---------- */
#text-scrim{ position:fixed; inset:0; z-index:2; pointer-events:none; background: linear-gradient(90deg, rgba(48,11,22,0.5) 0%, rgba(48,11,22,0) 26%, rgba(48,11,22,0) 74%, rgba(48,11,22,0.5) 100%); }

/* ---------- Dark overlay (stats) ---------- */
#dark-overlay{ position:fixed; inset:0; z-index:5; background: var(--bg-dark-deep); opacity:0; pointer-events:none; }

/* ---------- Marquee ---------- */
.marquee-wrap{ position:fixed; top:50%; left:0; width:100%; z-index:4; overflow:hidden; pointer-events:none; opacity:0; transform: translateY(-50%); }
.marquee-text{ display:inline-block; white-space:nowrap; font-family: var(--font-display); font-style:italic; font-weight:400; font-size:11vw; color: var(--bg-light); mix-blend-mode:difference; }

/* ---------- Scroll container + sections ---------- */
#scroll-container{ position:relative; height:800vh; z-index:10; }
.scroll-section{ position:absolute; top:0; left:0; width:100%; opacity:0; pointer-events:none; }
.scroll-section.is-active{ opacity:1; pointer-events:auto; }
.section-content, .section-cta{ display:flex; align-items:center; min-height:100vh; }
.align-left{ padding-left:6vw; padding-right:55vw; }
.align-right{ padding-left:55vw; padding-right:6vw; justify-content:flex-end; }
.align-left .section-inner, .align-right .section-inner{ max-width:38vw; }
.section-heading{ font-size: clamp(2.2rem, 4.2vw, 3.6rem); line-height:1.08; margin-bottom:22px; color: var(--bg-light); text-shadow: 0 2px 20px rgba(48,11,22,0.7), 0 1px 3px rgba(48,11,22,0.9); }
.section-body{ font-size:1.06rem; font-weight:300; color: rgba(247,241,232,0.88); max-width:36ch; text-shadow: 0 2px 16px rgba(48,11,22,0.7), 0 1px 3px rgba(48,11,22,0.9); }
.section-cta .hero-actions{ display:flex; gap:16px; margin-top:30px; flex-wrap:wrap; }

/* Stats — dark overlay, centered */
.section-stats{ display:flex; align-items:center; justify-content:center; min-height:100vh; color: var(--bg-light); }
.stats-grid{ display:grid; grid-template-columns: repeat(4,1fr); gap:40px; max-width:1200px; padding:0 6vw; }
.stat{ display:flex; flex-direction:column; align-items:center; text-align:center; gap:6px; }
.stat-number{ font-family: var(--font-display); font-style:italic; font-size: clamp(2.4rem,4.6vw,4rem); color: var(--gold); line-height:1; }
.stat-suffix{ font-size:0.8rem; color: var(--gold); letter-spacing:0.06em; text-transform:uppercase; }
.stat-label{ font-size:0.78rem; letter-spacing:0.03em; color: rgba(247,241,232,0.72); margin-top:8px; max-width:20ch; }

/* ---------- Footer ---------- */
.site-footer{ position:relative; z-index:20; background: var(--bg-dark-deep); color: var(--bg-light); }
.footer-inner{ display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:20px; padding:44px 0; }
.footer-nav{ display:flex; align-items:center; gap:26px; flex-wrap:wrap; }
.footer-nav a, .footer-nav button{ font-size:0.76rem; letter-spacing:0.1em; text-transform:uppercase; color: rgba(247,241,232,0.8); }
.footer-nav a:hover, .footer-nav button:hover{ color: var(--gold); }
.cookie-settings-link{ background:none; border:none; cursor:pointer; padding:0; font-family:inherit; }
.footer-legal{ border-top:1px solid var(--line-on-dark); padding:16px 0; font-size:0.78rem; color: rgba(247,241,232,0.5); }

/* ---------- Cookie consent banner ---------- */
.cookie-banner{ position:fixed; left:0; right:0; bottom:0; z-index:900; background: var(--bg-dark-deep); border-top:1px solid var(--gold); }
.cookie-banner-inner{ display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:16px; padding:18px 24px; max-width:1280px; margin:0 auto; }
.cookie-banner-inner p{ margin:0; color: var(--bg-light); max-width:62ch; font-size:0.9rem; font-weight:300; }
.cookie-banner-inner a{ color: var(--bg-light); text-decoration:underline; text-underline-offset:2px; }
.cookie-banner-actions{ display:flex; gap:10px; flex-shrink:0; }
.cookie-banner-actions .btn{ padding:10px 18px; font-size:0.76rem; }
.cookie-banner-actions .btn-primary{ background: var(--gold); color: var(--bg-dark-deep); border-color: var(--gold); }
.cookie-banner-actions .btn-secondary{ color: var(--bg-light); border-color: var(--bg-light); background:transparent; }
.cookie-banner-actions .btn-secondary:hover{ background: var(--bg-light); color: var(--bg-dark-deep); }
@media (max-width:640px){ .cookie-banner-inner{ flex-direction:column; align-items:stretch; text-align:center; } .cookie-banner-actions{ justify-content:center; } }

/* ---------- Static pages (shop.html, contact.html, privacy.html) ---------- */
.page-hero{ padding: clamp(140px,18vw,200px) 0 60px; background: var(--bg-dark-deep); color: var(--bg-light); text-align:center; display:flex; flex-direction:column; align-items:center; }
.page-hero h1{ font-size: clamp(2.6rem,5.4vw,4.2rem); color: var(--bg-light); }
.page-hero p{ font-family: var(--font-body); font-weight:300; max-width:52ch; font-size:1.05rem; color: rgba(247,241,232,0.75); margin-top:20px; }
.static-section{ padding:80px 0; }

.scent-grid{ display:grid; grid-template-columns: repeat(2,1fr); gap:1px; background: var(--line); border:1px solid var(--line); max-width:920px; margin:0 auto; }
.scent-card{ background: var(--bg-light); padding:36px 32px; display:flex; flex-direction:column; gap:12px; }
.scent-card .scent-no{ font-family: var(--font-display); font-style:italic; font-size:0.9rem; color: var(--gold-deep); }
.scent-card h3{ font-size:1.5rem; }
.scent-card .notes{ font-size:0.86rem; color: var(--text-on-light); opacity:0.7; line-height:1.8; }
.scent-card .notes strong{ font-weight:500; opacity:1; }
.scent-card .price{ font-family: var(--font-body); font-size:0.92rem; letter-spacing:0.04em; margin-top:auto; padding-top:10px; }

.contact-grid{ display:grid; grid-template-columns: 1fr 1fr; gap:56px; max-width:1000px; margin:0 auto; }
.contact-form{ display:flex; flex-direction:column; gap:18px; }
.form-row{ display:flex; flex-direction:column; gap:6px; }
.form-row label{ font-size:0.72rem; letter-spacing:0.1em; text-transform:uppercase; color: var(--wine); }
.form-row input, .form-row textarea{ font-family: var(--font-body); font-weight:300; font-size:1rem; padding:12px 14px; border:1px solid var(--line); background: #fff; color: var(--text-on-light); }
.form-row textarea{ resize:vertical; min-height:110px; }
.hours-list{ font-size:0.9rem; }
.hours-list div{ display:flex; justify-content:space-between; padding:9px 0; border-bottom:1px solid var(--line); }
.contact-map{ margin-top:24px; border:1px solid var(--line); aspect-ratio:4/3; }
.contact-map iframe{ width:100%; height:100%; border:0; display:block; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce){ .scroll-indicator svg{ animation:none; } #loader{ transition:none; } }

/* ---------- Mobile ---------- */
@media (max-width: 768px){
  .nav-links{ display:none; }
  .nav-toggle{ display:flex; }
  .hero-heading{ font-size: clamp(2.2rem, 10vw, 3.4rem); }
  #scroll-container{ height: 560vh; }
  .align-left, .align-right{ padding-left:8vw; padding-right:8vw; justify-content:center; text-align:center; }
  .align-left .section-inner, .align-right .section-inner{ max-width:none; }
  #text-scrim{ background: linear-gradient(0deg, rgba(48,11,22,0.35), rgba(48,11,22,0.35)); }
  .stats-grid{ grid-template-columns: repeat(2,1fr); gap:32px 24px; }
  .marquee-text{ font-size:16vw; }
  .contact-grid, .scent-grid{ grid-template-columns: 1fr; }
  .footer-inner{ flex-direction:column; align-items:flex-start; }
}
