/* ==========================================================================
   Glanville – design tokens & components (from Figma "Website" page, 1920 frame)
   ========================================================================== */

:root {
	--gv-navy: #201747;
	--gv-green: #80bc00;
	--gv-purple: #662482;
	--gv-purple-tile: #652b82;
	--gv-orange: #ef8805;
	--gv-teal: #00abc8;
	--gv-red: #e43d30;
	--gv-grey-bg: #f4f4f4;
	--gv-grey-text: #787878;
	--gv-grey-light: #9c9b9b;
	--gv-border: #d9d9d9;
	--gv-white: #fff;

	--gv-font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;

	--gv-gutter: clamp(16px, 3.125vw, 60px);
	--gv-wrap: 1800px;
	--gv-inner: 1496px;
	--gv-gap: clamp(12px, 1.25vw, 24px);
	--gv-space: clamp(56px, 4.7vw, 90px);
	--gv-ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--gv-font);
	font-size: 16px;
	line-height: 1.5;
	color: var(--gv-navy);
	background: var(--gv-white);
	-webkit-font-smoothing: antialiased;
}
body, button, input, textarea, select { font-family: var(--gv-font); }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--gv-teal); outline-offset: 3px; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link:focus { position: fixed !important; top: 8px; left: 8px; width: auto; height: auto; clip: auto; z-index: 1000; padding: 10px 16px; background: #fff; }

.gv-wrap { box-sizing: border-box; width: 100%; max-width: calc(var(--gv-wrap) + 2 * var(--gv-gutter)); margin-inline: auto; padding-inline: var(--gv-gutter); }
.gv-inner { box-sizing: border-box; width: 100%; max-width: calc(var(--gv-inner) + 2 * var(--gv-gutter)); margin-inline: auto; padding-inline: var(--gv-gutter); }

/* Elementor: let our widgets control spacing */
.elementor-widget:not(:last-child) { margin-block-end: 0; }
.e-con { --padding-top: 0; --padding-bottom: 0; --padding-left: 0; --padding-right: 0; --gap: 0; }
.e-con > .e-con-inner { padding: 0; }
[class*="elementor-widget-gv-"] { width: 100%; }
[class*="elementor-widget-gv-"] + [class*="elementor-widget-gv-"] { margin-top: var(--gv-space); }
.gv-main > *:last-child { margin-bottom: 0; }

/* ---------- Type helpers ---------- */
.gv-eyebrow { font-weight: 600; font-size: clamp(16px, 1.05vw, 20px); line-height: 1.3; text-transform: uppercase; color: var(--gv-grey-text); }
.gv-eyebrow--dark { color: var(--gv-navy); }
.gv-copy { font-size: 16px; line-height: 24px; letter-spacing: -.01em; }
.gv-copy p + p { margin-top: 10px; }
.gv-copy a { color: var(--gv-navy); text-decoration: underline; }

.gv-outline {
	font-weight: 600;
	line-height: .75;
	letter-spacing: -.05em;
	color: transparent;
	white-space: nowrap;
	pointer-events: none;
	user-select: none;
	opacity: .7;
}
.gv-outline--light { -webkit-text-stroke: 1.5px var(--gv-border); }
.gv-outline--dark { -webkit-text-stroke: 1.5px rgba(255, 255, 255, .9); }

/* ---------- Buttons & links ---------- */
[hidden] { display: none !important; }

.gv-btn {
	display: inline-flex; align-items: center; justify-content: center;
	padding: 10px 30px;
	border: 1.5px solid var(--gv-navy);
	background: transparent;
	color: var(--gv-navy);
	font-weight: 600; font-size: clamp(16px, 1vw, 18px); line-height: 26px;
	text-transform: uppercase; text-decoration: none;
	cursor: pointer;
	transition: background-color .25s var(--gv-ease), color .25s var(--gv-ease);
}
.gv-btn:focus { background: transparent; color: var(--gv-navy); } /* after a click; beats the parent theme's pink */
.gv-btn:hover, .gv-btn:focus-visible { background: var(--gv-navy); color: #fff; }
.gv-btn--white { background: #fff; border-color: #fff; color: var(--gv-navy); }
.gv-btn--white:focus { background: #fff; color: var(--gv-navy); }
.gv-btn--white:hover, .gv-btn--white:focus-visible { background: transparent; color: #fff; }
.gv-btn--sm { padding: 8px 30px; font-size: 16px; }

/* Hello Elementor turns every <button> pink (#c36) with white text on hover/focus.
   Keep the look of the theme's other buttons instead. */
.gv-play:hover, .gv-play:focus,
.gv-header__toggle:hover, .gv-header__toggle:focus { background-color: transparent; }
.gv-pager button:hover, .gv-pager button:focus { background-color: transparent; color: var(--gv-navy); }
.gv-pager button[disabled]:hover { color: rgba(32, 23, 71, .5); }
.gv-pager--light button:hover, .gv-pager--light button:focus { color: #fff; }
.gv-pager--light button[disabled]:hover { color: rgba(255, 255, 255, .5); }
.gv-filter-toggle:hover, .gv-filter-toggle:focus { background-color: var(--gv-grey-bg); color: var(--gv-navy); }
.gv-filter-toggle[aria-pressed="true"]:hover, .gv-filter-toggle[aria-pressed="true"]:focus { background-color: var(--gv-navy); color: #fff; }

.gv-more {
	display: inline-flex; align-items: center; gap: 6px;
	font-weight: 600; font-size: 16px; line-height: 24px;
	color: #fff; text-decoration: none; white-space: nowrap;
}
.gv-more__chev { width: 9px; height: 9px; transform: rotate(135deg); transition: transform .25s var(--gv-ease); flex: none; overflow: visible; }
.gv-more:hover .gv-more__chev, a:hover .gv-more .gv-more__chev { transform: translateX(4px) rotate(135deg); }
.gv-more--dark { color: #000; }
.gv-more--dark .gv-more__chev { width: 11px; height: 11px; }
.gv-more--navy { color: var(--gv-navy); }
.gv-more--navy .gv-more__chev { width: 8px; height: 8px; }

/* Prev | Next pager */
.gv-pager { display: flex; align-items: center; justify-content: center; gap: 18px; }
.gv-pager button {
	padding: 0; border: 0; background: none; cursor: pointer;
	font-weight: 700; font-size: clamp(16px, 1.05vw, 20px); line-height: 24px; letter-spacing: .2em; text-transform: uppercase;
	color: var(--gv-navy);
}
.gv-pager button[disabled] { color: rgba(32, 23, 71, .5); cursor: default; }
.gv-pager > span { width: 1px; height: 20px; background: var(--gv-navy); }
.gv-pager--light button { color: #fff; }
.gv-pager--light button[disabled] { color: rgba(255, 255, 255, .5); }
.gv-pager--light > span { background: #fff; }

/* ---------- Brand bar ---------- */
.gv-bar { display: flex; gap: var(--gv-gap); }
.gv-bar__seg { flex: 1 1 0; height: 13.5px; background: var(--gv-grey-bg); }
.gv-bar__seg.is-on { background: var(--seg); }
.gv-bar--small { gap: 10px; }
.gv-bar--small .gv-bar__seg { height: 10px; }

/* ---------- Draw-in animation (Figma "path trim", 1.7s ease-out) ---------- */
.gv-svg { display: block; overflow: visible; }
.gv-draw path { stroke-dasharray: 1 1; stroke-dashoffset: 0; }
.gv-anim .gv-draw path { stroke-dashoffset: 1; }
.gv-anim .is-inview .gv-draw path,
.gv-anim .is-inview.gv-draw path,
.gv-anim .is-active .gv-draw path { animation: gv-draw 1.7s ease-out forwards; }
@keyframes gv-draw { to { stroke-dashoffset: 0; } }

/* Headline slides in from the left (Figma: 0.7s delay, 1.3s ease-out, -200px) */
.gv-anim .gv-slide-in { opacity: 0; transform: translateX(-200px); }
.gv-anim .is-active .gv-slide-in { animation: gv-slide-in 1.3s .7s ease-out forwards; }
@keyframes gv-slide-in { to { opacity: 1; transform: none; } }

.gv-anim .gv-reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--gv-ease), transform .8s var(--gv-ease); }
.gv-anim .gv-reveal.is-inview { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	.gv-anim .gv-draw path { stroke-dashoffset: 0; animation: none !important; }
	.gv-anim .gv-slide-in, .gv-anim .gv-reveal { opacity: 1; transform: none; animation: none !important; transition: none; }
	.gv-logos__track { animation: none !important; }
	html { scroll-behavior: auto; }
}

/* ---------- Brackets ---------- */
.gv-bracket { position: relative; color: var(--bracket, var(--gv-teal)); }
.gv-bracket__title { color: inherit; }
.gv-bracket--both { display: inline-block; padding: clamp(18px, 1.95vw, 37px) clamp(20px, 2.1vw, 40px) clamp(14px, 1.5vw, 28px) clamp(22px, 2.3vw, 44px); }
.gv-bracket__tl, .gv-bracket__br { position: absolute; width: clamp(64px, 8.1vw, 156px); height: auto; aspect-ratio: 1; }
.gv-bracket__tl { top: 0; left: 0; }
.gv-bracket__br { right: 0; bottom: 0; transform: rotate(180deg); }
.gv-bracket--both .gv-svg path { stroke-width: 8; }

/* Single top-left corner beside a block of copy */
.gv-bracket--side { padding: clamp(28px, 2.6vw, 50px) 0 0 clamp(22px, 2.1vw, 40px); }
.gv-bracket__side { position: absolute; top: 0; left: 0; width: clamp(80px, 8.1vw, 156px); height: auto; aspect-ratio: 1; transform: rotate(90deg); }
.gv-bracket--side > .gv-bracket__title { color: var(--gv-navy); }

/* ==========================================================================
   Header & navigation
   ========================================================================== */
.gv-header { position: relative; z-index: 50; background: #fff; }
.gv-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 31px; padding-bottom: 56px; }
.gv-header__logo img { width: 160px; height: auto; }
.gv-header__toggle { display: none; }

.gv-nav__list { display: flex; align-items: center; gap: clamp(18px, 2.08vw, 40px); list-style: none; }
.gv-nav__list > li { position: relative; }
.gv-nav__list a {
	display: inline-flex; align-items: center; gap: 4px;
	font-weight: 600; font-size: 14px; line-height: 21px; text-transform: uppercase;
	color: var(--gv-grey-light); text-decoration: none;
	transition: color .2s var(--gv-ease);
}
.gv-nav__list > li:hover > a,
.gv-nav__list > li:focus-within > a,
.gv-nav__list > li.is-active > a { color: var(--gv-navy); }
.gv-nav__chev { width: 6px; height: 6px; transform: rotate(135deg); transition: transform .2s var(--gv-ease); margin-left: 2px; }
.gv-nav__chev path { stroke-width: 1.5; }
.gv-nav__list > li:hover .gv-nav__chev,
.gv-nav__list > li:focus-within .gv-nav__chev,
.gv-nav__list > li.is-open .gv-nav__chev { transform: rotate(-135deg) translate(-2px, 2px); }

.gv-nav .sub-menu {
	position: absolute; top: 100%; left: -11px;
	min-width: 196px; list-style: none;
	padding: 16px 11px 20px; margin-top: 7px;
	background: #fff;
	box-shadow: 0 12px 30px rgba(32, 23, 71, .08);
	opacity: 0; visibility: hidden; transform: translateY(-6px);
	transition: opacity .2s var(--gv-ease), transform .2s var(--gv-ease), visibility 0s .2s;
}
.gv-nav .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.gv-nav__list > li:hover > .sub-menu,
.gv-nav__list > li:focus-within > .sub-menu,
.gv-nav__list > li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.gv-nav .sub-menu li + li { margin-top: 10px; }
.gv-nav .sub-menu a { font-weight: 500; font-size: 14px; line-height: 24px; text-transform: none; color: var(--gv-grey-light); white-space: nowrap; }
.gv-nav .sub-menu a:hover, .gv-nav .sub-menu a:focus-visible, .gv-nav .sub-menu .is-active > a { color: var(--gv-navy); }

@media (max-width: 1100px) {
	.gv-header__inner { padding-top: 20px; padding-bottom: 24px; }
	.gv-header__toggle {
		display: inline-flex; align-items: center; justify-content: center;
		width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer;
	}
	.gv-burger { display: grid; gap: 5px; width: 26px; }
	.gv-burger i { display: block; height: 2px; background: var(--gv-navy); transition: transform .25s, opacity .25s; }
	.gv-header__toggle[aria-expanded="true"] .gv-burger i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
	.gv-header__toggle[aria-expanded="true"] .gv-burger i:nth-child(2) { opacity: 0; }
	.gv-header__toggle[aria-expanded="true"] .gv-burger i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

	.gv-nav {
		position: absolute; top: 100%; left: 0; right: 0;
		background: #fff; border-top: 1px solid var(--gv-grey-bg);
		box-shadow: 0 20px 30px rgba(32, 23, 71, .08);
		padding: 8px var(--gv-gutter) 24px;
		display: none;
	}
	.gv-nav.is-open { display: block; }
	.gv-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.gv-nav__list > li { border-bottom: 1px solid var(--gv-grey-bg); }
	.gv-nav__list > li > a { padding: 14px 0; font-size: 15px; width: 100%; justify-content: space-between; }
	.gv-nav .sub-menu { position: static; display: none; box-shadow: none; padding: 0 0 14px 12px; margin: 0; opacity: 1; visibility: visible; transform: none; }
	.gv-nav__list > li.is-open > .sub-menu { display: block; }
	.gv-nav__list > li:hover > .sub-menu { display: none; }
	.gv-nav__list > li.is-open:hover > .sub-menu { display: block; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.gv-hero { position: relative; }
.gv-hero__bar { margin-bottom: 0; }
.gv-hero__stage { position: relative; height: clamp(520px, 43.85vw, 842px); overflow: hidden; background: var(--gv-navy); }
.gv-hero--medium .gv-hero__stage { height: clamp(480px, 33vw, 640px); }
.gv-hero__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1s var(--gv-ease), visibility 0s 1s; }
.gv-hero__slide.is-active { opacity: 1; visibility: visible; transition: opacity 1s var(--gv-ease); z-index: 1; }
.gv-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gv-hero__shade { position: absolute; inset: 0; background: rgba(0, 0, 0, .4); }
.gv-hero__content { position: absolute; left: clamp(16px, 8.45vw, 152px); top: clamp(80px, 13.3vw, 239px); right: var(--gv-gutter); color: #fff; }
.gv-hero__heading { color: var(--bracket); }
.gv-hero__heading { --bk-w: clamp(64px, 8.1vw, 156px); --bk-pad: clamp(22px, 2.3vw, 44px); }
/* As in Figma: the headline sits in a clipping box that starts at the inside of the frame's left line (the line is 5% of
   the frame width), so it slides out from behind the line rather than across it. */
.gv-hero__clip { overflow-x: clip; margin-left: calc(var(--bk-w) * .05 - var(--bk-pad)); padding-left: calc(var(--bk-pad) - var(--bk-w) * .05); }
.gv-hero__title { color: #fff; font-weight: 600; font-size: clamp(38px, 4.17vw, 80px); line-height: 1.025; letter-spacing: -.02em; }
.gv-hero__sub { max-width: 560px; margin: clamp(16px, 1.5vw, 28px) 0 0 clamp(22px, 2.3vw, 44px); font-size: clamp(17px, 1.25vw, 24px); line-height: 1.25; letter-spacing: -.02em; }
.gv-hero__content .gv-btn { margin: 30px 0 0 clamp(22px, 2.3vw, 44px); }
.gv-hero__caption {
	position: absolute; right: 0; bottom: 0;
	width: min(914px, 100%); min-height: 113px; box-sizing: border-box;
	display: flex; align-items: center; justify-content: space-between; gap: 24px;
	padding: 19px 38px 20px; background: #fff; color: #000;
}
.gv-hero__caption-title { font-weight: 600; font-size: 20px; line-height: 1.6; letter-spacing: -.02em; }
.gv-hero__caption-text { font-size: 16px; line-height: 22px; }
.gv-hero__pager { position: absolute; z-index: 3; bottom: 43px; right: calc(min(914px, 100%) + 38px); }

/* ==========================================================================
   Intro statement
   ========================================================================== */
.gv-intro { position: relative; }
.gv-intro__title { max-width: 1322px; font-weight: 600; font-size: clamp(32px, 3.125vw, 60px); line-height: 1.17; letter-spacing: -.02em; color: var(--gv-navy); }
.gv-intro .gv-eyebrow + .gv-intro__title { margin-top: 14px; }
.gv-intro__body { max-width: 735px; margin-top: 26px; }
.gv-intro .gv-btn { margin-top: 40px; }
.gv-intro__outline { position: absolute; right: var(--gv-gutter); bottom: -10px; font-size: clamp(60px, 6.25vw, 120px); }

/* ==========================================================================
   Logo marquee
   ========================================================================== */
.gv-logos { overflow: hidden; }
.gv-logos__title { text-align: center; margin-bottom: 40px; }
.gv-logos__viewport { display: flex; width: max-content; }
.gv-logos__track { display: flex; align-items: center; gap: 100px; padding-right: 100px; list-style: none; animation: gv-marquee var(--speed, 60s) linear infinite; }
.gv-logos:hover .gv-logos__track { animation-play-state: paused; }
.gv-logos__track img { height: var(--logo-h, 65px); width: auto; max-width: 300px; object-fit: contain; }
@keyframes gv-marquee { to { transform: translateX(-100%); } }

/* ==========================================================================
   Stats banner
   ========================================================================== */
.gv-stats { position: relative; min-height: clamp(640px, 47vw, 904px); color: #fff; overflow: hidden; display: flex; align-items: center; }
.gv-stats__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 20% 30%; }
.gv-stats__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .15), rgba(0, 0, 0, .62)); }
.gv-stats__inner { position: relative; z-index: 1; padding-block: 100px 140px; }
.gv-stats .gv-bracket--side > .gv-bracket__title { color: #fff; font-weight: 600; font-size: clamp(28px, 2.08vw, 40px); line-height: 1.25; letter-spacing: -.01em; }
.gv-stats__text { color: #fff; max-width: 845px; margin-top: 18px; font-size: clamp(18px, 1.25vw, 24px); line-height: 1.25; letter-spacing: -.01em; }
.gv-stats__list { display: grid; grid-template-columns: repeat(4, minmax(0, 279px)); justify-content: space-between; gap: 24px; margin-top: 64px; list-style: none; }
.gv-stats__box { aspect-ratio: 1; box-sizing: border-box; border: 6px solid #fff; background: rgba(0, 0, 0, .4); display: flex; flex-direction: column; justify-content: center; padding: 0 22px; }
.gv-stats__num { font-weight: 600; font-size: clamp(48px, 4.17vw, 80px); line-height: 1.1; letter-spacing: -.02em; }
.gv-stats__label { margin-top: 8px; font-size: clamp(16px, 1.05vw, 20px); line-height: 1.3; letter-spacing: -.01em; }
.gv-stats__outline { position: absolute; right: 0; bottom: -2px; font-size: clamp(80px, 7.8vw, 150px); }

/* ==========================================================================
   Section heading
   ========================================================================== */
.gv-heading { display: grid; gap: 10px; }
.gv-heading--center { text-align: center; justify-items: center; }
.gv-heading__title { font-weight: 600; font-size: clamp(28px, 2.08vw, 40px); line-height: 1.25; letter-spacing: -.02em; color: var(--gv-navy); }
.gv-heading__sub { margin-top: 10px; font-size: clamp(16px, 1.05vw, 20px); line-height: 1.3; color: var(--gv-navy); max-width: 1080px; }
.gv-heading__bar { margin-top: 40px; }
[class*="elementor-widget-gv-"].gv-tight-top { margin-top: 30px !important; }

/* ==========================================================================
   Mosaic
   ========================================================================== */
.gv-mosaic { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: auto; gap: var(--gv-gap); }
.gv-tile { position: relative; display: block; overflow: hidden; aspect-ratio: 1; color: #fff; text-decoration: none; }
.gv-tile:hover, .gv-tile:focus, .gv-tile:active, .gv-tile:visited { color: #fff; }
.gv-tile__desc, .gv-tile__text { color: #fff; }
.gv-tile--2x1 { grid-column: span 2; aspect-ratio: auto; }
.gv-tile--1x2 { grid-row: span 2; aspect-ratio: auto; }
.gv-tile--service { background: var(--tile); padding: clamp(20px, 1.6vw, 30px); box-sizing: border-box; display: flex; flex-direction: column; }
.gv-tile__title { font-weight: 600; font-size: clamp(22px, 1.56vw, 30px); line-height: 1.33; letter-spacing: -.02em; color: #fbfbfb; }
.gv-tile__text { margin-top: 6px; max-width: 375px; font-size: 16px; line-height: 24px; letter-spacing: -.01em; }
.gv-tile--service .gv-more { margin-top: auto; align-self: flex-end; }
.gv-tile--service:hover .gv-more__chev { transform: translateX(4px) rotate(135deg); }

.gv-tile__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--gv-ease); }
.gv-tile--project:hover .gv-tile__media { transform: scale(1.04); }
.gv-tile__shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .8) 0%, rgba(0, 0, 0, 0) 30%); transition: opacity .4s var(--gv-ease); }
.gv-tile--2x1 .gv-tile__shade { background: linear-gradient(0deg, rgba(0, 0, 0, .8) 0%, rgba(0, 0, 0, 0) 43%); }
.gv-tile--project::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .8), rgba(0, 0, 0, 0)); opacity: 0; transition: opacity .4s var(--gv-ease); }
.gv-tile__caption { position: absolute; z-index: 1; left: clamp(20px, 1.6vw, 30px); right: clamp(20px, 1.6vw, 30px); bottom: clamp(18px, 1.4vw, 26px); display: grid; gap: 8px; }
.gv-tile__name { font-weight: 600; font-size: 16px; line-height: 24px; color: #fbfbfb; }
.gv-tile__desc { font-size: 15.5px; line-height: 23px; letter-spacing: -.02em; max-width: 735px; }
.gv-tile__more { position: absolute; z-index: 1; right: clamp(20px, 1.6vw, 30px); bottom: clamp(18px, 1.4vw, 26px); }

/* Square / tall project tiles: hover reveals description + "Learn more" (Figma "Hover effect" variant 2) */
.gv-tile--1x1.gv-tile--project .gv-tile__desc,
.gv-tile--1x2.gv-tile--project .gv-tile__desc { max-width: 216px; font-size: 16px; line-height: 22px; letter-spacing: 0; }
.gv-tile--1x1.gv-tile--project .gv-tile__desc, .gv-tile--1x1 .gv-tile__more,
.gv-tile--1x2.gv-tile--project .gv-tile__desc, .gv-tile--1x2 .gv-tile__more { display: none; }
@media (hover: hover) {
	.gv-tile--project.has-text:hover::after, .gv-tile--project.has-text:focus-visible::after { opacity: 1; }
	.gv-tile--1x1.has-text:hover .gv-tile__name, .gv-tile--1x1.has-text:focus-visible .gv-tile__name,
	.gv-tile--1x2.has-text:hover .gv-tile__name, .gv-tile--1x2.has-text:focus-visible .gv-tile__name { display: none; }
	.gv-tile--1x1.has-text:hover .gv-tile__desc, .gv-tile--1x1.has-text:focus-visible .gv-tile__desc,
	.gv-tile--1x2.has-text:hover .gv-tile__desc, .gv-tile--1x2.has-text:focus-visible .gv-tile__desc { display: block; animation: gv-fade .35s var(--gv-ease); }
	.gv-tile--1x1:hover .gv-tile__more, .gv-tile--1x1:focus-visible .gv-tile__more,
	.gv-tile--1x2:hover .gv-tile__more, .gv-tile--1x2:focus-visible .gv-tile__more { display: inline-flex; animation: gv-fade .35s var(--gv-ease); }
}
@keyframes gv-fade { from { opacity: 0; transform: translateY(6px); } }

@media (max-width: 1100px) {
	.gv-mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.gv-tile--1x2 { grid-row: span 1; aspect-ratio: 1; }
	.gv-tile--2x1 { aspect-ratio: 2 / 1; }
}
@media (max-width: 640px) {
	.gv-mosaic { grid-template-columns: 1fr; }
	.gv-tile--2x1 { grid-column: auto; aspect-ratio: 1; }
	.gv-tile--service { aspect-ratio: auto; min-height: 260px; }
	.gv-tile--1x1.gv-tile--project .gv-tile__desc { display: block; }
	.gv-tile--project::after { opacity: .6; }
}

/* ==========================================================================
   Text + image split
   ========================================================================== */
.gv-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 734px); gap: clamp(32px, 3vw, 60px); align-items: start; }
.gv-split__text { min-width: 0; }
.gv-split .gv-bracket--side > .gv-bracket__title { font-weight: 600; font-size: clamp(28px, 2.08vw, 40px); line-height: 1.25; letter-spacing: -.02em; }
.gv-split__lead { margin-top: 20px; font-weight: 500; font-size: clamp(16px, 1.05vw, 20px); line-height: 1.3; }
.gv-split .gv-copy { margin-top: 20px; max-width: 535px; color: #000; }
.gv-split__list { margin-top: 30px; padding-left: 24px; font-weight: 500; font-size: 16px; line-height: 24px; color: #000; }
.gv-split__list li + li { margin-top: 16px; }
.gv-split__list--2 { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; }
.gv-split__list--2 li + li { margin-top: 0; }
.gv-split__list--2 li { margin-bottom: 10px; }
.gv-split__text .gv-btn { margin-top: 36px; }
.gv-split__media { margin: 0; }
.gv-split__media img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.gv-split__media--framed img { border: 1px solid #c5c5c5; aspect-ratio: auto; }
@media (max-width: 900px) {
	.gv-split { grid-template-columns: 1fr; }
	.gv-split__list--2 { grid-template-columns: 1fr; }
}

/* ==========================================================================
   News carousel
   ========================================================================== */
.gv-news .gv-heading { margin-bottom: 40px; }
.gv-carousel { overflow: hidden; }
.gv-carousel__track { display: flex; gap: var(--gv-gap); list-style: none; transition: transform .6s var(--gv-ease); }
.gv-carousel__track > li { flex: 0 0 calc((100% - 3 * var(--gv-gap)) / 4); }
.gv-news .gv-pager { margin-top: 45px; }
.gv-news-card { display: flex; flex-direction: column; }
.gv-news-card__media { display: block; aspect-ratio: 1; overflow: hidden; background: var(--gv-grey-bg); }
.gv-news-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--gv-ease); }
.gv-news-card:hover .gv-news-card__media img { transform: scale(1.04); }
.gv-news-card__body { flex: 1; display: flex; flex-direction: column; gap: 16px; padding: 34px 28px 20px; background: var(--gv-grey-bg); min-height: 223px; box-sizing: border-box; }
.gv-news-card__title { font-weight: 600; font-size: clamp(19px, 1.25vw, 24px); line-height: 1.25; }
.gv-news-card__title a { text-decoration: none; }
.gv-news-card__date { color: var(--gv-grey-text); font-size: 16px; line-height: 22px; }
.gv-news-card .gv-more { margin-top: auto; }
@media (max-width: 1100px) { .gv-carousel__track > li { flex-basis: calc((100% - var(--gv-gap)) / 2); } }
@media (max-width: 640px) { .gv-carousel__track > li { flex-basis: 85%; } }

/* ==========================================================================
   Footer
   ========================================================================== */
.gv-footer { margin-top: var(--gv-space); }
.gv-footer__outline { text-align: right; font-size: clamp(56px, 6.25vw, 120px); margin-bottom: 4px; }
.gv-footer__grid { display: grid; grid-template-columns: 1.05fr 1fr 1fr 1fr 2.35fr; gap: 24px; margin-top: 56px; }
.gv-footer__brand img { width: 240px; max-width: 100%; height: auto; }
.gv-footer__social { display: flex; align-items: center; gap: 12px; margin-top: 62px; font-size: 20px; letter-spacing: -.05em; }
.gv-footer__social span { margin-right: 4px; }
.gv-footer__social img { height: 24px; width: auto; }
.gv-footer__heading { font-weight: 600; font-size: 21px; line-height: 26px; color: var(--gv-navy); letter-spacing: -.02em; margin: 6px 0 14px; }
.gv-footer__links { list-style: none; display: grid; gap: 8px; }
.gv-footer__links a { font-size: 16px; line-height: 26px; color: var(--gv-grey-light); text-decoration: none; transition: color .2s; }
.gv-footer__links a:hover, .gv-footer__links a:focus-visible { color: var(--gv-navy); }
.gv-footer__contact { background: var(--gv-grey-bg); padding: 33px 21px 33px 19px; margin-top: -33px; }
.gv-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 21px 16px; margin-bottom: 21px; }
.gv-form input, .gv-form textarea {
	box-sizing: border-box; width: 100%;
	border: 1px solid var(--gv-border); border-radius: 0; background: #fff;
	padding: 8px 7px; font-size: 16px; line-height: 22px; color: var(--gv-navy);
}
.gv-form input::placeholder, .gv-form textarea::placeholder { color: var(--gv-grey-light); }
.gv-form textarea { min-height: 76px; resize: vertical; }
.gv-form__full { grid-column: 1 / -1; }
.gv-form__hp { position: absolute; left: -9999px; }
.gv-form__msg { margin: -4px 0 14px; font-size: 14px; }
.gv-form__msg.is-ok { color: #2e7d32; }
.gv-form__msg.is-error { color: var(--gv-red); }
.gv-footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 28px 0 38px; font-size: 14px; line-height: 20px; color: var(--gv-navy); }
.gv-footer__offices { font-weight: 500; font-size: 16px; }
.gv-footer__offices span { margin: 0 6px; }

@media (max-width: 1200px) {
	.gv-footer__grid { grid-template-columns: 1fr 1fr 1fr; }
	.gv-footer__brand { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; }
	.gv-footer__social { margin-top: 0; }
	.gv-footer__contact { grid-column: 1 / -1; margin-top: 16px; }
}
@media (max-width: 640px) {
	.gv-footer__grid { grid-template-columns: 1fr; }
	.gv-footer__brand { flex-direction: column; align-items: flex-start; gap: 24px; }
	.gv-form__grid { grid-template-columns: 1fr; }
	.gv-footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   Responsive: hero & stats
   ========================================================================== */
@media (max-width: 1100px) {
	.gv-stats__list { grid-template-columns: repeat(2, minmax(0, 240px)); justify-content: start; }
}
@media (max-width: 767px) {
	.gv-hero__stage { height: auto; min-height: 640px; display: flex; flex-direction: column; }
	.gv-hero__slide { display: flex; flex-direction: column; justify-content: flex-end; }
	.gv-hero__content { position: relative; inset: auto; padding: 120px var(--gv-gutter) 40px; z-index: 1; }
	.gv-hero__caption { position: relative; width: 100%; flex-direction: column; align-items: flex-start; padding: 18px 20px; z-index: 1; }
	.gv-hero__pager { position: absolute; top: 20px; right: 20px; bottom: auto; }
	.gv-stats__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.gv-stats__box { border-width: 4px; padding: 0 14px; }
}

/* ==========================================================================
   Shared utilities
   ========================================================================== */
.gv-center { text-align: center; display: flex; justify-content: center; }
.gv-center > .gv-btn, .gv-center > .gv-eyebrow { margin-inline: auto; }
.gv-btn--lg { min-width: 160px; padding: 12px 40px; font-size: 18px; }
.gv-empty { padding: 40px 0; color: var(--gv-grey-text); grid-column: 1 / -1; }
.gv-social { display: flex; align-items: center; gap: 12px; font-size: 16px; color: var(--gv-navy); }
.gv-social span { margin-right: 2px; }
.gv-social img { height: 20px; width: auto; }

.gv-select { position: relative; display: inline-flex; align-items: center; background: var(--gv-grey-bg); }
.gv-select select {
	appearance: none; -webkit-appearance: none; border: 0; background: transparent; cursor: pointer;
	padding: 9px 44px 9px 16px; font: 500 16px/22px var(--gv-font); color: var(--gv-navy);
}
.gv-select__chev { position: absolute; right: 16px; width: 10px; height: 10px; transform: rotate(135deg); pointer-events: none; color: var(--gv-navy); }

/* ---------- Hero variants ---------- */
.gv-hero--small .gv-hero__stage { height: clamp(380px, 22.3vw, 428px); }
.gv-hero--small .gv-hero__content { top: clamp(60px, 4.6vw, 88px); }
.gv-hero--small .gv-hero__sub { margin-top: 20px; max-width: 700px; }
.gv-hero--pattern .gv-hero__stage { background: var(--gv-navy) url("../img/misc/pattern-hero.png") center / cover no-repeat; }
.gv-hero--pattern .gv-hero__shade { display: none; }
.gv-hero--tint .gv-hero__shade {
	background: linear-gradient(to bottom, rgba(0,0,0,0) 38%, rgba(0,0,0,.6) 100%);
}
.gv-hero--tint .gv-hero__shade::after { content: ""; position: absolute; inset: 0; background: url("../img/people/pattern-navy.png") center / cover no-repeat; opacity: .25; }
.gv-hero__vacancy { position: absolute; z-index: 3; right: clamp(16px, 4.3vw, 82px); bottom: clamp(24px, 4.1vw, 78px); width: min(470px, calc(100% - 32px)); color: #fff; }
.gv-hero__vacancy-eyebrow { font-weight: 700; font-size: 18px; line-height: 24px; text-transform: uppercase; margin-bottom: 12px; }
.gv-hero__vacancy-box { background: rgba(0, 0, 0, .45); padding: 18px 18px 22px; }
.gv-hero__vacancy-title { font-weight: 600; font-size: 20px; line-height: 30px; }
.gv-hero__vacancy-meta { margin-top: 10px; font-size: 14px; line-height: 20px; }
.gv-hero__vacancy-meta span { display: block; text-transform: uppercase; }
.gv-hero__vacancy a { display: inline-block; margin-top: 12px; color: #fff; font-weight: 600; font-size: 14px; }
.gv-hero__filters {
	position: absolute; z-index: 3; right: 0; bottom: 0; box-sizing: border-box;
	width: min(737px, 100%); min-height: 113px; padding: 30px 20px 20px 30px;
	display: flex; flex-wrap: wrap; align-items: flex-start; gap: 16px 50px; background: #fff;
}
.gv-hero__filters .gv-select select { padding: 10px 48px 10px 20px; font-weight: 400; }
.gv-hero__filters .gv-btn { margin-left: auto; padding: 8px 20px; font-weight: 500; font-size: 16px; }
.gv-hero--small .gv-bracket__tl, .gv-hero--small .gv-bracket__br { width: clamp(56px, 5.4vw, 104px); }
.gv-hero--small .gv-hero__heading { --bk-w: clamp(56px, 5.4vw, 104px); }
.gv-hero__sub { text-shadow: 0 4px 18px rgba(0,0,0,.15); }

/* ---------- Intro variants ---------- */
.gv-intro.has-side { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: end; }
.gv-intro--l .gv-intro__title { font-size: clamp(30px, 2.6vw, 50px); line-height: 1.2; max-width: 680px; }
.gv-intro .gv-social { margin-bottom: 20px; }
.gv-intro__side p { font-size: 20px; line-height: 26px; color: #000; margin-bottom: 14px; }
.gv-intro__side img { width: 274px; height: auto; }
.gv-intro__main .gv-intro__body { max-width: 690px; }
@media (max-width: 900px) { .gv-intro.has-side { grid-template-columns: 1fr; } }

/* ---------- Mosaic: extra sizes & gallery images ---------- */
.gv-tile--3x1 { grid-column: span 3; aspect-ratio: auto; }
.gv-tile--2x2 { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.gv-tile--image.is-framed { border: 1px solid #c5c5c5; box-sizing: border-box; background: #fff; }
.gv-tile--image.is-framed .gv-tile__media { object-fit: contain; }
.gv-tile__cover { position: absolute; inset: 0; z-index: 2; }
.gv-tile--image:hover .gv-tile__media { transform: scale(1.03); }
@media (max-width: 1100px) { .gv-tile--3x1, .gv-tile--2x2 { grid-column: span 2; grid-row: auto; aspect-ratio: 2 / 1; } }
@media (max-width: 640px) { .gv-tile--3x1, .gv-tile--2x2 { grid-column: auto; aspect-ratio: 1; } }

/* Play button (video component) */
.gv-play { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; border: 0; padding: 0; background: transparent; cursor: pointer; }
.gv-play__icon { width: clamp(52px, 3.2vw, 62px); aspect-ratio: 1; border-radius: 50%; background: rgba(32,23,71,.7); border: 1.5px solid #fff; backdrop-filter: blur(7.3px); -webkit-backdrop-filter: blur(7.3px); position: relative; transition: transform .25s var(--gv-ease), background-color .25s; box-shadow: 0 6px 20px rgba(0,0,0,.25); }
.gv-play__icon::after { content: ""; position: absolute; left: 54%; top: 50%; transform: translate(-50%, -50%); border-style: solid; border-width: 10px 0 10px 16px; border-color: transparent transparent transparent #fff; }
.gv-play:hover .gv-play__icon, .gv-play:focus-visible .gv-play__icon { transform: scale(1.08); }
.gv-video { position: relative; aspect-ratio: 736 / 414; background: var(--gv-grey-bg); overflow: hidden; }
.gv-video > img, .gv-video__player { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.gv-tile .gv-video__player { z-index: 4; background: #000; }

/* ---------- Card grid (projects, news, vacancies, offices) ---------- */
.gv-card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 60px var(--gv-gap); }
.gv-news-grid .gv-card-grid { row-gap: 45px; }
.gv-card { display: flex; flex-direction: column; background: var(--gv-grey-bg); }
.gv-card__media { display: block; aspect-ratio: 1; overflow: hidden; background: #e9e9e9; }
.gv-card__media--short { aspect-ratio: 432 / 400; }
.gv-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--gv-ease); }
.gv-card:hover .gv-card__media img { transform: scale(1.04); }
.gv-card__body { flex: 1; display: flex; flex-direction: column; gap: 16px; padding: 20px; }
.gv-card__title { font-weight: 600; font-size: clamp(17px, 1.04vw, 20px); line-height: 1.3; color: var(--gv-navy); }
.gv-card__title a { text-decoration: none; }
.gv-card__title a:hover { text-decoration: underline; }
.gv-card__text, .gv-card__meta { font-size: 16px; line-height: 24px; color: var(--gv-navy); }
.gv-card__meta span { display: block; text-transform: uppercase; }
.gv-card__date { font-size: 15px; line-height: 22px; color: var(--gv-navy); }
.gv-card__link { margin-top: auto; align-self: flex-start; font-weight: 600; font-size: 16px; line-height: 24px; color: var(--gv-navy); text-decoration: underline; text-underline-offset: 3px; }
.gv-card__link:hover { color: var(--gv-purple); }
.gv-projects .gv-heading, .gv-vacancies .gv-eyebrow { margin-bottom: 40px; }
.gv-projects .gv-center, .gv-team-grid .gv-center { margin-top: 50px; }
.gv-projects[aria-busy="true"] .gv-card-grid { opacity: .6; transition: opacity .2s; }
@media (max-width: 1100px) { .gv-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px var(--gv-gap); } }
@media (max-width: 560px) { .gv-card-grid { grid-template-columns: 1fr; } }

.gv-office__addr { font-style: normal; font-size: 15px; line-height: 22px; }
.gv-office__contact { font-size: 15px; line-height: 22px; }
.gv-office__contact a { text-decoration: none; }
.gv-office__contact a:hover { text-decoration: underline; }

/* Pagination */
.gv-pagination { margin-top: 50px; }
.gv-pagination ul { display: flex; justify-content: center; gap: 8px; list-style: none; }
.gv-pagination a, .gv-pagination span { display: inline-flex; min-width: 40px; height: 40px; align-items: center; justify-content: center; padding: 0 10px; border: 1.5px solid var(--gv-navy); text-decoration: none; font-weight: 600; color: var(--gv-navy); box-sizing: border-box; }
.gv-pagination .current { background: var(--gv-navy); color: #fff; }

/* ---------- Cards widget ---------- */
.gv-cards .gv-heading { margin-bottom: 40px; }
.gv-cards__grid { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: var(--gv-gap); align-items: stretch; }
.gv-cards__grid--narrow { max-width: calc(1120px + 2 * var(--gv-gutter)); gap: 20px; align-items: start; }
.gv-ccard { display: flex; flex-direction: column; }
.gv-ccard__media { position: relative; aspect-ratio: 619 / 504; overflow: hidden; background: var(--gv-grey-bg); }
.gv-ccard__media img { width: 100%; height: 100%; object-fit: cover; }
.gv-ccard__body { flex: 1; display: flex; flex-direction: column; gap: 14px; padding: 30px 38px 30px; background: var(--card); color: #fff; }
.gv-ccard__title { font-weight: 600; font-size: clamp(19px, 1.25vw, 24px); line-height: 1.3; }
.gv-ccard__text { font-size: 16px; line-height: 24px; }
.gv-ccard__more { margin-top: auto; align-self: flex-end; }
.gv-cards--title-image .gv-ccard__media { aspect-ratio: 1; }
.gv-cards--title-image .gv-ccard__overlay { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 20px; color: #fff; font-weight: 600; font-size: clamp(32px, 2.6vw, 50px); letter-spacing: -.02em; }
.gv-cards--title-image .gv-ccard__body { background: var(--gv-grey-bg); color: var(--gv-navy); padding: 22px 16px 24px; flex: 0 0 auto; }
.gv-cards--title-image .gv-ccard__text { font-size: 18px; line-height: 25px; }
.gv-cards--list .gv-ccard__body { background: var(--gv-navy); padding: 18px 22px 40px; min-height: 420px; }
.gv-cards--list .gv-ccard__title { font-size: clamp(20px, 1.35vw, 26px); }
.gv-ccard__list { padding-left: 18px; font-size: 14px; line-height: 20px; }
.gv-ccard__list li + li { margin-top: 2px; }
@media (max-width: 1100px) { .gv-cards__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .gv-cards__grid, .gv-cards__grid--narrow { grid-template-columns: 1fr; } .gv-cards--list .gv-ccard__body { min-height: 0; } }

/* ---------- Text + stats ---------- */
.gv-tstats__title { font-weight: 600; font-size: clamp(32px, 3.125vw, 60px); line-height: 1.17; letter-spacing: -.02em; }
.gv-tstats__grid { display: grid; grid-template-columns: minmax(0, 610px) minmax(0, 1fr); gap: clamp(32px, 3.6vw, 70px); margin-top: 30px; align-items: start; }
.gv-tstats__list { display: grid; grid-template-columns: repeat(3, minmax(0, 188px)); gap: 29px; list-style: none; }
.gv-tstats__box { background: var(--gv-navy); color: #fff; padding: 14px 12px 20px; aspect-ratio: 188 / 187; display: flex; flex-direction: column; box-sizing: border-box; }
.gv-tstats__num { font-weight: 600; font-size: clamp(44px, 3.4vw, 66px); line-height: 1.05; letter-spacing: -.02em; }
.gv-tstats__num sup { font-size: .5em; vertical-align: top; position: relative; top: .1em; margin-left: 2px; }
.gv-tstats__label { margin-top: 6px; font-size: clamp(14px, .95vw, 18px); line-height: 1.25; }
.gv-tstats__note { margin-top: 14px; font-size: 11px; font-weight: 600; text-transform: uppercase; }
.gv-tstats__note a { color: var(--gv-purple); }
@media (max-width: 1100px) { .gv-tstats__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .gv-tstats__list { grid-template-columns: 1fr 1fr; } }

/* ---------- Team ---------- */
.gv-team__title { text-align: center; margin-bottom: 20px; }
.gv-team__box { position: relative; margin-inline: var(--gv-gutter); border: 1.5px solid var(--gv-navy); padding: 16px 0 34px; overflow: hidden; }
.gv-team__switch, .gv-team__group { display: flex; justify-content: center; align-items: center; position: relative; margin-bottom: 14px; }
.gv-team__switch select, .gv-team__group { appearance: none; -webkit-appearance: none; border: 0; background: transparent; font: 600 22px/30px var(--gv-font); color: var(--gv-navy); text-align: center; padding: 0 0 18px; cursor: pointer; }
.gv-team__chev { position: absolute; bottom: 6px; left: 50%; width: 9px; height: 9px; transform: translateX(-50%) rotate(-135deg); color: var(--gv-navy); pointer-events: none; }
.gv-team__viewport { padding-inline: 4px; }
.gv-team__track > li { flex: 0 0 clamp(220px, 14.7vw, 282px); }
.gv-team .gv-pager { margin-top: 28px; }
.gv-team .gv-center { margin-top: 36px; }
.gv-person { display: flex; flex-direction: column; background: var(--gv-grey-bg); }
.gv-person__media { aspect-ratio: 282 / 201; background: #b3b3b3; overflow: hidden; }
.gv-person__media img { width: 100%; height: 100%; object-fit: cover; }
.gv-person__body { position: relative; flex: 1; padding: 14px 14px 30px; }
.gv-person__name { font-weight: 600; font-size: 14px; line-height: 20px; }
.gv-person__role { font-weight: 600; font-size: 11px; line-height: 16px; margin-top: 2px; }
.gv-person__bio { margin-top: 8px; font-size: 11px; line-height: 16px; }
.gv-person__li { position: absolute; right: 10px; bottom: 8px; }
.gv-person__li img { width: 14px; height: 14px; }
.gv-team-grid__filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px 40px; margin-bottom: 40px; }
.gv-team-grid__list { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px var(--gv-gap); list-style: none; }
.gv-team-grid__list .gv-person__media { aspect-ratio: 280 / 200; }
@media (max-width: 1100px) { .gv-team-grid__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .gv-team-grid__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Scrolling text cards ---------- */
.gv-tmarquee__track { gap: 6px; padding-right: 6px; animation-duration: var(--speed, 80s); }
.gv-tcard { width: clamp(240px, 21.4vw, 412px); aspect-ratio: 412 / 400; box-sizing: border-box; display: grid; place-items: center; padding: 30px; background-size: cover; background-position: center; color: #fff; text-align: center; font-size: clamp(15px, 1.05vw, 20px); line-height: 1.4; }
.gv-tmarquee__after { flex-direction: column; align-items: center; gap: 24px; margin-top: 40px; }
.gv-tmarquee__after p { max-width: 760px; font-size: 16px; line-height: 24px; }

/* ---------- Info boxes (project / vacancy) ---------- */
.gv-infobox__label { font-weight: 700; font-size: 20px; line-height: 30px; text-transform: uppercase; color: var(--gv-grey-light); padding-left: 20px; }
.gv-infobox__value { margin-top: 4px; background: var(--gv-grey-bg); padding: 10px 20px; min-height: 44px; box-sizing: border-box; font-weight: 500; font-size: 16px; line-height: 24px; letter-spacing: -.02em; color: var(--gv-navy); }
.gv-project__head .gv-eyebrow { color: #000; letter-spacing: -.02em; }
.gv-infobox__value a { text-decoration: none; }
.gv-infobox__value a:hover { text-decoration: underline; }
.gv-infobox__value span { margin: 0 6px; }

/* ---------- Single project ---------- */
.gv-project__strip { display: grid; grid-template-columns: 2.06fr 1fr 1fr; gap: var(--gv-gap); }
.gv-project__strip figure { margin: 0; aspect-ratio: auto; height: clamp(240px, 22.3vw, 428px); overflow: hidden; }
.gv-project__strip--1 { grid-template-columns: 1fr; }
.gv-project__strip--2 { grid-template-columns: 2fr 1fr; }
.gv-project__strip img { width: 100%; height: 100%; object-fit: cover; }
.gv-project__meta, .gv-vacancy__meta { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gv-gap); margin-top: clamp(40px, 4.2vw, 80px); }
.gv-vacancy__meta { grid-template-columns: repeat(3, 1fr); }
.gv-project__head { margin-top: 44px; }
.gv-project__lead { margin-top: 8px; font-weight: 600; font-size: clamp(26px, 2.08vw, 40px); line-height: 1.25; letter-spacing: -.02em; color: var(--gv-navy); max-width: 1500px; }
.gv-project__body { display: grid; grid-template-columns: minmax(0, 735px) minmax(0, 736px); justify-content: space-between; gap: 40px; margin-top: 40px; }
.gv-project__aside { padding-top: 120px; }
.gv-prose { font-size: 16px; line-height: 24px; color: var(--gv-navy); }
.gv-prose > * + * { margin-top: 12px; }
.gv-prose h2, .gv-prose h3 { font-weight: 600; font-size: 20px; line-height: 24px; margin-top: 40px; }
.gv-prose h2 + *, .gv-prose h3 + * { margin-top: 10px; }
.gv-prose h4 { font-weight: 600; font-size: 16px; line-height: 24px; background: var(--gv-grey-bg); padding: 10px 16px; margin-top: 30px; }
.gv-prose ul { padding-left: 22px; }
.gv-prose li + li { margin-top: 4px; }
.gv-prose a { color: var(--gv-navy); text-decoration: underline; }
.gv-prose--sm { font-size: 15px; line-height: 22px; }
.gv-project__logos { margin-top: var(--gv-space); }
@media (max-width: 900px) {
	.gv-project__strip { grid-template-columns: 1fr 1fr; }
	.gv-project__strip figure:first-child { grid-column: 1 / -1; }
	.gv-project__meta, .gv-vacancy__meta, .gv-project__body, .gv-vacancy__body { grid-template-columns: 1fr; }
	.gv-project__aside { padding-top: 0; }
}

/* ---------- Single vacancy ---------- */
.gv-vacancy__hero { height: clamp(240px, 22.3vw, 428px); overflow: hidden; }
.gv-vacancy__hero img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.gv-vacancy__body { display: grid; grid-template-columns: minmax(0, 735px) minmax(0, 736px); justify-content: space-between; gap: 40px; margin-top: 30px; }
.gv-vacancy__details > h4:first-child, .gv-vacancy__details > h3:first-child { margin-top: 0; }
.gv-vacancy__ice { margin-top: 60px; }
.gv-vacancy__ice p { font-size: 20px; line-height: 26px; margin-bottom: 14px; color: #000; }
.gv-vacancy__ice img { width: 274px; height: auto; }

/* ---------- Article ---------- */
.gv-article__head { margin-top: 44px; }
.gv-article__media { margin-top: 40px; }
.gv-article__media img { width: 100%; max-height: 640px; object-fit: cover; }
.gv-article__body { max-width: 860px; margin-top: 40px; }
.gv-article__back { margin-top: 50px; }

@media (max-width: 767px) {
	.gv-hero__vacancy, .gv-hero__filters { position: relative; inset: auto; width: 100%; z-index: 2; }
	.gv-hero__vacancy { padding: 0 var(--gv-gutter) 24px; box-sizing: border-box; }
	.gv-hero--panel-vacancy .gv-hero__stage, .gv-hero--panel-filters .gv-hero__stage { display: flex; flex-direction: column; justify-content: flex-end; }
	.gv-hero__filters { padding: 20px; gap: 12px; flex-direction: column; align-items: stretch; }
	.gv-hero__filters .gv-btn { margin-left: 0; }
	.gv-hero--small .gv-hero__stage { min-height: 420px; }
}

/* Elementor editor: show everything immediately (no entrance animations while editing) */
.elementor-editor-active .gv-slide-in, .elementor-editor-active .gv-reveal { opacity: 1 !important; transform: none !important; animation: none !important; }
.elementor-editor-active .gv-draw path { stroke-dashoffset: 0 !important; animation: none !important; }

.gv-heading__social { justify-content: center; margin-top: 6px; }
.gv-heading--left .gv-heading__social { justify-content: flex-start; }
.gv-heading__cta { margin-top: 30px; }
.gv-offices__label { margin: 0 0 20px; }
.gv-intro .gv-social { font-size: 20px; letter-spacing: -.05em; }
.gv-intro .gv-social img { height: 24px; }

/* Service page heroes: left-to-right shade (Figma: black 45% → transparent) */
.gv-hero--medium:not(.gv-hero--tint):not(.gv-hero--pattern) .gv-hero__shade { background: linear-gradient(90deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.2) 45%, rgba(0,0,0,0) 75%); }
.gv-hero--pattern .gv-hero__img { object-fit: cover; }
.gv-ccard__media.is-contain { background: #fff; border: 1px solid rgba(0,0,0,.4); border-bottom: 0; box-sizing: border-box; }
.gv-ccard__media.is-contain img { object-fit: contain; }
.gv-tile--2x1 { aspect-ratio: 2 / 1; }
.gv-tile--3x1 { aspect-ratio: 3 / 1; }
.gv-tile--image.is-framed { border-color: rgba(0,0,0,.4); }
.gv-tile--image.is-framed .gv-tile__media { object-fit: cover; }
.gv-split__lead { color: var(--gv-navy); }
.gv-intro__title { max-width: 1496px; }
.gv-intro--l .gv-intro__title { max-width: 680px; }

/* Elementor's ".elementor img { height:auto; max-width:100% }" beats single-class rules – restore cover images */
.elementor .gv-hero__img, .elementor .gv-tile__media, .elementor .gv-stats__img,
.elementor .gv-card__media img, .elementor .gv-news-card__media img, .elementor .gv-ccard__media img,
.elementor .gv-person__media img, .elementor .gv-split__media img, .elementor .gv-video > img { height: 100%; max-width: none; width: 100%; }
.elementor .gv-split__media img { height: auto; }
.elementor .gv-logos__track img { width: auto; max-width: 300px; height: var(--logo-h, 65px); }

/* Mobile hero: the active slide sets the height so text, caption and panels stack without overlapping */
@media (max-width: 767px) {
	.gv-hero__stage, .gv-hero--panel-vacancy .gv-hero__stage, .gv-hero--panel-filters .gv-hero__stage { min-height: 0; height: auto; display: block; }
	.gv-hero__slide.is-active { position: relative; }
	.gv-hero__slide { justify-content: flex-start; }
	.gv-hero__content { padding-top: 90px; min-height: 260px; box-sizing: border-box; }
	.gv-hero--large .gv-hero__content { min-height: 420px; display: flex; flex-direction: column; justify-content: flex-end; }
}

.gv-hero__slide.is-compact .gv-hero__title { font-size: clamp(34px, 3.9vw, 75px); }
.gv-filter-toggle { border: 0; cursor: pointer; padding: 10px 48px 10px 20px; font: 400 16px/22px var(--gv-font); color: var(--gv-navy); }
.gv-filter-toggle[aria-pressed="true"] { background: var(--gv-navy); color: #fff; }
.gv-filter-toggle[aria-pressed="true"] .gv-select__chev { color: #fff; }
.gv-filter-toggle .gv-select__chev { transform: rotate(135deg); }
/* Wide project tiles: "Learn more" appears on hover (Figma Component 1–4 Variant2) */
.gv-tile--2x1 .gv-tile__more, .gv-tile--3x1 .gv-tile__more, .gv-tile--2x2 .gv-tile__more { display: none; }
@media (hover: hover) {
	.gv-tile--2x1:hover .gv-tile__more, .gv-tile--2x1:focus-visible .gv-tile__more,
	.gv-tile--3x1:hover .gv-tile__more, .gv-tile--2x2:hover .gv-tile__more { display: inline-flex; animation: gv-fade .35s var(--gv-ease); }
}

/* Play button artwork supplied by Glanville */
.gv-play__icon { background: url("../img/web/icons/play-button.png") center / contain no-repeat; border: 0; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; width: clamp(56px, 3.5vw, 66px); }
.gv-play__icon::after { display: none; }
.gv-play:hover .gv-play__icon, .gv-play:focus-visible .gv-play__icon { background-color: transparent; transform: scale(1.08); }
