@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@100;200;300;400;500;600;700;800;900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
@import url("https://use.typekit.net/ipm5esh.css");
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css");

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

*::selection {
  background-color: #E8642B;
}

a {
  color: inherit;
  text-decoration: none;
}

:root {
  --vh: 1vh;
}

@supports (height: 1svh) {
  :root {
    --vh: 1svh;
  }
}

html {
  background-color: #f5f5f5;
  width: 100%;
  overflow-x: clip;
}

body {
  min-width: 0;
  background-color: #f5f5f5;
  overflow-x: clip;
}

::-webkit-scrollbar {
  width: 0px;
}

* {
  cursor: none;
}

.cursor {
  top: -300px;
  left: -300px;
  position: fixed;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-color: white;
  mix-blend-mode: difference;
  pointer-events: none;
  transform: translateX(-50%) translateY(-50%);
  z-index: 601;
  transition: width .1s, height .1s, background-color 1s;
}

.need-to-cursor-big {
  width: 50px;
  height: 50px;
}

@media screen and (max-width: 1024px) {
  * {
    cursor: auto;
  }

  .cursor,
  .need-to-cursor-big {
    display: none;
  }
}

.progress {
  background-color: #F5F5F5;
  color: #0d0d0d;
  height: 100%;
  position: fixed;
  width: 100%;
  z-index: 300;
}

.progress-content {
  position: absolute;
  top: 50%;
  left: 5%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  z-index: 300;
}

.progress-text {
  font-family: "aktiv-grotesk", sans-serif;
  font-size: 15px;
  color: #0d0d0d;
}

.progress-bar {
  background-color: #E8642B;
  width: 190px;
  height: 3px;
}

.header {
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100px;
  z-index: 101;
  padding: 0 30px;
}

.header-logobox {
  z-index: 300;
}

.header-logobox > a {
  vertical-align: middle;
  padding: 3px;
  z-index: 300;
  display: flex;
  align-items: center;
}

.header-logobox > a > img {
  width: 90px;
}

.header-menubox {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 30px;
  width: 80px;
  position: relative;
  z-index: 201;
}

.header-menu-en {
  display: flex;
  align-items: center;
  height: 30px;
  font-family: "aktiv-grotesk", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #0d0d0d;
  transition: .3s;
}

.header-menubox:hover > .header-menu-en {
  font-size: 1.3rem;
  transition: .5s;
}

.header-menu-dot {
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 30px;
  width: 30px;
}

.menu-first,
.menu-second,
.menu-third {
  height: 5px;
  width: 5px;
  background-color: #0d0d0d;
  border-radius: 100%;
  z-index: 200;
  transition: all 1s;
}

.menu-second {
  z-index: 199;
  transition: all .3s;
}

.header-menubox:hover > .header-menu-dot > .menu-first,
.header-menubox:hover > .header-menu-dot > .menu-third {
  display: none;
}

.header-menubox:hover > .header-menu-dot > .menu-second {
  width: 25px;
  height: 25px;
  border-radius: 100%;
}

.scale {
  scale: 1000;
  background-color: #F5F5F5;
  transition: scale 1s ease-in-out;
}

.menuSelector {
  color: #0d0d0d;
  display: flex;
  position: fixed;
  opacity: 0;
  top: -100%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  z-index: 200;
}

.opacity {
  top: 45%;
  opacity: 100;
  transition:
    top .1s,
    opacity 2s ease-in-out;
}

.menuSelectorWrapper {
  display: none;
  flex-direction: column;
  font-family: "aktiv-grotesk", sans-serif;
  font-weight: 700;
  justify-content: center;
  align-items: start;
  margin-top: 5vh;
  font-size: 3.5rem;
  z-index: 100;
}

.menuSelectorWrapper div:hover {
  text-decoration: underline;
  font-size: 4rem;
  transition:
    all 0s,
    font-size .5s;
}

.displayFlex {
  display: flex;
}

.main {
  width: 100%;
  min-width: 0;
}

.works {
  position: relative;
  width: 100%;
  margin-top: 0;
  padding-top: 140px;
  padding-bottom: 80px;
  background-color: #f5f5f5;
  overflow: visible;
}

.works-inner {
  width: 100%;
  padding: 0 65px 0 80px;
  box-sizing: border-box;
}

.works-title {
  margin: 0;
  max-width: 1760px;
  color: #2d2d2d;
  font-family: "Pretendard", sans-serif;
  font-weight: 600;
  font-size: 40px;
  line-height: 60px;
  word-break: keep-all;
}

.works-filter {
  margin-top: 80px;
}

