/* SPDX-FileCopyrightText: 2026 WEBDEPLOY S.R.L.
 * SPDX-License-Identifier: AGPL-3.0-only
 */
/* SPDX-FileCopyrightText: 2026 WEBDEPLOY S.R.L.
 * SPDX-License-Identifier: AGPL-3.0-only
 */
@layer reset, controls, layout;
@layer reset {
	*,
	::before,
	::after,
	::backdrop {
		box-sizing: border-box;
		border: 0 solid;
		margin: 0;
		padding: 0;
	}
	html {
		line-height: 1.5;
		-webkit-text-size-adjust: 100%;
		tab-size: 4;
		font-family: var(--font-sans);
		-webkit-tap-highlight-color: transparent;
	}
	h1,
	h2,
	h3,
	h4,
	h5,
	h6 {
		font-size: inherit;
		font-weight: inherit;
	}
	a {
		color: inherit;
		text-decoration: inherit;
	}
	b,
	strong {
		font-weight: bolder;
	}
	code,
	pre,
	kbd,
	samp {
		font-family: var(--font-mono);
		font-size: 1em;
	}
	small {
		font-size: 80%;
	}
	sup,
	sub {
		position: relative;
		font-size: 75%;
		line-height: 0;
		vertical-align: baseline;
	}
	sup {
		top: -0.5em;
	}
	sub {
		bottom: -0.25em;
	}
	ol,
	ul,
	menu {
		list-style: none;
	}
	img,
	svg,
	canvas,
	video,
	iframe,
	embed,
	object {
		display: block;
		vertical-align: middle;
	}
	img,
	video {
		max-width: 100%;
		height: auto;
	}
	button,
	input,
	select,
	textarea {
		font: inherit;
		letter-spacing: inherit;
		color: inherit;
		border-radius: 0;
		background-color: transparent;
		opacity: 1;
	}
	button,
	[type='button'],
	[type='reset'],
	[type='submit'] {
		appearance: button;
	}
	::placeholder {
		opacity: 1;
		color: color-mix(in srgb, currentColor 50%, transparent);
	}
}
[hidden]:not([hidden='until-found']) {
	display: none !important;
}

/* SPDX-FileCopyrightText: 2026 WEBDEPLOY S.R.L.
 * SPDX-License-Identifier: AGPL-3.0-only
 */
/* ==========================================
   FONTS: Self-hosted @font-face definitions
   ========================================== */

