@font-face {
  font-family: "URW Geometric Ext";
  src: url("./fonts/urwgeometricext-regular-webfont.woff2");
  font-weight: 400;
}

@font-face {
  font-family: "URW Geometric Ext";
  src: url("./fonts/urwgeometricext-light-webfont.woff2");
  font-weight: 300;
}

@font-face {
  font-family: "URW Geometric Ext";
  src: url("./fonts/urwgeometricext-semibold-webfont.woff2");
  font-weight: 600;
}

@font-face {
  font-family: "URW Geometric Ext";
  src: url("./fonts/urwgeometricext-bold-webfont.woff2");
  font-weight: 700;
}

@font-face {
  font-family: "URW Geometric Ext";
  src: url("./fonts/URWGeometricExt-Black.woff");
  font-weight: 800;
}

:root {
  --container: 176rem;
  --padding: 1rem;
  --text-color: #000000;
}

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  font-size: 62.5%;
  font-family: "URW Geometric Ext";
  font-weight: 400;
}

header {
  padding: 5rem 8rem;
  position: fixed;
  width: 100%;
  right: 0;
  left: 0;
  z-index: 100;
}

.header__container {
  padding: 0 var(--padding);
  margin: 0 -1rem;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

a#logo > img {
  width: 30rem;
  height: auto;
}

.header__menu > ul {
  display: flex;
  align-items: center;
  gap: 5rem;
  list-style: none;
}

.header__menu > ul > li > a {
  font-size: 1.9rem;
  font-weight: 800;
  text-decoration: none;
  color: var(--text-color);
}

.top-section {
  height: 130vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 1rem;
}

.top-section__text {
  max-width: 134rem;
  margin: 0 -1rem;
}

#top-section-title {
  line-height: 1.2;
  margin-bottom: 8rem;

  color: grey; /* initial */
  display: inline-block;
  overflow: hidden;
}

#top-section-title * {
  font-size: 12.9rem;
  font-weight: 800;
  will-change: transform, opacity, color;
  display: inline-block;
  color: grey;
  transform: translateY(100%);
  opacity: 0;
}

.top-section-desc {
  font-size: 2.4rem;
  color: var(--text-color);
  line-height: 1.4;
  will-change: transform, opacity;
  margin-bottom: 2rem;
}

.top-section-desc * {
  font-size: 2.4rem;
  color: var(--text-color);
  line-height: 1.4;
  will-change: transform, opacity;
}

.top-section-desc strong * {
  font-weight: 800;
}

.history {
  position: relative;
  overflow: hidden;

  padding: 0 8rem;
}

.history .scroll-image {
  transition: transform 0.3s ease;
  width: 100%;
  height: 100%;
  border-radius: 5rem;
  overflow: hidden;
}

.history .scroll-text {
  font-size: 20rem;
  font-weight: 800;
  color: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
}

.features {
  padding-top: 20rem;
}

.features > h2 {
  font-size: 18rem;
  font-weight: 800;
  -webkit-text-stroke: 2px #ffffff;
  color: transparent;
  line-height: 1;
  display: inline-block;
  position: relative; /* for horizontal centering with GSAP */
  left: 0;
  will-change: transform;

  background: radial-gradient(
    circle at top left,
    #ffffff 0%,
    #ffffff 40%,
    transparent 60%
  );
  background-size: 0% 0%;
  background-repeat: no-repeat;
  background-position: top left;
  -webkit-background-clip: text;
  background-clip: text;
}

.features__list {
  max-width: 120rem;
  margin: 8rem auto;
  padding: 0 1rem;
}

.features__list > div {
  text-indent: 7rem;
  font-weight: 800;
  font-size: 2.9rem;
  color: var(--text-color);
  line-height: 1.2;
  color: #fff;
}

.features__list > p {
  font-size: 2.6rem;
  color: var(--text-color);
  margin-bottom: 2rem;
  line-height: 1.4;
  color: #fff;
}

.overview {
  margin-top: 25rem;
  position: relative;
}

.overview__image {
  display: flex;
  justify-content: flex-end;
  position: relative;
  width: max-content;
  margin-left: auto;
}

.overview__image img {
  border-top-left-radius: 4rem;
  border-bottom-left-radius: 4rem;
}

