/* Doctor profile: hero with arch portrait, quote, journey by year, fields, teachers, certificates, visit, lightbox. */

:root {
	--ink-soft: #33424c;
	--on-dark: #e3f1f5;
	--on-dark-muted: #b9d3dc;
	--paper: #f4f1ea;
	--navy-mid: #0d5b6e;
	--shade-navy: rgba(8, 42, 69, .16);
	--teal-line: rgba(1, 185, 181, .4);
	--navy-glass: rgba(8, 42, 69, .78);
	--rule-on-dark: rgba(255, 255, 255, .2);
	--shade-dark: rgba(0, 0, 0, .3);
	--shade-teal: rgba(0, 110, 107, .1);
	--scrim: rgba(8, 28, 44, .86);
}

/* Hero */
.dr-hero { padding: 0 0 64px; background: linear-gradient(180deg, var(--tint-soft) 0%, var(--tint) 62%, var(--white) 62%); }
.dr-hero .crumbs { padding-top: 22px; }
.dr-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 96px; align-items: center; padding-top: 36px; }
.dr-hero h1 { font-size: clamp(40px, 5.4vw, 66px); line-height: 1.08; font-weight: 700; letter-spacing: -.02em; color: var(--navy); }
.dr-hero__role { margin-top: 12px; font-size: 19px; font-weight: 600; color: var(--teal-ink); }
.dr-hero__lead { margin-top: 16px; max-width: 660px; font-size: 17px; color: var(--ink-soft); }
.dr-facts { margin: 28px 0 0; padding: 6px 26px; background: var(--white); border-radius: 20px; box-shadow: var(--shadow); }
.dr-facts div { display: grid; grid-template-columns: 124px minmax(0, 1fr); gap: 16px; padding: 14px 0; }
.dr-facts div + div { border-top: 1px solid var(--line); }
.dr-facts dt { font-size: 14px; font-weight: 600; color: var(--teal-ink); padding-top: 1px; }
.dr-facts dd { margin: 0; font-size: 15.5px; color: var(--ink); }
.dr-hero__btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

.dr-hero__photo { position: relative; justify-self: end; width: 100%; max-width: 400px; }
.dr-hero__arch { aspect-ratio: 4 / 5; border-radius: 200px 200px 28px 28px; overflow: hidden; background: var(--white); box-shadow: 0 30px 60px var(--shade-navy); }
.dr-hero__arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.dr-hero__photo::before { content: ""; position: absolute; inset: 22px -18px -18px 22px; border-radius: 200px 200px 28px 28px; border: 2px solid var(--teal-line); z-index: -1; }

/* Quote */
.dr-quote { padding-block: 40px 64px; }
.dr-quote__grid { display: grid; grid-template-columns: 420px minmax(0, 1fr); gap: 64px; align-items: center; }
.dr-quote__photo img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-lg); }
.dr-quote__mark { display: block; color: var(--teal-line); margin-bottom: 4px; }
.dr-quote blockquote { margin: 0; }
.dr-quote blockquote p { font-size: clamp(21px, 2.3vw, 29px); line-height: 1.45; font-weight: 600; color: var(--navy); text-wrap: pretty; }
.dr-quote__by { display: grid; gap: 2px; margin: 20px 0 24px; }
.dr-quote__by b { color: var(--navy); }
.dr-quote__by span { font-size: 14px; color: var(--muted); }
.dr-quote__text > p:last-child { color: var(--ink-soft); }

