/* ================================================================
   VEDIRA — Custom Styles
   Brutalist / Ayurvedic luxury aesthetic
   ================================================================ */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: #EFF5E9;
  color: #213210;
}

/* ---------------------------------------------------------------
   Shared: section eyebrow label
--------------------------------------------------------------- */
.section-eyebrow {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: #354624;
}

/* ---------------------------------------------------------------
   Shared: CTA buttons
--------------------------------------------------------------- */
.shop-btn {
  display: inline-block;
  background-color: #213210;
  color: #EFF5E9;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1rem 2.5rem;
  border: 1px solid #213210;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.shop-btn:hover {
  background-color: transparent;
  color: #213210;
}

/* Light variant — for use on dark backgrounds */
.shop-btn--light {
  background-color: #EFF5E9;
  color: #213210;
  border-color: #EFF5E9;
}

.shop-btn--light:hover {
  background-color: transparent;
  color: #EFF5E9;
}

/* ---------------------------------------------------------------
   Section 1 — HERO
   Split: text left / product image right
--------------------------------------------------------------- */
#hero {
  position: relative;
  min-height: 100svh; /* use svh to avoid mobile URL bar overlap */
}

.hero-text-col {
  min-height: 50vh;
}

.hero-wordmark {
  font-size: clamp(3.5rem, 10vw, 8rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  color: #213210;
}

.hero-tagline {
  font-size: clamp(0.9rem, 1.8vw, 1.15rem);
  font-weight: 300;
  line-height: 1.7;
  color: #354624;
}

.hero-img-col {
  min-height: 50vh;
  padding: 2rem;
}

.hero-product-img {
  width: 100%;
  max-width: 520px;
  height: 100%;
  max-height: 85vh;
  object-fit: contain;
  display: block;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, #213210, transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%, 100% { opacity: 0.5; }
  50%       { opacity: 1; }
}

/* ---------------------------------------------------------------
   Section 2 — RITUAL
   Left: copy + lifestyle image / Right: dark panel + how-to
--------------------------------------------------------------- */
#ritual {
  min-height: 100vh;
}

.ritual-left {
  flex: 1;
  padding: 5rem 3.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ritual-left-text {
  padding-bottom: 3rem;
}

.ritual-headline {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: #213210;
}

.ritual-body {
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.9;
  color: #354624;
}

.ritual-lifestyle-wrap {
  width: 100%;
  overflow: hidden;
  border-top: 1px solid #213210;
}

.ritual-lifestyle-img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.ritual-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  min-height: 50vh;
}

.ritual-howto-img {
  width: 100%;
  max-width: 480px;
  display: block;
  /* Blend the light bg of the infographic into the dark panel */
  mix-blend-mode: luminosity;
  opacity: 0.9;
  border-radius: 2px;
}

/* ---------------------------------------------------------------
   Section 3 — RESULTS
   Before/After full-bleed + benefits grid
--------------------------------------------------------------- */
#results {
  /* flex column by default, stacks the two sub-sections */
}

.results-before-after {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.results-ba-img {
  width: 100%;
  display: block;
  object-fit: cover;
  max-height: 80vh;
}

.results-ba-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 3rem;
  background: linear-gradient(to top, rgba(33,50,16,0.7), transparent);
}

.results-ba-caption {
  font-size: clamp(0.85rem, 2vw, 1.1rem);
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #EFF5E9;
}

.results-benefits {
  width: 100%;
  padding: 4rem 2rem;
  border-top: 1px solid #213210;
}

.results-benefits-img {
  width: 100%;
  max-width: 600px;
  display: block;
  object-fit: contain;
}

/* ---------------------------------------------------------------
   Section 4 — MASKS / COLLECTION
--------------------------------------------------------------- */
/* Product card grid */
.masks-grid {
  background-color: #354624; /* gap fill between cards */
}

.mask-card {
  display: flex;
  flex-direction: column;
  background-color: #0f1a09;
  overflow: hidden;
}

.mask-img-wrap {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background-color: #1a2912;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Placeholder tones for the two cards without images yet */
.mask-img-placeholder-rootrise {
  background: linear-gradient(160deg, #1c2b0e, #0e1a08);
}

.mask-img-placeholder-scalp {
  background: linear-gradient(160deg, #0e1a08, #162408);
}

.mask-coming-soon-badge {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #77D636;
  opacity: 0.5;
  border: 1px solid #77D636;
  padding: 0.4rem 0.8rem;
}

.mask-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ShineFlow: product bag on white bg — use contain so it doesn't crop */
.mask-img--contain {
  object-fit: contain;
  padding: 1.5rem;
  background-color: #EFF5E9;
}

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

.mask-info {
  padding: 2rem 1.75rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-top: 1px solid #354624;
}

.mask-tag {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: #77D636;
}

.mask-name {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #EFF5E9;
  text-decoration: none;
  display: block;
}

.mask-desc {
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: #EFF5E9;
  opacity: 0.4;
}

/* ---------------------------------------------------------------
   Footer
--------------------------------------------------------------- */
.footer-wordmark {
  font-size: clamp(1.5rem, 6vw, 3.5rem);
  font-weight: 900;
  letter-spacing: 0.3em;
  color: #213210;
}

.footer-link {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #354624;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.2s ease, opacity 0.2s ease;
}

.footer-link:hover {
  border-bottom-color: #354624;
  opacity: 0.6;
}

/* ---------------------------------------------------------------
   Scroll reveal
--------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ---------------------------------------------------------------
   Mobile overrides  (< 640px)
--------------------------------------------------------------- */
@media (max-width: 639px) {
  /* Hero stacks: text on top, image below */
  #hero {
    flex-direction: column;
  }

  .hero-text-col {
    padding: 3.5rem 1.75rem 2rem;
  }

  .hero-img-col {
    padding: 1rem 2rem 3rem;
    min-height: 40vh;
  }

  .hero-product-img {
    max-height: 60vw;
  }

  /* Ritual stacks */
  #ritual {
    flex-direction: column;
  }

  .ritual-left {
    padding: 3rem 1.75rem 0;
  }

  .ritual-right {
    padding: 2.5rem 1.75rem;
  }

  .ritual-howto-img {
    max-width: 100%;
  }

  /* Results */
  .results-ba-img {
    max-height: none;
    aspect-ratio: 1;
  }

  .results-benefits {
    padding: 2.5rem 1rem;
  }

  /* Masks */
  .mask-img-wrap {
    aspect-ratio: 4 / 3;
  }

  .mask-info {
    padding: 1.5rem 1.25rem 2rem;
  }

  .mask-name {
    font-size: 1.25rem;
  }
}

/* ---------------------------------------------------------------
   Reduced motion
--------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .scroll-line {
    animation: none;
  }
  .mask-card:hover .mask-img {
    transform: none;
  }
}
