@import url("https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap");
body {
  background: #0f0f0f;
  min-height: 100vh;
  width: 100%;
  margin: 0;
  overflow-x: hidden;
  overflow-y: auto;
  color: white;
  font-family: "Nunito Sans", sans-serif;
  font-weight: 500;
}

html {
  scroll-behavior: smooth;
}

section {
  display: flex;
  align-items: center;
}

.background {
  height: 100vh;
  left: 0;
  pointer-events: none;
  position: fixed;
  top: 0;
  width: 100vw;
  z-index: 100;
}
.background:after {
  animation: noise 1s steps(2) infinite;
  background-image: url("assets/noise.png");
  background-position: 50%;
  content: "";
  height: calc(100vh + 20rem);
  left: -10rem;
  position: absolute;
  top: -10rem;
  width: calc(100vw + 20rem);
  opacity: 1;
}
@keyframes noise {
  0% {
    transform: translate3d(0, 9rem, 0);
  }
  10% {
    transform: translate3d(-1rem, -4rem, 0);
  }
  20% {
    transform: translate3d(-8rem, 2rem, 0);
  }
  30% {
    transform: translate3d(9rem, -9rem, 0);
  }
  40% {
    transform: translate3d(-2rem, 7rem, 0);
  }
  50% {
    transform: translate3d(-9rem, -4rem, 0);
  }
  60% {
    transform: translate3d(2rem, 6rem, 0);
  }
  70% {
    transform: translate3d(7rem, -8rem, 0);
  }
  80% {
    transform: translate3d(-9rem, 1rem, 0);
  }
  90% {
    transform: translate3d(6rem, -5rem, 0);
  }
  100% {
    transform: translate3d(-7rem, 0, 0);
  }
}

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

main {
  width: 100%;
}
main .container {
  display: flex;
  flex-direction: column;
  height: 100vh;
  justify-content: space-between;
  padding: 50px;
}
main .container .top {
  display: flex;
  justify-content: end;
}
main .container .top button {
  border: none;
  background: none;
  color: white;
  font-family: "Nunito Sans", sans-serif;
  font-weight: 300;
  cursor: pointer;
}
main .container .top button.active {
  color: #F1AE27;
  cursor: not-allowed;
}
main .container .top button.interactable:hover {
  color: #F1AE27;
}
main .container .middle {
  position: relative;
  margin-bottom: 100px;
}
main .container .middle .brand {
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  pointer-events: none;
  margin-bottom: 25px;
}
main .container .middle .brand img {
  width: 45px;
}
main .container .middle .greeting {
  position: relative;
}
main .container .middle .greeting h1 {
  font-size: 2rem;
  margin-bottom: 10px;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  pointer-events: none;
}
main .container .middle .greeting h1 span {
  font-family: "Nunito Sans", sans-serif;
  font-weight: 600;
}
main .container .middle .greeting h2 {
  color: white;
  margin-bottom: 3rem;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  pointer-events: none;
}
main .container .middle .greeting h2 span {
  transform: translateY(100%);
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
  font-family: "Nunito Sans", sans-serif;
  font-weight: 600;
  color: #F1AE27;
}
main .container .middle .button {
  display: block;
  background-color: transparent;
  border: 2px solid white;
  width: min(220px, 100%);
  height: 45px;
  line-height: 100px;
  margin: auto;
  color: #fff;
  position: absolute;
  left: 0;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.3);
  transition: all 0.6s ease;
}
main .container .middle .button span,
main .container .middle .button .icon {
  display: block;
  height: 100%;
  text-align: center;
  position: absolute;
  top: 0;
}
main .container .middle .button span {
  width: 65%;
  line-height: inherit;
  font-size: 1rem;
  left: 0;
  transition: all 0.6s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}
