/* =============================================
   ESSENCE — Homepage Styles (page-specific only)
   Shared header, buttons, and modal now live in /css/common.css
   ============================================= */

:root {
  --cream-deep: #ECE5D6;
}

html { scroll-behavior: smooth; }

/* ===== Hero ===== */

.hero {
  max-width: var(--container);
  margin: 0 auto;
  padding: 3.5rem 2rem 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-copy {
  max-width: 480px;
}

.hero-copy .eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold, #B8860B);
  margin-bottom: 1.25rem;
}

.hero-quote {
  margin: 0 0 2.25rem;
  font-family: var(--font-display);
  font-size: 2.15rem;
  line-height: 1.32;
  font-weight: 500;
  color: var(--ink);
}

.hero-image {
  overflow: hidden;
  border-radius: 6px;
  aspect-ratio: 16 / 10;
  width: 100%;
  max-width: 580px;
  justify-self: end;
  background: var(--cream-deep);
  box-shadow: 0 20px 50px -15px rgba(28, 28, 30, 0.14);
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-image:hover img {
  transform: scale(1.035);
}

/* ===== Split banner (For Her / For Him) ===== */

.split-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
}

.banner-card {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  display: block;
}

.banner-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.banner-label {
  position: absolute;
  left: 2rem;
  bottom: 1.75rem;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}



.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 2.25rem;
}

.section-heading h2,
.houses-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 2rem;
  margin: 0;
}

.view-all {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.product-card {
  display: block;
}

.product-image {
  aspect-ratio: 1 / 1;
  background: var(--white);
  overflow: hidden;
  margin-bottom: 1rem;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-house {
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.25rem;
}

.product-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  margin: 0 0 0.3rem;
}

.product-price {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin: 0;
}

/* ===== The Houses ===== */

.houses {
  max-width: var(--container);
  margin: 0 auto;
  padding: 2rem 2rem 5.5rem;
  text-align: center;
}

.houses-title {
  letter-spacing: 0.08em;
  margin-bottom: 2.5rem;
}

.houses-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 3rem;
  row-gap: 1.25rem;
}

.houses-list a {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}

.houses-list a:hover {
  color: var(--gold);
}


/* ===== Responsive (page-specific only) ===== */

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-top: 2.5rem;
  }

  .hero-copy { max-width: 100%; }

  .hero-image {
    max-width: 100%;
    max-height: 480px;
    justify-self: center;
  }

  .split-banner { grid-template-columns: 1fr; }

  .product-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-columns { grid-template-columns: 1fr 1fr; }

  .footer-brand { grid-column: 1 / -1; margin-bottom: 1rem; }
}

@media (max-width: 520px) {
  .hero,
  .houses { padding-left: 1.25rem; padding-right: 1.25rem; }

  .hero-quote { font-size: 1.6rem; }

  .product-grid { grid-template-columns: 1fr 1fr; gap: 1.1rem; }

  .footer-columns { grid-template-columns: 1fr; }

  .footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; }

  .newsletter-form { flex-direction: column; gap: 0.75rem; border-bottom: none; }

  .newsletter-form button { text-align: left; }
}
