:root {
  --rosso: #f21d26;
  --crema: #c9c1b2;
  --bordeaux: #541b1f;
  --ombra: #2f0e10;
}

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

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  min-height: 100vh;
  font-family: "Space Mono", monospace;
  background: var(--bordeaux);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem;
  isolation: isolate;
  background:
    radial-gradient(circle at 20% 25%, rgba(201, 193, 178, 0.12), transparent 42%),
    radial-gradient(circle at 85% 75%, rgba(242, 29, 38, 0.2), transparent 44%),
    linear-gradient(160deg, #4b161a 0%, var(--bordeaux) 45%, #461215 100%);
}

.hero h1 {
  margin: 0;
  position: absolute;
  left: 50%;
  bottom: 11vh;
  transform: translateX(-50%);
  z-index: 3;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--crema);
  font-weight: 700;
  line-height: 0.95;
  font-size: clamp(1.8rem, 5.4vw, 5rem);
  text-shadow:
    0 2px 0 rgba(0, 0, 0, 0.18),
    0 0 28px rgba(242, 29, 38, 0.2);
}

.hero h1::before,
.hero h1::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: min(45vw, 330px);
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--rosso), transparent);
  opacity: 0.8;
}

.hero h1::before {
  top: -1.2rem;
}

.hero h1::after {
  bottom: -1.2rem;
}

.brand-signature {
  position: absolute;
  top: 37%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  width: min(72vw, 520px);
  opacity: 0.98;
  filter:
    drop-shadow(0 12px 28px rgba(47, 14, 16, 0.35))
    drop-shadow(0 0 32px rgba(242, 29, 38, 0.12));
  pointer-events: none;
  user-select: none;
}

.bg-lines,
.bg-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.bg-lines {
  z-index: 0;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(201, 193, 178, 0.045) 0,
      rgba(201, 193, 178, 0.045) 1px,
      transparent 1px,
      transparent 70px
    );
  mix-blend-mode: soft-light;
}

.bg-grain {
  z-index: 2;
  background-image:
    radial-gradient(rgba(201, 193, 178, 0.08) 0.55px, transparent 0.55px);
  background-size: 3px 3px;
  opacity: 0.4;
}

@media (max-width: 700px) {
  .hero {
    padding: 1.5rem;
  }

  .hero h1 {
    letter-spacing: 0.14em;
    bottom: 10vh;
    width: calc(100% - 3rem);
    font-size: clamp(1.5rem, 9vw, 2.6rem);
  }

  .brand-signature {
    top: 34%;
    width: min(86vw, 400px);
  }
}
