/* Nosotros (ZUME | Studio) */

.about-studio-page.open {
  display: block;
}

.about-studio-inner {
  margin: 0 auto;
  padding: 100px 24px 130px;
}

.studio-profile {
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(48px,8vw,120px);
  align-items: center;
  border-top: 1px solid #eee;
}

.studio-profile-text {
  font-size: 19px;
  line-height: 1.55;
  white-space: pre-line;
}

.studio-word {
  font-family: Poppins,sans-serif;
  font-weight: 400;
}

html[data-theme="dark"] #aboutStudioPage {
  background: #111;
  color: #f4f4f4;
}

html[data-theme="dark"] #aboutStudioPage .studio-profile {
  border-top-color: #292929;
}

#aboutStudioPage .studio-overview {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0;
  padding: 0;
}

#aboutStudioPage .studio-overview-kicker {
  margin: 0 0 22px;
  color: #777;
  font: 400 12px/1 Poppins,Arial,sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
}

#aboutStudioPage .studio-overview-title {
  margin: 0 0 28px;
  font: 500 var(--esperanza-public-title-size,50px)/.96 Poppins,Arial,sans-serif;
  letter-spacing: -.05em;
}

#aboutStudioPage .studio-overview-name {
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
  margin: 0 0 36px;
  font: 400 27px/1 Poppins,Arial,sans-serif;
  letter-spacing: -.035em;
}

#aboutStudioPage .studio-overview-name .zume-word {
  font-weight: 600;
}

#aboutStudioPage .studio-overview-name .zume-divider {
  margin: 0 .24em;
  font-weight: 400;
}

#aboutStudioPage .studio-word {
  font-weight: 400;
}

#aboutStudioPage .studio-overview-exterior {
  width: min(100%,920px);
  aspect-ratio: 4/3;
  align-self: center;
  margin: 0 auto;
  overflow: hidden;
  background: #eee;
}

#aboutStudioPage .studio-overview-exterior img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

#aboutStudioPage .studio-overview-exterior img.bw {
  filter: grayscale(1);
}

#aboutStudioPage .studio-overview-text {
  width: min(100%,920px);
  max-width: 920px;
  margin: 30px auto 0;
  font: 400 18px/1.55 Poppins,Arial,sans-serif;
  letter-spacing: -.01em;
}

#aboutStudioPage .studio-profile-role {
  display: block;
  margin: 0 0 7px;
  color: #777;
  font: 400 14px/1.2 Poppins,Arial,sans-serif;
}

#aboutStudioPage .studio-profile-photo {
  background: transparent;
  padding: 0;
  border: 0;
  box-shadow: none;
  overflow: visible;
  transform: none;
}

#aboutStudioPage .studio-polaroid-stack {
  position: relative;
  margin: 0 auto;
  overflow: visible;
}

#aboutStudioPage .studio-polaroid {
  box-sizing: border-box;
  position: absolute;
  aspect-ratio: 4/5;
  background: #fff;
  padding: 12px 12px 78px;
  overflow: hidden;
  border: 0;
  box-shadow: 0 20px 48px rgba(0,0,0,.16),0 3px 12px rgba(0,0,0,.08);
  transform-origin: center;
  will-change: transform,opacity;
}

#aboutStudioPage .studio-polaroid:nth-child(1) {
  z-index: 1;
}

#aboutStudioPage .studio-polaroid:nth-child(2) {
  z-index: 2;
}

#aboutStudioPage .studio-polaroid:nth-child(3) {
  z-index: 3;
}

#aboutStudioPage .studio-polaroid img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: none;
  transition: transform .55s cubic-bezier(.22,.75,.18,1),filter .25s ease;
}

#aboutStudioPage .studio-polaroid.bw img {
  filter: grayscale(1);
}

#aboutStudioPage .studio-polaroid:hover img {
  transform: scale(1.02);
}

#aboutStudioPage .studio-polaroid-caption {
  position: absolute;
  left: 22px;
  right: 18px;
  bottom: 14px;
  height: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  background: #fff;
  color: #111;
  font-family: Poppins,Arial,sans-serif;
  pointer-events: none;
}

