/*
Theme Name: Vincon
Theme URI:
Author: LongIslandWebDesign
Description: Classic theme for VINCON Electric Co. Inc. Commercial and industrial electrical contractor, est. 1989.
Version: 1.8.47
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: vincon
*/

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	font-size: 16px;
	background: var(--v-paper);
}

body {
	margin: 0;
	background: var(--v-paper);
	color: var(--v-ink);
	font-family: var(--font-sans);
	font-size: 16px;
	font-weight: 400;
	line-height: var(--leading-normal);
}

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

h1,
h2,
h3,
p {
	margin: 0;
}

h1,
h2,
.estimate-phone,
.cred-row li,
.stage-name,
.service-group h2 {
	font-family: var(--font-display);
}

h1 {
	font-weight: 600;
	line-height: 1.05;
	letter-spacing: -0.03em;
}

h2 {
	font-size: clamp(28px, 3vw, 36px);
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: -0.02em;
}

a {
	color: var(--v-accent);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

a:hover,
a:focus {
	color: var(--v-ink);
}

.skip-link {
	position: absolute;
	left: 16px;
	top: 8px;
	transform: translateY(-8rem);
	background: var(--v-accent);
	color: var(--v-white);
	padding: 8px 16px;
	font-size: 16px;
	z-index: 40;
}

.skip-link:focus {
	transform: none;
	color: var(--v-white);
}

.wrap {
	width: 100%;
	max-width: 1180px;
	margin: 0 auto;
	padding-left: 24px;
	padding-right: 24px;
}

.btn-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin-top: 28px;
}

/* Header sits over the hero. Transparent until scroll; ink on inner pages. */

.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 30;
	color: var(--v-white);
	background: transparent;
	transition: background 160ms ease;
}

.site-header.is-solid,
.site-header:has(.header-end.is-open) {
	background: #000000;
}

body:not(.home) {
	padding-top: var(--header-h);
}

.header-bar {
	display: flex;
	align-items: center;
	gap: 12px 18px;
	min-height: var(--header-h);
	padding: 12px 24px;
}

.brand {
	display: block;
	line-height: 0;
	flex: 0 0 auto;
	margin-right: auto;
}

.brand img,
.footer-brand img {
	display: block;
	width: auto;
	height: 46px;
	background: #000000;
}

.header-phone {
	color: #ffffff;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}

.header-phone:hover,
.header-phone:focus {
	color: #ffffff;
	text-decoration: underline;
	text-decoration-color: #008BD4;
}

.header-phone-bar {
	display: inline;
}

.nav-toggle {
	display: inline-flex;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 42px;
	height: 42px;
	padding: 10px;
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: var(--btn-radius);
	background: transparent;
	cursor: pointer;
}

.nav-toggle span {
	display: block;
	height: 2px;
	background: var(--v-white);
}

.header-end {
	display: none;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
	width: 100%;
	padding: 4px 0 16px;
}

.header-end.is-open {
	display: flex;
}

.site-nav {
	display: flex;
	flex-direction: column;
	gap: 4px;
	list-style: none;
	margin: 0;
	padding: 0;
	width: 100%;
}

.site-nav a {
	display: block;
	padding: 8px 0;
	font-size: 16px;
	font-weight: 400;
	letter-spacing: 0;
	text-transform: none;
}

.header-estimate {
	align-self: flex-start;
}

/* Hero: full-bleed job photos, dark left gradient, display headline. */

.hero {
	position: relative;
	min-height: 88vh;
	min-height: 88svh;
	display: flex;
	align-items: flex-end;
	background: #0F1012;
	color: var(--v-white);
	overflow: hidden;
}

.hero-slides {
	position: absolute;
	inset: 0;
}

.hero-photo {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	opacity: 0;
	z-index: 0;
	transition: opacity 1000ms ease;
}

.hero-photo.is-on {
	opacity: 1;
	z-index: 1;
}

.hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: none;
	background:
		linear-gradient(90deg, rgba(15, 16, 18, 0.88) 0%, rgba(15, 16, 18, 0.62) 36%, rgba(15, 16, 18, 0.18) 68%, rgba(15, 16, 18, 0.28) 100%),
		linear-gradient(180deg, rgba(15, 16, 18, 0.5) 0%, rgba(15, 16, 18, 0) 28%);
}

