:root {
  --bg: #000;
  --text: #f7f7f7;
  --text-muted: #f7f7f7b8;
  --text-dim: #999;
  --text-dimmer: #666;
  --border-light: #ffffff14;
  --white: #fff;
  --page-max: 1920px;
  --container: 1180px;
  --font: "Inter", system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

img {
  max-width: 100%;
  display: block;
}

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

.page {
  width: 100%;
  max-width: var(--page-max);
  margin-inline: auto;
  position: relative;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page > main {
  z-index: 1;
  position: relative;
  flex: 1;
  display: flex;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.h-hero {
  letter-spacing: -2px;
  text-align: center;
  color: var(--text);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  line-height: 1;
}

.page-patterns {
  pointer-events: none;
  z-index: 0;
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.page-patterns__row {
  height: 0;
  position: absolute;
  left: 0;
  right: 0;
}

.page-pattern {
  object-fit: contain;
  object-position: center;
  opacity: 0.9;
  width: min(32vw, 585px);
  height: auto;
  max-height: 610px;
  position: absolute;
  top: 0;
}

.page-pattern--left {
  object-position: left center;
  left: max(-120px, -8vw);
}

.page-pattern--right {
  object-position: right center;
  right: max(-120px, -8vw);
}

.hero {
  align-items: center;
  justify-content: center;
  min-height: 100%;
  width: 100%;
  padding: 48px 0 50px;
  display: flex;
  position: relative;
  overflow: hidden;
}

.hero__sides {
  pointer-events: none;
  z-index: 0;
  position: absolute;
  inset: 0;
}

.hero__side {
  aspect-ratio: 752 / 1130;
  width: min(36vw, 680px);
  max-height: min(78vh, 1050px);
  position: absolute;
  top: -80px;
  overflow: hidden;
}

.hero__side--left {
  opacity: 0.52;
  top: -145px;
  left: max(-102px, -5vw);
}

.hero__side--right {
  aspect-ratio: auto;
  width: fit-content;
  max-width: min(52vw, 1020px);
  height: auto;
  max-height: none;
  top: -200px;
  right: 0;
}

.hero__side img {
  object-fit: cover;
  object-position: top center;
  width: 100%;
  height: 100%;
  max-height: min(85vh, 1130px);
  display: block;
}

.hero__side--right img {
  object-fit: contain;
  object-position: top right;
  opacity: 0.28;
  width: auto;
  max-width: min(52vw, 1020px);
  height: auto;
  max-height: min(98vh, 1400px);
  display: block;
  box-shadow: inset clamp(24px, 3.5vw, 52px) 0 clamp(40px, 5vw, 72px)
    clamp(-14px, -1.8vw, -24px) #000000d9;
}

.hero__side::before {
  content: "";
  z-index: 2;
  pointer-events: none;
  mix-blend-mode: soft-light;
  position: absolute;
  inset: 0;
}

.hero__side--left::before {
  background: radial-gradient(
    44% 40% at 50% 44%,
    #ffffff52 0%,
    #ffffff1f 45%,
    #0000 72%
  );
}

.hero__side--right::before {
  background: radial-gradient(
    42% 38% at 68% 40%,
    #ffffff52 0%,
    #ffffff1f 48%,
    #0000 70%
  );
}

.hero__side::after {
  content: "";
  pointer-events: none;
  background: linear-gradient(
    #0000 0%,
    #0000002e 8%,
    #0006 30%,
    #000000b8 52%,
    #000000f2 78%,
    #000 100%
  );
  position: absolute;
  inset: 0;
}

.hero__side--right::after {
  background:
    linear-gradient(
      90deg,
      #000 0%,
      #000000a6 3%,
      #00000038 6%,
      #0000000f 8%,
      #0000 10%
    ),
    linear-gradient(
      #000000eb 0%,
      #000000d1 14%,
      #000000ad 28%,
      #00000080 42%,
      #00000047 56%,
      #0000001a 70%,
      #0000 82%
    ),
    linear-gradient(
      #0000 58%,
      #00000024 63%,
      #00000052 70%,
      #0000008c 78%,
      #000000c7 86%,
      #000000f2 93%,
      #000 100%
    );
}

.hero::before {
  content: "";
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(#0000 0%, #000 100%);
  height: 35%;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.hero__content {
  z-index: 1;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  display: flex;
  position: relative;
}

.hero__copy {
  text-align: center;
  max-width: 1187px;
}

.hero__logo {
  display: block;
  width: min(240px, 64vw);
  height: auto;
  margin: 0 auto 28px;
}

.hero__eyebrow {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 16px;
  font-size: 12px;
  font-weight: 600;
}

.hero__copy .h-hero {
  letter-spacing: -1.85px;
  font-size: clamp(34px, 4.7vw, 60px);
}

.hero__subtitle {
  color: var(--text-muted);
  margin-top: 20px;
  font-size: 18px;
  line-height: 1.75;
}

.footer {
  z-index: 1;
  text-align: center;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px 24px 40px;
  display: flex;
  position: relative;
}

.footer__email {
  color: var(--text-dim);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s;
}

.footer__email:hover {
  color: var(--text);
}

.footer__company {
  color: var(--text-dimmer);
  letter-spacing: 0.02em;
  white-space: nowrap;
  max-width: 100%;
  margin: 0;
  font-size: clamp(10px, 2.9vw, 13px);
}

@media (width <= 1024px) {
  .page-pattern {
    opacity: 0.65;
    width: min(28vw, 420px);
  }
}

@media (width <= 1200px) {
  .hero__side {
    width: min(30vw, 480px);
  }

  .hero__side--left {
    opacity: 0.46;
  }

  .hero__side--right {
    max-width: min(48vw, 720px);
    right: 0;
  }

  .hero__side--right img {
    opacity: 0.24;
    max-width: min(48vw, 720px);
    max-height: min(94vh, 1200px);
  }
}

@media (width <= 900px) {
  .hero__side {
    width: min(38vw, 340px);
    top: -40px;
  }

  .hero__side--left {
    opacity: 0.4;
    top: -85px;
    left: -12vw;
  }

  .hero__side--right {
    max-width: min(52vw, 520px);
    top: -140px;
    right: 0;
  }

  .hero__side--right img {
    opacity: 0.2;
    max-width: min(52vw, 520px);
    max-height: min(88vh, 1080px);
  }
}

@media (width <= 768px) {
  .page-patterns {
    display: none;
  }

  .hero {
    align-items: center;
    min-height: auto;
    padding: 80px 0 48px;
  }

  .hero__content {
    gap: 16px;
    width: 100%;
  }

  .hero__copy {
    width: 100%;
    max-width: 100%;
  }

  .hero__logo {
    width: min(180px, 56vw);
    margin-bottom: 16px;
  }

  .hero__copy .h-hero {
    letter-spacing: -0.035em;
    margin-inline: auto;
    max-width: 12em;
    font-size: clamp(28px, 8vw, 40px);
    line-height: 1.15;
  }

  .hero__subtitle {
    letter-spacing: -0.01em;
    white-space: normal;
    margin-top: 12px;
    font-size: clamp(14px, 3.6vw, 16px);
    line-height: 1.5;
  }

  .hero__side {
    width: 44vw;
    max-height: 50vh;
  }

  .hero__side--left {
    opacity: 0.34;
  }

  .hero__side--right {
    max-width: min(58vw, 440px);
    max-height: none;
    right: 0;
  }

  .hero__side--right img {
    opacity: 0.16;
    max-width: min(58vw, 440px);
    max-height: min(82vh, 1000px);
  }
}

@media (width <= 520px) {
  .hero__sides {
    display: none;
  }

  .hero {
    padding: 72px 0 40px;
  }

  .hero__logo {
    width: min(160px, 62vw);
    margin-bottom: 14px;
  }

  .hero__copy .h-hero {
    max-width: 10em;
    font-size: clamp(26px, 8vw, 34px);
  }

  .hero__subtitle {
    font-size: 14px;
  }

  .footer__company {
    white-space: normal;
  }
}
