/*
Theme Name: Pavecraft
Theme URI: https://pavecraft.co.nz
Author: Sailor Creative
Author URI: https://sailorcreative.nz
Description: Pavecraft — child theme of Sailor Start.
Template: sailor-start
Requires at least: 6.9
Requires PHP: 7.4
Version: 1.0.0
License: UNLICENSED
Text Domain: pavecraft
*/

/* ==========================================================================
   Tokens & icons
   ========================================================================== */

:root {
	--pc-gold: var(--wp--preset--color--custom-gold);
	--pc-gold-light: var(--wp--preset--color--custom-gold-light);
	--pc-ink: var(--wp--preset--color--custom-ink);
	--pc-gutter: var(--wp--preset--spacing--50);
	--pc-radius: var(--wp--custom--radius, 6px);
	--pc-hero-radius: var(--wp--custom--hero-radius, 30px);
	--pc-card-border: #e3e3e3;

	--pc-icon-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 5 7 7-7 7'/%3E%3C/svg%3E");
	--pc-icon-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h16M13 5l7 7-7 7'/%3E%3C/svg%3E");
	--pc-icon-arrow-thin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12h18M13 4l8 8-8 8'/%3E%3C/svg%3E");
	--pc-icon-plus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M12 3v18M3 12h18'/%3E%3C/svg%3E");
	--pc-icon-phone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M6.6 10.8a15.2 15.2 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E");
	--pc-icon-pin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E");
	--pc-icon-mail: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'%3E%3Crect x='3' y='5' width='18' height='14' rx='1'/%3E%3Cpath d='m3 6 9 7 9-7'/%3E%3C/svg%3E");
	--pc-icon-upload: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 15V3M7 8l5-5 5 5M4 15v4a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-4'/%3E%3C/svg%3E");
}

html {
	scroll-behavior: smooth;
}

body {
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}

.wp-site-blocks {
	position: relative;
}

/* Sections stack flush; spacing is handled by each section's padding. */
.wp-site-blocks > *,
.wp-site-blocks main > *,
.entry-content > .alignfull,
.wp-block-post-content > .alignfull {
	margin-block-start: 0;
}

main.wp-block-group,
main {
	margin-block-start: 0;
}

img {
	max-width: 100%;
	height: auto;
}

:where(p) {
	text-wrap: pretty;
}

/* ==========================================================================
   Buttons — outline by default, chevron after the label
   ========================================================================== */

.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	gap: 0.55em;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.wp-block-button__link::after {
	content: "";
	width: 0.7em;
	height: 0.7em;
	flex: none;
	background: currentColor;
	-webkit-mask: var(--pc-icon-chevron) center / contain no-repeat;
	mask: var(--pc-icon-chevron) center / contain no-repeat;
}

.wp-block-button.is-style-outline-gold .wp-block-button__link {
	color: var(--pc-gold);
	border-color: var(--pc-gold);
}

.wp-block-button.is-style-outline-gold .wp-block-button__link:hover,
.wp-block-button.is-style-outline-gold .wp-block-button__link:focus-visible {
	background: var(--pc-gold);
	color: var(--pc-ink);
	border-color: var(--pc-gold);
}

.wp-block-button.is-style-solid-gold .wp-block-button__link {
	background: var(--pc-gold);
	border-color: var(--pc-gold);
	color: var(--pc-ink);
	text-transform: none;
	font-size: var(--wp--preset--font-size--small);
}

.wp-block-button.is-style-solid-gold .wp-block-button__link::after {
	display: none;
}

/* ==========================================================================
   Headings
   ========================================================================== */

h1,
h2,
h3 {
	overflow-wrap: break-word;
}

/* Big sentence-case display headings ("Let's lay the groundwork…") */
.wp-block-heading.is-style-display,
h2.is-style-display {
	font-size: var(--wp--preset--font-size--x-large);
	font-weight: 700;
	text-transform: none;
	letter-spacing: 0;
	line-height: 1.12;
}

/* Section header row: label left, button right */
.pc-section-head {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 1rem 2rem;
}

.pc-section-head > * {
	margin: 0 !important;
}

/* ==========================================================================
   Sections
   ========================================================================== */

.pc-section {
	padding-block: var(--wp--preset--spacing--60);
}

.pc-section--tight {
	padding-block: clamp(2.5rem, 4.5vw, 4rem);
}

.pc-section > * + * {
	margin-block-start: clamp(1.75rem, 3vw, 2.75rem);
}

.pc-section > .wp-block-buttons {
	margin-block-start: clamp(1.5rem, 2.4vw, 2rem);
}

.pc-section > h2 + * {
	margin-block-start: clamp(1.75rem, 3.4vw, 3rem);
}

.pc-section--strip {
	overflow: hidden;
}

.pc-section--strip > .pc-project-strip {
	margin-block-start: clamp(2rem, 3.4vw, 3rem);
}

.pc-two-col {
	gap: clamp(1.5rem, 2.8vw, 2.75rem);
}

.pc-two-col p,
.pc-intro p,
.pc-cert p,
.pc-contact p {
	font-size: var(--wp--preset--font-size--base);
}

.pc-intro .wp-block-column:last-child > * {
	margin-block: 0;
}

.pc-intro .wp-block-column:last-child > * + * {
	margin-block-start: 0.85rem;
}

.pc-intro .wp-block-column:last-child > .wp-block-buttons {
	margin-block-start: 1.5rem;
}

.pc-intro p {
	max-width: 46em;
}

.pc-intro-logo img {
	width: clamp(96px, 11vw, 160px);
}

.pc-cert-badge img {
	width: min(400px, 100%);
}

.pc-cert .wp-block-column:last-child {
	display: flex;
	justify-content: center;
}

.pc-image-cards .wp-block-image img {
	width: 100%;
	aspect-ratio: 690 / 415;
	object-fit: cover;
}

