/* Written by the landing page build – change it by running the build's set-frame again. */
/*
 * visit.innermedia.co.uk – frame CSS, matching innermedia.co.uk
 * (style.css, typography.css): a cool black header with linen links that
 * turn pale blue, the orange "Book a Demo" button with 12px corners at the
 * end of the row, Krylon headings under the galaxy ornament, cool black
 * buttons with pale blue labels, and the white centred footer over a cool
 * black lower bar.
 */

/* Type – the main site leaves smoothing at the browser's default. The
   panel's copy loses Howe Green's tracking. */
body {
	-webkit-font-smoothing: auto;
	-moz-osx-font-smoothing: auto;
}

.imagePanel .imagePanel-content :is(p, li, h3, h4) {
	letter-spacing: 0;
}

/* Header – 90px on a phone, 120px from 992px, the 82px logo, the menu and
   the button in one row. */
.landingHeader {
	min-height: 90px;

	@media (min-width: 992px) {
		min-height: 120px;
	}
}

.landingHeader .custom-logo,
.landingHeader img {
	width: 64px;
	height: 64px;
	object-fit: contain;

	@media (min-width: 992px) {
		width: 82px;
		height: 82px;
	}
}

@media (min-width: 992px) {
	.landingHeader-side {
		flex-direction: row;
		align-items: center;
		gap: 10px;
	}

	.landingHeader-cta.button {
		order: 2;
	}
}

.landing-menu--main {
	gap: 0 20px;
}

.landing-menu--main a {
	color: var(--im-linen);
	font: 300 17px/1.5 "Open Sans", sans-serif;
	letter-spacing: 0;
	text-transform: none;
	opacity: 1;
	transition: color 300ms;
}

.landing-menu--main a:focus-visible {
	color: var(--im-blue);
	opacity: 1;
}

@media (hover: hover) and (pointer: fine) {
	.landing-menu--main a:hover {
		color: var(--im-blue);
		opacity: 1;
	}
}

.landingPanel .landing-menu--panel a {
	font: 300 20px/1.3 "Open Sans", sans-serif;
	letter-spacing: 0;
	text-transform: none;
}

/* Buttons – cool black with a pale blue label, 12px corners; under the
   pointer the fill goes and the label turns cool black. */
.button,
.blockButton {
	--button-bg: var(--im-coolblack);
	--button-border: var(--im-coolblack);
	--button-label: var(--im-blue);
	--button-bg-hover: transparent;
	--button-border-hover: var(--im-coolblack);
	--button-label-hover: var(--im-coolblack);

	padding: 0.6em 0.9em;
	border-width: 1px;
	border-radius: 12px;
	font: 300 1rem/1.1 "Open Sans", sans-serif;
	letter-spacing: 0;
	text-transform: none;
	transition: 300ms;
}

/* On the cool black panel – the main site's dark blocks: a pale blue
   outline, linen under the pointer. */
:is(.imagePanel, .imageInset) .button,
.button--onDark,
.landingPanel-cta.button {
	--button-bg: var(--im-coolblack);
	--button-border: var(--im-blue);
	--button-label: var(--im-blue);
	--button-bg-hover: var(--im-linen);
	--button-border-hover: var(--im-coolblack);
	--button-label-hover: var(--im-coolblack);
}

/* The header's button – orange, 14px 500, linen under the pointer. */
.landingHeader-cta.button {
	--button-bg: var(--im-orange);
	--button-border: var(--im-orange);
	--button-label: var(--im-coolblack);
	--button-bg-hover: var(--im-linen);
	--button-border-hover: var(--im-linen);
	--button-label-hover: var(--im-coolblack);

	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0;
	text-transform: none;
}

.landingPanel-cta.button {
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0;
	text-transform: none;
}

.wpforms-container .wpforms-form button[type="submit"].button {
	--wpforms-button-border-size: 1px;
	--wpforms-button-border-radius: 12px;
	--button-bg: var(--im-coolblack);
	--button-border: var(--im-blue);
	--button-label: var(--im-blue);
	--button-bg-hover: var(--im-linen);
	--button-border-hover: var(--im-coolblack);
	--button-label-hover: var(--im-coolblack);

	min-width: 150px;
	padding: 0.6em 0.9em;
	border-width: 1px;
	border-radius: 12px;
	font: 300 1rem/1.1 "Open Sans", sans-serif;
	letter-spacing: 0;
	text-transform: none;
	transition: 300ms;
}

