/*
Theme Name: Lumintra SVFC Theme
Theme URI: https://lumintra.com
Author: Lumintra
Description: Block theme for San Vicente Ferrer Construction. Solid, not loud.
Version: 0.2.2
Requires at least: 6.5
Requires PHP: 8.1
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lumintra-svfc-theme
*/

:root {
	--svfc-orange: var(--wp--preset--color--safety-orange);
	--svfc-burnt: var(--wp--preset--color--burnt-orange);
	--svfc-yellow: var(--wp--preset--color--hard-hat-yellow);
	--svfc-brown: var(--wp--preset--color--earth-brown);
	--svfc-tan: var(--wp--preset--color--pale-tan);
	--svfc-sand: var(--wp--preset--color--sand);
	--svfc-ink: var(--wp--preset--color--charcoal);
	--svfc-display: var(--wp--preset--font-family--archivo);
	--svfc-band: clamp(3.5rem, 7vw, 6.5rem);
	--svfc-gap: clamp(1.5rem, 3vw, 3rem);
	--svfc-rule-soft: rgba(200, 162, 124, .35);
}

/* Browser surfaces */
::selection { background: var(--svfc-yellow); color: var(--svfc-brown); }
:focus-visible { outline: 3px solid var(--svfc-burnt); outline-offset: 2px; }
:is(.has-earth-brown-background-color, .has-charcoal-background-color) :focus-visible { outline-color: var(--svfc-yellow); }
html { scroll-behavior: smooth; scrollbar-color: var(--svfc-tan) var(--svfc-sand); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
a { text-underline-offset: .2em; text-decoration-thickness: 1px; }
img { display: block; max-width: 100%; height: auto; }
.wp-site-blocks > * + * { margin-block-start: 0; }

/* Shared */
.svfc-hero__grid > *, .svfc-hero__visual > *, .svfc-hero__skyline > *, .svfc-licenses > *, .svfc-numbers > *, .svfc-services__head > *,
.svfc-record__photos > *, .svfc-reason > *, .svfc-step > *, .svfc-closing__grid > *, .svfc-footer__grid > * { margin: 0; }

.wp-block-button__link { font-family: var(--svfc-display); font-weight: 700; letter-spacing: .01em; transition: background-color .2s ease-out, color .2s ease-out, border-color .2s ease-out; }
.wp-block-button.is-style-outline > .wp-block-button__link:not(.has-background) { background: transparent; color: var(--svfc-burnt); border: 2px solid currentColor; padding-block: calc(.875rem - 2px); }
.wp-block-button.is-style-outline > .wp-block-button__link:not(.has-background):hover { background: var(--svfc-brown); border-color: var(--svfc-brown); color: #fff; }
.has-earth-brown-background-color .wp-block-button__link:hover { background: var(--svfc-sand); color: var(--svfc-brown); }
.has-earth-brown-background-color .wp-block-button.is-style-outline > .wp-block-button__link:not(.has-background) { color: var(--svfc-sand); }
.has-earth-brown-background-color .wp-block-button.is-style-outline > .wp-block-button__link:not(.has-background):hover { background: var(--svfc-sand); border-color: var(--svfc-sand); color: var(--svfc-brown); }
.svfc-actions { gap: .75rem 1rem; }
.has-sand-background-color .wp-block-button.is-style-outline > .wp-block-button__link:not(.has-background) { color: var(--svfc-brown); }
.has-sand-background-color .wp-block-button.is-style-outline > .wp-block-button__link:not(.has-background):is(:hover, :focus-visible) { background: var(--svfc-brown); border-color: var(--svfc-brown); color: #fff; }
.has-earth-brown-background-color :is(h1, h2, h3, h4) { color: var(--svfc-sand); }
.has-earth-brown-background-color a:not(.wp-block-button__link) { color: var(--svfc-yellow); }

/* Header: the hero's top edge on the same sand. Nav labels speak like the skyline captions; the menu is a sunrise over the site. */
.wp-site-blocks > header:has(> .svfc-header) { position: sticky; top: var(--wp-admin--admin-bar--height, 0); z-index: 20; }
.svfc-header { --svfc-bar: 4.5rem; border-bottom: 1px solid var(--svfc-tan); }
.svfc-header .svfc-header__bar { min-height: var(--svfc-bar); gap: 1.5rem; }
.svfc-header__right { display: flex; align-items: center; gap: clamp(1.25rem, 2.5vw, 2.5rem); }
.svfc-logo { margin: 0; flex-shrink: 0; }
.svfc-logo a { display: block; }
.svfc-logo img { width: auto; height: 3.25rem; }

/* Nav: stage labels, the skyline caption voice. The tick stands by every label and stretches on hover and on the current page. */
.svfc-nav { display: flex; gap: clamp(1.25rem, 2.2vw, 2rem); }
.svfc-nav__link { display: flex; align-items: center; gap: .5rem; padding-block: .75rem; font-size: .75rem; font-weight: 500; line-height: 1; text-transform: uppercase; letter-spacing: .14em; color: var(--svfc-brown); text-decoration: none; transition: color .2s ease-out; }
.svfc-nav__link::before { content: ""; flex: none; width: 1.75rem; height: 3px; background: var(--svfc-orange); transform: scaleX(.57); transform-origin: left; transition: transform .35s cubic-bezier(.16, 1, .3, 1); }
.svfc-nav__link:is(:hover, :focus-visible, [aria-current="page"]) { color: var(--svfc-burnt); }
.svfc-nav__link:is(:hover, :focus-visible, [aria-current="page"])::before { transform: scaleX(1); }

/* Calls to action: solar as the outline button with a drawn sun, the site visit as the hero's primary (shared rules under Hero). */
.svfc-header .svfc-header__cta { display: flex; align-items: center; flex-wrap: nowrap; gap: .75rem; margin: 0; }
.svfc-header .wp-block-button__link { padding-block: .7rem; white-space: nowrap; }
.svfc-header .wp-block-button.is-style-outline > .wp-block-button__link:not(.has-background) { padding-block: calc(.7rem - 2px); }
.svfc-cta-solar > .wp-block-button__link { display: inline-flex; align-items: center; gap: .5rem; }
.svfc-cta-solar > .wp-block-button__link::before { content: ""; flex: none; width: 1.125rem; height: 1.125rem; background: currentColor; -webkit-mask: var(--svfc-sun) center / contain no-repeat; mask: var(--svfc-sun) center / contain no-repeat; transition: transform .6s cubic-bezier(.16, 1, .3, 1); }
.svfc-cta-solar > .wp-block-button__link:is(:hover, :focus-visible)::before { transform: rotate(45deg); }
:root { --svfc-phone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.75' stroke-linejoin='round'%3E%3Cpath d='M5 3h4l2 5-2.5 1.5a11 11 0 0 0 6 6L16 13l5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 5a2 2 0 0 1 2-2Z'/%3E%3C/svg%3E"); --svfc-sun: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round'%3E%3Ccircle cx='9' cy='9' r='3.25'/%3E%3Cpath d='M9 1.5v2M9 14.5v2M1.5 9h2M14.5 9h2M3.7 3.7l1.4 1.4M12.9 12.9l1.4 1.4M3.7 14.3l1.4-1.4M12.9 5.1l1.4-1.4'/%3E%3C/svg%3E"); --svfc-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M1 8h12M8.5 3.5 13 8l-4.5 4.5' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E"); }

/* Menu button: three courses stepping up like the skyline (short, longer, full), the short one in safety orange. Open, they fold into a cross. */
.svfc-burger { display: none; align-items: center; gap: .625rem; min-height: 2.75rem; margin: 0 -.5rem 0 0; padding: 0 .5rem; border: 0; background: none; color: var(--svfc-brown); font-family: inherit; font-size: .75rem; font-weight: 500; line-height: 1; text-transform: uppercase; letter-spacing: .14em; cursor: pointer; }
.svfc-burger__icon { position: relative; width: 1.5rem; height: 1rem; }
.svfc-burger__icon i { position: absolute; right: 0; height: 3px; background: var(--svfc-brown); transition: transform .35s cubic-bezier(.16, 1, .3, 1), width .35s cubic-bezier(.16, 1, .3, 1), opacity .2s ease-out, background-color .2s ease-out; }
.svfc-burger__icon i:nth-child(1) { top: 0; width: 40%; background: var(--svfc-orange); }
.svfc-burger__icon i:nth-child(2) { top: calc(50% - 1.5px); width: 68%; }
.svfc-burger__icon i:nth-child(3) { bottom: 0; width: 100%; }
.svfc-burger:is(:hover, :focus-visible) .svfc-burger__icon i:nth-child(2) { width: 100%; }
.svfc-burger__close { display: none; }
.svfc-header:has(.svfc-menu:popover-open) .svfc-burger__open { display: none; }
.svfc-header:has(.svfc-menu:popover-open) .svfc-burger__close { display: inline; }
.svfc-header:has(.svfc-menu:popover-open) .svfc-burger__icon i:nth-child(1) { width: 100%; background: var(--svfc-brown); transform: translateY(6.5px) rotate(45deg); }
.svfc-header:has(.svfc-menu:popover-open) .svfc-burger__icon i:nth-child(2) { opacity: 0; }
.svfc-header:has(.svfc-menu:popover-open) .svfc-burger__icon i:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
html:has(.svfc-menu:popover-open) { overflow: hidden; }

/* Menu panel: sand under the bar. Links on hairlines, then the site: photos rise from the ground line while the sun climbs a dashed arc over the solar roof. */
.svfc-menu { position: fixed; inset: calc(var(--wp-admin--admin-bar--height, 0px) + var(--svfc-bar) + 1px) 0 0; width: auto; height: auto; max-width: none; max-height: none; margin: 0; padding: .5rem var(--wp--style--root--padding-right, 1rem) calc(1.5rem + env(safe-area-inset-bottom)) var(--wp--style--root--padding-left, 1rem); border: 0; background: var(--svfc-sand); color: var(--svfc-ink); overflow-y: auto; overscroll-behavior: contain; }
.svfc-menu:popover-open { display: flex; flex-direction: column; }
.svfc-menu__nav { display: flex; flex-direction: column; }
.svfc-menu__link { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--svfc-tan); font-family: var(--svfc-display); font-weight: 800; font-stretch: 75%; font-size: 2.25rem; line-height: 1; letter-spacing: -.01em; color: var(--svfc-brown); text-decoration: none; }
.svfc-menu__link::after { content: ""; flex: none; width: 1.25rem; height: 1.25rem; background: currentColor; -webkit-mask: var(--svfc-arrow) center / contain no-repeat; mask: var(--svfc-arrow) center / contain no-repeat; }
.svfc-menu__link:is(:hover, :focus-visible, [aria-current="page"]) { color: var(--svfc-burnt); }
.svfc-menu__link:focus-visible { outline-offset: -3px; }
.svfc-menu__site { position: relative; display: grid; grid-template-columns: 1fr 1fr 1.35fr 1.15fr; align-items: end; gap: .5rem; height: 8.5rem; margin-top: auto; padding-top: 2.5rem; border-bottom: 3px solid var(--svfc-brown); overflow: clip; }
.svfc-menu__site img { position: relative; z-index: 1; width: 100%; object-fit: cover; }
.svfc-menu__site img:nth-of-type(1) { height: 40%; object-position: 50% 60%; }
.svfc-menu__site img:nth-of-type(2) { height: 68%; object-position: 30% 50%; }
.svfc-menu__site img:nth-of-type(3) { height: 100%; }
.svfc-menu__arc { position: absolute; right: 0; bottom: 0; width: 15rem; max-width: 72%; aspect-ratio: 1; translate: 0 50%; clip-path: inset(-1.5rem -1.5rem 50% -1.5rem); }
.svfc-menu__arc::before { content: ""; position: absolute; inset: 0; border: 2px dashed var(--svfc-orange); border-radius: 50%; }
.svfc-menu__sun { position: absolute; inset: 0; rotate: 112deg; }
.svfc-menu__sun::before { content: ""; position: absolute; left: 0; top: 50%; width: 1.125rem; height: 1.125rem; margin: -.5625rem 0 0 -.5625rem; border-radius: 50%; background: var(--svfc-orange); }
.svfc-menu .svfc-menu__cta { display: flex; flex-direction: column-reverse; flex-wrap: nowrap; align-items: stretch; gap: .75rem; margin-top: 1.5rem; }
.svfc-menu__cta > .wp-block-button { width: 100%; }
.svfc-menu__cta .wp-block-button__link { display: flex; justify-content: center; width: 100%; box-sizing: border-box; padding-block: .875rem; }
.svfc-menu .wp-block-button.is-style-outline > .wp-block-button__link:not(.has-background) { padding-block: calc(.875rem - 2px); }
@media (prefers-reduced-motion: no-preference) {
	.svfc-menu:popover-open { animation: svfc-menu-in .45s cubic-bezier(.16, 1, .3, 1) both; }
	.svfc-menu:popover-open .svfc-menu__link { animation: svfc-fade-up .4s cubic-bezier(.22, 1, .36, 1) both; }
	.svfc-menu:popover-open .svfc-menu__link:nth-child(2) { animation-delay: .06s; }
	.svfc-menu:popover-open .svfc-menu__site img { --svfc-rise: 2rem; animation: svfc-rise .6s cubic-bezier(.16, 1, .3, 1) .15s both; }
	.svfc-menu:popover-open .svfc-menu__site img:nth-of-type(2) { animation-delay: .3s; }
	.svfc-menu:popover-open .svfc-menu__site img:nth-of-type(3) { animation-delay: .45s; }
	.svfc-menu:popover-open .svfc-menu__sun { animation: svfc-sunrise 1.4s cubic-bezier(.22, 1, .36, 1) .35s both; }
}
@keyframes svfc-menu-in { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0); } }
@keyframes svfc-sunrise { from { rotate: -8deg; } }

