/* Responsive visual refinements for the landing page */

/* Keep the selection image stable while the layout moves from two columns
   to one column. A fluid height avoids the visible size jump around tablet
   widths, while object-fit preserves the crop. */
.selection-image {
  min-height: 0;
  height: clamp(300px, 31vw, 440px);
}

.selection-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

/* Keep the hero copy crisp over the beige photography without turning it
   into a visible card on desktop. */
.hero-copy h1 {
  color: #15120f;
}

.hero-copy .lead {
  color: #514b44;
}

/* Slightly deeper antique-gold tone than the global brand gold so the
   eyebrow stays readable over the light beige hero on desktop. */
.hero-copy .eyebrow {
  color: #87652f;
  font-weight: 600;
  text-shadow: 0 1px 10px rgba(246, 246, 246, .72);
}

@media (max-width: 900px) {
  .selection-image {
    height: clamp(300px, 42vw, 380px);
  }

  .hero-copy {
    width: min(72%, 610px);
    padding-right: 34px;
    padding-bottom: 38px;
    background: linear-gradient(
      90deg,
      rgba(246, 246, 246, .76) 0%,
      rgba(246, 246, 246, .58) 70%,
      rgba(246, 246, 246, 0) 100%
    );
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
  }

  .hero-copy h1 {
    font-size: clamp(44px, 6.8vw, 64px);
    line-height: 1.06;
  }

  .hero-copy .lead {
    max-width: 420px;
    font-size: 14px;
    line-height: 1.7;
  }
}

@media (max-width: 760px) {
  .selection-image {
    height: clamp(290px, 56vw, 390px);
  }

  /* On tablet / narrow desktop, keep the three showroom images compact
     instead of letting the old min-height make them disproportionately tall. */
  .showroom-gallery {
    min-height: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .showroom-gallery img {
    width: 100%;
    height: clamp(155px, 25vw, 215px);
    object-fit: cover;
    object-position: center;
  }

  .hero-copy {
    width: min(82%, 570px);
    padding-right: 30px;
    padding-bottom: 34px;
    background: linear-gradient(
      90deg,
      rgba(246, 246, 246, .84) 0%,
      rgba(246, 246, 246, .66) 76%,
      rgba(246, 246, 246, .10) 100%
    );
  }

  .hero-copy h1 {
    font-size: clamp(39px, 8vw, 52px);
    line-height: 1.04;
  }

  .hero-copy .eyebrow {
    font-size: 10px;
    letter-spacing: .11em;
  }

  .hero-copy .lead {
    max-width: 360px;
    font-size: 13px;
    line-height: 1.62;
  }

  .hero-copy .gold-line {
    margin: 22px 0;
  }
}

@media (max-width: 640px) {
  /* On phones, use one restrained editorial image per row.
     This avoids three very tall photos taking over the whole page. */
  .showroom-gallery {
    grid-template-columns: 1fr;
    gap: 8px;
    min-height: 0;
  }

  .showroom-gallery img {
    height: clamp(190px, 48vw, 250px);
    object-fit: cover;
    object-position: center;
  }

  .hero-copy {
    width: min(88%, 500px) !important;
    margin-right: auto;
    padding: 98px 20px 20px 20px !important;
    background: linear-gradient(
      90deg,
      rgba(246, 246, 246, .88) 0%,
      rgba(246, 246, 246, .68) 70%,
      rgba(246, 246, 246, .06) 100%
    );
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
  }

  .hero {
    min-height: 640px !important;
  }

  .hero-image {
    object-position: 68% bottom !important;
  }

  .hero-copy h1 {
    font-size: clamp(35px, 9.6vw, 44px);
    max-width: 420px;
  }

  .hero-copy .lead {
    max-width: 310px;
    font-size: 12.5px;
    line-height: 1.55;
  }

  .hero-copy .gold-line {
    margin: 16px 0;
  }

  .hero-copy .button {
    margin-top: 12px;
    padding: 13px 17px;
    font-size: 9.5px;
  }
}

@media (max-width: 480px) {
  .selection-image {
    height: clamp(260px, 72vw, 320px);
  }

  .selection-image img {
    object-position: 50% 52%;
  }

  .showroom-gallery img {
    height: clamp(175px, 50vw, 220px);
  }

  .hero {
    min-height: 600px !important;
  }

  .hero-copy {
    width: 86% !important;
    padding: 92px 18px 18px 18px !important;
  }

  .hero-copy h1 {
    font-size: clamp(33px, 10vw, 40px);
  }
}

@media (max-width: 420px) {
  /* On very small phones, preserve the brand statement and CTA but remove
     the supporting sentence so the hero stays readable and uncluttered. */
  .hero-copy .lead {
    display: none;
  }

  .hero-copy {
    padding-bottom: 18px !important;
  }

  .hero {
    min-height: 570px !important;
  }
}
