/******************************
**
**	Electrify My Life - holding page
**	(c) 2026 Iteracy Ltd
**	www.iteracy.com
**
*******************************/

/*
	Standalone. This deliberately does NOT share a stylesheet with the CMS site in
	D:\wwwroot\electrifymylife - it is a separate site on a separate codebase and copying the tokens
	is cheaper than coupling them. The values below are the same ones, from
	"Electrify My Life brand-identity-v1.0.pdf".

	The design language: flat colour bands, 4px ink borders, hard offset shadows, no radii, no
	gradients. Archivo Black for display, Archivo for body, DM Mono for the small uppercase labels.
*/

:root {
	--ink:        #12222B;
	--ink_3:      #2C3E48;
	--cream:      #FBF7EF;
	--white:      #FFFFFF;
	--cyan:       #1FC8E8;
	--pink:       #F0468F;
	--yellow:     #FFD23F;
	--on_dark:    #B4C0C7;
	--on_light:   #4A5A63;

	--rule: 4px;
	--shadow: 8px 8px 0 var(--ink);
	--shadow_sm: 6px 6px 0 var(--ink);

	--font: "Archivo", "Helvetica Neue", Arial, sans-serif;
	--display_font: "Archivo Black", "Arial Black", Arial, sans-serif;
	--mono_font: "DM Mono", ui-monospace, Consolas, monospace;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	padding: 0;
	background: var(--cream);
	color: var(--ink);
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}

img { border: 0; max-width: 100%; }

a { color: var(--ink); }

/* ---- shared band shell ------------------------------------------------ */

.band {
	display: block;
	width: 100%;
	border-top: var(--rule) solid var(--ink);
}

.band_inner,
.bar_inner {
	max-width: 1000px;
	margin: 0 auto;
	padding: 56px 32px;
}

/* ---- header ----------------------------------------------------------- */

#top_bar {
	background: var(--cream);
	border-bottom: var(--rule) solid var(--ink);
}

#top_bar .bar_inner {
	padding: 14px 32px;
	display: flex;
	align-items: center;
	gap: 11px;
}

#logo_mark {
	display: block;
	width: auto;
	height: 46px;
}

#logo_words {
	font-family: var(--display_font);
	font-size: 18px;
	letter-spacing: -0.02em;
	text-transform: uppercase;
	white-space: nowrap;
}

/* ---- hero ------------------------------------------------------------- */

.band_hero {
	background: var(--pink);
	border-top: 0;
}

.eyebrow {
	font-family: var(--mono_font);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	margin: 0 0 22px;
}

.display_heading {
	font-family: var(--display_font);
	font-weight: 400;
	font-size: clamp(46px, 11vw, 96px);
	line-height: 0.86;
	letter-spacing: -0.045em;
	text-transform: uppercase;
	margin: 0 0 28px;
}

.lede {
	font-size: 21px;
	font-weight: 500;
	line-height: 1.45;
	max-width: 34rem;
	margin: 0 0 18px;
}

.lede_small {
	font-size: 17px;
	font-weight: 400;
	margin-bottom: 0;
}

/* ---- contact band ----------------------------------------------------- */

.band_contact {
	background: var(--cream);
}

.band_heading {
	font-family: var(--display_font);
	font-weight: 400;
	font-size: clamp(32px, 6vw, 46px);
	line-height: 0.98;
	letter-spacing: -0.03em;
	text-transform: uppercase;
	margin: 0 0 12px;
}

.band_contact .lede {
	color: var(--on_light);
	font-weight: 400;
	font-size: 18px;
	margin-bottom: 32px;
}

/* ---- the form --------------------------------------------------------- */

.enquiry {
	max-width: 30rem;
	display: flex;
	flex-direction: column;
	gap: 22px;
}

.field {
	display: flex;
	flex-direction: column;
	gap: 7px;
}

.field label {
	font-family: var(--mono_font);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.optional {
	color: var(--on_light);
	letter-spacing: 0.04em;
}

.field input[type="text"],
.field input[type="email"],
.field textarea {
	font-family: var(--font);
	font-size: 17px;
	color: var(--ink);
	background: var(--white);
	border: var(--rule) solid var(--ink);
	border-radius: 0;
	padding: 14px 16px;
	width: 100%;
	transition: box-shadow 0.15s;
}

.field textarea {
	resize: vertical;
	min-height: 8rem;
	line-height: 1.5;
}

.field input:focus,
.field textarea:focus,
.poster_button:focus-visible {
	outline: 0;
	box-shadow: var(--shadow_sm);
}

/* the checkbox row runs across rather than down */
.field_check {
	flex-direction: row;
	align-items: center;
	gap: 12px;
}

.field_check input {
	width: 24px;
	height: 24px;
	flex: none;
	accent-color: var(--ink);
	margin: 0;
}

.field_check label {
	font-family: var(--font);
	font-size: 16px;
	font-weight: 500;
	letter-spacing: 0;
	text-transform: none;
}

.smallprint {
	font-size: 14px;
	line-height: 1.5;
	color: var(--on_light);
	margin: 0;
}

.poster_button {
	align-self: flex-start;
	display: inline-block;
	background: var(--yellow);
	color: var(--ink);
	border: var(--rule) solid var(--ink);
	border-radius: 0;
	padding: 18px 40px;
	font-family: var(--display_font);
	font-weight: 400;
	font-size: 20px;
	letter-spacing: -0.01em;
	text-transform: uppercase;
	cursor: pointer;
	box-shadow: var(--shadow);
	transition: box-shadow 0.15s, transform 0.15s;
}

.poster_button:hover {
	box-shadow: 0 0 0 var(--ink);
	transform: translate(8px, 8px);
}

/* ---- errors ----------------------------------------------------------- */

.error {
	font-family: var(--font);
	font-size: 15px;
	font-weight: 600;
	color: var(--pink);
}

.error_form {
	border-left: var(--rule) solid var(--pink);
	padding: 10px 0 10px 16px;
	margin: 0 0 26px;
	max-width: 30rem;
}

/* the honeypot. off screen rather than display:none - some bots skip hidden fields */
.hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* ---- localhost mail preview, never rendered live ---------------------- */

.local_preview {
	margin-top: 32px;
	border: 2px dashed var(--on_light);
	padding: 20px;
	background: var(--white);
	overflow-x: auto;
}

.local_preview_label {
	font-family: var(--mono_font);
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--on_light);
	margin: 0 0 14px;
}

/* ---- footer ----------------------------------------------------------- */

footer {
	background: var(--ink);
	border-top: var(--rule) solid var(--ink);
}

footer .bar_inner {
	padding: 26px 32px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	color: var(--on_dark);
	font-size: 14px;
}

footer p { margin: 0; }
footer a { color: var(--on_dark); }
#footer_logo { line-height: 0; opacity: 0.85; }

/* ---- small screens ---------------------------------------------------- */

@media (max-width: 640px) {

	body { font-size: 16px; }

	.band_inner { padding: 40px 20px; }
	#top_bar .bar_inner { padding: 12px 20px; gap: 10px; }
	#logo_mark { height: 40px; }
	#logo_words { font-size: 15.5px; }

	.lede { font-size: 18px; }
	.band_contact .lede { font-size: 17px; }

	.poster_button {
		align-self: stretch;
		text-align: center;
		box-shadow: var(--shadow_sm);
	}

	.poster_button:hover { transform: translate(6px, 6px); }

	footer .bar_inner {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
		padding: 24px 20px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.poster_button,
	.poster_button:hover,
	.field input,
	.field textarea {
		transition: none;
		transform: none;
	}
}
