/* ==========================================================================
   Medieval Banquets — theme stylesheet
   Palette: parchment, burgundy, antique gold, forest green, charcoal
   ========================================================================== */

/* Full-screen pages (see includes/fullscreen-template.php) carry no theme
   chrome of their own, so reset the document root rather than relying on
   the active theme to have done it. */
html:has(.mb-fullscreen-body),
body.mb-fullscreen-body {
	margin: 0;
	padding: 0;
}

body.mb-fullscreen-body {
	overflow-x: hidden;
}

/* Scroll-reveal entrances (see assets/js/script.js) slide elements in from
   off-screen via transform, which momentarily counts toward the document's
   scrollable area. Clip at the root so this never opens a horizontal
   scrollbar on mobile, whatever theme/page chrome wraps .mb-root. */
html {
	overflow-x: hidden;
}

.mb-root {
	--mb-burgundy: #5a1420;
	--mb-burgundy-dark: #3c0d16;
	--mb-gold: #c6a048;
	--mb-gold-light: #e4c876;
	--mb-parchment: #ebdaad;
	--mb-parchment-dark: #e8d9ad;
	--mb-forest: #2a3d2a;
	--mb-charcoal: #231a14;
	--mb-ink: #2b2017;
	--mb-cream: #fbf6e9;

	--mb-font-display: 'Cinzel Decorative', 'Cinzel', serif;
	--mb-font-heading: 'Cinzel', serif;
	--mb-font-body: 'EB Garamond', Georgia, serif;

	--mb-grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/></svg>");
	--mb-corner-flourish: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='34' height='34'><path d='M3 30 L3 10 Q3 3 10 3 L30 3' fill='none' stroke='%23c6a048' stroke-width='1.6'/><circle cx='3' cy='30' r='2.4' fill='%23c6a048'/><path d='M3 17 Q10 13 15 17' fill='none' stroke='%23c6a048' stroke-width='1.1'/></svg>");

	font-family: var(--mb-font-body);
	color: var(--mb-ink);
	background: var(--mb-parchment);
	line-height: 1.6;
	font-size: 19px;
}

.mb-root * {
	box-sizing: border-box;
}

.mb-root a {
	text-decoration: none;
}

.mb-root ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.mb-root img {
	max-width: 100%;
	display: block;
}

.mb-section-inner {
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 24px;
}

/* ---------- Headings ---------- */

.mb-heading {
	font-family: var(--mb-font-heading);
	font-weight: 700;
	font-size: clamp(28px, 4vw, 42px);
	margin: 0 0 18px;
	color: var(--mb-burgundy-dark);
	letter-spacing: 0.01em;
}

.mb-section-lead {
	font-size: 19px;
	color: #4a3c2c;
	margin-bottom: 40px;
}

/* ---------- Buttons ---------- */

