/*
Theme Name: Pembroke Fanlight
Theme URI: https://pembrokechiropractic.com/
Author: Dependent Media
Author URI: https://dependentmedia.com/
Description: Pembroke Chiropractic (Virginia Beach, since 1992). "Fanlight": the half-round sunburst window over the door of their office on Pembroke Boulevard. Light pages, the logo's indigo and cyan, Bodoni Moda + DM Sans, photos framed as doorways (a shallow arch on top), the home banner as a storefront: the sign, then three bays with the doorway in the middle. Built to the Sierra direction (growth/sierra-direction/DIRECTION.md). Block theme, no page builder.
Version: 1.0.0
Requires at least: 6.8
Requires PHP: 8.1
License: Proprietary (built for Pembroke Chiropractic)
Text Domain: pmb-fanlight
*/

/* ---------- fonts (self-hosted, SIL Open Font License; tools/get-fonts.py) ---------- */
@font-face { font-family: "Bodoni Moda"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("assets/fonts/bodoni-moda-normal.woff2") format("woff2"); }
@font-face { font-family: "Bodoni Moda"; font-style: italic; font-weight: 400 700; font-display: swap; src: url("assets/fonts/bodoni-moda-italic.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("assets/fonts/dm-sans.woff2") format("woff2"); }

:root {
	--indigo: #3A4199;      /* the logo's indigo: buttons, links (8.6:1 on white) */
	--indigo-deep: #2A2F72; /* hover */
	--cyan: #2BB4E2;        /* the logo's cyan: marks only (the fanlight, the door step), never text */
	--cyan-text: #0B6893;   /* the cyan, deepened for small text (6.3:1 on white) */
	--ink: #1E2034;         /* headings */
	--text: #3B3E52;        /* body (10.4:1) */
	--mute: #585C72;        /* captions (6.5:1 on white, 6.0:1 on the band) */
	--band: #F2F3FA;        /* pale periwinkle bands */
	--line: #D7D9EA;
	--frame: #9FA4C9;       /* photo keylines */
	--night: #1B1E4B;       /* the footer (the one dark band) */
	--err: #B3261E;
	--serif: "Bodoni Moda", Didot, "Bodoni 72", Georgia, serif;
	--sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--wrap: 1200px;
	--gut: clamp(18px, 4vw, 40px);
	--door: 50% 50% 0 0 / 15% 15% 0 0;  /* photo frame: a shallow arch on top, square at the foot */
	--bar: 64px;            /* home banner: height of the controls row under the door */
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; background: #fff; color: var(--text); font: 400 1.0625rem/1.7 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { max-width: 100%; }
img { height: auto; }
a { color: var(--indigo); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--indigo-deep); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--indigo); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3, h4 { color: var(--ink); font-family: var(--serif); font-weight: 500; font-optical-sizing: auto; line-height: 1.12; letter-spacing: -.005em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 1.5rem + 3vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.35rem); }
h3 { font-size: 1.3rem; line-height: 1.22; }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
strong { color: var(--ink); font-weight: 700; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.pmb-ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pmb-main { display: block; }
.wp-site-blocks > * + * { margin-block-start: 0; }

/* The fanlight: the label mark and the sign over the home headline */
.pmb-fan { display: block; stroke: var(--cyan); }
.pmb-kicker { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; color: var(--indigo); font: 700 .78rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.pmb-kicker::before { content: ""; flex: none; width: 22px; height: 12px; border: 2px solid var(--cyan); border-bottom: 0; border-radius: 22px 22px 0 0; background: linear-gradient(90deg, transparent 10px, var(--cyan) 10px 12px, transparent 12px) bottom / 100% 9px no-repeat; }
.pmb-kicker--plain::before { display: none; }
.pmb-lead { font-size: 1.2rem; line-height: 1.6; color: var(--text); max-width: 40rem; }
.pmb-small { color: var(--mute); font-size: .92rem; }

/* ---------- layout ---------- */
.pmb-sec { padding: clamp(56px, 7vw, 96px) var(--gut); }
.pmb-sec > * { max-width: var(--wrap); margin-left: auto; margin-right: auto; }
.pmb-sec--band { background: var(--band); }
.pmb-sec--tight { padding-top: clamp(36px, 4vw, 56px); padding-bottom: clamp(36px, 4vw, 56px); }
.pmb-sec__head { max-width: var(--wrap); margin-bottom: clamp(28px, 3.5vw, 44px); }
.pmb-sec__head > * { max-width: 44rem; }
.pmb-sec__head h2 { margin-bottom: .35em; }
.pmb-prose { max-width: 44rem !important; margin-left: 0 !important; }
.pmb-prose > * { max-width: 44rem; }
.pmb-wrap { max-width: var(--wrap); margin: 0 auto; }
.pmb-split { display: grid; gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (min-width: 900px) {
	.pmb-split { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
	.pmb-split--even { grid-template-columns: 1fr 1fr; }
	.pmb-split--photo { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; }
}
.pmb-split > .wp-block-group { max-width: none; }
.pmb-split > * { min-width: 0; }
.pmb-split > .wp-block-image.pmb-arch { width: 100%; max-width: 380px; margin: 0 auto; }
@media (min-width: 900px) { .pmb-split > .wp-block-image.pmb-arch { max-width: 420px; margin: 0; } }

/* ---------- buttons: the doorway (top corners rounded, square foot, a cyan step) ---------- */
.pmb-btn, .wp-block-button__link, .pmb-nf .nf-form-content input[type="submit"], .pmb-nf .nf-form-content input[type="button"] {
	display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 50px; padding: 12px 24px 14px;
	border: 1.5px solid var(--indigo); border-radius: 14px 14px 2px 2px; background: var(--indigo); color: #fff;
	box-shadow: inset 0 -3px 0 var(--cyan); font: 600 1rem/1.2 var(--sans); letter-spacing: .01em; text-decoration: none; cursor: pointer; white-space: nowrap;
	transition: background-color .15s, color .15s; }
.pmb-btn:hover, .wp-block-button__link:hover, .pmb-nf .nf-form-content input[type="submit"]:hover { background: var(--indigo-deep); border-color: var(--indigo-deep); color: #fff; }
.pmb-btn--line, .is-style-outline .wp-block-button__link { background: #fff; color: var(--indigo); }
.pmb-btn--line:hover, .is-style-outline .wp-block-button__link:hover { background: var(--band); color: var(--indigo-deep); }
.pmb-btn .pmb-ico { width: 18px; height: 18px; }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.4em 0 0; }
.wp-block-button { margin: 0; }

/* ---------- header ---------- */
.pmb-skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--ink); color: #fff; font-weight: 600; }
.pmb-skip:focus { top: 10px; color: #fff; }
.pmb-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.pmb-header.is-scrolled { box-shadow: 0 6px 18px -12px rgba(30, 32, 52, .35); }
.pmb-bar__in { display: flex; align-items: center; gap: 18px; max-width: 1320px; margin: 0 auto; min-height: 76px; padding: 10px var(--gut); }
.pmb-brand { display: inline-flex; align-items: center; margin-right: auto; text-decoration: none; }
.pmb-brand__name { display: flex; flex-direction: column; font-family: var(--serif); line-height: 1; text-transform: uppercase; }
.pmb-brand__top { color: var(--indigo); font-size: 1.42rem; font-weight: 600; letter-spacing: .13em; }
.pmb-brand__bot { margin-top: 6px; color: var(--cyan-text); font-size: .74rem; font-weight: 600; letter-spacing: .405em; }
.pmb-nav { display: none; }
.pmb-bar__cta { display: flex; align-items: center; gap: 14px; }
.pmb-bar__tel { display: none; align-items: center; gap: 7px; color: var(--ink); font-weight: 600; text-decoration: none; white-space: nowrap; }
.pmb-bar__tel .pmb-ico { color: var(--indigo); }
.pmb-bar__tel:hover { color: var(--indigo); text-decoration: underline; }
.pmb-bar__book { display: none; min-height: 46px; padding: 10px 18px 12px; }
.pmb-bar__menu { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 8px 14px; border: 1.5px solid var(--ink); border-radius: 12px 12px 2px 2px; background: #fff; color: var(--ink); font: 600 .98rem/1 var(--sans); cursor: pointer; }
.pmb-bar__menu .pmb-ico--close, .pmb-bar__menu[aria-expanded="true"] .pmb-ico--menu { display: none; }
.pmb-bar__menu[aria-expanded="true"] .pmb-ico--close { display: block; }
@media (min-width: 768px) { .pmb-bar__tel, .pmb-bar__book { display: inline-flex; } }
@media (min-width: 1240px) {
	.pmb-nav { display: block; }
	.pmb-bar__menu, .pmb-panel { display: none !important; }
	.pmb-brand { margin-right: 10px; }
	.pmb-nav { margin-right: auto; }
}
.pmb-menu { list-style: none; margin: 0; padding: 0; }
.pmb-menu--bar { display: flex; align-items: center; gap: 2px; }
.pmb-menu--bar > .pmb-menu__item { position: relative; display: flex; align-items: center; }
.pmb-menu--bar .pmb-menu__link { display: block; padding: 10px 9px; color: var(--ink); font-weight: 500; font-size: .98rem; text-decoration: none; white-space: nowrap; }
.pmb-menu--bar .pmb-menu__link:hover, .pmb-menu--bar .is-in > .pmb-menu__link { color: var(--indigo); text-decoration: underline; text-decoration-color: var(--cyan); text-decoration-thickness: 2px; text-underline-offset: .5em; }
.pmb-menu__toggle { display: inline-grid; place-items: center; width: 30px; height: 36px; margin-left: -6px; padding: 0; border: 0; background: none; color: var(--ink); cursor: pointer; }
.pmb-menu__toggle .pmb-ico { width: 16px; height: 16px; transition: transform .15s; }
.pmb-menu__toggle[aria-expanded="true"] .pmb-ico { transform: rotate(180deg); }
.pmb-menu--bar .pmb-sub { display: none; position: absolute; top: 100%; left: 0; min-width: 250px; margin: 0; padding: 10px 0; list-style: none; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--indigo); box-shadow: 0 14px 30px -18px rgba(30, 32, 52, .45); }
.pmb-menu--bar .pmb-sub::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 12px; } /* hover bridge */
.pmb-menu--bar .has-sub:hover > .pmb-sub, .pmb-menu--bar .has-sub.is-open > .pmb-sub { display: block; }
.pmb-sub a { display: block; padding: 8px 18px 8px 9px; margin-left: 0; color: var(--ink); text-decoration: none; white-space: nowrap; }
.pmb-menu--bar .pmb-sub a { padding-left: 9px; }
.pmb-sub a:hover, .pmb-sub a[aria-current] { color: var(--indigo); text-decoration: underline; }
.pmb-panel { border-top: 1px solid var(--line); background: #fff; max-height: calc(100vh - 76px); overflow-y: auto; }
.pmb-panel nav { max-width: 720px; margin: 0 auto; padding: 8px var(--gut); }
.pmb-menu--panel > li { position: relative; border-bottom: 1px solid var(--line); }
.pmb-menu--panel .pmb-menu__link { display: block; padding: 14px 52px 14px 0; color: var(--ink); font: 500 1.08rem/1.3 var(--sans); text-decoration: none; }
.pmb-menu--panel .pmb-menu__toggle { position: absolute; right: 0; top: 4px; width: 48px; height: 46px; margin: 0; }
.pmb-menu--panel .pmb-sub { display: none; list-style: none; margin: 0 0 12px; padding: 0 0 0 14px; border-left: 2px solid var(--cyan); }
.pmb-menu--panel .is-open > .pmb-sub { display: block; }
.pmb-menu--panel .pmb-sub a { padding: 9px 0; }
.pmb-panel__contact { display: flex; flex-wrap: wrap; gap: 12px 24px; max-width: 720px; margin: 0 auto; padding: 16px var(--gut) 24px; }
.pmb-panel__contact a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }

/* ---------- home: the storefront ---------- */
.pmb-front { padding: clamp(40px, 5vw, 64px) var(--gut) 0; background: linear-gradient(to bottom, var(--band) 0 calc(100% - var(--bar)), var(--ink) calc(100% - var(--bar)) calc(100% - var(--bar) + 1px), #fff calc(100% - var(--bar) + 1px)); }
.pmb-front__sign { max-width: 52rem; margin: 0 auto clamp(28px, 4vw, 48px); text-align: center; }
.pmb-fan--sign { width: 76px; height: 48px; margin: 0 auto 14px; }
.pmb-front__sign .pmb-kicker { justify-content: center; }
.pmb-front__h1 { margin-bottom: .35em; }
.pmb-front__sub { max-width: 40rem; margin: 0 auto; font-size: 1.2rem; line-height: 1.6; }
.pmb-front__bays { display: grid; gap: 28px; max-width: var(--wrap); margin: 0 auto; }
.pmb-bay--intro { text-align: center; }
.pmb-bay--intro p:first-child { max-width: 34rem; margin: 0 auto 1.2em; }
.pmb-bay__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 0; }
.pmb-bay--door { width: 100%; max-width: 480px; margin: 0 auto; }
.pmb-bay--hours { display: none; }
.pmb-door { position: relative; padding: 10px 10px 0; }
.pmb-door::before { content: ""; position: absolute; inset: 0 0 0 0; border: 1.5px solid var(--frame); border-bottom: 0; border-radius: var(--door); pointer-events: none; }
.pmb-door__stage { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--door); background: #E4E6F3; }
.pmb-door__slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.6s ease; }
.pmb-door__slide.is-on { opacity: 1; z-index: 1; }
.pmb-door__slide img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.pmb-banner__bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: var(--bar); padding: 0 2px; }
.pmb-banner__cap { margin: 0; color: var(--mute); font-size: .92rem; line-height: 1.35; }
.pmb-banner__ctl { display: flex; align-items: center; gap: 2px; flex: none; }
.pmb-banner__dot { display: inline-grid; place-items: center; width: 34px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; }
.pmb-banner__dot::before { content: ""; width: 18px; height: 9px; border: 1.5px solid var(--indigo); border-bottom: 0; border-radius: 18px 18px 0 0; }
.pmb-banner__dot[aria-current="true"]::before { background: var(--indigo); }
.pmb-banner__pause { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-left: 6px; padding: 0; border: 1.5px solid var(--ink); border-radius: 12px 12px 2px 2px; background: #fff; color: var(--ink); cursor: pointer; }
.pmb-banner__pause .pmb-ico { width: 18px; height: 18px; stroke-width: 2.2; }
.pmb-banner__pause .pmb-ico--play, .pmb-banner__pause.is-paused .pmb-ico--pause { display: none; }
.pmb-banner__pause.is-paused .pmb-ico--play { display: block; }
.pmb-banner__pause:hover { background: var(--band); }
@media (min-width: 1024px) {
	.pmb-front__bays { grid-template-columns: minmax(0, 1fr) minmax(0, 440px) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: end; }
	.pmb-bay--intro, .pmb-bay--hours { align-self: end; margin-bottom: calc(var(--bar) + 26px); }
	.pmb-bay--intro { text-align: left; }
	.pmb-bay--intro p:first-child { margin: 0 0 1.2em; font-size: 1.08rem; }
	.pmb-bay__btns { justify-content: flex-start; flex-direction: column; align-items: flex-start; }
	.pmb-bay--door { max-width: none; }
	.pmb-bay--hours { display: block; padding: 22px 22px 18px; background: #fff; border: 1px solid var(--line); border-radius: 18px 18px 0 0; }
}
.pmb-bay__h { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font: 700 .78rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--indigo); }
.pmb-bay__h .pmb-ico { width: 18px; height: 18px; }
.pmb-bay__addr { display: flex; gap: 8px; margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--line); font-size: .95rem; line-height: 1.45; }
.pmb-bay__addr .pmb-ico { color: var(--indigo); margin-top: 2px; width: 18px; height: 18px; }

/* ---------- hours ---------- */
.pmb-hours { width: 100%; border-collapse: collapse; font-size: .95rem; line-height: 1.35; }
.pmb-hours caption { text-align: left; padding: 0 0 8px; color: var(--ink); font-weight: 700; }
.pmb-hours th, .pmb-hours td { padding: 6px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.pmb-hours th { font-weight: 500; color: var(--ink); padding-right: 12px; }
.pmb-hours td { text-align: right; }
.pmb-hours td small { display: block; color: var(--mute); font-size: .82rem; }
.pmb-hours tr.is-closed td { color: var(--mute); }
.pmb-hours tr.is-today th, .pmb-hours tr.is-today td { font-weight: 700; color: var(--indigo); }
.pmb-hours tr.is-today th::before { content: ""; display: inline-block; width: 10px; height: 5px; margin: 0 6px 2px 0; border: 1.5px solid var(--cyan); border-bottom: 0; border-radius: 10px 10px 0 0; }

/* ---------- page head (inner pages): the band, with the photo standing on its bottom edge like a doorway ---------- */
.pmb-head { padding: clamp(28px, 4vw, 48px) max(var(--gut), calc((100% - var(--wrap)) / 2)) clamp(40px, 5vw, 64px); background: var(--band); border-bottom: 1px solid var(--ink); }
.pmb-head > * { max-width: 46rem; }
.pmb-head > .pmb-head__grid { max-width: none; }
.pmb-head--photo { padding-bottom: 0; }
.pmb-head__grid { display: grid; gap: 28px; }
.pmb-head__grid > .wp-block-group { max-width: none; margin: 0; }
.pmb-head__text { padding-bottom: clamp(28px, 4vw, 56px); }
.pmb-head__photo { max-width: 420px; margin: 0 auto !important; width: 100%; }
@media (min-width: 900px) {
	.pmb-head__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 400px); gap: clamp(32px, 6vw, 88px); align-items: end; }
	.pmb-head__photo { margin: 0 !important; }
}
.pmb-crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; list-style: none; margin: 0 0 22px; padding: 0; font-size: .9rem; color: var(--mute); }
.pmb-crumbs li + li::before { content: "/"; margin: 0 9px; color: var(--frame); }
.pmb-crumbs a { color: var(--mute); }
.pmb-crumbs a:hover { color: var(--indigo); }
.pmb-crumbs [aria-current] { color: var(--ink); }

/* ---------- photos: the doorway frame ---------- */
.pmb-arch, .wp-block-image.pmb-arch { position: relative; margin: 0; padding: 8px 8px 0; }
.pmb-arch::before { content: ""; position: absolute; inset: 0; border: 1.5px solid var(--frame); border-bottom: 0; border-radius: var(--door); pointer-events: none; }
.pmb-arch img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; border-radius: var(--door); }
.wp-block-image.pmb-arch figcaption, .pmb-arch figcaption { margin: 0; padding: 10px 0 0; border-top: 1px solid var(--ink); color: var(--mute); font-size: .9rem; line-height: 1.4; text-align: left; }
.pmb-head__photo.pmb-arch img { aspect-ratio: 4 / 4.6; }
.pmb-arch--wide img, .wp-block-image.pmb-arch--wide img { aspect-ratio: 16 / 11; }
.pmb-photos { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin: 1.8em 0 0; }
.pmb-photos > .wp-block-image { margin: 0; }

/* ---------- people (About) ---------- */
.pmb-people { display: grid; gap: 40px 56px; }
@media (min-width: 760px) { .pmb-people { grid-template-columns: 1fr 1fr; } }
.pmb-person .pmb-arch { max-width: 260px; margin-bottom: 18px; }
.pmb-person h3 { margin-bottom: .3em; }
.pmb-review--inline { margin: 1.8em 0; max-width: 40rem; }

/* ---------- service cards ---------- */
.pmb-cards { display: grid; gap: 30px 24px; grid-template-columns: 1fr; }
@media (max-width: 559px) { /* phones: photo beside the text, so five cards don't make five screens */
	.pmb-card { display: grid; grid-template-columns: 112px 1fr; gap: 0 18px; align-items: start; }
	.pmb-card .pmb-arch { grid-row: span 2; margin: 0; padding: 5px 5px 0; }
	.pmb-card h3, .pmb-card h2 { font-size: 1.2rem; }
}
@media (min-width: 560px) { .pmb-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .pmb-cards { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1140px) { .pmb-cards { grid-template-columns: repeat(5, 1fr); } }
.pmb-card { position: relative; }
.pmb-card .pmb-arch { margin-bottom: 16px; }
.pmb-card h3, .pmb-card h2 { margin: 0 0 .35em; font-size: 1.32rem; }
.pmb-card h3 a, .pmb-card h2 a { color: var(--ink); text-decoration: none; }
.pmb-card h3 a::after, .pmb-card h2 a::after { content: ""; position: absolute; inset: 0; } /* whole card is the link */
.pmb-card:hover h3 a, .pmb-card:hover h2 a { color: var(--indigo); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.pmb-card:focus-within { outline: 3px solid var(--indigo); outline-offset: 6px; }
.pmb-card a:focus-visible { outline: none; }
.pmb-card p { margin: 0; font-size: .98rem; line-height: 1.6; }

/* ---------- conditions ---------- */
.pmb-cond { display: grid; gap: 0 40px; list-style: none; margin: 0; padding: 0; }
@media (min-width: 760px) { .pmb-cond { grid-template-columns: 1fr 1fr; } }
.pmb-cond li { display: grid; gap: 2px; padding: 14px 0; border-top: 1px solid var(--line); }
.pmb-cond strong { font-family: var(--serif); font-weight: 600; font-size: 1.12rem; }
.pmb-cond span { color: var(--mute); font-size: .96rem; }

/* ---------- lists ---------- */
.pmb-checks { list-style: none; padding: 0; }
.pmb-checks li { position: relative; padding-left: 26px; margin-bottom: .45em; }
.pmb-checks li::before { content: ""; position: absolute; left: 0; top: .62em; width: 12px; height: 6px; border: 2px solid var(--cyan); border-bottom: 0; border-radius: 12px 12px 0 0; }
.pmb-steps { counter-reset: s; list-style: none; padding: 0; }
.pmb-steps li { counter-increment: s; position: relative; padding: 0 0 18px 52px; }
.pmb-steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; display: grid; place-items: center; width: 36px; height: 36px; border: 1.5px solid var(--indigo); border-radius: 14px 14px 2px 2px; color: var(--indigo); font: 600 1.05rem/1 var(--serif); }
.pmb-links { list-style: none; margin: 0; padding: 0; }
.pmb-links li { margin: 0 0 6px; }
.pmb-links a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.pmb-links .pmb-ico { width: 17px; height: 17px; }
.pmb-links--big a { font-size: 1.1rem; }

/* ---------- who we help ---------- */
.pmb-aud { display: grid; gap: 0 40px; }
@media (min-width: 760px) { .pmb-aud:not(.pmb-aud--rows) { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .pmb-aud:not(.pmb-aud--rows) { grid-template-columns: repeat(3, 1fr); } }
.pmb-aud__item { padding: 20px 0 22px; border-top: 1px solid var(--line); }
.pmb-aud__item h3 { font-size: 1.24rem; }
.pmb-aud__item p { font-size: .98rem; }
.pmb-aud--rows .pmb-aud__item { display: grid; gap: 22px; padding: 36px 0; scroll-margin-top: 100px; }
.pmb-aud--rows .pmb-aud__item:first-child { border-top: 0; padding-top: 0; }
@media (min-width: 800px) { .pmb-aud--rows .pmb-aud__item.has-photo { grid-template-columns: 280px 1fr; gap: 48px; align-items: center; } .pmb-aud--rows .pmb-aud__text { max-width: 40rem; } }
.pmb-arch--aud { max-width: 300px; }

/* ---------- credentials ---------- */
.pmb-creds { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .pmb-creds { grid-template-columns: 130px 1fr; gap: 40px; } }
.pmb-creds__badge { margin: 0; width: 120px; }
.pmb-creds__badge img { display: block; width: 120px; height: 120px; border-radius: 50%; }
.pmb-creds__list { display: grid; gap: 0; list-style: none; margin: 0; padding: 0; }
@media (min-width: 640px) { .pmb-creds__list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .pmb-creds__list { grid-template-columns: repeat(5, 1fr); } }
.pmb-creds__list li { display: grid; gap: 4px; align-content: start; padding: 14px 20px 14px 0; border-top: 1px solid var(--ink); }
@media (min-width: 1100px) { .pmb-creds__list li + li { padding-left: 20px; border-left: 1px solid var(--line); } }
.pmb-creds__list strong { font: 600 1.14rem/1.25 var(--serif); }
.pmb-creds__list span { color: var(--mute); font-size: .92rem; line-height: 1.45; }

/* ---------- reviews ---------- */
.pmb-reviews { display: grid; gap: 34px 40px; }
@media (min-width: 900px) { .pmb-reviews { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 760px) { .pmb-reviews--all { grid-template-columns: repeat(2, 1fr); } }
.pmb-review { margin: 0; padding-top: 18px; border-top: 2px solid var(--cyan); }
.pmb-review blockquote { margin: 0 0 14px; }
.pmb-review blockquote p { margin: 0; color: var(--ink); font: italic 400 1.1rem/1.6 var(--serif); }
.pmb-review figcaption { display: grid; gap: 2px; font-size: .92rem; }
.pmb-review figcaption span { color: var(--mute); }
.pmb-reviews__more { margin: 30px 0 0; font-weight: 600; }

/* ---------- photo strip ---------- */
.pmb-strip { display: grid; gap: 18px; grid-template-columns: repeat(2, 1fr); list-style: none; margin: 0; padding: 0; }
@media (min-width: 600px) { .pmb-strip { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .pmb-strip { grid-template-columns: repeat(5, 1fr); } }
.pmb-strip li:nth-child(n + 5) { display: none; }
@media (min-width: 600px) { .pmb-strip li:nth-child(n + 4) { display: none; } }
@media (min-width: 900px) { .pmb-strip li:nth-child(n) { display: block; } }
.pmb-strip a { display: block; }
.pmb-strip img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; border-radius: var(--door); }
.pmb-strip a:hover img { outline: 2px solid var(--indigo); outline-offset: 3px; }
.pmb-strip + p { margin: 26px 0 0; font-weight: 600; }

/* ---------- visit: map + address ---------- */
.pmb-visit { display: grid; gap: 32px; align-items: start; }
@media (min-width: 900px) { .pmb-visit { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 56px; } }
.pmb-map-wrap { margin: 0; }
.pmb-map { display: block; width: 100%; height: auto; border: 1px solid var(--line); }
.pmb-map-wrap figcaption { margin-top: 10px; color: var(--mute); font-size: .9rem; }
.pmb-addr { font-style: normal; margin: 0 0 12px; line-height: 1.55; }
.pmb-visit__tel { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.pmb-visit__tel .pmb-ico { color: var(--indigo); }
.pmb-visit__btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 0; }

/* ---------- call to action ---------- */
.pmb-cta { display: grid; gap: 22px; align-items: center; padding: clamp(28px, 4vw, 44px); background: var(--band); border-top: 1px solid var(--ink); }
@media (min-width: 900px) { .pmb-cta { grid-template-columns: auto 1fr auto; gap: 32px; } }
.pmb-fan--cta { width: 60px; height: 38px; }
.pmb-cta h2 { margin: 0 0 .25em; font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.1rem); }
.pmb-cta p { margin: 0; }
.pmb-cta__btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- side cards ---------- */
.pmb-aside, .pmb-ccard { padding: 24px 24px 20px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--indigo); border-radius: 18px 18px 0 0; }
.pmb-aside h2 { font-size: 1.4rem; }
.pmb-aside p:last-child { margin: 16px 0 0; }
.pmb-ccard__big { margin: 0 0 12px; font: 500 1.6rem/1.2 var(--serif); }
.pmb-ccard__big a { color: var(--ink); text-decoration: none; }
.pmb-ccard__big a:hover { text-decoration: underline; }
.pmb-ccard__list { list-style: none; margin: 0 0 1em; padding: 0; }
.pmb-ccard__list li { display: flex; gap: 10px; margin: 0 0 10px; overflow-wrap: anywhere; }
.pmb-ccard__list .pmb-ico { color: var(--indigo); margin-top: .3em; }
.pmb-dl a { display: inline-flex; gap: 12px; align-items: flex-start; padding: 16px 20px; border: 1.5px solid var(--indigo); border-radius: 14px 14px 2px 2px; text-decoration: none; }
.pmb-dl a:hover { background: var(--band); }
.pmb-dl .pmb-ico { width: 26px; height: 26px; margin-top: 2px; }
.pmb-dl span { display: grid; font-weight: 700; }
.pmb-dl small { color: var(--mute); font-weight: 400; font-size: .9rem; }
.pmb-note { padding: 16px 20px; border-left: 3px solid var(--cyan); background: var(--band); }

/* ---------- gallery + lightbox ---------- */
.pmb-filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 12px; }
.pmb-filter { min-height: 44px; padding: 8px 16px; border: 1.5px solid var(--indigo); border-radius: 12px 12px 2px 2px; background: #fff; color: var(--indigo); font: 600 .95rem/1.2 var(--sans); cursor: pointer; }
.pmb-filter[aria-pressed="true"] { background: var(--indigo); color: #fff; box-shadow: inset 0 -3px 0 var(--cyan); }
.pmb-count { color: var(--mute); font-size: .92rem; margin: 0 0 22px; }
.wp-block-gallery.pmb-gallery { display: grid !important; gap: 22px 18px !important; grid-template-columns: repeat(2, 1fr); margin: 0; }
@media (min-width: 640px) { .wp-block-gallery.pmb-gallery { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .wp-block-gallery.pmb-gallery { grid-template-columns: repeat(4, 1fr); } }
.wp-block-gallery.pmb-gallery figure.wp-block-image { width: auto !important; margin: 0 !important; display: block; }
.wp-block-gallery.pmb-gallery figure.wp-block-image[hidden] { display: none !important; }
.wp-block-gallery.pmb-gallery figure.wp-block-image a { display: block; height: auto !important; flex: none !important; }
.wp-block-gallery.pmb-gallery figure.wp-block-image img { width: 100% !important; height: auto !important; aspect-ratio: 4 / 5; object-fit: cover !important; object-position: 50% 30%; border-radius: var(--door); }
.wp-block-gallery.pmb-gallery figure.wp-block-image a:hover img { outline: 2px solid var(--indigo); outline-offset: 3px; }
.wp-block-gallery.has-nested-images.pmb-gallery figure.wp-block-image figcaption { position: static !important; background: none !important; color: var(--mute) !important; padding: 8px 0 0 !important; margin: 0 !important; font-size: .88rem !important; line-height: 1.35; text-align: left !important; text-shadow: none !important; max-height: none !important; overflow: visible !important; }
.wp-block-gallery.has-nested-images.pmb-gallery figure.wp-block-image figcaption::before { display: none !important; }
.pmb-lb { width: min(96vw, 860px); max-height: 96vh; padding: 0; border: 0; border-radius: 18px 18px 0 0; background: #fff; color: var(--ink); box-shadow: 0 20px 60px rgba(0, 0, 0, .4); }
.pmb-lb::backdrop { background: rgba(20, 22, 48, .84); }
.pmb-lb__fig { margin: 0; padding: 14px 14px 0; text-align: center; }
.pmb-lb__fig img { display: block; max-width: 100%; max-height: calc(96vh - 140px); width: auto; margin: 0 auto; }
.pmb-lb__fig figcaption { padding: 10px 4px 0; color: var(--mute); font-size: .92rem; }
.pmb-lb__bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px 14px; }
.pmb-lb__n { color: var(--mute); font-size: .92rem; }
.pmb-lb__btns { display: flex; gap: 8px; }
.pmb-lb__btn { display: inline-flex; align-items: center; justify-content: center; min-width: 52px; min-height: 48px; padding: 0 14px; border: 1.5px solid var(--ink); border-radius: 12px 12px 2px 2px; background: #fff; color: var(--ink); font: 600 .98rem/1 var(--sans); cursor: pointer; }
.pmb-lb__btn:hover { background: var(--band); }

/* ---------- blog ---------- */
.pmb-posts { display: grid; gap: 40px 32px; list-style: none; margin: 0; padding: 0; }
@media (min-width: 700px) { .pmb-posts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1060px) { .pmb-posts { grid-template-columns: repeat(3, 1fr); } }
.pmb-posts .wp-block-post-featured-image { margin: 0 0 16px; }
.pmb-posts .wp-block-post-featured-image img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 16px 16px 0 0; }
.pmb-posts .wp-block-post-title { margin: 0 0 .3em; font-size: 1.3rem; }
.pmb-posts .wp-block-post-title a { color: var(--ink); text-decoration: none; }
.pmb-posts .wp-block-post-title a:hover { color: var(--indigo); text-decoration: underline; }
.pmb-posts .wp-block-post-date { color: var(--mute); font-size: .9rem; margin-bottom: .4em; }
.pmb-posts .wp-block-post-excerpt p { margin: 0 0 .4em; }
.pmb-posts .wp-block-post-excerpt__more-link { font-weight: 600; }
.wp-block-query-pagination { display: flex; gap: 18px; margin-top: 40px; font-weight: 600; }
.pmb-post-img { margin: 0 0 28px; max-width: 44rem; }
.pmb-post-img img { display: block; width: 100%; height: auto; border-radius: 18px 18px 0 0; }
.pmb-head .wp-block-post-date { color: var(--mute); margin-top: 6px; }
.pmb-prose img { height: auto; }
.pmb-prose .wp-block-image, .pmb-prose figure { margin: 1.4em 0; }
.pmb-prose h2 { margin-top: 1.4em; }

/* ---------- forms (Ninja Forms, free) ---------- */
.pmb-form { max-width: 46rem; }
.pmb-nf .nf-form-fields-required { color: var(--mute); font-size: .92rem; margin-bottom: 16px; }
.pmb-nf .nf-field-container { margin-bottom: 20px; }
.pmb-nf .nf-field-label label, .pmb-nf .nf-field-label .nf-label-span, .pmb-nf legend { display: block; margin-bottom: 7px; color: var(--ink); font: 600 1rem/1.35 var(--sans); }
.pmb-nf .ninja-forms-req-symbol, .pmb-nf .nf-form-fields-required .ninja-forms-req-symbol { color: var(--err); }
.pmb-nf input[type="text"], .pmb-nf input[type="email"], .pmb-nf input[type="tel"], .pmb-nf textarea, .pmb-nf select {
	width: 100%; min-height: 50px; padding: 11px 13px; border: 1.5px solid #80849F; border-radius: 6px 6px 2px 2px; background: #fff; color: var(--ink); font: 400 1.05rem/1.4 var(--sans); }
.pmb-nf textarea { min-height: 130px; resize: vertical; }
.pmb-nf input:focus, .pmb-nf textarea:focus, .pmb-nf select:focus { outline: 3px solid var(--indigo); outline-offset: 1px; border-color: var(--indigo); }
.pmb-nf .nf-field-description { color: var(--mute); font-size: .92rem; margin-top: 6px; }
.pmb-nf .nf-field-description p { margin: 0; }
.pmb-nf .field-wrap .nf-field-description { order: 20; }
.pmb-nf ul { list-style: none; margin: 0; padding: 0; }
.pmb-nf .listradio-wrap li, .pmb-nf .listcheckbox-wrap li { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; }
.pmb-nf .listradio-wrap li label, .pmb-nf .listcheckbox-wrap li label { margin: 0; font-weight: 400; color: var(--text); padding: 6px 0; cursor: pointer; }
.pmb-nf input[type="radio"], .pmb-nf input[type="checkbox"] { width: 20px; height: 20px; margin: 0; accent-color: var(--indigo); flex: none; }
.pmb-nf .listradio-wrap input[type="radio"], .pmb-nf .listcheckbox-wrap input[type="checkbox"] { width: 20px !important; height: 20px !important; }
.pmb-nf .nf-error-msg, .pmb-nf .nf-error .nf-error-msg { color: var(--err); font-size: .95rem; font-weight: 600; margin-top: 6px; }
.pmb-nf .nf-error input, .pmb-nf .nf-error textarea { border-color: var(--err); }
.pmb-nf .nf-form-errors .nf-error-msg { padding: 10px 14px; border-left: 3px solid var(--err); background: #FBEFEE; margin-bottom: 14px; }
.pmb-nf .nf-pass .ninja-forms-field { border-color: #80849F; }
.pmb-nf .nf-field-element:after { display: none !important; } /* NF's tick/cross icons */
@media (min-width: 640px) { .pmb-nf .nf-form-content nf-fields-wrap { display: flex; flex-wrap: wrap; column-gap: 20px; } .pmb-nf nf-field { flex: 1 1 100%; } .pmb-nf nf-field:has(.pmb-half) { flex: 1 1 calc(50% - 10px); } }
.pmb-thanks { padding: 30px 28px; background: var(--band); border-top: 3px solid var(--indigo); border-radius: 18px 18px 0 0; }
.pmb-thanks:focus { outline: none; }
.pmb-thanks__check { width: 52px; height: 52px; display: grid; place-items: center; border: 2px solid var(--indigo); border-radius: 50%; color: var(--indigo); margin-bottom: 16px; }
.pmb-thanks__check .pmb-ico { width: 28px; height: 28px; stroke-width: 2.4; }
.pmb-thanks ol { padding-left: 1.3em; }
.pmb-confetti { position: fixed; inset: 0; z-index: 90; pointer-events: none; }

/* ---------- footer (the one dark band) ---------- */
.pmb-foot { background: var(--night); color: #E3E5F4; font-size: .97rem; }
.pmb-foot a { color: #fff; text-decoration: none; }
.pmb-foot a:hover { text-decoration: underline; }
.pmb-foot :focus-visible { outline-color: #fff; }
.pmb-foot__in { display: grid; gap: 36px; max-width: var(--wrap); margin: 0 auto; padding: 64px var(--gut) 40px; }
@media (min-width: 760px) { .pmb-foot__in { grid-template-columns: 1.3fr 1fr; } }
@media (min-width: 1100px) { .pmb-foot__in { grid-template-columns: 1.25fr 1.1fr .9fr .9fr; } }
.pmb-fan--foot { width: 44px; height: 28px; margin-bottom: 12px; }
.pmb-foot__name { margin: 0 0 16px; color: #fff; font: 500 1.5rem/1.2 var(--serif); }
.pmb-foot__name span { display: block; margin-top: 6px; color: #C9CCE6; font: 400 .92rem/1.4 var(--sans); }
.pmb-foot__facts { list-style: none; margin: 0; padding: 0; }
.pmb-foot__facts li { display: flex; gap: 10px; margin: 0 0 10px; overflow-wrap: anywhere; }
.pmb-foot__facts .pmb-ico { color: var(--cyan); margin-top: .25em; width: 18px; height: 18px; }
.pmb-foot__h { margin: 0 0 14px; color: #fff; font: 700 .78rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.pmb-foot__col ul { list-style: none; margin: 0; padding: 0; }
.pmb-foot__col li { margin: 0 0 8px; }
.pmb-foot .pmb-hours th, .pmb-foot .pmb-hours td { border-color: rgba(255, 255, 255, .16); color: #E3E5F4; }
.pmb-foot .pmb-hours tr.is-closed td, .pmb-foot .pmb-hours td small { color: #BFC2DF; }
.pmb-foot .pmb-hours tr.is-today th, .pmb-foot .pmb-hours tr.is-today td { color: #fff; }
.pmb-foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; max-width: var(--wrap); margin: 0 auto; padding: 18px var(--gut) 26px; border-top: 1px solid rgba(255, 255, 255, .16); color: #C9CCE6; font-size: .9rem; }
.pmb-foot__base p { margin: 0; }
.pmb-credit a { text-decoration: underline; text-underline-offset: .2em; }

/* ---------- phones: the bottom bar (exactly two buttons) ---------- */
.pmb-callbar { display: none; }
@media (max-width: 767px) {
	.pmb-callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1.7fr; gap: 8px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 16px -10px rgba(30, 32, 52, .4); }
	.pmb-callbar a { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 48px; border: 1.5px solid var(--indigo); border-radius: 12px 12px 2px 2px; font: 600 1rem/1.1 var(--sans); text-decoration: none; text-align: center; }
	.pmb-foot .pmb-callbar__call { background: #fff; color: var(--indigo); } /* inside the footer: beat its white links */
	.pmb-foot .pmb-callbar__book { background: var(--indigo); color: #fff; box-shadow: inset 0 -3px 0 var(--cyan); }
	.pmb-foot .pmb-callbar a:focus-visible { outline-color: var(--indigo); }
	.pmb-callbar .pmb-ico { width: 18px; height: 18px; }
	.pmb-foot { padding-bottom: 76px; }
	html { scroll-padding-bottom: 84px; } /* keyboard focus never lands under the bar */
}

/* ---------- the one quiet fade-in ---------- */
.pmb-rise { opacity: 0; transform: translateY(14px); transition: opacity .7s ease-out, transform .7s ease-out; }
.pmb-rise.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.pmb-rise { opacity: 1; transform: none; transition: none; }
	.pmb-door__slide { transition: none; }
	html { scroll-behavior: auto; }
}

/* ---------- 404 / misc ---------- */
.wp-block-separator { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.wp-block-table table { border-collapse: collapse; width: 100%; }
.wp-block-table td, .wp-block-table th { border: 1px solid var(--line); padding: 8px 10px; }
a[href^="tel:"] { white-space: nowrap; }
