@charset "UTF-8";

/* =========================
   base
========================= */
* {
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Pretendard', "Inter", sans-serif;
  color: #fff;
  background: #000;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

main {
  overflow: hidden;
}

/* =========================
   header
========================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  pointer-events: none;
  background-color: #0000005d;
}

.header-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 20px 40px;
  align-items: center;
  justify-content: space-between;
}

.nav {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  pointer-events: auto;
}

.nav a {
  font-size: 15px;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.9);
  transition: opacity 0.3s;
}

.nav a:hover {
  opacity: 0.7;
}

/* =========================
   common
========================= */
.section-black {
  background: #0b0b0b;
}

.section-title-img {
  width: 220px;
  max-width: 100%;
}

/* =========================
   hero
========================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 20px 60px;
  background:
  radial-gradient(circle at center, rgba(255,255,255,0.1), transparent 50%),
  linear-gradient(180deg, #111 0%, #000 50%, #1a1a1a 100%);
  /* background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.08), transparent 45%),
    #000; */
}

.hero-inner {
  width: 100%;
  max-width: 1440px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-logo {
  width: min(62vw, 760px);
  filter: drop-shadow(0 0 18px rgba(185, 230, 255, 0.32));
}

.scroll-text {
  margin-top: 30px;
  font-size: 1rem;
  letter-spacing: 0.28em;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  color: rgba(255, 255, 255, 0.7);
  animation: scrollBounce 1.8s ease-in-out infinite;
}

@keyframes scrollBounce {
  0% {
    transform: translateY(0);
    opacity: 0.8;
  }
  50% {
    transform: translateY(18px);
    opacity: 1;
  }
  100% {
    transform: translateY(0);
    opacity: 0.8;
  }
}

/* =========================
   top works
========================= */
.works {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  overflow: hidden;
}

.works-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
  z-index: 0;
  /* filter: brightness(1.6); */
}

.works::before {
  content: "";
  position: absolute;
  inset: 0;
  /* background: rgba(255, 255, 255, 0.114); */
  z-index: 1;
}

.works-box {
  position: relative;
  z-index: 2;
  width: min(1000px, 92vw);
  margin: 0 auto;
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.28);

  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
}

.works-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-left: -10px;
}

.works-title {
  width: 350px;
  margin-bottom: 10px;
  margin-left: -12px;
}

.book-wrap {
  width: 560px;
  display: flex;
  justify-content: flex-start;
}

.works-book {
  width: 100%;
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.38));
}

.works-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  transform: translateY(6px);
  gap: 15px;
}

/* works heading */
.select-project {
  margin: 0 0 18px -24px;
  padding-bottom: 12px;
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

/* project cards */
.project-card {
  position: relative;
  z-index: 3;

  display: flex;
  align-items: center;
  gap: 16px;

  height: 74px;
  padding: 10px 34px 10px 14px;
  margin-bottom: 16px;

  border-radius: 999px;

  border: 1.8px solid transparent;

  background-image:
    linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)),
    linear-gradient(
    120deg,
    #6f6f6f 0%,
    #a8a8a8 10%,
    #ffffff 18%,
    #d4d4d4 26%,
    #9a9a9a 38%,
    #ffffff 48%,
    #bdbdbd 60%,
    #8a8a8a 75%,
    #e8e8e8 90%,
    #6f6f6f 100%
  );

  background-origin: border-box;
  background-clip: padding-box, border-box;

  box-shadow:
    0 6px 18px rgba(0,0,0,0.18);

  transition:
  transform 0.28s ease,
  box-shadow 0.28s ease,
  filter 0.28s ease,
  background-image 0.28s ease;

  overflow: hidden;
}

.project-card:first-of-type {
  transform: scale(1.15);
}

.project-thumb {
  width: 120px;
  height: 56px;
  object-fit: cover;
  object-position: center 32%;
  border-radius: 18px;
  flex-shrink: 0;
}

.project-text {
  line-height: 1.02;
}

.project-num {
  display: block;
  margin-bottom: 4px;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.86);
}