/* Journey: year column, rule, text */
.dr-tl { background: var(--tint-soft); padding-block: 64px; }
ol.tl { max-width: 880px; margin: 0 auto; padding: 0; list-style: none; }
.tl__item { position: relative; display: grid; grid-template-columns: 150px minmax(0, 1fr); column-gap: 48px; padding-bottom: 34px; }
.tl__item::before { content: ""; position: absolute; left: 173px; top: 12px; bottom: -12px; width: 2px; background: var(--teal-line); }
.tl__item:last-child { padding-bottom: 0; }
.tl__item:last-child::before { display: none; }
.tl__item::after { content: ""; position: absolute; left: 168px; top: 9px; width: 12px; height: 12px; border-radius: 50%; background: var(--brand-hi); box-shadow: 0 0 0 5px var(--tint-soft); }
.tl__year { text-align: right; font-size: 24px; line-height: 1.25; font-weight: 700; color: var(--teal-head); }
.tl__year mark.todo { display: inline-block; font-size: 12.5px; font-weight: 500; line-height: 1.4; }
.tl__body h3 { font-size: 20px; line-height: 1.35; color: var(--navy); text-wrap: balance; }
.tl__body > p { margin-top: 6px; color: var(--ink-soft); }
.doc-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 2px; font-size: 14.5px; font-weight: 600; color: var(--teal-ink); text-decoration: underline; text-underline-offset: 3px; cursor: zoom-in; }
.doc-link:hover { color: var(--navy); }
.tl__media { margin-top: 16px; max-width: 420px; }

/* Zoomable pictures */
.zoom { position: relative; display: block; width: 100%; border-radius: 16px; overflow: hidden; background: var(--white); box-shadow: 0 10px 26px var(--shade-navy); cursor: zoom-in; }
.zoom img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.zoom--tall img { object-position: 50% 78%; }
.zoom--meda img { object-position: 42% 50%; }
.zoom:hover .zoom__ico { background: var(--brand); }
.zoom__ico { position: absolute; right: 10px; bottom: 10px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--navy-glass); color: var(--white); }

/* Fields of work: heading left, ruled list right */
.dr-focus { padding-block: 64px; }
.dr-focus__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.dr-focus__head { position: sticky; top: calc(var(--header-h) + 24px); }
.dr-focus__head p { color: var(--ink-soft); }
.dr-focus__list li { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px; padding: 22px 0; border-top: 1px solid var(--line); }
.dr-focus__list li:last-child { border-bottom: 1px solid var(--line); }
.dr-focus__list h3 { font-size: 20px; line-height: 1.35; color: var(--navy); }
.dr-focus__list h3 a { display: inline-flex; align-items: center; gap: 8px; }
.dr-focus__list h3 a:hover { color: var(--teal-ink); }
.dr-focus__list h3 svg { color: var(--brand-hi); flex: none; }
.dr-focus__list p { font-size: 15.5px; color: var(--ink-soft); }

/* Teachers */
.dr-mentors { padding-block: 0; }
.dr-mentors__band { padding-block: 64px; background: linear-gradient(135deg, var(--navy-deep), var(--navy) 55%, var(--navy-mid)); color: var(--on-dark); }
.dr-mentors__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.dr-mentors .svc-h2 { color: var(--white); }
.dr-mentors__text p + p { margin-top: 14px; }
.dr-mentors__text p.dr-places { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--rule-on-dark); font-size: 15px; color: var(--on-dark-muted); }
.dr-mentors__photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.mentor .zoom { border-radius: 18px; box-shadow: 0 16px 34px var(--shade-dark); }
.mentor .zoom img { aspect-ratio: 3 / 4; }
.mentor figcaption { display: grid; gap: 2px; margin-top: 12px; font-size: 13px; color: var(--on-dark-muted); }
.mentor figcaption b { font-size: 15px; color: var(--white); }

/* Certificates */
.dr-certs { padding-block: 64px; }
.dr-certs__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.cert .zoom { border-radius: 10px; box-shadow: 0 8px 24px var(--shade-navy); }
.cert .zoom img { aspect-ratio: 4 / 3; object-fit: contain; background: var(--paper); }
.cert figcaption { display: grid; gap: 2px; margin-top: 14px; font-size: 14px; color: var(--muted); }
.cert figcaption b { font-size: 16px; color: var(--navy); }
.dr-certs__note { max-width: 880px; margin: 30px auto 0; text-align: center; font-size: 14px; color: var(--muted); }

