/* ========================================================
   MAISON LUNE -- Design Tokens & Custom Styles
   ======================================================== */

:root {
  /* -- Brand Colours -- */
  --color-bg:       #0e0c0a;
  --color-surface:  #141210;
  --color-cream:    #f0ead8;
  --color-gold:     #c9a96e;
  --color-gold-dim: #8a6e42;

  /* -- Typography -- */
  --font-heading: 'Cormorant Garamond', 'Georgia', serif;
  --font-body:    'Inter', 'Segoe UI', system-ui, sans-serif;

  /* -- Layout -- */
  --max-width: 1280px;

  /* ── Standard Tokens (auto-injected) ── */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --radius-default: 4px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* -- Base -- */
html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-bg);
  color: var(--color-cream);
  font-family: var(--font-body);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

.font-heading {
  font-family: var(--font-heading);
}

/* -- Colour Utilities -- */
.text-cream    { color: var(--color-cream); }
.text-cream-70 { color: rgba(240, 234, 216, 0.70); }
.text-cream-60 { color: rgba(240, 234, 216, 0.60); }
.text-cream-50 { color: rgba(240, 234, 216, 0.50); }
.text-cream-40 { color: rgba(240, 234, 216, 0.40); }
.text-cream-30 { color: rgba(240, 234, 216, 0.30); }
.text-gold     { color: var(--color-gold); }

.bg-surface    { background-color: var(--color-surface); }
.border-cream-10 { border-color: rgba(240, 234, 216, 0.10); }
.border-cream-20 { border-color: rgba(240, 234, 216, 0.20); }
.bg-cream-10   { background-color: rgba(240, 234, 216, 0.08); }

/* -- Spacing Utilities -- */
.section-py-xl { padding-top: clamp(5rem, 10vw, 9rem); padding-bottom: clamp(5rem, 10vw, 9rem); }

/* -- Navigation -- */
.site-header {
  transition: background-color 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background-color: rgba(14, 12, 10, 0.96);
  border-bottom-color: rgba(240, 234, 216, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-link {
  color: rgba(240, 234, 216, 0.65);
  text-decoration: none;
  letter-spacing: 0.18em;
  font-size: 0.7rem;
  transition: color 0.3s ease;
  position: relative;
  padding-bottom: 4px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-gold);
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover,
.nav-link--active {
  color: var(--color-cream);
}

.nav-link:hover::after,
.nav-link--active::after {
  width: 100%;
}

.nav-link-mobile {
  color: rgba(240, 234, 216, 0.65);
  text-decoration: none;
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 300;
  transition: color 0.3s ease;
}

.nav-link-mobile:hover,
.nav-link-mobile.nav-link--active {
  color: var(--color-gold);
}

.mobile-menu {
  background-color: rgba(14, 12, 10, 0.98);
  border-top: 1px solid rgba(240, 234, 216, 0.08);
}

/* -- Buttons -- */
.btn-primary {
  display: inline-block;
  background-color: var(--color-gold);
  color: #0e0c0a;
  padding: 0.85rem 2rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 1px;
  transition: background-color 0.3s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.btn-primary:hover {
  background-color: #d4b880;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(201, 169, 110, 0.25);
}

.btn-ghost {
  display: inline-block;
  background-color: transparent;
  color: var(--color-cream);
  padding: 0.85rem 2rem;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid rgba(240, 234, 216, 0.3);
  border-radius: 1px;
  transition: border-color 0.3s ease, color 0.3s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-ghost:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
  transform: translateY(-2px);
}

/* -- Divider -- */
.divider-gold {
  width: 2.5rem;
  height: 1px;
  background-color: var(--color-gold);
}

/* -- Scent Cards -- */
.scent-card {
  background-color: var(--color-surface);
  transition: background-color 0.4s ease;
  cursor: default;
}

.scent-card:hover {
  background-color: rgba(24, 22, 18, 0.9);
}

/* -- Value / Process Cards -- */
.value-card,
.process-card {
  background-color: var(--color-surface);
}

.value-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 300;
  font-style: italic;
  color: rgba(201, 169, 110, 0.25);
  line-height: 1;
  margin-bottom: 1.5rem;
}

/* -- Boutique Cards -- */
.boutique-card {
  border-top: 1px solid rgba(240, 234, 216, 0.12);
  padding-top: 2rem;
}

.boutique-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 300;
  font-style: italic;
  color: rgba(201, 169, 110, 0.2);
  line-height: 1;
  margin-bottom: 1.25rem;
}

/* -- Contact Cards -- */
.contact-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.75rem 1.75rem;
  background-color: var(--color-surface);
  border: 1px solid rgba(240, 234, 216, 0.08);
  border-radius: 1px;
  text-decoration: none;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

a.contact-card:hover {
  border-color: rgba(201, 169, 110, 0.35);
  background-color: rgba(24, 20, 14, 0.9);
}

.contact-card-icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(201, 169, 110, 0.25);
  border-radius: 1px;
  color: var(--color-gold);
}