.project-text h3 {
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.06;
  font-weight: 300;
}

.project-arrow {
  position: absolute;
  right: 18px;
  bottom: 12px;
  font-size: 1.5rem;
  line-height: 1;
}

/* view all */
.works-btn {
  position: relative;
  z-index: 2;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 230px;
  height: 56px;

  border-radius: 999px;
  border: 1.5px solid transparent;

  background-image:
    linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)),
    linear-gradient(
      120deg,
      #6f6f6f 0%,
      #a8a8a8 10%,
      #ffffff 18%,
      #d4d4d4 26%,
      #9a9a9a 38%,
      #ffffff 48%,
      #bdbdbd 60%,
      #8a8a8a 75%,
      #e8e8e8 90%,
      #6f6f6f 100%
    );

  background-origin: border-box;
  background-clip: padding-box, border-box;

  color: #fff;
  font-size: 1.65rem;
  font-weight: 600;
  letter-spacing: 0.04em;

  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    filter 0.28s ease;

    overflow: hidden;
}

.works-btn::before{
  content:"";
  position:absolute;
  top:0;
  left:-120%;
  width:70%;
  height:100%;

  background: linear-gradient(
    100deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.06) 45%,
    rgba(255,255,255,0.18) 50%,
    rgba(255,255,255,0.06) 55%,
    rgba(255,255,255,0) 100%
  );

  transform: skewX(-20deg);
  transition:left 1s ease;
}

.works-btn:hover::before{
  left:150%;
}

.works-btn:hover{
  transform: translateY(-3px) scale(1.01);

  box-shadow:
    0 10px 24px rgba(0,0,0,0.28),
    0 0 10px rgba(255,255,255,0.10),
    0 0 22px rgba(255,255,255,0.06);

  filter: brightness(1.06);
}

.works-btn:active{
  transform: translateY(0) scale(0.98);
}

.view-all-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 14px auto 0;
  align-self: center;
}

.view-orb {
  position: absolute;
  top: 58%;
  left: 58%;
  z-index: 0;

  width: 240px;
  max-width: 40vw;
  transform: translate(-50%, -50%) rotate(15deg);
  filter: blur(0.3px);
  pointer-events: none;
}

.sparkle {
  position: absolute;
  width: 30px;
}

.sparkle-view {
  top: -10px;
  right: -30px;
  z-index: 3;
}

.project-card:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.28),
    0 0 10px rgba(255, 255, 255, 0.10),
    0 0 22px rgba(255, 255, 255, 0.06);
  filter: brightness(1.06);
}

.project-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 70%;
  height: 100%;
  background: linear-gradient(
    100deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.06) 45%,
    rgba(255, 255, 255, 0.18) 50%,
    rgba(255, 255, 255, 0.06) 55%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-20deg);
  transition: left 1.0s ease;
  pointer-events: none;
}

.project-card:hover::before {
  left: 150%;
}

/* =========================
   about
========================= */
.about {
  padding: 90px 20px;
}

.about-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 50px;
}

.about-left {
  display: flex;
  flex-direction: column;
  align-items: left;
  padding: 20px 0;
  max-width: 480px;
}

.about-right {
  max-width: 480px;
  display: flex;
  justify-content: center;
}

.about-right img {
  width: 100%;
  max-width: 400px;
}

.section-title-img{
  width: 300px;
  margin-left: -12px;
}

.about-name {
  font-size: 30px;
}

.about-name span{
  font-size: 1.4rem;
  margin-left: 6px;
}

.about-txt {
  font-size: 1.4rem;
  line-height: 1.9;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.9);
  text-align: left;
  margin-bottom: 10px;
}

.about-btn {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 230px;
  height: 56px;
}

/* =========================
   contact
========================= */
.contact {
  position: relative;
  text-align: center;
  min-height: 80vh;
  background: url("../img/contact-bg.png") center / cover no-repeat;
}

.contact-overlay {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  font-weight: 100;
  font-size: 20px;
  color: #ffffff;
  font-family: 'Pretendard', 'Noto Sans JP', sans-serif;
  font-weight: 100;
}

