/**
 * Ginstata Modern - Bouygues inspired corporate style
 */

/* Metrophobic (Google Fonts) */
@font-face {
	font-family: "Metrophobic";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url(https://fonts.gstatic.com/s/metrophobic/v24/sJoA3LZUhMSAPV_u0qwiAQ-B5X_nP1EKD5g.woff2) format("woff2");
	unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
	font-family: "Metrophobic";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url(https://fonts.gstatic.com/s/metrophobic/v24/sJoA3LZUhMSAPV_u0qwiAQ-A5X_nP1EKD5g.woff2) format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "Metrophobic";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url(https://fonts.gstatic.com/s/metrophobic/v24/sJoA3LZUhMSAPV_u0qwiAQ-O5X_nP1EK.woff2) format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
	--bg: #f3f6f9;
	--surface: #ffffff;
	--surface-soft: #f8fafc;
	--text: #24384a;
	--muted: #61758a;
	--line: rgba(36, 56, 74, 0.14);
	--brand: #f4bf1c;
	--brand-deep: #c78f00;
	--nav-cream: #fff8dc;
	--nav-cream-rgb: 255, 248, 220;
	--dark: #26384a;

	--font-display: "Metrophobic", system-ui, sans-serif;
	--font-body: "Metrophobic", system-ui, sans-serif;

	--xs: 0.5rem;
	--sm: 1rem;
	--md: 1.5rem;
	--lg: 2.5rem;
	--xl: 4rem;

	--section-gutter-x: clamp(2rem, 6vw, 5rem);

	--radius: 12px;
	--radius-lg: 18px;

	--shadow-sm: 0 6px 18px rgba(28, 47, 65, 0.06);
	--shadow-md: 0 16px 38px rgba(28, 47, 65, 0.1);

	--header-h: 84px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 1.04rem;
	line-height: 1.62;
	color: var(--text);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
}

a {
	color: inherit;
	text-underline-offset: 0.22em;
}

a:hover {
	text-decoration: none;
}

img {
	max-width: 100%;
	display: block;
	height: auto;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

/* Header */
.site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	min-height: var(--header-h);
	background: #fff;
	border-bottom: 1px solid var(--line);
}

body.admin-bar .site-header {
	top: 32px;
}

@media screen and (max-width: 782px) {
	body.admin-bar .site-header {
		top: 46px;
	}
}

@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}

/* Full-viewport services panel: anchor flush to section top (inner padding clears the fixed header). */
#section-services {
	scroll-margin-top: 0;
}

body.admin-bar #section-services {
	scroll-margin-top: 0;
}

.site-header.is-scrolled {
	box-shadow: 0 10px 28px rgba(29, 46, 62, 0.1);
}

.site-header__inner {
	position: relative;
	max-width: 1260px;
	margin: 0 auto;
	padding: var(--sm) var(--md);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--md);
}

.site-branding .custom-logo {
	max-height: 60px;
	width: auto;
}

.site-title {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 1.55rem;
	text-decoration: none;
	color: var(--text);
}

.site-tagline {
	margin: 0.2rem 0 0;
	font-size: 0.75rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--muted);
}

.site-header__end {
	margin-left: auto;
	display: flex;
	align-items: center;
	gap: var(--sm) var(--md);
}

.menu-toggle {
	display: none;
	border: 1px solid var(--line);
	background: #fff;
	color: var(--text);
	padding: 0.55rem 0.8rem;
	border-radius: 8px;
}

.menu-toggle__bar {
	display: block;
	width: 20px;
	height: 2px;
	background: var(--text);
	border-radius: 2px;
	margin-bottom: 4px;
}

.menu-toggle__bar:last-child {
	margin-bottom: 0;
}

.menu-toggle__label {
	font-size: 0.68rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.primary-nav {
	display: flex;
	align-items: center;
	gap: var(--sm) var(--md);
}

.primary-nav__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	gap: 0.25rem;
}

.primary-nav__list a {
	display: inline-flex;
	padding: 0.5rem 0.78rem;
	text-decoration: none;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	border-radius: 999px;
	color: var(--text);
}

.primary-nav__list a:hover,
.primary-nav__list a:focus-visible {
	background: var(--brand);
	color: #1f2f3f;
}

.primary-nav__list .current-menu-item > a {
	background: transparent;
}

/* Primary nav mega-dropdowns (all parents with submenus) */
.primary-nav__list > .menu-item-ginstata-mega {
	position: static;
}

.primary-nav__list > .menu-item-ginstata-mega > .sub-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	width: 100%;
	transform: none;
	background: rgba(var(--nav-cream-rgb), 0.98);
	border: 1px solid rgba(36, 56, 74, 0.1);
	border-top: 0;
	border-radius: 0 0 12px 12px;
	box-shadow: 0 20px 48px rgba(29, 46, 62, 0.1);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.2s ease, visibility 0.2s ease;
	z-index: 999;
	min-height: 50vh;
	max-height: min(50vh, 520px);
	overflow: hidden;
}

.nav-mega-panel,
.nav-mega-panel__inner {
	width: 100%;
	min-height: inherit;
	max-height: inherit;
	background: rgba(var(--nav-cream-rgb), 0.98);
}

.nav-mega-panel__inner {
	display: grid;
	grid-template-columns: minmax(220px, 30%) 1fr;
	align-items: stretch;
	min-height: 50vh;
	max-height: min(50vh, 520px);
}

.nav-mega-panel__links {
	padding: 2rem 2.25rem;
	border-right: 1px solid rgba(36, 56, 74, 0.1);
	background: rgba(var(--nav-cream-rgb), 0.98);
}

.nav-mega-panel__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
}

.nav-mega-panel__media {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: center;
	gap: 0.85rem;
	padding: clamp(1.5rem, 2.5vw, 2.25rem);
	min-height: inherit;
	max-height: inherit;
	overflow: hidden;
	background: rgba(var(--nav-cream-rgb), 0.98);
}

.nav-mega-panel__media-frame {
	flex: 1 1 auto;
	min-height: 0;
	display: flex;
	overflow: hidden;
	background: #e8edf2;
}

.nav-mega-panel__img {
	width: 100%;
	height: 100%;
	min-height: 0;
	object-fit: cover;
	display: block;
}

.nav-mega-panel__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 0;
	background: linear-gradient(
		135deg,
		#f5e9b8 0%,
		rgba(var(--nav-cream-rgb), 1) 45%,
		#f0e2a6 100%
	);
}

.nav-mega-panel__caption {
	position: static;
	flex-shrink: 0;
	margin: 0;
	padding: 0;
	text-align: center;
	font-family: var(--font-display);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	line-height: 1.35;
	color: var(--text);
	background: none;
}

.primary-nav__list > .menu-item-ginstata-mega.is-sub-open > .sub-menu {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.primary-nav__list > .menu-item-ginstata-mega.is-sub-open > a {
	background: transparent;
	color: var(--text);
	border-radius: 0;
	box-shadow: inset 0 -3px 0 var(--brand);
}

.primary-nav__list .nav-mega-panel__list a {
	display: block;
	width: auto;
	min-width: min(280px, 100%);
	padding: 0.55rem 0;
	border-radius: 0;
	text-transform: none;
	letter-spacing: 0.01em;
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--text);
	white-space: nowrap;
}

.primary-nav__list .nav-mega-panel__list a:hover,
.primary-nav__list .nav-mega-panel__list a:focus-visible {
	background: transparent;
	color: #5f6f7f;
}

.primary-nav__list .nav-mega-panel__list .current-menu-item > a {
	background: transparent;
	color: var(--text);
}

.lang-switch {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	font-size: 0.78rem;
}

.lang-switch__sep {
	color: #96a5b4;
}

.lang-switch__link {
	text-decoration: none;
	padding: 0.25rem 0.45rem;
	border-radius: 6px;
	color: var(--muted);
}

.lang-switch__link.is-active {
	background: var(--brand);
	color: #1f2f3f;
}

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	padding: 0.72rem 1.2rem;
	border-radius: 999px;
	border: 1px solid transparent;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 0.78rem;
	font-weight: 700;
}

.btn--primary {
	background-color: var(--brand);
	color: #1f2f3f;
	box-shadow: 0 2px 10px rgba(199, 143, 0, 0.12);
	transition:
		background-color 0.3s ease,
		box-shadow 0.3s ease,
		transform 0.3s ease;
}

.btn--primary:hover,
.btn--primary:focus-visible {
	background-color: #e6b41a;
	box-shadow: 0 10px 24px rgba(199, 143, 0, 0.28);
	transform: translateY(-2px);
}

.btn--primary:active {
	background-color: #ddb018;
	box-shadow: 0 4px 12px rgba(199, 143, 0, 0.2);
	transform: translateY(0);
}

.btn--primary .btn__icon svg {
	transition: transform 0.3s ease;
}

.btn--primary:hover .btn__icon svg,
.btn--primary:focus-visible .btn__icon svg {
	transform: translateX(4px);
}

.btn--ghost {
	background: #fff;
	border-color: var(--line);
	color: var(--text);
}

.btn--lg {
	padding: 0.9rem 1.5rem;
}

.btn__icon {
	display: inline-flex;
	flex-shrink: 0;
}

.btn__icon svg {
	display: block;
}

/* Generic layout */
.site-main--front {
	padding-bottom: var(--xl);
}

.section {
	max-width: 1260px;
	margin: 0 auto;
	padding: var(--xl) var(--md);
	border: none;
}

.section__head {
	margin-bottom: var(--lg);
}

.section__head--compact {
	margin-bottom: var(--md);
}

.section__actions {
	margin: var(--lg) 0 0;
	text-align: center;
}

.section__eyebrow {
	margin: 0 0 0.45rem;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--brand-deep);
}

.section__title {
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(1.8rem, 3.5vw, 2.6rem);
	line-height: 1.16;
	letter-spacing: -0.02em;
	color: var(--text);
}

.section__title--on-dark,
.section__eyebrow--on-dark {
	color: var(--text);
}

.content-flow {
	max-width: 760px;
}

.content-flow > *:first-child {
	margin-top: 0;
}

/* Hero */
.hero {
	position: relative;
	min-height: min(84vh, 820px);
	background: #fff;
	color: var(--text);
	overflow: hidden;
}

.hero__bg {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(100deg, rgba(244, 191, 28, 0.18) 0 28%, rgba(244, 191, 28, 0) 28% 45%, rgba(244, 191, 28, 0.09) 45% 100%),
		linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
}

.hero__bg--custom-photo {
	background:
		linear-gradient(100deg, rgba(244, 191, 28, 0.24) 0 28%, rgba(244, 191, 28, 0) 28% 45%, rgba(244, 191, 28, 0.12) 45% 100%),
		var(--hero-photo-url) center / cover no-repeat;
}

.hero__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.56));
}

.hero__layout {
	position: relative;
	z-index: 1;
	max-width: 1260px;
	margin: 0 auto;
	padding: calc(var(--xl) + var(--header-h)) var(--md) var(--xl);
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: var(--lg);
	align-items: end;
}

