/* ==========================================================================
   Shenawy public site. Phone first, composed at 600, 900 and 1200.
   Tokens only. Logical properties only. Mirrors with `dir` alone.
   ========================================================================== */

@view-transition { navigation: auto; }

.sh-page {
  --sh-cta-h: 72px;
  --sh-bar-h: 56px;
  position: relative;
  min-block-size: 100svh;
  background: var(--bg);
  color: var(--ink);
  overflow-x: clip;
}
.sh-page:has(.sh-stickycta) { --sh-dock: var(--sh-cta-h); }

/* Faceted illustration tones. Mixes sit between the four facet tokens. */
.sh-poly { inline-size: 100%; block-size: 100%; overflow: visible; }
.sh-poly path { stroke-width: .7; stroke-linejoin: round; }
.sh-poly .t1 { fill: var(--facet-1); stroke: var(--facet-1); }
/* t2 to t4 step away from facet-2, which sits almost on the light hero ground. */
.sh-poly .t2 { fill: color-mix(in srgb, var(--facet-1) 70%, var(--facet-2)); stroke: color-mix(in srgb, var(--facet-1) 70%, var(--facet-2)); }
.sh-poly .t3 { fill: color-mix(in srgb, var(--facet-2) 45%, var(--facet-3)); stroke: color-mix(in srgb, var(--facet-2) 45%, var(--facet-3)); }
.sh-poly .t4 { fill: color-mix(in srgb, var(--facet-2) 20%, var(--facet-3)); stroke: color-mix(in srgb, var(--facet-2) 20%, var(--facet-3)); }
.sh-poly .t5 { fill: var(--facet-3); stroke: var(--facet-3); }
.sh-poly .t6 { fill: color-mix(in srgb, var(--facet-3), var(--facet-4)); stroke: color-mix(in srgb, var(--facet-3), var(--facet-4)); }
.sh-poly .t7 { fill: var(--facet-4); stroke: var(--facet-4); }
.sh-poly .t8 { fill: color-mix(in srgb, var(--facet-2), var(--facet-3)); stroke: color-mix(in srgb, var(--facet-2), var(--facet-3)); }

.sh-poly [class^="p"] { fill: var(--sh-p); stroke: var(--sh-p); stroke-width: .9; stroke-linejoin: round; fill-rule: evenodd; }
/* trace:start. Tones of the traced posters: shared steps between tokens, measured from the engine's render in each theme. */
.sh-poly .p0 { --sh-p: var(--on-band); }
.sh-poly .p1 { --sh-p: color-mix(in srgb, var(--on-band) 70%, var(--facet-1)); }
[data-theme="dark"] .sh-poly .p1 { --sh-p: color-mix(in srgb, var(--on-band) 75%, var(--facet-1)); }
.sh-poly .p2 { --sh-p: color-mix(in srgb, var(--on-band) 45%, var(--facet-1)); }
[data-theme="dark"] .sh-poly .p2 { --sh-p: color-mix(in srgb, var(--on-band) 50%, var(--facet-1)); }
.sh-poly .p3 { --sh-p: color-mix(in srgb, var(--on-band) 20%, var(--facet-1)); }
.sh-poly .p4 { --sh-p: color-mix(in srgb, var(--facet-1) 95%, var(--facet-2)); }
.sh-poly .p5 { --sh-p: color-mix(in srgb, var(--facet-1) 75%, var(--facet-2)); }
[data-theme="dark"] .sh-poly .p5 { --sh-p: color-mix(in srgb, var(--facet-1) 80%, var(--facet-2)); }
.sh-poly .p6 { --sh-p: color-mix(in srgb, var(--facet-1) 50%, var(--facet-2)); }
[data-theme="dark"] .sh-poly .p6 { --sh-p: color-mix(in srgb, var(--facet-1) 55%, var(--facet-2)); }
.sh-poly .p7 { --sh-p: color-mix(in srgb, var(--facet-1) 25%, var(--facet-2)); }
[data-theme="dark"] .sh-poly .p7 { --sh-p: color-mix(in srgb, var(--facet-1) 30%, var(--facet-2)); }
.sh-poly .p8 { --sh-p: color-mix(in srgb, var(--facet-2) 95%, var(--facet-3)); }
[data-theme="dark"] .sh-poly .p8 { --sh-p: var(--facet-2); }
.sh-poly .p9 { --sh-p: color-mix(in srgb, var(--facet-2) 70%, var(--facet-3)); }
[data-theme="dark"] .sh-poly .p9 { --sh-p: color-mix(in srgb, var(--facet-2) 75%, var(--facet-3)); }
.sh-poly .p10 { --sh-p: color-mix(in srgb, var(--facet-2) 40%, var(--facet-3)); }
[data-theme="dark"] .sh-poly .p10 { --sh-p: color-mix(in srgb, var(--facet-2) 45%, var(--facet-3)); }
.sh-poly .p11 { --sh-p: color-mix(in srgb, var(--facet-2) 10%, var(--facet-3)); }
.sh-poly .p12 { --sh-p: color-mix(in srgb, var(--facet-3) 55%, var(--facet-4)); }
.sh-poly .p13 { --sh-p: color-mix(in srgb, var(--facet-3) 15%, var(--facet-4)); }
[data-theme="dark"] .sh-poly .p13 { --sh-p: color-mix(in srgb, var(--facet-3) 10%, var(--facet-4)); }
/* trace:end */

/* A link that reads as a link: accent, weight, a forward arrow. */
.sh-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  min-block-size: 44px;
  color: var(--accent);
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  transition: gap var(--dur-2) var(--ease-out), color var(--dur-2) var(--ease-out);
}
.sh-link { min-inline-size: 44px; }
.sh-link .sh-icon { inline-size: 20px; block-size: 20px; }
.sh-link:active { transform: scale(.97); }
@media (hover: hover) {
  .sh-link:hover { gap: var(--space-2); color: var(--accent-strong); }
}

.sh-section { padding-block: var(--space-12); }
.sh-section--tight { padding-block-start: var(--space-4); }
@media (min-width: 900px) { .sh-section { padding-block: var(--space-16); } }
@media (min-width: 1200px) { .sh-section { padding-block: var(--space-24); } }

/* --------------------------------------------------------------------------
   Logo
   -------------------------------------------------------------------------- */

.sh-mark { display: block; block-size: 100%; inline-size: auto; fill: currentColor; }
.sh-logo { display: inline-block; }
.sh-logo img { display: block; inline-size: 100%; block-size: auto; }
.sh-logo__on-dark { display: none !important; }
[data-theme="dark"] .sh-logo__on-light { display: none !important; }
[data-theme="dark"] .sh-logo__on-dark { display: block !important; }

/* The first paint of a session: the mark's planes fold into place. */
.sh-mark.is-folding path { transform-box: fill-box; animation: sh-fold var(--dur-4) var(--ease-out) backwards; }
.sh-mark.is-folding path:nth-child(1) { transform-origin: 100% 100%; --sh-fold-r: -24deg; }
.sh-mark.is-folding path:nth-child(2) { transform-origin: 0 100%; --sh-fold-r: 24deg; animation-delay: 60ms; }
.sh-mark.is-folding path:nth-child(3) { transform-origin: 100% 0; --sh-fold-r: -18deg; animation-delay: 120ms; }
.sh-mark.is-folding path:nth-child(4) { transform-origin: 50% 0; --sh-fold-r: 40deg; animation-delay: 180ms; }
.sh-mark.is-folding path:nth-child(5) { transform-origin: 100% 50%; --sh-fold-r: -40deg; animation-delay: 240ms; }
@keyframes sh-fold {
  from { opacity: 0; transform: rotate(var(--sh-fold-r)) scale(.72); }
}

/* --------------------------------------------------------------------------
   Icon button
   -------------------------------------------------------------------------- */

.sh-iconbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  inline-size: 44px;
  block-size: 44px;
  flex: none;
  border-radius: var(--radius-md);
  color: inherit;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  transition: transform var(--dur-1) var(--ease-out), background-color var(--dur-2) var(--ease-out);
}
.sh-iconbtn:active { transform: scale(.94); background: var(--accent-soft); }
@media (hover: hover) {
  .sh-iconbtn:hover { background: color-mix(in srgb, currentColor 10%, transparent); }
}

.sh-theme__sun { display: none; }
[data-theme="dark"] .sh-theme__sun { display: block; }
[data-theme="dark"] .sh-theme__moon { display: none; }

/* --------------------------------------------------------------------------
   Sticky action.
   -------------------------------------------------------------------------- */

.sh-stickycta {
  position: fixed;
  inset-inline: 0;
  inset-block-end: 0;
  z-index: calc(var(--sh-z-bar) - 1);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-block-size: var(--sh-cta-h);
  padding-inline: var(--space-4);
  padding-block: var(--space-2);
  padding-block-end: calc(var(--space-2) + env(safe-area-inset-bottom, 0px));
  background: var(--surface);
  box-shadow: 0 -1px 0 var(--line), 0 -12px 32px color-mix(in srgb, var(--facet-4) 10%, transparent);
  view-transition-name: sh-stickycta;
}
.sh-stickycta__meta { flex: 1 1 40%; min-inline-size: 0; display: grid; }
.sh-stickycta__eyebrow { font-size: 12px; line-height: 18px; font-weight: 500; color: var(--ink-muted); }
.sh-stickycta__title { font-size: 15px; line-height: 20px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sh-stickycta .sh-btn { flex: 1 1 60%; min-inline-size: 0; padding-inline: var(--space-4); }
.sh-stickycta__btn--only { flex: 1 1 100%; }
@media (min-width: 900px) {
  .sh-stickycta { display: none; }
  .sh-page:has(.sh-stickycta) { --sh-dock: 0px; }
}

/* --------------------------------------------------------------------------
   Section head. Never centered: reads from the inline start, action at the end.
   -------------------------------------------------------------------------- */

.sh-head {
  display: grid;
  gap: var(--space-2);
  margin-block-end: var(--space-6);
  max-inline-size: 64ch;
}
.sh-head--row {
  grid-template-columns: 1fr auto;
  align-items: end;
  max-inline-size: none;
  column-gap: var(--space-4);
}
.sh-head--row > .sh-head__action { grid-column: 2; grid-row: 1 / span 3; align-self: end; }
.sh-head__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--accent);
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
}
.sh-head__eyebrow::before {
  content: "";
  inline-size: 18px;
  block-size: 9px;
  background: currentColor;
  clip-path: polygon(0 0, 100% 100%, 0 100%);
}
.sh-head__eyebrow:dir(rtl)::before { clip-path: polygon(100% 0, 100% 100%, 0 100%); }
.sh-head__title { font-size: 32px; line-height: 44px; font-weight: 700; text-wrap: balance; }
.sh-head__sub { font-size: 16px; line-height: 26px; color: var(--ink-muted); max-inline-size: 52ch; text-wrap: pretty; }
:lang(en) .sh-head__title { letter-spacing: -.02em; line-height: 38px; }
@media (min-width: 900px) {
  .sh-head { margin-block-end: var(--space-8); }
  .sh-head__title { font-size: 40px; line-height: 54px; }
  :lang(en) .sh-head__title { line-height: 48px; }
  .sh-head__sub { font-size: 18px; line-height: 30px; }
}

/* --------------------------------------------------------------------------
   Symptom chips. The patient starts from what they feel.
   -------------------------------------------------------------------------- */

.sh-symptoms { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.sh-symptom {
  background: var(--accent-soft);
  border-color: transparent;
  color: var(--on-accent-soft);
  font-size: 15px;
  padding-inline: 14px;
}
.sh-symptom .sh-icon { inline-size: 18px; block-size: 18px; margin-inline-start: -2px; }
.sh-symptom--urgent { background: var(--accent); color: var(--on-accent); font-weight: 600; }
.sh-symptom--unsure { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.sh-symptom--rail { flex: none; }
@media (hover: hover) {
  .sh-symptom:hover { border-color: var(--accent); }
  .sh-symptom--urgent:hover { background: var(--accent-strong); border-color: var(--accent-strong); }
}
.sh-symptoms--rail {
  flex-wrap: nowrap;
  overflow-x: auto;
  margin-inline: calc(var(--sh-gutter) * -1);
  padding-inline: var(--sh-gutter);
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}
.sh-symptoms--rail::-webkit-scrollbar { display: none; }
.sh-symptoms--rail > * { flex: none; scroll-snap-align: start; }
@media (min-width: 1200px) { .sh-symptom { font-size: 16px; min-block-size: 48px; padding-inline: var(--space-5); } }

/* A tooth poster fills its box's height and stays centred, whatever the box's width. Its sides are
   clear, so a narrow box only trims empty space. The box needs a position. */
.sh-tooth-img {
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 50%;
  block-size: 100%;
  inline-size: auto;
  max-inline-size: none;
  transform: translateX(-50%);
  pointer-events: none;
}
.sh-tooth-img:dir(rtl) { transform: translateX(50%); }
.sh-svc__art, .sh-index__art, .sh-empty__art, .sh-post__art, .sh-article__art, .sh-lphero__art { position: relative; overflow: hidden; }
.sh-offer__art { overflow: hidden; }

/* Poster and canvas share one reserved box. The poster stays under the canvas. */
.sh-tooth { position: relative; }
.sh-tooth__poster, .sh-tooth__canvas { position: absolute; inset: 0; }
.sh-tooth__poster { transition: opacity var(--dur-3) var(--ease-out); }
.sh-tooth__canvas canvas { display: block; inline-size: 100%; block-size: 100%; }
.sh-tooth.is-live .sh-tooth__poster { opacity: 0; }

/* --------------------------------------------------------------------------
   Home: one tooth, one motion (design-system/docs/HOME-STORY.md).
   Static is the default layout and the permanent one for reduced motion and
   low-end devices. html[data-story="stage"] pins the tooth while it opens.
   The first screen holds only the headline, the question, the chips and the
   tooth: the stage reaches past the fold, so nothing below can peek in.
   All geometry uses svh, so a collapsing address bar changes nothing.
   -------------------------------------------------------------------------- */

.sh-one {
  --sh-intro-h: 372px;
  --sh-one-run: 50svh;
  /* At least what the intro leaves on screen, and always room for the statement above the dock. */
  --sh-stage-h: clamp(232px, max(calc(100svh - 300px), calc(100svh - var(--sh-intro-h))), 1000px);
  /* The window the tooth sits in, the same for poster and canvas: site.js measures it and sets these. */
  --sh-win-top: calc(var(--sh-cap-space) + 4px);
  --sh-win-bottom: 8px;
  --sh-rest-top: 4px;
  --sh-rest-bottom: max(8px, calc(var(--sh-stage-h) - 100svh + 92px + var(--sh-intro-h) + 4px));
  position: relative;
}
@media (max-height: 720px) { .sh-one { --sh-intro-h: 320px; } }
.sh-one__intro { padding: calc(var(--sh-cap-space) + var(--space-4)) var(--sh-gutter) var(--space-3); }
.sh-one__title { font-size: 44px; line-height: 56px; font-weight: 700; text-wrap: balance; max-inline-size: 15ch; }
.sh-one__question { margin-block-start: var(--space-4); font-size: 22px; line-height: 32px; font-weight: 700; }
:lang(en) .sh-one__title { letter-spacing: -.02em; line-height: 48px; }

/* Two rows that scroll as one, with the next chip peeking in. */
.sh-one__rail {
  margin-inline: calc(var(--sh-gutter) * -1);
  margin-block-start: var(--space-2);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.sh-one__rail::-webkit-scrollbar { display: none; }
.sh-one__rows { display: grid; gap: var(--space-2); inline-size: max-content; padding: 2px var(--sh-gutter); }
.sh-one__rows .sh-symptoms { flex-wrap: nowrap; }
.sh-one .sh-symptom { background: var(--surface); border-color: var(--line); color: var(--ink); }
.sh-one .sh-symptom .sh-icon { color: var(--accent); }
.sh-one .sh-symptom--unsure { background: transparent; border-color: var(--line-strong); }
@media (hover: hover) { .sh-one .sh-symptom:hover { border-color: var(--accent); } }

.sh-one__stage { position: relative; block-size: var(--sh-stage-h); }
/* The canvas's soft light fades before its edges, so the stage never shows a boundary. */
.sh-one__canvas {
  -webkit-mask-image: linear-gradient(to bottom, transparent, currentColor 6%, currentColor 94%, transparent), linear-gradient(to right, transparent, currentColor 6%, currentColor 94%, transparent);
  mask-image: linear-gradient(to bottom, transparent, currentColor 6%, currentColor 94%, transparent), linear-gradient(to right, transparent, currentColor 6%, currentColor 94%, transparent);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}
.sh-one__poster { position: absolute; inset: 0; }
.sh-one__poster .sh-tooth-img { inset-block-start: var(--sh-rest-top); block-size: calc(100% - var(--sh-rest-top) - var(--sh-rest-bottom)); transition: opacity var(--dur-3) var(--ease-out); }
/* Poster mode: the opened tooth, added by site.js, takes over from the whole one. */
.sh-one__poster .sh-tooth-img[data-end] { inset-block-start: var(--sh-win-top); block-size: calc(100% - var(--sh-win-top) - var(--sh-win-bottom)); opacity: 0; }
.sh-one__stage.is-end .sh-tooth-img[data-end] { opacity: 1; }
.sh-one__stage.is-end .sh-tooth-img[data-rest] { opacity: 0; }

/* The general statement. In the static page the opened tooth follows it, on the page ground, large. */
.sh-one__say { display: grid; gap: var(--space-6); padding: var(--space-8) var(--sh-gutter) var(--space-12); }
.sh-one__say .sh-ask { margin-block-end: 0; }
.sh-one__text { display: grid; align-content: start; justify-items: start; gap: var(--space-3); }
.sh-one__line { color: var(--ink-muted); font-size: 16px; line-height: 26px; text-wrap: pretty; max-inline-size: 52ch; }
.sh-one__frame { position: relative; block-size: 320px; }

/* Short phones keep the question and the chips on the first screen. */
@media (max-width: 899px) and (max-height: 720px) {
  .sh-one__intro { padding-block-start: calc(var(--sh-cap-space) + var(--space-2)); padding-block-end: var(--space-2); }
  .sh-one__title { font-size: 34px; line-height: 44px; max-inline-size: 16ch; }
  :lang(en) .sh-one__title { line-height: 38px; }
  .sh-one__question { margin-block-start: var(--space-2); font-size: 20px; line-height: 28px; }
  .sh-one__rail { margin-block-start: var(--space-1); }
  html[data-story="stage"] .sh-one__say .sh-ask__title { font-size: 20px; line-height: 28px; }
  html[data-story="stage"] :lang(en) .sh-one__say .sh-ask__title { line-height: 24px; }
  html[data-story="stage"] .sh-one__line { font-size: 13px; line-height: 20px; }
}

/* --- Stage mode on a phone: tooth and statement pin as one screen. ---------- */

/* The run after the pin is real content, since a sticky box travels only inside its parent's content. */
html[data-story="stage"] .sh-one::after { content: ""; display: block; block-size: var(--sh-one-run); }
html[data-story="stage"] .sh-one__pin { position: sticky; inset-block-start: 0; display: flex; flex-direction: column; block-size: 100svh; }
html[data-story="stage"] .sh-one__stage { flex: none; }
html[data-story="stage"] .sh-one__say { display: block; padding: var(--space-2) var(--sh-gutter) 0; }
html[data-story="stage"] .sh-one__frame { display: none; }
/* On a phone the dock's raised book action sits right under the statement, so it needs no second one. */
@media (max-width: 899px) {
  html[data-story="stage"] .sh-one__book { display: none; }
  html[data-story="stage"] .sh-one__text { gap: var(--space-2); }
  html[data-story="stage"] .sh-one__say .sh-ask__title { font-size: 24px; line-height: 32px; }
  html[data-story="stage"] .sh-one__line { font-size: 15px; line-height: 24px; }
  html[data-story="stage"] :lang(en) .sh-one__say .sh-ask__title { line-height: 28px; }
  html[data-story="stage"] :lang(en) .sh-one__line { line-height: 22px; }
}

/* Desktop: the first screen is two columns, the text centred against the tooth. */
@media (min-width: 900px) {
  .sh-one {
    --sh-stage-h: 100svh;
    --sh-win-top: calc(var(--sh-cap-space) + 16px);
    --sh-win-bottom: 32px;
    --sh-rest-top: calc(var(--sh-cap-space) + 8px);
    --sh-rest-bottom: 24px;
    display: grid;
    grid-template-columns:
      [full-start] minmax(var(--sh-gutter), 1fr)
      [c1] minmax(0, 624px)
      [c2] minmax(0, 624px)
      [c3] minmax(var(--sh-gutter), 1fr)
      [full-end];
    grid-template-rows: minmax(100svh, auto) auto;
  }
  .sh-one__pin { display: contents; }
  .sh-one__intro { grid-column: c1 / c2; grid-row: 1; align-self: center; padding: var(--sh-cap-space) 0 0; }
  .sh-one__title { font-size: 52px; line-height: 66px; max-inline-size: 13ch; }
  :lang(en) .sh-one__title { font-size: 56px; line-height: 60px; }
  .sh-one__question { margin-block-start: var(--space-8); font-size: 26px; line-height: 36px; }
  .sh-one__rail { margin-inline: 0; margin-block-start: var(--space-3); overflow: visible; }
  .sh-one__rows { display: flex; flex-wrap: wrap; inline-size: auto; padding: 0; }
  .sh-one__rows .sh-symptoms { display: contents; }
  .sh-one__stage { grid-column: c2 / c3; grid-row: 1; }
  .sh-one__say { grid-column: c1 / c3; grid-row: 2; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--space-12); align-items: center; padding: var(--space-12) 0 var(--space-24); }
  .sh-one__text { gap: var(--space-5); }
  .sh-one__line { font-size: 20px; line-height: 34px; }
  .sh-one__frame { block-size: 560px; }

  /* The tooth stays in its column while the statement passes beside it, and both let go together. */
  html[data-story="stage"] .sh-one { grid-template-rows: minmax(100svh, auto) 90svh; }
  html[data-story="stage"] .sh-one::after { content: none; }
  html[data-story="stage"] .sh-one__pin { display: contents; }
  html[data-story="stage"] .sh-one__stage { position: sticky; inset-block-start: 0; grid-column: c2 / c3; grid-row: 1 / span 2; align-self: start; }
  html[data-story="stage"] .sh-one__say { grid-column: c1 / c2; grid-row: 2; align-self: center; padding: 0; padding-inline-end: var(--space-8); }
}
@media (min-width: 1200px) {
  .sh-one__title { font-size: 64px; line-height: 76px; }
  :lang(en) .sh-one__title { font-size: 72px; line-height: 76px; }
  .sh-one__question { font-size: 32px; line-height: 44px; }
}
@media (min-width: 1400px) {
  .sh-one__title { font-size: 76px; line-height: 92px; }
  :lang(en) .sh-one__title { font-size: 80px; line-height: 84px; }
}

/* --- The home page's heading: the question, then the answer in a quieter voice. --- */

.sh-home { padding-block-end: calc(var(--space-12) + var(--space-2)); }
.sh-ask { position: relative; margin-block-end: var(--space-5); }
.sh-ask__title { font-size: 30px; line-height: 40px; font-weight: 700; text-wrap: balance; }
.sh-ask__q, .sh-ask__a { display: block; }
.sh-ask__a { color: var(--ink-muted); font-weight: 500; }
.sh-ask--md .sh-ask__title { font-size: 26px; line-height: 36px; }
:lang(en) .sh-ask__title { letter-spacing: -.02em; line-height: 36px; }
:lang(en) .sh-ask--md .sh-ask__title { line-height: 32px; }
/* The dock already holds these three pages on a phone. */
.sh-ask__action { display: none; }
@media (min-width: 600px) {
  .sh-ask__action { display: block; position: absolute; inset-block-start: 0; inset-inline-end: 0; }
}
@media (min-width: 900px) {
  .sh-home { padding-block-end: var(--space-24); }
  .sh-ask { margin-block-end: var(--space-8); }
  .sh-ask__title { font-size: 44px; line-height: 60px; }
  .sh-ask--md .sh-ask__title { font-size: 36px; line-height: 48px; }
  :lang(en) .sh-ask__title { line-height: 52px; }
  :lang(en) .sh-ask--md .sh-ask__title { line-height: 44px; }
  .sh-ask__action { padding-block-start: var(--space-2); }
}
@media (min-width: 1200px) {
  .sh-home { padding-block-end: calc(var(--space-24) + var(--space-8)); }
  .sh-ask { margin-block-end: var(--space-12); }
  .sh-ask__title { font-size: 56px; line-height: 76px; }
  .sh-ask--md .sh-ask__title { font-size: 40px; line-height: 54px; }
  :lang(en) .sh-ask__title { line-height: 62px; }
  :lang(en) .sh-ask--md .sh-ask__title { line-height: 48px; }
  .sh-ask__action { padding-block-start: var(--space-4); }
}

/* --- Everything we offer: every active service, one size, with a real picture. --- */

.sh-index { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2); }
.sh-index li { display: grid; }
.sh-index__row {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: var(--space-3) var(--space-3) var(--space-2);
  background: var(--surface-sunken);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: background-color var(--dur-2) var(--ease-out), transform var(--dur-1) var(--ease-out);
}
[data-theme="dark"] .sh-index__row { background: var(--surface); }
.sh-index__row:active { transform: scale(.985); }
.sh-index__name { min-block-size: 48px; font-size: 17px; line-height: 24px; font-weight: 700; text-wrap: balance; }
.sh-index__desc { display: none; }
.sh-index__art { position: relative; display: block; block-size: 112px; margin-block-start: var(--space-1); transition: transform var(--dur-3) var(--ease-out); }
.sh-index__go { position: absolute; inset-block-end: var(--space-3); inset-inline-end: var(--space-3); inline-size: 20px; block-size: 20px; color: var(--accent); }
@media (hover: hover) {
  .sh-index__row:hover { background: var(--hero); }
  .sh-index__row:hover .sh-index__art { transform: translateY(-6px); }
}
@media (prefers-reduced-motion: reduce) {
  .sh-index__row:active { transform: none; }
  .sh-index__row:hover .sh-index__art { transform: none; }
}
@media (min-width: 600px) {
  .sh-index { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-3); }
}
@media (min-width: 1100px) {
  .sh-index { gap: var(--space-4); }
  .sh-index__row { padding: var(--space-5) var(--space-5) var(--space-3); }
  .sh-index__name { min-block-size: 0; font-size: 22px; line-height: 32px; }
  .sh-index__desc {
    display: -webkit-box;
    margin-block-start: var(--space-1);
    min-block-size: 72px;
    color: var(--ink-muted);
    font-size: 15px;
    line-height: 24px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
  }
  .sh-index__art { block-size: 188px; margin-block-start: var(--space-3); }
  .sh-index__go { inset-block-end: var(--space-4); inset-inline-end: var(--space-4); inline-size: 24px; block-size: 24px; }
}

