/* ============================================================
   DERM SITE TEMPLATE v2 - shared stylesheet (all three sites)
   ------------------------------------------------------------
   Generated per site by tools/build-all.ps1 (accent tokens
   injected from brands/{site}.json; derive shades with
   tools/derive-accent.mjs). Mobile-first: base styles are the
   phone layout; min-width queries scale up. Never edit the
   generated copies under the site output folders.
   ============================================================ */

:root {
  /* -- PER-SITE BRAND TOKENS (injected) -- */
  --accent: #4C648C;
  --accent-deep: #405674;
  --accent-tint: #EEF0F4;
  --accent-line: #CDD5E1;

  /* -- SHARED WARM NEUTRALS -- */
  --ink: #20262b;
  --muted: #5c6360;
  --paper: #faf8f3;
  --ivory: #f1ede4;
  --line: #e6e1d6;
  --white: #ffffff;

  --font-head: 'Fraunces', Georgia, serif;
  --font-body: 'Inter Tight', 'Segoe UI', sans-serif;
  --maxw: 1140px;
  --r-card: 16px;
  --r-btn: 10px;
  --shadow-sm: 0 1px 2px rgba(32,38,43,0.06), 0 4px 14px rgba(32,38,43,0.05);
  --shadow-md: 0 2px 4px rgba(32,38,43,0.06), 0 14px 34px rgba(32,38,43,0.10);
  --shadow-lg: 0 24px 60px rgba(32,38,43,0.18);
}

/* == Base ================================================== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video, iframe, svg { max-width: 100%; }
a { color: var(--accent-deep); }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px; }
::selection { background: var(--accent-line); }
.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--white); color: var(--ink); padding: 10px 16px; z-index: 200; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }
@media (min-width: 760px) { .wrap { padding-left: 28px; padding-right: 28px; } }

/* == Type ================================================== */
h1, h2, h3 { font-family: var(--font-head); font-weight: 550; margin: 0; letter-spacing: -0.01em; }
.h1 { font-size: clamp(38px, 7.2vw, 62px); line-height: 1.06; text-wrap: balance; }
.h1-sub { font-size: clamp(31px, 5.2vw, 46px); line-height: 1.12; text-wrap: balance; }
.h1-detail { font-size: clamp(32px, 5.6vw, 50px); line-height: 1.1; }
.h2 { font-size: clamp(27px, 4vw, 38px); line-height: 1.16; }
.h2-lg { font-size: clamp(28px, 4.4vw, 42px); line-height: 1.14; text-wrap: balance; }
.h2-md { font-size: clamp(25px, 3.6vw, 34px); line-height: 1.18; }
.h2-sm { font-size: clamp(24px, 3.2vw, 31px); line-height: 1.2; }
.h2-col { font-size: clamp(23px, 3vw, 30px); }
.h2-col-sm { font-size: clamp(22px, 2.8vw, 28px); }
.eyebrow { margin: 0 0 14px; font-size: 12.5px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600; color: var(--accent-deep); }
.eyebrow--white { color: rgba(255,255,255,0.92); }
.lead { font-size: 17.5px; line-height: 1.7; color: var(--muted); max-width: 54ch; text-wrap: pretty; }
.lead-lg { font-size: 18px; line-height: 1.75; max-width: 64ch; text-wrap: pretty; }
.sub { font-size: 15.5px; color: var(--muted); max-width: 46ch; }

