:root {
  color-scheme: dark;
  font-family: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: #16181b;
}

body {
  min-height: 100vh;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  color: #fff;
  background-image: url("assets/hero-v2.jpg");
  background-position: center;
  background-size: cover;
}

.shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 14, 20, .4), rgba(8, 14, 20, .08) 58%, rgba(8, 14, 20, .2));
}

.header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1160px, calc(100% - 64px));
  margin: 0 auto;
  padding: 30px 0;
}

.brand img {
  display: block;
  width: 150px;
  height: auto;
}

nav {
  display: flex;
  gap: 24px;
}

nav a {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .65);
}

nav a:hover,
nav a:focus-visible,
.new-domain:hover,
.new-domain:focus-visible {
  opacity: .78;
}

.welcome {
  position: relative;
  z-index: 1;
  width: min(900px, calc(100% - 48px));
  margin: clamp(50px, 9vh, 120px) auto 0;
  text-align: center;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .7);
}

h1 {
  margin: 0 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(54px, 8vw, 108px);
  font-weight: 400;
  line-height: .95;
  letter-spacing: .01em;
}

.new-domain {
  display: inline-block;
  max-width: 560px;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(25px, 3.2vw, 42px);
  line-height: 1.1;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

@media (max-width: 680px) {
  .header {
    align-items: flex-start;
    width: calc(100% - 36px);
    padding-top: 20px;
  }

  .brand img {
    width: 105px;
  }

  nav {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 9px 14px;
    max-width: 235px;
  }

  nav a {
    font-size: 13px;
  }

  .welcome {
    margin-top: clamp(70px, 14vh, 150px);
  }
}
