:root {
  --gold: #f3c66b;
  --gold-bright: #ffe2a0;
  --amber: #b87633;
  --brown: #3b2417;
  --deep-brown: #1f140f;
  --shadow: rgba(25, 12, 5, 0.58);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
  color: var(--gold-bright);
  font-family: "Alegreya", Georgia, serif;
  background:
    linear-gradient(
      rgba(46, 26, 12, 0.34),
      rgba(36, 19, 9, 0.52)
    ),
    url("img/cover_caravan.jpg") center / cover no-repeat fixed;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at center, rgba(255, 225, 165, 0.14), transparent 42%),
    linear-gradient(90deg, rgba(35, 19, 9, 0.42), transparent 34%, transparent 66%, rgba(35, 19, 9, 0.42)),
    rgba(65, 35, 15, 0.18);
  mix-blend-mode: multiply;
}

a {
  color: inherit;
}

.site-shell {
  position: relative;
  z-index: 1;
  isolation: isolate;
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(1rem, 3vw, 2rem);
}

.hero {
  position: relative;
  z-index: 2;
  align-self: center;
  justify-self: center;
  display: grid;
  justify-items: center;
  width: min(78vw, 920px);
  padding-bottom: clamp(3.5rem, 7vh, 5rem);
}

.hero-logo {
  width: clamp(12rem, 27vw, 24rem);
  height: auto;
  margin-bottom: clamp(1rem, 2.4vh, 1.5rem);
  filter:
    drop-shadow(0 0.7rem 0.7rem rgba(43, 20, 8, 0.58))
    drop-shadow(0 0 1.3rem rgba(248, 198, 104, 0.28));
}

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 3px solid rgba(255, 220, 142, 0.76);
  border-radius: 8px;
  background: var(--deep-brown);
  box-shadow:
    0 1.5rem 3rem var(--shadow),
    0 0 0 1px rgba(76, 38, 18, 0.72),
    inset 0 0 0 1px rgba(255, 246, 200, 0.18);
}

.video-frame::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  content: "";
  box-shadow: inset 0 0 2.6rem rgba(34, 16, 7, 0.45);
}

.video-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.cover-art {
  position: fixed;
  z-index: 1;
  bottom: 0;
  height: min(72vh, 52rem);
  max-width: 58vw;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 1.4rem 1rem rgba(29, 14, 7, 0.58));
}

.cover-art-left {
  left: clamp(-7rem, -7vw, -2rem);
  transform-origin: bottom left;
}

.cover-art-right {
  right: clamp(1rem, 3vw, 2.5rem);
  transform-origin: bottom right;
}

.social-links {
  position: fixed;
  left: 50%;
  bottom: clamp(0.85rem, 2.2vh, 1.35rem);
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  transform: translateX(-50%);
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.46rem;
  min-width: 6.75rem;
  min-height: 2.75rem;
  padding: 0.55rem 0.95rem;
  border: 1px solid rgba(255, 218, 139, 0.56);
  border-radius: 999px;
  color: var(--gold-bright);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  text-shadow: 0 1px 0 rgba(55, 27, 10, 0.92);
  background:
    linear-gradient(rgba(122, 72, 32, 0.82), rgba(70, 39, 21, 0.88)),
    rgba(79, 42, 18, 0.72);
  box-shadow:
    0 0.75rem 1.6rem rgba(26, 13, 7, 0.36),
    inset 0 1px 0 rgba(255, 241, 195, 0.24);
  backdrop-filter: blur(5px);
  transition:
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease,
    background 160ms ease;
}

.social-link:hover,
.social-link:focus-visible {
  color: #fff3ca;
  border-color: rgba(255, 232, 169, 0.9);
  background:
    linear-gradient(rgba(163, 96, 42, 0.9), rgba(91, 50, 25, 0.94)),
    rgba(97, 52, 22, 0.78);
  transform: translateY(-2px);
}

.social-link:focus-visible {
  outline: 3px solid rgba(255, 226, 160, 0.72);
  outline-offset: 3px;
}

.social-link svg {
  width: 1.25rem;
  height: 1.25rem;
  flex: 0 0 auto;
  fill: currentColor;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  white-space: nowrap;
  border: 0;
  clip: rect(0 0 0 0);
}

@media (max-width: 760px) {
  .site-shell {
    padding: 1rem;
  }

  .hero {
    width: min(92vw, 42rem);
    padding-bottom: 5.25rem;
  }

  .hero-logo {
    width: clamp(11rem, 54vw, 17rem);
  }

  .cover-art {
    height: min(55vh, 33rem);
    opacity: 0.86;
  }

  .cover-art-left {
    left: -10rem;
  }

  .cover-art-right {
    right: clamp(0.5rem, 3vw, 1rem);
  }

  .social-links {
    width: min(92vw, 26rem);
    gap: 0.5rem;
  }

  .social-link {
    min-width: 0;
    flex: 1 1 0;
    padding-inline: 0.6rem;
    font-size: 0.94rem;
  }
}

@media (max-height: 660px) and (orientation: landscape) {
  .hero {
    width: min(58vw, 46rem);
    padding-bottom: 3.75rem;
  }

  .hero-logo {
    width: clamp(9rem, 20vw, 15rem);
    margin-bottom: 0.75rem;
  }

  .cover-art {
    height: 78vh;
  }

  .social-link {
    min-height: 2.35rem;
  }
}
