/* MP Projects Group — Kadence child / native Gutenberg.
 * No remote fonts or assets. PHP/JS owns menu and slider state.
 * Optional photograph focal point: style="--mp-image-position:65% 45%".
 */
:root {
  color-scheme: dark;
  --mp-bg: #0B0F17;
  --mp-surface: #151C28;
  --mp-blue: #007FFC;
  --mp-highlight: #28A5FF;
  --mp-white: #FFFFFF;
  --mp-text: #D6DEEA;
  --mp-muted: #99A7B9;
  --mp-border: #303D50;
  --mp-hover: #0057B8;
  --mp-width: 1200px;
  --mp-header-height: 88px;
  --mp-admin-offset: 0px;
  --mp-font: Roboto, Arial, Helvetica, sans-serif;
  --mp-ease: cubic-bezier(.2,.65,.3,1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--mp-header-height) + var(--mp-admin-offset) + 24px); }
body { margin: 0; background: var(--mp-bg); color: var(--mp-text); font-family: var(--mp-font); font-size: 17px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
body.admin-bar { --mp-admin-offset: 32px; }
::selection { background: var(--mp-highlight); color: var(--mp-bg); }
img { max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: var(--mp-highlight); text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { color: var(--mp-white); }
:where(a, button, input, select, textarea, [tabindex]):focus-visible { outline: 3px solid var(--mp-highlight); outline-offset: 5px; }
[hidden] { display: none !important; }
:where(h1,h2,h3,h4,h5,h6) { margin: 0 0 24px; color: var(--mp-white); font-family: var(--mp-font); font-weight: 700; line-height: 1.12; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5vw, 3.75rem); letter-spacing: -.045em; }
h2 { font-size: clamp(2rem, 3.4vw, 2.625rem); letter-spacing: -.035em; }
h3 { font-size: 1.375rem; letter-spacing: -.02em; line-height: 1.3; }
h4 { font-size: 1.125rem; }
p { margin: 0 0 24px; }
:where(p,li,h1,h2,h3,h4,a) { overflow-wrap: break-word; }
:where(.mp-page-shell, .mp-footer) :where(p,ul,ol):last-child { margin-bottom: 0; }
:where(.mp-page-shell, .mp-footer) :where(ul,ol) { padding-inline-start: 1.3em; }
:where(.mp-page-shell, .mp-footer) li + li { margin-top: 8px; }
/* Flatten Kadence only on the custom page shell; retain the parent elsewhere. */
.site { background: var(--mp-bg); }
body:has(.mp-page-shell) :where(.site-main, .content-container, .content-area, .entry-content-wrap) { max-width: none; width: 100%; margin: 0; padding: 0; }
body:has(.mp-page-shell) :where(.site-container, .entry-content) { max-width: none; }
body:has(.mp-page-shell) .entry-content { margin: 0; }
.mp-page-shell { min-width: 0; }
.mp-container { width: 100%; max-width: var(--mp-width); margin-inline: auto; }
.mp-section { padding: 96px 24px; }
.mp-section > .mp-container { margin-inline: auto; }
.mp-surface { background: var(--mp-surface); }
.mp-section-header { max-width: 750px; margin-bottom: 44px; }
.mp-section-header p { max-width: 650px; color: var(--mp-text); font-size: 1.125rem; }
.mp-eyebrow { display: block; margin-bottom: 20px; color: var(--mp-highlight); font-size: .75rem; font-weight: 700; line-height: 1.4; letter-spacing: .16em; text-transform: uppercase; }
.mp-page-shell :where(.wp-block-group,.wp-block-column) { min-width: 0; }
.mp-page-shell .wp-block-columns { gap: 40px; margin-top: 0; margin-bottom: 0; }
.mp-page-shell .wp-block-column > :first-child { margin-top: 0; }
.mp-page-shell .wp-block-column > :last-child { margin-bottom: 0; }
.mp-page-shell .wp-block-group.mp-container { max-width: var(--mp-width); }
.mp-page-shell .alignfull { max-width: none; }
.mp-page-shell .wp-block-separator { border: 0; border-top: 1px solid var(--mp-border); margin-block: 40px; }
.mp-page-shell .wp-block-image { margin: 0; }
.mp-page-shell .wp-block-image img { display: block; }
.mp-page-shell figcaption { color: var(--mp-muted); font-size: .8125rem; margin-top: 12px; }
/* A quiet, solid masthead, with a blue rule rather than glow effects. */
.mp-header { position: sticky; top: var(--mp-admin-offset); z-index: 1000; background: var(--mp-bg); border-bottom: 1px solid var(--mp-border); }
.mp-header-inner { display: flex; align-items: center; gap: 32px; max-width: calc(var(--mp-width) + 48px); min-height: var(--mp-header-height); margin-inline: auto; padding: 16px 24px; }
.mp-brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; color: var(--mp-white); text-decoration: none; }
.mp-logo { display: block; width: auto; max-width: 210px; max-height: 54px; object-fit: contain; }
.mp-brand-name { max-width: 225px; color: var(--mp-white); font-size: 1.125rem; font-weight: 800; line-height: 1.15; letter-spacing: -.025em; }
.mp-nav { margin-left: auto; }
.mp-nav ul { display: flex; align-items: center; flex-wrap: wrap; gap: 26px; margin: 0; padding: 0; list-style: none; }
.mp-nav li { margin: 0; }
.mp-nav a { position: relative; display: block; padding-block: 12px; color: var(--mp-text); font-size: .875rem; font-weight: 600; line-height: 1.4; text-decoration: none; }
.mp-nav a::after { content: ""; position: absolute; right: 0; bottom: 3px; left: 0; height: 2px; background: var(--mp-highlight); transform: scaleX(0); transform-origin: left; transition: transform 180ms var(--mp-ease); }
.mp-nav a:hover, .mp-nav a[aria-current="page"], .mp-nav a[aria-current="true"] { color: var(--mp-white); }
.mp-nav a:hover::after, .mp-nav a[aria-current="page"]::after, .mp-nav a[aria-current="true"]::after { transform: scaleX(1); }
.mp-menu-toggle { display: none; align-items: center; justify-content: center; gap: 8px; min-width: 48px; min-height: 48px; padding: 10px; border: 1px solid var(--mp-border); border-radius: 3px; background: transparent; color: var(--mp-white); }
.mp-menu-toggle svg { width: 22px; height: 22px; }
.mp-header-cta { flex-shrink: 0; }
/* Main actions: dark text on blue, white only on the deeper hover blue. */
.mp-button, .mp-header-cta, .mp-page-shell .wp-block-button__link, .mp-footer .mp-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 14px 24px; border: 1px solid var(--mp-blue); border-radius: 3px; background: var(--mp-blue); color: #080D16; font-family: var(--mp-font); font-size: .9375rem; font-weight: 700; line-height: 1.4; text-align: center; text-decoration: none; box-shadow: none; transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease; }
.mp-button:hover, .mp-header-cta:hover, .mp-page-shell .wp-block-button__link:hover { border-color: var(--mp-hover); background: var(--mp-hover); color: var(--mp-white); }
.mp-button svg { width: 18px; height: 18px; flex-shrink: 0; }
.mp-button-secondary, .mp-page-shell .is-style-outline .wp-block-button__link { background: transparent; border-color: #A9B6C8; color: var(--mp-white); }
.mp-button-secondary:hover, .mp-page-shell .is-style-outline .wp-block-button__link:hover { border-color: var(--mp-white); background: var(--mp-white); color: var(--mp-bg); }
.mp-header-cta { min-height: 44px; padding: 11px 18px; font-size: .8125rem; }
.mp-hero-actions, .mp-page-shell .wp-block-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
/* Photography is supplied by the parent; never imply a placeholder is work. */
.mp-hero { position: relative; isolation: isolate; min-height: 700px; overflow: hidden; background: var(--mp-surface); }
.mp-slide { position: absolute; inset: 0; z-index: 0; background: var(--mp-surface); }
.mp-slide[hidden] { display: none !important; }
.mp-slide-image { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: var(--mp-image-position, center); }
.mp-slide-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,15,23,.94) 0%, rgba(11,15,23,.82) 34%, rgba(11,15,23,.40) 68%, rgba(11,15,23,.14) 100%); }
.mp-hero-content { position: relative; z-index: 2; display: flex; align-items: center; min-height: 700px; padding: 96px 24px 128px; pointer-events: none; }
.mp-hero-content > .mp-container { pointer-events: auto; }
.mp-hero-title { max-width: 820px; margin-bottom: 28px; font-size: 64px; line-height: 1.04; letter-spacing: -.045em; }
.mp-hero-copy { max-width: 620px; margin-bottom: 36px; color: var(--mp-text); font-size: 1.1875rem; line-height: 1.65; }
.mp-hero-actions { margin-top: 0; }
.mp-slider-controls { position: absolute; z-index: 5; right: max(24px, calc((100% - var(--mp-width))/2)); bottom: 32px; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.mp-slider-controls > button { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 10px; border: 1px solid #7B8BA2; border-radius: 2px; background: var(--mp-bg); color: var(--mp-white); font-size: .875rem; line-height: 1; transition: border-color 180ms, background-color 180ms; }
.mp-slider-controls > button:hover { border-color: var(--mp-highlight); background: var(--mp-surface); }
.mp-slider-controls svg { width: 18px; height: 18px; }
.mp-slider-dots { display: flex; align-items: center; gap: 2px; margin-inline: 10px; }
.mp-slider-dots button { position: relative; width: 32px; height: 44px; padding: 0; border: 0; background: transparent; }
.mp-slider-dots button::after { content: ""; display: block; width: 8px; height: 8px; margin: auto; border: 1px solid var(--mp-white); border-radius: 50%; background: transparent; }
.mp-slider-dots button[aria-current="true"]::after { background: var(--mp-highlight); border-color: var(--mp-highlight); }
.mp-slide-count { position: absolute; z-index: 4; bottom: 42px; left: max(24px, calc((100% - var(--mp-width))/2)); color: var(--mp-text); font-size: .75rem; font-weight: 600; letter-spacing: .12em; font-variant-numeric: tabular-nums; }
.mp-slide-count span:first-child { color: var(--mp-highlight); }
.mp-hero .mp-image-placeholder { position: absolute; inset: 0; min-height: 0; padding: 24px; align-items: end; justify-content: center; border: 0; background: var(--mp-surface); color: var(--mp-muted); font-size: .75rem; }
/* Native groups: service panels, lighter editorial values, image-led projects. */
.mp-service-card, .mp-card { height: 100%; padding: 32px; border: 1px solid var(--mp-border); border-radius: 4px; background: var(--mp-surface); transition: border-color 200ms ease, transform 200ms var(--mp-ease); }
.mp-service-card { position: relative; border-top: 2px solid var(--mp-blue); }
.mp-service-card :where(h3,.wp-block-heading), .mp-card h3 { margin-bottom: 18px; }
.mp-service-card p, .mp-card p, .mp-value-card p { font-size: 1rem; line-height: 1.75; }
.mp-service-card :where(svg,.mp-card-icon) { display: block; width: 36px; height: 36px; margin-bottom: 32px; color: var(--mp-highlight); }
.mp-service-card a, .mp-card a, .mp-value-card a { font-weight: 600; }
.mp-value-card { height: 100%; padding: 28px 0 12px; border-top: 1px solid var(--mp-border); background: transparent; }
.mp-value-card h3 { margin-bottom: 16px; }
.mp-value-card .mp-eyebrow { margin-bottom: 26px; }
.mp-project-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 32px; }
.mp-project-card { min-width: 0; overflow: hidden; border-bottom: 1px solid var(--mp-border); background: transparent; }
.mp-project-card > a { display: block; color: inherit; text-decoration: none; }
.mp-project-card :where(img,.mp-project-placeholder) { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: var(--mp-image-position,center); }
.mp-project-card img { transition: transform 350ms var(--mp-ease); }
.mp-project-card :where(figure,.wp-block-image) { margin: 0; overflow: hidden; }
.mp-project-meta { padding: 24px 0 28px; }
.mp-project-meta h3 { margin-bottom: 10px; }
.mp-project-meta p { margin-bottom: 12px; color: var(--mp-muted); font-size: .875rem; }
.mp-project-meta .mp-eyebrow { margin-bottom: 12px; font-size: .6875rem; }
.mp-image-placeholder, .mp-project-placeholder { display: flex; align-items: center; justify-content: center; min-height: 280px; padding: 32px; border: 1px solid var(--mp-border); background: var(--mp-surface); color: var(--mp-muted); font-size: .875rem; line-height: 1.5; text-align: center; }
.mp-project-card .mp-project-placeholder { display: flex; min-height: 0; }
/* Plain inside-page heading avoids decorative, fabricated roof imagery. */
.mp-banner { position: relative; padding: 80px 24px 72px; border-bottom: 1px solid var(--mp-border); background: var(--mp-bg); }
.mp-page-heading { max-width: 900px; margin-bottom: 24px; font-size: clamp(2.5rem,5vw,3.75rem); }
.mp-banner p { max-width: 700px; color: var(--mp-text); font-size: 1.125rem; }
.mp-banner .mp-eyebrow { margin-bottom: 18px; }
.mp-contact-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.4fr); align-items: start; gap: 72px; }
.mp-contact-layout > * { min-width: 0; }
.mp-contact-details { display: grid; gap: 28px; margin-top: 36px; }
.mp-contact-details :where(h3,h4) { margin-bottom: 8px; font-size: 1rem; }
.mp-contact-details a { text-decoration: none; }
.mp-contact-details a:hover { text-decoration: underline; }
.mp-contact-layout .wpforms-container { margin: 0; padding: 36px; border: 1px solid var(--mp-border); border-radius: 4px; background: var(--mp-surface); }
.mp-page-shell .wpforms-container .wpforms-field { padding: 0 0 24px; }
.mp-page-shell .wpforms-container :where(.wpforms-field-label,.wpforms-field-sublabel,legend) { display: block; margin-bottom: 10px; color: var(--mp-text); font-size: .875rem; font-weight: 600; line-height: 1.5; }
.mp-page-shell .wpforms-container .wpforms-field-sublabel { margin-top: 6px; font-size: .8125rem; font-weight: 400; }
.mp-page-shell .wpforms-container :where(input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="hidden"]),select,textarea) { width: 100%; max-width: 100%; min-height: 50px; margin: 0; padding: 13px 14px; border: 1px solid #58677D; border-radius: 3px; background: var(--mp-bg); color: var(--mp-white); font-size: 1rem; line-height: 1.5; box-shadow: none; }
.mp-page-shell .wpforms-container textarea { min-height: 160px; resize: vertical; }
.mp-page-shell .wpforms-container :where(input,textarea)::placeholder { color: var(--mp-muted); opacity: 1; }
.mp-page-shell .wpforms-container :where(input,select,textarea):focus { border-color: var(--mp-highlight); outline: 2px solid var(--mp-highlight); outline-offset: 2px; box-shadow: none; }
.mp-page-shell .wpforms-container :where(input[type="checkbox"],input[type="radio"]) { width: 18px; height: 18px; margin-right: 8px; accent-color: var(--mp-highlight); }
.mp-page-shell .wpforms-container :where(.wpforms-field-label-inline,.wpforms-field-description,.wpforms-disclaimer-description) { color: var(--mp-text); font-size: .875rem; line-height: 1.6; }
.mp-page-shell .wpforms-container .wpforms-required-label { color: #FFA9A9; }
.mp-page-shell .wpforms-container :where(label.wpforms-error,em.wpforms-error,.wpforms-error-container) { display: block; margin-top: 8px; color: #FFB5B5; font-size: .875rem; }
.mp-page-shell .wpforms-container :where(input.wpforms-error,textarea.wpforms-error,select.wpforms-error) { border-color: #FFB5B5; }
.mp-page-shell .wpforms-container .wpforms-submit-container { padding-top: 4px; }
.mp-page-shell .wpforms-container :where(button[type="submit"],input[type="submit"]) { min-height: 52px; padding: 14px 26px; border: 1px solid var(--mp-blue); border-radius: 3px; background: var(--mp-blue); color: #080D16; font-family: var(--mp-font); font-size: .9375rem; font-weight: 700; line-height: 1.4; cursor: pointer; box-shadow: none; }
.mp-page-shell .wpforms-container :where(button[type="submit"],input[type="submit"]):hover { background: var(--mp-hover); border-color: var(--mp-hover); color: var(--mp-white); }
.mp-page-shell .wpforms-confirmation-container-full { padding: 24px; border: 1px solid #77CBA0; border-radius: 3px; background: var(--mp-surface); color: var(--mp-white); }
.mp-page-shell :where(button,input)[disabled], .mp-page-shell [aria-disabled="true"] { opacity: .6; cursor: not-allowed; }
.mp-review-notice { padding: 15px 24px; border-bottom: 1px solid #5C4D24; background: #241F13; color: #F3DDA7; font-size: .8125rem; line-height: 1.6; text-align: center; }
.mp-review-notice p { margin: 0 auto; max-width: var(--mp-width); }
.mp-review-notice a { color: #FFE6A7; }
.mp-privacy-draft { margin-block: 32px; padding: 24px 28px; border: 1px solid #59657A; border-left: 3px solid var(--mp-highlight); background: var(--mp-surface); color: var(--mp-text); font-size: .9375rem; }
.mp-privacy-draft :where(h2,h3,strong) { color: var(--mp-white); }
.mp-footer { padding: 72px 24px 0; border-top: 1px solid var(--mp-border); background: #080B12; }
.mp-footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.25fr; gap: 48px; max-width: var(--mp-width); margin-inline: auto; padding-bottom: 56px; }
.mp-footer :where(h2,h3,h4) { margin-bottom: 20px; font-size: .875rem; line-height: 1.5; letter-spacing: .02em; }
.mp-footer .mp-brand { margin-bottom: 24px; }
.mp-footer p { max-width: 340px; color: var(--mp-muted); font-size: .875rem; line-height: 1.8; }
.mp-footer ul { margin: 0; padding: 0; list-style: none; }
.mp-footer li + li { margin-top: 12px; }
.mp-footer a:not(.mp-brand):not(.mp-button) { color: var(--mp-text); font-size: .875rem; text-decoration: none; }
.mp-footer a:not(.mp-brand):not(.mp-button):hover { color: var(--mp-highlight); text-decoration: underline; }
.mp-footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px 32px; max-width: var(--mp-width); margin-inline: auto; padding: 24px 0; border-top: 1px solid var(--mp-border); color: var(--mp-muted); font-size: .75rem; }
.mp-footer-bottom p { max-width: none; margin: 0; font-size: inherit; }
.mp-footer-bottom ul { display: flex; flex-wrap: wrap; gap: 20px; }
.mp-footer-bottom li + li { margin: 0; }
.mp-footer .mp-footer-bottom a { font-size: .75rem; }
.skip-link, .skip-link.screen-reader-text { position: fixed; top: -200px; left: 16px; z-index: 100000; padding: 12px 20px; border: 2px solid var(--mp-white); background: var(--mp-blue); color: var(--mp-bg); font-weight: 700; }
.skip-link:focus, .skip-link.screen-reader-text:focus { top: calc(var(--mp-admin-offset) + 12px); width: auto; height: auto; clip: auto; clip-path: none; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .mp-service-card:hover, .mp-card:hover { transform: translateY(-4px); border-color: #5A779A; }
  .mp-project-card a:hover img { transform: scale(1.025); }
}
@media (max-width: 1100px) {
  .mp-header-inner { gap: 20px; }
  .mp-nav ul { gap: 18px; }
  .mp-logo { max-width: 175px; }
  .mp-brand-name { max-width: 185px; font-size: 1rem; }
}
@media (max-width: 1024px) {
  :root { --mp-header-height: 80px; }
  .mp-header-inner { position: relative; flex-wrap: wrap; gap: 0 20px; }
  .mp-menu-toggle { display: inline-flex; margin-left: auto; order: 2; }
  .mp-header-cta { margin-left: 20px; order: 3; }
  .mp-nav { display: none; flex-basis: 100%; width: 100%; order: 4; margin: 16px 0 0; padding-top: 12px; border-top: 1px solid var(--mp-border); }
  .mp-nav.is-open { display: block; }
  .mp-nav ul { display: flex; align-items: stretch; flex-direction: column; gap: 0; }
  .mp-nav a { padding: 13px 8px; min-height: 46px; }
  .mp-nav a::after { right: auto; bottom: 8px; left: 8px; width: 24px; }
  .mp-section { padding-block: 80px; }
  .mp-hero-title { max-width: 740px; font-size: 56px; }
  .mp-hero, .mp-hero-content { min-height: 660px; }
  .mp-page-shell .wp-block-columns { gap: 28px; }
  .mp-project-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px; }
  .mp-service-card, .mp-card { padding: 26px; }
  .mp-contact-layout { gap: 40px; }
  .mp-contact-layout .wpforms-container { padding: 28px; }
  .mp-footer-grid { grid-template-columns: 1.5fr 1fr; gap: 40px 64px; }
}
@media (max-width: 782px) {
  body.admin-bar { --mp-admin-offset: 46px; }
}
@media (max-width: 768px) {
  body { font-size: 16px; }
  .mp-section { padding: 64px 24px; }
  .mp-section-header { margin-bottom: 32px; }
  .mp-section-header p, .mp-banner p { font-size: 1rem; }
  .mp-header-inner { padding-block: 12px; }
  .mp-hero, .mp-hero-content { min-height: 640px; }
  .mp-hero-content { padding: 80px 24px 132px; }
  .mp-hero-title { font-size: clamp(2.5rem,7vw,3.25rem); line-height: 1.08; }
  .mp-hero-copy { max-width: 540px; font-size: 1.0625rem; }
  .mp-slide-overlay { background: linear-gradient(90deg,rgba(11,15,23,.94),rgba(11,15,23,.67)); }
  .mp-page-shell .wp-block-columns:not(.is-not-stacked-on-mobile) { flex-direction: column; }
  .mp-page-shell .wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column { flex-basis: 100% !important; width: 100%; }
  .mp-contact-layout { grid-template-columns: minmax(0,1fr); gap: 36px; }
  .mp-banner { padding-block: 56px; }
  .mp-value-card { padding-bottom: 0; }
  .mp-footer { padding-top: 56px; }
  .mp-footer-grid { gap: 36px; padding-bottom: 40px; }
}
@media (max-width: 600px) {
  /* WP's admin toolbar becomes non-fixed at this breakpoint. */
  body.admin-bar { --mp-admin-offset: 0px; }
  :root { --mp-header-height: 76px; }
  .mp-header-inner { gap: 0 12px; }
  .mp-header-cta { display: none; }
  .mp-logo { max-width: 190px; max-height: 48px; }
  .mp-brand-name { max-width: 205px; }
  .mp-project-grid { grid-template-columns: minmax(0,1fr); gap: 36px; }
  .mp-project-card :where(img,.mp-project-placeholder) { aspect-ratio: 3 / 2; }
  .mp-hero, .mp-hero-content { min-height: 650px; }
  .mp-hero-content { padding-top: 64px; padding-bottom: 140px; }
  .mp-hero-title { margin-bottom: 24px; font-size: 2.625rem; }
  .mp-eyebrow { margin-bottom: 18px; font-size: .6875rem; letter-spacing: .14em; }
  .mp-hero-copy { margin-bottom: 28px; }
  .mp-hero-actions { align-items: stretch; gap: 12px; }
  .mp-hero-actions .mp-button { min-width: 0; padding-inline: 18px; }
  .mp-slider-controls { right: 20px; bottom: 24px; gap: 5px; }
  .mp-slider-dots { margin-inline: 2px; gap: 0; }
  .mp-slider-dots button { width: 26px; }
  .mp-slide-count { bottom: 86px; left: 24px; }
  .mp-hero .mp-image-placeholder { justify-content: end; padding: 20px 24px 124px; }
  .mp-contact-layout .wpforms-container { padding: 24px 20px; }
  .mp-footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 36px 24px; }
  .mp-footer-grid > :first-child { grid-column: 1 / -1; }
  .mp-footer-grid > :last-child { grid-column: 1 / -1; }
  .mp-footer-bottom { align-items: start; flex-direction: column; padding-block: 24px 32px; }
  .mp-review-notice { padding-inline: 20px; text-align: left; }
  .mp-privacy-draft { padding: 20px; }
}
@media (max-width: 375px) {
  .mp-header-inner, .mp-section, .mp-banner, .mp-footer { padding-inline: 20px; }
  .mp-brand-name { max-width: 185px; font-size: .9375rem; }
  .mp-logo { max-width: 175px; }
  .mp-hero-content { padding-inline: 20px; }
  .mp-hero-title { font-size: 2.375rem; }
  .mp-hero-actions { flex-direction: column; }
  .mp-hero-actions .mp-button { width: 100%; }
  .mp-service-card, .mp-card { padding: 24px; }
  .mp-slide-count { left: 20px; }
  .mp-slider-controls { left: 20px; right: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mp-page-shell *, .mp-page-shell *::before, .mp-page-shell *::after,
  .mp-header *, .mp-footer *, .mp-hero *, .mp-hero *::before, .mp-hero *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  :root { color-scheme: light; }
  body, .site, .mp-page-shell, .mp-surface, .mp-footer { background: white; color: black; }
  .mp-header, .mp-slider-controls, .mp-slide-count, .mp-hero-actions, .mp-menu-toggle, .mp-review-notice { display: none !important; }
  .mp-section, .mp-banner, .mp-footer { padding: 24px 0; }
  .mp-hero, .mp-hero-content { min-height: 0; }
  .mp-hero-content { padding: 24px 0; }
  .mp-slide { display: none; }
  :where(h1,h2,h3,h4,p,a), .mp-hero-copy { color: black !important; }
  .mp-service-card, .mp-card, .mp-value-card, .mp-project-card { break-inside: avoid; background: white; }
}

/* v1.0.1 — map Kadence's global palette to the MP brand so parent styles never reintroduce light/dark mismatches. */
body {
  --global-palette1: #007FFC; --global-palette2: #0057B8; --global-palette3: #FFFFFF;
  --global-palette4: #D6DEEA; --global-palette5: #99A7B9; --global-palette6: #6B7A8F;
  --global-palette7: #151C28; --global-palette8: #0B0F17; --global-palette9: #0B0F17;
  --global-palette-highlight: #28A5FF; --global-palette-highlight-alt: #FFFFFF;
  background: var(--mp-bg); color: var(--mp-text);
}
body .mp-page-shell :where(h1,h2,h3,h4,h5,h6), body .mp-footer :where(h2,h3,h4), body .mp-hero-title { color: var(--mp-white); }
body .mp-page-shell :where(p,li,figcaption) { color: var(--mp-text); }
body .mp-footer .mp-contact-details h3 { color: var(--mp-muted); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 6px; }
body .mp-page-shell .mp-eyebrow { color: var(--mp-highlight); }
.mp-header-inner { padding-block: 10px; }
.mp-logo { max-height: 68px; max-width: 130px; }
@media (max-width: 600px) { .mp-logo { max-height: 56px; max-width: 104px; } }

/* v1.0.2 — layout components used by the page builder (all core blocks). */
.mp-page-shell .is-layout-flow > * + * { margin-block-start: 20px; }
.mp-page-shell .mp-section-header { margin-bottom: 48px; }
.mp-page-shell .mp-section-header > .mp-eyebrow { margin-bottom: 14px; }
.mp-page-shell .mp-section-header h2 { margin-bottom: 14px; }
.mp-page-shell .mp-lead { color: var(--mp-white); font-size: 1.1875rem; }
.mp-page-shell .wp-block-buttons { margin-top: 32px; }

/* Card grids */
.mp-card-grid { display: grid; grid-template-columns: repeat(var(--mp-cols, 3), minmax(0, 1fr)); gap: 24px; }
.mp-card-grid > .wp-block-group__inner-container { display: contents; }
.mp-card-grid.mp-grid-4 { --mp-cols: 4; }
.mp-card-grid.mp-grid-3 { --mp-cols: 3; }
.mp-card-grid.mp-grid-2 { --mp-cols: 2; }
.mp-page-shell .mp-card-grid > *, .mp-page-shell .mp-card-grid > .wp-block-group__inner-container > * { margin: 0 !important; }
.mp-card-grid + .mp-card-grid { margin-top: 24px; }
.mp-page-shell .mp-service-card { display: flex; flex-direction: column; overflow: hidden; }
.mp-page-shell .mp-service-card > .wp-block-group__inner-container { display: flex; flex-direction: column; height: 100%; }
.mp-page-shell .mp-service-card .wp-block-image { margin: -32px -32px 24px !important; }
.mp-page-shell .mp-service-card .wp-block-image img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 400ms var(--mp-ease); }
.mp-page-shell .mp-service-card .mp-eyebrow { margin-bottom: 10px; font-size: .6875rem; }
.mp-page-shell .mp-service-card h3 { font-size: 1.25rem; margin-bottom: 12px; }
.mp-page-shell .mp-card-link { margin-top: auto !important; padding-top: 12px; }
.mp-page-shell .mp-card-link a { color: var(--mp-highlight); font-weight: 700; text-decoration: none; }
.mp-page-shell .mp-card-link a:hover { color: var(--mp-white); }
.mp-page-shell .mp-service-card--compact { border-top-width: 1px; border-top-color: var(--mp-border); background: rgba(11,15,23,.55); }
.mp-page-shell .mp-service-card--compact h3 { font-size: 1.0625rem; }
.mp-page-shell .mp-value-card .mp-eyebrow { font-size: .875rem; color: var(--mp-blue); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .mp-page-shell .mp-service-card:hover .wp-block-image img { transform: scale(1.04); }
  .mp-page-shell .mp-service-card:hover { border-color: #3B6EA8; }
}

/* Two-column splits */
.mp-page-shell .wp-block-columns.mp-split { gap: 64px; align-items: center; }
.mp-page-shell .mp-split .wp-block-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
.mp-page-shell .mp-split .mp-image-placeholder { aspect-ratio: 4 / 3; min-height: 0; border-radius: 4px; }

/* Services detail */
.mp-page-shell .mp-service-detail { padding-block: 56px; border-top: 1px solid var(--mp-border); scroll-margin-top: 210px; }
.mp-page-shell .mp-service-detail:first-of-type { border-top: 0; padding-top: 0; }
.mp-page-shell .mp-service-detail h3 { font-size: clamp(1.5rem, 2.4vw, 1.875rem); }
.mp-page-shell .mp-service-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 28px; }
.mp-page-shell .mp-service-lists > .wp-block-group__inner-container { display: contents; }
.mp-page-shell .mp-service-lists h4 { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mp-highlight); margin-bottom: 12px; }
.mp-page-shell ul.mp-check-list { list-style: none; padding: 0; margin: 0; }
.mp-page-shell ul.mp-check-list li { position: relative; padding-left: 24px; font-size: .9375rem; line-height: 1.55; }
.mp-page-shell ul.mp-check-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 6px; border-left: 2px solid var(--mp-highlight); border-bottom: 2px solid var(--mp-highlight); transform: rotate(-45deg); }
.mp-page-shell .mp-service-nav { position: sticky; top: calc(var(--mp-header-height) + var(--mp-admin-offset)); z-index: 50; padding: 14px 24px; background: rgba(11,15,23,.96); border-bottom: 1px solid var(--mp-border); }
.mp-page-shell .mp-service-nav p { margin: 0; font-size: .8125rem; line-height: 1.9; color: var(--mp-muted); }
.mp-page-shell .mp-service-nav p + p { margin-top: 2px !important; }
.mp-page-shell .mp-service-nav a { color: var(--mp-text); text-decoration: none; white-space: nowrap; }
.mp-page-shell .mp-service-nav a:hover { color: var(--mp-highlight); }

/* Inner page banners: photography with a dark overlay (swap via the banner's class) */
.mp-page-shell .mp-banner { padding: 120px 24px 96px; background-color: var(--mp-bg); background-size: cover; background-position: center 55%;
  background-image: linear-gradient(90deg, rgba(11,15,23,.96) 0%, rgba(11,15,23,.86) 45%, rgba(11,15,23,.55) 100%), var(--mp-banner-img, none); }
.mp-banner--about { --mp-banner-img: url(images/roof-waterproofing.webp); }
.mp-banner--services { --mp-banner-img: url(images/roof-joints-fasteners.webp); }
.mp-banner--projects { --mp-banner-img: url(images/ibr-roof-waterproofing.webp); }
.mp-banner--contact { --mp-banner-img: url(images/roof-inspection.webp); }
.mp-page-shell .mp-banner p:not(.mp-eyebrow) { font-size: 1.1875rem; max-width: 720px; }

/* Closing call to action */
.mp-page-shell .mp-cta { background: var(--mp-surface); border-top: 1px solid var(--mp-border); position: relative; overflow: hidden; }
.mp-page-shell .mp-cta::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--mp-blue); }
.mp-page-shell .mp-cta-inner { max-width: 820px; margin-inline: auto; text-align: center; }
.mp-page-shell .mp-cta-inner .wp-block-buttons { justify-content: center; }
.mp-page-shell .mp-cta h2 { font-size: clamp(2rem, 4vw, 3rem); }

/* Project filters */
.mp-project-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.mp-project-filters button { min-height: 44px; padding: 8px 16px; border: 1px solid var(--mp-border); border-radius: 3px; background: transparent; color: var(--mp-text); }
.mp-project-filters button[aria-pressed="true"] { background: var(--mp-blue); border-color: var(--mp-blue); color: #080D16; }
#mp-lightbox { max-width: min(1100px, 94vw); padding: 0; border: 1px solid var(--mp-border); background: var(--mp-bg); color: var(--mp-text); }
#mp-lightbox::backdrop { background: rgba(0,0,0,.85); }
#mp-lightbox button { position: absolute; right: 12px; top: 12px; min-height: 44px; padding: 8px 14px; background: var(--mp-bg); color: var(--mp-white); border: 1px solid var(--mp-border); }
#mp-lightbox figure { margin: 0; } #mp-lightbox figcaption { padding: 12px 16px; }

@media (max-width: 1024px) {
  .mp-card-grid.mp-grid-4, .mp-card-grid.mp-grid-3 { --mp-cols: 2; }
  .mp-page-shell .wp-block-columns.mp-split { gap: 40px; }
}
@media (max-width: 781px) {
  .mp-page-shell .wp-block-columns.mp-split { flex-direction: column; }
  .mp-page-shell .wp-block-columns.mp-split--reverse { flex-direction: column-reverse; }
  .mp-page-shell .wp-block-columns.mp-split > .wp-block-column { flex-basis: 100% !important; width: 100%; }
  .mp-page-shell .mp-service-lists { grid-template-columns: 1fr; }
  .mp-page-shell .mp-service-nav { position: static; }
  .mp-page-shell .mp-banner { padding: 80px 20px 64px; }
}
@media (max-width: 600px) {
  .mp-card-grid.mp-grid-4, .mp-card-grid.mp-grid-3, .mp-card-grid.mp-grid-2 { --mp-cols: 1; }
  .mp-page-shell .mp-service-card .wp-block-image { margin: -24px -24px 20px !important; }
}
.mp-page-shell .mp-service-lists > *, .mp-page-shell .mp-service-lists > .wp-block-group__inner-container > * { margin-top: 0 !important; }

/* v1.0.5 — WPForms uses its own CSS variables; map them to the brand so labels and fields stay readable on dark. */
.mp-page-shell .wpforms-container, .mp-page-shell .wpforms-container-full {
  --wpforms-label-color: #D6DEEA; --wpforms-label-sublabel-color: #99A7B9; --wpforms-label-error-color: #FF8A8A;
  --wpforms-field-background-color: #0B0F17; --wpforms-field-border-color: #58677D; --wpforms-field-text-color: #FFFFFF;
  --wpforms-field-menu-color: #151C28; --wpforms-button-background-color: #007FFC; --wpforms-button-text-color: #080D16;
  --wpforms-button-border-color: #007FFC; --wpforms-field-border-radius: 3px; --wpforms-button-border-radius: 3px;
}
.mp-page-shell .wpforms-container .wpforms-field-label, .mp-page-shell .wpforms-container legend { color: #D6DEEA !important; }
.mp-page-shell .wpforms-container .wpforms-required-label { color: #28A5FF !important; }
.mp-page-shell .wpforms-container .wpforms-field-label-inline a, .mp-page-shell .wpforms-container .wpforms-field-description a { color: #28A5FF; }

/* v1.0.5 — mobile hero: full-width stacked buttons, controls on their own row so they never cover the buttons. */
@media (max-width: 600px) {
  .mp-hero-content { padding-bottom: 104px; }
  .mp-hero-title { font-size: 2.375rem; }
  .mp-hero-actions { display: flex; flex-direction: column; align-items: stretch; gap: 12px; }
  .mp-hero-actions .mp-button { width: 100%; justify-content: center; text-align: center; }
  .mp-slide-count { display: none; }
  .mp-slider-controls { left: 20px; right: 20px; bottom: 24px; justify-content: space-between; flex-wrap: nowrap; }
  .mp-slider-dots { margin-inline: 0; }
}
/* v1.0.6 — keep the floating WhatsApp button clear of the hero slider controls on phones. */
@media (max-width: 600px) { .ht-ctc.ht-ctc-chat { bottom: 92px !important; right: 12px !important; } }

/* v1.0.7 — live-site empty states and service visuals */
.mp-page-shell .mp-gallery-soon { max-width: 760px; margin: 0 auto 8px; padding: 48px 40px; text-align: center; border: 1px solid var(--mp-border); border-top: 2px solid var(--mp-blue); border-radius: 4px; background: var(--mp-surface); }
.mp-page-shell .mp-gallery-soon h3 { margin-bottom: 12px; }
.mp-page-shell .mp-gallery-soon .mp-button { margin-top: 20px; }
.mp-page-shell .mp-service-visual { display: flex; align-items: flex-end; aspect-ratio: 4 / 3; padding: 32px; border: 1px solid var(--mp-border); border-radius: 4px;
  background: linear-gradient(135deg, rgba(0,127,252,.22) 0%, rgba(21,28,40,.9) 55%), repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 2px, transparent 2px 28px), var(--mp-surface); }
.mp-page-shell .mp-service-visual p { margin: 0; color: var(--mp-white); font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.mp-page-shell .mp-service-visual p::before { content: ""; display: block; width: 48px; height: 3px; margin-bottom: 18px; background: var(--mp-highlight); }
/* v1.1.0 — on-brand form success and error messages */
.mp-page-shell .wpforms-confirmation-container-full { margin: 0; padding: 24px 28px; border: 1px solid var(--mp-border); border-left: 4px solid var(--mp-highlight); border-radius: 4px; background: var(--mp-surface); color: var(--mp-white); }
.mp-page-shell .wpforms-confirmation-container-full p { margin: 0; color: var(--mp-white); }
.mp-page-shell .wpforms-container .wpforms-error-container, .mp-page-shell .wpforms-container .wpforms-error-container p { color: #FF8A8A; }
.mp-page-shell .wpforms-container .wpforms-error-container { padding: 14px 18px; border: 1px solid #7A2E2E; border-radius: 4px; background: rgba(122,46,46,.18); }
/* v1.1.2 — arrows and pause removed; dots only */
.mp-slider-dots { margin-inline: 0; }
@media (max-width: 600px) { .mp-slider-controls { justify-content: flex-start; } .ht-ctc.ht-ctc-chat { bottom: 15px !important; } }
/* v1.2.0 — footer terms link + legal page lists */
.mp-footer .mp-footer-terms { margin-top: 16px; }
.mp-footer .mp-footer-terms a { color: var(--mp-highlight); font-weight: 600; text-decoration: none; }
.mp-footer .mp-footer-terms a:hover, .mp-footer .mp-footer-terms a[aria-current="page"] { color: var(--mp-white); text-decoration: underline; }
.mp-page-shell .mp-container > ul.mp-check-list { margin: 8px 0 20px; }
.mp-page-shell .mp-container > ul.mp-check-list li + li { margin-top: 6px; }
/* v1.3.0 — legal links under the footer description; project photo pairs */
.mp-footer .mp-footer-legal { list-style: none; margin: 16px 0 0; padding: 0; }
.mp-footer .mp-footer-legal li + li { margin-top: 6px; }
.mp-footer .mp-footer-legal a { color: var(--mp-highlight); font-weight: 600; text-decoration: none; }
.mp-footer .mp-footer-legal a:hover, .mp-footer .mp-footer-legal a[aria-current="page"] { color: var(--mp-white); text-decoration: underline; }
.mp-page-shell .mp-project-photos { gap: 24px; margin-top: 24px; }
.mp-page-shell .mp-project-photos .wp-block-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
.mp-page-shell .mp-project-photos figcaption { margin-top: 8px; color: var(--mp-highlight); font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; text-align: left; }
.mp-project-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
/* v1.3.1 — service jump menu is long now: let it scroll with the page; anchors only clear the sticky header */
.mp-page-shell .mp-service-nav { position: static; }
.mp-page-shell .mp-service-detail, .mp-page-shell .mp-section[id] { scroll-margin-top: calc(var(--mp-header-height, 90px) + var(--mp-admin-offset, 0px) + 24px); }
