/* ═══════════════════════════════════════════════════════════════
   ELVARIS — Elevated Water | Premium Landing Page Stylesheet
   Design: Modern Luxury · Minimalist · Glassmorphism
   Palette: Warm Crème · Deep Blacks · Warm Golds
   ═══════════════════════════════════════════════════════════════ */

/* ── Google Fonts ───────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600&display=swap');

/* ── CSS Custom Properties ──────────────────────────────────── */
:root {
  /* Core palette — warm crème foundation */
  --white: #FFFDF8;
  --off-white: #F5F0E8;
  --cream: #EDE7DA;
  --creme: #F2ECE0;
  --light-gray: #E3DDD2;
  --mid-gray: #9A9590;
  --dark-gray: #3A3632;
  --rich-black: #0D0C0B;
  --deep-black: #080706;

  /* Gold spectrum */
  --gold: #C6A96C;
  --gold-light: #D4BC82;
  --gold-bright: #E0CFA0;
  --gold-dark: #A88B4A;
  --gold-muted: #B89D60;

  /* Glass & transparency */
  --glass-white: rgba(255, 255, 255, 0.08);
  --glass-white-light: rgba(255, 255, 255, 0.12);
  --glass-white-medium: rgba(255, 255, 255, 0.20);
  --glass-white-strong: rgba(255, 255, 255, 0.45);
  --glass-dark: rgba(13, 12, 11, 0.60);
  --glass-gold: rgba(198, 169, 108, 0.10);
  --glass-border: rgba(255, 255, 255, 0.15);
  --glass-border-gold: rgba(198, 169, 108, 0.25);

  /* Shadows */
  --shadow-subtle: 0 2px 20px rgba(0, 0, 0, 0.06);
  --shadow-medium: 0 8px 40px rgba(0, 0, 0, 0.10);
  --shadow-heavy: 0 16px 64px rgba(0, 0, 0, 0.15);
  --shadow-glow: 0 0 60px rgba(198, 169, 108, 0.12);

  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --kerning-wide: 0.30em;
  --kerning-medium: 0.18em;
  --kerning-normal: 0.06em;
  --kerning-tight: 0.02em;

  /* Spacing scale */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --space-2xl: 10rem;

  /* Layout */
  --max-width: 1320px;
  --nav-height: 72px;

  /* Transitions */
  --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-luxury: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-fast: 0.3s;
  --duration-medium: 0.6s;
  --duration-slow: 1s;
  --duration-glacial: 1.8s;
}

/* ── Reset & Base ───────────────────────────────────────────── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  font-family: var(--font-primary);
  font-weight: 300;
  color: var(--dark-gray);
  background: var(--off-white);
  line-height: 1.7;
  letter-spacing: var(--kerning-normal);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--duration-fast) var(--ease-smooth);
}

button {
  border: none;
  cursor: pointer;
  font-family: var(--font-primary);
  background: none;
}

/* ── Utility Classes ────────────────────────────────────────── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
}

.section-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: var(--kerning-wide);
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-sm);
  display: inline-block;
  position: relative;
}

.section-label::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 32px;
  height: 1px;
  background: var(--gold);
}

.gold-divider {
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: var(--space-md) 0;
}

/* ── Scroll Reveal Animation ────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity var(--duration-slow) var(--ease-luxury),
    transform var(--duration-slow) var(--ease-luxury);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.15s;
}

.reveal-delay-2 {
  transition-delay: 0.30s;
}

.reveal-delay-3 {
  transition-delay: 0.45s;
}

.reveal-delay-4 {
  transition-delay: 0.60s;
}

/* ══════════════════════════════════════════════════════════════
   1. NAVIGATION — Glass Nav Bar
   ══════════════════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
  background: rgba(245, 240, 232, 0.65);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--glass-border);
  transition: all var(--duration-medium) var(--ease-smooth);
}

.nav.scrolled {
  background: rgba(245, 240, 232, 0.88);
  box-shadow: var(--shadow-subtle);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav__logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  object-fit: cover;
}

.nav__logo-text {
  font-size: 1.1rem;
  font-weight: 300;
  letter-spacing: var(--kerning-wide);
  text-transform: uppercase;
  color: var(--rich-black);
}

.nav__logo-text span {
  color: var(--gold);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3rem);
  list-style: none;
}

.nav__link {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: var(--kerning-medium);
  text-transform: uppercase;
  color: var(--dark-gray);
  position: relative;
  padding: 4px 0;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--duration-fast) var(--ease-smooth);
}

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

.nav__link:hover::after {
  width: 100%;
}

/* Mobile toggle */
.nav__mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

