:root {
  --bg: #050403;
  --panel: #0d0a07;
  --text: #f6efe6;
  --muted: #b9ada0;
  --amber: #f28a00;
  --amber-soft: #ffb24a;
  --line: rgba(242, 138, 0, 0.34);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: radial-gradient(circle at 50% 0%, rgba(145, 76, 12, .18), transparent 45%), var(--bg);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; text-decoration: none; }

.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 24px 4vw;
  background: linear-gradient(180deg, rgba(0,0,0,.96), rgba(0,0,0,.74));
  border-bottom: 1px solid rgba(242,138,0,.16);
  transition: padding .25s ease, background .25s ease;
}
.site-header.scrolled { padding-block: 15px; background: rgba(0,0,0,.94); backdrop-filter: blur(10px); }
.logo { display: inline-flex; align-items: center; gap: 12px; min-width: max-content; }
.logo-mark {
  width: 42px;
  height: 42px;
  display: inline-block;
  background:
    linear-gradient(90deg, transparent 0 8%, var(--amber) 8% 12%, transparent 12% 22%, var(--amber) 22% 27%, transparent 27% 40%, var(--amber) 40% 45%, transparent 45% 55%, var(--amber) 55% 60%, transparent 60% 73%, var(--amber) 73% 78%, transparent 78% 88%, var(--amber) 88% 92%, transparent 92%),
    linear-gradient(0deg, transparent 0 42%, var(--amber) 42% 58%, transparent 58%);
  filter: drop-shadow(0 0 12px rgba(242,138,0,.45));
}
.logo-mark.small { width: 28px; height: 28px; }
.logo-text, .footer-logo { font-family: "Barlow Condensed", sans-serif; font-size: clamp(1.8rem, 3vw, 2.65rem); font-weight: 600; letter-spacing: -1px; }
.logo-text span, .footer-logo span { color: var(--amber); }
.main-nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 44px); }
.main-nav a {
  position: relative;
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  font-size: 1.05rem;
  letter-spacing: .16em;
  color: var(--text);
  opacity: .94;
  transition: color .2s ease, opacity .2s ease;
}
.main-nav a:hover, .main-nav a.active { color: var(--amber); opacity: 1; }
.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -14px;
  height: 2px;
  background: var(--amber);
}
.nav-toggle { display: none; background: none; border: 0; padding: 6px; cursor: pointer; }
.nav-toggle span { display: block; width: 28px; height: 2px; margin: 6px 0; background: var(--text); }

.hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  background: #020201;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("assets/home-hero.png");
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
  filter: saturate(1.05) contrast(1.02);
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.18), rgba(0,0,0,.1) 45%, rgba(0,0,0,.5) 100%),
    radial-gradient(circle at 50% 45%, transparent 0 34%, rgba(0,0,0,.34) 74%);
}

.intro-section {
  padding: 78px 7vw 64px;
  text-align: center;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(7,5,4,.96), rgba(10,7,5,.98));
}
.eyebrow {
  margin: 0 0 14px;
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  letter-spacing: .34em;
  color: var(--amber-soft);
  font-weight: 600;
}
h1 {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(3.3rem, 9vw, 7.5rem);
  line-height: .9;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--amber);
}
.intro-text { max-width: 760px; margin: 28px auto 0; color: var(--muted); font-size: 1.08rem; line-height: 1.75; }
.cta-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; margin-top: 34px; }
.btn {
  min-width: 190px;
  padding: 16px 24px;
  border: 1px solid var(--amber);
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  letter-spacing: .22em;
  font-weight: 600;
  color: var(--amber-soft);
  background: rgba(0,0,0,.35);
  transition: transform .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); background: rgba(242,138,0,.12); }
.btn-primary { background: rgba(242,138,0,.1); }

