/**
 * Inner-page heroes — differentiated compositions (home untouched).
 * Loaded AFTER each *-page.css so these win on specificity + order.
 *
 * Design brief:
 * - Home remains the architectural cover.
 * - Every other page gets a distinct typography + placement so paging feels intentional.
 * - Product imagery must not be buried under a text clump.
 *
 * @package Flamingo_Liqueur
 */

/* Shared: cue centres under the button pair.
 * CTA stays left with the copy (align-self), but children centre inside it. */
body:not(.home) .fl-hero__cta {
  gap: clamp(1.5rem, 3.5vh, 2.25rem);
  align-items: center;
}

/* Left-rail heroes: keep the CTA cluster under the copy, not page-center */
.page-story .fl-hero__cta,
.page-product .fl-hero__cta,
.page-how-to-enjoy .fl-hero__cta,
.page-gallery .fl-hero__cta,
.page-contact .fl-hero__cta,
.page-news .fl-hero__cta {
  align-self: flex-start;
  align-items: center;
}

/* ==========================================================================
   STORY — editorial left, vertically centered (was sunk to the floor)
   ========================================================================== */

.page-story .fl-hero {
  align-items: center;
  min-height: 100svh;
}

.page-story .fl-hero__overlay {
  background:
    linear-gradient(105deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.42) 38%, rgba(0, 0, 0, 0.12) 62%, rgba(0, 0, 0, 0.45) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, transparent 40%, rgba(0, 0, 0, 0.55) 100%);
}

.page-story .fl-hero__content {
  align-items: flex-start;
  justify-content: center;
  width: min(100%, 36rem);
  margin-inline: 0 auto 0 0;
  text-align: left;
  padding-block: clamp(7rem, 14vh, 10rem) clamp(5rem, 10vh, 7rem);
}

.page-story .fl-hero__heading {
  font-size: clamp(3.75rem, 8.5vw, 6.5rem);
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 0.95;
  max-width: 8ch;
  margin: 0 0 clamp(1.25rem, 3vh, 1.75rem);
  text-transform: none;
}

.page-story .fl-hero__subheading {
  max-width: 22ch;
  margin: 0 0 clamp(2rem, 4vh, 2.75rem);
  padding-left: 1.25rem;
  border-left: 1px solid rgba(201, 161, 74, 0.55);
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  line-height: 1.85;
  letter-spacing: 0.04em;
}

.page-story .fl-hero__actions {
  justify-content: flex-start;
}

.page-story .fl-btn {
  min-width: 10.5rem;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.4);
}

/* ==========================================================================
   PRODUCT — bottle owns the center; copy lives left (was covering the product)
   ========================================================================== */

.page-product .fl-hero {
  align-items: center;
  min-height: 100svh;
}

.page-product .fl-hero__image,
.page-product .fl-hero__video {
  object-position: 62% 48%;
}

.page-product .fl-hero__overlay {
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.88) 0%, rgba(5, 5, 5, 0.55) 32%, rgba(5, 5, 5, 0.08) 58%, rgba(5, 5, 5, 0.35) 100%),
    linear-gradient(180deg, rgba(5, 5, 5, 0.4) 0%, transparent 45%, rgba(5, 5, 5, 0.7) 100%);
}

.page-product .fl-hero__content {
  align-items: flex-start;
  text-align: left;
  max-width: 28rem;
  margin-inline: 0 auto 0 0;
  padding-block: clamp(6rem, 12vh, 9rem);
}

.page-product .fl-hero__heading {
  font-size: clamp(2.4rem, 5vw, 3.75rem);
  letter-spacing: 0.18em;
  line-height: 1.05;
  text-transform: uppercase;
  font-style: normal;
  max-width: 12ch;
  margin: 0 0 clamp(1rem, 2.5vh, 1.5rem);
}

.page-product .fl-hero__subheading {
  max-width: 20ch;
  margin: 0 0 clamp(1.75rem, 4vh, 2.5rem);
  font-size: clamp(0.88rem, 1.4vw, 1rem);
  letter-spacing: 0.06em;
  line-height: 1.8;
  opacity: 0.78;
}

.page-product .fl-hero__actions {
  justify-content: flex-start;
}

.page-product .fl-btn {
  border-color: rgba(201, 161, 74, 0.55);
  background: transparent;
}

/* ==========================================================================
   HOW TO ENJOY — calm left band; glasses stay visible on the right
   ========================================================================== */