.nav__mobile-toggle span {
  width: 22px;
  height: 1.5px;
  background: var(--rich-black);
  transition: all var(--duration-fast) var(--ease-smooth);
}

/* ══════════════════════════════════════════════════════════════
   2. HERO SECTION
   ══════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--off-white);
  padding-top: var(--nav-height);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg-image {
  position: absolute;
  inset: 0;
  background: url('assets/images/hero-background.png') center center / cover no-repeat;
  opacity: 0.18;
  filter: blur(1px);
}

.hero__bg-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, transparent 40%, var(--off-white) 100%),
    linear-gradient(180deg, rgba(245, 240, 232, 0.3) 0%, var(--off-white) 100%);
}

/* Ambient gold glow */
.hero__glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(198, 169, 108, 0.08) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  animation: glowPulse 8s ease-in-out infinite;
}

@keyframes glowPulse {

  0%,
  100% {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.15);
  }
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(3rem, 8vw, 8rem);
  max-width: var(--max-width);
  width: 100%;
  padding: var(--space-lg) clamp(1.5rem, 4vw, 3rem);
}

.hero__text {
  flex: 1;
  max-width: 520px;
}

.hero__eyebrow {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: var(--kerning-wide);
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero__eyebrow::before {
  content: '';
  display: inline-block;
  width: 40px;
  height: 1px;
  background: var(--gold);
}

.hero__title {
  font-size: clamp(2.8rem, 5.5vw, 4.8rem);
  font-weight: 200;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--rich-black);
  margin-bottom: var(--space-md);
}

.hero__title em {
  font-style: normal;
  color: var(--gold);
  font-weight: 300;
}

.hero__subtitle {
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--mid-gray);
  margin-bottom: var(--space-lg);
  max-width: 420px;
}

.hero__cta-group {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: var(--kerning-medium);
  text-transform: uppercase;
  border-radius: 0;
  transition: all var(--duration-fast) var(--ease-smooth);
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--rich-black);
  color: var(--gold-light);
  border: 1px solid var(--rich-black);
}

.btn--primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  opacity: 0;
  transition: opacity var(--duration-fast) var(--ease-smooth);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(13, 12, 11, 0.25);
}

.btn--primary:hover::before {
  opacity: 1;
}

.btn--primary:hover {
  color: var(--rich-black);
}

.btn--primary span {
  position: relative;
  z-index: 1;
}

.btn--ghost {
  color: var(--dark-gray);
  padding: 16px 8px;
  border-bottom: 1px solid var(--glass-border-gold);
}

.btn--ghost:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.btn__arrow {
  transition: transform var(--duration-fast) var(--ease-smooth);
}

.btn:hover .btn__arrow {
  transform: translateX(4px);
}

/* Hero Bottle */
.hero__bottle-wrap {
  flex: 0 0 auto;
  position: relative;
  width: clamp(260px, 28vw, 400px);
}

.hero__bottle-float {
  animation: bottleFloat 6s ease-in-out infinite;
  will-change: transform;
}

@keyframes bottleFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-16px);
  }
}

.hero__bottle-img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.12));
  transition: filter var(--duration-medium) var(--ease-smooth);
}