.contact-card-arrow {
  color: rgba(240, 234, 216, 0.2);
  transition: color 0.3s ease, transform 0.3s ease;
}

a.contact-card:hover .contact-card-arrow {
  color: var(--color-gold);
  transform: translateX(4px);
}

/* -- Source Items -- */
.source-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.source-dot {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-gold);
  margin-top: 0.35rem;
}

/* -- Accent Blocks (decorative corner accents) -- */
.accent-block-tl,
.accent-block-br {
  position: absolute;
  width: 40px;
  height: 40px;
  pointer-events: none;
}

.accent-block-tl {
  top: -10px;
  left: -10px;
  border-top: 1px solid var(--color-gold);
  border-left: 1px solid var(--color-gold);
}

.accent-block-br {
  bottom: -10px;
  right: -10px;
  border-bottom: 1px solid var(--color-gold);
  border-right: 1px solid var(--color-gold);
}

/* -- CTA Block -- */
.cta-block {
  border: 1px solid rgba(240, 234, 216, 0.1);
  background-color: var(--color-surface);
  border-radius: 1px;
  position: relative;
  overflow: hidden;
}

.cta-corner-tl,
.cta-corner-br {
  position: absolute;
  width: 50px;
  height: 50px;
  pointer-events: none;
}

.cta-corner-tl {
  top: 0;
  left: 0;
  border-top: 1px solid var(--color-gold);
  border-left: 1px solid var(--color-gold);
}

.cta-corner-br {
  bottom: 0;
  right: 0;
  border-bottom: 1px solid var(--color-gold);
  border-right: 1px solid var(--color-gold);
}

/* -- Gallery images -- */
.gallery-img {
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-img:hover {
  transform: scale(1.04);
}

/* -- Hero Scroll Line -- */
.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, rgba(201, 169, 110, 0.6));
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(0.8); }
  50%       { opacity: 1;   transform: scaleY(1); }
}

/* -- Marquee -- */
.marquee-track {
  white-space: nowrap;
  animation: marquee 30s linear infinite;
}

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* -- Footer -- */
.site-footer {
  background-color: var(--color-surface);
}

.footer-link {
  color: rgba(240, 234, 216, 0.50);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 300;
  letter-spacing: 0.03em;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--color-gold);
}

/* -- Scroll Reveal -- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal-stagger] > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal-stagger].is-visible > *:nth-child(1) { transition-delay: 0ms; }
[data-reveal-stagger].is-visible > *:nth-child(2) { transition-delay: 120ms; }
[data-reveal-stagger].is-visible > *:nth-child(3) { transition-delay: 240ms; }
[data-reveal-stagger].is-visible > *:nth-child(4) { transition-delay: 360ms; }
[data-reveal-stagger].is-visible > *:nth-child(5) { transition-delay: 480ms; }
[data-reveal-stagger].is-visible > *:nth-child(6) { transition-delay: 600ms; }
[data-reveal-stagger].is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* -- Reduced Motion -- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}body { margin: 0; }
