

:root{
  --text: rgba(0,0,0,.82);
  --text2: rgba(0,0,0,.62);
  --white: rgba(255,255,255,.92);
  --shadow: 0 2px 18px rgba(0,0,0,.18);
}

*{ box-sizing: border-box; }

html, body{
  height: 100%;
  margin: 0;
  font-family: "Myriad", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
}

.hero{
  position: relative;
  height: 100dvh;
  min-height: 100svh;   
  overflow: hidden;
}

.hero-img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.nav{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;

  padding: 26px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;

  z-index: 2; 
}

.brand{
  color: var(--text);
  text-decoration: none;
  font-size: clamp(13px, 2.2vw, 22px);
  font-weight: 500;
  letter-spacing: .2px;
  white-space: nowrap;
}

.nav-links{
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a{
  color: var(--text2);
  text-decoration: none;
  font-size: clamp(13px, 2.2vw, 22px);
  padding: 6px 2px;
  position: relative;
}

.nav-links a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:0%;
  height:1px;
  background: currentColor;
  opacity:.7;
  transition: width 180ms ease;
}

.nav-links a:hover::after{
  width:100%;
}

.hero-title{
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  margin: 0;
  color: var(--white);
  text-transform: uppercase;
  font-weight: 1000;
  letter-spacing: .08em;
  text-shadow: var(--shadow);
  font-size: clamp(20px, 3.2vw, 40px);
  text-align: center;
  user-select: none;
  padding: 12px 16px;
  white-space: nowrap;
  -webkit-text-stroke: 0;
}

.hero-title a,
.hero-title a:link,
.hero-title a:visited,
.hero-title a:hover,
.hero-title a:active,
.hero-title a:focus{
  color: inherit !important;
  text-decoration: none !important;
}

.hero{
  --imgY: 45%;
  --titleY: 58%;
}

.hero-img{
  object-position: center var(--imgY);
}

.hero-title{
  top: var(--titleY);
}


@media (max-width: 1024px){
  .nav{
    position: fixed;
    padding: 14px 16px;
  }

  .hero-img{
    content: url("../img/background_mobile_2.jpg");
  }

  .hero-title{
    top: 80%;
  }

  .hero{
    --imgY: 80%;
    --titleY: 80%;
  }
}