.mb-btn {
	display: inline-block;
	font-family: var(--mb-font-heading);
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	font-size: 14px;
	padding: 15px 34px;
	border-radius: 2px;
	border: 2px solid transparent;
	cursor: pointer;
	transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

a.mb-btn-primary,
button.mb-btn-primary {
	background: var(--mb-gold);
	color: var(--mb-burgundy-dark);
	border-color: var(--mb-gold);
}

.mb-btn-primary:hover {
	background: var(--mb-gold-light);
	transform: translateY(-2px);
}

a.mb-btn-ghost {
	background: transparent;
	color: var(--mb-cream);
	border-color: var(--mb-gold);
}

.mb-btn-ghost:hover {
	background: rgba(198, 160, 72, 0.15);
	transform: translateY(-2px);
}

.mb-btn-full {
	width: 100%;
	text-align: center;
}

a.mb-link-arrow {
	font-family: var(--mb-font-heading);
	font-weight: 600;
	color: var(--mb-burgundy);
	border-bottom: 2px solid var(--mb-gold);
	padding-bottom: 2px;
}

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

.mb-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background:
		var(--mb-grain),
		linear-gradient(180deg, #44101b 0%, var(--mb-burgundy-dark) 100%);
	background-blend-mode: overlay;
	border-bottom: 3px solid var(--mb-gold);
	box-shadow: 0 6px 18px rgba(0,0,0,0.35);
}

.mb-nav {
	margin: 0 auto;
	padding: 14px 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

a.mb-brand {
	display: flex;
	align-items: center;
	gap: 14px;
	font-family: var(--mb-font-display);
	font-size: 19px;
	color: var(--mb-gold-light);
	white-space: nowrap;
	flex-shrink: 0;
}

.mb-brand-crest {
	display: inline-flex;
	color: var(--mb-gold);
}

.mb-brand-crest img {
	display: block;
	width: auto;
	height: 58px;
	object-fit: contain;
}

.mb-nav-toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 6px;
}

.mb-nav-toggle span {
	width: 26px;
	height: 2px;
	background: var(--mb-gold-light);
	display: block;
}

.mb-nav-links {
	display: flex;
	align-items: center;
	gap: 14px;
	font-family: var(--mb-font-heading);
	font-size: 13px;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	white-space: nowrap;
}

.mb-nav-links li {
	position: relative;
	display: flex;
	align-items: center;
	gap: 14px;
}

.mb-nav-links li:not(:last-child)::after {
	content: '\2766';
	color: var(--mb-gold);
	font-size: 10px;
	opacity: 0.7;
}

.mb-nav-links li a {
	color: #e9dcc0;
	transition: color 0.2s ease;
}

.mb-nav-links li a:hover {
	color: var(--mb-gold-light);
}

.mb-nav-cta {
	background: var(--mb-gold);
	color: var(--mb-burgundy-dark) !important;
	padding: 8px 18px;
	border-radius: 2px;
	font-weight: 600;
}

.mb-nav-cta:hover {
	background: var(--mb-gold-light);
}

/* ---------- Hero ---------- */

.mb-hero {
	position: relative;
	min-height: 86vh;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	overflow: hidden;
	background: var(--mb-burgundy-dark);
}

.mb-page-hero {
	min-height: 38vh;
}

.mb-page-hero .mb-hero-content {
	padding: 30px 24px;
}

.mb-page-hero-title {
	font-size: clamp(34px, 6vw, 58px);
	margin: 0;
}

.mb-hero-photo {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
	display: block;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

/* ---------- Homepage hero slideshow (fireplace -> feast hall -> stocks) ----------
 * Three photos crossfade in turn, each shown via a negative animation-delay
 * offset so one shared keyframe animation staggers them automatically. The
 * fire-slide wrapper runs the exact same animation with no delay, so the
 * simulated firelight glow (built for the still fireplace photo) is only
 * ever on screen while that first photo is, and fades out whenever one of
 * the other two photos - which already show their own real fire - is up. */

.mb-hero-slideshow {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.mb-hero-photo-slide {
	opacity: 0;
	animation: mb-hero-slide-crossfade 24s ease-in-out infinite;
}

.mb-hero-fire-slide {
	position: absolute;
	inset: 0;
	z-index: 2;
	opacity: 0;
	animation: mb-hero-slide-crossfade 24s ease-in-out infinite;
}

.mb-hero-fire-slide .mb-fire-fx {
	/* The slide wrapper now owns the crossfade timing, so the fire-fx's own
	   one-off fade-in-on-load no longer needs to hold it back to opacity 0
	   first - let it sit at full opacity and let the wrapper do the work. */
	animation: none;
	opacity: 1;
}

@keyframes mb-hero-slide-crossfade {
	0% { opacity: 1; }
	25% { opacity: 1; }
	33.33% { opacity: 0; }
	91.67% { opacity: 0; }
	100% { opacity: 1; }
}

.mb-photo-flame-glow {
	position: absolute;
	z-index: 2;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(252,217,138,0.55) 0%, rgba(242,165,60,0.25) 45%, rgba(242,165,60,0) 75%);
	filter: blur(2px);
	pointer-events: none;
	transform: translate(-50%, -50%);
	animation: mb-photo-flame-flicker 2.4s ease-in-out infinite;
}

@keyframes mb-photo-flame-flicker {
	0%, 100% { opacity: 0.85; transform: translate(-50%, -50%) scale(1); }
	30% { opacity: 1; transform: translate(-50%, -50%) scale(1.08); }
	55% { opacity: 0.7; transform: translate(-50%, -50%) scale(0.95); }
	80% { opacity: 0.95; transform: translate(-50%, -50%) scale(1.04); }
}

.mb-photo-steam {
	position: absolute;
	z-index: 2;
	width: 20px;
	height: 72px;
	background: linear-gradient(to top, rgba(255,255,255,0) 0%, rgba(255,252,245,0.85) 45%, rgba(255,255,255,0) 100%);
	filter: blur(2px);
	border-radius: 50%;
	pointer-events: none;
	opacity: 0;
	mix-blend-mode: screen;
	transform: translate(-50%, 0) scaleX(1);
	animation: mb-photo-steam-rise 4s ease-in infinite;
}

@keyframes mb-photo-steam-rise {
	0% { opacity: 0; transform: translate(-50%, 0) scaleX(0.8); }
	15% { opacity: 1; transform: translate(-50%, -14px) scaleX(1); }
	55% { opacity: 0.7; transform: translate(-50%, -48px) scaleX(1.3); }
	100% { opacity: 0; transform: translate(-50%, -82px) scaleX(1.6); }
}

.mb-jester-frame {
	position: absolute;
	z-index: 2;
	left: 9%;
	top: 44%;
	width: 150px;
	height: 140px;
	pointer-events: none;
	overflow: hidden;
}

.mb-maid-frame {
	position: absolute;
	z-index: 2;
	left: 73%;
	top: 43%;
	width: 130px;
	height: 92px;
	pointer-events: none;
	overflow: hidden;
}

.mb-hero-overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	background-image: var(--mb-grain);
	opacity: 0.3;
	mix-blend-mode: overlay;
	pointer-events: none;
}

.mb-hero-vignette {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: radial-gradient(ellipse at 50% 38%, rgba(20,8,6,0.25) 0%, rgba(14,5,4,0.78) 72%, rgba(10,4,3,0.92) 100%);
	pointer-events: none;
}

/* ---------- Fireplace light over the hero photo ---------- */

.mb-fire-fx {
	position: absolute;
	inset: 0;
	z-index: 2;
	opacity: 0;
	animation: mb-fire-fx-fade-in 2.4s ease-out forwards;
}

@keyframes mb-fire-fx-fade-in {
	from { opacity: 0; }
	to { opacity: 1; }
}

.mb-fire-ambient {
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: none;
	mix-blend-mode: screen;
	background: radial-gradient(ellipse 60% 70% at 25% 71%, rgba(255,140,50,0.24) 0%, rgba(255,120,40,0.1) 42%, rgba(0,0,0,0) 72%);
	animation: mb-fire-ambient-flicker 2.6s ease-in-out infinite;
}

@keyframes mb-fire-ambient-flicker {
	0%, 100% { opacity: 1; }
	20% { opacity: 0.8; }
	38% { opacity: 1; }
	55% { opacity: 0.72; }
	72% { opacity: 0.95; }
	88% { opacity: 0.82; }
}

.mb-fire-glow {
	position: absolute;
	z-index: 2;
	border-radius: 50%;
	pointer-events: none;
	mix-blend-mode: screen;
	transform: translate(-50%, -50%);
}

.mb-fire-glow-a {
	left: 25%;
	top: 73%;
	width: 140px;
	height: 140px;
	background: radial-gradient(circle, rgba(255,214,120,0.95) 0%, rgba(255,150,40,0.55) 45%, rgba(255,150,40,0) 75%);
	animation: mb-fire-flicker-a 1.1s ease-in-out infinite;
}

@keyframes mb-fire-flicker-a {
	0%, 100% { opacity: 0.9; transform: translate(-50%, -50%) scale(1); }
	18% { opacity: 1; transform: translate(-50%, -50%) scale(1.08); }
	34% { opacity: 0.75; transform: translate(-50%, -50%) scale(0.92); }
	52% { opacity: 1; transform: translate(-50%, -50%) scale(1.05); }
	68% { opacity: 0.8; transform: translate(-50%, -50%) scale(0.96); }
	85% { opacity: 0.95; transform: translate(-50%, -50%) scale(1.03); }
}

.mb-fire-glow-b {
	left: 25%;
	top: 71%;
	width: 280px;
	height: 280px;
	background: radial-gradient(circle, rgba(255,170,60,0.55) 0%, rgba(255,120,30,0.28) 50%, rgba(255,120,30,0) 78%);
	animation: mb-fire-flicker-b 1.7s ease-in-out infinite;
	animation-delay: 0.3s;
}

@keyframes mb-fire-flicker-b {
	0%, 100% { opacity: 0.7; transform: translate(-50%, -50%) scale(1); }
	22% { opacity: 0.85; transform: translate(-50%, -50%) scale(1.06); }
	40% { opacity: 0.55; transform: translate(-50%, -50%) scale(0.94); }
	60% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.04); }
	78% { opacity: 0.6; transform: translate(-50%, -50%) scale(0.97); }
}

.mb-fire-glow-c {
	left: 24%;
	top: 62%;
	width: 460px;
	height: 460px;
	background: radial-gradient(circle, rgba(255,150,60,0.28) 0%, rgba(255,110,30,0.12) 50%, rgba(255,110,30,0) 80%);
	animation: mb-fire-flicker-c 2.3s ease-in-out infinite;
	animation-delay: 0.6s;
}

@keyframes mb-fire-flicker-c {
	0%, 100% { opacity: 0.8; transform: translate(-50%, -50%) scale(1); }
	30% { opacity: 1; transform: translate(-50%, -50%) scale(1.05); }
	55% { opacity: 0.65; transform: translate(-50%, -50%) scale(0.95); }
	80% { opacity: 0.9; transform: translate(-50%, -50%) scale(1.02); }
}

.mb-torch {
	position: absolute;
	bottom: 0;
	width: 130px;
	height: 364px;
	z-index: 2;
	pointer-events: none;
}

.mb-torch-left {
	left: 4%;
}

.mb-torch-right {
	right: 4%;
}

/* ---------- Candlelight in the hero illustration ---------- */

.mb-candle-flame {
	transform-box: fill-box;
	transform-origin: 50% 100%;
	animation: mb-candle-flicker 2.2s ease-in-out infinite;
}

@keyframes mb-candle-flicker {
	0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; }
	15% { transform: scale(0.92, 1.08) rotate(-3deg); opacity: 0.85; }
	35% { transform: scale(1.08, 0.94) rotate(2deg); opacity: 1; }
	55% { transform: scale(0.95, 1.05) rotate(-1deg); opacity: 0.8; }
	75% { transform: scale(1.05, 0.96) rotate(3deg); opacity: 0.95; }
}

.mb-candle-glow {
	animation: mb-glow-pulse 2.2s ease-in-out infinite;
}

@keyframes mb-glow-pulse {
	0%, 100% { opacity: 1; }
	30% { opacity: 0.7; }
	55% { opacity: 1; }
	80% { opacity: 0.75; }
}

/* ---------- Jester easter egg over the hero photo ---------- */

.mb-jester-body {
	transform-box: fill-box;
	transform-origin: 50% 100%;
	animation: mb-jester-body 16s ease-in-out infinite;
}

@keyframes mb-jester-body {
	0%, 48% { transform: translateY(115px); }
	53% { transform: translateY(-6px); }
	58%, 70% { transform: translateY(0); }
	76%, 100% { transform: translateY(115px); }
}

.mb-jester-arm {
	animation: mb-jester-arm 16s ease-in-out infinite;
}

