.eht-memory,
.eht-memory * {
	box-sizing: border-box;
}

body.eht-memory-page #main-content,
.eht-memory-page-shell,
.eht-memory-page-shell__article {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

.eht-memory {
	--eht-memory-ink: #142c3b;
	--eht-memory-soft: #536873;
	--eht-memory-paper: #f3eee5;
	--eht-memory-card: #fffdf8;
	--eht-memory-rust: #a9472f;
	--eht-memory-gold: #e2b86e;
	width: 100%;
	margin: 0;
	color: var(--eht-memory-ink);
	background: var(--eht-memory-paper);
}

.eht-memory__hero {
	position: relative;
	display: grid;
	min-height: clamp(30rem, 61vw, 46rem);
	align-items: center;
	overflow: hidden;
	color: #fff;
	background:
		radial-gradient(circle at 82% 22%, rgba(194, 90, 60, 0.38), transparent 25rem),
		radial-gradient(circle at 10% 92%, rgba(226, 184, 110, 0.18), transparent 22rem),
		linear-gradient(132deg, #0f2836 0%, #183a49 58%, #102a37 100%);
	isolation: isolate;
}

.eht-memory__hero::before {
	content: "";
	position: absolute;
	inset: 1.15rem;
	z-index: -1;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 1.5rem;
}

.eht-memory__hero::after {
	content: "";
	position: absolute;
	top: -8rem;
	right: clamp(-9rem, -8vw, -3rem);
	z-index: -1;
	width: clamp(26rem, 58vw, 54rem);
	aspect-ratio: 1;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 50%;
	box-shadow:
		0 0 0 3rem rgba(255, 255, 255, 0.025),
		0 0 0 8rem rgba(255, 255, 255, 0.018);
}

.eht-memory__hero-inner {
	width: min(calc(100% - clamp(2.5rem, 10vw, 10rem)), 1280px);
	margin: 0 auto;
	padding: clamp(6rem, 12vw, 10rem) 0 clamp(8rem, 15vw, 12rem);
}

.eht-memory__eyebrow {
	display: flex;
	align-items: center;
	gap: 0.8rem;
	margin-bottom: 1.2rem;
	color: var(--eht-memory-gold);
	font-size: 0.69rem;
	font-weight: 900;
	letter-spacing: 0.17em;
	text-transform: uppercase;
}

.eht-memory__eyebrow::before {
	content: "";
	width: 2.6rem;
	height: 1px;
	background: currentColor;
}

.eht-memory__hero h1 {
	max-width: 1040px;
	margin: 0;
	padding: 0;
	color: #fff;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(3.2rem, 9vw, 8.2rem);
	font-weight: 500;
	letter-spacing: -0.068em;
	line-height: 0.9;
	text-wrap: balance;
}

.eht-memory__hero p {
	max-width: 760px;
	margin: clamp(1.5rem, 4vw, 2.3rem) 0 0;
	color: rgba(255, 255, 255, 0.77);
	font-size: clamp(1.05rem, 2.3vw, 1.38rem);
	line-height: 1.7;
	text-wrap: pretty;
}

.eht-memory__body {
	position: relative;
	z-index: 2;
	padding: 0 clamp(1rem, 4vw, 3rem) clamp(5rem, 10vw, 9rem);
	background:
		radial-gradient(circle at 2% 15%, rgba(169, 71, 47, 0.08), transparent 26rem),
		linear-gradient(180deg, #dcd4c8 0, var(--eht-memory-paper) 12rem);
}

.eht-memory__layout,
.eht-memory-notice {
	width: min(100%, 1260px);
	margin-right: auto;
	margin-left: auto;
}

.eht-memory__layout {
	display: grid;
	grid-template-columns: minmax(13rem, 17.5rem) minmax(0, 1fr);
	align-items: start;
	gap: clamp(1.4rem, 4vw, 3rem);
	margin-top: clamp(-7rem, -9vw, -4.5rem);
}

.eht-memory-notice {
	position: relative;
	z-index: 4;
	margin-top: clamp(-7rem, -9vw, -4.5rem);
	margin-bottom: 1.5rem;
	padding: 1.2rem 1.35rem;
	background: #fffdf8;
	border: 1px solid rgba(20, 44, 59, 0.16);
	border-left: 0.35rem solid #2f7b58;
	border-radius: 0.85rem;
	box-shadow: 0 1.2rem 3.5rem rgba(20, 44, 59, 0.14);
}

.eht-memory-notice + .eht-memory__layout {
	margin-top: 0;
}

.eht-memory-notice--error {
	border-left-color: #ae3e32;
}

.eht-memory-notice strong {
	display: block;
	margin-bottom: 0.25rem;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.2rem;
}

.eht-memory-notice p {
	margin: 0;
	color: var(--eht-memory-soft);
	line-height: 1.6;
}

.eht-memory-guide,
.eht-memory-form {
	background: var(--eht-memory-card);
	border: 1px solid rgba(20, 44, 59, 0.12);
	border-radius: clamp(1rem, 3vw, 1.8rem);
	box-shadow: 0 2rem 5rem rgba(20, 44, 59, 0.14);
}

.eht-memory-guide {
	position: static;
	padding: clamp(1.5rem, 3vw, 2.3rem);
	overflow: hidden;
}

.eht-memory-guide::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 0.34rem;
	background: linear-gradient(90deg, var(--eht-memory-rust), var(--eht-memory-gold));
}

.eht-memory-guide__number {
	display: block;
	margin-bottom: 2.2rem;
	color: rgba(20, 44, 59, 0.16);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 3.7rem;
	font-weight: 700;
	line-height: 1;
}

.eht-memory-guide h2 {
	margin: 0 0 1.2rem;
	color: var(--eht-memory-ink);
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(1.7rem, 3vw, 2.35rem);
	font-weight: 600;
	letter-spacing: -0.035em;
	line-height: 1.05;
}

.eht-memory-guide ul {
	display: grid;
	gap: 0.9rem;
	margin: 0;
	padding: 0;
	color: var(--eht-memory-soft);
	list-style: none;
}

.eht-memory-guide li {
	position: relative;
	margin: 0;
	padding-left: 1.35rem;
	font-size: 0.96rem;
	line-height: 1.55;
}

.eht-memory-guide li::before {
	content: "";
	position: absolute;
	top: 0.63em;
	left: 0;
	width: 0.48rem;
	height: 0.48rem;
	background: var(--eht-memory-rust);
	border-radius: 50%;
	box-shadow: 0 0 0 0.25rem rgba(169, 71, 47, 0.1);
}

.eht-memory-guide__note {
	margin-top: 2rem;
	padding: 1.15rem;
	background: rgba(226, 184, 110, 0.14);
	border: 1px solid rgba(169, 71, 47, 0.12);
	border-radius: 0.8rem;
}

.eht-memory-guide__note strong {
	display: block;
	margin-bottom: 0.35rem;
	font-size: 0.76rem;
	font-weight: 900;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.eht-memory-guide__note p {
	margin: 0;
	color: var(--eht-memory-soft);
	font-size: 0.86rem;
	line-height: 1.55;
}

.eht-memory-form {
	position: relative;
	padding: clamp(1.2rem, 4vw, 3rem);
}

.eht-memory-form__honeypot {
	position: absolute !important;
	left: -10000px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

.eht-memory-form__section {
	min-width: 0;
	margin: 0;
	padding: 0 0 clamp(2rem, 5vw, 3.4rem);
	border: 0;
}

.eht-memory-form__section + .eht-memory-form__section {
	padding-top: clamp(2rem, 5vw, 3.4rem);
	border-top: 1px solid rgba(20, 44, 59, 0.13);
}

.eht-memory-form__section legend {
	display: flex;
	align-items: center;
	gap: 0.8rem;
	width: 100%;
	margin: 0 0 0.45rem;
	padding: 0;
	color: var(--eht-memory-ink);
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(1.45rem, 3vw, 2rem);
	font-weight: 600;
	letter-spacing: -0.025em;
	line-height: 1.15;
}

.eht-memory-form__section legend span {
	display: inline-grid;
	width: 2rem;
	height: 2rem;
	color: #fff;
	background: var(--eht-memory-rust);
	border-radius: 50%;
	font-family: system-ui, sans-serif;
	font-size: 0.64rem;
	font-weight: 900;
	letter-spacing: 0.06em;
	place-items: center;
}

.eht-memory-form__help,
.eht-memory-form__privacy {
	margin: 0 0 1.2rem;
	color: var(--eht-memory-soft);
	font-size: 0.9rem;
	line-height: 1.55;
}

.eht-memory-form__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

.eht-memory-form__field {
	margin: 0;
}

.eht-memory-form__field--wide {
	grid-column: 1 / -1;
}

.eht-memory-form__field label {
	display: block;
	margin-bottom: 0.48rem;
	color: var(--eht-memory-ink);
	font-size: 0.75rem;
	font-weight: 900;
	letter-spacing: 0.055em;
	line-height: 1.35;
	text-transform: uppercase;
}

.eht-memory-form__field label > span,
.eht-memory-form__consent span > span {
	color: var(--eht-memory-rust);
}

.eht-memory-form input[type="text"],
.eht-memory-form input[type="email"],
.eht-memory-form textarea {
	width: 100%;
	margin: 0;
	padding: 0.9rem 1rem;
	color: var(--eht-memory-ink);
	background: #fff;
	border: 1px solid rgba(20, 44, 59, 0.25);
	border-radius: 0.55rem;
	box-shadow: inset 0 1px 2px rgba(20, 44, 59, 0.04);
	font: inherit;
	font-size: 1rem;
	line-height: 1.5;
	transition: border-color 160ms ease, box-shadow 160ms ease;
}

.eht-memory-form textarea {
	min-height: 13rem;
	resize: vertical;
}

.eht-memory-form input:focus,
.eht-memory-form textarea:focus,
.eht-memory-form button:focus-visible {
	outline: none;
	border-color: var(--eht-memory-rust);
	box-shadow: 0 0 0 0.22rem rgba(169, 71, 47, 0.17);
}

.eht-memory-form__choices {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.65rem;
}

.eht-memory-form__choices label,
.eht-memory-form__choice-stack label {
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: 0.7rem;
	margin: 0;
	cursor: pointer;
}

.eht-memory-form__choices label {
	min-height: 3.7rem;
	align-items: center;
	padding: 0.85rem;
	background: #f8f4ed;
	border: 1px solid rgba(20, 44, 59, 0.13);
	border-radius: 0.65rem;
	font-size: 0.9rem;
	font-weight: 700;
	line-height: 1.35;
	transition: background 160ms ease, border-color 160ms ease;
}

.eht-memory-form__choices label:has(input:checked) {
	background: rgba(169, 71, 47, 0.08);
	border-color: var(--eht-memory-rust);
}

.eht-memory-form input[type="checkbox"] {
	width: 1.15rem;
	height: 1.15rem;
	margin: 0.1rem 0 0;
	flex: 0 0 auto;
	accent-color: var(--eht-memory-rust);
}

.eht-memory-upload {
	display: grid;
	min-height: 13rem;
	padding: 1.4rem;
	text-align: center;
	background:
		repeating-linear-gradient(135deg, rgba(20, 44, 59, 0.018) 0 8px, transparent 8px 16px),
		#faf7f1;
	border: 1px dashed rgba(20, 44, 59, 0.38);
	border-radius: 0.85rem;
	cursor: pointer;
	place-content: center;
	transition: background 160ms ease, border-color 160ms ease;
}

.eht-memory-upload:hover,
.eht-memory-upload:focus-within {
	background-color: #fffdf8;
	border-color: var(--eht-memory-rust);
}

.eht-memory-upload__icon {
	display: inline-grid;
	width: 3rem;
	height: 3rem;
	margin: 0 auto 0.75rem;
	color: #fff;
	background: var(--eht-memory-rust);
	border-radius: 50%;
	font-size: 1.5rem;
	place-items: center;
}

.eht-memory-upload strong,
.eht-memory-upload small {
	display: block;
}

.eht-memory-upload strong {
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.2rem;
}

.eht-memory-upload small {
	max-width: 32rem;
	margin: 0.35rem auto 1rem;
	color: var(--eht-memory-soft);
	font-size: 0.82rem;
	line-height: 1.5;
}

.eht-memory-upload input[type="file"] {
	max-width: 100%;
	margin: 0 auto;
	font-size: 0.82rem;
}

.eht-memory-form__choice-stack {
	display: grid;
	gap: 0.8rem;
	margin-top: 1.2rem;
}

.eht-memory-form__choice-stack label {
	padding: 0.9rem 1rem;
	color: var(--eht-memory-soft);
	background: #f8f4ed;
	border: 1px solid rgba(20, 44, 59, 0.11);
	border-radius: 0.65rem;
	font-size: 0.9rem;
	line-height: 1.5;
}

.eht-memory-form__choice-stack .eht-memory-form__consent {
	color: var(--eht-memory-ink);
	background: rgba(226, 184, 110, 0.14);
	border-color: rgba(169, 71, 47, 0.18);
}

.eht-memory-form__submit {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: center;
	gap: 1rem 1.3rem;
	padding-top: 0.2rem;
}

.eht-memory-form__submit button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.8rem;
	min-height: 3.7rem;
	padding: 0.95rem 1.45rem;
	color: #fff;
	background: var(--eht-memory-rust);
	border: 1px solid var(--eht-memory-rust);
	border-radius: 999px;
	box-shadow: 0 0.85rem 2rem rgba(169, 71, 47, 0.2);
	cursor: pointer;
	font: inherit;
	font-size: 0.76rem;
	font-weight: 900;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	transition: background 180ms ease, transform 180ms ease;
}

.eht-memory-form__submit button:hover {
	background: #8f3826;
	transform: translateY(-2px);
}

.eht-memory-form__submit p {
	margin: 0;
	color: var(--eht-memory-soft);
	font-size: 0.8rem;
	line-height: 1.5;
}

@media (max-width: 900px) {
	.eht-memory__layout {
		grid-template-columns: 1fr;
	}

	.eht-memory-guide {
		position: static;
	}
}

@media (max-width: 640px) {
	.eht-memory__hero {
		min-height: 34rem;
	}

	.eht-memory__hero::before {
		inset: 0.55rem;
		border-radius: 1rem;
	}

	.eht-memory__hero-inner {
		width: calc(100% - 2.4rem);
		padding: 5rem 0 8rem;
	}

	.eht-memory__hero h1 {
		font-size: clamp(3rem, 16vw, 4.7rem);
		line-height: 0.93;
	}

	.eht-memory__body {
		padding-right: 0.6rem;
		padding-left: 0.6rem;
	}

	.eht-memory__layout {
		margin-top: -5rem;
	}

	.eht-memory-form__grid,
	.eht-memory-form__choices,
	.eht-memory-form__submit {
		grid-template-columns: 1fr;
	}

	.eht-memory-form__field--wide {
		grid-column: auto;
	}

	.eht-memory-form,
	.eht-memory-guide {
		border-radius: 1.1rem;
	}

	.eht-memory-form {
		padding: 1.1rem;
	}

	.eht-memory-form__submit button {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.eht-memory * {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}

@media (prefers-contrast: more) {
	.eht-memory-guide,
	.eht-memory-form,
	.eht-memory-form__choices label,
	.eht-memory-form__choice-stack label,
	.eht-memory-form input,
	.eht-memory-form textarea {
		border-color: currentColor;
	}
}