.hero-copy {
	position: relative;
	z-index: 3;
	width: 100%;
	padding-top: calc(var(--header-h) + 48px);
	padding-bottom: 64px;
}

.hero h1,
.hero .hero-copy h1 {
	max-width: 9em;
	margin: 0;
	color: #ffffff;
	font-size: clamp(54px, 7vw, 96px);
	font-weight: 600;
	line-height: 0.98;
	letter-spacing: -0.035em;
}

.accent-word {
	color: #008BD4;
}

.hero-sub {
	max-width: 36em;
	margin: 20px 0 0;
	color: rgba(255, 255, 255, 0.9);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
}

.hero .btn-row {
	margin-top: 32px;
}

/* Fold under the hero. Three full-bleed job stills. Caption sits on the photo. */

.fold {
	background: #0F1012;
}

.stage {
	position: relative;
	display: block;
	height: 100vh;
	height: 100svh;
	min-height: 100vh;
	overflow: hidden;
	background: #0F1012;
	color: #ffffff;
	text-decoration: none;
}

.stage:hover,
.stage:focus {
	color: #ffffff;
	text-decoration: none;
}

.stage:focus-visible {
	outline: 2px solid #008BD4;
	outline-offset: -6px;
}

.stage img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center;
	border: 0;
	border-radius: 0;
}

.stage::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background:
		linear-gradient(90deg, rgba(15, 16, 18, 0.78) 0%, rgba(15, 16, 18, 0.34) 38%, rgba(15, 16, 18, 0) 68%),
		linear-gradient(180deg, rgba(15, 16, 18, 0) 46%, rgba(15, 16, 18, 0.82) 100%);
}

.stage-copy {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	padding-top: 0;
	padding-bottom: 56px;
	color: #ffffff;
	text-align: left;
}

.stage-kicker {
	display: block;
	margin: 0;
	color: #ffffff;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: 0;
}

.stage-rule {
	display: block;
	width: 56px;
	height: 1px;
	margin: 14px 0 16px;
	background: #008BD4;
}

.stage-name {
	display: block;
	margin: 0;
	max-width: 10em;
	color: #ffffff;
	font-size: clamp(40px, 5vw, 72px);
	font-weight: 600;
	line-height: 0.98;
	letter-spacing: -0.03em;
}



.proof {
	background: #0F1012;
}

.proof-grid {
	display: grid;
	grid-template-columns: 1fr;
}

.proof-shot {
	position: relative;
	display: block;
	color: #fff;
	text-decoration: none;
}

.proof-shot img {
	display: block;
	width: 100%;
	height: 42vw;
	min-height: 220px;
	max-height: 520px;
	object-fit: cover;
}

.proof-shot span {
	position: absolute;
	left: 24px;
	bottom: 18px;
	font-size: 14px;
	font-weight: 600;
}

.home-services {
	background: #f5f5f3;
	padding: 64px 0;
}

.home-services__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 24px;
}

.home-services__head h2 {
	margin: 0;
	font-size: 32px;
	font-weight: 600;
	letter-spacing: -0.03em;
}

.home-services__head a {
	color: #008BD4;
	font-weight: 600;
	text-decoration: none;
}

.home-panels {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
}

.home-panel {
	background: #fff;
	border-top: 4px solid #008BD4;
	padding: 22px 22px 8px;
}

.home-panel h3 {
	margin: 0 0 12px;
	font-size: 20px;
	font-weight: 600;
}

.home-panel ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.home-panel li {
	padding: 10px 0;
	border-top: 1px solid var(--v-line);
	font-size: 16px;
}

.name-band {
	padding: 28px 0 36px;
	background: #fff;
}

.name-more {
	margin: 16px 0 0;
}

.name-more a {
	color: #008BD4;
	font-weight: 600;
	text-decoration: none;
}