#aboutStudioPage .studio-polaroid-caption strong {
  font-size: 18px;
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: -.025em;
}

#aboutStudioPage .studio-polaroid-caption span {
  margin-top: 5px;
  color: #777;
  font-size: 13px;
  line-height: 1.05;
  font-weight: 400;
}

#aboutStudioPage .studio-profile-placeholder {
  width: 100%;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f2f2f2;
  color: #888;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12px;
}

html[data-theme="dark"] #aboutStudioPage .studio-polaroid,
html[data-theme="dark"] #aboutStudioPage .studio-polaroid-caption {
  background: #fff;
  color: #111;
}

html[data-theme="dark"] #aboutStudioPage .studio-profile-placeholder {
  background: #1d1d1d;
  color: #888;
}

html[data-theme="dark"] #aboutStudioPage .studio-overview-kicker,
html[data-theme="dark"] #aboutStudioPage .studio-profile-role {
  color: #aaa;
}

@media (max-width: 1024px) {
  #aboutStudioPage .studio-overview {
    margin-bottom: 16px;
  }

  #aboutStudioPage .studio-overview-kicker {
    margin-bottom: 18px;
  }

  #aboutStudioPage .studio-overview-title {
    margin-bottom: 22px;
    font-size: var(--esperanza-public-title-mobile,50px);
  }

  #aboutStudioPage .studio-overview-name {
    margin-bottom: 28px;
    font-size: 27px;
  }

  #aboutStudioPage .studio-overview-exterior {
    width: 100%;
  }

  #aboutStudioPage .studio-overview-text {
    margin-top: 28px;
    font-size: 15px;
    line-height: 1.55;
  }

  #aboutStudioPage .studio-polaroid-caption {
    left: 18px;
    right: 15px;
    bottom: 11px;
    height: 42px;
  }

  #aboutStudioPage .studio-polaroid-caption strong {
    font-size: 15px;
  }

  #aboutStudioPage .studio-polaroid-caption span {
    font-size: 11px;
  }

  #aboutStudioPage .studio-profile {
    display: flex;
    flex-direction: column;
    min-height: auto;
    gap: 18px;
    padding: 34px 0 54px;
    overflow: visible;
  }

  #aboutStudioPage .studio-profile-photo {
    order: 1;
    position: relative;
    top: auto;
    width: 100%;
    height: clamp(390px,112vw,560px);
    min-height: 390px;
    margin: 0 auto 12px;
    overflow: visible !important;
  }

  #aboutStudioPage .studio-profile>div:first-child {
    order: 2;
    position: relative;
    top: auto;
    align-self: stretch;
    padding: 8px 0 0;
    z-index: 4;
  }
}

