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

html {
  font-size: calc(16 / var(--viewport-width) * 100vw);

  @media screen and (max-width: 1023px) {
    font-size: calc(16 / var(--viewport-width) * 100vw);
  }
}

body {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
}

.placeholder-wrap {
  --bg-image: url('../public/images/placeholder-bg.webp');

  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100lvh;
  padding: 3rem 0;
  color: var(--c-pure-white);
  background-size:
    100% calc(336 / 864 * 100%),
    cover,
    cover,
    cover;
  background-position: top, center, center, center;
  background-repeat: no-repeat;
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0) 100%),
    var(--bg-image);

  @media screen and (max-width: 1023px) {
    --bg-image: url('../public/images/placeholder-bg-mob.webp');

    justify-content: flex-start;
    padding: 1.25rem 1.25rem 2rem;
  }
}

.placeholder-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;

  @media screen and (max-width: 1023px) {
    gap: 1rem;
  }
}

.header-logo {
  --size: 6rem;

  width: var(--size);
  height: var(--size);
  background-size: contain;
  background-position: center;
  background-image: url('../public/icons/logo.svg');

  @media screen and (max-width: 1023px) {
    --size: 3rem;
  }
}

.placeholder-description {
  max-width: 33rem;
  margin: 0 auto;

  @media screen and (max-width: 1023px) {
    margin-top: 2rem;
  }
}

.placeholder-description br {
  @media screen and (min-width: 1024px) {
    display: none;
  }
}

.content-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: grid;
  align-items: center;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  padding: 0 3rem;
  pointer-events: none;

  @media screen and (max-width: 1023px) {
    flex-grow: 1;
    position: static;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: auto;
    height: auto;
    padding: 0;
    margin-top: 2rem;
  }
}
.content-wrap > *:not(:first-child) {
  pointer-events: all;
}

.socials {
  position: relative;
  grid-column: span 2;
  width: 2.5rem;
  padding: 1.25rem 0;
  margin: 0 auto;

  @media screen and (max-width: 1023px) {
    display: flex;
    gap: 0.25rem;
    width: fit-content;
    padding: 0.625rem 0.25rem;
  }
}
.socials::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0.0625rem solid var(--c-pure-white);
  pointer-events: none;
}

.socials__link {
  display: block;
  text-align: center;

  @media screen and (max-width: 1023px) {
    width: 2.5rem;
  }
}
.socials__link:not(:first-child) {
  margin-top: 1rem;

  @media screen and (max-width: 1023px) {
    margin-top: 0;
  }
}

.title-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  grid-column: 3 / 9;

  @media screen and (max-width: 1023px) {
  }
}

.placeholder-title {
  max-width: 33.5rem;
  padding: 1rem 0;

  @media screen and (max-width: 1023px) {
    max-width: none;
    padding: 0.75rem 0;
  }
}

.caption-wrap {
  padding-right: 2rem;
  margin-top: -3rem;
  transform: rotate(-10deg);

  @media screen and (max-width: 1023px) {
    padding-right: 1.5rem;
    margin-top: -2.25rem;
  }
}

.contacts {
  grid-column: span 2;
  text-align: center;
}

.contacts__link {
  display: block;
  margin-top: 0.25rem;
  transition: opacity 0.4s ease-in-out;
}

@media (hover: hover) {
  .contacts__link:hover {
    opacity: 0.6;
  }
}
