/* ==========================================================================
   G&H PACK — "Precision Softness" Core Styles
   ========================================================================== */

/* ================================================================
   CSS VARIABLES
   ================================================================ */
:root {
	--ease: cubic-bezier(.16, 1, .3, 1);
	--dur-fast: 0.2s;
	--dur: 0.4s;
	--dur-slow: 0.7s;
	--navy: #2C3E6B;
	--navy-dark: #1E2A4A;
	--accent: #7EB8D6;
	--paper: #F4F1ED;
	--metal: #B5C0D0;
}

/* ================================================================
   GLOBAL
   ================================================================ */

/* Kill WP root padding — our sections handle their own padding */
body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

.wp-site-blocks {
	padding-top: 0 !important;
	padding-right: 0 !important;
	padding-bottom: 0 !important;
	padding-left: 0 !important;
	gap: 0 !important;
}

.wp-site-blocks > * + * {
	margin-block-start: 0 !important;
}

/* Remove gap between blocks in the homepage */
.gh-homepage {
	margin-top: 0 !important;
	padding: 0 !important;
}

.gh-homepage > * + * {
	margin-top: 0 !important;
}

/* Remove WP default margins on wp-block-group in homepage context */
.gh-homepage .wp-block-group {
	margin-top: 0;
	margin-bottom: 0;
}

/* Inner pages — paper background */
.gh-inner-page {
	background-color: var(--paper);
	min-height: 40vh;
}

/* Override WP constrained layout max-width for inner page content */
.gh-inner-page > .wp-block-post-content,
.gh-inner-page .wp-block-post-content > *:not(.alignwide):not(.alignfull) {
	max-width: 1400px !important;
}

/* Full-width sections break out of constrained layout */
.is-layout-constrained .gh-story-split,
.is-layout-constrained .gh-values-section,
.is-layout-constrained .gh-about-timeline,
.is-layout-constrained .gh-svc-detail,
.is-layout-constrained .gh-process,
.is-layout-constrained .gh-facility-split,
.is-layout-constrained .gh-cta-section,
.is-layout-constrained .gh-contact-section {
	max-width: none !important;
	width: 100vw !important;
	margin-left: calc(-50vw + 50%) !important;
	margin-right: calc(-50vw + 50%) !important;
}

.gh-inner-page a:not(.wp-block-button__link) {
	color: var(--accent);
	text-decoration-color: rgba(126,184,214,0.3);
	text-underline-offset: 3px;
	transition: text-decoration-color 0.3s var(--ease);
}
.gh-inner-page a:not(.wp-block-button__link):hover {
	text-decoration-color: var(--accent);
}

/* ================================================================
   PAGE HERO — Featured image bg / dark fallback
   ================================================================ */
.gh-page-hero {
	position: relative;
	min-height: 460px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	overflow: hidden;
	background: var(--navy-dark);
	padding: 0 !important;
	margin: 0 !important;
	max-width: none !important;
	width: 100vw;
}

/* Featured image as background */
.gh-page-hero .gh-page-hero__bg,
.gh-page-hero .wp-block-post-featured-image,
.gh-page-hero > .wp-block-post-featured-image {
	position: absolute !important;
	inset: 0;
	z-index: 0;
	margin: 0 !important;
	padding: 0 !important;
	max-width: none !important;
	width: 100% !important;
	height: 100% !important;
}

.gh-page-hero .gh-page-hero__bg img,
.gh-page-hero .wp-block-post-featured-image img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
	display: block;
}

/* Dark overlay on top of image */
.gh-page-hero::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to top,
		rgba(30, 42, 74, 0.92) 0%,
		rgba(30, 42, 74, 0.7) 40%,
		rgba(30, 42, 74, 0.45) 100%
	);
	z-index: 1;
	pointer-events: none;
}

/* Dark-only variant (no image) */
.gh-page-hero--dark {
	background: linear-gradient(135deg, var(--navy-dark) 0%, #263557 50%, var(--navy) 100%);
}
.gh-page-hero--dark::after {
	display: none;
}

/* Center variant (404) */
.gh-page-hero--center {
	justify-content: center;
	align-items: center;
	text-align: center;
	min-height: 100vh;
}
.gh-page-hero--center .gh-page-hero__content {
	display: flex;
	flex-direction: column;
	align-items: center;
}
.gh-page-hero--center h1,
.gh-page-hero--center h2,
.gh-page-hero--center p {
	color: rgba(255,255,255,0.7);
}
.gh-page-hero--center h1 {
	color: var(--accent);
}

/* Content layer */
.gh-page-hero__content {
	position: relative;
	z-index: 2;
	padding-bottom: 48px;
}

/* Breadcrumb */
.gh-breadcrumb {
	margin-bottom: 20px;
}

.gh-breadcrumb,
.gh-breadcrumb a,
.gh-breadcrumb__link {
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.6875rem;
	letter-spacing: 0.06em;
	color: rgba(255,255,255,0.4);
	text-decoration: none;
	transition: color 0.3s var(--ease);
}

.gh-breadcrumb a:hover,
.gh-breadcrumb__link:hover {
	color: var(--accent);
}

.gh-breadcrumb__sep {
	color: rgba(255,255,255,0.2);
}

.gh-breadcrumb__current,
.gh-breadcrumb .wp-block-post-title {
	color: rgba(255,255,255,0.7) !important;
	font-family: var(--wp--preset--font-family--mono) !important;
	font-size: 0.6875rem !important;
	font-weight: 500 !important;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	margin: 0 !important;
	padding: 0 !important;
}

/* Accent line — left aligned above breadcrumb */
.gh-page-hero__accent {
	width: 48px;
	height: 3px;
	background: var(--accent);
	border-radius: 2px;
	margin-bottom: 16px;
}

/* Title */
.gh-page-hero__title,
.gh-page-hero .wp-block-post-title,
.gh-page-hero .wp-block-query-title {
	color: #fff !important;
	margin-bottom: 16px;
}

/* Description / Excerpt */
.gh-page-hero__desc,
.gh-page-hero .wp-block-post-excerpt {
	color: rgba(255,255,255,0.55) !important;
	max-width: 560px;
}

.gh-page-hero .wp-block-post-excerpt__excerpt {
	color: rgba(255,255,255,0.55);
	margin: 0;
}

.gh-page-hero .wp-block-post-excerpt__more-link {
	display: none;
}

/* Meta (date, tags) */
.gh-page-hero__meta,
.gh-page-hero .wp-block-post-date {
	color: rgba(255,255,255,0.4) !important;
}

.gh-page-hero__tags,
.gh-page-hero .wp-block-post-terms {
	color: var(--accent) !important;
}

.gh-page-hero .wp-block-post-terms a {
	color: var(--accent) !important;
	text-decoration: none;
}

/* Blog card styles */
.gh-blog-card {
	background: #fff;
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(44,62,107,0.04);
	transition: all var(--dur) var(--ease);
}
.gh-blog-card:hover {
	box-shadow: 0 8px 32px rgba(44,62,107,0.06);
	transform: translateY(-4px);
}

/* ================================================================
   PAGE HERO — Responsive
   ================================================================ */
@media (max-width: 768px) {
	.gh-page-hero {
		min-height: 360px;
	}
	.gh-page-hero__content {
		padding-bottom: 48px;
	}
	.gh-page-hero--center {
		min-height: 80vh;
	}
}

img { max-width: 100%; height: auto; }

/* Z-index layering — sections sit above the fixed hero */
.gh-legacy, .gh-services, .gh-facility,
.gh-gallery-section, .gh-trust-section,
.gh-cta-section, .gh-footer {
	position: relative;
	z-index: 10;
	background-color: var(--paper);
}

/* Dark sections override */
.gh-services { background-color: var(--navy-dark) !important; }
.gh-gallery-section { background-color: var(--navy-dark) !important; }


/* ================================================================
   UTILITIES
   ================================================================ */

/* Overline label */
.gh-overline {
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.75rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--accent);
	margin-bottom: 16px;
	display: block;
}