/* Visit */
.dr-approach { background: var(--tint-soft); padding-block: 64px; }
.dr-approach__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 64px; align-items: center; }
.dr-approach__intro > p { color: var(--ink-soft); }
.dr-approach__intro > p + p { margin-top: 12px; }
.dr-told__title { margin-top: 26px; font-size: 17px; color: var(--navy); }
.dr-told { margin-top: 10px; }
.dr-told li { position: relative; padding: 11px 0 11px 22px; border-top: 1px solid var(--line); }
.dr-told li::before { content: ""; position: absolute; left: 2px; top: 1.2em; width: 8px; height: 2px; background: var(--brand-hi); }
.dr-aside { margin: 0; padding: 34px 36px; border-radius: var(--radius-lg); background: var(--white); box-shadow: 0 10px 30px var(--shade-teal); }
.dr-aside p { font-size: clamp(19px, 1.8vw, 23px); line-height: 1.5; font-weight: 600; color: var(--navy); text-wrap: pretty; }
.dr-aside footer { margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--teal-ink); }

/* Team page */
.team-top { padding: 0 0 40px; background: var(--tint-soft); }
.team-top .crumbs { padding-top: 22px; }
.team-top h1 { margin-top: 28px; font-size: clamp(34px, 4.4vw, 54px); line-height: 1.12; font-weight: 700; letter-spacing: -.015em; color: var(--navy); }
.team-top__lead { margin-top: 16px; max-width: 720px; font-size: 18px; color: var(--ink-soft); }

.team-lead { padding-block: 56px 64px; }
.team-lead__grid { display: grid; grid-template-columns: 300px minmax(0, 1fr) 320px; gap: 56px; align-items: center; }
.team-lead__grid--two { grid-template-columns: 320px minmax(0, 1fr); gap: 72px; max-width: 1040px; }
.team-lead__photo .dr-hero__arch { box-shadow: 0 24px 48px var(--shade-navy); background: var(--tint-soft); }
.team-lead__text h2 { font-size: clamp(26px, 2.8vw, 36px); line-height: 1.2; color: var(--navy); }
.team-lead__role { margin-top: 8px; font-size: 17px; font-weight: 600; color: var(--teal-ink); }
.team-lead__text > p + p { margin-top: 12px; }
.team-lead__role + p { margin-top: 16px; }
.team-lead .dr-facts { margin: 24px 0 28px; padding: 0; background: none; box-shadow: none; border-radius: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.team-lead__side img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); }
.team-lead__side figcaption { margin-top: 10px; font-size: 13.5px; color: var(--muted); }

.team-list { padding-block: 48px; background: var(--tint-soft); }
.team-list .sec-head { margin-bottom: 20px; }
.team-list__empty { max-width: 820px; font-size: 16px; line-height: 2; color: var(--ink-soft); }
.team-list__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.member img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 10%; border-radius: var(--radius-lg); background: var(--white); }
.member h3 { margin-top: 16px; font-size: 20px; color: var(--navy); }
.member__role { margin-top: 4px; font-size: 14.5px; font-weight: 600; color: var(--teal-ink); }
.member p:last-child { margin-top: 8px; font-size: 15px; color: var(--ink-soft); }

.team-map { padding-block: 64px; }
.team-map__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.team-map__head p { color: var(--ink-soft); }
.team-map__table { width: 100%; border-collapse: collapse; font-size: 16px; }
.team-map__table th, .team-map__table td { padding: 16px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.team-map__table thead th { padding-top: 0; font-size: 14px; font-weight: 600; color: var(--muted); }
.team-map__table tbody th { width: 50%; padding-right: 24px; font-weight: 600; color: var(--navy); }
.team-map__table tbody th a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--teal-line); }
.team-map__table tbody th a:hover { color: var(--teal-ink); }

@media (max-width: 1100px) {
	.team-lead__grid { grid-template-columns: 260px minmax(0, 1fr); gap: 40px; }
	.team-lead__side { display: none; }
	.team-map__grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}
@media (max-width: 767px) {
	.team-top { padding-bottom: 28px; }
	.team-top h1 { margin-top: 20px; }
	.team-top__lead { font-size: 16px; }
	.team-lead { padding-block: 32px 40px; }
	.team-lead__grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.team-lead__photo { max-width: 230px; }
	.team-lead .btn { width: 100%; }
	.team-list { padding-block: 36px; }
	.team-list__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
	.team-map { padding-block: 40px; }
	.team-map__table { font-size: 15px; }
	.team-map__table tbody th { width: 46%; padding-right: 14px; }
}