.hero__bottle-wrap:hover .hero__bottle-img {
  filter: drop-shadow(0 40px 80px rgba(0, 0, 0, 0.18));
}

/* Decorative ring */
.hero__bottle-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120%;
  height: 120%;
  transform: translate(-50%, -50%);
  border: 1px solid var(--glass-border-gold);
  border-radius: 50%;
  opacity: 0.3;
  animation: ringPulse 6s ease-in-out infinite;
}

@keyframes ringPulse {

  0%,
  100% {
    opacity: 0.2;
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    opacity: 0.4;
    transform: translate(-50%, -50%) scale(1.05);
  }
}

/* Scroll indicator */
.hero__scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 10;
  opacity: 0.5;
  animation: fadeInUp 1s var(--ease-luxury) 1.5s both;
}

.hero__scroll-indicator span {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: var(--kerning-wide);
  text-transform: uppercase;
  color: var(--mid-gray);
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: var(--light-gray);
  position: relative;
  overflow: hidden;
}

.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gold);
  animation: scrollLine 2s var(--ease-smooth) infinite;
}

@keyframes scrollLine {
  0% {
    top: -100%;
  }

  100% {
    top: 100%;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate(-50%, 20px);
  }

  to {
    opacity: 0.5;
    transform: translate(-50%, 0);
  }
}

/* ══════════════════════════════════════════════════════════════
   3. LIFESTYLE SECTION
   ══════════════════════════════════════════════════════════════ */
.lifestyle {
  position: relative;
  padding: var(--space-2xl) 0;
  background: linear-gradient(180deg, var(--off-white) 0%, var(--cream) 50%, var(--off-white) 100%);
  overflow: hidden;
}

/* Background ambient shapes */
.lifestyle__bg-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.5;
  pointer-events: none;
}

.lifestyle__bg-shape--1 {
  width: 500px;
  height: 500px;
  background: rgba(198, 169, 108, 0.06);
  top: 10%;
  right: -10%;
}

.lifestyle__bg-shape--2 {
  width: 400px;
  height: 400px;
  background: rgba(13, 12, 11, 0.03);
  bottom: 10%;
  left: -5%;
}

.lifestyle__header {
  text-align: center;
  margin-bottom: var(--space-xl);
  position: relative;
  z-index: 2;
}

.lifestyle__title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 200;
  letter-spacing: -0.01em;
  color: var(--rich-black);
  margin-bottom: var(--space-sm);
}

.lifestyle__title em {
  font-style: normal;
  color: var(--gold);
}

.lifestyle__subtitle {
  font-size: 1rem;
  font-weight: 300;
  color: var(--mid-gray);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.8;
}

/* Glass Cards Grid */
.lifestyle__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  position: relative;
  z-index: 2;
}

.lifestyle__card {
  background: rgba(245, 240, 232, 0.55);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  overflow: hidden;
  transition: all var(--duration-medium) var(--ease-smooth);
  position: relative;
}

.lifestyle__card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(198, 169, 108, 0.2), transparent 50%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--duration-medium) var(--ease-smooth);
}

.lifestyle__card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-heavy), var(--shadow-glow);
}

.lifestyle__card:hover::before {
  opacity: 1;
}

/* Make middle card taller for asymmetry */
.lifestyle__card:nth-child(2) {
  transform: translateY(-20px);
}

.lifestyle__card:nth-child(2):hover {
  transform: translateY(-28px);
}

.lifestyle__card-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-smooth);
}

.lifestyle__card:hover .lifestyle__card-image {
  transform: scale(1.04);
}

.lifestyle__card-image-wrap {
  overflow: hidden;
}

.lifestyle__card-body {
  padding: var(--space-md);
}

.lifestyle__card-tag {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: var(--kerning-wide);
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.lifestyle__card-title {
  font-size: 1.15rem;
  font-weight: 300;
  color: var(--rich-black);
  margin-bottom: 10px;
  letter-spacing: 0.01em;
  line-height: 1.4;
}

.lifestyle__card-text {
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--mid-gray);
  line-height: 1.7;
}