.gh-overline--light { color: var(--accent); }

/* Highlight text in headings */
.gh-hl {
	background: linear-gradient(135deg, var(--accent), #5FA8CC);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

mark.has-accent-color { background: transparent; color: var(--accent); }

/* Buttons */
.gh-btn {
	display: inline-flex;
	align-items: center;
	padding: 14px 32px;
	border-radius: 9999px;
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.875rem;
	font-weight: 500;
	text-decoration: none;
	transition: all var(--dur) var(--ease);
	cursor: pointer;
}

.gh-btn--primary {
	background: var(--navy);
	color: #fff;
}

.gh-btn--primary:hover {
	background: #3D5A99;
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(44,62,107,0.15);
}

.gh-btn--outline {
	background: transparent;
	color: var(--navy);
	border: 1.5px solid rgba(44,62,107,0.2);
}

.gh-btn--outline:hover {
	border-color: var(--accent);
	color: var(--accent);
}

.gh-btn--white {
	background: #fff;
	color: var(--navy);
}

.gh-btn--white:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(255,255,255,0.2);
}

.gh-btn--ghost {
	background: transparent;
	color: rgba(255,255,255,.7);
	border: 1.5px solid rgba(255,255,255,.2);
}

.gh-btn--ghost:hover {
	color: #fff;
	border-color: rgba(255,255,255,.4);
}

/* WP button styles */
.is-style-pill-primary .wp-block-button__link {
	box-shadow: 0 2px 8px rgba(44,62,107,0.12);
	transition: all var(--dur) var(--ease);
}
.is-style-pill-primary .wp-block-button__link:hover {
	box-shadow: 0 8px 24px rgba(44,62,107,0.18);
	transform: translateY(-1px);
}
.is-style-pill-outline .wp-block-button__link { transition: all var(--dur) var(--ease); }
.is-style-pill-outline .wp-block-button__link:hover {
	border-color: var(--accent) !important;
	color: var(--accent) !important;
}


/* ================================================================
   CUSTOM CURSOR
   ================================================================ */
.gh-cursor {
	position: fixed;
	width: 32px; height: 32px;
	border: 1.5px solid var(--navy);
	border-radius: 50%;
	pointer-events: none;
	z-index: 9999;
	transform: translate(-50%, -50%);
	transition: width var(--dur) var(--ease), height var(--dur) var(--ease),
	            border-color var(--dur) var(--ease), background var(--dur) var(--ease);
	mix-blend-mode: difference;
}
.gh-cursor.is-hover { width: 56px; height: 56px; }
.gh-cursor.is-drag { width: 72px; height: 72px; background: rgba(255,255,255,.06); }
.gh-cursor.is-inv { border-color: #fff; }
@media (max-width: 768px) { .gh-cursor { display: none; } }
@media (pointer: coarse) { .gh-cursor { display: none; } }


/* ================================================================
   HERO — 100vh with fixed pinned content
   ================================================================ */
.gh-hero {
	position: relative;
	height: 100vh;
	background-color: var(--metal);
	overflow: hidden;
	z-index: 1;
}

/* Floating pastel particles */
.gh-ptcl { position: absolute; border-radius: 50%; opacity: 0.4; }
.gh-ptcl-1 { width: 300px; height: 300px; background: var(--accent); top: 15%; left: -80px; filter: blur(100px); }
.gh-ptcl-2 { width: 200px; height: 200px; background: #D4EAF5; bottom: 20%; right: -40px; filter: blur(80px); }
.gh-ptcl-3 { width: 150px; height: 150px; background: #E8C8A0; top: 50%; left: 60%; filter: blur(70px); }
@media (max-width: 768px) { .gh-ptcl { display: none; } }

/* Pinned content (desktop — fixed position, fades on scroll via JS) */
.gh-hero__pin {
	position: fixed;
	top: 0; left: 0; right: 0;
	height: 100vh;
	z-index: 2;
	display: flex;
	align-items: center;
	padding: 0 40px;
	pointer-events: none;
}

.gh-hero__pin * { pointer-events: auto; }

.gh-hero__pin-inner {
	max-width: 1280px;
	margin: 0 auto;
	width: 100%;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 64px;
	align-items: center;
}

.gh-hero__pin-content h1 {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 800;
	font-size: clamp(2.5rem, 5.5vw, 4.5rem);
	line-height: 1.08;
	letter-spacing: -0.035em;
	color: var(--navy);
	margin: 16px 0 20px;
}

.gh-hero__desc {
	font-size: clamp(1rem, 1.2vw, 1.1875rem);
	line-height: 1.65;
	color: #6B7B99;
	margin-bottom: 28px;
	max-width: 480px;
}

.gh-hero__buttons {
	display: flex;
	flex-direction: row;
	gap: 12px;
	flex-wrap: wrap;
	align-items: center;
}

/* 3D model container */
.gh-hero__3d {
	max-width: 480px;
	width: 100%;
	aspect-ratio: 1;
	margin: 0 auto;
	position: relative;
}

.gh-hero__3d canvas {
	width: 100% !important;
	height: 100% !important;
	border-radius: 24px;
	display: block;
}

/* Ensure the container inside the pin has real dimensions */
.gh-hero__pin .gh-hero__3d {
	min-height: 400px;
}

.gh-hero__3d-frame {
	position: absolute;
	inset: -12px;
	border-radius: 32px;
	border: 1px solid rgba(255,255,255,0.25);
	pointer-events: none;
}

/* Mobile fallback (pin is hidden, normal flow) */
.gh-hero__inner {
	visibility: hidden; /* desktop: spacing only */
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 100%;
	padding: 80px 40px;
	text-align: center;
}

.gh-hero__inner h1 {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 800;
	font-size: clamp(2rem, 5vw, 3.5rem);
	line-height: 1.08;
	letter-spacing: -0.03em;
	color: var(--navy);
	margin: 16px 0 20px;
}

.gh-hero__inner .gh-hero__desc {
	max-width: 560px;
}

/* Scroll indicator — absolute inside hero, above capsule */
.gh-hero__scroll {
	position: absolute;
	bottom: 80px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.625rem;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--navy);
	opacity: 0.5;
	z-index: 5;
}

.gh-hero__scroll-line {
	width: 1px;
	height: 48px;
	background: rgba(44,62,107,0.2);
	position: relative;
	overflow: hidden;
}

.gh-hero__scroll-line::after {
	content: '';
	position: absolute;
	top: -100%;
	left: 0;
	width: 100%;
	height: 100%;
	background: var(--navy);
	animation: scrollPulse 2s ease infinite;
}

@keyframes scrollPulse {
	0% { top: -100%; }
	50% { top: 100%; }
	100% { top: 100%; }
}

/* Mobile: show inner, hide pin */
@media (max-width: 768px) {
	.gh-hero__pin { display: none; }
	.gh-hero__inner { visibility: visible; }
	.gh-hero { height: auto; min-height: 100vh; }
	.gh-hero__scroll { bottom: 24px; }
}


/* ================================================================
   THE LEGACY — Timeline horizontal scroll + Stats
   ================================================================ */
.gh-legacy {
	padding: 140px 40px;
}

.gh-legacy__inner {
	max-width: 1280px;
	margin: 0 auto;
}

.gh-legacy__head {
	margin-bottom: 64px;
}

.gh-legacy__head h2 {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 800;
	font-size: clamp(2rem, 4vw, 3.25rem);
	line-height: 1.08;
	letter-spacing: -0.03em;
	color: var(--navy);
	margin-bottom: 16px;
}

.gh-legacy__head p {
	font-size: 1.1875rem;
	line-height: 1.65;
	color: #6B7B99;
	max-width: 600px;
}

/* Timeline track */
.gh-timeline__track {
	display: flex;
	gap: 24px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding: 8px 0 24px;
	-ms-overflow-style: none;
	scrollbar-width: none;
}
.gh-timeline__track::-webkit-scrollbar { display: none; }

.gh-timeline__card {
	min-width: 340px;
	max-width: 340px;
	flex-shrink: 0;
	scroll-snap-align: start;
	padding: 40px 32px;
	background: #fff;
	border-radius: 20px;
	border: 1px solid rgba(44,62,107,0.06);
	transition: all var(--dur) var(--ease);
}

.gh-timeline__card:hover {
	transform: translateY(-6px);
	box-shadow: 0 12px 40px rgba(44,62,107,0.06);
	border-color: rgba(126,184,214,0.3);
}

.gh-timeline__year {
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--accent);
	letter-spacing: 0.08em;
	margin-bottom: 20px;
}

.gh-timeline__card h3 {
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--navy);
	margin-bottom: 12px;
}

.gh-timeline__card p {
	font-size: 0.9375rem;
	line-height: 1.65;
	color: #6B7B99;
}

/* Timeline controls */
.gh-timeline__controls {
	display: flex;
	align-items: center;
	gap: 20px;
	margin-top: 32px;
}

.gh-timeline__arrows { display: flex; gap: 8px; }

.gh-timeline__arrow {
	width: 44px; height: 44px;
	border-radius: 50%;
	border: 1.5px solid rgba(44,62,107,0.15);
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all var(--dur) var(--ease);
	color: var(--navy);
}
.gh-timeline__arrow:hover:not(:disabled) {
	border-color: var(--accent);
	color: var(--accent);
}
.gh-timeline__arrow:disabled { opacity: 0.25; pointer-events: none; }
.gh-timeline__arrow svg { width: 18px; height: 18px; }

.gh-timeline__progress {
	flex: 1;
	height: 2px;
	background: rgba(44,62,107,0.08);
	border-radius: 2px;
	overflow: hidden;
}
.gh-timeline__progress-fill {
	height: 100%;
	width: 0%;
	background: var(--accent);
	border-radius: 2px;
	transition: width 0.15s;
}

.gh-timeline__hint {
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.6875rem;
	color: #94A3B8;
	display: flex;
	align-items: center;
	gap: 6px;
	white-space: nowrap;
}

/* Stats row */
.gh-legacy__stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 32px;
	margin-top: 80px;
	padding-top: 48px;
	border-top: 1px solid rgba(44,62,107,0.08);
	max-width: 1280px;
	margin-left: auto;
	margin-right: auto;
}