/* About page */
.about-top .svc-top__grid { padding-bottom: 56px; }
.about-top .svc-top__photo img { aspect-ratio: 5 / 4; object-position: 50% 30%; }

.about-text { padding-block: 24px 64px; }
.about-text__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: center; }
.about-text__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 30%; border-radius: var(--radius-lg); }
.about-text__body p { color: var(--ink-soft); font-size: 17px; }
.about-text__body p + p { margin-top: 14px; }

.about-space { padding-block: 64px; background: var(--tint-soft); }
.about-space__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 64px; align-items: start; }
.about-space__list { margin: 8px 0 0; }
.about-space__list div { padding: 18px 0; border-top: 1px solid var(--line); }
.about-space__list div:last-child { border-bottom: 1px solid var(--line); }
.about-space__list dt { font-size: 18px; font-weight: 700; color: var(--navy); }
.about-space__list dd { margin: 6px 0 0; color: var(--ink-soft); }
.about-space__photos { display: grid; gap: 20px; }
.about-space__photos img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-lg); }
.about-space__photos figcaption { margin-top: 8px; font-size: 13.5px; color: var(--muted); }

.about-visit { padding-block: 64px; }
.about-visit__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.about-visit__head p { color: var(--ink-soft); }
.about-visit__list { margin: 0; padding: 0; list-style: none; counter-reset: visit; }
.about-visit__list li { counter-increment: visit; display: grid; grid-template-columns: 36px minmax(0, 4fr) minmax(0, 8fr); gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.about-visit__list li:last-child { border-bottom: 1px solid var(--line); }
.about-visit__list li::before { content: counter(visit) "."; font-weight: 700; color: var(--teal-ink); }
.about-visit__list b { font-size: 18px; color: var(--navy); }
.about-visit__list span { color: var(--ink-soft); }

.about-info { padding-block: 64px; background: var(--tint-soft); }
.about-info__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.about-info__list { margin: 8px 0 0; }
.about-info__list div { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.about-info__list div:last-child { border-bottom: 1px solid var(--line); }
.about-info__list dt { font-size: 14.5px; font-weight: 600; color: var(--teal-ink); }
.about-info__list dd { margin: 0; }
.about-info__more { margin-top: 20px; color: var(--ink-soft); }
.about-info__map { display: grid; gap: 16px; justify-items: start; }
.about-info__map iframe { width: 100%; aspect-ratio: 4 / 3; border: 0; border-radius: var(--radius-lg); background: var(--tint); }

@media (max-width: 1100px) {
	.about-text__grid, .about-space__grid, .about-visit__grid, .about-info__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.about-space__photos { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 767px) {
	.about-top .svc-top__grid { padding-bottom: 32px; }
	.about-text { padding-block: 16px 40px; }
	.about-text__body p { font-size: 16px; }
	.about-space, .about-visit, .about-info { padding-block: 40px; }
	.about-space__photos { grid-template-columns: minmax(0, 1fr); }
	.about-visit__list li { grid-template-columns: 28px minmax(0, 1fr); gap: 4px 8px; }
	.about-visit__list span { grid-column: 2; }
	.about-info__list div { grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 12px 0; }
	.about-info__map iframe { aspect-ratio: 1; }
}

/* Facility page: photo walk */
.fac-tour { padding-block: 24px 64px; }
.fac-tour__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 32px 24px; }
.fac { grid-column: span 3; }
.fac:nth-child(6n+1), .fac:nth-child(6n+4) { grid-column: span 4; }
.fac:nth-child(6n+2), .fac:nth-child(6n+3) { grid-column: span 2; }
.fac .zoom { border-radius: var(--radius-lg); box-shadow: none; height: 380px; }
.fac .zoom img { height: 100%; aspect-ratio: auto; }
.fac figcaption { display: grid; gap: 2px; margin-top: 12px; font-size: 15px; color: var(--ink-soft); }
.fac figcaption b { font-size: 18px; color: var(--navy); }

@media (max-width: 1100px) {
	.fac .zoom { height: 300px; }
}
@media (max-width: 767px) {
	.fac-tour { padding-block: 16px 40px; }
	.fac-tour__grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.fac:nth-child(n) { grid-column: auto; }
	.fac .zoom { height: auto; }
	.fac .zoom img { height: auto; aspect-ratio: 4 / 3; }
}

/* Customer stories */
.case-list { padding-block: 48px 56px; }
.case-row { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: center; padding: 32px 0; border-top: 1px solid var(--line); }
.case-row:first-child { border-top: 0; padding-top: 0; }
.case-row__pics { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.case-row__pics figure { position: relative; }
.case-row__pics img { width: 100%; aspect-ratio: 20 / 13; object-fit: cover; border-radius: 16px; background: var(--tint); }
.case-row__pics figcaption { position: absolute; left: 12px; bottom: 12px; padding: 4px 12px; border-radius: 999px; background: var(--navy-glass); color: var(--white); font-size: 13px; font-weight: 600; }
.case-row__text h2 { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.25; color: var(--navy); }
.case-row__date { margin-top: 6px; font-size: 14px; color: var(--muted); }
.case-row__date + p { margin-top: 12px; color: var(--ink-soft); }
.case-row__src { margin-top: 12px; font-size: 14.5px; }
.case-row__src a, .case-quote__rate a { color: var(--teal-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; }
.fbpost__img { display: block; border-radius: var(--radius-lg); overflow: hidden; background: var(--tint); }
.fbpost__img img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.fbpost__date { margin-top: 16px; font-size: 14px; color: var(--muted); }
.fbpost h2 { margin-top: 4px; font-size: 21px; line-height: 1.3; color: var(--navy); }
.fbpost h2 a:hover { color: var(--teal-ink); }
.fbpost h2 + p { margin-top: 8px; font-size: 15.5px; color: var(--ink-soft); }
.fbpost__more { margin-top: 10px; font-size: 14.5px; }
.fbpost__more a { color: var(--teal-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.post-grid + .case-list__note { margin-top: 40px; }
.case-list__note { margin-top: 8px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14.5px; line-height: 1.9; color: var(--muted); }

.case-quote { padding-block: 64px; background: var(--tint-soft); }
.case-quote__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 64px; align-items: center; }
.case-quote__grid p { color: var(--ink-soft); }
.case-quote__grid p + p { margin-top: 12px; }
.case-quote .dr-aside p { color: var(--navy); }

@media (max-width: 1100px) {
	.case-row { grid-template-columns: minmax(0, 1fr); gap: 20px; }
	.post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.case-quote__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}
@media (max-width: 767px) {
	.case-list { padding-block: 28px 40px; }
	.post-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.fbpost h2 { font-size: 19px; }
	.case-row { padding: 24px 0; }
	.case-row__pics { gap: 8px; }
	.case-row__pics img { border-radius: 12px; }
	.case-row__pics figcaption { left: 8px; bottom: 8px; padding: 3px 10px; font-size: 12px; }
	.case-quote { padding-block: 40px; }
}

/* Price list */
.price-top { padding-bottom: 0; }
.price-top h1 { text-wrap: balance; }
.price-nav { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 28px; border-top: 1px solid var(--line); }
.price-nav a { padding: 16px 0; font-size: 16px; font-weight: 600; color: var(--navy); border-bottom: 3px solid transparent; }
.price-nav a:hover { color: var(--teal-ink); border-bottom-color: var(--brand-hi); }

.price-group { padding-block: 56px; }
.price-group + .price-group { border-top: 1px solid var(--line); }
.price-group__grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 56px; align-items: start; }
.price-group__head { position: sticky; top: calc(var(--header-h) + 24px); }
.price-group__head p { color: var(--ink-soft); font-size: 15.5px; }
.price-group__link { margin-top: 12px; }
.price-group__link a { color: var(--teal-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.price-group__tables { display: grid; gap: 40px; }
.ptable-wrap { border-radius: 0; box-shadow: none; background: none; }
.ptable { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.ptable caption { padding-bottom: 12px; text-align: left; font-size: 19px; font-weight: 700; color: var(--navy); }
.ptable th, .ptable td { padding: 13px 16px 13px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.ptable thead th { padding-top: 0; font-size: 13.5px; font-weight: 600; color: var(--muted); border-bottom-color: var(--field-line); }
.ptable tbody th { font-weight: 500; color: var(--ink); }
.ptable td { white-space: nowrap; font-variant-numeric: tabular-nums; }
.ptable td:nth-child(2) { font-weight: 700; color: var(--teal-ink); }
.ptable--4 td:nth-child(3) { font-weight: 700; color: var(--teal-ink); }
.ptable--3 td:last-child, .ptable--4 td:last-child { color: var(--ink-soft); font-weight: 400; }
.ptable th:last-child, .ptable td:last-child { padding-right: 0; }
.ptable tbody tr:hover th, .ptable tbody tr:hover td { background: var(--tint-soft); }
.ptable__note { margin-top: -28px; font-size: 14px; color: var(--muted); }
.price-notes { padding-block: 56px; background: var(--tint-soft); }
.price-notes .dr-told { margin-top: 0; }
.price-notes .dr-told li:first-child { border-top: 0; }

@media (max-width: 1100px) {
	.price-group__grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
	.price-group__head { position: static; }
}
@media (max-width: 767px) {
	.price-nav { gap: 0 20px; margin-top: 20px; }
	.price-nav a { padding: 12px 0; font-size: 15px; }
	.price-group, .price-notes { padding-block: 36px; }
	.ptable { font-size: 14.5px; }
	.ptable caption { font-size: 17px; }
	.ptable th, .ptable td { padding: 11px 12px 11px 0; }
	.ptable--2 td, .ptable--3 td { white-space: normal; }
	.ptable--2 td:nth-child(2), .ptable--3 td:nth-child(2) { min-width: 132px; }
	/* four-column table: each row becomes a small block so no price sits off-screen */
	.ptable--4 thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.ptable--4 tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2px 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
	.ptable--4 tbody th, .ptable--4 td { display: block; padding: 0; border: 0; white-space: normal; }
	.ptable--4 tbody th { grid-column: 1 / -1; padding-bottom: 6px; font-weight: 600; color: var(--navy); }
	.ptable--4 td::before { content: attr(data-label); display: block; font-size: 12.5px; font-weight: 500; color: var(--muted); }
	.ptable--4 td:last-child { grid-column: 1 / -1; padding-top: 4px; }
	.ptable--4 td:last-child::before { display: inline; content: attr(data-label) " "; font-size: inherit; }
}

/* Price detail pages */
.nw { white-space: nowrap; }
.ptable--sum td:nth-child(2) { font-weight: 400; color: var(--ink-soft); }
.ptable--sum td:last-child { font-weight: 700; color: var(--teal-ink); }
.price-text .dr-told { margin-top: 0; }
.price-text .dr-told li:first-child { border-top: 0; padding-top: 0; }
.price-text .dr-told li:first-child::before { top: .75em; }
.price-text__paras { margin-top: 20px; color: var(--ink-soft); }
.price-text__paras:first-child { margin-top: 0; }
.price-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.price-cols h3 { margin-bottom: 14px; font-size: 17px; color: var(--navy); }
.price-notes.price-group + .price-group, .price-group + .price-notes.price-group { border-top: 0; }
.price-dr__body { display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 32px; align-items: start; }
.price-dr__body img { width: 168px; height: 168px; object-fit: cover; object-position: top; border-radius: 8px; }
.price-dr__body h3 { font-size: 21px; color: var(--navy); }
.price-dr__role { margin: 2px 0 12px; font-size: 15px; color: var(--muted); }
.price-dr .price-group__link { display: flex; flex-wrap: wrap; gap: 8px 28px; }
@media (max-width: 767px) {
	.price-cols { grid-template-columns: minmax(0, 1fr); gap: 28px; }
	.ptable--sum thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.ptable--sum tr { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
	.ptable--sum tbody th, .ptable--sum td { display: block; padding: 0; border: 0; min-width: 0; }
	.ptable--sum tbody th { padding-bottom: 4px; font-weight: 600; color: var(--navy); }
	.ptable--sum td:last-child::before { content: "= "; }
	.price-dr__body { grid-template-columns: 96px minmax(0, 1fr); gap: 18px; }
	.price-dr__body img { width: 96px; height: 96px; }
	.price-dr__body h3 { font-size: 18px; }
}

/* Lightbox */
.lb { padding: 0; border: 0; background: none; max-width: min(1100px, 94vw); max-height: 92vh; overflow: visible; }
.lb::backdrop { background: var(--scrim); }
.lb img { max-width: 100%; max-height: 80vh; margin-inline: auto; border-radius: 12px; background: var(--white); }
.lb__cap { margin-top: 12px; text-align: center; font-size: 14px; color: var(--on-dark); }
.lb__close { position: absolute; right: 0; top: -48px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--white); color: var(--navy); }

@media (max-width: 1100px) {
	.dr-hero__grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 44px; }
	.dr-quote__grid { grid-template-columns: 340px minmax(0, 1fr); gap: 40px; }
	.dr-focus__grid, .dr-mentors__grid, .dr-approach__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.dr-focus__head { position: static; }
}

@media (max-width: 767px) {
	.dr-hero { padding-bottom: 40px; background: linear-gradient(180deg, var(--tint-soft), var(--tint) 70%, var(--white) 70%); }
	.dr-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 26px; padding-top: 20px; }
	.dr-hero__photo { order: -1; justify-self: center; max-width: 250px; }
	.dr-hero__photo::before { inset: 14px -10px -10px 14px; }
	.dr-hero__role { font-size: 16px; }
	.dr-hero__lead { font-size: 16px; }
	.dr-facts { margin-top: 22px; padding: 4px 18px; border-radius: 18px; }
	.dr-facts div { grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 12px 0; }
	.dr-facts dt { font-size: 13px; }
	.dr-facts dd { font-size: 15px; }
	.dr-hero__btns { margin-top: 22px; }
	.dr-hero__btns .btn { width: 100%; }

	.dr-quote { padding-block: 24px 40px; }
	.dr-quote__grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.dr-quote__photo img { aspect-ratio: 4 / 3; }

	.dr-tl, .dr-focus, .dr-certs, .dr-approach { padding-block: 40px; }
	.dr-mentors__band { padding-block: 40px; }
	.tl__item { grid-template-columns: minmax(0, 1fr); padding: 0 0 26px 26px; }
	.tl__item::before { left: 5px; }
	.tl__item::after { left: 0; top: 8px; }
	.tl__year { text-align: left; font-size: 20px; }
	.tl__body h3 { margin-top: 2px; font-size: 18px; }
	.tl__media { max-width: none; }

	.dr-focus__list li { grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 18px 0; }
	.dr-focus__list h3 { font-size: 18px; }

	.dr-mentors__photos { gap: 10px; }
	.mentor .zoom__ico { width: 28px; height: 28px; right: 6px; bottom: 6px; }
	.mentor .zoom__ico svg { width: 14px; height: 14px; }
	.mentor figcaption { font-size: 12px; }
	.mentor figcaption b { font-size: 13px; }

	.dr-certs__grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.dr-aside { padding: 24px 22px; border-radius: 22px; }
	.lb__close { top: -46px; }
}


/* Policy / terms sections (theme 0.8.2) */
.svc-sec.policy { padding-block: 22px; }
.policy__wrap > * { max-width: 780px; }
.policy__h { font-size: clamp(21px, 2.2vw, 25px); line-height: 1.3; font-weight: 700; color: var(--teal-head); margin-bottom: 12px; text-wrap: balance; }
.policy p + p, .policy p + ul, .policy ul + p { margin-top: 12px; }
.policy .dots { margin-top: 10px; }
.policy a { color: var(--teal-ink); text-decoration: underline; text-underline-offset: 2px; }
.svc-sec.policy:last-of-type { padding-bottom: 56px; }
