
/* =========================================================
   Signature Sweets - Homepage v57
   Purpose: production-ready homepage hero composition.
   ========================================================= */

.home-page .hero {
  position: relative;
  min-height: clamp(570px, calc(100vh - var(--ss-header-height) - 82px), 720px);
  display: flex;
  align-items: center;
  padding: clamp(1.9rem, 3.2vw, 3.4rem) 0 clamp(0.65rem, 1.3vw, 1.25rem);
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 42%, rgba(212, 168, 79, 0.11) 0%, transparent 34%),
    linear-gradient(90deg, rgba(8, 6, 5, 0.82) 0%, rgba(8, 6, 5, 0.54) 45%, rgba(8, 6, 5, 0.2) 100%),
    url("../images/hero-bg.jpg") center/cover no-repeat;
}

.home-page .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 25% 60%, rgba(212, 168, 79, 0.06), transparent 34%),
    linear-gradient(180deg, rgba(0,0,0,0.05), rgba(0,0,0,0.18));
  pointer-events: none;
}

.home-page .hero::after {
  content: "";
  position: absolute;
  right: 4%;
  top: 8%;
  z-index: 0;
  width: clamp(430px, 41vw, 710px);
  height: clamp(430px, 41vw, 710px);
  background: radial-gradient(circle, rgba(212,168,79,0.22) 0%, rgba(212,168,79,0.08) 38%, transparent 74%);
  filter: blur(18px);
  opacity: 0.74;
  pointer-events: none;
}

.home-page .hero-inner {
  position: relative;
  z-index: 1;
  width: min(92vw, 1380px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(420px, 1fr) minmax(420px, 0.82fr);
  gap: clamp(2.2rem, 4.4vw, 5.4rem);
  align-items: center;
}

.home-page .hero-copy {
  max-width: 640px;
  transform: translateY(-0.55rem);
}

.home-page .hero .eyebrow {
  margin-bottom: clamp(0.72rem, 1vw, 1rem);
  letter-spacing: 0.25em;
}

.home-page .hero h1 {
  max-width: 690px;
  margin: 0 0 clamp(0.8rem, 1vw, 1.08rem);
  font-size: clamp(3.75rem, 4.75vw, 5.55rem);
  line-height: 0.97;
  letter-spacing: -0.052em;
}

.home-page .hero-copy p {
  max-width: 610px;
  margin: 0 0 clamp(1.08rem, 1.45vw, 1.42rem);
  font-size: clamp(1rem, 1.05vw, 1.12rem);
  line-height: 1.5;
}

.home-page .button-row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin: 0;
}

.home-page .button,
.home-page .button-secondary {
  min-height: 50px;
  padding: 0.8rem 1.45rem;
  font-size: 0.98rem;
}

.home-page .hero-visual {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.home-page .hero-visual-card {
  width: clamp(430px, 34vw, 550px);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(212, 168, 79, 0.42);
  border-radius: 1.75rem;
  background: rgba(0, 0, 0, 0.26);
  box-shadow:
    0 26px 66px rgba(0, 0, 0, 0.46),
    0 0 42px rgba(212, 168, 79, 0.09);
  transform: translateY(-0.35rem);
}

.home-page .hero-visual-card::before {
  content: "";
  position: absolute;
  inset: -7px;
  z-index: 1;
  border: 1px solid rgba(212, 168, 79, 0.09);
  border-radius: 2rem;
  pointer-events: none;
}

.home-page .hero-visual-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 50% 30%, transparent 0%, transparent 56%, rgba(0,0,0,0.20) 100%),
    linear-gradient(180deg, rgba(255, 220, 140, 0.035), rgba(0,0,0,0.02));
  pointer-events: none;
}

.home-page .hero-visual-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  max-height: min(545px, 56vh);
  object-fit: cover;
  object-position: center 48%;
  filter: brightness(1.01) contrast(1.06) saturate(1.03) sepia(0.03);
}

.home-page .hero-visual-card .caption {
  position: relative;
  z-index: 2;
  padding: 0.72rem 0.9rem;
  color: rgba(255, 250, 242, 0.94);
  background: linear-gradient(180deg, rgba(6,5,4,0.42), rgba(6,5,4,0.82));
  border-top: 1px solid rgba(212, 168, 79, 0.13);
  font-size: clamp(0.78rem, 0.82vw, 0.9rem);
  line-height: 1.28;
}

/* Divider: slim, close, and integrated */
.home-page .hero-premium-divider {
  position: relative;
  z-index: 3;
  height: 22px;
  margin-top: -16px;
  overflow: hidden;
  background: transparent;
}

.home-page .hero-premium-divider::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -119px;
  width: 134vw;
  height: 150px;
  transform: translateX(-50%);
  border-bottom: 1px solid rgba(212, 168, 79, 0.34);
  border-radius: 0 0 50% 50%;
}

.home-page .hero-premium-divider span {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 8px;
  height: 8px;
  transform: translateX(-50%) rotate(45deg);
  background: var(--ss-gold-soft);
  box-shadow: 0 0 18px rgba(212, 168, 79, 0.45);
}

.home-page .hero-premium-divider + .section {
  padding-top: clamp(1.3rem, 2vw, 2rem);
}