.hero__slides {
	position: relative;
	min-height: 280px;
}

.hero-slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transform: translateY(14px);
	transition: opacity 0.45s ease, transform 0.45s ease;
	pointer-events: none;
}

.hero-slide.is-active {
	position: relative;
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}

.hero-slide__eyebrow {
	margin: 0 0 var(--xs);
	font-size: 0.72rem;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	color: #a77800;
}

.hero-slide__title {
	margin: 0 0 var(--sm);
	max-width: 14ch;
	font-family: var(--font-display);
	font-size: clamp(2rem, 5.2vw, 4.1rem);
	line-height: 1.04;
	letter-spacing: -0.03em;
	color: var(--text);
}

.hero-slide__text {
	margin: 0 0 var(--md);
	max-width: 52ch;
	color: #54687c;
}

.hero__nav {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.55rem;
}

.hero-nav-btn {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 1px solid rgba(36, 56, 74, 0.2);
	background: #fff;
	display: grid;
	place-items: center;
	padding: 0;
	cursor: pointer;
}

.hero-nav-btn__icon svg {
	color: var(--text);
}

.hero__dots {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.hero-dot {
	width: 30px;
	height: 30px;
	border: none;
	background: transparent;
	border-radius: 50%;
	display: grid;
	place-items: center;
	padding: 0;
	cursor: pointer;
}

.hero-dot__bullet {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: rgba(36, 56, 74, 0.24);
	border: 1px solid #fff;
}

.hero-dot.is-active .hero-dot__bullet {
	width: 12px;
	height: 12px;
	background: var(--brand);
	border: 0;
	box-shadow: 0 0 0 3px rgba(244, 191, 28, 0.24);
}

/* Intro CTA */
.intro-cta {
	position: relative;
	margin: -2.4rem auto 0;
	max-width: 1160px;
	padding: var(--lg);
	border-radius: var(--radius-lg);
	background: #fff;
	border: 1px solid var(--line);
	border-left: 4px solid var(--brand);
	box-shadow: var(--shadow-md);
}

.intro-cta__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--md);
}

.intro-cta__title {
	margin: 0 0 var(--xs);
	font-family: var(--font-display);
	font-size: clamp(1.35rem, 2.8vw, 1.9rem);
	color: var(--text);
}

.intro-cta__sub {
	margin: 0;
	max-width: 54ch;
	color: var(--muted);
}

.intro-cta__highlights {
	list-style: none;
	margin: 0.9rem 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
}

.intro-cta__highlights li {
	padding: 0.28rem 0.68rem;
	border-radius: 999px;
	background: #f7f9fb;
	border: 1px solid var(--line);
	font-size: 0.72rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* Panels */
.section--services,
.section--projects,
.section--partners {
	background: #fff;
	border: none;
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
}

/* Front page: services carousel (full viewport, blurred bg + horizontal slides) */
.site-main--front .section--services.services-carousel {
	position: relative;
	max-width: none;
	width: 100%;
	margin: 0;
	padding: 0;
	min-height: 100dvh;
	display: block;
	overflow: hidden;
	border: none;
	border-radius: 0;
	background: #0f1822;
	box-shadow: none;
}

.services-carousel__bg {
	position: absolute;
	inset: -12%;
	background-image: var(--services-bg-url, none);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	filter: blur(6px) saturate(1.2) brightness(0.62);
	transform: scale(1.08);
	transition: opacity 0.45s ease;
	pointer-events: none;
}

.services-carousel__scrim {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(8, 14, 22, 0.15) 0%, rgba(8, 14, 22, 0.42) 100%),
		rgba(10, 18, 28, 0.26);
	pointer-events: none;
}

.services-carousel__inner {
	position: relative;
	z-index: 1;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 100dvh;
	padding: calc(var(--header-h) + 1.5rem) 0 calc(clamp(2rem, 5vh, 3.5rem) + 4.5rem);
}

.services-carousel__head {
	position: absolute;
	z-index: 2;
	left: var(--section-gutter-x);
	top: 50%;
	transform: translateY(-50%);
	width: clamp(11rem, 20vw, 18rem);
	margin: 0;
	text-align: left;
	pointer-events: none;
	opacity: 1;
	visibility: visible;
	transition:
		opacity 0.55s cubic-bezier(0.42, 0, 0.58, 1),
		visibility 0.55s cubic-bezier(0.42, 0, 0.58, 1),
		transform 0.55s cubic-bezier(0.42, 0, 0.58, 1);
}

.services-carousel__head.is-hidden {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
	.services-carousel__head {
		transition: none;
	}
}

.services-carousel__head .section__eyebrow--on-dark {
	color: var(--brand);
}

.services-carousel__head .section__title--on-dark {
	color: #fff;
	font-size: clamp(1.65rem, 2.6vw, 2.35rem);
	line-height: 1.1;
}

.services-carousel {
	--services-content-w: min(72vw, 920px);
	--services-content-max: calc(100% - (var(--section-gutter-x) * 2));
}

/* Full-width track area so the next slide can peek; content stays control-width inside each slide */
.services-carousel__stage {
	width: 100%;
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 0;
}

.services-carousel__viewport {
	overflow: hidden;
	width: 100%;
	min-height: 0;
	outline: none;
}

.services-carousel__viewport:focus-visible {
	outline: 2px solid var(--brand);
	outline-offset: 4px;
}

.services-carousel__track {
	display: flex;
	align-items: stretch;
	gap: clamp(0.75rem, 2vw, 1.25rem);
	will-change: transform;
	transition: transform 0.55s cubic-bezier(0.42, 0, 0.58, 1);
}

.services-carousel__track::before,
.services-carousel__track::after {
	content: "";
	flex: 0 0 max(0px, calc(50vw - min(39vw, 490px)));
	min-width: 0;
	pointer-events: none;
}

.services-carousel__slide {
	flex: 0 0 min(78vw, 980px);
	box-sizing: border-box;
	padding: 0;
	min-width: 0;
	display: flex;
	justify-content: center;
}

.services-carousel__open {
	display: flex;
	justify-content: center;
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	text-align: inherit;
	color: inherit;
	font: inherit;
	-webkit-tap-highlight-color: transparent;
}

.services-carousel__open:focus-visible {
	outline: 2px solid var(--brand);
	outline-offset: 4px;
}

.services-carousel__open:hover .services-carousel__figure,
.services-carousel__open:focus-visible .services-carousel__figure {
	opacity: 1;
	transform: scale(1);
}

.services-carousel__panel {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: clamp(1rem, 2.5vh, 1.75rem);
	width: var(--services-content-w);
	max-width: var(--services-content-max);
	flex-shrink: 0;
	pointer-events: none;
}

.services-carousel__figure {
	margin: 0;
	width: 100%;
	max-width: none;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.06);
	line-height: 0;
	transition: opacity 0.4s ease, transform 0.4s ease;
}

.services-carousel__figure img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.services-carousel__slide:not(.is-active) .services-carousel__figure {
	opacity: 0.55;
	transform: scale(0.98);
}

.services-carousel__copy {
	color: #fff;
}

.services-carousel__text {
	display: grid;
	grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
	gap: clamp(1rem, 3vw, 2.5rem);
	align-items: start;
	width: 100%;
	max-width: none;
}

.services-carousel__title {
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(1.75rem, 3.8vw, 2.75rem);
	line-height: 1.08;
	letter-spacing: -0.02em;
	font-weight: 700;
	text-align: left;
}

.services-carousel__title a {
	color: inherit;
	text-decoration: none;
}

.services-carousel__title a:hover,
.services-carousel__title a:focus-visible {
	text-decoration: underline;
	text-underline-offset: 0.18em;
}

.services-carousel__excerpt {
	margin: 0;
	font-size: clamp(0.92rem, 1.35vw, 1.05rem);
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.88);
	text-align: right;
}

.services-carousel__slide:not(.is-active) .services-carousel__excerpt {
	opacity: 0;
	visibility: hidden;
}

.services-carousel__slide:not(.is-active) .services-carousel__title {
	font-size: clamp(1.1rem, 2vw, 1.5rem);
	opacity: 0.75;
}

.services-carousel__controls {
	position: absolute;
	z-index: 3;
	left: 50%;
	bottom: clamp(2rem, 5vh, 3.5rem);
	transform: translateX(-50%);
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(0.75rem, 2vw, 1.25rem);
	box-sizing: border-box;
	width: var(--services-content-w);
	max-width: var(--services-content-max);
	margin: 0;
}

.services-carousel__arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 3.25rem;
	height: 3.25rem;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--brand);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
	color: #1a2836;
	font-size: 1.35rem;
	line-height: 1;
	cursor: pointer;
}

.services-carousel__arrow:hover,
.services-carousel__arrow:focus-visible {
	background: #ffd04a;
	outline: none;
	box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35);
}

.services-carousel__progress {
	flex: 1 1 auto;
	min-width: 0;
	height: 2px;
	background: rgba(255, 255, 255, 0.28);
	border-radius: 0;
	overflow: hidden;
}

/* Service detail modal (home carousel; must be outside overflow/transform ancestors) */
.service-modal {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 100200;
	align-items: center;
	justify-content: center;
	padding: max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
	box-sizing: border-box;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}

.service-modal.is-open {
	display: flex;
}

.service-modal[hidden]:not(.is-open) {
	display: none !important;
}

.service-modal__backdrop {
	position: absolute;
	inset: 0;
	border: 0;
	padding: 0;
	margin: 0;
	background: rgba(20, 32, 44, 0.82);
	cursor: pointer;
}

.service-modal__dialog {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	flex-shrink: 0;
	width: min(96vw, 1100px);
	max-height: min(96vh, 96dvh);
	margin: auto;
	overflow: hidden;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
}

.service-modal__close {
	position: absolute;
	top: 0.65rem;
	right: 0.65rem;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 2.25rem;
	height: 2.25rem;
	margin: 0;
	padding: 0;
	border: 1px solid var(--line);
	border-radius: 50%;
	background: #fff;
	color: var(--text);
	font-size: 1.35rem;
	line-height: 1;
	cursor: pointer;
}

.service-modal__close:hover,
.service-modal__close:focus-visible {
	background: var(--surface-soft);
	outline: none;
	border-color: var(--text);
}

.service-modal__body {
	overflow: auto;
	padding: clamp(1.25rem, 3vw, 1.75rem);
	padding-top: clamp(2.5rem, 4vw, 3rem);
}

.service-modal__title {
	margin: 0 0 0.75rem;
	font-family: var(--font-display);
	font-size: clamp(1.35rem, 3vw, 1.85rem);
	line-height: 1.15;
}

.service-modal__content {
	margin: 0 0 1.25rem;
	font-size: 0.98rem;
	line-height: 1.6;
	color: var(--text);
	white-space: pre-line;
}

.service-modal__content:empty {
	display: none;
	margin: 0;
}

.service-modal__gallery-label {
	margin: 0 0 0.65rem;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--muted);
}

.service-modal__hero {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: min(48vh, 420px);
	margin: 0 0 0.85rem;
	line-height: 0;
	border-radius: 8px;
	overflow: hidden;
	background: var(--surface-soft);
}

