.hvm-form {
	max-width: 38rem;
}

.hvm-form__field {
	margin-block: 1rem;
}

.hvm-form__field > label,
.hvm-form__field > input {
	display: block;
}

.hvm-form__field > input {
	box-sizing: border-box;
	width: 100%;
}

.hvm-form__check {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	margin-block: 1rem;
}

.hvm-form__check > input {
	flex-shrink: 0;
	margin-top: 0.3em;
}

.hvm-form__trap {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
}

.hvm-form__message {
	min-height: 1.5em;
}

.hvm-form__message--error:empty {
	min-height: 0;
}

.hvm-form :focus-visible {
	outline: 3px solid currentColor;
	outline-offset: 3px;
}

.hvm-page button,
.hvm-page input {
	font: inherit;
}

/* Standalone confirm, newsletter and unsubscribe pages. Colours come from the site's email brand. */
.hvm-body {
	margin: 0;
	min-height: 100vh;
	background: var(--hvm-background, #f6f1e8);
	color: var(--hvm-ink, #2a241c);
	font: 400 1rem/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

.hvm-brand {
	padding: 2.5rem 1.25rem 0;
	text-align: center;
}

.hvm-brand a {
	color: inherit;
	font: 500 0.95rem/1 Georgia, "Times New Roman", serif;
	letter-spacing: 0.32em;
	text-decoration: none;
}

.hvm-page {
	box-sizing: border-box;
	max-width: 36rem;
	margin: 1.75rem auto 0;
	padding: clamp(1.75rem, 5vw, 3rem);
	border-radius: 6px;
	background: var(--hvm-card, #fff);
	box-shadow: 0 1px 2px rgb(42 36 28 / 6%), 0 12px 40px rgb(42 36 28 / 8%);
}

.hvm-page h1 {
	margin: 0 0 1rem;
	font: 400 clamp(1.75rem, 4.5vw, 2.25rem)/1.2 Georgia, "Times New Roman", serif;
}

.hvm-page > p,
.hvm-page form > p {
	margin: 0 0 1rem;
}

.hvm-page button {
	cursor: pointer;
	min-height: 48px;
	padding: 0.85rem 1.6rem;
	border: 0;
	border-radius: 3px;
	background: var(--hvm-button, #2a241c);
	color: var(--hvm-on-button, #fff);
	font-weight: 600;
	letter-spacing: 0.02em;
	transition: transform 0.15s ease, opacity 0.15s ease;
}

.hvm-page button:hover {
	opacity: 0.9;
}

.hvm-page button:active {
	transform: scale(0.98);
}

.hvm-page :focus-visible {
	outline: 3px solid var(--hvm-accent, #b08d57);
	outline-offset: 3px;
}

.hvm-eyebrow {
	margin: 0 0 0.5rem;
	color: var(--hvm-accent, #b08d57);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.hvm-foot {
	padding: 1.5rem 1.25rem 3rem;
	color: var(--hvm-soft, #6b5f50);
	font-size: 0.8rem;
	text-align: center;
}

/* Success: the ring and check draw themselves, then the text rises in. */
.hvm-success {
	margin: 0 0 1.75rem;
	text-align: center;
}

.hvm-success__mark {
	display: block;
	width: 72px;
	height: 72px;
	margin: 0 auto 1rem;
	fill: none;
	stroke: var(--hvm-accent, #b08d57);
	stroke-linecap: round;
	stroke-linejoin: round;
}

.hvm-success__ring {
	stroke-width: 2;
	stroke-dasharray: 208;
	stroke-dashoffset: 208;
	animation: hvm-draw 0.7s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

.hvm-success__check {
	stroke-width: 3;
	stroke-dasharray: 44;
	stroke-dashoffset: 44;
	animation: hvm-draw 0.4s cubic-bezier(0.65, 0, 0.35, 1) 0.55s forwards;
}

.hvm-success__title,
.hvm-success__text {
	opacity: 0;
	animation: hvm-rise 0.5s ease 0.8s forwards;
}

.hvm-success__title {
	margin: 0 0 0.5rem;
	font: 400 1.5rem/1.25 Georgia, "Times New Roman", serif;
}

.hvm-success__text {
	margin: 0;
	color: var(--hvm-soft, #6b5f50);
}

.hvm-page h1:has(+ .hvm-success) {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
}

@keyframes hvm-draw {
	to { stroke-dashoffset: 0; }
}

@keyframes hvm-rise {
	from { opacity: 0; transform: translateY(6px); }
	to { opacity: 1; transform: none; }
}

.hvm-newsletter-offer {
	margin: 0 0 1.75rem;
	padding: 1.4rem 1.5rem;
	border-radius: 4px;
	background: var(--hvm-background, #f6f1e8);
	opacity: 0;
	animation: hvm-rise 0.5s ease 1.05s forwards;
}

.hvm-newsletter-offer__lead {
	margin: 0 0 0.6rem;
	font: 400 1.2rem/1.35 Georgia, "Times New Roman", serif;
}

.hvm-consent-wording {
	margin: 0 0 1rem;
	color: var(--hvm-soft, #6b5f50);
	font-size: 0.85rem;
}

.hvm-next {
	opacity: 0;
	animation: hvm-rise 0.5s ease 1.2s forwards;
}

.hvm-next ul {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--hvm-line, #e7dccb);
}

.hvm-next a {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.25rem 1rem;
	padding: 0.9rem 0;
	border-bottom: 1px solid var(--hvm-line, #e7dccb);
	color: inherit;
	text-decoration: none;
}

.hvm-next a span {
	font: 400 1.05rem/1.4 Georgia, "Times New Roman", serif;
}

.hvm-next a small {
	color: var(--hvm-accent, #b08d57);
	font-size: 0.85rem;
	font-weight: 600;
	white-space: nowrap;
}

.hvm-next a:hover span {
	text-decoration: underline;
	text-decoration-color: var(--hvm-accent, #b08d57);
}

/* Sign-up form: after a successful send the fields fold away and a sent panel appears. */
.hvm-form--sent > :not(.hvm-sent):not([data-hvm-message]) {
	display: none !important;
}

.hvm-form--sent > [data-hvm-message] {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
}

.hvm-sent {
	text-align: center;
	animation: hvm-rise 0.45s ease forwards;
}

.hvm-sent__mark {
	display: block;
	width: 64px;
	height: 64px;
	margin: 0 auto 0.75rem;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.hvm-sent__env {
	stroke-width: 2;
	stroke-dasharray: 180;
	stroke-dashoffset: 180;
	animation: hvm-draw 0.6s cubic-bezier(0.65, 0, 0.35, 1) 0.1s forwards;
}

.hvm-sent__flap {
	stroke-width: 2;
	stroke-dasharray: 66;
	stroke-dashoffset: 66;
	animation: hvm-draw 0.35s ease 0.55s forwards;
}

.hvm-sent__badge {
	fill: none;
	stroke-width: 2;
	transform-box: fill-box;
	transform-origin: center;
	transform: scale(0);
	animation: hvm-pop 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) 0.85s forwards;
}

.hvm-sent__tick {
	stroke-width: 2.5;
	stroke-dasharray: 14;
	stroke-dashoffset: 14;
	animation: hvm-draw 0.25s ease 1.1s forwards;
}

.hvm-sent__title {
	margin: 0 0 0.35rem;
	font: 400 1.4rem/1.25 Georgia, "Times New Roman", serif;
}

.hvm-sent__text {
	margin: 0 0 0.75rem;
	opacity: 0.85;
}

.hvm-sent__again {
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	font: inherit;
	font-size: 0.875rem;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}

@keyframes hvm-pop {
	to { transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
	.hvm-success__ring,
	.hvm-success__check,
	.hvm-sent__env,
	.hvm-sent__flap,
	.hvm-sent__tick {
		animation: none;
		stroke-dashoffset: 0;
	}

	.hvm-success__title,
	.hvm-success__text,
	.hvm-newsletter-offer,
	.hvm-next,
	.hvm-sent {
		animation: none;
		opacity: 1;
	}

	.hvm-sent__badge {
		animation: none;
		transform: none;
	}
}