@media (min-width: 48rem) {
	.proof-grid {
		grid-template-columns: 1.2fr 1fr 1fr;
	}

	.proof-shot img {
		height: 420px;
		max-height: none;
	}

	.home-panels {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* Credential strip. Facts only, one equal row. */

.cred-band {
	background: #ffffff;
}

.cred-row {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0;
	list-style: none;
	margin: 0;
	padding-top: 22px;
	padding-bottom: 22px;
}

.cred-row li {
	margin: 0;
	padding: 0 12px;
	border: 0;
	text-align: center;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: 0;
}

.cred-row li + li {
	border-left: 1px solid var(--v-line);
}

/* Sections. One wrap, same pad, alternating surfaces. */

.band {
	padding: var(--section-pad) 0;
}

.about-band {
	background: var(--v-paper);
}

.page-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 16px;
}

.about-copy {
	grid-column: 1;
	max-width: 40em;
}

.about-copy .prose p:last-child {
	margin-bottom: 0;
}

.band-title {
	margin: 0 0 28px;
}

.section-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	margin: 0 0 28px;
}

.section-head h2 {
	margin: 0;
}

.text-link {
	color: #008BD4;
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
}

.text-link:hover,
.text-link:focus {
	color: #0F1012;
	text-decoration: underline;
	text-decoration-color: #008BD4;
}

.lede {
	max-width: 38em;
	margin: 0 0 28px;
	font-size: 18px;
	line-height: 1.5;
}

.prose p {
	max-width: var(--measure);
	margin: 0 0 16px;
	font-size: 16px;
	font-weight: 400;
}

/* Services: designed panels, live names only. */

.service-index {
	list-style: none;
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--v-line);
}

.service-index li {
	margin: 0;
	padding: 14px 0;
	border-bottom: 1px solid var(--v-line);
	font-size: 18px;
	font-weight: 600;
	line-height: 1.3;
}

/* Quiet staff names. Homepage uses the full rows, not this strip. */

.name-row {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 0;
	list-style: none;
	margin: 0;
	padding: 0;
}

.name-row li {
	margin: 0;
	padding: 0 18px 0 0;
	font-size: 16px;
	font-weight: 400;
	color: var(--v-ink);
}

.name-row li:not(:last-child)::after {
	content: "";
	display: inline-block;
	width: 4px;
	height: 4px;
	margin-left: 18px;
	border-radius: 50%;
	background: #008BD4;
	vertical-align: middle;
}


.aff-band {
	padding: 28px 0;
	background: #fff;
	border-bottom: 1px solid var(--v-line);
}

.aff-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 28px 40px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.aff-mark img {
	display: block;
	height: 80px;
	width: auto;
	max-width: 220px;
	object-fit: contain;
}

.about-photo {
	margin: 0;
}

.about-photo img {
	display: block;
	width: 100%;
	height: auto;
}

/* Estimate band. */

.estimate-band {
	background: #0F1012;
	color: #ffffff;
}

.estimate-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px 32px;
	padding-top: var(--section-pad);
	padding-bottom: var(--section-pad);
}

.estimate-phone {
	margin: 0;
	font-size: clamp(32px, 4vw, 48px);
	font-weight: 600;
	line-height: 1.05;
	letter-spacing: -0.03em;
}

.estimate-phone a {
	color: #ffffff;
	text-decoration: none;
}

.estimate-phone a:hover,
.estimate-phone a:focus {
	color: #ffffff;
	text-decoration: underline;
	text-decoration-color: #008BD4;
}

.estimate-address {
	margin: 8px 0 0;
	font-size: 16px;
	color: rgba(255, 255, 255, 0.82);
}

/* Projects grid. */

.job-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.job-shot {
	margin: 0;
}

.job-shot a {
	display: block;
	line-height: 0;
	text-decoration: none;
}

.job-grid .job-shot img {
	display: block;
	width: 100%;
	height: 240px;
	object-fit: cover;
	background: var(--v-tile);
	border: 0;
	border-radius: 0;
}

.job-grid .job-shot figcaption {
	margin: 8px 0 0;
	font-size: 14px;
	font-weight: 400;
	color: var(--v-ink);
}

/* Team: name, role, year, email. No headshots. */

.staff-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
	align-items: stretch;
}

.staff-row {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 16px 0;
	border-bottom: 1px solid var(--v-line);
}

.staff-name,
.staff-role {
	margin: 0;
	line-height: 1.35;
}