@keyframes mb-jester-arm {
	0%, 56% { transform: rotate(0deg); }
	60% { transform: rotate(-58deg); }
	64% { transform: rotate(12deg); }
	70%, 100% { transform: rotate(0deg); }
}

.mb-jester-throw {
	transform-box: fill-box;
	transform-origin: 50% 50%;
	animation: mb-jester-throw 16s ease-in-out infinite;
}

@keyframes mb-jester-throw {
	0%, 59% { opacity: 0; transform: translate(0, 0) scale(1) rotate(0deg); }
	62% { opacity: 1; transform: translate(6px, -3px) scale(1) rotate(10deg); }
	70% { opacity: 1; transform: translate(85px, -22px) scale(0.6) rotate(240deg); }
	74%, 100% { opacity: 0; transform: translate(85px, -22px) scale(0.6) rotate(240deg); }
}

/* ---------- Maid at the window: walks past, doubles back, tells him off ---------- */

.mb-maid-walk {
	animation: mb-maid-walk 16s ease-in-out infinite;
}

@keyframes mb-maid-walk {
	0%   { transform: translateX(-130px) translateY(0); }
	4%   { transform: translateX(-95px) translateY(-3px); }
	8%   { transform: translateX(-55px) translateY(0); }
	12%  { transform: translateX(-15px) translateY(-3px); }
	16%, 19% { transform: translateX(20px) translateY(0); }
	24%  { transform: translateX(-4px) translateY(-3px); }
	28%  { transform: translateX(-16px) translateY(0); }
	32%  { transform: translateX(-22px) translateY(-3px); }
	36%, 52% { transform: translateX(-18px) translateY(0); }
	82%  { transform: translateX(-60px) translateY(-3px); }
	88%  { transform: translateX(-95px) translateY(0); }
	94%, 100% { transform: translateX(-130px) translateY(0); }
}

.mb-maid-lean {
	transform-box: fill-box;
	transform-origin: 50% 100%;
	animation: mb-maid-lean 16s ease-in-out infinite;
}

@keyframes mb-maid-lean {
	0%, 52% { transform: scale(1); }
	56% { transform: scale(1.1); }
	60%, 72% { transform: scale(1.14); }
	78%, 100% { transform: scale(1); }
}

.mb-maid-head {
	animation: mb-maid-head-shake 16s ease-in-out infinite;
}

@keyframes mb-maid-head-shake {
	0%, 54% { transform: rotate(0deg); }
	58% { transform: rotate(-10deg); }
	62% { transform: rotate(10deg); }
	66% { transform: rotate(-9deg); }
	70% { transform: rotate(6deg); }
	74%, 100% { transform: rotate(0deg); }
}

.mb-maid-arm {
	animation: mb-maid-arm 16s ease-in-out infinite;
}

@keyframes mb-maid-arm {
	0%, 54% { transform: rotate(-35deg); }
	58% { transform: rotate(-15deg); }
	62% { transform: rotate(25deg); }
	66% { transform: rotate(-15deg); }
	70% { transform: rotate(20deg); }
	74%, 100% { transform: rotate(-35deg); }
}

@media (prefers-reduced-motion: reduce) {
	.mb-candle-flame,
	.mb-candle-glow,
	.mb-photo-flame-glow,
	.mb-photo-steam,
	.mb-fire-ambient,
	.mb-fire-glow,
	.mb-ticker-track {
		animation: none;
	}

	.mb-fire-fx {
		opacity: 1;
		animation: none;
	}

	/* Freeze the homepage hero on its first photo (the fireplace) with its
	   firelight glow showing, rather than crossfading. */
	.mb-hero-photo-slide,
	.mb-hero-fire-slide {
		animation: none;
		opacity: 0;
	}

	.mb-hero-photo-slide:first-child,
	.mb-hero-fire-slide {
		opacity: 1;
	}

	.mb-jester,
	.mb-maid {
		display: none;
	}
}

@media (max-width: 920px) {
	.mb-torch {
		display: none;
	}
}

.mb-hero-content {
	position: relative;
	z-index: 2;
	padding: 40px 24px;
	max-width: 760px;
}

.mb-hero-kicker {
	font-family: var(--mb-font-body);
	font-style: italic;
	font-size: 17px;
	color: var(--mb-gold-light);
	margin-bottom: 18px;
	letter-spacing: 0.01em;
}

.mb-hero-title {
	position: relative;
	z-index: 2;
	font-family: var(--mb-font-display);
	font-weight: 700;
	font-size: clamp(42px, 8vw, 84px);
	color: var(--mb-cream);
	margin: 0 0 16px;
	text-shadow: 0 2px 24px rgba(0,0,0,0.4);
}

.mb-hero-title-wrap {
	position: relative;
	display: inline-block;
	margin: 90px 0;
}

.mb-hero-garland {
	position: absolute;
	left: 50%;
	top: 50%;
	z-index: 1;
	width: 70%;
	max-width: none;
	height: auto;
	transform: translate(-50%, -50%);
	pointer-events: none;
	opacity: 0;
	filter: drop-shadow(0 8px 18px rgba(0,0,0,0.45));
	animation: mb-hero-garland-in 0.9s 0.55s ease-out forwards;
}

