.creations-hero {
  overflow: hidden;
  padding-bottom: 88px;
}

.creations-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 0.72fr);
  gap: 58px;
  align-items: center;
}

.creations-hero-copy p {
  max-width: 620px;
}

.creations-hero-photos {
  position: relative;
  min-height: 470px;
}

.creations-hero-photos img {
  border: 1px solid rgba(221, 177, 113, 0.24);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
}

.hero-photo-main {
  width: calc(100% - 92px);
  height: 430px;
}

.hero-photo-side {
  position: absolute;
  right: 0;
  bottom: -28px;
  width: min(42%, 210px);
  height: 330px;
}

.creations-intro-section {
  padding: 50px 0;
  border-top: 1px solid rgba(221, 177, 113, 0.14);
  border-bottom: 1px solid rgba(221, 177, 113, 0.14);
  background: rgba(32, 40, 29, 0.16);
}

.creations-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.72fr);
  gap: 42px;
  align-items: center;
}

.creations-intro .section-intro {
  max-width: 620px;
}

.creations-intro h2 {
  font-size: 40px;
}

.creations-intro p,
.creations-gallery-copy p {
  color: var(--muted);
  font-size: 18px;
}

.creations-board-section {
  padding-top: 78px;
}

.creations-board-heading {
  max-width: 680px;
  margin-bottom: 30px;
}

.creations-photo-board {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 118px;
  grid-auto-flow: dense;
  gap: 16px;
}

.photo-tile {
  position: relative;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(221, 177, 113, 0.22);
  border-radius: var(--radius);
  background: rgba(20, 25, 18, 0.45);
}

.photo-tile::after {
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  content: "";
  background: linear-gradient(to top, rgba(16, 19, 14, 0.78), transparent);
  pointer-events: none;
}

.photo-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease;
}

.photo-tile:hover img {
  transform: scale(1.035);
}

.photo-tile figcaption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 1;
  color: var(--text);
  font-weight: 800;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.tile-large {
  grid-column: span 5;
  grid-row: span 5;
}

.tile-wide {
  grid-column: span 7;
  grid-row: span 2;
}

.tile-portrait {
  grid-column: span 3;
  grid-row: span 3;
}

.tile-detail {
  grid-column: span 4;
  grid-row: span 3;
}

.tile-tall {
  grid-column: span 4;
  grid-row: span 4;
}

.creations-gallery-section {
  padding-top: 24px;
}

.creations-gallery-layout {
  display: grid;
  grid-template-columns: minmax(270px, 0.4fr) minmax(0, 1fr);
  gap: 46px;
  align-items: start;
}

.creations-gallery-copy {
  position: sticky;
  top: 106px;
}

.creations-gallery-copy p {
  margin-top: 18px;
}

.creations-mosaic {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: 138px;
  grid-auto-flow: dense;
  gap: 16px;
}

.creations-mosaic img {
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 1px solid rgba(221, 177, 113, 0.2);
  border-radius: var(--radius);
  object-fit: cover;
}

.creations-mosaic img {
  grid-column: span 2;
  grid-row: span 2;
}

.creations-mosaic .mosaic-tall {
  grid-row: span 3;
}

.creations-mosaic .mosaic-wide {
  grid-column: span 4;
}

@media (max-width: 1040px) {
  .creations-hero-grid,
  .creations-intro,
  .creations-gallery-layout {
    grid-template-columns: 1fr;
  }

  .creations-hero-grid {
    gap: 34px;
  }

  .creations-hero-photos {
    min-height: 390px;
  }

  .hero-photo-main {
    width: 82%;
    height: 360px;
  }

  .hero-photo-side {
    width: min(34%, 180px);
    height: 285px;
  }

  .creations-gallery-copy {
    position: static;
  }

  .creations-photo-board,
  .creations-mosaic {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-auto-rows: 112px;
  }
}

@media (max-width: 720px) {
  .creations-hero {
    padding-bottom: 64px;
  }

  .creations-hero-photos {
    min-height: 320px;
  }

  .hero-photo-main {
    width: 88%;
    height: 286px;
  }

  .hero-photo-side {
    width: 36%;
    height: 220px;
    bottom: -18px;
  }

  .creations-photo-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 178px;
  }

  .tile-large,
  .tile-wide,
  .tile-portrait,
  .tile-detail,
  .tile-tall {
    grid-column: span 1;
    grid-row: span 1;
  }

  .tile-large,
  .tile-wide {
    grid-column: span 2;
  }

  .creations-mosaic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 176px;
  }

  .creations-mosaic img,
  .creations-mosaic .mosaic-wide,
  .creations-mosaic .mosaic-tall {
    grid-column: span 1;
    grid-row: span 1;
  }
}

@media (max-width: 460px) {
  .creations-photo-board,
  .creations-mosaic {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
  }

  .tile-large,
  .tile-wide {
    grid-column: span 1;
  }
}
