/* Optional mobile copy treatment. Disable $useEditorialMobileCopy in the homepage head to revert. */
@media (max-width: 767px) {
  .homepage .home-expertise-summary__services {
    --mobile-editorial-copy: 1;
    counter-reset: expertise-item;
    gap: 0;
    font-size: clamp(15px, 4.1vw, 19px);
    font-weight: 500;
    line-height: 1.3;
    text-wrap: pretty;
  }
  .homepage .home-expertise-summary__services li { font-size: inherit; }
  .homepage .home-expertise-summary__services li:not(:last-child) {
    counter-increment: expertise-item;
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    align-items: baseline;
    gap: 10px;
    padding-block: clamp(10px, 1.5svh, 15px);
    border-top: 1px solid rgb(255 255 255 / .28);
  }
  .homepage .home-expertise-summary__services li:not(:last-child)::before {
    content: counter(expertise-item, decimal-leading-zero);
    color: var(--coral);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .04em;
  }
  .homepage .home-expertise-summary__services li > span {
    width: auto;
    white-space: normal;
    letter-spacing: -.025em;
  }
  .homepage .home-expertise-summary__services li:last-child { padding-top: 18px; text-align: right; }
  .homepage .home-expertise-summary__services .home-expertise-summary__link { margin-left: auto; font-size: 15px; font-weight: 400; }

  .homepage .studio-section .studio-copy > p {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    font-size: 15px;
    line-height: 1.5;
    letter-spacing: -.015em;
  }
  .homepage .studio-section .studio-copy > p .studio-copy__sentence {
    display: block;
    width: 100%;
    max-width: none;
    text-align: left;
    color: #fff;
    font-size: clamp(19px, 5vw, 25px);
    line-height: 1.25;
    letter-spacing: -.035em;
    font-weight: 500;
  }
  .homepage .studio-section .studio-copy > p .studio-copy__sentence + .studio-copy__sentence {
    justify-self: end;
    max-width: none;
    margin-top: 0;
    padding-top: 16px;
    border-top: 1px solid rgb(255 255 255 / .28);
    text-align: right;
  }
  .homepage .studio-section .studio-copy__sentence + .studio-copy__sentence::before { content: none; }
  .homepage .studio-section .studio-copy__sentence:first-child > .studio-copy__line:first-child { display: block; }
  .homepage .studio-section .studio-copy__sentence:first-child > .studio-copy__line:first-child + .studio-copy__line::before { content: none; }
  .homepage .studio-section .studio-copy .studio-copy__link {
    margin-top: 18px;
    margin-left: auto;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: -.015em;
  }
}
@media (max-width: 767px) and (max-height: 700px) {
  .homepage .home-expertise-summary__services li:not(:last-child) { padding-block: 8px; }
  .homepage .studio-section .studio-copy > p { gap: 14px; }
  .homepage .studio-section .studio-copy > p .studio-copy__sentence + .studio-copy__sentence { padding-top: 12px; }
}
