.home-hero {
  position: relative;
  min-height: clamp(620px, 78vh, 790px);
  overflow: hidden;
  background: #1a1917;
  color: #f6f2ea
}

.home-hero__slides,
.home-hero__slide,
.home-hero__image,
.home-hero__wash {
  position: absolute;
  inset: 0
}

.home-hero__slide {
  opacity: 0;
  visibility: hidden;
  transition: opacity .9s cubic-bezier(.23, 1, .32, 1), visibility 0s linear .9s
}

.home-hero__slide.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity .9s cubic-bezier(.23, 1, .32, 1)
}

.home-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.82) contrast(1.04)
}

.home-hero__wash {
  background: linear-gradient(90deg, rgba(18, 18, 16, .9) 0%, rgba(18, 18, 16, .69) 37%, rgba(18, 18, 16, .14) 72%, rgba(18, 18, 16, .32) 100%)
}

.home-hero__copy {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: center;
  min-height: clamp(620px, 78vh, 790px);
  max-width: 780px;
  padding: 92px 6vw 136px
}

.home-hero__copy .eyebrow {
  color: rgba(255, 250, 240, .72)
}

.home-hero__copy h1 {
  max-width: 720px;
  margin: 18px 0 18px;
  font-family: 'Playfair Display', var(--serif);
  font-size: clamp(48px, 6.4vw, 86px);
  font-weight: 500;
  line-height: .97;
  letter-spacing: -.055em
}

.home-hero__copy p {
  max-width: 430px;
  margin: 0;
  color: rgba(255, 250, 240, .78);
  font-size: 15px;
  line-height: 1.65
}

.home-hero__actions {
  display: flex;
  gap: 11px;
  flex-wrap: wrap;
  margin-top: 42px
}

.home-hero__actions .cta {
  padding: 14px 18px;
  border-radius: 999px;
  transition: transform .18s var(--ease), background .18s var(--ease), color .18s var(--ease)
}

.home-hero__actions .cta:hover {
  transform: translateY(-2px)
}

.home-hero__actions .cta svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round
}

.home-hero__actions .cta.primary {
  border-color: #f6f2ea;
  background: #f6f2ea;
  color: #292724
}

.home-hero__actions .cta.ghost {
  border-color: rgba(255, 248, 232, .7);
  background: rgba(18, 18, 16, .14)
}

.hero-carousel__controls {
  position: absolute;
  z-index: 3;
  bottom: 32px;
  left: 6vw;
  right: 6vw;
  display: flex;
  justify-content: space-between;
  align-items: center
}

.hero-carousel__dots {
  display: flex;
  align-items: center;
  gap: 8px
}

.hero-carousel__dot {
  width: 28px;
  height: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer
}

.hero-carousel__dot::after {
  display: block;
  width: 100%;
  height: 2px;
  content: '';
  background: rgba(255, 250, 240, .42);
  transition: width .28s var(--ease), background .28s var(--ease)
}

.hero-carousel__dot[aria-current="true"]::after {
  background: #f6f2ea
}

.hero-carousel__counter {
  font: 10px var(--mono);
  letter-spacing: .13em;
  color: rgba(255, 250, 240, .74)
}

.home-featured {
  padding-top: 66px;
  padding-bottom: 72px
}

.home-featured .section-top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px
}

.home-featured .section-top h2 {
  margin: 9px 0 0
}

.polaroid-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
  align-items: start
}

.polaroid-card {
  position: relative;
  display: block;
  max-width: 305px;
  margin-inline: auto;
  padding: 10px 10px 51px;
  background: #fefdf9;
  box-shadow: 0 16px 32px rgba(51, 43, 34, .16), 0 2px 0 rgba(255, 255, 255, .9);
  transform: rotate(var(--polaroid-tilt));
  transition: transform .3s var(--ease), box-shadow .3s var(--ease)
}

.polaroid-card:nth-child(2) {
  --polaroid-tilt: 1.5deg;
  margin-top: 24px
}

.polaroid-card:nth-child(3) {
  --polaroid-tilt: -2deg;
  margin-top: 7px
}

.polaroid-card:nth-child(odd) {
  --polaroid-tilt: -1.5deg
}

.polaroid-card:hover {
  transform: translateY(-9px) rotate(0deg);
  box-shadow: 0 23px 44px rgba(51, 43, 34, .23), 0 2px 0 rgba(255, 255, 255, .9)
}

.polaroid-card__image {
  aspect-ratio: 4/5;
  overflow: hidden;
  background: #dfd7c9
}

.polaroid-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s cubic-bezier(.23, 1, .32, 1)
}

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

.polaroid-card h3 {
  position: absolute;
  right: 14px;
  bottom: 13px;
  left: 14px;
  margin: 0;
  text-align: center;
  font: 500 19px/1.05 var(--serif)
}

.manifesto--compact {
  gap: 36px;
  padding: 62px max(6vw, 24px)
}

.manifesto--compact .photo-frame {
  height: 214px
}

.manifesto--compact p {
  margin: 12px 0 20px
}

.manifesto--compact .cta {
  border-radius: 999px
}

.portfolio-invite {
  display: grid;
  place-items: center;
  min-height: 360px;
  padding: 72px 24px;
  background: radial-gradient(circle at 50% 0%, #f8f3ea 0%, #e6ddd0 100%);
  text-align: center
}

.portfolio-invite__inner {
  max-width: 650px
}

.portfolio-invite h2 {
  margin: 12px 0 16px;
  font-size: clamp(38px, 5vw, 66px)
}

.portfolio-invite p {
  max-width: 470px;
  margin: 0 auto 27px;
  color: rgba(25, 26, 26, .65);
  line-height: 1.6
}

.portfolio-invite .cta {
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper)
}

@media(max-width:760px) {

  .home-hero,
  .home-hero__copy {
    min-height: 650px
  }

  .home-hero__copy {
    padding: 88px 24px 116px
  }

  .home-hero__copy h1 {
    font-size: clamp(44px, 12vw, 62px)
  }

  .home-hero__actions {
    margin-top: 32px
  }

  .home-hero__actions .cta {
    width: 100%;
    justify-content: center
  }

  .hero-carousel__controls {
    right: 24px;
    bottom: 23px;
    left: 24px
  }

  .home-featured {
    padding-top: 54px;
    padding-bottom: 58px
  }

  .home-featured .section-top {
    display: block
  }

  .polaroid-grid {
    grid-template-columns: 1fr;
    gap: 23px
  }

  .polaroid-card,
  .polaroid-card:nth-child(2),
  .polaroid-card:nth-child(3) {
    max-width: min(310px, 88vw);
    margin-top: 0
  }

  .manifesto--compact {
    padding: 52px 24px
  }

  .portfolio-invite {
    min-height: 320px;
    padding: 58px 24px
  }
}
