/* Small screens: keep the header compact and the content readable. */
.site-header .votan-header-languages .gt_switcher {
	position: relative;
	overflow: visible;
}
.site-header .votan-header-languages .gt_switcher .gt_option {
	position: absolute;
	top: 100%;
	right: 0;
	left: auto;
	bottom: auto;
	width: 170px;
	max-width: calc(100vw - 32px);
	max-height: min(320px, 55svh);
	/* The plugin calculates an inline height before our larger touch targets. */
	height: auto !important;
	overflow-y: auto;
	background: var(--votan-white);
	border: 1px solid var(--votan-border);
	border-radius: 6px;
}
.site-header .votan-header-languages .gt_switcher a {
	background-image: none !important;
	background-size: 0 0 !important;
	text-decoration: none;
}
@media (min-width: 768px) and (max-width: 1100px) {
	.site-header.has-languages .header-inner { grid-template-columns: minmax(0, 1fr) auto 44px auto; }
	.site-header.has-languages .votan-header-languages { grid-column: 2; grid-row: 1; width: auto; }
	.site-header.has-languages .header-contact { grid-column: 4; }
	.site-header.has-languages .menu-toggle { grid-column: 3; width: 44px; justify-content: center; padding: 10px; }
	.site-header.has-languages .menu-toggle > span:last-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
	.site-header.has-languages .primary-navigation { grid-row: 2; }
}
@media (max-width: 767px) {
	html { scroll-padding-top: 84px; }
	body { font-size: 16px; }
	.container { width: calc(100% - 40px); }
	.site-header .header-inner {
		width: calc(100% - 32px);
		min-height: 68px;
		padding-block: 10px;
		gap: 8px;
		grid-template-columns: minmax(0, 1fr) 44px;
	}
	.site-header.has-languages .header-inner { grid-template-columns: minmax(0, 1fr) auto 44px; }
	.site-header .header-inner .custom-logo { width: auto; max-width: min(132px, 100%); max-height: 40px; }
	.site-header .wordmark { font-size: 32px; }
	.site-header .menu-toggle:not([hidden]) {
		grid-column: -2 / -1;
		grid-row: 1;
		width: 44px;
		height: 44px;
		padding: 12px;
		justify-content: center;
		margin: 0;
	}
	/* Keep the original accessible button name, while showing the icon only. */
	.site-header .menu-toggle > span:last-child {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip-path: inset(50%);
	}
	.site-header .votan-header-languages {
		grid-column: 2;
		grid-row: 1;
		width: auto;
		max-width: 112px;
		order: initial;
	}
	.site-header .votan-header-languages .gtranslate_wrapper { gap: 2px; justify-content: flex-end; }
	.site-header .votan-header-languages .gt_switcher { width: 110px; font-size: 13px; }
	.site-header .votan-header-languages .gt_switcher .gt_selected { background: var(--votan-white); border-radius: 5px; }
	.site-header .votan-header-languages .gt_switcher .gt_selected a {
		box-sizing: border-box;
		display: flex;
		align-items: center;
		gap: 5px;
		width: 110px;
		min-height: 44px;
		padding: 8px 20px 8px 7px;
		border-color: var(--votan-border);
		border-radius: 5px;
		font-size: 13px;
		line-height: 1.4;
		color: var(--votan-primary);
	}
	.site-header .votan-header-languages .gt_switcher a img { width: 18px; height: 18px; flex-shrink: 0; }
	.site-header .votan-header-languages .gt_switcher .gt_selected a::after { right: 5px; width: 10px; }
	.site-header .votan-header-languages .gt_switcher .gt_option a { font-size: 14px; padding: 12px; line-height: 1.4; }
	.site-header .votan-header-languages a.glink { min-width: 32px; min-height: 44px; }
	.site-header .votan-header-languages select { max-width: 110px; font-size: 14px; padding: 8px 4px; }
	.site-header .primary-navigation { grid-column: 1 / -1; grid-row: 2; }
	.site-header .menu a { font-size: 14px; padding: 13px 8px; }
	.site-header .mobile-contact { width: 100%; font-size: 13px; }
	.hero { display: flex; flex-direction: column; align-items: stretch; min-height: 0; }
	.hero .hero-content { flex: none; width: calc(100% - 40px); padding: 30px 0 24px; }
	.hero h1 { font-size: clamp(29px, 8vw, 40px); line-height: 1.14; letter-spacing: -.03em; }
	.hero .hero-description { max-width: 36ch; font-size: 16px; line-height: 1.65; }
	.hero .hero-eyebrow { font-size: 10px; line-height: 1.6; max-width: 100%; }
	.hero .hero-image {
		position: relative;
		inset: auto;
		z-index: 0;
		display: block;
		width: 100%;
		height: auto;
		max-width: 100%;
		object-fit: contain;
		object-position: center;
	}
	.hero .hero-shade { display: none; }
	.button { font-size: 12px; min-height: 48px; padding: 14px 18px; gap: 14px; }
	.hero .button-row .button { width: 100%; }
	.hero .hero-bottom {
		position: relative;
		inset: auto;
		width: calc(100% - 40px);
		padding: 0 0 18px;
		font-size: 10px;
		line-height: 1.5;
		letter-spacing: .04em;
	}
	.section { padding-block: 40px; }
	h2 { font-size: clamp(26px, 7vw, 32px); }
	.brand-grid { gap: 16px; }
	.brand-card { padding: 22px 18px; }
	.brand-card:has(.brand-logo) { display: grid; grid-template-columns: 108px minmax(0, 1fr); gap: 8px 16px; text-align: left; align-items: center; }
	.brand-card .brand-logo { grid-column: 1; grid-row: 1 / 4; height: 150px; max-width: 100%; margin: 0; }
	.brand-card h3 { font-size: 18px; margin: 0; letter-spacing: -.02em; }
	.brand-card:has(.brand-logo) .brand-rule { display: none; }
	.brand-card p { font-size: 14px; line-height: 1.65; margin-bottom: 0; }
	.brand-card .text-link { font-size: 12px; min-height: 44px; gap: 8px; }
	.brand-card:has(.brand-logo) .text-link { grid-column: 2; }
	.about-has-image .about-copy { padding: 40px 20px 26px; }
	.about .about-text { font-size: 15px; line-height: 1.75; }
	.about .stats { gap: 20px; }
	.about .stats dt { font-size: 12px; }
	.about .button { width: 100%; }
	.project-carousel .project-track { gap: 16px; grid-auto-columns: 92%; padding-inline: 3px; scroll-padding-inline: 3px; }
	.project-card h3 { font-size: 20px; line-height: 1.35; }
	.project-card p { font-size: 14px; line-height: 1.65; }
	.project-card .project-label { font-size: 11px !important; }
	.project-arrow { top: 80px; }
	.news-layout .empty-news { font-size: 15px; }
	.footer-cta { padding-block: 32px; }
	.footer-cta p, .footer-brand p { font-size: 14px; }
	.footer-cta .button { width: 100%; }
	.footer-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-block: 32px; }
	.footer-brand, .contact-details { grid-column: auto; }
	.footer-grid h3 { font-size: 13px; margin-bottom: 14px; }
	.site-footer .footer-grid a:not(.wordmark):not(.custom-logo-link) { font-size: 14px; line-height: 1.7; padding-block: 8px; margin-bottom: 0; }
	.site-footer .contact-details address { font-size: 14px; line-height: 1.7; }
	.footer-bottom { font-size: 12px; gap: 8px 20px; }
	.footer-bottom a { padding-block: 10px; }
}
@media (max-width: 359px) {
	.site-header .header-inner .custom-logo { max-width: 106px; }
	.brand-card:has(.brand-logo) { grid-template-columns: 88px minmax(0, 1fr); gap: 8px 12px; padding: 18px 14px; }
	.brand-card .brand-logo { height: 130px; }
}
