/* Alternativ forside: video som bakgrunn i toppen. Kun index.html bruker denne. */
.vhero {
  position: relative;
  margin: 0 calc(var(--gutter) * -1);
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(var(--head-h) + var(--gutter)) var(--gutter) var(--gutter);
  overflow: hidden;
  background: #000 url("../video/hero-poster.jpg") center / cover no-repeat;
}
.vhero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.vhero::after {
  /* toning nederst slik at hvit tekst leses over lyst bilde */
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.45) 40%, rgba(0,0,0,0.05) 70%, rgba(0,0,0,0) 100%);
  pointer-events: none;
}
.vhero__text {
  position: relative;
  z-index: 2;
  display: grid;
  gap: clamp(16px, 2.5vw, 32px);
  max-width: 1400px;
  padding-right: clamp(0px, 10vw, 160px);
}
.vhero__text h1 {
  font-size: clamp(38px, 7vw, 112px);
  max-width: 13ch;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.vhero__text .lead {
  font-size: clamp(18px, 1.3vw, 24px);
  line-height: 1.4;
  max-width: 58ch;
}
.vhero__scroll {
  position: absolute;
  right: var(--gutter);
  bottom: var(--gutter);
  z-index: 2;
  font-size: 0.8em;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}
.vhero__scroll:hover { color: var(--fg); text-decoration: none; }
@media (max-width: 899px) {
  .vhero__scroll { position: static; margin-top: 1.5rem; align-self: flex-start; }
  .vhero__text { padding-right: 0; }
}
/* første seksjon etter video trenger litt mindre luft enn på standardforsiden */
.vhero + .section { padding-top: clamp(48px, 7vw, 120px); }
/* lettere toning bak logo/tannhjul enn på standardforsiden, så videoen ikke får et tungt sort bånd øverst */
.site-head::before { background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0) 100%); }
