/* ==========================================================================
   Portfolio (case-study) CPT — single project + carousel
   Rendered by [gsu_portfolio_project] / [gsu_portfolio_carousel].
   Brand tokens: green #374836, cream #F9FBF3, sage #7F8F80, line #E1ECE3.
   Fonts: "Plus Jakarta Sans" (headings), "DM Sans" (body).
   ========================================================================== */
.gsu-pf {
	--pf-green: #374836;
	--pf-green-2: #2b3a2a;
	--pf-cream: #F9FBF3;
	--pf-sage: #7F8F80;
	--pf-line: #E1ECE3;
	font-family: "DM Sans", sans-serif;
	color: #374836;
}
.gsu-pf *, .gsu-pf-carousel * { box-sizing: border-box; }
.gsu-pf .gsu-wrap, .gsu-pf-carousel .gsu-wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.gsu-pf h1, .gsu-pf h2, .gsu-pf h3,
.gsu-pf-carousel h2, .gsu-pf-carousel h3 { font-family: "Plus Jakarta Sans", sans-serif; }

/* ---------- Placeholder (no image yet) ---------- */
.gsu-pf-ph {
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	gap: 10px;
	background:
		repeating-linear-gradient(45deg, rgba(55,72,54,.04) 0 12px, rgba(55,72,54,.07) 12px 24px),
		var(--pf-line);
	color: var(--pf-sage);
	font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
}
.gsu-pf-ph svg { opacity: .5; }

