:root {
	--interred-dark: #262626;
	--interred-dark-soft: #343434;
	--interred-red: #e52320;
	--interred-cyan: #34bce8;
	--interred-teal: #53bfd0;
	--interred-light: #e7e8e0;
	--interred-white: #ffffff;
	--interred-blue: #254b9b;
	--interred-ink: #202020;
	--interred-muted: #666862;
	--interred-shadow: 0 28px 80px rgba(10, 18, 22, 0.22);
}

* {
	box-sizing: border-box;
}

html {
	min-width: 320px;
	background: #15191b;
	-webkit-text-size-adjust: 100%;
}

body.interred-card-page {
	margin: 0;
	min-width: 320px;
	min-height: 100vh;
	color: var(--interred-ink);
	background: #171b1d;
	font-family: "Montserrat", Arial, sans-serif;
	overflow-x: hidden;
}

.interred-icons {
	position: absolute;
	width: 0;
	height: 0;
	overflow: hidden;
}

.interred-stage {
	display: grid;
	place-items: center;
	min-height: 100vh;
	padding: clamp(18px, 4vw, 58px);
}

.interred-card {
	width: min(1180px, 100%);
	background: var(--interred-white);
	box-shadow: var(--interred-shadow);
	overflow: hidden;
}

.interred-card__hero {
	position: relative;
	aspect-ratio: 464.72 / 185.61;
	background: var(--interred-dark);
	overflow: hidden;
}

.interred-card__hero--has-photo {
	overflow: visible;
}

.interred-card__geometry {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
	pointer-events: none;
}

.interred-card__geometry img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.interred-card__photo-frame {
	position: absolute;
	left: 52%;
	bottom: 0;
	z-index: 3;
	width: clamp(110px, 10vw, 130px);
	aspect-ratio: 1;
	padding: 3px;
	background: var(--interred-cyan);
	border: 4px solid var(--interred-white);
	border-radius: 50%;
	box-shadow: 0 10px 22px rgba(0, 0, 0, 0.24);
	transform: translate(-50%, 50%);
	overflow: hidden;
}

.interred-card__photo-frame img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 42%;
	border-radius: 50%;
}

.interred-card__identity {
	position: absolute;
	inset: 0 auto 0 0;
	z-index: 2;
	display: flex;
	width: 51.5%;
	flex-direction: column;
	padding: 11.5% 4% 6.5% 9.8%;
	color: var(--interred-white);
}

.interred-card__name-block {
	max-width: 88%;
}

.interred-card__name-block h1 {
	margin: 0;
	color: var(--interred-cyan);
	font-family: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
	font-size: clamp(1.7rem, 2.35vw, 2.35rem);
	font-weight: 400;
	letter-spacing: 0.055em;
	line-height: 1;
}

.interred-card__title {
	margin: 5px 0 0;
	color: var(--interred-cyan);
	font-family: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
	font-size: clamp(1.25rem, 1.75vw, 1.72rem);
	font-weight: 600;
	letter-spacing: 0.035em;
	line-height: 1.05;
	text-transform: uppercase;
}

.interred-card__signature-details {
	display: grid;
	gap: clamp(9px, 1.15vw, 14px);
	margin: clamp(26px, 4.1vw, 52px) 0 0;
	padding: 0;
	list-style: none;
}

.interred-card__signature-details li {
	display: flex;
	align-items: center;
	min-width: 0;
	font-family: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
	font-size: clamp(1rem, 1.4vw, 1.32rem);
	letter-spacing: 0.045em;
}

.interred-card__signature-details svg {
	flex: 0 0 clamp(25px, 2.6vw, 32px);
	width: clamp(25px, 2.6vw, 32px);
	height: clamp(25px, 2.6vw, 32px);
	margin-right: clamp(10px, 1.25vw, 15px);
	padding: clamp(6px, 0.7vw, 8px);
	border-radius: 50%;
	fill: var(--interred-white);
	background: var(--interred-red);
}

.interred-card__signature-details a {
	min-width: 0;
	color: inherit;
	text-decoration: none;
	overflow-wrap: anywhere;
}

.interred-card__brand {
	position: absolute;
	top: 5.5%;
	right: 2.5%;
	bottom: 4.5%;
	z-index: 1;
	display: grid;
	width: 42%;
	place-items: center;
	pointer-events: none;
}

.interred-card__logo {
	display: block;
	width: min(82%, 390px);
	max-height: 88%;
	height: auto;
	object-fit: contain;
}

