/* v1.8.0 premium */
body.tls-ds {
  --polish-time: 240ms;
  --award-size: 64px;
}
body.tls-ds .tls-v13-hero .tls-compact-awards {
  flex-wrap: wrap;
  align-items: end;
  gap: var(--space-2);
  overflow: visible;
}
body.tls-ds .tls-compact-awards [data-tls-award-preview] {
  place-items: end center;
  opacity: 1;
}
body.tls-ds .tls-compact-awards picture { display: block; }
body.tls-ds .tls-family-hero .tls-compact-awards img {
  display: block;
  width: var(--award-size);
  height: var(--award-size);
  object-fit: contain;
  object-position: center bottom;
}
body.tls-ds .tls-compact-awards a > svg { display: none; }

body.tls-ds a.tls-v13-text-link.tls-v13-text-link-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: .85rem 1.6rem;
  min-height: 44px;
  border: 1px solid var(--colour-eyebrow-on-image);
  background: var(--tls-soot);
  color: var(--tls-bone);
  text-decoration: none;
}
body.tls-ds .tls-v13-hero a.tls-v13-text-link-phone { background: transparent; }
body.tls-ds .tls-v13-actions .tls-v13-book-cta { border: 1px solid transparent; }
body.tls-ds .tls-v13-text-link-phone svg { width: 18px; height: 18px; fill: currentColor; }

body.tls-ds .tls-v13-hero .tls-v13-hero-watch {
  position: relative;
  width: fit-content;
  max-width: 100%;
  font-size: var(--text-caption);
  font-weight: var(--weight-strong);
  text-transform: uppercase;
  letter-spacing: .09em;
  text-decoration: none;
}
body.tls-ds .tls-v13-hero .tls-v13-hero-watch svg {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgb(23 22 21 / .56);
  backdrop-filter: blur(6px);
}
.tls-v13-hero-watch::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: calc(50% - 26px);
  width: 52px;
  height: 52px;
  box-sizing: border-box;
  border: 1px solid currentColor;
  border-radius: 50%;
  pointer-events: none;
}
body.tls-ds .tls-v13-hero-media > .tls-v13-hero-watch { display: none; }
body.tls-ds .tls-v13-hero .tls-v13-hero-watch.tls-v13-hero-watch-mobile { display: inline-flex; }
@media (min-width: 900px) {
  body.tls-ds { --award-size: 84px; }
  body.tls-ds .tls-v13-hero .tls-v13-hero-watch.tls-v13-hero-watch-mobile { display: none; }
  body.tls-ds .tls-v13-hero-media > .tls-v13-hero-watch { display: inline-flex; }
  body.tls-ds-home .tls-family-hero .tls-v13-hero-media img {
    transform: scaleX(-1);
    object-position: 32% 42%;
  }
  body.tls-ds-home .tls-v13-hero.tls-hero::before {
    background: var(--scrim-header) top / 100% 140px no-repeat,
      linear-gradient(90deg, rgb(23 22 21 / .97), rgb(23 22 21 / .88) 45%, rgb(23 22 21 / .76) 60%, rgb(23 22 21 / .14) 84%);
  }
  body.tls-ds .tls-v13-hero-copy { max-width: min(38rem, 51vw); }
}

body.tls-ds :is(.tls-btn,.tls-primary,.tls-v13-button,.tls-v13-text-link-phone,.tls-compact-awards a) {
  position: relative;
  min-height: 44px;
  min-width: 44px;
}
body.tls-ds :is(.tls-btn,.tls-primary,.tls-v13-button,.tls-v13-text-link-phone,.tls-compact-awards a)::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: rgb(179 148 93 / .12);
  box-shadow: var(--shadow-raised);
  opacity: 0;
}
body.tls-ds .tls-compact-awards a::after {
  border-radius: 50%;
  background: transparent;
  box-shadow: 0 3px 14px rgb(179 148 93 / .42);
}
body.tls-ds :is(.tls-btn,.tls-primary,.tls-v13-button,.tls-v13-text-link-phone,.tls-compact-awards a):is(:hover,:focus-visible)::after { opacity: 1; }
body.tls-ds :is(a,button,summary):focus-visible {
  outline: 2px solid var(--colour-focus);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--tls-bone);
}

