/* =====================================================================
   MEGA TITLE — giant hollow animated page headings (self-contained)
   ===================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600;700;800&family=Inter:wght@400;500;600&display=swap');

.mt.mt {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 0.26em;
  margin: 0 auto;
  padding: 0 12px;
  max-width: 100%;
  font-family: 'Poppins', 'Inter', sans-serif;
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  text-align: center;
  color: transparent;
  opacity: 1;
  transform: none;
  perspective: 900px;
}

.mt--xl.mt { font-size: clamp(3.2rem, 14vw, 11rem); }
.mt--lg.mt { font-size: clamp(2.6rem, 10.5vw, 8rem); }
.mt--md.mt { font-size: clamp(2.1rem, 7.6vw, 5.6rem); }
.mt--sm.mt { font-size: clamp(1.8rem, 5.6vw, 4rem); }

.mt__w {
  display: inline-flex;
}

.mt__l {
  display: inline-block;
  color: transparent;
  -webkit-text-stroke: 2px #ffc107;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 193, 7, 0.95) 50%, transparent 62%) no-repeat;
  background-size: 320% 100%;
  background-position: 130% 0;
  -webkit-background-clip: text;
  background-clip: text;
  transform-origin: 50% 100%;
  animation:
    mtIn 0.95s cubic-bezier(0.16, 1, 0.3, 1) both,
    mtSweep 5.5s ease-in-out infinite,
    mtGlow 4s ease-in-out infinite;
  animation-delay:
    calc(var(--i) * 70ms),
    calc(1.1s + var(--i) * 130ms),
    calc(var(--i) * 240ms);
  transition: color 0.3s ease;
}

.mt__l:hover {
  color: #ffc107;
}

@media (max-width: 600px) {
  .mt__l {
    -webkit-text-stroke-width: 1.5px;
  }
}

@keyframes mtIn {
  from { opacity: 0; transform: translateY(70%) rotateX(-90deg); }
  to { opacity: 1; transform: none; }
}

@keyframes mtSweep {
  0% { background-position: 130% 0; }
  55%, 100% { background-position: -30% 0; }
}

@keyframes mtGlow {
  0%, 100% { -webkit-text-stroke-color: #ffc107; filter: drop-shadow(0 0 0 rgba(255, 193, 7, 0)); }
  50% { -webkit-text-stroke-color: #ffe9a0; filter: drop-shadow(0 0 14px rgba(255, 193, 7, 0.5)); }
}

/* shared hero wrapper for inner pages */
.ph {
  position: relative;
  padding: 84px 20px 54px;
  overflow: hidden;
  text-align: center;
  background: radial-gradient(circle at 50% 0%, rgba(255, 193, 7, 0.16), transparent 62%), #0d0d11;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
}

.ph__sub {
  max-width: 660px;
  margin: 22px auto 0;
  font-size: 1.05rem;
  line-height: 1.75;
  color: #a9a9b6;
  opacity: 1;
  transform: none;
}

@media (max-width: 640px) {
  .ph {
    padding: 60px 14px 40px;
  }
}

/* spacing between a mega title and the text that follows it */
.mt.mt + p,
.mt.mt + div {
  margin-top: 22px;
}
