/* ===== GOOGLE FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=Jost:wght@300;400;500;600&display=swap');

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Jost', system-ui, sans-serif;
  font-weight: 300;
  color: #1C1B1F;
  background: #FDFBF7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ===== DESIGN TOKENS ===== */
:root {
  --violet: #6A4C9C;
  --violet-deep: #4B2E6B;
  --violet-light: #9B72CF;
  --lavender: #EDE4F7;
  --lavender-soft: #F5F0FC;
  --gold: #C5A059;
  --black: #1C1B1F;
  --black-soft: #3D3A45;
  --cream: #FDFBF7;
  --white: #FFFFFF;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Jost', system-ui, sans-serif;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, .display { font-family: var(--font-display); font-weight: 400; }
h1 { font-size: clamp(48px, 8vw, 80px); line-height: 1.0; }
h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.15; }
h3 { font-size: 22px; line-height: 1.3; }
p { font-size: 15px; line-height: 1.85; color: var(--black-soft); }
.eyebrow {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ===== NAV ===== */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(253,251,247,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #EDE4F7;
  padding: 0 40px;
  height: 90px; /* was 72px */
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo img { height: 44px; width: auto; }
.nav-links { display: flex; gap: 40px; }
.nav-links a {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--black);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--violet); }
.nav-right { display: flex; align-items: center; gap: 24px; }
.cart-trigger { position: relative; cursor: pointer; background: none; border: none; padding: 4px; }
.cart-trigger svg { display: block; }
.cart-count {
  position: absolute; top: -6px; right: -8px;
  background: var(--violet); color: white;
  font-size: 10px; font-weight: 600;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.2s;
}
.cart-count.visible { opacity: 1; }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--black); transition: all 0.3s;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: flex-end;
  padding: 0 0 80px 80px;
  overflow: hidden;
}
.hero video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  z-index: 0;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    to top,
    rgba(28,27,31,0.78) 0%,
    rgba(28,27,31,0.50) 30%,
    rgba(28,27,31,0.20) 60%,
    rgba(28,27,31,0.05) 100%
  );
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 600px;
  text-shadow: 0 1px 12px rgba(28,27,31,0.5);
}
.btn-ghost-white {
  display: inline-block;
  border: 1px solid rgba(255,255,255,0.8);
  color: white;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 14px 36px;
  transition: all 0.3s;
}
.btn-ghost-white:hover {
  background: white;
  color: var(--violet);
}

/* ===== MOBILE HERO ===== */
@media (max-width: 768px) {
  .hero {
    align-items: flex-end;
    padding-bottom: 60px;
  }
  .hero-content {
    padding: 0 24px;
    width: 100%;
  }
  .hero-overlay {
    background: linear-gradient(
      to top,
      rgba(28,27,31,0.78) 0%,
      rgba(28,27,31,0.50) 30%,
      rgba(28,27,31,0.20) 60%,
      rgba(28,27,31,0.05) 100%
    );
  }
  .hero h1 {
    font-size: 52px;
    line-height: 1.0;
  }
}

/* ===== PRODUCT SECTION ===== */
.product-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 90vh;
}
.product-image-col {
  background: var(--lavender-soft);
  display: flex; align-items: center; justify-content: center;
  padding: 80px;
}
.product-image-col img {
  max-height: 560px;
  width: auto;
  object-fit: contain;
}
.product-info-col {
  padding: 80px 80px 80px 64px;
  display: flex; flex-direction: column; justify-content: center;
}
.size-selector { display: flex; gap: 12px; }
.size-btn {
  border: 1.5px solid var(--violet);
  background: transparent;
  color: var(--violet);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  padding: 12px 28px;
  cursor: pointer;
  transition: all 0.2s;
}
.size-btn.active, .size-btn:hover {
  background: var(--violet);
  color: white;
}
.btn-primary {
  background: var(--violet);
  color: white;
  border: none;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 18px 48px;
  cursor: pointer;
  transition: background 0.2s;
  width: 100%;
}
.btn-primary:hover { background: var(--violet-deep); }

/* ===== RITUAL SECTION ===== */
.ritual-section {
  background: var(--lavender-soft);
  padding: 100px 80px;
}
.ritual-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}
.ritual-card {
  background: white;
  padding: 48px 36px;
  border-top: 2px solid var(--violet);
}
.ritual-card h3 {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  margin-bottom: 16px;
  color: var(--black);
}

