/* ==========================================================================
BRAND VARIABLES
========================================================================== */
:root {
	/* Brand Colors */
	--brand-white: #ffffff;
	--brand-black: #191919;
	--brand-gray-dark: #191919;       /* RGB 25, 25, 25 */
	--brand-gray: #737373;            /* RGB 115, 115, 115 */
	--brand-gray-light: #a3a3a2;      /* RGB 163, 163, 162 */
	--brand-blue: #5e82ab;            /* RGB 94, 130, 171 */
	--brand-blue-text: #0572b7;       /* RGB 5, 114, 183 */
	--brand-red: #981426;             /* RGB 152, 20, 38 */

	/* Utility Colors */
	--bg-gray: #b5b5b5;
	--bg-gray-light: #b5b5b4;
	--bg-gray-lighter: #dadad9;
	--bg-gray-lightest: #e5e5e5;

	/* Typography */
	--brand-font: "acumin-pro-condensed", sans-serif;
	--brand-font-regular: 400;
	--brand-font-semi-bold: 600;
	--brand-font-bold: 700;
	--brand-font-style: normal;
	--p-size: 1.4em;
	--lead-size:1.4em;

	--button-font: "proxima-nova", sans-serif;

	/* Globals */
	--border-radius: 0.76rem;
	--border-radius-medium: 0.5rem;
	--border-radius-small: 0.2rem;
}









/* ==========================================================================
STYLE DEFAULTS
========================================================================== */
body {
	margin: 0;
	padding: 0;
	background-color: var(--brand-white);
	font-family: var(--brand-font);
	font-weight: var(--brand-font-regular);
	font-style: var(--brand-font-style);
	font-size: 1rem;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	font-kerning: normal;
}
footer {
	background-color: var( --bg-gray-light);
	background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0));
	background-repeat: no-repeat;
	background-size: 100% 40px; /* adjust height of the shadow */
	color: var(--brand-white);
}
footer a.active {
	color: var(--brand-red);
}
p {
	margin: 0 0 1rem;
	color: var(--brand-gray-dark);
	font-size: var(--p-size);
}

:is(h1, h2, h3, h4, h5, h6) {
	font-family: var(--brand-font);
	font-weight: var(--brand-font-bold);
	line-height: 1;
}

:is(h1, h2, h3) {
	color: var(--brand-red);
	text-transform: uppercase;
}
h1 {
	font-size: clamp(4rem, 8vw, 6rem);
}
h2 {
	font-size: clamp(4rem, 8vw, 6rem);
}
h3 {
	font-size: clamp(4rem, 8vw, 5rem);
}
a {
	text-decoration: none;
	color: var(--brand-blue);
}
a:hover {
	color: var(--brand-red);
}
.lead {
	font-size: var(--lead-size);
	font-weight: var(--brand-font-bold);
	text-transform: uppercase;
}
.shadow-soft {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}
.alert-info {
  --bs-alert-color: var(--brand-gray-dark);
  --bs-alert-bg: var(--bg-gray-lightest);
  --bs-alert-border-color: var(--brand-gray-dark);
  --bs-alert-link-color: var(--brand-blue);
}











/* ==========================================================================
CUSTOM NAV TOGGLER
========================================================================== */
.custom-toggler {
    /* width: 100%; */
    position: relative;
    top: 18px;
    /* margin: 0 auto; */
}
.navbar-toggler {
    width: 30px;
    height: 20px;
    position: relative;
    transition: .5s ease-in-out;
}
.navbar-toggler, 
.navbar-toggler:focus, 
.navbar-toggler:active, 
.navbar-toggler-icon:focus {
    outline: none;
    box-shadow: none;
    border: 0;
    position: relative;
}
.navbar-toggler span {
    margin: 0;
    padding: 0;
}
.toggler-icon {
    display: block;
    position: absolute;
    border-radius: 1px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}
.middle-bar {
    margin-top: 0px;
}

/* State when navigation is collapsed */
.navbar-toggler.collapsed .top-bar,
.navbar-toggler.collapsed .middle-bar,
.navbar-toggler.collapsed .bottom-bar {
    height: 2px;
    width: 100%;
    background: var(--brand-black);
}
.navbar-toggler.collapsed .top-bar {
    position: absolute;
    top: 0px;
    transform: rotate(0deg);
}
.navbar-toggler.collapsed .middle-bar {
    opacity: 1;
    position: absolute;
    top: 8px;
    filter: alpha(opacity=100);
}
.navbar-toggler.collapsed .bottom-bar {
    position: absolute;
    top: 16px;
    transform: rotate(0deg);
}

/* State when navigation is clicked */
.navbar-toggler .top-bar,
.navbar-toggler .middle-bar,
.navbar-toggler .bottom-bar {
    height: 2px;
    width: 100%;
    background: var(--brand-black);
}
.navbar-toggler .top-bar {
    top: inherit;
    transform: rotate(135deg);
}
.navbar-toggler .middle-bar {
    opacity: 0;
    top: inherit;
    filter: alpha(opacity=0);
}
.navbar-toggler .bottom-bar {
    top: inherit;
    transform: rotate(-135deg);
}








