/* Hero Studio — design values from sections.css (.hero-studio). */

.qlegy .qlg-hero-studio {
  position: relative;
  min-height: 100vh;
  padding: 170px 0 90px;
  text-align: center;
  overflow: visible;
}
.qlegy .qlg-hero-studio__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(120% 90% at 50% 0%, #103b45 0%, #0a262d 32%, #08090a 68%),
    var(--qlegy-bg);
}
.qlegy .qlg-hero-studio__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(circle at 50% 0%, black, transparent 65%);
  mask-image: radial-gradient(circle at 50% 0%, black, transparent 65%);
}
.qlegy .qlg-hero-studio__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Full-bleed background photo mode: image covers the hero behind the
   headline; framed stage + floating pills are not rendered. */
.qlegy .qlg-hero-studio--bg-photo {
  display: flex;
  align-items: center;
  justify-content: center;
}
.qlegy .qlg-hero-studio__bgimg {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}
.qlegy .qlg-hero-studio__bgimg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.qlegy .qlg-hero-studio__bgimg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 9, 10, 0.58) 0%, rgba(8, 9, 10, 0.72) 55%, var(--qlegy-bg) 100%);
}
.qlegy .qlg-hero-studio--bg-photo .qlg-hero-studio__content {
  width: 100%;
}
.qlegy .qlg-hero-studio--bg-photo .qlg-hero-studio__stats {
  border-top-color: rgba(255, 255, 255, 0.14);
}
.qlegy .qlg-hero-studio__h1 {
  font-size: calc(clamp(48px, 9.5vw, 150px) * var(--qlegy-heading-scale, 1));
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}
.qlegy .qlg-hero-studio__line { display: block; }
.qlegy .qlg-hero-studio__sub {
  max-width: 560px;
  margin-top: 28px;
  font-size: 18px;
  line-height: 1.55;
  color: var(--qlegy-fg-dim);
}
.qlegy .qlg-hero-studio__cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 36px;
  padding: 8px;
  padding-inline-start: 24px;
  background: #101112;
  border: 1px solid var(--qlegy-line-strong);
  border-radius: 999px;
  color: var(--qlegy-fg);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.25s var(--qlegy-ease), border-color 0.25s var(--qlegy-ease);
}
.qlegy .qlg-hero-studio__cta:hover {
  transform: translateY(-1px);
  border-color: rgba(103, 232, 249, 0.4);
}
.qlegy .qlg-hero-studio__cta-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--qlegy-fg);
  color: var(--qlegy-bg);
}

.qlegy .qlg-hero-studio__stage {
  position: relative;
  width: 100%;
  max-width: 720px;
  margin-top: 72px;
}
.qlegy .qlg-hero-studio__photo {
  width: 100%;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--qlegy-line);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
}
.qlegy .qlg-hero-studio__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.qlegy .qlg-hero-studio__pill {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  padding-inline-start: 12px;
  border: 1px solid var(--qlegy-line-strong);
  border-radius: 999px;
  background: rgba(16, 17, 18, 0.75);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  white-space: nowrap;
  text-align: start;
}
.qlegy .qlg-hero-studio__pill-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(103, 232, 249, 0.1);
  color: var(--qlegy-brand-2);
  flex-shrink: 0;
}
.qlegy .qlg-hero-studio__pill-text { display: flex; flex-direction: column; line-height: 1.25; }
.qlegy .qlg-hero-studio__pill-text b { font-size: 12px; font-weight: 600; letter-spacing: 0.01em; color: var(--qlegy-fg); }
.qlegy .qlg-hero-studio__pill-text span { font-size: 11px; color: var(--qlegy-fg-mute); }

.qlegy .qlg-hero-studio__pill--p1 { inset-inline-start: -6%; top: 6%; }
.qlegy .qlg-hero-studio__pill--p2 { inset-inline-end: -8%; top: 14%; }
.qlegy .qlg-hero-studio__pill--p3 { inset-inline-start: -12%; top: 42%; }
.qlegy .qlg-hero-studio__pill--p4 { inset-inline-end: -13%; top: 46%; }
.qlegy .qlg-hero-studio__pill--p5 { inset-inline-start: -4%; bottom: 4%; }
.qlegy .qlg-hero-studio__pill--p6 { inset-inline-end: -6%; bottom: 10%; }
@media (max-width: 1200px) {
  .qlegy .qlg-hero-studio__pill { display: none; }
}

.qlegy .qlg-hero-studio__stats {
  display: flex;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
  margin-top: 88px;
  padding-top: 40px;
  border-top: 1px solid var(--qlegy-line);
  width: 100%;
  max-width: 960px;
}
.qlegy .qlg-hero-studio__stat-v {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.qlegy .qlg-hero-studio__stat-l {
  margin-top: 4px;
  font-size: 13px;
  color: var(--qlegy-fg-mute);
}
@media (max-width: 720px) {
  .qlegy .qlg-hero-studio { padding: 140px 0 70px; }
  .qlegy .qlg-hero-studio__stage { margin-top: 56px; }
  .qlegy .qlg-hero-studio__stats { gap: 28px 40px; margin-top: 56px; }
}
