/* ============================================================
   MIDDLE CLASS MUSICIANS — Symmetrical, Responsive, No Crop
   (Validated & Error-Free Version)
   ============================================================ */

:root {
  --bg: #07070a; 
  --bg-2: #0c0c10; 
  --surface: #15151c;
  --line: rgba(255, 255, 255, 0.08); 
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #f5f5f7; 
  --muted: #a1a1aa; 
  --muted-2: #71717a;
  --gold: #d4a857; 
  --gold-soft: #f1d292;
  --radius: 18px; 
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1); 
  --container: 1280px;
  --font-head: 'Bebas Neue', sans-serif;
  --font-body: 'Montserrat', sans-serif;
  --note-color: rgba(255, 255, 255, 0.7);
  --note-glow: 0 0 10px rgba(255, 255, 255, 0.2);
}

body.theme-day {
  --bg: #f5f5f7; 
  --bg-2: #ffffff; 
  --surface: #ffffff;
  --line: rgba(0, 0, 0, 0.08); 
  --line-2: rgba(0, 0, 0, 0.14);
  --text: #07070a; 
  --muted: #6b6b76; 
  --muted-2: #9b9ba4;
  --gold: #b38531; 
  --gold-soft: #d4a857;
  --note-color: rgba(0, 0, 0, 0.3);
  --note-glow: none;
}

body.theme-realm {
  --bg: #030014; 
  --bg-2: #08002a; 
  --surface: #13004a;
  --line: rgba(255, 100, 255, 0.15); 
  --line-2: rgba(0, 255, 255, 0.2);
  --text: #f5f5f7; 
  --muted: #b0a8d4; 
  --muted-2: #8076b0;
  --gold: #00ffff; 
  --gold-soft: #ff00ff;
  --note-color: #ff00ff;
  --note-glow: 0 0 20px #00ffff, 0 0 40px #ff00ff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html, body { 
  background: var(--bg); 
  color: var(--text); 
  font-family: var(--font-body); 
  -webkit-font-smoothing: antialiased; 
  text-rendering: optimizeLegibility; 
  width: 100%; 
  overflow-x: hidden; 
  transition: background 0.5s var(--ease), color 0.5s var(--ease); 
}

html { scroll-behavior: smooth; }
body { line-height: 1.6; position: relative; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
::selection { background: var(--gold); color: var(--bg); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 32px; width: 100%; }

h1, h2, h3, h4, h5 { font-family: var(--font-head); letter-spacing: 0.05em; text-transform: uppercase; }
.accent-text { color: var(--gold-soft); font-style: normal; transition: color 0.5s var(--ease); }

/* THEME TOGGLE */
.theme-toggle-btn { position: fixed; bottom: 24px; left: 24px; z-index: 50; width: 50px; height: 50px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); color: var(--text); display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2); transition: all 0.3s var(--ease); }
.theme-toggle-btn:hover { transform: scale(1.1); border-color: var(--gold); color: var(--gold); }
.theme-toggle-btn svg { width: 24px; height: 24px; display: none; }
body.theme-night .icon-night, body.theme-day .icon-day, body.theme-realm .icon-realm { display: block; }

/* FIX: PROPER Z-INDEX FOR BACKGROUND NOTES (VISIBLE BUT BEHIND FOREGROUND ELEMENTS) */
#bg-notes { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 10; overflow: hidden; mix-blend-mode: screen; opacity: 0.6; }
body.theme-day #bg-notes { mix-blend-mode: multiply; opacity: 0.3; }
.music-note { position: absolute; font-family: serif; font-weight: bold; color: var(--note-color); text-shadow: var(--note-glow); will-change: transform, opacity; z-index: 10; transition: color 0.5s, text-shadow 0.5s; }

/* FOREGROUND ELEVATION (Keeps notes behind interactables) */
.hero-content, .hero-cta, .studio-grid, .solution-wrapper, .marquee-outer-wrapper, .testi-marquee-wrapper, .contact-inner, .section-head { position: relative; z-index: 20; }