/* --- Who treats you: navy cards. The photo fills the top and fades into the navy; title, name and the
   services as tags sit on it; a light gradient "book" button and a round profile link close it.
   Phones: a row you swipe. Tablets: two columns. Desktop: four. --- */

.sh-crew {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(232px, 78%);
  gap: var(--space-3);
  margin-inline: calc(var(--space-4) * -1);
  padding: var(--space-1) var(--space-4) var(--space-4);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--space-4);
  scrollbar-width: none;
}
.sh-crew::-webkit-scrollbar { display: none; }
.sh-person {
  --sh-person-top: var(--brand-blue);
  --sh-person-bottom: var(--brand-navy);
  --focus: var(--brand-beige);
  position: relative;
  display: flex;
  flex-direction: column;
  min-inline-size: 0;
  scroll-snap-align: start;
  color: #ffffff;
  background: linear-gradient(180deg, var(--sh-person-top) 0%, var(--sh-person-top) 72%, var(--sh-person-bottom) 100%);
  border-radius: 24px;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 22px 44px -28px rgba(17, 30, 57, .75);
  transition: transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out);
}
[data-theme="dark"] .sh-person { --sh-person-top: var(--hero); --sh-person-bottom: #0c1629; box-shadow: inset 0 0 0 1px var(--line), 0 22px 44px -28px rgba(0, 0, 0, .8); }
.sh-person__plate {
  position: relative;
  display: block;
  aspect-ratio: 4 / 4.4;
  background: #ffffff;
  overflow: hidden;
  container-type: inline-size;
}
.sh-person__plate:has(.sh-doctor__initial) { background: var(--surface-sunken); }
.sh-person__plate::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  block-size: 58%;
  background: linear-gradient(180deg, transparent 0%, color-mix(in srgb, var(--sh-person-top) 22%, transparent) 30%, color-mix(in srgb, var(--sh-person-top) 70%, transparent) 62%, var(--sh-person-top) 96%);
  pointer-events: none;
}
.sh-person__plate img { inline-size: 100%; block-size: 100%; object-fit: cover; object-position: center top; transition: transform 600ms var(--ease-out); }
.sh-person__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-1);
  margin-block-start: calc(var(--space-12) * -1);
  padding: 0 var(--space-5) var(--space-5);
  min-inline-size: 0;
}
.sh-person__title { color: var(--brand-beige); font-size: 13px; line-height: 20px; font-weight: 600; }
.sh-person__name { font-size: 21px; line-height: 30px; font-weight: 700; color: #ffffff; }
.sh-person__name a { display: inline-block; color: inherit; }
.sh-person__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-block-start: var(--space-2); }
.sh-person__tags li { padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); color: rgba(255, 255, 255, .9); font-size: 12px; line-height: 18px; font-weight: 500; }
.sh-person__acts { display: flex; align-items: center; gap: var(--space-2); inline-size: 100%; margin-block-start: auto; padding-block-start: var(--space-4); }
.sh-person__book {
  flex: 1;
  min-block-size: 48px;
  padding-inline: var(--space-5);
  border: 0;
  border-radius: 999px;
  background: linear-gradient(115deg, #fbf4ea 0%, var(--brand-beige) 42%, #c9a98b 100%);
  background-size: 160% 100%;
  background-position: 0% 50%;
  color: var(--brand-navy);
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 12px 26px -14px rgba(225, 205, 182, .85), inset 0 1px 0 rgba(255, 255, 255, .8);
  transition: background-position var(--dur-3) var(--ease-out), transform var(--dur-1) var(--ease-out);
}
.sh-person__book .sh-icon { inline-size: 18px; block-size: 18px; transition: transform var(--dur-2) var(--ease-out); }
.sh-person__more {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  inline-size: 48px;
  block-size: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .28);
  color: #ffffff;
  transition: background var(--dur-2) var(--ease-out), border-color var(--dur-2) var(--ease-out);
}
.sh-person__more .sh-icon { inline-size: 20px; block-size: 20px; }
@media (hover: hover) {
  .sh-person:hover { transform: translateY(-4px); box-shadow: 0 30px 54px -28px rgba(17, 30, 57, .85); }
  .sh-person:hover .sh-person__plate img { transform: scale(1.04); }
  .sh-person__book:hover { background: linear-gradient(115deg, #fbf4ea 0%, var(--brand-beige) 42%, #c9a98b 100%); background-size: 160% 100%; background-position: 100% 50%; color: var(--brand-navy); }
  .sh-person__book:hover .sh-icon { transform: translateX(-3px); }
  [dir="ltr"] .sh-person__book:hover .sh-icon { transform: translateX(3px); }
  .sh-person__name a:hover { color: var(--brand-beige); }
  .sh-person__more:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .5); }
}
.sh-person__book:active { transform: translateY(1px); }
@media (prefers-reduced-motion: reduce) {
  .sh-person, .sh-person__plate img, .sh-person__book .sh-icon { transition: none; }
  .sh-person:hover, .sh-person:hover .sh-person__plate img { transform: none; }
}
@media (forced-colors: active) { .sh-person { border: 1px solid CanvasText; } .sh-person__book, .sh-person__more { border: 1.5px solid ButtonText; } }
@media (min-width: 600px) {
  .sh-crew { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-columns: auto; gap: var(--space-5); margin-inline: 0; padding: 0; overflow: visible; }
}
@media (min-width: 900px) {
  .sh-crew { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-4); }
  .sh-person__name { font-size: 22px; line-height: 32px; }
}

/* The doctors page: the same cards, stacked on a phone (no swipe), with the bio. */
.sh-person__bio { margin-block-start: var(--space-2); color: color-mix(in srgb, #ffffff 82%, transparent); font-size: 14px; line-height: 22px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
@media (max-width: 599.98px) {
  .sh-crew--page { grid-auto-flow: row; grid-template-columns: minmax(0, 1fr); grid-auto-columns: auto; gap: var(--space-4); margin-inline: 0; padding: 0; overflow: visible; }
  .sh-crew--page .sh-person__plate { aspect-ratio: 5 / 4; }
}

/* --- Offers on the home page: same size, the deep beige of the brand, only when real. --- */

.sh-offers-rail { --sh-rail-item: 86%; padding-block-end: 0; }
.sh-offers-rail:has(> :only-child) { --sh-rail-item: 100%; }
.sh-offers-rail > :only-child { grid-column: 1 / -1; }
.sh-offers-rail .sh-offer { min-block-size: 0; gap: var(--space-2); padding: var(--space-4) var(--space-5) var(--space-2); }
.sh-offers-rail .sh-offer__art { inline-size: 104px; block-size: 112px; }
.sh-offers-rail .sh-offer__title { font-size: 22px; line-height: 30px; min-block-size: 60px; padding-inline-end: 96px; }
.sh-offers-rail .sh-offer__service { padding-inline-end: 96px; }
.sh-offers-rail .sh-offer__foot { gap: var(--space-1); }
.sh-offers-rail .sh-offer__price { font-size: 28px; line-height: 36px; }
.sh-offers-rail .sh-offer__ends { margin-block-start: 0; }
@media (min-width: 900px) {
  .sh-offers-rail .sh-offer { gap: var(--space-3); padding: var(--space-6) var(--space-6) var(--space-3); }
  .sh-offers-rail .sh-offer__art { inline-size: 148px; block-size: 160px; }
  .sh-offers-rail .sh-offer__title { font-size: 26px; line-height: 36px; padding-inline-end: 132px; min-block-size: 108px; }
  .sh-offers-rail .sh-offer__service { padding-inline-end: 132px; }
  .sh-offers-rail .sh-offer__price { font-size: 32px; line-height: 44px; }
  /* One offer takes the width, so it speaks larger and its picture grows. */
  .sh-offers-rail > :only-child { padding: var(--space-8) var(--space-12) var(--space-4); }
  .sh-offers-rail > :only-child .sh-offer__art { inset-block-start: var(--space-5); inset-inline-end: var(--space-12); inline-size: 280px; block-size: 300px; }
  .sh-offers-rail > :only-child .sh-offer__title { font-size: 44px; line-height: 60px; min-block-size: 0; padding-inline-end: 340px; }
  .sh-offers-rail > :only-child .sh-offer__foot { padding-inline-end: 340px; }
  .sh-offers-rail > :only-child .sh-offer__price { font-size: 40px; line-height: 54px; }
}

/* --- How to start: one deep panel, four steps on one line, and the action. --- */

.sh-deep {
  --sh-deep-ground: var(--accent);
  --sh-deep-ink: var(--on-accent);
  --sh-deep-muted: color-mix(in srgb, var(--on-accent) 78%, var(--accent));
  --sh-deep-line: color-mix(in srgb, var(--on-accent) 32%, var(--accent));
  --sh-deep-btn: var(--on-accent);
  --sh-deep-on-btn: var(--accent);
  --focus: var(--on-accent);
  margin-inline: calc(var(--sh-gutter) * -.5);
  padding: var(--space-6) var(--space-5);
  background: var(--sh-deep-ground);
  color: var(--sh-deep-ink);
  border-radius: var(--radius-xl);
}
[data-theme="dark"] .sh-deep {
  --sh-deep-ground: var(--surface-sunken);
  --sh-deep-ink: var(--ink);
  --sh-deep-muted: var(--ink-muted);
  --sh-deep-line: var(--line);
  --sh-deep-btn: var(--accent);
  --sh-deep-on-btn: var(--on-accent);
  --focus: var(--accent);
}
.sh-deep .sh-ask__a { color: var(--sh-deep-muted); }
.sh-deep .sh-journey { display: grid; }
.sh-deep .sh-journey__step {
  position: relative;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  column-gap: var(--space-3);
  margin: 0;
  padding-block: 0 var(--space-4);
  border: 0;
}
.sh-deep .sh-journey__step:last-child { padding-block-end: var(--space-1); }
/* The line runs from one number to the next. */
.sh-deep .sh-journey__step:not(:last-child)::before {
  content: "";
  position: absolute;
  inset-block: 36px 0;
  inset-inline-start: 17px;
  inline-size: 2px;
  background: var(--sh-deep-line);
}
.sh-deep .sh-journey__no {
  display: grid;
  place-items: center;
  grid-row: span 2;
  inline-size: 36px;
  block-size: 36px;
  border: 2px solid var(--sh-deep-line);
  border-radius: var(--radius-pill);
  color: var(--sh-deep-ink);
  font-size: 16px;
  line-height: 20px;
}
.sh-deep .sh-journey__title { font-size: 18px; line-height: 28px; }
.sh-deep .sh-journey__text { color: var(--sh-deep-muted); font-size: 15px; line-height: 24px; }
.sh-deep__btn { inline-size: 100%; margin-block-start: var(--space-4); background: var(--sh-deep-btn); color: var(--sh-deep-on-btn); }
@media (hover: hover) { .sh-deep__btn:hover { background: color-mix(in srgb, var(--sh-deep-btn) 88%, var(--sh-deep-ground)); } }
@media (min-width: 600px) {
  .sh-deep { margin-inline: 0; padding: var(--space-8); }
  .sh-deep__btn { inline-size: auto; }
}
@media (min-width: 900px) {
  .sh-deep { padding: var(--space-12); }
  .sh-deep .sh-ask { padding-inline-end: 0; }
  .sh-deep .sh-journey { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--space-5); }
  .sh-deep .sh-journey__step { display: block; padding-block: 0; }
  .sh-deep .sh-journey__step:not(:last-child)::before {
    inset-block: 21px auto;
    inset-inline: 44px calc(var(--space-5) * -1);
    inline-size: auto;
    block-size: 2px;
  }
  .sh-deep .sh-journey__no { inline-size: 44px; block-size: 44px; margin-block-end: var(--space-4); font-size: 18px; }
  .sh-deep .sh-journey__title { font-size: 20px; line-height: 30px; }
  .sh-deep .sh-journey__text { font-size: 16px; line-height: 26px; }
  .sh-deep__btn { margin-block-start: var(--space-8); }
}
@media (min-width: 1200px) {
  .sh-deep { padding: var(--space-16); }
  .sh-deep .sh-journey__title { font-size: 22px; line-height: 32px; }
}

/* --- Questions (heading beside the list), then where to come on a full-width map. --- */

.sh-closing { display: grid; gap: var(--space-12); }
.sh-closing .sh-ask { margin-block-end: var(--space-4); }
@media (min-width: 900px) {
  .sh-closing { gap: var(--space-16); }
  .sh-closing__faq { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: var(--space-12); align-items: start; }
  .sh-closing__faq .sh-ask { margin-block-end: 0; }
  .sh-closing__where .sh-ask { margin-block-end: var(--space-6); }
}
@media (min-width: 1200px) { .sh-closing__faq { column-gap: var(--space-24); } }

/* --------------------------------------------------------------------------
   Rails on larger screens become composed grids.
   -------------------------------------------------------------------------- */

.sh-railwrap { margin-inline: calc(var(--sh-gutter) * -1); }
@media (min-width: 600px) {
  .sh-rail { --sh-rail-item: 46%; }
}
@media (min-width: 900px) {
  .sh-railwrap { margin-inline: 0; }
  .sh-rail--grid {
    grid-auto-flow: row;
    grid-template-columns: repeat(var(--sh-rail-cols, 3), minmax(0, 1fr));
    grid-auto-columns: auto;
    gap: var(--space-5);
    padding: 0;
    overflow: visible;
  }
}

/* --------------------------------------------------------------------------
   Offer card
   -------------------------------------------------------------------------- */

.sh-offer {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  min-block-size: 292px;
  padding: var(--space-5);
  background: var(--hero);
  color: var(--on-hero);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--dur-1) var(--ease-out);
}
.sh-offer:has(.sh-offer__link:active) { transform: scale(.985); }
/* The title link covers the card; the actions sit above it. */
.sh-offer__link { color: inherit; text-decoration: none; }
.sh-offer__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.sh-offer__link:focus-visible { outline: none; }
.sh-offer:has(.sh-offer__link:focus-visible) { outline: 2px solid var(--focus); outline-offset: 3px; }
.sh-offer__save { align-self: flex-start; padding: 2px var(--space-3); border-radius: var(--radius-pill); background: var(--accent-strong); color: var(--on-accent); font-size: 14px; line-height: 22px; font-weight: 700; }
[data-theme="dark"] .sh-offer__save { background: var(--accent); color: var(--on-accent); }
.sh-offer--feature .sh-offer__save { background: var(--on-accent); color: var(--accent-strong); }
[data-theme="dark"] .sh-offer--feature .sh-offer__save { background: var(--accent); color: var(--on-accent); }
.sh-offer__old { margin-inline-start: var(--space-2); font-size: 16px; font-weight: 500; text-decoration-thickness: 1.5px; }
.sh-offer__ends.is-soon { color: inherit; font-weight: 700; }
.sh-offer__acts { position: relative; z-index: 1; display: flex; align-items: center; gap: var(--space-2); padding-block-start: var(--space-3); border-block-start: 1px solid color-mix(in srgb, currentColor 22%, transparent); }
.sh-offer__book { display: inline-flex; align-items: center; justify-content: center; min-block-size: 44px; padding-inline: var(--space-4); border-radius: var(--radius-pill); background: var(--accent); color: var(--on-accent); font-weight: 700; text-decoration: none; }
.sh-offer--feature .sh-offer__book { background: var(--on-accent); color: var(--accent); }
[data-theme="dark"] .sh-offer__book, [data-theme="dark"] .sh-offer--feature .sh-offer__book { background: var(--accent); color: var(--on-accent); }
.sh-offer__acts .sh-offer__cta { flex: 1; justify-content: flex-start; gap: var(--space-1); padding-block-start: 0; border: 0; color: inherit; text-decoration: none; }
.sh-offer__share { display: inline-flex; align-items: center; justify-content: center; inline-size: 44px; block-size: 44px; flex: none; border: 1px solid color-mix(in srgb, currentColor 30%, transparent); border-radius: 50%; background: transparent; color: inherit; cursor: pointer; }
.sh-offer__share .sh-icon { inline-size: 20px; block-size: 20px; }
.sh-offer__share:focus-visible, .sh-offer__book:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.sh-pricecard__share .sh-icon { inline-size: 20px; block-size: 20px; }
.sh-offer__art {
  position: absolute;
  inset-block-start: var(--space-3);
  inset-inline-end: var(--space-2);
  inline-size: 124px;
  block-size: 136px;
}
.sh-offer__service { font-size: 14px; line-height: 20px; font-weight: 500; color: var(--on-hero-muted); padding-inline-end: 104px; }
.sh-offer__title { font-size: 26px; line-height: 36px; font-weight: 700; padding-inline-end: 104px; }
.sh-offer__foot { margin-block-start: auto; display: grid; gap: var(--space-3); }
.sh-offer__price { font-size: 32px; line-height: 44px; font-weight: 700; color: var(--accent-strong); font-variant-numeric: tabular-nums; }
[data-theme="dark"] .sh-offer__price { color: var(--accent); }
.sh-offer__old { font-size: 14px; line-height: 22px; color: var(--on-hero-muted); }
.sh-offer__ends {
  margin-block-start: var(--space-2);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 14px;
  line-height: 22px;
  color: var(--on-hero-muted);
}
.sh-offer__ends .sh-icon { inline-size: 18px; block-size: 18px; }
.sh-offer__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-block-size: 44px;
  padding-block-start: var(--space-2);
  border-block-start: 1px solid color-mix(in srgb, currentColor 22%, transparent);
  font-weight: 600;
}
.sh-offer--feature {
  background: var(--accent);
  color: var(--on-accent);
}
.sh-offer--feature .sh-offer__service,
.sh-offer--feature .sh-offer__old,
.sh-offer--feature .sh-offer__ends,
.sh-offer--feature .sh-offer__price { color: var(--on-accent); }
/* In dark the accent is beige: a large block of it glares, so the block takes the hero ground. */
[data-theme="dark"] .sh-offer--feature { background: var(--hero); color: var(--on-hero); }
[data-theme="dark"] .sh-offer--feature .sh-offer__service,
[data-theme="dark"] .sh-offer--feature .sh-offer__old,
[data-theme="dark"] .sh-offer--feature .sh-offer__ends { color: var(--on-hero-muted); }
[data-theme="dark"] .sh-offer--feature .sh-offer__price { color: var(--accent); }
@media (min-width: 900px) {
  .sh-offer { min-block-size: 360px; padding: var(--space-6); }
  .sh-offer__art { inline-size: 148px; block-size: 160px; }
  .sh-offer__service, .sh-offer__title { padding-inline-end: 132px; }
}