.pc-image-cards h3 {
	margin-block-start: 1.25rem;
}

.pc-image-cards p {
	font-size: var(--wp--preset--font-size--small);
}

/* Button lines up with the list column: the image column's 34% plus the columns gap. A margin on
   the buttons (not padding on the group), because percentage padding resolves against the
   full-width section rather than the content column. */
.pc-finishes-cta > .wp-block-buttons {
	margin-left: calc(34% + var(--wp--style--block-gap, 1.25rem));
}

.pc-contact-cols {
	gap: clamp(2rem, 7vw, 6.5rem);
}

.pc-contact-details > * + * {
	margin-block-start: 1.1rem;
}

.pc-map iframe {
	height: clamp(260px, 22vw, 340px);
}

.pc-section--404 {
	min-height: 50vh;
}

/* Corners of a rounded hero / split panel reveal the next section's background. */
.is-style-page-hero + .alignfull,
.pc-hero + .alignfull,
.pc-split-dark + .alignfull {
	margin-block-start: calc(var(--pc-hero-radius) * -1) !important;
	padding-top: calc(var(--wp--preset--spacing--60) + var(--pc-hero-radius));
}

.pc-hero-post .wp-block-post-title {
	font-size: clamp(1.75rem, 3.2vw, 3rem);
	max-width: 22ch;
}

.pc-post-sep {
	margin-block: var(--wp--preset--spacing--60) 1.5rem !important;
}

.pc-pagination {
	margin-block-start: 2.5rem;
	font-weight: 500;
}

.site-header .wp-block-button__link::after,
.pc-no-chevron .wp-block-button__link::after {
	display: none;
}

.wp-block-sailor-blocks-two-panel-section.is-style-page-hero,
.wp-block-sailor-blocks-two-panel-section.pc-hero,
.wp-block-sailor-blocks-two-panel-section.pc-cta {
	color: var(--wp--preset--color--custom-white);
}

/* Two-panel content has no flow layout of its own: give it one. */
.wp-block-sailor-blocks-two-panel-section__content-inner > * {
	margin-block: 0;
}

.wp-block-sailor-blocks-two-panel-section__content-inner > * + * {
	margin-block-start: 1.25rem;
}

.pc-cta .wp-block-sailor-blocks-two-panel-section__content-inner > p {
	margin-block-start: 1.6rem;
}

.pc-cta .wp-block-sailor-blocks-two-panel-section__content-inner > .wp-block-buttons {
	margin-block-start: 1.75rem;
}

.pc-card-meta > *,
.pc-card-title-line > * {
	margin: 0 !important;
}

/* Grid children must not inherit the flow layout's top margin. */
.pc-stats > *,
.pc-features > *,
.pc-section-head > *,
.site-footer__grid > *,
.wp-block-post-template > li,
.pc-finishes .wp-block-column > .pc-finish {
	margin-block-start: 0 !important;
}

/* ==========================================================================
   Section backgrounds
   ========================================================================== */

.wp-block-group.is-style-texture-concrete {
	background-color: var(--wp--preset--color--custom-concrete);
	background-image: linear-gradient(rgb(245 245 245 / 0.86), rgb(245 245 245 / 0.86)), url("assets/images/texture-concrete.jpg");
	background-size: auto, 1200px auto;
	background-repeat: repeat;
}

.wp-block-group.is-style-texture-asphalt {
	background-color: #0c0c0c;
	background-image: linear-gradient(rgb(0 0 0 / 0.9), rgb(0 0 0 / 0.9)), url("assets/images/texture-pavers.jpg");
	background-size: auto, 640px auto;
	background-repeat: repeat;
	color: var(--wp--preset--color--custom-white);
}

/* A section that slides under the rounded corners of the hero above it. */
.pc-under-hero {
	margin-block-start: calc(var(--pc-hero-radius) * -1) !important;
	padding-top: calc(var(--wp--preset--spacing--60) + var(--pc-hero-radius)) !important;
}

/* ==========================================================================
   Header (overlays the hero; solid on posts / utility pages)
   ========================================================================== */

.site-header {
	position: absolute;
	inset: 0 0 auto 0;
	z-index: 50;
	color: var(--wp--preset--color--custom-white);
}

.site-header.is-solid {
	position: relative;
	background: var(--wp--preset--color--custom-black);
}

.site-header__inner {
	padding: 1.5rem var(--pc-gutter);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
}

.site-header .wp-block-site-logo img,
.site-header .pc-logo img {
	width: clamp(56px, 7vw, 104px);
	height: auto;
}

.site-header__nav {
	display: flex;
	align-items: center;
	gap: clamp(1rem, 2vw, 1.75rem);
}

.site-header .wp-block-navigation {
	gap: clamp(1rem, 1.6vw, 1.5rem);
}

.site-header .wp-block-navigation a:hover {
	text-decoration: none;
	color: var(--pc-gold);
}

.site-header .wp-block-navigation .wp-block-navigation__submenu-icon {
	margin-left: 0.25em;
}

.site-header .wp-block-navigation .wp-block-navigation__submenu-container {
	background: var(--wp--preset--color--custom-black) !important;
	color: var(--wp--preset--color--custom-white) !important;
	border: 1px solid rgb(255 255 255 / 0.12) !important;
	border-radius: var(--pc-radius);
	padding: 0.5rem 0;
	min-width: 220px;
}

.site-header .wp-block-navigation .wp-block-navigation__submenu-container a {
	padding: 0.5rem 1rem;
}

/* Mobile overlay menu */
.site-header .wp-block-navigation__responsive-container.is-menu-open {
	background-color: #0c0c0c !important;
	background-image: linear-gradient(rgb(0 0 0 / 0.88), rgb(0 0 0 / 0.88)), url("assets/images/texture-pavers.jpg");
	background-size: auto, 480px auto;
	color: var(--wp--preset--color--custom-white) !important;
	padding: 1.5rem var(--pc-gutter) 2.5rem;
}