/* CURSOR */
.cursor, .cursor-dot { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999; border-radius: 50%; transform: translate(-50%, -50%); mix-blend-mode: difference; will-change: transform, width, height, background-color; }
.cursor { width: 38px; height: 38px; border: 1px solid rgba(255, 255, 255, 0.5); transition: width 0.25s var(--ease), height 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease); }
.cursor-dot { width: 6px; height: 6px; background: #fff; }
.cursor.hover { width: 70px; height: 70px; background: rgba(212, 168, 87, 0.15); border-color: var(--gold); }
@media (max-width: 900px) { .cursor, .cursor-dot { display: none; } }

/* PRELOADER */
.preloader { position: fixed; inset: 0; background: var(--bg); z-index: 10000; display: flex; align-items: center; justify-content: center; transition: opacity 0.8s var(--ease), visibility 0.8s var(--ease); }
.preloader.done { opacity: 0; visibility: hidden; }
.preloader-content { text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; }
.soundwave { display: flex; gap: 6px; height: 60px; align-items: center; justify-content: center; }
.soundwave span { width: 6px; background: var(--gold); border-radius: 3px; animation: wave 1s ease-in-out infinite; transform-origin: bottom; }
.soundwave span:nth-child(1) { animation-delay: 0.0s; height: 30%; }
.soundwave span:nth-child(2) { animation-delay: 0.1s; height: 60%; }
.soundwave span:nth-child(3) { animation-delay: 0.2s; height: 100%; }
.soundwave span:nth-child(4) { animation-delay: 0.3s; height: 80%; }
.soundwave span:nth-child(5) { animation-delay: 0.4s; height: 100%; }
.soundwave span:nth-child(6) { animation-delay: 0.5s; height: 60%; }
.soundwave span:nth-child(7) { animation-delay: 0.6s; height: 30%; }

@keyframes wave { 0%, 100% { transform: scaleY(0.5); } 50% { transform: scaleY(1); } }
.preloader-text { font-size: 24px; font-family: var(--font-head); letter-spacing: 0.2em; color: var(--text); line-height: 1.2; }

/* NAV */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 18px 0; transition: all 0.4s var(--ease); }
.nav.scrolled { background: var(--bg); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border-bottom: 1px solid var(--line); padding: 12px 0; }
.nav-inner { max-width: var(--container); margin: 0 auto; padding: 0 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-logo { display: flex; align-items: center; gap: 12px; font-weight: 600; letter-spacing: 0.02em; position: relative; z-index: 2; }
.logo-img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; border: 1px solid var(--gold); box-shadow: 0 4px 16px rgba(212, 168, 87, 0.15); }
.logo-mark { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--gold), var(--gold-soft)); display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-size: 22px; color: var(--bg); box-shadow: 0 6px 24px rgba(212, 168, 87, 0.25); }
.logo-text { font-size: 16px; font-family: var(--font-head); letter-spacing: 0.05em; color: var(--text); }
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a { font-size: 16px; color: var(--muted); position: relative; transition: color 0.3s; z-index: 2; }
.nav-links a:hover { color: var(--text); }
.nav-links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta { font-family: var(--font-head); font-size: 15px; letter-spacing: 0.1em; padding: 10px 22px; border: 1px solid var(--line-2); border-radius: 100px; transition: all 0.3s var(--ease); position: relative; z-index: 2; white-space: nowrap; }
.nav-cta:hover { background: var(--gold); color: var(--bg); border-color: var(--gold); }
.nav-toggle { display: none; width: 36px; height: 36px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; z-index: 101; position: relative; }
.nav-toggle span { width: 22px; height: 1.5px; background: var(--text); transition: all 0.3s var(--ease); }
.nav-toggle.active span { background: var(--gold); }
.nav-toggle.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* MOBILE MENU */
.mobile-menu { position: fixed; inset: 0; background: var(--bg); -webkit-backdrop-filter: blur(25px); backdrop-filter: blur(25px); z-index: 99; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 48px; opacity: 0; visibility: hidden; transition: opacity 0.5s var(--ease), visibility 0.5s; }
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu ul { list-style: none; text-align: center; display: flex; flex-direction: column; gap: 32px; }
.mobile-menu a { font-family: var(--font-head); font-size: 48px; color: var(--muted); display: block; transform: translateY(20px); opacity: 0; transition: color 0.3s, transform 0.5s var(--ease), opacity 0.5s var(--ease); }
.mobile-menu.open a { transform: translateY(0); opacity: 1; }
.mobile-menu.open li:nth-child(1) a { transition-delay: 0.10s; }
.mobile-menu.open li:nth-child(2) a { transition-delay: 0.15s; }
.mobile-menu.open li:nth-child(3) a { transition-delay: 0.20s; }
.mobile-menu.open li:nth-child(4) a { transition-delay: 0.25s; }
.mobile-menu a:hover { color: var(--text); }
.mobile-cta { font-family: var(--font-head); padding: 14px 36px; background: transparent; color: var(--gold); border: 1px solid var(--gold); border-radius: 100px; font-size: 18px; letter-spacing: 0.1em; transform: translateY(20px); opacity: 0; transition: all 0.4s var(--ease); white-space: nowrap; }
.mobile-menu.open .mobile-cta { transform: translateY(0); opacity: 1; transition-delay: 0.35s; }

