/* SHI homepage pass, Nov 27 2026: Sarah Hazany, PA-C as the face of SHI; real photos replace stock imagery. Loaded on the homepage only. */

/* Sarah section: white panel between the ivory results reel and the story */
.hp-sarah{background:#fff}
.hp-sarah .split{align-items:center}
.hp-sarah-media{display:block;aspect-ratio:4/5;background:var(--stone)}
.hp-sarah-media img{object-position:50% 22%;transition:transform .9s var(--ease,ease)}
@media (hover:hover){.hp-sarah-media:hover img{transform:scale(1.02)}}
.hp-role{margin:-.15em 0 18px;font:500 1.0625rem/1.4 var(--font);color:var(--tosca-75)}
.hp-quote{margin:22px 0 0;padding:18px 20px;border-radius:20px;background:var(--ivory);box-shadow:inset 0 0 0 1px rgba(0,11,27,.06)}
.hp-quote .stars{display:inline-flex;gap:2px;color:var(--gold)}
.hp-quote .star{width:16px;height:16px}
.hp-quote blockquote{margin:8px 0 0;padding:0;border:0}
.hp-quote blockquote p{margin:0;font:400 1.0625rem/1.55 var(--font);color:var(--ink)}
.hp-quote figcaption{margin-top:10px;font:600 .9375rem var(--ui);color:var(--tosca-d)}

/* Real photos fill their frames */
.hp-team-media,.hp-consult-media{aspect-ratio:16/10}
.hp-team-media img{object-position:46% 40%}
.hp-consult-media img{object-position:42% 50%}
.hp-treat-media{padding:0}
.hp-treat-media img{display:block;width:100%;aspect-ratio:3/4;object-fit:cover;object-position:58% 30%}

/* Plan cards: real before and afters */
.plan .bigcard .hp-ba-tag{position:absolute;top:14px;z-index:3;pointer-events:none;padding:5px 11px;border-radius:999px;background:rgba(255,255,255,.88);color:var(--ink);font:600 .75rem/1 var(--ui);letter-spacing:.01em}
.plan .bigcard .hp-ba-tag.b{left:14px}
.plan .bigcard .hp-ba-tag.a{left:calc(50% + 10px)}
.plan .bc-media img{object-position:50% 40%}

/* Phones: photos stay inside the first screen instead of filling it */
@media (max-width:899px){
  /* Sarah on phones: photo beside her name, title and intro; the rest of her bio behind Read more, so the section fits one screen */
  .hp-sarah{padding-top:20px;padding-bottom:20px}
  .hp-sarah .split{display:grid;grid-template-columns:minmax(0,38%) minmax(0,1fr);grid-template-rows:auto auto 1fr;column-gap:14px;row-gap:6px;align-items:start}
  .hp-sarah .split-text,.hp-sarah .prose{display:contents}
  .hp-sarah-media{grid-column:1;grid-row:1/4;align-self:stretch;aspect-ratio:auto;min-height:170px;max-height:none;width:100%;border-radius:18px}
  .hp-sarah-media img{object-position:50% 14%}
  .hp-sarah .h2{grid-column:2;grid-row:1;margin:0;font-size:clamp(1.3rem,1.05rem + 1.3vw,1.6rem);line-height:1.15}
  .hp-role{grid-column:2;grid-row:2;margin:0;font-size:.875rem}
  .hp-sarah .prose>p{grid-column:2;grid-row:3;margin:2px 0 0;font-size:.875rem;line-height:1.5}
  .hp-more{grid-column:1/-1;margin-top:2px}
  .hp-more p{font-size:.9375rem}
  .hp-quote,.hp-sarah .btns{grid-column:1/-1}
  .hp-sarah .btns{margin-top:6px;flex-wrap:nowrap}
  .hp-quote{margin:0;padding:12px 14px;border-radius:16px;display:flex;flex-wrap:wrap;align-items:center;column-gap:10px}
  .hp-quote blockquote{order:1;flex:1 1 100%}
  .hp-quote .stars{order:2}
  .hp-quote figcaption{order:3}
  .hp-quote .star{width:14px;height:14px}
  .hp-quote blockquote{margin:0 0 6px}
  .hp-quote blockquote p{font-size:.875rem;line-height:1.45}
  .hp-quote figcaption{margin:0;font-size:.8125rem}
  .hp-team-media,.hp-consult-media{aspect-ratio:16/10;max-height:46svh}
  .hp-treat-media img{aspect-ratio:4/3;max-height:44svh;object-position:62% 28%}
  .hp-sarah .btns{gap:8px}
  .hp-sarah .btns .btn{flex:1 1 auto;min-width:0;padding-left:12px;padding-right:12px;font-size:.9375rem;white-space:nowrap}
  .hp-sarah .btns .btn .i{display:none}
}
@media (min-width:900px){
  .hp-sarah-media{max-height:calc(100svh - var(--hdr) - 48px);position:relative;top:auto}
}
@media (prefers-reduced-motion:reduce){.hp-sarah-media img{transition:none}}

/* Sarah's bio: the second paragraph sits behind Read more on phones and tablets; open on computers */
.hp-more summary{display:inline-flex;align-items:center;min-height:44px;cursor:pointer;list-style:none;font:500 .9375rem var(--ui);color:var(--tosca)}
.hp-more summary::-webkit-details-marker{display:none}
.hp-more summary::after{content:"";width:8px;height:8px;margin-left:8px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateY(-2px) rotate(45deg)}
.hp-more[open] summary{display:none}
.hp-more p{margin-top:0}

/* Nothing on the homepage lifts under a long press (build rule 13) */
main img,main a{-webkit-user-drag:none;-webkit-touch-callout:none}
main img{user-select:none}
/* Open foldables and small tablets: same layout, reading sizes */
@media (min-width:600px) and (max-width:899px){
  .hp-sarah .h2{font-size:2rem}
  .hp-role{font-size:1rem}
  .hp-sarah .prose>p,.hp-quote blockquote p{font-size:1rem}
  .hp-quote figcaption{font-size:.9375rem}
}