.gh-stat__num {
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(2.5rem, 4vw, 3.5rem);
	font-weight: 800;
	color: var(--navy);
	line-height: 1;
}

.gh-stat__unit {
	font-size: 0.5em;
	font-weight: 600;
	color: var(--accent);
	vertical-align: super;
	margin-left: 2px;
}

.gh-stat__label {
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.6875rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #94A3B8;
	margin-top: 8px;
}


/* ================================================================
   THE LABORATORY — Services (dark section)
   ================================================================ */
.gh-services {
	padding: 140px 40px;
	color: #fff;
}

.gh-services__inner {
	max-width: 1280px;
	margin: 0 auto;
}

.gh-services__head {
	margin-bottom: 64px;
}

.gh-services__head h2 {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 800;
	font-size: clamp(2rem, 4vw, 3.25rem);
	line-height: 1.08;
	letter-spacing: -0.03em;
	color: #fff;
}

/* Service items */
.gh-svc-list { border-top: 1px solid rgba(255,255,255,0.08); }

.gh-svc-item {
	display: grid;
	grid-template-columns: 60px 1fr auto 44px;
	gap: 24px;
	align-items: center;
	padding: 28px 0;
	border-bottom: 1px solid rgba(255,255,255,0.08);
	text-decoration: none;
	color: #fff;
	transition: all var(--dur) var(--ease);
}

.gh-svc-item:hover {
	padding-left: 16px;
}

.gh-svc-num {
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.8125rem;
	font-weight: 600;
	color: rgba(255,255,255,0.25);
}

.gh-svc-info h3 {
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.5rem;
	font-weight: 700;
	margin-bottom: 6px;
	transition: color var(--dur) var(--ease);
}
.gh-svc-item:hover .gh-svc-info h3 { color: var(--accent); }

.gh-svc-info p {
	font-size: 0.9375rem;
	line-height: 1.55;
	color: rgba(255,255,255,0.45);
}

.gh-svc-tech { display: flex; gap: 8px; }

.gh-svc-tag {
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.625rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	padding: 5px 12px;
	border-radius: 9999px;
	background: rgba(255,255,255,0.06);
	color: rgba(255,255,255,0.5);
	white-space: nowrap;
}

.gh-svc-arrow {
	width: 36px; height: 36px;
	border-radius: 50%;
	border: 1px solid rgba(255,255,255,0.1);
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(255,255,255,0.3);
	transition: all var(--dur) var(--ease);
}
.gh-svc-item:hover .gh-svc-arrow {
	background: var(--accent);
	border-color: var(--accent);
	color: #fff;
	transform: translateX(4px);
}


/* ================================================================
   THE COMPOUND — Facility (split layout)
   ================================================================ */
.gh-facility {
	padding: 140px 40px;
}

.gh-facility__inner {
	max-width: 1280px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 80px;
	align-items: center;
}

/* Visual placeholder */
.gh-facility__visual {
	aspect-ratio: 4 / 3;
	border-radius: 24px;
	background: var(--wp--preset--color--gray-100, #EBE8E4);
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	overflow: hidden;
}

.gh-facility__visual > span {
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.75rem;
	color: #94A3B8;
}

/* Technical overlay tags */
.gh-facility__tag {
	position: absolute;
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.625rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--navy);
	background: rgba(255,255,255,0.85);
	backdrop-filter: blur(8px);
	padding: 6px 14px;
	border-radius: 6px;
	display: flex;
	align-items: center;
	gap: 6px;
}
.gh-facility__tag::before {
	content: '';
	width: 6px; height: 6px;
	border-radius: 50%;
	background: var(--accent);
}
.gh-facility__tag.t1 { top: 20%; left: 10%; }
.gh-facility__tag.t2 { bottom: 30%; right: 10%; }
.gh-facility__tag.t3 { bottom: 15%; left: 20%; }

/* Content */
.gh-facility__content h2 {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 800;
	font-size: clamp(2rem, 3.5vw, 3rem);
	line-height: 1.08;
	letter-spacing: -0.03em;
	color: var(--navy);
	margin: 12px 0 16px;
}