/* Below 68rem the menu takes over; the site-visit button stays in the bar until the mobile bar appears at 48rem. */
@media (max-width: 67.99rem) {
	.svfc-header .svfc-nav, .svfc-header__cta .svfc-cta-solar { display: none; }
	.svfc-burger { display: inline-flex; }
}
@media (min-width: 68rem) { .svfc-menu { display: none !important; } }
@media (max-width: 48rem) {
	.svfc-header { --svfc-bar: 4rem; }
	.svfc-header .svfc-header__cta { display: none; }
	.svfc-header .svfc-header__bar { gap: 1rem; }
	.svfc-logo img { height: 2.5rem; }
}
@media (max-width: 23rem) { .svfc-logo img { height: 2.15rem; } }

/* Hero */
.svfc-hero { padding-block: clamp(2.5rem, 5vw, 4rem) clamp(2.5rem, 4vw, 3.5rem); --svfc-sky-cols: 1fr 1fr 1.35fr; --svfc-sky-gap: .75rem; }
.svfc-hero__grid { display: grid; gap: 2.5rem var(--svfc-gap); align-items: start; }
.svfc-hero__intro > * { margin: 0; }
.svfc-hero__eyebrow { font-size: .9375rem; line-height: 1.4; color: var(--svfc-brown); }
.svfc-hero__title { margin-top: .75rem !important; font-size: clamp(2rem, 8.4vw, 2.75rem); font-weight: 800; font-stretch: 75%; line-height: 1; letter-spacing: -.01em; text-wrap: balance; }
.svfc-hero__title > * { display: block; }
/* The licensed line carries a thin safety-orange rule, drawn after the text lands */
.svfc-hero__title em, .svfc-services__title em, .svfc-heading em { font-style: normal; color: var(--svfc-burnt); position: relative; width: fit-content; }
.svfc-hero__title em::after, .svfc-services__title em::after, .svfc-heading em::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.1em; height: 3px; background: var(--svfc-orange); transform-origin: left center; }
.svfc-hero__lead { margin-top: 1rem !important; font-size: var(--wp--preset--font-size--medium); line-height: 1.55; max-width: 34rem; }
.svfc-hero__intro .svfc-actions { margin-top: 1.75rem !important; }
@media (max-width: 35.99rem) {
	.svfc-hero__intro .svfc-actions, .svfc-services__actions { flex-direction: column; align-items: stretch; }
	.svfc-hero__intro .svfc-actions .wp-block-button__link, .svfc-services__actions .wp-block-button__link { display: block; width: 100%; text-align: center; box-sizing: border-box; }
}
.svfc-promises { list-style: none; padding: 0; margin: 2.5rem 0 0 !important; display: grid; gap: 1.5rem var(--svfc-gap); max-width: 38rem; }
.svfc-promises li { display: grid; grid-template-columns: 3.25rem 1fr; grid-template-rows: auto 1fr; column-gap: 1rem; row-gap: .3rem; font-size: var(--wp--preset--font-size--small); line-height: 1.45; }
.svfc-promises li::before { content: ""; grid-row: 1 / 3; width: 3.25rem; height: 3.25rem; background: center / contain no-repeat; }
.svfc-promises .svfc-promise--visit::before { background-image: url("assets/icons/site-visit.svg"); }
.svfc-promises .svfc-promise--warranty::before { background-image: url("assets/icons/warranty.svg"); }
.svfc-promises strong { align-self: end; font-family: var(--svfc-display); font-weight: 700; font-size: 1.0625rem; line-height: 1.2; color: var(--svfc-brown); }
@media (min-width: 36rem) { .svfc-promises { grid-template-columns: 1fr 1fr; } }

/* Primary hero CTA: darkens and an arrow slides in from the right; padding trades sides so the width never changes */
:is(.svfc-hero, .svfc-header, .svfc-services) .wp-block-button:not(.is-style-outline) > .wp-block-button__link { position: relative; padding-inline: 1.5rem; }
:is(.svfc-hero, .svfc-header, .svfc-services) .wp-block-button:not(.is-style-outline) > .wp-block-button__link::after { content: ""; position: absolute; right: 1rem; top: 50%; width: .875rem; height: .875rem; background: currentColor; opacity: 0; transform: translate(.4rem, -50%); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M1 8h12M8.5 3.5 13 8l-4.5 4.5' fill='none' stroke='%23000' stroke-width='2'/%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 16 16'%3E%3Cpath d='M1 8h12M8.5 3.5 13 8l-4.5 4.5' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E") center / contain no-repeat; }
:is(.svfc-hero, .svfc-header, .svfc-services) .wp-block-button:not(.is-style-outline) > .wp-block-button__link:is(:hover, :focus-visible) { background: color-mix(in srgb, var(--svfc-burnt) 82%, var(--svfc-ink)); padding-inline: 1.125rem 1.875rem; }
:is(.svfc-hero, .svfc-header, .svfc-services) .wp-block-button:not(.is-style-outline) > .wp-block-button__link:is(:hover, :focus-visible)::after { opacity: 1; transform: translate(0, -50%); }

/* Skyline: ground, structure, roof on one 3-column grid, rising from a brown ground line */
.svfc-hero__skyline { border-bottom: 3px solid var(--svfc-brown); display: grid; grid-template-columns: var(--svfc-sky-cols); grid-template-rows: 100%; align-items: end; gap: var(--svfc-sky-gap); height: clamp(13rem, 56vw, 19rem); padding-top: 1.6rem; margin-top: .25rem !important; overflow: clip; box-sizing: border-box; }
/* The frame clips the photo's hover zoom but leaves room above for the stage label */
.svfc-hero__skyline > figure { position: relative; min-width: 0; margin: 0; clip-path: inset(-2rem 0 0 0); }
.svfc-hero__skyline img { display: block; width: 100%; height: 100% !important; object-fit: cover; transform-origin: 50% 0; }
.svfc-hero__skyline figcaption { display: flex; align-items: center; gap: .5rem; position: absolute; bottom: 100%; left: 0; margin: 0 0 .6rem; font-size: .6875rem; white-space: nowrap; font-weight: 500; text-transform: uppercase; letter-spacing: .14em; line-height: 1; color: var(--svfc-brown); }
.svfc-hero__skyline figcaption::before { content: ""; width: 1rem; height: 3px; background: var(--svfc-orange); flex: none; }
.svfc-skyline__ground { height: 40%; }
.svfc-skyline__structure { height: 64%; }
.svfc-skyline__roof { height: 100%; }
.svfc-skyline__ground img { object-position: 50% 60%; }
.svfc-skyline__structure img { object-position: 30% 50%; }
@media (hover: hover) and (min-width: 60rem) {
	.svfc-hero__skyline > figure:hover img { transform: scale(1.03); }
	.svfc-hero__skyline > figure:hover figcaption { color: var(--svfc-burnt); }
}

/* Licenses: monochrome earth-brown marks on the photos' own column grid, one under each stage */
.svfc-licenses { display: grid; grid-template-columns: var(--svfc-sky-cols); gap: var(--svfc-sky-gap); padding-top: 1.1rem; }
.svfc-license { display: flex; flex-direction: column; align-items: flex-start; gap: .6rem; margin: 0; min-width: 0; }
.svfc-license img { width: 4.5rem; height: 2.25rem; max-width: 100%; object-fit: contain; object-position: left center; }
.svfc-license figcaption { margin: 0; font-size: .8125rem; line-height: 1.35; text-align: left; color: color-mix(in srgb, var(--svfc-ink) 70%, var(--svfc-sand)); }
.svfc-license figcaption strong { display: block; margin-bottom: .1rem; font-size: .875rem; font-weight: 500; color: var(--svfc-brown); }

@media (min-width: 60rem) {
	/* Fill the first screen under the sticky header, with the numbers row as the floor */
	/* Spare height splits 2:3 above and below the copy, so the text sits at the optical centre rather than sinking under empty sand */
	.svfc-hero { display: grid; grid-template-rows: minmax(0, 2fr) auto minmax(0, 3fr) auto; box-sizing: border-box; min-height: calc(100svh - var(--wp-admin--admin-bar--height, 0px) - 4.5rem - 1px); padding-block: clamp(2rem, 3vw, 3rem) clamp(1.75rem, 2.5vw, 2.5rem); --svfc-sky-gap: 1rem; }
	.svfc-hero > * { width: 100%; }
	.svfc-hero > .svfc-hero__grid { grid-row: 2; }
	.svfc-hero > :last-child { grid-row: 4; }
	/* Two shared rows: the buttons land on the ground line, and the promises and license badges start on one line across the page */
	.svfc-hero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-rows: auto auto; column-gap: clamp(3rem, 5vw, 5rem); row-gap: 1.75rem; align-items: end; }
	.svfc-hero__copy, .svfc-hero__visual { grid-row: 1 / span 2; display: grid; grid-template-rows: subgrid; }
	.svfc-hero__intro { align-self: end; }
	.svfc-promises, .svfc-licenses { align-self: start; margin-top: 0 !important; padding-top: 0; }
	/* One sentence per line; the headline leads, the numbers below stay a step quieter */
	.svfc-hero__title { margin-top: 1rem !important; font-size: clamp(2.75rem, 5vw, 4.125rem); }
	.svfc-hero__lead { margin-top: 1.5rem !important; }
	.svfc-hero__intro .svfc-actions { margin-top: 2.25rem !important; }
	/* The skyline stands as tall as the copy beside it, so the roof label and the lead-in share a top line. contain:size keeps the photos' own heights out of the row sizing. */
	.svfc-hero__skyline { height: auto; min-height: 18rem; align-self: stretch; contain: size; margin-top: 0 !important; }
	.svfc-skyline__structure { height: 68%; }
}
/* Wide screens: the copy column is sized to its text so the photos, not empty sand, take the remaining width */
@media (min-width: 75rem) { .svfc-hero__grid { grid-template-columns: minmax(0, 40rem) minmax(0, 1fr); } }