/* Wrapped prose retains its native underline. The second line grows by transform. */
body.tls-ds :is(p,li,dd) > a:not([class]), body.tls-ds .tls-prose a:not(.tls-btn) {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .18em;
}
body.tls-ds :is(.tls-link,.tls-v13-text-link:not(.tls-v13-text-link-phone),.tls-v13-hero-watch span,.tls-blog-card h2 a,.tls-nav a:not(.tls-btn),p > a:not([class]),.tls-prose a:not(.tls-btn)) {
  position: relative;
}
body.tls-ds :is(.tls-link,.tls-v13-text-link:not(.tls-v13-text-link-phone),.tls-v13-hero-watch span,.tls-blog-card h2 a,.tls-nav a:not(.tls-btn),p > a:not([class]),.tls-prose a:not(.tls-btn))::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: currentColor;
  pointer-events: none;
  transform: scaleX(0);
  transform-origin: left;
}
body.tls-ds :is(.tls-link,.tls-v13-text-link:not(.tls-v13-text-link-phone),.tls-blog-card h2 a,.tls-nav a:not(.tls-btn),p > a:not([class]),.tls-prose a:not(.tls-btn)):is(:hover,:focus-visible)::after,
body.tls-ds .tls-v13-hero .tls-v13-hero-watch:is(:hover,:focus-visible) span::after { transform: scaleX(1); }

body.tls-ds :is(.tls-band,.tls-home-family > section:not(.tls-hero)) {
  position: relative;
  isolation: isolate;
}
body.tls-ds :is(.tls-band,.tls-home-family > section:not(.tls-hero))::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .034;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='144' height='144'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.78' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23888' filter='url(%23n)' d='M0 0h144v144H0z'/%3E%3C/svg%3E");
}
body.tls-ds .tls-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  backdrop-filter: blur(8px);
  background: rgb(255 253 248 / .62);
  border-bottom: var(--border-hairline);
  opacity: 0;
}
body.tls-ds .tls-header.past-section { background: transparent; color: var(--tls-soot); }
body.tls-ds .tls-header.past-section::before { opacity: 1; background: var(--header-surface); }

body.tls-ds :is(.tls-v13-featured-row,.tls-v13-recognition) { overflow-x: clip; }
body.tls-ds :is(.tls-card-media,.tls-v13-visit-poster,.tls-v13-inclusion-cards picture,.tls-v13-location-media,.tls-editorial picture,.tls-v13-service-grid picture,.tls-v13-closing figure > picture,.tls-v13-consultation figure > picture) {
  display: block;
  overflow: hidden;
}
@keyframes tls-ring { from { opacity: .5; } to { opacity: 0; transform: scale(1.18); } }
@keyframes tls-drift { from { transform: translateX(var(--drift, 8px)); } to { transform: translateX(calc(-1 * var(--drift, 8px))); } }
@keyframes tls-depth { from { transform: translateY(max(-40px, -2%)) scale(1.06); } to { transform: translateY(min(40px, 2%)) scale(1.06); } }