@keyframes mb-hero-garland-in {
	from { opacity: 0; transform: translate(-50%, -50%) scale(0.94); }
	to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

@media (max-width: 600px) {
	.mb-hero-title-wrap {
		margin: 70px 0;
	}

	.mb-hero-garland {
		width: 92%;
	}
}

/* Page-hero banners (Events, About Us, etc.) carry a single, often short
   word, so sizing the garland as a percentage of the title - as the
   homepage hero does - makes it shrink with the word itself. Fixing its
   width to the viewport instead keeps it a consistent, generous span
   across every page title, short or long. */
.mb-page-hero-title-wrap {
	margin: 54px 0;
}

.mb-page-hero-title-wrap .mb-hero-garland {
	width: clamp(260px, 34vw, 440px);
}

@media (max-width: 600px) {
	.mb-page-hero-title-wrap {
		margin: 46px 0;
	}

	.mb-page-hero-title-wrap .mb-hero-garland {
		width: clamp(220px, 78vw, 360px);
	}
}

.mb-hero-tagline {
	font-family: var(--mb-font-heading);
	font-size: clamp(18px, 2.4vw, 24px);
	color: var(--mb-gold-light);
	margin: 0 0 10px;
	font-style: italic;
}

.mb-hero-sub {
	color: #d9cdb4;
	font-size: 17px;
	margin: 0 0 36px;
}

.mb-hero-actions {
	display: flex;
	gap: 18px;
	justify-content: center;
	flex-wrap: wrap;
}

.mb-hero-scroll {
	position: absolute;
	bottom: 30px;
	left: 50%;
	transform: translateX(-50%);
	width: 22px;
	height: 36px;
	border: 2px solid var(--mb-gold);
	border-radius: 12px;
	z-index: 2;
}

.mb-hero-scroll span {
	position: absolute;
	top: 6px;
	left: 50%;
	width: 4px;
	height: 8px;
	background: var(--mb-gold);
	border-radius: 2px;
	transform: translateX(-50%);
	animation: mb-scroll-bounce 1.8s infinite;
}

@keyframes mb-scroll-bounce {
	0%, 100% { opacity: 1; top: 6px; }
	50% { opacity: 0.4; top: 16px; }
}

/* ---------- Ornate divider ---------- */

.mb-divider {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 24px;
	margin-bottom: 48px;
}

.mb-divider svg {
	width: 100%;
	max-width: 420px;
	height: 28px;
	color: var(--mb-gold);
}

.mb-divider-dark svg {
	color: var(--mb-gold-light);
}

.mb-divider-line {
	stroke-dasharray: 180;
	stroke-dashoffset: 180;
	transition: stroke-dashoffset 1.1s cubic-bezier(0.22, 0.9, 0.3, 1);
}

.mb-divider-logo {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	height: 40px;
	width: auto;
	object-fit: contain;
	z-index: 1;
}

.mb-divider.is-revealed .mb-divider-line {
	stroke-dashoffset: 0;
}

/* ==========================================================================
   Scroll-reveal animation system
   Each data-reveal value is a distinct entrance, never a plain fade.
   JS toggles .is-revealed on intersection; see assets/js/script.js
   ========================================================================== */

[data-reveal] {
	will-change: transform, clip-path, opacity;
}

/* curtain: headings and eyebrows wipe open left-to-right, like a drawn curtain.
   The clip-path lives on an inner span, not the observed element itself -
   a self-clipped element reports zero intersection area to the
   IntersectionObserver in Chromium, so it would never be seen as "in view". */
.mb-curtain-inner {
	display: inline-block;
	clip-path: inset(0 100% 0 0);
	opacity: 0;
	transition: clip-path 0.85s cubic-bezier(0.65, 0, 0.18, 1), opacity 0.2s ease;
}

[data-reveal="curtain"].is-revealed .mb-curtain-inner {
	clip-path: inset(0 0 0 0);
	opacity: 1;
}

/* rise: body copy and list items rise from below with a slight settle */
[data-reveal="rise"] {
	opacity: 0;
	transform: translateY(34px) scale(0.985);
	transition: transform 0.7s cubic-bezier(0.22, 1.2, 0.36, 1), opacity 0.6s ease;
}

[data-reveal="rise"].is-revealed {
	opacity: 1;
	transform: translateY(0) scale(1);
}

/* pop: emblems, crests and gallery tiles pop in with a small overshoot */
[data-reveal="pop"] {
	opacity: 0;
	transform: scale(0.55) rotate(-6deg);
	transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
}

[data-reveal="pop"].is-revealed {
	opacity: 1;
	transform: scale(1) rotate(0deg);
}

/* slide-left / slide-right: alternating entrance for list and FAQ rows */
[data-reveal="slide-left"] {
	opacity: 0;
	transform: translateX(-60px) rotate(-1.5deg);
	transition: transform 0.65s cubic-bezier(0.22, 0.9, 0.3, 1), opacity 0.5s ease;
}

[data-reveal="slide-left"].is-revealed {
	opacity: 1;
	transform: translateX(0) rotate(0deg);
}

[data-reveal="slide-right"] {
	opacity: 0;
	transform: translateX(60px) rotate(1.5deg);
	transition: transform 0.65s cubic-bezier(0.22, 0.9, 0.3, 1), opacity 0.5s ease;
}

[data-reveal="slide-right"].is-revealed {
	opacity: 1;
	transform: translateX(0) rotate(0deg);
}

/* staggering: children of a data-reveal-group fire in sequence, not at once */
[data-reveal-group] [data-reveal] {
	transition-delay: calc(var(--mb-stagger, 0) * 90ms);
}

/* hero: choreographed, not a fade — kicker drops, title unfurls, tagline rises, actions pop */
.mb-hero-kicker {
	opacity: 0;
	transform: translateY(-18px);
	animation: mb-hero-kicker-in 0.7s 0.15s cubic-bezier(0.22, 0.9, 0.3, 1) forwards;
}

.mb-hero-title-inner {
	display: inline-block;
	clip-path: inset(0 100% 0 0);
	animation: mb-hero-title-in 1s 0.4s cubic-bezier(0.65, 0, 0.18, 1) forwards;
}

.mb-hero-tagline {
	opacity: 0;
	transform: translateY(16px);
	animation: mb-hero-rise-in 0.7s 1.05s cubic-bezier(0.22, 1.1, 0.36, 1) forwards;
}

.mb-hero-sub {
	opacity: 0;
	transform: translateY(16px);
	animation: mb-hero-rise-in 0.7s 1.25s cubic-bezier(0.22, 1.1, 0.36, 1) forwards;
}

.mb-hero-actions {
	opacity: 0;
	transform: scale(0.85);
	animation: mb-hero-pop-in 0.6s 1.45s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes mb-hero-kicker-in {
	to { opacity: 1; transform: translateY(0); }
}

@keyframes mb-hero-title-in {
	to { clip-path: inset(0 0 0 0); }
}

@keyframes mb-hero-rise-in {
	to { opacity: 1; transform: translateY(0); }
}

@keyframes mb-hero-pop-in {
	to { opacity: 1; transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
	[data-reveal],
	.mb-curtain-inner {
		opacity: 1 !important;
		transform: none !important;
		clip-path: none !important;
		transition: none !important;
	}

	.mb-divider-line {
		stroke-dashoffset: 0 !important;
		transition: none !important;
	}

	.mb-hero-kicker,
	.mb-hero-title-inner,
	.mb-hero-tagline,
	.mb-hero-sub,
	.mb-hero-actions {
		animation: none !important;
		opacity: 1 !important;
		transform: none !important;
		clip-path: none !important;
	}
}

/* ---------- Welcome ---------- */

.mb-welcome {
	background: var(--mb-parchment);
	padding: 90px 0 0;
	border-bottom: 1px solid var(--mb-parchment-dark);
}

.mb-welcome-grid {
	display: grid;
	grid-template-columns: 1.3fr 0.7fr;
	gap: 60px;
	align-items: center;
}

.mb-welcome {
	position: relative;
}

.mb-welcome::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image: var(--mb-grain);
	opacity: 0.35;
	mix-blend-mode: multiply;
	pointer-events: none;
}

.mb-welcome-grid {
	position: relative;
}

.mb-welcome-copy p {
	margin: 0 0 16px;
	color: #4a3c2c;
}

.mb-dropcap:first-letter {
	font-family: var(--mb-font-display);
	font-size: 64px;
	font-weight: 700;
	color: var(--mb-burgundy);
	float: left;
	line-height: 0.8;
	padding: 6px 10px 0 0;
}

.mb-welcome-art {
	display: flex;
	align-items: center;
	justify-content: center;
}

.mb-seal {
	position: relative;
	width: 180px;
	height: 180px;
}

.mb-seal::before,
.mb-seal::after {
	content: '';
	position: absolute;
	bottom: -8px;
	width: 26px;
	height: 60px;
	background: var(--mb-burgundy);
	clip-path: polygon(0 0, 100% 0, 100% 80%, 50% 100%, 0 80%);
	z-index: 0;
}

.mb-seal::before {
	left: 46px;
	transform: rotate(-8deg);
}

.mb-seal::after {
	right: 46px;
	transform: rotate(8deg);
}

.mb-crest-large {
	position: relative;
	z-index: 1;
	width: 180px;
	height: 180px;
	border-radius: 50%;
	border: 3px solid var(--mb-gold);
	outline: 1px solid var(--mb-gold);
	outline-offset: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--mb-gold-light);
	background: radial-gradient(circle at 35% 30%, var(--mb-burgundy) 0%, var(--mb-burgundy-dark) 70%);
	box-shadow: inset 0 0 0 2px rgba(0,0,0,0.25), inset 0 4px 10px rgba(0,0,0,0.4), 0 8px 18px rgba(0,0,0,0.25);
}

/* ---------- Homepage ticker ---------- */

.mb-ticker {
	position: relative;
	overflow: hidden;
	width: 100%;
	margin-top: 60px;
	padding: 16px 0;
	background: var(--mb-burgundy-dark);
	border-top: 1px solid var(--mb-gold);
	border-bottom: 1px solid var(--mb-gold);
	box-shadow: inset 0 2px 8px rgba(0,0,0,0.35), inset 0 -2px 8px rgba(0,0,0,0.35);
}

.mb-ticker-track {
	display: inline-flex;
	width: max-content;
	animation: mb-ticker-scroll 48s linear infinite;
}

.mb-ticker-group {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
}

.mb-ticker-item {
	display: inline-block;
	padding: 0 22px;
	font-family: var(--mb-font-heading);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--mb-gold-light);
	white-space: nowrap;
}