/* == Icon chips ============================================ */
.icn { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 46px; height: 46px; border-radius: 14px; background: var(--accent-tint); color: var(--accent-deep); }
.icn svg { width: 23px; height: 23px; }
.icn--sm { width: 38px; height: 38px; border-radius: 11px; }
.icn--sm svg { width: 19px; height: 19px; }
.icn--inverse { background: rgba(255,255,255,0.14); color: #ffffff; }
.icn--solid { background: var(--accent); color: #ffffff; }

/* == Buttons =============================================== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; text-decoration: none; font-family: var(--font-body); font-size: 15.5px; font-weight: 600; letter-spacing: 0; text-transform: none; padding: 15px 26px; border-radius: var(--r-btn); text-align: center; border: 0; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease; }
.btn--sm { font-size: 14.5px; padding: 12px 20px; }
.btn--solid { background: var(--accent); color: #ffffff; box-shadow: var(--shadow-sm); }
.btn--solid:hover { background: var(--accent-deep); color: #ffffff; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--white { background: #ffffff; color: var(--accent-deep); box-shadow: var(--shadow-sm); }
.btn--white:hover { background: var(--ivory); color: var(--accent-deep); transform: translateY(-1px); }
.btn--outline-white { border: 1.5px solid rgba(255,255,255,0.75); color: #ffffff; background: rgba(255,255,255,0.06); backdrop-filter: blur(2px); }
.btn--outline-white:hover { background: rgba(255,255,255,0.16); color: #ffffff; }
.btn--outline-ink { border: 1.5px solid var(--ink); color: var(--ink); background: transparent; }
.btn--outline-ink:hover { background: var(--ink); color: #ffffff; }
.btn--outline-accent { border: 1.5px solid var(--accent); color: var(--accent-deep); background: transparent; font-size: 14.5px; padding: 12px 18px; }
.btn--outline-accent:hover { background: var(--accent-tint); color: var(--accent-deep); }
.call-link { color: var(--ink); text-decoration: none; font-family: var(--font-head); font-weight: 600; font-size: 19px; padding: 12px 4px; border-bottom: 2px solid var(--accent); white-space: nowrap; }
.call-link:hover { color: var(--accent-deep); }
.link-more { font-size: 15.5px; font-weight: 600; text-decoration: none; color: var(--accent-deep); border-bottom: 2px solid var(--accent-line); padding-bottom: 2px; }
.link-more:hover { color: var(--accent); border-color: var(--accent); }

/* == Utility bar =========================================== */
.utility { background: var(--accent-deep); color: #ffffff; font-size: 13px; line-height: 1.5; padding: 7px 0; }
.utility__in { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; display: flex; flex-wrap: wrap; gap: 4px 24px; align-items: center; justify-content: space-between; }
.utility__nap { display: flex; flex-wrap: wrap; gap: 4px 24px; align-items: center; opacity: .95; }
.utility__links { display: flex; gap: 18px; align-items: center; }
.utility__links a { color: #ffffff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,0.45); }
.utility__links a:hover { text-decoration-color: #fff; }
@media (max-width: 759px) { .utility__nap span:first-child { display: none; } .utility { font-size: 12.5px; } }

/* == Header ================================================ */
.header { background: rgba(255,255,255,0.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 60; }
.header__in { max-width: var(--maxw); margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; gap: 10px; }
.header__logo { text-decoration: none; display: block; flex: 0 1 auto; min-width: 0; margin-right: auto; }
.header__logo img { display: block; height: 32px; width: auto; max-width: min(100%, 250px); object-fit: contain; object-position: left center; }
@media (max-width: 499px) { .hb-xl { display: none; } }
.header__phone { display: none; color: var(--ink); text-decoration: none; font-family: var(--font-head); font-weight: 600; font-size: 17.5px; white-space: nowrap; }
.header__phone:hover { color: var(--accent-deep); }
.header__book { background: var(--accent); color: #ffffff; text-decoration: none; font-size: 13.5px; font-weight: 600; padding: 11px 15px; border-radius: var(--r-btn); white-space: nowrap; box-shadow: var(--shadow-sm); }
.header__book:hover { background: var(--accent-deep); color: #ffffff; }
.nav__burger { display: inline-flex; align-items: center; gap: 7px; font: 600 14px var(--font-body); background: none; border: 1.5px solid var(--line); color: var(--ink); padding: 10px 14px; border-radius: var(--r-btn); cursor: pointer; }
.nav__burger:hover { border-color: var(--accent); color: var(--accent-deep); }

/* Nav — mobile-first: slide-down accordion panel */
.nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); max-height: calc(100dvh - 120px); overflow: auto; padding: 6px 20px 18px; }
.nav.is-open { display: block; }
.nav > a, .nav__toggle { display: flex; width: 100%; align-items: center; justify-content: space-between; text-align: left; color: var(--ink); text-decoration: none; padding: 14px 2px; border: 0; border-bottom: 1px solid var(--line); background: none; font: 500 16px var(--font-body); cursor: pointer; }
.nav > a:hover, .nav__toggle:hover { color: var(--accent-deep); }
.nav > a.is-active, .nav__dd.is-active > .nav__toggle { color: var(--accent-deep); font-weight: 600; }
.nav__chev { font-size: 11px; color: var(--muted); transition: transform .15s ease; }
.nav__dd.is-open .nav__chev { transform: rotate(180deg); }
.nav__panel { display: none; padding: 6px 0 14px 12px; border-bottom: 1px solid var(--line); }
.nav__dd.is-open .nav__panel { display: block; }
.nav__panel-label { margin: 8px 0 6px; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.nav__panel-grid { display: grid; grid-template-columns: 1fr; gap: 0; }
.nav__panel-grid a { color: var(--ink); text-decoration: none; padding: 9px 2px; font-size: 15px; border-bottom: 1px dashed var(--line); }
.nav__panel-grid a:last-child { border-bottom: none; }
.nav__panel-grid a:hover { color: var(--accent-deep); }
.nav__panel-grid a.nav__panel-all { color: var(--accent-deep); font-weight: 600; }

@media (min-width: 1360px) {
  .header__phone { display: block !important; }
}
@media (min-width: 1000px) {
  .header__in { padding: 13px 28px; gap: 18px; }
  .header__logo { margin-right: 4px; }
  .header__logo img { height: 34px; }
  .header__phone { display: none; }
  .nav__burger { display: none; }
  .nav { display: flex; position: static; background: none; border: 0; box-shadow: none; max-height: none; overflow: visible; padding: 0; align-items: center; gap: 2px 20px; flex-wrap: wrap; margin-left: auto; }
  .nav > a, .nav__toggle { display: inline-flex; width: auto; padding: 10px 0; border: 0; font-size: 14.5px; gap: 5px; white-space: nowrap; }
  .nav > a { border-bottom: 2px solid transparent; }
  .nav > a.is-active { border-bottom-color: var(--accent); font-weight: 600; }
  .nav__dd { position: relative; }
  .nav__dd.is-active > .nav__toggle { box-shadow: inset 0 -2px 0 var(--accent); }
  .nav__panel { position: absolute; top: calc(100% + 2px); left: -18px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 18px 20px; min-width: 430px; z-index: 70; }
  .nav__panel--slim { min-width: 250px; }
  .nav__panel-grid { grid-template-columns: 1fr 1fr; gap: 1px 26px; }
  .nav__panel--slim .nav__panel-grid { grid-template-columns: 1fr; }
  .nav__panel-grid a { border-bottom: 1px solid var(--line); padding: 8px 2px; }
  .nav__panel-grid a:nth-last-child(-n+2) { border-bottom: none; }
}

/* == Sections & bands ====================================== */
.section { padding-top: 56px; padding-bottom: 56px; }
.section--tight { padding-top: 48px; padding-bottom: 48px; }
.section--band { padding-top: 56px; padding-bottom: 56px; }
@media (min-width: 760px) {
  .section { padding-top: 88px; padding-bottom: 84px; }
  .section--tight { padding-top: 72px; padding-bottom: 72px; }
  .section--band { padding-top: 84px; padding-bottom: 84px; }
}
.section-head { display: flex; flex-wrap: wrap; gap: 12px 40px; align-items: baseline; justify-content: space-between; }
.band--white { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band--accent { background: linear-gradient(160deg, var(--accent) 0%, var(--accent-deep) 100%); }
/* Text links sitting on dark/accent surfaces read as white, not accent-blue */
.band--accent a:not(.btn), .accent-band__grid a:not(.btn), .cta-band a:not(.btn):not(.cta-row__phone):not(.cta-band__phone),
.hero-full a:not(.btn):not(.call-link), .sc-banner__sub a, .cta-band__copy a {
  color: #ffffff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,0.5);
}
.band--accent a:not(.btn):hover, .cta-band a:not(.btn):not(.cta-row__phone):not(.cta-band__phone):hover, .hero-full a:not(.btn):not(.call-link):hover { text-decoration-color: #ffffff; color: #ffffff; }
.band--tint { background: var(--accent-tint); border-top: 1px solid var(--accent-line); border-bottom: 1px solid var(--accent-line); }
.band--ivory { background: var(--ivory); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band--ink { background: var(--ink); }
.grid-note { margin: 18px 0 0; font-size: 14px; color: var(--muted); }

/* == FULL-BLEED HERO ======================================= */
.hero-full { position: relative; min-height: max(560px, 88svh); display: flex; align-items: flex-end; overflow: hidden; background: var(--ink); }
.hero-full__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-full__overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(18,24,30,0.82) 0%, rgba(18,24,30,0.35) 46%, rgba(18,24,30,0.18) 70%, rgba(18,24,30,0.34) 100%); }
.hero-full__content { position: relative; width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 110px 20px 46px; color: #ffffff; }
.hero-full__content .eyebrow { color: rgba(255,255,255,0.85); }
.hero-full__content .h1 { color: #ffffff; text-shadow: 0 2px 24px rgba(0,0,0,0.25); }
.hero-full__lead { margin: 18px 0 0; font-size: 17px; line-height: 1.65; color: rgba(255,255,255,0.92); max-width: 56ch; text-wrap: pretty; }
.hero-full__ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 26px; }
.hero-full__ctas .call-link { color: #ffffff; border-bottom-color: rgba(255,255,255,0.7); }
.hero-full__ctas .call-link:hover { color: var(--accent-line); }
.hero-full__fine { margin: 18px 0 0; font-size: 13.5px; color: rgba(255,255,255,0.75); }
@media (min-width: 760px) {
  .hero-full { min-height: max(620px, 92svh); }
  .hero-full__content { padding: 140px 28px 64px; }
  .hero-full__lead { font-size: 18.5px; }
}
@media (max-width: 759px) {
  .hero-full .btn { flex: 1 1 100%; }
  .hero-full__ctas .call-link { flex: 1 1 100%; text-align: center; border-bottom: 0; padding: 6px 0 0; }
}

/* == Trust bar ============================================= */
.trust { max-width: var(--maxw); margin: 0 auto; padding: 26px 20px; display: grid; grid-template-columns: 1fr; gap: 18px; }
.trust__item { display: flex; gap: 14px; align-items: flex-start; }
.trust__title { font-family: var(--font-head); font-weight: 600; font-size: 19px; display: block; }
.trust__title .accent { color: var(--accent-deep); }
.trust__sub { font-size: 14px; color: var(--muted); display: block; margin-top: 2px; }
@media (min-width: 620px) { .trust { grid-template-columns: 1fr 1fr; padding: 30px 28px; gap: 22px 32px; } }
@media (min-width: 1000px) { .trust { grid-template-columns: repeat(4, 1fr); } }

/* == Card grids ============================================ */
.hairline-grid { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 32px; background: none; border: 0; }
.hairline-grid > * { background: var(--white); padding: 24px 22px; border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow-sm); transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
@media (min-width: 620px) { .hairline-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (min-width: 1000px) { .hairline-grid { grid-template-columns: repeat(4, 1fr); } }
.hairline-grid--3 { grid-template-columns: 1fr; }
@media (min-width: 760px) { .hairline-grid--3 { grid-template-columns: repeat(3, 1fr); } }
.cond-card { display: block; text-decoration: none; color: inherit; }
a.cond-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--accent-line); color: inherit; }
.cond-card .icn { margin-bottom: 14px; }
.cond-card__title { margin: 0; font-family: var(--font-head); font-weight: 600; font-size: 20px; color: var(--ink); }
.cond-card__title .arrow { color: var(--accent-deep); }
.cond-card__sub { margin: 7px 0 0; font-size: 14.5px; line-height: 1.6; color: var(--muted); }
/* Conditions index: featured skin-cancer banner + cosmetic rail */
.sc-banner { display: flex; flex-wrap: wrap; gap: 18px 22px; align-items: center; background: var(--accent-deep); border-radius: var(--r-card); padding: 26px 24px; margin-top: 16px; box-shadow: var(--shadow-md); }
.sc-banner .icn { background: rgba(255,255,255,0.15); color: #fff; flex: 0 0 auto; }
.sc-banner__txt { flex: 1 1 340px; min-width: 0; }
.sc-banner__title { margin: 0; font-family: var(--font-head); font-weight: 600; font-size: 23px; line-height: 1.25; }
.sc-banner__title a { color: #ffffff; text-decoration: none; }
.sc-banner__title a:hover { text-decoration: underline; text-underline-offset: 4px; }
.sc-banner__title .arrow { color: rgba(255,255,255,0.8); }
.sc-banner__sub { margin: 8px 0 0; font-size: 14.5px; line-height: 1.6; color: rgba(255,255,255,0.85); }
.sc-banner__chips { display: flex; flex-wrap: wrap; gap: 8px; flex: 1 1 100%; }
.sc-banner__chips a { color: #fff; text-decoration: none; font-size: 13.5px; font-weight: 600; padding: 9px 14px; border: 1.5px solid rgba(255,255,255,0.45); border-radius: 999px; }
.sc-banner__chips a:hover { background: rgba(255,255,255,0.14); border-color: #fff; }
@media (min-width: 1100px) { .sc-banner__chips { flex: 0 0 auto; flex-direction: column; align-items: stretch; } .sc-banner__chips a { text-align: center; } }
.cond-layout { display: grid; grid-template-columns: 1fr; gap: 28px; margin-top: 24px; align-items: start; }
@media (min-width: 1000px) {
  .cond-layout { grid-template-columns: 1fr 285px; }
  .cond-layout .cond-main { grid-template-columns: repeat(3, 1fr); }
  .cos-rail { position: sticky; top: 92px; }
}
.cos-rail { background: #FBF6F1; border: 1px solid #F2E3D8; border-radius: var(--r-card); padding: 24px 22px; }
.cos-rail__kicker { margin: 0; font: 600 12px var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: #C7502A; }
.cos-rail__sub { margin: 10px 0 4px; font-size: 14px; line-height: 1.6; color: var(--muted); }
.cos-rail__list { display: flex; flex-direction: column; }
.cos-rail__list a { color: var(--ink); text-decoration: none; font-size: 14.5px; line-height: 1.5; padding: 11px 2px; border-bottom: 1px dashed #EBD9CC; }
.cos-rail__list a:last-child { border-bottom: 0; }
.cos-rail__list a:hover { color: #C7502A; }
.cos-rail__all { display: inline-block; margin-top: 12px; font-size: 14.5px; font-weight: 600; color: #C7502A; text-decoration: none; }
.cos-rail__all:hover { text-decoration: underline; text-underline-offset: 3px; }

.cond-card--featured { background: var(--accent-deep); border-color: var(--accent-deep); }
.cond-card--featured .icn { background: rgba(255,255,255,0.14); color: #fff; }
.cond-card--featured .cond-card__title { color: #ffffff; }
.cond-card--featured .cond-card__title .arrow { color: rgba(255,255,255,0.8); }
.cond-card--featured .cond-card__sub { color: rgba(255,255,255,0.82); }
a.cond-card--featured:hover { background: var(--accent); border-color: var(--accent); }

/* == Accent band =========================================== */
.accent-band__grid { max-width: var(--maxw); margin: 0 auto; padding: 56px 20px; display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center; }
@media (min-width: 900px) { .accent-band__grid { grid-template-columns: 1.15fr 1fr; padding: 84px 28px; gap: 56px; } }
.accent-band__grid h2, .accent-band__grid p { color: #ffffff; }
.accent-band__copy p { margin: 20px 0 0; font-size: 16.5px; line-height: 1.7; max-width: 56ch; color: rgba(255,255,255,0.92); }
.accent-band__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.stack-panels { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; background: none; border: 0; }
.stack-panels li { background: rgba(255,255,255,0.09); border: 1px solid rgba(255,255,255,0.16); border-radius: var(--r-card); padding: 20px 22px; display: flex; gap: 16px; align-items: flex-start; backdrop-filter: blur(3px); }
.stack-panels .t { margin: 0; font-family: var(--font-head); font-weight: 600; font-size: 18.5px; color: #ffffff; }
.stack-panels .d { margin: 5px 0 0; font-size: 14.5px; line-height: 1.6; color: rgba(255,255,255,0.85); }
.panel-grid { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 32px; background: none; border: 0; }
@media (min-width: 760px) { .panel-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.panel-grid > div { background: rgba(255,255,255,0.09); border: 1px solid rgba(255,255,255,0.16); border-radius: var(--r-card); padding: 24px 22px; }
.panel-grid .t { margin: 12px 0 0; font-family: var(--font-head); font-weight: 600; font-size: 19px; color: #ffffff; }
.panel-grid .d { margin: 7px 0 0; font-size: 14.5px; color: rgba(255,255,255,0.85); line-height: 1.65; }

/* == Provider cards ======================================== */
.provider-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 32px; }
.provider-grid--fill { margin-top: 26px; }
@media (min-width: 760px) { .provider-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } .provider-grid--fill { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); } }
.pcard { text-decoration: none; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.pcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--accent-line); color: var(--ink); }
.pcard__photo { background: var(--ivory); aspect-ratio: 4 / 5; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.pcard__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pcard__initials { font-family: var(--font-head); font-size: 40px; font-weight: 600; letter-spacing: 0.06em; color: var(--muted); }
.pcard__body { padding: 14px 14px 16px; display: flex; flex-direction: column; flex: 1; }
.pcard__name { margin: 0; font-family: var(--font-head); font-weight: 600; font-size: 18px; }
.pcard__role { margin: 5px 0 0; font-size: 13px; color: var(--muted); line-height: 1.5; min-height: 39px; }
.pcard__creds { margin: 2px 0 0; font-size: 13px; color: var(--muted); line-height: 1.5; min-height: 20px; }
.pcard__badges { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 12px; margin-bottom: 14px; }
.badge { font-size: 11px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; padding: 5px 9px; border-radius: 999px; }
.badge--local { background: var(--accent-tint); color: var(--accent-deep); }
.badge--other { background: var(--ivory); color: var(--muted); }
.badge--new { background: #F6C445; color: #3D3106; }
.badge--emeritus { background: var(--ivory); color: var(--ink); border: 1px solid var(--line); }
.roster-head { margin: 44px 0 0; display: flex; align-items: baseline; gap: 16px; }
.roster-head:first-of-type { margin-top: 30px; }
.roster-head .h2-col { flex: 0 0 auto; }
.roster-head::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.banner-note { margin: 18px 0 0; background: var(--accent-tint); border: 1px solid var(--accent-line); border-radius: 12px; padding: 13px 18px; font-size: 14.5px; color: var(--ink); display: inline-flex; gap: 10px; align-items: center; }
.logo-strip { display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center; margin-top: 22px; }
.logo-strip img { height: 44px; width: auto; max-width: 150px; object-fit: contain; opacity: .85; filter: grayscale(35%); }
@media (min-width: 760px) { .logo-strip img { height: 52px; } }
.pcard__link { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13.5px; font-weight: 600; color: var(--accent-deep); }
@media (min-width: 760px) { .pcard__body { padding: 18px 20px 20px; } .pcard__name { font-size: 20px; } .pcard__role, .pcard__creds { font-size: 13.5px; } }

/* == Filter chips ========================================== */
.chips { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; }
.chip { font: 600 14px var(--font-body); cursor: pointer; padding: 11px 18px; border-radius: 999px; background: var(--white); color: var(--ink); border: 1.5px solid var(--line); transition: all .15s ease; }
.chip:hover { border-color: var(--accent); color: var(--accent-deep); }
.chip[aria-pressed="true"] { background: var(--accent); color: #ffffff; border-color: var(--accent); box-shadow: var(--shadow-sm); }
.chips-count { margin: 16px 0 0; font-size: 14px; color: var(--muted); }

/* == Review cards ========================================== */
.review-grid { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 32px; }
@media (min-width: 700px) { .review-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; } }
@media (min-width: 1000px) { .review-grid { grid-template-columns: repeat(3, 1fr); } }
.rcard { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 24px 22px; box-shadow: var(--shadow-sm); }
.rcard__stars { margin: 0; color: #E9A13B; letter-spacing: 0.18em; font-size: 15px; }
.rcard__quote { margin: 12px 0 0; font-size: 15px; line-height: 1.7; text-wrap: pretty; }
.rcard__by { margin-top: 14px; font-size: 13.5px; color: var(--muted); }

/* == Location cards ======================================== */
.loc-grid { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 32px; }
@media (min-width: 760px) { .loc-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.lcard { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 24px 22px; display: flex; flex-direction: column; gap: 5px; box-shadow: var(--shadow-sm); }
.lcard--this { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow-md); }
.lcard__kicker { margin: 0 0 2px; font-size: 11.5px; letter-spacing: 0.13em; text-transform: uppercase; font-weight: 600; color: var(--muted); }
.lcard__kicker--this { color: var(--accent-deep); }
.lcard__name { margin: 0; font-family: var(--font-head); font-weight: 600; font-size: 21px; }
.lcard__name-link { color: var(--ink); text-decoration: none; }
.lcard__name-link:hover { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 3px; }
.lcard__addr { margin: 4px 0 0; font-size: 14.5px; color: var(--muted); line-height: 1.6; }
.lcard__hours { margin: 2px 0 0; font-size: 14.5px; color: var(--muted); }
.lcard__row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 16px; }
.lcard__phone { font-size: 14.5px; font-weight: 600; color: var(--accent-deep); text-decoration: none; }
.lcard__phone:hover { text-decoration: underline; }
.lcard__visit { font-size: 13.5px; color: var(--muted); }
.lcard__visit:hover { color: var(--accent-deep); }
.lcard__book { background: var(--accent); color: #ffffff; text-decoration: none; font-size: 13.5px; font-weight: 600; padding: 10px 15px; border-radius: var(--r-btn); }
.lcard__book:hover { background: var(--accent-deep); color: #ffffff; }

/* == Map / NAP ============================================= */
.map-grid { max-width: var(--maxw); margin: 0 auto; padding: 56px 20px; display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
@media (min-width: 900px) { .map-grid { grid-template-columns: 1.1fr 1fr; padding: 84px 28px; gap: 48px; } }
.map-embed { background: var(--ivory); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; aspect-ratio: 16 / 11; box-shadow: var(--shadow-sm); }
.map-embed iframe { display: block; width: 100%; height: 100%; border: 0; }
address.nap { font-style: normal; margin: 20px 0 0; font-size: 16px; line-height: 1.75; }
.nap-lines { margin: 14px 0 0; font-size: 16px; line-height: 1.75; }
.nap-lines a { font-weight: 600; text-decoration: none; color: var(--accent-deep); }
.nap-lines a:hover { text-decoration: underline; }
.nap-lines .dim { color: var(--muted); }

/* == Ink CTA bands ========================================= */
.cta-band { background: var(--ink); }
.cta-band__grid { max-width: var(--maxw); margin: 0 auto; padding: 56px 20px; display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
@media (min-width: 900px) { .cta-band__grid { grid-template-columns: 1.15fr 1fr; padding: 84px 28px; gap: 56px; } }
.cta-band h2 { color: #ffffff; }
.cta-band__copy p { margin: 16px 0 0; font-size: 16px; line-height: 1.7; color: rgba(255,255,255,0.82); max-width: 52ch; }
.cta-band__phone { display: inline-block; margin-top: 22px; color: #ffffff; text-decoration: none; font-family: var(--font-head); font-weight: 600; font-size: 25px; border-bottom: 2px solid var(--accent-line); }
.cta-band__phone:hover { color: var(--accent-line); }
.cta-band__fine { margin: 14px 0 0; font-size: 13.5px; color: rgba(255,255,255,0.6); }
.book-card { background: var(--white); padding: 28px 24px; border-radius: var(--r-card); display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow-lg); }
.book-card__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.book-card__note { margin: 4px 0 0; font-size: 12.5px; color: var(--muted); line-height: 1.6; text-align: center; }
.cta-row { max-width: var(--maxw); margin: 0 auto; padding: 52px 20px; display: flex; flex-wrap: wrap; gap: 22px 48px; align-items: center; justify-content: space-between; }
@media (min-width: 760px) { .cta-row { padding: 66px 28px; } }
.cta-row h2 { color: #ffffff; }
.cta-row__sub { margin: 10px 0 0; font-size: 15px; color: rgba(255,255,255,0.8); max-width: 52ch; }
.cta-row__actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.cta-row__phone { color: #ffffff; text-decoration: none; font-family: var(--font-head); font-weight: 600; font-size: 22px; border-bottom: 2px solid var(--accent-line); white-space: nowrap; }
.cta-row__phone:hover { color: var(--accent-line); }

/* == Breadcrumb ============================================ */
.crumbs { max-width: var(--maxw); margin: 0 auto; padding: 18px 20px 0; font-size: 13.5px; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent-deep); }
.crumbs .sep { margin: 0 8px; opacity: .6; }
.crumbs .here { color: var(--ink); font-weight: 500; }

/* == Provider detail ======================================= */
.phero { max-width: var(--maxw); margin: 0 auto; padding: 28px 20px 56px; display: grid; grid-template-columns: 1fr; gap: 30px; align-items: start; }
@media (min-width: 860px) { .phero { grid-template-columns: 0.8fr 1.2fr; gap: 52px; padding: 36px 28px 72px; } }
.phero__photo { background: var(--ivory); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; aspect-ratio: 4 / 5; max-width: 420px; box-shadow: var(--shadow-md); }
.phero__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.cred-chip { font-size: 12px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; padding: 7px 13px; background: var(--accent-tint); color: var(--accent-deep); border-radius: 999px; }
.phero__intro { margin: 22px 0 0; font-size: 16.5px; line-height: 1.7; color: var(--muted); max-width: 58ch; text-wrap: pretty; }
.bio-grid { max-width: var(--maxw); margin: 0 auto; padding: 56px 20px; display: grid; grid-template-columns: 1fr; gap: 40px; align-items: start; }
@media (min-width: 900px) { .bio-grid { grid-template-columns: 1.2fr 0.8fr; gap: 56px; padding: 80px 28px; } }
.bio-grid .prose p { margin: 18px 0 0; font-size: 15.5px; line-height: 1.8; text-wrap: pretty; }
.edu-list { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-direction: column; }
.edu-list li { padding: 13px 0; border-bottom: 1px solid var(--line); }
.edu-list li:last-child { border-bottom: none; }
.edu-list .k { display: block; font-size: 11.5px; letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.edu-list .v { font-size: 15px; }
.focus-grid { max-width: var(--maxw); margin: 0 auto; padding: 52px 20px; display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 760px) { .focus-grid { grid-template-columns: 1fr 1fr; gap: 44px; padding: 72px 28px; } }
.focus-grid ul { margin: 14px 0 0; padding-left: 20px; font-size: 15px; line-height: 1.95; color: var(--ink); }

/* == FAQ =================================================== */
.faq-wrap { max-width: 840px; margin: 0 auto; padding: 56px 20px; }
@media (min-width: 760px) { .faq-wrap { padding: 88px 28px 84px; } }
.faq { margin-top: 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 4px 22px; box-shadow: var(--shadow-sm); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item:last-child { border-bottom: none; }
.faq__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 18px; text-align: left; background: none; border: none; cursor: pointer; padding: 18px 2px; font: 600 16px var(--font-body); color: var(--ink); }
.faq__q:hover { color: var(--accent-deep); }
.faq__mark { font-family: var(--font-head); font-size: 20px; color: var(--accent-deep); flex: 0 0 auto; }
.faq__a { margin: 0; padding: 0 2px 20px; font-size: 15px; line-height: 1.75; color: var(--muted); max-width: 66ch; display: none; }
.faq__item.is-open .faq__a { display: block; }

/* == Steps grid ============================================ */
.steps-grid { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 32px; background: none; border: 0; }
@media (min-width: 620px) { .steps-grid { grid-template-columns: 1fr 1fr; gap: 16px; } }
@media (min-width: 1000px) { .steps-grid { grid-template-columns: repeat(4, 1fr); } }
.steps-grid > div { background: var(--white); padding: 26px 24px; border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow-sm); }
.steps-grid .n { margin: 0; font-family: var(--font-head); font-weight: 600; font-size: 32px; color: var(--accent); }
.steps-grid .t { margin: 10px 0 0; font-family: var(--font-head); font-weight: 600; font-size: 19px; }
.steps-grid .d { margin: 7px 0 0; font-size: 14.5px; color: var(--muted); line-height: 1.65; }

/* == Sign list (tint band) ================================= */
.tint-grid { max-width: var(--maxw); margin: 0 auto; padding: 52px 20px; display: grid; grid-template-columns: 1fr; gap: 30px; align-items: center; }
@media (min-width: 900px) { .tint-grid { grid-template-columns: 1fr 1fr; gap: 48px; padding: 76px 28px; } }
.sign-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; background: none; border: 0; }
.sign-list li { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 15px 20px; font-size: 15px; box-shadow: var(--shadow-sm); }
.sign-list strong { font-family: var(--font-head); font-weight: 600; }

/* == Team strip ============================================ */
.team-strip { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 30px; }
@media (min-width: 760px) { .team-strip { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; } }
.tcard { text-decoration: none; color: var(--ink); border: 1px solid var(--line); background: var(--white); border-radius: var(--r-card); padding: 18px; display: flex; gap: 16px; align-items: center; box-shadow: var(--shadow-sm); transition: transform .15s ease, box-shadow .15s ease; }
a.tcard:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); color: var(--ink); }
.tcard__photo { flex: 0 0 auto; width: 72px; height: 90px; background: var(--ivory); border-radius: 12px; overflow: hidden; display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 600; font-size: 22px; color: var(--muted); }
.tcard__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tcard__name { display: block; font-family: var(--font-head); font-weight: 600; font-size: 19px; }
.tcard__role { display: block; font-size: 13.5px; color: var(--muted); margin-top: 3px; }
.tcard__link { display: block; font-size: 13.5px; font-weight: 600; color: var(--accent-deep); margin-top: 8px; }

/* == Video cards (YouTube lite embeds) ===================== */
.vgrid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 32px; }
@media (min-width: 860px) { .vgrid { grid-template-columns: 1.6fr 1fr 1fr; align-items: stretch; gap: 18px; } }
.vcard { position: relative; border-radius: var(--r-card); overflow: hidden; background: var(--ink); box-shadow: var(--shadow-md); border: 0; padding: 0; cursor: pointer; display: block; width: 100%; }
.vcard--tall { aspect-ratio: 9 / 16; max-height: 560px; }
.vcard--wide { aspect-ratio: 16 / 9; }
@media (min-width: 860px) { .vcard--wide.vcard--feature { aspect-ratio: auto; height: 100%; min-height: 420px; } }
.vcard__thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.vcard:hover .vcard__thumb { transform: scale(1.03); }
.vcard__scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(18,24,30,0.75), rgba(18,24,30,0.05) 55%); }
.vcard__meta { position: absolute; left: 16px; right: 16px; bottom: 14px; color: #ffffff; text-align: left; }
.vcard__label { display: block; font: 600 11.5px var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.75); }
.vcard__title { display: block; font-family: var(--font-head); font-weight: 600; font-size: 18px; line-height: 1.25; margin-top: 4px; }
.vcard__play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 62px; height: 62px; border-radius: 999px; background: rgba(255,255,255,0.92); color: var(--accent-deep); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-lg); transition: transform .15s ease, background .15s ease; }
.vcard__play svg { width: 26px; height: 26px; margin-left: 2px; }
.vcard:hover .vcard__play { transform: translate(-50%, -50%) scale(1.07); background: #ffffff; }
.vcard iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* == Mohs case gallery ===================================== */
.case-note { margin: 18px 0 0; font-size: 14px; color: var(--muted); max-width: 72ch; }
.case-list { display: flex; flex-direction: column; gap: 18px; margin-top: 30px; }
.case { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 22px 20px; box-shadow: var(--shadow-sm); }
@media (min-width: 760px) { .case { padding: 26px 26px 24px; } }
.case__head { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: baseline; }
.case__num { font-family: var(--font-body); font-weight: 700; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-deep); background: var(--accent-tint); padding: 5px 11px; border-radius: 999px; }
.case__desc { margin: 12px 0 0; font-size: 14.5px; line-height: 1.65; color: var(--muted); max-width: 90ch; }
.case__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
/* Fixed column width so every photo in every case renders at the same size */
@media (min-width: 760px) { .case__photos { grid-template-columns: repeat(auto-fill, 240px); } }
.case__photos figure { margin: 0; }
.case__photos img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: var(--ivory); border: 1px solid var(--line); border-radius: 10px; }
.case__photos figcaption { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }

/* == Prose ================================================= */
.prose-wrap { max-width: 840px; margin: 0 auto; padding: 28px 20px 64px; }
@media (min-width: 760px) { .prose-wrap { padding: 36px 28px 84px; } }
.prose h2 { font-size: clamp(23px, 3vw, 31px); margin-top: 40px; }
.prose h3 { font-size: 19px; font-weight: 600; margin-top: 26px; }
.prose p { margin: 16px 0 0; font-size: 15.5px; line-height: 1.8; text-wrap: pretty; }
.prose ul, .prose ol { margin: 14px 0 0; padding-left: 22px; font-size: 15.5px; line-height: 1.8; }
.prose li { margin-top: 6px; }
.reviewed-line { margin: 24px 0 0; font-size: 13.5px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; }

/* == Condition hero ======================================== */
.cond-hero { max-width: var(--maxw); margin: 0 auto; padding: 28px 20px 48px; display: grid; grid-template-columns: 1fr; gap: 30px; align-items: start; }
@media (min-width: 900px) { .cond-hero { grid-template-columns: 1.25fr 0.75fr; gap: 52px; padding: 36px 28px 64px; } }
.cond-hero__media { background: var(--ivory); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow-sm); }
.cond-hero__media img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.cond-hero__media figcaption { font-size: 12.5px; color: var(--muted); padding: 10px 14px; }

/* == Split cards (appointments) ============================ */
.split-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 32px; }
@media (min-width: 800px) { .split-grid { grid-template-columns: 1fr 1fr; gap: 20px; } }
.scard { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 28px 24px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.scard--accent { border-top: 4px solid var(--accent); }
.scard__kicker { margin: 0 0 10px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--accent-deep); }
.scard__title { margin: 0; font-family: var(--font-head); font-weight: 600; font-size: 23px; }
.scard__desc { margin: 12px 0 0; font-size: 14.5px; color: var(--muted); line-height: 1.7; }
.scard__ctas { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
.reminder-list { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; background: none; border: 0; }
.reminder-list li { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; font-size: 15px; line-height: 1.65; box-shadow: var(--shadow-sm); }
.reminder-list strong { font-family: var(--font-head); font-weight: 600; }

/* == Footer ================================================ */
.footer { background: var(--ink); color: rgba(255,255,255,0.85); font-size: 14.5px; line-height: 1.7; }
.footer__in { max-width: var(--maxw); margin: 0 auto; padding: 52px 20px 28px; }
@media (min-width: 760px) { .footer__in { padding: 64px 28px 30px; } }
.footer__cols { display: grid; grid-template-columns: 1fr; gap: 34px; }
@media (min-width: 700px) { .footer__cols { grid-template-columns: 1fr 1fr; gap: 40px 36px; } }
@media (min-width: 1000px) { .footer__cols { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.footer__logo img { display: block; height: 32px; width: auto; max-width: 100%; object-fit: contain; }
.footer__tag { margin: 16px 0 0; font-family: var(--font-head); font-style: italic; color: rgba(255,255,255,0.7); }
.footer address { font-style: normal; margin: 14px 0 0; }
.footer__contact { margin: 12px 0 0; }
.footer__contact a.tel { color: #ffffff; text-decoration: none; font-weight: 600; }
.footer__contact a.tel:hover { text-decoration: underline; }
.footer__contact .dim { color: rgba(255,255,255,0.65); }
.footer__contact a.mail { color: rgba(255,255,255,0.85); }
.footer__contact a.mail:hover { color: #ffffff; }
.footer__hours { margin: 12px 0 0; color: rgba(255,255,255,0.65); }
.footer__col { display: flex; flex-direction: column; gap: 8px; }
.footer__head { margin: 0 0 6px; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600; color: rgba(255,255,255,0.95); }
.footer__col a { color: rgba(255,255,255,0.82); text-decoration: none; }
.footer__col a:hover { color: #ffffff; text-decoration: underline; }
.footer__family-note { margin: 8px 0 0; font-size: 13px; color: rgba(255,255,255,0.55); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.15); margin-top: 44px; padding-top: 22px; display: flex; flex-direction: column; gap: 14px; font-size: 13px; color: rgba(255,255,255,0.55); }
.footer__socials, .footer__legal { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer__socials a { color: rgba(255,255,255,0.7); text-decoration: none; }
.footer__socials a:hover { color: #ffffff; text-decoration: underline; }
.footer__legal a { color: rgba(255,255,255,0.55); }
.footer__legal a:hover { color: #ffffff; }
.footer__copy { display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: space-between; }

/* == Klara launcher ======================================== */


/* == Mobile sticky call bar ================================ */
.callbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; box-shadow: 0 -8px 24px rgba(32,38,43,0.18); }
.callbar a { flex: 1; color: #ffffff; text-decoration: none; text-align: center; padding: 15px 8px; font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; gap: 7px; }
.callbar a svg { width: 17px; height: 17px; }
.callbar a.call { background: var(--ink); }
.callbar a.text { background: var(--accent-deep); }
.callbar a.book { flex: 1.35; background: var(--accent); }
.hide-mobile { }
body { padding-bottom: 52px; }

@media (min-width: 741px) {
  .callbar { display: none; }
  body { padding-bottom: 0; }

}
@media (max-width: 740px) { .hide-mobile { display: none !important; } }

/* == Legacy hero classes (inner pages keep simple heroes) == */
.hero { max-width: var(--maxw); margin: 0 auto; padding: 48px 20px 56px; display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
@media (min-width: 860px) { .hero { grid-template-columns: 1.1fr 0.9fr; gap: 48px; padding: 72px 28px 76px; } }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 28px; }
.hero__fine { margin: 20px 0 0; font-size: 13.5px; color: var(--muted); }
.hero__media { border: 1px solid var(--line); background: var(--ivory); border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow-md); }
/* width/height attributes exist for CLS only — CSS aspect-ratio drives the box */
.hero__media img, .phero__photo img { height: auto; }
.hero__video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

/* == v3: provider flags & local highlight ================== */
.pcard__photo, .phero__photo { position: relative; }
.flag { position: absolute; top: 24px; left: -48px; width: 160px; transform: rotate(-45deg); background: #F6C445; color: #3D3106; font: 700 11px var(--font-body); letter-spacing: 0.1em; text-transform: uppercase; padding: 7px 0; box-shadow: var(--shadow-md); z-index: 2; pointer-events: none; text-align: center; }
.phero__flag-note { margin: 14px 0 0; }
.phero__photo .flag { top: 28px; left: -50px; width: 170px; font-size: 12px; }
.pcard--local { border-color: var(--accent); box-shadow: 0 0 0 1.5px var(--accent), var(--shadow-sm); }
.provider-grid--4 { grid-template-columns: 1fr 1fr; }
@media (min-width: 1000px) { .provider-grid--4 { grid-template-columns: repeat(4, 1fr); } }

/* == v3: org membership strip ============================== */
.org-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 40px; margin-top: 26px; }
.org-strip img { height: 62px; width: auto; max-width: 220px; object-fit: contain; opacity: .85; filter: grayscale(60%); }
.org-strip a { display: inline-flex; }
.org-strip a:hover img, .org-strip a:focus-visible img { opacity: 1; filter: none; }
.org-strip__chip { font: 600 13px var(--font-body); letter-spacing: 0.04em; color: var(--muted); border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 14px; background: var(--white); }
.org-strip--inverse img { filter: grayscale(100%) brightness(0) invert(1); opacity: .85; }
.org-strip--inverse .org-strip__chip { color: rgba(255,255,255,0.85); border-color: rgba(255,255,255,0.3); background: transparent; }
.logo-strip--abd { margin-top: 24px; gap: 16px 30px; }
.logo-strip--abd img { height: 96px; max-width: 300px; opacity: 1; filter: none; }
@media (min-width: 760px) { .logo-strip--abd img { height: 118px; } }

/* == v3: insurance logos =================================== */
.ins-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 30px; }
@media (min-width: 760px) { .ins-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
@media (min-width: 1000px) { .ins-grid { grid-template-columns: repeat(6, 1fr); } }
.ins-card { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 18px 16px; display: flex; align-items: center; justify-content: center; min-height: 84px; box-shadow: var(--shadow-sm); }
.ins-card img { max-height: 40px; width: auto; max-width: 100%; object-fit: contain; filter: grayscale(100%); opacity: .75; }
.ins-logos { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; margin: 26px 0 8px; }
.ins-logos img { height: 34px; width: auto; max-width: 150px; object-fit: contain; filter: grayscale(100%); opacity: .75; }
.cols-2 { columns: 1; column-gap: 40px; }
@media (min-width: 700px) { .cols-2 { columns: 2; } }

/* == v3: before/after slider =============================== */
.ba-slider { position: relative; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; background: var(--ivory); user-select: none; }
.ba-slider img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-slider__after { clip-path: inset(0 0 0 var(--pos, 50%)); }
.ba-slider__handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 3px; background: #ffffff; box-shadow: 0 0 8px rgba(0,0,0,0.4); pointer-events: none; }
.ba-slider__handle::after { content: "\2194"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 40px; height: 40px; border-radius: 999px; background: #ffffff; color: var(--accent-deep); display: flex; align-items: center; justify-content: center; font-size: 17px; box-shadow: var(--shadow-md); }
.ba-slider__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba-slider__tag { position: absolute; bottom: 10px; font: 700 10.5px var(--font-body); letter-spacing: 0.1em; text-transform: uppercase; color: #fff; background: rgba(18,24,30,0.72); padding: 5px 10px; border-radius: 999px; pointer-events: none; }
.ba-slider__tag--before { left: 10px; }
.ba-slider__tag--after { right: 10px; }
.ba-pair { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 860px) { .ba-pair { grid-template-columns: repeat(3, 1fr); gap: 18px; } }

/* == v3: Mohs case photos — mobile scroll-snap ============= */
@media (max-width: 700px) {
  .case__photos { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; padding-bottom: 6px; -webkit-overflow-scrolling: touch; }
  .case__photos figure { flex: 0 0 74%; scroll-snap-align: start; }
  .case__photos img { aspect-ratio: 4 / 3; }
}

/* == v3: consent banner ==================================== */
.consent { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 120; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow-lg); padding: 18px 20px; display: none; }
.consent.is-open { display: block; }
@media (min-width: 760px) { .consent { left: auto; right: 22px; bottom: 22px; max-width: 420px; } }
.consent__text { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--muted); }
.consent__text a { color: var(--accent-deep); }
.consent__row { display: flex; gap: 10px; margin-top: 14px; }
.consent__row .btn { flex: 1; padding: 11px 12px; font-size: 14px; }
@media (max-width: 740px) { .consent { bottom: 64px; } }

/* == v3: CCC cosmetic panel (tangerine accents) ============ */
.ccc-panel { background: #FBF6F1; border-top: 1px solid #F2E3D8; border-bottom: 1px solid #F2E3D8; }
.ccc-panel .eyebrow { color: #C7502A; }
.ccc-panel__logo { height: 40px; width: auto; max-width: 260px; object-fit: contain; }
.btn--ccc { background: #EC7142; color: #ffffff; box-shadow: var(--shadow-sm); }
.btn--ccc:hover { background: #D85F33; color: #ffffff; transform: translateY(-1px); }
.btn--outline-ccc { border: 1.5px solid #EC7142; color: #C7502A; background: transparent; }
.btn--outline-ccc:hover { background: #FDEBE1; color: #C7502A; }
.ccc-chip { display: inline-block; font: 600 12px var(--font-body); letter-spacing: 0.06em; text-transform: uppercase; color: #C7502A; background: #FDEBE1; border-radius: 999px; padding: 6px 12px; }
.icn--ccc { background: #FDEBE1; color: #EC7142; }

/* Skin-cancer type comparison cards (inside prose) */
.sc-compare { display: grid; grid-template-columns: 1fr; gap: 16px; margin: 22px 0 0; }
@media (min-width: 700px) { .sc-compare { grid-template-columns: repeat(3, 1fr); } }
.sc-compare a { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; text-decoration: none; color: inherit; box-shadow: var(--shadow-sm); transition: transform .15s ease, box-shadow .15s ease; }
.sc-compare a:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.sc-compare img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.sc-compare strong { font-family: var(--font-head); font-weight: 600; font-size: 17.5px; color: var(--ink); padding: 16px 18px 0; }
.sc-compare span { font-size: 13.5px; line-height: 1.6; color: var(--muted); padding: 7px 18px 0; }
.sc-compare em { font-style: normal; font-size: 13.5px; font-weight: 600; color: var(--accent-deep); padding: 12px 18px 18px; margin-top: auto; }

/* ABCDE melanoma warning-sign tiles */
.abcde { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 22px 0 0; }
@media (min-width: 620px) { .abcde { grid-template-columns: repeat(5, 1fr); } }
.abcde__tile { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 18px 16px; text-align: center; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; align-items: center; gap: 6px; }
.abcde__letter { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; background: var(--accent-deep); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 24px; }
.abcde__tile strong { font-family: var(--font-head); font-weight: 600; font-size: 16px; color: var(--ink); }
.abcde__tile span { font-size: 13px; line-height: 1.55; color: var(--muted); }
@media (max-width: 619px) { .abcde__tile { flex-direction: row; text-align: left; } .abcde__tile strong { min-width: 92px; } .abcde__tile span { flex: 1; } .abcde__letter { flex: 0 0 auto; } }

/* Conditions index: hovering a condition card flips it to the condition photo */
.cond-card--flip { background: none; border: 0; box-shadow: none; padding: 0; min-height: 216px; perspective: 1000px; }
.cond-card--flip:hover { transform: none; box-shadow: none; border-color: transparent; }
.cond-flip { position: relative; display: block; width: 100%; height: 100%; min-height: 216px; transform-style: preserve-3d; transition: transform .55s cubic-bezier(.2, .7, .3, 1); }
@media (hover: hover) and (pointer: fine) {
  .cond-card--flip:hover .cond-flip, .cond-card--flip:focus-visible .cond-flip { transform: rotateY(180deg); }
}
.cond-flip__front, .cond-flip__back { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: var(--r-card); border: 1px solid var(--line); box-shadow: var(--shadow-sm); overflow: hidden; }
.cond-flip__front { display: flex; flex-direction: column; align-items: flex-start; background: var(--white); padding: 24px 22px; }
.cond-flip__back { transform: rotateY(180deg); background: var(--ink); display: flex; flex-direction: column; }
.cond-flip__back img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cond-flip__name { position: relative; margin-top: auto; padding: 26px 16px 13px; background: linear-gradient(transparent, rgba(22, 26, 30, 0.88)); color: #ffffff; font: 600 17px var(--font-head); width: 100%; }
.cond-flip__name .arrow { color: rgba(255,255,255,0.85); }
@media (prefers-reduced-motion: reduce) { .cond-flip { transition: none; } }

/* Compact hero media: photo scales down instead of dominating the column */
.hero__media--compact { max-width: 340px; width: 100%; margin: 0 auto; }
.hero__media--compact img { border-radius: var(--r-card); box-shadow: var(--shadow-md); }
@media (min-width: 860px) { .hero__media--compact { max-width: 430px; margin: 0; justify-self: end; align-self: center; } }

/* Prominent gallery CTA on the Mohs page */
.gallery-cta { display: flex; flex-wrap: wrap; gap: 18px 26px; align-items: center; justify-content: space-between; margin-top: 34px; padding: 24px 26px; background: var(--accent-tint); border: 1px solid var(--accent-line); border-radius: var(--r-card); }
.gallery-cta__title { margin: 0; font-family: var(--font-head); font-weight: 600; font-size: 21px; color: var(--ink); }
.gallery-cta__sub { margin: 6px 0 0; font-size: 14.5px; color: var(--muted); }
.gallery-cta .btn { flex: 0 0 auto; }
.scard--ccc { border-top: 4px solid #EC7142; }
.scard--ccc .scard__kicker { color: #C7502A; }

/* == v3: publications list ================================= */
.pubs-list { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-direction: column; gap: 0; }
.pubs-list li { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; line-height: 1.6; }
.pubs-list li:last-child { border-bottom: none; }
.pubs-list a { font-weight: 600; text-decoration: none; }
.pubs-list a:hover { text-decoration: underline; }
.pubs-list .meta { color: var(--muted); font-size: 13.5px; }

/* == v3: footer app badges & social icons ================== */
.footer__socials a { display: inline-flex; align-items: center; gap: 8px; }
.footer__socials svg { width: 18px; height: 18px; }
.app-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.app-links a { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.85); border: 1px solid rgba(255,255,255,0.3); border-radius: 10px; padding: 8px 12px; text-decoration: none; }
.app-links a:hover { color: #fff; border-color: rgba(255,255,255,0.6); text-decoration: none; }
.app-links svg { width: 16px; height: 16px; }

/* == v3: landers =========================================== */
.stars-band { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 20px; font-size: 15px; }
.stars-band .stars { color: #E9A13B; letter-spacing: 0.15em; font-size: 17px; }
.stars-band .n { font-weight: 600; }
.quickfacts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 28px; }
@media (min-width: 860px) { .quickfacts { grid-template-columns: repeat(4, 1fr); } }
.quickfacts > div { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; color: var(--muted); box-shadow: var(--shadow-sm); }
.quickfacts .t { font-family: var(--font-head); font-weight: 600; font-size: 16.5px; color: var(--ink); }

/* == Reduced motion ======================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .pcard, .cond-card, .tcard, .vcard__thumb { transition: none; }
}

/* == Mohs gallery discretion gate ========================== */
.case-gate { display: flex; flex-direction: column; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow-md); padding: 26px 26px 24px; margin-bottom: 26px; }
.case-gate .icn { margin-bottom: 12px; }
.case-gate__title { margin: 0; font-family: var(--font-head); font-weight: 600; font-size: 21px; color: var(--ink); }
.case-gate__sub { margin: 8px 0 16px; font-size: 14.5px; line-height: 1.7; color: var(--muted); max-width: 70ch; }
.case-list.is-gated { filter: blur(22px); pointer-events: none; user-select: none; max-height: 55vh; overflow: hidden; }


/* == Cookie preferences modal (OneTrust-style) ============== */
.cprefs { position: fixed; inset: 0; z-index: 200; background: rgba(24, 28, 32, 0.55); display: flex; align-items: center; justify-content: center; padding: 18px; }
.cprefs[hidden] { display: none; }
.cprefs__panel { position: relative; background: var(--white); border-radius: var(--r-card); box-shadow: var(--shadow-lg); width: min(560px, 100%); max-height: 86vh; overflow: auto; padding: 30px 28px 26px; }
.cprefs__close { position: absolute; top: 10px; right: 14px; background: none; border: 0; font-size: 26px; line-height: 1; color: var(--muted); cursor: pointer; padding: 6px; }
.cprefs__close:hover { color: var(--ink); }
.cprefs__intro { margin: 0 0 6px; font-size: 13.5px; line-height: 1.65; color: var(--muted); }
.cprefs__head { margin: 18px 0 6px; font-family: var(--font-head); font-weight: 600; font-size: 20px; color: var(--ink); }
.cprefs__cat { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin-top: 10px; }
.cprefs__row { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.cprefs__name { font-weight: 600; font-size: 15px; color: var(--ink); }
.cprefs__always { font-size: 13px; font-weight: 600; color: var(--accent-deep); }
.cprefs__desc { margin: 8px 0 0; font-size: 12.5px; line-height: 1.6; color: var(--muted); }
.cprefs__actions { margin-top: 18px; display: flex; justify-content: flex-end; }
.switch { position: relative; display: inline-flex; align-items: center; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.switch__track { width: 46px; height: 26px; border-radius: 999px; background: #C9CDD2; transition: background .15s ease; position: relative; display: inline-block; }
.switch__track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.3); transition: transform .15s ease; }
.switch input:checked + .switch__track { background: #3E7D5C; }
.switch input:checked + .switch__track::after { transform: translateX(20px); }
.switch input:focus-visible + .switch__track { outline: 2px solid var(--accent); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