.gh-facility__content > p {
	font-size: 1.0625rem;
	line-height: 1.65;
	color: #6B7B99;
	margin-bottom: 40px;
}

/* Spec cards grid */
.gh-specs-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
}

.gh-spec-card {
	padding: 28px 24px;
	background: #fff;
	border-radius: 16px;
	border: 1px solid rgba(44,62,107,0.06);
	transition: all var(--dur) var(--ease);
}
.gh-spec-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 32px rgba(44,62,107,0.05);
}

.gh-spec-card__val {
	font-family: var(--wp--preset--font-family--display);
	font-size: 2rem;
	font-weight: 800;
	color: var(--navy);
	line-height: 1;
}

.gh-spec-card__unit {
	font-size: 0.5em;
	font-weight: 600;
	color: var(--accent);
	margin-left: 2px;
}

.gh-spec-card__label {
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.6875rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #94A3B8;
	margin-top: 8px;
}


/* ================================================================
   GALLERY — "Our Work" (rendered via [gh_gallery] shortcode)
   ================================================================ */
.gh-gallery__head {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	margin-bottom: 48px;
}

.gh-gallery__title {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 800;
	font-size: clamp(2rem, 4vw, 3.25rem);
	line-height: 1.08;
	letter-spacing: -0.03em;
	color: #fff;
	margin: 12px 0 0;
}

.gh-gallery__controls {
	display: flex;
	align-items: center;
	gap: 16px;
}

.gh-gallery__count {
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.8125rem;
	color: rgba(255,255,255,0.4);
	min-width: 60px;
}

.gh-gallery__arrow {
	width: 44px; height: 44px;
	border-radius: 50%;
	border: 1.5px solid rgba(255,255,255,0.15);
	background: transparent;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: rgba(255,255,255,0.6);
	transition: all var(--dur) var(--ease);
}
.gh-gallery__arrow:hover:not(:disabled) {
	border-color: var(--accent);
	color: var(--accent);
}
.gh-gallery__arrow:disabled { opacity: 0.25; pointer-events: none; }
.gh-gallery__arrow svg { width: 18px; height: 18px; }

/* Gallery track */
.gh-gallery__track {
	display: flex;
	gap: 24px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding-bottom: 8px;
	-ms-overflow-style: none;
	scrollbar-width: none;
	cursor: grab;
}
.gh-gallery__track::-webkit-scrollbar { display: none; }
.gh-gallery__track:active { cursor: grabbing; }

/* Individual gallery item */
.gh-gallery__item {
	min-width: 320px;
	max-width: 320px;
	flex-shrink: 0;
	scroll-snap-align: start;
	border-radius: 16px;
	overflow: hidden;
	position: relative;
	aspect-ratio: 3 / 4;
	background: rgba(255,255,255,0.04);
	transition: transform var(--dur) var(--ease);
}
.gh-gallery__item:hover { transform: translateY(-6px); }

.gh-gallery__img {
	width: 100%; height: 100%;
	object-fit: cover;
	display: block;
}

.gh-gallery__img--placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255,255,255,0.04);
	color: rgba(255,255,255,0.2);
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.75rem;
}

/* Technology tag */
.gh-gallery__tag {
	position: absolute;
	top: 16px; left: 16px;
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.625rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 5px 12px;
	border-radius: 9999px;
	background: rgba(255,255,255,0.1);
	backdrop-filter: blur(8px);
	color: rgba(255,255,255,0.7);
}

/* Info overlay (slides up on hover) */
.gh-gallery__info {
	position: absolute;
	bottom: 0; left: 0; right: 0;
	padding: 24px 20px;
	background: linear-gradient(to top, rgba(30,42,74,0.95) 0%, transparent 100%);
	transform: translateY(100%);
	transition: transform var(--dur) var(--ease);
}
.gh-gallery__item:hover .gh-gallery__info { transform: translateY(0); }

.gh-gallery__info h4 {
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.125rem;
	font-weight: 700;
	color: #fff;
	margin-bottom: 4px;
}

.gh-gallery__info p {
	font-size: 0.8125rem;
	line-height: 1.5;
	color: rgba(255,255,255,0.55);
	margin-bottom: 8px;
}

.gh-gallery__client {
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.625rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--accent);
}


/* ================================================================
   TRUST BAR
   ================================================================ */
.gh-trust-section {
	background-color: var(--paper) !important;
	padding: 100px 48px;
	border-top: 1px solid var(--gray-100, #EBE8E4);
	position: relative;
	z-index: 10;
}

.gh-trust__inner {
	max-width: 1280px;
	margin: 0 auto;
	text-align: center;
}

.gh-trust__head {
	margin-bottom: 56px;
}

.gh-trust__head .gh-overline {
	display: block;
	text-align: center;
	margin-bottom: 16px;
}

.gh-trust__title {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 800;
	font-size: clamp(2rem, 4vw, 3rem);
	line-height: 1.08;
	letter-spacing: -0.03em;
	color: var(--navy);
	margin: 0;
}

.gh-trust__logos {
	display: flex;
	justify-content: center;
}

/* Logos row — from shortcode output */
.gh-trust-logos {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 48px;
	flex-wrap: wrap;
}

/* Also target when logos are direct children of trust section (no wrapper) */
.gh-trust-section .gh-trust-logos {
	max-width: 1280px;
	margin: 0 auto;
	justify-content: center;
	padding: 0 48px;
}

.gh-trust-logo {
	flex-shrink: 0;
	transition: transform 0.3s var(--ease);
}

.gh-trust-logo:hover {
	transform: scale(1.05);
}

.gh-trust-logo img {
	max-height: 40px;
	width: auto;
	object-fit: contain;
	filter: grayscale(100%);
	opacity: 0.35;
	transition: all 0.4s var(--ease);
}

.gh-trust-logo:hover img {
	filter: grayscale(0%);
	opacity: 0.8;
}

.gh-trust-logo__text {
	font-family: var(--wp--preset--font-family--display);
	font-size: 1rem;
	font-weight: 600;
	color: var(--navy);
	opacity: 0.25;
	transition: opacity 0.4s var(--ease);
}

.gh-trust-logo:hover .gh-trust-logo__text {
	opacity: 0.6;
}

@media (max-width: 768px) {
	.gh-trust-section { padding: 60px 24px; }
	.gh-trust-logos { gap: 32px; }
	.gh-trust-logo img { max-height: 32px; }
}


/* ================================================================
   CTA — Light background section with glassy card
   ================================================================ */
.gh-cta-section {
	padding: 0 48px 80px;
	background-color: var(--paper) !important;
	position: relative;
	z-index: 10;
}

/* Break out of constrained layout */
.is-layout-constrained .gh-cta-section,
.wp-block-post-content .gh-cta-section {
	max-width: none !important;
	width: 100vw !important;
	margin-left: calc(-50vw + 50%) !important;
	margin-right: calc(-50vw + 50%) !important;
}

.gh-cta-card {
	max-width: 1280px;
	margin: 0 auto;
	background: rgba(255,255,255,0.55);
	backdrop-filter: blur(24px) saturate(180%);
	-webkit-backdrop-filter: blur(24px) saturate(180%);
	border: 1px solid rgba(255,255,255,0.7);
	border-radius: 32px;
	padding: 96px 80px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 48px;
	position: relative;
	overflow: hidden;
	box-shadow: 0 8px 40px rgba(44,62,107,0.04),
	            inset 0 1px 0 rgba(255,255,255,0.7);
}

.gh-cta-card::before {
	content: '';
	position: absolute;
	width: 400px; height: 400px;
	background: radial-gradient(circle, rgba(126,184,214,0.12) 0%, transparent 70%);
	top: -100px; right: -100px;
	pointer-events: none;
}

.gh-cta-card__content h2 {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 800;
	font-size: clamp(1.75rem, 3vw, 2.5rem);
	line-height: 1.12;
	color: var(--navy);
	margin-bottom: 12px;
}

.gh-cta-card__content p {
	font-size: 1.0625rem;
	line-height: 1.6;
	color: #6B7B99;
}

.gh-cta-card__buttons {
	display: flex;
	gap: 12px;
	flex-shrink: 0;
}


/* ================================================================
   PORTFOLIO PAGE
   ================================================================ */
.gh-portfolio-page {
	background: var(--paper);
}

/* ================================================================
   PORTFOLIO GALLERY
   ================================================================ */
.gh-portfolio-gallery {
	padding: 0 0 100px;
}

/* Break out of constrained layout when inside default page template */
.is-layout-constrained .gh-portfolio-gallery,
.wp-block-post-content .gh-portfolio-gallery,
.is-layout-constrained #gh-portfolio-mount,
.wp-block-post-content #gh-portfolio-mount {
	max-width: none !important;
	width: 100vw !important;
	margin-left: calc(-50vw + 50%) !important;
	margin-right: calc(-50vw + 50%) !important;
}

