html,
body {
  background: white;
  padding: 0;
  margin: 0;
  font-family: Helvetica, sans-serif;
  font-size: 16px;
  color: #000;
  scroll-behavior: smooth;
}
body.lock-scroll {
  overflow: hidden;
  touch-action: none;
}
nav.fixed {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  pointer-events: none;
}
nav.fixed .header {
  box-sizing: border-box;
  padding: 20px;
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  z-index: 99999;
  pointer-events: auto;
}
nav.fixed .header .icon {
  height: 24px;
  width: 24px;
}
nav.fixed .header .button {
  width: auto;
  height: 100%;
}
.logo-holder {
  height: calc(100svh - 60px);
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.logo {
  display: block;
  padding: 0;
  margin: 0;
  width: 100%;
  height: auto;
}
.logo-img {
  display: none;
  width: 100vw;
  max-width: 100%;
  height: auto;
}
.midnightHeader.white .logo-img.white,
.midnightHeader.black .logo-img.black,
.midnightHeader.default .logo-img.default {
  display: block;
}
.bg-black {
  background-color: #000;
  background-size: cover;
  min-height: 100svh;
}
.bg-white {
  background: #ffffff;
  background-size: cover;
  min-height: 100svh;
  z-index: 99;
  position: relative;
}
.separator {
  margin-top: 20px;
  margin-bottom: 20px;
  height: 0px;
  border-top: 1px solid #000;
}
.project-panel {
  position: fixed;
  top: 0;
  right: -100vw;
  width: 100vw;
  height: 100svh;
  background: white;
  -webkit-overflow-scrolling: touch;
  z-index: 9999;
  overflow-y: auto;
  transition: right 1s ease-in-out;
}
.project-panel.open {
  right: 0;
}
.close-panel {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: black !important;
}
@media only screen and (max-width: 800px) {
  nav.fixed .header {
    padding: 10px !important;
    justify-content: center;
  }
  .logo-holder {
    align-items: flex-start;
    margin-top: 20px;
  }
  .home-intro {
    flex-direction: column;
    padding: 0 10px;
  }
  .home-intro .left-col {
    flex-direction: column;
    padding: 0 !important;
    margin-top: 120px;
  }
  .home-intro .left-col .illustration-cont {
    margin-bottom: 10px;
  }
  .home-intro .left-col .illustration-cont img.logo {
    width: 75%;
  }
  .home-intro .right-col {
    width: 100% !important;
  }
  .mega-menu .mega-menu-cont {
    flex-direction: column;
  }
  .mega-menu .mega-menu-cont .menu-cont {
    gap: 5px !important;
    margin-top: 120px;
  }
  .mega-menu .mega-menu-cont .menu-cont .menu-item {
    margin-right: 0px !important;
    width: 100% !important;
  }
  .mega-menu .mega-menu-cont .menu-cont .menu-item .project-link {
    font-size: 20px;
    padding-right: 0px;
  }
  .mega-menu .mega-menu-cont .menu-cont .menu-item .menu-number {
    margin-top: 6px;
    margin-bottom: 6px;
    margin-right: 10px;
  }
  .mega-menu .mega-menu-cont .mega-menu-illustration .arrow {
    display: none;
  }
  #contact {
    width: 100% !important;
    min-height: 130vh !important;
  }
  #contact .contact-details {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    box-sizing: border-box;
    width: 100% !important;
  }
  #contact .contact-details .contact-cont {
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 20px;
  }
  #contact .contact-details .contact-cont .menu-item {
    margin: 0 !important;
    max-width: 100% !important;
  }
  #contact .contact-details .contact-cont .menu-item .info {
    font-size: 24px;
    overflow-wrap: break-word;
    color: #000 !important;
    text-decoration: none !important;
  }
  #contact .contact-details .contact-cont .menu-item .menu-number {
    margin-top: 0;
  }
  #contact .contact-details .illustration-cont {
    display: flex;
  }
  .portfolio .project-content .project-text {
    width: 100% !important;
    padding: 10px;
    flex-direction: column;
  }
  .portfolio .project-content .project-text .left-col {
    width: 100% !important;
    padding: 0 !important;
  }
  .portfolio .project-content .project-text .left-col .project-link {
    display: inline-block;
    max-width: 100%;
    overflow-wrap: anywhere;
    /* modern, most robust */
    word-break: break-word;
    /* fallback */
    white-space: normal;
    /* fallback */
    width: 327px;
  }
  .portfolio .project-content .project-text .right-col {
    width: 100% !important;
    padding: 0 !important;
  }
  .portfolio .project-content .project-footer .footer-arrow {
    right: 5px !important;
    bottom: 20px !important;
    width: 50px !important;
    height: 50px !important;
  }
}
.mega-menu {
  height: 100vh;
  z-index: 10;
  display: flex;
  position: relative;
}
.mega-menu .mega-menu-cont {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: fixed;
  top: 0;
  box-sizing: border-box;
}
.mega-menu .mega-menu-cont .menu-cont {
  display: flex;
  flex-wrap: wrap;
  width: 80%;
  padding: 60px 20px;
  gap: 20px;
}
.mega-menu .mega-menu-cont .menu-cont .menu-item {
  display: flex;
  align-items: flex-start;
  margin-right: 30px;
  position: relative;
}
.mega-menu .mega-menu-cont .menu-cont .menu-item .menu-number {
  font-size: 2rem;
  font-weight: bold;
  color: #fff;
  margin-right: 10px;
  font-size: 12px;
  font-family: 'DegularMono-Light', sans-serif;
  font-weight: 300;
  font-style: normal;
}
.mega-menu .mega-menu-cont .menu-cont .menu-item a {
  color: #fff;
  font-size: 40px;
  font-family: 'DegularMono-Light', sans-serif;
  font-weight: 300;
  font-style: normal;
  letter-spacing: -2px;
  text-transform: uppercase;
  text-decoration: none;
  position: relative;
  padding-right: 50px;
  transition: font-weight 0.2s ease;
}
.mega-menu .mega-menu-cont .menu-cont .menu-item::after {
  content: '→';
  position: absolute;
  rotate: 45deg;
  top: 40%;
  right: 20px;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #000;
  color: #fff;
  font-size: 16px;
  line-height: 32px;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}
