* {
  box-sizing: border-box;
}

:root {
  color-scheme: dark;
  --cream: #d0b89f;
  --white: #fff;
}

html, body {
  width: 100%;
  min-height: 100%;
  margin: 0;
}

body {
  min-height: 100svh;
  background: #111722;
  font-family: Arial, Helvetica, sans-serif;
}

.brand {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: block;
    width: clamp(180px, 30vw, 400px);
    padding: 0;
    background: transparent;
    transition: opacity 0.25s ease;
}

.brand:hover {
    opacity: 0.82;
}

.brand img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  min-height: 100svh;
  overflow: hidden;
  background: #111722;
}

.hero__image,
.hero__shade {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__image {
  background-image: url("assets/bg.jpg");
  background-position: center 42%;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1.005);
}

.hero__shade {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(8, 12, 20, .12) 0%, rgba(8, 12, 20, 0) 45%, rgba(8, 12, 20, .48) 100%),
    linear-gradient(90deg, rgba(8, 12, 20, .08), transparent 60%);
}

.socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2.2vw, 30px);
  width: max-content;
  max-width: calc(100% - 32px);
  margin: 0 auto clamp(22px, 4.2vh, 42px);
  padding: 13px 22px;
  border-radius: 3px;
}

.social-link {
  display: grid;
  place-items: center;
  width: clamp(30px, 3.2vw, 42px);
  height: clamp(30px, 3.2vw, 42px);
  color: var(--white);
  opacity: .96;
  transition: color .2s ease, transform .2s ease, opacity .2s ease;
}

.social-link:hover,
.social-link:focus-visible {
  color: var(--cream);
  opacity: 1;
  transform: translateY(-4px);
}

.social-link:focus-visible,
.brand:focus-visible {
  outline: 2px solid var(--cream);
  outline-offset: 5px;
}

.social-link svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-link svg .filled {
  fill: currentColor;
  stroke: none;
}

.social-link svg .solid {
  fill: currentColor;
  stroke: none;
}

@media (min-width: 1500px) {
  .hero__image {
    background-position: center 38%;
  }
}

@media (max-width: 768px) {
  .hero__image {
    background-position: 57% center;
  }

  .socials {
    gap: clamp(10px, 3.2vw, 20px);
    max-width: calc(100% - 24px);
    margin-bottom: max(20px, env(safe-area-inset-bottom));
    padding: 11px 14px;
  }

  .social-link {
    width: clamp(25px, 6vw, 34px);
    height: clamp(25px, 6vw, 34px);
  }
}

@media (max-width: 380px) {
  .socials {
    gap: 9px;
    padding: 10px 11px;
  }

  .social-link {
    width: 24px;
    height: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