/* Load motion: runs once, rests on the final state, and does not exist under reduced motion */
@media (prefers-reduced-motion: no-preference) {
	.svfc-hero__title > * { animation: svfc-fade-up .4s cubic-bezier(.22, 1, .36, 1) both; }
	.svfc-hero__title > span { animation-delay: .1s; }
	.svfc-hero__title > em { animation-delay: .22s; }
	.svfc-hero__title em::after { animation: svfc-draw .55s cubic-bezier(.65, 0, .35, 1) .65s both; }
	/* The build: ground, then structure, then roof, each rising out of the ground line */
	.svfc-hero__skyline > figure { --svfc-rise: .75rem; animation: svfc-rise .6s cubic-bezier(.16, 1, .3, 1) both; }
	.svfc-hero__skyline > .svfc-skyline__structure { animation-delay: .15s; }
	.svfc-hero__skyline > .svfc-skyline__roof { animation-delay: .3s; }
	.svfc-hero__skyline img, .svfc-hero__skyline figcaption { transition: transform .6s cubic-bezier(.16, 1, .3, 1), color .2s ease-out; }
	:is(.svfc-hero, .svfc-header, .svfc-services) .wp-block-button__link, :is(.svfc-hero, .svfc-header, .svfc-services) .wp-block-button__link::after { transition: background-color .2s ease-out, color .2s ease-out, border-color .2s ease-out, padding .25s cubic-bezier(.16, 1, .3, 1), opacity .2s ease-out, transform .25s cubic-bezier(.16, 1, .3, 1); }
}
@media (prefers-reduced-motion: no-preference) and (min-width: 60rem) {
	.svfc-hero__skyline > figure { --svfc-rise: 2.5rem; }
}
@keyframes svfc-fade-up { from { opacity: 0; transform: translateY(.75rem); } }
@keyframes svfc-draw { from { transform: scaleX(0); } }
@keyframes svfc-rise { from { opacity: 0; transform: translateY(var(--svfc-rise)); } }
.svfc-numbers { display: grid; grid-template-columns: repeat(2, 1fr); row-gap: 1.25rem; border-top: 1px solid var(--svfc-tan); margin-top: clamp(2.25rem, 3.5vw, 2.75rem) !important; }
/* A quiet spec line, not a scoreboard: numerals stay well under the headline */
.svfc-number { display: flex; flex-direction: column; gap: .3rem; padding: 1.1rem 1rem 0 0; }
.svfc-number strong { font-family: var(--svfc-display); font-weight: 800; font-stretch: 75%; font-size: clamp(1.75rem, 2.4vw, 2.25rem); line-height: 1; color: var(--svfc-brown); font-variant-numeric: tabular-nums; }
.svfc-number span { font-size: .875rem; line-height: 1.35; }
@media (min-width: 48rem) {
	.svfc-numbers { grid-template-columns: repeat(4, 1fr); }
	.svfc-numbers .svfc-number + .svfc-number { padding-left: 1.25rem; border-left: 1px solid var(--svfc-rule-soft); }
}
@media (min-width: 75rem) {
	.svfc-number { flex-direction: row; align-items: center; gap: .875rem; }
	.svfc-number span { max-width: 10.5rem; }
}
/* Services: what we build. One column per trade, photos standing on the ground line, one proof figure each */
.svfc-services { padding-block: clamp(3rem, 6vw, 5rem); }
.svfc-services__head { display: grid; gap: 1rem var(--svfc-gap); align-items: end; }
.svfc-services__title { font-size: clamp(2rem, 6.4vw, 3.25rem); font-weight: 800; font-stretch: 75%; line-height: 1; letter-spacing: -.01em; }
.svfc-services__title > * { display: block; }
.svfc-services__lead { max-width: 34rem; }
.svfc-services__grid { display: grid; margin-top: clamp(2rem, 4vw, 3rem) !important; }
.svfc-service { display: grid; grid-template-columns: 6.5rem 1fr; grid-template-rows: auto auto 1fr; column-gap: 1rem; row-gap: .3rem; padding-block: 1.25rem; border-top: 1px solid var(--svfc-tan); }
.svfc-service:last-child { border-bottom: 1px solid var(--svfc-tan); }
.svfc-service > * { margin: 0; grid-column: 2; min-width: 0; }
.svfc-service > .svfc-service__media { grid-column: 1; grid-row: 1 / 4; align-self: start; aspect-ratio: 1; overflow: clip; border-bottom: 3px solid var(--svfc-brown); box-sizing: border-box; }
.svfc-service__media img { width: 100%; height: 100% !important; object-fit: cover; transition: transform .4s cubic-bezier(.16, 1, .3, 1); }
.svfc-service--electrical img { object-position: 50% 72%; }
.svfc-service__title { font-size: 1.5rem; font-weight: 800; font-stretch: 75%; line-height: 1.05; color: var(--svfc-brown); }
.svfc-service__lead { font-size: .9375rem; line-height: 1.45; }
.svfc-service__proof { margin-top: .5rem !important; display: flex; flex-wrap: wrap; align-items: baseline; gap: .1rem .6rem; font-size: .875rem; line-height: 1.4; }
.svfc-service__proof strong { font-family: var(--svfc-display); font-weight: 800; font-stretch: 75%; font-size: 1.5rem; line-height: 1; color: var(--svfc-brown); font-variant-numeric: tabular-nums; }
.svfc-services__actions { margin-top: clamp(2rem, 4vw, 3rem) !important; }
@media (hover: hover) { .svfc-service:hover .svfc-service__media img { transform: scale(1.03); } }

/* Power lines: no photos yet, the voltages stand in the photo frame */
.svfc-service__volts { display: flex; flex-direction: column; justify-content: flex-end; gap: .75rem; padding: .75rem; }
.svfc-service__volts p { margin: 0; color: var(--svfc-tan); font-size: .6875rem; font-weight: 500; text-transform: uppercase; letter-spacing: .14em; line-height: 1.2; }
.svfc-service__volts strong { display: block; font-family: var(--svfc-display); font-weight: 800; font-stretch: 75%; font-size: 2rem; line-height: .85; letter-spacing: -.01em; text-transform: none; color: var(--svfc-yellow); }
.svfc-service__volts strong span { font-size: .45em; margin-left: .05em; letter-spacing: 0; }
.svfc-service__volts p + p strong { color: var(--svfc-sand); }
@media (max-width: 39.99rem) { .svfc-service__volts p { font-size: 0; } .svfc-service__volts p + p { display: none; } }

@media (min-width: 40rem) {
	.svfc-services__grid { grid-template-columns: 1fr 1fr; column-gap: var(--svfc-gap); row-gap: 2.5rem; }
	.svfc-service { grid-row: span 4; grid-template-columns: 1fr; grid-template-rows: subgrid; row-gap: .5rem; padding: 0; border: 0; }
	.svfc-service:last-child { border: 0; }
	.svfc-service > *, .svfc-service > .svfc-service__media { grid-column: 1; grid-row: auto; }
	.svfc-service > .svfc-service__media { aspect-ratio: 4 / 3; width: 100%; margin-bottom: .75rem; }
	.svfc-service__proof { margin-top: .5rem !important; padding-top: .75rem; border-top: 1px solid var(--svfc-tan); align-self: start; }
	.svfc-service__proof span { flex-basis: 100%; }
	.svfc-service__proof strong { font-size: 1.75rem; }
	.svfc-service__volts { padding: 1.25rem; gap: 1.25rem; }
	.svfc-service__volts strong { font-size: clamp(3.25rem, 6vw, 4.5rem); margin-bottom: .35rem; }
	.svfc-service__volts p + p strong { font-size: 2rem; }
}
@media (min-width: 60rem) {
	.svfc-services__head { grid-template-columns: repeat(12, 1fr); }
	.svfc-services__title { grid-column: 1 / 7; }
	.svfc-services__lead { grid-column: 8 / 13; }
}
@media (min-width: 64rem) { .svfc-services__grid { grid-template-columns: repeat(4, 1fr); } }

/* Signature motion: photos rise into their frames as the row enters, like a wall going up */
@supports (animation-timeline: view()) {
	@media (prefers-reduced-motion: no-preference) {
		.svfc-service__media img, .svfc-service__volts strong { animation: svfc-raise linear both; animation-timeline: view(); animation-range: entry 0% entry 80%; }
	}
}
@keyframes svfc-raise { from { clip-path: inset(22% 0 0 0); transform: translateY(1.5rem); } to { clip-path: inset(0); transform: none; } }

/* Section heads: the services head, shared. Statement in earth brown, the answer in burnt orange with the drawn underline. */
.svfc-why, .svfc-process, .svfc-record, .svfc-closing { padding-block: clamp(3.5rem, 7vw, 6rem); }
.svfc-head { display: grid; gap: 1rem var(--svfc-gap); align-items: end; }
.svfc-head > * { margin: 0; }
.svfc-heading { font-size: clamp(2rem, 6.4vw, 3.25rem); font-weight: 800; font-stretch: 75%; line-height: 1; letter-spacing: -.01em; text-wrap: balance; }
.svfc-heading > * { display: block; }
.svfc-head__lead { max-width: 34rem; }
@media (min-width: 60rem) {
	.svfc-head { grid-template-columns: repeat(12, 1fr); }
	.svfc-head > .svfc-heading { grid-column: 1 / 8; }
	.svfc-head > .svfc-head__lead { grid-column: 8 / 13; }
}
/* Stage-label voice for small section labels: tracked capitals led by the orange tick */
:is(.svfc-step__count, .svfc-record__sub, .svfc-footer__label) { display: flex; align-items: center; gap: .5rem; margin: 0; font-family: inherit; font-size: .6875rem; font-weight: 500; text-transform: uppercase; letter-spacing: .14em; line-height: 1; color: var(--svfc-brown); }
:is(.svfc-step__count, .svfc-record__sub, .svfc-footer__label)::before { content: ""; width: 1rem; height: 3px; flex: none; background: var(--svfc-orange); }
/* Icon tiles: the drawn icon standing on its own short ground line */
:is(.svfc-reason, .svfc-step)::before { content: ""; box-sizing: border-box; width: var(--svfc-tile); height: var(--svfc-tile); border-bottom: 3px solid var(--svfc-brown); background: var(--svfc-tile-bg) var(--svfc-icon) center / 66% no-repeat; }
.svfc-reason--licence { --svfc-icon: url("assets/icons/licence.svg"); }
.svfc-reason--engineer, .svfc-step--engineer { --svfc-icon: url("assets/icons/engineer.svg"); }
.svfc-reason--one-team { --svfc-icon: url("assets/icons/one-team.svg"); }
.svfc-reason--equipment { --svfc-icon: url("assets/icons/equipment.svg"); }
.svfc-step--site-visit { --svfc-icon: url("assets/icons/site-visit.svg"); }
.svfc-step--estimate { --svfc-icon: url("assets/icons/estimate.svg"); }
.svfc-step--build { --svfc-icon: url("assets/icons/build.svg"); }
.svfc-step--handover { --svfc-icon: url("assets/icons/handover.svg"); }