.contact-title {
  width: 500px;
}

.contact-overlay a {
  font-size: 25px;
}

.about-btn,
.contact-btn {
  margin-top: 24px;
  padding: 14px 36px;
  border-radius: 999px;

  color: #fff;
  font-size: 16px;
  letter-spacing: 0.12em;
  text-decoration: none;

  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.2);

  backdrop-filter: blur(6px);

  box-shadow:
    0 0 10px rgba(255,255,255,0.2),
    inset 0 0 10px rgba(255,255,255,0.1);

  transition: 0.3s;
  border: 1px solid rgba(150, 200, 255, 0.5);
  box-shadow: 0 0 15px rgba(150, 200, 255, 0.6);
}

.about-btn:hover,
.contact-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 20px rgba(255,255,255,0.5),
    inset 0 0 12px rgba(255,255,255,0.2);
}

/* =========================
   responsive
========================= */
@media (max-width: 900px) {

  .hero-logo {
    width: 100%;
  }

  .works-box,
  .about-inner {
    grid-template-columns: 1fr;
  }

  .works-left {
    align-items: center;
    margin-left: 0;
  }

  .works-right {
    padding-top: 0;
    transform: none;
  }

  .works-right {
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    gap: 12px;
  }

  .select-project {
    margin: 0 0 16px;
  }

  .project-card {
    width: 60%;
    min-height: 50px;
    margin: 10px auto;
    padding: 12px 44px 12px 12px;
  }

  .project-thumb {
    width: 110px;
    height: 60px;
  }

  .project-text h3 {
    font-size: 1.35rem;
    line-height: 1.08;
  }

  .project-num {
    font-size: 1rem;
  }

  .view-all-wrap {
    margin-top: 18px;
  }

  .works-btn {
    width: 220px;
    height: 54px;
  }

  .view-orb {
    top: 58%;
    left: 100%;
    z-index: 0;
  
    width: 240px;
    max-width: 40vw;
    transform: translate(-50%, -50%) rotate(15deg);
    filter: blur(0.3px);
    pointer-events: none;
  }

  .book-wrap {
    justify-content: center;
    width: min(560px, 100%);
  }

  .about-left {
    align-items: center;
    text-align: center;
  }

  .about-card {
    max-width: 260px;
  }
  
}

@media (max-width: 600px) {
  .hero-logo {
    width: 100%;
  }
  
  .header-inner {
    padding: 16px 20px;
  }

  .nav {
    gap: 14px;
  }

  .works {
    padding: 60px 16px;
  }

  .works-box {
    padding: 30px 20px 32px;
  }

  .works-title {
    width: 260px;
    margin-left: 0;
  }

  .select-project {
    margin-left: 0;
  }

  .project-card {
    width: 60%;
    min-height: 86px;
    margin-left: auto;
    margin-right: auto;
    padding: 12px 42px 12px 12px;
  }

  .project-thumb {
    width: 96px;
    height: 58px;
  }

  .project-text h3 {
    font-size: 1.25rem;
    line-height: 1.08;
  }

  .project-num {
    font-size: 1rem;
  }

  .works-btn {
    width: 200px;
    height: 52px;
    font-size: 1.5rem;
  }

  .view-orb {
    min-width: 150px;
  }

  .section-title-img {
    width: 170px;
  }

  .about-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .about-left {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .contact {
    min-height: 320px;
  }

  .contact-overlay {
    min-height: 320px;
  }
}

/* ===== fade-up ===== */
.fade-up {
  opacity: 0;
  transform: translateY(60px);
  transition: 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}

/* ===== fade-left ===== */
.fade-left {
  opacity: 0;
  transform: translateX(-80px);
  transition: 1s ease;
}

.fade-left.show {
  opacity: 1;
  transform: translateX(0);
}

/* ===== blur-in ===== */
.blur-in {
  opacity: 0;
  filter: blur(10px);
  transition: 1s ease;
}

.blur-in.show {
  opacity: 1;
  filter: blur(0);
}

/* ===== delay ===== */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }