/* ---- shared container ---------- */
.hero,
.gallery {
  width: min(1100px, 90%);
  margin-left: auto;
  margin-right: auto;
}

/* ----- hero -------- */
.hero {
  display: block;
  min-height: 0;
  padding: clamp(56px, 9vw, 115px) 0 clamp(40px, 6vw, 90px);
}
.label{
  margin-bottom: clamp(18px, 2.5vw, 28px);
  color: #c9a24b;
  font-size: 10px;
  letter-spacing: 0.2em;
  font-weight: bold;
  text-transform: uppercase;
}
.hero h1{
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(44px, 8vw, 96px);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: #f5efe6;
}

.hero h1 em {
  display: block;
  color: #c9a24b;
  font-family: "Cormorant Garamond", "Playfair Display", serif;
  font-style: italic;
}
.intro{
  width: 420px;
  max-width: 100%;
  margin-top: clamp(20px, 3vw, 30px);
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.6;
  color: #b9ab98;
}

/* -------- gallery--------- */
.gallery {
  margin-bottom: clamp(50px, 7vw, 90px);
  display: grid;
  grid-template-columns: 1.05fr 0.75fr 1fr;
  grid-auto-rows: clamp(180px, 20vw, 240px);
  gap: clamp(10px, 1.5vw, 15px);
}
.card {
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background-color: #3b2a22;
  background-size: cover;
  background-position: center;
}

.card::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 110px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.65));
}

.caption {
  position: relative;
  z-index: 1;
  padding: 0 18px 18px;
  font-size: 12px;
  font-weight: 500;
  color: #ffffff;
  transition: color 0.3s;
}

/* sizes */
.tall{
   grid-row: span 2; 
  }
   .wide{ 
  grid-column: span 2; 
}
  .wide2 {
    grid-column: span 2; 
  }

.c1 {
  background-color: #cfc3b5;
  background-image: url("images/gallery/gallery9.jpg");
}
.c2 {
  background-color: #6b3b2f;
  background-image: url("images/gallery/gallery2.jpg");
}
.c3 {
  background-color: #b98a5a;
  background-image: url("images/gallery/gallery3.jpg");
}
.c4 {
  background-color: #7d8a8f;
  background-image: url("images/gallery/gallery5.jpg");
}
.c5 {
  background-color: #4a3a35;
  background-image: url("images/gallery/gallery7.jpg");
}
.c6 {
  background-color: #6a4a35;
  background-image: url("images/gallery/gallery6.jpg");
}
.c7 {
  background-color: #b98a5a;
  background-image: url("images/gallery/gallery1.jpg");
}
.c8 {
  background-color: #b98a5a;
  background-image: url("images/gallery/gallery4.jpeg");
}
.c9 {
  background-color: #b98a5a;
  background-image: url("images/gallery/gallery8.jpeg");
}
.card:hover {
  transform: scale(1.02);
  transition: transform 0.3s;
}

.card:hover .caption {
  color: #c9a24b;
  transform: scale(1.05);
}

/* --------phones (360px) ---------- */
@media (max-width: 360px) {
  .hero h1 {
    font-size: 44px;
  }

  .gallery {
    grid-auto-rows: 200px;
  }
}
