/* Doctor of Beauty: the salon. Loaded after site.css, on the salon only.
   The same doctor's office as the barbershop (ivory, champagne gold, black ink, Archivo, Courier
   Prime), in the Doctor's handwriting: Pinyon Script for the few big lines. Script is never set
   small and never in capitals, so names in lists and prices fall back to Archivo. */
@font-face { font-family: 'Pinyon Script'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/pinyon-script-latin-400-normal.woff2) format('woff2'); }

:root { --f-display: 'Pinyon Script', 'Snell Roundhand', 'Apple Chancery', cursive; }

/* ── Lettering ────────────────────────────────────────────────────────────── */
.display, .title { line-height: 1.02; }
.title { font-size: clamp(66px, 8.4vw, 128px); padding-bottom: .1em; }
.hd-brand .lockup { height: 42px; }
/* The script's hairlines hold at header size with a hair of extra weight */
.lockup path + path, .stamp path + path { stroke: currentColor; stroke-width: 3px; stroke-linejoin: round; }
.hd-sheet nav a { font-size: clamp(46px, 13vw, 66px); line-height: 1.12; }
.page-title { font-size: clamp(56px, 14vw, 100px); line-height: 1; padding-bottom: .08em; }
.step-title { font-size: 58px; line-height: 1; padding-bottom: .06em; }
.done-title { font-size: 78px; line-height: 1; }
.ft-big { font-size: clamp(58px, 7.4vw, 120px); line-height: 1; max-width: none; padding: 0 0 .14em .06em; white-space: nowrap; }
/* Read in lists: Archivo */
.fl-name, .soon-name strong { font: 700 20px/1.15 var(--f); }
.svc-name { font: 600 17.5px/1.25 var(--f); }
.day-empty .display { font: 800 26px/1.1 var(--f-cond); font-stretch: 72%; letter-spacing: .03em; text-transform: uppercase; }
.avatar.initials span, .fl-pic .display { font-family: var(--f-display); }
.fl-pic .display { font-size: 30px; line-height: 1; }
.bc-when.display, .bc-time.display, .svc-price.display, .sum-price.display, .foot-price.display, .ticket-total.display, .soon-price.display { font-family: var(--f-cond); }

/* ── Hero: the line, the portrait, the prescription ───────────────────────── */
.salon-hero .hero-main { grid-template-columns: minmax(0, 1fr) auto minmax(300px, 350px); }
.salon-hero .say-h { font-size: clamp(72px, 6.6vw, 132px); line-height: .98; margin-top: 14px; padding-bottom: .12em; white-space: nowrap; }
.salon-hero .say-p { max-width: 32ch; margin-top: 14px; }
.portrait { margin: 0; width: min(25vw, 420px, calc((100svh - 250px) * .72)); rotate: -1.1deg; }
.portrait button { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; color: inherit; }
.portrait .fig-plate { display: block; aspect-ratio: 4 / 5; }
.portrait figcaption { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 4px 12px; margin-top: 16px; padding: 0 2px; font: 400 14px/1.2 var(--f-type); color: var(--fg-2); }
.portrait figcaption span { font: 800 17px/1 var(--f-cond); font-stretch: 72%; letter-spacing: .05em; text-transform: uppercase; color: var(--fg); }
.portrait figcaption b { font: 700 17px/1 var(--f-type); color: var(--fg); }
.portrait figcaption i { grid-column: 1 / -1; font-style: normal; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--brass); }
.portrait button:hover .fig-plate img { transform: scale(1.03); }

