/* Inside pages: layered page header, ruled document body, CTA band. */

/* ---------------------------------------------------- page header (ph) -- */
.ph { position: relative; padding: calc(var(--chrome-h) + clamp(2rem, 5vw, 4.5rem)) var(--sc-gutter) clamp(2.5rem, 6vw, 5rem); overflow: clip; }
.ph__in { max-width: 82rem; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.ph__crumb { margin: 0 0 1rem; font-size: 0.92rem; color: var(--sc-ink-soft); }
.ph__crumb a { color: var(--sc-ink-soft); }
.ph h1 { margin: 0 0 1.1rem; font-size: clamp(2.5rem, 1.5rem + 3.6vw, 5rem); line-height: 1; letter-spacing: -0.035em; }
.ph .sc-lede { color: var(--sc-ink); margin-bottom: 1.5rem; max-width: 40ch; }
.ph__art { position: relative; min-height: clamp(18rem, 32vw, 30rem); }
.ph__big { position: absolute; inset: 0 0 8% 10%; margin: 0; border-radius: 26px; overflow: hidden; box-shadow: 0 30px 60px -36px hsl(var(--sc-shadow-color) / 0.55); }
.ph__big img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 35%); max-width: none; }
.ph__small { position: absolute; left: 0; bottom: 0; width: 38%; aspect-ratio: 4 / 5; margin: 0; border-radius: 999px 999px 16px 16px; overflow: hidden; box-shadow: 0 0 0 8px var(--sc-canvas), 0 24px 40px -24px hsl(var(--sc-shadow-color) / 0.6); }
.ph__small img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos2, 50% 30%); max-width: none; }
.ph__chip { position: absolute; right: 1rem; bottom: 12%; z-index: 3; background: #fff; border-radius: 999px; padding: 0.5rem 0.95rem; font-weight: 650; font-size: 0.92rem; box-shadow: var(--sc-e2); display: flex; align-items: center; gap: 0.5rem; }
.ph__type { position: absolute; inset: 0 0 8% 10%; border-radius: 26px; background: var(--sc-ink); color: #fff; display: flex; flex-direction: column; align-items: flex-end; justify-content: flex-start; text-align: right; padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1.5rem, 3vw, 2.5rem) 1.5rem 34%; font-family: var(--sc-font-display); font-weight: 650; font-size: clamp(2.2rem, 1.2rem + 2.8vw, 4.2rem); line-height: 0.95; letter-spacing: -0.04em; text-wrap: balance; overflow: hidden; }
.ph__type span { display: block; color: #8FE3C3; }
@media (max-width: 860px) {
  .ph__in { grid-template-columns: 1fr; }
  .ph__art { min-height: 0; aspect-ratio: 5 / 4; order: -1; }
  .ph h1 { font-size: clamp(2.3rem, 9vw, 3.2rem); }
}

/* ---------------------------------------------------------- document -- */
.doc { max-width: 82rem; margin: 0 auto; padding: clamp(1rem, 3vw, 2rem) var(--sc-gutter) clamp(3rem, 7vw, 6rem); display: grid; grid-template-columns: minmax(0, 1fr) 20rem; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.doc__main > section + section { margin-top: clamp(2.5rem, 5vw, 4rem); }
.doc h2 { font-family: var(--sc-font-display); font-weight: 600; font-size: var(--sc-t-2xl); letter-spacing: -0.03em; line-height: 1.05; margin: 0 0 1.2rem; }
.prose p, .prose li { color: var(--sc-ink-soft); max-width: 64ch; }
.prose p { margin: 0 0 1rem; }
.prose strong { color: var(--sc-ink); }
.prose ul { margin: 0 0 1rem; padding-left: 1.2rem; }
.prose li { margin-bottom: 0.4rem; }
.prose li::marker { color: var(--cyan); }
.ticks { list-style: none; padding: 0 !important; display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 0 1.5rem; border-top: 1px solid var(--rule); }
.ticks li { margin: 0 !important; padding: 0.75rem 0 0.75rem 1.8rem; border-bottom: 1px solid var(--rule); position: relative; color: var(--sc-ink) !important; font-weight: 500; }
.ticks li::before { content: ""; position: absolute; left: 0.2rem; top: 1.15rem; width: 0.75rem; height: 0.4rem; border-left: 2.5px solid var(--sc-accent); border-bottom: 2.5px solid var(--sc-accent); transform: rotate(-45deg); }
.note { margin-top: 1.2rem; padding: 1rem 1.2rem; border-left: 3px solid var(--cyan); background: var(--sc-surface); border-radius: 0 12px 12px 0; color: var(--sc-ink-soft); font-size: 0.95rem; max-width: 64ch; }
.note strong { color: var(--sc-ink); }

/* side card */
.side { position: sticky; top: calc(var(--chrome-h) + 1.5rem); background: var(--sc-surface); border-radius: 22px; padding: 1.5rem; box-shadow: 0 1px 0 var(--rule), 0 24px 48px -36px hsl(var(--sc-shadow-color) / 0.5); }
.side__k { margin: 0 0 0.3rem; font-weight: 700; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sc-ink-soft); }
.side__status { margin: 0 0 1rem; font-weight: 650; display: flex; align-items: center; gap: 0.5rem; }
.side .btn { width: 100%; margin-bottom: 0.6rem; }
.side__small { margin: 0.6rem 0 0; font-size: 0.9rem; color: var(--sc-ink-soft); }
.side__links { margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid var(--rule); display: flex; flex-direction: column; gap: 0.35rem; }
.side__links a { text-decoration: none; font-weight: 550; }
.side__links a:hover { text-decoration: underline; }
@media (max-width: 960px) { .doc { grid-template-columns: 1fr; } .side { position: static; } }

/* treatment / topic cards inside pages */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); gap: 1rem; }
.tile { display: flex; flex-direction: column; gap: 0.4rem; padding: 1.3rem 1.3rem 1.4rem; border-radius: 18px; background: var(--sc-surface); text-decoration: none; color: var(--sc-ink); box-shadow: 0 1px 0 var(--rule); transition: transform 160ms var(--sc-ease-out), box-shadow 160ms var(--sc-ease-out); }
a.tile:hover { transform: translateY(-3px); box-shadow: 0 1px 0 var(--rule), 0 16px 32px -24px hsl(var(--sc-shadow-color) / 0.5); }
.tile h3 { margin: 0; font-family: var(--sc-font-display); font-weight: 600; font-size: 1.35rem; letter-spacing: -0.02em; line-height: 1.12; }
.tile p { margin: 0; color: var(--sc-ink-soft); font-size: 0.98rem; }
.tile__more { margin-top: auto !important; padding-top: 0.5rem; color: var(--sc-accent) !important; font-weight: 650; }

/* team grid */
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(12.5rem, 1fr)); gap: 1.8rem 1.2rem; }
.person { margin: 0; }
.person img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 18%; border-radius: 18px; background: #fff; }
.person figcaption { margin-top: 0.6rem; font-weight: 650; font-size: 1.05rem; }
.person figcaption span { display: block; font-weight: 400; font-size: 0.95rem; color: var(--sc-ink-soft); }

