﻿/* ==========================================================================
   THE ROYAL™ — Advanced Manufacturing & Industrial Technology Practice
   Art Direction: Deep Industrial Obsidian × Emerald × Precision Steel Blue
   
   PALETTE:
   - Base Obsidian:  #0B1612 (Dark industrial canvas)
   - Surface:        #10201A (Elevated cards & panels)
   - Card Alt:       #142821 / #1A342B (High contrast structural cards)
   - Emerald Green:  #4EBA88 (Primary technical authority & metrics)
   - Mint:           #6EE7B7 (High visibility proof points)
   - Steel Blue:     #38BDF8 (Precision engineering & CMM metrology)
   - Amber:          #F59E0B (Warnings & critical benchmarks)
   - Mineral White:  #F0FDF4 (Tactile daylight text)
   ========================================================================== */

:root {
  --mf-bg: #0B1612;
  --mf-surface: #10201A;
  --mf-card: #142821;
  --mf-card-alt: #1A342B;
  --mf-emerald: #4EBA88;
  --mf-emerald-glow: rgba(78, 186, 136, 0.35);
  --mf-mint: #6EE7B7;
  --mf-steel: #38BDF8;
  --mf-amber: #F59E0B;
  --mf-text: #F0FDF4;
  --mf-muted: #94A3B8;
  --mf-border: rgba(78, 186, 136, 0.28);
  --mf-border-subtle: rgba(255, 255, 255, 0.1);
  --mf-transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

body.mf-body {
  background-color: var(--mf-bg);
  color: var(--mf-text);
  font-family: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  margin: 0;
  overflow-x: hidden;
  line-height: 1.6;
  background-image: 
    radial-gradient(ellipse at 50% 0%, rgba(78, 186, 136, 0.14) 0%, transparent 65%),
    radial-gradient(circle at 90% 25%, rgba(56, 189, 248, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 10% 75%, rgba(78, 186, 136, 0.05) 0%, transparent 50%);
}

/* ==========================================================================
   01 — VIEW TRANSITIONS API & ECOSYSTEM MORPHING
   ========================================================================== */
::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.42s;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   02 — NATIVE CSS SCROLL-DRIVEN ANIMATIONS (Assembly Line Flow)
   ========================================================================== */
@supports (animation-timeline: view()) {
  .funnel-item {
    animation: industrialAssemblyLine linear both;
    animation-timeline: view();
    animation-range: entry 5% cover 25%;
  }

  @keyframes industrialAssemblyLine {
    from {
      opacity: 0.6;
      transform: translateY(16px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .eq-card, 
  .matrix-card, 
  .chan-card, 
  .eco-proof-card {
    animation: industrialCardReveal linear both;
    animation-timeline: view();
    animation-range: entry 5% cover 25%;
  }

  @keyframes industrialCardReveal {
    from {
      opacity: 0.6;
      transform: translateY(16px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

/* ==========================================================================
   03 — ADVANCED CSS / CONTAINER QUERIES / ANGLED POLYGON MASKS
   ========================================================================== */
.eq-grid,
.matrix-grid,
.chan-grid,
.eco-proof-grid,
.cta-system-grid {
  container-type: inline-size;
  container-name: mf-grid;
}

@container mf-grid (min-width: 620px) {
  .eq-card, 
  .matrix-card, 
  .chan-card {
    padding: 32px;
  }
}

.mf-tech-angled-mask {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
  -webkit-clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
  transition: var(--mf-transition);
}

.mf-polygon-card {
  clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px);
  -webkit-clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px);
}

/* ==========================================================================
   04 — CINEMATIC AMBIENT BACKGROUNDS & CURSOR BLOOM (Zero WebGL)
   ========================================================================== */
.mf-hero {
  padding: 140px 60px 70px;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.mf-hero-bg-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.mf-hero-bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.38) contrast(1.15) saturate(1.1);
}

.mf-hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 60% 40%, rgba(11, 22, 18, 0.45) 0%, rgba(11, 22, 18, 0.94) 85%),
              linear-gradient(to bottom, rgba(11, 22, 18, 0.8) 0%, rgba(11, 22, 18, 0.98) 100%);
}

.mf-hero-cursor-bloom {
  position: absolute;
  top: var(--mouse-y, 40%);
  left: var(--mouse-x, 50%);
  width: 550px;
  height: 550px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(78, 186, 136, 0.22) 0%, rgba(56, 189, 248, 0.08) 45%, transparent 75%);
  pointer-events: none;
  z-index: 2;
  mix-blend-mode: screen;
  transition: opacity 0.3s ease;
  will-change: left, top;
}

.mf-hero > *:not(.mf-hero-bg-media):not(.mf-hero-cursor-bloom) {
  position: relative;
  z-index: 3;
}

/* ==========================================================================
   05 — LIGHTWEIGHT AMBIENT EFFECTS (Telemetry Nodes & Gradient Mesh)
   ========================================================================== */
.mf-ambient-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.mf-telemetry-layer {
  background-image: radial-gradient(circle, rgba(78, 186, 136, 0.25) 1.5px, transparent 1.5px);
  background-size: 50px 50px;
  opacity: 0.45;
  animation: telemetryPulse 8s ease-in-out infinite alternate;
}

@keyframes telemetryPulse {
  0% { opacity: 0.3; transform: scale(1); }
  100% { opacity: 0.6; transform: scale(1.02); }
}

.mf-gradient-mesh-layer {
  background: radial-gradient(ellipse at 80% 20%, rgba(56, 189, 248, 0.1) 0%, transparent 60%),
              radial-gradient(ellipse at 20% 80%, rgba(78, 186, 136, 0.12) 0%, transparent 60%);
  opacity: 0.8;
}

/* GSAP Hero Title Word Spans */
.mf-hero-word {
  display: inline-block;
  will-change: transform, opacity;
}

/* ==========================================================================
   07 — CORE WEB VITALS SKELETON SHIMMER & ASPECT RATIO CONTAINERS
   ========================================================================== */
.mf-skeleton-shimmer {
  position: relative;
  overflow: hidden;
  background-color: rgba(20, 40, 33, 0.8) !important;
}

.mf-skeleton-shimmer::after {
  content: '';
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(78, 186, 136, 0.15), transparent);
  animation: mfShimmer 2.0s infinite ease-in-out;
}

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

.mf-media-container {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: rgba(16, 32, 26, 0.9);
}

.mf-media-mockup {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--mf-border);
  transition: var(--mf-transition);
}

.mf-media-mockup:hover {
  border-color: var(--mf-emerald);
  transform: translateY(-4px);
  box-shadow: 0 12px 36px var(--mf-emerald-glow);
}

.mf-media-mockup video,
.mf-media-mockup img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.mf-media-mockup:hover video,
.mf-media-mockup:hover img {
  transform: scale(1.04);
}

.mf-media-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  background: rgba(11, 22, 18, 0.82);
  border: 1px solid var(--mf-emerald);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mf-emerald);
  font-size: 18px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
  transition: var(--mf-transition);
}

