/**
 * Site chrome, bottom.
 */

.mq-footer {
	background: var(--mq-black);
	color: rgba(255, 255, 255, 0.86);
	font-size: var(--mq-fs-15);
}

.mq-footer__top {
	padding-block: clamp(48px, 7vh, 86px) clamp(36px, 5vh, 60px);
	border-top: 2px solid var(--mq-gold);
}

.mq-footer__grid {
	display: grid;
	grid-template-columns: 1.5fr 0.85fr 1.35fr 1fr;
	gap: clamp(28px, 3.4vw, 60px);
	align-items: start;
}

/* --- Brand column --- */

/* Layout reset for the footer lockup lives in header.css beside the masthead
   rules it is undoing. Only the sizing is here. */
.mq-brand--footer .mq-brand__lockup { width: 176px; }

.mq-footer__blurb {
	margin-top: 18px;
	max-width: 42ch;
	line-height: 1.82;
	color: rgba(255, 255, 255, 0.8);
}

.mq-footer__contact {
	display: grid;
	gap: 6px;
	margin-top: 18px;
	font-size: var(--mq-fs-17);
	letter-spacing: 0.04em;
	color: var(--mq-white);
}

/* Glyph and line on one baseline. inline-flex rather than an inline SVG left to
   sit in the text flow, where it rides the baseline and drops the descender. */
.mq-footer__contact a {
	display: inline-flex;
	align-items: center;
	gap: 9px;
}

/* Gold, like every other small mark on this ground - and flex: none so a long
   address can never squeeze the glyph out of shape. */
.mq-footer__contact .mq-icon {
	flex: none;
	width: 16px;
	height: 16px;
	color: var(--mq-gold);
}

/* The base .mq-social component is in base.css - the masthead uses it too. */

.mq-social--footer { margin-top: 26px; gap: 14px; }

/* Each glyph sits in a bordered square, so the target is a comfortable 44px
   even though the mark itself is 24px. The icons are inline SVG and inherit
   currentColor, so only the wrapper needs the hover treatment. */
.mq-social--footer a {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 1px solid var(--mq-line-dark);
	transition: background var(--mq-dur-sm) var(--mq-ease),
	            border-color var(--mq-dur-sm) var(--mq-ease);
}

.mq-social--footer .mq-icon {
	width: 24px;
	height: 24px;
	color: rgba(255, 255, 255, 0.82);
}

/* --- Link columns --- */

.mq-footer__title {
	margin-bottom: 18px;
	font-family: var(--mq-body);
	font-size: var(--mq-fs-13);
	font-weight: 600;
	letter-spacing: var(--mq-track-eyebrow);
	text-transform: uppercase;
	color: var(--mq-gold);
}

.mq-footer__col ul { display: grid; gap: 12px; }

.mq-footer__col a {
	color: rgba(255, 255, 255, 0.88);
	transition: color var(--mq-dur-sm) var(--mq-ease);
}

.mq-footer__col--venues a { display: grid; gap: 2px; }

.mq-footer__venue {
	font-size: var(--mq-fs-15);
	font-weight: 600;
	color: var(--mq-white);
}

.mq-footer__addr {
	font-size: var(--mq-fs-13);
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.66);
}

.mq-footer__col .mq-btn { margin-top: 20px; }

@media (hover: hover) and (pointer: fine) {
	.mq-footer__col a:hover,
	.mq-footer__contact a:hover { color: var(--mq-gold); }
	.mq-footer__col a:hover .mq-footer__venue { color: var(--mq-gold); }
	.mq-social--footer a:hover {
		background: rgba(212, 175, 55, 0.12);
		border-color: var(--mq-gold);
	}

	.mq-social--footer a:hover .mq-icon { color: var(--mq-gold); }
}

/* --- Bottom bar --- */

.mq-footer__bottom { border-top: 1px solid var(--mq-line-dark); }

.mq-footer__bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px 26px;
	padding-block: 22px;
}

.mq-footer__legal {
	font-size: var(--mq-fs-13);
	letter-spacing: 0.04em;
	color: rgba(255, 255, 255, 0.68);
}

/* --- Narrower --- */

@media (max-width: 1100px) {
	.mq-footer__grid { grid-template-columns: 1fr 1fr; }

	/*
	 * The paragraph under the logo goes, on tablet and down.
	 *
	 * It is the same six-rooms sentence the site opens with and the intro
	 * section prints again; in a footer that already carries every venue by
	 * name and address one column across, it is the third telling. On a half
	 * width or full width column it is also four or five lines of body copy
	 * between the logo and the only two things anyone came to the footer for,
	 * which are the number and the address.
	 *
	 * Scoped to .mq-footer__brand deliberately - .mq-footer__blurb is used
	 * twice, and the second one is the Start Planning column's standfirst,
	 * which sits directly above the Book Now button and has to stay.
	 */
	.mq-footer__brand .mq-footer__blurb { display: none; }
}

@media (max-width: 620px) {
	.mq-footer__grid { grid-template-columns: 1fr; gap: 34px; }
	.mq-footer__bar { justify-content: flex-start; }

	/*
	 * Footer links as touch targets.
	 *
	 * A line of 15px text is a 21-24px tall link, stacked 12px from the next
	 * one - fine to click, too close to call with a thumb, and this is the one
	 * column layout where they are the full width of the screen and read as a
	 * menu. The padding moves out of the gap and into the links themselves, so
	 * each one is ~40px tall and the list keeps roughly the rhythm it had
	 * rather than growing by a row of padding per item.
	 *
	 * The venue links already carry two lines and a gap of their own, so they
	 * clear the floor without help - only the single-line lists need it.
	 */
	.mq-footer__col ul { gap: 0; }

	.mq-footer__col li > a {
		display: block;
		padding-block: 9px;
	}

	/*
	 * Explore, two to a row.
	 *
	 * Nine single-word-ish links one per row is most of a screen of footer
	 * before the venues column even starts. Two columns halves that and the
	 * labels are all short enough to take it.
	 *
	 * Scoped by element AND by :not() - the venues column beside it uses the
	 * same .mq-footer__col ul, and its links carry a name and a full street
	 * address on two lines each, which will not go in half a phone. The Start
	 * Planning column is a div with no list at all, so it is untouched either
	 * way.
	 */
	nav.mq-footer__col:not(.mq-footer__col--venues) ul {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: 14px;
	}

	/* ---------------------------------------------------------------
	 * The brand block, centred
	 * --------------------------------------------------------------- */

	/*
	 * A grid purely to centre what is inside it. The lockup is an inline
	 * image in an <a>, the contact list is a flex row and the social row is
	 * another - text-align alone would centre the first and neither of the
	 * others.
	 */
	.mq-footer__brand {
		display: grid;
		justify-items: center;
		text-align: center;
	}

	/*
	 * Number and address on one line.
	 *
	 * They stack at 17px: the two together need about 310px at 13px and the
	 * column is 350px at 390px wide, so the step down is what buys the single
	 * line rather than being a style choice. flex-wrap is the safety net -
	 * under about 340px they drop to two centred lines rather than running
	 * off the edge, which is the right way for this to fail.
	 */
	.mq-footer__contact {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		gap: 4px 18px;
		margin-top: 14px;
		font-size: var(--mq-fs-13);
	}

	.mq-footer__contact a { padding-block: 7px; }

	.mq-footer__contact .mq-icon { width: 14px; height: 14px; }
}