.gh-portfolio__inner {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 48px;
}

/* Filter tabs */
.gh-portfolio__filters {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	margin-bottom: 48px;
	justify-content: center;
}

button.gh-portfolio__filter {
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.6875rem;
	font-weight: 500;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 10px 24px;
	border-radius: 9999px;
	border: 1.5px solid rgba(44,62,107,0.12);
	background: transparent;
	color: #6B7B99;
	cursor: pointer;
	transition: all 0.3s var(--ease);
	outline: none;
	box-shadow: none;
	-webkit-appearance: none;
	appearance: none;
}

button.gh-portfolio__filter:hover {
	border-color: var(--accent);
	color: var(--accent);
}

button.gh-portfolio__filter.is-active {
	background: var(--navy);
	border-color: var(--navy);
	color: #fff;
}

/* Masonry grid */
.gh-portfolio__grid {
	column-count: 3;
	column-gap: 24px;
}

.gh-portfolio__item {
	break-inside: avoid;
	margin-bottom: 24px;
	transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.gh-portfolio__item.is-hidden {
	opacity: 0;
	transform: scale(0.92);
}

/* Card */
.gh-portfolio__card {
	position: relative;
	border-radius: 20px;
	overflow: hidden;
	cursor: pointer;
	background: #EBE8E4;
}

.gh-portfolio__card img {
	width: 100%;
	height: auto;
	display: block;
	transition: transform 0.6s var(--ease);
}

.gh-portfolio__card:hover img {
	transform: scale(1.05);
}

/* Card overlay */
.gh-portfolio__card-overlay {
	position: absolute;
	top: 0; left: 0; right: 0; bottom: 0;
	background: linear-gradient(to top, rgba(30,42,74,0.9) 0%, rgba(30,42,74,0.3) 50%, transparent 100%);
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 32px;
	opacity: 0;
	transition: opacity 0.4s var(--ease);
	z-index: 2;
}

.gh-portfolio__card:hover .gh-portfolio__card-overlay {
	opacity: 1;
}

.gh-portfolio__card-tech {
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.625rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--accent);
	margin-bottom: 8px;
}

.gh-portfolio__card-overlay h3 {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 700;
	font-size: 1.25rem;
	color: #fff;
	margin: 0 0 4px;
}

.gh-portfolio__card-client {
	font-size: 0.8125rem;
	color: rgba(255,255,255,0.5);
}

/* ================================================================
   LIGHTBOX
   ================================================================ */
.gh-lightbox {
	position: fixed;
	top: 0; left: 0; right: 0; bottom: 0;
	z-index: 99999;
	background: rgba(15,23,42,0.92);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	display: none;
	align-items: center;
	justify-content: center;
}

.gh-lightbox.is-open {
	display: flex;
}

.gh-lightbox__content {
	display: flex;
	max-width: 1200px;
	max-height: 90vh;
	width: 90%;
	gap: 48px;
	align-items: center;
}

.gh-lightbox__img {
	flex: 1;
	max-height: 80vh;
	display: flex;
	align-items: center;
	justify-content: center;
}

.gh-lightbox__img img {
	max-width: 100%;
	max-height: 80vh;
	object-fit: contain;
	border-radius: 16px;
	box-shadow: 0 24px 80px rgba(0,0,0,0.4);
}

.gh-lightbox__info {
	flex: 0 0 300px;
	color: #fff;
}

.gh-lightbox__tech {
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.625rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--accent);
	display: block;
	margin-bottom: 16px;
}

.gh-lightbox__title {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 800;
	font-size: 1.75rem;
	line-height: 1.2;
	color: #fff;
	margin: 0 0 16px;
}

.gh-lightbox__client {
	font-size: 0.875rem;
	color: rgba(255,255,255,0.5);
	margin: 0 0 12px;
}

.gh-lightbox__desc {
	font-size: 0.9375rem;
	line-height: 1.65;
	color: rgba(255,255,255,0.6);
	margin: 0;
}

.gh-lightbox__close {
	position: absolute;
	top: 24px; right: 24px;
	width: 48px; height: 48px;
	border-radius: 50%;
	background: rgba(255,255,255,0.06);
	border: 1px solid rgba(255,255,255,0.1);
	color: #fff;
	font-size: 1.5rem;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s var(--ease);
	z-index: 10;
}

.gh-lightbox__close:hover { background: rgba(255,255,255,0.12); }

.gh-lightbox__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 48px; height: 48px;
	border-radius: 50%;
	background: rgba(255,255,255,0.06);
	border: 1px solid rgba(255,255,255,0.1);
	color: #fff;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s var(--ease);
}

.gh-lightbox__nav:hover { background: rgba(255,255,255,0.12); }
.gh-lightbox__nav svg { width: 20px; height: 20px; }
.gh-lightbox__prev { left: 24px; }
.gh-lightbox__next { right: 24px; }

@media (max-width: 1024px) {
	.gh-portfolio__grid { column-count: 2; }
	.gh-lightbox__content { flex-direction: column; gap: 24px; }
	.gh-lightbox__info { flex: none; text-align: center; }
}

@media (max-width: 768px) {
	.gh-portfolio__inner { padding: 0 24px; }
	.gh-portfolio__grid { column-count: 2; column-gap: 16px; }
	.gh-portfolio__item { margin-bottom: 16px; }
	.gh-portfolio__card-overlay { opacity: 1; }
	.gh-portfolio__card-overlay h3 { font-size: 1rem; }
	.gh-lightbox__nav { display: none; }
}

@media (max-width: 480px) {
	.gh-portfolio__grid { column-count: 1; }
}

   FOOTER
   ================================================================ */
.gh-footer,
.gh-footer.has-navy-dark-background-color,
.gh-footer.has-background,
footer.gh-footer {
	position: relative;
	z-index: 10;
	background: var(--navy-dark) !important;
	background-color: var(--navy-dark) !important;
	color: var(--wp--preset--color--gray-400);
}