.home-page .hero-premium-divider + .section .section-title {
  margin-bottom: clamp(1.4rem, 2.2vw, 2.15rem);
}

/* Large desktop */
@media (min-width: 1500px) {
  .home-page .hero {
    min-height: clamp(590px, calc(100vh - var(--ss-header-height) - 92px), 735px);
  }

  .home-page .hero-inner {
    width: min(91vw, 1440px);
  }

  .home-page .hero-visual-card {
    width: clamp(455px, 32vw, 560px);
  }
}

/* Medium desktop/tablet landscape */
@media (max-width: 1180px) and (min-width: 981px) {
  .home-page .hero {
    min-height: clamp(540px, 62vh, 650px);
  }

  .home-page .hero-inner {
    width: min(94vw, 1120px);
    grid-template-columns: minmax(390px, 1fr) minmax(360px, 0.78fr);
    gap: clamp(1.6rem, 3.2vw, 3.2rem);
  }

  .home-page .hero h1 {
    font-size: clamp(3.25rem, 4.65vw, 4.65rem);
  }

  .home-page .hero-copy p {
    max-width: 540px;
  }

  .home-page .hero-visual-card {
    width: clamp(360px, 34vw, 450px);
  }
}

/* Mobile */
@media (max-width: 980px) {
  .home-page .hero {
    min-height: auto;
    padding: 1.6rem 0 1.8rem;
  }

  .home-page .hero::after {
    width: 520px;
    height: 520px;
    right: -18%;
    top: 10%;
    opacity: 0.44;
  }

  .home-page .hero-inner {
    width: min(92vw, 660px);
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .home-page .hero-copy {
    transform: none;
  }

  .home-page .hero .eyebrow {
    margin-bottom: 0.7rem;
  }

  .home-page .hero h1 {
    max-width: 100%;
    font-size: clamp(2.8rem, 10.5vw, 4.4rem);
    line-height: 0.98;
  }

  .home-page .hero-copy p {
    max-width: 94%;
    margin-bottom: 1rem;
  }

  .home-page .button-row {
    flex-direction: column;
    gap: 0.7rem;
    width: 100%;
  }

  .home-page .button,
  .home-page .button-secondary {
    width: 100%;
    min-height: 50px;
  }

  .home-page .hero-visual {
    justify-content: center;
  }

  .home-page .hero-visual-card {
    width: min(100%, 430px);
    transform: none;
  }

  .home-page .hero-visual-card img {
    max-height: 500px;
  }

  .home-page .hero-premium-divider {
    height: 20px;
    margin-top: -7px;
  }

  .home-page .hero-premium-divider + .section {
    padding-top: 1.55rem;
  }
}

@media (max-width: 560px) {
  .home-page .hero {
    padding-top: 1.3rem;
  }

  .home-page .hero h1 {
    font-size: clamp(2.55rem, 12vw, 3.7rem);
  }

  .home-page .hero-visual-card {
    width: min(100%, 380px);
  }

  .home-page .hero-visual-card img {
    max-height: 445px;
  }
}

/* =========================================================
   Version 63 - Reliable premium straight divider
   ========================================================= */

.home-page .hero-premium-divider.hero-premium-divider--straight {
  position: relative;
  z-index: 5;
  height: 18px;
  margin-top: -1px;
  overflow: visible;
  background: linear-gradient(180deg, rgba(5,4,3,0), rgba(5,4,3,0.32));
  pointer-events: none;
}

.home-page .hero-premium-divider--straight .hero-divider-line {
  position: absolute;
  left: 50%;
  top: 50%;
  display: block;
  width: min(92vw, 1320px);
  height: 1px;
  transform: translate(-50%, -50%);
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(212,168,79,0.18) 8%,
    rgba(212,168,79,0.62) 28%,
    rgba(248,218,132,1) 50%,
    rgba(212,168,79,0.62) 72%,
    rgba(212,168,79,0.18) 92%,
    transparent 100%
  );
  box-shadow: 0 0 12px rgba(212,168,79,0.18);
}

.home-page .hero-premium-divider--straight .hero-divider-diamond {
  position: absolute;
  left: 50%;
  top: 50%;
  display: block;
  width: 9px;
  height: 9px;
  transform: translate(-50%, -50%) rotate(45deg);
  background: linear-gradient(135deg, #f8da84, #d4a84f);
  border-radius: 1px;
  box-shadow:
    0 0 0 4px rgba(5,4,3,0.98),
    0 0 18px rgba(212,168,79,0.42);
}

.home-page .hero-premium-divider--straight::before,
.home-page .hero-premium-divider--straight::after {
  display: none !important;
}

.home-page .hero-premium-divider--straight + .section {
  padding-top: clamp(0.8rem, 1.35vw, 1.4rem);
}

@media (max-width: 980px) {
  .home-page .hero-premium-divider.hero-premium-divider--straight {
    height: 14px;
    margin-top: 0;
  }

  .home-page .hero-premium-divider--straight .hero-divider-line {
    width: min(88vw, 680px);
  }

  .home-page .hero-premium-divider--straight .hero-divider-diamond {
    width: 8px;
    height: 8px;
  }
}