.mb-ticker-item.mb-ticker-strong {
	color: var(--mb-gold);
	font-weight: 700;
}

.mb-ticker-item.mb-ticker-quote {
	font-family: var(--mb-font-body);
	font-style: italic;
	font-weight: 400;
	letter-spacing: 0;
	text-transform: none;
	color: var(--mb-cream);
}

.mb-ticker-sep {
	color: var(--mb-gold);
	font-size: 10px;
}

@keyframes mb-ticker-scroll {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}

@media (max-width: 600px) {
	.mb-ticker-item {
		font-size: 12px;
		padding: 0 16px;
	}
}

/* ---------- Generic section ---------- */

.mb-section {
	padding: 90px 0;
}

.mb-section-parchment {
	position: relative;
	background: var(--mb-parchment);
}

.mb-section-parchment::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image: var(--mb-grain);
	opacity: 0.35;
	mix-blend-mode: multiply;
	pointer-events: none;
}

.mb-section-parchment .mb-section-inner {
	position: relative;
}

/* ---------- Homepage navigation grid ---------- */

.mb-nav-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 28px;
}

.mb-nav-tile {
	display: flex;
	flex-direction: column;
	text-decoration: none;
	color: inherit;
}

.mb-nav-tile-media {
	display: block;
	position: relative;
	aspect-ratio: 4 / 3;
	border-radius: 10px;
	overflow: hidden;
	border: 3px solid var(--mb-gold);
	box-shadow: 0 14px 30px rgba(20, 8, 6, 0.3);
}

.mb-nav-tile-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.mb-nav-tile:hover .mb-nav-tile-media img {
	transform: scale(1.06);
}

.mb-nav-tile-icon {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--mb-gold-light);
	background: radial-gradient(circle at 35% 30%, var(--mb-burgundy) 0%, var(--mb-burgundy-dark) 70%);
	transition: transform 0.4s ease;
}

.mb-nav-tile:hover .mb-nav-tile-icon {
	transform: scale(1.06);
}

.mb-nav-tile-label {
	margin-top: 14px;
	text-align: center;
	font-family: var(--mb-font-heading);
	font-weight: 700;
	font-size: 15px;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--mb-burgundy-dark);
	transition: color 0.2s ease;
}

.mb-nav-tile:hover .mb-nav-tile-label {
	color: var(--mb-burgundy);
	text-decoration: underline;
	text-decoration-color: var(--mb-gold);
	text-underline-offset: 4px;
}

@media (max-width: 920px) {
	.mb-nav-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 520px) {
	.mb-nav-grid {
		grid-template-columns: 1fr;
		max-width: 320px;
		margin: 0 auto;
	}
}

/* ---------- Ornate corner cards ---------- */

.mb-ornate {
	position: relative;
}

.mb-ornate::before,
.mb-ornate::after {
	content: '';
	position: absolute;
	width: 22px;
	height: 22px;
	background-image: var(--mb-corner-flourish);
	background-repeat: no-repeat;
	background-size: contain;
	pointer-events: none;
}

.mb-ornate::before {
	top: 6px;
	left: 6px;
}

.mb-ornate::after {
	bottom: 6px;
	right: 6px;
	transform: rotate(180deg);
}

/* ---------- Events ---------- */

.mb-bill-of-fare {
	columns: 2;
	column-gap: 48px;
	margin-bottom: 56px;
}

.mb-bill-of-fare li {
	display: flex;
	align-items: baseline;
	gap: 14px;
	padding: 16px 0;
	border-bottom: 1px solid rgba(198, 160, 72, 0.25);
	break-inside: avoid;
}

.mb-bill-mark {
	flex-shrink: 0;
	color: var(--mb-gold);
	transform: translateY(3px);
}

.mb-bill-text {
	font-family: var(--mb-font-heading);
	font-size: 18px;
	color: var(--mb-ink);
	font-weight: 500;
	line-height: 1.4;
}

.mb-regions {
	border-top: 1px solid rgba(198, 160, 72, 0.3);
	padding-top: 36px;
}

.mb-promo-gallery {
	border-top: 1px solid rgba(198, 160, 72, 0.3);
	margin-top: 36px;
	padding-top: 36px;
}

.mb-regions-title {
	font-family: var(--mb-font-heading);
	font-weight: 700;
	color: var(--mb-burgundy-dark);
	font-size: clamp(28px, 4vw, 42px);
	letter-spacing: 0.01em;
	margin: 0 0 18px;
}

.mb-regions-list {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.mb-regions-list li {
	font-family: var(--mb-font-heading);
	font-size: 13px;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--mb-burgundy-dark);
	background: var(--mb-gold-light);
	padding: 8px 16px;
	border-radius: 20px;
}

.mb-regions-list li a {
	color: inherit;
	text-decoration: none;
}

.mb-regions-list li a:hover {
	text-decoration: underline;
}

.mb-regions-map {
	position: relative;
	max-width: 820px;
	margin: 0 auto 36px;
	border-radius: 6px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(42, 26, 10, 0.25);
}

.mb-regions-map-img {
	width: 100%;
	height: auto;
	display: block;
}

.mb-map-pin {
	position: absolute;
	transform: translate(-4px, -40px);
	text-align: center;
	pointer-events: none;
}

.mb-map-pin-flag line {
	stroke: var(--mb-burgundy-dark);
	stroke-width: 2.4;
	stroke-linecap: round;
}

.mb-map-pin-flag path {
	fill: var(--mb-gold);
	stroke: var(--mb-burgundy-dark);
	stroke-width: 1.2;
	stroke-linejoin: round;
}

.mb-map-pin-flag circle {
	fill: var(--mb-burgundy-dark);
}

.mb-map-pin-label {
	display: block;
	font-family: var(--mb-font-heading);
	font-style: italic;
	font-size: 14px;
	color: var(--mb-burgundy-dark);
	text-shadow: 0 1px 2px rgba(255, 248, 230, 0.85), 0 0 6px rgba(255, 248, 230, 0.85);
	white-space: nowrap;
	margin-bottom: 2px;
	text-decoration: none;
}

a.mb-map-pin-label {
	pointer-events: auto;
	cursor: pointer;
}

a.mb-map-pin-label:hover {
	text-decoration: underline;
}

/* Below this width the map shrinks enough that neighbouring county labels
   (e.g. Kent, Sussex, Surrey) crowd and overlap one another. The flag pins
   still mark each spot, and the pill list above the map already names every
   region in full, so the labels can drop without losing any information. */
@media (max-width: 600px) {
	.mb-map-pin-label {
		display: none;
	}

	.mb-map-pin {
		transform: translate(-2.8px, -28px);
	}

	.mb-map-pin-flag {
		width: 18px;
		height: 28px;
	}
}

/* ---------- About ---------- */

.mb-about-grid {
	display: grid;
	grid-template-columns: 0.85fr 1.15fr;
	gap: 48px;
	align-items: center;
}

.mb-about-art {
	display: flex;
	align-items: center;
	justify-content: center;
}

.mb-about-art-photo {
	margin: 0;
	width: 100%;
	border-radius: 10px;
	overflow: hidden;
	border: 3px solid var(--mb-gold);
	box-shadow: 0 18px 40px rgba(20, 8, 6, 0.35);
}

