/*
Theme Name: Venium Media
Author: Venium Media
Author URI: https://www.linkedin.com/in/venium-media/
Description: Maßgeschneidertes, responsives WordPress-Theme für Venium Media. Ohne externe Schrift-, Tracking- oder CDN-Dienste.
Version: 1.1.1
Requires at least: 7.0
Tested up to: 7.0
Requires PHP: 8.3
Text Domain: venium-media
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
	--vm-navy-950: #020812;
	--vm-navy-900: #06101f;
	--vm-navy-850: #09172a;
	--vm-navy-800: #0d2039;
	--vm-blue-600: #078fd3;
	--vm-blue-500: #0caaf4;
	--vm-blue-400: #4fc7ff;
	--vm-white: #f7f9fc;
	--vm-slate-200: #d5deea;
	--vm-slate-300: #afbdd0;
	--vm-slate-500: #7c8ca3;
	--vm-border: rgba(111, 185, 238, 0.18);
	--vm-card: rgba(10, 28, 51, 0.82);
	--vm-shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
	--vm-radius: 22px;
	--vm-container: 1180px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background:
		radial-gradient(circle at 85% 10%, rgba(20, 116, 179, 0.11), transparent 28rem),
		var(--vm-navy-950);
	color: var(--vm-white);
	font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 18px;
	line-height: 1.7;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

body.admin-bar .site-header {
	top: 32px;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

a {
	color: var(--vm-blue-400);
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.18em;
}

a:hover {
	color: #9ee2ff;
}

button,
input,
textarea {
	font: inherit;
}

button,
.button,
input[type="submit"] {
	cursor: pointer;
}

h1,
h2,
h3,
h4 {
	margin: 0 0 0.7em;
	color: var(--vm-white);
	font-weight: 650;
	letter-spacing: -0.035em;
	line-height: 1.12;
}

h1 {
	font-size: clamp(2.5rem, 6vw, 5.4rem);
}

h2 {
	font-size: clamp(2rem, 4.2vw, 3.7rem);
}

h3 {
	font-size: clamp(1.3rem, 2.3vw, 1.7rem);
}

p {
	margin: 0 0 1.2em;
}

ul,
ol {
	padding-left: 1.25em;
}

::selection {
	background: var(--vm-blue-500);
	color: var(--vm-navy-950);
}

:focus-visible {
	outline: 3px solid var(--vm-blue-400);
	outline-offset: 4px;
}

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

.screen-reader-text:focus {
	z-index: 100000;
	top: 8px;
	left: 8px;
	width: auto;
	height: auto;
	padding: 12px 16px;
	clip: auto;
	background: var(--vm-white);
	color: var(--vm-navy-950);
	font-weight: 700;
}

.site-main {
	min-height: 62vh;
	overflow: hidden;
}

.site-container {
	width: min(calc(100% - 40px), var(--vm-container));
	margin-inline: auto;
}

.section {
	position: relative;
	padding: clamp(74px, 10vw, 132px) 0;
}

.section--compact {
	padding-block: clamp(56px, 8vw, 92px);
}

.section--panel {
	background: linear-gradient(180deg, rgba(9, 24, 44, 0.76), rgba(4, 13, 25, 0.5));
	border-block: 1px solid var(--vm-border);
}

.section-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 18px;
	color: var(--vm-blue-400);
	font-size: 0.76rem;
	font-weight: 750;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.section-eyebrow::before {
	width: 34px;
	height: 2px;
	background: var(--vm-blue-500);
	content: "";
}

.section-heading {
	max-width: 780px;
}

.section-lead {
	max-width: 720px;
	color: var(--vm-slate-300);
	font-size: clamp(1.04rem, 1.7vw, 1.28rem);
}

.button {
	display: inline-flex;
	min-height: 50px;
	align-items: center;
	justify-content: center;
	padding: 12px 23px;
	border: 1px solid var(--vm-blue-500);
	border-radius: 999px;
	background: linear-gradient(135deg, var(--vm-blue-600), var(--vm-blue-500));
	box-shadow: 0 12px 34px rgba(0, 154, 226, 0.22);
	color: #00111d;
	font-size: 0.94rem;
	font-weight: 750;
	line-height: 1.2;
	text-decoration: none;
	transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
	transform: translateY(-2px);
	box-shadow: 0 18px 38px rgba(0, 154, 226, 0.3);
	color: #00111d;
}

.button--ghost {
	border-color: rgba(134, 202, 250, 0.4);
	background: rgba(7, 25, 45, 0.6);
	box-shadow: none;
	color: var(--vm-white);
}

.button--ghost:hover {
	background: rgba(15, 55, 88, 0.76);
	color: var(--vm-white);
}

.text-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 700;
	text-decoration: none;
}

/* Header and navigation */
.site-header {
	position: sticky;
	z-index: 100;
	top: 0;
	width: 100%;
	background: rgba(2, 8, 18, 0.93);
	border-bottom: 1px solid rgba(112, 177, 226, 0.13);
	backdrop-filter: blur(18px);
}

