/*
 Theme Name: WMA Child Theme
 Theme URI: https://www.elegantthemes.com/gallery/divi/
 Description: Divi Child Theme created by Walker Media Agency
 Author: Walker Media Agency
 Author URI: https://www.elegantthemes.com
 Template: Divi
 Version: 2.0.0
*/


 
/* =Theme customization starts here
------------------------------------------------------- */

:root {
    --primary-color: #2EA3F2;
    --secondary-color: #2EA3F2;
    --heading-text-color: var(--cloud-white);
    --body-text-color: #808080;
    --void: #0C0E11;
    --signal-teal: #48EDC6;
    --cloud-white: #F5F7FA;
    --ghost-bot: #808080;
    --monitor-screen-black: #161B24; 
	--circuit-blue: #7CAAE6;
	--tech-dawn: #111520;
}
:root {
    /* Misc. */
    --signal-teal-quiet: rgba(71, 240, 197, 0.05);
	--code-red-quiet:  rgba(213, 39, 33, 0.05);
    --gold-glow-quiet: rgba(212, 175, 55, 0.05);
	--circuit-glow: rgba(124, 170, 230, 0.62);
    --radius-sm: 1px;
    --border-glass: 1px solid rgba(248, 248, 252, 0.08);
	--precision-trans: all .18s linear;
}

/* font vars */
:root {
    --font-main: "DM Sans", sans-serif;
    --font-mono: "DM Mono", monospace;
}

.clr-signal-teal {
	color: var(--signal-teal);
}

.txt-cursor-write {
	position: relative;
}
.image-wrapper > .et_pb_image,
.image-wrapper > .et_pb_image > .et_pb_image_wrap {
	min-height: 100%;
	height: 100%;
	display: flex;
}
.image-wrapper > .et_pb_image > .et_pb_image_wrap > img {
	object-fit: cover;
}
.cursor-line {
	position:absolute;
	top: 1em;
	left:0;
	display:block;
	width:1ch;
	height:3px;
}

/* Global nav */
.nav-contact-btn {
	height: 42px;
	display: flex;
    align-items: center;
    justify-content: center;
	font-size: 1.2rem;
}

/* Change Divi mobile menu hamburger to an X when open */
.mobile_nav.opened .mobile_menu_bar::before {
    content: '\4d' !important;
}

/* Optional: Add a smooth rotation effect when opening */
.mobile_menu_bar::before {
    transition: transform 0.3s ease-in-out !important;
    display: inline-block !important;
}

.mobile_nav.opened .mobile_menu_bar::before {
    transform: rotate(90deg);
}
/* ==========================================================================
   MOBILE DROPDOWN BREAKOUT & DARK THEME (980px and below)
   ========================================================================== */

/* Override Divi's clunky JS height toggling */
.mobile_nav.opened .et_mobile_menu {
    display: block !important;
    height: auto !important;
    overflow: hidden;
    transform-origin: top center;
    
    /* Adjust '0.25s' for speed and the cubic-bezier for custom easing */
    animation: swiftMobileMenu 0.35s cubic-bezier(0.2, 1, 0.3, 1) forwards;
}

@keyframes swiftMobileMenu {
    from {
        opacity: 0;
        transform: scaleY(0);
    }
    to {
        opacity: 1;
        transform: scaleY(1);
    }
}

/* Divi dropdown animation highjack end */



@media (max-width: 980px) {
    /* 1. Flatten the container positioning so the menu isn't trapped or clipped */
    .et_pb_row:has(.et_mobile_menu),
    .et_pb_column:has(.et_mobile_menu) {
        overflow: visible !important;
	 position: relative !important;
    }  

    /* 2. Neutralize the 1.25rem container padding */
    .et_pb_menu .et_mobile_menu, 
    .et-menu-nav .et_mobile_menu, 
    ul.et_mobile_menu {
        position: absolute !important;
        background-color: #0b0f19 !important;
        
        /* Pull the menu back by the exact size of the container's padding */
        left: -1.25rem !important;
		top: calc(100% + 4px); 
        width: 100vw !important;
        max-width: 100vw !important;
        
        /* Visual styles */
        border-top: 3px solid #26E6B5 !important;
        box-shadow: 0px 15px 35px rgba(0, 0, 0, 0.6) !important;
        border-radius: 0px !important; 
        padding: 15px 20px !important;
        box-sizing: border-box !important;
        z-index: 9999 !important;
    }
	
	/* 1. THE ABSOLUTE CURTAIN OVERLAY (WITH YOUR EXACT POSITIONING) */
	.mobile_nav.opened .et_mobile_menu {
		display: block !important;
		position: absolute !important;

		/* Kept exactly as you had it */
		left: -1.25rem !important;
		top: calc(100% + 4px) !important;

		/* Drops down to fill the rest of the viewport */
		height: 100vh !important;

		/* Curtain Styling */
		background-color: #111424 !important; /* Matches your dark brand color */
		z-index: 99999 !important;
		padding: 30px 20px !important;
		box-sizing: border-box;

		/* Scroll containment inside the menu */
		overflow-y: auto !important; 
		touch-action: auto !important;

		/* Your snappy animation */
		animation: swiftMobileMenu 0.25s cubic-bezier(0.2, 1, 0.3, 1) forwards;
		transform-origin: top center;
	}

	
	/*  SCROLL LOCK CONTROLS */
	html.lock-page-scroll,
	body.lock-page-scroll {
		overflow: hidden !important;
		height: 100% !important;
		touch-action: none; /* Blocks swipe-to-scroll gestures on touch screens */
	}

	/* Re-allow scrolling exclusively inside the menu container if links overflow */
	.mobile_nav.opened .et_mobile_menu {
		touch-action: auto !important;
	}
}

