/* Team pages (the team list and each practitioner's profile) in the home page's style.
   These pages load styles.css, t02.css (colours, type, header, buttons, footer), profile.css, then this file, which
   holds only what the team pages need on top: the page title, the portraits, the cards and the profile's details. */

:root .profile-page { padding-bottom: 0; }   /* no bottom bar on phone, as on the home page */
:root .profile-main { padding-top: calc(var(--head) + 48px); }

/* buttons: the home page's shape and label: 6px corners, capitals, no dot */
:root .profile-page .btn { --h: 48px; min-height: 48px; padding: 0 24px; gap: 8px; border-radius: 6px; font: var(--t-nav); letter-spacing: var(--t-nav-track); text-transform: uppercase; }
:root .profile-page .btn::before { display: none; }
:root .profile-page .top .top-book { --h: 44px; min-height: 44px; padding: 0 20px; }
:root:lang(zh-Hans) .profile-page .btn { letter-spacing: .08em; }

/* page title: the green plate carries "Our team"; the headline follows in the display serif */
:root .team-label { position: relative; top: auto; width: min(100%, 520px); padding: 0; margin: 0 0 32px; }
:root .team-intro { margin-bottom: 56px; }
:root .team-intro h1, :root:lang(zh-Hans) .team-intro h1 { font: 400 var(--display)/1.1 var(--serif); letter-spacing: -.02em; color: var(--ink); }
:root:lang(zh-Hans) .team-intro h1 { line-height: 1.25; letter-spacing: .02em; }
:root .team-lede { margin-top: 20px; max-width: 60ch; font: var(--t-body); color: var(--ink-2); }

/* portraits: until a photo arrives, a deep green panel with the light mark and a fine gold frame */
:root .profile-page .portrait-frame { border: 0; border-radius: 16px; background: var(--green-800); gap: 16px; }
:root .profile-page .portrait-frame::before { inset: 10px; border-radius: 9px; border: 1px solid rgba(242, 208, 107, .42); }
:root .profile-page .portrait-frame figcaption { max-width: 24ch; font: var(--t-small); color: rgba(244, 238, 221, .8); }
:root .profile-page .portrait-frame .portrait-mark { width: 64px; }

/* cards */
:root .provider-card-link { border-radius: 16px; }
:root .provider-card-link:focus-visible { outline-color: var(--green-600); }
:root .provider-card h3 { font: 400 var(--title)/1.2 var(--serif); letter-spacing: -.01em; color: var(--ink); }
:root:lang(zh-Hans) .provider-card h3 { letter-spacing: .02em; }
:root .provider-card-role { margin-top: 6px; font: var(--t-body); color: var(--ink-2); }
:root .provider-tags { gap: 6px; margin-top: 14px; }
:root .provider-tags li { padding: 4px 10px; border: 1px solid var(--rule); border-radius: 999px; background: none; font: var(--t-small); color: var(--ink); }
:root .provider-view { margin-top: 18px; font: var(--t-label); letter-spacing: var(--t-label-track); text-transform: uppercase; color: var(--green-700); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
:root .provider-sample { margin-top: 14px; border-color: var(--gold); border-radius: 999px; padding: 3px 10px; font: var(--t-small); color: var(--gold-ink); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  :root .provider-card-link .portrait-frame { transition: translate .6s var(--ease); }
  :root .provider-card-link:hover .portrait-frame { translate: 0 -5px; }
  :root .provider-view { transition: text-underline-offset .3s var(--ease); }
  :root .provider-card-link:hover .provider-view { text-underline-offset: 8px; }
}

/* profile */
:root .profile-breadcrumb { font: var(--t-small); }
:root .profile-copy h1 { letter-spacing: -.02em; color: var(--ink); }
:root .profile-copy .prov-bio { font: var(--t-body); color: var(--ink-2); max-width: 58ch; }
:root .profile-copy .cred-h { margin-top: 36px; font: var(--t-label); letter-spacing: var(--t-label-track); text-transform: uppercase; color: var(--ink-2); }
:root:lang(zh-Hans) .profile-copy .cred-h { letter-spacing: .08em; font-size: .8125rem; }
:root .profile-copy .creds li { font: var(--t-body); font-weight: 400; }
:root .profile-treats { font: var(--t-body); color: var(--ink); }
:root .profile-treats li { border-left: 2px solid var(--gold); }
:root .profile-actions { margin-top: 40px; }

/* ---------- legal pages ---------- */
:root .legal { max-width: 760px; }
:root .legal-label { width: fit-content; max-width: 100%; margin-bottom: 24px; }
:root .legal-status { margin: 0 0 36px; padding: 14px 18px; border-left: 2px solid var(--gold); background: rgba(223, 174, 53, .1); font: var(--t-small); color: var(--ink); }
:root .legal-body { font: var(--t-body); color: var(--ink-2); }
:root .legal-body p { margin: 0 0 16px; max-width: 68ch; }
:root .legal-body .legal-lead { font-weight: 500; color: var(--ink); }
:root .legal-body h2 { margin: 40px 0 14px; font: 400 var(--title)/1.2 var(--serif); letter-spacing: -.01em; color: var(--ink); }
:root .legal-body ul { margin: 0 0 16px; padding: 0; list-style: none; display: grid; gap: 10px; max-width: 68ch; }
:root .legal-body ul li { position: relative; padding-left: 22px; }
:root .legal-body ul li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; box-sizing: border-box; border: 1.5px solid var(--gold); border-radius: 50%; }
:root .legal-body strong { font-weight: 600; color: var(--ink); }
:root .legal-body a, :root .legal-more a { color: var(--green-700); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
:root .legal-contact { margin: 8px 0 0; display: grid; gap: 0; max-width: 560px; }
:root .legal-contact > div { display: grid; grid-template-columns: 9.5em minmax(0, 1fr); gap: 16px; padding: 12px 0; border-top: 1px solid var(--rule); }
:root .legal-contact dt { font: var(--t-label); letter-spacing: var(--t-label-track); text-transform: uppercase; color: var(--ink-2); padding-top: 3px; }
:root .legal-contact dd { margin: 0; color: var(--ink); }
:root .legal-more { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--rule); font: var(--t-small); }
:root .legal-more ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
@media (max-width: 599px) { :root .legal-contact > div { grid-template-columns: minmax(0, 1fr); gap: 2px; } }
/* footer legal links (they were plain text before the pages existed) */
:root .foot-legal a { color: inherit; text-decoration: none; }
:root .foot-legal a:hover, :root .foot-legal a:focus-visible { color: var(--gold-lt); text-decoration: underline; text-underline-offset: 4px; }
:root .legal-label .sec-h { padding-right: 96px; }   /* room between a long title and the point ring */
@media (max-width: 819px) { :root .legal-label .sec-h { padding-right: 64px; } }
:root .top-actions > .top-booknow { text-decoration: none; }   /* a link on these pages (a button on the home page) */
