/*
Theme Name: Fichthorn Electric
Theme URI: https://fichthornelectric.com
Author: fip creative ROOTS
Author URI: https://fipcreative.com
Description: Theme
Version: 2035
Requires at least: 5.0
Tested up to: 5.4
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
This theme, like WordPress, is licensed under the GPL.
*/

/* @import url('https://fonts.googleapis.com/css2?family=Corinthia:wght@400;700&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap'); */

@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,400;0,700;1,400;1,700&family=Familjen+Grotesk:ital,wght@0,400..700;1,400..700&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
@import url('rhizomes-1.2.css');


/* ========================
   Modern Reset (2026)
======================== */

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

* {
  margin: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  font-size: 62.5%;
}

body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.6;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

input,
button,
textarea,
select {
  font: inherit;
}




/*********************************************/
/*********************************************/
/*** Variable Declarations (Design Tokens) ***/

:root {

	--primary-color: #000000; 
	--secondary-color: #F78F1E;
	--secondary-rgb: 247 143 30;
	--accent-color: #FFFFFF; 
	--accent-rgb: 255 255 255;
	--bulk-black: #101820;
	--secondary-accent: #2EC4B6;
	--compliment-primary: #848586;

	/* Variables in HSL */
	/* Core Brand */
	--primary: 0 0% 0%;                 /* #000000 */
	--secondary: 33 93% 54%;            /* #F78F1E */
	--accent: 0 0% 100%;                /* #FFFFFF */



	--font-body: "Inter", sans-serif;
	--font-heading: "Barlow", sans-serif;
	--font-small-heading: "Familjen Grotesk", sans-serif;
	--font-third-font: var(--font-body);

	--fs-eyebrow: clamp(1.5rem, 0.5vw + 1.4rem, 1.6rem);
	--fs-body: clamp(1.6rem, 0.6vw + 1.4rem, 1.8rem);
	--fs-h1: clamp(3.6rem, 1.8vw + 2rem, 4.8rem);
	--fs-h2: clamp(2.8rem, 1.2vw + 1.6rem, 3.6rem);
	--fs-h3: clamp(2.2rem, 1vw + 1.4rem, 2.8rem);

	--space-xs: 0.5rem;
	--space-sm: 1rem;
	--space-md: 2rem;
	--space-lg: 4rem;
	--space-xl: 6rem;

	--container-width: 1200px;  /* Eyebrow: 15px → 16px */
  --fs-eyebrow: clamp(1.5rem, 0.5vw + 1.4rem, 1.6rem);

}

/*** Base Font Styles ***/
body {
	font-size: var(--fs-body);
	font-family: var(--font-body);
	background-color: var(--accent-color);
	color: var(--bulk-black);
}

h1,
h2,
h3,
h4,
h5 {
	font-weight: 700;
	font-family: var(--font-heading);
	position: relative;
	line-height: 1;
}

h4, h5 {
	font-family: var(--font-small-heading);
	font-weight: normal;
}

h1 {
	font-size: var(--fs-h1);

	&::after {
		content: "";
		position: absolute;
		border-bottom: 8px solid var(--secondary-color);
		width: 4rem;
		bottom: -0.8rem;
		left: 0;
	}
}

h2 {
	font-size: var(--fs-h2);
}

h3 {
	font-size: var(--fs-h3)
}

/*** Only used for immediate subheaders ***/
h4 {
	text-transform: uppercase;
	color: var(--secondary-color);
	font-size: var(--fs-body);
}

/*** Only used for eyebrows ***/
h5 {
	font-size: var(--fs-eyebrow);
	font-weight: bold;
	margin-bottom: 1rem;
	position: relative;
	display: inline-block;
	text-transform: uppercase;
}

h5::after {
	content: "";
	position: absolute;
	width: 100%;
	border-bottom: 2px dotted var(--secondary-accent);
	bottom: -0.2rem;
	left: 0;
}

h1, h2, h3, h4, h5, h6 {
  margin-bottom: 2.2rem;
}

p + h2, p + h3, ul + h2, ul + h3 {
	margin-top: 4.4rem;
}

p {
	line-height: 1.4;
	margin-bottom: 2.2rem;
}

ul {
	margin-bottom: 2.2rem;
}

/* .rf-block > * + * {
	margin-top: var(--space-md);
}

.rf-block-2 > * + * {
	margin-top: var(--space-md);
} */