/* the form's labels at the regular weight */
.blockContent.block-image-form .wpforms-container .wpforms-field-label {
	font-weight: 400;
}

/* Headings – the main site's sizes at every width, words in strong
   picked out in orange, and the galaxy ornament above each section's
   heading, centred, or at the left on a panel and under a heading set
   left. */
.landingContent :is(h2, .sectionTitle) {
	font-size: 40px;

	@media (min-width: 992px) {
		font-size: 4.5vw;
	}

	@media (min-width: 1400px) {
		font-size: 64px;
	}

	strong {
		font-weight: inherit;
		color: var(--im-orange);
	}
}

.landingContent :is(h2, .sectionTitle)::before {
	content: '';
	display: block;
	width: 121px;
	height: 68px;
	margin: 0 auto 40px;
	background: url(/wp-content/uploads/2026/10/galaxy.svg) center / contain no-repeat;
}

.landingContent :is(.imagePanel-content, .imageInset) :is(h2, .sectionTitle)::before,
.landingContent .body-text h2:not([style*="center"])::before {
	margin-left: 0;
}

.landingContent h3 {
	font-size: 24px;

	@media (min-width: 992px) {
		font-size: 26px;
	}
}

/* Footer – the main site's: centred on a phone, the logo and its wordmark
   with the social links, "MAKE CONTACT" with the address beside the
   accreditation logos, then the cool black lower bar. */
.siteFooter {
	position: relative;
	padding: 4rem 0 0;
	background: var(--landing-footer-bg);
	color: var(--landing-footer-text);
	text-align: center;

	@media (min-width: 992px) {
		text-align: left;
	}

	a {
		color: var(--im-orange);
		text-decoration: none;
		transition: color 300ms;

		&:focus-visible {
			color: var(--im-blue);
		}

		@media (hover: hover) and (pointer: fine) {
			&:hover {
				color: var(--im-blue);
			}
		}
	}
}

.siteFooter-intro {
	margin-bottom: 20px;

	p {
		margin: 0 0 1rem;
	}

	.siteFooter-logo {
		width: 82px;
		height: 82px;
		object-fit: contain;
	}

	.siteFooter-wordmark {
		width: 178px;
		height: auto;
	}
}

.siteFooter-socials {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin: 25px 0 0;
	padding: 0;
	list-style: none;

	@media (min-width: 992px) {
		justify-content: flex-start;
	}

	a {
		display: inline-block;
		width: 40px;
		height: 40px;
		border-radius: 50%;
		background: #000;
		color: #fff;
		font-size: 20px;
		line-height: 40px;
		text-align: center;

		&:focus-visible {
			color: var(--im-orange);
		}

		@media (hover: hover) and (pointer: fine) {
			&:hover {
				color: var(--im-orange);
			}
		}
	}
}

.siteFooter-grid {
	display: grid;
	gap: 1.5rem;
	align-items: center;
	padding-bottom: 3rem;

	@media (min-width: 1200px) {
		grid-template-columns: 1fr 3fr;
	}

	h3 {
		margin: 0 0 0.6em;
		color: var(--im-orange);
		font: 400 24px/1.2 "Open Sans", sans-serif;

		@media (min-width: 992px) {
			font-size: 26px;
		}
	}

	p {
		margin: 0 0 1.5em;
	}
}

.siteFooter-logos {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 24px 14px;

	@media (min-width: 1200px) {
		justify-content: flex-end;
	}

	img {
		width: auto;
		max-height: 40px;
		object-fit: contain;

		@media (min-width: 768px) {
			max-height: 60px;
		}
	}
}

.siteFooter-lower {
	padding: 20px 0 80px;
	background: var(--im-coolblack);
	color: var(--im-linen);
	font-size: 14px;

	.container {
		display: grid;
		gap: 0.5rem;

		@media (min-width: 768px) {
			grid-template-columns: 1fr auto;
		}
	}

	p {
		margin: 0;
	}

	a {
		color: var(--im-linen);
	}

	ul {
		margin: 0;
		padding: 0;
		list-style: none;

		@media (min-width: 768px) {
			text-align: right;
		}
	}

	li {
		@media (min-width: 768px) {
			display: inline-block;
		}
	}

	li + li::before {
		@media (min-width: 768px) {
			content: '|';
			margin: 0 0.5em;
		}
	}
}