main .container .middle .button span:after {
  content: "";
  background-color: white;
  width: 2px;
  height: 70%;
  position: absolute;
  top: 15%;
  right: -1px;
}
main .container .middle .button .icon {
  width: 35%;
  right: 0;
  transition: all 0.6s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
main .container .middle .button .icon i {
  font-size: 1.4rem;
  transition: all 0.6s ease;
}
main .container .middle .button:hover {
  background: white;
  color: #0f0f0f;
}
main .container .middle .button:hover span {
  left: -72%;
  opacity: 0;
}
main .container .middle .button:hover .icon {
  width: 100%;
}
main .container .middle .button:hover .icon i {
  font-size: 1.6rem;
}
main .container .socials {
  list-style: none;
  padding: 0;
}
main .container .bottom {
  padding-bottom: 70px;
  align-items: center;
  display: flex;
  justify-content: space-between;
}
main .container .work-link {
  align-items: center;
  color: #fff;
  display: flex;
  font-size: 0.9rem;
  font-weight: 300;
  gap: 10px;
  position: relative;
  text-decoration: none;
  z-index: 101;
}
main .container .work-link i {
  color: #F1AE27;
  transition: transform 0.3s ease;
}
main .container .work-link:hover i {
  transform: translateY(4px);
}
main .container .socials li {
  display: inline-block;
  margin-right: 10px;
  font-size: 24px;
  position: relative;
  line-height: 30px;
  border: 2px solid #fff;
}
main .container .socials li:nth-child(1) a:hover {
  color: #171515;
}
main .container .socials li:nth-child(2) a:hover {
  color: #0077B5;
}
main .container .socials li:nth-child(3) a:hover {
  color: #4267B2;
}
main .container .socials li a {
  text-decoration: none;
  position: relative;
  z-index: 0;
  color: #fff;
  text-shadow: 2px 2px 1px rgba(0, 0, 0, 0.1);
  transition: all 0.35s;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 35px;
  width: 57px;
  line-height: 30px;
}
main .container .socials li a:hover {
  color: black;
}
main .container .socials li a:hover:hover:before, main .container .socials li a:hover:hover:after {
  width: 75%;
}
main .container .socials li a:before, main .container .socials li a:after {
  position: absolute;
  content: "";
  width: 0;
  background: rgba(255, 255, 255, 0.8);
  top: 3px;
  bottom: 3px;
  transition: all 0.35s;
}
main .container .socials li a:before {
  left: 3px;
}
main .container .socials li a:after {
  right: 3px;
}
main .container .socials li a i {
  font-size: 1rem;
  z-index: 2;
}

#trailer {
  height: 20px;
  width: 20px;
  border: 2px solid white;
  border-radius: 20px;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 9999;
  pointer-events: none;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  opacity: 0;
  transition: all 500ms ease;
}
#trailer i {
  z-index: 99999999;
  color: black;
  display: flex;
  justify-content: center;
  align-items: center;
}

body:hover > #trailer {
  opacity: 1;
}

