/* Page CSS for the combined variant. Only what the taste kit leaves to the page: the draft bar, the
   appointment card on the hero photograph, the care record, the to-confirm tags, slots and the form panel. */

/* the review draft bar: a dark strip inside the container lines, at the top of the fixed header (review only, removed at launch) */
:root { --draft: 48px; --nav: calc(72px + var(--draft)); --padt: calc(120px + var(--draft)); }
@media (max-width: 639px) { :root { --draft: 52px; --nav: calc(56px + var(--draft)); --padt: calc(96px + var(--draft)); } }
.nav { display: flex; flex-direction: column; }
.nav > .nav__bar { height: auto; flex: 1; }
.draftbar { flex: none; height: var(--draft); padding-top: 4px; font: 400 13px/1.3 var(--font-text); }
/* drawn in the page's "to confirm" language: a dashed sage rule under the note, so it reads as review scaffolding, not as the site */
.draftbar__in { height: 100%; display: flex; align-items: center; gap: var(--s-4);
  color: var(--tag-ink); border-bottom: 1px dashed currentColor; }
.draftbar__note { flex: 1; min-width: 0; margin: 0; color: var(--tag-ink); }
.draftbar__note strong { font-weight: 600; }
.draftbar a { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; text-decoration: underline; text-underline-offset: 3px;
  text-decoration-color: color-mix(in oklab, currentColor 50%, transparent); white-space: nowrap; }
.draftbar a:focus-visible { outline: 2px solid var(--action); outline-offset: 2px; }
@media (max-width: 1023px) { .draftbar__risk { display: none; } }
@media (max-width: 639px) { .draftbar__in { gap: var(--s-3); } .draftbar__long { display: none; } }

/* every unknown: a sage pencil tag, kept whole on one line (the longest fits a 312px phone column) */
.tbc { display: inline-block; vertical-align: baseline; padding: 1px 8px; margin: 0 .15em; border: 1px dashed currentColor; border-radius: 999px;
  white-space: nowrap; max-width: 100%;
  font: 500 13px/1.6 var(--font-text); letter-spacing: 0; color: var(--tag-ink); background: var(--tag-bg); }
.ground-inverse .tbc { color: var(--tag-ink); }

/* the hero: the appointment card on the room's calm wall; rose-gold rule inside its edge */
.hero--photo .hero__text.card-stock { position: relative; box-shadow: 0 18px 48px -28px rgb(53 32 42 / .45); }
.hero--photo .hero__text.card-stock::after { content: ""; position: absolute; inset: 10px; border: 1px solid color-mix(in oklab, var(--metal) 55%, transparent);
  border-radius: calc(var(--r-lg) - 6px); pointer-events: none; }
.hero--photo h1 { font-size: clamp(44px, 4.6vw + 10px, 76px); line-height: 1.02; max-width: 12ch; }
.hero__pick { display: grid; gap: var(--s-2); margin-top: var(--s-6); max-width: 420px; }
.hero__pick label { font: 500 var(--t-label)/1.4 var(--font-text); color: var(--muted); }
.hero__pick select { appearance: none; -webkit-appearance: none; height: 48px; padding: 0 36px 0 0; border: 0; border-bottom: 1px solid var(--ink);
  border-radius: 0; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5l3 3 3-3' fill='none' stroke='%2335202a' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 4px center / 14px;
  font: 400 18px/1.3 var(--font-text); color: var(--ink); cursor: pointer; }
.hero__pick select:focus-visible { outline: 2px solid var(--action); outline-offset: 4px; }
.hero--photo .hero__text .btn-row { margin-top: var(--s-5); }
@media (max-width: 1023px) {
  .hero--photo .hero__text.card-stock { box-shadow: none; }
  .hero--photo .hero__text.card-stock::after { display: none; }
}
@media (max-width: 639px) {
  .hero--photo { --photo: 24svh; --hgap: 24px; }
  .hero--photo h1 { font-size: 40px; }
  .hero__pick { margin-top: var(--s-5); max-width: none; }
  .hero--photo .hero__lead { font-size: 17px; }
}

/* treatments: care-plan rows; the value is the kind of treatment, never a price */
.care-rows .rows__value { color: var(--muted); font-size: var(--t-small); }
.rows-more { margin-top: var(--s-5); color: var(--muted); }
.still-photo, .book-photo { --ratio: 125%; }
@media (max-width: 639px) { .book-photo { --ratio: 165%; } }
@media (min-width: 640px) and (max-width: 1023px) { .still-photo, .book-photo { --ratio: 62%; } }