.overview__image--text {
  position: absolute;
  top: 33%;
  transform: translateY(-50%);
  z-index: 20;
  left: -25rem;
}

.overview__image--text span {
  display: block;
  font-size: 12.9rem;
  font-weight: 800;
  margin-bottom: -3rem;
  line-height: 1.4;
  /* background: linear-gradient(to right, #000 35.7%, #fff 35.7%); */
  background: linear-gradient(to right, #000 100%, #fff 100%);

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 2px #000;
}

.overview__text {
  padding: 6.5rem;
  border-top-right-radius: 5rem;
  border-bottom-right-radius: 5rem;
  max-width: 134rem;
  position: absolute;
  bottom: -45.5rem;
  background-color: #fff;
}

.overview__text p {
  font-size: 2.9rem;
  color: #000;
  margin-bottom: 2rem;
  line-height: 1.4;
}

.overview__text p strong {
  font-size: 2.9rem;
  color: #000;
  font-weight: 700;
}

.overview__text ul {
  margin-bottom: 2rem;
  margin-left: 2.5rem;
}

.overview__text ul li {
  font-size: 2.9rem;
  color: #000;
}

footer {
  max-width: 175rem;
  background-color: #171717;
  margin: 70rem auto 0 auto;
  border-top-left-radius: 5rem;
  border-top-right-radius: 5rem;
  padding: 12rem 8.5rem 2rem 8.5rem;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.footer-logo {
  margin-bottom: 11rem;
}

footer > h5 {
  margin-bottom: 11rem;
  letter-spacing: -0.4rem;

  display: flex;
  align-items: center;
}

footer > h5 span {
  font-weight: 800;
  font-size: 17.5rem;
  color: #333333;
  line-height: 1;
}

footer > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

footer > div > p {
  font-size: 2.3rem;
  color: #fff;
}

footer > div > div {
  display: flex;
  align-items: center;
  gap: 4rem;
}

footer > div > div > a {
  font-size: 2.3rem;
  color: #fff;
  text-decoration: none;
}

a {
  cursor: none !important;
}

body #magicPointer.contrast-mode {
  background-color: #ef4368 !important;
  mix-blend-mode: overlay;
  background-blend-mode: overlay;
}

@media screen and (max-width: 1580px) {
  header {
    padding: 2rem 1.5rem;
  }

  .header__menu > ul {
    gap: 1.5rem;
  }

  .header__menu > ul > li > a {
    font-size: 1.7rem;
  }

  .top-section {
    height: 115vh;
  }

  #top-section-title * {
    font-size: 9rem;
  }

  #top-section-title {
    width: 100%;
    margin-bottom: 4rem;
  }

  .top-section-desc {
    font-size: 2.1rem;
  }

  .history {
    padding: 0 1.5rem;
  }

  .history .scroll-text {
    font-size: 14.4rem;
  }

  .features > h2 {
    font-size: 12.8rem;
  }

  .features__list > p {
    font-size: 2.2rem;
  }

  footer > h5 {
    width: 100%;
    justify-content: center;
  }

  footer > h5 span {
    font-size: 12rem;
  }

  footer {
    padding: 12rem 1.5rem 2rem 1.5rem;
  }

  footer > div > div {
    gap: 1.5rem;
  }

  footer > div > div > a {
    font-size: 2.1rem;
  }

  .overview__text {
    padding: 6.5rem 3rem;
    max-width: 102.4rem;
    bottom: -55rem;
  }

  .overview__text ul li,
  .overview__text p,
  .overview__text p strong {
    font-size: 2.4rem;
  }

  .overview__image img {
    max-width: 86.4rem;
  }

  .overview__image--text {
    top: 40%;
    left: -16.5rem;
  }

  .overview__image--text span {
    font-size: 8.4rem;
    margin-bottom: 0;
  }

  .top-section__text {
    margin: 0;
  }
}

.burger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.burger span {
  width: 25px;
  height: 3px;
  background: #333;
  display: block;
  border-radius: 2px;
}