.mb-about-art-photo img {
	display: block;
	width: 100%;
	height: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.mb-about-copy p {
	color: #4a3c2c;
	margin: 0 0 16px;
}

.mb-about-gallery {
	margin-top: 48px;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 28px;
}

.mb-about-gallery-item {
	margin: 0;
	border-radius: 10px;
	overflow: hidden;
	border: 3px solid var(--mb-gold);
	box-shadow: 0 18px 40px rgba(20, 8, 6, 0.35);
}

.mb-about-gallery-item img {
	display: block;
	width: 100%;
	height: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
}

.mb-services-title {
	font-family: var(--mb-font-heading);
	font-weight: 700;
	color: var(--mb-burgundy-dark);
	font-size: 26px;
	margin: 56px 0 24px;
}

.mb-services-list {
	columns: 3;
	column-gap: 40px;
	max-width: 980px;
}

.mb-services-list li {
	display: flex;
	align-items: baseline;
	gap: 12px;
	padding: 12px 0;
	border-bottom: 1px solid rgba(198, 160, 72, 0.3);
	break-inside: avoid;
}

.mb-services-mark {
	flex-shrink: 0;
	color: var(--mb-gold);
	transform: translateY(3px);
}

.mb-services-text {
	font-family: var(--mb-font-heading);
	font-size: 19px;
	color: #4a3c2c;
	font-weight: 500;
	line-height: 1.4;
}

a.mb-services-link {
	color: var(--mb-burgundy);
	border-bottom: 2px solid var(--mb-gold);
	padding-bottom: 1px;
}

.mb-services-note {
	display: block;
	padding: 12px 0;
	border-bottom: 1px solid rgba(198, 160, 72, 0.3);
	font-family: var(--mb-font-body);
	font-style: italic;
	font-size: 15px;
	color: #6b5c48;
	break-inside: avoid;
}

/* ---------- Entertainment ---------- */

.mb-entertainment-copy {
	display: flex;
	flex-direction: column;
	gap: 18px;
	max-width: 760px;
	margin-bottom: 44px;
}

.mb-entertainment-copy p {
	color: #5a4c3a;
	font-size: 19px;
	line-height: 1.7;
	margin: 0;
}

.mb-entertainment-prices {
	padding-top: 10px;
	border-top: 1px solid var(--mb-parchment-dark);
}

.mb-entertainment-prices strong {
	color: var(--mb-burgundy-dark);
	font-family: var(--mb-font-heading);
	letter-spacing: 0.04em;
}

.mb-entertainment-gallery {
	columns: 3;
	column-gap: 22px;
}

.mb-entertainment-gallery-item {
	margin: 0 0 22px;
	break-inside: avoid;
	border: 3px solid var(--mb-gold);
	box-shadow: 0 18px 40px rgba(20, 8, 6, 0.35);
	border-radius: 10px;
	overflow: hidden;
}

.mb-entertainment-gallery-item img {
	display: block;
	width: 100%;
	height: auto;
}

/* ---------- Gallery ---------- */

.mb-plate-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px 24px;
}

.mb-plate {
	margin: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.mb-plate-2 {
	margin-top: 34px;
}

.mb-plate-frame {
	width: 100%;
	aspect-ratio: 1;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--mb-burgundy);
	border: 1px solid rgba(198, 160, 72, 0.5);
	box-shadow: inset 0 0 0 6px rgba(198, 160, 72, 0.08);
	background: radial-gradient(circle, rgba(198, 160, 72, 0.08) 0%, transparent 72%);
	margin-bottom: 14px;
}

.mb-plate figcaption {
	font-size: 14px;
	font-style: italic;
	color: #5a4c3a;
	line-height: 1.5;
}

.mb-plate-numeral {
	font-style: normal;
	font-family: var(--mb-font-heading);
	color: var(--mb-burgundy);
}

/* ---------- Costumes ---------- */

.mb-costumes-intro {
	margin: 0 auto 48px;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.mb-costumes-price {
	font-family: var(--mb-font-heading);
	font-size: 22px;
	font-weight: 700;
	letter-spacing: 0.03em;
	color: var(--mb-burgundy);
	margin: -6px 0 10px;
}

.mb-costumes-intro p {
	color: #4a3c2c;
	font-size: 19px;
	line-height: 1.7;
	margin: 0 0 16px;
}

.mb-costumes-intro a {
	color: var(--mb-burgundy);
	font-weight: 700;
	text-decoration: underline;
	text-decoration-color: var(--mb-gold);
	text-underline-offset: 3px;
}

.mb-costumes-intro a:hover {
	color: var(--mb-burgundy-dark);
}

.mb-costumes-gallery {
	columns: 4;
	column-gap: 22px;
}

.mb-costumes-gallery-item {
	margin: 0 0 22px;
	break-inside: avoid;
	border: 3px solid var(--mb-gold);
	box-shadow: 0 18px 40px rgba(20, 8, 6, 0.35);
	border-radius: 10px;
	overflow: hidden;
}

.mb-costumes-gallery-item img {
	display: block;
	width: 100%;
	height: auto;
}

/* ---------- Reviews ---------- */

.mb-reviews-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 26px;
	margin-bottom: 36px;
}

.mb-review-card {
	background: var(--mb-cream);
	border: 1px solid var(--mb-parchment-dark);
	border-left: 4px solid var(--mb-gold);
	padding: 32px 30px;
	margin: 0;
	border-radius: 2px;
}

.mb-review-card p {
	font-size: 19px;
	font-style: italic;
	color: var(--mb-ink);
	margin: 0 0 14px;
}

.mb-review-card cite {
	font-family: var(--mb-font-heading);
	font-style: normal;
	font-size: 13px;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--mb-burgundy);
}

/* ---------- FAQs ---------- */

.mb-faqs-wrap {
	max-width: 820px;
}

.mb-faq-list {
	border-top: 1px solid var(--mb-parchment-dark);
}

.mb-faq-item {
	border-bottom: 1px solid var(--mb-parchment-dark);
}

.mb-faq-question {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: none;
	border: none;
	text-align: left;
	padding: 22px 4px;
	cursor: pointer;
	font-family: var(--mb-font-heading);
	font-size: 17px;
	color: var(--mb-burgundy-dark);
	font-weight: 600;
}

.mb-faq-icon {
	font-size: 20px;
	color: var(--mb-gold);
	transition: transform 0.25s ease;
	flex-shrink: 0;
	margin-left: 20px;
}

.mb-faq-item.is-open .mb-faq-icon {
	transform: rotate(45deg);
}

.mb-faq-answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease;
}

.mb-faq-answer p {
	margin: 0 0 22px;
	color: #4a3c2c;
	padding: 0 4px;
}

/* ---------- Contact ---------- */

.mb-contact-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
}

.mb-contact-details {
	margin-top: 28px;
}

.mb-contact-details li {
	padding: 10px 0;
	border-bottom: 1px solid rgba(198, 160, 72, 0.25);
	color: #4a3c2c;
}

.mb-contact-details strong {
	color: var(--mb-burgundy-dark);
	margin-right: 8px;
}

.mb-contact-details a {
	color: var(--mb-burgundy);
}

.mb-contact-details a:hover {
	color: var(--mb-burgundy-dark);
}

.mb-contact-form {
	background: var(--mb-cream);
	padding: 34px;
	border-radius: 4px;
	border: 1px solid var(--mb-gold);
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.mb-contact-form label {
	font-family: var(--mb-font-heading);
	font-size: 13px;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--mb-burgundy-dark);
	margin-top: 14px;
}

.mb-contact-form input,
.mb-contact-form textarea,
.mb-contact-form select {
	font-family: var(--mb-font-body);
	font-size: 16px;
	padding: 11px 13px;
	border: 1px solid var(--mb-parchment-dark);
	border-radius: 2px;
	background: #fff;
	color: var(--mb-ink);
}

.mb-contact-form select {
	appearance: auto;
}

.mb-contact-form button {
	margin-top: 22px;
}

.mb-form-row {
	display: flex;
	gap: 16px;
	margin-top: 14px;
}

.mb-form-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	flex: 1;
	min-width: 0;
}

.mb-form-field label {
	margin-top: 0;
}

