/* Shared hero sorvi-frame (fullbleed-overlay/photo-frame-window) — Bilvo library. Scoped to .sh-sorvi-frame. */
/* Shared hero sorvi-frame — fullbleed-overlay/photo-frame-window. Lifted from sorvi/pages/index.html .hero (= variants #hero-frame).
   A full-width photo in a big rounded frame, a tinted ink scrim on the left, the copy in white on it, and the product window
   (the build's own screenshot in window chrome) rising off the frame's bottom edge on the right. Contract tokens only (CONTRACT.md). */
.sh-sorvi-frame { --sh-tone: color-mix(in srgb, var(--ink-bg) 86%, var(--accent)); --sh-rise: 96px;
  position: relative; isolation: isolate; margin-top: calc(-1 * var(--hero-tuck, 0px)); padding: 12px 12px calc(var(--sh-rise) + 40px); color: var(--on-dark); font-family: var(--font); }
.sh-sorvi-frame .sh-frame { position: relative; isolation: isolate; display: flex; flex-direction: column; min-height: 800px; border-radius: var(--r-hero, var(--r-lg)); background: var(--ink-bg); }
.sh-sorvi-frame .sh-photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: var(--sh-focus, 50% 0); border-radius: inherit; }
.sh-sorvi-frame .sh-frame::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: linear-gradient(90deg, color-mix(in srgb, var(--sh-tone) min(100%, calc(74% * var(--sh-scrim, 1))), transparent) 0%, color-mix(in srgb, var(--sh-tone) min(100%, calc(55% * var(--sh-scrim, 1))), transparent) 34%, transparent 60%),
              linear-gradient(180deg, color-mix(in srgb, var(--sh-tone) min(100%, calc(30% * var(--sh-scrim, 1))), transparent) 0%, transparent 28%); }
.sh-sorvi-frame .sh-grid { flex: 1; display: grid; grid-template-columns: 470px minmax(0, 1fr); gap: 64px; align-items: start;
  width: min(calc(var(--container) + 200px), 100% - 2 * var(--gutter)); margin-inline: auto; padding-top: calc(var(--hero-pad-top, 64px) + var(--hero-tuck, 0px) + 8px); }