.mf-media-mockup:hover .mf-media-play-icon {
  background: var(--mf-emerald);
  color: #0B1612;
  transform: translate(-50%, -50%) scale(1.1);
}

/* Navigation Overrides */
.mf-badge-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.mf-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 9999px;
  background: rgba(78, 186, 136, 0.15);
  border: 1px solid var(--mf-emerald);
  color: var(--mf-emerald);
}
.mf-badge.steel {
  background: rgba(56, 189, 248, 0.15);
  border-color: var(--mf-steel);
  color: var(--mf-steel);
}
.mf-badge.amber {
  background: rgba(245, 158, 11, 0.15);
  border-color: var(--mf-amber);
  color: var(--mf-amber);
}

.mf-title {
  font-size: clamp(38px, 5.4vw, 76px);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 24px;
  color: #FFFFFF;
}
.mf-title em {
  font-style: italic;
  color: var(--mf-emerald);
  font-weight: 300;
}

.mf-positioning {
  font-size: clamp(20px, 2.3vw, 30px);
  color: var(--mf-emerald);
  font-style: italic;
  margin-bottom: 28px;
  max-width: 980px;
  line-height: 1.4;
  border-left: 3px solid var(--mf-emerald);
  padding-left: 20px;
  background: linear-gradient(90deg, rgba(78, 186, 136, 0.1) 0%, transparent 100%);
  padding-top: 10px;
  padding-bottom: 10px;
  border-radius: 0 8px 8px 0;
}