/* ══════════════════════════════════════════════════════════════
   4. SCIENCE / PURITY SECTION
   ══════════════════════════════════════════════════════════════ */
.science {
  position: relative;
  padding: var(--space-2xl) 0;
  background: var(--off-white);
  overflow: hidden;
}

.science__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.science__content {
  position: relative;
}

.science__title {
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 200;
  letter-spacing: -0.01em;
  color: var(--rich-black);
  margin-bottom: var(--space-sm);
  line-height: 1.15;
}

.science__title em {
  font-style: normal;
  color: var(--gold);
}

.science__description {
  font-size: 1rem;
  font-weight: 300;
  color: var(--mid-gray);
  line-height: 1.8;
  margin-bottom: var(--space-lg);
  max-width: 480px;
}

/* Stat Grid */
.science__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.science__stat {
  background: rgba(245, 240, 232, 0.60);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: var(--space-md);
  transition: all var(--duration-fast) var(--ease-smooth);
  position: relative;
  overflow: hidden;
}

.science__stat::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity var(--duration-fast) var(--ease-smooth);
}

.science__stat:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
  border-color: var(--glass-border-gold);
}

.science__stat:hover::after {
  opacity: 1;
}

.science__stat-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: var(--gold);
}

.science__stat-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--gold);
  stroke-width: 1.5;
  fill: none;
}

.science__stat-value {
  font-size: 1.6rem;
  font-weight: 200;
  color: var(--rich-black);
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.science__stat-label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: var(--kerning-medium);
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 8px;
}

.science__stat-desc {
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--mid-gray);
  line-height: 1.6;
}

/* Science visual - bottle with metric lines */
.science__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.science__bottle-img {
  width: 60%;
  max-width: 300px;
  filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.10));
  animation: bottleFloat 8s ease-in-out infinite;
}

/* Floating metric badges */
.science__metric {
  position: absolute;
  background: rgba(245, 240, 232, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 14px 20px;
  box-shadow: var(--shadow-medium);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: metricFloat 5s ease-in-out infinite;
}

.science__metric-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px rgba(198, 169, 108, 0.4);
}

.science__metric-text {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: var(--kerning-normal);
  color: var(--dark-gray);
}

.science__metric--ph {
  top: 20%;
  right: 0;
  animation-delay: 0s;
}

.science__metric--minerals {
  bottom: 25%;
  left: 0;
  animation-delay: 1.5s;
}

.science__metric--zero {
  top: 55%;
  right: -5%;
  animation-delay: 3s;
}

@keyframes metricFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

/* ══════════════════════════════════════════════════════════════
   5. PARALLAX STATEMENT
   ══════════════════════════════════════════════════════════════ */
.statement {
  position: relative;
  padding: var(--space-2xl) 0;
  background: var(--rich-black);
  overflow: hidden;
  text-align: center;
}

.statement::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(198, 169, 108, 0.05) 0%, transparent 100%);
}

.statement__content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.statement__quote {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 200;
  color: var(--white);
  line-height: 1.35;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-md);
}

.statement__quote em {
  font-style: normal;
  color: var(--gold-light);
}

.statement__divider {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: var(--space-md) auto;
}

.statement__attribution {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: var(--kerning-wide);
  text-transform: uppercase;
  color: var(--gold-muted);
}

/* ══════════════════════════════════════════════════════════════
   6. FOOTER
   ══════════════════════════════════════════════════════════════ */
.footer {
  background: var(--deep-black);
  color: var(--white);
  padding: var(--space-xl) 0 var(--space-md);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dark), transparent);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.footer__brand-name {
  font-size: 1.4rem;
  font-weight: 200;
  letter-spacing: var(--kerning-wide);
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 12px;
}

.footer__brand-name span {
  color: var(--gold);
}

.footer__brand-tagline {
  font-size: 0.82rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.7;
  max-width: 280px;
}