/* ==========================================================================
TOGETHER WITH JS DEALS WITH SCALE ON SUPER LARGE SCREENS
========================================================================== */
body {
	overflow-x: hidden;
	background-color: var(--brand-black);
}
body.zoomed-max {
    background-color: #000;
}

.site-wrapper {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    transform-origin: top center;
    transition: transform 0.2s ease-out;
    background-color: var(--brand-white);
}










/* ==========================================================================
FANCYAPPS HERO CAROUSEL
========================================================================== */
#myCarousel {
	--f-arrow-pos: 10px;
	--f-arrow-bg: rgba(255,255,255,0.75);
	--f-arrow-hover-bg: rgba(255,255,255,1);
	--f-arrow-color: #333;
	--f-arrow-width: 40px;
	--f-arrow-height: 40px;
	--f-arrow-svg-width: 20px;
	--f-arrow-svg-height: 20px;
	--f-arrow-svg-stroke-width: 2px;
	--f-arrow-border-radius: 50%;

	width: 100%;
	height: 80vh;
    position: relative;

	--f-transition-duration: 1.2s;
}

#myCarousel .f-carousel__slide {
	height: 100%;
	z-index: 1;
	pointer-events: none; /* This is the key to html behaving over the slide + custom html over each slide, does not work with lazy-load-src */
}
.f-carousel__slide.is-selected {
    pointer-events: auto;
    z-index: 2;
}

#myCarousel img {
	width: 100%;
    height: 100%;
    object-fit: cover;
}
#myCarousel h1 {
	line-height: 1;
}

#myCarousel img.top {
    object-position: top;
}
.f-carousel__slide [inert],
.f-carousel__slide[inert] {
    pointer-events: auto !important;
    user-select: auto !important;
}







/* ==========================================================================
CUSTOM STYLES
========================================================================== */
.bg-gray {
	background-color: var( --bg-gray);
	background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0));
	background-repeat: no-repeat;
	background-size: 100% 40px; /* adjust height of the shadow */
}
.bg-gray-light {
	background-color: var( --bg-gray-light);
	background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0));
	background-repeat: no-repeat;
	background-size: 100% 40px; /* adjust height of the shadow */
}
.bg-gray-lighter {
	background-color: var( --bg-gray-lighter);
	background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0));
	background-repeat: no-repeat;
	background-size: 100% 40px; /* adjust height of the shadow */
}
.bg-gray-lightest {
	background-color: var( --bg-gray-lightest);
	background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0));
	background-repeat: no-repeat;
	background-size: 100% 40px; /* adjust height of the shadow */
}
.red-line {
	width: 100%;
	height: 1px;
	background-color: #981426;
}
.logo {
	width: 240px;
}
.footer-logo {
	max-width: 240px;
}
footer a {
	color: var(--brand-white)

}
footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
footer li, footer li a {
	font-weight: var(--brand-font-bold);
	text-transform: uppercase;
	font-size: 0.94em;
	margin-bottom: 0.4rem;
}
.navbar {
	position: relative;
	background-color: var(--brand-white);
	z-index: 1050;
}
.nav-link {
	display: block;
	font-size: 1em;
	font-weight: var(--brand-font-bold);
	color: var(--brand-black);
	text-transform: uppercase;
	letter-spacing: 0.04em;
}
.nav-link.active,
.nav-link:hover {
	color: var(--brand-red)!important;
}
.navbar .nav-link.is-open {
    color: var(--brand-red);
}
.nav-item button {
	padding: var(--bs-nav-link-padding-y) var(--bs-nav-link-padding-x);
}
.navbold {
	font-weight: 900;
}
header {
    position: relative;
    z-index: 1000;
}
.nav-wrapper {
    position: relative;
    z-index: 1050; /* Ensure the main navbar stays on top */
}
.nav-dropdown {
    position: absolute;
    top: 140px;
    left: 0;
    width: 100%;
    background: white;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px); /* Slide up a bit initially */
    transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1030;

    background-color: var(--bg-gray-lighter);
    min-height:300px;
}
.nav-dropdown.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0); /* Slide into place */
}
.hover-bridge {
    height: 30px; /* size of the gap to bridge */
    top: 112px; /* height of navbar */
    left: 0;
    width: 100%;
    background: transparent;
    z-index: 1060;
	/* background: rgba(255, 0, 0, 0.2); */
}
.rotate-icon {
    transition: transform 0.3s ease;
}