/* Empty state */
.sh-empty {
  display: grid;
  justify-items: start;
  gap: var(--space-3);
  padding: var(--space-6);
  background: var(--surface-sunken);
  border-radius: var(--radius-lg);
}
.sh-empty__art { inline-size: 88px; block-size: 96px; }
.sh-empty__title { font-size: 20px; line-height: 30px; font-weight: 600; }
.sh-empty__text { color: var(--ink-muted); max-inline-size: 44ch; }

/* --------------------------------------------------------------------------
   Doctor card
   -------------------------------------------------------------------------- */

.sh-doctor {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  min-block-size: 100%;
}
.sh-doctor__portrait {
  position: relative;
  display: block;
  aspect-ratio: 5 / 4;
  background: var(--surface-sunken);
  overflow: hidden;
  container-type: inline-size;
}
/* A real photo fills its box. Faces sit in the upper part of a portrait, so the crop keeps the top. */
.sh-doctor__photo { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; max-inline-size: none; object-fit: cover; object-position: 50% 18%; }
/* A real photo sits on white in both modes. The placeholder initial keeps the tinted ground. */
.sh-doctor__portrait:has(.sh-doctor__photo),
.sh-dochero__portrait:has(.sh-doctor__photo),
[data-theme] .sh-doctor__portrait:has(.sh-doctor__photo),
[data-theme] .sh-dochero__portrait:has(.sh-doctor__photo) { background: #ffffff; }
/* The studio ground baked into the photos turns white through #sh-photo-white
   (shenawy_photo_filter() in the theme). Without that element the filter is ignored. */
.sh-doctor__photo { filter: url("#sh-photo-white"); }
.sh-defs { position: absolute; inline-size: 0; block-size: 0; overflow: hidden; }
/* Until the clinic supplies a photo: the first letter of the name, large and quiet. No drawn person. */
.sh-doctor__initial {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--hero);
  font-size: 76cqi;
  line-height: 1;
  font-weight: 400;
  user-select: none;
}
.sh-doctor__portrait .sh-doctor__initial, .sh-dochero__portrait .sh-doctor__initial { font-size: 56cqi; }
.sh-doctor__initial .sh-mark { block-size: 40cqi; }
[data-theme="dark"] .sh-doctor__initial { color: color-mix(in srgb, var(--accent) 24%, transparent); }
.sh-doctor__body { display: flex; flex-direction: column; gap: var(--space-1); flex: 1; padding: var(--space-4) var(--space-4) var(--space-3); }
.sh-doctor__specialty { color: var(--accent); font-size: 14px; line-height: 20px; font-weight: 600; }
.sh-doctor__name { font-size: 20px; line-height: 30px; font-weight: 700; }
.sh-doctor__name a { display: inline-flex; align-items: center; min-block-size: 44px; }
.sh-doctor__title { color: var(--ink-muted); font-size: 14px; line-height: 22px; }
.sh-doctor__actions { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); margin-block-start: auto; padding-block-start: var(--space-3); }

/* Row layout for the doctors page on a phone */
.sh-doctor--row { flex-direction: row; min-block-size: 200px; }
.sh-doctor--row .sh-doctor__portrait { flex: 0 0 38%; aspect-ratio: auto; }
.sh-doctor--row .sh-doctor__desc { color: var(--ink-muted); font-size: 14px; line-height: 22px; margin-block-start: var(--space-1); }
@media (min-width: 900px) {
  .sh-roster .sh-doctor--row { flex-direction: column; }
  .sh-roster .sh-doctor--row .sh-doctor__portrait { flex: none; aspect-ratio: 1 / 1; }
  .sh-doctor--row { max-inline-size: 640px; }
  .sh-doctor--row .sh-doctor__portrait { flex-basis: 240px; }
  .sh-roster .sh-doctor--row { max-inline-size: none; }
}

/* --------------------------------------------------------------------------
   Service card: row, feature
   -------------------------------------------------------------------------- */

.sh-svc {
  position: relative;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) 24px;
  align-items: center;
  column-gap: var(--space-3);
  padding: var(--space-3);
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: transform var(--dur-1) var(--ease-out), box-shadow var(--dur-2) var(--ease-out);
}
.sh-svc:active { transform: scale(.985); }
@media (hover: hover) { .sh-svc:hover { box-shadow: var(--shadow-pop); } }
.sh-svc__art {
  block-size: 84px;
  padding: var(--space-2);
  background: var(--hero);
  border-radius: var(--radius-md);
  --sh-facet-x: 20px;
  --sh-facet-y: 10px;
}
.sh-svc__title { font-size: 18px; line-height: 26px; font-weight: 700; }
.sh-svc__text {
  color: var(--ink-muted);
  font-size: 14px;
  line-height: 22px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.sh-svc__go { color: var(--accent); }

.sh-svc--feature {
  grid-template-columns: minmax(0, 1fr);
  padding: var(--space-5);
  background: var(--hero);
  color: var(--on-hero);
  box-shadow: none;
  gap: var(--space-3);
  overflow: hidden;
}
.sh-svc--feature .sh-svc__art {
  block-size: 220px;
  background: none;
  padding: 0;
  clip-path: none;
}
.sh-svc--feature .sh-svc__title { font-size: 32px; line-height: 44px; }
.sh-svc--feature .sh-svc__text { color: var(--on-hero-muted); font-size: 16px; line-height: 26px; -webkit-line-clamp: unset; }
.sh-svc--feature .sh-svc__go { display: none; }
.sh-svc__more { display: none; }
.sh-svc--feature .sh-svc__more { display: inline-flex; }

.sh-svc-grid { display: grid; gap: var(--space-3); }
@media (min-width: 600px) {
  .sh-svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sh-svc--feature { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: var(--space-6); }
  .sh-svc--feature .sh-svc__art { grid-row: 1 / span 3; grid-column: 2; }
}
@media (min-width: 900px) {
  .sh-svc__title { font-size: 20px; line-height: 30px; }
  .sh-svc:not(.sh-svc--feature) { padding: var(--space-4); grid-template-columns: 112px minmax(0, 1fr) 24px; column-gap: var(--space-4); }
  .sh-svc:not(.sh-svc--feature) .sh-svc__art { block-size: 124px; padding: var(--space-3); }
  .sh-svc--feature .sh-svc__title { font-size: 40px; line-height: 54px; }
  .sh-svc-grid { gap: var(--space-5); }
}
@media (min-width: 900px) and (max-width: 1199px) {
  .sh-svc:last-child:nth-child(even) { grid-column: 1 / -1; }
}
@media (min-width: 1200px) {
  .sh-svc-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .sh-svc--feature { grid-column: span 7; grid-row: span 2; grid-template-columns: minmax(0, 1fr); padding: var(--space-8); align-content: space-between; }
  .sh-svc--feature .sh-svc__art { grid-row: auto; grid-column: auto; block-size: 320px; }
  .sh-svc:not(.sh-svc--feature) { grid-column: span 5; }
  .sh-svc:not(.sh-svc--feature):nth-child(n+4) { grid-column: span 4; grid-template-columns: 88px minmax(0, 1fr) 24px; }
  .sh-svc:not(.sh-svc--feature):nth-child(n+4) .sh-svc__art { block-size: 100px; padding: var(--space-2); }
  .sh-svc-grid--plain .sh-svc:not(.sh-svc--feature) { grid-column: span 6; }
}

/* --------------------------------------------------------------------------
   Journey steps: big numerals on the hero ground, on one line on desktop.
   -------------------------------------------------------------------------- */

.sh-band-hero {
  background: var(--hero);
  color: var(--on-hero);
  --sh-facet-x: 96px;
  --sh-facet-y: 48px;
}
.sh-band-hero .sh-head__sub { color: var(--on-hero-muted); }
.sh-band-hero .sh-head__eyebrow { color: var(--accent-strong); }
[data-theme="dark"] .sh-band-hero .sh-head__eyebrow { color: var(--accent); }

.sh-journey { display: grid; counter-reset: journey; }
.sh-journey__step {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  column-gap: var(--space-3);
  padding-block: var(--space-4);
  border-block-end: 1px solid color-mix(in srgb, currentColor 16%, transparent);
}
.sh-journey__step:last-child { border-block-end: 0; padding-block-end: 0; }
.sh-journey__no {
  grid-row: span 2;
  font-size: 44px;
  line-height: 48px;
  font-weight: 700;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
[data-theme="light"] .sh-band-hero .sh-journey__no { color: var(--accent-strong); }
.sh-journey__title { font-size: 20px; line-height: 30px; font-weight: 700; }
.sh-journey__text { color: var(--on-hero-muted); font-size: 16px; line-height: 26px; text-wrap: pretty; }
.sh-card .sh-journey__text, .sh-section > .sh-container > .sh-journey .sh-journey__text { color: var(--ink-muted); }
.sh-journey__note {
  display: flex;
  gap: var(--space-2);
  align-items: flex-start;
  margin-block-start: var(--space-5);
  padding: var(--space-3) var(--space-4);
  background: var(--surface);
  color: var(--ink);
  border-radius: var(--radius-md);
  font-size: 14px;
  line-height: 22px;
}
.sh-journey__note .sh-icon { color: var(--accent); }
@media (min-width: 900px) {
  .sh-journey { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--space-5); align-items: start; }
  .sh-journey__step { display: block; border-block-end: 0; border-block-start: 3px solid currentColor; padding-block: var(--space-4) 0; }
  .sh-journey__no { display: block; font-size: 64px; line-height: 76px; margin-block-end: var(--space-2); }
  .sh-journey__note { max-inline-size: 56ch; }
}

/* In a narrow reading column the steps stay stacked until there is real room. */
@media (min-width: 900px) and (max-width: 1199px) {
  .sh-stack .sh-journey, .sh-lpmain .sh-journey { grid-template-columns: minmax(0, 1fr); }
  .sh-stack .sh-journey__step, .sh-lpmain .sh-journey__step {
    display: grid;
    margin-block-start: 0;
    border-block-start: 0;
    border-block-end: 1px solid color-mix(in srgb, currentColor 16%, transparent);
    padding-block: var(--space-4);
  }
  .sh-stack .sh-journey__no, .sh-lpmain .sh-journey__no { display: inline; font-size: 44px; line-height: 48px; margin-block-end: 0; }
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.sh-faq { display: grid; }
.sh-faq__item { border-block-end: 1px solid var(--line); }
.sh-faq__item:first-child { border-block-start: 1px solid var(--line); }
.sh-faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  min-block-size: 64px;
  padding-block: var(--space-3);
  font-size: 18px;
  line-height: 28px;
  font-weight: 600;
  list-style: none;
  transition: color var(--dur-2) var(--ease-out);
}
.sh-faq__q::-webkit-details-marker { display: none; }
.sh-faq__q .sh-icon { color: var(--accent); transition: transform var(--dur-2) var(--ease-out); }
.sh-faq__item[open] .sh-faq__q .sh-icon { transform: rotate(45deg); }
.sh-faq__item[open] .sh-faq__q { color: var(--accent); }
.sh-faq__a { padding-block-end: var(--space-4); padding-inline-end: var(--space-8); color: var(--ink-muted); max-inline-size: 60ch; text-wrap: pretty; }
.sh-faq-layout { display: grid; gap: var(--space-2); }
@media (min-width: 900px) {
  .sh-faq-layout { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: var(--space-12); align-items: start; }
  .sh-faq-layout .sh-head { position: sticky; inset-block-start: 100px; }
}

/* --------------------------------------------------------------------------
   Visit card: the real map (Google embed, one pin), the address, one tap to directions, one
   tap to call. The map wears the site's tones. Narrow: the map on top, the details below.
   From 760px of card: the map fills the card and the details float on it.
   -------------------------------------------------------------------------- */

.sh-visit {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: clip;
  container-type: inline-size;
}
.sh-visit__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-5); padding: var(--space-5); }
.sh-visit__info { display: grid; gap: var(--space-5); align-content: start; }
.sh-visit__eyebrow { display: none; color: var(--accent); font-size: 13px; line-height: 20px; font-weight: 700; }
.sh-visit__place { display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: var(--space-2); align-items: start; }
.sh-visit__place .sh-icon { inline-size: 28px; block-size: 28px; margin-block-start: 2px; color: var(--accent); }
.sh-visit__address { font-size: 20px; line-height: 32px; font-weight: 600; text-wrap: pretty; }
.sh-visit__actions { display: flex; flex-wrap: wrap; gap: var(--space-2); max-inline-size: 560px; }
.sh-visit__actions .sh-btn { flex: 1 1 auto; padding-inline: var(--space-4); }
.sh-visit__when { display: flex; align-items: center; flex-wrap: wrap; gap: var(--space-2); padding-block-start: var(--space-4); border-block-start: 1px solid var(--line); color: var(--ink-muted); font-size: 15px; line-height: 24px; }
.sh-visit__when > .sh-icon { inline-size: 20px; block-size: 20px; color: var(--accent); }
.sh-visit__label { font-weight: 500; }
.sh-visit__value { color: var(--ink); font-weight: 500; }
.sh-visit__booklink { display: inline-flex; align-items: center; gap: var(--space-1); min-block-size: 44px; margin-block: calc(var(--space-3) * -1); color: var(--accent); font-weight: 600; }
.sh-visit__booklink .sh-icon { inline-size: 18px; block-size: 18px; }

.sh-visit__map {
  position: relative;
  margin: calc(var(--space-5) * -1) calc(var(--space-5) * -1) 0;
  aspect-ratio: 16 / 10;
  min-block-size: 240px;
  max-block-size: 380px;
  background: var(--surface-sunken);
  isolation: isolate;
}
.sh-visit__frame {
  position: absolute;
  inset: 0;
  inline-size: 100%;
  block-size: 100%;
  border: 0;
  filter: grayscale(.4) sepia(.22) saturate(1.15) contrast(1.02);
}
[data-theme="dark"] .sh-visit__frame { filter: invert(.9) hue-rotate(180deg) grayscale(.25) saturate(.8) brightness(.9) contrast(.95); }
/* A hairline under the map, above it but never in the way of it. */
.sh-visit__map::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; box-shadow: inset 0 -1px 0 var(--line); }

/* The clinic's label floats on the map and opens it in the maps app. */
.sh-visit__badge {
  position: absolute;
  z-index: 2;
  inset-block-end: calc(var(--space-3) + 18px); /* clear of Google's credit line */
  inset-inline-start: var(--space-3);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  max-inline-size: calc(100% - var(--space-6));
  min-block-size: 52px;
  padding-block: var(--space-1);
  padding-inline: var(--space-1) var(--space-4);
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(1.5);
  backdrop-filter: blur(14px) saturate(1.5);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-pop);
  color: var(--ink);
  transition: transform var(--dur-1) var(--ease-out);
}
.sh-visit__badge:active { transform: scale(.97); }
.sh-visit__pin { display: grid; place-items: center; flex: none; inline-size: 44px; block-size: 44px; border-radius: 50%; background: var(--accent); color: var(--on-accent); }
.sh-visit__pin .sh-icon { inline-size: 22px; block-size: 22px; }
.sh-visit__badgetext { display: grid; min-inline-size: 0; }
.sh-visit__badgename { font-size: 14px; line-height: 20px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sh-visit__badgehint { color: var(--accent); font-size: 12px; line-height: 18px; font-weight: 600; }
@media (hover: hover) { .sh-visit__badge:hover .sh-visit__badgehint { text-decoration: underline; } }

@media (min-width: 900px) {
  .sh-visit__grid { padding: var(--space-8); gap: var(--space-6); }
  .sh-visit__map { margin: calc(var(--space-8) * -1) calc(var(--space-8) * -1) 0; }
  .sh-visit__address { font-size: 24px; line-height: 38px; }
}

/* A wide card: the map is the card, the details a calm panel on it at the start side. */
@container (min-width: 760px) {
  .sh-visit--map .sh-visit__grid { grid-template: minmax(460px, auto) / minmax(0, 1fr); padding: 0; gap: 0; }
  .sh-visit--map .sh-visit__map { grid-area: 1 / 1; margin: 0; aspect-ratio: auto; max-block-size: none; min-block-size: 460px; }
  .sh-visit--map .sh-visit__map::after { box-shadow: none; }
  .sh-visit--map .sh-visit__badge { display: none; }
  .sh-visit--map .sh-visit__info {
    grid-area: 1 / 1;
    z-index: 2;
    align-self: start;
    justify-self: start;
    inline-size: min(400px, 46%);
    margin: var(--space-6);
    padding: var(--space-6);
    gap: var(--space-4);
    background: color-mix(in srgb, var(--surface) 92%, transparent);
    -webkit-backdrop-filter: blur(16px) saturate(1.4);
    backdrop-filter: blur(16px) saturate(1.4);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-pop);
  }
  [data-theme="dark"] .sh-visit--map .sh-visit__info { box-shadow: var(--shadow-pop), inset 0 0 0 1px var(--line); }
  .sh-visit--map .sh-visit__eyebrow { display: block; }
  .sh-visit--map .sh-visit__address { font-size: 20px; line-height: 32px; }
  .sh-visit--map .sh-visit__actions .sh-btn { flex: 1 1 140px; }
}

/* --------------------------------------------------------------------------
   Page head: inner pages open with hierarchy, not with a banner.
   -------------------------------------------------------------------------- */

.sh-pagehead { padding-block: var(--space-4) var(--space-6); }
.sh-pagehead__title { font-size: 44px; line-height: 56px; font-weight: 700; text-wrap: balance; }
.sh-pagehead__lead { margin-block-start: var(--space-2); font-size: 18px; line-height: 30px; color: var(--ink-muted); max-inline-size: 46ch; text-wrap: pretty; }
.sh-pagehead__eyebrow { margin-block-end: var(--space-1); }
@media (min-width: 900px) {
  .sh-pagehead { padding-block: var(--space-12) var(--space-8); }
  .sh-pagehead__title { font-size: 64px; line-height: 76px; }
}

/* Symptom strip on the services page: a navy band (the offer hero's ground), paper chips on it. */
.sh-strip {
  --sh-strip-ground: var(--accent);
  --sh-strip-ink: var(--on-accent);
  display: grid;
  gap: var(--space-3);
  padding: var(--space-4);
  background: var(--sh-strip-ground);
  color: var(--sh-strip-ink);
  border-radius: var(--radius-lg);
}
[data-theme="dark"] .sh-strip { --sh-strip-ground: var(--hero); --sh-strip-ink: var(--on-hero); box-shadow: inset 0 0 0 1px var(--line); }
[data-theme="dark"] .sh-strip .sh-symptom:not(.sh-symptom--urgent) { background: color-mix(in srgb, var(--on-hero) 14%, var(--hero)); color: var(--on-hero); }
.sh-strip__title { font-size: 20px; line-height: 30px; font-weight: 700; color: var(--sh-strip-ink); }
.sh-strip .sh-symptom { background: var(--surface); color: var(--ink); border-color: transparent; }
.sh-strip .sh-symptom .sh-icon { color: var(--accent); }
.sh-strip .sh-symptom--urgent { background: var(--brand-beige); color: var(--brand-navy); }
.sh-strip .sh-symptom--urgent .sh-icon { color: var(--brand-navy); }
@media (hover: hover) {
  .sh-strip .sh-symptom:hover { border-color: var(--brand-beige); }
  .sh-strip .sh-symptom--urgent:hover { background: var(--surface); border-color: var(--surface); }
}
.sh-strip .sh-symptoms--rail { margin-inline: calc(var(--space-4) * -1); padding-inline: var(--space-4); }
@media (min-width: 900px) {
  .sh-strip { grid-template-columns: auto minmax(0, 1fr); align-items: center; padding: var(--space-5) var(--space-6); gap: var(--space-6); }
  .sh-strip .sh-symptoms--rail { flex-wrap: wrap; margin-inline: 0; padding-inline: 0; overflow: visible; }
}

