body {
	font-family: var(--font-sans);
	color: var(--color-text-primary);
	background-color: var(--color-surface);
}

.site-header__menu-icon[hidden] {
	display: none;
}

.site-header__drawer {
	border-top: 1px solid var(--color-border);
	background: var(--color-surface);
}

.site-header--menu-open .site-header__drawer {
	box-shadow: var(--shadow-card);
}

body.site-header-menu-open {
	overflow: hidden;
}

@media (min-width: 80rem) {
	body.site-header-menu-open {
		overflow: auto;
	}
}

.services-slider__category {
	min-height: calc(2 * 1em);
	line-height: 1;
}

.services-slider__viewport {
	cursor: grab;
	touch-action: pan-y;
}

.services-slider__viewport.is-dragging {
	cursor: grabbing;
	user-select: none;
}

.services-slider__viewport.is-dragging img {
	pointer-events: none;
}

.services-slider__stage {
	position: relative;
}

.services-slider__arrow {
	position: absolute;
	top: 50%;
	z-index: 10;
	translate: 0 -50%;
}

.services-slider__arrow--prev {
	left: 8px;
}

.services-slider__arrow--next {
	right: 8px;
}

.equipment-feature__icon {
	display: flex;
	align-items: center;
	justify-content: center;
}

.doings-section__divider {
	width: 100%;
}

.doings-card__connector {
	position: absolute;
	top: 23.2%;
	left: 33.7%;
	width: 61.4%;
	height: 0;
	pointer-events: none;
}

.doings-card__connector-graphic {
	position: absolute;
	inset: -3px -1% -3px -1%;
	display: block;
	width: 100%;
	height: auto;
	max-width: none;
}

.legal-document__content h2 {
	margin-top: 2rem;
	margin-bottom: 0.75rem;
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 1.35;
	color: var(--color-text-primary);
}

.legal-document__content h3 {
	margin-top: 1.5rem;
	margin-bottom: 0.5rem;
	font-size: 1.125rem;
	font-weight: 600;
	line-height: 1.35;
	color: var(--color-text-primary);
}

.legal-document__content p,
.legal-document__content ul,
.legal-document__content ol {
	margin-bottom: 1rem;
}

.legal-document__content ul,
.legal-document__content ol {
	padding-left: 1.25rem;
}

.legal-document__content li + li {
	margin-top: 0.5rem;
}

.legal-document__content code {
	border-radius: 0.25rem;
	background: var(--color-decoration);
	padding: 0.125rem 0.375rem;
	font-size: 0.875em;
	color: var(--color-text-primary);
}

.contacts-map__seo-links {
	position: absolute;
	overflow: hidden;
	width: 1px;
	height: 1px;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
}