.mf-desc {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(240, 253, 244, 0.85);
  max-width: 920px;
  margin-bottom: 36px;
}

.mf-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 60px;
}

.impact-ribbon {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  background: rgba(20, 40, 33, 0.75);
  border: 1px solid var(--mf-border);
  border-radius: 12px;
  padding: 16px 24px;
  margin: 30px 0 60px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}
.ribbon-step {
  font-size: 14px;
  font-weight: 800;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.ribbon-step em {
  color: var(--mf-emerald);
  font-style: normal;
}
.ribbon-sep {
  color: var(--mf-emerald);
  font-size: 16px;
  opacity: 0.7;
}

.mf-section {
  padding: 90px 0;
  border-top: 1px solid var(--mf-border-subtle);
  position: relative;
}
.mf-section-title {
  font-size: clamp(28px, 3.8vw, 46px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
  color: #FFFFFF;
}
.mf-section-subtitle {
  font-size: 15px;
  color: var(--mf-emerald);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 800;
  margin-bottom: 12px;
}

.eq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.eq-card {
  background: var(--mf-card);
  border: 1px solid var(--mf-border);
  border-radius: 12px;
  padding: 24px;
  transition: transform 0.3s ease, border-color 0.3s ease;
  position: relative;
}
.eq-card:hover {
  transform: translateY(-4px);
  border-color: var(--mf-emerald);
  box-shadow: 0 10px 30px var(--mf-emerald-glow);
}
.eq-dim {
  font-size: 11px;
  font-weight: 800;
  color: var(--mf-emerald);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}
.eq-title {
  font-size: 18px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 12px;
}
.eq-points {
  list-style: none;
  padding: 0;
  margin: 0;
}
.eq-points li {
  font-size: 13px;
  color: rgba(240, 253, 244, 0.8);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.eq-points li::before {
  content: '✔';
  color: var(--mf-emerald);
  font-size: 11px;
  font-weight: 900;
}

.eco-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 30px 0 36px;
}
.eco-btn {
  background: var(--mf-card);
  border: 1px solid var(--mf-border);
  color: var(--mf-text);
  padding: 12px 20px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
}
.eco-btn.active, .eco-btn:hover {
  background: var(--mf-emerald);
  color: #0B1612;
  border-color: var(--mf-emerald);
  box-shadow: 0 4px 18px var(--mf-emerald-glow);
}

.eco-display {
  background: var(--mf-card);
  border: 1px solid var(--mf-border);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}
.eco-question-box {
  background: rgba(11, 22, 18, 0.75);
  border-left: 4px solid var(--mf-emerald);
  padding: 18px 24px;
  border-radius: 0 10px 10px 0;
  margin: 20px 0;
}
.eco-question {
  font-size: 20px;
  font-weight: 800;
  color: #FFFFFF;
  font-style: italic;
}
.eco-proof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 24px;
}
.eco-proof-card {
  background: rgba(11, 22, 18, 0.6);
  border: 1px solid var(--mf-border-subtle);
  border-radius: 10px;
  padding: 20px;
}
.eco-proof-title {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--mf-mint);
  margin-bottom: 8px;
}
.eco-proof-desc {
  font-size: 13px;
  color: rgba(240, 253, 244, 0.85);
  line-height: 1.6;
}