.home .site-header {
	position: absolute;
	background: linear-gradient(180deg, rgba(2, 8, 18, 0.9), rgba(2, 8, 18, 0));
	border-bottom: 0;
	backdrop-filter: none;
}

.site-header__inner {
	display: flex;
	width: min(calc(100% - 40px), 1480px);
	min-height: 82px;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	margin-inline: auto;
}

.site-branding {
	display: inline-flex;
	max-width: 260px;
	align-items: center;
	text-decoration: none;
}

.home .site-branding {
	visibility: hidden;
}

.site-branding img,
.custom-logo {
	width: auto;
	max-width: 245px;
	height: 54px;
	filter: brightness(1.7) saturate(1.18) drop-shadow(0 0 10px rgba(29, 165, 230, 0.26));
	object-fit: contain;
}

.site-navigation {
	margin-left: auto;
}

.primary-menu {
	display: flex;
	align-items: center;
	gap: clamp(17px, 2vw, 32px);
	padding: 0;
	margin: 0;
	list-style: none;
}

.primary-menu ul {
	list-style: none;
}

.primary-menu > li {
	position: relative;
	margin: 0;
}

.primary-menu > li > a {
	display: inline-flex;
	min-height: 44px;
	align-items: center;
	color: rgba(247, 249, 252, 0.88);
	font-size: 0.88rem;
	font-weight: 650;
	text-decoration: none;
}

.primary-menu > li > a:hover,
.primary-menu > li.current-menu-item > a,
.primary-menu > li.current-menu-ancestor > a {
	color: var(--vm-blue-400);
}

.primary-menu > li:last-child > a {
	min-height: 43px;
	padding: 8px 18px;
	border: 1px solid rgba(61, 188, 246, 0.62);
	border-radius: 999px;
	background: rgba(1, 19, 35, 0.72);
	color: var(--vm-white);
}

.primary-menu .sub-menu {
	position: absolute;
	top: calc(100% - 1px);
	left: -18px;
	width: 255px;
	padding: 12px;
	margin: 0;
	border: 1px solid var(--vm-border);
	border-radius: 15px;
	opacity: 0;
	background: rgba(3, 12, 23, 0.98);
	box-shadow: var(--vm-shadow);
	pointer-events: none;
	transform: translateY(8px);
	transition: opacity 160ms ease, transform 160ms ease;
}

.primary-menu li:hover > .sub-menu,
.primary-menu li:focus-within > .sub-menu {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}

.primary-menu .sub-menu a {
	display: block;
	padding: 10px 12px;
	border-radius: 9px;
	color: var(--vm-slate-200);
	font-size: 0.87rem;
	text-decoration: none;
}

.primary-menu .sub-menu a:hover {
	background: rgba(18, 83, 130, 0.35);
	color: var(--vm-white);
}

.menu-toggle {
	display: none;
	width: 48px;
	height: 48px;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 1px solid rgba(102, 190, 246, 0.34);
	border-radius: 50%;
	background: rgba(4, 18, 34, 0.84);
	color: var(--vm-white);
}

