/* Dreams ? Influencer Landing */

:root {
  --color-mint: #aaddbd;
  --color-text: #1a1a1a;
  --color-muted: #999;
  --color-border: #e0e0e0;
  --font-main: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --container-max: 1200px;
  --section-gap: clamp(48px, 8vw, 96px);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: min(100% - 32px, var(--container-max));
  margin-inline: auto;
}

/* ?? Hero ?? */

.hero {
  width: 100%;
  margin-top: 200px;
}

.hero__inner {
  display: grid;
  grid-template-columns: 52.96875% 1fr;
  align-items: stretch;
}

.hero__collage {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top;
}

.hero__banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--color-mint);
  padding: 24px;
  text-align: center;
  min-height: 100%;
}

.hero__title {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: clamp(1.125rem, 2.2vw, 2.25rem);
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero__title-line {
  display: block;
}

.hero__subtitle {
  margin: 0;
  font-size: clamp(0.875rem, 1.4vw, 1.25rem);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (max-width: 767px) {
  .hero {
    margin-top: 150px;
  }
  .hero__inner {
    grid-template-columns: 1fr;
  }

  .hero__banner {
    order: -1;
    min-height: 250px;
  }
}

/* ?? Intro ?? */

.intro {
  padding: var(--section-gap) 0;
}

.intro__text {
  margin: 0 auto;
  max-width: 820px;
  text-align: center;
  font-size: clamp(0.9375rem, 1.5vw, 1.125rem);
  line-height: 1.75;
  font-weight: 300;
}

/* ?? Look sections ?? */

.look {
  padding-bottom: var(--section-gap);
}

.look:last-of-type {
  padding-bottom: clamp(64px, 10vw, 120px);
}

.look + .look {
  border-top: 1px solid var(--color-border);
  padding-top: var(--section-gap);
}

@media (max-width: 767px) {
  .look:first-of-type {
    border-top: 1px solid var(--color-border);
    padding-top: var(--section-gap);
  }
}

.look__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 5vw, 48px);
  align-items: start;
}

.look--reverse .look__grid {
  direction: ltr;
}

.look__products {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 3vw, 32px);
  align-items: start;
}

.look__visual {
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 4vw, 32px);
}

.look__photo {
  width: 100%;
  overflow: hidden;
}

.look__photo img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.look__info {
  max-width: 520px;
}

.look__heading {
  margin: 0 0 16px;
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  font-weight: 500;
  line-height: 1.35;
}

.look__desc {
  margin: 0;
  font-size: clamp(0.875rem, 1.2vw, 1rem);
  line-height: 1.7;
  font-weight: 300;
  color: #333;
}

.look__info--wide {
  max-width: none;
}

.look__info--mobile {
  display: none;
}

@media (max-width: 767px) {
  .look__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "heading heading"
      "desc desc"
      "photo photo"
      "products products";
    gap: clamp(20px, 4vw, 32px);
  }

  .look__visual,
  .look__info:not(.look__info--desktop),
  .look__info--mobile {
    display: contents;
  }

  .look__info--desktop {
    display: none;
  }

  .look__heading {
    grid-area: heading;
    max-width: none;
    margin-bottom: 0;
  }

  .look__desc {
    grid-area: desc;
  }

  .look__photo {
    grid-area: photo;
  }

  .look__products {
    grid-area: products;
  }
}

@media (min-width: 768px) {
  .look__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: none;
    gap: clamp(32px, 4vw, 64px);
  }

  .look__info--mobile {
    display: none;
  }

  .look__info--desktop {
    grid-column: 1 / -1;
    margin-top: 24px;
  }

  .look--reverse .look__grid {
    align-items: start;
  }
}

@media (min-width: 1024px) {
  .look__grid {
    grid-template-columns: 6fr 6fr;
    align-items: center;
  }

  .look--reverse .look__grid {
    align-items: center;
  }
}

/* ?? Product card ?? */

.product {
  text-align: center;
}

.product__image {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin-bottom: 12px;
  background: #fff;
}

.product__image img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: clamp(180px, 22vw, 260px);
}

.product__name {
  margin: 0 0 6px;
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.product__price {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
  text-align: center;
}

.product__price-old {
  margin-left: 8px;
  color: var(--color-muted);
  font-weight: 400;
  text-decoration: line-through;
}

/* ?? Complete the look ?? */

.complete-look {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 3vw, 32px);
  align-items: center;
  margin-top: 8px;
}

.complete-look__label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  font-size: clamp(0.75rem, 1.2vw, 0.875rem);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.complete-look__arrow {
  display: block;
  width: clamp(80px, 15vw, 140px);
  height: 1px;
  background: var(--color-text);
  position: relative;
}

.complete-look__arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 1px solid var(--color-text);
  border-top: 1px solid var(--color-text);
  transform: translateY(-50%) rotate(45deg);
}

.complete-look .product {
  grid-column: 2;
}

@media (max-width: 767px) {
  .complete-look {
    display: contents;
  }

  .complete-look .product {
    grid-column: auto;
  }

  .complete-look__label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 12px;
    min-height: clamp(180px, 22vw, 260px);
    padding: 8px;
  }

  .complete-look__arrow {
    width: clamp(60px, 20vw, 100px);
  }
}