/* Ensure the WP template-part wrapper doesn't override footer bg */
footer.wp-block-template-part:has(.gh-footer),
footer.wp-block-template-part {
	background: var(--navy-dark, #1E2A4A) !important;
	background-color: var(--navy-dark, #1E2A4A) !important;
}

.gh-footer__grid {
	display: flex;
	gap: 40px;
}

.gh-footer__col {
	flex-shrink: 0;
}

.gh-footer__col--brand {
	flex: 0 0 28%;
}

.gh-footer__col:nth-child(2),
.gh-footer__col:nth-child(3) {
	flex: 0 0 18%;
}

.gh-footer__col:nth-child(4) {
	flex: 1;
}

.gh-footer__wrap {
	max-width: 1280px;
	margin: 0 auto;
	padding: 80px 40px 40px;
}

.gh-footer__heading {
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.6875rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--wp--preset--color--gray-300, #CBD5E1);
	margin: 0 0 20px 0;
}

.gh-footer__logo-wrap {
	margin-bottom: 20px;
}

.gh-footer__desc {
	font-size: 0.875rem;
	line-height: 1.65;
	margin: 0;
}

.gh-footer__contact {
	font-size: 0.875rem;
	line-height: 1.75;
	margin: 0;
}

.gh-footer__contact a {
	color: var(--wp--preset--color--accent, #7EB8D6) !important;
	text-decoration: none;
}

.gh-footer__hr {
	border: none;
	height: 1px;
	background: rgba(255,255,255,0.08);
	margin: 48px 0 24px;
}

.gh-footer__bottom {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px;
	align-items: center;
}

.gh-footer__copy {
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.75rem;
	color: var(--wp--preset--color--gray-500, #64748B);
	margin: 0;
}

.gh-footer__lang {
	font-size: 0.75rem;
}

.gh-footer__logo img,
.gh-footer__logo .wp-block-site-logo img,
.gh-footer__logo .custom-logo {
	filter: brightness(0) invert(1);
}

.gh-footer__links,
.gh-footer .menu,
.gh-footer ul {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}
.gh-footer__links li,
.gh-footer .menu li,
.gh-footer ul li {
	list-style: none;
	margin: 0;
	padding: 4px 0;
}
.gh-footer__links a,
.gh-footer .menu a,
.gh-footer__col a {
	color: var(--wp--preset--color--gray-400, #94A3B8) !important;
	text-decoration: none;
	font-size: 0.875rem;
	transition: color 0.3s var(--ease), padding-left 0.3s var(--ease);
}
.gh-footer__links a:hover,
.gh-footer .menu a:hover,
.gh-footer__col a:hover {
	color: var(--wp--preset--color--accent, #7EB8D6) !important;
	padding-left: 4px;
}
.gh-footer a:hover { color: var(--accent) !important; }
.gh-footer .wp-block-heading { color: var(--wp--preset--color--gray-300); }


/* ================================================================
   GLASS BLOCK STYLE
   ================================================================ */
.is-style-glass {
	background: rgba(255,255,255,0.45) !important;
	backdrop-filter: blur(24px) saturate(180%);
	-webkit-backdrop-filter: blur(24px) saturate(180%);
	border: 1px solid rgba(255,255,255,0.65);
	border-radius: 20px;
}


/* ================================================================
   SEPARATOR STYLES
   ================================================================ */
.is-style-thin-gray {
	border: none !important;
	height: 1px !important;
	background: var(--wp--preset--color--gray-100) !important;
}

.is-style-accent-line {
	border: none !important;
	height: 3px !important;
	background: linear-gradient(90deg, transparent, var(--accent), transparent) !important;
	max-width: 120px;
	margin-inline: auto;
}


/* ================================================================
   ABOUT — STORY SPLIT
   ================================================================ */
.gh-story-split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 80px;
	align-items: start;
	max-width: 1280px;
	margin: 0 auto;
	padding: 100px 48px;
}

.gh-story-split__title {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 800;
	font-size: clamp(1.75rem, 3.5vw, 2.5rem);
	line-height: 1.12;
	color: var(--navy);
	margin: 12px 0 24px;
}

.gh-story-split__text p {
	font-size: 1rem;
	line-height: 1.75;
	color: #6B7B99;
	margin-bottom: 16px;
}

.gh-story-split__image {
	aspect-ratio: 4/3;
	border-radius: 24px;
	background: var(--wp--preset--color--gray-100, #EBE8E4);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.gh-story-split__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 24px;
}

.gh-placeholder-text {
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.75rem;
	color: #94A3B8;
}

/* ================================================================
   ABOUT — VALUES GRID
   ================================================================ */
.gh-values-section {
	padding: 100px 48px;
	background: #fff;
}

.gh-values__inner {
	max-width: 1280px;
	margin: 0 auto;
}

.gh-values__title {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 800;
	font-size: clamp(1.75rem, 3.5vw, 2.5rem);
	color: var(--navy);
	margin: 12px 0 0;
}

.gh-values__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
	margin-top: 48px;
}

.gh-value-card {
	padding: 40px 32px;
	border-radius: 20px;
	background: var(--wp--preset--color--paper, #F4F1ED);
	border: 1px solid rgba(44,62,107,0.04);
	transition: all 0.4s var(--ease);
	position: relative;
	overflow: hidden;
}

.gh-value-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--accent), rgba(126,184,214,0.3));
	opacity: 0;
	transition: opacity 0.4s var(--ease);
}

.gh-value-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 12px 40px rgba(44,62,107,0.05);
}

.gh-value-card:hover::before {
	opacity: 1;
}

.gh-value-card__icon {
	width: 48px;
	height: 48px;
	border-radius: 14px;
	background: rgba(126,184,214,0.1);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.25rem;
	color: var(--wp--preset--color--accent, #7EB8D6);
	margin-bottom: 24px;
}

.gh-value-card h3 {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 700;
	font-size: 1.25rem;
	color: var(--navy);
	margin-bottom: 12px;
}

.gh-value-card p {
	font-size: 0.9375rem;
	line-height: 1.65;
	color: #6B7B99;
	margin: 0;
}

/* ================================================================
   ABOUT — TIMELINE (vertical)
   ================================================================ */
.gh-about-timeline {
	padding: 100px 48px;
	background: var(--navy-dark, #1E2A4A);
}

.gh-about-timeline__inner {
	max-width: 900px;
	margin: 0 auto;
}

.gh-about-timeline__inner .gh-overline {
	color: var(--accent);
}

.gh-about-timeline__title {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 800;
	font-size: clamp(1.75rem, 3.5vw, 2.5rem);
	color: #fff;
	margin: 12px 0 48px;
}

.gh-about-timeline__track {
	position: relative;
	padding-left: 48px;
	border-left: 2px solid rgba(126,184,214,0.15);
}

.gh-about-timeline__item {
	position: relative;
	padding-bottom: 48px;
}

.gh-about-timeline__item:last-child {
	padding-bottom: 0;
}

.gh-about-timeline__item::before {
	content: '';
	position: absolute;
	left: -55px;
	top: 6px;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--accent);
	border: 3px solid var(--navy-dark, #1E2A4A);
}

.gh-about-timeline__year {
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--accent);
	letter-spacing: 0.06em;
	margin-bottom: 8px;
}

.gh-about-timeline__content h4 {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 700;
	font-size: 1.125rem;
	color: #fff;
	margin-bottom: 8px;
}

.gh-about-timeline__content p {
	font-size: 0.9375rem;
	line-height: 1.65;
	color: rgba(255,255,255,0.45);
	margin: 0;
}

/* ================================================================
   SERVICE DETAIL CARDS (services page — 2x2 grid)
   ================================================================ */
.gh-svc-detail {
	padding: 100px 48px;
}

.gh-svc-detail__inner {
	max-width: 1280px;
	margin: 0 auto;
}

.gh-svc-detail__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 32px;
}

.gh-svc-detail-card {
	padding: 48px 40px;
	border-radius: 24px;
	background: #fff;
	border: 1px solid rgba(44,62,107,0.04);
	transition: all 0.4s var(--ease);
	position: relative;
	overflow: hidden;
}

.gh-svc-detail-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--accent), var(--navy));
	opacity: 0;
	transition: opacity 0.4s var(--ease);
}