/* Space Mono - Regular (400) */
@font-face {
	font-family: 'Space Mono';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('/assets/media/fonts/space-mono-400-latin-ext.44ad50c760fa8f5b.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: 'Space Mono';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('/assets/media/fonts/space-mono-400-latin.fb4a81a2d0a893e5.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;
}

/* Space Mono - Bold (700) */
@font-face {
	font-family: 'Space Mono';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('/assets/media/fonts/space-mono-700-latin-ext.52edd9a8959ec3e6.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: 'Space Mono';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('/assets/media/fonts/space-mono-700-latin.2d46bd159b53f55c.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;
}

/* VT323 - Regular (400) */
@font-face {
	font-family: 'VT323';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('/assets/media/fonts/vt323-400-latin-ext.4435f062ebe744d0.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: 'VT323';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('/assets/media/fonts/vt323-400-latin.8ddbebcc10481541.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;
}

/* Interface characters use smaller files with the original glyphs and hints.
   The full Latin and extended faces above supply every other supported character. */
@font-face {
	font-family: 'Space Mono';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('/assets/media/fonts/space-mono-400-ui.0efcdb67be429c71.woff2') format('woff2');
	unicode-range: U+0020-007E, U+00A0, U+00A9, U+00B0, U+00B7, U+2013-2014, U+2018-2019, U+201C-201D, U+2022, U+2026, U+203A, U+20AC, U+2122, U+2190-2193;
}
@font-face {
	font-family: 'Space Mono';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('/assets/media/fonts/space-mono-700-ui.4173884493027659.woff2') format('woff2');
	unicode-range: U+0020-007E, U+00A0, U+00A9, U+00B0, U+00B7, U+2013-2014, U+2018-2019, U+201C-201D, U+2022, U+2026, U+203A, U+20AC, U+2122, U+2190-2193;
}
@font-face {
	font-family: 'VT323';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('/assets/media/fonts/vt323-400-ui.9921d9efa10c283e.woff2') format('woff2');
	unicode-range: U+0020-007E, U+00A0, U+00A9, U+00B0, U+00B7, U+2013-2014, U+2018-2019, U+201C-201D, U+2022, U+2026, U+203A, U+20AC, U+2122, U+2190-2193;
}

/* Pixelarticons free set (MIT, see /fonts/pixelarticons-LICENSE.txt).
   Only the glyphs in use are mapped; codepoints come from pixelarticons 2.4.2. */
@font-face {
	font-family: 'pixelarticons';
	font-style: normal;
	font-weight: 400;
	font-display: block;
	src: url('/assets/media/fonts/pixelarticons-site.4a82b71ebf731cd0.woff2') format('woff2');
}

.pixel-icon {
	inline-size: 1em;
	font-family: 'pixelarticons';
	font-weight: normal;
	font-style: normal;
	font-size: 24px;
	line-height: 1;
	display: inline-block;
	speak: never;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.pixel-icon-arrow-left::before {
	content: '\ea70';
}
.pixel-icon-calendar::before {
	content: '\eaed';
}
.pixel-icon-chevron-down::before {
	content: '\eb12';
}
.pixel-icon-clock::before {
	content: '\eb2f';
}
.pixel-icon-close::before {
	content: '\eb30';
}
.pixel-icon-instagram::before {
	content: '\ec07';
}
.pixel-icon-linkedin::before {
	content: '\ec62';
}
.pixel-icon-map::before {
	content: '\ec7d';
}
.pixel-icon-map-pin::before {
	content: '\ec7b';
}
.pixel-icon-menu::before {
	content: '\ec8b';
}

/* SPDX-FileCopyrightText: 2026 WEBDEPLOY S.R.L.
 * SPDX-License-Identifier: AGPL-3.0-only
 */
/* Custom theme configuration */
:root {
	/* ==========================================
     COLORS: Core palette
     ========================================== */
	--color-primary: #00f0ff;
	--color-secondary: #ff00ff;
	--color-background-dark: #050a10;
	--color-surface-dark: #0e1621;
	--color-surface-light: #15202e;

	/* Text colors */
	--color-text-body: #b0b8c4;
	--color-text-muted: #64748b;
	--color-text-heading: #ffffff;

	/* Border colors */
	--color-border-default: #1e293b;
	--color-border-muted: #334155;
	--color-border-strong: #475569;

	/* Border colors with theme accents (for decorative borders) */
	--color-border-primary-soft: rgba(0, 240, 255, 0.2);
	--color-border-primary: rgba(0, 240, 255, 0.3);
	--color-border-secondary-soft: rgba(255, 0, 255, 0.2);
	--color-border-secondary: rgba(255, 0, 255, 0.3);

	/* Social brand colors */
	--color-linkedin: #0077b5;
	--color-linkedin-hover: #005582;
	--color-instagram-start: #833ab4;
	--color-instagram-mid: #fd1d1d;
	--color-instagram-end: #fcb045;

	/* ==========================================
     TYPOGRAPHY
     ========================================== */
	--font-display: 'VT323', monospace;
	--font-mono: 'Space Mono', monospace;
	--font-sans: 'Space Mono', monospace;
	--font-reading: var(--font-mono);

	/* ==========================================
     SPACING & SIZING
     ========================================== */
	--radius: 0px;
	--radius-lg: 0px;
	--radius-xl: 0px;
	--radius-full: 0px;

	/* ==========================================
     SHADOWS
     ========================================== */
	--shadow-retro-primary: 4px 4px 0px 0px var(--color-primary);
	--shadow-retro-primary-soft: 4px 4px 0px 0px rgba(0, 240, 255, 0.3);
	--shadow-retro-secondary: 4px 4px 0px 0px var(--color-secondary);
	--shadow-retro-secondary-soft: 4px 4px 0px 0px rgba(255, 0, 255, 0.3);
	--shadow-retro-hover: 2px 2px 0px 0px;
	--shadow-glow-secondary: 0 0 15px rgba(255, 0, 255, 0.2);

	/* ==========================================
     ANIMATION: Easing curves
     ========================================== */
	--ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
	--ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
	--ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

/* SPDX-FileCopyrightText: 2026 WEBDEPLOY S.R.L.
 * SPDX-License-Identifier: AGPL-3.0-only
 */
:root {
	--slate-400: oklch(70.4% 0.04 256.788);
	--slate-600: oklch(44.6% 0.043 257.281);
	--slate-700: oklch(37.2% 0.044 257.287);
	--slate-800: oklch(27.9% 0.041 260.031);
	--text-caption: 0.875rem;
	--line-caption: 1.25rem;
}
@layer layout {
	.site-shell {
		min-height: 100vh;
		position: relative;
		background: var(--color-background-dark);
	}
	.site-shell ::selection {
		color: white;
		background: var(--color-secondary);
	}
	.site-header {
		position: sticky;
		top: 0;
		z-index: 40;
		width: 100%;
		-webkit-backdrop-filter: blur(8px);
		backdrop-filter: blur(8px);
	}
	.site-header__container,
	.site-footer__container,
	.reading-wide {
		max-width: 80rem;
		margin-inline: auto;
	}
	.site-header__inner,
	.site-logo,
	.site-header__controls {
		display: flex;
		align-items: center;
	}
	.site-header__inner {
		justify-content: space-between;
	}
	.site-logo__frame {
		display: flex;
		align-items: center;
		justify-content: center;
		border: 1px solid var(--color-primary);
		transition: background-color 0.15s;
	}
	.site-logo__image {
		display: block;
		width: 3rem;
		height: 3rem;
	}
	.site-nav {
		display: none;
	}
	.dropdown-container {
		position: relative;
	}
	.site-nav__trigger,
	.site-nav__link {
		display: flex;
		align-items: center;
		transition: all 0.15s;
	}
	.site-nav__trigger {
		gap: 0.25rem;
	}
	.site-nav__link {
		text-decoration-thickness: 2px;
		text-underline-offset: 4px;
	}
	.dropdown-menu {
		position: absolute;
		top: 100%;
		left: 0;
		margin-top: 0.5rem;
		background: var(--color-surface-dark);
		opacity: 0;
		visibility: hidden;
		translate: 0 -0.5rem;
		transform-origin: top;
		transition:
			opacity 0.2s var(--ease-out-quint),
			transform 0.2s var(--ease-out-quint);
	}
	.products-dropdown {
		min-width: 200px;
	}
	.services-dropdown {
		min-width: 250px;
	}
	.site-nav__trigger[aria-expanded='true'] + .dropdown-menu {
		opacity: 1;
		visibility: visible;
		translate: 0 0;
	}
	.site-nav__option {
		display: flex;
		align-items: center;
		min-height: 44px;
		padding: 0.75rem 1rem;
		border-bottom: 1px solid var(--slate-700);
	}
	.site-main {
		display: flex;
		flex-direction: column;
		width: 100%;
		position: relative;
		z-index: 10;
	}
	.site-mobile-nav {
		max-block-size: calc(100dvh - 5rem - var(--consent-height, 0px));
		overflow-y: auto;
		overscroll-behavior: contain;
		background: var(--color-surface-dark);
	}
	.mobile-nav-inner {
		padding: 1rem;
	}
	.mobile-nav-inner > :not(:last-child),
	.mobile-nav-sub > :not(:last-child) {
		margin-block-end: 0.25rem;
	}
	.mobile-nav-link,
	.mobile-nav-trigger {
		display: flex;
		align-items: center;
		padding-inline: 1rem;
	}
	.mobile-nav-trigger {
		width: 100%;
		justify-content: space-between;
		text-align: left;
	}
	.mobile-nav-chevron {
		transition: transform 0.15s;
	}
	.mobile-nav-trigger[aria-expanded='true'] .mobile-nav-chevron {
		rotate: 180deg;
	}
}

@layer layout {
	@media (min-width: 80rem) {
		.site-nav {
			display: flex;
		}
		.site-menu-toggle,
		.site-mobile-nav {
			display: none;
		}
	}
}

/* SPDX-FileCopyrightText: 2026 WEBDEPLOY S.R.L.
 * SPDX-License-Identifier: AGPL-3.0-only
 */
/* Base styles */
body {
	font-family: var(--font-mono);
	background-color: var(--color-background-dark);
	color: var(--color-text-body);
	overflow-x: hidden;
}

/* Keep the menu toggle aligned with the logo across header breakpoints. */
@layer controls {
	.header-control {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		box-sizing: border-box;
		width: 2.75rem;
		height: 2.75rem;
		padding: 0;
		border: 1px solid var(--color-primary);
		color: var(--color-primary);
		font-family: var(--font-reading);
		font-size: 0.8125rem;
		font-weight: 700;
		line-height: 1;
		letter-spacing: 0.04em;
		text-transform: uppercase;
		transition:
			background-color 150ms,
			color 150ms;
	}

	.header-control:hover {
		background-color: var(--color-primary);
		color: black;
	}
}

/* Site header: one style on every page (formerly the homepage reading mode). */
.site-header {
	--home-rule: rgba(148, 163, 184, 0.34);
	border-bottom: 1px solid var(--home-rule);
	background-color: rgba(5, 10, 16, 0.98);
	box-shadow: none;
}

.site-header__container {
	padding-inline: 1rem;
}

@media (min-width: 640px) {
	.site-header__container {
		padding-inline: 1.5rem;
	}
}

@media (min-width: 1024px) {
	.site-header__container {
		padding-inline: 2rem;
	}
}

.site-header__inner {
	height: 4.75rem;
}

.site-logo {
	gap: 0.625rem;
	min-width: 0;
}

.site-logo > div {
	padding: 0.1875rem;
	border-width: 1px;
}

.site-logo > div img {
	width: 3rem;
	height: 3rem;
}

.site-nav {
	gap: 1.5rem;
}

.site-nav > a,
.site-nav button {
	min-height: 2.75rem;
	font-family: var(--font-reading);
	font-size: 0.9375rem;
	font-weight: 600;
	letter-spacing: normal;
	text-transform: none;
	color: var(--color-text-body);
}

.site-nav > a:hover,
.site-nav button:hover {
	color: var(--color-secondary);
}

.site-nav .dropdown-menu {
	border-width: 1px;
	border-color: var(--home-rule);
	box-shadow: none;
}

.site-nav .dropdown-menu a {
	font-family: var(--font-reading);
	font-size: 0.9375rem;
	color: var(--color-text-body);
}

.site-nav .dropdown-menu a:hover,
.site-mobile-nav a:hover {
	color: var(--color-primary);
}

.site-header__controls {
	gap: 0.75rem;
}

.site-mobile-nav {
	border-top: 1px solid var(--home-rule);
}

.site-mobile-nav a,
.site-mobile-nav .mobile-nav-trigger {
	min-height: 2.75rem;
	padding-block: 0.75rem;
	font-family: var(--font-reading);
	font-size: 1rem;
	color: var(--color-text-body);
}

.site-mobile-nav .mobile-nav-trigger:hover {
	color: var(--color-primary);
}

.site-mobile-nav .mobile-nav-sub a {
	padding-left: 2rem;
}

#services {
	scroll-margin-top: 5rem;
}

@media (max-width: 360px) {
	.site-header__container {
		padding-inline: 0.75rem;
	}
}

@media (max-width: 639px) {
	.site-header__inner {
		height: 4.5rem;
	}

	.site-logo > div img {
		width: 2.5rem;
		height: 2.5rem;
	}

	.site-logo {
		gap: 0.5rem;
	}

	.site-header__controls {
		gap: 0.375rem;
	}
}

/* Homepage reading mode keeps the site's palette and display face while making
   navigation, supporting copy, and controls easier to scan. */
.home-preview {
	--home-rule: rgba(148, 163, 184, 0.34);
}

.home-preview .crt-scanlines {
	display: none;
}

.home-preview .home-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background-color: var(--color-background-dark);
}

.home-hero__image {
	position: absolute;
	z-index: -1;
	inset: 0;
}

.home-hero__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 68% center;
}

.home-preview .home-hero::before {
	position: absolute;
	z-index: 0;
	inset: 0;
	background: linear-gradient(
		90deg,
		rgba(5, 10, 16, 0.98) 0%,
		rgba(5, 10, 16, 0.96) 32%,
		rgba(5, 10, 16, 0.86) 48%,
		rgba(5, 10, 16, 0.58) 61%,
		rgba(5, 10, 16, 0.18) 82%,
		rgba(5, 10, 16, 0.08) 100%
	);
	content: '';
	pointer-events: none;
}

.home-preview .home-hero .readable-hero {
	position: relative;
	z-index: 1;
	display: flex;
	min-height: min(52rem, calc(100vh - 4.75rem));
	align-items: center;
	background: transparent;
}

.home-preview .home-hero .readable-hero__content {
	width: 100%;
}

.home-preview .home-services {
	background-color: rgba(5, 10, 16, 0.72);
}

@media (max-width: 639px) {
	.home-hero__image img {
		object-position: 78% center;
	}

	.home-preview .home-hero::before {
		background: linear-gradient(
			90deg,
			rgba(5, 10, 16, 0.98) 0%,
			rgba(5, 10, 16, 0.94) 48%,
			rgba(5, 10, 16, 0.86) 74%,
			rgba(5, 10, 16, 0.66) 100%
		);
	}
}

/* The portrait crop already includes a 60% dark veil. These stops give it
   the same final text contrast and artwork exposure as the full-color source. */
@media (max-width: 639px) and (max-aspect-ratio: 2/3) {
	.home-preview .home-hero::before {
		background: linear-gradient(
			90deg,
			rgba(5, 10, 16, 0.95) 0%,
			rgba(5, 10, 16, 0.85) 48%,
			rgba(5, 10, 16, 0.65) 74%,
			rgba(5, 10, 16, 0.15) 100%
		);
	}
}

@media (min-width: 40rem) and (max-width: 63.99rem) {
	.home-preview .home-hero::before {
		background: linear-gradient(
			90deg,
			rgba(5, 10, 16, 0.98) 0%,
			rgba(5, 10, 16, 0.96) 50%,
			rgba(5, 10, 16, 0.86) 74%,
			rgba(5, 10, 16, 0.68) 100%
		);
	}
}

.home-preview .site-footer a[href^='mailto:'] {
	color: var(--color-text-body);
}

.home-preview .site-footer a:hover {
	color: var(--color-primary);
}

.home-preview .site-footer {
	border-top: 1px solid var(--home-rule);
}

.home-preview .site-footer__description,
.home-preview .site-footer__links,
.home-preview .site-footer__links a {
	font-family: var(--font-reading);
	font-size: 1rem;
	line-height: 1.55;
	color: var(--color-text-body);
}

.home-preview .site-footer h2 {
	margin-bottom: 1rem;
	border-color: var(--home-rule);
	font-family: var(--font-display);
	font-size: 1.25rem;
	font-weight: 400;
	letter-spacing: normal;
	text-transform: uppercase;
}

.home-preview .site-footer__legal {
	border-color: var(--home-rule);
	font-family: var(--font-reading);
	font-size: 0.875rem;
	line-height: 1.5;
	color: var(--color-text-body);
}

/* SPDX-FileCopyrightText: 2026 WEBDEPLOY S.R.L.
 * SPDX-License-Identifier: AGPL-3.0-only
 */
/* ==========================================
   ACCESSIBILITY: Focus indicators
   ========================================== */

/* Focus-visible for keyboard navigation */
:focus-visible {
	outline: 2px solid var(--color-primary);
	outline-offset: 2px;
}

/* Remove default focus for mouse users */
:focus:not(:focus-visible) {
	outline: none;
}

/* Enhanced focus for interactive elements */
a:focus-visible,
button:focus-visible,
[role='button']:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
	outline: 2px solid var(--color-primary);
	outline-offset: 2px;
	box-shadow: 0 0 0 4px rgba(0, 240, 255, 0.2);
}

/* Focus within for dropdown containers */
.dropdown-container:focus-within {
	outline: none;
}

/* A submenu hangs 0.5rem (mt-2) below its trigger, and that gap belongs to no
   element inside .dropdown-container — so a pointer travelling from the
   trigger to the submenu leaves the container and dismisses the menu before it
   can be reached. This transparent bridge fills exactly that gap: hit-testing
   it resolves to the submenu, so the container never sees a mouseleave.
   It inherits the submenu's `visibility: hidden` while closed, so it is inert
   until the menu opens.
   Height = 0.5rem (the `mt-2` gap) + 1px (the submenu's own 1px border, which
   sits between the gap and the padding box the bridge is positioned against).
   It must not grow past that, or the bridge would cover the trigger's bottom
   edge and swallow its clicks. */
.dropdown-menu::before {
	content: '';
	position: absolute;
	bottom: 100%;
	left: 0;
	right: 0;
	height: calc(0.5rem + 1px);
}

/* SPDX-FileCopyrightText: 2026 WEBDEPLOY S.R.L.
 * SPDX-License-Identifier: AGPL-3.0-only
 */
/* ==========================================
   ACCESSIBILITY: Skip link
   ========================================== */

.skip-link {
	position: absolute;
	top: -100%;
	left: 50%;
	transform: translateX(-50%);
	z-index: 9999;
	background-color: var(--color-primary);
	color: #000;
	padding: 0.75rem 1.5rem;
	font-family: var(--font-mono);
	font-weight: bold;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	border: 2px solid #000;
	box-shadow: 4px 4px 0px 0px #000;
	transition: top 0.2s ease;
}

.skip-link:focus {
	top: 1rem;
}

/* ==========================================
   ACCESSIBILITY: Reduced motion
   ========================================== */

@media (prefers-reduced-motion: reduce) {
	/* Disable CRT scanlines effect */
	.crt-scanlines {
		display: none !important;
	}

	/* Disable all animations */
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}

	/* Disable specific animations */

	/* Remove transform transitions on hover */
	.btn-retro-primary:hover,
	.btn-retro-secondary:hover {
		transform: none !important;
	}

	/* Show entrance animations immediately */
}

