.about-fold .about-grid {
  min-height: 840px;
}

.fold-portrait-trigger {
  cursor: pointer;
  border: 0;
  color: inherit;
}

.fold-portrait-trigger:focus-visible {
  outline: 2px solid rgba(208, 164, 95, 0.84);
  outline-offset: 8px;
}

.about-fold .portrait-panel {
  z-index: 8 !important;
  transition:
    transform 520ms cubic-bezier(0.16, 1, 0.3, 1),
    width 520ms cubic-bezier(0.16, 1, 0.3, 1),
    height 520ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 360ms ease;
}

.about-fold:not(.is-expanded) .portrait-panel {
  grid-column: 1 / 4;
  justify-self: center !important;
  width: min(44vw, 680px) !important;
  height: min(44vw, 680px) !important;
  transform: translateX(0) scale(1.04) !important;
}

.about-fold:not(.is-expanded) .about-copy,
.about-fold:not(.is-expanded) .service-list {
  opacity: 0 !important;
  pointer-events: none;
  transform: translateY(26px) scale(0.96) !important;
  filter: blur(12px);
}

.about-fold.is-expanded .about-copy,
.about-fold.is-expanded .service-list {
  opacity: 1 !important;
  pointer-events: auto;
  filter: blur(0);
  transition:
    opacity 480ms ease 120ms,
    transform 560ms cubic-bezier(0.16, 1, 0.3, 1) 80ms,
    filter 520ms ease 80ms;
}

.fold-hint {
  position: absolute;
  right: 50%;
  bottom: 34px;
  z-index: 5;
  display: inline-flex !important;
  min-height: 42px;
  align-items: center;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: rgba(245, 241, 232, 0.92) !important;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04)),
    rgba(5, 5, 5, 0.46);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.38);
  font-size: 14px !important;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transform: translateX(50%);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.about-fold .portrait-panel:hover {
  box-shadow:
    0 46px 150px rgba(0, 0, 0, 0.78),
    0 0 0 24px rgba(255, 255, 255, 0.05),
    0 0 0 1px rgba(208, 164, 95, 0.42),
    0 0 90px rgba(208, 164, 95, 0.12),
    inset 0 1px rgba(255, 255, 255, 0.34) !important;
}

.fold-prompt {
  position: relative;
  z-index: 9;
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  justify-self: center;
  display: grid;
  justify-items: center;
  gap: 18px;
  margin-bottom: clamp(24px, 4vw, 58px);
  color: rgba(245, 241, 232, 0.72);
  text-align: center;
  transition: opacity 320ms ease, transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
}

.fold-prompt p {
  max-width: 360px;
  margin: 0;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(5, 5, 5, 0.42);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.about-fold.is-expanded .fold-prompt {
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
}

.about-fold.is-expanded .about-copy {
  transform: translateX(-24px) !important;
}

.about-fold.is-expanded .service-list {
  transform: translateX(-8px) !important;
}

.about-fold.is-expanded .service-item {
  position: relative;
  overflow: hidden;
  padding-left: clamp(118px, 9vw, 178px) !important;
}

.about-fold.is-expanded .service-item::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: clamp(92px, 7vw, 142px);
  content: '';
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.72), rgba(5, 5, 5, 0.18), transparent),
    radial-gradient(circle at 20% 50%, rgba(208, 164, 95, 0.14), transparent 60%);
  pointer-events: none;
}

.about-fold.is-expanded .service-item span,
.about-fold.is-expanded .service-item p {
  position: relative;
  z-index: 2;
}

@media (max-width: 1100px) {
  .about-fold:not(.is-expanded) .portrait-panel {
    grid-column: auto;
    width: min(78vw, 520px) !important;
    height: min(78vw, 520px) !important;
  }

  .fold-prompt {
    grid-column: auto;
    order: 3;
    margin-bottom: 0;
  }
}

@media (max-width: 720px) {
  .about-fold .about-grid {
    min-height: 610px;
  }

  .about-fold:not(.is-expanded) .about-grid {
    min-height: auto;
    padding-bottom: 48px;
  }

  .about-fold:not(.is-expanded) .about-copy,
  .about-fold:not(.is-expanded) .service-list {
    display: none !important;
  }

  .about-fold:not(.is-expanded) .portrait-panel {
    width: min(94vw, 390px) !important;
    height: 320px !important;
    border-radius: 48% / 40% !important;
  }

  .fold-hint {
    bottom: 20px;
    min-height: 38px;
    padding: 0 14px;
    font-size: 12px !important;
  }

  .fold-prompt {
    order: 2;
    gap: 14px;
  }

  .about-fold .about-copy {
    order: 3;
  }

  .about-fold .service-list {
    order: 4;
  }

  .about-fold.is-expanded .about-copy,
  .about-fold.is-expanded .service-list {
    transform: translateX(0) !important;
  }

  .about-fold.is-expanded .service-item {
    padding-left: 14px !important;
  }

  .about-fold.is-expanded .service-item::before {
    display: none;
  }
}
