/* Detail templates: a reading rhythm within the approved 6-4 visual system. */
.detail-breadcrumbs { padding-top:30px; margin-bottom:0; }
.detail-hero,.detail-profile { display:grid; grid-template-columns:minmax(0,1.35fr) minmax(0,.9fr); align-items:center; gap:clamp(32px,5vw,80px); padding-top:36px; padding-bottom:46px; }
.detail-hero :is(h1,.detail-hero-title),.detail-profile h1 { font-size:clamp(34px,4.4vw,64px); line-height:1.06; letter-spacing:-.035em; font-weight:500; margin:0 0 30px; text-wrap:balance; }
/* Programme photos support the introduction instead of setting a tall first screen. */
.detail-hero--program { grid-template-columns:minmax(0,1fr) minmax(0,min(38%,384px)); align-items:start; padding-top:24px; padding-bottom:24px; }
.detail-hero--program :is(h1,.detail-hero-title) { overflow-wrap:anywhere; }
.detail-hero--program+.section { margin-top:40px; }
.detail-hero--text,.detail-profile--text { grid-template-columns:minmax(0,1fr); }
.detail-hero--text .detail-hero-copy { max-width:1000px; }
.detail-hero-copy,.detail-profile-copy { min-width:0; }
.detail-lead { font-size:18px; line-height:1.55; max-width:65ch; }
.detail-lead p,.detail-intro p { margin:0 0 22px; }
.detail-hero .actions,.detail-profile .actions { margin-top:32px; display:flex; flex-wrap:wrap; gap:12px; }
.detail-hero-photo,.detail-profile-photo { margin:0; min-width:0; }
.detail-hero-photo img,.detail-profile-photo img { display:block; width:100%; height:auto; aspect-ratio:4/5; object-fit:cover; border-radius:48% 48% 28px 28px; }
/* Approved 08.09.2026: service images share one shape, independent of category. */
.detail-hero--consultation .detail-hero-photo img,
.detail-hero--session .detail-hero-photo img,
.detail-hero--massage .detail-hero-photo img,
.detail-hero--physio .detail-hero-photo img { border-radius:32px; aspect-ratio:4/3; max-height:460px; }
.detail-hero-offer { margin-top:28px; }
.detail-hero-offer__line { display:flex; flex-wrap:wrap; align-items:baseline; gap:8px 20px; }
.detail-hero-offer__line strong { font-size:28px; line-height:1.25; font-weight:500; font-variant-numeric:tabular-nums; white-space:nowrap; }
.detail-hero-offer__line>span { font-size:17px; line-height:1.5; }
.detail-hero-offer .detail-price-note { margin:10px 0 0; }
.detail-hero-offer+.actions { margin-top:20px; }
.detail-block { min-width:0; scroll-margin-top:112px; }
.detail-block h2 { font-size:clamp(27px,3vw,40px); font-weight:500; letter-spacing:-.025em; line-height:1.13; margin:0 0 24px; text-wrap:balance; }
.detail-block h3 { font-size:24px; font-weight:500; line-height:1.22; letter-spacing:-.02em; margin:0 0 16px; text-wrap:balance; }
.detail-block .prose { font-size:17px; line-height:1.65; max-width:72ch; }
.detail-block .prose p:first-child { margin-top:0; }
.detail-block .prose p:last-child { margin-bottom:0; }
.detail-section-heading { display:flex; justify-content:space-between; align-items:flex-start; flex-wrap:wrap; gap:24px; margin-bottom:36px; }
.detail-section-heading h2 { margin:0; flex:1 1 420px; }
.detail-section-heading .button { flex:none; }
.detail-program-process__items>.detail-block { border-top:1px solid var(--line); }
.detail-program-process__items>.detail-block:last-child { border-bottom:1px solid var(--line); }
.detail-process-item summary { display:flex; align-items:center; justify-content:space-between; gap:24px; padding:26px 0; list-style:none; cursor:pointer; }
.detail-process-item summary::-webkit-details-marker { display:none; }
.detail-process-item summary:focus-visible { outline:3px solid var(--blue,#5066B3); outline-offset:5px; border-radius:4px; }
.detail-process-item summary:hover { color:var(--blue,#5066B3); }
.detail-process-toggle { display:grid; place-items:center; width:44px; height:44px; flex:0 0 44px; border:1px solid var(--line); border-radius:50%; color:var(--ink); }
.detail-process-item[open] .detail-process-toggle__vertical { display:none; }
.detail-process-item>.prose { padding-bottom:30px; }
.detail-program-process .detail-block h3 { margin:0; font-size:28px; line-height:1.22; font-weight:500; letter-spacing:-.02em; text-wrap:balance; }
.detail-outcome { background:linear-gradient(115deg,#E2E4F0,#F4DED0 65%,#F6E7BE); border-radius:32px; padding:48px 56px; }
.detail-outcome .detail-block { display:block; }
.detail-outcome .detail-block .prose { max-width:75ch; }
.detail-practical { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:48px 72px; }
.detail-practical>.detail-block { padding-top:30px; border-top:1px solid rgba(59,50,64,.15); }
.detail-practical>.detail-block:only-child { grid-column:1/-1; display:grid; grid-template-columns:minmax(220px,.65fr) minmax(0,1.3fr); gap:48px; }
.detail-safety { background:#F2E9DC; border-radius:32px; padding:44px 48px; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:48px; }
.detail-safety>.detail-block:only-child { grid-column:1/-1; display:grid; grid-template-columns:minmax(240px,.7fr) minmax(0,1.3fr); gap:48px; }
.detail-safety__list-copy { min-width:0; }
.detail-safety__lead { margin:0 0 14px; }
.detail-safety__list { margin:0; padding-left:24px; }
.detail-safety__list li { margin:0; padding-left:4px; }
.detail-safety__list li+li { margin-top:10px; }
.detail-safety__list li::marker { color:var(--blue,#5066B3); }
.detail-safety__note { margin:20px 0 0; padding-top:18px; border-top:1px solid var(--line); }
.detail-safety .detail-block h2 { font-size:28px; }
.detail-safety__heading { display:flex; align-items:flex-start; gap:12px; }
.detail-safety__heading>span { min-width:0; }
.detail-safety__icon { display:block; flex:0 0 32px; width:32px; height:32px; color:var(--blue,#5066B3); }
.ds-site.a11y-high .detail-safety__icon { color:currentColor; }
.ds-site.a11y-high .detail-safety__list li::marker { color:currentColor; }
@media (forced-colors:active) { .detail-safety__icon,.detail-safety__list li::marker { color:CanvasText; } }
.detail-prices { display:grid; grid-template-columns:minmax(0,1fr) auto; column-gap:24px; }
.detail-prices>.detail-section-heading { grid-column:1; grid-row:1; }
.detail-prices__all { grid-column:2; grid-row:1; align-self:start; }
.detail-prices>.detail-price-intro,.detail-prices>.detail-price-table { grid-column:1/-1; }
.detail-price-intro { margin-bottom:30px; }
.detail-price-row { display:grid; grid-template-columns:minmax(0,1fr) max-content max-content; gap:32px; align-items:center; padding:28px 0; border-top:1px solid rgba(59,50,64,.15); }
.detail-price-row:last-child { border-bottom:1px solid rgba(59,50,64,.15); }
.detail-price-row h3 { font-size:21px; line-height:1.3; font-weight:500; margin:0; }
.detail-price-row .detail-service-link { text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:.2em; text-decoration-color:rgba(59,50,64,.4); }
.detail-price-row .detail-service-link:hover { color:var(--blue,#5066B3); text-decoration-color:currentColor; }
.detail-price-row .detail-service-link:focus-visible { outline:3px solid var(--blue,#5066B3); outline-offset:5px; border-radius:2px; }
.a11y-high .detail-price-row .detail-service-link { text-decoration-color:currentColor; }
.detail-price-row strong { font-size:24px; font-weight:500; white-space:nowrap; font-variant-numeric:tabular-nums; }
.detail-price-row--pending { grid-template-columns:minmax(0,1fr) minmax(180px,260px) max-content; }
.detail-price-row.detail-price-row--pending>strong { white-space:normal; font-size:17px; line-height:1.45; }
.detail-safety-tier+.detail-safety-tier { margin-top:24px; padding-top:20px; border-top:1px solid var(--line); }
.detail-safety .detail-safety-tier h3 { max-width:62ch; font-size:17px; line-height:1.65; letter-spacing:normal; margin-bottom:12px; text-wrap:pretty; }
.detail-approved-story .prose { max-width:72ch; }
.detail-review-anchor { display:block; height:0; scroll-margin-top:112px; }
@media(max-width:720px) { .detail-price-row.detail-price-row--pending { grid-template-columns:minmax(0,1fr); } .detail-price-row--pending>* { grid-column:1; } }
.detail-price-row p { margin:8px 0 0; }
.detail-price-note { max-width:60ch; font-size:14px; line-height:1.5; }
.detail-team-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:28px; }
.detail-person { display:flex; flex-direction:column; color:inherit; text-decoration:none; min-width:0; }
.detail-person img { display:block; width:100%; height:auto; aspect-ratio:4/5; object-fit:cover; border-radius:48% 48% 22px 22px; margin-bottom:22px; }
.detail-person h3 { font-size:22px; font-weight:500; line-height:1.2; margin:0 0 10px; }
.detail-person p { font-size:15px; line-height:1.5; margin:0 0 14px; }
.detail-person-link { display:flex; align-items:center; justify-content:space-between; gap:12px; font-size:14px; }
.detail-person .arrow,.detail-links .arrow { display:inline-flex; justify-content:center; align-items:center; width:36px; height:36px; flex-shrink:0; border-radius:50%; background:transparent; transition:background-color .2s; }
.detail-person:hover .arrow,.detail-person:focus-visible .arrow,.detail-person:active .arrow,.detail-links a:hover .arrow,.detail-links a:focus-visible .arrow,.detail-links a:active .arrow { background:#fff; color:var(--ink); border-color:rgba(59,50,64,.16); }
.detail-links { padding:0; margin:24px 0 0; list-style:none; }
.detail-links li { border-top:1px solid rgba(59,50,64,.15); }
.detail-links li:last-child { border-bottom:1px solid rgba(59,50,64,.15); }
.detail-links a { display:flex; justify-content:space-between; align-items:center; gap:32px; padding:24px 0; color:inherit; text-decoration:none; font-size:23px; font-weight:500; line-height:1.25; }
.detail-profile { grid-template-columns:minmax(240px,.85fr) minmax(0,1.2fr); grid-template-areas:'portrait heading' 'portrait actions' 'portrait activity' 'portrait biography'; align-items:start; gap:32px clamp(32px,5vw,80px); }
.detail-profile--text { grid-template-columns:minmax(0,1fr); grid-template-areas:'heading' 'actions' 'activity' 'portrait' 'biography'; }
.detail-profile-heading { grid-area:heading; }
.detail-profile .detail-profile-actions { grid-area:actions; margin:0; }
.detail-profile-actions .specialist-availability { flex-basis:100%; margin:0; font-size:16px; line-height:1.5; }
.detail-exact-copy__section { max-width:76ch; padding-block:32px; border-top:1px solid rgba(59,50,64,.15); }
.detail-exact-copy__section:first-child { padding-top:0; border-top:0; }
.detail-exact-copy__section:last-child { padding-bottom:0; }
.detail-exact-booking>.detail-block { max-width:76ch; }
.detail-exact-booking>.actions { margin-top:28px; }
.detail-profile-activity { grid-area:activity; }
.detail-profile-photo { grid-area:portrait; position:sticky; top:112px; max-width:480px; align-self:start; }
.detail-profile-photo img { object-position:center top; }
.detail-profile--text .detail-profile-photo { position:static; }
.detail-profile-role { font-size:23px; line-height:1.35; margin:0; }
.detail-profile .detail-intro { font-size:18px; line-height:1.6; }
.detail-profile .detail-intro p:last-child { margin-bottom:0; }
.detail-profile-voice { margin:24px 0 0; padding:24px; background:var(--lavender,#E4E7F2); border-radius:24px; font-size:16px; line-height:1.55; }
.detail-profile-voice p { margin:0; }
.detail-biography { grid-area:biography; max-width:72ch; }
.detail-biography>h2 { font-size:clamp(27px,3vw,40px); font-weight:500; letter-spacing:-.025em; line-height:1.13; margin:0 0 24px; }
.detail-biography>.detail-block+.detail-block { margin-top:32px; }
.detail-profile-credentials { min-width:0; overflow-wrap:anywhere; font-size:17px; line-height:1.65; }
.detail-profile-credentials__list { margin:0; padding-left:1.25em; }
.detail-profile-credentials__list>li+li { margin-top:12px; }
.detail-profile-credentials>p { margin:0; }
@media(max-width:1024px) {
  .detail-hero,.detail-profile { gap:32px; }
  .detail-hero :is(h1,.detail-hero-title),.detail-profile h1 { font-size:clamp(34px,4.5vw,50px); }
  .detail-lead { font-size:17px; }
  .detail-price-row { grid-template-columns:minmax(0,1fr) max-content; gap:18px; }
  .detail-price-row>.button { grid-column:1/-1; justify-self:start; }
  .detail-safety,.detail-outcome { padding:36px; }
  .detail-safety,.detail-practical { gap:36px; }
  .detail-team-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:900px) {
  .detail-safety { grid-template-columns:minmax(0,1fr); }
}
@media(max-width:720px) {
  .detail-hero,.detail-profile { grid-template-columns:minmax(0,1fr); padding-top:24px; padding-bottom:20px; gap:28px; }
  .detail-hero :is(h1,.detail-hero-title),.detail-profile h1 { font-size:36px; line-height:1.08; margin-bottom:22px; }
  .detail-hero--image { isolation:isolate; row-gap:0; padding-bottom:0; }
  .detail-hero--image .detail-hero-copy { display:contents; }
  .detail-hero--image :is(h1,.detail-hero-title) { position:relative; z-index:1; grid-column:1; grid-row:1; align-self:end; min-height:300px; padding:160px 28px 0; margin:0; color:#FCF8F1; overflow-wrap:anywhere; }
  .detail-hero--image .actions { position:relative; z-index:1; grid-column:1; grid-row:2; margin:0; padding:24px 28px 28px; }
  .detail-hero--image .actions .button--nav { color:#FCF8F1!important; border-color:rgba(252,248,241,.7); }
  .detail-hero--image .actions .button--nav:hover { color:var(--ink)!important; background:#FCF8F1; }
  .detail-hero--image .detail-hero-description { grid-column:1; grid-row:3; padding-top:24px; }
  .detail-hero-description .prose p:last-child { margin-bottom:0; }
  .detail-hero-description>.detail-block+.detail-block,.detail-hero-description>.detail-intro+.detail-block { margin-top:20px; }
  .detail-hero--image .detail-hero-photo { position:relative; z-index:0; grid-column:1; grid-row:1/3; width:100%; max-width:none; min-height:100%; overflow:hidden; border-radius:32px; }
  .detail-hero--image .detail-hero-photo::after { content:''; position:absolute; inset:0; background:linear-gradient(180deg,rgba(35,27,39,.08),rgba(35,27,39,.38) 28%,rgba(35,27,39,.82) 100%); pointer-events:none; }
  /* The figure clips both the photo and its contrast layer. CMS mobile media
     may wrap the img in picture; that must not restore the desktop arch. */
  .ds-site .detail-hero--image .detail-hero-photo img { position:absolute; inset:0; width:100%; height:100%; max-height:none; aspect-ratio:auto; object-fit:cover; border-radius:0; }
  /* Two approved legacy rasters have white corners baked into the source.
     Match their source-space contours and the centered object-fit:cover crop.
     Bind to file versions so future CMS replacements keep the usual shape. */
  :is(.detail-hero-photo,.program-category__media):has(img[data-media-version="449c40e0ac56472cb06dd38b496c8438be93e99ed799ddeca7bbae49ee56c292"]) { --photo-contour:url('./photo-contours/pks.svg'); }
  :is(.detail-hero-photo,.program-category__media):has(img[data-media-version="a5e5dfa85a3461717373b9706cc0eb851f6b80171135adb8b2e7b70e08d8963b"]) { --photo-contour:url('./photo-contours/hip.svg'); }
  .detail-hero--image .detail-hero-photo,.program-category__media { -webkit-mask:var(--photo-contour,none) center / cover no-repeat; mask:var(--photo-contour,none) center / cover no-repeat; }
  .detail-hero+.section { margin-top:24px; }
  .detail-profile { grid-template-areas:'heading' 'activity' 'actions' 'portrait' 'biography'; gap:24px; }
  .detail-profile-photo { position:static; width:75%; max-width:320px; margin:0 auto; }
  .detail-profile-photo:has(.detail-profile-voice) { width:100%; max-width:400px; }
  .detail-profile-photo:has(.detail-profile-voice)>img { width:80%; max-width:320px; margin-inline:auto; }
  .detail-profile-voice { font-size:16px; }
  .detail-profile-role { font-size:20px; }
  .detail-hero .actions,.detail-profile .actions { margin-top:24px; }
  .detail-profile .detail-profile-actions,.detail-hero--image .actions { margin-top:0; }
  .detail-hero-offer+.actions { margin-top:20px; }
  .detail-hero-offer__line strong { font-size:26px; }
  .detail-hero-offer__line>span { font-size:16px; }
  .detail-hero .actions .button,.detail-profile .actions .button { min-height:46px; }
  .detail-lead,.detail-profile .detail-intro { font-size:16px; }
  .detail-block .prose { font-size:16px; line-height:1.65; }
  .detail-safety .detail-safety-tier h3 { font-size:16px; }
  .detail-block h2 { font-size:28px; margin-bottom:20px; }
  .detail-block h3 { font-size:22px; }
  .detail-section-heading { margin-bottom:28px; gap:20px; }
  .detail-section-heading h2 { flex-basis:100%; }
  .detail-process-item summary { gap:16px; padding:20px 0; }
  .detail-process-item>.prose { padding-bottom:24px; }
  .detail-program-process .detail-block h3 { font-size:22px; }
  .detail-outcome,.detail-safety { padding:28px; border-radius:24px; }
  .detail-safety,.detail-safety>.detail-block:only-child,.detail-practical,.detail-practical>.detail-block:only-child { display:grid; grid-template-columns:minmax(0,1fr); gap:24px; }
  .detail-safety>.detail-block:only-child,.detail-practical>.detail-block:only-child { gap:0; }
  .detail-biography>h2 { font-size:28px; margin-bottom:20px; }
  .detail-profile-credentials { font-size:16px; }
  .detail-practical>.detail-block { padding-top:24px; }
  .detail-prices { display:block; }
  .detail-prices__all { margin-top:24px; }
  .detail-price-row { gap:14px; align-items:start; padding:24px 0; }
  .detail-price-row h3 { font-size:18px; }
  .detail-price-row strong { font-size:20px; }
  .detail-price-row p { font-size:14px; }
  .detail-team-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
  .detail-person h3 { font-size:18px; }
  .detail-person p { font-size:14px; }
  .detail-person img { margin-bottom:16px; }
  .detail-person-link { font-size:13px; }
  .detail-links a { font-size:20px; gap:20px; padding:21px 0; }
}
@media(max-width:380px) {
  .detail-hero :is(h1,.detail-hero-title),.detail-profile h1 { font-size:32px; }
  .detail-team-grid { grid-template-columns:minmax(0,1fr); }
  .detail-person img { max-width:240px; }
  .detail-price-row { grid-template-columns:minmax(0,1fr); }
}
@media(prefers-reduced-motion:reduce) {
  .detail-person .arrow,.detail-links .arrow { transition:none; }
}
.ds-site.a11y-high .detail-outcome,.ds-site.a11y-high .detail-safety { background:#eee; color:#000; }
.ds-site.a11y-large .detail-program-process .detail-block h3 { font-size:32px; }
.ds-site.a11y-large .detail-program-process .prose { font-size:22px; }
.ds-site.a11y-high .detail-program-process__items>.detail-block { border-color:currentColor; }
.ds-site.a11y-large .detail-profile-voice { font-size:20px; }
.ds-site.a11y-large .detail-profile-credentials { font-size:22px; }
.ds-site.a11y-high .detail-profile-voice { background:#eee; color:#000; }
@media(max-width:720px) {
  .ds-site.a11y-high .detail-hero--image .detail-hero-photo { background:#fff; border:1px solid currentColor; }
  .ds-site.a11y-high .detail-hero--image .detail-hero-photo img,.ds-site.a11y-high .detail-hero--image .detail-hero-photo::after { display:none; }
  .ds-site.a11y-high .detail-hero--image :is(h1,.detail-hero-title) { color:#000; }
  .ds-site.a11y-high .detail-hero--image .actions .button--nav { background:#fff; color:#000!important; border-color:#000; }
  .ds-site.a11y-no-images .detail-hero--image .detail-hero-photo { background:#3B3240; }
}
