/* Treatment page (/pages/services/<slug>/), written by scripts/build-treatments.py.
   Spec: reference/services-rework/step5/SPEC.md (approved design) + reference/services-rework/step6/ (rollout).
   Sits on the .pgr-all tokens (generated-faaabbff5a7eb121.css): pg-crumb, pg-eyebrow.
   Part A: shared pieces kept from the version 2 page (buttons, .tp-book, resets, hidden text, related-list base).
   Part B: the page. */

/* ---- A. Shared pieces (were treatment-page-v2.css) ---- */
.tp2 { background: var(--surface); }
.tp2 h1, .tp2 h2, .tp2 h3 { font-family: var(--serif); font-weight: 400; letter-spacing: normal; text-transform: none; color: var(--ink); margin: 0; }
.tp2 p { margin: 0; }
.tp2 a { color: inherit; }
.tp2 em { font-style: italic; color: var(--sageD); }
.tp2 img { display: block; height: auto; }
.tp2 .pg-crumb { background: var(--surface); padding-bottom: 0; }
.tp2 .pg-crumb a:hover { color: var(--ink); }
.tp2-vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Buttons: About hero buttons (11.5px, .18em, 16px 30px, square). */
.tp2-btn, .tp-book {
  display: inline-block; background: var(--ink); color: #fff; border: 1px solid var(--ink); padding: 16px 30px;
  font-family: var(--sans); font-size: 11.5px; font-weight: 500; line-height: 1.6; letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none; text-align: center; white-space: nowrap; transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.tp2 a.tp2-btn, .tp2 a.tp-book { color: #fff; }
.tp2-btn:hover, .tp-book:hover { background: var(--sage); border-color: var(--sage); }
.tp2 a.tp2-btn--line { background: transparent; color: var(--ink); }
.tp2 a.tp2-btn--line:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.tp-book { padding: 12px 24px; font-size: 11px; letter-spacing: .16em; }
.tp2 a:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.tp2-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.tp2-link { display: inline-block; margin-top: 14px; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--sageD); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.tp2 a.tp2-link { color: var(--sageD); }
.tp2 a.tp2-link:hover { color: var(--ink); }
/* Related list base (.tp-more stays: the checker and the menu link rely on it; Part B restyles it as cards). */
.tp-more { max-width: 940px; margin: 0 auto; }
.tp-more ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; background: var(--surface); border: 1px solid var(--line2); box-shadow: 0 24px 54px -34px rgba(40, 41, 40, .5); }
.tp-more li { border-bottom: 1px solid var(--line); }
.tp-more li:nth-child(odd) { border-right: 1px solid var(--line); }
.tp-more li:nth-last-child(1), .tp-more li:nth-last-child(2):nth-child(odd) { border-bottom: 0; }
.tp-more li:only-child { grid-column: 1 / -1; border-right: 0; }
.tp-more a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: baseline; padding: 17px 22px; text-decoration: none; transition: background-color .15s ease; }
.tp-more a:hover { background: #f2efe9; }
.tp-more a b { font-family: var(--serif); font-weight: 400; font-size: 17px; color: var(--ink); }
.tp-more a span { font-size: 11.5px; color: var(--muted); white-space: nowrap; }
@media (max-width: 749px) {
  .tp2 .pg-crumb { padding: 16px 18px 0; }
  .tp2 .tp-book { padding: 12px 18px; }
  .tp-more ul { grid-template-columns: 1fr; }
  .tp-more li:nth-child(odd) { border-right: 0; }
  .tp-more li:nth-last-child(2):nth-child(odd) { border-bottom: 1px solid var(--line); }
  .tp-more a { padding: 15px 18px; }
  .tp2-btns .tp2-btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
  .tp2-btn, .tp-book, .tp-more a { transition: none; }
}

/* ---- B. The page ---- */
.t5 { background: var(--surface); }
.t5 details > summary { list-style: none; cursor: pointer; }
.t5 details > summary::-webkit-details-marker { display: none; }

/* ---- 1. Stage ---- */
.t5-stage { display: grid; grid-template-columns: minmax(0, 46fr) minmax(0, 54fr); align-items: start; max-width: 1680px; margin: 0 auto; }
.t5-photo { position: sticky; top: 0; margin: 0; height: 100vh; min-height: 560px; max-height: 1120px; overflow: hidden; background: var(--ink2); }
.t5 .t5-photo img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); animation: t5-settle .7s cubic-bezier(.23, 1, .32, 1) both; }
/* The one authored move: the photo settles from 104.5%, the menu's own stage move. */
@keyframes t5-settle { from { transform: scale(1.045); opacity: .6; } to { transform: none; opacity: 1; } }