a[aria-expanded="true"] .rotate-icon {
    transform: rotate(90deg);
}
.fa-square {
	color:var(--brand-white);
}
nav .pad-fix1 {
	padding-left: 2.2rem!important;
}
.nav-dropdown h2 {
	color: var(--brand-black);
	font-size: 2.6rem;
}
.subnav .nav-link {
    text-transform: none;
}
.subnav li {
    margin-bottom: 0.3rem;
}
.stat-container {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: -2rem; /* or -1rem for subtler overlap */
    z-index: 2;
    position: relative;
}

.stat-box {
    flex: 1 1 0;
    min-width: 200px;
    background-color: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    font-family: "acumin-pro-condensed", sans-serif;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.stat-value {
    font-weight: 700;
    color: #981426;
    margin-bottom: 0.1rem; /* reduced space */
    line-height: 1;
}
.stat-label {
    font-weight: 600;
    text-transform: uppercase;
    color: #191919;
    letter-spacing: 0.5px;
    line-height: 1; /* ensures no extra vertical space */
}
.size-lg {
    font-size: clamp(2.5rem, 6vw, 4.7rem);
}
.size-md {
    font-size: clamp(2rem, 3vw, 4rem);
}
.size-sm {
    font-size: clamp(1rem, 2vw, 1.5rem);
}


@media (max-width: 768px) {
    .stat-container {
        flex-direction: column;
        gap: 0.5rem; /* reduced vertical space between boxes */
    }
    .stat-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1rem 1.5rem;
    }
    .stat-value-label {
        display: inline-flex;
        align-items: baseline;
        justify-content: center;
        gap: 0.4rem;
        flex-wrap: wrap;
    }
    .stat-value {
        font-size: clamp(3rem, 8vw, 5rem); /* increased size */
        font-weight: 700;
        color: #981426;
        line-height: 1;
        margin: 0;
    }
    .stat-label {
        font-size: clamp(1.4rem, 4vw, 2.2rem); /* increased size */
        font-weight: 600;
        text-transform: uppercase;
        color: #191919;
        line-height: 1;
        margin: 0;
    }
    .size-lg {
	    font-size: clamp(3rem, 8vw, 5rem);
	}
	.size-md {
	    font-size: clamp(1.4rem, 4vw, 2.2rem);
	}
	.size-sm {
	    font-size: clamp(1rem, 2vw, 1.5rem);
	}
}

.stat-animate {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.stat-animate.visible {
    opacity: 1;
    transform: translateY(0);
}
.market-tile {
    overflow: hidden;
    position: relative;
}
.market-tile-image-wrapper {
    transition: transform 0.5s ease;
}
.market-tile img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    display: block;
}
.market-tile h3 {
    color: var(--brand-white);
    font-size: clamp(3.97rem, 7.2vw, 5.42rem);
}
.market-tile-link:hover .market-tile-image-wrapper {
    transform: scale(1.02);
}

.market-tile-image{
    transition: transform 0.5s ease; /* optional for smoothness */
}
.CTA-wrapper {
	margin-top: -4rem;
}
.CTA {
	aspect-ratio: 1 / 1; /* Always a square */
    width: 100%;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}
.CTA-alt {
	aspect-ratio: 9 / 7!important;
}
.CTA-image-wrapper {
    height: 100%;
    overflow: hidden;
}

.CTA-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: transform 0.5s ease;
}
.CTA:hover .CTA-image {
    transform: scale(1.05);
}
.CTA img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    display: block;
}
.CTA-frame {
	position: absolute;
	top: 0.76rem;
	bottom: 0.76rem;
	left: 0.76rem;
	right: 0.76rem;
	border: 1px solid rgba(255, 255, 255, 1);
	border-radius: var(--border-radius-medium);
	pointer-events: none;
}
.CTA h3 {
	color: var(--brand-white);
    /* font-size: clamp(4.4rem, 8vw, 6rem); */
    font-size: 3rem;
}
.CTA p {
	font-size: 1em;
	color: var(--brand-white);
	font-weight: var(--brand-font-bold);
	font-style: italic;
	letter-spacing: 0.04em;
	font-size: 1.6em;
	width:70%;
	line-height: 1.05;
}
.CTA-link:hover .CTA-image-wrapper {
    transform: scale(1.02);
}
.CTA-image {
    transition: transform 0.5s ease; /* optional for smoothness */
}
.CTA-tile-link:hover .CTA-image-wrapper {
    transform: scale(1.02);
}
.overlay {
    background: linear-gradient(
        to right,
        rgba(19, 19, 19, 0.6) 0%,
        rgba(19, 19, 19, 0) 70%,
        rgba(19, 19, 19, 0) 100%
    );
    pointer-events: none; /* optional: lets clicks pass through if needed */
}

.overlay-content {
    pointer-events: auto;
}
.overlay-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: block;
}