.services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.service-card {
  min-height: 270px;
  padding: 48px 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015));
  border-right: 1px solid rgba(255,255,255,.13);
  transition: transform .2s ease, background .2s ease;
}
.service-card:last-child { border-right: 0; }
.service-card:hover { transform: translateY(-4px); background: rgba(242,138,0,.08); }
.service-icon { font-size: 2.8rem; color: var(--amber); margin-bottom: 18px; }
.service-card h2 {
  margin: 0 0 14px;
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 1.4rem;
}
.service-card p { margin: 0; color: var(--muted); line-height: 1.65; max-width: 280px; }

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  padding: 38px 5vw;
  background: #030302;
  color: var(--muted);
  font-size: .95rem;
}
.footer-logo { display: flex; align-items: center; gap: 10px; color: var(--text); font-size: 1.4rem; }
.tagline { justify-self: end; color: var(--amber-soft); font-style: italic; }

@media (max-width: 980px) {
  .site-header { padding: 18px 5vw; }
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px 5vw 24px;
    background: rgba(0,0,0,.97);
    border-bottom: 1px solid var(--line);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 13px 0; }
  .main-nav a.active::after { display: none; }
  .hero { min-height: 76vh; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .site-footer { grid-template-columns: 1fr; text-align: center; }
  .footer-logo, .tagline { justify-self: center; }
}

@media (max-width: 560px) {
  .logo-text { font-size: 1.8rem; }
  .logo-mark { width: 34px; height: 34px; }
  .hero { min-height: 66vh; }
  .hero-bg { background-position: center top; }
  .intro-section { padding: 54px 6vw; }
  .services { grid-template-columns: 1fr; }
  .service-card { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.13); }
}

/* ================================
   MazeTrack Studio SPA Upgrade
   Keeps music alive while pages change
   ================================ */
body.mts-locked { overflow: hidden; }