.page-how-to-enjoy .fl-hero {
  align-items: center;
  min-height: 100svh;
}

.page-how-to-enjoy .fl-hero__image,
.page-how-to-enjoy .fl-hero__video {
  object-position: 72% 40%;
}

.page-how-to-enjoy .fl-hero__overlay {
  background:
    linear-gradient(100deg, rgba(12, 6, 10, 0.82) 0%, rgba(12, 6, 10, 0.35) 42%, rgba(12, 6, 10, 0.15) 70%, rgba(12, 6, 10, 0.5) 100%);
}

.page-how-to-enjoy .fl-hero__content {
  align-items: flex-start;
  max-width: 32rem;
  text-align: left;
  margin-inline: 0 auto 0 0;
  padding-block: clamp(6rem, 12vh, 9rem);
}

.page-how-to-enjoy .fl-hero__heading {
  /* One elegant line — not a vertical tower of letters */
  font-size: clamp(2.6rem, 5.5vw, 4.25rem);
  letter-spacing: 0.14em;
  line-height: 1.05;
  max-width: none;
  white-space: nowrap;
  font-style: normal;
  text-transform: uppercase;
  margin: 0 0 clamp(1rem, 2.5vh, 1.5rem);
}

.page-how-to-enjoy .fl-hero__subheading {
  max-width: 24ch;
  margin: 0 0 clamp(1.75rem, 4vh, 2.5rem);
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  line-height: 1.8;
}

.page-how-to-enjoy .fl-hero__actions {
  justify-content: flex-start;
  gap: 0.85rem 1rem;
}

@media (max-width: 767px) {
  .page-how-to-enjoy .fl-hero__heading {
    white-space: normal;
    font-size: clamp(2.2rem, 9vw, 3rem);
    letter-spacing: 0.1em;
  }
}

/* ==========================================================================
   GALLERY — quiet caption over a bottom veil (was a messy center clump)
   ========================================================================== */

.page-gallery .fl-hero {
  align-items: end;
  min-height: 100svh;
}

.page-gallery .fl-hero__overlay {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.05) 35%, rgba(0, 0, 0, 0.78) 78%, rgba(0, 0, 0, 0.92) 100%);
}

.page-gallery .fl-hero__content {
  align-items: flex-start;
  max-width: 40rem;
  width: 100%;
  margin-inline: 0;
  padding-block: clamp(4rem, 8vh, 6rem) clamp(3.5rem, 8vh, 5.5rem);
  text-align: left;
}

.page-gallery .fl-hero__heading {
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  letter-spacing: 0.28em;
  line-height: 1;
  max-width: none;
  margin: 0 0 0.85rem;
  font-style: normal;
  text-transform: uppercase;
  /* Solid enough to read on busy photo — still light */
  color: rgba(255, 255, 255, 0.92);
  -webkit-text-stroke: 0;
  filter: drop-shadow(0 2px 18px rgba(0, 0, 0, 0.55));
}

.page-gallery .fl-hero__subheading {
  max-width: 28ch;
  margin: 0 0 clamp(1.5rem, 3.5vh, 2.25rem);
  font-size: clamp(0.9rem, 1.4vw, 1.05rem);
  letter-spacing: 0.08em;
  opacity: 0.8;
}

.page-gallery .fl-hero__actions {
  justify-content: flex-start;
}

.page-gallery .fl-btn--primary {
  background: rgba(255, 255, 255, 0.92);
  color: #111;
  border-color: transparent;
}

.page-gallery .fl-btn--secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
}

/* ==========================================================================
   SHOP — full-bleed night shelf; title with presence (was tiny + floating high)
   ========================================================================== */

.page-shop .fl-hero {
  align-items: end;
  min-height: 92svh;
}

.page-shop .fl-hero__overlay {
  background:
    linear-gradient(180deg, rgba(8, 8, 8, 0.55) 0%, rgba(8, 8, 8, 0.25) 40%, rgba(8, 8, 8, 0.88) 100%);
}

.page-shop .fl-hero__content {
  align-items: center;
  text-align: center;
  max-width: 36rem;
  margin-inline: auto;
  padding-block: clamp(5rem, 10vh, 7rem) clamp(4rem, 9vh, 6.5rem);
}

.page-shop .fl-hero__heading {
  font-size: clamp(3.5rem, 9vw, 6.5rem);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-style: normal;
  max-width: none;
  margin: 0 0 clamp(1rem, 2.5vh, 1.5rem);
  line-height: 0.95;
}