/*** Buttons ***/
.button, #wpforms-submit-112, .wp-block-button a {
	display: inline-block;
	text-decoration: none !important;
	padding: 1rem 2rem 0.8rem;
	color: var(--btn-color, var(--accent-color));
	text-transform: uppercase;
	font-weight: bold;
	border-radius: 0;
	transition: all 0.5s ease;
	margin-bottom: 0.75rem;
	text-align: center;
	background-color: var(--btn-bg, var(--secondary-color));
	font-size: 1.8rem;
	border-bottom: 5px solid var(--primary-color);
}

.splash .button, .rf-triple-hopper .button {
	padding: 1rem 2rem;
	border-bottom: none;
}

.button:hover, #wpforms-submit-112:hover, .wp-block-button a:hover {
	background-color: var(--btn-hover-bg, var(--secondary-accent));
	color: (var(--btn-hover-color), var(--accent-color));
}

.wp-block-button {
	margin-top: var(--space-md);
}

.wp-block-buttons {
	margin-bottom: 5.5rem;
}



/*** Button Icons ***/
.button,
#wpforms-submit-112,
.wp-block-button a {
	position: relative;
}

/* Icon Injection */
.button::before,
#wpforms-submit-112::before,
.wp-block-button a::before {
	font-family: "FontAwesome";
	content: "\f0e7"; /* lightning bolt */
	font-weight: 900; /* REQUIRED for solid icons */

	display: inline-block;
	margin-right: 0.75rem;
	transition: transform 0.3s ease;
}

.button:hover::before,
#wpforms-submit-112:hover::before,
.wp-block-button a:hover::before {
	transform: translateX(3px);
}


/*** Useful Classes ***/
.bold {
	font-weight: bold;
}

.center {
	text-align: center;
}

.clear {
	clear: both;
}

.emphatic {
	font-weight: bold;
	font-style: italic;
	color: var(--primary-color);
}

.fa-circle-xmark::before {
	color: red;
}

.fa-circle-check::before {
	color: green
}

.fake-hr {
	width: 40%;
	border-bottom: 3px dotted var(--primary-color);
	margin: 5rem auto;
}

.fright {
	float: right;
	max-width: 45rem;
	margin-left: 1.8rem;
	margin-bottom: 1.8rem;
}

.fright img {
	max-width: 100%;
}

.fip-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
    place-items: center;
    text-align: center;
}



.hr-wrap {
    width: 40%;
    margin: 30px auto;
}

.italic {
	font-style: italic;
}

.job-application-2023 label {
    color: #222;
}

.mega {
	font-size: 6rem;
}

.right {
	text-align: right;
}

.vertical-center {
	-webkit-box-align: center;
	-webkit-align-items: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-webkit-justify-content: center;
	-ms-flex-pack: center;
	justify-content: center;
}





/*** RF Premast ***/

.rf-premast {
	background-color: var(--primary-color);
	color: white;
}

.rf-premast p {
	text-shadow: initial;
	line-height: 1;
	color: var(--secondary-color);
	font-size: var(--fs-eyebrow);
	padding: 0.8rem 0;
	margin-bottom: 0;
}

.rf-premast a {
	color: white;
	text-decoration: none;
}

.rf-premast p span {
	font-size: var(--fs-body);
}

@media (max-width: 820px) {
	.rf-premast .rf-block:first-of-type {
		display: none;
	}
}




/*** RF Section ***/

.rf-section {
	padding: 5rem 0;

	h2 {
		border-left: 6px solid var(--secondary-color); 
		padding-left: 0.6rem;
	}
}



/*** Areas Served ***/

.areas-served {
	color: var(--accent-color);
	background-color: var(--primary-color);
	padding: 5rem 0;
}

.areas-served h2 {
	text-align: center;
	margin-bottom: 2.6rem;
	/* color: var(--secondary-color); */
	/* display: inline-block; */
}

.areas-served h2::after {
	content: "";
	border-bottom: 6px solid var(--secondary-color);
	width: 10rem;
	position: absolute;
	bottom: -1.1rem;
	left: 50%;
	transform: translateX(-50%);
}

.areas-served p {
	text-align: center;
}

.areas-served ul {
	list-style: none;
	padding-left: 0;
	margin-left: 0;
	margin-bottom: 0;
}

.areas-served li {
	position: relative;
	padding-left: 2rem;
	margin-bottom: 0;
	font-size: 1.4rem;
}