/* Reusable closing call to action */
.sh-closer {
  position: relative;
  display: grid;
  gap: var(--space-3);
  padding: var(--space-6);
  background: var(--accent);
  color: var(--on-accent);
  border-radius: var(--radius-lg);
  overflow: hidden;
  --sh-facet-x: 64px;
  --sh-facet-y: 32px;
}
.sh-closer__title { font-size: 26px; line-height: 36px; font-weight: 700; max-inline-size: 22ch; }
.sh-closer__text { max-inline-size: 44ch; }
.sh-closer__btn { background: var(--on-accent); color: var(--accent); justify-self: start; }
@media (hover: hover) { .sh-closer__btn:hover { background: var(--bg); } }
[data-theme="dark"] .sh-closer { background: var(--hero); color: var(--on-hero); }
[data-theme="dark"] .sh-closer__btn { background: var(--accent); color: var(--on-accent); }
@media (hover: hover) { [data-theme="dark"] .sh-closer__btn:hover { background: var(--accent-strong); } }
@media (min-width: 900px) {
  .sh-closer { grid-template-columns: minmax(0, 1fr) auto; align-items: center; padding: var(--space-8) var(--space-12); column-gap: var(--space-8); }
  .sh-closer__title { font-size: 32px; line-height: 44px; max-inline-size: none; }
  .sh-closer__text { grid-column: 1; }
  .sh-closer__btn { grid-column: 2; grid-row: 1 / span 2; }
}

/* --------------------------------------------------------------------------
   Service page and doctor page
   -------------------------------------------------------------------------- */

.sh-svchero { background: var(--hero); color: var(--on-hero); }
.sh-svchero__grid { display: grid; gap: var(--space-2); padding-block: var(--space-2) var(--space-8); }
.sh-svchero__copy { display: grid; gap: var(--space-2); }
.sh-svchero__crumb { color: var(--on-hero-muted); font-size: 14px; line-height: 22px; font-weight: 500; }
.sh-svchero__crumb a { display: inline-flex; align-items: center; min-block-size: 44px; color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.sh-svchero__title { font-size: 44px; line-height: 56px; font-weight: 700; text-wrap: balance; }
.sh-svchero__lead { color: var(--on-hero-muted); font-size: 18px; line-height: 30px; max-inline-size: 42ch; text-wrap: pretty; }


.sh-layout-aside { display: grid; gap: var(--space-8); }
.sh-aside { display: none; }
@media (min-width: 900px) {
  .sh-svchero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--space-12); align-items: center; padding-block: var(--space-8) var(--space-12); }
  .sh-svchero__copy { grid-column: 1; grid-row: 1; }
  .sh-svchero__title { font-size: 64px; line-height: 76px; }
  .sh-layout-aside { grid-template-columns: minmax(0, 1fr) 360px; column-gap: var(--space-12); align-items: start; }
  .sh-aside {
    display: grid;
    gap: var(--space-3);
    position: sticky;
    inset-block-start: 100px;
    padding: var(--space-6);
    background: var(--surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
  }
  .sh-aside__title { font-size: 20px; line-height: 30px; font-weight: 700; }
  .sh-aside__text { color: var(--ink-muted); font-size: 14px; line-height: 22px; }
}

.sh-prose { display: grid; gap: var(--space-3); max-inline-size: 62ch; }
.sh-prose__lead { font-size: 22px; line-height: 34px; font-weight: 500; text-wrap: pretty; }
.sh-prose p { color: var(--ink-muted); text-wrap: pretty; }
.sh-prose .sh-prose__lead { color: var(--ink); }
.sh-sub { font-size: 26px; line-height: 36px; font-weight: 700; margin-block-end: var(--space-4); text-wrap: balance; }
@media (min-width: 900px) { .sh-sub { font-size: 32px; line-height: 44px; margin-block-end: var(--space-5); } }
.sh-stack { display: grid; gap: var(--space-12); }
@media (min-width: 900px) { .sh-stack { gap: var(--space-16); } }

/* Fit list: "who it suits". Strong statements, no boxes. */
.sh-fit { display: grid; }
.sh-fit__item {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: var(--space-3);
  padding-block: var(--space-3);
  border-block-end: 1px solid var(--line);
  font-size: 18px;
  line-height: 28px;
  font-weight: 500;
}
.sh-fit__item:last-child { border-block-end: 0; }
.sh-fit__item .sh-icon { color: var(--accent); margin-block-start: 2px; }

.sh-expect { display: grid; gap: var(--space-3); }
.sh-expect__item { padding: var(--space-5); background: var(--surface-sunken); border-radius: var(--radius-lg); }
.sh-expect__title { font-size: 18px; line-height: 28px; font-weight: 700; margin-block-end: var(--space-1); }
.sh-expect__text { color: var(--ink-muted); text-wrap: pretty; }
.sh-expect__item:first-child { background: var(--accent-soft); color: var(--on-accent-soft); }
.sh-expect__item:first-child .sh-expect__text { color: inherit; }
@media (min-width: 600px) { .sh-expect { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sh-expect__item:first-child { grid-column: 1 / -1; } }

/* Doctor profile */
.sh-dochero { background: var(--bg); }
.sh-dochero__grid { display: grid; gap: var(--space-4); padding-block: var(--space-2) var(--space-6); }
.sh-dochero__book { display: none; }
.sh-dochero__portrait {
  position: relative;
  aspect-ratio: 5 / 4;
  max-block-size: 420px;
  background: var(--surface-sunken);
  border-radius: var(--radius-lg);
  overflow: hidden;
  container-type: inline-size;
}
[data-theme="dark"] .sh-dochero__portrait { background: var(--accent-soft); }
.sh-dochero__name { font-size: 44px; line-height: 56px; font-weight: 700; }
.sh-dochero__title { color: var(--accent); font-size: 18px; line-height: 28px; font-weight: 600; }
.sh-dochero__bio { color: var(--ink-muted); font-size: 18px; line-height: 30px; margin-block-start: var(--space-3); max-inline-size: 46ch; text-wrap: pretty; }
.sh-factrow { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); margin-block-start: var(--space-4); }
.sh-fact { padding-block-start: var(--space-2); border-block-start: 2px solid var(--line-strong); }
.sh-fact__label { font-size: 12px; line-height: 18px; font-weight: 500; color: var(--ink-muted); }
.sh-fact__value { font-size: 16px; line-height: 24px; font-weight: 600; }
@media (min-width: 900px) {
  .sh-dochero__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: var(--space-12); align-items: center; padding-block: var(--space-8) var(--space-12); }
  .sh-dochero__portrait { aspect-ratio: 1 / 1; max-block-size: 560px; }
  .sh-dochero__book { display: inline-flex; justify-self: start; margin-block-start: var(--space-5); }
  .sh-dochero__name { font-size: 64px; line-height: 76px; }
  .sh-dochero__title { font-size: 22px; line-height: 34px; }
}

/* Qualifications and experience on the doctor page */
.sh-creds { display: grid; gap: var(--space-5); }
.sh-creds__label { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--accent); margin-block-end: var(--space-2); }
.sh-creds__list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.sh-creds__item { display: flex; align-items: flex-start; gap: var(--space-2); padding-block: var(--space-2); border-block-end: 1px solid var(--line); font-size: 16px; line-height: 26px; text-wrap: pretty; }
.sh-creds__item:last-child { border-block-end: 0; }
.sh-creds__icon { flex: none; inline-size: 20px; block-size: 20px; margin-block-start: 3px; color: var(--accent); }
@media (min-width: 900px) {
  .sh-creds { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); column-gap: var(--space-12); }
}

/* Roster */
.sh-roster { display: grid; gap: var(--space-3); }
@media (min-width: 900px) { .sh-roster { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5); } }
@media (min-width: 1200px) { .sh-roster { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Offers page */
.sh-offer-grid { display: grid; gap: var(--space-3); }
@media (min-width: 600px) { .sh-offer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sh-offer-grid > :first-child { grid-column: 1 / -1; } }
@media (min-width: 1200px) {
  .sh-offer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); }
  .sh-offer-grid > :first-child { grid-column: span 2; grid-row: span 2; }
  .sh-offer-grid > :first-child .sh-offer__art { inline-size: 300px; block-size: 340px; }
  .sh-offer-grid > :first-child .sh-offer__title { font-size: 44px; line-height: 56px; }
  .sh-offer-grid > :first-child .sh-offer__price { font-size: 64px; line-height: 76px; }
}

/* --------------------------------------------------------------------------
   Offer landing: a poster you can buy from.
   -------------------------------------------------------------------------- */

.sh-lp { --sh-lp-ground: var(--accent); --sh-lp-ink: var(--on-accent); }

.sh-lphero {
  position: relative;
  background: var(--sh-lp-ground);
  color: var(--sh-lp-ink);
  overflow: hidden;
  padding-block-end: var(--space-16);
}
.sh-lphero__arc {
  position: absolute;
  inset-block-end: -6%;
  inset-inline-end: -22%;
  inline-size: 92%;
  max-inline-size: 760px;
  color: color-mix(in srgb, var(--sh-lp-ink) 16%, transparent);
  pointer-events: none;
}
.sh-lphero__arc path { fill: currentColor; }
.sh-lphero__grid { position: relative; display: grid; }
.sh-lphero__service { display: flex; align-items: center; gap: var(--space-2); font-size: 16px; line-height: 26px; font-weight: 500; margin-block-start: var(--space-3); }
.sh-lphero__title { font-size: 44px; line-height: 56px; font-weight: 700; margin-block-start: var(--space-2); text-wrap: balance; }
.sh-lphero__sub { margin-block-start: var(--space-2); font-size: 18px; line-height: 30px; max-inline-size: 36ch; }
.sh-lphero__art { block-size: 136px; margin-block-start: var(--space-2); }

.sh-pricecard {
  position: relative;
  z-index: 2;
  display: grid;
  gap: var(--space-4);
  margin-block-start: calc(var(--space-12) * -1);
  padding: var(--space-5);
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-pop);
}
.sh-pricecard__top { display: grid; gap: var(--space-1); }
.sh-pricecard__eyebrow { color: var(--ink-muted); font-size: 14px; line-height: 20px; font-weight: 500; }
.sh-pricecard__price {
  color: var(--accent);
  font-size: 64px;
  line-height: 76px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.sh-pricecard__was { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-3); }
.sh-pricecard__old { color: var(--ink-muted); text-decoration: line-through 1px; font-size: 16px; line-height: 26px; }
.sh-saving {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  min-block-size: 28px;
  padding-inline: var(--space-3);
  background: var(--accent-soft);
  color: var(--on-accent-soft);
  border-radius: var(--radius-pill);
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
}
.sh-pricecard__cta { display: none; }

.sh-countdown { display: grid; gap: var(--space-2); padding-block-start: var(--space-4); border-block-start: 1px solid var(--line); }
.sh-countdown__head { display: flex; align-items: center; gap: var(--space-2); font-size: 14px; line-height: 22px; font-weight: 500; }
.sh-countdown__head .sh-icon { inline-size: 20px; block-size: 20px; color: var(--accent); }
.sh-countdown__cells { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-2); }
.sh-countdown__cell { display: grid; justify-items: center; padding-block: var(--space-2); background: var(--surface-sunken); border-radius: var(--radius-md); }
.sh-countdown__num { font-size: 26px; line-height: 36px; font-weight: 700; font-variant-numeric: tabular-nums; }
.sh-countdown__unit { font-size: 12px; line-height: 18px; font-weight: 500; color: var(--ink-muted); }

.sh-includes { display: grid; }
.sh-includes__item {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: var(--space-3);
  align-items: start;
  padding-block: var(--space-3);
  border-block-end: 1px solid var(--line);
  font-size: 18px;
  line-height: 28px;
  font-weight: 500;
}
.sh-includes__item:last-child { border-block-end: 0; }
.sh-includes__tick {
  display: grid;
  place-items: center;
  inline-size: 32px;
  block-size: 28px;
  background: var(--accent);
  color: var(--on-accent);
  border-radius: var(--radius-sm);
  --sh-facet-x: 10px;
  --sh-facet-y: 5px;
}
.sh-includes__tick .sh-icon { inline-size: 18px; block-size: 18px; stroke-width: 2.25; }

.sh-suits {
  padding: var(--space-6) var(--space-5);
  background: var(--hero);
  color: var(--on-hero);
  border-radius: var(--radius-lg);
  --sh-facet-x: 64px;
  --sh-facet-y: 32px;
}
.sh-suits .sh-fit__item { border-color: color-mix(in srgb, currentColor 16%, transparent); }
.sh-suits .sh-fit__item .sh-icon { color: var(--accent); }
[data-theme="light"] .sh-suits .sh-fit__item .sh-icon { color: var(--accent-strong); }

.sh-terms { color: var(--ink-muted); font-size: 14px; line-height: 22px; display: grid; gap: var(--space-2); }
.sh-terms__list { display: grid; gap: var(--space-2); }
.sh-terms__list li { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: var(--space-2); }
.sh-terms__list li::before { content: ""; inline-size: 8px; block-size: 8px; margin-block-start: 7px; background: var(--line-strong); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.sh-license { display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-2); align-items: center; padding: var(--space-3) var(--space-4); background: var(--surface-sunken); border-radius: var(--radius-md); font-size: 14px; line-height: 22px; }
.sh-license__label { color: var(--ink-muted); }


.sh-lpbody { display: grid; gap: var(--space-12); padding-block: var(--space-8) var(--space-12); }
.sh-lpside { display: contents; }
.sh-lpmain { display: grid; gap: var(--space-12); }

@media (min-width: 900px) {
  .sh-lphero { padding-block-end: calc(var(--space-24) + var(--space-8)); }
  .sh-lphero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 420px); column-gap: var(--space-12); align-items: center; }
  .sh-lphero__title { font-size: 64px; line-height: 76px; }
  .sh-lphero__art { block-size: 400px; margin-block-start: 0; grid-column: 2; grid-row: 1 / span 3; }
  .sh-lpbody { grid-template-columns: minmax(0, 1fr) 400px; grid-template-areas: "main side"; column-gap: var(--space-12); align-items: start; padding-block-start: 0; }
  .sh-lpmain { grid-area: main; display: grid; gap: var(--space-16); padding-block-start: var(--space-12); }
  .sh-lpside { display: block; grid-area: side; position: sticky; inset-block-start: var(--space-6); margin-block-start: calc(var(--space-24) * -1); z-index: 2; }
  .sh-pricecard { margin-block-start: 0; padding: var(--space-6); }
  .sh-pricecard__cta { display: flex; }
}

/* Expired landing: calm ground, no price, a clear way forward. */
.sh-lp--expired { --sh-lp-ground: var(--surface-sunken); --sh-lp-ink: var(--ink); }
.sh-lp--expired .sh-lphero { padding-block-end: var(--space-8); }
.sh-lp--expired .sh-lphero__arc { color: var(--line); }
.sh-lp--expired .sh-lphero__art { filter: saturate(.25) opacity(.72); block-size: 168px; }
.sh-expired__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-block-size: 36px;
  padding-inline: var(--space-3);
  background: var(--warning-soft);
  color: var(--warning);
  border-radius: var(--radius-pill);
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  justify-self: start;
  margin-block-start: var(--space-3);
}
.sh-expired__badge .sh-icon { inline-size: 20px; block-size: 20px; }
.sh-expired__actions { display: grid; gap: var(--space-2); margin-block-start: var(--space-5); }
/* On phones the sticky bar already carries the same-service action. */
.sh-expired__actions .sh-btn--outline { display: none; }
@media (min-width: 900px) { .sh-expired__actions .sh-btn--outline { display: inline-flex; } }
@media (min-width: 600px) { .sh-expired__actions { grid-auto-flow: column; justify-content: start; } }
@media (min-width: 900px) { .sh-lp--expired .sh-lphero__art { block-size: 320px; } .sh-lp--expired .sh-lphero { padding-block-end: var(--space-16); } }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.sh-callhero { padding-block: var(--space-2) var(--space-6); }
/* The lead is one deep panel: the title, the number, the line for callers from abroad. */
.sh-callgrid { display: grid; gap: var(--space-4); }
.sh-callgrid__lead {
  --sh-call-ink: var(--on-accent);
  --sh-call-muted: color-mix(in srgb, var(--on-accent) 76%, var(--accent));
  --focus: var(--on-accent);
  position: relative;
  overflow: clip;
  isolation: isolate;
  margin-inline: calc(var(--sh-gutter) * -.5);
  padding: var(--space-8) var(--space-5) var(--space-6);
  background: var(--accent);
  color: var(--sh-call-ink);
  border-radius: var(--radius-xl);
}
/* Quiet rings in the far corner, like a call going out. */
.sh-callgrid__lead::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset-block-start: -140px;
  inset-inline-end: -140px;
  inline-size: 360px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--on-accent) 16%, transparent);
  box-shadow: 0 0 0 48px color-mix(in srgb, var(--on-accent) 4%, transparent), 0 0 0 49px color-mix(in srgb, var(--on-accent) 12%, transparent), 0 0 0 110px color-mix(in srgb, var(--on-accent) 3%, transparent);
}
[data-theme="dark"] .sh-callgrid__lead {
  --sh-call-ink: var(--ink);
  --sh-call-muted: var(--ink-muted);
  --focus: var(--accent);
  background: var(--surface-sunken);
  box-shadow: inset 0 0 0 1px var(--line);
}
[data-theme="dark"] .sh-callgrid__lead::before { border-color: var(--line); box-shadow: 0 0 0 48px color-mix(in srgb, var(--accent) 4%, transparent), 0 0 0 49px var(--line), 0 0 0 110px color-mix(in srgb, var(--accent) 3%, transparent); }
.sh-callgrid__lead .sh-head__eyebrow { color: var(--sh-call-muted); }
.sh-callgrid__lead .sh-pagehead__title { color: var(--sh-call-ink); }
.sh-callgrid__lead .sh-callhero__number { color: var(--sh-call-ink); }
.sh-callgrid__lead .sh-callhero__intl { color: var(--sh-call-muted); }
[data-theme="dark"] .sh-callgrid__lead .sh-callhero__number { color: var(--accent); }
.sh-visitsec { padding-block-start: var(--space-4); }
.sh-callhero__number {
  display: block;
  margin-block-start: var(--space-3);
  color: var(--accent);
  font-size: 52px;
  line-height: 64px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
  white-space: nowrap;
  transition: color var(--dur-2) var(--ease-out);
}
@media (hover: hover) {
  .sh-callhero__number:hover { color: var(--accent-strong); }
  .sh-callgrid__lead .sh-callhero__number:hover { color: var(--sh-call-muted); }
}
.sh-callhero__intl { font-size: 16px; line-height: 26px; color: var(--ink-muted); }
.sh-reach { display: grid; gap: var(--space-2); margin-block-start: var(--space-5); }
.sh-reach__item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 24px;
  align-items: center;
  gap: var(--space-3);
  min-block-size: 72px;
  padding: var(--space-3) var(--space-4);
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: transform var(--dur-1) var(--ease-out);
}
.sh-reach__item:active { transform: scale(.985); }
.sh-reach__icon { display: grid; place-items: center; inline-size: 48px; block-size: 48px; border-radius: var(--radius-md); background: var(--accent-soft); color: var(--on-accent-soft); }
.sh-reach__icon--wa { background: var(--whatsapp); color: var(--on-whatsapp); transition: background-color var(--dur-2) var(--ease-out); }
@media (hover: hover) { .sh-reach__item:hover .sh-reach__icon--wa { background: color-mix(in srgb, var(--whatsapp) 88%, black); } }
.sh-reach__item:active .sh-reach__icon--wa { background: color-mix(in srgb, var(--whatsapp) 76%, black); }
.sh-reach__icon--wa svg { fill: currentColor; stroke: none; }
.sh-reach__title { font-size: 18px; line-height: 26px; font-weight: 700; }
.sh-reach__text { color: var(--ink-muted); font-size: 14px; line-height: 22px; }
.sh-reach__go { color: var(--accent); }
@media (min-width: 900px) {
  .sh-callgrid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-4); align-items: stretch; }
  .sh-callgrid__lead { margin-inline: 0; padding: var(--space-12); display: flex; flex-direction: column; justify-content: end; }
  .sh-callgrid .sh-reach { grid-template-rows: repeat(3, minmax(0, 1fr)); }
  .sh-callgrid .sh-reach__item { min-block-size: 0; }
  .sh-callhero { padding-block: var(--space-12) var(--space-8); }
  .sh-callhero__number { font-size: 68px; line-height: 84px; }
  .sh-reach { margin-block-start: 0; }
}
@media (min-width: 1200px) { .sh-callhero__number { font-size: 96px; line-height: 112px; } }
@media (max-width: 379px) { .sh-callhero__number { font-size: 46px; } }