.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
	padding-top: 4rem;
	align-items: flex-start;
}

.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
	gap: 1.25rem;
	font-size: 1.375rem;
	font-weight: 600;
	align-items: flex-start;
}

.site-header .wp-block-navigation__responsive-container.is-menu-open {
	--navigation-layout-justification-setting: flex-start;
	--navigation-layout-justify: flex-start;
	--navigation-layout-align: flex-start;
	text-align: left;
}

.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container,
.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item,
.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container {
	align-items: flex-start !important;
	justify-content: flex-start !important;
}

.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container {
	border: 0 !important;
	padding: 0.5rem 0 0 1rem !important;
	font-size: 0.9375rem;
	font-weight: 500;
	gap: 0.65rem;
	background: transparent !important;
}

.site-header .wp-block-navigation__responsive-container-open svg,
.site-header .wp-block-navigation__responsive-container-close svg {
	width: 30px;
	height: 30px;
}

/* ==========================================================================
   Heroes — sailor-blocks two-panel-section
   ========================================================================== */

.wp-block-sailor-blocks-two-panel-section.is-style-page-hero,
.wp-block-sailor-blocks-two-panel-section.is-style-centered.pc-hero {
	border-radius: 0 0 var(--pc-hero-radius) var(--pc-hero-radius);
	position: relative;
	z-index: 2;
	color: var(--wp--preset--color--custom-white);
}

.wp-block-sailor-blocks-two-panel-section.is-style-page-hero .wp-block-sailor-blocks-two-panel-section__content {
	width: 100%;
	max-width: 100%;
	padding-top: 9rem;
	padding-bottom: var(--wp--preset--spacing--60);
	padding-inline: var(--pc-gutter);
}

/* Let the badge position itself against the whole hero. */
.wp-block-sailor-blocks-two-panel-section.is-style-page-hero .wp-block-sailor-blocks-two-panel-section__content-inner,
.wp-block-sailor-blocks-two-panel-section.pc-hero .wp-block-sailor-blocks-two-panel-section__content-inner {
	position: static;
	max-width: none;
}

.wp-block-sailor-blocks-two-panel-section.is-style-page-hero .wp-block-sailor-blocks-two-panel-section__content-inner > *,
.wp-block-sailor-blocks-two-panel-section.pc-hero .wp-block-sailor-blocks-two-panel-section__content-inner > * {
	position: relative;
	z-index: 1;
}

.pc-hero-eyebrow {
	font-size: var(--wp--preset--font-size--small);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.4em;
	margin: 0;
}

.is-style-page-hero h1,
.is-style-page-hero .wp-block-post-title {
	margin-block-start: 0.75rem;
	max-width: 16ch;
}

.pc-hero-badge {
	position: absolute !important;
	right: var(--pc-gutter);
	bottom: clamp(2rem, 4vw, 3.75rem);
	margin: 0 !important;
	width: clamp(130px, 14.5vw, 220px);
	z-index: 2 !important;
}

.pc-hero-badge img {
	display: block;
	width: 100%;
	border-radius: 5px;
}

/* Centred overlay (home hero, CTA band) */
.wp-block-sailor-blocks-two-panel-section.is-style-centered .wp-block-sailor-blocks-two-panel-section__content {
	width: 100%;
	max-width: 100%;
	align-items: center;
	text-align: center;
	padding-inline: var(--pc-gutter);
}

.wp-block-sailor-blocks-two-panel-section.is-style-centered .wp-block-sailor-blocks-two-panel-section__content-inner {
	max-width: 900px;
}

.pc-hero-title {
	font-size: var(--wp--preset--font-size--hero) !important;
	font-weight: 700 !important;
	text-transform: none !important;
	letter-spacing: -0.01em !important;
	line-height: 1 !important;
	margin: 0 !important;
}

.pc-hero-tagline {
	font-size: var(--wp--preset--font-size--small);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.4em;
	margin-block-start: 0.5rem !important;
}

.pc-cta .wp-block-buttons {
	justify-content: center;
}

.pc-cta p {
	font-size: var(--wp--preset--font-size--medium);
	line-height: 1.3;
}

/* Split panel ("Customer oriented", accordion + image) */
.wp-block-sailor-blocks-two-panel-section.has-layout-split .wp-block-sailor-blocks-two-panel-section__content {
	padding: var(--wp--preset--spacing--60) var(--pc-gutter);
}

.pc-split-dark {
	border-radius: 0 0 var(--pc-hero-radius) var(--pc-hero-radius);
	position: relative;
	z-index: 2;
}

.pc-split-dark.has-layout-split {
	grid-template-columns: 41% 59%;
}

.pc-split-dark .wp-block-sailor-blocks-two-panel-section__content-inner {
	max-width: 620px;
}

.pc-split-plain .wp-block-sailor-blocks-two-panel-section__content {
	padding: 0 !important;
	justify-content: center;
}

.pc-split-plain.has-layout-split {
	gap: var(--wp--preset--spacing--40);
}

.pc-split-plain .wp-block-sailor-blocks-two-panel-section__content-inner {
	max-width: none;
}

/* ==========================================================================
   Stats
   ========================================================================== */

.pc-stats {
	display: grid !important;
	grid-template-columns: repeat(4, auto);
	justify-content: space-between;
}

.pc-stat {
	padding-inline: clamp(1rem, 2.4vw, 2.25rem);
	border-left: 1px solid var(--pc-ink);
}

.pc-stat:first-child {
	border-left: 0;
	padding-left: clamp(0rem, 1.5vw, 2rem);
}

.pc-stat > * {
	margin: 0 !important;
}

.pc-stat__number {
	font-size: var(--wp--preset--font-size--x-large);
	font-weight: 600;
	line-height: 1.05;
	letter-spacing: -0.01em;
}