@media (min-width: 1025px) {
  #aboutStudioPage .about-studio-inner {
    display: block;
    margin: 0;
    padding: 86px var(--esperanza-page-gutter,24px) 72px;
  }

  #aboutStudioPage .studio-overview {
    position: relative;
    z-index: 2;
    padding-bottom: clamp(54px,7vh,84px);
    background: inherit;
  }

  #aboutStudioPage .studio-overview-text {
    text-align: justify;
    text-align-last: left;
  }

  #aboutStudioPage .studio-profile {
    position: relative;
    display: grid;
    grid-template-columns: minmax(430px,.92fr) minmax(520px,1.08fr);
    column-gap: clamp(34px,4.2vw,72px);
    align-items: start;
    width: 100%;
    min-height: 230vh;
    height: auto;
    margin: 0;
    padding: 0;
    border: 0 !important;
    overflow: visible;
    background: inherit;
    isolation: isolate;
    --studio-scene-opacity: 0;
  }

  #aboutStudioPage .studio-profile+.studio-profile {
    margin-top: 0 !important;
  }

  #aboutStudioPage .studio-profile>div:first-child {
    grid-column: 1;
    position: sticky;
    top: 38vh;
    align-self: start;
    width: 100%;
    max-width: 560px;
    margin: 0;
    padding: 0;
    z-index: 4;
    opacity: var(--studio-scene-opacity);
    transition: opacity .18s ease;
  }

  #aboutStudioPage .studio-profile-name {
    white-space: nowrap;
    font: 500 clamp(38px,3.6vw,52px)/.98 Poppins,Arial,sans-serif;
  }

  #aboutStudioPage .studio-profile-text {
    width: 100%;
    max-width: 535px;
    margin: 0;
    padding: 0;
    font: 400 14px/1.55 Poppins,Arial,sans-serif;
    white-space: pre-line;
    text-align: left;
  }

  #aboutStudioPage .studio-profile-photo {
    grid-column: 2;
    position: sticky;
    top: 12vh;
    align-self: start;
    width: 100%;
    max-width: 720px;
    height: min(76vh,690px);
    margin: 0 auto;
    z-index: 3;
    opacity: var(--studio-scene-opacity);
    transition: opacity .18s ease;
  }

  #aboutStudioPage .studio-polaroid-stack {
    width: 100%;
    max-width: 680px;
    height: 100%;
    margin: 0 auto;
  }

  #aboutStudioPage .studio-polaroid {
    width: min(37vw,350px,calc((100vh - var(--header-h,64px) - 145px) * .78));
    opacity: var(--studio-card-opacity,0);
    transform: translateY(var(--studio-card-lift,90vh)) rotate(var(--studio-card-rot,0deg));
    transition: box-shadow .35s ease,opacity .12s linear;
  }

  #aboutStudioPage .studio-polaroid:nth-child(1) {
    left: 2%;
    top: 1%;
    z-index: 1;
  }

  #aboutStudioPage .studio-polaroid:nth-child(2) {
    left: 19%;
    top: 7%;
    z-index: 2;
  }

  #aboutStudioPage .studio-polaroid:nth-child(3) {
    left: 36%;
    top: 13%;
    z-index: 3;
  }
}

#aboutStudioPage .studio-profile-name {
  font-family: Poppins,Arial,sans-serif !important;
  font-size: var(--esperanza-public-title-size) !important;
  line-height: .96 !important;
  letter-spacing: -.05em;
  font-weight: 500 !important;
  margin: 0 0 24px;
}

.about-studio-page {
  position: fixed;
  left: 0;
  right: 0;
  top: var(--header-h,64px);
  z-index: 78;
  display: none;
  overflow-y: auto;
  background: #fff;
  color: #111;
  bottom: var(--esperanza-footer-h);
}

@media (max-width: 1024px) {
  #aboutStudioPage .studio-profile-name {
    margin: 0 0 22px !important;
  }

  #aboutStudioPage .studio-profile-text {
    position: relative;
    z-index: 4;
    max-width: 100%;
    margin: 0;
    padding: 0;
  }

  #aboutStudioPage .studio-polaroid-stack {
    position: relative;
    width: 100%;
    height: 100%;
  }

  #aboutStudioPage .studio-polaroid {
    padding: 10px 10px 65px;
    width: min(59vw,255px);
  }

  #aboutStudioPage .studio-polaroid:nth-child(1) {
    left: 3%;
    top: 1%;
  }

  #aboutStudioPage .studio-polaroid:nth-child(2) {
    left: 17%;
    top: 7%;
  }

  #aboutStudioPage .studio-polaroid:nth-child(3) {
    left: 31%;
    top: 13%;
  }
}

@media (max-width: 760px) {
  #aboutStudioPage .studio-profile-name {
    font-size: var(--esperanza-public-title-mobile) !important;
  }
}

#aboutStudioPage .about-studio-inner {
  width: 100%;
  max-width: none;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: var(--esperanza-page-gutter) !important;
  padding-right: var(--esperanza-page-gutter) !important;
}

@media (max-width: 760px) {
  #aboutStudioPage .about-studio-inner {
    padding-left: var(--esperanza-page-gutter-mobile) !important;
    padding-right: var(--esperanza-page-gutter-mobile) !important;
  }
}
