/* ============================================================
   HOME PAGE — SPECIFIC STYLES
   Supplements components.css and layout.css.
   ============================================================ */


/* ----------------------------------------------------------
   HERO — full-height homepage variant
   ---------------------------------------------------------- */

/* Slightly higher photo opacity for the food-forward hero */
.page-home .hero__bg {
  opacity: 0.42;
}

/* Scroll indicator — centered at the bottom of the hero */
.hero__scroll {
  position: absolute;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}


/* ----------------------------------------------------------
   SECTION HEADER ROW
   Two-column row: eyebrow+heading left, link right.
   ---------------------------------------------------------- */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
}

.section-header__body {
  flex: 1;
  min-width: 0;
}

.signature-offerings {
  background: #efe7dd;
  padding-top: clamp(4rem, 7vw, 7rem);
}

.signature-offerings__header {
  margin-bottom: clamp(2rem, 4vw, 4rem);
}

.signature-offerings__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 6rem);
  line-height: 0.92;
  letter-spacing: -0.05em;
  color: var(--col-text);
  margin-top: 0.5rem;
}

.signature-offerings__title em {
  color: var(--col-accent);
  font-style: normal;
}

.signature-offerings .eyebrow {
  color: rgba(23, 31, 28, 0.62);
}

.section-header__link {
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--col-text);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color var(--dur-fast);
}

.section-header__link:hover {
  color: var(--col-accent);
}

/* Arrow nudge on hover */
.section-header__link::after {
  content: " \2192";
  display: inline;
  transition: transform var(--dur-fast);
}

.section-header__link:hover::after {
  display: inline-block;
  transform: translateX(4px);
}

/* Mobile: stack section header vertically */
.section-header {
  flex-direction: column;
  align-items: flex-start;
}

@media (min-width: 640px) {
  .section-header {
    flex-direction: row;
    align-items: flex-end;
  }
}


/* ----------------------------------------------------------
   PILLARS — Why Sorwatom grid
   ---------------------------------------------------------- */
.pillar {
  padding-top: var(--space-lg);
  border-top: 1px solid var(--col-border);
}

.pillar__num {
  font-family: var(--font-display);
  font-size: var(--step-3);
  color: var(--col-border);
  line-height: 1;
  margin-bottom: var(--space-sm);
  display: block;
  /* Intentionally lighter than body — decorative ordinal */
}

.pillar__title {
  font-family: var(--font-display);
  font-size: var(--step-1);
  margin-bottom: var(--space-xs);
  color: var(--col-text);
  line-height: 1.2;
  font-weight: 400;
}

.pillar__desc {
  font-size: var(--step--1);
  color: var(--col-text-muted);
  line-height: 1.7;
}

/* Mobile single-col: add bottom divider between pillars */
.grid-4 .pillar {
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--col-border);
}

.grid-4 .pillar:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

/* Two-col and above: remove bottom borders, top borders carry */
@media (min-width: 480px) {
  .grid-4 .pillar {
    padding-bottom: 0;
    border-bottom: none;
  }
}


/* ----------------------------------------------------------
   STORY SECTION — homepage variant spacing
   The .story-grid, .story-img-wrap, .story-badge classes
   live in components.css; this file only adds page-specific
   margin adjustments.
   ---------------------------------------------------------- */
.story-text {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.story-text__intro {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.story-text__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, var(--step-4));
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--col-text);
  max-width: 20ch;
}

.story-text__block {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.story-text__block + .story-text__block {
  padding-top: var(--space-xs);
}

.story-text .paragraph-title {
  font-family: var(--font-body);
  font-size: var(--step--1);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--col-text-muted);
  line-height: 1.4;
  margin: 0;
}

.story-text p {
  font-size: var(--step-0);
  color: var(--col-text-muted);
  line-height: 1.75;
}

.story-text .btn--text {
  font-size: var(--step--1);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--col-text);
  align-self: flex-start;
}

.signature-offerings__grid {
  align-items: end;
}

/* Pack sizes — the tall ketchup bottle stands tallest and the wide masala pouch
   sits smallest, with the sachet between, so no pack outweighs the others */
.signature-offerings .product-stage[data-tint="ketchup"] img { scale: 1.1; }
.signature-offerings .product-stage[data-tint="masala"] img  { scale: 0.74; }

/* ----------------------------------------------------------
   CTA SECTION — dark green background wrapper
   The .cta-block itself is styled in components.css.
   This section uses a surface colour override.
   ---------------------------------------------------------- */
.section--cta {
  background: var(--col-ground-2);
}

/* Within the dark section, the cta-block body copy */
.section--cta .cta-block__body {
  font-size: var(--step-0);
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
  max-width: 480px;
  margin-top: var(--space-xs);
}


/* ----------------------------------------------------------
   SCROLL INDICATOR — positioned at base of hero
   The .scroll-indicator class lives in components.css.
   This is the placement wrapper only.
   ---------------------------------------------------------- */
.hero__scroll .scroll-indicator {
  margin-top: var(--space-sm);
}