@media (max-width: 980px) {
   

    /* Fix the text items inside the newly widened menu */
    .et_mobile_menu li a {
        color: #ffffff !important;
        background-color: transparent !important;
        font-weight: 500 !important;
        padding: 12px 0 !important;
        display: block !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    }

    /* Remove the bottom border on the last item */
    .et_mobile_menu li:last-child a {
        border-bottom: none !important;
    }

    /* Active page highlight inside mobile dropdown */
    .et_mobile_menu li.current-menu-item a,
    .et_mobile_menu li a:hover {
        color: #26E6B5 !important; /* Company Green */
    }
	
	.nav-contact-btn {
		height: 30px;
	}
	
}

@media (max-width: 380px) {
	.nav-contact-btn {
		height: 30px;
		padding: 3px 4px;
	}
}

/* ==========================================================================
   DESKTOP ONLY NAVIGATION (981px and up)
   ========================================================================== */



@media (min-width: 981px) {
	.et-menu-nav {
		position: relative;
	}
    .nav-trace-line {
        display: block !important;
        position: absolute;
        bottom: 1rem;
        height: 2px;
        background-color: var(--signal-teal);
        pointer-events: none;
        left: 0;
        width: 0;
        z-index: 99;
    }
}

@media (max-width: 980px) {
    .nav-trace-line {
        display: none !important;
    }
}

/* Body */
body,
body .et_pb_section {
	background-color: var(--void);
}

body .et_pb_section:not(:has(.arrow-link-blue)) p a {
    position: relative;
    transition: color 0.3s ease;
}

body .et_pb_section:not(:has(.arrow-link-blue)) p a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--signal-teal);
    box-shadow: 0 0 5px var(--signal-teal);
    transform: scaleX(0);
    transform-origin: left;
    transition: none;
}

body .et_pb_section:not(:has(.arrow-link-blue)) p a:hover {
    color: var(--cloud-white);
}

body .et_pb_section p a:hover::after {
    transform: scaleX(1);
    transition: transform 0.1s linear;
}
/* Reset heading colors */
h1, h2, h3, h4, h5, h6 {
    color: var(--cloud-white);
	font-weight: 700;
	line-height: 1.4;
}
#trace-footer address {
	font-style: normal;
}
#trace-footer .et_pb_text_inner {
	color: var(--ghost-bot);
}

.colophon-row {
	border-top: 1px solid rgba(248, 248, 252, 0.04);
}

/* Standard Masthead -non home pages */
#std-masthead {
	position: relative;
	overflow: hidden;

}

.std-body-content {
	position: relative;
	background: linear-gradient(180deg, #1E2734 0.01%, var(--monitor-screen-black) 34.74%);
	z-index: 0;
}

.std-body-content::before {
	content: "";
	position: absolute;
	inset: 0;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: top left;
	pointer-events: none;
	z-index: -1;
}

.std-body-content.bottom-callout-after::after {
	content: "";
	position: absolute;
	inset: 0;
	background-color: var(--void);
	z-index: -1;
	height: 100px;
	bottom: 0;
	top: auto;
}

.std-body-content .inner-frame {
	margin-top: -120px;
}

#std-masthead:before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 0;
	width: 100%;
	height: 100%;
	opacity: 0.7;
	background: linear-gradient(180deg, rgba(217, 217, 217, 0.00) 0%, rgba(0, 0, 0, 0.71) 10.1%);
}