.matrix-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.matrix-card {
  background: var(--mf-card);
  border: 1px solid var(--mf-border);
  border-radius: 14px;
  padding: 30px;
  position: relative;
}
.matrix-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--mf-emerald);
}
.matrix-ask {
  font-size: 13px;
  font-style: italic;
  color: var(--mf-steel);
  margin-bottom: 8px;
}
.matrix-narrative {
  font-size: 22px;
  font-weight: 900;
  color: #FFFFFF;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.matrix-reality {
  font-size: 13px;
  color: var(--mf-muted);
  margin-bottom: 16px;
  line-height: 1.5;
}

.chan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.chan-card {
  background: var(--mf-card);
  border: 1px solid var(--mf-border);
  border-radius: 12px;
  padding: 28px;
}
.chan-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(78, 186, 136, 0.15);
  color: var(--mf-emerald);
  margin-bottom: 12px;
}
.chan-name {
  font-size: 20px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 8px;
}
.chan-role {
  font-size: 13px;
  font-style: italic;
  color: var(--mf-mint);
  margin-bottom: 14px;
}
.chan-text {
  font-size: 13px;
  color: rgba(240, 253, 244, 0.8);
  line-height: 1.6;
}

.funnel-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 40px;
}
.funnel-item {
  background: var(--mf-card);
  border: 1px solid var(--mf-border);
  border-radius: 12px;
  padding: 20px 28px;
  display: grid;
  grid-template-columns: 80px 220px 1fr 220px;
  align-items: center;
  gap: 20px;
  transition: all 0.3s ease;
}
.funnel-item:hover {
  border-color: var(--mf-emerald);
  transform: translateX(6px);
  box-shadow: 0 4px 20px var(--mf-emerald-glow);
}
.funnel-step {
  font-size: 22px;
  font-weight: 900;
  color: var(--mf-emerald);
}
.funnel-phase {
  font-size: 16px;
  font-weight: 800;
  color: #FFFFFF;
}
.funnel-detail {
  font-size: 13px;
  color: rgba(240, 253, 244, 0.8);
  line-height: 1.5;
}
.funnel-outcome {
  font-size: 12px;
  font-weight: 700;
  color: var(--mf-mint);
  background: rgba(78, 186, 136, 0.12);
  border: 1px solid rgba(78, 186, 136, 0.3);
  padding: 6px 12px;
  border-radius: 6px;
  text-align: center;
}

.cta-system-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 30px;
}
.cta-system-btn {
  background: rgba(20, 40, 33, 0.9);
  border: 1px solid var(--mf-border);
  border-radius: 10px;
  padding: 18px 20px;
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.25s ease;
}
.cta-system-btn:hover {
  background: var(--mf-emerald);
  color: #0B1612;
  border-color: var(--mf-emerald);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--mf-emerald-glow);
}

.interactive-card {
  background: linear-gradient(180deg, var(--mf-card) 0%, #0D1C17 100%);
  border: 1px solid var(--mf-border);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  margin-top: 40px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-group label {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--mf-mint);
}
.form-group input, .form-group select, .form-group textarea {
  background: rgba(11, 22, 18, 0.85);
  border: 1px solid var(--mf-border);
  color: #FFFFFF;
  padding: 12px 16px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--mf-emerald);
  box-shadow: 0 0 10px var(--mf-emerald-glow);
}

.calc-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  background: rgba(78, 186, 136, 0.08);
  border: 1px solid var(--mf-border);
  border-radius: 12px;
  padding: 24px;
  margin-top: 24px;
}
.calc-metric-box {
  text-align: center;
}
.calc-metric-num {
  font-size: 28px;
  font-weight: 900;
  color: var(--mf-emerald);
  margin-bottom: 4px;
}
.calc-metric-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--mf-muted);
}

.mf-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--mf-emerald);
  color: #0B1612;
  font-size: 14px;
  font-weight: 800;
  padding: 16px 32px;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 6px 24px var(--mf-emerald-glow);
}
.mf-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px var(--mf-emerald-glow);
  background: #5cdba1;
}