.pc-stat__label {
	font-size: var(--wp--preset--font-size--small);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.3em;
	margin-top: 0.6rem !important;
}

.pc-stat__sub {
	font-size: var(--wp--preset--font-size--xs);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.3em;
	margin-top: 0.35rem !important;
}

/* ==========================================================================
   Cards (sailor-blocks link-container)
   ========================================================================== */

.wp-block-sailor-blocks-link-container {
	height: 100%;
}

.wp-block-sailor-blocks-link-container__content {
	height: 100%;
}

.wp-block-sailor-blocks-link-container .wp-block-post-featured-image,
.wp-block-sailor-blocks-link-container .wp-block-image {
	overflow: hidden;
	margin: 0;
}

.wp-block-sailor-blocks-link-container .wp-block-post-featured-image img,
.wp-block-sailor-blocks-link-container .wp-block-image img {
	transition: transform 0.6s ease;
}

.wp-block-sailor-blocks-link-container:hover .wp-block-post-featured-image img,
.wp-block-sailor-blocks-link-container:hover .wp-block-image img {
	transform: scale(1.04);
}

/* Title row with a trailing arrow */
.pc-arrow-row {
	display: flex !important;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
}

.pc-arrow-row::after {
	content: "";
	width: 14px;
	height: 14px;
	flex: none;
	background: currentColor;
	-webkit-mask: var(--pc-icon-arrow) center / contain no-repeat;
	mask: var(--pc-icon-arrow) center / contain no-repeat;
	transition: transform 0.25s ease;
}

.wp-block-sailor-blocks-link-container:hover .pc-arrow-row::after {
	transform: translateX(4px);
}

.pc-arrow-row > * {
	margin: 0 !important;
}

/* Bordered card (projects, blog) */
.wp-block-sailor-blocks-link-container.is-style-card .wp-block-sailor-blocks-link-container__content {
	border: 1px solid var(--pc-card-border);
	background: var(--wp--preset--color--custom-white);
	display: flex;
	flex-direction: column;
}

.pc-card-body {
	padding: 1.1rem 1.25rem 1.25rem;
	flex: 1;
}

.pc-card-body > * {
	margin-block: 0 !important;
}

.pc-card-body > * + * {
	margin-block-start: 0.6rem !important;
}

.pc-card-body .wp-block-post-title {
	font-size: var(--wp--preset--font-size--base);
	font-weight: 600;
}

.pc-card-meta,
.pc-card-meta .wp-block-post-terms {
	font-size: var(--wp--preset--font-size--small);
	font-weight: 500;
}

.pc-card-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0 0.35em;
}

.pc-card-meta .wp-block-post-terms + .wp-block-post-terms::before {
	content: "| ";
}

.pc-card-meta a {
	pointer-events: none;
}

.pc-card-body .wp-block-post-excerpt {
	font-size: var(--wp--preset--font-size--small);
	color: #333;
}