.eyebrow-hdr {
    color: var(--signal-teal);
    font-family: "DM Mono", var(--font-mono), monospace;
    font-size: 16px!important;
    font-style: normal;
    font-weight: 500;
    line-height: 16px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    display: inline-block; /* Helps with spacing if used above headers */
    margin-bottom: 8px;    /* Optional: adds a small gap below the eyebrow */
}

p strong {
	color: var(--cloud-white);
}

.et_pb_button.preset--module--divi-button--default {
  position: relative;
}
.et_pb_button.preset--module--divi-button--default {
/*  background: var(--signal-teal) !important; */
  color: var(--void) !important;
  border: 1px solid transparent;
  transition:
    background 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease !important;
}


/* 1. Set the BASE state (Normal Header) */
.et_pb_section_0_tb_header .et_pb_image_0_tb_header img {
    height: 60px; /* SET THIS to your logo's normal height */
    width: auto;
    transition: all 0.2s ease-in-out !important;
}

.et_pb_section_0_tb_header {
    transition: background 0.2s ease, padding 0.3s ease, backdrop-filter 0.4s ease !important;
}

/* 2. Set the STICKY state (Shrunk Header) */
/* Target the section when Divi adds the .et_pb_sticky class */
.et_pb_section_0_tb_header.et_pb_sticky {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0) 100%),
                radial-gradient(circle, rgba(0, 0, 0, 0.85) 1px, transparent 1px) 0 0 / 4px 4px !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
}

/* Target the logo inside the sticky section */
.et_pb_section_0_tb_header.et_pb_sticky .et_pb_image_0_tb_header img {
    height: 34px !important;
}

/* Masthead Home */
.void-curtain {
    position: relative;
	
}

.void-curtain:before {
	top:0;
	position: absolute;
	content: '';
	inset: 0;
	z-index: 1;
	width: 100%;
	height: 100%;
	background: radial-gradient(ellipse 25% 100% at 0% 50%, rgba(0,0,0,0.65) 0%, transparent 100%),
            radial-gradient(ellipse 25% 100% at 100% 50%, rgba(0,0,0,0.65) 0%, transparent 100%),
            radial-gradient(265.66% 52.83% at 63.2% 28.76%, rgba(217,217,217,0.00) 0%, rgba(0,0,0,0.18) 53.43%, rgba(0,0,0,0.50) 87.63%);
}

.void-curtain .et-pb-background-video {
	z-index: 0;
}

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

.masthead-h1,
.masthead-h1 h1{
	font-size: 56px;
	font-style: normal;
	font-weight: 900;
	line-height: 64px; /* 114.286% */
	letter-spacing: -0.8px;
}

@media (max-width: 980px) {
  .masthead-h1,
  .masthead-h1 h1 {
    /* clamp(minimum_size, preferred_fluid_size, maximum_size) */
    font-size: clamp(42px, 6vw, 56px);
    
    /* Using a unitless line-height (114%) keeps the spacing perfectly proportional as the text shrinks */
    line-height: 1.14; 
  }
}

/* Container for all stat cards */
.stat-cards-wrap {
 	display: flex;
	flex-direction: column;
	max-width: 230px;
	gap: 8px;	
}

/* ==========================================================================
   Tablet Layout (980px down to 768px): 2 Column Grid
   ========================================================================== */
@media (max-width: 980px) {
    .stat-cards-wrap {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
        
        /* Uncap the 230px width so the columns have room to sit side-by-side */
        max-width: 100% !important; 
    }    
}

/* ==========================================================================
   Phone Layout (767px down): Single Column Stack
   ========================================================================== */
@media (max-width: 767px) {
    .stat-cards-wrap {
		display: flex!important;
    }
	.et_pb_text_inner:has(.stat-cards-wrap) {
		width: 100%;
	}
    
}


/* Individual card container */
.stat-card-item {
	border-radius: 1px;
	display: flex;
	padding: 9px 12px 13px 12px;
	flex-direction: column;
	align-items: flex-start;
	align-self: stretch;
	border: 1px solid rgba(72, 237, 198, 0.12);
	background: var(--monitor-screen-black);

	color: var(--ghost-bot);
}

/* The large number/metric (e.g., 15K+, 100%) */
.stat-card-metric {
	color: var(--signal-teal);	
	font-size: 18px;
	font-style: normal;
	font-weight: 500;
	line-height: 18px; /* 100% */
	text-transform: uppercase;
	margin-top: 6px;
	margin-bottom: 5px;
}

/* The main category title (e.g., Devices Deployed) */
.stat-card-title {
	text-transform: uppercase;
	letter-spacing: .6px;	
	font-size: 13px;
	font-style: normal;
	font-weight: 700; 
	line-height: 18px; /* 138.462% */
	letter-spacing: 0.6px;
	text-transform: uppercase;
}