.mts-enter-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 145, 43, 0.22), transparent 34%),
    radial-gradient(circle at 30% 70%, rgba(255, 94, 0, 0.13), transparent 32%),
    linear-gradient(135deg, rgba(4, 4, 5, 0.97), rgba(20, 10, 4, 0.97));
  color: #fff;
  text-align: center;
  transition: opacity 900ms ease, visibility 900ms ease;
  overflow: hidden;
}
.mts-enter-screen::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    linear-gradient(90deg, transparent, rgba(255, 180, 90, 0.08), transparent),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 4px);
  transform: rotate(-8deg);
  animation: mtsLightMove 8s ease-in-out infinite alternate;
}
.mts-enter-screen.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.mts-enter-glow {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(255, 132, 33, 0.20);
  filter: blur(70px);
  animation: mtsPulse 3.5s ease-in-out infinite;
}
.mts-enter-content {
  position: relative;
  max-width: 760px;
  padding: 44px 34px;
  border: 1px solid rgba(255, 178, 96, 0.32);
  border-radius: 28px;
  background: rgba(10, 8, 7, 0.58);
  box-shadow: 0 0 55px rgba(255, 102, 0, 0.18);
  backdrop-filter: blur(14px);
}
.mts-enter-eyebrow {
  margin: 0 0 12px;
  color: #ffb46b;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.mts-enter-content h1 {
  margin: 0;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.9;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-shadow: 0 0 28px rgba(255, 145, 43, 0.35);
}
.mts-enter-content p:not(.mts-enter-eyebrow) {
  margin: 22px auto 28px;
  max-width: 520px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
  line-height: 1.7;
}
.mts-enter-button {
  cursor: pointer;
  border: 1px solid rgba(255, 188, 113, 0.75);
  border-radius: 999px;
  padding: 15px 34px;
  background: linear-gradient(135deg, #ff8a1c, #b94b0f);
  color: #130805;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  box-shadow: 0 18px 45px rgba(255, 100, 10, 0.28);
  transition: transform 220ms ease, box-shadow 220ms ease, filter 220ms ease;
}
.mts-enter-button:hover {
  transform: translateY(-2px);
  filter: brightness(1.12);
  box-shadow: 0 24px 60px rgba(255, 100, 10, 0.38);
}
.mts-enter-note {
  display: block;
  margin-top: 16px;
  color: rgba(255,255,255,0.52);
  font-size: 0.84rem;
}
.mts-audio-player {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  width: min(330px, calc(100vw - 36px));
  opacity: 0.88;
  filter: drop-shadow(0 10px 24px rgba(0,0,0,0.5));
}
.page-shell {
  min-height: 80vh;
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  transition: opacity 260ms ease, transform 260ms ease, filter 260ms ease;
}
.page-shell.is-changing {
  opacity: 0;
  transform: translateY(12px);
  filter: blur(3px);
}
.content-page {
  min-height: 78vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 170px 6vw 110px;
  background:
    radial-gradient(circle at 50% 20%, rgba(242, 138, 0, .16), transparent 36%),
    linear-gradient(180deg, rgba(7,5,4,.96), rgba(12,8,5,.98));
}
.placeholder-page h1 { color: var(--amber); }

.about-page img { max-width: 100%; display: block; }
.about-section { padding: 90px 7vw; }
.about-container { max-width: 1180px; margin: 0 auto; }
.about-hero {
  min-height: 88vh;
  display: grid;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(0,0,0,.82), rgba(0,0,0,.48), rgba(0,0,0,.75)),
    url('about/pictures/marcin-studio.png') center / cover no-repeat;
  position: relative;
  padding-top: 90px;
}
.about-hero-content { max-width: 720px; padding: 120px 7vw; }
.about-page h2,
.about-page h3 { line-height: 1.12; margin: 0 0 24px; }
.about-page h2 { font-family: "Barlow Condensed", sans-serif; font-size: clamp(2.1rem, 4vw, 4rem); text-transform: uppercase; color: var(--text); }
.about-page h3 { font-size: 1.35rem; color: var(--amber); }
.about-page p { color: var(--muted); font-size: 1.05rem; margin: 0 0 20px; line-height: 1.7; }
.about-lead { font-size: clamp(1.15rem, 2vw, 1.45rem) !important; color: var(--text) !important; max-width: 660px; }
.about-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-photo-card {
  border: 1px solid var(--line);
  box-shadow: 0 24px 80px rgba(0,0,0,.55);
  overflow: hidden;
  border-radius: 18px;
  background: #000;
}
.about-caption { padding: 16px 20px; color: var(--muted); font-size: .92rem; border-top: 1px solid var(--line); }
.about-quote-band {
  min-height: 460px;
  display: grid;
  place-items: center;
  text-align: center;
  background:
    linear-gradient(90deg, rgba(0,0,0,.86), rgba(0,0,0,.36), rgba(0,0,0,.86)),
    url('about/pictures/marcin-studio.png') center / cover no-repeat;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.about-quote-band blockquote {
  max-width: 900px;
  margin: 0;
  padding: 0 7vw;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.18;
  font-weight: 800;
  color: var(--text);
  text-shadow: 0 8px 40px rgba(0,0,0,.8);
}
.about-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.about-card {
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015));
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px;
  color: var(--muted);
}
.about-card strong { display: block; font-size: 2rem; color: var(--amber); margin-bottom: 8px; }
.about-equipment { background: #111; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about-equipment-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 38px; }
.about-equipment-box { background: #161616; border: 1px solid var(--line); border-radius: 16px; padding: 26px; }
.about-equipment-box ul { margin: 0; padding-left: 19px; color: var(--muted); }
.about-equipment-box li { margin-bottom: 8px; }
.about-cta { text-align: center; background: radial-gradient(circle at center, rgba(183,19,24,.18), transparent 46%), #070707; }
.about-cta p { margin-left: auto; margin-right: auto; max-width: 680px; }

@keyframes mtsPulse { from { transform: scale(0.92); opacity: 0.65; } to { transform: scale(1.12); opacity: 1; } }
@keyframes mtsLightMove { from { transform: translateX(-4%) rotate(-8deg); } to { transform: translateX(4%) rotate(-8deg); } }

@media (max-width: 900px) {
  .about-grid-2,
  .about-equipment-grid,
  .about-cards { grid-template-columns: 1fr; }
  .about-section { padding: 64px 6vw; }
  .about-hero-content { padding: 90px 6vw; }
}
@media (max-width: 640px) {
  .mts-enter-content { padding: 34px 22px; border-radius: 22px; }
  .mts-audio-player { right: 12px; bottom: 12px; width: calc(100vw - 24px); }
  .content-page { padding-top: 140px; }
}


/* ================================
   MazeTrack Studio Stage 2 — WOW Layer
   Premium cinematic motion, custom player and SPA polish
   ================================ */
body {
  min-height: 100vh;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -4;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 24%, rgba(242, 138, 0, 0.13), transparent 28%),
    radial-gradient(circle at 88% 36%, rgba(255, 80, 0, 0.08), transparent 30%),
    linear-gradient(135deg, rgba(5, 4, 3, 1), rgba(12, 7, 4, 1) 55%, rgba(3, 3, 3, 1));
}
.ambient-stage {
  position: fixed;
  inset: 0;
  z-index: -3;
  overflow: hidden;
  pointer-events: none;
}
.ambient-orb {
  position: absolute;
  width: 42vw;
  height: 42vw;
  min-width: 340px;
  min-height: 340px;
  border-radius: 999px;
  filter: blur(70px);
  opacity: 0.38;
  background: rgba(242, 138, 0, 0.28);
  animation: floatOrb 16s ease-in-out infinite alternate;
}
.orb-one { left: -16vw; top: 12vh; }
.orb-two { right: -18vw; bottom: 6vh; animation-duration: 20s; background: rgba(255, 88, 18, 0.20); }
.ambient-grid {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(255, 167, 64, .16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 167, 64, .12) 1px, transparent 1px);
  background-size: 88px 88px;
  transform: perspective(900px) rotateX(60deg) translateY(16vh) scale(1.25);
  transform-origin: bottom center;
  mask-image: linear-gradient(to top, black, transparent 82%);
}
.noise-layer {
  position: absolute;
  inset: -40px;
  opacity: 0.08;
  background-image:
    repeating-radial-gradient(circle at 17% 32%, rgba(255,255,255,.35) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.08) 0 1px, transparent 1px 3px);
  animation: grainMove 1.8s steps(5) infinite;
}
.cursor-light {
  position: fixed;
  z-index: 2;
  width: 360px;
  height: 360px;
  margin: -180px 0 0 -180px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle, rgba(255, 155, 51, 0.18), rgba(255, 130, 0, 0.08) 35%, transparent 68%);
  mix-blend-mode: screen;
  transition: opacity 260ms ease;
}
body.cursor-active .cursor-light { opacity: 1; }
.site-header { box-shadow: 0 10px 36px rgba(0,0,0,.35); }
.site-header::after {
  content: "";
  position: absolute;
  left: 4vw;
  right: 4vw;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(242,138,0,.65), transparent);
  opacity: .65;
}
.logo-mark { animation: logoGlow 3.4s ease-in-out infinite alternate; }
.main-nav a::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  border-radius: 999px;
  background: rgba(242, 138, 0, 0.16);
  transform: translate(-50%, -50%);
  transition: width .25s ease, height .25s ease;
  z-index: -1;
}
.main-nav a:hover::before, .main-nav a.active::before { width: 120%; height: 180%; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0 38%, rgba(255,255,255,.08) 45%, transparent 53% 100%);
  transform: translateX(-120%);
  animation: cinematicSweep 9s ease-in-out infinite;
  pointer-events: none;
}
.hero-bg { animation: slowHeroZoom 18s ease-in-out infinite alternate; }
.intro-section, .service-card, .content-page, .about-section, .about-quote-band {
  position: relative;
  isolation: isolate;
}
.intro-section::before, .content-page::before, .about-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 20%), rgba(242, 138, 0, 0.12), transparent 34%);
  opacity: .7;
}
.service-card {
  overflow: hidden;
  backdrop-filter: blur(4px);
}
.service-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, transparent, rgba(242,138,0,.22), transparent);
  opacity: 0;
  transition: opacity .25s ease;
  z-index: -1;
}
.service-card:hover::before { opacity: 1; }
.service-card.reveal-ready, .about-section.reveal-ready, .content-page.reveal-ready, .about-quote-band.reveal-ready, .intro-section.reveal-ready {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}
.service-card.reveal-in, .about-section.reveal-in, .content-page.reveal-in, .about-quote-band.reveal-in, .intro-section.reveal-in {
  opacity: 1;
  transform: translateY(0);
}
.mts-audio-player { display: none !important; }
.mts-premium-player {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  width: min(360px, calc(100vw - 36px));
  padding: 16px;
  border: 1px solid rgba(255, 177, 93, .32);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(11,8,6,.86), rgba(0,0,0,.76));
  box-shadow: 0 24px 80px rgba(0,0,0,.62), inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter: blur(18px);
}
.mts-premium-player::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(circle at 18% 20%, rgba(242,138,0,.22), transparent 38%);
}
.player-main { position: relative; display: flex; align-items: center; gap: 14px; }
.player-toggle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 190, 111, .66);
  cursor: pointer;
  color: #150904;
  background: linear-gradient(135deg, #ffb14c, #f27b10 58%, #9a3107);
  box-shadow: 0 12px 35px rgba(242, 138, 0, .28);
  font-weight: 900;
}
.player-copy strong {
  display: block;
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--amber-soft);
  font-size: 1rem;
}
.player-copy span { display: block; margin-top: 3px; color: rgba(255,255,255,.72); font-size: .86rem; }
.player-progress {
  position: relative;
  height: 7px;
  margin-top: 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  overflow: hidden;
  cursor: pointer;
}
.player-progress span {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f28a00, #ffce7b);
  box-shadow: 0 0 16px rgba(242,138,0,.6);
}
.player-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  color: rgba(255,255,255,.48);
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .13em;
}
.player-eq {
  position: absolute;
  top: 16px;
  right: 18px;
  display: flex;
  align-items: end;
  gap: 3px;
  height: 18px;
  opacity: .85;
}
.player-eq span {
  display: block;
  width: 3px;
  height: 5px;
  border-radius: 8px;
  background: var(--amber-soft);
  animation: eqMove 900ms ease-in-out infinite alternate;
  animation-play-state: paused;
}
.mts-premium-player.is-playing .player-eq span { animation-play-state: running; }
.player-eq span:nth-child(2) { animation-delay: 120ms; }
.player-eq span:nth-child(3) { animation-delay: 240ms; }
.player-eq span:nth-child(4) { animation-delay: 90ms; }
.player-eq span:nth-child(5) { animation-delay: 180ms; }
.page-shell { will-change: opacity, transform, filter; }
.page-shell.is-changing { transform: translateY(18px) scale(.995); }
.about-photo-card, .about-card, .about-equipment-box {
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.about-photo-card:hover, .about-card:hover, .about-equipment-box:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 178, 74, .55);
  box-shadow: 0 24px 80px rgba(0,0,0,.48), 0 0 28px rgba(242,138,0,.10);
}
@keyframes floatOrb { from { transform: translate3d(0,0,0) scale(.95); } to { transform: translate3d(7vw,-5vh,0) scale(1.12); } }
@keyframes grainMove { 0% { transform: translate(0,0); } 25% { transform: translate(-2%,1%); } 50% { transform: translate(1%,-2%); } 75% { transform: translate(2%,2%); } 100% { transform: translate(0,0); } }
@keyframes logoGlow { from { filter: drop-shadow(0 0 8px rgba(242,138,0,.38)); } to { filter: drop-shadow(0 0 20px rgba(255,178,74,.72)); } }
@keyframes cinematicSweep { 0%, 58%, 100% { transform: translateX(-120%); opacity: 0; } 66% { opacity: 1; } 82% { transform: translateX(120%); opacity: 0; } }
@keyframes slowHeroZoom { from { transform: scale(1); } to { transform: scale(1.055); } }
@keyframes eqMove { from { height: 5px; } to { height: 18px; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .001ms !important; }
}
@media (max-width: 640px) {
  .mts-premium-player { right: 12px; bottom: 12px; width: calc(100vw - 24px); padding: 14px; border-radius: 18px; }
  .player-toggle { width: 44px; height: 44px; }
  .cursor-light { display: none; }
}

