:root {
  --ink: #29180e;
  --wine: #6c1f16;
  --moss: #314120;
  --gold: #b78a3d;
  --parchment: rgba(226, 199, 144, 0.86);
  --parchment-deep: rgba(181, 136, 70, 0.75);
  --shadow: rgba(28, 18, 8, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #24170d;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
}

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

.legend {
  position: relative;
  width: 100%;
  margin: 0 auto;
  min-height: max(100vh, 150vw);
  overflow: clip;
  background: #d9b873;
  box-shadow: 0 0 70px rgba(0, 0, 0, 0.65);
}

.legend::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 241, 194, 0.1), transparent 35%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.5), transparent 16%, transparent 84%, rgba(0, 0, 0, 0.5));
  z-index: 5;
}

.legend__poster {
  display: block;
  width: 100%;
  height: auto;
  min-height: 100vh;
  object-fit: cover;
}

.socials {
  position: fixed;
  top: clamp(10px, 2vw, 22px);
  z-index: 20;
  display: flex;
  right: clamp(10px, 2vw, 22px);
  align-items: center;
  gap: 6px;
  padding: 6px;
  color: var(--ink);
  border: 2px solid rgba(84, 47, 19, 0.72);
  background:
    linear-gradient(135deg, rgba(243, 219, 165, 0.88), rgba(177, 132, 72, 0.82)),
    var(--parchment);
  box-shadow: 0 9px 24px var(--shadow), inset 0 0 0 1px rgba(255, 242, 202, 0.5);
  backdrop-filter: blur(3px) saturate(0.9);
}

.socials a {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(74, 43, 18, 0.82);
  background: rgba(241, 214, 156, 0.82);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(255, 245, 210, 0.4);
  cursor: pointer;
}

.socials a:hover {
  background: rgba(250, 230, 180, 0.95);
}

.icon {
  display: block;
  width: 17px;
  height: 17px;
  fill: var(--ink);
}

.icon--x {
  position: relative;
}

.icon--x::before,
.icon--x::after {
  content: "";
  position: absolute;
  top: 7px;
  left: 1px;
  width: 15px;
  height: 2px;
  background: var(--ink);
}

.icon--x::before {
  transform: rotate(45deg);
}

.icon--x::after {
  transform: rotate(-45deg);
}

.intro {
  position: absolute;
  z-index: 10;
  left: 50%;
  bottom: clamp(18px, 4vw, 46px);
  width: min(720px, calc(100% - 28px));
  transform: translateX(-50%);
  padding: clamp(16px, 2.4vw, 24px);
  border: 2px solid rgba(83, 48, 20, 0.78);
  background:
    linear-gradient(160deg, rgba(244, 220, 166, 0.9), rgba(188, 143, 79, 0.74)),
    var(--parchment);
  box-shadow: 0 14px 34px var(--shadow), inset 0 0 0 1px rgba(255, 241, 201, 0.56);
  backdrop-filter: blur(2px) saturate(0.86);
  text-align: center;
}

.intro::before {
  content: "";
  position: absolute;
  inset: 7px;
  pointer-events: none;
  border: 1px solid rgba(99, 55, 19, 0.52);
}

.intro__eyebrow {
  margin: 0 0 6px;
  color: var(--wine);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

.intro h1,
.intro p {
  margin: 0;
}

.intro h1 {
  color: var(--wine);
  font-size: clamp(2rem, 6vw, 4rem);
  line-height: 0.9;
  text-shadow: 1px 1px 0 rgba(255, 234, 187, 0.75);
}

.intro p {
  margin-top: 12px;
  font-size: clamp(0.98rem, 1.7vw, 1.08rem);
  line-height: 1.42;
}

@media (max-width: 760px) {
  .legend {
    min-height: 1700px;
  }

  .legend__poster {
    width: auto;
    max-width: none;
    height: 1700px;
    transform: translateX(-16%);
  }

  .socials a {
    width: 32px;
    height: 32px;
  }
}

@media (max-width: 480px) {
  .socials {
    right: 8px;
    padding: 6px;
  }

  .intro {
    width: calc(100% - 22px);
  }
}