.stat-card-title,
.stat-card-mono {
	font-family: var(--font-mono);
}

/* The smaller supporting description (e.g., Active in field) */
.stat-card-desc {
	line-height: 18px;
}

.step-card-row h3 {
	line-height: 1.2!important;
}

.step-number {
  position: relative;
  z-index: 2;
  overflow: visible!important;
  outline: 6px solid var(--tech-dawn);
}

.et_pb_row_nested.et_pb_row.step-card-line,
.step-card-line {
	height: 2px;
	background: rgba(72, 237, 198, 0.24);
	transform: translateY(16px);
}

@media (max-width: 980px) {
 .et_pb_row_nested.et_pb_row.step-card-line,
	.step-card-line {
		display: none;
	}
}

.step-card-row p {
	text-wrap: pretty;
}

/*  */
.dynamic-tech-bg {
	position: relative;
}
.dynamic-tech-bg:before {
	content: '';
	opacity: .3;
	background-image: url(/wp-content/themes/divi-child/image/tech-paths.avif);
	background-size: 300px auto;
    background-position: left -228px;
	background-repeat: no-repeat;
	position: absolute;
	left: 0;
    top: 0;
	z-index: 0;
	width: 35vw;
	height: 100%;
}
.dynamic-tech-bg:after {
	content: '';
	opacity: .3;
	background-image: url(/wp-content/themes/divi-child/image/tech-paths-2.avif);
	background-size: 395px auto;
    background-position: right top;
    background-repeat: no-repeat;
    position: absolute;
    left: auto;
    right: 0;
    bottom: 0;
    z-index: 0;
    width: 300px;
    height: 53%;
}
.ready-to-build-callout-curtain {
	position: relative;
}

.ready-to-build-callout-curtain .et-pb-parallax-background {
	left: 30vw;
    width: 70vw;
}



.ready-to-build-callout-content .et_pb_row {
	position: relative;
	z-index: 2;
}

.ready-to-build-callout-curtain:before {
	position: absolute;
	left: 0;
	top: 0;
	z-index: 1;
	width: 100%;
	height: 100%;
	inset: 0;
	content: '';
	opacity: .98;
	background: linear-gradient(110deg, var(--void) 42.94%, var(--void) 49.34%, rgba(12, 14, 17, 0.58) 56.22%, rgba(12, 14, 17, 0.33) 66.41%);
}

.triple-card-row {
	
}
@keyframes fog-pulse {
    0% {
        background-position: top center, top center;
        opacity: 0.9;
    }
    50% {
        /* This moves the gradient slightly off-center and deepens the glow */
        background-position: 58% 2%, top center; 
        opacity: 1;
    }
    100% {
        background-position: top center, top center;
        opacity: 0.9;
    }
}
.light-card {
	padding: 34px 34px 70px;
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: var(--radius-sm); /* Using your new variable! */
    border: var(--border-glass);    /* Using your new variable! */
    transition: all 0.5s ease;   
	height: 100%;
	backdrop-filter: blur(5.5px);
	background-color: rgba(0, 0, 0, 0.08);
}


.basic-card {
	border-radius: var(--radius-sm);
	border: 1px solid rgba(72, 237, 198, 0.12);
	background: var(--monitor-screen-black);
}
a.arrow-link-blue,
.arrow-link-blue a,
.arrow-link-blue .trace-read-more {
	position: relative;
	background-image: url(/wp-content/themes/divi-child/image/blue-trace-arrow.svg);
	background-size: 18px 18px;
	background-repeat: no-repeat;
	background-position: right center;
	padding: 1rem 1.5rem 1rem 0;
	transition: var(--precision-trans);
    color: var(--circuit-blue);
}

a.arrow-link-blue:hover,
.arrow-link-blue a:hover,
.arrow-link-blue .trace-read-more:hover,
.trace-blurb:hover .arrow-link-blue .trace-read-more {	
	color: var(--cloud-white);
	padding: 1rem 2.1rem 1rem 0;
	text-shadow: 0px 0px 12px var(--circuit-glow);
}

.light-card.green:before {
	background-image: radial-gradient(70.15% 70.15% at 49.93% 0.07%, var(--signal-teal-quiet) 0%, rgba(71, 240, 197, 0.02) 40.87%, rgba(30, 39, 52, 0.00) 100%),
        url(/wp-content/themes/divi-child/image/green-mist.avif);	  
}
.light-card.red:before {
	background-image: radial-gradient(70.15% 70.15% at 49.93% 0.07%, var(--code-red-quiet) 0%, rgba(213, 39, 33, 0.03) 40.87%, rgba(30, 39, 52, 0.00) 100%),
        url(/wp-content/themes/divi-child/image/red-mist.avif);
}
.light-card.gold:before {
	background-image: radial-gradient(70.15% 70.15% at 49.93% 0.07%, var(--gold-glow-quiet) 0%, rgba(213, 39, 33, 0.03) 40.87%, rgba(30, 39, 52, 0.00) 100%),
        url(/wp-content/themes/divi-child/image/gold-mist.avif); 	  
}

