@font-face {
  font-family: "Space Grotesk";
  src: url("assets/SpaceGrotesk.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --campaign-navy: #12151c;
  --reveal-plane: #161a22;
  --ink: #f2f1ed;
  --quiet: rgba(242, 241, 237, 0.58);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  color: var(--ink);
  font-family: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::after {
  content: "";
  position: fixed;
  z-index: 10;
  inset: 0;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.campaign {
  isolation: isolate;
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 520px;
  overflow: hidden;
  background: var(--campaign-navy);
}

.campaign::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0 0 auto;
  width: 100%;
  height: 70%;
  background: var(--reveal-plane);
  clip-path: polygon(0 0, 100% 0, 100% 86%, 0 100%);
}

.product {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 69%;
  width: min(78vw, 1120px);
  margin: 0;
  transform: translateX(-50%);
}

.product img {
  display: block;
  width: 100%;
  height: auto;
  filter: brightness(1.68) contrast(1.06) saturate(0.5);
}

.copy {
  position: absolute;
  z-index: 3;
  left: max(50px, 4vw, env(safe-area-inset-left));
  bottom: max(42px, calc(env(safe-area-inset-bottom) + 28px));
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.wordmark {
  margin: 0 0 24px 2px;
  font-size: 0.79rem;
  font-weight: 650;
  line-height: 1;
  letter-spacing: 0.055em;
}

h1 {
  margin: 0;
  font-size: clamp(4.75rem, 9.25vw, 8.6rem);
  font-weight: 430;
  line-height: 0.86;
  letter-spacing: -0.067em;
  white-space: nowrap;
}

.contact {
  margin: clamp(20px, 2.2vh, 24px) 0 0 2px;
  color: var(--quiet);
  font-size: 0.7rem;
  font-weight: 450;
  line-height: 1;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: color 160ms ease-out;
}

.contact:hover,
.contact:focus-visible {
  color: var(--ink);
}

.contact:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 6px;
}

@media (max-width: 720px) {
  .campaign {
    min-height: 568px;
  }

  .campaign::before {
    inset: 0 0 auto;
    width: 100%;
    height: 65%;
    clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
  }

  .product {
    top: 6%;
    left: 50%;
    width: min(170vw, 700px);
    transform: translateX(-50%);
  }

  .copy {
    top: 72%;
    left: max(20px, env(safe-area-inset-left));
    bottom: auto;
  }

  .wordmark {
    margin-bottom: 20px;
    font-size: 0.72rem;
    letter-spacing: 0.052em;
  }

  h1 {
    font-size: clamp(3.5rem, 16.1vw, 4.35rem);
    line-height: 0.9;
    letter-spacing: -0.064em;
  }

  .contact {
    margin-top: 18px;
    font-size: 0.64rem;
  }
}

@media (max-height: 650px) and (min-width: 721px) {
  .product {
    top: -2%;
    width: min(70vw, 930px);
  }

  .copy {
    bottom: 34px;
  }

  h1 {
    font-size: clamp(4.2rem, 8vw, 6.5rem);
  }

  .contact {
    margin-top: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact {
    transition: none;
  }
}