/* ================================
   STAGE 3: HERO 2.0 / PREMIUM WOW
   ================================ */
:root {
  --glass: rgba(18, 11, 7, 0.58);
  --glass-line: rgba(255, 185, 98, 0.22);
  --deep-amber: #b84b09;
}
.hero-stage3 {
  min-height: 100vh;
  display: grid;
  place-items: center;
  isolation: isolate;
  perspective: 1200px;
}
.hero-video-fake {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 127, 30, .15), transparent 28%),
    radial-gradient(circle at 80% 45%, rgba(255, 178, 74, .10), transparent 32%),
    linear-gradient(115deg, rgba(5,4,4,.85), rgba(22,9,3,.55), rgba(0,0,0,.88));
}
.film-frame {
  position: absolute;
  inset: 8% 6%;
  border: 1px solid rgba(255, 179, 84, .10);
  border-radius: 42px;
  transform: rotate(-2deg) scale(1.04);
  animation: frameDrift 18s ease-in-out infinite alternate;
}
.frame-b {
  inset: 16% 14%;
  border-color: rgba(255,255,255,.06);
  transform: rotate(2deg) scale(.98);
  animation-duration: 22s;
}
.film-light {
  position: absolute;
  width: 42vw;
  height: 42vw;
  border-radius: 999px;
  filter: blur(74px);
  opacity: .38;
  background: radial-gradient(circle, rgba(255, 145, 43, .42), transparent 64%);
  animation: lensFloat 12s ease-in-out infinite alternate;
}
.light-a { left: -8vw; top: 20vh; }
.light-b { right: -12vw; bottom: 4vh; animation-delay: -5s; opacity: .24; }
.floating-particles,
.floating-particles::before,
.floating-particles::after {
  position: absolute;
  inset: -20%;
  content: "";
  background-image: radial-gradient(circle, rgba(255, 208, 148, .35) 0 1px, transparent 1.4px);
  background-size: 74px 74px;
  animation: particlesRise 28s linear infinite;
  opacity: .18;
}
.floating-particles::before { background-size: 116px 116px; animation-duration: 40s; transform: rotate(17deg); }
.floating-particles::after { background-size: 54px 54px; animation-duration: 18s; transform: rotate(-11deg); opacity: .11; }
.hero-stage3 .hero-bg {
  z-index: 1;
  opacity: .66;
  transform-origin: center;
  animation: cameraMove 26s ease-in-out infinite alternate;
  filter: saturate(1.08) contrast(1.08) brightness(.82);
}
.hero-stage3 .hero-shade { z-index: 2; }
.hero-content-lux {
  position: relative;
  z-index: 4;
  width: min(960px, 88vw);
  margin-top: 8vh;
  padding: clamp(28px, 5vw, 58px);
  text-align: center;
  border: 1px solid rgba(255, 184, 91, .18);
  border-radius: 34px;
  background: linear-gradient(145deg, rgba(0,0,0,.26), rgba(42,18,7,.16));
  box-shadow: 0 40px 140px rgba(0,0,0,.46), inset 0 1px 0 rgba(255,255,255,.07);
  backdrop-filter: blur(7px);
  transform-style: preserve-3d;
}
.hero-content-lux::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(120deg, transparent, rgba(255,178,74,.30), transparent 62%);
  opacity: .55;
  z-index: -1;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  padding: 1px;
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}
.hero-content-lux h1 { text-shadow: 0 0 46px rgba(242,138,0,.28); }
.hero-content-lux p:not(.eyebrow) {
  max-width: 720px;
  margin: 24px auto 0;
  color: rgba(246,239,230,.82);
  line-height: 1.8;
  font-size: clamp(1rem, 2vw, 1.22rem);
}
.hero-cta { margin-top: 36px; }
.story-strip {
  padding: clamp(70px, 9vw, 130px) 7vw;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(6,4,3,.96), rgba(16,8,4,.96)),
    radial-gradient(circle at 50% 0%, rgba(242,138,0,.18), transparent 35%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.story-strip h2,
.studio-showcase h2,
.premium-audio-showcase h2 {
  margin: 0 auto;
  max-width: 980px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(2.5rem, 6vw, 5.7rem);
  line-height: .98;
  text-transform: uppercase;
  letter-spacing: .045em;
}
.studio-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: clamp(34px, 7vw, 90px);
  align-items: center;
  padding: clamp(70px, 10vw, 140px) 7vw;
  background:
    radial-gradient(circle at 78% 42%, rgba(242,138,0,.16), transparent 32%),
    linear-gradient(180deg, rgba(11,7,5,.98), rgba(4,3,2,.98));
  overflow: hidden;
}
.showcase-copy p:not(.eyebrow), .premium-audio-showcase p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 1.05rem;
  max-width: 720px;
}
.feature-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; margin-top: 28px; }
.feature-list span {
  padding: 14px 16px;
  border: 1px solid var(--glass-line);
  border-radius: 16px;
  background: rgba(255,255,255,.035);
  color: rgba(255,255,255,.76);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}