.vaughn-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background-color: #425871;
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    padding: 0.2rem 0.46rem 0.2rem 1rem;
    border-radius: var(--border-radius-small);
    transition: background-color 0.2s ease, transform 0.1s ease;
    font-size: 1.25rem;
    letter-spacing: 0.04em;
    border: 0;
}
.market-tile-link .vaughn-btn {
	max-width: 300px; 
}
#intro .vaughn-btn {
	max-width: 400px; 
}
.vaughn-btn .arrow,
.vaughn-btn-down .arrow,
.vaughn-btn-link .arrow {
    margin-left: 1rem;
    flex-shrink: 0;
    font-size: 0.86em;
    transition: transform 0.2s ease;
}
.vaughn-btn:hover .arrow,
.market-tile-link:hover .vaughn-btn .arrow,
.CTA-tile-link:hover .vaughn-btn .arrow {
    /* transform: translateX(2px); */
    animation: nudge-x 0.6s ease-in-out infinite;
}
.full-div-link:hover .vaughn-btn .arrow {
    /* transform: translateX(2px); */
    animation: nudge-diagonal 0.6s ease-in-out infinite;
}
.vaughn-btn-down:hover .arrow {
    /* transform: translateY(2px); */
   	animation: nudge-y 0.6s ease-in-out infinite;
}
.vaughn-btn-link:hover .arrow {
    /* transform: translateY(2px); */
   	animation: nudge-y 0.6s ease-in-out infinite;
}
.vaughn-btn:hover,
.vaughn-btn-down:hover,
.vaughn-btn-link:hover,
.market-tile-link:hover .vaughn-btn,
.CTA-tile-link:hover .vaughn-btn {
    background-color: #3b4d62;
    color: var(--brand-white);
}
.vaughn-btn:active {
    background-color: #3b4d62;
    color: var(--brand-white);
    /* transform: scale(0.98); */
}
.vaughn-btn-down,
.vaughn-btn-link {
    color: var(--brand-white);
    /* transform: scale(0.98); */	
}
.contact-btn {
	margin-left: -1.5rem;
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
	padding: 0.1rem 0.46rem 0.1rem 1rem;
}
/* Animate arrow when the whole link is hovered */
.article-item:is(:hover, :focus-within) .vaughn-btn .arrow {
    animation: nudge-x 0.6s ease-in-out infinite;
}
/* Reusable spin animation - continuous on hover */
.spin {
    display: inline-block; /* ensures proper rotation origin */
}
.vaughn-btn:hover .spin {
    animation: spin360 1.8s linear infinite;
}
@keyframes nudge-x {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(2px);
    }
}
@keyframes nudge-y {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(2px);
    }
}
@keyframes spin360 {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
@keyframes nudge-diagonal {
    0%   { transform: translate(0, 0); }
    50%  { transform: translate(1px, -1px); } /* Right & up */
    100% { transform: translate(0, 0); }
}

.safety-bg {
    width: 100%;
    display: block;
    border-radius: var(--border-radius);
}
.safety-frame {
	position: absolute;
	top: 0.76rem;
	bottom: 0.76rem;
	left: 1.5rem;
	right: 1.5rem;
	border: 1px solid rgba(255, 255, 255, 1);
	border-radius: var(--border-radius-medium);
	pointer-events: none;
}
.contact-card img {
	overflow: hidden;
	border: 0px solid var(--brand-black); /* MAKE THIS ONE FOR OG STYLE */
	border-radius: var(--border-radius-small);
	border-top: 0px solid var(--brand-black);
	border-top-right-radius: 0;
	border-top-left-radius: 0;
}
.contact-location,
.contact-location-xl {
	color: var(--brand-white);
	text-transform: uppercase;
	background: var(--brand-black);

	font-weight: var(--brand-font-bold);
	letter-spacing: 0.06em;
}
.contact-location {
	font-size: 0.86em;
	padding-left: 10px;
}
.contact-location-xl {
	font-size: 1.8rem;
}
.contact-address {
	font-size: 0.86rem;
}
.contact-catchphrase p {
  font-size: 1em;
  color: var(--brand-white);
  font-weight: var(--brand-font-bold);
  font-style: italic;
  letter-spacing: 0.04em;
  font-size: 1.8em;
  width: 70%;
  line-height: 1.05;
}
.contact-catchphrase .quote-icon {
	position: relative;
	width: 60px;
	height: 60px;
	top: -12px;
	left: -1px;
	background-image: url(../img/quote.svg);
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	pointer-events: none;
	opacity: 0.74;
}
@media (min-width: 768px) {
	.contact-catchphrase .quote-icon {
		top: -5px;
		left: -1px;
	}
}
.contact-name {
	font-size:1.6em;
	font-weight: var(--brand-font-bold);
}
.contact-title {
	letter-spacing: 0.04rem;
	font-weight: var(--brand-font-bold);
	color: var(--brand-gray);
}
.contact-phone a {
	font-size: 1em;
	color: var(--brand-black);
	text-transform: uppercase;
}
.contact-email a {
	font-size: 1em;
	color: var(--brand-black);
	text-transform: uppercase;
}
.contact-phone a:hover,
.contact-email a:hover {
	color: var(--brand-red);
}

/* --- Project Tiles --- */
.project-tile {
    overflow: hidden;
    /* border-radius: var(--border-radius-small); */
     background: #fff; /* avoids flash while image loads */
}

/* Keep images uniform; adjust as needed */
.project-tile-image-wrapper {
    aspect-ratio: 1 / 1;
    position: relative;
}
.project-tile-image-wrapper::before { /* fallback if aspect-ratio unsupported (square) */
    content: "";
    display: block;
    padding-top: 100%;
}
.project-tile-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
    will-change: transform;
}