/* Base setup for the hover glow */
.light-card::after {
    content: '';
    position: absolute;
    inset: 0;
    height: 100%; /* Increased to 100% for a fuller vertical glow field */
    z-index: 0; /* Keeps it behind the text content */
    opacity: 0;
    pointer-events: none; /* Ensures it doesn't interfere with clicks/hovers */
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1); /* Premium, smooth ease-out */
}

/* Trigger the glow on hover (supports both native hover and your JS .is-hovered class) */
.light-card:hover::after,
.light-card.is-hovered::after {
    opacity: .6;
}

/* Premium Green Glow */
.light-card.green::after {
    background-image: radial-gradient(
        90% 90% at 50% 0%, 
        var(--signal-teal-quiet) 0%, 
        rgba(71, 240, 197, 0.25) 25%, 
        rgba(71, 240, 197, 0.08) 60%, 
        rgba(30, 39, 52, 0) 100%
    );
}

/* Premium Red Glow */
.light-card.red::after {
    background-image: radial-gradient(
        90% 90% at 50% 0%, 
        var(--code-red-quiet) 0%, 
        rgba(213, 39, 33, 0.25) 25%, 
        rgba(213, 39, 33, 0.08) 60%, 
        rgba(30, 39, 52, 0) 100%
    );
}

/* Premium Gold Glow */
.light-card.gold::after {
    background-image: radial-gradient(
        90% 90% at 50% 0%, 
        var(--gold-glow-quiet) 0%, 
        rgba(255, 193, 7, 0.22) 25%, /* Clean gold fallback accent */
        rgba(255, 193, 7, 0.06) 60%, 
        rgba(30, 39, 52, 0) 100%
    );
}


.light-card.lights-active::before {
	opacity: 1;
	background-size: 100% auto;
	
}
.light-card::before {

	transition: all 0.5s ease;
	opacity: 0;
	content: '';
	position: absolute;
	z-index: 0;
	inset: 0;
	width: 100%;
	height: 50%;

    background-size: 0 auto;
    background-repeat: no-repeat;
    background-position: top;
    background-size: 100% auto;
}

.light-card.is-hovered::before {
	background-size: 100% 150%;
}
.light-card p {
	text-align: center;
}
.team-card h2,
.team-card h3,
.light-card h2,
.light-card h3 {
	margin-bottom: 0;
 	padding-bottom: 0;
   	font-weight: 700;
	color: var(--cloud-white);
	text-align: center;
}


.verti-cloud-gradient {
	background: linear-gradient(181deg, #0D1117 1.78%, #141A24 76.94%, #253041 124.64%, rgba(50, 66, 89, 0.54) 124.66%, rgba(71, 92, 125, 0.21) 136.42%);
}
.browser-edge-image-holder {
	position: absolute;
    top: 0;
    left: 0;
    width: calc(50vw - 120px);
    height: 100%;
    aspect-ratio: 16 / 9;
    right: auto;
    border-radius: var(--radius-sm);
    overflow: hidden;
	display: flex;
	justify-content: center;
	align-items: center;
}

.browser-edge-image-holder img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: all 0.5s ease;
}

.browser-edge-image-holder .et_pb_image_wrap {
	display: flex;
	justify-content: center;
	align-items: center;
}

.inner-frame {
	position: relative;
}

.inner-frame:before {
	content: '';
	position: absolute;
	
	z-index: 1;
	inset: 2rem;
	width: calc(100% - 4rem);
	height: calc(100% - 4rem);
	border-radius: var(--radius-sm);
	border: 1px solid #2d4f72;
	pointer-events: none;
}

@media (max-width: 767px) {
  .inner-frame:before {
    /* Halves the spacing from 2rem to 1rem */
    inset: 1rem; 
    width: calc(100% - 2rem);
    height: calc(100% - 2rem);
  }
}

/* About page blurb */

.trace-blurb {
	height: 100%;
	display: flex;
}

.et_pb_blurb.trace-blurb > .et_pb_blurb_content {
	display: flex;
	flex: 1;
	flex-direction: column;
	justify-content: space-between;
	gap: 1rem;
	max-width: 100%!important;
}