/* ==========================================
   ACCESSIBILITY: Screen reader only
   ========================================== */

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.fallback-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	padding: 1rem;
}
.opt-out-error {
	color: oklch(63.7% 0.237 25.331);
	font-weight: bold;
}

.error-help .accent-link {
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* SPDX-FileCopyrightText: 2026 WEBDEPLOY S.R.L.
 * SPDX-License-Identifier: AGPL-3.0-only
 */
/* ==========================================
   RESPONSIVE: Safe area insets (notched devices)
   ========================================== */

/* Support for iPhone X+ and other notched devices */
@supports (padding: env(safe-area-inset-bottom)) {
	body {
		padding-left: env(safe-area-inset-left);
		padding-right: env(safe-area-inset-right);
	}

	/* Ensure sticky header respects notch */
	header {
		padding-left: max(1rem, env(safe-area-inset-left));
		padding-right: max(1rem, env(safe-area-inset-right));
	}

	/* Footer padding for home indicator */
	footer {
		padding-bottom: max(2rem, env(safe-area-inset-bottom));
	}
}

/* ==========================================
   RESPONSIVE: Landscape orientation
   ========================================== */

@media (orientation: landscape) and (max-height: 500px) {
	/* Reduce vertical padding in landscape on small screens */
	.reading-page,
	.error-page {
		padding-top: 2rem;
		padding-bottom: 2rem;
	}

	.contact-band {
		padding-top: 3rem;
		padding-bottom: 3rem;
	}

	.reading-page {
		padding-top: 4rem;
		padding-bottom: 4rem;
	}

	/* Smaller hero text in landscape */
	.reading-title {
		font-size: 2.5rem;
	}
}

/* ==========================================
   RESPONSIVE: Touch-friendly utilities
   ========================================== */

/* Minimum touch target for footer/small links */

/* Increase tap area without changing visual size */

/* SPDX-FileCopyrightText: 2026 WEBDEPLOY S.R.L.
 * SPDX-License-Identifier: AGPL-3.0-only
 */
.readable-hero {
	padding: clamp(4.5rem, 8vw, 7.5rem) 0 clamp(4rem, 7vw, 6.5rem);
}

.readable-hero__content {
	width: 100%;
	max-width: 80rem;
	margin-inline: auto;
	padding-inline: 1rem;
	display: grid;
	gap: clamp(2.5rem, 7vw, 7rem);
	align-items: center;
}

.readable-hero__copy {
	max-width: 38rem;
}


.readable-hero__title {
	margin: 0;
	color: white;
	font-family: var(--font-display);
	font-size: 60px;
	font-weight: 400;
	line-height: 0.9;
	text-transform: uppercase;
	text-shadow: 2px 2px var(--color-secondary);
}

.readable-hero__title span {
	display: block;
	color: var(--color-primary);
}

.readable-hero__mark {
	display: inline;
	margin-left: 0.04em;
	font-size: 0.32em;
	line-height: 0;
	vertical-align: 1.1em;
}

.readable-hero__title-accent {
	color: var(--color-secondary) !important;
}

.readable-hero__subtitle {
	margin: 1.25rem 0 0;
	color: var(--color-primary, #00f0ff);
	font-family: 'VT323', monospace;
	font-size: clamp(1.5rem, 2.6vw, 2rem);
	letter-spacing: 0.02em;
}

.readable-hero__tagline {
	max-width: 34rem;
	margin: 2rem 0 0;
	color: var(--color-text-body);
	font-family: var(--font-reading, system-ui, sans-serif);
	font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
	line-height: 1.7;
}

.readable-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.875rem 1.5rem;
	margin-top: 2rem;
}

.readable-hero__actions a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.75rem;
	padding: 0.625rem 1rem;
	color: var(--color-text-body);
	font-family: var(--font-mono);
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1.25;
	text-decoration: none;
}