.project-caption {
    height: 100px;
    overflow: hidden;
}

/* Overlay hidden by default, fades in on hover/focus */
.project-tile .overlay {
    pointer-events: none;
    opacity: 0;
    background: linear-gradient(
        to top,
        rgba(19,19,19,0.78) 0%,
        rgba(19,19,19,0.35) 45%,
        rgba(19,19,19,0) 80%
    );
    transition: opacity .25s ease;
}
.project-tile .overlay-dark-left {
    pointer-events: none;
    opacity: 0;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.85) 0%,
        rgba(0, 0, 0, 0.65) 40%,
        rgba(0, 0, 0, 0.35) 75%,
        rgba(0, 0, 0, 0) 100%
    );
    transition: opacity .25s ease;
}

/* Title + subtitle (overlay version) */
.project-title {
    color: var(--brand-white, #fff);
    font-size: clamp(1.1rem, 2.42vw, 1.375rem);
    line-height: 1.1;
}
.project-subtitle {
    color: var(--bg-gray-lightest, #A3A3A2);
    font-size: clamp(0.935rem, 1.98vw, 1.1rem);
    line-height: 1.2;
    margin-top: .25rem;
}

.project-status,
.project-delivery,
.project-location {
	color: var(--brand-white);
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.02rem;
	font-weight: var(--brand-font-semi-bold);
}

/* Hover / focus behaviors */
.project-tile-link:is(:hover, :focus-visible),
.project-tile-link:hover,
.project-tile-link:focus-visible {
    /* applies to both <a> and <div> with .project-tile-link */
}

.project-tile-link:is(:hover, :focus-visible) .project-tile-image,
.project-tile-link:hover .project-tile-image,
.project-tile-link:focus-visible .project-tile-image {
    transform: scale(1.05);
}

.project-tile-link:is(:hover, :focus-visible) .overlay,
.project-tile-link:hover .overlay,
.project-tile-link:focus-visible .overlay {
    opacity: 1;
}

/* Keyboard focus ring for accessibility (only keep on <a>) */
a.project-tile-link:focus-visible {
    outline: 2px solid var(--brand-red, #981426);
    outline-offset: 4px;
    border-radius: var(--border-radius, 0.75rem);
}

/* --- Below-tile caption (mobile-first; hidden on lg+) --- */
.project-caption-below {
    display: block;
    padding-top: .5rem;
}
.project-caption-below .project-title {
    color: var(--brand-gray-dark, #191919);
    font-size: clamp(1rem, 3.2vw, 1.125rem);
}
.project-caption-below .project-subtitle {
    color: var(--brand-gray, #737373);
    font-size: clamp(.9rem, 2.8vw, 1rem);
}

/* < lg: hide overlay, show caption below */
@media (max-width: 991.98px) {
    .project-tile .overlay { display: none; }
    .project-caption-below { display: block; }
    .project-title {
        color: var(--brand-black, #191919);
    }
    .project-subtitle {
        color: var(--brand-gray, #666); /* Slightly darker gray for contrast */
    }
    .project-status,
	.project-delivery,
	.project-location {
		color: var(--brand-gray, #666)
	}
}

/* lg+: show overlay, hide caption below + add subtle text shadow on overlay text */
@media (min-width: 992px) {
    .project-caption-below { display: none; }
    .project-title,
    .project-subtitle {
        text-shadow: 0 1px 2px rgba(0,0,0,.35);
    }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    .project-tile-image,
    .project-tile .overlay {
        transition: none;
    }
}

/* Animate new tiles in */
.project-card {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .35s ease, transform .35s ease;
    will-change: opacity, transform;
}
.project-card.show {
    opacity: 1;
    transform: none;
}

#articles .lead {
	font-size: var(--lead-size);
	font-weight: var(--brand-font-bold);
	text-transform: none;
	line-height: 1.2em;
}
#articles .article-item {
	background-color: var(--brand-white);
}
#articles a,
#articles a:hover {
	color: var(--brand-black);
}
.article-item img {
    height: 270px; /* Adjust to your preferred uniform height */
    object-fit: cover;
    object-position: center;
    width: 100%;
    display: block;
}
.article-size-adjust h1 {
	font-size: clamp(3rem, 6.6vw, 4.2rem);
}
.article-item {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.article-tile {
	height:31rem!important; /* Forces articles to behave - not ideal */
}
.progress-marker-triangle {
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-top: 22px solid var(--brand-gray-dark); /* triangle size and color */
    border-left: 22px solid transparent;
    z-index: 2;
}
.progress-marker {
	position: absolute;
	top: 0;
	right: 0;
	background: var(--brand-gray-dark);
	color: white;
	font-size: 0.65rem;
	font-weight: 600;
	padding: 2px 6px 3px 6px;
	border-bottom-left-radius: 3px;
	z-index: 5;
	display: flex;
	align-items: flex-end;
	justify-content: flex-start;
	height: 18px;
	min-width: 80px;
	line-height: 1;
	letter-spacing: 0.06em;
}





/* ==========================================================================
PROJECT FILTERS
========================================================================== */
.project-filter-list button {
    font-size: 1rem;
    color: var(--brand-black);
    transition: color 0.2s ease;
    text-decoration: none;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 0.5rem; /* space between dot and label */
    padding: 0;
    border: 0;
    background: none;
    width: 100%;
}

.project-filter-list button:hover {
    color: var(--brand-blue-text);
    text-decoration: none;
}

.project-filter-list button.active {
    font-weight: 600;
    color: var(--brand-blue-text);
}

.project-filter-list button.active::before {
    content: "";
    flex-shrink: 0;
    width: 0.5rem;
    height: 0.5rem;
    background-color: var(--brand-blue-text);
    clip-path: polygon(0 0, 100% 50%, 0 100%);
}
















/* ==========================================================================
TESTIMONIALS
========================================================================== */
.bg-testimonial {
	background: linear-gradient(to right, #a6b4c5 50%, #83afcb 100%);
}
#testimonials img {
	max-height: 360px;
	/* border-radius: var(--border-radius);
	overflow: hidden; */
}
#testimonials .author {
	font-weight: var(--brand-font-bold);
	font-size: 1.5rem
}
#testimonials .author::before {
    content: " — "; /* long em dash with spaces */
    margin-right: 0.25em; /* adjust spacing */
    color: inherit; /* match text color */
    font-weight: inherit; /* match weight */
    font-size: inherit; /* match size */
}
#testimonials .title {
	font-size: 1.1rem
}
#testimonials .quote {
	font-size: 0.9rem;
}
.quote-icon {
	position: absolute;
	width: 60px;
	height: 60px;
	top: -31px;
	left: 10px;
	background-image: url(../img/quote.svg);
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	pointer-events: none;
}
@media (min-width: 768px) {
	.bg-testimonial {
		background: linear-gradient(to right, #dadad9 0%, #dadad9 50%, #a6b4c5 50%, #83afcb 100%);
	}
	.quote-icon {
		top: 18px;
		left: -13px;
	}
}
.gradient-wrap {
    position: relative;
    overflow: hidden; /* keeps gradient clipped to image bounds */
}

.gradient-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0,0,0,0.2) 0%,
        rgba(0,0,0,0) 20%
    );
    pointer-events: none; /* let clicks pass through */
}
/* desaturation filter */
.desat-img {
    filter: saturate(100%); /* try 60–80% for subtle effect */
}
#breadcrumbs {
    font-size: 0.8rem;
    letter-spacing: 0.04rem;
    font-weight: var(--brand-font-semi-bold);
    color: var(--brand-black);
    text-transform: uppercase;
}