/* Why owners hire us: a spec sheet. One ruled row per reason; the specifics as quiet tags. */
.svfc-reasons { list-style: none; padding: 0; margin: clamp(2rem, 4vw, 3rem) 0 0; border-bottom: 1px solid var(--svfc-tan); }
.svfc-reason { --svfc-tile: 3.75rem; --svfc-tile-bg: var(--wp--preset--color--white); display: grid; grid-template-columns: var(--svfc-tile) minmax(0, 1fr); column-gap: 1rem; row-gap: .5rem; padding-block: 1.5rem; border-top: 1px solid var(--svfc-tan); }
.svfc-reason::before { grid-row: 1 / 4; }
.svfc-reason > strong { font-family: var(--svfc-display); font-weight: 800; font-stretch: 75%; font-size: 1.5rem; line-height: 1.05; color: var(--svfc-brown); align-self: center; }
.svfc-reason__text { font-size: .9375rem; line-height: 1.5; }
.svfc-reason__tags { display: flex; flex-wrap: wrap; gap: .375rem; }
.svfc-reason__tags > span { padding: .375rem .625rem; border: 1px solid var(--svfc-tan); background: var(--wp--preset--color--white); font-size: .75rem; font-weight: 500; line-height: 1.2; color: var(--svfc-brown); }
@media (min-width: 60rem) {
	.svfc-reason { --svfc-tile: 4.5rem; grid-template-columns: var(--svfc-tile) minmax(0, 4fr) minmax(0, 4fr) minmax(0, 4fr); column-gap: var(--svfc-gap); align-items: center; padding-block: 1.75rem; }
	.svfc-reason::before { grid-row: auto; }
	.svfc-reason > strong { font-size: 1.75rem; }
}

/* How a job runs: four steps strung like a power line. Each step hangs from its pole; the cable sags to the next. */
.svfc-steps { list-style: none; padding: 0; margin: clamp(2.5rem, 5vw, 3.5rem) 0 0; display: grid; }
.svfc-step { --svfc-tile: 3.5rem; --svfc-tile-bg: var(--svfc-sand); position: relative; display: grid; grid-template-columns: var(--svfc-tile) minmax(0, 1fr); column-gap: 1.25rem; row-gap: .5rem; align-content: start; padding-bottom: 2rem; }
.svfc-step::before { grid-row: 1 / 4; }
/* Mobile: a dashed line drops from tile to tile */
.svfc-step:not(:last-child)::after { content: ""; position: absolute; left: calc(var(--svfc-tile) / 2 - 1px); top: calc(var(--svfc-tile) + .5rem); bottom: .5rem; width: 2px; background: repeating-linear-gradient(var(--svfc-orange) 0 2px, transparent 2px 5px); }
.svfc-step__count { margin-top: .25rem; }
.svfc-step > strong { font-family: var(--svfc-display); font-weight: 800; font-stretch: 75%; font-size: 1.5rem; line-height: 1.05; color: var(--svfc-brown); }
.svfc-step__text { font-size: .9375rem; line-height: 1.5; max-width: 22rem; }
.svfc-step:last-child { padding-bottom: 0; }
@media (min-width: 60rem) {
	.svfc-process .svfc-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--svfc-gap); }
	.svfc-process .svfc-step { --svfc-tile: 4.5rem; grid-template-columns: 1fr; row-gap: .75rem; padding: 0; }
	.svfc-process .svfc-step::before { grid-row: auto; margin-bottom: .75rem; }
	.svfc-process .svfc-step__count { margin-top: 0; }
	/* Two cables, earth brown and a dashed safety-orange one under it, sagging from this tile to the next */
	.svfc-process .svfc-step:not(:last-child)::after { left: calc(var(--svfc-tile) + .5rem); right: calc(-1 * var(--svfc-gap) + .5rem); top: .75rem; bottom: auto; width: auto; height: 2.75rem; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 44' preserveAspectRatio='none' fill='none'%3E%3Cpath d='M0 2Q50 34 100 2' stroke='%234A3020' stroke-width='2' vector-effect='non-scaling-stroke'/%3E%3Cpath d='M0 12Q50 42 100 12' stroke='%23E8711A' stroke-width='2' stroke-dasharray='2 3' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; }
}

/* Public-works record: a second skyline of public jobs, then the ledger and a tally of repeat clients */
.svfc-record__photos { --svfc-sky-gap: .75rem; display: grid; grid-template-columns: 1fr 1fr 1.6fr; grid-template-rows: 100%; align-items: end; gap: var(--svfc-sky-gap); height: clamp(15rem, 46vw, 28rem); box-sizing: border-box; padding-top: 1.6rem; margin-top: clamp(2.5rem, 5vw, 3.5rem) !important; border-bottom: 3px solid var(--svfc-brown); overflow: clip; }
.svfc-record__photos > figure { position: relative; min-width: 0; margin: 0; clip-path: inset(-2rem 0 0 0); }
.svfc-record__photos img { display: block; width: 100%; height: 100% !important; object-fit: cover; }
.svfc-record__photos figcaption { display: flex; align-items: center; gap: .5rem; position: absolute; bottom: 100%; left: 0; margin: 0 0 .6rem; font-size: .6875rem; white-space: nowrap; font-weight: 500; text-transform: uppercase; letter-spacing: .14em; line-height: 1; color: var(--svfc-brown); }
.svfc-record__photos figcaption::before { content: ""; width: 1rem; height: 3px; background: var(--svfc-orange); flex: none; }
.svfc-record__drainage { height: 58%; }
.svfc-record__interior { height: 80%; }
.svfc-record__building { height: 100%; }
.svfc-record__drainage img { object-position: 50% 70%; }
.svfc-record__interior img { object-position: 30% 50%; }
@media (min-width: 60rem) { .svfc-record__photos { --svfc-sky-gap: 1rem; } }
.svfc-record__proof { display: grid; gap: 2.5rem var(--svfc-gap); margin-top: clamp(2rem, 4vw, 3rem) !important; }
.svfc-record__col > * { margin: 0; }
.svfc-record__sub { margin-bottom: 1rem !important; }
@media (min-width: 60rem) {
	.svfc-record__proof { grid-template-columns: repeat(12, 1fr); }
	.svfc-record__col:first-child { grid-column: 1 / 7; }
	.svfc-record__col:last-child { grid-column: 8 / 13; }
}
.svfc-ledger, .svfc-tally { list-style: none; padding: 0; border-bottom: 1px solid var(--svfc-tan); }
.svfc-ledger li { display: grid; grid-template-columns: minmax(6rem, auto) 1fr; gap: 1rem; align-items: baseline; padding-block: .85rem; border-top: 1px solid var(--svfc-tan); font-size: .9375rem; line-height: 1.45; }
:is(.svfc-ledger, .svfc-tally) strong { font-family: var(--svfc-display); font-weight: 800; font-stretch: 75%; font-size: 1.75rem; line-height: 1; color: var(--svfc-brown); font-variant-numeric: tabular-nums; }
.svfc-record__also { margin-top: 1rem !important; font-size: .875rem; color: color-mix(in srgb, var(--svfc-ink) 70%, var(--svfc-sand)); }
/* Tally: one mark per contract, every fifth in safety orange like a site count */
.svfc-tally li { display: grid; grid-template-columns: 2.5rem 1fr; column-gap: 1rem; row-gap: .6rem; align-items: baseline; padding-block: .85rem; border-top: 1px solid var(--svfc-tan); }
.svfc-tally__who { font-size: .9375rem; line-height: 1.4; font-weight: 500; color: var(--svfc-brown); }
.svfc-tally__who span { display: block; font-weight: 400; font-size: .8125rem; color: color-mix(in srgb, var(--svfc-ink) 70%, var(--svfc-sand)); }
.svfc-tally__marks { grid-column: 2; width: calc(var(--n) * .625rem - .375rem); height: 1.25rem; background: repeating-linear-gradient(90deg, var(--svfc-brown) 0 .25rem, transparent .25rem .625rem, var(--svfc-brown) .625rem .875rem, transparent .875rem 1.25rem, var(--svfc-brown) 1.25rem 1.5rem, transparent 1.5rem 1.875rem, var(--svfc-brown) 1.875rem 2.125rem, transparent 2.125rem 2.5rem, var(--svfc-orange) 2.5rem 2.75rem, transparent 2.75rem 3.125rem); }

