/* A full-viewport specialty sequence, held in place while scroll advances its three chapters. */
.studio[data-page="/"] #expertise.has-showcase.expertise-pin-story {
  --expertise-header-height: 96px;
  height: calc((100svh - var(--expertise-header-height)) * 4.4);
  min-height: 0;
  overflow: visible;
  padding: 0;
}

.studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .shell {
  position: sticky;
  top: var(--expertise-header-height);
  display: flex;
  height: calc(100svh - var(--expertise-header-height));
  min-height: 0;
  flex-direction: column;
  padding-block: clamp(20px, 2.7vh, 32px) 16px;
}

.studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .focus-head {
  display: grid;
  flex: 0 0 auto;
  grid-template-columns: minmax(0, 1fr) minmax(230px, .34fr);
  align-items: end;
  gap: 32px;
  margin: 0 0 clamp(18px, 2.5vh, 28px);
}

.studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .focus-head h2 {
  max-width: 22ch;
  font-size: clamp(40px, 4.1vw, 58px);
  line-height: 1.02;
}

.studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .expertise-heading-meta {
  max-width: 27ch;
  margin: 0 0 5px;
  padding: 8px 0 8px 18px;
  border-left: 1px solid rgba(16, 45, 61, .24);
  color: #526e7c;
  font-size: clamp(12px, .95vw, 15px);
  font-weight: 600;
  line-height: 1.65;
  letter-spacing: .1em;
}

.studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .expertise-showcase.expertise-scroll-story {
  display: grid;
  min-height: 0;
  flex: 1 1 auto;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
  align-items: stretch;
  gap: clamp(28px, 4vw, 60px);
}

.studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .expertise-scroll-story .expertise-feature {
  position: relative;
  inset: auto;
  display: grid;
  min-width: 0;
  min-height: 0;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) auto;
  align-self: stretch;
  gap: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .expertise-scroll-story .expertise-visual {
  min-height: 0;
  aspect-ratio: auto;
  box-shadow: 0 18px 42px rgba(16, 45, 61, .13);
}

/* Keep the selected description below the photograph, with no crop or overlay. */
.studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .expertise-scroll-story .expertise-detail {
  position: relative;
  inset: auto;
  display: grid;
  min-height: clamp(138px, 18vh, 166px);
  grid-template-columns: 66px minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  align-content: center;
  gap: 0 17px;
  margin: 0;
  padding: 15px clamp(18px, 2.4vw, 30px) 16px;
  border: 0;
  border-top: 2px solid #c51f36;
  background: #102d3d;
  color: #f5f8fa;
}

.studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .expertise-scroll-story .expertise-detail::before {
  display: none;
}

.studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .expertise-scroll-story .expertise-detail-top {
  grid-column: 1;
  grid-row: 1 / span 3;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  margin: 0;
}

.studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .expertise-scroll-story .expertise-detail-number {
  color: #e13249;
  font-size: clamp(43px, 4vw, 58px);
  line-height: .9;
}

.studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .expertise-scroll-story .expertise-detail-index {
  max-width: 75px;
  color: #adc1ca;
  font-size: 8px;
  line-height: 1.4;
  letter-spacing: .12em;
}

.studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .expertise-scroll-story .expertise-detail h3 {
  grid-column: 2;
  grid-row: 1;
  max-width: 33ch;
  color: #f5f8fa;
  font-size: clamp(22px, 2vw, 29px);
  line-height: 1.12;
}

.studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .expertise-scroll-story .expertise-detail > p {
  grid-column: 2;
  grid-row: 2;
  max-width: 58ch;
  margin: 6px 0 0;
  color: #c1d1d7;
  font-size: clamp(12px, .91vw, 14px);
  line-height: 1.45;
}

.studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .expertise-scroll-story .expertise-detail-link {
  grid-column: 2;
  grid-row: 3;
  justify-self: start;
  min-height: 34px;
  gap: 20px;
  margin-top: 8px;
  padding: 0 12px;
  border: 1px solid #c51f36;
  background: #c51f36;
  color: #fff;
  font-size: 10px;
}