#breadcrumbs a {
    color: var(--brand-gray);
    text-decoration: none;
}

#breadcrumbs a:hover {
    color: var(--brand-blue-text);
}

#breadcrumbs .breadcrumb-item + .breadcrumb-item::before {
	  content: "";
	  display: inline-block;
	  vertical-align: bottom;
	  margin: 0 0.2rem 0 0;
	  border-top: 0.4em solid transparent;
	  border-bottom: 0.4em solid transparent;
	  border-left: 0.5em solid var(--bg-gray-lighter);
	  position: relative;
	  top: 4px;
}
.breadcrumb-item.active {
	color: var(--brand-gray);
}
.breadcrumb-item {
	padding-right: 0.6rem;
}
.breadcrumb-item+.breadcrumb-item {
	padding-left: 0;
}






/* ==========================================================================
CAREERS
========================================================================== */
.meet-up-events .date {
	background-color: var(--brand-red);
	padding: 0.2rem 1rem;
	/* text-transform: uppercase; */
	color: var(--brand-white);
	letter-spacing: 0.02rem;
	font-weight: var(--brand-font-bold);
	border-top-left-radius: var(--border-radius-medium);
    border-top-right-radius: var(--border-radius-medium);
	font-size: 1.4rem;
}
.meet-up-events .location {
	padding: 0.2rem 1rem;
	text-transform: none;
	color: var(--brand-black);
	font-weight: var(--brand-font-bold);
	font-size: 2.3rem;
}
.event-link {
	padding: 0.2rem 1rem;
}
.event-link a {
	color: var(--brand-blue);
	text-transform: none;
	font-weight: var(--brand-font-bold);
	letter-spacing: 0.02rem;
	font-size: 1.2rem;
}
.event-link a:hover {
	color: var(--brand-blue-text);
}
.event {
    background: linear-gradient(to top left, var(--brand-gray-light) -10%, white 40%);
    border-bottom-left-radius: var(--border-radius-medium);
    border-bottom-right-radius: var(--border-radius-medium);
}











