:root {
  --black: #252525;
  --vanilla: #f8f4ee;
  --white: #ffffff;
  --arrow-strip-height: 96px;
  --arrow-fade-overlap: 56px;
  --hero-title-width: min(80.5vw, 716px);
  --hero-heading-gap: min(3.8vw, 34px);
  --hero-subtext-gap: min(5.4vw, 48px);
  --hero-label-font-size: min(3.36vw, 30px);
  --hero-status-font-size: min(2.7vw, 24px);
  --hero-status-width: min(47.8vw, 426px);
  --hero-design-height: min(86.55vw, 772px);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-width: 320px;
  font-family: "Instrument Sans", Arial, sans-serif;
  background: var(--black);
}

@media (max-width: 1280px) {
  html,
  body,
  .site {
    background-color: var(--black);
    background-image: url("./assets/hero.png");
    background-position: left top;
    background-size: 210% auto;
    background-repeat: no-repeat;
  }

  .site {
    background-attachment: scroll;
  }

  .hero {
    margin-top: calc(env(safe-area-inset-top, 0px) * -1);
    padding-top: env(safe-area-inset-top, 0px);
  }
}

img {
  display: block;
}

.site {
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--black);
}

.hero {
  position: relative;
  width: 100%;
  height: auto;
  min-height: calc(100vh - var(--arrow-strip-height));
  min-height: calc(100svh - var(--arrow-strip-height));
  overflow: hidden;
  background: var(--black);
}

.hero::before {
  content: "";
  display: none;
}

.hero::after {
  content: "";
  display: block;
  min-height: max(
    calc(100vh - var(--arrow-strip-height)),
    calc(100svh - var(--arrow-strip-height)),
    var(--hero-design-height)
  );
}

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    var(--black) 0%,
    rgba(37, 37, 37, 0.9) 8%,
    rgba(37, 37, 37, 0) 43%
  );
}

.hero__content {
  position: absolute;
  top: min(20.2vw, 180px);
  left: min(8.4vw, 75px);
  display: flex;
  flex-direction: column;
  align-items: center;
  width: var(--hero-title-width);
  color: var(--black);
  text-align: center;
  gap: var(--hero-heading-gap);
}

.hero__title {
  position: static;
  width: 100%;
  height: auto;
}