/* --------------------------------------------------------------------------
   About
   -------------------------------------------------------------------------- */

.sh-abouthero { position: relative; background: var(--hero); color: var(--on-hero); overflow: hidden; }
.sh-abouthero__mark {
  position: absolute;
  inset-block-start: -48px;
  inset-inline-end: -64px;
  block-size: 440px;
  inline-size: auto;
  max-inline-size: none;
  pointer-events: none;
}
.sh-abouthero__mark .a1 { fill: var(--facet-1); }
.sh-abouthero__mark .a2 { fill: color-mix(in srgb, var(--facet-2) 35%, var(--facet-3)); }
.sh-abouthero__mark .a3 { fill: color-mix(in srgb, var(--facet-3), var(--facet-4)); }
.sh-abouthero__mark .a4 { fill: var(--logo); }
.sh-abouthero__mark .a5 { fill: var(--facet-4); }
.sh-abouthero__inner { position: relative; display: grid; align-content: end; gap: var(--space-1); padding-block: 372px var(--space-8); }
.sh-abouthero__title { font-size: 44px; line-height: 56px; font-weight: 700; max-inline-size: 11ch; }
.sh-abouthero__lead { margin-block-start: var(--space-2); font-size: 18px; line-height: 30px; max-inline-size: 36ch; color: var(--on-hero-muted); }
.sh-abouthero__acts { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-block-start: var(--space-5); }
.sh-abouthero__acts .sh-btn--outline { border-color: currentColor; color: var(--on-hero); }
.sh-abouthero__facts { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-6); margin-block-start: var(--space-6); padding-block-start: var(--space-4); border-block-start: 1px solid color-mix(in srgb, var(--on-hero) 18%, transparent); max-inline-size: 560px; }
.sh-abouthero__fact { display: grid; gap: 2px; }
.sh-abouthero__fact strong { font-size: 28px; line-height: 36px; font-weight: 700; color: var(--on-hero); }
.sh-abouthero__fact span { font-size: 14px; line-height: 20px; color: var(--on-hero-muted); }
@media (min-width: 900px) {
  .sh-abouthero__inner { min-block-size: 680px; align-content: center; padding-block: var(--space-12); }
  .sh-abouthero__title { font-size: 64px; line-height: 76px; }
  .sh-abouthero__mark { inset-inline-end: -16%; block-size: 118%; inset-block-start: -9%; }
  .sh-abouthero__lead { max-inline-size: 42ch; font-size: 22px; line-height: 34px; }
}

@media (min-width: 1200px) {
  .sh-abouthero__title { font-size: 80px; line-height: 96px; }
  .sh-abouthero__mark { inset-inline-end: -2%; }
}

/* Principles: three cards, an icon in a navy disc, the number quiet in the corner. */
.sh-principles { display: grid; gap: var(--space-3); }
.sh-pcard {
  position: relative;
  display: grid;
  align-content: start;
  gap: var(--space-2);
  padding: var(--space-6) var(--space-5) var(--space-5);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow-card);
}
.sh-pcard__icon { display: inline-flex; align-items: center; justify-content: center; inline-size: 56px; block-size: 56px; margin-block-end: var(--space-2); border-radius: 18px; background: var(--brand-blue); color: #ffffff; }
.sh-pcard__icon .sh-icon { inline-size: 26px; block-size: 26px; }
[data-theme="dark"] .sh-pcard__icon { background: var(--brand-beige); color: var(--brand-navy); }
.sh-pcard__no { position: absolute; inset-block-start: var(--space-4); inset-inline-end: var(--space-5); font-size: 44px; line-height: 1; font-weight: 700; color: color-mix(in srgb, var(--accent) 14%, transparent); font-variant-numeric: tabular-nums; }
.sh-pcard__title { font-size: 22px; line-height: 32px; font-weight: 700; }
.sh-pcard__text { color: var(--ink-muted); font-size: 16px; line-height: 26px; text-wrap: pretty; }
@media (min-width: 900px) {
  .sh-principles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); }
  .sh-pcard { padding: var(--space-8) var(--space-6) var(--space-6); }
  .sh-pcard__title { font-size: 24px; line-height: 34px; }
  .sh-pcard__text { font-size: 17px; line-height: 28px; }
}
.sh-principle {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  column-gap: var(--space-3);
  padding-block: var(--space-6);
  border-block-end: 1px solid var(--line);
}
.sh-principle:first-child { border-block-start: 1px solid var(--line); }
.sh-principle__no { grid-row: span 2; font-size: 32px; line-height: 44px; font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; }
.sh-principle__title { font-size: 26px; line-height: 36px; font-weight: 700; }
.sh-principle__text { color: var(--ink-muted); font-size: 18px; line-height: 30px; margin-block-start: var(--space-1); text-wrap: pretty; }
@media (min-width: 900px) {
  .sh-principle { grid-template-columns: 120px minmax(0, 5fr) minmax(0, 6fr); column-gap: var(--space-6); align-items: baseline; padding-block: var(--space-8); }
  .sh-principle__no { grid-row: auto; font-size: 44px; line-height: 56px; }
  .sh-principle__title { font-size: 32px; line-height: 44px; }
  .sh-principle__text { margin-block-start: 0; }
}

/* --------------------------------------------------------------------------
   Dark grounds sit close together. Where a sunken surface would melt into the
   page or card, step to the next ground or add a hairline.
   -------------------------------------------------------------------------- */

[data-theme="dark"] .sh-expect__item:not(:first-child) { background: var(--surface); }
[data-theme="dark"] .sh-license,
[data-theme="dark"] .sh-empty { box-shadow: inset 0 0 0 1px var(--line); }
[data-theme="dark"] .sh-countdown__cell { background: var(--bg); }
[data-theme="dark"] .sh-svc:not(.sh-svc--feature) .sh-svc__art,
[data-theme="dark"] .sh-doctor__portrait { background: var(--accent-soft); }
[data-theme="dark"] .sh-lp--expired { --sh-lp-ground: var(--surface); }
[data-theme="dark"] .sh-lp--expired .sh-lphero { box-shadow: 0 1px 0 var(--line); }

/* island:start */
/* --------------------------------------------------------------------------
   The floating island: navigation and footer on every site page.
   Capsule on top, dock at the bottom, sheet for the rest, footer as an inset card.
   -------------------------------------------------------------------------- */

.sh-page--float {
  --sh-cap-top: var(--space-4);
  --sh-cap-h: 60px;
  --sh-cap-space: calc(var(--sh-cap-top) + var(--sh-cap-h));
  --sh-bar-h: var(--sh-cap-h);
  --sh-dock-h: 72px;
  --sh-dock-gap: max(var(--space-5), env(safe-area-inset-bottom, 0px));
  --sh-cta-h: 64px;
  --sh-float-gap: var(--space-2);
  --sh-island-inset: var(--space-4);
  --sh-wa-size: 52px;
  /* Whatever floats at the bottom: site.js measures this when it runs. */
  --sh-dock: 0px;
  /* At the end of the page nothing may rest under the dock, the action or WhatsApp. */
  padding-block-end: calc(var(--sh-dock) + var(--space-5) + var(--sh-wa-size) + var(--space-3));
}
.sh-page--float:has(.sh-dock) { --sh-dock: calc(var(--sh-dock-gap) + var(--sh-dock-h)); }
.sh-page--float:has(.sh-stickycta) { --sh-dock: calc(var(--space-4) + var(--sh-cta-h)); }
.sh-page--float:has(.sh-dock):has(.sh-stickycta) { --sh-dock: calc(var(--sh-dock-gap) + var(--sh-dock-h) + var(--sh-float-gap) + var(--sh-cta-h)); }

@media (min-width: 900px) {
  .sh-page--float {
    --sh-cap-top: var(--space-5);
    --sh-cap-h: 72px;
    --sh-dock: 0px;
    padding-block-end: var(--space-6);
  }
  .sh-page--float:has(.sh-dock),
  .sh-page--float:has(.sh-stickycta),
  .sh-page--float:has(.sh-dock):has(.sh-stickycta) { --sh-dock: 0px; }
}

/* Brand */

/* The whole logo, mark and name, is the logo colour: brand brown in light mode, beige in dark. */
.sh-brand {
  color: var(--logo);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  min-block-size: 44px;
  min-inline-size: 44px;
}
.sh-brand__mark { block-size: 34px; flex: none; color: var(--logo); }
.sh-brand__text { display: grid; min-inline-size: 0; }
.sh-brand__name {
  font-size: 13px;
  line-height: 16px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sh-brand__latin {
  font-size: 9.5px;
  line-height: 13px;
  font-weight: 500;
  letter-spacing: .08em;
  white-space: nowrap;
}
@media (min-width: 380px) { .sh-brand__name { font-size: 14px; line-height: 18px; } }
:lang(en) .sh-brand__name { font-size: 13px; line-height: 18px; letter-spacing: .02em; }
:lang(en) .sh-brand__latin { letter-spacing: 0; font-size: 11px; line-height: 14px; }

/* Capsule */

.sh-capsule {
  position: fixed;
  z-index: var(--sh-z-bar);
  inset-block-start: var(--sh-cap-top);
  inset-inline: 0;
  margin-inline: auto;
  inline-size: calc(100% - var(--sh-island-inset) * 2);
  max-inline-size: 720px;
  min-block-size: var(--sh-cap-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  padding-inline: var(--space-4) var(--space-2);
  background: var(--surface);
  color: var(--ink);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-card);
  view-transition-name: sh-topbar;
  transition: box-shadow var(--dur-2) var(--ease-out);
}
.sh-capsule.is-stuck { box-shadow: var(--shadow-pop); }
.sh-capsule--static { position: relative; inset: auto; view-transition-name: none; }
[data-theme="dark"] .sh-capsule { box-shadow: var(--shadow-card), inset 0 0 0 1px var(--line); }
[data-theme="dark"] .sh-capsule.is-stuck { box-shadow: var(--shadow-pop), inset 0 0 0 1px var(--line); }
/* Glass: the page shows, frosted, through the bar itself. Solid where the browser cannot blur. */
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .sh-capsule {
    background: color-mix(in srgb, var(--surface) 80%, transparent);
    -webkit-backdrop-filter: blur(18px) saturate(1.6);
    backdrop-filter: blur(18px) saturate(1.6);
    box-shadow: var(--shadow-card), inset 0 0 0 1px color-mix(in srgb, var(--surface) 70%, transparent);
  }
  .sh-capsule.is-stuck { box-shadow: var(--shadow-pop), inset 0 0 0 1px color-mix(in srgb, var(--surface) 70%, transparent); }
  [data-theme="dark"] .sh-capsule { background: color-mix(in srgb, var(--surface) 78%, transparent); box-shadow: var(--shadow-card), inset 0 0 0 1px var(--line); }
  [data-theme="dark"] .sh-capsule.is-stuck { box-shadow: var(--shadow-pop), inset 0 0 0 1px var(--line); }
}
@media (prefers-reduced-transparency: reduce) {
  .sh-capsule, [data-theme="dark"] .sh-capsule { background: var(--surface); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
/* The gap above the floating bar: once the page has moved, a band in the page colour fills it, so
   nothing scrolls by above the bar (client decision 2026-11-07). Physical left/width keep it
   centred in both directions; a fixed box adds no scroll width. */
.sh-capsule::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 100%;
  inline-size: 100vw;
  block-size: calc(var(--sh-cap-top) + 2px);
  transform: translateX(-50%);
  background: var(--bg);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-2) var(--ease-out);
}
.sh-capsule.is-stuck::before { opacity: 1; }
.sh-capsule--static::before { display: none; }
.sh-capsule .sh-iconbtn { border-radius: var(--radius-pill); }
.sh-capsule .sh-brand__mark { block-size: 37px; }
.sh-capsule .sh-brand__name { font-size: 15px; line-height: 20px; }
.sh-capsule .sh-brand__latin { display: none; }
.sh-capsule__links,
.sh-capsule__acts { display: none; }
.sh-capsule__book { min-block-size: 46px; padding-inline: var(--space-5); border-radius: var(--radius-pill); font-size: 15px; line-height: 22px; margin-inline-start: var(--space-2); }
.sh-capsule__link {
  display: inline-flex;
  align-items: center;
  min-block-size: 44px;
  padding-inline: var(--space-4);
  border-radius: var(--radius-pill);
  font-size: 15px;
  line-height: 22px;
  font-weight: 500;
  white-space: nowrap;
  transition: background-color var(--dur-2) var(--ease-out), color var(--dur-2) var(--ease-out), transform var(--dur-1) var(--ease-out);
}
.sh-capsule__link:active { transform: scale(.97); }
.sh-capsule__link[aria-current="page"] { background: var(--accent-soft); color: var(--on-accent-soft); font-weight: 600; }
@media (hover: hover) {
  .sh-capsule__link:not([aria-current="page"]):hover { color: var(--accent); }
}

@media (min-width: 900px) {
  /* As wide as the page content (.sh-container: 1344px less the gutters). */
  .sh-capsule { inline-size: calc(min(100%, 1344px) - var(--sh-gutter) * 2); max-inline-size: none; padding-inline: var(--space-6) var(--space-3); }
  .sh-capsule__links { display: flex; gap: var(--space-1); }
  .sh-capsule__acts { display: flex; align-items: center; gap: 2px; flex: none; }
  .sh-capsule__menu { display: none; }
  .sh-capsule__brand .sh-brand__text { display: none; }
  .sh-capsule__link { padding-inline: var(--space-3); font-size: 14px; }
}
@media (min-width: 1140px) {
  .sh-capsule__brand .sh-brand__text { display: grid; }
  .sh-capsule .sh-brand__latin { display: block; font-size: 10px; line-height: 14px; letter-spacing: .14em; }
  .sh-capsule__link { padding-inline: var(--space-4); font-size: 15px; }
}
:lang(en) .sh-capsule .sh-brand__latin { letter-spacing: 0; font-size: 11px; }

/* Content starts clear of the capsule, while grounds run under it. */
.sh-page--float .sh-pagehead,
.sh-page--float .sh-callhero { padding-block-start: calc(var(--sh-cap-space) + var(--space-5)); }
.sh-page--float .sh-dochero__grid { padding-block-start: calc(var(--sh-cap-space) + var(--space-4)); }
.sh-page--float .sh-svchero__grid,
.sh-page--float .sh-lphero__grid { padding-block-start: calc(var(--sh-cap-space) + var(--space-4)); }
@media (min-width: 900px) {
  .sh-page--float .sh-pagehead,
  .sh-page--float .sh-callhero,
  .sh-page--float .sh-dochero__grid,
  .sh-page--float .sh-svchero__grid,
  .sh-page--float .sh-lphero__grid,
  .sh-page--float .sh-abouthero__inner { padding-block-start: calc(var(--sh-cap-space) + var(--space-8)); }
  .sh-page--float .sh-lpside { inset-block-start: calc(var(--sh-cap-space) + var(--space-4)); }
  .sh-page--float .sh-aside { inset-block-start: calc(var(--sh-cap-space) + var(--space-4)); }
  .sh-page--float .sh-faq-layout .sh-head { inset-block-start: calc(var(--sh-cap-space) + var(--space-4)); }
}

/* Dock */

.sh-dock {
  position: fixed;
  z-index: var(--sh-z-bar);
  inset-block-end: var(--sh-dock-gap);
  inset-inline: 0;
  margin-inline: auto;
  inline-size: calc(100% - var(--sh-island-inset) * 2);
  max-inline-size: 520px;
  block-size: var(--sh-dock-h);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: center;
  padding-inline: var(--space-1);
  background: var(--surface);
  border-radius: 26px;
  box-shadow: var(--shadow-float);
  view-transition-name: sh-bottomnav;
}
[data-theme="dark"] .sh-dock { box-shadow: var(--shadow-float), inset 0 0 0 1px var(--line); }
.sh-dock__tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-block-size: 60px;
  border-radius: var(--radius-md);
  color: var(--ink-muted);
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  white-space: nowrap;
  transition: transform var(--dur-1) var(--ease-out), color var(--dur-2) var(--ease-out);
}
.sh-dock__tab .sh-icon { inline-size: 22px; block-size: 22px; }
.sh-dock__tab:active { transform: scale(.95); }
.sh-dock__tab[aria-current="page"] { color: var(--accent); font-weight: 700; }
.sh-dock__book {
  justify-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  inline-size: 62px;
  block-size: 62px;
  margin-block-start: -22px;
  background: var(--accent);
  color: var(--on-accent);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-float);
  font-size: 12px;
  line-height: 16px;
  font-weight: 700;
  transition: transform var(--dur-1) var(--ease-out), background-color var(--dur-2) var(--ease-out);
}
.sh-dock__book .sh-icon { inline-size: 22px; block-size: 22px; }
.sh-dock__book:active { transform: scale(.97); }
@media (hover: hover) { .sh-dock__book:hover { background: var(--accent-strong); } }
/* A sticky action rests just above: the book tile comes down so the two never touch. */
.sh-page--float:has(.sh-stickycta) .sh-dock__book { inline-size: 56px; block-size: 56px; margin-block-start: 0; box-shadow: none; }
@media (min-width: 900px) { .sh-dock { display: none; } }

/* Sticky action as an island above the dock */
.sh-page--float .sh-stickycta {
  inset-inline: 0;
  margin-inline: auto;
  inline-size: calc(100% - var(--sh-island-inset) * 2);
  max-inline-size: 520px;
  inset-block-end: var(--space-4);
  min-block-size: var(--sh-cta-h);
  padding: var(--space-2) var(--space-2) var(--space-2) var(--space-2);
  padding-inline-start: var(--space-4);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-float);
}
[data-theme="dark"] .sh-page--float .sh-stickycta { box-shadow: var(--shadow-float), inset 0 0 0 1px var(--line); }
.sh-page--float:has(.sh-dock) .sh-stickycta { inset-block-end: calc(var(--sh-dock-gap) + var(--sh-dock-h) + var(--sh-float-gap)); padding-block-end: var(--space-2); }
.sh-page--float .sh-stickycta .sh-btn { min-block-size: 48px; }
.sh-page--float .sh-stickycta__btn--only { margin-inline-start: calc(var(--space-2) * -1); }

/* WhatsApp rests at the inline start at every width, clear of everything docked */
.sh-page--float .sh-wa {
  inset-inline: var(--space-4) auto;
  inset-block-end: calc(var(--sh-dock) + var(--space-5));
  min-inline-size: var(--sh-wa-size);
  min-block-size: var(--sh-wa-size);
}
.sh-page--float:has(.sh-stickycta) .sh-wa { inset-block-end: calc(var(--sh-dock) + var(--space-3)); }

/* The offer landing ends in its own footer, which carries the room for the floats. */
.sh-page--float .sh-lphero { padding-block-end: var(--space-12); }
.sh-page--float .sh-lphero__art { block-size: 132px; margin-block-start: var(--space-1); }
.sh-page--float .sh-lphero__title { margin-block-start: var(--space-1); }
.sh-page--float .sh-lphero__service { margin-block-start: 0; }
.sh-page--float .sh-pricecard { gap: var(--space-3); margin-block-start: calc(var(--space-8) * -1); padding: var(--space-4) var(--space-5); }
@media (min-width: 900px) {
  .sh-page--float .sh-lphero { padding-block-end: calc(var(--space-24) + var(--space-8)); }
  .sh-page--float .sh-lphero__art { block-size: 400px; margin-block-start: 0; }
  .sh-page--float .sh-pricecard { gap: var(--space-4); margin-block-start: 0; padding: var(--space-6); }
}
.sh-page--float.sh-lp--expired .sh-lphero { padding-block-end: var(--space-8); }
.sh-page--float.sh-lp--expired .sh-lphero__art { block-size: 168px; }
@media (min-width: 900px) {
  .sh-page--float.sh-lp--expired .sh-lphero { padding-block-end: var(--space-16); }
  .sh-page--float.sh-lp--expired .sh-lphero__art { block-size: 320px; }
}

/* The live tooth: canvas fades in over the poster, then the poster is taken away. */
.sh-tooth__canvas { opacity: 0; transition: opacity var(--dur-3) var(--ease-out); -webkit-mask-image: linear-gradient(to bottom, currentColor 90%, transparent); mask-image: linear-gradient(to bottom, currentColor 90%, transparent); }
.sh-tooth.is-live .sh-tooth__canvas { opacity: 1; }
.sh-tooth.is-live .sh-tooth__poster { opacity: 1; }
.sh-tooth.is-settled .sh-tooth__poster { visibility: hidden; }

/* The implant, taken apart and named. Labels sit at the height of each part. */
.sh-parts {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-block-start: var(--space-2);
}
/* The box is wide enough that the engine frames every chapter by height, as its poster is. Its sides are
   empty, so the margins let the labels and the page edge overlap them and leave the labels clear of the crown. */