@media (max-width: 900px) { .nav-links, .nav-cta { display: none; } .nav-toggle { display: flex; } }

/* HERO */
.hero { position: relative; min-height: 100vh; width: 100%; overflow: hidden; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 140px 32px 100px; z-index: 2; background: transparent; }
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-gradient { position: absolute; inset: 0; background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(212, 168, 87, 0.12), transparent 60%), radial-gradient(ellipse 60% 50% at 20% 80%, rgba(180, 140, 255, 0.08), transparent 60%), radial-gradient(ellipse 60% 50% at 80% 90%, rgba(87, 212, 168, 0.06), transparent 60%), linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 60%, var(--bg) 100%); }
.hero-grain { position: absolute; inset: 0; pointer-events: none; opacity: 0.05; mix-blend-mode: overlay; background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMDAiIGhlaWdodD0iMjAwIj48ZmlsdGVyIGlkPSJuIj48ZmVUdXJidWxlbmNlIHR5cGU9ImZyYWN0YWxOb2lzZSIgYmFzZUZyZXF1ZW5jeT0iLjkiIG51bU9jdGF2ZXM9IjIiLz48L2ZpbHRlcj48cmVjdCB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWx0ZXI9InVybCgjbikiIG9wYWNpdHk9Ii42Ii8+PC9zdmc+"); }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.5; animation: float 14s ease-in-out infinite; will-change: transform; }

@keyframes float { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(40px, -30px); } }