.et_pb_blurb.trace-blurb > .et_pb_blurb_description {
	max-width: 380px;
}

/* Contact form */
/* ==========================================================================
   Trace Contact Form Styles (Gravity Forms Heavy Overrides)
   ========================================================================== */

/* 1. Form Labels & Headings */
.trace-contact-form label,
.trace-contact-form .gfield_label {
    color: var(--cloud-white) !important;
    font-family: var(--font-main, inherit) !important;
    font-weight: 500 !important;
    margin-bottom: 0.5rem !important;
    display: inline-block !important;
}

/* Required Asterisk (*) */
.trace-contact-form .gfield_required {
    color: var(--signal-teal) !important;
}

/* 2. Input Fields, Textareas, & Selects (Sledgehammer Specificity) */
.trace-contact-form input[type="text"],
.trace-contact-form input[type="email"],
.trace-contact-form input[type="tel"],
.trace-contact-form input[type="url"],
.trace-contact-form textarea,
.trace-contact-form select,
.trace-contact-form .gfield input,
.trace-contact-form .gfield textarea,
.trace-contact-form .gfield select,
.trace-contact-form .ginput_container input,
.trace-contact-form .ginput_container textarea,
.trace-contact-form .ginput_container select {
    background-color: var(--tech-dawn) !important;
    color: var(--circuit-blue) !important;
    border: 1px solid var(--ghost-bot) !important;
    border-radius: 1px !important; 
    padding: 0.25rem 1rem !important;
	line-height: inherit!important;
    width: 100% !important;
    box-sizing: border-box !important;
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out !important;
}

/* Fields Focus State */
.trace-contact-form input:focus,
.trace-contact-form textarea:focus,
.trace-contact-form select:focus,
.trace-contact-form .gfield input:focus,
.trace-contact-form .gfield textarea:focus,
.trace-contact-form .gfield select:focus {
    border-color: var(--signal-teal) !important;
    outline: none !important;
    box-shadow: 0 0 0 1px var(--signal-teal) !important;
}

.trace-input-mirror-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; 
  white-space: pre-wrap; /* Ensures text wraps naturally in textareas */
  word-break: break-word;
}

/* Placeholders & Field Descriptions */
.trace-contact-form ::placeholder {
    color: var(--ghost-bot) !important;
    opacity: 0.6 !important;
}

.trace-contact-form .gfield_description,
.trace-contact-form .ginput_counter {
    color: var(--ghost-bot) !important;
    font-size: 0.85rem !important;
    margin-top: 0.25rem !important;
}

/* ==========================================================================
   Submit Button - Exact Header Match & Anti-Jitter Fix
   ========================================================================== */

/* 1. Normal State (Matches header button dimensions perfectly) */
.trace-contact-form .gform_footer input[type="submit"],
.trace-contact-form .gform_page_footer input[type="submit"],
.trace-contact-form .gform_button,
.trace-contact-form input[type="submit"].gform_button {
    background-color: var(--signal-teal) !important;
    color: var(--void) !important;
    border: 1px solid var(--signal-teal) !important;
    border-radius: 1px !important;            
    font-family: var(--font-main, inherit) !important;          
    font-weight: 600 !important;
    text-transform: none !important; /* Removes uppercase forcing */
    
    /* Exact padding match from the nav button snippet */
    padding: 0.3em 1em !important; 
    
    cursor: pointer !important;
    box-sizing: border-box !important;
    
    /* Restricts transitions purely to colors to prevent any layout animation twitching */
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, border-color 0.2s ease-in-out !important;
}

/* 2. Hover State (High Specificity Sledgehammer to Match Outline Style) */
body #page-container .et_pb_section .trace-contact-form .gform_footer input[type="submit"]:hover,
body #page-container .et_pb_section .trace-contact-form .gform_page_footer input[type="submit"]:hover,
body #page-container .et_pb_section .trace-contact-form .gform_button:hover,
body #page-container .et_pb_section .trace-contact-form input[type="submit"].gform_button:hover {
    background-color: var(--gcid-eu1r8ukhbo) !important; 
    color: var(--gcid-xtfbikrdl1) !important;            
    
    /* Creates the exact ghost outline look by matching the border to the text color */
    border: 1px solid var(--gcid-xtfbikrdl1) !important; 
    
    /* Locked identically to normal state to completely freeze width shifting */
    padding: 0.3em 1em !important; 
    
    text-transform: none !important;
    opacity: 1 !important; 
}

/* Supplemental safety net to prevent Divi from altering the right-side padding on hover */
.trace-contact-form .gform_footer input[type="submit"]:hover,
.trace-contact-form .gform_button:hover {
    padding-right: 1em !important;
}

