@import url("./album.css");

.honza-eliska-intro {
  display: block;
  height: auto;
  aspect-ratio: 1.07;
}

.album-hero--honza-eliska::after {
  background: linear-gradient(90deg, rgb(13 17 11 / 24%), transparent 62%);
}

.album-hero--honza-eliska > img {
  object-position: left;
}

.album-hero__title--honza-eliska {
  right: auto;
  top: 34%;
  left: clamp(18px, 6vw, 38px);
  text-align: left;
}

.album-hero__title--honza-eliska h1 {
  font-size: clamp(55px, 16vw, 82px);
  line-height: 0.83;
  letter-spacing: -0.035em;
}

.album-hero__title--honza-eliska h1 span:last-child {
  margin-top: 11px;
}

.album-hero__title--honza-eliska p {
  margin-top: 13px;
  padding-left: 28%;
  font-size: clamp(11px, 3vw, 14px);
}

.album-portraits--honza-eliska {
  padding-top: clamp(54px, 15vw, 90px);
}

.album-portraits--honza-eliska .album-portraits__hero img {
  object-position: center 42%;
}

.honza-ceremony {
  padding: clamp(54px, 14vw, 82px) 0 clamp(62px, 16vw, 94px);
  color: #fff;
  background: #929e7c;
}

.honza-section-heading {
  position: relative;
  padding: 0 clamp(28px, 9vw, 54px);
  text-align: center;
}

.honza-ceremony .album-ceremony__branch {
  top: clamp(-22px, -4vw, -10px);
  right: clamp(18px, 7vw, 46px);
}

.honza-section-heading h2,
.honza-together__copy h2 {
  margin: 1px 0 0;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(48px, 14vw, 74px);
  font-weight: 400;
  line-height: 0.9;
  text-transform: uppercase;
}

.honza-section-heading > p:first-child,
.honza-together__copy > p:first-child {
  margin: 0 0 16px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.honza-section-heading > span,
.honza-together__copy > span {
  display: block;
  width: 58px;
  height: 1px;
  margin: 17px auto 19px;
  background: currentColor;
  opacity: 0.7;
}

.honza-section-heading > p:last-child {
  margin: 0;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(16px, 4.5vw, 22px);
  font-style: italic;
  line-height: 1.3;
}

.honza-wide-carousel {
  display: flex;
  height: clamp(175px, 48vw, 330px);
  margin-top: clamp(42px, 11vw, 68px);
  gap: clamp(14px, 4vw, 28px);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.honza-wide-carousel::-webkit-scrollbar {
  display: none;
}

.honza-wide-carousel figure {
  width: clamp(270px, 78vw, 560px);
  height: 100%;
  margin: 0;
  overflow: hidden;
  flex: 0 0 auto;
  scroll-snap-align: center;
}

.honza-slider-indicator--light button {
  border-color: rgb(255 255 255 / 85%);
}

.honza-slider-indicator--light button.is-active {
  background: #fff;
}

.honza-ceremony__story {
  display: grid;
  padding: clamp(58px, 15vw, 92px) clamp(22px, 7vw, 44px) 0;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.88fr);
  gap: clamp(22px, 7vw, 46px);
}

.honza-ceremony__story figure {
  height: clamp(180px, 58vw, 390px);
  margin: 0;
  overflow: hidden;
}

.honza-ceremony__story > figure:last-child {
  margin-top: clamp(38px, 10vw, 64px);
  grid-column: 1 / -1;
}

.honza-ceremony__copy p {
  margin: 0;
  font-size: clamp(11px, 3vw, 15px);
  line-height: 1.45;
}

.honza-ceremony__copy .honza-script {
  margin-bottom: clamp(18px, 5vw, 28px);
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(24px, 7vw, 38px);
  font-style: italic;
  line-height: 1;
}

.honza-together {
  padding: clamp(62px, 16vw, 96px) 0 clamp(64px, 16vw, 100px);
  background: var(--album-paper);
}

.honza-together__lead {
  display: grid;
  padding: 0 clamp(24px, 7vw, 48px);
  align-items: center;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(24px, 7vw, 50px);
}

.honza-together__lead figure {
  height: clamp(270px, 82vw, 520px);
  margin: 0;
  overflow: hidden;
}

.honza-together__copy h2 {
  color: #8c9877;
}

.honza-together__copy > span {
  margin-right: 0;
  margin-left: 0;
  color: #8c9877;
}

.honza-together__copy > p:last-child {
  margin: 0;
  font-size: clamp(11px, 3vw, 16px);
  line-height: 1.45;
}

.honza-together__carousel {
  margin-top: clamp(58px, 14vw, 88px);
}

.honza-fun {
  padding: clamp(62px, 16vw, 96px) 0 clamp(64px, 16vw, 100px);
  overflow: hidden;
  color: #fff;
  background: #929e7c;
}

.honza-fun__carousel {
  margin-top: clamp(48px, 12vw, 76px);
}

.honza-ceremony figure img,
.honza-together figure img,
.honza-fun figure img {
  transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.honza-ceremony figure:hover img,
.honza-together figure:hover img,
.honza-fun figure:hover img {
  transform: scale(1.025);
}

@media (min-width: 1024px) {
  .honza-eliska-intro {
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    aspect-ratio: auto;
  }

  .album-hero--honza-eliska,
  .album-hero--honza-eliska > img {
    width: 100%;
    height: 100vh;
  }

  .album-hero--honza-eliska > img {
    object-fit: cover;
  }

  .album-hero__title--honza-eliska {
    top: 31%;
    left: clamp(70px, 8vw, 130px);
  }

  .album-hero__title--honza-eliska h1 {
    font-size: clamp(88px, 8.5vw, 138px);
  }

  .honza-together,
  .honza-fun {
    width: min(100%, 1280px);
    margin: 0 auto;
  }

  .honza-ceremony {
    width: 100%;
  }

  .honza-section-heading h2,
  .honza-together__copy h2 {
    font-size: clamp(72px, 7vw, 104px);
  }

  .honza-wide-carousel {
    height: clamp(310px, 32vw, 440px);
    gap: clamp(20px, 2.5vw, 38px);
  }

  .honza-wide-carousel figure {
    width: clamp(520px, 57vw, 760px);
  }

  .honza-ceremony__story {
    width: min(100%, 1040px);
    padding: clamp(80px, 9vw, 120px) clamp(54px, 6vw, 84px) 0;
    margin: 0 auto;
    grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  }

  .honza-ceremony__story figure {
    height: clamp(340px, 34vw, 480px);
  }

  .honza-ceremony__story > figure:last-child {
    height: clamp(420px, 52vw, 650px);
  }

  .honza-together__lead {
    width: min(100%, 1060px);
    padding: 0 clamp(54px, 6vw, 84px);
    margin: 0 auto;
    gap: clamp(60px, 7vw, 100px);
  }

  .honza-together__lead figure {
    height: min(72svh, 760px);
  }
}