.readable-hero__actions a:hover {
	color: white;
	text-decoration: underline;
	text-underline-offset: 0.25rem;
}

.readable-hero__actions a:focus-visible {
	outline: 2px solid var(--color-primary);
	outline-offset: 3px;
}

.readable-hero__actions .readable-hero__primary {
	background: var(--color-primary);
	color: #050a10;
}

.readable-hero__actions .readable-hero__primary:hover {
	background: white;
	color: #050a10;
	text-decoration: none;
}


.readable-hero__visual {
	justify-self: center;
}

@media (min-width: 40rem) {
	.readable-hero__content {
		padding-inline: 1.5rem;
	}


	.readable-hero__title {
		font-size: 72px;
	}
}

@media (min-width: 64rem) {
	.readable-hero__content {
		grid-template-columns: minmax(0, 1.15fr) minmax(15rem, 0.85fr);
		padding-inline: 2rem;
	}
}

/* SPDX-FileCopyrightText: 2026 WEBDEPLOY S.R.L.
 * SPDX-License-Identifier: AGPL-3.0-only
 */
html {
	scroll-padding-bottom: var(--consent-height, 0px);
}

.consent-reservation {
	block-size: var(--consent-height, 7rem);
}

.cookie-banner {
	position: fixed;
	z-index: 50;
	inset: auto 0 0;
	box-sizing: border-box;
	min-height: 7rem;
	padding: 0.5rem 0.75rem;
	border-top: 1px solid rgba(0, 240, 255, 0.38);
	/* Keep the consent and privacy-link contrast measurable over page artwork. */
	background: #0b101b;
	box-shadow: 0 -8px 24px rgb(0 0 0 / 28%);
}

