*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: #fff;
  color: #000;
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.landing {
  --content-padding: 20px;
  --section-gap: clamp(40px, 4.2vw, 80px);
  --text-gap: clamp(24px, 2.6vw, 50px);

  max-width: 1300px;
  margin: 0 auto;
  padding: 200px var(--content-padding) clamp(56px, 6vw, 120px);
}

.landing__intro {
  text-align: center;
  margin-bottom: var(--section-gap);
}

.landing__subtitle {
  margin: 0 0 clamp(20px, 2.5vw, 40px);
  font-size: clamp(14px, 1.67vw, 32px);
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: 0.01em;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.landing__title {
  margin: 0;
  font-size: clamp(36px, 3.33vw, 64px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.landing__gallery {
  display: grid;
  gap: 0;
  margin-bottom: var(--section-gap);
}

.landing__gallery--duo {
  grid-template-columns: repeat(2, 1fr);
}

.landing__gallery--grid {
  grid-template-columns: repeat(2, 1fr);
}

.landing__gallery--triple {
  grid-template-columns: repeat(3, 1fr);
}

.landing__figure {
  margin: 0;
  overflow: hidden;
}

.landing__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 790 / 979;
}

.landing__gallery--grid .landing__figure img {
  aspect-ratio: 790 / 1069;
}

.landing__gallery--triple .landing__figure img {
  aspect-ratio: 527 / 713;
}

.landing__text {
  max-width: 1580px;
  margin: 0 0 var(--section-gap);
  font-size: clamp(14px, 1.67vw, 32px);
  font-weight: 300;
  line-height: 1.55;
}

.landing__text p {
  margin: 0 0 var(--text-gap);
}

.landing__text p:last-child {
  margin-bottom: 0;
}

.landing__hero {
  position: relative;
  overflow: hidden;
}

.landing__hero-image {
  width: 100%;
  aspect-ratio: 1580 / 979;
  object-fit: cover;
}

.landing__hero-brand {
  position: absolute;
  right: clamp(16px, 7.5vw, 144px);
  bottom: clamp(24px, 4vw, 76px);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  color: #fff;
  text-align: right;
  pointer-events: none;
}

.landing__hero-brand-title {
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(28px, 4.2vw, 80px);
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1;
}

.landing__hero-brand-subtitle {
  margin-top: 0.35em;
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(8px, 1.1vw, 20px);
  font-weight: 300;
  letter-spacing: 0.22em;
  line-height: 1;
}

@media (max-width: 900px) {
  .landing__gallery--triple {
    /* grid-template-columns: repeat(2, 1fr); */
  }

  .landing__gallery--triple .landing__figure:last-child {
    grid-column: 1 / -1;
    max-width: 50%;
    margin-inline: auto;
  }
}

@media (max-width: 640px) {
  .landing {
    --section-gap: 36px;
    --text-gap: 20px;
    padding-top: 170px;
    padding-bottom: 48px;

  }

  .landing__intro {
    margin-bottom: 32px;
  }

  .landing__subtitle {
    font-size: 13px;
    margin-bottom: 16px;
  }

  .landing__title {
    font-size: 32px;
  }

  .landing__gallery--duo,
  .landing__gallery--grid,
  .landing__gallery--triple {
    /* grid-template-columns: 1fr; */
  }

  .landing__gallery--triple .landing__figure:last-child {
    grid-column: auto;
    max-width: none;
    margin-inline: 0;
  }

  .landing__text {
    font-size: 14px;
    line-height: 1.6;
  }

  .landing__hero-brand {
    right: 16px;
    bottom: 20px;
  }
}

@media (min-width: 1921px) {
  .landing__subtitle,
  .landing__text {
    font-size: 32px;
  }

  .landing__title {
    font-size: 64px;
  }
}