.gh-svc-detail-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 16px 48px rgba(44,62,107,0.06);
	border-color: rgba(126,184,214,0.2);
}

.gh-svc-detail-card:hover::before {
	opacity: 1;
}

.gh-svc-detail-card:hover .gh-svc-detail-card__icon {
	box-shadow: 0 8px 24px rgba(30,42,74,0.3);
}

.gh-svc-detail-card__num {
	font-family: var(--wp--preset--font-family--mono);
	font-size: 5rem;
	font-weight: 700;
	color: rgba(44,62,107,0.03);
	position: absolute;
	top: -10px;
	right: 20px;
	line-height: 1;
}

[dir="rtl"] .gh-svc-detail-card__num {
	right: auto;
	left: 20px;
}

.gh-svc-detail-card__icon {
	width: 56px;
	height: 56px;
	border-radius: 16px;
	background: var(--navy-dark);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 28px;
	font-size: 1.5rem;
	color: var(--accent);
	transition: box-shadow 0.4s var(--ease);
}

.gh-svc-detail-card h3 {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 700;
	font-size: 1.5rem;
	color: var(--navy);
	margin-bottom: 12px;
}

.gh-svc-detail-card p {
	font-size: 0.9375rem;
	line-height: 1.65;
	color: #6B7B99;
	margin-bottom: 24px;
}

.gh-svc-detail-card__tags {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.gh-svc-detail-card__tag {
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.625rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 5px 12px;
	border-radius: 9999px;
	background: rgba(44,62,107,0.04);
	color: #94A3B8;
}

/* ================================================================
   PROCESS STEPS (services page — dark section)
   ================================================================ */
.gh-process {
	padding: 100px 48px;
	background: var(--navy-dark, #1E2A4A);
}

.gh-process__inner {
	max-width: 1280px;
	margin: 0 auto;
}

.gh-process__title {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 800;
	font-size: clamp(1.75rem, 3.5vw, 2.5rem);
	color: #fff;
	margin: 12px 0 48px;
}

.gh-process__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 32px;
}

.gh-process__step {
	position: relative;
}

.gh-process__num {
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--accent);
	margin-bottom: 16px;
	position: relative;
	display: inline-block;
}

.gh-process__num::before {
	content: '';
	display: inline-block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--accent);
	margin-right: 8px;
	vertical-align: middle;
}

[dir="rtl"] .gh-process__num::before {
	margin-right: 0;
	margin-left: 8px;
}

.gh-process__step h4 {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 700;
	font-size: 1.125rem;
	color: #fff;
	margin-bottom: 8px;
}

.gh-process__step p {
	font-size: 0.875rem;
	line-height: 1.65;
	color: rgba(255,255,255,0.45);
	margin: 0;
}

.gh-process__step::after {
	content: '→';
	position: absolute;
	top: 0;
	right: -20px;
	font-size: 1.25rem;
	color: rgba(255,255,255,0.1);
}

[dir="rtl"] .gh-process__step::after {
	content: '←';
	right: auto;
	left: -20px;
}

.gh-process__step:last-child::after {
	display: none;
}

/* ================================================================
   FACILITY SPLIT (services page)
   ================================================================ */
.gh-facility-split {
	padding: 100px 48px;
}

.gh-facility-split__inner {
	max-width: 1280px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 80px;
	align-items: center;
}

.gh-facility-split__title {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 800;
	font-size: clamp(1.75rem, 3.5vw, 2.5rem);
	line-height: 1.08;
	letter-spacing: -0.03em;
	color: var(--navy);
	margin: 12px 0 16px;
}

.gh-facility-split__desc {
	font-size: 1.0625rem;
	line-height: 1.65;
	color: #6B7B99;
	margin-bottom: 40px;
}

/* ================================================================
   CONTACT PAGE
   ================================================================ */
.gh-contact-section {
	padding: 80px 0 100px;
}

/* Break out of constrained layout */
.is-layout-constrained .gh-contact-section,
.wp-block-post-content .gh-contact-section {
	max-width: none !important;
	width: 100vw !important;
	margin-left: calc(-50vw + 50%) !important;
	margin-right: calc(-50vw + 50%) !important;
}

.gh-contact__inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 48px;
}

.gh-contact__head {
	margin-bottom: 56px;
}

.gh-contact__title {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 800;
	font-size: clamp(1.75rem, 3.5vw, 2.5rem);
	color: var(--navy);
	margin: 12px 0 0;
}

.gh-contact__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 80px;
	align-items: start;
}

/* WPForms styling override */
.gh-contact__form-wrap {
	background: #fff;
	border-radius: 24px;
	padding: 48px;
	border: 1px solid rgba(44,62,107,0.04);
	box-shadow: 0 4px 24px rgba(44,62,107,0.03);
}

.gh-contact__form-wrap .wpforms-container {
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.gh-contact__form-wrap .wpforms-form .wpforms-field {
	padding: 0 0 20px !important;
}

.gh-contact__form-wrap .wpforms-form .wpforms-field-label {
	font-family: var(--wp--preset--font-family--mono) !important;
	font-size: 0.6875rem !important;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #94A3B8 !important;
	font-weight: 500 !important;
	margin-bottom: 8px !important;
}

.gh-contact__form-wrap .wpforms-form .wpforms-field-sublabel {
	font-size: 0.6875rem !important;
	color: #94A3B8 !important;
}

.gh-contact__form-wrap .wpforms-form input[type="text"],
.gh-contact__form-wrap .wpforms-form input[type="email"],
.gh-contact__form-wrap .wpforms-form input[type="tel"],
.gh-contact__form-wrap .wpforms-form input[type="url"],
.gh-contact__form-wrap .wpforms-form input[type="number"],
.gh-contact__form-wrap .wpforms-form textarea,
.gh-contact__form-wrap .wpforms-form select {
	width: 100% !important;
	padding: 14px 20px !important;
	border-radius: 12px !important;
	border: 1.5px solid #D1D5DE !important;
	background: #fff !important;
	font-family: var(--wp--preset--font-family--body) !important;
	font-size: 0.9375rem !important;
	color: var(--navy) !important;
	transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease) !important;
	outline: none !important;
	box-shadow: none !important;
	-webkit-appearance: none !important;
}

.gh-contact__form-wrap .wpforms-form input:focus,
.gh-contact__form-wrap .wpforms-form textarea:focus,
.gh-contact__form-wrap .wpforms-form select:focus {
	border-color: var(--accent) !important;
	box-shadow: 0 0 0 4px rgba(126,184,214,0.12) !important;
}

.gh-contact__form-wrap .wpforms-form textarea {
	min-height: 140px !important;
	resize: vertical;
}

