/* Maestro Live — main styles. System fonts only: SF (iPhone/iPad/Mac), Roboto (Android), Segoe UI (Windows). */
:root {
	--mb-bg: #240912;
	--mb-gold: #f5b335;
	--mb-gold-rgb: 245,179,53;
	--mb-panel: #3a2029;
	--mb-panel-2: #1c070e;
	--mb-line: rgba(245,179,53,.30);
	--mb-text: #fbefe0;
	--mb-muted: #d9c3ba;
	--mb-font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--mb-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--mb-w: 1180px;
	--mb-r: 22px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
	margin: 0; overflow-x: hidden;
	background: var(--mb-bg); color: var(--mb-text);
	font: 400 1.0625rem/1.65 var(--mb-font);
	-webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--mb-gold); text-underline-offset: 3px; -webkit-tap-highlight-color: transparent; }
a:hover { color: #fff; }
:focus-visible { outline: 3px solid var(--mb-gold); outline-offset: 3px; }

h1, h2, h3, h4 { font-family: var(--mb-display); font-weight: 800; line-height: 1.08; letter-spacing: -.025em; margin: 0 0 .55em; }
h2 { font-size: clamp(2rem, 5vw, 3.2rem); }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); letter-spacing: -.015em; }
p { margin: 0 0 1.1em; }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--mb-gold); color: #1a0a10; padding: .6em 1em; z-index: 200; }
.skip-link:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--mb-w); margin-inline: auto; padding-inline: max(1.25rem, env(safe-area-inset-left)); padding-right: max(1.25rem, env(safe-area-inset-right)); }
.wrap.narrow { max-width: 860px; }