.works-filter ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.works-filter li {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 195px;
  height: 60px;
  box-sizing: border-box;
  border: 1px solid #e5e5e5;
  border-radius: 40px;
  background: #fff;
  color: #323232;
  font-family: "Pretendard", sans-serif;
  font-weight: 400;
  font-size: 28px;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
}

.works-filter li.is-active {
  background: #f2613f;
  border-color: #fff;
  color: #fff;
}

.works-list {
  display: grid;
  grid-template-columns: 864px 864px;
  column-gap: 30px;
  row-gap: 90px;
  margin-top: 60px;
}

.works-item.is-hidden {
  display: none;
}

.works-item > a,
.works-item > div {
  display: flex;
  flex-direction: column;
}

.works-item-thumb {
  position: relative;
  width: 864px;
  height: 580px;
  overflow: hidden;
  border-radius: 12px;
}

.works-item-thumb img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition:
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.45s ease;
}

.works-item-thumb::after {
  content: "View Details ↗";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  font-family: "Roboto", sans-serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #f5f5f5;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition:
    opacity 0.4s ease,
    transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.works-item > div .works-item-thumb::after {
  content: "Coming Soon";
}

@media (hover: hover) and (pointer: fine) {
  .works-item > a:hover .works-item-thumb img,
  .works-item > div:hover .works-item-thumb img {
    transform: scale(1.04);
    filter: brightness(0.55);
  }

  .works-item > a:hover .works-item-thumb::after,
  .works-item > div:hover .works-item-thumb::after {
    opacity: 1;
    transform: translateY(0);
  }
}

.works-item h4 {
  margin: 30px 0 0 2px;
  color: #0d0d0d;
  font-family: "Pretendard", sans-serif;
  font-weight: 600;
  font-size: 32px;
  line-height: 52px;
}

.works-item-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin-top: 25px;
  margin-left: 2px;
}

.works-item-tags li {
  display: inline;
  width: auto;
  height: auto;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  color: #7E7E7E;
  font-family: "Pretendard", sans-serif;
  font-weight: 500;
  font-size: 28px;
  line-height: 1.2;
  white-space: nowrap;
}

.works-item-tags li:not(:last-child)::after {
  content: "|";
  margin: 0 10px;
  font-weight: 400;
}

.footer {
  display: flex;
  height: 10vh;
  position: relative;
  width: 100%;
  background-color: #f5f5f5;
  z-index: 100;
}

.footer > .footer-infBox {
  display: flex;
  flex-direction: column;
  font-family: 'Noto Sans KR', sans-serif;
  font-weight: 300;
  font-size: .6rem;
  margin-bottom: 3vh;
  margin-left: calc(2vw + 10px);
  color: #0d0d0d;
}

.footer > .footer-infBox > .web-inf {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 1.5rem;
}

@media screen and (min-width: 767px) {
  .works {
    width: max(1920px, 100%);
    zoom: min(1, 100vw / 1920px);
  }

  .works-inner {
    width: 1920px;
    margin-inline: auto;
  }
}

@media screen and (max-width: 766px) {
  .works {
    padding-top: 110px;
    padding-bottom: 60px;
  }

  .works-inner {
    padding: 0 24px;
  }

  .works-title {
    font-size: clamp(20px, 5.4vw, 28px);
    line-height: 1.4;
  }

  .works-filter {
    margin-top: 32px;
  }

  .works-filter ul {
    gap: 4px;
  }

  .works-filter li {
    width: auto;
    height: auto;
    padding: 6px 10px;
    font-size: 12px;
  }

  .works-list {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 32px;
    margin-top: 32px;
  }

  .works-item-thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 864 / 580;
  }

  .works-item h4 {
    margin: calc(30 / 1920 * 100vw) 0 0 2px;
    font-size: 20px;
    line-height: 28px;
  }

  .works-item-tags {
    margin-top: calc(25 / 1920 * 100vw);
    margin-left: 2px;
  }

  .works-item-tags li {
    font-size: 14px;
  }

  .works-item-tags li:not(:last-child)::after {
    margin: 0 calc(10 / 1920 * 100vw);
  }

  .footer {
    width: 100%;
    height: auto;
    padding: 20px 0 calc(44px + env(safe-area-inset-bottom, 0px));
  }

  .footer > .footer-infBox {
    margin: 0 24px;
    gap: 10px;
  }

  .footer > .footer-infBox > .web-inf {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 4px 1.5rem;
  }

  .footer > .footer-infBox > .web-inf > div:first-child {
    flex: 0 0 100%;
  }

  .menuSelectorWrapper {
    margin-top: calc(var(--vh, 1svh) * 5);
    font-size: 2.4rem;
  }
}

@media screen and (max-width: 430px) {
  .header {
    width: 100%;
    height: 12%;
  }

  .menu-hidden {
    display: none;
  }
}
