/* ==========================================================================
   HERO — Spices of Kerala
   Clean minimal premium: near-white canvas, restrained serif headline,
   quiet sans supporting copy, pill CTA. Right side — the three packet
   designs presented as tidy packshots with soft shadows. No ornament.
   Selectors match index.html: .hero__inner, .hero__content, .hero__shrine,
   .hero__arch(--left/--center/--right), .hero__props.
   ========================================================================== */

.hero {
  position: relative;
  width: 100%;
  background-color: var(--color-cream);
}

/* --------------------------------------------------------------------------
   INNER GRID — copy left, packshots right (stacked on mobile)
   -------------------------------------------------------------------------- */
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: clamp(56px, 8vw, 112px) var(--container-pad);
  min-height: min(62vh, 640px);
}

@media (min-width: 900px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

/* --------------------------------------------------------------------------
   CONTENT — soft staggered fade-up on load
   -------------------------------------------------------------------------- */
.hero__content {
  position: relative;
  z-index: 2;
}

.hero__content > * {
  animation: hero-rise 0.8s var(--ease-out) both;
}

.hero__content > *:nth-child(1) { animation-delay: 0.05s; }
.hero__content > *:nth-child(2) { animation-delay: 0.12s; }
.hero__content > *:nth-child(3) { animation-delay: 0.22s; }
.hero__content > *:nth-child(4) { animation-delay: 0.32s; }

@keyframes hero-rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Eyebrow — quiet grey micro-label */
.hero__eyebrow {
  font-family: var(--font-sans);
  font-size: var(--font-size-label);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--letter-spacing-widest);
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
}

/* H1 — restrained serif, one size, one colour */
.hero__h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4.25rem);
  font-weight: 500;
  font-variation-settings: 'opsz' 144;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--color-plum);
  margin-bottom: var(--space-6);
  max-width: 16ch;
}

.hero__h1 em {
  font-style: italic;
  font-weight: 450;
}

.hero__subtitle {
  font-family: var(--font-sans);
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  line-height: 1.65;
  color: var(--color-text-secondary);
  max-width: 44ch;
  margin-bottom: var(--space-9);
}

/* CTAs — solid plum pill + quiet text link */
.hero__actions {
  display: flex;
  align-items: center;
  gap: var(--space-7);
  flex-wrap: wrap;
}

.hero__cta {
  background: var(--color-plum);
  color: #FFFFFF;
  border: 1px solid var(--color-plum);
  border-radius: var(--radius-full);
  transition: var(--transition-base);
}

.hero__cta:hover {
  background: var(--color-plum-deep);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(77, 3, 50, 0.18);
}

.hero__cta-link {
  font-family: var(--font-sans);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--letter-spacing-wide);
  color: var(--color-text-secondary);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--color-border-strong);
  transition: var(--transition-color);
}

.hero__cta-link:hover {
  color: var(--color-plum);
  text-decoration-color: var(--color-plum);
}

/* --------------------------------------------------------------------------
   PACKSHOTS — three packets, tidy, soft shadows, gentle lean
   -------------------------------------------------------------------------- */
.hero__shrine {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2vw, 28px);
}

.hero__arch {
  animation: hero-rise 0.9s var(--ease-out) both;
}

.hero__arch img {
  display: block;
  width: clamp(120px, 12.5vw, 180px);
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
  box-shadow:
    0 1px 2px rgba(30, 20, 10, 0.10),
    0 14px 36px rgba(30, 20, 10, 0.22);
}

.hero__arch--center {
  z-index: 2;
}

.hero__arch--center img {
  width: clamp(150px, 15vw, 215px);
  box-shadow:
    0 2px 4px rgba(30, 20, 10, 0.08),
    0 20px 44px rgba(30, 20, 10, 0.18);
}

.hero__arch--left  { transform: rotate(-3deg) translateY(10px); animation-delay: 0.25s; }
.hero__arch--center{ animation-delay: 0.15s; }
.hero__arch--right { transform: rotate(3deg) translateY(10px); animation-delay: 0.35s; }

/* --------------------------------------------------------------------------
   VALUE PROPS STRIP — quiet bordered row on the page background
   -------------------------------------------------------------------------- */
.hero__props {
  background: var(--color-cream);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.hero__props-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: var(--space-4) var(--container-pad);
}

.hero__prop {
  font-family: var(--font-sans);
  font-size: var(--font-size-eyebrow);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--letter-spacing-widest);
  text-transform: uppercase;
  color: var(--color-text-muted);
  padding: var(--space-1-5) var(--space-5);
  white-space: nowrap;
}

.hero__prop-sep {
  display: flex;
  align-items: center;
  color: var(--color-border-strong);
  line-height: 1;
  transform: scale(0.6);
}

@media (max-width: 480px) {
  .hero__prop-sep {
    display: none;
  }

  .hero__props-inner {
    flex-direction: column;
    gap: var(--space-1);
    padding-top: var(--space-5);
    padding-bottom: var(--space-5);
  }

  .hero__arch img {
    width: clamp(92px, 24vw, 116px);
  }

  .hero__arch--center img {
    width: clamp(116px, 30vw, 148px);
  }
}