.service-modal__hero-img {
	display: block;
	width: 100%;
	height: auto;
	max-height: min(68vh, 640px);
	object-fit: contain;
}

.service-modal__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 140px), 1fr));
	gap: 0.65rem;
	margin-top: 0.25rem;
}

.service-modal__grid-item {
	display: block;
	width: 100%;
	margin: 0;
	padding: 0;
	border: 2px solid transparent;
	border-radius: 8px;
	overflow: hidden;
	background: var(--surface-soft);
	cursor: pointer;
	aspect-ratio: 4 / 3;
}

.service-modal__grid-item.is-active {
	border-color: var(--brand);
	box-shadow: 0 0 0 1px var(--brand);
}

.service-modal__grid-item img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.service-modal__more {
	margin: 1.25rem 0 0;
}

.service-modal__more-link {
	font-weight: 700;
	color: var(--text);
}

.services-carousel__progress-fill {
	display: block;
	height: 100%;
	width: 0;
	background: #fff;
	border-radius: 0;
	transition: width 0.45s cubic-bezier(0.42, 0, 0.58, 1);
}

@media (max-width: 900px) {
	.services-carousel__head {
		position: static;
		transform: none;
		width: var(--services-content-w);
		max-width: var(--services-content-max);
		margin: 0 auto clamp(1rem, 2.5vh, 1.75rem);
		text-align: center;
	}

	.services-carousel__head.is-hidden {
		max-height: 0;
		margin-top: 0;
		margin-bottom: 0;
		overflow: hidden;
	}

	.services-carousel__head .section__title--on-dark {
		font-size: clamp(2.1rem, 4.2vw, 3.35rem);
		line-height: 1.08;
	}

	.services-carousel__slide {
		flex: 0 0 calc(100% - var(--section-gutter-x));
	}

	.services-carousel__track::before,
	.services-carousel__track::after {
		flex-basis: max(0px, calc(var(--section-gutter-x) * 0.5));
	}

	.services-carousel__text {
		grid-template-columns: 1fr;
		gap: 0.75rem;
	}

	.services-carousel__excerpt {
		text-align: left;
	}

}

/* Services */
.service-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: var(--md);
}

.service-card {
	display: block;
	position: relative;
	padding: var(--lg) var(--md);
	border: none;
	border-radius: 10px;
	background: #fff;
	text-decoration: none;
}

.service-card__shine {
	position: absolute;
	inset: -55% -60%;
	background: radial-gradient(circle at 30% 20%, rgba(244, 191, 28, 0.17), transparent 45%);
	opacity: 0;
	transition: opacity 0.25s ease;
}

.service-card:hover .service-card__shine {
	opacity: 1;
}

.service-card__title {
	position: relative;
	margin: 0 0 var(--xs);
	font-family: var(--font-display);
	font-size: 1.1rem;
	color: var(--text);
}

.service-card__excerpt {
	position: relative;
	margin: 0 0 var(--sm);
	color: var(--muted);
}

.service-card__link {
	position: relative;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--brand-deep);
}

.service-card--has-cover {
	background-color: #1a2836;
	background-image:
		linear-gradient(180deg, rgba(18, 28, 40, 0.22) 0%, rgba(18, 28, 40, 0.88) 100%),
		var(--service-cover);
	background-size: cover, cover;
	background-position: center, center;
	background-repeat: no-repeat;
	color: #fff;
}

.service-card--has-cover .service-card__title {
	color: #fff;
}

.service-card--has-cover .service-card__excerpt {
	color: rgba(255, 255, 255, 0.9);
}

.service-card--has-cover .service-card__link {
	color: var(--brand);
}

.service-card--has-cover .service-card__shine {
	background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.22), transparent 46%);
}

/* Why */
.section--why {
	max-width: none;
	padding: 0;
	border-radius: var(--radius);
	background:
		linear-gradient(112deg, rgba(244, 191, 28, 0.16) 0 36%, rgba(255, 255, 255, 0.98) 36% 100%),
		#f4f7fa;
	border: none;
}

/* Front page: why strip full viewport width (no side inset from .section) */
.site-main--front .section--why {
	max-width: none;
	width: 100%;
	margin-left: 0;
	margin-right: 0;
	padding: 0;
	border: none;
	border-radius: 0;
	box-sizing: border-box;
}

.site-main--front .section--why .why-layout {
	max-width: none;
	width: 100%;
	margin: 0;
	box-sizing: border-box;
}

.why-layout {
	max-width: min(1380px, 100%);
	margin: 0 auto;
	padding: clamp(3.25rem, 7vh, 5.5rem) var(--section-gutter-x);
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
	gap: clamp(2rem, 4vw, 3.5rem);
	align-items: start;
}

.site-main--front .section--why .why-layout__intro .section__eyebrow {
	font-size: 0.82rem;
	letter-spacing: 0.18em;
}

.site-main--front .section--why .why-layout__intro .section__title {
	font-size: clamp(2.1rem, 4.2vw, 3.35rem);
	line-height: 1.08;
}

.why-layout__lead {
	margin: 1rem 0 0;
	color: var(--muted);
	max-width: 48ch;
	font-size: clamp(1.05rem, 1.45vw, 1.22rem);
	line-height: 1.55;
}

.why-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(2rem, 3.5vw, 2.85rem) clamp(1.5rem, 2.5vw, 2.35rem);
}

.why-list__item {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1.15rem;
	padding: 0;
	background: transparent;
	border: none;
	border-radius: 0;
}

.why-list__icon {
	flex-shrink: 0;
	width: clamp(4.25rem, 5.5vw, 5.25rem);
	height: clamp(4.25rem, 5.5vw, 5.25rem);
	display: grid;
	place-items: center;
	border-radius: 50%;
	border: 2.5px solid #2f4560;
	background: transparent;
	color: #2f4560;
}

.why-list__icon svg {
	display: block;
	width: clamp(1.9rem, 2.4vw, 2.2rem);
	height: clamp(1.9rem, 2.4vw, 2.2rem);
}

.why-list__copy {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	min-width: 0;
}

.why-list__title {
	display: block;
	font-family: var(--font-display);
	font-size: clamp(0.95rem, 1.3vw, 1.15rem);
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #1e3348;
}

.why-list__text {
	display: block;
	font-size: clamp(1rem, 1.2vw, 1.1rem);
	line-height: 1.55;
	color: #4a6278;
}

/* Projects */
.project-grid {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: var(--md);
}

.project-card {
	position: relative;
	display: block;
	grid-column: span 4;
	min-height: 240px;
	border-radius: 10px;
	border: 1px solid var(--line);
	overflow: hidden;
	color: #fff;
	text-decoration: none;
}

.project-card:nth-child(1) {
	grid-column: span 8;
	grid-row: span 2;
}

.project-card__visual {
	display: block;
}

