html {
  --color-spike: #c01b05;
  --color-black: #000;
  --color-white: #fff;
  --svh: max(640px, 100vh);
  --lvh: max(720px, 100vh);
  --xs: 8px;
  --s: 16px;
  --m: 24px;
  --l: 40px;
  --xl: 64px;
  font-family: 'Rubik', Helvetica, Arial, sans-serif;
  background-color: var(--color-black);
  scroll-behavior: smooth;
}
@media screen and (max-width: 575.98px) {
  @supports (height: 100lvh) {
    html {
      --xs: 6px;
      --s: 12px;
      --m: 18px;
      --l: 30px;
      --xl: 48px;
      --lvhs: calc(max(-800px, 100lvh + 10000 * min(0px, 100lvh - 100svh - 1px)));
      --lvh: calc(max(var(--lvhs), -1 * var(--lvhs)));
      --svhs: calc(max(-720px, 100svh + 10000 * min(0px, 100lvh - 100svh - 1px)));
      --svh: calc(max(var(--svhs), -1 * var(--svhs)));
    }
  }
}
body {
  margin: 0;
}
section {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  height: var(--lvh);
  gap: var(--m);
  padding: 0 calc(max(var(--m), (100% - 800px) / 2));
  box-sizing: border-box;
  overflow: clip;
}
#cover-photo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--lvh);
  z-index: 1;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top 50% right;
  overflow: hidden;
}
#arrow {
  display: block;
  position: sticky;
  bottom: var(--s);
  height: var(--xl);
  width: var(--xl);
  font-size: var(--xl);
  line-height: var(--xl);
  z-index: 1;
  align-self: flex-end;
  background-color: var(--color-white);
  color: var(--color-spike);
  text-align: center;
  animation-name: slidein-right;
  animation-duration: 2.5s;
}
#arrow::after {
  display: inline-block;
  transform: rotate(90deg);
  content: '>';
  position: relative;
  left: 2px;
}
h1 {
  display: inline-block;
  margin: 0;
  padding: var(--xs) var(--m);
  font-size: var(--xl);
  margin-bottom: var(--s);
}
p {
  margin: 0;
  font-weight: 350;
  font-size: var(--m);
}
.link {
  font-weight: 350;
  font-size: var(--l);
  text-decoration: underline;
  text-decoration-style: dashed;
  text-underline-position: under;
}
.link::after {
  content: '>';
  display: inline-block;
  font-weight: 700;
  font-size: var(--m);
  margin-left: var(--s);
}
section:nth-of-type(1) {
  height: calc(1.5 * var(--lvh));
  justify-content: flex-end;
  color: var(--color-white);
}
section:nth-of-type(1) h1 {
  color: var(--color-spike);
  background-color: var(--color-black);
}
#about {
  position: absolute;
  top: var(--lvh);
}
section:nth-of-type(2) {
  color: var(--color-white);
  height: calc(3 * var(--lvh));
  margin-top: calc(-1.5 * var(--lvh));
}
section:nth-of-type(2)::before {
  content: ' ';
  position: absolute;
  top: var(--lvh);
  left: 0;
  z-index: 1;
  height: var(--lvh);
  width: 100%;
  background-color: var(--color-spike);
  transform: translate3d(0, 0, 0);
}
section:nth-of-type(2) h1 {
  position: sticky;
  bottom: calc(0.5 * var(--svh));
  z-index: 1;
  color: var(--color-white);
  background-color: var(--color-black);
  animation-name: slidein-left;
  animation-duration: 2.5s;
}
section:nth-of-type(2) p {
  z-index: 1;
}
@keyframes slidein-right {
  0% {
    transform: translateX(100vw);
  }
  40% {
    transform: translateX(100vw);
  }

  100% {
    transform: translateX(0);
  }
}
@keyframes slidein-left {
  0% {
    transform: translateX(-100vw);
  }
  40% {
    transform: translateX(-100vw);
  }

  100% {
    transform: translateX(0);
  }
}
section:nth-of-type(3) {
  margin-top: calc(-1 * var(--lvh));
  z-index: 3;
  background-color: var(--color-black);
  color: var(--color-white);
}
section:nth-of-type(3) h1 {
  color: var(--color-white);
  background-color: var(--color-spike);
}
section:nth-of-type(3) .link {
  color: var(--color-white);
}
@media (prefers-color-scheme: light) {
  section:nth-of-type(3) {
    background-color: var(--color-white);
    color: var(--color-black);
  }
  section:nth-of-type(3) h1 {
    color: var(--color-black);
  }
  section:nth-of-type(3) .link {
    color: var(--color-black);
  }
}
@media screen and (max-width: 799.98px) {
  #cover-photo {
    background-size: cover;
    justify-content: end;
  }
  #arrow {
    height: var(--xl);
    width: var(--xl);
    font-size: var(--xl);
    line-height: var(--xl);
  }
}
@media screen and (max-width: 575.98px) {
  #cover-photo {
    background-position: top;
  }
}