.footer__col-title {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: var(--kerning-wide);
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-md);
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer__link {
  font-size: 0.85rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.5);
  transition: all var(--duration-fast) var(--ease-smooth);
}

.footer__link:hover {
  color: var(--gold-light);
  transform: translateX(4px);
}

/* Newsletter */
.footer__newsletter-text {
  font-size: 0.88rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: var(--space-sm);
  line-height: 1.7;
}

.footer__newsletter-form {
  display: flex;
  gap: 0;
  position: relative;
}

.footer__newsletter-input {
  flex: 1;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-right: none;
  border-radius: 0;
  color: var(--white);
  font-family: var(--font-primary);
  font-size: 0.82rem;
  font-weight: 300;
  letter-spacing: var(--kerning-normal);
  outline: none;
  transition: all var(--duration-fast) var(--ease-smooth);
}

.footer__newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.footer__newsletter-input:focus {
  border-color: var(--gold-dark);
  background: rgba(255, 255, 255, 0.10);
}

.footer__newsletter-btn {
  padding: 14px 24px;
  background: var(--gold);
  color: var(--rich-black);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: var(--kerning-medium);
  text-transform: uppercase;
  border: 1px solid var(--gold);
  transition: all var(--duration-fast) var(--ease-smooth);
}

.footer__newsletter-btn:hover {
  background: var(--gold-light);
  box-shadow: 0 4px 24px rgba(198, 169, 108, 0.3);
}

/* Social icons */
.footer__socials {
  display: flex;
  gap: 16px;
  margin-top: var(--space-md);
}

.footer__social {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  transition: all var(--duration-fast) var(--ease-smooth);
  color: rgba(255, 255, 255, 0.5);
}

.footer__social:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 4px 20px rgba(198, 169, 108, 0.15);
}

.footer__social svg {
  width: 16px;
  height: 16px;
}

/* Footer bottom */
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.footer__copyright {
  font-size: 0.72rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: var(--kerning-normal);
}

.footer__legal {
  display: flex;
  gap: var(--space-md);
  list-style: none;
}

.footer__legal-link {
  font-size: 0.72rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.3);
  transition: color var(--duration-fast) var(--ease-smooth);
}

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

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE DESIGN
   ══════════════════════════════════════════════════════════════ */

/* ── Mobile Menu Overlay ─────────────────────────────────────── */
.nav__links.active {
  display: flex;
  position: fixed;
  inset: 0;
  background: rgba(245, 240, 232, 0.96);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 5vh, 3rem);
  z-index: 999;
  animation: menuFadeIn 0.4s var(--ease-luxury) both;
}

@keyframes menuFadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav__links.active .nav__link {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  letter-spacing: var(--kerning-wide);
  color: var(--rich-black);
  padding: 8px 0;
}

.nav__links.active .nav__link::after {
  display: none;
}