/* Submit button */
.gh-contact__form-wrap .wpforms-form .wpforms-submit-container {
	padding: 0 !important;
	margin-top: 8px !important;
}

.gh-contact__form-wrap .wpforms-form .wpforms-submit-container button,
.gh-contact__form-wrap .wpforms-form button[type="submit"],
.gh-contact__form-wrap .wpforms-form .wpforms-submit {
	width: 100% !important;
	padding: 16px 32px !important;
	border-radius: 9999px !important;
	background: var(--navy) !important;
	color: #fff !important;
	font-family: var(--wp--preset--font-family--display) !important;
	font-weight: 600 !important;
	font-size: 0.9375rem !important;
	border: none !important;
	cursor: pointer !important;
	transition: all 0.3s var(--ease) !important;
	box-shadow: none !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
}

.gh-contact__form-wrap .wpforms-form button[type="submit"]:hover,
.gh-contact__form-wrap .wpforms-form .wpforms-submit:hover {
	background: var(--accent) !important;
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(126,184,214,0.3) !important;
}

/* Confirmation message */
.gh-contact__form-wrap .wpforms-confirmation-container-full {
	background: rgba(126,184,214,0.08) !important;
	border: 1px solid rgba(126,184,214,0.2) !important;
	border-radius: 16px !important;
	padding: 32px !important;
	color: var(--navy) !important;
	font-size: 1rem !important;
}

/* Error states */
.gh-contact__form-wrap .wpforms-form .wpforms-error {
	border-color: #EF4444 !important;
}

.gh-contact__form-wrap .wpforms-form label.wpforms-error {
	color: #EF4444 !important;
	font-size: 0.75rem !important;
	margin-top: 4px !important;
}

/* Hide WPForms branding */
.gh-contact__form-wrap .wpforms-form .wpforms-recaptcha-container,
.gh-contact__form-wrap .wpforms-form .wpforms-footer-field {
	margin-top: 16px;
}

/* Info cards */
.gh-contact-card {
	padding: 32px;
	border-radius: 20px;
	background: #fff;
	border: 1px solid rgba(44,62,107,0.04);
	margin-bottom: 24px;
	transition: all 0.4s var(--ease);
	position: relative;
	overflow: hidden;
}

.gh-contact-card::before {
	content: '';
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--accent), rgba(126,184,214,0.3));
	opacity: 0;
	transition: opacity 0.4s var(--ease);
}

.gh-contact-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 32px rgba(44,62,107,0.05);
}

.gh-contact-card:hover::before {
	opacity: 1;
}

.gh-contact-card__icon {
	font-size: 1.5rem;
	margin-bottom: 16px;
}

.gh-contact-card h3 {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 700;
	font-size: 1.125rem;
	color: var(--navy);
	margin: 0 0 12px;
}

.gh-contact-card p {
	font-size: 0.9375rem;
	line-height: 1.75;
	color: #6B7B99;
	margin: 0;
}

.gh-contact-card a {
	color: var(--accent);
	text-decoration: none;
}

.gh-contact-card a:hover { text-decoration: underline; }

/* Map */
.gh-contact-map {
	aspect-ratio: 16/9;
	border-radius: 20px;
	background: #EBE8E4;
	overflow: hidden;
}

.gh-contact-map iframe {
	width: 100%;
	height: 100%;
	border: none;
}

/* Responsive */
@media (max-width: 1024px) {
	.gh-contact__grid { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
	.gh-contact-section { padding: 60px 0; }
	.gh-contact__inner { padding: 0 24px; }
	.gh-contact__form-wrap { padding: 32px 24px; }
}

/* ================================================================
   VALUE CARDS (hover effect)
   ================================================================ */
.gh-value-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 12px 40px rgba(44,62,107,0.05);
}


/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1024px) {
	.gh-facility__inner { grid-template-columns: 1fr; gap: 48px; }
	.gh-cta-section { padding: 0 24px 60px; }
	.gh-cta-card { flex-direction: column; text-align: center; padding: 64px 40px; }
	.gh-cta-card__buttons { justify-content: center; }
	.gh-svc-item { grid-template-columns: 48px 1fr auto; }
	.gh-svc-tech { display: none; }
	/* Service detail cards */
	.gh-svc-detail__grid { grid-template-columns: 1fr; }
	.gh-svc-detail-card__tags { flex-wrap: wrap; }
	/* Process steps */
	.gh-process__grid { grid-template-columns: repeat(2, 1fr); }
	.gh-process__step::after { display: none; }
	/* Facility split */
	.gh-facility-split__inner { grid-template-columns: 1fr; gap: 48px; }
	/* Contact */
	.gh-contact-grid { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
	.gh-legacy { padding: 80px 20px; }
	.gh-services { padding: 80px 20px; }
	.gh-facility { padding: 80px 20px; }
	.gh-cta-section { padding: 0 20px 40px; }

	.gh-legacy__stats { grid-template-columns: repeat(2, 1fr); gap: 24px; }

	.gh-svc-item { grid-template-columns: 1fr; gap: 12px; }
	.gh-svc-num { font-size: 0.6875rem; }
	.gh-svc-arrow { display: none; }

	.gh-gallery__item { min-width: 280px; max-width: 280px; }

	.gh-cta-card { border-radius: 20px; padding: 48px 24px; }
	.gh-cta-card__buttons { flex-direction: column; width: 100%; }
	.gh-cta-card__buttons .gh-btn { width: 100%; justify-content: center; }

	.gh-timeline__card { min-width: 280px; max-width: 280px; }
	.gh-timeline__hint { display: none; }

	.gh-trust-logos { gap: 24px; }

	.gh-footer__grid {
		flex-direction: column !important;
		gap: 32px !important;
	}
	.gh-footer__col--brand,
	.gh-footer__col {
		flex: 1 1 100% !important;
	}
	.gh-footer__wrap {
		padding: 60px 24px 32px;
	}
	.gh-footer .wp-block-columns {
		flex-direction: column !important;
		gap: var(--wp--preset--spacing--2-xl) !important;
	}
	.gh-footer .wp-block-column { flex-basis: 100% !important; }

	/* Pattern responsive */
	.gh-svc-card { padding: 32px 24px; }
	.gh-svc-card__num { font-size: 3rem; }
	.gh-process-steps { grid-template-columns: 1fr; }
	.gh-story-split { grid-template-columns: 1fr !important; gap: 40px !important; padding: 60px 24px !important; }
	.gh-values__grid { grid-template-columns: 1fr !important; }
	.gh-values-section { padding: 60px 24px; }
	.gh-about-timeline { padding: 60px 24px; }
	.gh-about-timeline__track { padding-left: 32px; }
	.gh-about-timeline__item::before { left: -39px; }
	/* Service page */
	.gh-svc-detail { padding: 60px 24px; }
	.gh-svc-detail-card { padding: 32px 24px; }
	.gh-svc-detail-card__num { font-size: 3rem; }
	.gh-process { padding: 60px 24px; }
	.gh-process__grid { grid-template-columns: 1fr; }
	.gh-facility-split { padding: 60px 24px; }
}

@media (max-width: 480px) {
	.gh-legacy__stats { grid-template-columns: 1fr 1fr; }
	.gh-specs-grid { grid-template-columns: 1fr; }
	.gh-gallery__head { flex-direction: column; align-items: flex-start; gap: 16px; }
}


/* ================================================================
   REDUCED MOTION
   ================================================================ */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}
