@font-face {
  font-family: "PP Neue Montreal";
  src: url("./assets/fonts/PPNeueMontreal-Book.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "PP Neue Montreal";
  src: url("./assets/fonts/PPNeueMontreal-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

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

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #131313;
  font-family: "PP Neue Montreal", sans-serif;
  font-weight: 400;
  color: #f9f9f9;
}

.hero-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: url(./assets/hero-bg.jpg) no-repeat 50% 50%;
  background-size: cover;
  transform: scale(1.04);
  filter: brightness(0.05);
  will-change: transform, filter;
}

/* hero */
.hero {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: 28vh 2em 2em;
}

.hero-title {
  margin: 0;
  font-size: clamp(2.5rem, 5.2vw, 4.5rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
  transform: translateY(30px);
  opacity: 0;
}

.hero-services {
  margin: auto 0 0;
  padding: 0;
  list-style: none;
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  font-weight: 400;
  line-height: 1.55;
  color: #f9f9f9;
}

.hero-services li {
  transform: translateY(30px);
  opacity: 0;
}

/* logos */
.logo,
.menu-logo {
  position: fixed;
  top: 32px;
  left: 2em;
  height: 60px;
  display: flex;
  align-items: center;
  z-index: 2;
}

.logo a,
.menu-logo a {
  display: block;
  color: #f9f9f9;
  text-decoration: none;
}

.logo svg,
.menu-logo svg,
.logo img,
.menu-logo img,
.header-brand img {
  display: block;
  width: 64px;
  height: auto;
}

/* menu toggle btn */
.menu-toggle {
  position: fixed;
  top: 32px;
  right: 2em;
  width: 130px;
  height: 60px;
  background: rgba(19, 19, 19, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8em;
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  transition: width 0.5s cubic-bezier(0.075, 0.82, 0.165, 1);
  transform-origin: right;
  cursor: pointer;
  z-index: 11;
}

.menu-toggle.opened {
  width: 60px;
}

.menu-reserved {
  position: fixed;
  top: 32px;
  right: calc(2em + 72px);
  z-index: 11;
  height: 60px;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f9f9f9;
  border: 1px solid #f9f9f9;
  border-radius: 8em;
  color: #131313;
  text-decoration: none;
  font-size: 24px;
  font-weight: 300;
  letter-spacing: -0.5px;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.menu-reserved:hover {
  color: #f9f9f9;
  background-color: #1d1d1d;
  border-color: #ffffff12;
}

.menu-copy {
  position: absolute;
  top: 51%;
  left: 30px;
  transform: translateY(-50%);
  color: #f9f9f9;
  transition: left 0.5s cubic-bezier(0.075, 0.82, 0.165, 1);
  z-index: 1;
}

.menu-copy p {
  text-transform: uppercase;
  font-weight: 300;
  font-size: 15px;
  margin: 0;
  padding: 0;
}

.menu-toggle:hover .menu-copy {
  left: 20px;
}

.menu-toggle.opened .menu-copy {
  opacity: 0;
}

.menu-toggle-icon {
  position: absolute;
  right: 0;
  width: 60px;
  height: 60px;
  border-radius: 100%;
  clip-path: circle(10% at 50% 50%);
  background-color: #f9f9f9;
  transition: all 0.5s cubic-bezier(0.075, 0.82, 0.165, 1);
  z-index: 10;
  overflow: hidden;
}

.menu-toggle:hover .menu-toggle-icon {
  clip-path: circle(35% at 50% 50%);
}

.menu-toggle.opened .menu-toggle-icon {
  clip-path: circle(50% at 50% 50%);
  transform: scale(1.125);
}

.hamburger {
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 1s cubic-bezier(0.075, 0.82, 0.165, 1);
  opacity: 0;
}

.menu-toggle:hover .hamburger,
.menu-toggle.opened .hamburger {
  top: 50%;
  opacity: 1;
}

.menu-bar {
  position: absolute;
  width: 15px;
  height: 1.5px;
  background: #000;
  transition-property: transform;
  transition: all 250ms ease-out;
}

.menu-bar[data-position="top"] {
  transform: translateY(-3px);
}

.menu-bar[data-position="bottom"] {
  transform: translateY(3px);
}

.menu-toggle.opened .menu-bar[data-position="top"] {
  transform: translateY(0) rotate(45deg) scaleX(1.05);
}

.menu-toggle.opened .menu-bar[data-position="bottom"] {
  transform: translateY(0) rotate(-45deg) scaleX(1.05);
}

/* menu */
.menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  background-color: #131313;
  clip-path: polygon(0% 100%, 100% 100%, 100% 100%, 0% 100%);
  pointer-events: none;
  transform-style: preserve-3d;
  perspective: 1000px;
  z-index: 10;
}

.col-1 {
  flex: 1;
}

.col-2 {
  flex: 2;
}

.col {
  position: relative;
  height: 100%;
  padding: 10em 2em 2em 2em;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.link {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 0.55em;
  transform: translateY(30px);
  opacity: 0;
}

.link a {
  text-decoration: none;
  color: #fff;
  font-size: 48px;
  font-weight: 300;
  letter-spacing: -1.5px;
  line-height: 125%;
  transition: color 0.3s ease;
}

.link a:hover {
  color: rgba(255, 255, 255, 0.72);
}

.link-soon {
  font-size: 15px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: rgba(249, 249, 249, 0.4);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
  white-space: nowrap;
}

.link:hover .link-soon {
  opacity: 1;
  transform: translateX(0);
}

.video-wrapper {
  width: 100%;
  aspect-ratio: 16/9;
  background-color: #1d1d1d;
  clip-path: polygon(0% 100%, 100% 100%, 100% 100%, 0% 100%);
  overflow: hidden;
  padding: 2em;
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.socials {
  width: 50%;
  display: flex;
  gap: 2em;
}

.socials .sub-col {
  flex: 1;
}

.socials .sub-col a,
.socials .sub-col p {
  position: relative;
  display: block;
  color: #f9f9f9;
  text-decoration: none;
  transform: translateY(30px);
  opacity: 0;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  transition: color 0.3s ease;
}

.socials .sub-col a:hover {
  color: rgba(249, 249, 249, 0.72);
}

.header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: 100%;
  gap: 2em;
}

.header-brand {
  opacity: 0;
}

.header-brand p {
  margin: 0;
  color: #a8a8a8;
}

.menu-copyrights {
  margin: 0;
  font-size: 12px;
  font-weight: 300;
  color: rgba(249, 249, 249, 0.35);
  white-space: nowrap;
}

.header h1 {
  color: #fff;
  font-size: 500px;
  font-weight: lighter;
  line-height: 100%;
  height: 400px;
}

.header h1 span {
  position: relative;
  display: inline-block;
  transform: scale(0.75) translateY(500px) rotateY(90deg);
  transform-origin: bottom;
}

@media (max-width: 900px) {
  .hero {
    padding-left: 1em;
    padding-right: 1em;
  }

  .menu {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    grid-template-rows: minmax(0, 1fr) auto;
    height: 100dvh;
    overflow: hidden;
    padding: 10em 0 0;
    box-sizing: border-box;
  }

  .col {
    display: contents;
    height: auto;
    min-height: 0;
    padding: 0;
  }

  .logo,
  .menu-logo {
    left: 1em;
  }

  .menu-toggle {
    right: 1em;
  }

  .menu-reserved {
    right: calc(1em + 72px);
  }

  .links {
    grid-column: 1;
    grid-row: 1;
    align-self: start;
    padding: 0 0.5em 0 1em;
  }

  .socials {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
    width: auto;
    flex-direction: column;
    gap: 1.25em;
    margin-top: 0;
    padding: 0 1em 0 0.5em;
  }

  .socials .sub-col a,
  .socials .sub-col p {
    font-size: 13px;
    line-height: 1.45;
  }

  .link a {
    font-size: clamp(22px, 7vw, 30px);
    line-height: 1.15;
  }

  .video-wrapper {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    max-width: none;
    max-height: none;
    padding: 0 1em 1.25em;
    aspect-ratio: 16 / 9;
    box-sizing: border-box;
    background-color: #131313;
  }

  .header {
    display: none;
  }
}
