/* The positioned homepage card is the hit area for its existing native link. */
#services .service-grid > .service > .service-copy > a.link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  cursor: pointer;
}

/* Selected Apps & Products Option 3 rules from the actual section study. */
.study-apps { isolation: isolate; overflow: hidden; }
.study-apps::after { display: none; }
.study-apps-3 { background: #e9e3d5; display: block; }
.study-art-window {
  position: absolute;
  inset: 0 0 auto;
  width: 100%;
  height: 57%;
  object-fit: cover;
  border-radius: 0 0 45% 8%;
}

/* Keep the art area and card footprint when the app-specific gallery links go away. */
.mindful-card .app-portfolio-caption { padding-bottom: 67.55px; }
.app-portfolio-caption > p { min-block-size: 3.1em; }

.app-portfolio-identities {
  position: absolute;
  inset: 57% 6% 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  color: #13392f;
  text-align: center;
}
.app-portfolio-identity h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.15;
}
.app-portfolio-identity .app-portfolio-logo {
  display: block;
  width: min(100%, 164px);
  height: auto;
  margin-inline: auto;
}
.app-portfolio-identity p {
  max-width: 36ch;
  margin: 4px auto 0;
  font-size: 14px;
  line-height: 1.35;
}
.app-portfolio-identity + .app-portfolio-identity {
  border-top: 1px solid #13392f30;
  padding-top: 8px;
}
.app-portfolio-identity .app-portfolio-status {
  color: #5a3979;
  font-size: 12px;
  font-weight: 650;
}

/* Selected Digital Designs Option 2 rules. */
.project-card .study-design {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: radial-gradient(ellipse at 60% 45%, #214c66, #0b1822 75%);
  display: block;
}
.project-card .study-design-2 .study-pool-table {
  position: absolute;
  object-fit: contain;
  inset: -8% auto auto -19%;
  width: 90%;
  height: 115%;
  filter: none;
  max-height: none;
  transform: rotate(-19deg);
}
.study-design-2 .study-rack-device {
  position: absolute;
  right: 10%;
  top: 4%;
  height: 88%;
  aspect-ratio: 393 / 800;
  border: 4px solid #9da9b2;
  border-radius: 19px;
  overflow: hidden;
  background: #020706;
  box-shadow: 0 12px 25px #000b;
  transform: rotate(7deg);
}
.project-card .study-rack-device img {
  position: static;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
  filter: none;
}
.study-art-label {
  position: absolute;
  left: 6%;
  bottom: 4%;
  font-size: 10px;
  letter-spacing: .18em;
  color: #d6ddd9;
}
.study-design:focus-visible { outline: 3px solid #ccb6e9; outline-offset: -4px; }

/* Reserve the original single-line subtitle space without any replacement text. */
.study-design-2 + .card-caption .card-link { margin-top: 33.7px; }

/* Selected homepage Partnering Work Option 2 rules. */
#partner-work .study-partner-2 {
  border-left: 2px solid #aa93bf;
  padding-left: 17px;
  box-sizing: border-box;
}
#partner-work .study-partner-2 h3 {
  font-size: 32px;
  line-height: 1.18;
  letter-spacing: .015em;
  margin: 27px 0 22px;
}
#partner-work .study-partner-2 .eyebrow { font-size: 10px; letter-spacing: .2em; }
#partner-work .study-partner-2 .small { font-style: italic; line-height: 1.7; }

.partnership-credits .partnership-email { overflow-wrap: anywhere; }

@media (max-width: 1100px) {
  .mindful-card .app-portfolio-caption { padding-bottom: 64.1px; }
  .study-design-2 + .card-caption .card-link { margin-top: 32.15px; }
}
@media (min-width: 601px) and (max-width: 800px) {
  .mindful-card .app-portfolio-caption { padding-bottom: 65.1px; }
  .poolroom-card .study-design { min-height: 235px; }
}
@media (max-width: 650px) {
  .study-art-window { height: 49%; }
  .app-portfolio-identities { top: 49%; }
  .app-portfolio-identity .app-portfolio-logo { width: min(100%, 145px); }
  #partner-work .study-partner-2 { border: 0; padding: 0; position: relative; }
  #partner-work .study-partner-2 h3 {
    font-size: 34px;
    line-height: 1.13;
    letter-spacing: normal;
    margin: 0 0 18px;
  }
  #partner-work .study-partner-2 .eyebrow {
    display: block;
    font-size: 9px;
    line-height: 1.7;
    letter-spacing: .18em;
    margin: 0 0 17px;
    padding: 0;
    border: 0;
  }
  #partner-work .study-partner-2 > p:not(.eyebrow),
  #partner-work .study-partner-2 .small {
    padding: 0;
    border: 0;
    margin: 0 0 12px;
    font-size: 15px;
    line-height: 1.65;
    font-style: normal;
  }
  #partner-work .study-partner-2 .link { margin-top: 8px; }
  #partner-work .study-partner-2::before {
    content: "";
    position: absolute;
    left: -12px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #aa93bf;
  }
}
@media (max-width: 600px) {
  .mindful-card .study-apps { min-height: 395px; }
  .mindful-card .app-portfolio-caption { padding-bottom: 62px; }
  .poolroom-card .study-design { min-height: 340px; }
  .study-design-2 + .card-caption .card-link { margin-top: 38.25px; }
}


/* Keep the approved Client Work tile footprint after removing repeated empty-state copy. */
.client-featured .card-caption { padding-bottom: 77px; }
.has-dialog .details-fallback.has-linked-detail { display: block; }
@media (max-width: 335px) { .client-featured .card-caption { padding-bottom: 95px; } }

/* The phone keeps its original geometry. Full descriptions are in Apps & Products. */
@media (min-width: 851px) {
  .partner-page.background-study.full-copy-fit .drop-app-copy { font-size: 15px; line-height: 1.45; }
  .partner-page.background-study.full-copy-fit .drop-app-copy .drop-app-byline,
  .partner-page.background-study.full-copy-fit .drop-app-copy .drop-app-status { font-size: 14px; }
}