/* ===== INGREDIENTS ===== */
.ingredients-section {
  background: white;
  padding: 100px 80px;
  max-width: 1100px;
  margin: 0 auto;
}
.key-ingredients-row {
  display: flex;
  gap: 24px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.key-ingredient {
  flex: 1; min-width: 200px;
  padding: 28px 24px;
  background: var(--lavender-soft);
  border-left: 3px solid var(--gold);
}
.key-ingredient .icon { font-size: 24px; margin-bottom: 12px; }
.key-ingredient .name {
  font-family: var(--font-display); font-size: 18px; font-style: italic; margin-bottom: 6px;
}
.key-ingredient .benefit {
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--black-soft);
}
.ingredients-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 60px;
  row-gap: 0;
}
.ingredient-item {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 14px;
  color: var(--black-soft);
  padding: 10px 0;
  border-bottom: 1px solid #F0EBF8;
  line-height: 1.5;
}

.ingredients-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: 1.5px solid var(--violet);
  color: var(--violet);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 16px 24px;
  cursor: pointer;
  transition: all 0.25s;
}
.ingredients-toggle:hover {
  background: var(--violet);
  color: white;
}
.toggle-icon {
  font-size: 20px;
  font-weight: 300;
  transition: transform 0.25s;
  line-height: 1;
}
.ingredients-toggle.open .toggle-icon { transform: rotate(45deg); }
.ingredients-toggle.open { background: var(--violet); color: white; }

/* ===== HOW TO USE ===== */
.how-to-use-section {
  background: var(--lavender);
  padding: 100px 80px;
}

/* ===== OUR STORY ===== */
.story-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 80vh;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.story-image-col {
  background: var(--lavender-soft);
  display: flex; align-items: center; justify-content: center;
  padding: 80px;
}
.story-image-col img {
  max-height: 480px;
  width: auto;
  object-fit: contain;
}
.story-content-col {
  padding: 80px;
  display: flex; flex-direction: column; justify-content: center;
}

/* ===== TRUST BAR ===== */
.trust-bar {
  background: var(--violet-deep);
  padding: 18px 0;
  overflow: hidden;
}
.trust-marquee {
  display: flex;
  gap: 60px;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
}
.trust-item {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  flex-shrink: 0;
}
.trust-item span { color: var(--gold); margin: 0 8px; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===== FOOTER ===== */
footer {
  background: #1C1B1F;
  color: rgba(237,228,247,0.7);
  padding: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 60px;
}
.footer-logo img {
  height: 44px; width: auto;
  margin-bottom: 20px;
}
.footer-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 16px;
}
.footer-links h4 {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}
.footer-links a {
  display: block;
  font-size: 13px;
  margin-bottom: 12px;
  transition: color 0.2s;
}
.footer-links a:hover { color: white; }
.newsletter-form { display: flex; gap: 0; }
.newsletter-form input {
  flex: 1;
  border: 1px solid rgba(237,228,247,0.3);
  background: transparent;
  color: white;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 13px;
  outline: none;
}
.newsletter-form input::placeholder { color: rgba(237,228,247,0.4); }
.newsletter-form button {
  background: var(--gold);
  color: #1C1B1F;
  border: none;
  padding: 12px 24px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}
.newsletter-form button:hover { background: var(--violet-light); }
.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 12px;
  color: rgba(237,228,247,0.5);
}

/* ===== CART DRAWER ===== */
.cart-overlay {
  position: fixed; inset: 0;
  background: rgba(28,27,31,0.4);
  z-index: 199;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
}
.cart-overlay.open { opacity: 1; pointer-events: all; }
.cart-drawer {
  position: fixed; top: 0; right: -420px; bottom: 0;
  width: 420px; max-width: 100vw;
  background: var(--cream);
  z-index: 200;
  transition: right 0.35s cubic-bezier(0.4,0,0.2,1);
  display: flex; flex-direction: column;
  box-shadow: -4px 0 40px rgba(0,0,0,0.12);
}
.cart-drawer.open { right: 0; }
.cart-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px 32px;
  border-bottom: 1px solid var(--lavender);
}
.cart-header h3 { font-family: var(--font-display); font-style: italic; font-size: 24px; }
.cart-close {
  background: none; border: none; font-size: 28px; cursor: pointer; color: var(--black);
  line-height: 1;
}
.cart-items { flex: 1; overflow-y: auto; padding: 24px 32px; }
.cart-item {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid var(--lavender);
}
.cart-item-info h4 {
  font-family: var(--font-display); font-size: 16px; font-weight: 400;
  margin-bottom: 4px;
}
.cart-item-info .cart-item-size {
  font-size: 12px; color: var(--black-soft); letter-spacing: 0.05em;
}
.cart-item-controls {
  display: flex; align-items: center; gap: 12px;
}
.qty-btn {
  background: none; border: 1px solid var(--violet);
  color: var(--violet); width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 16px;
  transition: all 0.2s;
}
.qty-btn:hover { background: var(--violet); color: white; }
.cart-item-qty { font-size: 14px; min-width: 20px; text-align: center; }
.cart-item-price { font-size: 14px; color: var(--black-soft); margin-left: 16px; }
.cart-item-remove {
  background: none; border: none; color: #aaa; cursor: pointer;
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  margin-top: 8px; transition: color 0.2s;
}
.cart-item-remove:hover { color: var(--violet); }
.cart-footer {
  padding: 24px 32px;
  border-top: 1px solid var(--lavender);
}
.cart-subtotal {
  display: flex; justify-content: space-between;
  margin-bottom: 20px;
}
.cart-subtotal-label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.cart-subtotal-amount {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 300;
}
.cart-actions { display: flex; flex-direction: column; gap: 12px; }
.cart-continue {
  text-align: center;
  font-size: 12px;
  color: var(--violet);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: none; border: none; cursor: pointer;
  font-family: var(--font-body);
  font-weight: 500;
  transition: color 0.2s;
}
.cart-continue:hover { color: var(--violet-deep); }

