/* AUM Forms – front end
   Matches the Book Your Consultation look: Lato, small tracked uppercase labels
   with a dot for required, 1px grey hairline inputs, square black button. */

.aumf {
	--aumf-font: 'Lato', 'Helvetica Neue', Arial, sans-serif;
	--aumf-ink: #222;
	--aumf-muted: #6b6b6b;
	--aumf-label: #555;
	--aumf-line: #cfcfcf;
	--aumf-line-focus: #222;
	--aumf-field-bg: #fff;
	--aumf-button: #000;
	--aumf-button-ink: #fff;
	--aumf-error: #a4362e;
	--aumf-gap: 16px;
	--aumf-field-h: 54px;

	font-family: var(--aumf-font);
	font-size: 16px;
	line-height: 1.5;
	color: var(--aumf-ink);
	max-width: 100%;
}

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

/* Layout ------------------------------------------------------------ */
.aumf-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: var(--aumf-gap);
	row-gap: 24px;
}
.aumf-field--full { grid-column: 1 / -1; }
.aumf-field--half { grid-column: span 1; }
@media (max-width: 600px) {
	.aumf-field--half { grid-column: 1 / -1; }
}

/* Labels ------------------------------------------------------------ */
.aumf-label {
	display: block;
	margin: 0 0 8px;
	font-size: 11px;
	font-weight: 400;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--aumf-label);
	line-height: 1.6;
}
.aumf-req {
	display: inline-block;
	width: 4px; height: 4px;
	margin-left: 4px;
	vertical-align: 3px;
	border-radius: 50%;
	background: var(--aumf-ink);
}

/* Inputs ------------------------------------------------------------ */
.aumf input[type=text],
.aumf input[type=email],
.aumf input[type=tel],
.aumf input[type=number],
.aumf input[type=date],
.aumf textarea,
.aumf select {
	display: block;
	width: 100%;
	min-height: var(--aumf-field-h);
	margin: 0;
	padding: 14px 16px;
	font: inherit;
	font-size: 16px;
	color: var(--aumf-ink);
	background: var(--aumf-field-bg);
	border: 1px solid var(--aumf-line);
	border-radius: 0;
	box-shadow: none;
	outline: none;
	-webkit-appearance: none;
	appearance: none;
	transition: border-color .15s ease;
}
.aumf textarea { min-height: 180px; resize: vertical; line-height: 1.6; }
.aumf ::placeholder { color: #8d8d8d; opacity: 1; }
.aumf input:focus, .aumf textarea:focus, .aumf select:focus { border-color: var(--aumf-line-focus); }
.aumf input:focus-visible, .aumf textarea:focus-visible, .aumf select:focus-visible { outline: 2px solid var(--aumf-ink); outline-offset: 2px; }

.aumf-select { position: relative; }
.aumf-select select { padding-right: 44px; cursor: pointer; }
.aumf-select::after {
	content: '';
	position: absolute; right: 18px; top: 50%;
	width: 8px; height: 8px;
	border-right: 1px solid var(--aumf-ink);
	border-bottom: 1px solid var(--aumf-ink);
	transform: translateY(-70%) rotate(45deg);
	pointer-events: none;
}

/* Checkbox ---------------------------------------------------------- */
.aumf-check {
	display: grid;
	grid-template-columns: 18px 1fr;
	gap: 12px;
	align-items: start;
	cursor: pointer;
}
.aumf-check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.aumf-check__box {
	width: 18px; height: 18px;
	margin-top: 1px;
	border: 1px solid var(--aumf-line);
	background: var(--aumf-field-bg);
	position: relative;
	transition: border-color .15s ease, background .15s ease;
}
.aumf-check__box::after {
	content: '';
	position: absolute; left: 5px; top: 1px;
	width: 5px; height: 10px;
	border-right: 2px solid #fff;
	border-bottom: 2px solid #fff;
	transform: rotate(45deg) scale(0);
	transition: transform .12s ease;
}
.aumf-check input:checked + .aumf-check__box { background: var(--aumf-ink); border-color: var(--aumf-ink); }
.aumf-check input:checked + .aumf-check__box::after { transform: rotate(45deg) scale(1); }
.aumf-check input:focus-visible + .aumf-check__box { outline: 2px solid var(--aumf-ink); outline-offset: 2px; }
.aumf-check__label {
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--aumf-label);
	line-height: 1.7;
}