.mega-menu .mega-menu-cont .menu-cont .menu-item:hover .menu-number {
  font-weight: bold;
}
.mega-menu .mega-menu-cont .menu-cont .menu-item:hover a {
  font-weight: bold;
}
.mega-menu .mega-menu-cont .menu-cont .menu-item:hover::after {
  opacity: 1;
  transform: translateY(-50%) scale(1.1);
}
.mega-menu .mega-menu-cont .mega-menu-illustration {
  padding: 60px 30px;
}
.page-wrapper {
  position: relative;
}
.page-wrapper .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, background 0.3s ease;
  z-index: 9;
}
.menu-hover-image-container {
  position: fixed;
  top: 65%;
  left: 50%;
  transform: translate(-50%, -50%) translateY(20px);
  /* start slightly down */
  z-index: 1000;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
  /* animate both */
}
.menu-hover-image-container .menu-hover-image {
  max-width: 60vw;
  max-height: 60vh;
  object-fit: contain;
  display: block;
}
.menu-hover-image-container.visible {
  opacity: 1;
  transform: translate(-50%, -50%) translateY(0);
  /* move up */
}
@media only screen and (max-width: 800px) {
  .menu-hover-image-container {
    display: none;
  }
  .overlay {
    display: none;
  }
  .mega-menu .mega-menu-cont .menu-cont .menu-item::after {
    display: none !important;
    content: none !important;
  }
  .mega-menu .mega-menu-cont .menu-cont .menu-item:hover .menu-number {
    font-weight: 300 !important;
  }
  .mega-menu .mega-menu-cont .menu-cont .menu-item:hover a {
    font-weight: 300 !important;
  }
}
@font-face {
  font-family: 'Galgo';
  src: url('fonts/Galgo.otf') format('opentype'), url('fonts/Galgo.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'DegularMono-Light';
  src: url('fonts/DegularMono-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
}
.home-intro {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 95vh;
  position: fixed;
  top: 0;
}
.home-intro.hidden {
  pointer-events: none;
}
.home-intro .left-col {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  padding: 0 0 0 100px;
}
.home-intro .left-col .role-cont {
  border: 1px solid black;
  border-radius: 20px;
  height: 30px;
  box-sizing: border-box;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px 10px;
}
.home-intro .left-col .role-cont p {
  margin: 0;
  font-family: 'DegularMono-Light', sans-serif;
  font-weight: 300;
  font-style: bold;
}
.home-intro .right-col {
  width: 75%;
}
.home-intro .right-col .description-cont p {
  margin: 0;
  font-family: Helvetica, sans-serif;
  font-weight: 300;
  font-style: normal;
  letter-spacing: 1px;
  line-height: 145%;
}
.contact-details {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 100vh;
  padding: 0 50px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  z-index: 1000;
  pointer-events: none;
  /* Optional: allow clicks to pass through */
  transition: opacity 0.3s ease;
}
.contact-details .contact-cont .menu-item {
  display: flex;
  align-items: flex-start;
  margin-right: 30px;
}
.contact-details .contact-cont .menu-item .menu-number {
  font-size: 2rem;
  font-weight: bold;
  color: #000;
  margin-right: 10px;
  font-size: 12px;
  font-family: 'DegularMono-Light', sans-serif;
  font-weight: 300;
  font-style: normal;
}
.contact-details .contact-cont .menu-item .info {
  color: #000;
  font-size: 40px;
  font-family: 'DegularMono-Light', sans-serif;
  font-weight: 300;
  font-style: normal;
  letter-spacing: -2px;
  text-transform: uppercase;
  margin: 0;
}
.portfolio-nav {
  width: 100%;
  position: fixed;
  z-index: 9999;
}
.portfolio-nav .portfolio-header {
  height: 30px;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 20px;
  gap: 20px;
  box-sizing: border-box;
}
.portfolio p {
  line-height: 160%;
  margin: 0;
  letter-spacing: 1px;
  font-weight: 300;
}
.portfolio .project-header {
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  box-sizing: border-box;
}
.portfolio .project-header .header-title-cont {
  width: 100%;
  height: auto;
}
.portfolio .project-header .header-title-cont h1 {
  font-size: 22vw;
  margin: 0;
  font-family: 'Galgo';
  font-weight: normal;
  font-style: normal;
  text-transform: uppercase;
  padding-top: 30px;
  padding-left: 30px;
}
.portfolio .hero-img {
  width: 100%;
  height: 750px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.portfolio .project-text {
  width: 100%;
  height: 100%;
  display: flex;
  box-sizing: border-box;
  padding: 30px;
}
.portfolio .project-text .left-col {
  width: 50%;
  padding: 20px;
  display: flex;
  flex-direction: column;
}
.portfolio .project-text .left-col h2 {
  font-size: 25px;
  margin: 0;
  font-family: 'DegularMono-Light';
  font-weight: 300;
  font-style: normal;
}
.portfolio .project-text .left-col .details .menu-item {
  display: flex;
  align-items: flex-start;
  margin-right: 30px;
}
.portfolio .project-text .left-col .details .menu-item .menu-number {
  font-size: 2rem;
  font-weight: bold;
  margin-right: 10px;
  font-size: 12px;
  font-family: 'DegularMono-Light', sans-serif;
  font-weight: 300;
  font-style: normal;
}
.portfolio .project-text .left-col .details .menu-item .info {
  font-size: 30px;
  font-family: 'DegularMono-Light', sans-serif;
  font-weight: 300;
  font-style: normal;
  letter-spacing: -2px;
  text-transform: uppercase;
  text-decoration: none;
  margin: 0;
}
.portfolio .project-text .right-col {
  width: 50%;
  padding: 20px;
  display: flex;
  flex-direction: column;
}
.portfolio .project-text .right-col h2 {
  font-size: 25px;
  margin: 0;
  font-family: 'DegularMono-Light';
  font-weight: 300;
  font-style: normal;
}
.portfolio .project-text .right-col p {
  margin-bottom: 15px;
}
.portfolio .project-text .project-link {
  text-decoration: none;
  font-family: Helvetica, sans-serif;
  font-weight: 300;
  color: black;
  width: 50%;
  letter-spacing: 1px;
  transition: all 0.3s ease-in-out;
}
.portfolio .project-text .project-link:hover {
  color: #ff4400;
}
.portfolio .project-gallery {
  max-width: 1400px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 60px;
  box-sizing: border-box;
  padding: 60px;
  text-align: center;
  margin: 0 auto;
}
.portfolio .project-gallery .project-image {
  width: 100%;
}
.portfolio .project-footer {
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  box-sizing: border-box;
}
.portfolio .project-footer .footer-title-cont {
  width: 100%;
  height: auto;
  position: relative;
  display: flex;
  align-items: center;
}
.portfolio .project-footer .footer-title-cont a {
  font-size: 22vw !important;
  margin: 0;
  font-family: 'Galgo';
  font-weight: normal;
  font-style: normal;
  text-decoration: none;
  color: inherit;
  display: block;
  cursor: pointer;
  padding-top: 30px;
  padding-left: 10px;
}
.portfolio .project-footer .footer-title-cont .footer-arrow {
  position: absolute;
  bottom: 40px;
  right: 20px;
  transform: scaleX(-1);
}
.portfolio .project-video {
  max-width: 1000px;
  margin: 40px auto;
  border-radius: 16px;
  overflow: hidden;
  height: auto;
  width: 90vw;
  aspect-ratio: 16 / 8.06;
  position: relative;
}
@media only screen and (max-width: 800px) {
  .header-title-cont h1 {
    padding-top: 10px !important;
    padding-left: 10px !important;
  }
  .hero-img {
    height: 400px !important;
  }
}