.guitar-stage {
  position: relative;
  min-height: 580px;
  display: grid;
  place-items: end center;
  padding: 26px;
  border: 1px solid rgba(255, 185, 98, .20);
  border-radius: 38px;
  background:
    radial-gradient(circle at 50% 32%, rgba(255,178,74,.16), transparent 34%),
    linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.012));
  box-shadow: 0 34px 120px rgba(0,0,0,.52), inset 0 1px 0 rgba(255,255,255,.07);
  transform-style: preserve-3d;
  transition: transform 260ms ease, box-shadow 260ms ease;
  overflow: hidden;
}
.guitar-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 0 34%, rgba(255,255,255,.12) 46%, transparent 58% 100%);
  transform: translateX(-120%);
  animation: guitarShine 7s ease-in-out infinite;
  pointer-events: none;
}
.guitar-stage img {
  position: relative;
  z-index: 2;
  max-width: min(100%, 440px);
  max-height: 500px;
  object-fit: contain;
  filter: drop-shadow(0 38px 45px rgba(0,0,0,.56)) saturate(1.06) contrast(1.06);
  transform: translateZ(44px);
}
.guitar-glow {
  position: absolute;
  width: 70%;
  height: 46%;
  left: 15%;
  top: 22%;
  border-radius: 50%;
  filter: blur(58px);
  background: rgba(242,138,0,.18);
  animation: mtsPulse 4.4s ease-in-out infinite;
}
.guitar-caption {
  position: absolute;
  z-index: 3;
  left: 22px;
  right: 22px;
  bottom: 22px;
  padding: 16px 18px;
  border: 1px solid rgba(255,185,98,.22);
  border-radius: 18px;
  background: rgba(0,0,0,.48);
  backdrop-filter: blur(12px);
  color: rgba(255,255,255,.78);
  text-align: center;
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  letter-spacing: .18em;
}
.premium-glass,
.btn {
  backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 16px 60px rgba(0,0,0,.22);
}
.magnetic-btn { position: relative; overflow: hidden; }
.magnetic-btn::after {
  content: "";
  position: absolute;
  inset: -80% auto auto -20%;
  width: 48%;
  height: 240%;
  background: rgba(255,255,255,.10);
  transform: rotate(22deg) translateX(-180%);
  transition: transform 700ms ease;
}
.magnetic-btn:hover::after { transform: rotate(22deg) translateX(360%); }
.services-stage3 { background: #050302; }
.premium-audio-showcase {
  padding: clamp(70px, 10vw, 130px) 7vw;
  background:
    radial-gradient(circle at 18% 22%, rgba(242,138,0,.18), transparent 34%),
    linear-gradient(180deg, rgba(3,2,2,.98), rgba(12,7,4,.98));
  border-top: 1px solid var(--line);
}
.hiend-player { overflow: hidden; }
.player-topline {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: rgba(255,255,255,.58);
  font-size: .78rem;
}
.player-led {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255,178,74,.55);
  box-shadow: 0 0 12px rgba(255,178,74,.82);
}
.hiend-player.is-playing .player-led { animation: ledBlink 1s ease-in-out infinite alternate; }
.player-visual {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 54px;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}
.vu-meter {
  height: 42px;
  display: flex;
  align-items: end;
  gap: 5px;
  padding: 9px;
  border-radius: 15px;
  background: rgba(0,0,0,.34);
  border: 1px solid rgba(255,255,255,.07);
}
.vu-meter span {
  flex: 1;
  height: 22%;
  border-radius: 10px 10px 4px 4px;
  background: linear-gradient(180deg, #ffcf83, #f28a00 68%, #842704);
  box-shadow: 0 0 10px rgba(242,138,0,.24);
  animation: vuStage3 980ms ease-in-out infinite alternate;
  animation-play-state: paused;
}
.hiend-player.is-playing .vu-meter span { animation-play-state: running; }
.vu-meter span:nth-child(2) { animation-delay: 120ms; }
.vu-meter span:nth-child(3) { animation-delay: 240ms; }
.vu-meter span:nth-child(4) { animation-delay: 60ms; }
.vu-meter span:nth-child(5) { animation-delay: 300ms; }
.vu-meter span:nth-child(6) { animation-delay: 170ms; }
.vu-meter span:nth-child(7) { animation-delay: 20ms; }
.vu-meter span:nth-child(8) { animation-delay: 360ms; }
.player-disc {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle, #120604 0 10%, transparent 11%),
    repeating-conic-gradient(from 0deg, rgba(255,178,74,.74) 0 8deg, rgba(55,22,5,.92) 8deg 18deg);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.10), 0 0 22px rgba(242,138,0,.18);
  animation: discSpin 5.5s linear infinite;
  animation-play-state: paused;
}
.hiend-player.is-playing .player-disc { animation-play-state: running; }
.player-disc span { width: 14px; height: 14px; border-radius: 50%; background: #040201; border: 1px solid rgba(255,255,255,.2); }
.player-skip {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 190, 111, .30);
  background: rgba(255,255,255,.035);
  color: var(--amber-soft);
  cursor: pointer;
}
.player-volume {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
  margin-top: 11px;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .13em;
  color: rgba(255,255,255,.48);
}
.player-volume input { width: 100%; accent-color: var(--amber); }
.scroll-reveal { opacity: 0; transform: translateY(34px) scale(.99); filter: blur(8px); transition: opacity 900ms ease, transform 900ms ease, filter 900ms ease; }
.scroll-reveal.reveal-in { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
@keyframes frameDrift { from { transform: rotate(-2deg) scale(1.04) translate3d(0,0,0); } to { transform: rotate(1deg) scale(1.09) translate3d(1.5vw,-1vh,0); } }
@keyframes lensFloat { from { transform: translate3d(0,0,0) scale(.9); } to { transform: translate3d(10vw,-7vh,0) scale(1.16); } }
@keyframes particlesRise { from { transform: translateY(10%); } to { transform: translateY(-10%); } }
@keyframes cameraMove { from { transform: scale(1.06) translate3d(-1.5vw,0,0); } to { transform: scale(1.14) translate3d(1.5vw,-1vh,0); } }
@keyframes guitarShine { 0%, 58%, 100% { transform: translateX(-130%); opacity: 0; } 67% { opacity: .75; } 86% { transform: translateX(130%); opacity: 0; } }
@keyframes ledBlink { from { opacity: .45; } to { opacity: 1; } }
@keyframes vuStage3 { from { height: 18%; } to { height: 94%; } }
@keyframes discSpin { to { transform: rotate(360deg); } }
@media (max-width: 980px) {
  .studio-showcase { grid-template-columns: 1fr; }
  .guitar-stage { min-height: 500px; }
  .feature-list { grid-template-columns: 1fr; }
  .hero-content-lux { margin-top: 12vh; }
}
@media (max-width: 640px) {
  .hero-stage3 { min-height: 92vh; }
  .hero-content-lux { width: min(92vw, 560px); padding: 24px 18px; border-radius: 24px; }
  .studio-showcase { padding-inline: 5vw; }
  .guitar-stage { min-height: 420px; border-radius: 26px; }
  .guitar-caption { font-size: .82rem; letter-spacing: .12em; }
  .player-visual { grid-template-columns: 1fr 44px; }
  .player-disc { width: 44px; height: 44px; }
}

/* STAGE 3 NO HERO PATCH */
.intro-no-hero {
  min-height: calc(100vh - 88px);
  padding-top: 140px;
  background:
    radial-gradient(circle at 18% 25%, rgba(242, 138, 0, .16), transparent 32%),
    radial-gradient(circle at 82% 12%, rgba(255, 208, 138, .08), transparent 28%),
    linear-gradient(135deg, rgba(5, 3, 2, .94), rgba(18, 9, 4, .9));
}

.intro-no-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/home-hero.png") center/cover no-repeat;
  opacity: .18;
  filter: saturate(1.1) contrast(1.05);
  pointer-events: none;
}

.intro-no-hero > * {
  position: relative;
  z-index: 1;
}