/* Font Awesome Bullet */
.areas-served li::before {
	font-family: "FontAwesome";
	content: "\f1e6"; /* map-marker-alt */
	position: absolute;
	left: 0;
	top: 0.15em;
	color: var(--secondary-color);
	font-size: 0.9em;
}

.areas-served li:hover::before {
	transform: scale(1.2);
	transition: transform 0.2s ease;
}



/*** Contact ***/

.rf-contact {
	padding: 5rem 0;
	position: relative;
	background-image: url(/wp-content/uploads/2026/03/wiring-diagram.webp);
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
	z-index: 0;

	&::after {
		content: "";
		position: absolute;
		inset: 0;
		top: 0;
		left: 0;
		height: 100%;
		width: 100%;
		background-color: rgb(var(--accent-rgb) / 0.97);
		z-index: 1;
	}

	.rf-wide {
		position: relative;
		z-index: 2;
	}

	.rf-block {
		max-width: 800px;
		margin: auto;
		width: 94%;
	}

	h2, h4 {
		text-align: center;
	}
}



/*** Footer ***/


footer {
	background-color: var(--primary-color);
	color: white;
	padding: 0;
	font-weight: bold;
}

footer .rf-block {
	padding: 1.2rem;
}

footer .rf-container {
	padding: 7rem 0;
}

footer .rf3 {
	background-color: var(--primary-color);
}

footer .white-links i {
	color: white;
}

footer a {
	color: white;
	text-decoration: none;
}

footer i {
	color: var(--secondary-accent);
}

footer .right-line {
	position: relative;
}

footer img {
	padding: 1rem;
	background-color: var(--accent-color);
	width: 80%;
}

footer .right-line::before {
	position: absolute;
	border-left: 1px solid var(--secondary-accent);
	content: "";
	height: 70%;
	top: 15%;
	right: 0;
}

@media (max-width: 820px) {
	footer .right-line::before {
		border-left: none;
		border-bottom: 1px solid var(--secondary-accent);
		height: 0;
		width: 50%;
		top: initial;
		right: initial;
		bottom: 0;
	}
}



/*** RF Copyright ***/

.rf-copyright {
	background-color: var(--accent-color);
	color: black;
	padding: 1.2rem 0;
}

.rf-copyright p {
	font-weight: bold;
	margin: 0;
}



/* WP Forms */

div.wpforms-container-full .wpforms-field-label, div.wpforms-container-full .wpforms-field-sublabel {
	color: var(--secondary-color) !important;
}

.wpforms-container .wpforms-field {
	padding-top: 5px !important;
	padding-bottom: 5px !important;
}

li > h4 {
	color: var(--primary-color);
}

/* @media (min-width: 820px) {
.insert-page {
	margin-top: 12.5rem;
}
} */






/* Input styling to use on a future site 
input,
textarea {
  font-size: 1rem;
}

input::placeholder,
textarea::placeholder {
  color: #9ca3af;
  transition: color 0.2s ease;
}

input:focus::placeholder,
textarea:focus::placeholder {
  color: transparent;
}

*/






/* 2026 Codebase Update */


.rf-container {
	max-width: 1200px;

	@media(max-width: 1210px) {
		max-width: 94%;
	}
}

nav {
	width: 100%;
	position: relative;
	padding: 2rem 0;
}

.nav-inner {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	align-items: center;

}

.nav-left, .nav-right {
	flex: 1;
	display: flex;
	margin: 0;
	padding: 0 2rem;
}

.menu-left, .menu-right {
	display: flex;
	justify-content: space-between;
	justify-content: space-around;
	list-style: none;
	margin: 0;
	padding: 0;
	width: 100%;
}

.menu-left li, .menu-right li {
	flex: 0 0 auto;
}

.menu-left li a, .menu-right li a {
	display: block;
	text-decoration: none;
	padding: 4rem 0;
	text-transform: uppercase;
	font-weight: bold;
	color: var(--primary-color);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 100%;
}

.nav-top {
  font-weight: 400;
  color: var(--secondary-color);
}

.nav-bottom {
  font-weight: 700;
}

@media (min-width: 920px) {
	
.nav-top, .nav-bottom {
	line-height: 1;
}
}

.nav-logo {
	flex: 0 0 auto;
}

.nav-logo img {
    display: block;
    padding: 1rem;
    height: 19rem;
    width: auto;
}

.nav-toggle {
	display: none;
	background: none;
	border: none;
	font-size: var(--fs-h1);
	padding-right: 2rem;
}

.mobile-nav {
	display: none;
	width: 100%;
}

