.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 0;
  isolation: isolate;
}

.hero-photo,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-photo {
  z-index: -2;
  background-image: url("../assets/barbershop-hero.png");
  background-position: center;
  background-size: cover;
  filter: saturate(0.84) contrast(1.07);
}

.hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.98) 0%, rgba(0, 0, 0, 0.86) 29%, rgba(0, 0, 0, 0.35) 62%, rgba(0, 0, 0, 0.1) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.9) 100%);
}

.hero-content {
  width: min(420px, 100%);
  padding: clamp(28px, 5vw, 72px) 0 clamp(32px, 5vw, 72px) clamp(28px, 8vw, 120px);
}

.brand {
  display: inline-flex;
  align-items: center;
  margin-bottom: 52px;
  color: var(--silver);
}

.brand-logo {
  width: clamp(148px, 16vw, 218px);
  height: auto;
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 18px rgba(247, 248, 248, 0.18));
}

.eyebrow {
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 4px;
  color: var(--silver-strong);
  font-size: clamp(1rem, 3vw, 1.17rem);
  font-weight: 800;
}

.hero h1 {
  max-width: 390px;
  font-size: clamp(3.05rem, 9vw, 4.95rem);
  line-height: 0.9;
  font-weight: 900;
}

.hero-copy {
  max-width: 300px;
  margin-top: 18px;
  color: var(--text);
  font-size: clamp(1rem, 2vw, 1.14rem);
  line-height: 1.55;
}

.action-stack {
  display: grid;
  gap: 14px;
  width: min(370px, 100%);
  margin-top: 28px;
}

.button-secondary {
  border: 1px solid var(--stroke-strong);
  border-radius: 2000px;
  color: var(--silver);
  background: rgba(0, 0, 0, 0.58);
}

@media (max-width: 760px) {
  .hero {
    min-height: 100svh;
  }

  .hero-photo {
    background-position: 62% center;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.45) 34%, rgba(0, 0, 0, 0.98) 79%, #000 100%),
      linear-gradient(90deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.12));
  }

  .hero-content {
    display: flex;
    min-height: 100svh;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px 18px 28px;
  }

  .brand {
    align-self: flex-start;
    margin-bottom: auto;
  }

  .action-stack {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .hero,
  .hero-content {
    min-height: 100svh;
  }
}
