/* Refined desktop specialty story: compact hierarchy, anchored meta, measured motion. */
@media (min-width: 721px) {
  .studio[data-page="/"] #expertise.has-showcase .expertise-heading-meta {
    width: auto;
    max-width: 34ch;
    justify-self: end;
    align-self: end;
    margin: 0 0 4px;
    padding: 3px 0 3px 16px;
    border: 0;
    border-left: 1px solid rgba(16, 45, 61, .24);
    background: transparent;
    color: #526e7c;
    font-size: clamp(10px, .78vw, 12px);
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: .075em;
    text-align: left;
    text-wrap: balance;
  }

  .studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .expertise-scroll-story .expertise-detail {
    min-height: clamp(164px, 18vh, 188px);
    grid-template-columns: clamp(70px, 5.2vw, 78px) minmax(0, 1fr);
    align-content: center;
    gap: 0 18px;
    padding: clamp(17px, 2vh, 24px) clamp(20px, 2.5vw, 34px);
  }

  .studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .expertise-scroll-story .expertise-detail-number {
    grid-row: 1 / span 4;
    align-self: center;
    font-size: clamp(56px, 4.4vw, 66px);
    line-height: .9;
    letter-spacing: -.055em;
  }

  .studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .expertise-scroll-story .expertise-detail-index {
    margin-bottom: 6px;
    font-size: 10px;
    line-height: 1.45;
    letter-spacing: .105em;
  }

  .studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .expertise-scroll-story .expertise-detail-link {
    min-height: 42px;
    gap: 17px;
    margin-top: 11px;
    padding-inline: 16px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0;
    transition: background-color .3s ease, border-color .3s ease, transform .45s cubic-bezier(.16, 1, .3, 1);
  }

  .studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .expertise-scroll-story .expertise-detail-link:hover,
  .studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .expertise-scroll-story .expertise-detail-link:focus-visible {
    transform: translateY(-1px);
  }

  .studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .expertise-scroll-story .expertise-controls {
    --expertise-row-height: clamp(112px, 14vh, 174px);
    grid-template-rows: repeat(3, var(--expertise-row-height));
    align-content: center;
    padding-left: 0;
  }

  .studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .expertise-scroll-story .expertise-control-track {
    top: 50%;
    right: auto;
    bottom: auto;
    left: 0;
    width: 1px;
    height: calc(var(--expertise-row-height) * 3);
    transform: translateY(-50%);
    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: var(--expertise-row-height);
    border-radius: 2px;
    box-shadow: 0 0 9px rgba(197, 31, 54, .18);
    transform: translateY(calc(var(--active-index, 0) * 100%));
    transition: transform .86s cubic-bezier(.16, 1, .3, 1);
    will-change: transform;
  }

  .studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .expertise-scroll-story .expertise-choice {
    min-height: var(--expertise-row-height);
    grid-template-columns: clamp(64px, 5vw, 76px) minmax(0, 1fr);
    gap: 5px clamp(12px, 1.25vw, 18px);
    padding: clamp(10px, 1.2vh, 16px) clamp(17px, 2vw, 28px) clamp(10px, 1.2vh, 16px) 13px;
    border-left-width: 2px;
    transition: color .44s cubic-bezier(.16, 1, .3, 1), background-color .44s ease, border-color .44s ease, box-shadow .44s ease;
  }

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

  .studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .expertise-scroll-story .expertise-choice-number {
    font-size: clamp(48px, 4.1vw, 58px);
    line-height: .9;
    letter-spacing: -.055em;
    transform-origin: left center;
    transition: color .44s ease, transform .55s cubic-bezier(.16, 1, .3, 1);
  }

  .studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .expertise-scroll-story .expertise-choice[aria-pressed="true"] .expertise-choice-number {
    transform: translateX(2px) scale(1.035);
  }

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

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

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

  .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-duration: .42s, .56s;
    transition-timing-function: ease, cubic-bezier(.16, 1, .3, 1);
  }

  .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 {
    transform: translateY(4px);
  }

  .studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .expertise-scroll-story .expertise-choice:focus-visible {
    outline: 2px solid #c51f36;
    outline-offset: -3px;
  }
}

@media (min-width: 721px) and (max-width: 980px) {
  .studio[data-page="/"] #expertise.has-showcase .expertise-heading-meta {
    max-width: 27ch;
    padding-left: 12px;
    font-size: 9px;
    letter-spacing: .06em;
  }

  .studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .expertise-scroll-story .expertise-controls {
    --expertise-row-height: clamp(132px, 16vh, 172px);
  }

  .studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .expertise-scroll-story .expertise-choice {
    grid-template-columns: 58px minmax(0, 1fr);
    padding-right: 15px;
  }
}

@media (min-width: 721px) and (max-height: 760px) {
  .studio[data-page="/"] #expertise.has-showcase.expertise-pin-story .expertise-scroll-story .expertise-controls {
    --expertise-row-height: clamp(104px, 15vh, 126px);
  }

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

@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-choice-number,
  .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-visual img {
    transition: none !important;
  }
}