.consent-panel {
	max-width: 64rem;
	margin: 0 auto;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 0.75rem 1rem;
}

.consent-copy {
	margin: 0;
	color: #cbd5e1;
	font-family: var(--font-reading, system-ui, sans-serif);
	font-size: 0.8rem;
	line-height: 1.4;
}

.consent-copy a {
	color: var(--color-primary, #00f0ff);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.consent-actions {
	display: flex;
	gap: 0.5rem;
}

.consent-button {
	min-height: 2.5rem;
	min-width: 7.5rem;
	padding: 0.5rem 0.8rem;
	border: 1px solid #64748b;
	color: #f8fafc;
	background: #1e293b;
	font: 600 0.875rem var(--font-mono, monospace);
	cursor: pointer;
}

.consent-button:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 2px;
}

.hidden-for-field {
	visibility: hidden;
	pointer-events: none;
}

@media (max-width: 639px) {
	.consent-panel {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 0.4rem;
	}

	.consent-copy {
		font-size: 0.75rem;
		line-height: 1.25rem;
	}

	.consent-actions {
		gap: 0.5rem;
	}

	.consent-button {
		flex: 1 1 0;
		min-width: 0;
		min-height: 2.25rem;
		padding: 0.35rem 0.5rem;
		font-size: 0.875rem;
	}
}