.hero-eyebrow { font-family: var(--font-head); display: inline-flex; align-items: center; gap: 10px; padding: 6px 18px; border: 1px solid var(--line-2); border-radius: 100px; font-size: 16px; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 36px; background: var(--surface); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.hero-title { font-size: clamp(64px, 15vw, 200px); line-height: 0.85; margin-bottom: 32px; }
.hero-title .word { display: inline-block; background: linear-gradient(180deg, var(--text) 0%, var(--muted) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; transform: translateY(110%); animation: rise 1s var(--ease) forwards; }
.hero-title .word.accent { background: linear-gradient(180deg, var(--gold-soft) 0%, var(--gold) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

@keyframes rise { to { transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.section-sub, .hero-sub { color: var(--muted); font-size: 16px; font-family: var(--font-body); max-width: 600px; margin: 0 auto; line-height: 1.7; }
.hero-sub { display: inline-flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: center; margin-bottom: 44px; opacity: 0; animation: fadeIn 1s var(--ease) 0.9s forwards; }

.btn { font-family: var(--font-head); display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 14px 28px; border-radius: 100px; font-size: 18px; letter-spacing: 0.05em; transition: all 0.3s var(--ease); position: relative; overflow: hidden; z-index: 2; white-space: nowrap; }
.btn-primary { background: var(--text); color: var(--bg); }
.btn-primary:hover { background: var(--gold); color: var(--bg); transform: translateY(-2px); box-shadow: 0 12px 40px rgba(212, 168, 87, 0.35); }
.btn-primary:hover svg { transform: translateX(4px); }
.btn-ghost { border: 1px solid var(--line-2); color: var(--text); background: var(--surface); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }

.scroll-indicator { position: absolute; bottom: 70px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 14px; font-family: var(--font-head); font-size: 14px; letter-spacing: 0.1em; color: var(--muted); opacity: 0; animation: fadeIn 1s var(--ease) 1.5s forwards; }
.scroll-line { width: 1px; height: 50px; background: linear-gradient(180deg, var(--gold), transparent); position: relative; overflow: hidden; }
.scroll-line::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 30%; background: var(--gold); animation: scrollDown 2s ease-in-out infinite; }

@keyframes scrollDown { 0% { transform: translateY(-100%); } 100% { transform: translateY(300%); } }

.curved-loop-jacket { position: absolute; bottom: 0; left: 0; right: 0; z-index: 3; width: 100%; display: flex; align-items: center; justify-content: center; background: var(--bg); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); cursor: grab; height: 120px; overflow: hidden; opacity: 0.8;}
.curved-loop-jacket:active { cursor: grabbing; }
.curved-loop-svg { width: 100%; height: 100%; overflow: visible; display: block; fill: var(--gold); font-family: var(--font-head); font-size: 24px; letter-spacing: 0.05em; text-transform: uppercase; }

/* DATA BAR */
.stats-bar { padding: 60px 0; background: var(--bg-2); border-bottom: 1px solid var(--line); position: relative; z-index: 2; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: center; }
.stat-number-wrap { display: flex; justify-content: center; align-items: baseline; margin-bottom: 4px; color: var(--gold); }
.stat-number { font-size: clamp(48px, 6vw, 72px); line-height: 1; }
.stat-symbol { font-family: var(--font-head); font-size: clamp(32px, 4vw, 48px); }

/* SECTIONS */
section { padding: 140px 0; position: relative; width: 100%; overflow-x: hidden; z-index: 2; background: var(--bg);}
.section-tag { font-family: var(--font-head); display: inline-block; font-size: 16px; letter-spacing: 0.1em; color: var(--gold); margin-bottom: 16px; }
.section-title { font-size: clamp(48px, 8vw, 80px); line-height: 0.95; margin-bottom: 20px; color: var(--text);}
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* STUDIO */
.studio { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
.studio-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; grid-auto-rows: 280px; }
.studio-card { position: relative; border-radius: var(--radius); overflow: hidden; cursor: pointer; border: 1px solid var(--line); transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease); will-change: transform; }
.studio-card.large { grid-column: span 2; grid-row: span 2; }
.studio-card.wide { grid-column: span 2; }
.studio-img { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 1s var(--ease), filter 0.6s var(--ease); filter: saturate(0.85) brightness(0.7); will-change: transform, filter; }
.studio-card:hover .studio-img { transform: scale(1.08); filter: saturate(1) brightness(0.8); }
.studio-overlay { position: absolute; inset: 0; padding: 28px; display: flex; flex-direction: column; justify-content: flex-end; background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.85) 100%); transition: background 0.4s; }
.studio-card:hover .studio-overlay { background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.9) 100%); }
.studio-tag { font-family: var(--font-head); display: inline-block; font-size: 14px; letter-spacing: 0.1em; color: var(--gold); margin-bottom: 8px; }
.studio-overlay h3 { font-size: 32px; margin-bottom: 4px; color: #fff; }
.studio-overlay p { font-size: 13px; color: rgba(255, 255, 255, 0.7); }
.studio-card:hover { box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6); }

