/* Modcare service pages: put the work and the choice ahead of the enquiry. */
.ms-page .ms-hero {
  min-height: clamp(590px, 68svh, 704px);
}
.ms-page .ms-proof .ms-container {
  align-items: center;
  gap: clamp(24px, 4.4vw, 78px);
}
.ms-page .ms-proof h2 {
  max-width: 17ch;
  text-wrap: balance;
}
.ms-page .md-proof-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-top: clamp(18px, 2.4vw, 30px);
}
.ms-page .md-proof-actions .ms-button {
  background: #c3a180;
  border: 1px solid #c3a180;
  color: #14110e;
  cursor: pointer;
  font-weight: 650;
  min-height: 48px;
  min-width: 160px;
  padding: 10px 18px;
}
.ms-page .md-proof-actions > a:not(.ms-button) {
  color: inherit;
  line-height: 1.4;
  text-decoration: underline;
  text-underline-offset: .25em;
}
.ms-page .ms-section.ms-review-compact,
.ms-page .ms-section.md-proof-trust {
  background: #111;
  color: #fff;
  padding-block: clamp(20px, 3vw, 34px);
}
.ms-page .ms-review :is(.ms-container, header) {
  row-gap: 12px;
}
.ms-page .ms-review-compact h2,
.ms-page .md-proof-trust h2 {
  font-size: clamp(1.28rem, 2.15vw, 1.95rem);
  line-height: 1.18;
  margin-block: 0;
}
.ms-page .md-proof-trust .ms-review-cards {
  margin-top: 16px;
}
.ms-page .md-proof-trust .ms-review-cards blockquote {
  padding: clamp(14px, 2vw, 22px);
}
.ms-page .ms-quote-compact .ms-quote-panel {
  max-width: 760px;
  margin-inline: auto;
}
.ms-page .ms-quote-compact .ms-quote-panel > div:only-child {
  grid-column: 1 / -1;
}
.ms-page .md-ppf-evidence {
  margin: 16px 0 0;
}
.ms-page .md-ppf-evidence img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.ms-page .md-ppf-evidence figcaption {
  font-size: .89rem;
  margin-top: 8px;
}
.md-site-section { padding: clamp(42px, 6vw, 88px) 0; }
.md-site-container { width: min(1320px, calc(100% - 2 * clamp(20px, 5vw, 80px))); margin-inline: auto; }
.md-site-heading { font-size: clamp(2rem, 4vw, 3.7rem); line-height: 1.02; letter-spacing: -.035em; margin: 0 0 .35em; }
.md-site-intro { max-width: 55ch; color: #4d4842; margin: 0 0 24px; }
.md-service-finder { background: #f7f5f0; color: #151310; }
.md-finder-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(22px, 4vw, 60px); }
.md-finder-row { border-top: 1px solid #c8bfb4; padding: clamp(15px, 2vw, 25px) 0; }
.md-finder-title { display: grid; grid-template-columns: clamp(76px, 10vw, 142px) minmax(0, 1fr) 22px; align-items: center; gap: clamp(12px, 2vw, 22px); color: inherit; text-decoration: none; }
.md-finder-title img { display:block; width:100%; height:auto; aspect-ratio: 3/2; object-fit: cover; }
.md-finder-title h3 { margin: 0; font-size: clamp(1.11rem, 1.8vw, 1.65rem); line-height: 1.2; }
.md-finder-title p { margin: 5px 0 0; font-size: .91rem; color: #4d4842; }
.md-finder-title:is(:hover, :focus-visible) h3 { text-decoration: underline; text-underline-offset: .22em; }
.md-finder-row details { margin: 10px 0 0 clamp(88px, 12vw, 164px); }
.md-finder-row summary { color: #61462e; cursor: pointer; font-size: .91rem; font-weight: 650; }
.md-finder-row ul { display: grid; gap: 0 15px; grid-template-columns: repeat(2,minmax(0,1fr)); list-style: none; padding: 3px 0 0; margin: 8px 0 0; }
.md-finder-row li a { color: #22180f; display: inline-flex; align-items: center; min-height: 37px; font-size: .9rem; line-height: 1.25; text-decoration: underline; text-underline-offset: .2em; }
.md-parent-work .mc2-section-head { max-width: 760px; }
.md-parent-work .mc2-service-gallery > div:nth-child(2) { grid-template-columns: minmax(0, 1.38fr) minmax(0, 1fr); align-items: stretch; }
.md-parent-work .mc2-service-gallery figure { margin: 0; min-width: 0; }
.md-parent-work .mc2-service-gallery .mc4-photo { height: auto; aspect-ratio: 3 / 2; width: 100%; display:block; }
.md-parent-work .mc2-service-gallery .mc4-photo img { height: 100%; width: 100%; object-fit: cover; display: block; }
.md-parent-work figcaption { padding: 9px 0 0; margin: 0; font-size: .88rem; color: #f2e8df; }
.md-parent-work .md-work-action { margin-top: clamp(18px,3vw,30px); }
.md-parent-work .md-work-action a { display: inline-flex; min-height: 46px; padding: 10px 17px; background: #c3a180; color: #14110e; align-items: center; font-weight: 700; text-decoration: none; }
.md-parent-work .md-work-action a:hover,
.md-parent-work .md-work-action a:focus-visible { background: #dfbea0; }
.md-parent-choice { scroll-margin-top: 90px; }
.md-parent-choice .mc2-section-head { max-width: 62ch; }
.md-parent-choice .mc11-service-option { padding-block: clamp(17px, 2.5vw, 28px); }
.md-home-hero .ts-legacy-home-hero__content h1 {
  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: 1.01;
  max-width: 17ch;
  margin-inline: auto;
  text-transform: none;
  text-wrap: balance;
}
.md-home-hero .ts-legacy-home-hero__subhead { max-width: 52ch; margin-inline: auto; }
.md-home-hero .ts-legacy-home-hero__content { padding-block: clamp(24px, 5vw, 80px); }
.md-options-link { scroll-margin-top: 85px; }
.md-sample-compare { padding: clamp(30px, 5vw, 64px) 0; background: #f5f1ea; color: #181512; }
.md-sample-compare h2 { font-size: clamp(1.7rem, 3vw, 2.7rem); line-height: 1.09; margin: 0 0 15px; }
.md-sample-compare p { margin: 0 0 16px; max-width: 58ch; }
.md-sample-compare figure { margin: 0; min-width: 0; }
.md-sample-compare figcaption { padding-top: 8px; font-size: .9rem; }
.md-sample-compare figure img { width:100%; height:auto; aspect-ratio: 4/3; object-fit: cover; display:block; }
.md-pair { display:grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap:clamp(10px, 2vw, 26px); align-items: start; }
.md-gallery-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 22px; }
.md-gallery-filters button { border:1px solid #c4aa90; color:inherit; background: transparent; border-radius:0; min-height:44px; padding:6px 14px; cursor:pointer; font:inherit; }
.md-gallery-filters button[aria-pressed=true] { background:#c3a180; color:#16110c; }
.md-gallery-filters ~ .mc2-support-project-grid > figure[hidden] { display:none; }
.md-project-grid > a { color:inherit; }
.md-project-chip { margin-top:8px; }
.md-project-chip a { color:inherit; text-underline-offset: .26em; }
.md-contact-path { margin-top: 12px; }
.md-contact-path a { text-decoration: underline; text-underline-offset: .22em; }
.ts-wheels-main .md-wheel-hero .ts-live-inner-hero__image { object-position: var(--md-wheel-position, 57% 59%); }
.ts-wheels-main .ts-wheel-pricing { scroll-margin-top: 80px; }
.ts-wheels-main .ts-wheel-grid article > span { display: none; }
.ts-wheels-main .ts-wheel-grid article > a { display:inline-flex; margin-top:12px; min-height:44px; align-items:center; color:#573d27; font-size:.9rem; font-weight:650; text-decoration: underline; text-underline-offset:.22em; }
.md-short-thanks .ts-thanks-mark { width: min(110px, 28vw); height: auto; }
@media (max-width: 760px) {
  .ms-page .ms-hero {
    min-height: min(76svh, 585px);
  }
  .ms-page .ms-hero-content {
    padding-block: clamp(22px, 4vw, 34px);
  }
  .ms-page .ms-hero h1 {
    font-size: clamp(2rem, 8vw, 3.2rem);
  }
  .ms-page .ms-proof .ms-container { gap: 18px; }
  .ms-page .md-proof-actions .ms-button { min-width: min(100%, 192px); }
  .md-finder-list { grid-template-columns: 1fr; }
  .md-finder-title { grid-template-columns: 88px minmax(0,1fr) 18px; }
  .md-finder-row details { margin-left: 0; }
  .md-finder-row summary { padding-block: 7px; min-height: 40px; }
  .md-parent-work .mc2-service-gallery > div:nth-child(2) {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .md-parent-work .mc2-service-gallery .mc4-photo { aspect-ratio: 16 / 10; }
  .md-home-hero .ts-legacy-home-hero__content h1 { font-size: clamp(2.4rem, 9vw, 4rem); }
}
.md-ppf-shortcuts { display:flex; flex-wrap:wrap; justify-content:center; gap:10px 22px; margin:18px auto 0; }
.md-ppf-shortcuts a { color: #fff; font-size:.93rem; }
.md-ppf-shortcuts a:hover { color: #f6d8b9; }
.md-article-options { border-inline-start: 2px solid #b89473; padding-inline-start: 1.15em; margin-block: 1.15em; }
.md-article-options dt { font-weight: 700; margin-top: .6em; }
.md-article-options dd { margin-inline-start: 0; }
.md-gallery-service { display: block; font-size: .85rem; color:#5b4b3a; margin-top:6px; }
.ts-wheels-main .ts-wheel-grid article img { display: block; width: min(100%, 190px); margin: 0 auto 14px; height: auto; aspect-ratio: 1; object-fit: contain; }
.ts-wheels-main .md-wheel-hero .ts-live-inner-hero__media picture { display:block; width:100%; height:100%; }
.md-short-thanks { min-height: min(85svh, 680px); padding: clamp(55px, 9vw, 122px) 24px; }
.md-short-thanks h1 { font-size: clamp(2.2rem, 6vw, 4.2rem); }
.md-pair figure { min-width: 0; margin: 0; }
.md-pair img { display: block; width: 100%; height: auto; }
.md-pair figcaption { margin: 6px 0 14px; }
.md-journal-feature { display:flex; align-items:center; flex-wrap:wrap; gap:10px 22px; margin:12px 0; }
.md-journal-feature a { min-height: 40px; display:inline-flex; align-items:center; gap:7px; color: #624428; }
.md-privacy { line-height: 1.68; }
.md-privacy a[href^="mailto:"], .md-privacy a[href^="tel:"] { overflow-wrap:anywhere; text-decoration:underline; text-underline-offset:.25em; }
@media (min-width: 761px) {
  main.ts-wheels-main .md-wheel-hero {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: stretch;
    min-height: clamp(470px, 61vh, 670px);
    padding: 0;
    gap: 0;
    background: #10100e;
  }
  main.ts-wheels-main .md-wheel-hero::before,
  main.ts-wheels-main .md-wheel-hero::after { content: none; }
  main.ts-wheels-main .md-wheel-hero .ts-live-inner-hero__content {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    margin: 0;
    padding: clamp(28px, 5vw, 78px);
    width: 100%;
  }
  main.ts-wheels-main .md-wheel-hero .ts-live-inner-hero__media {
    position: relative;
    grid-column: 2;
    grid-row: 1;
    overflow: hidden;
    height: 100%;
    width: 100%;
  }
  main.ts-wheels-main .md-wheel-hero .ts-live-inner-hero__image { position:absolute; inset:0; object-fit:cover; }
}
.ts-wheels-main .ts-wheel-pricing .ts-section-heading {
  display: block;
  margin: 0 auto clamp(22px, 3.5vw, 52px);
  text-align: center;
}
.ts-wheels-main .ts-wheel-pricing .ts-section-heading h2 {
  max-width: none;
  margin: .28em 0;
  font-size: clamp(2rem, 4.2vw, 3.6rem);
}
.ts-wheels-main .ts-wheel-pricing .ts-section-heading p { max-width:60ch; margin-inline:auto; }
@media (min-width: 761px) {
  main.ts-wheels-main .md-wheel-hero .ts-live-inner-hero__content { padding-block: clamp(86px, 9vw, 130px) clamp(42px, 5vw, 76px); }
  main.ts-wheels-main .md-wheel-hero h1 { font-size:clamp(2.2rem,4.3vw,4.3rem); text-transform:none; }
}
main .md-finder-hero.ts-live-inner-hero { min-height: clamp(470px, 56svh, 655px); }
main .md-finder-hero.ts-live-inner-hero h1 { font-size: clamp(2.3rem, 5.3vw, 4.7rem); text-transform: none; }
@media (max-width: 760px) {
  main .md-finder-hero.ts-live-inner-hero { min-height: clamp(410px, 58svh, 530px); }
}