.contacts-map__frame {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

.portfolio-mosaic__cell {
	min-height: 0;
	cursor: zoom-in;
}

.portfolio-mosaic__cell--hero {
	min-height: 12rem;
}

@media (min-width: 40rem) {
	.portfolio-mosaic__cell--hero {
		min-height: 0;
	}
}

.production-gallery__link {
	cursor: zoom-in;
}

.cookie-consent {
	position: fixed;
	inset-inline: 0;
	bottom: 0;
	z-index: 60;
	padding: 1rem;
	pointer-events: none;
}

.cookie-consent--visible {
	pointer-events: auto;
}

.cookie-consent__panel {
	max-width: var(--container-content);
	margin-inline: auto;
	padding: 1.5rem;
	border: 1px solid var(--color-border);
	border-radius: 0.5rem;
	background: var(--color-surface);
	box-shadow: var(--shadow-card);
}

.cookie-consent__title {
	margin: 0 0 0.75rem;
	font-size: 1.125rem;
	font-weight: 600;
	line-height: 1.35;
	color: var(--color-text-primary);
}

.cookie-consent__text {
	margin: 0 0 1rem;
	font-size: 1rem;
	line-height: 1.35;
	color: var(--color-text-secondary);
}

.cookie-consent__link {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.cookie-consent__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.cookie-consent__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.75rem 1.5rem;
	border-radius: 0.25rem;
	font-size: 1rem;
	font-weight: 500;
	line-height: 1;
	white-space: nowrap;
	transition: opacity 0.2s ease;
}

.cookie-consent__btn:hover {
	opacity: 0.9;
}

.cookie-consent__btn--primary {
	border: 1px solid var(--color-brand);
	background: var(--color-brand);
	color: #fff;
}

.cookie-consent__btn--outline {
	border: 1px solid var(--color-brand);
	background: transparent;
	color: var(--color-text-secondary);
}

.cookie-consent__btn--ghost {
	border: 1px solid transparent;
	background: transparent;
	color: var(--color-text-secondary);
}

.cookie-consent__options {
	display: grid;
	gap: 0.75rem;
	margin: 0 0 1rem;
	padding: 0;
	list-style: none;
}

.cookie-consent__option {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.75rem 1rem;
	border: 1px solid var(--color-border);
	border-radius: 0.5rem;
	background: var(--color-background);
}

.cookie-consent__option-title {
	margin: 0;
	font-size: 1rem;
	font-weight: 500;
	color: var(--color-text-primary);
}

.cookie-consent__option-note {
	margin: 0.25rem 0 0;
	font-size: 0.875rem;
	color: var(--color-text-secondary);
}

.cookie-consent__badge {
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--color-text-secondary);
}

.cookie-consent__toggle {
	position: relative;
	display: inline-flex;
	align-items: center;
}

.cookie-consent__toggle input {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
}

.cookie-consent__toggle-ui {
	display: block;
	width: 2.75rem;
	height: 1.5rem;
	border-radius: 999px;
	background: var(--color-decoration);
	transition: background-color 0.2s ease;
}

.cookie-consent__toggle-ui::after {
	content: '';
	position: absolute;
	top: 0.1875rem;
	left: 0.1875rem;
	width: 1.125rem;
	height: 1.125rem;
	border-radius: 999px;
	background: #fff;
	transition: transform 0.2s ease;
}

.cookie-consent__toggle input:checked + .cookie-consent__toggle-ui {
	background: var(--color-brand);
}

.cookie-consent__toggle input:checked + .cookie-consent__toggle-ui::after {
	transform: translateX(1.25rem);
}

.cookie-consent__toggle input:focus-visible + .cookie-consent__toggle-ui {
	outline: 2px solid var(--color-brand);
	outline-offset: 2px;
}

body.cookie-consent-open {
	overflow: hidden;
}

@media (min-width: 40rem) {
	.cookie-consent__panel {
		padding: 2rem;
	}
}

/* Dev mode: Tailwind Browser loads utilities; flag for debugging. */
html.isprint-tailwind-dev::before {
	content: 'Tailwind DEV';
	position: fixed;
	top: 0;
	right: 0;
	z-index: 9999;
	padding: 0.25rem 0.5rem;
	font: 600 11px/1 var(--font-sans, system-ui);
	color: #fff;
	background: #e4650e;
	pointer-events: none;
}

/* Section gap: h-8 @ 375px → h-24 @ 1280px+ */
.home-section-spacer {
	height: clamp(2rem, 0.5rem + 6.875vw, 6rem);
}

.contact-form__field-error {
	margin: 0;
	font-size: 0.875rem;
	line-height: 1.35;
	color: #b91c1c;
}

.contact-form__captcha--error {
	outline: 1px solid #ef4444;
	outline-offset: 4px;
	border-radius: 0.5rem;
}

.contact-form--submitting {
	opacity: 0.7;
	pointer-events: none;
	transition: opacity 180ms ease;
}

.contact-form__status {
	opacity: 0;
	transform: translateY(4px);
	transition:
		opacity 180ms ease,
		transform 180ms ease;
}

.contact-form__status.is-visible {
	opacity: 1;
	transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
	.contact-form--submitting,
	.contact-form__status {
		transition: none;
		transform: none;
	}
}