.project-card__visual--has-photo,
.site-main--projects-archive .project-card__visual--has-photo {
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.project-card__visual,
.project-card__gradient,
.project-card__gradient--overlay {
	/* position: absolute; */
	inset: 0;
}

.project-card__thumb {
	position: absolute;
	inset: 0;
	z-index: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}

/* Front page + archive: card media fills the tile */
.section--projects .project-card__visual,
.project-grid--archive .project-card__visual {
	position: relative;
	width: 100%;
	height: 100%;
	min-height: 100%;
	z-index: 0;
}

.section--projects .project-card__visual > img,
.section--projects .project-card__visual .project-card__thumb,
.section--projects .project-card__visual .wp-post-image,
.project-grid--archive .project-card__visual > img,
.project-grid--archive .project-card__visual .project-card__thumb,
.project-grid--archive .project-card__visual .wp-post-image,
.site-main--projects-archive .project-card__visual > img,
.site-main--projects-archive .project-card__visual .wp-post-image {
	position: absolute;
	inset: 0;
	z-index: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	min-height: 100%;
	object-fit: cover;
	display: block;
}

.project-card__gradient--overlay {
	z-index: 1;
}

.project-card__gradient {
	background:
		linear-gradient(180deg, rgba(18, 31, 43, 0.06) 28%, rgba(18, 31, 43, 0.76) 100%),
		linear-gradient(130deg, #f0b50b 0%, #c98f00 50%, #896400 100%);
}

.project-card__gradient--overlay {
	background: linear-gradient(180deg, rgba(18, 31, 43, 0.04) 30%, rgba(18, 31, 43, 0.62) 100%);
}

.project-card__body {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	padding: var(--md);
}

.project-card__title {
	margin: 0 0 0.2rem;
	font-family: var(--font-display);
	font-size: 1.12rem;
}

.project-card__place {
	margin: 0;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #ffe39f;
}

.project-card__excerpt {
	margin: 0.35rem 0 0;
	font-size: 0.84rem;
	color: rgba(255, 255, 255, 0.86);
}

/* Archive — sections use .section width/padding to match .site-header__inner */
.site-main--projects-archive.site-main--inner {
	max-width: none;
	margin-left: 0;
	margin-right: 0;
	padding-left: 0;
	padding-right: 0;
}

.site-main--projects-archive .section--page-intro {
	padding-top: 2rem;
	padding-bottom: 2rem;
}

/* Archive grid — separate from front-page .project-grid (12-col mosaic) */
.project-grid--archive {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--md);
}

/* Square project tiles: stack visual + copy in one grid cell (keeps aspect-ratio height) */
.project-grid--archive > .project-card,
.project-grid--archive > .project-card:nth-child(1),
.section--projects .project-grid > .project-card,
.section--projects .project-grid > .project-card:nth-child(1) {
	display: grid;
	grid-template-areas: "stack";
	grid-column: span 1;
	grid-row: span 1;
	width: 100%;
	min-width: 0;
	min-height: 0;
	aspect-ratio: 1 / 1;
	height: auto;
}

.project-grid--archive > .project-card > .project-card__visual,
.project-grid--archive > .project-card > .project-card__body,
.section--projects .project-grid > .project-card > .project-card__visual,
.section--projects .project-grid > .project-card > .project-card__body {
	grid-area: stack;
	min-width: 0;
}

.project-grid--archive > .project-card > .project-card__visual,
.section--projects .project-grid > .project-card > .project-card__visual {
	align-self: stretch;
	justify-self: stretch;
}

.section--projects .project-grid > .project-card > .project-card__body,
.project-grid--archive > .project-card > .project-card__body {
	position: relative;
	align-self: end;
	justify-self: stretch;
	width: 100%;
}

/* Front page projects: equal square tiles (not 12-col mosaic) */
.section--projects .project-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.section--projects .project-card__gradient,
.section--projects .project-card__gradient--overlay,
.project-grid--archive .project-card__gradient,
.project-grid--archive .project-card__gradient--overlay {
	position: relative;
	inset: 0;
}

/* Front page + archive: darker detail strip on card hover */
.section--projects .project-grid > .project-card > .project-card__body,
.site-main--projects-archive .project-grid--archive > .project-card > .project-card__body {
	background: linear-gradient(
		180deg,
		rgba(12, 20, 30, 0) 0%,
		rgba(12, 20, 30, 0.58) 42%,
		rgba(12, 20, 30, 0.8) 100%
	);
	transition: background 0.35s ease;
}

.section--projects .project-grid > .project-card:hover > .project-card__body,
.section--projects .project-grid > .project-card:focus-visible > .project-card__body,
.site-main--projects-archive .project-grid--archive > .project-card:hover > .project-card__body,
.site-main--projects-archive .project-grid--archive > .project-card:focus-visible > .project-card__body {
	background: linear-gradient(
		180deg,
		rgba(6, 12, 20, 0.18) 0%,
		rgba(6, 12, 20, 0.88) 36%,
		rgba(4, 10, 18, 0.98) 100%
	);
}

.section--projects .project-grid > .project-card .project-card__gradient--overlay,
.site-main--projects-archive .project-grid--archive > .project-card .project-card__gradient--overlay {
	transition: background 0.35s ease;
}

.section--projects .project-grid > .project-card:hover .project-card__gradient--overlay,
.section--projects .project-grid > .project-card:focus-visible .project-card__gradient--overlay,
.site-main--projects-archive .project-grid--archive > .project-card:hover .project-card__gradient--overlay,
.site-main--projects-archive .project-grid--archive > .project-card:focus-visible .project-card__gradient--overlay {
	background: linear-gradient(180deg, rgba(8, 14, 22, 0.1) 20%, rgba(6, 12, 20, 0.9) 100%);
}

.section--archive-projects .navigation.pagination {
	margin-top: var(--lg);
	display: flex;
	justify-content: center;
	gap: 0.5rem;
}

.section--archive-projects .navigation.pagination a,
.section--archive-projects .navigation.pagination span {
	min-width: 2.3rem;
	padding: 0.4rem 0.7rem;
	border-radius: 8px;
	border: 1px solid var(--line);
	background: #fff;
	text-decoration: none;
	font-size: 0.85rem;
	font-weight: 700;
}

.section--archive-projects .navigation.pagination .current {
	background: var(--brand);
	color: #203142;
	border-color: transparent;
}

.archive-description {
	color: var(--muted);
}

.projects-back {
	display: inline-block;
	margin-bottom: var(--sm);
	text-decoration: none;
	color: var(--brand-deep);
	font-weight: 700;
}

/* Single project — typography (all breakpoints) */
.project-single__title {
	margin: 0 0 var(--sm);
	font-family: var(--font-display);
	font-size: clamp(1.7rem, 3.4vw, 2.4rem);
	color: var(--text);
}

.project-single__meta {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 0.65rem;
	margin-bottom: var(--md);
}

.project-single__meta-row {
	padding: 0.75rem 0.9rem;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: #fff;
}

.project-single__meta-label {
	display: block;
	margin-bottom: 0.2rem;
	font-size: 0.68rem;
	text-transform: uppercase;
	letter-spacing: 0.13em;
	font-weight: 700;
	color: var(--brand-deep);
}

.project-single__meta-value {
	color: var(--text);
	font-weight: 700;
}

.project-status-pill {
	display: inline-block;
	padding: 0.2rem 0.6rem;
	border-radius: 999px;
	background: var(--brand);
	color: #203142;
	font-size: 0.78rem;
	font-weight: 800;
}

.project-single__lead {
	margin-bottom: var(--md);
	padding-bottom: var(--md);
	border-bottom: 1px solid var(--line);
	color: var(--muted);
}

.project-single__back {
	display: inline-flex;
	margin-bottom: var(--sm);
	font-weight: 700;
	text-decoration: none;
	color: var(--brand-deep);
}

.project-single__back:hover,
.project-single__back:focus-visible {
	text-decoration: underline;
	outline: none;
}

/* Language on project single: fixed when header is hidden (immersive wide). */
.project-single__lang {
	display: none;
}

@media (min-width: 921px) {
	body.ginstata-project-single-immersive .project-single__lang {
		display: inline-flex;
		align-items: center;
		gap: 0.35rem;
		position: fixed;
		top: max(12px, env(safe-area-inset-top));
		right: max(12px, env(safe-area-inset-right));
		z-index: 1500;
		margin: 0;
		padding: 0.4rem 0.55rem;
		border-radius: 10px;
		background: rgba(255, 255, 255, 0.96);
		border: 1px solid var(--line);
		box-shadow: var(--shadow-sm);
		font-size: 0.78rem;
	}

	body.ginstata-project-single-immersive.admin-bar .project-single__lang {
		top: calc(max(12px, env(safe-area-inset-top)) + var(--wp-admin--admin-bar--height, 32px));
	}

	body.ginstata-project-single-immersive .project-single__lang-icon {
		display: flex;
		align-items: center;
		color: var(--brand-deep);
		margin-right: 0.1rem;
	}

	body.ginstata-project-single-immersive .project-single__lang-icon svg {
		display: block;
	}
}

/* Project gallery: open full-size in lightbox */
.project-single__media-open {
	display: block;
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	text-align: left;
	font: inherit;
	color: inherit;
}

.project-single__media-open:focus-visible {
	outline: 2px solid var(--brand, #c9a227);
	outline-offset: 2px;
}

.project-single__media-open__inner {
	display: block;
}

.project-single__media-open + .project-single__media-open {
	margin-top: var(--sm);
}

.project-single__media-figure {
	margin: 0;
	max-height: 700px;
	overflow: hidden;
	border-radius: var(--radius-lg);
	background: #e9eef3;
	line-height: 0;
}

.project-single__media-figure img,
.project-single__media-figure .wp-post-image {
	display: block;
	width: 100%;
	height: 700px;
	max-height: 700px;
	object-fit: cover;
	object-position: center;
}

body.ginstata-lightbox-open {
	overflow: hidden;
}

/* Image lightbox (project single + company gallery; must be outside overflow/transform ancestors). */
.project-lightbox {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 100200;
	width: 100%;
	height: 100%;
	max-width: none;
	max-height: none;
	margin: 0;
	padding: max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
	box-sizing: border-box;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.project-lightbox.is-open {
	display: flex;
}

.project-lightbox__backdrop {
	position: fixed;
	inset: 0;
	z-index: 0;
	border: 0;
	padding: 0;
	margin: 0;
	width: 100%;
	height: 100%;
	background: rgba(20, 32, 44, 0.88);
	cursor: pointer;
}

.project-lightbox__dialog {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	max-width: min(100vw - 24px, 1600px);
	max-height: 100dvh;
	width: 100%;
	align-items: flex-end;
}

.project-lightbox__close {
	position: absolute;
	top: 0;
	right: 0;
	z-index: 3;
	flex-shrink: 0;
	margin: 0;
	padding: 0.4rem 0.9rem;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.94);
	color: var(--text);
	font-size: 1.4rem;
	line-height: 1;
	cursor: pointer;
	pointer-events: auto;
}

.project-lightbox__close:hover,
.project-lightbox__close:focus-visible {
	background: #fff;
	outline: none;
	box-shadow: 0 0 0 2px rgba(201, 162, 39, 0.35);
}

.project-lightbox__stage {
	flex: 1 1 auto;
	min-height: 0;
	width: 100%;
	max-width: 100%;
	max-height: min(96vh, 96dvh);
	overflow: auto;
	-webkit-overflow-scrolling: touch;
	max-height: calc(100dvh - 72px);
	width: 100%;
	background: #0d1218;
	border-radius: 10px;
	box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
	pointer-events: auto;
}

.project-lightbox__img {
	display: block;
	max-width: 100%;
	max-height: min(96vh, 96dvh);
	width: auto;
	height: auto;
	margin: 0 auto;
	vertical-align: middle;
}

/* Immersive split (wide): no header, edge-to-edge columns, each column scrolls alone
   — pattern similar to https://www.sgkaindonesia.com/property/rp-house/ */
@media (min-width: 921px) {
	/* Stabilize viewport height for nested scroll regions (flex/grid % + overflow). */
	body.ginstata-project-single-immersive {
		min-height: 100dvh;
	}

	body.ginstata-project-single-immersive .site-header {
		display: none !important;
	}

	body.ginstata-project-single-immersive .site-main--project-single {
		box-sizing: border-box;
		display: flex;
		flex-direction: column;
		align-items: stretch;
		min-height: 0;
		width: 100%;
		max-width: none;
		margin: 0;
		padding: 0;
		overflow: hidden;
		height: 100dvh;
		max-height: 100dvh;
	}

	body.ginstata-project-single-immersive.admin-bar .site-main--project-single {
		height: calc(100dvh - var(--wp-admin--admin-bar--height, 32px));
		max-height: calc(100dvh - var(--wp-admin--admin-bar--height, 32px));
	}

	body.ginstata-project-single-immersive .project-single {
		flex: 1 1 0;
		flex-basis: 0;
		min-height: 0;
		display: flex;
		flex-direction: column;
		width: 100%;
		max-width: none;
		margin: 0;
	}

	body.ginstata-project-single-immersive .project-single__layout {
		flex: 1 1 0;
		flex-basis: 0;
		min-height: 0;
		display: grid;
		grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
		grid-template-rows: minmax(0, 1fr);
		gap: 0;
		align-items: stretch;
		align-content: stretch;
	}

	/* Media column: fixed viewport height; inner scroll is normal block flow (not flex/grid). */
	body.ginstata-project-single-immersive .project-single__media-pane {
		box-sizing: border-box;
		display: block;
		min-width: 0;
		height: 100dvh;
		max-height: 100dvh;
		overflow: hidden;
	}

	body.ginstata-project-single-immersive.admin-bar .project-single__media-pane {
		height: calc(100dvh - var(--wp-admin--admin-bar--height, 32px));
		max-height: calc(100dvh - var(--wp-admin--admin-bar--height, 32px));
	}

	body.ginstata-project-single-immersive .project-single__details-pane {
		position: relative;
		z-index: 0;
		box-sizing: border-box;
		display: flex;
		flex-direction: column;
		min-height: 0;
		min-width: 0;
		height: 100dvh;
		max-height: 100dvh;
		overflow: hidden;
		overscroll-behavior: contain;
		background: #fff;
		border: none;
		border-left: 1px solid var(--line);
		border-radius: 0;
		padding: var(--md);
	}

	body.ginstata-project-single-immersive.admin-bar .project-single__details-pane {
		height: calc(100dvh - var(--wp-admin--admin-bar--height, 32px));
		max-height: calc(100dvh - var(--wp-admin--admin-bar--height, 32px));
	}

	body.ginstata-project-single-immersive .project-single__details-scroll {
		flex: 1 1 0;
		flex-basis: 0;
		min-height: 0;
		overflow-y: auto;
		overflow-x: hidden;
		overscroll-behavior: contain;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}

	body.ginstata-project-single-immersive .project-single__details-scroll::-webkit-scrollbar {
		display: none;
	}

	body.ginstata-project-single-immersive .project-single__back {
		flex-shrink: 0;
		align-self: flex-start;
		margin: 0 0 var(--sm);
		padding: 0.45rem 0.65rem;
		font-weight: 700;
		text-decoration: none;
		color: var(--brand-deep);
		border: 1px solid var(--line);
		border-radius: 8px;
		background: #f8fafc;
	}

	body.ginstata-project-single-immersive .project-single__back:hover,
	body.ginstata-project-single-immersive .project-single__back:focus-visible {
		background: #fff;
		outline: none;
		box-shadow: 0 0 0 2px rgba(201, 162, 39, 0.35);
	}

	body.ginstata-project-single-immersive .project-single__media-scroll {
		display: block;
		height: 100%;
		max-height: 100%;
		margin: 0;
		padding: 0;
		overflow-y: auto;
		overflow-x: hidden;
		-webkit-overflow-scrolling: touch;
		overscroll-behavior: contain;
		scrollbar-width: none;
	}

	body.ginstata-project-single-immersive .project-single__media-scroll:focus-visible {
		outline: 2px solid var(--brand, #c9a227);
		outline-offset: 2px;
	}

	body.ginstata-project-single-immersive .project-single__media-scroll::-webkit-scrollbar {
		display: none;
		width: 0;
		height: 0;
	}

	body.ginstata-project-single-immersive .project-single__media-figure {
		margin: 0;
		max-height: 700px;
		border-radius: 0;
		overflow: hidden;
		box-shadow: none;
		background: #e9eef3;
		line-height: 0;
	}

	body.ginstata-project-single-immersive .project-single__media-figure img,
	body.ginstata-project-single-immersive .project-single__media-figure .wp-post-image {
		width: 100%;
		height: 700px;
		max-height: 700px;
		object-fit: cover;
		object-position: center;
	}
}

/* Partners */
.partner-marquee {
	overflow: hidden;
	border-radius: 10px;
	border: none;
	background: #fff;
}

.partner-marquee__track {
	display: flex;
	gap: var(--md);
	padding: var(--md);
	width: max-content;
	animation: marquee 18s linear infinite;
}

@keyframes marquee {
	to {
		transform: translateX(-50%);
	}
}

.partner-placeholder,
.partner-logo {
	min-width: 280px;
	height: 140px;
	display: grid;
	place-items: center;
	border-radius: 8px;
	border: 1px solid var(--line);
	background: var(--surface-soft);
	color: var(--muted);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
	flex-shrink: 0;
}

.partner-logo {
	background: #fff;
	padding: 0.85rem 1.35rem;
}

.partner-logo img {
	display: block;
	max-width: 320px;
	max-height: 120px;
	width: auto;
	height: auto;
	object-fit: contain;
}

/* Footer */
.site-footer {
	background: #2f3a4b;
	color: rgba(255, 255, 255, 0.88);
}

.site-footer__main {
	max-width: 1180px;
	margin: 0 auto;
	padding: 3rem var(--md) 2.4rem;
}

.site-footer__separator {
	display: block;
	border: 0;
	height: 0;
	margin: 2.25rem 0 1.75rem;
	border-top: 1px solid rgba(255, 255, 255, 0.26);
	background: none;
}

.site-footer__top {
	margin-bottom: 0;
}

.site-footer__brand {
	min-width: 0;
}

.site-footer__logo .custom-logo-link {
	display: inline-block;
	line-height: 0;
}

.site-footer__logo--custom {
	display: flex;
	justify-content: center;
	width: 100%;
	line-height: 0;
}

.site-footer__brand:has(.site-footer__logo--custom) {
	text-align: center;
}

.site-footer__logo .custom-logo {
	max-height: 52px;
	width: auto;
	height: auto;
	display: block;
}

.site-footer__brand-img {
	max-height: 200px;
	width: auto;
	height: auto;
	display: block;
	margin-inline: auto;
}

.site-footer__name {
	font-family: var(--font-display);
	font-size: 1.15rem;
	font-weight: 800;
	color: rgba(255, 255, 255, 0.95);
}

.site-footer__tag {
	margin: 0.75rem 0 0;
	font-size: 0.82rem;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.72);
}

.site-footer__main--grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 2rem 1.5rem;
}

.site-footer__col {
	min-width: 0;
}

.site-footer__heading {
	margin: 0 0 0.9rem;
	padding-top: 0.5rem;
	border-top: 1px solid rgba(255, 255, 255, 0.23);
	font-family: var(--font-display);
	font-size: 0.75rem;
	letter-spacing: 0.11em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.9);
}