.projects {
  align-items: stretch;
  min-height: 100vh;
  min-height: 100svh;
  width: 100%;
}
.projects-container {
  padding-bottom: 110px;
  padding-top: 100px;
  width: 100%;
}
.projects-header {
  align-items: flex-end;
  display: flex;
  justify-content: space-between;
  margin-bottom: 55px;
}
.projects-eyebrow {
  color: #F1AE27;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.projects-header h2 {
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  font-weight: 600;
  line-height: 1;
}
.projects-count {
  color: #777;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
}
.project-list {
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
}
.project {
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  display: grid;
  gap: 22px;
  grid-template-columns: 34px 56px minmax(0, 1fr) auto 24px;
  min-height: 116px;
  padding: 22px 16px;
  position: relative;
  text-decoration: none;
  transition: background-color 0.35s ease, border-color 0.35s ease;
  z-index: 101;
}
.project:hover,
.project:focus-visible {
  background-color: rgba(255, 255, 255, 0.045);
  border-color: #F1AE27;
  outline: none;
}
.project-number {
  color: #686868;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
}
.project-icon {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.55);
  display: flex;
  height: 52px;
  justify-content: center;
  transition: border-color 0.35s ease, color 0.35s ease;
  width: 52px;
}
.project-icon i {
  font-size: 1.15rem;
}
.project-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.project-main strong {
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 4px;
}
.project-description {
  color: #a7a7a7;
  font-size: 0.92rem;
  font-weight: 300;
  line-height: 1.45;
}
.project-type {
  color: #888;
  font-size: 0.7rem;
  letter-spacing: 0.13em;
  text-align: right;
  text-transform: uppercase;
}
.project-arrow {
  transition: color 0.35s ease, transform 0.35s ease;
}
.project:hover .project-icon,
.project:focus-visible .project-icon,
.project:hover .project-arrow,
.project:focus-visible .project-arrow {
  border-color: #F1AE27;
  color: #F1AE27;
}
.project:hover .project-arrow,
.project:focus-visible .project-arrow {
  transform: translate(3px, -3px);
}

.container {
  padding-right: 40px;
  padding-left: 40px;
  margin-right: auto;
  margin-left: auto;
}

@media (max-width: 500px) {
  main .container .middle .greeting h1 {
    font-size: 1.8rem;
  }
  main .container .middle .greeting h2 {
    font-size: 1.3rem;
  }
}
@media (max-width: 460px) {
  main .container .middle .greeting h1 {
    font-size: 1.6rem;
  }
}
@media (max-width: 420px) {
  main .container .middle .greeting h1 {
    font-size: 1.5rem;
  }
}
@media (max-width: 400px) {
  main .container .middle .greeting h1 {
    font-size: 1.4rem;
  }
}
@media (max-width: 380px) {
  main .container .middle .greeting h1 {
    font-size: 1.3rem;
  }
}
@media (max-width: 360px) {
  main .container .middle .greeting h1,
  main .container .middle .greeting h2 {
    font-size: 1.1rem;
  }
}
@media (min-width: 400px) {
  .container {
    max-width: 540px;
  }
}
@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}
@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}
@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}
@media only screen and (max-width: 1000px) {
  #trailer {
    display: none;
  }
}

@media (max-width: 700px) {
  .projects-container {
    padding-bottom: 70px;
    padding-top: 70px;
  }
  .projects-header {
    margin-bottom: 38px;
  }
  .project {
    gap: 14px;
    grid-template-columns: 48px minmax(0, 1fr) 22px;
    min-height: 104px;
    padding: 20px 10px;
  }
  .project-number,
  .project-type {
    display: none;
  }
  .project-icon {
    height: 44px;
    width: 44px;
  }
  .project-main strong {
    font-size: 1.15rem;
  }
  .project-description {
    font-size: 0.85rem;
  }
}

/* Keep the original desktop composition while making compact viewports safe. */
@media (max-width: 500px) {
  body {
    height: auto;
    min-height: 100vh;
    min-height: 100svh;
    overflow-x: hidden;
    overflow-y: auto;
  }
  section,
  main {
    min-width: 0;
    width: 100%;
  }
  main .container {
    height: auto;
    min-height: 100vh;
    min-height: 100svh;
    min-width: 0;
    padding: 30px 24px;
    width: 100%;
  }
  main .container .top {
    flex-wrap: wrap;
  }
  main .container .middle {
    margin-bottom: 60px;
    max-width: 100%;
    min-width: 0;
  }
  main .container .middle .greeting h1,
  main .container .middle .greeting h2 {
    line-height: 1.25;
    overflow-wrap: anywhere;
  }
  main .container .middle .greeting h2 span {
    display: inline-block;
    max-width: 100%;
  }
  main .container .middle .button span {
    font-size: clamp(0.82rem, 4vw, 1rem);
  }
  main .container .bottom {
    padding-bottom: 30px;
  }
  main .container .work-link span {
    display: none;
  }
  main .container .work-link {
    border: 2px solid #fff;
    height: 39px;
    justify-content: center;
    width: 57px;
  }
  .projects-container {
    padding: 60px 24px 70px;
  }
  .projects-header h2 {
    font-size: 2.2rem;
  }
}