.interred-card__content {
	padding: clamp(30px, 4vw, 52px) clamp(24px, 5vw, 68px) clamp(36px, 5vw, 60px);
	background: var(--interred-white);
}

.interred-card__hero--has-photo + .interred-card__content {
	padding-top: clamp(84px, 8vw, 96px);
}

.interred-card__contact-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
}

.interred-contact {
	display: flex;
	align-items: center;
	min-width: 0;
	min-height: 78px;
	padding: 15px;
	border: 1px solid #dfe2de;
	color: var(--interred-ink);
	background: #f6f7f4;
	text-decoration: none;
	transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.interred-contact:hover,
.interred-contact:focus-visible {
	border-color: var(--interred-cyan);
	box-shadow: 0 10px 22px rgba(28, 64, 78, 0.1);
	transform: translateY(-2px);
}

.interred-contact svg {
	flex: 0 0 40px;
	width: 40px;
	height: 40px;
	margin-right: 11px;
	padding: 10px;
	border-radius: 50%;
	fill: var(--interred-white);
	background: var(--interred-red);
}

.interred-contact span {
	min-width: 0;
	font-size: 0.78rem;
	font-weight: 600;
	overflow-wrap: anywhere;
}

.interred-contact small {
	display: block;
	margin-bottom: 4px;
	color: var(--interred-muted);
	font-size: 0.65rem;
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
}

.interred-card__actions {
	position: relative;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 13px;
	margin-top: 18px;
}

.interred-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 12px 20px;
	border: 2px solid var(--interred-red);
	border-radius: 0;
	font: 700 0.77rem/1.2 "Montserrat", Arial, sans-serif;
	letter-spacing: 0.08em;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	cursor: pointer;
	transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.interred-button svg {
	width: 20px;
	height: 20px;
	margin-right: 9px;
	fill: currentColor;
}

.interred-button:hover,
.interred-button:focus-visible {
	transform: translateY(-2px);
}

.interred-button--primary {
	color: var(--interred-white);
	background: var(--interred-red);
}

.interred-button--secondary {
	color: var(--interred-red);
	background: var(--interred-white);
}

.interred-button--secondary:hover,
.interred-button--secondary:focus-visible {
	color: var(--interred-white);
	background: var(--interred-red);
}

.interred-card__feedback {
	position: absolute;
	top: calc(100% + 7px);
	right: 0;
	margin: 0;
	color: #14743f;
	font-size: 0.75rem;
	font-weight: 700;
}

.interred-card__lower {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: clamp(30px, 6vw, 76px);
	align-items: center;
	margin-top: 46px;
	padding-top: 34px;
	border-top: 1px solid #e4e6e2;
}

.interred-card__section-label {
	margin: 0 0 8px;
	color: var(--interred-red);
	font-family: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
	font-size: 1.5rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.interred-card__about > p:not(.interred-card__section-label) {
	max-width: 720px;
	margin: 0;
	color: #4f524d;
	font-size: 0.92rem;
	line-height: 1.75;
}

.interred-card__social {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
	margin-top: 21px;
}

.interred-social {
	padding: 8px 13px;
	border-left: 3px solid var(--interred-cyan);
	color: var(--interred-dark);
	background: #f0f2ef;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-decoration: none;
	text-transform: uppercase;
}

.interred-social:hover,
.interred-social:focus-visible {
	border-color: var(--interred-red);
	color: var(--interred-red);
}

.interred-card__qr-section {
	display: grid;
	grid-template-columns: 130px 150px;
	gap: 18px;
	align-items: center;
}

.interred-card__qr {
	width: 130px;
	height: 130px;
	padding: 5px;
	border: 1px solid #d8dad6;
	background: var(--interred-white);
}

.interred-card__qr svg {
	display: block;
	width: 100%;
	height: 100%;
}

.interred-card__qr-section strong,
.interred-card__qr-section span {
	display: block;
}

.interred-card__qr-section strong {
	color: var(--interred-blue);
	font-family: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
	font-size: 1.3rem;
	letter-spacing: 0.055em;
	text-transform: uppercase;
}

.interred-card__qr-section span {
	margin-top: 5px;
	color: var(--interred-muted);
	font-size: 0.75rem;
	line-height: 1.5;
}

@media (max-width: 991px) {
	.interred-stage {
		padding: clamp(18px, 3vw, 32px);
	}

	.interred-card__identity {
		width: 52.5%;
		padding-top: 10.5%;
		padding-left: 8.5%;
	}

	.interred-card__name-block h1 {
		font-size: clamp(1.45rem, 3.1vw, 2rem);
	}

	.interred-card__title {
		font-size: clamp(1.08rem, 2.25vw, 1.45rem);
	}

	.interred-card__signature-details {
		gap: 8px;
		margin-top: clamp(18px, 3.5vw, 34px);
	}

	.interred-card__signature-details li {
		font-size: clamp(0.88rem, 1.85vw, 1.1rem);
	}

	.interred-card__brand {
		right: 1.5%;
		width: 43%;
	}

	.interred-card__photo-frame {
		width: clamp(104px, 12vw, 116px);
	}

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

	.interred-card__lower {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 767px) {
	body.interred-card-page {
		background: var(--interred-dark);
	}

	.interred-stage {
		display: block;
		padding: 0;
	}

	.interred-card {
		width: 100%;
		box-shadow: none;
	}

	.interred-card__hero {
		display: block;
		aspect-ratio: auto;
		min-height: 0;
	}

	.interred-card__geometry {
		position: relative;
		inset: auto;
		height: 215px;
		background: var(--interred-dark);
	}

	.interred-card__geometry img {
		position: absolute;
		top: 0;
		left: -50%;
		width: 155%;
		max-width: none;
		height: auto;
		object-fit: initial;
	}

	.interred-card__brand {
		top: 8px;
		right: 2px;
		bottom: auto;
		z-index: 1;
		width: 73%;
		height: 194px;
	}

	.interred-card__photo-frame {
		top: 215px;
		right: clamp(20px, 6vw, 28px);
		bottom: auto;
		left: auto;
		z-index: 3;
		width: clamp(76px, 21vw, 92px);
		padding: 2px;
		border-width: 3px;
		box-shadow: 0 8px 18px rgba(0, 0, 0, 0.24);
		transform: translateY(-50%);
	}

	.interred-card__logo {
		width: min(88%, 300px);
		max-height: 88%;
	}

	.interred-card__identity {
		position: relative;
		inset: auto;
		width: 100%;
		padding: 29px 22px 30px;
		background: var(--interred-dark);
	}

	.interred-card__hero--has-photo .interred-card__identity {
		padding-top: 70px;
	}

	.interred-card__name-block {
		max-width: none;
	}

	.interred-card__name-block h1 {
		font-size: clamp(2rem, 10vw, 2.8rem);
	}

	.interred-card__title {
		font-size: clamp(1.1rem, 5.2vw, 1.45rem);
		margin-top: 7px;
	}

	.interred-card__signature-details {
		display: none;
	}

	.interred-card__content {
		padding: 24px 18px 38px;
	}

	.interred-card__hero--has-photo + .interred-card__content {
		padding-top: 24px;
	}

	.interred-card__contact-grid {
		grid-template-columns: 1fr;
		gap: 9px;
	}

	.interred-contact {
		min-height: 68px;
		padding: 12px 15px;
	}

	.interred-contact span {
		font-size: 0.82rem;
	}

	.interred-card__actions {
		grid-template-columns: 1fr;
		margin-top: 16px;
	}

	.interred-card__feedback {
		position: static;
		min-height: 18px;
		text-align: center;
	}

	.interred-card__lower {
		gap: 30px;
		margin-top: 25px;
		padding-top: 25px;
	}

	.interred-card__about > p:not(.interred-card__section-label) {
		font-size: 0.88rem;
		line-height: 1.65;
	}

	.interred-card__qr-section {
		grid-template-columns: 126px minmax(0, 1fr);
		gap: 16px;
	}

	.interred-card__qr {
		width: 126px;
		height: 126px;
	}
}

@media (max-width: 430px) {
	.interred-card__geometry {
		height: 205px;
	}

	.interred-card__geometry img {
		top: -2px;
		left: -63%;
		width: 170%;
	}

	.interred-card__brand {
		top: 6px;
		right: -2px;
		width: 78%;
		height: 188px;
	}

	.interred-card__photo-frame {
		top: 205px;
	}

	.interred-card__logo {
		width: min(88%, 275px);
	}

	.interred-card__content {
		padding-right: 14px;
		padding-left: 14px;
	}

	.interred-card__qr-section {
		grid-template-columns: 112px minmax(0, 1fr);
	}

	.interred-card__qr {
		width: 112px;
		height: 112px;
	}
}

@media (max-width: 370px) {
	.interred-card__geometry {
		height: 194px;
	}

	.interred-card__brand {
		height: 178px;
	}

	.interred-card__photo-frame {
		top: 194px;
	}

	.interred-card__identity {
		padding-right: 18px;
		padding-left: 18px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.interred-contact,
	.interred-button {
		transition: none;
	}
}