.site-footer__address {
	margin: 0;
	font-size: 0.88rem;
	line-height: 1.6;
}

.site-footer ul,
.site-footer ol,
.site-footer li,
.site-footer .menu,
.site-footer .menu-item,
.site-footer .page_item {
	list-style: none !important;
	margin: 0;
	padding: 0;
}

.site-footer li::marker,
.site-footer li::before,
.site-footer .menu-item::before,
.site-footer .menu-item::marker,
.site-footer .page_item::before,
.site-footer .page_item::marker {
	content: none !important;
	display: none !important;
}

.site-footer__list li + li,
.site-footer__project-item + .site-footer__project-item {
	margin-top: 0.25rem;
}

.site-footer__list a {
	display: inline-block;
	color: rgba(255, 255, 255, 0.88);
	font-size: 0.82rem;
	text-decoration: none !important;
}

.site-footer__list a:hover {
	color: #ffe08f;
}

.site-footer__list > .menu-item-has-children > a {
	position: relative;
	padding-right: 1.1rem;
	cursor: pointer;
}

.site-footer__list > .menu-item-has-children > a::after {
	content: "";
	position: absolute;
	right: 0;
	top: 50%;
	width: 0.45rem;
	height: 0.45rem;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: translateY(-70%) rotate(45deg);
	transition: transform 0.2s ease;
	opacity: 0.7;
}

.site-footer__list > .menu-item-has-children.is-sub-open > a::after {
	transform: translateY(-30%) rotate(-135deg);
}

.site-footer__list > .menu-item-has-children > .sub-menu {
	display: none;
	margin: 0.35rem 0 0;
	padding: 0;
}

.site-footer__list > .menu-item-has-children.is-sub-open > .sub-menu {
	display: block;
}

.site-footer__list .sub-menu a {
	font-size: 0.78rem;
}

.site-footer__projects {
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-footer__project-link {
	display: grid;
	grid-template-columns: 26px 1fr;
	gap: 0.42rem;
	align-items: start;
	text-decoration: none !important;
}

.site-footer__project-thumb {
	width: 26px;
	height: 18px;
	border-radius: 2px;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.24);
	background: rgba(255, 255, 255, 0.08);
}

.site-footer__project-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.site-footer__project-thumb-placeholder {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 18px;
	background: rgba(255, 255, 255, 0.1);
}

.site-footer__project-title {
	display: block;
	font-size: 0.75rem;
	line-height: 1.2;
	color: rgba(255, 255, 255, 0.92);
}

.site-footer__empty {
	margin: 0;
	font-size: 0.82rem;
	color: rgba(255, 255, 255, 0.74);
}

.site-footer__socket {
	padding: 0.8rem var(--md);
	text-align: center;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer__copy {
	margin: 0;
	font-size: 0.75rem;
	color: rgba(255, 255, 255, 0.72);
}

/* Inner pages */
.site-main--inner {
	max-width: 860px;
	margin: 0 auto;
	padding: calc(var(--lg) + var(--header-h)) var(--md) var(--xl);
}

.site-main--contact {
	max-width: 1100px;
}

/* Company pages — full section width like front-page .section--projects */
.site-main--company.site-main--inner {
	max-width: none;
	margin-left: 0;
	margin-right: 0;
	padding-left: 0;
	padding-right: 0;
}

.site-main--contact .section--page-intro {
	padding-top: 0;
	padding-bottom: var(--md);
}

.site-main--company .company-page {
	padding-top: clamp(3rem, 6vw, 4.8rem);
	padding-bottom: clamp(3rem, 6vw, 4.8rem);
}

.company-page__head {
	max-width: 52rem;
	margin: 0 auto clamp(2.5rem, 5vw, 4rem);
	text-align: center;
}

.company-page__eyebrow {
	margin-bottom: 0.75rem;
}

.company-page__headline {
	margin: 0 0 1.25rem;
	font-family: var(--font-display);
	font-size: clamp(1.85rem, 3.8vw, 2.75rem);
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: -0.02em;
	color: var(--text);
}

.company-page__intro {
	margin: 0 auto;
	max-width: 46rem;
	font-size: 1.05rem;
	line-height: 1.7;
	color: var(--muted);
}

.company-page__split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(2rem, 5vw, 4rem);
	align-items: center;
}

.company-page__split--no-media {
	grid-template-columns: minmax(0, 1fr);
	max-width: 46rem;
	margin-inline: auto;
}

.company-page__media {
	margin: 0;
}

.company-page__media img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
}

.company-page__media .wp-block-image,
.company-page__media figure {
	margin: 0;
}

.company-page__copy {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.company-page__subheading-box {
	/* padding: clamp(1rem, 2.5vw, 1.35rem) clamp(1.1rem, 2.8vw, 1.5rem);
	border: 1px solid #c02424; */
}

.company-page__details-headline {
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(1.35rem, 2.5vw, 2rem);
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -0.02em;
	color: var(--text);
}

.company-page__details {
	color: var(--muted);
	font-size: 0.98rem;
	line-height: 1.75;
}

.company-page__details > *:first-child {
	margin-top: 0;
}

.company-page__details p {
	margin: 0 0 1rem;
}

.company-page__details p:last-child {
	margin-bottom: 0;
}

.company-page__details strong {
	color: var(--text);
	font-weight: 700;
}

.company-page__details em {
	font-size: 0.9rem;
	font-style: italic;
	color: #6b7c8a;
}

.company-page__details h2 {
	margin: 1.75rem 0 0.65rem;
	font-family: var(--font-display);
	font-size: 1.25rem;
	font-weight: 800;
	color: var(--text);
}

.company-page__details h2:first-child {
	margin-top: 0;
}

.company-page__details h3 {
	margin: 1.5rem 0 0.65rem;
	font-family: var(--font-display);
	font-size: 1.15rem;
	font-weight: 800;
	color: var(--text);
}

.company-page__gallery {
	margin-top: clamp(2.5rem, 5vw, 4rem);
	padding-top: clamp(2rem, 4vw, 3rem);
	border-top: 1px solid var(--line);
}

.company-page__gallery-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(0.75rem, 2vw, 1.25rem);
	margin: 0;
	padding: 0;
	list-style: none;
}

.company-page__gallery-item {
	margin: 0;
}

.company-page__gallery-open {
	display: block;
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	text-align: left;
	font: inherit;
	color: inherit;
}

.company-page__gallery-open:focus-visible {
	outline: 2px solid var(--brand);
	outline-offset: 3px;
}

.company-page__gallery-figure {
	display: block;
	margin: 0;
	overflow: hidden;
	background: #e9eef3;
	line-height: 0;
}

.company-page__gallery-figure img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.company-page__gallery-open:hover .company-page__gallery-figure img,
.company-page__gallery-open:focus-visible .company-page__gallery-figure img {
	transform: scale(1.04);
}