/* Radios ------------------------------------------------------------ */
.aumf-fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.aumf-fieldset legend { padding: 0; }
.aumf-radios { display: flex; flex-wrap: wrap; gap: 12px 28px; padding-top: 4px; }
.aumf-radio { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: 15px; }
.aumf-radio input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.aumf-radio__dot {
	width: 16px; height: 16px;
	border: 1px solid var(--aumf-line);
	border-radius: 50%;
	position: relative;
}
.aumf-radio__dot::after {
	content: '';
	position: absolute; inset: 4px;
	border-radius: 50%;
	background: var(--aumf-ink);
	transform: scale(0);
	transition: transform .12s ease;
}
.aumf-radio input:checked + .aumf-radio__dot { border-color: var(--aumf-ink); }
.aumf-radio input:checked + .aumf-radio__dot::after { transform: scale(1); }
.aumf-radio input:focus-visible + .aumf-radio__dot { outline: 2px solid var(--aumf-ink); outline-offset: 2px; }

/* Static blocks ----------------------------------------------------- */
.aumf-heading {
	margin: 8px 0 0;
	font-family: var(--aumf-font);
	font-weight: 300;
	font-size: 26px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #6f6f6f;
	line-height: 1.2;
}
.aumf-text { color: var(--aumf-muted); font-size: 16px; }
.aumf-text p:last-child { margin-bottom: 0; }

/* Errors ------------------------------------------------------------ */
.aumf-field--error input,
.aumf-field--error textarea,
.aumf-field--error select,
.aumf-field--error .aumf-check__box { border-color: var(--aumf-error); }
.aumf-error {
	display: block;
	margin-top: 6px;
	font-size: 12px;
	letter-spacing: 0.04em;
	color: var(--aumf-error);
}
.aumf-alert {
	margin: 0 0 24px;
	padding: 14px 16px;
	border-left: 2px solid var(--aumf-error);
	background: #faf3f2;
	color: var(--aumf-error);
	font-size: 14px;
}

/* Actions ----------------------------------------------------------- */
.aumf-actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px 20px;
	margin-top: 32px;
}
.aumf-button {
	display: inline-block;
	margin: 0;
	padding: 20px 26px;
	font-family: var(--aumf-font);
	font-size: 12px;
	font-weight: 400;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--aumf-button-ink);
	background: var(--aumf-button);
	border: 1px solid var(--aumf-button);
	border-radius: 0;
	line-height: 1;
	cursor: pointer;
	transition: background .15s ease, color .15s ease;
}
.aumf-button:hover { background: #fff; color: var(--aumf-button); }
.aumf-button:focus-visible { outline: 2px solid var(--aumf-ink); outline-offset: 3px; }
.aumf-note { font-size: 15px; color: var(--aumf-muted); }

/* Honeypot ---------------------------------------------------------- */
.aumf-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Confirmation (replaces the form after reload) --------------------- */
.aumf-confirmation {
	padding: 48px 0 40px;
	max-width: 620px;
	animation: aumf-in .5s ease both;
}
.aumf-confirmation__mark {
	width: 40px; height: 1px;
	background: var(--aumf-ink);
	margin-bottom: 28px;
}
.aumf-confirmation__title {
	margin: 0 0 16px;
	font-family: var(--aumf-font);
	font-weight: 300;
	font-size: 40px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	line-height: 1.1;
	color: #6f6f6f;
}
.aumf-confirmation__text { font-size: 17px; line-height: 1.7; color: var(--aumf-muted); max-width: 52ch; }
.aumf-confirmation__text p:last-child { margin-bottom: 0; }
@keyframes aumf-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .aumf-confirmation { animation: none; } }
@media (max-width: 600px) { .aumf-confirmation__title { font-size: 30px; } }