/* ---------- Hero ---------- */
.gsu-pf-hero { background: var(--pf-green); color: var(--pf-cream); padding: 60px 0 0; }
.gsu-pf-hero .gsu-eyebrow {
	font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
	color: #cfe0cb; margin: 0 0 12px;
}
.gsu-pf-hero h1 { font-size: clamp(42px, 6vw, 76px); line-height: 1.04; font-weight: 700; letter-spacing: -0.01em; text-transform: uppercase; margin: 0 0 16px; color: var(--pf-cream); }
.gsu-pf-hero .gsu-loc {
	display: inline-flex; align-items: center; gap: 8px;
	font-size: 17px; color: #dfe7dc; margin: 0 0 22px;
}
.gsu-pf-hero .gsu-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 44px; padding: 0; }
.gsu-pf-hero .gsu-chips li {
	background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.17);
	border-radius: 999px; padding: 8px 16px; font-size: 14px; font-weight: 500; color: var(--pf-cream);
}
.gsu-pf-hero .gsu-hero-media { border-radius: 18px 18px 0 0; overflow: hidden; }
.gsu-pf-hero .gsu-hero-media img,
.gsu-pf-hero .gsu-hero-media .gsu-pf-ph { width: 100%; height: 460px; object-fit: cover; display: block; }
.gsu-pf-hero .gsu-hero-media .gsu-pf-ph { background:
		repeating-linear-gradient(45deg, rgba(255,255,255,.05) 0 12px, rgba(255,255,255,.09) 12px 24px), var(--pf-green-2);
	color: #b7c6b3; }

/* ---------- Body ---------- */
.gsu-pf-body { position: relative; overflow: hidden; background: var(--pf-cream); padding: 56px 0 20px; }
.gsu-pf-body::before {
	content: ""; position: absolute; top: -10px; left: -70px; width: 230px; height: 240px;
	background: url(/wp-content/uploads/2025/04/work.png) no-repeat left top; background-size: contain;
	opacity: .85; transform: scaleX(-1); pointer-events: none; z-index: 0;
}
.gsu-pf-body .gsu-wrap { position: relative; z-index: 1; }
.gsu-pf-lead { max-width: 820px; font-size: 20px; line-height: 1.6; color: #3b463a; margin: 0 0 52px; }
.gsu-pf-section { margin: 0 0 64px; }
.gsu-pf-section > h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.08; font-weight: 700; text-transform: uppercase; letter-spacing: -0.005em; margin: 0 0 26px; color: var(--pf-green); }
.gsu-pf-prose { max-width: 820px; }
.gsu-pf-prose p { font-size: 17px; line-height: 1.75; margin: 0 0 18px; color: #3b463a; }
.gsu-pf-prose p:last-child { margin-bottom: 0; }
.gsu-pf-prose strong { color: var(--pf-green); }

/* Gallery */
.gsu-pf-gallery .gsu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gsu-pf-gallery a, .gsu-pf-gallery .gsu-gitem { display: block; border-radius: 14px; overflow: hidden; aspect-ratio: 4/3; }
.gsu-pf-gallery img, .gsu-pf-gallery .gsu-pf-ph { width: 100%; height: 100%; object-fit: cover; }

/* Result — review category chips */
.gsu-pf-reviews { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
.gsu-pf-reviews li {
	display: inline-flex; align-items: center; gap: 7px;
	background: #fff; border: 1px solid var(--pf-line); border-radius: 999px;
	padding: 8px 15px; font-size: 14px; font-weight: 600; color: var(--pf-green);
}

/* Quote */
.gsu-pf-quote { max-width: 860px; background: var(--pf-line); border-radius: 18px; padding: 40px 44px; }
.gsu-pf-quote blockquote { margin: 0; font-family: "Plus Jakarta Sans", sans-serif; font-size: 24px; line-height: 1.5; color: var(--pf-green); font-weight: 500; }
.gsu-pf-quote .gsu-cite { display: block; margin-top: 18px; font-size: 15px; font-weight: 600; color: var(--pf-sage); font-style: normal; }
.gsu-pf-quote .gsu-qmark { font-size: 46px; line-height: 1; color: #9fb59a; font-family: Georgia, serif; }

/* Services in this project — image cards (matches the site's service cards) */
.gsu-pf-services .gsu-service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.gsu-service-card {
	position: relative; display: block; min-height: 380px; border-radius: 20px; overflow: hidden;
	text-decoration: none; color: #fff; isolation: isolate;
}
.gsu-service-media, .gsu-service-media img, .gsu-service-media .gsu-pf-ph {
	position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0;
}
.gsu-service-media img { transition: transform .5s ease; }
.gsu-service-card::after {
	content: ""; position: absolute; inset: 0; z-index: 1;
	background: linear-gradient(to top, rgba(20,30,18,.94) 6%, rgba(20,30,18,.55) 42%, rgba(20,30,18,.05) 78%);
}
.gsu-service-card:hover .gsu-service-media img { transform: scale(1.05); }
.gsu-service-arrow {
	position: absolute; top: 20px; right: 20px; z-index: 3;
	width: 48px; height: 48px; border-radius: 999px; background: #fff;
	display: flex; align-items: center; justify-content: center;
	transition: background .2s ease;
}
.gsu-service-card:hover .gsu-service-arrow { background: var(--pf-line); }
.gsu-service-body {
	position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
	padding: 28px 30px 30px; display: flex; flex-direction: column; gap: 10px;
}
.gsu-service-title { font-family: "Plus Jakarta Sans", sans-serif; font-size: 28px; line-height: 1.15; font-weight: 700; color: #fff; }
.gsu-service-blurb { font-size: 15.5px; line-height: 1.55; color: #eef2ea; }

/* ---------- CTA band ---------- */
.gsu-pf-cta {
	position: relative; overflow: hidden;
	background: #2b3a2a url(/wp-content/uploads/2026/05/slide2-1024x768.jpg) center/cover no-repeat;
	color: var(--pf-cream); margin-top: 0; padding: 72px 0; text-align: center;
}
.gsu-pf-cta::before { content: ""; position: absolute; inset: 0; background: rgba(43,58,42,.82); z-index: 0; pointer-events: none; }
.gsu-pf-cta .gsu-wrap { position: relative; z-index: 1; }
.gsu-pf-cta h2 { font-size: clamp(32px, 4.5vw, 54px); line-height: 1.06; font-weight: 700; text-transform: uppercase; letter-spacing: -0.005em; margin: 0 0 18px; color: var(--pf-cream); }
.gsu-pf-cta p { font-size: 18px; line-height: 1.65; max-width: 680px; margin: 0 auto 22px; color: #dfe7dc; }
.gsu-pf-cta .gsu-area-line { font-size: 16px; color: #dfe7dc; margin: 0 auto 28px; }
.gsu-pf-cta .gsu-area-link { color: #fff !important; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 2px; }
.gsu-pf-cta .gsu-area-link:hover, .gsu-pf-cta .gsu-area-link:focus { color: #cfe8c2 !important; }
.gsu-pf-cta .gsu-btn {
	display: inline-flex; align-items: center; gap: 10px;
	background: var(--pf-cream); color: var(--pf-green);
	font-family: "Plus Jakarta Sans", sans-serif; font-weight: 600; font-size: 16px;
	padding: 15px 32px; border-radius: 999px; text-decoration: none; transition: background .2s ease;
}
.gsu-pf-cta .gsu-btn:hover, .gsu-pf-cta .gsu-btn:focus { background: #fff; color: var(--pf-green) !important; }

/* ==========================================================================
   Carousel (on the /portfolio page)
   ========================================================================== */
.gsu-pf-carousel { font-family: "DM Sans", sans-serif; padding: 8px 0 12px; }
.gsu-pf-carousel .gsu-carousel-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 22px; }
.gsu-pf-carousel .gsu-nav { display: flex; gap: 10px; }
.gsu-pf-carousel .gsu-nav button {
	width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--pf-line, #E1ECE3);
	background: #fff; color: #374836; cursor: pointer; font-size: 18px; line-height: 1;
	display: inline-flex; align-items: center; justify-content: center; transition: background .2s ease, color .2s ease;
}
.gsu-pf-carousel .gsu-nav button:hover { background: #374836; color: #F9FBF3; }
.gsu-pf-carousel .gsu-nav button .gsu-chev {
	display: inline-block; width: 9px; height: 9px;
	border: solid #374836; border-width: 0 2px 2px 0;
}
.gsu-pf-carousel .gsu-nav button[data-dir="-1"] .gsu-chev { transform: rotate(135deg); margin-left: 3px; }
.gsu-pf-carousel .gsu-nav button[data-dir="1"] .gsu-chev { transform: rotate(-45deg); margin-right: 3px; }
.gsu-pf-carousel .gsu-nav button:hover .gsu-chev { border-color: #F9FBF3; }
.gsu-pf-track {
	display: grid; grid-auto-flow: column; grid-auto-columns: minmax(320px, 360px);
	gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory;
	scroll-behavior: smooth; padding: 4px 2px 18px; margin: 0 -2px;
	scrollbar-width: thin;
}
.gsu-pf-track::-webkit-scrollbar { height: 8px; }
.gsu-pf-track::-webkit-scrollbar-thumb { background: #cdd8cc; border-radius: 999px; }
.gsu-pf-card {
	scroll-snap-align: start; display: flex; flex-direction: column;
	background: #fff; border: 1px solid #E1ECE3; border-radius: 18px; overflow: hidden;
	text-decoration: none; color: #374836; transition: transform .2s ease, box-shadow .2s ease;
}
.gsu-pf-card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(55,72,54,.16); }
.gsu-pf-card .gsu-card-media { aspect-ratio: 16/11; }
.gsu-pf-card .gsu-card-media img, .gsu-pf-card .gsu-card-media .gsu-pf-ph { width: 100%; height: 100%; object-fit: cover; }
.gsu-pf-card .gsu-card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.gsu-pf-card .gsu-card-loc { font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--pf-sage, #7F8F80); }
.gsu-pf-card h3 { font-size: 20px; line-height: 1.25; font-weight: 700; margin: 0; color: #374836; }
.gsu-pf-card .gsu-card-sub { font-size: 15px; line-height: 1.5; color: #556054; margin: 0; }
.gsu-pf-card .gsu-card-more { margin-top: 6px; font-weight: 600; font-size: 15px; color: #374836; display: inline-flex; align-items: center; gap: 7px; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
	.gsu-pf-hero { padding: 44px 0 0; }
	.gsu-pf-hero h1 { font-size: 36px; }
	.gsu-pf-hero .gsu-hero-media img, .gsu-pf-hero .gsu-hero-media .gsu-pf-ph { height: 280px; }
	.gsu-pf-body { padding: 40px 0 10px; }
	.gsu-pf-lead { font-size: 18px; }
	.gsu-pf-section > h2 { font-size: 26px; }
	.gsu-pf-gallery .gsu-grid { grid-template-columns: repeat(2, 1fr); }
	.gsu-pf-services .gsu-service-grid { grid-template-columns: 1fr; }
	.gsu-service-card { min-height: 320px; }
	.gsu-pf-quote blockquote { font-size: 20px; }
	.gsu-pf-body::before { width: 150px; height: 160px; left: -50px; opacity: .6; }
}

/* ---------- Gallery lightbox above the sticky nav/header ---------- */
.mfp-bg { z-index: 2147483646 !important; }
.mfp-wrap, .mfp-container, .mfp-preloader { z-index: 2147483647 !important; }
