#sh-mobile, .catalog-mobile-filters { display: none; }
@media (max-width: 767px) {
  .page:has(> #sh-mobile) > :not(#sh-mobile) { display: none; }
  #sh-mobile { display: block; }
  body:has(#sh-mobile) .ftr {
    padding-block: 34px 28px;
    background-image: linear-gradient(to bottom, #ece8dc, transparent 25px);
  }
  body:has(#sh-mobile) .ftr-g { gap: 16px; }
  body:has(#sh-mobile) .ftr-b { margin-top: 18px; }

  body:has(#sh-mobile) #analytics-choice {
    inset: auto max(10px, env(safe-area-inset-right)) max(8px, env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left));
    width: auto;
    max-width: 420px;
    padding: 8px 12px;
    font-size: 13px;
    line-height: 1.35;
  }
  body:has(#sh-mobile) #analytics-choice:has([data-analytics-close][hidden]) h2 {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  body:has(#sh-mobile) #analytics-choice > p { display: inline; margin: 0 .35em 0 0; }
  body:has(#sh-mobile) #analytics-choice .analytics-actions { margin-top: 6px; }
  body:has(#sh-mobile) #analytics-choice .analytics-actions button { padding: 4px 6px; }

  .page:has(> .catalog-mobile-filters) > .page-hero { padding-block: 24px 14px; }
  .catalog-mobile-filters {
    display: block;
    border: 0;
    min-inline-size: 0;
    margin: 4px auto 12px;
  }
  .catalog-mobile-filters legend {
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 750;
  }
  .catalog-mobile-filters .catalog-filter-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }
  .catalog-filter-options input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .catalog-filter-options label {
    display: flex;
    min-height: 44px;
    padding: 6px 8px;
    align-items: center;
    justify-content: center;
    border: 1px solid #b9cabd;
    border-radius: 9px;
    color: #21593f;
    background: #f9faf4;
    text-align: center;
    font: 750 13px/1.3 Raleway, system-ui, sans-serif;
    cursor: pointer;
  }
  .catalog-filter-options input:checked + label {
    background: #216347;
    color: #fff;
    border-color: #216347;
  }
  .catalog-filter-options input:focus-visible + label {
    outline: 2px solid #216347;
    outline-offset: 2px;
  }
  .page:has(#catalog-consultation:checked) :is([data-case-format]:not([data-case-format="consultation"]), #family-story),
  .page:has(#catalog-accompaniment:checked) :is([data-case-format]:not([data-case-format="accompaniment"]), #family-story),
  .page:has(#catalog-team:checked) :is(.catalog-case-grid, #family-story) {
    display: none;
  }
}
#sh-mobile {
    --paper: #f4f1e8;
    --sand: #ece8dc;
    --clay: #f0ddd2;
    --sage: #e2ede4;
    --ink: #172a21;
    --body: #47594f;
    --dark: #14261e;
    --dark-panel: #1d3329;
    --green: #216347;
    --mint: #a6e1b9;
    --cream: #fffdf6;
    --rule: #d4dbce;
    width: 100%;
    margin: 0 auto;
    background: var(--paper);
    color: var(--ink);
    font: 500 16px/1.5 Raleway, system-ui, sans-serif;
    text-align: left;
    color-scheme: light;
  }
  #sh-mobile *, #sh-mobile *::before, #sh-mobile *::after { box-sizing: border-box; }
  #sh-mobile h1, #sh-mobile h2, #sh-mobile p, #sh-mobile ul, #sh-mobile blockquote { margin: 0; }
  #sh-mobile h1, #sh-mobile h2 { font-weight: 800; letter-spacing: -.045em; line-height: 1; }
  #sh-mobile h1 { font-size: clamp(29px, 8.2vw, 40px); line-height: 1.05; }
  #sh-mobile h1 span { display: block; color: var(--mint); }
  #sh-mobile h2 { font-size: clamp(31px, 8vw, 40px); }
  #sh-mobile h2 em { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 600; letter-spacing: -.03em; color: var(--green); }
  #sh-mobile p { color: var(--body); }
  #sh-mobile a { color: inherit; text-decoration-color: currentColor; text-underline-offset: 4px; }
  #sh-mobile img { display: block; max-width: 100%; }
  #sh-mobile [hidden] { display: none !important; }
  #sh-mobile :is(button, a, summary):focus-visible { outline: 3px solid #5cb280; outline-offset: 3px; }
  #sh-mobile .sh-hero { background: var(--dark); color: var(--cream); }

  #sh-mobile .sh-intro { position: relative; isolation: isolate; overflow: hidden; padding: 22px 20px; }
  #sh-mobile .sh-intro-text { position: relative; width: min(100%, 360px); z-index: 1; }
  #sh-mobile .sh-portrait {
    position: absolute; inset: 0 0 auto auto; z-index: -1; width: 56%; height: 220px;
    object-fit: cover; object-position: center 23%; opacity: .84;
  }
  #sh-mobile .sh-intro::before {
    content: ""; position: absolute; inset: 0 0 auto; height: 222px;
    background: linear-gradient(0deg, var(--dark), transparent 56%), linear-gradient(90deg, var(--dark) 32%, #14261ee6 48%, #14261e22 100%);
    z-index: 0; pointer-events: none;
  }
  #sh-mobile .sh-roles { position: relative; z-index: 1; margin-bottom: 10px; color: #d6e8d9; font-size: 12px; font-weight: 650; }
  #sh-mobile .sh-intro-text > p:not(.sh-roles) { margin: 12px 0 14px; max-width: 35ch; color: #e0ece2; line-height: 1.45; }
  #sh-mobile .sh-actions { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; }
  #sh-mobile .sh-hero .sh-actions { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 12px; }
  #sh-mobile .sh-hero .sh-support-link { justify-self: start; line-height: 1.25; }
  #sh-mobile .sh-primary, #sh-mobile .sh-support-link {
    display: inline-flex; align-items: center; justify-content: center; min-height: 46px;
    font-size: 14px; font-weight: 750;
  }
  #sh-mobile .sh-primary { gap: 10px; padding: 10px 16px; border-radius: 10px; background: var(--mint); color: #142c21; text-decoration: none; }
  #sh-mobile .sh-support-link { gap: 6px; }
  #sh-mobile .sh-section { padding: 26px 20px 28px; }
  #sh-mobile .sh-section.sh-blend {
    padding-top: calc(var(--sh-fade) + 12px);
    background: linear-gradient(to bottom, var(--sh-from), var(--sh-to) var(--sh-fade)), var(--sh-to);
  }
  #sh-mobile #sh-tasks { --sh-from: var(--dark); --sh-to: var(--paper); --sh-fade: 22px; }
  #sh-mobile #sh-stories { --sh-from: var(--paper); --sh-to: var(--clay); --sh-fade: 14px; }
  #sh-mobile #sh-prices { --sh-from: var(--clay); --sh-to: var(--sage); --sh-fade: 14px; }
  #sh-mobile #sh-dofi { --sh-from: var(--sage); --sh-to: var(--dark); --sh-fade: 22px; }
  #sh-mobile #sh-about { --sh-from: var(--dark); --sh-to: var(--paper); --sh-fade: 22px; }
  #sh-mobile #sh-start { --sh-from: var(--paper); --sh-to: var(--sand); --sh-fade: 18px; }
  #sh-mobile .sh-section h2 { margin-bottom: 16px; }
  #sh-mobile .sh-tasks { list-style: none; padding: 0; border-top: 1px solid var(--rule); }
  #sh-mobile .sh-tasks li {
    display: flex; align-items: flex-start; gap: 10px;
    padding: 9px 0; border-bottom: 1px solid var(--rule);
    line-height: 1.35;
  }
  #sh-mobile .sh-tasks li::before {
    content: ""; flex: 0 0 7px; height: 7px; margin-top: 7px;
    background: var(--green); border-radius: 50%;
  }
  #sh-mobile .sh-choice {
    display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
    margin-bottom: 10px; padding: 4px; border-radius: 12px; background: #e5e9de;
  }
  #sh-mobile .sh-choice button {
    min-height: 44px; padding: 6px; border-radius: 8px; border: 0;
    background: transparent; color: var(--green); font: 750 13px/1.3 Raleway, system-ui, sans-serif;
  }
  #sh-mobile .sh-choice button[aria-pressed="true"] { background: var(--green); color: white; }
  #sh-mobile .sh-story {
    display: grid; grid-template-columns: minmax(78px, 29%) minmax(0, 1fr);
    gap: 12px; padding: 12px;
    border: 1px solid var(--rule); border-radius: 14px; background: var(--cream);
  }
  #sh-mobile .sh-story img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: 55% 22%; border-radius: 9px; }
  #sh-mobile .sh-story-body { min-width: 0; }
  #sh-mobile .sh-person { display: block; font-size: 13px; font-weight: 750; }
  #sh-mobile .sh-result { display: block; margin: 4px 0; color: var(--green); font-size: 27px; font-weight: 800; letter-spacing: -.045em; line-height: 1.08; }
  #sh-mobile .sh-story-body p { font-size: 13px; line-height: 1.45; }
  #sh-mobile .sh-story-body blockquote {
    margin-top: 6px; padding-left: 8px; border-left: 2px solid #87ad95;
    color: var(--ink); font: inherit; font-size: 14px; line-height: 1.4;
  }
  #sh-mobile .sh-story-body a { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; font-weight: 750; color: var(--green); }
  #sh-mobile .sh-all { display: flex; justify-content: flex-end; min-height: 44px; align-items: center; font-size: 14px; font-weight: 750; color: var(--green); }
  #sh-mobile .sh-formats { background: var(--sand); }
  #sh-mobile .sh-formats h2 { margin-bottom: 10px; }
  #sh-mobile details { border-bottom: 1px solid #ccd4c7; }
  #sh-mobile details summary { list-style: none; }
  #sh-mobile details summary::-webkit-details-marker { display: none; }
  #sh-mobile details summary::marker { content: ""; }
  #sh-mobile .sh-tier { min-width: 0; }
  #sh-mobile .sh-tier summary {
    min-height: 66px; display: grid; grid-template-columns: minmax(0, 1fr) auto 14px;
    align-items: center; gap: 8px; padding: 9px 0; line-height: 1.25;
  }
  #sh-mobile .sh-tier :is(b, small) { display: block; }
  #sh-mobile .sh-tier b { font-weight: 750; }
  #sh-mobile .sh-tier small { margin-top: 3px; color: var(--body); font-size: 12px; }
  #sh-mobile .sh-price { color: var(--green); font-size: 16px; font-weight: 800; white-space: nowrap; }
  #sh-mobile .sh-expand { font: 400 19px/1 system-ui, sans-serif; color: var(--green); }
  #sh-mobile .sh-expand::before { content: "+"; }
  #sh-mobile details[open] > summary .sh-expand::before { content: "−"; }
  #sh-mobile .sh-inner { padding: 0 0 8px; font-size: 15px; }
  #sh-mobile .sh-inner a { color: var(--green); }
  #sh-mobile .sh-format-note { margin-top: 13px; font-size: 13px; line-height: 1.55; }
  #sh-mobile .sh-dofi { background: var(--dark); color: var(--cream); }
  #sh-mobile .sh-dofi h2 { margin: 0 0 10px; font-size: 34px; }
  #sh-mobile .sh-dofi h2 em { color: var(--mint); }
  #sh-mobile .sh-dofi-title { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; line-height: 1.4; }
  #sh-mobile .sh-dofi-title img { flex: none; width: 44px; height: 44px; border-radius: 50%; }
  #sh-mobile .sh-dofi-title strong { display: block; font-size: 18px; font-weight: 800; }
  #sh-mobile .sh-dofi-title span { display: block; color: #bedbc6; font-size: 13px; }
  #sh-mobile .sh-dofi p { color: #deebdf; }
  #sh-mobile .sh-dofi-uses { margin: 14px 0 2px; padding: 0; list-style: none; border-top: 1px solid #44644f; }
  #sh-mobile .sh-dofi-uses li {
    display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 12px; padding: 9px 0; border-bottom: 1px solid #44644f;
    font-size: 13px; line-height: 1.35;
  }
  #sh-mobile .sh-dofi-uses li span { color: #bedbc6; }
  #sh-mobile .sh-dofi details { border-color: #4a6754; margin: 8px 0 14px; }
  #sh-mobile .sh-dofi .sh-expand { color: var(--mint); }
  #sh-mobile .sh-dofi-preview { display: block; width: min(100%, 250px); height: auto; margin: 0 auto 14px; border-radius: 12px; }
  #sh-mobile .sh-dofi .sh-format-note { color: #bee0c8; margin-top: 8px; }
  #sh-mobile .sh-plain-summary {
    min-height: 46px; display: flex; align-items: center; gap: 8px; justify-content: space-between;
    padding-block: 7px; font-size: 14px; font-weight: 750;
  }
  #sh-mobile .sh-about h2 { margin-bottom: 10px; }
  #sh-mobile .sh-outro { background: var(--sand); }
  #sh-mobile .sh-outro h2 { margin-bottom: 12px; }
  #sh-mobile .sh-outro .sh-primary { margin-top: 12px; background: var(--green); color: white; }
  @media (max-width: 350px) {
    #sh-mobile .sh-section, #sh-mobile .sh-intro { padding-left: 15px; padding-right: 15px; }
    #sh-mobile .sh-intro { padding-top: 16px; }
    #sh-mobile .sh-hero .sh-primary { padding-inline: 12px; }
    #sh-mobile .sh-tier b { font-size: 14px; }
  }
  @media (max-width: 767px) and (max-height: 500px) {
    body:has(#sh-mobile) #analytics-choice:has([data-analytics-close][hidden]) {
      position: static;
      margin: max(74px, calc(env(safe-area-inset-top) + 66px)) max(10px, env(safe-area-inset-right)) 8px max(10px, env(safe-area-inset-left));
    }
  }