/* ==========================================================================
TIMELINE
========================================================================== */
.timeline-bg {
    /* SET BY CMS FRONT END */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: -1; /* Push it behind your content */
    pointer-events: none; /* Prevents interference with interactions */
    border-top: 1px solid var(--brand-black);
}
.timeline {
	position: relative;
	width: 100%; 
	margin: 0 auto;
	padding: 100px 0;
}
.timeline::before {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	width: 2px;
	background: var(--brand-red);
	transform: translateX(-50%);
}
.timeline-item {
	position: relative;
	width: 50%;
	margin-bottom: -4rem;
	opacity: 0;
}
.timeline-item.left {
	left: 0;
	padding-right: 30px;
}
.timeline-item.right {
	left: 50%;
	padding-left: 30px;
}
.timeline-content {
	background: var(--brand-white);
	padding:  1.5rem 2rem 0.75rem 2rem;
	border-radius: var(--border-radius);
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
	position: relative;
}
.timeline-content .frame {
	position: absolute;
	top: 0.76rem;
	bottom: 0.76rem;
	left: 0.76rem;
	right: 0.76rem;
	border: 1px solid var(--brand-black);
	border-radius: var(--border-radius-medium);
	pointer-events: none;
}
.timeline-content h3 {
	text-transform: none;
	font-size: 2.8rem;
	margin-bottom: 1rem;
}
.timeline-text {
	font-size: 1.2rem;
	line-height: 1.8rem;
	color: var(--brand-black);
}
@media (max-width: 768px) {
	.timeline {
		padding: 4rem 0 100px 0;
	}
	.timeline-item {
		margin-bottom: -3rem;
	}
	.timeline-item,
	.timeline-item.left,
	.timeline-item.right {
		left: 0;
		width: 100%;
		text-align: left;
	}
}













/* ==========================================================================
PROJECT DETAILS
========================================================================== */
#project-details h2 {
	text-transform: none;
	font-size: clamp(3rem, 7vw, 5rem);
}
.project-facts,
.location-facts {
    margin: 0;
    padding: 0;
    font-size: var(--p-size);
}
.project-facts .fact-row {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 1rem;
    align-items: center;
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid var(--brand-blue);
}
.location-facts .fact-row  {
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid var(--brand-blue);
}
.project-facts .align-fix,
.location-facts .align-fix {
	align-items: baseline;
}
.project-facts .fact-row:first-child,
.location-facts .fact-row:first-child {
    padding-top: 0;
}
.project-facts .fact-row:last-child,
.location-facts .fact-row:last-child {
    border-bottom: none;
}
.project-facts .fact-label,
.location-facts .fact-label {
    font-weight: var(--brand-font-bold);
}
.project-facts .fact-value,
.location-facts .fact-value {
    line-height: 1.2;
}
.project-facts .align-fix .fact-value,
.location-facts .align-fix .fact-value {
	line-height: 1.4;
}
.project-facts .fact-row a,
.location-facts .fact-row a {
	color: var(--brand-blue-text);
}












/* ==========================================================================
SERVICES
========================================================================== */
/* Right-side visual */
.visual-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 2; /* keep a nice rectangle */
    border-radius: 0.75rem;
    overflow: hidden;
    background: var(--brand-gray-dark);
}
.visual-wrap img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;             /* fill + crop */
    display: block;
}
.visual-wrap img.is-active {
    opacity: 1;
    transform: scale(1);
}
.img-rounded {
	border: 1px solid var(--brand-white);
	border-radius: 0.75rem;
    overflow: hidden;
    background: var(--brand-gray-dark);
}
.caption {
    margin-top: 0.75rem;
    color: var(--brand-gray);
    font-size: 0.95rem;
}

/* Accordion cosmetics */
.accordion-button:focus {
    box-shadow: none;
}
.accordion-button:not(.collapsed) {
    color: var(--brand-black);
    background-color: var(--bg-gray-light);
    border-bottom: 0px solid var(--brand-white);
}
.accordion-button::after {
    transition: transform 200ms ease;
}
.accordion-button[aria-expanded="true"]::after {
    transform: rotate(180deg);
}

/* Responsive: stack at lg and below */
@media (max-width: 992px) {
    .visual-wrap {
        margin-top: 1.5rem;
    }
}
.accordion-button {
	color: var(--brand-black);
	font-size:1.6rem;
	font-weight: var(--brand-font-bold);
	background-color: var(--bg-gray-lightest);
}