@media (max-width: 950px) {

	/* Hide desktop nav */
	.nav-left,
	.nav-right {
		display: none;
	}



	.nav-inner {
		max-width: 94%;
		margin-left: 3%;
	}

	.nav-toggle {
		display: block;
		text-align: right;
	}

	.nav-toggle, .nav-logo {
		flex: 1;
	}

	.nav-logo img {
		height: auto;
	}

	.mobile-nav {
		position: absolute;
		top: 100%;
		left: 0;
		width: 100%;
		background: white;
		transform: translateY(-10px);
		opacity: 0;
		pointer-events: none;
		transition: all 0.25s ease;
		padding: 1.5rem 2rem;
	}

	.mobile-nav.is-open {
		transform: translateY(0);
		opacity: 1;
		pointer-events: auto;
		display: block;
		z-index: 10000;
	}

	.mobile-nav.active {
		display: flex;
	}

	.mobile-menu {
		list-style: none;
		padding: 0;
		margin: 0;
	}

	.mobile-menu li {
		border-bottom: 1px solid #ededed;
	}

	.mobile-menu li a {
		display: block;
		padding: 1rem 0;
		font-size: 20px;
		text-decoration: none;
		color: var(--secondary-color);
	}

	.mobile-menu li:last-child {
		border-bottom: none;
	}

}


/* 2026 Hero: 50/50 in a box */


/* @media (max-width: 450px) {
	section {
		padding: 90px 0px;
	}
} */

.splash {
	max-width: 1200px;
	width: 100%;
	border: 1px solid #ededed;
	margin: auto;
	padding: 0;
	box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
	box-shadow: rgba(255, 255, 255, 0.1) 0px 1px 1px 0px inset, rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;

	@media (max-width: 1200px) {
		width: 94%;
	}
}

.splash h5, .splash h2, .splash p {
	margin: 0;
	color: white;
}

.splash .rf2 {
	gap: 0;
}

.splash .slogan {
	padding: 4rem;
	position: relative;
	z-index: 2;
}

.splash .slogan h2 {
	text-align: left;
	line-height: 0.9;
	margin-bottom: 2rem;
	padding-left: 0.6rem;
	border-left: 6px solid var(--secondary-color);
	font-size: var(--fs-h1);
}

.splash .slogan h2::after {
	display: none;
}

.splash .slogan h5 {
	color: var(--accent-color);
	margin-bottom: 1rem;
	position: relative;
	display: inline-block;
}

.splash .slogan h5::after {
	content: "";
	position: absolute;
	width: 100%;
	border-bottom: 2px dotted var(--secondary-accent);
	bottom: -0.2rem;
	left: 0;
}

.splash .slogan p {
	margin-bottom: var(--space-md);
}

