/*
Theme Name: ConveyorMFG Recovery
Author: House of Confetti
Description: Archive-faithful recovery of the former Conveyor Manufacturing & Service website.
Version: 2.0.4
Text Domain: conveyormfg-recovery
*/

:root {
	--archive-blue: #0067c6;
	--archive-black: #201f1e;
	--archive-charcoal: #2e3032;
	--archive-ink: #1c1d1e;
	--archive-gray: #e4e4e4;
	--archive-muted: #5f5f5f;
	--archive-white: #ffffff;
	--archive-content: 980px;
	--archive-wide: 1300px;
	--archive-header: 92px;
}

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

html {
	scroll-behavior: smooth;
	scroll-padding-top: var(--archive-header);
}

body {
	margin: 0;
	color: var(--archive-ink);
	background: var(--archive-white);
	font-family: Roboto, "Helvetica Neue", Arial, sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}

body.admin-bar .site-header {
	top: 32px;
}

a {
	color: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 2px;
	box-shadow: 0 0 0 6px #005fcc;
}

img,
svg {
	display: block;
	max-width: 100%;
}

button,
input,
textarea {
	font: inherit;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.skip-link:focus {
	position: fixed !important;
	z-index: 10000;
	top: 10px;
	left: 10px;
	width: auto !important;
	height: auto !important;
	clip: auto !important;
	padding: 10px 14px !important;
	margin: 0 !important;
	color: #fff;
	background: #000;
}

.archive-shell {
	width: min(var(--archive-content), calc(100% - 40px));
	margin-inline: auto;
}

.site-header {
	position: sticky;
	z-index: 1000;
	top: 0;
	background: #fff;
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.header-inner,
.footer-inner {
	width: min(var(--archive-wide), calc(100% - 60px));
	margin-inline: auto;
}

.header-inner {
	min-height: var(--archive-header);
	display: flex;
	align-items: center;
	gap: 24px;
}

.site-logo {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
}

.site-logo img,
.site-logo-art {
	display: block;
	width: 113px;
	height: auto;
}

.primary-nav {
	display: flex;
	align-items: center;
	gap: 19px;
	margin-left: auto;
}

.primary-nav a {
	position: relative;
	padding: 8px 0;
	color: #0d0d00;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.3;
	text-decoration: none;
	white-space: nowrap;
}

.primary-nav a:not(.nav-cta)::after {
	position: absolute;
	right: 0;
	bottom: 2px;
	left: 0;
	height: 2px;
	content: "";
	background: #111;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 160ms ease;
}

.primary-nav a:not(.nav-cta):hover::after,
.primary-nav a:not(.nav-cta):focus-visible::after,
.primary-nav a[aria-current="page"]::after {
	transform: scaleX(1);
}

.primary-nav .nav-cta {
	min-width: 145px;
	margin-left: auto;
	padding: 15px 24px;
	color: #fff;
	background: var(--archive-charcoal);
	border-radius: 35px;
	font-size: 16px;
	text-align: center;
}

.primary-nav .nav-cta:hover,
.primary-nav .nav-cta:focus-visible {
	color: #fff;
	background: #151616;
}

.nav-toggle {
	display: none;
	width: 46px;
	height: 46px;
	margin-left: auto;
	padding: 11px 10px;
	background: var(--archive-charcoal);
	border: 0;
	cursor: pointer;
}

.nav-toggle span:not(.screen-reader-text) {
	display: block;
	height: 2px;
	margin: 5px 0;
	background: #fff;
}

main {
	display: block;
	overflow: hidden;
}

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

h1,
h2,
h3 {
	font-weight: 800;
	line-height: 1.22;
}

h1 {
	font-size: 40px;
}

h2 {
	font-size: 32px;
}

h3 {
	font-size: 20px;
}

.archive-hero {
	color: #fff;
	background-color: #1c1d1e;
	background-image: url("assets/images/archive-hero.jpeg");
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
}

.archive-hero-grid {
	min-height: 530px;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.archive-hero-copy {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 72px 20px 72px 15px;
	background: var(--archive-charcoal);
}

.archive-hero-copy h1 {
	max-width: 445px;
	margin-bottom: 24px;
}

.archive-hero-copy > p:last-of-type {
	max-width: 455px;
	margin-bottom: 0;
	font-size: 16px;
	line-height: 1.55;
}

.archive-eyebrow {
	margin-bottom: 2px;
	font-size: 17px;
	font-weight: 700;
}

.archive-rule {
	width: 65%;
	height: 2px;
	margin: 0 0 24px;
	background: var(--archive-blue);
}

.archive-button-row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
	max-width: 410px;
	margin-top: 35px;
}

.archive-button {
	appearance: none;
	display: inline-flex;
	min-height: 52px;
	align-items: center;
	justify-content: center;
	padding: 13px 28px;
	border: 3px solid transparent;
	border-radius: 35px;
	font-size: 17px;
	font-weight: 800;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
}

.archive-button[disabled] {
	cursor: default;
	opacity: 1;
}

.archive-button-outline {
	color: #fff;
	background: transparent;
	border-color: #fff;
}

.archive-button-outline:hover,
.archive-button-outline:focus-visible {
	color: var(--archive-charcoal);
	background: #fff;
}

.archive-button-blue {
	color: #fff;
	background: var(--archive-blue);
	border-color: var(--archive-blue);
}

.archive-button-blue:hover,
.archive-button-blue:focus-visible {
	color: #fff;
	background: #0054a3;
	border-color: #0054a3;
}

.brand-strip {
	padding: 58px 0;
	background: #fff;
}

.brand-grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	align-items: center;
	gap: 34px;
}

.brand-grid img {
	width: 112px;
	height: 112px;
	justify-self: center;
	object-fit: contain;
}

.archive-section {
	padding: 95px 0;
}

.archive-section-heading {
	max-width: 610px;
	margin-bottom: 45px;
}

.archive-section-heading > p {
	margin-bottom: 2px;
	color: var(--archive-muted);
	font-weight: 700;
}

.archive-section-heading h2 {
	margin-bottom: 0;
}

.centered-heading {
	max-width: 760px;
	margin-right: auto;
	margin-left: auto;
	text-align: center;
}

.services-section,
.why-section,
.benefits-section,
.contact-section {
	background: var(--archive-gray);
}

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

.service-card {
	display: flex;
	min-width: 0;
	flex-direction: column;
	background: #fff;
}

.service-card > img {
	width: 100%;
	height: 205px;
	object-fit: cover;
}

.service-card-copy {
	flex: 1;
	padding: 28px 30px 38px;
}

.service-card-copy h3 {
	margin-bottom: 18px;
}

.service-card-copy p {
	margin-bottom: 0;
	font-size: 15px;
	line-height: 1.72;
}

.mission-section {
	color: #fff;
	background-color: #1c1d1e;
	background-image: url("assets/images/archive-mission.jpeg");
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
}

.mission-grid {
	min-height: 600px;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mission-copy {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 90px 58px 90px 15px;
	background: var(--archive-charcoal);
}

.mission-copy .archive-eyebrow {
	color: #bdbdbd;
}

.mission-copy h2 {
	margin-bottom: 28px;
}

.mission-copy p:last-child {
	margin-bottom: 0;
	color: #bebebe;
}

.why-section {
	padding-top: 100px;
	padding-bottom: 115px;
}

.why-grid {
	display: grid;
	grid-template-columns: 1fr 1.1fr;
	gap: 48px;
	align-items: start;
	margin-top: 55px;
}

.why-photo {
	width: 100%;
	height: 355px;
	object-fit: cover;
}

.archive-tab-list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	border-bottom: 1px solid #d0d0d0;
}

.archive-tab-list button {
	min-height: 72px;
	padding: 14px 15px;
	color: #5f5f5f;
	background: transparent;
	border: 0;
	border-bottom: 3px solid transparent;
	cursor: pointer;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.15;
	text-align: left;
}

.archive-tab-list button[aria-selected="true"] {
	color: var(--archive-ink);
	border-bottom-color: var(--archive-blue);
}

.archive-tab-panels {
	min-height: 250px;
	padding: 28px;
	background: rgba(255, 255, 255, 0.18);
	border: 1px solid #d0d0d0;
	border-top: 0;
}

.archive-tab-panels p {
	margin-bottom: 0;
}

.benefits-section {
	padding-top: 40px;
	padding-bottom: 105px;
}

.benefits-grid {
	display: grid;
	grid-template-columns: 1fr 1.1fr;
	gap: 50px;
	align-items: center;
}

.benefit-cards {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 28px;
}

.benefit-card {
	min-height: 285px;
	padding: 30px 28px;
	background: #fff;
}

.benefit-card svg {
	width: 46px;
	height: 46px;
	margin-bottom: 20px;
	fill: none;
	stroke: #111;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 4;
}

.product-icon {
	display: grid;
	width: 46px;
	height: 46px;
	place-items: center;
	margin-bottom: 20px;
	color: #fff;
	background: #111;
	border-radius: 50%;
	font-size: 24px;
	font-weight: 800;
}

.benefit-card h3 {
	margin-bottom: 16px;
}

.benefit-card p {
	margin-bottom: 0;
	font-size: 15px;
}

.benefit-photo {
	margin: 0;
}

.benefit-photo img {
	width: 100%;
	height: 615px;
	object-fit: cover;
}

.testimonials-section {
	padding: 100px 0;
	color: #fff;
	background: var(--archive-charcoal);
}

.testimonials-grid {
	display: grid;
	grid-template-columns: 0.8fr 1.2fr;
	gap: 75px;
	align-items: start;
}

.testimonials-intro h2 {
	max-width: 360px;
	margin-bottom: 28px;
	font-size: 40px;
}

.testimonials-intro p {
	max-width: 360px;
	margin-bottom: 0;
	color: #bbb;
}

.testimonial-list {
	display: grid;
	gap: 18px;
}

.testimonial-card {
	display: grid;
	grid-template-columns: 82px 1fr;
	gap: 24px;
	align-items: center;
	padding: 24px 28px;
	color: var(--archive-ink);
	background: #e8e8e8;
}

.testimonial-card img {
	width: 74px;
	height: 74px;
	border-radius: 50%;
	object-fit: cover;
}

.testimonial-card p {
	margin-bottom: 10px;
	font-size: 15px;
	line-height: 1.65;
}

.testimonial-card strong {
	font-size: 14px;
}

.contact-section {
	padding-top: 100px;
	padding-bottom: 110px;
}

.contact-layout {
	display: grid;
	grid-template-columns: 0.92fr 1.08fr;
	gap: 70px;
	align-items: start;
}

.fact-cards {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 28px;
}

.fact-card {
	min-height: 250px;
	padding: 30px 28px;
	background: #fff;
}

.fact-card h3 {
	margin-bottom: 30px;
	font-size: 30px;
}

.fact-card p {
	margin-bottom: 0;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.5;
}

.fact-dark,
.fact-blue {
	color: #fff;
}

.fact-dark {
	background: var(--archive-charcoal);
}

.fact-blue {
	background: var(--archive-blue);
}

.contact-form-column {
	padding-top: 15px;
}

.contact-now {
	margin-bottom: 0;
	font-size: 38px;
	font-weight: 800;
	line-height: 1.2;
}

.contact-form-column h2 {
	margin-bottom: 30px;
	font-size: 40px;
}

.contact-form-column > p:not(.contact-now) {
	margin-bottom: 26px;
	font-weight: 600;
}

.cms-wpforms .wpforms-container,
.cms-wpforms .wpforms-container-full {
	margin: 0 !important;
	padding: 0 !important;
}

.cms-wpforms .wpforms-field {
	padding: 0 0 8px !important;
}

.cms-wpforms .wpforms-field-label,
.cms-wpforms .wpforms-field-sublabel {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.cms-wpforms input[type="text"],
.cms-wpforms input[type="email"],
.cms-wpforms textarea {
	width: 100% !important;
	max-width: none !important;
	min-height: 50px !important;
	padding: 13px 16px !important;
	color: #222 !important;
	background: #fff !important;
	border: 0 !important;
	border-bottom: 1px solid #747474 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	font-size: 15px !important;
	line-height: 1.5 !important;
}

.cms-wpforms textarea {
	min-height: 110px !important;
	resize: vertical;
}

.cms-wpforms input::placeholder,
.cms-wpforms textarea::placeholder {
	color: #6b6b6b !important;
	opacity: 1;
}

.cms-wpforms input:focus,
.cms-wpforms textarea:focus {
	border-bottom-color: var(--archive-blue) !important;
	outline: 2px solid #fff !important;
	outline-offset: 1px !important;
	box-shadow: 0 0 0 4px #005fcc !important;
}

.cms-wpforms .wpforms-submit-container {
	padding-top: 3px !important;
}

.cms-wpforms button[type="submit"],
.cms-wpforms input[type="submit"] {
	width: 100% !important;
	min-height: 52px !important;
	padding: 13px 30px !important;
	color: #fff !important;
	background: var(--archive-charcoal) !important;
	border: 0 !important;
	border-radius: 35px !important;
	box-shadow: none !important;
	cursor: pointer;
	font-size: 16px !important;
	font-weight: 600 !important;
}

.cms-wpforms button[type="submit"]:hover,
.cms-wpforms button[type="submit"]:focus-visible {
	background: #151616 !important;
}

.cms-wpforms .wpforms-error,
.cms-wpforms em.wpforms-error,
.cms-wpforms .wpforms-valid-label {
	color: #9d1c1c !important;
	font-size: 13px !important;
}

.cms-wpforms .wpforms-confirmation-container-full {
	padding: 18px !important;
	background: #fff !important;
	border: 1px solid #bbb !important;
}

.form-admin-notice {
	padding: 12px;
	background: #fff7cb;
	border: 1px solid #ead66f;
}

.location-section {
	padding: 0 0 95px;
	background: #fff;
}

.location-map {
	min-height: 330px;
	background: #fff;
}

.location-card {
	padding: 38px;
	background: var(--archive-gray);
}

.location-card h3 {
	margin-bottom: 24px;
	font-size: 24px;
}

.location-card p {
	margin-bottom: 12px;
	color: #777;
}

.location-card p:last-child {
	margin-bottom: 0;
}

.site-footer {
	padding: 90px 0 25px;
	color: #a8a8a8;
	background: var(--archive-black);
}

.footer-top,
.footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 50px;
}

.footer-top {
	min-height: 115px;
}

.footer-logo {
	display: block;
	width: 215px;
	height: auto;
}

.newsletter-shell {
	display: grid;
	grid-template-columns: minmax(250px, 1fr) 115px;
	width: min(430px, 100%);
}

.newsletter-input {
	display: flex;
	min-height: 48px;
	align-items: center;
	padding: 0 16px;
	color: #aaa;
	background: #fff;
	font-size: 14px;
}

.newsletter-shell button {
	min-height: 48px;
	color: #fff;
	background: var(--archive-blue);
	border: 0;
	opacity: 1;
	font-weight: 700;
}

.footer-bottom {
	padding-top: 42px;
}

.footer-bottom p {
	margin-bottom: 0;
	font-size: 14px;
}

.social-icons {
	display: flex;
	gap: 18px;
}

.social-icons span {
	display: grid;
	width: 34px;
	height: 34px;
	place-items: center;
	color: #fff;
	border: 2px solid #999;
	border-radius: 50%;
	font-size: 13px;
	font-weight: 800;
}

.holding-page {
	min-height: 70vh;
	padding: 95px 0;
	background: var(--archive-gray);
}

.holding-card {
	max-width: 760px;
	padding: 42px;
	background: #fff;
}

.holding-card .archive-button {
	margin-top: 20px;
	margin-right: 10px;
}

.holding-card .archive-button-outline {
	color: var(--archive-charcoal);
	border-color: var(--archive-charcoal);
}

.holding-card .cms-wpforms {
	margin: 30px 0 8px;
}

@media (max-width: 1120px) {
	:root {
		--archive-header: 76px;
	}

	body.admin-bar .site-header {
		top: 32px;
	}

	.header-inner,
	.footer-inner {
		width: min(100% - 36px, var(--archive-wide));
	}

	.header-inner {
		min-height: var(--archive-header);
		flex-wrap: wrap;
		padding: 10px 0;
	}

	.site-logo img,
	.site-logo-art {
		width: 103px;
	}

	.nav-toggle {
		display: block;
	}

	.primary-nav {
		display: none;
		width: 100%;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 8px 0 12px;
		margin: 0;
	}

	.primary-nav.is-open {
		display: flex;
	}

	.primary-nav a {
		padding: 12px 10px;
	}

	.primary-nav .nav-cta {
		width: 100%;
		margin: 10px 0 0;
	}

	.archive-hero-grid,
	.mission-grid,
	.why-grid,
	.benefits-grid,
	.testimonials-grid,
	.contact-layout {
		grid-template-columns: 1fr;
	}

	.archive-hero {
		background-position: 62% center;
	}

	.archive-hero-grid {
		width: 100%;
	}

	.archive-hero-copy {
		width: min(100%, 620px);
		padding: 65px max(24px, calc((100vw - 980px) / 2));
	}

	.archive-hero-photo {
		display: none;
	}

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

	.mission-grid {
		width: 100%;
	}

	.mission-copy {
		width: min(100%, 620px);
		padding: 75px max(24px, calc((100vw - 980px) / 2));
	}

	.mission-photo {
		min-height: 330px;
	}

	.why-grid,
	.benefits-grid,
	.testimonials-grid,
	.contact-layout {
		gap: 48px;
	}

	.why-photo {
		height: 420px;
	}

	.benefit-photo img {
		height: 520px;
	}

	.testimonials-intro h2,
	.testimonials-intro p {
		max-width: none;
	}
}

@media (max-width: 767px) {
	:root {
		--archive-header: 72px;
	}

	body.admin-bar .site-header {
		top: 46px;
	}

	.archive-shell {
		width: min(100% - 28px, var(--archive-content));
	}

	.header-inner,
	.footer-inner {
		width: min(100% - 30px, var(--archive-wide));
	}

	h1 {
		font-size: 34px;
	}

	h2 {
		font-size: 28px;
	}

	.archive-hero {
		background-position: 67% center;
	}

	.archive-hero-copy {
		width: 100%;
		padding: 55px 24px;
		background: rgba(46, 48, 50, 0.94);
	}

	.archive-hero-copy h1 {
		font-size: 34px;
	}

	.archive-button-row {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.brand-strip,
	.archive-section,
	.testimonials-section {
		padding-top: 70px;
		padding-bottom: 70px;
	}

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

	.brand-grid img {
		width: 95px;
		height: 95px;
	}

	.service-grid,
	.benefit-cards,
	.fact-cards {
		grid-template-columns: 1fr;
	}

	.service-card > img {
		height: 240px;
	}

	.mission-section {
		background-position: 64% center;
	}

	.mission-copy {
		width: 100%;
		padding: 60px 24px;
		background: rgba(46, 48, 50, 0.94);
	}

	.mission-photo {
		min-height: 240px;
	}

	.why-photo,
	.benefit-photo img {
		height: 300px;
	}

	.archive-tab-list {
		grid-template-columns: 1fr;
		border: 1px solid #d0d0d0;
		border-bottom: 0;
	}

	.archive-tab-list button {
		min-height: 54px;
		border-bottom: 1px solid #d0d0d0;
	}

	.archive-tab-list button[aria-selected="true"] {
		border-bottom-color: var(--archive-blue);
		box-shadow: inset 4px 0 0 var(--archive-blue);
	}

	.archive-tab-panels {
		min-height: 0;
		padding: 22px;
	}

	.benefit-card,
	.fact-card {
		min-height: 0;
	}

	.testimonials-intro h2,
	.contact-form-column h2 {
		font-size: 34px;
	}

	.testimonial-card {
		grid-template-columns: 1fr;
	}

	.testimonial-card img {
		width: 68px;
		height: 68px;
	}

	.location-map {
		min-height: 180px;
	}

	.location-card {
		padding: 28px;
	}

	.footer-top,
	.footer-bottom {
		align-items: flex-start;
		flex-direction: column;
	}

	.newsletter-shell {
		grid-template-columns: 1fr 105px;
	}

	.social-icons {
		gap: 12px;
	}

	.holding-card {
		padding: 28px;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition: none !important;
	}
}