.accordion {
	--bs-accordion-border-color: var(--bg-gray-lightest);
	--bs-accordion-border-width: 0;
	--bs-accordion-border-radius: 0;
}
.accordion-item {
	border-bottom: 2px solid var(--brand-white);
}
.accordion-item:first-of-type>.accordion-header .accordion-button {
	border-top-left-radius: 0;
	border-top-right-radius: 0;
}
.accordion-item:last-of-type>.accordion-header .accordion-button.collapsed {
	border-bottom-right-radius: 0;
	border-bottom-left-radius: 0;
}
.accordion-body {
	background-color: var(--bg-gray-lightest);
}
.niceUL,
.accordion-body ul,
.article-subsection ul {
    font-size: 1.2rem;
    line-height: 1.8rem;
    margin-left: 2rem;
    list-style: none;   /* remove default bullets */
    padding: 0;
}
.niceUL li,
.accordion-body ul li,
.article-subsection ul li {
    position: relative;
    padding-left: 1.5rem; /* space for custom bullet */
}

.niceUL li::before, 
.accordion-body ul li::before,
.article-subsection ul li::before  {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5em; /* vertically centers with text */
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--brand-blue-text); /* brand blue */
}
.accordion-body ol,
.article-subsection ol {
    font-size: 1.2rem;
    line-height: 1.8rem;
    margin-left: 1.5rem; /* add some room for circles */
    list-style: none;    /* remove default numbers */
    counter-reset: custom-counter;
    padding: 0;
}
.accordion-body ol li,
.article-subsection ol li {
    counter-increment: custom-counter;
    margin-bottom: 0.2rem;
    position: relative;
    padding-left: 2.5rem; /* spacing between circle and text */
}
.accordion-body ol li::before,
.article-subsection ol li::before {
	content: counter(custom-counter);
	position: absolute;
	left: 0;
	top: 0;
	width: 1.6rem;
	height: 1.6rem;
	border-radius: 50%;
	background: var(--brand-blue-text);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 1rem;
}
.accordion-body .lead {
	font-size: var(--lead-size);
	font-weight: var(--brand-font-bold);
	text-transform: uppercase;
	/* color: var(--brand-blue); */
	/* font-style: italic; */
	/* border: 1px solid; */
	/* padding: 0.35rem 1rem; */
}













/* ==========================================================================
SOCIAL MEDIA SHARE
========================================================================== */
.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: var(--brand-blue);
    color: var(--brand-white);
    text-decoration: none;
    border-radius: var(--border-radius-small);
    transition: transform 0.2s ease;
}

.social-icon:hover {
    transform: scale(1.1);
    color: var(--brand-white);
}










/* ==========================================================================
INCIDENT / CRISIS
========================================================================== */
#incident-sections h3 {
	font-size: clamp(3rem, 6.4vw, 4rem);
	text-transform: none;
}
.incident-activation-timestamp {
	font-size: 1.1rem;
	color: var(--brand-black);
	letter-spacing: 0.02rem;
	font-style: italic;
}













/* ==========================================================================
BID OPPORTUNITIES iFrame API
========================================================================== */
.bid-iframe-wrapper {
    position: relative;
    width: 100%;
    height: 1800px; /* Adjust this based on expected content height */
    overflow: hidden;
    border-radius: 0.5rem;
}
.bid-iframe-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    overflow: hidden;
    background-color: #fff;
}
@media (max-width: 768px) {
    .bid-iframe-wrapper {
        height: 1200px;
    }
}
#main {
	background-color: #fff;
}









/* ==========================================================================
PRIVACY POLICY
========================================================================== */
#privacy-policy h1 {
	font-size: 3rem;
}
#privacy-policy h2 {
	font-size: 2rem;
}
#privacy-policy p {
	font-size: 1.2rem;
	line-height: 1.6rem;
}
#privacy-policy ul {
	font-size: 1.2rem;
	line-height: 1.6rem;
	margin-left: 2rem;
}
#privacy-policy ol {
	font-size: 1.2rem;
	line-height: 1.6rem;
	margin-left: 2rem;
}













/* ==========================================================================
MASONRY VISUAL FIX
========================================================================== */
.grid-item img {
	/*
    width: 100%;
    height: auto;
    display: block;
    */
}










/* ==========================================================================
MAP API
========================================================================== */
.map-style {
	border-radius: var(--border-radius);
}
















/* ==========================================================================
ERROR PAGES
========================================================================== */
.error-page .container {
    max-width: 500px;
    margin: 50px auto;
    padding: 2rem;
    background-color: var(--brand-white);
}
.error-page .logo {
    margin: 0;
    max-width:280px;
    padding-bottom: 3rem;
}
.error-page .variable {
	font-family: var(--brand-font);
    margin-top: 10px;
}
.error-page h1 {
	font-family: var(--brand-font);
	font-weight: var(--brand-font-bold);
}
.error-page p {
	padding: 1rem 0 1rem 0;
}