/* photo strip */
.strip { display: grid; grid-template-columns: 1.3fr 1fr; gap: 1rem; margin: 0; }
.strip img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; }
.strip figcaption { grid-column: 1 / -1; font-size: 0.9rem; color: var(--sc-ink-soft); }
@media (max-width: 560px) { .strip { grid-template-columns: 1fr; } }

/* FAQ */
.faq details { border-bottom: 1px solid var(--rule); }
.faq details:first-of-type { border-top: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; padding: 1.05rem 2.2rem 1.05rem 0; font-weight: 650; font-size: 1.1rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0.3rem; top: 0.8rem; font-size: 1.5rem; font-weight: 400; color: var(--sc-accent); }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 0 1.2rem; }

/* price table */
.prices { width: 100%; border-collapse: collapse; max-width: 44rem; }
.prices th, .prices td { text-align: left; padding: 0.85rem 0.4rem; border-bottom: 1px solid var(--rule); vertical-align: top; }
.prices td:last-child { text-align: right; font-family: var(--sc-font-display); font-weight: 650; font-size: 1.3rem; color: var(--sc-accent); white-space: nowrap; }
.prices th { font-weight: 600; }
.prices th span { display: block; font-weight: 400; font-size: 0.92rem; color: var(--sc-ink-soft); }

/* funds list */
.funds { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0 !important; }
.funds li { margin: 0 !important; padding: 0.4rem 0.85rem; border-radius: 999px; background: var(--sc-surface); border: 1px solid var(--rule); color: var(--sc-ink) !important; font-size: 0.95rem; }

/* CTA band */
.cta-band { padding: 0 var(--sc-gutter) clamp(3.5rem, 7vw, 6rem); }
.cta-band__in { max-width: 82rem; margin: 0 auto; background: var(--sc-ink); color: #EAF3F0; border-radius: 26px; padding: clamp(1.6rem, 4vw, 3rem); display: grid; grid-template-columns: 1.3fr auto; gap: 1.5rem 3rem; align-items: center; }
.cta-band h2 { margin: 0 0 0.4rem; font-family: var(--sc-font-display); font-weight: 600; font-size: var(--sc-t-2xl); letter-spacing: -0.03em; line-height: 1.05; color: #fff; }
.cta-band p { margin: 0; color: #B9D2CC; }
.cta-band .btn-row { justify-content: flex-end; }
.cta-band .btn--book { background: #fff; color: var(--sc-accent); border-color: #fff; }
.cta-band .btn--book:hover { background: #DCE0FF; border-color: #DCE0FF; }
.cta-band .btn--ghost { color: #fff; border-color: color-mix(in oklab, #fff 40%, transparent); }
.cta-band .btn--ghost:hover { background: #fff; color: var(--sc-ink); }
@media (max-width: 860px) { .cta-band__in { grid-template-columns: 1fr; } .cta-band .btn-row { justify-content: flex-start; } }

/* contact map-free address block */
.visit { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 3rem; }
@media (max-width: 760px) { .visit { grid-template-columns: 1fr; } }