.staff-name {
	font-family: var(--font-display);
	font-size: 20px;
	font-weight: 600;
}

.staff-role {
	margin-top: 4px;
	font-size: 16px;
	font-weight: 400;
	color: var(--v-muted);
}

.staff-mail {
	display: inline-block;
	margin-top: auto;
	padding-top: 10px;
	border: 0;
	background: none;
	color: #008BD4;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.3;
	text-decoration: none;
	overflow-wrap: anywhere;
}

.staff-mail:hover,
.staff-mail:focus {
	color: #008BD4;
	text-decoration: underline;
	text-decoration-color: #008BD4;
}

/* Inner pages. */

.page-head {
	padding: 48px 0 8px;
}

.page-rule {
	display: block;
	width: 40px;
	height: 3px;
	margin: 0 0 16px;
	background: #008BD4;
}

.page-head h1 {
	font-size: var(--t-title);
	font-weight: 600;
	line-height: 1.05;
	letter-spacing: -0.03em;
}

.page-context {
	margin: 12px 0 0;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.4;
	color: var(--v-muted);
}

.page-body {
	padding: 20px 0 80px;
}

.about-layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: 32px;
	align-items: start;
}

.about-layout .job-shot img {
	display: block;
	width: 100%;
	height: 420px;
	object-fit: cover;
	border: 0;
	border-radius: 0;
}

.about-layout .job-shot figcaption {
	margin: 8px 0 0;
	font-size: 14px;
}

.contact-layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: 40px;
}

.contact-facts p {
	margin: 0 0 10px;
	font-size: 16px;
}

.contact-facts a:not(.btn) {
	font-size: 16px;
}

.contact-facts .btn-row {
	margin: 0 0 16px;
}

.contact-facts .staff-list {
	margin-top: 28px;
}

.message-us h2 {
	margin: 0 0 8px;
	font-size: 28px;
	font-weight: 600;
}

.form-note,
.form-status {
	margin: 0 0 16px;
	font-size: 16px;
}

.form-status-error {
	color: var(--v-accent);
}

.contact-form p {
	margin: 0 0 16px;
}

.contact-form label {
	display: block;
	margin-bottom: 6px;
	font-size: 16px;
	font-weight: 600;
}

.req {
	color: var(--v-accent);
}

.hp {
	position: absolute;
	left: -64rem;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.map-band {
	padding: 0 0 80px;
}

.map-band iframe {
	display: block;
	width: 100%;
	height: 300px;
	border: 1px solid var(--v-line);
	border-radius: 0;
	background: var(--v-tile);
}

.site-footer {
	background: #000000;
	color: var(--v-white);
}

.footer-inner {
	padding: 40px 24px 48px;
}

.footer-brand {
	display: inline-block;
	margin: 0 0 16px;
	line-height: 0;
}

.footer-name {
	margin: 0 0 6px;
	color: var(--v-white);
	font-size: 16px;
	font-weight: 600;
}

.tagline {
	margin: 0 0 8px;
	color: rgba(255, 255, 255, 0.72);
	font-size: 14px;
	font-weight: 400;
}

.site-footer p {
	margin: 0 0 8px;
	font-size: 16px;
	color: var(--v-white);
}

.site-footer a:not(.btn) {
	color: var(--v-white);
}

.site-footer a:not(.btn):hover,
.site-footer a:not(.btn):focus {
	color: var(--v-white);
}

.footer-phone {
	font-weight: 600;
	text-decoration: none;
}

.footer-phone:hover,
.footer-phone:focus {
	text-decoration: underline;
	text-decoration-color: #008BD4;
}

.footer-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
	list-style: none;
	margin: 16px 0;
	padding: 0;
}

.footer-nav a {
	font-size: 16px;
}

.footer-credit a {
	text-decoration: underline;
	text-underline-offset: 3px;
}

article h2 {
	font-size: 20px;
	margin: 0 0 8px;
}

article {
	margin: 0 0 24px;
}