.sh-parts__art { position: relative; inline-size: 302px; block-size: 400px; margin-inline: -51px -40px; }
@media (max-width: 379px) { .sh-parts__art { inline-size: 272px; block-size: 360px; margin-inline: -47px -40px; } }
.sh-parts__list { position: relative; }
.sh-parts__item {
  position: absolute;
  inset-block-start: calc(var(--y) * 1%);
  inset-inline: 0;
  transform: translateY(-50%);
  padding-inline-end: var(--space-3);
  border-inline-end: 1.5px solid currentColor;
  text-align: end;
  font-size: 13px;
  line-height: 20px;
  color: var(--on-hero-muted);
}
.sh-parts__name { display: block; font-size: 16px; line-height: 24px; font-weight: 700; color: var(--on-hero); }
.sh-parts__toggle {
  grid-column: 1 / -1;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-block-size: 44px;
  padding-inline: var(--space-3) var(--space-4);
  margin-block-start: var(--space-1);
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--ink);
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: transform var(--dur-1) var(--ease-out);
}
.sh-parts__toggle .sh-icon { inline-size: 20px; block-size: 20px; color: var(--accent); }
.sh-parts__toggle:active { transform: scale(.97); }
@media (min-width: 900px) {
  .sh-parts { grid-column: 2; grid-row: 1; margin-block-start: 0; justify-self: end; inline-size: min(100%, 560px); }
  .sh-parts__art { inline-size: 340px; block-size: 450px; margin-inline: -55px -24px; }
  .sh-parts__item { font-size: 14px; line-height: 22px; }
  .sh-parts__name { font-size: 18px; line-height: 28px; }
}

@media (min-width: 1200px) { .sh-parts__art { inline-size: 408px; block-size: 540px; margin-inline: -60px 0; } }

/* Offers: six cards fill the grid. A filter shows plain equal cards. */
.sh-offer__ends { position: relative; }
/* Inline-block, so the dashed underline counts in the layout and never touches the date. */
.sh-offer__price .sh-ph { display: inline-block; line-height: 1.15; padding-block-end: 2px; }
@media (min-width: 600px) and (max-width: 1199px) {
  .sh-offer-grid > :last-child:nth-child(even):not(:first-child) { grid-column: 1 / -1; }
}
.sh-offer-grid.is-filtered > * { grid-column: auto !important; grid-row: auto !important; }
/* One offer takes the row instead of leaving an empty column beside it. */
.sh-offer-grid > :only-child { grid-column: 1 / -1 !important; grid-row: auto !important; }
/* Four offers on a wide screen: the fourth takes the row under the feature group. */
@media (min-width: 1200px) { .sh-offer-grid:not(.is-filtered) > :nth-child(4):last-child { grid-column: 1 / -1; } }
.sh-offer-grid.is-filtered > :first-child .sh-offer__art { inline-size: 124px; block-size: 136px; }
.sh-offer-grid.is-filtered > :first-child .sh-offer__title { font-size: 26px; line-height: 36px; }
.sh-offer-grid.is-filtered > :first-child .sh-offer__price { font-size: 32px; line-height: 44px; }
.sh-offer-grid[data-sh-filter-grid] > .sh-offer--feature { padding-block-end: var(--space-5); }

/* --------------------------------------------------------------------------
   Offer photos (offers[].photo, set in the dashboard's offer editor). A real scene leads the
   card edge to edge, with the saving on it; the drawing's corner space goes back to the text.
   A wide feature card puts the photo on its end half. Offers without a photo keep the drawing.
   -------------------------------------------------------------------------- */

.sh-offer--photo .sh-offer__art,
.sh-offer-grid.is-filtered > .sh-offer--photo:first-child .sh-offer__art {
  position: relative;
  inset: auto;
  inline-size: auto;
  block-size: auto;
  margin: calc(var(--space-5) * -1) calc(var(--space-5) * -1) var(--space-1);
  aspect-ratio: 16 / 10;
  background: var(--surface-sunken);
}
.sh-offer__photo { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; max-inline-size: none; object-fit: cover; object-position: center 30%; transition: transform var(--dur-2) var(--ease-out); }
@media (hover: hover) { .sh-offer--photo:hover .sh-offer__photo { transform: scale(1.03); } }
.sh-offer--photo .sh-offer__service,
.sh-offer--photo .sh-offer__title { padding-inline-end: 0; }
.sh-offers-rail .sh-offer--photo .sh-offer__title { min-block-size: 0; }
/* The saving sits on the photo's top corner. */
.sh-offer--photo .sh-offer__save { position: absolute; z-index: 1; inset-block-start: var(--space-3); inset-inline-start: var(--space-3); box-shadow: 0 4px 14px rgb(0 0 0 / .18); }
@media (min-width: 900px) {
  .sh-offer--photo .sh-offer__art,
  .sh-offer-grid.is-filtered > .sh-offer--photo:first-child .sh-offer__art { margin: calc(var(--space-6) * -1) calc(var(--space-6) * -1) var(--space-1); }
  .sh-offer--photo .sh-offer__save { inset-block-start: var(--space-4); inset-inline-start: var(--space-4); }
}

/* A wide, short feature offer, and one offer alone on the home page: words on one half, the photo
   on the other. From 1200px the feature is tall (two rows), so its photo leads from the top. */
@media (min-width: 600px) and (max-width: 1199.98px) {
  .sh-offer-grid:not(.is-filtered) > .sh-offer--photo:first-child { padding-inline-end: calc(46% + var(--space-6)); min-block-size: 380px; }
  .sh-offer-grid:not(.is-filtered) > .sh-offer--photo:first-child .sh-offer__art { position: absolute; margin: 0; inset-block: 0; inset-inline-end: 0; inline-size: 46%; block-size: auto; aspect-ratio: auto; }
  .sh-offer-grid:not(.is-filtered) > .sh-offer--photo:first-child .sh-offer__save { position: static; box-shadow: none; }
}
@media (min-width: 900px) {
  .sh-offers-rail > .sh-offer--photo:only-child { padding-inline-end: calc(46% + var(--space-12)); }
  .sh-offers-rail > .sh-offer--photo:only-child .sh-offer__art { position: absolute; margin: 0; inset-block: 0; inset-inline-end: 0; inline-size: 46%; block-size: auto; aspect-ratio: auto; }
  .sh-offers-rail > .sh-offer--photo:only-child .sh-offer__title,
  .sh-offers-rail > .sh-offer--photo:only-child .sh-offer__foot { padding-inline-end: 0; }
  .sh-offers-rail > .sh-offer--photo:only-child .sh-offer__save { position: static; box-shadow: none; }
}
@media (min-width: 1200px) {
  /* The tall feature: the photo takes the room the words leave, the words sit under it. */
  .sh-offer-grid > .sh-offer--photo:first-child .sh-offer__art { flex: 1 1 auto; inline-size: auto; block-size: auto; min-block-size: 360px; aspect-ratio: auto; }
  .sh-offer-grid.is-filtered > .sh-offer--photo:first-child .sh-offer__art { aspect-ratio: 16 / 10; }
}

/* The offer page: the photo stands in the hero as a framed picture. */
.sh-lphero__art--photo,
.sh-page--float .sh-lphero__art--photo {
  block-size: auto;
  aspect-ratio: 4 / 3;
  margin-block-start: var(--space-5);
  border-radius: var(--radius-xl);
  background: color-mix(in srgb, var(--sh-lp-ink) 10%, transparent);
  box-shadow: 0 28px 60px -28px rgb(0 0 0 / .5);
}
.sh-lphero__photo { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; max-inline-size: none; object-fit: cover; object-position: center 30%; }
@media (min-width: 900px) {
  .sh-lphero--photo .sh-lphero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 520px); }
  .sh-lphero__art--photo,
  .sh-page--float .sh-lphero__art--photo { block-size: 440px; aspect-ratio: auto; margin-block-start: 0; }
}
.sh-symptoms--rail .sh-chip[data-filter] { flex: none; }

/* Offer landing in dark: the warm hero ground, not the brightest block. */
[data-theme="dark"] .sh-lp:not(.sh-lp--expired) { --sh-lp-ground: var(--hero); --sh-lp-ink: var(--on-hero); }
[data-theme="dark"] .sh-lp:not(.sh-lp--expired) .sh-lphero__arc { color: color-mix(in srgb, var(--accent) 16%, transparent); }

/* Countdown past its date */
.sh-countdown.is-ended .sh-countdown__cells { display: none; }
.sh-countdown.is-ended .sh-countdown__head { color: var(--warning); font-weight: 600; }
.sh-countdown.is-ended .sh-countdown__head .sh-icon { color: currentColor; }

/* WhatsApp from 900px is a round, icon-only button in the start gutter, and steps aside where it would cover an action. */
.sh-wa.is-yielding { opacity: 0; pointer-events: none; }
@media (min-width: 900px) {
  .sh-page--float .sh-wa,
  .sh-page--float:has(.sh-stickycta) .sh-wa { padding: 0; inset-inline: var(--space-5) auto; inset-block-end: var(--space-5); }
  .sh-page--float .sh-wa__label { display: none; }
}
@media (min-width: 900px) and (max-width: 1343px) {
  .sh-page--float { padding-block-end: calc(var(--space-6) + var(--sh-wa-size) + var(--space-5)); }
}

/* The international number is longer than the local one, so it steps down to stay on screen. */
:lang(en) .sh-callhero__number { font-size: clamp(32px, 10.4vw, 40px); line-height: 52px; }
:lang(en) .sh-abouthero__title { max-inline-size: 15ch; line-height: 52px; }
@media (min-width: 900px) {
  :lang(en) .sh-callhero__number { font-size: 52px; line-height: 64px; }
  :lang(en) .sh-abouthero__title { line-height: 70px; }
}
@media (min-width: 1200px) {
  :lang(en) .sh-callhero__number { font-size: 72px; line-height: 84px; }
  :lang(en) .sh-abouthero__title { line-height: 86px; }
}

/* Draft notes, blog, article, privacy */
.sh-draft {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  margin-block-start: var(--space-3);
  padding: var(--space-2) var(--space-3);
  background: var(--surface-sunken);
  color: var(--ink-muted);
  border-radius: var(--radius-md);
  font-size: 14px;
  line-height: 22px;
  max-inline-size: 64ch;
}
[data-theme="dark"] .sh-draft { box-shadow: inset 0 0 0 1px var(--line); }
.sh-draft .sh-icon { inline-size: 20px; block-size: 20px; margin-block-start: 1px; }
.sh-draft--strong { background: var(--warning-soft); color: var(--warning); font-weight: 500; }
.sh-posts { display: grid; gap: var(--space-3); }
.sh-post {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: var(--space-3);
  padding: var(--space-3);
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: transform var(--dur-1) var(--ease-out), box-shadow var(--dur-2) var(--ease-out);
}
.sh-post:active { transform: scale(.985); }
@media (hover: hover) { .sh-post:hover { box-shadow: var(--shadow-pop); } }
.sh-post__art { block-size: 104px; padding: var(--space-2); background: var(--hero); border-radius: var(--radius-md); }
[data-theme="dark"] .sh-post:not(.sh-post--feature) .sh-post__art { background: var(--accent-soft); }
.sh-post__body { display: grid; align-content: start; gap: var(--space-1); }
.sh-post__cat { color: var(--accent); font-size: 12px; line-height: 18px; font-weight: 600; }
.sh-post__title { font-size: 18px; line-height: 26px; font-weight: 700; text-wrap: balance; }
.sh-post__text { color: var(--ink-muted); font-size: 14px; line-height: 22px; text-wrap: pretty; }
.sh-post__date { color: var(--ink-muted); font-size: 12px; line-height: 18px; font-weight: 500; }
.sh-pagehead .sh-post__date { margin-block-start: var(--space-3); }
.sh-post--feature { grid-template-columns: minmax(0, 1fr); padding: var(--space-5); background: var(--hero); color: var(--on-hero); box-shadow: none; }
.sh-post--feature .sh-post__art { block-size: 220px; background: none; clip-path: none; padding: 0; }
.sh-post--feature .sh-post__title { font-size: 26px; line-height: 36px; }
.sh-post--feature .sh-post__text, .sh-post--feature .sh-post__date { color: var(--on-hero-muted); }
.sh-post--feature .sh-post__cat { color: var(--on-hero); }
@media (min-width: 900px) {
  .sh-posts { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--space-5); }
  .sh-post { grid-column: span 4; grid-template-columns: minmax(0, 1fr); padding: var(--space-5); }
  .sh-post__art { block-size: 176px; }
  .sh-post--feature { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: var(--space-8); align-items: center; }
  .sh-post--feature .sh-post__art { block-size: 320px; order: 2; }
  .sh-post--feature .sh-post__title { font-size: 40px; line-height: 54px; }
  :lang(en) .sh-post--feature .sh-post__title { line-height: 46px; letter-spacing: -.02em; }
}
.sh-article { display: grid; gap: var(--space-8); max-inline-size: 66ch; }
.sh-article__sec { display: grid; gap: var(--space-3); scroll-margin-block-start: calc(var(--sh-cap-space) + var(--space-4)); }
.sh-article__sec p { font-size: 18px; line-height: 30px; color: var(--ink-muted); text-wrap: pretty; }
.sh-article__sec a { display: inline-flex; align-items: center; min-block-size: 44px; color: var(--accent); font-weight: 600; }
.sh-article__sec .sh-sub { margin-block-end: 0; }
.sh-article__art { block-size: 240px; margin-block-end: var(--space-8); padding: var(--space-5); background: var(--hero); border-radius: var(--radius-lg); }
.sh-article__title { max-inline-size: 18ch; }
:lang(en) .sh-pagehead__title { letter-spacing: -.02em; line-height: 50px; }
@media (min-width: 900px) {
  .sh-article__art { block-size: 360px; }
  :lang(en) .sh-pagehead__title { line-height: 68px; }
}
.sh-doclayout { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-6); padding-block-end: var(--space-12); }
.sh-toc ul { display: flex; gap: var(--space-2); overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--sh-gutter) * -1); padding-inline: var(--sh-gutter); }
.sh-toc ul::-webkit-scrollbar { display: none; }
.sh-toc__link {
  display: inline-flex;
  align-items: center;
  min-block-size: 44px;
  padding-inline: var(--space-4);
  background: var(--surface);
  border-radius: var(--radius-pill);
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  white-space: nowrap;
}
@media (min-width: 900px) {
  .sh-doclayout { grid-template-columns: 260px minmax(0, 1fr); column-gap: var(--space-12); align-items: start; }
  .sh-toc { position: sticky; inset-block-start: calc(var(--sh-cap-space) + var(--space-5)); }
  .sh-toc ul { flex-direction: column; overflow: visible; margin-inline: 0; padding-inline: 0; gap: var(--space-1); }
  .sh-toc__link { background: none; box-shadow: none; padding-inline: var(--space-3); border-radius: var(--radius-md); white-space: normal; }
}

/* Menu sheet */

.sh-menu {
  position: fixed;
  inset-block: auto 0;
  inset-inline: 0;
  margin: 0 auto;
  inline-size: 100%;
  max-inline-size: 560px;
  max-block-size: 90svh;
  padding: var(--space-2) var(--space-5) calc(var(--space-6) + env(safe-area-inset-bottom, 0px));
  border: 0;
  border-start-start-radius: var(--radius-xl);
  border-start-end-radius: var(--radius-xl);
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-pop);
  overflow-y: auto;
  overscroll-behavior: contain;
  --sh-menu-y: 0px;
  --sh-menu-scrim: 1;
  transform: translateY(var(--sh-menu-y));
}
.sh-menu[open] { display: flex; flex-direction: column; gap: var(--space-4); }
[data-theme="dark"] .sh-menu { box-shadow: var(--shadow-pop), inset 0 1px 0 var(--line); }
.sh-menu::backdrop {
  background: color-mix(in srgb, var(--brand-ink) 42%, transparent);
  opacity: var(--sh-menu-scrim);
}
[data-theme="dark"] .sh-menu::backdrop { background: color-mix(in srgb, var(--brand-ink) 62%, transparent); }
.sh-menu[open]:not(.is-dragging):not(.is-closing) { animation: sh-menu-up var(--dur-3) var(--ease-out); }
.sh-menu[open]::backdrop { animation: sh-fade var(--dur-2) var(--ease-out); }
.sh-menu.is-settling { transition: transform var(--dur-2) var(--ease-out); }
.sh-menu.is-closing { transform: translateY(100%); transition: transform var(--dur-2) var(--ease-in-out); }
.sh-menu.is-closing::backdrop { opacity: 0; transition: opacity var(--dur-2) var(--ease-in-out); }
@keyframes sh-menu-up { from { transform: translateY(100%); } }
@keyframes sh-fade { from { opacity: 0; } }

.sh-menu__grab {
  display: grid;
  place-items: center;
  inline-size: 100%;
  min-block-size: 28px;
  flex: none;
  cursor: grab;
  touch-action: none;
}
.sh-menu__grab span { display: block; inline-size: 44px; block-size: 5px; border-radius: var(--radius-pill); background: var(--line-strong); }
.sh-menu__tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.sh-menu__tile {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-2);
  min-block-size: 92px;
  padding: 14px;
  background: var(--surface-sunken);
  border-radius: var(--radius-lg);
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  transition: transform var(--dur-1) var(--ease-out), background-color var(--dur-2) var(--ease-out);
}
.sh-menu__tile .sh-icon { color: var(--accent); }
.sh-menu__tile:active { transform: scale(.97); }
.sh-menu__tile[aria-current="page"] { background: var(--accent-soft); color: var(--on-accent-soft); }
@media (hover: hover) { .sh-menu__tile:not([aria-current="page"]):hover { background: var(--line); } }
[data-theme="dark"] .sh-menu__tile:not([aria-current="page"]) { box-shadow: inset 0 0 0 1px var(--line); }
.sh-menu__row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); font-size: 14px; line-height: 20px; font-weight: 500; }
.sh-menu__seg { display: flex; gap: 6px; flex: none; }
.sh-menu__pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-block-size: 44px;
  min-inline-size: 44px;
  padding-inline: var(--space-4);
  border-radius: var(--radius-pill);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  transition: transform var(--dur-1) var(--ease-out);
}
.sh-menu__pill:active { transform: scale(.97); }
.sh-menu__pill .sh-theme__moon { display: inline; }
.sh-menu__pill .sh-theme__sun { display: none; }
[data-theme="dark"] .sh-menu__pill .sh-theme__moon { display: none; }
[data-theme="dark"] .sh-menu__pill .sh-theme__sun { display: inline; }
.sh-menu__book { min-block-size: 54px; border-radius: var(--radius-pill); }
/* Shown open inside documentation */
.sh-menu--inline { position: relative; inset: auto; display: flex; flex-direction: column; gap: var(--space-4); margin: 0; transform: none; box-shadow: var(--shadow-pop); }
@media (min-width: 900px) { .sh-menu[open] { inset-block-end: var(--space-6); border-radius: var(--radius-xl); } }

/* Footer */