.pc-card-body .wp-block-post-excerpt__excerpt {
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.pc-excerpt-labelled .wp-block-post-excerpt__excerpt::before {
	content: "Project description:";
	display: block;
}

/* Compact project card (home page) — one line: title | type | sector → */
.pc-card-compact .pc-card-body {
	padding: 1rem 1.1rem;
}

.pc-card-compact .pc-card-line {
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
}

.pc-card-compact .pc-card-line .pc-card-title-line {
	display: flex;
	flex-wrap: wrap;
	gap: 0 0.35em;
	align-items: baseline;
}

.pc-card-compact .pc-card-line .wp-block-post-title {
	font-size: inherit;
	font-weight: 600;
	margin: 0;
}

.pc-card-compact .pc-card-line .wp-block-post-terms::before {
	content: "| ";
}

/* Project grid: first card full width, then alternating 5/7 · 7/5 rows */
.pc-project-grid .wp-block-post-template {
	display: grid !important;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 1.25rem 1.25rem;
	list-style: none;
	padding: 0;
	margin: 0;
}

.pc-project-grid .wp-block-post-template > li {
	margin: 0;
	grid-column: span 6;
}

.pc-project-grid .wp-block-post-template > li:first-child {
	grid-column: span 12;
}

.pc-project-grid .wp-block-post-template > li:nth-child(4n + 2),
.pc-project-grid .wp-block-post-template > li:nth-child(4n + 1):not(:first-child) {
	grid-column: span 5;
}

.pc-project-grid .wp-block-post-template > li:nth-child(4n + 3),
.pc-project-grid .wp-block-post-template > li:nth-child(4n) {
	grid-column: span 7;
}

.pc-project-grid .wp-block-post-featured-image {
	height: clamp(220px, 27vw, 405px);
}

.pc-project-grid .wp-block-post-template > li:first-child .wp-block-post-featured-image {
	height: clamp(240px, 32vw, 487px);
}

.pc-project-grid .wp-block-post-featured-image img {
	width: 100%;
	height: 100% !important;
	object-fit: cover;
}

/* Blog grid */
.pc-blog-grid .wp-block-post-featured-image {
	aspect-ratio: 450 / 328;
}

.pc-blog-grid .wp-block-post-featured-image img {
	width: 100%;
	height: 100% !important;
	object-fit: cover;
}

/* Services cards (home): first card spans two columns */
.pc-services .wp-block-post-template {
	display: grid !important;
	grid-template-columns: 2fr 1fr 1fr;
	gap: 1.25rem;
}

.pc-services .wp-block-post-template > li:nth-child(n + 4) {
	display: none;
}

.pc-services .wp-block-post-featured-image {
	height: clamp(240px, 30vw, 455px);
}

.pc-services .wp-block-post-featured-image img {
	width: 100%;
	height: 100% !important;
	object-fit: cover;
}

.pc-services .pc-arrow-row {
	padding: 0.85rem 0.35rem;
	border-bottom: 1px solid var(--pc-gold-light);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
}

.pc-services .pc-arrow-row .wp-block-post-title {
	font-size: inherit;
	font-weight: inherit;
}

/* Sector list (home): big numbered rows */
.pc-sector-list .wp-block-post-template {
	counter-reset: sector;
	display: flex;
	flex-direction: column;
	gap: 0;
}

.pc-sector-list .wp-block-post-template > li {
	counter-increment: sector;
	margin: 0;
}

.pc-sector-list .pc-arrow-row {
	padding: 0.85rem 0.6rem 0.75rem;
	border-bottom: 1px solid var(--pc-gold-light);
}

.pc-sector-list .wp-block-post-title {
	font-size: var(--wp--preset--font-size--x-large);
	font-weight: 600;
	line-height: 1.1;
}

.pc-sector-list .wp-block-post-title::before {
	content: counter(sector) ". ";
}

.pc-sector-list .pc-arrow-row::after {
	width: clamp(24px, 3vw, 44px);
	height: clamp(24px, 3vw, 44px);
	-webkit-mask-image: var(--pc-icon-arrow-thin);
	mask-image: var(--pc-icon-arrow-thin);
}

.pc-sector-list .wp-block-sailor-blocks-link-container:hover .pc-arrow-row {
	background: rgb(255 188 59 / 0.08);
}

/* ==========================================================================
   Team
   ========================================================================== */

.pc-team .wp-block-post-template {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 2.5rem 1.25rem;
}

.pc-team .wp-block-post-featured-image {
	aspect-ratio: 330 / 375;
	margin: 0;
	background: linear-gradient(to bottom, transparent 24%, var(--pc-gold) 24%);
	display: flex;
	align-items: flex-end;
	justify-content: center;
	overflow: hidden;
}

/* Portraits are transparent cut-outs framed head-to-waist at the card's 330:375 ratio, head near the
   top (it rises above the gold band). Cover + top keeps the head in place if a photo's ratio differs;
   anything extra is trimmed from the bottom. */
.pc-team .wp-block-post-featured-image img {
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	object-position: center top;
}

.pc-team-card > * {
	margin-block: 0 !important;
}

.pc-team-card .wp-block-post-title {
	font-size: clamp(1.0625rem, 1.4vw, 1.375rem);
	font-weight: 600;
	margin-block-start: 1.25rem !important;
}

.pc-team-card .pc-team-role {
	font-size: clamp(0.875rem, 1.05vw, 1.0625rem);
	margin-block-start: 0.15rem !important;
}

.pc-team-card .pc-team-rule {
	border-bottom: 1px solid var(--pc-gold-light);
	padding-bottom: 1.4rem;
}

.pc-team-card .wp-block-post-excerpt {
	font-size: var(--wp--preset--font-size--small);
	margin-block-start: 1.4rem !important;
}

.pc-team-card .wp-block-post-excerpt__excerpt {
	margin: 0;
}

.pc-team-contact {
	margin-block-start: 1.1rem !important;
	font-size: var(--wp--preset--font-size--small);
}

.pc-team-contact > * {
	margin: 0 !important;
}

.pc-team-contact > * + * {
	margin-block-start: 0.75rem !important;
}

.pc-team-contact .pc-team-contact__label {
	font-weight: 600;
	font-size: var(--wp--preset--font-size--xs);
	margin-bottom: 1rem !important;
}

/* ==========================================================================
   Icon lists (phone, address, email)
   ========================================================================== */

.pc-icon {
	display: flex;
	gap: 0.85rem;
	align-items: flex-start;
}

.pc-icon::before {
	content: "";
	width: 1.05em;
	height: 1.05em;
	flex: none;
	margin-top: 0.15em;
	background: var(--pc-gold);
	-webkit-mask: var(--pc-icon-phone) center / contain no-repeat;
	mask: var(--pc-icon-phone) center / contain no-repeat;
}

.pc-icon--pin::before {
	-webkit-mask-image: var(--pc-icon-pin);
	mask-image: var(--pc-icon-pin);
}

.pc-icon--mail::before {
	-webkit-mask-image: var(--pc-icon-mail);
	mask-image: var(--pc-icon-mail);
}

/* ==========================================================================
   Feature grid with icons (About)
   ========================================================================== */

.pc-features {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(2rem, 4.5vw, 4.5rem) clamp(1.5rem, 5vw, 5rem);
}

.pc-feature > * {
	margin-block: 0 !important;
}

.pc-feature .wp-block-image img {
	width: 36px;
	height: 36px;
}

.pc-feature h3 {
	margin-block-start: 1.25rem !important;
}

.pc-feature p {
	margin-block-start: 0.6rem !important;
	font-size: var(--wp--preset--font-size--small);
}

/* ==========================================================================
   Finishes list (Service page)
   ========================================================================== */

.pc-finishes > .wp-block-column:last-child {
	border-top: 1px solid var(--pc-gold-light);
}

.pc-finish {
	padding: 1.6rem 1.75rem 2rem;
	border-bottom: 1px solid var(--pc-gold-light);
	transition: background-color 0.25s ease;
}

.pc-finish:hover,
.pc-finish.is-active {
	background: #fafafa;
}

.pc-finish > * {
	margin-block: 0 !important;
}

.pc-finish h3 {
	font-size: var(--wp--preset--font-size--base);
}

.pc-finish p {
	margin-block-start: 0.85rem !important;
	font-size: var(--wp--preset--font-size--small);
}

.pc-finishes .wp-block-image,
.pc-finishes .wp-block-image img {
	height: 100%;
	margin: 0;
}

.pc-finishes .wp-block-image img {
	object-fit: cover;
	width: 100%;
}

/* ==========================================================================
   Accordion
   ========================================================================== */

.wp-block-accordion-item {
	border-bottom: 1px solid var(--pc-gold-light);
}

.wp-block-accordion-item:first-child {
	border-top: 1px solid var(--pc-gold-light);
}

.wp-block-accordion-heading {
	margin: 0;
}

.wp-block-accordion-heading__toggle {
	padding: 1.6rem 0 !important;
	display: flex;
	align-items: center;
	gap: 0.9rem;
	text-align: left;
	width: 100%;
	color: inherit;
}

.wp-block-accordion-heading__toggle-icon {
	font-size: 0 !important;
	width: 20px;
	height: 20px;
	flex: none;
	background: currentColor;
	-webkit-mask: var(--pc-icon-plus) center / contain no-repeat;
	mask: var(--pc-icon-plus) center / contain no-repeat;
	transition: transform 0.25s ease;
}

.wp-block-accordion-item.is-open .wp-block-accordion-heading__toggle-icon {
	transform: rotate(45deg);
}

.wp-block-accordion-panel {
	padding: 0 0 1.5rem 2.15rem;
	font-size: var(--wp--preset--font-size--small);
}

/* ==========================================================================
   Carousels (sailor-blocks)
   ========================================================================== */

/* Shared square nav buttons */
.pc-carousel-nav .swiper-button-prev,
.pc-carousel-nav .swiper-button-next {
	position: static;
	width: 26px;
	height: 26px;
	margin: 0;
	border: 1px solid var(--pc-gold) !important;
	border-radius: 5px;
	background: transparent;
	color: var(--pc-ink);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.pc-carousel-nav .swiper-button-prev:hover,
.pc-carousel-nav .swiper-button-next:hover {
	background: var(--pc-gold) !important;
}

.pc-carousel-nav .swiper-navigation-icon {
	width: 9px !important;
	height: 9px !important;
}

/* Testimonials */
.pc-testimonials .sailor-carousel {
	overflow: visible;
}

.pc-testimonials .sailor-carousel__controls {
	position: absolute;
	top: 0;
	left: 0;
	transform: none;
	width: auto;
	justify-content: flex-start;
	gap: 6px;
}

.pc-testimonials .sailor-carousel__item {
	padding-left: clamp(0rem, 6vw, 5.75rem);
	padding-top: 0.75rem;
}

.pc-testimonials .sailor-carousel__item > * {
	margin-block: 0 !important;
	max-width: 1150px;
}

.pc-quote-stars {
	letter-spacing: 0.15em;
	font-size: 1.125rem;
	line-height: 1;
}

.pc-quote {
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.3;
	margin-block-start: 1rem !important;
}

.pc-quote-cite {
	font-size: var(--wp--preset--font-size--xs);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	margin-block-start: 1.5rem !important;
}

/* Project strip (About, Sector) — full bleed, slides peek past both edges */
.pc-project-strip {
	/* Out of the section's side padding and past the constrained layout's content width. */
	max-width: none !important;
	margin-inline: calc(var(--pc-gutter) * -1) !important;
	/* Slide width as Swiper computes it: (width − gaps) / slides shown, with the block's
	   spaceBetween 30 and 3.3 / 2.2 / 1.2 slides (desktop / tablet / mobile breakpoints). */
	container-type: inline-size;
	--pc-strip-slide: calc((100cqw - 69px) / 3.3);
}

@media (max-width: 1024px) {
	.pc-project-strip {
		--pc-strip-slide: calc((100cqw - 36px) / 2.2);
	}
}

@media (max-width: 781px) {
	.pc-project-strip {
		--pc-strip-slide: calc((100cqw - 6px) / 1.2);
	}
}

.pc-project-strip .sailor-post-carousel__controls {
	position: absolute;
	inset: 0 0 auto 0;
	height: 0;
}

.pc-project-strip .swiper-button-prev,
.pc-project-strip .swiper-button-next {
	/* Centred on the 16:10 image. */
	top: calc(var(--pc-strip-slide) * 10 / 32);
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgb(255 255 255 / 0.9);
	color: var(--pc-ink);
	box-shadow: 0 2px 10px rgb(0 0 0 / 0.15);
}

.pc-project-strip .swiper-navigation-icon {
	width: 10px !important;
	height: 10px !important;
}

.pc-project-strip .wp-block-post-featured-image {
	aspect-ratio: 16 / 10;
	margin: 0;
}

.pc-project-strip .wp-block-post-featured-image img {
	width: 100%;
	height: 100% !important;
	object-fit: cover;
}

.pc-project-strip .wp-block-post-title {
	font-size: var(--wp--preset--font-size--small);
	font-weight: 500;
	margin-block-start: 1rem;
}

/* Partner logos */
.pc-partners .sailor-carousel__controls {
	display: none;
}

.pc-partners .sailor-carousel__item {
	display: flex !important;
	align-items: center;
	justify-content: center;
	height: 90px;
}

.pc-partners .sailor-carousel__item figure {
	margin: 0;
	max-width: 100%;
}

.pc-partners .sailor-carousel__item img {
	max-height: 86px;
	max-width: min(175px, 100%);
	width: auto;
	object-fit: contain;
}

/* ==========================================================================
   Filter row (terms dropdown)
   ========================================================================== */

.pc-filter .wp-block-categories {
	display: inline-flex;
	align-items: center;
	gap: 1.4rem;
	border: 1px solid var(--pc-gold);
	border-radius: 8px;
	padding: 0.5rem 0.9rem;
	margin: 0;
}

.pc-filter .wp-block-categories label {
	color: var(--pc-gold);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 500;
	margin: 0;
}

.pc-filter .wp-block-categories select {
	border: 0;
	background: transparent;
	font: inherit;
	font-size: var(--wp--preset--font-size--small);
	padding: 0 0.25rem;
	cursor: pointer;
}

/* ==========================================================================
   Contact form (Formidable)
   ========================================================================== */

.pc-contact .frm_forms {
	--border-color: #d9d9d9;
	--bg-color: #f6f6f6;
	--field-height: 2.5rem;
	--border-radius: 4px;
	--text-color: var(--pc-ink);
	--field-font-size: var(--wp--preset--font-size--small);
	max-width: 100%;
}

.pc-contact .frm_forms fieldset {
	border: 0;
	padding: 0;
	margin: 0;
	min-width: 0;
}

.pc-contact .frm_forms .frm_form_fields > fieldset > legend,
.pc-contact .frm_forms .frm_screen_reader {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
}

.pc-contact .frm_forms .frm_form_field {
	margin: 0 0 0.85rem;
	max-width: 590px;
}

.pc-contact .frm_forms *,
.pc-contact .frm_forms *::before,
.pc-contact .frm_forms *::after {
	box-sizing: border-box;
}

.pc-contact .frm_forms .frm_submit {
	margin-top: 1.25rem;
}

.pc-contact .frm_forms input[type="text"],
.pc-contact .frm_forms input[type="email"],
.pc-contact .frm_forms input[type="tel"],
.pc-contact .frm_forms textarea {
	width: 100%;
	background: #f6f6f6;
	border: 1px solid #d9d9d9;
	border-radius: 4px;
	padding: 0.55rem 0.7rem;
	font: inherit;
	font-size: var(--wp--preset--font-size--small);
	box-shadow: none;
}

.pc-contact .frm_forms textarea {
	min-height: 125px;
}

.pc-contact .frm_forms .frm_submit button,
.pc-contact .frm_forms .frm_button_submit {
	background: var(--pc-gold) !important;
	border: 1px solid var(--pc-gold) !important;
	color: var(--pc-ink) !important;
	border-radius: 4px !important;
	font: inherit;
	font-size: var(--wp--preset--font-size--small) !important;
	font-weight: 500 !important;
	padding: 0.45rem 0.9rem !important;
	box-shadow: none !important;
}

.pc-contact .frm_forms .frm_dropzone {
	max-width: 180px;
}

/* ==========================================================================
   Single post
   ========================================================================== */

.pc-post-content .wp-block-columns {
	gap: clamp(1.5rem, 3vw, 2.5rem);
}

.pc-post-content .wp-block-image img {
	width: 100%;
	object-fit: cover;
}

/* Core renders the arrow as a sibling of the link (not inside it), so the row is laid out on the
   wrapper and the link is stretched over the whole row to make the arrow box clickable too. */
.pc-post-nav .wp-block-post-navigation-link {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 1.25rem;
	font-weight: 600;
	font-size: var(--wp--preset--font-size--small);
}

.pc-post-nav .wp-block-post-navigation-link a::after {
	content: "";
	position: absolute;
	inset: 0;
}

.pc-post-nav .wp-block-post-navigation-link a:hover {
	text-decoration: none;
}

.pc-post-nav .wp-block-post-navigation-link__arrow-previous,
.pc-post-nav .wp-block-post-navigation-link__arrow-next {
	flex: none;
	box-sizing: border-box;
	width: 42px;
	height: 42px;
	border: 1.5px solid var(--pc-gold);
	border-radius: 10px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0 !important;
	font-size: 1rem;
	line-height: 1;
	pointer-events: none; /* clicks fall through to the stretched link */
	transition: background-color 0.2s ease;
}

/* Next: label first, box after. */
.pc-post-nav .wp-block-post-navigation-link__arrow-next {
	order: 1;
}

.pc-post-nav .wp-block-post-navigation-link:hover .wp-block-post-navigation-link__arrow-previous,
.pc-post-nav .wp-block-post-navigation-link:hover .wp-block-post-navigation-link__arrow-next {
	background-color: var(--pc-gold);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
	overflow: hidden;
	/* The wordmark sizes itself from the footer's width. */
	container-type: inline-size;
}

.site-footer a:hover {
	color: var(--pc-gold);
	text-decoration: none;
}

.site-footer__rule {
	border-top: 1px solid #8c6a2b;
	padding-top: clamp(2rem, 4vw, 3.5rem);
}

.site-footer__grid {
	display: grid !important;
	grid-template-columns: 90px minmax(0, 1.7fr) repeat(4, minmax(0, 1fr)) auto;
	gap: 2rem clamp(1rem, 2vw, 2rem);
	align-items: start;
}

.site-footer__grid > * {
	margin: 0 !important;
}

.site-footer .pc-logo img {
	width: 90px;
}

.site-footer__col,
.site-footer__col .wp-block-post-title,
.site-footer__contact {
	font-size: var(--wp--preset--font-size--xs);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	line-height: 1.35;
}

.site-footer__col > * {
	margin: 0 !important;
}

.site-footer__col .wp-block-post-template {
	margin-top: 0.6rem !important;
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
}

.site-footer__col .wp-block-post-title {
	font-weight: 600;
	margin: 0;
}

.site-footer__col .wp-block-query,
.site-footer__col .wp-block-post-template {
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer__contact > * {
	margin: 0 !important;
}

.site-footer__contact > * + * {
	margin-top: 1.4rem !important;
}

.site-footer__contact .pc-icon::before {
	width: 1em;
	height: 1em;
	margin-top: 0;
}

.site-footer__actions {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 2.25rem;
}

.site-footer__actions .wp-block-image img {
	width: 140px;
	border-radius: 4px;
}

/* Sized so the letters' ink spans exactly the content column (the gold rule above), at any width.
   Tracking matched to the design (+0.02em keeps a small gap between the f and t crossbars; tighter
   tracking fuses them). At that tracking the ink of "Pavecraft" in Montserrat 800 is 5.157em wide
   and starts 0.070em in from the text origin; the negative indent pulls the P's ink onto the column edge.
   Transparency is applied with opacity (to the word as a whole) rather than a translucent colour,
   which is painted per glyph and makes overlapping letters (a/f/t) show brighter seams. */
.site-footer__wordmark {
	--pc-wordmark-width: min(100cqw, var(--wp--style--global--content-size, 1412px));
	font-size: calc(var(--pc-wordmark-width) / 5.157) !important;
	text-indent: -0.0703em;
	font-weight: 800 !important;
	line-height: 0.78 !important;
	letter-spacing: 0.02em !important;
	color: var(--wp--preset--color--custom-white) !important;
	opacity: 0.075;
	text-align: left;
	white-space: nowrap;
	margin-top: clamp(2rem, 6vw, 6rem) !important;
	margin-bottom: -0.06em !important;
	user-select: none;
	pointer-events: none;
}

/* ==========================================================================
   Tablet ≤ 1024px
   ========================================================================== */

@media (max-width: 1024px) {
	.pc-stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 2.25rem 0;
	}

	.pc-stat,
	.pc-stat:first-child {
		border-left: 0;
		padding-inline: 0 1rem;
	}

	.pc-stat:nth-child(n + 3) {
		border-top: 1px solid var(--pc-ink);
		padding-top: 2.25rem;
	}

	.pc-team .wp-block-post-template {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.pc-blog-grid .wp-block-post-template {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}

	.pc-features {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.pc-project-grid .wp-block-post-template > li:nth-child(n) {
		grid-column: span 6 !important;
	}

	.pc-project-grid .wp-block-post-template > li:first-child {
		grid-column: span 12 !important;
	}

	.pc-services .wp-block-post-template {
		grid-template-columns: 1fr 1fr;
	}

	.pc-services .wp-block-post-template > li:first-child {
		grid-column: span 2;
	}

	.pc-split-dark.has-layout-split {
		grid-template-columns: 1fr 1fr;
	}

	.site-footer__grid {
		grid-template-columns: 90px minmax(0, 1fr) minmax(0, 1fr);
	}

	.site-footer__grid .site-footer__contact {
		grid-column: span 2;
	}

	.site-footer__actions {
		grid-column: 1 / -1;
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
	}

	.site-header__nav .wp-block-buttons {
		order: -1;
	}
}

/* ==========================================================================
   Mobile ≤ 781px
   ========================================================================== */

@media (max-width: 781px) {
	h2:not(.is-style-display) {
		letter-spacing: 0.28em;
	}

	.site-header__inner {
		padding-block: 1rem;
	}

	.site-header__nav {
		gap: 0.75rem;
	}

	.wp-block-sailor-blocks-two-panel-section.is-style-page-hero {
		min-height: min(70svh, 560px) !important;
	}

	.wp-block-sailor-blocks-two-panel-section.is-style-page-hero .wp-block-sailor-blocks-two-panel-section__content {
		padding-top: 7.5rem;
		padding-bottom: 6.5rem;
	}

	.pc-hero-eyebrow,
	.pc-hero-tagline {
		letter-spacing: 0.22em;
		font-size: 0.6875rem;
	}

	.pc-hero-badge {
		bottom: 1.5rem;
	}

	.wp-block-sailor-blocks-two-panel-section.pc-hero {
		min-height: 85svh !important;
	}

	.pc-section-head {
		flex-direction: column;
		align-items: flex-start;
	}

	.pc-stats {
		gap: 1.75rem 0;
	}

	.pc-stat:nth-child(n + 3) {
		padding-top: 1.75rem;
	}

	.pc-stat__label,
	.pc-stat__sub {
		letter-spacing: 0.18em;
	}

	.pc-services .wp-block-post-template,
	.pc-team .wp-block-post-template,
	.pc-blog-grid .wp-block-post-template,
	.pc-features {
		grid-template-columns: minmax(0, 1fr) !important;
	}

	.pc-services .wp-block-post-template > li:first-child {
		grid-column: auto;
	}

	.pc-services .wp-block-post-featured-image {
		height: 240px;
	}

	.pc-project-grid .wp-block-post-template > li:nth-child(n) {
		grid-column: span 12 !important;
	}

	.pc-project-grid .wp-block-post-featured-image,
	.pc-project-grid .wp-block-post-template > li:first-child .wp-block-post-featured-image {
		height: 230px;
	}

	.pc-sector-list .pc-arrow-row {
		padding-inline: 0;
	}

	.pc-split-dark.has-layout-split,
	.pc-split-plain.has-layout-split {
		grid-template-columns: 1fr;
		grid-template-areas: "media" "content" !important;
	}

	.pc-split-dark .wp-block-sailor-blocks-two-panel-section__media,
	.pc-split-plain .wp-block-sailor-blocks-two-panel-section__media {
		min-height: 62vw;
	}

	.pc-split-plain .wp-block-sailor-blocks-two-panel-section__content {
		padding-inline: 0 !important;
	}

	.pc-testimonials .sailor-carousel__controls {
		position: relative;
		margin-top: 1.5rem;
	}

	.pc-testimonials .sailor-carousel__item {
		padding-left: 0;
	}

	.pc-finishes .wp-block-image {
		height: 220px;
	}

	.pc-finishes-cta > .wp-block-buttons {
		margin-left: 0;
	}

	.pc-finish {
		padding-inline: 1rem;
	}

	.pc-team .wp-block-post-template {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 2rem 1rem;
	}

	.pc-team-card .wp-block-post-excerpt,
	.pc-team-contact {
		font-size: var(--wp--preset--font-size--xs);
	}

	/* One column on phones; the button + SiteWise badge row (actions) stays side by side. */
	.site-footer__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.site-footer__grid > * {
		grid-column: 1 / -1;
	}

	.site-footer__actions {
		flex-wrap: wrap;
		gap: 1.5rem;
	}
}

@media (max-width: 480px) {
	.pc-team .wp-block-post-template {
		grid-template-columns: minmax(0, 1fr) !important;
	}

	.pc-team .wp-block-post-featured-image {
		max-width: 340px;
	}
}

@media (prefers-reduced-motion: reduce) {
	* {
		transition: none !important;
		scroll-behavior: auto !important;
	}
}
