/*
Theme Name: Cradle (Chiropractic For Pregnancy)
Theme URI: https://chiropracticforpregnancy.com/
Author: Dependent Media
Author URI: https://dependentmedia.com/
Description: Block theme for Chiropractic For Pregnancy (Lundquist & Patterson Chiropractic Center, Old Towne Orange CA; rebuild 2026-11, Sierra direction). Light pages and the logo's own colours: the denim of its "Pregnancy.com" bar (the home banner panel, buttons, links) and the rose of its heart (marks only). Photos are "cradled": square at the top, rounded underneath like the arms of the mother in the logo, with a thin rose cradle line below. Oval buttons (the curve of the bump). Hedvig Letters Serif headings, Rubik text. Only the home banner moves, with its own pause button.
Version: 1.0.0
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 8.1
License: GPL-2.0-or-later
Text Domain: cfp-cradle
*/

/* ---------- fonts (self-hosted, latin; Google Fonts builds trimmed by tools/make-fonts.py, OFL) ---------- */
@font-face { font-family: "Hedvig Letters Serif"; src: url(assets/fonts/hedvig-letters-serif-latin.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: Rubik; src: url(assets/fonts/rubik-latin-text.woff2) format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; }

:root {
	--denim: #41659e;        /* the logo's bar: buttons, links, the home banner panel */
	--denim-deep: #2e4b78;   /* hover, headings on light */
	--heading: #24385a;
	--rose: #cc7298;         /* the logo's heart: marks and lines only (never text) */
	--rose-soft: #ebb3cb;    /* the cradle line on denim */
	--ink: #1f2737;
	--text: #3b4252;
	--muted: #586073;
	--blush: #fbf3f6;
	--line: #e7d8df;
	--field: #a9b1bf;
	--white: #fff;
	--wide: 1200px;
	--gut: 24px;
	--r-photo: 4px 4px 50% 50% / 4px 4px 26% 26%;
	--f-display: "Hedvig Letters Serif", "Iowan Old Style", Georgia, serif;
	--f-body: Rubik, system-ui, -apple-system, "Segoe UI", sans-serif;
	--arc: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 12'%3E%3Cpath d='M2.5 2.5Q15 16 27.5 2.5' fill='none' stroke='%23cc7298' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E");
}
@media (max-width: 640px) { :root { --gut: 16px; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 104px; }
body { margin: 0; background: var(--white); color: var(--text); font-family: var(--f-body); font-size: 1.0625rem; line-height: 1.65; overflow-x: clip; }
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--denim-deep); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--ink); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--denim-deep); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 400; color: var(--heading); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.005em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.25rem); }
h2 { font-size: clamp(1.7rem, 1.25rem + 1.5vw, 2.35rem); }
h3 { font-size: 1.35rem; }
h4 { font-family: var(--f-body); font-weight: 600; font-size: 1.0625rem; }
p, ul, ol { margin: 0 0 1em; }
strong { font-weight: 600; color: var(--ink); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.cfp-skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--denim-deep); color: #fff; padding: 10px 16px; border-radius: 4px; }
.cfp-skip:focus { top: 12px; color: #fff; }
.cfp-main { display: block; }
.cfp-main > .wp-block-post-content > *:first-child, .cfp-main > *:first-child { margin-top: 0; }

/* the label mark: a short rose arc (the curve of the bump) */
.cfp-kicker { font: 500 .8125rem/1.3 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--denim-deep); margin: 0 0 1rem; display: flex; align-items: center; gap: .7em; }
.cfp-kicker::before { content: ""; flex: none; width: 30px; height: 12px; background: var(--arc) no-repeat center / contain; }
.cfp-lead { font-size: 1.1875rem; line-height: 1.6; color: var(--ink); max-width: 44em; }

/* ---------- sections ---------- */
.cfp-sec { padding: clamp(56px, 4rem + 2vw, 96px) max(var(--gut), calc((100% - var(--wide)) / 2)); margin: 0; }
.cfp-sec--tight { padding-top: 8px; }
.cfp-sec--blush { background: var(--blush); }
.cfp-sec--line { border-top: 1px solid var(--line); }
.cfp-sec > .wp-block-heading:first-child, .cfp-sec > .cfp-kicker:first-child + .wp-block-heading { max-width: 26em; }
.cfp-sec p, .cfp-sec li { max-width: 42em; }
.cfp-sec .wp-block-list { padding-left: 1.2em; }
.cfp-sec .wp-block-list li { margin-bottom: .35em; }
.cfp-sec .wp-block-list li::marker { color: var(--rose); }
.cfp-head { padding-top: 28px; padding-bottom: clamp(32px, 2rem + 1vw, 48px); }
.cfp-head h1 { max-width: 20em; }
.cfp-intro { display: grid; gap: 8px 64px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .cfp-intro { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: start; } .cfp-intro > .wp-block-heading { margin-top: 0; } }
.cfp-sec-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 8px 32px; margin-bottom: 32px; }
.cfp-sec-head > * { margin-bottom: 0; }
.cfp-more { font-weight: 500; white-space: nowrap; display: inline-flex; align-items: center; gap: .4em; }
.cfp-more .cfp-ico { width: 18px; height: 18px; }

