/* Desktop refinement: align the specialty story, its progress rail, and the active title. */
@media (min-width: 721px) {
  .studio[data-page="/"] #expertise.has-showcase .focus-head {
    grid-template-columns: minmax(0, 1fr) minmax(240px, .38fr);
    align-items: end;
    gap: clamp(24px, 3.4vw, 48px);
    margin-bottom: clamp(19px, 2.35vh, 28px);
    padding-bottom: clamp(12px, 1.55vh, 18px);
    border-bottom: 1px solid rgba(16, 45, 61, .16);
  }

  .studio[data-page="/"] #expertise.has-showcase .focus-head > div {
    min-width: 0;
  }

  .studio[data-page="/"] #expertise.has-showcase .focus-head .eyebrow {
    gap: 10px;
    margin-bottom: clamp(10px, 1.35vh, 16px);
    font-size: 10px;
    line-height: 1.4;
  }

  .studio[data-page="/"] #expertise.has-showcase .focus-head h2 {
    max-width: 21ch;
    font-size: clamp(40px, 4.25vw, 62px);
    line-height: 1.02;
    letter-spacing: -.058em;
    text-wrap: balance;
  }

  .studio[data-page="/"] #expertise.has-showcase .expertise-heading-meta {
    width: 100%;
    max-width: 31ch;
    justify-self: end;
    margin: 0 0 4px;
    padding: 11px 14px 11px 16px;
    border: 1px solid rgba(16, 45, 61, .16);
    border-left: 2px solid #c51f36;
    background: rgba(255, 255, 255, .38);
    color: #526e7c;
    font-size: 9px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: .12em;
  }

  .studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .shell {
    padding-block: clamp(17px, 2.15vh, 26px) 14px;
  }

  .studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .focus-head {
    margin-bottom: clamp(14px, 1.9vh, 22px);
  }

  .studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .expertise-showcase.expertise-scroll-story {
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
    align-items: stretch;
    gap: clamp(24px, 3.2vw, 48px);
  }

  .studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .expertise-scroll-story .expertise-detail {
    min-height: clamp(148px, 17vh, 178px);
    grid-template-columns: clamp(60px, 5.2vw, 76px) minmax(0, 1fr);
    grid-template-rows: auto auto auto auto;
    align-content: center;
    align-items: start;
    gap: 0 16px;
    padding: clamp(16px, 2vh, 23px) clamp(20px, 2.5vw, 34px);
  }

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

  .studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .expertise-scroll-story .expertise-detail-number {
    grid-column: 1;
    grid-row: 1 / span 4;
    align-self: start;
    color: #e13249;
    font-size: clamp(48px, 4.15vw, 61px);
    line-height: .9;
    font-variant-numeric: tabular-nums;
  }

  .studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .expertise-scroll-story .expertise-detail-index {
    grid-column: 2;
    grid-row: 1;
    max-width: none;
    margin: 0 0 5px;
    color: #a9c0ca;
    font-size: 9px;
    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: 2;
    max-width: 31ch;
    margin: 0;
    color: #f5f8fa;
    font-size: clamp(22px, 1.95vw, 29px);
    line-height: 1.1;
    text-wrap: balance;
  }

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

  .studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .expertise-scroll-story .expertise-detail-link {
    grid-column: 2;
    grid-row: 4;
    justify-self: start;
    min-height: 36px;
    gap: 20px;
    margin-top: 10px;
    padding: 0 13px;
    font-size: 10px;
  }

  .studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .expertise-scroll-story .expertise-controls {
    padding-left: 0;
  }

  .studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .expertise-scroll-story .expertise-control-track {
    top: 0;
    bottom: 0;
    left: 0;
    width: 1px;
    background: rgba(16, 45, 61, .18);
  }

  .studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .expertise-scroll-story .expertise-control-progress {
    left: -1px;
    width: 3px;
    height: 33.3333%;
  }

  .studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .expertise-scroll-story .expertise-choice {
    grid-template-columns: clamp(52px, 4.6vw, 66px) minmax(0, 1fr);
    gap: 6px clamp(12px, 1.25vw, 18px);
    padding: clamp(14px, 1.7vh, 21px) clamp(17px, 2vw, 28px);
    border-left-width: 2px;
    border-left-color: transparent;
    transition: color .36s ease, background-color .4s ease, border-color .4s ease;
  }

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

  .studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .expertise-scroll-story .expertise-choice-number {
    align-self: center;
    font-size: clamp(40px, 3.7vw, 51px);
    line-height: .92;
    font-variant-numeric: tabular-nums;
  }

  .studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .expertise-scroll-story .expertise-choice-title {
    max-width: 31ch;
    padding-right: 20px;
    font-size: clamp(18px, 1.55vw, 22px);
    line-height: 1.2;
    text-wrap: pretty;
  }

  .studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .expertise-scroll-story .expertise-choice-note {
    font-size: 9px;
    line-height: 1.4;
    letter-spacing: .11em;
  }

  .studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .expertise-scroll-story .expertise-choice-description {
    max-width: 43ch;
    margin-top: 5px;
    font-size: clamp(11px, .84vw, 13px);
    line-height: 1.45;
  }

  .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);
    box-shadow: inset 0 1px rgba(16, 45, 61, .12), inset 0 -1px rgba(16, 45, 61, .12);
  }

  .studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .expertise-scroll-story .expertise-feature.is-switching .expertise-visual img {
    opacity: .48;
    transform: scale(1.008);
  }

  .studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .expertise-scroll-story .expertise-detail-number,
  .studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .expertise-scroll-story .expertise-detail-index,
  .studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .expertise-scroll-story .expertise-detail h3,
  .studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .expertise-scroll-story .expertise-detail > p,
  .studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .expertise-scroll-story .expertise-detail-link {
    transition: opacity .34s ease, transform .46s cubic-bezier(.22, 1, .36, 1);
  }

  .studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .expertise-scroll-story .expertise-detail-index {
    transition-delay: .035s;
  }

  .studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .expertise-scroll-story .expertise-detail h3 {
    transition-delay: .07s;
  }

  .studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .expertise-scroll-story .expertise-detail > p {
    transition-delay: .105s;
  }

  .studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .expertise-scroll-story .expertise-detail-link {
    transition-delay: .14s;
  }

  .studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .expertise-feature.is-switching .expertise-detail-number,
  .studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .expertise-feature.is-switching .expertise-detail-index,
  .studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .expertise-feature.is-switching .expertise-detail h3,
  .studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .expertise-feature.is-switching .expertise-detail > p,
  .studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .expertise-feature.is-switching .expertise-detail-link {
    opacity: 0;
    transform: translateY(6px);
  }

  .studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .expertise-scroll-story .expertise-visual img {
    transition: opacity .42s ease, transform .72s cubic-bezier(.22, 1, .36, 1), filter .42s ease;
  }

  .studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .focus-credit {
    margin-top: 8px;
    padding-top: 8px;
    font-size: 9px;
    line-height: 1.45;
    letter-spacing: .01em;
  }
}