/* SOLUTIONS */
.solution-section { background: var(--bg-2); border-top: 1px solid var(--line); }
.solution-wrapper { max-width: 800px; margin: 0 auto; padding: 0 16px; }
.btn-solution { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; border-radius: 12px; font-size: clamp(20px, 3vw, 24px); cursor: pointer; transition: all 0.4s var(--ease); font-weight: 500; letter-spacing: 0.05em; background: var(--surface); border: 1px solid var(--gold); color: var(--gold); position: relative; overflow: hidden; box-shadow: 0 0 20px rgba(212, 168, 87, 0.1); }
.btn-solution:hover { background: rgba(212, 168, 87, 0.15); box-shadow: 0 0 30px rgba(212, 168, 87, 0.25); }
.btn-solution .chevron { width: 24px; height: 24px; transition: transform 0.5s var(--ease); position: relative; z-index: 2; }
.btn-solution span { position: relative; z-index: 2; }
.btn-solution.active .chevron { transform: rotate(180deg); }
.solution-accordion { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.6s var(--ease); }
.solution-accordion.open { grid-template-rows: 1fr; }
.solution-grid { overflow: hidden; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.solution-accordion.open .solution-grid { padding-top: 24px; }
.solution-card { display: flex; align-items: center; gap: 16px; padding: 14px 18px; background: var(--surface); border: 1px solid var(--line); border-left: 3px solid transparent; border-radius: 8px; color: var(--text); transition: all 0.3s var(--ease); }
.solution-card:hover { background: var(--bg); border-color: var(--line-2); border-left-color: var(--gold); transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1); }
.sc-icon { width: 38px; height: 38px; flex-shrink: 0; border-radius: 50%; background: var(--bg); display: flex; align-items: center; justify-content: center; color: var(--gold); border: 1px solid var(--line); transition: background 0.3s, border-color 0.3s; }
.sc-icon svg { width: 50%; height: 50%; object-fit: contain; display: block; }
.solution-card h4 { font-size: 16px; letter-spacing: 0.02em; margin-bottom: 0; }

/* FIX: PERFECTLY SYMMETRICAL PORTFOLIO SLIDER WITH NO OVERLAPS */
.marquee-section { padding: 100px 0; background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%); border-top: 1px solid var(--line); overflow: hidden; perspective: 1000px; }
.marquee-header { max-width: var(--container); margin: 0 auto 48px; padding: 0 32px; display: flex; justify-content: space-between; align-items: flex-end; }

/* The new symmetrical wrapper holding buttons + track safely */
.marquee-outer-wrapper { display: flex; align-items: center; gap: 16px; width: 100%; max-width: 1600px; margin: 0 auto; padding: 0 16px; overflow: hidden; }

.side-control { position: relative; z-index: 100; flex-shrink: 0; width: 56px; height: 56px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); color: var(--text); display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); transition: all 0.3s var(--ease); pointer-events: auto; }
.side-control:hover { border-color: var(--gold); color: var(--gold); transform: scale(1.1); }
.side-control svg { width: 24px; height: 24px; }

.marquee-container { flex: 1; display: flex; align-items: center; overflow: hidden; position: relative; cursor: grab; padding: 40px 0; touch-action: pan-y; }
.marquee-container:active { cursor: grabbing; }

.marquee-container::before, .marquee-container::after { content: ''; position: absolute; top: 0; width: 10vw; height: 100%; z-index: 5; pointer-events: none; }
.marquee-container::before { left: 0; background: linear-gradient(90deg, var(--bg) 0%, transparent 100%); }
.marquee-container::after { right: 0; background: linear-gradient(270deg, var(--bg) 0%, transparent 100%); }

.marquee-track { display: flex; width: max-content; will-change: transform; transform-style: preserve-3d; }