@media (max-width: 920px) {
	.company-page__gallery-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.company-page__split,
	.company-page__split--has-media {
		grid-template-columns: minmax(0, 1fr);
	}

	.company-page__media {
		max-width: 28rem;
		margin-inline: auto;
	}
}

.contact-page {
	padding: 0;
}

.contact-page__layout {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
	gap: clamp(2rem, 5vw, 3.5rem);
	align-items: start;
}

.contact-page__subheading {
	margin: 0 0 1.25rem;
	font-family: var(--font-display);
	font-size: clamp(1.15rem, 2vw, 1.45rem);
	font-weight: 800;
	color: var(--text);
}

.contact-page__label {
	margin: 0 0 0.45rem;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--brand-deep);
}

.contact-page__text {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.55;
	color: var(--text);
}

.contact-page__text a {
	color: var(--text);
	font-weight: 700;
	text-decoration: none;
}

.contact-page__text a:hover {
	color: var(--brand-deep);
}

.contact-page__text--muted {
	color: var(--muted);
	font-size: 0.88rem;
}

.contact-page__block + .contact-page__block {
	margin-top: 1.5rem;
}

.contact-page__map {
	margin-top: 1.5rem;
	border-radius: var(--radius);
	overflow: hidden;
	min-height: 260px;
	background: var(--surface-soft);
	border: 1px solid var(--line);
}

.contact-page__map .wpgmza_map,
.contact-page__map .wpgmza_container,
.contact-page__map [id^="wpgmza_map"] {
	width: 100% !important;
	max-width: 100%;
}

.contact-page__map iframe {
	display: block;
	width: 100% !important;
	max-width: 100%;
	min-height: 260px;
	border: 0;
}

.contact-form__hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.contact-form__field {
	margin: 0 0 1rem;
}

.contact-form__field label {
	display: block;
	margin-bottom: 0.35rem;
	font-size: 0.82rem;
	font-weight: 700;
	color: var(--text);
}

.contact-form__req {
	color: var(--brand-deep);
}

.contact-form__input {
	width: 100%;
	max-width: 100%;
	padding: 0.65rem 0.75rem;
	border: 1px solid var(--line);
	border-radius: 6px;
	background: #fff;
	font: inherit;
	color: var(--text);
	box-sizing: border-box;
}

.contact-form__input:focus {
	outline: 2px solid var(--brand);
	outline-offset: 2px;
	border-color: var(--brand);
}

.contact-form__textarea {
	min-height: 8rem;
	resize: vertical;
}

.contact-form__input--captcha {
	max-width: 8rem;
}

.contact-form__actions {
	margin: 1.25rem 0 0;
}

.contact-notice {
	margin: 0 0 1rem;
	padding: 0.75rem 1rem;
	border-radius: 6px;
	font-size: 0.9rem;
}

.contact-notice--success {
	background: #e8f5e9;
	border: 1px solid #a5d6a7;
	color: #1b5e20;
}

.contact-notice--error {
	background: #fdecea;
	border: 1px solid #f5c6c0;
	color: #7f1d1d;
}

.entry-title {
	margin: 0 0 var(--sm);
	font-family: var(--font-display);
	font-size: clamp(1.7rem, 3vw, 2.3rem);
	letter-spacing: -0.02em;
	color: var(--text);
}

.entry-meta {
	margin-bottom: var(--md);
	font-size: 0.85rem;
	color: var(--muted);
}

.entry-content {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: var(--lg);
	box-shadow: var(--shadow-sm);
}

.post-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.post-list li {
	padding: var(--md) 0;
	border-bottom: 1px solid var(--line);
}

.post-list a {
	text-decoration: none;
	font-family: var(--font-display);
	font-weight: 700;
	color: var(--text);
}

/* Responsive */
@media (max-width: 1024px) {
	.project-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.project-card,
	.project-card:nth-child(1) {
		grid-column: span 1;
		grid-row: auto;
		min-height: 230px;
	}

	.project-card:nth-child(1) {
		grid-column: span 2;
	}

	.project-grid--archive {
		grid-template-columns: 1fr;
	}

	.project-grid--archive > .project-card,
	.project-grid--archive > .project-card:nth-child(1) {
		grid-column: span 1;
		grid-row: span 1;
		min-height: 0;
	}

	.section--projects .project-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}

	.section--projects .project-grid > .project-card,
	.section--projects .project-grid > .project-card:nth-child(1) {
		grid-column: span 1;
		grid-row: span 1;
		min-height: 0;
	}

	/* Front page projects: copy below image on tablet/mobile */
	.section--projects .project-grid > .project-card,
	.section--projects .project-grid > .project-card:nth-child(1) {
		display: flex;
		flex-direction: column;
		grid-template-areas: none;
		aspect-ratio: auto;
		height: auto;
		color: var(--text);
		background: #fff;
	}

	.section--projects .project-grid > .project-card > .project-card__visual,
	.section--projects .project-grid > .project-card > .project-card__body {
		grid-area: unset;
	}

	.section--projects .project-grid > .project-card > .project-card__visual {
		position: relative;
		flex: 0 0 auto;
		width: 100%;
		height: auto;
		min-height: 0;
		aspect-ratio: 4 / 3;
	}

	.section--projects .project-grid > .project-card > .project-card__body {
		position: static;
		flex: 1 1 auto;
		align-self: stretch;
		width: 100%;
		padding: var(--sm) var(--md) var(--md);
		background: #fff;
		transition: background-color 0.3s ease;
	}

	.section--projects .project-grid > .project-card:hover > .project-card__body,
	.section--projects .project-grid > .project-card:focus-visible > .project-card__body {
		background: #e8edf2;
	}

	.section--projects .project-card__visual--has-photo .project-card__gradient--overlay {
		display: none;
	}

	.section--projects .project-card__title {
		color: var(--text);
	}

	.section--projects .project-card__place {
		color: var(--brand-deep);
	}

	.section--projects .project-card__excerpt {
		color: var(--muted);
	}
}

@media (max-width: 920px) {
	.contact-page__layout {
		grid-template-columns: 1fr;
	}

	.hero__layout {
		grid-template-columns: 1fr;
		justify-items: center;
		text-align: center;
		padding-top: calc(var(--lg) + var(--header-h));
	}

	.hero__slides {
		width: 100%;
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	.hero-slide__title {
		max-width: none;
		margin-left: auto;
		margin-right: auto;
	}

	.hero__nav {
		flex-direction: row;
		justify-content: center;
		width: 100%;
	}

	.hero__dots {
		flex-direction: row;
	}

	.project-single__layout {
		display: flex;
		flex-direction: column-reverse;
		flex: none;
		height: auto;
		max-height: none;
		gap: var(--md);
	}

	/* “← All projects” — hidden on small screens (nav / footer still reach archive). */
	.project-single__back {
		display: none;
	}

	body.ginstata-project-single-immersive .site-main--project-single {
		display: flex;
		flex-direction: column;
		min-height: 0;
		max-width: 100%;
		padding: calc(var(--sm) + var(--header-h)) var(--md) var(--xl);
		height: auto;
		max-height: none;
		overflow: visible;
	}

	body.ginstata-project-single-immersive .project-single {
		max-width: 1320px;
		margin: 0 auto;
		width: 100%;
		flex: none;
	}

	.project-single {
		flex: none;
		min-height: 0;
	}

	.site-main--project-single {
		padding: calc(var(--sm) + var(--header-h)) var(--md) var(--xl);
	}

	.project-single__media-pane {
		height: auto;
		max-height: none;
	}

	.project-single__media-scroll {
		max-height: min(52vh, 520px);
	}

	.project-single__media-figure {
		max-height: min(700px, 52vh);
	}

	.project-single__media-figure img,
	.project-single__media-figure .wp-post-image {
		height: min(700px, 52vh);
		max-height: min(700px, 52vh);
	}

	body.ginstata-project-single-immersive .project-single__media-figure {
		max-height: min(700px, 52vh);
	}

	body.ginstata-project-single-immersive .project-single__media-figure img,
	body.ginstata-project-single-immersive .project-single__media-figure .wp-post-image {
		height: min(700px, 52vh);
		max-height: min(700px, 52vh);
	}

	body.ginstata-project-single-immersive .project-single__details-pane {
		height: auto;
		max-height: none;
		overflow: visible;
		display: block;
		border-radius: var(--radius-lg);
		border: 1px solid var(--line);
	}

	body.ginstata-project-single-immersive .project-single__details-scroll {
		overflow: visible;
	}

	.project-single__media-figure {
		box-shadow: var(--shadow-md);
	}

	.why-layout {
		grid-template-columns: 1fr;
	}

	.why-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.site-footer__main--grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.why-list {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 860px) {
	.menu-toggle {
		display: inline-block;
	}

	.primary-nav {
		display: none;
		position: absolute;
		top: calc(100% + 8px);
		right: var(--md);
		left: var(--md);
		background: #fff;
		border: 1px solid var(--line);
		border-radius: 10px;
		padding: 0.7rem;
		box-shadow: var(--shadow-md);
	}

	.primary-nav.is-open {
		display: flex;
		flex-direction: column;
		align-items: stretch;
	}

	.primary-nav__list {
		flex-direction: column;
		align-items: stretch;
	}

	.primary-nav .lang-switch {
		margin-top: 0.35rem;
		padding-top: 0.65rem;
		border-top: 1px solid var(--line);
		justify-content: center;
	}

	.primary-nav__list > .menu-item-ginstata-mega > .sub-menu {
		position: static;
		left: auto;
		width: 100%;
		max-width: none;
		min-height: 0;
		margin-top: 0.15rem;
		padding: 0;
		border: 0;
		border-radius: 0;
		box-shadow: none;
		background: rgba(var(--nav-cream-rgb), 0.98);
		overflow: hidden;
		opacity: 1;
		visibility: hidden;
		transform: none;
		pointer-events: none;
		transition: max-height 0.25s ease, visibility 0.25s ease;
		max-height: 0;
	}

	.primary-nav__list > .menu-item-ginstata-mega.is-sub-open > .sub-menu {
		max-height: 80vh;
		visibility: visible;
		pointer-events: auto;
	}

	.nav-mega-panel__inner {
		grid-template-columns: 1fr;
		min-height: 0;
		max-height: none;
	}

	.nav-mega-panel__links {
		border-right: 0;
		border-bottom: 1px solid rgba(36, 56, 74, 0.1);
		padding: 1rem 1.1rem;
	}

	.nav-mega-panel__media {
		padding: 1rem 1.1rem;
	}

	.nav-mega-panel__media-frame,
	.nav-mega-panel__img,
	.nav-mega-panel__placeholder {
		min-height: 10rem;
		max-height: 14rem;
	}

	.nav-mega-panel__caption {
		font-size: 0.68rem;
	}

	.primary-nav__list .nav-mega-panel__list a {
		padding-left: 0.35rem;
		font-size: 0.88rem;
	}

	.primary-nav__list > .menu-item-ginstata-mega.is-sub-open > a {
		box-shadow: none;
	}
}

@media (max-width: 680px) {
	.section {
		padding: var(--lg) var(--sm);
	}

	.intro-cta {
		margin-left: var(--sm);
		margin-right: var(--sm);
		padding: var(--md);
	}

	.project-grid--archive {
		grid-template-columns: 1fr;
	}

	.section--projects .project-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.65rem;
	}

	.project-grid--archive > .project-card,
	.project-grid--archive > .project-card:nth-child(1),
	.section--projects .project-grid > .project-card,
	.section--projects .project-grid > .project-card:nth-child(1) {
		grid-column: span 1;
		grid-row: span 1;
	}

	.section--projects .project-grid > .project-card > .project-card__body {
		padding: 0.55rem 0.6rem 0.7rem;
	}

	.section--projects .project-card__title {
		font-size: clamp(0.82rem, 3.2vw, 0.95rem);
	}

	.section--projects .project-card__place {
		font-size: 0.62rem;
		letter-spacing: 0.08em;
	}

	.project-grid {
		grid-template-columns: 1fr;
	}

	.project-card:nth-child(1) {
		grid-column: span 1;
	}

	.site-footer__main--grid {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}

	html {
		scroll-behavior: auto;
	}
}

/* =========================================================
   Direction E: Closer to Bouygues (flatter + editorial)
   ========================================================= */

:root {
	--bg: #ffffff;
	--surface: #ffffff;
	--surface-soft: #ffffff;
	--text: #243648;
	--muted: #5d7186;
	--line: rgba(36, 54, 72, 0.12);
	--brand: #f5c11a;
	--brand-deep: #b48000;
	--radius: 0px;
	--radius-lg: 0px;
	--shadow-sm: none;
	--shadow-md: none;
}

body {
	background: #fff;
	color: var(--text);
	font-size: 1rem;
}

.site-header {
	background: #fff;
	border-bottom: 1px solid #e6ecf1;
	box-shadow: none;
}

.site-header.is-scrolled {
	box-shadow: 0 8px 24px rgba(26, 42, 59, 0.06);
}

.site-header__inner {
	max-width: 1320px;
	padding-top: 0.85rem;
	padding-bottom: 0.85rem;
}

.primary-nav__list a {
	font-size: 0.75rem;
	letter-spacing: 0.1em;
	padding: 0.45rem 0.66rem;
	border-radius: 0;
}

.lang-switch__link {
	border-radius: 0;
}

.hero {
	min-height: 100vh;
}

.hero__bg {
	background: linear-gradient(180deg, #ffffff 0%, #f5f8fb 100%);
}

.hero__bg--custom-photo {
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.32)),
		var(--hero-photo-url) center / cover no-repeat;
}

