/* overview.css: a program's overview (his Lovable example, 15 Nov 2026): what it is for, price and length with the
   waitlist button, what is included, and how the time is spent. One source: the six program pages carry the markup
   (section.pov); Home and Programs open the same section, fetched from that page, in a preview (preview.js; the
   founder, 16 Nov: "where is the program preview option i shared last week"). Moved here from the six pages' identical
   inline styles; renamed pg- to pov- so it never meets the Programs list's own pg- cards. */

.pov {width: min(1080px, 100% - 2 * var(--z-margin)); margin: var(--z-gap-4) auto 0; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 72px); padding: clamp(24px, 4vw, 56px); border: 1px solid var(--line-soft); border-radius: 28px; background: var(--bg, #fff);}
.pov-eyebrow {font: 600 12px/1.4 var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--terra-ink); margin: 0 0 var(--sp-5);}
.pov-eyebrow--time {color: var(--text-soft);}
.pov-tag {font-size: 1.1875rem; line-height: 1.6; color: var(--text-soft); margin: 0 0 var(--sp-5);}
.pov-price {display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-4); padding: var(--sp-4) 0; margin: 0; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);}
.pov-price p {margin: 0; font-size: 1rem; color: var(--ink); font-variant-numeric: tabular-nums;}
.pov-price .btn {min-height: var(--z-action-h); padding: 0 25px; border-radius: var(--z-r-action); background: var(--terra-btn); color: #FBF7F2; font: var(--z-t-strong); letter-spacing: 0;}
@media (hover: hover) and (pointer: fine) { .pov-price .btn:hover {background: var(--terra-btn-hover);} }
.pov-ticks {list-style: none; padding: 0; margin: var(--sp-5) 0 0;}
.pov-ticks li {position: relative; padding-left: 34px; margin: 0 0 var(--sp-3); font-size: 1rem; line-height: 1.6; color: var(--ink-2);}
.pov-ticks li::before {content: ""; position: absolute; left: 4px; top: .4em; width: 7px; height: 12px; border: solid var(--terra); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg);}
.pov-time {list-style: none; padding: 0; margin: 0; position: relative;}
.pov-time::before {content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 1px; background: var(--line-soft);}
.pov-ph {position: relative; padding: 0 0 var(--sp-5) 38px; margin: 0;}
.pov-ph:last-child {padding-bottom: 0;}
.pov-dot {position: absolute; left: 0; top: 5px; width: 13px; height: 13px; border-radius: 50%; background: var(--terra); box-shadow: 0 0 0 5px var(--bg, #fff);}
.pov-dot--therapy {background: var(--border);}
.pov-when {display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 0 var(--sp-2);}
.pov-wk {font-size: 1rem; font-weight: 500; color: var(--terra-ink);}
.pov-pill {font-size: 12.5px; line-height: 1.3; color: var(--terra-ink); border: 1px solid var(--terra); border-radius: 999px; padding: 3px 12px;}
.pov-ph--therapy .pov-pill {color: var(--ink-2); border-color: var(--border);}
.pov-ph--therapy .pov-wk {color: var(--ink-2);}
.pov-say {font-size: 1.1875rem; line-height: 1.55; color: var(--ink); margin: 0;}
.pov-note {grid-column: 2; font-size: var(--fs-meta); line-height: 1.6; color: var(--text-soft); margin: 0;}
.pov-say, .pov-tag, .pov-ticks li {text-wrap: pretty;}
@media (max-width: 860px) { .pov {grid-template-columns: minmax(0, 1fr);} .pov-note {grid-column: 1;} .pov-price .btn {width: 100%;} }

/* ── The preview: a native <dialog>, a bottom sheet on a phone and a centred panel on a desktop. Escape, the close
   button and the backdrop close it. Motion (the animate skill): the sheet rises on the drawer curve, the panel scales
   from .96 with a fade, both 300ms or less and ease-out, and both leave faster than they came; reduced motion fades. */
.prv {--prv-ease: cubic-bezier(.32, .72, 0, 1); border: 0; padding: 0; margin: auto auto 0; width: 100%; max-width: 100%; max-height: 90dvh; border-radius: 20px 20px 0 0; background: var(--bg, #fff); color: var(--ink); box-shadow: var(--shadow-lg); overflow: hidden; display: none; flex-direction: column;}
.prv[open] {display: flex;}
.prv::backdrop {background: rgba(26, 26, 26, .5);}
.prv-scroll {flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 28px var(--gutter, 20px) var(--sp-5);}
.prv-close {position: absolute; top: 10px; right: 10px; z-index: 1; background: var(--bg, #fff);}
.prv-kicker {margin: 0 52px 6px 0; font: 600 12px/1.4 var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--terra-ink);}
.prv-name {margin: 0 52px var(--sp-4) 0; font-family: var(--font-serif); font-weight: 400; font-size: clamp(38px, 2.2rem + 1vw, 52px); line-height: 1.05; letter-spacing: -.02em; color: var(--ink);}
.prv-name:focus {outline: none;}
.prv .pov {width: auto; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; gap: var(--sp-5) clamp(32px, 5vw, 56px);}
.prv .pov-left > .pov-eyebrow:first-child {display: none;} /* the sheet's own heading names it */
.prv .pov-tag, .prv .pov-say {font-size: 1.0625rem;}
.prv-foot {flex: none; padding: 12px var(--gutter, 20px) calc(12px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line-soft); background: var(--bg, #fff);}
.prv-full {display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: var(--z-action-h, 48px); padding: 0 24px; border: 1px solid var(--ink); border-radius: var(--z-r-action); color: var(--ink); background: none; font: var(--z-t-strong); text-decoration: none; touch-action: manipulation; transition: background-color 160ms ease-out, transform 120ms ease-out;}
.prv-full:active {transform: scale(.98); background: var(--bg-warm);}
@media (hover: hover) and (pointer: fine) { .prv-full:hover {background: var(--bg-warm);} }
.prv-full:focus-visible {outline: 2px solid var(--terra); outline-offset: 2px;}
html:has(.prv[open]) {overflow: hidden;} /* the page behind stays put while the sheet scrolls */
@media (min-width: 861px) {
  .prv {margin: auto; width: min(980px, 100% - 48px); max-height: min(86dvh, 860px); border-radius: 28px;}
  .prv-scroll {padding: 44px 48px 32px;}
  .prv-foot {padding: 16px 48px 20px; display: flex; justify-content: flex-end;}
  .prv-full {width: auto;}
}

@media (prefers-reduced-motion: no-preference) {
  .prv {transform: translateY(100%); transition: transform 200ms ease-in, display 200ms allow-discrete, overlay 200ms allow-discrete;}
  .prv[open] {transform: none; transition: transform 300ms var(--prv-ease), display 300ms allow-discrete, overlay 300ms allow-discrete;}
  @starting-style { .prv[open] {transform: translateY(100%);} }
  .prv::backdrop {opacity: 0; transition: opacity 200ms ease-out, display 200ms allow-discrete, overlay 200ms allow-discrete;}
  .prv[open]::backdrop {opacity: 1;}
  @starting-style { .prv[open]::backdrop {opacity: 0;} }
  @media (min-width: 861px) {
    .prv {transform: scale(.96); opacity: 0; transition: transform 150ms ease-in, opacity 150ms ease-in, display 150ms allow-discrete, overlay 150ms allow-discrete;}
    .prv[open] {transform: none; opacity: 1; transition: transform 220ms cubic-bezier(.23, 1, .32, 1), opacity 220ms ease-out, display 220ms allow-discrete, overlay 220ms allow-discrete;}
    @starting-style { .prv[open] {transform: scale(.96); opacity: 0;} }
  }
}
@media (prefers-reduced-motion: reduce) {
  .prv {opacity: 0; transition: opacity 150ms ease-out, display 150ms allow-discrete, overlay 150ms allow-discrete;}
  .prv[open] {opacity: 1;}
  @starting-style { .prv[open] {opacity: 0;} }
}