.marquee-tile { display: block; position: relative; width: clamp(260px, 80vw, 360px); border-radius: 12px; overflow: hidden; border: 1px solid var(--line); transition: border-color 0.4s; margin: 0 12px; will-change: transform; cursor: pointer; background: var(--surface); pointer-events: auto; }
.tile-img-wrapper { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; }
.tile-img-wrapper img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.8) brightness(0.8); pointer-events: none; transition: filter 0.4s; }
.marquee-tile:hover .tile-img-wrapper img { filter: saturate(1) brightness(1.1); }
.marquee-overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 0%, transparent 50%); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.4s var(--ease); pointer-events: none; }
.marquee-tile:hover .marquee-overlay { opacity: 1; }
.marquee-play-btn { width: 56px; height: 56px; background: var(--gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #000; transform: scale(0.8); transition: transform 0.4s var(--ease); }
.marquee-play-btn svg { width: 24px; height: 24px; margin-left: 4px; }
.marquee-tile:hover .marquee-play-btn { transform: scale(1); }
.tile-meta { padding: 16px 20px; text-align: left; border-top: 1px solid var(--line); pointer-events: none; }
.track-name { font-family: var(--font-head); font-size: 22px; color: var(--text); margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: 0.05em; }
.artist-name { font-family: var(--font-body); font-size: 13px; color: var(--muted); font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em; }

/* REVIEWS */
.testimonials { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); overflow: hidden; }
.testi-marquee-wrapper { display: flex; overflow: hidden; width: 100vw; position: relative; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw; padding: 20px 0; }
.testi-marquee-wrapper::before, .testi-marquee-wrapper::after { content: ''; position: absolute; top: 0; width: 15vw; height: 100%; z-index: 2; pointer-events: none; }
.testi-marquee-wrapper::before { left: 0; background: linear-gradient(90deg, var(--bg-2) 0%, transparent 100%); }
.testi-marquee-wrapper::after { right: 0; background: linear-gradient(270deg, var(--bg-2) 0%, transparent 100%); }
.testi-marquee-track { display: flex; width: max-content; animation: scrollTesti 30s linear infinite; }
.testi-marquee-track:hover { animation-play-state: paused; }
.testi-marquee-group { display: flex; gap: 24px; padding-right: 24px; }

.testi-card { width: clamp(280px, 85vw, 400px); flex-shrink: 0; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: all 0.5s var(--ease); position: relative; overflow: hidden; }
.testi-card:hover { transform: translateY(-4px); border-color: var(--line-2); }
.google-badge { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.stars { color: #FBBC05; font-size: 18px; letter-spacing: 2px; }
.quote { font-size: 16px; line-height: 1.6; font-weight: 400; margin-bottom: 28px; color: var(--text); position: relative; z-index: 1; }
.who { display: flex; align-items: center; gap: 14px; position: relative; z-index: 1; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-size: 22px; color: var(--bg); background: var(--gold); }
.who strong { display: block; font-size: 14px; font-weight: 600; color: var(--text); }
.who span { font-size: 12px; color: var(--muted); }

@keyframes scrollTesti { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* CONTACT */
.contact { background: var(--bg-2); }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; padding: 60px; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); position: relative; overflow: hidden; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1); }
.contact-inner::before { content: ''; position: absolute; top: -40%; right: -20%; width: 600px; height: 600px; background: radial-gradient(circle, rgba(212, 168, 87, 0.15), transparent 70%); filter: blur(80px); pointer-events: none; }
.contact-left { position: relative; z-index: 1; }
.contact-title { font-size: clamp(48px, 6vw, 80px); line-height: 0.95; margin: 20px 0; }
.contact-sub { color: var(--muted); margin-bottom: 36px; max-width: 420px; }
.contact-channels { display: flex; flex-direction: column; gap: 14px; }
.channel { display: flex; align-items: center; gap: 16px; padding: 18px 22px; border: 1px solid var(--line); border-radius: 100px; background: var(--bg); transition: all 0.3s var(--ease); }
.channel:hover { border-color: var(--gold); transform: translateX(6px); }
.ch-icon { width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--surface); color: var(--gold); flex-shrink: 0; border: 1px solid var(--line); }
.ch-icon svg { width: 50%; height: 50%; object-fit: contain; display: block; }
.channel strong { display: block; font-size: 14px; font-weight: 600; margin-bottom: 2px; color: var(--text); }
.channel span { font-size: 12px; color: var(--muted); }