.mb-form-note {
	font-size: 13px;
	color: #8a7a60;
	margin-top: 12px;
	margin-bottom: 0;
}

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

.mb-footer {
	position: relative;
	width: 100%;
	background:
		var(--mb-grain),
		linear-gradient(180deg, #44101b 0%, var(--mb-burgundy-dark) 100%);
	background-blend-mode: overlay;
	border-top: 3px solid var(--mb-gold);
	padding: 0 0 20px;
	color: #a7987c;
	font-size: 14px;
}

/* Darker red band behind the mailing-list sign-up, full page width. */
.mb-footer-top-band {
	width: 100%;
	background: #2e0810;
	border-bottom: 1px solid rgba(198, 160, 72, 0.25);
}

.mb-footer-top {
	padding: 44px 0 36px;
}

/* Newsletter sign-up box, shown in the footer of every page. */
.mb-newsletter-box {
	max-width: 640px;
	margin: 0 auto;
	text-align: center;
}

.mb-newsletter-box h3 {
	font-family: var(--mb-font-heading);
	color: var(--mb-gold-light);
	font-size: clamp(20px, 2.4vw, 26px);
	margin: 0 0 8px;
	letter-spacing: 0.02em;
}

.mb-newsletter-box p {
	margin: 0 0 18px;
	color: #c9bb9e;
}

.mb-newsletter-form {
	display: flex;
	gap: 10px;
	max-width: 440px;
	margin: 0 auto;
	flex-wrap: wrap;
	justify-content: center;
}

.mb-newsletter-form input[type="email"] {
	flex: 1 1 240px;
	min-width: 0;
	padding: 12px 16px;
	border-radius: 999px;
	border: 1px solid rgba(198, 160, 72, 0.5);
	background: rgba(255, 255, 255, 0.06);
	color: #f3e9d2;
	font-family: var(--mb-font-body);
	font-size: 15px;
}

.mb-newsletter-form input[type="email"]::placeholder {
	color: #9c8c6e;
}

.mb-newsletter-form button {
	flex: 0 0 auto;
	padding: 12px 24px;
	border-radius: 999px;
	border: none;
	background: var(--mb-gold);
	color: #241a10;
	font-family: var(--mb-font-heading);
	font-size: 14px;
	letter-spacing: 0.04em;
	cursor: pointer;
	transition: transform 0.2s ease, background 0.2s ease;
}

.mb-newsletter-form button:hover {
	background: var(--mb-gold-light);
	transform: translateY(-1px);
}

.mb-newsletter-msg {
	min-height: 20px;
	margin: 10px 0 0;
	font-size: 13px;
	color: var(--mb-gold-light);
}

.mb-footer-grid {
	display: grid;
	grid-template-columns: 1.1fr 0.8fr 0.8fr 0.9fr;
	gap: 28px;
	padding: 36px 0 24px;
	text-align: left;
}

.mb-footer-heading {
	font-family: var(--mb-font-heading);
	color: var(--mb-gold-light);
	font-size: 14px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	margin: 0 0 12px;
}

.mb-footer-logo {
	display: block;
	height: 54px;
	width: auto;
	margin: 0 0 12px;
}

.mb-footer-name {
	font-family: var(--mb-font-heading);
	color: var(--mb-gold-light);
	font-size: 18px;
	margin: 0 0 10px;
}

.mb-footer-about p {
	margin: 0 0 12px;
	line-height: 1.6;
}

.mb-footer-social {
	display: flex;
	gap: 12px;
}

.mb-footer-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 1px solid rgba(198, 160, 72, 0.45);
	color: var(--mb-gold-light);
}

.mb-footer-links ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: 20px;
}

.mb-footer-links li {
	margin-bottom: 8px;
}

.mb-footer-areas ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.mb-footer-areas li {
	margin-bottom: 8px;
}

.mb-footer-contact p {
	margin: 0 0 8px;
}

.mb-footer-regions {
	color: #8a7a60;
	font-size: 13px;
}

.mb-footer a {
	color: var(--mb-gold-light);
	border-bottom: 1px solid rgba(198, 160, 72, 0.4);
}

.mb-footer-bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 8px;
	padding-top: 18px;
	border-top: 1px solid rgba(198, 160, 72, 0.18);
	text-align: left;
}

.mb-footer-copy {
	font-size: 12px;
	color: #7a6c56;
	margin: 0;
}

.mb-footer-legal {
	font-size: 12px;
	color: #7a6c56;
	margin: 0;
}

.mb-footer-legal a,
.mb-cookie-settings-link {
	border-bottom: 1px solid rgba(198, 160, 72, 0.3);
}

.mb-cookie-settings-link {
	background: none;
	border: none;
	padding: 0;
	color: var(--mb-gold-light);
	cursor: pointer;
	font: inherit;
}

.mb-footer-credit {
	margin: 0;
	line-height: 0;
}

.mb-footer-credit img {
	display: block;
	height: 22px;
	width: auto;
	opacity: 0.85;
	transition: opacity 0.2s ease;
}

.mb-footer-credit a:hover img {
	opacity: 1;
}

/* ---------- Cookie banner ---------- */

.mb-cookie-banner {
	position: fixed;
	left: 16px;
	right: 16px;
	bottom: 16px;
	z-index: 500;
	max-width: 620px;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 16px 20px;
	border-radius: 14px;
	background: var(--mb-charcoal);
	border: 1px solid rgba(198, 160, 72, 0.4);
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
	color: #d8ccb0;
	font-size: 13px;
}

/* The banner's own `display: flex` above has the same specificity as the
   browser's built-in `[hidden] { display: none }` rule, and an author
   stylesheet always wins that tie - so without this, setting the hidden
   attribute in JS (on "Got it", or once consent is already stored) had no
   visible effect and the banner stayed on screen. */
.mb-cookie-banner[hidden] {
	display: none;
}

.mb-cookie-banner p {
	margin: 0;
	flex: 1 1 260px;
}

.mb-cookie-actions {
	display: flex;
	align-items: center;
	gap: 14px;
	flex: 0 0 auto;
}

.mb-cookie-link {
	font-size: 12px;
	color: var(--mb-gold-light);
	border-bottom: 1px solid rgba(198, 160, 72, 0.4);
}

.mb-cookie-accept {
	padding: 8px 20px;
	border-radius: 999px;
	border: none;
	background: var(--mb-gold);
	color: #241a10;
	font-family: var(--mb-font-heading);
	font-size: 13px;
	letter-spacing: 0.03em;
	cursor: pointer;
}

/* ---------- Privacy Policy page ---------- */

.mb-privacy-copy {
	max-width: 760px;
}

.mb-privacy-copy p {
	line-height: 1.75;
	margin-bottom: 18px;
}

/* ---------- 404 page ---------- */

.mb-404-copy {
	max-width: 640px;
	text-align: center;
}

.mb-404-copy .mb-heading {
	text-align: center;
}

.mb-404-copy .mb-dropcap::first-letter {
	float: none;
}

.mb-404-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	justify-content: center;
	margin: 28px 0 32px;
}

/* mb-btn-ghost is designed for the dark hero; on this page's parchment
   background it needs dark text and a dark border to stay readable. */
.mb-404-actions a.mb-btn-ghost {
	color: var(--mb-burgundy-dark);
	border-color: var(--mb-burgundy-dark);
}

.mb-404-actions a.mb-btn-ghost:hover {
	background: rgba(107, 15, 30, 0.08);
}

.mb-404-links {
	list-style: none;
	margin: 0;
	padding: 20px 0 0;
	border-top: 1px solid rgba(107, 15, 30, 0.15);
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px 22px;
}

.mb-404-links a {
	font-size: 14px;
	color: var(--mb-burgundy-dark);
	border-bottom: 1px solid rgba(107, 15, 30, 0.3);
}

/* ---------- Brochure download call-to-action ---------- */

