:root {
  color-scheme: light;
  --peach: #fce8df;
  --plum: #522138;
  --berry: #7d2c4f;
  --line: #dcb3ad;
  font-family: 'Noto Sans', Arial, sans-serif;
  background: var(--peach);
  color: var(--plum);
}

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

body, p, h1, h2, ul {
  margin: 0;
}

img {
  display: block;
}

.page {
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
}

.content {
  display: grid;
  align-content: center;
  padding: clamp(1.75rem, 6vw, 3.25rem) clamp(1.25rem, 6vw, 3.5rem) 1.75rem;
}

.brand-logo {
  width: clamp(9rem, 29vw, 11.75rem);
  height: auto;
}

.intro {
  margin-top: clamp(2.25rem, 6vw, 4.25rem);
}

.product {
  margin-bottom: 0.8rem;
  color: var(--berry);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

h1 {
  font-family: 'Noto Sans Display', 'Noto Sans', Arial, sans-serif;
  font-size: clamp(2.8rem, 10.9vw, 5rem);
  font-weight: 700;
  line-height: 0.99;
  letter-spacing: -0.042em;
}

.contacts {
  margin-top: clamp(1.75rem, 5vw, 3rem);
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}

.contacts h2 {
  margin-bottom: 0.5rem;
  color: var(--berry);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
}

.contacts address {
  font-style: normal;
}

.contact-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.125rem 1rem;
  padding: 0;
  list-style: none;
}

.contact-list li:nth-child(-n + 2) {
  grid-column: 1 / -1;
}

.contact {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.75rem;
  color: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
  text-underline-offset: 0.25em;
}

.contact svg {
  width: 1.25rem;
  height: 1.25rem;
  flex: none;
  color: var(--berry);
}

.contact span {
  overflow-wrap: anywhere;
}

.contact:hover,
.contact:focus-visible {
  text-decoration: underline;
}

.contact:focus-visible {
  outline: 2px solid var(--berry);
  outline-offset: 4px;
  border-radius: 2px;
}

.palette {
  width: 7.5rem;
  height: 0.3rem;
  margin-top: clamp(1.5rem, 5vw, 3.5rem);
  background: linear-gradient(90deg,
    #f4c8b7 0 23%, transparent 23% 26%,
    #dce4c2 26% 49%, transparent 49% 52%,
    #edcad8 52% 75%, transparent 75% 78%,
    #cce4e8 78% 100%);
}

.mixes {
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #f3d9df radial-gradient(ellipse at 52% 49%, #fff9f0 5%, #f3d9df 78%);
}

.mixes-layout {
  position: relative;
  width: min(100%, 32rem);
  aspect-ratio: 1;
}

.mix {
  position: absolute;
  top: var(--y);
  left: var(--x);
  width: var(--size);
  height: auto;
  transform: translate(-50%, -50%) rotate(var(--tilt));
  filter: drop-shadow(0.4rem 0.7rem 0.65rem rgb(82 33 56 / 18%));
}

.mix-gift {
  --x: 25%;
  --y: 29%;
  --size: 23%;
  --tilt: -14deg;
}

.mix-garland {
  --x: 63%;
  --y: 29%;
  --size: 24%;
  --tilt: 12deg;
}

.mix-story {
  --x: 37%;
  --y: 69%;
  --size: 25%;
  --tilt: 10deg;
}

.mix-winter {
  --x: 76%;
  --y: 70%;
  --size: 23%;
  --tilt: -13deg;
}

@media (min-width: 42rem) and (max-width: 53.999rem) {
  .content {
    width: min(100%, 42rem);
    justify-self: center;
  }
}

@media (min-width: 54rem) {
  .page {
    grid-template-columns: 53fr 47fr;
  }

  .content {
    width: min(100%, 52rem);
    justify-self: end;
    padding: clamp(2.25rem, 5.8vh, 5rem) clamp(2rem, 5.35vw, 7rem);
  }

  h1 {
    font-size: clamp(3.375rem, 6.4vw, 6.25rem);
  }

  .intro {
    margin-top: clamp(2.5rem, 9.25vh, 7rem);
  }

  .contacts {
    margin-top: clamp(1.75rem, 5.5vh, 4rem);
    padding-top: 1.35rem;
  }

  .palette {
    margin-top: clamp(1.25rem, 5vh, 3.25rem);
  }

  .mixes-layout {
    width: min(100%, 44rem);
  }
}

@media (min-width: 72rem) {
  .contact-list {
    grid-template-columns: max-content minmax(0, 1fr);
    column-gap: clamp(1.25rem, 3.5vw, 3.5rem);
  }

  .contact-list li:nth-child(-n + 2) {
    grid-column: auto;
  }
}