.t5-main { display: grid; grid-template-rows: auto 1fr; min-height: calc(100vh - 147px); padding: 0 72px 64px; max-width: 860px; }
.t5 .t5-main .pg-crumb { padding: 22px 0 0; background: none; }
.t5-body { align-self: center; padding-top: 30px; }
.t5-body > .pg-eyebrow, .t5-top .pg-eyebrow { margin-bottom: 16px; }
.t5 .t5-body h1 { font-size: 64px; line-height: 1.04; letter-spacing: -.01em; margin: 0; }
.t5 .t5-promise { margin-top: 20px; font-size: 17px; line-height: 1.7; color: var(--muted); max-width: 560px; }

.t5-facts3 { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; margin: 30px 0 0; border-top: 1px solid var(--line2); border-bottom: 1px solid var(--line2); }
.t5-facts3 div { padding: 16px 44px 18px 0; margin-right: 44px; border-right: 1px solid var(--line2); }
.t5-facts3 div:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.t5-facts3 dt { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--sageD); margin-bottom: 6px; }
.t5-facts3 dd { margin: 0; font-family: var(--serif); font-size: 28px; line-height: 1.15; color: var(--ink); white-space: nowrap; }
.t5-facts3 dd.t5-with { font-size: 19px; line-height: 1.35; white-space: normal; padding-top: 3px; }