.menu-toggle__icon,
.menu-toggle__icon::before,
.menu-toggle__icon::after {
	display: block;
	width: 21px;
	height: 2px;
	background: currentColor;
	content: "";
	transition: transform 180ms ease;
}

.menu-toggle__icon {
	position: relative;
}

.menu-toggle__icon::before {
	position: absolute;
	top: -7px;
}

.menu-toggle__icon::after {
	position: absolute;
	top: 7px;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon {
	background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon::before {
	top: 0;
	transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon::after {
	top: 0;
	transform: rotate(-45deg);
}

/* Original hero artwork */
.hero-media {
	position: relative;
	background: #020711;
}

.hero-media img {
	width: 100%;
	height: auto;
}

.hero-media__heading {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}

/* Homepage */
.services-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
	margin-top: 48px;
}

.service-card {
	display: flex;
	min-height: 320px;
	flex-direction: column;
	padding: 28px;
	border: 1px solid var(--vm-border);
	border-radius: var(--vm-radius);
	background:
		linear-gradient(150deg, rgba(15, 48, 80, 0.68), rgba(4, 15, 29, 0.86)),
		var(--vm-card);
	box-shadow: 0 16px 60px rgba(0, 0, 0, 0.16);
	text-decoration: none;
	transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.service-card:hover {
	border-color: rgba(45, 183, 247, 0.55);
	background: linear-gradient(150deg, rgba(18, 72, 112, 0.75), rgba(4, 15, 29, 0.94));
	transform: translateY(-5px);
}

.service-card__number {
	margin-bottom: auto;
	color: var(--vm-blue-400);
	font-size: 0.76rem;
	font-weight: 800;
	letter-spacing: 0.14em;
}

.service-card h3 {
	margin-top: 56px;
}

.service-card p {
	color: var(--vm-slate-300);
	font-size: 0.94rem;
}

.service-card__link {
	margin-top: auto;
	color: var(--vm-blue-400);
	font-size: 0.88rem;
	font-weight: 750;
}

.split-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
	align-items: center;
	gap: clamp(42px, 8vw, 100px);
}

.feature-list {
	display: grid;
	gap: 14px;
	padding: 0;
	margin: 36px 0 0;
	list-style: none;
}

.feature-list li {
	position: relative;
	padding-left: 28px;
	color: var(--vm-slate-200);
}

.feature-list li::before {
	position: absolute;
	top: 0.78em;
	left: 0;
	width: 9px;
	height: 9px;
	border: 2px solid var(--vm-blue-400);
	border-radius: 50%;
	content: "";
	transform: translateY(-50%);
}

.portrait-frame {
	position: relative;
	max-width: 505px;
	margin-left: auto;
}

.portrait-frame::before {
	position: absolute;
	z-index: -1;
	inset: -18px 18px 18px -18px;
	border: 1px solid rgba(74, 190, 250, 0.28);
	border-radius: 30px;
	content: "";
}

.portrait-frame img {
	width: 100%;
	aspect-ratio: 4 / 5;
	border: 1px solid rgba(140, 204, 247, 0.2);
	border-radius: 24px;
	box-shadow: var(--vm-shadow);
	object-fit: cover;
}

.process-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	margin-top: 48px;
}

.process-card {
	padding: 30px;
	border-top: 2px solid var(--vm-blue-600);
	background: linear-gradient(180deg, rgba(12, 39, 66, 0.5), rgba(4, 13, 25, 0));
}

.process-card__number {
	color: var(--vm-blue-400);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.14em;
}

.process-card h3 {
	margin-top: 28px;
}

.process-card p {
	color: var(--vm-slate-300);
	font-size: 0.94rem;
}

.agency-panel {
	position: relative;
	overflow: hidden;
	padding: clamp(38px, 6vw, 72px);
	border: 1px solid rgba(70, 183, 245, 0.3);
	border-radius: 30px;
	background:
		linear-gradient(115deg, rgba(3, 18, 34, 0.92), rgba(9, 54, 87, 0.84)),
		var(--vm-navy-900);
	box-shadow: var(--vm-shadow);
}

.agency-panel::after {
	position: absolute;
	right: -120px;
	bottom: -200px;
	width: 440px;
	height: 440px;
	border: 1px solid rgba(54, 178, 244, 0.25);
	border-radius: 50%;
	box-shadow: 0 0 70px rgba(26, 161, 226, 0.15);
	content: "";
}

.agency-panel__content {
	position: relative;
	z-index: 1;
	max-width: 800px;
}

.reference-card {
	display: grid;
	grid-template-columns: minmax(220px, 0.65fr) minmax(0, 1.35fr);
	overflow: hidden;
	margin-top: 46px;
	border: 1px solid var(--vm-border);
	border-radius: var(--vm-radius);
	background: var(--vm-card);
}

.reference-card__visual {
	display: flex;
	min-height: 320px;
	align-items: center;
	justify-content: center;
	padding: 38px;
	background:
		radial-gradient(circle at 35% 30%, rgba(34, 178, 234, 0.22), transparent 36%),
		linear-gradient(145deg, #0b2a47, #06101e);
}

.reference-card__monogram {
	display: grid;
	width: 150px;
	height: 150px;
	place-items: center;
	border: 1px solid rgba(120, 205, 250, 0.35);
	border-radius: 50%;
	color: var(--vm-white);
	font-family: Georgia, serif;
	font-size: 3.5rem;
}

.reference-card__content {
	padding: clamp(32px, 6vw, 66px);
}

.reference-card__meta {
	margin-bottom: 12px;
	color: var(--vm-blue-400);
	font-size: 0.76rem;
	font-weight: 750;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.reference-card__content p {
	color: var(--vm-slate-300);
}

.cta-panel {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 38px;
	padding: clamp(38px, 6vw, 68px);
	border: 1px solid var(--vm-border);
	border-radius: 28px;
	background:
		radial-gradient(circle at 90% 0%, rgba(24, 160, 224, 0.24), transparent 23rem),
		linear-gradient(135deg, #0a2139, #040d19);
	box-shadow: var(--vm-shadow);
}

.cta-panel__copy {
	max-width: 720px;
}

.cta-panel p {
	color: var(--vm-slate-300);
}

/* Interior pages */
.page-hero {
	position: relative;
	overflow: hidden;
	padding: clamp(105px, 14vw, 178px) 0 clamp(64px, 9vw, 110px);
	border-bottom: 1px solid var(--vm-border);
	background:
		linear-gradient(120deg, rgba(2, 8, 18, 0.94), rgba(4, 22, 40, 0.72)),
		url("assets/images/brand-banner.png") center / cover no-repeat;
}

.page-hero::after {
	position: absolute;
	right: -10vw;
	bottom: -230px;
	width: 600px;
	height: 600px;
	border: 1px solid rgba(53, 177, 245, 0.16);
	border-radius: 50%;
	content: "";
}

.page-hero__inner {
	position: relative;
	z-index: 1;
}

.page-hero h1 {
	max-width: 950px;
	font-size: clamp(2.5rem, 6vw, 5rem);
}

.page-hero p {
	max-width: 720px;
	color: var(--vm-slate-300);
	font-size: clamp(1.05rem, 2vw, 1.32rem);
}

.entry-content {
	max-width: 860px;
	margin-inline: auto;
}

.entry-content > *:first-child {
	margin-top: 0;
}

.entry-content h2 {
	margin-top: 1.7em;
}

.entry-content h3 {
	margin-top: 1.6em;
}

.entry-content p,
.entry-content li {
	color: var(--vm-slate-200);
}

.entry-content a {
	word-break: break-word;
}

.entry-content blockquote {
	padding: 20px 26px;
	border-left: 3px solid var(--vm-blue-500);
	margin: 2em 0;
	background: rgba(10, 43, 73, 0.42);
}

.entry-content .wp-block-group,
.entry-content .wp-block-columns {
	margin-block: 2.5em;
}

.entry-content .wp-block-button__link {
	border-radius: 999px;
	background: var(--vm-blue-500);
	color: var(--vm-navy-950);
}

.about-layout {
	display: grid;
	grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
	align-items: start;
	gap: clamp(40px, 8vw, 90px);
}

.about-layout .entry-content {
	max-width: none;
}

.contact-layout {
	display: grid;
	grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
	align-items: start;
	gap: clamp(38px, 7vw, 86px);
}

.contact-details {
	padding: 30px;
	border: 1px solid var(--vm-border);
	border-radius: var(--vm-radius);
	background: var(--vm-card);
}

.contact-details__item + .contact-details__item {
	padding-top: 20px;
	border-top: 1px solid var(--vm-border);
	margin-top: 20px;
}

.contact-details__label {
	display: block;
	margin-bottom: 4px;
	color: var(--vm-slate-500);
	font-size: 0.76rem;
	font-weight: 750;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.contact-form {
	padding: clamp(28px, 5vw, 50px);
	border: 1px solid var(--vm-border);
	border-radius: var(--vm-radius);
	background: linear-gradient(145deg, rgba(12, 43, 72, 0.78), rgba(5, 16, 30, 0.92));
}

.form-row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.form-field {
	margin-bottom: 20px;
}

.form-field label,
.form-field__label {
	display: block;
	margin-bottom: 7px;
	color: var(--vm-slate-200);
	font-size: 0.86rem;
	font-weight: 700;
}

.form-field input,
.form-field textarea {
	width: 100%;
	padding: 13px 15px;
	border: 1px solid rgba(134, 191, 232, 0.25);
	border-radius: 10px;
	outline: 0;
	background: rgba(2, 11, 21, 0.68);
	color: var(--vm-white);
}

.form-field textarea {
	min-height: 190px;
	resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
	border-color: var(--vm-blue-400);
	box-shadow: 0 0 0 3px rgba(41, 173, 237, 0.15);
}

.form-checkbox {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 0.82rem;
}

.form-checkbox input {
	width: 18px;
	height: 18px;
	flex: 0 0 auto;
	margin-top: 5px;
	accent-color: var(--vm-blue-500);
}

.form-notice {
	padding: 13px 16px;
	border-radius: 10px;
	margin-bottom: 20px;
	font-size: 0.9rem;
}

.form-notice--success {
	border: 1px solid rgba(67, 209, 148, 0.4);
	background: rgba(19, 108, 71, 0.28);
	color: #bdf3d8;
}

.form-notice--error {
	border: 1px solid rgba(255, 118, 118, 0.42);
	background: rgba(132, 35, 35, 0.27);
	color: #ffd1d1;
}

.form-honeypot {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

.archive-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.post-card {
	overflow: hidden;
	border: 1px solid var(--vm-border);
	border-radius: var(--vm-radius);
	background: var(--vm-card);
}

.post-card__image img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.post-card__content {
	padding: 26px;
}

.post-card__meta {
	color: var(--vm-slate-500);
	font-size: 0.8rem;
}

.post-card h2 {
	margin-top: 8px;
	font-size: 1.5rem;
}

.post-card h2 a {
	color: var(--vm-white);
	text-decoration: none;
}

.pagination {
	margin-top: 50px;
}

.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.pagination .page-numbers {
	display: grid;
	min-width: 42px;
	min-height: 42px;
	place-items: center;
	border: 1px solid var(--vm-border);
	border-radius: 50%;
	text-decoration: none;
}

.pagination .current {
	background: var(--vm-blue-500);
	color: var(--vm-navy-950);
}

/* Footer */
.site-footer {
	padding: 70px 0 28px;
	border-top: 1px solid var(--vm-border);
	background: #01060d;
}

.site-footer__grid {
	display: grid;
	grid-template-columns: minmax(250px, 1.25fr) repeat(2, minmax(180px, 0.75fr));
	gap: 46px;
}

.site-footer__logo {
	width: 250px;
	max-width: 100%;
	margin-bottom: 20px;
	filter: brightness(1.7) saturate(1.18) drop-shadow(0 0 10px rgba(29, 165, 230, 0.22));
}

.site-footer__brand p {
	max-width: 440px;
	color: var(--vm-slate-500);
	font-size: 0.9rem;
}

.site-footer h2 {
	margin-bottom: 18px;
	color: var(--vm-slate-500);
	font-size: 0.74rem;
	font-weight: 750;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.site-footer ul {
	padding: 0;
	margin: 0;
	list-style: none;
}

.site-footer li + li {
	margin-top: 9px;
}

.site-footer a {
	color: var(--vm-slate-200);
	font-size: 0.88rem;
	text-decoration: none;
}

.site-footer a:hover {
	color: var(--vm-blue-400);
}

.site-footer__bottom {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	padding-top: 26px;
	border-top: 1px solid rgba(124, 164, 194, 0.12);
	margin-top: 54px;
	color: var(--vm-slate-500);
	font-size: 0.76rem;
}

/* Responsive */
@media (max-width: 1080px) {
	.services-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.archive-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.menu-toggle {
		display: inline-flex;
	}

	.site-navigation {
		position: fixed;
		z-index: 99;
		top: 82px;
		right: 20px;
		left: 20px;
		display: none;
		max-height: calc(100vh - 110px);
		overflow-y: auto;
		padding: 18px;
		border: 1px solid var(--vm-border);
		border-radius: 18px;
		background: rgba(2, 10, 20, 0.98);
		box-shadow: var(--vm-shadow);
	}

	.site-navigation.is-open {
		display: block;
	}

	.primary-menu {
		align-items: stretch;
		flex-direction: column;
		gap: 0;
	}

	.primary-menu > li > a {
		display: flex;
		padding: 8px 10px;
	}

	.primary-menu > li:last-child > a {
		justify-content: center;
		margin-top: 8px;
	}

	.primary-menu .sub-menu {
		position: static;
		width: auto;
		padding: 0 0 6px 14px;
		border: 0;
		opacity: 1;
		background: transparent;
		box-shadow: none;
		pointer-events: auto;
		transform: none;
	}
}

@media (max-width: 782px) {
	body.admin-bar .site-header {
		top: 46px;
	}

	.site-container {
		width: min(calc(100% - 30px), var(--vm-container));
	}

	.site-header__inner {
		width: min(calc(100% - 30px), 1480px);
		min-height: 72px;
	}

	.site-navigation {
		top: 74px;
		right: 15px;
		left: 15px;
	}

	.site-branding img,
	.custom-logo {
		max-width: 190px;
		height: 46px;
	}

	.hero-media {
		padding-top: 72px;
	}

	.home .site-header {
		position: absolute;
		background: rgba(2, 8, 18, 0.92);
	}

	.home .site-branding {
		visibility: visible;
	}

	.hero-media img {
		width: 100%;
		height: auto;
		min-height: 0;
		object-fit: contain;
		object-position: center;
	}

	.home .hero-media + .section {
		padding-top: 42px;
	}

	.split-layout,
	.about-layout,
	.contact-layout {
		grid-template-columns: 1fr;
	}

	.portrait-frame {
		max-width: 420px;
		margin: 0 auto;
	}

	.process-grid {
		grid-template-columns: 1fr;
	}

	.reference-card {
		grid-template-columns: 1fr;
	}

	.reference-card__visual {
		min-height: 230px;
	}

	.cta-panel {
		align-items: flex-start;
		flex-direction: column;
	}

	.site-footer__grid {
		grid-template-columns: 1fr 1fr;
	}

	.site-footer__brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 580px) {
	body {
		font-size: 17px;
	}

	.services-grid,
	.archive-grid,
	.form-row,
	.site-footer__grid {
		grid-template-columns: 1fr;
	}

	.service-card {
		min-height: 280px;
	}

	.site-footer__brand {
		grid-column: auto;
	}

	.site-footer__bottom {
		flex-direction: column;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}
