/* ═══════════════════════════════════════════════════════
   ABOUT OVERLAY (fixed, overlaps hero on first scroll)
   z-index: 10 — above #fullpage, below header.
   Shows instantly (no transition) to prevent hero bleed-through.
   ═══════════════════════════════════════════════════════ */
.about-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 80vw;
  height: 100vh;
  z-index: 10;
  background: var(--bg-light);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease, background 0.8s ease;
}

.about-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}

/* Center text at viewport center (50vw) within the 80vw overlay */
.about-overlay .about-s1-text {
  width: 100%;
  padding-left: 20vw;
}

/* 20% smaller text in overlay */
.about-overlay .big-char {
  font-size: 8.3333vw;
}

.about-overlay .big-comma {
  font-size: 4.1667vw;
}

.about-overlay .big-typo {
  margin-bottom: 1.6667vw;
}

.about-overlay .about-words p {
  font-size: 1.6667vw;
}

.about-overlay .about-desc {
  margin-top: 1.6667vw;
}

.about-overlay .about-desc p {
  font-size: clamp(12px, 1vw, 15px);
}

/* Phase 2: overlay bg goes transparent, text turns white (no position change) */
.about-overlay.expanded-mode {
  background: linear-gradient(to bottom, var(--bg-light) 5.5vw, transparent 5.5vw);
}

.about-overlay .big-char,
.about-overlay .big-comma,
.about-overlay .about-words p,
.about-overlay .about-desc p,
.about-overlay .about-desc strong {
  transition: color 0.8s ease;
}

.about-overlay.expanded-mode .big-char,
.about-overlay.expanded-mode .big-comma {
  color: var(--text-white);
}

.about-overlay.expanded-mode .about-words p {
  color: var(--text-white);
}

.about-overlay.expanded-mode .about-desc p {
  color: rgba(255, 255, 255, 0.8);
}

.about-overlay.expanded-mode .about-desc strong {
  color: var(--text-white);
}

/* ═══════════════════════════════════════════════════════
   SECTION 2: ABOUT
   ═══════════════════════════════════════════════════════ */
.about {
  background: #ffffff;
}

.about .sd {
  width: 100%;
  height: 100%;
}

.about .swiper-wrapper {
  height: 100%;
}

.about .swiper-slide {
  height: 100vh;
}

/* Sub 1: Brand Story — centered text + expandable bg image */
.about-s1 {
  position: relative;
  height: 100vh;
  overflow: hidden;
  background: var(--bg-light);
}

.about-s1-text {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  padding: 0 5.2083vw;
  text-align: center;
}

/* Expanded state — text color transitions */
.about-s1 .big-char,
.about-s1 .big-comma,
.about-s1 .about-words p,
.about-s1 .about-desc p,
.about-s1 .about-desc strong {
  transition: color 1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.about-s1.expanded .big-char,
.about-s1.expanded .big-comma,
.about-s1.expanded .about-words p,
.about-s1.expanded .about-desc p,
.about-s1.expanded .about-desc strong {
  color: var(--text-white);
}

/* Image strip — absolute right, expandable width */
.about-s1-strip {
  position: absolute;
  right: 0;
  top: 0;
  width: 20vw;
  height: 100vh;
  overflow: hidden;
  z-index: 1;
  transition: width 1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.about-s1-strip img {
  width: 100vw;
  height: 100%;
  object-fit: cover;
  position: absolute;
  right: 0;
  top: 0;
}

/* Dark overlay on image for text readability */
.about-s1-strip::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 1;
}

.about-s1.expanded .about-s1-strip::after {
  background: rgba(0, 0, 0, 0.4);
}

/* Expanded state — full width */
.about-s1.expanded .about-s1-strip {
  width: 100vw;
}

/* Strip entry animation */
.about-s1-strip {
  opacity: 0;
  transform: translateX(30px);
}

.swiper-slide-active .about-s1-strip {
  opacity: 1;
  transform: translateX(0);
  transition: width 1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              opacity 1s var(--ease-out) 0.3s,
              transform 1s var(--ease-out) 0.3s;
}

.big-typo {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-bottom: 2.0833vw;
}

.big-char {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 10.4167vw;
  color: var(--text-primary);
  line-height: 0.85;
}

.big-comma {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 5.2083vw;
  color: var(--text-muted);
  margin-left: 0.5208vw;
  line-height: 1;
}

.about-words p {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 2.0833vw;
  color: var(--text-primary);
  line-height: 1.5;
  letter-spacing: -0.02em;
}

.about-desc {
  margin-top: 2.0833vw;
}

.about-desc p {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(14px, 1.2vw, 18px);
  color: var(--text-body);
  line-height: 2;
}

.about-desc strong {
  color: var(--text-primary);
}

/* Sub 2: Credentials — curtain reveal + image zoom */
.about-s2 {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Top & bottom curtains (white) */
.about-s2::before,
.about-s2::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 50.1%;
  background: #ffffff;
  z-index: 3;
  transition: transform 2.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s;
}

.about-s2::before {
  top: 0;
}

.about-s2::after {
  bottom: 0;
}

/* Curtains open when active */
.about.active .about-s2::before {
  transform: translateY(-100%);
}

.about.active .about-s2::after {
  transform: translateY(100%);
}

/* Background image — starts zoomed in, zooms out on reveal */
.about-s2-bg {
  position: absolute;
  inset: 0;
  transform: scale(1.3);
  transition: transform 2.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s;
}

.about.active .about-s2-bg {
  transform: scale(1);
}

.about-s2-overlay {
  display: none;
}

.about-s2-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 5.2083vw;
}

.credential-grid {
  display: flex;
  gap: 5.2083vw;
  justify-content: center;
  margin-bottom: 3.6458vw;
}

.credential {
  text-align: center;
}

.credential-num {
  display: block;
  font-family: var(--font-number);
  font-weight: 300;
  font-size: 4.1667vw;
  color: var(--text-white);
  letter-spacing: 0.03em;
  line-height: 1;
}

.credential-label {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.7292vw;
  color: var(--text-muted);
  margin-top: 0.7292vw;
  letter-spacing: 0.03em;
}

.about-s2-text {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 2.0833vw;
}

.about-s2-text p {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.0417vw;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  letter-spacing: 0.02em;
}

/* ── MOBILE ── */
@media (max-width: 768px) {
  .about-s1-text {
    padding: 20vw 6vw 6vw;
  }

  .about-s1-strip {
    width: 100%;
    height: 100vh;
  }

  .about-s1-strip img {
    width: 100%;
  }

  /* Hide overlay on mobile */
  .hero-transition-overlay {
    display: none !important;
  }

  .big-char {
    font-size: 28vw;
  }

  .big-comma {
    font-size: 14vw;
  }

  .about-words p {
    font-size: 6vw;
  }

  .about-desc p {
    font-size: 3.2vw;
  }

  .credential-grid {
    flex-direction: column;
    gap: 8vw;
  }

  .credential-num {
    font-size: 12vw;
  }

  .credential-label {
    font-size: 2.8vw;
    margin-top: 1.5vw;
  }

  .about-s2-text p {
    font-size: 3.5vw;
  }
}
