@font-face {
  font-family: "Latin Modern Sans";
  src: url("fonts/lmsans10-regular.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Latin Modern Sans";
  src: url("fonts/lmsans10-bold.otf") format("opentype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Latin Modern Sans";
  src: url("fonts/lmsans10-oblique.otf") format("opentype");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

:root {
  --fg: #f7f7f4;
  --muted: rgba(247, 247, 244, 0.80);
  --accent: #28d3e6;
}

* {
  box-sizing: border-box;
}

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

body {
  font-family: "Latin Modern Sans", Arial, Helvetica, sans-serif;
  background: #0a0c0f;
  color: var(--fg);
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background-image: url("assets/background.png");
  background-size: cover;
  background-position: center center;
  display: grid;
  align-items: center;
}

.shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(4, 8, 13, 0.96) 0%,
      rgba(4, 8, 13, 0.88) 28%,
      rgba(4, 8, 13, 0.48) 52%,
      rgba(4, 8, 13, 0.12) 74%,
      rgba(4, 8, 13, 0.06) 100%
    ),
    linear-gradient(
      0deg,
      rgba(4, 8, 13, 0.20),
      rgba(4, 8, 13, 0.20)
    );
}

.content {
  position: relative;
  z-index: 1;
  width: min(690px, 88vw);
  margin-left: clamp(28px, 6vw, 104px);
  padding: 48px 0;
}

.logo {
  display: block;
  width: clamp(280px, 34vw, 520px);
  max-width: 100%;
  height: auto;
  filter: invert(1);
  margin-bottom: 22px;
}

.tagline {
  margin: 0;
  max-width: 560px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: clamp(0.82rem, 1vw, 1rem);
  line-height: 1.55;
  color: var(--muted);
}

.rule {
  width: 64px;
  height: 3px;
  background: var(--accent);
  margin: 32px 0 42px;
}

h1 {
  margin: 0 0 22px;
  font-size: clamp(4rem, 7.8vw, 8.4rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.045em;
}

.intro {
  margin: 0;
  max-width: 610px;
  font-size: clamp(1.1rem, 1.7vw, 1.55rem);
  line-height: 1.5;
  color: var(--muted);
}

.email {
  display: inline-block;
  margin-top: 54px;
  color: var(--fg);
  text-decoration: none;
  font-size: 1.05rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  padding-bottom: 3px;
  transition: border-color 140ms ease, color 140ms ease;
}

.email:hover,
.email:focus-visible {
  color: #ffffff;
  border-color: var(--accent);
  outline: none;
}

/* Trademark symbol */
.tm {
  font-size: 0.4em;
  vertical-align: super;
  margin-left: 0.08em;
}

@media (max-width: 760px) {
  .hero {
    align-items: end;
    background-position: 58% center;
  }

  .shade {
    background:
      linear-gradient(
        0deg,
        rgba(4, 8, 13, 0.98) 0%,
        rgba(4, 8, 13, 0.92) 42%,
        rgba(4, 8, 13, 0.38) 75%,
        rgba(4, 8, 13, 0.12) 100%
      );
  }

  .content {
    width: auto;
    margin: 0;
    padding: 42px 28px 46px;
  }

  .logo {
    width: min(78vw, 420px);
  }

  .rule {
    margin: 24px 0 28px;
  }

  h1 {
    font-size: clamp(3.6rem, 17vw, 6rem);
  }

  .intro {
    max-width: 36rem;
  }

  .email {
    margin-top: 36px;
  }
}