/* All Star Cleaning: design-specific styles. Tokens live in tokens.json → css/00-tokens.css. */

body { background: var(--color-background); color: var(--color-text); font-family: var(--font-body); font-size: var(--text-base); line-height: 1.55; }
:root { --topbar-bg: var(--color-blue); --header-bg: var(--color-navy); --nav-hover: var(--color-sky); --image-radius: var(--radius-md); --section-bg: var(--color-background); }

/* ---------- surfaces: what text looks like on each background ---------- */
.has-navy-background-color { --surface-bg: var(--color-navy); --surface-text: var(--color-navy-soft); --surface-heading: #fff; --surface-link: var(--color-sky); --eyebrow-color: var(--color-lime); --em-color: var(--color-sky); --card-bg: #fff; --card-text: var(--color-navy); --line-color: var(--color-navy-line); }
.has-blue-background-color { --surface-bg: var(--color-blue); --surface-text: #fff; --surface-heading: #fff; --surface-link: #fff; --eyebrow-color: var(--color-lime); --em-color: var(--color-navy); --card-bg: #fff; --card-text: var(--color-navy); }
.has-coral-background-color { --surface-bg: var(--color-coral); --surface-text: var(--color-navy); --surface-heading: var(--color-navy); --surface-link: var(--color-navy); --eyebrow-color: #fff; --em-color: #fff; --card-bg: #fff; --card-text: var(--color-navy); }
.has-light-blue-background-color { --surface-bg: var(--color-light-blue); --surface-text: var(--color-navy); --surface-heading: var(--color-navy); --surface-link: var(--color-blue); --eyebrow-color: var(--color-blue); --em-color: var(--color-blue); }
.has-white-background-color, .has-off-white-background-color { --surface-bg: #fff; --surface-text: var(--color-navy); --surface-heading: var(--color-navy); --surface-link: var(--color-blue); --eyebrow-color: var(--color-coral); --em-color: var(--color-blue); }
.has-off-white-background-color { --surface-bg: var(--color-off-white); }
.has-lime-background-color { --surface-bg: var(--color-lime); --surface-text: var(--color-navy); --surface-heading: var(--color-navy); }

/* ---------- sections ---------- */
.entry-content > .alignfull.wp-block-group { position: relative; }
.is-style-scallop-top, .is-style-scallop-bottom, .is-style-scallop-both { position: relative; }
.is-style-scallop-bottom::after, .is-style-scallop-both::after, .is-style-scallop-top::before, .is-style-scallop-both::before { content: ''; position: absolute; left: 0; right: 0; height: 28px; z-index: 2; pointer-events: none; background-color: transparent; background-size: 56px 28px; background-repeat: repeat-x; }
.is-style-scallop-bottom::after, .is-style-scallop-both::after { bottom: -27px; background-image: radial-gradient(circle at 50% 0, var(--section-bg) 27px, transparent 28px); }
.is-style-scallop-top::before, .is-style-scallop-both::before { top: -27px; background-image: radial-gradient(circle at 50% 100%, var(--section-bg) 27px, transparent 28px); }
.is-style-scallop-top, .is-style-scallop-both { margin-top: 28px !important; }

/* four-point stars (background layers, so they never collide with scallop pseudo-elements) */
.is-style-sparkles { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpolygon fill='%231C7FE0' points='50,0 58,42 100,50 58,58 50,100 42,58 0,50 42,42'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpolygon fill='%23B5D84A' points='50,0 58,42 100,50 58,58 50,100 42,58 0,50 42,42'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 4% top 40px, right 13% top 150px; background-size: clamp(60px, 8vw, 120px), clamp(32px, 4vw, 54px); }
@media (width < 950px) { .is-style-sparkles { background-position: right 6% top 24px, right 20% top 90px; } }

/* cards */
.is-style-card { background: var(--card-bg, #fff); color: var(--card-text, var(--color-navy)); border-radius: var(--radius-lg); padding: var(--space-lg); box-shadow: var(--shadow-card); transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s; }
.is-style-card h3 { color: var(--card-text, var(--color-navy)); }
.is-style-card p { color: var(--card-text, var(--color-navy)); }
.is-style-card.has-navy-background-color { --card-bg: var(--color-navy); --card-text: #fff; }
.is-style-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lift); }
.is-style-cards { gap: 1.25rem; }
.is-style-cards > .wp-block-column { background: var(--card-bg, #fff); color: var(--card-text, var(--color-navy)); border-radius: var(--radius-lg); padding: var(--space-lg); box-shadow: var(--shadow-card); transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s; }
.is-style-cards > .wp-block-column h3, .is-style-cards > .wp-block-column p { color: var(--card-text, var(--color-navy)); }
.is-style-cards > .wp-block-column:hover { transform: translateY(-8px); box-shadow: var(--shadow-lift); }
.is-style-cards > .wp-block-column.has-navy-background-color { --card-bg: var(--color-navy); --card-text: #fff; }

/* ---------- typography ---------- */
.is-style-hero { font-size: var(--text-4xl); line-height: 1; letter-spacing: -.02em; }
/* Photos inside the hero heading. They are decoration: keep their alt empty, or Firefox paints the alt text in the
   heading font while the photo loads (color: transparent is the safety net). The fill shows until the photo arrives. */
.is-style-hero img { display: inline-block; vertical-align: middle; height: .9em; width: auto !important; aspect-ratio: 2.4; object-fit: cover; border-radius: var(--radius-pill); border: 4px solid #fff; margin: 0 .1em; background: var(--color-sky); color: transparent; }
.is-style-hero img.narrow { aspect-ratio: 1.6; }
.is-style-display { font-size: var(--text-3xl); line-height: 1; }
.is-style-eyebrow { color: var(--eyebrow-color, var(--color-blue)); }
.hero-note { font-family: var(--font-accent); color: var(--color-lime); font-size: var(--text-accent); line-height: 1.05; white-space: nowrap; }
/* The note is decoration: its words live in data-note so they are not part of the H1 text. */
.hero-note::before { content: attr(data-note); }
strong.serif, .serif-number { font-family: var(--font-heading); font-weight: 400; }

/* ---------- images ---------- */
.is-style-arch img { border-radius: 300px 300px 24px 24px; aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.is-style-arch.is-wide img { aspect-ratio: 1; border-radius: 400px 400px 28px 28px; }
.is-style-arch-frame { border-radius: 400px 400px 28px 28px; overflow: hidden; }
.is-style-pill img { border-radius: var(--radius-pill); aspect-ratio: 2.4; object-fit: cover; border: 4px solid #fff; }
.is-style-polaroid, .is-style-polaroid-tilted { background: #fff; padding: 12px 12px 16px; border-radius: 6px; box-shadow: var(--shadow-lift); display: inline-block; }
.is-style-polaroid img, .is-style-polaroid-tilted img { border-radius: 4px; aspect-ratio: 4 / 3; object-fit: cover; }
.is-style-polaroid figcaption, .is-style-polaroid-tilted figcaption { font-family: var(--font-accent); font-size: 1.5rem; color: var(--color-navy); text-align: left; margin: .5rem 0 0; }
.is-style-polaroid-tilted { transform: rotate(-3deg); position: relative; }
.is-style-polaroid-tilted::before { content: ''; position: absolute; top: -12px; left: 50%; width: 90px; height: 24px; transform: translateX(-50%) rotate(-2deg); background: var(--color-lime); opacity: .9; }

/* ---------- buttons ---------- */
.wp-block-button__link { font-size: var(--text-sm); }
.is-style-navy .wp-block-button__link { background: var(--color-navy); color: #fff; }
.is-style-navy .wp-block-button__link:hover { background: var(--color-blue); color: #fff; }
.is-style-white .wp-block-button__link { background: #fff; color: var(--color-navy); }
.is-style-white .wp-block-button__link:hover { background: var(--color-blue); color: #fff; }
.is-style-blue .wp-block-button__link { background: var(--color-blue); color: #fff; }
.is-style-blue .wp-block-button__link:hover { background: var(--color-navy); }

/* life-moment chips: tilted pills that straighten on hover */
.is-style-chips { gap: 18px 16px; justify-content: center; }
.is-style-chips .wp-block-button__link { font-size: var(--text-lg); font-weight: 700; padding: .75em 1.4em; background: var(--chip-bg, var(--color-light-blue)); color: var(--chip-text, var(--color-navy)); transform: rotate(var(--rot, -4deg)); box-shadow: none; }
.is-style-chips .wp-block-button:nth-child(3n+1) { --chip-bg: var(--color-light-blue); --rot: -3deg; }
.is-style-chips .wp-block-button:nth-child(3n+2) { --chip-bg: var(--color-lime-tint); --rot: 2.5deg; }
.is-style-chips .wp-block-button:nth-child(3n) { --chip-bg: var(--color-coral-tint); --rot: -2deg; }
.is-style-chips .wp-block-button:nth-child(4) { --rot: 3.5deg; }
.is-style-chips .wp-block-button:nth-child(6) { --rot: 2deg; }
.is-style-chips .wp-block-button:last-child { --chip-bg: var(--color-navy); --chip-text: #fff; }
/* A group where every chip is a link is a list of places to go, so no chip gets the "this one" navy. */
.is-style-chips:not(:has(a:not([href]))) .wp-block-button:last-child { --chip-bg: var(--color-coral-tint); --chip-text: var(--color-navy); }
/* On a light blue section the light blue chips would vanish. */
.has-light-blue-background-color .is-style-chips .wp-block-button:nth-child(3n+1):not(:last-child) { --chip-bg: #fff; }
.is-style-chips a[href]:hover { transform: rotate(0) scale(1.08); box-shadow: 0 14px 28px rgba(24, 35, 80, .2); }
.is-style-chips a:not([href]), .is-style-chips a:not([href]):hover { cursor: default; background: var(--chip-bg, var(--color-light-blue)); color: var(--chip-text, var(--color-navy)); }

/* stat pills: <strong>850+</strong> families */
.is-style-stats { gap: 10px; }
.is-style-stats .wp-block-button__link { background: var(--stat-bg, #fff); color: var(--color-navy); padding: .6em 1.2em; font-weight: 600; cursor: default; align-items: baseline; }
.is-style-stats .wp-block-button__link strong { font-family: var(--font-heading); font-weight: 400; font-size: 1.9em; line-height: 1; }
.is-style-stats .wp-block-button:nth-child(2) { --stat-bg: var(--color-lime); }
.is-style-stats .wp-block-button:nth-child(3) { --stat-bg: var(--color-sky); }
.is-style-stats .wp-block-button__link:hover { background: var(--stat-bg, #fff); color: var(--color-navy); transform: none; }

/* star bullet list with dividers (benefits) */
.is-style-star-list li { padding: .8rem 0 .8rem 2.2rem; border-bottom: 1px solid var(--line-color, rgba(24, 35, 80, .12)); position: relative; font-weight: 600; transition: padding-left .3s, color .3s; }
.is-style-star-list li:first-child { border-top: 1px solid var(--line-color, rgba(24, 35, 80, .12)); }
.is-style-star-list li::before { content: ''; position: absolute; left: 0; top: .95rem; width: 1.1rem; height: 1.1rem; background: var(--color-blue); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpolygon points='50,0 58,42 100,50 58,58 50,100 42,58 0,50 42,42'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpolygon points='50,0 58,42 100,50 58,58 50,100 42,58 0,50 42,42'/%3E%3C/svg%3E") center / contain no-repeat; }
.is-style-star-list li:hover { padding-left: 2.9rem; color: var(--color-lime); }

/* ---------- services cards (link + arch image) ---------- */
.service-card { display: grid; gap: .75rem; color: inherit; transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
.service-card:hover { transform: translateY(-8px); color: var(--color-lime); }
.service-card .wp-block-image { overflow: hidden; border-radius: 300px 300px 24px 24px; border: 4px solid #fff; }
.service-card .wp-block-image a { display: block; }
.service-card .wp-block-image img { display: block; width: 100%; border-radius: 0; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.service-card:hover img { transform: scale(1.06); }
.service-card h3 { font-size: 1.75rem; margin: 0; text-wrap: balance; }
.service-card h3 a { color: inherit; }
.service-card p { font-size: var(--text-sm); color: var(--surface-text); margin: 0; }

/* ---------- FAQ ---------- */
.is-style-faq summary { font-family: var(--font-heading); font-size: var(--text-lg); font-weight: 400; }

/* ---------- forms (quote bar) ---------- */
.kwp-form--inline form { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 4px; background: #fff; color: var(--color-navy); border-radius: 24px; padding: 8px; max-width: 760px; box-shadow: var(--shadow-deep); }
.kwp-form--inline label { padding: 10px 16px; border-right: 1px solid rgba(24, 35, 80, .1); }
.kwp-form--inline input, .kwp-form--inline select { border: 0; padding: 0; background: transparent; font-size: var(--text-md); }
.kwp-form--inline .kwp-form__submit { align-self: stretch; }
.kwp-form--inline .btn { height: 100%; width: 100%; font-size: var(--text-md); padding-inline: 1rem; }
@media (width >= 782px) { .kwp-form--inline form { grid-template-columns: 1fr 1fr 1fr auto; } .kwp-form--inline .btn { white-space: nowrap; padding-inline: 1.5rem; } .kwp-form--inline label:last-of-type { border-right: 0; } }
@media (width < 782px) { .kwp-form--inline label:nth-of-type(even) { border-right: 0; } }
.kwp-form--stacked form { display: grid; gap: .6rem; }
.kwp-form--stacked .kwp-form__row { display: grid; gap: .6rem; grid-template-columns: 1fr 1fr; }
.kwp-form--stacked .btn { width: 100%; font-size: var(--text-md); background: var(--color-navy); color: #fff; }
.kwp-form--stacked .btn:hover { background: var(--color-blue); }
.kwp-form--button .btn { width: auto; height: auto; }
.kwp-form__note { font-size: var(--text-sm); opacity: .85; margin-top: .6rem; }
.kwp-form__note { --surface-link: currentColor; }
.kwp-form__note a { font-weight: 700; color: inherit; text-decoration: underline; }

/* ---------- reviews ---------- */
.reviews { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.review { background: #fff; color: var(--color-navy); border-radius: var(--radius-lg); padding: var(--space-lg); box-shadow: var(--shadow-card); display: grid; gap: .9rem; align-content: start; }
.review__stars { color: var(--color-blue); letter-spacing: .1em; font-size: 1.1rem; }
.review__text { font-family: var(--font-heading); font-size: 1.5rem; line-height: 1.25; }
.review__text p { font: inherit; }
.review__who { font-family: var(--font-accent); font-size: 1.5rem; color: var(--color-coral); line-height: 1; }
.review__who small { font-family: var(--font-body); font-size: var(--text-xs); color: var(--color-navy); opacity: .6; display: block; margin-top: .4rem; }

/* ---------- team ---------- */
.team { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.team__member img { border-radius: 200px 200px 20px 20px; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 15%; width: 100%; }
.team__name { font-family: var(--font-heading); font-size: 1.5rem; margin-top: .75rem; }
.team__role { font-size: var(--text-sm); opacity: .75; }

/* ---------- service areas ---------- */
.service-areas { --surface-link: var(--color-navy); display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; }
.wp-block-kwp-service-areas .service-areas a, .service-areas a, .service-areas span { display: inline-block; padding: .5em 1em; border-radius: var(--radius-pill); background: #fff; color: var(--color-navy); font-weight: 600; box-shadow: var(--shadow-card); }

/* ---------- misc ---------- */
.page--front .entry-content { padding-bottom: 0; }
.entry-content > .alignfull.wp-block-group:last-child { margin-bottom: 0; }
.wp-block-group.has-background:not(.alignfull) { padding: var(--space-lg); border-radius: var(--radius-xl); }

/* ---------- homepage compositions ---------- */
.polaroid-stack { position: relative; padding-top: 8%; }
.polaroid-stack .is-style-polaroid { width: 72%; margin: 0; position: relative; }
.polaroid-stack .is-style-polaroid::before { content: ''; position: absolute; left: -18px; top: -18px; width: 56px; height: 56px; z-index: 2; background: var(--color-coral); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpolygon points='50,0 58,42 100,50 58,58 50,100 42,58 0,50 42,42'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpolygon points='50,0 58,42 100,50 58,58 50,100 42,58 0,50 42,42'/%3E%3C/svg%3E") center / contain no-repeat; }
.polaroid-stack .is-style-polaroid-tilted { position: absolute; right: 0; top: 0; width: 56%; margin: 0; z-index: 1; }
.polaroid-stack .is-style-polaroid-tilted img { aspect-ratio: 1; }
.arch-with-card { position: relative; padding-bottom: 3rem; }
.arch-with-card .is-style-arch img { border: 4px solid var(--color-blue); }
.arch-with-card .wp-block-kwp-reviews { position: absolute; left: -6%; bottom: 0; width: min(100%, 340px); margin: 0; }
.arch-with-card .review { padding: 1.5rem; gap: .5rem; box-shadow: var(--shadow-deep); }
.arch-with-card .review__text { font-size: 1.25rem; }
.arch-with-card .review__who { font-size: 1.1rem; font-family: var(--font-body); font-weight: 700; color: var(--color-navy); }
.arch-with-card .review__stars { font-size: .9rem; }
@media (width < 782px) { .arch-with-card .wp-block-kwp-reviews { position: static; width: auto; margin-top: -3rem; } .polaroid-stack { padding-top: 12%; } }
.stat-huge { font-size: clamp(3.5rem, 7vw, 6.75rem) !important; line-height: .95; color: #fff; }
.community-feature { display: grid; align-content: space-between; gap: 1rem; }
.card-star { font-size: 1.75rem; line-height: 1; color: var(--color-blue); margin-bottom: .25rem; }
.card-star--coral { color: var(--color-coral); }
.card-star--lime { color: var(--color-lime); }
.community-cards > .wp-block-column { display: grid; align-content: start; gap: .6rem; }
.community-cards h3 { font-size: 1.75rem; line-height: 1.05; }
.services-grid { gap: 1.5rem; }
.hero .is-style-lead { max-width: 34rem; color: var(--color-navy-soft); }
.hero__row { margin-top: var(--space-lg) !important; }
.hero .wp-block-kwp-form { margin-top: var(--space-lg); }

/* ---------- inner pages ---------- */
.page .entry-content > .alignfull:first-child { margin-top: 0; }
.entry-content:has(> .alignfull:last-child) { padding-bottom: 0; }
.page-hero h1 { font-size: clamp(2.6rem, 6.5vw, 6rem); line-height: 1; letter-spacing: -.02em; max-width: min(14em, 74%); text-wrap: balance; }
@media (width < 950px) { .page-hero h1 { max-width: 100%; } }
.page-hero .is-style-lead { max-width: 38rem; }
.page-hero .is-style-stats { margin-top: var(--space-md); }
.page-hero .wp-block-buttons:not(.is-style-stats) { margin-top: var(--space-md); }
.section-intro { max-width: var(--layout-text); }

/* checklist bullets */
.is-style-checklist { list-style: none; padding-left: 0; }
.is-style-checklist li { position: relative; padding-left: 1.7rem; margin-bottom: .45rem; }
.is-style-checklist li::before { content: ''; position: absolute; left: 0; top: .45em; width: 1rem; height: 1rem; border-radius: 50%; background: var(--check-bg, var(--color-lime)); -webkit-mask: none; }
.is-style-checklist li::after { content: ''; position: absolute; left: .32rem; top: calc(.45em + .22rem); width: .32rem; height: .55rem; border-right: 2px solid var(--color-navy); border-bottom: 2px solid var(--color-navy); transform: rotate(45deg); }
.is-style-plain { list-style: none; padding-left: 0; }
.checklist-cards > .wp-block-column h3 { font-size: 1.6rem; margin-bottom: .5rem; }
.checklist-cards > .wp-block-column h4 { font-family: var(--font-body); font-size: var(--text-sm); text-transform: uppercase; letter-spacing: .08em; color: var(--color-blue); margin-top: 1rem; }
.checklist-cards .is-style-checklist li { font-size: var(--text-sm); }

/* team grid: cards with or without a photo. The <li> is display: contents so the card and its bio panel are
   both grid items; dense flow lets the full-width panel drop under the card's row while later cards fill the row. */
.team { grid-auto-flow: dense; list-style: none; padding: 0; margin: 0; }
.team__item { display: contents; }
.team__member { background: var(--card-bg, #fff); color: var(--card-text, var(--color-navy)); border-radius: var(--radius-lg); padding: 1.1rem; box-shadow: var(--shadow-card); display: grid; align-content: start; }
.team__avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--color-light-blue); color: var(--color-navy); font-family: var(--font-heading); font-size: 1.9rem; display: grid; place-items: center; }
.team__item:nth-child(3n+2) .team__avatar { background: var(--color-lime-tint); }
.team__item:nth-child(3n) .team__avatar { background: var(--color-coral-tint); }
.team__name { font-size: 1.35rem; margin-top: .6rem; }
/* a member with a bio or client notes is a button that opens the panel */
.team__toggle { border: 0; font: inherit; text-align: left; cursor: pointer; width: 100%; outline: 3px solid transparent; outline-offset: 2px; transition: transform .2s, outline-color .2s; }
.team__toggle:hover { transform: translateY(-3px); }
.team__toggle:focus-visible, .team__toggle[aria-expanded="true"] { outline-color: var(--color-sky); }
.team__panel { grid-column: 1 / -1; position: relative; display: grid; gap: 1.5rem; align-items: start; background: var(--color-light-blue); color: var(--color-navy); border-radius: var(--radius-lg); padding: 1.5rem; scroll-margin-top: 6.5rem; }
.team__panel[hidden] { display: none; }
@media (width >= 700px) {
  .team__panel { grid-template-columns: minmax(180px, 280px) 1fr; gap: 2.5rem; padding: 2.25rem; }
  .team__panel .team__panel-photo { width: 100%; }
}
.team__panel-photo { width: min(100%, 200px); aspect-ratio: 4 / 5; object-fit: cover; border-radius: 200px 200px 20px 20px; }
.team__panel-name { font-size: 2rem; margin: 0; padding-right: 2.5rem; }
.team__panel-role { font-size: var(--text-sm); opacity: .75; margin: .15rem 0 0; }
.team__close { position: absolute; top: .9rem; right: .9rem; width: 2.4rem; height: 2.4rem; border: 0; border-radius: 50%; background: #fff; color: var(--color-navy); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.team__close:hover { background: var(--color-lime); }
.team__bio { margin-top: 1rem; max-width: 70ch; }
.team__bio > :first-child { margin-top: 0; }
.team__bio ul { padding-left: 1.2em; list-style: disc; }
.team__bio li + li { margin-top: .5rem; }
.team__bio h3 { font-size: 1.35rem; margin: 1.5rem 0 .75rem; }
.team__bio .wp-block-quote { border: 0; margin: 0 0 1.1rem; padding: 0 0 0 1.1rem; border-left: 3px solid var(--color-sky); }
.team__bio .wp-block-quote p { margin: 0; }
.team__bio .wp-block-quote cite { display: block; margin-top: .25rem; font-style: normal; font-weight: 700; font-size: var(--text-sm); }
.team__bio .wp-block-quote cite::before { content: '\2013\00a0'; }
.team--compact { grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr)); }

/* offices / contact cards */
.office-card address { font-style: normal; line-height: 1.6; }
.office-card a { font-weight: 600; }
.office-card .hours { font-size: var(--text-sm); opacity: .8; }

/* pricing table */
.pricing-table table { border-collapse: separate; border-spacing: 0; }
.pricing-table td, .pricing-table th { border: 0; border-bottom: 1px solid rgba(24, 35, 80, .12); padding: .55rem .5rem; }
.pricing-table th { text-align: left; font-size: var(--text-sm); text-transform: uppercase; letter-spacing: .08em; color: var(--color-blue); }
.pricing-table td:last-child, .pricing-table th:last-child { text-align: right; font-weight: 700; }

/* quote cards (employee / client voices) */
.quote-cards > .wp-block-column { display: grid; align-content: space-between; gap: 1rem; }
.quote-cards blockquote { margin: 0; font-size: var(--text-md); line-height: 1.5; }
.quote-cards blockquote::before { content: '“'; font-family: var(--font-heading); font-size: 3rem; line-height: 0; color: var(--color-coral); display: block; margin: 1rem 0 .2rem; }
.quote-cards cite { font-style: normal; font-family: var(--font-accent); font-size: 1.4rem; color: var(--color-blue); }

/* press links */
.press-list a { font-weight: 600; }

/* locations grid */
.locations-grid > .wp-block-column h3 { font-size: 1.5rem; }
.locations-grid > .wp-block-column p { font-size: var(--text-sm); }
.page-hero h1, .page-hero .is-style-lead, .section-intro { margin-left: max(0px, calc((100% - var(--layout-content, 1240px)) / 2)) !important; }
.quote-cards .wp-block-quote { border: 0; padding: 0; margin: 0; }

/* ---------- blog posts ---------- */
.post--single .post__title { font-size: clamp(1.8rem, 4.5vw, 3.4rem); line-height: 1.1; text-wrap: balance; }
.post--single .entry-content h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-top: 2.5rem; }
.post--single .entry-content h3 { font-size: 1.35rem; margin-top: 2rem; }
.post--single .entry-content .wp-block-image img { border-radius: var(--radius-lg); }

/* ---------- audit fixes, November 2026 ---------- */
h2, h3 { text-wrap: balance; }
/* sparkles sit in the corner of the hero, clear of the headline */
@media (width < 950px) { .is-style-sparkles { background-position: right 4% top 14px, right 4% bottom 46px; background-size: 44px, 26px; } }
/* top bar: one line on phones */
@media (width < 700px) { .topbar__inner { justify-content: center; text-align: center; gap: .15rem 1rem; padding-block: .4rem; font-size: var(--text-xs); } }
@media (width < 480px) { .topbar__text { display: none; } }
/* home hero on phones */
@media (width < 782px) {
  .hero .is-style-stats { justify-content: flex-start !important; }
  .polaroid-stack .is-style-polaroid-tilted { width: 46%; }
  .polaroid-stack .is-style-polaroid figcaption, .polaroid-stack .is-style-polaroid-tilted figcaption { font-size: 1.2rem; }
  .kwp-video__icon { width: 60px; height: 60px; }
}
/* awards row (white badges, used inside navy sections) */
.awards { margin-top: var(--space-xl); text-align: center; }
.awards h3 { font-size: 1.6rem; }
.awards__text { max-width: 44rem; margin-inline: auto; opacity: .9; }
.awards__badges { gap: 1.5rem 2.25rem; margin-top: var(--space-md); align-items: center; justify-content: center; }
.awards__badges .wp-block-image { margin: 0; }
.awards__badges .wp-block-image img { height: 84px; width: auto; border-radius: 0; }
@media (width < 700px) { .awards__badges { gap: 1rem 1.25rem; } .awards__badges .wp-block-image img { height: 60px; } }
/* reviews */
.reviews-note { margin-top: var(--space-lg); font-weight: 600; }
.reviews-wall .reviews { display: block; columns: 3 300px; column-gap: 1.25rem; }
.reviews-wall .review { break-inside: avoid; margin: 0 0 1.25rem; }
.local-review { margin: var(--space-md) 0 0; padding: 0 0 0 1.1rem; border: 0; border-left: 3px solid var(--color-sky); }
.local-review p { margin: 0; font-style: italic; }
.local-review cite { display: block; margin-top: .35rem; font-style: normal; font-weight: 700; font-size: var(--text-sm); }
/* locations */
.locations-title { margin-bottom: var(--space-md); }
.locations-grid + .locations-grid { margin-top: var(--wp--style--block-gap, 1.5rem); }
/* blog list: cards without a photo stay compact, and the grid has no lonely last card */
.post-list { grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); align-items: start; }
.post-card__title { text-wrap: balance; hyphens: manual; }
.blog-index__header { margin-bottom: var(--space-lg); }
/* single posts */
.post--single .entry-content .wp-block-table td, .post--single .entry-content .wp-block-table th { padding: .5rem .75rem; border: 1px solid color-mix(in srgb, currentColor 18%, transparent); }
/* 404 */
.not-found { text-align: center; padding-block: var(--space-2xl, 6rem); }
.not-found h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); max-width: 18em; margin-inline: auto; text-wrap: balance; }
.not-found p { margin-top: 1.25rem; }
/* Text links: the bright brand blue is only 4.1:1 on white, so links in running text use a darker blue. */
:root { --link-text: #1565c0; }
a { color: var(--link-text); }
.has-light-blue-background-color, .has-white-background-color, .has-off-white-background-color { --surface-link: var(--link-text); }
/* blog index lines up with the header */
.blog-index, .not-found { max-width: calc(var(--layout-content) + 2 * var(--space-page-x)); }
/* cards rows sit a little lower than their heading */
.entry-content h2 + .wp-block-columns, .entry-content h2 + .wp-block-kwp-faq { margin-top: var(--space-lg); }
.is-style-cards > .wp-block-column h3 { text-wrap: balance; }
/* quote cards: three across, names on one line */
.quote-cards { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (width < 1000px) { .quote-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (width < 640px) { .quote-cards { grid-template-columns: 1fr; } }
.quote-cards > .wp-block-column { display: flex; flex-direction: column; }
.quote-cards .wp-block-quote { display: flex; flex-direction: column; flex: 1; }
.quote-cards cite { margin-top: auto; padding-top: 1rem; }
/* guides from the blog under the FAQ */
.guides-title { margin-top: var(--space-xl); font-size: 1.5rem; }
.guides-list { list-style: none; padding: 0; margin-inline: auto; display: grid; gap: .5rem; text-align: center; }
.guides-list a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
/* second visual pass */
.service-card { align-content: start; }
.is-style-cards > .wp-block-column.has-navy-background-color { display: flex; flex-direction: column; justify-content: center; }
.locations-grid { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (width < 900px) { .locations-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (width < 600px) { .locations-grid { grid-template-columns: 1fr; } }
.awards__badges { gap: 1rem 1.25rem; }
.awards__badges .wp-block-image img { height: 64px; }
@media (width < 700px) { .awards__badges .wp-block-image img { height: 52px; } }
@media (width < 782px) { .kwp-form--inline .kwp-form__submit { grid-column: 1 / -1; } .kwp-form--inline .btn { padding-block: .9rem; } }
.page > .entry-content > h1 { font-size: clamp(2.2rem, 4.5vw, 3.2rem); margin-bottom: 1.5rem; }
.post--single .entry-content .wp-block-image img { max-height: 560px; width: auto; max-width: 100%; height: auto; object-fit: contain; }