/* Three equal stages share the image's exact vertical span. */
.studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .expertise-scroll-story .expertise-controls {
  position: relative;
  display: grid;
  min-height: 0;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: repeat(3, minmax(0, 1fr));
  align-content: stretch;
  gap: 0;
  margin: 0;
  padding: 0 0 0 24px;
}

.studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .expertise-scroll-story .expertise-control-track {
  display: block !important;
  top: 5%;
  right: auto;
  bottom: 5%;
  left: 5px;
  width: 1px;
  height: auto;
  background: rgba(16, 45, 61, .2);
}

.studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .expertise-scroll-story .expertise-control-progress {
  top: 0;
  left: -1px;
  width: 3px;
  height: 33.3333%;
  transform: translateY(calc(var(--active-index, 0) * 100%));
  transition: transform .62s cubic-bezier(.2, .75, .25, 1);
}

.studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .expertise-scroll-story .expertise-choice {
  position: relative;
  display: grid;
  width: 100%;
  height: auto;
  min-height: 0;
  grid-template-columns: clamp(48px, 5vw, 66px) minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  align-content: center;
  align-items: center;
  gap: 5px 14px;
  padding: 14px clamp(18px, 2vw, 28px) 14px 13px;
  border: 0;
  border-top: 1px solid rgba(16, 45, 61, .18);
  border-left: 2px solid transparent;
  background: transparent;
  text-align: left;
  transition: color .28s ease, background-color .28s ease, border-color .28s ease;
}

.studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .expertise-scroll-story .expertise-choice:last-child {
  border-bottom: 1px solid rgba(16, 45, 61, .18);
}

.studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .expertise-scroll-story .expertise-choice[aria-pressed="true"] {
  border-left-color: #c51f36;
  background: rgba(255, 255, 255, .58);
  color: #102d3d;
}

.studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .expertise-scroll-story .expertise-choice-number {
  grid-row: 1 / span 3;
  align-self: center;
  padding: 0;
  color: #8299a4;
  font-size: clamp(38px, 3.8vw, 52px);
  line-height: .92;
}

.studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .expertise-scroll-story .expertise-choice[aria-pressed="true"] .expertise-choice-number,
.studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .expertise-scroll-story .expertise-choice.is-complete .expertise-choice-number {
  color: #c51f36;
}

.studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .expertise-scroll-story .expertise-choice-title {
  max-width: 34ch;
  padding: 0 20px 0 0;
  color: #102d3d;
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.22;
}

.studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .expertise-scroll-story .expertise-choice-note {
  color: #718995;
  font-size: 8px;
  line-height: 1.45;
  letter-spacing: .13em;
}

.studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .expertise-scroll-story .expertise-choice-description {
  display: block;
  max-width: 48ch;
  margin: 3px 0 0;
  color: #526e7c;
  font-size: clamp(11px, .86vw, 13px);
  line-height: 1.42;
}

.studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .focus-credit {
  flex: 0 0 auto;
  margin: auto 0 0;
  padding-top: 10px;
  border-top: 1px solid rgba(16, 45, 61, .17);
  color: #607b87;
  font-size: 10px;
  line-height: 1.4;
}

@media (max-width: 980px) and (min-width: 721px) {
  .studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .expertise-showcase.expertise-scroll-story {
    grid-template-columns: minmax(0, 1fr) minmax(290px, .94fr);
    gap: 22px;
  }
  .studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .expertise-scroll-story .expertise-choice {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 4px 10px;
    padding-right: 15px;
  }
  .studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .expertise-scroll-story .expertise-choice-description {
    font-size: 11px;
  }
}