.sh-sorvi-frame .sh-copy { display: grid; justify-items: start; gap: 24px; padding-bottom: 64px; }
.sh-sorvi-frame .sh-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: var(--r-pill); background: color-mix(in srgb, var(--sh-tone) 50%, transparent); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-family: var(--font-label, var(--font)); font-size: var(--label-size, 13px); letter-spacing: var(--label-tracking, 0); text-transform: var(--label-transform, none); font-weight: var(--label-weight, 600); line-height: 1; color: var(--on-dark); }
.sh-sorvi-frame h1 { margin: 0; max-width: 7.6em; font-family: var(--font-display); font-size: var(--display-size, 64px); font-weight: var(--display-weight, 500); line-height: var(--display-lh, 1.04); letter-spacing: max(var(--display-tracking, -.035em), -0.065em); color: var(--on-dark); text-wrap: balance; }
.sh-sorvi-frame h1 em { font-style: var(--display-em, normal); }
.sh-sorvi-frame .sh-lead { margin: 0; max-width: 24em; font-size: var(--lead-size, 18px); line-height: 1.55; font-weight: var(--body-weight, 400); color: var(--on-dark); text-wrap: pretty; }
.sh-sorvi-frame .sh-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 8px; }
.sh-sorvi-frame .sh-trust { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0; padding: 0; list-style: none; font-size: 14px; line-height: 1.5; color: var(--on-dark); }
.sh-sorvi-frame .sh-trust li { display: inline-flex; align-items: center; gap: 8px; }
.sh-sorvi-frame .sh-trust svg { flex: none; width: 16px; height: 16px; fill: none; stroke: color-mix(in srgb, var(--accent) 45%, var(--on-dark)); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
/* the product window: the build's screenshot in window chrome, its bottom crossing the frame edge by --sh-rise */
.sh-sorvi-frame .sh-win { align-self: end; margin: 0 0 calc(-1 * var(--sh-rise)); overflow: hidden; border-radius: var(--r); background: var(--bg); color: var(--text);
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.45), 0 0 0 1px color-mix(in srgb, var(--text) 8%, transparent); }
.sh-sorvi-frame .sh-win__bar { display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 16px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.sh-sorvi-frame .sh-win__bar > i { flex: none; width: 12px; height: 12px; border-radius: 50%; background: color-mix(in srgb, var(--text) 18%, transparent); }
.sh-sorvi-frame .sh-win__title { margin-left: 12px; overflow: hidden; font-size: 13px; font-weight: 500; line-height: 1; white-space: nowrap; text-overflow: ellipsis; color: var(--muted); }
.sh-sorvi-frame .sh-win__pill { display: inline-flex; align-items: center; gap: 8px; height: 24px; margin-left: auto; padding: 0 12px; border-radius: var(--r-pill); background: color-mix(in srgb, var(--accent) 12%, var(--bg)); color: var(--accent-ink); font-size: 12px; font-weight: 600; line-height: 1; white-space: nowrap; }
.sh-sorvi-frame .sh-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.sh-sorvi-frame .sh-win__shot { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 0 0; background: var(--surface); }
@media (max-width: 1180px) {
  .sh-sorvi-frame .sh-grid { grid-template-columns: 400px minmax(0, 1fr); gap: 40px; }
}
@media (max-width: 1024px) {
  .sh-sorvi-frame .sh-frame { min-height: 0; }
  .sh-sorvi-frame .sh-frame::before { background: linear-gradient(180deg, color-mix(in srgb, var(--sh-tone) min(100%, calc(60% * var(--sh-scrim, 1))), transparent) 0%, color-mix(in srgb, var(--sh-tone) min(100%, calc(58% * var(--sh-scrim, 1))), transparent) 50%, color-mix(in srgb, var(--sh-tone) min(100%, calc(30% * var(--sh-scrim, 1))), transparent) 100%); }
  .sh-sorvi-frame .sh-grid { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: calc(var(--hero-pad-top, 64px) + var(--hero-tuck, 0px) - 16px); }
  .sh-sorvi-frame .sh-copy { padding-bottom: 0; }
  .sh-sorvi-frame h1 { max-width: 11em; }
  .sh-sorvi-frame .sh-win { margin-top: 56px; }
}
@media (max-width: 760px) {
  .sh-sorvi-frame h1 { font-size: var(--display-size-sm, 40px); }
  .sh-sorvi-frame .sh-lead { font-size: calc(var(--lead-size, 18px) - 1px); }
}
@media (max-width: 560px) {
  .sh-sorvi-frame { --sh-rise: 80px; padding: 8px 8px calc(var(--sh-rise) + 32px); }
  .sh-sorvi-frame .sh-frame { border-radius: calc(var(--r-hero, var(--r-lg)) * .67); }
  .sh-sorvi-frame .sh-grid { padding-top: calc(var(--hero-pad-top, 64px) + var(--hero-tuck, 0px) - 8px); }
  .sh-sorvi-frame .sh-ctas > * { flex: 1 1 100%; }
  .sh-sorvi-frame .sh-win { margin-top: 40px; }
  .sh-sorvi-frame .sh-win__title { display: none; }
}
/* --- freedom: the window stays as structure (title + the build's screenshot); the story floats on its edge (Sorvi had a status pill in the window bar). The build composes it; .sh-win__pill above stays as an optional kit. --- */
.sh-sorvi-frame .sh-visual { position: relative; align-self: end; margin: 0 0 calc(-1 * var(--sh-rise)); }
.sh-sorvi-frame .sh-visual .sh-win { margin: 0; }
.sh-sorvi-frame .sh-story { position: absolute; z-index: 2; right: 24px; top: -28px; width: min(300px, 44%); display: grid; gap: 10px; color: var(--text); }
.sh-sorvi-frame .sh-story[data-pos="mid-left"] { right: auto; left: -40px; top: 38%; }
.sh-sorvi-frame .sh-story[data-pos="bottom-left"] { right: auto; left: -40px; top: auto; bottom: calc(var(--sh-rise) + 40px); }
.sh-sorvi-frame .sh-story .sh-card { background: var(--bg); color: var(--text); border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 24px 50px -20px rgba(0,0,0,.45); padding: 16px 18px; }
@media (max-width: 1024px) {
  .sh-sorvi-frame .sh-visual { margin-top: 56px; }
  .sh-sorvi-frame .sh-visual .sh-win { margin-top: 0; }
  .sh-sorvi-frame .sh-story, .sh-sorvi-frame .sh-story[data-pos] { left: 16px; right: auto; top: auto; bottom: calc(var(--sh-rise) + 16px); width: min(300px, calc(100% - 32px)); }
}
@media (max-width: 560px) {
  .sh-sorvi-frame .sh-visual { margin-top: 40px; }
  .sh-sorvi-frame .sh-story, .sh-sorvi-frame .sh-story[data-pos] { left: 12px; width: calc(100% - 24px); bottom: calc(var(--sh-rise) + 12px); }
}
