/*
 * Immo-State release refinements — 2026-07-21
 * Restrained premium header and contextual service imagery.
 */

.rel-topline {
	height: 2px !important;
	min-height: 2px !important;
	padding: 0 !important;
	overflow: hidden;
	background: linear-gradient(90deg, #b8894f 0%, #f9d899 48%, #d9a96a 100%) !important;
}

.rel-topline .rel-topline-inner {
	display: none !important;
}

.rel-header {
	top: 0 !important;
	background: rgba(11, 13, 16, .985) !important;
	border-bottom: 1px solid rgba(217, 169, 106, .30) !important;
	box-shadow: 0 10px 30px rgba(17, 19, 21, .12);
	-webkit-backdrop-filter: blur(16px);
	backdrop-filter: blur(16px);
}

.rel-nav {
	min-height: 82px !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

.rel-brand {
	display: grid !important;
	grid-template-columns: 50px auto;
	align-items: center;
	column-gap: 12px;
	flex: 0 0 auto;
	line-height: 1;
	text-decoration: none;
}

.rel-brand-original-mark {
	display: block;
	width: 50px;
	height: 55px;
	overflow: visible;
	mix-blend-mode: normal;
}

.rel-brand-original-copy {
	display: grid;
	gap: 3px;
	min-width: 0;
}

.rel-brand-wordmark {
	position: relative;
	display: block;
	width: 190px;
	height: 31px;
	overflow: visible;
}

.rel-brand-wordmark svg {
	display: block;
	width: 100%;
	height: 100%;
	overflow: visible;
}

.rel-brand-slogan {
	display: block;
	color: #c9cdd2;
	font-size: 8.5px;
	font-weight: 500;
	letter-spacing: .018em;
	line-height: 1.25;
	white-space: nowrap;
}

.rel-desktop-nav > a {
	color: rgba(255, 255, 255, .82);
}

.rel-desktop-nav > a:not(.rel-nav-cta)::after {
	background: #d9a96a;
}

.rel-desktop-nav > a:hover,
.rel-desktop-nav > a:focus-visible {
	color: #ffffff;
}

.rel-nav-cta {
	color: #111315 !important;
	background: linear-gradient(135deg, #f9d899 0%, #d9a96a 52%, #b8894f 100%) !important;
	border-color: rgba(249, 216, 153, .72) !important;
	box-shadow: none !important;
}

.rel-nav-cta:hover,
.rel-nav-cta:focus-visible {
	color: #111315 !important;
	background: linear-gradient(135deg, #ffe7b3 0%, #e5b977 52%, #c59a5c 100%) !important;
	transform: translateY(-1px);
}

body.rel-body :focus-visible {
	outline-color: #23464d;
}

.rel-header :focus-visible,
.rel-footer :focus-visible {
	outline-color: #f9d899;
}

.rel-page-hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.02fr) minmax(340px, .78fr);
	gap: clamp(2rem, 5vw, 5rem);
	align-items: center;
}

.rel-page-hero-copy {
	min-width: 0;
}

.rel-page-hero-visual,
.rel-quality-visual {
	margin: 0;
	position: relative;
}

.rel-page-hero-visual img,
.rel-quality-visual img {
	display: block;
	width: 100%;
	object-fit: cover;
	border: 1px solid rgba(217, 169, 106, .34);
	border-radius: 24px;
	box-shadow: 0 28px 70px rgba(0, 0, 0, .24);
}

.rel-page-hero-visual img {
	height: auto;
	aspect-ratio: 16 / 10;
}

.rel-visual-note {
	margin-top: .65rem;
	color: rgba(255, 255, 255, .58);
	font-size: .72rem;
	letter-spacing: .035em;
	line-height: 1.45;
}

.rel-quality-content {
	display: grid;
	grid-template-columns: minmax(290px, .82fr) minmax(0, 1.35fr);
	gap: clamp(1.5rem, 3.2vw, 3.25rem);
	align-items: stretch;
	margin-top: clamp(2.5rem, 5vw, 4.75rem);
}

.rel-quality-visual {
	min-height: 100%;
}

.rel-quality-visual img {
	height: 100%;
	min-height: 390px;
}

.rel-quality-visual .rel-visual-note {
	position: absolute;
	right: .8rem;
	bottom: .8rem;
	margin: 0;
	padding: .38rem .58rem;
	color: rgba(255, 255, 255, .82);
	background: rgba(9, 10, 12, .76);
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: 999px;
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}

.rel-quality-content .rel-feature-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-content: stretch;
	margin-top: 0;
}

.rel-quality-content .rel-feature-card {
	min-height: 100%;
}

@media (max-width: 800px) {
	.rel-nav {
		min-height: 68px !important;
	}

	.rel-brand {
		grid-template-columns: 40px auto;
		column-gap: 10px;
	}

	.rel-brand-original-mark {
		width: 40px;
		height: 44px;
	}

	.rel-brand-wordmark {
		width: 150px;
		height: 27px;
	}

	.rel-brand-wordmark img {
		top: -5px;
		left: -40px;
		width: 198px;
	}

	.rel-brand-slogan {
		display: none;
	}

	.rel-page-hero-grid,
	.rel-quality-content {
		grid-template-columns: minmax(0, 1fr);
		gap: 1.75rem;
	}

	.rel-page-hero-visual img {
		max-height: 260px;
	}

	.rel-quality-visual img {
		height: 250px;
		min-height: 0;
	}

	.rel-quality-content .rel-feature-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 520px) {
	.rel-nav {
		min-height: 66px !important;
	}

	.rel-brand {
		grid-template-columns: 36px auto;
		column-gap: 9px;
	}

	.rel-brand-original-mark {
		width: 36px;
		height: 40px;
	}

	.rel-brand-wordmark {
		width: 138px;
		height: 25px;
	}

	.rel-brand-wordmark img {
		top: -5px;
		left: -37px;
		width: 184px;
	}

	.rel-page-hero-visual img,
	.rel-quality-visual img {
		border-radius: 18px;
	}

	.rel-quality-content .rel-feature-grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

body.rel-body .rel-ai-portrait > img,
body.rel-body .rel-team-strip-item > img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@media (prefers-reduced-motion: reduce) {
	.rel-nav-cta:hover,
	.rel-nav-cta:focus-visible {
		transform: none;
	}
}

/*
 * Compact, service-led team presentation.
 * Portraits support the role descriptions without dominating them.
 */
.rel-team-intro {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: stretch;
}

.rel-human-card-featured {
	grid-template-columns: 142px minmax(0, 1fr);
	gap: 22px;
	height: 100%;
	padding: 26px;
}

.rel-human-card-featured .rel-human-portrait {
	width: 100%;
	max-width: 142px;
	aspect-ratio: 4 / 5;
}

.rel-human-card-featured h3 {
	font-size: clamp(28px, 3vw, 36px);
}

.rel-team-card-photo {
	display: grid;
	grid-template-columns: minmax(145px, 32%) minmax(0, 1fr);
	align-items: stretch;
}

.rel-ai-portrait {
	min-height: 300px;
	aspect-ratio: auto;
}

.rel-team-card-body {
	padding: 22px 24px;
}

.rel-team-card-body h3 {
	margin-top: 16px;
	font-size: 28px;
}

.rel-team-card-body p {
	font-size: 14px;
}

@media (max-width: 980px) {
	.rel-team-intro,
	.rel-team-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.rel-team-card-photo {
		grid-template-columns: 170px minmax(0, 1fr);
	}

	.rel-ai-portrait {
		min-height: 270px;
	}
}

@media (max-width: 600px) {
	.rel-human-card-featured {
		grid-template-columns: 105px minmax(0, 1fr);
		gap: 16px;
		padding: 18px;
	}

	.rel-human-card-featured .rel-human-portrait {
		width: 105px;
	}

	.rel-human-card-featured h3 {
		font-size: 24px;
	}

	.rel-team-card-photo {
		grid-template-columns: minmax(0, 1fr);
	}

	.rel-ai-portrait {
		height: 210px;
		min-height: 0;
	}

	.rel-team-card-body {
		padding: 20px;
	}

	.rel-team-card-body h3 {
		font-size: 26px;
	}
}

/* Prevent decorative assets from widening narrow mobile viewports. */
@media (max-width: 800px) {
	body.rel-body .rel-hero {
		overflow-x: hidden;
		overflow-x: clip;
	}

	body.rel-body .rel-footer-brand {
		margin-left: 0 !important;
	}
}