.splash .rf-block:first-of-type {
	display: flex;
	flex-direction: column;
	justify-content: center;
	color: white;
	position: relative;
	z-index: 0;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.splash .rf-block:first-of-type::after {
	content: "";
	inset: 0;
	position: absolute;
	background-color: color-mix(in srgb, var(--primary-color), #0000 10%);
	z-index: 1;
}

@media (min-width: 820px) {
	.splash .rf-block:last-of-type {
		min-height: 60rem;
		max-height: 65rem;
	}
}

.splash .rf-block:last-of-type img {
	object-fit: cover;
	width: 100%;
	height: 100%;
}




/*** RF Hero Subpage ***/

.rf-hero-subpage {
	max-width: 1200px;
	margin: auto;
	height: 28rem;
	background-color: var(--primary-color);
	color: var(--accent-color);
	box-shadow: rgba(255, 255, 255, 0.1) 0px 1px 1px 0px inset, rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;

	@media (max-width: 1200px) {
		width: 94%;
		margin-left: 3%;
	}
	.rf-container {
		@media (max-width: 1200px) {
			max-width: 100%;
			margin: 0;
		}
	}

	.rf-block:first-of-type {
		position: relative;

		@media (max-width: 820px) {
			display: none;
		}
	}

	.rf-block:last-of-type {
		height: 28rem;
		position: relative;
		z-index: 0;
	}

	.rf-block:last-of-type img {
		object-fit: cover;
		height: 100%;
		width: 100%;
		display: block;
		position: relative;
		z-index: 1;
	}

	.rf-block:last-of-type::after {
		content: "";
		inset: 0;
		position: absolute;
		height: 100%;
		width: 100%;
		background-color: rgb(var(--primary) / 0.55);
		z-index: 2;

		@media (max-width: 820px) {
			display: none;
		}
	}

	h2 {
		position: absolute;
		bottom: 2rem;
		left: 2rem;
		font-size: var(--fs-h1);
		margin-bottom: 0;
		border-left: 6px solid var(--secondary-color); 
		padding-left: 0.6rem;
	}
}




/*** RF Aside ***/

.rf-aside {
	background-color: var(--primary-color);
	box-shadow: rgba(255, 255, 255, 0.1) 0px 1px 1px 0px inset, rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
	color: white;
	position: sticky;
	z-index: 1000;
	padding: 6rem 4rem;

	ul {
		list-style: none;
		padding-left: 0;
		margin-left: 0;
	}

	li {
		position: relative;
		padding-left: 2rem;
		margin-bottom: 0;
	}

	/* Font Awesome Bullet */
	li::before {
		font-family: "FontAwesome";
		content: "\f0e7";
		position: absolute;
		left: 0;
		top: 0.15em;
		color: var(--secondary-color);
		font-size: 0.9em;
	}

	li:hover::before {
		transform: scale(1.2);
		transition: transform 0.2s ease;
	}

	h2 {
		border-left: 6px solid var(--secondary-color); 
		padding-left: 0.6rem;
	}
}






.flex-next {
	right: -25px !important;
}

.flex-prev {
	left: -25px !important;
}


@media (max-width: 920px) {
	#metaslider-id-384 {
		width: 92% !important;
		margin-left: 4%;
	}
}




/***** RF Triple Hopper *****/
.home {
	.rf-triple-hopper {
		background-size: 4rem;
		color: var(--bulk-black);
		text-align: center;
		padding: 9rem 0;

		.rf-container {
			margin-bottom: 4rem;
		}

		.rf-card {
			text-align: center;
			background-color: var(--primary-color);
			color: var(--accent-color);
			box-shadow: rgba(255, 255, 255, 0.1) 0px 1px 1px 0px inset, rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
			background-size: cover;
			background-position: center;
			position: relative;
			z-index: 0;
			padding-top: 35rem;
			flex: 1;
			display: flex;

			@media (max-width: 950px) {
				margin-bottom: 3rem;
			}

			.rf-card-text-wrapper {
				background-color: hsl(var(--primary) / 0.80);
				padding: 4rem 0;
				position: relative;
				z-index: 1;
				display: flex;
				flex-direction: column;
				flex: 1;
			}

			.rf-card-header {
				margin-bottom: 2rem;
			}

			.rf-card-text-wrapper .wp-block-button {
				margin-top: auto;
			}			

			.rf-card-content {
				flex: 1;
			}
		}

		i {
			font-size: 6rem;
			display: block;
			margin: auto;
			color: var(--secondary-color);
			padding: 2rem 0;
		}

		p {
			padding: 1rem;
		}

		.wp-block-button {
			margin-bottom: 0;
		}

	}


}


/*** RF 50 50 on Home ***/
.home {
	.rf-50-50 {
		--btn-bg: var(--accent-color);
		--btn-color: var(--primary-color);
		--btn-hover-bg: var(--secondary-accent);
		--btn-hover-color: var(--accent-color);

		padding: 9rem 0;
		position: relative;
		z-index: 0;
		background-position: center;
		background-size: cover;

		h5 {
			color: white;
			align-self: flex-start;
		}

		h5::after {
			border-bottom: 2px dotted white;
		}

		&::after {
			content: "";
			position: absolute;
			inset: 0;

			/* These two are equivalent, shown for future reminders */
			background-color: color-mix(in srgb, var(--secondary-color), #0000 15%);
			background-color: rgb(var(--secondary-rgb) / 0.85);
			z-index: 1;
		}

		.rf-container {
			position: relative;
			z-index: 2;
		}

		.rf-block {
			flex: 1;
		}

		.rf-block:last-of-type {
			position: relative;
		}

		.rf-block:last-of-type img {
			width: 100%;
			height: 100%;
			object-fit: cover;
			display: block;
		}
	}
}

/* html, body {
  overflow-x: hidden;
} */

.alignfull {
    width: 100vw;
	width: 100%;
    margin-left: calc(50% - 50vw);
}

.alignwide {
    width: 100%;
}



/*** Animation CSS ***/
/* Base hidden state */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

/* Visible state */
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    transform: translateX(-40px);
}

.reveal-right {
    transform: translateX(40px);
}

.reveal-zoom {
    transform: scale(0.95);
}