.hero__bg::after {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.28));
}

.hero__layout {
	max-width: 1320px;
	min-height: 100vh;
	padding-top: calc(2.4rem + var(--header-h));
	padding-bottom: 2.4rem;
	align-content: end;
}

.hero-slide__eyebrow {
	font-size: 0.7rem;
	letter-spacing: 0.2em;
}

.hero-slide__title {
	font-size: clamp(2.2rem, 5.6vw, 5rem);
	line-height: 1;
	max-width: 12ch;
	letter-spacing: -0.03em;
}

.hero-slide__text {
	max-width: 58ch;
	font-size: 0.98rem;
}

.hero-nav-btn {
	border-radius: 50%;
	background: #fff;
}

.intro-cta {
	border-radius: 0;
	border-left: 5px solid var(--brand);
	margin-top: -2rem;
}

.intro-cta__highlights li {
	border-radius: 0;
}

.btn {
	border-radius: 0;
	font-size: 0.74rem;
}

.section {
	max-width: 1320px;
	padding-top: 4.8rem;
	padding-bottom: 4.8rem;
}

.section__head {
	margin-bottom: 2rem;
}

.section__title {
	font-size: clamp(2rem, 3.7vw, 3rem);
	line-height: 1.1;
}

.section--services,
.section--projects,
.section--partners,
.section--why {
	border-radius: 0;
	box-shadow: none;
	border: none;
	background: #fff;
}

.service-card,
.why-list__item,
.project-card,
.project-single__details-pane,
.project-single__meta-row,
.entry-content,
.partner-marquee,
.partner-placeholder {
	border-radius: 0;
	box-shadow: none;
}

.service-card__title {
	font-size: 1.02rem;
}

.service-card__excerpt {
	font-size: 0.93rem;
}