.sh-foot {
  position: relative;
  margin: var(--space-3);
  padding: var(--space-6) var(--space-5) var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  background: var(--hero);
  color: var(--on-hero);
  border-radius: var(--radius-xl);
}
[data-theme="dark"] .sh-foot { box-shadow: inset 0 0 0 1px var(--line); }
.sh-foot__title { font-size: 26px; line-height: 36px; font-weight: 700; text-wrap: balance; }
:lang(en) .sh-foot__title { letter-spacing: -.01em; line-height: 32px; }
.sh-foot__sub { margin-block-start: var(--space-1); color: var(--on-hero-muted); font-size: 14px; line-height: 22px; }
.sh-foot__cta { display: flex; flex-direction: column; gap: var(--space-4); }
.sh-foot__acts { display: flex; flex-direction: column; gap: var(--space-2); }
.sh-foot__acts .sh-btn { white-space: normal; }
.sh-foot__wa { border-color: var(--on-hero-muted); color: var(--on-hero); }
.sh-foot__cols { display: flex; flex-direction: column; }
.sh-foot__about { margin-block-end: var(--space-4); }
.sh-foot__about .sh-brand__mark { color: var(--logo); block-size: 37px; }
.sh-foot__about .sh-brand__name { font-size: 15px; line-height: 20px; font-weight: 700; white-space: normal; }
.sh-foot__tag { margin-block-start: var(--space-2); color: var(--on-hero-muted); font-size: 14px; line-height: 23px; max-inline-size: 42ch; text-wrap: pretty; }
.sh-foot__acc { border-block-start: 1px solid color-mix(in srgb, var(--on-hero) 16%, transparent); }
.sh-foot__sum {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-block-size: 52px;
  list-style: none;
  cursor: pointer;
}
.sh-foot__sum::-webkit-details-marker { display: none; }
.sh-foot__sum .sh-icon { transition: transform var(--dur-2) var(--ease-out); }
.sh-foot__acc[open] .sh-foot__sum .sh-icon { transform: rotate(180deg); }
.sh-foot__h { font-size: 15px; line-height: 22px; font-weight: 600; }
.sh-foot__list { display: grid; color: var(--on-hero-muted); font-size: 14px; line-height: 22px; }
.sh-foot__acc .sh-foot__list { padding-block-end: var(--space-2); }
.sh-foot__link {
  display: flex;
  align-items: center;
  min-block-size: 44px;
  color: inherit;
  transition: color var(--dur-2) var(--ease-out);
}
@media (hover: hover) { .sh-foot__link:hover { color: var(--accent-strong); } [data-theme="dark"] .sh-foot__link:hover { color: var(--accent); } }
.sh-foot__link--strong { color: var(--on-hero); font-weight: 600; font-size: 16px; justify-content: flex-end; }
.sh-foot__link--strong:dir(ltr) { justify-content: flex-start; }
.sh-foot__visit { padding-block-start: var(--space-3); border-block-start: 1px solid color-mix(in srgb, var(--on-hero) 16%, transparent); }
.sh-foot__visit .sh-foot__h { margin-block-end: var(--space-1); }
.sh-foot__city { color: var(--on-hero); font-weight: 600; padding-block: var(--space-1); }
.sh-foot__addr { padding-block: var(--space-1); max-inline-size: 40ch; }
.sh-foot__social { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-block-start: var(--space-3); }
.sh-foot__soc {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  inline-size: 44px;
  block-size: 44px;
  border-radius: var(--radius-pill);
  color: var(--on-hero);
  background: color-mix(in srgb, var(--on-hero) 10%, transparent);
}
.sh-foot__soc .sh-icon { inline-size: 20px; block-size: 20px; }
.sh-foot__socmark { inline-size: 20px; block-size: 20px; fill: currentColor; }
@media (hover: hover) {
  .sh-foot__soc:hover { color: var(--accent-strong); }
  [data-theme="dark"] .sh-foot__soc:hover { color: var(--accent); }
}
.sh-foot__hours { padding-block: var(--space-2); }
.sh-foot__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 var(--space-3);
  padding-block-start: var(--space-3);
  border-block-start: 1px solid color-mix(in srgb, var(--on-hero) 16%, transparent);
  color: var(--on-hero-muted);
  font-size: 12px;
  line-height: 18px;
}
.sh-foot__legal a { display: inline-flex; align-items: center; min-block-size: 44px; color: var(--on-hero); text-decoration: underline; text-underline-offset: 3px; }
.sh-foot__disc { flex-basis: 100%; }
@media (min-width: 600px) {
  .sh-foot { margin: var(--space-4); padding: var(--space-8); }
  .sh-foot__acts { flex-direction: row; flex-wrap: wrap; }
}
@media (min-width: 900px) {
  .sh-foot { margin: var(--space-6); padding: var(--space-12) var(--space-12) var(--space-6); gap: var(--space-8); }
  .sh-foot__cta { flex-direction: row; align-items: center; justify-content: space-between; gap: var(--space-6); padding-block-end: var(--space-6); border-block-end: 1px solid color-mix(in srgb, var(--on-hero) 16%, transparent); }
  .sh-foot__title { font-size: 32px; line-height: 44px; }
  .sh-foot__sub { font-size: 16px; line-height: 26px; }
  .sh-foot__acts { flex: none; flex-wrap: nowrap; }
  .sh-foot__acts .sh-btn { white-space: nowrap; }
  .sh-foot__cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: var(--space-8); }
  .sh-foot__about { margin-block-end: 0; }
  .sh-foot__acc, .sh-foot__visit { border-block-start: 0; padding-block-start: 0; }
  .sh-foot__sum { min-block-size: 0; cursor: default; margin-block-end: var(--space-2); }
  .sh-foot__sum .sh-icon { display: none; }
  .sh-foot__visit .sh-foot__h { margin-block-end: var(--space-2); }
  .sh-foot__link { min-block-size: 32px; }
  .sh-foot__acc .sh-foot__list { padding-block-end: 0; }
  .sh-foot__legal { justify-content: space-between; }
  .sh-foot__disc { flex-basis: auto; margin-inline-start: auto; }
}
/* Tablet: four columns are tight, so the about block takes its own row. */
@media (min-width: 900px) and (max-width: 1139px) {
  .sh-foot__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sh-foot__about { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  .sh-capsule__link:active, .sh-dock__tab:active, .sh-dock__book:active, .sh-menu__tile:active, .sh-menu__pill:active { transform: none; }
  .sh-menu[open]:not(.is-dragging):not(.is-closing), .sh-menu[open]::backdrop { animation: none; }
  .sh-menu.is-closing, .sh-menu.is-closing::backdrop, .sh-menu.is-settling { transition: none; }
}

/* island:end */

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .sh-mark.is-folding path { animation: none; }
  .sh-iconbtn:active, .sh-offer:active, .sh-svc:active, .sh-reach__item:active, .sh-link:active { transform: none; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}

/* ---------- Cases: before and after (home stage, doctor gallery, viewer) ----------
   One comparison (.sh-rv): "before" under, "after" clipped to the share in --p (0..1), the line and
   its handle on the edge. "Before" sits on the reading start, so in Arabic it is on the right. */
.sh-rv { --p: .5; position: relative; overflow: hidden; isolation: isolate; border-radius: var(--radius-xl); background: #0b1222; touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: ew-resize; }
.sh-rv img { display: block; inline-size: 100%; block-size: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.sh-rv__b { position: absolute; inset: 0; }
.sh-rv__a { position: absolute; inset: 0; clip-path: inset(0 calc((1 - var(--p)) * 100%) 0 0); }
.sh-rv:dir(ltr) .sh-rv__a { clip-path: inset(0 0 0 calc((1 - var(--p)) * 100%)); }
.sh-rv__line { position: absolute; inset-block: 0; left: calc(var(--p) * 100%); z-index: 2; inline-size: 2px; margin-left: -1px; background: var(--brand-beige); box-shadow: 0 0 12px 2px rgba(225, 205, 182, .65), 0 0 40px 6px rgba(225, 205, 182, .25); pointer-events: none; }
.sh-rv:dir(ltr) .sh-rv__line { left: calc((1 - var(--p)) * 100%); }
.sh-rv__line::after { content: ""; position: absolute; left: -3px; inline-size: 8px; block-size: 90px; inset-block-start: -90px; border-radius: 8px; background: linear-gradient(transparent, #fff, transparent); opacity: 0; }
.sh-rv.is-sweeping .sh-rv__line::after { animation: sh-rv-glint 1.1s var(--ease-in-out); }
@keyframes sh-rv-glint { 0% { inset-block-start: -90px; opacity: 0; } 20% { opacity: 1; } 100% { inset-block-start: 100%; opacity: 0; } }
.sh-rv__knob { position: absolute; inset-block-start: 50%; left: 50%; display: grid; place-items: center; inline-size: 52px; block-size: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: var(--brand-beige); color: var(--brand-navy); box-shadow: 0 6px 20px rgba(0, 0, 0, .35); transition: transform var(--dur-2) var(--ease-out); }
.sh-rv__knob svg { inline-size: 26px; block-size: 26px; }
.sh-rv.is-drag .sh-rv__knob { transform: scale(1.12); }
.sh-rv__tag { position: absolute; inset-block-start: 14px; z-index: 3; padding: 4px 12px; border-radius: var(--radius-pill); background: rgba(17, 30, 57, .66); color: #fff; font-size: 13px; line-height: 20px; font-weight: 600; backdrop-filter: blur(6px); pointer-events: none; }
.sh-rv__tag--b { inset-inline-start: 14px; opacity: calc(1.6 - var(--p) * 2); }
.sh-rv__tag--a { inset-inline-end: 14px; background: rgba(225, 205, 182, .94); color: var(--brand-navy); opacity: calc(var(--p) * 2 - .4); }
.sh-rv__hint { position: absolute; inset-block-end: 14px; left: 50%; z-index: 3; transform: translateX(-50%); padding: 4px 12px; border-radius: var(--radius-pill); background: rgba(0, 0, 0, .5); color: #fff; font-size: 12px; line-height: 18px; white-space: nowrap; pointer-events: none; transition: opacity .4s; }
.sh-rv.is-touched .sh-rv__hint { opacity: 0; }
.sh-rv__range { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; margin: 0; opacity: 0; pointer-events: none; }
.sh-rv:has(.sh-rv__range:focus-visible) { outline: 3px solid var(--brand-beige); outline-offset: 3px; }

/* Home: every doctor at once, two cases each, on the page's own ground: one card per doctor. */
.sh-cases { padding-block: var(--space-8); }
.sh-cases__head { position: relative; z-index: 2; max-inline-size: 640px; margin-inline: auto; text-align: center; }
.sh-cases__eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-size: 13px; line-height: 20px; font-weight: 600; }
.sh-cases__eyebrow i { inline-size: 8px; block-size: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); animation: sh-cases-pulse 2s infinite; }
@keyframes sh-cases-pulse { 50% { box-shadow: 0 0 0 8px transparent; } }
.sh-cases__title { margin-block: 8px; font-size: clamp(30px, 6vw, 54px); line-height: 1.15; font-weight: 700; color: var(--ink); }
.sh-cases__sub { color: var(--ink-muted); font-size: 14px; line-height: 22px; }
.sh-cases__rows { position: relative; z-index: 1; display: grid; gap: 12px; margin-block-start: 24px; }
.sh-cases__row { display: grid; gap: 10px; padding: 10px; border: 1px solid var(--line); border-radius: 26px; background: var(--surface); box-shadow: var(--shadow-card); }
.sh-cases__rowhead { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 2px 4px 0; }
.sh-cases__who { display: flex; align-items: center; gap: 10px; min-inline-size: 0; color: var(--ink); text-decoration: none; }
.sh-cases__face { position: relative; display: grid; place-items: center; flex: none; inline-size: 44px; block-size: 44px; border-radius: 50%; overflow: hidden; background: var(--brand-beige); box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--brand-beige); }
.sh-cases__face:has(.sh-doctor__photo) { background: #ffffff; }
.sh-cases__face .sh-doctor__photo { object-position: 50% 12%; }
.sh-cases__face .sh-doctor__initial { color: var(--brand-umber); font-size: 18px; font-weight: 700; }
.sh-cases__docn { min-inline-size: 0; }
.sh-cases__docn b { display: block; overflow: hidden; font-size: 15px; line-height: 22px; white-space: nowrap; text-overflow: ellipsis; }
.sh-cases__docn small { display: block; overflow: hidden; color: var(--ink-muted); font-size: 12px; line-height: 18px; white-space: nowrap; text-overflow: ellipsis; }
.sh-cases__all { display: inline-flex; flex: none; align-items: center; gap: 6px; min-block-size: 40px; padding: 0 14px; border-radius: var(--radius-pill); background: var(--accent-soft); color: var(--on-accent-soft); font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: background var(--dur-2) var(--ease-out), color var(--dur-2) var(--ease-out); }
.sh-cases__all:hover { background: var(--accent); color: var(--on-accent); }
.sh-cases__all .sh-icon { inline-size: 16px; block-size: 16px; }
.sh-cases__who:focus-visible, .sh-cases__all:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: var(--radius-pill); }
.sh-cases__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sh-cases__pair--one { grid-template-columns: 1fr; }
.sh-cases__case { position: relative; margin: 0; min-inline-size: 0; }
.sh-rv--pair { aspect-ratio: 1 / 1; border-radius: 18px; }
.sh-cases__pair--one .sh-rv--pair { aspect-ratio: 2 / 1; }
.sh-rv--pair .sh-rv__knob { inline-size: 36px; block-size: 36px; margin: -18px 0 0 -18px; }
.sh-rv--pair .sh-rv__knob svg { inline-size: 18px; block-size: 18px; }
.sh-rv--pair .sh-rv__tag { inset-block-start: 8px; padding: 1px 8px; font-size: 11px; line-height: 18px; }
.sh-rv--pair .sh-rv__tag--b { inset-inline-start: 8px; }
.sh-rv--pair .sh-rv__tag--a { inset-inline-end: 8px; }
/* The case's name sits on the photo, over a shade, and lets the drag through. */
.sh-cases__cap { position: absolute; inset-inline: 0; inset-block-end: 0; z-index: 3; padding: 28px 10px 8px; border-radius: 0 0 18px 18px; background: linear-gradient(transparent, rgba(6, 12, 26, .82)); color: #fff; font-size: 12px; line-height: 17px; font-weight: 600; pointer-events: none; }
.sh-cases__note { position: relative; z-index: 1; margin-block-start: 14px; color: var(--ink-muted); font-size: 12px; line-height: 18px; text-align: center; }
@media (min-width: 720px) {
  .sh-cases__sub { font-size: 15px; line-height: 24px; }
  .sh-cases__rows { gap: 16px; }
  .sh-cases__row { grid-template-columns: 220px minmax(0, 1fr); align-items: center; gap: 20px; padding: 14px 14px 14px 20px; border-radius: 30px; }
  .sh-cases__row:dir(rtl) { padding: 14px 20px 14px 14px; }
  .sh-cases__rowhead { flex-direction: column; align-items: flex-start; justify-content: center; gap: 14px; padding: 0; }
  .sh-cases__who { flex-direction: column; align-items: flex-start; }
  .sh-cases__face { inline-size: 64px; block-size: 64px; }
  .sh-cases__docn b { font-size: 18px; line-height: 26px; white-space: normal; }
  .sh-cases__docn small { white-space: normal; }
  .sh-cases__pair { gap: 12px; }
  .sh-rv--pair { aspect-ratio: 16 / 10; border-radius: 20px; }
  .sh-cases__pair--one .sh-rv--pair { aspect-ratio: 16 / 7; }
  .sh-cases__cap { padding: 32px 14px 10px; border-radius: 0 0 20px 20px; font-size: 14px; line-height: 20px; }
  .sh-rv--pair .sh-rv__knob { inline-size: 44px; block-size: 44px; margin: -22px 0 0 -22px; }
  .sh-rv--pair .sh-rv__tag { inset-block-start: 12px; padding: 3px 10px; font-size: 12px; }
}
@media (min-width: 900px) { .sh-cases { padding-block: var(--space-12); } }
.sh-caseview__btn .sh-icon { inline-size: 20px; block-size: 20px; }
.sh-cases__back { display: inline-flex; transform: rotate(180deg); }

/* Doctor page: the gallery. */
.sh-dochero__acts { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-block-start: var(--space-5); }
.sh-dochero__acts .sh-dochero__book { margin-block-start: 0; }
.sh-casesec { scroll-margin-block-start: 96px; }
.sh-casesec__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--space-4); margin-block-end: var(--space-4); }
.sh-casesec__title { font-size: clamp(26px, 4.6vw, 40px); line-height: 1.25; font-weight: 700; }
.sh-casesec__help { margin-block-start: 4px; color: var(--ink-muted); font-size: 14px; line-height: 22px; }
.sh-casesec__touch { display: none; }
@media (hover: none) { .sh-casesec__hover { display: none; } .sh-casesec__touch { display: inline; } }
.sh-casesec__count { color: var(--ink-muted); font-size: 15px; }
.sh-casesec__count b { color: var(--accent); font-size: 44px; line-height: 1; font-weight: 700; }
.sh-cases-filter { display: flex; gap: var(--space-2); margin-block-end: var(--space-4); padding-block-end: 2px; overflow-x: auto; scrollbar-width: none; }
.sh-cases-filter .sh-chip { flex: none; }
.sh-casegrid { display: grid; gap: var(--space-4); grid-template-columns: 1fr; }
@media (min-width: 720px) { .sh-casegrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .sh-casegrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.sh-casecard { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-card); transition: transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out); }
.sh-casecard[hidden] { display: none; }
@media (hover: hover) { .sh-casecard:hover { transform: translateY(-3px); box-shadow: var(--shadow-pop); } }
.sh-rv--card { aspect-ratio: 4 / 3; border-radius: 0; }
.sh-rv--card .sh-rv__knob { inline-size: 40px; block-size: 40px; margin: -20px 0 0 -20px; }
.sh-rv--card .sh-rv__knob svg { inline-size: 20px; block-size: 20px; }
.sh-casecard__cap { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding: 14px 18px; }
.sh-casecard__t { font-size: 16px; line-height: 24px; font-weight: 600; }
.sh-casecard__s { color: var(--ink-muted); font-size: 12px; line-height: 18px; }
.sh-casecard__open { display: grid; flex: none; place-items: center; inline-size: 44px; block-size: 44px; border: 0; border-radius: 50%; background: var(--accent-soft); color: var(--on-accent-soft); cursor: pointer; }
.sh-casecard__open .sh-icon { inline-size: 20px; block-size: 20px; }
.sh-cases__note--page { margin-block-start: var(--space-4); color: var(--ink-muted); text-align: start; }

/* Full-screen viewer. */
.sh-caseview { inline-size: 100%; block-size: 100%; max-inline-size: none; max-block-size: none; margin: 0; padding: 0; border: 0; background: #0a1426; color: #f7f0e7; }
.sh-caseview::backdrop { background: rgba(6, 12, 26, .8); }
.sh-caseview[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; animation: sh-caseview-in .35s var(--ease-out); }
@keyframes sh-caseview-in { from { opacity: 0; transform: scale(.98); } }
.sh-caseview__top { display: flex; align-items: center; gap: 12px; padding: 14px 16px; }
.sh-caseview__btn { display: grid; flex: none; place-items: center; inline-size: 44px; block-size: 44px; border: 1px solid rgba(225, 205, 182, .3); border-radius: 50%; background: transparent; color: var(--brand-beige); cursor: pointer; }
.sh-caseview__btn svg { inline-size: 20px; block-size: 20px; }
.sh-caseview__doc { display: flex; align-items: center; gap: 10px; min-inline-size: 0; font-size: 14px; }
.sh-caseview__doc > span:last-child { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.sh-caseview__doc .sh-cases__face { inline-size: 38px; block-size: 38px; }
.sh-caseview__n { margin-inline-start: auto; color: #c9c0b6; font-size: 14px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.sh-caseview__mid { display: grid; place-items: center; min-block-size: 0; padding-inline: 16px; }
.sh-caseview__mid .sh-rv { inline-size: min(100%, 1100px, calc((100dvh - 260px) * var(--ar, 1.78))); aspect-ratio: var(--ar, 16 / 9); border-radius: 20px; }
.sh-caseview__mid .sh-rv img { object-fit: contain; background: #000; }
.sh-caseview__bot { display: grid; gap: 12px; inline-size: 100%; max-inline-size: 1100px; margin-inline: auto; padding: 14px 16px max(20px, env(safe-area-inset-bottom)); }
.sh-caseview__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.sh-caseview__t { font-size: 18px; line-height: 28px; font-weight: 600; color: #f7f0e7; }
.sh-caseview__seg { display: inline-flex; padding: 4px; border-radius: var(--radius-pill); background: rgba(255, 255, 255, .08); }
.sh-caseview__seg button { min-block-size: 36px; padding: 0 16px; border: 0; border-radius: var(--radius-pill); background: transparent; color: var(--brand-beige); font: inherit; font-size: 14px; cursor: pointer; }
.sh-caseview__seg button[aria-pressed="true"] { background: var(--brand-beige); color: var(--brand-navy); }
.sh-caseview__strip { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.sh-caseview__th { flex: none; inline-size: 72px; block-size: 54px; padding: 0; border: 2px solid transparent; border-radius: 12px; overflow: hidden; background: #000; opacity: .55; cursor: pointer; }
.sh-caseview__th img { inline-size: 100%; block-size: 100%; object-fit: cover; }
.sh-caseview__th[aria-current="true"] { border-color: var(--brand-beige); opacity: 1; }
.sh-caseview__book { justify-self: start; background: var(--brand-beige); border-color: var(--brand-beige); color: var(--brand-navy); }
.sh-caseview__btn:focus-visible, .sh-caseview__seg button:focus-visible, .sh-caseview__th:focus-visible, .sh-caseview__book:focus-visible { outline: 2px solid var(--brand-beige); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  .sh-rv.is-sweeping .sh-rv__line::after, .sh-cases__eyebrow i, .sh-caseview[open] { animation: none; }
}

/* ---------- Home: the clinic tour (theme inc/tour.php) ----------
   A wide frame holds a silent loop of caption-free shots. Where the browser has scroll-driven
   animations, the frame opens as it scrolls in: --sh-tour-in closes in from the sides, the corners
   relax and the picture settles from a slight zoom. Elsewhere it simply stands open. */
@property --sh-tour-in { syntax: "<percentage>"; inherits: true; initial-value: 0%; }
@property --sh-tour-r { syntax: "<length>"; inherits: true; initial-value: 28px; }
@property --sh-tour-z { syntax: "<number>"; inherits: true; initial-value: 1; }
.sh-tour { padding-block: 0 var(--space-12); overflow-x: clip; }
.sh-tour__frame { position: relative; isolation: isolate; inline-size: 100%; aspect-ratio: 4 / 5; overflow: hidden; background: #0b1222; color: #fff; clip-path: inset(calc(var(--sh-tour-in) * .4) var(--sh-tour-in) round var(--sh-tour-r)); }
.sh-tour__still, .sh-tour__loop { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; object-fit: cover; transform: scale(var(--sh-tour-z)); }
.sh-tour__loop { opacity: 0; transition: opacity .9s var(--ease-out); }
.sh-tour__frame.is-live:not(.is-still) .sh-tour__loop { opacity: 1; }
.sh-tour__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 12, 26, .5) 0%, rgba(6, 12, 26, 0) 26%, rgba(6, 12, 26, .12) 55%, rgba(6, 12, 26, .8) 100%); pointer-events: none; }
.sh-tour__ui { position: absolute; inset: calc(var(--sh-tour-in) * .4) var(--sh-tour-in); display: grid; grid-template-rows: auto minmax(0, 1fr) auto; padding: 16px; }
.sh-tour__live { justify-self: start; display: inline-flex; align-items: center; gap: 8px; max-inline-size: 100%; margin: 0; padding: 6px 14px 6px 12px; border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--radius-pill); background: rgba(10, 20, 38, .45); font-size: 13px; line-height: 20px; font-weight: 600; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.sh-tour__live i { flex: none; inline-size: 8px; block-size: 8px; border-radius: 50%; background: var(--brand-beige); box-shadow: 0 0 0 0 rgba(225, 205, 182, .6); animation: sh-tour-dot 2s infinite; }
.sh-tour__frame.is-still .sh-tour__live i { animation: none; }
@keyframes sh-tour-dot { 70% { box-shadow: 0 0 0 7px rgba(225, 205, 182, 0); } 100% { box-shadow: 0 0 0 0 rgba(225, 205, 182, 0); } }
.sh-tour__live span { white-space: nowrap; }
.sh-tour__live span.is-in { animation: sh-tour-shot .5s var(--ease-out); }
@keyframes sh-tour-shot { from { opacity: 0; transform: translateY(6px); } }
/* The play button is the whole frame: its ::after covers the ui layer. */
.sh-tour__play { grid-row: 2; align-self: center; justify-self: center; display: grid; justify-items: center; gap: 14px; padding: 0; border: 0; background: none; color: #fff; font: inherit; text-align: center; cursor: pointer; }
.sh-tour__play::after { content: ""; position: absolute; inset: 0; }
.sh-tour__disc { position: relative; display: grid; place-items: center; inline-size: 84px; block-size: 84px; border-radius: 50%; background: var(--brand-beige); color: var(--brand-navy); box-shadow: 0 14px 40px rgba(0, 0, 0, .35); transition: transform var(--dur-3) var(--ease-out); }
.sh-tour__disc::before, .sh-tour__disc::after { content: ""; position: absolute; inset: 0; border: 1.5px solid rgba(225, 205, 182, .75); border-radius: 50%; animation: sh-tour-ring 2.8s var(--ease-out) infinite; }
.sh-tour__disc::after { animation-delay: 1.4s; }
@keyframes sh-tour-ring { from { transform: scale(1); opacity: .9; } to { transform: scale(1.85); opacity: 0; } }
.sh-tour__disc .sh-tour-i { inline-size: 34px; block-size: 34px; margin-left: 4px; }
.sh-tour__cta b { display: block; font-size: 20px; line-height: 28px; font-weight: 700; text-shadow: 0 2px 16px rgba(0, 0, 0, .45); }
.sh-tour__cta small { display: block; color: rgba(255, 255, 255, .85); font-size: 13px; line-height: 20px; font-variant-numeric: tabular-nums; }
.sh-tour__play:focus-visible { outline: none; }
.sh-tour__play:focus-visible .sh-tour__disc { outline: 3px solid var(--brand-beige); outline-offset: 5px; }
@media (hover: hover) { .sh-tour__play:hover .sh-tour__disc { transform: scale(1.07); } }
.sh-tour__hold { position: relative; z-index: 1; grid-row: 3; justify-self: end; display: grid; place-items: center; inline-size: 44px; block-size: 44px; padding: 0; border: 1px solid rgba(255, 255, 255, .2); border-radius: 50%; background: rgba(10, 20, 38, .45); color: #fff; cursor: pointer; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.sh-tour__hold .sh-tour-i { inline-size: 18px; block-size: 18px; }
.sh-tour__hold[aria-pressed="false"] .sh-tour-i--play, .sh-tour__hold[aria-pressed="true"] .sh-tour-i--pause { display: none; }
.sh-tour__hold:focus-visible { outline: 2px solid var(--brand-beige); outline-offset: 3px; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .sh-tour__frame { animation: sh-tour-open linear both; animation-timeline: view(); animation-range: entry 0% cover 48%; }
  }
}
@keyframes sh-tour-open { from { --sh-tour-in: 7%; --sh-tour-r: 56px; --sh-tour-z: 1.16; } to { --sh-tour-in: 0%; --sh-tour-r: 28px; --sh-tour-z: 1; } }

/* The stops: one still per chapter on a dashed line, each opening the film at its start. */
.sh-tour__stops { --sh-stop-w: 132px; display: grid; grid-auto-flow: column; grid-auto-columns: var(--sh-stop-w); gap: 12px; margin: 20px calc(var(--sh-gutter) * -1) 0; padding: 0 var(--sh-gutter) 4px; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--sh-gutter); scrollbar-width: none; }
.sh-tour__stops::-webkit-scrollbar { display: none; }
.sh-tour__stop { position: relative; scroll-snap-align: start; container-type: inline-size; }
.sh-tour__stop:not(:last-child)::before { content: ""; position: absolute; inset-inline: 10px -16px; inset-block-start: calc(100cqi * 10 / 16 + 18px); border-block-start: 1.5px dashed var(--line-strong); }
.sh-tour__ch { display: grid; gap: 8px; inline-size: 100%; padding: 0; border: 0; background: none; color: var(--ink); font: inherit; text-align: start; cursor: pointer; }
.sh-tour__thumb { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 16px; background: var(--surface-sunken); }
.sh-tour__thumb img { display: block; inline-size: 100%; block-size: 100%; object-fit: cover; transition: transform var(--dur-4) var(--ease-out); }
.sh-tour__dot { position: relative; z-index: 1; inline-size: 12px; block-size: 12px; margin: 4px 4px 0; border: 2px solid var(--accent); border-radius: 50%; background: var(--bg); transition: background var(--dur-2) var(--ease-out); }
.sh-tour__cht b { display: block; font-size: 14px; line-height: 20px; font-weight: 600; }
.sh-tour__cht time { display: block; color: var(--ink-muted); font-size: 12px; line-height: 18px; font-variant-numeric: tabular-nums; }
.sh-tour__ch:focus-visible { outline: none; }
.sh-tour__ch:focus-visible .sh-tour__thumb { outline: 3px solid var(--focus); outline-offset: 2px; }
@media (hover: hover) {
  .sh-tour__ch:hover .sh-tour__thumb img { transform: scale(1.07); }
  .sh-tour__ch:hover .sh-tour__dot { background: var(--accent); }
}
@media (min-width: 720px) {
  .sh-tour__frame { aspect-ratio: 16 / 9; }
  .sh-tour__ui { padding: 24px; }
  .sh-tour__disc { inline-size: 104px; block-size: 104px; }
  .sh-tour__disc .sh-tour-i { inline-size: 40px; block-size: 40px; }
  .sh-tour__cta b { font-size: 24px; line-height: 32px; }
  .sh-tour__cta small { font-size: 14px; }
  .sh-tour__live { font-size: 14px; }
}
@media (min-width: 900px) { .sh-tour { padding-block-end: var(--space-24); } .sh-tour__stops { margin-block-start: 28px; } }
@media (min-width: 1200px) { .sh-tour { padding-block-end: calc(var(--space-24) + var(--space-8)); } }
@media (min-width: 1200px) {
  .sh-tour__frame { aspect-ratio: 2.2 / 1; max-block-size: 82svh; }
  .sh-tour__ui { padding: 32px; }
  .sh-tour__stops { grid-auto-flow: row; grid-template-columns: repeat(9, minmax(0, 1fr)); margin-inline: 0; padding-inline: 0; overflow: visible; }
}
@media (prefers-reduced-motion: reduce) {
  .sh-tour__hold { display: none; }
  .sh-tour__disc::before, .sh-tour__disc::after, .sh-tour__live i, .sh-tour__live span.is-in { animation: none; }
  .sh-tour__disc::before, .sh-tour__disc::after { opacity: 0; }
}
@media (forced-colors: active) { .sh-tour__disc { border: 2px solid ButtonText; } }

/* The theater: the film with sound. The current scene's colours glow behind it; under it one control
   bar with the chapters as segments of one line; beside it (under it on a phone) the list of stops. */
html.sh-theater-on { overflow: hidden; }
.sh-theater { --th-ink: #f7f0e7; --th-muted: #bfb6ad; --th-line: rgba(225, 205, 182, .16); position: fixed; inline-size: 100%; block-size: 100%; max-inline-size: none; max-block-size: none; margin: 0; padding: 0; border: 0; overflow: hidden; background: #070d1a; color: var(--th-ink); }
.sh-theater::backdrop { background: rgba(4, 8, 18, .92); }
.sh-theater[open] { display: grid; grid-template-rows: auto minmax(0, 1fr); animation: sh-theater-in .45s var(--ease-out); }
@keyframes sh-theater-in { from { opacity: 0; transform: scale(.98); } }
.sh-theater__glow { position: absolute; inset: -20%; z-index: -1; background: #0a1426 center / cover no-repeat; filter: blur(90px) saturate(1.5); opacity: .55; transition: background-image .9s ease; pointer-events: none; }
.sh-theater__glow::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 60% at 50% 40%, rgba(7, 13, 26, .2), rgba(7, 13, 26, .85)); }
.sh-theater__top { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: max(12px, env(safe-area-inset-top)) 16px 12px; }
.sh-theater__title { min-inline-size: 0; }
.sh-theater__t { margin: 0; color: var(--th-muted); font-size: 12px; line-height: 18px; font-weight: 600; }
.sh-theater__now { display: flex; align-items: center; gap: 10px; min-inline-size: 0; margin: 2px 0 0; font-size: 17px; line-height: 26px; font-weight: 700; }
.sh-theater__now [data-sh-th-chap] { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.sh-theater__count { flex: none; padding: 1px 9px; border-radius: var(--radius-pill); background: rgba(225, 205, 182, .14); color: var(--brand-beige); font-size: 12px; line-height: 20px; font-weight: 600; font-variant-numeric: tabular-nums; direction: ltr; unicode-bidi: isolate; }
.sh-theater__btn { display: grid; flex: none; place-items: center; inline-size: 44px; block-size: 44px; padding: 0; border: 1px solid rgba(225, 205, 182, .28); border-radius: 50%; background: rgba(7, 13, 26, .35); color: var(--brand-beige); cursor: pointer; transition: background var(--dur-2) var(--ease-out); }
.sh-theater__btn--flat { inline-size: 40px; block-size: 40px; border-color: transparent; background: transparent; }
.sh-theater__btn .sh-tour-i { inline-size: 20px; block-size: 20px; }
@media (hover: hover) { .sh-theater__btn:hover { background: rgba(225, 205, 182, .14); } }
.sh-theater__btn[data-sh-th-mute][aria-pressed="false"] .sh-tour-i--mute, .sh-theater__btn[data-sh-th-mute][aria-pressed="true"] .sh-tour-i--sound { display: none; }

.sh-theater__body { position: relative; display: flex; flex-direction: column; min-block-size: 0; }
.sh-theater__main { flex: none; }
.sh-theater__screen { position: relative; inline-size: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.sh-theater__video { display: block; inline-size: 100%; block-size: 100%; object-fit: contain; background: #000; }
.sh-theater__tap { position: absolute; inset: 0; padding: 0; border: 0; background: transparent; cursor: pointer; }
.sh-theater__big { position: absolute; inset-block-start: 50%; left: 50%; display: grid; place-items: center; inline-size: 76px; block-size: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: var(--brand-beige); color: var(--brand-navy); box-shadow: 0 12px 40px rgba(0, 0, 0, .45); opacity: 0; transform: scale(.85); transition: opacity var(--dur-3) var(--ease-out), transform var(--dur-3) var(--ease-out); pointer-events: none; }
.sh-theater__big .sh-tour-i { inline-size: 32px; block-size: 32px; margin-left: 4px; }
.sh-theater:not(.is-playing) .sh-theater__screen:not(.is-wait) .sh-theater__big { opacity: 1; transform: none; }
.sh-theater__screen:has(.sh-theater__end:not([hidden])) .sh-theater__big { display: none; }
.sh-theater__spin { position: absolute; inset-block-start: 50%; left: 50%; inline-size: 44px; block-size: 44px; margin: -22px 0 0 -22px; border: 3px solid rgba(255, 255, 255, .22); border-block-start-color: var(--brand-beige); border-radius: 50%; opacity: 0; pointer-events: none; transition: opacity .2s; animation: sh-theater-spin .9s linear infinite; }
.sh-theater__screen.is-wait .sh-theater__spin { opacity: 1; }
@keyframes sh-theater-spin { to { transform: rotate(360deg); } }
.sh-theater__flash { position: absolute; inset-block-start: 50%; left: 50%; display: grid; place-items: center; inline-size: 76px; block-size: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: rgba(6, 12, 26, .55); color: #fff; opacity: 0; pointer-events: none; }
.sh-theater__flash .sh-tour-i { inline-size: 32px; block-size: 32px; }
.sh-theater__flash[data-kind="play"] .sh-tour-i--pause, .sh-theater__flash[data-kind="pause"] .sh-tour-i--play, .sh-theater__flash:not([data-kind]) .sh-tour-i { display: none; }
.sh-theater__flash.is-on { animation: sh-theater-flash .7s var(--ease-out); }
@keyframes sh-theater-flash { from { opacity: 1; transform: scale(.8); } to { opacity: 0; transform: scale(1.35); } }
.sh-theater__end { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 18px; padding: 16px; background: rgba(6, 12, 26, .72); text-align: center; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); animation: sh-theater-in .45s var(--ease-out); }
.sh-theater__end[hidden] { display: none; }
.sh-theater__endt { margin: 0; font-size: clamp(20px, 3vw, 32px); line-height: 1.3; font-weight: 700; }
.sh-theater__endacts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.sh-theater__book { border-color: var(--brand-beige); background: var(--brand-beige); color: var(--brand-navy); }
.sh-theater__again { display: inline-flex; align-items: center; gap: 8px; min-block-size: 52px; padding: 0 22px; border: 1px solid rgba(225, 205, 182, .4); border-radius: var(--radius-md); background: transparent; color: var(--brand-beige); font: inherit; font-weight: 600; cursor: pointer; }
.sh-theater__again .sh-tour-i { inline-size: 20px; block-size: 20px; }

/* One bar: play, time, the chapter line, sound, full screen. */
.sh-theater__bar { display: flex; align-items: center; gap: 10px; margin: 10px 12px 0; padding: 6px 8px; border: 1px solid rgba(255, 255, 255, .08); border-radius: var(--radius-pill); background: rgba(255, 255, 255, .06); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.sh-theater__play { display: grid; flex: none; place-items: center; inline-size: 44px; block-size: 44px; padding: 0; border: 0; border-radius: 50%; background: var(--brand-beige); color: var(--brand-navy); cursor: pointer; transition: transform var(--dur-2) var(--ease-out); }
.sh-theater__play:active { transform: scale(.94); }
.sh-theater__play .sh-tour-i { inline-size: 20px; block-size: 20px; }
.sh-theater__play .sh-tour-i--play { margin-left: 3px; }
.sh-theater .sh-theater__play .sh-tour-i--pause, .sh-theater.is-playing .sh-theater__play .sh-tour-i--play { display: none; }
.sh-theater.is-playing .sh-theater__play .sh-tour-i--pause { display: block; }
.sh-theater__time { flex: none; color: var(--th-muted); font-size: 13px; line-height: 20px; font-variant-numeric: tabular-nums; direction: ltr; unicode-bidi: isolate; }
.sh-theater__time [data-sh-th-time] { color: var(--th-ink); }
.sh-theater__track { position: relative; display: flex; flex: 1; align-items: center; gap: 3px; min-inline-size: 0; block-size: 32px; }
.sh-theater__seg { position: relative; flex-basis: 0; min-inline-size: 3px; block-size: 4px; overflow: hidden; border-radius: 3px; background: rgba(225, 205, 182, .2); transition: block-size var(--dur-2) var(--ease-out), background var(--dur-2) var(--ease-out); }
.sh-theater__seg i { position: absolute; inset-block: 0; inset-inline-start: 0; inline-size: calc(var(--f, 0) * 100%); border-radius: inherit; background: var(--brand-beige); }
.sh-theater__seg.is-now { background: rgba(225, 205, 182, .32); }
.sh-theater__track:hover .sh-theater__seg, .sh-theater__track:has(.sh-theater__seek:focus-visible) .sh-theater__seg { block-size: 8px; }
.sh-theater__seek { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; margin: 0; opacity: 0; cursor: pointer; }
.sh-theater__track:has(.sh-theater__seek:focus-visible) { outline: 2px solid var(--brand-beige); outline-offset: 3px; border-radius: 6px; }
.sh-theater__tip { position: absolute; inset-block-end: calc(100% + 8px); z-index: 2; padding: 4px 10px; border-radius: var(--radius-pill); background: var(--th-ink); color: var(--brand-navy); font-size: 12px; line-height: 18px; font-weight: 600; white-space: nowrap; transform: translateX(-50%); pointer-events: none; }
.sh-theater__tip[hidden] { display: none; }

/* A phone: the chapter line takes a row of its own above the buttons. */
@media (max-width: 599.98px) {
  .sh-theater__bar { flex-wrap: wrap; row-gap: 2px; padding: 4px 10px 8px; border-radius: 20px; }
  .sh-theater__track { flex-basis: 100%; order: -1; }
  .sh-theater__time { margin-inline-end: auto; }
}

/* The stops. */
.sh-theater__side { display: flex; flex: 1; flex-direction: column; min-block-size: 0; padding-block-start: 16px; }
.sh-theater__sideh { display: flex; align-items: center; gap: 8px; margin: 0; padding: 0 16px 8px; color: var(--th-muted); font-size: 13px; line-height: 20px; font-weight: 600; }
.sh-theater__sideh span { padding: 0 8px; border-radius: var(--radius-pill); background: rgba(225, 205, 182, .12); color: var(--brand-beige); font-size: 12px; }
.sh-theater__strip { position: relative; display: grid; align-content: start; gap: 4px; min-block-size: 0; margin: 0; padding: 0 8px max(12px, env(safe-area-inset-bottom)); list-style: none; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(225, 205, 182, .25) transparent; }
.sh-theater__th { position: relative; display: grid; grid-template-columns: 96px minmax(0, 1fr); align-items: center; gap: 12px; inline-size: 100%; padding: 8px; border: 1px solid transparent; border-radius: 16px; background: none; color: var(--th-ink); font: inherit; text-align: start; cursor: pointer; transition: background var(--dur-2) var(--ease-out), border-color var(--dur-2) var(--ease-out); }
.sh-theater__thimg { display: block; overflow: hidden; border-radius: 10px; aspect-ratio: 16 / 10; background: #0b1222; }
.sh-theater__thimg img { display: block; inline-size: 100%; block-size: 100%; object-fit: cover; opacity: .75; transition: opacity var(--dur-2) var(--ease-out); }
.sh-theater__thtx { display: grid; min-inline-size: 0; }
.sh-theater__thtx small { color: var(--th-muted); font-size: 11px; line-height: 16px; font-weight: 600; font-variant-numeric: tabular-nums; }
.sh-theater__thtx b { overflow: hidden; font-size: 15px; line-height: 22px; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
.sh-theater__thtx time { color: var(--th-muted); font-size: 12px; line-height: 18px; font-variant-numeric: tabular-nums; }
.sh-theater__thbar { position: absolute; inset-inline: 116px 14px; inset-block-end: 9px; block-size: 2px; overflow: hidden; border-radius: 2px; background: rgba(225, 205, 182, .16); opacity: 0; }
.sh-theater__thbar i { position: absolute; inset-block: 0; inset-inline-start: 0; inline-size: calc(var(--f, 0) * 100%); background: var(--brand-beige); }
.sh-theater__th[aria-current="true"] { border-color: rgba(225, 205, 182, .22); background: rgba(225, 205, 182, .1); }
.sh-theater__th[aria-current="true"] .sh-theater__thimg img { opacity: 1; }
.sh-theater__th[aria-current="true"] .sh-theater__thbar { opacity: 1; }
.sh-theater__th[aria-current="true"] .sh-theater__thtx small { color: var(--brand-beige); }
@media (hover: hover) { .sh-theater__th:not([aria-current="true"]):hover { background: rgba(255, 255, 255, .05); } .sh-theater__th:hover .sh-theater__thimg img { opacity: 1; } }
.sh-theater__btn:focus-visible, .sh-theater__play:focus-visible, .sh-theater__th:focus-visible, .sh-theater__again:focus-visible, .sh-theater__book:focus-visible { outline: 2px solid var(--brand-beige); outline-offset: 2px; }

@media (min-width: 600px) {
  .sh-theater__top { padding-inline: 24px; }
  .sh-theater__main { padding-inline: 24px; }
  .sh-theater__screen { border-radius: 18px; box-shadow: 0 30px 90px rgba(0, 0, 0, .55); }
  .sh-theater__bar { margin-inline: 0; }
  .sh-theater__side { padding-inline: 16px; }
}
/* A wide screen: the film and its bar centred, the stops beside them. */
@media (min-width: 1000px) {
  .sh-theater__body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 8px; padding-block-end: 24px; }
  .sh-theater__main { display: grid; align-content: center; padding-inline: 24px 8px; }
  .sh-theater__screen, .sh-theater__bar { inline-size: min(100%, calc((100dvh - 190px) * 16 / 9)); margin-inline: auto; }
  .sh-theater__bar { margin-block-start: 12px; }
  .sh-theater__side { align-self: stretch; margin-inline-end: 24px; padding: 16px 8px 0; border: 1px solid var(--th-line); border-radius: 22px; background: rgba(7, 13, 26, .45); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
  .sh-theater__strip { padding-inline: 0; }
}
/* A phone on its side: the film takes the height, the stops and the title step aside. */
@media (max-height: 560px) {
  .sh-theater[open] { grid-template-rows: minmax(0, 1fr); }
  .sh-theater__side, .sh-theater__title { display: none; }
  .sh-theater__top { position: absolute; inset-block-start: 0; inset-inline-end: 0; z-index: 2; padding: 8px; }
  .sh-theater__body { display: grid; align-content: center; padding-block: 8px; }
  .sh-theater__main { display: grid; align-content: center; padding-inline: 60px; }
  .sh-theater__screen, .sh-theater__bar { inline-size: min(100%, calc((100dvh - 80px) * 16 / 9)); margin-inline: auto; }
  .sh-theater__screen { border-radius: 12px; }
  .sh-theater__bar { margin-block-start: 6px; padding-block: 3px; }
  .sh-theater__play { inline-size: 38px; block-size: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  .sh-theater[open], .sh-theater__end, .sh-theater__flash.is-on { animation: none; }
  .sh-theater__glow { transition: none; }
}