@media (max-height: 600px) {
  body {
    height: auto;
    min-height: 100vh;
    min-height: 100svh;
    overflow-x: hidden;
    overflow-y: auto;
  }
  main .container {
    height: auto;
    min-height: 100vh;
    min-height: 100svh;
    padding-bottom: 24px;
    padding-top: 24px;
  }
  main .container .middle {
    margin-bottom: 55px;
  }
  main .container .bottom {
    padding-bottom: 16px;
  }
}

@media (max-width: 280px) {
  main .container {
    padding-left: 16px;
    padding-right: 16px;
  }
  main .container .middle .button {
    width: 100%;
  }
}

/* Full-viewport horizontal page slider. */
html,
body {
  height: 100%;
  overflow: hidden;
  overscroll-behavior: none;
}
.slider-track {
  display: flex;
  height: calc(100vh - 74px);
  height: calc(100dvh - 74px - env(safe-area-inset-bottom));
  left: 0;
  position: fixed;
  top: 0;
  touch-action: pan-y;
  transform: translate3d(0, 0, 0);
  transition: transform 0.65s cubic-bezier(0.76, 0, 0.24, 1);
  width: 200vw;
  will-change: transform;
}
.slider-track.show-projects {
  transform: translate3d(-100vw, 0, 0);
}
.slider-track > .slide {
  flex: 0 0 100vw;
  height: 100%;
  min-height: 0;
  min-width: 0;
  width: 100vw;
}
.hero {
  overflow: hidden;
}
.hero main {
  height: 100%;
}
.hero main .container {
  height: 100%;
  min-height: 100%;
}
.projects {
  -webkit-overflow-scrolling: touch;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  scrollbar-color: #F1AE27 transparent;
  scrollbar-width: thin;
}
.projects::-webkit-scrollbar {
  width: 4px;
}
.projects::-webkit-scrollbar-thumb {
  background: #F1AE27;
}
.projects-container {
  min-height: 100%;
}
.slider-navigation {
  align-items: center;
  bottom: max(22px, env(safe-area-inset-bottom));
  display: flex;
  gap: 12px;
  left: 50%;
  position: fixed;
  transform: translateX(-50%);
  z-index: 1000;
}
.slide-arrow {
  align-items: center;
  background: rgba(15, 15, 15, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.75);
  color: #fff;
  cursor: pointer;
  display: flex;
  height: 42px;
  justify-content: center;
  transition: border-color 0.3s ease, color 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
  width: 48px;
}
.slide-arrow:not(:disabled):hover,
.slide-arrow:not(:disabled):focus-visible {
  border-color: #F1AE27;
  color: #F1AE27;
  outline: none;
  transform: translateY(-2px);
}
.slide-arrow:disabled {
  cursor: default;
  opacity: 0.22;
  pointer-events: none;
}
.slide-position {
  align-items: center;
  color: #686868;
  display: flex;
  font-size: 0.7rem;
  gap: 6px;
  letter-spacing: 0.1em;
  min-width: 48px;
  justify-content: center;
  user-select: none;
}
.slide-position strong {
  color: #F1AE27;
  font-weight: 600;
}

@media (max-width: 500px) {
  .slider-navigation {
    bottom: max(14px, env(safe-area-inset-bottom));
    gap: 9px;
  }
  .slide-arrow {
    height: 40px;
    width: 44px;
  }
  .slide-position {
    min-width: 42px;
  }
  .projects-container {
    padding-bottom: calc(88px + env(safe-area-inset-bottom));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}/*# sourceMappingURL=style.css.map */
