@font-face {
  font-family: "Urbanist";
  src: url("assets/fonts/urbanist-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("assets/fonts/dm-sans-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lexend Deca";
  src: url("assets/fonts/lexend-deca-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --white: #ffffff;
  --ink: #121210;
  --muted: #5f605b;
  --amber: #efa228;
  --page-gutter: clamp(1.25rem, 4vw, 4.5rem);
  color: var(--ink);
  background: var(--white);
  font-family: "DM Sans", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--white);
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--white);
}

a {
  color: inherit;
  text-decoration: none;
}

.nav {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, 1600px);
  height: 68px;
  margin: 0 auto;
  padding: 0 var(--page-gutter);
  background: var(--white);
}

.brand {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  font-family: "Urbanist", sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.nav-note {
  color: var(--muted);
  font-family: "Lexend Deca", sans-serif;
  font-size: 0.78rem;
}

.brand:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--amber) 55%, var(--white));
  outline-offset: 4px;
}

.hero {
  position: relative;
  width: min(100%, 1600px);
  min-height: calc(100dvh - 68px);
  margin: 0 auto;
  overflow: hidden;
  background: var(--white);
}

.hero-copy {
  position: relative;
  z-index: 4;
  width: min(41vw, 570px);
  padding-top: clamp(5.2rem, 13vh, 8rem);
  margin-left: var(--page-gutter);
}

h1 {
  max-width: 570px;
  margin: 0;
  font-family: "Urbanist", sans-serif;
  font-size: clamp(4.2rem, 5.9vw, 6.5rem);
  font-weight: 760;
  line-height: 0.96;
  letter-spacing: -0.035em;
}

.title-line {
  display: block;
  opacity: 0;
  transform: translateY(22px);
  animation: rise 900ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.title-line + .title-line {
  animation-delay: 90ms;
}

.title-line:last-child {
  white-space: nowrap;
}

.hero-body {
  max-width: 440px;
  margin: 1.55rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.4vw, 1.28rem);
  font-weight: 500;
  line-height: 1.45;
  opacity: 0;
  transform: translateY(14px);
  animation: rise 760ms 180ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.capability-pitch {
  max-width: 470px;
  margin: 1.25rem 0 0;
  opacity: 0;
  transform: translateY(12px);
  animation: rise 740ms 240ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.pitch-lead {
  margin: 0 0 0.8rem;
  font-family: "Urbanist", sans-serif;
  font-size: clamp(1.08rem, 1.3vw, 1.3rem);
  font-weight: 750;
  line-height: 1.25;
}

.pitch-lines {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pitch-lines li {
  display: grid;
  align-content: start;
  gap: 0.12rem;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.pitch-lines mark {
  width: max-content;
  max-width: 100%;
  padding: 0 0.1em;
  color: var(--ink);
  font-family: "Lexend Deca", sans-serif;
  font-weight: 600;
  background: linear-gradient(177deg, transparent 48%, #ffd77d 49%, #f6b83d 88%, transparent 89%);
}

.pitch-rule {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

.pitch-rule strong {
  color: var(--ink);
}

.coming-soon {
  position: relative;
  display: block;
  width: max-content;
  margin: 1.15rem 0 0;
  font-family: "Urbanist", sans-serif;
  font-size: clamp(1.45rem, 1.8vw, 1.8rem);
  font-weight: 750;
  line-height: 1.2;
  opacity: 0;
  transform: translateY(10px);
  animation: rise 700ms 340ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.coming-soon::after {
  position: absolute;
  right: -5%;
  bottom: -0.32rem;
  left: -5%;
  height: 0.45rem;
  border-bottom: 4px solid var(--amber);
  border-radius: 0 0 50% 45%;
  content: "";
  transform: rotate(-2deg) scaleX(0);
  transform-origin: left center;
  animation: underline-in 700ms 560ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-media {
  position: absolute;
  z-index: 1;
  right: clamp(-90px, calc((100vw - 1440px) * 0.35), 24px);
  bottom: -1px;
  width: min(67vw, 1000px);
  pointer-events: none;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0, #000 9%, #000 92%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 10%, #000 93%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0, #000 9%, #000 92%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 10%, #000 93%, transparent 100%);
  mask-composite: intersect;
}

.hero-image {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0;
  transform: translateY(24px) scale(1.015);
  transform-origin: bottom right;
  animation: image-in 1100ms 100ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes image-in {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes underline-in {
  to {
    transform: rotate(-2deg) scaleX(1);
  }
}

@media (max-width: 1099px) {
  .hero {
    min-height: 0;
    overflow: visible;
  }

  .hero-copy {
    width: auto;
    padding: clamp(2.7rem, 7vw, 5rem) var(--page-gutter) 0;
    margin: 0;
  }

  h1 {
    max-width: 760px;
    font-size: clamp(3.7rem, 9.5vw, 6.2rem);
  }

  .hero-body {
    max-width: 500px;
  }

  .hero-media {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(100%, 960px);
    margin: clamp(1.5rem, 4vw, 2.5rem) auto 0;
    -webkit-mask-image:
      linear-gradient(to right, transparent 0, #000 5%, #000 95%, transparent 100%),
      linear-gradient(to bottom, transparent 0, #000 7%, #000 92%, transparent 100%);
    mask-image:
      linear-gradient(to right, transparent 0, #000 5%, #000 95%, transparent 100%),
      linear-gradient(to bottom, transparent 0, #000 7%, #000 92%, transparent 100%);
  }

}

@media (max-width: 600px) {
  .nav {
    height: 62px;
  }

  .brand {
    font-size: 1.2rem;
  }

  .nav-note {
    font-size: 0.63rem;
  }

  .hero-copy {
    padding-top: 2.7rem;
  }

  h1 {
    font-size: clamp(2.68rem, 13.2vw, 3.5rem);
    line-height: 0.96;
  }

  .hero-body {
    margin-top: 1.25rem;
    font-size: 1rem;
  }

  .hero-media {
    margin-top: 1.4rem;
  }

}

@media (max-width: 360px) {
  .nav-note {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