@media (prefers-reduced-motion: no-preference) {
  body.tls-ds { --dur-reveal: 600ms; --reveal-distance: 16px; }
  .tls-v13-hero-watch::before { animation: tls-ring 1.8s ease-out 2; }
  body.tls-ds :is(a,button)::after, .tls-v13-hero-watch span::after, .tls-header::before {
    transition: transform var(--polish-time) ease-out, opacity var(--polish-time) ease-out;
  }
  body.tls-ds :is(.tls-btn,.tls-primary,.tls-v13-button,.tls-v13-text-link-phone,.tls-compact-awards a) {
    transition: transform var(--polish-time) ease-out;
  }
  body.tls-ds :is(.tls-btn,.tls-primary,.tls-v13-button,.tls-v13-text-link-phone,.tls-compact-awards a):focus-visible { transform: translateY(-2px); }
  @media (hover: hover) {
    body.tls-ds .tls-pathway:has(> img) { overflow: hidden; }
    body.tls-ds .tls-v13-visit-card { transition: transform var(--polish-time) ease-out; }
    body.tls-ds :is(.tls-btn,.tls-primary,.tls-v13-button,.tls-v13-text-link-phone,.tls-compact-awards a):hover { transform: translateY(-2px); }
    body.tls-ds :is(.tls-blog-card,.tls-pathway,.tls-v13-inclusion-cards article,.tls-v13-service-grid article,.tls-v13-visit-card):hover {
      transform: translateY(-2px);
      box-shadow: var(--shadow-raised);
    }
    body.tls-ds :is(.tls-blog-card,.tls-pathway,.tls-v13-inclusion-cards article,.tls-v13-service-grid article,.tls-v13-visit-card) img {
      transition: transform var(--polish-time) ease-out;
    }
    body.tls-ds :is(.tls-blog-card,.tls-pathway,.tls-v13-inclusion-cards article,.tls-v13-service-grid article,.tls-v13-visit-card):hover img { transform: scale(1.04); }
  }
  body.tls-ds :is(.tls-btn,.tls-primary,.tls-v13-button,.tls-v13-text-link-phone,.tls-compact-awards a):active { transform: translateY(1px); }
  /* A translating cover gives an inset-from-bottom wipe without animating clip-path. */
  body.tls-ds :is(.tls-editorial,.tls-v13-location-media) picture.js-reveal {
    position: relative;
    display: block;
    overflow: hidden;
  }
  body.tls-ds :is(.tls-editorial,.tls-v13-location-media) picture.js-reveal::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--colour-surface);
    pointer-events: none;
    transition: transform 600ms var(--ease-out);
  }
  body.tls-ds :is(.tls-editorial,.tls-v13-location-media) picture.seen::after { transform: translateY(101%); }

  @supports (animation-timeline: view()) {
    .tls-v13-featured-logos, .tls-v13-awards-editorial, .tls-v13-inclusion-cards picture {
      animation: tls-drift linear both;
      animation-timeline: view(block);
    }
    .tls-v13-inclusion-cards article:nth-child(even) { --drift: -8px; }
    :is(.tls-v13-location-media,.tls-v13-closing > figure,.tls-v13-consultation > figure) picture > img {
      animation: tls-depth linear both;
      animation-timeline: view(block);
    }
  }
}
@media (prefers-reduced-motion: reduce) {
  body.tls-ds :is(.tls-btn,.tls-primary,.tls-v13-button,.tls-v13-text-link-phone):active { transform: none; }
}

/* v1.8.1 (Opus): keep all five hero badges on one row on phones */
@media (max-width: 599px) {
  body.tls-ds .tls-v13-hero .tls-compact-awards { flex-wrap: nowrap; gap: clamp(6px, 2vw, 12px); }
  body.tls-ds .tls-family-hero .tls-compact-awards img { width: clamp(48px, 14vw, 60px); height: clamp(48px, 14vw, 60px); }
  body.tls-ds .tls-compact-awards [data-tls-award-preview] { min-width: 44px; min-height: 44px; }
}

/* v1.8.2 (Opus): scroll-linked salon ribbon */
body.tls-ds .tls-ribbon { overflow: hidden; padding: clamp(2rem, 5vw, 4.5rem) 0; display: grid; gap: clamp(.6rem, 1.4vw, 1.1rem); background: var(--colour-page); overflow-x: clip; view-timeline: --tls-ribbon block; }
body.tls-ds .tls-ribbon-row { display: flex; gap: clamp(.6rem, 1.4vw, 1.1rem); width: max-content; will-change: transform; }
body.tls-ds .tls-ribbon-row-1 { transform: translateX(-6%); }
body.tls-ds .tls-ribbon-row-2 { transform: translateX(-14%); }
body.tls-ds .tls-ribbon figure { margin: 0; flex: none; height: clamp(130px, 22vw, 300px); aspect-ratio: 4 / 3; overflow: hidden; border-radius: 2px; }
body.tls-ds .tls-ribbon img { width: 100%; height: 100%; object-fit: cover; display: block; }
@keyframes tls-ribbon-left { from { transform: translateX(0); } to { transform: translateX(-22%); } }
@keyframes tls-ribbon-right { from { transform: translateX(-22%); } to { transform: translateX(0); } }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    body.tls-ds .tls-ribbon-row-1 { animation: tls-ribbon-left linear both; animation-timeline: --tls-ribbon; animation-range: cover 0% cover 100%; }
    body.tls-ds .tls-ribbon-row-2 { animation: tls-ribbon-right linear both; animation-timeline: --tls-ribbon; animation-range: cover 0% cover 100%; }
  }
}