/* Closing: the page's one dark band. Two doors, the site visit first. */
.svfc-closing__grid { display: grid; gap: 2.5rem var(--svfc-gap); align-items: end; }
.svfc-closing__copy > * { margin: 0; }
.svfc-closing .svfc-heading { font-size: clamp(2.25rem, 7vw, 3.75rem); }
.svfc-closing .svfc-heading em { color: var(--svfc-yellow); }
.svfc-closing__lead { margin-top: 1.25rem !important; max-width: 32rem; font-size: 1.0625rem; line-height: 1.55; }
.svfc-closing__call { margin-top: 1.75rem !important; display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .5rem; color: var(--svfc-tan); }
.svfc-closing__call::before { content: ""; width: 1.25rem; height: 1.25rem; background: var(--svfc-yellow); -webkit-mask: var(--svfc-phone) center / contain no-repeat; mask: var(--svfc-phone) center / contain no-repeat; }
.svfc-closing__call a { font-family: var(--svfc-display); font-weight: 700; font-size: 1.125rem; }
.svfc-doors { gap: .75rem !important; align-items: stretch !important; }
.svfc-doors .wp-block-button { width: 100%; }
.svfc-closing .svfc-door > .wp-block-button__link { box-sizing: border-box; width: 100%; display: grid; grid-template-columns: 2.5rem minmax(0, 1fr) 1rem; grid-template-rows: auto auto; column-gap: 1rem; row-gap: .25rem; align-items: center; padding: 1.25rem 1.5rem; text-align: left; border: 2px solid transparent; border-radius: 2px; transition: background-color .2s ease-out, color .2s ease-out, border-color .2s ease-out; }
.svfc-door > .wp-block-button__link::before, .svfc-door > .wp-block-button__link::after { content: ""; background: currentColor; }
.svfc-door > .wp-block-button__link::before { grid-row: 1 / 3; width: 2.5rem; height: 2.5rem; -webkit-mask: var(--svfc-door-icon) center / contain no-repeat; mask: var(--svfc-door-icon) center / contain no-repeat; }
.svfc-door > .wp-block-button__link::after { grid-column: 3; grid-row: 1 / 3; width: 1rem; height: 1rem; -webkit-mask: var(--svfc-arrow) center / contain no-repeat; mask: var(--svfc-arrow) center / contain no-repeat; transition: transform .25s cubic-bezier(.16, 1, .3, 1); }
.svfc-door strong { font-size: 1.25rem; line-height: 1.15; }
.svfc-door span { grid-column: 2; font-family: var(--wp--preset--font-family--inter); font-weight: 400; font-size: .875rem; line-height: 1.4; letter-spacing: 0; }
.svfc-door--visit { --svfc-door-icon: url("assets/icons/site-visit.svg"); }
.svfc-door--solar { --svfc-door-icon: var(--svfc-sun); }
.svfc-closing .svfc-door--visit > .wp-block-button__link { background: var(--svfc-burnt); color: #fff; }
.svfc-closing .svfc-door--visit > .wp-block-button__link:is(:hover, :focus-visible) { background: color-mix(in srgb, var(--svfc-burnt) 82%, var(--svfc-ink)); color: #fff; }
.svfc-closing .svfc-door--solar > .wp-block-button__link { background: transparent; color: var(--svfc-sand); border-color: var(--svfc-tan); }
.svfc-closing .svfc-door--solar > .wp-block-button__link:is(:hover, :focus-visible) { background: var(--svfc-sand); border-color: var(--svfc-sand); color: var(--svfc-brown); }
.svfc-door > .wp-block-button__link:is(:hover, :focus-visible)::after { transform: translateX(.25rem); }
@media (min-width: 60rem) {
	.svfc-closing__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(3rem, 5vw, 5rem); }
}

/* Footer: sand ground under the dark band, the official logo on the colour it was drawn for */
.svfc-footer { padding-block: clamp(3rem, 6vw, 4.5rem) 1.5rem; font-size: .9375rem; }
.svfc-footer__grid { display: grid; gap: 2.5rem var(--svfc-gap); }
.svfc-footer__grid > * > * { margin: 0; }
.svfc-footer__brand { display: flex; flex-direction: column; gap: 1rem; }
.svfc-footer__logo a { display: inline-block; }
.svfc-footer__logo img { width: auto; height: 3.5rem; }
.svfc-footer__tagline { max-width: 20rem; font-family: var(--svfc-display); font-weight: 700; font-size: 1.0625rem; line-height: 1.3; color: var(--svfc-brown); }
.svfc-footer__col { display: flex; flex-direction: column; gap: 1rem; }
.svfc-footer__pages, .svfc-footer__contact { list-style: none; padding: 0; display: flex; flex-direction: column; }
.svfc-footer__pages { gap: .5rem; }
.svfc-footer__pages a { font-family: var(--svfc-display); font-weight: 800; font-stretch: 75%; font-size: 1.5rem; line-height: 1.1; color: var(--svfc-brown); text-decoration: none; }
.svfc-footer__pages a:is(:hover, :focus-visible) { color: var(--svfc-burnt); text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--svfc-orange); }
.svfc-footer__contact { gap: .75rem; }
.svfc-footer__contact li { display: flex; gap: .625rem; align-items: flex-start; line-height: 1.4; overflow-wrap: anywhere; }
.svfc-footer__contact svg { flex: none; width: 1.25rem; height: 1.25rem; color: var(--svfc-burnt); }
.svfc-footer__contact a { color: var(--svfc-ink); text-decoration: none; }
.svfc-footer__contact a:is(:hover, :focus-visible) { color: var(--svfc-burnt); text-decoration: underline; }
/* Pages, then the one action */
.svfc-footer__cta { margin-top: .75rem !important; }
/* Licences: each mark stands in its white tile on a short ground line, its name and scope beside it, rows on tan hairlines */
.svfc-footer__marks { display: flex; flex-direction: column; border-bottom: 1px solid var(--svfc-tan); }
.svfc-footer__mark { display: grid !important; grid-template-columns: 5rem minmax(0, 1fr); column-gap: 1rem; align-items: center; margin: 0; padding-block: .75rem; border-top: 1px solid var(--svfc-tan); }
.svfc-footer__mark img { box-sizing: border-box; width: 5rem; height: 3rem; padding: .375rem .5rem; object-fit: contain; background: var(--wp--preset--color--white); border-bottom: 3px solid var(--svfc-brown); }
.svfc-footer__mark figcaption { display: flex; flex-direction: column; gap: .2rem; margin: 0; text-align: left; font-size: .8125rem; line-height: 1.35; color: color-mix(in srgb, var(--svfc-ink) 70%, var(--svfc-sand)); }
.svfc-footer__mark figcaption strong { font-size: .875rem; font-weight: 500; color: var(--svfc-brown); }
.svfc-footer__legal { margin-top: clamp(2.5rem, 5vw, 3.5rem) !important; padding-top: 1.25rem; border-top: 1px solid var(--svfc-tan); font-size: .8125rem; color: color-mix(in srgb, var(--svfc-ink) 70%, var(--svfc-sand)); }
@media (min-width: 40rem) { .svfc-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 64rem) { .svfc-footer__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 3fr) minmax(0, 3fr) minmax(0, 4fr); } }

/* Scroll moments: the cable strings itself from pole to pole, the public jobs rise like the services row, the tally is counted out */
@supports (animation-timeline: view()) {
	@media (prefers-reduced-motion: no-preference) {
		.svfc-record__photos img { animation: svfc-raise linear both; animation-timeline: view(); animation-range: entry 0% entry 80%; }
		.svfc-tally__marks { animation: svfc-wipe linear both; animation-timeline: view(); animation-range: entry 40% cover 40%; }
	}
	@media (prefers-reduced-motion: no-preference) and (min-width: 60rem) {
		/* Pseudo-elements read the list's named timeline; each span strings a little after the one before */
		.svfc-process .svfc-steps { view-timeline: --svfc-line block; }
		.svfc-process .svfc-step:not(:last-child)::after { animation: svfc-wipe linear both; animation-timeline: --svfc-line; }
		.svfc-process .svfc-step:nth-child(1)::after { animation-range: entry 50% entry 80%; }
		.svfc-process .svfc-step:nth-child(2)::after { animation-range: entry 70% entry 100%; }
		.svfc-process .svfc-step:nth-child(3)::after { animation-range: entry 90% cover 45%; }
	}
}
@keyframes svfc-wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0); } }

/* Assessment: the request form on a white sheet standing on the ground line; what happens next and the direct lines beside it */
.svfc-ask { --svfc-error: #A3261B; padding-block: clamp(2.5rem, 5vw, 4rem) var(--svfc-band); }
.svfc-ask .svfc-heading { font-size: clamp(2.25rem, 7vw, 3.75rem); }
.svfc-ask__grid { display: grid; gap: 3rem var(--svfc-gap); margin-top: clamp(2rem, 4vw, 3rem) !important; }
.svfc-ask__grid > * { margin: 0; min-width: 0; }
.svfc-sheet { padding: clamp(1.25rem, 3.5vw, 2.75rem); background: var(--wp--preset--color--white); border-bottom: 3px solid var(--svfc-brown); scroll-margin-top: 6rem; }
@media (min-width: 60rem) {
	.svfc-ask__grid { grid-template-columns: repeat(12, 1fr); align-items: start; }
	.svfc-sheet { grid-column: 1 / 8; }
	.svfc-ask__aside { grid-column: 8 / 13; padding-top: .25rem; }
}

/* Aside: stage-label heads, the steps stacked on their dashed line, the direct lines on hairlines, the map on its ground line */
.svfc-ask__sub { display: flex; align-items: center; gap: .5rem; margin: 0; font-family: inherit; font-size: .6875rem; font-weight: 500; text-transform: uppercase; letter-spacing: .14em; line-height: 1; color: var(--svfc-brown); }
.svfc-ask__sub::before { content: ""; width: 1rem; height: 3px; flex: none; background: var(--svfc-orange); }
.svfc-ask__aside > .svfc-ask__sub + * { margin-top: 1.5rem; }
.svfc-ask__aside > * + .svfc-ask__sub { margin-top: 3rem; }
.svfc-steps--stack { margin: 0; }
.svfc-steps--stack .svfc-step { --svfc-tile-bg: var(--wp--preset--color--white); }
/* What happens next: only after a successful send, under the thanks (the form hides its fields on success) */
.svfc-next { display: none; margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--svfc-tan); }
.svfc-next .svfc-ask__sub + * { margin-top: 1.5rem; }
.svfc-sheet:has(.nf-response-msg p) .svfc-next { display: block; }
.svfc-reach { list-style: none; margin-bottom: 0; padding: 0; border-bottom: 1px solid var(--svfc-tan); }
.svfc-reach li { display: grid; grid-template-columns: 1.25rem minmax(0, 1fr); column-gap: .875rem; row-gap: .3rem; align-items: center; padding-block: 1rem; border-top: 1px solid var(--svfc-tan); }
.svfc-reach svg { grid-row: 1 / 3; align-self: start; width: 1.25rem; height: 1.25rem; color: var(--svfc-burnt); }
.svfc-reach span { font-size: .8125rem; line-height: 1.2; color: color-mix(in srgb, var(--svfc-ink) 70%, var(--svfc-sand)); }
.svfc-reach :is(a, strong) { font-family: var(--svfc-display); font-weight: 700; font-size: 1.125rem; line-height: 1.25; color: var(--svfc-brown); overflow-wrap: anywhere; }
.svfc-reach a { text-decoration: none; }
.svfc-reach a:is(:hover, :focus-visible) { color: var(--svfc-burnt); text-decoration: underline; text-decoration-color: var(--svfc-orange); text-decoration-thickness: 2px; }
.svfc-reach--phone a { font-weight: 800; font-stretch: 75%; font-size: 1.75rem; line-height: 1; font-variant-numeric: tabular-nums; }
.svfc-map { margin: 2rem 0 0; }
.svfc-map iframe { display: block; width: 100%; aspect-ratio: 4 / 3; border: 0; border-bottom: 3px solid var(--svfc-brown); background: var(--svfc-tan); filter: grayscale(.7) sepia(.2); transition: filter .4s ease-out; }
.svfc-map:hover iframe { filter: none; }
.svfc-map figcaption { margin-top: .75rem; font-size: .875rem; }
.svfc-map figcaption a { color: var(--svfc-burnt); font-weight: 500; }