/* ===== ORDER MODAL ===== */
.order-modal {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(28,27,31,0.6);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
}
.order-modal.open { opacity: 1; pointer-events: all; }
.modal-inner {
  background: var(--cream);
  width: 540px; max-width: 95vw;
  max-height: 90vh; overflow-y: auto;
  padding: 56px 48px;
}
.modal-inner h3 {
  font-family: var(--font-display); font-style: italic;
  font-size: 28px; margin-bottom: 32px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.form-group input {
  width: 100%;
  border: 1px solid #E0D8F0;
  background: white;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--black);
  outline: none;
  transition: border-color 0.2s;
}
.form-group input:focus { border-color: var(--violet); }
.order-summary {
  background: var(--lavender-soft);
  padding: 20px 24px;
  margin-bottom: 24px;
}
.order-summary-row {
  display: flex; justify-content: space-between;
  font-size: 13px; margin-bottom: 8px;
}
.order-summary-total {
  display: flex; justify-content: space-between;
  font-family: var(--font-display); font-size: 22px;
  padding-top: 12px; border-top: 1px solid var(--lavender);
  margin-top: 12px;
}
.modal-close {
  position: absolute; top: 16px; right: 16px;
  background: none; border: none; font-size: 24px; cursor: pointer; color: var(--black);
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
  position: fixed; top: 0; right: -320px; bottom: 0;
  width: 320px; max-width: 85vw;
  background: var(--cream);
  z-index: 150;
  transition: right 0.35s cubic-bezier(0.4,0,0.2,1);
  padding: 80px 32px 32px;
  box-shadow: -4px 0 40px rgba(0,0,0,0.12);
}
.mobile-menu.open { right: 0; }
.mobile-menu a {
  display: block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 16px 0;
  border-bottom: 1px solid var(--lavender);
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--violet); }

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {
  .product-section { grid-template-columns: 1fr; }
  .product-image-col { padding: 60px 32px; min-height: 50vh; }
  .product-info-col { padding: 48px 24px; }
  .story-section { grid-template-columns: 1fr; }
  .story-image-col { min-height: 360px; padding: 48px 24px; }
  .story-content-col { padding: 48px 24px; }
  .ritual-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-content { padding: 0 24px 60px; }
  h1 { font-size: 52px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  section { padding: 72px 24px; }
  .hero { padding: 0 0 60px 24px; }
  .ritual-section { padding: 72px 24px; }
  .ingredients-section { padding: 72px 24px; }
  .how-to-use-section { padding: 72px 24px; }
  .story-section { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  footer { padding: 60px 24px; }
  .ingredients-grid { grid-template-columns: 1fr; }
  .key-ingredients-row { flex-direction: column; }
  .nav-right { gap: 16px; }

  /* ingredient accordion — visible on all screens */
  .ingredients-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: none;
    border: 1.5px solid var(--violet);
    color: var(--violet);
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 16px 24px;
    cursor: pointer;
    transition: all 0.25s;
  }
  .ingredients-toggle:hover {
    background: var(--violet);
    color: white;
  }
  .toggle-icon {
    font-size: 20px;
    font-weight: 300;
    transition: transform 0.25s;
    line-height: 1;
  }
  .ingredients-toggle.open .toggle-icon { transform: rotate(45deg); }
  .ingredients-toggle.open { background: var(--violet); color: white; }
}