@media (min-width: 721px) and (max-width: 980px) {
  .studio[data-page="/"] #expertise.has-showcase .focus-head {
    grid-template-columns: minmax(0, 1fr) minmax(205px, .48fr);
    gap: 22px;
  }

  .studio[data-page="/"] #expertise.has-showcase .expertise-heading-meta {
    max-width: 26ch;
    padding: 9px 10px 9px 12px;
    font-size: 9px;
  }
}

@media (min-width: 721px) and (max-height: 760px) {
  .studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .shell {
    padding-block: 12px 10px;
  }

  .studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .focus-head {
    margin-bottom: 11px;
    padding-bottom: 9px;
  }

  .studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .focus-head .eyebrow {
    margin-bottom: 7px;
  }

  .studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .focus-head h2 {
    font-size: clamp(36px, 3.7vw, 52px);
  }

  .studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .expertise-scroll-story .expertise-detail {
    min-height: 132px;
    padding-block: 12px;
  }

  .studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .expertise-scroll-story .expertise-choice {
    padding-block: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .expertise-scroll-story .expertise-control-progress,
  .studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .expertise-scroll-story .expertise-choice,
  .studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .expertise-scroll-story .expertise-detail > *,
  .studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .expertise-scroll-story .expertise-detail-number,
  .studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .expertise-scroll-story .expertise-detail-index,
  .studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .expertise-scroll-story .expertise-detail h3,
  .studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .expertise-scroll-story .expertise-detail > p,
  .studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .expertise-scroll-story .expertise-detail-link,
  .studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .expertise-scroll-story .expertise-visual img {
    transition: none !important;
  }
}