/* breadcrumbs */
.cfp-crumbs ol { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: .875rem; color: var(--muted); }
.cfp-crumbs li + li::before { content: "/"; margin: 0 .6em; color: var(--field); }
.cfp-crumbs a { color: var(--muted); }

/* ---------- icons ---------- */
.cfp-ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.cfp-ico--play { fill: currentColor; stroke: none; }

/* ---------- buttons: ovals (the curve of the bump), solid denim, no shadow ---------- */
.cfp-btn, .wp-block-button__link, .cfp-nf .nf-element[type="submit"], .cfp-nf input[type="button"] {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 54px; padding: .8em 2.15em;
	border: 2px solid var(--denim); border-radius: 50%; background: var(--denim); color: #fff; font: 500 1rem/1.2 var(--f-body);
	letter-spacing: .01em; text-decoration: none; text-align: center; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s;
}
.cfp-btn:hover, .wp-block-button__link:hover, .cfp-nf .nf-element[type="submit"]:hover { background: var(--denim-deep); border-color: var(--denim-deep); color: #fff; text-decoration: none; }
.cfp-btn .cfp-ico { width: 18px; height: 18px; }
.cfp-btn--line, .is-style-outline .wp-block-button__link, .cfp-btn-line .wp-block-button__link { background: transparent; color: var(--denim-deep); }
.cfp-btn--line:hover, .cfp-btn-line .wp-block-button__link:hover { background: var(--denim-deep); color: #fff; }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px 14px; margin: 24px 0 0; }
.wp-block-button { margin: 0; }

/* ---------- header (sticky): logo, menu, phone as text, Book an Appointment ---------- */
.cfp-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.cfp-header.is-scrolled { box-shadow: 0 6px 18px -14px rgba(31, 39, 55, .5); }
.cfp-bar__in { max-width: calc(var(--wide) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); display: flex; align-items: center; gap: 22px; min-height: 84px; }
.cfp-brand { flex: none; display: block; line-height: 0; }
.cfp-brand img { width: 186px; height: auto; }
.cfp-nav { flex: 1 1 auto; display: none; }
.cfp-bar__cta { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.cfp-bar__tel { display: none; align-items: center; gap: 8px; font-weight: 500; color: var(--ink); text-decoration: none; white-space: nowrap; }
.cfp-bar__tel .cfp-ico { color: var(--denim); }
.cfp-bar__tel:hover span { text-decoration: underline; }
.cfp-bar__book { display: none; min-height: 48px; padding: .7em 1.8em; white-space: nowrap; }
.cfp-bar__menu { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; border: 1.5px solid var(--field); border-radius: 22px; background: #fff; color: var(--ink); font: 500 .9375rem/1 var(--f-body); cursor: pointer; }
.cfp-bar__menu .cfp-ico--close, .cfp-bar__menu[aria-expanded="true"] .cfp-ico--menu { display: none; }
.cfp-bar__menu[aria-expanded="true"] .cfp-ico--close { display: block; }
@media (min-width: 768px) {
	.cfp-bar__tel, .cfp-bar__book { display: inline-flex; }
}
@media (min-width: 1240px) {
	.cfp-nav { display: block; }
	.cfp-bar__menu { display: none; }
	.cfp-panel { display: none !important; }
}
@media (max-width: 767px) { .cfp-bar__in { min-height: 70px; } .cfp-brand img { width: 150px; } }

/* desktop menu: small dropdowns, text under the parent's text, opening to the right, with a hover bridge */
.cfp-menu { list-style: none; margin: 0; padding: 0; }
.cfp-menu--bar { display: flex; justify-content: center; gap: 4px 20px; }
.cfp-menu--bar > .cfp-menu__item { position: relative; display: flex; align-items: center; }
.cfp-menu--bar .cfp-menu__link { display: block; padding: 30px 0 28px; color: var(--ink); font-weight: 500; font-size: .96875rem; text-decoration: none; white-space: nowrap; border-bottom: 2px solid transparent; }
.cfp-menu--bar .cfp-menu__link:hover, .cfp-menu--bar .is-in > .cfp-menu__link { border-bottom-color: var(--rose); }
.cfp-menu--bar .cfp-menu__link[aria-current="page"] { border-bottom-color: var(--rose); }
.cfp-menu__toggle { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 32px; margin-left: 1px; padding: 0; border: 0; background: none; color: var(--ink); cursor: pointer; border-radius: 4px; }
.cfp-menu__toggle .cfp-ico { width: 16px; height: 16px; transition: transform .2s; }
.cfp-menu__toggle[aria-expanded="true"] .cfp-ico { transform: rotate(180deg); }
.cfp-menu--bar .cfp-sub { position: absolute; left: -18px; top: 100%; min-width: 260px; margin: 0; padding: 10px 0; list-style: none; background: #fff; border: 1px solid var(--line); border-top: 2px solid var(--rose); border-radius: 0 0 8px 8px; box-shadow: 0 18px 30px -22px rgba(31, 39, 55, .55); display: none; }
.cfp-menu--bar .cfp-sub::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.cfp-menu--bar .has-sub:hover > .cfp-sub, .cfp-menu--bar .has-sub.is-open > .cfp-sub { display: block; }
.cfp-menu--bar .cfp-sub a { display: block; padding: 9px 18px; color: var(--ink); text-decoration: none; font-size: .9375rem; white-space: nowrap; }
.cfp-menu--bar .cfp-sub a:hover, .cfp-menu--bar .cfp-sub a[aria-current="page"] { background: var(--blush); color: var(--denim-deep); }

/* phone/tablet menu panel */
.cfp-panel { border-top: 1px solid var(--line); background: #fff; max-height: calc(100vh - 70px); overflow-y: auto; padding: 8px var(--gut) 24px; }
.cfp-menu--panel > li { border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; }
.cfp-menu--panel .cfp-menu__link { flex: 1; display: block; padding: 14px 0; color: var(--ink); font: 400 1.25rem/1.3 var(--f-display); text-decoration: none; }
.cfp-menu--panel .cfp-menu__toggle { width: 48px; height: 48px; }
.cfp-menu--panel .cfp-sub { display: none; flex-basis: 100%; list-style: none; margin: 0 0 12px; padding: 0 0 0 14px; border-left: 2px solid var(--rose); }
.cfp-menu--panel .is-open > .cfp-sub { display: block; }
.cfp-menu--panel .cfp-sub a { display: block; padding: 9px 0; color: var(--text); text-decoration: none; }
.cfp-menu--panel a[aria-current="page"] { color: var(--denim-deep); font-weight: 500; }
.cfp-panel__contact { display: flex; flex-wrap: wrap; gap: 12px 24px; margin: 18px 0 0; }
.cfp-panel__contact a { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }

/* ---------- the cradle: photos square on top, rounded underneath, with a thin rose cradle line below ---------- */
/* The line is two shadows that follow the photo's own curve: the section's background colour 8 px down, the rose 10 px down,
   so only a 2 px rose crescent shows under the bowl (none at the straight sides). --bg is set per section. */
.cfp-sec { --bg: var(--white); }
.cfp-sec--blush { --bg: var(--blush); }
.cfp-cradle { position: relative; margin: 0 0 22px; }
.cfp-cradle img, .wp-block-image.cfp-photo img { display: block; width: 100%; border-radius: var(--r-photo); object-fit: cover; box-shadow: 0 8px 0 0 var(--bg, #fff), 0 10px 0 0 var(--rose); }
.cfp-cradle--card img { aspect-ratio: 4 / 3; }
.cfp-cradle--contain { background: var(--blush); border-radius: var(--r-photo); box-shadow: 0 8px 0 0 var(--bg, #fff), 0 10px 0 0 var(--rose); }
.cfp-cradle--contain img { object-fit: contain; padding: 14px 18% 18px; background: var(--blush); box-shadow: none; }
.cfp-sec--blush .cfp-cradle--contain, .cfp-sec--blush .cfp-cradle--contain img { background: #fff; }
.wp-block-image.cfp-photo { margin: 0 0 30px; }
.wp-block-image.cfp-photo figcaption { margin-top: 20px; font-size: .9375rem; color: var(--muted); }
.cfp-photos3 { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); margin-top: 36px; }
@media (min-width: 640px) { .cfp-photos3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cfp-photos3 .wp-block-image img { aspect-ratio: 4 / 5; }
.cfp-w-small { max-width: 280px; }

/* ---------- home banner: the denim panel (the logo's bar), headline left, the cradled photo right ---------- */
.cfp-hero-sec { padding-top: 22px; padding-bottom: 72px; }
.cfp-hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; background: var(--denim); color: #fff; border-radius: 6px; padding: 40px 28px 36px; }
@media (min-width: 900px) { .cfp-hero { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 56px; padding: 64px 64px 52px; align-items: center; } }
@media (max-width: 640px) { .cfp-hero-sec { padding: 0 0 56px; } .cfp-hero { border-radius: 0; padding: 36px var(--gut) 32px; } }
.cfp-hero .cfp-kicker { color: #fff; }
.cfp-hero .cfp-kicker::before { filter: brightness(1.25) saturate(.8); }
.cfp-hero h1 { color: #fff; font-size: clamp(2.2rem, 1.5rem + 2.6vw, 3.5rem); line-height: 1.06; max-width: 13em; }
.cfp-hero p { color: #eef2f8; }
.cfp-hero .cfp-lead { color: #fff; font-size: 1.1875rem; }
.cfp-hero .wp-block-button__link { background: #fff; border-color: #fff; color: var(--denim-deep); }
.cfp-hero .wp-block-button__link:hover { background: var(--blush); border-color: var(--blush); color: var(--ink); }
.cfp-hero .cfp-btn-line .wp-block-button__link { background: transparent; border-color: #fff; color: #fff; }
.cfp-hero .cfp-btn-line .wp-block-button__link:hover { background: #fff; color: var(--denim-deep); }
.cfp-hero :focus-visible { outline-color: #fff; }
.cfp-hero__creds { list-style: none; margin: 28px 0 0; padding: 20px 0 0; border-top: 1px solid rgba(255, 255, 255, .35); display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .9375rem; }
.cfp-hero__creds li { display: flex; align-items: center; gap: 8px; color: #fff; }
.cfp-hero__creds li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--rose-soft); }
.cfp-banner { justify-self: center; width: 100%; max-width: 440px; }
.cfp-banner__stage { margin: 0; aspect-ratio: 4 / 5; border-radius: var(--r-photo); box-shadow: 0 10px 0 0 var(--denim), 0 12px 0 0 var(--rose-soft); }
.cfp-banner__slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.6s ease; }
.cfp-banner__slide.is-on { opacity: 1; }
.cfp-banner__slide img { width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, 50% 50%); border-radius: var(--r-photo); box-shadow: none; }
.cfp-banner__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px 18px; margin-top: 30px; }
.cfp-banner__cap { margin: 0; font-size: .875rem; line-height: 1.4; color: #fff; min-height: 2.8em; display: flex; align-items: center; }
.cfp-banner__ctl { display: flex; align-items: center; gap: 4px; flex: none; }
.cfp-banner__dot { width: 32px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; position: relative; }
.cfp-banner__dot::before { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 11px; margin: -5.5px; border-radius: 50%; border: 2px solid #fff; }
.cfp-banner__dot[aria-current="true"]::before { background: #fff; }
.cfp-banner__pause { width: 44px; height: 44px; margin-left: 6px; border: 2px solid #fff; border-radius: 50%; background: transparent; color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.cfp-banner__pause .cfp-ico { width: 18px; height: 18px; stroke-width: 2.4; }
.cfp-banner__pause .cfp-ico--play, .cfp-banner__pause.is-paused .cfp-ico--pause { display: none; }
.cfp-banner__pause.is-paused .cfp-ico--play { display: block; }
.cfp-banner__pause:hover, .cfp-banner__dot:hover::before { background: rgba(255, 255, 255, .25); }

/* ---------- care cards ---------- */
.cfp-svc { display: grid; gap: 44px 28px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .cfp-svc { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .cfp-svc { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.cfp-svc__card { position: relative; }
.cfp-svc__h { font-size: 1.375rem; margin: 6px 0 8px; }
.cfp-svc__h a { color: var(--heading); text-decoration: none; }
.cfp-svc__h a::after { content: ""; position: absolute; inset: 0; }
.cfp-svc__card:hover .cfp-svc__h a { text-decoration: underline; text-decoration-thickness: 1px; }
.cfp-svc__card:focus-within { outline: 3px solid var(--denim-deep); outline-offset: 8px; border-radius: 6px; }
.cfp-svc__card:focus-within a:focus-visible { outline: none; }
.cfp-svc__card p { font-size: 1rem; margin: 0; }

/* ---------- who we care for ---------- */
.cfp-aud { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 30px 40px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .cfp-aud { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .cfp-aud { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cfp-aud__item { padding-top: 22px; background: var(--arc) no-repeat 0 0 / 30px 12px; }
.cfp-aud__h { font-size: 1.3rem; margin-bottom: .35em; }
.cfp-aud__item p { margin: 0; font-size: 1rem; }

/* ---------- doctor + credentials ---------- */
.cfp-doc { display: grid; gap: 32px 56px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 900px) { .cfp-doc { grid-template-columns: 300px minmax(0, 1fr); } }
.cfp-doc .cfp-cradle img { aspect-ratio: 267 / 420; max-width: 300px; }
.cfp-creds { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 22px 32px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .cfp-creds { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .cfp-creds { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cfp-creds li { border-top: 1px solid var(--line); padding-top: 14px; max-width: none; }
.cfp-creds strong { display: block; font: 400 1.25rem/1.25 var(--f-display); color: var(--denim-deep); margin-bottom: 4px; }
.cfp-creds span { font-size: .96875rem; }
.cfp-person { margin: 0; display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 20px; align-items: center; }
.cfp-person .cfp-cradle { margin: 0 0 10px; }
.cfp-person img { aspect-ratio: 4 / 5; }
.cfp-person__name { display: block; font: 400 1.25rem/1.25 var(--f-display); color: var(--heading); }
.cfp-person__role { display: block; font-size: .9375rem; color: var(--muted); }

/* ---------- reviews and testimonials ---------- */
.cfp-reviews, .cfp-quotes { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 800px) { .cfp-reviews { grid-template-columns: repeat(3, minmax(0, 1fr)); } .cfp-quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .cfp-quotes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cfp-review, .cfp-quote { margin: 0; padding: 26px 26px 22px; background: #fff; border: 1px solid var(--line); border-radius: 6px 6px 24px 24px; display: flex; flex-direction: column; }
.cfp-sec:not(.cfp-sec--blush) .cfp-review, .cfp-sec:not(.cfp-sec--blush) .cfp-quote { background: var(--blush); border-color: transparent; }
.cfp-review blockquote, .cfp-quote blockquote { margin: 0 0 14px; flex: 1; }
.cfp-review blockquote::before, .cfp-quote blockquote::before { content: "“"; display: block; height: .55em; font: 400 3.4rem/1 var(--f-display); color: var(--rose); }
.cfp-review p, .cfp-quote p { margin: 0; font-size: 1rem; color: var(--ink); }
.cfp-review figcaption, .cfp-quote figcaption { font-size: .9rem; color: var(--muted); }
.cfp-reviews__more { margin: 24px 0 0; font-weight: 500; }

/* ---------- office gallery + accessible lightbox ---------- */
.cfp-gallery { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .cfp-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .cfp-gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); } .cfp-gallery--strip { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.cfp-gallery li { max-width: none; }
.cfp-gallery figure { margin: 0; }
.cfp-gallery__a { position: relative; display: block; border-radius: 4px 4px 50% 50% / 4px 4px 18% 18%; }
.cfp-gallery__a img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 4px 4px 50% 50% / 4px 4px 18% 18%; }
.cfp-gallery__zoom { position: absolute; right: 10px; top: 10px; width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--denim-deep); display: flex; align-items: center; justify-content: center; }
.cfp-gallery__zoom .cfp-ico { width: 18px; height: 18px; }
.cfp-gallery figcaption { margin-top: 10px; font-size: .875rem; line-height: 1.4; color: var(--muted); }
.cfp-lb { position: fixed; inset: 0; z-index: 200; background: rgba(22, 30, 46, .94); display: flex; align-items: center; justify-content: center; padding: 64px 72px; }
.cfp-lb[hidden] { display: none; }
.cfp-lb__fig { margin: 0; display: flex; flex-direction: column; align-items: center; max-width: 100%; max-height: 100%; }
.cfp-lb__img { max-width: min(1000px, 100%); max-height: calc(100vh - 190px); width: auto; height: auto; border-radius: 4px; background: #fff; }
.cfp-lb__cap { margin-top: 14px; color: #fff; text-align: center; font-size: 1rem; max-width: 46em; }
.cfp-lb__count { display: block; font-size: .875rem; color: #d7deea; }
.cfp-lb__btn { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 2px solid #fff; background: rgba(22, 30, 46, .6); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.cfp-lb__btn:hover { background: #fff; color: var(--denim-deep); }
.cfp-lb__btn:focus-visible { outline-color: #fff; }
.cfp-lb__close { top: 16px; right: 16px; }
.cfp-lb__prev { left: 12px; top: 50%; margin-top: -26px; }
.cfp-lb__next { right: 12px; top: 50%; margin-top: -26px; }
@media (max-width: 640px) { .cfp-lb { padding: 72px 12px 96px; } .cfp-lb__prev, .cfp-lb__next { top: auto; bottom: 20px; margin: 0; } .cfp-lb__prev { left: calc(50% - 64px); } .cfp-lb__next { right: calc(50% - 64px); } }

/* ---------- videos (load only on play) ---------- */
.cfp-videos { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .cfp-videos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .cfp-videos { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cfp-videos li { max-width: none; }
.cfp-video { margin: 0; }
.cfp-video__btn, .cfp-video iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 6px; }
.cfp-video__btn { position: relative; padding: 0; overflow: hidden; background: var(--ink); cursor: pointer; }
.cfp-video__btn img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.cfp-video__play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px; border-radius: 50%; background: var(--denim); color: #fff; display: flex; align-items: center; justify-content: center; border: 3px solid #fff; }
.cfp-video__btn:hover .cfp-video__play { background: var(--denim-deep); }
.cfp-video figcaption { margin-top: 10px; font-size: .9375rem; color: var(--ink); }

/* ---------- cards: hours, contact ---------- */
.cfp-card { background: #fff; border: 1px solid var(--line); border-radius: 6px 6px 28px 28px; padding: 28px 28px 24px; }
.cfp-sec:not(.cfp-sec--blush) .cfp-card { background: var(--blush); border-color: transparent; }
.cfp-hcard__h { font-size: 1.5rem; }
.cfp-hcard__line, .cfp-ccard__list li { display: flex; gap: 12px; align-items: flex-start; margin: 14px 0 0; }
.cfp-hcard__line .cfp-ico, .cfp-ccard__list .cfp-ico, .cfp-ccard__big .cfp-ico { color: var(--denim); margin-top: 3px; }
.cfp-ccard__big { display: flex; align-items: center; gap: 12px; margin: 0 0 6px; font: 400 1.75rem/1.2 var(--f-display); }
.cfp-ccard__big a { color: var(--heading); text-decoration: none; }
.cfp-ccard__big a:hover { text-decoration: underline; }
.cfp-ccard__list { list-style: none; margin: 0; padding: 0; }
.cfp-ccard__list li { max-width: none; }
.cfp-hours { border-collapse: collapse; font-size: .9688rem; width: 100%; max-width: 330px; }
.cfp-hours th, .cfp-hours td { text-align: left; padding: 5px 0; border-bottom: 1px solid var(--line); font-weight: 400; vertical-align: top; }
.cfp-hours th { width: 3.4em; font-weight: 500; color: var(--ink); }
.cfp-hours abbr { text-decoration: none; }
.cfp-hours .is-closed td { color: var(--muted); }

/* ---------- map, towns, links, paperwork ---------- */
.cfp-map-fig { margin: 0; }
.cfp-map { display: block; width: 100%; height: auto; border-radius: 6px 6px 32px 32px; }
.cfp-map-fig figcaption { margin-top: 12px; font-size: .875rem; color: var(--muted); }
.cfp-towns { list-style: none; margin: 8px 0 18px; padding: 0; columns: 2; column-gap: 28px; }
.cfp-towns li { padding: 6px 0; border-bottom: 1px solid var(--line); break-inside: avoid; }
.cfp-area { display: grid; gap: 36px 64px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 900px) { .cfp-area { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.cfp-links { list-style: none; margin: 0; padding: 0; }
.cfp-links--big li { border-bottom: 1px solid var(--line); }
.cfp-links--big a { display: block; padding: 14px 0; font: 400 1.25rem/1.3 var(--f-display); text-decoration: none; }
.cfp-links--big a:hover { text-decoration: underline; }
.cfp-paper { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) { .cfp-paper { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cfp-paper li { max-width: none; }
.cfp-paper a { display: flex; gap: 14px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 6px 6px 22px 22px; text-decoration: none; color: var(--text); height: 100%; }
.cfp-paper a:hover { border-color: var(--denim); }
.cfp-paper .cfp-ico { width: 26px; height: 26px; color: var(--denim); }
.cfp-paper strong { display: block; color: var(--denim-deep); font-weight: 600; text-decoration: underline; text-underline-offset: .18em; }

/* core columns used by build-pages.php */
.wp-block-columns.cfp-split { display: grid; gap: 32px 64px; grid-template-columns: minmax(0, 1fr); margin: 0; align-items: start; }
@media (min-width: 900px) { .wp-block-columns.cfp-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .wp-block-columns.cfp-split--wide { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } .wp-block-columns.cfp-split--form { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } .wp-block-columns.cfp-split--narrow { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } }
.wp-block-column > *:last-child { margin-bottom: 0; }
.cfp-note { font-size: .9375rem; color: var(--muted); }
.cfp-aside { border-left: 3px solid var(--rose); padding: 4px 0 4px 20px; }
.cfp-fineprint { font-size: .875rem; color: var(--muted); max-width: 60em; }
.cfp-steps { counter-reset: s; list-style: none !important; padding: 0 !important; display: grid; gap: 22px; }
.cfp-steps li { counter-increment: s; position: relative; padding-left: 56px; max-width: 40em; }
.cfp-steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 38px; height: 38px; border-radius: 50%; background: var(--blush); border: 1.5px solid var(--rose); color: var(--denim-deep); font: 400 1.15rem/35px var(--f-display); text-align: center; }
.cfp-steps li::marker { content: none; }

/* people, covers, quotes, booking */
.cfp-people { display: grid; gap: 24px 40px; grid-template-columns: minmax(0, 1fr); margin: 28px 0; }
@media (min-width: 700px) { .cfp-people { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cfp-team { display: grid; gap: 40px 48px; grid-template-columns: minmax(0, 1fr); margin-top: 12px; }
@media (min-width: 800px) { .cfp-team { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cfp-team__item p { margin: 14px 0 0; font-size: 1rem; }
.cfp-covers { display: grid; grid-template-columns: repeat(2, minmax(0, 220px)); gap: 24px; }
.cfp-covers .cfp-cradle img { aspect-ratio: 1; padding: 10px; }
.wp-block-quote.cfp-quote--wide { margin: 8px 0 22px; padding: 30px 32px 26px; background: #fff; border: 0; border-radius: 6px 6px 28px 28px; max-width: 48em; }
.wp-block-quote.cfp-quote--wide::before { content: "“"; display: block; height: .55em; font: 400 3.6rem/1 var(--f-display); color: var(--rose); }
.wp-block-quote.cfp-quote--wide p { font-size: 1.0625rem; color: var(--ink); }
.wp-block-quote.cfp-quote--wide cite { font-style: normal; font-size: .9375rem; color: var(--muted); }
.cfp-book-online { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; padding: 0 0 30px; margin-bottom: 30px; border-bottom: 1px solid var(--line); }
.cfp-book-online .cfp-note { margin: 0; max-width: 28em; }
.cfp-more-line { margin-top: 26px; }

/* closing band */
.cfp-cta { display: grid; gap: 24px 56px; grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 900px) { .cfp-cta { grid-template-columns: minmax(0, 1fr) auto; } }
.cfp-cta h2 { margin-bottom: .3em; }
.cfp-cta p { margin: 0; }
.cfp-cta__btns { display: flex; flex-wrap: wrap; gap: 12px 14px; }

/* ---------- blog (stories and articles) ---------- */
.cfp-posts { display: grid; gap: 22px 28px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) { .cfp-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .cfp-posts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cfp-post { position: relative; padding: 22px 24px; border: 1px solid var(--line); border-radius: 6px 6px 24px 24px; }
.cfp-post:hover { border-color: var(--denim); }
.cfp-post:focus-within { outline: 3px solid var(--denim-deep); outline-offset: 3px; }
.cfp-post__meta { margin: 0 0 6px; font-size: .8125rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.cfp-post__h { font-size: 1.3rem; margin: 0 0 8px; }
.cfp-post__h a { color: var(--heading); text-decoration: none; }
.cfp-post__h a::after { content: ""; position: absolute; inset: 0; }
.cfp-post__h a:focus-visible { outline: none; }
.cfp-post__ex { margin: 0; font-size: .96875rem; }
.cfp-pages ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 36px 0 0; }
.cfp-pages a, .cfp-pages span { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; padding: 0 12px; border: 1px solid var(--line); border-radius: 22px; text-decoration: none; }
.cfp-pages .current { background: var(--denim); color: #fff; border-color: var(--denim); }
.cfp-h1-page { font-size: .55em; color: var(--muted); }
.cfp-article { max-width: none; }
.cfp-article > * { max-width: 46rem; }
.cfp-article .wp-block-post-title { font-size: clamp(1.9rem, 1.3rem + 2vw, 2.75rem); }
.cfp-post-meta { color: var(--muted); font-size: .9375rem; margin-bottom: 28px; }
.cfp-prose { overflow-wrap: break-word; }
.cfp-prose a { overflow-wrap: anywhere; } /* a post links a long bare URL */
.cfp-prose img { border-radius: 4px; height: auto; }
.cfp-prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 6px; }
.cfp-prose h2, .cfp-prose h3 { margin-top: 1.4em; }
.cfp-post-note { margin-top: 36px; padding: 18px 22px; background: var(--blush); border-radius: 6px 6px 20px 20px; font-size: .9375rem; }
.cfp-post-note p { margin: 0; }

/* ---------- forms (Ninja Forms, opinionated styles off) ---------- */
.cfp-nf .nf-form-fields-required { font-size: .9375rem; color: var(--muted); margin-bottom: 14px; }
.cfp-nf .nf-form-content { padding: 0; max-width: none; }
.cfp-nf nf-fields-wrap { display: flex; flex-wrap: wrap; gap: 0 20px; }
.cfp-nf nf-field { flex: 1 1 100%; }
.cfp-nf nf-field:has(.cfp-half) { flex-basis: calc(50% - 10px); }
@media (max-width: 640px) { .cfp-nf nf-field:has(.cfp-half) { flex-basis: 100%; } }
.cfp-nf .nf-field-container { margin-bottom: 20px; }
.cfp-nf .field-wrap { display: flex; flex-direction: column; }
.cfp-nf .nf-field-label { order: 0; margin-bottom: 6px; }
.cfp-nf .nf-field-label label, .cfp-nf .nf-field-label .nf-label-span, .cfp-nf legend { font-weight: 500; color: var(--ink); font-size: 1rem; }
.cfp-nf .nf-field-element { order: 1; }
.cfp-nf .nf-field-description { order: 20; font-size: .9rem; color: var(--muted); margin-top: 6px; }
.cfp-nf .ninja-forms-req-symbol { color: #a3446f; }
.cfp-nf input.ninja-forms-field:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="button"]), .cfp-nf textarea, .cfp-nf select {
	width: 100%; min-height: 50px; padding: 11px 14px; border: 1.5px solid var(--field); border-radius: 8px; background: #fff; color: var(--ink); font: 400 1rem/1.4 var(--f-body);
}
.cfp-nf textarea { min-height: 130px; resize: vertical; }
.cfp-nf input:focus-visible, .cfp-nf textarea:focus-visible, .cfp-nf select:focus-visible { outline: 3px solid var(--denim-deep); outline-offset: 1px; border-color: var(--denim-deep); }
.cfp-nf .list-radio-wrap ul, .cfp-nf .list-checkbox-wrap ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.cfp-nf .list-radio-wrap li, .cfp-nf .list-checkbox-wrap li { display: flex; align-items: center; gap: 8px; margin: 0 !important; }
.cfp-nf .list-radio-wrap input, .cfp-nf .list-checkbox-wrap input { width: 20px !important; height: 20px; margin: 0 !important; accent-color: var(--denim); }
.cfp-nf .list-radio-wrap label, .cfp-nf .list-checkbox-wrap label { font-weight: 400; margin: 0 !important; color: var(--text); }
.cfp-nf fieldset { border: 0; margin: 0; padding: 0; }
.cfp-nf .nf-error-msg, .cfp-nf .nf-error .nf-error-msg { color: #b3261e; font-size: .9375rem; margin-top: 6px; }
.cfp-nf .nf-error input, .cfp-nf .nf-error textarea { border-color: #b3261e; }
.cfp-nf .nf-form-errors .nf-error-msg { margin: 0 0 16px; padding: 12px 16px; border-left: 4px solid #b3261e; background: #fdf0f0; }
.cfp-nf .nf-after-field { order: 30; }
.cfp-nf .nf-field-element input[type="submit"] { width: auto; margin-top: 4px; }
.cfp-nf .nf-response-msg { margin: 0; }
.cfp-thanks { padding: 30px 30px 26px; border-radius: 6px 6px 28px 28px; background: var(--blush); }
.cfp-thanks:focus { outline: none; }
.cfp-thanks__check { width: 54px; height: 54px; border-radius: 50%; background: var(--denim); color: #fff; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.cfp-thanks__check .cfp-ico { width: 28px; height: 28px; stroke-width: 2.4; }
.cfp-thanks h2 { font-size: 1.8rem; }
.cfp-thanks ol { padding-left: 1.2em; }
.cfp-confetti { position: fixed; inset: 0; pointer-events: none; z-index: 300; }

/* ---------- footer: light (blush), the one dark band is the home banner panel ---------- */
.cfp-foot { background: var(--blush); border-top: 1px solid var(--line); color: var(--text); font-size: .96875rem; margin-top: 0; }
.cfp-foot a { color: var(--ink); }
.cfp-foot a:hover { color: var(--denim-deep); }
.cfp-foot__in { max-width: calc(var(--wide) + 2 * var(--gut)); margin: 0 auto; padding: 64px var(--gut) 40px; display: grid; gap: 36px 40px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) { .cfp-foot__in { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .cfp-foot__in { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); } }
.cfp-foot__logo { margin: 0 0 14px; line-height: 0; }
.cfp-foot__logo img { width: 220px; }
.cfp-foot__name { margin: 0 0 14px; color: var(--ink); }
.cfp-foot__facts { list-style: none; margin: 0; padding: 0; }
.cfp-foot__facts li { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 10px; }
.cfp-foot__facts .cfp-ico { color: var(--denim); margin-top: 3px; }
.cfp-foot__h { font: 600 .8125rem/1.3 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); margin: 6px 0 14px; display: flex; align-items: center; gap: .7em; }
.cfp-foot__h::before { content: ""; width: 26px; height: 10px; background: var(--arc) no-repeat center / contain; }
.cfp-foot__col ul { list-style: none; margin: 0; padding: 0; }
.cfp-foot__col li { margin: 0 0 9px; }
.cfp-foot__col a { text-decoration: none; }
.cfp-foot__col a:hover { text-decoration: underline; }
.cfp-hours--foot th, .cfp-hours--foot td { border-color: var(--line); }
.cfp-foot__base { max-width: calc(var(--wide) + 2 * var(--gut)); margin: 0 auto; padding: 20px var(--gut) 28px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 6px 26px; font-size: .875rem; color: var(--muted); }
.cfp-foot__base p { margin: 0; }
.cfp-foot__base a { color: var(--muted); }
.cfp-foot__social { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.cfp-foot__base a.cfp-credit, .cfp-foot__base a[href="https://dependentmedia.com/"] { color: var(--ink); text-decoration: underline; text-underline-offset: .18em; }
.cfp-credit-line { margin-left: auto !important; }

/* ---------- phones: the bottom bar with exactly Call and Book an Appointment ---------- */
.cfp-callbar { display: none; }
@media (max-width: 767px) {
	html { scroll-padding-top: 88px; scroll-padding-bottom: calc(96px + env(safe-area-inset-bottom)); } /* keyboard focus never lands under the bar */
	body { padding-bottom: calc(78px + env(safe-area-inset-bottom)); }
	.cfp-callbar { display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 20px -16px rgba(31, 39, 55, .5); }
	.cfp-callbar a { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; border-radius: 50%; font: 500 1rem/1.2 var(--f-body); text-decoration: none; border: 2px solid var(--denim); }
	.cfp-callbar .cfp-callbar__call { flex: 0 0 38%; background: #fff; color: var(--denim-deep); }
	.cfp-callbar .cfp-callbar__book { background: var(--denim); color: #fff; }
	.cfp-callbar .cfp-ico { width: 18px; height: 18px; }
}

/* ---------- the one quiet fade-in ---------- */
.cfp-js .cfp-rise { opacity: 0; transform: translateY(14px); transition: opacity .8s ease, transform .8s ease; }
.cfp-js .cfp-rise.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.cfp-banner__slide { transition: none; }
	.cfp-js .cfp-rise { opacity: 1; transform: none; transition: none; }
	* { scroll-behavior: auto !important; }
}

/* print: no header chrome, no bar */
@media print { .cfp-header, .cfp-callbar, .cfp-foot__col, .cfp-banner__bar { display: none !important; } }
