/* Shared imagery for the two Motion sliders at every viewport; desktop layout remains scoped below. */
html .score-shell[data-page="motion-design"] .motion-strip figure:nth-child(1) img,
html .score-shell[data-page="motion-design"] .motion-edit-track figure:nth-child(1) img { content: url("/assets/nh-motion-frames-20261108/r1/coast.webp"); }
html .score-shell[data-page="motion-design"] .motion-strip figure:nth-child(2) img,
html .score-shell[data-page="motion-design"] .motion-edit-track figure:nth-child(2) img { content: url("/assets/nh-motion-frames-20261108/r1/silk.webp"); }
html .score-shell[data-page="motion-design"] .motion-strip figure:nth-child(3) img,
html .score-shell[data-page="motion-design"] .motion-edit-track figure:nth-child(3) img { content: url("/assets/nh-motion-frames-20261108/r1/sculpture.webp"); }
html .score-shell[data-page="motion-design"] .motion-strip figure:nth-child(4) img { content: url("/assets/nh-motion-frames-20261108/r1/architecture.webp"); }
html .score-shell[data-page="motion-design"] .motion-strip figure:nth-child(5) img { content: url("/assets/nh-motion-frames-20261108/r1/water.webp"); }
@media (min-width: 1101px) {
  html .score-shell[data-page="motion-design"] :is(.signature-motion, .motion-edit) {
    --mf-gutter: max(clamp(40px, 4vw, 104px), calc((100% - 2240px) / 2));
    --mf-travel: clamp(14px, 1.2vw, 30px);
    transform: none !important;
    transition: border-color .5s !important;
  }
  html .score-shell[data-page="motion-design"] .signature-motion {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(28px, 3svh, 48px);
    min-height: 0;
    height: auto;
    padding: clamp(80px, 9svh, 144px) var(--mf-gutter) clamp(56px, 6svh, 96px);
  }
  html .score-shell[data-page="motion-design"] .signature-motion .motion-strip {
    position: relative;
    inset: auto;
    width: calc(100% + var(--mf-travel) * 2);
    margin-left: calc(var(--mf-travel) * -1);
    height: clamp(320px, 54svh, 680px);
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: clamp(12px, 1vw, 24px);
    transform: translate3d(calc(var(--motion-p, 0) * var(--mf-travel) * -1), 0, 0) rotate(-.35deg);
    transition: none !important;
  }
  html .score-shell[data-page="motion-design"] .signature-motion .motion-strip figure {
    margin: 0;
    min-height: 0;
    min-width: 0;
    height: 100%;
  }
  html .score-shell[data-page="motion-design"] .signature-motion .signature-copy {
    position: relative;
    inset: auto !important;
    width: 100%;
    max-width: none;
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(260px, .65fr) !important;
    column-gap: clamp(40px, 4vw, 96px) !important;
    row-gap: 20px !important;
    align-items: end;
    transform: none !important;
    transition: none !important;
  }
  html .score-shell[data-page="motion-design"] .signature-motion .signature-copy > span {
    margin: 0;
    font-size: clamp(8px, .4vw, 11px) !important;
  }
  html .score-shell[data-page="motion-design"] .signature-motion .signature-copy h2 {
    margin: 0;
    font-size: clamp(52px, 4.5vw, 100px) !important;
    line-height: .94;
    letter-spacing: -.055em;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }
  html .score-shell[data-page="motion-design"] .signature-motion .signature-copy p {
    margin: 0;
    max-width: 34ch !important;
    justify-self: end;
    font-size: clamp(14px, .7vw, 18px) !important;
    line-height: 1.7;
  }
  html .score-shell[data-page="motion-design"] .signature-motion .motion-timeline {
    position: relative;
    inset: auto !important;
    margin-top: 10px;
  }
  html .score-shell[data-page="motion-design"] .motion-edit {
    min-height: min(100svh, 1120px);
    padding: clamp(72px, 8svh, 128px) var(--mf-gutter) !important;
    grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr) !important;
    gap: clamp(40px, 4vw, 104px);
  }
  html .score-shell[data-page="motion-design"] .motion-edit::before {
    left: max(0px, calc((100% - 2240px) / 2 - .04em)) !important;
  }
  html .score-shell[data-page="motion-design"] .motion-edit h2 {
    font-size: clamp(56px, 4.8vw, 112px) !important;
    line-height: .88;
    letter-spacing: -.055em;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }
  html .score-shell[data-page="motion-design"] .motion-edit-copy > span {
    margin-bottom: clamp(26px, 3svh, 42px);
    font-size: clamp(8px, .4vw, 11px) !important;
  }
  html .score-shell[data-page="motion-design"] .motion-edit-copy p {
    margin: clamp(28px, 3svh, 44px) 0 0 clamp(24px, 2vw, 48px) !important;
    max-width: 34ch !important;
    font-size: clamp(14px, .7vw, 18px) !important;
    line-height: 1.7;
  }
  html .score-shell[data-page="motion-design"] .motion-edit-stage {
    width: 100%;
    max-width: none;
    height: clamp(440px, 64svh, 780px);
    min-width: 0;
  }
  html .score-shell[data-page="motion-design"] .motion-edit-track {
    inset: 13% 4% 15%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(12px, 1vw, 24px);
    transform: translate3d(calc(var(--motion-p, 0) * var(--mf-travel) * -1), 0, 0) rotate(-.35deg);
    transition: none !important;
  }
  html .score-shell[data-page="motion-design"] .motion-edit-track figure {
    min-width: 0;
  }
  html .score-shell[data-page="motion-design"] :is(.motion-strip, .motion-edit-track) img {
    transform: none;
    object-position: 50% 50%;
    filter: saturate(.85) contrast(1.02) brightness(.94);
  }

}
@media (min-width: 1101px) and (prefers-reduced-motion: reduce) {
  html .score-shell[data-page="motion-design"] :is(.motion-strip, .motion-strip figure, .motion-edit-track) {
    transform: none !important;
    transition: none !important;
    will-change: auto;
    clip-path: none !important;
  }
}
