/* ===================================
   About Section — Custom Styles
   =================================== */

/* Override base CSS on about section
   Original padding: 9.95vw 0 14.81vw — reduce top, increase bottom */
.home main .Layers_5 .about {
  padding-top: 5vw;
  padding-bottom: 12vw;
}

/* Override base CSS width constraint on about__innerBlock
   Original: .home main .Layers_5 .about__innerBlock { width: 33.33vw } */
.home main .Layers_5 .about__innerBlock {
  width: auto;
  margin-top: 0;
}

/* --- SNS link hover effect --- */
.about-sns-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: #18181b;
  text-decoration: none;
  position: relative;
  transition: color 0.3s;
}
.about-sns-link::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 16px;
  height: 1px;
  background: #52525b;
  transition: transform 0.3s ease;
}
.about-sns-link:hover {
  color: #52525b;
}
.about-sns-link:hover::after {
  transform: translateX(-50%) scaleX(1);
}

/* --- Detail items layout --- */
.about__details {
  display: flex;
  gap: 28px;
  flex-wrap: nowrap;
}
.about__detailItem {
  white-space: nowrap;
}
.about__detailLabel {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  color: #71717a;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}
.about__detailValue {
  font-size: 17px;
  color: #3f3f46;
  line-height: 1.5;
}

/* ===================================
   Scroll-triggered animation states
   =================================== */

/* Initial hidden states */
.about-image {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1s cubic-bezier(0.65, 0, 0.35, 1);
}
.about-text-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.33, 1, 0.68, 1),
              transform 0.8s cubic-bezier(0.33, 1, 0.68, 1);
}
.about__detailItem {
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.6s cubic-bezier(0.33, 1, 0.68, 1),
              transform 0.6s cubic-bezier(0.33, 1, 0.68, 1);
}
.about-sns-link {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s cubic-bezier(0.33, 1, 0.68, 1),
              transform 0.5s cubic-bezier(0.33, 1, 0.68, 1),
              color 0.3s;
}

/* Visible states (applied by JS) */
.about--visible .about-image {
  clip-path: inset(0 0% 0 0);
}
.about--visible .about-text-reveal {
  opacity: 1;
  transform: translateY(0);
}
.about--visible .about__detailItem {
  opacity: 1;
  transform: translateX(0);
}
.about--visible .about-sns-link {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays for text reveals */
.about--visible .about-text-reveal:nth-child(1) { transition-delay: 0s; }
.about--visible .about-text-reveal:nth-child(2) { transition-delay: 0.1s; }
.about--visible .about-text-reveal:nth-child(3) { transition-delay: 0.2s; }
.about--visible .about-text-reveal:nth-child(4) { transition-delay: 0.3s; }

/* Stagger delays for detail items */
.about--visible .about__detailItem:nth-child(1) { transition-delay: 0.1s; }
.about--visible .about__detailItem:nth-child(2) { transition-delay: 0.18s; }
.about--visible .about__detailItem:nth-child(3) { transition-delay: 0.26s; }

/* Stagger delays for SNS links */
.about--visible .about-sns-link:nth-child(1) { transition-delay: 0.2s; }
.about--visible .about-sns-link:nth-child(2) { transition-delay: 0.26s; }
.about--visible .about-sns-link:nth-child(3) { transition-delay: 0.32s; }

/* ===================================
   Responsive: 1024px and below
   =================================== */
@media screen and (max-width: 1024px) {
  .about .about__innerBlock {
    padding-right: 20px !important;
  }
  .about .about__profile {
    flex-direction: column !important;
    gap: 32px !important;
    align-items: center !important;
    transform: none !important;
  }
  .about .about__profileImg {
    width: 220px !important;
  }
  .about .about__profileImg img {
    width: 220px !important;
    height: 220px !important;
  }
  .about .about__profileImg .about__imageFrame {
    width: 220px !important;
    height: 220px !important;
  }
  .about .about__profileInfo {
    min-width: 0 !important;
    text-align: center;
  }
  .about .about__profileInfo h3 {
    font-size: 2rem !important;
  }
  .about__details {
    flex-direction: column !important;
    gap: 0 !important;
    max-width: 320px;
    margin: 0 auto;
  }
  .about__detailItem {
    padding: 14px 0;
    border-bottom: 1px solid #e4e4e7;
  }
  .about__detailItem:last-child {
    border-bottom: none;
  }
  .about .about__profileSns {
    justify-content: center;
  }
}