/* ==========================================================================
   4. Validation & Error Message Banner Overrides
   ========================================================================== */

/* The main error container banner */
.trace-contact-form.gform-theme--framework .gform_validation_errors,
.trace-contact-form .gform_validation_errors {
    background-color: var(--monitor-screen-black) !important;
    border: 1px solid rgba(72, 237, 198, 0.25) !important; /* Very light transparent signal teal */
    color: var(--circuit-blue) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5) !important;
}

/* Force all text, headings, icons, and list items inside the error box to use blue */
.trace-contact-form .gform_validation_errors h1,
.trace-contact-form .gform_validation_errors h2,
.trace-contact-form .gform_validation_errors h3,
.trace-contact-form .gform_validation_errors h4,
.trace-contact-form .gform_validation_errors b,
.trace-contact-form .gform_validation_errors li,
.trace-contact-form .gform_validation_errors .gform_submission_error {
    color: var(--circuit-blue) !important;
    font-family: var(--font-main, inherit) !important;
}

/* Style the clickable error anchor links inside the box */
.trace-contact-form .gform_validation_errors a {
    color: var(--circuit-blue) !important;
    text-decoration: underline !important;
    transition: color 0.2s ease-in-out;
}

/* Make error links pop with full signal teal when hovered */
.trace-contact-form .gform_validation_errors a:hover {
    color: var(--signal-teal) !important;
}

/* Optional: If there is an inline warning icon, color it teal */
.trace-contact-form .gform_validation_errors i,
.trace-contact-form .gform_validation_errors svg {
    color: var(--signal-teal) !important;
    fill: var(--signal-teal) !important;
}

/* ==========================================================================
Submit Button Hover Override (High Specificity)
   ========================================================================== */

body #page-container .et_pb_section .trace-contact-form .gform_footer input[type="submit"]:hover,
body #page-container .et_pb_section .trace-contact-form .gform_page_footer input[type="submit"]:hover,
body #page-container .et_pb_section .trace-contact-form .gform_button:hover,
body #page-container .et_pb_section .trace-contact-form input[type="submit"].gform_button:hover {
    background-color: var(--gcid-eu1r8ukhbo) !important;
    color: var(--gcid-xtfbikrdl1) !important;
    padding: 0.3em 1em !important;
    opacity: 1 !important; /* Prevents any previous opacity fades from interfering */
}

/* ==========================================================================
   6. Gravity Forms Field Error & Spacing Adjustments
   ========================================================================== */

/* Fix Required Label Spacing (Pushes "(Required)" away from the field name) */
.trace-contact-form .gfield_required {
    margin-left: 0.5rem !important;
    display: inline-block !important;
}

/* Obliterate the Default Gravity Forms Red on Labels when a field fails validation */
.trace-contact-form .gfield_error .gfield_label,
.trace-contact-form .gfield_error .ginput_container_name label,
.trace-contact-form .gfield--type-error .gfield_label {
    color: var(--cloud-white) !important;
}

/* Force Inputs inside errored fields to keep your dark background and pop with a Teal border */
.trace-contact-form .gfield_error input[type="text"],
.trace-contact-form .gfield_error input[type="email"],
.trace-contact-form .gfield_error input[type="tel"],
.trace-contact-form .gfield_error textarea,
.trace-contact-form .gfield_error select,
.trace-contact-form .gfield--type-error input,
.trace-contact-form .gfield--type-error textarea {
    background-color: var(--monitor-screen-black) !important;
    color: var(--circuit-blue) !important;
    border: 1px solid var(--signal-teal) !important; /* Uses teal instead of red for the field border alert */
}

/* Make the error/validation text UNDER each individual field POP */
.trace-contact-form .gfield_validation_message,
.trace-contact-form .validation_message,
.trace-contact-form .gfield_description.gfield_validation_message,
.trace-contact-form [id^="validation_message_"] {
    color: var(--signal-teal) !important;            /* Switched to bright teal for maximum contrast */
    font-family: var(--font-main, inherit) !important;
    font-weight: 600 !important;                     /* Bolded to stand out */
    font-size: 0.95rem !important;                   /* Bumps up readability size */
    margin-top: 0.6rem !important;                   /* Gives it breathing room from the input box */
    margin-bottom: 0.5rem !important;
    display: block !important;
    line-height: 1.4 !important;
}

/* Contact form input cursor */
/* ==========================================================================
   Input Container & Border Framework (Clipping & 1px Radius Fix)
   ========================================================================== */
