/* Holding page (inc/holding-page.php). Colours and type follow main.css. */

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

body {
	background-color: #116a70;
	color: #fff;
	display: flex;
	flex-direction: column;
	font-family: "proxima-nova", "Helvetica Neue", Verdana, sans-serif;
	line-height: 1.5;
	margin: 0;
	min-height: 100vh;
	-webkit-font-smoothing: antialiased;
}

.holding {
	align-items: center;
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 2.5rem;
	margin-inline: auto;
	max-width: 1000px;
	padding: 3rem 1.25rem;
	width: 100%;
}

.holding__logo {
	margin: 0;
}

.holding__logo img {
	display: block;
	height: auto;
	width: 120px;
}

.holding__video {
	aspect-ratio: 100 / 52.73; /* the video's own shape, from Vimeo's embed code */
	background-color: #04282b;
	width: 100%;
}

.holding__video iframe {
	border: 0;
	display: block;
	height: 100%;
	width: 100%;
}

/* Waiting for the script to load it; without JS the <noscript> one shows instead. */
.holding__video iframe[data-src]:not([src]) {
	display: none;
}

.holding__text {
	font-size: 1.25rem;
	max-width: 60ch;
	text-align: center;
}

.holding__text > * {
	margin: 0;
}

.holding__text > * + * {
	margin-top: 1.25rem;
}

.holding__text :is(h2, h3) {
	font-weight: 700;
	letter-spacing: 0.1em;
	line-height: 1.2;
	padding-bottom: 1.25rem;
	position: relative;
	text-transform: uppercase;
}

.holding__text :is(h2, h3)::after {
	background-color: #f7bf24;
	bottom: 0;
	content: "";
	height: 6px;
	left: 50%;
	position: absolute;
	transform: translateX(-50%);
	width: 72px;
}

.holding a {
	color: currentColor;
	font-weight: 700;
	text-decoration: underline;
	text-decoration-color: #f7bf24;
	text-decoration-thickness: 3px;
}

.holding a:hover,
.holding a:focus {
	background-color: #f7bf24;
	color: #04282b;
}

.holding__footer {
	background-color: #04282b;
	font-size: 0.875rem;
	letter-spacing: 0.1em;
	padding: 1.25rem;
	text-align: center;
	text-transform: uppercase;
}

.holding__footer address {
	font-style: normal;
}

.holding__footer p {
	margin: 0.5rem 0 0;
}

.holding__footer a {
	color: #fff;
	text-decoration-thickness: 1px;
}

:focus-visible {
	outline: 3px solid #f7bf24;
	outline-offset: 2px;
}