.mb-brochure-cta {
	margin-top: 28px;
	padding: 24px;
	border: 1px solid rgba(107, 15, 30, 0.18);
	border-radius: 4px;
	background: rgba(107, 15, 30, 0.04);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
}

.mb-brochure-cta-text {
	flex: 1 1 280px;
}

.mb-brochure-cta-heading {
	font-family: var(--mb-font-heading);
	font-weight: 700;
	color: var(--mb-burgundy-dark);
	margin: 0 0 4px;
}

.mb-brochure-cta-text p:last-child {
	margin: 0;
	color: #4a3c2c;
}

.mb-brochure-cta .mb-btn {
	flex: 0 0 auto;
}

/* ---------- Page call-to-action box ----------
 * Full-bleed band using the same parchment shade as the homepage "What our
 * guests say" section, breaking out of the section's max-width container
 * to span the full width of the page regardless of how deep it sits inside
 * the content wrapper. */

.mb-page-cta {
	margin-top: 36px;
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	padding: 48px 20px;
	text-align: center;
	background: var(--mb-parchment);
	border-top: 1px solid var(--mb-parchment-dark);
	border-bottom: 1px solid var(--mb-parchment-dark);
}

.mb-page-cta-inner {
	max-width: 640px;
	margin: 0 auto;
}

.mb-page-cta-heading {
	font-family: var(--mb-font-heading);
	font-size: 22px;
	font-weight: 700;
	color: var(--mb-burgundy-dark);
	margin: 0 0 8px;
}

.mb-page-cta p {
	margin: 0 0 18px;
	color: #4a3c2c;
}

.mb-page-cta .mb-btn {
	display: inline-block;
}

/* A lighter, inline variant used partway down the location pages, so it
 * reads as a quick prompt rather than repeating the full-bleed banner
 * treatment of the main mb_render_cta() box further down the same page. */
.mb-page-cta-ghost {
	width: auto;
	margin: 28px 0;
	padding: 18px 24px;
	background: var(--mb-parchment-dark);
	border: none;
	border-radius: 8px;
	text-align: left;
}

.mb-page-cta-ghost .mb-page-cta-inner {
	max-width: none;
	margin: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	flex-wrap: wrap;
}

.mb-page-cta-ghost .mb-page-cta-heading {
	font-size: 17px;
	margin: 0;
}

/* Gallery & Media tabs (Images / Videos). */
.mb-gallery-tabs {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin: 0 0 28px;
}

.mb-gallery-tab {
	font-family: var(--mb-font-heading);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--mb-burgundy-dark);
	background: transparent;
	border: 2px solid var(--mb-parchment-dark);
	border-radius: 999px;
	padding: 10px 28px;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.mb-gallery-tab:hover {
	border-color: var(--mb-gold, #c6a048);
}

.mb-gallery-tab.is-active {
	background: var(--mb-burgundy-dark);
	border-color: var(--mb-burgundy-dark);
	color: #fff;
}

.mb-gallery-panel[hidden] {
	display: none;
}

/* Gallery videos: a simple responsive grid of 16:9 embeds. */
.mb-video-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 24px;
}

.mb-video-grid-item {
	margin: 0;
	border: 6px solid #fff;
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.mb-video-frame {
	position: relative;
	width: 100%;
	padding-top: 56.25%;
}

.mb-video-frame iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* Self-hosted default videos: landscape and portrait clips both sit inside
 * the same 16:9 frame, so object-fit: contain letterboxes rather than
 * cropping or stretching either shape. */
.mb-video-frame video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	background: #000;
	object-fit: contain;
}

.mb-video-grid-item figcaption {
	padding: 8px 2px 0;
	font-size: 13px;
	color: var(--mb-ink);
	opacity: 0.75;
	text-align: center;
}

@media (max-width: 600px) {
	.mb-gallery-tab {
		padding: 9px 20px;
		font-size: 14px;
	}
}

/* Gallery photos (Photos tab uploads, or the bundled default set): a
 * masonry / justified wall using CSS columns, each photo keeping its own
 * natural aspect ratio and settling into whichever column is shortest,
 * rather than a uniform grid of identically-cropped tiles. */
.mb-photo-grid {
	column-count: 4;
	column-gap: 20px;
}

.mb-photo-grid-item {
	display: inline-block;
	width: 100%;
	margin: 0 0 20px;
	break-inside: avoid;
	-webkit-column-break-inside: avoid;
	border: 6px solid #fff;
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.mb-photo-grid-item img {
	display: block;
	width: 100%;
	height: auto;
}

/* Gallery & Media page: match the gold-framed border used on the About Us
 * gallery, rather than this grid's usual plain white-bordered print look. */
.mb-gallery-panel .mb-photo-grid-item {
	border: 3px solid var(--mb-gold);
	border-radius: 10px;
	box-shadow: 0 18px 40px rgba(20, 8, 6, 0.35);
}

.mb-photo-grid-item figcaption {
	padding: 8px 2px 0;
	font-size: 13px;
	color: var(--mb-ink);
	opacity: 0.75;
	text-align: center;
}

@media (max-width: 920px) {
	.mb-photo-grid {
		column-count: 3;
	}
}

@media (max-width: 760px) {
	.mb-photo-grid {
		column-count: 2;
		column-gap: 14px;
	}

	.mb-photo-grid-item {
		margin-bottom: 14px;
	}
}

@media (max-width: 520px) {
	.mb-photo-grid {
		column-count: 1;
	}
}

@media (max-width: 760px) {
	.mb-footer-grid {
		grid-template-columns: 1fr;
		gap: 26px;
	}

	.mb-footer-bottom {
		flex-direction: column;
		align-items: flex-start;
	}

	.mb-cookie-banner {
		left: 12px;
		right: 12px;
		bottom: 12px;
		flex-direction: column;
		align-items: stretch;
		text-align: left;
	}

	.mb-cookie-actions {
		justify-content: space-between;
	}
}

/* ---------- Responsive ---------- */

@media (max-width: 880px) {
	.mb-welcome-grid,
	.mb-about-grid,
	.mb-contact-grid {
		grid-template-columns: 1fr;
	}

	.mb-about-art,
	.mb-welcome-art {
		order: -1;
	}

	.mb-form-row {
		flex-direction: column;
		gap: 6px;
	}

	.mb-bill-of-fare {
		columns: 1;
	}

	.mb-plate-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.mb-plate-2 {
		margin-top: 0;
	}

	.mb-about-gallery {
		grid-template-columns: 1fr;
		max-width: 420px;
		margin-left: auto;
		margin-right: auto;
	}

	.mb-services-list {
		columns: 2;
	}

	.mb-entertainment-gallery,
	.mb-costumes-gallery {
		columns: 2;
	}
}

@media (max-width: 760px) {
	.mb-entertainment-gallery,
	.mb-costumes-gallery {
		columns: 1;
	}

	.mb-plate-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
	}

	.mb-services-list {
		columns: 1;
	}

	.mb-nav-toggle {
		display: flex;
	}

	.mb-nav-links {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--mb-burgundy-dark);
		flex-direction: column;
		align-items: flex-start;
		gap: 0;
		padding: 0;
		max-height: 0;
		overflow: hidden;
		transition: max-height 0.3s ease;
		border-bottom: 3px solid var(--mb-gold);
	}

	.mb-nav-links.is-open {
		max-height: 520px;
	}

	.mb-nav-links li {
		width: 100%;
	}

	.mb-nav-links li::after {
		display: none;
	}

	.mb-nav-links a {
		display: block;
		padding: 16px 24px;
		width: 100%;
		border-bottom: 1px solid rgba(198, 160, 72, 0.15);
	}

	.mb-nav-cta {
		margin: 16px 24px;
		display: inline-block;
	}

	.mb-section {
		padding: 64px 0;
	}

	.mb-welcome {
		padding: 64px 0 0;
	}
}