.contact-form { display: flex; flex-direction: column; gap: 20px; position: relative; z-index: 1; }
.field label { font-family: var(--font-head); font-size: 16px; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 8px; display: block; }
.field input, .field select, .field textarea { width: 100%; padding: 14px 16px; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; color: var(--text); font-family: inherit; font-size: 16px; transition: border-color 0.3s, background 0.3s; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field select { cursor: pointer; }
.field option { background: var(--bg); }

/* FOOTER */
.footer { padding: 80px 0 60px; border-top: 1px solid var(--line); background: var(--bg); position: relative; z-index: 2; }
.footer-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; }
.footer-left { display: flex; flex-direction: column; gap: 24px; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand strong { display: block; font-size: 14px; font-weight: 600; color: var(--text); }
.footer-brand span { font-size: 12px; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-links a { font-family: var(--font-head); font-size: 18px; letter-spacing: 0.05em; color: var(--muted); transition: color 0.3s; }
.footer-links a:hover { color: var(--text); }
.footer-copy { font-size: 12px; color: var(--muted-2); }

/* FIX: FULLY CLICKABLE MAP WITHOUT 404 */
.footer-map { width: 100%; max-width: 450px; justify-self: end; display: flex; flex-direction: column; gap: 12px; }
.map-iframe-wrapper { display: block; border-radius: 12px; border: 1px solid var(--line); overflow: hidden; transition: filter 0.4s var(--ease), border-color 0.3s; cursor: pointer; }
.map-iframe-wrapper:hover { border-color: var(--gold); }
.map-iframe-wrapper iframe { width: 100% !important; height: 200px !important; border: none !important; filter: grayscale(1) invert(0.9) contrast(1.2); transition: filter 0.4s var(--ease); pointer-events: none; /* Crucial for clickability */ display: block;}
body.theme-day .map-iframe-wrapper iframe { filter: none; }
body.theme-realm .map-iframe-wrapper iframe { filter: grayscale(1) invert(1) sepia(1) hue-rotate(180deg) saturate(3); }

.map-link { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); font-weight: 500; display: inline-flex; align-items: center; transition: color 0.3s; }
.map-link:hover { color: var(--text); }

.float-wa { position: fixed; bottom: 24px; right: 24px; z-index: 50; width: 60px; height: 60px; border-radius: 50%; background: linear-gradient(135deg, #25d366, #128c7e); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 40px rgba(37, 211, 102, 0.4); animation: waPulse 2.5s ease-in-out infinite; }
@keyframes waPulse { 0%, 100% { box-shadow: 0 12px 40px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.4); } 50% { box-shadow: 0 12px 40px rgba(37, 211, 102, 0.4), 0 0 0 18px rgba(37, 211, 102, 0); } }

/* MOBILE RESPONSIVE CASCADES */
@media (max-width: 900px) { 
  .contact-inner { grid-template-columns: 1fr; gap: 48px; padding: 36px; } 
  .studio-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
  .studio-card.large, .studio-card.wide { grid-column: span 2; }
  .side-control { display: none; }
  .marquee-outer-wrapper { padding: 0; gap: 0; }
}

@media (max-width: 800px) { 
  .footer-inner { grid-template-columns: 1fr; gap: 40px; } 
  .footer-map { justify-self: start; max-width: 100%; } 
}

@media (max-width: 600px) { 
  section { padding: 80px 0; } 
  .container { padding: 0 24px; } 
  .stats-grid { grid-template-columns: 1fr; } 
  .float-wa { bottom: calc(24px + env(safe-area-inset-bottom)); min-width: 60px; min-height: 60px; } 
  .studio-grid { grid-template-columns: 1fr; grid-auto-rows: 250px; }
  .studio-card.large, .studio-card.wide { grid-column: span 1; grid-row: span 1; }
  .btn-solution { padding: 14px 20px; font-size: 18px; }
}