/* The form in the theme's own fields: Ninja Forms draws the markup, these rules give it the site's voice */
.svfc-sheet .nf-form-cont { font-size: 1rem; }
.svfc-sheet .nf-form-fields-required { margin-bottom: 1.75rem; font-size: .8125rem; color: color-mix(in srgb, var(--svfc-ink) 70%, var(--svfc-sand)); }
.svfc-sheet .ninja-forms-req-symbol { color: var(--svfc-burnt); }
.svfc-sheet .nf-field-container { margin-bottom: 1.5rem; }
.svfc-sheet .nf-field-container.submit-container { margin: 2rem 0 0; }
.svfc-sheet .nf-field-label { margin-bottom: .5rem; }
.svfc-sheet :is(.nf-field-label label, .nf-field-label .nf-label-span, legend) { padding: 0; font-size: .9375rem; font-weight: 500; line-height: 1.3; color: var(--svfc-brown); }
.svfc-sheet fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.svfc-sheet legend { margin-bottom: .625rem; }
.svfc-sheet :is(input:not([type="radio"], [type="checkbox"], [type="submit"], [type="button"], [type="hidden"]), textarea) { box-sizing: border-box; width: 100%; min-height: 3.125rem; margin: 0; padding: .75rem .875rem; border: 1px solid var(--svfc-tan); border-radius: 0; background: color-mix(in srgb, var(--svfc-sand) 55%, #fff); font: inherit; font-size: 1rem; line-height: 1.4; color: var(--svfc-ink); caret-color: var(--svfc-burnt); transition: border-color .2s ease-out, background-color .2s ease-out; }
.svfc-sheet textarea { min-height: 9rem; resize: vertical; }
.svfc-sheet :is(input, textarea)::placeholder { color: color-mix(in srgb, var(--svfc-ink) 70%, var(--svfc-sand)); opacity: 1; }
.svfc-sheet :is(input:not([type="radio"], [type="submit"]), textarea):hover { border-color: var(--svfc-brown); }
.svfc-sheet :is(input:not([type="radio"], [type="submit"]), textarea):focus { outline: 2px solid var(--svfc-burnt); outline-offset: -1px; border-color: var(--svfc-burnt); background: #fff; }
.svfc-sheet .nf-error :is(input:not([type="radio"]), textarea) { border-color: var(--svfc-error); }
.svfc-sheet .nf-error-msg { margin-top: .45rem; font-size: .875rem; font-weight: 500; line-height: 1.35; color: var(--svfc-error); }
.svfc-sheet :is(.nf-pass, .nf-error).field-wrap .nf-field-element::after { content: none; }

/* What do you need: two doors, the same pair as the homepage's closing, each with a radio dot that fills */
.svfc-sheet :is(.svfc-doors-field, .svfc-chips-field) ul { list-style: none; margin: 0; padding: 0; }
.svfc-sheet .svfc-doors-field ul { display: grid; gap: .625rem; }
@media (min-width: 30rem) { .svfc-sheet .svfc-doors-field ul { grid-template-columns: 1fr 1fr; } }
.svfc-sheet :is(.svfc-doors-field, .svfc-chips-field) li { position: relative; margin: 0; padding: 0; }
.svfc-sheet :is(.svfc-doors-field, .svfc-chips-field) input[type="radio"] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.svfc-sheet .svfc-doors-field li label { box-sizing: border-box; display: grid; grid-template-columns: 2.25rem minmax(0, 1fr) 1.125rem; gap: .875rem; align-items: center; min-height: 4.5rem; height: 100%; margin: 0; padding: 1rem 1.125rem; border: 1px solid var(--svfc-tan); background: color-mix(in srgb, var(--svfc-sand) 55%, #fff); font-family: var(--svfc-display); font-weight: 700; font-size: 1.0625rem; line-height: 1.2; color: var(--svfc-brown); cursor: pointer; transition: border-color .2s ease-out, background-color .2s ease-out, color .2s ease-out, box-shadow .2s ease-out; }
.svfc-sheet .svfc-doors-field li label::before { content: ""; width: 2.25rem; height: 2.25rem; background: currentColor; -webkit-mask: var(--svfc-door-icon) center / contain no-repeat; mask: var(--svfc-door-icon) center / contain no-repeat; }
.svfc-sheet .svfc-doors-field li:nth-child(1) { --svfc-door-icon: url("assets/icons/site-visit.svg"); }
.svfc-sheet .svfc-doors-field li:nth-child(2) { --svfc-door-icon: var(--svfc-sun); }
.svfc-sheet .svfc-doors-field li label::after { content: ""; box-sizing: border-box; width: 1.125rem; height: 1.125rem; border: 2px solid var(--svfc-tan); border-radius: 50%; transition: border-color .2s ease-out, box-shadow .2s cubic-bezier(.16, 1, .3, 1); }
.svfc-sheet .svfc-doors-field input:hover + label { border-color: var(--svfc-brown); }
.svfc-sheet .svfc-doors-field input:checked + label { border-color: var(--svfc-burnt); box-shadow: inset 0 0 0 1px var(--svfc-burnt); background: #fff; color: var(--svfc-burnt); }
.svfc-sheet .svfc-doors-field input:checked + label::after { border-color: var(--svfc-burnt); box-shadow: inset 0 0 0 3px var(--svfc-burnt); }
.svfc-sheet :is(.svfc-doors-field, .svfc-chips-field) input:focus-visible + label { outline: 3px solid var(--svfc-burnt); outline-offset: 2px; }

/* When to start: a row of chips; the chosen one fills earth brown */
.svfc-sheet .svfc-chips-field ul { display: flex; flex-wrap: wrap; gap: .5rem; }
.svfc-sheet .svfc-chips-field li label { box-sizing: border-box; display: flex; align-items: center; min-height: 2.75rem; margin: 0; padding: .5rem 1rem; border: 1px solid var(--svfc-tan); background: color-mix(in srgb, var(--svfc-sand) 55%, #fff); font-size: .9375rem; font-weight: 500; line-height: 1.2; color: var(--svfc-brown); cursor: pointer; transition: border-color .2s ease-out, background-color .2s ease-out, color .2s ease-out; }
.svfc-sheet .svfc-chips-field input:hover + label { border-color: var(--svfc-brown); }
.svfc-sheet .svfc-chips-field input:checked + label { border-color: var(--svfc-brown); background: var(--svfc-brown); color: #fff; }
.svfc-sheet :is(.svfc-doors-field, .svfc-chips-field).nf-error li label { border-color: var(--svfc-error); }

/* Send: the primary button */
.svfc-sheet input[type="submit"] { -webkit-appearance: none; appearance: none; min-height: 3.25rem; margin: 0; padding: .875rem 1.75rem; border: 0; border-radius: 2px; background: var(--svfc-burnt); font-family: var(--svfc-display); font-weight: 700; font-size: 1.0625rem; letter-spacing: .01em; line-height: 1.2; color: #fff; cursor: pointer; transition: background-color .2s ease-out; }
.svfc-sheet input[type="submit"]:is(:hover, :focus-visible, :disabled) { background: color-mix(in srgb, var(--svfc-burnt) 82%, var(--svfc-ink)); }
.svfc-sheet input[type="submit"]:disabled { cursor: progress; }
@media (max-width: 35.99rem) { .svfc-sheet input[type="submit"] { width: 100%; } }

/* Sent: the form gives way to a short confirmation */
.svfc-sheet .nf-response-msg p { margin: 0; line-height: 1.55; }
.svfc-sheet .nf-response-msg p:first-child { display: grid; grid-template-columns: 3.25rem 1fr; gap: 1rem; align-items: center; margin-bottom: 1rem; font-family: var(--svfc-display); font-weight: 800; font-stretch: 75%; font-size: clamp(1.75rem, 4vw, 2.25rem); line-height: 1.05; color: var(--svfc-brown); }
.svfc-sheet .nf-response-msg p:first-child::before { content: ""; width: 3.25rem; height: 3.25rem; background: url("assets/icons/site-visit.svg") center / contain no-repeat; }
.svfc-sheet .nf-response-msg:focus { outline: none; }
.svfc-sheet .nf-response-msg a { color: var(--svfc-burnt); font-weight: 500; }

/* Sticky mobile action bar */
.svfc-mobilebar { display: none; }
@media (max-width: 48rem) {
	body { padding-bottom: 3.75rem; }
	.svfc-mobilebar { display: grid; grid-template-columns: 1fr 2fr; position: fixed; inset: auto 0 0 0; z-index: 30; margin: 0 !important; border-top: 1px solid var(--svfc-tan); }
	.svfc-mobilebar p { margin: 0; }
	.svfc-mobilebar a { display: flex; align-items: center; justify-content: center; min-height: 3.75rem; font-family: var(--svfc-display); font-weight: 700; text-decoration: none; background: var(--svfc-sand); color: var(--svfc-brown); }
	.svfc-mobilebar p:last-child a { background: var(--svfc-burnt); color: #fff; }
}

/* FAQ: the questions owners ask before they book. Head on the left, answers on tan hairlines on the right; a drawn plus turns to a minus. */
.svfc-faq { padding-block: var(--svfc-band); }
.svfc-faq__grid { display: grid; gap: 2rem var(--svfc-gap); }
.svfc-faq__grid > *, .svfc-faq__head > * { margin: 0; min-width: 0; }
.svfc-faq__lead { margin-top: 1.25rem !important; max-width: 24rem; }
.svfc-faq__lead a { color: var(--svfc-burnt); font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.svfc-faq__list { border-bottom: 1px solid var(--svfc-tan); }
.svfc-faq__item { margin: 0; border-top: 1px solid var(--svfc-tan); }
.svfc-faq__item summary { position: relative; display: block; list-style: none; padding: 1.25rem 2.75rem 1.25rem 0; cursor: pointer; font-family: var(--svfc-display); font-weight: 700; font-size: clamp(1.0625rem, 2.2vw, 1.25rem); line-height: 1.3; color: var(--svfc-brown); transition: color .2s ease-out; }
.svfc-faq__item summary::-webkit-details-marker { display: none; }
.svfc-faq__item summary::before, .svfc-faq__item summary::after { content: ""; position: absolute; right: .25rem; top: 50%; width: 1rem; height: 2px; margin-top: -1px; background: var(--svfc-brown); transition: transform .3s cubic-bezier(.16, 1, .3, 1), background-color .2s ease-out; }
.svfc-faq__item summary::after { transform: rotate(90deg); }
.svfc-faq__item[open] summary::after { transform: rotate(0deg); }
.svfc-faq__item summary:hover { color: var(--svfc-burnt); }
.svfc-faq__item summary:hover::before, .svfc-faq__item summary:hover::after, .svfc-faq__item[open] summary::before, .svfc-faq__item[open] summary::after { background: var(--svfc-orange); }
.svfc-faq__item summary:focus-visible { outline-offset: 4px; }
.svfc-faq__item > :not(summary) { margin: 0; padding: 0 2.75rem 1.5rem 0; max-width: 40rem; line-height: 1.6; }
@media (min-width: 60rem) {
	.svfc-faq__grid { grid-template-columns: repeat(12, 1fr); align-items: start; }
	.svfc-faq__head { grid-column: 1 / 6; position: sticky; top: calc(var(--wp-admin--admin-bar--height, 0px) + 6.5rem); }
	.svfc-faq__list { grid-column: 6 / 13; }
}
/* Answers slide open where the browser can animate to auto height */
@supports (interpolate-size: allow-keywords) {
	@media (prefers-reduced-motion: no-preference) {
		.svfc-faq__item { interpolate-size: allow-keywords; }
		.svfc-faq__item::details-content { block-size: 0; overflow: clip; transition: block-size .35s cubic-bezier(.16, 1, .3, 1), content-visibility .35s allow-discrete; }
		.svfc-faq__item[open]::details-content { block-size: auto; }
	}
}

/* Services page: a short head and an index of the four trades, then one band per trade.
   Copy on one side; on the other the work stands on the ground line with the record hanging from it. */
.svfc-svc-intro { padding-block: clamp(2.5rem, 5vw, 4rem) clamp(2rem, 4vw, 3rem); }
.svfc-svc-intro .svfc-heading { font-size: clamp(2.25rem, 7vw, 3.75rem); }
.svfc-index { display: grid; grid-template-columns: 1fr 1fr; margin-top: clamp(2rem, 4vw, 3rem) !important; border-top: 3px solid var(--svfc-brown); }
.svfc-index a { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: 1rem 0; border-bottom: 1px solid var(--svfc-tan); font-family: var(--svfc-display); font-weight: 800; font-stretch: 75%; font-size: clamp(1.25rem, 2.4vw, 1.75rem); line-height: 1.05; color: var(--svfc-brown); text-decoration: none; }
.svfc-index a:nth-child(odd) { padding-right: 1rem; }
.svfc-index a:nth-child(even) { padding-left: 1rem; border-left: 1px solid var(--svfc-rule-soft); }
.svfc-index a::after { content: ""; flex: none; width: 1rem; height: 1rem; background: currentColor; rotate: 90deg; -webkit-mask: var(--svfc-arrow) center / contain no-repeat; mask: var(--svfc-arrow) center / contain no-repeat; transition: translate .25s cubic-bezier(.16, 1, .3, 1); }
.svfc-index a:is(:hover, :focus-visible) { color: var(--svfc-burnt); }
.svfc-index a:is(:hover, :focus-visible)::after { translate: 0 .25rem; }
@media (min-width: 48rem) {
	.svfc-index { grid-template-columns: repeat(4, 1fr); }
	.svfc-index a, .svfc-index a:nth-child(odd), .svfc-index a:nth-child(even) { padding: 1.25rem 1.25rem 1.25rem 0; border-left: 0; border-bottom: 0; }
	.svfc-index a + a { padding-left: 1.25rem; border-left: 1px solid var(--svfc-rule-soft); }
}

.svfc-trade { padding-block: var(--svfc-band); scroll-margin-top: calc(var(--wp-admin--admin-bar--height, 0px) + 4.5rem); }
.svfc-trade__grid { display: grid; gap: 2.5rem var(--svfc-gap); }
.svfc-trade__grid > * { min-width: 0; }
.svfc-trade__copy > *, .svfc-trade__work > * { margin: 0; }
.svfc-trade__title { font-size: clamp(2.25rem, 6vw, 3.5rem); font-weight: 800; font-stretch: 75%; line-height: 1; letter-spacing: -.01em; }
.svfc-trade__lead { margin-top: 1rem !important; max-width: 34rem; font-size: 1.0625rem; line-height: 1.55; }
.svfc-trade__sub { display: flex; align-items: center; gap: .5rem; margin-top: 2rem !important; font-family: inherit; font-size: .6875rem; font-weight: 500; text-transform: uppercase; letter-spacing: .14em; line-height: 1; color: var(--svfc-brown); }
.svfc-trade__sub::before { content: ""; width: 1rem; height: 3px; flex: none; background: var(--svfc-orange); }
.svfc-trade__for { list-style: none; margin-top: 1rem !important; padding: 0; display: grid; gap: .5rem; }
.svfc-trade__for li { display: grid; grid-template-columns: 1.25rem minmax(0, 1fr); gap: .5rem; line-height: 1.45; }
.svfc-trade__for li::before { content: ""; width: .875rem; height: .875rem; margin-top: .3em; background: var(--svfc-burnt); -webkit-mask: var(--svfc-arrow) center / contain no-repeat; mask: var(--svfc-arrow) center / contain no-repeat; }
.svfc-trade__scope { display: flex; flex-wrap: wrap; gap: .375rem; margin-top: 1rem !important; }
.svfc-trade__scope span { padding: .375rem .625rem; border: 1px solid var(--svfc-tan); background: var(--wp--preset--color--white); font-size: .75rem; font-weight: 500; line-height: 1.2; color: var(--svfc-brown); }
.has-white-background-color .svfc-trade__scope span { background: var(--svfc-sand); }
.svfc-trade__act { margin-top: 2.25rem !important; display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; }
.svfc-trade__act > * { margin: 0; }
.svfc-trade__act p { max-width: 17rem; font-size: .875rem; line-height: 1.4; color: color-mix(in srgb, var(--svfc-ink) 70%, var(--svfc-sand)); }
.has-white-background-color .svfc-trade__act p { color: color-mix(in srgb, var(--svfc-ink) 72%, #fff); }
@media (max-width: 35.99rem) { .svfc-trade__act .wp-block-buttons, .svfc-trade__act .wp-block-button, .svfc-trade__act .wp-block-button__link { width: 100%; box-sizing: border-box; text-align: center; } }

/* The work: photos stepping up to the ground line (the skyline, two courses), or the voltages where there are no photos */
.svfc-trade__photos { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; grid-template-rows: 100%; align-items: end; gap: .75rem; height: clamp(15rem, 58vw, 24rem); border-bottom: 3px solid var(--svfc-brown); overflow: clip; }
.svfc-trade__photos figure { height: 100%; margin: 0; min-width: 0; overflow: clip; }
.svfc-trade__photos figure:first-child:not(:last-child) { height: 72%; }
.svfc-trade__photos img { width: 100%; height: 100% !important; object-fit: cover; transition: transform .6s cubic-bezier(.16, 1, .3, 1); }
.svfc-trade--electrical .svfc-trade__photos img { object-position: 50% 72%; }
.svfc-trade__work .svfc-trade__sub { margin-top: 1.5rem !important; }
.svfc-trade__work .svfc-ledger { margin-top: 1rem; }
.svfc-trade__work .svfc-ledger li { grid-template-columns: minmax(5.5rem, auto) 1fr; }
@media (hover: hover) { .svfc-trade__photos figure:hover img { transform: scale(1.03); } }
.svfc-trade__volts { display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 1rem; padding: clamp(1.25rem, 3vw, 2rem); background: var(--svfc-brown); box-sizing: border-box; }
.svfc-trade__volts p { margin: 0; color: var(--svfc-tan); font-size: .6875rem; font-weight: 500; text-transform: uppercase; letter-spacing: .14em; line-height: 1.2; }
.svfc-trade__volts strong { display: block; margin-bottom: .35rem; font-family: var(--svfc-display); font-weight: 800; font-stretch: 75%; font-size: clamp(4rem, 12vw, 7rem); line-height: .85; letter-spacing: -.01em; color: var(--svfc-yellow); }
.svfc-trade__volts strong span { text-transform: none; font-size: .45em; margin-left: .05em; letter-spacing: 0; }
.svfc-trade__volts p + p strong { font-size: clamp(2rem, 5vw, 3rem); color: var(--svfc-sand); }

@media (min-width: 60rem) {
	.svfc-trade__grid { grid-template-columns: repeat(12, 1fr); align-items: start; }
	.svfc-trade__copy { grid-column: 1 / 6; }
	.svfc-trade__work { grid-column: 7 / 13; }
	/* Every other trade swaps sides, so the page walks left and right like a site walk */
	.svfc-trade--building .svfc-trade__copy, .svfc-trade--power-lines .svfc-trade__copy { grid-column: 8 / 13; grid-row: 1; }
	.svfc-trade--building .svfc-trade__work, .svfc-trade--power-lines .svfc-trade__work { grid-column: 1 / 7; grid-row: 1; }
	.svfc-trade__photos { height: clamp(22rem, 30vw, 28rem); gap: 1rem; }
}

/* The work rises into its frame as the band scrolls in, as on the homepage */
@supports (animation-timeline: view()) {
	@media (prefers-reduced-motion: no-preference) {
		.svfc-trade__photos img, .svfc-trade__volts strong { animation: svfc-raise linear both; animation-timeline: view(); animation-range: entry 0% entry 80%; }
	}
}

/* Projects page: the record as a wall laid year by year. One course per job (count, never value), a milestone note pinned above each year with a first.
   Trades read by fill, not colour alone: building solid brown, electrical and solar safety orange, power lines yellow with a brown edge, civil works hatched.
   The filters are radios and the readout is CSS: hover, tap or focus a course to read its job. */
.svfc-sky { --sky-edge: 0 0 #0000; --sky-muted: color-mix(in srgb, var(--svfc-ink) 70%, var(--svfc-sand)); position: relative; margin-top: clamp(1.75rem, 3.5vw, 2.5rem) !important; }
.svfc-sky .is-building { --sky-fill: var(--svfc-brown); }
.svfc-sky .is-electrical { --sky-fill: var(--svfc-orange); }
.svfc-sky .is-power { --sky-fill: var(--svfc-yellow); --sky-edge: inset 0 0 0 2px var(--svfc-brown); }
.svfc-sky .is-civil { --sky-fill: repeating-linear-gradient(-45deg, var(--svfc-brown) 0 2px, transparent 2px 6px); --sky-edge: inset 0 0 0 2px var(--svfc-brown); }

.svfc-sky__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding-block: 1rem 1.25rem; border-top: 3px solid var(--svfc-brown); }
.svfc-sky__sum { margin: 0; font-size: .875rem; font-variant-numeric: tabular-nums; color: var(--sky-muted); }
.svfc-sky__filters { display: flex; flex-wrap: wrap; gap: .5rem; min-width: 0; margin: 0; padding: 0; border: 0; }
.svfc-sky__filters legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.svfc-sky__filters label { position: relative; display: inline-flex; align-items: center; gap: .5rem; min-height: 2.5rem; box-sizing: border-box; padding: .375rem .875rem; border: 1px solid var(--svfc-tan); background: #fff; font-size: .875rem; font-weight: 500; line-height: 1.2; color: var(--svfc-brown); cursor: pointer; transition: border-color .2s ease-out, background-color .2s ease-out, color .2s ease-out; }
.svfc-sky__filters label span { font-variant-numeric: tabular-nums; color: var(--sky-muted); transition: color .2s ease-out; }
.svfc-sky__filters input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.svfc-sky__filters i { flex: none; width: .75rem; height: .75rem; background: var(--sky-fill); box-shadow: var(--sky-edge); }
.svfc-sky__filters label:hover { border-color: var(--svfc-brown); }
.svfc-sky__filters label:has(:checked) { border-color: var(--svfc-brown); background: var(--svfc-brown); color: #fff; }
.svfc-sky__filters label:has(:checked) span { color: var(--svfc-tan); }
.svfc-sky__filters label:has(:checked) i { outline: 1px solid var(--svfc-sand); }
.svfc-sky__filters label:has(:focus-visible) { outline: 3px solid var(--svfc-burnt); outline-offset: 2px; }

/* Phones: one year per row on tan hairlines. The year, its courses laid left to right, then the note. */
.svfc-wall { margin: 0; padding: 0; list-style: none; border-bottom: 1px solid var(--svfc-tan); }
.svfc-wall > li { margin: 0; }
.svfc-wall__break { display: none; }
.svfc-wall__year { display: grid; grid-template-columns: 4.25rem minmax(0, 1fr); column-gap: 1rem; align-items: start; padding-block: 1rem; border-top: 1px solid var(--svfc-tan); }
.svfc-wall__label { grid-row: 1 / 3; margin: 0; font-family: var(--svfc-display); font-weight: 800; font-stretch: 75%; font-size: 1.5rem; line-height: 1.5rem; letter-spacing: -.01em; font-variant-numeric: tabular-nums; color: var(--svfc-brown); }
.svfc-wall__courses { grid-column: 2; display: flex; flex-wrap: wrap; gap: 3px; margin: 0; padding: 0; list-style: none; }
.svfc-wall__courses li { margin: 0; }
.svfc-wall__note { grid-column: 2; grid-row: 2; display: grid; gap: .2rem; margin: .75rem 0 0; }
.svfc-wall__note strong { font-family: var(--svfc-display); font-weight: 700; font-size: 1.0625rem; line-height: 1.2; color: var(--svfc-brown); }
.svfc-wall__note span { font-size: .875rem; line-height: 1.4; color: var(--sky-muted); }
.svfc-sky__bar { display: block; width: 1.5rem; height: 1.5rem; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; font: inherit; color: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.svfc-sky__bar:focus-visible { outline: none; }
.svfc-sky__bar:focus-visible .svfc-sky__fill { outline: 3px solid var(--svfc-burnt); outline-offset: 2px; }
.svfc-sky__fill { display: block; width: 100%; height: 100%; background: var(--sky-fill); box-shadow: var(--sky-edge); transform-origin: 50% 100%; transition: opacity .25s ease-out, box-shadow .2s ease-out; }
.svfc-wall__hint { display: none; }

/* The readout. Phones: a sand bar over the action bar, shown while a course is tapped. */
.svfc-sky__read { position: fixed; z-index: 29; left: 0; right: 0; bottom: 3.75rem; display: grid; justify-items: start; gap: .3rem; box-sizing: border-box; padding: .875rem clamp(1rem, 2.5vw, 2rem); border-top: 3px solid var(--svfc-brown); background: var(--svfc-sand); text-align: left; pointer-events: none; visibility: hidden; opacity: 0; }
.svfc-sky__trade { display: flex; align-items: center; gap: .5rem; font-size: .6875rem; font-weight: 500; text-transform: uppercase; letter-spacing: .14em; line-height: 1; color: var(--svfc-brown); }
.svfc-sky__trade::before { content: ""; flex: none; width: 1rem; height: .75rem; background: var(--sky-fill); box-shadow: var(--sky-edge); }
.svfc-sky__title { font-family: var(--svfc-display); font-weight: 700; font-size: 1.0625rem; line-height: 1.25; color: var(--svfc-brown); text-wrap: balance; }
.svfc-sky__who { font-size: .875rem; line-height: 1.35; color: var(--sky-muted); }
@media (min-width: 48.01rem) { .svfc-sky__read { bottom: 0; } }

/* A hovered course beats a focused one; the course being read gets a safety-orange cap and the rest step back */
.svfc-sky__bar:is(:hover, :focus) .svfc-sky__read { visibility: visible; opacity: 1; transition: opacity .2s ease-out; }
.svfc-sky:has(.svfc-sky__bar:hover) .svfc-sky__bar:not(:hover) .svfc-sky__read { visibility: hidden; opacity: 0; }
.svfc-sky__bar:is(:hover, :focus) .svfc-sky__fill { box-shadow: var(--sky-edge), 0 -5px 0 var(--svfc-orange); }
.svfc-sky:has(.svfc-sky__bar:hover) .svfc-sky__bar:not(:hover) .svfc-sky__fill { box-shadow: var(--sky-edge); }
.svfc-wall:has(.svfc-sky__bar:is(:hover, :focus)) .svfc-sky__bar:not(:hover, :focus) .svfc-sky__fill { opacity: .4; }
.svfc-sky:has(#svfc-sky-building:checked) .svfc-sky__bar:not(.is-building) .svfc-sky__fill,
.svfc-sky:has(#svfc-sky-electrical:checked) .svfc-sky__bar:not(.is-electrical) .svfc-sky__fill,
.svfc-sky:has(#svfc-sky-power:checked) .svfc-sky__bar:not(.is-power) .svfc-sky__fill,
.svfc-sky:has(#svfc-sky-civil:checked) .svfc-sky__bar:not(.is-civil) .svfc-sky__fill { opacity: .14; }

/* Desktop: the wall stands on one ground line. Each year is a column; its courses stack from the ground, its note is pinned above
   on a dashed leader, its year sits under the line. The readout takes the strip under the years. */
@media (min-width: 60rem) {
	.svfc-sky { --course: 1.25rem; padding-bottom: 4.5rem; }
	.svfc-wall { display: flex; gap: 1rem; padding-top: .5rem; border-bottom: 0; background: linear-gradient(var(--svfc-brown) 0 0) left 0 bottom 2rem / 100% 3px no-repeat; }
	.svfc-wall__year { flex: 1 1 0; min-width: 0; grid-template-columns: minmax(0, 1fr); grid-template-rows: 7.5rem calc(var(--tallest) * (var(--course) + 3px) + 2.5rem) 3px 2rem; padding: 0; border: 0; }
	.svfc-wall__break { display: block; flex: 0 0 1.5rem; align-self: end; height: 2rem; margin-bottom: 0; position: relative; }
	.svfc-wall__break::before, .svfc-wall__break::after { content: ""; position: absolute; top: -.6rem; width: 2px; height: 1.25rem; background: var(--svfc-brown); rotate: 20deg; outline: 3px solid var(--svfc-sand); }
	.svfc-wall__break::before { left: .4rem; }
	.svfc-wall__break::after { left: .95rem; }
	.svfc-wall__note { grid-column: 1; grid-row: 1; align-self: end; margin: 0; }
	.svfc-wall__note strong { font-size: 1rem; text-wrap: balance; }
	.svfc-wall__note span { font-size: .8125rem; line-height: 1.35; }
	.svfc-wall__courses { grid-column: 1; grid-row: 2; align-self: stretch; flex-direction: column-reverse; flex-wrap: nowrap; justify-content: flex-start; padding-top: .75rem; }
	.svfc-wall__courses li { flex: none; }
	.has-note .svfc-wall__courses::after { content: ""; flex: 1; align-self: flex-start; width: 0; margin-left: .5rem; border-left: 1px dashed var(--svfc-brown); }
	.svfc-wall__label { grid-row: 4; padding-top: .55rem; font-family: inherit; font-weight: 500; font-size: .6875rem; line-height: 1; letter-spacing: .06em; font-stretch: 100%; }
	.svfc-sky__bar { width: 100%; height: var(--course); }
	.svfc-wall__hint { display: block; position: absolute; left: 0; bottom: 0; margin: 0; padding-top: .875rem; font-size: .875rem; color: var(--sky-muted); }
	.svfc-sky:has(.svfc-sky__bar:is(:hover, :focus)) .svfc-wall__hint { visibility: hidden; }
	.svfc-sky__read { position: absolute; z-index: 1; bottom: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem 1rem; padding: .875rem 0 0; border: 0; background: var(--svfc-sand); }
	.svfc-sky__trade { align-self: center; }
}
/* On load the wall is laid course by course, oldest first */
@media (prefers-reduced-motion: no-preference) {
	.svfc-sky__fill { animation: svfc-lay .5s cubic-bezier(.16, 1, .3, 1) both; animation-delay: calc(.25s + var(--i) * 30ms); }
}
@keyframes svfc-lay { from { opacity: 0; transform: translateY(-.75rem); } }

/* Jobs up close: the work on its ground line, then the figure, a quiet tag, the job and one line */
.svfc-flag { padding-block: var(--svfc-band); }
.svfc-flag__grid { display: grid; gap: 3rem var(--svfc-gap); margin-top: clamp(2.5rem, 5vw, 3.5rem) !important; }
.svfc-job { min-width: 0; }
.svfc-job > *, .svfc-job__body > * { margin: 0; }
.svfc-job figure { display: flex; flex-direction: column; gap: .6rem; min-width: 0; margin: 0; }
.svfc-job figcaption { display: flex; align-items: center; gap: .5rem; margin: 0; font-size: .6875rem; font-weight: 500; text-transform: uppercase; letter-spacing: .14em; line-height: 1; white-space: nowrap; color: var(--svfc-brown); }
.svfc-job figcaption::before { content: ""; flex: none; width: 1rem; height: 3px; background: var(--svfc-orange); }
.svfc-job__media img, .svfc-job__media .svfc-trade__volts { width: 100%; aspect-ratio: 4 / 3; height: auto; box-sizing: border-box; object-fit: cover; border-bottom: 3px solid var(--svfc-brown); }
.svfc-job__figure { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; margin-top: 1.25rem !important; }
.svfc-job__figure strong { font-family: var(--svfc-display); font-weight: 800; font-stretch: 75%; font-size: clamp(2rem, 3.6vw, 2.75rem); line-height: 1; letter-spacing: -.01em; font-variant-numeric: tabular-nums; color: var(--svfc-brown); }
.svfc-job__figure span { padding: .375rem .625rem; border: 1px solid var(--svfc-tan); background: var(--svfc-sand); font-size: .75rem; font-weight: 500; line-height: 1.2; color: var(--svfc-brown); }
.svfc-job__title { margin-top: .75rem !important; font-family: var(--svfc-display); font-weight: 700; font-size: 1.25rem; line-height: 1.2; color: var(--svfc-brown); text-wrap: balance; }
.svfc-job__meta { margin-top: .375rem !important; font-size: .875rem; line-height: 1.4; color: color-mix(in srgb, var(--svfc-ink) 72%, #fff); }
.svfc-job__text { margin-top: .75rem !important; max-width: 34rem; font-size: .9375rem; line-height: 1.55; }
/* Where it started: two photos stepping up on one ground line, the story beside them */
.svfc-job__pair { display: grid; grid-template-columns: 1fr 1.3fr; align-items: end; gap: .75rem; height: clamp(15rem, 52vw, 24rem); border-bottom: 3px solid var(--svfc-brown); overflow: clip; }
.svfc-job__pair figure { height: 100%; }
.svfc-job__pair figure:first-child { height: 72%; }
.svfc-job__pair img { flex: 1; width: 100%; min-height: 0; object-fit: cover; }
@media (min-width: 60rem) {
	.svfc-flag__grid { grid-template-columns: repeat(12, 1fr); row-gap: clamp(3.5rem, 6vw, 5rem); }
	.svfc-job { grid-column: span 4; }
	.svfc-job:nth-child(1) { grid-column: 1 / 8; }
	.svfc-job:nth-child(2) { grid-column: 8 / 13; }
	.svfc-job:nth-child(-n+2) .svfc-job__media :is(img, .svfc-trade__volts) { aspect-ratio: auto; height: clamp(18rem, 27vw, 25rem); }
	.svfc-job--start { grid-column: 1 / 13; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--svfc-gap); align-items: end; }
	.svfc-job--start .svfc-job__pair { grid-column: 1 / 8; height: clamp(20rem, 30vw, 27rem); gap: 1rem; }
	.svfc-job--start .svfc-job__body { grid-column: 8 / 13; }
}

/* Who we build for: share of contract value on one bar, the legend under its own segment from 48rem */
.svfc-clients .is-gov { --mix: var(--svfc-brown); }
.svfc-clients .is-coop { --mix: var(--svfc-tan); }
.svfc-clients .is-private { --mix: var(--svfc-orange); }
.svfc-mix__bar { display: flex; gap: 3px; height: 3.5rem; border-bottom: 3px solid var(--svfc-brown); }
.svfc-mix__bar span { flex: var(--share) 1 0; background: var(--mix); }
.svfc-mix { display: grid; margin: 0; padding: 0; list-style: none; }
.svfc-mix li { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); column-gap: 1rem; row-gap: .25rem; align-items: baseline; padding-block: .85rem; border-bottom: 1px solid var(--svfc-tan); }
.svfc-mix strong { grid-row: 1 / 3; font-family: var(--svfc-display); font-weight: 800; font-stretch: 75%; font-size: 1.75rem; line-height: 1; font-variant-numeric: tabular-nums; color: var(--svfc-brown); }
.svfc-mix__who { display: flex; align-items: center; gap: .5rem; font-size: .9375rem; font-weight: 500; line-height: 1.3; color: var(--svfc-brown); }
.svfc-mix__who::before { content: ""; flex: none; width: .75rem; height: .75rem; background: var(--mix); }
.svfc-mix__note { grid-column: 2; font-size: .8125rem; line-height: 1.4; color: color-mix(in srgb, var(--svfc-ink) 70%, var(--svfc-sand)); }
@media (min-width: 48rem) {
	.svfc-mix { display: flex; gap: 3px; }
	.svfc-mix li { flex: var(--share) 1 0; min-width: 0; grid-template-columns: minmax(0, 1fr); align-content: start; padding: .9rem .75rem 0 0; border: 0; }
	.svfc-mix strong { grid-row: auto; margin-bottom: .35rem; font-size: 2.25rem; }
	.svfc-mix__note { grid-column: 1; }
}
@supports (animation-timeline: view()) {
	@media (prefers-reduced-motion: no-preference) {
		.svfc-job img, .svfc-job .svfc-trade__volts strong { animation: svfc-raise linear both; animation-timeline: view(); animation-range: entry 0% entry 80%; }
		.svfc-mix__bar { animation: svfc-wipe linear both; animation-timeline: view(); animation-range: entry 30% cover 40%; }
	}
}