/* Buttons */
.btn {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 48px; padding: .75em 1.6em;
	border: 2px solid var(--mb-gold); border-radius: 999px;
	color: var(--mb-gold); background: transparent;
	font: 700 1rem/1.2 var(--mb-font); text-decoration: none; cursor: pointer;
	transition: transform .15s, background-color .2s, color .2s, box-shadow .2s;
	-webkit-appearance: none; appearance: none;
}
.btn:hover { background: var(--mb-gold); color: #240912; }
.btn:active { transform: scale(.97); }
.btn-gold { background: var(--mb-gold); color: #240912; box-shadow: 0 8px 26px rgba(var(--mb-gold-rgb), .35); }
.btn-gold:hover { background: #fff; border-color: #fff; color: #240912; }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; background: rgba(255,255,255,.08); }
.btn-ghost:hover { background: #fff; color: #240912; border-color: #fff; }
.btn-lg { min-height: 56px; padding: .8em 2em; font-size: 1.08rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 90; background: rgba(28,7,14,.94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--mb-line); transition: background-color .25s, border-color .25s; padding-top: env(safe-area-inset-top); }
.home .site-header { position: fixed; left: 0; right: 0; top: 0; background: transparent; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.home .site-header.is-scrolled { background: rgba(28,7,14,.94); border-bottom-color: var(--mb-line); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.admin-bar .site-header, .admin-bar.home .site-header { top: 32px; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 72px; }
.brand a { display: inline-flex; align-items: center; text-decoration: none; color: var(--mb-text); }
.brand img, .custom-logo { height: 52px; width: auto; border-radius: 8px; }
.site-name { font: 800 1.3rem var(--mb-display); }
.primary-nav { display: flex; align-items: center; gap: 1.8rem; }
.primary-nav ul { display: flex; align-items: center; gap: 1.7rem; list-style: none; margin: 0; padding: 0; }
.primary-nav li { position: relative; }
.primary-nav a { color: var(--mb-text); text-decoration: none; font-weight: 600; }
.primary-nav a:hover, .primary-nav .current-menu-item > a { color: var(--mb-gold); }
.primary-nav a.nav-cta { color: #240912; }
.primary-nav .sub-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 200px; flex-direction: column; align-items: flex-start; gap: .7rem; padding: 1rem; background: var(--mb-panel-2); border: 1px solid var(--mb-line); border-radius: 12px; }
.primary-nav li:hover > .sub-menu, .primary-nav li:focus-within > .sub-menu { display: flex; }

.nav-toggle { display: none; background: rgba(255,255,255,.08); border: 1px solid var(--mb-line); border-radius: 14px; width: 48px; height: 48px; cursor: pointer; padding: 0; }
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after { display: block; width: 22px; height: 2px; background: #fff; position: relative; margin: auto; content: ""; transition: transform .2s, top .2s; }
.nav-toggle .bars::before { position: absolute; top: -7px; left: 0; }
.nav-toggle .bars::after { position: absolute; top: 7px; left: 0; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { top: 0; transform: rotate(-45deg); }

/* Hero */
.hero { position: relative; min-height: 600px; min-height: min(100svh, 820px); display: flex; align-items: flex-end; overflow: hidden; background: #12040a; }
.hero-video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,4,10,.55) 0%, rgba(18,4,10,.25) 35%, rgba(36,9,18,.78) 80%, #240912 100%); }
.hero-inner { position: relative; width: 100%; padding-top: 7rem; padding-bottom: clamp(2.5rem, 7vh, 4.5rem); }
.hero h1 { font-size: clamp(2.15rem, 6vw, 4.6rem); max-width: 20ch; color: #fff; margin-bottom: .5em; text-shadow: 0 4px 30px rgba(0,0,0,.5); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 0; }

/* Equaliser bars: the one memorable motion on the page */
.eq { display: flex; align-items: flex-end; gap: 5px; height: 34px; margin-bottom: 1.4rem; }
.eq i { display: block; width: 6px; border-radius: 3px; background: var(--mb-gold); height: 30%; animation: eq 1.1s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: -.9s; } .eq i:nth-child(3) { animation-delay: -.5s; }
.eq i:nth-child(4) { animation-delay: -.2s; } .eq i:nth-child(5) { animation-delay: -.7s; }
.eq i:nth-child(6) { animation-delay: -.35s; } .eq i:nth-child(7) { animation-delay: -.6s; }
@keyframes eq { 0%,100% { height: 22%; } 50% { height: 100%; } }

/* Marquee */
.marquee { background: var(--mb-gold); color: #240912; overflow: hidden; white-space: nowrap; padding: .85rem 0; transform: rotate(-1deg); margin: -1.1rem -2% 0; position: relative; z-index: 2; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.marquee-track { display: inline-flex; animation: scroll 38s linear infinite; }
.marquee-set { display: inline-flex; flex-shrink: 0; }
.marquee span { font: 800 1.05rem/1 var(--mb-display); padding-right: 2.6rem; position: relative; }
.marquee span::after { content: ""; position: absolute; right: 1rem; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: #240912; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* About */
.about { padding: 6rem 0 5rem; }
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.about-copy p { max-width: 60ch; color: var(--mb-muted); font-size: 1.12rem; }
.about-copy h2 { color: #fff; }
.about-call { font-weight: 600; margin-top: 1.6rem; color: var(--mb-text); }
.about-call .phone { display: block; font: 800 clamp(1.9rem, 4.5vw, 2.6rem)/1.15 var(--mb-display); text-decoration: none; letter-spacing: -.02em; }
.about-photo { margin: 0; position: relative; border-radius: var(--mb-r); }
.about-photo::before { content: ""; position: absolute; inset: 0; border: 2px solid var(--mb-gold); border-radius: var(--mb-r); transform: translate(16px, 16px); z-index: 0; }
.about-photo img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--mb-r); box-shadow: 0 28px 60px rgba(0,0,0,.5); }

.social { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; margin: 1.6rem 0 0; padding: 0; }
.social a { display: inline-flex; align-items: center; min-height: 44px; padding: .3em 1.2em; border: 1px solid var(--mb-line); border-radius: 999px; text-decoration: none; color: var(--mb-text); font-weight: 600; font-size: .98rem; background: rgba(255,255,255,.04); }
.social a:hover { border-color: var(--mb-gold); color: var(--mb-gold); }

/* Portfolio */
.portfolio { padding: 5rem 0 5.5rem; background: var(--mb-panel-2); }
.section-head { max-width: 640px; margin-bottom: 2.6rem; }
.section-head h2 { color: #fff; }
.section-head p { color: var(--mb-muted); font-size: 1.18rem; }
.masonry { column-count: 3; column-gap: 16px; }
.tile { display: block; break-inside: avoid; -webkit-column-break-inside: avoid; margin-bottom: 16px; border-radius: 18px; overflow: hidden; background: var(--mb-panel); position: relative; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.tile img { width: 100%; transition: transform .5s ease; }
.tile:hover img { transform: scale(1.05); }
.more { margin-top: 2.6rem; text-align: center; }

/* Testimonials */
.testimonials { padding: 6rem 0; }
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 1.6rem; }
.testi { margin: 0; display: grid; grid-template-columns: 200px 1fr; background: linear-gradient(145deg, var(--mb-panel), var(--mb-panel-2)); border: 1px solid var(--mb-line); border-radius: 26px; overflow: hidden; position: relative; }
.testi.no-photo { grid-template-columns: 1fr; }
.testi-photo { width: 100%; height: 100%; min-height: 220px; object-fit: cover; }
.testi-body { padding: 2rem; align-self: center; position: relative; }
.testi-body::before { content: "\201C"; position: absolute; top: -.1em; right: 1rem; font: 800 7rem/1 Georgia, serif; color: rgba(var(--mb-gold-rgb), .18); }
.stars { color: var(--mb-gold); letter-spacing: .15em; font-size: 1.2rem; margin-bottom: .7rem; }
.testi blockquote { margin: 0 0 1.2rem; font: 700 clamp(1.3rem, 3vw, 1.7rem)/1.3 var(--mb-display); letter-spacing: -.01em; position: relative; }
.testi figcaption strong { display: block; color: #fff; }
.testi figcaption span { color: var(--mb-muted); font-size: .95rem; }

/* FAQ */
.faq { padding: 5rem 0 5.5rem; background: var(--mb-panel-2); }
.faq h2 { color: #fff; margin-bottom: 1.4rem; }
.faq details { background: var(--mb-panel); border: 1px solid var(--mb-line); border-radius: 18px; margin-bottom: .9rem; padding: 0 1.4rem; }
.faq summary { cursor: pointer; padding: 1.3rem 2.6rem 1.3rem 0; font: 700 1.18rem/1.3 var(--mb-display); list-style: none; position: relative; min-height: 48px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); color: var(--mb-gold); font-size: 1.9rem; font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-a { padding: 0 0 1.4rem; color: var(--mb-muted); }
.faq-a strong { color: var(--mb-text); font-weight: 500; }

/* Final call to action */
.final-cta { padding: 6rem 0; text-align: center; background: radial-gradient(ellipse at 50% 0%, rgba(var(--mb-gold-rgb), .22), transparent 60%), var(--mb-bg); }
.final-cta h2 { color: #fff; max-width: 18ch; margin-inline: auto; }
.big-phone { display: inline-block; font: 800 clamp(2.4rem, 9vw, 5rem)/1.1 var(--mb-display); letter-spacing: -.03em; text-decoration: none; margin-bottom: 1.8rem; }
.final-cta p { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; margin: 0; }

/* Inner pages */
.page-content { padding: 4rem 0 5rem; }
.page-title { font-size: clamp(2.1rem, 6vw, 3.4rem); margin-bottom: 1.2rem; color: #fff; }
.entry-content blockquote { margin: 0 0 1.6rem; padding-left: 1.2rem; border-left: 4px solid var(--mb-gold); font: 600 1.35rem/1.4 var(--mb-display); }
.entry-content blockquote p { margin: 0; }
.entry-content h2 { margin-top: 1.4em; }
.entry-content h3 { margin-top: 2em; color: var(--mb-gold); }
.entry-content .wp-block-embed { margin: 0 0 1.6rem; }
.entry-content iframe { max-width: 100%; border: 0; border-radius: 16px; }
.entry-content .wp-block-embed-youtube iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; }
.entry-content .wp-block-embed-tiktok .wp-block-embed__wrapper { display: flex; justify-content: center; }
.entry-content img { border-radius: 16px; }
.entry { margin-bottom: 2rem; }

/* Contact form */
.mb-form p { margin: 0 0 1.1rem; }
.mb-form label { display: block; margin-bottom: .4rem; font-weight: 600; }
.mb-form input[type="text"], .mb-form input[type="email"], .mb-form input[type="tel"], .mb-form textarea {
	width: 100%; min-height: 52px; padding: .85em 1em; border: 1px solid var(--mb-line); border-radius: 14px;
	background: var(--mb-panel); color: var(--mb-text); font: inherit; font-size: 16px; -webkit-appearance: none; appearance: none;
}
.mb-form input:focus, .mb-form textarea:focus { border-color: var(--mb-gold); outline: none; box-shadow: 0 0 0 3px rgba(var(--mb-gold-rgb), .35); }
.mb-hp { position: absolute; left: -9999px; }
.mb-notice { padding: 1rem 1.2rem; border-radius: 12px; margin-bottom: 1.4rem; border: 1px solid; }
.mb-ok { border-color: #4cae7c; background: rgba(76,174,124,.14); }
.mb-err { border-color: #e0715f; background: rgba(224,113,95,.14); }

/* Footer */
.site-footer { background: #12040a; border-top: 1px solid var(--mb-line); padding: 3rem 0; text-align: center; color: var(--mb-muted); }
.footer-inner .social { justify-content: center; margin-top: 0; }
.footer-menu { display: flex; justify-content: center; flex-wrap: wrap; gap: 1.4rem; list-style: none; padding: 0; margin: 1.4rem 0 0; }
.copy { margin: 1.6rem 0 0; font-size: .92rem; }

/* Mobile quick-contact bar */
.mobile-bar { display: none; }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100%; height: 100%; }
.lightbox::backdrop { background: rgba(10,2,6,.94); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox img { max-width: 94vw; max-height: 86vh; width: auto; border-radius: 10px; touch-action: pan-y; }
.lightbox button { position: absolute; background: rgba(36,9,18,.85); color: #fff; border: 1px solid var(--mb-line); border-radius: 50%; width: 52px; height: 52px; font-size: 2rem; line-height: 1; cursor: pointer; }
.lightbox button:hover { background: var(--mb-gold); color: #240912; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 12px; top: 50%; margin-top: -26px; }
.lb-next { right: 12px; top: 50%; margin-top: -26px; }

.pagination { display: flex; gap: .6rem; margin-top: 2rem; }

/* Scroll reveal (only when JS is on) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* Tablets and phones */
@media (max-width: 1024px) {
	.nav-toggle { display: inline-flex; align-items: center; }
	.primary-nav {
		display: none; position: absolute; left: 0; right: 0; top: 100%;
		flex-direction: column; align-items: stretch; gap: 1.2rem; padding: 1.4rem 1.5rem 1.8rem;
		background: #1c070e; border-bottom: 1px solid var(--mb-line); box-shadow: 0 20px 40px rgba(0,0,0,.5);
	}
	.primary-nav.is-open { display: flex; }
	.primary-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
	.primary-nav ul a { display: block; padding: .95rem 0; font-size: 1.2rem; border-bottom: 1px solid rgba(255,255,255,.08); }
	.primary-nav .sub-menu { display: flex; position: static; border: 0; background: none; padding: 0 0 0 1rem; }
	.nav-cta { width: 100%; min-height: 54px; }
	.about-grid { grid-template-columns: 1fr; }
	.about-photo { margin-right: 16px; }
	.masonry { column-count: 2; }
}
@media (max-width: 1024px) {
	.hero { min-height: 520px; min-height: clamp(520px, 62svh, 680px); }
}
@media (max-width: 782px) { .admin-bar .site-header, .admin-bar.home .site-header { top: 46px; } }
@media (max-width: 700px) {
	.testi { grid-template-columns: 1fr; }
	.testi-photo { max-height: 280px; min-height: 0; }
	.about { padding: 4rem 0 3.5rem; }
	.portfolio, .faq { padding: 3.5rem 0; }
	.testimonials, .final-cta { padding: 4rem 0; }
	.masonry { column-gap: 10px; }
	.tile { margin-bottom: 10px; border-radius: 14px; }
	.final-cta p .btn { flex: 1 1 100%; }
	.hero { min-height: 440px; min-height: clamp(440px, 64svh, 580px); }
	.hero-inner { padding-top: 5.5rem; padding-bottom: 1.8rem; }
	.hero h1 { font-size: clamp(1.85rem, 8.2vw, 2.5rem); max-width: none; line-height: 1.1; margin-bottom: .8em; }
	.eq { height: 26px; margin-bottom: 1rem; }
	.eq i { width: 5px; }
	.hero-actions .btn-ghost { display: none; }
	.hero-actions .btn { flex: 1 1 100%; min-height: 54px; }
	.header-inner { min-height: 64px; }
	.brand img, .custom-logo { height: 44px; }
	.marquee { margin-top: -.9rem; padding: .7rem 0; }
	.marquee span { font-size: .95rem; }

	/* Sticky Call / WhatsApp / Quote bar */
	.mobile-bar {
		display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px;
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
		padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
		background: rgba(18,4,10,.94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--mb-line);
	}
	.mobile-bar a { display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 999px; border: 1.5px solid var(--mb-line); color: #fff; font-weight: 700; text-decoration: none; font-size: .98rem; }
	.mobile-bar a.is-primary { background: var(--mb-gold); border-color: var(--mb-gold); color: #240912; }
	body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.eq i, .marquee-track { animation: none; }
	.eq i { height: 60%; }
	.js .reveal { opacity: 1; transform: none; transition: none; }
	.tile img, .btn { transition: none; }
}