@media screen and (max-width: 1024px) {
  .top-section {
    height: 100vh;
  }

  #top-section-title * {
    font-size: 6.4rem;
  }

  .top-section-desc * {
    font-size: 2.1rem;
  }

  .history .scroll-text {
    font-size: 8.4rem;
  }

  .features > h2 {
    font-size: 8.4rem;
  }

  .features__list {
    max-width: 66rem;
  }

  .features__list > p {
    font-size: 1.8rem;
  }

  .features__list > div {
    font-size: 2.4rem;
    margin-bottom: 0.5rem;
  }

  .overview__text {
    position: relative;
    bottom: 0;
    border-radius: 0;
  }

  .overview__text {
    padding: 6.5rem 1.5rem;
  }

  .overview__image img {
    max-width: 64rem;
  }

  .overview__text ul li,
  .overview__text p,
  .overview__text p strong {
    font-size: 2.1rem;
  }

  .overview__image--text span {
    font-size: 6.4rem;
  }

  .overview__image--text {
    top: 50%;
    left: -12.5rem;
  }

  footer {
    margin-top: 4rem;
    padding-top: 5rem;
  }

  .footer-logo {
    margin-bottom: 4rem;
  }

  footer > h5 {
    letter-spacing: 0;
    margin-bottom: 4rem;
  }

  footer > h5 span {
    font-size: 6.4rem;
  }

  .footer-logo img {
    max-width: 15rem;
    height: auto;
  }

  footer > div {
    flex-direction: column-reverse;
    gap: 3rem;
  }

  header {
    background-color: #fff;
  }

  .header__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: white;
    padding: 4rem 2rem;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .burger {
    display: flex;
    z-index: 10000;
  }

  .header__menu > ul {
    gap: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .header__menu > ul > li > a {
    font-size: 2.1rem;
  }
}

@media screen and (max-width: 640px) {
  #top-section-title * {
    font-size: 4.6rem;
  }

  .top-section-desc * {
    font-size: 1.8rem;
  }

  .top-section {
    height: auto;
    padding-top: 20rem;
  }

  .history {
    padding: 0;
  }

  .history .scroll-image {
    height: 100vh;
    border-radius: 0;
  }

  .features {
    padding-top: 10rem;
  }

  .features > h2 {
    font-size: 4.6rem;
  }

  .overview__image img {
    width: 100%;
    height: 100vh;
    border-radius: 0;
    object-fit: cover;
  }

  .overview__image {
    position: relative;
    overflow: hidden;
    width: 100%;
  }

  .overview__image::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
  }

  .overview__image--text {
    position: absolute;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 0;
    left: 0;
    transform: unset;
    width: 100%;
  }

  .overview__image--text span {
    position: absolute;
    font-size: 6.7rem;
    white-space: nowrap;
    color: white;
    opacity: 0;
    width: 100%;
    text-align: center;
    -webkit-text-stroke: 2px #fff;
  }

  .overview__text ul li,
  .overview__text p,
  .overview__text p strong {
    font-size: 1.8rem;
  }

  footer {
    border-top: 0;

    border-radius: 0;

    opacity: 0;
    transform: translateY(100px);
  }

  footer > div > div > a,
  footer > div > p {
    font-size: 1.8rem;
  }

  header {
    padding: 1rem 1.5rem;
  }

  footer > h5 span {
    font-size: 3.2rem;
  }
}

@media screen and (max-width: 480px) {
  .history .scroll-image {
    height: 65vh;
  }

  .features__list > div {
    text-indent: 2rem;
    font-size: 2rem;
  }

  .overview__image--text span {
    font-size: 4.2rem;
  }

  footer > div > div {
    flex-direction: column;
    gap: 2rem;
  }

  #top-section-title * {
    font-size: 2.4rem;
  }

  a#logo > img {
    width: 20rem;
    height: auto;
  }

  footer > div > div > a,
  footer > div > p {
    font-size: 1.6rem;
    text-align: center;
  }

  footer > h5 {
    letter-spacing: 1px;
  }

  #top-section-title {
    letter-spacing: 1px;
  }

  .history .scroll-text {
    font-size: 4.8rem;
  }

  .features > h2 {
    font-size: 3.2rem;
  }

  .features__list {
    margin: 3rem auto;
  }

  .overview {
    margin-top: 5rem;
  }

  .overview__text {
    padding-bottom: 0rem;
  }

  .overview__text ul li,
  .overview__text p,
  .overview__text p strong {
    font-size: 1.8rem;
    line-height: 1.4;
  }
}

body #magicPointer {
  z-index: 1000000000 !important;
}

#top-section-title span {
  width: 3px;
  display: inline-block;
}