.otp-box {
  background: rgba(11, 22, 18, 0.95);
  border: 1px solid var(--mf-emerald);
  border-radius: 12px;
  padding: 24px;
  margin-top: 20px;
  text-align: center;
  display: none;
}
.otp-inputs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 16px 0 20px;
}
.otp-digit {
  width: 44px;
  height: 48px;
  text-align: center;
  font-size: 20px;
  font-weight: 800;
  border-radius: 8px;
  background: #142821;
  border: 1px solid var(--mf-emerald);
  color: #FFFFFF;
}

@media (max-width: 900px) {
  .mf-hero, .mf-container {
    padding-left: 24px;
    padding-right: 24px;
  }
  .funnel-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* ==========================================================================
   Manufacturing Theme Custom Hardware Cursor (High-Performance Zero-Lag)
   Emerald (#10B981) + Precision Steel Cyan (#38BDF8)
   ========================================================================== */
body.mf-body #cur {
  background: var(--mf-emerald) !important;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.6) !important;
}

body.mf-body #cur2,
body.mf-body #cur-dot {
  border-color: rgba(16, 185, 129, 0.5) !important;
}

body.mf-body.ch #cur {
  width: 14px !important;
  height: 14px !important;
  background: var(--mf-steel) !important;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.8) !important;
}

body.mf-body.ch #cur2,
body.mf-body.ch #cur-dot {
  width: 50px !important;
  height: 50px !important;
  border-color: var(--mf-steel) !important;
  background: rgba(56, 189, 248, 0.08) !important;
}

/* Hide custom cursor on coarse touch screens to avoid latency */
@media (pointer: coarse), (hover: none) {
  body.mf-body #cur,
  body.mf-body #cur2,
  body.mf-body #cur-dot {
    display: none !important;
  }
}

/* Play Icon Optical Alignment */
.mf-media-play-icon svg {
  display: block;
  margin-left: 2px;
  fill: currentColor;
}

/* Manufacturing Square Gallery Overrides */
.mf-body .uf-gallery-section {
  background: var(--mf-bg);
  border-top: 1px solid var(--mf-border);
  border-bottom: 1px solid var(--mf-border);
}

.mf-body .uf-header .sec-tag {
  color: var(--mf-emerald);
}

.mf-body .uf-filter-btn {
  border-color: var(--mf-border);
  color: var(--mf-muted);
}

.mf-body .uf-filter-btn:hover {
  border-color: var(--mf-emerald);
  color: #FFFFFF;
}

.mf-body .uf-filter-btn.active {
  background: var(--mf-emerald);
  color: #0B1612;
  border-color: var(--mf-emerald);
}

.mf-body .uf-card {
  border-color: var(--mf-border);
}

.mf-body .uf-card:hover {
  border-color: var(--mf-emerald);
  box-shadow: 0 12px 32px var(--mf-emerald-glow);
}

.mf-body .uf-pill-cat {
  background: rgba(16, 185, 129, 0.2);
  color: var(--mf-mint);
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.mf-body .uf-pill-view {
  background: rgba(11, 22, 18, 0.85);
  color: #FFFFFF;
}

/* Manufacturing The Royal Audio Player Theme */
.mf-body .royal-audio-audio-section {
  background: #0B1612;
  border-bottom: 1px solid var(--mf-border);
}

.mf-body .royal-audio-header .sec-tag {
  color: var(--mf-emerald);
}

.mf-body .royal-audio-cat-pill {
  background: rgba(16, 185, 129, 0.15);
  color: var(--mf-emerald);
  border: 1px solid var(--mf-emerald);
}

.mf-body .royal-audio-master-play {
  background: var(--mf-emerald);
  color: #0B1612;
  box-shadow: 0 4px 20px var(--mf-emerald-glow);
}

.mf-body .royal-audio-scrubber-fill {
  background: linear-gradient(90deg, var(--mf-emerald), var(--mf-steel));
}

.mf-body .royal-audio-scrubber-thumb {
  background: var(--mf-emerald);
  box-shadow: 0 0 10px var(--mf-emerald);
}

.mf-body .royal-audio-track-card.active {
  border-color: var(--mf-emerald);
  background: rgba(16, 185, 129, 0.08);
}
