/*
Theme Name: Motherland
Theme URI: https://motherland-gambia.com
Author: Motherland
Description: Custom theme for the Motherland events venue — site chrome and design tokens only. Domain features live in the motherland plugin.
Version: 0.1.0
Requires at least: 6.4
Requires PHP: 8.2
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: motherland-theme
*/

/* Site chrome only — design tokens live in assets/css/tokens.css. */

/* ---- Base --------------------------------------------------------- */

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

body {
	margin: 0;
	background: var(--bg-base);
	color: var(--text);
	font-family: var(--font-ui);
	font-size: var(--fs-body);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0;
	font-family: var(--font-display);
	font-weight: 400;
	line-height: var(--lh-display);
	letter-spacing: var(--track-display);
	color: var(--text-heading);
}

a {
	color: var(--gold);
	text-decoration: none;
}

a:hover {
	color: var(--gold-light);
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	word-wrap: normal;
}

.skip-link {
	position: absolute;
	top: -100px;
	left: var(--gutter);
	z-index: 100;
	padding: 10px 16px;
	background: var(--bg-elevated);
	color: var(--gold-light);
	font-size: 12px;
	letter-spacing: var(--track-button);
	text-transform: uppercase;
}

.skip-link:focus {
	top: 8px;
}

/* ---- Shared controls ---------------------------------------------- */

.ml-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 44px;
	padding: 0 22px;
	border-radius: var(--radius-btn);
	background: var(--gold-gradient);
	color: var(--on-gold);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: var(--track-button);
	text-transform: uppercase;
}

.ml-btn:hover {
	filter: brightness(1.08);
	color: var(--on-gold);
}

.ml-btn--outline {
	background: none;
	border: 1px solid rgba(201, 162, 75, 0.45);
	color: var(--text);
	font-weight: 600;
}

.ml-btn--outline:hover {
	filter: none;
	background: rgba(201, 162, 75, 0.12);
	color: var(--text);
}

.ml-social {
	display: flex;
	gap: 10px;
}

.ml-social a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: var(--radius-pill);
	border: 1px solid rgba(201, 162, 75, 0.4);
	color: var(--gold-light);
}

.ml-social .ml-social__icon {
	display: block;
	width: 14px;
	height: 14px;
}

.ml-social a:hover {
	background: rgba(201, 162, 75, 0.14);
	border-color: var(--gold);
	color: var(--gold-light);
}

.ml-social .ml-social__wa {
	border: 0;
	background: var(--gold-gradient);
	color: var(--on-gold);
}

.ml-social .ml-social__wa:hover {
	filter: brightness(1.08);
	background: var(--gold-gradient);
	color: var(--on-gold);
}

/* ---- Header ------------------------------------------------------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 60;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 14px var(--gutter);
	background: rgba(6, 5, 5, 0.82);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border-bottom: 1px solid rgba(201, 162, 75, 0.14);
}

.site-header__wordmark {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--gold-light);
}

.site-header__wordmark .ml-mark {
	display: block;
	width: auto;
	height: 26px;
}

.site-header__wordmark .ml-wordmark {
	display: block;
	width: auto;
	height: 20px;
}

.site-header__actions {
	display: flex;
	align-items: center;
	gap: 14px;
}

.site-header__social,
.site-header__reserve {
	display: none;
}

.site-header__tag {
	font-size: 10px;
	letter-spacing: 0.18em;
	color: rgba(244, 241, 234, 0.5);
}

.site-header__toggle {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	padding: 8px 0 8px 8px;
	border: 0;
	background: none;
	cursor: pointer;
}

.site-header__toggle-bar {
	width: 20px;
	height: 1px;
	background: var(--gold);
}

.site-header__toggle-bar--short {
	width: 12px;
}

.site-nav {
	display: none;
}

.is-nav-open .site-nav {
	display: block;
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	padding: 12px var(--gutter) 20px;
	background: rgba(6, 5, 5, 0.96);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border-bottom: 1px solid rgba(201, 162, 75, 0.2);
}

.site-nav__list {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-nav a {
	color: var(--text);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: var(--track-nav);
	text-transform: uppercase;
}

.site-nav a:hover {
	color: var(--gold-light);
}

@media (min-width: 1024px) {

	.site-header {
		height: 82px;
		padding: 0 var(--gutter);
		background: rgba(6, 5, 5, 0.8);
		backdrop-filter: blur(16px);
		-webkit-backdrop-filter: blur(16px);
	}

	.site-header__wordmark .ml-mark {
		height: 30px;
	}

	.site-header__wordmark .ml-wordmark {
		height: 24px;
	}

	.site-nav {
		display: block;
	}

	.site-nav__list {
		flex-direction: row;
		gap: 38px;
	}

	.site-header__actions {
		gap: 20px;
	}

	.site-header__social {
		display: flex;
		gap: 8px;
	}

	.site-header__social a {
		width: 34px;
		height: 34px;
	}

	.site-header__social .ml-social__icon {
		width: 12px;
		height: 12px;
	}

	.site-header__reserve {
		display: inline-flex;
	}

	.site-header__tag,
	.site-header__toggle {
		display: none;
	}
}

/* ---- Footer ------------------------------------------------------- */

.site-footer {
	border-top: 1px solid var(--hairline);
	padding: 30px var(--gutter) 40px;
}

.site-footer__brand {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.site-footer__wordmark {
	display: flex;
	align-items: center;
	gap: 10px;
	align-self: flex-start;
	color: var(--gold-light);
}

.site-footer__wordmark .ml-mark {
	display: block;
	width: auto;
	height: 24px;
}

.site-footer__wordmark .ml-wordmark {
	display: block;
	width: auto;
	height: 18px;
}

.site-footer__social a {
	width: 44px;
	height: 44px;
}

.site-footer__quicklinks {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
	font-size: 11.5px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.site-footer__address {
	font-size: 11.5px;
	line-height: 1.6;
	color: rgba(244, 241, 234, 0.45);
}

.site-footer__col {
	display: none;
}

.site-footer__copyright {
	margin-top: 18px;
	font-size: 10px;
	letter-spacing: 0.14em;
	color: rgba(244, 241, 234, 0.28);
}

@media (min-width: 1024px) {

	.site-footer {
		padding: 56px var(--gutter) 40px;
	}

	.site-footer__grid {
		display: grid;
		grid-template-columns: 1.6fr 1fr 1fr 1fr;
		gap: 48px;
	}

	.site-footer__brand {
		gap: 20px;
	}

	.site-footer__wordmark .ml-mark {
		height: 28px;
	}

	.site-footer__wordmark .ml-wordmark {
		height: 22px;
	}

	.site-footer__quicklinks {
		display: none;
	}

	.site-footer__address {
		order: 2;
		font-size: 13px;
		line-height: 1.7;
	}

	.site-footer__social {
		order: 3;
	}

	.site-footer__social a {
		width: 40px;
		height: 40px;
	}

	.site-footer__col {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 14px;
	}

	.site-footer__label {
		font-size: 11px;
		letter-spacing: 0.2em;
		text-transform: uppercase;
		color: rgba(244, 241, 234, 0.4);
	}

	.site-footer__col a:not(.ml-btn) {
		font-size: 13.5px;
	}

	.site-footer__blurb {
		font-size: 13.5px;
		line-height: 1.6;
		color: var(--text-faint);
	}

	.site-footer__col .ml-btn--outline {
		height: 46px;
		align-self: stretch;
	}

	.site-footer__copyright {
		margin-top: 40px;
	}
}