/* ---- 2. Options: the booking surface ---- */
.t5-book { margin-top: 28px; scroll-margin-top: 140px; }
.t5-book-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--ink); }
.t5 .t5-book-head h2, .t5 .t5-group h3 { font-family: var(--sans); font-size: 11.5px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); }
.t5-book-head span { font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.t5-opts { list-style: none; margin: 0; padding: 0; }
.t5-opt { border-bottom: 1px solid var(--line2); }
.t5-opt-line { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 4px 26px; align-items: center; padding: 15px 14px; margin: 0 -14px; transition: background-color .16s ease; }
.t5-opt-line:hover, .t5-opt-line:focus-within { background: var(--tint); }
.t5-opt-name { display: block; font-family: var(--serif); font-size: 23px; line-height: 1.2; color: var(--ink); }
.t5-opt-meta { display: block; margin-top: 5px; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.t5-opt-who { display: none; }
.t5-opt-price { font-family: var(--serif); font-size: 25px; line-height: 1.2; color: var(--ink); text-align: right; white-space: nowrap; }
.t5-opt-price small { display: block; margin-top: 3px; font-family: var(--sans); font-size: 12px; color: var(--muted); }
.t5 .t5-opt a.tp-book { position: static; padding: 13px 32px; font-size: 11.5px; letter-spacing: .18em; }
.t5 .t5-opt a.tp-book::after { content: ""; position: absolute; inset: 0; }  /* the whole line books */
.t5-opt-line:hover a.tp-book { background: var(--sage); border-color: var(--sage); }
/* Under the line: a short note stays visible; a recovery sentence is flagged; long text folds away (native details). */
.t5 .t5-opt-sub { padding: 0 0 13px; margin-top: -6px; font-size: 13.5px; line-height: 1.6; color: var(--muted); }
.t5 .t5-opt-flag { padding: 0 0 13px 14px; margin-top: -6px; border-left: 2px solid var(--sage); font-size: 13.5px; line-height: 1.6; color: var(--ink); }
.t5 .t5-opt-sub + .t5-opt-flag, .t5 .t5-opt-flag + .t5-opt-more { margin-top: 0; }
.t5-opt-more { margin: -6px 0 0; padding-bottom: 13px; }
.t5 .t5-opt-more summary { display: inline-block; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--sageD); border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.t5 .t5-opt-more summary:hover { color: var(--ink); }
.t5 .t5-opt-more summary::after { content: " +"; }
.t5 .t5-opt-more[open] summary::after { content: " \2212"; }
.t5 .t5-opt-text { padding-top: 12px; max-width: 62ch; font-size: 14.5px; line-height: 1.75; color: var(--muted); }
.t5 .t5-opt-text p + p { margin-top: 8px; }
/* Help beside the options: the consultation, as one more line. */
.t5-help { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 26px; align-items: center; padding: 18px 0 0; }
.t5 .t5-help b { display: block; font-family: var(--serif); font-weight: 400; font-style: italic; font-size: 21px; line-height: 1.25; color: var(--ink); }
.t5 .t5-help span { display: block; margin-top: 4px; font-size: 13px; line-height: 1.55; color: var(--muted); }
.t5 .t5-help a.tp2-btn { padding: 13px 22px; }
.t5 .t5-note { margin-top: 16px; font-size: 12px; line-height: 1.6; color: var(--muted); }

/* Who performs this treatment (never a general bio): small portrait, name, role, what they perform here. */
.t5-people { display: grid; gap: 18px; }
.t5-people--row { grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line2); }
.t5-person { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; align-items: start; }
.t5 .t5-person img { width: 64px; height: 80px; object-fit: cover; object-position: 50% 20%; }
.t5 .t5-person b { display: block; font-family: var(--serif); font-weight: 400; font-size: 20px; line-height: 1.2; color: var(--ink); }
.t5 .t5-person i { display: block; margin-top: 4px; font-style: normal; font-size: 10.5px; line-height: 1.5; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.t5 .t5-person p { margin-top: 7px; font-size: 13.5px; line-height: 1.6; color: var(--muted); }

/* ---- No photo: a short, confident booking board. Green band with the name, options grouped below. ---- */
.t5--none .t5-stage { display: block; max-width: none; }
.t5--none .t5-band { background: var(--sageD); }
.t5--none .t5-main { display: block; min-height: 0; max-width: 1240px; margin: 0 auto; padding: 0 40px; }
.t5.t5--none .pg-crumb, .t5.t5--none .pg-crumb a { color: #dfe6d9; }
.t5.t5--none .pg-crumb b { color: #fff; }
.t5--none .t5-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 30px 64px; align-items: end; padding: 54px 0 56px; }
.t5.t5--none .t5-top .pg-eyebrow { color: #dfe6d9; }
.t5.t5--none .t5-top h1 { font-size: 104px; line-height: .98; letter-spacing: -.015em; color: #fff; margin: 0; }
.t5--none .t5-facts3 { margin: 0; border-color: rgba(255, 255, 255, .35); }
.t5--none .t5-facts3 div { border-color: rgba(255, 255, 255, .35); }
.t5--none .t5-facts3 dt { color: #dfe6d9; }
.t5--none .t5-facts3 dd { color: #fff; }
.t5--none .t5-board { max-width: 1240px; margin: 0 auto; padding: 44px 40px 72px; }
.t5--none .t5-book { margin-top: 0; }
.t5-groups { display: grid; grid-template-columns: 1fr 1fr; column-gap: 72px; align-items: start; }
.t5-group h3 { padding-bottom: 12px; border-bottom: 1px solid var(--ink); display: flex; justify-content: space-between; align-items: baseline; }
.t5 .t5-group h3 span { font-size: 10.5px; font-weight: 400; letter-spacing: .16em; color: var(--muted); }
.t5-board-foot { display: grid; grid-template-columns: 1fr 1fr; column-gap: 72px; align-items: start; margin-top: 40px; }
.t5-board-foot .t5-people--row { margin-top: 0; padding-top: 0; border-top: 0; grid-template-columns: 1fr; gap: 18px; }
.t5-board-foot .t5-help { padding-top: 0; }

/* ---- 3. Results, at real size, straight after the opening. Dark, so the two photographs carry the screen. ---- */
.t5-results { background: var(--ink); color: #f4f1eb; padding: 72px 40px 76px; }
.t5-results-in { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; align-items: center; }
.t5-ba { margin: 0; }
.t5-ba-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; }
.t5-ba-crop { position: relative; overflow: hidden; aspect-ratio: var(--w) / var(--h); background: #1f201e; }
.t5 .t5-ba-crop img { position: absolute; max-width: none; height: auto; width: calc(100% * var(--iw) / var(--w)); left: calc(-100% * var(--x) / var(--w)); top: calc(-100% * var(--y) / var(--h)); }
.t5-ba-labels { display: grid; grid-template-columns: 1fr 1fr; margin-top: 14px; font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: #c9cec4; }
.t5 .t5-results .pg-eyebrow { color: #c9d3c0; margin-bottom: 14px; }
.t5 .t5-results h2 { font-size: 44px; line-height: 1.1; color: #fff; }
.t5 .t5-results h2 em { color: #cdd5c6; }
.t5 .t5-results-cap { margin-top: 22px; padding-left: 16px; border-left: 2px solid #8f9c80; font-family: var(--serif); font-style: italic; font-size: 24px; line-height: 1.45; color: #fff; }
.t5 .t5-results .tp2-btns { margin-top: 30px; }
.t5 a.t5-btn-light { background: #fff; border-color: #fff; color: var(--ink); }
.t5 a.t5-btn-light:hover { background: var(--sage); border-color: var(--sage); color: #fff; }
.t5 .t5-results-note { margin-top: 20px; font-size: 12px; line-height: 1.6; color: #b9beb4; }

/* ---- 4. What it is / what it does / who performs it ---- */
.t5-about { padding: 84px 40px 88px; background: var(--surface); }
.t5-about-in { max-width: 1240px; margin: 0 auto; }
.t5 .t5-about .pg-eyebrow { margin-bottom: 14px; }
.t5 .t5-about h2, .t5 .t5-faq h2 { font-size: 34px; line-height: 1.15; }
.t5 .t5-lead { margin-top: 26px; max-width: 30ch; font-family: var(--serif); font-size: 40px; line-height: 1.22; letter-spacing: -.005em; color: var(--ink); }
.t5 .t5-lead strong { font-weight: 400; }
.t5-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 56px; margin-top: 52px; padding-top: 30px; border-top: 1px solid var(--ink); }
.t5-cols--2 { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.t5-cols--1 { grid-template-columns: minmax(0, 1fr); max-width: 790px; }   /* one column: the reading width the wide column has in a 2-up */
.t5 .t5-col h3 { font-family: var(--sans); font-size: 11.5px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--sageD); margin: 0 0 16px; }
.t5 .t5-col p { font-size: 16px; line-height: 1.8; color: var(--muted); }
.t5 .t5-col p + p { margin-top: 14px; }
.t5 .t5-col strong { font-weight: 500; color: var(--ink); }
.t5 .t5-col .t5-people { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line2); }
.t5 .t5-col a.tp2-link { margin-top: 12px; }
.t5 .t5-also { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line2); font-size: 14px; color: var(--muted); }
.t5 .t5-also a { color: var(--ink); text-underline-offset: 4px; }
/* step 20: one grid, three equal columns (the old .t5-cols widths and gap). Head on columns 1-2 with the old hairline
   under it; column 3 starts beside the head. Each column is a stack placed by the build (scripts/build-treatments.py
   about_flow): rows 1 head, 2 hairline, 3 + 4 the one column that holds owner and draft items, 5 takes up whatever a
   longer column needs (1fr), so no column's height ever opens a gap in another. "band" pages: head | side on row 1
   and the hairline across the full width. */
/* six tracks with the same gap: a third = 2 tracks (the old column width), a half = 3 tracks ("band" pages whose
   items read better in two) */
.t5-flow { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-template-rows: auto auto auto auto 1fr; column-gap: 56px; }
.t5-flow > .t5-about-head { grid-column: 1 / 5; grid-row: 1; }
.t5-flow::after { content: ""; grid-column: 1 / 5; grid-row: 2; margin: 52px 0 30px; border-top: 1px solid var(--ink); }
.t5-flow--band::after { grid-column: 1 / -1; }
.t5-stack { align-self: start; }
.t5-stack > .t5-col + .t5-col, .t5-stack--after { margin-top: 44px; }
.t5-stack--side { padding-top: 4px; }   /* its small heading level with the eyebrow's letters */
/* no About of its own: the rest of the draft "What it is" may run on under the lead, in the About's body style */
.t5 .t5-lead-more { margin-top: 26px; max-width: 62ch; }
.t5 .t5-lead-more p { font-size: 16px; line-height: 1.8; color: var(--muted); }
.t5 .t5-lead-more p + p { margin-top: 14px; }

/* ---- 5. Related: two or three, each with its own first sentence. ---- */
.t5-rel { background: var(--canvas); padding: 76px 40px 84px; }
.t5 .t5-more { max-width: 1240px; margin: 0 auto; }
.t5-rel-head { max-width: 1240px; margin: 0 auto 34px; display: flex; align-items: baseline; justify-content: space-between; gap: 24px; }
.t5 .t5-rel-head h2 { font-size: 34px; line-height: 1.15; }
/* undo the v2 list look that .tp-more carries (the class stays: the checker and the menu link rely on it) */
.t5 .t5-more ul { list-style: none; margin: 0; padding: 0; background: none; border: 0; box-shadow: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.t5 .t5-more li { border: 0; }
.t5 .t5-more .t5-card a { display: block; height: 100%; padding: 0; gap: 0; background: var(--surface); text-decoration: none; }
.t5 .t5-more .t5-card-img { display: block; overflow: hidden; aspect-ratio: 4 / 5; background: var(--raised); }
.t5 .t5-more .t5-card-img img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); transition: transform .6s cubic-bezier(.23, 1, .32, 1); }
.t5 .t5-more .t5-card a:hover .t5-card-img img { transform: scale(1.04); }
.t5 .t5-more .t5-card-txt { display: block; padding: 22px 24px 26px; white-space: normal; }
.t5 .t5-more .t5-card-txt b { display: block; font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1.2; color: var(--ink); white-space: normal; }
.t5 .t5-more .t5-card-txt i { display: block; margin-top: 7px; font-style: normal; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); white-space: normal; }
.t5 .t5-more .t5-card-txt span { display: block; margin-top: 12px; font-size: 14px; line-height: 1.65; color: var(--muted); white-space: normal; }
.t5 .t5-more--2 ul { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 820px; }
/* one sibling: a single wide line, not a stranded card */
.t5 .t5-more--1 ul { grid-template-columns: 1fr; }
.t5 .t5-more--1 .t5-card a { display: grid; grid-template-columns: 200px minmax(0, 1fr) auto; align-items: center; gap: 0 34px; }
.t5 .t5-more--1 .t5-card-img { aspect-ratio: 1 / 1; }
.t5 .t5-more--1 .t5-card-txt { padding: 20px 0; }
.t5 .t5-more--1 .t5-card-go { padding-right: 34px; font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); white-space: nowrap; }
.t5-card-go { display: none; }
.t5 .t5-more--1 .t5-card-go { display: block; }

/* ---- 6. Closing: Book again beside the photo; policies as one line. ---- */
.t5-end { display: grid; grid-template-columns: minmax(0, 46fr) minmax(0, 54fr); max-width: 1680px; margin: 0 auto; background: var(--sageD); }
.t5-end-photo { margin: 0; min-height: 520px; overflow: hidden; background: var(--ink2); }
.t5 .t5-end-photo img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos-band, var(--pos, 50% 50%)); }
.t5-end-main { padding: 76px 72px 68px; align-self: center; max-width: 860px; }
.t5 .t5-end .pg-eyebrow { color: #dfe6d9; margin-bottom: 14px; }
.t5 .t5-end-name { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 52px; line-height: 1.05; color: #fff; }  /* the name again: text, not a heading */
.t5 .t5-end-sub { margin-top: 14px; font-size: 16px; line-height: 1.7; color: #e3ebdd; }
.t5-end-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.t5 .t5-end a.tp2-btn { padding: 18px 32px; }
/* long option names: the label wraps inside the button, never past the screen; " · $price" stays on one line */
.t5-end-btns .tp2-btn, .t5 .t5-results .tp2-btns .tp2-btn { white-space: normal; text-wrap: balance; max-width: 100%; }
.t5 .t5-nw { white-space: nowrap; }
.t5 .t5-end a.t5-btn-light:hover { background: var(--ink); border-color: var(--ink); }
.t5 .t5-end a.t5-btn-ghost { background: transparent; border-color: #fff; color: #fff; }
.t5 .t5-end a.t5-btn-ghost:hover { background: #fff; color: var(--ink); }
.t5-pol { list-style: none; margin: 44px 0 0; padding: 20px 0 0; border-top: 1px solid rgba(255, 255, 255, .3); display: flex; flex-wrap: wrap; gap: 6px 26px; font-size: 13px; line-height: 1.6; color: #e3ebdd; }
.t5 .t5-pol a { color: #fff; text-underline-offset: 4px; }
/* the site shell forces a green outline (interactions.css, !important): on green and on ink it must be white */
.t5 .t5-end a:focus-visible, .t5 .t5-results a:focus-visible, .t5.t5--none .t5-band a:focus-visible { outline: 2px solid #fff !important; outline-offset: 3px; }
.t5--none .t5-end { display: block; background: var(--tint); }
.t5--none .t5-end-main { max-width: 1240px; margin: 0 auto; padding: 44px 40px 48px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 40px; align-items: center; }
.t5.t5--none .t5-end-name { font-size: 34px; color: var(--ink); }
.t5.t5--none .t5-end .pg-eyebrow { color: var(--sageD); }
.t5.t5--none .t5-end-sub { color: var(--muted); margin-top: 8px; }
.t5--none .t5-end-btns { margin-top: 0; }
.t5.t5--none .t5-end a.t5-btn-light { background: var(--ink); border-color: var(--ink); color: #fff; }
.t5.t5--none .t5-end a.t5-btn-ghost { border-color: var(--ink); color: var(--ink); }
.t5.t5--none .t5-end a.t5-btn-ghost:hover { background: var(--ink); color: #fff; }
.t5--none .t5-pol { grid-column: 1 / -1; margin-top: 10px; border-top-color: var(--line2); color: var(--muted); }
.t5.t5--none .t5-pol a { color: var(--ink); }
.t5.t5--none .t5-end a:focus-visible { outline-color: var(--ink) !important; }

/* ---- 7. Book bar: one slim row. Shown only while no exact Book control is on screen (set by treatment-page-t5.js);
        on a phone it also stays when JS is off. ---- */
.t5-bar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; align-items: center; justify-content: space-between; gap: 16px;
  background: var(--surface); border-top: 1px solid var(--line2); padding: 9px 40px calc(9px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -14px 28px -22px rgba(40, 41, 40, .5); transition: transform .25s cubic-bezier(.23, 1, .32, 1); }
.t5-js .t5-bar { display: flex; }
.t5-bar[data-off] { transform: translateY(110%); box-shadow: none; }
.t5-bar-txt { min-width: 0; }
.t5-bar-name { display: block; font-family: var(--serif); font-size: 17px; line-height: 1.2; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t5-bar-from { display: block; margin-top: 2px; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.t5-bar-btns { display: flex; gap: 8px; flex: 0 0 auto; }
.t5 .t5-bar a.tp2-btn { padding: 11px 22px; }
/* focused content is never left under the bar */
html:has(.t5-bar) { scroll-padding-bottom: 76px; }

@media (max-width: 1239px) {
  .t5-main { padding: 0 44px 56px; }
  .t5-end-main { padding: 60px 44px; }
  .t5 .t5-body h1 { font-size: 52px; }
  .t5.t5--none .t5-top h1 { font-size: 76px; }
  .t5-facts3 dd { font-size: 24px; }
  .t5-facts3 div { padding-right: 24px; margin-right: 24px; }
  .t5-results-in { grid-template-columns: minmax(0, 1fr) 300px; gap: 44px; }
  .t5 .t5-lead { font-size: 34px; }
  .t5-cols { gap: 0 40px; }
  .t5-flow { column-gap: 40px; }
  .t5-groups, .t5-board-foot { column-gap: 44px; }
}
@media (max-width: 899px) {
  .t5-stage, .t5-end { display: block; }
  .t5-photo { position: relative; height: auto; min-height: 0; max-height: none; aspect-ratio: 16 / 10; }
  .t5 .t5-photo img { object-position: var(--pos-band, var(--pos, 50% 50%)); }
  .t5-main, .t5--none .t5-main { display: block; min-height: 0; max-width: none; padding: 0 18px 44px; }
  .t5--none .t5-main { padding-bottom: 0; }
  .t5 .t5-main .pg-crumb { padding-top: 16px; }
  .t5-body { padding-top: 22px; }
  .t5 .t5-body h1 { font-size: 40px; line-height: 1.05; }
  .t5--none .t5-top { display: block; padding: 26px 0 30px; }
  .t5.t5--none .t5-top h1 { font-size: 56px; }
  .t5 .t5-promise { margin-top: 16px; font-size: 16px; }
  .t5-facts3, .t5--none .t5-facts3 { margin-top: 24px; grid-template-columns: auto auto 1fr; }
  .t5-facts3 div { padding: 14px 16px 16px 0; margin-right: 16px; }
  .t5-facts3 dd { font-size: 21px; }
  .t5-facts3 dd.t5-with { font-size: 15px; }
  .t5-book { margin-top: 26px; }
  .t5--none .t5-board { padding: 30px 18px 44px; }
  .t5-groups, .t5-board-foot { display: block; }
  .t5-group + .t5-group { margin-top: 34px; }
  .t5-board-foot .t5-help { margin-top: 28px; }
  .t5-opt-line { gap: 4px 14px; padding: 15px 0; margin: 0; }
  .t5-opt-line:hover, .t5-opt-line:focus-within { background: none; }
  .t5-opt-name { font-size: 20px; }
  .t5-opt-price { font-size: 21px; }
  /* the visible phone line (.t5-opt-who) is aria-hidden; this copy carries the same words for screen readers */
  .t5-opt-price small { position: absolute; width: 1px; height: 1px; margin: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .t5-opt-who { display: block; margin-top: 4px; font-size: 12px; color: var(--muted); }
  .t5 .t5-opt a.tp-book { padding: 13px 20px; }
  .t5-help { grid-template-columns: 1fr; }
  .t5 .t5-help a.tp2-btn { justify-self: start; margin-top: 6px; }
  .t5-people--row { grid-template-columns: 1fr; }
  .t5-results { padding: 0 0 48px; }
  .t5-results-in { display: block; }
  .t5-ba-labels { padding: 0 18px; }
  .t5-results-copy { padding: 30px 18px 0; }
  .t5 .t5-results h2 { font-size: 32px; }
  .t5 .t5-results-cap { font-size: 21px; }
  .t5 .t5-results .tp2-btns .tp2-btn { flex: 1 1 100%; }
  .t5-about { padding: 52px 18px 56px; }
  .t5 .t5-about h2, .t5 .t5-faq h2 { font-size: 27px; }
  .t5 .t5-lead { font-size: 26px; line-height: 1.3; margin-top: 20px; }
  .t5-cols, .t5-cols--2 { display: block; margin-top: 34px; padding-top: 0; border-top: 0; }
  .t5-col { padding-top: 22px; border-top: 1px solid var(--ink); }
  .t5-col + .t5-col { margin-top: 34px; }
  /* About flow: one column in DOM order (= reading order); every item keeps the phone rule above it */
  .t5-flow { display: block; }
  .t5-flow::after { content: none; }
  .t5-flow .t5-col, .t5-stack--after { margin-top: 34px; }
  .t5-stack--side { padding-top: 0; }
  .t5-rel { padding: 48px 18px 56px; }
  .t5-rel-head { display: block; margin-bottom: 24px; }
  .t5 .t5-rel-head h2 { font-size: 27px; margin-bottom: 14px; }
  /* cards stack: photo left, words right; nothing to swipe, nothing to clip */
  .t5 .t5-more ul, .t5 .t5-more--2 ul, .t5 .t5-more--1 ul { display: grid; grid-template-columns: 1fr; gap: 14px; max-width: none; }
  .t5 .t5-more .t5-card a, .t5 .t5-more--1 .t5-card a { display: grid; grid-template-columns: 118px minmax(0, 1fr); align-items: stretch; gap: 0; }
  .t5 .t5-more .t5-card-img, .t5 .t5-more--1 .t5-card-img { aspect-ratio: auto; min-height: 148px; height: 100%; }
  .t5 .t5-more .t5-card-txt, .t5 .t5-more--1 .t5-card-txt { padding: 16px 16px 18px; align-self: center; }
  .t5 .t5-more .t5-card-txt b { font-size: 20px; }
  .t5 .t5-more .t5-card-txt span { display: none; }
  .t5 .t5-more--1 .t5-card-go { display: none; }
  .t5-end-photo { min-height: 0; aspect-ratio: 16 / 10; }
  .t5-end-main, .t5--none .t5-end-main { display: block; padding: 44px 18px 48px; }
  .t5 .t5-end-name { font-size: 36px; }
  .t5.t5--none .t5-end-name { font-size: 27px; }
  .t5-end-btns, .t5--none .t5-end-btns { margin-top: 24px; }
  .t5-end-btns .tp2-btn { flex: 1 1 100%; }
  .t5-pol, .t5--none .t5-pol { margin-top: 32px; display: block; }
  .t5-pol li + li { margin-top: 4px; }
}
@media (max-width: 379px) {   /* 320-wide phones: the three facts (time, price, options) still fit on one row */
  .t5-facts3 div { padding-right: 10px; margin-right: 10px; }
  .t5-facts3 dd { font-size: 18px; }
}
@media (max-width: 749px) {
  .t5-bar, .t5-js .t5-bar { display: flex; padding: 8px 18px calc(8px + env(safe-area-inset-bottom, 0px)); }
  .t5-bar-name { font-size: 15px; }
  /* price and time may take two lines beside the button on a narrow phone; each part stays whole */
  .t5-bar-from { white-space: normal; }
  .t5-bar-from > span { white-space: nowrap; }
  .t5 .t5-bar a.tp2-btn { padding: 11px 16px; letter-spacing: .12em; }
  .t5-bar--two .t5-bar-txt { display: none; }       /* two direct Book buttons take the row */
  .t5-bar--two .t5-bar-btns { flex: 1 1 auto; min-width: 0; }
  .t5 .t5-bar--two .t5-bar-btns a.tp2-btn { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; justify-content: center;
    padding: 9px 10px; white-space: normal; text-wrap: balance; line-height: 1.35; letter-spacing: .1em; }
  body:has(.t5-bar) { padding-bottom: 60px; }       /* JS off: the bar stays, the page ends above it */
  body:has(.t5-bar--two) { padding-bottom: 90px; }  /* JS off: a two- or three-line bar is taller */
  body:has(.t5-js .t5-bar) { padding-bottom: 0; }   /* JS on: the bar leaves at the closing block and below */
}
@media (prefers-reduced-motion: reduce) {
  .t5 .t5-photo img { animation: none; }
  .t5-opt-line, .t5 .t5-more .t5-card-img img, .t5-bar { transition: none; }
  .t5 .t5-more .t5-card a:hover .t5-card-img img { transform: none; }
}

/* ---- MM slots (empty until Martha-Marie sends the words; SPEC "Content to request") ---- */
.t5-cols { row-gap: 44px; }
.t5 .t5-steps { margin: 0; padding-left: 1.2em; font-size: 16px; line-height: 1.8; color: var(--muted); }
.t5 .t5-steps li + li { margin-top: 6px; }
.t5 .t5-review { margin: 26px 0 0; padding: 0; border: 0; max-width: 46ch; }
.t5 .t5-review p { font-family: var(--serif); font-style: italic; font-size: 21px; line-height: 1.5; }
.t5 .t5-review cite { display: block; margin-top: 10px; font-style: normal; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; }
.t5 .t5-results .t5-review p { color: #fff; }
.t5 .t5-results .t5-review cite { color: #c9cec4; }
.t5 .t5-about .t5-review p { color: var(--ink); }
.t5 .t5-about .t5-review cite { color: var(--muted); }
@media (max-width: 899px) { .t5 .t5-review p { font-size: 18px; } }

/* ---- Where and when: address, call, hours (as /pages/contact/ prints them), in the closing block ---- */
.t5-visit { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 18px 44px; margin-top: 40px; font-size: 13.5px; line-height: 1.65; color: #e3ebdd; }
.t5 .t5-visit b { display: block; margin-bottom: 4px; font-weight: 400; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: #fff; }
.t5 .t5-visit a { color: #fff; text-underline-offset: 4px; }
.t5-visit dl { margin: 0; display: grid; grid-template-columns: auto auto; gap: 2px 16px; }
.t5-visit dl div { display: contents; }
.t5-visit dd { margin: 0; white-space: nowrap; }
.t5-visit + .t5-pol { margin-top: 30px; }
.t5--none .t5-visit { grid-column: 1 / -1; margin-top: 10px; color: var(--muted); }
.t5.t5--none .t5-visit b, .t5.t5--none .t5-visit a { color: var(--ink); }
.t5--none .t5-visit + .t5-pol { margin-top: 0; }

/* ---- Every treatment in the group, one plain line under the cards ---- */
.t5-all { max-width: 1240px; margin: 34px auto 0; }
.t5 .t5-all p { font-size: 14px; line-height: 1.9; color: var(--muted); }
.t5 .t5-all p + p { margin-top: 6px; }
.t5 .t5-all b { font-weight: 500; color: var(--ink); margin-right: 4px; }
.t5 .t5-all a { color: var(--ink); text-underline-offset: 4px; text-decoration-color: var(--line2); }
.t5 .t5-all a:hover { text-decoration-color: var(--ink); }
.t5-rel-head + .t5-all { margin-top: 0; }
@media (max-width: 899px) {
  .t5-visit, .t5--none .t5-visit { grid-template-columns: 1fr; gap: 16px; margin-top: 32px; }
  .t5-all { margin-top: 26px; }
}
/* grouped options (Waxing): the list heading sits above the group heads without a second rule */
.t5-book-head:has(+ .t5-groups) { border-bottom: 0; padding-bottom: 0; }
.t5-book-head + .t5-groups { margin-top: 22px; }

/* "Not sure which to choose?" links to the Not sure where to start page (SEO audit 2026-12-01 item 5): same look,
   underline only on hover / keyboard focus. */
.t5 .t5-help b a.t5-help-link { color: inherit; text-decoration: none; font: inherit; }
.t5 .t5-help b a.t5-help-link:hover, .t5 .t5-help b a.t5-help-link:focus-visible { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .16em; }

/* ---- DRAFT SEO copy (step 19; scripts/build-treatments.py SEO_COPY, every element data-draft="seo") ----
   Nothing new to look at: the h1 line is the promise's style, the About items are About columns (a column may hold two
   items), the "Pairs well with" line is the "Also in" line, and "Questions" is the services menu's FAQ (faq.css) under
   an About-style h2, on the About's own background, so it reads as the end of the About. */
/* the h1 line: the promise's style, a size down and full width, so it stays one line at 1440 (it wraps on phones) */
.t5 .t5-sub { max-width: none; margin-top: 10px; font-size: 14.5px; line-height: 1.6; }
.t5 .t5-promise + .t5-sub { margin-top: 8px; }
.t5.t5--none .t5-promise { color: #dfe6d9; }
.t5 .t5-col p + h3 { margin-top: 34px; }
.t5-faq { padding: 0 40px 88px; background: var(--surface); }
.t5 .t5-faq .pg-qa-list { margin-top: 26px; }
/* Questions: two lists side by side across the About's width (first half left), one after the other on phones */
.t5-faq-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; align-items: start; margin-top: 26px; }
.t5 .t5-faq .t5-faq-cols .pg-qa-list { max-width: none; margin-top: 0; }
@media (max-width: 1239px) { .t5-faq-cols { column-gap: 40px; } }
@media (max-width: 899px) { .t5-faq { padding: 0 18px 56px; } .t5-faq-cols { display: block; margin-top: 20px; }
  .t5 .t5-faq .t5-faq-cols .pg-qa-list + .pg-qa-list { border-top: 0; } }