@media (max-width: 720px) {
  .studio[data-page="/"] #expertise.has-showcase.expertise-pin-story {
    --expertise-header-height: 78px;
  }
  .studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .shell {
    padding-block: 13px 12px;
  }
  .studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .focus-head {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    margin-bottom: 12px;
  }
  .studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .focus-head h2 {
    max-width: 18ch;
    font-size: clamp(32px, 8.4vw, 39px);
    line-height: 1;
  }
  .studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .focus-head .eyebrow {
    margin-bottom: 7px;
    font-size: 8px;
  }
  .studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .expertise-heading-meta {
    max-width: none;
    margin: 0;
    padding: 5px 0 0;
    border-top: 1px solid rgba(16, 45, 61, .2);
    border-left: 0;
    font-size: 9px;
    line-height: 1.45;
    letter-spacing: .11em;
  }
  .studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .expertise-showcase.expertise-scroll-story {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 10px;
  }
  .studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .expertise-scroll-story .expertise-feature {
    grid-template-rows: minmax(0, 1fr) auto;
  }
  .studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .expertise-scroll-story .expertise-visual {
    aspect-ratio: auto;
  }
  .studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .expertise-scroll-story .expertise-visual figcaption {
    top: 10px;
    bottom: auto;
    left: 10px;
    right: 10px;
    font-size: 7px;
  }
  .studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .expertise-scroll-story .expertise-detail {
    min-height: 132px;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 0 10px;
    padding: 10px 12px 11px;
  }
  .studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .expertise-scroll-story .expertise-detail-top {
    gap: 4px;
  }
  .studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .expertise-scroll-story .expertise-detail-number {
    font-size: 37px;
  }
  .studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .expertise-scroll-story .expertise-detail-index {
    font-size: 6px;
    letter-spacing: .08em;
  }
  .studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .expertise-scroll-story .expertise-detail h3 {
    font-size: clamp(18px, 5.2vw, 22px);
  }
  .studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .expertise-scroll-story .expertise-detail > p {
    margin-top: 4px;
    font-size: 11px;
    line-height: 1.35;
  }
  .studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .expertise-scroll-story .expertise-detail-link {
    min-height: 30px;
    gap: 12px;
    margin-top: 6px;
    padding-inline: 9px;
    font-size: 9px;
  }
  .studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .expertise-scroll-story .expertise-controls {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: minmax(58px, auto);
    padding: 0;
  }
  .studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .expertise-scroll-story .expertise-control-track {
    top: 0;
    right: 0;
    bottom: auto;
    left: 0;
    width: auto;
    height: 1px;
  }
  .studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .expertise-scroll-story .expertise-control-progress {
    top: -1px;
    left: 0;
    width: 33.3333%;
    height: 3px;
    transform: translateX(calc(var(--active-index, 0) * 100%));
  }
  .studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .expertise-scroll-story .expertise-choice {
    grid-template-columns: 30px minmax(0, 1fr);
    grid-template-rows: 1fr;
    gap: 0 6px;
    padding: 8px 5px;
    border-top: 0;
    border-bottom: 0;
    border-left: 0;
  }
  .studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .expertise-scroll-story .expertise-choice:last-child {
    border-bottom: 0;
  }
  .studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .expertise-scroll-story .expertise-choice[aria-pressed="true"] {
    background: rgba(255, 255, 255, .42);
  }
  .studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .expertise-scroll-story .expertise-choice-number {
    grid-row: 1;
    font-size: 25px;
  }
  .studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .expertise-scroll-story .expertise-choice-title {
    padding: 0;
    font-size: 10px;
    line-height: 1.2;
  }
  .studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .expertise-scroll-story .expertise-choice-note,
  .studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .expertise-scroll-story .expertise-choice-description {
    display: none;
  }
  .studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .focus-credit {
    padding-top: 6px;
    font-size: 8px;
  }
}

@media (max-height: 680px) and (max-width: 720px) {
  .studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .expertise-scroll-story .expertise-visual {
    min-height: 120px;
  }
  .studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .expertise-scroll-story .expertise-detail {
    min-height: 116px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .studio[data-page="/"] #expertise.has-showcase.expertise-pin-story *,
  .studio[data-page="/"] #expertise.has-showcase.expertise-pin-story *::before,
  .studio[data-page="/"] #expertise.has-showcase.expertise-pin-story *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