/* the philosophy: one drenched plum field, her words lighting up as they are read */
.statement .statement__h { font: 500 var(--t-label)/1.4 var(--font-text); letter-spacing: 0; color: var(--muted); margin-bottom: var(--s-6); }
.statement .mo-wh__text { font-size: clamp(30px, 2.4vw + 14px, 50px); line-height: 1.18; max-width: 24ch; }
.statement__by { margin-top: var(--s-7); color: var(--muted); font-style: italic; }
.statement__by::before { content: ""; display: inline-block; width: 32px; height: 1px; margin-right: 12px; vertical-align: middle; background: var(--metal); }

/* the record: registration and background as ruled rows, like a care plan */
.record { margin: 0; border-top: 1px solid var(--line-strong); }
.record > div { display: grid; grid-template-columns: minmax(0, 200px) minmax(0, 1fr); gap: var(--s-2) var(--s-5); padding: var(--s-4) 0; border-bottom: 1px solid var(--line); }
.record dt { font: 500 var(--t-small)/1.5 var(--font-text); color: var(--muted); }
.record dd { margin: 0; line-height: 1.55; }
@media (max-width: 639px) { .record > div { grid-template-columns: minmax(0, 1fr); gap: var(--s-1); } }

/* the portrait slot: Joy's own photograph comes later, we never draw her */
.portrait-slot { --ratio: 125%; background: var(--p-surface); border: 1px dashed color-mix(in oklab, var(--metal) 70%, transparent); }
.portrait-slot__inner { display: grid; justify-items: center; gap: var(--s-4); text-align: center; padding: var(--s-6); }
.portrait-slot__mono { font: 400 clamp(64px, 7vw, 112px)/1 var(--font-display); letter-spacing: .02em; color: var(--metal); }
@media (min-width: 640px) and (max-width: 1023px) { .portrait-slot { --ratio: 50%; } }

/* typical-clinic proof slots (version b): labelled, empty on purpose */
.proof-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
.slot { display: grid; align-content: center; justify-items: start; gap: var(--s-3); padding: var(--s-6); min-height: 220px;
  background: var(--p-surface); border: 1px dashed color-mix(in oklab, var(--metal) 70%, transparent); border-radius: var(--r-lg); }
.slot__kind { font: 400 var(--t-h3)/1.2 var(--font-display); }
.slot p { max-width: 36ch; }
@media (max-width: 1023px) { .proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .slot:nth-child(3), .slot:nth-child(6) { display: none; } }
@media (max-width: 639px) { .proof-grid { grid-template-columns: minmax(0, 1fr); } .slot { min-height: 0; padding: var(--s-5); } .slot:nth-child(2), .slot:nth-child(5) { display: none; } }

/* the request form: the kit's form, bare on the paler band; the consent line across both columns */
.form > .field--check { grid-column: 1 / -1; }
.field--check { display: grid; grid-template-columns: 24px 1fr; gap: var(--s-3); align-items: start; font-weight: 400; font-size: var(--t-body); }
.field--check input { width: 24px; height: 24px; margin: 0; accent-color: var(--p-action); }
.field--check .field__error { grid-column: 1 / -1; }
.form__status:empty { display: none; }

/* footer */
.closing__cta > .btn { flex: none; align-self: flex-start; }
@media (max-width: 639px) { .closing__cta > .btn { align-self: stretch; } }
.footer__address { font: 400 var(--t-h3)/1.25 var(--font-display); font-style: normal; }
.socials-note { color: var(--muted); }

/* the parts the browser draws, in the page's colours */
::selection { background: color-mix(in oklab, var(--metal) 40%, var(--p-bg)); color: var(--p-ink); }
html { accent-color: var(--p-action); caret-color: var(--p-action); }

/* 44px targets at every width (the brief), not only on a phone: nav, logo, text links, footer links, credits */
.nav__link, .nav__logo, .link, .footer__nav a { display: inline-flex; align-items: center; min-height: 44px; }
.footer__nav a { min-width: 44px; }
.footer__nav { row-gap: 0; margin-top: var(--s-6); padding-top: var(--s-2); }
.footer__legal { margin-top: var(--s-2); }
.credits > summary { display: inline-flex; align-items: center; min-height: 44px; }