@media (min-width: 48rem) {
	.cred-row li {
		font-size: 20px;
	}

	.page-grid {
		grid-template-columns: minmax(0, 1fr);
		grid-template-rows: auto;
		min-height: 0;
	}

	.service-index {
		columns: 2;
		column-gap: 48px;
	}

	.service-index li {
		break-inside: avoid;
	}

	.job-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 20px;
	}

	.job-grid .job-shot img {
		height: 280px;
	}

	.page-body .wrap > .staff-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px;
	}

	.about-layout {
		grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
		gap: 40px;
	}

	.contact-layout {
		grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
		align-items: start;
	}
}

@media (min-width: 68rem) {
	.nav-toggle,
	.header-phone-bar {
		display: none;
	}

	.header-end {
		display: flex;
		flex-direction: row;
		align-items: center;
		justify-content: flex-end;
		gap: 22px;
		width: auto;
		margin-left: auto;
		padding: 0;
	}

	.site-nav {
		flex-direction: row;
		flex-wrap: nowrap;
		align-items: center;
		gap: 6px 16px;
		width: auto;
	}

	.site-nav a {
		padding: 0;
		font-size: 15px;
	}

	.header-estimate {
		align-self: center;
	}
}

@media (max-width: 67.99rem) {
	.header-bar {
		flex-wrap: wrap;
	}

	.header-end {
		order: 5;
		flex-basis: 100%;
	}

	.header-end .header-phone {
		display: none;
	}

	.header-end.is-open {
		display: flex;
	}

	.hero h1,
	.hero .hero-copy h1 {
		max-width: 11em;
		font-size: clamp(54px, 7vw, 96px);
	}
}

@media (min-width: 68rem) {
	.page-body .wrap > .staff-list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 36rem) {
	.stage-copy {
		padding-bottom: 40px;
	}

	.hero-copy {
		padding-bottom: 40px;
	}

	.hero-sub {
		font-size: 16px;
	}

	.hero h1,
	.hero .hero-copy h1 {
		font-size: clamp(54px, 7vw, 96px);
	}
}

@media (prefers-reduced-motion: reduce) {
	.hero-photo {
		transition: none;
	}
}


/* Gallery projects — Kaydeen job groups (1.8.22) */
body.vk .vk-gallery-project {
	margin: 0 0 48px;
}

body.vk .vk-gallery-project:last-child {
	margin-bottom: 0;
}

body.vk .vk-gallery-project-title {
	margin: 0 0 16px;
	font-family: "Jost", sans-serif;
	font-weight: 600;
	font-size: clamp(18px, 2.2vw, 22px);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #111214;
	line-height: 1.2;
}

body.vk .vk-gallery-project .vk-gallery {
	margin-top: 0;
	gap: 14px;
}

body.vk .vk-gallery .vk-shot {
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

body.vk .vk-gallery .vk-shot:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 28px rgba(17, 18, 20, 0.18);
}

body.vk .vk-gallery .vk-shot-cap {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	padding: 28px 14px 12px;
	background: linear-gradient(to top, rgba(17, 18, 20, 0.82) 0%, rgba(17, 18, 20, 0.35) 55%, transparent 100%);
	color: #fff;
	font-family: "Public Sans", sans-serif;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-align: left;
	pointer-events: none;
}

@media (max-width: 900px) {
	body.vk .vk-gallery-project .vk-gallery {
		grid-template-columns: 1fr 1fr;
		grid-auto-rows: minmax(180px, 28vw);
	}

	body.vk .vk-gallery-project .vk-gallery .wide {
		grid-column: span 2;
		grid-row: span 1;
		min-height: 220px;
	}
}

@media (max-width: 640px) {
	body.vk .vk-gallery-project {
		margin-bottom: 40px;
	}

	body.vk .vk-gallery-project .vk-gallery {
		grid-template-columns: 1fr;
		grid-auto-rows: minmax(220px, 56vw);
		gap: 12px;
	}

	body.vk .vk-gallery-project .vk-gallery .wide {
		grid-column: span 1;
		grid-row: span 1;
		min-height: 240px;
	}

	body.vk .vk-gallery .vk-shot {
		min-height: 220px;
	}

	body.vk .vk-gallery .vk-shot-cap {
		font-size: 14px;
		padding: 32px 16px 14px;
	}
}


/* Team page cards override staff-list */
body.vk .vk-team-page .vk-person .staff-name,
body.vk .vk-team-page .vk-person .staff-role {
  margin: 0;
}
