/**
 * Shared layout — header, footer, buttons, utilities.
 */
@import url("https://fonts.googleapis.com/css2?family=Alex+Brush&family=Bodoni+Moda:ital,opsz,wght@0,6..96,400;0,6..96,500;1,6..96,400&family=Montserrat:wght@300;400;500;600&family=Roboto:wght@400;500&display=swap");

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

html {
	scroll-behavior: smooth;
	overflow-x: clip;
}

body.vibes-site {
	margin: 0;
	font-family: var(--vibes-font-body);
	color: var(--vibes-dark);
	background: var(--vibes-white);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
	max-width: 100%;
	-webkit-tap-highlight-color: rgba(197, 157, 95, 0.22);
}

body.vibes-nav-open {
	overflow: hidden;
	touch-action: none;
}

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

a {
	color: inherit;
}

.vibes-container {
	width: var(--vibes-container);
	margin: 0 auto;
}

.vibes-container--wide {
	width: var(--vibes-container-wide);
	margin: 0 auto;
}

/* Header */
.vibes-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--vibes-white);
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
	padding-top: var(--vibes-safe-top);
	/* Logo height (clamp 120–200px × 0.38 aspect) + 0.75rem padding top & bottom */
	--vibes-header-height: calc(var(--vibes-safe-top) + 1.5rem + clamp(45.6px, 6.84vw, 76px));
}

.vibes-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	padding: 0.75rem 0;
}

.vibes-logo-link {
	display: block;
	flex-shrink: 0;
}

.vibes-logo {
	width: clamp(120px, 18vw, 200px);
	height: auto;
}

.vibes-nav-toggle {
	display: none;
	background: none;
	border: none;
	padding: 0.5rem;
	cursor: pointer;
	color: var(--vibes-dark);
	min-width: var(--vibes-touch-min);
	min-height: var(--vibes-touch-min);
	border-radius: 4px;
	-webkit-tap-highlight-color: transparent;
	touch-action: manipulation;
}

.vibes-nav-toggle svg {
	display: block;
	width: 24px;
	height: 24px;
}

.vibes-nav {
	display: flex;
	align-items: center;
	gap: 1.75rem;
}

.vibes-nav a {
	font-family: var(--vibes-font-ui);
	font-size: 0.8rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	text-decoration: none;
	color: var(--vibes-dark);
	transition: color var(--vibes-transition);
}

.vibes-nav a:hover,
.vibes-nav a.is-active {
	color: var(--vibes-gold);
}

/* Buttons */
.vibes-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.85rem 2rem;
	font-family: var(--vibes-font-body);
	font-size: 0.8rem;
	font-weight: 300;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	text-decoration: none;
	border: none;
	border-radius: 1px;
	cursor: pointer;
	transition: background var(--vibes-transition), transform var(--vibes-transition);
}

.vibes-btn--primary {
	background: var(--vibes-gold);
	color: var(--vibes-white);
}

.vibes-btn--primary:hover {
	background: var(--vibes-gold-dark);
}

/* Footer */
.vibes-footer {
	background: var(--vibes-black);
	color: var(--vibes-white);
	padding: 3.75rem 0;
}

.vibes-footer__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 2rem;
	align-items: start;
}

.vibes-footer__heading {
	font-family: var(--vibes-font-ui);
	font-size: 0.75rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin: 0 0 1rem;
	color: var(--vibes-white);
}

.vibes-footer__links {
	list-style: none;
	margin: 0;
	padding: 0;
}

.vibes-footer__links li + li {
	margin-top: 0.5rem;
}

.vibes-footer__links a {
	display: inline-flex;
	align-items: flex-start;
	gap: 1rem;
	font-family: var(--vibes-font-ui);
	font-size: 0.875rem;
	line-height: 1.5;
	color: var(--vibes-text-muted);
	text-decoration: none;
	transition: color var(--vibes-transition);
}

.vibes-footer__links a:hover {
	color: var(--vibes-gold-icon);
}

