/* Homepage-only layout */

/* ============================ FULL-WIDTH HERO ============================
   Blueprint: full-width images of the featured products. The photograph fills
   the slide; copy sits on a soft ink gradient at the left. Dedicated wide
   crops live in assets/img/photos/hero/. */

.hero-slide { position: relative; display: block; min-height: clamp(520px, 62vh, 720px); }
.hero-media { position: absolute; inset: 0; }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 56% 50%; }
.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(31, 29, 27, 0.86) 0%, rgba(31, 29, 27, 0.62) 34%, rgba(31, 29, 27, 0.08) 62%, rgba(31, 29, 27, 0) 100%),
    linear-gradient(0deg, rgba(31, 29, 27, 0.55), rgba(31, 29, 27, 0) 40%);
  pointer-events: none;
}
.hero-panel {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: inherit;
  padding: 72px clamp(28px, 4vw, 72px) 96px max(84px, calc((100vw - var(--container-wide)) / 2 + 15px));
}
.hero-panel .hero-copy { max-width: 600px; }
.hero-panel .eyebrow { color: #c9a45c; letter-spacing: 3.2px; }
.hero-panel h2 { font-size: clamp(34px, 5vw, 68px); }
.hero-panel p { max-width: 480px; }

@media (max-width: 820px) {
  .hero-slide { min-height: 520px; }
  .hero-media img { object-position: 58% 46%; }
  .hero-media::before {
    background:
      linear-gradient(0deg, rgba(31, 29, 27, 0.92) 0%, rgba(31, 29, 27, 0.55) 36%, rgba(31, 29, 27, 0) 60%);
  }
  .hero-panel { align-items: flex-end; padding: 26px 20px 70px; }
}

/* ============================ SECTIONS ============================ */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px 26px;
}

@media (max-width: 1000px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .blog-grid { grid-template-columns: 1fr; } }

/* the boutique split runs image-left, copy-right with a touch more air */
.editorial-body h2 { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.22; }

/* gifting banner uses a bright interior shot, so lay a scrim under the copy */
.bg-beige .banner-block { border-radius: var(--radius-lg); }

.home-gift .banner-block::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(31, 29, 27, 0.82), rgba(31, 29, 27, 0.38) 52%, rgba(31, 29, 27, 0.05));
}

.home-gift .banner-copy { z-index: 2; }

/* brand ribbon — storefront strip with the house line over a scrim */
.home-ribbon { position: relative; }

.home-ribbon::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(31, 29, 27, 0.62);
}

.home-ribbon .ribbon-word {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  padding-inline: 20px;
  font-family: var(--font-serif);
  font-size: clamp(17px, 2.4vw, 26px);
  letter-spacing: 3px;
  text-transform: uppercase;
  text-align: center;
  color: var(--cream-light);
}

/* spotlight rail keeps four across on desktop and never looks empty */
.spotlight-track:empty { min-height: 146px; }


/* ============================ INSTAGRAM GRID ============================ */

.ig-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.ig-grid .ig-card { aspect-ratio: 1 / 1; }
@media (max-width: 980px) { .ig-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .ig-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }
