/*
Theme Name: Sign & Graphic
Theme URI: https://www.signandgraphic.co.uk/
Description: Child theme of Twenty Twenty-Five for Sign & Graphic Solutions, Wellingborough. Fixed brand swoosh background, white content panels, Archivo type.
Author: Ecomm Development
Author URI: https://ecommdevelopment.co.uk/
Template: twentytwentyfive
Version: 1.5.0
Requires at least: 6.6
Text Domain: sign-graphic
*/

/* Archivo's ampersand reads like an E, so '&' uses a plain system face */
@font-face { font-family: "SG Amp"; src: local("Arial Bold"), local("Arial-BoldMT"), local("Helvetica Neue Bold"), local("HelveticaNeue-Bold"), local("Roboto Bold"), local("Arial"), local("Helvetica"); font-weight: 600 900; unicode-range: U+0026; }
@font-face { font-family: "SG Amp"; src: local("Arial"), local("ArialMT"), local("Helvetica Neue"), local("HelveticaNeue"), local("Roboto"), local("Helvetica"); font-weight: 100 599; unicode-range: U+0026; }
body, h1, h2, h3, h4, .wp-block-heading, .wp-element-button, button, input, select, textarea { font-family: "SG Amp", Archivo, "Arial Narrow", Arial, sans-serif; }

:root {
	--sg-red: #d40000;
	--sg-red-dark: #a50000;
	--sg-blue: #080d8b;
	--sg-silver: #c9caca;
	--sg-steel: #5d6268;
	--sg-ink: #16181d;
	--sg-mist: #f2f3f4;
	--sg-panel: 1160px;
	--sg-gutter: clamp(16px, 4vw, 48px);
	--sg-swoosh-h: clamp(230px, 44vh, 470px);
	--sg-topbar-h: 36px;
}

html { background: #ffffff; scroll-padding-top: 110px; }
body { background: transparent; font-stretch: 100%; -webkit-font-smoothing: antialiased; }

/* ---------- The fixed swoosh: David's grey, red and blue background ----------
   A position:fixed layer (not background-attachment:fixed) so it also stays put on iPhone. */
body::before {
	content: "";
	position: fixed;
	left: 0; right: 0; bottom: 0;
	height: var(--sg-swoosh-h);
	background: url("assets/img/swoosh.svg") no-repeat center bottom / 100% 100%;
	z-index: -1;
	pointer-events: none;
}
.wp-site-blocks { background: transparent; padding: 0; }
.wp-site-blocks > * + * { margin-block-start: 0; }

/* ---------- Header ---------- */
header.sg-site-header {
	position: sticky;
	top: calc(var(--sg-topbar-h) * -1);
	z-index: 50;
	background: #fff;
	box-shadow: 0 1px 0 rgba(0,0,0,.08);
}
.admin-bar header.sg-site-header { top: calc(32px - var(--sg-topbar-h)); }
.sg-topbar {
	background: var(--sg-blue);
	color: #fff;
	font-size: .85rem;
	height: var(--sg-topbar-h);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0 var(--sg-gutter);
}
.sg-topbar p { margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sg-topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.sg-topbar a:hover { text-decoration: underline; color: #fff; }
.sg-topbar-contact a + a { margin-left: 1.4rem; }
.sg-topbar-contact a:first-child::before { content: "Call "; font-weight: 400; opacity: .8; }

.sg-bar {
	max-width: calc(var(--sg-panel) + 2 * var(--sg-gutter));
	margin: 0 auto;
	padding: 12px var(--sg-gutter);
	display: flex;
	align-items: center;
	gap: 1.5rem;
}
header.sg-site-header { border-bottom: 4px solid var(--sg-red); }
.sg-bar .sg-logo { flex: 0 0 auto; margin: 0; }
.sg-bar .sg-logo img { width: 250px; height: auto; display: block; }
.sg-bar .sg-nav { flex: 1 1 auto; justify-content: flex-end; font-weight: 600; font-size: .98rem; }
.sg-nav .wp-block-navigation__container { gap: 1.25rem; }
.sg-nav a { text-decoration: none; }
.sg-nav .wp-block-navigation-item__content { color: var(--sg-ink); padding: .4rem 0; }
.sg-nav .wp-block-navigation-item__content:hover { color: var(--sg-red); }
.sg-nav .current-menu-item > .wp-block-navigation-item__content { color: var(--sg-red); box-shadow: inset 0 -3px 0 var(--sg-red); }
.sg-nav .wp-block-navigation__submenu-container {
	border: 0 !important;
	border-top: 3px solid var(--sg-red) !important;
	box-shadow: 0 10px 24px rgba(0,0,0,.12);
	padding: .4rem 0;
	min-width: 210px !important;
}
.sg-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: .55rem 1.1rem !important; }
.sg-hbtns { flex: 0 0 auto; gap: .5rem; flex-wrap: nowrap; }
.sg-hbtns .wp-block-button__link { padding: .7em 1.15em; white-space: nowrap; font-size: .95rem; }
.sg-call .wp-block-button__link { background: var(--sg-blue); }
.sg-call .wp-block-button__link:hover { background: #050862; }
.sg-call .wp-block-button__link::before {
	content: ""; display: inline-block; width: 1em; height: 1em; margin-right: .45em; vertical-align: -.15em;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 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") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 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") center / contain no-repeat;
}
.sg-call .wp-block-button__link .sg-num { display: none; }

/* Desktop: show the number on the call button */
@media (min-width: 1181px) {
	.sg-hbtns .wp-block-button.sg-call { display: none !important; }
}

/* Tablet + phone: burger menu, logo centred, call button right */
@media (max-width: 1180px) {
	.sg-nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex !important; }
	.sg-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none !important; }
	.sg-bar {
		display: grid;
		grid-template-columns: 1fr auto 1fr;
		gap: 12px;
		padding-top: 10px; padding-bottom: 10px;
	}
	.sg-bar .sg-nav { grid-column: 1; grid-row: 1; justify-self: start; }
	.sg-bar .sg-logo { grid-column: 2; grid-row: 1; justify-self: center; }
	.sg-bar .sg-hbtns { grid-column: 3; grid-row: 1; justify-self: end; }
	.sg-hbtns .wp-block-button.sg-quote { display: none !important; }
	.sg-bar .sg-logo img { width: clamp(150px, 44vw, 230px); }
	.wp-block-navigation__responsive-container-open {
		width: 44px; height: 44px; align-items: center; justify-content: center;
		border: 2px solid var(--sg-ink) !important; border-radius: 3px; color: var(--sg-ink);
	}
	.wp-block-navigation__responsive-container-open svg { width: 26px; height: 26px; }
	.sg-nav .wp-block-navigation__responsive-container.is-menu-open { padding: 20px 24px 40px; background: #fff; }
	.sg-nav .is-menu-open .wp-block-navigation__container { gap: .2rem; font-size: 1.25rem; }
	.sg-nav .is-menu-open .wp-block-navigation__submenu-container { border: 0 !important; box-shadow: none; padding: 0 0 .4rem 1rem !important; font-size: 1.05rem; }
	.sg-nav .is-menu-open .current-menu-item > .wp-block-navigation-item__content { box-shadow: none; color: var(--sg-red); }
	.sg-nav .is-menu-open .wp-block-navigation__responsive-container-content,
	.sg-nav .is-menu-open .wp-block-navigation__container,
	.sg-nav .is-menu-open .wp-block-navigation-item { align-items: flex-start !important; text-align: left; justify-content: flex-start !important; }
	.sg-nav .is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 1.2rem; }
	.sg-nav .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item { width: 100%; border-bottom: 1px solid #e3e4e7; padding: .35rem 0; font-weight: 700; }
	.sg-nav .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content { font-weight: 500; padding: .3rem 0 !important; color: var(--sg-steel); }
	.sg-nav .is-menu-open a:focus { outline: none; }
	.sg-nav .is-menu-open a:focus-visible { outline: 2px solid var(--sg-red); }
}
@media (max-width: 700px) {
	:root { --sg-topbar-h: 0px; --sg-swoosh-h: clamp(150px, 26vh, 240px); }
	.sg-topbar { display: none; }
	.sg-bar { gap: 16px; }
	.sg-bar .sg-logo img { width: clamp(150px, calc(100vw - 154px), 230px); }
	.sg-hbtns .sg-call .wp-block-button__link { width: 44px; height: 44px; padding: 0; display: inline-flex; align-items: center; justify-content: center; font-size: 0; line-height: 0; }
	.sg-hbtns .sg-call .wp-block-button__link::before { width: 20px; height: 20px; margin: 0; }
}


/* ---------- Panels: the white space the content sits in ---------- */
.sg-main { padding: clamp(18px, 3vw, 40px) 0 0; }
.sg-main > .wp-block-post-content > * { margin-block-start: 0; }
.sg-panel {
	background: #fff;
	max-width: var(--sg-panel);
	margin: 0 auto clamp(22px, 3.2vw, 44px) !important;
	padding: clamp(26px, 4.4vw, 60px) clamp(18px, 4.4vw, 60px);
	box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 8px 30px rgba(8,13,139,.07);
	position: relative;
}
.sg-panel > * { max-width: none; }
.sg-panel.sg-tight { padding-top: clamp(20px, 3vw, 36px); padding-bottom: clamp(20px, 3vw, 36px); }
@media (max-width: 700px) {
	.sg-panel { margin-left: 0 !important; margin-right: 0 !important; box-shadow: none; }
}
.sg-panel.sg-dark { background: var(--sg-blue); color: #fff; }
.sg-panel.sg-dark h2, .sg-panel.sg-dark h3 { color: #fff; }
.sg-panel.sg-dark a:not(.wp-element-button) { color: #fff; }
.sg-panel.sg-mist { background: var(--sg-mist); }

/* Red rule under section headings, like a sign strip */
.sg-panel h2.wp-block-heading { position: relative; padding-bottom: .5rem; margin-bottom: 1.1rem; }
.sg-panel h2.wp-block-heading::after { content: ""; position: absolute; left: 0; bottom: 0; width: 56px; height: 4px; background: var(--sg-red); }
.sg-panel.sg-dark h2.wp-block-heading::after { background: #fff; }
.sg-center { text-align: center; }
.sg-center h2.wp-block-heading::after { left: 50%; transform: translateX(-50%); }

.sg-kicker { color: var(--sg-red); font-weight: 700; font-size: .95rem; margin-bottom: .3rem !important; letter-spacing: .01em; }
.sg-lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); line-height: 1.55; color: #2a2d33; }
.sg-muted { color: var(--sg-steel); font-size: .95rem; }

h1.wp-block-heading { font-stretch: 112%; letter-spacing: -0.015em; }
h2.wp-block-heading { font-stretch: 108%; }

/* ---------- Hero ---------- */
.sg-hero { padding-top: clamp(24px, 4vw, 56px); }
.sg-hero .wp-block-columns { gap: clamp(20px, 4vw, 56px); align-items: center !important; }
.sg-hero h1 { margin-top: 0; font-size: clamp(2rem, 3.4vw, 3.1rem); }
@media (max-width: 781px) {
	.sg-hero > .wp-block-columns:has(> .wp-block-column:last-child > figure) { flex-direction: column-reverse; }
	.sg-hero > .wp-block-columns:has(> .wp-block-column:last-child > figure) > .wp-block-column:last-child { margin-bottom: 4px; }
	.wp-block-gallery.sg-mosaic > figure.wp-block-image:not(:first-child) { display: none !important; }
	.sg-hero h1 { font-size: clamp(1.75rem, 7.6vw, 2.3rem); }
	.sg-panel.sg-hero { padding-top: 18px; }
}
.sg-tagline { font-weight: 700; color: var(--sg-blue); font-size: clamp(.95rem, 1.4vw, 1.08rem); margin: 0 0 .7rem !important; }
.sg-tagline::before { content: ""; display: inline-block; width: 26px; height: 4px; background: var(--sg-red); vertical-align: .3em; margin-right: .6rem; }
.sg-hero .wp-block-buttons { margin-top: 1.4rem; }
.sg-hero-points { list-style: none; padding: 0; margin: 1.2rem 0 0; display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; font-weight: 600; font-size: .95rem; }
.sg-hero-points li::before { content: ""; display: inline-block; width: 8px; height: 8px; background: var(--sg-red); margin-right: .5rem; vertical-align: .1em; }

/* Photo mosaic (core gallery, so David can swap the photos) */
.wp-block-gallery.sg-mosaic { display: grid !important; grid-template-columns: 1fr 1fr; gap: 10px !important; }
.wp-block-gallery.sg-mosaic > figure.wp-block-image { width: 100% !important; margin: 0 !important; aspect-ratio: 4 / 3; }
.wp-block-gallery.sg-mosaic > figure.wp-block-image:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.wp-block-gallery.sg-mosaic > figure.wp-block-image img { width: 100%; height: 100% !important; object-fit: cover; }
.wp-block-gallery.sg-mosaic figcaption { font-size: .78rem !important; padding: .9em .7em .45em !important; }

/* Service tiles */
.sg-tiles { display: grid !important; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px !important; }
@media (max-width: 900px) { .sg-tiles { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 520px) { .sg-tiles { gap: 10px !important; } }
.sg-tile { position: relative; margin: 0 !important; overflow: hidden; background: var(--sg-ink); }
.sg-tile figure.wp-block-image { margin: 0 !important; aspect-ratio: 4 / 3; }
.sg-tile figure.wp-block-image a { display: block; height: 100%; }
.sg-tile figure.wp-block-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; display: block; }
.sg-tile:hover img { transform: scale(1.04); }
.sg-tile .sg-tile-label {
	position: absolute; left: 0; bottom: 14px; margin: 0;
	background: var(--sg-red); color: #fff; font-weight: 700; font-size: 1.02rem;
	padding: .5rem 1.1rem .5rem .9rem;
	clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
}
.sg-tile .sg-tile-label a { color: #fff; text-decoration: none; }
@media (max-width: 520px) { .sg-tile .sg-tile-label { font-size: .86rem; bottom: 8px; padding: .38rem .9rem .38rem .6rem; } }
.sg-tile .sg-tile-label a::after { content: ""; position: absolute; inset: -400px -400px -20px -20px; }
.sg-tile .sg-tile-label a:hover { color: #fff; }

/* Lists with red square bullets */
.sg-ticks { list-style: none; padding-left: 0; }
.sg-ticks li { position: relative; padding-left: 1.3rem; margin-bottom: .45rem; }
.sg-ticks li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; background: var(--sg-red); }
.sg-cols-list { columns: 2; column-gap: 2.4rem; }
@media (max-width: 600px) { .sg-cols-list { columns: 1; } }
.sg-cols-list li { break-inside: avoid; }

/* Process steps: four plain columns with a top rule */
.sg-steps { gap: 0 !important; }
.sg-steps > .wp-block-column { border-top: 4px solid var(--sg-silver); padding: 1rem 1.2rem 0 0; }
.sg-steps > .wp-block-column:nth-child(1) { border-top-color: var(--sg-red); }
.sg-steps > .wp-block-column:nth-child(2) { border-top-color: #9c9ea0; }
.sg-steps > .wp-block-column:nth-child(3) { border-top-color: var(--sg-blue); }
.sg-steps > .wp-block-column:nth-child(4) { border-top-color: var(--sg-ink); }
.sg-steps h3 { margin-top: 0; font-size: 1.15rem; }
.sg-steps p { font-size: .97rem; }
@media (max-width: 781px) { .sg-steps > .wp-block-column { padding-right: 0; margin-bottom: 1.2rem; } }

/* Masonry gallery: photos keep their real shape, nothing cropped */
.wp-block-gallery.sg-masonry { display: block !important; columns: 3 260px; column-gap: 12px; }
.wp-block-gallery.sg-masonry > figure.wp-block-image {
	width: 100% !important; margin: 0 0 12px !important; break-inside: avoid; display: block;
}
.wp-block-gallery.sg-masonry > figure.wp-block-image img { width: 100%; height: auto !important; object-fit: contain !important; display: block; }
.wp-block-gallery.sg-masonry figcaption {
	position: static !important; background: #fff !important; color: var(--sg-steel) !important;
	text-shadow: none !important; padding: .45rem .1rem .2rem !important; font-size: .85rem !important;
	max-height: none !important; overflow: visible !important; text-align: left !important;
}
.wp-block-gallery.sg-masonry figcaption::before { display: none; }
@media (max-width: 560px) { .wp-block-gallery.sg-masonry { columns: 2; column-gap: 8px; } .wp-block-gallery.sg-masonry > figure.wp-block-image { margin-bottom: 8px !important; } }

/* Single photos inside text columns */
.sg-photo { margin: 0; }
.sg-photo img { width: 100%; height: auto; display: block; }
.sg-photo figcaption { margin-top: .4rem; }

/* FAQ (core details block) */
.sg-faq .wp-block-details { border-top: 1px solid #dcdde0; padding: 0; margin: 0; }
.sg-faq .wp-block-details:last-child { border-bottom: 1px solid #dcdde0; }
.sg-faq .wp-block-details summary {
	cursor: pointer; list-style: none; font-weight: 700; font-size: 1.06rem; padding: 1rem 2.4rem 1rem 0; position: relative;
}
.sg-faq .wp-block-details summary::-webkit-details-marker { display: none; }
.sg-faq .wp-block-details summary::after {
	content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
	background: linear-gradient(var(--sg-red), var(--sg-red)) center/14px 3px no-repeat, linear-gradient(var(--sg-red), var(--sg-red)) center/3px 14px no-repeat;
	transition: transform .2s;
}
.sg-faq .wp-block-details[open] summary::after { transform: rotate(45deg); }
.sg-faq .wp-block-details > *:not(summary) { margin: 0 0 1rem; color: #33363c; }

/* Quote call-to-action band */
.sg-cta { background: var(--sg-blue) !important; color: #fff; }
.sg-cta h2 { color: #fff; }
.sg-cta h2.wp-block-heading::after { background: var(--sg-red); }
.sg-cta a:not(.wp-element-button) { color: #fff; }
.sg-cta .is-style-outline .wp-block-button__link { color: #fff; border: 2px solid #fff; background: transparent; }
.sg-cta .is-style-outline .wp-block-button__link:hover { background: #fff; color: var(--sg-blue); }
.wp-block-button.is-style-outline .wp-block-button__link { border: 2px solid currentColor; background: transparent; color: var(--sg-blue); padding: calc(.8em - 2px) calc(1.4em - 2px); }
.wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--sg-blue); color: #fff; }
.sg-cta .wp-block-button.is-style-outline .wp-block-button__link { color: #fff; border-color: #fff; }
.sg-cta .wp-block-button.is-style-outline .wp-block-button__link:hover { background: #fff; color: var(--sg-blue); }

/* Quick facts row */
.sg-facts { gap: 0 !important; }
.sg-facts > .wp-block-column { padding: .4rem 1.2rem; border-left: 4px solid var(--sg-red); }
.sg-facts p { margin: 0; }
.sg-facts strong { display: block; font-size: 1.08rem; }
@media (max-width: 781px) { .sg-facts > .wp-block-column { margin-bottom: .8rem; } }

/* Area link chips */
.sg-area-links { display: flex !important; flex-wrap: wrap; gap: 8px !important; }
.sg-area-links .wp-block-button__link { background: #fff; color: var(--sg-blue); border: 2px solid var(--sg-blue); font-size: .95rem; padding: .55em 1em; }
.sg-area-links .wp-block-button__link:hover { background: var(--sg-blue); color: #fff; }

/* Contact page */
.sg-contact-card p { margin: 0 0 .7rem; }
.sg-contact-card .sg-big a { font-size: 1.5rem; font-weight: 800; color: var(--sg-ink); text-decoration: none; }
.sg-map iframe { width: 100%; height: 380px; border: 0; display: block; }
.wpcf7 form { display: grid; gap: 14px; }
.wpcf7 label { font-weight: 600; font-size: .95rem; display: block; }
.wpcf7 input[type=text], .wpcf7 input[type=email], .wpcf7 input[type=tel], .wpcf7 select, .wpcf7 textarea {
	width: 100%; box-sizing: border-box; font: inherit; font-weight: 400; padding: .75rem .85rem; margin-top: .3rem;
	border: 1.5px solid #b9bbc0; border-radius: 3px; background: #fff;
}
.wpcf7 input:focus, .wpcf7 select:focus, .wpcf7 textarea:focus { outline: 3px solid rgba(212,0,0,.25); border-color: var(--sg-red); }
.wpcf7 textarea { height: 150px; }
.wpcf7 .sg-two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .wpcf7 .sg-two { grid-template-columns: 1fr; } }
.wpcf7 input[type=submit] {
	background: var(--sg-red); color: #fff; border: 0; border-radius: 3px; font: inherit; font-weight: 700;
	padding: .9rem 1.6rem; cursor: pointer; justify-self: start;
}
.wpcf7 input[type=submit]:hover { background: var(--sg-red-dark); }
.wpcf7 .sg-small { font-size: .85rem; color: var(--sg-steel); margin: 0; }
.wpcf7 p { margin: 0; }

/* ---------- Footer ---------- */
.sg-window {
	height: calc(var(--sg-swoosh-h) * .62);
	min-height: 120px;
	display: flex; align-items: flex-start; justify-content: center;
	padding-top: clamp(10px, 4vh, 40px);
}
.sg-window-line { font-weight: 800; font-stretch: 112%; color: var(--sg-blue); font-size: clamp(.9rem, 2.2vw, 1.4rem); text-align: center; margin: 0; padding: 0 16px; }
.sg-footer { background: var(--sg-blue); color: #dfe1f5; padding: clamp(36px, 5vw, 60px) var(--sg-gutter) 22px; font-size: .97rem; }
.sg-footer-inner { max-width: var(--sg-panel); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 900px) { .sg-footer-inner { grid-template-columns: 1fr 1fr; } .sg-fbrand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .sg-footer-inner { grid-template-columns: 1fr; } }
.sg-footer h3 { color: #fff; font-size: 1.05rem; margin: 0 0 .7rem; }
.sg-footer a { color: #fff; text-decoration: none; }
.sg-footer a:hover { text-decoration: underline; color: #fff; }
.sg-footer p { margin: 0 0 .8rem; }
.sg-fbrand .wp-block-site-logo { margin-bottom: 1rem; }
.sg-fbrand .wp-block-site-logo img { background: none; padding: 0; max-width: 100%; height: auto; display: block; }
.sg-flinks { list-style: none; padding: 0; margin: 0; }
.sg-flinks li { margin-bottom: .35rem; }
.sg-legal { display:flex; flex-wrap:wrap; justify-content:space-between; gap:8px 24px; max-width: var(--sg-panel); margin: 34px auto 0 !important; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.18); font-size: .82rem; color: #b9bce6; }

/* Sticky mobile call/quote bar */
.sg-mbar { display: none; }
@media (max-width: 700px) {
	.sg-mbar {
		display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
		box-shadow: 0 -2px 12px rgba(0,0,0,.18); padding-bottom: env(safe-area-inset-bottom); background: var(--sg-blue);
	}
	.sg-mbar a { display: flex; align-items: center; justify-content: center; height: 52px; color: #fff; font-weight: 700; text-decoration: none; }
	.sg-mbar a + a { background: var(--sg-red); }
	.sg-footer { padding-bottom: calc(22px + 52px + env(safe-area-inset-bottom)); }
}

/* Misc */
.wp-block-image figcaption, .wp-element-caption { font-size: .85rem; }
.sg-panel .wp-block-columns { margin-bottom: 0; }
.sg-panel > .wp-block-columns:not(:first-child) { margin-top: 1.6rem; }
.sg-breadcrumb { font-size: .88rem; color: var(--sg-steel); margin-bottom: .6rem !important; }
.sg-breadcrumb a { color: var(--sg-steel); }
@media (prefers-reduced-motion: reduce) { .sg-tile img { transition: none; } }

/* Image lightbox: solid backdrop (page background is transparent for the swoosh) */
.wp-lightbox-overlay .scrim { background-color: rgba(11,13,20,.97) !important; opacity: 1 !important; }
.wp-lightbox-overlay .close-button { color: #fff !important; fill: #fff !important; }
.wp-lightbox-overlay .close-button svg { fill: #fff; }
.sg-nav .is-menu-open .wp-block-navigation__responsive-container-content,
.sg-nav .is-menu-open .wp-block-navigation__container { width: 100%; }

.sg-credit a { color:#fff; text-decoration:underline; text-underline-offset:3px; }
.sg-credit a:hover { color:#ff5a5a; }


/* ---------- Socials (core Social Icons block) ---------- */
.sg-social.wp-block-social-links { gap: 8px; margin: 0; padding: 0; }
.sg-social .wp-social-link { background: var(--sg-blue) !important; color: #fff !important; border-radius: 3px !important; }
.sg-social .wp-social-link a { padding: 8px !important; }
.sg-social .wp-social-link svg { width: 20px; height: 20px; }
.sg-social .wp-social-link:hover { background: var(--sg-red) !important; transform: none; }
.sg-topbar .sg-social-top { display: flex; flex-wrap: nowrap; gap: 4px; margin-left: 1.2rem; }
.sg-topbar .sg-social-top .wp-social-link { background: transparent !important; }
.sg-topbar .sg-social-top .wp-social-link a { padding: 4px !important; }
.sg-topbar .sg-social-top .wp-social-link svg { width: 17px; height: 17px; }
.sg-topbar .sg-social-top .wp-social-link:hover { background: rgba(255,255,255,.15) !important; }
.sg-topbar-contact { margin-left: auto !important; }
.sg-social-foot { margin-top: 1rem !important; }
.sg-social-foot .wp-social-link { background: rgba(255,255,255,.12) !important; }
.sg-follow { font-weight: 700; margin: 1.2rem 0 .5rem !important; }

/* ---------- Google rating ---------- */
.sg-stars { color: #f5a400; letter-spacing: 2px; }
.sg-rating { font-size: .95rem; margin-top: 1rem !important; color: var(--sg-steel); }
.sg-rating .sg-stars { font-size: 1.05rem; }
.sg-rating strong { color: var(--sg-ink); }
.sg-reviews { padding-top: 26px !important; padding-bottom: 26px !important; }
.sg-reviews p { margin: 0 !important; }
.sg-big-stars .sg-stars { font-size: clamp(1.6rem, 3vw, 2.1rem); letter-spacing: 6px; }
.sg-rating-big { font-size: clamp(1.15rem, 2vw, 1.4rem); margin-top: .2rem !important; }
.sg-rating-big strong { font-weight: 800; font-size: 1.15em; }
.sg-rating-link { margin-top: .5rem !important; font-weight: 600; }

/* ---------- Work reel ---------- */
.wp-block-video.sg-reel { margin: 0; background: #0b0d14; }
.wp-block-video.sg-reel video { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
@media (max-width: 700px) { .sg-panel > .wp-block-video.sg-reel:first-child:last-child { margin: -26px -18px; } }

/* ---------- v1.2: video hero (core Cover block, class sg-vhero) ---------- */
.sg-main:has(> .wp-block-post-content > .sg-vhero:first-child) { padding-top: 0; }
.wp-block-cover.sg-vhero {
	min-height: clamp(560px, calc(100vh - 150px), 820px);
	margin: 0 0 clamp(22px, 3.2vw, 44px) !important;
	padding: clamp(40px, 6vw, 88px) var(--sg-gutter);
	background: #0b0d14;
	color: #fff;
	overflow: hidden;
}
.sg-vhero .wp-block-cover__video-background { object-position: 50% 50%; }
.sg-vhero .wp-block-cover__inner-container { width: 100%; max-width: var(--sg-panel); margin: 0 auto; color: #fff; }
.sg-vhero .wp-block-cover__inner-container > * { max-width: 700px; margin-left: 0 !important; margin-right: auto !important; }
.sg-vhero h1.wp-block-heading { color: #fff; font-size: clamp(2.1rem, 4.3vw, 3.7rem); line-height: 1.06; margin: 0 0 1.1rem; text-wrap: balance; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.sg-vhero .sg-tagline { color: #fff; letter-spacing: .02em; text-shadow: 0 1px 8px rgba(0,0,0,.4); }
.sg-vhero .sg-lead { color: rgba(255,255,255,.92); max-width: 600px !important; text-shadow: 0 1px 10px rgba(0,0,0,.35); }
.sg-vhero .wp-block-buttons { margin-top: 1.6rem; gap: .7rem; }
.sg-vhero .wp-block-button__link { padding: .95em 1.6em; font-size: 1.02rem; }
.sg-vhero .is-style-outline .wp-block-button__link { color: #fff; border-color: rgba(255,255,255,.9); background: rgba(255,255,255,.06); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.sg-vhero .is-style-outline .wp-block-button__link:hover { background: #fff; color: var(--sg-blue); }
.sg-vhero .sg-hero-points { color: rgba(255,255,255,.9); margin-top: 1.5rem; font-size: .92rem; }
@media (max-width: 700px) {
	.wp-block-cover.sg-vhero {
		min-height: clamp(540px, calc(100svh - 140px), 720px);
		align-items: flex-end;
		padding: 32px 18px 30px;
		margin-bottom: 0 !important;
	}
	.sg-vhero .wp-block-cover__background { background: linear-gradient(180deg, rgba(6,8,22,.12) 0%, rgba(6,8,22,.35) 30%, rgba(6,8,22,.82) 62%, rgba(6,8,22,.94) 100%) !important; }
	.sg-vhero h1.wp-block-heading { font-size: clamp(1.8rem, 8.2vw, 2.35rem); margin-bottom: .8rem; }
	.sg-vhero .sg-lead { font-size: 1rem; line-height: 1.5; }
	.sg-vhero .wp-block-buttons { margin-top: 1.1rem; }
	.sg-vhero .wp-block-buttons > .wp-block-button { flex: 1 1 auto; }
	.sg-vhero .wp-block-button__link { width: 100%; text-align: center; padding: .85em 1em; }
	.sg-vhero .sg-hero-points { display: none; }
	.sg-main:has(> .wp-block-post-content > .sg-vhero:first-child) .sg-reviews { margin-top: 0 !important; }
}
@media (max-width: 360px) { .sg-vhero .sg-lead { font-size: .95rem; } }

/* Service reels (core Video blocks) */
.wp-block-video.sg-svc-reel { margin: 0; background: #0b0d14; }
.wp-block-video.sg-svc-reel video { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; display: block; }

/* Motion: entrance for the hero text, smooth scrolling, gentle reveal on panels (none for reduced motion) */
@media (prefers-reduced-motion: no-preference) {
	html { scroll-behavior: smooth; }
	.sg-vhero .wp-block-cover__inner-container > * { animation: sg-rise .9s cubic-bezier(.2,.7,.2,1) both; }
	.sg-vhero .wp-block-cover__inner-container > *:nth-child(2) { animation-delay: .12s; }
	.sg-vhero .wp-block-cover__inner-container > *:nth-child(3) { animation-delay: .24s; }
	.sg-vhero .wp-block-cover__inner-container > *:nth-child(4) { animation-delay: .36s; }
	.sg-vhero .wp-block-cover__inner-container > *:nth-child(5) { animation-delay: .48s; }
	.sg-panel.sg-reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
	.sg-panel.sg-reveal.sg-in { opacity: 1; transform: none; }
}
@keyframes sg-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (max-width: 480px) {
	.sg-vhero .sg-tagline { font-size: .8rem; letter-spacing: 0; white-space: nowrap; }
	.sg-vhero .sg-tagline::before { width: 16px; margin-right: .45rem; }
}
@media (max-width: 374px) { .sg-vhero .sg-tagline { white-space: normal; text-wrap: balance; } .sg-vhero .sg-tagline::before { display: none; } }

/* ---------- v1.3: projects ---------- */
.sg-hide-if-empty:has(.sg-query-empty) { display: none !important; }
.sg-projects .wp-block-post-template, ul.sg-cards {
	display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 18px; list-style: none; padding: 0; margin: 0 0 1.4rem;
}
@media (max-width: 900px) { .sg-projects .wp-block-post-template, ul.sg-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .sg-projects .wp-block-post-template, ul.sg-cards { gap: 16px 10px; } }
.sg-projects .wp-block-post, ul.sg-cards .wp-block-post { margin: 0; min-width: 0; }
.sg-projects .wp-block-post-featured-image, ul.sg-cards .wp-block-post-featured-image { margin: 0 0 .55rem; overflow: hidden; background: var(--sg-mist); aspect-ratio: 4 / 3; }
.sg-projects .wp-block-post-featured-image img, ul.sg-cards .wp-block-post-featured-image img { width: 100%; height: 100% !important; object-fit: cover; display: block; transition: transform .35s ease; }
.sg-projects .wp-block-post:hover img, ul.sg-cards .wp-block-post:hover img { transform: scale(1.04); }
.sg-ptitle { font-size: 1.02rem !important; line-height: 1.3; margin: 0 0 .25rem !important; font-stretch: 100% !important; }
.sg-ptitle a { color: var(--sg-ink); text-decoration: none; }
.sg-ptitle a:hover { color: var(--sg-red); text-decoration: underline; }
.sg-pterm { font-size: .82rem; font-weight: 700; color: var(--sg-red); }
.sg-pterm a { color: var(--sg-red); text-decoration: none; }
@media (max-width: 520px) { .sg-ptitle { font-size: .9rem !important; } .sg-pterm { font-size: .75rem; } }
.sg-projects .wp-block-query-pagination { margin-top: 1rem; gap: .6rem; font-weight: 700; }
.sg-pgroup { margin-top: 1.8rem !important; }
.sg-pgroup > h3 { margin: 0 0 .8rem; font-size: 1.2rem; }
.sg-pgroup > h3 a { color: var(--sg-blue); text-decoration: none; }
.sg-pgroup > h3 a::after { content: " \203A"; color: var(--sg-red); }
.sg-project h1.wp-block-post-title { font-size: clamp(1.75rem, 3.4vw, 2.8rem); font-stretch: 112%; letter-spacing: -0.015em; margin: 0 0 .6rem; }
.sg-project-meta { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; font-size: .95rem; color: var(--sg-steel); margin: 0 0 1.4rem; }
.sg-project-meta a { font-weight: 700; }
.sg-project .wp-block-post-content > * + * { margin-top: 1.2rem; }
.sg-project .wp-block-post-content h2.wp-block-heading { position: relative; padding-bottom: .5rem; margin-top: 2rem; }
.sg-project .wp-block-post-content h2.wp-block-heading::after { content: ""; position: absolute; left: 0; bottom: 0; width: 56px; height: 4px; background: var(--sg-red); }
.wp-block-video.sg-project-clip { margin: 1.6rem 0 0; max-width: 820px; }
.wp-block-video.sg-project-clip video { width: 100%; display: block; background: #0b0d14; }
.sg-related-btns { gap: .6rem; }

/* ---------- v1.4 polish (27 Nov) ---------- */
/* Buttons: same height whether filled or outlined, centred labels, rows aligned */
.wp-block-buttons:not(.sg-hbtns) { align-items: stretch; gap: 12px; }
.wp-block-buttons:not(.sg-hbtns):not(.sg-area-links) .wp-block-button:not(.is-style-outline) .wp-block-button__link { border: 2px solid transparent; padding: calc(.8em - 2px) calc(1.4em - 2px); }
.wp-block-buttons:not(.sg-hbtns) .wp-block-button { display: flex; }
.wp-block-buttons:not(.sg-hbtns) .wp-block-button__link { display: flex; align-items: center; justify-content: center; text-align: center; line-height: 1.25; box-sizing: border-box; }
.sg-vhero .wp-block-buttons .wp-block-button:not(.is-style-outline) .wp-block-button__link { padding: calc(.95em - 2px) calc(1.6em - 2px); }

/* Phones: every button group stacks full width, equal size, even spacing */
@media (max-width: 600px) {
	.wp-block-buttons:not(.sg-hbtns):not(.sg-area-links) { flex-direction: column; align-items: stretch; gap: 10px; }
	.wp-block-buttons:not(.sg-hbtns):not(.sg-area-links) > .wp-block-button { width: 100%; margin: 0 !important; flex: 0 0 auto; }
	.wp-block-buttons:not(.sg-hbtns):not(.sg-area-links) .wp-block-button__link { width: 100%; min-height: 50px; }
	/* Hero: the two short buttons sit 2-up when they fit, stacked on the narrowest phones */
	.sg-vhero .wp-block-buttons { display: grid !important; grid-template-columns: 1fr 1fr; gap: 10px; }
	.sg-vhero .wp-block-buttons > .wp-block-button { width: auto; }
	.sg-vhero .wp-block-button__link { padding-left: .6em !important; padding-right: .6em !important; font-size: .98rem; }
	/* Area chips: tidy 2-up grid, odd last chip spans the row */
	.sg-area-links { display: grid !important; grid-template-columns: 1fr 1fr; gap: 8px !important; }
	.sg-area-links > .wp-block-button { width: 100%; margin: 0 !important; }
	.sg-area-links > .wp-block-button:last-child:nth-child(odd) { grid-column: 1 / -1; }
	.sg-area-links .wp-block-button__link { width: 100%; }
}
@media (max-width: 374px) { .sg-vhero .wp-block-buttons { grid-template-columns: 1fr; } }

/* Focus: no box on tap or click, a clear brand ring for keyboard users */
html { -webkit-tap-highlight-color: transparent; }
:focus:not(:focus-visible) { outline: none; }
.wp-block-navigation__responsive-container:focus, .wp-block-navigation__responsive-dialog:focus,
.wp-block-navigation__responsive-container-content:focus, [role="dialog"]:focus { outline: none !important; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
	outline: 3px solid var(--sg-red); outline-offset: 2px; border-radius: 2px;
}
.sg-cta a:focus-visible, .sg-footer a:focus-visible, .sg-topbar a:focus-visible, .sg-mbar a:focus-visible, .sg-vhero a:focus-visible { outline-color: #fff; }
.sg-nav .is-menu-open a:focus-visible { outline: 3px solid var(--sg-red); outline-offset: 2px; }
.wp-block-navigation__responsive-container-open, .wp-block-navigation__responsive-container-close { -webkit-tap-highlight-color: transparent; }
.wp-block-navigation__responsive-container-close { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; top: 14px !important; right: 14px !important; }
@media (max-width: 1180px) {
	.sg-nav .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item:last-child { border-bottom: 0; }
	.sg-nav .is-menu-open .wp-block-navigation-item__content { display: block; padding-top: .45rem; padding-bottom: .45rem; }
}

/* Headings: no lonely last words; paragraphs avoid single word last lines where supported */
h1, h2, h3, .wp-block-post-title { text-wrap: balance; }
p, li, summary { text-wrap: pretty; }

/* Project grids: 2 columns on phones; an odd last card spans the row so nothing sits on its own */
@media (max-width: 900px) {
	.sg-projects .wp-block-post-template > li:last-child:nth-child(odd), ul.sg-cards > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
	.sg-projects .wp-block-post-template > li:last-child:nth-child(odd) .wp-block-post-featured-image, ul.sg-cards > li:last-child:nth-child(odd) .wp-block-post-featured-image { aspect-ratio: 16 / 9; }
}
@media (min-width: 901px) {
	/* 3 column grids: if the last row has a single card, centre it rather than leave it hanging left */
	.sg-projects .wp-block-post-template { grid-template-columns: repeat(6, minmax(0, 1fr)) !important; }
	.sg-projects .wp-block-post-template > li { grid-column: span 2; }
	.sg-projects .wp-block-post-template > li:last-child:nth-child(3n+1) { grid-column: 3 / span 2; }
	.sg-projects .wp-block-post-template > li:nth-last-child(2):nth-child(3n+1) { grid-column: 2 / span 2; }
	ul.sg-cards { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
}
.sg-projects .wp-block-post, ul.sg-cards .wp-block-post { display: flex; flex-direction: column; }
.sg-pterm { margin-top: .1rem; line-height: 1.4; }
.sg-pterm a + a, .sg-pterm .wp-block-post-terms__separator { margin-left: .1em; }

/* Related projects: buttons get some air above */
.sg-related-btns { margin-top: 1.4rem; }

/* FAQ: comfortable tap targets, icon never squashed */
.sg-faq .wp-block-details summary { padding: 1.05rem 2.6rem 1.05rem 0; line-height: 1.35; }
.sg-faq .wp-block-details summary::after { flex: none; }
.sg-faq .wp-block-details[open] > summary { color: var(--sg-red); }

/* Phone footer: always clear of the fixed call / quote bar */
@media (max-width: 700px) {
	body { padding-bottom: 0; }
	.sg-footer { padding-bottom: calc(30px + 52px + env(safe-area-inset-bottom)); }
	html { scroll-padding-top: 96px; }
	.sg-panel h2.wp-block-heading { font-size: clamp(1.45rem, 6.4vw, 1.9rem); }
}
@media (min-width: 701px) { html { scroll-padding-top: 120px; } }

/* Contact card labels */
.sg-contact-card strong { display: inline-block; font-weight: 700; color: var(--sg-ink); }
.wp-block-buttons:not(.sg-hbtns):not(.sg-area-links) { display: flex; flex-wrap: wrap; }
@media (max-width: 600px) { .wp-block-buttons:not(.sg-hbtns):not(.sg-area-links) { flex-wrap: nowrap; } }
@media (max-width: 900px) { .sg-projects .wp-block-post-template { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
.sg-pterm .wp-block-post-terms__separator { margin: 0 !important; }
.sg-pterm a + a { margin-left: 0; }
.sg-area-links .wp-block-button__link { white-space: nowrap; overflow-wrap: normal; word-break: normal; }
@media (max-width: 380px) { .sg-area-links .wp-block-button__link { font-size: .86rem; padding-left: .35em; padding-right: .35em; } }
.sg-window-line { text-wrap: balance; }

/* Hero: crossfade slideshow under the video (2026-11-28). Runs from the first frame everywhere;
   the video fades in over it once it is actually playing, then the slides stop. */
.sg-vhero .sg-hero-slides{position:absolute;inset:0;z-index:0;overflow:hidden;background:#111}
.sg-vhero .sg-hero-slides picture{position:absolute;inset:0;opacity:0}
.sg-vhero .sg-hero-slides picture:first-child{opacity:1}
.sg-vhero .sg-slides-on picture{opacity:0;animation:sgHeroFade 26s linear infinite;animation-delay:calc(var(--k) * 2.6s - 1s)}
.sg-vhero .sg-hero-slides img{width:100%;height:100%;object-fit:cover;display:block}
.sg-vhero .sg-slides-on img{animation:sgHeroZoom 26s linear infinite;animation-delay:calc(var(--k) * 2.6s - 1s);transform-origin:50% 50%}
@keyframes sgHeroFade{0%{opacity:0}3.85%{opacity:1}13.85%{opacity:1}17.7%{opacity:0}100%{opacity:0}}
@keyframes sgHeroZoom{0%{transform:scale(1)}17.7%{transform:scale(1.08)}100%{transform:scale(1.08)}}
.sg-vhero .wp-block-cover__video-background{opacity:0;transition:opacity .9s ease}
.sg-vhero.sg-vplaying .wp-block-cover__video-background{opacity:1}
.sg-vhero.sg-vplaying .sg-hero-slides picture,.sg-vhero.sg-vplaying .sg-hero-slides img{animation-play-state:paused}

/* Homepage review quotes (real Google reviews, 2026-11-28) */
.sg-reviews .sg-quotes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:28px 0 22px;text-align:left}
.sg-reviews .sg-quote{background:#f6f7fb;border-top:3px solid #d40000;padding:22px 22px 18px;display:flex;flex-direction:column;gap:10px;margin:0}
.sg-reviews .sg-quote>*{margin:0}
.sg-reviews .sg-quote-stars{font-size:15px;letter-spacing:2px;color:#f4b400;line-height:1}
.sg-reviews .sg-quote-text{font-size:15.5px;line-height:1.6;color:#1a1a1a;flex:1}
.sg-reviews .sg-quote-who{font-size:13.5px;color:#555}
.sg-reviews .sg-quote-who strong{color:#0a0f8a;display:block;font-size:14.5px}
@media (max-width:900px){.sg-reviews .sg-quotes{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:600px){.sg-reviews .sg-quotes{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:12px;margin:22px 0 18px;padding:0 0 8px;max-width:100%;-webkit-overflow-scrolling:touch;scrollbar-width:none}.sg-reviews .sg-quotes::-webkit-scrollbar{display:none}.sg-reviews .sg-quote{flex:0 0 84%;scroll-snap-align:start;padding:18px}}

/* ---------- v1.5 (30 Nov, David's amendments) ---------- */
/* Desktop header: logo bigger and further left, menu centred between logo and quote button */
@media (min-width: 1181px) {
	.sg-topbar { padding-left: clamp(20px, 2.6vw, 48px); padding-right: clamp(20px, 2.6vw, 48px); }
	.sg-bar { max-width: none; box-sizing: border-box; }
	.sg-bar {
		display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 24px;
		padding: 8px clamp(20px, 2.6vw, 48px);
	}
	.sg-bar .sg-logo img { width: clamp(270px, 22vw, 320px); }
	.sg-bar .sg-nav { justify-content: center !important; }
	.sg-bar .sg-nav .wp-block-navigation__container { justify-content: center; gap: clamp(.9rem, 1.6vw, 1.6rem); }
}
/* Footer logo now sits straight on the blue (transparent PNG, no white box) */
.sg-fbrand .wp-block-site-logo { margin-bottom: 1.1rem; }
.sg-fbrand .wp-block-site-logo img { width: 260px; max-width: 100%; }
.sg-hours { margin-top: .2rem !important; }
.sg-hours strong { color: #fff; }
/* Our work: grouped photo galleries */
.sg-gal-group + .sg-gal-group { margin-top: 2.2rem; }
.sg-gal-group > h3 { margin: 0 0 .8rem; font-size: 1.2rem; }
.sg-gal-jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 1rem 0 0 !important; padding: 0; list-style: none; }
.sg-gal-jump a { display: inline-block; padding: .45em .9em; border: 2px solid var(--sg-blue); color: var(--sg-blue); font-weight: 700; font-size: .92rem; text-decoration: none; border-radius: 2px; }
.sg-gal-jump a:hover { background: var(--sg-blue); color: #fff; }
.wp-block-gallery.sg-masonry > figure.wp-block-image img { background: var(--sg-mist); }
/* Phones: reviews stack (no sideways swipe row); first three shown */
@media (max-width:600px){
	.sg-reviews .sg-quotes{display:grid;grid-template-columns:1fr;overflow:visible;gap:12px;padding:0}
	.sg-reviews .sg-quote{flex:none}
	.sg-reviews .sg-quote:nth-child(n+4){display:none}
}
/* Chips may wrap onto two lines rather than push past the screen edge */
@media (max-width: 600px) { .sg-area-links .wp-block-button__link { white-space: normal; min-width: 0; } .sg-area-links > .wp-block-button { min-width: 0; } }


/* 30 Nov (Mike): Google rating inside the phone menu, like the other sites. Hidden in the desktop bar. */
.sg-nav .sg-nav-rating { display: none !important; }
.sg-nav .is-menu-open .sg-nav-rating { display: block !important; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(0,0,0,.1); width: 100%; }
.sg-nav .is-menu-open .sg-nav-rating a { font-weight: 500; font-size: 1rem; color: var(--sg-steel); }
.sg-nav .is-menu-open .sg-nav-rating strong { color: var(--sg-ink); }
.sg-nav .is-menu-open .sg-nav-rating .sg-stars { font-size: 1.05rem; margin-right: .3rem; }
/* 30 Nov: Mike chose menu button LEFT, call RIGHT for this site (theme default) */

.sg-nav .is-menu-open .wp-block-navigation__responsive-container-content { padding-bottom: 96px !important; }

/* 30 Nov (Mike): Facebook + Instagram in the phone menu, under the rating. Hidden in the desktop bar. */
.sg-nav .sg-nav-social { display: none !important; }
.sg-nav .is-menu-open .sg-nav-social { display: flex !important; gap: 12px; margin-top: .9rem; width: 100%; }
.sg-nav .is-menu-open .sg-nav-social .wp-social-link { background: var(--sg-blue) !important; color: #fff !important; border-radius: 8px; }
.sg-nav .is-menu-open .sg-nav-social .wp-social-link a { padding: 10px 14px; font-size: 15px; font-weight: 600; color: #fff !important; gap: 8px; }
.sg-nav .is-menu-open .sg-nav-social .wp-block-social-link-label { display: inline !important; }
.sg-nav .is-menu-open .sg-nav-social .wp-block-social-link-label { font-size: 15px !important; }
.sg-nav .is-menu-open .sg-nav-social svg { width: 22px; height: 22px; }