.trace-input-animate-container {
    position: relative !important;
    width: 100% !important;
    display: block !important;
    background-color: var(--monitor-screen-black) !important;
    border: 1px solid var(--ghost-bot) !important;
    border-radius: 1px !important; /* Strictly enforces your 1px border-radius */
    overflow: hidden !important;    /* Clips text overflow cleanly inside the box boundary */
    box-sizing: border-box !important;
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out !important;
}

/* Move the Focus Glow style directly to the wrapper container */
.trace-input-animate-container:focus-within {
    border-color: var(--signal-teal) !important;
    box-shadow: 0 0 0 1px var(--signal-teal) !important;
}

/* Gravity Forms Error State Wrapper override */
.trace-contact-form .gfield_error .trace-input-animate-container {
    border-color: var(--signal-teal) !important;
}

/* Strip borders/backgrounds from native inputs so they don't conflict or double up */
.trace-contact-form .trace-input-animate-container input,
.trace-contact-form .trace-input-animate-container email,
.trace-contact-form .trace-input-animate-container textarea {
    color: transparent !important;
    caret-color: transparent !important; 
    position: relative !important;
    z-index: 2 !important;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    padding: 0.75rem 1rem !important; 
    width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
}

.trace-contact-form .trace-input-animate-container textarea {
	line-height: 1.6!important;
}

/* ==========================================================================
   Visual Text Mirror & Custom Caret Styling
   ========================================================================== */
.trace-input-mirror-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 1 !important;
    pointer-events: none !important;
    user-select: none !important;
    padding: 0.75rem 1rem !important; 
    font-family: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    letter-spacing: inherit !important;
    color: var(--circuit-blue) !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}


/* Flying Keystroke Lines */
.trace-input-animate-container .cursor-line {
    position: absolute !important;
    top: 0 !important;  
    left: 0 !important; 
    width: 1ch !important;  
    height: 2px !important;   
    z-index: 3 !important;
}

.trace-idle-cursor {
    display: none !important; /* Explicitly locks it hidden on page load */
    width: 1ch !important;
    height: 2px !important;
    background-color: var(--signal-teal) !important;
    box-shadow: 0 0 6px var(--signal-teal), 0 0 15px var(--signal-teal) !important;
    position: relative !important;
    vertical-align: baseline !important;
    top: 2px !important;     /* Perfectly snaps line to the text baseline alignment */
}

/* ==========================================================================
   Custom Caret - Oldschool Mac CRT Phosphor Pulse
   ========================================================================== */

/* Show and pulse the cursor smoothly ONLY when parent container field gains active focus */
.trace-input-animate-container:focus-within .trace-idle-cursor {
    display: inline-block !important;
    /* Swapped to ease-in-out over a slightly longer 0.85s loop for a organic pulse */
    animation: trace-caret-phosphor-glow 0.52s ease-in-out infinite !important; 
}

/* OBLITERATE/HIDE the idle cursor completely while actively typing */
.trace-input-animate-container.is-typing .trace-idle-cursor {
    display: none !important;
    animation: none !important;
}

/* THE FIX: Asymmetrical CRT Phosphor decay curve.
   Ramps up quickly on the front (0% to 25%), holds bright, 
   then trails off slowly into a ghost glow on the back end.
*/
@keyframes trace-caret-phosphor-glow {
    0% { 
        opacity: 0.05; 
        box-shadow: 0 0 2px var(--signal-teal);
    }
    25% { 
        opacity: 1; 
        box-shadow: 0 0 8px var(--signal-teal), 0 0 18px var(--signal-teal); /* Full bright bloom */
    }
    55% { 
        opacity: 1; 
    }
    100% { 
        opacity: 0.05; 
        box-shadow: 0 0 2px var(--signal-teal); /* Residual phosphor fade out */
    }
}



#trace-footer {
	overflow: visible;
}
/* The Track */
.trace-line,
.et_pb_row.trace-line {
    position: absolute;
	width: 100%;
	max-width: 100%!important;
	top: -30px;
	left: 0;
	right: 0;
    height: 60px;
   
    overflow: hidden;
}

/* The Orb (The Dot) */
.trace-orb {
	overflow: visible;
    position: absolute;
    top: 50%;
    left: 0;
    width: 8px;
    height: 2px;
    background: #00FFCC;
    border-radius: 50%;
    transform: translateY(-60%);
box-shadow: 
        0 0 5px 2px rgba(255, 255, 255, 0.8), 
        0 0 15px 10px rgba(0, 255, 204, 0.5), 
        0 0 30px 15px rgba(0, 255, 204, 0.2);
    opacity: 0; /* Hidden until GSAP starts */
    pointer-events: none;
}

/* Util */
.overflow-hidden {
	overflow: hidden!important;
}