/* Hamburger → X animation */
.nav__mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__mobile-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.nav__mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ── Tablet (≤ 1024px) ───────────────────────────────────────── */
@media (max-width: 1024px) {
  .nav__links {
    display: none;
  }

  .nav__mobile-toggle {
    display: flex;
  }

  .hero__content {
    flex-direction: column-reverse;
    text-align: center;
    gap: var(--space-lg);
  }

  .hero__text {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero__eyebrow {
    justify-content: center;
  }

  .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__cta-group {
    justify-content: center;
  }

  .hero__bottle-wrap {
    width: 220px;
  }

  .lifestyle__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .lifestyle__card:nth-child(3) {
    grid-column: 1 / -1;
    max-width: 50%;
    justify-self: center;
  }

  .science__inner {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .science__visual {
    order: -1;
  }

  .science__description {
    max-width: 100%;
  }

  .footer__top {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }
}

/* ── Small Tablet (≤ 768px) ──────────────────────────────────── */
@media (max-width: 768px) {
  .lifestyle__grid {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }

  .lifestyle__card:nth-child(2) {
    transform: translateY(0);
  }

  .lifestyle__card:nth-child(2):hover {
    transform: translateY(-8px);
  }

  .lifestyle__card:nth-child(3) {
    max-width: 100%;
  }

  .lifestyle__card-image {
    height: 220px;
  }

  .science__stats {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
  }

  .science__metric {
    padding: 10px 14px;
    font-size: 0.65rem;
  }

  .science__metric--zero {
    right: 0;
  }

  .statement__quote {
    font-size: clamp(1.4rem, 4vw, 2rem);
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    text-align: center;
  }

  .footer__brand-tagline {
    max-width: 100%;
  }

  .footer__socials {
    justify-content: center;
  }

  .footer__links {
    align-items: center;
  }

  .footer__newsletter-form {
    max-width: 360px;
    margin: 0 auto;
  }
}

/* ── Mobile (≤ 640px) ────────────────────────────────────────── */
@media (max-width: 640px) {
  :root {
    --nav-height: 60px;
    --space-lg: 3rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
  }

  .hero {
    min-height: calc(100vh - 60px);
    min-height: calc(100dvh - 60px);
    padding-bottom: 5rem;
  }

  .nav__mobile-toggle {
    display: flex;
    position: relative;
    z-index: 1000;
  }

  .hero__content {
    padding: var(--space-md) clamp(1rem, 4vw, 1.5rem);
    gap: var(--space-md);
  }

  .hero__title {
    font-size: clamp(2rem, 8vw, 2.6rem);
  }

  .hero__subtitle {
    font-size: 0.92rem;
    max-width: 100%;
  }

  .hero__eyebrow {
    font-size: 0.6rem;
  }

  .hero__bottle-wrap {
    width: clamp(140px, 40vw, 180px);
  }

  .hero__bottle-ring {
    display: none;
  }

  .hero__scroll-indicator {
    bottom: 1rem;
  }

  /* Mobile menu overlay */
  .nav__links.active {
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: rgba(245, 240, 232, 0.95);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    z-index: 999;
  }

  .nav__links.active .nav__link {
    font-size: 1.1rem;
    letter-spacing: var(--kerning-wide);
  }

  .hero__bottle-wrap {
    width: 180px;
  }

  .hero__title {
    font-size: 2.4rem;
  }

  .hero__cta-group {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: var(--space-sm);
  }

  .btn {
    padding: 14px 28px;
    font-size: 0.68rem;
    justify-content: center;
  }

  .btn--ghost {
    padding: 14px 4px;
    justify-content: center;
  }

  /* Sections spacing */
  .lifestyle {
    padding: var(--space-xl) 0;
  }

  .lifestyle__header {
    margin-bottom: var(--space-lg);
  }

  .lifestyle__title {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
  }

  .lifestyle__subtitle {
    font-size: 0.88rem;
  }

  .lifestyle__card-body {
    padding: var(--space-sm) var(--space-sm) calc(var(--space-sm) + 4px);
  }

  .lifestyle__card-title {
    font-size: 1rem;
  }

  .lifestyle__card-text {
    font-size: 0.82rem;
  }

  /* Reduce glassmorphism blur on mobile for performance */
  .lifestyle__card {
    backdrop-filter: blur(10px) saturate(140%);
    -webkit-backdrop-filter: blur(10px) saturate(140%);
  }

  .science {
    padding: var(--space-xl) 0;
  }

  .science__title {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
  }

  .science__description {
    font-size: 0.92rem;
  }

  .science__stats {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }

  .science__stat {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: var(--space-sm) calc(var(--space-sm) + 4px);
  }

  .science__stat-value {
    font-size: 1.3rem;
  }

  .science__metric {
    display: none;
  }

  .science__bottle-img {
    width: 50%;
    max-width: 200px;
  }

  .statement {
    padding: var(--space-xl) 0;
  }

  .statement__quote {
    font-size: clamp(1.2rem, 5vw, 1.6rem);
    padding: 0 var(--space-xs);
  }

  /* Footer */
  .footer {
    padding: var(--space-lg) 0 var(--space-md);
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: var(--space-md);
    text-align: center;
  }

  .footer__brand-name {
    font-size: 1.2rem;
  }

  .footer__brand-tagline {
    max-width: 100%;
    font-size: 0.78rem;
  }

  .footer__socials {
    justify-content: center;
  }

  .footer__links {
    align-items: center;
  }

  .footer__col-title {
    margin-bottom: var(--space-sm);
  }

  .footer__newsletter-form {
    max-width: 320px;
    margin: 0 auto;
  }

  .footer__newsletter-input {
    padding: 12px 14px;
    font-size: 0.78rem;
  }

  .footer__newsletter-btn {
    padding: 12px 18px;
    font-size: 0.62rem;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
    gap: var(--space-xs);
  }

  .footer__legal {
    justify-content: center;
  }
}

/* ── Small Mobile (≤ 380px) ──────────────────────────────────── */
@media (max-width: 380px) {
  .hero__title {
    font-size: 1.8rem;
  }

  .hero__subtitle {
    font-size: 0.85rem;
  }

  .hero__cta-group {
    flex-direction: column;
    width: 100%;
  }

  .btn--primary {
    width: 100%;
    justify-content: center;
  }

  .lifestyle__card-image {
    height: 180px;
  }

  .statement__quote {
    font-size: 1.1rem;
  }
}

/* ── Touch Device Optimizations ──────────────────────────────── */
@media (hover: none) and (pointer: coarse) {
  /* Disable hover transforms on touch to prevent sticky states */
  .lifestyle__card:hover {
    transform: none;
    box-shadow: none;
  }

  .lifestyle__card:nth-child(2):hover {
    transform: none;
  }

  .science__stat:hover {
    transform: none;
    box-shadow: none;
  }

  /* Reduce animation intensity for battery savings */
  .hero__bottle-float {
    animation-duration: 8s;
  }

  .hero__glow {
    animation: none;
    opacity: 0.7;
  }

  /* Ensure tap targets are at least 44px */
  .nav__mobile-toggle {
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .footer__social {
    width: 44px;
    height: 44px;
  }

  .footer__link {
    padding: 4px 0;
  }
}

/* ══════════════════════════════════════════════════════════════
   PRELOADER
   ══════════════════════════════════════════════════════════════ */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--off-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  transition: opacity 0.8s var(--ease-luxury), visibility 0.8s;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader__logo {
  font-size: 1.6rem;
  font-weight: 200;
  letter-spacing: var(--kerning-wide);
  text-transform: uppercase;
  color: var(--rich-black);
}

.preloader__logo span {
  color: var(--gold);
}

.preloader__bar {
  width: 120px;
  height: 1px;
  background: var(--light-gray);
  position: relative;
  overflow: hidden;
}

.preloader__bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background: var(--gold);
  animation: preloaderBar 1.8s var(--ease-smooth) forwards;
}

@keyframes preloaderBar {
  0% {
    width: 0;
  }

  100% {
    width: 100%;
  }
}

/* ══════════════════════════════════════════════════════════════
   CUSTOM CURSOR (optional luxury detail)
   ══════════════════════════════════════════════════════════════ */
@media (pointer: fine) {
  .cursor-dot {
    position: fixed;
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    mix-blend-mode: difference;
    transition: transform 0.15s var(--ease-smooth);
    will-change: transform;
  }

  .cursor-ring {
    position: fixed;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(198, 169, 108, 0.4);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transition: transform 0.4s var(--ease-smooth),
      width 0.3s var(--ease-smooth),
      height 0.3s var(--ease-smooth);
    will-change: transform;
  }

  .cursor-ring.hovered {
    width: 56px;
    height: 56px;
    border-color: rgba(198, 169, 108, 0.6);
  }
}