.vibes-footer__contact-item {
	display: inline-flex;
	align-items: flex-start;
	gap: 1rem;
	font-family: var(--vibes-font-ui);
	font-size: 0.875rem;
	line-height: 1.5;
	color: var(--vibes-text-muted);
}

.vibes-footer__contact-item a {
	color: var(--vibes-text-muted);
	text-decoration: none;
	transition: color var(--vibes-transition);
	min-height: 44px;
	display: inline-flex;
	align-items: center;
}

.vibes-footer__contact-item a:hover {
	color: var(--vibes-gold-icon);
}

.vibes-footer__links svg {
	flex-shrink: 0;
	width: 16px;
	height: 16px;
	fill: var(--vibes-gold-icon);
	margin-top: 0.2rem;
}

.vibes-footer__bottom {
	margin-top: 2.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 1rem;
	font-family: var(--vibes-font-ui);
	font-size: 0.75rem;
	color: var(--vibes-text-muted);
}

.vibes-footer__nav {
	display: flex;
	flex-wrap: wrap;
	gap: 1.25rem;
}

.vibes-footer__nav a {
	color: var(--vibes-text-muted);
	text-decoration: none;
	transition: color var(--vibes-transition);
}

.vibes-footer__nav a:hover {
	color: var(--vibes-gold-icon);
}

/* Mobile nav */
@media (max-width: 767px) {
	.vibes-nav-toggle {
		display: block;
	}

	.vibes-nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		background: var(--vibes-white);
		border-top: 1px solid var(--vibes-gray-200);
		padding: 0.5rem 4vw 1rem;
		box-shadow: var(--vibes-shadow);
	}

	.vibes-nav.is-open {
		display: flex;
	}

	.vibes-nav a {
		padding: 0.875rem 0;
		min-height: 44px;
		display: flex;
		align-items: center;
		border-bottom: 1px solid var(--vibes-gray-200);
	}

	.vibes-nav a:last-child {
		border-bottom: none;
	}

	.vibes-header {
		position: sticky;
	}

	.vibes-header .vibes-container {
		position: relative;
	}

	.vibes-footer__grid {
		grid-template-columns: 1fr;
		gap: 2rem;
	}
}

/* Accessibility — skip link */
.vibes-skip-link {
	position: absolute;
	top: -100px;
	left: 16px;
	z-index: 1000;
	padding: 10px 16px;
	background: var(--vibes-dark, #414141);
	color: var(--vibes-white, #fff);
	font-size: 0.875rem;
	font-weight: 600;
	text-decoration: none;
	border-radius: 4px;
	transition: top 0.2s;
}

.vibes-skip-link:focus {
	top: 16px;
	outline: 2px solid var(--vibes-gold, #c59d5f);
	outline-offset: 2px;
}

/* Focus states for keyboard navigation */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
	outline: 2px solid var(--vibes-gold, #c59d5f);
	outline-offset: 2px;
}

/* Cookie consent banner */
.vibes-cookie-banner {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 200;
	background: var(--vibes-dark, #414141);
	color: var(--vibes-white, #fff);
	padding: 16px 20px;
	box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
}

.vibes-cookie-banner[hidden] {
	display: none;
}

.vibes-cookie-banner__inner {
	max-width: var(--vibes-container-wide, 1200px);
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.vibes-cookie-banner__text {
	margin: 0;
	font-size: 0.875rem;
	line-height: 1.5;
	flex: 1;
	min-width: 200px;
}

.vibes-cookie-banner__text a {
	color: var(--vibes-gold, #c59d5f);
	text-decoration: underline;
}

.vibes-cookie-banner__btn {
	flex-shrink: 0;
	padding: 10px 24px;
	background: var(--vibes-gold, #c59d5f);
	color: var(--vibes-white, #fff);
	border: none;
	border-radius: 4px;
	font-family: inherit;
	font-size: 0.875rem;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.2s;
}

.vibes-cookie-banner__btn:hover {
	background: #b08a4f;
}