.section--why {
	background:
		linear-gradient(100deg, rgba(245, 193, 26, 0.18) 0 28%, #fff 28% 100%);
}

.site-main--front .section--why {
	background:
		linear-gradient(100deg, rgba(245, 193, 26, 0.18) 0 28%, #fff 28% 100%);
	border: none;
}

.section--projects {
	background:
		linear-gradient(100deg, rgba(245, 193, 26, 0.18) 0 28%, #fff 28% 100%);
	border: none;
	box-shadow: none;
}

/* Front page: projects strip full viewport width (same treatment as why) */
.site-main--front .section--projects {
	max-width: none;
	width: 100%;
	margin-left: 0;
	margin-right: 0;
	padding-left: var(--section-gutter-x);
	padding-right: var(--section-gutter-x);
	border: none;
	border-radius: 0;
	box-sizing: border-box;
	background:
		linear-gradient(100deg, rgba(245, 193, 26, 0.18) 0 28%, #fff 28% 100%);
	box-shadow: none;
}

.site-main--front .section--projects .section__head,
.site-main--front .section--projects .project-grid,
.site-main--front .section--projects .section__actions {
	max-width: 1320px;
	margin-left: auto;
	margin-right: auto;
}

.site-main--front .section--services.services-carousel {
	background: #0f1822;
	border: none;
}

.project-grid {
	gap: 1rem;
}

.project-card {
	border-color: #dfe7ee;
}

.project-card__gradient {
	background:
		linear-gradient(180deg, rgba(14, 25, 36, 0.05) 28%, rgba(14, 25, 36, 0.74) 100%),
		linear-gradient(130deg, #efb300 0%, #ca9000 50%, #896200 100%);
}

.section--projects .project-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
}

.site-footer {
	background: #243648;
}

.site-footer__main {
	max-width: 1320px;
	padding-top: 3.4rem;
	padding-bottom: 2.4rem;
}

.site-footer__heading {
	font-size: 0.7rem;
	letter-spacing: 0.14em;
	border-top-color: rgba(255, 255, 255, 0.26);
}

.site-footer__list a,
.site-footer__address,
.site-footer__project-title {
	font-size: 0.78rem;
}

.site-footer__project-thumb {
	width: 24px;
	height: 16px;
}

.site-footer__socket {
	padding-top: 0.65rem;
	padding-bottom: 0.65rem;
}

@media (max-width: 920px) {
	.section {
		padding-top: 3.4rem;
		padding-bottom: 3.4rem;
	}

	.hero__layout {
		min-height: 100vh;
		padding-top: calc(1.8rem + var(--header-h));
		padding-bottom: 1.8rem;
	}
}

/* JS-enhanced motion (editorial reveal + header behavior) */
.site-header {
	transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.28s ease, backdrop-filter 0.28s ease;
}

.site-header.is-header-hidden {
	transform: translateY(-100%);
}

.js .will-reveal {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity 0.55s ease, transform 0.55s ease;
}

.js .will-reveal.is-inview {
	opacity: 1;
	transform: translateY(0);
}

/* Navbar transparent */
.site-header {
	position: fixed !important;
	left: 0;
	right: 0;
	top: 0;
	z-index: 1000;
	background: rgba(255, 255, 255, 0.74) !important;
	border-bottom: 0 !important;
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
	box-shadow: none !important;
	overflow: visible;
}

.site-header::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -72px;
	height: 72px;
	background: rgba(255, 255, 255, 0.18);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	mask-image: linear-gradient(
		180deg,
		rgba(0, 0, 0, 0.95) 0%,
		rgba(0, 0, 0, 0.55) 42%,
		rgba(0, 0, 0, 0.18) 74%,
		rgba(0, 0, 0, 0) 100%
	);
	-webkit-mask-image: linear-gradient(
		180deg,
		rgba(0, 0, 0, 0.95) 0%,
		rgba(0, 0, 0, 0.55) 42%,
		rgba(0, 0, 0, 0.18) 74%,
		rgba(0, 0, 0, 0) 100%
	);
	pointer-events: none;
}

/* Front page + company hero pages — transparent navbar over hero */
body.home .site-header,
body.has-page-hero .site-header {
	background: transparent !important;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
}

body.home .site-header::after,
body.has-page-hero .site-header::after {
	display: none;
}

/* Pale yellow bar when hovering the navbar, or over the main content (past hero) */
.site-header:hover,
.site-header:focus-within,
body.home .site-header:hover,
body.home .site-header:focus-within,
body.home .site-header.is-past-hero,
body.has-page-hero .site-header:hover,
body.has-page-hero .site-header:focus-within,
body.has-page-hero .site-header.is-past-hero {
	background: rgba(255, 248, 220, 0.96) !important;
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
}

body.home .site-header:hover .primary-nav__list a,
body.home .site-header:focus-within .primary-nav__list a,
body.home .site-header.is-past-hero .primary-nav__list a,
body.has-page-hero .site-header:hover .primary-nav__list a,
body.has-page-hero .site-header:focus-within .primary-nav__list a,
body.has-page-hero .site-header.is-past-hero .primary-nav__list a,
body.home .site-header:hover .lang-switch__link,
body.home .site-header:focus-within .lang-switch__link,
body.home .site-header.is-past-hero .lang-switch__link,
body.has-page-hero .site-header:hover .lang-switch__link,
body.has-page-hero .site-header:focus-within .lang-switch__link,
body.has-page-hero .site-header.is-past-hero .lang-switch__link,
body.home .site-header:hover .lang-switch__sep,
body.home .site-header:focus-within .lang-switch__sep,
body.home .site-header.is-past-hero .lang-switch__sep,
body.has-page-hero .site-header:hover .lang-switch__sep,
body.has-page-hero .site-header:focus-within .lang-switch__sep,
body.has-page-hero .site-header.is-past-hero .lang-switch__sep {
	color: var(--text);
}

body.home .site-header:hover .primary-nav__list a:hover,
body.home .site-header:hover .primary-nav__list a:focus-visible,
body.home .site-header.is-past-hero .primary-nav__list a:hover,
body.home .site-header.is-past-hero .primary-nav__list a:focus-visible,
body.has-page-hero .site-header:hover .primary-nav__list a:hover,
body.has-page-hero .site-header:hover .primary-nav__list a:focus-visible,
body.has-page-hero .site-header.is-past-hero .primary-nav__list a:hover,
body.has-page-hero .site-header.is-past-hero .primary-nav__list a:focus-visible {
	background: rgba(244, 191, 28, 0.42);
	color: var(--text);
}

body.home .site-header:hover .primary-nav__list .current-menu-item > a,
body.home .site-header:focus-within .primary-nav__list .current-menu-item > a,
body.home .site-header.is-past-hero .primary-nav__list .current-menu-item > a,
body.has-page-hero .site-header:hover .primary-nav__list .current-menu-item > a,
body.has-page-hero .site-header:focus-within .primary-nav__list .current-menu-item > a,
body.has-page-hero .site-header.is-past-hero .primary-nav__list .current-menu-item > a {
	background: transparent;
	color: var(--text);
}

body.home .site-header:hover .site-branding .custom-logo,
body.home .site-header:focus-within .site-branding .custom-logo,
body.home .site-header.is-past-hero .site-branding .custom-logo,
body.has-page-hero .site-header:hover .site-branding .custom-logo,
body.has-page-hero .site-header:focus-within .site-branding .custom-logo,
body.has-page-hero .site-header.is-past-hero .site-branding .custom-logo {
	filter: none;
}

body.home .site-header:hover .site-title,
body.home .site-header:focus-within .site-title,
body.home .site-header.is-past-hero .site-title,
body.has-page-hero .site-header:hover .site-title,
body.has-page-hero .site-header:focus-within .site-title,
body.has-page-hero .site-header.is-past-hero .site-title {
	color: var(--text);
}

body.home .site-header:hover .menu-toggle,
body.home .site-header:focus-within .menu-toggle,
body.home .site-header.is-past-hero .menu-toggle,
body.has-page-hero .site-header:hover .menu-toggle,
body.has-page-hero .site-header:focus-within .menu-toggle,
body.has-page-hero .site-header.is-past-hero .menu-toggle {
	background: #fff;
	border-color: var(--line);
	color: var(--text);
}

body.home .primary-nav__list a,
body.home .lang-switch__link,
body.home .lang-switch__sep,
body.has-page-hero .primary-nav__list a,
body.has-page-hero .lang-switch__link,
body.has-page-hero .lang-switch__sep {
	color: #ffffff;
}

body.home .primary-nav__list a:hover,
body.home .primary-nav__list a:focus-visible,
body.has-page-hero .primary-nav__list a:hover,
body.has-page-hero .primary-nav__list a:focus-visible {
	background: rgba(255, 255, 255, 0.15);
	color: #ffffff;
}

body.home .primary-nav__list .current-menu-item > a,
body.has-page-hero .primary-nav__list .current-menu-item > a {
	background: transparent;
	color: #ffffff;
}

body.home .site-branding .custom-logo,
body.has-page-hero .site-branding .custom-logo {
	filter: brightness(0) invert(1);
}

body.home .hero {
	min-height: 100vh;
}

body.home .hero__bg {
	background:
		linear-gradient(180deg, rgba(13, 29, 43, 0.56) 0%, rgba(7, 18, 28, 0.72) 100%),
		linear-gradient(90deg, rgba(8, 24, 36, 0.44) 0%, rgba(8, 24, 36, 0) 45%),
		#11293a;
}

body.home .hero__bg--custom-photo {
	background:
		linear-gradient(180deg, rgba(8, 21, 32, 0.52) 0%, rgba(6, 15, 23, 0.76) 100%),
		var(--hero-photo-url) center / cover no-repeat;
}

body.home .hero__bg::after {
	background: linear-gradient(180deg, rgba(6, 16, 25, 0.2), rgba(6, 16, 25, 0.28));
}

body.home .hero__layout {
	min-height: 100vh;
	align-content: center;
	align-items: center;
}

body.home .hero-slide__title,
body.home .hero-slide__text {
	color: #ffffff;
}

/* Hero title strip — active title only */
body.home .hero-wheel,
body.has-page-hero .hero-wheel {
	width: 80%;
	max-width: 100%;
	--hero-wheel-slot: 2.35em;
	font-size: clamp(1.4rem, 4.2vw, 4.8rem);
	margin: 0 0 1.4rem;
	position: relative;
}

body.home .hero-wheel__viewport,
body.has-page-hero .hero-wheel__viewport {
	width: 100%;
	--hero-wheel-slot: 2.35em;
	height: calc(2.2 * var(--hero-wheel-slot));
	min-height: calc(2.2 * var(--hero-wheel-slot));
	overflow: hidden;
	position: relative;
	mask-image: none;
	-webkit-mask-image: none;
}

body.home .hero-wheel__track,
body.has-page-hero .hero-wheel__track {
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	width: 100%;
	transform: translateY(0);
	will-change: transform;
	backface-visibility: hidden;
}

body.home .hero-wheel__line,
body.has-page-hero .hero-wheel__line {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	flex: 0 0 auto;
	margin: 0;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	min-height: var(--hero-wheel-slot, 1.45em);
	height: auto;
	padding: 0.12em 0;
	font-family: var(--font-display);
	font-size: 1em;
	font-weight: 800;
	line-height: 1.22;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	white-space: normal;
	overflow-wrap: anywhere;
	hyphens: auto;
	color: #fffaea;
	background: transparent;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.35s ease, visibility 0.35s ease;
}

body.home .hero-wheel__label,
body.has-page-hero .hero-wheel__label {
	display: inline;
	min-width: 0;
}

body.home .hero-wheel__icon,
body.has-page-hero .hero-wheel__icon {
	display: inline-block;
	vertical-align: -0.08em;
	width: auto;
	height: auto;
	margin-left: 0.28em;
	font-size: 0.7em;
	line-height: 1;
	color: inherit;
}

body.home .hero-wheel__line--prev,
body.home .hero-wheel__line--next,
body.has-page-hero .hero-wheel__line--prev,
body.has-page-hero .hero-wheel__line--next {
	/* Kept in layout for centering; clipped by the single-title viewport. */
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

body.home .hero-wheel__line--current,
body.has-page-hero .hero-wheel__line--current {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	color: #fffaea;
	font-size: 1.12em;
	font-weight: 800;
}

body.has-page-hero .hero-wheel__link {
	display: inline;
	width: auto;
	min-height: inherit;
	color: inherit;
	text-decoration: none;
	cursor: pointer;
}

body.has-page-hero .hero-wheel__link:hover,
body.has-page-hero .hero-wheel__link:focus-visible {
	color: inherit;
	opacity: 1;
}

body.has-page-hero .hero-wheel__line--current .hero-wheel__link {
	color: #fffaea;
}

body.has-page-hero .hero-wheel__link:focus-visible {
	outline: 2px solid var(--brand);
	outline-offset: 4px;
}

@media (max-width: 920px) {
	body.home .hero-wheel,
	body.has-page-hero .hero-wheel {
		width: 80%;
		display: flex;
		flex-direction: column;
		align-items: center;
		font-size: clamp(1.5rem, 7.2vw, 2.5rem);
		--hero-wheel-slot: 2.65em;
	}

	body.home .hero-wheel__viewport,
	body.has-page-hero .hero-wheel__viewport {
		width: 100%;
		height: calc(1.8 * var(--hero-wheel-slot));
		min-height: calc(1.8 * var(--hero-wheel-slot));
	}

	body.home .hero-wheel__track,
	body.has-page-hero .hero-wheel__track {
		align-items: center;
		width: 100%;
	}

	body.home .hero-wheel__line,
	body.has-page-hero .hero-wheel__line {
		width: 100%;
		max-width: 100%;
		margin-inline: auto;
		justify-content: center;
		text-align: center;
		padding-inline: var(--md);
		box-sizing: border-box;
		letter-spacing: 0;
	}

	body.home .hero-wheel__line--prev,
	body.home .hero-wheel__line--next,
	body.has-page-hero .hero-wheel__line--prev,
	body.has-page-hero .hero-wheel__line--next {
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
	}

	body.home .hero-wheel__line--current,
	body.has-page-hero .hero-wheel__line--current {
		font-size: 1.06em;
	}
}

@media (max-width: 480px) {
	body.home .hero-wheel,
	body.has-page-hero .hero-wheel {
		font-size: clamp(1.35rem, 6.5vw, 2.15rem);
		--hero-wheel-slot: 2.5em;
	}

	body.home .hero-wheel__line,
	body.has-page-hero .hero-wheel__line {
		padding-inline: var(--sm);
	}
}

body.home .hero-slide__text {
	margin-top: 1rem;
}

body.home .hero-nav-btn {
	background: rgba(10, 27, 40, 0.5);
	border-color: rgba(255, 255, 255, 0.48);
}

body.home .hero-nav-btn__icon svg {
	color: #ffffff;
}

body.home .hero__nav {
	gap: 0.9rem;
}

body.home .hero__slides {
	min-height: 340px;
	min-width: 0;
}

@media (max-width: 920px) {
	body.home .hero__slides {
		min-height: min(52vh, 420px);
	}
}

body.home .hero-slide {
	transition: opacity 0.52s cubic-bezier(0.42, 0, 0.58, 1), transform 0.52s cubic-bezier(0.42, 0, 0.58, 1);
}

/* Company pages — hero + main section */
body.has-page-hero .hero__bg {
	background:
		linear-gradient(180deg, rgba(13, 29, 43, 0.56) 0%, rgba(7, 18, 28, 0.72) 100%),
		linear-gradient(90deg, rgba(8, 24, 36, 0.44) 0%, rgba(8, 24, 36, 0) 45%),
		#11293a;
}

body.has-page-hero .hero__bg--custom-photo {
	background:
		linear-gradient(180deg, rgba(8, 21, 32, 0.52) 0%, rgba(6, 15, 23, 0.76) 100%),
		var(--hero-photo-url) center / cover no-repeat;
}

body.has-page-hero .hero__bg::after {
	background: linear-gradient(180deg, rgba(6, 16, 25, 0.2), rgba(6, 16, 25, 0.28));
}

body.has-page-hero .hero__layout--company {
	min-height: 100vh;
	align-content: center;
	align-items: center;
}

body.has-page-hero .hero__slides,
body.has-page-hero .hero__slides--company {
	min-height: 340px;
	min-width: 0;
}

body.has-page-hero .hero-wheel {
	margin: 0 0 1.4rem;
}

body.has-page-hero .site-main--company {
	padding-top: 0;
}

@media (max-width: 920px) {
	body.has-page-hero .hero__slides,
	body.has-page-hero .hero__slides--company {
		min-height: min(52vh, 420px);
	}
}

/* 404 — standalone page (no header/footer) */
body.error-404-page {
	margin: 0;
	min-height: 100dvh;
	background: var(--bg);
}

.error-404 {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 100dvh;
	padding: clamp(2rem, 8vw, 4rem);
	text-align: center;
}

.error-404__code {
	margin: 0 0 0.35rem;
	font-family: var(--font-display);
	font-size: clamp(5rem, 22vw, 11rem);
	font-weight: 800;
	line-height: 0.95;
	letter-spacing: -0.04em;
	color: var(--brand-deep);
}

.error-404__title {
	margin: 0 0 1rem;
	max-width: 18ch;
	font-family: var(--font-display);
	font-size: clamp(1.75rem, 5.5vw, 3.25rem);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.02em;
	text-transform: uppercase;
	color: #8b1a14;
}

.error-404__message {
	margin: 0 0 2rem;
	max-width: 36ch;
	font-size: clamp(1rem, 2.2vw, 1.2rem);
	line-height: 1.55;
	color: var(--muted);
}

.error-404__actions {
	margin: 0;
}