.page-shop .fl-hero__subheading {
  max-width: 28ch;
  margin: 0 auto clamp(1.75rem, 4vh, 2.5rem);
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  letter-spacing: 0.06em;
  line-height: 1.75;
  opacity: 0.82;
}

.page-shop .fl-hero__actions {
  justify-content: center;
}

.page-shop .fl-hero__cta {
  align-items: center;
}

.page-shop .fl-btn {
  border-color: rgba(201, 161, 74, 0.6);
  min-width: 10.5rem;
}

/* ==========================================================================
   CONTACT — copy in the dark left field; bottle keeps the right
   ========================================================================== */

.page-contact .fl-hero {
  align-items: center;
  min-height: 100svh;
}

.page-contact .fl-hero__image,
.page-contact .fl-hero__video {
  object-position: 78% 40%;
}

.page-contact .fl-hero__overlay {
  background:
    linear-gradient(95deg, rgba(12, 6, 10, 0.88) 0%, rgba(12, 6, 10, 0.45) 40%, rgba(12, 6, 10, 0.15) 68%, rgba(12, 6, 10, 0.4) 100%);
}

.page-contact .fl-hero__content {
  align-items: flex-start;
  text-align: left;
  max-width: 30rem;
  margin-inline: 0 auto 0 0;
  padding-block: clamp(6rem, 12vh, 9rem);
}

.page-contact .fl-hero__heading {
  font-size: clamp(3.25rem, 7vw, 5.25rem);
  font-style: italic;
  letter-spacing: 0.04em;
  line-height: 0.98;
  max-width: 10ch;
  margin: 0 0 clamp(1rem, 2.5vh, 1.5rem);
  text-transform: none;
}

.page-contact .fl-hero__subheading {
  max-width: 22ch;
  margin: 0 0 clamp(1.75rem, 4vh, 2.5rem);
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  line-height: 1.85;
}

.page-contact .fl-hero__actions {
  justify-content: flex-start;
}

.page-contact .fl-btn--primary {
  border-color: rgba(255, 79, 163, 0.65);
  background: transparent;
}

/* ==========================================================================
   NEWS — journal masthead, left editorial (not a generic hollow title)
   ========================================================================== */

.page-news .fl-hero {
  align-items: center;
  min-height: 100svh;
}

.page-news .fl-hero__overlay {
  background:
    linear-gradient(100deg, rgba(0, 0, 0, 0.86) 0%, rgba(0, 0, 0, 0.5) 42%, rgba(0, 0, 0, 0.25) 100%);
}

.page-news .fl-hero__content {
  align-items: flex-start;
  max-width: 34rem;
  text-align: left;
  margin-inline: 0 auto 0 0;
  padding-block: clamp(6rem, 12vh, 9rem);
}

.page-news .fl-hero__heading {
  font-size: clamp(3rem, 7vw, 5rem);
  font-style: normal;
  letter-spacing: 0.22em;
  line-height: 1;
  max-width: none;
  margin: 0 0 clamp(1rem, 2.5vh, 1.5rem);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
  -webkit-text-stroke: 0;
  filter: drop-shadow(0 2px 16px rgba(0, 0, 0, 0.5));
}

.page-news .fl-hero__subheading {
  max-width: 26ch;
  margin: 0 0 clamp(1.75rem, 4vh, 2.5rem);
  padding-left: 1.15rem;
  border-left: 1px solid rgba(201, 161, 74, 0.7);
  font-size: clamp(0.9rem, 1.4vw, 1.05rem);
  letter-spacing: 0.05em;
  line-height: 1.8;
}

.page-news .fl-hero__actions {
  justify-content: flex-start;
}

.page-news .fl-btn {
  border-color: rgba(255, 255, 255, 0.4);
  background: transparent;
}

/* ==========================================================================
   FAQ — quiet utility page
   ========================================================================== */

.page-faq .fl-hero {
  align-items: center;
  min-height: 72svh;
}

.page-faq .fl-hero__content {
  align-items: center;
  text-align: center;
  max-width: 32rem;
  margin-inline: auto;
}

.page-faq .fl-hero__heading {
  font-size: clamp(2.75rem, 6vw, 4.25rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-style: normal;
  max-width: none;
}

.page-faq .fl-hero__cta {
  align-items: center;
}
