@font-face {
  font-family: "Manrope";
  src: url("./assets/fonts/manrope-variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --ink: #0b0b0b;
  --paper: #f7f7f5;
  --stone: #a7a7a3;
  --line: rgba(247, 247, 245, 0.24);
  --font-display: "Manrope", sans-serif;
  --font-ui: "Manrope", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-width: 320px;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--ink);
}

body {
  color: var(--paper);
  font-family: var(--font-ui);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

svg {
  display: block;
}

::selection {
  background: var(--paper);
  color: var(--ink);
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 1rem;
  left: 1rem;
  padding: 0.75rem 1rem;
  background: var(--paper);
  color: var(--ink);
  font-weight: 650;
  transform: translateY(-200%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.hero {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: 100svh;
  overflow: hidden;
  background: var(--ink);
}

.hero__media,
.hero__poster,
.hero__video,
.hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__media {
  z-index: -3;
}

.hero__poster,
.hero__video {
  object-fit: cover;
  object-position: 57% center;
  filter: saturate(0.68) contrast(1.02);
}

.hero__video {
  opacity: 0;
  transition: opacity 700ms ease;
}

.video-ready .hero__video {
  opacity: 1;
}

.hero__shade {
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.82) 0%, rgba(5, 5, 5, 0.53) 36%, rgba(5, 5, 5, 0.09) 70%, rgba(5, 5, 5, 0.22) 100%),
    linear-gradient(180deg, rgba(5, 5, 5, 0.44) 0%, transparent 29%, transparent 56%, rgba(5, 5, 5, 0.64) 100%);
}

.hero__header,
.hero__footer {
  position: absolute;
  z-index: 2;
  right: 0;
  left: 0;
  padding-inline: clamp(1.25rem, 3.5vw, 4rem);
}

.hero__header {
  top: 0;
  min-height: clamp(5.5rem, 8.5vw, 7.25rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  color: var(--paper);
  font-family: "Manrope", sans-serif;
  font-size: 0.72rem;
  font-weight: 560;
  line-height: 1.12;
  letter-spacing: 0.19em;
  text-decoration: none;
  text-transform: uppercase;
}

.wordmark__mark {
  width: 2.8rem;
  height: 2.8rem;
}

.wordmark__mark .brand-ring {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.8;
}

.wordmark__mark .brand-dot {
  fill: currentColor;
}

.hero__nav {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3.5rem);
}

.hero__nav a {
  position: relative;
  padding-block: 0.5rem;
  font-size: 0.75rem;
  font-weight: 560;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.hero__nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0.12rem;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.hero__nav a:hover::after,
.hero__nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.hero__content {
  position: absolute;
  z-index: 1;
  bottom: clamp(7.5rem, 13vh, 10rem);
  left: clamp(1.25rem, 3.5vw, 4rem);
  width: min(62rem, calc(100% - 2.5rem));
}

.hero__footer > p {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 560;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 11ch;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.9rem, 6.6vw, 7.4rem);
  font-weight: 470;
  letter-spacing: -0.065em;
  line-height: 0.94;
}

.title-line {
  display: block;
}

.title-line--soft {
  color: #c0c0bc;
}

.hero__summary {
  margin: clamp(1.8rem, 3vh, 2.8rem) 0 0;
  font-size: clamp(1rem, 1.3vw, 1.25rem);
  font-weight: 470;
  letter-spacing: -0.025em;
}

.hero__footer {
  bottom: 0;
  min-height: 4.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border-top: 1px solid var(--line);
}

.hero__copyright {
  justify-self: end;
  color: rgba(247, 247, 245, 0.72);
}

.wordmark:focus-visible,
.hero__nav a:focus-visible {
  outline: 2px solid var(--paper);
  outline-offset: 0.3rem;
}

@media (max-width: 720px) {
  .hero__header {
    min-height: 5.4rem;
  }

  .wordmark {
    gap: 0.75rem;
    font-size: 0.65rem;
  }

  .wordmark__mark {
    width: 2.45rem;
    height: 2.45rem;
  }

  .hero__nav a:first-child {
    display: none;
  }

  .hero__nav a {
    font-size: 0.72rem;
  }

  .hero__poster,
  .hero__video {
    object-position: 70% center;
  }

  .hero__shade {
    background:
      linear-gradient(90deg, rgba(5, 5, 5, 0.73) 0%, rgba(5, 5, 5, 0.26) 100%),
      linear-gradient(180deg, rgba(5, 5, 5, 0.46) 0%, rgba(5, 5, 5, 0.07) 32%, rgba(5, 5, 5, 0.82) 100%);
  }

  .hero__content {
    top: auto;
    bottom: 6rem;
    width: calc(100% - 2.5rem);
  }

  .hero h1 {
    max-width: 7.6ch;
    font-size: clamp(3.65rem, 18.2vw, 5.5rem);
    line-height: 0.9;
  }

  .hero__summary {
    max-width: 17rem;
    margin-top: 1.4rem;
    font-size: 1rem;
  }

  .hero__footer {
    min-height: 4.6rem;
  }

  .hero__tagline {
    display: none;
  }

  .hero__copyright {
    max-width: 13rem;
    line-height: 1.45;
    text-align: right;
  }
}

@media (max-height: 690px) and (min-width: 721px) {
  .hero__content {
    bottom: 5.8rem;
  }

  .hero h1 {
    font-size: clamp(3.4rem, 6.4vw, 6.5rem);
  }

  .hero__summary {
    margin-top: 1.1rem;
  }
}

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

  .hero__video {
    display: none;
  }
}