/* The prescription: lines off the menu, with a box to tick */
.pad-rows li { border-bottom: 1px dashed rgba(23, 20, 15, .32); animation: rise-in .5s var(--ease-out) calc(.7s + var(--i) * 70ms) both; }
.pad-row { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; min-height: 54px; padding: 9px 0 8px; cursor: pointer; }
.pad-row input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.pad-box { display: grid; place-items: center; width: 22px; height: 22px; border: 1.5px solid var(--antique); border-radius: 2px; background: var(--card); color: transparent; transition: background-color .15s, color .15s; }
.pad-row.on .pad-box { background: var(--brush), var(--brass-grad); color: #0B0A08; }
.pad-row input:focus-visible + .pad-box { outline: 2px solid var(--brass); outline-offset: 3px; }
.pad-row:hover .pad-box { border-color: #0B0A08; }
.pad-name { display: grid; gap: 3px; min-width: 0; font: 600 16px/1.2 var(--f); }
.pad-name small { font: 400 12.5px/1 var(--f-type); color: #5F574A; }
.pad-row b { font: 700 17px/1 var(--f-type); letter-spacing: -.01em; white-space: nowrap; }
.pad .btn-plate .btn-price { padding-left: 12px; margin-left: 12px; border-left: 1px solid rgba(26, 18, 6, .4); font-family: var(--f-type); font-weight: 700; letter-spacing: 0; }

@media (max-width: 1239px) {
  .salon-hero .hero-main { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; }
  .salon-hero .say-h { font-size: clamp(64px, 8.4vw, 104px); }
  .portrait { display: none; }
}
@media (max-width: 719px) {
  .hd-brand .lockup { height: 34px; }
  .title { font-size: clamp(54px, 15vw, 66px); }
  .salon-hero .hero-main { grid-template-columns: minmax(0, 1fr); }
  .salon-hero .say-h { margin-top: 6px; font-size: clamp(52px, 15.2vw, 66px); line-height: .98; }
  .salon-hero .say-p { margin-top: 6px; }
  .pad-row { min-height: 50px; }
  .ft-big { font-size: clamp(50px, 14vw, 64px); white-space: normal; max-width: 7ch; padding-left: .12em; }
  .step-title { font-size: 50px; }
}

/* ── Treatments: the index, the page, the figure ──────────────────────────── */
.tm-grid { display: grid; grid-template-columns: minmax(190px, 240px) minmax(0, 1fr) minmax(250px, 330px); gap: clamp(26px, 4vw, 72px); align-items: start; }
.tm-index { position: sticky; top: calc(var(--head-h) + 22px); display: grid; border-top: 1.5px solid var(--rule); }
.tm-index button { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 15px 4px 14px 0; border: 0; border-bottom: 1px dashed rgba(60, 44, 12, .3); background: none; text-align: left; color: var(--fg-2); transition: padding .25s var(--ease-out), color .2s; }
.tm-index button span { font: 800 19px/1 var(--f-cond); font-stretch: 72%; letter-spacing: .05em; text-transform: uppercase; }
.tm-index button small { font: 400 13px/1 var(--f-type); white-space: nowrap; }
.tm-index button:hover { color: var(--fg); }
.tm-index button.on { padding-left: 14px; color: var(--fg); box-shadow: inset 3px 0 0 var(--brass); }
.tm-page { min-width: 0; animation: step-in .3s var(--ease-out); }
.tm-note { padding: 14px 0 2px; font-size: 15.5px; line-height: 1.45; color: var(--fg-2); max-width: 52ch; }
.tm-side { display: grid; gap: 30px; }
.tm-fig { margin: 0 6px; }
.tm-fig .fig-plate { display: block; }
.tm .mn-group.side { margin: 0; }
@media (max-width: 1100px) {
  .tm-grid { grid-template-columns: minmax(170px, 210px) minmax(0, 1fr); }
  .tm-side { grid-column: 2; }
  .tm-fig { display: none; }
}
@media (max-width: 760px) {
  .tm-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  /* The index becomes a row of tabs that stays under the header while the page scrolls */
  .tm-index { top: var(--head-h); z-index: 5; display: flex; gap: 6px; overflow-x: auto; margin: 0 calc(-1 * var(--pad)); padding: 8px var(--pad); border-top: 0; background: color-mix(in srgb, var(--paper) 94%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); scrollbar-width: none; }
  .tm-index::-webkit-scrollbar { display: none; }
  .tm-index button { flex: none; min-height: 42px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 2px; background: var(--card); color: var(--fg); }
  .tm-index button span { font-size: 15px; }
  .tm-index button small { display: none; }
  .tm-index button.on { padding-left: 14px; background: var(--brush), var(--champ-grad); border-color: var(--antique); box-shadow: none; }
  .tm-side { grid-column: 1; margin-top: 12px; }
}

/* ── The Specialists ──────────────────────────────────────────────────────── */
.sp { padding: clamp(60px, 8vw, 120px) 0; border-top: 1px solid rgba(140, 109, 44, .4); border-bottom: 1px solid rgba(140, 109, 44, .4); }
.sp .dr-name { font-size: clamp(46px, 4vw, 60px); line-height: 1; padding-bottom: .1em; }
.sp .dr-mono { font-size: 46px; padding: 0 2px 2px 0; }
.sp .dr-any .dr-name { font-size: clamp(40px, 3.4vw, 50px); }
.sp-next { margin: 14px 4px 0; font: 400 14.5px/1.35 var(--f-type); color: var(--fg-2); }
@media (max-width: 719px) {
  .sp { padding: 44px 0 52px; }
  .sp .dr-name, .sp .dr-any .dr-name { font-size: 40px; }
  .sp .dr-mono { font-size: 34px; }
  .sp-next { margin-top: 10px; }
}

/* ── Doctor's orders ──────────────────────────────────────────────────────── */
.orders { padding: clamp(60px, 8vw, 120px) 0; }
.orders-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(30px, 5vw, 90px); align-items: start; }
.orders .lede { margin-top: 18px; }
.orders-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 46px); margin-top: 14px; border-top: 1.5px solid var(--rule); }
.orders-list div { padding: 22px 0 24px; border-bottom: 1px dashed rgba(60, 44, 12, .34); }
.orders-list dt { font: 800 19px/1.1 var(--f-cond); font-stretch: 72%; letter-spacing: .05em; text-transform: uppercase; }
.orders-list dd { margin-top: 9px; font-size: 16.5px; line-height: 1.5; color: var(--fg-2); max-width: 40ch; }
@media (max-width: 900px) { .orders-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 719px) {
  .orders { padding: 44px 0 48px; }
  .orders-list { grid-template-columns: minmax(0, 1fr); margin-top: 0; }
  .orders-list div { padding: 16px 0 18px; }
}

/* Reviews sit on ivory here (the specialists took the cream band) */
.visit-where { margin-top: 20px; max-width: 44ch; font-weight: 600; }
