/*
Theme Name: Milton L. Payne D.C.: Filmroom
Theme URI: https://drmiltonpayne.com/
Author: Dependent Media
Author URI: https://dependentmedia.com/
Description: Clean, photo-led block theme for Milton L. Payne, D.C. (Reseda and Los Angeles, CA). Built 2026-11 to the Sierra direction: light pages, the practice's own X-rays and before/after photos, one rotating before/after banner, a sticky header with phone and appointment request, a phone call bar. Details from the trade: the red curve that marks a spine on a film, a ruler grid, clipped film corners. No page builder.
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 8.1
License: GPL-2.0-or-later
Text Domain: mlp-filmroom
*/

@font-face { font-family: "Fjalla One"; src: url(assets/fonts/fjalla-one-latin-400.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Work Sans"; src: url(assets/fonts/work-sans-latin-var.woff2) format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
	--ink: #14161a;
	--text: #2b3036;
	--mute: #555c64;
	--line: #d5dade;
	--keyline: #c3cad0;
	--frame: #8a929a;
	--film: #f1f3f5;
	--primed: #f1f3f5;
	--white: #fff;
	--red: #b3171a;
	--red-dark: #8e1013;
	--gut: 16px;
	--wide: 1240px;
	--pad: max(var(--gut), calc((100% - var(--wide)) / 2));
	--sec: clamp(56px, 7vw, 104px);
	--display: "Fjalla One", "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
	--body: "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--head-h: 64px;
	--cut: 14px;
	--curve: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 12'%3E%3Cpath d='M1 8.5C7 8.5 8 2 14 2s7 6.5 13 6.5' fill='none' stroke='%23b3171a' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E");
}
@media (min-width: 600px) { :root { --gut: 24px; } }
@media (min-width: 1000px) { :root { --gut: 40px; --head-h: 80px; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 16px); }
body { margin: 0; background: var(--white); color: var(--text); font: 400 1.0625rem/1.65 var(--body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
@media (min-width: 1000px) { body { font-size: 1.125rem; } }
.wp-site-blocks { padding: 0; }
img { max-width: 100%; height: auto; }
figure { margin: 0; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; color: var(--ink); line-height: 1.12; letter-spacing: .012em; margin: 0 0 .45em; text-wrap: balance; }
h1 { font-size: clamp(2.35rem, 1.6rem + 2.6vw, 3.6rem); }
h2 { font-size: clamp(1.85rem, 1.4rem + 1.6vw, 2.6rem); }
h3 { font-size: clamp(1.4rem, 1.25rem + .5vw, 1.65rem); }
h4 { font-family: var(--body); font-weight: 600; font-size: 1.05rem; letter-spacing: 0; }
p { margin: 0 0 1em; }
a { color: var(--red); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
strong { font-weight: 600; color: var(--ink); }
ul, ol { padding-left: 1.2em; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.mlp-skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; font-weight: 600; text-decoration: none; }
.mlp-skip:focus { top: 12px; color: #fff; outline-color: var(--white); }

/* The spine curve: the red line drawn on a film, used before every small label. */
.mlp-kicker { font: 600 .8125rem/1.3 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin: 0 0 1rem; display: flex; align-items: center; gap: 12px; }
.mlp-kicker::before { content: ""; flex: none; width: 28px; height: 12px; background: var(--curve) center / contain no-repeat; }
.mlp-lead { font-size: clamp(1.125rem, 1.05rem + .35vw, 1.3rem); line-height: 1.55; color: var(--text); max-width: 62ch; }
.mlp-mute { color: var(--mute); font-size: .95rem; }

/* ---------- buttons: a film's clipped corner ---------- */
.mlp-btn, .wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 50px; padding: .7rem 1.5rem; font: 400 1.0625rem/1.2 var(--display); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; border: 0; border-radius: 0; cursor: pointer; clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%); transition: background-color .15s, color .15s; }
.mlp-btn--red, .wp-block-button__link { background: var(--red); color: #fff; }
.mlp-btn--red:hover, .wp-block-button__link:hover { background: var(--ink); color: #fff; }
.mlp-btn--ink, .is-style-ink .wp-block-button__link { background: var(--ink); color: #fff; }
.mlp-btn--ink:hover, .is-style-ink .wp-block-button__link:hover { background: var(--red); color: #fff; }
.mlp-btn:focus-visible, .wp-block-button__link:focus-visible { outline: 3px solid #fff; outline-offset: -6px; box-shadow: 0 0 0 3px var(--ink); }
.mlp-btn .mlp-ico { width: 20px; height: 20px; }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.6rem 0 0; }
.mlp-ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.mlp-ico--play { fill: currentColor; stroke: none; }

/* ---------- header (sticky) ---------- */
.mlp-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.mlp-header.is-scrolled { box-shadow: 0 6px 20px rgba(20, 22, 26, .08); }
.mlp-bar__in { display: flex; align-items: center; gap: 18px; max-width: calc(1440px + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); height: var(--head-h); }
.mlp-brand { display: block; flex: none; line-height: 0; }
.mlp-brand img { width: 168px; height: auto; }
@media (min-width: 1000px) { .mlp-brand img { width: 196px; } }
@media (min-width: 1440px) { .mlp-brand img { width: 210px; } }
.mlp-nav { display: none; margin-left: auto; }
.mlp-bar__cta { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.mlp-bar__tel { display: none; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; text-decoration: none; white-space: nowrap; font-size: 1.0625rem; }
.mlp-bar__tel .mlp-ico { color: var(--red); width: 20px; height: 20px; }
.mlp-bar__tel:hover { color: var(--red); }
.mlp-bar__quote { display: none; min-height: 46px; padding: .6rem 1.15rem; white-space: nowrap; }
.mlp-bar__long { display: none; }
@media (min-width: 1440px) { .mlp-bar__long { display: inline; } .mlp-bar__short { display: none; } }
.mlp-bar__menu { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; border: 1px solid var(--frame); border-radius: 0; background: var(--white); color: var(--ink); font: 600 .95rem var(--body); cursor: pointer; }
.mlp-bar__menu .mlp-ico--close, .mlp-bar__menu[aria-expanded="true"] .mlp-ico--menu { display: none; }
.mlp-bar__menu[aria-expanded="true"] .mlp-ico--close { display: block; }
@media (min-width: 768px) {
	.mlp-bar__tel, .mlp-bar__quote { display: inline-flex; }
}
@media (min-width: 1280px) {
	.mlp-nav { display: block; }
	.mlp-bar__cta { margin-left: 8px; }
	.mlp-bar__menu, .mlp-panel { display: none !important; }
}

.mlp-menu { list-style: none; margin: 0; padding: 0; }
.mlp-menu--bar { display: flex; align-items: center; }
.mlp-menu--bar > .mlp-menu__item { position: relative; display: flex; align-items: center; }
.mlp-menu--bar .mlp-menu__link { display: block; padding: 10px 8px; color: var(--ink); font-weight: 500; font-size: 1rem; text-decoration: none; white-space: nowrap; }
.mlp-menu--bar .has-sub > .mlp-menu__link { padding-right: 0; }
.mlp-menu--bar .mlp-menu__link:hover, .mlp-menu--bar .is-in > .mlp-menu__link { color: var(--red); }
.mlp-menu--bar .mlp-menu__link[aria-current="page"], .mlp-menu--bar .is-in > .mlp-menu__link { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }
.mlp-menu__toggle { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 32px; padding: 0; border: 0; background: none; color: var(--ink); cursor: pointer; }
.mlp-menu__toggle .mlp-ico { width: 18px; height: 18px; transition: transform .15s; }
.mlp-menu__toggle[aria-expanded="true"] .mlp-ico { transform: rotate(180deg); }
.mlp-menu--bar .mlp-sub { position: absolute; top: calc(100% + 6px); left: -7px; min-width: 250px; padding: 10px 0; margin: 0; list-style: none; background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--red); box-shadow: 0 14px 30px rgba(20, 22, 26, .12); display: none; }
.mlp-menu--bar .mlp-sub::before { content: ""; position: absolute; left: 0; right: 0; top: -13px; height: 13px; } /* hover bridge */
.mlp-menu--bar .has-sub:hover > .mlp-sub, .mlp-menu--bar .has-sub.is-open > .mlp-sub { display: block; }
.mlp-menu--bar .mlp-sub a { display: block; padding: 8px 16px; color: var(--ink); text-decoration: none; font-size: .975rem; white-space: nowrap; }
.mlp-menu--bar .mlp-sub a:hover, .mlp-menu--bar .mlp-sub a[aria-current="page"] { color: var(--red); background: var(--primed); }
.mlp-sub .is-group a { font-weight: 600; margin-top: 4px; }
.mlp-sub .is-sub a { padding-left: 30px; font-size: .94rem; }

.mlp-panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(20, 22, 26, .12); max-height: calc(100vh - var(--head-h)); overflow-y: auto; padding: 8px var(--gut) 24px; }
.mlp-menu--panel > .mlp-menu__item { display: flex; flex-wrap: wrap; align-items: center; border-bottom: 1px solid var(--line); }
.mlp-menu--panel .mlp-menu__link { flex: 1; display: block; padding: 14px 0; color: var(--ink); font-size: 1.125rem; font-weight: 500; text-decoration: none; }
.mlp-menu--panel .mlp-menu__link[aria-current="page"] { color: var(--red); }
.mlp-menu--panel .mlp-menu__toggle { width: 48px; height: 48px; }
.mlp-menu--panel .mlp-sub { flex-basis: 100%; list-style: none; margin: 0; padding: 0 0 12px; display: none; }
.mlp-menu--panel .is-open > .mlp-sub { display: block; }
.mlp-menu--panel .mlp-sub a { display: block; padding: 10px 0 10px 14px; color: var(--ink); text-decoration: none; }
.mlp-menu--panel .mlp-sub .is-sub a { padding-left: 32px; }
.mlp-panel__contact { display: flex; flex-direction: column; gap: 4px; margin: 18px 0 0; }
.mlp-panel__contact a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--ink); font-weight: 600; text-decoration: none; }
.mlp-panel__contact .mlp-ico { color: var(--red); }

/* Phones: exactly two buttons fixed at the bottom. Nothing else floats. */
.mlp-callbar { display: none; }
@media (max-width: 767px) {
	.mlp-callbar { display: grid; grid-template-columns: 1fr 1.7fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding-bottom: env(safe-area-inset-bottom); background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -6px 18px rgba(20, 22, 26, .1); }
	.mlp-callbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; font: 600 1.0625rem var(--body); text-decoration: none; }
	.mlp-foot .mlp-callbar__call { color: var(--ink); background: var(--white); }
	.mlp-foot .mlp-callbar__call .mlp-ico { color: var(--red); }
	.mlp-foot .mlp-callbar__quote { color: #fff; background: var(--red); }
	.mlp-foot .mlp-callbar a:focus-visible { outline: 3px solid var(--ink); outline-offset: -6px; }
	.mlp-foot .mlp-callbar__quote:focus-visible { outline-color: #fff; }
	body { padding-bottom: calc(56px + env(safe-area-inset-bottom)); }
}

/* ---------- sections ---------- */
.mlp-main { display: block; }
.mlp-sec { padding: var(--sec) var(--pad); }
.mlp-sec--tight { padding-top: calc(var(--sec) * .55); padding-bottom: calc(var(--sec) * .55); }
.mlp-sec--primed, .mlp-sec--film { background: var(--film); }
.mlp-sec--rule { border-top: 1px solid var(--line); }
.mlp-sec > h2 { max-width: 24ch; }
.mlp-sec__intro { display: grid; gap: 8px 64px; margin-bottom: clamp(28px, 4vw, 48px); }
.mlp-sec__intro > * { margin: 0; }
@media (min-width: 1000px) {
	.mlp-sec__intro { grid-template-columns: 1fr 1fr; align-items: end; }
	.mlp-sec__intro .mlp-kicker { grid-column: 1 / -1; }
}
.mlp-prose > * { max-width: 70ch; }
.mlp-prose > h2, .mlp-prose > h3 { margin-top: 1.6em; }
.mlp-prose > h2:first-child, .mlp-prose > h3:first-child, .mlp-prose > .mlp-kicker + h2 { margin-top: 0; }
.mlp-prose li { margin-bottom: .35em; }

.mlp-split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px 72px; align-items: center; }
@media (min-width: 900px) {
	.mlp-split { grid-template-columns: 1fr 1fr; }
	.mlp-split--flip > :first-child { order: 2; }
	.mlp-split--top { align-items: start; }
}
.mlp-split > .wp-block-group > :last-child { margin-bottom: 0; }

/* Page head */
.mlp-head { padding-top: clamp(28px, 4vw, 56px); padding-bottom: clamp(24px, 3vw, 40px); }
.mlp-head + .mlp-sec:not(.mlp-sec--primed) { padding-top: clamp(16px, 2.5vw, 40px); }
.mlp-head h1 { max-width: 20ch; }
.mlp-head .mlp-lead { margin-bottom: 0; }
.mlp-crumbs ol { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: .9rem; color: var(--mute); }
.mlp-crumbs li + li::before { content: "/"; margin: 0 .55em; color: var(--frame); }
.mlp-crumbs a { color: var(--mute); }
.mlp-crumbs a:hover { color: var(--red); }

/* Photos: the film sheet. A thin ink rule above, the clipped corner on feature photos. */
.mlp-frame, .mlp-fig { position: relative; margin: 0; }
.mlp-frame img, .mlp-fig img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 35%; background: #0d0f12; border-top: 4px solid var(--ink); clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%); }
.mlp-fig--whole img, .mlp-fig--book img { aspect-ratio: auto; object-fit: contain; }
.mlp-fig--book img { border-top: 0; clip-path: none; background: none; max-width: 260px; }
.mlp-fig--film img { aspect-ratio: 7 / 8; }
.mlp-fig figcaption, .mlp-frame figcaption { margin-top: 10px; font-size: .9rem; color: var(--mute); }
.mlp-trim { position: relative; }
.mlp-trio, .mlp-pair, .mlp-quad { display: grid; gap: 16px; margin-top: clamp(24px, 4vw, 40px); }
.mlp-pair { grid-template-columns: 1fr 1fr; margin-top: 0; }
.mlp-quad { grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .mlp-quad { grid-template-columns: repeat(4, 1fr); } }
.mlp-trio .wp-block-image, .mlp-pair .wp-block-image, .mlp-quad .wp-block-image { margin: 0; }
@media (min-width: 600px) { .mlp-trio { grid-template-columns: repeat(3, 1fr); } }

/* ---------- home hero: headline left, the before/after banner right ---------- */
.mlp-hero { display: block; padding: 0; }
.mlp-hero__text { padding: 32px var(--gut) 8px; }
.mlp-hero__text h1 { font-size: clamp(2.4rem, 1.6rem + 2.6vw, 3.7rem); max-width: 15ch; margin-bottom: .35em; }
.mlp-hero__text .mlp-lead { max-width: 46ch; }
.mlp-hero__facts { margin: 22px 0 0; font-size: .98rem; line-height: 1.7; color: var(--mute); }
.mlp-hero__media { padding: 8px var(--gut) 12px; }
@media (min-width: 1000px) {
	.mlp-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 56px; align-items: center; padding: 40px var(--pad) 56px; }
	.mlp-hero__text, .mlp-hero__media { padding: 0; }
}
.mlp-banner { position: relative; }
.mlp-banner__stage { position: relative; aspect-ratio: 7 / 4; overflow: hidden; background: #0d0f12; border-top: 4px solid var(--red); clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 0 100%); }
.mlp-banner__slide { position: absolute; inset: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; opacity: 0; transition: opacity 1.6s ease; }
.mlp-banner__slide.is-on { opacity: 1; }
.mlp-banner__half { position: relative; display: block; min-width: 0; overflow: hidden; }
.mlp-banner__half img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; display: block; }
.mlp-chip { position: absolute; left: 0; top: 0; padding: 5px 12px 4px; background: var(--ink); color: #fff; font: 400 .9rem/1.2 var(--display); letter-spacing: .12em; text-transform: uppercase; }
.mlp-chip--red { background: var(--red); }
.mlp-banner__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 0 0; }
.mlp-banner__cap { margin: 0; font-size: .92rem; color: var(--mute); }
.mlp-banner__ctl { display: flex; align-items: center; gap: 2px; flex: none; }
.mlp-banner__dot { width: 32px; height: 32px; padding: 0; border: 0; background: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.mlp-banner__dot::before { content: ""; width: 12px; height: 4px; background: var(--keyline); }
.mlp-banner__dot[aria-current="true"]::before { background: var(--red); height: 4px; width: 22px; }
.mlp-banner__pause { margin-left: 8px; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--frame); border-radius: 0; background: var(--white); color: var(--ink); cursor: pointer; }
.mlp-banner__pause .mlp-ico--play, .mlp-banner__pause.is-paused .mlp-ico--pause { display: none; }
.mlp-banner__pause.is-paused .mlp-ico--play { display: block; }
.mlp-banner__pause:hover { border-color: var(--ink); }

/* ---------- cards ---------- */
.mlp-svc { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px 32px; }
@media (min-width: 700px) { .mlp-svc { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .mlp-svc { grid-template-columns: repeat(4, 1fr); } }
.mlp-svc__h { margin: 22px 0 10px; font-size: clamp(1.3rem, 1.2rem + .3vw, 1.5rem); }
.mlp-svc__more { margin: 0; font-weight: 600; }
.mlp-svc__more a { display: inline-flex; align-items: center; gap: 6px; }
.mlp-svc__more .mlp-ico { width: 18px; height: 18px; }
.mlp-svc__h a, .mlp-aud__h a { color: var(--ink); text-decoration: none; }
.mlp-svc__h a:hover { color: var(--red); text-decoration: underline; }
.mlp-svc__card > p { max-width: 52ch; }
.mlp-svc__for { margin: 0; font-weight: 500; }
.mlp-svc__for span:first-child { font: 600 .8125rem var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); margin-right: .35em; }
.mlp-svc__for span[aria-hidden] { color: var(--frame); }

.mlp-aud { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px 36px; }
@media (min-width: 800px) { .mlp-aud:not(.mlp-aud--rows) { grid-template-columns: repeat(3, 1fr); } }
.mlp-aud__h { margin: 0 0 10px; }
.mlp-aud__item { border-top: 4px solid var(--ink); padding-top: 18px; }
.mlp-aud__n { font: 400 2.6rem/1 var(--display); color: var(--red); margin: 0 0 6px; letter-spacing: .02em; }
.mlp-aud--rows { gap: clamp(56px, 7vw, 96px); }
@media (min-width: 900px) {
	.mlp-aud--rows .mlp-aud__item { display: grid; grid-template-columns: 140px 1fr; gap: 48px; align-items: start; }
	.mlp-aud--rows .mlp-aud__n { font-size: 5.5rem; }
	.mlp-aud--rows .mlp-aud__h { margin-top: 0; }
}
.mlp-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.mlp-links a { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; font-weight: 600; text-decoration: none; }
.mlp-links a:hover { text-decoration: underline; }
.mlp-links .mlp-ico { width: 18px; height: 18px; }
.mlp-links--big a { font-size: 1.15rem; }

.mlp-creds { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px 0; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.mlp-creds li { padding: 4px 22px; border-left: 3px solid var(--red); display: flex; flex-direction: column; gap: 6px; }
.mlp-creds strong { font: 400 1.9rem/1.1 var(--display); letter-spacing: .02em; color: var(--ink); }
.mlp-creds span { font-size: .95rem; color: var(--mute); line-height: 1.5; }

.mlp-reviews { display: grid; gap: 36px 56px; margin-top: clamp(40px, 5vw, 64px); }
@media (min-width: 900px) { .mlp-reviews { grid-template-columns: 1fr 1fr; } }
.mlp-review { margin: 0; padding-top: 22px; border-top: 1px solid var(--keyline); }
.mlp-review blockquote { margin: 0; }
.mlp-review blockquote p { font: 400 clamp(1.25rem, 1.15rem + .4vw, 1.45rem)/1.45 var(--display); color: var(--ink); margin: 0 0 14px; }
.mlp-review blockquote p::before { content: "“"; color: var(--red); margin-right: .05em; }
.mlp-review blockquote p::after { content: "”"; color: var(--red); }
.mlp-review figcaption { font-size: .95rem; color: var(--mute); }
.mlp-reviews__more { margin: 28px 0 0; font-weight: 600; }
.mlp-reviews__more span { color: var(--frame); margin: 0 .5em; }

.mlp-strip { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) { .mlp-strip { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .mlp-strip { grid-template-columns: repeat(6, 1fr); } }
.mlp-strip a { display: block; line-height: 0; }
.mlp-strip img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: opacity .2s; }
.mlp-strip a:hover img { opacity: .85; }
.mlp-strip a:focus-visible { outline-offset: 2px; }

.mlp-map-fig { margin: 0; }
.mlp-map { display: block; width: 100%; height: auto; border: 1px solid var(--line); }
.mlp-map-fig figcaption { margin-top: 12px; font-size: .9rem; color: var(--mute); }
.mlp-towns { display: grid; gap: 28px 48px; }
@media (min-width: 700px) { .mlp-towns { grid-template-columns: 2fr 1fr; } }
.mlp-towns__h { font-size: 1.5rem; margin-bottom: .6em; }
.mlp-towns__h span { font: 400 1rem var(--body); color: var(--mute); }
.mlp-towns__list { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 32px; }
@media (min-width: 1000px) { .mlp-towns > div:first-child .mlp-towns__list { columns: 3; } }
.mlp-towns__list li { padding: 5px 0; border-bottom: 1px solid var(--line); break-inside: avoid; }

.mlp-types { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 28px; }
@media (min-width: 800px) { .mlp-types { grid-template-columns: repeat(4, 1fr); } }
.mlp-types li { padding: 9px 0 9px 22px; border-bottom: 1px solid var(--line); position: relative; }
.mlp-types li::before { content: ""; position: absolute; left: 0; top: 50%; width: 14px; height: 6px; margin-top: -3px; background: var(--curve) center / contain no-repeat; }

.mlp-brands { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.mlp-brands__item { border: 1px solid var(--line); background: var(--white); padding: 22px 22px 18px; }
.mlp-brands__item > a { display: flex; flex-direction: column; gap: 14px; text-decoration: none; color: var(--ink); }
.mlp-brands__logo { display: flex; align-items: center; height: 64px; }
.mlp-brands__logo img { max-height: 64px; max-width: 170px; width: auto; height: auto; object-fit: contain; }
.mlp-brands__name { font: 400 1.4rem var(--display); }
.mlp-brands__item > a:hover .mlp-brands__name { color: var(--red); text-decoration: underline; text-underline-offset: 4px; }
.mlp-brands__item p { margin: 10px 0 0; font-size: .95rem; color: var(--mute); }
.mlp-brand-logo img { max-height: 90px; width: auto; }
.mlp-badges { display: flex; gap: 20px; align-items: center; margin: 24px 0 0; }
.mlp-badges img { width: 96px; height: auto; }

.mlp-cta { display: grid; gap: 24px 56px; align-items: center; padding-top: 36px; border-top: 4px solid var(--ink); position: relative; }
.mlp-cta::before { content: ""; position: absolute; left: 0; top: -4px; width: 120px; height: 4px; background: var(--red); }
@media (min-width: 900px) { .mlp-cta { grid-template-columns: 1.3fr 1fr; } .mlp-cta__btns { justify-content: flex-end; } }
.mlp-cta h2 { margin-bottom: .3em; }
.mlp-cta p { margin: 0; max-width: 52ch; }
.mlp-cta__btns { display: flex; flex-wrap: wrap; gap: 12px; }


/* Columns of short text (consultations, building types), forms, notes */
.mlp-cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px 48px; }
@media (min-width: 800px) { .mlp-cols--3 { grid-template-columns: repeat(3, 1fr); } .mlp-cols--2 { grid-template-columns: repeat(2, 1fr); } }
.mlp-cols > .wp-block-group { border-top: 1px solid var(--keyline); padding-top: 22px; }
.mlp-cols > .wp-block-group > :last-child { margin-bottom: 0; }
.mlp-cols h3 { margin-bottom: .4em; }
.mlp-cols--links h3 a { color: var(--ink); text-decoration: none; }
.mlp-cols--links h3 a::after { content: " \2192"; color: var(--red); }
.mlp-cols--links h3 a:hover { color: var(--red); text-decoration: underline; }
.mlp-ticks { list-style: none; padding: 0; margin: 0 0 1em; }
.mlp-ticks li { position: relative; padding: 8px 0 8px 26px; border-bottom: 1px solid var(--line); margin: 0; }
.mlp-ticks li::before { content: ""; position: absolute; left: 0; top: 50%; width: 14px; height: 6px; margin-top: -3px; background: var(--curve) center / contain no-repeat; }
.mlp-ticks li { padding-left: 26px; }
.mlp-formbox > h2 { margin-bottom: .6em; }
.mlp-mapbox { max-width: 980px; }
.mlp-note { margin: 28px 0 0; max-width: 70ch; }
.mlp-sec--work { padding-top: 0; }

/* ---------- Our Work: core Gallery block + filters + lightbox ---------- */
.mlp-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; }
.mlp-filters button { min-height: 44px; padding: 0 18px; border: 1px solid var(--frame); border-radius: 0; background: var(--white); color: var(--ink); font: 500 1rem var(--body); cursor: pointer; }
.mlp-filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.mlp-filters button:hover { border-color: var(--ink); }
.mlp-filters__count { font-size: .9rem; color: var(--mute); margin: 0 0 24px; min-height: 1.5em; }
.wp-block-gallery.has-nested-images.mlp-work { display: grid !important; grid-template-columns: repeat(2, 1fr); gap: 10px !important; margin: 0; }
@media (min-width: 768px) { .wp-block-gallery.has-nested-images.mlp-work { grid-template-columns: repeat(3, 1fr); gap: 14px !important; } }
@media (min-width: 1280px) { .wp-block-gallery.has-nested-images.mlp-work { grid-template-columns: repeat(5, 1fr); gap: 16px !important; } }
.wp-block-gallery.has-nested-images.mlp-work figure.wp-block-image { width: auto !important; margin: 0 !important; flex: none; }
.wp-block-gallery.has-nested-images.mlp-work figure.wp-block-image[hidden] { display: none !important; }
.wp-block-gallery.has-nested-images.mlp-work figure.wp-block-image a { display: block; line-height: 0; }
.wp-block-gallery.has-nested-images.mlp-work figure.wp-block-image img { width: 100% !important; height: auto !important; aspect-ratio: 7 / 8; object-fit: cover; object-position: 50% 25%; transition: opacity .2s; }
.wp-block-gallery.has-nested-images.mlp-work figure.wp-block-image a:hover img { opacity: .86; }
.wp-block-gallery.has-nested-images.mlp-work figure.wp-block-image figcaption { display: none; }
.wp-block-gallery.has-nested-images.mlp-work figure.wp-block-image a:focus-visible { outline-offset: -4px; }
.mlp-lb { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(18, 18, 20, .96); color: #fff; }
.mlp-lb::backdrop { background: rgba(18, 18, 20, .6); }
.mlp-lb[open] { display: flex; align-items: center; justify-content: center; }
.mlp-lb__fig { display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: min(1400px, 92vw); }
.mlp-lb__fig img { max-width: 100%; max-height: calc(100dvh - 160px); width: auto; height: auto; object-fit: contain; }
.mlp-lb__cap { margin: 0; text-align: center; color: #eceae6; font-size: .98rem; }
.mlp-lb__n { color: #b8b6b1; margin-left: .6em; }
.mlp-lb__btn { position: absolute; width: 52px; height: 52px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(255, 255, 255, .55); border-radius: 0; background: rgba(18, 18, 20, .5); color: #fff; cursor: pointer; }
.mlp-lb__btn:hover { background: #fff; color: var(--ink); }
.mlp-lb__btn:focus-visible { outline-color: #fff; }
.mlp-lb__close { top: 16px; right: 16px; }
.mlp-lb__prev { left: 16px; top: 50%; margin-top: -26px; }
.mlp-lb__next { right: 16px; top: 50%; margin-top: -26px; }
@media (max-width: 767px) {
	.mlp-lb__prev, .mlp-lb__next { top: auto; bottom: calc(18px + env(safe-area-inset-bottom)); margin: 0; }
	.mlp-lb__prev { left: calc(50% - 64px); }
	.mlp-lb__next { right: calc(50% - 64px); }
	.mlp-lb__fig img { max-height: calc(100dvh - 220px); }
}

/* ---------- contact + forms (Ninja Forms, opinionated styles off) ---------- */
.mlp-contact { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px 72px; align-items: start; }
.mlp-form, .mlp-form .nf-form-cont, .mlp-form nf-field, .mlp-form .nf-field-element { min-width: 0; max-width: 100%; }
@media (min-width: 1000px) { .mlp-contact { grid-template-columns: minmax(0, 1.45fr) minmax(300px, 1fr); } }
.mlp-ccard { background: var(--primed); padding: 24px 20px 20px; border-top: 3px solid var(--red); }
@media (min-width: 600px) { .mlp-ccard { padding: 30px 30px 26px; } }
.mlp-ccard a, .mlp-foot__facts a, .mlp-panel__contact a { overflow-wrap: anywhere; }
.mlp-ccard__big { display: flex; align-items: center; gap: 12px; font: 400 1.9rem/1.1 var(--display); margin: 0 0 18px; }
.mlp-ccard__big a { color: var(--ink); text-decoration: none; }
.mlp-ccard__big a:hover { color: var(--red); }
.mlp-ccard__big .mlp-ico { color: var(--red); }
.mlp-ccard__list { list-style: none; margin: 0; padding: 0; }
.mlp-ccard__list li { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.mlp-ccard__list .mlp-ico { color: var(--red); margin-top: 2px; }
.mlp-form .nf-form-content { padding: 0; max-width: none; }
.mlp-form .nf-form-fields-required { font-size: .95rem; color: var(--mute); margin-bottom: 18px; }
.mlp-form nf-fields-wrap { display: flex; flex-wrap: wrap; gap: 0 20px; }
.mlp-form nf-field { flex: 1 1 100%; }
@media (min-width: 700px) { .mlp-form nf-field:has(.mlp-half) { flex: 1 1 calc(50% - 10px); } }
.mlp-form .nf-field-container { margin-bottom: 22px; }
.mlp-form .nf-field-label { margin-bottom: 6px; }
.mlp-form .nf-field-label label, .mlp-form .nf-field-label .nf-label-span { font-weight: 600; color: var(--ink); font-size: 1rem; }
.mlp-form .ninja-forms-req-symbol { color: var(--red); }
.mlp-form input.ninja-forms-field:not([type=button]):not([type=submit]):not([type=checkbox]):not([type=radio]), .mlp-form textarea.ninja-forms-field, .mlp-form select.ninja-forms-field {
	width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--frame); border-radius: 0; background: var(--white); color: var(--ink); font: 400 1.0625rem/1.4 var(--body); }
.mlp-form textarea.ninja-forms-field { min-height: 150px; height: 150px; }
.mlp-form .ninja-forms-field:focus { outline: 3px solid var(--red); outline-offset: 1px; border-color: var(--ink); }
.mlp-form .nf-field-description { font-size: .92rem; color: var(--mute); margin-top: 6px; }
.mlp-form .list-radio-wrap ul, .mlp-form .list-checkbox-wrap ul { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 22px; }
.mlp-form .list-radio-wrap li, .mlp-form .list-checkbox-wrap li { display: flex; align-items: center; gap: 8px; min-height: 36px; }
.mlp-form .list-radio-wrap .nf-field-element li input, .mlp-form .list-checkbox-wrap .nf-field-element li input { width: 20px !important; height: 20px; margin: 0 !important; flex: none; accent-color: var(--red); }
.mlp-form .list-radio-wrap .nf-field-element li label, .mlp-form .list-checkbox-wrap .nf-field-element li label { font-weight: 400 !important; margin: 0 !important; padding: 0; width: auto; }
.mlp-form .list-radio-wrap .nf-field-element li, .mlp-form .list-checkbox-wrap .nf-field-element li { margin: 0 !important; padding: 0; }
.mlp-form .nf-error-msg, .mlp-form .nf-error .nf-error-msg { color: #a3142a; font-size: .95rem; font-weight: 500; margin-top: 6px; }
.mlp-form .nf-error .ninja-forms-field { border-color: #a3142a !important; border-width: 2px !important; }
.mlp-form .nf-form-errors .nf-error-msg { margin: 0 0 12px; }
.mlp-form .nf-pass .ninja-forms-field { border-color: var(--frame); }
.mlp-form input[type=submit], .mlp-form input[type=button].ninja-forms-field { min-height: 52px; padding: 0 34px; border: 0; border-radius: 0; background: var(--red); color: #fff; font: 400 1.0625rem var(--display); letter-spacing: .06em; text-transform: uppercase; cursor: pointer; clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%); }
.mlp-form input[type=submit]:hover, .mlp-form input[type=button].ninja-forms-field:hover { background: var(--red-dark); }
.mlp-form .nf-after-field .nf-input-limit { display: none; }
.mlp-thanks { padding: 32px 0 8px; outline: none; }
.mlp-thanks__check { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--red); color: #fff; margin-bottom: 18px; }
.mlp-thanks__check .mlp-ico { width: 32px; height: 32px; stroke-width: 2.2; }
.mlp-thanks h2 { margin-bottom: .35em; }
.mlp-thanks ol { margin: 14px 0 22px; padding-left: 1.3em; }
.mlp-thanks ol li { margin-bottom: 6px; }
.mlp-confetti { position: fixed; inset: 0; pointer-events: none; z-index: 70; }

/* ---------- footer (the one dark band) ---------- */
.mlp-foot { background: var(--ink); color: #d6d3cd; font-size: 1rem; }
.mlp-foot a { color: #fff; }
.mlp-foot a:hover { color: #ffd5d6; }
.mlp-foot :focus-visible { outline-color: #fff; }
.mlp-foot__in { display: grid; gap: 40px 48px; padding: clamp(56px, 6vw, 88px) var(--pad) 44px; }
@media (min-width: 700px) { .mlp-foot__in { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .mlp-foot__in { grid-template-columns: 1.35fr 1fr 1fr 1.2fr; } }
.mlp-foot__name { font: 400 2rem/1.1 var(--display); color: #fff; margin: 0 0 22px; }
.mlp-foot__name span { display: block; margin-top: 8px; font: 600 .78rem var(--body); letter-spacing: .2em; text-transform: uppercase; color: #bdb9b2; }
.mlp-foot__facts { list-style: none; margin: 0; padding: 0; }
.mlp-foot__facts li { display: flex; gap: 12px; padding: 6px 0; }
.mlp-foot__facts .mlp-ico { color: #e2767a; width: 20px; height: 20px; margin-top: 3px; }
.mlp-foot__facts a { text-decoration: none; }
.mlp-foot__facts a:hover { text-decoration: underline; }
.mlp-foot__h { font: 600 .8rem var(--body); letter-spacing: .18em; text-transform: uppercase; color: #bdb9b2; margin: 6px 0 16px; }
.mlp-foot__col ul { list-style: none; margin: 0; padding: 0; }
.mlp-foot__col li { padding: 4px 0; }
.mlp-foot__col a { text-decoration: none; }
.mlp-foot__col a:hover { text-decoration: underline; }
.mlp-foot__col p { margin: 0 0 14px; }
.mlp-foot__col p a { text-decoration: underline; text-underline-offset: 3px; }
.mlp-foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding: 18px var(--pad) 22px; border-top: 1px solid #343a41; font-size: .9rem; color: #bdb9b2; }
.mlp-foot__base p { margin: 0; }
.mlp-credit a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- the one quiet fade-in (site.js adds .mlp-rise only when motion is allowed) ---------- */
.mlp-rise { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.mlp-rise.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.mlp-rise { opacity: 1; transform: none; transition: none; }
	.mlp-banner__slide { transition: none; }
	html { scroll-behavior: auto; }
}

@media print {
	.mlp-header, .mlp-callbar, .mlp-banner__bar, .mlp-foot__in { display: none !important; }
	.mlp-header { position: static; }
}

/* ---------- Dr. Payne additions ---------- */
.mlp-plate { aspect-ratio: 4 / 3; background: var(--ink); color: #fff; display: flex; flex-direction: column; justify-content: center; padding: 22px 24px; border-top: 4px solid var(--red); clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%); position: relative; }
.mlp-plate::after { content: ""; position: absolute; left: 24px; right: 24px; bottom: 22px; height: 12px; background: var(--curve) left center / 28px 12px repeat-x; opacity: .9; }
.mlp-plate__big { font: 400 clamp(3.2rem, 2.2rem + 3vw, 4.6rem)/1 var(--display); letter-spacing: .03em; }
.mlp-plate__sub { margin-top: 10px; font: 600 .8125rem/1.35 var(--body); letter-spacing: .14em; text-transform: uppercase; color: #d9dde1; padding-bottom: 26px; }
.mlp-reviewbox { max-width: 62ch; }
.mlp-reviewbox .mlp-reviews { grid-template-columns: 1fr; margin-top: 24px; }
.mlp-sec--twin { display: grid; gap: 56px 72px; align-items: start; }
@media (min-width: 1000px) { .mlp-sec--twin { grid-template-columns: 1fr 1fr; } }
.mlp-sec--twin > .wp-block-group, .mlp-sec--twin > * { min-width: 0; }
.mlp-bookbox { display: flex; gap: 28px; align-items: flex-start; border-top: 4px solid var(--ink); padding-top: 24px; }
.mlp-bookbox__cover img { display: block; width: 150px; height: auto; box-shadow: 8px 8px 0 var(--keyline); }
.mlp-bookbox__text h2 { margin-bottom: .3em; }
.mlp-bookbox__text .mlp-lead { font-size: 1.05rem; }
@media (max-width: 520px) { .mlp-bookbox { flex-direction: column; } }
.mlp-split--book { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .mlp-split--book { grid-template-columns: 300px 1fr; align-items: start; } }
.mlp-split--book .mlp-fig img { box-shadow: 10px 10px 0 var(--keyline); max-width: 280px; }
.mlp-quote { margin: 1.4rem 0; padding-left: 20px; border-left: 4px solid var(--red); }
.mlp-quote blockquote { margin: 0; }
.mlp-quote blockquote p { font: 400 1.25rem/1.45 var(--display); letter-spacing: .01em; color: var(--ink); margin: 0 0 8px; }
.mlp-quote figcaption { font-size: .95rem; color: var(--mute); }
.mlp-offices { display: grid; gap: 40px; }
@media (min-width: 900px) { .mlp-offices { grid-template-columns: 1fr 1fr; gap: 56px; } }
.mlp-office { border-top: 4px solid var(--ink); padding-top: 22px; position: relative; }
.mlp-office__tag { position: absolute; right: 0; top: 14px; margin: 0; width: 44px; height: 44px; border: 2px solid var(--ink); border-radius: 50%; display: flex; align-items: center; justify-content: center; font: 400 1.5rem/1 var(--display); color: var(--ink); }
.mlp-office__h { margin-bottom: .2em; }
.mlp-office__addr { font-size: 1.1rem; margin-bottom: 10px; }
.mlp-office__tel { display: flex; align-items: center; gap: 10px; font: 400 1.6rem/1.2 var(--display); letter-spacing: .02em; margin: 0 0 6px; }
.mlp-office__tel a { color: var(--ink); text-decoration: none; }
.mlp-office__tel a:hover { color: var(--red); }
.mlp-office__tel .mlp-ico { color: var(--red); }
.mlp-hours { width: 100%; border-collapse: collapse; margin: 16px 0 14px; font-size: 1rem; }
.mlp-hours th, .mlp-hours td { text-align: left; padding: 8px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.mlp-hours th { font-weight: 600; color: var(--ink); width: 42%; padding-right: 12px; }
.mlp-office__dir { margin: 20px 0 0; }
.mlp-news { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 56px; max-width: 900px; }
@media (min-width: 800px) { .mlp-news { grid-template-columns: 1fr 1fr; } }
.mlp-news a { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 12px; padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font: 400 1.35rem/1.2 var(--display); letter-spacing: .01em; }
.mlp-news a:hover { color: var(--red); }
.mlp-news__t { grid-column: 1; font: 400 .9rem/1.3 var(--body); color: var(--mute); letter-spacing: 0; }
.mlp-news .mlp-ico { grid-column: 2; grid-row: 1 / span 2; color: var(--red); }
.mlp-ccard--plain { background: var(--film); }
.mlp-ccard--plain .wp-block-buttons { margin-top: .6rem; margin-bottom: 1.2rem; }
.mlp-ccard--plain p { max-width: 52ch; }
.mlp-foot__offs { list-style: none; margin: 0 0 14px; padding: 0; }
.mlp-foot__off { display: flex; flex-direction: column; gap: 2px; padding: 8px 0; border-bottom: 1px solid #343a41; }
.mlp-foot__off:first-child { padding-top: 0; }
.mlp-foot__offn { font: 400 1.05rem var(--display); letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.mlp-foot__off a { font: 400 1.35rem var(--display); letter-spacing: .02em; text-decoration: none; }
.mlp-foot__off a:hover { text-decoration: underline; }
.mlp-foot__mail { display: flex; align-items: center; gap: 10px; margin: 6px 0 0; }
.mlp-foot__mail .mlp-ico { color: #e2767a; width: 20px; height: 20px; }
.mlp-map { background: #f3f5f6; }
.mlp-mapbox { max-width: 860px; }
