@font-face {
  font-family: "VAI Display";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/schibsted-grotesk-500.ttf") format("truetype");
}

@font-face {
  font-family: "VAI Display";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/schibsted-grotesk-600.ttf") format("truetype");
}

@font-face {
  font-family: "VAI Text";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/inter-400.ttf") format("truetype");
}

@font-face {
  font-family: "VAI Text";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/inter-500.ttf") format("truetype");
}

:root {
  --black: #010101;
  --ink: #f5f0eb;
  --muted: rgba(245, 240, 235, 0.64);
  --red: #dc0a24;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--black);
  font-family:
    "VAI Text",
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
  font-kerning: normal;
  text-rendering: geometricPrecision;
}

body {
  min-height: 100%;
  margin: 0;
  background:
    linear-gradient(180deg, #030303 0%, #010101 52%, #000 100%),
    var(--black);
  color: var(--ink);
}

a {
  color: inherit;
}

.site-shell {
  position: relative;
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: clamp(2rem, 6vw, 5rem);
  overflow: hidden;
  isolation: isolate;
}

.brand-mark {
  position: absolute;
  z-index: -1;
  width: 98rem;
  max-width: none;
  height: auto;
  opacity: 0.079;
  filter: saturate(0.9) brightness(0.74);
  transform: translate3d(34rem, 0, 0);
  mask-image: linear-gradient(90deg, transparent 0%, #000 23%, #000 82%, transparent 100%);
  user-select: none;
  pointer-events: none;
}

.statement {
  width: min(100%, 54rem);
  text-align: left;
  transform: translate3d(calc(-10vw + 1rem), 0.5rem, 0);
}

h1 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0;
  font-family:
    "VAI Display",
    "VAI Text",
    ui-sans-serif,
    system-ui,
    sans-serif;
  font-size: 8.1rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 0.86;
  font-synthesis: none;
}

h1 span {
  display: block;
}

.email-link {
  display: inline-block;
  margin-top: 2.15rem;
  padding-bottom: 0.18rem;
  color: var(--muted);
  border-bottom: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.5;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition:
    color 300ms ease,
    border-color 300ms ease,
    opacity 300ms ease;
}

.email-link:hover,
.email-link:focus-visible {
  color: rgba(245, 240, 235, 0.84);
  border-color: rgba(220, 10, 36, 0.58);
}

.email-link:focus-visible {
  outline: 1px solid var(--red);
  outline-offset: 0.55rem;
}

@media (max-width: 42rem) {
  .site-shell {
    place-items: center;
    padding-block: 4rem;
  }

  .brand-mark {
    width: 58rem;
    opacity: 0.078;
    transform: translate3d(18rem, -2rem, 0);
  }

  .statement {
    text-align: left;
    transform: translateY(0.75rem);
  }

  h1 {
    max-width: 8.5ch;
    font-size: 4.75rem;
    line-height: 0.88;
  }

  .email-link {
    margin-top: 1.35rem;
    font-size: 0.82rem;
  }
}

@media (min-width: 100rem) {
  h1 {
    font-size: 9rem;
  }

  .brand-mark {
    width: 108rem;
  }
}

@media (min-width: 72.001rem) and (max-width: 85rem) {
  h1 {
    font-size: 7.25rem;
  }

  .brand-mark {
    width: 92rem;
  }
}

@media (min-width: 42.001rem) and (max-width: 72rem) {
  .statement {
    transform: translateY(0.5rem);
  }

  h1 {
    font-size: 6rem;
  }

  .brand-mark {
    width: 70rem;
    opacity: 0.07;
    transform: translate3d(42rem, -1rem, 0);
  }
}

@media (max-width: 24rem) {
  .brand-mark {
    transform: translate3d(19rem, -2rem, 0);
  }

  h1 {
    font-size: 4.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