.hero__label {
  position: static;
  width: 100%;
  margin: 0;
  font-size: var(--hero-label-font-size);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero__status {
  position: static;
  width: var(--hero-status-width);
  margin: calc(var(--hero-subtext-gap) - var(--hero-heading-gap)) 0 0;
  padding: 12px 24px;
  color: var(--vanilla);
  background: var(--black);
  font-size: var(--hero-status-font-size);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.scroll-cue {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: calc(var(--arrow-strip-height) + var(--arrow-fade-overlap));
  margin-top: calc(var(--arrow-fade-overlap) * -1);
  padding: var(--arrow-fade-overlap) 0 34px;
  background: linear-gradient(
    to bottom,
    rgba(37, 37, 37, 0) 0%,
    rgba(37, 37, 37, 0.5) 30%,
    rgba(37, 37, 37, 0.88) 62%,
    var(--black) 100%
  );
  cursor: pointer;
  outline-offset: -6px;
}

.scroll-cue img {
  width: 13.2px;
  height: 26.4px;
  animation: arrow-bounce 1.8s ease-in-out infinite;
  transform: translateY(0) rotate(90deg);
}

@keyframes arrow-bounce {
  0%,
  100% {
    transform: translateY(0) rotate(90deg);
  }

  50% {
    transform: translateY(7px) rotate(90deg);
  }
}

.info-screen {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  overflow: visible;
  background: var(--black);
}

.overview {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  height: auto;
  min-height: 0;
  padding: 0 120px 70px;
  background: var(--black);
}

.overview__inner {
  width: min(100%, 849px);
  text-align: center;
}

.overview h1 {
  margin: 0 0 40px;
  font-family: "Newsreader", Georgia, serif;
  font-size: 60px;
  font-weight: 400;
  line-height: 70px;
  letter-spacing: 0;
}

.overview__copy {
  font-size: 22px;
  font-weight: 500;
  line-height: 30px;
  letter-spacing: 0;
}

.overview__copy p {
  margin: 0 0 26px;
}

.overview__copy p:last-child {
  margin-bottom: 0;
}

.overview__copy strong,
.overview__copy em {
  font-weight: 600;
}

.contact {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  height: 207px;
  padding: 22px 24px 70px;
  color: var(--white);
  background: var(--black);
  text-align: center;
}

.contact h2 {
  margin: 0 0 40px;
  font-family: "Newsreader", Georgia, serif;
  font-size: 36px;
  font-weight: 500;
  line-height: 48px;
  letter-spacing: 0;
}

.contact a {
  color: inherit;
  font-size: 24px;
  font-weight: 500;
  line-height: 38px;
  letter-spacing: 0.03em;
  text-underline-position: from-font;
}

@media (max-width: 1280px) {
  .hero::before {
    position: absolute;
    z-index: 0;
    inset: 0;
    display: block;
    background-image: url("./assets/hero.png");
    background-position: left top;
    background-size: 210% auto;
    background-repeat: no-repeat;
  }

  .hero::after {
    display: block;
    min-height: max(
      calc(100vh - var(--arrow-strip-height)),
      calc(100svh - var(--arrow-strip-height)),
      var(--hero-design-height)
    );
  }

  .hero__image {
    top: 42%;
    right: auto;
    bottom: auto;
    left: 50%;
    display: block;
    width: 150%;
    height: 58%;
    object-fit: cover;
    object-position: center center;
    transform: translateX(-50%);
    -webkit-mask-image: linear-gradient(
      to bottom,
      transparent 0%,
      black 16%,
      black 100%
    );
    mask-image: linear-gradient(
      to bottom,
      transparent 0%,
      black 16%,
      black 100%
    );
  }

  .hero__shade {
    background: linear-gradient(
      to top,
      var(--black) 0%,
      rgba(37, 37, 37, 0.88) 16%,
      rgba(37, 37, 37, 0.34) 28%,
      rgba(37, 37, 37, 0) 42%
    );
  }

  .hero__title {
    z-index: 2;
  }

  .hero__label {
    z-index: 2;
    letter-spacing: 0.22em;
  }

  .hero__status {
    z-index: 2;
    letter-spacing: 0.24em;
  }

  .overview {
    padding: 44px 26px 30px;
  }

  .overview h1 {
    font-size: 42px;
    line-height: 50px;
  }

  .overview__copy {
    font-size: 17px;
    line-height: 25px;
  }

  .contact h2 {
    font-size: 32px;
    line-height: 42px;
  }

  .contact a {
    font-size: 18px;
    line-height: 30px;
  }
}

@media (max-width: 520px) {
  .hero {
    min-height: calc(100vh - var(--arrow-strip-height));
    min-height: calc(100svh - var(--arrow-strip-height));
  }

  .hero::before {
    background-size: 250% auto;
  }

  .hero__image {
    top: 41%;
    right: auto;
    bottom: auto;
    left: 42%;
    display: block;
    width: 170%;
    height: 54%;
    object-fit: cover;
    object-position: 68% 50%;
    transform: translateX(-50%);
  }

  .hero__shade {
    background: linear-gradient(
      to top,
      var(--black) 0%,
      rgba(37, 37, 37, 0.9) 8%,
      rgba(37, 37, 37, 0.58) 15%,
      rgba(37, 37, 37, 0.22) 23%,
      rgba(37, 37, 37, 0) 32%
    );
  }

  .hero__content {
    top: min(20.2vw, 180px);
    left: min(8.4vw, 75px);
    width: var(--hero-title-width);
  }

  .hero__title {
    z-index: 2;
  }

  .hero__label {
    z-index: 2;
    letter-spacing: 0.22em;
  }

  .hero__status {
    z-index: 2;
    letter-spacing: 0.24em;
  }

  .overview {
    padding: 34px 20px 24px;
  }

  .overview h1 {
    margin-bottom: 28px;
  }

  .overview__copy {
    font-size: 15px;
    line-height: 22px;
  }

  .overview__copy p {
    margin-bottom: 18px;
  }

  .contact {
    padding-bottom: 36px;
  }

  .contact h2 {
    margin-bottom: 24px;
  }
}
